[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@3.147.193.205: ~ $
(()=>{var e,t={7023:(e,t,a)=>{"use strict";var o=a(1609),n=a.n(o),i=a(2485),r=a.n(i);const l=window.kadence.icons,s=window.lodash,d=window.kadence.components;var c=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function u(e,t){if(e.length!==t.length)return!1;for(var a=0;a<e.length;a++)if(!((o=e[a])===(n=t[a])||c(o)&&c(n)))return!1;var o,n;return!0}const p=function(e,t){var a;void 0===t&&(t=u);var o,n=[],i=!1;return function(){for(var r=[],l=0;l<arguments.length;l++)r[l]=arguments[l];return i&&a===this&&t(r,n)||(o=e.apply(this,r),i=!0,a=this,n=r),o}},b={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,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},m=function(e){function t(e,o,s,d,p){for(var b,m,h,g,y,E=0,w=0,x=0,C=0,S=0,P=0,M=h=b=0,L=0,D=0,z=0,R=0,I=s.length,B=I-1,q="",W="",V="",G="";L<I;){if(m=s.charCodeAt(L),L===B&&0!==w+C+x+E&&(0!==w&&(m=47===w?10:47),C=x=E=0,I++,B++),0===w+C+x+E){if(L===B&&(0<D&&(q=q.replace(u,"")),0<q.trim().length)){switch(m){case 32:case 9:case 59:case 13:case 10:break;default:q+=s.charAt(L)}m=59}switch(m){case 123:for(b=(q=q.trim()).charCodeAt(0),h=1,R=++L;L<I;){switch(m=s.charCodeAt(L)){case 123:h++;break;case 125:h--;break;case 47:switch(m=s.charCodeAt(L+1)){case 42:case 47:e:{for(M=L+1;M<B;++M)switch(s.charCodeAt(M)){case 47:if(42===m&&42===s.charCodeAt(M-1)&&L+2!==M){L=M+1;break e}break;case 10:if(47===m){L=M+1;break e}}L=M}}break;case 91:m++;case 40:m++;case 34:case 39:for(;L++<B&&s.charCodeAt(L)!==m;);}if(0===h)break;L++}if(h=s.substring(R,L),0===b&&(b=(q=q.replace(c,"").trim()).charCodeAt(0)),64===b){switch(0<D&&(q=q.replace(u,"")),m=q.charCodeAt(1)){case 100:case 109:case 115:case 45:D=o;break;default:D=N}if(R=(h=t(o,D,h,m,p+1)).length,0<$&&(y=l(3,h,D=a(N,q,z),o,A,O,R,m,p,d),q=D.join(""),void 0!==y&&0===(R=(h=y.trim()).length)&&(m=0,h="")),0<R)switch(m){case 115:q=q.replace(_,r);case 100:case 109:case 45:h=q+"{"+h+"}";break;case 107:h=(q=q.replace(v,"$1 $2"))+"{"+h+"}",h=1===T||2===T&&i("@"+h,3)?"@-webkit-"+h+"@"+h:"@"+h;break;default:h=q+h,112===d&&(W+=h,h="")}else h=""}else h=t(o,a(o,q,z),h,d,p+1);V+=h,h=z=D=M=b=0,q="",m=s.charCodeAt(++L);break;case 125:case 59:if(1<(R=(q=(0<D?q.replace(u,""):q).trim()).length))switch(0===M&&(b=q.charCodeAt(0),45===b||96<b&&123>b)&&(R=(q=q.replace(" ",":")).length),0<$&&void 0!==(y=l(1,q,o,e,A,O,W.length,d,p,d))&&0===(R=(q=y.trim()).length)&&(q="\0\0"),b=q.charCodeAt(0),m=q.charCodeAt(1),b){case 0:break;case 64:if(105===m||99===m){G+=q+s.charAt(L);break}default:58!==q.charCodeAt(R-1)&&(W+=n(q,b,m,q.charCodeAt(2)))}z=D=M=b=0,q="",m=s.charCodeAt(++L)}}switch(m){case 13:case 10:47===w?w=0:0===1+b&&107!==d&&0<q.length&&(D=1,q+="\0"),0<$*H&&l(0,q,o,e,A,O,W.length,d,p,d),O=1,A++;break;case 59:case 125:if(0===w+C+x+E){O++;break}default:switch(O++,g=s.charAt(L),m){case 9:case 32:if(0===C+E+w)switch(S){case 44:case 58:case 9:case 32:g="";break;default:32!==m&&(g=" ")}break;case 0:g="\\0";break;case 12:g="\\f";break;case 11:g="\\v";break;case 38:0===C+w+E&&(D=z=1,g="\f"+g);break;case 108:if(0===C+w+E+F&&0<M)switch(L-M){case 2:112===S&&58===s.charCodeAt(L-3)&&(F=S);case 8:111===P&&(F=P)}break;case 58:0===C+w+E&&(M=L);break;case 44:0===w+x+C+E&&(D=1,g+="\r");break;case 34:case 39:0===w&&(C=C===m?0:0===C?m:C);break;case 91:0===C+w+x&&E++;break;case 93:0===C+w+x&&E--;break;case 41:0===C+w+E&&x--;break;case 40:0===C+w+E&&(0===b&&(2*S+3*P==533||(b=1)),x++);break;case 64:0===w+x+C+E+M+h&&(h=1);break;case 42:case 47:if(!(0<C+E+x))switch(w){case 0:switch(2*m+3*s.charCodeAt(L+1)){case 235:w=47;break;case 220:R=L,w=42}break;case 42:47===m&&42===S&&R+2!==L&&(33===s.charCodeAt(R+2)&&(W+=s.substring(R,L+1)),g="",w=0)}}0===w&&(q+=g)}P=S,S=m,L++}if(0<(R=W.length)){if(D=o,0<$&&void 0!==(y=l(2,W,D,e,A,O,R,d,p,d))&&0===(W=y).length)return G+W+V;if(W=D.join(",")+"{"+W+"}",0!=T*F){switch(2!==T||i(W,2)||(F=0),F){case 111:W=W.replace(k,":-moz-$1")+W;break;case 112:W=W.replace(f,"::-webkit-input-$1")+W.replace(f,"::-moz-$1")+W.replace(f,":-ms-input-$1")+W}F=0}}return G+W+V}function a(e,t,a){var n=t.trim().split(h);t=n;var i=n.length,r=e.length;switch(r){case 0:case 1:var l=0;for(e=0===r?"":e[0]+" ";l<i;++l)t[l]=o(e,t[l],a).trim();break;default:var s=l=0;for(t=[];l<i;++l)for(var d=0;d<r;++d)t[s++]=o(e[d]+" ",n[l],a).trim()}return t}function o(e,t,a){var o=t.charCodeAt(0);switch(33>o&&(o=(t=t.trim()).charCodeAt(0)),o){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*a&&0<t.indexOf("\f"))return t.replace(g,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function n(e,t,a,o){var r=e+";",l=2*t+3*a+4*o;if(944===l){e=r.indexOf(":",9)+1;var s=r.substring(e,r.length-1).trim();return s=r.substring(0,e).trim()+s+";",1===T||2===T&&i(s,1)?"-webkit-"+s+s:s}if(0===T||2===T&&!i(r,1))return r;switch(l){case 1015:return 97===r.charCodeAt(10)?"-webkit-"+r+r:r;case 951:return 116===r.charCodeAt(3)?"-webkit-"+r+r:r;case 963:return 110===r.charCodeAt(5)?"-webkit-"+r+r:r;case 1009:if(100!==r.charCodeAt(4))break;case 969:case 942:return"-webkit-"+r+r;case 978:return"-webkit-"+r+"-moz-"+r+r;case 1019:case 983:return"-webkit-"+r+"-moz-"+r+"-ms-"+r+r;case 883:if(45===r.charCodeAt(8))return"-webkit-"+r+r;if(0<r.indexOf("image-set(",11))return r.replace(S,"$1-webkit-$2")+r;break;case 932:if(45===r.charCodeAt(4))switch(r.charCodeAt(5)){case 103:return"-webkit-box-"+r.replace("-grow","")+"-webkit-"+r+"-ms-"+r.replace("grow","positive")+r;case 115:return"-webkit-"+r+"-ms-"+r.replace("shrink","negative")+r;case 98:return"-webkit-"+r+"-ms-"+r.replace("basis","preferred-size")+r}return"-webkit-"+r+"-ms-"+r+r;case 964:return"-webkit-"+r+"-ms-flex-"+r+r;case 1023:if(99!==r.charCodeAt(8))break;return"-webkit-box-pack"+(s=r.substring(r.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+r+"-ms-flex-pack"+s+r;case 1005:return b.test(r)?r.replace(p,":-webkit-")+r.replace(p,":-moz-")+r:r;case 1e3:switch(t=(s=r.substring(13).trim()).indexOf("-")+1,s.charCodeAt(0)+s.charCodeAt(t)){case 226:s=r.replace(y,"tb");break;case 232:s=r.replace(y,"tb-rl");break;case 220:s=r.replace(y,"lr");break;default:return r}return"-webkit-"+r+"-ms-"+s+r;case 1017:if(-1===r.indexOf("sticky",9))break;case 975:switch(t=(r=e).length-10,l=(s=(33===r.charCodeAt(t)?r.substring(0,t):r).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|s.charCodeAt(7))){case 203:if(111>s.charCodeAt(8))break;case 115:r=r.replace(s,"-webkit-"+s)+";"+r;break;case 207:case 102:r=r.replace(s,"-webkit-"+(102<l?"inline-":"")+"box")+";"+r.replace(s,"-webkit-"+s)+";"+r.replace(s,"-ms-"+s+"box")+";"+r}return r+";";case 938:if(45===r.charCodeAt(5))switch(r.charCodeAt(6)){case 105:return s=r.replace("-items",""),"-webkit-"+r+"-webkit-box-"+s+"-ms-flex-"+s+r;case 115:return"-webkit-"+r+"-ms-flex-item-"+r.replace(w,"")+r;default:return"-webkit-"+r+"-ms-flex-line-pack"+r.replace("align-content","").replace(w,"")+r}break;case 973:case 989:if(45!==r.charCodeAt(3)||122===r.charCodeAt(4))break;case 931:case 953:if(!0===C.test(e))return 115===(s=e.substring(e.indexOf(":")+1)).charCodeAt(0)?n(e.replace("stretch","fill-available"),t,a,o).replace(":fill-available",":stretch"):r.replace(s,"-webkit-"+s)+r.replace(s,"-moz-"+s.replace("fill-",""))+r;break;case 962:if(r="-webkit-"+r+(102===r.charCodeAt(5)?"-ms-"+r:"")+r,211===a+o&&105===r.charCodeAt(13)&&0<r.indexOf("transform",10))return r.substring(0,r.indexOf(";",27)+1).replace(m,"$1-webkit-$2")+r}return r}function i(e,t){var a=e.indexOf(1===t?":":"{"),o=e.substring(0,3!==t?a:10);return a=e.substring(a+1,e.length-1),M(2!==t?o:o.replace(x,"$1"),a,t)}function r(e,t){var a=n(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return a!==t+";"?a.replace(E," or ($1)").substring(4):"("+t+")"}function l(e,t,a,o,n,i,r,l,s,c){for(var u,p=0,b=t;p<$;++p)switch(u=P[p].call(d,e,b,a,o,n,i,r,l,s,c)){case void 0:case!1:case!0:case null:break;default:b=u}if(b!==t)return b}function s(e){return void 0!==(e=e.prefix)&&(M=null,e?"function"!=typeof e?T=1:(T=2,M=e):T=0),s}function d(e,a){var o=e;if(33>o.charCodeAt(0)&&(o=o.trim()),o=[o],0<$){var n=l(-1,a,o,o,A,O,0,0,0,0);void 0!==n&&"string"==typeof n&&(a=n)}var i=t(N,o,a,0,0);return 0<$&&void 0!==(n=l(-2,i,o,o,A,O,i.length,0,0,0))&&(i=n),F=0,O=A=1,i}var c=/^\0+/g,u=/[\0\r\f]/g,p=/: */g,b=/zoo|gra/,m=/([,: ])(transform)/g,h=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,v=/@(k\w+)\s*(\S*)\s*/,f=/::(place)/g,k=/:(read-only)/g,y=/[svh]\w+-[tblr]{2}/,_=/\(\s*(.*)\s*\)/g,E=/([\s\S]*?);/g,w=/-self|flex-/g,x=/[^]*?(:[rp][el]a[\w-]+)[^]*/,C=/stretch|:\s*\w+\-(?:conte|avail)/,S=/([^-])(image-set\()/,O=1,A=1,F=0,T=1,N=[],P=[],$=0,M=null,H=0;return d.use=function e(t){switch(t){case void 0:case null:$=P.length=0;break;default:switch(t.constructor){case Array:for(var a=0,o=t.length;a<o;++a)e(t[a]);break;case Function:P[$++]=t;break;case Boolean:H=0|!!t}}return e},d.set=s,void 0!==e&&s(e),d};var h,g,v=a(8226),f=a.n(v),k=/[A-Z]|^ms/g,y=(h=function(e){return e.replace(k,"-$&").toLowerCase()},g={},function(e){return void 0===g[e]&&(g[e]=h(e)),g[e]}),_=function(e,t){return null==t||"boolean"==typeof t?"":1===b[e]||45===e.charCodeAt(1)||isNaN(t)||0===t?t:t+"px"},E=function e(t){for(var a=t.length,o=0,n="";o<a;o++){var i=t[o];if(null!=i){var r=void 0;switch(typeof i){case"boolean":break;case"function":r=e([i()]);break;case"object":if(Array.isArray(i))r=e(i);else for(var l in r="",i)i[l]&&l&&(r&&(r+=" "),r+=l);break;default:r=i}r&&(n&&(n+=" "),n+=r)}}return n},w="undefined"!=typeof document;function x(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("")),(void 0!==e.container?e.container:document.head).appendChild(t),t}var C=function(){function e(e){this.isSpeedy=!0,this.tags=[],this.ctr=0,this.opts=e}var t=e.prototype;return t.inject=function(){if(this.injected)throw new Error("already injected!");this.tags[0]=x(this.opts),this.injected=!0},t.speedy=function(e){if(0!==this.ctr)throw new Error("cannot change speedy now");this.isSpeedy=!!e},t.insert=function(e,t){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]}(this.tags[this.tags.length-1]);try{a.insertRule(e,a.cssRules.length)}catch(e){}}else{var o=x(this.opts);this.tags.push(o),o.appendChild(document.createTextNode(e+(t||"")))}this.ctr++,this.ctr%65e3==0&&this.tags.push(x(this.opts))},t.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0,this.injected=!1},e}();var S=function(e,t){if(void 0!==e.__SECRET_EMOTION__)return e.__SECRET_EMOTION__;void 0===t&&(t={});var a,o,n=t.key||"css",i=f()((function(e){a+=e,w&&l.insert(e,d)}));void 0!==t.prefix&&(o={prefix:t.prefix});var r={registered:{},inserted:{},nonce:t.nonce,key:n},l=new C(t);w&&l.inject();var s=new m(o);s.use(t.stylisPlugins)(i);var d="";function c(e,t){if(null==e)return"";switch(typeof e){case"boolean":return"";case"function":return void 0!==e.__emotion_styles?e.toString():c.call(this,void 0===this?e():e(this.mergedProps,this.context),t);case"object":return h.call(this,e);default:var a=r.registered[e];return!1===t&&void 0!==a?a:e}}var u,p,b=new WeakMap;function h(e){if(b.has(e))return b.get(e);var t="";return Array.isArray(e)?e.forEach((function(e){t+=c.call(this,e,!1)}),this):Object.keys(e).forEach((function(a){"object"!=typeof e[a]?void 0!==r.registered[e[a]]?t+=a+"{"+r.registered[e[a]]+"}":t+=y(a)+":"+_(a,e[a])+";":Array.isArray(e[a])&&"string"==typeof e[a][0]&&void 0===r.registered[e[a][0]]?e[a].forEach((function(e){t+=y(a)+":"+_(a,e)+";"})):t+=a+"{"+c.call(this,e[a],!1)+"}"}),this),b.set(e,t),t}var g=/label:\s*([^\s;\n{]+)\s*;/g,v=function(e){var t=!0,a="",o="";null==e||void 0===e.raw?(t=!1,a+=c.call(this,e,!1)):a+=e[0];for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];return i.forEach((function(o,n){a+=c.call(this,o,46===a.charCodeAt(a.length-1)),!0===t&&void 0!==e[n+1]&&(a+=e[n+1])}),this),p=a,a=a.replace(g,(function(e,t){return o+="-"+t,""})),u=function(e,t){return function(e){for(var t,a=e.length,o=0,n=0;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))+((1540483477*(t>>>16)&65535)<<16),o=1540483477*(65535&o)+((1540483477*(o>>>16)&65535)<<16)^(t=1540483477*(65535&(t^=t>>>24))+((1540483477*(t>>>16)&65535)<<16)),a-=4,++n;switch(a){case 3:o^=(255&e.charCodeAt(n+2))<<16;case 2:o^=(255&e.charCodeAt(n+1))<<8;case 1:o=1540483477*(65535&(o^=255&e.charCodeAt(n)))+((1540483477*(o>>>16)&65535)<<16)}return o=1540483477*(65535&(o^=o>>>13))+((1540483477*(o>>>16)&65535)<<16),((o^=o>>>15)>>>0).toString(36)}(e+t)+t}(a,o),a};function k(e,t){void 0===r.inserted[u]&&(a="",s(e,t),r.inserted[u]=a)}var x=function(){var e=v.apply(this,arguments),t=n+"-"+u;return void 0===r.registered[t]&&(r.registered[t]=p),k("."+t,e),t};function S(e,t){var a="";return t.split(" ").forEach((function(t){void 0!==r.registered[t]?e.push(t):a+=t+" "})),a}function O(e,t){var a=[],o=S(a,e);return a.length<2?e:o+x(a,t)}function A(e){r.inserted[e]=!0}if(w){var F=document.querySelectorAll("[data-emotion-"+n+"]");Array.prototype.forEach.call(F,(function(e){l.tags[0].parentNode.insertBefore(e,l.tags[0]),e.getAttribute("data-emotion-"+n).split(" ").forEach(A)}))}var T={flush:function(){w&&(l.flush(),l.inject()),r.inserted={},r.registered={}},hydrate:function(e){e.forEach(A)},cx:function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];return O(E(t))},merge:O,getRegisteredStyles:S,injectGlobal:function(){k("",v.apply(this,arguments))},keyframes:function(){var e=v.apply(this,arguments),t="animation-"+u;return k("","@keyframes "+t+"{"+e+"}"),t},css:x,sheet:l,caches:r};return e.__SECRET_EMOTION__=T,T}(void 0!==a.g?a.g:{}),O=(S.flush,S.hydrate,S.cx,S.merge,S.getRegisteredStyles,S.injectGlobal),A=(S.keyframes,S.css),F=(S.sheet,S.caches,a(5795)),T=a(5556),N=a.n(T),P=a(3146),$=a.n(P),M=a(8006),H=a(9790);function L(e){return L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},L(e)}function D(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function z(e,t){for(var a=0;a<t.length;a++){var o=t[a];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function R(e,t,a){return t&&z(e.prototype,t),a&&z(e,a),e}function I(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function B(){return B=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(e[o]=a[o])}return e},B.apply(this,arguments)}function q(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{},o=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(a).filter((function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable})))),o.forEach((function(t){I(e,t,a[t])}))}return e}function W(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&G(e,t)}function V(e){return V=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},V(e)}function G(e,t){return G=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},G(e,t)}function j(e,t){if(null==e)return{};var a,o,n=function(e,t){if(null==e)return{};var a,o,n={},i=Object.keys(e);for(o=0;o<i.length;o++)a=i[o],t.indexOf(a)>=0||(n[a]=e[a]);return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)a=i[o],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(n[a]=e[a])}return n}function U(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?U(e):t}function Y(e){return function(e){if(Array.isArray(e)){for(var t=0,a=new Array(e.length);t<e.length;t++)a[t]=e[t];return a}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var X=function(){};function Q(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function J(e,t,a,o){var n=[t,o];if(a&&e)for(var i in a)a.hasOwnProperty(i)&&a[i]&&n.push("".concat(Q(e,i)));return n.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var Z=function(e){return Array.isArray(e)?e.filter(Boolean):"object"===L(e)&&null!==e?[e]:[]};function ee(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function te(e){return ee(e)?window.pageYOffset:e.scrollTop}function ae(e,t){ee(e)?window.scrollTo(0,t):e.scrollTop=t}function oe(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:X,n=te(e),i=t-n,r=0;!function t(){var l,s=i*((l=(l=r+=10)/a-1)*l*l+1)+n;ae(e,s),r<a?$()(t):o(e)}()}function ne(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var ie=function(e){return"auto"===e?"bottom":e},re=function(e){function t(){var e,a;D(this,t);for(var o=arguments.length,n=new Array(o),i=0;i<o;i++)n[i]=arguments[i];return I(U(U(a=K(this,(e=V(t)).call.apply(e,[this].concat(n))))),"state",{maxHeight:a.props.maxMenuHeight,placement:null}),I(U(U(a)),"getPlacement",(function(e){var t=a.props,o=t.minMenuHeight,n=t.maxMenuHeight,i=t.menuPlacement,r=t.menuPosition,l=t.menuShouldScrollIntoView,s=t.theme,d=a.context.getPortalPlacement;if(e){var c="fixed"===r,u=function(e){var t=e.maxHeight,a=e.menuEl,o=e.minHeight,n=e.placement,i=e.shouldScroll,r=e.isFixedPosition,l=e.theme.spacing,s=function(e){var t=getComputedStyle(e),a="absolute"===t.position,o=/(auto|scroll)/,n=document.documentElement;if("fixed"===t.position)return n;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),(!a||"static"!==t.position)&&o.test(t.overflow+t.overflowY+t.overflowX))return i;return n}(a),d={placement:"bottom",maxHeight:t};if(!a||!a.offsetParent)return d;var c=s.getBoundingClientRect().height,u=a.getBoundingClientRect(),p=u.bottom,b=u.height,m=u.top,h=a.offsetParent.getBoundingClientRect().top,g=window.innerHeight,v=te(s),f=parseInt(getComputedStyle(a).marginBottom,10),k=parseInt(getComputedStyle(a).marginTop,10),y=h-k,_=g-m,E=y+v,w=c-v-m,x=p-g+v+f,C=v+m-k,S=160;switch(n){case"auto":case"bottom":if(_>=b)return{placement:"bottom",maxHeight:t};if(w>=b&&!r)return i&&oe(s,x,S),{placement:"bottom",maxHeight:t};if(!r&&w>=o||r&&_>=o)return i&&oe(s,x,S),{placement:"bottom",maxHeight:r?_-f:w-f};if("auto"===n||r){var O=t,A=r?y:E;return A>=o&&(O=Math.min(A-f-l.controlHeight,t)),{placement:"top",maxHeight:O}}if("bottom"===n)return ae(s,x),{placement:"bottom",maxHeight:t};break;case"top":if(y>=b)return{placement:"top",maxHeight:t};if(E>=b&&!r)return i&&oe(s,C,S),{placement:"top",maxHeight:t};if(!r&&E>=o||r&&y>=o){var F=t;return(!r&&E>=o||r&&y>=o)&&(F=r?y-k:E-k),i&&oe(s,C,S),{placement:"top",maxHeight:F}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(n,'".'))}return d}({maxHeight:n,menuEl:e,minHeight:o,placement:i,shouldScroll:l&&!c,isFixedPosition:c,theme:s});d&&d(u),a.setState(u)}})),I(U(U(a)),"getUpdatedProps",(function(){var e=a.props.menuPlacement,t=a.state.placement||ie(e);return q({},a.props,{placement:t,maxHeight:a.state.maxHeight})})),a}return W(t,e),R(t,[{key:"render",value:function(){return(0,this.props.children)({ref:this.getPlacement,placerProps:this.getUpdatedProps()})}}]),t}(o.Component);I(re,"contextTypes",{getPortalPlacement:N().func});var le=function(e){var t=e.theme,a=t.spacing.baseUnit;return{color:t.colors.neutral40,padding:"".concat(2*a,"px ").concat(3*a,"px"),textAlign:"center"}},se=le,de=le,ce=function(e){var t=e.children,a=e.className,o=e.cx,i=e.getStyles,r=e.innerProps;return n().createElement("div",B({className:o(A(i("noOptionsMessage",e)),{"menu-notice":!0,"menu-notice--no-options":!0},a)},r),t)};ce.defaultProps={children:"No options"};var ue=function(e){var t=e.children,a=e.className,o=e.cx,i=e.getStyles,r=e.innerProps;return n().createElement("div",B({className:o(A(i("loadingMessage",e)),{"menu-notice":!0,"menu-notice--loading":!0},a)},r),t)};ue.defaultProps={children:"Loading..."};var pe=function(e){function t(){var e,a;D(this,t);for(var o=arguments.length,n=new Array(o),i=0;i<o;i++)n[i]=arguments[i];return I(U(U(a=K(this,(e=V(t)).call.apply(e,[this].concat(n))))),"state",{placement:null}),I(U(U(a)),"getPortalPlacement",(function(e){var t=e.placement;t!==ie(a.props.menuPlacement)&&a.setState({placement:t})})),a}return W(t,e),R(t,[{key:"getChildContext",value:function(){return{getPortalPlacement:this.getPortalPlacement}}},{key:"render",value:function(){var e=this.props,t=e.appendTo,a=e.children,o=e.controlElement,i=e.menuPlacement,r=e.menuPosition,l=e.getStyles,s="fixed"===r;if(!t&&!s||!o)return null;var d=this.state.placement||ie(i),c=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(o),u=s?0:window.pageYOffset,p={offset:c[d]+u,position:r,rect:c},b=n().createElement("div",{className:A(l("menuPortal",p))},a);return t?(0,F.createPortal)(b,t):b}}]),t}(o.Component);I(pe,"childContextTypes",{getPortalPlacement:N().func});var be=Array.isArray,me=Object.keys,he=Object.prototype.hasOwnProperty;function ge(e,t){if(e===t)return!0;if(e&&t&&"object"==L(e)&&"object"==L(t)){var a,o,n,i=be(e),r=be(t);if(i&&r){if((o=e.length)!=t.length)return!1;for(a=o;0!=a--;)if(!ge(e[a],t[a]))return!1;return!0}if(i!=r)return!1;var l=e instanceof Date,s=t instanceof Date;if(l!=s)return!1;if(l&&s)return e.getTime()==t.getTime();var d=e instanceof RegExp,c=t instanceof RegExp;if(d!=c)return!1;if(d&&c)return e.toString()==t.toString();var u=me(e);if((o=u.length)!==me(t).length)return!1;for(a=o;0!=a--;)if(!he.call(t,u[a]))return!1;for(a=o;0!=a--;)if(!("_owner"===(n=u[a])&&e.$$typeof||ge(e[n],t[n])))return!1;return!0}return e!=e&&t!=t}function ve(e,t){try{return ge(e,t)}catch(e){if(e.message&&e.message.match(/stack|recursion/i))return console.warn("Warning: react-fast-compare does not handle circular references.",e.name,e.message),!1;throw e}}var fe=[{base:"A",letters:/[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F]/g},{base:"AA",letters:/[\uA732]/g},{base:"AE",letters:/[\u00C6\u01FC\u01E2]/g},{base:"AO",letters:/[\uA734]/g},{base:"AU",letters:/[\uA736]/g},{base:"AV",letters:/[\uA738\uA73A]/g},{base:"AY",letters:/[\uA73C]/g},{base:"B",letters:/[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181]/g},{base:"C",letters:/[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E]/g},{base:"D",letters:/[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779]/g},{base:"DZ",letters:/[\u01F1\u01C4]/g},{base:"Dz",letters:/[\u01F2\u01C5]/g},{base:"E",letters:/[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E]/g},{base:"F",letters:/[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B]/g},{base:"G",letters:/[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E]/g},{base:"H",letters:/[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D]/g},{base:"I",letters:/[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197]/g},{base:"J",letters:/[\u004A\u24BF\uFF2A\u0134\u0248]/g},{base:"K",letters:/[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2]/g},{base:"L",letters:/[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780]/g},{base:"LJ",letters:/[\u01C7]/g},{base:"Lj",letters:/[\u01C8]/g},{base:"M",letters:/[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C]/g},{base:"N",letters:/[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4]/g},{base:"NJ",letters:/[\u01CA]/g},{base:"Nj",letters:/[\u01CB]/g},{base:"O",letters:/[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C]/g},{base:"OI",letters:/[\u01A2]/g},{base:"OO",letters:/[\uA74E]/g},{base:"OU",letters:/[\u0222]/g},{base:"P",letters:/[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754]/g},{base:"Q",letters:/[\u0051\u24C6\uFF31\uA756\uA758\u024A]/g},{base:"R",letters:/[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782]/g},{base:"S",letters:/[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784]/g},{base:"T",letters:/[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786]/g},{base:"TZ",letters:/[\uA728]/g},{base:"U",letters:/[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244]/g},{base:"V",letters:/[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245]/g},{base:"VY",letters:/[\uA760]/g},{base:"W",letters:/[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72]/g},{base:"X",letters:/[\u0058\u24CD\uFF38\u1E8A\u1E8C]/g},{base:"Y",letters:/[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE]/g},{base:"Z",letters:/[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762]/g},{base:"a",letters:/[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250]/g},{base:"aa",letters:/[\uA733]/g},{base:"ae",letters:/[\u00E6\u01FD\u01E3]/g},{base:"ao",letters:/[\uA735]/g},{base:"au",letters:/[\uA737]/g},{base:"av",letters:/[\uA739\uA73B]/g},{base:"ay",letters:/[\uA73D]/g},{base:"b",letters:/[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253]/g},{base:"c",letters:/[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184]/g},{base:"d",letters:/[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A]/g},{base:"dz",letters:/[\u01F3\u01C6]/g},{base:"e",letters:/[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD]/g},{base:"f",letters:/[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C]/g},{base:"g",letters:/[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F]/g},{base:"h",letters:/[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265]/g},{base:"hv",letters:/[\u0195]/g},{base:"i",letters:/[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131]/g},{base:"j",letters:/[\u006A\u24D9\uFF4A\u0135\u01F0\u0249]/g},{base:"k",letters:/[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3]/g},{base:"l",letters:/[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747]/g},{base:"lj",letters:/[\u01C9]/g},{base:"m",letters:/[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F]/g},{base:"n",letters:/[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5]/g},{base:"nj",letters:/[\u01CC]/g},{base:"o",letters:/[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275]/g},{base:"oi",letters:/[\u01A3]/g},{base:"ou",letters:/[\u0223]/g},{base:"oo",letters:/[\uA74F]/g},{base:"p",letters:/[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755]/g},{base:"q",letters:/[\u0071\u24E0\uFF51\u024B\uA757\uA759]/g},{base:"r",letters:/[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783]/g},{base:"s",letters:/[\u0073\u24E2\uFF53\u00DF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B]/g},{base:"t",letters:/[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787]/g},{base:"tz",letters:/[\uA729]/g},{base:"u",letters:/[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289]/g},{base:"v",letters:/[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C]/g},{base:"vy",letters:/[\uA761]/g},{base:"w",letters:/[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73]/g},{base:"x",letters:/[\u0078\u24E7\uFF58\u1E8B\u1E8D]/g},{base:"y",letters:/[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF]/g},{base:"z",letters:/[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763]/g}],ke=function(e){for(var t=0;t<fe.length;t++)e=e.replace(fe[t].letters,fe[t].base);return e},ye=function(e){return e.replace(/^\s+|\s+$/g,"")},_e=function(e){return"".concat(e.label," ").concat(e.value)},Ee=function(e){return n().createElement("span",B({className:A({label:"a11yText",zIndex:9999,border:0,clip:"rect(1px, 1px, 1px, 1px)",height:1,width:1,position:"absolute",overflow:"hidden",padding:0,whiteSpace:"nowrap",backgroundColor:"red",color:"blue"})},e))},we=function(e){function t(){return D(this,t),K(this,V(t).apply(this,arguments))}return W(t,e),R(t,[{key:"render",value:function(){var e=this.props,t=(e.in,e.out,e.onExited,e.appear,e.enter,e.exit,e.innerRef),a=(e.emotion,j(e,["in","out","onExited","appear","enter","exit","innerRef","emotion"]));return n().createElement("input",B({ref:t},a,{className:A({label:"dummyInput",background:0,border:0,fontSize:"inherit",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(0)"})}))}}]),t}(o.Component),xe=function(e){function t(){return D(this,t),K(this,V(t).apply(this,arguments))}return W(t,e),R(t,[{key:"componentDidMount",value:function(){this.props.innerRef((0,F.findDOMNode)(this))}},{key:"componentWillUnmount",value:function(){this.props.innerRef(null)}},{key:"render",value:function(){return this.props.children}}]),t}(o.Component),Ce=["boxSizing","height","overflow","paddingRight","position"],Se={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Oe(e){e.preventDefault()}function Ae(e){e.stopPropagation()}function Fe(){var e=this.scrollTop,t=this.scrollHeight,a=e+this.offsetHeight;0===e?this.scrollTop=1:a===t&&(this.scrollTop=e-1)}function Te(){return"ontouchstart"in window||navigator.maxTouchPoints}var Ne=!("undefined"==typeof window||!window.document||!window.document.createElement),Pe=0,$e=function(e){function t(){var e,a;D(this,t);for(var o=arguments.length,n=new Array(o),i=0;i<o;i++)n[i]=arguments[i];return I(U(U(a=K(this,(e=V(t)).call.apply(e,[this].concat(n))))),"originalStyles",{}),I(U(U(a)),"listenerOptions",{capture:!1,passive:!1}),a}return W(t,e),R(t,[{key:"componentDidMount",value:function(){var e=this;if(Ne){var t=this.props,a=t.accountForScrollbars,o=t.touchScrollTarget,n=document.body,i=n&&n.style;if(a&&Ce.forEach((function(t){var a=i&&i[t];e.originalStyles[t]=a})),a&&Pe<1){var r=parseInt(this.originalStyles.paddingRight,10)||0,l=document.body?document.body.clientWidth:0,s=window.innerWidth-l+r||0;Object.keys(Se).forEach((function(e){var t=Se[e];i&&(i[e]=t)})),i&&(i.paddingRight="".concat(s,"px"))}n&&Te()&&(n.addEventListener("touchmove",Oe,this.listenerOptions),o&&(o.addEventListener("touchstart",Fe,this.listenerOptions),o.addEventListener("touchmove",Ae,this.listenerOptions))),Pe+=1}}},{key:"componentWillUnmount",value:function(){var e=this;if(Ne){var t=this.props,a=t.accountForScrollbars,o=t.touchScrollTarget,n=document.body,i=n&&n.style;Pe=Math.max(Pe-1,0),a&&Pe<1&&Ce.forEach((function(t){var a=e.originalStyles[t];i&&(i[t]=a)})),n&&Te()&&(n.removeEventListener("touchmove",Oe,this.listenerOptions),o&&(o.removeEventListener("touchstart",Fe,this.listenerOptions),o.removeEventListener("touchmove",Ae,this.listenerOptions)))}}},{key:"render",value:function(){return null}}]),t}(o.Component);I($e,"defaultProps",{accountForScrollbars:!0});var Me=function(e){function t(){var e,a;D(this,t);for(var o=arguments.length,n=new Array(o),i=0;i<o;i++)n[i]=arguments[i];return I(U(U(a=K(this,(e=V(t)).call.apply(e,[this].concat(n))))),"state",{touchScrollTarget:null}),I(U(U(a)),"getScrollTarget",(function(e){e!==a.state.touchScrollTarget&&a.setState({touchScrollTarget:e})})),I(U(U(a)),"blurSelectInput",(function(){document.activeElement&&document.activeElement.blur()})),a}return W(t,e),R(t,[{key:"render",value:function(){var e=this.props,t=e.children,a=e.isEnabled,o=this.state.touchScrollTarget;return a?n().createElement("div",null,n().createElement("div",{onClick:this.blurSelectInput,className:A({position:"fixed",left:0,bottom:0,right:0,top:0})}),n().createElement(xe,{innerRef:this.getScrollTarget},t),o?n().createElement($e,{touchScrollTarget:o}):null):t}}]),t}(o.PureComponent),He=function(e){function t(){var e,a;D(this,t);for(var o=arguments.length,n=new Array(o),i=0;i<o;i++)n[i]=arguments[i];return I(U(U(a=K(this,(e=V(t)).call.apply(e,[this].concat(n))))),"isBottom",!1),I(U(U(a)),"isTop",!1),I(U(U(a)),"scrollTarget",void 0),I(U(U(a)),"touchStart",void 0),I(U(U(a)),"cancelScroll",(function(e){e.preventDefault(),e.stopPropagation()})),I(U(U(a)),"handleEventDelta",(function(e,t){var o=a.props,n=o.onBottomArrive,i=o.onBottomLeave,r=o.onTopArrive,l=o.onTopLeave,s=a.scrollTarget,d=s.scrollTop,c=s.scrollHeight,u=s.clientHeight,p=a.scrollTarget,b=t>0,m=c-u-d,h=!1;m>t&&a.isBottom&&(i&&i(e),a.isBottom=!1),b&&a.isTop&&(l&&l(e),a.isTop=!1),b&&t>m?(n&&!a.isBottom&&n(e),p.scrollTop=c,h=!0,a.isBottom=!0):!b&&-t>d&&(r&&!a.isTop&&r(e),p.scrollTop=0,h=!0,a.isTop=!0),h&&a.cancelScroll(e)})),I(U(U(a)),"onWheel",(function(e){a.handleEventDelta(e,e.deltaY)})),I(U(U(a)),"onTouchStart",(function(e){a.touchStart=e.changedTouches[0].clientY})),I(U(U(a)),"onTouchMove",(function(e){var t=a.touchStart-e.changedTouches[0].clientY;a.handleEventDelta(e,t)})),I(U(U(a)),"getScrollTarget",(function(e){a.scrollTarget=e})),a}return W(t,e),R(t,[{key:"componentDidMount",value:function(){this.startListening(this.scrollTarget)}},{key:"componentWillUnmount",value:function(){this.stopListening(this.scrollTarget)}},{key:"startListening",value:function(e){e&&(e.scrollHeight<=e.clientHeight||("function"==typeof e.addEventListener&&e.addEventListener("wheel",this.onWheel,!1),"function"==typeof e.addEventListener&&e.addEventListener("touchstart",this.onTouchStart,!1),"function"==typeof e.addEventListener&&e.addEventListener("touchmove",this.onTouchMove,!1)))}},{key:"stopListening",value:function(e){e.scrollHeight<=e.clientHeight||("function"==typeof e.removeEventListener&&e.removeEventListener("wheel",this.onWheel,!1),"function"==typeof e.removeEventListener&&e.removeEventListener("touchstart",this.onTouchStart,!1),"function"==typeof e.removeEventListener&&e.removeEventListener("touchmove",this.onTouchMove,!1))}},{key:"render",value:function(){return n().createElement(xe,{innerRef:this.getScrollTarget},this.props.children)}}]),t}(o.Component),Le=function(e){function t(){return D(this,t),K(this,V(t).apply(this,arguments))}return W(t,e),R(t,[{key:"render",value:function(){var e=this.props,t=e.isEnabled,a=j(e,["isEnabled"]);return t?n().createElement(He,a):this.props.children}}]),t}(o.Component);I(Le,"defaultProps",{isEnabled:!0});var De=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=t.isSearchable,o=t.isMulti,n=t.label,i=t.isDisabled;switch(e){case"menu":return"Use Up and Down to choose options".concat(i?"":", press Enter to select the currently focused option",", press Escape to exit the menu, press Tab to select the option and exit the menu.");case"input":return"".concat(n||"Select"," is focused ").concat(a?",type to refine list":"",", press Down to open the menu, ").concat(o?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value"}},ze=function(e,t){var a=t.value,o=t.isDisabled;if(a)switch(e){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(a,", deselected.");case"select-option":return"option ".concat(a,o?" is disabled. Select another option.":", selected.")}},Re=function(e){return!!e.isDisabled},Ie=function(e){function t(){return D(this,t),K(this,V(t).apply(this,arguments))}return W(t,e),R(t,[{key:"render",value:function(){var e=this.props,t=e.children,a=e.className,o=e.cx,i=e.isMulti,r=e.getStyles,l=e.hasValue;return n().createElement("div",{className:o(A(r("valueContainer",this.props)),{"value-container":!0,"value-container--is-multi":i,"value-container--has-value":l},a)},t)}}]),t}(o.Component),Be=function(e){var t=e.size,a=j(e,["size"]);return n().createElement("svg",B({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",className:A({display:"inline-block",fill:"currentColor",lineHeight:1,stroke:"currentColor",strokeWidth:0})},a))},qe=function(e){return n().createElement(Be,B({size:20},e),n().createElement("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},We=function(e){return n().createElement(Be,B({size:20},e),n().createElement("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},Ve=function(e){var t=e.isFocused,a=e.theme,o=a.spacing.baseUnit,n=a.colors;return{label:"indicatorContainer",color:t?n.neutral60:n.neutral20,display:"flex",padding:2*o,transition:"color 150ms",":hover":{color:t?n.neutral80:n.neutral40}}},Ge=Ve,je=Ve,Ue="react-select-loading-indicator",Ke=!1,Ye=function(e){var t=e.color,a=e.delay,o=e.offset;return n().createElement("span",{className:A({animationDuration:"1s",animationDelay:"".concat(a,"ms"),animationIterationCount:"infinite",animationName:Ue,animationTimingFunction:"ease-in-out",backgroundColor:t,borderRadius:"1em",display:"inline-block",marginLeft:o?"1em":null,height:"1em",verticalAlign:"top",width:"1em"})})},Xe=function(e){var t=e.className,a=e.cx,o=e.getStyles,i=e.innerProps,r=e.isFocused,l=e.isRtl,s=e.theme.colors,d=r?s.neutral80:s.neutral20;return Ke||(O("@keyframes ",Ue,"{0%,80%,100%{opacity:0;}40%{opacity:1;}};"),Ke=!0),n().createElement("div",B({},i,{className:a(A(o("loadingIndicator",e)),{indicator:!0,"loading-indicator":!0},t)}),n().createElement(Ye,{color:d,delay:0,offset:l}),n().createElement(Ye,{color:d,delay:160,offset:!0}),n().createElement(Ye,{color:d,delay:320,offset:!l}))};Xe.defaultProps={size:4};var Qe=function(e){return{label:"input",background:0,border:0,fontSize:"inherit",opacity:e?0:1,outline:0,padding:0,color:"inherit"}},Je=function(e){var t=e.children,a=e.innerProps;return n().createElement("div",a,t)},Ze=Je,et=Je,tt=function(e){function t(){return D(this,t),K(this,V(t).apply(this,arguments))}return W(t,e),R(t,[{key:"render",value:function(){var e=this.props,t=e.children,a=e.innerProps;return n().createElement("div",a,t||n().createElement(qe,{size:14}))}}]),t}(o.Component),at=function(e){function t(){return D(this,t),K(this,V(t).apply(this,arguments))}return W(t,e),R(t,[{key:"render",value:function(){var e=this.props,t=e.children,a=e.className,o=e.components,i=e.cx,r=e.data,l=e.getStyles,s=e.innerProps,d=e.isDisabled,c=e.removeProps,u=e.selectProps,p=o.Container,b=o.Label,m=o.Remove,h=q({className:i(A(l("multiValue",this.props)),{"multi-value":!0,"multi-value--is-disabled":d},a)},s),g={className:i(A(l("multiValueLabel",this.props)),{"multi-value__label":!0},a)},v=q({className:i(A(l("multiValueRemove",this.props)),{"multi-value__remove":!0},a)},c);return n().createElement(p,{data:r,innerProps:h,selectProps:u},n().createElement(b,{data:r,innerProps:g,selectProps:u},t),n().createElement(m,{data:r,innerProps:v,selectProps:u}))}}]),t}(o.Component);I(at,"defaultProps",{cropWithEllipsis:!0});var ot={ClearIndicator:function(e){var t=e.children,a=e.className,o=e.cx,i=e.getStyles,r=e.innerProps;return n().createElement("div",B({},r,{className:o(A(i("clearIndicator",e)),{indicator:!0,"clear-indicator":!0},a)}),t||n().createElement(qe,null))},Control:function(e){var t=e.children,a=e.cx,o=e.getStyles,i=e.className,r=e.isDisabled,l=e.isFocused,s=e.innerRef,d=e.innerProps,c=e.menuIsOpen;return n().createElement("div",B({ref:s,className:a(A(o("control",e)),{control:!0,"control--is-disabled":r,"control--is-focused":l,"control--menu-is-open":c},i)},d),t)},DropdownIndicator:function(e){var t=e.children,a=e.className,o=e.cx,i=e.getStyles,r=e.innerProps;return n().createElement("div",B({},r,{className:o(A(i("dropdownIndicator",e)),{indicator:!0,"dropdown-indicator":!0},a)}),t||n().createElement(We,null))},DownChevron:We,CrossIcon:qe,Group:function(e){var t=e.children,a=e.className,o=e.cx,i=e.getStyles,r=e.Heading,l=e.headingProps,s=e.label,d=e.theme,c=e.selectProps;return n().createElement("div",{className:o(A(i("group",e)),{group:!0},a)},n().createElement(r,B({},l,{selectProps:c,theme:d,getStyles:i,cx:o}),s),n().createElement("div",null,t))},GroupHeading:function(e){var t=e.className,a=e.cx,o=e.getStyles,i=e.theme,r=(e.selectProps,j(e,["className","cx","getStyles","theme","selectProps"]));return n().createElement("div",B({className:a(A(o("groupHeading",q({theme:i},r))),{"group-heading":!0},t)},r))},IndicatorsContainer:function(e){var t=e.children,a=e.className,o=e.cx,i=e.getStyles;return n().createElement("div",{className:o(A(i("indicatorsContainer",e)),{indicators:!0},a)},t)},IndicatorSeparator:function(e){var t=e.className,a=e.cx,o=e.getStyles,i=e.innerProps;return n().createElement("span",B({},i,{className:a(A(o("indicatorSeparator",e)),{"indicator-separator":!0},t)}))},Input:function(e){var t=e.className,a=e.cx,o=e.getStyles,i=e.innerRef,r=e.isHidden,l=e.isDisabled,s=e.theme,d=(e.selectProps,j(e,["className","cx","getStyles","innerRef","isHidden","isDisabled","theme","selectProps"]));return n().createElement("div",{className:A(o("input",q({theme:s},d)))},n().createElement(M.A,B({className:a(null,{input:!0},t),inputRef:i,inputStyle:Qe(r),disabled:l},d)))},LoadingIndicator:Xe,Menu:function(e){var t=e.children,a=e.className,o=e.cx,i=e.getStyles,r=e.innerRef,l=e.innerProps,s=o(A(i("menu",e)),{menu:!0},a);return n().createElement("div",B({className:s},l,{ref:r}),t)},MenuList:function(e){var t=e.children,a=e.className,o=e.cx,i=e.getStyles,r=e.isMulti,l=e.innerRef;return n().createElement("div",{className:o(A(i("menuList",e)),{"menu-list":!0,"menu-list--is-multi":r},a),ref:l},t)},MenuPortal:pe,LoadingMessage:ue,NoOptionsMessage:ce,MultiValue:at,MultiValueContainer:Ze,MultiValueLabel:et,MultiValueRemove:tt,Option:function(e){var t=e.children,a=e.className,o=e.cx,i=e.getStyles,r=e.isDisabled,l=e.isFocused,s=e.isSelected,d=e.innerRef,c=e.innerProps;return n().createElement("div",B({ref:d,className:o(A(i("option",e)),{option:!0,"option--is-disabled":r,"option--is-focused":l,"option--is-selected":s},a)},c),t)},Placeholder:function(e){var t=e.children,a=e.className,o=e.cx,i=e.getStyles,r=e.innerProps;return n().createElement("div",B({className:o(A(i("placeholder",e)),{placeholder:!0},a)},r),t)},SelectContainer:function(e){var t=e.children,a=e.className,o=e.cx,i=e.getStyles,r=e.innerProps,l=e.isDisabled,s=e.isRtl;return n().createElement("div",B({className:o(A(i("container",e)),{"--is-disabled":l,"--is-rtl":s},a)},r),t)},SingleValue:function(e){var t=e.children,a=e.className,o=e.cx,i=e.getStyles,r=e.isDisabled,l=e.innerProps;return n().createElement("div",B({className:o(A(i("singleValue",e)),{"single-value":!0,"single-value--is-disabled":r},a)},l),t)},ValueContainer:Ie},nt=function(e){return q({},ot,e.components)},it={clearIndicator:je,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":null,pointerEvents:t?"none":null,position:"relative"}},control:function(e){var t=e.isDisabled,a=e.isFocused,o=e.theme,n=o.colors,i=o.borderRadius,r=o.spacing;return{label:"control",alignItems:"center",backgroundColor:t?n.neutral5:n.neutral0,borderColor:t?n.neutral10:a?n.primary:n.neutral20,borderRadius:i,borderStyle:"solid",borderWidth:1,boxShadow:a?"0 0 0 1px ".concat(n.primary):null,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:r.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:a?n.primary:n.neutral30}}},dropdownIndicator:Ge,group:function(e){var t=e.theme.spacing;return{paddingBottom:2*t.baseUnit,paddingTop:2*t.baseUnit}},groupHeading:function(e){var t=e.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:"500",marginBottom:"0.25em",paddingLeft:3*t.baseUnit,paddingRight:3*t.baseUnit,textTransform:"uppercase"}},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e){var t=e.isDisabled,a=e.theme,o=a.spacing.baseUnit,n=a.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:t?n.neutral10:n.neutral20,marginBottom:2*o,marginTop:2*o,width:1}},input:function(e){var t=e.isDisabled,a=e.theme,o=a.spacing,n=a.colors;return{margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,visibility:t?"hidden":"visible",color:n.neutral80}},loadingIndicator:function(e){var t=e.isFocused,a=e.size,o=e.theme,n=o.colors,i=o.spacing.baseUnit;return{label:"loadingIndicator",color:t?n.neutral60:n.neutral20,display:"flex",padding:2*i,transition:"color 150ms",alignSelf:"center",fontSize:a,lineHeight:1,marginRight:a,textAlign:"center",verticalAlign:"middle"}},loadingMessage:de,menu:function(e){var t,a=e.placement,o=e.theme,n=o.borderRadius,i=o.spacing,r=o.colors;return I(t={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(a),"100%"),I(t,"backgroundColor",r.neutral0),I(t,"borderRadius",n),I(t,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),I(t,"marginBottom",i.menuGutter),I(t,"marginTop",i.menuGutter),I(t,"position","absolute"),I(t,"width","100%"),I(t,"zIndex",1),t},menuList:function(e){var t=e.maxHeight,a=e.theme.spacing.baseUnit;return{maxHeight:t,overflowY:"auto",paddingBottom:a,paddingTop:a,position:"relative",WebkitOverflowScrolling:"touch"}},menuPortal:function(e){var t=e.rect,a=e.offset,o=e.position;return{left:t.left,position:o,top:a,width:t.width,zIndex:1}},multiValue:function(e){var t=e.theme,a=t.spacing,o=t.borderRadius;return{label:"multiValue",backgroundColor:t.colors.neutral10,borderRadius:o/2,display:"flex",margin:a.baseUnit/2,minWidth:0}},multiValueLabel:function(e){var t=e.theme,a=t.borderRadius,o=t.colors,n=e.cropWithEllipsis;return{borderRadius:a/2,color:o.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:n?"ellipsis":null,whiteSpace:"nowrap"}},multiValueRemove:function(e){var t=e.theme,a=t.spacing,o=t.borderRadius,n=t.colors;return{alignItems:"center",borderRadius:o/2,backgroundColor:e.isFocused&&n.dangerLight,display:"flex",paddingLeft:a.baseUnit,paddingRight:a.baseUnit,":hover":{backgroundColor:n.dangerLight,color:n.danger}}},noOptionsMessage:se,option:function(e){var t=e.isDisabled,a=e.isFocused,o=e.isSelected,n=e.theme,i=n.spacing,r=n.colors;return{label:"option",backgroundColor:o?r.primary:a?r.primary25:"transparent",color:t?r.neutral20:o?r.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(2*i.baseUnit,"px ").concat(3*i.baseUnit,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:!t&&(o?r.primary:r.primary50)}}},placeholder:function(e){var t=e.theme,a=t.spacing;return{label:"placeholder",color:t.colors.neutral50,marginLeft:a.baseUnit/2,marginRight:a.baseUnit/2,position:"absolute",top:"50%",transform:"translateY(-50%)"}},singleValue:function(e){var t=e.isDisabled,a=e.theme,o=a.spacing,n=a.colors;return{label:"singleValue",color:t?n.neutral40:n.neutral80,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2,maxWidth:"calc(100% - ".concat(2*o.baseUnit,"px)"),overflow:"hidden",position:"absolute",textOverflow:"ellipsis",whiteSpace:"nowrap",top:"50%",transform:"translateY(-50%)"}},valueContainer:function(e){var t=e.theme.spacing;return{alignItems:"center",display:"flex",flex:1,flexWrap:"wrap",padding:"".concat(t.baseUnit/2,"px ").concat(2*t.baseUnit,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}}},rt={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},lt={backspaceRemovesValue:!0,blurInputOnSelect:ne(),captureMenuScroll:!ne(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){var a=q({ignoreCase:!0,ignoreAccents:!0,stringify:_e,trim:!0,matchFrom:"any"},undefined),o=a.ignoreCase,n=a.ignoreAccents,i=a.stringify,r=a.trim,l=a.matchFrom,s=r?ye(t):t,d=r?ye(i(e)):i(e);return o&&(s=s.toLowerCase(),d=d.toLowerCase()),n&&(s=ke(s),d=ke(d)),"start"===l?d.substr(0,s.length)===s:d.indexOf(s)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:Re,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:"0",tabSelectsValue:!0},st=1,dt=function(e){function t(e){var a;D(this,t),I(U(U(a=K(this,V(t).call(this,e)))),"state",{ariaLiveSelection:"",ariaLiveContext:"",focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,menuOptions:{render:[],focusable:[]},selectValue:[]}),I(U(U(a)),"blockOptionHover",!1),I(U(U(a)),"isComposing",!1),I(U(U(a)),"clearFocusValueOnUpdate",!1),I(U(U(a)),"commonProps",void 0),I(U(U(a)),"components",void 0),I(U(U(a)),"hasGroups",!1),I(U(U(a)),"initialTouchX",0),I(U(U(a)),"initialTouchY",0),I(U(U(a)),"inputIsHiddenAfterUpdate",void 0),I(U(U(a)),"instancePrefix",""),I(U(U(a)),"openAfterFocus",!1),I(U(U(a)),"scrollToFocusedOptionOnUpdate",!1),I(U(U(a)),"userIsDragging",void 0),I(U(U(a)),"controlRef",null),I(U(U(a)),"getControlRef",(function(e){a.controlRef=e})),I(U(U(a)),"focusedOptionRef",null),I(U(U(a)),"getFocusedOptionRef",(function(e){a.focusedOptionRef=e})),I(U(U(a)),"menuListRef",null),I(U(U(a)),"getMenuListRef",(function(e){a.menuListRef=e})),I(U(U(a)),"inputRef",null),I(U(U(a)),"getInputRef",(function(e){a.inputRef=e})),I(U(U(a)),"cacheComponents",(function(e){a.components=nt({components:e})})),I(U(U(a)),"focus",a.focusInput),I(U(U(a)),"blur",a.blurInput),I(U(U(a)),"onChange",(function(e,t){var o=a.props;(0,o.onChange)(e,q({},t,{name:o.name}))})),I(U(U(a)),"setValue",(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"set-value",o=arguments.length>2?arguments[2]:void 0,n=a.props,i=n.closeMenuOnSelect,r=n.isMulti;a.onInputChange("",{action:"set-value"}),i&&(a.inputIsHiddenAfterUpdate=!r,a.onMenuClose()),a.clearFocusValueOnUpdate=!0,a.onChange(e,{action:t,option:o})})),I(U(U(a)),"selectOption",(function(e){var t=a.props,o=t.blurInputOnSelect,n=t.isMulti,i=a.state.selectValue;if(n)if(a.isOptionSelected(e,i)){var r=a.getOptionValue(e);a.setValue(i.filter((function(e){return a.getOptionValue(e)!==r})),"deselect-option",e),a.announceAriaLiveSelection({event:"deselect-option",context:{value:a.getOptionLabel(e)}})}else a.isOptionDisabled(e,i)?a.announceAriaLiveSelection({event:"select-option",context:{value:a.getOptionLabel(e),isDisabled:!0}}):(a.setValue([].concat(Y(i),[e]),"select-option",e),a.announceAriaLiveSelection({event:"select-option",context:{value:a.getOptionLabel(e)}}));else a.isOptionDisabled(e,i)?a.announceAriaLiveSelection({event:"select-option",context:{value:a.getOptionLabel(e),isDisabled:!0}}):(a.setValue(e,"select-option"),a.announceAriaLiveSelection({event:"select-option",context:{value:a.getOptionLabel(e)}}));o&&a.blurInput()})),I(U(U(a)),"removeValue",(function(e){var t=a.state.selectValue,o=a.getOptionValue(e);a.onChange(t.filter((function(e){return a.getOptionValue(e)!==o})),{action:"remove-value",removedValue:e}),a.announceAriaLiveSelection({event:"remove-value",context:{value:e?a.getOptionLabel(e):""}}),a.focusInput()})),I(U(U(a)),"clearValue",(function(){var e=a.props.isMulti;a.onChange(e?[]:null,{action:"clear"})})),I(U(U(a)),"popValue",(function(){var e=a.state.selectValue,t=e[e.length-1];a.announceAriaLiveSelection({event:"pop-value",context:{value:t?a.getOptionLabel(t):""}}),a.onChange(e.slice(0,e.length-1),{action:"pop-value",removedValue:t})})),I(U(U(a)),"getOptionLabel",(function(e){return a.props.getOptionLabel(e)})),I(U(U(a)),"getOptionValue",(function(e){return a.props.getOptionValue(e)})),I(U(U(a)),"getStyles",(function(e,t){var o=it[e](t);o.boxSizing="border-box";var n=a.props.styles[e];return n?n(o,t):o})),I(U(U(a)),"getElementId",(function(e){return"".concat(a.instancePrefix,"-").concat(e)})),I(U(U(a)),"getActiveDescendentId",(function(){var e=a.props.menuIsOpen,t=a.state,o=t.menuOptions,n=t.focusedOption;if(n&&e){var i=o.focusable.indexOf(n),r=o.render[i];return r&&r.key}})),I(U(U(a)),"announceAriaLiveSelection",(function(e){var t=e.event,o=e.context;a.setState({ariaLiveSelection:ze(t,o)})})),I(U(U(a)),"announceAriaLiveContext",(function(e){var t=e.event,o=e.context;a.setState({ariaLiveContext:De(t,q({},o,{label:a.props["aria-label"]}))})})),I(U(U(a)),"onMenuMouseDown",(function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),a.focusInput())})),I(U(U(a)),"onMenuMouseMove",(function(e){a.blockOptionHover=!1})),I(U(U(a)),"onControlMouseDown",(function(e){var t=a.props.openMenuOnClick;a.state.isFocused?a.props.menuIsOpen?"INPUT"!==e.target.tagName&&a.onMenuClose():t&&a.openMenu("first"):(t&&(a.openAfterFocus=!0),a.focusInput()),"INPUT"!==e.target.tagName&&e.preventDefault()})),I(U(U(a)),"onDropdownIndicatorMouseDown",(function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||a.props.isDisabled)){var t=a.props,o=t.isMulti,n=t.menuIsOpen;a.focusInput(),n?(a.inputIsHiddenAfterUpdate=!o,a.onMenuClose()):a.openMenu("first"),e.preventDefault(),e.stopPropagation()}})),I(U(U(a)),"onClearIndicatorMouseDown",(function(e){e&&"mousedown"===e.type&&0!==e.button||(a.clearValue(),e.stopPropagation(),a.openAfterFocus=!1,setTimeout((function(){return a.focusInput()})))})),I(U(U(a)),"onScroll",(function(e){"boolean"==typeof a.props.closeMenuOnScroll?e.target instanceof HTMLElement&&ee(e.target)&&a.props.onMenuClose():"function"==typeof a.props.closeMenuOnScroll&&a.props.closeMenuOnScroll(e)&&a.props.onMenuClose()})),I(U(U(a)),"onCompositionStart",(function(){a.isComposing=!0})),I(U(U(a)),"onCompositionEnd",(function(){a.isComposing=!1})),I(U(U(a)),"onTouchStart",(function(e){var t=e.touches.item(0);t&&(a.initialTouchX=t.clientX,a.initialTouchY=t.clientY,a.userIsDragging=!1)})),I(U(U(a)),"onTouchMove",(function(e){var t=e.touches.item(0);if(t){var o=Math.abs(t.clientX-a.initialTouchX),n=Math.abs(t.clientY-a.initialTouchY);a.userIsDragging=o>5||n>5}})),I(U(U(a)),"onTouchEnd",(function(e){a.userIsDragging||(a.controlRef&&!a.controlRef.contains(e.target)&&a.menuListRef&&!a.menuListRef.contains(e.target)&&a.blurInput(),a.initialTouchX=0,a.initialTouchY=0)})),I(U(U(a)),"onControlTouchEnd",(function(e){a.userIsDragging||a.onControlMouseDown(e)})),I(U(U(a)),"onClearIndicatorTouchEnd",(function(e){a.userIsDragging||a.onClearIndicatorMouseDown(e)})),I(U(U(a)),"onDropdownIndicatorTouchEnd",(function(e){a.userIsDragging||a.onDropdownIndicatorMouseDown(e)})),I(U(U(a)),"handleInputChange",(function(e){var t=e.currentTarget.value;a.inputIsHiddenAfterUpdate=!1,a.onInputChange(t,{action:"input-change"}),a.onMenuOpen()})),I(U(U(a)),"onInputFocus",(function(e){var t=a.props,o=t.isSearchable,n=t.isMulti;a.props.onFocus&&a.props.onFocus(e),a.inputIsHiddenAfterUpdate=!1,a.announceAriaLiveContext({event:"input",context:{isSearchable:o,isMulti:n}}),a.setState({isFocused:!0}),(a.openAfterFocus||a.props.openMenuOnFocus)&&a.openMenu("first"),a.openAfterFocus=!1})),I(U(U(a)),"onInputBlur",(function(e){a.menuListRef&&a.menuListRef.contains(document.activeElement)?a.inputRef.focus():(a.props.onBlur&&a.props.onBlur(e),a.onInputChange("",{action:"input-blur"}),a.onMenuClose(),a.setState({focusedValue:null,isFocused:!1}))})),I(U(U(a)),"onOptionHover",(function(e){a.blockOptionHover||a.state.focusedOption===e||a.setState({focusedOption:e})})),I(U(U(a)),"shouldHideSelectedOptions",(function(){var e=a.props,t=e.hideSelectedOptions,o=e.isMulti;return void 0===t?o:t})),I(U(U(a)),"onKeyDown",(function(e){var t=a.props,o=t.isMulti,n=t.backspaceRemovesValue,i=t.escapeClearsValue,r=t.inputValue,l=t.isClearable,s=t.isDisabled,d=t.menuIsOpen,c=t.onKeyDown,u=t.tabSelectsValue,p=t.openMenuOnFocus,b=a.state,m=b.focusedOption,h=b.focusedValue,g=b.selectValue;if(!(s||"function"==typeof c&&(c(e),e.defaultPrevented))){switch(a.blockOptionHover=!0,e.key){case"ArrowLeft":if(!o||r)return;a.focusValue("previous");break;case"ArrowRight":if(!o||r)return;a.focusValue("next");break;case"Delete":case"Backspace":if(r)return;if(h)a.removeValue(h);else{if(!n)return;o?a.popValue():l&&a.clearValue()}break;case"Tab":if(a.isComposing)return;if(e.shiftKey||!d||!u||!m||p&&a.isOptionSelected(m,g))return;a.selectOption(m);break;case"Enter":if(229===e.keyCode)break;if(d){if(!m)return;if(a.isComposing)return;a.selectOption(m);break}return;case"Escape":d?(a.inputIsHiddenAfterUpdate=!1,a.onInputChange("",{action:"menu-close"}),a.onMenuClose()):l&&i&&a.clearValue();break;case" ":if(r)return;if(!d){a.openMenu("first");break}if(!m)return;a.selectOption(m);break;case"ArrowUp":d?a.focusOption("up"):a.openMenu("last");break;case"ArrowDown":d?a.focusOption("down"):a.openMenu("first");break;case"PageUp":if(!d)return;a.focusOption("pageup");break;case"PageDown":if(!d)return;a.focusOption("pagedown");break;case"Home":if(!d)return;a.focusOption("first");break;case"End":if(!d)return;a.focusOption("last");break;default:return}e.preventDefault()}}));var o=e.value;a.cacheComponents=p(a.cacheComponents,ve).bind(U(U(a))),a.cacheComponents(e.components),a.instancePrefix="react-select-"+(a.props.instanceId||++st);var n=Z(o),i=a.buildMenuOptions(e,n);return a.state.menuOptions=i,a.state.selectValue=n,a}return W(t,e),R(t,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()}},{key:"componentWillReceiveProps",value:function(e){var t=this.props,a=t.options,o=t.value,n=t.inputValue;if(this.cacheComponents(e.components),e.value!==o||e.options!==a||e.inputValue!==n){var i=Z(e.value),r=this.buildMenuOptions(e,i),l=this.getNextFocusedValue(i),s=this.getNextFocusedOption(r.focusable);this.setState({menuOptions:r,selectValue:i,focusedOption:s,focusedValue:l})}null!=this.inputIsHiddenAfterUpdate&&(this.setState({inputIsHidden:this.inputIsHiddenAfterUpdate}),delete this.inputIsHiddenAfterUpdate)}},{key:"componentDidUpdate",value:function(e){var t,a,o,n,i,r=this.props,l=r.isDisabled,s=r.menuIsOpen,d=this.state.isFocused;(d&&!l&&e.isDisabled||d&&s&&!e.menuIsOpen)&&this.focusInput(),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(t=this.menuListRef,a=this.focusedOptionRef,o=t.getBoundingClientRect(),n=a.getBoundingClientRect(),i=a.offsetHeight/3,n.bottom+i>o.bottom?ae(t,Math.min(a.offsetTop+a.clientHeight-t.offsetHeight+i,t.scrollHeight)):n.top-i<o.top&&ae(t,Math.max(a.offsetTop-i,0))),this.scrollToFocusedOptionOnUpdate=!1}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){var e=this.props,t=e.isSearchable,a=e.isMulti;this.announceAriaLiveContext({event:"input",context:{isSearchable:t,isMulti:a}}),this.onInputChange("",{action:"menu-close"}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this.state,a=t.menuOptions,o=t.selectValue,n=t.isFocused,i=this.props.isMulti,r="first"===e?0:a.focusable.length-1;if(!i){var l=a.focusable.indexOf(o[0]);l>-1&&(r=l)}this.scrollToFocusedOptionOnUpdate=!(n&&this.menuListRef),this.inputIsHiddenAfterUpdate=!1,this.onMenuOpen(),this.setState({focusedValue:null,focusedOption:a.focusable[r]}),this.announceAriaLiveContext({event:"menu"})}},{key:"focusValue",value:function(e){var t=this.props,a=t.isMulti,o=t.isSearchable,n=this.state,i=n.selectValue,r=n.focusedValue;if(a){this.setState({focusedOption:null});var l=i.indexOf(r);r||(l=-1,this.announceAriaLiveContext({event:"value"}));var s=i.length-1,d=-1;if(i.length){switch(e){case"previous":d=0===l?0:-1===l?s:l-1;break;case"next":l>-1&&l<s&&(d=l+1)}-1===d&&this.announceAriaLiveContext({event:"input",context:{isSearchable:o,isMulti:a}}),this.setState({inputIsHidden:-1!==d,focusedValue:i[d]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,a=this.state,o=a.focusedOption,n=a.menuOptions.focusable;if(n.length){var i=0,r=n.indexOf(o);o||(r=-1,this.announceAriaLiveContext({event:"menu"})),"up"===e?i=r>0?r-1:n.length-1:"down"===e?i=(r+1)%n.length:"pageup"===e?(i=r-t)<0&&(i=0):"pagedown"===e?(i=r+t)>n.length-1&&(i=n.length-1):"last"===e&&(i=n.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:n[i],focusedValue:null}),this.announceAriaLiveContext({event:"menu",context:{isDisabled:Re(n[i])}})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(rt):q({},rt,this.props.theme):rt}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.getStyles,a=this.setValue,o=this.selectOption,n=this.props,i=n.classNamePrefix,r=n.isMulti,l=n.isRtl,s=n.options,d=this.state.selectValue,c=this.hasValue();return{cx:J.bind(null,i),clearValue:e,getStyles:t,getValue:function(){return d},hasValue:c,isMulti:r,isRtl:l,options:s,selectOption:o,setValue:a,selectProps:n,theme:this.getTheme()}}},{key:"getNextFocusedValue",value:function(e){if(this.clearFocusValueOnUpdate)return this.clearFocusValueOnUpdate=!1,null;var t=this.state,a=t.focusedValue,o=t.selectValue.indexOf(a);if(o>-1){if(e.indexOf(a)>-1)return a;if(o<e.length)return e[o]}return null}},{key:"getNextFocusedOption",value:function(e){var t=this.state.focusedOption;return t&&e.indexOf(t)>-1?t:e[0]}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.state.menuOptions.render.length}},{key:"countOptions",value:function(){return this.state.menuOptions.focusable.length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,a=e.isMulti;return void 0===t?a:t}},{key:"isOptionDisabled",value:function(e,t){return"function"==typeof this.props.isOptionDisabled&&this.props.isOptionDisabled(e,t)}},{key:"isOptionSelected",value:function(e,t){var a=this;if(t.indexOf(e)>-1)return!0;if("function"==typeof this.props.isOptionSelected)return this.props.isOptionSelected(e,t);var o=this.getOptionValue(e);return t.some((function(e){return a.getOptionValue(e)===o}))}},{key:"filterOption",value:function(e,t){return!this.props.filterOption||this.props.filterOption(e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var a=this.props.inputValue,o=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:a,selectValue:o})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"buildMenuOptions",value:function(e,t){var a=this,o=e.inputValue,n=void 0===o?"":o,i=e.options,r=function(e,o){var i=a.isOptionDisabled(e,t),r=a.isOptionSelected(e,t),l=a.getOptionLabel(e),s=a.getOptionValue(e);if(!(a.shouldHideSelectedOptions()&&r||!a.filterOption({label:l,value:s,data:e},n))){var d=i?void 0:function(){return a.onOptionHover(e)},c=i?void 0:function(){return a.selectOption(e)},u="".concat(a.getElementId("option"),"-").concat(o);return{innerProps:{id:u,onClick:c,onMouseMove:d,onMouseOver:d,tabIndex:-1},data:e,isDisabled:i,isSelected:r,key:u,label:l,type:"option",value:s}}};return i.reduce((function(e,t,o){if(t.options){a.hasGroups||(a.hasGroups=!0);var n=t.options.map((function(t,a){var n=r(t,"".concat(o,"-").concat(a));return n&&e.focusable.push(t),n})).filter(Boolean);if(n.length){var i="".concat(a.getElementId("group"),"-").concat(o);e.render.push({type:"group",key:i,data:t,options:n})}}else{var l=r(t,"".concat(o));l&&(e.render.push(l),e.focusable.push(t))}return e}),{render:[],focusable:[]})}},{key:"constructAriaLiveMessage",value:function(){var e=this.state,t=e.ariaLiveContext,a=e.selectValue,o=e.focusedValue,n=e.focusedOption,i=this.props,r=i.options,l=i.menuIsOpen,s=i.inputValue,d=i.screenReaderStatus,c=o?function(e){var t=e.focusedValue,a=e.selectValue;return"value ".concat((0,e.getOptionLabel)(t)," focused, ").concat(a.indexOf(t)+1," of ").concat(a.length,".")}({focusedValue:o,getOptionLabel:this.getOptionLabel,selectValue:a}):"",u=n&&l?function(e){var t=e.focusedOption,a=e.options;return"option ".concat((0,e.getOptionLabel)(t)," focused").concat(t.isDisabled?" disabled":"",", ").concat(a.indexOf(t)+1," of ").concat(a.length,".")}({focusedOption:n,getOptionLabel:this.getOptionLabel,options:r}):"",p=function(e){var t=e.inputValue;return"".concat(e.screenReaderMessage).concat(t?" for search term "+t:"",".")}({inputValue:s,screenReaderMessage:d({count:this.countOptions()})});return"".concat(c," ").concat(u," ").concat(p," ").concat(t)}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,a=e.isSearchable,o=e.inputId,i=e.inputValue,r=e.tabIndex,l=this.components.Input,s=this.state.inputIsHidden,d=o||this.getElementId("input");if(!a)return n().createElement(we,{id:d,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:X,onFocus:this.onInputFocus,readOnly:!0,disabled:t,tabIndex:r,value:""});var c={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]},u=this.commonProps,p=u.cx,b=u.theme,m=u.selectProps;return n().createElement(l,B({autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",cx:p,getStyles:this.getStyles,id:d,innerRef:this.getInputRef,isDisabled:t,isHidden:s,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,selectProps:m,spellCheck:"false",tabIndex:r,theme:b,type:"text",value:i},c))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.components,a=t.MultiValue,o=t.MultiValueContainer,i=t.MultiValueLabel,r=t.MultiValueRemove,l=t.SingleValue,s=t.Placeholder,d=this.commonProps,c=this.props,u=c.controlShouldRenderValue,p=c.isDisabled,b=c.isMulti,m=c.inputValue,h=c.placeholder,g=this.state,v=g.selectValue,f=g.focusedValue,k=g.isFocused;if(!this.hasValue()||!u)return m?null:n().createElement(s,B({},d,{key:"placeholder",isDisabled:p,isFocused:k}),h);if(b)return v.map((function(t){var l=t===f;return n().createElement(a,B({},d,{components:{Container:o,Label:i,Remove:r},isFocused:l,isDisabled:p,key:e.getOptionValue(t),removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault(),e.stopPropagation()}},data:t}),e.formatOptionLabel(t,"value"))}));if(m)return null;var y=v[0];return n().createElement(l,B({},d,{data:y,isDisabled:p}),this.formatOptionLabel(y,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.components.ClearIndicator,t=this.commonProps,a=this.props,o=a.isDisabled,i=a.isLoading,r=this.state.isFocused;if(!this.isClearable()||!e||o||!this.hasValue()||i)return null;var l={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return n().createElement(e,B({},t,{innerProps:l,isFocused:r}))}},{key:"renderLoadingIndicator",value:function(){var e=this.components.LoadingIndicator,t=this.commonProps,a=this.props,o=a.isDisabled,i=a.isLoading,r=this.state.isFocused;return e&&i?n().createElement(e,B({},t,{innerProps:{"aria-hidden":"true"},isDisabled:o,isFocused:r})):null}},{key:"renderIndicatorSeparator",value:function(){var e=this.components,t=e.DropdownIndicator,a=e.IndicatorSeparator;if(!t||!a)return null;var o=this.commonProps,i=this.props.isDisabled,r=this.state.isFocused;return n().createElement(a,B({},o,{isDisabled:i,isFocused:r}))}},{key:"renderDropdownIndicator",value:function(){var e=this.components.DropdownIndicator;if(!e)return null;var t=this.commonProps,a=this.props.isDisabled,o=this.state.isFocused,i={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return n().createElement(e,B({},t,{innerProps:i,isDisabled:a,isFocused:o}))}},{key:"renderMenu",value:function(){var e=this,t=this.components,a=t.Group,o=t.GroupHeading,i=t.Menu,r=t.MenuList,l=t.MenuPortal,s=t.LoadingMessage,d=t.NoOptionsMessage,c=t.Option,u=this.commonProps,p=this.state,b=p.focusedOption,m=p.menuOptions,h=this.props,g=h.captureMenuScroll,v=h.inputValue,f=h.isLoading,k=h.loadingMessage,y=h.minMenuHeight,_=h.maxMenuHeight,E=h.menuIsOpen,w=h.menuPlacement,x=h.menuPosition,C=h.menuPortalTarget,S=h.menuShouldBlockScroll,O=h.menuShouldScrollIntoView,A=h.noOptionsMessage,F=h.onMenuScrollToTop,T=h.onMenuScrollToBottom;if(!E)return null;var N,P=function(t){var a=b===t.data;return t.innerRef=a?e.getFocusedOptionRef:void 0,n().createElement(c,B({},u,t,{isFocused:a}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())N=m.render.map((function(t){if("group"===t.type){t.type;var i=j(t,["type"]),r="".concat(t.key,"-heading");return n().createElement(a,B({},u,i,{Heading:o,headingProps:{id:r},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return P(e)})))}if("option"===t.type)return P(t)}));else if(f){var $=k({inputValue:v});if(null===$)return null;N=n().createElement(s,u,$)}else{var M=A({inputValue:v});if(null===M)return null;N=n().createElement(d,u,M)}var H={minMenuHeight:y,maxMenuHeight:_,menuPlacement:w,menuPosition:x,menuShouldScrollIntoView:O},L=n().createElement(re,B({},u,H),(function(t){var a=t.ref,o=t.placerProps,l=o.placement,s=o.maxHeight;return n().createElement(i,B({},u,H,{innerRef:a,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:f,placement:l}),n().createElement(Le,{isEnabled:g,onTopArrive:F,onBottomArrive:T},n().createElement(Me,{isEnabled:S},n().createElement(r,B({},u,{innerRef:e.getMenuListRef,isLoading:f,maxHeight:s}),N))))}));return C||"fixed"===x?n().createElement(l,B({},u,{appendTo:C,controlElement:this.controlRef,menuPlacement:w,menuPosition:x}),L):L}},{key:"renderFormField",value:function(){var e=this,t=this.props,a=t.delimiter,o=t.isDisabled,i=t.isMulti,r=t.name,l=this.state.selectValue;if(r&&!o){if(i){if(a){var s=l.map((function(t){return e.getOptionValue(t)})).join(a);return n().createElement("input",{name:r,type:"hidden",value:s})}var d=l.length>0?l.map((function(t,a){return n().createElement("input",{key:"i-".concat(a),name:r,type:"hidden",value:e.getOptionValue(t)})})):n().createElement("input",{name:r,type:"hidden"});return n().createElement("div",null,d)}var c=l[0]?this.getOptionValue(l[0]):"";return n().createElement("input",{name:r,type:"hidden",value:c})}}},{key:"renderLiveRegion",value:function(){return this.state.isFocused?n().createElement(Ee,{"aria-live":"assertive"},n().createElement("p",{id:"aria-selection-event"}," ",this.state.ariaLiveSelection),n().createElement("p",{id:"aria-context"}," ",this.constructAriaLiveMessage())):null}},{key:"render",value:function(){var e=this.components,t=e.Control,a=e.IndicatorsContainer,o=e.SelectContainer,i=e.ValueContainer,r=this.props,l=r.className,s=r.id,d=r.isDisabled,c=r.menuIsOpen,u=this.state.isFocused,p=this.commonProps=this.getCommonProps();return n().createElement(o,B({},p,{className:l,innerProps:{id:s,onKeyDown:this.onKeyDown},isDisabled:d,isFocused:u}),this.renderLiveRegion(),n().createElement(t,B({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:d,isFocused:u,menuIsOpen:c}),n().createElement(i,B({},p,{isDisabled:d}),this.renderPlaceholderOrValue(),this.renderInput()),n().createElement(a,B({},p,{isDisabled:d}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}]),t}(o.Component);I(dt,"defaultProps",lt);var ct={defaultInputValue:"",defaultMenuIsOpen:!1,defaultValue:null},ut=function(e){var t,a;return a=t=function(t){function a(){var e,t;D(this,a);for(var o=arguments.length,n=new Array(o),i=0;i<o;i++)n[i]=arguments[i];return I(U(U(t=K(this,(e=V(a)).call.apply(e,[this].concat(n))))),"select",void 0),I(U(U(t)),"state",{inputValue:void 0!==t.props.inputValue?t.props.inputValue:t.props.defaultInputValue,menuIsOpen:void 0!==t.props.menuIsOpen?t.props.menuIsOpen:t.props.defaultMenuIsOpen,value:void 0!==t.props.value?t.props.value:t.props.defaultValue}),I(U(U(t)),"onChange",(function(e,a){t.callProp("onChange",e,a),t.setState({value:e})})),I(U(U(t)),"onInputChange",(function(e,a){var o=t.callProp("onInputChange",e,a);t.setState({inputValue:void 0!==o?o:e})})),I(U(U(t)),"onMenuOpen",(function(){t.callProp("onMenuOpen"),t.setState({menuIsOpen:!0})})),I(U(U(t)),"onMenuClose",(function(){t.callProp("onMenuClose"),t.setState({menuIsOpen:!1})})),t}return W(a,t),R(a,[{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"getProp",value:function(e){return void 0!==this.props[e]?this.props[e]:this.state[e]}},{key:"callProp",value:function(e){if("function"==typeof this.props[e]){for(var t,a=arguments.length,o=new Array(a>1?a-1:0),n=1;n<a;n++)o[n-1]=arguments[n];return(t=this.props)[e].apply(t,o)}}},{key:"render",value:function(){var t=this,a=this.props,o=(a.defaultInputValue,a.defaultMenuIsOpen,a.defaultValue,j(a,["defaultInputValue","defaultMenuIsOpen","defaultValue"]));return n().createElement(e,B({},o,{ref:function(e){t.select=e},inputValue:this.getProp("inputValue"),menuIsOpen:this.getProp("menuIsOpen"),onChange:this.onChange,onInputChange:this.onInputChange,onMenuClose:this.onMenuClose,onMenuOpen:this.onMenuOpen,value:this.getProp("value")}))}}]),a}(o.Component),I(t,"defaultProps",ct),a},pt={cacheOptions:!1,defaultOptions:!1,filterOption:null},bt=function(e){var t,a;return a=t=function(t){function a(e){var t;return D(this,a),I(U(U(t=K(this,V(a).call(this)))),"select",void 0),I(U(U(t)),"lastRequest",void 0),I(U(U(t)),"mounted",!1),I(U(U(t)),"optionsCache",{}),I(U(U(t)),"handleInputChange",(function(e,a){var o=t.props,n=o.cacheOptions,i=function(e,t,a){if(a){var o=a(e,t);if("string"==typeof o)return o}return e}(e,a,o.onInputChange);if(!i)return delete t.lastRequest,void t.setState({inputValue:"",loadedInputValue:"",loadedOptions:[],isLoading:!1,passEmptyOptions:!1});if(n&&t.optionsCache[i])t.setState({inputValue:i,loadedInputValue:i,loadedOptions:t.optionsCache[i],isLoading:!1,passEmptyOptions:!1});else{var r=t.lastRequest={};t.setState({inputValue:i,isLoading:!0,passEmptyOptions:!t.state.loadedInputValue},(function(){t.loadOptions(i,(function(e){t.mounted&&(e&&(t.optionsCache[i]=e),r===t.lastRequest&&(delete t.lastRequest,t.setState({isLoading:!1,loadedInputValue:i,loadedOptions:e||[],passEmptyOptions:!1})))}))}))}return i})),t.state={defaultOptions:Array.isArray(e.defaultOptions)?e.defaultOptions:void 0,inputValue:void 0!==e.inputValue?e.inputValue:"",isLoading:!0===e.defaultOptions,loadedOptions:[],passEmptyOptions:!1},t}return W(a,t),R(a,[{key:"componentDidMount",value:function(){var e=this;this.mounted=!0;var t=this.props.defaultOptions,a=this.state.inputValue;!0===t&&this.loadOptions(a,(function(t){if(e.mounted){var a=!!e.lastRequest;e.setState({defaultOptions:t||[],isLoading:a})}}))}},{key:"componentWillReceiveProps",value:function(e){e.cacheOptions!==this.props.cacheOptions&&(this.optionsCache={}),e.defaultOptions!==this.props.defaultOptions&&this.setState({defaultOptions:Array.isArray(e.defaultOptions)?e.defaultOptions:void 0})}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"loadOptions",value:function(e,t){var a=this.props.loadOptions;if(!a)return t();var o=a(e,t);o&&"function"==typeof o.then&&o.then(t,(function(){return t()}))}},{key:"render",value:function(){var t=this,a=this.props,o=(a.loadOptions,j(a,["loadOptions"])),i=this.state,r=i.defaultOptions,l=i.inputValue,s=i.isLoading,d=i.loadedInputValue,c=i.loadedOptions,u=i.passEmptyOptions?[]:l&&d?c:r||[];return n().createElement(e,B({},o,{ref:function(e){t.select=e},options:u,isLoading:s,onInputChange:this.handleInputChange}))}}]),a}(o.Component),I(t,"defaultProps",pt),a},mt=(bt(ut(dt)),function(){var e=arguments.length>1?arguments[1]:void 0,t=String(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toLowerCase(),a=String(e.value).toLowerCase(),o=String(e.label).toLowerCase();return a===t||o===t}),ht=q({allowCreateWhileLoading:!1,createOptionPosition:"last"},{formatCreateLabel:function(e){return'Create "'.concat(e,'"')},isValidNewOption:function(e,t,a){return!(!e||t.some((function(t){return mt(e,t)}))||a.some((function(t){return mt(e,t)})))},getNewOptionData:function(e,t){return{label:t,value:e,__isNew__:!0}}}),gt=function(e){var t,a;return a=t=function(t){function a(e){var t;D(this,a),I(U(U(t=K(this,V(a).call(this,e)))),"select",void 0),I(U(U(t)),"onChange",(function(e,a){var o=t.props,n=o.getNewOptionData,i=o.inputValue,r=o.isMulti,l=o.onChange,s=o.onCreateOption,d=o.value;if("select-option"!==a.action)return l(e,a);var c=t.state.newOption,u=Array.isArray(e)?e:[e];if(u[u.length-1]!==c)l(e,a);else if(s)s(i);else{var p=n(i,i);l(r?[].concat(Y(Z(d)),[p]):p,{action:"create-option"})}}));var o=e.options||[];return t.state={newOption:void 0,options:o},t}return W(a,t),R(a,[{key:"componentWillReceiveProps",value:function(e){var t=e.allowCreateWhileLoading,a=e.createOptionPosition,o=e.formatCreateLabel,n=e.getNewOptionData,i=e.inputValue,r=e.isLoading,l=e.isValidNewOption,s=e.value,d=e.options||[],c=this.state.newOption;c=l(i,Z(s),d)?n(i,o(i)):void 0,this.setState({newOption:c,options:!t&&r||!c?d:"first"===a?[c].concat(Y(d)):[].concat(Y(d),[c])})}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"render",value:function(){var t=this,a=B({},this.props),o=this.state.options;return n().createElement(e,B({},a,{ref:function(e){t.select=e},options:o,onChange:this.onChange}))}}]),a}(o.Component),I(t,"defaultProps",ht),a},vt=(ut(gt(dt)),bt(ut(gt(dt))),function(e){var t=e.component,a=e.duration,o=void 0===a?1:a,i=e.in,r=(e.onExited,j(e,["component","duration","in","onExited"])),l={entering:{opacity:0},entered:{opacity:1,transition:"opacity ".concat(o,"ms")},exiting:{opacity:0},exited:{opacity:0}};return n().createElement(H.Transition,{mountOnEnter:!0,unmountOnExit:!0,in:i,timeout:o},(function(e){var a={style:q({},l[e])};return n().createElement(t,B({innerProps:a},r))}))}),ft=function(e){function t(){var e,a;D(this,t);for(var o=arguments.length,n=new Array(o),i=0;i<o;i++)n[i]=arguments[i];return I(U(U(a=K(this,(e=V(t)).call.apply(e,[this].concat(n))))),"duration",260),I(U(U(a)),"rafID",void 0),I(U(U(a)),"state",{width:"auto"}),I(U(U(a)),"transition",{exiting:{width:0,transition:"width ".concat(a.duration,"ms ease-out")},exited:{width:0}}),I(U(U(a)),"getWidth",(function(e){e&&isNaN(a.state.width)&&(a.rafID=window.requestAnimationFrame((function(){var t=e.getBoundingClientRect().width;a.setState({width:t})})))})),I(U(U(a)),"getStyle",(function(e){return{overflow:"hidden",whiteSpace:"nowrap",width:e}})),I(U(U(a)),"getTransition",(function(e){return a.transition[e]})),a}return W(t,e),R(t,[{key:"componentWillUnmount",value:function(){this.rafID&&window.cancelAnimationFrame(this.rafID)}},{key:"render",value:function(){var e=this,t=this.props,a=t.children,o=t.in,i=this.state.width;return n().createElement(H.Transition,{enter:!1,mountOnEnter:!0,unmountOnExit:!0,in:o,timeout:this.duration},(function(t){var o=q({},e.getStyle(i),e.getTransition(t));return n().createElement("div",{ref:e.getWidth,style:o},a)}))}}]),t}(o.Component),kt=function(e){return function(t){var a=t.in,o=t.onExited,i=j(t,["in","onExited"]);return n().createElement(ft,{in:a,onExited:o},n().createElement(e,B({cropWithEllipsis:a},i)))}},yt=function(e){return function(t){return n().createElement(vt,B({component:e,duration:t.isMulti?260:1},t))}},_t=function(e){return function(t){return n().createElement(vt,B({component:e},t))}},Et=function(e){return function(t){return n().createElement(H.TransitionGroup,B({component:e},t))}},wt=function(){var e,t=nt({components:arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}}),a=t.Input,o=t.MultiValue,i=t.Placeholder,r=t.SingleValue,l=t.ValueContainer,s=j(t,["Input","MultiValue","Placeholder","SingleValue","ValueContainer"]);return q({Input:(e=a,function(t){t.in,t.onExited,t.appear,t.enter,t.exit;var a=j(t,["in","onExited","appear","enter","exit"]);return n().createElement(e,a)}),MultiValue:kt(o),Placeholder:yt(i),SingleValue:_t(r),ValueContainer:Et(l)},s)},xt=wt();xt.Input,xt.MultiValue,xt.Placeholder,xt.SingleValue,xt.ValueContainer,p(wt,ve);const Ct=ut(dt),St=window.wp.apiFetch;var Ot=a.n(St);const At=window.wp.i18n,Ft=window.wp.components,{addQueryArgs:Tt}=wp.url,{Component:Nt}=wp.element,Pt=class extends Nt{constructor(e,t,a){super(...arguments),this.getMailerLiteGroup=this.getMailerLiteGroup.bind(this),this.getMailerLiteFields=this.getMailerLiteFields.bind(this),this.removeAPI=this.removeAPI.bind(this),this.saveAPI=this.saveAPI.bind(this),this.state={api:"",isSavedAPI:!1,isSaving:!1,group:!1,isFetching:!1,groupsLoaded:!1,isFetchingFields:!1,groupFields:!1,groupFieldsLoaded:!1,groupError:""}}componentDidMount(){Ot()({path:"/wp/v2/settings",method:"GET"}).then((e=>{this.setState({api:e.kadence_blocks_mailerlite_api}),""!==this.state.api&&this.setState({isSavedAPI:!0})}))}getMailerLiteGroup(){let e=(0,At.__)("Groups could not be accessed using API key","kadence-blocks");this.state.api?(this.setState({isFetching:!0}),Ot()({path:Tt("/kb-mailerlite/v1/get",{apikey:this.state.api,endpoint:"groups",queryargs:["limit=250"]})}).then((t=>{if(Array.isArray(t)){const e=[];t.map((t=>{e.push({value:t.id,label:t.name})})),this.setState({group:e,groupError:"",groupsLoaded:!0,isFetching:!1})}else if(void 0!==t?.data&&Array.isArray(t.data)){const e=[];t.data.map((t=>{e.push({value:t.id,label:t.name})})),this.setState({group:e,groupError:"",groupsLoaded:!0,isFetching:!1})}else"Forbidden"===t?e=(0,At.__)("Retrieving groups was denied (403) for that API token or because of Mailerlite firewall. Contact MailerLite for support.","kadence-blocks"):"Unauthorized"===t&&(e=(0,At.__)("Retrieving groups was denied because the provided API token is invalid.","kadence-blocks")),this.setState({group:[],groupError:e,groupsLoaded:!0,isFetching:!1})})).catch((()=>{this.setState({group:[],groupError:e,groupsLoaded:!0,isFetching:!1})}))):this.setState({group:[],groupError:e,groupsLoaded:!0})}getMailerLiteFields(){if(!this.state.api){const e=[];return e.push({value:null,label:"None"}),e.push({value:"email",label:"Email *"}),void this.setState({groupFields:e,groupFieldsLoaded:!0})}this.setState({isFetchingFields:!0}),Ot()({path:Tt("/kb-mailerlite/v1/get",{apikey:this.state.api,endpoint:"fields"})}).then((e=>{if(Array.isArray(e)){const t=[];t.push({value:null,label:"None"}),t.push({value:"email",label:"Email *"}),e.map(((e,a)=>{"email"!==e.key&&t.push({value:e.key,label:e.title})})),this.setState({groupFields:t,groupFieldsLoaded:!0,isFetchingFields:!1})}else if(void 0!==e?.data&&Array.isArray(e.data)){const t=[];t.push({value:null,label:"None"}),t.push({value:"email",label:"Email *"}),e.data.map(((e,a)=>{"email"!==e.key&&t.push({value:e.key,label:e.name})})),this.setState({groupFields:t,groupFieldsLoaded:!0,isFetchingFields:!1})}else{const e=[];e.push({value:null,label:"None"}),e.push({value:"email",label:"Email *"}),this.setState({groupFields:e,groupFieldsLoaded:!0,isFetchingFields:!1})}})).catch((()=>{const e=[];e.push({value:null,label:"None"}),e.push({value:"email",label:"Email *"}),this.setState({groupFields:e,groupFieldsLoaded:!0,isFetchingFields:!1})}))}removeAPI(){this.setState({api:""}),this.state.isSavedAPI&&(this.setState({isSaving:!0}),new wp.api.models.Settings({kadence_blocks_mailerlite_api:""}).save().then((()=>{this.setState({isSavedAPI:!1,isSaving:!1})})))}saveAPI(){this.setState({isSaving:!0}),new wp.api.models.Settings({kadence_blocks_mailerlite_api:this.state.api}).save().then((e=>{this.setState({isSaving:!1,isSavedAPI:!0})}))}render(){const{group:e,groupsLoaded:t,isFetching:a,isSavedAPI:n,groupFields:i,groupError:r,isFetchingFields:l,groupFieldsLoaded:s}=this.state,c=!(!Array.isArray(e)||!e.length),u=!(!Array.isArray(this.state.groupFields)||!this.state.groupFields.length);return(0,o.createElement)(d.KadencePanelBody,{title:(0,At.__)("MailerLite Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-mailerlite-settings"},(0,o.createElement)("p",null,(0,o.createElement)(o.Fragment,null,(0,o.createElement)(Ft.ExternalLink,{href:"https://dashboard.mailerlite.com/integrations/api"},(0,At.__)("Get API Key","kadence-blocks")),"| ",(0,o.createElement)(Ft.ExternalLink,{href:"https://www.mailerlite.com/help/where-to-find-the-mailerlite-api-key-groupid-and-documentation"},(0,At.__)("Get help","kadence-blocks")))),(0,o.createElement)(Ft.TextControl,{label:(0,At.__)("API Key","kadence-blocks"),value:this.state.api,onChange:e=>this.setState({api:e})}),(0,o.createElement)("div",{className:"components-base-control"},(0,o.createElement)(Ft.Button,{isPrimary:!0,onClick:this.saveAPI,disabled:""===this.state.api},this.state.isSaving?(0,At.__)("Saving","kadence-blocks"):(0,At.__)("Save","kadence-blocks")),this.state.isSavedKey&&(0,o.createElement)(o.Fragment,null," ",(0,o.createElement)(Ft.Button,{isSecondary:!0,onClick:this.removeAPI},(0,At.__)("Remove","kadence-blocks")))),n&&(0,o.createElement)(o.Fragment,null,a&&(0,o.createElement)(Ft.Spinner,null),!a&&!c&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)("h2",{className:"kt-heading-size-title"},(0,At.__)("Select Group","kadence-blocks")),t?"":this.getMailerLiteGroup(),t?r:(0,o.createElement)(Ft.Spinner,null)),!a&&!0===c&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)("h2",{className:"kt-heading-size-title"},(0,At.__)("Select Group","kadence-blocks")),(0,o.createElement)("div",{className:"mailerlite-select-form-row"},(0,o.createElement)(Ct,{value:e?e.filter((({value:e})=>e.toString()===(void 0!==this.props.settings[0].group&&this.props.settings[0].group[0]?this.props.settings[0].group[0].toString():""))):"",onChange:e=>{this.props.save({group:e.value?[e.value]:[]})},placeholder:(0,At.__)("Select a Group","kadence-blocks"),maxMenuHeight:300,options:e})),!this.props.settings[0].group&&(0,o.createElement)("div",{style:{height:"100px"}}),this.props.settings[0].group&&(0,o.createElement)(o.Fragment,null,l&&(0,o.createElement)(Ft.Spinner,null),!l&&!u&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)("h2",{className:"kt-heading-size-title"},(0,At.__)("Map Fields","kadence-blocks")),s?"":this.getMailerLiteFields(),Array.isArray(i)?(0,At.__)("No Fields found.","kadence-blocks"):(0,o.createElement)(Ft.Spinner,null)),!l&&!0===u&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)("h2",{className:"kt-heading-size-title"},(0,At.__)("Map Fields","kadence-blocks")),this.props.fields&&this.props.fields.map(((e,t)=>(0,o.createElement)("div",{key:t,className:"kb-field-map-item"},(0,o.createElement)("div",{className:"kb-field-map-item-form"},(0,o.createElement)("p",{className:"kb-field-map-item-label"},(0,At.__)("Form Field","kadence-blocks")),(0,o.createElement)("p",{className:"kb-field-map-item-name"},e.label)),(0,o.createElement)(Ft.SelectControl,{label:(0,At.__)("Select Field:","kadence-blocks"),options:i,value:void 0!==this.props.settings[0].map&&void 0!==this.props.settings[0].map[t]&&this.props.settings[0].map[t]?this.props.settings[0].map[t]:"",onChange:e=>{this.props.saveMap(e,t)}})))))))))}},$t=window.wp.url,{Component:Mt,Fragment:Ht}=wp.element,Lt=class extends Mt{constructor(e,t,a){super(...arguments),this.getLists=this.getLists.bind(this),this.getFields=this.getFields.bind(this),this.getTags=this.getTags.bind(this),this.state={isActive:!1,isSaving:!1,list:!1,listTags:!1,isFetching:!1,isFetchingTags:!1,listsLoaded:!1,isFetchingFields:!1,listFields:!1,listFieldsLoaded:!1}}componentDidMount(){void 0!==kadence_blocks_params.fluentCRM&&kadence_blocks_params.fluentCRM&&this.setState({isActive:!0})}getLists(){this.setState({isFetching:!0}),Ot()({path:(0,$t.addQueryArgs)("/kb-fluentcrm/v1/get",{endpoint:"lists"})}).then((e=>{const t=[];e.map((e=>{t.push({value:e.id,label:e.title})})),this.setState({list:t,listsLoaded:!0,isFetching:!1})})).catch((()=>{this.setState({list:[],listsLoaded:!0,isFetching:!1})}))}getTags(){this.setState({isFetchingTags:!0}),Ot()({path:(0,$t.addQueryArgs)("/kb-fluentcrm/v1/get",{endpoint:"tags"})}).then((e=>{const t=[];e.map((e=>{t.push({value:e.id,label:e.title})})),this.setState({listTags:t,tagsLoaded:!0,isFetchingTags:!1})})).catch((()=>{this.setState({listTags:[],tagsLoaded:!0,isFetchingTags:!1})}))}getFields(){this.setState({isFetchingFields:!0}),Ot()({path:(0,$t.addQueryArgs)("/kb-fluentcrm/v1/get",{endpoint:"fields"})}).then((e=>{const t=[];t.push({value:null,label:"None"}),t.push({value:"email",label:"Email *"}),e.map(((e,a)=>{"email"!==e.key&&t.push({value:e.key,label:e.title})})),this.setState({listFields:t,listFieldsLoaded:!0,isFetchingFields:!1})})).catch((()=>{const e=[];e.push({value:null,label:"None"}),e.push({value:"email",label:"Email *"}),this.setState({listFields:e,listFieldsLoaded:!0,isFetchingFields:!1})}))}render(){const{list:e,listsLoaded:t,isFetching:a,isActive:n,listFields:i,isFetchingFields:r,listFieldsLoaded:l,tagsLoaded:s,isFetchingTags:c,listTags:u}=this.state,p=Array.isArray(e)&&e.length,b=Array.isArray(this.state.listFields)&&this.state.listFields.length,m=Array.isArray(this.state.listTags)&&this.state.listTags.length;return(0,o.createElement)(d.KadencePanelBody,{title:(0,At.__)("FluentCRM Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-fluent-crm-settings"},!n&&(0,o.createElement)(Ht,null,(0,At.__)("FluentCRM is not setup/active.","kadence-blocks")),n&&(0,o.createElement)(Ht,null,a&&(0,o.createElement)(Ft.Spinner,null),!a&&!p&&(0,o.createElement)(Ht,null,(0,o.createElement)("h2",{className:"kt-heading-size-title"},(0,At.__)("Select List","kadence-blocks")),t?"":this.getLists(),Array.isArray(e)?(0,At.__)("No lists found.","kadence-blocks"):(0,o.createElement)(Ft.Spinner,null)),!a&&p&&(0,o.createElement)(Ht,null,(0,o.createElement)("h2",{className:"kb-heading-fln-list-title"},(0,At.__)("Select List","kadence-blocks")),(0,o.createElement)(Ct,{value:void 0!==this.props.settings[0].lists?this.props.settings[0].lists:"",onChange:e=>{this.props.save({lists:e||[]})},id:"fln-list-selection",options:e,isMulti:!0,maxMenuHeight:200,placeholder:(0,At.__)("Select List","kadence-blocks")}),!this.props.settings[0].lists&&(0,o.createElement)("div",{style:{height:"100px"}}),void 0!==this.props.settings&&void 0!==this.props.settings[0]&&this.props.settings[0].lists&&this.props.settings[0].lists[0]&&(0,o.createElement)(Ht,null,c&&(0,o.createElement)(Ft.Spinner,null),!c&&!m&&(0,o.createElement)(Ht,null,(0,o.createElement)("h2",{className:"kt-heading-size-title"},(0,At.__)("Select Tags","kadence-blocks")),s?"":this.getTags(),Array.isArray(u)?(0,At.__)("No Tags found.","kadence-blocks"):(0,o.createElement)(Ft.Spinner,null)),!c&&m&&(0,o.createElement)(Ht,null,(0,o.createElement)("h2",{className:"kt-heading-size-title"},(0,At.__)("Select Tags","kadence-blocks")),(0,o.createElement)(Ct,{value:void 0!==this.props.settings&&void 0!==this.props.settings[0]&&void 0!==this.props.settings[0].tags?this.props.settings[0].tags:"",onChange:e=>{this.props.save({tags:e||[]})},id:"fln-tag-selection",isClearable:!0,options:u,isMulti:!0,maxMenuHeight:200,placeholder:(0,At.__)("Select Tags","kadence-blocks")})),r&&(0,o.createElement)(Ft.Spinner,null),!r&&!b&&(0,o.createElement)(Ht,null,(0,o.createElement)("h2",{className:"kt-heading-size-title"},(0,At.__)("Map Fields","kadence-blocks")),l?"":this.getFields(),Array.isArray(i)?(0,At.__)("No Fields found.","kadence-blocks"):(0,o.createElement)(Ft.Spinner,null)),!r&&b&&(0,o.createElement)(Ht,null,(0,o.createElement)("h2",{className:"kt-heading-size-title"},(0,At.__)("Map Fields","kadence-blocks")),this.props.fields&&this.props.fields.map(((e,t)=>(0,o.createElement)("div",{key:t,className:"kb-field-map-item"},(0,o.createElement)("div",{className:"kb-field-map-item-form"},(0,o.createElement)("p",{className:"kb-field-map-item-label"},(0,At.__)("Form Field","kadence-blocks")),(0,o.createElement)("p",{className:"kb-field-map-item-name"},e.label)),(0,o.createElement)(Ft.SelectControl,{label:(0,At.__)("Select Field:","kadence-blocks"),options:i,value:void 0!==this.props.settings[0].map&&void 0!==this.props.settings[0].map[t]&&this.props.settings[0].map[t]?this.props.settings[0].map[t]:"",onChange:e=>{this.props.saveMap(e,t)}}))))),(0,o.createElement)("div",{style:{height:"10px"}}),(0,o.createElement)(Ft.ToggleControl,{label:(0,At.__)("Require Double Opt In?","kadence-blocks"),checked:void 0!==this.props.settings&&void 0!==this.props.settings[0]&&void 0!==this.props.settings[0].doubleOptin&&this.props.settings[0].doubleOptin,onChange:e=>this.props.save({doubleOptin:e})})))))}},Dt=window.kadence.helpers,zt=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"title":"Form","name":"kadence/form","category":"kadence-blocks","textdomain":"kadence-blocks","keywords":["contact","marketing","KB"],"attributes":{"uniqueID":{"type":"string","default":""},"postID":{"type":"string","default":""},"hAlign":{"type":"string","default":""},"fields":{"type":"array","default":[{"label":"Name","showLabel":true,"placeholder":"","default":"","description":"","rows":4,"options":[{"value":"","label":""}],"multiSelect":false,"inline":false,"showLink":false,"min":"","max":"","type":"text","required":false,"width":["100","",""],"auto":"","errorMessage":"","requiredMessage":"","slug":"","ariaLabel":""},{"label":"Email","showLabel":true,"placeholder":"","default":"","description":"","rows":4,"options":[{"value":"","label":""}],"multiSelect":false,"inline":false,"showLink":false,"min":"","max":"","type":"email","required":true,"width":["100","",""],"auto":"","errorMessage":"","requiredMessage":"","slug":"","ariaLabel":""},{"label":"Message","showLabel":true,"placeholder":"","default":"","description":"","rows":4,"options":[{"value":"","label":""}],"multiSelect":false,"inline":false,"showLink":false,"min":"","max":"","type":"textarea","required":true,"width":["100","",""],"auto":"","errorMessage":"","requiredMessage":"","slug":"","ariaLabel":""}]},"messages":{"type":"array","default":[{"success":"","error":"","required":"","invalid":"","recaptchaerror":"","preError":""}]},"messageFont":{"type":"array","default":[{"colorSuccess":"","colorError":"","borderSuccess":"","borderError":"","backgroundSuccess":"","backgroundSuccessOpacity":1,"backgroundError":"","backgroundErrorOpacity":1,"borderWidth":["","","",""],"borderRadius":"","size":["","",""],"sizeType":"px","lineHeight":["","",""],"lineType":"px","letterSpacing":"","textTransform":"","family":"","google":"","style":"","weight":"","variant":"","subset":"","loadGoogle":true,"padding":["","","",""],"margin":["","","",""]}]},"style":{"type":"array","default":[{"showRequired":true,"size":"standard","deskPadding":["","","",""],"tabletPadding":["","","",""],"mobilePadding":["","","",""],"color":"","requiredColor":"","background":"","border":"","backgroundOpacity":1,"borderOpacity":1,"borderRadius":"","borderWidth":["","","",""],"colorActive":"","backgroundActive":"","borderActive":"","backgroundActiveOpacity":1,"borderActiveOpacity":1,"gradient":["#999999",1,0,100,"linear",180,"center center"],"gradientActive":["#777777",1,0,100,"linear",180,"center center"],"backgroundType":"solid","backgroundActiveType":"solid","boxShadow":[false,"#000000",0.2,1,1,2,0,false],"boxShadowActive":[false,"#000000",0.4,2,2,3,0,false],"fontSize":["","",""],"fontSizeType":"px","lineHeight":["","",""],"lineType":"px","rowGap":"","rowGapType":"px","gutter":"","gutterType":"px","tabletRowGap":"","mobileRowGap":"","tabletGutter":"","mobileGutter":""}]},"labelFont":{"type":"array","default":[{"color":"","size":["","",""],"sizeType":"px","lineHeight":["","",""],"lineType":"px","letterSpacing":"","textTransform":"","family":"","google":"","style":"","weight":"","variant":"","subset":"","loadGoogle":true,"padding":["","","",""],"margin":["","","",""]}]},"submit":{"type":"array","default":[{"label":"","width":["100","",""],"size":"standard","widthType":"auto","fixedWidth":["","",""],"align":["","",""],"deskPadding":["","","",""],"tabletPadding":["","","",""],"mobilePadding":["","","",""],"color":"","background":"","border":"","backgroundOpacity":1,"borderOpacity":1,"borderRadius":"","borderWidth":["","","",""],"colorHover":"","backgroundHover":"","borderHover":"","backgroundHoverOpacity":1,"borderHoverOpacity":1,"icon":"","iconSide":"right","iconHover":false,"cssClass":"","gradient":["#999999",1,0,100,"linear",180,"center center"],"gradientHover":["#777777",1,0,100,"linear",180,"center center"],"btnStyle":"basic","btnSize":"standard","backgroundType":"solid","backgroundHoverType":"solid","boxShadow":[false,"#000000",0.2,1,1,2,0,false],"boxShadowHover":[false,"#000000",0.4,2,2,3,0,false]}]},"submitMargin":{"type":"array","default":[{"desk":["","","",""],"tablet":["","","",""],"mobile":["","","",""],"unit":"px","control":"linked"}]},"submitFont":{"type":"array","default":[{"size":["","",""],"sizeType":"px","lineHeight":["","",""],"lineType":"px","letterSpacing":"","textTransform":"","family":"","google":"","style":"","weight":"","variant":"","subset":"","loadGoogle":true}]},"actions":{"type":"array","default":["email"]},"email":{"type":"array","default":[{"emailTo":"","subject":"","fromEmail":"","fromName":"","replyTo":"email_field","cc":"","bcc":"","html":true}]},"redirect":{"type":"string","default":""},"recaptcha":{"type":"boolean","default":false},"recaptchaVersion":{"type":"string","default":"v3"},"honeyPot":{"type":"boolean","default":true},"mailerlite":{"type":"array","default":[{"group":[],"map":[]}]},"fluentcrm":{"type":"array","default":[{"lists":[],"tags":[],"map":[],"doubleOptin":false}]},"containerMarginType":{"type":"string","default":"px"},"containerMargin":{"type":"array","default":["","","",""]},"tabletContainerMargin":{"type":"array","default":["","","",""]},"mobileContainerMargin":{"type":"array","default":["","","",""]},"submitLabel":{"type":"string","default":""},"hAlignFormFeilds":{"type":"boolean","default":false}},"supports":{"anchor":true,"align":["wide","full"],"ktanimate":true,"ktanimateadd":true,"ktanimatepreview":true,"ktanimateswipe":true,"kbMetadata":true},"usesContext":["postId"]}'),Rt=(window.wp.widgets,window.wp.data),It=window.wp.element,Bt=window.wp.blockEditor,qt=window.wp.hooks,Wt=window.wp.keycodes,Vt=[{value:"email",label:(0,At.__)("Email","kadence-blocks"),help:"",isDisabled:!1},{value:"redirect",label:(0,At.__)("Redirect","kadence-blocks"),help:"",isDisabled:!1},{value:"mailerlite",label:(0,At.__)("Mailerlite","kadence-blocks"),help:(0,At.__)("Add User to MailerLite list","kadence-blocks"),isDisabled:!1},{value:"fluentCRM",label:(0,At.__)("FluentCRM","kadence-blocks"),help:(0,At.__)("Add User to FluentCRM list","kadence-blocks"),isDisabled:!1},{value:"autoEmail",label:(0,At.__)("Auto Respond Email (Pro addon)","kadence-blocks"),help:(0,At.__)("Send instant response to form entrant","kadence-blocks"),isDisabled:!0},{value:"entry",label:(0,At.__)("Database Entry (Pro addon)","kadence-blocks"),help:(0,At.__)("Log each form submission","kadence-blocks"),isDisabled:!0},{value:"sendinblue",label:(0,At.__)("Brevo (SendInBlue) (Pro addon)","kadence-blocks"),help:(0,At.__)("Add user to Brevo list","kadence-blocks"),isDisabled:!0},{value:"mailchimp",label:(0,At.__)("MailChimp (Pro addon)","kadence-blocks"),help:(0,At.__)("Add user to MailChimp list","kadence-blocks"),isDisabled:!0},{value:"mailchimp",label:(0,At.__)("MailChimp (Pro addon)","kadence-blocks"),help:(0,At.__)("Add user to MailChimp list","kadence-blocks"),isDisabled:!0},{value:"webhook",label:(0,At.__)("WebHook (Pro addon)","kadence-blocks"),help:(0,At.__)("Send form information to any third party webhook","kadence-blocks"),isDisabled:!0}];(0,window.wp.blocks.registerBlockType)("kadence/form",{...zt,title:(0,At._x)("Form","block title","kadence-blocks"),description:(0,At.__)("Create a contact or marketing form for your website.","kadence-blocks"),keywords:[(0,At.__)("contact","kadence-blocks"),(0,At.__)("marketing","kadence-blocks"),"KB"],icon:{src:l.formBlockIcon},edit:function(e){const{attributes:t,className:a,isSelected:n,setAttributes:i,clientId:l}=e,{uniqueID:c,style:u,fields:p,submit:b,actions:m,align:h,labelFont:g,recaptcha:v,redirect:f,messages:k,messageFont:y,email:_,hAlign:E,honeyPot:w,submitFont:x,kadenceAnimation:C,kadenceAOSOptions:S,submitMargin:O,recaptchaVersion:A,mailerlite:F,fluentcrm:T,containerMargin:N,tabletContainerMargin:P,mobileContainerMargin:$,containerMarginType:M,submitLabel:H,postID:L,hAlignFormFeilds:D}=t,{addUniqueID:z}=(0,Rt.useDispatch)("kadenceblocks/data"),{isUniqueID:R,isUniqueBlock:I,previewDevice:B,parentData:q}=(0,Rt.useSelect)((e=>{const t=e("core/block-editor").getBlockAttributes(e("core/block-editor").getBlockParentsByBlockName(l,"kadence-insights/ab-test").slice(-1)[0]);return{isUniqueID:t=>e("kadenceblocks/data").isUniqueID(t),isUniqueBlock:(t,a)=>e("kadenceblocks/data").isUniqueBlock(t,a),previewDevice:e("kadenceblocks/data").getPreviewDeviceType(),parentData:{rootBlock:e("core/block-editor").getBlock(e("core/block-editor").getBlockHierarchyRootClientId(l)),postId:e("core/editor")?.getCurrentPostId()?e("core/editor")?.getCurrentPostId():"",reusableParent:t||e("core/block-editor").getBlockAttributes(e("core/block-editor").getBlockParentsByBlockName(l,"core/block").slice(-1)[0]),editedPostId:!!e("core/edit-site")&&e("core/edit-site").getEditedPostId()}}}),[l]);(0,It.useEffect)((()=>{(0,Dt.setBlockDefaults)("kadence/form",t);const a=(0,Dt.getPostOrFseId)(e,q);L.toString()!==a.toString()&&i({postID:a.toString()});const o=(0,Dt.getUniqueId)(c,l,R,I,a);o!==c?(t.uniqueID=o,i({uniqueID:o}),z(o,l)):z(c,l)}),[]),(0,It.useEffect)((()=>{V((0,qt.applyFilters)("kadence.actionOptions",Vt)),u&&u[0]&&(u[0].deskPadding[0]===u[0].deskPadding[1]&&u[0].deskPadding[0]===u[0].deskPadding[2]&&u[0].deskPadding[0]===u[0].deskPadding[3]?K("linked"):K("individual"),u[0].tabletPadding[0]===u[0].tabletPadding[1]&&u[0].tabletPadding[0]===u[0].tabletPadding[2]&&u[0].tabletPadding[0]===u[0].tabletPadding[3]?X("linked"):X("individual"),u[0].mobilePadding[0]===u[0].mobilePadding[1]&&u[0].mobilePadding[0]===u[0].mobilePadding[2]&&u[0].mobilePadding[0]===u[0].mobilePadding[3]?J("linked"):J("individual"),u[0].borderWidth[0]===u[0].borderWidth[1]&&u[0].borderWidth[0]===u[0].borderWidth[2]&&u[0].borderWidth[0]===u[0].borderWidth[3]?ee("linked"):ee("individual")),b&&b[0]&&(b[0].deskPadding[0]===b[0].deskPadding[1]&&b[0].deskPadding[0]===b[0].deskPadding[2]&&b[0].deskPadding[0]===b[0].deskPadding[3]?se("linked"):se("individual"),b[0].tabletPadding[0]===b[0].tabletPadding[1]&&b[0].tabletPadding[0]===b[0].tabletPadding[2]&&b[0].tabletPadding[0]===b[0].tabletPadding[3]?ce("linked"):ce("individual"),b[0].mobilePadding[0]===b[0].mobilePadding[1]&&b[0].mobilePadding[0]===b[0].mobilePadding[2]&&b[0].mobilePadding[0]===b[0].mobilePadding[3]?pe("linked"):pe("individual"),b[0].borderWidth[0]===b[0].borderWidth[1]&&b[0].borderWidth[0]===b[0].borderWidth[2]&&b[0].borderWidth[0]===b[0].borderWidth[3]?re("linked"):re("individual")),y&&y[0]&&(y[0].borderWidth[0]===y[0].borderWidth[1]&&y[0].borderWidth[0]===y[0].borderWidth[2]&&y[0].borderWidth[0]===y[0].borderWidth[3]?me("linked"):me("individual")),Ot()({path:"/wp/v2/settings",method:"GET"}).then((e=>{Se(e.kadence_blocks_recaptcha_site_key),Ae(e.kadence_blocks_recaptcha_secret_key),Te(e.kadence_blocks_recaptcha_language),""!==Ce&&""!==Oe&&Pe(!0)}))}),[]);const[W,V]=(0,It.useState)(null),[G,j]=(0,It.useState)(null),[U,K]=(0,It.useState)("linked"),[Y,X]=(0,It.useState)("linked"),[Q,J]=(0,It.useState)("linked"),[Z,ee]=(0,It.useState)("linked"),[te,ae]=(0,It.useState)("individual"),[oe,ne]=(0,It.useState)("individual"),[ie,re]=(0,It.useState)("linked"),[le,se]=(0,It.useState)("linked"),[de,ce]=(0,It.useState)("linked"),[ue,pe]=(0,It.useState)("linked"),[be,me]=(0,It.useState)("linked"),[he,ge]=(0,It.useState)("individual"),[ve,fe]=(0,It.useState)("individual"),[ke,ye]=(0,It.useState)("individual"),[_e,Ee]=(0,It.useState)("individual"),[we,xe]=(0,It.useState)("individual"),[Ce,Se]=(0,It.useState)(""),[Oe,Ae]=(0,It.useState)(""),[Fe,Te]=(0,It.useState)(""),[Ne,Pe]=(0,It.useState)(!1),[$e,Me]=(0,It.useState)(!1),[He,Le]=(0,It.useState)("general"),De=(0,Dt.mouseOverVisualizer)(),ze=["postID"],Re=()=>{j(null)},Ie=e=>{G!==e&&j(e)},Be=(e,t)=>{const a=[...p];a.splice(t,1,p[e]),a.splice(e,1,p[t]),j(t),i({fields:a})},qe=(e,t)=>{const a=p.map(((a,o)=>(t===o&&(a={...a,...e}),a)));i({fields:a})},We=e=>{const t=b.map(((t,a)=>(0===a&&(t={...t,...e}),t)));i({submit:t})},Ve=e=>{let t;t=void 0===O||void 0!==O&&void 0===O[0]?[{desk:["","","",""],tablet:["","","",""],mobile:["","","",""],unit:"px",control:"linked"}]:O;const a=t.map(((t,a)=>(0===a&&(t={...t,...e}),t)));i({submitMargin:a})},Ge=(e,t)=>{const a=b[0].gradient.map(((a,o)=>(t===o&&(a=e),a)));We({gradient:a})},je=(e,t)=>{const a=b[0].gradientHover.map(((a,o)=>(t===o&&(a=e),a)));We({gradientHover:a})},Ue=(e,t)=>{const a=b[0].boxShadow.map(((a,o)=>(t===o&&(a=e),a)));We({boxShadow:a})},Ke=(e,t)=>{const a=b[0].boxShadowHover.map(((a,o)=>(t===o&&(a=e),a)));We({boxShadowHover:a})},Ye=e=>{const t=x.map(((t,a)=>(0===a&&(t={...t,...e}),t)));i({submitFont:t})},Xe=e=>{const t=_.map(((t,a)=>(0===a&&(t={...t,...e}),t)));i({email:t})},Qe=e=>{const t=u.map(((t,a)=>(0===a&&(t={...t,...e}),t)));i({style:t})},Je=(e,t)=>{const a=u[0].gradient.map(((a,o)=>(t===o&&(a=e),a)));Qe({gradient:a})},Ze=(e,t)=>{const a=u[0].gradientActive.map(((a,o)=>(t===o&&(a=e),a)));Qe({gradientActive:a})},et=(e,t)=>{const a=u[0].boxShadow.map(((a,o)=>(t===o&&(a=e),a)));Qe({boxShadow:a})},tt=(e,t)=>{const a=u[0].boxShadowActive.map(((a,o)=>(t===o&&(a=e),a)));Qe({boxShadowActive:a})},at=e=>{const t=g.map(((t,a)=>(0===a&&(t={...t,...e}),t)));i({labelFont:t})},ot=e=>{const t=y.map(((t,a)=>(0===a&&(t={...t,...e}),t)));i({messageFont:t})},nt=e=>{const t=k.map(((t,a)=>(0===a&&(t={...t,...e}),t)));i({messages:t})},it=(e,t,a)=>{const o=p[a]&&p[a].options?[...p[a].options]:[];o&&(o.splice(t,1,p[a].options[e]),o.splice(e,1,p[a].options[t]),qe({options:o},a))},rt=void 0!==O&&void 0!==O[0]&&O[0].unit?O[0].unit:"px",lt=(0,Dt.getPreviewSize)(B,void 0!==O&&void 0!==O[0]&&O[0].desk?O[0].desk[0]:"",void 0!==O&&void 0!==O[0]&&O[0].tablet?O[0].tablet[0]:"",void 0!==O&&void 0!==O[0]&&O[0].mobile?O[0].mobile[0]:""),st=(0,Dt.getPreviewSize)(B,void 0!==O&&void 0!==O[0]&&O[0].desk?O[0].desk[1]:"",void 0!==O&&void 0!==O[0]&&O[0].tablet?O[0].tablet[1]:"",void 0!==O&&void 0!==O[0]&&O[0].mobile?O[0].mobile[1]:""),dt=(0,Dt.getPreviewSize)(B,void 0!==O&&void 0!==O[0]&&O[0].desk?O[0].desk[2]:"",void 0!==O&&void 0!==O[0]&&O[0].tablet?O[0].tablet[2]:"",void 0!==O&&void 0!==O[0]&&O[0].mobile?O[0].mobile[2]:""),ct=(0,Dt.getPreviewSize)(B,void 0!==O&&void 0!==O[0]&&O[0].desk?O[0].desk[3]:"",void 0!==O&&void 0!==O[0]&&O[0].tablet?O[0].tablet[3]:"",void 0!==O&&void 0!==O[0]&&O[0].mobile?O[0].mobile[3]:""),ut=((0,Dt.getPreviewSize)(B,void 0!==b&&void 0!==b[0]&&b[0].width?b[0].width[0]:"",void 0!==b&&void 0!==b[0]&&b[0].width?b[0].width[1]:"",void 0!==b&&void 0!==b[0]&&b[0].width?b[0].width[2]:""),void 0!==x&&void 0!==x[0]&&x[0].lineType?x[0].lineType:"px"),pt=(0,Dt.getPreviewSize)(B,void 0!==x&&void 0!==x[0]&&x[0].lineHeight?x[0].lineHeight[0]:"",void 0!==x&&void 0!==x[0]&&x[0].lineHeight?x[0].lineHeight[1]:"",void 0!==x&&void 0!==x[0]&&x[0].lineHeight?x[0].lineHeight[2]:""),bt=void 0!==M?M:"px",mt=(0,Dt.getPreviewSize)(B,void 0!==N&&void 0!==N[0]?N[0]:"",void 0!==P&&void 0!==P[0]?P[0]:"",void 0!==$&&void 0!==$[0]?$[0]:""),ht=(0,Dt.getPreviewSize)(B,void 0!==N&&void 0!==N[1]?N[1]:"",void 0!==P&&void 0!==P[1]?P[1]:"",void 0!==$&&void 0!==$[1]?$[1]:""),gt=(0,Dt.getPreviewSize)(B,void 0!==N&&void 0!==N[2]?N[2]:"",void 0!==P&&void 0!==P[2]?P[2]:"",void 0!==$&&void 0!==$[2]?$[2]:""),vt=(0,Dt.getPreviewSize)(B,void 0!==N&&void 0!==N[3]?N[3]:"",void 0!==P&&void 0!==P[3]?P[3]:"",void 0!==$&&void 0!==$[3]?$[3]:""),ft=(0,Dt.getPreviewSize)(B,u[0].fontSize[0],u[0].fontSize[1],u[0].fontSize[2]),kt=u[0].fontSizeType,yt=(0,Dt.getPreviewSize)(B,u[0].lineHeight[0],u[0].lineHeight[1],u[0].lineHeight[2]),_t=u[0].lineType,Et=(0,Dt.getPreviewSize)(B,g[0].size[0],g[0].size[1],g[0].size[2]),wt=g[0].sizeType,xt=(0,Dt.getPreviewSize)(B,g[0].lineHeight[0],g[0].lineHeight[1],g[0].lineHeight[2]),Ct=g[0].lineType,St=(0,Dt.getPreviewSize)(B,x[0].size[0],x[0].size[1],x[0].size[2]),Tt=x[0].sizeType,Nt=(0,Dt.getPreviewSize)(B,void 0!==u[0].rowGap&&""!==u[0].rowGap?u[0].rowGap+"px":"",void 0!==u[0].tabletRowGap&&""!==u[0].tabletRowGap?u[0].tabletRowGap+"px":"",void 0!==u[0].mobileRowGap&&""!==u[0].mobileRowGap?u[0].mobileRowGap+"px":""),$t=(0,Dt.getPreviewSize)(B,void 0!==u[0].gutter&&""!==u[0].gutter?u[0].gutter:"",void 0!==u[0].tabletGutter&&""!==u[0].tabletGutter?u[0].tabletGutter:"",void 0!==u[0].mobileGutter&&""!==u[0].mobileGutter?u[0].mobileGutter:""),Mt="em"===M||"rem"===M?-25:-999,Ht="em"===M||"rem"===M?25:999,Gt="em"===M||"rem"===M?.1:1,jt=e=>{const t=F.map(((t,a)=>(0===a&&(t={...t,...e}),t)));i({mailerlite:t})},Ut=e=>{const t=T.map(((t,a)=>(0===a&&(t={...t,...e}),t)));i({fluentcrm:t})},Kt=[{key:"small",name:(0,At.__)("S","kadence-blocks")},{key:"standard",name:(0,At.__)("M","kadence-blocks")},{key:"large",name:(0,At.__)("L","kadence-blocks")},{key:"custom",name:(0,o.createElement)(Ft.Dashicon,{icon:"admin-generic"})}],Yt=[{key:"v3",name:(0,At.__)("V3","kadence-blocks")},{key:"v2",name:(0,At.__)("V2","kadence-blocks")}],Xt=[{key:"auto",name:(0,At.__)("Auto","kadence-blocks")},{key:"fixed",name:(0,At.__)("Fixed","kadence-blocks")},{key:"full",name:(0,At.__)("Full","kadence-blocks")}],Qt=[{key:"linear",name:(0,At.__)("Linear","kadence-blocks")},{key:"radial",name:(0,At.__)("Radial","kadence-blocks")}],Jt=[{key:"solid",name:(0,At.__)("Solid","kadence-blocks")},{key:"gradient",name:(0,At.__)("Gradient","kadence-blocks")}],Zt=void 0!==O&&void 0!==O[0]&&O[0].unit?O[0].unit:"px",ea="em"===Zt||"rem"===Zt?-12:-100,ta="em"===Zt||"rem"===Zt?12:100,aa="em"===Zt||"rem"===Zt?.1:1,oa={google:{families:[g[0].family+(g[0].variant?":"+g[0].variant:"")]}},na=g[0].google?oa:"",ia={google:{families:[x[0].family+(x[0].variant?":"+x[0].variant:"")]}},ra=x[0].google?ia:"";let la,sa,da,ca,ua,pa;void 0!==b[0].backgroundType&&"gradient"===b[0].backgroundType?(sa=void 0===b[0].background?"rgba(255,255,255,0)":(0,Dt.KadenceColorOutput)(b[0].background,void 0!==b[0].backgroundOpacity?b[0].backgroundOpacity:1),da=void 0!==b[0].gradient&&void 0!==b[0].gradient[0]&&""!==b[0].gradient[0]?(0,Dt.KadenceColorOutput)(b[0].gradient[0],void 0!==b[0].gradient&&void 0!==b[0].gradient[1]?b[0].gradient[1]:1):(0,Dt.KadenceColorOutput)("#999999",void 0!==b[0].gradient&&void 0!==b[0].gradient[1]?b[0].gradient[1]:1),void 0!==b[0].gradient&&"radial"===b[0].gradient[4]?la=`radial-gradient(at ${void 0===b[0].gradient[6]?"center center":b[0].gradient[6]}, ${sa} ${void 0===b[0].gradient[2]?"0":b[0].gradient[2]}%, ${da} ${void 0===b[0].gradient[3]?"100":b[0].gradient[3]}%)`:void 0!==b[0].gradient&&"radial"===b[0].gradient[4]||(la=`linear-gradient(${void 0!==b[0].gradient&&void 0!==b[0].gradient[5]?b[0].gradient[5]:"180"}deg, ${sa} ${void 0!==b[0].gradient&&void 0!==b[0].gradient[2]?b[0].gradient[2]:"0"}%, ${da} ${void 0!==b[0].gradient&&void 0!==b[0].gradient[3]?b[0].gradient[3]:"100"}%)`)):la=void 0===b[0].background?void 0:(0,Dt.KadenceColorOutput)(b[0].background,void 0!==b[0].backgroundOpacity?b[0].backgroundOpacity:1),void 0!==u[0].backgroundType&&"gradient"===u[0].backgroundType?(ua=void 0===u[0].background?"rgba(255,255,255,0)":(0,Dt.KadenceColorOutput)(u[0].background,void 0!==u[0].backgroundOpacity?u[0].backgroundOpacity:1),pa=void 0!==u[0].gradient&&void 0!==u[0].gradient[0]&&""!==u[0].gradient[0]?(0,Dt.KadenceColorOutput)(u[0].gradient[0],void 0!==u[0].gradient&&void 0!==u[0].gradient[1]?u[0].gradient[1]:1):(0,Dt.KadenceColorOutput)("#999999",void 0!==u[0].gradient&&void 0!==u[0].gradient[1]?u[0].gradient[1]:1),void 0!==u[0].gradient&&"radial"===u[0].gradient[4]?ca=`radial-gradient(at ${void 0===u[0].gradient[6]?"center center":u[0].gradient[6]}, ${ua} ${void 0===u[0].gradient[2]?"0":u[0].gradient[2]}%, ${pa} ${void 0===u[0].gradient[3]?"100":u[0].gradient[3]}%)`:void 0!==u[0].gradient&&"radial"===u[0].gradient[4]||(ca=`linear-gradient(${void 0!==u[0].gradient&&void 0!==u[0].gradient[5]?u[0].gradient[5]:"180"}deg, ${ua} ${void 0!==u[0].gradient&&void 0!==u[0].gradient[2]?u[0].gradient[2]:"0"}%, ${pa} ${void 0!==u[0].gradient&&void 0!==u[0].gradient[3]?u[0].gradient[3]:"100"}%)`)):ca=void 0===u[0].background?void 0:(0,Dt.KadenceColorOutput)(u[0].background,void 0!==u[0].backgroundOpacity?u[0].backgroundOpacity:1);const ba=(0,o.createElement)(It.Fragment,null,(0,s.times)(p.length,(t=>(t=>{const a=n&&G===t;return"hidden"===p[t].type?(0,o.createElement)(d.KadencePanelBody,{title:(void 0!==p[t].label&&null!==p[t].label&&""!==p[t].label?p[t].label:(0,At.__)("Field","kadence-blocks")+" "+(t+1))+" "+(0,At.__)("Settings","kadence-blocks"),initialOpen:!1,key:"field-panel-"+t.toString(),opened:!0===a||void 0,panelName:"kb-form-field-"+t},(0,o.createElement)(Ft.SelectControl,{label:(0,At.__)("Field Type","kadence-blocks"),value:p[t].type,options:[{value:"text",label:(0,At.__)("Text","kadence-blocks")},{value:"email",label:(0,At.__)("Email","kadence-blocks")},{value:"textarea",label:(0,At.__)("Textarea","kadence-blocks")},{value:"accept",label:(0,At.__)("Accept","kadence-blocks")},{value:"select",label:(0,At.__)("Select","kadence-blocks")},{value:"tel",label:(0,At.__)("Telephone","kadence-blocks")},{value:"checkbox",label:(0,At.__)("Checkboxes","kadence-blocks")},{value:"radio",label:(0,At.__)("Radio","kadence-blocks")},{value:"hidden",label:(0,At.__)("Hidden","kadence-blocks")}],onChange:e=>{qe({type:e},t)}}),(0,o.createElement)(Ft.TextControl,{label:(0,At.__)("Field Name","kadence-blocks"),placeholder:(0,At.__)("Field Name","kadence-blocks"),value:void 0!==p[t].label?p[t].label:"",onChange:e=>qe({label:e},t)}),(0,o.createElement)(Ft.TextControl,{label:(0,At.__)("Field Input","kadence-blocks"),value:void 0!==p[t].default?p[t].default:"",onChange:e=>qe({default:e},t)})):(0,o.createElement)(d.KadencePanelBody,{title:(void 0!==p[t].label&&null!==p[t].label&&""!==p[t].label?p[t].label:(0,At.__)("Field","kadence-blocks")+" "+(t+1))+" "+(0,At.__)("Settings","kadence-blocks"),initialOpen:!1,key:"field-panel-"+t.toString(),opened:!0===a||void 0,panelName:"kb-form-field-label-"+t},(0,o.createElement)(Ft.SelectControl,{label:(0,At.__)("Field Type","kadence-blocks"),value:p[t].type,options:[{value:"text",label:(0,At.__)("Text","kadence-blocks")},{value:"email",label:(0,At.__)("Email","kadence-blocks")},{value:"textarea",label:(0,At.__)("Textarea","kadence-blocks")},{value:"accept",label:(0,At.__)("Accept","kadence-blocks")},{value:"select",label:(0,At.__)("Select","kadence-blocks")},{value:"tel",label:(0,At.__)("Telephone","kadence-blocks")},{value:"checkbox",label:(0,At.__)("Checkboxes","kadence-blocks")},{value:"radio",label:(0,At.__)("Radio","kadence-blocks")},{value:"hidden",label:(0,At.__)("Hidden","kadence-blocks")}],onChange:e=>{qe({type:e},t)}}),(0,o.createElement)(Ft.ToggleControl,{label:(0,At.__)("Required?","kadence-blocks"),checked:void 0!==p[t].required&&p[t].required,onChange:e=>qe({required:e},t)}),"textarea"===p[t].type&&(0,o.createElement)(Ft.RangeControl,{label:(0,At.__)("Textarea Rows","kadence-blocks"),value:void 0!==p[t].rows?p[t].rows:"4",onChange:e=>qe({rows:e},t),min:1,max:100,step:1}),("select"===p[t].type||"radio"===p[t].type||"checkbox"===p[t].type)&&(0,o.createElement)(It.Fragment,null,(0,o.createElement)("div",{className:"kb-field-options-wrap"},(0,s.times)(p[t].options.length,(e=>(0,o.createElement)("div",{className:"field-options-wrap"},(0,o.createElement)(Ft.TextControl,{className:"kb-option-text-control",key:e,label:(0,At.__)("Option","kadence-blocks")+" "+(e+1),placeholder:(0,At.__)("Option","kadence-blocks"),value:void 0!==p[t].options[e].label?p[t].options[e].label:"",onChange:a=>((e,t,a)=>{const o=p[t].options.map(((t,o)=>(a===o&&(t={...t,...e}),t)));qe({options:o},t)})({label:a,value:a},t,e)}),(0,o.createElement)("div",{className:"kadence-blocks-list-item__control-menu"},(0,o.createElement)(Ft.Button,{icon:"arrow-up",onClick:()=>{return 0===e?void 0:void(0!==(a=e)&&it(a,a-1,t));var a},className:"kadence-blocks-list-item__move-up",label:(0,At.__)("Move Item Up","kadence-blocks"),"aria-disabled":0===e,disabled:0===e}),(0,o.createElement)(Ft.Button,{icon:"arrow-down",onClick:()=>{return e+1===p[t].options.length?void 0:void((a=e)!==p[o=t].options.length-1&&it(a,a+1,o));var a,o},className:"kadence-blocks-list-item__move-down",label:(0,At.__)("Move Item Down","kadence-blocks"),"aria-disabled":e+1===p[t].options.length,disabled:e+1===p[t].options.length}),(0,o.createElement)(Ft.Button,{icon:"no-alt",onClick:()=>((e,t)=>{if(1===Math.abs(p[t].options.length))return;const a=(0,s.filter)(p[t].options,((t,a)=>e!==a));qe({options:a},t)})(e,t),className:"kadence-blocks-list-item__remove",label:(0,At.__)("Remove Item","kadence-blocks"),disabled:1===p[t].options.length})))))),(0,o.createElement)(Ft.Button,{className:"kb-add-option",isPrimary:!0,onClick:()=>{const e=p[t].options;e.push({value:"",label:""}),qe({options:e},t)}},(0,o.createElement)(Ft.Dashicon,{icon:"plus"}),(0,At.__)("Add Option","kadence-blocks"))),"select"===p[t].type&&(0,o.createElement)(Ft.ToggleControl,{label:(0,At.__)("Multi Select?","kadence-blocks"),checked:void 0!==p[t].multiSelect&&p[t].multiSelect,onChange:e=>qe({multiSelect:e},t)}),("checkbox"===p[t].type||"radio"===p[t].type)&&(0,o.createElement)(Ft.ToggleControl,{label:(0,At.__)("Show inline?","kadence-blocks"),checked:void 0!==p[t].inline&&p[t].inline,onChange:e=>qe({inline:e},t)}),"accept"===p[t].type&&(0,o.createElement)(Ft.ToggleControl,{label:(0,At.__)("Show Policy Link","kadence-blocks"),checked:void 0!==p[t].showLink&&p[t].showLink,onChange:e=>qe({showLink:e},t)}),"accept"===p[t].type&&p[t].showLink&&(0,o.createElement)(It.Fragment,null,(0,o.createElement)(Ft.TextControl,{label:(0,At.__)("Link Text","kadence-blocks"),placeholder:(0,At.__)("View Privacy Policy","kadence-blocks"),value:void 0!==p[t].placeholder?p[t].placeholder:"",onChange:e=>qe({placeholder:e},t)}),(0,o.createElement)(d.URLInputControl,{label:(0,At.__)("Link URL","kadence-blocks"),url:void 0!==p[t].default?p[t].default:"",onChangeUrl:e=>qe({default:e},t),additionalControls:!1,...e})),"accept"===p[t].type&&(0,o.createElement)(Ft.ToggleControl,{label:(0,At.__)("Start checked?","kadence-blocks"),checked:void 0!==p[t].inline&&p[t].inline,onChange:e=>qe({inline:e},t)}),(0,o.createElement)(Ft.TextControl,{label:(0,At.__)("Field Label","kadence-blocks"),placeholder:(0,At.__)("Field Label","kadence-blocks"),value:void 0!==p[t].label?p[t].label:"",onChange:e=>qe({label:e},t)}),(0,o.createElement)(Ft.ToggleControl,{label:(0,At.__)("Show Label","kadence-blocks"),checked:void 0===p[t].showLabel||p[t].showLabel,onChange:e=>qe({showLabel:e},t)}),("accept"!==p[t].type||"select"!==p[t].type)&&(0,o.createElement)(Ft.TextControl,{label:(0,At.__)("Field Placeholder","kadence-blocks"),value:void 0!==p[t].placeholder?p[t].placeholder:"",onChange:e=>qe({placeholder:e},t)}),"accept"!==p[t].type&&(0,o.createElement)(Ft.TextControl,{label:(0,At.__)("Input Default","kadence-blocks"),value:void 0!==p[t].default?p[t].default:"",onChange:e=>qe({default:e},t)}),(0,o.createElement)(Ft.TextControl,{label:(0,At.__)("Help Text","kadence-blocks"),value:void 0!==p[t].description?p[t].description:"",onChange:e=>qe({description:e},t)}),(0,o.createElement)(Ft.TextControl,{label:(0,At.__)("Input aria description","kadence-blocks"),help:(0,At.__)("Provide more context for screen readers","kadence-blocks"),value:void 0!==p[t].ariaLabel?p[t].ariaLabel:"",onChange:e=>qe({ariaLabel:e},t)}),("text"===p[t].type||"email"===p[t].type||"tel"===p[t].type)&&(0,o.createElement)(Ft.SelectControl,{label:(0,At.__)("Field Auto Fill","kadence-blocks"),value:p[t].auto,options:[{value:"",label:(0,At.__)("Default","kadence-blocks")},{value:"name",label:(0,At.__)("Name","kadence-blocks")},{value:"given-name",label:(0,At.__)("First Name","kadence-blocks")},{value:"family-name",label:(0,At.__)("Last Name","kadence-blocks")},{value:"email",label:(0,At.__)("Email","kadence-blocks")},{value:"organization",label:(0,At.__)("Organization","kadence-blocks")},{value:"street-address",label:(0,At.__)("Street Address","kadence-blocks")},{value:"address-line1",label:(0,At.__)("Address Line 1","kadence-blocks")},{value:"address-line2",label:(0,At.__)("Address Line 1","kadence-blocks")},{value:"country-name",label:(0,At.__)("Country Name","kadence-blocks")},{value:"postal-code",label:(0,At.__)("Postal Code","kadence-blocks")},{value:"tel",label:(0,At.__)("Telephone","kadence-blocks")},{value:"off",label:(0,At.__)("Off","kadence-blocks")}],onChange:e=>{qe({auto:e},t)}}),(0,o.createElement)("h2",{className:"kt-heading-size-title kt-secondary-color-size"},(0,At.__)("Column Width","kadence-blocks")),(0,o.createElement)(Ft.TabPanel,{className:"kt-size-tabs",activeClass:"active-tab",tabs:[{name:"desk",title:(0,o.createElement)(Ft.Dashicon,{icon:"desktop"}),className:"kt-desk-tab"},{name:"tablet",title:(0,o.createElement)(Ft.Dashicon,{icon:"tablet"}),className:"kt-tablet-tab"},{name:"mobile",title:(0,o.createElement)(Ft.Dashicon,{icon:"smartphone"}),className:"kt-mobile-tab"}]},(e=>{let a;return e.name&&(a="mobile"===e.name?(0,o.createElement)(It.Fragment,null,(0,o.createElement)(Ft.SelectControl,{value:p[t].width[2],options:[{value:"20",label:(0,At.__)("20%","kadence-blocks")},{value:"25",label:(0,At.__)("25%","kadence-blocks")},{value:"33",label:(0,At.__)("33%","kadence-blocks")},{value:"40",label:(0,At.__)("40%","kadence-blocks")},{value:"50",label:(0,At.__)("50%","kadence-blocks")},{value:"60",label:(0,At.__)("60%","kadence-blocks")},{value:"66",label:(0,At.__)("66%","kadence-blocks")},{value:"75",label:(0,At.__)("75%","kadence-blocks")},{value:"80",label:(0,At.__)("80%","kadence-blocks")},{value:"100",label:(0,At.__)("100%","kadence-blocks")},{value:"",label:(0,At.__)("Unset","kadence-blocks")}],onChange:e=>{qe({width:[p[t].width[0]?p[t].width[0]:"100",p[t].width[1]?p[t].width[1]:"",e]},t)}})):"tablet"===e.name?(0,o.createElement)(It.Fragment,null,(0,o.createElement)(Ft.SelectControl,{value:p[t].width[1],options:[{value:"20",label:(0,At.__)("20%","kadence-blocks")},{value:"25",label:(0,At.__)("25%","kadence-blocks")},{value:"33",label:(0,At.__)("33%","kadence-blocks")},{value:"40",label:(0,At.__)("40%","kadence-blocks")},{value:"50",label:(0,At.__)("50%","kadence-blocks")},{value:"60",label:(0,At.__)("60%","kadence-blocks")},{value:"66",label:(0,At.__)("66%","kadence-blocks")},{value:"75",label:(0,At.__)("75%","kadence-blocks")},{value:"80",label:(0,At.__)("80%","kadence-blocks")},{value:"100",label:(0,At.__)("100%","kadence-blocks")},{value:"",label:(0,At.__)("Unset","kadence-blocks")}],onChange:e=>{qe({width:[p[t].width[0]?p[t].width[0]:"100",e,p[t].width[2]?p[t].width[2]:""]},t)}})):(0,o.createElement)(It.Fragment,null,(0,o.createElement)(Ft.SelectControl,{value:p[t].width[0],options:[{value:"20",label:(0,At.__)("20%","kadence-blocks")},{value:"25",label:(0,At.__)("25%","kadence-blocks")},{value:"33",label:(0,At.__)("33%","kadence-blocks")},{value:"40",label:(0,At.__)("40%","kadence-blocks")},{value:"50",label:(0,At.__)("50%","kadence-blocks")},{value:"60",label:(0,At.__)("60%","kadence-blocks")},{value:"66",label:(0,At.__)("66%","kadence-blocks")},{value:"75",label:(0,At.__)("75%","kadence-blocks")},{value:"80",label:(0,At.__)("80%","kadence-blocks")},{value:"100",label:(0,At.__)("100%","kadence-blocks")},{value:"unset",label:(0,At.__)("Unset","kadence-blocks")}],onChange:e=>{qe({width:[e,p[t].width[1]?p[t].width[1]:"",p[t].width[2]?p[t].width[2]:""]},t)}}))),(0,o.createElement)("div",{className:e.className,key:e.className},a)})),void 0!==p[t].required&&p[t].required&&(0,o.createElement)(Ft.TextControl,{label:(0,At.__)("Field error message when required","kadence-blocks"),value:void 0!==p[t].requiredMessage?p[t].requiredMessage:"",onChange:e=>qe({requiredMessage:e},t),placeholder:(void 0!==p[t].label?p[t].label:"")+" "+(0,At.__)("is required","kadence-blocks")}),("tel"===p[t].type||"email"===p[t].type)&&(0,o.createElement)(Ft.TextControl,{label:(0,At.__)("Field error message when invalid","kadence-blocks"),value:void 0!==p[t].errorMessage?p[t].errorMessage:"",onChange:e=>qe({errorMessage:e},t),placeholder:(void 0!==p[t].label?p[t].label:"")+" "+(0,At.__)("is not valid","kadence-blocks")}))})(t)))),ma=(0,o.createElement)(It.Fragment,null,(0,s.times)(p.length,(e=>(e=>{if("hidden"===p[e].type)return(0,o.createElement)("input",{type:"hidden",name:`kb_field_${e}`,value:p[e].default});const t=n&&G===e,a=r()({"kadence-blocks-form-field":!0,"is-selected":t,[`kb-input-size-${u[0].size}`]:u[0].size}),l=(0,At.sprintf)(/* translators: %1$d: field number %2$d: max amount of fields */ /* translators: %1$d: field number %2$d: max amount of fields */
(0,At.__)("Field %1$d of %2$d in form","kadence-blocks"),e+1,p.length);let d,c,b;return p[e].label&&p[e].label.includes("{privacy_policy}")?(c=p[e].label.split("{")[0],b=p[e].label.split("}")[1],d=(0,o.createElement)(It.Fragment,null,c,(0,o.createElement)("a",{href:""!==kadence_blocks_params.privacy_link?kadence_blocks_params.privacy_link:"#",target:"blank",rel:"noopener noreferrer"},""!==kadence_blocks_params.privacy_title?kadence_blocks_params.privacy_title:"Privacy policy"),b)):d=p[e].label,(0,o.createElement)("div",{className:a,key:"field-"+e.toString(),style:{width:("33"===p[e].width[0]?"33.33":p[e].width[0])+"%",marginBottom:Nt||void 0,paddingRight:void 0!==$t&&""!==$t?$t/2+"px":void 0,paddingLeft:void 0!==$t&&""!==$t?$t/2+"px":void 0},tabIndex:"0","aria-label":l,role:"button",onClick:()=>Ie(e),onFocus:()=>Ie(e),onKeyDown:t=>{const{keyCode:a}=t;a===Wt.DELETE&&(e=>{const t=(0,s.filter)(p,((t,a)=>e!==a));j(null),i({fields:t})})(e)}},"accept"===p[e].type&&(0,o.createElement)(It.Fragment,null,p[e].showLink&&(0,o.createElement)("a",{href:void 0!==p[e].default&&""!==p[e].default?p[e].default:"#",className:"kb-accept-link"},void 0!==p[e].placeholder&&""!==p[e].placeholder?p[e].placeholder:(0,o.createElement)("span",{className:"kb-placeholder"},"View Privacy Policy")),(0,o.createElement)("input",{type:"checkbox",name:`kb_field_${e}`,id:`kb_field_${e}`,className:`kb-field kb-checkbox-style kb-${p[e].type}`,value:"accept",checked:!!p[e].inline,style:{borderColor:void 0===u[0].border?void 0:(0,Dt.KadenceColorOutput)(u[0].border,void 0!==u[0].borderOpacity?u[0].borderOpacity:1)}}),(0,o.createElement)("label",{htmlFor:`kb_field_${e}`,style:{fontWeight:g[0].weight,fontStyle:g[0].style,color:(0,Dt.KadenceColorOutput)(g[0].color),fontSize:(0,Dt.getFontSizeOptionOutput)(Et,wt),lineHeight:xt+Ct,letterSpacing:g[0].letterSpacing+"px",textTransform:g[0].textTransform?g[0].textTransform:void 0,fontFamily:g[0].family?g[0].family:void 0,paddingTop:""!==g[0].padding[0]?g[0].padding[0]+"px":void 0,paddingRight:""!==g[0].padding[1]?g[0].padding[1]+"px":void 0,paddingBottom:""!==g[0].padding[2]?g[0].padding[2]+"px":void 0,paddingLeft:""!==g[0].padding[3]?g[0].padding[3]+"px":void 0,marginTop:""!==g[0].margin[0]?g[0].margin[0]+"px":void 0,marginRight:""!==g[0].margin[1]?g[0].margin[1]+"px":void 0,marginBottom:""!==g[0].margin[2]?g[0].margin[2]+"px":void 0,marginLeft:""!==g[0].margin[3]?g[0].margin[3]+"px":void 0}},p[e].label?d:(0,o.createElement)("span",{className:"kb-placeholder"},"Field Label")," ",p[e].required&&u[0].showRequired?(0,o.createElement)("span",{className:"required",style:{color:(0,Dt.KadenceColorOutput)(u[0].requiredColor)}},"*"):"")),"accept"!==p[e].type&&(0,o.createElement)(It.Fragment,null,p[e].showLabel&&(0,o.createElement)("label",{htmlFor:`kb_field_${e}`,style:{fontWeight:g[0].weight,fontStyle:g[0].style,color:(0,Dt.KadenceColorOutput)(g[0].color),fontSize:(0,Dt.getFontSizeOptionOutput)(Et,wt),lineHeight:xt+Ct,letterSpacing:g[0].letterSpacing+"px",textTransform:g[0].textTransform?g[0].textTransform:void 0,fontFamily:g[0].family?g[0].family:void 0,paddingTop:""!==g[0].padding[0]?g[0].padding[0]+"px":void 0,paddingRight:""!==g[0].padding[1]?g[0].padding[1]+"px":void 0,paddingBottom:""!==g[0].padding[2]?g[0].padding[2]+"px":void 0,paddingLeft:""!==g[0].padding[3]?g[0].padding[3]+"px":void 0,marginTop:""!==g[0].margin[0]?g[0].margin[0]+"px":void 0,marginRight:""!==g[0].margin[1]?g[0].margin[1]+"px":void 0,marginBottom:""!==g[0].margin[2]?g[0].margin[2]+"px":void 0,marginLeft:""!==g[0].margin[3]?g[0].margin[3]+"px":void 0}},p[e].label?p[e].label:(0,o.createElement)("span",{className:"kb-placeholder"},"Field Label")," ",p[e].required&&u[0].showRequired?(0,o.createElement)("span",{className:"required",style:{color:(0,Dt.KadenceColorOutput)(u[0].requiredColor)}},"*"):""),"textarea"===p[e].type&&(0,o.createElement)("textarea",{name:`kb_field_${e}`,id:`kb_field_${e}`,type:p[e].type,placeholder:p[e].placeholder,value:p[e].default,"data-type":p[e].type,className:`kb-field kb-text-style-field kb-${p[e].type}-field kb-field-${e}`,rows:p[e].rows,"data-required":p[e].required?"yes":void 0,readOnly:!0,style:{paddingTop:"custom"===u[0].size&&""!==u[0].deskPadding[0]?u[0].deskPadding[0]+"px":void 0,paddingRight:"custom"===u[0].size&&""!==u[0].deskPadding[1]?u[0].deskPadding[1]+"px":void 0,paddingBottom:"custom"===u[0].size&&""!==u[0].deskPadding[2]?u[0].deskPadding[2]+"px":void 0,paddingLeft:"custom"===u[0].size&&""!==u[0].deskPadding[3]?u[0].deskPadding[3]+"px":void 0,background:void 0!==ca?ca:void 0,color:void 0!==u[0].color?(0,Dt.KadenceColorOutput)(u[0].color):void 0,fontSize:(0,Dt.getFontSizeOptionOutput)(ft,kt),lineHeight:yt+_t,borderRadius:void 0!==u[0].borderRadius?u[0].borderRadius+"px":void 0,borderTopWidth:u[0].borderWidth&&""!==u[0].borderWidth[0]?u[0].borderWidth[0]+"px":void 0,borderRightWidth:u[0].borderWidth&&""!==u[0].borderWidth[1]?u[0].borderWidth[1]+"px":void 0,borderBottomWidth:u[0].borderWidth&&""!==u[0].borderWidth[2]?u[0].borderWidth[2]+"px":void 0,borderLeftWidth:u[0].borderWidth&&""!==u[0].borderWidth[3]?u[0].borderWidth[3]+"px":void 0,borderColor:void 0===u[0].border?void 0:(0,Dt.KadenceColorOutput)(u[0].border,void 0!==u[0].borderOpacity?u[0].borderOpacity:1),boxShadow:void 0!==u[0].boxShadow&&void 0!==u[0].boxShadow[0]&&u[0].boxShadow[0]?(void 0!==u[0].boxShadow[7]&&u[0].boxShadow[7]?"inset ":"")+(void 0!==u[0].boxShadow[3]?u[0].boxShadow[3]:1)+"px "+(void 0!==u[0].boxShadow[4]?u[0].boxShadow[4]:1)+"px "+(void 0!==u[0].boxShadow[5]?u[0].boxShadow[5]:2)+"px "+(void 0!==u[0].boxShadow[6]?u[0].boxShadow[6]:0)+"px "+(0,Dt.KadenceColorOutput)(void 0!==u[0].boxShadow[1]?u[0].boxShadow[1]:"#000000",void 0!==u[0].boxShadow[2]?u[0].boxShadow[2]:1):void 0}}),"select"===p[e].type&&(0,o.createElement)("select",{name:`kb_field_${e}`,id:`kb_field_${e}`,type:p[e].type,"data-type":p[e].type,multiple:!!p[e].multiSelect,className:`kb-field kb-select-style-field kb-${p[e].type}-field kb-field-${e}`,"data-required":p[e].required?"yes":void 0,style:{background:void 0!==ca?ca:void 0,color:void 0!==u[0].color?(0,Dt.KadenceColorOutput)(u[0].color):void 0,fontSize:(0,Dt.getFontSizeOptionOutput)(ft,kt),lineHeight:yt+_t,borderRadius:void 0!==u[0].borderRadius?u[0].borderRadius+"px":void 0,borderTopWidth:u[0].borderWidth&&""!==u[0].borderWidth[0]?u[0].borderWidth[0]+"px":void 0,borderRightWidth:u[0].borderWidth&&""!==u[0].borderWidth[1]?u[0].borderWidth[1]+"px":void 0,borderBottomWidth:u[0].borderWidth&&""!==u[0].borderWidth[2]?u[0].borderWidth[2]+"px":void 0,borderLeftWidth:u[0].borderWidth&&""!==u[0].borderWidth[3]?u[0].borderWidth[3]+"px":void 0,borderColor:void 0===u[0].border?void 0:(0,Dt.KadenceColorOutput)(u[0].border,void 0!==u[0].borderOpacity?u[0].borderOpacity:1),boxShadow:void 0!==u[0].boxShadow&&void 0!==u[0].boxShadow[0]&&u[0].boxShadow[0]?(void 0!==u[0].boxShadow[7]&&u[0].boxShadow[7]?"inset ":"")+(void 0!==u[0].boxShadow[3]?u[0].boxShadow[3]:1)+"px "+(void 0!==u[0].boxShadow[4]?u[0].boxShadow[4]:1)+"px "+(void 0!==u[0].boxShadow[5]?u[0].boxShadow[5]:2)+"px "+(void 0!==u[0].boxShadow[6]?u[0].boxShadow[6]:0)+"px "+(0,Dt.KadenceColorOutput)(void 0!==u[0].boxShadow[1]?u[0].boxShadow[1]:"#000000",void 0!==u[0].boxShadow[2]?u[0].boxShadow[2]:1):void 0}},void 0!==p[e].placeholder&&""!==p[e].placeholder&&(0,o.createElement)("option",{value:"",disabled:!0,selected:""===p[e].default},p[e].placeholder),(0,s.times)(p[e].options.length,(t=>(0,o.createElement)("option",{key:t,selected:void 0!==p[e].options[t].value&&p[e].options[t].value===p[e].default,value:void 0!==p[e].options[t].value?p[e].options[t].value:""},void 0!==p[e].options[t].label?p[e].options[t].label:"")))),"checkbox"===p[e].type&&(0,o.createElement)("div",{"data-type":p[e].type,className:`kb-field kb-checkbox-style-field kb-${p[e].type}-field kb-field-${e} kb-radio-style-${p[e].inline?"inline":"normal"}`},(0,s.times)(p[e].options.length,(t=>(0,o.createElement)("div",{key:t,"data-type":p[e].type,className:`kb-checkbox-item kb-checkbox-item-${t}`},(0,o.createElement)("input",{type:"checkbox",name:`kb_field_${e}[]${t}`,id:`kb_field_${e}[]${t}`,className:"kb-sub-field kb-checkbox-style",value:void 0!==p[e].options[t].value?p[e].options[t].value:"",checked:void 0!==p[e].options[t].value&&p[e].options[t].value===p[e].default,style:{borderColor:void 0===u[0].border?void 0:(0,Dt.KadenceColorOutput)(u[0].border,void 0!==u[0].borderOpacity?u[0].borderOpacity:1)}}),(0,o.createElement)("label",{htmlFor:`kb_field_${e}[]${t}`},void 0!==p[e].options[t].label?p[e].options[t].label:""))))),"radio"===p[e].type&&(0,o.createElement)("div",{"data-type":p[e].type,className:`kb-field kb-radio-style-field kb-${p[e].type}-field kb-field-${e} kb-radio-style-${p[e].inline?"inline":"normal"}`},(0,s.times)(p[e].options.length,(t=>(0,o.createElement)("div",{key:t,"data-type":p[e].type,className:`kb-radio-item kb-radio-item-${t}`},(0,o.createElement)("input",{type:"radio",name:`kb_field_${e}[]${t}`,id:`kb_field_${e}[]${t}`,className:"kb-sub-field kb-radio-style",value:void 0!==p[e].options[t].value?p[e].options[t].value:"",checked:void 0!==p[e].options[t].value&&p[e].options[t].value===p[e].default,style:{borderColor:void 0===u[0].border?void 0:(0,Dt.KadenceColorOutput)(u[0].border,void 0!==u[0].borderOpacity?u[0].borderOpacity:1)}}),(0,o.createElement)("label",{htmlFor:`kb_field_${e}[]${t}`},void 0!==p[e].options[t].label?p[e].options[t].label:""))))),"email"===p[e].type&&(0,o.createElement)("input",{name:`kb_field_${e}`,id:`kb_field_${e}`,type:"text",readOnly:!0,placeholder:p[e].placeholder,value:p[e].default,"data-type":p[e].type,className:`kb-field kb-text-style-field kb-${p[e].type}-field kb-field-${e}`,autoComplete:"off","data-required":p[e].required?"yes":void 0,style:{paddingTop:"custom"===u[0].size&&""!==u[0].deskPadding[0]?u[0].deskPadding[0]+"px":void 0,paddingRight:"custom"===u[0].size&&""!==u[0].deskPadding[1]?u[0].deskPadding[1]+"px":void 0,paddingBottom:"custom"===u[0].size&&""!==u[0].deskPadding[2]?u[0].deskPadding[2]+"px":void 0,paddingLeft:"custom"===u[0].size&&""!==u[0].deskPadding[3]?u[0].deskPadding[3]+"px":void 0,background:void 0!==ca?ca:void 0,color:void 0!==u[0].color?(0,Dt.KadenceColorOutput)(u[0].color):void 0,fontSize:(0,Dt.getFontSizeOptionOutput)(ft,kt),lineHeight:yt+_t,borderRadius:void 0!==u[0].borderRadius?u[0].borderRadius+"px":void 0,borderTopWidth:u[0].borderWidth&&""!==u[0].borderWidth[0]?u[0].borderWidth[0]+"px":void 0,borderRightWidth:u[0].borderWidth&&""!==u[0].borderWidth[1]?u[0].borderWidth[1]+"px":void 0,borderBottomWidth:u[0].borderWidth&&""!==u[0].borderWidth[2]?u[0].borderWidth[2]+"px":void 0,borderLeftWidth:u[0].borderWidth&&""!==u[0].borderWidth[3]?u[0].borderWidth[3]+"px":void 0,borderColor:void 0===u[0].border?void 0:(0,Dt.KadenceColorOutput)(u[0].border,void 0!==u[0].borderOpacity?u[0].borderOpacity:1),boxShadow:void 0!==u[0].boxShadow&&void 0!==u[0].boxShadow[0]&&u[0].boxShadow[0]?(void 0!==u[0].boxShadow[7]&&u[0].boxShadow[7]?"inset ":"")+(void 0!==u[0].boxShadow[3]?u[0].boxShadow[3]:1)+"px "+(void 0!==u[0].boxShadow[4]?u[0].boxShadow[4]:1)+"px "+(void 0!==u[0].boxShadow[5]?u[0].boxShadow[5]:2)+"px "+(void 0!==u[0].boxShadow[6]?u[0].boxShadow[6]:0)+"px "+(0,Dt.KadenceColorOutput)(void 0!==u[0].boxShadow[1]?u[0].boxShadow[1]:"#000000",void 0!==u[0].boxShadow[2]?u[0].boxShadow[2]:1):void 0}}),"textarea"!==p[e].type&&"select"!==p[e].type&&"checkbox"!==p[e].type&&"radio"!==p[e].type&&"email"!==p[e].type&&(0,o.createElement)("input",{name:`kb_field_${e}`,id:`kb_field_${e}`,type:p[e].type,placeholder:p[e].placeholder,value:p[e].default,"data-type":p[e].type,className:`kb-field kb-text-style-field kb-${p[e].type}-field kb-field-${e}`,autoComplete:"off",readOnly:!0,"data-required":p[e].required?"yes":void 0,style:{paddingTop:"custom"===u[0].size&&""!==u[0].deskPadding[0]?u[0].deskPadding[0]+"px":void 0,paddingRight:"custom"===u[0].size&&""!==u[0].deskPadding[1]?u[0].deskPadding[1]+"px":void 0,paddingBottom:"custom"===u[0].size&&""!==u[0].deskPadding[2]?u[0].deskPadding[2]+"px":void 0,paddingLeft:"custom"===u[0].size&&""!==u[0].deskPadding[3]?u[0].deskPadding[3]+"px":void 0,background:void 0!==ca?ca:void 0,color:void 0!==u[0].color?(0,Dt.KadenceColorOutput)(u[0].color):void 0,fontSize:(0,Dt.getFontSizeOptionOutput)(ft,kt),lineHeight:yt+_t,borderRadius:void 0!==u[0].borderRadius?u[0].borderRadius+"px":void 0,borderTopWidth:u[0].borderWidth&&""!==u[0].borderWidth[0]?u[0].borderWidth[0]+"px":void 0,borderRightWidth:u[0].borderWidth&&""!==u[0].borderWidth[1]?u[0].borderWidth[1]+"px":void 0,borderBottomWidth:u[0].borderWidth&&""!==u[0].borderWidth[2]?u[0].borderWidth[2]+"px":void 0,borderLeftWidth:u[0].borderWidth&&""!==u[0].borderWidth[3]?u[0].borderWidth[3]+"px":void 0,borderColor:void 0===u[0].border?void 0:(0,Dt.KadenceColorOutput)(u[0].border,void 0!==u[0].borderOpacity?u[0].borderOpacity:1),boxShadow:void 0!==u[0].boxShadow&&void 0!==u[0].boxShadow[0]&&u[0].boxShadow[0]?(void 0!==u[0].boxShadow[7]&&u[0].boxShadow[7]?"inset ":"")+(void 0!==u[0].boxShadow[3]?u[0].boxShadow[3]:1)+"px "+(void 0!==u[0].boxShadow[4]?u[0].boxShadow[4]:1)+"px "+(void 0!==u[0].boxShadow[5]?u[0].boxShadow[5]:2)+"px "+(void 0!==u[0].boxShadow[6]?u[0].boxShadow[6]:0)+"px "+(0,Dt.KadenceColorOutput)(void 0!==u[0].boxShadow[1]?u[0].boxShadow[1]:"#000000",void 0!==u[0].boxShadow[2]?u[0].boxShadow[2]:1):void 0}})),void 0!==p[e].description&&""!==p[e].description&&(0,o.createElement)("span",{className:"kb-field-help"},p[e].description?p[e].description:""),t&&(0,o.createElement)(It.Fragment,null,(0,o.createElement)("div",{className:"kadence-blocks-field-item-controls kadence-blocks-field-item__move-menu"},(0,o.createElement)(Ft.Button,{icon:"arrow-up",onClick:()=>{return 0===e?void 0:void(0!==(t=e)&&Be(t,t-1));var t},className:"kadence-blocks-field-item__move-backward",label:(0,At.__)("Move Field Up","kadence-blocks"),"aria-disabled":0===e,disabled:!t||0===e}),(0,o.createElement)(Ft.Button,{icon:"arrow-down",onClick:()=>{return e+1===p.length?void 0:void((t=e)!==p.length-1&&Be(t,t+1));var t},className:"kadence-blocks-field-item__move-forward",label:(0,At.__)("Move Field Down","kadence-blocks"),"aria-disabled":e+1===p.length,disabled:!t||e+1===p.length})),(0,o.createElement)("div",{className:"kadence-blocks-field-item-controls kadence-blocks-field-item__inline-menu"},(0,o.createElement)(Ft.Button,{icon:"admin-page",onClick:()=>(e=>{const t=p,a=t[e];t.splice(e+1,0,a),j(e+1),i({fields:t})})(e),className:"kadence-blocks-field-item__duplicate",label:(0,At.__)("Duplicate Field","kadence-blocks"),disabled:!t}),(0,o.createElement)(Ft.Button,{icon:"no-alt",onClick:()=>(e=>{const t=(0,s.filter)(p,((t,a)=>e!==a));j(null),i({fields:t})})(e),className:"kadence-blocks-field-item__remove",label:(0,At.__)("Remove Field","kadence-blocks"),disabled:!t||1===p.length}))))})(e)))),ha=(0,Bt.useBlockProps)({className:a});return(0,o.createElement)("div",{...ha},(0,o.createElement)("style",null,(()=>{let e,t,a,o,n,i="",r="",l="",s="",d="0",p="";return void 0!==u[0].backgroundActiveType&&"gradient"===u[0].backgroundActiveType&&void 0!==u[0].gradientActive?(e=void 0===u[0].backgroundActive?(0,Dt.KadenceColorOutput)("#ffffff",void 0!==u[0].backgroundActiveOpacity?u[0].backgroundActiveOpacity:1):(0,Dt.KadenceColorOutput)(u[0].backgroundActive,void 0!==u[0].backgroundActiveOpacity?u[0].backgroundActiveOpacity:1),t=void 0===u[0].gradientActive[0]?(0,Dt.KadenceColorOutput)("#777777",void 0!==u[0].gradientActive[1]?u[0].gradientActive[1]:1):(0,Dt.KadenceColorOutput)(u[0].gradientActive[0],void 0!==u[0].gradientActive[1]?u[0].gradientActive[1]:1),"radial"===u[0].gradientActive[4]?i=`radial-gradient(at ${void 0===u[0].gradientActive[6]?"center center":u[0].gradientActive[6]}, ${e} ${void 0===u[0].gradientActive[2]?"0":u[0].gradientActive[2]}%, ${t} ${void 0===u[0].gradientActive[3]?"100":u[0].gradientActive[3]}%)`:"linear"===u[0].gradientActive[4]&&(i=`linear-gradient(${void 0===u[0].gradientActive[5]?"180":u[0].gradientActive[5]}deg, ${e} ${void 0===u[0].gradientActive[2]?"0":u[0].gradientActive[2]}%, ${t} ${void 0===u[0].gradientActive[3]?"100":u[0].gradientActive[3]}%)`)):void 0!==u[0].backgroundActive&&""!==u[0].backgroundActive&&(i=(0,Dt.KadenceColorOutput)(u[0].backgroundActive,void 0!==u[0].backgroundActiveOpacity?u[0].backgroundActiveOpacity:1)),void 0!==u[0].boxShadowActive&&void 0!==u[0].boxShadowActive[0]&&u[0].boxShadowActive[0]&&(r=`${void 0!==u[0].boxShadowActive&&void 0!==u[0].boxShadowActive[0]&&u[0].boxShadowActive[0]?(void 0!==u[0].boxShadowActive[7]&&u[0].boxShadowActive[7]?"inset ":"")+(void 0!==u[0].boxShadowActive[3]?u[0].boxShadowActive[3]:1)+"px "+(void 0!==u[0].boxShadowActive[4]?u[0].boxShadowActive[4]:1)+"px "+(void 0!==u[0].boxShadowActive[5]?u[0].boxShadowActive[5]:2)+"px "+(void 0!==u[0].boxShadowActive[6]?u[0].boxShadowActive[6]:0)+"px "+(0,Dt.KadenceColorOutput)(void 0!==u[0].boxShadowActive[1]?u[0].boxShadowActive[1]:"#000000",void 0!==u[0].boxShadowActive[2]?u[0].boxShadowActive[2]:1):void 0}`),void 0!==b[0].backgroundHoverType&&"gradient"===b[0].backgroundHoverType&&void 0!==b[0].gradientHover?(o=void 0===b[0].backgroundHover?(0,Dt.KadenceColorOutput)("#ffffff",void 0!==b[0].backgroundHoverOpacity?b[0].backgroundHoverOpacity:1):(0,Dt.KadenceColorOutput)(b[0].backgroundHover,void 0!==b[0].backgroundHoverOpacity?b[0].backgroundHoverOpacity:1),n=void 0===b[0].gradientHover[0]?(0,Dt.KadenceColorOutput)("#777777",void 0!==b[0].gradientHover[1]?b[0].gradientHover[1]:1):(0,Dt.KadenceColorOutput)(b[0].gradientHover[0],void 0!==b[0].gradientHover[1]?b[0].gradientHover[1]:1),"radial"===b[0].gradientHover[4]?l=`radial-gradient(at ${void 0===b[0].gradientHover[6]?"center center":b[0].gradientHover[6]}, ${o} ${void 0===b[0].gradientHover[2]?"0":b[0].gradientHover[2]}%, ${n} ${void 0===b[0].gradientHover[3]?"100":b[0].gradientHover[3]}%)`:"linear"===b[0].gradientHover[4]&&(l=`linear-gradient(${void 0===b[0].gradientHover[5]?"180":b[0].gradientHover[5]}deg, ${o} ${void 0===b[0].gradientHover[2]?"0":b[0].gradientHover[2]}%, ${n} ${void 0===b[0].gradientHover[3]?"100":b[0].gradientHover[3]}%)`)):void 0!==b[0].backgroundHover&&""!==b[0].backgroundHover&&(a=(0,Dt.KadenceColorOutput)(b[0].backgroundHover,void 0!==b[0].backgroundHoverOpacity?b[0].backgroundHoverOpacity:1)),void 0!==b[0].boxShadowHover&&void 0!==b[0].boxShadowHover[0]&&b[0].boxShadowHover[0]&&void 0!==b[0].boxShadowHover[7]&&!1===b[0].boxShadowHover[7]&&(s=`${void 0!==b[0].boxShadowHover&&void 0!==b[0].boxShadowHover[0]&&b[0].boxShadowHover[0]?(void 0!==b[0].boxShadowHover[7]&&b[0].boxShadowHover[7]?"inset ":"")+(void 0!==b[0].boxShadowHover[3]?b[0].boxShadowHover[3]:1)+"px "+(void 0!==b[0].boxShadowHover[4]?b[0].boxShadowHover[4]:1)+"px "+(void 0!==b[0].boxShadowHover[5]?b[0].boxShadowHover[5]:2)+"px "+(void 0!==b[0].boxShadowHover[6]?b[0].boxShadowHover[6]:0)+"px "+(0,Dt.KadenceColorOutput)(void 0!==b[0].boxShadowHover[1]?b[0].boxShadowHover[1]:"#000000",void 0!==b[0].boxShadowHover[2]?b[0].boxShadowHover[2]:1):void 0}`,p="none",d="0"),void 0!==b[0].boxShadowHover&&void 0!==b[0].boxShadowHover[0]&&b[0].boxShadowHover[0]&&void 0!==b[0].boxShadowHover[7]&&!0===b[0].boxShadowHover[7]&&(p=`${void 0!==b[0].boxShadowHover&&void 0!==b[0].boxShadowHover[0]&&b[0].boxShadowHover[0]?(void 0!==b[0].boxShadowHover[7]&&b[0].boxShadowHover[7]?"inset ":"")+(void 0!==b[0].boxShadowHover[3]?b[0].boxShadowHover[3]:1)+"px "+(void 0!==b[0].boxShadowHover[4]?b[0].boxShadowHover[4]:1)+"px "+(void 0!==b[0].boxShadowHover[5]?b[0].boxShadowHover[5]:2)+"px "+(void 0!==b[0].boxShadowHover[6]?b[0].boxShadowHover[6]:0)+"px "+(0,Dt.KadenceColorOutput)(void 0!==b[0].boxShadowHover[1]?b[0].boxShadowHover[1]:"#000000",void 0!==b[0].boxShadowHover[2]?b[0].boxShadowHover[2]:1):void 0}`,d=void 0!==b[0].borderRadius?b[0].borderRadius:void 0,s="none"),`#kb-form-${c} .kadence-blocks-form-field input.kb-field:focus, #kb-form-${c} .kadence-blocks-form-field textarea:focus {\n\t\t\t\t\t${u[0].colorActive?"color:"+(0,Dt.KadenceColorOutput)(u[0].colorActive)+"!important;":""}\n\t\t\t\t\t${i?"background:"+i+"!important;":""}\n\t\t\t\t\t${r?"box-shadow:"+r+"!important;":""}\n\t\t\t\t\t${u[0].borderActive?"border-color:"+(0,Dt.KadenceColorOutput)(u[0].borderActive)+"!important;":""}\n\t\t\t\t}\n\t\t\t\t#kb-form-${c} .kadence-blocks-form-field .kb-forms-submit:hover {\n\t\t\t\t\t${b[0].colorHover?"color:"+(0,Dt.KadenceColorOutput)(b[0].colorHover)+"!important;":""}\n\t\t\t\t\t${a?"background:"+a+"!important;":""}\n\t\t\t\t\t${s?"box-shadow:"+s+"!important;":""}\n\t\t\t\t\t${b[0].borderHover?"border-color:"+(0,Dt.KadenceColorOutput)(b[0].borderHover)+"!important;":""}\n\t\t\t\t}\n\t\t\t\t#kb-form-${c} .kadence-blocks-form-field .kb-forms-submit::before {\n\t\t\t\t\t${l?"background:"+l+";":""}\n\t\t\t\t\t${p?"box-shadow:"+p+";":""}\n\t\t\t\t\t${d?"border-radius:"+d+"px;":""}\n\t\t\t\t}`})()),g[0].google&&(0,o.createElement)(d.WebfontLoader,{config:na}),x[0].google&&(0,o.createElement)(d.WebfontLoader,{config:ra}),(0,o.createElement)(Bt.BlockControls,{key:"controls"},(0,o.createElement)(Bt.AlignmentToolbar,{value:E,label:(0,At.__)("Align Submit","kadence-blocks"),onChange:e=>i({hAlign:e})}),(0,o.createElement)(d.CopyPasteAttributes,{attributes:t,excludedAttrs:ze,defaultAttributes:zt.attributes,blockSlug:zt.name,onPaste:e=>i(e)})),(0,o.createElement)(d.KadenceInspectorControls,{blockSlug:"kadence/form"},(0,o.createElement)(d.InspectorControlTabs,{panelName:"form",setActiveTab:e=>Le(e),activeTab:He}),"general"===He&&(0,o.createElement)(It.Fragment,null,ba,(0,o.createElement)(Ft.PanelRow,null,(0,o.createElement)(Ft.Button,{className:"kb-add-field",isPrimary:!0,onClick:()=>{const e=p;e.push({label:"",showLabel:!0,placeholder:"",default:"",rows:4,options:[],multiSelect:!1,inline:!1,showLink:!1,min:"",max:"",type:"text",required:!1,width:["100","",""],auto:"",errorMessage:"",requiredMessage:""}),i({fields:e}),qe({multiSelect:p[0].multiSelect},0)}},(0,o.createElement)(Ft.Dashicon,{icon:"plus"}),(0,At.__)("Add Field","kadence-blocks"))),(0,o.createElement)(d.KadencePanelBody,{title:(0,At.__)("Actions After Submit","kadence-blocks"),initialOpen:!1,panelName:"kb-form-action-after-submit"},W&&(0,s.times)(W.length,(e=>{return t=e,(0,o.createElement)(Ft.CheckboxControl,{key:"action-controls-"+t.toString(),label:W[t].label,help:""!==W[t].help?W[t].help:void 0,checked:m.includes(W[t].value),disabled:W[t].isDisabled,onChange:e=>{e&&!W[t].isDisabled?(e=>{const t=m.map(((e,t)=>e));t.push(e),i({actions:t})})(W[t].value):(e=>{const t=m.filter((t=>t!==e));i({actions:t})})(W[t].value)}});var t}))),m.includes("email")&&(0,o.createElement)(d.KadencePanelBody,{title:(0,At.__)("Email Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-form-email-settings"},(0,o.createElement)(Ft.TextControl,{label:(0,At.__)("Email To Address","kadence-blocks"),placeholder:(0,At.__)("name@example.com","kadence-blocks"),value:void 0!==_[0].emailTo?_[0].emailTo:"",onChange:e=>Xe({emailTo:e}),help:(0,At.__)("Separate with a comma for more than one email address.","kadence-blocks")}),(0,o.createElement)(Ft.TextControl,{label:(0,At.__)("Email Subject","kadence-blocks"),value:void 0!==_[0].subject?_[0].subject:"",onChange:e=>Xe({subject:e})}),(0,o.createElement)(Ft.TextControl,{label:(0,At.__)("From Email","kadence-blocks"),value:void 0!==_[0].fromEmail?_[0].fromEmail:"",onChange:e=>Xe({fromEmail:e})}),(0,o.createElement)(Ft.TextControl,{label:(0,At.__)("From Name","kadence-blocks"),value:void 0!==_[0].fromName?_[0].fromName:"",onChange:e=>Xe({fromName:e})}),(0,o.createElement)(Ft.SelectControl,{label:(0,At.__)("Reply To","kadence-blocks"),value:_[0].replyTo,options:[{value:"email_field",label:(0,At.__)("Email Field","kadence-blocks")},{value:"from_email",label:(0,At.__)("From Email","kadence-blocks")}],onChange:e=>{Xe({replyTo:e})}}),(0,o.createElement)(Ft.TextControl,{label:(0,At.__)("Cc","kadence-blocks"),value:void 0!==_[0].cc?_[0].cc:"",onChange:e=>Xe({cc:e})}),(0,o.createElement)(Ft.TextControl,{label:(0,At.__)("Bcc","kadence-blocks"),value:void 0!==_[0].bcc?_[0].bcc:"",onChange:e=>Xe({bcc:e})}),(0,o.createElement)(Ft.ToggleControl,{label:(0,At.__)("Send as HTML email?","kadence-blocks"),help:(0,At.__)("If off, plain text is used.","kadence-blocks"),checked:void 0===_[0].html||_[0].html,onChange:e=>Xe({html:e})})),m.includes("redirect")&&(0,o.createElement)(d.KadencePanelBody,{title:(0,At.__)("Redirect Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-form-redirect-settings"},(0,o.createElement)(d.URLInputControl,{label:(0,At.__)("Redirect to","kadence-blocks"),url:f,onChangeUrl:e=>i({redirect:e}),additionalControls:!1,...e})),(0,o.createElement)(d.KadencePanelBody,{title:(0,At.__)("Basic Spam Check","kadence-blocks"),initialOpen:!1,panelName:"kb-form-basic-spam-check"},(0,o.createElement)(Ft.ToggleControl,{label:(0,At.__)("Enable Basic Honey Pot Spam Check","kadence-blocks"),help:(0,At.__)("This adds a hidden field that if filled out prevents the form from submitting.","kadence-blocks"),checked:w,onChange:e=>i({honeyPot:e})})),(0,o.createElement)(d.KadencePanelBody,{title:(0,At.__)("Google reCAPTCHA","kadence-blocks"),initialOpen:!1,panelname:"kb-form-google-recaptcha"},(0,o.createElement)(Ft.ToggleControl,{label:(0,At.__)("Enable Google reCAPTCHA","kadence-blocks"),checked:v,onChange:e=>i({recaptcha:e})}),v&&(0,o.createElement)(It.Fragment,null,(0,o.createElement)("div",{className:"kt-btn-recaptch-settings-container components-base-control"},(0,o.createElement)("p",{className:"kb-component-label"},(0,At.__)("Recaptcha Version","kadence-blocks")),(0,o.createElement)(Ft.ButtonGroup,{className:"kb-radio-button-flex-fill","aria-label":(0,At.__)("Recaptcha Version","kadence-blocks")},(0,s.map)(Yt,(({name:e,key:t})=>(0,o.createElement)(Ft.Button,{key:t,className:"kt-btn-size-btn",isSmall:!0,isPrimary:A===t,"aria-pressed":A===t,onClick:()=>i({recaptchaVersion:t})},e))))),(0,o.createElement)("p",null,(0,o.createElement)(Ft.ExternalLink,{href:"https://www.google.com/recaptcha/admin"},(0,At.__)("Get keys","kadence-blocks")),"| ",(0,o.createElement)(Ft.ExternalLink,{href:"https://developers.google.com/recaptcha/docs/v3"},(0,At.__)("Get help","kadence-blocks")),(0,o.createElement)("br",null),(0,o.createElement)(Ft.ExternalLink,{href:"https://developers.google.com/recaptcha/docs/language"},(0,At.__)("Language Codes","kadence-blocks"))),(0,o.createElement)(Ft.TextControl,{label:(0,At.__)("Force Specific Language","kadence-blocks"),value:Fe,onChange:e=>Te(e)}),(0,o.createElement)(Ft.TextControl,{label:(0,At.__)("Site Key","kadence-blocks"),value:Ce,onChange:e=>Se(e)}),(0,o.createElement)(Ft.TextControl,{label:(0,At.__)("Secret Key","kadence-blocks"),value:Oe,onChange:e=>Ae(e)}),(0,o.createElement)("div",{className:"components-base-control"},(0,o.createElement)(Ft.Button,{isPrimary:!0,onClick:()=>(Me(!0),void new wp.api.models.Settings({kadence_blocks_recaptcha_site_key:Ce,kadence_blocks_recaptcha_secret_key:Oe,kadence_blocks_recaptcha_language:Fe}).save().then((e=>{Me(!1),Pe(!0)}))),disabled:""===Ce||""===Oe},$e?(0,At.__)("Saving","kadence-blocks"):(0,At.__)("Save","kadence-blocks")),Ne&&(0,o.createElement)(It.Fragment,null," ",(0,o.createElement)(Ft.Button,{isSecondary:!0,onClick:()=>(Se(""),Ae(""),void(Ne&&(Me(!0),new wp.api.models.Settings({kadence_blocks_recaptcha_site_key:"",kadence_blocks_recaptcha_secret_key:"",kadence_blocks_recaptcha_language:""}).save().then((()=>{Pe(!1),Me(!1)})))))},(0,At.__)("Remove","kadence-blocks")))))),(0,o.createElement)(d.KadencePanelBody,{title:(0,At.__)("Message Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-form-message-settings"},(0,o.createElement)(Ft.TextControl,{label:(0,At.__)("Success Message","kadence-blocks"),placeholder:(0,At.__)("Submission Success, Thanks for getting in touch!","kadence-blocks"),value:void 0!==k[0].success?k[0].success:"",onChange:e=>nt({success:e})}),(0,o.createElement)(d.KadencePanelBody,{title:(0,At.__)("Success Message Colors","kadence-blocks"),initialOpen:!1,panelName:"kb-form-success-message-colors"},(0,o.createElement)(d.PopColorControl,{label:(0,At.__)("Success Message Color","kadence-blocks"),value:y[0].colorSuccess?y[0].colorSuccess:"",default:"",onChange:e=>{ot({colorSuccess:e})}}),(0,o.createElement)(d.PopColorControl,{label:(0,At.__)("Success Message Background","kadence-blocks"),value:y[0].backgroundSuccess?y[0].backgroundSuccess:"",default:"",onChange:e=>{ot({backgroundSuccess:e})},opacityValue:y[0].backgroundSuccessOpacity,onOpacityChange:e=>ot({backgroundSuccessOpacity:e})}),(0,o.createElement)(d.PopColorControl,{label:(0,At.__)("Success Message Border","kadence-blocks"),value:y[0].borderSuccess?y[0].borderSuccess:"",default:"",onChange:e=>{ot({borderSuccess:e})}})),(0,o.createElement)(Ft.PanelRow,null,(0,o.createElement)(Ft.TextControl,{label:(0,At.__)("Pre Submit Form Validation Error Message","kadence-blocks"),placeholder:(0,At.__)("Please fix the errors to proceed","kadence-blocks"),value:void 0!==k[0].preError?k[0].preError:"",onChange:e=>nt({preError:e})})),(0,o.createElement)(Ft.PanelRow,null,(0,o.createElement)(Ft.TextControl,{label:(0,At.__)("Error Message","kadence-blocks"),placeholder:(0,At.__)("Submission Failed","kadence-blocks"),value:void 0!==k[0].error?k[0].error:"",onChange:e=>nt({error:e})})),v&&(0,o.createElement)(Ft.PanelRow,null,(0,o.createElement)(Ft.TextControl,{label:(0,At.__)("Recapcha Error Message","kadence-blocks"),placeholder:(0,At.__)("Submission Failed, reCaptcha spam prevention.","kadence-blocks"),value:void 0!==k[0].recaptchaerror?k[0].recaptchaerror:"",onChange:e=>nt({recaptchaerror:e})})),(0,o.createElement)(d.KadencePanelBody,{title:(0,At.__)("Error Message Colors","kadence-blocks"),initialOpen:!1,panelName:"kb-form-error-message-colors"},(0,o.createElement)(d.PopColorControl,{label:(0,At.__)("Error Message Color","kadence-blocks"),value:y[0].colorError?y[0].colorError:"",default:"",onChange:e=>{ot({colorError:e})}}),(0,o.createElement)(d.PopColorControl,{label:(0,At.__)("Error Message Background","kadence-blocks"),value:y[0].backgroundError?y[0].backgroundError:"",default:"",onChange:e=>{ot({backgroundError:e})},opacityValue:y[0].backgroundErrorOpacity,onOpacityChange:e=>ot({backgroundErrorOpacity:e})}),(0,o.createElement)(d.PopColorControl,{label:(0,At.__)("Error Message Border","kadence-blocks"),value:y[0].borderError?y[0].borderError:"",default:"",onChange:e=>{ot({borderError:e})}})),(0,o.createElement)(d.TypographyControls,{fontGroup:"body",fontSize:y[0].size,onFontSize:e=>ot({size:e}),fontSizeType:y[0].sizeType,onFontSizeType:e=>ot({sizeType:e}),lineHeight:y[0].lineHeight,onLineHeight:e=>ot({lineHeight:e}),lineHeightType:y[0].lineType,onLineHeightType:e=>ot({lineType:e})}),(0,o.createElement)("h2",null,(0,At.__)("Border Settings","kadence-blocks")),(0,o.createElement)(d.MeasurementControls,{label:(0,At.__)("Border Width","kadence-blocks"),measurement:y[0].borderWidth,control:be,onChange:e=>ot({borderWidth:e}),onControl:e=>me(e),min:0,max:20,step:1}),(0,o.createElement)(Ft.RangeControl,{label:(0,At.__)("Border Radius","kadence-blocks"),value:y[0].borderRadius,onChange:e=>{ot({borderRadius:e})},min:0,max:50}),(0,o.createElement)(d.KadencePanelBody,{title:(0,At.__)("Advanced Message Font Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-form-advanced-message-font-settings"},(0,o.createElement)(d.TypographyControls,{fontGroup:"body",letterSpacing:y[0].letterSpacing,onLetterSpacing:e=>ot({letterSpacing:e}),fontFamily:y[0].family,onFontFamily:e=>ot({family:e}),onFontChange:e=>{ot({family:e.value,google:e.google})},onFontArrayChange:e=>ot(e),googleFont:y[0].google,onGoogleFont:e=>ot({google:e}),loadGoogleFont:y[0].loadGoogle,onLoadGoogleFont:e=>ot({loadGoogle:e}),fontVariant:y[0].variant,onFontVariant:e=>ot({variant:e}),fontWeight:y[0].weight,onFontWeight:e=>ot({weight:e}),fontStyle:y[0].style,onFontStyle:e=>ot({style:e}),fontSubset:y[0].subset,onFontSubset:e=>ot({subset:e}),padding:y[0].padding,onPadding:e=>ot({padding:e}),paddingControl:he,onPaddingControl:e=>ge(e),margin:y[0].margin,onMargin:e=>ot({margin:e}),marginControl:ve,onMarginControl:e=>fe(e)}))),m.includes("mailerlite")&&(0,o.createElement)(Pt,{fields:p,settings:F,save:e=>jt(e),saveMap:(e,t)=>((e,t)=>{const a=p.map(((a,o)=>{let n="";return n=t===o?e:void 0!==F[0].map&&void 0!==F[0].map[o]?F[0].map[o]:"",n}));jt({map:a})})(e,t)}),m.includes("fluentCRM")&&(0,o.createElement)(Lt,{fields:p,settings:T,save:e=>Ut(e),saveMap:(e,t)=>((e,t)=>{const a=p.map(((a,o)=>{let n="";return n=t===o?e:void 0!==T[0].map&&void 0!==T[0].map[o]?T[0].map[o]:"",n}));Ut({map:a})})(e,t)})),"style"===He&&(0,o.createElement)(It.Fragment,null,(0,o.createElement)(d.KadencePanelBody,{title:(0,At.__)("Field Styles","kadence-blocks"),panelName:"kb-form-field-styles"},(0,o.createElement)(d.TypographyControls,{fontSize:u[0].fontSize,onFontSize:e=>Qe({fontSize:e}),fontSizeType:u[0].fontSizeType,onFontSizeType:e=>Qe({fontSizeType:e}),lineHeight:u[0].lineHeight,onLineHeight:e=>Qe({lineHeight:e}),lineHeightType:u[0].lineType,onLineHeightType:e=>Qe({lineType:e})}),(0,o.createElement)("div",{className:"kt-btn-size-settings-container"},(0,o.createElement)("h2",{className:"kt-beside-btn-group"},(0,At.__)("Input Size","kadence-blocks")),(0,o.createElement)(Ft.ButtonGroup,{className:"kt-button-size-type-options","aria-label":(0,At.__)("Input Size","kadence-blocks")},(0,s.map)(Kt,(({name:e,key:t})=>(0,o.createElement)(Ft.Button,{key:t,className:"kt-btn-size-btn",isSmall:!0,isPrimary:u[0].size===t,"aria-pressed":u[0].size===t,onClick:()=>Qe({size:t})},e))))),"custom"===u[0].size&&(0,o.createElement)("div",{className:"kt-inner-sub-section"},(0,o.createElement)("h2",{className:"kt-heading-size-title kt-secondary-color-size"},(0,At.__)("Input Padding","kadence-blocks")),(0,o.createElement)(Ft.TabPanel,{className:"kt-size-tabs",activeClass:"active-tab",tabs:[{name:"desk",title:(0,o.createElement)(Ft.Dashicon,{icon:"desktop"}),className:"kt-desk-tab"},{name:"tablet",title:(0,o.createElement)(Ft.Dashicon,{icon:"tablet"}),className:"kt-tablet-tab"},{name:"mobile",title:(0,o.createElement)(Ft.Dashicon,{icon:"smartphone"}),className:"kt-mobile-tab"}]},(e=>{let t;return e.name&&(t="mobile"===e.name?(0,o.createElement)(It.Fragment,null,(0,o.createElement)(d.MeasurementControls,{label:(0,At.__)("Mobile Padding","kadence-blocks"),measurement:u[0].mobilePadding,control:Q,onChange:e=>Qe({mobilePadding:e}),onControl:e=>J(e),min:0,max:100,step:1})):"tablet"===e.name?(0,o.createElement)(d.MeasurementControls,{label:(0,At.__)("Tablet Padding","kadence-blocks"),measurement:u[0].tabletPadding,control:Y,onChange:e=>Qe({tabletPadding:e}),onControl:e=>X(e),min:0,max:100,step:1}):(0,o.createElement)(d.MeasurementControls,{label:(0,At.__)("Desktop Padding","kadence-blocks"),measurement:u[0].deskPadding,control:U,onChange:e=>Qe({deskPadding:e}),onControl:e=>K(e),min:0,max:100,step:1})),(0,o.createElement)("div",{className:e.className,key:e.className},t)}))),(0,o.createElement)("h2",{className:"kt-heading-size-title kt-secondary-color-size"},(0,At.__)("Input Colors","kadence-blocks")),(0,o.createElement)(Ft.TabPanel,{className:"kt-inspect-tabs kt-hover-tabs",activeClass:"active-tab",tabs:[{name:"normal",title:(0,At.__)("Normal","kadence-blocks"),className:"kt-normal-tab"},{name:"focus",title:(0,At.__)("Focus","kadence-blocks"),className:"kt-focus-tab"}]},(e=>{let t;return e.name&&(t="focus"===e.name?(0,o.createElement)(It.Fragment,null,(0,o.createElement)(d.PopColorControl,{label:(0,At.__)("Input Focus Color","kadence-blocks"),value:u[0].colorActive?u[0].colorActive:"",default:"",onChange:e=>{Qe({colorActive:e})}}),(0,o.createElement)("div",{className:"kt-btn-size-settings-container"},(0,o.createElement)("h2",{className:"kt-beside-btn-group"},(0,At.__)("Background Type","kadence-blocks")),(0,o.createElement)(Ft.ButtonGroup,{className:"kt-button-size-type-options","aria-label":(0,At.__)("Background Type","kadence-blocks")},(0,s.map)(Jt,(({name:e,key:t})=>(0,o.createElement)(Ft.Button,{key:t,className:"kt-btn-size-btn",isSmall:!0,isPrimary:(void 0!==u[0].backgroundActiveType?u[0].backgroundActiveType:"solid")===t,"aria-pressed":(void 0!==u[0].backgroundActiveType?u[0].backgroundActiveType:"solid")===t,onClick:()=>Qe({backgroundActiveType:t})},e))))),"gradient"!==u[0].backgroundActiveType&&(0,o.createElement)("div",{className:"kt-inner-sub-section"},(0,o.createElement)(d.PopColorControl,{label:(0,At.__)("Input Focus Background","kadence-blocks"),value:u[0].backgroundActive?u[0].backgroundActive:"",default:"",onChange:e=>{Qe({backgroundActive:e})},opacityValue:u[0].backgroundActiveOpacity,onOpacityChange:e=>Qe({backgroundActiveOpacity:e}),onArrayChange:(e,t)=>Qe({backgroundActive:e,backgroundActiveOpacity:t})})),"gradient"===u[0].backgroundActiveType&&(0,o.createElement)("div",{className:"kt-inner-sub-section"},(0,o.createElement)(d.PopColorControl,{label:(0,At.__)("Gradient Color 1","kadence-blocks"),value:u[0].backgroundActive?u[0].backgroundActive:"",default:"",onChange:e=>{Qe({backgroundActive:e})},opacityValue:u[0].backgroundActiveOpacity,onOpacityChange:e=>Qe({backgroundActiveOpacity:e}),onArrayChange:(e,t)=>Qe({backgroundActive:e,backgroundActiveOpacity:t})}),(0,o.createElement)(Ft.RangeControl,{label:(0,At.__)("Location","kadence-blocks"),value:u[0].gradientActive&&void 0!==u[0].gradientActive[2]?u[0].gradientActive[2]:0,onChange:e=>{Ze(e,2)},min:0,max:100}),(0,o.createElement)(d.PopColorControl,{label:(0,At.__)("Gradient Color 2","kadence-blocks"),value:u[0].gradientActive&&void 0!==u[0].gradientActive[0]?u[0].gradientActive[0]:"#999999",default:"#999999",opacityValue:u[0].gradientActive&&void 0!==u[0].gradientActive[1]?u[0].gradientActive[1]:1,onChange:e=>{Ze(e,0)},onOpacityChange:e=>{Ze(e,1)}}),(0,o.createElement)(Ft.RangeControl,{label:(0,At.__)("Location","kadence-blocks"),value:u[0].gradientActive&&void 0!==u[0].gradientActive[3]?u[0].gradientActive[3]:100,onChange:e=>{Ze(e,3)},min:0,max:100}),(0,o.createElement)("div",{className:"kt-btn-size-settings-container"},(0,o.createElement)("h2",{className:"kt-beside-btn-group"},(0,At.__)("Gradient Type","kadence-blocks")),(0,o.createElement)(Ft.ButtonGroup,{className:"kt-button-size-type-options","aria-label":(0,At.__)("Gradient Type","kadence-blocks")},(0,s.map)(Qt,(({name:e,key:t})=>(0,o.createElement)(Ft.Button,{key:t,className:"kt-btn-size-btn",isSmall:!0,isPrimary:(u[0].gradientActive&&void 0!==u[0].gradientActive[4]?u[0].gradientActive[4]:"linear")===t,"aria-pressed":(u[0].gradientActive&&void 0!==u[0].gradientActive[4]?u[0].gradientActive[4]:"linear")===t,onClick:()=>{Ze(t,4)}},e))))),"radial"!==(u[0].gradientActive&&void 0!==u[0].gradientActive[4]?u[0].gradientActive[4]:"linear")&&(0,o.createElement)(Ft.RangeControl,{label:(0,At.__)("Gradient Angle","kadence-blocks"),value:u[0].gradientActive&&void 0!==u[0].gradientActive[5]?u[0].gradientActive[5]:180,onChange:e=>{Ze(e,5)},min:0,max:360}),"radial"===(u[0].gradientActive&&void 0!==u[0].gradientActive[4]?u[0].gradientActive[4]:"linear")&&(0,o.createElement)(Ft.SelectControl,{label:(0,At.__)("Gradient Position","kadence-blocks"),value:u[0].gradientActive&&void 0!==u[0].gradientActive[6]?u[0].gradientActive[6]:"center center",options:[{value:"center top",label:(0,At.__)("Center Top","kadence-blocks")},{value:"center center",label:(0,At.__)("Center Center","kadence-blocks")},{value:"center bottom",label:(0,At.__)("Center Bottom","kadence-blocks")},{value:"left top",label:(0,At.__)("Left Top","kadence-blocks")},{value:"left center",label:(0,At.__)("Left Center","kadence-blocks")},{value:"left bottom",label:(0,At.__)("Left Bottom","kadence-blocks")},{value:"right top",label:(0,At.__)("Right Top","kadence-blocks")},{value:"right center",label:(0,At.__)("Right Center","kadence-blocks")},{value:"right bottom",label:(0,At.__)("Right Bottom","kadence-blocks")}],onChange:e=>{Ze(e,6)}})),(0,o.createElement)(d.PopColorControl,{label:(0,At.__)("Input Focus Border","kadence-blocks"),value:u[0].borderActive?u[0].borderActive:"",default:"",onChange:e=>{Qe({borderActive:e})},opacityValue:u[0].borderActiveOpacity,onOpacityChange:e=>Qe({borderActiveOpacity:e}),onArrayChange:(e,t)=>Qe({borderActive:e,borderActiveOpacity:t})}),(0,o.createElement)(d.BoxShadowControl,{label:(0,At.__)("Input Focus Box Shadow","kadence-blocks"),enable:void 0!==u[0].boxShadowActive&&void 0!==u[0].boxShadowActive[0]&&u[0].boxShadowActive[0],color:void 0!==u[0].boxShadowActive&&void 0!==u[0].boxShadowActive[1]?u[0].boxShadowActive[1]:"#000000",default:"#000000",opacity:void 0!==u[0].boxShadowActive&&void 0!==u[0].boxShadowActive[2]?u[0].boxShadowActive[2]:.4,hOffset:void 0!==u[0].boxShadowActive&&void 0!==u[0].boxShadowActive[3]?u[0].boxShadowActive[3]:2,vOffset:void 0!==u[0].boxShadowActive&&void 0!==u[0].boxShadowActive[4]?u[0].boxShadowActive[4]:2,blur:void 0!==u[0].boxShadowActive&&void 0!==u[0].boxShadowActive[5]?u[0].boxShadowActive[5]:3,spread:void 0!==u[0].boxShadowActive&&void 0!==u[0].boxShadowActive[6]?u[0].boxShadowActive[6]:0,inset:void 0!==u[0].boxShadowActive&&void 0!==u[0].boxShadowActive[7]&&u[0].boxShadowActive[7],onEnableChange:e=>{tt(e,0)},onColorChange:e=>{tt(e,1)},onOpacityChange:e=>{tt(e,2)},onHOffsetChange:e=>{tt(e,3)},onVOffsetChange:e=>{tt(e,4)},onBlurChange:e=>{tt(e,5)},onSpreadChange:e=>{tt(e,6)},onInsetChange:e=>{tt(e,7)}})):(0,o.createElement)(It.Fragment,null,(0,o.createElement)(d.PopColorControl,{label:(0,At.__)("Input Color","kadence-blocks"),value:u[0].color?u[0].color:"",default:"",onChange:e=>{Qe({color:e})}}),(0,o.createElement)("div",{className:"kt-btn-size-settings-container"},(0,o.createElement)("h2",{className:"kt-beside-btn-group"},(0,At.__)("Background Type","kadence-blocks")),(0,o.createElement)(Ft.ButtonGroup,{className:"kt-button-size-type-options","aria-label":(0,At.__)("Background Type","kadence-blocks")},(0,s.map)(Jt,(({name:e,key:t})=>(0,o.createElement)(Ft.Button,{key:t,className:"kt-btn-size-btn",isSmall:!0,isPrimary:(void 0!==u[0].backgroundType?u[0].backgroundType:"solid")===t,"aria-pressed":(void 0!==u[0].backgroundType?u[0].backgroundType:"solid")===t,onClick:()=>Qe({backgroundType:t})},e))))),"gradient"!==u[0].backgroundType&&(0,o.createElement)("div",{className:"kt-inner-sub-section"},(0,o.createElement)(d.PopColorControl,{label:(0,At.__)("Input Background","kadence-blocks"),value:u[0].background?u[0].background:"",default:"",onChange:e=>{Qe({background:e})},opacityValue:u[0].backgroundOpacity,onOpacityChange:e=>Qe({backgroundOpacity:e}),onArrayChange:(e,t)=>Qe({background:e,backgroundOpacity:t})})),"gradient"===u[0].backgroundType&&(0,o.createElement)("div",{className:"kt-inner-sub-section"},(0,o.createElement)(d.PopColorControl,{label:(0,At.__)("Gradient Color 1","kadence-blocks"),value:u[0].background?u[0].background:"",default:"",onChange:e=>{Qe({background:e})},opacityValue:u[0].backgroundOpacity,onOpacityChange:e=>Qe({backgroundOpacity:e}),onArrayChange:(e,t)=>Qe({background:e,backgroundOpacity:t})}),(0,o.createElement)(Ft.RangeControl,{label:(0,At.__)("Location","kadence-blocks"),value:u[0].gradient&&void 0!==u[0].gradient[2]?u[0].gradient[2]:0,onChange:e=>{Je(e,2)},min:0,max:100}),(0,o.createElement)(d.PopColorControl,{label:(0,At.__)("Gradient Color 2","kadence-blocks"),value:u[0].gradient&&void 0!==u[0].gradient[0]?u[0].gradient[0]:"#999999",default:"#999999",opacityValue:u[0].gradient&&void 0!==u[0].gradient[1]?u[0].gradient[1]:1,onChange:e=>{Je(e,0)},onOpacityChange:e=>{Je(e,1)}}),(0,o.createElement)(Ft.RangeControl,{label:(0,At.__)("Location","kadence-blocks"),value:u[0].gradient&&void 0!==u[0].gradient[3]?u[0].gradient[3]:100,onChange:e=>{Je(e,3)},min:0,max:100}),(0,o.createElement)("div",{className:"kt-btn-size-settings-container"},(0,o.createElement)("h2",{className:"kt-beside-btn-group"},(0,At.__)("Gradient Type","kadence-blocks")),(0,o.createElement)(Ft.ButtonGroup,{className:"kt-button-size-type-options","aria-label":(0,At.__)("Gradient Type","kadence-blocks")},(0,s.map)(Qt,(({name:e,key:t})=>(0,o.createElement)(Ft.Button,{key:t,className:"kt-btn-size-btn",isSmall:!0,isPrimary:(u[0].gradient&&void 0!==u[0].gradient[4]?u[0].gradient[4]:"linear")===t,"aria-pressed":(u[0].gradient&&void 0!==u[0].gradient[4]?u[0].gradient[4]:"linear")===t,onClick:()=>{Je(t,4)}},e))))),"radial"!==(u[0].gradient&&void 0!==u[0].gradient[4]?u[0].gradient[4]:"linear")&&(0,o.createElement)(Ft.RangeControl,{label:(0,At.__)("Gradient Angle","kadence-blocks"),value:u[0].gradient&&void 0!==u[0].gradient[5]?u[0].gradient[5]:180,onChange:e=>{Je(e,5)},min:0,max:360}),"radial"===(u[0].gradient&&void 0!==u[0].gradient[4]?u[0].gradient[4]:"linear")&&(0,o.createElement)(Ft.SelectControl,{label:(0,At.__)("Gradient Position","kadence-blocks"),value:u[0].gradient&&void 0!==u[0].gradient[6]?u[0].gradient[6]:"center center",options:[{value:"center top",label:(0,At.__)("Center Top","kadence-blocks")},{value:"center center",label:(0,At.__)("Center Center","kadence-blocks")},{value:"center bottom",label:(0,At.__)("Center Bottom","kadence-blocks")},{value:"left top",label:(0,At.__)("Left Top","kadence-blocks")},{value:"left center",label:(0,At.__)("Left Center","kadence-blocks")},{value:"left bottom",label:(0,At.__)("Left Bottom","kadence-blocks")},{value:"right top",label:(0,At.__)("Right Top","kadence-blocks")},{value:"right center",label:(0,At.__)("Right Center","kadence-blocks")},{value:"right bottom",label:(0,At.__)("Right Bottom","kadence-blocks")}],onChange:e=>{Je(e,6)}})),(0,o.createElement)(d.PopColorControl,{label:(0,At.__)("Input Border","kadence-blocks"),value:u[0].border?u[0].border:"",default:"",onChange:e=>{Qe({border:e})},opacityValue:u[0].borderOpacity,onOpacityChange:e=>Qe({borderOpacity:e}),onArrayChange:(e,t)=>Qe({border:e,borderOpacity:t})}),(0,o.createElement)(d.BoxShadowControl,{label:(0,At.__)("Input Box Shadow","kadence-blocks"),enable:void 0!==u[0].boxShadow&&void 0!==u[0].boxShadow[0]&&u[0].boxShadow[0],color:void 0!==u[0].boxShadow&&void 0!==u[0].boxShadow[1]?u[0].boxShadow[1]:"#000000",default:"#000000",opacity:void 0!==u[0].boxShadow&&void 0!==u[0].boxShadow[2]?u[0].boxShadow[2]:.4,hOffset:void 0!==u[0].boxShadow&&void 0!==u[0].boxShadow[3]?u[0].boxShadow[3]:2,vOffset:void 0!==u[0].boxShadow&&void 0!==u[0].boxShadow[4]?u[0].boxShadow[4]:2,blur:void 0!==u[0].boxShadow&&void 0!==u[0].boxShadow[5]?u[0].boxShadow[5]:3,spread:void 0!==u[0].boxShadow&&void 0!==u[0].boxShadow[6]?u[0].boxShadow[6]:0,inset:void 0!==u[0].boxShadow&&void 0!==u[0].boxShadow[7]&&u[0].boxShadow[7],onEnableChange:e=>{et(e,0)},onColorChange:e=>{et(e,1)},onOpacityChange:e=>{et(e,2)},onHOffsetChange:e=>{et(e,3)},onVOffsetChange:e=>{et(e,4)},onBlurChange:e=>{et(e,5)},onSpreadChange:e=>{et(e,6)},onInsetChange:e=>{et(e,7)}}))),(0,o.createElement)("div",{className:e.className,key:e.className},t)})),(0,o.createElement)("h2",null,(0,At.__)("Border Settings","kadence-blocks")),(0,o.createElement)(d.MeasurementControls,{label:(0,At.__)("Border Width","kadence-blocks"),measurement:u[0].borderWidth,control:Z,onChange:e=>Qe({borderWidth:e}),onControl:e=>ee(e),min:0,max:20,step:1}),(0,o.createElement)(Ft.RangeControl,{label:(0,At.__)("Border Radius","kadence-blocks"),value:u[0].borderRadius,onChange:e=>{Qe({borderRadius:e})},min:0,max:50}),(0,o.createElement)(d.ResponsiveRangeControls,{label:(0,At.__)("Field Row Gap","kadence-blocks"),value:void 0!==u[0].rowGap?u[0].rowGap:"",onChange:e=>{Qe({rowGap:e})},tabletValue:void 0!==u[0].tabletRowGap?u[0].tabletRowGap:"",onChangeTablet:e=>{Qe({tabletRowGap:e})},mobileValue:void 0!==u[0].mobileRowGap?u[0].mobileRowGap:"",onChangeMobile:e=>{Qe({mobileRowGap:e})},min:0,max:100,step:1,showUnit:!0,unit:"px",units:["px"]}),(0,o.createElement)(d.ResponsiveRangeControls,{label:(0,At.__)("Field Column Gutter","kadence-blocks"),value:void 0!==u[0].gutter?u[0].gutter:"",onChange:e=>{Qe({gutter:e})},tabletValue:void 0!==u[0].tabletGutter?u[0].tabletGutter:"",onChangeTablet:e=>{Qe({tabletGutter:e})},mobileValue:void 0!==u[0].mobileGutter?u[0].mobileGutter:"",onChangeMobile:e=>{Qe({mobileGutter:e})},min:0,max:50,step:2,showUnit:!0,unit:"px",units:["px"]})),(0,o.createElement)(d.KadencePanelBody,{title:(0,At.__)("Label Styles","kadence-blocks"),initialOpen:!1,panelName:"kb-form-label-styles"},(0,o.createElement)(d.PopColorControl,{label:(0,At.__)("Label Color","kadence-blocks"),value:g[0].color?g[0].color:"",default:"",onChange:e=>{at({color:e})}}),(0,o.createElement)(Ft.ToggleControl,{label:(0,At.__)("Show Required?","kadence-blocks"),help:(0,At.__)("If off required asterisk is removed.","kadence-blocks"),checked:void 0===u[0].showRequired||u[0].showRequired,onChange:e=>Qe({showRequired:e})}),u[0].showRequired&&(0,o.createElement)(d.PopColorControl,{label:(0,At.__)("Required Color","kadence-blocks"),value:u[0].requiredColor?u[0].requiredColor:"",default:"",onChange:e=>{Qe({requiredColor:e})}}),(0,o.createElement)(d.TypographyControls,{fontSize:g[0].size,onFontSize:e=>at({size:e}),fontSizeType:g[0].sizeType,onFontSizeType:e=>at({sizeType:e}),lineHeight:g[0].lineHeight,onLineHeight:e=>at({lineHeight:e}),lineHeightType:g[0].lineType,onLineHeightType:e=>at({lineType:e})}),(0,o.createElement)(d.KadencePanelBody,{title:(0,At.__)("Advanced Label Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-form-advanced-label-settings"},(0,o.createElement)(d.TypographyControls,{fontGroup:"body",letterSpacing:g[0].letterSpacing,onLetterSpacing:e=>at({letterSpacing:e}),textTransform:g[0].textTransform,onTextTransform:e=>at({textTransform:e}),fontFamily:g[0].family,onFontFamily:e=>at({family:e}),onFontChange:e=>{at({family:e.value,google:e.google})},onFontArrayChange:e=>at(e),googleFont:g[0].google,onGoogleFont:e=>at({google:e}),loadGoogleFont:g[0].loadGoogle,onLoadGoogleFont:e=>at({loadGoogle:e}),fontVariant:g[0].variant,onFontVariant:e=>at({variant:e}),fontWeight:g[0].weight,onFontWeight:e=>at({weight:e}),fontStyle:g[0].style,onFontStyle:e=>at({style:e}),fontSubset:g[0].subset,onFontSubset:e=>at({subset:e}),padding:g[0].padding,onPadding:e=>at({padding:e}),paddingControl:te,onPaddingControl:e=>ae(e),margin:g[0].margin,onMargin:e=>at({margin:e}),marginControl:oe,onMarginControl:e=>ne(e)}))),(0,o.createElement)(d.KadencePanelBody,{title:(0,At.__)("Submit Styles","kadence-blocks"),initialOpen:!1,panelName:"kb-form-submit-styles"},(0,o.createElement)("h2",{className:"kt-heading-size-title kt-secondary-color-size"},(0,At.__)("Column Width","kadence-blocks")),(0,o.createElement)(Ft.TabPanel,{className:"kt-size-tabs",activeClass:"active-tab",tabs:[{name:"desk",title:(0,o.createElement)(Ft.Dashicon,{icon:"desktop"}),className:"kt-desk-tab"},{name:"tablet",title:(0,o.createElement)(Ft.Dashicon,{icon:"tablet"}),className:"kt-tablet-tab"},{name:"mobile",title:(0,o.createElement)(Ft.Dashicon,{icon:"smartphone"}),className:"kt-mobile-tab"}]},(e=>{let t;return e.name&&(t="mobile"===e.name?(0,o.createElement)(It.Fragment,null,(0,o.createElement)(Ft.SelectControl,{value:b[0].width[2],options:[{value:"20",label:(0,At.__)("20%","kadence-blocks")},{value:"25",label:(0,At.__)("25%","kadence-blocks")},{value:"33",label:(0,At.__)("33%","kadence-blocks")},{value:"40",label:(0,At.__)("40%","kadence-blocks")},{value:"50",label:(0,At.__)("50%","kadence-blocks")},{value:"60",label:(0,At.__)("60%","kadence-blocks")},{value:"66",label:(0,At.__)("66%","kadence-blocks")},{value:"75",label:(0,At.__)("75%","kadence-blocks")},{value:"80",label:(0,At.__)("80%","kadence-blocks")},{value:"100",label:(0,At.__)("100%","kadence-blocks")},{value:"unset",label:(0,At.__)("Unset","kadence-blocks")}],onChange:e=>{We({width:[b[0].width[0]?b[0].width[0]:"100",b[0].width[1]?b[0].width[1]:"",e]})}})):"tablet"===e.name?(0,o.createElement)(It.Fragment,null,(0,o.createElement)(Ft.SelectControl,{value:b[0].width[1],options:[{value:"20",label:(0,At.__)("20%","kadence-blocks")},{value:"25",label:(0,At.__)("25%","kadence-blocks")},{value:"33",label:(0,At.__)("33%","kadence-blocks")},{value:"40",label:(0,At.__)("40%","kadence-blocks")},{value:"50",label:(0,At.__)("50%","kadence-blocks")},{value:"60",label:(0,At.__)("60%","kadence-blocks")},{value:"66",label:(0,At.__)("66%","kadence-blocks")},{value:"75",label:(0,At.__)("75%","kadence-blocks")},{value:"80",label:(0,At.__)("80%","kadence-blocks")},{value:"100",label:(0,At.__)("100%","kadence-blocks")},{value:"unset",label:(0,At.__)("Unset","kadence-blocks")}],onChange:e=>{We({width:[b[0].width[0]?b[0].width[0]:"100",e,b[0].width[2]?b[0].width[2]:""]})}})):(0,o.createElement)(It.Fragment,null,(0,o.createElement)(Ft.SelectControl,{value:b[0].width[0],options:[{value:"20",label:(0,At.__)("20%","kadence-blocks")},{value:"25",label:(0,At.__)("25%","kadence-blocks")},{value:"33",label:(0,At.__)("33%","kadence-blocks")},{value:"40",label:(0,At.__)("40%","kadence-blocks")},{value:"50",label:(0,At.__)("50%","kadence-blocks")},{value:"60",label:(0,At.__)("60%","kadence-blocks")},{value:"66",label:(0,At.__)("66%","kadence-blocks")},{value:"75",label:(0,At.__)("75%","kadence-blocks")},{value:"80",label:(0,At.__)("80%","kadence-blocks")},{value:"100",label:(0,At.__)("100%","kadence-blocks")},{value:"unset",label:(0,At.__)("Unset","kadence-blocks")}],onChange:e=>{We({width:[e,b[0].width[1]?b[0].width[1]:"",b[0].width[2]?b[0].width[2]:""]})}}))),(0,o.createElement)("div",{className:e.className,key:e.className},t)})),(0,o.createElement)("div",{className:"kt-btn-size-settings-container"},(0,o.createElement)("h2",{className:"kt-beside-btn-group"},(0,At.__)("Button Size","kadence-blocks")),(0,o.createElement)(Ft.ButtonGroup,{className:"kt-button-size-type-options","aria-label":(0,At.__)("Button Size","kadence-blocks")},(0,s.map)(Kt,(({name:e,key:t})=>(0,o.createElement)(Ft.Button,{key:t,className:"kt-btn-size-btn",isSmall:!0,isPrimary:b[0].size===t,"aria-pressed":b[0].size===t,onClick:()=>We({size:t})},e))))),"custom"===b[0].size&&(0,o.createElement)("div",{className:"kt-inner-sub-section"},(0,o.createElement)("h2",{className:"kt-heading-size-title kt-secondary-color-size"},(0,At.__)("Input Padding","kadence-blocks")),(0,o.createElement)(Ft.TabPanel,{className:"kt-size-tabs",activeClass:"active-tab",tabs:[{name:"desk",title:(0,o.createElement)(Ft.Dashicon,{icon:"desktop"}),className:"kt-desk-tab"},{name:"tablet",title:(0,o.createElement)(Ft.Dashicon,{icon:"tablet"}),className:"kt-tablet-tab"},{name:"mobile",title:(0,o.createElement)(Ft.Dashicon,{icon:"smartphone"}),className:"kt-mobile-tab"}]},(e=>{let t;return e.name&&(t="mobile"===e.name?(0,o.createElement)(It.Fragment,null,(0,o.createElement)(d.MeasurementControls,{label:(0,At.__)("Mobile Padding","kadence-blocks"),measurement:b[0].mobilePadding,control:ue,onChange:e=>We({mobilePadding:e}),onControl:e=>pe(e),min:0,max:100,step:1})):"tablet"===e.name?(0,o.createElement)(d.MeasurementControls,{label:(0,At.__)("Tablet Padding","kadence-blocks"),measurement:b[0].tabletPadding,control:de,onChange:e=>We({tabletPadding:e}),onControl:e=>ce(e),min:0,max:100,step:1}):(0,o.createElement)(d.MeasurementControls,{label:(0,At.__)("Desktop Padding","kadence-blocks"),measurement:b[0].deskPadding,control:le,onChange:e=>We({deskPadding:e}),onControl:e=>se(e),min:0,max:100,step:1})),(0,o.createElement)("div",{className:e.className,key:e.className},t)}))),(0,o.createElement)("div",{className:"kt-btn-size-settings-container"},(0,o.createElement)("h2",{className:"kt-beside-btn-group"},(0,At.__)("Button Width","kadence-blocks")),(0,o.createElement)(Ft.ButtonGroup,{className:"kt-button-size-type-options","aria-label":(0,At.__)("Button Width","kadence-blocks")},(0,s.map)(Xt,(({name:e,key:t})=>(0,o.createElement)(Ft.Button,{key:t,className:"kt-btn-size-btn",isSmall:!0,isPrimary:b[0].widthType===t,"aria-pressed":b[0].widthType===t,onClick:()=>We({widthType:t})},e))))),"fixed"===b[0].widthType&&(0,o.createElement)("div",{className:"kt-inner-sub-section"},(0,o.createElement)("h2",{className:"kt-heading-size-title kt-secondary-color-size"},(0,At.__)("Fixed Width","kadence-blocks")),(0,o.createElement)(Ft.TabPanel,{className:"kt-size-tabs",activeClass:"active-tab",tabs:[{name:"desk",title:(0,o.createElement)(Ft.Dashicon,{icon:"desktop"}),className:"kt-desk-tab"},{name:"tablet",title:(0,o.createElement)(Ft.Dashicon,{icon:"tablet"}),className:"kt-tablet-tab"},{name:"mobile",title:(0,o.createElement)(Ft.Dashicon,{icon:"smartphone"}),className:"kt-mobile-tab"}]},(e=>{let t;return e.name&&(t="mobile"===e.name?(0,o.createElement)(Ft.RangeControl,{value:b[0].fixedWidth&&void 0!==b[0].fixedWidth[2]?b[0].fixedWidth[2]:void 0,onChange:e=>{We({fixedWidth:[void 0!==b[0].fixedWidth&&void 0!==b[0].fixedWidth[0]?b[0].fixedWidth[0]:"",void 0!==b[0].fixedWidth&&void 0!==b[0].fixedWidth[1]?b[0].fixedWidth[1]:"",e]})},min:10,max:500}):"tablet"===e.name?(0,o.createElement)(Ft.RangeControl,{value:b[0].fixedWidth&&void 0!==b[0].fixedWidth[1]?b[0].fixedWidth[1]:void 0,onChange:e=>{We({fixedWidth:[void 0!==b[0].fixedWidth&&void 0!==b[0].fixedWidth[0]?b[0].fixedWidth[0]:"",e,void 0!==b[0].fixedWidth&&void 0!==b[0].fixedWidth[2]?b[0].fixedWidth[2]:""]})},min:10,max:500}):(0,o.createElement)(Ft.RangeControl,{value:b[0].fixedWidth&&void 0!==b[0].fixedWidth[0]?b[0].fixedWidth[0]:void 0,onChange:e=>{We({fixedWidth:[e,void 0!==b[0].fixedWidth&&void 0!==b[0].fixedWidth[1]?b[0].fixedWidth[1]:"",void 0!==b[0].fixedWidth&&void 0!==b[0].fixedWidth[2]?b[0].fixedWidth[2]:""]})},min:10,max:500})),(0,o.createElement)("div",{className:e.className,key:e.className},t)}))),(0,o.createElement)("h2",{className:"kt-heading-size-title kt-secondary-color-size"},(0,At.__)("Button Colors","kadence-blocks")),(0,o.createElement)(Ft.TabPanel,{className:"kt-inspect-tabs kt-hover-tabs",activeClass:"active-tab",tabs:[{name:"normal",title:(0,At.__)("Normal","kadence-blocks"),className:"kt-normal-tab"},{name:"hover",title:(0,At.__)("Hover","kadence-blocks"),className:"kt-hover-tab"}]},(e=>{let t;return e.name&&(t="hover"===e.name?(0,o.createElement)(It.Fragment,null,(0,o.createElement)(d.PopColorControl,{label:(0,At.__)("Text Hover Color","kadence-blocks"),value:b[0].colorHover?b[0].colorHover:"",default:"",onChange:e=>{We({colorHover:e})}}),(0,o.createElement)("div",{className:"kt-btn-size-settings-container"},(0,o.createElement)("h2",{className:"kt-beside-btn-group"},(0,At.__)("Background Type","kadence-blocks")),(0,o.createElement)(Ft.ButtonGroup,{className:"kt-button-size-type-options","aria-label":(0,At.__)("Background Type","kadence-blocks")},(0,s.map)(Jt,(({name:e,key:t})=>(0,o.createElement)(Ft.Button,{key:t,className:"kt-btn-size-btn",isSmall:!0,isPrimary:(void 0!==b[0].backgroundHoverType?b[0].backgroundHoverType:"solid")===t,"aria-pressed":(void 0!==b[0].backgroundHoverType?b[0].backgroundHoverType:"solid")===t,onClick:()=>We({backgroundHoverType:t})},e))))),"gradient"!==b[0].backgroundHoverType&&(0,o.createElement)("div",{className:"kt-inner-sub-section"},(0,o.createElement)(d.PopColorControl,{label:(0,At.__)("Button Hover Background","kadence-blocks"),value:b[0].backgroundHover?b[0].backgroundHover:"",default:"",onChange:e=>{We({backgroundHover:e})},opacityValue:b[0].backgroundHoverOpacity,onOpacityChange:e=>We({backgroundHoverOpacity:e}),onArrayChange:(e,t)=>We({backgroundHover:e,backgroundHoverOpacity:t})})),"gradient"===b[0].backgroundHoverType&&(0,o.createElement)("div",{className:"kt-inner-sub-section"},(0,o.createElement)(d.PopColorControl,{label:(0,At.__)("Gradient Color 1","kadence-blocks"),value:b[0].backgroundHover?b[0].backgroundHover:"",default:"",onChange:e=>{We({backgroundHover:e})},opacityValue:b[0].backgroundHoverOpacity,onOpacityChange:e=>We({backgroundHoverOpacity:e}),onArrayChange:(e,t)=>We({backgroundHover:e,backgroundHoverOpacity:t})}),(0,o.createElement)(Ft.RangeControl,{label:(0,At.__)("Location","kadence-blocks"),value:b[0].gradientHover&&void 0!==b[0].gradientHover[2]?b[0].gradientHover[2]:0,onChange:e=>{je(e,2)},min:0,max:100}),(0,o.createElement)(d.PopColorControl,{label:(0,At.__)("Gradient Color 2","kadence-blocks"),value:b[0].gradientHover&&void 0!==b[0].gradientHover[0]?b[0].gradientHover[0]:"#999999",default:"#999999",opacityValue:b[0].gradientHover&&void 0!==b[0].gradientHover[1]?b[0].gradientHover[1]:1,onChange:e=>{je(e,0)},onOpacityChange:e=>{je(e,1)}}),(0,o.createElement)(Ft.RangeControl,{label:(0,At.__)("Location","kadence-blocks"),value:b[0].gradientHover&&void 0!==b[0].gradientHover[3]?b[0].gradientHover[3]:100,onChange:e=>{je(e,3)},min:0,max:100}),(0,o.createElement)("div",{className:"kt-btn-size-settings-container"},(0,o.createElement)("h2",{className:"kt-beside-btn-group"},(0,At.__)("Gradient Type","kadence-blocks")),(0,o.createElement)(Ft.ButtonGroup,{className:"kt-button-size-type-options","aria-label":(0,At.__)("Gradient Type","kadence-blocks")},(0,s.map)(Qt,(({name:e,key:t})=>(0,o.createElement)(Ft.Button,{key:t,className:"kt-btn-size-btn",isSmall:!0,isPrimary:(b[0].gradientHover&&void 0!==b[0].gradientHover[4]?b[0].gradientHover[4]:"linear")===t,"aria-pressed":(b[0].gradientHover&&void 0!==b[0].gradientHover[4]?b[0].gradientHover[4]:"linear")===t,onClick:()=>{je(t,4)}},e))))),"radial"!==(b[0].gradientHover&&void 0!==b[0].gradientHover[4]?b[0].gradientHover[4]:"linear")&&(0,o.createElement)(Ft.RangeControl,{label:(0,At.__)("Gradient Angle","kadence-blocks"),value:b[0].gradientHover&&void 0!==b[0].gradientHover[5]?b[0].gradientHover[5]:180,onChange:e=>{je(e,5)},min:0,max:360}),"radial"===(b[0].gradientHover&&void 0!==b[0].gradientHover[4]?b[0].gradientHover[4]:"linear")&&(0,o.createElement)(Ft.SelectControl,{label:(0,At.__)("Gradient Position","kadence-blocks"),value:b[0].gradientHover&&void 0!==b[0].gradientHover[6]?b[0].gradientHover[6]:"center center",options:[{value:"center top",label:(0,At.__)("Center Top","kadence-blocks")},{value:"center center",label:(0,At.__)("Center Center","kadence-blocks")},{value:"center bottom",label:(0,At.__)("Center Bottom","kadence-blocks")},{value:"left top",label:(0,At.__)("Left Top","kadence-blocks")},{value:"left center",label:(0,At.__)("Left Center","kadence-blocks")},{value:"left bottom",label:(0,At.__)("Left Bottom","kadence-blocks")},{value:"right top",label:(0,At.__)("Right Top","kadence-blocks")},{value:"right center",label:(0,At.__)("Right Center","kadence-blocks")},{value:"right bottom",label:(0,At.__)("Right Bottom","kadence-blocks")}],onChange:e=>{je(e,6)}})),(0,o.createElement)(d.PopColorControl,{label:(0,At.__)("Button Hover Border","kadence-blocks"),value:b[0].borderHover?b[0].borderHover:"",default:"",onChange:e=>{We({borderHover:e})},opacityValue:b[0].borderHoverOpacity,onOpacityChange:e=>We({borderHoverOpacity:e}),onArrayChange:(e,t)=>We({borderHover:e,borderHoverOpacity:t})}),(0,o.createElement)(d.BoxShadowControl,{label:(0,At.__)("Button Hover Box Shadow","kadence-blocks"),enable:void 0!==b[0].boxShadowHover&&void 0!==b[0].boxShadowHover[0]&&b[0].boxShadowHover[0],color:void 0!==b[0].boxShadowHover&&void 0!==b[0].boxShadowHover[1]?b[0].boxShadowHover[1]:"#000000",default:"#000000",opacity:void 0!==b[0].boxShadowHover&&void 0!==b[0].boxShadowHover[2]?b[0].boxShadowHover[2]:.4,hOffset:void 0!==b[0].boxShadowHover&&void 0!==b[0].boxShadowHover[3]?b[0].boxShadowHover[3]:2,vOffset:void 0!==b[0].boxShadowHover&&void 0!==b[0].boxShadowHover[4]?b[0].boxShadowHover[4]:2,blur:void 0!==b[0].boxShadowHover&&void 0!==b[0].boxShadowHover[5]?b[0].boxShadowHover[5]:3,spread:void 0!==b[0].boxShadowHover&&void 0!==b[0].boxShadowHover[6]?b[0].boxShadowHover[6]:0,inset:void 0!==b[0].boxShadowHover&&void 0!==b[0].boxShadowHover[7]&&b[0].boxShadowHover[7],onEnableChange:e=>{Ke(e,0)},onColorChange:e=>{Ke(e,1)},onOpacityChange:e=>{Ke(e,2)},onHOffsetChange:e=>{Ke(e,3)},onVOffsetChange:e=>{Ke(e,4)},onBlurChange:e=>{Ke(e,5)},onSpreadChange:e=>{Ke(e,6)},onInsetChange:e=>{Ke(e,7)}})):(0,o.createElement)(It.Fragment,null,(0,o.createElement)(d.PopColorControl,{label:(0,At.__)("Text Color","kadence-blocks"),value:b[0].color?b[0].color:"",default:"",onChange:e=>{We({color:e})}}),(0,o.createElement)("div",{className:"kt-btn-size-settings-container"},(0,o.createElement)("h2",{className:"kt-beside-btn-group"},(0,At.__)("Background Type","kadence-blocks")),(0,o.createElement)(Ft.ButtonGroup,{className:"kt-button-size-type-options","aria-label":(0,At.__)("Background Type","kadence-blocks")},(0,s.map)(Jt,(({name:e,key:t})=>(0,o.createElement)(Ft.Button,{key:t,className:"kt-btn-size-btn",isSmall:!0,isPrimary:(void 0!==b[0].backgroundType?b[0].backgroundType:"solid")===t,"aria-pressed":(void 0!==b[0].backgroundType?b[0].backgroundType:"solid")===t,onClick:()=>We({backgroundType:t})},e))))),"gradient"!==b[0].backgroundType&&(0,o.createElement)("div",{className:"kt-inner-sub-section"},(0,o.createElement)(d.PopColorControl,{label:(0,At.__)("Button Background","kadence-blocks"),value:b[0].background?b[0].background:"",default:"",onChange:e=>{We({background:e})},opacityValue:b[0].backgroundOpacity,onOpacityChange:e=>We({backgroundOpacity:e}),onArrayChange:(e,t)=>We({background:e,backgroundOpacity:t})})),"gradient"===b[0].backgroundType&&(0,o.createElement)("div",{className:"kt-inner-sub-section"},(0,o.createElement)(d.PopColorControl,{label:(0,At.__)("Gradient Color 1","kadence-blocks"),value:b[0].background?b[0].background:"",default:"",onChange:e=>{We({background:e})},opacityValue:b[0].backgroundOpacity,onOpacityChange:e=>We({backgroundOpacity:e}),onArrayChange:(e,t)=>We({background:e,backgroundOpacity:t})}),(0,o.createElement)(Ft.RangeControl,{label:(0,At.__)("Location","kadence-blocks"),value:b[0].gradient&&void 0!==b[0].gradient[2]?b[0].gradient[2]:0,onChange:e=>{Ge(e,2)},min:0,max:100}),(0,o.createElement)(d.PopColorControl,{label:(0,At.__)("Gradient Color 2","kadence-blocks"),value:b[0].gradient&&void 0!==b[0].gradient[0]?b[0].gradient[0]:"#999999",default:"#999999",opacityValue:b[0].gradient&&void 0!==b[0].gradient[1]?b[0].gradient[1]:1,onChange:e=>{Ge(e,0)},onOpacityChange:e=>{Ge(e,1)}}),(0,o.createElement)(Ft.RangeControl,{label:(0,At.__)("Location","kadence-blocks"),value:b[0].gradient&&void 0!==b[0].gradient[3]?b[0].gradient[3]:100,onChange:e=>{Ge(e,3)},min:0,max:100}),(0,o.createElement)("div",{className:"kt-btn-size-settings-container"},(0,o.createElement)("h2",{className:"kt-beside-btn-group"},(0,At.__)("Gradient Type","kadence-blocks")),(0,o.createElement)(Ft.ButtonGroup,{className:"kt-button-size-type-options","aria-label":(0,At.__)("Gradient Type","kadence-blocks")},(0,s.map)(Qt,(({name:e,key:t})=>(0,o.createElement)(Ft.Button,{key:t,className:"kt-btn-size-btn",isSmall:!0,isPrimary:(b[0].gradient&&void 0!==b[0].gradient[4]?b[0].gradient[4]:"linear")===t,"aria-pressed":(b[0].gradient&&void 0!==b[0].gradient[4]?b[0].gradient[4]:"linear")===t,onClick:()=>{Ge(t,4)}},e))))),"radial"!==(b[0].gradient&&void 0!==b[0].gradient[4]?b[0].gradient[4]:"linear")&&(0,o.createElement)(Ft.RangeControl,{label:(0,At.__)("Gradient Angle","kadence-blocks"),value:b[0].gradient&&void 0!==b[0].gradient[5]?b[0].gradient[5]:180,onChange:e=>{Ge(e,5)},min:0,max:360}),"radial"===(b[0].gradient&&void 0!==b[0].gradient[4]?b[0].gradient[4]:"linear")&&(0,o.createElement)(Ft.SelectControl,{label:(0,At.__)("Gradient Position","kadence-blocks"),value:b[0].gradient&&void 0!==b[0].gradient[6]?b[0].gradient[6]:"center center",options:[{value:"center top",label:(0,At.__)("Center Top","kadence-blocks")},{value:"center center",label:(0,At.__)("Center Center","kadence-blocks")},{value:"center bottom",label:(0,At.__)("Center Bottom","kadence-blocks")},{value:"left top",label:(0,At.__)("Left Top","kadence-blocks")},{value:"left center",label:(0,At.__)("Left Center","kadence-blocks")},{value:"left bottom",label:(0,At.__)("Left Bottom","kadence-blocks")},{value:"right top",label:(0,At.__)("Right Top","kadence-blocks")},{value:"right center",label:(0,At.__)("Right Center","kadence-blocks")},{value:"right bottom",label:(0,At.__)("Right Bottom","kadence-blocks")}],onChange:e=>{Ge(e,6)}})),(0,o.createElement)(d.PopColorControl,{label:(0,At.__)("Button Border","kadence-blocks"),value:b[0].border?b[0].border:"",default:"",onChange:e=>{We({border:e})},opacityValue:b[0].borderOpacity,onOpacityChange:e=>We({borderOpacity:e}),onArrayChange:(e,t)=>We({border:e,borderOpacity:t})}),(0,o.createElement)(d.BoxShadowControl,{label:(0,At.__)("Button Box Shadow","kadence-blocks"),enable:void 0!==b[0].boxShadow&&void 0!==b[0].boxShadow[0]&&b[0].boxShadow[0],color:void 0!==b[0].boxShadow&&void 0!==b[0].boxShadow[1]?b[0].boxShadow[1]:"#000000",default:"#000000",opacity:void 0!==b[0].boxShadow&&void 0!==b[0].boxShadow[2]?b[0].boxShadow[2]:.4,hOffset:void 0!==b[0].boxShadow&&void 0!==b[0].boxShadow[3]?b[0].boxShadow[3]:2,vOffset:void 0!==b[0].boxShadow&&void 0!==b[0].boxShadow[4]?b[0].boxShadow[4]:2,blur:void 0!==b[0].boxShadow&&void 0!==b[0].boxShadow[5]?b[0].boxShadow[5]:3,spread:void 0!==b[0].boxShadow&&void 0!==b[0].boxShadow[6]?b[0].boxShadow[6]:0,inset:void 0!==b[0].boxShadow&&void 0!==b[0].boxShadow[7]&&b[0].boxShadow[7],onEnableChange:e=>{Ue(e,0)},onColorChange:e=>{Ue(e,1)},onOpacityChange:e=>{Ue(e,2)},onHOffsetChange:e=>{Ue(e,3)},onVOffsetChange:e=>{Ue(e,4)},onBlurChange:e=>{Ue(e,5)},onSpreadChange:e=>{Ue(e,6)},onInsetChange:e=>{Ue(e,7)}}))),(0,o.createElement)("div",{className:e.className,key:e.className},t)})),(0,o.createElement)("h2",null,(0,At.__)("Border Settings","kadence-blocks")),(0,o.createElement)(d.MeasurementControls,{label:(0,At.__)("Border Width","kadence-blocks"),measurement:b[0].borderWidth,control:ie,onChange:e=>We({borderWidth:e}),onControl:e=>re(e),min:0,max:20,step:1}),(0,o.createElement)(Ft.RangeControl,{label:(0,At.__)("Border Radius","kadence-blocks"),value:b[0].borderRadius,onChange:e=>{We({borderRadius:e})},min:0,max:50}),(0,o.createElement)(d.TypographyControls,{fontSize:x[0].size,onFontSize:e=>Ye({size:e}),fontSizeType:x[0].sizeType,onFontSizeType:e=>Ye({sizeType:e}),lineHeight:x[0].lineHeight,onLineHeight:e=>Ye({lineHeight:e}),lineHeightType:x[0].lineType,onLineHeightType:e=>Ye({lineType:e})}),(0,o.createElement)(d.KadencePanelBody,{title:(0,At.__)("Advanced Button Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-form-advanced-button-settings"},(0,o.createElement)(d.TypographyControls,{fontGroup:"body",letterSpacing:x[0].letterSpacing,onLetterSpacing:e=>Ye({letterSpacing:e}),textTransform:x[0].textTransform,onTextTransform:e=>Ye({textTransform:e}),fontFamily:x[0].family,onFontFamily:e=>Ye({family:e}),onFontChange:e=>{Ye({family:e.value,google:e.google})},onFontArrayChange:e=>Ye(e),googleFont:x[0].google,onGoogleFont:e=>Ye({google:e}),loadGoogleFont:x[0].loadGoogle,onLoadGoogleFont:e=>Ye({loadGoogle:e}),fontVariant:x[0].variant,onFontVariant:e=>Ye({variant:e}),fontWeight:x[0].weight,onFontWeight:e=>Ye({weight:e}),fontStyle:x[0].style,onFontStyle:e=>Ye({style:e}),fontSubset:x[0].subset,onFontSubset:e=>Ye({subset:e})}),(0,o.createElement)(Ft.ButtonGroup,{className:"kt-size-type-options kt-row-size-type-options","aria-label":(0,At.__)("Margin Type","kadence-blocks")},(0,s.map)([{key:"px",name:"px"},{key:"em",name:"em"},{key:"%",name:"%"},{key:"vh",name:"vh"},{key:"rem",name:"rem"}],(({name:e,key:t})=>(0,o.createElement)(Ft.Button,{key:t,className:"kt-size-btn",isSmall:!0,isPrimary:Zt===t,"aria-pressed":Zt===t,onClick:()=>Ve({unit:t})},e)))),(0,o.createElement)("h2",{className:"kt-heading-size-title kt-secondary-color-size"},(0,At.__)("Margin Unit","kadence-blocks")),(0,o.createElement)("h2",{className:"kt-heading-size-title"},(0,At.__)("Margin","kadence-blocks")),(0,o.createElement)(Ft.TabPanel,{className:"kt-size-tabs",activeClass:"active-tab",tabs:[{name:"desk",title:(0,o.createElement)(Ft.Dashicon,{icon:"desktop"}),className:"kt-desk-tab"},{name:"tablet",title:(0,o.createElement)(Ft.Dashicon,{icon:"tablet"}),className:"kt-tablet-tab"},{name:"mobile",title:(0,o.createElement)(Ft.Dashicon,{icon:"smartphone"}),className:"kt-mobile-tab"}]},(e=>{let t;return e.name&&(t="mobile"===e.name?(0,o.createElement)(d.MeasurementControls,{label:(0,At.__)("Mobile Margin","kadence-blocks"),measurement:void 0!==O&&void 0!==O[0]&&O[0].mobile?O[0].mobile:["","","",""],control:void 0!==O&&void 0!==O[0]&&O[0].control?O[0].control:"linked",onChange:e=>Ve({mobile:e}),onControl:e=>Ve({control:e}),min:ea,max:ta,step:aa,allowEmpty:!0}):"tablet"===e.name?(0,o.createElement)(d.MeasurementControls,{label:(0,At.__)("Tablet Margin","kadence-blocks"),measurement:void 0!==O&&void 0!==O[0]&&O[0].tablet?O[0].tablet:["","","",""],control:void 0!==O&&void 0!==O[0]&&O[0].control?O[0].control:"linked",onChange:e=>Ve({tablet:e}),onControl:e=>Ve({control:e}),min:ea,max:ta,step:aa,allowEmpty:!0}):(0,o.createElement)(d.MeasurementControls,{label:(0,At.__)("Desktop Margin","kadence-blocks"),measurement:void 0!==O&&void 0!==O[0]&&O[0].desk?O[0].desk:["","","",""],control:void 0!==O&&void 0!==O[0]&&O[0].control?O[0].control:"linked",onChange:e=>Ve({desk:e}),onControl:e=>Ve({control:e}),min:ea,max:ta,step:aa,allowEmpty:!0})),(0,o.createElement)("div",{className:e.className,key:e.className},t)}))),(0,o.createElement)(Ft.TextControl,{label:(0,At.__)("Submit aria description","kadence-blocks"),help:(0,At.__)("Provide more context for screen readers","kadence-blocks"),value:void 0!==H?H:"",onChange:e=>i({submitLabel:e})}))),"advanced"===He&&(0,o.createElement)(It.Fragment,null,(0,o.createElement)(d.KadencePanelBody,{panelName:"kb-row-padding"},(0,o.createElement)(d.ResponsiveMeasureRangeControl,{label:(0,At.__)("Margin","kadence-blocks"),tabletControl:_e,mobileControl:we,value:void 0!==N?N:["","","",""],tabletValue:void 0!==P?P:["","","",""],mobileValue:void 0!==$?$:["","","",""],onChange:e=>{i({containerMargin:e})},onChangeTablet:e=>{i({tabletContainerMargin:e})},onChangeMobile:e=>{i({mobileContainerMargin:e})},min:Mt,max:Ht,step:Gt,unit:M,units:["px","em","rem","%","vh"],onUnit:e=>i({containerMarginType:e}),onMouseOver:De.onMouseOver,onMouseOut:De.onMouseOut,allowAuto:!0}),(0,o.createElement)(Ft.ToggleControl,{label:(0,At.__)("Align field labels with submit alignment?","kadence-blocks"),checked:void 0!==D&&D,onChange:e=>i({hAlignFormFeilds:e})})),(0,o.createElement)("div",{className:"kt-sidebar-settings-spacer"}),(0,o.createElement)(d.KadenceBlockDefaults,{attributes:t,defaultAttributes:zt.attributes,blockSlug:zt.name,excludedAttrs:ze}))),(0,o.createElement)("div",{id:`animate-id${c}`,className:`kb-form-wrap aos-animate${E?" kb-form-align-"+E:""}${D?" kb-form-field-align":""}`,"data-aos":C||void 0,"data-aos-duration":S&&S[0]&&S[0].duration?S[0].duration:void 0,"data-aos-easing":S&&S[0]&&S[0].easing?S[0].easing:void 0,style:{marginLeft:void 0!==vt?(0,Dt.getSpacingOptionOutput)(vt,bt):void 0,marginRight:void 0!==ht?(0,Dt.getSpacingOptionOutput)(ht,bt):void 0,marginTop:void 0!==mt?(0,Dt.getSpacingOptionOutput)(mt,bt):void 0,marginBottom:void 0!==gt?(0,Dt.getSpacingOptionOutput)(gt,bt):void 0}},(0,o.createElement)(d.SpacingVisualizer,{type:"outside",forceShow:De.isMouseOver,spacing:[(0,Dt.getSpacingOptionOutput)(mt,bt),(0,Dt.getSpacingOptionOutput)(ht,bt),(0,Dt.getSpacingOptionOutput)(gt,bt),(0,Dt.getSpacingOptionOutput)(vt,bt)]}),(0,o.createElement)("div",{id:`kb-form-${c}`,className:"kb-form",style:{marginRight:void 0!==u[0].gutter&&""!==u[0].gutter?"-"+u[0].gutter/2+"px":void 0,marginLeft:void 0!==u[0].gutter&&""!==u[0].gutter?"-"+u[0].gutter/2+"px":void 0}},ma,(0,o.createElement)("div",{className:"kadence-blocks-form-field kb-submit-field",style:{width:b[0].width[0]+"%",paddingRight:void 0!==u[0].gutter&&""!==u[0].gutter?u[0].gutter/2+"px":void 0,paddingLeft:void 0!==u[0].gutter&&""!==u[0].gutter?u[0].gutter/2+"px":void 0},tabIndex:"0",role:"button",onClick:()=>Re,onFocus:()=>Re,onKeyDown:()=>Re},(0,o.createElement)(Bt.RichText,{tagName:"div",placeholder:(0,At.__)("Submit","kadence-blocks"),onFocus:()=>Re,value:b[0].label,onChange:e=>{We({label:e})},allowedFormats:(0,qt.applyFilters)("kadence.whitelist_richtext_formats",["kadence/insert-dynamic","core/bold","core/italic","core/strikethrough","toolset/inline-field"]),className:`kb-forms-submit kb-button-size-${b[0].size} kb-button-width-${b[0].widthType}`,style:{background:void 0!==la?la:void 0,color:void 0!==b[0].color?(0,Dt.KadenceColorOutput)(b[0].color):void 0,fontSize:(0,Dt.getFontSizeOptionOutput)(St,Tt),lineHeight:pt+ut,fontWeight:x[0].weight,fontStyle:x[0].style,letterSpacing:x[0].letterSpacing+"px",textTransform:x[0].textTransform?x[0].textTransform:void 0,fontFamily:x[0].family?x[0].family:"",borderRadius:void 0!==b[0].borderRadius?b[0].borderRadius+"px":void 0,borderColor:void 0===b[0].border?void 0:(0,Dt.KadenceColorOutput)(b[0].border,void 0!==b[0].borderOpacity?b[0].borderOpacity:1),width:void 0!==b[0].widthType&&"fixed"===b[0].widthType&&void 0!==b[0].fixedWidth&&void 0!==b[0].fixedWidth[0]?b[0].fixedWidth[0]+"px":void 0,paddingTop:"custom"===b[0].size&&""!==b[0].deskPadding[0]?b[0].deskPadding[0]+"px":void 0,paddingRight:"custom"===b[0].size&&""!==b[0].deskPadding[1]?b[0].deskPadding[1]+"px":void 0,paddingBottom:"custom"===b[0].size&&""!==b[0].deskPadding[2]?b[0].deskPadding[2]+"px":void 0,paddingLeft:"custom"===b[0].size&&""!==b[0].deskPadding[3]?b[0].deskPadding[3]+"px":void 0,borderTopWidth:b[0].borderWidth&&""!==b[0].borderWidth[0]?b[0].borderWidth[0]+"px":void 0,borderRightWidth:b[0].borderWidth&&""!==b[0].borderWidth[1]?b[0].borderWidth[1]+"px":void 0,borderBottomWidth:b[0].borderWidth&&""!==b[0].borderWidth[2]?b[0].borderWidth[2]+"px":void 0,borderLeftWidth:b[0].borderWidth&&""!==b[0].borderWidth[3]?b[0].borderWidth[3]+"px":void 0,boxShadow:void 0!==b[0].boxShadow&&void 0!==b[0].boxShadow[0]&&b[0].boxShadow[0]?(void 0!==b[0].boxShadow[7]&&b[0].boxShadow[7]?"inset ":"")+(void 0!==b[0].boxShadow[3]?b[0].boxShadow[3]:1)+"px "+(void 0!==b[0].boxShadow[4]?b[0].boxShadow[4]:1)+"px "+(void 0!==b[0].boxShadow[5]?b[0].boxShadow[5]:2)+"px "+(void 0!==b[0].boxShadow[6]?b[0].boxShadow[6]:0)+"px "+(0,Dt.KadenceColorOutput)(void 0!==b[0].boxShadow[1]?b[0].boxShadow[1]:"#000000",void 0!==b[0].boxShadow[2]?b[0].boxShadow[2]:1):void 0,marginTop:lt+rt,marginRight:st+rt,marginBottom:dt+rt,marginLeft:ct+rt}})))))},save:e=>{const{attributes:{uniqueID:t,fields:a,submit:n,style:i,postID:l,hAlign:d,recaptcha:c,recaptchaVersion:u,honeyPot:p,messages:b,submitLabel:m,hAlignFormFeilds:h}}=e,g=(0,o.createElement)(It.Fragment,null,(0,s.times)(a.length,(e=>(e=>{if("hidden"===a[e].type)return(0,o.createElement)("input",{type:"hidden",name:`kb_field_${e}`,value:a[e].default});const n=r()({"kadence-blocks-form-field":!0,[`kb-form-field-${e}`]:e,[`kb-field-desk-width-${a[e].width[0]}`]:a[e].width&&a[e].width[0],[`kb-field-tablet-width-${a[e].width[1]}`]:a[e].width&&a[e].width[1],[`kb-field-mobile-width-${a[e].width[2]}`]:a[e].width&&a[e].width[2],[`kb-input-size-${i[0].size}`]:i[0].size,"kb-accept-form-field":"accept"===a[e].type});let l,d,c;return a[e].label&&a[e].label.includes("{privacy_policy}")?(d=a[e].label.split("{")[0],c=a[e].label.split("}")[1],l=(0,o.createElement)(It.Fragment,null,d,(0,o.createElement)("a",{href:void 0!==kadence_blocks_params.privacy_link&&""!==kadence_blocks_params.privacy_link?kadence_blocks_params.privacy_link:"#",target:"blank",rel:"noopener noreferrer"},void 0!==kadence_blocks_params.privacy_title&&""!==kadence_blocks_params.privacy_title?kadence_blocks_params.privacy_title:"Privacy policy"),c)):l=a[e].label,(0,o.createElement)("div",{className:n},"accept"===a[e].type&&(0,o.createElement)(It.Fragment,null,a[e].showLink&&(0,o.createElement)("a",{href:void 0!==a[e].default&&""!==a[e].default?a[e].default:"#",target:"_blank",rel:"noopener noreferrer",className:"kb-accept-link"},void 0!==a[e].placeholder&&""!==a[e].placeholder?a[e].placeholder:"View Privacy Policy"),void 0!==a[e].ariaLabel&&a[e].ariaLabel&&(0,o.createElement)("span",{id:`kb_field_desc_${t}_${e}`,className:"screen-reader-text kb-field-desc-label"},a[e].ariaLabel),(0,o.createElement)("input",{type:"checkbox",name:`kb_field_${e}`,id:`kb_field_${t}_${e}`,className:`kb-field kb-checkbox-style kb-${a[e].type}`,value:"accept",checked:!!a[e].inline,"data-type":a[e].type,"data-required":a[e].required?"yes":void 0,"data-required-message":a[e].requiredMessage?a[e].requiredMessage:void 0,"data-validation-message":a[e].errorMessage?a[e].errorMessage:void 0,"aria-describedby":void 0!==a[e].ariaLabel&&a[e].ariaLabel?`kb_field_desc_${t}_${e}`:void 0}),(0,o.createElement)("label",{htmlFor:`kb_field_${t}_${e}`},a[e].label?l:"",a[e].required&&i[0].showRequired?(0,o.createElement)("span",{className:"required"},"*"):"")),"accept"!==a[e].type&&(0,o.createElement)(It.Fragment,null,a[e].showLabel&&(0,o.createElement)("label",{htmlFor:`kb_field_${t}_${e}`},a[e].label?a[e].label:"",a[e].required&&i[0].showRequired?(0,o.createElement)("span",{className:"required"},"*"):""),void 0!==a[e].ariaLabel&&a[e].ariaLabel&&(0,o.createElement)("span",{id:`kb_field_desc_${t}_${e}`,className:"screen-reader-text"},a[e].ariaLabel),"textarea"===a[e].type&&(0,o.createElement)("textarea",{name:`kb_field_${e}`,id:`kb_field_${t}_${e}`,"data-label":a[e].label,type:a[e].type,placeholder:a[e].placeholder,value:a[e].default,"data-type":a[e].type,className:`kb-field kb-text-style-field kb-${a[e].type}-field kb-field-${e}`,rows:a[e].rows,"data-required":a[e].required?"yes":void 0,"data-required-message":a[e].requiredMessage?a[e].requiredMessage:void 0,"data-validation-message":a[e].errorMessage?a[e].errorMessage:void 0,"aria-describedby":void 0!==a[e].ariaLabel&&a[e].ariaLabel?`kb_field_desc_${t}_${e}`:void 0}),"select"===a[e].type&&(0,o.createElement)("select",{name:a[e].multiSelect?`kb_field_${e}[]`:`kb_field_${e}`,id:`kb_field_${t}_${e}`,multiple:!!a[e].multiSelect,"data-label":a[e].label,type:a[e].type,value:a[e].default,"data-type":a[e].type,className:`kb-field kb-select-style-field kb-${a[e].type}-field kb-field-${e}`,"data-required":a[e].required?"yes":void 0,"data-required-message":a[e].requiredMessage?a[e].requiredMessage:void 0,"data-validation-message":a[e].errorMessage?a[e].errorMessage:void 0,"aria-describedby":void 0!==a[e].ariaLabel&&a[e].ariaLabel?`kb_field_desc_${t}_${e}`:void 0},void 0!==a[e].placeholder&&""!==a[e].placeholder&&(0,o.createElement)("option",{value:"",disabled:!0,selected:""===a[e].default},a[e].placeholder),(0,s.times)(a[e].options.length,(t=>(0,o.createElement)("option",{key:t,selected:void 0!==a[e].options[t].value&&a[e].options[t].value===a[e].default,value:void 0!==a[e].options[t].value?a[e].options[t].value:""},void 0!==a[e].options[t].label?a[e].options[t].label:"")))),"checkbox"===a[e].type&&(0,o.createElement)("div",{"data-type":a[e].type,"data-label":a[e].label,id:`kb_field_${t}_${e}`,className:`kb-field kb-checkbox-style-field kb-${a[e].type}-field kb-field-${e} kb-radio-style-${a[e].inline?"inline":"normal"}`,"data-required":a[e].required?"yes":void 0,"data-required-message":a[e].requiredMessage?a[e].requiredMessage:void 0,"data-validation-message":a[e].errorMessage?a[e].errorMessage:void 0},(0,s.times)(a[e].options.length,(t=>(0,o.createElement)("div",{key:t,"data-type":a[e].type,className:`kb-checkbox-item kb-checkbox-item-${t}`},(0,o.createElement)("input",{type:"checkbox",name:`kb_field_${e}[]`,id:`kb_field_${e}_${t}`,className:"kb-sub-field kb-checkbox-style",value:void 0!==a[e].options[t].value?a[e].options[t].value:"",checked:void 0!==a[e].options[t].value&&a[e].options[t].value===a[e].default}),(0,o.createElement)("label",{htmlFor:`kb_field_${e}_${t}`},void 0!==a[e].options[t].label?a[e].options[t].label:""))))),"radio"===a[e].type&&(0,o.createElement)("div",{"data-type":a[e].type,"data-label":a[e].label,id:`kb_field_${t}_${e}`,className:`kb-field kb-radio-style-field kb-${a[e].type}-field kb-field-${e} kb-radio-style-${a[e].inline?"inline":"normal"}`,"data-required":a[e].required?"yes":void 0,"data-required-message":a[e].requiredMessage?a[e].requiredMessage:void 0,"data-validation-message":a[e].errorMessage?a[e].errorMessage:void 0},(0,s.times)(a[e].options.length,(t=>(0,o.createElement)("div",{key:t,"data-type":a[e].type,className:`kb-radio-item kb-radio-item-${t}`},(0,o.createElement)("input",{type:"radio",name:`kb_field_${e}[]`,id:`kb_field_${e}_${t}`,className:"kb-sub-field kb-radio-style",value:void 0!==a[e].options[t].value?a[e].options[t].value:"",checked:void 0!==a[e].options[t].value&&a[e].options[t].value===a[e].default}),(0,o.createElement)("label",{htmlFor:`kb_field_${e}_${t}`},void 0!==a[e].options[t].label?a[e].options[t].label:""))))),"textarea"!==a[e].type&&"select"!==a[e].type&&"checkbox"!==a[e].type&&"radio"!==a[e].type&&(0,o.createElement)("input",{name:`kb_field_${e}`,id:`kb_field_${t}_${e}`,"data-label":a[e].label,type:a[e].type,placeholder:a[e].placeholder,value:a[e].default,"data-type":a[e].type,className:`kb-field kb-text-style-field kb-${a[e].type}-field kb-field-${e}`,autoComplete:""!==a[e].auto?a[e].auto:void 0,"data-required":a[e].required?"yes":void 0,"data-required-message":a[e].requiredMessage?a[e].requiredMessage:void 0,"data-validation-message":a[e].errorMessage?a[e].errorMessage:void 0,"aria-describedby":void 0!==a[e].ariaLabel&&a[e].ariaLabel?`kb_field_desc_${t}_${e}`:void 0})),void 0!==a[e].description&&""!==a[e].description&&(0,o.createElement)("span",{className:"kb-field-help"},a[e].description?a[e].description:""))})(e)))),v=r()({"kadence-blocks-form-field":!0,"kb-submit-field":!0,[`kb-field-desk-width-${n[0].width[0]}`]:n[0].width&&n[0].width[0],[`kb-field-tablet-width-${n[0].width[1]}`]:n[0].width&&n[0].width[1],[`kb-field-mobile-width-${n[0].width[2]}`]:n[0].width&&n[0].width[2]}),f=Bt.useBlockProps.save({className:`kadence-form-${t} kb-form-wrap${d?" kb-form-align-"+d:""}${h?" kb-form-field-align":""}`});return(0,o.createElement)("div",{...f},(0,o.createElement)("form",{className:"kb-form",action:"",method:"post","data-error-message":b&&b[0]&&b[0].preError?b[0].preError:void 0},g,(0,o.createElement)("input",{type:"hidden",name:"_kb_form_id",value:t}),(0,o.createElement)("input",{type:"hidden",name:"_kb_form_post_id",value:l}),(0,o.createElement)("input",{type:"hidden",name:"action",value:"kb_process_ajax_submit"}),c&&(0,o.createElement)(It.Fragment,null,"v2"===u&&(0,o.createElement)("div",{className:"kadence-blocks-form-field google-recaptcha-checkout-wrap"},(0,o.createElement)("p",{id:"kb-container-g-recaptcha",className:"google-recaptcha-container"},(0,o.createElement)("span",{id:`kb_recaptcha_${t}`,className:`kadence-blocks-g-recaptcha-v2 g-recaptcha kb_recaptcha_${t}`,style:{display:"inline-block"}}))),"v2"!==u&&(0,o.createElement)("input",{type:"hidden",name:"recaptcha_response",className:`kb_recaptcha_response kb_recaptcha_${t}`})),p&&(0,o.createElement)("input",{className:"kadence-blocks-field verify",type:"text",name:"_kb_verify_email",autoComplete:"off","aria-hidden":"true",placeholder:"Email",tabIndex:"-1"}),(0,o.createElement)("div",{className:v},m&&(0,o.createElement)("span",{id:`kb_submit_label_${t}`,className:"screen-reader-text kb-submit-desc-label"},m),(0,o.createElement)(Bt.RichText.Content,{tagName:"button","aria-describedby":m?`kb_submit_label_${t}`:void 0,value:""!==n[0].label?n[0].label:"Submit",className:`kb-forms-submit button kb-button-size-${n[0].size?n[0].size:"standard"} kb-button-width-${n[0].widthType?n[0].widthType:"auto"}`}))))},deprecated:[{attributes:{uniqueID:{type:"string",default:""},postID:{type:"number",default:""},hAlign:{type:"string",default:""},fields:{type:"array",default:[{label:"Name",showLabel:!0,placeholder:"",default:"",description:"",rows:4,options:[{value:"",label:""}],multiSelect:!1,inline:!1,showLink:!1,min:"",max:"",type:"text",required:!1,width:["100","",""],auto:"",errorMessage:"",requiredMessage:""},{label:"Email",showLabel:!0,placeholder:"",default:"",description:"",rows:4,options:[{value:"",label:""}],multiSelect:!1,inline:!1,showLink:!1,min:"",max:"",type:"email",required:!0,width:["100","",""],auto:"",errorMessage:"",requiredMessage:""},{label:"Message",showLabel:!0,placeholder:"",default:"",description:"",rows:4,options:[{value:"",label:""}],multiSelect:!1,inline:!1,showLink:!1,min:"",max:"",type:"textarea",required:!0,width:["100","",""],auto:"",errorMessage:"",requiredMessage:""}]},messages:{type:"array",default:[{success:"",error:"",required:"",invalid:"",recaptchaerror:"",preError:""}]},messageFont:{type:"array",default:[{colorSuccess:"",colorError:"",borderSuccess:"",borderError:"",backgroundSuccess:"",backgroundSuccessOpacity:1,backgroundError:"",backgroundErrorOpacity:1,borderWidth:["","","",""],borderRadius:"",size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",textTransform:"",family:"",google:"",style:"",weight:"",variant:"",subset:"",loadGoogle:!0,padding:["","","",""],margin:["","","",""]}]},style:{type:"array",default:[{showRequired:!0,size:"standard",deskPadding:["","","",""],tabletPadding:["","","",""],mobilePadding:["","","",""],color:"",requiredColor:"",background:"",border:"",backgroundOpacity:1,borderOpacity:1,borderRadius:"",borderWidth:["","","",""],colorActive:"",backgroundActive:"",borderActive:"",backgroundActiveOpacity:1,borderActiveOpacity:1,gradient:["#999999",1,0,100,"linear",180,"center center"],gradientActive:["#777777",1,0,100,"linear",180,"center center"],backgroundType:"solid",backgroundActiveType:"solid",boxShadow:[!1,"#000000",.2,1,1,2,0,!1],boxShadowActive:[!1,"#000000",.4,2,2,3,0,!1],fontSize:["","",""],fontSizeType:"px",lineHeight:["","",""],lineType:"px",rowGap:"",rowGapType:"px",gutter:"",gutterType:"px"}]},labelFont:{type:"array",default:[{color:"",size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",textTransform:"",family:"",google:"",style:"",weight:"",variant:"",subset:"",loadGoogle:!0,padding:["","","",""],margin:["","","",""]}]},submit:{type:"array",default:[{label:"",width:["100","",""],size:"standard",widthType:"auto",fixedWidth:["","",""],align:["","",""],deskPadding:["","","",""],tabletPadding:["","","",""],mobilePadding:["","","",""],color:"",background:"",border:"",backgroundOpacity:1,borderOpacity:1,borderRadius:"",borderWidth:["","","",""],colorHover:"",backgroundHover:"",borderHover:"",backgroundHoverOpacity:1,borderHoverOpacity:1,icon:"",iconSide:"right",iconHover:!1,cssClass:"",gradient:["#999999",1,0,100,"linear",180,"center center"],gradientHover:["#777777",1,0,100,"linear",180,"center center"],btnStyle:"basic",btnSize:"standard",backgroundType:"solid",backgroundHoverType:"solid",boxShadow:[!1,"#000000",.2,1,1,2,0,!1],boxShadowHover:[!1,"#000000",.4,2,2,3,0,!1]}]},submitMargin:{type:"array",default:[{desk:["","","",""],tablet:["","","",""],mobile:["","","",""],unit:"px",control:"linked"}]},submitFont:{type:"array",default:[{size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",textTransform:"",family:"",google:"",style:"",weight:"",variant:"",subset:"",loadGoogle:!0}]},actions:{type:"array",default:["email"]},email:{type:"array",default:[{emailTo:"",subject:"",fromEmail:"",fromName:"",replyTo:"email_field",cc:"",bcc:"",html:!0}]},redirect:{type:"string",default:""},recaptcha:{type:"boolean",default:!1},recaptchaVersion:{type:"string",default:"v3"},honeyPot:{type:"boolean",default:!0},mailerlite:{type:"array",default:[{group:[],map:[]}]},fluentcrm:{type:"array",default:[{lists:[],tags:[],map:[],doubleOptin:!1}]},containerMarginType:{type:"string",default:"px"},containerMargin:{type:"array",default:["","","",""]},tabletContainerMargin:{type:"array",default:["","","",""]},mobileContainerMargin:{type:"array",default:["","","",""]}},save:({attributes:e})=>{const{uniqueID:t,fields:a,submit:n,style:i,postID:l,hAlign:d,recaptcha:c,recaptchaVersion:u,honeyPot:p,messages:b}=e,m=(0,o.createElement)(It.Fragment,null,(0,s.times)(a.length,(e=>(e=>{if("hidden"===a[e].type)return(0,o.createElement)("input",{type:"hidden",name:`kb_field_${e}`,value:a[e].default});const n=r()({"kadence-blocks-form-field":!0,[`kb-form-field-${e}`]:e,[`kb-field-desk-width-${a[e].width[0]}`]:a[e].width&&a[e].width[0],[`kb-field-tablet-width-${a[e].width[1]}`]:a[e].width&&a[e].width[1],[`kb-field-mobile-width-${a[e].width[2]}`]:a[e].width&&a[e].width[2],[`kb-input-size-${i[0].size}`]:i[0].size});let l,d,c;return a[e].label&&a[e].label.includes("{privacy_policy}")?(d=a[e].label.split("{")[0],c=a[e].label.split("}")[1],l=(0,o.createElement)(It.Fragment,null,d,(0,o.createElement)("a",{href:void 0!==kadence_blocks_params.privacy_link&&""!==kadence_blocks_params.privacy_link?kadence_blocks_params.privacy_link:"#",target:"blank",rel:"noopener noreferrer"},void 0!==kadence_blocks_params.privacy_title&&""!==kadence_blocks_params.privacy_title?kadence_blocks_params.privacy_title:"Privacy policy"),c)):l=a[e].label,(0,o.createElement)("div",{className:n},"accept"===a[e].type&&(0,o.createElement)(It.Fragment,null,a[e].showLink&&(0,o.createElement)("a",{href:void 0!==a[e].default&&""!==a[e].default?a[e].default:"#",target:"_blank",rel:"noopener noreferrer",className:"kb-accept-link"},void 0!==a[e].placeholder&&""!==a[e].placeholder?a[e].placeholder:"View Privacy Policy"),(0,o.createElement)("input",{type:"checkbox",name:`kb_field_${e}`,id:`kb_field_${t}_${e}`,className:`kb-field kb-checkbox-style kb-${a[e].type}`,value:"accept",checked:!!a[e].inline,"data-type":a[e].type,"data-required":a[e].required?"yes":void 0,"data-required-message":a[e].requiredMessage?a[e].requiredMessage:void 0,"data-validation-message":a[e].errorMessage?a[e].errorMessage:void 0}),(0,o.createElement)("label",{htmlFor:`kb_field_${t}_${e}`},a[e].label?l:"",a[e].required&&i[0].showRequired?(0,o.createElement)("span",{className:"required"},"*"):"")),"accept"!==a[e].type&&(0,o.createElement)(It.Fragment,null,a[e].showLabel&&(0,o.createElement)("label",{htmlFor:`kb_field_${t}_${e}`},a[e].label?a[e].label:"",a[e].required&&i[0].showRequired?(0,o.createElement)("span",{className:"required"},"*"):""),"textarea"===a[e].type&&(0,o.createElement)("textarea",{name:`kb_field_${e}`,id:`kb_field_${t}_${e}`,"data-label":a[e].label,type:a[e].type,placeholder:a[e].placeholder,value:a[e].default,"data-type":a[e].type,className:`kb-field kb-text-style-field kb-${a[e].type}-field kb-field-${e}`,rows:a[e].rows,"data-required":a[e].required?"yes":void 0,"data-required-message":a[e].requiredMessage?a[e].requiredMessage:void 0,"data-validation-message":a[e].errorMessage?a[e].errorMessage:void 0}),"select"===a[e].type&&(0,o.createElement)("select",{name:a[e].multiSelect?`kb_field_${e}[]`:`kb_field_${e}`,id:`kb_field_${t}_${e}`,multiple:!!a[e].multiSelect,"data-label":a[e].label,type:a[e].type,value:a[e].default,"data-type":a[e].type,className:`kb-field kb-select-style-field kb-${a[e].type}-field kb-field-${e}`,"data-required":a[e].required?"yes":void 0,"data-required-message":a[e].requiredMessage?a[e].requiredMessage:void 0,"data-validation-message":a[e].errorMessage?a[e].errorMessage:void 0},void 0!==a[e].placeholder&&""!==a[e].placeholder&&(0,o.createElement)("option",{value:"",disabled:!0,selected:""===a[e].default},a[e].placeholder),(0,s.times)(a[e].options.length,(t=>(0,o.createElement)("option",{key:t,selected:void 0!==a[e].options[t].value&&a[e].options[t].value===a[e].default,value:void 0!==a[e].options[t].value?a[e].options[t].value:""},void 0!==a[e].options[t].label?a[e].options[t].label:"")))),"checkbox"===a[e].type&&(0,o.createElement)("div",{"data-type":a[e].type,"data-label":a[e].label,id:`kb_field_${t}_${e}`,className:`kb-field kb-checkbox-style-field kb-${a[e].type}-field kb-field-${e} kb-radio-style-${a[e].inline?"inline":"normal"}`,"data-required":a[e].required?"yes":void 0,"data-required-message":a[e].requiredMessage?a[e].requiredMessage:void 0,"data-validation-message":a[e].errorMessage?a[e].errorMessage:void 0},(0,s.times)(a[e].options.length,(t=>(0,o.createElement)("div",{key:t,"data-type":a[e].type,className:`kb-checkbox-item kb-checkbox-item-${t}`},(0,o.createElement)("input",{type:"checkbox",name:`kb_field_${e}[]`,id:`kb_field_${e}_${t}`,className:"kb-sub-field kb-checkbox-style",value:void 0!==a[e].options[t].value?a[e].options[t].value:"",checked:void 0!==a[e].options[t].value&&a[e].options[t].value===a[e].default}),(0,o.createElement)("label",{htmlFor:`kb_field_${e}_${t}`},void 0!==a[e].options[t].label?a[e].options[t].label:""))))),"radio"===a[e].type&&(0,o.createElement)("div",{"data-type":a[e].type,"data-label":a[e].label,id:`kb_field_${t}_${e}`,className:`kb-field kb-radio-style-field kb-${a[e].type}-field kb-field-${e} kb-radio-style-${a[e].inline?"inline":"normal"}`,"data-required":a[e].required?"yes":void 0,"data-required-message":a[e].requiredMessage?a[e].requiredMessage:void 0,"data-validation-message":a[e].errorMessage?a[e].errorMessage:void 0},(0,s.times)(a[e].options.length,(t=>(0,o.createElement)("div",{key:t,"data-type":a[e].type,className:`kb-radio-item kb-radio-item-${t}`},(0,o.createElement)("input",{type:"radio",name:`kb_field_${e}[]`,id:`kb_field_${e}_${t}`,className:"kb-sub-field kb-radio-style",value:void 0!==a[e].options[t].value?a[e].options[t].value:"",checked:void 0!==a[e].options[t].value&&a[e].options[t].value===a[e].default}),(0,o.createElement)("label",{htmlFor:`kb_field_${e}_${t}`},void 0!==a[e].options[t].label?a[e].options[t].label:""))))),"textarea"!==a[e].type&&"select"!==a[e].type&&"checkbox"!==a[e].type&&"radio"!==a[e].type&&(0,o.createElement)("input",{name:`kb_field_${e}`,id:`kb_field_${t}_${e}`,"data-label":a[e].label,type:a[e].type,placeholder:a[e].placeholder,value:a[e].default,"data-type":a[e].type,className:`kb-field kb-text-style-field kb-${a[e].type}-field kb-field-${e}`,autoComplete:""!==a[e].auto?a[e].auto:void 0,"data-required":a[e].required?"yes":void 0,"data-required-message":a[e].requiredMessage?a[e].requiredMessage:void 0,"data-validation-message":a[e].errorMessage?a[e].errorMessage:void 0})),void 0!==a[e].description&&""!==a[e].description&&(0,o.createElement)("span",{className:"kb-field-help"},a[e].description?a[e].description:""))})(e)))),h=r()({"kadence-blocks-form-field":!0,"kb-submit-field":!0,[`kb-field-desk-width-${n[0].width[0]}`]:n[0].width&&n[0].width[0],[`kb-field-tablet-width-${n[0].width[1]}`]:n[0].width&&n[0].width[1],[`kb-field-mobile-width-${n[0].width[2]}`]:n[0].width&&n[0].width[2]});return(0,o.createElement)("div",{className:`kadence-form-${t} kb-form-wrap${d?" kb-form-align-"+d:""}`},(0,o.createElement)("form",{className:"kb-form",action:"",method:"post","data-error-message":b&&b[0]&&b[0].preError?b[0].preError:void 0},m,(0,o.createElement)("input",{type:"hidden",name:"_kb_form_id",value:t}),(0,o.createElement)("input",{type:"hidden",name:"_kb_form_post_id",value:l}),(0,o.createElement)("input",{type:"hidden",name:"action",value:"kb_process_ajax_submit"}),c&&(0,o.createElement)(It.Fragment,null,"v2"===u&&(0,o.createElement)("div",{className:"kadence-blocks-form-field google-recaptcha-checkout-wrap"},(0,o.createElement)("p",{id:"kb-container-g-recaptcha",className:"google-recaptcha-container"},(0,o.createElement)("span",{id:`kb_recaptcha_${t}`,className:`kadence-blocks-g-recaptcha-v2 g-recaptcha kb_recaptcha_${t}`,style:{display:"inline-block"}}))),"v2"!==u&&(0,o.createElement)("input",{type:"hidden",name:"recaptcha_response",className:`kb_recaptcha_response kb_recaptcha_${t}`})),p&&(0,o.createElement)("input",{className:"kadence-blocks-field verify",type:"text",name:"_kb_verify_email",autoComplete:"off",placeholder:"Email",tabIndex:"-1"}),(0,o.createElement)("div",{className:h},(0,o.createElement)(Bt.RichText.Content,{tagName:"button",value:""!==n[0].label?n[0].label:"Submit",className:`kb-forms-submit button kb-button-size-${n[0].size?n[0].size:"standard"} kb-button-width-${n[0].widthType?n[0].widthType:"auto"}`}))))}},{attributes:{uniqueID:{type:"string",default:""},postID:{type:"number",default:""},hAlign:{type:"string",default:""},fields:{type:"array",default:[{label:"Name",showLabel:!0,placeholder:"",default:"",description:"",rows:4,options:[{value:"",label:""}],multiSelect:!1,inline:!1,showLink:!1,min:"",max:"",type:"text",required:!1,width:["100","",""],auto:"",errorMessage:""},{label:"Email",showLabel:!0,placeholder:"",default:"",description:"",rows:4,options:[{value:"",label:""}],multiSelect:!1,inline:!1,showLink:!1,min:"",max:"",type:"email",required:!0,width:["100","",""],auto:"",errorMessage:""},{label:"Message",showLabel:!0,placeholder:"",default:"",description:"",rows:4,options:[{value:"",label:""}],multiSelect:!1,inline:!1,showLink:!1,min:"",max:"",type:"textarea",required:!0,width:["100","",""],auto:"",errorMessage:""}]},messages:{type:"array",default:[{success:"",error:"",required:"",invalid:"",recaptchaerror:""}]},messageFont:{type:"array",default:[{colorSuccess:"",colorError:"",borderSuccess:"",borderError:"",backgroundSuccess:"",backgroundSuccessOpacity:1,backgroundError:"",backgroundErrorOpacity:1,borderWidth:["","","",""],borderRadius:"",size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",textTransform:"",family:"",google:"",style:"",weight:"",variant:"",subset:"",loadGoogle:!0,padding:["","","",""],margin:["","","",""]}]},style:{type:"array",default:[{showRequired:!0,size:"standard",deskPadding:["","","",""],tabletPadding:["","","",""],mobilePadding:["","","",""],color:"",requiredColor:"",background:"",border:"",backgroundOpacity:1,borderOpacity:1,borderRadius:"",borderWidth:["","","",""],colorActive:"",backgroundActive:"",borderActive:"",backgroundActiveOpacity:1,borderActiveOpacity:1,gradient:["#999999",1,0,100,"linear",180,"center center"],gradientActive:["#777777",1,0,100,"linear",180,"center center"],backgroundType:"solid",backgroundActiveType:"solid",boxShadow:[!1,"#000000",.2,1,1,2,0,!1],boxShadowActive:[!1,"#000000",.4,2,2,3,0,!1],fontSize:["","",""],fontSizeType:"px",lineHeight:["","",""],lineType:"px",rowGap:"",rowGapType:"px",gutter:"",gutterType:"px"}]},labelFont:{type:"array",default:[{color:"",size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",textTransform:"",family:"",google:"",style:"",weight:"",variant:"",subset:"",loadGoogle:!0,padding:["","","",""],margin:["","","",""]}]},submit:{type:"array",default:[{label:"",width:["100","",""],size:"standard",widthType:"auto",fixedWidth:["","",""],align:["","",""],deskPadding:["","","",""],tabletPadding:["","","",""],mobilePadding:["","","",""],color:"",background:"",border:"",backgroundOpacity:1,borderOpacity:1,borderRadius:"",borderWidth:["","","",""],colorHover:"",backgroundHover:"",borderHover:"",backgroundHoverOpacity:1,borderHoverOpacity:1,icon:"",iconSide:"right",iconHover:!1,cssClass:"",gradient:["#999999",1,0,100,"linear",180,"center center"],gradientHover:["#777777",1,0,100,"linear",180,"center center"],btnStyle:"basic",btnSize:"standard",backgroundType:"solid",backgroundHoverType:"solid",boxShadow:[!1,"#000000",.2,1,1,2,0,!1],boxShadowHover:[!1,"#000000",.4,2,2,3,0,!1]}]},submitMargin:{type:"array",default:[{desk:["","","",""],tablet:["","","",""],mobile:["","","",""],unit:"px",control:"linked"}]},submitFont:{type:"array",default:[{size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",textTransform:"",family:"",google:"",style:"",weight:"",variant:"",subset:"",loadGoogle:!0}]},actions:{type:"array",default:["email"]},email:{type:"array",default:[{emailTo:"",subject:"",fromEmail:"",fromName:"",replyTo:"email_field",cc:"",bcc:"",html:!0}]},redirect:{type:"string",default:""},recaptcha:{type:"boolean",default:!1},recaptchaVersion:{type:"string",default:"v3"},honeyPot:{type:"boolean",default:!0},mailerlite:{type:"array",default:[{group:[],map:[]}]},fluentcrm:{type:"array",default:[{lists:[],tags:[],map:[],doubleOptin:!1}]},containerMarginType:{type:"string",default:"px"},containerMargin:{type:"array",default:["","","",""]},tabletContainerMargin:{type:"array",default:["","","",""]},mobileContainerMargin:{type:"array",default:["","","",""]}},save:({attributes:e})=>{const{uniqueID:t,fields:a,submit:n,style:i,postID:l,hAlign:d,recaptcha:c,recaptchaVersion:u,honeyPot:p}=e,b=(0,o.createElement)(It.Fragment,null,(0,s.times)(a.length,(e=>(e=>{const n=r()({"kadence-blocks-form-field":!0,[`kb-form-field-${e}`]:e,[`kb-field-desk-width-${a[e].width[0]}`]:a[e].width&&a[e].width[0],[`kb-field-tablet-width-${a[e].width[1]}`]:a[e].width&&a[e].width[1],[`kb-field-mobile-width-${a[e].width[2]}`]:a[e].width&&a[e].width[2],[`kb-input-size-${i[0].size}`]:i[0].size});let l,d,c;return a[e].label&&a[e].label.includes("{privacy_policy}")?(d=a[e].label.split("{")[0],c=a[e].label.split("}")[1],l=(0,o.createElement)(It.Fragment,null,d,(0,o.createElement)("a",{href:void 0!==kadence_blocks_params.privacy_link&&""!==kadence_blocks_params.privacy_link?kadence_blocks_params.privacy_link:"#",target:"blank",rel:"noopener noreferrer"},void 0!==kadence_blocks_params.privacy_title&&""!==kadence_blocks_params.privacy_title?kadence_blocks_params.privacy_title:"Privacy policy"),c)):l=a[e].label,(0,o.createElement)("div",{className:n},"accept"===a[e].type&&(0,o.createElement)(It.Fragment,null,a[e].showLink&&(0,o.createElement)("a",{href:void 0!==a[e].default&&""!==a[e].default?a[e].default:"#",target:"_blank",rel:"noopener noreferrer",className:"kb-accept-link"},void 0!==a[e].placeholder&&""!==a[e].placeholder?a[e].placeholder:"View Privacy Policy"),(0,o.createElement)("input",{type:"checkbox",name:`kb_field_${e}`,id:`kb_field_${t}_${e}`,className:`kb-field kb-checkbox-style kb-${a[e].type}`,value:"accept",checked:!!a[e].inline,"data-type":a[e].type,"data-required":a[e].required?"yes":void 0}),(0,o.createElement)("label",{htmlFor:`kb_field_${t}_${e}`},a[e].label?l:"",a[e].required&&i[0].showRequired?(0,o.createElement)("span",{className:"required"},"*"):"")),"accept"!==a[e].type&&(0,o.createElement)(It.Fragment,null,a[e].showLabel&&(0,o.createElement)("label",{htmlFor:`kb_field_${t}_${e}`},a[e].label?a[e].label:"",a[e].required&&i[0].showRequired?(0,o.createElement)("span",{className:"required"},"*"):""),"textarea"===a[e].type&&(0,o.createElement)("textarea",{name:`kb_field_${e}`,id:`kb_field_${t}_${e}`,"data-label":a[e].label,type:a[e].type,placeholder:a[e].placeholder,value:a[e].default,"data-type":a[e].type,className:`kb-field kb-text-style-field kb-${a[e].type}-field kb-field-${e}`,rows:a[e].rows,"data-required":a[e].required?"yes":void 0}),"select"===a[e].type&&(0,o.createElement)("select",{name:a[e].multiSelect?`kb_field_${e}[]`:`kb_field_${e}`,id:`kb_field_${t}_${e}`,multiple:!!a[e].multiSelect,"data-label":a[e].label,type:a[e].type,value:a[e].default,"data-type":a[e].type,className:`kb-field kb-select-style-field kb-${a[e].type}-field kb-field-${e}`,"data-required":a[e].required?"yes":void 0},void 0!==a[e].placeholder&&""!==a[e].placeholder&&(0,o.createElement)("option",{value:"",disabled:!0,selected:""===a[e].default},a[e].placeholder),(0,s.times)(a[e].options.length,(t=>(0,o.createElement)("option",{key:t,selected:void 0!==a[e].options[t].value&&a[e].options[t].value===a[e].default,value:void 0!==a[e].options[t].value?a[e].options[t].value:""},void 0!==a[e].options[t].label?a[e].options[t].label:"")))),"checkbox"===a[e].type&&(0,o.createElement)("div",{"data-type":a[e].type,"data-label":a[e].label,id:`kb_field_${t}_${e}`,className:`kb-field kb-checkbox-style-field kb-${a[e].type}-field kb-field-${e}`,"data-required":a[e].required?"yes":void 0},(0,s.times)(a[e].options.length,(t=>(0,o.createElement)("div",{key:t,"data-type":a[e].type,className:`kb-checkbox-item kb-checkbox-item-${t}`},(0,o.createElement)("input",{type:"checkbox",name:`kb_field_${e}[]`,id:`kb_field_${e}_${t}`,className:"kb-sub-field kb-checkbox-style",value:void 0!==a[e].options[t].value?a[e].options[t].value:"",checked:void 0!==a[e].options[t].value&&a[e].options[t].value===a[e].default}),(0,o.createElement)("label",{htmlFor:`kb_field_${e}_${t}`},void 0!==a[e].options[t].label?a[e].options[t].label:""))))),"radio"===a[e].type&&(0,o.createElement)("div",{"data-type":a[e].type,"data-label":a[e].label,id:`kb_field_${t}_${e}`,className:`kb-field kb-radio-style-field kb-${a[e].type}-field kb-field-${e}`,"data-required":a[e].required?"yes":void 0},(0,s.times)(a[e].options.length,(t=>(0,o.createElement)("div",{key:t,"data-type":a[e].type,className:`kb-radio-item kb-radio-item-${t}`},(0,o.createElement)("input",{type:"radio",name:`kb_field_${e}[]`,id:`kb_field_${e}_${t}`,className:"kb-sub-field kb-radio-style",value:void 0!==a[e].options[t].value?a[e].options[t].value:"",checked:void 0!==a[e].options[t].value&&a[e].options[t].value===a[e].default}),(0,o.createElement)("label",{htmlFor:`kb_field_${e}_${t}`},void 0!==a[e].options[t].label?a[e].options[t].label:""))))),"textarea"!==a[e].type&&"select"!==a[e].type&&"checkbox"!==a[e].type&&"radio"!==a[e].type&&(0,o.createElement)("input",{name:`kb_field_${e}`,id:`kb_field_${t}_${e}`,"data-label":a[e].label,type:a[e].type,placeholder:a[e].placeholder,value:a[e].default,"data-type":a[e].type,className:`kb-field kb-text-style-field kb-${a[e].type}-field kb-field-${e}`,autoComplete:""!==a[e].auto?a[e].auto:void 0,"data-required":a[e].required?"yes":void 0})),void 0!==a[e].description&&""!==a[e].description&&(0,o.createElement)("span",{className:"kb-field-help"},a[e].description?a[e].description:""))})(e)))),m=r()({"kadence-blocks-form-field":!0,"kb-submit-field":!0,[`kb-field-desk-width-${n[0].width[0]}`]:n[0].width&&n[0].width[0],[`kb-field-tablet-width-${n[0].width[1]}`]:n[0].width&&n[0].width[1],[`kb-field-mobile-width-${n[0].width[2]}`]:n[0].width&&n[0].width[2]});return(0,o.createElement)("div",{className:`kadence-form-${t} kb-form-wrap${d?" kb-form-align-"+d:""}`},(0,o.createElement)("form",{className:"kb-form",action:"",method:"post"},b,(0,o.createElement)("input",{type:"hidden",name:"_kb_form_id",value:t}),(0,o.createElement)("input",{type:"hidden",name:"_kb_form_post_id",value:l}),(0,o.createElement)("input",{type:"hidden",name:"action",value:"kb_process_ajax_submit"}),c&&(0,o.createElement)(It.Fragment,null,"v2"===u&&(0,o.createElement)("div",{className:"kadence-blocks-form-field google-recaptcha-checkout-wrap"},(0,o.createElement)("p",{id:"kb-container-g-recaptcha",className:"google-recaptcha-container"},(0,o.createElement)("span",{id:`kb_recaptcha_${t}`,className:`kadence-blocks-g-recaptcha-v2 g-recaptcha kb_recaptcha_${t}`,style:{display:"inline-block"}}))),"v2"!==u&&(0,o.createElement)("input",{type:"hidden",name:"recaptcha_response",className:`kb_recaptcha_response kb_recaptcha_${t}`})),p&&(0,o.createElement)("input",{className:"kadence-blocks-field verify",type:"text",name:"_kb_verify_email",autoComplete:"off",placeholder:"Email",tabIndex:"-1"}),(0,o.createElement)("div",{className:m},(0,o.createElement)(Bt.RichText.Content,{tagName:"button",value:""!==n[0].label?n[0].label:"Submit",className:`kb-forms-submit button kb-button-size-${n[0].size?n[0].size:"standard"} kb-button-width-${n[0].widthType?n[0].widthType:"auto"}`}))))}},{attributes:{uniqueID:{type:"string",default:""},postID:{type:"number",default:""},hAlign:{type:"string",default:""},fields:{type:"array",default:[{label:"Name",showLabel:!0,placeholder:"",default:"",description:"",rows:4,options:[{value:"",label:""}],multiSelect:!1,inline:!1,showLink:!1,min:"",max:"",type:"text",required:!1,width:["100","",""],auto:""},{label:"Email",showLabel:!0,placeholder:"",default:"",description:"",rows:4,options:[{value:"",label:""}],multiSelect:!1,inline:!1,showLink:!1,min:"",max:"",type:"email",required:!0,width:["100","",""],auto:""},{label:"Message",showLabel:!0,placeholder:"",default:"",description:"",rows:4,options:[{value:"",label:""}],multiSelect:!1,inline:!1,showLink:!1,min:"",max:"",type:"textarea",required:!0,width:["100","",""],auto:""}]},messages:{type:"array",default:[{success:"",error:"",required:"",invalid:"",recaptchaerror:""}]},messageFont:{type:"array",default:[{colorSuccess:"",colorError:"",borderSuccess:"",borderError:"",backgroundSuccess:"",backgroundSuccessOpacity:1,backgroundError:"",backgroundErrorOpacity:1,borderWidth:["","","",""],borderRadius:"",size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",textTransform:"",family:"",google:"",style:"",weight:"",variant:"",subset:"",loadGoogle:!0,padding:["","","",""],margin:["","","",""]}]},style:{type:"array",default:[{showRequired:!0,size:"standard",deskPadding:["","","",""],tabletPadding:["","","",""],mobilePadding:["","","",""],color:"",requiredColor:"",background:"",border:"",backgroundOpacity:1,borderOpacity:1,borderRadius:"",borderWidth:["","","",""],colorActive:"",backgroundActive:"",borderActive:"",backgroundActiveOpacity:1,borderActiveOpacity:1,gradient:["#999999",1,0,100,"linear",180,"center center"],gradientActive:["#777777",1,0,100,"linear",180,"center center"],backgroundType:"solid",backgroundActiveType:"solid",boxShadow:[!1,"#000000",.2,1,1,2,0,!1],boxShadowActive:[!1,"#000000",.4,2,2,3,0,!1],fontSize:["","",""],fontSizeType:"px",lineHeight:["","",""],lineType:"px",rowGap:"",rowGapType:"px",gutter:"",gutterType:"px"}]},labelFont:{type:"array",default:[{color:"",size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",textTransform:"",family:"",google:"",style:"",weight:"",variant:"",subset:"",loadGoogle:!0,padding:["","","",""],margin:["","","",""]}]},submit:{type:"array",default:[{label:"",width:["100","",""],size:"standard",widthType:"auto",fixedWidth:["","",""],align:["","",""],deskPadding:["","","",""],tabletPadding:["","","",""],mobilePadding:["","","",""],color:"",background:"",border:"",backgroundOpacity:1,borderOpacity:1,borderRadius:"",borderWidth:["","","",""],colorHover:"",backgroundHover:"",borderHover:"",backgroundHoverOpacity:1,borderHoverOpacity:1,icon:"",iconSide:"right",iconHover:!1,cssClass:"",gradient:["#999999",1,0,100,"linear",180,"center center"],gradientHover:["#777777",1,0,100,"linear",180,"center center"],btnStyle:"basic",btnSize:"standard",backgroundType:"solid",backgroundHoverType:"solid",boxShadow:[!1,"#000000",.2,1,1,2,0,!1],boxShadowHover:[!1,"#000000",.4,2,2,3,0,!1]}]},submitMargin:{type:"array",default:[{desk:["","","",""],tablet:["","","",""],mobile:["","","",""],unit:"px",control:"linked"}]},submitFont:{type:"array",default:[{size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",textTransform:"",family:"",google:"",style:"",weight:"",variant:"",subset:"",loadGoogle:!0}]},actions:{type:"array",default:["email"]},email:{type:"array",default:[{emailTo:"",subject:"",fromEmail:"",fromName:"",replyTo:"email_field",cc:"",bcc:"",html:!0}]},redirect:{type:"string",default:""},recaptcha:{type:"boolean",default:!1},recaptchaVersion:{type:"string",default:"v3"},honeyPot:{type:"boolean",default:!0}},save:({attributes:e})=>{const{uniqueID:t,fields:a,submit:n,style:i,postID:l,hAlign:d,recaptcha:c,recaptchaVersion:u,honeyPot:p}=e,b=(0,o.createElement)(It.Fragment,null,(0,s.times)(a.length,(e=>(e=>{const n=r()({"kadence-blocks-form-field":!0,[`kb-form-field-${e}`]:e,[`kb-field-desk-width-${a[e].width[0]}`]:a[e].width&&a[e].width[0],[`kb-field-tablet-width-${a[e].width[1]}`]:a[e].width&&a[e].width[1],[`kb-field-mobile-width-${a[e].width[2]}`]:a[e].width&&a[e].width[2],[`kb-input-size-${i[0].size}`]:i[0].size});let l,d,c;return a[e].label&&a[e].label.includes("{privacy_policy}")?(d=a[e].label.split("{")[0],c=a[e].label.split("}")[1],l=(0,o.createElement)(It.Fragment,null,d,(0,o.createElement)("a",{href:void 0!==kadence_blocks_params.privacy_link&&""!==kadence_blocks_params.privacy_link?kadence_blocks_params.privacy_link:"#",target:"blank",rel:"noopener noreferrer"},void 0!==kadence_blocks_params.privacy_title&&""!==kadence_blocks_params.privacy_title?kadence_blocks_params.privacy_title:"Privacy policy"),c)):l=a[e].label,(0,o.createElement)("div",{className:n},"accept"===a[e].type&&(0,o.createElement)(It.Fragment,null,a[e].showLink&&(0,o.createElement)("a",{href:void 0!==a[e].default&&""!==a[e].default?a[e].default:"#",target:"_blank",rel:"noopener noreferrer",className:"kb-accept-link"},void 0!==a[e].placeholder&&""!==a[e].placeholder?a[e].placeholder:"View Privacy Policy"),(0,o.createElement)("input",{type:"checkbox",name:`kb_field_${e}`,id:`kb_field_${t}_${e}`,className:`kb-field kb-checkbox-style kb-${a[e].type}`,value:"accept",checked:!!a[e].inline,"data-type":a[e].type,"data-required":a[e].required?"yes":void 0}),(0,o.createElement)("label",{htmlFor:`kb_field_${t}_${e}`},a[e].label?l:"",a[e].required&&i[0].showRequired?(0,o.createElement)("span",{className:"required"},"*"):"")),"accept"!==a[e].type&&(0,o.createElement)(It.Fragment,null,a[e].showLabel&&(0,o.createElement)("label",{htmlFor:`kb_field_${t}_${e}`},a[e].label?a[e].label:"",a[e].required&&i[0].showRequired?(0,o.createElement)("span",{className:"required"},"*"):""),"textarea"===a[e].type&&(0,o.createElement)("textarea",{name:`kb_field_${e}`,id:`kb_field_${t}_${e}`,"data-label":a[e].label,type:a[e].type,placeholder:a[e].placeholder,value:a[e].default,"data-type":a[e].type,className:`kb-field kb-text-style-field kb-${a[e].type}-field kb-field-${e}`,rows:a[e].rows,"data-required":a[e].required?"yes":void 0}),"select"===a[e].type&&(0,o.createElement)("select",{name:a[e].multiSelect?`kb_field_${e}[]`:`kb_field_${e}`,id:`kb_field_${t}_${e}`,multiple:!!a[e].multiSelect,"data-label":a[e].label,type:a[e].type,value:a[e].default,"data-type":a[e].type,className:`kb-field kb-select-style-field kb-${a[e].type}-field kb-field-${e}`,"data-required":a[e].required?"yes":void 0},(0,s.times)(a[e].options.length,(t=>(0,o.createElement)("option",{key:t,selected:void 0!==a[e].options[t].value&&a[e].options[t].value===a[e].default,value:void 0!==a[e].options[t].value?a[e].options[t].value:""},void 0!==a[e].options[t].label?a[e].options[t].label:"")))),"checkbox"===a[e].type&&(0,o.createElement)("div",{"data-type":a[e].type,"data-label":a[e].label,id:`kb_field_${t}_${e}`,className:`kb-field kb-checkbox-style-field kb-${a[e].type}-field kb-field-${e}`,"data-required":a[e].required?"yes":void 0},(0,s.times)(a[e].options.length,(t=>(0,o.createElement)("div",{key:t,"data-type":a[e].type,className:`kb-checkbox-item kb-checkbox-item-${t}`},(0,o.createElement)("input",{type:"checkbox",name:`kb_field_${e}[]`,id:`kb_field_${e}_${t}`,className:"kb-sub-field kb-checkbox-style",value:void 0!==a[e].options[t].value?a[e].options[t].value:"",checked:void 0!==a[e].options[t].value&&a[e].options[t].value===a[e].default}),(0,o.createElement)("label",{htmlFor:`kb_field_${e}_${t}`},void 0!==a[e].options[t].label?a[e].options[t].label:""))))),"textarea"!==a[e].type&&"select"!==a[e].type&&"checkbox"!==a[e].type&&(0,o.createElement)("input",{name:`kb_field_${e}`,id:`kb_field_${t}_${e}`,"data-label":a[e].label,type:a[e].type,placeholder:a[e].placeholder,value:a[e].default,"data-type":a[e].type,className:`kb-field kb-text-style-field kb-${a[e].type}-field kb-field-${e}`,autoComplete:""!==a[e].auto?a[e].auto:void 0,"data-required":a[e].required?"yes":void 0})),void 0!==a[e].description&&""!==a[e].description&&(0,o.createElement)("span",{className:"kb-field-help"},a[e].description?a[e].description:""))})(e)))),m=r()({"kadence-blocks-form-field":!0,"kb-submit-field":!0,[`kb-field-desk-width-${n[0].width[0]}`]:n[0].width&&n[0].width[0],[`kb-field-tablet-width-${n[0].width[1]}`]:n[0].width&&n[0].width[1],[`kb-field-mobile-width-${n[0].width[2]}`]:n[0].width&&n[0].width[2]});return(0,o.createElement)("div",{className:`kadence-form-${t} kb-form-wrap${d?" kb-form-align-"+d:""}`},(0,o.createElement)("form",{className:"kb-form",action:"",method:"post"},b,(0,o.createElement)("input",{type:"hidden",name:"_kb_form_id",value:t}),(0,o.createElement)("input",{type:"hidden",name:"_kb_form_post_id",value:l}),(0,o.createElement)("input",{type:"hidden",name:"action",value:"kb_process_ajax_submit"}),c&&(0,o.createElement)(It.Fragment,null,"v2"===u&&(0,o.createElement)("div",{className:"kadence-blocks-form-field google-recaptcha-checkout-wrap"},(0,o.createElement)("p",{id:"kb-container-g-recaptcha",className:"google-recaptcha-container"},(0,o.createElement)("span",{id:`kb_recaptcha_${t}`,className:`kadence-blocks-g-recaptcha-v2 g-recaptcha kb_recaptcha_${t}`,style:{display:"inline-block"}}))),"v2"!==u&&(0,o.createElement)("input",{type:"hidden",name:"recaptcha_response",className:`kb_recaptcha_response kb_recaptcha_${t}`})),p&&(0,o.createElement)("input",{className:"kadence-blocks-field verify",type:"text",name:"_kb_verify_email",autoComplete:"off",placeholder:"Email",tabIndex:"-1"}),(0,o.createElement)("div",{className:m},(0,o.createElement)(Bt.RichText.Content,{tagName:"button",value:""!==n[0].label?n[0].label:"Submit",className:`kb-forms-submit button kb-button-size-${n[0].size?n[0].size:"standard"} kb-button-width-${n[0].widthType?n[0].widthType:"auto"}`}))))}},{attributes:{uniqueID:{type:"string",default:""},postID:{type:"number",default:""},hAlign:{type:"string",default:""},fields:{type:"array",default:[{label:"Name",showLabel:!0,placeholder:"",default:"",description:"",rows:4,options:[{value:"",label:""}],multiSelect:!1,inline:!1,showLink:!1,min:"",max:"",type:"text",required:!1,width:["100","",""],auto:""},{label:"Email",showLabel:!0,placeholder:"",default:"",description:"",rows:4,options:[{value:"",label:""}],multiSelect:!1,inline:!1,showLink:!1,min:"",max:"",type:"email",required:!0,width:["100","",""],auto:""},{label:"Message",showLabel:!0,placeholder:"",default:"",description:"",rows:4,options:[{value:"",label:""}],multiSelect:!1,inline:!1,showLink:!1,min:"",max:"",type:"textarea",required:!0,width:["100","",""],auto:""}]},messages:{type:"array",default:[{success:"",error:"",required:"",invalid:""}]},messageFont:{type:"array",default:[{colorSuccess:"",colorError:"",borderSuccess:"",borderError:"",backgroundSuccess:"",backgroundSuccessOpacity:1,backgroundError:"",backgroundErrorOpacity:1,borderWidth:["","","",""],borderRadius:"",size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",textTransform:"",family:"",google:"",style:"",weight:"",variant:"",subset:"",loadGoogle:!0,padding:["","","",""],margin:["","","",""]}]},style:{type:"array",default:[{showRequired:!0,size:"standard",deskPadding:["","","",""],tabletPadding:["","","",""],mobilePadding:["","","",""],color:"",requiredColor:"",background:"",border:"",backgroundOpacity:1,borderOpacity:1,borderRadius:"",borderWidth:["","","",""],colorActive:"",backgroundActive:"",borderActive:"",backgroundActiveOpacity:1,borderActiveOpacity:1,gradient:["#999999",1,0,100,"linear",180,"center center"],gradientActive:["#777777",1,0,100,"linear",180,"center center"],backgroundType:"solid",backgroundActiveType:"solid",boxShadow:[!1,"#000000",.2,1,1,2,0,!1],boxShadowActive:[!1,"#000000",.4,2,2,3,0,!1],fontSize:["","",""],fontSizeType:"px",lineHeight:["","",""],lineType:"px",rowGap:"",rowGapType:"px",gutter:"",gutterType:"px"}]},labelFont:{type:"array",default:[{color:"",size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",textTransform:"",family:"",google:"",style:"",weight:"",variant:"",subset:"",loadGoogle:!0,padding:["","","",""],margin:["","","",""]}]},submit:{type:"array",default:[{label:"",width:["100","",""],size:"standard",widthType:"auto",fixedWidth:["","",""],align:["","",""],deskPadding:["","","",""],tabletPadding:["","","",""],mobilePadding:["","","",""],color:"",background:"",border:"",backgroundOpacity:1,borderOpacity:1,borderRadius:"",borderWidth:["","","",""],colorHover:"",backgroundHover:"",borderHover:"",backgroundHoverOpacity:1,borderHoverOpacity:1,icon:"",iconSide:"right",iconHover:!1,cssClass:"",gradient:["#999999",1,0,100,"linear",180,"center center"],gradientHover:["#777777",1,0,100,"linear",180,"center center"],btnStyle:"basic",btnSize:"standard",backgroundType:"solid",backgroundHoverType:"solid",boxShadow:[!1,"#000000",.2,1,1,2,0,!1],boxShadowHover:[!1,"#000000",.4,2,2,3,0,!1]}]},submitMargin:{type:"array",default:[{desk:["","","",""],tablet:["","","",""],mobile:["","","",""],unit:"px",control:"linked"}]},submitFont:{type:"array",default:[{size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",textTransform:"",family:"",google:"",style:"",weight:"",variant:"",subset:"",loadGoogle:!0}]},actions:{type:"array",default:["email"]},email:{type:"array",default:[{emailTo:"",subject:"",fromEmail:"",fromName:"",replyTo:"email_field",cc:"",bcc:"",html:!0}]},redirect:{type:"string",default:""},recaptcha:{type:"boolean",default:!1},honeyPot:{type:"boolean",default:!0}},save:({attributes:e})=>{const{uniqueID:t,fields:a,submit:n,style:i,postID:l,hAlign:d,recaptcha:c,honeyPot:u}=e,p=(0,o.createElement)(It.Fragment,null,(0,s.times)(a.length,(e=>(e=>{const n=r()({"kadence-blocks-form-field":!0,[`kb-form-field-${e}`]:e,[`kb-field-desk-width-${a[e].width[0]}`]:a[e].width&&a[e].width[0],[`kb-field-tablet-width-${a[e].width[1]}`]:a[e].width&&a[e].width[1],[`kb-field-mobile-width-${a[e].width[2]}`]:a[e].width&&a[e].width[2],[`kb-input-size-${i[0].size}`]:i[0].size});let l,d,c;return a[e].label&&a[e].label.includes("{privacy_policy}")?(d=a[e].label.split("{")[0],c=a[e].label.split("}")[1],l=(0,o.createElement)(It.Fragment,null,d,(0,o.createElement)("a",{href:void 0!==kadence_blocks_params.privacy_link&&""!==kadence_blocks_params.privacy_link?kadence_blocks_params.privacy_link:"#",target:"blank",rel:"noopener noreferrer"},void 0!==kadence_blocks_params.privacy_title&&""!==kadence_blocks_params.privacy_title?kadence_blocks_params.privacy_title:"Privacy policy"),c)):l=a[e].label,(0,o.createElement)("div",{className:n},"accept"===a[e].type&&(0,o.createElement)(It.Fragment,null,a[e].showLink&&(0,o.createElement)("a",{href:void 0!==a[e].default&&""!==a[e].default?a[e].default:"#",target:"_blank",rel:"noopener noreferrer",className:"kb-accept-link"},void 0!==a[e].placeholder&&""!==a[e].placeholder?a[e].placeholder:"View Privacy Policy"),(0,o.createElement)("input",{type:"checkbox",name:`kb_field_${e}`,id:`kb_field_${t}_${e}`,className:`kb-field kb-checkbox-style kb-${a[e].type}`,value:"accept",checked:!!a[e].inline,"data-type":a[e].type,"data-required":a[e].required?"yes":void 0}),(0,o.createElement)("label",{htmlFor:`kb_field_${t}_${e}`},a[e].label?l:"",a[e].required&&i[0].showRequired?(0,o.createElement)("span",{className:"required"},"*"):"")),"accept"!==a[e].type&&(0,o.createElement)(It.Fragment,null,a[e].showLabel&&(0,o.createElement)("label",{htmlFor:`kb_field_${t}_${e}`},a[e].label?a[e].label:"",a[e].required&&i[0].showRequired?(0,o.createElement)("span",{className:"required"},"*"):""),"textarea"===a[e].type&&(0,o.createElement)("textarea",{name:`kb_field_${e}`,id:`kb_field_${t}_${e}`,"data-label":a[e].label,type:a[e].type,placeholder:a[e].placeholder,value:a[e].default,"data-type":a[e].type,className:`kb-field kb-text-style-field kb-${a[e].type}-field kb-field-${e}`,rows:a[e].rows,"data-required":a[e].required?"yes":void 0}),"select"===a[e].type&&(0,o.createElement)("select",{name:a[e].multiSelect?`kb_field_${e}[]`:`kb_field_${e}`,id:`kb_field_${t}_${e}`,multiple:!!a[e].multiSelect,"data-label":a[e].label,type:a[e].type,value:a[e].default,"data-type":a[e].type,className:`kb-field kb-select-style-field kb-${a[e].type}-field kb-field-${e}`,"data-required":a[e].required?"yes":void 0},(0,s.times)(a[e].options.length,(t=>(0,o.createElement)("option",{key:t,selected:void 0!==a[e].options[t].value&&a[e].options[t].value===a[e].default,value:void 0!==a[e].options[t].value?a[e].options[t].value:""},void 0!==a[e].options[t].label?a[e].options[t].label:"")))),"textarea"!==a[e].type&&"select"!==a[e].type&&(0,o.createElement)("input",{name:`kb_field_${e}`,id:`kb_field_${t}_${e}`,"data-label":a[e].label,type:a[e].type,placeholder:a[e].placeholder,value:a[e].default,"data-type":a[e].type,className:`kb-field kb-text-style-field kb-${a[e].type}-field kb-field-${e}`,autoComplete:""!==a[e].auto?a[e].auto:void 0,"data-required":a[e].required?"yes":void 0})),void 0!==a[e].description&&""!==a[e].description&&(0,o.createElement)("span",{className:"kb-field-help"},a[e].description?a[e].description:""))})(e)))),b=r()({"kadence-blocks-form-field":!0,"kb-submit-field":!0,[`kb-field-desk-width-${n[0].width[0]}`]:n[0].width&&n[0].width[0],[`kb-field-tablet-width-${n[0].width[1]}`]:n[0].width&&n[0].width[1],[`kb-field-mobile-width-${n[0].width[2]}`]:n[0].width&&n[0].width[2]});return(0,o.createElement)("div",{className:`kadence-form-${t} kb-form-wrap${d?" kb-form-align-"+d:""}`},(0,o.createElement)("form",{className:"kb-form",action:"",method:"post"},p,(0,o.createElement)("input",{type:"hidden",name:"_kb_form_id",value:t}),(0,o.createElement)("input",{type:"hidden",name:"_kb_form_post_id",value:l}),(0,o.createElement)("input",{type:"hidden",name:"action",value:"kb_process_ajax_submit"}),c&&(0,o.createElement)("input",{type:"hidden",name:"recaptcha_response",className:`kb_recaptcha_response kb_recaptcha_${t}`}),u&&(0,o.createElement)("input",{className:"kadence-blocks-field verify",type:"email",name:"_kb_verify_email",autoComplete:"off",placeholder:"Email",tabIndex:"-1"}),(0,o.createElement)("div",{className:b},(0,o.createElement)(Bt.RichText.Content,{tagName:"button",value:""!==n[0].label?n[0].label:"Submit",className:`kb-forms-submit button kb-button-size-${n[0].size?n[0].size:"standard"} kb-button-width-${n[0].widthType?n[0].widthType:"auto"}`}))))}},{attributes:{uniqueID:{type:"string",default:""},postID:{type:"number",default:""},hAlign:{type:"string",default:""},fields:{type:"array",default:[{label:"Name",showLabel:!0,placeholder:"",default:"",description:"",rows:4,options:[{value:"",label:""}],multiSelect:!1,inline:!1,showLink:!1,min:"",max:"",type:"text",required:!1,width:["100","",""],auto:""},{label:"Email",showLabel:!0,placeholder:"",default:"",description:"",rows:4,options:[{value:"",label:""}],multiSelect:!1,inline:!1,showLink:!1,min:"",max:"",type:"email",required:!0,width:["100","",""],auto:""},{label:"Message",showLabel:!0,placeholder:"",default:"",description:"",rows:4,options:[{value:"",label:""}],multiSelect:!1,inline:!1,showLink:!1,min:"",max:"",type:"textarea",required:!0,width:["100","",""],auto:""}]},messages:{type:"array",default:[{success:"",error:"",required:"",invalid:""}]},messageFont:{type:"array",default:[{colorSuccess:"",colorError:"",borderSuccess:"",borderError:"",backgroundSuccess:"",backgroundSuccessOpacity:1,backgroundError:"",backgroundErrorOpacity:1,borderWidth:["","","",""],borderRadius:"",size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",textTransform:"",family:"",google:"",style:"",weight:"",variant:"",subset:"",loadGoogle:!0,padding:["","","",""],margin:["","","",""]}]},style:{type:"array",default:[{showRequired:!0,size:"standard",deskPadding:["","","",""],tabletPadding:["","","",""],mobilePadding:["","","",""],color:"",requiredColor:"",background:"",border:"",backgroundOpacity:1,borderOpacity:1,borderRadius:"",borderWidth:["","","",""],colorActive:"",backgroundActive:"",borderActive:"",backgroundActiveOpacity:1,borderActiveOpacity:1,gradient:["#999999",1,0,100,"linear",180,"center center"],gradientActive:["#777777",1,0,100,"linear",180,"center center"],backgroundType:"solid",backgroundActiveType:"solid",boxShadow:[!1,"#000000",.2,1,1,2,0,!1],boxShadowActive:[!1,"#000000",.4,2,2,3,0,!1],fontSize:["","",""],fontSizeType:"px",lineHeight:["","",""],lineType:"px",rowGap:"",rowGapType:"px",gutter:"",gutterType:"px"}]},labelFont:{type:"array",default:[{color:"",size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",textTransform:"",family:"",google:"",style:"",weight:"",variant:"",subset:"",loadGoogle:!0,padding:["","","",""],margin:["","","",""]}]},submit:{type:"array",default:[{label:"",width:["100","",""],size:"standard",widthType:"auto",fixedWidth:["","",""],align:["","",""],deskPadding:["","","",""],tabletPadding:["","","",""],mobilePadding:["","","",""],color:"",background:"",border:"",backgroundOpacity:1,borderOpacity:1,borderRadius:"",borderWidth:["","","",""],colorHover:"",backgroundHover:"",borderHover:"",backgroundHoverOpacity:1,borderHoverOpacity:1,icon:"",iconSide:"right",iconHover:!1,cssClass:"",gradient:["#999999",1,0,100,"linear",180,"center center"],gradientHover:["#777777",1,0,100,"linear",180,"center center"],btnStyle:"basic",btnSize:"standard",backgroundType:"solid",backgroundHoverType:"solid",boxShadow:[!1,"#000000",.2,1,1,2,0,!1],boxShadowHover:[!1,"#000000",.4,2,2,3,0,!1]}]},submitFont:{type:"array",default:[{size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",textTransform:"",family:"",google:"",style:"",weight:"",variant:"",subset:"",loadGoogle:!0}]},actions:{type:"array",default:["email"]},email:{type:"array",default:[{emailTo:"",subject:"",fromEmail:"",fromName:"",replyTo:"email_field",cc:"",bcc:"",html:!0}]},redirect:{type:"string",default:""},recaptcha:{type:"boolean",default:!1},honeyPot:{type:"boolean",default:!0}},save:({attributes:e})=>{const{uniqueID:t,fields:a,submit:n,style:i,postID:l,hAlign:d,recaptcha:c,honeyPot:u}=e,p=(0,o.createElement)(It.Fragment,null,(0,s.times)(a.length,(e=>(e=>{const t=r()({"kadence-blocks-form-field":!0,[`kb-form-field-${e}`]:e,[`kb-field-desk-width-${a[e].width[0]}`]:a[e].width&&a[e].width[0],[`kb-field-tablet-width-${a[e].width[1]}`]:a[e].width&&a[e].width[1],[`kb-field-mobile-width-${a[e].width[2]}`]:a[e].width&&a[e].width[2],[`kb-input-size-${i[0].size}`]:i[0].size});let n,l,d;return a[e].label&&a[e].label.includes("{privacy_policy}")?(l=a[e].label.split("{")[0],d=a[e].label.split("}")[1],n=(0,o.createElement)(It.Fragment,null,l,(0,o.createElement)("a",{href:void 0!==kadence_blocks_params.privacy_link&&""!==kadence_blocks_params.privacy_link?kadence_blocks_params.privacy_link:"#",target:"blank",rel:"noopener noreferrer"},void 0!==kadence_blocks_params.privacy_title&&""!==kadence_blocks_params.privacy_title?kadence_blocks_params.privacy_title:"Privacy policy"),d)):n=a[e].label,(0,o.createElement)("div",{className:t},"accept"===a[e].type&&(0,o.createElement)(It.Fragment,null,a[e].showLink&&(0,o.createElement)("a",{href:void 0!==a[e].default&&""!==a[e].default?a[e].default:"#",target:"_blank",rel:"noopener noreferrer",className:"kb-accept-link"},void 0!==a[e].placeholder&&""!==a[e].placeholder?a[e].placeholder:"View Privacy Policy"),(0,o.createElement)("input",{type:"checkbox",name:`kb_field_${e}`,id:`kb_field_${e}`,className:`kb-field kb-checkbox-style kb-${a[e].type}`,value:"accept",checked:!!a[e].inline,"data-type":a[e].type,"data-required":a[e].required?"yes":void 0}),(0,o.createElement)("label",{htmlFor:`kb_field_${e}`},a[e].label?n:"",a[e].required&&i[0].showRequired?(0,o.createElement)("span",{className:"required"},"*"):"")),"accept"!==a[e].type&&(0,o.createElement)(It.Fragment,null,a[e].showLabel&&(0,o.createElement)("label",{htmlFor:`kb_field_${e}`},a[e].label?a[e].label:"",a[e].required&&i[0].showRequired?(0,o.createElement)("span",{className:"required"},"*"):""),"textarea"===a[e].type&&(0,o.createElement)("textarea",{name:`kb_field_${e}`,id:`kb_field_${e}`,"data-label":a[e].label,type:a[e].type,placeholder:a[e].placeholder,value:a[e].default,"data-type":a[e].type,className:`kb-field kb-text-style-field kb-${a[e].type}-field kb-field-${e}`,rows:a[e].rows,"data-required":a[e].required?"yes":void 0}),"select"===a[e].type&&(0,o.createElement)("select",{name:a[e].multiSelect?`kb_field_${e}[]`:`kb_field_${e}`,id:`kb_field_${e}`,multiple:!!a[e].multiSelect,"data-label":a[e].label,type:a[e].type,value:a[e].default,"data-type":a[e].type,className:`kb-field kb-select-style-field kb-${a[e].type}-field kb-field-${e}`,"data-required":a[e].required?"yes":void 0},(0,s.times)(a[e].options.length,(t=>(0,o.createElement)("option",{key:t,selected:void 0!==a[e].options[t].value&&a[e].options[t].value===a[e].default,value:void 0!==a[e].options[t].value?a[e].options[t].value:""},void 0!==a[e].options[t].label?a[e].options[t].label:"")))),"textarea"!==a[e].type&&"select"!==a[e].type&&(0,o.createElement)("input",{name:`kb_field_${e}`,id:`kb_field_${e}`,"data-label":a[e].label,type:a[e].type,placeholder:a[e].placeholder,value:a[e].default,"data-type":a[e].type,className:`kb-field kb-text-style-field kb-${a[e].type}-field kb-field-${e}`,autoComplete:""!==a[e].auto?a[e].auto:void 0,"data-required":a[e].required?"yes":void 0})),void 0!==a[e].description&&""!==a[e].description&&(0,o.createElement)("span",{className:"kb-field-help"},a[e].description?a[e].description:""))})(e)))),b=r()({"kadence-blocks-form-field":!0,"kb-submit-field":!0,[`kb-field-desk-width-${n[0].width[0]}`]:n[0].width&&n[0].width[0],[`kb-field-tablet-width-${n[0].width[1]}`]:n[0].width&&n[0].width[1],[`kb-field-mobile-width-${n[0].width[2]}`]:n[0].width&&n[0].width[2]});return(0,o.createElement)("div",{className:`kadence-form-${t} kb-form-wrap${d?" kb-form-align-"+d:""}`},(0,o.createElement)("form",{className:"kb-form",action:"",method:"post"},p,(0,o.createElement)("input",{type:"hidden",name:"_kb_form_id",value:t}),(0,o.createElement)("input",{type:"hidden",name:"_kb_form_post_id",value:l}),(0,o.createElement)("input",{type:"hidden",name:"action",value:"kb_process_ajax_submit"}),c&&(0,o.createElement)("input",{type:"hidden",name:"recaptcha_response",className:"kb_recaptcha_response"}),u&&(0,o.createElement)("input",{className:"kadence-blocks-field verify",type:"email",name:"_kb_verify_email",autoComplete:"off",placeholder:"Email",tabIndex:"-1"}),(0,o.createElement)("div",{className:b},(0,o.createElement)(Bt.RichText.Content,{tagName:"button",value:""!==n[0].label?n[0].label:"Submit",className:`kb-forms-submit button kb-button-size-${n[0].size?n[0].size:"standard"} kb-button-width-${n[0].widthType?n[0].widthType:"auto"}`}))))}},{attributes:{uniqueID:{type:"string",default:""},postID:{type:"number",default:""},hAlign:{type:"string",default:""},fields:{type:"array",default:[{label:"Name",showLabel:!0,placeholder:"",default:"",description:"",rows:4,options:[{value:"",label:""}],multiSelect:!1,inline:!1,showLink:!1,min:"",max:"",type:"text",required:!1,width:["100","",""],auto:""},{label:"Email",showLabel:!0,placeholder:"",default:"",description:"",rows:4,options:[{value:"",label:""}],multiSelect:!1,inline:!1,showLink:!1,min:"",max:"",type:"email",required:!0,width:["100","",""],auto:""},{label:"Message",showLabel:!0,placeholder:"",default:"",description:"",rows:4,options:[{value:"",label:""}],multiSelect:!1,inline:!1,showLink:!1,min:"",max:"",type:"textarea",required:!0,width:["100","",""],auto:""}]},messages:{type:"array",default:[{success:"",error:"",required:"",invalid:""}]},messageFont:{type:"array",default:[{colorSuccess:"",colorError:"",borderSuccess:"",borderError:"",backgroundSuccess:"",backgroundSuccessOpacity:1,backgroundError:"",backgroundErrorOpacity:1,borderWidth:["","","",""],borderRadius:"",size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",textTransform:"",family:"",google:"",style:"",weight:"",variant:"",subset:"",loadGoogle:!0,padding:["","","",""],margin:["","","",""]}]},style:{type:"array",default:[{showRequired:!0,size:"standard",deskPadding:["","","",""],tabletPadding:["","","",""],mobilePadding:["","","",""],color:"",requiredColor:"",background:"",border:"",backgroundOpacity:1,borderOpacity:1,borderRadius:"",borderWidth:["","","",""],colorActive:"",backgroundActive:"",borderActive:"",backgroundActiveOpacity:1,borderActiveOpacity:1,gradient:["#999999",1,0,100,"linear",180,"center center"],gradientActive:["#777777",1,0,100,"linear",180,"center center"],backgroundType:"solid",backgroundActiveType:"solid",boxShadow:[!1,"#000000",.2,1,1,2,0,!1],boxShadowActive:[!1,"#000000",.4,2,2,3,0,!1],fontSize:["","",""],fontSizeType:"px",lineHeight:["","",""],lineType:"px",rowGap:"",rowGapType:"px",gutter:"",gutterType:"px"}]},labelFont:{type:"array",default:[{color:"",size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",textTransform:"",family:"",google:"",style:"",weight:"",variant:"",subset:"",loadGoogle:!0,padding:["","","",""],margin:["","","",""]}]},submit:{type:"array",default:[{label:"",width:["100","",""],size:"standard",widthType:"auto",fixedWidth:["","",""],align:["","",""],deskPadding:["","","",""],tabletPadding:["","","",""],mobilePadding:["","","",""],color:"",background:"",border:"",backgroundOpacity:1,borderOpacity:1,borderRadius:"",borderWidth:["","","",""],colorHover:"",backgroundHover:"",borderHover:"",backgroundHoverOpacity:1,borderHoverOpacity:1,icon:"",iconSide:"right",iconHover:!1,cssClass:"",gradient:["#999999",1,0,100,"linear",180,"center center"],gradientHover:["#777777",1,0,100,"linear",180,"center center"],btnStyle:"basic",btnSize:"standard",backgroundType:"solid",backgroundHoverType:"solid",boxShadow:[!1,"#000000",.2,1,1,2,0,!1],boxShadowHover:[!1,"#000000",.4,2,2,3,0,!1]}]},submitFont:{type:"array",default:[{size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",textTransform:"",family:"",google:"",style:"",weight:"",variant:"",subset:"",loadGoogle:!0}]},actions:{type:"array",default:["email"]},email:{type:"array",default:[{emailTo:"",subject:"",fromEmail:"",fromName:"",replyTo:"email_field",cc:"",bcc:"",html:!0}]},redirect:{type:"string",default:""},recaptcha:{type:"boolean",default:!1}},save:({attributes:e})=>{const{uniqueID:t,fields:a,submit:n,style:i,postID:l,hAlign:d,recaptcha:c}=e,u=(0,o.createElement)(It.Fragment,null,(0,s.times)(a.length,(e=>(e=>{const t=r()({"kadence-blocks-form-field":!0,[`kb-form-field-${e}`]:e,[`kb-field-desk-width-${a[e].width[0]}`]:a[e].width&&a[e].width[0],[`kb-field-tablet-width-${a[e].width[1]}`]:a[e].width&&a[e].width[1],[`kb-field-mobile-width-${a[e].width[2]}`]:a[e].width&&a[e].width[2],[`kb-input-size-${i[0].size}`]:i[0].size});let n,l,d;return a[e].label&&a[e].label.includes("{privacy_policy}")?(l=a[e].label.split("{")[0],d=a[e].label.split("}")[1],n=(0,o.createElement)(It.Fragment,null,l,(0,o.createElement)("a",{href:void 0!==kadence_blocks_params.privacy_link&&""!==kadence_blocks_params.privacy_link?kadence_blocks_params.privacy_link:"#",target:"blank",rel:"noopener noreferrer"},void 0!==kadence_blocks_params.privacy_title&&""!==kadence_blocks_params.privacy_title?kadence_blocks_params.privacy_title:"Privacy policy"),d)):n=a[e].label,(0,o.createElement)("div",{className:t},"accept"===a[e].type&&(0,o.createElement)(It.Fragment,null,a[e].showLink&&(0,o.createElement)("a",{href:void 0!==a[e].default&&""!==a[e].default?a[e].default:"#",target:"_blank",rel:"noopener noreferrer",className:"kb-accept-link"},void 0!==a[e].placeholder&&""!==a[e].placeholder?a[e].placeholder:"View Privacy Policy"),(0,o.createElement)("input",{type:"checkbox",name:`kb_field_${e}`,id:`kb_field_${e}`,className:`kb-field kb-checkbox-style kb-${a[e].type}`,value:"accept",checked:!!a[e].inline,"data-type":a[e].type,"data-required":a[e].required?"yes":void 0}),(0,o.createElement)("label",{htmlFor:`kb_field_${e}`},a[e].label?n:"",a[e].required&&i[0].showRequired?(0,o.createElement)("span",{className:"required"},"*"):"")),"accept"!==a[e].type&&(0,o.createElement)(It.Fragment,null,a[e].showLabel&&(0,o.createElement)("label",{htmlFor:`kb_field_${e}`},a[e].label?a[e].label:"",a[e].required&&i[0].showRequired?(0,o.createElement)("span",{className:"required"},"*"):""),"textarea"===a[e].type&&(0,o.createElement)("textarea",{name:`kb_field_${e}`,id:`kb_field_${e}`,"data-label":a[e].label,type:a[e].type,placeholder:a[e].placeholder,value:a[e].default,"data-type":a[e].type,className:`kb-field kb-text-style-field kb-${a[e].type}-field kb-field-${e}`,rows:a[e].rows,"data-required":a[e].required?"yes":void 0}),"select"===a[e].type&&(0,o.createElement)("select",{name:a[e].multiSelect?`kb_field_${e}[]`:`kb_field_${e}`,id:`kb_field_${e}`,multiple:!!a[e].multiSelect,"data-label":a[e].label,type:a[e].type,value:a[e].default,"data-type":a[e].type,className:`kb-field kb-select-style-field kb-${a[e].type}-field kb-field-${e}`,"data-required":a[e].required?"yes":void 0},(0,s.times)(a[e].options.length,(t=>(0,o.createElement)("option",{key:t,selected:void 0!==a[e].options[t].value&&a[e].options[t].value===a[e].default,value:void 0!==a[e].options[t].value?a[e].options[t].value:""},void 0!==a[e].options[t].label?a[e].options[t].label:"")))),"textarea"!==a[e].type&&"select"!==a[e].type&&(0,o.createElement)("input",{name:`kb_field_${e}`,id:`kb_field_${e}`,"data-label":a[e].label,type:a[e].type,placeholder:a[e].placeholder,value:a[e].default,"data-type":a[e].type,className:`kb-field kb-text-style-field kb-${a[e].type}-field kb-field-${e}`,autoComplete:""!==a[e].auto?a[e].auto:void 0,"data-required":a[e].required?"yes":void 0})),void 0!==a[e].description&&""!==a[e].description&&(0,o.createElement)("span",{className:"kb-field-help"},a[e].description?a[e].description:""))})(e)))),p=r()({"kadence-blocks-form-field":!0,"kb-submit-field":!0,[`kb-field-desk-width-${n[0].width[0]}`]:n[0].width&&n[0].width[0],[`kb-field-tablet-width-${n[0].width[1]}`]:n[0].width&&n[0].width[1],[`kb-field-mobile-width-${n[0].width[2]}`]:n[0].width&&n[0].width[2]});return(0,o.createElement)("div",{className:`kadence-form-${t} kb-form-wrap${d?" kb-form-align-"+d:""}`},(0,o.createElement)("form",{className:"kb-form",action:"",method:"post"},u,(0,o.createElement)("input",{type:"hidden",name:"_kb_form_id",value:t}),(0,o.createElement)("input",{type:"hidden",name:"_kb_form_post_id",value:l}),(0,o.createElement)("input",{type:"hidden",name:"action",value:"kb_process_ajax_submit"}),c&&(0,o.createElement)("input",{type:"hidden",name:"recaptcha_response",id:"kb_recaptcha_response"}),(0,o.createElement)("input",{className:"kadence-blocks-field verify",type:"email",name:"_kb_verify_email",autoComplete:"off",placeholder:"Email",tabIndex:"-1"}),(0,o.createElement)("div",{className:p},(0,o.createElement)(Bt.RichText.Content,{tagName:"button",value:""!==n[0].label?n[0].label:"Submit",className:`kb-forms-submit button kb-button-size-${n[0].size?n[0].size:"standard"} kb-button-width-${n[0].widthType?n[0].widthType:"auto"}`}))))}}],example:{}})},2485:(e,t)=>{var a;!function(){"use strict";var o={}.hasOwnProperty;function n(){for(var e=[],t=0;t<arguments.length;t++){var a=arguments[t];if(a){var i=typeof a;if("string"===i||"number"===i)e.push(a);else if(Array.isArray(a)){if(a.length){var r=n.apply(null,a);r&&e.push(r)}}else if("object"===i)if(a.toString===Object.prototype.toString)for(var l in a)o.call(a,l)&&a[l]&&e.push(l);else e.push(a.toString())}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):void 0===(a=function(){return n}.apply(t,[]))||(e.exports=a)}()},2963:(e,t,a)=>{"use strict";var o=a(4994);t.__esModule=!0,t.default=function(e,t){e.classList?e.classList.add(t):(0,n.default)(e,t)||("string"==typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))};var n=o(a(598));e.exports=t.default},598:(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")},e.exports=t.default},788:e=>{"use strict";function t(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}e.exports=function(e,a){e.classList?e.classList.remove(a):"string"==typeof e.className?e.className=t(e.className,a):e.setAttribute("class",t(e.className&&e.className.baseVal||"",a))}},3491:function(e){(function(){var t,a,o,n,i,r;"undefined"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:"undefined"!=typeof process&&null!==process&&process.hrtime?(e.exports=function(){return(t()-i)/1e6},a=process.hrtime,n=(t=function(){var e;return 1e9*(e=a())[0]+e[1]})(),r=1e9*process.uptime(),i=n-r):Date.now?(e.exports=function(){return Date.now()-o},o=Date.now()):(e.exports=function(){return(new Date).getTime()-o},o=(new Date).getTime())}).call(this)},2694:(e,t,a)=>{"use strict";var o=a(6925);function n(){}function i(){}i.resetWarningCache=n,e.exports=function(){function e(e,t,a,n,i,r){if(r!==o){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var a={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:n};return a.PropTypes=a,a}},5556:(e,t,a)=>{e.exports=a(2694)()},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},3146:(e,t,a)=>{for(var o=a(3491),n="undefined"==typeof window?a.g:window,i=["moz","webkit"],r="AnimationFrame",l=n["request"+r],s=n["cancel"+r]||n["cancelRequest"+r],d=0;!l&&d<i.length;d++)l=n[i[d]+"Request"+r],s=n[i[d]+"Cancel"+r]||n[i[d]+"CancelRequest"+r];if(!l||!s){var c=0,u=0,p=[],b=1e3/60;l=function(e){if(0===p.length){var t=o(),a=Math.max(0,b-(t-c));c=a+t,setTimeout((function(){var e=p.slice(0);p.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(c)}catch(e){setTimeout((function(){throw e}),0)}}),Math.round(a))}return p.push({handle:++u,callback:e,cancelled:!1}),u},s=function(e){for(var t=0;t<p.length;t++)p[t].handle===e&&(p[t].cancelled=!0)}}e.exports=function(e){return l.call(n,e)},e.exports.cancel=function(){s.apply(n,arguments)},e.exports.polyfill=function(e){e||(e=n),e.requestAnimationFrame=l,e.cancelAnimationFrame=s}},1345:(e,t,a)=>{"use strict";function o(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function n(e){this.setState(function(t){var a=this.constructor.getDerivedStateFromProps(e,t);return null!=a?a:null}.bind(this))}function i(e,t){try{var a=this.props,o=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(a,o)}finally{this.props=a,this.state=o}}function r(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var a=null,r=null,l=null;if("function"==typeof t.componentWillMount?a="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(a="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?r="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(r="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?l="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(l="UNSAFE_componentWillUpdate"),null!==a||null!==r||null!==l){var s=e.displayName||e.name,d="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+s+" uses "+d+" but also contains the following legacy lifecycles:"+(null!==a?"\n  "+a:"")+(null!==r?"\n  "+r:"")+(null!==l?"\n  "+l:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=o,t.componentWillReceiveProps=n),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=i;var c=t.componentDidUpdate;t.componentDidUpdate=function(e,t,a){var o=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:a;c.call(this,e,t,o)}}return e}a.r(t),a.d(t,{polyfill:()=>r}),o.__suppressDeprecationWarning=!0,n.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0},8006:(e,t,a)=>{"use strict";var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(e[o]=a[o])}return e},n=function(){function e(e,t){for(var a=0;a<t.length;a++){var o=t[a];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,a,o){return a&&e(t.prototype,a),o&&e(t,o),t}}(),i=a(1609),r=s(i),l=s(a(5556));function s(e){return e&&e.__esModule?e:{default:e}}var d={position:"absolute",top:0,left:0,visibility:"hidden",height:0,overflow:"scroll",whiteSpace:"pre"},c=["extraWidth","injectStyles","inputClassName","inputRef","inputStyle","minWidth","onAutosize","placeholderIsMinWidth"],u=function(e,t){t.style.fontSize=e.fontSize,t.style.fontFamily=e.fontFamily,t.style.fontWeight=e.fontWeight,t.style.fontStyle=e.fontStyle,t.style.letterSpacing=e.letterSpacing,t.style.textTransform=e.textTransform},p=!("undefined"==typeof window||!window.navigator)&&/MSIE |Trident\/|Edge\//.test(window.navigator.userAgent),b=function(){return p?"_"+Math.random().toString(36).substr(2,12):void 0},m=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return a.inputRef=function(e){a.input=e,"function"==typeof a.props.inputRef&&a.props.inputRef(e)},a.placeHolderSizerRef=function(e){a.placeHolderSizer=e},a.sizerRef=function(e){a.sizer=e},a.state={inputWidth:e.minWidth,inputId:e.id||b()},a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n(t,[{key:"componentDidMount",value:function(){this.mounted=!0,this.copyInputStyles(),this.updateInputWidth()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.id;t!==this.props.id&&this.setState({inputId:t||b()})}},{key:"componentDidUpdate",value:function(e,t){t.inputWidth!==this.state.inputWidth&&"function"==typeof this.props.onAutosize&&this.props.onAutosize(this.state.inputWidth),this.updateInputWidth()}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"copyInputStyles",value:function(){if(this.mounted&&window.getComputedStyle){var e=this.input&&window.getComputedStyle(this.input);e&&(u(e,this.sizer),this.placeHolderSizer&&u(e,this.placeHolderSizer))}}},{key:"updateInputWidth",value:function(){if(this.mounted&&this.sizer&&void 0!==this.sizer.scrollWidth){var e=void 0;e=this.props.placeholder&&(!this.props.value||this.props.value&&this.props.placeholderIsMinWidth)?Math.max(this.sizer.scrollWidth,this.placeHolderSizer.scrollWidth)+2:this.sizer.scrollWidth+2,(e+="number"===this.props.type&&void 0===this.props.extraWidth?16:parseInt(this.props.extraWidth)||0)<this.props.minWidth&&(e=this.props.minWidth),e!==this.state.inputWidth&&this.setState({inputWidth:e})}}},{key:"getInput",value:function(){return this.input}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"renderStyles",value:function(){var e=this.props.injectStyles;return p&&e?r.default.createElement("style",{dangerouslySetInnerHTML:{__html:"input#"+this.state.inputId+"::-ms-clear {display: none;}"}}):null}},{key:"render",value:function(){var e=[this.props.defaultValue,this.props.value,""].reduce((function(e,t){return null!=e?e:t})),t=o({},this.props.style);t.display||(t.display="inline-block");var a=o({boxSizing:"content-box",width:this.state.inputWidth+"px"},this.props.inputStyle),n=function(e,t){var a={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(a[o]=e[o]);return a}(this.props,[]);return function(e){c.forEach((function(t){return delete e[t]}))}(n),n.className=this.props.inputClassName,n.id=this.state.inputId,n.style=a,r.default.createElement("div",{className:this.props.className,style:t},this.renderStyles(),r.default.createElement("input",o({},n,{ref:this.inputRef})),r.default.createElement("div",{ref:this.sizerRef,style:d},e),this.props.placeholder?r.default.createElement("div",{ref:this.placeHolderSizerRef,style:d},this.props.placeholder):null)}}]),t}(i.Component);m.propTypes={className:l.default.string,defaultValue:l.default.any,extraWidth:l.default.oneOfType([l.default.number,l.default.string]),id:l.default.string,injectStyles:l.default.bool,inputClassName:l.default.string,inputRef:l.default.func,inputStyle:l.default.object,minWidth:l.default.oneOfType([l.default.number,l.default.string]),onAutosize:l.default.func,onChange:l.default.func,placeholder:l.default.string,placeholderIsMinWidth:l.default.bool,style:l.default.object,value:l.default.any},m.defaultProps={minWidth:1,injectStyles:!0},t.A=m},8514:(e,t,a)=>{"use strict";t.__esModule=!0,t.default=void 0,function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,a):{};o.get||o.set?Object.defineProperty(t,a,o):t[a]=e[a]}t.default=e}(a(5556));var o=l(a(2963)),n=l(a(788)),i=l(a(1609)),r=l(a(495));function l(e){return e&&e.__esModule?e:{default:e}}function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(e[o]=a[o])}return e},s.apply(this,arguments)}a(554);var d=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return(0,o.default)(e,t)}))},c=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return(0,n.default)(e,t)}))},u=function(e){var t,a;function o(){for(var t,a=arguments.length,o=new Array(a),n=0;n<a;n++)o[n]=arguments[n];return(t=e.call.apply(e,[this].concat(o))||this).onEnter=function(e,a){var o=t.getClassNames(a?"appear":"enter").className;t.removeClasses(e,"exit"),d(e,o),t.props.onEnter&&t.props.onEnter(e,a)},t.onEntering=function(e,a){var o=t.getClassNames(a?"appear":"enter").activeClassName;t.reflowAndAddClass(e,o),t.props.onEntering&&t.props.onEntering(e,a)},t.onEntered=function(e,a){var o=t.getClassNames("appear").doneClassName,n=t.getClassNames("enter").doneClassName,i=a?o+" "+n:n;t.removeClasses(e,a?"appear":"enter"),d(e,i),t.props.onEntered&&t.props.onEntered(e,a)},t.onExit=function(e){var a=t.getClassNames("exit").className;t.removeClasses(e,"appear"),t.removeClasses(e,"enter"),d(e,a),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var a=t.getClassNames("exit").activeClassName;t.reflowAndAddClass(e,a),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var a=t.getClassNames("exit").doneClassName;t.removeClasses(e,"exit"),d(e,a),t.props.onExited&&t.props.onExited(e)},t.getClassNames=function(e){var a=t.props.classNames,o="string"==typeof a,n=o?(o&&a?a+"-":"")+e:a[e];return{className:n,activeClassName:o?n+"-active":a[e+"Active"],doneClassName:o?n+"-done":a[e+"Done"]}},t}a=e,(t=o).prototype=Object.create(a.prototype),t.prototype.constructor=t,t.__proto__=a;var n=o.prototype;return n.removeClasses=function(e,t){var a=this.getClassNames(t),o=a.className,n=a.activeClassName,i=a.doneClassName;o&&c(e,o),n&&c(e,n),i&&c(e,i)},n.reflowAndAddClass=function(e,t){t&&(e&&e.scrollTop,d(e,t))},n.render=function(){var e=s({},this.props);return delete e.classNames,i.default.createElement(r.default,s({},e,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},o}(i.default.Component);u.defaultProps={classNames:""},u.propTypes={};var p=u;t.default=p,e.exports=t.default},1369:(e,t,a)=>{"use strict";t.__esModule=!0,t.default=void 0,r(a(5556));var o=r(a(1609)),n=a(5795),i=r(a(2312));function r(e){return e&&e.__esModule?e:{default:e}}var l=function(e){var t,a;function r(){for(var t,a=arguments.length,o=new Array(a),n=0;n<a;n++)o[n]=arguments[n];return(t=e.call.apply(e,[this].concat(o))||this).handleEnter=function(){for(var e=arguments.length,a=new Array(e),o=0;o<e;o++)a[o]=arguments[o];return t.handleLifecycle("onEnter",0,a)},t.handleEntering=function(){for(var e=arguments.length,a=new Array(e),o=0;o<e;o++)a[o]=arguments[o];return t.handleLifecycle("onEntering",0,a)},t.handleEntered=function(){for(var e=arguments.length,a=new Array(e),o=0;o<e;o++)a[o]=arguments[o];return t.handleLifecycle("onEntered",0,a)},t.handleExit=function(){for(var e=arguments.length,a=new Array(e),o=0;o<e;o++)a[o]=arguments[o];return t.handleLifecycle("onExit",1,a)},t.handleExiting=function(){for(var e=arguments.length,a=new Array(e),o=0;o<e;o++)a[o]=arguments[o];return t.handleLifecycle("onExiting",1,a)},t.handleExited=function(){for(var e=arguments.length,a=new Array(e),o=0;o<e;o++)a[o]=arguments[o];return t.handleLifecycle("onExited",1,a)},t}a=e,(t=r).prototype=Object.create(a.prototype),t.prototype.constructor=t,t.__proto__=a;var l=r.prototype;return l.handleLifecycle=function(e,t,a){var i,r=this.props.children,l=o.default.Children.toArray(r)[t];l.props[e]&&(i=l.props)[e].apply(i,a),this.props[e]&&this.props[e]((0,n.findDOMNode)(this))},l.render=function(){var e=this.props,t=e.children,a=e.in,n=function(e,t){if(null==e)return{};var a,o,n={},i=Object.keys(e);for(o=0;o<i.length;o++)a=i[o],t.indexOf(a)>=0||(n[a]=e[a]);return n}(e,["children","in"]),r=o.default.Children.toArray(t),l=r[0],s=r[1];return delete n.onEnter,delete n.onEntering,delete n.onEntered,delete n.onExit,delete n.onExiting,delete n.onExited,o.default.createElement(i.default,n,a?o.default.cloneElement(l,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):o.default.cloneElement(s,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},r}(o.default.Component);l.propTypes={};var s=l;t.default=s,e.exports=t.default},495:(e,t,a)=>{"use strict";t.__esModule=!0,t.default=t.EXITING=t.ENTERED=t.ENTERING=t.EXITED=t.UNMOUNTED=void 0;var o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,a):{};o.get||o.set?Object.defineProperty(t,a,o):t[a]=e[a]}return t.default=e,t}(a(5556)),n=l(a(1609)),i=l(a(5795)),r=a(1345);function l(e){return e&&e.__esModule?e:{default:e}}a(554);var s="unmounted";t.UNMOUNTED=s;var d="exited";t.EXITED=d;var c="entering";t.ENTERING=c;var u="entered";t.ENTERED=u;var p="exiting";t.EXITING=p;var b=function(e){var t,a;function o(t,a){var o;o=e.call(this,t,a)||this;var n,i=a.transitionGroup,r=i&&!i.isMounting?t.enter:t.appear;return o.appearStatus=null,t.in?r?(n=d,o.appearStatus=c):n=u:n=t.unmountOnExit||t.mountOnEnter?s:d,o.state={status:n},o.nextCallback=null,o}a=e,(t=o).prototype=Object.create(a.prototype),t.prototype.constructor=t,t.__proto__=a;var r=o.prototype;return r.getChildContext=function(){return{transitionGroup:null}},o.getDerivedStateFromProps=function(e,t){return e.in&&t.status===s?{status:d}:null},r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(e){var t=null;if(e!==this.props){var a=this.state.status;this.props.in?a!==c&&a!==u&&(t=c):a!==c&&a!==u||(t=p)}this.updateStatus(!1,t)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var e,t,a,o=this.props.timeout;return e=t=a=o,null!=o&&"number"!=typeof o&&(e=o.exit,t=o.enter,a=void 0!==o.appear?o.appear:t),{exit:e,enter:t,appear:a}},r.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t){this.cancelNextCallback();var a=i.default.findDOMNode(this);t===c?this.performEnter(a,e):this.performExit(a)}else this.props.unmountOnExit&&this.state.status===d&&this.setState({status:s})},r.performEnter=function(e,t){var a=this,o=this.props.enter,n=this.context.transitionGroup?this.context.transitionGroup.isMounting:t,i=this.getTimeouts(),r=n?i.appear:i.enter;t||o?(this.props.onEnter(e,n),this.safeSetState({status:c},(function(){a.props.onEntering(e,n),a.onTransitionEnd(e,r,(function(){a.safeSetState({status:u},(function(){a.props.onEntered(e,n)}))}))}))):this.safeSetState({status:u},(function(){a.props.onEntered(e)}))},r.performExit=function(e){var t=this,a=this.props.exit,o=this.getTimeouts();a?(this.props.onExit(e),this.safeSetState({status:p},(function(){t.props.onExiting(e),t.onTransitionEnd(e,o.exit,(function(){t.safeSetState({status:d},(function(){t.props.onExited(e)}))}))}))):this.safeSetState({status:d},(function(){t.props.onExited(e)}))},r.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},r.setNextCallback=function(e){var t=this,a=!0;return this.nextCallback=function(o){a&&(a=!1,t.nextCallback=null,e(o))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},r.onTransitionEnd=function(e,t,a){this.setNextCallback(a);var o=null==t&&!this.props.addEndListener;e&&!o?(this.props.addEndListener&&this.props.addEndListener(e,this.nextCallback),null!=t&&setTimeout(this.nextCallback,t)):setTimeout(this.nextCallback,0)},r.render=function(){var e=this.state.status;if(e===s)return null;var t=this.props,a=t.children,o=function(e,t){if(null==e)return{};var a,o,n={},i=Object.keys(e);for(o=0;o<i.length;o++)a=i[o],t.indexOf(a)>=0||(n[a]=e[a]);return n}(t,["children"]);if(delete o.in,delete o.mountOnEnter,delete o.unmountOnExit,delete o.appear,delete o.enter,delete o.exit,delete o.timeout,delete o.addEndListener,delete o.onEnter,delete o.onEntering,delete o.onEntered,delete o.onExit,delete o.onExiting,delete o.onExited,"function"==typeof a)return a(e,o);var i=n.default.Children.only(a);return n.default.cloneElement(i,o)},o}(n.default.Component);function m(){}b.contextTypes={transitionGroup:o.object},b.childContextTypes={transitionGroup:function(){}},b.propTypes={},b.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:m,onEntering:m,onEntered:m,onExit:m,onExiting:m,onExited:m},b.UNMOUNTED=0,b.EXITED=1,b.ENTERING=2,b.ENTERED=3,b.EXITING=4;var h=(0,r.polyfill)(b);t.default=h},2312:(e,t,a)=>{"use strict";t.__esModule=!0,t.default=void 0;var o=l(a(5556)),n=l(a(1609)),i=a(1345),r=a(2958);function l(e){return e&&e.__esModule?e:{default:e}}function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(e[o]=a[o])}return e},s.apply(this,arguments)}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var c=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},u=function(e){var t,a;function o(t,a){var o,n=(o=e.call(this,t,a)||this).handleExited.bind(d(d(o)));return o.state={handleExited:n,firstRender:!0},o}a=e,(t=o).prototype=Object.create(a.prototype),t.prototype.constructor=t,t.__proto__=a;var i=o.prototype;return i.getChildContext=function(){return{transitionGroup:{isMounting:!this.appeared}}},i.componentDidMount=function(){this.appeared=!0,this.mounted=!0},i.componentWillUnmount=function(){this.mounted=!1},o.getDerivedStateFromProps=function(e,t){var a=t.children,o=t.handleExited;return{children:t.firstRender?(0,r.getInitialChildMapping)(e,o):(0,r.getNextChildMapping)(e,a,o),firstRender:!1}},i.handleExited=function(e,t){var a=(0,r.getChildMapping)(this.props.children);e.key in a||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var a=s({},t.children);return delete a[e.key],{children:a}})))},i.render=function(){var e=this.props,t=e.component,a=e.childFactory,o=function(e,t){if(null==e)return{};var a,o,n={},i=Object.keys(e);for(o=0;o<i.length;o++)a=i[o],t.indexOf(a)>=0||(n[a]=e[a]);return n}(e,["component","childFactory"]),i=c(this.state.children).map(a);return delete o.appear,delete o.enter,delete o.exit,null===t?i:n.default.createElement(t,o,i)},o}(n.default.Component);u.childContextTypes={transitionGroup:o.default.object.isRequired},u.propTypes={},u.defaultProps={component:"div",childFactory:function(e){return e}};var p=(0,i.polyfill)(u);t.default=p,e.exports=t.default},9790:(e,t,a)=>{"use strict";var o=l(a(8514)),n=l(a(1369)),i=l(a(2312)),r=l(a(495));function l(e){return e&&e.__esModule?e:{default:e}}e.exports={Transition:r.default,TransitionGroup:i.default,ReplaceTransition:n.default,CSSTransition:o.default}},2958:(e,t,a)=>{"use strict";t.__esModule=!0,t.getChildMapping=n,t.mergeChildMappings=i,t.getInitialChildMapping=function(e,t){return n(e.children,(function(a){return(0,o.cloneElement)(a,{onExited:t.bind(null,a),in:!0,appear:r(a,"appear",e),enter:r(a,"enter",e),exit:r(a,"exit",e)})}))},t.getNextChildMapping=function(e,t,a){var l=n(e.children),s=i(t,l);return Object.keys(s).forEach((function(n){var i=s[n];if((0,o.isValidElement)(i)){var d=n in t,c=n in l,u=t[n],p=(0,o.isValidElement)(u)&&!u.props.in;!c||d&&!p?c||!d||p?c&&d&&(0,o.isValidElement)(u)&&(s[n]=(0,o.cloneElement)(i,{onExited:a.bind(null,i),in:u.props.in,exit:r(i,"exit",e),enter:r(i,"enter",e)})):s[n]=(0,o.cloneElement)(i,{in:!1}):s[n]=(0,o.cloneElement)(i,{onExited:a.bind(null,i),in:!0,exit:r(i,"exit",e),enter:r(i,"enter",e)})}})),s};var o=a(1609);function n(e,t){var a=Object.create(null);return e&&o.Children.map(e,(function(e){return e})).forEach((function(e){a[e.key]=function(e){return t&&(0,o.isValidElement)(e)?t(e):e}(e)})),a}function i(e,t){function a(a){return a in t?t[a]:e[a]}e=e||{},t=t||{};var o,n=Object.create(null),i=[];for(var r in e)r in t?i.length&&(n[r]=i,i=[]):i.push(r);var l={};for(var s in t){if(n[s])for(o=0;o<n[s].length;o++){var d=n[s][o];l[n[s][o]]=a(d)}l[s]=a(s)}for(o=0;o<i.length;o++)l[i[o]]=a(i[o]);return l}function r(e,t,a){return null!=a[t]?a[t]:e.props[t]}},554:(e,t,a)=>{"use strict";var o;t.__esModule=!0,t.classNamesShape=t.timeoutsShape=void 0,(o=a(5556))&&o.__esModule,t.timeoutsShape=null,t.classNamesShape=null},8226:e=>{e.exports=function(){"use strict";return function(e){var t="/*|*/",a=t+"}";function o(t){if(t)try{e(t+"}")}catch(e){}}return function(n,i,r,l,s,d,c,u,p,b){switch(n){case 1:if(0===p&&64===i.charCodeAt(0))return e(i+";"),"";break;case 2:if(0===u)return i+t;break;case 3:switch(u){case 102:case 112:return e(r[0]+i),"";default:return i+(0===b?t:"")}case-2:i.split(a).forEach(o)}}}}()},1609:e=>{"use strict";e.exports=window.React},5795:e=>{"use strict";e.exports=window.ReactDOM},4994:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports}},a={};function o(e){var n=a[e];if(void 0!==n)return n.exports;var i=a[e]={exports:{}};return t[e].call(i.exports,i,i.exports,o),i.exports}o.m=t,e=[],o.O=(t,a,n,i)=>{if(!a){var r=1/0;for(c=0;c<e.length;c++){a=e[c][0],n=e[c][1],i=e[c][2];for(var l=!0,s=0;s<a.length;s++)(!1&i||r>=i)&&Object.keys(o.O).every((e=>o.O[e](a[s])))?a.splice(s--,1):(l=!1,i<r&&(r=i));if(l){e.splice(c--,1);var d=n();void 0!==d&&(t=d)}}return t}i=i||0;for(var c=e.length;c>0&&e[c-1][2]>i;c--)e[c]=e[c-1];e[c]=[a,n,i]},o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var a in t)o.o(t,a)&&!o.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={8020:0,6455:0};o.O.j=t=>0===e[t];var t=(t,a)=>{var n,i,r=a[0],l=a[1],s=a[2],d=0;if(r.some((t=>0!==e[t]))){for(n in l)o.o(l,n)&&(o.m[n]=l[n]);if(s)var c=s(o)}for(t&&t(a);d<r.length;d++)i=r[d],o.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return o.O(c)},a=self.webpackChunkkadence=self.webpackChunkkadence||[];a.forEach(t.bind(null,0)),a.push=t.bind(null,a.push.bind(a))})();var n=o.O(void 0,[6455],(()=>o(7023)));n=o.O(n),(this.kadence=this.kadence||{})["blocks-form"]=n})();

Filemanager

Name Type Size Permission Actions
blocks Folder 0755
images Folder 0755
admin-kadence-home.asset.php File 260 B 0644
admin-kadence-home.css File 42.54 KB 0644
admin-kadence-home.js File 331.56 KB 0644
blocks-accordion.asset.php File 275 B 0644
blocks-accordion.css File 12.26 KB 0644
blocks-accordion.js File 65.94 KB 0644
blocks-advanced-form.asset.php File 404 B 0644
blocks-advanced-form.css File 30.99 KB 0644
blocks-advanced-form.js File 420.08 KB 0644
blocks-advancedbtn.asset.php File 288 B 0644
blocks-advancedbtn.css File 8.82 KB 0644
blocks-advancedbtn.js File 124.14 KB 0644
blocks-advancedgallery.asset.php File 315 B 0644
blocks-advancedgallery.css File 29.13 KB 0644
blocks-advancedgallery.js File 153.72 KB 0644
blocks-advancedheading.asset.php File 330 B 0644
blocks-advancedheading.css File 18.39 KB 0644
blocks-advancedheading.js File 126.14 KB 0644
blocks-column.asset.php File 256 B 0644
blocks-column.css File 9.03 KB 0644
blocks-column.js File 95.59 KB 0644
blocks-countdown.asset.php File 281 B 0644
blocks-countdown.css File 4.39 KB 0644
blocks-countdown.js File 65.05 KB 0644
blocks-countup.asset.php File 234 B 0644
blocks-countup.css File 91 B 0644
blocks-countup.js File 39.05 KB 0644
blocks-form.asset.php File 324 B 0644
blocks-form.css File 8.01 KB 0644
blocks-form.js File 295.96 KB 0644
blocks-googlemaps.asset.php File 287 B 0644
blocks-googlemaps.css File 515 B 0644
blocks-googlemaps.js File 152.02 KB 0644
blocks-header.asset.php File 328 B 0644
blocks-header.css File 17.33 KB 0644
blocks-header.js File 295.24 KB 0644
blocks-icon.asset.php File 261 B 0644
blocks-icon.css File 1.2 KB 0644
blocks-icon.js File 42.66 KB 0644
blocks-iconlist.asset.php File 289 B 0644
blocks-iconlist.css File 2.65 KB 0644
blocks-iconlist.js File 55.04 KB 0644
blocks-identity.asset.php File 250 B 0644
blocks-identity.css File 2.88 KB 0644
blocks-identity.js File 78.88 KB 0644
blocks-image.asset.php File 328 B 0644
blocks-image.css File 6.39 KB 0644
blocks-image.js File 64.23 KB 0644
blocks-infobox.asset.php File 303 B 0644
blocks-infobox.css File 8.58 KB 0644
blocks-infobox.js File 208.7 KB 0644
blocks-lottie.asset.php File 244 B 0644
blocks-lottie.css File 276 B 0644
blocks-lottie.js File 399.32 KB 0644
blocks-navigation-link.asset.php File 392 B 0644
blocks-navigation-link.css File 1 B 0644
blocks-navigation-link.js File 111.29 KB 0644
blocks-navigation.asset.php File 316 B 0644
blocks-navigation.css File 154.75 KB 0644
blocks-navigation.js File 185.56 KB 0644
blocks-posts.asset.php File 301 B 0644
blocks-posts.css File 5.83 KB 0644
blocks-posts.js File 27.17 KB 0644
blocks-progress-bar.asset.php File 244 B 0644
blocks-progress-bar.css File 888 B 0644
blocks-progress-bar.js File 68.32 KB 0644
blocks-rowlayout.asset.php File 361 B 0644
blocks-rowlayout.css File 114.04 KB 0644
blocks-rowlayout.js File 819.02 KB 0644
blocks-search.asset.php File 234 B 0644
blocks-search.css File 1.28 KB 0644
blocks-search.js File 28.92 KB 0644
blocks-show-more.asset.php File 244 B 0644
blocks-show-more.css File 189 B 0644
blocks-show-more.js File 11.87 KB 0644
blocks-single-icon.asset.php File 234 B 0644
blocks-single-icon.js File 16.82 KB 0644
blocks-singlebtn.asset.php File 288 B 0644
blocks-singlebtn.js File 67.43 KB 0644
blocks-spacer.asset.php File 234 B 0644
blocks-spacer.css File 1.88 KB 0644
blocks-spacer.js File 22.91 KB 0644
blocks-table.asset.php File 298 B 0644
blocks-table.css File 269 B 0644
blocks-table.js File 43.46 KB 0644
blocks-tableofcontents.asset.php File 285 B 0644
blocks-tableofcontents.css File 7.64 KB 0644
blocks-tableofcontents.js File 40.17 KB 0644
blocks-tabs.asset.php File 300 B 0644
blocks-tabs.css File 14.48 KB 0644
blocks-tabs.js File 180.84 KB 0644
blocks-testimonial.asset.php File 261 B 0644
blocks-testimonial.js File 45.21 KB 0644
blocks-testimonials.asset.php File 261 B 0644
blocks-testimonials.css File 19.51 KB 0644
blocks-testimonials.js File 246.17 KB 0644
blocks-videopopup.asset.php File 273 B 0644
blocks-videopopup.css File 1.72 KB 0644
blocks-videopopup.js File 51.68 KB 0644
components.asset.php File 363 B 0644
components.css File 93.12 KB 0644
components.js File 647.82 KB 0644
early-filters.asset.php File 212 B 0644
early-filters.js File 3.32 KB 0644
extension-block-css.asset.php File 231 B 0644
extension-block-css.js File 503.13 KB 0644
extension-image-picker.asset.php File 219 B 0644
extension-image-picker.css File 6.1 KB 0644
extension-image-picker.js File 88.64 KB 0644
extension-kadence-base.asset.php File 99 B 0644
extension-kadence-base.js File 198 B 0644
extension-stores.asset.php File 103 B 0644
extension-stores.js File 5.86 KB 0644
header-visual-builder.asset.php File 239 B 0644
header-visual-builder.css File 8.93 KB 0644
header-visual-builder.js File 63.86 KB 0644
helpers.asset.php File 187 B 0644
helpers.js File 27.17 KB 0644
icons.asset.php File 91 B 0644
icons.js File 457.37 KB 0644
plugin-kadence-control.asset.php File 374 B 0644
plugin-kadence-control.css File 4.18 KB 0644
plugin-kadence-control.js File 155.14 KB 0644
style-blocks-accordion.css File 10.96 KB 0644
style-blocks-advanced-form.css File 16.23 KB 0644
style-blocks-advancedbtn.css File 2.62 KB 0644
style-blocks-advancedgallery.css File 29.79 KB 0644
style-blocks-advancedheading.css File 196 B 0644
style-blocks-column.css File 1.44 KB 0644
style-blocks-countdown.css File 3.7 KB 0644
style-blocks-form.css File 9.49 KB 0644
style-blocks-header.css File 10.18 KB 0644
style-blocks-icon.css File 1.02 KB 0644
style-blocks-iconlist.css File 3.51 KB 0644
style-blocks-identity.css File 2.41 KB 0644
style-blocks-image.css File 4.5 KB 0644
style-blocks-infobox.css File 7.54 KB 0644
style-blocks-lottie.css File 239 B 0644
style-blocks-navigation.css File 96.07 KB 0644
style-blocks-posts.css File 8.37 KB 0644
style-blocks-progress-bar.css File 813 B 0644
style-blocks-rowlayout.css File 7.83 KB 0644
style-blocks-search.css File 1.28 KB 0644
style-blocks-spacer.css File 2.25 KB 0644
style-blocks-table.css File 112 B 0644
style-blocks-tableofcontents.css File 8.29 KB 0644
style-blocks-tabs.css File 10.23 KB 0644
style-blocks-testimonials.css File 10.54 KB 0644
style-blocks-videopopup.css File 4.59 KB 0644