0&&e.push({css:t[o],rehydration:n,type:r}),e}),[]),o=mu(t.supportRules);o&&r.push({css:o,type:"RULE",rehydration:n,support:!0});var a=Object.keys(Eu({},t.supportMediaRules,t.mediaRules));return ps()(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=mu(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 Cu(e){return function(t){if("CLEAR"===t.type)return ou()(e.nodes,(function(e){var t=e.node;return t.parentNode.removeChild(t)})),void(e.nodes={});var n=bu(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?iu(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 Ou(t,n);try{for(var s=cu(t.ruleOrder,i),u=n.sheet.cssRules,c=u.length,l=0,p=u.length;ls){c=l;break}var f=iu(r,o);if(a.length>0){var d=hu(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 xu(e){e.updateSubscription||(e.nodes={},e.updateSubscription=Cu(e),e.subscribe(e.updateSubscription),ou()(e.cache,e._emitChange))}function ku(e){return e.split("{")[0].slice(9).trim()}function ju(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:vu(t,o),declaration:n+":"+r,pseudo:o,media:a,support:i}}var Pu=n(301),Au=n.n(Pu);function Tu(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+Au()(e)+t}var Su=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")},Du=/[.]([0-9a-z_-]+)([^{]+)?{([^:]+):([^}]+)}/gi;function Mu(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=Du.exec(e);){var a=o,i=Su(a,5),s=(i[0],i[1]),u=i[2],c=i[3],l=i[4],p=Tu(c,l,u,t,n);r[p]=ju("RULE",s,c,l,u,t,n)}return r}var Nu=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")},Ru=/@supports[^{]+\{([\s\S]+?})\s*}/gi;var Fu=/[.][a-z0-9_-]*/gi;function Iu(e){xu(e),cs()(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:yu({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=Ru.exec(e);){var o=r,a=Nu(o,2),i=a[0],s=a[1],u=ku(i);Mu(s,t,u,n)}}(s,a,e.cache):Mu(s,a,"",e.cache),t.sheet&&t.sheet.cssRules&&cs()(t.sheet.cssRules,(function(t){var n=t.conditionText?t.cssRules[0].selectorText:t.selectorText;t.score=cu(e.ruleOrder,n.split(Fu)[1])})))}}))}Object.assign;var Lu=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var Xu,Ju,ec,tc,nc,rc,oc=(Xu=r.Component,Ju=r.createElement,tc={},nc="_FELA_THEME_",rc=_s.a.object,nc in tc?Object.defineProperty(tc,nc,{value:rc,enumerable:!0,configurable:!0,writable:!0}):tc[nc]=rc,ec=tc,function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"theme",n=function(n){function r(e,t){Zu(this,r);var n=Gu(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e,t));return n.state={theme:t._FELA_THEME_?t._FELA_THEME_.get():{}},n}return Ku(r,n),Hu(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 Ju(e,Vu({},this.props,Wu({},t,this.state.theme)))}}]),r}(Xu);return ec&&(n.contextTypes=ec),Ls(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:_s.a.object},"_FELA_THEME_",_s.a.object);var ac=eu(r.createElement,oc,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:_s.a.object},"_FELA_THEME_",_s.a.object));eu(r.createElement,oc,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:_s.a.object},"_FELA_THEME_",_s.a.object),!0);var ic=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),nu(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_",_s.a.object));var sc=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?tu({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,ic,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:_s.a.object},"_FELA_THEME_",_s.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?Iu(e.renderer):xu(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),Lu(n,[{key:"getChildContext",value:function(){return{renderer:this.props.renderer}}},{key:"render",value:function(){return t(this.props.children)}}]),n}(e);n&&ou()(n,(function(e,t){r[t]=e}))}(r.Component,(function(e){return r.Children.only(e)}),{propTypes:{renderer:_s.a.object.isRequired,rehydrate:_s.a.bool.isRequired},childContextTypes:{renderer:_s.a.object},defaultProps:{renderToDOM:!0,rehydrate:!0}});function uc(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 qu({},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();cs()(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),Uu(n,[{key:"componentDidUpdate",value:function(e){Bu()(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&&ou()(n,(function(e,t){r[t]=e}))})(r.Component,(function(e){return r.Children.only(e)}),{propTypes:{theme:_s.a.object.isRequired,overwrite:_s.a.bool},childContextTypes:uc({},"_FELA_THEME_",_s.a.object),contextTypes:uc({},"_FELA_THEME_",_s.a.object),defaultProps:{overwrite:!1}}),r.createElement;var cc=n(37),lc=n.n(cc),pc=n(41),fc=n.n(pc);function dc(e){return(dc="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 hc(e){var t="function"==typeof Map?new Map:void 0;return(hc=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 vc(e,arguments,_c(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Ec(r,e)})(e)}function mc(){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 vc(e,t,n){return(vc=mc()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&Ec(o,n.prototype),o}).apply(null,arguments)}function gc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yc(e,t){return!t||"object"!==dc(t)&&"function"!=typeof t?bc(e):t}function bc(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _c(e){return(_c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function wc(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&&Ec(e,t)}function Ec(e,t){return(Ec=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Oc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}hc(Error);var Cc=n(179),xc=n.n(Cc);n(303);function kc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jc(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(Ya.b)("automatic_platform_optimization",t,{enabled:e,cf:!0,wordpress:!0,wp_plugin:!0,hostnames:r,cache_by_device_type:a})),n(Object(ri.b)("automatic_platform_optimization",t,e)),n(Object(ri.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(Ya.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(gt,null,o.a.createElement(Dt,null,o.a.createElement(Et,{title:e({id:"container.automaticplatformoptimization.title"}),footerMessage:Object(er.c)(this.props.intl,n)},o.a.createElement("div",null,o.a.createElement(ft.a,{id:"container.automaticplatformoptimization.description"}),o.a.createElement(Ha,{text:"container.automaticplatformoptimization.drawer.help"}),o.a.createElement(Ha,{text:"container.automaticplatformoptimization.cache_by_device_type_note"}),i&&o.a.createElement(Ha,{formattedMessage:f}),!t&&p&&o.a.createElement("div",{style:{display:"flex"}},o.a.createElement("div",{style:Ol},o.a.createElement(wl,{type:"exclamation-sign"})),o.a.createElement("span",null,o.a.createElement(Ha,{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:Ol},o.a.createElement(wl,{type:"exclamation-sign"})),o.a.createElement("span",null,o.a.createElement(Ha,{text:"container.automaticplatformoptimization.apo_configuration_note"}))))),o.a.createElement(Ga,{purchaseSubscription:!p,purchaseSubscriptionPath:"/speed/optimization/apo/purchase",indentifier:"automatic_platform_optimization"},o.a.createElement("div",null,o.a.createElement(br,{label:"",value:this.isFeatureEnabled(),onChange:this.handleChange.bind(this)}),o.a.createElement("div",{style:El},o.a.createElement(Na,{name:"",value:"",label:e({id:"container.automaticplatformoptimization.cache_by_device_type"}),checked:!!u,onChange:this.handleCacheByDeviceTypeChange.bind(this),disabled:!i}))))),o.a.createElement(Gt,{onClick:this.handleDrawerClick,active:this.state.activeDrawer,drawers:[{id:"help",name:e({id:"container.drawer.help"}),content:o.a.createElement(Ha,{text:"container.automaticplatformoptimization.drawer.help"})}]})))}}function xl(e,t){const n=[];return n.push(e),t||(e.startsWith("www.")?n.push(e.substring("www.".length)):n.push("www."+e)),n}const kl={AdvanceDDoSCard:$a,AlwaysOnlineCard:Ja,ApplyDefaultSettingsCard:ai,AutomaticHTTPSRewritesCard:is,AutomaticPlatformOptimizationCard:Object(ft.c)(Object(s.b)((function(e){const t=Object(er.d)(e.activeZone.name),n=new URL(document.URL).hostname;return{activeZoneId:e.activeZone.id,settings:Object(Qa.c)(e.activeZone.id,"automatic_platform_optimization",e),modifiedDate:Object(Qa.b)(e.activeZone.id,"automatic_platform_optimization",e),entitlements:e.zoneEntitlements.entities[e.activeZone.id],defaultHostnames:xl(n,t),hostname:n,isSubdomain:t}}))(Cl)),BrowserCacheTTLCard:ui,BrowserIntegrityCheckCard:li,CacheLevelCard:_i,ChallengePassageCard:Ei,DNSManagementPage:Co,DevelopmentModeCard:Ci,IPV6Card:ki,ImageOptimizationCard:Pi,IpRewriteCard:Ti,PluginSpecificCacheCard:ns,PluginSpecificCacheTagCard:os,PurgeCacheCard:Ki,SSLCard:Yi,SecurityLevelCard:Xi,WAFCard:es};function jl(e){return Ze.a.map(e,(function(e,t){return o.a.createElement(kl[e],{key:t})}))}var Pl=n(182),Al=n.n(Pl);class Tl 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(Qa.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:pt.c,target:"_blank"},"Cloudflare");return Object(ga.c)(i)&&(d=o.a.createElement(ye,{onClick:()=>this.handleClick(pt.f)},o.a.createElement(ft.a,{id:"container.dnsManagementPage.title"}))),o.a.createElement("div",null,!f&&p&&o.a.createElement(Al.a,{align:"center"},o.a.createElement(Pr,null)),!f&&!p&&o.a.createElement(Al.a,{align:"center"},o.a.createElement(ft.a,{id:"errors.noActiveZoneSelected",values:{link:d,domain:e.name}})),f&&p&&this.props.children)}}Tl.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 Sl=Object(ft.c)(Object(s.b)((function(e){return{activeZone:e.activeZone,zoneSettings:e.zoneSettings,zonePluginSettings:e.pluginSettings,config:e.config}}))(Tl));class Dl extends r.Component{render(){let{config:e}=this.props;return o.a.createElement(Sl,{settings:!0,pluginSettings:!0},o.a.createElement(sn.Heading,{size:1},o.a.createElement(ft.a,{id:"container.appNavigation.home"})),jl(e.homePageCards))}}var Ml=Object(ft.c)(Object(s.b)((function(e){return{config:e.config.config}}))(Dl));class Nl 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(sn.Heading,{size:1},o.a.createElement(ft.a,{id:r})),jl(e))}))}render(){return o.a.createElement(Sl,{settings:!0,pluginSettings:!0},this.renderContent())}}var Rl=Object(ft.c)(Object(s.b)((function(e){return{config:e.config.config}}))(Nl));function Fl(e,t){Object(Qe.b)()||t({nextPathname:e.location.pathname},pt.h)}var Il=o.a.createElement(Oe,{path:"/",component:ln.a},o.a.createElement(Ee,{component:Aa}),o.a.createElement(Oe,{path:pt.h,component:ba}),o.a.createElement(Oe,{path:pt.k,component:Ba}),o.a.createElement(Oe,{path:pt.g,component:Ml,onEnter:Fl}),o.a.createElement(Oe,{path:pt.a,component:cn,onEnter:Fl}),o.a.createElement(Oe,{path:pt.f,component:Co,onEnter:Fl}),o.a.createElement(Oe,{path:pt.i,component:Rl,onEnter:Fl})),Ll=n(26),zl=n.n(Ll);const Bl=function(e,t){const n=Object(ze.routerMiddleware)(e),r=Le()({collapsed:!0});return Object(Ne.a)(Fe.a,r,n)(Ne.d)(lt,t)}(Me()()),ql=Object(ze.syncHistoryWithStore)(Me()(),Bl);zl.a.beforeSend(window.RestProxyCallback),i.a.render(o.a.createElement(s.a,{store:Bl},o.a.createElement(he,{history:ql},Il)),document.getElementById("root"))}]);