!function(){"use strict";var r={388:function(r,e){e.A={"sugar-calendar-toggle-control":"jkBfKbu00j39sbzAx_N0","sugar-calendar-toggle-control-icon":"R1ODAitQ8zHmHF7uDV5j","sugar-calendar-toggle-control-label":"TAgF4T9MJRfmxQkLCR0s","sugar-calendar-toggle-control-status":"VmBDaeGNkX3_AO_hQCu5","sugar-calendar-toggle-control-status-off":"Lm4Oj1dAliVWMROnQ6_9","sugar-calendar-toggle-control-status-on":"sgDpwDzd57ecWbPLehKE",input:"pbSAmBN4gLR_SmFdq2Im",error:"ulIrSlr1UhkujDWGXNWI"}}},e={};function t(){return t=Object.assign?Object.assign.bind():function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)({}).hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r},t.apply(null,arguments)}function n(r){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&&"function"==typeof Symbol&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},n(r)}function o(r,e,t){return(e=function(r){var e=function(r){if("object"!=n(r)||!r)return r;var e=r[Symbol.toPrimitive];if(void 0!==e){var t=e.call(r,"string");if("object"!=n(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(r)}(r);return"symbol"==n(e)?e:e+""}(e))in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}var a=window.wp.element;function l(r){var e,t,n="";if("string"==typeof r||"number"==typeof r)n+=r;else if("object"==typeof r)if(Array.isArray(r)){var o=r.length;for(e=0;e<o;e++)r[e]&&(t=l(r[e]))&&(n&&(n+=" "),n+=t)}else for(t in r)r[t]&&(n&&(n+=" "),n+=t);return n}var u=function(){for(var r,e,t=0,n="",o=arguments.length;t<o;t++)(r=arguments[t])&&(e=l(r))&&(n&&(n+=" "),n+=e);return n},i=function t(n){var o=e[n];if(void 0!==o)return o.exports;var a=e[n]={exports:{}};return r[n](a,a.exports,t),a.exports}(388),c=["value","onChange","placeholder","required","className","rows","error"];(0,a.forwardRef)(function(r,e){var n=r.value,l=r.onChange,f=r.placeholder,s=void 0===f?"":f,g=r.required,p=void 0!==g&&g,v=r.className,b=r.rows,m=void 0===b?4:b,y=r.error,d=void 0!==y&&y,h=function(r,e){if(null==r)return{};var t,n,o=function(r,e){if(null==r)return{};var t={};for(var n in r)if({}.hasOwnProperty.call(r,n)){if(e.includes(n))continue;t[n]=r[n]}return t}(r,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(r);for(n=0;n<a.length;n++)t=a[n],e.includes(t)||{}.propertyIsEnumerable.call(r,t)&&(o[t]=r[t])}return o}(r,c);return(0,a.createElement)("textarea",t({ref:e,value:n,onChange:l,placeholder:s,required:p,className:u(i.A.input,v,o({},i.A.error,d)),rows:m},h))})}();