!function(){"use strict";var e=window.wp.hooks,t=window.wp.blocks,a=window.lodash;(0,e.addFilter)("blocks.registerBlockType","kadence/animation",(function(e){return(0,t.hasBlockSupport)(e,"ktanimate")&&(e.attributes=(0,a.assign)(e.attributes,{kadenceAnimation:{type:"string"},kadenceAOSOptions:{type:"array",default:[{duration:"",offset:"",easing:"",once:"",delay:"",delayOffset:""}]}})),e})),(0,e.addFilter)("blocks.registerBlockType","kadence/formpro",(function(e,t){return"kadence/form"!==t||(e.attributes=(0,a.assign)(e.attributes,{autoEmail:{type:"array",default:[{emailTo:"",subject:"",message:"",fromEmail:"",fromName:"",replyTo:"",cc:"",bcc:"",html:!0}]},entry:{type:"array",default:[{formName:"",userIP:!0,userDevice:!0}]},sendinblue:{type:"array",default:[{list:[],map:[],doubleOptin:!1,templateId:"",redirectionUrl:""}]},mailchimp:{type:"array",default:[{list:[],groups:[],map:[],doubleOptin:!1,tags:[]}]},webhook:{type:"array",default:[{url:""}]},activecampaign:{type:"array",default:[{list:[],tags:[],map:[],doubleOptin:!1}]}})),e})),(0,e.addFilter)("blocks.registerBlockType","kadence/dynamic",(function(e,r){return(0,t.hasBlockSupport)(e,"ktdynamic")&&(e.attributes=(0,a.assign)(e.attributes,{kadenceDynamic:{type:"object"}})),e})),(0,e.addFilter)("blocks.registerBlockType","kadence/blockConditional",(function(e,r){return(0,t.hasBlockSupport)(e,"ktdynamic")&&(e.attributes=(0,a.assign)(e.attributes,{kadenceConditional:{type:"object"}})),e})),(0,e.addFilter)("blocks.registerBlockType","kadence/blockFieldConditional",(function(e,r){return(0,t.hasBlockSupport)(e,"ktfieldconditional")&&(e.attributes=(0,a.assign)(e.attributes,{kadenceFieldConditional:{type:"object"}})),e})),(0,e.addFilter)("blocks.registerBlockType","kadence/block-label",(function(e){if((0,t.hasBlockSupport)(e,"kbMetadata")&&(e.attributes=(0,a.assign)(e.attributes,{metadata:{type:"object",default:{name:""}}}),void 0===e.__experimentalLabel)){const r=(0,t.getBlockSupport)(e,"kbContentLabel");e.__experimentalLabel=(e,t)=>{let{context:i}=t;const{metadata:l}=e;return"list-view"===i&&""!==(0,a.get)(l,"name","")?l.name:void 0!==r&&""!==(0,a.get)(e,r)?(0,a.get)(e,r):void 0}}return e})),(0,e.addFilter)("blocks.registerBlockType","kadence/queryFilters",(function(e,t){if(!["kadence/query-filter","kadence/query-filter-date","kadence/query-filter-search","kadence/query-filter-checkbox","kadence/query-filter-buttons"].includes(t))return e;let r="kadence/query-filter-date"===t?"wordpress":"taxonomy";return e.attributes=(0,a.assign)(e.attributes,{source:{type:"string",default:r},fieldType:{type:"string",default:"post_field"},taxonomy:{type:"string",default:"category"},post_field:{type:"string",default:"post_type"},include:{type:"array",default:[]},exclude:{type:"array",default:[]},label:{type:"string",default:""},showLabel:{type:"boolean",default:!0},slug:{type:"string",default:""}}),e})),(0,e.addFilter)("blocks.registerBlockType","kadence/queryFilters",(function(e,t){return["kadence/query-filter","kadence/query-filter-date","kadence/query-filter-search","kadence/query-filter-checkbox","kadence/query-filter-buttons"].includes(t)?(e.attributes=(0,a.assign)(e.attributes,{color:{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"}]},borderRadius:{type:"array",default:["","","",""]},tabletBorderRadius:{type:"array",default:["","","",""]},mobileBorderRadius:{type:"array",default:["","","",""]},borderRadiusUnit:{type:"string",default:"px"},background:{type:"string",default:""},gradient:{type:"string",default:""},backgroundType:{type:"string",default:"normal"},typography:{type:"array",default:[{size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"",letterSpacing:["","",""],letterType:"px",textTransform:"",family:"",google:"",style:"",weight:"",variant:"",subset:"",loadGoogle:!0}]}}),e):e}))}();