this.wp=this.wp||{},this.wp.serverSideRender=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=200)}({0:function(t,e){!function(){t.exports=this.wp.element}()},1:function(t,e){!function(){t.exports=this.wp.i18n}()},10:function(t,e,n){"use strict";function r(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object(O.addQueryArgs)("/wp/v2/block-renderer/".concat(t),Object(o.a)({context:"edit"},null!==e?{attributes:e}:{},n))}(n,u,void 0===c?{}:c),s=this.currentFetchRequest=d()({path:i}).then(function(t){e.isStillMounted&&s===e.currentFetchRequest&&t&&e.setState({response:t.rendered})}).catch(function(t){e.isStillMounted&&s===e.currentFetchRequest&&e.setState({response:{error:!0,errorMsg:t.message}})});return s}}},{key:"render",value:function(){var t=this.state.response,e=this.props.className;if(""===t)return Object(c.createElement)(m.Placeholder,{className:e},Object(y.__)("Block rendered as empty."));if(!t)return Object(c.createElement)(m.Placeholder,{className:e},Object(c.createElement)(m.Spinner,null));if(t.error){var n=Object(y.sprintf)(Object(y.__)("Error loading block: %s"),t.errorMsg);return Object(c.createElement)(m.Placeholder,{className:e},n)}return Object(c.createElement)(c.RawHTML,{key:"html",className:e},t)}}]),e}(c.Component),v={};e.default=Object(i.withSelect)(function(t){var e=t("core/editor");if(e){var n=e.getCurrentPostId();if(n)return{currentPostId:n}}return v})(function(t){var e=t.urlQueryArgs,n=void 0===e?v:e,i=t.currentPostId,s=Object(u.a)(t,["urlQueryArgs","currentPostId"]),f=Object(c.useMemo)(function(){return i?Object(o.a)({post_id:i},n):n},[i,n]);return Object(c.createElement)(j,Object(r.a)({urlQueryArgs:f},s))})},21:function(t,e,n){"use strict";function r(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},u=Object.keys(t);for(r=0;r=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}n.d(e,"a",function(){return r})},25:function(t,e){!function(){t.exports=this.wp.url}()},3:function(t,e){!function(){t.exports=this.wp.components}()},32:function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t){return(o="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(t){return r(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":r(t)})(t)}n.d(e,"a",function(){return o})},35:function(t,e){!function(){t.exports=this.wp.apiFetch}()},4:function(t,e){!function(){t.exports=this.wp.data}()},5:function(t,e,n){"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,"a",function(){return r})},8:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n(15);function o(t){for(var e=1;e