0&&e.push({css:t[o],rehydration:n,type:r}),e}),[]),o=Cu(t.supportRules);o&&r.push({css:o,type:"RULE",rehydration:n,support:!0});var a=Object.keys(Su({},t.supportMediaRules,t.mediaRules));return _s()(a,(function(e,r){if(t.mediaRules[r]&&t.mediaRules[r].length>0&&e.push({css:t.mediaRules[r],type:"RULE",rehydration:n,media:r}),t.supportMediaRules[r]){var o=Cu(t.supportMediaRules[r]);o.length>0&&e.push({css:o,type:"RULE",rehydration:n,support:!0,media:r})}return e}),r)}(e),r=t.getAttribute("media")||void 0,o=t.getAttribute("data-fela-support")||void 0,a=n.find((function(e){return"RULE"===e.type&&e.media===r&&e.support===o}));a&&(t.textContent=a.css)}function Nu(e){return function(t){if("CLEAR"===t.type)return du()(e.nodes,(function(e){var t=e.node;return t.parentNode.removeChild(t)})),void(e.nodes={});var n=Pu(t,e);switch(t.type){case"KEYFRAME":n.textContent+=t.keyframe;break;case"FONT":n.textContent+=t.fontFace;break;case"STATIC":n.textContent+=t.selector?mu(t.selector,t.css):t.css;break;case"RULE":!function(e,t,n){var r=e.selector,o=e.declaration,a=e.support,i=e.pseudo;if(t.devMode)return Du(t,n);try{for(var s=yu(t.ruleOrder,i),u=n.sheet.cssRules,c=u.length,l=0,p=u.length;ls){c=l;break}var f=mu(r,o);if(a.length>0){var d=Ou(a,f);n.sheet.insertRule(d,c)}else n.sheet.insertRule(f,c);u[c].score=s}catch(e){console.warn("An error occurred while inserting the rules into DOM.\n",o.replace(/;/g,";\n"),e)}}(t,e,n)}}}function Mu(e){e.updateSubscription||(e.nodes={},e.updateSubscription=Nu(e),e.subscribe(e.updateSubscription),du()(e.cache,e._emitChange))}function Ru(e){return e.split("{")[0].slice(9).trim()}function Fu(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"",i=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"";return{type:e,className:t,selector:xu(t,o),declaration:n+":"+r,pseudo:o,media:a,support:i}}var Iu=n(302),Lu=n.n(Iu);function zu(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"";return o+r+n+Lu()(e)+t}var Bu=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},qu=/[.]([0-9a-z_-]+)([^{]+)?{([^:]+):([^}]+)}/gi;function Uu(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=void 0;o=qu.exec(e);){var a=o,i=Bu(a,5),s=(i[0],i[1]),u=i[2],c=i[3],l=i[4],p=zu(c,l,u,t,n);r[p]=Fu("RULE",s,c,l,u,t,n)}return r}var Vu=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},Hu=/@supports[^{]+\{([\s\S]+?})\s*}/gi;var Wu=/[.][a-z0-9_-]*/gi;function Zu(e){Mu(e),ys()(document.querySelectorAll("[data-fela-type]"),(function(t){var n=t.getAttribute("data-fela-rehydration")||-1,r=e.uniqueRuleIdentifier||parseInt(n,10);if(-1!==r){var o=t.getAttribute("data-fela-type")||"",a=t.getAttribute("media")||"",i=t.getAttribute("data-fela-support")||"",s=t.textContent;e.uniqueRuleIdentifier=r;var u=o+a+i;e.nodes[u]={score:ju({type:o,media:a,support:i},e.mediaQueryOrder),node:t},"RULE"===o&&(i?function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=void 0;r=Hu.exec(e);){var o=r,a=Vu(o,2),i=a[0],s=a[1],u=Ru(i);Uu(s,t,u,n)}}(s,a,e.cache):Uu(s,a,"",e.cache),t.sheet&&t.sheet.cssRules&&ys()(t.sheet.cssRules,(function(t){var n=t.conditionText?t.cssRules[0].selectorText:t.selectorText;t.score=yu(e.ruleOrder,n.split(Wu)[1])})))}}))}Object.assign;var Gu=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var sc,uc,cc,lc,pc,fc,dc=(sc=r.Component,uc=r.createElement,lc={},pc="_FELA_THEME_",fc=As.a.object,pc in lc?Object.defineProperty(lc,pc,{value:fc,enumerable:!0,configurable:!0,writable:!0}):lc[pc]=fc,cc=lc,function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"theme",n=function(n){function r(e,t){tc(this,r);var n=nc(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e,t));return n.state={theme:t._FELA_THEME_?t._FELA_THEME_.get():{}},n}return rc(r,n),Ju(r,[{key:"componentDidMount",value:function(){var e=this;this.context._FELA_THEME_&&(this.unsubscribe=this.context._FELA_THEME_.subscribe((function(t){return e.setState({theme:t})})))}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"render",value:function(){return uc(e,Xu({},this.props,ec({},t,this.state.theme)))}}]),r}(sc);return cc&&(n.contextTypes=cc),Gs(n,e)});r.Component,r.createElement,function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}({renderer:As.a.object},"_FELA_THEME_",As.a.object);var hc=cu(r.createElement,dc,function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({renderer:As.a.object},"_FELA_THEME_",As.a.object));cu(r.createElement,dc,function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({renderer:As.a.object},"_FELA_THEME_",As.a.object),!0);var mc=function(e,t){var n=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.state={theme:n._FELA_THEME_?n._FELA_THEME_.get():{}},r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),pu(t,[{key:"componentDidMount",value:function(){var e=this;this.context._FELA_THEME_&&(this.unsubscribe=this.context._FELA_THEME_.subscribe((function(t){return e.setState({theme:t})})))}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"render",value:function(){return this.props.render(this.state.theme)}}]),t}(e);return t&&(n.contextTypes=t),n}(r.Component,function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},"_FELA_THEME_",As.a.object));var vc=function(e,t,n){function r(n,r){var o=r.renderer,a=n.children,i=n.customClass,s=n.render,u=void 0===s?"div":s,c=n.rule,l=n.style,p=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(n,["children","customClass","render","rule","style"]);return e(t,{render:function(t){var n=c?lu({theme:t},p):t,r=(i?i+" ":"")+o._renderStyle(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];return e instanceof Function?e(t,n):e}(c||l,n,o),n);return u instanceof Function?u({className:r,theme:t}):e(u,{className:r},a)}})}return n&&(r.contextTypes=n),r}(r.createElement,mc,function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({renderer:As.a.object},"_FELA_THEME_",As.a.object));!function(e,t,n){var r=function(e){function n(e,t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var r,o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e,t));return(r=e.renderer)&&!r.isNativeRenderer&&"undefined"!=typeof window&&window.document&&window.document.createElement&&(e.rehydrate&&window.document.querySelectorAll("[data-fela-type]").length>0?Zu(e.renderer):Mu(e.renderer)),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,e),Gu(n,[{key:"getChildContext",value:function(){return{renderer:this.props.renderer}}},{key:"render",value:function(){return t(this.props.children)}}]),n}(e);n&&du()(n,(function(e,t){r[t]=e}))}(r.Component,(function(e){return r.Children.only(e)}),{propTypes:{renderer:As.a.object.isRequired,rehydrate:As.a.bool.isRequired},childContextTypes:{renderer:As.a.object},defaultProps:{renderToDOM:!0,rehydrate:!0}});function gc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}(function(e,t,n){var r=function(e){function n(e,t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e,t)),o=!e.overwrite&&r.context._FELA_THEME_;return r.theme=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1],n={listeners:[],properties:e,update:function(e){n.properties=e,n._emitChange()},get:function(){return Yu({},n.previousProperties,n.properties)},subscribe:function(e){return n.listeners.push(e),function(){return n.listeners.splice(n.listeners.indexOf(e),1)}},_emitChange:function(){var e=n.get();ys()(n.listeners,(function(t){return t(e)}))}};return t?(n.previousProperties=t.get(),t.subscribe((function(e){n.previousProperties=e,n._emitChange()}))):n.previousProperties={},n}(e.theme,o),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,e),Qu(n,[{key:"componentDidUpdate",value:function(e){$u()(this.props.theme,e.theme)||this.theme.update(this.props.theme)}},{key:"getChildContext",value:function(){return e={},t="_FELA_THEME_",n=this.theme,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var e,t,n}},{key:"render",value:function(){return t(this.props.children)}}]),n}(e);n&&du()(n,(function(e,t){r[t]=e}))})(r.Component,(function(e){return r.Children.only(e)}),{propTypes:{theme:As.a.object.isRequired,overwrite:As.a.bool},childContextTypes:gc({},"_FELA_THEME_",As.a.object),contextTypes:gc({},"_FELA_THEME_",As.a.object),defaultProps:{overwrite:!1}}),r.createElement;var yc=n(38),bc=n.n(yc),_c=n(41),wc=n.n(_c);function Ec(e){return(Ec="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 Oc(e){var t="function"==typeof Map?new Map:void 0;return(Oc=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return xc(e,arguments,Ac(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Sc(r,e)})(e)}function Cc(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function xc(e,t,n){return(xc=Cc()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&Sc(o,n.prototype),o}).apply(null,arguments)}function kc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jc(e,t){return!t||"object"!==Ec(t)&&"function"!=typeof t?Pc(e):t}function Pc(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ac(e){return(Ac=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Tc(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sc(e,t)}function Sc(e,t){return(Sc=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Dc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Oc(Error);var Nc=n(180),Mc=n.n(Nc);n(304);function Rc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fc(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t0||t?n&&r.includes(e):n}handleDrawerClick(e){this.setState({activeDrawer:e===this.state.activeDrawer?null:e})}handleChange(e){let{activeZoneId:t,dispatch:n,settings:{hostnames:r=[],enabled:o,cache_by_device_type:a=!1},defaultHostnames:i}=this.props;o?e?r.push(...i.filter(e=>!r.includes(e))):(Ze.a.remove(r,e=>i.includes(e)),r.length>0&&(e=!0)):e&&(r=[...i]),n(Object(ei.b)("automatic_platform_optimization",t,{enabled:e,cf:!0,wordpress:!0,wp_plugin:!0,hostnames:r,cache_by_device_type:a})),n(Object(si.b)("automatic_platform_optimization",t,e)),n(Object(si.b)("automatic_platform_optimization_cache_by_device_type",t,a))}handleCacheByDeviceTypeChange(){let{activeZoneId:e,dispatch:t,settings:{hostnames:n=[],cf:r,wordpress:o,wp_plugin:a,enabled:i,cache_by_device_type:s=!1}}=this.props;t(Object(ei.b)("automatic_platform_optimization",e,{enabled:i,cf:r,wordpress:o,wp_plugin:a,hostnames:n,cache_by_device_type:!s}))}render(){const{formatMessage:e}=this.props.intl,{hasAPOHeader:t}=this.state,{modifiedDate:n,entitlements:r,settings:{hostnames:a=[],enabled:i,wp_plugin:s,cache_by_device_type:u=!1},defaultHostnames:c}=this.props,l=r["zone.automatic_platform_optimization"],p=Ze.a.get(l,"allocation.value",!1),f=e({id:"container.automaticplatformoptimization.description_hostnames"},{hostnames:a.length>0?a.join(", "):c.join(", ")});return o.a.createElement("div",null,o.a.createElement(_t,null,o.a.createElement(Rt,null,o.a.createElement(xt,{title:e({id:"container.automaticplatformoptimization.title"}),footerMessage:Object(Co.b)(this.props.intl,n)},o.a.createElement("div",null,o.a.createElement(mt.a,{id:"container.automaticplatformoptimization.description"}),o.a.createElement(Ka,{text:"container.automaticplatformoptimization.drawer.help"}),o.a.createElement(Ka,{text:"container.automaticplatformoptimization.cache_by_device_type_note"}),i&&o.a.createElement(Ka,{formattedMessage:f}),!t&&p&&o.a.createElement("div",{style:{display:"flex"}},o.a.createElement("div",{style:Dl},o.a.createElement(Tl,{type:"exclamation-sign"})),o.a.createElement("span",null,o.a.createElement(Ka,{text:"container.automaticplatformoptimization.apo_header_note"}),o.a.createElement("a",{onClick:()=>this.recheckAPOHeader(),href:"#"},"Check again."))),i&&!s&&o.a.createElement("div",{style:{display:"flex"}},o.a.createElement("div",{style:Dl},o.a.createElement(Tl,{type:"exclamation-sign"})),o.a.createElement("span",null,o.a.createElement(Ka,{text:"container.automaticplatformoptimization.apo_configuration_note"}))))),o.a.createElement(Qa,{purchaseSubscription:!p,purchaseSubscriptionPath:"/speed/optimization/apo/purchase",indentifier:"automatic_platform_optimization"},o.a.createElement("div",null,o.a.createElement(wr,{label:"",value:this.isFeatureEnabled(),onChange:this.handleChange.bind(this)}),o.a.createElement("div",{style:Sl},o.a.createElement(Ia,{name:"",value:"",label:e({id:"container.automaticplatformoptimization.cache_by_device_type"}),checked:!!u,onChange:this.handleCacheByDeviceTypeChange.bind(this),disabled:!i}))))),o.a.createElement(Yt,{onClick:this.handleDrawerClick,active:this.state.activeDrawer,drawers:[{id:"help",name:e({id:"container.drawer.help"}),content:o.a.createElement(Ka,{text:"container.automaticplatformoptimization.drawer.help"})}]})))}}function Ml(e,t){const n=[];return n.push(e),t||(e.startsWith("www.")?n.push(e.substring("www.".length)):n.push("www."+e)),n}const Rl={AdvanceDDoSCard:Ja,AlwaysOnlineCard:ri,ApplyDefaultSettingsCard:ci,AutomaticHTTPSRewritesCard:ms,AutomaticPlatformOptimizationCard:Object(mt.c)(Object(s.b)((function(e){const t=Object(Co.c)(e.activeZone.name),n=new URL(document.URL).hostname;return{activeZoneId:e.activeZone.id,settings:Object(ti.c)(e.activeZone.id,"automatic_platform_optimization",e),modifiedDate:Object(ti.b)(e.activeZone.id,"automatic_platform_optimization",e),entitlements:e.zoneEntitlements.entities[e.activeZone.id],defaultHostnames:Ml(n,t),hostname:n,isSubdomain:t}}))(Nl)),BrowserCacheTTLCard:fi,BrowserIntegrityCheckCard:hi,CacheLevelCard:Ci,ChallengePassageCard:ki,DNSManagementPage:jo,DevelopmentModeCard:Pi,IPV6Card:Ti,ImageOptimizationCard:Di,IpRewriteCard:Mi,MinifyCard:Fi,PluginSpecificCacheCard:us,PluginSpecificCacheTagCard:ls,PurgeCacheCard:es,RailgunCard:ds,SSLCard:ns,SecurityLevelCard:os,WAFCard:is};function Fl(e){return Ze.a.map(e,(function(e,t){return o.a.createElement(Rl[e],{key:t})}))}var Il=n(183),Ll=n.n(Il);class zl extends r.Component{handleClick(e){let{dispatch:t}=this.props;t(Object(ze.push)(e))}render(){let{activeZone:e,zoneSettings:t,zonePluginSettings:n,settings:r,pluginSettings:a,config:i}=this.props,s=!0,u=!0;var c,l;r&&(s=Object(ti.a)(e.id,t)),a&&(c=e.id,l=n,u=Ze.a.get(l,["entities",c],!1));let p=function(e){return void 0!==e.id}(e),f=s&&u;var d=o.a.createElement(ye,{href:ht.c,target:"_blank"},"Cloudflare");return Object(_a.c)(i)&&(d=o.a.createElement(ye,{onClick:()=>this.handleClick(ht.f)},o.a.createElement(mt.a,{id:"container.dnsManagementPage.title"}))),o.a.createElement("div",null,!f&&p&&o.a.createElement(Ll.a,{align:"center"},o.a.createElement(Tr,null)),!f&&!p&&o.a.createElement(Ll.a,{align:"center"},o.a.createElement(mt.a,{id:"errors.noActiveZoneSelected",values:{link:d,domain:e.name}})),f&&p&&this.props.children)}}zl.propTypes={settings:d.a.bool,pluginSettings:d.a.bool,analytics:d.a.bool,dispatch:d.a.func,activeZone:d.a.object,zoneSettings:d.a.object,zonePluginSettings:d.a.object,config:d.a.object,intl:d.a.object,children:d.a.node};var Bl=Object(mt.c)(Object(s.b)((function(e){return{activeZone:e.activeZone,zoneSettings:e.zoneSettings,zonePluginSettings:e.pluginSettings,config:e.config}}))(zl));class ql extends r.Component{render(){let{config:e}=this.props;return o.a.createElement(Bl,{settings:!0,pluginSettings:!0},o.a.createElement(ln.Heading,{size:1},o.a.createElement(mt.a,{id:"container.appNavigation.home"})),Fl(e.homePageCards))}}var Ul=Object(mt.c)(Object(s.b)((function(e){return{config:e.config.config}}))(ql));class Vl extends r.Component{renderContent(){let{config:e}=this.props;var t=0;return Ze.a.map(e.moreSettingsCards,(function(e,n){var r=n;return o.a.createElement("div",{key:t++},o.a.createElement(ln.Heading,{size:1},o.a.createElement(mt.a,{id:r})),Fl(e))}))}render(){return o.a.createElement(Bl,{settings:!0,pluginSettings:!0},this.renderContent())}}var Hl=Object(mt.c)(Object(s.b)((function(e){return{config:e.config.config}}))(Vl));function Wl(e,t){Object(Qe.b)()||t({nextPathname:e.location.pathname},ht.h)}var Zl=o.a.createElement(Oe,{path:"/",component:dn.a},o.a.createElement(Ee,{component:Da}),o.a.createElement(Oe,{path:ht.h,component:Ea}),o.a.createElement(Oe,{path:ht.k,component:Ha}),o.a.createElement(Oe,{path:ht.g,component:Ul,onEnter:Wl}),o.a.createElement(Oe,{path:ht.a,component:fn,onEnter:Wl}),o.a.createElement(Oe,{path:ht.f,component:jo,onEnter:Wl}),o.a.createElement(Oe,{path:ht.i,component:Hl,onEnter:Wl})),Gl=n(24),Kl=n.n(Gl);const $l=function(e,t){const n=Object(ze.routerMiddleware)(e),r=Le()({collapsed:!0});return Object(Me.a)(Fe.a,r,n)(Me.d)(dt,t)}(Ne()()),Yl=Object(ze.syncHistoryWithStore)(Ne()(),$l);Kl.a.beforeSend(window.RestProxyCallback),i.a.render(o.a.createElement(s.a,{store:$l},o.a.createElement(he,{history:Yl},Zl)),document.getElementById("root"))}]);