PluginProbe
ElasticPress / 5.3.5
ElasticPress v5.3.5
5.3.5 5.3.4 3.6.5 3.6.6 4.0.0 4.0.1 4.1.0 4.2.0 4.2.1 4.2.2 4.3.0 4.3.1 4.4.0 4.4.1 4.5.0 4.5.1 4.5.2 4.6.0 4.6.1 4.7.0 4.7.1 4.7.2 5.0.0 5.0.1 5.0.2 All 108 releases
← All changes | dist/js/comments-block-script.js +1 -1 4.5.05.3.5 View file →
@@ -1 +1 @@
1 -!function(){"use strict";var e={5251:function(e,t,s){var r=s(9196),o=60103;if(t.Fragment=60107,"function"===typeof Symbol&&Symbol.for){var n=Symbol.for;o=n("react.element"),t.Fragment=n("react.fragment")}var c=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a=Object.prototype.hasOwnProperty,i={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,s){var r,n={},l=null,p=null;for(r in void 0!==s&&(l=""+s),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(p=t.ref),t)a.call(t,r)&&!i.hasOwnProperty(r)&&(n[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===n[r]&&(n[r]=t[r]);return{$$typeof:o,type:e,key:l,ref:p,props:n,_owner:c.current}}t.jsx=l,t.jsxs=l},5893:function(e,t,s){e.exports=s(5251)},9196:function(e){e.exports=window.React}},t={};function s(r){var o=t[r];if(void 0!==o)return o.exports;var n=t[r]={exports:{}};return e[r](n,n.exports,s),n.exports}!function(){var e=window.wp.blocks,t=window.wp.blockEditor,r=window.wp.components,o=window.wp.element,n=window.wp.i18n,c=s(5893);const{searchablePostTypes:a}=window.epComments;var i=({attributes:e,setAttributes:s})=>{const{label:i,postTypes:l}=e,p=(0,t.useBlockProps)({className:"ep-widget-search-comments"}),m=(0,o.useMemo)((()=>0===l.length),[l]);return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("div",{...p,children:[(0,c.jsx)(t.RichText,{"aria-label":(0,n.__)("Label text"),placeholder:(0,n.__)("Add label…"),withoutInteractiveFormatting:!0,value:i,onChange:e=>s({label:e})}),(0,c.jsx)("input",{autoComplete:"off",className:"ep-widget-search-comments-input",disabled:!0,type:"search"})]}),(0,c.jsx)(t.InspectorControls,{children:(0,c.jsxs)(r.PanelBody,{title:(0,n.__)("Search settings","elasticpress"),children:[(0,c.jsx)(r.CheckboxControl,{checked:m,label:(0,n.__)("Search all comments","elasticpress"),onChange:e=>{s(e?{postTypes:[]}:{postTypes:Object.keys(a)})}}),Object.entries(a).map((([e,t])=>{const o=(0,n.sprintf)((0,n.__)("Search comments on %s","elasticpress"),t);return(0,c.jsx)(r.CheckboxControl,{checked:l.includes(e),indeterminate:m,label:o,onChange:t=>((e,t)=>{const r=t?[...l,e]:l.filter((t=>t!==e));s({postTypes:r})})(e,t)})}))]})})]})},l=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"title":"Search Comments (ElasticPress)","icon":"search","textdomain":"elasticpress","name":"elasticpress/comments","category":"widgets","attributes":{"label":{"default":"Search comments","type":"string"},"postTypes":{"default":[],"type":"array"}},"editorScript":"elasticpress-comments-editor-script","script":"elasticpress-comments","style":"elasticpress-comments"}'),p={from:[{type:"block",blocks:["core/legacy-widget"],isMatch:({idBase:e})=>"ep-comments"===e,transform:({instance:t})=>{const{title:s=null,post_type:r}=t.raw;return s?[(0,e.createBlock)("core/heading",{content:s}),(0,e.createBlock)("elasticpress/comments",{postTypes:r})]:(0,e.createBlock)("elasticpress/comments",{postTypes:r})}}]};(0,e.registerBlockType)(l,{edit:e=>(0,c.jsx)(i,{...e}),save:()=>{},transforms:p})}()}();
1 +!function(){"use strict";var t={9306:function(t,e,n){var r=n(4901),o=n(6823),i=TypeError;t.exports=function(t){if(r(t))return t;throw new i(o(t)+" is not a function")}},6469:function(t,e,n){var r=n(8227),o=n(2360),i=n(4913).f,c=r("unscopables"),u=Array.prototype;void 0===u[c]&&i(u,c,{configurable:!0,value:o(null)}),t.exports=function(t){u[c][t]=!0}},8551:function(t,e,n){var r=n(34),o=String,i=TypeError;t.exports=function(t){if(r(t))return t;throw new i(o(t)+" is not an object")}},9617:function(t,e,n){var r=n(5397),o=n(5610),i=n(6198),c=function(t){return function(e,n,c){var u=r(e),a=i(u);if(0===a)return!t&&-1;var f,s=o(c,a);if(t&&n!==n){for(;a>s;)if((f=u[s++])!==f)return!0}else for(;a>s;s++)if((t||s in u)&&u[s]===n)return t||s||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},2195:function(t,e,n){var r=n(9504),o=r({}.toString),i=r("".slice);t.exports=function(t){return i(o(t),8,-1)}},7740:function(t,e,n){var r=n(9297),o=n(5031),i=n(7347),c=n(4913);t.exports=function(t,e,n){for(var u=o(e),a=c.f,f=i.f,s=0;s<u.length;s++){var p=u[s];r(t,p)||n&&r(n,p)||a(t,p,f(e,p))}}},6699:function(t,e,n){var r=n(3724),o=n(4913),i=n(6980);t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},6980:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},6840:function(t,e,n){var r=n(4901),o=n(4913),i=n(283),c=n(9433);t.exports=function(t,e,n,u){u||(u={});var a=u.enumerable,f=void 0!==u.name?u.name:e;if(r(n)&&i(n,f,u),u.global)a?t[e]=n:c(e,n);else{try{u.unsafe?t[e]&&(a=!0):delete t[e]}catch(t){}a?t[e]=n:o.f(t,e,{value:n,enumerable:!1,configurable:!u.nonConfigurable,writable:!u.nonWritable})}return t}},9433:function(t,e,n){var r=n(4576),o=Object.defineProperty;t.exports=function(t,e){try{o(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},3724:function(t,e,n){var r=n(9039);t.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4055:function(t,e,n){var r=n(4576),o=n(34),i=r.document,c=o(i)&&o(i.createElement);t.exports=function(t){return c?i.createElement(t):{}}},8727:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2839:function(t,e,n){var r=n(4576).navigator,o=r&&r.userAgent;t.exports=o?String(o):""},9519:function(t,e,n){var r,o,i=n(4576),c=n(2839),u=i.process,a=i.Deno,f=u&&u.versions||a&&a.version,s=f&&f.v8;s&&(o=(r=s.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&c&&(!(r=c.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=c.match(/Chrome\/(\d+)/))&&(o=+r[1]),t.exports=o},6518:function(t,e,n){var r=n(4576),o=n(7347).f,i=n(6699),c=n(6840),u=n(9433),a=n(7740),f=n(2796);t.exports=function(t,e){var n,s,p,l,v,y=t.target,m=t.global,b=t.stat;if(n=m?r:b?r[y]||u(y,{}):r[y]&&r[y].prototype)for(s in e){if(l=e[s],p=t.dontCallGetSet?(v=o(n,s))&&v.value:n[s],!f(m?s:y+(b?".":"#")+s,t.forced)&&void 0!==p){if(typeof l==typeof p)continue;a(l,p)}(t.sham||p&&p.sham)&&i(l,"sham",!0),c(n,s,l,t)}}},9039:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},616:function(t,e,n){var r=n(9039);t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},9565:function(t,e,n){var r=n(616),o=Function.prototype.call;t.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},350:function(t,e,n){var r=n(3724),o=n(9297),i=Function.prototype,c=r&&Object.getOwnPropertyDescriptor,u=o(i,"name"),a=u&&"something"===function(){}.name,f=u&&(!r||r&&c(i,"name").configurable);t.exports={EXISTS:u,PROPER:a,CONFIGURABLE:f}},9504:function(t,e,n){var r=n(616),o=Function.prototype,i=o.call,c=r&&o.bind.bind(i,i);t.exports=r?c:function(t){return function(){return i.apply(t,arguments)}}},7751:function(t,e,n){var r=n(4576),o=n(4901);t.exports=function(t,e){return arguments.length<2?(n=r[t],o(n)?n:void 0):r[t]&&r[t][e];var n}},5966:function(t,e,n){var r=n(9306),o=n(4117);t.exports=function(t,e){var n=t[e];return o(n)?void 0:r(n)}},4576:function(t,e,n){var r=function(t){return t&&t.Math===Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297:function(t,e,n){var r=n(9504),o=n(8981),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},421:function(t){t.exports={}},397:function(t,e,n){var r=n(7751);t.exports=r("document","documentElement")},5917:function(t,e,n){var r=n(3724),o=n(9039),i=n(4055);t.exports=!r&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},7055:function(t,e,n){var r=n(9504),o=n(9039),i=n(2195),c=Object,u=r("".split);t.exports=o((function(){return!c("z").propertyIsEnumerable(0)}))?function(t){return"String"===i(t)?u(t,""):c(t)}:c},3706:function(t,e,n){var r=n(9504),o=n(4901),i=n(7629),c=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return c(t)}),t.exports=i.inspectSource},1181:function(t,e,n){var r,o,i,c=n(8622),u=n(4576),a=n(34),f=n(6699),s=n(9297),p=n(7629),l=n(6119),v=n(421),y="Object already initialized",m=u.TypeError,b=u.WeakMap;if(c||p.state){var h=p.state||(p.state=new b);h.get=h.get,h.has=h.has,h.set=h.set,r=function(t,e){if(h.has(t))throw new m(y);return e.facade=t,h.set(t,e),e},o=function(t){return h.get(t)||{}},i=function(t){return h.has(t)}}else{var d=l("state");v[d]=!0,r=function(t,e){if(s(t,d))throw new m(y);return e.facade=t,f(t,d,e),e},o=function(t){return s(t,d)?t[d]:{}},i=function(t){return s(t,d)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!a(e)||(n=o(e)).type!==t)throw new m("Incompatible receiver, "+t+" required");return n}}}},4901:function(t){var e="object"==typeof document&&document.all;t.exports="undefined"==typeof e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},2796:function(t,e,n){var r=n(9039),o=n(4901),i=/#|\.prototype\./,c=function(t,e){var n=a[u(t)];return n===s||n!==f&&(o(e)?r(e):!!e)},u=c.normalize=function(t){return String(t).replace(i,".").toLowerCase()},a=c.data={},f=c.NATIVE="N",s=c.POLYFILL="P";t.exports=c},4117:function(t){t.exports=function(t){return null===t||void 0===t}},34:function(t,e,n){var r=n(4901);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},6395:function(t){t.exports=!1},757:function(t,e,n){var r=n(7751),o=n(4901),i=n(1625),c=n(7040),u=Object;t.exports=c?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return o(e)&&i(e.prototype,u(t))}},6198:function(t,e,n){var r=n(8014);t.exports=function(t){return r(t.length)}},283:function(t,e,n){var r=n(9504),o=n(9039),i=n(4901),c=n(9297),u=n(3724),a=n(350).CONFIGURABLE,f=n(3706),s=n(1181),p=s.enforce,l=s.get,v=String,y=Object.defineProperty,m=r("".slice),b=r("".replace),h=r([].join),d=u&&!o((function(){return 8!==y((function(){}),"length",{value:8}).length})),g=String(String).split("String"),w=t.exports=function(t,e,n){"Symbol("===m(v(e),0,7)&&(e="["+b(v(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!c(t,"name")||a&&t.name!==e)&&(u?y(t,"name",{value:e,configurable:!0}):t.name=e),d&&n&&c(n,"arity")&&t.length!==n.arity&&y(t,"length",{value:n.arity});try{n&&c(n,"constructor")&&n.constructor?u&&y(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var r=p(t);return c(r,"source")||(r.source=h(g,"string"==typeof e?e:"")),t};Function.prototype.toString=w((function(){return i(this)&&l(this).source||f(this)}),"toString")},741:function(t){var e=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(t){var r=+t;return(r>0?n:e)(r)}},2360:function(t,e,n){var r,o=n(8551),i=n(6801),c=n(8727),u=n(421),a=n(397),f=n(4055),s=n(6119),p="prototype",l="script",v=s("IE_PROTO"),y=function(){},m=function(t){return"<"+l+">"+t+"</"+l+">"},b=function(t){t.write(m("")),t.close();var e=t.parentWindow.Object;return t=null,e},h=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}h="undefined"!=typeof document?document.domain&&r?b(r):function(){var t,e=f("iframe"),n="java"+l+":";return e.style.display="none",a.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(m("document.F=Object")),t.close(),t.F}():b(r);for(var t=c.length;t--;)delete h[p][c[t]];return h()};u[v]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(y[p]=o(t),n=new y,y[p]=null,n[v]=t):n=h(),void 0===e?n:i.f(n,e)}},6801:function(t,e,n){var r=n(3724),o=n(8686),i=n(4913),c=n(8551),u=n(5397),a=n(1072);e.f=r&&!o?Object.defineProperties:function(t,e){c(t);for(var n,r=u(e),o=a(e),f=o.length,s=0;f>s;)i.f(t,n=o[s++],r[n]);return t}},4913:function(t,e,n){var r=n(3724),o=n(5917),i=n(8686),c=n(8551),u=n(6969),a=TypeError,f=Object.defineProperty,s=Object.getOwnPropertyDescriptor,p="enumerable",l="configurable",v="writable";e.f=r?i?function(t,e,n){if(c(t),e=u(e),c(n),"function"===typeof t&&"prototype"===e&&"value"in n&&v in n&&!n[v]){var r=s(t,e);r&&r[v]&&(t[e]=n.value,n={configurable:l in n?n[l]:r[l],enumerable:p in n?n[p]:r[p],writable:!1})}return f(t,e,n)}:f:function(t,e,n){if(c(t),e=u(e),c(n),o)try{return f(t,e,n)}catch(t){}if("get"in n||"set"in n)throw new a("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},7347:function(t,e,n){var r=n(3724),o=n(9565),i=n(8773),c=n(6980),u=n(5397),a=n(6969),f=n(9297),s=n(5917),p=Object.getOwnPropertyDescriptor;e.f=r?p:function(t,e){if(t=u(t),e=a(e),s)try{return p(t,e)}catch(t){}if(f(t,e))return c(!o(i.f,t,e),t[e])}},8480:function(t,e,n){var r=n(1828),o=n(8727).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},3717:function(t,e){e.f=Object.getOwnPropertySymbols},1625:function(t,e,n){var r=n(9504);t.exports=r({}.isPrototypeOf)},1828:function(t,e,n){var r=n(9504),o=n(9297),i=n(5397),c=n(9617).indexOf,u=n(421),a=r([].push);t.exports=function(t,e){var n,r=i(t),f=0,s=[];for(n in r)!o(u,n)&&o(r,n)&&a(s,n);for(;e.length>f;)o(r,n=e[f++])&&(~c(s,n)||a(s,n));return s}},1072:function(t,e,n){var r=n(1828),o=n(8727);t.exports=Object.keys||function(t){return r(t,o)}},8773:function(t,e){var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);e.f=o?function(t){var e=r(this,t);return!!e&&e.enumerable}:n},4270:function(t,e,n){var r=n(9565),o=n(4901),i=n(34),c=TypeError;t.exports=function(t,e){var n,u;if("string"===e&&o(n=t.toString)&&!i(u=r(n,t)))return u;if(o(n=t.valueOf)&&!i(u=r(n,t)))return u;if("string"!==e&&o(n=t.toString)&&!i(u=r(n,t)))return u;throw new c("Can't convert object to primitive value")}},5031:function(t,e,n){var r=n(7751),o=n(9504),i=n(8480),c=n(3717),u=n(8551),a=o([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=i.f(u(t)),n=c.f;return n?a(e,n(t)):e}},7750:function(t,e,n){var r=n(4117),o=TypeError;t.exports=function(t){if(r(t))throw new o("Can't call method on "+t);return t}},6119:function(t,e,n){var r=n(5745),o=n(3392),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},7629:function(t,e,n){var r=n(6395),o=n(4576),i=n(9433),c="__core-js_shared__",u=t.exports=o[c]||i(c,{});(u.versions||(u.versions=[])).push({version:"3.39.0",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.39.0/LICENSE",source:"https://github.com/zloirock/core-js"})},5745:function(t,e,n){var r=n(7629);t.exports=function(t,e){return r[t]||(r[t]=e||{})}},4495:function(t,e,n){var r=n(9519),o=n(9039),i=n(4576).String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol("symbol detection");return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},5610:function(t,e,n){var r=n(1291),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},5397:function(t,e,n){var r=n(7055),o=n(7750);t.exports=function(t){return r(o(t))}},1291:function(t,e,n){var r=n(741);t.exports=function(t){var e=+t;return e!==e||0===e?0:r(e)}},8014:function(t,e,n){var r=n(1291),o=Math.min;t.exports=function(t){var e=r(t);return e>0?o(e,9007199254740991):0}},8981:function(t,e,n){var r=n(7750),o=Object;t.exports=function(t){return o(r(t))}},2777:function(t,e,n){var r=n(9565),o=n(34),i=n(757),c=n(5966),u=n(4270),a=n(8227),f=TypeError,s=a("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var n,a=c(t,s);if(a){if(void 0===e&&(e="default"),n=r(a,t,e),!o(n)||i(n))return n;throw new f("Can't convert object to primitive value")}return void 0===e&&(e="number"),u(t,e)}},6969:function(t,e,n){var r=n(2777),o=n(757);t.exports=function(t){var e=r(t,"string");return o(e)?e:e+""}},6823:function(t){var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},3392:function(t,e,n){var r=n(9504),o=0,i=Math.random(),c=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+c(++o+i,36)}},7040:function(t,e,n){var r=n(4495);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686:function(t,e,n){var r=n(3724),o=n(9039);t.exports=r&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8622:function(t,e,n){var r=n(4576),o=n(4901),i=r.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},8227:function(t,e,n){var r=n(4576),o=n(5745),i=n(9297),c=n(3392),u=n(4495),a=n(7040),f=r.Symbol,s=o("wks"),p=a?f.for||f:f&&f.withoutSetter||c;t.exports=function(t){return i(s,t)||(s[t]=u&&i(f,t)?f[t]:p("Symbol."+t)),s[t]}},4423:function(t,e,n){var r=n(6518),o=n(9617).includes,i=n(9039),c=n(6469);r({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),c("includes")}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r].call(i.exports,i,i.exports,n),i.exports}n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}();var r=window.wp.blocks,o=window.wp.primitives,i=(n(4423),window.wp.blockEditor),c=window.wp.components,u=window.wp.element,a=window.wp.i18n;const{searchablePostTypes:f}=window.epComments;var s=({attributes:t,setAttributes:e})=>{const{label:n,postTypes:r}=t,o=(0,i.useBlockProps)({className:"ep-widget-search-comments"}),s=(0,u.useMemo)((()=>0===r.length),[r]);return React.createElement(React.Fragment,null,React.createElement("div",o,React.createElement(i.RichText,{"aria-label":(0,a.__)("Label text"),placeholder:(0,a.__)("Add label…"),withoutInteractiveFormatting:!0,value:n,onChange:t=>e({label:t})}),React.createElement("input",{autoComplete:"off",className:"ep-widget-search-comments-input",disabled:!0,type:"search"})),React.createElement(i.InspectorControls,null,React.createElement(c.PanelBody,{title:(0,a.__)("Search settings","elasticpress")},React.createElement(c.CheckboxControl,{checked:s,label:(0,a.__)("Search all comments","elasticpress"),onChange:t=>{e(t?{postTypes:[]}:{postTypes:Object.keys(f)})}}),Object.entries(f).map((([t,n])=>{const o=(0,a.sprintf)((0,a.__)("Search comments on %s","elasticpress"),n);return React.createElement(c.CheckboxControl,{checked:r.includes(t),indeterminate:s,label:o,onChange:n=>((t,n)=>{const o=n?[...r,t]:r.filter((e=>e!==t));e({postTypes:o})})(t,n),key:t})})))))},p=JSON.parse('{"UU":"elasticpress/comments"}'),l={from:[{type:"block",blocks:["core/legacy-widget"],isMatch:({idBase:t})=>"ep-comments"===t,transform:({instance:t})=>{const{title:e=null,post_type:n}=t.raw;return e?[(0,r.createBlock)("core/heading",{content:e}),(0,r.createBlock)("elasticpress/comments",{postTypes:n})]:(0,r.createBlock)("elasticpress/comments",{postTypes:n})}}]};(0,r.registerBlockType)(p.UU,{icon:()=>React.createElement(o.SVG,{version:"1.0",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement(o.Path,{d:"M3.75 10C3.75 6.54822 6.54822 3.75 10 3.75C10.6096 3.75 11.1988 3.83727 11.7558 4H14.9057C13.5696 2.90625 11.8614 2.25 10 2.25C5.71979 2.25 2.25 5.71979 2.25 10C2.25 14.2802 5.71979 17.75 10 17.75C11.8474 17.75 13.5438 17.1036 14.8754 16.0247L18.4763 19.5369C18.7728 19.8261 19.2477 19.8202 19.5369 19.5237C19.8261 19.2272 19.8202 18.7523 19.5237 18.4631L15.9448 14.9724C16.2002 14.6673 16.4326 14.3423 16.6393 14H14.8025C14.7301 14.0869 14.6553 14.1718 14.5783 14.2547L14.3682 14.4701C13.2414 15.5713 11.7 16.25 10 16.25C6.54822 16.25 3.75 13.4518 3.75 10Z"}),React.createElement(o.Path,{d:"M16.3018 6.1295C16.4109 6.04317 16.5132 6 16.6087 6C16.7178 6 16.8201 6.05036 16.9156 6.15108L17.2839 6.51799C17.393 6.63309 17.4476 6.73381 17.4476 6.82014C17.4476 6.92086 17.3794 7.02878 17.243 7.14388C16.6564 7.60432 16.3632 8.1223 16.3632 8.69784C16.4859 8.85612 16.6292 8.93525 16.7928 8.93525H17.5703C17.7067 8.93525 17.809 8.97842 17.8772 9.06475C17.9591 9.13669 18 9.24461 18 9.38849V11.5252C18 11.6691 17.9591 11.7842 17.8772 11.8705C17.809 11.9424 17.7067 11.9784 17.5703 11.9784H15.1969C14.9105 11.9784 14.7673 11.8345 14.7673 11.5468C14.74 11.0288 14.7263 10.5899 14.7263 10.2302C14.7263 9.28058 14.8218 8.4964 15.0128 7.8777C15.2174 7.25899 15.6471 6.67626 16.3018 6.1295ZM11.5754 6.15108C11.6846 6.06475 11.7869 6.02158 11.8824 6.02158C11.9915 6.02158 12.0938 6.07194 12.1893 6.17266L12.5575 6.53957C12.6667 6.65468 12.7212 6.7554 12.7212 6.84173C12.7212 6.94245 12.653 7.05036 12.5166 7.16547C11.9301 7.6259 11.6368 8.14389 11.6368 8.71943C11.7596 8.8777 11.9028 8.95683 12.0665 8.95683H12.844C12.9804 8.95683 13.0827 9 13.1509 9.08633C13.2327 9.15827 13.2737 9.26619 13.2737 9.41007V11.5468C13.2737 11.6906 13.2327 11.8058 13.1509 11.8921C13.0827 11.964 12.9804 12 12.844 12H10.4706C10.1841 12 10.0409 11.8561 10.0409 11.5683C10.0136 11.0504 10 10.6115 10 10.2518C10 9.30216 10.0955 8.51799 10.2864 7.89928C10.491 7.28058 10.9207 6.69784 11.5754 6.15108Z"})),edit:t=>React.createElement(s,t),save:()=>{},transforms:l})}();