(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{200:function(e,t,n){"use strict";n.r(t);var i=n(3),a=n.n(i),l=n(4),o=n.n(l),c=n(5),r=n.n(c),s=n(6),d=n.n(s),m=n(11),u=n.n(m),g=n(7),k=n.n(g),_=n(1),p=n(14),b=n(2),h=n(10),f=n(0),v=n(22),y=function(e){function t(){return a()(this,t),r()(this,d()(t).apply(this,arguments))}return k()(t,e),o()(t,[{key:"render",value:function(){return React.createElement(_.Fragment,null)}}]),t}(_.Component),j=Object(v.a)("googlesitekit.AdminbarModules")(y);n.d(t,"GoogleSitekitAdminbar",(function(){return O})),n.d(t,"init",(function(){return E}));var O=function(e){function t(e){var n;return a()(this,t),n=r()(this,d()(t).call(this,e)),Object(f.setLocaleData)(googlesitekit.locale,"google-site-kit"),n.handleMoreDetailsLink=n.handleMoreDetailsLink.bind(u()(n)),n}return k()(t,e),o()(t,[{key:"handleMoreDetailsLink",value:function(){var e=googlesitekit,t=e.permaLink,n=e.postID,i=e.postType,a=e.pageTitle,l=Object(b.n)("googlesitekit-dashboard",{permaLink:t,id:n,postType:i,pageTitle:a});Object(b.v)("admin_bar","post_details_click"),document.location=l}},{key:"render",value:function(){var e=googlesitekit,t=e.pageTitle,n=e.permaLink;return React.createElement(_.Fragment,null,React.createElement("div",{className:"mdc-layout-grid"},React.createElement("div",{className:"mdc-layout-grid__inner"},React.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--span-3 mdc-layout-grid__cell--align-middle "},React.createElement("span",{className:"googlesitekit-adminbar__subtitle"},Object(f.__)("Stats for:","google-site-kit")),React.createElement("h2",{className:"googlesitekit-adminbar__title"},t?Object(b.e)(t):n)),React.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--span-8-tablet mdc-layout-grid__cell--span-7-desktop mdc-layout-grid__cell--align-middle "},React.createElement("div",{className:"mdc-layout-grid__inner"},React.createElement(j,null))),React.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--span-2 mdc-layout-grid__cell--align-middle "},React.createElement(p.a,{className:"googlesitekit-adminbar__link",href:"#",onClick:this.handleMoreDetailsLink},Object(f.__)("More details","google-site-kit"))))),React.createElement(p.a,{className:"googlesitekit-adminbar__link googlesitekit-adminbar__link--mobile",href:"#",onClick:this.handleMoreDetailsLink},Object(f.__)("More details","google-site-kit")))}}]),t}(_.Component);function E(){null!==document.getElementById("js-googlesitekit-adminbar-modules")&&(Object(_.render)(React.createElement(O,null),document.getElementById("js-googlesitekit-adminbar-modules")),Object(h.doAction)("googlesitekit.moduleLoaded","Adminbar"))}},22:function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var i=n(3),a=n.n(i),l=n(4),o=n.n(l),c=n(5),r=n.n(c),s=n(6),d=n.n(s),m=n(7),u=n.n(m),g=n(1),k=n(12),_=n(10),p=n(60),b=16;function h(e){return Object(p.createHigherOrderComponent)((function(t){var n,i="core/with-filters/"+e;var l=function(l){function c(){var i;return a()(this,c),i=r()(this,d()(c).apply(this,arguments)),void 0===n&&(n=Object(_.applyFilters)(e,t)),i}return u()(c,l),o()(c,[{key:"componentDidMount",value:function(){c.instances.push(this),1===c.instances.length&&(Object(_.addAction)("hookRemoved",i,s),Object(_.addAction)("hookAdded",i,s))}},{key:"componentWillUnmount",value:function(){c.instances=Object(k.without)(c.instances,this),0===c.instances.length&&(Object(_.removeAction)("hookRemoved",i),Object(_.removeAction)("hookAdded",i))}},{key:"render",value:function(){return React.createElement(n,this.props)}}]),c}(g.Component);l.instances=[];var c=Object(k.debounce)((function(){n=Object(_.applyFilters)(e,t),l.instances.forEach((function(e){e.forceUpdate()}))}),b);function s(t){t===e&&c()}return l}),"withFilters")}}}]);