text: !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("prop-types"),require("netlify-cms-ui-default")):"function"==typeof define&&define.amd?define("NetlifyCmsWidgetString",["react","prop-types","netlify-cms-ui-default"],t):"object"==typeof exports?exports.NetlifyCmsWidgetString=t(require("react"),require("prop-types"),require("netlify-cms-ui-default")):e.NetlifyCmsWidgetString=t(e.React,e.NetlifyCmsDefaultExports.PropTypes,e.NetlifyCmsUiDefault)}(window,(function(e,t,r){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)r.d(n,a,function(t){return e[t]}.bind(null,a));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=4)}([function(t,r){t.exports=e},function(e,r){e.exports=t},function(e,t){e.exports=r},function(e,t){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}},function(e,t,r){"use strict";r.r(t),r.d(t,"NetlifyCmsWidgetString",(function(){return H}));var n=r(0),a=r.n(n),i=r(1),c=r.n(i);var s=function(){function e(e){this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.before=null}var t=e.prototype;return t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t,r=function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t}(this);t=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(r,t),this.tags.push(r)}var n=this.tags[this.tags.length-1];if(this.isSpeedy){var a=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(n);try{var i=105===e.charCodeAt(1)&&64===e.charCodeAt(0);a.insertRule(e,i?0:a.cssRules.length)}catch(e){0}}else n.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}();var o=function(e){function t(e,t,n){var a=t.trim().split(h);t=a;var i=a.length,c=e.length;switch(c){case 0:case 1:var s=0;for(e=0===c?"":e[0]+" ";s<i;++s)t[s]=r(e,t[s],n).trim();break;default:var o=s=0;for(t=[];s<i;++s)for(var l=0;l<c;++l)t[o++]=r(e[l]+" ",a[s],n).trim()}return t}function r(e,t,r){var n=t.charCodeAt(0);switch(33>n&&(n=(t=t.trim()).charCodeAt(0)),n){case 38:return t.replace(b,"$1"+e.trim());case 58:return e.trim()+t.replace(b,"$1"+e.trim());default:if(0<1*r&&0<t.indexOf("\f"))return t.replace(b,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function n(e,t,r,i){var c=e+";",s=2*t+3*r+4*i;if(944===s){e=c.indexOf(":",9)+1;var o=c.substring(e,c.length-1).trim();return o=c.substring(0,e).trim()+o+";",1===E||2===E&&a(o,1)?"-webkit-"+o+o:o}if(0===E||2===E&&!a(c,1))return c;switch(s){case 1015:return 97===c.charCodeAt(10)?"-webkit-"+c+c:c;case 951:return 116===c.charCodeAt(3)?"-webkit-"+c+c:c;case 963:return 110===c.charCodeAt(5)?"-webkit-"+c+c:c;case 1009:if(100!==c.charCodeAt(4))break;case 969:case 942:return"-webkit-"+c+c;case 978:return"-webkit-"+c+"-moz-"+c+c;case 1019:case 983:return"-webkit-"+c+"-moz-"+c+"-ms-"+c+c;case 883:if(45===c.charCodeAt(8))return"-webkit-"+c+c;if(0<c.indexOf("image-set(",11))return c.replace(O,"$1-webkit-$2")+c;break;case 932:if(45===c.charCodeAt(4))switch(c.charCodeAt(5)){case 103:return"-webkit-box-"+c.replace("-grow","")+"-webkit-"+c+"-ms-"+c.replace("grow","positive")+c;case 115:return"-webkit-"+c+"-ms-"+c.replace("shrink","negative")+c;case 98:return"-webkit-"+c+"-ms-"+c.replace("basis","preferred-size")+c}return"-webkit-"+c+"-ms-"+c+c;case 964:return"-webkit-"+c+"-ms-flex-"+c+c;case 1023:if(99!==c.charCodeAt(8))break;return"-webkit-box-pack"+(o=c.substring(c.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+c+"-ms-flex-pack"+o+c;case 1005:return d.test(c)?c.replace(f,":-webkit-")+c.replace(f,":-moz-")+c:c;case 1e3:switch(t=(o=c.substring(13).trim()).indexOf("-")+1,o.charCodeAt(0)+o.charCodeAt(t)){case 226:o=c.replace(y,"tb");break;case 232:o=c.replace(y,"tb-rl");break;case 220:o=c.replace(y,"lr");break;default:return c}return"-webkit-"+c+"-ms-"+o+c;case 1017:if(-1===c.indexOf("sticky",9))break;case 975:switch(t=(c=e).length-10,s=(o=(33===c.charCodeAt(t)?c.substring(0,t):c).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|o.charCodeAt(7))){case 203:if(111>o.charCodeAt(8))break;case 115:c=c.replace(o,"-webkit-"+o)+";"+c;break;case 207:case 102:c=c.replace(o,"-webkit-"+(102<s?"inline-":"")+"box")+";"+c.replace(o,"-webkit-"+o)+";"+c.replace(o,"-ms-"+o+"box")+";"+c}return c+";";case 938:if(45===c.charCodeAt(5))switch(c.charCodeAt(6)){case 105:return o=c.replace("-items",""),"-webkit-"+c+"-webkit-box-"+o+"-ms-flex-"+o+c;case 115:return"-webkit-"+c+"-ms-flex-item-"+c.replace(C,"")+c;default:return"-webkit-"+c+"-ms-flex-line-pack"+c.replace("align-content","").replace(C,"")+c}break;case 973:case 989:if(45!==c.charCodeAt(3)||122===c.charCodeAt(4))break;case 931:case 953:if(!0===x.test(e))return 115===(o=e.substring(e.indexOf(":")+1)).charCodeAt(0)?n(e.replace("stretch","fill-available"),t,r,i).replace(":fill-available",":stretch"):c.replace(o,"-webkit-"+o)+c.replace(o,"-moz-"+o.replace("fill-",""))+c;break;case 962:if(c="-webkit-"+c+(102===c.charCodeAt(5)?"-ms-"+c:"")+c,211===r+i&&105===c.charCodeAt(13)&&0<c.indexOf("transform",10))return c.substring(0,c.indexOf(";",27)+1).replace(p,"$1-webkit-$2")+c}return c}function a(e,t){var r=e.indexOf(1===t?":":"{"),n=e.substring(0,3!==t?r:10);return r=e.substring(r+1,e.length-1),R(2!==t?n:n.replace(A,"$1"),r,t)}function i(e,t){var r=n(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return r!==t+";"?r.replace(w," or ($1)").substring(4):"("+t+")"}function c(e,t,r,n,a,i,c,s,l,u){for(var f,d=0,p=t;d<$;++d)switch(f=P[d].call(o,e,p,r,n,a,i,c,s,l,u)){case void 0:case!1:case!0:case null:break;default:p=f}if(p!==t)return p}function s(e){return void 0!==(e=e.prefix)&&(R=null,e?"function"!=typeof e?E=1:(E=2,R=e):E=0),s}function o(e,r){var s=e;if(33>s.charCodeAt(0)&&(s=s.trim()),s=[s],0<$){var o=c(-1,r,s,s,S,j,0,0,0,0);void 0!==o&&"string"==typeof o&&(r=o)}var f=function e(r,s,o,f,d){for(var p,h,b,y,w,C=0,A=0,x=0,O=0,P=0,R=0,q=b=p=0,z=0,D=0,I=0,T=0,M=o.length,G=M-1,L="",F="",B="",H="";z<M;){if(h=o.charCodeAt(z),z===G&&0!==A+O+x+C&&(0!==A&&(h=47===A?10:47),O=x=C=0,M++,G++),0===A+O+x+C){if(z===G&&(0<D&&(L=L.replace(u,"")),0<L.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:L+=o.charAt(z)}h=59}switch(h){case 123:for(p=(L=L.trim()).charCodeAt(0),b=1,T=++z;z<M;){switch(h=o.charCodeAt(z)){case 123:b++;break;case 125:b--;break;case 47:switch(h=o.charCodeAt(z+1)){case 42:case 47:e:{for(q=z+1;q<G;++q)switch(o.charCodeAt(q)){case 47:if(42===h&&42===o.charCodeAt(q-1)&&z+2!==q){z=q+1;break e}break;case 10:if(47===h){z=q+1;break e}}z=q}}break;case 91:h++;case 40:h++;case 34:case 39:for(;z++<G&&o.charCodeAt(z)!==h;);}if(0===b)break;z++}switch(b=o.substring(T,z),0===p&&(p=(L=L.replace(l,"").trim()).charCodeAt(0)),p){case 64:switch(0<D&&(L=L.replace(u,"")),h=L.charCodeAt(1)){case 100:case 109:case 115:case 45:D=s;break;default:D=N}if(T=(b=e(s,D,b,h,d+1)).length,0<$&&(w=c(3,b,D=t(N,L,I),s,S,j,T,h,d,f),L=D.join(""),void 0!==w&&0===(T=(b=w.trim()).length)&&(h=0,b="")),0<T)switch(h){case 115:L=L.replace(k,i);case 100:case 109:case 45:b=L+"{"+b+"}";break;case 107:b=(L=L.replace(v,"$1 $2"))+"{"+b+"}",b=1===E||2===E&&a("@"+b,3)?"@-webkit-"+b+"@"+b:"@"+b;break;default:b=L+b,112===f&&(F+=b,b="")}else b="";break;default:b=e(s,t(s,L,I),b,f,d+1)}B+=b,b=I=D=q=p=0,L="",h=o.charCodeAt(++z);break;case 125:case 59:if(1<(T=(L=(0<D?L.replace(u,""):L).trim()).length))switch(0===q&&(p=L.charCodeAt(0),45===p||96<p&&123>p)&&(T=(L=L.replace(" ",":")).length),0<$&&void 0!==(w=c(1,L,s,r,S,j,F.length,f,d,f))&&0===(T=(L=w.trim()).length)&&(L="\0\0"),p=L.charCodeAt(0),h=L.charCodeAt(1),p){case 0:break;case 64:if(105===h||99===h){H+=L+o.charAt(z);break}default:58!==L.charCodeAt(T-1)&&(F+=n(L,p,h,L.charCodeAt(2)))}I=D=q=p=0,L="",h=o.charCodeAt(++z)}}switch(h){case 13:case 10:47===A?A=0:0===1+p&&107!==f&&0<L.length&&(D=1,L+="\0"),0<$*W&&c(0,L,s,r,S,j,F.length,f,d,f),j=1,S++;break;case 59:case 125:if(0===A+O+x+C){j++;break}default:switch(j++,y=o.charAt(z),h){case 9:case 32:if(0===O+C+A)switch(P){case 44:case 58:case 9:case 32:y="";break;default:32!==h&&(y=" ")}break;case 0:y="\\0";break;case 12:y="\\f";break;case 11:y="\\v";break;case 38:0===O+A+C&&(D=I=1,y="\f"+y);break;case 108:if(0===O+A+C+_&&0<q)switch(z-q){case 2:112===P&&58===o.charCodeAt(z-3)&&(_=P);case 8:111===R&&(_=R)}break;case 58:0===O+A+C&&(q=z);break;case 44:0===A+x+O+C&&(D=1,y+="\r");break;case 34:case 39:0===A&&(O=O===h?0:0===O?h:O);break;case 91:0===O+A+x&&C++;break;case 93:0===O+A+x&&C--;break;case 41:0===O+A+C&&x--;break;case 40:if(0===O+A+C){if(0===p)switch(2*P+3*R){case 533:break;default:p=1}x++}break;case 64:0===A+x+O+C+q+b&&(b=1);break;case 42:case 47:if(!(0<O+C+x))switch(A){case 0:switch(2*h+3*o.charCodeAt(z+1)){case 235:A=47;break;case 220:T=z,A=42}break;case 42:47===h&&42===P&&T+2!==z&&(33===o.charCodeAt(T+2)&&(F+=o.substring(T,z+1)),y="",A=0)}}0===A&&(L+=y)}R=P,P=h,z++}if(0<(T=F.length)){if(D=s,0<$&&(void 0!==(w=c(2,F,D,r,S,j,T,f,d,f))&&0===(F=w).length))return H+F+B;if(F=D.join(",")+"{"+F+"}",0!=E*_){switch(2!==E||a(F,2)||(_=0),_){case 111:F=F.replace(g,":-moz-$1")+F;break;case 112:F=F.replace(m,"::-webkit-input-$1")+F.replace(m,"::-moz-$1")+F.replace(m,":-ms-input-$1")+F}_=0}}return H+F+B}(N,s,r,0,0);return 0<$&&(void 0!==(o=c(-2,f,s,s,S,j,f.length,0,0,0))&&(f=o)),"",_=0,j=S=1,f}var l=/^\0+/g,u=/[\0\r\f]/g,f=/: */g,d=/zoo|gra/,p=/([,: ])(transform)/g,h=/,\r+?/g,b=/([\t\r\n ])*\f?&/g,v=/@(k\w+)\s*(\S*)\s*/,m=/::(place)/g,g=/:(read-only)/g,y=/[svh]\w+-[tblr]{2}/,k=/\(\s*(.*)\s*\)/g,w=/([\s\S]*?);/g,C=/-self|flex-/g,A=/[^]*?(:[rp][el]a[\w-]+)[^]*/,x=/stretch|:\s*\w+\-(?:conte|avail)/,O=/([^-])(image-set\()/,j=1,S=1,_=0,E=1,N=[],P=[],$=0,R=null,W=0;return o.use=function e(t){switch(t){case void 0:case null:$=P.length=0;break;default:if("function"==typeof t)P[$++]=t;else if("object"==typeof t)for(var r=0,n=t.length;r<n;++r)e(t[r]);else W=0|!!t}return e},o.set=s,void 0!==e&&s(e),o};function l(e){e&&u.current.insert(e+"}")}var u={current:null},f=function(e,t,r,n,a,i,c,s,o,f){switch(e){case 1:switch(t.charCodeAt(0)){case 64:return u.current.insert(t+";"),"";case 108:if(98===t.charCodeAt(2))return""}break;case 2:if(0===s)return t+"/*|*/";break;case 3:switch(s){case 102:case 112:return u.current.insert(r[0]+t),"";default:return t+(0===f?"/*|*/":"")}case-2:t.split("/*|*/}").forEach(l)}},d=function(e){void 0===e&&(e={});var t,r=e.key||"css";void 0!==e.prefix&&(t={prefix:e.prefix});var n=new o(t);var a,i={};a=e.container||document.head;var c,l=document.querySelectorAll("style[data-emotion-"+r+"]");Array.prototype.forEach.call(l,(function(e){e.getAttribute("data-emotion-"+r).split(" ").forEach((function(e){i[e]=!0})),e.parentNode!==a&&a.appendChild(e)})),n.use(e.stylisPlugins)(f),c=function(e,t,r,a){var i=t.name;u.current=r,n(e,t.styles),a&&(d.inserted[i]=!0)};var d={key:r,sheet:new s({key:r,container:a,nonce:e.nonce,speedy:e.speedy}),nonce:e.nonce,inserted:i,registered:{},insert:c};return d};r(3);function p(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]):n+=r+" "})),n}var h=function(e,t,r){var n=e.key+"-"+t.name;if(!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles),void 0===e.inserted[t.name]){var a=t;do{e.insert("."+n,a,e.sheet,!0);a=a.next}while(void 0!==a)}};var b=function(e){for(var t,r=0,n=0,a=e.length;a>=4;++n,a-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(a){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)},v={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var m=/[A-Z]|^ms/g,g=/_EMO_([^_]+?)_([^]*?)_EMO_/g,y=function(e){return 45===e.charCodeAt(1)},k=function(e){return null!=e&&"boolean"!=typeof e},w=function(e){var t={};return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}((function(e){return y(e)?e:e.replace(m,"-$&").toLowerCase()})),C=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(g,(function(e,t,r){return x={name:t,styles:r,next:x},t}))}return 1===v[e]||y(e)||"number"!=typeof t||0===t?t:t+"px"};function A(e,t,r,n){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return x={name:r.name,styles:r.styles,next:x},r.name;if(void 0!==r.styles){var a=r.next;if(void 0!==a)for(;void 0!==a;)x={name:a.name,styles:a.styles,next:x},a=a.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var a=0;a<r.length;a++)n+=A(e,t,r[a],!1);else for(var i in r){var c=r[i];if("object"!=typeof c)null!=t&&void 0!==t[c]?n+=i+"{"+t[c]+"}":k(c)&&(n+=w(i)+":"+C(i,c)+";");else if(!Array.isArray(c)||"string"!=typeof c[0]||null!=t&&void 0!==t[c[0]]){var s=A(e,t,c,!1);switch(i){case"animation":case"animationName":n+=w(i)+":"+s+";";break;default:n+=i+"{"+s+"}"}}else for(var o=0;o<c.length;o++)k(c[o])&&(n+=w(i)+":"+C(i,c[o])+";")}return n}(e,t,r);case"function":if(void 0!==e){var i=x,c=r(e);return x=i,A(e,t,c,n)}break;case"string":}if(null==t)return r;var s=t[r];return void 0===s||n?r:s}var x,O=/label:\s*([^\s;\n{]+)\s*;/g;var j=function(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,a="";x=void 0;var i=e[0];null==i||void 0===i.raw?(n=!1,a+=A(r,t,i,!1)):a+=i[0];for(var c=1;c<e.length;c++)a+=A(r,t,e[c],46===a.charCodeAt(a.length-1)),n&&(a+=i[c]);O.lastIndex=0;for(var s,o="";null!==(s=O.exec(a));)o+="-"+s[1];return{name:b(a)+o,styles:a,next:x}},S=Object.prototype.hasOwnProperty,_=Object(n.createContext)("undefined"!=typeof HTMLElement?d():null),E=Object(n.createContext)({}),N=(_.Provider,function(e){var t=function(t,r){return Object(n.createElement)(_.Consumer,null,(function(n){return e(t,n,r)}))};return Object(n.forwardRef)(t)}),P="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",$=function(e,t){var r={};for(var n in t)S.call(t,n)&&(r[n]=t[n]);return r[P]=e,r},R=function(e,t,r,a){var i=null===r?t.css:t.css(r);"string"==typeof i&&void 0!==e.registered[i]&&(i=e.registered[i]);var c=t[P],s=[i],o="";"string"==typeof t.className?o=p(e.registered,s,t.className):null!=t.className&&(o=t.className+" ");var l=j(s);h(e,l,"string"==typeof c);o+=e.key+"-"+l.name;var u={};for(var f in t)S.call(t,f)&&"css"!==f&&f!==P&&(u[f]=t[f]);return u.ref=a,u.className=o,Object(n.createElement)(c,u)},W=N((function(e,t,r){return"function"==typeof e.css?Object(n.createElement)(E.Consumer,null,(function(n){return R(t,e,n,r)})):R(t,e,null,r)}));var q=function(e,t){var r=arguments;if(null==t||!S.call(t,"css"))return n.createElement.apply(void 0,r);var a=r.length,i=new Array(a);i[0]=W,i[1]=$(e,t);for(var c=2;c<a;c++)i[c]=r[c];return n.createElement.apply(null,i)},z=(n.Component,function e(t){for(var r=t.length,n=0,a="";n<r;n++){var i=t[n];if(null!=i){var c=void 0;switch(typeof i){case"boolean":break;case"object":if(Array.isArray(i))c=e(i);else for(var s in c="",i)i[s]&&s&&(c&&(c+=" "),c+=s);break;default:c=i}c&&(a&&(a+=" "),a+=c)}}return a});function D(e,t,r){var n=[],a=p(e,n,r);return n.length<2?r:a+t(n)}N((function(e,t){return Object(n.createElement)(E.Consumer,null,(function(r){var n=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var a=j(r,t.registered);return h(t,a,!1),t.key+"-"+a.name},a={css:n,cx:function(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];return D(t.registered,n,z(r))},theme:r},i=e.children(a);return!0,i}))}));function I(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class T extends a.a.Component{render(){const{forID:e,value:t,onChange:r,classNameWrapper:n,setActiveStyle:a,setInactiveStyle:i}=this.props;return q("input",{type:"text",id:e,className:n,value:t||"",onChange:e=>r(e.target.value),onFocus:a,onBlur:i})}}I(T,"propTypes",{onChange:c.a.func.isRequired,forID:c.a.string,value:c.a.node,classNameWrapper:c.a.string.isRequired,setActiveStyle:c.a.func.isRequired,setInactiveStyle:c.a.func.isRequired}),I(T,"defaultProps",{value:""});var M=r(2);const G=({value:e})=>q(M.WidgetPreviewContainer,null,e);G.propTypes={value:c.a.node};var L=G;function F(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function B(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const H={Widget:(e={})=>function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?F(Object(r),!0).forEach((function(t){B(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):F(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({name:"string",controlComponent:T,previewComponent:L},e),controlComponent:T,previewComponent:L};t.default=H}]).NetlifyCmsWidgetString}));
  //# sourceMappingURL=netlify-cms-widget-string.js.map