[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@18.224.66.28: ~ $
(()=>{var e,t={7571:(e,t,o)=>{"use strict";var n=o(9091),r=(o(1297),o(1609)),a=o(2485),i=o.n(a),d=o(8468),l=o(9621),s=o(4510),c=o(7143),p=o(4997);const b=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"title":"Advanced Button","name":"kadence/advancedbtn","category":"kadence-blocks","textdomain":"kadence-blocks","attributes":{"hAlign":{"type":"string","default":"center"},"thAlign":{"type":"string","default":""},"mhAlign":{"type":"string","default":""},"btnCount":{"type":"number","default":1},"uniqueID":{"type":"string","default":""},"btns":{"type":"array","default":[{"text":"","link":"","target":"_self","size":"","paddingBT":"","paddingLR":"","color":"#555555","background":"","border":"#555555","backgroundOpacity":1,"borderOpacity":1,"borderRadius":"","borderWidth":"","colorHover":"#ffffff","backgroundHover":"#444444","borderHover":"#444444","backgroundHoverOpacity":1,"borderHoverOpacity":1,"icon":"","iconSide":"right","iconHover":false,"cssClass":"","noFollow":false,"gap":5,"responsiveSize":["",""],"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","width":["","",""],"responsivePaddingBT":["",""],"responsivePaddingLR":["",""],"boxShadow":[false,"#000000",0.2,1,1,2,0,false],"boxShadowHover":[false,"#000000",0.4,2,2,3,0,false],"sponsored":false,"download":false,"tabletGap":"","mobileGap":"","inheritStyles":"","iconSize":["","",""],"iconPadding":["","","",""],"iconTabletPadding":["","","",""],"iconMobilePadding":["","","",""],"onlyIcon":[false,"",""],"iconColor":"","iconColorHover":"","sizeType":"px","iconSizeType":"px","label":"","marginUnit":"px","margin":["","","",""],"tabletMargin":["","","",""],"mobileMargin":["","","",""],"anchor":"","borderStyle":""}]},"letterSpacing":{"type":"number"},"typography":{"type":"string","default":""},"googleFont":{"type":"boolean","default":false},"loadGoogleFont":{"type":"boolean","default":true},"fontSubset":{"type":"string","default":""},"fontVariant":{"type":"string","default":""},"fontWeight":{"type":"string","default":"regular"},"fontStyle":{"type":"string","default":"normal"},"textTransform":{"type":"string","default":""},"widthType":{"type":"string","default":"auto"},"widthUnit":{"type":"string","default":"px"},"forceFullwidth":{"type":"boolean","default":false},"collapseFullwidth":{"type":"boolean","default":false},"margin":{"type":"array","default":[{"desk":["","","",""],"tablet":["","","",""],"mobile":["","","",""]}]},"marginUnit":{"type":"string","default":"px"},"inQueryBlock":{"type":"boolean","default":false},"lockBtnCount":{"type":"boolean","default":false},"hideLink":{"type":"boolean","default":false},"gap":{"type":"array","default":["xs","",""]},"gapUnit":{"type":"string","default":"px"},"vAlign":{"type":"string","default":"center"},"tvAlign":{"type":"string","default":""},"mvAlign":{"type":"string","default":""},"padding":{"type":"array","default":["","","",""]},"tabletPadding":{"type":"array","default":["","","",""]},"mobilePadding":{"type":"array","default":["","","",""]},"paddingUnit":{"type":"string","default":"px"},"orientation":{"type":"array","default":["","",""]}},"supports":{"anchor":true,"kbMetadata":true},"usesContext":["postId","queryId"]}');function g(e,t){return null===e?"":null==t||""===t||1===t?e:(e=e.replace("#",""),"rgba("+parseInt(3===e.length?e.slice(0,1).repeat(2):e.slice(0,2),16)+", "+parseInt(3===e.length?e.slice(1,2).repeat(2):e.slice(2,4),16)+", "+parseInt(3===e.length?e.slice(2,3).repeat(2):e.slice(4,6),16)+", "+t+")")}function v(e){const{btns:t,btnCount:o,typography:n,googleFont:r,loadGoogleFont:a,fontVariant:i,fontWeight:l,fontSubset:c,fontStyle:b,textTransform:v,letterSpacing:u,widthType:y,collapseFullwidth:k,kadenceAOSOptions:f,kadenceAnimation:m,kadenceDynamic:h,hideLink:S,lockBtnCount:w}=e,x=["xs","",""];let C=["","",""];const T=[];return t?.length&&(0,d.times)(o,(e=>{const o={...t[e]};o.typography=[{size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"",letterSpacing:["","",""],letterType:"px",family:"",google:"",style:"",weight:"",variant:"",subset:"",textTransform:"",loadGoogle:!0}],void 0!==o?.size&&""!==o.size&&(o.typography[0].size[0]=o.size),void 0!==o?.size&&delete o.size,void 0!==o?.responsiveSize?.[0]&&""!==o.responsiveSize[0]&&(o.typography[0].size[1]=o.responsiveSize[0]),void 0!==o?.responsiveSize?.[1]&&""!==o.responsiveSize[1]&&(o.typography[0].size[2]=o.responsiveSize[1]),void 0!==o?.responsiveSize&&delete o.responsiveSize,void 0!==o?.sizeType&&""!==o.sizeType&&(o.typography[0].sizeType=o.sizeType),void 0!==o?.sizeType&&delete o.sizeType,void 0!==n&&""!==n&&(o.typography[0].family=n),void 0!==u&&""!==u&&(o.typography[0].letterSpacing[0]=u),void 0!==r&&""!==r&&(o.typography[0].google=r),void 0!==a&&""!==a&&(o.typography[0].loadGoogle=a),void 0!==c&&""!==c&&(o.typography[0].subset=c),void 0!==i&&""!==i&&(o.typography[0].variant=i),void 0!==b&&""!==b&&(o.typography[0].style=b),void 0!==l&&""!==l&&(o.typography[0].weight=l),void 0!==v&&""!==v&&(o.typography[0].textTransform=v),void 0!==o?.inheritStyles&&""!==o.inheritStyles&&"inherit"===o.inheritStyles?o.inheritStyles="inherit":void 0!==o?.borderWidth&&""!==o.borderWidth&&0===parseInt(o.borderWidth)&&(void 0!==o?.background&&""!==o.background||void 0!==o?.backgroundType&&"gradient"===o.backgroundType)?o.inheritStyles="fill":o.inheritStyles="outline";let d=["","","",""];void 0!==o?.borderRadius&&""!==o.borderRadius&&(d=[o.borderRadius,o.borderRadius,o.borderRadius,o.borderRadius]),o.borderRadius=d;const _=[{top:["","",""],right:["","",""],bottom:["","",""],left:["","",""],unit:"px"}];if(void 0!==o?.borderStyle&&""!==o.borderStyle&&"solid"!==o.borderStyle&&(_[0].top[1]=o.borderStyle,_[0].right[1]=o.borderStyle,_[0].bottom[1]=o.borderStyle,_[0].left[1]=o.borderStyle),o.borderStyle=_,void 0!==o?.borderWidth&&""!==o.borderWidth&&(o.borderStyle[0].top[2]=o.borderWidth,o.borderStyle[0].right[2]=o.borderWidth,o.borderStyle[0].bottom[2]=o.borderWidth,o.borderStyle[0].left[2]=o.borderWidth),void 0!==o?.borderWidth&&delete o.borderWidth,void 0!==o?.border&&""!==o.border&&(o.borderStyle[0].top[0]=g(o.border,o.borderOpacity),o.borderStyle[0].right[0]=g(o.border,o.borderOpacity),o.borderStyle[0].bottom[0]=g(o.border,o.borderOpacity),o.borderStyle[0].left[0]=g(o.border,o.borderOpacity)),void 0!==o?.border&&delete o.border,void 0!==o?.borderOpacity&&delete o.borderOpacity,o.borderHoverStyle=[{top:["","",""],right:["","",""],bottom:["","",""],left:["","",""],unit:"px"}],void 0!==o?.borderHover&&""!==o.borderHover&&(o.borderHoverStyle[0].top[0]=g(o.borderHover,o.borderHoverOpacity),o.borderHoverStyle[0].right[0]=g(o.borderHover,o.borderHoverOpacity),o.borderHoverStyle[0].bottom[0]=g(o.borderHover,o.borderHoverOpacity),o.borderHoverStyle[0].left[0]=g(o.borderHover,o.borderHoverOpacity)),void 0!==o?.borderHover&&delete o.borderHover,void 0!==o?.borderHoverOpacity&&delete o.borderHoverOpacity,o.padding=["","","",""],o.tabletPadding=["","","",""],o.mobilePadding=["","","",""],void 0!==o?.btnSize&&"custom"===o.btnSize&&(void 0!==o?.paddingBT&&""!==o.paddingBT&&(o.padding[0]=o?.paddingBT,o.padding[2]=o?.paddingBT),void 0!==o?.paddingLR&&""!==o.paddingLR&&(o.padding[1]=o?.paddingLR,o.padding[3]=o?.paddingLR),void 0!==o?.responsivePaddingBT?.[0]&&""!==o.responsivePaddingBT[0]&&(o.tabletPadding[0]=o?.responsivePaddingBT[0],o.tabletPadding[2]=o?.responsivePaddingBT[0]),void 0!==o?.responsivePaddingLR?.[0]&&""!==o.responsivePaddingLR[0]&&(o.tabletPadding[1]=o?.responsivePaddingLR[0],o.tabletPadding[3]=o?.responsivePaddingLR[0]),void 0!==o?.responsivePaddingBT?.[1]&&""!==o.responsivePaddingBT[1]&&(o.mobilePadding[0]=o?.responsivePaddingBT[1],o.mobilePadding[2]=o?.responsivePaddingBT[1]),void 0!==o?.responsivePaddingLR?.[1]&&""!==o.responsivePaddingLR[1]&&(o.mobilePadding[1]=o?.responsivePaddingLR[1],o.mobilePadding[3]=o?.responsivePaddingLR[1])),void 0!==o?.paddingBT&&delete o.paddingBT,void 0!==o?.paddingLR&&delete o.paddingLR,void 0!==o?.responsivePaddingBT&&delete o.responsivePaddingBT,void 0!==o?.responsivePaddingLR&&delete o.responsivePaddingLR,void 0!==o?.backgroundType&&"gradient"===o.backgroundType){let e="";const t=void 0===o.background?(0,s.KadenceColorOutput)("#444444",void 0!==o.backgroundOpacity?o.backgroundOpacity:1):(0,s.KadenceColorOutput)(o.background,void 0!==o.backgroundOpacity?o.backgroundOpacity:1),n=void 0===o.gradient[0]?(0,s.KadenceColorOutput)("#777777",void 0!==o.gradient[1]?o.gradient[1]:1):(0,s.KadenceColorOutput)(o.gradient[0],void 0!==o.gradient[1]?o.gradient[1]:1);void 0!==o.gradient&&"radial"===o.gradient[4]?e=`radial-gradient(at ${void 0===o.gradient[6]?"center center":o.gradient[6]}, ${t} ${void 0===o.gradient[2]?"0":o.gradient[2]}%, ${n} ${void 0===o.gradient[3]?"100":o.gradient[3]}%)`:void 0!==o.gradient&&"linear"===o.gradient[4]&&(e=`linear-gradient(${void 0===o.gradient[5]?"180":o.gradient[5]}deg, ${t} ${void 0===o.gradient[2]?"0":o.gradient[2]}%, ${n} ${void 0===o.gradient[3]?"100":o.gradient[3]}%)`),o.gradient=e}else void 0!==o?.gradient&&delete o.gradient;if(void 0!==o?.backgroundHoverType&&"gradient"===o.backgroundHoverType){let e="";const t=void 0===o.backgroundHover?(0,s.KadenceColorOutput)("#444444",void 0!==o.backgroundHoverOpacity?o.backgroundHoverOpacity:1):(0,s.KadenceColorOutput)(o.backgroundHover,void 0!==o.backgroundHoverOpacity?o.backgroundHoverOpacity:1);if(void 0!==o.gradientHover){const n=void 0===o.gradientHover[0]?(0,s.KadenceColorOutput)("#777777",void 0!==o.gradientHover[1]?o.gradientHover[1]:1):(0,s.KadenceColorOutput)(o.gradientHover[0],void 0!==o.gradientHover[1]?o.gradientHover[1]:1);"radial"===o.gradientHover[4]?e=`radial-gradient(at ${void 0===o.gradientHover[6]?"center center":o.gradientHover[6]}, ${t} ${void 0===o.gradientHover[2]?"0":o.gradientHover[2]}%, ${n} ${void 0===o.gradientHover[3]?"100":o.gradientHover[3]}%)`:"linear"===o.gradientHover[4]&&(e=`linear-gradient(${void 0===o.gradientHover[5]?"180":o.gradientHover[5]}deg, ${t} ${void 0===o.gradientHover[2]?"0":o.gradientHover[2]}%, ${n} ${void 0===o.gradientHover[3]?"100":o.gradientHover[3]}%)`)}o.gradientHover=e}else void 0!==o?.gradientHover&&delete o.gradientHover;void 0!==o?.background&&""!==o.background&&(o.background=g(o.background,o.backgroundOpacity)),void 0!==o?.backgroundOpacity&&delete o.backgroundOpacity,void 0!==o?.backgroundHover&&""!==o.backgroundHover&&(o.backgroundHover=g(o.backgroundHover,o.backgroundHoverOpacity)),void 0!==o?.backgroundHoverOpacity&&delete o.backgroundHoverOpacity,void 0!==o?.backgroundType&&""!==o.backgroundType&&(o.backgroundType="solid"===o.backgroundType?"normal":o.backgroundType),void 0!==o?.backgroundHoverType&&""!==o.backgroundHoverType&&(o.backgroundHoverType="solid"===o.backgroundHoverType?"normal":o.backgroundHoverType),void 0!==o?.btnSize&&""!==o.btnSize&&"custom"!==o.btnSize&&(o.sizePreset=o.btnSize),void 0!==o?.btnSize&&delete o.btnSize,void 0!==o?.iconSizeType&&""!==o.iconSizeType&&"px"!==o.iconSizeType&&(o.iconSizeUnit=o.iconSizeType),void 0!==o?.iconSizeType&&delete o.iconSizeType,void 0!==o?.btnStyle&&delete o.btnStyle,void 0!==o?.gap&&""!==o.gap&&5!==o.gap&&(x[0]=o.gap),void 0!==o?.gap&&delete o.gap,void 0!==o?.tabletGap&&""!==o.tabletGap&&(x[1]=o.tabletGap),void 0!==o?.tabletGap&&delete o.tabletGap,void 0!==o?.mobileGap&&""!==o.mobileGap&&(x[2]=o.mobileGap),void 0!==o?.mobileGap&&delete o.mobileGap,void 0!==f&&(o.kadenceAOSOptions=f),void 0!==m&&(o.kadenceAnimation=m),void 0!==h?.["btns:"+e+":link"]&&(o.kadenceDynamic={},o.kadenceDynamic.link=h["btns:"+e+":link"]),void 0!==h?.["btns:"+e+":text"]&&(void 0===o.kadenceDynamic&&(o.kadenceDynamic={}),o.kadenceDynamic.text=h["btns:"+e+":text"]),void 0!==o?.anchor&&""!==o.anchor?o.anchor=o.anchor:delete o.anchor,void 0!==o?.cssClass&&""!==o.cssClass&&(o.className=o.cssClass),void 0!==o?.cssClass&&delete o.cssClass,void 0!==o?.boxShadow?.[0]&&!0===o.boxShadow[0]&&(o.displayShadow=!0,o.shadow=[{color:void 0!==o?.boxShadow?.[1]?o.boxShadow[1]:"#000000",opacity:void 0!==o?.boxShadow?.[2]?o.boxShadow[2]:.4,spread:void 0!==o?.boxShadow?.[6]?o.boxShadow[6]:0,blur:void 0!==o?.boxShadow?.[5]?o.boxShadow[5]:3,hOffset:void 0!==o?.boxShadow?.[4]?o.boxShadow[3]:2,vOffset:void 0!==o?.boxShadow?.[3]?o.boxShadow[4]:2,inset:void 0!==o?.boxShadow?.[7]&&o.boxShadow[7]}]),void 0!==o?.boxShadowHover?.[0]&&!0===o.boxShadowHover[0]&&(o.displayHoverShadow=!0,o.shadowHover=[{color:void 0!==o?.boxShadowHover?.[1]?o.boxShadowHover[1]:"#000000",opacity:void 0!==o?.boxShadowHover?.[2]?o.boxShadowHover[2]:.4,spread:void 0!==o?.boxShadowHover?.[6]?o.boxShadowHover[6]:0,blur:void 0!==o?.boxShadowHover?.[5]?o.boxShadowHover[5]:3,hOffset:void 0!==o?.boxShadowHover?.[4]?o.boxShadowHover[3]:2,vOffset:void 0!==o?.boxShadowHover?.[3]?o.boxShadowHover[4]:2,inset:void 0!==o?.boxShadowHover?.[7]&&o.boxShadowHover[7]}]),void 0!==o?.boxShadow&&delete o.boxShadow,void 0!==o?.boxShadowHover&&delete o.boxShadowHover,void 0!==y&&"full"==y?(o.widthType="full",k&&(C=["","","column"])):void 0!==y&&"fixed"==y&&(o.widthType="fixed"),void 0!==o?.text&&(o.text=o.text.toString()),void 0!==S&&S&&(o.hideLink=!0),void 0!==w&&w&&(o.hideLink=!0),o.noCustomDefaults=!0,T.push((0,p.createBlock)("kadence/singlebtn",o))})),[{...e,btns:[],btnCount:1,typography:"",fontStyle:"normal",googleFont:!1,letterSpacing:"",loadGoogleFont:!0,textTransform:"",fontSubset:"",fontWeight:"regular",fontVariant:"",widthType:"auto",widthUnit:"px",orientation:C,forceFullwidth:!1,collapseFullwidth:!1,gap:x},T]}var u=o(7723),y=o(4715),k=o(6087),f=o(5573);const m=(0,k.createElement)(f.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,k.createElement)(f.Path,{d:"M10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7zm1-11H9v3H6v2h3v3h2v-3h3V9h-3V6zM10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7zm1-11H9v3H6v2h3v3h2v-3h3V9h-3V6z"}));var h=o(6427);const S={name:"kadence/singlebtn",attributesToCopy:["sizePreset","inheritStyles","widthType"]},w=[{attributes:{hAlign:{type:"string",default:"center"},thAlign:{type:"string",default:""},mhAlign:{type:"string",default:""},btnCount:{type:"number",default:1},uniqueID:{type:"string",default:""},btns:{type:"array",default:[{text:"",link:"",target:"_self",size:"",paddingBT:"",paddingLR:"",color:"#555555",background:"",border:"#555555",backgroundOpacity:1,borderOpacity:1,borderRadius:"",borderWidth:"",colorHover:"#ffffff",backgroundHover:"#444444",borderHover:"#444444",backgroundHoverOpacity:1,borderHoverOpacity:1,icon:"",iconSide:"right",iconHover:!1,cssClass:"",noFollow:!1,gap:5,responsiveSize:["",""],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",width:["","",""],responsivePaddingBT:["",""],responsivePaddingLR:["",""],boxShadow:[!1,"#000000",.2,1,1,2,0,!1],boxShadowHover:[!1,"#000000",.4,2,2,3,0,!1],sponsored:!1,download:!1,tabletGap:"",mobileGap:"",inheritStyles:"",iconSize:["","",""],iconPadding:["","","",""],iconTabletPadding:["","","",""],iconMobilePadding:["","","",""],onlyIcon:[!1,"",""],iconColor:"",iconColorHover:"",sizeType:"px",iconSizeType:"px",label:"",marginUnit:"px",margin:["","","",""],tabletMargin:["","","",""],mobileMargin:["","","",""],anchor:"",borderStyle:""}]},letterSpacing:{type:"number"},typography:{type:"string",default:""},googleFont:{type:"boolean",default:!1},loadGoogleFont:{type:"boolean",default:!0},fontSubset:{type:"string",default:""},fontVariant:{type:"string",default:""},fontWeight:{type:"string",default:"regular"},fontStyle:{type:"string",default:"normal"},textTransform:{type:"string",default:""},widthType:{type:"string",default:"auto"},widthUnit:{type:"string",default:"px"},forceFullwidth:{type:"boolean",default:!1},collapseFullwidth:{type:"boolean",default:!1},margin:{type:"array",default:[{desk:["","","",""],tablet:["","","",""],mobile:["","","",""]}]},marginUnit:{type:"string",default:"px"},inQueryBlock:{type:"boolean",default:!1},lockBtnCount:{type:"boolean",default:!1},hideLink:{type:"boolean",default:!1}},supports:{ktanimate:!0,ktanimateadd:!0,ktanimatepreview:!0,ktdynamic:!0},save:({attributes:e})=>{const{btnCount:t,btns:o,hAlign:n,uniqueID:a,letterSpacing:s,forceFullwidth:c,thAlign:p,mhAlign:b,collapseFullwidth:g}=e,v=y.useBlockProps.save({className:`kt-btn-align-${n} kt-btn-tablet-align-${p||"inherit"} kt-btn-mobile-align-${b||"inherit"} kt-btns-wrap kt-btns${a}${c?" kt-force-btn-fullwidth":""}${g?" kt-mobile-collapse-btn-fullwidth":""}`});return(0,r.createElement)("div",{...v},(0,d.times)(t,(e=>(e=>{let t,n,a,d;"_blank"===o?.[e]?.target&&(t="noreferrer noopener"),!0===o?.[e]?.noFollow&&(t=t?t.concat(" nofollow"):"nofollow"),void 0!==o?.[e]?.sponsored&&!0===o?.[e]?.sponsored&&(t=t?t.concat(" sponsored"):"sponsored"),n=void 0!==o?.[e]?.paddingLR||void 0!==o?.[e]?.paddingBT?"custom":"standard",a=void 0!==o?.[e]?.inheritStyles&&""!==o?.[e]?.inheritStyles?"kb-btn-global-"+o[e].inheritStyles:"",d=void 0!==o?.[e]?.inheritStyles&&"inherit"===o?.[e]?.inheritStyles?"wp-block-button__link":"";const c=i()({"kt-button":!0,button:!0,[`kt-btn-${e}-action`]:!0,[`kt-btn-size-${o?.[e]?.btnSize?o[e].btnSize:n}`]:!0,[`kt-btn-style-${o?.[e]?.btnStyle?o[e].btnStyle:"basic"}`]:!0,["kt-btn-svg-show-"+(o?.[e]?.iconHover?"hover":"always")]:!0,["kt-btn-has-text-"+(o?.[e]?.text?"true":"false")]:!0,["kt-btn-has-svg-"+(o?.[e]?.icon?"true":"false")]:!0,ktblocksvideopop:"video"===o?.[e]?.target,[o?.[e]?.cssClass]:o?.[e]?.cssClass,[a]:a,[d]:d,"kb-btn-only-icon":o?.[e]?.icon&&o?.[e]?.onlyIcon&&o?.[e]?.onlyIcon[0],"kb-btn-tablet-only-icon":o?.[e]?.icon&&o?.[e]?.onlyIcon&&o?.[e]?.onlyIcon[1],"kb-btn-mobile-only-icon":o?.[e]?.icon&&o?.[e]?.onlyIcon&&o?.[e]?.onlyIcon[2]});return(0,r.createElement)("div",{className:`kt-btn-wrap kt-btn-wrap-${e}`},(0,r.createElement)("a",{id:o?.[e]?.anchor?o[e].anchor:void 0,className:c,"aria-label":o?.[e]?.label?o[e].label:void 0,download:void 0!==o?.[e]?.download&&!0===o[e].download?"":void 0,href:o?.[e]?.link?o[e].link:"#",target:"_blank"===o?.[e]?.target?o[e].target:void 0,rel:t,style:{borderRadius:void 0!==o?.[e]?.borderRadius&&""!==o[e].borderRadius?o[e].borderRadius+"px":void 0,borderWidth:void 0!==o?.[e]?.borderWidth&&""!==o[e].borderWidth?o[e].borderWidth+"px":void 0,letterSpacing:void 0!==s&&""!==s?s+"px":void 0}},o?.[e]?.icon&&"left"===o?.[e]?.iconSide&&(0,r.createElement)(l.IconSpanTag,{extraClass:`kt-btn-side-${o[e].iconSide}`,name:o[e].icon}),(0,r.createElement)(y.RichText.Content,{tagName:"span",className:"kt-btn-inner-text",value:o?.[e]?.text}),o?.[e]?.icon&&"left"!==o?.[e]?.iconSide&&(0,r.createElement)(l.IconSpanTag,{extraClass:`kt-btn-side-${o[e].iconSide}`,name:o[e].icon})))})(e))))},migrate:v},{attributes:{hAlign:{type:"string",default:"center"},thAlign:{type:"string",default:""},mhAlign:{type:"string",default:""},btnCount:{type:"number",default:1},uniqueID:{type:"string",default:""},btns:{type:"array",default:[{text:"",link:"",target:"_self",size:"",paddingBT:"",paddingLR:"",color:"#555555",background:"",border:"#555555",backgroundOpacity:1,borderOpacity:1,borderRadius:"",borderWidth:"",colorHover:"#ffffff",backgroundHover:"#444444",borderHover:"#444444",backgroundHoverOpacity:1,borderHoverOpacity:1,icon:"",iconSide:"right",iconHover:!1,cssClass:"",noFollow:!1,gap:5,responsiveSize:["",""],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",width:["","",""],responsivePaddingBT:["",""],responsivePaddingLR:["",""],boxShadow:[!1,"#000000",.2,1,1,2,0,!1],boxShadowHover:[!1,"#000000",.4,2,2,3,0,!1],sponsored:!1,download:!1,tabletGap:"",mobileGap:"",inheritStyles:"",iconSize:["","",""],iconPadding:["","","",""],iconTabletPadding:["","","",""],iconMobilePadding:["","","",""],onlyIcon:[!1,"",""],iconColor:"",iconColorHover:"",sizeType:"px",iconSizeType:"px",label:"",marginUnit:"px",margin:["","","",""],tabletMargin:["","","",""],mobileMargin:["","","",""],anchor:"",borderStyle:""}]},letterSpacing:{type:"number"},typography:{type:"string",default:""},googleFont:{type:"boolean",default:!1},loadGoogleFont:{type:"boolean",default:!0},fontSubset:{type:"string",default:""},fontVariant:{type:"string",default:""},fontWeight:{type:"string",default:"regular"},fontStyle:{type:"string",default:"normal"},textTransform:{type:"string",default:""},widthType:{type:"string",default:"auto"},widthUnit:{type:"string",default:"px"},forceFullwidth:{type:"boolean",default:!1},collapseFullwidth:{type:"boolean",default:!1},margin:{type:"array",default:[{desk:["","","",""],tablet:["","","",""],mobile:["","","",""]}]},marginUnit:{type:"string",default:"px"},inQueryBlock:{type:"boolean",default:!1},lockBtnCount:{type:"boolean",default:!1},hideLink:{type:"boolean",default:!1}},supports:{ktanimate:!0,ktanimateadd:!0,ktanimatepreview:!0,ktdynamic:!0},save:({attributes:e})=>{const{btnCount:t,btns:o,hAlign:n,uniqueID:a,letterSpacing:s,forceFullwidth:c,thAlign:p,mhAlign:b,collapseFullwidth:g}=e;return(0,r.createElement)("div",{className:`kt-btn-align-${n} kt-btn-tablet-align-${p||"inherit"} kt-btn-mobile-align-${b||"inherit"} kt-btns-wrap kt-btns${a}${c?" kt-force-btn-fullwidth":""}${g?" kt-mobile-collapse-btn-fullwidth":""}`},(0,d.times)(t,(e=>(e=>{let t,n,a,d;"_blank"===o?.[e]?.target&&(t="noreferrer noopener"),!0===o?.[e]?.noFollow&&(t=t?t.concat(" nofollow"):"nofollow"),void 0!==o?.[e]?.sponsored&&!0===o?.[e]?.sponsored&&(t=t?t.concat(" sponsored"):"sponsored"),n=void 0!==o?.[e]?.paddingLR||void 0!==o?.[e]?.paddingBT?"custom":"standard",a=void 0!==o?.[e]?.inheritStyles&&""!==o?.[e]?.inheritStyles?"kb-btn-global-"+o[e].inheritStyles:"",d=void 0!==o?.[e]?.inheritStyles&&"inherit"===o?.[e]?.inheritStyles?"wp-block-button__link":"";const c=i()({"kt-button":!0,button:!0,[`kt-btn-${e}-action`]:!0,[`kt-btn-size-${o?.[e]?.btnSize?o?.[e]?.btnSize:n}`]:!0,[`kt-btn-style-${o?.[e]?.btnStyle?o?.[e]?.btnStyle:"basic"}`]:!0,["kt-btn-svg-show-"+(o?.[e]?.iconHover?"hover":"always")]:!0,["kt-btn-has-text-"+(o?.[e]?.text?"true":"false")]:!0,["kt-btn-has-svg-"+(o?.[e]?.icon?"true":"false")]:!0,ktblocksvideopop:"video"===o?.[e]?.target,[o?.[e]?.cssClass]:o?.[e]?.cssClass,[a]:a,[d]:d,"kb-btn-only-icon":o?.[e]?.icon&&o?.[e]?.onlyIcon&&o?.[e]?.onlyIcon[0],"kb-btn-tablet-only-icon":o?.[e]?.icon&&o?.[e]?.onlyIcon&&o?.[e]?.onlyIcon[1],"kb-btn-mobile-only-icon":o?.[e]?.icon&&o?.[e]?.onlyIcon&&o?.[e]?.onlyIcon[2]});return(0,r.createElement)("div",{className:`kt-btn-wrap kt-btn-wrap-${e}`},(0,r.createElement)("a",{id:o?.[e]?.anchor?o[e].anchor:void 0,className:c,"aria-label":o?.[e]?.label?o[e].label:void 0,download:void 0!==o?.[e]?.download&&!0===o[e].download?"":void 0,href:o?.[e]?.link?o[e].link:"#",target:"_blank"===o?.[e]?.target?o[e].target:void 0,rel:t,style:{borderRadius:void 0!==o?.[e]?.borderRadius&&""!==o[e].borderRadius?o[e].borderRadius+"px":void 0,borderWidth:void 0!==o?.[e]?.borderWidth&&""!==o[e].borderWidth?o[e].borderWidth+"px":void 0,letterSpacing:void 0!==s&&""!==s?s+"px":void 0}},o?.[e]?.icon&&"left"===o?.[e]?.iconSide&&(0,r.createElement)(l.IconRender,{className:`kt-btn-svg-icon kt-btn-svg-icon-${o[e].icon} kt-btn-side-${o[e].iconSide}`,name:o[e].icon,size:"1em"}),(0,r.createElement)(y.RichText.Content,{tagName:"span",className:"kt-btn-inner-text",value:o?.[e]?.text}),o?.[e]?.icon&&"left"!==o?.[e]?.iconSide&&(0,r.createElement)(l.IconRender,{className:`kt-btn-svg-icon kt-btn-svg-icon-${o[e].icon} kt-btn-side-${o[e].iconSide}`,name:o[e].icon,size:"1em"})))})(e))))},migrate:v},{attributes:{hAlign:{type:"string",default:"center"},thAlign:{type:"string",default:""},mhAlign:{type:"string",default:""},btnCount:{type:"number",default:1},uniqueID:{type:"string",default:""},btns:{type:"array",default:[{text:"",link:"",target:"_self",size:"",paddingBT:"",paddingLR:"",color:"#555555",background:"",border:"#555555",backgroundOpacity:1,borderOpacity:1,borderRadius:"",borderWidth:"",colorHover:"#ffffff",backgroundHover:"#444444",borderHover:"#444444",backgroundHoverOpacity:1,borderHoverOpacity:1,icon:"",iconSide:"right",iconHover:!1,cssClass:"",noFollow:!1,gap:5,responsiveSize:["",""],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",width:["","",""],responsivePaddingBT:["",""],responsivePaddingLR:["",""],boxShadow:[!1,"#000000",.2,1,1,2,0,!1],boxShadowHover:[!1,"#000000",.4,2,2,3,0,!1],sponsored:!1,download:!1,tabletGap:"",mobileGap:"",inheritStyles:"",iconSize:["","",""],iconPadding:["","","",""],iconTabletPadding:["","","",""],iconMobilePadding:["","","",""],onlyIcon:[!1,"",""],iconColor:"",iconColorHover:"",sizeType:"px"}]},letterSpacing:{type:"number"},typography:{type:"string",default:""},googleFont:{type:"boolean",default:!1},loadGoogleFont:{type:"boolean",default:!0},fontSubset:{type:"string",default:""},fontVariant:{type:"string",default:""},fontWeight:{type:"string",default:"regular"},fontStyle:{type:"string",default:"normal"},textTransform:{type:"string",default:""},widthType:{type:"string",default:"auto"},widthUnit:{type:"string",default:"px"},forceFullwidth:{type:"boolean",default:!1},collapseFullwidth:{type:"boolean",default:!1},margin:{type:"array",default:[{desk:["","","",""],tablet:["","","",""],mobile:["","","",""]}]},marginUnit:{type:"string",default:"px"}},supports:{ktanimate:!0,ktanimateadd:!0,ktanimatepreview:!0,ktdynamic:!0},save:({attributes:e})=>{const{btnCount:t,btns:o,hAlign:n,uniqueID:a,letterSpacing:s,forceFullwidth:c,thAlign:p,mhAlign:b,collapseFullwidth:g}=e;return(0,r.createElement)("div",{className:`kt-btn-align-${n} kt-btn-tablet-align-${p||"inherit"} kt-btn-mobile-align-${b||"inherit"} kt-btns-wrap kt-btns${a}${c?" kt-force-btn-fullwidth":""}${g?" kt-mobile-collapse-btn-fullwidth":""}`},(0,d.times)(t,(e=>(e=>{if(void 0===o?.[e])return;let t,n,a,d;"_blank"===o?.[e]?.target&&(t="noreferrer noopener"),!0===o?.[e]?.noFollow&&(t=t?t.concat(" nofollow"):"nofollow"),void 0!==o?.[e]?.sponsored&&!0===o?.[e]?.sponsored&&(t=t?t.concat(" sponsored"):"sponsored"),n=void 0!==o?.[e]?.paddingLR||void 0!==o?.[e]?.paddingBT?"custom":"standard",a=void 0!==o?.[e]?.inheritStyles&&""!==o?.[e]?.inheritStyles?"kb-btn-global-"+o[e].inheritStyles:"",d=void 0!==o?.[e]?.inheritStyles&&"inherit"===o?.[e]?.inheritStyles?"wp-block-button__link":"";const c=i()({"kt-button":!0,button:!0,[`kt-btn-${e}-action`]:!0,[`kt-btn-size-${o[e].btnSize?o[e].btnSize:n}`]:!0,[`kt-btn-style-${o[e].btnStyle?o[e].btnStyle:"basic"}`]:!0,["kt-btn-svg-show-"+(o[e].iconHover?"hover":"always")]:!0,["kt-btn-has-text-"+(o[e].text?"true":"false")]:!0,["kt-btn-has-svg-"+(o[e].icon?"true":"false")]:!0,ktblocksvideopop:"video"===o[e].target,[o[e].cssClass]:o[e].cssClass,[a]:a,[d]:d,"kb-btn-only-icon":o[e].icon&&o[e].onlyIcon&&o[e].onlyIcon[0],"kb-btn-tablet-only-icon":o[e].icon&&o[e].onlyIcon&&o[e].onlyIcon[1],"kb-btn-mobile-only-icon":o[e].icon&&o[e].onlyIcon&&o[e].onlyIcon[2]});return(0,r.createElement)("div",{className:`kt-btn-wrap kt-btn-wrap-${e}`},(0,r.createElement)("a",{className:c,download:void 0!==o[e].download&&!0===o[e].download?"":void 0,href:o[e].link?o[e].link:"#",target:"_blank"===o[e].target?o[e].target:void 0,rel:t,style:{borderRadius:void 0!==o[e].borderRadius&&""!==o[e].borderRadius?o[e].borderRadius+"px":void 0,borderWidth:void 0!==o[e].borderWidth&&""!==o[e].borderWidth?o[e].borderWidth+"px":void 0,letterSpacing:void 0!==s&&""!==s?s+"px":void 0}},o[e].icon&&"left"===o[e].iconSide&&(0,r.createElement)(l.IconRender,{className:`kt-btn-svg-icon kt-btn-svg-icon-${o[e].icon} kt-btn-side-${o[e].iconSide}`,name:o[e].icon,size:o[e].size?o[e].size:"14"}),(0,r.createElement)(y.RichText.Content,{tagName:"span",className:"kt-btn-inner-text",value:o[e].text}),o[e].icon&&"left"!==o[e].iconSide&&(0,r.createElement)(l.IconRender,{className:`kt-btn-svg-icon kt-btn-svg-icon-${o[e].icon} kt-btn-side-${o[e].iconSide}`,name:o[e].icon,size:o[e].size?o[e].size:"14"})))})(e))))},migrate:v},{attributes:{hAlign:{type:"string",default:"center"},thAlign:{type:"string",default:""},mhAlign:{type:"string",default:""},btnCount:{type:"number",default:1},uniqueID:{type:"string",default:""},btns:{type:"array",default:[{text:"",link:"",target:"_self",size:"",paddingBT:"",paddingLR:"",color:"#555555",background:"",border:"#555555",backgroundOpacity:1,borderOpacity:1,borderRadius:"",borderWidth:"",colorHover:"#ffffff",backgroundHover:"#444444",borderHover:"#444444",backgroundHoverOpacity:1,borderHoverOpacity:1,icon:"",iconSide:"right",iconHover:!1,cssClass:"",noFollow:!1,gap:5,responsiveSize:["",""],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",width:["","",""],responsivePaddingBT:["",""],responsivePaddingLR:["",""],boxShadow:[!1,"#000000",.2,1,1,2,0,!1],boxShadowHover:[!1,"#000000",.4,2,2,3,0,!1]}]},letterSpacing:{type:"number"},typography:{type:"string",default:""},googleFont:{type:"boolean",default:!1},loadGoogleFont:{type:"boolean",default:!0},fontSubset:{type:"string",default:""},fontVariant:{type:"string",default:""},fontWeight:{type:"string",default:"regular"},fontStyle:{type:"string",default:"normal"},widthType:{type:"string",default:"auto"},widthUnit:{type:"string",default:"px"},forceFullwidth:{type:"boolean",default:!1}},supports:{ktanimate:!0,ktanimateadd:!0,ktanimatepreview:!0,ktdynamic:!0},save:({attributes:e})=>{const{btnCount:t,btns:o,hAlign:n,uniqueID:a,letterSpacing:i,forceFullwidth:s,thAlign:c,mhAlign:p}=e;return(0,r.createElement)("div",{className:`kt-btn-align-${n} kt-btn-tablet-align-${c||"inherit"} kt-btn-mobile-align-${p||"inherit"} kt-btns-wrap kt-btns${a}${s?" kt-force-btn-fullwidth":""}`},(0,d.times)(t,(e=>(e=>{if(void 0===o?.[e])return;let t,n;return t="_blank"===o?.[e]?.target&&!0===o?.[e]?.noFollow?"noreferrer noopener nofollow":"_blank"===o?.[e]?.target?"noreferrer noopener":!0===o?.[e]?.noFollow?"nofollow":void 0,n=void 0!==o?.[e]?.paddingLR||void 0!==o?.[e]?.paddingBT?"custom":"standard",(0,r.createElement)("div",{className:`kt-btn-wrap kt-btn-wrap-${e}`},(0,r.createElement)("a",{className:`kt-button kt-btn-${e}-action kt-btn-size-${o[e].btnSize?o[e].btnSize:n} kt-btn-style-${o[e].btnStyle?o[e].btnStyle:"basic"} kt-btn-svg-show-${o[e].iconHover?"hover":"always"} kt-btn-has-text-${o[e].text?"true":"false"} kt-btn-has-svg-${o[e].icon?"true":"false"}${"video"===o[e].target?" ktblocksvideopop":""}${o[e].cssClass?" "+o[e].cssClass:""}`,href:o[e].link?o[e].link:"#",target:"_blank"===o[e].target?o[e].target:void 0,rel:t,style:{borderRadius:void 0!==o[e].borderRadius&&""!==o[e].borderRadius?o[e].borderRadius+"px":void 0,borderWidth:void 0!==o[e].borderWidth&&""!==o[e].borderWidth?o[e].borderWidth+"px":void 0,letterSpacing:void 0!==i&&""!==i?i+"px":void 0}},o[e].icon&&"left"===o[e].iconSide&&(0,r.createElement)(l.IconRender,{className:`kt-btn-svg-icon kt-btn-svg-icon-${o[e].icon} kt-btn-side-${o[e].iconSide}`,name:o[e].icon,size:o[e].size?o[e].size:"14"}),(0,r.createElement)(y.RichText.Content,{tagName:"span",className:"kt-btn-inner-text",value:o[e].text}),o[e].icon&&"left"!==o[e].iconSide&&(0,r.createElement)(l.IconRender,{className:`kt-btn-svg-icon kt-btn-svg-icon-${o[e].icon} kt-btn-side-${o[e].iconSide}`,name:o[e].icon,size:o[e].size?o[e].size:"14"})))})(e))))},migrate:v},{attributes:{hAlign:{type:"string",default:"center"},btnCount:{type:"number",default:1},uniqueID:{type:"string",default:""},btns:{type:"array",default:[{text:"",link:"",target:"_self",size:18,paddingBT:"",paddingLR:"",color:"#555555",background:"transparent",border:"#555555",backgroundOpacity:1,borderOpacity:1,borderRadius:3,borderWidth:2,colorHover:"#ffffff",backgroundHover:"#444444",borderHover:"#444444",backgroundHoverOpacity:1,borderHoverOpacity:1,icon:"",iconSide:"right",iconHover:!1,cssClass:"",noFollow:!1,gap:5}]},letterSpacing:{type:"number"},typography:{type:"string",default:""},googleFont:{type:"boolean",default:!1},loadGoogleFont:{type:"boolean",default:!0},fontSubset:{type:"string",default:""},fontVariant:{type:"string",default:""},fontWeight:{type:"string",default:"regular"},fontStyle:{type:"string",default:"normal"},forceFullwidth:{type:"boolean",default:!1}},supports:{ktanimate:!0,ktanimateadd:!0,ktanimatepreview:!0,ktdynamic:!0},save:({attributes:e})=>{const{btnCount:t,btns:o,hAlign:n,uniqueID:a,letterSpacing:i,forceFullwidth:s}=e;return(0,r.createElement)("div",{className:`kt-btn-align-${n} kt-btns-wrap kt-btns${a}${s?" kt-force-btn-fullwidth":""}`},(0,d.times)(t,(e=>(e=>{if(void 0===o?.[e])return;let t;return t="_blank"===o?.[e]?.target&&!0===o?.[e]?.noFollow?"noreferrer noopener nofollow":"_blank"===o?.[e]?.target?"noreferrer noopener":!0===o?.[e]?.noFollow?"nofollow":void 0,(0,r.createElement)("div",{className:`kt-btn-wrap kt-btn-wrap-${e}`},(0,r.createElement)("a",{className:`kt-button kt-btn-${e}-action kt-btn-svg-show-${o[e].iconHover?"hover":"always"} kt-btn-has-text-${o[e].text?"true":"false"} kt-btn-has-svg-${o[e].icon?"true":"false"}${"video"===o[e].target?" ktblocksvideopop":""}${o[e].cssClass?" "+o[e].cssClass:""}`,href:o[e].link?o[e].link:"#",target:"_blank"===o[e].target?o[e].target:void 0,rel:t,style:{fontSize:o[e].size?o[e].size+"px":void 0,borderRadius:o[e].borderRadius?o[e].borderRadius+"px":void 0,borderWidth:o[e].borderWidth+"px",paddingLeft:o[e].paddingLR?o[e].paddingLR+"px":void 0,paddingRight:o[e].paddingLR?o[e].paddingLR+"px":void 0,paddingTop:o[e].paddingBT?o[e].paddingBT+"px":void 0,paddingBottom:o[e].paddingBT?o[e].paddingBT+"px":void 0,letterSpacing:i?i+"px":void 0}},o[e].icon&&"left"===o[e].iconSide&&(0,r.createElement)(l.IconRender,{className:`kt-btn-svg-icon kt-btn-svg-icon-${o[e].icon} kt-btn-side-${o[e].iconSide}`,name:o[e].icon,size:o[e].size?o[e].size:"14"}),(0,r.createElement)("span",{className:"kt-btn-inner-text"},o[e].text),o[e].icon&&"left"!==o[e].iconSide&&(0,r.createElement)(l.IconRender,{className:`kt-btn-svg-icon kt-btn-svg-icon-${o[e].icon} kt-btn-side-${o[e].iconSide}`,name:o[e].icon,size:o[e].size?o[e].size:"14"})))})(e))))},migrate:v},{attributes:{hAlign:{type:"string",default:"center"},btnCount:{type:"number",default:1},uniqueID:{type:"string",default:""},btns:{type:"array",default:[{text:"",link:"",target:"_self",size:18,paddingBT:"",paddingLR:"",color:"#555555",background:"transparent",border:"#555555",borderRadius:3,borderWidth:2,colorHover:"#ffffff",backgroundHover:"#444444",borderHover:"#444444",icon:"",iconSide:"right",iconHover:!1,cssClass:""}]},letterSpacing:{type:"number"},typography:{type:"string",default:""},googleFont:{type:"boolean",default:!1},loadGoogleFont:{type:"boolean",default:!0},fontSubset:{type:"string",default:""},fontVariant:{type:"string",default:""},fontWeight:{type:"string",default:"regular"},fontStyle:{type:"string",default:"normal"}},supports:{ktanimate:!0,ktanimateadd:!0,ktanimatepreview:!0,ktdynamic:!0},save:({attributes:e})=>{const{btnCount:t,btns:o,hAlign:n,uniqueID:a,letterSpacing:i}=e;return(0,r.createElement)("div",{className:`kt-btn-align-${n} kt-btns-wrap kt-btns${a}`},(0,d.times)(t,(e=>(e=>{if(void 0!==o?.[e])return(0,r.createElement)("div",{className:`kt-btn-wrap kt-btn-wrap-${e}`},(0,r.createElement)("a",{className:`kt-button kt-btn-${e}-action kt-btn-svg-show-${o?.[e]?.iconHover?"hover":"always"} kt-btn-has-text-${o?.[e]?.text?"true":"false"} kt-btn-has-svg-${o[e].icon?"true":"false"}${o?.[e]?.cssClass?" "+o[e].cssClass:""}`,href:o?.[e]?.link?o[e].link:"#",target:o?.[e]?.target,rel:o?.[e]?.target?"noopener noreferrer":void 0,style:{fontSize:o?.[e]?.size?o[e].size+"px":void 0,borderRadius:o?.[e]?.borderRadius?o[e].borderRadius+"px":void 0,borderWidth:o?.[e]?.borderWidth+"px",paddingLeft:o?.[e]?.paddingLR?o[e].paddingLR+"px":void 0,paddingRight:o?.[e]?.paddingLR?o[e].paddingLR+"px":void 0,paddingTop:o?.[e]?.paddingBT?o[e].paddingBT+"px":void 0,paddingBottom:o?.[e]?.paddingBT?o[e].paddingBT+"px":void 0,letterSpacing:i?i+"px":void 0}},o[e].icon&&"left"===o[e].iconSide&&(0,r.createElement)(l.IconRender,{className:`kt-btn-svg-icon kt-btn-svg-icon-${o[e].icon} kt-btn-side-${o[e].iconSide}`,name:o[e].icon,size:o[e].size?o[e].size:"14"}),(0,r.createElement)("span",{className:"kt-btn-inner-text"},o[e].text),o[e].icon&&"left"!==o[e].iconSide&&(0,r.createElement)(l.IconRender,{className:`kt-btn-svg-icon kt-btn-svg-icon-${o[e].icon} kt-btn-side-${o[e].iconSide}`,name:o[e].icon,size:o[e].size?o[e].size:"14"})))})(e))))},migrate:v},{attributes:{hAlign:{type:"string",default:"center"},btnCount:{type:"number",default:1},uniqueID:{type:"string",default:""},btns:{type:"array",default:[{text:"",link:"",target:"_self",size:18,paddingBT:"",paddingLR:"",color:"#555555",background:"transparent",border:"#555555",borderRadius:3,borderWidth:2,colorHover:"#ffffff",backgroundHover:"#444444",borderHover:"#444444",icon:"",iconSide:"right",iconHover:!1,cssClass:""}]},letterSpacing:{type:"number"},typography:{type:"string",default:""},googleFont:{type:"boolean",default:!1},loadGoogleFont:{type:"boolean",default:!0},fontSubset:{type:"string",default:""},fontVariant:{type:"string",default:""},fontWeight:{type:"string",default:"regular"},fontStyle:{type:"string",default:"normal"}},supports:{ktanimate:!0,ktanimateadd:!0,ktanimatepreview:!0,ktdynamic:!0},save:({attributes:e})=>{const{btnCount:t,btns:o,hAlign:n,uniqueID:a,letterSpacing:i}=e;return(0,r.createElement)("div",{className:`kt-btn-align-${n} kt-btns-wrap kt-btns${a}`},(0,d.times)(t,(e=>(e=>{if(void 0!==o?.[e])return(0,r.createElement)("div",{className:`kt-btn-wrap kt-btn-wrap-${e}`},(0,r.createElement)("a",{className:`kt-button kt-btn-${e}-action kt-btn-svg-show-${o[e].iconHover?"hover":"always"} kt-btn-has-text-${o[e].text?"true":"false"} kt-btn-has-svg-${o[e].icon?"true":"false"}${o[e].cssClass?" "+o[e].cssClass:""}`,href:o[e].link?o[e].link:"#",target:o[e].target,rel:"_blank"===o[e].target?"noreferrer noopener":void 0,style:{fontSize:o[e].size?o[e].size+"px":void 0,borderRadius:o[e].borderRadius?o[e].borderRadius+"px":void 0,borderWidth:o[e].borderWidth+"px",paddingLeft:o[e].paddingLR?o[e].paddingLR+"px":void 0,paddingRight:o[e].paddingLR?o[e].paddingLR+"px":void 0,paddingTop:o[e].paddingBT?o[e].paddingBT+"px":void 0,paddingBottom:o[e].paddingBT?o[e].paddingBT+"px":void 0,letterSpacing:i?i+"px":void 0}},o[e].icon&&"left"===o[e].iconSide&&(0,r.createElement)(l.IconRender,{className:`kt-btn-svg-icon kt-btn-svg-icon-${o[e].icon} kt-btn-side-${o[e].iconSide}`,name:o[e].icon,size:o[e].size?o[e].size:"14"}),(0,r.createElement)("span",{className:"kt-btn-inner-text"},o[e].text),o[e].icon&&"left"!==o[e].iconSide&&(0,r.createElement)(l.IconRender,{className:`kt-btn-svg-icon kt-btn-svg-icon-${o[e].icon} kt-btn-side-${o[e].iconSide}`,name:o[e].icon,size:o[e].size?o[e].size:"14"})))})(e))))},migrate:v},{attributes:{hAlign:{type:"string",default:"center"},btnCount:{type:"number",default:1},uniqueID:{type:"string",default:""},letterSpacing:{type:"number"},typography:{type:"string",default:""},googleFont:{type:"boolean",default:!1},loadGoogleFont:{type:"boolean",default:!0},fontSubset:{type:"string",default:""},fontVariant:{type:"string",default:""},fontWeight:{type:"string",default:"regular"},fontStyle:{type:"string",default:"normal"},btns:{type:"array",default:[{text:"",link:"",target:"_self",size:18,paddingBT:"",paddingLR:"",color:"#555555",background:"transparent",border:"#555555",borderRadius:3,borderWidth:2,colorHover:"#ffffff",backgroundHover:"#444444",borderHover:"#444444",icon:"",iconSide:"right",iconHover:!1}]}},supports:{ktanimate:!0,ktanimateadd:!0,ktanimatepreview:!0,ktdynamic:!0},save:({attributes:e})=>{const{btnCount:t,btns:o,hAlign:n,uniqueID:a,letterSpacing:i}=e;return(0,r.createElement)("div",{className:`kt-btn-align-${n} kt-btns-wrap kt-btns${a}`},(0,d.times)(t,(e=>(e=>{if(void 0!==o?.[e])return(0,r.createElement)("div",{className:`kt-btn-wrap kt-btn-wrap-${e}`},(0,r.createElement)("a",{className:`kt-button kt-btn-${e}-action kt-btn-svg-show-${o[e].iconHover?"hover":"always"} kt-btn-has-text-${o[e].text?"true":"false"} kt-btn-has-svg-${o[e].icon?"true":"false"}`,href:o[e].link?o[e].link:"#",target:o[e].target,style:{fontSize:o[e].size?o[e].size+"px":void 0,borderRadius:o[e].borderRadius?o[e].borderRadius+"px":void 0,borderWidth:o[e].borderWidth+"px",paddingLeft:o[e].paddingLR?o[e].paddingLR+"px":void 0,paddingRight:o[e].paddingLR?o[e].paddingLR+"px":void 0,paddingTop:o[e].paddingTB?o[e].paddingTB+"px":void 0,paddingBottom:o[e].paddingTB?o[e].paddingTB+"px":void 0,letterSpacing:i?i+"px":void 0}},o[e].icon&&"left"===o[e].iconSide&&(0,r.createElement)(l.IconRender,{className:`kt-btn-svg-icon kt-btn-svg-icon-${o[e].icon} kt-btn-side-${o[e].iconSide}`,name:o[e].icon,size:o[e].size?o[e].size:"14"}),(0,r.createElement)("span",{className:"kt-btn-inner-text"},o[e].text),o[e].icon&&"left"!==o[e].iconSide&&(0,r.createElement)(l.IconRender,{className:`kt-btn-svg-icon kt-btn-svg-icon-${o[e].icon} kt-btn-side-${o[e].iconSide}`,name:o[e].icon,size:o[e].size?o[e].size:"14"})))})(e))))},migrate:v},{attributes:{hAlign:{type:"string",default:"center"},btnCount:{type:"number",default:1},uniqueID:{type:"string",default:""},btns:{type:"array",default:[{text:"",link:"",target:"_self",size:18,paddingBT:"",paddingLR:"",color:"#555555",background:"transparent",border:"#555555",borderRadius:3,borderWidth:2,colorHover:"#ffffff",backgroundHover:"#444444",borderHover:"#444444",icon:"",iconSide:"right",iconHover:!1}]}},supports:{ktanimate:!0,ktanimateadd:!0,ktanimatepreview:!0,ktdynamic:!0},save:({attributes:e})=>{const{btnCount:t,btns:o,hAlign:n,uniqueID:a}=e;return(0,r.createElement)("div",{className:`kt-btn-align-${n} kt-btns-wrap kt-btns${a}`},(0,d.times)(t,(e=>(e=>{if(void 0!==o?.[e])return(0,r.createElement)("div",{className:`kt-btn-wrap kt-btn-wrap-${e}`},(0,r.createElement)("a",{className:`kt-button kt-btn-${e}-action kt-btn-svg-show-${o[e].iconHover?"hover":"always"} kt-btn-has-text-${o[e].text?"true":"false"} kt-btn-has-svg-${o[e].icon?"true":"false"}`,href:o[e].link?o[e].link:"#",target:o[e].target,style:{backgroundColor:o[e].background?o[e].background:"transparent",color:o[e].color,fontSize:o[e].size?o[e].size+"px":void 0,borderRadius:o[e].borderRadius?o[e].borderRadius+"px":void 0,borderWidth:o[e].borderWidth?o[e].borderWidth+"px":void 0,borderColor:o[e].border,paddingLeft:o[e].paddingLR?o[e].paddingLR+"px":void 0,paddingRight:o[e].paddingLR?o[e].paddingLR+"px":void 0,paddingTop:o[e].paddingTB?o[e].paddingTB+"px":void 0,paddingBottom:o[e].paddingTB?o[e].paddingTB+"px":void 0},onMouseOver:`this.style.background='${o[e].backgroundHover}',this.style.color='${o[e].colorHover}',this.style.borderColor='${o[e].borderHover}'`,onFocus:`this.style.background='${o[e].backgroundHover}',this.style.color='${o[e].colorHover}',this.style.borderColor='${o[e].borderHover}'`,onBlur:`this.style.background='${o[e].background?o[e].background:"transparent"}',this.style.color='${o[e].color}',this.style.borderColor='${o[e].border}'`,onMouseOut:`this.style.background='${o[e].background?o[e].background:"transparent"}',this.style.color='${o[e].color}',this.style.borderColor='${o[e].border}'`},o[e].icon&&"left"===o[e].iconSide&&(0,r.createElement)(l.IconRender,{className:`kt-btn-svg-icon kt-btn-svg-icon-${o[e].icon} kt-btn-side-${o[e].iconSide}`,name:o[e].icon,size:o[e].size?o[e].size:"14"}),(0,r.createElement)("span",{className:"kt-btn-inner-text"},o[e].text),o[e].icon&&"left"!==o[e].iconSide&&(0,r.createElement)(l.IconRender,{className:`kt-btn-svg-icon kt-btn-svg-icon-${o[e].icon} kt-btn-side-${o[e].iconSide}`,name:o[e].icon,size:o[e].size?o[e].size:"14"})))})(e))))},migrate:v},{attributes:{hAlign:{type:"string",default:"center"},btnCount:{type:"number",default:1},uniqueID:{type:"string",default:""},btns:{type:"array",default:[{text:"",link:"",target:"_self",size:18,paddingBT:"",paddingLR:"",color:"#555555",background:"transparent",border:"#555555",borderRadius:3,borderWidth:2,colorHover:"#ffffff",backgroundHover:"#444444",borderHover:"#444444",icon:"",iconSide:"right",iconHover:!1}]}},supports:{ktanimate:!0,ktanimateadd:!0,ktanimatepreview:!0,ktdynamic:!0},save:({attributes:e})=>{const{btnCount:t,btns:o,hAlign:n,uniqueID:a}=e;return(0,r.createElement)("div",{className:`kt-btn-align-${n} kt-btns-wrap kt-btns${a}`},(0,d.times)(t,(e=>(e=>{if(void 0!==o?.[e])return(0,r.createElement)("div",{className:`kt-btn-wrap kt-btn-wrap-${e}`},(0,r.createElement)("a",{className:`kt-button kt-btn-${e}-action kt-btn-svg-show-${o[e].iconHover?"hover":"always"} kt-btn-has-text-${o[e].text?"true":"false"} kt-btn-has-svg-${o[e].icon?"true":"false"}`,href:o[e].link?o[e].link:"#",target:o[e].target,style:{backgroundColor:o[e].background?o[e].background:"transparent",color:o[e].color,fontSize:o[e].size?o[e].size+"px":void 0,borderRadius:o[e].borderRadius?o[e].borderRadius+"px":void 0,borderWidth:o[e].borderWidth+"px",borderColor:o[e].border,paddingLeft:o[e].paddingLR?o[e].paddingLR+"px":void 0,paddingRight:o[e].paddingLR?o[e].paddingLR+"px":void 0,paddingTop:o[e].paddingTB?o[e].paddingTB+"px":void 0,paddingBottom:o[e].paddingTB?o[e].paddingTB+"px":void 0},onMouseOver:`this.style.background='${o[e].backgroundHover}',this.style.color='${o[e].colorHover}',this.style.borderColor='${o[e].borderHover}'`,onFocus:`this.style.background='${o[e].backgroundHover}',this.style.color='${o[e].colorHover}',this.style.borderColor='${o[e].borderHover}'`,onBlur:`this.style.background='${o[e].background?o[e].background:"transparent"}',this.style.color='${o[e].color}',this.style.borderColor='${o[e].border}'`,onMouseOut:`this.style.background='${o[e].background?o[e].background:"transparent"}',this.style.color='${o[e].color}',this.style.borderColor='${o[e].border}'`},o[e].icon&&"left"===o[e].iconSide&&(0,r.createElement)(l.IconRender,{className:`kt-btn-svg-icon kt-btn-svg-icon-${o[e].icon} kt-btn-side-${o[e].iconSide}`,name:o[e].icon,size:o[e].size?o[e].size:"14"}),(0,r.createElement)("span",{className:"kt-btn-inner-text"},o[e].text),o[e].icon&&"left"!==o[e].iconSide&&(0,r.createElement)(l.IconRender,{className:`kt-btn-svg-icon kt-btn-svg-icon-${o[e].icon} kt-btn-side-${o[e].iconSide}`,name:o[e].icon,size:o[e].size?o[e].size:"14"})))})(e))))},migrate:v}];(0,p.registerBlockType)("kadence/advancedbtn",{...b,title:(0,u._x)("Buttons (Adv)","block title","kadence-blocks"),description:(0,u.__)("Create an advanced button or a row of buttons. Style each one, including hover controls","kadence-blocks"),keywords:[(0,u.__)("button","kadence-blocks"),(0,u.__)("icon","kadence-blocks"),"KB"],icon:{src:n.advancedBtnIcon},edit:function(e){const{attributes:t,className:o,setAttributes:n,clientId:a,context:g}=e,{uniqueID:f,hAlign:w,thAlign:x,mhAlign:C,vAlign:T,tvAlign:_,mvAlign:B,margin:H,marginUnit:O,collapseFullwidth:R,lockBtnCount:z,orientation:E,inQueryBlock:$,gap:P,gapUnit:I,padding:A,tabletPadding:F,mobilePadding:N,paddingUnit:U,btns:L}=t,[M,D]=(0,k.useState)("general"),{addUniqueID:V}=(0,c.useDispatch)("kadenceblocks/data"),{removeBlock:W}=(0,c.useDispatch)("core/block-editor"),{replaceInnerBlocks:G,insertBlock:q}=(0,c.useDispatch)(y.store),{isUniqueID:K,isUniqueBlock:j,previewDevice:Q,childBlocks:J,parentData:X,thisBlock:Y}=(0,c.useSelect)((e=>({isUniqueID:t=>e("kadenceblocks/data").isUniqueID(t),isUniqueBlock:(t,o)=>e("kadenceblocks/data").isUniqueBlock(t,o),previewDevice:e("kadenceblocks/data").getPreviewDeviceType(),childBlocks:e("core/block-editor").getBlockOrder(a),thisBlock:e("core/block-editor").getBlock(a),parentData:{rootBlock:e("core/block-editor").getBlock(e("core/block-editor").getBlockHierarchyRootClientId(a)),postId:e("core/editor")?.getCurrentPostId()?e("core/editor")?.getCurrentPostId():"",reusableParent:e("core/block-editor").getBlockAttributes(e("core/block-editor").getBlockParentsByBlockName(a,"core/block").slice(-1)[0]),editedPostId:!!e("core/edit-site")&&e("core/edit-site").getEditedPostId()}})),[a]);(0,k.useEffect)((()=>{(0,s.setBlockDefaults)("kadence/advancedbtn",t);const o=(0,s.getPostOrFseId)(e,X),r=(0,s.getUniqueId)(f,a,K,j,o);r!==f?(t.uniqueID=r,n({uniqueID:r}),V(r,a)):V(r,a),n({inQueryBlock:(0,s.getInQueryBlock)(g,$)})}),[]),(0,k.useEffect)((()=>{if(f&&!J.length)if(L?.length&&L.length&&void 0!==b?.attributes?.btns?.default&&!(0,d.isEqual)(b.attributes.btns.default,L)){const e=v(t);n(e[0]),G(a,e[1])}else W(a,!0)}),[J.length]);const Z=e=>{const t=H.map(((t,o)=>(0===o&&(t={...t,...e}),t)));n({margin:t})},ee=(0,s.mouseOverVisualizer)(),te=(0,s.mouseOverVisualizer)(),oe=(0,s.getPreviewSize)(Q,void 0!==P?.[0]?P[0]:"",void 0!==P?.[1]?P[1]:"",void 0!==P?.[2]?P[2]:""),ne=(0,s.getPreviewSize)(Q,void 0!==w?w:"",void 0!==x?x:"",void 0!==C?C:""),re=(0,s.getPreviewSize)(Q,void 0!==T?T:"",void 0!==_?_:"",void 0!==B?B:""),ae=(0,s.getPreviewSize)(Q,void 0!==E?.[0]?E[0]:"",void 0!==E?.[1]?E[1]:"",void 0!==E?.[2]?E[2]:""),ie=(0,s.getPreviewSize)(Q,void 0!==A?.[0]?A[0]:"",void 0!==F?.[0]?F[0]:"",void 0!==N?.[0]?N[0]:""),de=(0,s.getPreviewSize)(Q,void 0!==A?.[1]?A[1]:"",void 0!==F?.[1]?F[1]:"",void 0!==N?.[1]?N[1]:""),le=(0,s.getPreviewSize)(Q,void 0!==A?.[2]?A[2]:"",void 0!==F?.[2]?F[2]:"",void 0!==N?.[2]?N[2]:""),se=(0,s.getPreviewSize)(Q,void 0!==A?.[3]?A[3]:"",void 0!==F?.[3]?F[3]:"",void 0!==N?.[3]?N[3]:""),ce=(0,s.getPreviewSize)(Q,void 0!==H&&void 0!==H[0]&&void 0!==H[0].desk&&""!==H[0].desk[0]?H[0].desk[0]:"",void 0!==H&&void 0!==H[0]&&void 0!==H[0].tablet&&""!==H[0].tablet[0]?H[0].tablet[0]:"",void 0!==H&&void 0!==H[0]&&void 0!==H[0].mobile&&""!==H[0].mobile[0]?H[0].mobile[0]:""),pe=(0,s.getPreviewSize)(Q,void 0!==H&&void 0!==H[0]&&void 0!==H[0].desk&&""!==H[0].desk[1]?H[0].desk[1]:"",void 0!==H&&void 0!==H[0]&&void 0!==H[0].tablet&&""!==H[0].tablet[1]?H[0].tablet[1]:"",void 0!==H&&void 0!==H[0]&&void 0!==H[0].mobile&&""!==H[0].mobile[1]?H[0].mobile[1]:""),be=(0,s.getPreviewSize)(Q,void 0!==H&&void 0!==H[0]&&void 0!==H[0].desk&&""!==H[0].desk[2]?H[0].desk[2]:"",void 0!==H&&void 0!==H[0]&&void 0!==H[0].tablet&&""!==H[0].tablet[2]?H[0].tablet[2]:"",void 0!==H&&void 0!==H[0]&&void 0!==H[0].mobile&&""!==H[0].mobile[2]?H[0].mobile[2]:""),ge=(0,s.getPreviewSize)(Q,void 0!==H&&void 0!==H[0]&&void 0!==H[0].desk&&""!==H[0].desk[3]?H[0].desk[3]:"",void 0!==H&&void 0!==H[0]&&void 0!==H[0].tablet&&""!==H[0].tablet[3]?H[0].tablet[3]:"",void 0!==H&&void 0!==H[0]&&void 0!==H[0].mobile&&""!==H[0].mobile[3]?H[0].mobile[3]:""),ve=i()({className:o,[`kb-btns-${f}`]:!0}),ue=(0,y.useBlockProps)({className:ve,style:{marginTop:void 0!==ce?(0,s.getSpacingOptionOutput)(ce,O):void 0,marginBottom:void 0!==be?(0,s.getSpacingOptionOutput)(be,O):void 0}}),ye=i()({"kb-btns-outer-wrap":!0,[`kt-btn-align-${ne}`]:ne,[`kt-btn-valign-${re}`]:re,"kb-direction-columns":ae&&("column"===ae||"column-reverse"===ae)}),ke=(0,y.useInnerBlocksProps)({className:ye,style:{paddingLeft:void 0!==se?(0,s.getSpacingOptionOutput)(se,U):void 0,paddingRight:void 0!==de?(0,s.getSpacingOptionOutput)(de,U):void 0,paddingTop:void 0!==ie?(0,s.getSpacingOptionOutput)(ie,U):void 0,paddingBottom:void 0!==le?(0,s.getSpacingOptionOutput)(le,U):void 0,marginLeft:void 0!==ge?(0,s.getSpacingOptionOutput)(ge,O):void 0,marginRight:void 0!==pe?(0,s.getSpacingOptionOutput)(pe,O):void 0}},{orientation:"horizontal",templateLock:!!z,templateInsertUpdatesSelection:!0,defaultBlock:S,directInsert:!0,template:[["kadence/singlebtn"]],allowedBlocks:["kadence/singlebtn"]});return(0,r.createElement)("div",{...ue},(0,r.createElement)("style",null,oe&&`.wp-block-kadence-advancedbtn.kb-btns-${f} .kb-btns-outer-wrap {\n\t\t\t\t\t\tgap: ${(0,s.getGapSizeOptionOutput)(oe,I||"px")};\n\t\t\t\t\t}`,ae&&`.wp-block-kadence-advancedbtn.kb-btns-${f} .kb-btns-outer-wrap {\n\t\t\t\t\t\tflex-direction: ${ae};\n\t\t\t\t\t}`),(0,r.createElement)(y.BlockControls,null,(0,r.createElement)(h.ToolbarGroup,null,(0,r.createElement)(y.JustifyContentControl,{value:ne,onChange:e=>{n("Mobile"===Q?{mhAlign:e||""}:"Tablet"===Q?{thAlign:e||""}:{hAlign:e||"center"})}}),(0,r.createElement)(y.BlockVerticalAlignmentControl,{value:re,onChange:e=>{n("Mobile"===Q?{mvAlign:e||""}:"Tablet"===Q?{tvAlign:e||""}:{vAlign:e||"center"})}})),!z&&(0,r.createElement)(h.ToolbarGroup,null,(0,r.createElement)(h.ToolbarButton,{className:"kb-icons-add-icon",icon:m,onClick:()=>{const e=(0,d.get)(Y,["innerBlocks",Y.innerBlocks.length-1,"attributes"],{}),t=JSON.parse(JSON.stringify(e));t.uniqueID="";const o=(0,p.createBlock)("kadence/singlebtn",t);q(o,parseInt(Y.innerBlocks.length),a)},label:(0,u.__)("Duplicate Previous Button","kadence-blocks"),showTooltip:!0}))),(0,r.createElement)(l.KadenceInspectorControls,{blockSlug:"kadence/advancedbtn"},(0,r.createElement)(l.InspectorControlTabs,{panelName:"advancedbtn",allowedTabs:["general","advanced"],setActiveTab:e=>D(e),activeTab:M}),"general"===M&&(0,r.createElement)(l.KadencePanelBody,{panelName:"kb-icon-alignment-settings"},(0,r.createElement)(l.ResponsiveAlignControls,{label:(0,u.__)("Alignment","kadence-blocks"),value:w||"",mobileValue:C||"",tabletValue:x||"",onChange:e=>n({hAlign:e||"center"}),onChangeTablet:e=>n({thAlign:e||""}),onChangeMobile:e=>n({mhAlign:e||""}),type:"justify"}),(0,r.createElement)(l.ResponsiveAlignControls,{label:(0,u.__)("Vertical Alignment","kadence-blocks"),value:T||"",mobileValue:B||"",tabletValue:_||"",onChange:e=>n({vAlign:e||"center"}),onChangeTablet:e=>n({tvAlign:e||""}),onChangeMobile:e=>n({mvAlign:e||""}),type:"vertical"}),(0,r.createElement)(l.ResponsiveAlignControls,{label:(0,u.__)("Orientation","kadence-blocks"),value:void 0!==E?.[0]?E[0]:"",tabletValue:void 0!==E?.[1]?E[1]:"",mobileValue:void 0!==E?.[2]?E[2]:"",onChange:e=>n({orientation:[e,void 0!==E?.[1]?E[1]:"",void 0!==E?.[2]?E[2]:""]}),onChangeTablet:e=>n({orientation:[void 0!==E?.[0]?E[0]:"",e,void 0!==E?.[2]?E[2]:""]}),onChangeMobile:e=>n({orientation:[void 0!==E?.[0]?E[0]:"",void 0!==E?.[1]?E[1]:"",e]}),type:"orientation"}),void 0!==Y?.innerBlocks?.length&&Y.innerBlocks.length>1&&(0,r.createElement)(l.ResponsiveGapSizeControl,{label:(0,u.__)("Button Gap","kadence-blocks"),value:void 0!==P?.[0]?P[0]:"",onChange:e=>n({gap:[e,void 0!==P[1]?P[1]:"",void 0!==P[2]?P[2]:""]}),tabletValue:void 0!==P?.[1]?P[1]:"",onChangeTablet:e=>n({gap:[void 0!==P[0]?P[0]:"",e,void 0!==P[2]?P[2]:""]}),mobileValue:void 0!==P?.[2]?P[2]:"",onChangeMobile:e=>n({gap:[void 0!==P[0]?P[0]:"",void 0!==P[1]?P[1]:"",e]}),min:0,max:"px"===I?200:12,step:"px"===I?1:.1,unit:I||"px",onUnit:e=>{n({gapUnit:e})},units:["px","em","rem"]})),"advanced"===M&&(0,r.createElement)(k.Fragment,null,(0,s.showSettings)("marginSettings","kadence/advancedbtn")&&(0,r.createElement)(k.Fragment,null,(0,r.createElement)(l.KadencePanelBody,{panelName:"kb-adv-button-margin-settings"},(0,r.createElement)(l.ResponsiveMeasureRangeControl,{label:(0,u.__)("Padding","kadence-blocks"),value:A,onChange:e=>n({padding:e}),tabletValue:F,onChangeTablet:e=>n({tabletPadding:e}),mobileValue:N,onChangeMobile:e=>n({mobilePadding:e}),min:"em"===U||"rem"===U?-25:-999,max:"em"===U||"rem"===U?25:999,step:"em"===U||"rem"===U?.1:1,unit:U,units:["px","em","rem"],onUnit:e=>n({paddingUnit:e}),onMouseOver:te.onMouseOver,onMouseOut:te.onMouseOut}),(0,r.createElement)(l.ResponsiveMeasureRangeControl,{label:(0,u.__)("Margin","kadence-blocks"),value:void 0!==H&&void 0!==H[0]&&void 0!==H[0].desk?H[0].desk:["","","",""],tabletValue:void 0!==H&&void 0!==H[0]&&void 0!==H[0].tablet?H[0].tablet:["","","",""],mobileValue:void 0!==H&&void 0!==H[0]&&void 0!==H[0].mobile?H[0].mobile:["","","",""],onChange:e=>{Z({desk:e})},onChangeTablet:e=>{Z({tablet:e})},onChangeMobile:e=>{Z({mobile:e})},min:"em"===O||"rem"===O?-25:-999,max:"em"===O||"rem"===O?25:999,step:"em"===O||"rem"===O?.1:1,unit:O,units:["px","em","rem","%","vh"],onUnit:e=>n({marginUnit:e}),onMouseOver:ee.onMouseOver,onMouseOut:ee.onMouseOut,allowAuto:!0})),(0,r.createElement)("div",{className:"kt-sidebar-settings-spacer"})))),(0,r.createElement)("div",{...ke}),(0,r.createElement)(l.SpacingVisualizer,{type:"inside",style:{marginLeft:void 0!==ge?(0,s.getSpacingOptionOutput)(ge,O):void 0,marginRight:void 0!==pe?(0,s.getSpacingOptionOutput)(pe,O):void 0},forceShow:te.isMouseOver,spacing:[(0,s.getSpacingOptionOutput)(ie,U),(0,s.getSpacingOptionOutput)(de,U),(0,s.getSpacingOptionOutput)(le,U),(0,s.getSpacingOptionOutput)(se,U)]}),(0,r.createElement)(l.SpacingVisualizer,{type:"outsideVertical",forceShow:ee.isMouseOver,spacing:[(0,s.getSpacingOptionOutput)(ce,O),(0,s.getSpacingOptionOutput)(pe,O),(0,s.getSpacingOptionOutput)(be,O),(0,s.getSpacingOptionOutput)(ge,O)]}))},save:function({attributes:e}){const{uniqueID:t}=e,o=i()({"kb-buttons-wrap":!0,[`kb-btns${t}`]:t}),n=y.useBlockProps.save({className:o});return(0,r.createElement)("div",{...n},(0,r.createElement)(y.InnerBlocks.Content,null))},deprecated:w,example:{innerBlocks:[{name:"kadence/singlebtn",attributes:{text:(0,u.__)("Click Me!","kadence-blocks")}}]}})},1297:(e,t,o)=>{"use strict";const n=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"title":"Single Button","name":"kadence/singlebtn","parent":["kadence/advancedbtn"],"category":"kadence-blocks","textdomain":"kadence-blocks","attributes":{"uniqueID":{"type":"string","default":""},"text":{"type":"string","default":"","__experimentalRole":"content"},"link":{"type":"string","default":"","__experimentalRole":"content"},"target":{"type":"string","default":"_self","__experimentalRole":"content"},"noFollow":{"type":"boolean","default":false,"__experimentalRole":"content"},"sponsored":{"type":"boolean","default":false,"__experimentalRole":"content"},"download":{"type":"boolean","default":false,"__experimentalRole":"content"},"style":{"type":"string","default":"basic"},"sizePreset":{"type":"string","default":"standard"},"gap":{"type":"array","default":["","",""]},"width":{"type":"array","default":["","",""]},"widthUnit":{"type":"string","default":"px"},"widthType":{"type":"string","default":"auto"},"padding":{"type":"array","default":["","","",""]},"tabletPadding":{"type":"array","default":["","","",""]},"mobilePadding":{"type":"array","default":["","","",""]},"paddingUnit":{"type":"string","default":"px"},"margin":{"type":"array","default":["","","",""]},"tabletMargin":{"type":"array","default":["","","",""]},"mobileMargin":{"type":"array","default":["","","",""]},"marginUnit":{"type":"string","default":"px"},"color":{"type":"string","default":""},"background":{"type":"string","default":""},"gradient":{"type":"string","default":""},"backgroundType":{"type":"string","default":"normal"},"textGradient":{"type":"string","default":""},"textBackgroundType":{"type":"string","default":"normal"},"textGradientHover":{"type":"string","default":""},"textBackgroundHoverType":{"type":"string","default":"normal"},"colorHover":{"type":"string","default":""},"backgroundHover":{"type":"string","default":""},"backgroundHoverType":{"type":"string","default":"normal"},"gradientHover":{"type":"string","default":""},"borderStyle":{"type":"array","default":[{"top":["","",""],"right":["","",""],"bottom":["","",""],"left":["","",""],"unit":"px"}]},"tabletBorderStyle":{"type":"array","default":[{"top":["","",""],"right":["","",""],"bottom":["","",""],"left":["","",""],"unit":"px"}]},"mobileBorderStyle":{"type":"array","default":[{"top":["","",""],"right":["","",""],"bottom":["","",""],"left":["","",""],"unit":"px"}]},"borderHoverStyle":{"type":"array","default":[{"top":["","",""],"right":["","",""],"bottom":["","",""],"left":["","",""],"unit":"px"}]},"tabletBorderHoverStyle":{"type":"array","default":[{"top":["","",""],"right":["","",""],"bottom":["","",""],"left":["","",""],"unit":"px"}]},"mobileBorderHoverStyle":{"type":"array","default":[{"top":["","",""],"right":["","",""],"bottom":["","",""],"left":["","",""],"unit":"px"}]},"borderRadius":{"type":"array","default":["","","",""]},"tabletBorderRadius":{"type":"array","default":["","","",""]},"mobileBorderRadius":{"type":"array","default":["","","",""]},"borderRadiusUnit":{"type":"string","default":"px"},"borderHoverRadius":{"type":"array","default":["","","",""]},"tabletBorderHoverRadius":{"type":"array","default":["","","",""]},"mobileBorderHoverRadius":{"type":"array","default":["","","",""]},"borderHoverRadiusUnit":{"type":"string","default":"px"},"icon":{"type":"string","default":""},"iconColor":{"type":"string","default":""},"iconColorHover":{"type":"string","default":""},"iconSide":{"type":"string","default":"right"},"iconHover":{"type":"boolean","default":false},"iconPadding":{"type":"array","default":["","","",""]},"iconPaddingUnit":{"type":"string","default":"px"},"tabletIconPadding":{"type":"array","default":["","","",""]},"mobileIconPadding":{"type":"array","default":["","","",""]},"iconSize":{"type":"array","default":["","",""]},"iconSizeUnit":{"type":"string","default":"px"},"onlyIcon":{"type":"array","default":[false,"",""]},"onlyText":{"type":"array","default":[false,""]},"label":{"type":"string","default":""},"inheritStyles":{"type":"string","default":"fill"},"typography":{"type":"array","default":[{"size":["","",""],"sizeType":"px","lineHeight":["","",""],"lineType":"","letterSpacing":["","",""],"letterType":"px","textTransform":"","family":"","google":"","style":"","weight":"","variant":"","subset":"","loadGoogle":true}]},"displayShadow":{"type":"boolean","default":false},"displayHoverShadow":{"type":"boolean","default":false},"shadow":{"type":"array","default":[{"color":"#000000","opacity":0.2,"spread":0,"blur":2,"hOffset":1,"vOffset":1,"inset":false}]},"shadowHover":{"type":"array","default":[{"color":"#000000","opacity":0.4,"spread":0,"blur":3,"hOffset":2,"vOffset":2,"inset":false}]},"inQueryBlock":{"type":"boolean","default":false},"textUnderline":{"type":"string"},"anchor":{"type":"string"},"hideLink":{"type":"boolean","default":false},"noCustomDefaults":{"type":"boolean","default":false},"iconTitle":{"type":"string","default":""},"colorTransparent":{"type":"string","default":""},"backgroundTransparent":{"type":"string","default":""},"gradientTransparent":{"type":"string","default":""},"backgroundTransparentType":{"type":"string","default":"normal"},"colorTransparentHover":{"type":"string","default":""},"backgroundTransparentHover":{"type":"string","default":""},"backgroundTransparentHoverType":{"type":"string","default":"normal"},"gradientTransparentHover":{"type":"string","default":""},"borderTransparentStyle":{"type":"array","default":[{"top":["","",""],"right":["","",""],"bottom":["","",""],"left":["","",""],"unit":"px"}]},"tabletBorderTransparentStyle":{"type":"array","default":[{"top":["","",""],"right":["","",""],"bottom":["","",""],"left":["","",""],"unit":"px"}]},"mobileBorderTransparentStyle":{"type":"array","default":[{"top":["","",""],"right":["","",""],"bottom":["","",""],"left":["","",""],"unit":"px"}]},"borderTransparentHoverStyle":{"type":"array","default":[{"top":["","",""],"right":["","",""],"bottom":["","",""],"left":["","",""],"unit":"px"}]},"tabletBorderTransparentHoverStyle":{"type":"array","default":[{"top":["","",""],"right":["","",""],"bottom":["","",""],"left":["","",""],"unit":"px"}]},"mobileBorderTransparentHoverStyle":{"type":"array","default":[{"top":["","",""],"right":["","",""],"bottom":["","",""],"left":["","",""],"unit":"px"}]},"borderTransparentRadius":{"type":"array","default":["","","",""]},"tabletBorderTransparentRadius":{"type":"array","default":["","","",""]},"mobileBorderTransparentRadius":{"type":"array","default":["","","",""]},"borderTransparentRadiusUnit":{"type":"string","default":"px"},"borderTransparentHoverRadius":{"type":"array","default":["","","",""]},"tabletBorderTransparentHoverRadius":{"type":"array","default":["","","",""]},"mobileBorderTransparentHoverRadius":{"type":"array","default":["","","",""]},"borderTransparentHoverRadiusUnit":{"type":"string","default":"px"},"displayShadowTransparent":{"type":"boolean","default":false},"displayHoverShadowTransparent":{"type":"boolean","default":false},"shadowTransparent":{"type":"array","default":[{"color":"#000000","opacity":0.2,"spread":0,"blur":2,"hOffset":1,"vOffset":1,"inset":false}]},"shadowTransparentHover":{"type":"array","default":[{"color":"#000000","opacity":0.4,"spread":0,"blur":3,"hOffset":2,"vOffset":2,"inset":false}]},"colorSticky":{"type":"string","default":""},"backgroundSticky":{"type":"string","default":""},"gradientSticky":{"type":"string","default":""},"backgroundStickyType":{"type":"string","default":"normal"},"colorStickyHover":{"type":"string","default":""},"backgroundStickyHover":{"type":"string","default":""},"backgroundStickyHoverType":{"type":"string","default":"normal"},"gradientStickyHover":{"type":"string","default":""},"borderStickyStyle":{"type":"array","default":[{"top":["","",""],"right":["","",""],"bottom":["","",""],"left":["","",""],"unit":"px"}]},"tabletBorderStickyStyle":{"type":"array","default":[{"top":["","",""],"right":["","",""],"bottom":["","",""],"left":["","",""],"unit":"px"}]},"mobileBorderStickyStyle":{"type":"array","default":[{"top":["","",""],"right":["","",""],"bottom":["","",""],"left":["","",""],"unit":"px"}]},"borderStickyHoverStyle":{"type":"array","default":[{"top":["","",""],"right":["","",""],"bottom":["","",""],"left":["","",""],"unit":"px"}]},"tabletBorderStickyHoverStyle":{"type":"array","default":[{"top":["","",""],"right":["","",""],"bottom":["","",""],"left":["","",""],"unit":"px"}]},"mobileBorderStickyHoverStyle":{"type":"array","default":[{"top":["","",""],"right":["","",""],"bottom":["","",""],"left":["","",""],"unit":"px"}]},"borderStickyRadius":{"type":"array","default":["","","",""]},"tabletBorderStickyRadius":{"type":"array","default":["","","",""]},"mobileBorderStickyRadius":{"type":"array","default":["","","",""]},"borderStickyRadiusUnit":{"type":"string","default":"px"},"borderStickyHoverRadius":{"type":"array","default":["","","",""]},"tabletBorderStickyHoverRadius":{"type":"array","default":["","","",""]},"mobileBorderStickyHoverRadius":{"type":"array","default":["","","",""]},"borderStickyHoverRadiusUnit":{"type":"string","default":"px"},"displayShadowSticky":{"type":"boolean","default":false},"displayHoverShadowSticky":{"type":"boolean","default":false},"shadowSticky":{"type":"array","default":[{"color":"#000000","opacity":0.2,"spread":0,"blur":2,"hOffset":1,"vOffset":1,"inset":false}]},"shadowStickyHover":{"type":"array","default":[{"color":"#000000","opacity":0.4,"spread":0,"blur":3,"hOffset":2,"vOffset":2,"inset":false}]},"tooltip":{"type":"string","default":"","__experimentalRole":"content"},"tooltipPlacement":{"type":"string","default":""},"isSubmit":{"type":"boolean","default":false}},"supports":{"anchor":true,"ktanimate":true,"ktanimateadd":true,"ktanimatepreview":true,"ktdynamic":true,"html":false,"reusable":false,"kbMetadata":true,"kbContentLabel":"text"},"usesContext":["postId","queryId","kadence/dynamicSource","kadence/repeaterRowData","kadence/repeaterRow","kadence/headerIsSticky","kadence/headerIsTransparent"]}');var r=o(9091),a=o(1609),i=o(4510),d=o(9621),l=o(2485),s=o.n(l),c=(o(8468),o(7723)),p=o(7143),b=o(6087),g=o(5573);const v=(0,b.createElement)(g.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,b.createElement)(g.Path,{d:"M15.6 7.2H14v1.5h1.6c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.8 0 5.2-2.3 5.2-5.2 0-2.9-2.3-5.2-5.2-5.2zM4.7 12.4c0-2 1.7-3.7 3.7-3.7H10V7.2H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H10v-1.5H8.4c-2 0-3.7-1.7-3.7-3.7zm4.6.9h5.3v-1.5H9.3v1.5z"})),u=window.wp.keycodes;var y=o(4715),k=o(6427);const f=window.wp.hooks;function m(e){const{attributes:t,isSelected:o,previewDevice:n,currentRef:r,context:d}=e,{uniqueID:l,text:s,link:c,target:p,sponsored:b,download:g,noFollow:v,sizePreset:u,marginUnit:y,margin:k,tabletMargin:f,mobileMargin:m,padding:h,tabletPadding:S,mobilePadding:w,paddingUnit:x,color:C,background:T,backgroundType:_,gradient:B,textBackgroundType:H,textGradient:O,textBackgroundHoverType:R,textGradientHover:z,colorHover:E,backgroundHover:$,backgroundHoverType:P,gradientHover:I,borderStyle:A,tabletBorderStyle:F,mobileBorderStyle:N,borderHoverStyle:U,tabletBorderHoverStyle:L,mobileBorderHoverStyle:M,typography:D,borderRadius:V,tabletBorderRadius:W,mobileBorderRadius:G,borderRadiusUnit:q,borderHoverRadius:K,tabletBorderHoverRadius:j,mobileBorderHoverRadius:Q,borderHoverRadiusUnit:J,width:X,widthUnit:Y,widthType:Z,displayShadow:ee,shadow:te,displayHoverShadow:oe,shadowHover:ne,iconColor:re,iconColorHover:ae,colorTransparent:ie,colorTransparentHover:de,backgroundTransparent:le,backgroundTransparentType:se,gradientTransparent:ce,backgroundTransparentHover:pe,backgroundTransparentHoverType:be,gradientTransparentHover:ge,borderTransparentStyle:ve,tabletBorderTransparentStyle:ue,mobileBorderTransparentStyle:ye,borderTransparentHoverStyle:ke,tabletBorderTransparentHoverStyle:fe,mobileBorderTransparentHoverStyle:me,borderTransparentRadius:he,tabletBorderTransparentRadius:Se,mobileBorderTransparentRadius:we,borderTransparentRadiusUnit:xe,borderTransparentHoverRadius:Ce,tabletBorderTransparentHoverRadius:Te,mobileBorderTransparentHoverRadius:_e,borderTransparentHoverRadiusUnit:Be,displayShadowTransparent:He,shadowTransparent:Oe,displayHoverShadowTransparent:Re,shadowTransparentHover:ze,colorSticky:Ee,colorStickyHover:$e,backgroundSticky:Pe,backgroundStickyType:Ie,gradientSticky:Ae,backgroundStickyHover:Fe,backgroundStickyHoverType:Ne,gradientStickyHover:Ue,borderStickyStyle:Le,tabletBorderStickyStyle:Me,mobileBorderStickyStyle:De,borderStickyHoverStyle:Ve,tabletBorderStickyHoverStyle:We,mobileBorderStickyHoverStyle:Ge,borderStickyRadius:qe,tabletBorderStickyRadius:Ke,mobileBorderStickyRadius:je,borderStickyRadiusUnit:Qe,borderStickyHoverRadius:Je,tabletBorderStickyHoverRadius:Xe,mobileBorderStickyHoverRadius:Ye,borderStickyHoverRadiusUnit:Ze,displayShadowSticky:et,shadowSticky:tt,displayHoverShadowSticky:ot,shadowStickyHover:nt}=t,rt=new i.KadenceBlocksCSS,at=(0,i.getPreviewSize)(n,void 0!==k?.[0]?k[0]:"",void 0!==f?.[0]?f[0]:"",void 0!==m?.[0]?m[0]:""),it=(0,i.getPreviewSize)(n,void 0!==k?.[1]?k[1]:"",void 0!==f?.[1]?f[1]:"",void 0!==m?.[1]?m[1]:""),dt=(0,i.getPreviewSize)(n,void 0!==k?.[2]?k[2]:"",void 0!==f?.[2]?f[2]:"",void 0!==m?.[2]?m[2]:""),lt=(0,i.getPreviewSize)(n,void 0!==k?.[3]?k[3]:"",void 0!==f?.[3]?f[3]:"",void 0!==m?.[3]?m[3]:""),st=y||"px",ct=(0,i.getPreviewSize)(n,void 0!==h?.[0]?h[0]:"",void 0!==S?.[0]?S[0]:"",void 0!==w?.[0]?w[0]:""),pt=(0,i.getPreviewSize)(n,void 0!==h?.[1]?h[1]:"",void 0!==S?.[1]?S[1]:"",void 0!==w?.[1]?w[1]:""),bt=(0,i.getPreviewSize)(n,void 0!==h?.[2]?h[2]:"",void 0!==S?.[2]?S[2]:"",void 0!==w?.[2]?w[2]:""),gt=(0,i.getPreviewSize)(n,void 0!==h?.[3]?h[3]:"",void 0!==S?.[3]?S[3]:"",void 0!==w?.[3]?w[3]:""),vt=x||"px",ut=(0,i.getPreviewSize)(n,void 0!==V?V[0]:"",void 0!==W?W[0]:"",void 0!==G?G[0]:""),yt=(0,i.getPreviewSize)(n,void 0!==V?V[1]:"",void 0!==W?W[1]:"",void 0!==G?G[1]:""),kt=(0,i.getPreviewSize)(n,void 0!==V?V[2]:"",void 0!==W?W[2]:"",void 0!==G?G[2]:""),ft=(0,i.getPreviewSize)(n,void 0!==V?V[3]:"",void 0!==W?W[3]:"",void 0!==G?G[3]:""),mt=(0,i.getPreviewSize)(n,void 0!==X?.[0]?X[0]:"",void 0!==X?.[1]?X[1]:void 0,void 0!==X?.[2]?X[2]:void 0),ht=(0,i.getBorderStyle)(n,"top",A,F,N),St=(0,i.getBorderStyle)(n,"right",A,F,N),wt=(0,i.getBorderStyle)(n,"bottom",A,F,N),xt=(0,i.getBorderStyle)(n,"left",A,F,N),Ct=(0,i.getBorderColor)(n,"top",A,F,N),Tt=(0,i.getBorderColor)(n,"right",A,F,N),_t=(0,i.getBorderColor)(n,"bottom",A,F,N),Bt=(0,i.getBorderColor)(n,"left",A,F,N),Ht=[A,F,N],Ot=(0,i.getBorderStyle)(n,"top",U,L,M,Ht),Rt=(0,i.getBorderStyle)(n,"right",U,L,M,Ht),zt=(0,i.getBorderStyle)(n,"bottom",U,L,M,Ht),Et=(0,i.getBorderStyle)(n,"left",U,L,M,Ht),$t=(0,i.getBorderColor)(n,"top",U,L,M,Ht),Pt=(0,i.getBorderColor)(n,"right",U,L,M,Ht),It=(0,i.getBorderColor)(n,"bottom",U,L,M,Ht),At=(0,i.getBorderColor)(n,"left",U,L,M,Ht),Ft=(0,i.getPreviewSize)(n,void 0!==K?K[0]:"",void 0!==j?j[0]:"",void 0!==Q?Q[0]:""),Nt=(0,i.getPreviewSize)(n,void 0!==K?K[1]:"",void 0!==j?j[1]:"",void 0!==Q?Q[1]:""),Ut=(0,i.getPreviewSize)(n,void 0!==K?K[2]:"",void 0!==j?j[2]:"",void 0!==Q?Q[2]:""),Lt=(0,i.getPreviewSize)(n,void 0!==K?K[3]:"",void 0!==j?j[3]:"",void 0!==Q?Q[3]:""),Mt=(0,i.getPreviewSize)(n,void 0!==he?he[0]:"",void 0!==Se?Se[0]:"",void 0!==we?we[0]:""),Dt=(0,i.getPreviewSize)(n,void 0!==he?he[1]:"",void 0!==Se?Se[1]:"",void 0!==we?we[1]:""),Vt=(0,i.getPreviewSize)(n,void 0!==he?he[2]:"",void 0!==Se?Se[2]:"",void 0!==we?we[2]:""),Wt=(0,i.getPreviewSize)(n,void 0!==he?he[3]:"",void 0!==Se?Se[3]:"",void 0!==we?we[3]:""),Gt=(0,i.getBorderStyle)(n,"top",ve,ue,ye),qt=(0,i.getBorderStyle)(n,"right",ve,ue,ye),Kt=(0,i.getBorderStyle)(n,"bottom",ve,ue,ye),jt=(0,i.getBorderStyle)(n,"left",ve,ue,ye),Qt=[ve,ue,ye],Jt=(0,i.getBorderStyle)(n,"top",ke,fe,me,Qt),Xt=(0,i.getBorderStyle)(n,"right",ke,fe,me,Qt),Yt=(0,i.getBorderStyle)(n,"bottom",ke,fe,me,Qt),Zt=(0,i.getBorderStyle)(n,"left",ke,fe,me,Qt),eo=(0,i.getPreviewSize)(n,void 0!==Ce?Ce[0]:"",void 0!==Te?Te[0]:"",void 0!==_e?_e[0]:""),to=(0,i.getPreviewSize)(n,void 0!==Ce?Ce[1]:"",void 0!==Te?Te[1]:"",void 0!==_e?_e[1]:""),oo=(0,i.getPreviewSize)(n,void 0!==Ce?Ce[2]:"",void 0!==Te?Te[2]:"",void 0!==_e?_e[2]:""),no=(0,i.getPreviewSize)(n,void 0!==Ce?Ce[3]:"",void 0!==Te?Te[3]:"",void 0!==_e?_e[3]:""),ro=(0,i.getPreviewSize)(n,void 0!==qe?qe[0]:"",void 0!==Ke?Ke[0]:"",void 0!==je?je[0]:""),ao=(0,i.getPreviewSize)(n,void 0!==qe?qe[1]:"",void 0!==Ke?Ke[1]:"",void 0!==je?je[1]:""),io=(0,i.getPreviewSize)(n,void 0!==qe?qe[2]:"",void 0!==Ke?Ke[2]:"",void 0!==je?je[2]:""),lo=(0,i.getPreviewSize)(n,void 0!==qe?qe[3]:"",void 0!==Ke?Ke[3]:"",void 0!==je?je[3]:""),so=(0,i.getBorderStyle)(n,"top",Le,Me,De),co=(0,i.getBorderStyle)(n,"right",Le,Me,De),po=(0,i.getBorderStyle)(n,"bottom",Le,Me,De),bo=(0,i.getBorderStyle)(n,"left",Le,Me,De),go=[Le,Me,De],vo=(0,i.getBorderStyle)(n,"top",Ve,We,Ge,go),uo=(0,i.getBorderStyle)(n,"right",Ve,We,Ge,go),yo=(0,i.getBorderStyle)(n,"bottom",Ve,We,Ge,go),ko=(0,i.getBorderStyle)(n,"left",Ve,We,Ge,go),fo=(0,i.getPreviewSize)(n,void 0!==Je?Je[0]:"",void 0!==Xe?Xe[0]:"",void 0!==Ye?Ye[0]:""),mo=(0,i.getPreviewSize)(n,void 0!==Je?Je[1]:"",void 0!==Xe?Xe[1]:"",void 0!==Ye?Ye[1]:""),ho=(0,i.getPreviewSize)(n,void 0!==Je?Je[2]:"",void 0!==Xe?Xe[2]:"",void 0!==Ye?Ye[2]:""),So=(0,i.getPreviewSize)(n,void 0!==Je?Je[3]:"",void 0!==Xe?Xe[3]:"",void 0!==Ye?Ye[3]:""),wo=(0,i.typographyStyle)(D,`.editor-styles-wrapper .wp-block-kadence-advancedbtn .kb-single-btn-${l} .kt-button-${l}`,n);let xo,Co,To;xo=void 0!==_&&"gradient"===_?B:"transparent"===T||void 0===T?void 0:(0,i.KadenceColorOutput)(T),Co=void 0!==se&&"gradient"===se?ce:"transparent"===le||void 0===le?void 0:(0,i.KadenceColorOutput)(le),To=void 0!==Ie&&"gradient"===Ie?Ae:"transparent"===Pe||void 0===Pe?void 0:(0,i.KadenceColorOutput)(Pe);let _o="0",Bo="",Ho="";const Oo="gradient"===P?I:(0,i.KadenceColorOutput)($);void 0!==oe&&oe&&void 0!==ne?.[0]&&void 0!==ne?.[0].inset&&!1===ne?.[0].inset&&(Bo=(void 0!==ne?.[0].inset&&ne[0].inset?"inset ":"")+(void 0!==ne?.[0].hOffset?ne[0].hOffset:0)+"px "+(void 0!==ne?.[0].vOffset?ne[0].vOffset:0)+"px "+(void 0!==ne?.[0].blur?ne[0].blur:14)+"px "+(void 0!==ne?.[0].spread?ne[0].spread:0)+"px "+(0,i.KadenceColorOutput)(void 0!==ne?.[0].color?ne[0].color:"#000000",void 0!==ne?.[0].opacity?ne[0].opacity:1),Ho="none",_o="0"),void 0!==oe&&oe&&void 0!==ne?.[0]&&void 0!==ne?.[0].inset&&!0===ne?.[0].inset&&(Ho=(void 0!==ne?.[0].inset&&ne[0].inset?"inset ":"")+(void 0!==ne?.[0].hOffset?ne[0].hOffset:0)+"px "+(void 0!==ne?.[0].vOffset?ne[0].vOffset:0)+"px "+(void 0!==ne?.[0].blur?ne[0].blur:14)+"px "+(void 0!==ne?.[0].spread?ne[0].spread:0)+"px "+(0,i.KadenceColorOutput)(void 0!==ne?.[0].color?ne[0].color:"#000000",void 0!==ne?.[0].opacity?ne[0].opacity:1),_o=void 0!==V?V:"3",Bo="none");let Ro="0",zo="",Eo="";"gradient"===be||(0,i.KadenceColorOutput)(pe),void 0!==Re&&Re&&void 0!==ze?.[0]&&void 0!==ze?.[0].inset&&!1===ze?.[0].inset&&(zo=(void 0!==ze?.[0].inset&&ze[0].inset?"inset ":"")+(void 0!==ze?.[0].hOffset?ze[0].hOffset:0)+"px "+(void 0!==ze?.[0].vOffset?ze[0].vOffset:0)+"px "+(void 0!==ze?.[0].blur?ze[0].blur:14)+"px "+(void 0!==ze?.[0].spread?ze[0].spread:0)+"px "+(0,i.KadenceColorOutput)(void 0!==ze?.[0].color?ze[0].color:"#000000",void 0!==ze?.[0].opacity?ze[0].opacity:1),Eo="none",Ro="0"),void 0!==Re&&Re&&void 0!==ze?.[0]&&void 0!==ze?.[0].inset&&!0===ze?.[0].inset&&(Eo=(void 0!==ze?.[0].inset&&ze[0].inset?"inset ":"")+(void 0!==ze?.[0].hOffset?ze[0].hOffset:0)+"px "+(void 0!==ze?.[0].vOffset?ze[0].vOffset:0)+"px "+(void 0!==ze?.[0].blur?ze[0].blur:14)+"px "+(void 0!==ze?.[0].spread?ze[0].spread:0)+"px "+(0,i.KadenceColorOutput)(void 0!==ze?.[0].color?ze[0].color:"#000000",void 0!==ze?.[0].opacity?ze[0].opacity:1),Ro=void 0!==he?he:"3",zo="none");let $o="0",Po="",Io="";"gradient"===Ne||(0,i.KadenceColorOutput)(Fe),void 0!==ot&&ot&&void 0!==nt?.[0]&&void 0!==nt?.[0].inset&&!1===nt?.[0].inset&&(Po=(void 0!==nt?.[0].inset&&nt[0].inset?"inset ":"")+(void 0!==nt?.[0].hOffset?nt[0].hOffset:0)+"px "+(void 0!==nt?.[0].vOffset?nt[0].vOffset:0)+"px "+(void 0!==nt?.[0].blur?nt[0].blur:14)+"px "+(void 0!==nt?.[0].spread?nt[0].spread:0)+"px "+(0,i.KadenceColorOutput)(void 0!==nt?.[0].color?nt[0].color:"#000000",void 0!==nt?.[0].opacity?nt[0].opacity:1),Io="none",$o="0"),void 0!==ot&&ot&&void 0!==nt?.[0]&&void 0!==nt?.[0].inset&&!0===nt?.[0].inset&&(Io=(void 0!==nt?.[0].inset&&nt[0].inset?"inset ":"")+(void 0!==nt?.[0].hOffset?nt[0].hOffset:0)+"px "+(void 0!==nt?.[0].vOffset?nt[0].vOffset:0)+"px "+(void 0!==nt?.[0].blur?nt[0].blur:14)+"px "+(void 0!==nt?.[0].spread?nt[0].spread:0)+"px "+(0,i.KadenceColorOutput)(void 0!==nt?.[0].color?nt[0].color:"#000000",void 0!==nt?.[0].opacity?nt[0].opacity:1),$o=void 0!==qe?qe:"3",Po="none"),rt.add_raw_styles(wo),rt.set_selector(`.kb-single-btn-${l} .kt-button-${l}.kb-btn-global-outline`),ht||rt.add_property("border-top-color",rt.render_color(Ct)),St||rt.add_property("border-right-color",rt.render_color(Tt)),xt||rt.add_property("border-left-color",rt.render_color(Bt)),wt||rt.add_property("border-bottom-color",rt.render_color(_t)),rt.set_selector(`.kb-single-btn-${l} .kt-button-${l}.kb-btn-global-outline:hover`),Ot||rt.add_property("border-top-color",rt.render_color($t)),Rt||rt.add_property("border-right-color",rt.render_color(Pt)),Et||rt.add_property("border-left-color",rt.render_color(At)),zt||rt.add_property("border-bottom-color",rt.render_color(It)),rt.set_selector(`.kb-single-btn-${l} .kt-button-${l}`),ct&&rt.add_property("padding-top",(0,i.getSpacingOptionOutput)(ct,vt)),pt&&rt.add_property("padding-right",(0,i.getSpacingOptionOutput)(pt,vt)),gt&&rt.add_property("padding-left",(0,i.getSpacingOptionOutput)(gt,vt)),bt&&rt.add_property("padding-bottom",(0,i.getSpacingOptionOutput)(bt,vt)),at&&rt.add_property("margin-top",(0,i.getSpacingOptionOutput)(at,st)),it&&rt.add_property("margin-right",(0,i.getSpacingOptionOutput)(it,st)),lt&&rt.add_property("margin-left",(0,i.getSpacingOptionOutput)(lt,st)),dt&&rt.add_property("margin-bottom",(0,i.getSpacingOptionOutput)(dt,st)),ht&&rt.add_property("border-top",ht),St&&rt.add_property("border-right",St),xt&&rt.add_property("border-left",xt),wt&&rt.add_property("border-bottom",wt),""!==ut&&rt.add_property("border-top-left-radius",ut+(q||"px")),""!==yt&&rt.add_property("border-top-right-radius",yt+(q||"px")),""!==ft&&rt.add_property("border-bottom-left-radius",ft+(q||"px")),""!==kt&&rt.add_property("border-bottom-right-radius",kt+(q||"px")),rt.add_property("box-shadow",void 0!==ee&&ee&&void 0!==te&&void 0!==te[0]&&void 0!==te[0].color?(void 0!==te[0].inset&&te[0].inset?"inset ":"")+(void 0!==te[0].hOffset?te[0].hOffset:0)+"px "+(void 0!==te[0].vOffset?te[0].vOffset:0)+"px "+(void 0!==te[0].blur?te[0].blur:14)+"px "+(void 0!==te[0].spread?te[0].spread:0)+"px "+(0,i.KadenceColorOutput)(void 0!==te[0].color?te[0].color:"#000000",void 0!==te[0].opacity?te[0].opacity:1):void 0),rt.set_selector(`.kb-single-btn-${l} .kt-button-${l} .kt-button-text`),"gradient"===H?(rt.add_property("background",O),rt.add_property("-webkit-background-clip","text"),rt.add_property("-webkit-text-fill-color","transparent")):rt.add_property("color",rt.render_color(C)),rt.set_selector(`.kb-single-btn-${l} .kt-button-${l}:hover .kt-button-text`),"gradient"===R?(rt.add_property("background",z),rt.add_property("-webkit-background-clip","text"),rt.add_property("-webkit-text-fill-color","transparent")):rt.add_property("color",rt.render_color(E)),rt.set_selector(`.kb-single-btn-${l} .kt-button-${l}`),rt.add_property("background",xo),rt.add_property("width",void 0!==Z&&"fixed"===Z&&"px"===(void 0!==Y?Y:"px")&&""!==mt?mt+(void 0!==Y?Y:"px"):void 0),rt.set_selector(`.kb-single-btn-${l} .kt-button-${l}:hover`),Ot&&rt.add_property("border-top",Ot),Rt&&rt.add_property("border-right",Rt),Et&&rt.add_property("border-left",Et),zt&&rt.add_property("border-bottom",zt),""!==Ft&&rt.add_property("border-top-left-radius",Ft+(J||"px")),""!==Nt&&rt.add_property("border-top-right-radius",Nt+(J||"px")),""!==Lt&&rt.add_property("border-bottom-left-radius",Lt+(J||"px")),""!==Ut&&rt.add_property("border-bottom-right-radius",Ut+(J||"px")),rt.add_property("box-shadow",Bo),rt.add_property("color",rt.render_color(E)),"1"==d?.["kadence/headerIsTransparent"]&&(rt.set_selector(`.kb-single-btn-${l} .kt-button-${l}`),Gt&&rt.add_property("border-top",Gt),qt&&rt.add_property("border-right",qt),jt&&rt.add_property("border-left",jt),Kt&&rt.add_property("border-bottom",Kt),""!==Mt&&rt.add_property("border-top-left-radius",Mt+(xe||"px")),""!==Dt&&rt.add_property("border-top-right-radius",Dt+(xe||"px")),""!==Wt&&rt.add_property("border-bottom-left-radius",Wt+(xe||"px")),""!==Vt&&rt.add_property("border-bottom-right-radius",Vt+(xe||"px")),rt.add_property("box-shadow",void 0!==He&&He&&void 0!==Oe&&void 0!==Oe[0]&&void 0!==Oe[0].color?(void 0!==Oe[0].inset&&Oe[0].inset?"inset ":"")+(void 0!==Oe[0].hOffset?Oe[0].hOffset:0)+"px "+(void 0!==Oe[0].vOffset?Oe[0].vOffset:0)+"px "+(void 0!==Oe[0].blur?Oe[0].blur:14)+"px "+(void 0!==Oe[0].spread?Oe[0].spread:0)+"px "+(0,i.KadenceColorOutput)(void 0!==Oe[0].color?Oe[0].color:"#000000",void 0!==Oe[0].opacity?Oe[0].opacity:1):void 0),rt.add_property("color",rt.render_color(ie)),rt.add_property("background",Co),rt.set_selector(`.kb-single-btn-${l} .kt-button-${l}:hover`),Jt&&rt.add_property("border-top",Jt),Xt&&rt.add_property("border-right",Xt),Zt&&rt.add_property("border-left",Zt),Yt&&rt.add_property("border-bottom",Yt),""!==eo&&rt.add_property("border-top-left-radius",eo+(Be||"px")),""!==to&&rt.add_property("border-top-right-radius",to+(Be||"px")),""!==no&&rt.add_property("border-bottom-left-radius",no+(Be||"px")),""!==oo&&rt.add_property("border-bottom-right-radius",oo+(Be||"px")),rt.add_property("box-shadow",zo),rt.add_property("color",rt.render_color(de))),"1"==d?.["kadence/headerIsSticky"]&&(rt.set_selector(`.kb-single-btn-${l} .kt-button-${l}`),so&&rt.add_property("border-top",so),co&&rt.add_property("border-right",co),bo&&rt.add_property("border-left",bo),po&&rt.add_property("border-bottom",po),""!==ro&&rt.add_property("border-top-left-radius",ro+(Qe||"px")),""!==ao&&rt.add_property("border-top-right-radius",ao+(Qe||"px")),""!==lo&&rt.add_property("border-bottom-left-radius",lo+(Qe||"px")),""!==io&&rt.add_property("border-bottom-right-radius",io+(Qe||"px")),rt.add_property("box-shadow",void 0!==et&&et&&void 0!==tt&&void 0!==tt[0]&&void 0!==tt[0].color?(void 0!==tt[0].inset&&tt[0].inset?"inset ":"")+(void 0!==tt[0].hOffset?tt[0].hOffset:0)+"px "+(void 0!==tt[0].vOffset?tt[0].vOffset:0)+"px "+(void 0!==tt[0].blur?tt[0].blur:14)+"px "+(void 0!==tt[0].spread?tt[0].spread:0)+"px "+(0,i.KadenceColorOutput)(void 0!==tt[0].color?tt[0].color:"#000000",void 0!==tt[0].opacity?tt[0].opacity:1):void 0),rt.add_property("color",rt.render_color(Ee)),rt.add_property("background",To),rt.set_selector(`.kb-single-btn-${l} .kt-button-${l}:hover`),vo&&rt.add_property("border-top",vo),uo&&rt.add_property("border-right",uo),ko&&rt.add_property("border-left",ko),yo&&rt.add_property("border-bottom",yo),""!==fo&&rt.add_property("border-top-left-radius",fo+(Ze||"px")),""!==mo&&rt.add_property("border-top-right-radius",mo+(Ze||"px")),""!==So&&rt.add_property("border-bottom-left-radius",So+(Ze||"px")),""!==ho&&rt.add_property("border-bottom-right-radius",ho+(Ze||"px")),rt.add_property("box-shadow",Po),rt.add_property("color",rt.render_color($e))),re&&(rt.set_selector(`.kb-single-btn-${l} .kt-button-${l} .kt-btn-svg-icon`),rt.add_property("color",rt.render_color(re))),ae&&(rt.set_selector(`.kb-single-btn-${l} .kt-button-${l}:hover .kt-btn-svg-icon`),rt.add_property("color",rt.render_color(ae))),rt.set_selector(`.kb-single-btn-${l} .kt-button-${l}::before`),rt.add_property("background",Oo),rt.add_property("box-shadow",Ho),rt.add_property("border-radius",_o);const Ao=rt.css_output();return(0,a.createElement)("style",null,`${Ao}`)}(0,o(4997).registerBlockType)("kadence/singlebtn",{...n,title:(0,c.__)("Single Button","kadence-blocks"),description:(0,c.__)("Single button within a button block","kadence-blocks"),keywords:[(0,c.__)("Button","kadence-blocks"),(0,c.__)("btn","kadence-blocks"),"KB"],icon:{src:r.advancedBtnIcon},edit:function(e){const{attributes:t,setAttributes:o,isSelected:l,context:g,clientId:h,name:S}=e,{uniqueID:w,text:x,link:C,target:T,sponsored:_,download:B,noFollow:H,sizePreset:O,padding:R,tabletPadding:z,mobilePadding:E,paddingUnit:$,color:P,background:I,backgroundType:A,textBackgroundType:F,textGradient:N,textBackgroundHoverType:U,textGradientHover:L,gradient:M,colorHover:D,backgroundHover:V,backgroundHoverType:W,gradientHover:G,borderStyle:q,tabletBorderStyle:K,mobileBorderStyle:j,borderHoverStyle:Q,tabletBorderHoverStyle:J,mobileBorderHoverStyle:X,typography:Y,borderRadius:Z,tabletBorderRadius:ee,mobileBorderRadius:te,borderRadiusUnit:oe,borderHoverRadius:ne,tabletBorderHoverRadius:re,mobileBorderHoverRadius:ae,borderHoverRadiusUnit:ie,icon:de,iconSide:le,iconHover:se,width:ce,widthUnit:pe,widthType:be,displayShadow:ge,shadow:ve,displayHoverShadow:ue,shadowHover:ye,inheritStyles:ke,iconSize:fe,iconPadding:me,tabletIconPadding:he,mobileIconPadding:Se,iconPaddingUnit:we,onlyIcon:xe,onlyText:Ce,iconColor:Te,iconColorHover:_e,label:Be,marginUnit:He,margin:Oe,iconSizeUnit:Re,tabletMargin:ze,mobileMargin:Ee,kadenceAOSOptions:$e,kadenceAnimation:Pe,hideLink:Ie,iconTitle:Ae,textUnderline:Fe,inQueryBlock:Ne,kadenceDynamic:Ue,className:Le,colorTransparent:Me,colorTransparentHover:De,backgroundTransparent:Ve,backgroundTransparentType:We,gradientTransparent:Ge,backgroundTransparentHover:qe,backgroundTransparentHoverType:Ke,gradientTransparentHover:je,borderTransparentStyle:Qe,tabletBorderTransparentStyle:Je,mobileBorderTransparentStyle:Xe,borderTransparentHoverStyle:Ye,tabletBorderTransparentHoverStyle:Ze,mobileBorderTransparentHoverStyle:et,borderTransparentRadius:tt,tabletBorderTransparentRadius:ot,mobileBorderTransparentRadius:nt,borderTransparentRadiusUnit:rt,borderTransparentHoverRadius:at,tabletBorderTransparentHoverRadius:it,mobileBorderTransparentHoverRadius:dt,borderTransparentHoverRadiusUnit:lt,displayShadowTransparent:st,shadowTransparent:ct,displayHoverShadowTransparent:pt,shadowTransparentHover:bt,colorSticky:gt,colorStickyHover:vt,backgroundSticky:ut,backgroundStickyType:yt,gradientSticky:kt,backgroundStickyHover:ft,backgroundStickyHoverType:mt,gradientStickyHover:ht,borderStickyStyle:St,tabletBorderStickyStyle:wt,mobileBorderStickyStyle:xt,borderStickyHoverStyle:Ct,tabletBorderStickyHoverStyle:Tt,mobileBorderStickyHoverStyle:_t,borderStickyRadius:Bt,tabletBorderStickyRadius:Ht,mobileBorderStickyRadius:Ot,borderStickyRadiusUnit:Rt,borderStickyHoverRadius:zt,tabletBorderStickyHoverRadius:Et,mobileBorderStickyHoverRadius:$t,borderStickyHoverRadiusUnit:Pt,displayShadowSticky:It,shadowSticky:At,displayHoverShadowSticky:Ft,shadowStickyHover:Nt,tooltip:Ut,tooltipPlacement:Lt}=t;if(""!==w){const e="\x3c!-- KB:BTN:"+w+" --\x3e"+(""!==C?'<a href="'+C+'">'+x+"</a>":"<button>"+x+"</button>")+"\x3c!-- /KB:BTN:"+w+" --\x3e";(0,f.addFilter)("rank_math_content","kadence/advbtn",(t=>{const o=new RegExp("\x3c!-- KB:BTN:"+w+" --\x3e[^]*?\x3c!-- /KB:BTN:"+w+" --\x3e","g");return t.replace(o,"")+e}))}const{updateBlockAttributes:Mt}=(0,p.useDispatch)(y.store),{btnsBlock:Dt,rootID:Vt}=(0,p.useSelect)((e=>{const{getBlockRootClientId:t,getBlocksByClientId:o}=e(y.store),n=t(h),r=o(n);return{btnsBlock:void 0!==r?r:"",rootID:void 0!==n?n:""}}),[h]),Wt=(e,t)=>{Mt(Vt,{[e]:t})},{addUniqueID:Gt}=(0,p.useDispatch)("kadenceblocks/data"),{isUniqueID:qt,isUniqueBlock:Kt,previewDevice:jt,parentData:Qt}=(0,p.useSelect)((e=>({isUniqueID:t=>e("kadenceblocks/data").isUniqueID(t),isUniqueBlock:(t,o)=>e("kadenceblocks/data").isUniqueBlock(t,o),previewDevice:e("kadenceblocks/data").getPreviewDeviceType(),parentData:{rootBlock:e("core/block-editor").getBlock(e("core/block-editor").getBlockHierarchyRootClientId(h)),postId:e("core/editor")?.getCurrentPostId()?e("core/editor")?.getCurrentPostId():"",reusableParent:e("core/block-editor").getBlockAttributes(e("core/block-editor").getBlockParentsByBlockName(h,"core/block").slice(-1)[0]),editedPostId:!!e("core/edit-site")&&e("core/edit-site").getEditedPostId()}})),[h]),Jt=(0,i.mouseOverVisualizer)(),Xt=(0,i.mouseOverVisualizer)();(0,b.useEffect)((()=>{(0,i.setBlockDefaults)("kadence/singlebtn",t);const n=(0,i.getPostOrFseId)(e,Qt),r=(0,i.getUniqueId)(w,h,qt,Kt,n);r!==w?(t.uniqueID=r,o({uniqueID:r}),Gt(r,h)):Gt(w,h),o({inQueryBlock:(0,i.getInQueryBlock)(g,Ne)}),Ne||(0,f.doAction)("kadence.triggerDynamicUpdate","link","link",e)}),[]);const[Yt,Zt]=(0,b.useState)("general"),[eo,to]=(0,b.useState)(!1);(0,b.useEffect)((()=>{l||to(!1)}),[l]);const oo=e=>{const t=Y.map(((t,o)=>(0===o&&(t={...t,...e}),t)));o({typography:t})},no=e=>{const t=ve.map(((t,o)=>(0===o&&(t={...t,...e}),t)));o({shadow:t})},ro=e=>{const t=ye.map(((t,o)=>(0===o&&(t={...t,...e}),t)));o({shadowHover:t})},ao=e=>{const t=ct.map(((t,o)=>(0===o&&(t={...t,...e}),t)));o({shadowTransparent:t})},io=e=>{const t=bt.map(((t,o)=>(0===o&&(t={...t,...e}),t)));o({shadowTransparentHover:t})},lo=e=>{const t=At.map(((t,o)=>(0===o&&(t={...t,...e}),t)));o({shadowSticky:t})},so=e=>{const t=Nt.map(((t,o)=>(0===o&&(t={...t,...e}),t)));o({shadowStickyHover:t})},co=[{value:"small",label:(0,c.__)("SM","kadence-blocks")},{value:"standard",label:(0,c.__)("MD","kadence-blocks")},{value:"large",label:(0,c.__)("LG","kadence-blocks")},{value:"xlarge",label:(0,c.__)("XL","kadence-blocks")}],po=[{value:"auto",label:(0,c.__)("Auto","kadence-blocks")},{value:"fixed",label:(0,c.__)("Fixed","kadence-blocks")},{value:"full",label:(0,c.__)("Full","kadence-blocks")}],bo=[{value:"fill",label:(0,c.__)("Fill","kadence-blocks")},{value:"outline",label:(0,c.__)("Outline","kadence-blocks")},{value:"inherit",label:(0,c.__)("Theme","kadence-blocks")}],go=(0,i.getPreviewSize)(jt,void 0!==Oe?.[0]?Oe[0]:"",void 0!==ze?.[0]?ze[0]:"",void 0!==Ee?.[0]?Ee[0]:""),vo=(0,i.getPreviewSize)(jt,void 0!==Oe?.[1]?Oe[1]:"",void 0!==ze?.[1]?ze[1]:"",void 0!==Ee?.[1]?Ee[1]:""),uo=(0,i.getPreviewSize)(jt,void 0!==Oe?.[2]?Oe[2]:"",void 0!==ze?.[2]?ze[2]:"",void 0!==Ee?.[2]?Ee[2]:""),yo=(0,i.getPreviewSize)(jt,void 0!==Oe?.[3]?Oe[3]:"",void 0!==ze?.[3]?ze[3]:"",void 0!==Ee?.[3]?Ee[3]:""),ko=He||"px",fo=(0,i.getPreviewSize)(jt,void 0!==R?.[0]?R[0]:"",void 0!==z?.[0]?z[0]:"",void 0!==E?.[0]?E[0]:""),mo=(0,i.getPreviewSize)(jt,void 0!==R?.[1]?R[1]:"",void 0!==z?.[1]?z[1]:"",void 0!==E?.[1]?E[1]:""),ho=(0,i.getPreviewSize)(jt,void 0!==R?.[2]?R[2]:"",void 0!==z?.[2]?z[2]:"",void 0!==E?.[2]?E[2]:""),So=(0,i.getPreviewSize)(jt,void 0!==R?.[3]?R[3]:"",void 0!==z?.[3]?z[3]:"",void 0!==E?.[3]?E[3]:""),wo=$||"px",xo=(0,i.getPreviewSize)(jt,void 0!==fe?.[0]?fe[0]:"",void 0!==fe?.[1]?fe[1]:"",void 0!==fe?.[2]?fe[2]:""),Co=((0,i.getPreviewSize)(jt,void 0!==me?.[0]?me[0]:"",void 0!==he?.[0]?he[0]:"",void 0!==Se?.[0]?Se[0]:""),(0,i.getPreviewSize)(jt,void 0!==me?.[1]?me[1]:"",void 0!==he?.[1]?he[1]:"",void 0!==Se?.[1]?Se[1]:""),(0,i.getPreviewSize)(jt,void 0!==me?.[2]?me[2]:"",void 0!==he?.[2]?he[2]:"",void 0!==Se?.[2]?Se[2]:""),(0,i.getPreviewSize)(jt,void 0!==me?.[3]?me[3]:"",void 0!==he?.[3]?he[3]:"",void 0!==Se?.[3]?Se[3]:""),(0,i.getPreviewSize)(jt,void 0!==ce?.[0]?ce[0]:"",void 0!==ce?.[1]?ce[1]:void 0,void 0!==ce?.[2]?ce[2]:void 0)),To=(0,i.getPreviewSize)(jt,void 0!==Dt?.[0]?.attributes?.hAlign?Dt?.[0]?.attributes?.hAlign:"",void 0!==Dt?.[0]?.attributes?.thAlign?Dt?.[0]?.attributes?.thAlign:"",void 0!==Dt?.[0]?.attributes?.mhAlign?Dt?.[0]?.attributes?.mhAlign:""),_o=(0,i.getPreviewSize)(jt,void 0!==Dt?.[0]?.attributes?.vAlign?Dt?.[0]?.attributes?.vAlign:"",void 0!==Dt?.[0]?.attributes?.tvAlign?Dt?.[0]?.attributes?.tvAlign:"",void 0!==Dt?.[0]?.attributes?.mvAlign?Dt?.[0]?.attributes?.mvAlign:""),Bo=(0,i.getPreviewSize)(jt,void 0!==xe?.[0]?xe[0]:"",void 0!==xe?.[1]?xe[1]:void 0,void 0!==xe?.[2]?xe[2]:void 0),Ho=(0,i.getPreviewSize)(jt,!1,void 0!==Ce?.[0]?Ce[0]:void 0,void 0!==Ce?.[1]?Ce[1]:void 0),Oo=["hideLink","link","target","download","text","sponsor"],Ro=s()({"kt-button":!0,[`kt-button-${w}`]:!0,[`kb-btn-global-${ke}`]:ke,"wp-block-button__link":ke&&"inherit"===ke,"kb-btn-has-icon":(void 0===Ho||!Ho)&&de,["kt-btn-svg-show-"+(se?"hover":"always")]:de,"kb-btn-only-icon":Bo,"kb-btn-only-text":Ho,[`kt-btn-size-${O||"standard"}`]:!0,[`kb-btn-underline-${Fe}`]:Fe,[`${Le}`]:Le}),zo=s()({[`kb-single-btn-${w}`]:!0,[`kt-btn-width-type-${be||"auto"}`]:!0}),Eo=(0,y.useBlockProps)({className:zo,style:{width:void 0!==be&&"fixed"===be&&"%"===(void 0!==pe?pe:"px")&&""!==Co?Co+(void 0!==pe?pe:"px"):void 0}}),$o=void 0!==Ue&&void 0!==Ue.text&&void 0!==Ue.text.enable&&Ue.text.enable,Po=["core/bold","core/italic","core/strikethrough","toolset/inline-field"],Io=Ue?.text?.shouldReplace?Po:["kadence/insert-dynamic",...Po];return(0,a.createElement)("div",{...Eo},(0,a.createElement)(m,{...e,previewDevice:jt}),(0,a.createElement)(y.BlockControls,null,(0,a.createElement)(k.ToolbarGroup,null,(0,a.createElement)(y.JustifyContentControl,{value:To,onChange:e=>{"Mobile"===jt?Wt("mhAlign",e||""):"Tablet"===jt?Wt("thAlign",e||""):Wt("hAlign",e||"center")}}),(0,a.createElement)(y.BlockVerticalAlignmentControl,{value:_o,onChange:e=>{"Mobile"===jt?Wt("mvAlign",e||""):"Tablet"===jt?Wt("tvAlign",e||""):Wt("vAlign",e||"center")}})),!Ie&&(0,a.createElement)(k.ToolbarGroup,null,(0,a.createElement)(k.ToolbarButton,{name:"link",icon:v,title:(0,c.__)("Link","kadence-blocks"),shortcut:u.displayShortcut.primary("k"),onClick:function(e){e.preventDefault(),to(!0)}})),(0,a.createElement)(k.ToolbarGroup,{group:"tooltip"},(0,a.createElement)(k.Dropdown,{className:"kb-popover-inline-tooltip-container components-dropdown-menu components-toolbar",contentClassName:"kb-popover-inline-tooltip",placement:"bottom",renderToggle:({isOpen:e,onToggle:t})=>(0,a.createElement)(k.Button,{className:"components-dropdown-menu__toggle kb-inline-tooltip-toolbar-icon",label:(0,c.__)("Tooltip Settings","kadence-blocks"),icon:r.tooltip,onClick:t,"aria-expanded":e}),renderContent:()=>(0,a.createElement)(a.Fragment,null,(0,a.createElement)("div",{className:"kb-inline-tooltip-control"},(0,a.createElement)(k.TextareaControl,{label:(0,c.__)("Tooltip Content","kadence-blocks"),value:Ut,onChange:e=>o({tooltip:e})}),(0,a.createElement)(k.SelectControl,{label:(0,c.__)("Placement","kadence-blocks"),value:Lt||"top",options:[{label:(0,c.__)("Top","kadence-blocks"),value:"top"},{label:(0,c.__)("Top Start","kadence-blocks"),value:"top-start"},{label:(0,c.__)("Top End","kadence-blocks"),value:"top-end"},{label:(0,c.__)("Right","kadence-blocks"),value:"right"},{label:(0,c.__)("Right Start","kadence-blocks"),value:"right-start"},{label:(0,c.__)("Right End","kadence-blocks"),value:"right-end"},{label:(0,c.__)("Bottom","kadence-blocks"),value:"bottom"},{label:(0,c.__)("Bottom Start","kadence-blocks"),value:"bottom-start"},{label:(0,c.__)("Bottom End","kadence-blocks"),value:"bottom-end"},{label:(0,c.__)("Left","kadence-blocks"),value:"left"},{label:(0,c.__)("Left Start","kadence-blocks"),value:"left-start"},{label:(0,c.__)("Left End","kadence-blocks"),value:"left-end"},{label:(0,c.__)("Auto","kadence-blocks"),value:"auto"},{label:(0,c.__)("Auto Start","kadence-blocks"),value:"auto-start"},{label:(0,c.__)("Auto End","kadence-blocks"),value:"auto-end"}],onChange:e=>{o({tooltipPlacement:e})}})))})),(0,a.createElement)(d.CopyPasteAttributes,{attributes:t,excludedAttrs:Oo,defaultAttributes:n.attributes,blockSlug:n.name,onPaste:e=>o(e)}),Boolean(Ue?.text?.shouldReplace)&&(0,a.createElement)(d.DynamicTextControl,{dynamicAttribute:"text",...e})),!Ie&&l&&eo&&(0,a.createElement)(d.URLInputInline,{url:C,onChangeUrl:e=>{o({link:e})},additionalControls:!0,changeTargetType:!0,opensInNewTab:void 0!==T?T:"",onChangeTarget:e=>{o({target:e})},linkNoFollow:void 0!==H&&H,onChangeFollow:e=>{o({noFollow:e})},linkSponsored:void 0!==_&&_,onChangeSponsored:e=>{o({sponsored:e})},linkDownload:void 0!==B&&B,onChangeDownload:e=>{o({download:e})},dynamicAttribute:"link",allowClear:!0,isSelected:l,attributes:t,setAttributes:o,name:S,clientId:h,context:g}),(0,i.showSettings)("allSettings","kadence/advancedbtn")&&(0,a.createElement)(a.Fragment,null,(0,a.createElement)(y.InspectorControls,null,(0,a.createElement)(d.InspectorControlTabs,{panelName:"singlebtn",setActiveTab:e=>Zt(e),activeTab:Yt}),"general"===Yt&&(0,a.createElement)(a.Fragment,null,(0,a.createElement)(d.KadencePanelBody,{title:(0,c.__)("Button Settings","kadence-blocks"),initialOpen:!0,panelName:"kb-adv-single-btn"},!Ie&&(0,a.createElement)(d.URLInputControl,{label:(0,c.__)("Button Link","kadence-blocks"),url:C,onChangeUrl:e=>{o({link:e})},additionalControls:!0,changeTargetType:!0,opensInNewTab:void 0!==T?T:"",onChangeTarget:e=>{o({target:e})},linkNoFollow:void 0!==H&&H,onChangeFollow:e=>{o({noFollow:e})},linkSponsored:void 0!==_&&_,onChangeSponsored:e=>{o({sponsored:e})},linkDownload:void 0!==B&&B,onChangeDownload:e=>{o({download:e})},dynamicAttribute:"link",allowClear:!0,isSelected:l,attributes:t,setAttributes:o,name:S,clientId:h,context:g}),(0,a.createElement)(d.KadenceRadioButtons,{value:ke,options:bo,hideLabel:!1,label:(0,c.__)("Button Inherit Styles","kadence-blocks"),onChange:e=>{o({inheritStyles:e})}}),(0,i.showSettings)("sizeSettings","kadence/advancedbtn")&&(0,a.createElement)(a.Fragment,null,(0,a.createElement)(d.KadenceRadioButtons,{value:O,options:co,hideLabel:!1,label:(0,c.__)("Button Size","kadence-blocks"),onChange:e=>{o({sizePreset:e})}}),(0,a.createElement)(d.KadenceRadioButtons,{value:be,options:po,hideLabel:!1,label:(0,c.__)("Button Width","kadence-blocks"),onChange:e=>{o({widthType:e})}}),"fixed"===be&&(0,a.createElement)("div",{className:"kt-inner-sub-section"},(0,a.createElement)(d.ResponsiveRangeControls,{label:(0,c.__)("Fixed Width","kadence-blocks"),value:void 0!==ce?.[0]?ce[0]:void 0,onChange:e=>{o({width:[e,void 0!==ce?.[1]?ce[1]:"",void 0!==ce?.[2]?ce[2]:""]})},tabletValue:void 0!==ce?.[1]?ce[1]:void 0,onChangeTablet:e=>{o({width:[void 0!==ce?.[0]?ce[0]:"",e,void 0!==ce?.[2]?ce[2]:""]})},mobileValue:void 0!==ce?.[2]?ce[2]:void 0,onChangeMobile:e=>{o({width:[void 0!==ce?.[0]?ce[0]:"",void 0!==ce?.[1]?ce[1]:"",e]})},min:0,max:"px"!==(pe||"px")?100:600,step:1,unit:pe||"px",onUnit:e=>{o({widthUnit:e})},units:["px","%"]}))))),"style"===Yt&&(0,a.createElement)(a.Fragment,null,(0,i.showSettings)("colorSettings","kadence/advancedbtn")&&(0,a.createElement)(a.Fragment,null,(0,a.createElement)(d.KadencePanelBody,{title:(0,c.__)("Button Styles","kadence-blocks"),initialOpen:!0,panelName:"kb-adv-single-btn-styles"},(0,a.createElement)(d.HoverToggleControl,{hover:(0,a.createElement)(a.Fragment,null,(0,a.createElement)(d.BackgroundTypeControl,{label:(0,c.__)("Text Type Hover","kadence-blocks"),type:U||"normal",onChange:e=>o({textBackgroundHoverType:e}),allowedTypes:["normal","gradient"]}),"gradient"===U&&(0,a.createElement)(d.GradientControl,{value:L,onChange:e=>o({textGradientHover:e}),gradients:[]}),"normal"===U&&(0,a.createElement)(d.PopColorControl,{key:"btncolorhover",label:(0,c.__)("Color Hover","kadence-blocks"),value:D||"",default:"",onChange:e=>o({colorHover:e})}),(0,a.createElement)(d.BackgroundTypeControl,{label:(0,c.__)("Background Hover Type","kadence-blocks"),type:W||"normal",onChange:e=>o({backgroundHoverType:e}),allowedTypes:["normal","gradient"]}),"gradient"===W&&(0,a.createElement)(d.GradientControl,{value:G,onChange:e=>o({gradientHover:e}),gradients:[]}),"normal"===W&&(0,a.createElement)(d.PopColorControl,{key:"btnbghover",label:(0,c.__)("Background Color","kadence-blocks"),value:V||"",default:"",onChange:e=>o({backgroundHover:e})}),(0,a.createElement)(d.ResponsiveBorderControl,{label:(0,c.__)("Border","kadence-blocks"),value:Q,tabletValue:J,mobileValue:X,onChange:e=>o({borderHoverStyle:e}),onChangeTablet:e=>o({tabletBorderHoverStyle:e}),onChangeMobile:e=>o({mobileBorderHoverStyle:e})}),(0,a.createElement)(d.ResponsiveMeasurementControls,{label:(0,c.__)("Border Radius","kadence-blocks"),value:ne,tabletValue:re,mobileValue:ae,onChange:e=>o({borderHoverRadius:e}),onChangeTablet:e=>o({tabletBorderHoverRadius:e}),onChangeMobile:e=>o({mobileBorderHoverRadius:e}),unit:ie,units:["px","em","rem","%"],onUnit:e=>o({borderHoverRadiusUnit:e}),max:"em"===ie||"rem"===ie?24:500,step:"em"===ie||"rem"===ie?.1:1,min:0,isBorderRadius:!0,allowEmpty:!0}),(0,a.createElement)(d.BoxShadowControl,{label:(0,c.__)("Box Shadow","kadence-blocks"),enable:void 0!==ue&&ue,color:void 0!==ye&&void 0!==ye[0]&&void 0!==ye[0].color?ye[0].color:"#000000",colorDefault:"#000000",onArrayChange:(e,t)=>{ro({color:e,opacity:t})},opacity:void 0!==ye&&void 0!==ye[0]&&void 0!==ye[0].opacity?ye[0].opacity:.2,hOffset:void 0!==ye&&void 0!==ye[0]&&void 0!==ye[0].hOffset?ye[0].hOffset:0,vOffset:void 0!==ye&&void 0!==ye[0]&&void 0!==ye[0].vOffset?ye[0].vOffset:0,blur:void 0!==ye&&void 0!==ye[0]&&void 0!==ye[0].blur?ye[0].blur:14,spread:void 0!==ye&&void 0!==ye[0]&&void 0!==ye[0].spread?ye[0].spread:0,inset:void 0!==ye&&void 0!==ye[0]&&void 0!==ye[0].inset&&ye[0].inset,onEnableChange:e=>{o({displayHoverShadow:e})},onColorChange:e=>{ro({color:e})},onOpacityChange:e=>{ro({opacity:e})},onHOffsetChange:e=>{ro({hOffset:e})},onVOffsetChange:e=>{ro({vOffset:e})},onBlurChange:e=>{ro({blur:e})},onSpreadChange:e=>{ro({spread:e})},onInsetChange:e=>{ro({inset:e})}})),normal:(0,a.createElement)(a.Fragment,null,(0,a.createElement)(d.BackgroundTypeControl,{label:(0,c.__)("Text Type","kadence-blocks"),type:F||"normal",onChange:e=>o({textBackgroundType:e}),allowedTypes:["normal","gradient"]}),"gradient"===F&&(0,a.createElement)(d.GradientControl,{value:N,onChange:e=>o({textGradient:e}),gradients:[]}),"normal"===F&&(0,a.createElement)(d.PopColorControl,{key:"btncolor",label:(0,c.__)("Color","kadence-blocks"),value:P||"",default:"",onChange:e=>o({color:e})}),(0,a.createElement)(d.BackgroundTypeControl,{label:(0,c.__)("Background Type","kadence-blocks"),type:A||"normal",onChange:e=>o({backgroundType:e}),allowedTypes:["normal","gradient"]}),"gradient"===A&&(0,a.createElement)(d.GradientControl,{value:M,onChange:e=>o({gradient:e}),gradients:[]}),"normal"===A&&(0,a.createElement)(d.PopColorControl,{key:"btnbg",label:(0,c.__)("Background Color","kadence-blocks"),value:I||"",default:"",onChange:e=>o({background:e})}),(0,a.createElement)(d.ResponsiveBorderControl,{label:(0,c.__)("Border","kadence-blocks"),value:q,tabletValue:K,mobileValue:j,onChange:e=>o({borderStyle:e}),onChangeTablet:e=>o({tabletBorderStyle:e}),onChangeMobile:e=>o({mobileBorderStyle:e})}),(0,a.createElement)(d.ResponsiveMeasurementControls,{label:(0,c.__)("Border Radius","kadence-blocks"),value:Z,tabletValue:ee,mobileValue:te,onChange:e=>o({borderRadius:e}),onChangeTablet:e=>o({tabletBorderRadius:e}),onChangeMobile:e=>o({mobileBorderRadius:e}),unit:oe,units:["px","em","rem","%"],onUnit:e=>o({borderRadiusUnit:e}),max:"em"===oe||"rem"===oe?24:500,step:"em"===oe||"rem"===oe?.1:1,min:0,isBorderRadius:!0,allowEmpty:!0}),(0,a.createElement)(d.BoxShadowControl,{label:(0,c.__)("Box Shadow","kadence-blocks"),enable:void 0!==ge&&ge,color:void 0!==ve&&void 0!==ve[0]&&void 0!==ve[0].color?ve[0].color:"#000000",colorDefault:"#000000",onArrayChange:(e,t)=>{no({color:e,opacity:t})},opacity:void 0!==ve&&void 0!==ve[0]&&void 0!==ve[0].opacity?ve[0].opacity:.2,hOffset:void 0!==ve&&void 0!==ve[0]&&void 0!==ve[0].hOffset?ve[0].hOffset:0,vOffset:void 0!==ve&&void 0!==ve[0]&&void 0!==ve[0].vOffset?ve[0].vOffset:0,blur:void 0!==ve&&void 0!==ve[0]&&void 0!==ve[0].blur?ve[0].blur:14,spread:void 0!==ve&&void 0!==ve[0]&&void 0!==ve[0].spread?ve[0].spread:0,inset:void 0!==ve&&void 0!==ve[0]&&void 0!==ve[0].inset&&ve[0].inset,onEnableChange:e=>{o({displayShadow:e})},onColorChange:e=>{no({color:e})},onOpacityChange:e=>{no({opacity:e})},onHOffsetChange:e=>{no({hOffset:e})},onVOffsetChange:e=>{no({vOffset:e})},onBlurChange:e=>{no({blur:e})},onSpreadChange:e=>{no({spread:e})},onInsetChange:e=>{no({inset:e})}}))})),"1"==g?.["kadence/headerIsTransparent"]&&(0,a.createElement)(d.KadencePanelBody,{title:(0,c.__)("Button Transparent Styles","kadence-blocks"),initialOpen:!1,panelName:"kb-adv-single-btn-styles-transparent"},(0,a.createElement)(d.HoverToggleControl,{hover:(0,a.createElement)(a.Fragment,null,(0,a.createElement)(d.PopColorControl,{label:(0,c.__)("Color Hover","kadence-blocks"),value:De||"",default:"",onChange:e=>o({colorTransparentHover:e})}),(0,a.createElement)(d.BackgroundTypeControl,{label:(0,c.__)("Hover Type","kadence-blocks"),type:Ke||"normal",onChange:e=>o({backgroundTransparentHoverType:e}),allowedTypes:["normal","gradient"]}),"gradient"===Ke&&(0,a.createElement)(d.GradientControl,{value:je,onChange:e=>o({gradientHover:e}),gradients:[]}),"normal"===Ke&&(0,a.createElement)(d.PopColorControl,{label:(0,c.__)("Background Color","kadence-blocks"),value:qe||"",default:"",onChange:e=>o({backgroundHover:e})}),(0,a.createElement)(d.ResponsiveBorderControl,{label:(0,c.__)("Border","kadence-blocks"),value:Ye,tabletValue:Ze,mobileValue:et,onChange:e=>o({borderTransparentHoverStyle:e}),onChangeTablet:e=>o({tabletBorderTransparentHoverStyle:e}),onChangeMobile:e=>o({mobileBorderTransparentHoverStyle:e})}),(0,a.createElement)(d.ResponsiveMeasurementControls,{label:(0,c.__)("Border Radius","kadence-blocks"),value:at,tabletValue:it,mobileValue:dt,onChange:e=>o({borderTransparentHoverRadius:e}),onChangeTablet:e=>o({tabletBorderTransparentHoverRadius:e}),onChangeMobile:e=>o({mobileBorderTransparentHoverRadius:e}),unit:lt,units:["px","em","rem","%"],onUnit:e=>o({borderTransparentHoverRadiusUnit:e}),max:"em"===lt||"rem"===lt?24:500,step:"em"===lt||"rem"===lt?.1:1,min:0,isBorderRadius:!0,allowEmpty:!0}),(0,a.createElement)(d.BoxShadowControl,{label:(0,c.__)("Box Shadow","kadence-blocks"),enable:void 0!==pt&&pt,color:void 0!==bt&&void 0!==bt[0]&&void 0!==bt[0].color?bt[0].color:"#000000",colorDefault:"#000000",onArrayChange:(e,t)=>{io({color:e,opacity:t})},opacity:void 0!==bt&&void 0!==bt[0]&&void 0!==bt[0].opacity?bt[0].opacity:.2,hOffset:void 0!==bt&&void 0!==bt[0]&&void 0!==bt[0].hOffset?bt[0].hOffset:0,vOffset:void 0!==bt&&void 0!==bt[0]&&void 0!==bt[0].vOffset?bt[0].vOffset:0,blur:void 0!==bt&&void 0!==bt[0]&&void 0!==bt[0].blur?bt[0].blur:14,spread:void 0!==bt&&void 0!==bt[0]&&void 0!==bt[0].spread?bt[0].spread:0,inset:void 0!==bt&&void 0!==bt[0]&&void 0!==bt[0].inset&&bt[0].inset,onEnableChange:e=>{o({displayHoverShadowTransparent:e})},onColorChange:e=>{io({color:e})},onOpacityChange:e=>{io({opacity:e})},onHOffsetChange:e=>{io({hOffset:e})},onVOffsetChange:e=>{io({vOffset:e})},onBlurChange:e=>{io({blur:e})},onSpreadChange:e=>{io({spread:e})},onInsetChange:e=>{io({inset:e})}})),normal:(0,a.createElement)(a.Fragment,null,(0,a.createElement)(d.PopColorControl,{label:(0,c.__)("Color","kadence-blocks"),value:Me||"",default:"",onChange:e=>o({colorTransparent:e})}),(0,a.createElement)(d.BackgroundTypeControl,{label:(0,c.__)("Type","kadence-blocks"),type:We||"normal",onChange:e=>o({backgroundTransparentType:e}),allowedTypes:["normal","gradient"]}),"gradient"===We&&(0,a.createElement)(d.GradientControl,{value:Ge,onChange:e=>o({gradientTransparent:e}),gradients:[]}),"normal"===We&&(0,a.createElement)(d.PopColorControl,{label:(0,c.__)("Background Color","kadence-blocks"),value:Ve||"",default:"",onChange:e=>o({backgroundTransparent:e})}),(0,a.createElement)(d.ResponsiveBorderControl,{label:(0,c.__)("Border","kadence-blocks"),value:Qe,tabletValue:Je,mobileValue:Xe,onChange:e=>o({borderTransparentStyle:e}),onChangeTablet:e=>o({tabletBorderTransparentStyle:e}),onChangeMobile:e=>o({mobileBorderTransparentStyle:e})}),(0,a.createElement)(d.ResponsiveMeasurementControls,{label:(0,c.__)("Border Radius","kadence-blocks"),value:tt,tabletValue:ot,mobileValue:nt,onChange:e=>o({borderTransparentRadius:e}),onChangeTablet:e=>o({tabletBorderTransparentRadius:e}),onChangeMobile:e=>o({mobileBorderTransparentRadius:e}),unit:rt,units:["px","em","rem","%"],onUnit:e=>o({borderTransparentRadiusUnit:e}),max:"em"===rt||"rem"===rt?24:500,step:"em"===rt||"rem"===rt?.1:1,min:0,isBorderRadius:!0,allowEmpty:!0}),(0,a.createElement)(d.BoxShadowControl,{label:(0,c.__)("Box Shadow","kadence-blocks"),enable:void 0!==st&&st,color:void 0!==ct&&void 0!==ct[0]&&void 0!==ct[0].color?ct[0].color:"#000000",colorDefault:"#000000",onArrayChange:(e,t)=>{ao({color:e,opacity:t})},opacity:void 0!==ct&&void 0!==ct[0]&&void 0!==ct[0].opacity?ct[0].opacity:.2,hOffset:void 0!==ct&&void 0!==ct[0]&&void 0!==ct[0].hOffset?ct[0].hOffset:0,vOffset:void 0!==ct&&void 0!==ct[0]&&void 0!==ct[0].vOffset?ve[0].vOffset:0,blur:void 0!==ct&&void 0!==ct[0]&&void 0!==ct[0].blur?ct[0].blur:14,spread:void 0!==ct&&void 0!==ct[0]&&void 0!==ct[0].spread?ct[0].spread:0,inset:void 0!==ct&&void 0!==ct[0]&&void 0!==ct[0].inset&&ct[0].inset,onEnableChange:e=>{o({displayShadowTransparent:e})},onColorChange:e=>{ao({color:e})},onOpacityChange:e=>{ao({opacity:e})},onHOffsetChange:e=>{ao({hOffset:e})},onVOffsetChange:e=>{ao({vOffset:e})},onBlurChange:e=>{ao({blur:e})},onSpreadChange:e=>{ao({spread:e})},onInsetChange:e=>{ao({inset:e})}}))})),"1"==g?.["kadence/headerIsSticky"]&&(0,a.createElement)(d.KadencePanelBody,{title:(0,c.__)("Button Sticky Styles","kadence-blocks"),initialOpen:!1,panelName:"kb-adv-single-btn-styles-sticky"},(0,a.createElement)(d.HoverToggleControl,{hover:(0,a.createElement)(a.Fragment,null,(0,a.createElement)(d.PopColorControl,{label:(0,c.__)("Color Hover","kadence-blocks"),value:vt||"",default:"",onChange:e=>o({colorStickyHover:e})}),(0,a.createElement)(d.BackgroundTypeControl,{label:(0,c.__)("Hover Type","kadence-blocks"),type:mt||"normal",onChange:e=>o({backgroundStickyHoverType:e}),allowedTypes:["normal","gradient"]}),"gradient"===mt&&(0,a.createElement)(d.GradientControl,{value:ht,onChange:e=>o({gradientHover:e}),gradients:[]}),"normal"===mt&&(0,a.createElement)(d.PopColorControl,{label:(0,c.__)("Background Color","kadence-blocks"),value:ft||"",default:"",onChange:e=>o({backgroundHover:e})}),(0,a.createElement)(d.ResponsiveBorderControl,{label:(0,c.__)("Border","kadence-blocks"),value:Ct,tabletValue:Tt,mobileValue:_t,onChange:e=>o({borderStickyHoverStyle:e}),onChangeTablet:e=>o({tabletBorderStickyHoverStyle:e}),onChangeMobile:e=>o({mobileBorderStickyHoverStyle:e})}),(0,a.createElement)(d.ResponsiveMeasurementControls,{label:(0,c.__)("Border Radius","kadence-blocks"),value:zt,tabletValue:Et,mobileValue:$t,onChange:e=>o({borderStickyHoverRadius:e}),onChangeTablet:e=>o({tabletBorderStickyHoverRadius:e}),onChangeMobile:e=>o({mobileBorderStickyHoverRadius:e}),unit:Pt,units:["px","em","rem","%"],onUnit:e=>o({borderStickyHoverRadiusUnit:e}),max:"em"===Pt||"rem"===Pt?24:500,step:"em"===Pt||"rem"===Pt?.1:1,min:0,isBorderRadius:!0,allowEmpty:!0}),(0,a.createElement)(d.BoxShadowControl,{label:(0,c.__)("Box Shadow","kadence-blocks"),enable:void 0!==Ft&&Ft,color:void 0!==Nt&&void 0!==Nt[0]&&void 0!==Nt[0].color?Nt[0].color:"#000000",colorDefault:"#000000",onArrayChange:(e,t)=>{so({color:e,opacity:t})},opacity:void 0!==Nt&&void 0!==Nt[0]&&void 0!==Nt[0].opacity?Nt[0].opacity:.2,hOffset:void 0!==Nt&&void 0!==Nt[0]&&void 0!==Nt[0].hOffset?Nt[0].hOffset:0,vOffset:void 0!==Nt&&void 0!==Nt[0]&&void 0!==Nt[0].vOffset?Nt[0].vOffset:0,blur:void 0!==Nt&&void 0!==Nt[0]&&void 0!==Nt[0].blur?Nt[0].blur:14,spread:void 0!==Nt&&void 0!==Nt[0]&&void 0!==Nt[0].spread?Nt[0].spread:0,inset:void 0!==Nt&&void 0!==Nt[0]&&void 0!==Nt[0].inset&&Nt[0].inset,onEnableChange:e=>{o({displayHoverShadowSticky:e})},onColorChange:e=>{so({color:e})},onOpacityChange:e=>{so({opacity:e})},onHOffsetChange:e=>{so({hOffset:e})},onVOffsetChange:e=>{so({vOffset:e})},onBlurChange:e=>{so({blur:e})},onSpreadChange:e=>{so({spread:e})},onInsetChange:e=>{so({inset:e})}})),normal:(0,a.createElement)(a.Fragment,null,(0,a.createElement)(d.PopColorControl,{label:(0,c.__)("Color","kadence-blocks"),value:gt||"",default:"",onChange:e=>o({colorSticky:e})}),(0,a.createElement)(d.BackgroundTypeControl,{label:(0,c.__)("Type","kadence-blocks"),type:yt||"normal",onChange:e=>o({backgroundStickyType:e}),allowedTypes:["normal","gradient"]}),"gradient"===yt&&(0,a.createElement)(d.GradientControl,{value:kt,onChange:e=>o({gradientSticky:e}),gradients:[]}),"normal"===yt&&(0,a.createElement)(d.PopColorControl,{label:(0,c.__)("Background Color","kadence-blocks"),value:ut||"",default:"",onChange:e=>o({backgroundSticky:e})}),(0,a.createElement)(d.ResponsiveBorderControl,{label:(0,c.__)("Border","kadence-blocks"),value:St,tabletValue:wt,mobileValue:xt,onChange:e=>o({borderStickyStyle:e}),onChangeTablet:e=>o({tabletBorderStickyStyle:e}),onChangeMobile:e=>o({mobileBorderStickyStyle:e})}),(0,a.createElement)(d.ResponsiveMeasurementControls,{label:(0,c.__)("Border Radius","kadence-blocks"),value:Bt,tabletValue:Ht,mobileValue:Ot,onChange:e=>o({borderStickyRadius:e}),onChangeTablet:e=>o({tabletBorderStickyRadius:e}),onChangeMobile:e=>o({mobileBorderStickyRadius:e}),unit:Rt,units:["px","em","rem","%"],onUnit:e=>o({borderStickyRadiusUnit:e}),max:"em"===Rt||"rem"===Rt?24:500,step:"em"===Rt||"rem"===Rt?.1:1,min:0,isBorderRadius:!0,allowEmpty:!0}),(0,a.createElement)(d.BoxShadowControl,{label:(0,c.__)("Box Shadow","kadence-blocks"),enable:void 0!==It&&It,color:void 0!==At&&void 0!==At[0]&&void 0!==At[0].color?At[0].color:"#000000",colorDefault:"#000000",onArrayChange:(e,t)=>{lo({color:e,opacity:t})},opacity:void 0!==At&&void 0!==At[0]&&void 0!==At[0].opacity?At[0].opacity:.2,hOffset:void 0!==At&&void 0!==At[0]&&void 0!==At[0].hOffset?At[0].hOffset:0,vOffset:void 0!==At&&void 0!==At[0]&&void 0!==At[0].vOffset?ve[0].vOffset:0,blur:void 0!==At&&void 0!==At[0]&&void 0!==At[0].blur?At[0].blur:14,spread:void 0!==At&&void 0!==At[0]&&void 0!==At[0].spread?At[0].spread:0,inset:void 0!==At&&void 0!==At[0]&&void 0!==At[0].inset&&At[0].inset,onEnableChange:e=>{o({displayShadowSticky:e})},onColorChange:e=>{lo({color:e})},onOpacityChange:e=>{lo({opacity:e})},onHOffsetChange:e=>{lo({hOffset:e})},onVOffsetChange:e=>{lo({vOffset:e})},onBlurChange:e=>{lo({blur:e})},onSpreadChange:e=>{lo({spread:e})},onInsetChange:e=>{lo({inset:e})}}))}))),(0,i.showSettings)("iconSettings","kadence/advancedbtn")&&(0,a.createElement)(d.KadencePanelBody,{title:(0,c.__)("Icon Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-adv-single-btn-icons"},(0,a.createElement)("div",{className:"kt-select-icon-container"},(0,a.createElement)(d.KadenceIconPicker,{value:de,onChange:e=>{o({icon:e})},allowClear:!0})),(0,a.createElement)(d.SmallResponsiveControl,{label:(0,c.__)("Icon and Text Display","kadence-blocks"),desktopChildren:(0,a.createElement)(k.SelectControl,{value:void 0!==xe?.[0]&&xe[0]?"true":"false",options:[{value:"false",label:(0,c.__)("Show Icon and Text","kadence-blocks")},{value:"true",label:(0,c.__)("Show Only Icon","kadence-blocks")}],onChange:e=>{o({onlyIcon:["true"===e,void 0!==xe?.[1]?xe[1]:"",void 0!==xe?.[2]?xe[2]:""]})}}),tabletChildren:(0,a.createElement)(k.SelectControl,{value:void 0!==Ce?.[0]&&Ce[0]?"text":void 0!==xe?.[1]&&xe[1]?"true":void 0!==xe?.[1]&&!1===xe[1]?"false":"",options:[{value:"",label:(0,c.__)("Inherit","kadence-blocks")},{value:"false",label:(0,c.__)("Show Icon and Text","kadence-blocks")},{value:"true",label:(0,c.__)("Show Only Icon","kadence-blocks")},{value:"text",label:(0,c.__)("Show Only Text","kadence-blocks")}],onChange:e=>{if("text"!==e){let t=e;"true"===e?t=!0:"false"===e&&(t=!1),o({onlyIcon:[void 0!==xe?.[0]?xe[0]:"",t,void 0!==xe?.[2]?xe[2]:""],onlyText:[void 0===Ce?.[0]&&"",void 0!==Ce?.[1]?Ce[1]:""]})}else o({onlyText:[void 0!==Ce?.[0]||"",void 0!==Ce?.[1]?Ce[1]:""],onlyIcon:[void 0!==xe?.[0]?xe[0]:"",!1,void 0!==xe?.[2]?xe[2]:""]})}}),mobileChildren:(0,a.createElement)(k.SelectControl,{value:void 0!==Ce?.[1]&&Ce[1]?"text":void 0!==xe?.[2]&&xe[2]?"true":void 0!==xe?.[2]&&!1===xe[2]?"false":"",options:[{value:"",label:(0,c.__)("Inherit","kadence-blocks")},{value:"false",label:(0,c.__)("Show Icon and Text","kadence-blocks")},{value:"true",label:(0,c.__)("Show Only Icon","kadence-blocks")},{value:"text",label:(0,c.__)("Show Only Text","kadence-blocks")}],onChange:e=>{if("text"!==e){let t=e;"true"===e?t=!0:"false"===e&&(t=!1),o({onlyIcon:[void 0!==xe?.[0]?xe[0]:"",void 0!==xe?.[1]?xe[1]:"",t],onlyText:[void 0!==Ce?.[0]?Ce?.[0]:"",void 0===Ce?.[1]&&""]})}else o({onlyText:[void 0!==Ce?.[0]?Ce?.[0]:"",void 0!==Ce?.[1]||""],onlyIcon:[void 0!==xe?.[0]?xe[0]:"",void 0!==xe?.[1]?xe[1]:"",!1]})}})}),(0,a.createElement)(k.SelectControl,{label:(0,c.__)("Icon Location","kadence-blocks"),value:le,options:[{value:"right",label:(0,c.__)("Right","kadence-blocks")},{value:"left",label:(0,c.__)("Left","kadence-blocks")}],onChange:e=>{o({iconSide:e})}}),(0,a.createElement)(d.ResponsiveRangeControls,{label:(0,c.__)("Icon Size","kadence-blocks"),value:void 0!==fe?.[0]?fe[0]:"",onChange:e=>{o({iconSize:[e,void 0!==fe[1]?fe[1]:"",void 0!==fe?.[2]&&fe[2]?fe[2]:""]})},tabletValue:void 0!==fe?.[1]?fe[1]:"",onChangeTablet:e=>{o({iconSize:[void 0!==fe?.[0]?fe[0]:"",e,void 0!==fe?.[2]?fe[2]:""]})},mobileValue:void 0!==fe?.[2]?fe[2]:"",onChangeMobile:e=>{o({iconSize:[void 0!==fe?.[0]?fe[0]:"",void 0!==fe?.[1]?fe[1]:"",e]})},min:0,max:"px"!==(Re||"px")?12:200,step:"px"!==(Re||"px")?.1:1,unit:Re||"px",onUnit:e=>{o({iconSizeUnit:e})},units:["px","em","rem"]}),(0,a.createElement)(d.PopColorControl,{label:(0,c.__)("Icon Color","kadence-blocks"),value:Te||"",default:"",onChange:e=>{o({iconColor:e})},swatchLabel2:(0,c.__)("Hover Color","kadence-blocks"),value2:_e||"",default2:"",onChange2:e=>{o({iconColorHover:e})}}),(0,a.createElement)(d.ResponsiveMeasureRangeControl,{label:(0,c.__)("Icon Padding","kadence-blocks"),value:void 0!==me?me:["","","",""],tabletValue:void 0!==he?he:["","","",""],mobileValue:void 0!==Se?Se:["","","",""],onChange:e=>o({iconPadding:e}),onChangeTablet:e=>o({tabletIconPadding:e}),onChangeMobile:e=>o({mobileIconPadding:e}),min:"em"===we||"rem"===we?-2:-999,max:"em"===we||"rem"===we?12:999,step:"em"===we||"rem"===we?.1:1,unit:we,units:["px","em","rem"],onUnit:e=>o({iconPaddingUnit:e})}),(0,a.createElement)(k.TextControl,{label:(0,c.__)("Title for screen readers","kadence-blocks"),help:(0,c.__)("If no title added screen readers will ignore, good if the icon is purely decorative.","kadence-blocks"),value:Ae,onChange:e=>{o({iconTitle:e})}})),(0,i.showSettings)("fontSettings","kadence/advancedbtn")&&(0,a.createElement)(d.KadencePanelBody,{title:(0,c.__)("Typography Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-adv-btn-font-family"},(0,a.createElement)(d.TypographyControls,{fontGroup:"button",fontSize:Y[0].size,onFontSize:e=>oo({size:e}),fontSizeType:Y[0].sizeType,onFontSizeType:e=>oo({sizeType:e}),lineHeight:Y[0].lineHeight,onLineHeight:e=>oo({lineHeight:e}),lineHeightType:Y[0].lineType,onLineHeightType:e=>oo({lineType:e}),reLetterSpacing:Y[0].letterSpacing,onLetterSpacing:e=>oo({letterSpacing:e}),letterSpacingType:Y[0].letterType,onLetterSpacingType:e=>oo({letterType:e}),textTransform:Y[0].textTransform,onTextTransform:e=>oo({textTransform:e}),fontFamily:Y[0].family,onFontFamily:e=>oo({family:e}),onFontChange:e=>{oo({family:e.value,google:e.google})},onFontArrayChange:e=>oo(e),googleFont:Y[0].google,onGoogleFont:e=>oo({google:e}),loadGoogleFont:Y[0].loadGoogle,onLoadGoogleFont:e=>oo({loadGoogle:e}),fontVariant:Y[0].variant,onFontVariant:e=>oo({variant:e}),fontWeight:Y[0].weight,onFontWeight:e=>oo({weight:e}),fontStyle:Y[0].style,onFontStyle:e=>oo({style:e}),fontSubset:Y[0].subset,onFontSubset:e=>oo({subset:e})}),(0,a.createElement)(k.SelectControl,{label:(0,c.__)("Text Underline","kadence-blocks"),value:Fe,options:[{value:"",label:(0,c.__)("Unset","kadence-blocks")},{value:"none",label:(0,c.__)("None","kadence-blocks")},{value:"underline",label:(0,c.__)("Underline","kadence-blocks")}],onChange:e=>o({textUnderline:e})}))),"advanced"===Yt&&(0,a.createElement)(a.Fragment,null,(0,i.showSettings)("marginSettings","kadence/advancedbtn")&&(0,a.createElement)(a.Fragment,null,(0,a.createElement)(d.KadencePanelBody,{panelName:"kb-single-button-margin-settings"},(0,a.createElement)(d.ResponsiveMeasureRangeControl,{label:(0,c.__)("Padding","kadence-blocks"),value:R,onChange:e=>o({padding:e}),tabletValue:z,onChangeTablet:e=>o({tabletPadding:e}),mobileValue:E,onChangeMobile:e=>o({mobilePadding:e}),min:"em"===$||"rem"===$?-25:-999,max:"em"===$||"rem"===$?25:999,step:"em"===$||"rem"===$?.1:1,unit:$,units:["px","em","rem"],onUnit:e=>o({paddingUnit:e}),onMouseOver:Xt.onMouseOver,onMouseOut:Xt.onMouseOut}),(0,a.createElement)(d.ResponsiveMeasureRangeControl,{label:(0,c.__)("Margin","kadence-blocks"),value:Oe,onChange:e=>o({margin:e}),tabletValue:ze,onChangeTablet:e=>o({tabletMargin:e}),mobileValue:Ee,onChangeMobile:e=>o({mobileMargin:e}),min:"em"===He||"rem"===He?-25:-999,max:"em"===He||"rem"===He?25:999,step:"em"===He||"rem"===He?.1:1,unit:He,units:["px","em","rem"],onUnit:e=>o({marginUnit:e}),onMouseOver:Jt.onMouseOver,onMouseOut:Jt.onMouseOut,allowAuto:!0}),(0,a.createElement)(k.TextControl,{label:(0,c.__)("Add Aria Label","kadence-blocks"),value:Be||"",onChange:e=>o({label:e}),className:"kb-textbox-style"})),(0,a.createElement)("div",{className:"kt-sidebar-settings-spacer"})),(0,a.createElement)(d.KadenceBlockDefaults,{attributes:t,defaultAttributes:n.attributes,blockSlug:n.name,excludedAttrs:Oo}))),(0,a.createElement)(d.DynamicInlineReplaceControl,{dynamicAttribute:"text",...e})),(0,a.createElement)("div",{id:`animate-id${w}`,className:"btn-inner-wrap aos-animate kt-animation-wrap","data-aos":Pe||void 0,"data-aos-duration":$e&&$e[0]&&$e[0].duration?$e[0].duration:void 0,"data-aos-easing":$e&&$e[0]&&$e[0].easing?$e[0].easing:void 0},(0,a.createElement)(d.Tooltip,{text:Ut,placement:Lt||"top"},(0,a.createElement)("span",{className:Ro},de&&"left"===le&&(0,a.createElement)(d.IconRender,{className:`kt-btn-svg-icon kt-btn-svg-icon-${de} kt-btn-side-${le}`,name:de,size:"1em",style:{fontSize:xo?(0,i.getFontSizeOptionOutput)(xo,void 0!==Re?Re:"px"):void 0}}),!$o&&(0,a.createElement)(y.RichText,{tagName:"div",placeholder:(0,c.__)("Button…","kadence-blocks"),value:x,onChange:e=>o({text:e}),allowedFormats:(0,f.applyFilters)("kadence.whitelist_richtext_formats",Io,"kadence/advancedbtn"),className:"kt-button-text",keepPlaceholderOnFocus:!0}),$o&&(0,a.createElement)(a.Fragment,null,(0,f.applyFilters)("kadence.dynamicContent",(0,a.createElement)(k.Spinner,null),t,"text",o,g)),de&&"left"!==le&&(0,a.createElement)(d.IconRender,{className:`kt-btn-svg-icon kt-btn-svg-icon-${de} kt-btn-side-${le}`,name:de,size:"1em",style:{fontSize:xo?(0,i.getFontSizeOptionOutput)(xo,void 0!==Re?Re:"px"):void 0}}),(0,a.createElement)(d.SpacingVisualizer,{type:"inside",forceShow:Xt.isMouseOver,spacing:[(0,i.getSpacingOptionOutput)(fo,wo),(0,i.getSpacingOptionOutput)(mo,wo),(0,i.getSpacingOptionOutput)(ho,wo),(0,i.getSpacingOptionOutput)(So,wo)]}))),(0,a.createElement)(d.SpacingVisualizer,{type:"inside",forceShow:Jt.isMouseOver,spacing:[(0,i.getSpacingOptionOutput)(go,ko),(0,i.getSpacingOptionOutput)(vo,ko),(0,i.getSpacingOptionOutput)(uo,ko),(0,i.getSpacingOptionOutput)(yo,ko)]}),Y?.[0]?.google&&(0,a.createElement)(d.KadenceWebfontLoader,{typography:Y,clientId:h,id:"typography"})))},save:()=>null,example:{attributes:{text:(0,c.__)("Click Me!","kadence-blocks")}}})},2485:(e,t)=>{var o;!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var o=arguments[t];if(o){var a=typeof o;if("string"===a||"number"===a)e.push(o);else if(Array.isArray(o)){if(o.length){var i=r.apply(null,o);i&&e.push(i)}}else if("object"===a)if(o.toString===Object.prototype.toString)for(var d in o)n.call(o,d)&&o[d]&&e.push(d);else e.push(o.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(o=function(){return r}.apply(t,[]))||(e.exports=o)}()},1609:e=>{"use strict";e.exports=window.React},8468:e=>{"use strict";e.exports=window.lodash},9621:e=>{"use strict";e.exports=window.kadence.components},4510:e=>{"use strict";e.exports=window.kadence.helpers},9091:e=>{"use strict";e.exports=window.kadence.icons},4715:e=>{"use strict";e.exports=window.wp.blockEditor},4997:e=>{"use strict";e.exports=window.wp.blocks},6427:e=>{"use strict";e.exports=window.wp.components},7143:e=>{"use strict";e.exports=window.wp.data},6087:e=>{"use strict";e.exports=window.wp.element},7723:e=>{"use strict";e.exports=window.wp.i18n},5573:e=>{"use strict";e.exports=window.wp.primitives}},o={};function n(e){var r=o[e];if(void 0!==r)return r.exports;var a=o[e]={exports:{}};return t[e](a,a.exports,n),a.exports}n.m=t,e=[],n.O=(t,o,r,a)=>{if(!o){var i=1/0;for(c=0;c<e.length;c++){o=e[c][0],r=e[c][1],a=e[c][2];for(var d=!0,l=0;l<o.length;l++)(!1&a||i>=a)&&Object.keys(n.O).every((e=>n.O[e](o[l])))?o.splice(l--,1):(d=!1,a<i&&(i=a));if(d){e.splice(c--,1);var s=r();void 0!==s&&(t=s)}}return t}a=a||0;for(var c=e.length;c>0&&e[c-1][2]>a;c--)e[c]=e[c-1];e[c]=[o,r,a]},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={3506:0,7304:0,4345:0};n.O.j=t=>0===e[t];var t=(t,o)=>{var r,a,i=o[0],d=o[1],l=o[2],s=0;if(i.some((t=>0!==e[t]))){for(r in d)n.o(d,r)&&(n.m[r]=d[r]);if(l)var c=l(n)}for(t&&t(o);s<i.length;s++)a=i[s],n.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return n.O(c)},o=self.webpackChunkkadence=self.webpackChunkkadence||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})();var r=n.O(void 0,[4345],(()=>n(7571)));r=n.O(r),(this.kadence=this.kadence||{})["blocks-advancedbtn"]=r})();

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