!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(1)},function(e,t,n){"use strict";function r(e){return e.attributes=u(e.attributes,{scheduledStart:{type:"string"}}),e}function o(e,t,n){return e.scheduledStart=n.scheduledStart,e}var l=lodash,u=l.assign,c=wp.i18n.__,a=wp.element.Fragment,i=wp.hooks.addFilter,d=wp.components,s=d.TextControl,p=d.PanelBody,m=wp.compose.createHigherOrderComponent,f=wp.editor.InspectorControls;i("blocks.registerBlockType","my-plugin/add-attr",r),i("blocks.getSaveContent.extraProps","my-plugin/add-props",o),i("editor.BlockEdit","my-plugin/my-control",m(function(e){return function(t){return t.isSelected?wp.element.createElement(a,null,wp.element.createElement(e,t),wp.element.createElement(f,null,wp.element.createElement(p,{title:c("WP Fusion")},wp.element.createElement(ToggleControl,{label:"Fixed Background",help:hasFixedBackground?"Has fixed background.":"No fixed background.",checked:hasFixedBackground,onChange:function(){return setState(function(e){return{hasFixedBackground:!e.hasFixedBackground}})}}),wp.element.createElement(s,{label:c("I done it"),help:c("Some help text for my custom control."),value:t.attributes.scheduledStart||"",onChange:function(e){t.setAttributes({scheduledStart:e})}})))):wp.element.createElement(e,t)}},"addMyCustomBlockControls"))}]);