this.wp=this.wp||{},this.wp.blockEditor=function(e){vart={};functionn(o){if(t[o])returnt[o].exports;varr=t[o]={i:o,l:!1,exports:{}};returne[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}returnn.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},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;varo=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeofe)for(varrine)n.d(o,r,function(t){returne[t]}.bind(null,r));returno},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=357)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t){!function(){e.exports=this.wp.i18n}()},10:function(e,t,n){"use strict";functiono(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}n.d(t,"a",function(){returno})},11:function(e,t,n){"use strict";n.d(t,"a",function(){returni});varo=n(32),r=n(3);functioni(e,t){return!t||"object"!==Object(o.a)(t)&&"function"!=typeoft?Object(r.a)(e):t}},111:function(e,t,n){"use strict";varo,r=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceofArray&&function(e,t){e.__proto__=t}||function(e,t){for(varnint)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){functionn(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,newn)}),i=this&&this.__assign||Object.assign||function(e){for(vart,n=1,o=arguments.length;n<o;n++)for(varrint=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);returne},c=this&&this.__rest||function(e,t){varn={};for(varoine)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeofObject.getOwnPropertySymbols){varr=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&(n[o[r]]=e[o[r]])}returnn};t.__esModule=!0;vara=n(27),l=n(31),s=n(112),u=n(113),d=function(e){functiont(){vart=null!==e&&e.apply(this,arguments)||this;returnt.state={lineHeight:null},t.dispatchEvent=function(e){varn=document.createEvent("Event");n.initEvent(e,!0,!1),t.textarea.dispatchEvent(n)},t.updateLineHeight=function(){t.setState({lineHeight:u(t.textarea)})},t.onChange=function(e){varn=t.props.onChange;t.currentValue=e.currentTarget.value,n&&n(e)},t.saveDOMNodeRef=function(e){varn=t.props.innerRef;n&&n(e),t.textarea=e},t.getLocals=function(){vare=t,n=e.props,o=(n.onResize,n.maxRows),r=(n.onChange,n.style),a=(n.innerRef,c(n,["onResize","maxRows","onChange","style","innerRef"])),l=e.state.lineHeight,s=e.saveDOMNodeRef,u=o&&l?l*o:null;returni({},a,{saveDOMNodeRef:s,style:u?i({},r,{maxHeight:u}):r,onChange:t.onChange})},t}returnr(t,e),t.prototype.componentDidMount=function(){vare=this,t=this.props,n=t.onResize;"number"==typeoft.maxRows&&this.updateLineHeight(),setTimeout(function(){returns(e.textarea)}),n&&this.textarea.addEventListener("autosize:resized",n)},t.prototype.componentWillUnmount=function(){vare=this.props.onResize;e&&this.textarea.removeEventListener("autosize:resized",e),this.dispatchEvent("autosize:destroy")},t.prototype.render=function(){vare=this.getLocals(),t=e.children,n=e.saveDOMNodeRef,o=c(e,["children","saveDOMNodeRef"]);returna.createElement("textarea",i({},o,{ref:n}),t)},t.prototype.componentDidUpdate=function(e){this.props.value===this.currentValue&&this.props.rows===e.rows||this.dispatchEvent("autosize:update")},t.defaultProps={rows:1},t.propTypes={rows:l.number,maxRows:l.number,onResize:l.func,innerRef:l.func},t}(a.Component);t.default=d},112:function(e,t,n){varo,r,i;