mediacms/static/js/index.js

1 line
12 KiB
JavaScript
Raw Normal View History

!function(){"use strict";var e,t={55579:function(e,t,r){var n=r(92541),i=r(65020);(0,n.X)("page-home",i.HomePage)},84234: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(17714),i=r(47446),a=r(2915),o=r(2299),l=r(72917),u=r(5671),c=r(72436),s=r(15517),f=r(60940),d=r(26309),m=r(86142)},8897:function(e,t,r){r.r(t),r.d(t,{InlineSliderItemListAsync:function(){return g}}),r(92070),r(52004),r(28407),r(56394),r(38288),r(55677),r(92129),r(24655),r(20288),r(54458),r(23675),r(74517),r(99751),r(38833),r(10815),r(55090),r(79174);var n=r(35466),i=r(98578),a=r(62546),o=r(58982),l=r(32832),u=r(83632),c=r(28986);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})},58982:function(e,t,r){r.r(t),r.d(t,{ItemListAsync:function(){return y}}),r(92070),r(52004),r(28407),r(56394),r(38288),r(55677),r(92129),r(24655),r(20288),r(54458),r(23675),r(74517),r(99751),r(38833),r(10815),r(55090),r(79174);var n=r(35466),i=r(3074),a=r.n(i),o=r(62546),l=r(67777),u=r(32832),c=r(83632),s=r(2