!function(e,t,r,c){"use strict";var a=e.createElement(function(t){var r=t.viewBox,c=void 0===r?"0 0 24 24":r,a=t.children;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:c,width:24,height:24,fill:"currentColor"},a)},{viewBox:"0 0 16 16"},e.createElement("path",{d:"M12 2a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1h-1ZM6.5 6a1 1 0 0 1 1-1h1a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1h-1a1 1 0 0 1-1-1V6ZM2 9a1 1 0 0 1 1-1h1a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V9Z"})),o=e.createElement("div",{className:"pvc-icon"},a,e.createElement("span",{className:"pvc-icon__badge"},"PRO"));function s(c){var o=c.name,s=r.useBlockProps({className:"pvc-placeholder"}),l=wp.blocks.getBlockType(o),n=l?l.title:o;return e.createElement("div",s,e.createElement("div",{className:"pvc-placeholder__inner"},e.createElement("div",{className:"pvc-placeholder__badge"},"PRO"),e.createElement("div",{className:"pvc-placeholder__icon"},a),e.createElement("p",{className:"pvc-placeholder__title"},n),e.createElement("p",{className:"pvc-placeholder__message"},t.__("This block requires Post Views Counter Pro.","post-views-counter")),e.createElement("a",{className:"pvc-placeholder__link",href:"https://postviewscounter.com/pricing/?utm_source=block-editor&utm_medium=pro-placeholder&utm_campaign=upgrade",target:"_blank",rel:"noopener noreferrer"},t.__("Learn More","post-views-counter"))))}["post-views-counter/most-viewed-terms","post-views-counter/most-viewed-users","post-views-counter/site-views","post-views-counter/term-views","post-views-counter/user-views"].forEach(function(e){c.registerBlockType(e,{icon:o,edit:s,save:function(){return null}})})}(wp.element,wp.i18n,wp.blockEditor,wp.blocks);
