(window.webpackJsonp_generatepress=window.webpackJsonp_generatepress||[]).push([[4],{32:function(e,t,r){},45:function(e,t,r){},46:function(e,t,r){},47:function(e,t,r){},48:function(e,t,r){},57:function(e,t,r){},60:function(e,t,r){},61:function(e,t,r){},62:function(e,t,r){},65:function(e,t,r){}}]),function(e){functiont(t){for(vara,o,s=t[0],l=t[1],c=t[2],g=0,d=[];g<s.length;g++)o=s[g],Object.prototype.hasOwnProperty.call(n,o)&&n[o]&&d.push(n[o][0]),n[o]=0;for(ainl)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a]);for(u&&u(t);d.length;)d.shift()();returni.push.apply(i,c||[]),r()}functionr(){for(vare,t=0;t<i.length;t++){for(varr=i[t],a=!0,s=1;s<r.length;s++){varl=r[s];0!==n[l]&&(a=!1)}a&&(i.splice(t--,1),e=o(o.s=r[0]))}returne}vara={},n={1:0},i=[];functiono(t){if(a[t])returna[t].exports;varr=a[t]={i:t,l:!1,exports:{}};returne[t].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.m=e,o.c=a,o.d=function(e,t,r){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},o.r=function(e){"undefined"!=typeofSymbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)returne;if(4&t&&"object"==typeofe&&e&&e.__esModule)returne;varr=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeofe)for(varaine)o.d(r,a,function(t){returne[t]}.bind(null,a));returnr},o.n=function(e){vart=e&&e.__esModule?function(){returne.default}:function(){returne};returno.d(t,"a",t),t},o.o=function(e,t){returnObject.prototype.hasOwnProperty.call(e,t)},o.p="";vars=window.webpackJsonp_generatepress=window.webpackJsonp_generatepress||[],l=s.push.bind(s);s.push=t,s=s.slice();for(varc=0;c<s.length;c++)t(s[c]);varu=l;i.push([70,4]),r()}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.React},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.wp.components},function(e,t,r){"use strict";(function(e){functiona(t,r,...a){if(void0!==e&&void0===r)thrownewError("invariant requires an error message argument");if(!t){lete;if(void0===r)e=newError("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{lett=0;e=newError(r.replace(/%s/g,(function(){returna[t++]}))),e.name="Invariant Violation"}throwe.framesToPop=1,e}}r.d(t,"a",(function(){returna}))}).call(this,r(63))},function(e,t,r){vara=r(18),n=r(19),i=r(14),o=r(20);e.exports=function(e,t){returna(e)||n(e,t)||i(e,t)||o()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){vara=r(22),n=r(23),i=r(14),o=r(24);e.exports=function(e){returna(e)||n(e)||i(e)||o()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t,r){returntine?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){"use strict";functiona(e,t,r){returntine?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,"a",(function(){returna}))},function(e,t){e.exports=window.wp.hooks},function(e,t){functionr(){returne.exports=r=Object.assign||function(e){for(vart=1;t<arguments.length;t++){varr=arguments[t];for(varainr)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}returne},e.exports.default=e.exports,e.exports.__esModule=!0,r.apply(this,arguments)}e.exports=r,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(varr=0,a=newArray(t);r<t;r++)a[r]=e[r];returna},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){functionr(t){return"function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?(e.exports=r=function(e){returntypeofe},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=r=function(e){returne&&"function"==typeofSymbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeofe},e.exports.de
/* translators: Unit type (px, em, %) */,{text:Object(c.sprintf)(Object(c.__)("%s Preview","generatepress"),t),key:e},Object(o.createElement)(s.Button,{key:e,className:"components-generate-control-button__units--"+e,isSmall:!0
/* translators: %s: values associated with CSS syntax, 'Pixel', 'Em', 'Percentage' */,"aria-label":t,onClick:function(){wp.customize.previewedDevice.set(e),a(e)}},we(e)))})))))}),Mn=r(34),In=r.n(Mn),kn=r(35),Pn=r.n(kn),Rn=r(36),An=r.n(Rn),Ln=r(37),Fn=r.n(Ln),Bn=r(28),Hn=r.n(Bn);r(60);varVn=function(e){An()(n,e);vart,r,a=(t=n,r=function(){if("undefined"==typeofReflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeofProxy)return!0;try{returnBoolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){vare,a=Hn()(t);if(r){varn=Hn()(this).constructor;e=Reflect.construct(a,arguments,n)}elsee=a.apply(this,arguments);returnFn()(this,e)});functionn(){returnIn()(this,n),a.apply(this,arguments)}returnPn()(n,[{key:"render",value:function(){vare=this.props,t=e.label,r=e.value,a=e.onChange,n=e.rangeMin,i=void0===n?0:n,l=e.rangeMax,c=void0===l?100:l,u=e.inputMin,g=void0===u?"":u,d=e.inputMax,f=void0===d?"":d,p=e.step,v=void0===p?1:p,h=e.help,y=void0===h?"":h,m=e.beforeIcon,b=void0===m?"":m,O=e.initialPosition,S=void0===O?"":O,w=e.placeholder,C=void0===w?"":w;returnObject(o.createElement)("div",{className:"components-generate-range-control"},t&&Object(o.createElement)("div",{className:"components-generate-range-control--label"},t),Object(o.createElement)("div",{className:"components-generate-range-control--wrapper"},Object(o.createElement)("div",{className:"components-generate-range-control--range"},Object(o.createElement)(s.RangeControl,{className:"generate-range-control-range",beforeIcon:b,value:dn(r)?parseFloat(r):"",onChange:function(e){returna(e)},min:i,max:c,step:v,withInputField:!1,initialPosition:S})),Object(o.createElement)("div",{className:"components-generate-range-control-input"},Object(o.createElement)(s.TextControl,{type:"number",placeholder:""!==C?C:"",min:g,max:f,step:v,value:dn(r)?r:"",onChange:function(e){returna(e)}}))),y&&Object(o.createElement)("p",{className:"components-base-control__help"},y))}}]),n}(o.Component),zn=(r(61),function(e){vart=e.value,r=e.onClick,a=e.units;returnObject(o.createElement)("div",{className:"components-generate--control__units"},Object(o.createElement)(s.Dropdown,{className:"generate-component-control--unit-picker",contentClassName:"generate-component-control--unit-picker-area",position:"bottom left",focusOnMount:"container",renderToggle:function(e){varr=e.isOpen,a=e.onToggle;returnObject(o.createElement)(s.Button,{onClick:a,"aria-expanded":r},t||we("dash"))},renderContent:function(e){varn=e.onClose;returnObject(o.createElement)(s.ButtonGroup,{className:"components-generate--control-buttons__units","aria-label":Object(c.__)("Select Units","generatepress")},a.map((function(e){vara=e,i=e||we("dash");return""===e&&(a=Object(c.__)("No Unit","generatepress")),"px"===e&&(a=Object(c._x)("Pixel","A size unit for CSS markup","generatepress")),"em"===e&&(a=Object(c._x)("Em","A size unit for CSS markup","generatepress")),"%"===e&&(a=Object(c._x)("Percentage","A size unit for CSS markup","generatepress")),"deg"===e&&(a=Object(c._x)("Degree","A size unit for CSS markup","generatepress")),Object(o.createElement)(s.Tooltip
/* translators: Unit type (px, em, %) */,{text:e?Object(c.sprintf)(Object(c.__)("%s Units","generatepress"),a):a,key:e},Object(o.createElement)(s.Button,{key:e,className:"components-generate--control-button__units--"+e,isSmall:!0,isPrimary:t===e,"aria-pressed":t===e