mirror of
https://github.com/mediacms-io/mediacms.git
synced 2024-11-28 19:23:33 +01:00
1 line
43 KiB
JavaScript
1 line
43 KiB
JavaScript
|
!function(){"use strict";var e={6861:function(e,t,i){var a=i(9087),n=(i(5101),i(6394),i(3080),i(4669),i(5466)),o=(i(6116),i(4426)),s=i(8349);i(6010),i(775),i(8787),i(8024);n.PureComponent,i(9751),i(2322),i(3296),i(9808);i(137),i(6912);o.Z.get("config-theme").switch.enabled&&o.Z.get("config-theme").switch.position;var r=[];o.Z.get("config-enabled").pages.history&&o.Z.get("config-enabled").pages.history.enabled&&r.push({link:o.Z.get("url-history"),icon:"history",text:o.Z.get("config-enabled").pages.history.title}),o.Z.get("config-user").can.likeMedia&&o.Z.get("config-enabled").pages.liked&&o.Z.get("config-enabled").pages.liked.enabled&&r.push({link:o.Z.get("url-liked-media"),icon:"thumb_up",text:o.Z.get("config-enabled").pages.liked.title});var l=[{page:"home",itemType:"link",link:o.Z.get("url-home"),icon:"home",iconPos:"left",text:"Home"}];o.Z.get("config-enabled").pages.featured&&o.Z.get("config-enabled").pages.featured.enabled&&l.push({page:"featured-media",itemType:"link",link:o.Z.get("url-featured-media"),icon:"star",iconPos:"left",text:o.Z.get("config-enabled").pages.featured.title}),o.Z.get("config-enabled").pages.recommended&&o.Z.get("config-enabled").pages.recommended.enabled&&l.push({page:"recommended-media",itemType:"link",link:o.Z.get("url-recommended-media"),icon:"done_outline",iconPos:"left",text:o.Z.get("config-enabled").pages.recommended.title}),o.Z.get("config-enabled").pages.latest&&o.Z.get("config-enabled").pages.latest.enabled&&l.push({page:"latest-media",itemType:"link",link:o.Z.get("url-latest-media"),icon:"new_releases",iconPos:"left",text:o.Z.get("config-enabled").pages.latest.title}),o.Z.get("config-enabled").taxonomies.tags&&o.Z.get("config-enabled").taxonomies.tags.enabled&&l.push({page:"tags",itemType:"link",link:o.Z.get("url-tags"),icon:"local_offer",iconPos:"left",text:o.Z.get("config-enabled").taxonomies.tags.title}),o.Z.get("config-enabled").taxonomies.categories&&o.Z.get("config-enabled").taxonomies.categories.enabled&&l.push({page:"categories",itemType:"link",link:o.Z.get("url-categories"),icon:"list_alt",iconPos:"left",text:o.Z.get("config-enabled").taxonomies.categories.title}),o.Z.get("config-enabled").taxonomies.topics&&o.Z.get("config-enabled").taxonomies.topics.enabled&&l.push({page:"topics",itemType:"link",link:o.Z.get("url-topics"),icon:"topic",iconPos:"left",text:o.Z.get("config-enabled").taxonomies.topics.title}),o.Z.get("config-enabled").taxonomies.languages&&o.Z.get("config-enabled").taxonomies.languages.enabled&&l.push({page:"languages",itemType:"link",link:o.Z.get("url-languages"),icon:"language",iconPos:"left",text:o.Z.get("config-enabled").taxonomies.languages.title}),o.Z.get("config-enabled").taxonomies.countries&&o.Z.get("config-enabled").taxonomies.countries.enabled&&l.push({page:"countries",itemType:"link",link:o.Z.get("url-countries"),icon:"public",iconPos:"left",text:o.Z.get("config-enabled").taxonomies.countries.title}),o.Z.get("config-enabled").pages.members&&o.Z.get("config-enabled").pages.members.enabled&&l.push({page:"members",itemType:"link",link:o.Z.get("url-members"),icon:"people",iconPos:"left",text:o.Z.get("config-enabled").pages.members.title});n.PureComponent;var d=i(9518),c=i(2276),u=i(8416),p=i.n(u);function h(e){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e,t){for(var i=0;i<t.length;i++){var a=t[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e,t){return!t||"object"!==h(t)&&"function"!=typeof t?b(e):t}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}!function(e,t){if(void 0!==t){var i=document.getElementById(
|