mediacms/static/js/index.js

1 line
12 KiB
JavaScript
Raw Permalink Normal View History

2024-10-04 12:17:40 +02:00
!function(){"use strict";var e,t={5579:function(e,t,r){var n=r(2541),i=r(5020);(0,n.X)("page-home",i.HomePage)},4234:function(e,t,r){r.r(t),r.d(t,{CircleIconButton:function(){return n.M},FilterOptions:function(){return i.j},FiltersToggleButton:function(){return a._},MaterialIcon:function(){return o.O},NavigationContentApp:function(){return l.o},NavigationMenuList:function(){return u.S},Notifications:function(){return c.T},NumericInputWithUnit:function(){return s.O},PopupMain:function(){return f.W8},PopupTop:function(){return f.HF},SpinnerLoader:function(){return d.i},UserThumbnail:function(){return m.q}});var n=r(7714),i=r(7446),a=r(2915),o=r(2299),l=r(2917),u=r(5671),c=r(2436),s=r(5517),f=r(940),d=r(6309),m=r(6142)},8897:function(e,t,r){r.r(t),r.d(t,{InlineSliderItemListAsync:function(){return g}}),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 n=r(5466),i=r(8578),a=r(2546),o=r(8982),l=r(2832),u=r(3632),c=r(8986);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){d(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m(){return(m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function p(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 g(e){var t,r,o=(0,a.useLayout)().visibleSidebar,s=(t=(0,a.useItemListInlineSlider)(e),r=13,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,a=[],o=!0,l=!1;try{for(r=r.call(e);!(o=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);o=!0);}catch(e){l=!0,i=e}finally{try{o||null==r.return||r.return()}finally{if(l)throw i}}return a}}(t,r)||function(e,t){if(e){if("string"==typeof e)return p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?p(e,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.")}()),f=s[0],d=s[1],g=s[2],y=s[3],v=s[4],b=s[5],h=s[6],O=s[7],P=s[8],w=s[9],S=s[10],j=s[11],E=s[12];return(0,n.useEffect)((function(){P()}),[o]),(0,n.useEffect)((function(){return v(new c.g(e.pageItems,e.maxItems,e.firstItemRequestUrl,e.requestUrl,b,h)),i.PageStore.on("window_resize",O),function(){i.PageStore.removeListener("window_resize",O),g&&(g.cancelAll(),v(null))}}),[]),d?f.length?n.createElement("div",{className:y.listOuter},j(),n.createElement("div",{ref:w,className:"items-list-wrap"},n.createElement("div",{ref:S,className:y.list},f.map((function(t,r){return n.createElement(u.H,m({key:r},(0,u.j)(e,t,r)))})))),E()):null:n.createElement(l.K,{className:y.listOuter})}g.propTypes=f({},o.ItemListAsync.propTypes),g.defaultProps=f(f({},o.ItemListAsync.defaultProps),{},{pageItems:12})},8982:function(e,t,r){r.r(t),r.d(t,{ItemListAsync:function(){return y}}),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 n=r(5466),i=r(3074),a=r.n(i),o=r(2546),l=r(7777),u=r(2832),c=r(3632),s=r(8986);function f(e,t){var r=Object.keys(e);if(Object.getOwnProper