this.wp=this.wp||{},this.wp.listReusableBlocks=function(e){vart={};functionn(r){if(t[r])returnt[r].exports;varo=t[r]={i:r,l:!1,exports:{}};returne[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}returnn.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeofSymbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)returne;if(4&t&&"object"==typeofe&&e&&e.__esModule)returne;varr=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeofe)for(varoine)n.d(r,o,function(t){returne[t]}.bind(null,o));returnr},n.n=function(e){vart=e&&e.__esModule?function(){returne.default}:function(){returne};returnn.d(t,"a",t),t},n.o=function(e,t){returnObject.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=472)}({0:function(e,t){e.exports=window.wp.element},1:function(e,t){e.exports=window.wp.i18n},11:function(e,t){e.exports=window.wp.compose},16:function(e,t){e.exports=window.regeneratorRuntime},18:function(e,t,n){"use strict";functionr(e){if(void0===e)thrownewReferenceError("this hasn't been initialised - super() hasn't been called");returne}n.d(t,"a",(function(){returnr}))},2:function(e,t){e.exports=window.lodash},22:function(e,t,n){"use strict";functionr(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){returne.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"a",(function(){returnr}))},25:function(e,t,n){"use strict";functionr(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}n.d(t,"a",(function(){returnr}))},26:function(e,t,n){"use strict";functionr(e,t){for(varn=0;n<t.length;n++){varr=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}functiono(e,t,n){returnt&&r(e.prototype,t),n&&r(e,n),e}n.d(t,"a",(function(){returno}))},3:function(e,t){e.exports=window.wp.components},33:function(e,t,n){"use strict";n.d(t,"a",(function(){returno}));varr=n(55);functiono(e,t){if("function"!=typeoft&&null!==t)thrownewTypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Object(r.a)(e,t)}},34:function(e,t,n){"use strict";n.d(t,"a",(function(){returnc}));varr=n(59),o=n.n(r),i=n(18);functionc(e,t){return!t||"object"!==o()(t)&&"function"!=typeoft?Object(i.a)(e):t}},472:function(e,t,n){"use strict";n.r(t);varr=n(0),o=n(1),i=n(48),c=n(16),a=n.n(c),u=n(2),s=n(50),l=n.n(s);functionf(e,t,n){varr=newwindow.Blob([t],{type:n});if(window.navigator.msSaveOrOpenBlob)window.navigator.msSaveOrOpenBlob(r,e);else{varo=document.createElement("a");o.href=URL.createObjectURL(r),o.download=e,o.style.display="none",document.body.appendChild(o),o.click(),document.body.removeChild(o)}}functionp(e){vart=newwindow.FileReader;returnnewPromise((function(n){t.onload=function(){n(t.result)},t.readAsText(e)}))}functionb(){return(b=Object(i.a)(a.a.mark((functione(t){varn,r,o,i,c;returna.a.wrap((function(e){for(;;)switch(e.prev=e.next){case0:returne.next=2,l()({path:"/wp/v2/types/wp_block"});case2:returnn=e.sent,e.next=5,l()({path:"/wp/v2/".concat(n.rest_base,"/").concat(t,"?context=edit")});case5:r=e.sent,o=r.title.raw,i=r.content.raw,c=JSON.stringify({__file:"wp_block",title:o,content:i},null,2),f(Object(u.kebabCase)(o)+".json",c,"application/json");case11:case"end":returne.stop()}}),e)})))).apply(this,arguments)}vard=function(e){returnb.apply(this,arguments)},m=n(3),v=n(25),y=n(26),w=n(18),O=n(33),h=n(34),_=n(22),j=n(11);functionS(){return(S=Object(i.a)(a.a.mark((functione(t){varn,r,o,i;returna.a.wrap((function(e){for(;;)switch(e.prev=e.next){case0:returne.next=2,p(t);case2:n=e.sent,e.prev=3,r=JSON.parse(n),e.next=10;break;case7:throwe.prev=7,e.t0=e.catch(3),newError("Invalid JSON file");case10:if("wp_block"===r.__file&&r.title&&r.content&&Object(