Version Description
Release Date: October 24th, 2022 * Update: Tabs js to not use jQuery. * Update: Google Fonts. * Update: Improve performance of Row Layout background videos. Prevent preload when hidden. * Fix: Issue with variable colors in some selectors. * Fix: Issue with info box icon hover background in editor.
Download this release
Release Info
Developer | britner |
Plugin | Kadence Blocks – Gutenberg Page Builder Toolkit |
Version | 2.4.16 |
Comparing to | |
See all releases |
Code changes from version 2.4.15 to 2.4.16
- dist/build/blocks.asset.php +1 -1
- dist/build/blocks.js +2 -3
dist/build/blocks.asset.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-widgets'), 'version' => '
|
1 |
+
<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-widgets'), 'version' => 'c52daac1f0b70b2922817e12a7eabca0');
|
dist/build/blocks.js
CHANGED
@@ -29,14 +29,14 @@ Object(m.__)("Add %s","kadence-blocks"),i),onClick:()=>{e.props.onSelectTemplate
|
|
29 |
/* translators: %s is Prebuilt Name */
|
30 |
Object(m.__)("Add %s","kadence-blocks"),i),isDisabled:void 0!==r&&r&&"true"!==kadence_blocks_params.pro,onClick:()=>c?"":e.onInsertContent(o)},Object(b.createElement)("div",{className:"kt-import-btn-inner kb-scroll-over-image",style:{paddingBottom:"450px"}},Object(b.createElement)(Or.a,null,Object(b.createElement)("img",{src:n,alt:i})),Object(b.createElement)("div",{className:"demo-title"},Object(b.createElement)("h4",{dangerouslySetInnerHTML:{__html:i}})))),void 0!==r&&r&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)("span",{className:"kb-pro-template"},Object(m.__)("Pro","kadence-blocks")),c&&Object(b.createElement)("div",{className:"kt-popover-pro-notice"},Object(b.createElement)("h2",null,Object(m.__)("Kadence Blocks Pro required for this item")," "),Object(b.createElement)(U.ExternalLink,{href:"https://www.kadencewp.com/kadence-blocks/pro/?utm_source=in-app&utm_medium=kadence-blocks&utm_campaign=design-library"},Object(m.__)("Upgrade to Pro","kadence-blocks")))))}))))}}var Cr=Object(w.compose)(Object(a.withSelect)((e,t)=>{let{clientId:l}=t;const{getBlock:a}=e("core/block-editor"),{canUserUseUnfilteredHTML:i}=e("core/editor");return{block:a(l),canUserUseUnfilteredHTML:i()}}),Object(a.withDispatch)((e,t)=>{let{block:l,canUserUseUnfilteredHTML:a}=t;return{import:t=>e("core/block-editor").replaceBlocks(l.clientId,Object(gt.rawHandler)({HTML:t,mode:"BLOCKS",canUserUseUnfilteredHTML:a}))}}))(Sr);const{applyFilters:Tr}=wp.hooks;class Nr extends b.Component{constructor(){super(...arguments),this.state={view:"templates",selectedSlug:null,selectedURL:null,selectedName:null}}render(){return Object(b.createElement)(b.Fragment,null,"templates"===this.state.view&&Object(b.createElement)(wr,{clientId:this.props.clientId,reload:this.props.reload,onSelectTemplate:e=>{let{name:t,slug:l,url:a}=e;this.setState({selectedSlug:l,selectedName:t,selectedURL:a,view:"single"})},onReload:()=>this.props.onReload()}),"single"===this.state.view&&Object(b.createElement)(Cr,{clientId:this.props.clientId,selectedSlug:this.state.selectedSlug,selectedName:this.state.selectedName,selectedURL:this.state.selectedURL,reload:this.props.reload,onReload:()=>this.props.onReload(),onBack:()=>this.setState({selectedSlug:null,selectedName:null,selectedURL:null,view:"templates"})}))}}var zr=Nr,Mr=l(432);const{rawHandler:Ir}=wp.blocks,{Component:Hr,Fragment:Br}=wp.element,{apiFetch:Pr}=wp,{localStorage:Rr}=window,{Button:Ar,ButtonGroup:Lr,Tooltip:Fr,TextControl:Wr,SelectControl:Dr,ExternalLink:$r,Spinner:Ur}=wp.components,{applyFilters:Vr}=wp.hooks;var Zr=Object(w.compose)(Object(a.withSelect)((e,t)=>{let{clientId:l}=t;const{getBlock:a}=e("core/block-editor"),{canUserUseUnfilteredHTML:i}=e("core/editor");return{block:a(l),canUserUseUnfilteredHTML:i()}}),Object(a.withDispatch)((e,t)=>{let{block:l,canUserUseUnfilteredHTML:a}=t;return{import:t=>e("core/block-editor").replaceBlocks(l.clientId,Ir({HTML:t,mode:"BLOCKS",canUserUseUnfilteredHTML:a}))}}))(class extends Hr{constructor(){super(...arguments),this.saveSettings=this.saveSettings.bind(this),this.addConnection=this.addConnection.bind(this),this.state={isLoading:!0,errorConnecting:!1,cloudSettings:{},newKey:"",newURl:""}}componentDidMount(){Pr({path:"/wp/v2/settings"}).then(e=>{this.setState({isLoading:!1,cloudSettings:mr(e.kadence_blocks_cloud)})})}saveSettings(e){kadence_blocks_params.cloud_settings=JSON.stringify(e),this.setState({isSaving:!0}),Pr({path:"/wp/v2/settings",method:"POST",data:{kadence_blocks_cloud:JSON.stringify(e)}}).then(t=>{this.setState({isSaving:!1,errorConnecting:!1,isLoading:!1,newUrl:"",newKey:"",cloudSettings:e}),this.props.onReload()})}addConnection(){this.setState({isLoading:!0});var e=new FormData;e.append("action","kadence_import_get_new_connection_data"),e.append("security",kadence_blocks_params.ajax_nonce),e.append("url",this.state.newUrl?this.state.newUrl:""),e.append("key",this.state.newKey?this.state.newKey:"");var t=this;jQuery.ajax({method:"POST",url:kadence_blocks_params.ajax_url,data:e,contentType:!1,processData:!1}).done((function(e,l,a){if(e){const l=mr(e,!1);if(l){const e=t.state.cloudSettings;e.connections||(e.connections=[]);const a={};a.slug=l.slug,a.title=l.name,a.url=t.state.newUrl,a.key=t.state.newKey,a.expires=l.expires,a.refresh=l.refresh,e.connections.push(a),t.saveSettings(e)}else t.setState({errorConnecting:!0,errorNotice:e,isLoading:!1})}})).fail((function(e){console.log(e),t.setState({errorConnecting:!0,isLoading:!1})}))}render(){return Object(b.createElement)("div",{className:"kb-new-connection-content"},this.state.isLoading?Object(b.createElement)(Br,null,Object(b.createElement)(Ur,null)):Object(b.createElement)(Br,null,this.state.errorConnecting&&Object(b.createElement)("div",{className:"error"},this.state.errorNotice),this.state.cloudSettings.connections&&this.state.cloudSettings.connections[0]&&Object(b.createElement)(Br,null,this.state.cloudSettings.connections.map((e,t)=>Object(b.createElement)(Br,null,Object(b.createElement)("div",{className:"kb-connection-title"},e.title,Object(b.createElement)(Ar,{key:"connection-"+t,className:"kb-connection-remove-button",icon:Mr.a,"aria-label":Object(m.__)("Remove Connection","kadence-blocks"),onClick:()=>{const e=this.state.cloudSettings;e.connections.splice(t,1),this.setState({cloudSettings:e}),this.saveSettings(e)}}))))),Object(b.createElement)("div",{className:"kb-connection-add-new"},Object(b.createElement)(Wr,{label:Object(m.__)("Connection URL","kadence-blocks"),type:"text",value:this.state.newUrl,onChange:e=>this.setState({newUrl:e})}),Object(b.createElement)(Wr,{label:Object(m.__)("Connection Access Key","kadence-blocks"),type:"text",value:this.state.newKey,onChange:e=>this.setState({newKey:e})}),Object(b.createElement)(Ar,{className:"kb-connection-add-button",isPrimary:!0,onClick:()=>{this.addConnection()}},Object(m.__)("Add Connection","kadence-blocks"))),Object(b.createElement)("div",{className:"kb-connection-info"},Object(m.__)("Learn about connecting libraries at:","kadence-blocks")+" ",Object(b.createElement)($r,{href:"https://www.kadencewp.com/kadence-cloud/?utm_source=in-app&utm_medium=kadence-blocks&utm_campaign=design-library"},Object(m.__)("Kadence Cloud","kadence-blocks")))))}});const{localStorage:Gr}=window,{applyFilters:qr}=wp.hooks,{apiFetch:Kr}=wp;class Qr extends b.Component{constructor(){super(...arguments),this.loadTemplateData=this.loadTemplateData.bind(this),this.onInsertContent=this.onInsertContent.bind(this),this.importProcess=this.importProcess.bind(this),this.reloadTemplateData=this.reloadTemplateData.bind(this),this.state={category:"all",starting:!0,search:null,tab:"wire",items:!1,errorItems:!1,isImporting:!1,isLoading:!1,sidebar:!1,gridSize:"normal",email:kadence_blocks_params.user_email,emailError:!1,subscribedError:!1,privacy:!1,privacyError:!1,isSubscribing:!1,isSubscribed:!!kadence_blocks_params.subscribed,categories:{category:"Category"}},this.debouncedReloadTemplateData=wl()(this.reloadTemplateData.bind(this),200)}onInsertContent(e){this.importProcess(e)}saveSubscribe(){Kr({path:"/wp/v2/settings",method:"POST",data:{kadence_blocks_wire_subscribe:!0}}).then(e=>{console.log(e)})}subscribeProcess(e){this.setState({isSubscribing:!0});var t=new FormData;t.append("action","kadence_subscribe_process_data"),t.append("security",kadence_blocks_params.ajax_nonce),t.append("email",e);var l=this;jQuery.ajax({method:"POST",url:kadence_blocks_params.ajax_url,data:t,contentType:!1,processData:!1}).done((function(e,t,a){e?(console.log(e),"success"===e||'"success"'===e?(kadence_blocks_params.subscribed=!0,l.setState({isSubscribing:!1,isSubscribed:!0,emailError:!1,privacyError:!1,subscribedError:!1}),l.saveSubscribe()):"emailDomainPostError"===e||"emailDomainPreError"===e||"invalidRequest"===e||'"invalidRequest"'===e?l.setState({isSubscribing:!1,isSubscribed:!1,emailError:!0,privacyError:!1,subscribedError:!1}):l.setState({isSubscribing:!1,isSubscribed:!1,emailError:!1,privacyError:!1,subscribedError:!0})):l.setState({isSubscribing:!1,isSubscribed:!1,emailError:!1,privacyError:!1,subscribedError:!0})})).fail((function(e){console.log(e),l.setState({isSubscribing:!1,isSubscribed:!1,emailError:!1,privacyError:!1,subscribedError:!0})}))}importProcess(e){this.setState({isImporting:!0});var t=new FormData;t.append("action","kadence_import_process_data"),t.append("security",kadence_blocks_params.ajax_nonce),t.append("import_content",e);var l=this;jQuery.ajax({method:"POST",url:kadence_blocks_params.ajax_url,data:t,contentType:!1,processData:!1}).done((function(e,t,a){e&&(l.props.import(e),l.setState({isImporting:!1}))})).fail((function(e){console.log(e),l.setState({isImporting:!1})}))}reloadTemplateData(){this.setState({errorItems:!1,isLoading:!0,items:"loading"});var e=new FormData;e.append("action","kadence_import_reload_prebuilt_data"),e.append("security",kadence_blocks_params.ajax_nonce),e.append("package","wire"),e.append("url","https://wire.kadenceblocks.com/"),e.append("key","cBLUbJZZmjed");var t=this;jQuery.ajax({method:"POST",url:kadence_blocks_params.ajax_url,data:e,contentType:!1,processData:!1}).done((function(e,l,a){if(e){const l=mr(e,!1);if(l){const e={category:"Category"};Object.keys(l).map((function(t,a){l[t].categories&&"object"==typeof l[t].categories&&Object.keys(l[t].categories).map((function(a,i){e.hasOwnProperty(a)||(e[a]=l[t].categories[a])}))})),t.setState({items:l,errorItems:!1,isLoading:!1,categories:e})}else t.setState({items:"error",errorItems:!0,isLoading:!1})}})).fail((function(e){console.log(e),t.setState({items:"error",errorItems:!0,isLoading:!1})}))}loadTemplateData(){this.setState({errorItems:!1,isLoading:!0,items:"loading"});var e=new FormData;e.append("action","kadence_import_get_prebuilt_data"),e.append("security",kadence_blocks_params.ajax_nonce),e.append("package","wire"),e.append("url","https://wire.kadenceblocks.com/"),e.append("key","cBLUbJZZmjed");var t=this;jQuery.ajax({method:"POST",url:kadence_blocks_params.ajax_url,data:e,contentType:!1,processData:!1}).done((function(e,l,a){if(e){const l=mr(e,!1);if(l){const e={category:"Category"};Object.keys(l).map((function(t,a){l[t].categories&&"object"==typeof l[t].categories&&Object.keys(l[t].categories).map((function(a,i){e.hasOwnProperty(a)||(e[a]=l[t].categories[a])}))})),t.setState({items:l,errorItems:!1,isLoading:!1,categories:e})}else t.setState({items:"error",errorItems:!0,isLoading:!1})}})).fail((function(e){console.log(e),t.setState({items:"error",errorItems:!0,isLoading:!1})}))}render(){this.props.reload&&(this.props.onReload(),this.debouncedReloadTemplateData());const e=mr(Gr.getItem("kadenceBlocksPrebuilt"),!0),t=e&&e.sidebar?e.sidebar:"show",l=this.state.sidebar?this.state.sidebar:t,a=this.props.tab===this.state.tab&&this.state.items,i=this.state.categories,o=Object.keys(i).map((function(e,t){return{value:"category"===e?"all":e,label:i[e]}})),n=Object.keys(i).map((function(e,t){return{value:"category"===e?"all":e,label:"category"===e?Object(m.__)("All","kadence-blocks"):i[e]}})),r=e&&e.grid?e.grid:"normal",c=this.state.gridSize?this.state.gridSize:r,s=this;let d={default:5,1600:4,1200:3,500:2};return"large"===c&&(d={default:4,1600:3,1200:2,500:1}),"show"===l&&(d={default:4,1600:3,1200:2,500:1},"large"===c&&(d={default:3,1600:2,1200:2,500:1})),Object(b.createElement)("div",{className:"kt-prebuilt-content"+("show"===l?" kb-prebuilt-has-sidebar":"")},"show"===l&&Object(b.createElement)("div",{className:"kt-prebuilt-sidebar"},Object(b.createElement)("div",{className:"kb-library-sidebar-top"},Object(b.createElement)(U.TextControl,{type:"text",value:this.state.search,placeholder:Object(m.__)("Search","kadence-blocks"),onChange:e=>this.setState({search:e})}),Object(b.createElement)(U.Button,{className:"kb-trigger-sidebar",icon:dr.a,onClick:()=>{const e=mr(Gr.getItem("kadenceBlocksPrebuilt"),!0);e.sidebar="hide",Gr.setItem("kadenceBlocksPrebuilt",JSON.stringify(e)),this.setState({sidebar:"hide"})}})),Object(b.createElement)("div",{className:"kb-library-sidebar-bottom"},n.map((e,t)=>Object(b.createElement)(U.Button,{key:`${e.value}-${t}`,className:"kb-category-button"+(this.state.category===e.value?" is-pressed":""),"aria-pressed":this.state.category===e.value,onClick:()=>this.setState({category:e.value})},e.label)))),Object(b.createElement)("div",{className:"wrap-around-wire-library"},!this.state.isSubscribed&&Object(b.createElement)("div",{className:"kadence-wire-subscribe-wrap",style:{backgroundImage:"url("+kadence_blocks_params.wireImage+")"}},Object(b.createElement)("div",{className:"kadence-wire-subscribe"},Object(b.createElement)("h2",null,Object(m.__)("Join the Kadence WP Mailing List for Free Access to Wireframe Sections.","kadence-blocks")," "),Object(b.createElement)("p",null,Object(m.__)("Wireframe sections give you the ability to build out clean layout-focused designs within the WordPress editor. Enter your email to join our product updates email list and get instant access to our exclusive wireframe library.","kadence-blocks")),Object(b.createElement)(U.TextControl,{type:"text",label:Object(m.__)("Email:","kadence-blocks"),value:this.state.email,placeholder:Object(m.__)("example@example.com","kadence-blocks"),onChange:e=>this.setState({email:e})}),this.state.emailError&&Object(b.createElement)("span",{className:"kb-subscribe-form-error"},Object(m.__)("Invalid Email, Please enter a valid email.","kadence-blocks")),Object(b.createElement)(U.CheckboxControl,{label:Object(m.__)("Accept Privacy Policy","kadence-blocks"),help:Object(b.createElement)(b.Fragment,null,Object(m.__)("We do not spam, unsubscribe anytime.","kadence-blocks")," ",Object(b.createElement)(U.ExternalLink,{href:"https://www.kadencewp.com/privacy-policy/?utm_source=in-app&utm_medium=kadence-blocks&utm_campaign=design-library"},Object(m.__)("View Privacy Policy","kadence-blocks"))),checked:this.state.privacy,onChange:e=>this.setState({privacy:e})}),this.state.privacyError&&Object(b.createElement)("span",{className:"kb-subscribe-form-error"},Object(m.__)("Please Accept Privacy Policy","kadence-blocks")),Object(b.createElement)(U.Button,{className:"kb-subscribe-button",isPrimary:!0,onClick:()=>{this.state.privacy?this.subscribeProcess(this.state.email):this.setState({privacyError:!0})}},Object(m.__)("Subscribe for Access","kadence-blocks")),this.state.isSubscribing&&Object(b.createElement)(U.Spinner,null),this.state.subscribedError&&Object(b.createElement)("div",{className:"kb-subscribe-form-error"},Object(m.__)("Error attempting to subscribe, please reload our page and try again.","kadence-blocks")))),"show"!==l&&Object(b.createElement)("div",{className:"kt-prebuilt-header kb-library-header"},Object(b.createElement)("div",{className:"kb-library-header-left"},Object(b.createElement)(U.Button,{className:"kb-trigger-sidebar",icon:br.a,onClick:()=>{const e=mr(Gr.getItem("kadenceBlocksPrebuilt"),!0);e.sidebar="show",Gr.setItem("kadenceBlocksPrebuilt",JSON.stringify(e)),this.setState({sidebar:"show"})}}),Object(b.createElement)(U.SelectControl,{className:"kb-library-header-cat-select",value:this.state.category,options:o,onChange:e=>this.setState({category:e})})),Object(b.createElement)("div",{className:"kb-library-header-right"},Object(b.createElement)(U.Button,{icon:Object(b.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"},Object(b.createElement)("path",{d:"M8 15h7V8H8v7zm9-7v7h7V8h-7zm0 16h7v-7h-7v7zm-9 0h7v-7H8v7z"})),className:"kb-grid-btns kb-trigger-large-grid-size"+("large"===c?" is-pressed":""),"aria-pressed":"large"===c,onClick:()=>{const e=mr(Gr.getItem("kadenceBlocksPrebuilt"),!0);e.grid="large",Gr.setItem("kadenceBlocksPrebuilt",JSON.stringify(e)),this.setState({gridSize:"large"})}}),Object(b.createElement)(U.Button,{icon:Object(b.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"},Object(b.createElement)("path",{d:"M8 12h4V8H8v4zm6 0h4V8h-4v4zm6-4v4h4V8h-4zM8 18h4v-4H8v4zm6 0h4v-4h-4v4zm6 0h4v-4h-4v4zM8 24h4v-4H8v4zm6 0h4v-4h-4v4zm6 0h4v-4h-4v4z"})),className:"kb-grid-btns kb-trigger-normal-grid-size"+("normal"===c?" is-pressed":""),"aria-pressed":"normal"===c,onClick:()=>{const e=mr(Gr.getItem("kadenceBlocksPrebuilt"),!0);e.grid="normal",Gr.setItem("kadenceBlocksPrebuilt",JSON.stringify(e)),this.setState({gridSize:"normal"})}}),Object(b.createElement)(U.TextControl,{type:"text",value:this.state.search,placeholder:Object(m.__)("Search","kadence-blocks"),onChange:e=>this.setState({search:e})}))),this.state.isImporting||this.state.isLoading||!1===a||this.state.errorItems?Object(b.createElement)(b.Fragment,null,!this.state.errorItems&&this.state.isLoading&&Object(b.createElement)(U.Spinner,null),!this.state.errorItems&&this.state.isImporting&&Object(b.createElement)("div",{className:"preparing-importing-images"},Object(b.createElement)(U.Spinner,null),Object(b.createElement)("h2",null,Object(m.__)("Preparing Content...","kadence-blocks"))),this.state.errorItems&&Object(b.createElement)("div",null,Object(b.createElement)("h2",{style:{textAlign:"center"}},Object(m.__)("Error, Unable to access library database, please try re-syncing","kadence-blocks")),Object(b.createElement)("div",{style:{textAlign:"center"}},Object(b.createElement)(U.Button,{className:"kt-reload-templates",icon:nr.a,onClick:()=>this.reloadTemplateData()},Object(m.__)(" Sync with Cloud","kadence-blocks")))),!1===a&&Object(b.createElement)(b.Fragment,null,this.loadTemplateData())):Object(b.createElement)(sr.a,{breakpointCols:d,className:"kb-css-masonry kb-core-section-library",columnClassName:"kb-css-masonry_column"},Object.keys(this.state.items).map((function(e,t){const l=a[e].name,i=a[e].slug,o=a[e].content,n=a[e].image,r=a[e].imageW,c=a[e].imageH,d=a[e].categories,p=a[e].keywords,g=s.state.items[e].description,u=s.state.isSubscribed,h=i+"_kb_cloud__item-description";if(("all"===s.state.category||Object.keys(d).includes(s.state.category))&&(!s.state.search||p&&p.some(e=>e.toLowerCase().includes(s.state.search.toLowerCase()))))return Object(b.createElement)("div",{className:"kb-css-masonry-inner"},Object(b.createElement)(U.Button,{key:e,className:"kb-css-masonry-btn",isSmall:!0,"aria-label":Object(m.sprintf)(
|
31 |
/* translators: %s is Prebuilt Name */
|
32 |
-
Object(m.__)("Add %s","kadence-blocks"),l),"aria-describedby":g?h:void 0,isDisabled:!u,onClick:()=>u?s.onInsertContent(o):""},Object(b.createElement)("div",{className:"kb-css-masonry-btn-inner",style:{paddingBottom:r&&c?(v=c/r*100,2,Number(Math.round(Number(v+"e2"))+"e"+-2)+"%"):void 0}},Object(b.createElement)("img",{src:n,loading:"lazy",alt:l}),Object(b.createElement)("span",{className:"kb-import-btn-title",dangerouslySetInnerHTML:{__html:l}}))),!!g&&Object(b.createElement)(U.VisuallyHidden,{id:h},g),void 0!==u&&!u&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)("div",{className:"kb-popover-pro-notice kb-subscribe-access"},Object(b.createElement)("h2",null,Object(m.__)("Subscribe to Kadence WP Product Updates for Instant Access","kadence-blocks")," "))));var v})))))}}var Jr=Object(w.compose)(Object(a.withSelect)((e,t)=>{let{clientId:l}=t;const{getBlock:a}=e("core/block-editor"),{canUserUseUnfilteredHTML:i}=e("core/editor");return{block:a(l),canUserUseUnfilteredHTML:i()}}),Object(a.withDispatch)((e,t)=>{let{block:l,canUserUseUnfilteredHTML:a}=t;return{import:t=>e("core/block-editor").replaceBlocks(l.clientId,Object(gt.rawHandler)({HTML:t,mode:"BLOCKS",canUserUseUnfilteredHTML:a}))}}))(Qr);const{localStorage:Yr}=window,{apiFetch:Xr}=wp,ec=[{slug:"section",title:Object(m.__)("Sections","kadence-blocks"),key:"kb-sections-tab"},{slug:"templates",title:Object(m.__)("Starter Packs","kadence-blocks"),key:"kb-templates-tab"},{slug:"wire",title:"Wireframe",key:"kb-wire-tab"},{slug:"cloud",title:"",key:"kb-cloud-tab"}],tc=[{slug:"section",title:Object(m.__)("Sections","kadence-blocks"),key:"kb-sections-tab"},{slug:"templates",title:Object(m.__)("Starter Packs","kadence-blocks"),key:"kb-templates-tab"},{slug:"wire",title:"Wireframe",key:"kb-wire-tab"}];class lc extends b.Component{constructor(){super(...arguments),this.saveSettings=this.saveSettings.bind(this),this.reloadAllActions=this.reloadAllActions.bind(this),this.showSettings=this.showSettings.bind(this),this.state={reload:!1,reloadActions:!1,isSaving:!1,isFetching:!1,modalOpen:!1,onlyModal:!1,section:null,cloudSettings:kadence_blocks_params.cloud_settings?JSON.parse(kadence_blocks_params.cloud_settings):{},actions:kadence_blocks_params.cloud_enabled?ec:tc,user:kadence_blocks_params.userrole?kadence_blocks_params.userrole:"admin",librarySettings:{}}}showSettings(e){return void 0===this.state.librarySettings[e]||"all"===this.state.librarySettings[e]||"contributor"===this.state.librarySettings[e]&&("contributor"===this.state.user||"author"===this.state.user||"editor"===this.state.user||"admin"===this.state.user)||"author"===this.state.librarySettings[e]&&("author"===this.state.user||"editor"===this.state.user||"admin"===this.state.user)||"editor"===this.state.librarySettings[e]&&("editor"===this.state.user||"admin"===this.state.user)||"admin"===this.state.librarySettings[e]&&"admin"===this.state.user}componentDidMount(){this.props.open&&this.props.onlyModal&&this.setState({modalOpen:!0,onlyModal:!0}),"object"==typeof kadence_blocks_params.prebuilt_libraries&&null!==kadence_blocks_params.prebuilt_libraries?this.setState({actions:Object(ut.applyFilters)("kadence.prebuilt_library_tabs",kadence_blocks_params.prebuilt_libraries.concat(this.state.actions))}):this.setState({actions:Object(ut.applyFilters)("kadence.prebuilt_library_tabs",this.state.actions)});const e=kadence_blocks_params.configuration?mr(kadence_blocks_params.configuration,!0):{};void 0!==e["kadence/designlibrary"]&&"object"==typeof e["kadence/designlibrary"]&&this.setState({librarySettings:e["kadence/designlibrary"]})}reloadAllActions(){this.setState({isFetching:!0}),Xr({path:"/wp/v2/settings"}).then(e=>{this.setState({reloadActions:!1,isFetching:!1,cloudSettings:JSON.parse(e.kadence_blocks_cloud)})})}saveSettings(e){kadence_blocks_params.cloud_settings=JSON.stringify(e),this.setState({isSaving:!0}),Xr({path:"/wp/v2/settings",method:"POST",data:{kadence_blocks_cloud:JSON.stringify(e)}}).then(e=>{this.setState({isSaving:!1})})}render(){const e=this.state.cloudSettings,t=mr(Yr.getItem("kadenceBlocksPrebuilt"),!0),l=t&&t.activeTab?t.activeTab:"section",a=this.state.section?this.state.section:l;let i=this.state.actions;return e&&e.connections&&(i=e.connections.concat(i)),this.state.reloadActions&&!this.state.isFetching&&this.reloadAllActions(),Object(b.createElement)(b.Fragment,null,Object(b.createElement)(U.Button,{className:"kt-prebuilt",onClick:()=>this.setState({modalOpen:!0})},Object(m.__)("Design Library","kadence-blocks")),this.state.modalOpen?Object(b.createElement)(U.Modal,{className:"kt-prebuilt-modal kb-prebuilt-library-modal",title:Object(m.__)("Design Library","kadence-blocks"),onRequestClose:()=>{this.setState({modalOpen:!1}),this.state.onlyModal&&this.props.removeBlock(this.props.clientId)}},Object(b.createElement)("div",{className:"kb-prebuilt-section"},Object(b.createElement)("div",{className:"kb-prebuilt-header kb-prebuilt-library-header"},Object(b.createElement)("div",{className:"kb-prebuilt-header kb-prebuilt-library-logo"},Object(b.createElement)("span",{className:"kb-prebuilt-header-logo"},cr.kadenceCatNew),Object(b.createElement)("h2",null,Object(m.__)("Library","Kadence Blocks"))),this.state.reloadActions&&Object(b.createElement)("div",{class:"kb-prebuilt-library-actions"},Object(b.createElement)(U.Spinner,null)),!this.state.reloadActions&&Object(b.createElement)("div",{class:"kb-prebuilt-library-actions"},i.map((e,t)=>Object(b.createElement)(b.Fragment,null,"wire"!==e.slug&&this.showSettings(e.slug)&&Object(b.createElement)(U.Button,{key:`${e.slug}-${t}`,className:"kb-action-button"+(a===e.slug?" is-pressed":""),"aria-pressed":a===e.slug,icon:"cloud"===e.slug?or.a:void 0,label:"cloud"===e.slug?Object(m.__)("Cloud Connect","kadence-blocks"):void 0,onClick:()=>{const t=mr(Yr.getItem("kadenceBlocksPrebuilt"),!0);t.activeTab=e.slug,Yr.setItem("kadenceBlocksPrebuilt",JSON.stringify(t)),this.setState({section:e.slug})}},"cloud"===e.slug?void 0:Object(b.createElement)("span",null," ",e.title," ")),"wire"===e.slug&&this.showSettings("wire")&&kadence_blocks_params.showWire&&(!kadence_blocks_params.subscribed&&("editor"===this.state.user||"admin"===this.state.user)||kadence_blocks_params.subscribed)&&Object(b.createElement)(U.Button,{key:`${e.slug}-${t}`,className:"kb-action-button"+(a===e.slug?" is-pressed":""),"aria-pressed":a===e.slug,icon:"cloud"===e.slug?or.a:void 0,onClick:()=>{const t=mr(Yr.getItem("kadenceBlocksPrebuilt"),!0);t.activeTab=e.slug,Yr.setItem("kadenceBlocksPrebuilt",JSON.stringify(t)),this.setState({section:e.slug})}},"cloud"===e.slug?void 0:Object(b.createElement)("span",null," ",e.title," ",Object(b.createElement)("span",{className:"new-notice"},Object(m.__)("New","kadence-blocks"))))))),"cloud"!==a&&Object(b.createElement)("div",{class:"kb-prebuilt-library-reload"},Object(b.createElement)(U.Button,{className:"kt-reload-templates",icon:nr.a,label:Object(m.__)("Sync with Cloud","kadence-blocks"),onClick:()=>this.setState({reload:!0})})),Object(b.createElement)("div",{class:"kb-prebuilt-header-close-wrap"},Object(b.createElement)(U.Button,{className:"kb-prebuilt-header-close",icon:Qa.a,label:Object(m.__)("Close Dialog","kadence-blocks"),onClick:()=>{this.setState({modalOpen:!1}),this.state.onlyModal&&this.props.removeBlock(this.props.clientId)}}))),"templates"===a&&Object(b.createElement)(zr,{clientId:this.props.clientId,reload:this.state.reload,onReload:()=>this.setState({reload:!1})}),"section"===a&&Object(b.createElement)(hr,{clientId:this.props.clientId,tab:a,reload:this.state.reload,onReload:()=>this.setState({reload:!1})}),"wire"===a&&Object(b.createElement)(Jr,{clientId:this.props.clientId,tab:a,reload:this.state.reload,onReload:()=>this.setState({reload:!1})}),"cloud"===a&&Object(b.createElement)(Zr,{clientId:this.props.clientId,onReload:()=>this.setState({reloadActions:!0})}),"templates"!==a&&"cloud"!==a&&"section"!==a&&"wire"!==a&&Object(b.createElement)(yr,{clientId:this.props.clientId,tab:a,libraries:i,reload:this.state.reload,onReload:()=>this.setState({reload:!1})}))):null)}}var ac=Object(w.compose)(Object(a.withDispatch)(e=>{const{removeBlock:t}=e("core/block-editor");return{removeBlock:t}}))(lc);const ic=Wl()(e=>e<10?"0.0"+e:e>=100?"1":"0."+e);class oc extends b.Component{constructor(){super(...arguments),this.getPreviewSize=this.getPreviewSize.bind(this)}getPreviewSize(e,t,l,a){if("Mobile"===e){if(void 0!==a&&""!==a&&null!==a)return a;if(void 0!==l&&""!==l&&null!==l)return l}else if("Tablet"===e&&void 0!==l&&""!==l&&null!==l)return l;return t}render(){const{attributes:{uniqueID:e,columns:t,mobileLayout:l,currentTab:a,colLayout:i,tabletLayout:o,columnGutter:n,collapseGutter:r,collapseOrder:c,topPadding:s,bottomPadding:d,leftPadding:m,rightPadding:p,topPaddingM:g,bottomPaddingM:u,leftPaddingM:h,rightPaddingM:v,topMargin:k,bottomMargin:y,topMarginM:f,bottomMarginM:O,bgColor:j,bgImg:_,bgImgAttachment:w,bgImgSize:x,bgImgPosition:E,bgImgRepeat:S,bgImgID:C,verticalAlignment:T,overlayOpacity:N,overlayBgImg:z,overlayBgImgAttachment:M,overlayBgImgID:I,overlayBgImgPosition:H,overlayBgImgRepeat:B,overlayBgImgSize:P,currentOverlayTab:R,overlayBlendMode:A,overlayGradAngle:L,overlayGradLoc:F,overlayGradLocSecond:W,overlayGradType:D,overlay:$,overlaySecond:U,tabletOverlay:V,mobileOverlay:Z,overlaySecondOpacity:G,overlayFirstOpacity:q},toggleSelection:K,className:Q,setAttributes:J,clientId:Y}=this.props,X=this.getPreviewSize(this.props.getPreviewDevice,$?pa($,void 0!==q&&""!==q?q:1):void 0,void 0!==V&&V[0]&&V[0].overlay&&V[0].enable?pa(V[0].overlay):"",void 0!==Z&&Z[0]&&Z[0].overlay&&Z[0].enable?pa(Z[0].overlay):""),ee=this.getPreviewSize(this.props.getPreviewDevice,U?pa(U,void 0!==G&&""!==G?G:1):void 0,pa(void 0!==V&&V[0]&&V[0].overlaySecond&&V[0].enable?V[0].overlaySecond:""),pa(void 0!==Z&&Z[0]&&Z[0].overlaySecond&&Z[0].enable?Z[0].overlaySecond:"")),te=this.getPreviewSize(this.props.getPreviewDevice,R||"normal",void 0!==V&&V[0]&&V[0].currentOverlayTab&&V[0].enable?V[0].currentOverlayTab:"",void 0!==Z&&Z[0]&&Z[0].currentOverlayTab&&Z[0].enable?Z[0].currentOverlayTab:""),le=this.getPreviewSize(this.props.getPreviewDevice,D||"linear",void 0!==V&&V[0]&&V[0].overlayGradType&&V[0].enable?V[0].overlayGradType:"",void 0!==Z&&Z[0]&&Z[0].overlayGradType&&Z[0].enable?Z[0].overlayGradType:""),ae=this.getPreviewSize(this.props.getPreviewDevice,L||180,void 0!==V&&V[0]&&V[0].overlayGradAngle&&V[0].enable?V[0].overlayGradAngle:"",void 0!==Z&&Z[0]&&Z[0].overlayGradAngle&&Z[0].enable?Z[0].overlayGradAngle:""),ie=this.getPreviewSize(this.props.getPreviewDevice,z?`url(${z})`:void 0,void 0!==V&&V[0]&&V[0].overlayBgImg&&V[0].enable?`url(${V[0].overlayBgImg})`:"",void 0!==Z&&Z[0]&&Z[0].overlayBgImg&&Z[0].enable?`url(${Z[0].overlayBgImg})`:""),oe=this.getPreviewSize(this.props.getPreviewDevice,P||void 0,void 0!==V&&V[0]&&V[0].overlayBgImgSize&&V[0].enable?V[0].overlayBgImgSize:"",void 0!==Z&&Z[0]&&Z[0].overlayBgImgSize&&Z[0].enable?Z[0].overlayBgImgSize:""),ne=this.getPreviewSize(this.props.getPreviewDevice,H||void 0,void 0!==V&&V[0]&&V[0].overlayBgImgPosition&&V[0].enable?V[0].overlayBgImgPosition:"",void 0!==Z&&Z[0]&&Z[0].overlayBgImgPosition&&Z[0].enable?Z[0].overlayBgImgPosition:""),re=this.getPreviewSize(this.props.getPreviewDevice,B||void 0,void 0!==V&&V[0]&&V[0].overlayBgImgRepeat&&V[0].enable?V[0].overlayBgImgRepeat:"",void 0!==Z&&Z[0]&&Z[0].overlayBgImgRepeat&&Z[0].enable?Z[0].overlayBgImgRepeat:""),ce=this.getPreviewSize(this.props.getPreviewDevice,M||void 0,void 0!==V&&V[0]&&V[0].overlayBgImgAttachment&&V[0].enable?V[0].overlayBgImgAttachment:"",void 0!==Z&&Z[0]&&Z[0].overlayBgImgAttachment&&Z[0].enable?Z[0].overlayBgImgAttachment:""),se=this.getPreviewSize(this.props.getPreviewDevice,void 0!==N?N:void 0,void 0!==V&&V[0]&&""!==V[0].overlayOpacity&&V[0].enable?V[0].overlayOpacity:"",void 0!==Z&&Z[0]&&""!==Z[0].overlayOpacity&&Z[0].enable?Z[0].overlayOpacity:""),de=this.getPreviewSize(this.props.getPreviewDevice,A||void 0,void 0!==V&&V[0]&&V[0].overlayBlendMod&&V[0].enable?V[0].overlayBlendMod:"",void 0!==Z&&Z[0]&&Z[0].overlayBlendMod&&Z[0].enable?Z[0].overlayBlendMod:""),be=this.getPreviewSize(this.props.getPreviewDevice,F||0,void 0!==V&&V[0]&&V[0].overlayGradLoc&&V[0].enable?V[0].overlayGradLoc:"",void 0!==Z&&Z[0]&&Z[0].overlayGradLoc&&Z[0].enable?Z[0].overlayGradLoc:""),me=this.getPreviewSize(this.props.getPreviewDevice,void 0!==W?W:100,void 0!==V&&V[0]&&V[0].overlayGradLocSecond&&V[0].enable?V[0].overlayGradLocSecond:"",void 0!==Z&&Z[0]&&Z[0].overlayGradLocSecond&&Z[0].enable?Z[0].overlayGradLocSecond:"");return Object(b.createElement)(b.Fragment,null,(!te||"grad"!==te)&&Object(b.createElement)("div",{className:"kt-row-layout-overlay kt-row-overlay-normal"+(ie&&"parallax"===ce?" kt-jarallax":""),"data-bg-img-id":I,style:{backgroundColor:X||void 0,backgroundImage:ie||void 0,backgroundSize:oe||void 0,backgroundPosition:ne||void 0,backgroundRepeat:re||void 0,backgroundAttachment:"parallax"===ce?"fixed":ce,mixBlendMode:de||void 0,opacity:void 0!==se&&Number.isInteger(se)?ic(se):void 0}}),te&&"grad"===te&&Object(b.createElement)("div",{className:"kt-row-layout-overlay kt-row-overlay-gradient","data-bg-img-id":I,style:{backgroundImage:"radial"===le?`radial-gradient(at ${ne}, ${X||""} ${be}%, ${ee||""} ${me}%)`:`linear-gradient(${ae}deg, ${X||""} ${be}%, ${ee||""} ${me}%)`,mixBlendMode:de||void 0,opacity:void 0!==se&&Number.isInteger(se)?ic(se):void 0}}))}}var nc=Object(w.compose)([Object(a.withSelect)((e,t)=>({getPreviewDevice:e("kadenceblocks/data").getPreviewDeviceType()}))])(oc),rc=l(35),cc=l.n(rc);class sc extends b.Component{constructor(){super(...arguments),this.getPreviewSize=this.getPreviewSize.bind(this)}getPreviewSize(e,t,l,a){if("Mobile"===e){if(void 0!==a&&""!==a&&null!==a)return a;if(void 0!==l&&""!==l&&null!==l)return l}else if("Tablet"===e&&void 0!==l&&""!==l&&null!==l)return l;return t}render(){const{attributes:{uniqueID:e,columns:t,mobileLayout:l,currentTab:a,colLayout:i,tabletLayout:o,columnGutter:n,collapseGutter:r,collapseOrder:c,topPadding:s,bottomPadding:d,leftPadding:m,rightPadding:p,topPaddingM:g,bottomPaddingM:u,leftPaddingM:h,rightPaddingM:v,topMargin:k,bottomMargin:y,topMarginM:f,bottomMarginM:O,bgColor:j,bgImg:_,bgImgAttachment:w,bgImgSize:x,bgImgPosition:E,bgImgRepeat:S,bgImgID:C,verticalAlignment:T,overlayOpacity:N,overlayBgImg:z,overlayBgImgAttachment:M,overlayBgImgID:I,overlayBgImgPosition:H,overlayBgImgRepeat:B,overlayBgImgSize:P,currentOverlayTab:R,overlayBlendMode:A,overlayGradAngle:L,overlayGradLoc:F,overlayGradLocSecond:W,overlayGradType:D,overlay:$,overlaySecond:V,htmlTag:Z,minHeight:G,maxWidth:q,bottomSep:K,bottomSepColor:Q,bottomSepHeight:J,bottomSepHeightMobile:Y,bottomSepHeightTab:X,bottomSepWidth:ee,bottomSepWidthMobile:te,bottomSepWidthTab:le,topSep:ae,topSepColor:ie,topSepHeight:oe,topSepHeightMobile:ne,topSepHeightTab:re,topSepWidth:ce,topSepWidthMobile:se,topSepWidthTab:de,firstColumnWidth:be,secondColumnWidth:me,textColor:pe,linkColor:ge,linkHoverColor:ue,tabletPadding:he,topMarginT:ve,bottomMarginT:ke,minHeightUnit:ye,maxWidthUnit:fe,marginUnit:Oe,columnsUnlocked:je,tabletBackground:_e,tabletOverlay:we,mobileBackground:xe,mobileOverlay:Ee,columnsInnerHeight:Se,zIndex:Ce,backgroundInline:Te,backgroundSettingTab:Ne,backgroundSliderCount:ze,backgroundSlider:Me,inheritMaxWidth:Ie,backgroundSliderSettings:He,backgroundVideo:Be,backgroundVideoType:Pe,overlaySecondOpacity:Re,overlayFirstOpacity:Ae,paddingUnit:Le,align:Fe,minHeightTablet:We,minHeightMobile:De,bgColorClass:$e,vsdesk:Ue,vstablet:Ve,vsmobile:Ze,loggedInUser:Ge,loggedIn:qe,loggedOut:Qe,loggedInShow:Je,borderWidth:Ye,tabletBorderWidth:Xe,mobileBorderWidth:et,borderRadius:tt,tabletBorderRadius:lt,mobileBorderRadius:at,border:it,tabletBorder:ot,mobileBorder:nt},toggleSelection:rt,className:ct,setAttributes:st,clientId:dt}=this.props,bt=this.getPreviewSize(this.props.getPreviewDevice,void 0!==k?k:"",void 0!==ve?ve:"",void 0!==f?f:""),mt=this.getPreviewSize(this.props.getPreviewDevice,void 0!==y?y:"",void 0!==ke?ke:"",void 0!==O?O:""),pt=this.getPreviewSize(this.props.getPreviewDevice,void 0!==j?j:"",void 0!==_e&&_e[0]&&_e[0].bgColor&&_e[0].enable?_e[0].bgColor:"",void 0!==xe&&xe[0]&&xe[0].bgColor&&xe[0].enable?xe[0].bgColor:""),gt=this.getPreviewSize(this.props.getPreviewDevice,void 0!==Ye?Ye[0]:"",void 0!==Xe?Xe[0]:"",void 0!==et?et[0]:""),ut=this.getPreviewSize(this.props.getPreviewDevice,void 0!==Ye?Ye[1]:"",void 0!==Xe?Xe[1]:"",void 0!==et?et[1]:""),ht=this.getPreviewSize(this.props.getPreviewDevice,void 0!==Ye?Ye[2]:"",void 0!==Xe?Xe[2]:"",void 0!==et?et[2]:""),vt=this.getPreviewSize(this.props.getPreviewDevice,void 0!==Ye?Ye[3]:"",void 0!==Xe?Xe[3]:"",void 0!==et?et[3]:""),kt=this.getPreviewSize(this.props.getPreviewDevice,void 0!==tt?tt[0]:"",void 0!==lt?lt[0]:"",void 0!==at?at[0]:""),yt=this.getPreviewSize(this.props.getPreviewDevice,void 0!==tt?tt[1]:"",void 0!==lt?lt[1]:"",void 0!==at?at[1]:""),ft=this.getPreviewSize(this.props.getPreviewDevice,void 0!==tt?tt[2]:"",void 0!==lt?lt[2]:"",void 0!==at?at[2]:""),Ot=this.getPreviewSize(this.props.getPreviewDevice,void 0!==tt?tt[3]:"",void 0!==lt?lt[3]:"",void 0!==at?at[3]:""),jt=this.getPreviewSize(this.props.getPreviewDevice,void 0!==it?it:"",void 0!==ot?ot:"",void 0!==nt?nt:"");let _t=this.getPreviewSize(this.props.getPreviewDevice,_?`url(${_})`:void 0,void 0!==_e&&_e[0]&&_e[0].bgImg&&_e[0].enable?`url(${_e[0].bgImg})`:"",void 0!==xe&&xe[0]&&xe[0].bgImg&&xe[0].enable?`url(${xe[0].bgImg})`:"");_t=this.getPreviewSize(this.props.getPreviewDevice,_t,void 0!==_e&&_e[0]&&_e[0].forceOverDesk&&_e[0].enable?"none":_t,void 0!==xe&&xe[0]&&xe[0].forceOverDesk&&xe[0].enable?"none":_t),"none"===_t&&(_t=void 0);const wt=this.getPreviewSize(this.props.getPreviewDevice,x||void 0,void 0!==_e&&_e[0]&&_e[0].bgImgSize&&_e[0].enable?_e[0].bgImgSize:"",void 0!==xe&&xe[0]&&xe[0].bgImgSize&&xe[0].enable?xe[0].bgImgSize:""),xt=this.getPreviewSize(this.props.getPreviewDevice,E||void 0,void 0!==_e&&_e[0]&&_e[0].bgImgPosition&&_e[0].enable?_e[0].bgImgPosition:"",void 0!==xe&&xe[0]&&xe[0].bgImgPosition&&xe[0].enable?xe[0].bgImgPosition:""),Et=this.getPreviewSize(this.props.getPreviewDevice,S||void 0,void 0!==_e&&_e[0]&&_e[0].bgImgRepeat&&_e[0].enable?_e[0].bgImgRepeat:"",void 0!==xe&&xe[0]&&xe[0].bgImgRepeat&&xe[0].enable?xe[0].bgImgRepeat:""),St=this.getPreviewSize(this.props.getPreviewDevice,w||void 0,void 0!==_e&&_e[0]&&_e[0].bgImgAttachment&&_e[0].enable?_e[0].bgImgAttachment:"",void 0!==xe&&xe[0]&&xe[0].bgImgAttachment&&xe[0].enable?xe[0].bgImgAttachment:""),Ct=this.getPreviewSize(this.props.getPreviewDevice,Ne||"normal",void 0!==_e&&_e[0]&&_e[0].enable?"normal":"",void 0!==xe&&xe[0]&&xe[0].enable?"normal":""),Tt={dots:!He||!He[0]||"none"!==He[0].dotStyle,arrows:!(!He||!He[0]||"none"===He[0].arrowStyle),infinite:!0,fade:!He||!He[0]||void 0===He[0].fade||He[0].fade,speed:He&&He[0]&&void 0!==He[0].tranSpeed?He[0].tranSpeed:400,draggable:!1,autoplaySpeed:He&&He[0]&&void 0!==He[0].speed?He[0].speed:7e3,autoplay:!He||!He[0]||void 0===He[0].autoPlay||He[0].autoPlay,slidesToShow:1,slidesToScroll:1,nextArrow:Object(b.createElement)((function(e){const{className:t,style:l,onClick:a}=e;return Object(b.createElement)("button",{className:t,style:{...l,display:"block"},onClick:a},Object(b.createElement)(U.Dashicon,{icon:"arrow-right-alt2"}))}),null),prevArrow:Object(b.createElement)((function(e){const{className:t,style:l,onClick:a}=e;return Object(b.createElement)("button",{className:t,style:{...l,display:"block"},onClick:a},Object(b.createElement)(U.Dashicon,{icon:"arrow-left-alt2"}))}),null)},Nt=e=>Object(b.createElement)("div",{className:"kb-bg-slide-contain"},Object(b.createElement)("div",{className:"kb-bg-slide kb-bg-slide-"+e,style:{backgroundColor:void 0!==Me&&void 0!==Me[e]&&void 0!==Me[e].bgColor?pa(Me[e].bgColor):void 0,backgroundImage:void 0!==Me&&void 0!==Me[e]&&void 0!==Me[e].bgImg?'url("'+Me[e].bgImg+'")':void 0,backgroundSize:x,backgroundPosition:E,backgroundRepeat:S}}));return Object(b.createElement)("div",{className:this.props.backgroundClasses,style:{marginBottom:mt+Oe,marginTop:bt+Oe,borderColor:jt?pa(jt):void 0,borderTopWidth:gt?gt+"px":void 0,borderRightWidth:ut?ut+"px":void 0,borderBottomWidth:ht?ht+"px":void 0,borderLeftWidth:vt?vt+"px":void 0,borderTopLeftRadius:kt?kt+"px":void 0,borderTopRightRadius:yt?yt+"px":void 0,borderBottomRightRadius:ft?ft+"px":void 0,borderBottomLeftRadius:Ot?Ot+"px":void 0,minHeight:G+ye,zIndex:Ce||void 0}},"slider"!==Ct&&"video"!==Ct&&Object(b.createElement)("div",{className:"kt-row-layout-background"+(_t&&"parallax"===St?" kt-jarallax":""),"data-bg-img-id":C,style:{backgroundColor:pt?pa(pt):void 0,backgroundImage:_t||void 0,backgroundSize:wt||void 0,backgroundPosition:xt||void 0,backgroundRepeat:Et||void 0}}),"slider"===Ct&&Object(b.createElement)("div",{className:"kt-blocks-carousel kb-blocks-bg-slider kt-carousel-container-dotstyle-"+(He&&He[0]&&void 0!==He[0].dotStyle?He[0].dotStyle:"dark")},1!==ze&&Object(b.createElement)(cc.a,Ke()({className:`kt-carousel-arrowstyle-${He&&He[0]&&void 0!==He[0].arrowStyle?He[0].arrowStyle:"none"} kt-carousel-dotstyle-${He&&He[0]&&void 0!==He[0].dotStyle?He[0].dotStyle:"dark"}`},Tt),io()(ze,e=>Nt(e))),1===(void 0!==ze?ze:1)&&io()(void 0!==ze?ze:1,e=>Nt(e))),"video"===Ct&&Object(b.createElement)("div",{className:"kb-blocks-bg-video-container",style:{backgroundColor:pt?pa(pt):void 0}},(void 0===Pe||"local"===Pe)&&Object(b.createElement)("video",{className:"kb-blocks-bg-video",playsinline:"",loop:"",src:void 0!==Be&&void 0!==Be[0]&&void 0!==Be[0].local?Be[0].local:void 0}),"youtube"===Pe&&Object(b.createElement)("div",{className:"kb-blocks-bg-video",style:{backgroundImage:`url(https://img.youtube.com/vi/${Be[0].youtube}/maxresdefault.jpg)`}})),this.props.children)}}var dc=Object(w.compose)([Object(a.withSelect)((e,t)=>({getPreviewDevice:e("kadenceblocks/data").getPreviewDeviceType()}))])(sc);const{Path:bc,SVG:mc}=wp.components;function pc(e){let{value:t,isPressed:l=!1}=e;const a={top:"M19.5 19.5H.5V.5h19v19zM1.607 18.392h16.786V1.608H1.607v16.784zM17.178 2.888H2.822v3.275h14.356V2.888z",middle:"M19.5 19.482H.5V.5h19v18.982zM1.607 18.375h16.786V1.607H1.607v16.768zm15.571-10.02H2.822v3.272h14.356V8.355z",bottom:"M19.518 19.5H.5V.5h19.018v19zm-17.91-1.108H18.41V1.608H1.608v16.784zm15.586-4.739H2.824v3.275h14.37v-3.275z"};return a.hasOwnProperty(t)?Object(b.createElement)(mc,{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",isPressed:l},Object(b.createElement)(bc,{d:a[t]})):null}const{Path:gc,SVG:uc}=wp.components;function hc(e){let{value:t,isPressed:l=!1}=e;const a={normal:"M19.5 19.482H.5V.5h19v18.982zM1.607 18.375h16.786V1.607H1.607v16.768zm12.247-9.23l-1.599-1.599 1.269-1.231 3.655 3.693-3.655 3.692-1.269-1.23 1.614-1.615H6.15l1.614 1.615-1.268 1.23-3.655-3.692 3.655-3.693 1.268 1.231-1.598 1.599h7.688z",theme:"M19.5 19.482H.5V.5h19v18.982zM1.607 18.375h16.786V1.607H1.607v16.768zm13.838-9.23H4.557V6.756H2.846v6.488h1.711v-2.389h10.888v2.389h1.711V6.756h-1.711v2.389z"};return a.hasOwnProperty(t)?Object(b.createElement)(uc,{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",isPressed:l},Object(b.createElement)(gc,{d:a[t]})):null}const vc=Wl()(e=>io()(e,e=>["kadence/column",{id:e+1}])),kc=["kadence/column"],yc=[];class fc extends b.Component{constructor(){super(...arguments),this.showSettings=this.showSettings.bind(this),this.saveSlideItem=this.saveSlideItem.bind(this),this.getPreviewSize=this.getPreviewSize.bind(this),this.getDynamic=this.getDynamic.bind(this),this.state={firstWidth:null,secondWidth:null,showPreset:!1,contentWidthPop:!1,borderWidthControl:"individual",borderRadiusControl:"individual",user:kadence_blocks_params.userrole?kadence_blocks_params.userrole:"admin",settings:{}},this.debouncedUpdateDynamic=wl()(this.getDynamic.bind(this),200)}componentDidMount(){if(this.props.attributes.uniqueID)yc.includes(this.props.attributes.uniqueID)?(this.props.attributes.uniqueID="_"+this.props.clientId.substr(2,9),yc.push("_"+this.props.clientId.substr(2,9))):yc.push(this.props.attributes.uniqueID);else{const e=kadence_blocks_params.config["kadence/rowlayout"],t=kadence_blocks_params.configuration?JSON.parse(kadence_blocks_params.configuration):[];void 0!==this.props.attributes.noCustomDefaults&&this.props.attributes.noCustomDefaults||(void 0!==t["kadence/rowlayout"]&&"object"==typeof t["kadence/rowlayout"]?Object.keys(t["kadence/rowlayout"]).map(e=>{this.props.attributes[e]=t["kadence/rowlayout"][e]}):void 0!==e&&"object"==typeof e&&Object.keys(e).map(t=>{this.props.attributes[t]=e[t]})),this.props.setAttributes({uniqueID:"_"+this.props.clientId.substr(2,9)}),yc.push("_"+this.props.clientId.substr(2,9))}const e=kadence_blocks_params.settings?JSON.parse(kadence_blocks_params.settings):{};void 0!==e["kadence/rowlayout"]&&"object"==typeof e["kadence/rowlayout"]&&this.setState({settings:e["kadence/rowlayout"]}),this.props.attributes.borderRadius&&this.props.attributes.borderRadius[0]===this.props.attributes.borderRadius[1]&&this.props.attributes.borderRadius[0]===this.props.attributes.borderRadius[2]&&this.props.attributes.borderRadius[0]===this.props.attributes.borderRadius[3]?this.setState({borderRadiusControl:"linked"}):this.setState({borderRadiusControl:"individual"}),this.props.context&&(this.props.context.queryId||Number.isFinite(this.props.context.queryId))&&this.props.context.postId?this.props.attributes.inQueryBlock||this.props.setAttributes({inQueryBlock:!0}):this.props.attributes.inQueryBlock&&this.props.setAttributes({inQueryBlock:!1}),this.debouncedUpdateDynamic()}getDynamic(){let e=null;this.props.context&&(this.props.context.queryId||Number.isFinite(this.props.context.queryId))&&this.props.context.postId&&(e=this.props.context.postId),this.props.attributes.kadenceDynamic&&this.props.attributes.kadenceDynamic.bgImg&&this.props.attributes.kadenceDynamic.bgImg.enable&&Object(ut.applyFilters)("kadence.dynamicBackground","",this.props.attributes,this.props.setAttributes,"bgImg",e),this.props.attributes.kadenceDynamic&&this.props.attributes.kadenceDynamic.overlayBgImg&&this.props.attributes.kadenceDynamic.overlayBgImg.enable&&Object(ut.applyFilters)("kadence.dynamicBackground","",this.props.attributes,this.props.setAttributes,"overlayBgImg",e),this.props.attributes.kadenceDynamic&&this.props.attributes.kadenceDynamic["tabletBackground:0:bgImg"]&&this.props.attributes.kadenceDynamic["tabletBackground:0:bgImg"].enable&&Object(ut.applyFilters)("kadence.dynamicBackground","",this.props.attributes,this.props.setAttributes,"tabletBackground:0:bgImg",e),this.props.attributes.kadenceDynamic&&this.props.attributes.kadenceDynamic["tabletOverlay:0:overlayBgImg"]&&this.props.attributes.kadenceDynamic["tabletOverlay:0:overlayBgImg"].enable&&Object(ut.applyFilters)("kadence.dynamicBackground","",this.props.attributes,this.props.setAttributes,"tabletOverlay:0:overlayBgImg",e),this.props.attributes.kadenceDynamic&&this.props.attributes.kadenceDynamic["mobileBackground:0:bgImg"]&&this.props.attributes.kadenceDynamic["mobileBackground:0:bgImg"].enable&&Object(ut.applyFilters)("kadence.dynamicBackground","",this.props.attributes,this.props.setAttributes,"mobileBackground:0:bgImg",e),this.props.attributes.kadenceDynamic&&this.props.attributes.kadenceDynamic["mobileOverlay:0:overlayBgImg"]&&this.props.attributes.kadenceDynamic["mobileOverlay:0:overlayBgImg"].enable&&Object(ut.applyFilters)("kadence.dynamicBackground","",this.props.attributes,this.props.setAttributes,"mobileOverlay:0:overlayBgImg",e)}showSettings(e){return void 0===this.state.settings[e]||"all"===this.state.settings[e]||"contributor"===this.state.settings[e]&&("contributor"===this.state.user||"author"===this.state.user||"editor"===this.state.user||"admin"===this.state.user)||"author"===this.state.settings[e]&&("author"===this.state.user||"editor"===this.state.user||"admin"===this.state.user)||"editor"===this.state.settings[e]&&("editor"===this.state.user||"admin"===this.state.user)||"admin"===this.state.settings[e]&&"admin"===this.state.user}saveSlideItem(e,t){let l=this.props.attributes.backgroundSlider;(void 0===l||void 0!==l&&void 0===l[0])&&(l=[{bgColor:"",bgImg:"",bgImgID:""}]);const a=l.map((l,a)=>(a===t&&(l={...l,...e}),l));this.props.setAttributes({backgroundSlider:a})}getPreviewSize(e,t,l,a){if("Mobile"===e){if(void 0!==a&&""!==a&&null!==a)return a;if(void 0!==l&&""!==l&&null!==l)return l}else if("Tablet"===e&&void 0!==l&&""!==l&&null!==l)return l;return t}render(){var e;const{attributes:{uniqueID:t,columns:l,mobileLayout:a,currentTab:i,colLayout:o,tabletLayout:n,columnGutter:r,collapseGutter:c,collapseOrder:s,topPadding:d,bottomPadding:p,leftPadding:u,rightPadding:v,topPaddingM:y,bottomPaddingM:f,leftPaddingM:O,rightPaddingM:j,topMargin:_,bottomMargin:w,topMarginM:x,bottomMarginM:S,bgColor:C,bgImg:T,bgImgAttachment:N,bgImgSize:z,bgImgPosition:M,bgImgRepeat:I,bgImgID:H,verticalAlignment:B,overlayOpacity:P,overlayBgImg:R,overlayBgImgAttachment:A,overlayBgImgID:L,overlayBgImgPosition:F,overlayBgImgRepeat:W,overlayBgImgSize:D,currentOverlayTab:V,overlayBlendMode:G,overlayGradAngle:q,overlayGradLoc:K,overlayGradLocSecond:Q,overlayGradType:J,overlay:Y,overlaySecond:X,htmlTag:ee,minHeight:te,maxWidth:le,bottomSep:ae,bottomSepColor:ie,bottomSepHeight:oe,bottomSepHeightMobile:ne,bottomSepHeightTab:re,bottomSepWidth:ce,bottomSepWidthMobile:se,bottomSepWidthTab:de,topSep:be,topSepColor:me,topSepHeight:pe,topSepHeightMobile:ge,topSepHeightTab:ue,topSepWidth:he,topSepWidthMobile:ve,topSepWidthTab:ke,firstColumnWidth:ye,secondColumnWidth:fe,textColor:Oe,linkColor:je,linkHoverColor:_e,tabletPadding:we,topMarginT:xe,bottomMarginT:Ee,minHeightUnit:Se,maxWidthUnit:Te,marginUnit:Ne,columnsUnlocked:ze,tabletBackground:Me,tabletOverlay:Ie,mobileBackground:He,mobileOverlay:Be,columnsInnerHeight:Pe,zIndex:Re,backgroundInline:Ae,backgroundSettingTab:Le,backgroundSliderCount:Fe,backgroundSlider:We,inheritMaxWidth:$e,backgroundSliderSettings:Ue,backgroundVideo:Ve,backgroundVideoType:Ze,overlaySecondOpacity:qe,overlayFirstOpacity:Qe,paddingUnit:Je,align:Ye,minHeightTablet:Xe,minHeightMobile:et,bgColorClass:tt,vsdesk:lt,vstablet:at,vsmobile:it,loggedInUser:ot,loggedIn:nt,loggedOut:rt,loggedInShow:ct,rcpAccess:st,rcpMembership:dt,rcpMembershipLevel:bt,borderWidth:mt,tabletBorderWidth:pt,mobileBorderWidth:gt,borderRadius:ut,tabletBorderRadius:ht,mobileBorderRadius:vt,border:kt,tabletBorder:yt,mobileBorder:ft,isPrebuiltModal:Ot,responsiveMaxWidth:jt,kadenceBlockCSS:_t},toggleSelection:wt,className:Et,setAttributes:St,clientId:Ct}=this.props,{borderWidthControl:Tt,borderRadiusControl:Nt,contentWidthPop:zt}=this.state,Mt=(null===(e=document.querySelector('iframe[name="editor-canvas"]'))||void 0===e?void 0:e.contentWindow.document)||document,It=e=>{const t=Me.map((t,l)=>(0===l&&(t={...t,...e}),t));St({tabletBackground:t})},Ht=e=>{const t=Ie.map((t,l)=>(0===l&&(t={...t,...e}),t));St({tabletOverlay:t})},Bt=e=>{const t=He.map((t,l)=>(0===l&&(t={...t,...e}),t));St({mobileBackground:t})},Rt=e=>{const t=Be.map((t,l)=>(0===l&&(t={...t,...e}),t));St({mobileOverlay:t})},At="px"===Se?2e3:200,Lt="px"===Te?2e3:100,Ft="em"===Ne||"rem"===Ne?-12:-200,Wt="em"===Ne||"rem"===Ne?24:200,Dt="em"===Ne||"rem"===Ne?.1:1,$t="em"===Je||"rem"===Je?24:500,Ut="em"===Je||"rem"===Je?.1:1,Vt=this.getPreviewSize(this.props.getPreviewDevice,void 0!==d?d:"",void 0!==we?we[0]:"",void 0!==y?y:""),Zt=this.getPreviewSize(this.props.getPreviewDevice,void 0!==v?v:"",void 0!==we?we[1]:"",void 0!==j?j:""),Gt=this.getPreviewSize(this.props.getPreviewDevice,void 0!==p?p:"",void 0!==we?we[2]:"",void 0!==f?f:""),qt=this.getPreviewSize(this.props.getPreviewDevice,void 0!==u?u:"",void 0!==we?we[3]:"",void 0!==O?O:""),Kt=this.getPreviewSize(this.props.getPreviewDevice,void 0!==le?le:"",void 0!==jt&&jt[0]?jt[0]:"",void 0!==jt&&jt[1]?jt[1]:""),Qt=this.getPreviewSize(this.props.getPreviewDevice,void 0!==pe?pe:"",void 0!==ue?ue:"",void 0!==ge?ge:""),Jt=this.getPreviewSize(this.props.getPreviewDevice,void 0!==he?he:"",void 0!==ke?ke:"",void 0!==ve?ve:""),Yt=this.getPreviewSize(this.props.getPreviewDevice,void 0!==oe?oe:"",void 0!==re?re:"",void 0!==ne?ne:""),Xt=this.getPreviewSize(this.props.getPreviewDevice,void 0!==ce?ce:"",void 0!==de?de:"",void 0!==se?se:"");let el=!1;void 0!==ut&&void 0!==ut[0]&&ut[0]&&(el=!0),void 0!==ut&&void 0!==ut[1]&&ut[1]&&(el=!0),void 0!==ut&&void 0!==ut[2]&&ut[2]&&(el=!0),void 0!==ut&&void 0!==ut[3]&&ut[3]&&(el=!0);const tl=(e,l,a)=>{let i,o;ze?(i=Math.round(10*parseFloat(a.style.width))/10,o=Math.round(10*(100-i))/10):(i=5*Math.round(parseInt(a.style.width)/5),o=100-5*Math.round(parseInt(a.style.width)/5)),this.setState({firstWidth:i}),this.setState({secondWidth:o}),Mt.getElementById("left-column-width-"+t).innerHTML=i+"%",Mt.getElementById("right-column-width-"+t).innerHTML=o+"%"},ll=(e,t,l)=>{let a,i;ze?(a=Math.round(10*parseFloat(l.style.width))/10,i=Math.round(10*(100-a))/10):(a=5*Math.round(parseInt(l.style.width)/5),i=100-5*Math.round(parseInt(l.style.width)/5)),St({firstColumnWidth:a}),St({secondColumnWidth:i}),this.setState({firstWidth:null,secondWidth:null})},al=this.state.firstWidth,il=this.state.secondWidth,ol=""+(al||ye||o),nl=""+(il||fe||o);let rl,cl;rl=3===l?this.state.firstWidth?Math.abs(Math.round(10*(parseFloat(this.state.firstWidth)+parseFloat(this.state.secondWidth)-100))/10):Math.abs(ye)===parseFloat(ye)?Math.abs(Math.round(10*(parseFloat(ye)+parseFloat(fe)-100))/10):o:o,cl=ol===parseFloat(ol)?ol+"%":"left-golden"===ol?"66.67%":"right-golden"===ol?"33.37%":"50%";const sl=o||"equal",dl=n||"inherit",bl=a||"inherit",ml=!l||2!==l&&3!==l?o:ol,pl=C||T||Y||R?"kt-row-has-bg":"",gl=xt()({[Et]:Et,"kt-row-column-wrap":!0,["kb-row-id-"+t]:t,[`kt-has-${l}-columns`]:l,["kt-row-layout-"+sl]:sl,["kt-row-valign-"+B]:B,["kt-tab-layout-"+dl]:dl,["kt-mobile-layout-"+bl]:bl,["current-tab-"+i]:i,["kt-gutter-"+r]:r,["kt-v-gutter-"+c]:c,["kt-m-colapse-"+s]:s,["kt-custom-first-width-"+ol]:ol,["kt-custom-second-width-"+nl]:nl,["kt-custom-third-width-"+rl]:rl,[pl]:pl,"has-border-radius":el,"kt-inner-column-height-full":Pe,"kvs-lg-false":"undefined"!==lt&<,"kvs-md-false":"undefined"!==at&&at,"kvs-sm-false":"undefined"!==it&&it,"kadence-has-rcp-display":dt&&kadence_blocks_params&&kadence_blocks_params.rcp_access});let ul,hl;const vl=[{key:"equal",col:1,name:Object(m.__)("Row","kadence-blocks"),icon:g.row},{key:"equal",col:2,name:Object(m.__)("Two: Equal","kadence-blocks"),icon:g.twocol},{key:"left-golden",col:2,name:Object(m.__)("Two: Left Heavy 66/33","kadence-blocks"),icon:g.twoleftgolden},{key:"right-golden",col:2,name:Object(m.__)("Two: Right Heavy 33/66","kadence-blocks"),icon:g.tworightgolden},{key:"equal",col:3,name:Object(m.__)("Three: Equal","kadence-blocks"),icon:g.threecol},{key:"left-half",col:3,name:Object(m.__)("Three: Left Heavy 50/25/25","kadence-blocks"),icon:g.lefthalf},{key:"right-half",col:3,name:Object(m.__)("Three: Right Heavy 25/25/50","kadence-blocks"),icon:g.righthalf},{key:"center-half",col:3,name:Object(m.__)("Three: Center Heavy 25/50/25","kadence-blocks"),icon:g.centerhalf},{key:"center-wide",col:3,name:Object(m.__)("Three: Wide Center 20/60/20","kadence-blocks"),icon:g.widecenter},{key:"center-exwide",col:3,name:Object(m.__)("Three: Wider Center 15/70/15","kadence-blocks"),icon:g.exwidecenter},{key:"equal",col:4,name:Object(m.__)("Four: Equal","kadence-blocks"),icon:g.fourcol},{key:"left-forty",col:4,name:Object(m.__)("Four: Left Heavy 40/20/20/20","kadence-blocks"),icon:g.lfourforty},{key:"right-forty",col:4,name:Object(m.__)("Four: Right Heavy 20/20/20/40","kadence-blocks"),icon:g.rfourforty},{key:"equal",col:5,name:Object(m.__)("Five: Equal","kadence-blocks"),icon:g.fivecol},{key:"equal",col:6,name:Object(m.__)("Six: Equal","kadence-blocks"),icon:g.sixcol}],kl=e=>{let t;t=void 0===Ue||void 0!==Ue&&void 0===Ue[0]?[{youTube:"",local:"",localID:"",vimeo:"",ratio:"16/9",btns:!1,loop:!0,mute:!0}]:Ue;const l=t.map((t,l)=>(0===l&&(t={...t,...e}),t));St({backgroundSliderSettings:l})},yl=e=>{let t;t=void 0===Ve||void 0!==Ve&&void 0===Ve[0]?[{youTube:"",local:"",localID:"",vimeo:"",ratio:"16/9",btns:!1,loop:!0,mute:!0}]:Ve;const l=t.map((t,l)=>(0===l&&(t={...t,...e}),t));St({backgroundVideo:l})},fl={};fl.ct=Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z"}),fl.cti=Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"}),fl.ctd=Object(b.createElement)(b.Fragment,null,Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,20l-500,78l-500,-78l0,80l1000,0l0,-80Z"})),fl.ctdi=Object(b.createElement)(b.Fragment,null,Object(b.createElement)("path",{d:"M500,2l500,78l0,20l-1000,0l0,-20l500,-78Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"})),fl.sltl=Object(b.createElement)("path",{d:"M1000,0l-1000,100l1000,0l0,-100Z"}),fl.sltli=Object(b.createElement)("path",{d:"M0,100l1000,-100l-1000,0l0,100Z"}),fl.sltr=Object(b.createElement)("path",{d:"M0,0l1000,100l-1000,0l0,-100Z"}),fl.sltri=Object(b.createElement)("path",{d:"M1000,100l-1000,-100l1000,0l0,100Z"}),fl.crv=Object(b.createElement)("path",{d:"M1000,100c0,0 -270.987,-98 -500,-98c-229.013,0 -500,98 -500,98l1000,0Z"}),fl.crvi=Object(b.createElement)("path",{d:"M1000,0c0,0 -270.987,98 -500,98c-229.013,0 -500,-98 -500,-98l0,100l1000,0l0,-100Z"}),fl.crvl=Object(b.createElement)("path",{d:"M1000,100c0,0 -420.987,-98 -650,-98c-229.013,0 -350,98 -350,98l1000,0Z"}),fl.crvli=Object(b.createElement)("path",{d:"M1000,0c0,0 -420.987,98 -650,98c-229.013,0 -350,-98 -350,-98l0,100l1000,0l0,-100Z"}),fl.crvr=Object(b.createElement)("path",{d:"M1000,100c0,0 -120.987,-98 -350,-98c-229.013,0 -650,98 -650,98l1000,0Z"}),fl.crvri=Object(b.createElement)("path",{d:"M1000,0c0,0 -120.987,98 -350,98c-229.013,0 -650,-98 -650,-98l0,100l1000,0l0,-100Z"}),fl.wave=Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}),fl.wavei=Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}),fl.waves=Object(b.createElement)(b.Fragment,null,Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,73 -500,73c-154.895,0 -250,-45 -250,-45l0,70l1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,68 -500,68c-154.895,0 -250,-65 -250,-65l0,95l1000,0l0,-60Z",style:{opacity:.4}})),fl.wavesi=Object(b.createElement)(b.Fragment,null,Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,73 500,73c154.895,0 250,-45 250,-45l0,70l-1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,68 500,68c154.895,0 250,-65 250,-65l0,95l-1000,0l0,-60Z",style:{opacity:.4}})),fl.mtns=Object(b.createElement)(b.Fragment,null,Object(b.createElement)("path",{d:"M1000,50l-182.69,-45.286l-292.031,61.197l-190.875,-41.075l-143.748,28.794l-190.656,-23.63l0,70l1000,0l0,-50Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,57l-152.781,-22.589l-214.383,19.81l-159.318,-21.471l-177.44,25.875l-192.722,5.627l-103.356,-27.275l0,63.023l1000,0l0,-43Z"})),fl.littri=Object(b.createElement)("path",{d:"M500,2l25,98l-50,0l25,-98Z"}),fl.littrii=Object(b.createElement)("path",{d:"M1000,100l-1000,0l0,-100l475,0l25,98l25,-98l475,0l0,100Z"}),fl.threelevels=Object(b.createElement)(b.Fragment,null,Object(b.createElement)("path",{style:{opacity:.33},d:"M0 95L1000 0v100H0v-5z"}),Object(b.createElement)("path",{style:{opacity:.66},d:"M0 95l1000-67.944V100H0v-5z"}),Object(b.createElement)("path",{d:"M0 95l1000-40.887V100H0v-5z"})),fl.threelevelsi=Object(b.createElement)(b.Fragment,null,Object(b.createElement)("path",{style:{opacity:.33},d:"M1000 95L0 0v100h1000v-5z"}),Object(b.createElement)("path",{style:{opacity:.66},d:"M1000 95L0 27.056V100h1000v-5z"}),Object(b.createElement)("path",{d:"M1000 95L0 54.113V100h1000v-5z"}));const Ol={};Ol.ct=Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z"}),Ol.cti=Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"}),Ol.ctd=Object(b.createElement)(b.Fragment,null,Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,20l-500,78l-500,-78l0,80l1000,0l0,-80Z"})),Ol.ctdi=Object(b.createElement)(b.Fragment,null,Object(b.createElement)("path",{d:"M500,2l500,78l0,20l-1000,0l0,-20l500,-78Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"})),Ol.sltl=Object(b.createElement)("path",{d:"M1000,0l-1000,100l1000,0l0,-100Z"}),Ol.sltli=Object(b.createElement)("path",{d:"M0,100l1000,-100l-1000,0l0,100Z"}),Ol.sltr=Object(b.createElement)("path",{d:"M0,0l1000,100l-1000,0l0,-100Z"}),Ol.sltri=Object(b.createElement)("path",{d:"M1000,100l-1000,-100l1000,0l0,100Z"}),Ol.crv=Object(b.createElement)("path",{d:"M1000,100c0,0 -270.987,-98 -500,-98c-229.013,0 -500,98 -500,98l1000,0Z"}),Ol.crvi=Object(b.createElement)("path",{d:"M1000,0c0,0 -270.987,98 -500,98c-229.013,0 -500,-98 -500,-98l0,100l1000,0l0,-100Z"}),Ol.crvl=Object(b.createElement)("path",{d:"M1000,100c0,0 -420.987,-98 -650,-98c-229.013,0 -350,98 -350,98l1000,0Z"}),Ol.crvli=Object(b.createElement)("path",{d:"M1000,0c0,0 -420.987,98 -650,98c-229.013,0 -350,-98 -350,-98l0,100l1000,0l0,-100Z"}),Ol.crvr=Object(b.createElement)("path",{d:"M1000,100c0,0 -120.987,-98 -350,-98c-229.013,0 -650,98 -650,98l1000,0Z"}),Ol.crvri=Object(b.createElement)("path",{d:"M1000,0c0,0 -120.987,98 -350,98c-229.013,0 -650,-98 -650,-98l0,100l1000,0l0,-100Z"}),Ol.wave=Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}),Ol.wavei=Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}),Ol.waves=Object(b.createElement)(b.Fragment,null,Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,73 -500,73c-154.895,0 -250,-45 -250,-45l0,70l1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,68 -500,68c-154.895,0 -250,-65 -250,-65l0,95l1000,0l0,-60Z",style:{opacity:.4}})),Ol.wavesi=Object(b.createElement)(b.Fragment,null,Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,73 500,73c154.895,0 250,-45 250,-45l0,70l-1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,68 500,68c154.895,0 250,-65 250,-65l0,95l-1000,0l0,-60Z",style:{opacity:.4}})),Ol.mtns=Object(b.createElement)(b.Fragment,null,Object(b.createElement)("path",{d:"M1000,50l-182.69,-45.286l-292.031,61.197l-190.875,-41.075l-143.748,28.794l-190.656,-23.63l0,70l1000,0l0,-50Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,57l-152.781,-22.589l-214.383,19.81l-159.318,-21.471l-177.44,25.875l-192.722,5.627l-103.356,-27.275l0,63.023l1000,0l0,-43Z"})),Ol.littri=Object(b.createElement)("path",{d:"M500,2l25,98l-50,0l25,-98Z"}),Ol.littrii=Object(b.createElement)("path",{d:"M1000,100l-1000,0l0,-100l475,0l25,98l25,-98l475,0l0,100Z"}),Ol.threelevels=Object(b.createElement)(b.Fragment,null,Object(b.createElement)("path",{style:{opacity:.33},d:"M0 95L1000 0v100H0v-5z"}),Object(b.createElement)("path",{style:{opacity:.66},d:"M0 95l1000-67.944V100H0v-5z"}),Object(b.createElement)("path",{d:"M0 95l1000-40.887V100H0v-5z"})),Ol.threelevelsi=Object(b.createElement)(b.Fragment,null,Object(b.createElement)("path",{style:{opacity:.33},d:"M1000 95L0 0v100h1000v-5z"}),Object(b.createElement)("path",{style:{opacity:.66},d:"M1000 95L0 27.056V100h1000v-5z"}),Object(b.createElement)("path",{d:"M1000 95L0 54.113V100h1000v-5z"})),ul=2===l?[{key:"equal",name:Object(m.__)("Equal","kadence-blocks"),icon:g.twocol},{key:"left-golden",name:Object(m.__)("Left Heavy 66/33","kadence-blocks"),icon:g.twoleftgolden},{key:"right-golden",name:Object(m.__)("Right Heavy 33/66","kadence-blocks"),icon:g.tworightgolden},{key:"row",name:Object(m.__)("Collapse to Rows","kadence-blocks"),icon:g.collapserow}]:3===l?[{key:"equal",name:Object(m.__)("Equal","kadence-blocks"),icon:g.threecol},{key:"left-half",name:Object(m.__)("Left Heavy 50/25/25","kadence-blocks"),icon:g.lefthalf},{key:"right-half",name:Object(m.__)("Right Heavy 25/25/50","kadence-blocks"),icon:g.righthalf},{key:"center-half",name:Object(m.__)("Center Heavy 25/50/25","kadence-blocks"),icon:g.centerhalf},{key:"center-wide",name:Object(m.__)("Wide Center 20/60/20","kadence-blocks"),icon:g.widecenter},{key:"center-exwide",name:Object(m.__)("Wider Center 15/70/15","kadence-blocks"),icon:g.exwidecenter},{key:"row",name:Object(m.__)("Collapse to Rows","kadence-blocks"),icon:g.collapserowthree}]:4===l?[{key:"equal",name:Object(m.__)("Equal","kadence-blocks"),icon:g.fourcol},{key:"left-forty",name:Object(m.__)("Left Heavy 40/20/20/20","kadence-blocks"),icon:g.lfourforty},{key:"right-forty",name:Object(m.__)("Right Heavy 20/20/20/40","kadence-blocks"),icon:g.rfourforty},{key:"row",name:Object(m.__)("Collapse to Rows","kadence-blocks"),icon:g.collapserowfour}]:5===l?[{key:"equal",name:Object(m.__)("Equal","kadence-blocks"),icon:g.fivecol},{key:"row",name:Object(m.__)("Collapse to Rows","kadence-blocks"),icon:g.collapserowfive}]:6===l?[{key:"equal",name:Object(m.__)("Equal","kadence-blocks"),icon:g.sixcol},{key:"row",name:Object(m.__)("Collapse to Rows","kadence-blocks"),icon:g.collapserowsix}]:[{key:"equal",name:Object(m.__)("Single Row","kadence-blocks"),icon:g.row}],hl=2===l?[{key:"equal",name:Object(m.__)("Equal","kadence-blocks"),icon:g.twocol},{key:"left-golden",name:Object(m.__)("Left Heavy 66/33","kadence-blocks"),icon:g.twoleftgolden},{key:"right-golden",name:Object(m.__)("Right Heavy 33/66","kadence-blocks"),icon:g.tworightgolden},{key:"row",name:Object(m.__)("Collapse to Rows","kadence-blocks"),icon:g.collapserow}]:3===l?[{key:"equal",name:Object(m.__)("Equal","kadence-blocks"),icon:g.threecol},{key:"left-half",name:Object(m.__)("Left Heavy 50/25/25","kadence-blocks"),icon:g.lefthalf},{key:"right-half",name:Object(m.__)("Right Heavy 25/25/50","kadence-blocks"),icon:g.righthalf},{key:"center-half",name:Object(m.__)("Center Heavy 25/50/25","kadence-blocks"),icon:g.centerhalf},{key:"center-wide",name:Object(m.__)("Wide Center 20/60/20","kadence-blocks"),icon:g.widecenter},{key:"center-exwide",name:Object(m.__)("Wider Center 15/70/15","kadence-blocks"),icon:g.exwidecenter},{key:"first-row",name:Object(m.__)("First Row, Next Columns 100 - 50/50","kadence-blocks"),icon:g.firstrow},{key:"last-row",name:Object(m.__)("Last Row, Previous Columns 50/50 - 100","kadence-blocks"),icon:g.lastrow},{key:"row",name:Object(m.__)("Collapse to Rows","kadence-blocks"),icon:g.collapserowthree}]:4===l?[{key:"equal",name:Object(m.__)("Equal","kadence-blocks"),icon:g.fourcol},{key:"left-forty",name:Object(m.__)("Left Heavy 40/20/20/20","kadence-blocks"),icon:g.lfourforty},{key:"right-forty",name:Object(m.__)("Right Heavy 20/20/20/40","kadence-blocks"),icon:g.rfourforty},{key:"two-grid",name:Object(m.__)("Two Column Grid","kadence-blocks"),icon:g.grid},{key:"row",name:Object(m.__)("Collapse to Rows","kadence-blocks"),icon:g.collapserowfour}]:5===l?[{key:"equal",name:Object(m.__)("Equal","kadence-blocks"),icon:g.fivecol},{key:"row",name:Object(m.__)("Collapse to Rows","kadence-blocks"),icon:g.collapserowfive}]:6===l?[{key:"equal",name:Object(m.__)("Equal","kadence-blocks"),icon:g.sixcol},{key:"two-grid",name:Object(m.__)("Two Column Grid","kadence-blocks"),icon:g.grid},{key:"three-grid",name:Object(m.__)("Three Column Grid","kadence-blocks"),icon:g.threegrid},{key:"row",name:Object(m.__)("Collapse to Rows","kadence-blocks"),icon:g.collapserowsix}]:[{key:"row",name:Object(m.__)("Single Row","kadence-blocks"),icon:g.row}];const jl=e=>{St({bgImgID:e.id,bgImg:e.url})},_l=()=>{St({bgImgID:null,bgImg:null})},wl=Object(b.createElement)(b.Fragment,null,this.showSettings("basicLayout")&&Object(b.createElement)(Pt,{panelName:"kb-row-basic-settings"},l>1&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)("p",{className:"components-base-control__label"},Object(m.__)("Mobile Layout","kadence-blocks")),Object(b.createElement)(U.ButtonGroup,{"aria-label":Object(m.__)("Mobile Layout","kadence-blocks")},k()(hl,e=>{let{name:t,key:l,icon:i}=e;return Object(b.createElement)(U.Tooltip,{text:t},Object(b.createElement)(U.Button,{key:l,className:"kt-layout-btn",isSmall:!0,isPrimary:a===l,"aria-pressed":a===l,onClick:()=>St({mobileLayout:l})},i))}))),l>1&&Object(b.createElement)(U.SelectControl,{label:Object(m.__)("Column Collapse Vertical Gutter","kadence-blocks"),value:c,options:[{value:"default",label:Object(m.__)("Standard: 30px","kadence-blocks")},{value:"none",label:Object(m.__)("No Gutter","kadence-blocks")},{value:"skinny",label:Object(m.__)("Skinny: 10px","kadence-blocks")},{value:"narrow",label:Object(m.__)("Narrow: 20px","kadence-blocks")},{value:"wide",label:Object(m.__)("Wide: 40px","kadence-blocks")},{value:"wider",label:Object(m.__)("Wider: 60px","kadence-blocks")},{value:"widest",label:Object(m.__)("Widest: 80px","kadence-blocks")}],onChange:e=>St({collapseGutter:e})}),l>1&&Object(b.createElement)(U.SelectControl,{label:Object(m.__)("Collapse Order","kadence-blocks"),value:s,options:[{value:"left-to-right",label:Object(m.__)("Left to Right","kadence-blocks")},{value:"right-to-left",label:Object(m.__)("Right to Left","kadence-blocks")}],onChange:e=>St({collapseOrder:e})})),this.showSettings("paddingMargin")&&Object(b.createElement)(Pt,{title:Object(m.__)("Mobile Padding/Margin","kadence-blocks"),initialOpen:!1,panelName:"kb-row-mobile-padding"},Object(b.createElement)($,{label:Object(m.__)("Padding","kadence-blocks"),measurement:[y,j,f,O],onChange:e=>St({topPaddingM:e[0],rightPaddingM:e[1],bottomPaddingM:e[2],leftPaddingM:e[3]}),min:0,max:$t,step:Ut,allowEmpty:!0,unit:Je,onUnit:e=>St({paddingUnit:e}),showUnit:!0,units:["px","em","rem","%","vh","vw"]}),Object(b.createElement)($,{label:Object(m.__)("Margin","kadence-blocks"),measurement:[void 0!==x?x:"","auto",void 0!==S?S:"","auto"],onChange:e=>{St({topMarginM:e[0],bottomMarginM:e[2]})},min:Ft,max:Wt,step:Dt,allowEmpty:!0,unit:Ne,onUnit:e=>St({marginUnit:e}),showUnit:!0,units:["px","em","rem","%","vh"]})),this.showSettings("background")&&Object(b.createElement)(Pt,{title:Object(m.__)("Mobile Background","kadence-blocks"),initialOpen:!1,panelName:"kb-row-mobile-background"},Object(b.createElement)(U.ToggleControl,{label:Object(m.__)("Set custom background for Mobile?","kadence-blocks"),checked:!(!He||!He[0])&&He[0].enable,onChange:e=>Bt({enable:e})}),He&&He[0]&&He[0].enable&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)(De,{label:Object(m.__)("Background Color","kadence-blocks"),value:He[0].bgColor?He[0].bgColor:"",default:"",onChange:e=>Bt({bgColor:e})}),""===He[0].bgImg&&""!==T&&Object(b.createElement)(U.ToggleControl,{label:Object(m.__)("Force no image for mobile","kadence-blocks"),checked:!(!He||!He[0])&&He[0].forceOverDesk,onChange:e=>Bt({forceOverDesk:e})}),Object(b.createElement)(ar,Ke()({label:Object(m.__)("Background Image","kadence-blocks"),hasImage:!!(He&&He[0]&&He[0].bgImg),imageURL:He&&He[0]&&He[0].bgImg?He[0].bgImg:"",imageID:He&&He[0]&&He[0].bgImgID?He[0].bgImgID:"",imagePosition:He&&He[0]&&He[0].bgImgPosition?He[0].bgImgPosition:"center center",imageSize:He&&He[0]&&He[0].bgImgSize?He[0].bgImgSize:"cover",imageRepeat:He&&He[0]&&He[0].bgImgRepeat?He[0].bgImgRepeat:"no-repeat",imageAttachment:He&&He[0]&&He[0].bgImgAttachment?He[0].bgImgAttachment:"scroll",imageAttachmentParallax:!0,onRemoveImage:()=>{Bt({bgImgID:"",bgImg:""})},onSaveImage:e=>{Bt({bgImgID:e.id,bgImg:e.url})},onSaveURL:e=>{e!==(He&&He[0]&&He[0].bgImg?He[0].bgImg:"")&&Bt({bgImgID:void 0,bgImg:e})},onSavePosition:e=>Bt({bgImgPosition:e}),onSaveSize:e=>Bt({bgImgSize:e}),onSaveRepeat:e=>Bt({bgImgRepeat:e}),onSaveAttachment:e=>Bt({bgImgAttachment:e}),disableMediaButtons:He&&He[0]&&He[0].bgImg?He[0].bgImg:"",dynamicAttribute:"mobileBackground:0:bgImg"},this.props)))),this.showSettings("backgroundOverlay")&&Object(b.createElement)(Pt,{title:Object(m.__)("Mobile Background Overlay"),initialOpen:!1,panelName:"kb-row-mobile-bg-overlay"},Object(b.createElement)(U.ToggleControl,{label:Object(m.__)("Set custom background overlay for mobile?","kadence-blocks"),checked:!(!Be||!Be[0])&&Be[0].enable,onChange:e=>Rt({enable:e})}),Be&&Be[0]&&Be[0].enable&&Object(b.createElement)(U.TabPanel,{className:"kt-inspect-tabs kt-gradient-tabs",activeClass:"active-tab",initialTabName:Be[0].currentOverlayTab,onSelect:e=>Rt({currentOverlayTab:e}),tabs:[{name:"normal",title:Object(m.__)("Normal","kadence-blocks"),className:"kt-over-normal"},{name:"grad",title:Object(m.__)("Gradient","kadence-blocks"),className:"kt-over-grad"}]},e=>{let t;return e.name&&(t="grad"===e.name?Hl:Il),Object(b.createElement)("div",{className:e.className,key:e.className},t)})),this.showSettings("border")&&Object(b.createElement)(Pt,{title:Object(m.__)("Border Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-row-border-settings"},Object(b.createElement)(De,{label:Object(m.__)("Mobile Border Color","kadence-blocks"),value:ft||"",default:"",onChange:e=>St({mobileBorder:e})}),Object(b.createElement)($,{label:Object(m.__)("Mobile Border Width","kadence-blocks"),measurement:gt,onChange:e=>St({mobileBorderWidth:e}),control:Tt,onControl:e=>this.setState({borderWidthControl:e}),min:0,max:40,step:1,allowEmpty:!0,unit:"px",units:["px"],showUnit:!0,preset:[0,1,2,3,4,5,6,7,8,9]}),Object(b.createElement)($,{label:Object(m.__)("Mobile Border Radius","kadence-blocks"),measurement:vt,control:Nt,onChange:e=>St({mobileBorderRadius:e}),onControl:e=>this.setState({borderRadiusControl:e}),min:0,max:500,step:1,allowEmpty:!0,controlTypes:[{key:"linked",name:Object(m.__)("Linked","kadence-blocks"),icon:g.radiuslinked},{key:"individual",name:Object(m.__)("Individual","kadence-blocks"),icon:g.radiusindividual}],firstIcon:g.topleft,secondIcon:g.topright,thirdIcon:g.bottomright,fourthIcon:g.bottomleft}))),xl=Object(b.createElement)(b.Fragment,null,this.showSettings("basicLayout")&&Object(b.createElement)(Pt,{panelName:"kb-row-basic-layout"},l>1&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)("p",{className:"components-base-control__label"},Object(m.__)("Tablet Layout","kadence-blocks")),Object(b.createElement)(U.ButtonGroup,{"aria-label":Object(m.__)("Tablet Layout","kadence-blocks")},k()(hl,e=>{let{name:t,key:l,icon:a}=e;return Object(b.createElement)(U.Tooltip,{text:t},Object(b.createElement)(U.Button,{key:l,className:"kt-layout-btn",isSmall:!0,isPrimary:n===l,"aria-pressed":n===l,onClick:()=>St({tabletLayout:l})},a))})))),this.showSettings("paddingMargin")&&Object(b.createElement)(Pt,{title:Object(m.__)("Tablet Padding/Margin","kadence-blocks"),initialOpen:!1,panelName:"kb-row-tablet-padding"},Object(b.createElement)($,{label:Object(m.__)("Padding","kadence-blocks"),measurement:we,onChange:e=>St({tabletPadding:e}),min:0,max:$t,step:Ut,allowEmpty:!0,unit:Je,onUnit:e=>St({paddingUnit:e}),showUnit:!0,units:["px","em","rem","%","vh","vw"]}),Object(b.createElement)($,{label:Object(m.__)("Margin","kadence-blocks"),measurement:[void 0!==xe?xe:"","auto",void 0!==Ee?Ee:"","auto"],onChange:e=>{St({topMarginT:e[0],bottomMarginT:e[2]})},min:Ft,max:Wt,step:Dt,allowEmpty:!0,unit:Ne,onUnit:e=>St({marginUnit:e}),showUnit:!0,units:["px","em","rem","%","vh"]})),this.showSettings("background")&&Object(b.createElement)(Pt,{title:Object(m.__)("Tablet Background","kadence-blocks"),initialOpen:!1,panelName:"kb-row-tablet-bg"},Object(b.createElement)(U.ToggleControl,{label:Object(m.__)("Set custom background for tablets?","kadence-blocks"),checked:!(!Me||!Me[0])&&Me[0].enable,onChange:e=>It({enable:e})}),Me&&Me[0]&&Me[0].enable&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)(De,{label:Object(m.__)("Background Color","kadence-blocks"),value:Me[0].bgColor?Me[0].bgColor:"",default:"",onChange:e=>It({bgColor:e})}),""===Me[0].bgImg&&""!==T&&Object(b.createElement)(U.ToggleControl,{label:Object(m.__)("Force no image for tablet","kadence-blocks"),checked:!(!Me||!Me[0])&&Me[0].forceOverDesk,onChange:e=>It({forceOverDesk:e})}),Object(b.createElement)(ar,Ke()({label:Object(m.__)("Background Image","kadence-blocks"),hasImage:!!(Me&&Me[0]&&Me[0].bgImg),imageURL:Me&&Me[0]&&Me[0].bgImg?Me[0].bgImg:"",imageID:Me&&Me[0]&&Me[0].bgImgID?Me[0].bgImgID:"",imagePosition:Me&&Me[0]&&Me[0].bgImgPosition?Me[0].bgImgPosition:"center center",imageSize:Me&&Me[0]&&Me[0].bgImgSize?Me[0].bgImgSize:"cover",imageRepeat:Me&&Me[0]&&Me[0].bgImgRepeat?Me[0].bgImgRepeat:"no-repeat",imageAttachment:Me&&Me[0]&&Me[0].bgImgAttachment?Me[0].bgImgAttachment:"scroll",imageAttachmentParallax:!0,onRemoveImage:()=>{It({bgImgID:"",bgImg:""})},onSaveImage:e=>{It({bgImgID:e.id,bgImg:e.url})},onSaveURL:e=>{e!==(Me&&Me[0]&&Me[0].bgImg?Me[0].bgImg:"")&&It({bgImgID:void 0,bgImg:e})},onSavePosition:e=>It({bgImgPosition:e}),onSaveSize:e=>It({bgImgSize:e}),onSaveRepeat:e=>It({bgImgRepeat:e}),onSaveAttachment:e=>It({bgImgAttachment:e}),disableMediaButtons:Me&&Me[0]&&Me[0].bgImg?Me[0].bgImg:"",dynamicAttribute:"tabletBackground:0:bgImg"},this.props)))),this.showSettings("backgroundOverlay")&&Object(b.createElement)(Pt,{title:Object(m.__)("Tablet Background Overlay","kadence-blocks"),initialOpen:!1,panelName:"kb-row-tablet-bg-overlay"},Object(b.createElement)(U.ToggleControl,{label:Object(m.__)("Set custom background overlay for tablets?","kadence-blocks"),checked:!(!Ie||!Ie[0])&&Ie[0].enable,onChange:e=>Ht({enable:e})}),Ie&&Ie[0]&&Ie[0].enable&&Object(b.createElement)(U.TabPanel,{className:"kt-inspect-tabs kt-gradient-tabs",activeClass:"active-tab",initialTabName:Ie[0].currentOverlayTab,onSelect:e=>Ht({currentOverlayTab:e}),tabs:[{name:"normal",title:Object(m.__)("Normal","kadence-blocks"),className:"kt-over-normal"},{name:"grad",title:Object(m.__)("Gradient","kadence-blocks"),className:"kt-over-grad"}]},e=>{let t;return e.name&&(t="grad"===e.name?Ml:zl),Object(b.createElement)("div",{className:e.className,key:e.className},t)})),this.showSettings("border")&&Object(b.createElement)(Pt,{title:Object(m.__)("Border Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-row-border-settings"},Object(b.createElement)(De,{label:Object(m.__)("Tablet Border Color","kadence-blocks"),value:yt||"",default:"",onChange:e=>St({tabletBorder:e})}),Object(b.createElement)($,{label:Object(m.__)("Tablet Border Width","kadence-blocks"),measurement:pt,onChange:e=>St({tabletBorderWidth:e}),control:Tt,onControl:e=>this.setState({borderWidthControl:e}),min:0,max:40,step:1,allowEmpty:!0,unit:"px",units:["px"],showUnit:!0,preset:[0,1,2,3,4,5,6,7,8,9]}),Object(b.createElement)($,{label:Object(m.__)("Tablet Border Radius","kadence-blocks"),measurement:ht,control:Nt,onChange:e=>St({tabletBorderRadius:e}),onControl:e=>this.setState({borderRadiusControl:e}),min:0,max:500,step:1,allowEmpty:!0,controlTypes:[{key:"linked",name:Object(m.__)("Linked","kadence-blocks"),icon:g.radiuslinked},{key:"individual",name:Object(m.__)("Individual","kadence-blocks"),icon:g.radiusindividual}],firstIcon:g.topleft,secondIcon:g.topright,thirdIcon:g.bottomright,fourthIcon:g.bottomleft}))),El=e=>{let t;return t=void 0===We||void 0!==We&&void 0===We[0]?[{bgColor:"",bgImg:"",bgImgID:""}]:We,Object(b.createElement)(b.Fragment,null,Object(b.createElement)("h2",null,Object(m.__)("Slide","kadence-blocks")+" "+(e+1)+" "+Object(m.__)("Settings","kadence-blocks")),Object(b.createElement)("div",{className:"kt-inner-sub-section"},Object(b.createElement)(De,{label:Object(m.__)("Slide Background Color","kadence-blocks"),value:void 0!==t&&void 0!==t[e]&&t[e].bgColor?t[e].bgColor:"",default:"",onChange:t=>this.saveSlideItem({bgColor:t},e)}),(void 0===t[e]||void 0===t[e].bgImg||""===t[e].bgImg)&&Object(b.createElement)(Ce.MediaUpload,{onSelect:t=>{this.saveSlideItem({bgImgID:t.id,bgImg:t.url},e)},type:"image",value:void 0!==t&&void 0!==t[e]&&t[e].bgImgID?t[e].bgImgID:"",render:e=>{let{open:t}=e;return Object(b.createElement)(U.Button,{className:"components-button components-icon-button kt-cta-upload-btn",onClick:t},Object(b.createElement)(U.Dashicon,{icon:"format-image"}),Object(m.__)("Slide Select Image","kadence-blocks"))}}),void 0!==t&&void 0!==t[e]&&t[e].bgImg&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)(Ce.MediaUpload,{onSelect:t=>{this.saveSlideItem({bgImgID:t.id,bgImg:t.url},e)},type:"image",value:void 0!==t&&void 0!==t[e]&&t[e].bgImgID?t[e].bgImgID:"",allowedTypes:["image"],render:l=>{let{open:a}=l;return Object(b.createElement)(U.Tooltip,{text:Object(m.__)("Edit Image","kadence-blocks")},Object(b.createElement)(U.Button,{style:{backgroundImage:'url("'+t[e].bgImg+'")',backgroundSize:"cover"},className:"kb-sidebar-image",onClick:a},Object(m.__)("Edit Image")))}}),Object(b.createElement)(U.Tooltip,{text:Object(m.__)("Remove Image","kadence-blocks")},Object(b.createElement)(U.Button,{className:"components-button components-icon-button kt-remove-img kt-cta-upload-btn",onClick:()=>{this.saveSlideItem({bgImgID:"",bgImg:""},e)}},Object(b.createElement)(U.Dashicon,{icon:"no-alt"}))))))},Sl=Object(b.createElement)(b.Fragment,null,this.showSettings("basicLayout")&&Object(b.createElement)(Pt,{panelName:"kb-row-basic-layout"},Object(b.createElement)(U.RangeControl,{label:Object(m.__)("Columns","kadence-blocks"),value:l,onChange:e=>{this.props.updateColumns(l,e),St({columns:e,colLayout:"equal",firstColumnWidth:void 0,secondColumnWidth:void 0,tabletLayout:"inherit",mobileLayout:"row"})},min:1,max:6}),l>1&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)("p",{className:"components-base-control__label"},Object(m.__)("Layout","kadence-blocks")),Object(b.createElement)(U.ButtonGroup,{className:"kb-column-layout","aria-label":Object(m.__)("Column Layout","kadence-blocks")},k()(ul,e=>{let{name:t,key:l,icon:a}=e;return Object(b.createElement)(U.Tooltip,{text:t},Object(b.createElement)(U.Button,{key:l,className:"kt-layout-btn",isSmall:!0,isPrimary:ml===l,"aria-pressed":ml===l,onClick:()=>{St({colLayout:l}),St({firstColumnWidth:void 0,secondColumnWidth:void 0})}},a))}))),l>1&&Object(b.createElement)(U.SelectControl,{label:Object(m.__)("Column Gutter","kadence-blocks"),value:r,options:[{value:"default",label:Object(m.__)("Standard: 30px","kadence-blocks")},{value:"none",label:Object(m.__)("No Gutter","kadence-blocks")},{value:"skinny",label:Object(m.__)("Skinny: 10px","kadence-blocks")},{value:"narrow",label:Object(m.__)("Narrow: 20px","kadence-blocks")},{value:"wide",label:Object(m.__)("Wide: 40px","kadence-blocks")},{value:"wider",label:Object(m.__)("Wider: 60px","kadence-blocks")},{value:"widest",label:Object(m.__)("Widest: 80px","kadence-blocks")}],onChange:e=>St({columnGutter:e})})),this.showSettings("paddingMargin")&&Object(b.createElement)(Pt,{title:Object(m.__)("Padding/Margin","kadence-blocks"),initialOpen:!1,panelName:"kb-row-padding"},Object(b.createElement)($,{label:Object(m.__)("Padding","kadence-blocks"),measurement:[void 0!==d?d:"",void 0!==v?v:"",void 0!==p?p:"",void 0!==u?u:""],onChange:e=>St({topPadding:e[0],rightPadding:e[1],bottomPadding:e[2],leftPadding:e[3]}),min:0,max:$t,step:Ut,allowEmpty:!0,unit:Je,onUnit:e=>St({paddingUnit:e}),showUnit:!0,units:["px","em","rem","%","vh","vw"]}),Object(b.createElement)($,{label:Object(m.__)("Margin","kadence-blocks"),measurement:[void 0!==_?_:"","auto",void 0!==w?w:"","auto"],onChange:e=>{St({topMargin:e[0],bottomMargin:e[2]})},min:Ft,max:Wt,step:Dt,allowEmpty:!0,unit:Ne,onUnit:e=>St({marginUnit:e}),showUnit:!0,units:["px","em","rem","%","vh"]})),this.showSettings("background")&&Object(b.createElement)(Pt,{title:Object(m.__)("Background Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-row-bg-settings"},Object(b.createElement)(U.TabPanel,{className:"kt-inspect-tabs",initialTabName:Le,activeClass:"active-tab",onSelect:e=>{St({backgroundSettingTab:e})},tabs:[{name:"normal",title:Object(b.createElement)(U.Dashicon,{icon:"format-image"}),className:"kt-desk-tab"},{name:"slider",title:Object(b.createElement)(U.Dashicon,{icon:"slides"}),className:"kt-tablet-tab"},{name:"video",title:Object(b.createElement)(U.Dashicon,{icon:"format-video"}),className:"kt-mobile-tab"}]},e=>{let t;return e.name&&(t="slider"===e.name?Object(b.createElement)(b.Fragment,null,Object(b.createElement)(U.RangeControl,{label:Object(m.__)("Background Slider Image Count","kadence-blocks"),value:void 0!==Fe?Fe:1,onChange:e=>{let t;if(t=void 0===We||void 0!==We&&void 0===We[0]?[{bgColor:"",bgImg:"",bgImgID:""}]:We,t.length<e){const l=Math.abs(e-t.length);io()(l,e=>{t.push({bgColor:"",bgImg:"",bgImgID:""})}),St({backgroundSlider:t})}St({backgroundSliderCount:e})},step:1,min:1,max:20}),io()(void 0!==Fe?Fe:1,e=>El(e)),Object(b.createElement)(Zn,{label:Object(m.__)("Slider Image Size","kadence-blocks"),value:z,options:[{value:"cover",label:Object(m.__)("Cover","kadence-blocks")},{value:"contain",label:Object(m.__)("Contain","kadence-blocks")},{value:"auto",label:Object(m.__)("Auto","kadence-blocks")}],onChange:e=>St({bgImgSize:e})}),Object(b.createElement)(U.SelectControl,{label:Object(m.__)("Slider Image Position","kadence-blocks"),value:M,options:[{value:"center top",label:Object(m.__)("Center Top","kadence-blocks")},{value:"center center",label:Object(m.__)("Center Center","kadence-blocks")},{value:"center bottom",label:Object(m.__)("Center Bottom","kadence-blocks")},{value:"left top",label:Object(m.__)("Left Top","kadence-blocks")},{value:"left center",label:Object(m.__)("Left Center","kadence-blocks")},{value:"left bottom",label:Object(m.__)("Left Bottom","kadence-blocks")},{value:"right top",label:Object(m.__)("Right Top","kadence-blocks")},{value:"right center",label:Object(m.__)("Right Center","kadence-blocks")},{value:"right bottom",label:Object(m.__)("Right Bottom","kadence-blocks")}],onChange:e=>St({bgImgPosition:e})}),Object(b.createElement)(Zn,{label:Object(m.__)("Slider Image Repeat","kadence-blocks"),value:I,options:[{value:"no-repeat",label:Object(m.__)("No Repeat","kadence-blocks")},{value:"repeat",label:Object(m.__)("Repeat","kadence-blocks")},{value:"repeat-x",label:Object(m.__)("Repeat-x","kadence-blocks")},{value:"repeat-y",label:Object(m.__)("Repeat-y","kadence-blocks")}],onChange:e=>St({bgImgRepeat:e})}),Object(b.createElement)(U.ToggleControl,{label:Object(m.__)("Slider Auto Play","kadence-blocks"),checked:!Ue||!Ue[0]||void 0===Ue[0].autoPlay||Ue[0].autoPlay,onChange:e=>kl({autoPlay:e})}),Ue&&Ue[0]&&void 0!==Ue[0].autoPlay&&Ue[0].autoPlay&&Object(b.createElement)(E,{label:Object(m.__)("Autoplay Speed","kadence-blocks"),value:Ue[0].speed,onChange:e=>kl({speed:e}),min:500,max:15e3,step:10}),Object(b.createElement)(U.SelectControl,{label:Object(m.__)("Transition Style","kadence-blocks"),options:[{label:Object(m.__)("Fade","kadence-blocks"),value:"fade"},{label:Object(m.__)("Slide","kadence-blocks"),value:"slide"}],value:Ue&&Ue[0]&&void 0!==Ue[0].fade&&!1===Ue[0].fade?"slide":"fade",onChange:e=>{kl("slide"===e?{fade:!1}:{fade:!0})}}),Object(b.createElement)(E,{label:Object(m.__)("Slider Transition Speed","kadence-blocks"),value:Ue&&Ue[0]&&void 0!==Ue[0].tranSpeed?Ue[0].tranSpeed:400,onChange:e=>kl({tranSpeed:e}),min:100,max:2e3,step:10}),Object(b.createElement)(U.SelectControl,{label:Object(m.__)("Arrow Style","kadence-blocks"),options:[{label:Object(m.__)("White on Dark","kadence-blocks"),value:"whiteondark"},{label:Object(m.__)("Black on Light","kadence-blocks"),value:"blackonlight"},{label:Object(m.__)("Outline Black","kadence-blocks"),value:"outlineblack"},{label:Object(m.__)("Outline White","kadence-blocks"),value:"outlinewhite"},{label:Object(m.__)("None","kadence-blocks"),value:"none"}],value:Ue&&Ue[0]&&void 0!==Ue[0].arrowStyle?Ue[0].arrowStyle:"none",onChange:e=>kl({arrowStyle:e})}),Object(b.createElement)(U.SelectControl,{label:Object(m.__)("Dot Style"),options:[{label:Object(m.__)("Dark","kadence-blocks"),value:"dark"},{label:Object(m.__)("Light","kadence-blocks"),value:"light"},{label:Object(m.__)("Outline Dark","kadence-blocks"),value:"outlinedark"},{label:Object(m.__)("Outline Light","kadence-blocks"),value:"outlinelight"},{label:Object(m.__)("None","kadence-blocks"),value:"none"}],value:Ue&&Ue[0]&&void 0!==Ue[0].dotStyle?Ue[0].dotStyle:"dark",onChange:e=>kl({dotStyle:e})})):"video"===e.name?Object(b.createElement)(b.Fragment,null,(void 0===Ze||"local"===Ze)&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)(Ce.MediaUpload,{onSelect:e=>{yl({localID:e.id,local:e.url})},type:"video",allowedTypes:["video"],value:void 0!==Ve&&void 0!==Ve[0]&&Ve[0].localID?Ve[0].localID:"",render:e=>{let{open:t}=e;return Object(b.createElement)(U.Button,{className:"components-button components-icon-button kt-cta-upload-btn",onClick:t},Object(b.createElement)(U.Dashicon,{icon:"format-image"}),Object(m.__)("Select Video","kadence-blocks"))}}),void 0!==Ve&&void 0!==Ve[0]&&Ve[0].localID&&Object(b.createElement)(U.Tooltip,{text:Object(m.__)("Remove Video","kadence-blocks")},Object(b.createElement)(U.Button,{className:"components-button components-icon-button kt-remove-img kt-cta-upload-btn",onClick:()=>{yl({localID:"",local:""})}},Object(b.createElement)(U.Dashicon,{icon:"no-alt"}))),Object(b.createElement)(U.TextControl,{label:Object(m.__)("HTML5 Video File URL","kadence-blocks"),value:void 0!==Ve&&void 0!==Ve[0]&&Ve[0].local?Ve[0].local:"",onChange:e=>yl({local:e})})),"youtube"===Ze&&Object(b.createElement)(U.TextControl,{label:Object(m.__)("YouTube ID ( example: Sv_hGITmNuo )","kadence-blocks"),value:void 0!==Ve&&void 0!==Ve[0]&&Ve[0].youtube?Ve[0].youtube:"",onChange:e=>yl({youtube:e})}),void 0!==Ze&&"local"!==Ze&&Object(b.createElement)(U.SelectControl,{label:Object(m.__)("Background Video Ratio","kadence-blocks"),options:[{label:Object(m.__)("16 / 9"),value:"16/9"},{label:Object(m.__)("4 / 3"),value:"4/3"},{label:Object(m.__)("3 / 2"),value:"3/2"}],value:void 0!==Ve&&void 0!==Ve[0]&&void 0!==Ve[0].ratio?Ve[0].ratio:"16/9",onChange:e=>yl({ratio:e})}),Object(b.createElement)(U.ToggleControl,{label:Object(m.__)("Mute Video","kadence-blocks"),checked:void 0===Ve||void 0===Ve[0]||void 0===Ve[0].mute||Ve[0].mute,onChange:e=>yl({mute:e})}),Object(b.createElement)(U.ToggleControl,{label:Object(m.__)("Loop Video","kadence-blocks"),checked:void 0===Ve||void 0===Ve[0]||void 0===Ve[0].loop||Ve[0].loop,onChange:e=>yl({loop:e})}),Object(b.createElement)(U.ToggleControl,{label:Object(m.__)("Show Play Pause Buttons?","kadence-blocks"),checked:void 0===Ve||void 0===Ve[0]||void 0===Ve[0].btns||Ve[0].btns,onChange:e=>yl({btns:e})}),Object(b.createElement)(De,{label:Object(m.__)("Background Color","kadence-blocks"),value:C||"",default:"",onChange:e=>St({bgColor:e}),onClassChange:e=>St({bgColorClass:e})}),Object(b.createElement)(Ce.MediaUpload,{onSelect:jl,type:"image",value:H,render:e=>{let{open:t}=e;return Object(b.createElement)(U.Button,{className:"components-button components-icon-button kt-cta-upload-btn",onClick:t},Object(b.createElement)(U.Dashicon,{icon:"format-image"}),Object(m.__)("Select Video Poster","kadence-blocks"))}}),T&&Object(b.createElement)(U.Tooltip,{text:Object(m.__)("Remove Image","kadence-blocks")},Object(b.createElement)(U.Button,{className:"components-button components-icon-button kt-remove-img kt-cta-upload-btn",onClick:_l},Object(b.createElement)(U.Dashicon,{icon:"no-alt"})))):Object(b.createElement)(b.Fragment,null,Object(b.createElement)(De,{label:Object(m.__)("Background Color","kadence-blocks"),value:C||"",default:"",onChange:e=>St({bgColor:e}),onClassChange:e=>St({bgColorClass:e})}),Object(b.createElement)(ar,Ke()({label:Object(m.__)("Background Image","kadence-blocks"),hasImage:T,imageURL:T,imageID:H,imagePosition:M||"center center",imageSize:z||"cover",imageRepeat:I||"no-repeat",imageAttachment:N||"scroll",imageAttachmentParallax:!0,onRemoveImage:_l,onSaveImage:e=>{St({bgImgID:e.id,bgImg:e.url})},onSaveURL:e=>{e!==T&&St({bgImgID:void 0,bgImg:e})},onSavePosition:e=>St({bgImgPosition:e}),onSaveSize:e=>St({bgImgSize:e}),onSaveRepeat:e=>St({bgImgRepeat:e}),onSaveAttachment:e=>St({bgImgAttachment:e}),inlineImage:Ae,onSaveInlineImage:e=>St({backgroundInline:e}),disableMediaButtons:T,dynamicAttribute:"bgImg"},this.props)))),Object(b.createElement)("div",{className:e.className,key:e.className},t)})),this.showSettings("backgroundOverlay")&&Object(b.createElement)(Pt,{title:Object(m.__)("Background Overlay Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-row-bg-overlay"},Object(b.createElement)(U.TabPanel,{className:"kt-inspect-tabs kt-gradient-tabs",activeClass:"active-tab",initialTabName:V,onSelect:e=>{St({currentOverlayTab:e})},tabs:[{name:"normal",title:Object(m.__)("Normal","kadence-blocks"),className:"kt-over-normal"},{name:"grad",title:Object(m.__)("Gradient","kadence-blocks"),className:"kt-over-grad"}]},e=>{let t;return e.name&&(t="grad"===e.name?Nl:Cl),Object(b.createElement)("div",{className:e.className,key:e.className},t)})),this.showSettings("border")&&Object(b.createElement)(Pt,{title:Object(m.__)("Border Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-row-border-settings"},Object(b.createElement)(De,{label:Object(m.__)("Border Color","kadence-blocks"),value:kt||"",default:"",onChange:e=>St({border:e})}),Object(b.createElement)($,{label:Object(m.__)("Border Width","kadence-blocks"),measurement:mt,onChange:e=>St({borderWidth:e}),control:Tt,onControl:e=>this.setState({borderWidthControl:e}),min:0,max:40,step:1,allowEmpty:!0,unit:"px",units:["px"],showUnit:!0,preset:[0,1,2,3,4,5,6,7,8,9]}),Object(b.createElement)($,{label:Object(m.__)("Border Radius","kadence-blocks"),measurement:ut,control:Nt,onChange:e=>St({borderRadius:e}),onControl:e=>this.setState({borderRadiusControl:e}),min:0,max:500,step:1,allowEmpty:!0,controlTypes:[{key:"linked",name:Object(m.__)("Linked","kadence-blocks"),icon:g.radiuslinked},{key:"individual",name:Object(m.__)("Individual","kadence-blocks"),icon:g.radiusindividual}],firstIcon:g.topleft,secondIcon:g.topright,thirdIcon:g.bottomright,fourthIcon:g.bottomleft}))),Cl=Object(b.createElement)(b.Fragment,null,Object(b.createElement)(U.RangeControl,{label:Object(m.__)("Overlay Opacity","kadence-blocks"),value:P,onChange:e=>{St({overlayOpacity:e})},min:0,max:100}),Object(b.createElement)(De,{label:Object(m.__)("Overlay Color","kadence-blocks"),value:Y||"",default:"",onChange:e=>St({overlay:e}),opacityValue:void 0!==Qe&&""!==Qe?Qe:1,onOpacityChange:e=>St({overlayFirstOpacity:e})}),Object(b.createElement)(ar,Ke()({label:Object(m.__)("Background Image","kadence-blocks"),hasImage:R,imageURL:R,imageID:L,imagePosition:F||"center center",imageSize:D||"cover",imageRepeat:W||"no-repeat",imageAttachment:A||"scroll",imageAttachmentParallax:!0,onRemoveImage:()=>{St({overlayBgImgID:null,overlayBgImg:null})},onSaveImage:e=>{St({overlayBgImgID:e.id,overlayBgImg:e.url})},onSaveURL:e=>{e!==R&&St({overlayBgImgID:void 0,overlayBgImg:e})},onSavePosition:e=>St({overlayBgImgPosition:e}),onSaveSize:e=>St({overlayBgImgSize:e}),onSaveRepeat:e=>St({overlayBgImgRepeat:e}),onSaveAttachment:e=>St({overlayBgImgAttachment:e}),disableMediaButtons:R,dynamicAttribute:"overlayBgImg"},this.props)),Object(b.createElement)(U.SelectControl,{label:Object(m.__)("Blend Mode"),value:G,options:[{value:"normal",label:Object(m.__)("Normal","kadence-blocks")},{value:"multiply",label:Object(m.__)("Multiply","kadence-blocks")},{value:"screen",label:Object(m.__)("Screen","kadence-blocks")},{value:"overlay",label:Object(m.__)("Overlay","kadence-blocks")},{value:"darken",label:Object(m.__)("Darken","kadence-blocks")},{value:"lighten",label:Object(m.__)("Lighten","kadence-blocks")},{value:"color-dodge",label:Object(m.__)("Color Dodge","kadence-blocks")},{value:"color-burn",label:Object(m.__)("Color Burn","kadence-blocks")},{value:"difference",label:Object(m.__)("Difference","kadence-blocks")},{value:"exclusion",label:Object(m.__)("Exclusion","kadence-blocks")},{value:"hue",label:Object(m.__)("Hue","kadence-blocks")},{value:"saturation",label:Object(m.__)("Saturation","kadence-blocks")},{value:"color",label:Object(m.__)("Color","kadence-blocks")},{value:"luminosity",label:Object(m.__)("Luminosity","kadence-blocks")}],onChange:e=>St({overlayBlendMode:e})}),Object(b.createElement)("p",null,Object(m.__)("Notice: Blend Mode not supported in all browsers","kadence-blocks"))),Nl=Object(b.createElement)("div",null,Object(b.createElement)(U.RangeControl,{label:Object(m.__)("Overlay Opacity","kadence-blocks"),value:P,onChange:e=>{St({overlayOpacity:e})},min:0,max:100}),Object(b.createElement)(De,{label:Object(m.__)("Color","kadence-blocks"),value:Y||"",default:"",onChange:e=>St({overlay:e}),opacityValue:void 0!==Qe&&""!==Qe?Qe:1,onOpacityChange:e=>St({overlayFirstOpacity:e})}),Object(b.createElement)(U.RangeControl,{label:Object(m.__)("Location","kadence-blocks"),value:K,onChange:e=>{St({overlayGradLoc:e})},min:0,max:100}),Object(b.createElement)(De,{label:Object(m.__)("Second Color","kadence-blocks"),value:X||"",default:"#00B5E2",onChange:e=>St({overlaySecond:e}),opacityValue:void 0!==qe&&""!==qe?qe:1,onOpacityChange:e=>St({overlaySecondOpacity:e})}),Object(b.createElement)(U.RangeControl,{label:Object(m.__)("Location","kadence-blocks"),value:Q,onChange:e=>{St({overlayGradLocSecond:e})},min:0,max:100}),Object(b.createElement)(U.SelectControl,{label:Object(m.__)("Gradient Type","kadence-blocks"),value:J,options:[{value:"linear",label:Object(m.__)("Linear","kadence-blocks")},{value:"radial",label:Object(m.__)("Radial","kadence-blocks")}],onChange:e=>St({overlayGradType:e})}),J&&"linear"===J&&Object(b.createElement)(U.RangeControl,{label:Object(m.__)("Gradient Angle","kadence-blocks"),value:q,onChange:e=>{St({overlayGradAngle:e})},min:0,max:360}),J&&"radial"===J&&Object(b.createElement)(U.SelectControl,{label:Object(m.__)("Gradient Position","kadence-blocks"),value:F,options:[{value:"center top",label:Object(m.__)("Center Top","kadence-blocks")},{value:"center center",label:Object(m.__)("Center Center","kadence-blocks")},{value:"center bottom",label:Object(m.__)("Center Bottom","kadence-blocks")},{value:"left top",label:Object(m.__)("Left Top","kadence-blocks")},{value:"left center",label:Object(m.__)("Left Center","kadence-blocks")},{value:"left bottom",label:Object(m.__)("Left Bottom","kadence-blocks")},{value:"right top",label:Object(m.__)("Right Top","kadence-blocks")},{value:"right center",label:Object(m.__)("Right Center","kadence-blocks")},{value:"right bottom",label:Object(m.__)("Right Bottom","kadence-blocks")}],onChange:e=>St({overlayBgImgPosition:e})}),Object(b.createElement)(U.SelectControl,{label:Object(m.__)("Blend Mode"),value:G,options:[{value:"normal",label:Object(m.__)("Normal","kadence-blocks")},{value:"multiply",label:Object(m.__)("Multiply","kadence-blocks")},{value:"screen",label:Object(m.__)("Screen","kadence-blocks")},{value:"overlay",label:Object(m.__)("Overlay","kadence-blocks")},{value:"darken",label:Object(m.__)("Darken","kadence-blocks")},{value:"lighten",label:Object(m.__)("Lighten","kadence-blocks")},{value:"color-dodge",label:Object(m.__)("Color Dodge","kadence-blocks")},{value:"color-burn",label:Object(m.__)("Color Burn","kadence-blocks")},{value:"difference",label:Object(m.__)("Difference","kadence-blocks")},{value:"exclusion",label:Object(m.__)("Exclusion","kadence-blocks")},{value:"hue",label:Object(m.__)("Hue","kadence-blocks")},{value:"saturation",label:Object(m.__)("Saturation","kadence-blocks")},{value:"color",label:Object(m.__)("Color","kadence-blocks")},{value:"luminosity",label:Object(m.__)("Luminosity","kadence-blocks")}],onChange:e=>St({overlayBlendMode:e})}),Object(b.createElement)("p",null,Object(m.__)("Notice: Blend Mode not supported in all browsers","kadence-blocks"))),zl=Object(b.createElement)("div",null,Object(b.createElement)(U.RangeControl,{label:Object(m.__)("Overlay Opacity","kadence-blocks"),value:Ie&&Ie[0]?Ie[0].overlayOpacity:30,onChange:e=>{Ht({overlayOpacity:e})},min:0,max:100}),Object(b.createElement)(De,{label:Object(m.__)("Overlay Color","kadence-blocks"),value:Ie&&Ie[0]?Ie[0].overlay:"",default:"",onChange:e=>Ht({overlay:e})}),Object(b.createElement)(ar,Ke()({label:Object(m.__)("Overlay Image","kadence-blocks"),hasImage:!!(Ie&&Ie[0]&&Ie[0].overlayBgImg),imageURL:Ie&&Ie[0]&&Ie[0].overlayBgImg?Ie[0].overlayBgImg:"",imageID:Ie&&Ie[0]&&Ie[0].overlayBgImgID?Ie[0].overlayBgImgID:"",imagePosition:Ie&&Ie[0]&&Ie[0].overlayBgImgPosition?Ie[0].overlayBgImgPosition:"center center",imageSize:Ie&&Ie[0]&&Ie[0].overlayBgImgSize?Ie[0].overlayBgImgSize:"cover",imageRepeat:Ie&&Ie[0]&&Ie[0].overlayBgImgRepeat?Ie[0].overlayBgImgRepeat:"no-repeat",imageAttachment:Ie&&Ie[0]&&Ie[0].bgImgAttachment?Ie[0].bgImgAttachment:"scroll",imageAttachmentParallax:!0,onRemoveImage:()=>{Ht({overlayBgImgID:"",overlayBgImg:""})},onSaveImage:e=>{Ht({overlayBgImgID:e.id,overlayBgImg:e.url})},onSaveURL:e=>{e!==(Ie&&Ie[0]&&Ie[0].overlayBgImg?Ie[0].overlayBgImg:"")&&Ht({overlayBgImgID:void 0,overlayBgImg:e})},onSavePosition:e=>Ht({overlayBgImgPosition:e}),onSaveSize:e=>Ht({overlayBgImgSize:e}),onSaveRepeat:e=>Ht({overlayBgImgRepeat:e}),onSaveAttachment:e=>Ht({overlayBgImgAttachment:e}),disableMediaButtons:Ie&&Ie[0]&&Ie[0].overlayBgImg?Ie[0].overlayBgImg:"",dynamicAttribute:"tabletOverlay:0:overlayBgImg"},this.props)),Object(b.createElement)(U.SelectControl,{label:Object(m.__)("Blend Mode"),value:Ie&&Ie[0]?Ie[0].overlayBlendMode:"none",options:[{value:"normal",label:Object(m.__)("Normal","kadence-blocks")},{value:"multiply",label:Object(m.__)("Multiply","kadence-blocks")},{value:"screen",label:Object(m.__)("Screen","kadence-blocks")},{value:"overlay",label:Object(m.__)("Overlay","kadence-blocks")},{value:"darken",label:Object(m.__)("Darken","kadence-blocks")},{value:"lighten",label:Object(m.__)("Lighten","kadence-blocks")},{value:"color-dodge",label:Object(m.__)("Color Dodge","kadence-blocks")},{value:"color-burn",label:Object(m.__)("Color Burn","kadence-blocks")},{value:"difference",label:Object(m.__)("Difference","kadence-blocks")},{value:"exclusion",label:Object(m.__)("Exclusion","kadence-blocks")},{value:"hue",label:Object(m.__)("Hue","kadence-blocks")},{value:"saturation",label:Object(m.__)("Saturation","kadence-blocks")},{value:"color",label:Object(m.__)("Color","kadence-blocks")},{value:"luminosity",label:Object(m.__)("Luminosity","kadence-blocks")}],onChange:e=>Ht({overlayBlendMode:e})}),Object(b.createElement)("p",null,Object(m.__)("Notice: Blend Mode not supported in all browsers","kadence-blocks"))),Ml=Object(b.createElement)("div",null,Object(b.createElement)(U.RangeControl,{label:Object(m.__)("Overlay Opacity","kadence-blocks"),value:Ie&&Ie[0]?Ie[0].overlayOpacity:30,onChange:e=>{Ht({overlayOpacity:e})},min:0,max:100}),Object(b.createElement)(De,{label:Object(m.__)("Color","kadence-blocks"),value:Ie&&Ie[0]?Ie[0].overlay:"",default:"",onChange:e=>Ht({overlay:e})}),Object(b.createElement)(U.RangeControl,{label:Object(m.__)("Location","kadence-blocks"),value:Ie&&Ie[0]?Ie[0].overlayGradLoc:0,onChange:e=>{Ht({overlayGradLoc:e})},min:0,max:100}),Object(b.createElement)(De,{label:Object(m.__)("Second Color","kadence-blocks"),value:Ie&&Ie[0]?Ie[0].overlaySecond:"",default:"#00B5E2",onChange:e=>Ht({overlaySecond:e})}),Object(b.createElement)(U.RangeControl,{label:Object(m.__)("Location","kadence-blocks"),value:Ie&&Ie[0]?Ie[0].overlayGradLocSecond:100,onChange:e=>{Ht({overlayGradLocSecond:e})},min:0,max:100}),Object(b.createElement)(U.SelectControl,{label:Object(m.__)("Gradient Type","kadence-blocks"),value:Ie&&Ie[0]?Ie[0].overlayGradType:"linear",options:[{value:"linear",label:Object(m.__)("Linear","kadence-blocks")},{value:"radial",label:Object(m.__)("Radial","kadence-blocks")}],onChange:e=>Ht({overlayGradType:e})}),Ie&&Ie[0]&&Ie[0].overlayGradType&&"linear"===Ie[0].overlayGradType&&Object(b.createElement)(U.RangeControl,{label:Object(m.__)("Gradient Angle","kadence-blocks"),value:Ie&&Ie[0]?Ie[0].overlayGradAngle:180,onChange:e=>{Ht({overlayGradAngle:e})},min:0,max:360}),Ie&&Ie[0]&&Ie[0].overlayGradType&&"radial"===Ie[0].overlayGradType&&Object(b.createElement)(U.SelectControl,{label:Object(m.__)("Gradient Position","kadence-blocks"),value:Ie&&Ie[0]?Ie[0].overlayBgImgPosition:"center center",options:[{value:"center top",label:Object(m.__)("Center Top","kadence-blocks")},{value:"center center",label:Object(m.__)("Center Center","kadence-blocks")},{value:"center bottom",label:Object(m.__)("Center Bottom","kadence-blocks")},{value:"left top",label:Object(m.__)("Left Top","kadence-blocks")},{value:"left center",label:Object(m.__)("Left Center","kadence-blocks")},{value:"left bottom",label:Object(m.__)("Left Bottom","kadence-blocks")},{value:"right top",label:Object(m.__)("Right Top","kadence-blocks")},{value:"right center",label:Object(m.__)("Right Center","kadence-blocks")},{value:"right bottom",label:Object(m.__)("Right Bottom","kadence-blocks")}],onChange:e=>Ht({overlayBgImgPosition:e})}),Object(b.createElement)(U.SelectControl,{label:Object(m.__)("Blend Mode"),value:Ie&&Ie[0]?Ie[0].overlayBlendMode:"none",options:[{value:"normal",label:Object(m.__)("Normal","kadence-blocks")},{value:"multiply",label:Object(m.__)("Multiply","kadence-blocks")},{value:"screen",label:Object(m.__)("Screen","kadence-blocks")},{value:"overlay",label:Object(m.__)("Overlay","kadence-blocks")},{value:"darken",label:Object(m.__)("Darken","kadence-blocks")},{value:"lighten",label:Object(m.__)("Lighten","kadence-blocks")},{value:"color-dodge",label:Object(m.__)("Color Dodge","kadence-blocks")},{value:"color-burn",label:Object(m.__)("Color Burn","kadence-blocks")},{value:"difference",label:Object(m.__)("Difference","kadence-blocks")},{value:"exclusion",label:Object(m.__)("Exclusion","kadence-blocks")},{value:"hue",label:Object(m.__)("Hue","kadence-blocks")},{value:"saturation",label:Object(m.__)("Saturation","kadence-blocks")},{value:"color",label:Object(m.__)("Color","kadence-blocks")},{value:"luminosity",label:Object(m.__)("Luminosity","kadence-blocks")}],onChange:e=>Ht({overlayBlendMode:e})}),Object(b.createElement)("p",null,Object(m.__)("Notice: Blend Mode not supported in all browsers","kadence-blocks"))),Il=Object(b.createElement)("div",null,Object(b.createElement)(U.RangeControl,{label:Object(m.__)("Overlay Opacity"),value:Be&&Be[0]?Be[0].overlayOpacity:30,onChange:e=>{Rt({overlayOpacity:e})},min:0,max:100}),Object(b.createElement)(De,{label:Object(m.__)("Overlay Color","kadence-blocks"),value:Be&&Be[0]?Be[0].overlay:"",default:"",onChange:e=>Rt({overlay:e})}),Object(b.createElement)(ar,Ke()({label:Object(m.__)("Overlay Image","kadence-blocks"),hasImage:!!(Be&&Be[0]&&Be[0].overlayBgImg),imageURL:Be&&Be[0]&&Be[0].overlayBgImg?Be[0].overlayBgImg:"",imageID:Be&&Be[0]&&Be[0].overlayBgImgID?Be[0].overlayBgImgID:"",imagePosition:Be&&Be[0]&&Be[0].overlayBgImgPosition?Be[0].overlayBgImgPosition:"center center",imageSize:Be&&Be[0]&&Be[0].overlayBgImgSize?Be[0].overlayBgImgSize:"cover",imageRepeat:Be&&Be[0]&&Be[0].overlayBgImgRepeat?Be[0].overlayBgImgRepeat:"no-repeat",imageAttachment:Be&&Be[0]&&Be[0].bgImgAttachment?Be[0].bgImgAttachment:"scroll",imageAttachmentParallax:!0,onRemoveImage:()=>{Rt({overlayBgImgID:"",overlayBgImg:""})},onSaveImage:e=>{Rt({overlayBgImgID:e.id,overlayBgImg:e.url})},onSaveURL:e=>{e!==(Be&&Be[0]&&Be[0].overlayBgImg?Be[0].overlayBgImg:"")&&Rt({overlayBgImgID:void 0,overlayBgImg:e})},onSavePosition:e=>Rt({overlayBgImgPosition:e}),onSaveSize:e=>Rt({overlayBgImgSize:e}),onSaveRepeat:e=>Rt({overlayBgImgRepeat:e}),onSaveAttachment:e=>Rt({overlayBgImgAttachment:e}),disableMediaButtons:Be&&Be[0]&&Be[0].overlayBgImg?Be[0].overlayBgImg:"",dynamicAttribute:"mobileOverlay:0:overlayBgImg"},this.props)),Object(b.createElement)(U.SelectControl,{label:Object(m.__)("Blend Mode","kadence-blocks"),value:Be&&Be[0]?Be[0].overlayBlendMode:"none",options:[{value:"normal",label:Object(m.__)("Normal","kadence-blocks")},{value:"multiply",label:Object(m.__)("Multiply","kadence-blocks")},{value:"screen",label:Object(m.__)("Screen","kadence-blocks")},{value:"overlay",label:Object(m.__)("Overlay","kadence-blocks")},{value:"darken",label:Object(m.__)("Darken","kadence-blocks")},{value:"lighten",label:Object(m.__)("Lighten","kadence-blocks")},{value:"color-dodge",label:Object(m.__)("Color Dodge","kadence-blocks")},{value:"color-burn",label:Object(m.__)("Color Burn","kadence-blocks")},{value:"difference",label:Object(m.__)("Difference","kadence-blocks")},{value:"exclusion",label:Object(m.__)("Exclusion","kadence-blocks")},{value:"hue",label:Object(m.__)("Hue","kadence-blocks")},{value:"saturation",label:Object(m.__)("Saturation","kadence-blocks")},{value:"color",label:Object(m.__)("Color","kadence-blocks")},{value:"luminosity",label:Object(m.__)("Luminosity","kadence-blocks")}],onChange:e=>Rt({overlayBlendMode:e})}),Object(b.createElement)("p",null,Object(m.__)("Notice: Blend Mode not supported in all browsers","kadence-blocks"))),Hl=Object(b.createElement)("div",null,Object(b.createElement)(U.RangeControl,{label:Object(m.__)("Overlay Opacity","kadence-blocks"),value:Be&&Be[0]?Be[0].overlayOpacity:30,onChange:e=>{Rt({overlayOpacity:e})},min:0,max:100}),Object(b.createElement)(De,{label:Object(m.__)("Color","kadence-blocks"),value:Be&&Be[0]?Be[0].overlay:"",default:"",onChange:e=>Rt({overlay:e})}),Object(b.createElement)(U.RangeControl,{label:Object(m.__)("Location"),value:Be&&Be[0]?Be[0].overlayGradLoc:0,onChange:e=>{Rt({overlayGradLoc:e})},min:0,max:100}),Object(b.createElement)(De,{label:Object(m.__)("Second Color","kadence-blocks"),value:Be&&Be[0]?Be[0].overlaySecond:"",default:"#00B5E2",onChange:e=>Rt({overlaySecond:e})}),Object(b.createElement)(U.RangeControl,{label:Object(m.__)("Location","kadence-blocks"),value:Be&&Be[0]?Be[0].overlayGradLocSecond:100,onChange:e=>{Rt({overlayGradLocSecond:e})},min:0,max:100}),Object(b.createElement)(U.SelectControl,{label:Object(m.__)("Gradient Type"),value:Be&&Be[0]?Be[0].overlayGradType:"linear",options:[{value:"linear",label:Object(m.__)("Linear","kadence-blocks")},{value:"radial",label:Object(m.__)("Radial","kadence-blocks")}],onChange:e=>Rt({overlayGradType:e})}),Be&&Be[0]&&Be[0].overlayGradType&&"linear"===Be[0].overlayGradType&&Object(b.createElement)(U.RangeControl,{label:Object(m.__)("Gradient Angle","kadence-blocks"),value:Be&&Be[0]?Be[0].overlayGradAngle:180,onChange:e=>{Rt({overlayGradAngle:e})},min:0,max:360}),Be&&Be[0]&&Be[0].overlayGradType&&"radial"===Be[0].overlayGradType&&Object(b.createElement)(U.SelectControl,{label:Object(m.__)("Gradient Position","kadence-blocks"),value:Be&&Be[0]?Be[0].overlayBgImgPosition:"center center",options:[{value:"center top",label:Object(m.__)("Center Top","kadence-blocks")},{value:"center center",label:Object(m.__)("Center Center","kadence-blocks")},{value:"center bottom",label:Object(m.__)("Center Bottom","kadence-blocks")},{value:"left top",label:Object(m.__)("Left Top","kadence-blocks")},{value:"left center",label:Object(m.__)("Left Center","kadence-blocks")},{value:"left bottom",label:Object(m.__)("Left Bottom","kadence-blocks")},{value:"right top",label:Object(m.__)("Right Top","kadence-blocks")},{value:"right center",label:Object(m.__)("Right Center","kadence-blocks")},{value:"right bottom",label:Object(m.__)("Right Bottom","kadence-blocks")}],onChange:e=>Rt({overlayBgImgPosition:e})}),Object(b.createElement)(U.SelectControl,{label:Object(m.__)("Blend Mode","kadence-blocks"),value:Be&&Be[0]?Be[0].overlayBlendMode:"none",options:[{value:"normal",label:Object(m.__)("Normal","kadence-blocks")},{value:"multiply",label:Object(m.__)("Multiply","kadence-blocks")},{value:"screen",label:Object(m.__)("Screen","kadence-blocks")},{value:"overlay",label:Object(m.__)("Overlay","kadence-blocks")},{value:"darken",label:Object(m.__)("Darken","kadence-blocks")},{value:"lighten",label:Object(m.__)("Lighten","kadence-blocks")},{value:"color-dodge",label:Object(m.__)("Color Dodge","kadence-blocks")},{value:"color-burn",label:Object(m.__)("Color Burn","kadence-blocks")},{value:"difference",label:Object(m.__)("Difference","kadence-blocks")},{value:"exclusion",label:Object(m.__)("Exclusion","kadence-blocks")},{value:"hue",label:Object(m.__)("Hue","kadence-blocks")},{value:"saturation",label:Object(m.__)("Saturation","kadence-blocks")},{value:"color",label:Object(m.__)("Color","kadence-blocks")},{value:"luminosity",label:Object(m.__)("Luminosity","kadence-blocks")}],onChange:e=>Rt({overlayBlendMode:e})}),Object(b.createElement)("p",null,Object(m.__)("Notice: Blend Mode not supported in all browsers","kadence-blocks"))),Bl=Object(b.createElement)(Pt,{title:Object(m.__)("Text Color Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-row-text-color"},Object(b.createElement)(De,{label:Object(m.__)("Text Color","kadence-blocks"),value:Oe||"",default:"",onChange:e=>St({textColor:e})}),Object(b.createElement)(De,{label:Object(m.__)("Link Color","kadence-blocks"),value:je||"",default:"",onChange:e=>St({linkColor:e})}),Object(b.createElement)(De,{label:Object(m.__)("Link Hover Color","kadence-blocks"),value:_e||"",default:"",onChange:e=>St({linkHoverColor:e})})),Pl=(Object(b.createElement)(U.TabPanel,{className:"kt-inspect-tabs",activeClass:"active-tab",initialTabName:i,onSelect:e=>{St({currentTab:e})},tabs:[{name:"desk",title:Object(b.createElement)(U.Dashicon,{icon:"desktop"}),className:"kt-desk-tab"},{name:"tablet",title:Object(b.createElement)(U.Dashicon,{icon:"tablet"}),className:"kt-tablet-tab"},{name:"mobile",title:Object(b.createElement)(U.Dashicon,{icon:"smartphone"}),className:"kt-mobile-tab"}]},e=>{let t;return e.name&&(t="mobile"===e.name?wl:"tablet"===e.name?xl:Sl),Object(b.createElement)("div",{className:e.className,key:e.className},t)}),Object(b.createElement)(b.Fragment,null,Object(b.createElement)(E,{label:Object(m.__)("Mobile Height (px)","kadence-blocks"),value:ne||"",onChange:e=>{St({bottomSepHeightMobile:e})},min:0,max:500}),Object(b.createElement)(E,{label:Object(m.__)("Mobile Width (%)","kadence-blocks"),value:se||"",onChange:e=>{St({bottomSepWidthMobile:e})},min:100,max:400}))),Rl=Object(b.createElement)(b.Fragment,null,Object(b.createElement)(E,{label:Object(m.__)("Tablet Height (px)","kadence-blocks"),value:re||"",onChange:e=>{St({bottomSepHeightTab:e})},min:0,max:500}),Object(b.createElement)(E,{label:Object(m.__)("Tablet Width (%)","kadence-blocks"),value:de||"",onChange:e=>{St({bottomSepWidthTab:e})},min:100,max:400})),Al=Object(b.createElement)(b.Fragment,null,Object(b.createElement)(E,{label:Object(m.__)("Divider Height (px)","kadence-blocks"),value:oe,onChange:e=>{St({bottomSepHeight:e})},min:0,max:500}),Object(b.createElement)(E,{label:Object(m.__)("Divider Width (%)","kadence-blocks"),value:ce||"",onChange:e=>{St({bottomSepWidth:e})},min:100,max:400})),Ll=Object(b.createElement)(b.Fragment,null,Object(b.createElement)(E,{label:Object(m.__)("Mobile Height (px)","kadence-blocks"),value:ge||"",onChange:e=>{St({topSepHeightMobile:e})},min:0,max:500}),Object(b.createElement)(E,{label:Object(m.__)("Mobile Width (%)","kadence-blocks"),value:ve||"",onChange:e=>{St({topSepWidthMobile:e})},min:100,max:400})),Fl=Object(b.createElement)(b.Fragment,null,Object(b.createElement)(E,{label:Object(m.__)("Tablet Height (px)","kadence-blocks"),value:ue||"",onChange:e=>{St({topSepHeightTab:e})},min:0,max:500}),Object(b.createElement)(E,{label:Object(m.__)("Tablet Width (%)","kadence-blocks"),value:ke||"",onChange:e=>{St({topSepWidthTab:e})},min:100,max:400})),Wl=Object(b.createElement)(b.Fragment,null,Object(b.createElement)(E,{label:Object(m.__)("Divider Height (px)","kadence-blocks"),value:pe,onChange:e=>{St({topSepHeight:e})},min:0,max:500}),Object(b.createElement)(E,{label:Object(m.__)("Divider Width (%)","kadence-blocks"),value:he||"",onChange:e=>{St({topSepWidth:e})},min:100,max:400})),Dl=Object(b.createElement)(b.Fragment,null,Object(b.createElement)(Ge.a,{icons:["ct","cti","ctd","ctdi","sltl","sltr","crv","crvi","crvl","crvli","crvr","crvri","wave","wavei","waves","wavesi","mtns","littri","littrii","threelevels","threelevelsi"],iconsPerPage:30,value:"none"===be?"":be,onChange:e=>St({topSep:e}),appendTo:"body",showSearch:!1,renderFunc:e=>Object(b.createElement)("svg",{className:"top-icon",viewBox:"0 0 1000 100",preserveAspectRatio:"none",style:{fill:"#000000"}},Ol[e]),theme:"dividers",noSelectedPlaceholder:Object(m.__)("Select Divider","kadence-blocks"),isMulti:!1}),Object(b.createElement)(De,{label:Object(m.__)("Divider Color"),value:me||"",default:"#ffffff",onChange:e=>St({topSepColor:e})}),Object(b.createElement)(To,{label:Object(m.__)("Size Controls","kadence-blocks"),desktopChildren:Wl,tabletChildren:Fl,mobileChildren:Ll})),$l=Object(b.createElement)(b.Fragment,null,Object(b.createElement)(Ge.a,{icons:["ct","cti","ctd","ctdi","sltl","sltr","crv","crvi","crvl","crvli","crvr","crvri","wave","wavei","waves","wavesi","mtns","littri","littrii","threelevels","threelevelsi"],iconsPerPage:30,value:"none"===ae?"":ae,onChange:e=>St({bottomSep:e}),appendTo:"body",showSearch:!1,renderFunc:e=>Object(b.createElement)("svg",{viewBox:"0 0 1000 100",preserveAspectRatio:"none",style:{fill:"#000000"}},fl[e]),theme:"dividers",noSelectedPlaceholder:Object(m.__)("Select Divider","kadence-blocks"),isMulti:!1}),Object(b.createElement)(De,{label:Object(m.__)("Divider Color","kadence-blocks"),value:ie||"",default:"#ffffff",onChange:e=>St({bottomSepColor:e})}),Object(b.createElement)(To,{label:Object(m.__)("Size Controls","kadence-blocks"),desktopChildren:Al,tabletChildren:Rl,mobileChildren:Pl})),Ul=[[{icon:Object(b.createElement)(pc,{value:"top",isPressed:"top"===B}),title:Object(m.__)("Align Top","kadence-blocks"),isActive:"top"===B,onClick:()=>St({verticalAlignment:"top"})}],[{icon:Object(b.createElement)(pc,{value:"middle",isPressed:"middle"===B}),title:Object(m.__)("Align Middle","kadence-blocks"),isActive:"middle"===B,onClick:()=>St({verticalAlignment:"middle"})}],[{icon:Object(b.createElement)(pc,{value:"bottom",isPressed:"bottom"===B}),title:Object(m.__)("Align Bottom","kadence-blocks"),isActive:"bottom"===B,onClick:()=>St({verticalAlignment:"bottom"})}]];return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(Ce.BlockControls,null,Object(b.createElement)(Ce.BlockAlignmentToolbar,{value:Ye,controls:["center","wide","full"],onChange:e=>St({align:e})}),this.showSettings("allSettings")&&this.showSettings("background")&&Object(b.createElement)(U.Toolbar,null,Object(b.createElement)(Ce.MediaUpload,{onSelect:jl,type:"image",value:null,render:e=>{let{open:t}=e;return Object(b.createElement)(U.Button,{className:"components-toolbar__control",label:Object(m.__)("Background Image","kadence-blocks"),icon:Tl.a,onClick:t})}})),Object(b.createElement)(U.Toolbar,null,Object(b.createElement)(U.Button,{className:"kb-content-width",icon:$e?Object(b.createElement)(hc,{value:"theme"}):Object(b.createElement)(hc,{value:"normal"}),onClick:()=>{this.state.contentWidthPop||this.setState({contentWidthPop:!0})},isPressed:!!zt,"aria-haspopup":"true","aria-expanded":zt,label:Object(m.__)("Inner Content Width","kadence-blocks"),showTooltip:!0}),zt&&Object(b.createElement)(U.Popover,{className:"kb-content-width-popover",position:"bottom center",onClick:()=>{},expandOnMobile:!0,onClose:()=>{this.setState({contentWidthPop:!1})}},Object(b.createElement)("div",{className:"kb-content-width-popover-inner-wrap"},Object(b.createElement)(U.ToggleControl,{label:Object(m.__)("Use Theme Content Inner Width?","kadence-blocks"),checked:void 0!==$e&&$e,onChange:e=>St({inheritMaxWidth:e})}),!0!==$e&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)(Z,{label:Object(m.__)("Custom Content Max Width","kadence-blocks"),value:le||"",onChange:e=>{St({maxWidth:e})},tabletValue:void 0!==jt&&void 0!==jt[0]?jt[0]:"",onChangeTablet:e=>{St({responsiveMaxWidth:[e,void 0!==jt&&void 0!==jt[1]?jt[1]:""]})},mobileValue:void 0!==jt&&void 0!==jt[1]?jt[1]:"",onChangeMobile:e=>{St({responsiveMaxWidth:[void 0!==jt&&void 0!==jt[0]?jt[0]:"",e]})},min:0,max:Lt,step:1,unit:Te||"px",onUnit:e=>{St({maxWidthUnit:e})},units:["px","%","vw"]}))))),Object(b.createElement)(U.ToolbarGroup,{isCollapsed:!0,icon:Object(b.createElement)(pc,{value:B}),label:Object(m.__)("Vertical Align","kadence-blocks"),controls:Ul})),this.showSettings("allSettings")&&Object(b.createElement)(Ce.InspectorControls,null,Object(b.createElement)(Nn,{desktopChildren:Sl,tabletChildren:xl,mobileChildren:wl}),Object(b.createElement)("div",{className:"kt-sidebar-settings-spacer"}),this.showSettings("dividers")&&Object(b.createElement)(Pt,{title:Object(m.__)("Dividers","kadence-blocks"),initialOpen:!1,panelName:"kb-row-dividers"},Object(b.createElement)(U.TabPanel,{className:"kt-inspect-tabs kt-hover-tabs",activeClass:"active-tab",tabs:[{name:"bottomdivider",title:Object(m.__)("Bottom","kadence-blocks"),className:"kt-bottom-tab"},{name:"topdivider",title:Object(m.__)("Top","kadence-blocks"),className:"kt-top-tab"}]},e=>{let t;return e.name&&(t="topdivider"===e.name?Dl:$l),Object(b.createElement)("div",{className:e.className,key:e.className},t)})),this.showSettings("textColor")&&Bl,this.showSettings("structure")&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)(Pt,{title:Object(m.__)("Structure Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-row-structure-settings"},Object(b.createElement)(U.SelectControl,{label:Object(m.__)("Container HTML tag","kadence-blocks"),value:ee,options:[{value:"div",label:"div"},{value:"header",label:"header"},{value:"section",label:"section"},{value:"article",label:"article"},{value:"main",label:"main"},{value:"aside",label:"aside"},{value:"footer",label:"footer"}],onChange:e=>St({htmlTag:e})}),Object(b.createElement)("div",{class:"row-min-height-settings"},Object(b.createElement)(U.ButtonGroup,{className:"kt-size-type-options","aria-label":Object(m.__)("Min Height Type","kadence-blocks")},k()([{key:"px",name:"px"},{key:"vw",name:"vw"},{key:"vh",name:"vh"}],e=>{let{name:t,key:l}=e;return Object(b.createElement)(U.Button,{key:l,className:"kt-size-btn",isSmall:!0,isPrimary:Se===l,"aria-pressed":Se===l,onClick:()=>St({minHeightUnit:l})},t)})),Object(b.createElement)("h2",{className:"kt-heading-size-title"},Object(m.__)("Minimum Height","kadence-blocks")),Object(b.createElement)(U.TabPanel,{className:"kt-size-tabs",activeClass:"active-tab",tabs:[{name:"desk",title:Object(b.createElement)(U.Dashicon,{icon:"desktop"}),className:"kt-desk-tab"},{name:"tablet",title:Object(b.createElement)(U.Dashicon,{icon:"tablet"}),className:"kt-tablet-tab"},{name:"mobile",title:Object(b.createElement)(U.Dashicon,{icon:"smartphone"}),className:"kt-mobile-tab"}]},e=>{let t;return e.name&&(t="mobile"===e.name?Object(b.createElement)(E,{label:Object(m.__)("Mobile Min Height","kadence-blocks"),value:et,onChange:e=>{St({minHeightMobile:e})},min:0,max:At}):"tablet"===e.name?Object(b.createElement)(E,{label:Object(m.__)("Tablet Min Height","kadence-blocks"),value:Xe,onChange:e=>{St({minHeightTablet:e})},min:0,max:At}):Object(b.createElement)(E,{label:Object(m.__)("Min Height","kadence-blocks"),value:te,onChange:e=>{St({minHeight:e})},min:0,max:At})),Object(b.createElement)("div",{className:e.className,key:e.className},t)})),Object(b.createElement)(U.ToggleControl,{label:Object(m.__)("Content Max Width Inherit from Theme?","kadence-blocks"),checked:void 0!==$e&&$e,onChange:e=>St({inheritMaxWidth:e})}),!0!==$e&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)(Z,{label:Object(m.__)("Custom Content Max Width","kadence-blocks"),value:le||"",onChange:e=>{St({maxWidth:e})},tabletValue:void 0!==jt&&void 0!==jt[0]?jt[0]:"",onChangeTablet:e=>{St({responsiveMaxWidth:[e,void 0!==jt&&void 0!==jt[1]?jt[1]:""]})},mobileValue:void 0!==jt&&void 0!==jt[1]?jt[1]:"",onChangeMobile:e=>{St({responsiveMaxWidth:[void 0!==jt&&void 0!==jt[0]?jt[0]:"",e]})},min:0,max:Lt,step:1,unit:Te||"px",onUnit:e=>{St({maxWidthUnit:e})},units:["px","%","vw","rem"]})),Object(b.createElement)(U.ToggleControl,{label:Object(m.__)("Inner Column Height 100%","kadence-blocks"),checked:void 0!==Pe&&Pe,onChange:e=>St({columnsInnerHeight:e})}),Object(b.createElement)(U.RangeControl,{label:Object(m.__)("Z-Index Control","kadence-blocks"),value:Re,onChange:e=>{St({zIndex:e})},min:-200,max:2e3})),Object(b.createElement)(Pt,{title:Object(m.__)("Visibility Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-row-visibility-settings"},Object(b.createElement)(U.ToggleControl,{label:Object(m.__)("Hide on Desktop","kadence-blocks"),checked:void 0!==lt&<,onChange:e=>St({vsdesk:e})}),Object(b.createElement)(U.ToggleControl,{label:Object(m.__)("Hide on Tablet","kadence-blocks"),checked:void 0!==at&&at,onChange:e=>St({vstablet:e})}),Object(b.createElement)(U.ToggleControl,{label:Object(m.__)("Hide on Mobile","kadence-blocks"),checked:void 0!==it&&it,onChange:e=>St({vsmobile:e})}),Object(b.createElement)("h2",null,Object(m.__)("User Visibility Settings","kadence-blocks")),Object(b.createElement)(U.ToggleControl,{label:Object(m.__)("Hide from Logged in Users","kadence-blocks"),checked:void 0!==nt&&nt,onChange:e=>St({loggedIn:e})}),nt&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)("div",{className:"components-base-control"},Object(b.createElement)("span",{className:"kadence-sidebar-label"},Object(m.__)("Optional: Hide from Specific User Roles","kadence-blocks")),Object(b.createElement)("div",{className:"kt-meta-select-wrap"},Object(b.createElement)(h.a,{options:kadence_blocks_user_params&&kadence_blocks_user_params.userVisibility?kadence_blocks_user_params.userVisibility:[],value:ot,isMulti:!0,maxMenuHeight:200,isClearable:!0,placeholder:"",onChange:e=>St({loggedInUser:e})}))),Object(b.createElement)("div",{className:"components-base-control"},Object(b.createElement)("span",{className:"kadence-sidebar-label"},Object(m.__)("Optional: Show Only to Specific User Roles","kadence-blocks")),Object(b.createElement)("div",{className:"kt-meta-select-wrap"},Object(b.createElement)(h.a,{options:kadence_blocks_user_params&&kadence_blocks_user_params.userVisibility?kadence_blocks_user_params.userVisibility:[],value:ct,isMulti:!0,maxMenuHeight:200,isClearable:!0,placeholder:"",onChange:e=>St({loggedInShow:e})})))),Object(b.createElement)(U.ToggleControl,{label:Object(m.__)("Hide from Loggedout Users","kadence-blocks"),checked:void 0!==rt&&rt,onChange:e=>St({loggedOut:e})}),kadence_blocks_params&&kadence_blocks_params.rcp_access&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)(U.ToggleControl,{label:Object(m.__)("Restrict based on Membership","kadence-blocks"),checked:void 0!==dt&&dt,onChange:e=>St({rcpMembership:e})}),dt&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)(U.SelectControl,{label:Object(m.__)("Minimum Access Level","kadence-blocks"),value:st,options:kadence_blocks_params&&kadence_blocks_params.rcp_access?kadence_blocks_params.rcp_access:[],onChange:e=>St({rcpAccess:e})}),Object(b.createElement)("div",{className:"components-base-control"},Object(b.createElement)("span",{className:"kadence-sidebar-label"},Object(m.__)("Specific Memberships","kadence-blocks")),Object(b.createElement)("div",{className:"kt-meta-select-wrap"},Object(b.createElement)(h.a,{options:kadence_blocks_params&&kadence_blocks_params.rcp_levels?kadence_blocks_params.rcp_levels:[],value:bt,isMulti:!0,maxMenuHeight:200,isClearable:!0,placeholder:"Any Membership",onChange:e=>St({rcpMembershipLevel:e})})))))))),(Oe||je||_e||l||Re||_t)&&Object(b.createElement)("style",null,Oe?`#kt-layout-id${t}, #kt-layout-id${t} p, #kt-layout-id${t} h1, #kt-layout-id${t} h2, #kt-layout-id${t} h3, #kt-layout-id${t} h4, #kt-layout-id${t} h5, #kt-layout-id${t} h6 { color: ${pa(Oe)}; }`:"",je?`#kt-layout-id${t} a { color: ${pa(je)}; }`:"",_e?`#kt-layout-id${t} a:hover { color: ${pa(_e)}; }`:"",l&&2===l&&Object(b.createElement)(b.Fragment,null,ye||al?`#kt-layout-id${t} > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="kadence/column"]:nth-child(1) { flex: 0 1 ${parseFloat(ol)}%; }`:"",fe||il?`#kt-layout-id${t} > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="kadence/column"]:nth-child(2) { flex: 0 1 ${parseFloat(nl)}%; }`:""),l&&3===l&&Object(b.createElement)(b.Fragment,null,ye||al?`#kt-layout-id${t} > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="kadence/column"]:nth-child(1) { flex: 0 1 ${parseFloat(ol)}%; }`:"",fe||il?`#kt-layout-id${t} > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="kadence/column"]:nth-child(2) { flex: 0 1 ${parseFloat(nl)}%; }`:"",fe||il?`#kt-layout-id${t} > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="kadence/column"]:nth-child(3) { flex: 0 1 ${parseFloat(rl)}%; }`:""),Re&&Re>30&&Object(b.createElement)(b.Fragment,null,".components-popover.block-editor-block-list__block-popover { z-index: "+(Re+1e3),";"),_t&&Object(b.createElement)(b.Fragment,null,_t.replace(/selector/g,".kb-row-id-"+t))),Object(b.createElement)(dc,Ke()({backgroundClasses:gl},this.props),Object(b.createElement)(nc,this.props),!o&&Object(b.createElement)("div",{className:"kt-select-layout"},Object(b.createElement)("div",{className:"kt-select-layout-title"},Object(m.__)("Select Your Layout")),Object(b.createElement)(U.ButtonGroup,{"aria-label":Object(m.__)("Column Layout")},k()(vl,e=>{let{name:t,key:l,icon:a,col:i}=e;return Object(b.createElement)(U.Tooltip,{text:t},Object(b.createElement)(U.Button,{key:l,className:"kt-layout-btn",isSmall:!0,onClick:()=>St({colLayout:l,columns:i})},a))})),Object(b.createElement)(ac,{clientId:Ct,open:!!Ot,onlyModal:!!Ot})),o&&"none"!==be&&""!==be&&Object(b.createElement)("div",{className:"kt-row-layout-top-sep kt-row-sep-type-"+be,style:{height:Qt+"px"}},Object(b.createElement)("svg",{style:{fill:pa(me),width:Jt+"%"},viewBox:"0 0 1000 100",preserveAspectRatio:"none"},Ol[be])),Object(b.createElement)("div",{style:{height:"1px"}}),o&&this.showSettings("allSettings")&&this.showSettings("paddingMargin")&&(!Je||Je&&"px"===Je)&&Object(b.createElement)(U.ResizableBox,{size:{height:Vt},minHeight:"0",handleClasses:{top:"wp-block-kadence-rowlayout-handler-top",bottom:"wp-block-kadence-rowlayout-handler-bottom"},enable:{top:!0,right:!1,bottom:!1,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},className:"kt-top-padding-resize kt-padding-resize-box",onResize:(e,l,a,i)=>{e.preventDefault(),Mt.getElementById("row-top-"+t).innerHTML=parseInt(Vt+i.height,10)+"px"},onResizeStop:(e,t,l,a)=>{"Mobile"===this.props.getPreviewDevice?St({topPaddingM:parseInt(Vt+a.height,10)}):"Tablet"===this.props.getPreviewDevice?St({tabletPadding:[parseInt(Vt+a.height,10),we?we[1]:"",we?we[2]:"",we?we[3]:""]}):St({topPadding:parseInt(Vt+a.height,10)}),wt(!0)},onResizeStart:()=>{wt(!1)}},t&&Object(b.createElement)("div",{className:"kt-row-padding"},Object(b.createElement)("span",{id:"row-top-"+t},Vt+"px"))),o&&(!this.showSettings("allSettings")||!this.showSettings("paddingMargin")||Je&&"px"!==Je)&&Object(b.createElement)(b.Fragment,null,t&&Object(b.createElement)("div",{className:"kt-row-padding kb-static-row-padding",style:{paddingTop:Vt+(Je||"px")}},Object(b.createElement)("div",{className:"kb-row-padding-container"},Object(b.createElement)("span",{id:"row-top-"+t},Vt+(Je||"px"))))),o&&Object(b.createElement)("div",{className:"innerblocks-wrap"+($e?" kb-theme-content-width":""),id:"kt-layout-id"+t,style:{maxWidth:!$e&&Kt?Kt+Te:void 0,paddingLeft:qt+(Je||"px"),paddingRight:Zt+(Je||"px")}},o&&"row"!==o&&l&&2===l&&this.showSettings("allSettings")&&"Desktop"===this.props.getPreviewDevice&&this.showSettings("columnResize")&&Object(b.createElement)("div",{className:"kt-resizeable-column-container",style:{left:qt+(Je||"px"),right:Zt+(Je||"px")}},Object(b.createElement)(Tn.a,null,e=>{let{width:l}=e;return Object(b.createElement)(U.ResizableBox,{className:"editor-row-first-column__resizer",size:{width:ye?ye+"%":cl},minWidth:"10%",maxWidth:"90%",enable:{right:!0},handleClasses:{right:"components-resizable-box__handle components-resizable-box__handle-right"},grid:ze?[l/1e3,1]:[l/20,1],onResize:tl,onResizeStop:ll,axis:"x"},ze&&Object(b.createElement)(U.Tooltip,{text:Object(m.__)("Switch to 5% step resizing")},Object(b.createElement)(U.Button,{className:"kt-fluid-grid-btn",isSmall:!0,onClick:()=>St({columnsUnlocked:!1})},Object(b.createElement)("svg",{viewBox:"0 0 20 20",width:"20",height:"20",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},Object(b.createElement)("path",{d:"M4.217,10.611l0,2.7l-3.31,-3.311l3.31,-3.311l0,2.7l11.566,0l0,-2.7l3.31,3.311l-3.31,3.311l0,-2.7l-11.566,0Z"})))),!ze&&Object(b.createElement)(U.Tooltip,{text:Object(m.__)("Switch to fluid resizing")},Object(b.createElement)(U.Button,{className:"kt-fluid-grid-btn",isSmall:!0,onClick:()=>St({columnsUnlocked:!0})},Object(b.createElement)("svg",{viewBox:"0 0 20 20",width:"20",height:"20",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"1.5"},Object(b.createElement)("path",{d:"M13.967,10.611l0.001,-1.222l1.815,0l0,-2.7l3.31,3.311l-3.31,3.311l0,-2.7l-1.816,0Z"}),Object(b.createElement)("path",{d:"M8.918,10.611l-0.022,-1.222l2.15,0l-0.031,1.222l-2.097,0Z"}),Object(b.createElement)("path",{d:"M4.217,10.611l0,2.7l-3.31,-3.311l3.31,-3.311l0,2.7l1.693,0l-0.028,1.222l-1.665,0Z"}),Object(b.createElement)("circle",{cx:"12.427",cy:"9.997",r:"1.419",fill:"none",stroke:"#0085ba"}),Object(b.createElement)("circle",{cx:"7.456",cy:"9.997",r:"1.419",fill:"none",stroke:"#0085ba"})))),Object(b.createElement)("span",{id:"left-column-width-"+t,className:"left-column-width-size column-width-size-handle"},ye?ye+"%":cl),Object(b.createElement)("span",{id:"right-column-width-"+t,className:"right-column-width-size column-width-size-handle"},ye?Math.round(10*(100-ye))/10+"%":Math.abs(parseFloat(cl)-100)+"%"))})),o&&"row"!==o&&l&&3===l&&this.showSettings("allSettings")&&"Desktop"===this.props.getPreviewDevice&&this.showSettings("columnResize")&&Object(b.createElement)(ir,{uniqueID:t,onSetState:e=>this.setState(e),onSetAttributes:e=>St(e),firstColumnWidth:ye,secondColumnWidth:fe,widthString:ol,secondWidthString:nl,columnsUnlocked:ze,leftPadding:qt,rightPadding:Zt}),Object(b.createElement)(Ce.InnerBlocks,{template:vc(l),templateLock:"all",orientation:"horizontal",renderAppender:!1,allowedBlocks:kc})),o&&this.showSettings("allSettings")&&this.showSettings("paddingMargin")&&(!Je||Je&&"px"===Je)&&Object(b.createElement)(U.ResizableBox,{size:{height:Gt},minHeight:"0",handleClasses:{top:"wp-block-kadence-rowlayout-handler-top",bottom:"wp-block-kadence-rowlayout-handler-bottom"},enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},className:"kt-bottom-padding-resize kt-padding-resize-box",onResize:(e,l,a,i)=>{Mt.getElementById("row-bottom-"+t).innerHTML=parseInt(Gt+i.height,10)+"px"},onResizeStop:(e,t,l,a)=>{"Mobile"===this.props.getPreviewDevice?St({bottomPaddingM:parseInt(Gt+a.height,10)}):"Tablet"===this.props.getPreviewDevice?St({tabletPadding:[we?we[0]:"",we?we[1]:"",parseInt(Gt+a.height,10),we?we[3]:""]}):St({bottomPadding:parseInt(Gt+a.height,10)})},onResizeStart:()=>{}},t&&Object(b.createElement)("div",{className:"kt-row-padding"},Object(b.createElement)("span",{id:"row-bottom-"+t},Gt+"px"))),o&&(!this.showSettings("allSettings")||!this.showSettings("paddingMargin")||Je&&"px"!==Je)&&Object(b.createElement)(b.Fragment,null,t&&Object(b.createElement)("div",{className:"kt-row-padding kb-static-row-padding",style:{paddingBottom:Gt+(Je||"px")}},Object(b.createElement)("div",{className:"kb-row-padding-container"},Object(b.createElement)("span",{id:"row-bottom-"+t},Gt+(Je||"px"))))),Object(b.createElement)("div",{style:{height:"1px"}}),o&&"none"!==ae&&""!==ae&&Object(b.createElement)("div",{className:"kt-row-layout-bottom-sep kt-row-sep-type-"+ae,style:{height:Yt+"px"}},Object(b.createElement)("svg",{style:{fill:pa(ie),width:Xt+"%"},viewBox:"0 0 1000 100",preserveAspectRatio:"none"},fl[ae]))))}}var Oc=Object(w.compose)([Object(a.withSelect)((e,t)=>{const{clientId:l}=t,{getBlock:a}=e("core/block-editor"),i=a(l);return{rowBlock:i,realColumnCount:i.innerBlocks.length,getPreviewDevice:e("kadenceblocks/data").getPreviewDeviceType()}}),Object(a.withDispatch)((e,t,l)=>{let{clientId:a}=t,{select:i}=l;const{replaceInnerBlocks:o}=e("core/block-editor"),{getBlocks:n,getBlockAttributes:r}=i("core/block-editor");return{updateColumns(e,t){let l=n(a);if(t>e){const a=l.length;for(let e=0;e<a;e++)l[e].attributes.id=e+1;l=[...l,...io()(t-e,t=>Object(gt.createBlock)("kadence/column",{id:e+t+1}))]}else l=Sn()(l,e-t);o(a,l,!1)}}})])(fc);const{Component:jc,Fragment:_c}=wp.element;var wc=[{attributes:{uniqueID:{type:"string",default:""},columns:{type:"number",default:2},mobileLayout:{type:"string",default:"row"},tabletLayout:{type:"string",default:"inherit"},collapseOrder:{type:"string",default:"left-to-right"},collapseGutter:{type:"string",default:"default"},columnGutter:{type:"string",default:"default"},colLayout:{type:"string",default:""},currentTab:{type:"string",default:"desk"},currentOverlayTab:{type:"string",default:"normal"},htmlTag:{type:"string",default:"div"},minHeight:{type:"number",default:0},maxWidth:{type:"number",default:""},topPadding:{type:"number",default:25},bottomPadding:{type:"number",default:25},leftPadding:{type:"number",default:""},rightPadding:{type:"number",default:""},topPaddingM:{type:"number",default:""},bottomPaddingM:{type:"number",default:""},leftPaddingM:{type:"number",default:""},rightPaddingM:{type:"number",default:""},topMargin:{type:"number",default:""},bottomMargin:{type:"number",default:""},topMarginM:{type:"number",default:""},bottomMarginM:{type:"number",default:""},bgColor:{type:"string",default:""},bgImg:{type:"string",default:""},bgImgID:{type:"string",default:""},bgImgSize:{type:"string",default:"cover"},bgImgPosition:{type:"string",default:"center center"},bgImgAttachment:{type:"string",default:"scroll"},bgImgRepeat:{type:"string",default:"no-repeat"},overlay:{type:"string",default:""},overlaySecond:{type:"string",default:"#00B5E2"},overlayFirstOpacity:{type:"number",default:""},overlaySecondOpacity:{type:"number",default:""},overlayGradLoc:{type:"number",default:0},overlayGradLocSecond:{type:"number",default:100},overlayGradType:{type:"string",default:"linear"},overlayGradAngle:{type:"number",default:180},overlayBgImg:{type:"string",default:""},overlayBgImgID:{type:"string",default:""},overlayBgImgSize:{type:"string",default:"cover"},overlayBgImgPosition:{type:"string",default:"center center"},overlayBgImgAttachment:{type:"string",default:"scroll"},overlayBgImgRepeat:{type:"string",default:"no-repeat"},overlayOpacity:{type:"number",default:30},overlayBlendMode:{type:"string",default:"none"},blockAlignment:{type:"string",default:"none"},align:{type:"string",default:"none"},verticalAlignment:{type:"string",default:"top"},topSep:{type:"string",default:"none"},topSepColor:{type:"string",default:"#ffffff"},topSepFlip:{type:"boolean",default:!1},topSepHeight:{type:"number",default:100},topSepHeightTab:{type:"number",default:""},topSepHeightMobile:{type:"number",default:""},bottomSep:{type:"string",default:"none"},bottomSepColor:{type:"string",default:"#ffffff"},bottomSepFlip:{type:"boolean",default:!1},bottomSepHeight:{type:"number",default:100},bottomSepWidth:{type:"number",default:100},bottomSepWidthTab:{type:"number",default:""},bottomSepWidthMobile:{type:"number",default:""},bottomSepHeightTab:{type:"number",default:""},bottomSepHeightMobile:{type:"number",default:""},firstColumnWidth:{type:"number"},secondColumnWidth:{type:"number"},textColor:{type:"string",default:""},linkColor:{type:"string",default:""},linkHoverColor:{type:"string",default:""},tabletPadding:{type:"array",default:["","","",""]},topMarginT:{type:"number",default:""},bottomMarginT:{type:"number",default:""},marginUnit:{type:"string",default:"px"},minHeightUnit:{type:"string",default:"px"},maxWidthUnit:{type:"string",default:"px"},columnsUnlocked:{type:"bool",default:!1},tabletBackground:{type:"array",default:[{enable:!1,bgColor:"",bgImg:"",bgImgID:"",bgImgSize:"cover",bgImgPosition:"center center",bgImgAttachment:"scroll",bgImgRepeat:"no-repeat",forceOverDesk:!1}]},tabletOverlay:{type:"array",default:[{enable:!1,currentOverlayTab:"normal",overlay:"",overlaySecond:"#00B5E2",overlayGradLoc:0,overlayGradLocSecond:100,overlayGradType:"linear",overlayGradAngle:180,overlayBgImg:"",overlayBgImgID:"",overlayBgImgSize:"cover",overlayBgImgPosition:"center center",overlayBgImgAttachment:"scroll",overlayBgImgRepeat:"no-repeat",overlayOpacity:30,overlayBlendMod:"none"}]},mobileBackground:{type:"array",default:[{enable:!1,bgColor:"",bgImg:"",bgImgID:"",bgImgSize:"cover",bgImgPosition:"center center",bgImgAttachment:"scroll",bgImgRepeat:"no-repeat",forceOverDesk:!1}]},mobileOverlay:{type:"array",default:[{enable:!1,currentOverlayTab:"normal",overlay:"",overlaySecond:"#00B5E2",overlayGradLoc:0,overlayGradLocSecond:100,overlayGradType:"linear",overlayGradAngle:180,overlayBgImg:"",overlayBgImgID:"",overlayBgImgSize:"cover",overlayBgImgPosition:"center center",overlayBgImgAttachment:"scroll",overlayBgImgRepeat:"no-repeat",overlayOpacity:30,overlayBlendMod:"none"}]},columnsInnerHeight:{type:"bool",default:!1},topSepWidth:{type:"number",default:""},topSepWidthTablet:{type:"number",default:""},topSepWidthMobile:{type:"number",default:""},backgroundInline:{type:"bool",default:!1},backgroundSettingTab:{type:"string",default:"normal"},backgroundSliderCount:{type:"number",default:1},backgroundSlider:{type:"array",default:[{bgColor:"",bgImg:"",bgImgID:""}]},backgroundSliderSettings:{type:"array",default:[{arrowStyle:"none",dotStyle:"dark",autoPlay:!0,speed:7e3,fade:!0,tranSpeed:400}]},backgroundVideoType:{type:"string",default:"local"},backgroundVideo:{type:"array",default:[{youTube:"",local:"",localID:"",vimeo:"",ratio:"16/9",btns:!1,loop:!0,mute:!0}]},zIndex:{type:"number",default:""},paddingUnit:{type:"string",default:"px"},inheritMaxWidth:{type:"bool",default:!1},noCustomDefaults:{type:"bool",default:!1},isPrebuiltModal:{type:"bool",default:!1},minHeightTablet:{type:"number",default:""},minHeightMobile:{type:"number",default:""},bgColorClass:{type:"string",default:""},vsdesk:{type:"bool",default:!1},vstablet:{type:"bool",default:!1},vsmobile:{type:"bool",default:!1},loggedIn:{type:"bool",default:!1},loggedInUser:{type:"array"},loggedInShow:{type:"array"},loggedOut:{type:"bool",default:!1},borderWidth:{type:"array",default:["","","",""]},tabletBorderWidth:{type:"array",default:["","","",""]},mobileBorderWidth:{type:"array",default:["","","",""]},borderRadius:{type:"array",default:["","","",""]},tabletBorderRadius:{type:"array",default:["","","",""]},mobileBorderRadius:{type:"array",default:["","","",""]},border:{type:"string",default:""},tabletBorder:{type:"string",default:""},mobileBorder:{type:"string",default:""},responsiveMaxWidth:{type:"array",default:["",""]},kadenceBlockCSS:{type:"string",default:""},kadenceDynamic:{type:"object"},kadenceConditional:{type:"object"}},save:e=>{let{attributes:t}=e;const{columns:l,blockAlignment:a,inheritMaxWidth:i,align:o,mobileLayout:n,currentOverlayTab:r,overlayBgImg:c,overlay:s,colLayout:d,tabletLayout:p,collapseOrder:g,uniqueID:u,columnGutter:h,collapseGutter:v,bgColor:k,bgImg:y,verticalAlignment:f,htmlTag:O,bottomSep:j,bottomSepColor:_,topSep:w,topSepColor:x,firstColumnWidth:E,secondColumnWidth:S,overlayBgImgAttachment:C,bgImgAttachment:T,columnsInnerHeight:N,backgroundInline:z,backgroundSettingTab:M,backgroundSliderCount:I,backgroundSliderSettings:H,backgroundSlider:B,bgImgSize:P,bgImgPosition:R,bgImgRepeat:A,backgroundVideoType:L,backgroundVideo:F,bgColorClass:W,vsdesk:D,vstablet:$,vsmobile:U}=t;let V,Z;"ct"===j?V=Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z"}):"cti"===j?V=Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"}):"ctd"===j?V=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,20l-500,78l-500,-78l0,80l1000,0l0,-80Z"})):"ctdi"===j?V=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M500,2l500,78l0,20l-1000,0l0,-20l500,-78Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"})):"sltl"===j?V=Object(b.createElement)("path",{d:"M1000,0l-1000,100l1000,0l0,-100Z"}):"sltli"===j?V=Object(b.createElement)("path",{d:"M0,100l1000,-100l-1000,0l0,100Z"}):"sltr"===j?V=Object(b.createElement)("path",{d:"M0,0l1000,100l-1000,0l0,-100Z"}):"sltri"===j?V=Object(b.createElement)("path",{d:"M1000,100l-1000,-100l1000,0l0,100Z"}):"crv"===j?V=Object(b.createElement)("path",{d:"M1000,100c0,0 -270.987,-98 -500,-98c-229.013,0 -500,98 -500,98l1000,0Z"}):"crvi"===j?V=Object(b.createElement)("path",{d:"M1000,0c0,0 -270.987,98 -500,98c-229.013,0 -500,-98 -500,-98l0,100l1000,0l0,-100Z"}):"crvl"===j?V=Object(b.createElement)("path",{d:"M1000,100c0,0 -420.987,-98 -650,-98c-229.013,0 -350,98 -350,98l1000,0Z"}):"crvli"===j?V=Object(b.createElement)("path",{d:"M1000,0c0,0 -420.987,98 -650,98c-229.013,0 -350,-98 -350,-98l0,100l1000,0l0,-100Z"}):"crvr"===j?V=Object(b.createElement)("path",{d:"M1000,100c0,0 -120.987,-98 -350,-98c-229.013,0 -650,98 -650,98l1000,0Z"}):"crvri"===j?V=Object(b.createElement)("path",{d:"M1000,0c0,0 -120.987,98 -350,98c-229.013,0 -650,-98 -650,-98l0,100l1000,0l0,-100Z"}):"wave"===j?V=Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}):"wavei"===j?V=Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}):"waves"===j?V=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,73 -500,73c-154.895,0 -250,-45 -250,-45l0,70l1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,68 -500,68c-154.895,0 -250,-65 -250,-65l0,95l1000,0l0,-60Z",style:{opacity:.4}})):"wavesi"===j?V=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,73 500,73c154.895,0 250,-45 250,-45l0,70l-1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,68 500,68c154.895,0 250,-65 250,-65l0,95l-1000,0l0,-60Z",style:{opacity:.4}})):"mtns"===j?V=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,50l-182.69,-45.286l-292.031,61.197l-190.875,-41.075l-143.748,28.794l-190.656,-23.63l0,70l1000,0l0,-50Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,57l-152.781,-22.589l-214.383,19.81l-159.318,-21.471l-177.44,25.875l-192.722,5.627l-103.356,-27.275l0,63.023l1000,0l0,-43Z"})):"littri"===j?V=Object(b.createElement)("path",{d:"M500,2l25,98l-50,0l25,-98Z"}):"littrii"===j?V=Object(b.createElement)("path",{d:"M1000,100l-1000,0l0,-100l475,0l25,98l25,-98l475,0l0,100Z"}):"threelevels"===j?V=Object(b.createElement)(_c,null,Object(b.createElement)("path",{style:{opacity:.33},d:"M0 95L1000 0v100H0v-5z"}),Object(b.createElement)("path",{style:{opacity:.66},d:"M0 95l1000-67.944V100H0v-5z"}),Object(b.createElement)("path",{d:"M0 95l1000-40.887V100H0v-5z"})):"threelevelsi"===j&&(V=Object(b.createElement)(_c,null,Object(b.createElement)("path",{style:{opacity:.33},d:"M1000 95L0 0v100h1000v-5z"}),Object(b.createElement)("path",{style:{opacity:.66},d:"M1000 95L0 27.056V100h1000v-5z"}),Object(b.createElement)("path",{d:"M1000 95L0 54.113V100h1000v-5z"}))),"ct"===w?Z=Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z"}):"cti"===w?Z=Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"}):"ctd"===w?Z=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,20l-500,78l-500,-78l0,80l1000,0l0,-80Z"})):"ctdi"===w?Z=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M500,2l500,78l0,20l-1000,0l0,-20l500,-78Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"})):"sltl"===w?Z=Object(b.createElement)("path",{d:"M1000,0l-1000,100l1000,0l0,-100Z"}):"sltli"===w?Z=Object(b.createElement)("path",{d:"M0,100l1000,-100l-1000,0l0,100Z"}):"sltr"===w?Z=Object(b.createElement)("path",{d:"M0,0l1000,100l-1000,0l0,-100Z"}):"sltri"===w?Z=Object(b.createElement)("path",{d:"M1000,100l-1000,-100l1000,0l0,100Z"}):"crv"===w?Z=Object(b.createElement)("path",{d:"M1000,100c0,0 -270.987,-98 -500,-98c-229.013,0 -500,98 -500,98l1000,0Z"}):"crvi"===w?Z=Object(b.createElement)("path",{d:"M1000,0c0,0 -270.987,98 -500,98c-229.013,0 -500,-98 -500,-98l0,100l1000,0l0,-100Z"}):"crvl"===w?Z=Object(b.createElement)("path",{d:"M1000,100c0,0 -420.987,-98 -650,-98c-229.013,0 -350,98 -350,98l1000,0Z"}):"crvli"===w?Z=Object(b.createElement)("path",{d:"M1000,0c0,0 -420.987,98 -650,98c-229.013,0 -350,-98 -350,-98l0,100l1000,0l0,-100Z"}):"crvr"===w?Z=Object(b.createElement)("path",{d:"M1000,100c0,0 -120.987,-98 -350,-98c-229.013,0 -650,98 -650,98l1000,0Z"}):"crvri"===w?Z=Object(b.createElement)("path",{d:"M1000,0c0,0 -120.987,98 -350,98c-229.013,0 -650,-98 -650,-98l0,100l1000,0l0,-100Z"}):"wave"===w?Z=Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}):"wavei"===w?Z=Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}):"waves"===w?Z=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,73 -500,73c-154.895,0 -250,-45 -250,-45l0,70l1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,68 -500,68c-154.895,0 -250,-65 -250,-65l0,95l1000,0l0,-60Z",style:{opacity:.4}})):"wavesi"===w?Z=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,73 500,73c154.895,0 250,-45 250,-45l0,70l-1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,68 500,68c154.895,0 250,-65 250,-65l0,95l-1000,0l0,-60Z",style:{opacity:.4}})):"mtns"===w?Z=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,50l-182.69,-45.286l-292.031,61.197l-190.875,-41.075l-143.748,28.794l-190.656,-23.63l0,70l1000,0l0,-50Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,57l-152.781,-22.589l-214.383,19.81l-159.318,-21.471l-177.44,25.875l-192.722,5.627l-103.356,-27.275l0,63.023l1000,0l0,-43Z"})):"littri"===w?Z=Object(b.createElement)("path",{d:"M500,2l25,98l-50,0l25,-98Z"}):"littrii"===w?Z=Object(b.createElement)("path",{d:"M1000,100l-1000,0l0,-100l475,0l25,98l25,-98l475,0l0,100Z"}):"threelevels"===w?Z=Object(b.createElement)(_c,null,Object(b.createElement)("path",{style:{opacity:.33},d:"M0 95L1000 0v100H0v-5z"}),Object(b.createElement)("path",{style:{opacity:.66},d:"M0 95l1000-67.944V100H0v-5z"}),Object(b.createElement)("path",{d:"M0 95l1000-40.887V100H0v-5z"})):"threelevelsi"===w&&(Z=Object(b.createElement)(_c,null,Object(b.createElement)("path",{style:{opacity:.33},d:"M1000 95L0 0v100h1000v-5z"}),Object(b.createElement)("path",{style:{opacity:.66},d:"M1000 95L0 27.056V100h1000v-5z"}),Object(b.createElement)("path",{d:"M1000 95L0 54.113V100h1000v-5z"})));const G=!E||2!==l&&3!==l?"":" kt-custom-first-width-"+E,q=!S||2!==l&&3!==l?"":" kt-custom-second-width-"+S,K=S&&E&&3===l?" kt-custom-third-width-"+Math.round(10*(100-(parseFloat(E)+parseFloat(S))))/10:"",Q=d||"equal",J=p||"inherit",Y=O||"div",X=n||"inherit",ee=u||"notset",te=r&&"grad"===r?"gradient":"normal",le=xt()({["align"+(o||"none")]:!0,"kvs-lg-false":"undefined"!==D&&D,"kvs-md-false":"undefined"!==$&&$,"kvs-sm-false":"undefined"!==U&&U}),ae=Object(Ce.getColorClassName)("background-color",W),ie=xt()("kt-row-layout-inner",{"kt-row-has-bg":k||y||s||c,["kt-layout-id"+ee]:ee,"kt-jarallax":y&&"parallax"===T,[ae]:ae}),oe=xt()({"kt-row-column-wrap":!0,[`kt-has-${l}-columns`]:l,["kt-gutter-"+h]:h,["kt-v-gutter-"+(v||"default")]:!0,["kt-row-valign-"+f]:f,["kt-row-layout-"+Q]:Q,["kt-tab-layout-"+J]:J,["kt-m-colapse-"+g]:g,["kt-mobile-layout-"+X]:X,[G]:G,[q]:q,[K]:K,"kt-inner-column-height-full":void 0!==N&&!0===N,"kb-theme-content-width":i});return Object(b.createElement)(Y,{className:le},Object(b.createElement)("div",{id:"kt-layout-id"+u,className:ie,style:{backgroundImage:"slider"!==M&&"video"!==M&&z&&void 0!==y&&""!==y?"url("+y+")":void 0}},"slider"===M&&(()=>{let e;return e=void 0===H||void 0!==H&&void 0===H[0]?[{arrowStyle:"none",dotStyle:"dark",autoPlay:!0,speed:7e3,fade:!0,tranSpeed:400}]:H,Object(b.createElement)("div",{className:"kt-blocks-carousel kb-blocks-bg-slider kt-carousel-container-dotstyle-"+e[0].dotStyle},Object(b.createElement)("div",{className:`kt-blocks-carousel-init kb-blocks-bg-slider-init kt-carousel-arrowstyle-${e[0].arrowStyle} kt-carousel-dotstyle-${e[0].dotStyle}`,"data-slider-anim-speed":e[0].tranSpeed,"data-slider-type":"slider","data-slider-scroll":"1","data-slider-arrows":"none"!==e[0].arrowStyle,"data-slider-fade":e[0].fade,"data-slider-dots":"none"!==e[0].dotStyle,"data-slider-hover-pause":"false","data-slider-auto":e[0].autoPlay,"data-slider-speed":e[0].speed},io()(void 0!==I?I:1,e=>(e=>{let t;return t=void 0===B||void 0!==B&&void 0===B[0]?[{bgColor:"",bgImg:"",bgImgID:""}]:B,Object(b.createElement)("div",{className:"kb-bg-slide-contain"},Object(b.createElement)("div",{className:"kb-bg-slide kb-bg-slide-"+e,style:{backgroundColor:t[e]&&""!==t[e].bgColor?Yi(t[e].bgColor):void 0,backgroundImage:t[e]&&""!==t[e].bgImg?'url("'+t[e].bgImg+'")':void 0,backgroundSize:P||void 0,backgroundPosition:R||void 0,backgroundRepeat:A||void 0}}))})(e))))})(),"video"===M&&Object(b.createElement)("div",{className:"kb-blocks-bg-video-container"},(void 0===L||""===L||"local"===L)&&(()=>{const e=void 0!==F&&void 0!==F[0]&&void 0!==F[0].local?F:[{youTube:"",local:"",localID:"",vimeo:"",ratio:"16/9",btns:!1,loop:!0,mute:!0}];return Object(b.createElement)(_c,null,Object(b.createElement)("video",{className:"kb-blocks-bg-video",poster:void 0!==y&&""!==y?y:void 0,playsinline:"",autoplay:"",muted:!1!==e[0].mute&&"",loop:!1!==e[0].loop&&"",src:e[0].local}),!0===e[0].btns&&Object(b.createElement)("div",{className:"kb-background-video-buttons-wrapper kb-background-video-buttons-html5"},Object(b.createElement)("button",{className:"kb-background-video-play kb-toggle-video-btn","aria-label":Object(m.__)("Play","kadence-blocks"),"aria-hidden":"true",style:"display: none;"},Object(b.createElement)("svg",{viewBox:"0 0 448 512",height:"16",width:"16",fill:"currentColor",xmlns:"https://www.w3.org/2000/svg"},Object(b.createElement)("path",{d:"M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z"}))),Object(b.createElement)("button",{className:"kb-background-video-pause kb-toggle-video-btn","aria-label":Object(m.__)("Pause","kadence-blocks"),"aria-hidden":"false"},Object(b.createElement)("svg",{viewBox:"0 0 448 512",height:"16",width:"16",fill:"currentColor",xmlns:"https://www.w3.org/2000/svg"},Object(b.createElement)("path",{d:"M144 479H48c-26.5 0-48-21.5-48-48V79c0-26.5 21.5-48 48-48h96c26.5 0 48 21.5 48 48v352c0 26.5-21.5 48-48 48zm304-48V79c0-26.5-21.5-48-48-48h-96c-26.5 0-48 21.5-48 48v352c0 26.5 21.5 48 48 48h96c26.5 0 48-21.5 48-48z"}))),!1===e[0].mute&&Object(b.createElement)(_c,null,Object(b.createElement)("button",{className:"kb-background-video-unmute kb-toggle-video-btn","aria-label":Object(m.__)("Unmute","kadence-blocks"),"aria-hidden":"true",style:"display: none;"},Object(b.createElement)("svg",{viewBox:"0 0 256 512",height:"16",width:"16",fill:"currentColor",xmlns:"https://www.w3.org/2000/svg"},Object(b.createElement)("path",{d:"M256 88.017v335.964c0 21.438-25.943 31.998-40.971 16.971L126.059 352H24c-13.255 0-24-10.745-24-24V184c0-13.255 10.745-24 24-24h102.059l88.971-88.954c15.01-15.01 40.97-4.49 40.97 16.971z"}))),Object(b.createElement)("button",{className:"kb-background-video-mute kb-toggle-video-btn","aria-label":Object(m.__)("Mute","kadence-blocks"),"aria-hidden":"false"},Object(b.createElement)("svg",{viewBox:"0 0 576 512",height:"16",width:"16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},Object(b.createElement)("path",{d:"M256 88.017v335.964c0 21.438-25.943 31.998-40.971 16.971L126.059 352H24c-13.255 0-24-10.745-24-24V184c0-13.255 10.745-24 24-24h102.059l88.971-88.954c15.01-15.01 40.97-4.49 40.97 16.971zm182.056-77.876C422.982.92 403.283 5.668 394.061 20.745c-9.221 15.077-4.473 34.774 10.604 43.995C468.967 104.063 512 174.983 512 256c0 73.431-36.077 142.292-96.507 184.206-14.522 10.072-18.129 30.01-8.057 44.532 10.076 14.528 30.016 18.126 44.531 8.057C529.633 438.927 576 350.406 576 256c0-103.244-54.579-194.877-137.944-245.859zM480 256c0-68.547-36.15-129.777-91.957-163.901-15.076-9.22-34.774-4.471-43.994 10.607-9.22 15.078-4.471 34.774 10.607 43.994C393.067 170.188 416 211.048 416 256c0 41.964-20.62 81.319-55.158 105.276-14.521 10.073-18.128 30.01-8.056 44.532 6.216 8.96 16.185 13.765 26.322 13.765a31.862 31.862 0 0 0 18.21-5.709C449.091 377.953 480 318.938 480 256zm-96 0c0-33.717-17.186-64.35-45.972-81.944-15.079-9.214-34.775-4.463-43.992 10.616s-4.464 34.775 10.615 43.992C314.263 234.538 320 244.757 320 256a32.056 32.056 0 0 1-13.802 26.332c-14.524 10.069-18.136 30.006-8.067 44.53 10.07 14.525 30.008 18.136 44.53 8.067C368.546 316.983 384 287.478 384 256z"}))))))})()),(s||c)&&Object(b.createElement)("div",{className:`kt-row-layout-overlay kt-row-overlay-${te}${c&&"gradient"!==te&&"parallax"===C?" kt-jarallax":""}`}),w&&"none"!==w&&""!==w&&Object(b.createElement)("div",{className:"kt-row-layout-top-sep kt-row-sep-type-"+w},Object(b.createElement)("svg",{style:{fill:Yi(x)},viewBox:"0 0 1000 100",preserveAspectRatio:"none"},Z)),Object(b.createElement)("div",{className:oe},Object(b.createElement)(Ce.InnerBlocks.Content,null)),j&&"none"!==j&&""!==j&&Object(b.createElement)("div",{className:"kt-row-layout-bottom-sep kt-row-sep-type-"+j},Object(b.createElement)("svg",{style:{fill:Yi(_)},viewBox:"0 0 1000 100",preserveAspectRatio:"none"},V))))}},{attributes:{uniqueID:{type:"string",default:""},columns:{type:"number",default:2},mobileLayout:{type:"string",default:"row"},tabletLayout:{type:"string",default:"inherit"},collapseOrder:{type:"string",default:"left-to-right"},collapseGutter:{type:"string",default:"default"},columnGutter:{type:"string",default:"default"},colLayout:{type:"string",default:""},currentTab:{type:"string",default:"desk"},currentOverlayTab:{type:"string",default:"normal"},htmlTag:{type:"string",default:"div"},minHeight:{type:"number",default:0},maxWidth:{type:"number",default:""},topPadding:{type:"number",default:25},bottomPadding:{type:"number",default:25},leftPadding:{type:"number",default:""},rightPadding:{type:"number",default:""},topPaddingM:{type:"number",default:""},bottomPaddingM:{type:"number",default:""},leftPaddingM:{type:"number",default:""},rightPaddingM:{type:"number",default:""},topMargin:{type:"number",default:""},bottomMargin:{type:"number",default:""},topMarginM:{type:"number",default:""},bottomMarginM:{type:"number",default:""},bgColor:{type:"string",default:""},bgImg:{type:"string",default:""},bgImgID:{type:"string",default:""},bgImgSize:{type:"string",default:"cover"},bgImgPosition:{type:"string",default:"center center"},bgImgAttachment:{type:"string",default:"scroll"},bgImgRepeat:{type:"string",default:"no-repeat"},overlay:{type:"string",default:""},overlaySecond:{type:"string",default:"#00B5E2"},overlayFirstOpacity:{type:"number",default:""},overlaySecondOpacity:{type:"number",default:""},overlayGradLoc:{type:"number",default:0},overlayGradLocSecond:{type:"number",default:100},overlayGradType:{type:"string",default:"linear"},overlayGradAngle:{type:"number",default:180},overlayBgImg:{type:"string",default:""},overlayBgImgID:{type:"string",default:""},overlayBgImgSize:{type:"string",default:"cover"},overlayBgImgPosition:{type:"string",default:"center center"},overlayBgImgAttachment:{type:"string",default:"scroll"},overlayBgImgRepeat:{type:"string",default:"no-repeat"},overlayOpacity:{type:"number",default:30},overlayBlendMode:{type:"string",default:"none"},blockAlignment:{type:"string",default:"none"},verticalAlignment:{type:"string",default:"top"},topSep:{type:"string",default:"none"},topSepColor:{type:"string",default:"#ffffff"},topSepFlip:{type:"boolean",default:!1},topSepHeight:{type:"number",default:100},topSepHeightTab:{type:"number",default:""},topSepHeightMobile:{type:"number",default:""},bottomSep:{type:"string",default:"none"},bottomSepColor:{type:"string",default:"#ffffff"},bottomSepFlip:{type:"boolean",default:!1},bottomSepHeight:{type:"number",default:100},bottomSepWidth:{type:"number",default:100},bottomSepWidthTab:{type:"number",default:""},bottomSepWidthMobile:{type:"number",default:""},bottomSepHeightTab:{type:"number",default:""},bottomSepHeightMobile:{type:"number",default:""},firstColumnWidth:{type:"number"},secondColumnWidth:{type:"number"},textColor:{type:"string",default:""},linkColor:{type:"string",default:""},linkHoverColor:{type:"string",default:""},tabletPadding:{type:"array",default:["","","",""]},topMarginT:{type:"number",default:""},bottomMarginT:{type:"number",default:""},marginUnit:{type:"string",default:"px"},minHeightUnit:{type:"string",default:"px"},maxWidthUnit:{type:"string",default:"px"},columnsUnlocked:{type:"bool",default:!1},tabletBackground:{type:"array",default:[{enable:!1,bgColor:"",bgImg:"",bgImgID:"",bgImgSize:"cover",bgImgPosition:"center center",bgImgAttachment:"scroll",bgImgRepeat:"no-repeat",forceOverDesk:!1}]},tabletOverlay:{type:"array",default:[{enable:!1,currentOverlayTab:"normal",overlay:"",overlaySecond:"#00B5E2",overlayGradLoc:0,overlayGradLocSecond:100,overlayGradType:"linear",overlayGradAngle:180,overlayBgImg:"",overlayBgImgID:"",overlayBgImgSize:"cover",overlayBgImgPosition:"center center",overlayBgImgAttachment:"scroll",overlayBgImgRepeat:"no-repeat",overlayOpacity:30,overlayBlendMod:"none"}]},mobileBackground:{type:"array",default:[{enable:!1,bgColor:"",bgImg:"",bgImgID:"",bgImgSize:"cover",bgImgPosition:"center center",bgImgAttachment:"scroll",bgImgRepeat:"no-repeat",forceOverDesk:!1}]},mobileOverlay:{type:"array",default:[{enable:!1,currentOverlayTab:"normal",overlay:"",overlaySecond:"#00B5E2",overlayGradLoc:0,overlayGradLocSecond:100,overlayGradType:"linear",overlayGradAngle:180,overlayBgImg:"",overlayBgImgID:"",overlayBgImgSize:"cover",overlayBgImgPosition:"center center",overlayBgImgAttachment:"scroll",overlayBgImgRepeat:"no-repeat",overlayOpacity:30,overlayBlendMod:"none"}]},columnsInnerHeight:{type:"bool",default:!1},topSepWidth:{type:"number",default:""},topSepWidthTablet:{type:"number",default:""},topSepWidthMobile:{type:"number",default:""},backgroundInline:{type:"bool",default:!1},backgroundSettingTab:{type:"string",default:"normal"},backgroundSliderCount:{type:"number",default:1},backgroundSlider:{type:"array",default:[{bgColor:"",bgImg:"",bgImgID:""}]},backgroundSliderSettings:{type:"array",default:[{arrowStyle:"none",dotStyle:"dark",autoPlay:!0,speed:7e3,fade:!0,tranSpeed:400}]},backgroundVideoType:{type:"string",default:"local"},backgroundVideo:{type:"array",default:[{youTube:"",local:"",localID:"",vimeo:"",ratio:"16/9",btns:!1,loop:!0,mute:!0}]},zIndex:{type:"number",default:""},paddingUnit:{type:"string",default:"px"},noCustomDefaults:{type:"bool",default:!1}},migrate(e){const t=e.blockAlignment?e.blockAlignment:void 0;return e.blockAlignment&&delete e.blockAlignment,{...e,align:t||void 0}},save:e=>{let{attributes:t}=e;const{columns:l,blockAlignment:a,mobileLayout:i,currentOverlayTab:o,overlayBgImg:n,overlay:r,colLayout:c,tabletLayout:s,collapseOrder:d,uniqueID:p,columnGutter:g,collapseGutter:u,bgColor:h,bgImg:v,verticalAlignment:k,htmlTag:y,bottomSep:f,bottomSepColor:O,topSep:j,topSepColor:_,firstColumnWidth:w,secondColumnWidth:x,overlayBgImgAttachment:E,bgImgAttachment:S,columnsInnerHeight:C,backgroundInline:T,backgroundSettingTab:N,backgroundSliderCount:z,backgroundSliderSettings:M,backgroundSlider:I,bgImgSize:H,bgImgPosition:B,bgImgRepeat:P,backgroundVideoType:R,backgroundVideo:A}=t;let L,F;"ct"===f?L=Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z"}):"cti"===f?L=Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"}):"ctd"===f?L=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,20l-500,78l-500,-78l0,80l1000,0l0,-80Z"})):"ctdi"===f?L=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M500,2l500,78l0,20l-1000,0l0,-20l500,-78Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"})):"sltl"===f?L=Object(b.createElement)("path",{d:"M1000,0l-1000,100l1000,0l0,-100Z"}):"sltli"===f?L=Object(b.createElement)("path",{d:"M0,100l1000,-100l-1000,0l0,100Z"}):"sltr"===f?L=Object(b.createElement)("path",{d:"M0,0l1000,100l-1000,0l0,-100Z"}):"sltri"===f?L=Object(b.createElement)("path",{d:"M1000,100l-1000,-100l1000,0l0,100Z"}):"crv"===f?L=Object(b.createElement)("path",{d:"M1000,100c0,0 -270.987,-98 -500,-98c-229.013,0 -500,98 -500,98l1000,0Z"}):"crvi"===f?L=Object(b.createElement)("path",{d:"M1000,0c0,0 -270.987,98 -500,98c-229.013,0 -500,-98 -500,-98l0,100l1000,0l0,-100Z"}):"crvl"===f?L=Object(b.createElement)("path",{d:"M1000,100c0,0 -420.987,-98 -650,-98c-229.013,0 -350,98 -350,98l1000,0Z"}):"crvli"===f?L=Object(b.createElement)("path",{d:"M1000,0c0,0 -420.987,98 -650,98c-229.013,0 -350,-98 -350,-98l0,100l1000,0l0,-100Z"}):"crvr"===f?L=Object(b.createElement)("path",{d:"M1000,100c0,0 -120.987,-98 -350,-98c-229.013,0 -650,98 -650,98l1000,0Z"}):"crvri"===f?L=Object(b.createElement)("path",{d:"M1000,0c0,0 -120.987,98 -350,98c-229.013,0 -650,-98 -650,-98l0,100l1000,0l0,-100Z"}):"wave"===f?L=Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}):"wavei"===f?L=Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}):"waves"===f?L=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,73 -500,73c-154.895,0 -250,-45 -250,-45l0,70l1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,68 -500,68c-154.895,0 -250,-65 -250,-65l0,95l1000,0l0,-60Z",style:{opacity:.4}})):"wavesi"===f?L=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,73 500,73c154.895,0 250,-45 250,-45l0,70l-1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,68 500,68c154.895,0 250,-65 250,-65l0,95l-1000,0l0,-60Z",style:{opacity:.4}})):"mtns"===f?L=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,50l-182.69,-45.286l-292.031,61.197l-190.875,-41.075l-143.748,28.794l-190.656,-23.63l0,70l1000,0l0,-50Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,57l-152.781,-22.589l-214.383,19.81l-159.318,-21.471l-177.44,25.875l-192.722,5.627l-103.356,-27.275l0,63.023l1000,0l0,-43Z"})):"littri"===f?L=Object(b.createElement)("path",{d:"M500,2l25,98l-50,0l25,-98Z"}):"littrii"===f?L=Object(b.createElement)("path",{d:"M1000,100l-1000,0l0,-100l475,0l25,98l25,-98l475,0l0,100Z"}):"threelevels"===f&&(L=Object(b.createElement)(_c,null,Object(b.createElement)("path",{style:{opacity:.33},d:"M0 95L1000 0v100H0v-5z"}),Object(b.createElement)("path",{style:{opacity:.66},d:"M0 95l1000-67.944V100H0v-5z"}),Object(b.createElement)("path",{d:"M0 95l1000-40.887V100H0v-5z"}))),"ct"===j?F=Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z"}):"cti"===j?F=Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"}):"ctd"===j?F=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,20l-500,78l-500,-78l0,80l1000,0l0,-80Z"})):"ctdi"===j?F=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M500,2l500,78l0,20l-1000,0l0,-20l500,-78Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"})):"sltl"===j?F=Object(b.createElement)("path",{d:"M1000,0l-1000,100l1000,0l0,-100Z"}):"sltli"===j?F=Object(b.createElement)("path",{d:"M0,100l1000,-100l-1000,0l0,100Z"}):"sltr"===j?F=Object(b.createElement)("path",{d:"M0,0l1000,100l-1000,0l0,-100Z"}):"sltri"===j?F=Object(b.createElement)("path",{d:"M1000,100l-1000,-100l1000,0l0,100Z"}):"crv"===j?F=Object(b.createElement)("path",{d:"M1000,100c0,0 -270.987,-98 -500,-98c-229.013,0 -500,98 -500,98l1000,0Z"}):"crvi"===j?F=Object(b.createElement)("path",{d:"M1000,0c0,0 -270.987,98 -500,98c-229.013,0 -500,-98 -500,-98l0,100l1000,0l0,-100Z"}):"crvl"===j?F=Object(b.createElement)("path",{d:"M1000,100c0,0 -420.987,-98 -650,-98c-229.013,0 -350,98 -350,98l1000,0Z"}):"crvli"===j?F=Object(b.createElement)("path",{d:"M1000,0c0,0 -420.987,98 -650,98c-229.013,0 -350,-98 -350,-98l0,100l1000,0l0,-100Z"}):"crvr"===j?F=Object(b.createElement)("path",{d:"M1000,100c0,0 -120.987,-98 -350,-98c-229.013,0 -650,98 -650,98l1000,0Z"}):"crvri"===j?F=Object(b.createElement)("path",{d:"M1000,0c0,0 -120.987,98 -350,98c-229.013,0 -650,-98 -650,-98l0,100l1000,0l0,-100Z"}):"wave"===j?F=Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}):"wavei"===j?F=Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}):"waves"===j?F=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,73 -500,73c-154.895,0 -250,-45 -250,-45l0,70l1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,68 -500,68c-154.895,0 -250,-65 -250,-65l0,95l1000,0l0,-60Z",style:{opacity:.4}})):"wavesi"===j?F=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,73 500,73c154.895,0 250,-45 250,-45l0,70l-1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,68 500,68c154.895,0 250,-65 250,-65l0,95l-1000,0l0,-60Z",style:{opacity:.4}})):"mtns"===j?F=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,50l-182.69,-45.286l-292.031,61.197l-190.875,-41.075l-143.748,28.794l-190.656,-23.63l0,70l1000,0l0,-50Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,57l-152.781,-22.589l-214.383,19.81l-159.318,-21.471l-177.44,25.875l-192.722,5.627l-103.356,-27.275l0,63.023l1000,0l0,-43Z"})):"littri"===j?F=Object(b.createElement)("path",{d:"M500,2l25,98l-50,0l25,-98Z"}):"littrii"===j&&(F=Object(b.createElement)("path",{d:"M1000,100l-1000,0l0,-100l475,0l25,98l25,-98l475,0l0,100Z"}));const W=!w||2!==l&&3!==l?"":" kt-custom-first-width-"+w,D=!x||2!==l&&3!==l?"":" kt-custom-second-width-"+x,$=x&&w&&3===l?" kt-custom-third-width-"+Math.round(10*(100-(parseFloat(w)+parseFloat(x))))/10:"",U=c||"equal",V=s||"inherit",Z=y||"div",G=i||"inherit",q=p||"notset",K=h||v||r||n?"kt-row-has-bg":"",Q=o&&"grad"===o?"gradient":"normal",J=xt()("align"+(a||"none")),Y=xt()(`kt-row-layout-inner ${K} kt-layout-id${q}${v&&"parallax"===S?" kt-jarallax":""}`),X=xt()(`kt-row-column-wrap kt-has-${l}-columns kt-gutter-${g} kt-v-gutter-${u||"default"} kt-row-valign-${k} kt-row-layout-${U} kt-tab-layout-${V} kt-m-colapse-${d} kt-mobile-layout-${G}${W}${D}${$}${void 0!==C&&!0===C?" kt-inner-column-height-full":""}`);return Object(b.createElement)(Z,{className:J},Object(b.createElement)("div",{id:"kt-layout-id"+p,className:Y,style:{backgroundImage:"slider"!==N&&"video"!==N&&T&&void 0!==v&&""!==v?"url("+v+")":void 0}},"slider"===N&&(()=>{let e;return e=void 0===M||void 0!==M&&void 0===M[0]?[{arrowStyle:"none",dotStyle:"dark",autoPlay:!0,speed:7e3,fade:!0,tranSpeed:400}]:M,Object(b.createElement)("div",{className:"kt-blocks-carousel kb-blocks-bg-slider kt-carousel-container-dotstyle-"+e[0].dotStyle},Object(b.createElement)("div",{className:`kt-blocks-carousel-init kb-blocks-bg-slider-init kt-carousel-arrowstyle-${e[0].arrowStyle} kt-carousel-dotstyle-${e[0].dotStyle}`,"data-slider-anim-speed":e[0].tranSpeed,"data-slider-type":"slider","data-slider-scroll":"1","data-slider-arrows":"none"!==e[0].arrowStyle,"data-slider-fade":e[0].fade,"data-slider-dots":"none"!==e[0].dotStyle,"data-slider-hover-pause":"false","data-slider-auto":e[0].autoPlay,"data-slider-speed":e[0].speed},io()(void 0!==z?z:1,e=>(e=>{let t;return t=void 0===I||void 0!==I&&void 0===I[0]?[{bgColor:"",bgImg:"",bgImgID:""}]:I,Object(b.createElement)("div",{className:"kb-bg-slide-contain"},Object(b.createElement)("div",{className:"kb-bg-slide kb-bg-slide-"+e,style:{backgroundColor:t[e]&&""!==t[e].bgColor?t[e].bgColor:void 0,backgroundImage:t[e]&&""!==t[e].bgImg?'url("'+t[e].bgImg+'")':void 0,backgroundSize:H||void 0,backgroundPosition:B||void 0,backgroundRepeat:P||void 0}}))})(e))))})(),"video"===N&&Object(b.createElement)("div",{className:"kb-blocks-bg-video-container"},(void 0===R||""===R||"local"===R)&&(()=>{const e=void 0!==A&&void 0!==A[0]&&void 0!==A[0].local?A:[{youTube:"",local:"",localID:"",vimeo:"",ratio:"16/9",btns:!1,loop:!0,mute:!0}];return Object(b.createElement)(_c,null,Object(b.createElement)("video",{className:"kb-blocks-bg-video",poster:void 0!==v&&""!==v?v:void 0,playsinline:"",autoplay:"",muted:!1!==e[0].mute&&"",loop:!1!==e[0].loop&&"",src:e[0].local}),!0===e[0].btns&&Object(b.createElement)("div",{className:"kb-background-video-buttons-wrapper kb-background-video-buttons-html5"},Object(b.createElement)("button",{className:"kb-background-video-play kb-toggle-video-btn","aria-label":Object(m.__)("Play"),"aria-hidden":"true",style:"display: none;"},Object(b.createElement)("svg",{viewBox:"0 0 448 512",height:"16",width:"16",fill:"currentColor",xmlns:"https://www.w3.org/2000/svg"},Object(b.createElement)("path",{d:"M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z"}))),Object(b.createElement)("button",{className:"kb-background-video-pause kb-toggle-video-btn","aria-label":Object(m.__)("Pause"),"aria-hidden":"false"},Object(b.createElement)("svg",{viewBox:"0 0 448 512",height:"16",width:"16",fill:"currentColor",xmlns:"https://www.w3.org/2000/svg"},Object(b.createElement)("path",{d:"M144 479H48c-26.5 0-48-21.5-48-48V79c0-26.5 21.5-48 48-48h96c26.5 0 48 21.5 48 48v352c0 26.5-21.5 48-48 48zm304-48V79c0-26.5-21.5-48-48-48h-96c-26.5 0-48 21.5-48 48v352c0 26.5 21.5 48 48 48h96c26.5 0 48-21.5 48-48z"}))),!1===e[0].mute&&Object(b.createElement)(_c,null,Object(b.createElement)("button",{className:"kb-background-video-unmute kb-toggle-video-btn","aria-label":Object(m.__)("Unmute"),"aria-hidden":"true",style:"display: none;"},Object(b.createElement)("svg",{viewBox:"0 0 256 512",height:"16",width:"16",fill:"currentColor",xmlns:"https://www.w3.org/2000/svg"},Object(b.createElement)("path",{d:"M256 88.017v335.964c0 21.438-25.943 31.998-40.971 16.971L126.059 352H24c-13.255 0-24-10.745-24-24V184c0-13.255 10.745-24 24-24h102.059l88.971-88.954c15.01-15.01 40.97-4.49 40.97 16.971z"}))),Object(b.createElement)("button",{className:"kb-background-video-mute kb-toggle-video-btn","aria-label":Object(m.__)("Mute"),"aria-hidden":"false"},Object(b.createElement)("svg",{viewBox:"0 0 576 512",height:"16",width:"16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},Object(b.createElement)("path",{d:"M256 88.017v335.964c0 21.438-25.943 31.998-40.971 16.971L126.059 352H24c-13.255 0-24-10.745-24-24V184c0-13.255 10.745-24 24-24h102.059l88.971-88.954c15.01-15.01 40.97-4.49 40.97 16.971zm182.056-77.876C422.982.92 403.283 5.668 394.061 20.745c-9.221 15.077-4.473 34.774 10.604 43.995C468.967 104.063 512 174.983 512 256c0 73.431-36.077 142.292-96.507 184.206-14.522 10.072-18.129 30.01-8.057 44.532 10.076 14.528 30.016 18.126 44.531 8.057C529.633 438.927 576 350.406 576 256c0-103.244-54.579-194.877-137.944-245.859zM480 256c0-68.547-36.15-129.777-91.957-163.901-15.076-9.22-34.774-4.471-43.994 10.607-9.22 15.078-4.471 34.774 10.607 43.994C393.067 170.188 416 211.048 416 256c0 41.964-20.62 81.319-55.158 105.276-14.521 10.073-18.128 30.01-8.056 44.532 6.216 8.96 16.185 13.765 26.322 13.765a31.862 31.862 0 0 0 18.21-5.709C449.091 377.953 480 318.938 480 256zm-96 0c0-33.717-17.186-64.35-45.972-81.944-15.079-9.214-34.775-4.463-43.992 10.616s-4.464 34.775 10.615 43.992C314.263 234.538 320 244.757 320 256a32.056 32.056 0 0 1-13.802 26.332c-14.524 10.069-18.136 30.006-8.067 44.53 10.07 14.525 30.008 18.136 44.53 8.067C368.546 316.983 384 287.478 384 256z"}))))))})()),(r||n)&&Object(b.createElement)("div",{className:`kt-row-layout-overlay kt-row-overlay-${Q}${n&&"gradient"!==Q&&"parallax"===E?" kt-jarallax":""}`}),j&&"none"!==j&&""!==j&&Object(b.createElement)("div",{className:"kt-row-layout-top-sep kt-row-sep-type-"+j},Object(b.createElement)("svg",{style:{fill:_},viewBox:"0 0 1000 100",preserveAspectRatio:"none"},F)),Object(b.createElement)("div",{className:X},Object(b.createElement)(Ce.InnerBlocks.Content,null)),f&&"none"!==f&&""!==f&&Object(b.createElement)("div",{className:"kt-row-layout-bottom-sep kt-row-sep-type-"+f},Object(b.createElement)("svg",{style:{fill:O},viewBox:"0 0 1000 100",preserveAspectRatio:"none"},L))))}},{attributes:{uniqueID:{type:"string",default:""},columns:{type:"number",default:2},mobileLayout:{type:"string",default:"row"},tabletLayout:{type:"string",default:"inherit"},collapseOrder:{type:"string",default:"left-to-right"},columnGutter:{type:"string",default:"default"},colLayout:{type:"string",default:""},currentTab:{type:"string",default:"desk"},currentOverlayTab:{type:"string",default:"normal"},htmlTag:{type:"string",default:"div"},minHeight:{type:"number",default:0},maxWidth:{type:"number",default:""},topPadding:{type:"number",default:25},bottomPadding:{type:"number",default:25},leftPadding:{type:"number",default:""},rightPadding:{type:"number",default:""},topPaddingM:{type:"number",default:""},bottomPaddingM:{type:"number",default:""},leftPaddingM:{type:"number",default:""},rightPaddingM:{type:"number",default:""},topMargin:{type:"number",default:""},bottomMargin:{type:"number",default:""},topMarginM:{type:"number",default:""},bottomMarginM:{type:"number",default:""},bgColor:{type:"string",default:""},bgImg:{type:"string",default:""},bgImgID:{type:"string",default:""},bgImgSize:{type:"string",default:"cover"},bgImgPosition:{type:"string",default:"center center"},bgImgAttachment:{type:"string",default:"scroll"},bgImgRepeat:{type:"string",default:"no-repeat"},overlay:{type:"string",default:""},overlaySecond:{type:"string",default:"#00B5E2"},overlayGradLoc:{type:"number",default:0},overlayGradLocSecond:{type:"number",default:100},overlayGradType:{type:"string",default:"linear"},overlayGradAngle:{type:"number",default:180},overlayBgImg:{type:"string",default:""},overlayBgImgID:{type:"string",default:""},overlayBgImgSize:{type:"string",default:"cover"},overlayBgImgPosition:{type:"string",default:"center center"},overlayBgImgAttachment:{type:"string",default:"scroll"},overlayBgImgRepeat:{type:"string",default:"no-repeat"},overlayOpacity:{type:"number",default:30},overlayBlendMode:{type:"string",default:"none"},blockAlignment:{type:"string",default:"none"},verticalAlignment:{type:"string",default:"top"},topSep:{type:"string",default:"none"},topSepColor:{type:"string",default:"#ffffff"},topSepFlip:{type:"boolean",default:!1},topSepHeight:{type:"number",default:100},topSepHeightTab:{type:"number",default:""},topSepHeightMobile:{type:"number",default:""},bottomSep:{type:"string",default:"none"},bottomSepColor:{type:"string",default:"#ffffff"},bottomSepFlip:{type:"boolean",default:!1},bottomSepHeight:{type:"number",default:100},bottomSepWidth:{type:"number",default:100},bottomSepWidthTab:{type:"number",default:""},bottomSepWidthMobile:{type:"number",default:""},bottomSepHeightTab:{type:"number",default:""},bottomSepHeightMobile:{type:"number",default:""},firstColumnWidth:{type:"number"},secondColumnWidth:{type:"number"},textColor:{type:"string",default:""},linkColor:{type:"string",default:""},linkHoverColor:{type:"string",default:""}},save:e=>{let{attributes:t}=e;const{columns:l,blockAlignment:a,mobileLayout:i,currentOverlayTab:o,overlayBgImg:n,overlay:r,colLayout:c,tabletLayout:s,collapseOrder:d,uniqueID:m,columnGutter:p,bgColor:g,bgImg:u,verticalAlignment:h,htmlTag:v,bottomSep:k,bottomSepColor:y,topSep:f,topSepColor:O,firstColumnWidth:j}=t;let _,w;"ct"===k?_=Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z"}):"cti"===k?_=Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"}):"ctd"===k?_=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,20l-500,78l-500,-78l0,80l1000,0l0,-80Z"})):"ctdi"===k?_=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M500,2l500,78l0,20l-1000,0l0,-20l500,-78Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"})):"sltl"===k?_=Object(b.createElement)("path",{d:"M1000,0l-1000,100l1000,0l0,-100Z"}):"sltli"===k?_=Object(b.createElement)("path",{d:"M0,100l1000,-100l-1000,0l0,100Z"}):"sltr"===k?_=Object(b.createElement)("path",{d:"M0,0l1000,100l-1000,0l0,-100Z"}):"sltri"===k?_=Object(b.createElement)("path",{d:"M1000,100l-1000,-100l1000,0l0,100Z"}):"crv"===k?_=Object(b.createElement)("path",{d:"M1000,100c0,0 -270.987,-98 -500,-98c-229.013,0 -500,98 -500,98l1000,0Z"}):"crvi"===k?_=Object(b.createElement)("path",{d:"M1000,0c0,0 -270.987,98 -500,98c-229.013,0 -500,-98 -500,-98l0,100l1000,0l0,-100Z"}):"crvl"===k?_=Object(b.createElement)("path",{d:"M1000,100c0,0 -420.987,-98 -650,-98c-229.013,0 -350,98 -350,98l1000,0Z"}):"crvli"===k?_=Object(b.createElement)("path",{d:"M1000,0c0,0 -420.987,98 -650,98c-229.013,0 -350,-98 -350,-98l0,100l1000,0l0,-100Z"}):"crvr"===k?_=Object(b.createElement)("path",{d:"M1000,100c0,0 -120.987,-98 -350,-98c-229.013,0 -650,98 -650,98l1000,0Z"}):"crvri"===k?_=Object(b.createElement)("path",{d:"M1000,0c0,0 -120.987,98 -350,98c-229.013,0 -650,-98 -650,-98l0,100l1000,0l0,-100Z"}):"wave"===k?_=Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}):"wavei"===k?_=Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}):"waves"===k?_=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,73 -500,73c-154.895,0 -250,-45 -250,-45l0,70l1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,68 -500,68c-154.895,0 -250,-65 -250,-65l0,95l1000,0l0,-60Z",style:{opacity:.4}})):"wavesi"===k?_=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,73 500,73c154.895,0 250,-45 250,-45l0,70l-1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,68 500,68c154.895,0 250,-65 250,-65l0,95l-1000,0l0,-60Z",style:{opacity:.4}})):"mtns"===k?_=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,50l-182.69,-45.286l-292.031,61.197l-190.875,-41.075l-143.748,28.794l-190.656,-23.63l0,70l1000,0l0,-50Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,57l-152.781,-22.589l-214.383,19.81l-159.318,-21.471l-177.44,25.875l-192.722,5.627l-103.356,-27.275l0,63.023l1000,0l0,-43Z"})):"littri"===k?_=Object(b.createElement)("path",{d:"M500,2l25,98l-50,0l25,-98Z"}):"littrii"===k&&(_=Object(b.createElement)("path",{d:"M1000,100l-1000,0l0,-100l475,0l25,98l25,-98l475,0l0,100Z"})),"ct"===f?w=Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z"}):"cti"===f?w=Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"}):"ctd"===f?w=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,20l-500,78l-500,-78l0,80l1000,0l0,-80Z"})):"ctdi"===f?w=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M500,2l500,78l0,20l-1000,0l0,-20l500,-78Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"})):"sltl"===f?w=Object(b.createElement)("path",{d:"M1000,0l-1000,100l1000,0l0,-100Z"}):"sltli"===f?w=Object(b.createElement)("path",{d:"M0,100l1000,-100l-1000,0l0,100Z"}):"sltr"===f?w=Object(b.createElement)("path",{d:"M0,0l1000,100l-1000,0l0,-100Z"}):"sltri"===f?w=Object(b.createElement)("path",{d:"M1000,100l-1000,-100l1000,0l0,100Z"}):"crv"===f?w=Object(b.createElement)("path",{d:"M1000,100c0,0 -270.987,-98 -500,-98c-229.013,0 -500,98 -500,98l1000,0Z"}):"crvi"===f?w=Object(b.createElement)("path",{d:"M1000,0c0,0 -270.987,98 -500,98c-229.013,0 -500,-98 -500,-98l0,100l1000,0l0,-100Z"}):"crvl"===f?w=Object(b.createElement)("path",{d:"M1000,100c0,0 -420.987,-98 -650,-98c-229.013,0 -350,98 -350,98l1000,0Z"}):"crvli"===f?w=Object(b.createElement)("path",{d:"M1000,0c0,0 -420.987,98 -650,98c-229.013,0 -350,-98 -350,-98l0,100l1000,0l0,-100Z"}):"crvr"===f?w=Object(b.createElement)("path",{d:"M1000,100c0,0 -120.987,-98 -350,-98c-229.013,0 -650,98 -650,98l1000,0Z"}):"crvri"===f?w=Object(b.createElement)("path",{d:"M1000,0c0,0 -120.987,98 -350,98c-229.013,0 -650,-98 -650,-98l0,100l1000,0l0,-100Z"}):"wave"===f?w=Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}):"wavei"===f?w=Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}):"waves"===f?w=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,73 -500,73c-154.895,0 -250,-45 -250,-45l0,70l1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,68 -500,68c-154.895,0 -250,-65 -250,-65l0,95l1000,0l0,-60Z",style:{opacity:.4}})):"wavesi"===f?w=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,73 500,73c154.895,0 250,-45 250,-45l0,70l-1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,68 500,68c154.895,0 250,-65 250,-65l0,95l-1000,0l0,-60Z",style:{opacity:.4}})):"mtns"===f?w=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,50l-182.69,-45.286l-292.031,61.197l-190.875,-41.075l-143.748,28.794l-190.656,-23.63l0,70l1000,0l0,-50Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,57l-152.781,-22.589l-214.383,19.81l-159.318,-21.471l-177.44,25.875l-192.722,5.627l-103.356,-27.275l0,63.023l1000,0l0,-43Z"})):"littri"===f?w=Object(b.createElement)("path",{d:"M500,2l25,98l-50,0l25,-98Z"}):"littrii"===f&&(w=Object(b.createElement)("path",{d:"M1000,100l-1000,0l0,-100l475,0l25,98l25,-98l475,0l0,100Z"}));const x=j&&2===l?" kt-custom-first-width-"+j:"",E=c||"equal",S=s||"inherit",C=v||"div",T=i||"inherit",N=m||"notset",z=g||u||r||n?"kt-row-has-bg":"",M=o&&"grad"===o?"gradient":"normal",I=xt()("align"+a),H=xt()(`kt-row-layout-inner ${z} kt-layout-id${N}`),B=xt()(`kt-row-column-wrap kt-has-${l}-columns kt-gutter-${p} kt-row-valign-${h} kt-row-layout-${E} kt-tab-layout-${S} kt-m-colapse-${d} kt-mobile-layout-${T}${x}`);return Object(b.createElement)(C,{className:I},Object(b.createElement)("div",{id:"kt-layout-id"+m,className:H},(r||n)&&Object(b.createElement)("div",{className:"kt-row-layout-overlay kt-row-overlay-"+M}),f&&"none"!==f&&""!==f&&Object(b.createElement)("div",{className:"kt-row-layout-top-sep kt-row-sep-type-"+f},Object(b.createElement)("svg",{style:{fill:O},viewBox:"0 0 1000 100",preserveAspectRatio:"none"},w)),Object(b.createElement)("div",{className:B},Object(b.createElement)(Ce.InnerBlocks.Content,null)),k&&"none"!==k&&""!==k&&Object(b.createElement)("div",{className:"kt-row-layout-bottom-sep kt-row-sep-type-"+k},Object(b.createElement)("svg",{style:{fill:y},viewBox:"0 0 1000 100",preserveAspectRatio:"none"},_))))}},{attributes:{uniqueID:{type:"string",default:""},columns:{type:"number",default:2},mobileLayout:{type:"string",default:"row"},tabletLayout:{type:"string",default:"inherit"},collapseOrder:{type:"string",default:"left-to-right"},columnGutter:{type:"string",default:"default"},colLayout:{type:"string",default:""},currentTab:{type:"string",default:"desk"},currentOverlayTab:{type:"string",default:"normal"},htmlTag:{type:"string",default:"div"},minHeight:{type:"number",default:0},maxWidth:{type:"number",default:""},topPadding:{type:"number",default:25},bottomPadding:{type:"number",default:25},leftPadding:{type:"number",default:""},rightPadding:{type:"number",default:""},topPaddingM:{type:"number",default:""},bottomPaddingM:{type:"number",default:""},leftPaddingM:{type:"number",default:""},rightPaddingM:{type:"number",default:""},topMargin:{type:"number",default:""},bottomMargin:{type:"number",default:""},topMarginM:{type:"number",default:""},bottomMarginM:{type:"number",default:""},bgColor:{type:"string",default:""},bgImg:{type:"string",default:""},bgImgID:{type:"string",default:""},bgImgSize:{type:"string",default:"cover"},bgImgPosition:{type:"string",default:"center center"},bgImgAttachment:{type:"string",default:"scroll"},bgImgRepeat:{type:"string",default:"no-repeat"},overlay:{type:"string",default:""},overlaySecond:{type:"string",default:"#00B5E2"},overlayGradLoc:{type:"number",default:0},overlayGradLocSecond:{type:"number",default:100},overlayGradType:{type:"string",default:"linear"},overlayGradAngle:{type:"number",default:180},overlayBgImg:{type:"string",default:""},overlayBgImgID:{type:"string",default:""},overlayBgImgSize:{type:"string",default:"cover"},overlayBgImgPosition:{type:"string",default:"center center"},overlayBgImgAttachment:{type:"string",default:"scroll"},overlayBgImgRepeat:{type:"string",default:"no-repeat"},overlayOpacity:{type:"number",default:30},overlayBlendMode:{type:"string",default:"none"},blockAlignment:{type:"string",default:"none"},verticalAlignment:{type:"string",default:"top"},topSep:{type:"string",default:"none"},topSepColor:{type:"string",default:"#ffffff"},topSepFlip:{type:"boolean",default:!1},topSepHeight:{type:"number",default:100},topSepHeightTab:{type:"number",default:""},topSepHeightMobile:{type:"number",default:""},bottomSep:{type:"string",default:"none"},bottomSepColor:{type:"string",default:"#ffffff"},bottomSepFlip:{type:"boolean",default:!1},bottomSepHeight:{type:"number",default:100},bottomSepWidth:{type:"number",default:100},bottomSepWidthTab:{type:"number",default:""},bottomSepWidthMobile:{type:"number",default:""},bottomSepHeightTab:{type:"number",default:""},bottomSepHeightMobile:{type:"number",default:""}},save:e=>{let{attributes:t}=e;const{columns:l,blockAlignment:a,mobileLayout:i,currentOverlayTab:o,overlayBgImg:n,overlay:r,colLayout:c,tabletLayout:s,collapseOrder:d,uniqueID:m,columnGutter:p,bgColor:g,bgImg:u,verticalAlignment:h,htmlTag:v,bottomSep:k,bottomSepColor:y,topSep:f,topSepColor:O}=t;let j,_;"ct"===k?j=Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z"}):"cti"===k?j=Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"}):"ctd"===k?j=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,20l-500,78l-500,-78l0,80l1000,0l0,-80Z"})):"ctdi"===k?j=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M500,2l500,78l0,20l-1000,0l0,-20l500,-78Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"})):"sltl"===k?j=Object(b.createElement)("path",{d:"M1000,0l-1000,100l1000,0l0,-100Z"}):"sltli"===k?j=Object(b.createElement)("path",{d:"M0,100l1000,-100l-1000,0l0,100Z"}):"sltr"===k?j=Object(b.createElement)("path",{d:"M0,0l1000,100l-1000,0l0,-100Z"}):"sltri"===k?j=Object(b.createElement)("path",{d:"M1000,100l-1000,-100l1000,0l0,100Z"}):"crv"===k?j=Object(b.createElement)("path",{d:"M1000,100c0,0 -270.987,-98 -500,-98c-229.013,0 -500,98 -500,98l1000,0Z"}):"crvi"===k?j=Object(b.createElement)("path",{d:"M1000,0c0,0 -270.987,98 -500,98c-229.013,0 -500,-98 -500,-98l0,100l1000,0l0,-100Z"}):"crvl"===k?j=Object(b.createElement)("path",{d:"M1000,100c0,0 -420.987,-98 -650,-98c-229.013,0 -350,98 -350,98l1000,0Z"}):"crvli"===k?j=Object(b.createElement)("path",{d:"M1000,0c0,0 -420.987,98 -650,98c-229.013,0 -350,-98 -350,-98l0,100l1000,0l0,-100Z"}):"crvr"===k?j=Object(b.createElement)("path",{d:"M1000,100c0,0 -120.987,-98 -350,-98c-229.013,0 -650,98 -650,98l1000,0Z"}):"crvri"===k?j=Object(b.createElement)("path",{d:"M1000,0c0,0 -120.987,98 -350,98c-229.013,0 -650,-98 -650,-98l0,100l1000,0l0,-100Z"}):"wave"===k?j=Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}):"wavei"===k?j=Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}):"waves"===k?j=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,73 -500,73c-154.895,0 -250,-45 -250,-45l0,70l1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,68 -500,68c-154.895,0 -250,-65 -250,-65l0,95l1000,0l0,-60Z",style:{opacity:.4}})):"wavesi"===k?j=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,73 500,73c154.895,0 250,-45 250,-45l0,70l-1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,68 500,68c154.895,0 250,-65 250,-65l0,95l-1000,0l0,-60Z",style:{opacity:.4}})):"mtns"===k?j=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,50l-182.69,-45.286l-292.031,61.197l-190.875,-41.075l-143.748,28.794l-190.656,-23.63l0,70l1000,0l0,-50Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,57l-152.781,-22.589l-214.383,19.81l-159.318,-21.471l-177.44,25.875l-192.722,5.627l-103.356,-27.275l0,63.023l1000,0l0,-43Z"})):"littri"===k?j=Object(b.createElement)("path",{d:"M500,2l25,98l-50,0l25,-98Z"}):"littrii"===k&&(j=Object(b.createElement)("path",{d:"M1000,100l-1000,0l0,-100l475,0l25,98l25,-98l475,0l0,100Z"})),"ct"===f?_=Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z"}):"cti"===f?_=Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"}):"ctd"===f?_=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,20l-500,78l-500,-78l0,80l1000,0l0,-80Z"})):"ctdi"===f?_=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M500,2l500,78l0,20l-1000,0l0,-20l500,-78Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"})):"sltl"===f?_=Object(b.createElement)("path",{d:"M1000,0l-1000,100l1000,0l0,-100Z"}):"sltli"===f?_=Object(b.createElement)("path",{d:"M0,100l1000,-100l-1000,0l0,100Z"}):"sltr"===f?_=Object(b.createElement)("path",{d:"M0,0l1000,100l-1000,0l0,-100Z"}):"sltri"===f?_=Object(b.createElement)("path",{d:"M1000,100l-1000,-100l1000,0l0,100Z"}):"crv"===f?_=Object(b.createElement)("path",{d:"M1000,100c0,0 -270.987,-98 -500,-98c-229.013,0 -500,98 -500,98l1000,0Z"}):"crvi"===f?_=Object(b.createElement)("path",{d:"M1000,0c0,0 -270.987,98 -500,98c-229.013,0 -500,-98 -500,-98l0,100l1000,0l0,-100Z"}):"crvl"===f?_=Object(b.createElement)("path",{d:"M1000,100c0,0 -420.987,-98 -650,-98c-229.013,0 -350,98 -350,98l1000,0Z"}):"crvli"===f?_=Object(b.createElement)("path",{d:"M1000,0c0,0 -420.987,98 -650,98c-229.013,0 -350,-98 -350,-98l0,100l1000,0l0,-100Z"}):"crvr"===f?_=Object(b.createElement)("path",{d:"M1000,100c0,0 -120.987,-98 -350,-98c-229.013,0 -650,98 -650,98l1000,0Z"}):"crvri"===f?_=Object(b.createElement)("path",{d:"M1000,0c0,0 -120.987,98 -350,98c-229.013,0 -650,-98 -650,-98l0,100l1000,0l0,-100Z"}):"wave"===f?_=Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}):"wavei"===f?_=Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}):"waves"===f?_=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,73 -500,73c-154.895,0 -250,-45 -250,-45l0,70l1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,68 -500,68c-154.895,0 -250,-65 -250,-65l0,95l1000,0l0,-60Z",style:{opacity:.4}})):"wavesi"===f?_=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,73 500,73c154.895,0 250,-45 250,-45l0,70l-1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,68 500,68c154.895,0 250,-65 250,-65l0,95l-1000,0l0,-60Z",style:{opacity:.4}})):"mtns"===f?_=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,50l-182.69,-45.286l-292.031,61.197l-190.875,-41.075l-143.748,28.794l-190.656,-23.63l0,70l1000,0l0,-50Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,57l-152.781,-22.589l-214.383,19.81l-159.318,-21.471l-177.44,25.875l-192.722,5.627l-103.356,-27.275l0,63.023l1000,0l0,-43Z"})):"littri"===f?_=Object(b.createElement)("path",{d:"M500,2l25,98l-50,0l25,-98Z"}):"littrii"===f&&(_=Object(b.createElement)("path",{d:"M1000,100l-1000,0l0,-100l475,0l25,98l25,-98l475,0l0,100Z"}));const w=c||"equal",x=s||"inherit",E=v||"div",S=i||"inherit",C=m||"notset",T=g||u||r||n?"kt-row-has-bg":"",N=o&&"grad"===o?"gradient":"normal",z=xt()("align"+a),M=xt()(`kt-row-layout-inner ${T} kt-layout-id${C}`),I=xt()(`kt-row-column-wrap kt-has-${l}-columns kt-gutter-${p} kt-row-valign-${h} kt-row-layout-${w} kt-tab-layout-${x} kt-m-colapse-${d} kt-mobile-layout-${S}`);return Object(b.createElement)(E,{className:z},Object(b.createElement)("div",{id:"kt-layout-id"+m,className:M},(r||n)&&Object(b.createElement)("div",{className:"kt-row-layout-overlay kt-row-overlay-"+N}),f&&"none"!==f&&Object(b.createElement)("div",{className:"kt-row-layout-top-sep kt-row-sep-type-"+f},Object(b.createElement)("svg",{style:{fill:O},viewBox:"0 0 1000 100",preserveAspectRatio:"none"},_)),Object(b.createElement)("div",{className:I},Object(b.createElement)(Ce.InnerBlocks.Content,null)),k&&"none"!==k&&Object(b.createElement)("div",{className:"kt-row-layout-bottom-sep kt-row-sep-type-"+k},Object(b.createElement)("svg",{style:{fill:y},viewBox:"0 0 1000 100",preserveAspectRatio:"none"},j))))}}];const{Component:xc,Fragment:Ec}=wp.element;const{Fragment:Sc}=wp.element,{InnerBlocks:Cc}=wp.blockEditor,{registerBlockType:Tc}=wp.blocks;Tc("kadence/rowlayout",{title:Object(m.__)("Row Layout","kadence-blocks"),icon:{src:g.blockRow},category:"kadence-blocks",keywords:[Object(m.__)("row/layout","kadence-blocks"),Object(m.__)("column","kadence-blocks"),"KB"],supports:{anchor:!0,kbcss:!0,ktdynamic:!0,editorsKitBlockNavigator:!0},usesContext:["postId","queryId"],attributes:{uniqueID:{type:"string",default:""},columns:{type:"number",default:2},mobileLayout:{type:"string",default:"row"},tabletLayout:{type:"string",default:"inherit"},collapseOrder:{type:"string",default:"left-to-right"},collapseGutter:{type:"string",default:"default"},columnGutter:{type:"string",default:"default"},colLayout:{type:"string",default:""},currentTab:{type:"string",default:"desk"},currentOverlayTab:{type:"string",default:"normal"},htmlTag:{type:"string",default:"div"},minHeight:{type:"number",default:0},maxWidth:{type:"number",default:""},topPadding:{type:"number",default:25},bottomPadding:{type:"number",default:25},leftPadding:{type:"number",default:""},rightPadding:{type:"number",default:""},topPaddingM:{type:"number",default:""},bottomPaddingM:{type:"number",default:""},leftPaddingM:{type:"number",default:""},rightPaddingM:{type:"number",default:""},topMargin:{type:"number",default:""},bottomMargin:{type:"number",default:""},topMarginM:{type:"number",default:""},bottomMarginM:{type:"number",default:""},bgColor:{type:"string",default:""},bgImg:{type:"string",default:""},bgImgID:{type:"string",default:""},bgImgSize:{type:"string",default:"cover"},bgImgPosition:{type:"string",default:"center center"},bgImgAttachment:{type:"string",default:"scroll"},bgImgRepeat:{type:"string",default:"no-repeat"},overlay:{type:"string",default:""},overlaySecond:{type:"string",default:"#00B5E2"},overlayFirstOpacity:{type:"number",default:""},overlaySecondOpacity:{type:"number",default:""},overlayGradLoc:{type:"number",default:0},overlayGradLocSecond:{type:"number",default:100},overlayGradType:{type:"string",default:"linear"},overlayGradAngle:{type:"number",default:180},overlayBgImg:{type:"string",default:""},overlayBgImgID:{type:"string",default:""},overlayBgImgSize:{type:"string",default:"cover"},overlayBgImgPosition:{type:"string",default:"center center"},overlayBgImgAttachment:{type:"string",default:"scroll"},overlayBgImgRepeat:{type:"string",default:"no-repeat"},overlayOpacity:{type:"number",default:30},overlayBlendMode:{type:"string",default:"none"},blockAlignment:{type:"string",default:"none"},align:{type:"string",default:"none"},verticalAlignment:{type:"string",default:"top"},topSep:{type:"string",default:"none"},topSepColor:{type:"string",default:"#ffffff"},topSepFlip:{type:"boolean",default:!1},topSepHeight:{type:"number",default:100},topSepHeightTab:{type:"number",default:""},topSepHeightMobile:{type:"number",default:""},bottomSep:{type:"string",default:"none"},bottomSepColor:{type:"string",default:"#ffffff"},bottomSepFlip:{type:"boolean",default:!1},bottomSepHeight:{type:"number",default:100},bottomSepWidth:{type:"number",default:100},bottomSepWidthTab:{type:"number",default:""},bottomSepWidthMobile:{type:"number",default:""},bottomSepHeightTab:{type:"number",default:""},bottomSepHeightMobile:{type:"number",default:""},firstColumnWidth:{type:"number"},secondColumnWidth:{type:"number"},textColor:{type:"string",default:""},linkColor:{type:"string",default:""},linkHoverColor:{type:"string",default:""},tabletPadding:{type:"array",default:["","","",""]},topMarginT:{type:"number",default:""},bottomMarginT:{type:"number",default:""},marginUnit:{type:"string",default:"px"},minHeightUnit:{type:"string",default:"px"},maxWidthUnit:{type:"string",default:"px"},columnsUnlocked:{type:"bool",default:!1},tabletBackground:{type:"array",default:[{enable:!1,bgColor:"",bgImg:"",bgImgID:"",bgImgSize:"cover",bgImgPosition:"center center",bgImgAttachment:"scroll",bgImgRepeat:"no-repeat",forceOverDesk:!1}]},tabletOverlay:{type:"array",default:[{enable:!1,currentOverlayTab:"normal",overlay:"",overlaySecond:"#00B5E2",overlayGradLoc:0,overlayGradLocSecond:100,overlayGradType:"linear",overlayGradAngle:180,overlayBgImg:"",overlayBgImgID:"",overlayBgImgSize:"cover",overlayBgImgPosition:"center center",overlayBgImgAttachment:"scroll",overlayBgImgRepeat:"no-repeat",overlayOpacity:30,overlayBlendMod:"none"}]},mobileBackground:{type:"array",default:[{enable:!1,bgColor:"",bgImg:"",bgImgID:"",bgImgSize:"cover",bgImgPosition:"center center",bgImgAttachment:"scroll",bgImgRepeat:"no-repeat",forceOverDesk:!1}]},mobileOverlay:{type:"array",default:[{enable:!1,currentOverlayTab:"normal",overlay:"",overlaySecond:"#00B5E2",overlayGradLoc:0,overlayGradLocSecond:100,overlayGradType:"linear",overlayGradAngle:180,overlayBgImg:"",overlayBgImgID:"",overlayBgImgSize:"cover",overlayBgImgPosition:"center center",overlayBgImgAttachment:"scroll",overlayBgImgRepeat:"no-repeat",overlayOpacity:30,overlayBlendMod:"none"}]},columnsInnerHeight:{type:"bool",default:!1},topSepWidth:{type:"number",default:""},topSepWidthTablet:{type:"number",default:""},topSepWidthMobile:{type:"number",default:""},backgroundInline:{type:"bool",default:!1},backgroundSettingTab:{type:"string",default:"normal"},backgroundSliderCount:{type:"number",default:1},backgroundSlider:{type:"array",default:[{bgColor:"",bgImg:"",bgImgID:""}]},backgroundSliderSettings:{type:"array",default:[{arrowStyle:"none",dotStyle:"dark",autoPlay:!0,speed:7e3,fade:!0,tranSpeed:400}]},backgroundVideoType:{type:"string",default:"local"},backgroundVideo:{type:"array",default:[{youTube:"",local:"",localID:"",vimeo:"",ratio:"16/9",btns:!1,loop:!0,mute:!0}]},zIndex:{type:"number",default:""},paddingUnit:{type:"string",default:"px"},inheritMaxWidth:{type:"bool",default:!1},noCustomDefaults:{type:"bool",default:!1},isPrebuiltModal:{type:"bool",default:!1},minHeightTablet:{type:"number",default:""},minHeightMobile:{type:"number",default:""},bgColorClass:{type:"string",default:""},vsdesk:{type:"bool",default:!1},vstablet:{type:"bool",default:!1},vsmobile:{type:"bool",default:!1},loggedIn:{type:"bool",default:!1},loggedInUser:{type:"array"},loggedInShow:{type:"array"},rcpAccess:{type:"string",default:""},rcpMembership:{type:"bool",default:!1},rcpMembershipLevel:{type:"array"},loggedOut:{type:"bool",default:!1},borderWidth:{type:"array",default:["","","",""]},tabletBorderWidth:{type:"array",default:["","","",""]},mobileBorderWidth:{type:"array",default:["","","",""]},borderRadius:{type:"array",default:["","","",""]},tabletBorderRadius:{type:"array",default:["","","",""]},mobileBorderRadius:{type:"array",default:["","","",""]},border:{type:"string",default:""},tabletBorder:{type:"string",default:""},mobileBorder:{type:"string",default:""},responsiveMaxWidth:{type:"array",default:["",""]},inQueryBlock:{type:"bool",default:!1}},getEditWrapperProps(e){let{align:t}=e;if("full"===t||"wide"===t||"center"===t)return{"data-align":t}},edit:Oc,save:class extends xc{render(){const{attributes:{columns:e,blockAlignment:t,inheritMaxWidth:l,align:a,mobileLayout:i,currentOverlayTab:o,overlayBgImg:n,overlay:r,colLayout:c,tabletLayout:s,collapseOrder:d,uniqueID:p,columnGutter:g,collapseGutter:u,bgColor:h,bgImg:v,verticalAlignment:k,htmlTag:y,bottomSep:f,bottomSepColor:O,topSep:j,topSepColor:_,firstColumnWidth:w,secondColumnWidth:x,overlayBgImgAttachment:E,bgImgAttachment:S,columnsInnerHeight:C,backgroundInline:T,backgroundSettingTab:N,backgroundSliderCount:z,backgroundSliderSettings:M,backgroundSlider:I,bgImgSize:H,bgImgPosition:B,bgImgRepeat:P,backgroundVideoType:R,backgroundVideo:A,bgColorClass:L,vsdesk:F,vstablet:W,vsmobile:D,tabletOverlay:$,mobileOverlay:U}}=this.props;let V,Z;"ct"===f?V=Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z"}):"cti"===f?V=Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"}):"ctd"===f?V=Object(b.createElement)(Ec,null,Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,20l-500,78l-500,-78l0,80l1000,0l0,-80Z"})):"ctdi"===f?V=Object(b.createElement)(Ec,null,Object(b.createElement)("path",{d:"M500,2l500,78l0,20l-1000,0l0,-20l500,-78Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"})):"sltl"===f?V=Object(b.createElement)("path",{d:"M1000,0l-1000,100l1000,0l0,-100Z"}):"sltli"===f?V=Object(b.createElement)("path",{d:"M0,100l1000,-100l-1000,0l0,100Z"}):"sltr"===f?V=Object(b.createElement)("path",{d:"M0,0l1000,100l-1000,0l0,-100Z"}):"sltri"===f?V=Object(b.createElement)("path",{d:"M1000,100l-1000,-100l1000,0l0,100Z"}):"crv"===f?V=Object(b.createElement)("path",{d:"M1000,100c0,0 -270.987,-98 -500,-98c-229.013,0 -500,98 -500,98l1000,0Z"}):"crvi"===f?V=Object(b.createElement)("path",{d:"M1000,0c0,0 -270.987,98 -500,98c-229.013,0 -500,-98 -500,-98l0,100l1000,0l0,-100Z"}):"crvl"===f?V=Object(b.createElement)("path",{d:"M1000,100c0,0 -420.987,-98 -650,-98c-229.013,0 -350,98 -350,98l1000,0Z"}):"crvli"===f?V=Object(b.createElement)("path",{d:"M1000,0c0,0 -420.987,98 -650,98c-229.013,0 -350,-98 -350,-98l0,100l1000,0l0,-100Z"}):"crvr"===f?V=Object(b.createElement)("path",{d:"M1000,100c0,0 -120.987,-98 -350,-98c-229.013,0 -650,98 -650,98l1000,0Z"}):"crvri"===f?V=Object(b.createElement)("path",{d:"M1000,0c0,0 -120.987,98 -350,98c-229.013,0 -650,-98 -650,-98l0,100l1000,0l0,-100Z"}):"wave"===f?V=Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}):"wavei"===f?V=Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}):"waves"===f?V=Object(b.createElement)(Ec,null,Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,73 -500,73c-154.895,0 -250,-45 -250,-45l0,70l1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,68 -500,68c-154.895,0 -250,-65 -250,-65l0,95l1000,0l0,-60Z",style:{opacity:.4}})):"wavesi"===f?V=Object(b.createElement)(Ec,null,Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,73 500,73c154.895,0 250,-45 250,-45l0,70l-1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,68 500,68c154.895,0 250,-65 250,-65l0,95l-1000,0l0,-60Z",style:{opacity:.4}})):"mtns"===f?V=Object(b.createElement)(Ec,null,Object(b.createElement)("path",{d:"M1000,50l-182.69,-45.286l-292.031,61.197l-190.875,-41.075l-143.748,28.794l-190.656,-23.63l0,70l1000,0l0,-50Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,57l-152.781,-22.589l-214.383,19.81l-159.318,-21.471l-177.44,25.875l-192.722,5.627l-103.356,-27.275l0,63.023l1000,0l0,-43Z"})):"littri"===f?V=Object(b.createElement)("path",{d:"M500,2l25,98l-50,0l25,-98Z"}):"littrii"===f?V=Object(b.createElement)("path",{d:"M1000,100l-1000,0l0,-100l475,0l25,98l25,-98l475,0l0,100Z"}):"threelevels"===f?V=Object(b.createElement)(Ec,null,Object(b.createElement)("path",{style:{opacity:.33},d:"M0 95L1000 0v100H0v-5z"}),Object(b.createElement)("path",{style:{opacity:.66},d:"M0 95l1000-67.944V100H0v-5z"}),Object(b.createElement)("path",{d:"M0 95l1000-40.887V100H0v-5z"})):"threelevelsi"===f&&(V=Object(b.createElement)(Ec,null,Object(b.createElement)("path",{style:{opacity:.33},d:"M1000 95L0 0v100h1000v-5z"}),Object(b.createElement)("path",{style:{opacity:.66},d:"M1000 95L0 27.056V100h1000v-5z"}),Object(b.createElement)("path",{d:"M1000 95L0 54.113V100h1000v-5z"}))),"ct"===j?Z=Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z"}):"cti"===j?Z=Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"}):"ctd"===j?Z=Object(b.createElement)(Ec,null,Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,20l-500,78l-500,-78l0,80l1000,0l0,-80Z"})):"ctdi"===j?Z=Object(b.createElement)(Ec,null,Object(b.createElement)("path",{d:"M500,2l500,78l0,20l-1000,0l0,-20l500,-78Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"})):"sltl"===j?Z=Object(b.createElement)("path",{d:"M1000,0l-1000,100l1000,0l0,-100Z"}):"sltli"===j?Z=Object(b.createElement)("path",{d:"M0,100l1000,-100l-1000,0l0,100Z"}):"sltr"===j?Z=Object(b.createElement)("path",{d:"M0,0l1000,100l-1000,0l0,-100Z"}):"sltri"===j?Z=Object(b.createElement)("path",{d:"M1000,100l-1000,-100l1000,0l0,100Z"}):"crv"===j?Z=Object(b.createElement)("path",{d:"M1000,100c0,0 -270.987,-98 -500,-98c-229.013,0 -500,98 -500,98l1000,0Z"}):"crvi"===j?Z=Object(b.createElement)("path",{d:"M1000,0c0,0 -270.987,98 -500,98c-229.013,0 -500,-98 -500,-98l0,100l1000,0l0,-100Z"}):"crvl"===j?Z=Object(b.createElement)("path",{d:"M1000,100c0,0 -420.987,-98 -650,-98c-229.013,0 -350,98 -350,98l1000,0Z"}):"crvli"===j?Z=Object(b.createElement)("path",{d:"M1000,0c0,0 -420.987,98 -650,98c-229.013,0 -350,-98 -350,-98l0,100l1000,0l0,-100Z"}):"crvr"===j?Z=Object(b.createElement)("path",{d:"M1000,100c0,0 -120.987,-98 -350,-98c-229.013,0 -650,98 -650,98l1000,0Z"}):"crvri"===j?Z=Object(b.createElement)("path",{d:"M1000,0c0,0 -120.987,98 -350,98c-229.013,0 -650,-98 -650,-98l0,100l1000,0l0,-100Z"}):"wave"===j?Z=Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}):"wavei"===j?Z=Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}):"waves"===j?Z=Object(b.createElement)(Ec,null,Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,73 -500,73c-154.895,0 -250,-45 -250,-45l0,70l1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,68 -500,68c-154.895,0 -250,-65 -250,-65l0,95l1000,0l0,-60Z",style:{opacity:.4}})):"wavesi"===j?Z=Object(b.createElement)(Ec,null,Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,73 500,73c154.895,0 250,-45 250,-45l0,70l-1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,68 500,68c154.895,0 250,-65 250,-65l0,95l-1000,0l0,-60Z",style:{opacity:.4}})):"mtns"===j?Z=Object(b.createElement)(Ec,null,Object(b.createElement)("path",{d:"M1000,50l-182.69,-45.286l-292.031,61.197l-190.875,-41.075l-143.748,28.794l-190.656,-23.63l0,70l1000,0l0,-50Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,57l-152.781,-22.589l-214.383,19.81l-159.318,-21.471l-177.44,25.875l-192.722,5.627l-103.356,-27.275l0,63.023l1000,0l0,-43Z"})):"littri"===j?Z=Object(b.createElement)("path",{d:"M500,2l25,98l-50,0l25,-98Z"}):"littrii"===j?Z=Object(b.createElement)("path",{d:"M1000,100l-1000,0l0,-100l475,0l25,98l25,-98l475,0l0,100Z"}):"threelevels"===j?Z=Object(b.createElement)(Ec,null,Object(b.createElement)("path",{style:{opacity:.33},d:"M0 95L1000 0v100H0v-5z"}),Object(b.createElement)("path",{style:{opacity:.66},d:"M0 95l1000-67.944V100H0v-5z"}),Object(b.createElement)("path",{d:"M0 95l1000-40.887V100H0v-5z"})):"threelevelsi"===j&&(Z=Object(b.createElement)(Ec,null,Object(b.createElement)("path",{style:{opacity:.33},d:"M1000 95L0 0v100h1000v-5z"}),Object(b.createElement)("path",{style:{opacity:.66},d:"M1000 95L0 27.056V100h1000v-5z"}),Object(b.createElement)("path",{d:"M1000 95L0 54.113V100h1000v-5z"})));const G=!w||2!==e&&3!==e?"":" kt-custom-first-width-"+w,q=!x||2!==e&&3!==e?"":" kt-custom-second-width-"+x,K=x&&w&&3===e?" kt-custom-third-width-"+Math.round(10*(100-(parseFloat(w)+parseFloat(x))))/10:"",Q=c||"equal",J=s||"inherit",Y=y||"div",X=i||"inherit",ee=p||"notset",te=o&&"grad"===o?"gradient":"normal",le=xt()({["align"+(a||"none")]:!0,"kvs-lg-false":"undefined"!==F&&F,"kvs-md-false":"undefined"!==W&&W,"kvs-sm-false":"undefined"!==D&&D}),ae=Object(Ce.getColorClassName)("background-color",L),ie=xt()("kt-row-layout-inner",{"kt-row-has-bg":h||v||r||n,["kt-layout-id"+ee]:ee,"kt-jarallax":v&&"parallax"===S,[ae]:ae}),oe=xt()({"kt-row-column-wrap":!0,[`kt-has-${e}-columns`]:e,["kt-gutter-"+g]:g,["kt-v-gutter-"+(u||"default")]:!0,["kt-row-valign-"+k]:k,["kt-row-layout-"+Q]:Q,["kt-tab-layout-"+J]:J,["kt-m-colapse-"+d]:d,["kt-mobile-layout-"+X]:X,[G]:G,[q]:q,[K]:K,"kt-inner-column-height-full":void 0!==C&&!0===C,"kb-theme-content-width":l});let ne=!(!r&&!n);return ne||(ne=!!($&&$[0]&&$[0].enable)),ne||(ne=!!(U&&U[0]&&U[0].enable)),Object(b.createElement)(Y,{className:le},Object(b.createElement)("div",{id:"kt-layout-id"+p,className:ie,style:{backgroundImage:"slider"!==N&&"video"!==N&&T&&void 0!==v&&""!==v?"url("+v+")":void 0}},"slider"===N&&(()=>{let e;return e=void 0===M||void 0!==M&&void 0===M[0]?[{arrowStyle:"none",dotStyle:"dark",autoPlay:!0,speed:7e3,fade:!0,tranSpeed:400}]:M,Object(b.createElement)("div",{className:"kt-blocks-carousel kb-blocks-bg-slider kt-carousel-container-dotstyle-"+e[0].dotStyle},Object(b.createElement)("div",{className:`kt-blocks-carousel-init kb-blocks-bg-slider-init kt-carousel-arrowstyle-${e[0].arrowStyle} kt-carousel-dotstyle-${e[0].dotStyle}`,"data-slider-anim-speed":e[0].tranSpeed,"data-slider-type":"slider","data-slider-scroll":"1","data-slider-arrows":"none"!==e[0].arrowStyle,"data-slider-fade":e[0].fade,"data-slider-dots":"none"!==e[0].dotStyle,"data-slider-hover-pause":"false","data-slider-auto":e[0].autoPlay,"data-slider-speed":e[0].speed},io()(void 0!==z?z:1,e=>(e=>{let t;return t=void 0===I||void 0!==I&&void 0===I[0]?[{bgColor:"",bgImg:"",bgImgID:""}]:I,Object(b.createElement)("div",{className:"kb-bg-slide-contain"},Object(b.createElement)("div",{className:"kb-bg-slide kb-bg-slide-"+e,style:{backgroundColor:t[e]&&""!==t[e].bgColor?pa(t[e].bgColor):void 0,backgroundImage:t[e]&&""!==t[e].bgImg?"url("+t[e].bgImg+")":void 0,backgroundSize:H||void 0,backgroundPosition:B||void 0,backgroundRepeat:P||void 0}}))})(e))))})(),"video"===N&&Object(b.createElement)("div",{className:"kb-blocks-bg-video-container"},(void 0===R||""===R||"local"===R)&&(()=>{const e=void 0!==A&&void 0!==A[0]&&void 0!==A[0].local?A:[{youTube:"",local:"",localID:"",vimeo:"",ratio:"16/9",btns:!1,loop:!0,mute:!0}];return Object(b.createElement)(Ec,null,Object(b.createElement)("video",{className:"kb-blocks-bg-video",poster:void 0!==v&&""!==v?v:void 0,playsinline:"",autoplay:"",muted:!1!==e[0].mute&&"",loop:!1!==e[0].loop&&"",src:e[0].local}),!0===e[0].btns&&Object(b.createElement)("div",{className:"kb-background-video-buttons-wrapper kb-background-video-buttons-html5"},Object(b.createElement)("button",{className:"kb-background-video-play kb-toggle-video-btn","aria-label":Object(m.__)("Play","kadence-blocks"),"aria-hidden":"true",style:"display: none;"},Object(b.createElement)("svg",{viewBox:"0 0 448 512",height:"16",width:"16",fill:"currentColor",xmlns:"https://www.w3.org/2000/svg"},Object(b.createElement)("path",{d:"M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z"}))),Object(b.createElement)("button",{className:"kb-background-video-pause kb-toggle-video-btn","aria-label":Object(m.__)("Pause","kadence-blocks"),"aria-hidden":"false"},Object(b.createElement)("svg",{viewBox:"0 0 448 512",height:"16",width:"16",fill:"currentColor",xmlns:"https://www.w3.org/2000/svg"},Object(b.createElement)("path",{d:"M144 479H48c-26.5 0-48-21.5-48-48V79c0-26.5 21.5-48 48-48h96c26.5 0 48 21.5 48 48v352c0 26.5-21.5 48-48 48zm304-48V79c0-26.5-21.5-48-48-48h-96c-26.5 0-48 21.5-48 48v352c0 26.5 21.5 48 48 48h96c26.5 0 48-21.5 48-48z"}))),!1===e[0].mute&&Object(b.createElement)(Ec,null,Object(b.createElement)("button",{className:"kb-background-video-unmute kb-toggle-video-btn","aria-label":Object(m.__)("Unmute","kadence-blocks"),"aria-hidden":"true",style:"display: none;"},Object(b.createElement)("svg",{viewBox:"0 0 256 512",height:"16",width:"16",fill:"currentColor",xmlns:"https://www.w3.org/2000/svg"},Object(b.createElement)("path",{d:"M256 88.017v335.964c0 21.438-25.943 31.998-40.971 16.971L126.059 352H24c-13.255 0-24-10.745-24-24V184c0-13.255 10.745-24 24-24h102.059l88.971-88.954c15.01-15.01 40.97-4.49 40.97 16.971z"}))),Object(b.createElement)("button",{className:"kb-background-video-mute kb-toggle-video-btn","aria-label":Object(m.__)("Mute","kadence-blocks"),"aria-hidden":"false"},Object(b.createElement)("svg",{viewBox:"0 0 576 512",height:"16",width:"16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},Object(b.createElement)("path",{d:"M256 88.017v335.964c0 21.438-25.943 31.998-40.971 16.971L126.059 352H24c-13.255 0-24-10.745-24-24V184c0-13.255 10.745-24 24-24h102.059l88.971-88.954c15.01-15.01 40.97-4.49 40.97 16.971zm182.056-77.876C422.982.92 403.283 5.668 394.061 20.745c-9.221 15.077-4.473 34.774 10.604 43.995C468.967 104.063 512 174.983 512 256c0 73.431-36.077 142.292-96.507 184.206-14.522 10.072-18.129 30.01-8.057 44.532 10.076 14.528 30.016 18.126 44.531 8.057C529.633 438.927 576 350.406 576 256c0-103.244-54.579-194.877-137.944-245.859zM480 256c0-68.547-36.15-129.777-91.957-163.901-15.076-9.22-34.774-4.471-43.994 10.607-9.22 15.078-4.471 34.774 10.607 43.994C393.067 170.188 416 211.048 416 256c0 41.964-20.62 81.319-55.158 105.276-14.521 10.073-18.128 30.01-8.056 44.532 6.216 8.96 16.185 13.765 26.322 13.765a31.862 31.862 0 0 0 18.21-5.709C449.091 377.953 480 318.938 480 256zm-96 0c0-33.717-17.186-64.35-45.972-81.944-15.079-9.214-34.775-4.463-43.992 10.616s-4.464 34.775 10.615 43.992C314.263 234.538 320 244.757 320 256a32.056 32.056 0 0 1-13.802 26.332c-14.524 10.069-18.136 30.006-8.067 44.53 10.07 14.525 30.008 18.136 44.53 8.067C368.546 316.983 384 287.478 384 256z"}))))))})()),ne&&Object(b.createElement)("div",{className:`kt-row-layout-overlay kt-row-overlay-${te}${n&&"gradient"!==te&&"parallax"===E?" kt-jarallax":""}`}),j&&"none"!==j&&""!==j&&Object(b.createElement)("div",{className:"kt-row-layout-top-sep kt-row-sep-type-"+j},Object(b.createElement)("svg",{style:{fill:pa(_)},viewBox:"0 0 1000 100",preserveAspectRatio:"none"},Z)),Object(b.createElement)("div",{className:oe},Object(b.createElement)(Ce.InnerBlocks.Content,null)),f&&"none"!==f&&""!==f&&Object(b.createElement)("div",{className:"kt-row-layout-bottom-sep kt-row-sep-type-"+f},Object(b.createElement)("svg",{style:{fill:pa(O)},viewBox:"0 0 1000 100",preserveAspectRatio:"none"},V))))}},deprecated:wc});const Nc={};Nc.rowlayout=Object(b.createElement)("svg",{width:"20px",height:"20px",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},Object(b.createElement)("path",{d:"M46.506,7.877l-45.012,0c-0.484,0 -0.882,0.398 -0.882,0.882l0,23.645c0,0.484 0.398,0.882 0.882,0.882l45.012,0c0.484,0 0.882,-0.398 0.882,-0.882l0,-23.65c-0.003,-0.482 -0.4,-0.877 -0.882,-0.877Zm-0.882,23.65l-43.248,0l0,-21.886l43.248,0l0,21.886Z",fill:"#0058b0",fillRule:"nonzero"}),Object(b.createElement)("rect",{x:"4.587",y:"11.533",width:"38.825",height:"18.096",fill:"#0058b0"}),Object(b.createElement)("path",{d:"M43.413,29.63l-38.826,0l0,-18.097l38.826,0l0,18.097Zm-37.061,-16.332l0,14.567l35.296,0l0,-14.567l-35.296,0Z",fill:"#0058b0"}),Object(b.createElement)("path",{d:"M24,40.123c4.365,0 7.957,-3.592 7.957,-7.957c0,-4.365 -3.592,-7.957 -7.957,-7.957c-4.365,0 -7.957,3.592 -7.957,7.957c0,0.001 0,0.002 0,0.003c0,4.363 3.591,7.954 7.954,7.954c0.001,0 0.002,0 0.003,0Z",fill:"#0058b0",fillRule:"nonzero",stroke:"#fff",strokeWidth:"1.76"}),Object(b.createElement)("path",{d:"M20.811,31.539l2.307,0l0,-2.309c0,-0.484 0.398,-0.882 0.882,-0.882c0.484,0 0.882,0.398 0.882,0.882l0,2.309l2.307,0c0.483,0 0.882,0.398 0.882,0.882c0,0.484 -0.399,0.882 -0.882,0.882l-2.307,0l0,2.307c0,0.484 -0.398,0.882 -0.882,0.882c-0.484,0 -0.882,-0.398 -0.882,-0.882l0,-2.307l-2.307,0c-0.483,0 -0.882,-0.398 -0.882,-0.882c0,-0.484 0.399,-0.882 0.882,-0.882Z",fill:"#fff",fillRule:"nonzero"})),Nc.section=Object(b.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2",clipRule:"evenodd",viewBox:"0 0 48 48"},Object(b.createElement)("path",{fill:"#0073E6",d:"M23.41 29.629h-5.385v1.652h5.385v-1.652zm7.18 0h-5.385v1.652h5.385v-1.652zm7.18 0h-5.385v1.652h5.385v-1.652zM4.587 28.613H2.792v.629l.006.142c.079 1.059 1.039 1.897 2.21 1.897h4.041v-1.652H5.008c-.232 0-.421-.174-.421-.387v-.629zm11.642 1.016h-5.385v1.652h5.385v-1.652zm27.183-1.582v1.195c0 .213-.189.387-.421.387h-3.426v1.652h3.426c1.223 0 2.216-.914 2.216-2.039v-1.195h-1.795zM4.587 22.004H2.792v4.957h1.795v-4.957zm38.825-.566v4.957h1.795v-4.957h-1.795zM4.587 15.396H2.792v4.956h1.795v-4.956zm38.825-.567v4.957h1.795v-4.957h-1.795zM7.751 11.533V9.881H5.008c-1.223 0-2.216.914-2.216 2.039v1.823h1.795V11.92c0-.213.189-.387.421-.387h2.743zm35.661.387v1.257h1.795V11.92h-1.795zm-5.145-.387h4.724c.232 0 .421.174.421.387h1.795c0-1.125-.993-2.039-2.216-2.039h-4.724v1.652zm-23.335 0V9.881H9.546v1.652h5.386zm7.18 0V9.881h-5.385v1.652h5.385zm7.18 0V9.881h-5.385v1.652h5.385zm7.18 0V9.881h-5.385v1.652h5.385z",transform:"translate(0 3.418) matrix(1.11418 0 0 1.21048 -2.754 -4.333)"}),Object(b.createElement)("path",{fill:"#0073E6",fillRule:"nonzero",d:"M24 40.123c4.365 0 7.957-3.592 7.957-7.957S28.365 24.209 24 24.209s-7.957 3.592-7.957 7.957v.003c0 4.363 3.591 7.954 7.954 7.954H24z",transform:"translate(0 3.418) matrix(.91115 0 0 .91115 2.132 -8.726)"}),Object(b.createElement)("path",{fill:"#fff",fillRule:"nonzero",d:"M20.811 31.539h2.307V29.23c0-.484.398-.882.882-.882s.882.398.882.882v2.309h2.307c.483 0 .882.398.882.882a.887.887 0 01-.882.882h-2.307v2.307a.886.886 0 01-.882.882.886.886 0 01-.882-.882v-2.307h-2.307a.887.887 0 01-.882-.882c0-.484.399-.882.882-.882z",transform:"translate(0 3.418) translate(0 -11.6)"})),Nc.countdown=Object(b.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round",width:"20px",height:"20px",strokeMiterlimit:"1.5",clipRule:"evenodd",viewBox:"0 0 216 216"},Object(b.createElement)("path",{fill:"#0073e6",d:"M136.708 9.633a3.762 3.762 0 00-3.76-3.76H80.46a3.761 3.761 0 00-3.759 3.76v7.519a3.761 3.761 0 003.759 3.76h52.488a3.762 3.762 0 003.76-3.76V9.633zM56.711 26.914a2.084 2.084 0 00-2.934-.273L27.533 48.406a2.085 2.085 0 00-.274 2.934l2.661 3.208a2.085 2.085 0 002.934.274l26.244-21.766a2.085 2.085 0 00.274-2.934l-2.661-3.208z"}),Object(b.createElement)("path",{fill:"#0073e6",d:"M95.617 17.317H117.664V35.903H95.617z"}),Object(b.createElement)("circle",{cx:"108",cy:"120.001",r:"87.354",fill:"none",stroke:"#0073e6",strokeWidth:"10"}),Object(b.createElement)("path",{fill:"none",stroke:"#0073e6",strokeWidth:"8",d:"M106.542 63.759l.162-.001c13.323 0 25.57 4.643 35.213 12.398M158.611 98.325a56 56 0 014.336 21.676 56.15 56.15 0 01-2.402 16.299"}),Object(b.createElement)("path",{fill:"#0073e6",d:"M42.958 148.19l7.904-21.067 18.01 13.486-25.914 7.581z"}),Object(b.createElement)("path",{fill:"none",stroke:"#0073e6",strokeWidth:"8",d:"M148.157 156.025a55.959 55.959 0 01-30.252 17.371c-26.492 5.529-52.554-8.601-63-32.452"}));var zc=Nc;const{Fragment:Mc}=wp.element,{Button:Ic,Popover:Hc,DropdownMenu:Bc,TextControl:Pc,ToolbarGroup:Rc,ButtonGroup:Ac,Tooltip:Lc}=wp.components;function Fc(e){let{label:t,measurement:l,control:a,onChange:i,onControl:o,step:n=1,max:r=100,min:c=0,firstIcon:s=g.outlinetop,secondIcon:d=g.outlineright,thirdIcon:p=g.outlinebottom,fourthIcon:u=g.outlineleft,unit:h="",onUnit:v,showUnit:k=!1,units:y=["px","em","rem"],allowEmpty:f=!1,key:O,className:j="",reset:_}=e;const w=f?"":0,x=e=>[{icon:"%"===e?g.percent:g[e],isActive:h===e,onClick:()=>{v(e)}}],S={className:"kadence-units-popover"};return[i&&o&&Object(b.createElement)("div",{key:O,className:`components-base-control kb-measure-control ${s!==g.outlinetop?"kb-measure-corners-control":"kb-measure-sides-control"}${""!==j?" "+j:""}`},t&&Object(b.createElement)("div",{className:"kadence-title-bar"},_&&Object(b.createElement)(Ic,{className:"is-reset is-single",isSmall:!0,disabled:!(!C()(["","","",""],l)&&!C()(["","auto","","auto"],l)),icon:B.a,onClick:()=>_()}),Object(b.createElement)("span",{className:"kadence-control-title"},t)),Object(b.createElement)("div",{className:"kadence-controls-content"},a&&"individual"!==a&&Object(b.createElement)(E,{value:l?l[0]:"",onChange:e=>i([e,e,e,e]),min:c,max:r,step:n}),a&&"individual"===a&&Object(b.createElement)(Mc,null,Object(b.createElement)("div",{className:"measure-input-wrap measure-input-top"},Object(b.createElement)(Pc,{label:Object(m.__)("Top","kadence-blocks"),hideLabelFromVision:!0,type:"number",className:"measure-inputs",value:l?l[0]:"",onChange:e=>i([e?parseFloat(e):e,l&&void 0!==l[1]&&""!==l[1]?l[1]:w,l&&void 0!==l[2]&&""!==l[2]?l[2]:w,l&&void 0!==l[3]&&""!==l[3]?l[3]:w]),min:c,max:r,step:n}),Object(b.createElement)("span",{className:"measure-label"},s)),Object(b.createElement)("div",{className:"measure-input-wrap measure-input-right"},Object(b.createElement)(Pc,{label:Object(m.__)("Right","kadence-blocks"),hideLabelFromVision:!0,type:"number",className:"measure-inputs",value:l?l[1]:"",onChange:e=>i([l&&void 0!==l[0]&&""!==l[0]?l[0]:w,e?parseFloat(e):e,l&&void 0!==l[2]&&""!==l[2]?l[2]:w,l&&void 0!==l[3]&&""!==l[3]?l[3]:w]),min:c,max:r,step:n}),Object(b.createElement)("span",{className:"measure-label"},d)),Object(b.createElement)("div",{className:"measure-input-wrap measure-input-bottom"},Object(b.createElement)(Pc,{label:Object(m.__)("Bottom","kadence-blocks"),hideLabelFromVision:!0,type:"number",className:"measure-inputs",value:l?l[2]:"",onChange:e=>i([l&&void 0!==l[0]&&""!==l[0]?l[0]:w,l&&void 0!==l[1]&&""!==l[1]?l[1]:w,e?parseFloat(e):e,l&&void 0!==l[3]&&""!==l[3]?l[3]:w]),min:c,max:r,step:n}),Object(b.createElement)("span",{className:"measure-label"},p)),Object(b.createElement)("div",{className:"measure-input-wrap measure-input-left"},Object(b.createElement)(Pc,{label:Object(m.__)("Left","kadence-blocks"),hideLabelFromVision:!0,type:"number",className:"measure-inputs",value:l?l[3]:"",onChange:e=>i([l&&void 0!==l[0]&&""!==l[0]?l[0]:w,l&&void 0!==l[1]&&""!==l[1]?l[1]:w,l&&void 0!==l[2]&&""!==l[2]?l[2]:w,e?parseFloat(e):e]),min:c,max:r,step:n}),Object(b.createElement)("span",{className:"measure-label"},u))),(v||k)&&Object(b.createElement)("div",{className:"kadence-units"},1===y.length?Object(b.createElement)(Ic,{className:"is-active is-single",isSmall:!0,disabled:!0},"%"===h?g.percent:g[h]):Object(b.createElement)(Bc,{icon:"%"===h?g.percent:g[h],label:Object(m.__)("Select a Unit","kadence-blocks"),controls:y.map(e=>x(e)),className:"kadence-units-group",popoverProps:S})),Object(b.createElement)("div",{className:"kadence-units kadence-locked"},a&&"individual"!==a?Object(b.createElement)(Lc,{text:Object(m.__)("Individual","kadence-blocks")},Object(b.createElement)(Ic,{className:"is-single",isSmall:!0,onClick:()=>o("individual")},g.linked)):Object(b.createElement)(Lc,{text:Object(m.__)("Linked","kadence-blocks")},Object(b.createElement)(Ic,{className:"is-single",isSmall:!0,onClick:()=>o("linked")},g.individual))))),i&&!o&&Object(b.createElement)("div",{key:O,className:`components-base-control kb-measure-control ${s!==g.outlinetop?"kb-measure-corners-control":"kb-measure-sides-control"}${""!==j?" "+j:""}`},t&&Object(b.createElement)("div",{className:"kadence-title-bar"},_&&Object(b.createElement)(Ic,{className:"is-reset is-single",isSmall:!0,disabled:!(!C()(["","","",""],l)&&!C()(["","auto","","auto"],l)),icon:B.a,onClick:()=>_()}),Object(b.createElement)("span",{className:"kadence-control-title"},t)),Object(b.createElement)("div",{className:"kadence-controls-content"},Object(b.createElement)(Mc,null,Object(b.createElement)("div",{className:"measure-input-wrap measure-input-top"},Object(b.createElement)(Pc,{label:Object(m.__)("Top","kadence-blocks"),hideLabelFromVision:!0,type:"number",className:"measure-inputs",value:l?l[0]:"",onChange:e=>i([e?parseFloat(e):e,l&&void 0!==l[1]&&""!==l[1]?l[1]:w,l&&void 0!==l[2]&&""!==l[2]?l[2]:w,l&&void 0!==l[3]&&""!==l[3]?l[3]:w]),min:c,max:r,step:n}),Object(b.createElement)("span",{className:"measure-label"},s)),Object(b.createElement)("div",{className:"measure-input-wrap measure-input-right"},Object(b.createElement)(Pc,{label:Object(m.__)("Right","kadence-blocks"),hideLabelFromVision:!0,disabled:!(!l||!l[1]||"auto"!=l[1]),placeholder:l&&l[1]&&"auto"==l[1]?Object(m.__)("auto","kadence-blocks"):void 0,type:"number",className:"measure-inputs",value:l?l[1]:"",onChange:e=>i([l&&void 0!==l[0]&&""!==l[0]?l[0]:w,e&&"auto"!==e?parseFloat(e):e,l&&void 0!==l[2]&&""!==l[2]?l[2]:w,l&&void 0!==l[3]&&""!==l[3]?l[3]:w]),min:c,max:r,step:n}),Object(b.createElement)("span",{className:"measure-label"},d)),Object(b.createElement)("div",{className:"measure-input-wrap measure-input-bottom"},Object(b.createElement)(Pc,{label:Object(m.__)("Bottom","kadence-blocks"),hideLabelFromVision:!0,type:"number",className:"measure-inputs",value:l?l[2]:"",onChange:e=>i([l&&void 0!==l[0]&&""!==l[0]?l[0]:w,l&&void 0!==l[1]&&""!==l[1]?l[1]:w,e?parseFloat(e):e,l&&void 0!==l[3]&&""!==l[3]?l[3]:w]),min:c,max:r,step:n}),Object(b.createElement)("span",{className:"measure-label"},p)),Object(b.createElement)("div",{className:"measure-input-wrap measure-input-left"},Object(b.createElement)(Pc,{label:Object(m.__)("Left","kadence-blocks"),hideLabelFromVision:!0,disabled:!(!l||!l[1]||"auto"!=l[1]),placeholder:l&&l[1]&&"auto"==l[1]?Object(m.__)("auto","kadence-blocks"):void 0,type:"number",className:"measure-inputs",value:l?l[3]:"",onChange:e=>i([l&&void 0!==l[0]&&""!==l[0]?l[0]:w,l&&void 0!==l[1]&&""!==l[1]?l[1]:w,l&&void 0!==l[2]&&""!==l[2]?l[2]:w,e&&"auto"!==e?parseFloat(e):e]),min:c,max:r,step:n}),Object(b.createElement)("span",{className:"measure-label"},u))),(v||k)&&Object(b.createElement)("div",{className:"kadence-units"},1===y.length?Object(b.createElement)(Ic,{className:"is-active is-single",isSmall:!0,disabled:!0},"%"===h?g.percent:g[h]):Object(b.createElement)(Bc,{icon:"%"===h?g.percent:g[h],label:Object(m.__)("Select a Unit","kadence-blocks"),controls:y.map(e=>x(e)),className:"kadence-units-group",popoverProps:S}))))]}var Wc=l(64),Dc=l.n(Wc);function $c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e&&e.startsWith("palette")?e="var(--global-"+e+")":null===t||isNaN(t)||void 0===e||""===e||(e=ne(e,t)),e}function Uc(e,t,l,a){if("Mobile"===e){if(void 0!==a&&""!==a&&null!==a)return a;if(void 0!==l&&""!==l&&null!==l)return l}else if("Tablet"===e&&void 0!==l&&""!==l&&null!==l)return l;return t}function Vc(e,t){const l=kadence_blocks_params.settings?JSON.parse(kadence_blocks_params.settings):{};let a={};void 0!==l[t]&&"object"==typeof l[t]&&(a=l[t]);const i=kadence_blocks_params.userrole?kadence_blocks_params.userrole:"admin";return void 0===a[e]||"all"===a[e]||"contributor"===a[e]&&("contributor"===i||"author"===i||"editor"===i||"admin"===i)||"author"===a[e]&&("author"===i||"editor"===i||"admin"===i)||"editor"===a[e]&&("editor"===i||"admin"===i)||"admin"===a[e]&&"admin"===i}const{Component:Zc,Fragment:Gc}=wp.element,{DropdownMenu:qc,MenuGroup:Kc,MenuItem:Qc,Toolbar:Jc,ToggleControl:Yc,ToolbarDropdownMenu:Xc,SelectControl:es}=wp.components,{localStorage:ts}=window,ls={className:"block-editor-block-settings-menu__popover",position:"bottom right"};var as=class extends Zc{constructor(){super(...arguments),this.state={iconOptions:[],iconOptionsNames:[]}}componentDidMount(){}render(){const{onPaste:e,blockAttributes:t}=this.props,l=Object(b.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2",clipRule:"evenodd",viewBox:"0 0 32 32",width:"20px",height:"20px"},Object(b.createElement)("path",{fillRule:"nonzero",d:"M26 8h-6V6l-6-6H0v24h12v8h20V14l-6-6zm0 2.828L29.172 14H26v-3.172zm-12-8L17.172 6H14V2.828zM2 2h10v6h6v14H2V2zm28 28H14v-6h6V10h4v6h6v14z"})),a=JSON.parse(ts.getItem("kadenceColumnStyle")),i=()=>{const e={};(t.topPadding||0===t.topPadding)&&(e.topPadding=t.topPadding),(t.bottomPadding||0===t.bottomPadding)&&(e.bottomPadding=t.bottomPadding),(t.leftPadding||0===t.leftPadding)&&(e.leftPadding=t.leftPadding),(t.rightPadding||0===t.rightPadding)&&(e.rightPadding=t.rightPadding),(t.topPaddingM||0===t.topPaddingM)&&(e.topPaddingM=t.topPaddingM),(t.bottomPaddingM||0===t.bottomPaddingM)&&(e.bottomPaddingM=t.bottomPaddingM),(t.leftPaddingM||0===t.leftPaddingM)&&(e.leftPaddingM=t.leftPaddingM),(t.rightPaddingM||0===t.rightPaddingM)&&(e.rightPaddingM=t.rightPaddingM),(t.topMargin||0===t.topMargin)&&(e.topMargin=t.topMargin),(t.bottomMargin||0===t.bottomMargin)&&(e.bottomMargin=t.bottomMargin),(t.topMarginM||0===t.topMarginM)&&(e.topMarginM=t.topMarginM),(t.bottomMarginM||0===t.bottomMarginM)&&(e.bottomMarginM=t.bottomMarginM),(t.leftMargin||0===t.leftMargin)&&(e.leftMargin=t.leftMargin),(t.rightMargin||0===t.rightMargin)&&(e.rightMargin=t.rightMargin),(t.leftMarginM||0===t.leftMarginM)&&(e.leftMarginM=t.leftMarginM),(t.rightMarginM||0===t.rightMarginM)&&(e.rightMarginM=t.rightMarginM),t.zIndex&&(e.zIndex=t.zIndex),t.background&&(e.background=t.background),t.backgroundOpacity&&(e.backgroundOpacity=t.backgroundOpacity),t.border&&(e.border=t.border),t.borderOpacity&&(e.borderOpacity=t.borderOpacity),t.borderWidth&&(e.borderWidth=t.borderWidth),t.tabletBorderWidth&&(e.tabletBorderWidth=t.tabletBorderWidth),t.mobileBorderWidth&&(e.mobileBorderWidth=t.mobileBorderWidth),t.borderRadius&&(e.borderRadius=t.borderRadius),t.backgroundImg&&(e.backgroundImg=t.backgroundImg),t.textAlign&&(e.textAlign=t.textAlign),t.textColor&&(e.textColor=t.textColor),t.linkColor&&(e.linkColor=t.linkColor),t.linkHoverColor&&(e.linkHoverColor=t.linkHoverColor),(t.topPaddingT||0===t.bottomPadding)&&(e.topPaddingT=t.topPaddingT),(t.bottomPaddingT||0===t.bottomPaddingT)&&(e.bottomPaddingT=t.bottomPaddingT),(t.leftPaddingT||0===t.leftPaddingT)&&(e.leftPaddingT=t.leftPaddingT),(t.rightPaddingT||0===t.rightPaddingT)&&(e.rightPaddingT=t.rightPaddingT),(t.topMarginT||0===t.topMarginT)&&(e.topMarginT=t.topMarginT),(t.bottomMarginT||0===t.bottomMarginT)&&(e.bottomMarginT=t.bottomMarginT),(t.leftMarginT||0===t.leftMarginT)&&(e.leftMarginT=t.leftMarginT),(t.rightMarginT||0===t.rightMarginT)&&(e.rightMarginT=t.rightMarginT),t.marginType&&(e.marginType=t.marginType),t.paddingType&&(e.paddingType=t.paddingType),t.displayShadow&&(e.displayShadow=t.displayShadow),t.shadow&&(e.shadow=t.shadow),t.vsdesk&&(e.vsdesk=t.vsdesk),t.vstablet&&(e.vstablet=t.vstablet),t.vsmobile&&(e.vsmobile=t.vsmobile),t.direction&&(e.direction=t.direction),t.gutter&&(e.gutter=t.gutter),t.gutterUnit&&(e.gutterUnit=t.gutterUnit),t.verticalAlignment&&(e.verticalAlignment=t.verticalAlignment),t.justifyContent&&(e.justifyContent=t.justifyContent),t.backgroundImgHover&&(e.backgroundImgHover=t.backgroundImgHover),t.backgroundHover&&(e.backgroundHover=t.backgroundHover),t.borderHover&&(e.borderHover=t.borderHover),t.borderHoverWidth&&(e.borderHoverWidth=t.borderHoverWidth),t.tabletBorderHoverWidth&&(e.tabletBorderHoverWidth=t.tabletBorderHoverWidth),t.mobileBorderHoverWidth&&(e.mobileBorderHoverWidth=t.mobileBorderHoverWidth),t.borderHoverRadius&&(e.borderHoverRadius=t.borderHoverRadius),t.displayHoverShadow&&(e.displayHoverShadow=t.displayHoverShadow),t.shadowHover&&(e.shadowHover=t.shadowHover),t.textColorHover&&(e.textColorHover=t.textColorHover),t.linkColorHover&&(e.linkColorHover=t.linkColorHover),t.linkHoverColorHover&&(e.linkHoverColorHover=t.linkHoverColorHover),t.maxWidth&&(e.maxWidth=t.maxWidth),t.maxWidthUnit&&(e.maxWidthUnit=t.maxWidthUnit),t.height&&(e.height=t.height),t.heightUnit&&(e.heightUnit=t.heightUnit),t.htmlTag&&(e.htmlTag=t.htmlTag),t.sticky&&(e.sticky=t.sticky),t.stickyOffset&&(e.stickyOffset=t.stickyOffset),t.stickyUnit&&(e.stickyUnit=t.stickyUnit),t.overlay&&(e.overlay=t.overlay),t.overlayHover&&(e.overlayHover=t.overlayHover),t.overlayImg&&(e.overlayImg=t.overlayImg),t.overlayImgHover&&(e.overlayImgHover=t.overlayImgHover),void 0!==t.overlayOpacity&&(e.overlayOpacity=t.overlayOpacity),void 0!==t.overlayHoverOpacity&&(e.overlayHoverOpacity=t.overlayHoverOpacity),ts.setItem("kadenceColumnStyle",JSON.stringify(e))},o=()=>{const t=JSON.parse(ts.getItem("kadenceColumnStyle"));t&&e(t)};return Object(b.createElement)(Jc,null,Object(b.createElement)(qc,{className:"block-editor-block-settings-menu",icon:l,label:Object(m.__)("Copy/Paste Styles","kadence-blocks"),popoverProps:ls},e=>{let{onClose:t}=e;return Object(b.createElement)(Gc,null,Object(b.createElement)(Kc,null,Object(b.createElement)(Qc,{icon:"clipboard",onClick:uo()(t,i),label:Object(m.__)("Copy Styles","kadence-blocks")},Object(m.__)("Copy Styles","kadence-blocks")),Object(b.createElement)(Qc,{icon:"editor-paste-text",onClick:uo()(t,o),disabled:!a,label:Object(m.__)("Paste Styles","kadence-blocks")},Object(m.__)("Paste Styles","kadence-blocks"))))}))}};const{ToggleControl:is,SelectControl:os,ToolbarGroup:ns,TabPanel:rs,RangeControl:cs}=wp.components,{applyFilters:ss}=wp.hooks;var ds=l(92),bs=[{attributes:{id:{type:"number",default:1},topPadding:{type:"number",default:""},bottomPadding:{type:"number",default:""},leftPadding:{type:"number",default:""},rightPadding:{type:"number",default:""},topPaddingM:{type:"number",default:""},bottomPaddingM:{type:"number",default:""},leftPaddingM:{type:"number",default:""},rightPaddingM:{type:"number",default:""},topMargin:{type:"number",default:""},bottomMargin:{type:"number",default:""},topMarginM:{type:"number",default:""},bottomMarginM:{type:"number",default:""},leftMargin:{type:"number",default:""},rightMargin:{type:"number",default:""},leftMarginM:{type:"number",default:""},rightMarginM:{type:"number",default:""},zIndex:{type:"number",default:""},background:{type:"string",default:""},backgroundOpacity:{type:"number",default:1},border:{type:"string",default:""},borderOpacity:{type:"number",default:1},borderWidth:{type:"array",default:[0,0,0,0]},tabletBorderWidth:{type:"array",default:["","","",""]},mobileBorderWidth:{type:"array",default:["","","",""]},borderRadius:{type:"array",default:[0,0,0,0]},uniqueID:{type:"string",default:""},collapseOrder:{type:"number"},backgroundImg:{type:"array",default:[{bgImg:"",bgImgID:"",bgImgSize:"cover",bgImgPosition:"center center",bgImgAttachment:"scroll",bgImgRepeat:"no-repeat"}]},textAlign:{type:"array",default:["","",""]},textColor:{type:"string",default:""},linkColor:{type:"string",default:""},linkHoverColor:{type:"string",default:""},topPaddingT:{type:"number",default:""},bottomPaddingT:{type:"number",default:""},leftPaddingT:{type:"number",default:""},rightPaddingT:{type:"number",default:""},topMarginT:{type:"number",default:""},bottomMarginT:{type:"number",default:""},leftMarginT:{type:"number",default:""},rightMarginT:{type:"number",default:""},displayShadow:{type:"boolean",default:!1},shadow:{type:"array",default:[{color:"#000000",opacity:.2,spread:0,blur:14,hOffset:0,vOffset:0,inset:!1}]},noCustomDefaults:{type:"boolean",default:!1},vsdesk:{type:"boolean",default:!1},vstablet:{type:"boolean",default:!1},vsmobile:{type:"boolean",default:!1},paddingType:{type:"string",default:"px"},marginType:{type:"string",default:"px"},bgColorClass:{type:"string",default:""},templateLock:{type:"string"},direction:{type:"array",default:["","",""]},justifyContent:{type:"array",default:["","",""]},wrapContent:{type:"array",default:["","",""]},gutter:{type:"array",default:["","",""]},gutterUnit:{type:"string",default:"px"},verticalAlignment:{type:"string"},backgroundImgHover:{type:"array",default:[{bgImg:"",bgImgID:"",bgImgSize:"cover",bgImgPosition:"center center",bgImgAttachment:"scroll",bgImgRepeat:"no-repeat"}]},backgroundHover:{type:"string",default:""},overlayOpacity:{type:"number",default:.3},overlay:{type:"string",default:""},overlayImg:{type:"array",default:[{bgImg:"",bgImgID:"",bgImgSize:"cover",bgImgPosition:"center center",bgImgAttachment:"scroll",bgImgRepeat:"no-repeat"}]},overlayHoverOpacity:{type:"number",default:""},overlayHover:{type:"string",default:""},overlayImgHover:{type:"array",default:[{bgImg:"",bgImgID:"",bgImgSize:"cover",bgImgPosition:"center center",bgImgAttachment:"scroll",bgImgRepeat:"no-repeat"}]},borderHover:{type:"string",default:""},borderHoverWidth:{type:"array",default:["","","",""]},tabletBorderHoverWidth:{type:"array",default:["","","",""]},mobileBorderHoverWidth:{type:"array",default:["","","",""]},borderHoverRadius:{type:"array",default:["","","",""]},displayHoverShadow:{type:"boolean",default:!1},shadowHover:{type:"array",default:[{color:"#000000",opacity:.2,spread:0,blur:14,hOffset:0,vOffset:0,inset:!1}]},textColorHover:{type:"string",default:""},linkColorHover:{type:"string",default:""},linkHoverColorHover:{type:"string",default:""},link:{type:"string",default:""},linkTitle:{type:"string",default:""},linkTarget:{type:"boolean",default:!1},linkNoFollow:{type:"boolean",default:!1},linkSponsored:{type:"boolean",default:!1},maxWidth:{type:"array",default:["","",""]},maxWidthUnit:{type:"string",default:"px"},height:{type:"array",default:["","",""]},heightUnit:{type:"string",default:"px"},htmlTag:{type:"string",default:"div"},inQueryBlock:{type:"boolean",default:!1},overlayType:{type:"string",default:"normal"},sticky:{type:"boolean",default:!1},stickyOffset:{type:"array",default:["","",""]},stickyOffsetUnit:{type:"string",default:"px"},kadenceBlockCSS:{type:"string",default:""},kadenceAnimation:{type:"string"},kadenceAOSOptions:{type:"array",default:[{duration:"",offset:"",easing:"",once:"",delay:"",delayOffset:""}]},kadenceDynamic:{type:"object"},kadenceConditional:{type:"object"}},supports:{anchor:!0,ktanimate:!0,ktanimateadd:!0,ktanimatepreview:!0,ktanimateswipe:!0,ktdynamic:!0,kbcss:!0,editorsKitBlockNavigator:!0},save:e=>{let{attributes:t}=e;const{id:l,uniqueID:a,vsdesk:i,vstablet:o,vsmobile:n,link:r,linkNoFollow:c,linkSponsored:s,sticky:d,direction:m,linkTarget:p,linkTitle:g,htmlTag:u,overlay:h,overlayImg:v,overlayHover:k,overlayImgHover:y,kadenceAnimation:f,kadenceAOSOptions:O}=t,j=!!(h||v&&v[0]&&v[0].bgImg||k||y&&y[0]&&y[0].bgImg),_=xt()({["inner-column-"+l]:l,["kadence-column"+a]:a,"kvs-lg-false":void 0!==i&&i,"kvs-md-false":void 0!==o&&o,"kvs-sm-false":void 0!==n&&n,"kb-section-has-link":void 0!==r&&""!==r,"kb-section-is-sticky":void 0!==d&&d,"kb-section-has-overlay":void 0!==j&&j});let w;p&&(w="noopener noreferrer"),void 0!==c&&!0===c&&(w=w?w.concat(" nofollow"):"nofollow"),void 0!==s&&!0===s&&(w=w?w.concat(" sponsored"):"sponsored");const x=u||"div";return Object(b.createElement)(x,Ke()({},Ce.useBlockProps.save({className:_}),{"data-aos":f||void 0,"data-aos-offset":f&&O&&O[0]&&O[0].offset?O[0].offset:void 0,"data-aos-duration":f&&O&&O[0]&&O[0].duration?O[0].duration:void 0,"data-aos-delay":f&&O&&O[0]&&O[0].delay?O[0].delay:void 0,"data-aos-easing":f&&O&&O[0]&&O[0].easing?O[0].easing:void 0,"data-aos-once":f&&O&&O[0]&&void 0!==O[0].once&&""!==O[0].once?O[0].once:void 0}),Object(b.createElement)("div",{className:"kt-inside-inner-col"},Object(b.createElement)(Ce.InnerBlocks.Content,null)),r&&Object(b.createElement)("a",{href:r,className:"kb-section-link-overlay",target:p?"_blank":void 0,rel:w||void 0,"aria-label":g||void 0}))}},{attributes:{id:{type:"number",default:1},topPadding:{type:"number",default:""},bottomPadding:{type:"number",default:""},leftPadding:{type:"number",default:""},rightPadding:{type:"number",default:""},topPaddingM:{type:"number",default:""},bottomPaddingM:{type:"number",default:""},leftPaddingM:{type:"number",default:""},rightPaddingM:{type:"number",default:""},topMargin:{type:"number",default:""},bottomMargin:{type:"number",default:""},topMarginM:{type:"number",default:""},bottomMarginM:{type:"number",default:""},leftMargin:{type:"number",default:""},rightMargin:{type:"number",default:""},leftMarginM:{type:"number",default:""},rightMarginM:{type:"number",default:""},zIndex:{type:"number",default:""},background:{type:"string",default:""},backgroundOpacity:{type:"number",default:1},border:{type:"string",default:""},borderOpacity:{type:"number",default:1},borderWidth:{type:"array",default:[0,0,0,0]},tabletBorderWidth:{type:"array",default:["","","",""]},mobileBorderWidth:{type:"array",default:["","","",""]},borderRadius:{type:"array",default:[0,0,0,0]},uniqueID:{type:"string",default:""},collapseOrder:{type:"number"},backgroundImg:{type:"array",default:[{bgImg:"",bgImgID:"",bgImgSize:"cover",bgImgPosition:"center center",bgImgAttachment:"scroll",bgImgRepeat:"no-repeat"}]},textAlign:{type:"array",default:["","",""]},textColor:{type:"string",default:""},linkColor:{type:"string",default:""},linkHoverColor:{type:"string",default:""},topPaddingT:{type:"number",default:""},bottomPaddingT:{type:"number",default:""},leftPaddingT:{type:"number",default:""},rightPaddingT:{type:"number",default:""},topMarginT:{type:"number",default:""},bottomMarginT:{type:"number",default:""},leftMarginT:{type:"number",default:""},rightMarginT:{type:"number",default:""},displayShadow:{type:"bool",default:!1},shadow:{type:"array",default:[{color:"#000000",opacity:.2,spread:0,blur:14,hOffset:0,vOffset:0,inset:!1}]},noCustomDefaults:{type:"bool",default:!1},vsdesk:{type:"bool",default:!1},vstablet:{type:"bool",default:!1},vsmobile:{type:"bool",default:!1},paddingType:{type:"string",default:"px"},marginType:{type:"string",default:"px"},bgColorClass:{type:"string",default:""},templateLock:{type:"string"},direction:{type:"array",default:["","",""]},justifyContent:{type:"array",default:["","",""]},gutter:{type:"array",default:["","",""]},gutterUnit:{type:"string",default:"px"},verticalAlignment:{type:"string"},backgroundImgHover:{type:"array",default:[{bgImg:"",bgImgID:"",bgImgSize:"cover",bgImgPosition:"center center",bgImgAttachment:"scroll",bgImgRepeat:"no-repeat"}]},backgroundHover:{type:"string",default:""},borderHover:{type:"string",default:""},borderHoverWidth:{type:"array",default:["","","",""]},tabletBorderHoverWidth:{type:"array",default:["","","",""]},mobileBorderHoverWidth:{type:"array",default:["","","",""]},borderHoverRadius:{type:"array",default:["","","",""]},displayHoverShadow:{type:"bool",default:!1},shadowHover:{type:"array",default:[{color:"#000000",opacity:.2,spread:0,blur:14,hOffset:0,vOffset:0,inset:!1}]},textColorHover:{type:"string",default:""},linkColorHover:{type:"string",default:""},linkHoverColorHover:{type:"string",default:""},inQueryBlock:{type:"bool",default:!1},kadenceBlockCSS:{type:"string",default:""},kadenceAnimation:{type:"string"},kadenceAOSOptions:{type:"array",default:[{duration:"",offset:"",easing:"",once:"",delay:"",delayOffset:""}]},kadenceDynamic:{type:"object"},kadenceConditional:{type:"object"}},supports:{anchor:!0,ktanimate:!0,ktanimateadd:!0,ktanimatepreview:!0,ktanimateswipe:!0,ktdynamic:!0,kbcss:!0,editorsKitBlockNavigator:!0},save:e=>{let{attributes:t}=e;const{id:l,background:a,backgroundOpacity:i,backgroundImg:o,uniqueID:n,vsdesk:r,vstablet:c,vsmobile:s,bgColorClass:d,kadenceAnimation:m,kadenceAOSOptions:p}=t,g=o&&o[0]&&o[0].bgImg?o[0].bgImg:"",u=a&&""===g?pa(a,i):void 0,h=xt()({["inner-column-"+l]:l,["kadence-column"+n]:n,"kvs-lg-false":"undefined"!==r&&r,"kvs-md-false":"undefined"!==c&&c,"kvs-sm-false":"undefined"!==s&&s});return Object(b.createElement)("div",{className:h,"data-aos":m||void 0,"data-aos-offset":m&&p&&p[0]&&p[0].offset?p[0].offset:void 0,"data-aos-duration":m&&p&&p[0]&&p[0].duration?p[0].duration:void 0,"data-aos-delay":m&&p&&p[0]&&p[0].delay?p[0].delay:void 0,"data-aos-easing":m&&p&&p[0]&&p[0].easing?p[0].easing:void 0,"data-aos-once":m&&p&&p[0]&&void 0!==p[0].once&&""!==p[0].once?p[0].once:void 0},Object(b.createElement)("div",{className:"kt-inside-inner-col",style:{background:u}},Object(b.createElement)(Ce.InnerBlocks.Content,null)))}},{attributes:{id:{type:"number",default:1},topPadding:{type:"number",default:""},bottomPadding:{type:"number",default:""},leftPadding:{type:"number",default:""},rightPadding:{type:"number",default:""},topPaddingM:{type:"number",default:""},bottomPaddingM:{type:"number",default:""},leftPaddingM:{type:"number",default:""},rightPaddingM:{type:"number",default:""},topMargin:{type:"number",default:""},bottomMargin:{type:"number",default:""},topMarginM:{type:"number",default:""},bottomMarginM:{type:"number",default:""},leftMargin:{type:"number",default:""},rightMargin:{type:"number",default:""},leftMarginM:{type:"number",default:""},rightMarginM:{type:"number",default:""},zIndex:{type:"number",default:""},background:{type:"string",default:""},backgroundOpacity:{type:"number",default:1},border:{type:"string",default:""},borderOpacity:{type:"number",default:1},borderWidth:{type:"array",default:[0,0,0,0]},tabletBorderWidth:{type:"array",default:["","","",""]},mobileBorderWidth:{type:"array",default:["","","",""]},borderRadius:{type:"array",default:[0,0,0,0]},uniqueID:{type:"string",default:""},collapseOrder:{type:"number"},backgroundImg:{type:"array",default:[{bgImg:"",bgImgID:"",bgImgSize:"cover",bgImgPosition:"center center",bgImgAttachment:"scroll",bgImgRepeat:"no-repeat"}]},textAlign:{type:"array",default:["","",""]},textColor:{type:"string",default:""},linkColor:{type:"string",default:""},linkHoverColor:{type:"string",default:""},topPaddingT:{type:"number",default:""},bottomPaddingT:{type:"number",default:""},leftPaddingT:{type:"number",default:""},rightPaddingT:{type:"number",default:""},topMarginT:{type:"number",default:""},bottomMarginT:{type:"number",default:""},leftMarginT:{type:"number",default:""},rightMarginT:{type:"number",default:""},displayShadow:{type:"bool",default:!1},shadow:{type:"array",default:[{color:"#000000",opacity:.2,spread:0,blur:14,hOffset:0,vOffset:0,inset:!1}]},noCustomDefaults:{type:"bool",default:!1},vsdesk:{type:"bool",default:!1},vstablet:{type:"bool",default:!1},vsmobile:{type:"bool",default:!1},paddingType:{type:"string",default:"px"},marginType:{type:"string",default:"px"},bgColorClass:{type:"string",default:""},templateLock:{type:"string"}},supports:{anchor:!0,ktanimate:!0,ktanimateadd:!0,ktanimatepreview:!0,ktanimateswipe:!0,ktdynamic:!0,kbcss:!0,editorsKitBlockNavigator:!0},save:e=>{let{attributes:t}=e;const{id:l,background:a,backgroundOpacity:i,backgroundImg:o,uniqueID:n,vsdesk:r,vstablet:c,vsmobile:s}=t,d=o&&o[0]&&o[0].bgImg?o[0].bgImg:"",m=a&&""===d?Yi(a,i):void 0,p=xt()({["inner-column-"+l]:l,["kadence-column"+n]:n,"kvs-lg-false":"undefined"!==r&&r,"kvs-md-false":"undefined"!==c&&c,"kvs-sm-false":"undefined"!==s&&s});return Object(b.createElement)("div",{className:p},Object(b.createElement)("div",{className:"kt-inside-inner-col",style:{background:m}},Object(b.createElement)(Ce.InnerBlocks.Content,null)))}},{attributes:{id:{type:"number",default:1},topPadding:{type:"number",default:""},bottomPadding:{type:"number",default:""},leftPadding:{type:"number",default:""},rightPadding:{type:"number",default:""},topPaddingM:{type:"number",default:""},bottomPaddingM:{type:"number",default:""},leftPaddingM:{type:"number",default:""},rightPaddingM:{type:"number",default:""},topMargin:{type:"number",default:""},bottomMargin:{type:"number",default:""},topMarginM:{type:"number",default:""},bottomMarginM:{type:"number",default:""},leftMargin:{type:"number",default:""},rightMargin:{type:"number",default:""},leftMarginM:{type:"number",default:""},rightMarginM:{type:"number",default:""},zIndex:{type:"number",default:""},background:{type:"string",default:""},backgroundOpacity:{type:"number",default:1},border:{type:"string",default:""},borderOpacity:{type:"number",default:1},borderWidth:{type:"array",default:[0,0,0,0]},borderRadius:{type:"array",default:[0,0,0,0]},uniqueID:{type:"string",default:""},collapseOrder:{type:"number"},backgroundImg:{type:"array",default:[{bgImg:"",bgImgID:"",bgImgSize:"cover",bgImgPosition:"center center",bgImgAttachment:"scroll",bgImgRepeat:"no-repeat"}]},textAlign:{type:"array",default:["","",""]},textColor:{type:"string",default:""},linkColor:{type:"string",default:""},linkHoverColor:{type:"string",default:""},topPaddingT:{type:"number",default:""},bottomPaddingT:{type:"number",default:""},leftPaddingT:{type:"number",default:""},rightPaddingT:{type:"number",default:""},topMarginT:{type:"number",default:""},bottomMarginT:{type:"number",default:""},leftMarginT:{type:"number",default:""},rightMarginT:{type:"number",default:""},displayShadow:{type:"bool",default:!1},shadow:{type:"array",default:[{color:"#000000",opacity:.2,spread:0,blur:14,hOffset:0,vOffset:0,inset:!1}]},noCustomDefaults:{type:"bool",default:!1},vsdesk:{type:"bool",default:!1},vstablet:{type:"bool",default:!1},vsmobile:{type:"bool",default:!1}},supports:{anchor:!0,ktanimate:!0,ktanimateadd:!0,ktanimatepreview:!0,ktanimateswipe:!0,ktdynamic:!0,kbcss:!0,editorsKitBlockNavigator:!0},save:e=>{let{attributes:t}=e;const{id:l,background:a,backgroundOpacity:i,backgroundImg:o,uniqueID:n}=t,r=o&&o[0]&&o[0].bgImg?o[0].bgImg:"",c=a&&""===r?Yi(a,i):void 0;return Object(b.createElement)("div",{className:`inner-column-${l} kadence-column${n}`},Object(b.createElement)("div",{className:"kt-inside-inner-col",style:{background:c}},Object(b.createElement)(Ce.InnerBlocks.Content,null)))}},{attributes:{id:{type:"number",default:1},topPadding:{type:"number",default:""},bottomPadding:{type:"number",default:""},leftPadding:{type:"number",default:""},rightPadding:{type:"number",default:""},topPaddingM:{type:"number",default:""},bottomPaddingM:{type:"number",default:""},leftPaddingM:{type:"number",default:""},rightPaddingM:{type:"number",default:""},topMargin:{type:"number",default:""},bottomMargin:{type:"number",default:""},topMarginM:{type:"number",default:""},bottomMarginM:{type:"number",default:""},leftMargin:{type:"number",default:""},rightMargin:{type:"number",default:""},leftMarginM:{type:"number",default:""},rightMarginM:{type:"number",default:""},zIndex:{type:"number",default:""},background:{type:"string",default:""},backgroundOpacity:{type:"number",default:1}},save:e=>{let{attributes:t}=e;const{id:l,background:a,backgroundOpacity:i}=t,o=a?Se(a,i):void 0;return Object(b.createElement)("div",{className:"inner-column-"+l},Object(b.createElement)("div",{className:"kt-inside-inner-col",style:{background:o}},Object(b.createElement)(Ce.InnerBlocks.Content,null)))}},{attributes:{id:{type:"number",default:1}},save:e=>{let{attributes:t}=e;const{id:l}=t;return Object(b.createElement)("div",{className:"inner-column-"+l},Object(b.createElement)("div",{className:"kt-inside-inner-col"},Object(b.createElement)(Ce.InnerBlocks.Content,null)))}},{attributes:{id:{type:"number",default:1}},save:e=>{let{attributes:t}=e;const{id:l}=t;return Object(b.createElement)("div",{className:"inner-column-"+l},Object(b.createElement)(Ce.InnerBlocks.Content,null))}}];const{name:ms}=ds,ps={title:Object(m._x)("Section","block title","kadence-blocks"),description:Object(m._x)("A container to style a section of content","block description","kadence-blocks"),edit:function(e){let{attributes:t,setAttributes:l,isSelected:i,clientId:o,context:n,className:r}=e;const{id:c,topPadding:s,bottomPadding:d,leftPadding:p,rightPadding:u,topPaddingM:h,bottomPaddingM:v,leftPaddingM:k,rightPaddingM:y,topMargin:f,bottomMargin:O,topMarginM:j,bottomMarginM:_,leftMargin:w,rightMargin:x,leftMarginM:S,rightMarginM:C,topMarginT:T,bottomMarginT:N,leftMarginT:z,rightMarginT:M,topPaddingT:I,bottomPaddingT:H,leftPaddingT:B,rightPaddingT:P,backgroundOpacity:R,background:A,zIndex:L,border:F,borderWidth:W,borderOpacity:D,borderRadius:$,uniqueID:U,kadenceAnimation:V,kadenceAOSOptions:G,collapseOrder:q,backgroundImg:K,textAlign:Q,textColor:J,linkColor:Y,linkHoverColor:X,shadow:ee,displayShadow:te,vsdesk:le,vstablet:ae,vsmobile:ie,paddingType:oe,marginType:ne,mobileBorderWidth:re,tabletBorderWidth:ce,templateLock:se,kadenceBlockCSS:de,kadenceDynamic:be,direction:me,gutter:pe,gutterUnit:ge,verticalAlignment:ue,justifyContent:he,backgroundImgHover:ve,backgroundHover:ke,borderHover:ye,borderHoverWidth:fe,borderHoverRadius:Oe,shadowHover:je,displayHoverShadow:_e,tabletBorderHoverWidth:we,mobileBorderHoverWidth:xe,textColorHover:Ee,linkColorHover:Se,linkHoverColorHover:Te,linkNoFollow:Ne,linkSponsored:ze,link:Me,linkTarget:Ie,linkTitle:He,wrapContent:Be,heightUnit:Pe,height:Re,maxWidth:Ae,maxWidthUnit:Le,htmlTag:Fe,sticky:We,stickyOffset:$e,stickyOffsetUnit:Ue,overlay:Ze,overlayHover:Ge,overlayImg:qe,overlayImgHover:Qe,overlayOpacity:Je,overlayHoverOpacity:Ye}=t,Xe=()=>{let e=null;n&&(n.queryId||Number.isFinite(n.queryId))&&n.postId&&(e=n.postId),t.kadenceDynamic&&t.kadenceDynamic["backgroundImg:0:bgImg"]&&t.kadenceDynamic["backgroundImg:0:bgImg"].enable&&ss("kadence.dynamicBackground","",t,l,"backgroundImg:0:bgImg",e),t.kadenceDynamic&&t.kadenceDynamic["backgroundImgHover:0:bgImg"]&&t.kadenceDynamic["backgroundImgHover:0:bgImg"].enable&&ss("kadence.dynamicBackground","",t,l,"backgroundImgHover:0:bgImg",e)},{addUniqueID:et}=Object(a.useDispatch)("kadenceblocks/data"),{isUniqueID:tt,isUniqueBlock:lt,previewDevice:at}=Object(a.useSelect)(e=>({isUniqueID:t=>e("kadenceblocks/data").isUniqueID(t),isUniqueBlock:(t,l)=>e("kadenceblocks/data").isUniqueBlock(t,l),previewDevice:e("kadenceblocks/data").getPreviewDeviceType()}),[o]);Object(b.useEffect)(()=>{let e="_"+o.substr(2,9);if(U)tt(U)?et(U,o):lt(U,o)||(t.uniqueID=e,et(e,o));else{const a=kadence_blocks_params.configuration?JSON.parse(kadence_blocks_params.configuration):[];void 0!==t.noCustomDefaults&&t.noCustomDefaults||void 0!==a["kadence/column"]&&"object"==typeof a["kadence/column"]&&Object.keys(a["kadence/column"]).map(e=>{t[e]=a["kadence/column"][e]}),tt(U)||(e=Dc()(e)),l({uniqueID:e}),et(e,o)}n&&(n.queryId||Number.isFinite(n.queryId))&&n.postId?t.inQueryBlock||l({inQueryBlock:!0}):t.inQueryBlock&&l({inQueryBlock:!1}),wl()(Xe,200)},[]);const{hasInnerBlocks:it,inRowBlock:ot}=Object(a.useSelect)(e=>{const{getBlock:t,getBlockRootClientId:l,getBlocksByClientId:a}=e(Ce.store),i=t(o),n=l(o);let r=!1;if(n){const e=a(n);r=void 0!==e&&void 0!==e[0]&&void 0!==e[0].name&&"kadence/rowlayout"===e[0].name}return{inRowBlock:r,hasInnerBlocks:!(!i||!i.innerBlocks.length)}},[o]),[nt,rt]=Object(b.useState)("individual"),[ct,st]=Object(b.useState)("individual"),[dt,bt]=Object(b.useState)("individual"),[mt,pt]=Object(b.useState)("individual"),gt=e=>{const t=ee.map((t,l)=>(0===l&&(t={...t,...e}),t));l({shadow:t})},ut=e=>{const t=je.map((t,l)=>(0===l&&(t={...t,...e}),t));l({shadowHover:t})},ht=e=>{const t=K.map((t,l)=>(0===l&&(t={...t,...e}),t));l({backgroundImg:t})},vt=e=>{const t=ve.map((t,l)=>(0===l&&(t={...t,...e}),t));l({backgroundImgHover:t})},kt=()=>{ht({bgImgID:"",bgImg:""})},yt=()=>{vt({bgImgID:"",bgImg:""})},ft=e=>{const t=qe.map((t,l)=>(0===l&&(t={...t,...e}),t));l({overlayImg:t})},jt=e=>{const t=Qe.map((t,l)=>(0===l&&(t={...t,...e}),t));l({overlayImgHover:t})},_t=()=>{ft({bgImgID:"",bgImg:""})},wt=()=>{jt({bgImgID:"",bgImg:""})},Et="px"!==ge?12:200,St="px"!==ge?.1:1,Ct="em"===ne||"rem"===ne?-2:-200,Tt="em"===ne||"rem"===ne?12:200,Nt="em"===ne||"rem"===ne?.1:1,zt="em"===oe||"rem"===oe?12:200,Mt="em"===oe||"rem"===oe?.1:1,It=void 0!==oe?oe:"px",Ht=void 0!==ne?ne:"px",Bt=Uc(at,void 0!==f?f:"",void 0!==T?T:"",void 0!==j?j:""),Rt=Uc(at,void 0!==x?x:"",void 0!==M?M:"",void 0!==C?C:""),At=Uc(at,void 0!==O?O:"",void 0!==N?N:"",void 0!==_?_:""),Lt=Uc(at,void 0!==w?w:"",void 0!==z?z:"",void 0!==S?S:""),Ft=Uc(at,void 0!==s?s:"",void 0!==I?I:"",void 0!==h?h:""),Wt=Uc(at,void 0!==u?u:"",void 0!==P?P:"",void 0!==y?y:""),Dt=Uc(at,void 0!==d?d:"",void 0!==H?H:"",void 0!==v?v:""),$t=Uc(at,void 0!==p?p:"",void 0!==B?B:"",void 0!==k?k:""),Ut=Uc(at,void 0!==W?W[0]:"",void 0!==ce?ce[0]:"",void 0!==re?re[0]:""),Vt=Uc(at,void 0!==W?W[1]:"",void 0!==ce?ce[1]:"",void 0!==re?re[1]:""),Zt=Uc(at,void 0!==W?W[2]:"",void 0!==ce?ce[2]:"",void 0!==re?re[2]:""),Gt=Uc(at,void 0!==W?W[3]:"",void 0!==ce?ce[3]:"",void 0!==re?re[3]:""),qt=Uc(at,void 0!==fe?fe[0]:"",void 0!==we?we[0]:"",void 0!==xe?xe[0]:""),Kt=Uc(at,void 0!==fe?fe[1]:"",void 0!==we?we[1]:"",void 0!==xe?xe[1]:""),Qt=Uc(at,void 0!==fe?fe[2]:"",void 0!==we?we[2]:"",void 0!==xe?xe[2]:""),Jt=Uc(at,void 0!==fe?fe[3]:"",void 0!==we?we[3]:"",void 0!==xe?xe[3]:""),Yt=Uc(at,Q&&Q[0]?Q[0]:"",Q&&Q[1]?Q[1]:"",Q&&Q[2]?Q[2]:""),Xt=Uc(at,pe&&""!==pe[0]?pe[0]:"",pe&&""!==pe[1]?pe[1]:"",pe&&""!==pe[2]?pe[2]:""),el=Uc(at,me&&""!==me[0]?me[0]:"",me&&""!==me[1]?me[1]:"",me&&""!==me[2]?me[2]:""),tl=Uc(at,he&&""!==he[0]?he[0]:"",he&&""!==he[1]?he[1]:"",he&&""!==he[2]?he[2]:""),ll=Uc(at,Be&&""!==Be[0]?Be[0]:"",Be&&""!==Be[1]?Be[1]:"",Be&&""!==Be[2]?Be[2]:""),al=A?$c(A,R):"transparent",il=F?$c(F,D):"transparent",ol=Uc(at,Ae&&Ae[0]?Ae[0]:"",Ae&&Ae[1]?Ae[1]:"",Ae&&Ae[2]?Ae[2]:""),nl=Uc(at,Re&&Re[0]?Re[0]:"",Re&&Re[1]?Re[1]:"",Re&&Re[2]?Re[2]:""),rl=Uc(at,$e&&$e[0]?$e[0]:"",$e&&$e[1]?$e[1]:"",$e&&$e[2]?$e[2]:""),cl=Pe||"px",sl=Le||"px",dl=Ue||"px",bl=xt()({[r]:r,"kadence-column":!0,["inner-column-"+c]:c,["kadence-column-"+U]:U,"kadence-section-sticky":void 0!==We&&We,"kb-has-max-width":void 0!==ol&&""!==ol,"kvs-lg-false":void 0!==le&&le,"kvs-md-false":void 0!==ae&&ae,"kvs-sm-false":void 0!==ie&&ie}),ml=!!(K&&K[0]&&K[0].bgImg),pl=!!(ve&&ve[0]&&ve[0].bgImg),gl=!!(qe&&qe[0]&&qe[0].bgImg),ul=!!(Qe&&Qe[0]&&Qe[0].bgImg),hl=[[{icon:Object(b.createElement)(pc,{value:"top",isPressed:"top"===ue}),title:Object(m.__)("Align Top","kadence-blocks"),isActive:"top"===ue,onClick:()=>{l("top"===ue?{verticalAlignment:""}:{verticalAlignment:"top"})}}],[{icon:Object(b.createElement)(pc,{value:"middle",isPressed:"middle"===ue}),title:Object(m.__)("Align Middle","kadence-blocks"),isActive:"middle"===ue,onClick:()=>{l("middle"===ue?{verticalAlignment:""}:{verticalAlignment:"middle"})}}],[{icon:Object(b.createElement)(pc,{value:"bottom",isPressed:"bottom"===ue}),title:Object(m.__)("Align Bottom","kadence-blocks"),isActive:"bottom"===ue,onClick:()=>{l("bottom"===ue?{verticalAlignment:""}:{verticalAlignment:"bottom"})}}]],vl=xt()({"kadence-inner-column-inner":!0,"aos-animate":!0,"kt-animation-wrap":!0,["kadence-inner-column-direction-"+(el||"vertical")]:!0,["kadence-inner-column-text-align-"+(Yt||"normal")]:!0,["kadence-inner-column-vertical-align-"+(ue||"inherit")]:!0}),kl=Object(Ce.useBlockProps)({className:bl,style:{top:We&&void 0!==rl?rl+dl:void 0},"data-vertical-align":"top"===ue||"middle"===ue||"bottom"===ue?ue:void 0}),yl=Object(Ce.useInnerBlocksProps)({className:vl},{orientation:me&&me[0]?me[0]:"vertical",templateLock:se||!1,renderAppender:it?void 0:Ce.InnerBlocks.ButtonBlockAppender});return Object(b.createElement)("div",kl,Object(b.createElement)("style",null,void 0!==Je&&""!==Je?`.kadence-column-${U} > .kadence-inner-column-inner:before { opacity: ${Je} }`:"",Ze?`.kadence-column-${U} > .kadence-inner-column-inner:before { background-color: ${$c(Ze)} }`:"",gl?`.kadence-column-${U} > .kadence-inner-column-inner:before { background-image: url(${qe[0].bgImg}); }`:"",gl&&qe[0].bgImgPosition?`.kadence-column-${U} > .kadence-inner-column-inner:before { background-position:${qe[0].bgImgPosition}; }`:"",gl&&qe[0].bgImgSize?`.kadence-column-${U} > .kadence-inner-column-inner:before { background-size:${qe[0].bgImgSize}; }`:"",gl&&qe[0].bgImgRepeat?`.kadence-column-${U} > .kadence-inner-column-inner:before { background-repeat:${qe[0].bgImgRepeat}; }`:"",gl&&qe[0].bgImgAttachment?`.kadence-column-${U} > .kadence-inner-column-inner:before { background-attachment:${qe[0].bgImgAttachment}; }`:"",void 0!==Ye&&""!==Ye?`.kadence-column-${U}:hover > .kadence-inner-column-inner:before { opacity: ${Ye} }`:"",Ge?`.kadence-column-${U}:hover > .kadence-inner-column-inner:before { background-color: ${$c(Ge)} }`:"",ul?`.kadence-column-${U}:hover > .kadence-inner-column-inner:before { background-image: url(${Qe[0].bgImg}); }`:"",ul&&Qe[0].bgImgPosition?`.kadence-column-${U}:hover > .kadence-inner-column-inner:before { background-position:${Qe[0].bgImgPosition}; }`:"",ul&&Qe[0].bgImgSize?`.kadence-column-${U}:hover > .kadence-inner-column-inner:before { background-size:${Qe[0].bgImgSize}; }`:"",ul&&Qe[0].bgImgRepeat?`.kadence-column-${U}:hover > .kadence-inner-column-inner:before { background-repeat:${Qe[0].bgImgRepeat}; }`:"",ul&&Qe[0].bgImgAttachment?`.kadence-column-${U}:hover > .kadence-inner-column-inner:before { background-attachment:${Qe[0].bgImgAttachment}; }`:"",void 0!==ol&&""!==ol?`.kadence-column-${U} > .kadence-inner-column-inner { max-width:${ol+sl}; }`:"",void 0!==ol&&""!==ol?`.wp-block-kadence-column > .kadence-inner-column-direction-horizontal > .wp-block-kadence-column.kadence-column-${U} > .kadence-inner-column-inner { max-width:100%; }`:"",void 0!==ol&&""!==ol?`.wp-block-kadence-column > .kadence-inner-column-direction-horizontal > .wp-block-kadence-column.kadence-column-${U} { flex: 0 1 ${ol+sl}; }`:"",void 0!==L&&""!==L?`.kadence-column-${U} { z-index: ${L}; }`:"",J?`.kadence-column-${U}, .kadence-column-${U} p, .kadence-column-${U} h1, .kadence-column-${U} h2, .kadence-column-${U} h3, .kadence-column-${U} h4, .kadence-column-${U} h5, .kadence-column-${U} h6 { color: ${$c(J)}; }`:"",Y?`.kadence-column-${U} a { color: ${$c(Y)}; }`:"",X?`.kadence-column-${U} a:hover { color: ${$c(X)}; }`:"",""!==Xt?`.kadence-column-${U} > .kadence-inner-column-direction-horizontal { gap: ${Xt+(ge||"px")}; }`:"",tl?`.kadence-column-${U} > .kadence-inner-column-direction-horizontal { justify-content: ${tl}; }`:"",ll?`.kadence-column-${U} > .kadence-inner-column-direction-horizontal { flex-wrap: ${ll}; }`:"",!tl||"space-around"!=tl&&"space-between"!=tl&&"space-evenly"!=tl?"":`.kadence-column-${U} > .kadence-inner-column-direction-horizontal > .block-list-appender { display:none; }`,Ee?`.kadence-column-${U}:hover, .kadence-column-${U}:hover p, .kadence-column-${U}:hover h1, .kadence-column-${U}:hover h2, .kadence-column-${U}:hover h3, .kadence-column-${U}:hover h4, .kadence-column-${U}:hover h5, .kadence-column-${U}:hover h6 { color: ${$c(Ee)}; }`:"",Se?`.kadence-column-${U}:hover a { color: ${$c(Se)}; }`:"",Te?`.kadence-column-${U}:hover a:hover { color: ${$c(Te)}; }`:"",pl?`.kadence-column-${U}:hover .kadence-inner-column-inner { background-image: url(${ve[0].bgImg}) !important; }`:"",pl&&ve[0].bgImgPosition?`.kadence-column-${U} > .kadence-inner-column-inner:hover { background-position:${ve[0].bgImgPosition} !important; }`:"",pl&&ve[0].bgImgSize?`.kadence-column-${U} > .kadence-inner-column-inner:hover { background-size:${ve[0].bgImgSize} !important; }`:"",pl&&ve[0].bgImgRepeat?`.kadence-column-${U} > .kadence-inner-column-inner:hover { background-repeat:${ve[0].bgImgRepeat} !important; }`:"",pl&&ve[0].bgImgAttachment?`.kadence-column-${U} > .kadence-inner-column-inner:hover { background-attachment:${ve[0].bgImgAttachment} !important; }`:"",qt?`.kadence-column-${U} > .kadence-inner-column-inner:hover { border-top-width:${qt}px !important; }`:"",Kt?`.kadence-column-${U} > .kadence-inner-column-inner:hover { border-right-width:${Kt}px !important; }`:"",Qt?`.kadence-column-${U} > .kadence-inner-column-inner:hover { border-bottom-width:${Qt}px !important; }`:"",Jt?`.kadence-column-${U} > .kadence-inner-column-inner:hover { border-left-width:${Jt}px !important; }`:"",ye?`.kadence-column-${U} > .kadence-inner-column-inner:hover { border-color:${$c(ye)} !important; }`:"",Oe&&void 0!==Oe[0]&&""!==Oe[0]?`.kadence-column-${U} > .kadence-inner-column-inner:hover { border-top-left-radius:${Oe[0]}px !important; }`:"",Oe&&void 0!==Oe[1]&&""!==Oe[1]?`.kadence-column-${U} > .kadence-inner-column-inner:hover { border-top-right-radius:${Oe[1]}px !important; }`:"",Oe&&void 0!==Oe[2]&&""!==Oe[2]?`.kadence-column-${U} > .kadence-inner-column-inner:hover { border-bottom-right-radius:${Oe[2]}px !important; }`:"",Oe&&void 0!==Oe[3]&&""!==Oe[3]?`.kadence-column-${U} > .kadence-inner-column-inner:hover { border-bottom-left-radius:${Oe[3]}px !important; }`:"",_e&&void 0!==je&&void 0!==je[0]&&void 0!==je[0].color?`.kadence-column-${U} > .kadence-inner-column-inner:hover { box-shadow:${(void 0!==je[0].inset&&je[0].inset?"inset ":"")+(void 0!==je[0].hOffset?je[0].hOffset:0)+"px "+(void 0!==je[0].vOffset?je[0].vOffset:0)+"px "+(void 0!==je[0].blur?je[0].blur:14)+"px "+(void 0!==je[0].spread?je[0].spread:0)+"px "+$c(void 0!==je[0].color?je[0].color:"#000000",void 0!==je[0].opacity?je[0].opacity:1)} !important; }`:"",de&&Object(b.createElement)(b.Fragment,null,de.replace(/selector/g,".kadence-column-"+U))),Vc("allSettings","kadence/column")&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)(Ce.BlockControls,null,Object(b.createElement)(ns,{isCollapsed:!0,icon:Object(b.createElement)(pc,{value:ue||(me&&me[0]&&"horizontal"===me[0]?"middle":"top")}),label:Object(m.__)("Vertical Align","kadence-blocks"),controls:hl}),Object(b.createElement)(as,{onPaste:e=>l(e),blockAttributes:t})),Object(b.createElement)(Ce.InspectorControls,null,Vc("textAlign","kadence/column")&&Object(b.createElement)(Pt,{title:Object(m.__)("Flex Align Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-col-align-settings"},Object(b.createElement)(To,{label:Object(m.__)("Inner Block Direction","kadence-blocks"),desktopChildren:Object(b.createElement)(Yn,{value:me&&me[0]?me[0]:"vertical",options:[{value:"vertical",label:Object(m.__)("Vertical","kadence-blocks")},{value:"horizontal",label:Object(m.__)("Horizontal","kadence-blocks")}],onChange:e=>l({direction:[e,me&&me[1]?me[1]:"",me&&me[2]?me[2]:""]})}),tabletChildren:Object(b.createElement)(Yn,{value:me&&me[1]?me[1]:"",options:[{value:"vertical",label:Object(m.__)("Vertical","kadence-blocks")},{value:"horizontal",label:Object(m.__)("Horizontal","kadence-blocks")}],onChange:e=>l({direction:[me&&me[0]?me[0]:"vertical",e,me&&me[2]?me[2]:""]})}),mobileChildren:Object(b.createElement)(Yn,{value:me&&me[2]?me[2]:"",options:[{value:"vertical",label:Object(m.__)("Vertical","kadence-blocks")},{value:"horizontal",label:Object(m.__)("Horizontal","kadence-blocks")}],onChange:e=>l({direction:[me&&me[0]?me[0]:"vertical",me&&me[1]?me[1]:"",e]})})}),"horizontal"===(el||"vertical")&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)(Z,{label:Object(m.__)("Default Horizontal Block Gap","kadence-blocks"),value:pe&&""!==pe[0]?pe[0]:10,onChange:e=>l({gutter:[e,pe&&pe[1]?pe[1]:"",pe&&pe[2]?pe[2]:""]}),tabletValue:pe&&""!==pe[1]?pe[1]:"",onChangeTablet:e=>l({gutter:[pe&&pe[0]?pe[0]:10,e,pe&&pe[2]?pe[2]:""]}),mobileValue:pe&&""!==pe[2]?pe[2]:"",onChangeMobile:e=>l({gutter:[pe&&pe[0]?pe[0]:10,pe&&pe[2]?pe[2]:"",e]}),min:0,max:Et,step:St,unit:ge,onUnit:e=>l({gutterUnit:e}),units:["px","em","rem"]}),Object(b.createElement)(To,{label:Object(m.__)("Justify Content","kadence-blocks"),desktopChildren:Object(b.createElement)(os,{value:he&&he[0]?he[0]:"",options:[{value:"",label:Object(m.__)("Inherit","kadence-blocks")},{value:"flex-start",label:Object(m.__)("Start","kadence-blocks")},{value:"center",label:Object(m.__)("Center","kadence-blocks")},{value:"flex-end",label:Object(m.__)("End","kadence-blocks")},{value:"space-between",label:Object(m.__)("Space Between","kadence-blocks")},{value:"space-around",label:Object(m.__)("Space Around","kadence-blocks")},{value:"space-evenly",label:Object(m.__)("Space Evenly","kadence-blocks")}],onChange:e=>l({justifyContent:[e,he&&he[1]?he[1]:"",he&&he[2]?he[2]:""]})}),tabletChildren:Object(b.createElement)(os,{value:he&&he[1]?he[1]:"",options:[{value:"",label:Object(m.__)("Inherit","kadence-blocks")},{value:"flex-start",label:Object(m.__)("Start","kadence-blocks")},{value:"center",label:Object(m.__)("Center","kadence-blocks")},{value:"flex-end",label:Object(m.__)("End","kadence-blocks")},{value:"space-between",label:Object(m.__)("Space Between","kadence-blocks")},{value:"space-around",label:Object(m.__)("Space Around","kadence-blocks")},{value:"space-evenly",label:Object(m.__)("Space Evenly","kadence-blocks")}],onChange:e=>l({justifyContent:[he&&he[0]?he[0]:"",e,he&&he[2]?he[2]:""]})}),mobileChildren:Object(b.createElement)(os,{value:he&&he[2]?he[2]:"",options:[{value:"",label:Object(m.__)("Inherit","kadence-blocks")},{value:"flex-start",label:Object(m.__)("Start","kadence-blocks")},{value:"center",label:Object(m.__)("Center","kadence-blocks")},{value:"flex-end",label:Object(m.__)("End","kadence-blocks")},{value:"space-between",label:Object(m.__)("Space Between","kadence-blocks")},{value:"space-around",label:Object(m.__)("Space Around","kadence-blocks")},{value:"space-evenly",label:Object(m.__)("Space Evenly","kadence-blocks")}],onChange:e=>l({justifyContent:[he&&he[0]?he[0]:"",he&&he[1]?he[1]:"",e]})})}),Object(b.createElement)(To,{label:Object(m.__)("Wrap Content","kadence-blocks"),desktopChildren:Object(b.createElement)(os,{value:Be&&Be[0]?Be[0]:"",options:[{value:"",label:Object(m.__)("Inherit","kadence-blocks")},{value:"nowrap",label:Object(m.__)("No Wrap","kadence-blocks")},{value:"wrap",label:Object(m.__)("Wrap","kadence-blocks")},{value:"wrap-reverse",label:Object(m.__)("Wrap Reverse","kadence-blocks")}],onChange:e=>l({wrapContent:[e,Be&&Be[1]?Be[1]:"",Be&&Be[2]?Be[2]:""]})}),tabletChildren:Object(b.createElement)(os,{value:Be&&Be[1]?Be[1]:"",options:[{value:"",label:Object(m.__)("Inherit","kadence-blocks")},{value:"nowrap",label:Object(m.__)("No Wrap","kadence-blocks")},{value:"wrap",label:Object(m.__)("Wrap","kadence-blocks")},{value:"wrap-reverse",label:Object(m.__)("Wrap Reverse","kadence-blocks")}],onChange:e=>l({wrapContent:[Be&&Be[0]?Be[0]:"",e,Be&&Be[2]?Be[2]:""]})}),mobileChildren:Object(b.createElement)(os,{value:Be&&Be[2]?Be[2]:"",options:[{value:"",label:Object(m.__)("Inherit","kadence-blocks")},{value:"nowrap",label:Object(m.__)("No Wrap","kadence-blocks")},{value:"wrap",label:Object(m.__)("Wrap","kadence-blocks")},{value:"wrap-reverse",label:Object(m.__)("Wrap Reverse","kadence-blocks")}],onChange:e=>l({wrapContent:[Be&&Be[0]?Be[0]:"",Be&&Be[1]?Be[1]:"",e]})})})),Object(b.createElement)(_i,{label:Object(m.__)("Text Alignment","kadence-blocks"),value:Q&&Q[0]?Q[0]:"",mobileValue:Q&&Q[2]?Q[2]:"",tabletValue:Q&&Q[1]?Q[1]:"",onChange:e=>l({textAlign:[e,Q&&Q[1]?Q[1]:"",Q&&Q[2]?Q[2]:""]}),onChangeTablet:e=>l({textAlign:[Q&&Q[0]?Q[0]:"",e,Q&&Q[2]?Q[2]:""]}),onChangeMobile:e=>l({textAlign:[Q&&Q[0]?Q[0]:"",Q&&Q[1]?Q[1]:"",e]})})),Vc("paddingMargin","kadence/column")&&Object(b.createElement)(Pt,{title:Object(m.__)("Padding/Margin","kadence-blocks"),initialOpen:!1,panelName:"kb-col-padding-margin"},Object(b.createElement)(Ot,{label:Object(m.__)("Padding","kadence-blocks"),control:dt,value:[void 0!==s?s:"",void 0!==u?u:"",void 0!==d?d:"",void 0!==p?p:""],tabletValue:[void 0!==I?I:"",void 0!==P?P:"",void 0!==H?H:"",void 0!==B?B:""],mobileValue:[void 0!==h?h:"",void 0!==y?y:"",void 0!==v?v:"",void 0!==k?k:""],onChange:e=>{l({topPadding:e[0],rightPadding:e[1],bottomPadding:e[2],leftPadding:e[3]})},onChangeTablet:e=>{l({topPaddingT:e[0],rightPaddingT:e[1],bottomPaddingT:e[2],leftPaddingT:e[3]})},onChangeMobile:e=>{l({topPaddingM:e[0],rightPaddingM:e[1],bottomPaddingM:e[2],leftPaddingM:e[3]})},onChangeControl:e=>bt(e),allowEmpty:!0,min:0,max:zt,step:Mt,unit:oe,units:["px","em","rem","%"],onUnit:e=>l({paddingType:e})}),Object(b.createElement)(Ot,{label:Object(m.__)("Margin","kadence-blocks"),control:mt,value:[void 0!==f?f:"",void 0!==x?x:"",void 0!==O?O:"",void 0!==w?w:""],tabletValue:[void 0!==T?T:"",void 0!==M?M:"",void 0!==N?N:"",void 0!==z?z:""],mobileValue:[void 0!==j?j:"",void 0!==C?C:"",void 0!==_?_:"",void 0!==S?S:""],onChange:e=>{l({topMargin:e[0],rightMargin:e[1],bottomMargin:e[2],leftMargin:e[3]})},onChangeTablet:e=>{l({topMarginT:e[0],rightMarginT:e[1],bottomMarginT:e[2],leftMarginT:e[3]})},onChangeMobile:e=>{l({topMarginM:e[0],rightMarginM:e[1],bottomMarginM:e[2],leftMarginM:e[3]})},onChangeControl:e=>pt(e),allowEmpty:!0,min:Ct,max:Tt,step:Nt,unit:ne,units:["px","em","rem","%","vh"],onUnit:e=>l({marginType:e})})),Vc("container","kadence/column")&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)(Pt,{title:Object(m.__)("Structure Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-col-container-style-settings"},Object(b.createElement)(os,{label:Object(m.__)("Container HTML tag","kadence-blocks"),value:Fe,options:[{value:"div",label:"div"},{value:"header",label:"header"},{value:"section",label:"section"},{value:"article",label:"article"},{value:"main",label:"main"},{value:"aside",label:"aside"},{value:"footer",label:"footer"}],onChange:e=>l({htmlTag:e})}),!ot&&Object(b.createElement)(Z,{label:Object(m.__)("Max Width","kadence-blocks"),value:void 0!==Ae&&void 0!==Ae[0]?Ae[0]:"",onChange:e=>{l({maxWidth:[e,void 0!==Ae&&void 0!==Ae[1]?Ae[1]:"",void 0!==Ae&&void 0!==Ae[2]?Ae[2]:""]})},tabletValue:void 0!==Ae&&void 0!==Ae[1]?Ae[1]:"",onChangeTablet:e=>{l({maxWidth:[void 0!==Ae&&void 0!==Ae[0]?Ae[0]:"",e,void 0!==Ae&&void 0!==Ae[2]?Ae[2]:""]})},mobileValue:void 0!==Ae&&void 0!==Ae[2]?Ae[2]:"",onChangeMobile:e=>{l({maxWidth:[void 0!==Ae&&void 0!==Ae[0]?Ae[0]:"",void 0!==Ae&&void 0!==Ae[1]?Ae[1]:"",e]})},min:0,max:"px"===Le?2e3:100,step:1,unit:Le||"px",onUnit:e=>{l({maxWidthUnit:e})},units:["px","%","vw"]}),Object(b.createElement)(Z,{label:Object(m.__)("Min Height","kadence-blocks"),value:void 0!==Re&&void 0!==Re[0]?Re[0]:"",onChange:e=>{l({height:[e,void 0!==Re&&void 0!==Re[1]?Re[1]:"",void 0!==Re&&void 0!==Re[2]?Re[2]:""]})},tabletValue:void 0!==Re&&void 0!==Re[1]?Re[1]:"",onChangeTablet:e=>{l({height:[void 0!==Re&&void 0!==Re[0]?Re[0]:"",e,void 0!==Re&&void 0!==Re[2]?Re[2]:""]})},mobileValue:void 0!==Re&&void 0!==Re[2]?Re[2]:"",onChangeMobile:e=>{l({height:[void 0!==Re&&void 0!==Re[0]?Re[0]:"",void 0!==Re&&void 0!==Re[1]?Re[1]:"",e]})},min:0,max:"px"===Pe?2e3:200,step:1,unit:Pe||"px",onUnit:e=>{l({heightUnit:e})},units:["px","vw","vh"]})),Object(b.createElement)(Pt,{title:Object(m.__)("Background Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-col-bg-settings"},Object(b.createElement)(rs,{className:"kt-inspect-tabs kt-hover-tabs",activeClass:"active-tab",tabs:[{name:"normal",title:Object(m.__)("Normal","kadence-blocks"),className:"kt-normal-tab"},{name:"hover",title:Object(m.__)("Hover","kadence-blocks"),className:"kt-hover-tab"}]},e=>{let a;return e.name&&(a="hover"===e.name?Object(b.createElement)(b.Fragment,null,Object(b.createElement)(De,{label:Object(m.__)("Background Color","kadence-blocks"),value:ke||"",default:"",onChange:e=>l({backgroundHover:e})}),Object(b.createElement)(ar,{label:Object(m.__)("Background Image","kadence-blocks"),hasImage:pl,imageURL:ve&&ve[0]&&ve[0].bgImg?ve[0].bgImg:"",imageID:ve&&ve[0]&&ve[0].bgImgID?ve[0].bgImgID:"",imagePosition:ve&&ve[0]&&ve[0].bgImgPosition?ve[0].bgImgPosition:"center center",imageSize:ve&&ve[0]&&ve[0].bgImgSize?ve[0].bgImgSize:"cover",imageRepeat:ve&&ve[0]&&ve[0].bgImgRepeat?ve[0].bgImgRepeat:"no-repeat",imageAttachment:ve&&ve[0]&&ve[0].bgImgAttachment?ve[0].bgImgAttachment:"scroll",onRemoveImage:yt,onSaveImage:e=>{vt({bgImgID:e.id,bgImg:e.url})},onSaveURL:e=>{e!==(ve&&ve[0]&&ve[0].bgImg?ve[0].bgImg:"")&&vt({bgImgID:void 0,bgImg:e})},onSavePosition:e=>vt({bgImgPosition:e}),onSaveSize:e=>vt({bgImgSize:e}),onSaveRepeat:e=>vt({bgImgRepeat:e}),onSaveAttachment:e=>vt({bgImgAttachment:e}),disableMediaButtons:ve&&ve[0]&&ve[0].bgImg?ve[0].bgImg:"",dynamicAttribute:"backgroundImgHover:0:bgImg",isSelected:i,attributes:t,setAttributes:l,name:"kadence/column",clientId:o})):Object(b.createElement)(b.Fragment,null,Object(b.createElement)(De,{label:Object(m.__)("Background Color","kadence-blocks"),value:A||"",default:"",opacityValue:R,onChange:e=>l({background:e}),onOpacityChange:e=>l({backgroundOpacity:e})}),Object(b.createElement)(ar,{label:Object(m.__)("Background Image","kadence-blocks"),hasImage:ml,imageURL:K&&K[0]&&K[0].bgImg?K[0].bgImg:"",imageID:K&&K[0]&&K[0].bgImgID?K[0].bgImgID:"",imagePosition:K&&K[0]&&K[0].bgImgPosition?K[0].bgImgPosition:"center center",imageSize:K&&K[0]&&K[0].bgImgSize?K[0].bgImgSize:"cover",imageRepeat:K&&K[0]&&K[0].bgImgRepeat?K[0].bgImgRepeat:"no-repeat",imageAttachment:K&&K[0]&&K[0].bgImgAttachment?K[0].bgImgAttachment:"scroll",onRemoveImage:kt,onSaveImage:e=>{ht({bgImgID:e.id,bgImg:e.url})},onSaveURL:e=>{e!==(K&&K[0]&&K[0].bgImg?K[0].bgImg:"")&&ht({bgImgID:void 0,bgImg:e})},onSavePosition:e=>ht({bgImgPosition:e}),onSaveSize:e=>ht({bgImgSize:e}),onSaveRepeat:e=>ht({bgImgRepeat:e}),onSaveAttachment:e=>ht({bgImgAttachment:e}),disableMediaButtons:K&&K[0]&&K[0].bgImg?K[0].bgImg:"",dynamicAttribute:"backgroundImg:0:bgImg",isSelected:i,attributes:t,setAttributes:l,name:"kadence/column",clientId:o}))),Object(b.createElement)("div",{className:e.className,key:e.className},a)})),Object(b.createElement)(Pt,{title:Object(m.__)("Background Overlay Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-col-bg-overlay-settings"},Object(b.createElement)(rs,{className:"kt-inspect-tabs kt-hover-tabs",activeClass:"active-tab",tabs:[{name:"normal",title:Object(m.__)("Normal","kadence-blocks"),className:"kt-normal-tab"},{name:"hover",title:Object(m.__)("Hover","kadence-blocks"),className:"kt-hover-tab"}]},e=>{let a;return e.name&&(a="hover"===e.name?Object(b.createElement)(b.Fragment,null,Object(b.createElement)(cs,{label:Object(m.__)("Overlay Opacity","kadence-blocks"),value:Ye,onChange:e=>{l({overlayHoverOpacity:e})},step:.01,min:0,max:1}),Object(b.createElement)(De,{label:Object(m.__)("Background Color","kadence-blocks"),value:Ge||"",default:"",onChange:e=>l({overlayHover:e})}),Object(b.createElement)(ar,{label:Object(m.__)("Background Image","kadence-blocks"),hasImage:ul,imageURL:Qe&&Qe[0]&&Qe[0].bgImg?Qe[0].bgImg:"",imageID:Qe&&Qe[0]&&Qe[0].bgImgID?Qe[0].bgImgID:"",imagePosition:Qe&&Qe[0]&&Qe[0].bgImgPosition?Qe[0].bgImgPosition:"center center",imageSize:Qe&&Qe[0]&&Qe[0].bgImgSize?Qe[0].bgImgSize:"cover",imageRepeat:Qe&&Qe[0]&&Qe[0].bgImgRepeat?Qe[0].bgImgRepeat:"no-repeat",imageAttachment:Qe&&Qe[0]&&Qe[0].bgImgAttachment?Qe[0].bgImgAttachment:"scroll",onRemoveImage:wt,onSaveImage:e=>{jt({bgImgID:e.id,bgImg:e.url})},onSaveURL:e=>{e!==(Qe&&Qe[0]&&Qe[0].bgImg?Qe[0].bgImg:"")&&jt({bgImgID:void 0,bgImg:e})},onSavePosition:e=>jt({bgImgPosition:e}),onSaveSize:e=>jt({bgImgSize:e}),onSaveRepeat:e=>jt({bgImgRepeat:e}),onSaveAttachment:e=>jt({bgImgAttachment:e}),disableMediaButtons:Qe&&Qe[0]&&Qe[0].bgImg?Qe[0].bgImg:"",dynamicAttribute:"overlayImgHover:0:bgImg",isSelected:i,attributes:t,setAttributes:l,name:"kadence/column",clientId:o})):Object(b.createElement)(b.Fragment,null,Object(b.createElement)(cs,{label:Object(m.__)("Overlay Opacity","kadence-blocks"),value:Je,onChange:e=>{l({overlayOpacity:e})},step:.01,min:0,max:1}),Object(b.createElement)(De,{label:Object(m.__)("Background Color","kadence-blocks"),value:Ze||"",default:"",onChange:e=>l({overlay:e})}),Object(b.createElement)(ar,{label:Object(m.__)("Background Image","kadence-blocks"),hasImage:gl,imageURL:qe&&qe[0]&&qe[0].bgImg?qe[0].bgImg:"",imageID:qe&&qe[0]&&qe[0].bgImgID?qe[0].bgImgID:"",imagePosition:qe&&qe[0]&&qe[0].bgImgPosition?qe[0].bgImgPosition:"center center",imageSize:qe&&qe[0]&&qe[0].bgImgSize?qe[0].bgImgSize:"cover",imageRepeat:qe&&qe[0]&&qe[0].bgImgRepeat?qe[0].bgImgRepeat:"no-repeat",imageAttachment:qe&&qe[0]&&qe[0].bgImgAttachment?qe[0].bgImgAttachment:"scroll",onRemoveImage:_t,onSaveImage:e=>{ft({bgImgID:e.id,bgImg:e.url})},onSaveURL:e=>{e!==(qe&&qe[0]&&qe[0].bgImg?qe[0].bgImg:"")&&ft({bgImgID:void 0,bgImg:e})},onSavePosition:e=>ft({bgImgPosition:e}),onSaveSize:e=>ft({bgImgSize:e}),onSaveRepeat:e=>ft({bgImgRepeat:e}),onSaveAttachment:e=>ft({bgImgAttachment:e}),disableMediaButtons:qe&&qe[0]&&qe[0].bgImg?qe[0].bgImg:"",dynamicAttribute:"overlayImg:0:bgImg",isSelected:i,attributes:t,setAttributes:l,name:"kadence/column",clientId:o}))),Object(b.createElement)("div",{className:e.className,key:e.className},a)})),Object(b.createElement)(Pt,{title:Object(m.__)("Border Styles","kadence-blocks"),initialOpen:!1,panelName:"kb-col-border-settings"},Object(b.createElement)(rs,{className:"kt-inspect-tabs kt-hover-tabs",activeClass:"active-tab",tabs:[{name:"normal",title:Object(m.__)("Normal","kadence-blocks"),className:"kt-normal-tab"},{name:"hover",title:Object(m.__)("Hover","kadence-blocks"),className:"kt-hover-tab"}]},e=>{let t;return e.name&&(t="hover"===e.name?Object(b.createElement)(b.Fragment,null,Object(b.createElement)(De,{label:Object(m.__)("Border Color","kadence-blocks"),value:ye||"",default:"",onChange:e=>l({borderHover:e})}),Object(b.createElement)(Ot,{label:Object(m.__)("Border Width","kadence-blocks"),value:fe,control:ct,tabletValue:we,mobileValue:xe,onChange:e=>l({borderHoverWidth:e}),onChangeTablet:e=>l({tabletBorderHoverWidth:e}),onChangeMobile:e=>l({mobileBorderHoverWidth:e}),onChangeControl:e=>st(e),min:0,max:40,step:1,unit:"px",units:["px"],showUnit:!0,preset:[0,1,2,3,4,5,6,7,8,9]}),Object(b.createElement)(Fc,{label:Object(m.__)("Border Radius","kadence-blocks"),measurement:Oe,control:nt,onChange:e=>l({borderHoverRadius:e}),onControl:e=>rt(e),min:0,max:200,step:1,controlTypes:[{key:"linked",name:Object(m.__)("Linked","kadence-blocks"),icon:g.radiuslinked},{key:"individual",name:Object(m.__)("Individual","kadence-blocks"),icon:g.radiusindividual}],firstIcon:g.topleft,secondIcon:g.topright,thirdIcon:g.bottomright,fourthIcon:g.bottomleft}),Object(b.createElement)(Ve,{label:Object(m.__)("Box Shadow","kadence-blocks"),enable:void 0!==_e&&_e,color:void 0!==je&&void 0!==je[0]&&void 0!==je[0].color?je[0].color:"#000000",colorDefault:"#000000",onArrayChange:(e,t)=>{ut({color:e,opacity:t})},opacity:void 0!==je&&void 0!==je[0]&&void 0!==je[0].opacity?je[0].opacity:.2,hOffset:void 0!==je&&void 0!==je[0]&&void 0!==je[0].hOffset?je[0].hOffset:0,vOffset:void 0!==je&&void 0!==je[0]&&void 0!==je[0].vOffset?je[0].vOffset:0,blur:void 0!==je&&void 0!==je[0]&&void 0!==je[0].blur?je[0].blur:14,spread:void 0!==je&&void 0!==je[0]&&void 0!==je[0].spread?je[0].spread:0,inset:void 0!==je&&void 0!==je[0]&&void 0!==je[0].inset&&je[0].inset,onEnableChange:e=>{l({displayHoverShadow:e})},onColorChange:e=>{ut({color:e})},onOpacityChange:e=>{ut({opacity:e})},onHOffsetChange:e=>{ut({hOffset:e})},onVOffsetChange:e=>{ut({vOffset:e})},onBlurChange:e=>{ut({blur:e})},onSpreadChange:e=>{ut({spread:e})},onInsetChange:e=>{ut({inset:e})}})):Object(b.createElement)(b.Fragment,null,Object(b.createElement)(De,{label:Object(m.__)("Border Color","kadence-blocks"),value:F||"",default:"",opacityValue:D,onChange:e=>l({border:e}),onOpacityChange:e=>l({borderOpacity:e})}),Object(b.createElement)(Ot,{label:Object(m.__)("Border Width","kadence-blocks"),value:W,control:ct,tabletValue:ce,mobileValue:re,onChange:e=>l({borderWidth:e}),onChangeTablet:e=>l({tabletBorderWidth:e}),onChangeMobile:e=>l({mobileBorderWidth:e}),onChangeControl:e=>st(e),min:0,max:40,step:1,unit:"px",units:["px"],showUnit:!0,preset:[0,1,2,3,4,5,6,7,8,9]}),Object(b.createElement)(Fc,{label:Object(m.__)("Border Radius","kadence-blocks"),measurement:$,control:nt,onChange:e=>l({borderRadius:e}),onControl:e=>rt(e),min:0,max:200,step:1,controlTypes:[{key:"linked",name:Object(m.__)("Linked","kadence-blocks"),icon:g.radiuslinked},{key:"individual",name:Object(m.__)("Individual","kadence-blocks"),icon:g.radiusindividual}],firstIcon:g.topleft,secondIcon:g.topright,thirdIcon:g.bottomright,fourthIcon:g.bottomleft}),Object(b.createElement)(Ve,{label:Object(m.__)("Box Shadow","kadence-blocks"),enable:void 0!==te&&te,color:void 0!==ee&&void 0!==ee[0]&&void 0!==ee[0].color?ee[0].color:"#000000",colorDefault:"#000000",onArrayChange:(e,t)=>{gt({color:e,opacity:t})},opacity:void 0!==ee&&void 0!==ee[0]&&void 0!==ee[0].opacity?ee[0].opacity:.2,hOffset:void 0!==ee&&void 0!==ee[0]&&void 0!==ee[0].hOffset?ee[0].hOffset:0,vOffset:void 0!==ee&&void 0!==ee[0]&&void 0!==ee[0].vOffset?ee[0].vOffset:0,blur:void 0!==ee&&void 0!==ee[0]&&void 0!==ee[0].blur?ee[0].blur:14,spread:void 0!==ee&&void 0!==ee[0]&&void 0!==ee[0].spread?ee[0].spread:0,inset:void 0!==ee&&void 0!==ee[0]&&void 0!==ee[0].inset&&ee[0].inset,onEnableChange:e=>{l({displayShadow:e})},onColorChange:e=>{gt({color:e})},onOpacityChange:e=>{gt({opacity:e})},onHOffsetChange:e=>{gt({hOffset:e})},onVOffsetChange:e=>{gt({vOffset:e})},onBlurChange:e=>{gt({blur:e})},onSpreadChange:e=>{gt({spread:e})},onInsetChange:e=>{gt({inset:e})}}))),Object(b.createElement)("div",{className:e.className,key:e.className},t)}))),Object(b.createElement)("div",{className:"kt-sidebar-settings-spacer"}),Vc("textColor","kadence/column")&&Object(b.createElement)(Pt,{title:Object(m.__)("Text Color Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-col-text-color-settings"},Object(b.createElement)(rs,{className:"kt-inspect-tabs kt-hover-tabs",activeClass:"active-tab",tabs:[{name:"normal",title:Object(m.__)("Normal","kadence-blocks"),className:"kt-normal-tab"},{name:"hover",title:Object(m.__)("Hover","kadence-blocks"),className:"kt-hover-tab"}]},e=>{let t;return e.name&&(t="hover"===e.name?Object(b.createElement)(b.Fragment,null,Object(b.createElement)(De,{label:Object(m.__)("Text Color","kadence-blocks"),value:Ee||"",default:"",onChange:e=>l({textColorHover:e})}),Object(b.createElement)(De,{label:Object(m.__)("Text Link Color","kadence-blocks"),value:Se||"",default:"",onChange:e=>l({linkColorHover:e})}),Object(b.createElement)(De,{label:Object(m.__)("Text Link Hover Color","kadence-blocks"),value:Te||"",default:"",onChange:e=>l({linkHoverColorHover:e})})):Object(b.createElement)(b.Fragment,null,Object(b.createElement)(De,{label:Object(m.__)("Text Color","kadence-blocks"),value:J||"",default:"",onChange:e=>l({textColor:e})}),Object(b.createElement)(De,{label:Object(m.__)("Text Link Color","kadence-blocks"),value:Y||"",default:"",onChange:e=>l({linkColor:e})}),Object(b.createElement)(De,{label:Object(m.__)("Text Link Hover Color","kadence-blocks"),value:X||"",default:"",onChange:e=>l({linkHoverColor:e})}))),Object(b.createElement)("div",{className:e.className,key:e.className},t)})),Vc("overlayLink","kadence/column")&&Object(b.createElement)(Pt,{title:Object(m.__)("Overlay Link","kadence-blocks"),initialOpen:!1,panelName:"kb-col-overlay-link"},Object(b.createElement)("p",{className:"kadence-sidebar-notice"},Object(m.__)("Please note, If a link is added nothing else inside of the section will be selectable.","kadence-blocks")),Object(b.createElement)(qa,{label:Object(m.__)("Link entire section","kadence-blocks"),url:Me,onChangeUrl:e=>l({link:e}),additionalControls:!0,opensInNewTab:void 0!==Ie&&Ie,onChangeTarget:e=>l({linkTarget:e}),linkNoFollow:void 0!==Ne&&Ne,onChangeFollow:e=>l({linkNoFollow:e}),linkSponsored:void 0!==ze&&ze,onChangeSponsored:e=>l({linkSponsored:e}),linkTitle:He,onChangeTitle:e=>{l({linkTitle:e})},dynamicAttribute:"link",allowClear:!0,isSelected:i,attributes:t,setAttributes:l,name:"kadence/column",clientId:o,context:n})),Object(b.createElement)(Pt,{title:Object(m.__)("Visibility Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-col-visibility-settings"},Object(b.createElement)(is,{label:Object(m.__)("Hide on Desktop","kadence-blocks"),checked:void 0!==le&&le,onChange:e=>l({vsdesk:e})}),Object(b.createElement)(is,{label:Object(m.__)("Hide on Tablet","kadence-blocks"),checked:void 0!==ae&&ae,onChange:e=>l({vstablet:e})}),Object(b.createElement)(is,{label:Object(m.__)("Hide on Mobile","kadence-blocks"),checked:void 0!==ie&&ie,onChange:e=>l({vsmobile:e})})),Object(b.createElement)(Pt,{title:Object(m.__)("Sticky Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-col-sticky-settings"},Object(b.createElement)(is,{label:Object(m.__)("Make sticky","kadence-blocks"),help:Object(m.__)("This will stick the section to viewport for the height of an outer block.","kadence-blocks"),checked:void 0!==We&&We,onChange:e=>l({sticky:e})}),We&&Object(b.createElement)(Z,{label:Object(m.__)("Sticky Header Offset","kadence-blocks"),value:void 0!==$e&&void 0!==$e[0]?$e[0]:"",onChange:e=>{l({stickyOffset:[e,void 0!==$e&&void 0!==$e[1]?$e[1]:"",void 0!==$e&&void 0!==$e[2]?$e[2]:""]})},tabletValue:void 0!==$e&&void 0!==$e[1]?$e[1]:"",onChangeTablet:e=>{l({stickyOffset:[void 0!==$e&&void 0!==$e[0]?$e[0]:"",e,void 0!==$e&&void 0!==$e[2]?$e[2]:""]})},mobileValue:void 0!==$e&&void 0!==$e[2]?$e[2]:"",onChangeMobile:e=>{l({stickyOffset:[void 0!==$e&&void 0!==$e[0]?$e[0]:"",void 0!==$e&&void 0!==$e[1]?$e[1]:"",e]})},min:0,max:"px"===Ue?2e3:100,step:1,unit:Ue||"px",onUnit:e=>{l({stickyOffsetUnit:e})},units:["px","rem","vh"]})))),Object(b.createElement)(Ce.InspectorAdvancedControls,null,Object(b.createElement)(E,{label:Object(m.__)("Z Index Control"),value:L,onChange:e=>{l({zIndex:e})},min:-200,max:200}),ot&&Object(b.createElement)(E,{label:Object(m.__)("Mobile Collapse Order"),value:q,onChange:e=>{l({collapseOrder:e})},min:-10,max:10})),Object(b.createElement)("div",Ke()({id:"animate-id"+U,"data-aos":V||void 0,"data-aos-duration":G&&G[0]&&G[0].duration?G[0].duration:void 0,"data-aos-easing":G&&G[0]&&G[0].easing?G[0].easing:void 0,style:{minHeight:void 0!==nl?nl+cl:void 0,paddingLeft:void 0!==$t?$t+It:void 0,paddingRight:void 0!==Wt?Wt+It:void 0,paddingTop:void 0!==Ft?Ft+It:void 0,paddingBottom:void 0!==Dt?Dt+It:void 0,marginLeft:void 0!==Lt?Lt+Ht:void 0,marginRight:void 0!==Rt?Rt+Ht:void 0,marginTop:void 0!==Bt?Bt+Ht:void 0,marginBottom:void 0!==At?At+Ht:void 0,textAlign:Yt||void 0,backgroundColor:al,backgroundImage:ml?`url( ${K[0].bgImg} )`:void 0,backgroundSize:K&&K[0]&&K[0].bgImgSize?K[0].bgImgSize:void 0,backgroundPosition:K&&K[0]&&K[0].bgImgPosition?K[0].bgImgPosition:void 0,backgroundRepeat:K&&K[0]&&K[0].bgImgRepeat?K[0].bgImgRepeat:void 0,backgroundAttachment:K&&K[0]&&K[0].bgImgAttachment?K[0].bgImgAttachment:void 0,borderColor:il,borderRadius:$?$[0]+"px "+$[1]+"px "+$[2]+"px "+$[3]+"px":"",borderTopWidth:Ut?Ut+"px":void 0,borderRightWidth:Vt?Vt+"px":void 0,borderBottomWidth:Zt?Zt+"px":void 0,borderLeftWidth:Gt?Gt+"px":void 0,boxShadow:void 0!==te&&te&&void 0!==ee&&void 0!==ee[0]&&void 0!==ee[0].color?(void 0!==ee[0].inset&&ee[0].inset?"inset ":"")+(void 0!==ee[0].hOffset?ee[0].hOffset:0)+"px "+(void 0!==ee[0].vOffset?ee[0].vOffset:0)+"px "+(void 0!==ee[0].blur?ee[0].blur:14)+"px "+(void 0!==ee[0].spread?ee[0].spread:0)+"px "+$c(void 0!==ee[0].color?ee[0].color:"#000000",void 0!==ee[0].opacity?ee[0].opacity:1):void 0}},yl)))},save:function(e){let{attributes:t}=e;const{id:l,uniqueID:a,vsdesk:i,vstablet:o,vsmobile:n,link:r,linkNoFollow:c,linkSponsored:s,sticky:d,linkTarget:m,linkTitle:p,htmlTag:g,overlay:u,overlayImg:h,overlayHover:v,overlayImgHover:k,direction:y}=t,f=!(!y||""===y[0])&&y[0],O=!(!y||""===y[1])&&y[1],j=!(!y||""===y[2])&&y[2],_=!!(u||h&&h[0]&&h[0].bgImg||v||k&&k[0]&&k[0].bgImg),w=xt()({["inner-column-"+l]:l,["kadence-column"+a]:a,"kvs-lg-false":void 0!==i&&i,"kvs-md-false":void 0!==o&&o,"kvs-sm-false":void 0!==n&&n,"kb-section-has-link":void 0!==r&&""!==r,"kb-section-is-sticky":void 0!==d&&d,"kb-section-has-overlay":void 0!==_&&_,["kb-section-dir-"+f]:f,["kb-section-md-dir-"+O]:O,["kb-section-sm-dir-"+j]:j});let x;m&&(x="noopener noreferrer"),void 0!==c&&!0===c&&(x=x?x.concat(" nofollow"):"nofollow"),void 0!==s&&!0===s&&(x=x?x.concat(" sponsored"):"sponsored");const E=g||"div";return Object(b.createElement)(E,Ce.useBlockProps.save({className:w}),Object(b.createElement)("div",{className:"kt-inside-inner-col"},Object(b.createElement)(Ce.InnerBlocks.Content,null)),r&&Object(b.createElement)("a",{href:r,className:"kb-section-link-overlay",target:m?"_blank":void 0,rel:x||void 0,"aria-label":p||void 0}))},deprecated:bs};Object(gt.registerBlockType)("kadence/column",{...ds,icon:{src:zc.section},...ps});const gs={};gs.block=Object(b.createElement)("svg",{width:"20px",height:"20px",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},Object(b.createElement)("g",{fill:"#0058b0",fillRule:"nonzero"},Object(b.createElement)("path",{d:"M24,8.944c-8.26,0 -15.056,6.796 -15.056,15.056c0,8.26 6.796,15.056 15.056,15.056c8.26,0 15.056,-6.796 15.056,-15.056c0,-8.26 -6.796,-15.056 -15.056,-15.056Zm8.46,14.277l-2.813,2.743c-0.301,0.296 -0.437,0.723 -0.362,1.139l0.663,3.871c0.012,0.071 0.018,0.143 0.018,0.216c0,0.706 -0.581,1.287 -1.287,1.287c-0.208,0 -0.413,-0.051 -0.598,-0.148l-3.476,-1.812c-0.373,-0.199 -0.822,-0.199 -1.196,0l-3.476,1.812c-0.184,0.097 -0.39,0.148 -0.598,0.148c-0.706,0 -1.287,-0.581 -1.287,-1.287c0,-0.073 0.007,-0.145 0.019,-0.216l0.663,-3.871c0.074,-0.416 -0.061,-0.843 -0.362,-1.139l-2.813,-2.743c-0.237,-0.241 -0.37,-0.565 -0.37,-0.903c0,-0.633 0.468,-1.177 1.095,-1.272l3.885,-0.565c0.41,-0.074 0.76,-0.344 0.935,-0.722l1.74,-3.523c0.217,-0.437 0.665,-0.714 1.153,-0.714c0.488,0 0.935,0.277 1.152,0.714l1.755,3.523c0.186,0.38 0.549,0.643 0.967,0.703l3.886,0.566c0.626,0.095 1.094,0.639 1.094,1.272c0,0.347 -0.14,0.679 -0.387,0.921Z"}),Object(b.createElement)("path",{d:"M44.75,46.019c0.696,0 1.269,-0.573 1.269,-1.269l0,-41.5c0,-0.696 -0.573,-1.269 -1.269,-1.269l-41.5,0c-0.696,0 -1.269,0.573 -1.269,1.269l0,41.5c0,0.696 0.573,1.269 1.269,1.269l41.5,0Zm-40.232,-41.501l38.964,0l0,38.964l-38.964,0l0,-38.964Z"})));var us=gs;const{Button:hs,Dashicon:vs}=wp.components;function ks(e){let{label:t,value:l,onChange:a,min:i,max:o,step:n=1}=e;return[a&&Object(b.createElement)("div",{className:"components-base-control"},Object(b.createElement)("p",{className:"components-base-control__label"},t),Object(b.createElement)("div",{className:"components-base-control__field kb-flex-center kb-step-control"},Object(b.createElement)(hs,{className:"kb-step-btn",isDefault:!0,onClick:()=>{l>i&&a(l-n)}},Object(b.createElement)(vs,{icon:"arrow-left"})),Object(b.createElement)("input",{className:"components-step-control__number",type:"number",onChange:e=>a(Number(e.target.value)),"aria-label":t,value:l,min:i,max:o,step:n}),Object(b.createElement)(hs,{className:"kb-step-btn",isDefault:!0,onClick:()=>{l<o&&a(l+n)}},Object(b.createElement)(vs,{icon:"arrow-right"}))))]}const{InspectorControls:ys,BlockControls:fs,AlignmentToolbar:Os,BlockAlignmentToolbar:js}=wp.blockEditor,{Component:_s,Fragment:ws}=wp.element,{RangeControl:xs,TextControl:Es,SelectControl:Ss,Button:Cs,Dashicon:Ts,TabPanel:Ns,ToolbarGroup:zs,ButtonGroup:Ms,Tooltip:Is}=wp.components,Hs=[];const{registerBlockType:Bs}=wp.blocks;Bs("kadence/icon",{title:Object(m.__)("Icon","kadence-blocks"),icon:{src:us.block},category:"kadence-blocks",keywords:[Object(m.__)("icon","kadence-blocks"),Object(m.__)("svg","kadence-blocks"),"KB"],supports:{ktdynamic:!0},usesContext:["postId","queryId"],attributes:{icons:{type:"array",default:[{icon:"fe_aperture",link:"",target:"_self",size:50,width:2,title:"",color:"#444444",background:"transparent",border:"#444444",borderRadius:0,borderWidth:2,padding:20,style:"default",marginTop:0,marginRight:0,marginBottom:0,marginLeft:0,hColor:"",hBackground:"",hBorder:"",linkTitle:""}]},iconCount:{type:"number",default:1},uniqueID:{type:"string",default:""},blockAlignment:{type:"string",default:""},textAlignment:{type:"string",default:"center"},tabletTextAlignment:{type:"string"},mobileTextAlignment:{type:"string"},verticalAlignment:{type:"string"},inQueryBlock:{type:"bool",default:!1}},getEditWrapperProps(e){let{blockAlignment:t}=e;if("left"===t||"right"===t||"center"===t)return{"data-align":t}},edit:class extends _s{constructor(){super(...arguments),this.saveArrayUpdate=this.saveArrayUpdate.bind(this),this.state={marginControl:"linked",user:kadence_blocks_params.userrole?kadence_blocks_params.userrole:"admin"}}componentDidMount(){this.props.attributes.uniqueID?Hs.includes(this.props.attributes.uniqueID)?(this.props.attributes.uniqueID="_"+this.props.clientId.substr(2,9),Hs.push("_"+this.props.clientId.substr(2,9))):Hs.push(this.props.attributes.uniqueID):(this.props.setAttributes({uniqueID:"_"+this.props.clientId.substr(2,9)}),Hs.push("_"+this.props.clientId.substr(2,9))),this.props.context&&(this.props.context.queryId||Number.isFinite(this.props.context.queryId))&&this.props.context.postId?this.props.attributes.inQueryBlock||this.props.setAttributes({inQueryBlock:!0}):this.props.attributes.inQueryBlock&&this.props.setAttributes({inQueryBlock:!1})}saveArrayUpdate(e,t){const{attributes:l,setAttributes:a}=this.props,{icons:i}=l;a({icons:i.map((l,a)=>(t===a&&(l={...l,...e}),l))})}render(){const{attributes:{iconCount:e,icons:t,blockAlignment:l,textAlignment:a,tabletTextAlignment:i,mobileTextAlignment:o,uniqueID:n,verticalAlignment:r},className:c,setAttributes:s,clientId:d}=this.props,{marginControl:p}=this.state,u=[{key:"linked",name:Object(m.__)("Linked","kadence-blocks"),micon:g.linked},{key:"individual",name:Object(m.__)("Individual","kadence-blocks"),micon:g.individual}],h=[[{icon:Object(b.createElement)(pc,{value:"top",isPressed:"top"===r}),title:Object(m.__)("Align Top","kadence-blocks"),isActive:"top"===r,onClick:()=>s({verticalAlignment:"top"})}],[{icon:Object(b.createElement)(pc,{value:"middle",isPressed:"middle"===r}),title:Object(m.__)("Align Middle","kadence-blocks"),isActive:"middle"===r,onClick:()=>s({verticalAlignment:"middle"})}],[{icon:Object(b.createElement)(pc,{value:"bottom",isPressed:"bottom"===r}),title:Object(m.__)("Align Bottom","kadence-blocks"),isActive:"bottom"===r,onClick:()=>s({verticalAlignment:"bottom"})}]],v=Object(b.createElement)(Ns,{className:"kt-size-tabs",activeClass:"active-tab",tabs:[{name:"desk",title:Object(b.createElement)(Ts,{icon:"desktop"}),className:"kt-desk-tab"},{name:"tablet",title:Object(b.createElement)(Ts,{icon:"tablet"}),className:"kt-tablet-tab"},{name:"mobile",title:Object(b.createElement)(Ts,{icon:"smartphone"}),className:"kt-mobile-tab"}]},e=>{let t;return e.name&&(t="mobile"===e.name?Object(b.createElement)(Os,{value:o,isCollapsed:!1,onChange:e=>{s({mobileTextAlignment:e})}}):"tablet"===e.name?Object(b.createElement)(Os,{value:i,isCollapsed:!1,onChange:e=>{s({tabletTextAlignment:e})}}):Object(b.createElement)(Os,{value:a,isCollapsed:!1,onChange:e=>{s({textAlignment:e})}})),Object(b.createElement)("div",{className:e.className,key:e.className},t)}),y=e=>Object(b.createElement)(ws,null,Object(b.createElement)(De,{label:Object(m.__)("Icon Hover Color","kadence-blocks"),value:t[e].hColor?t[e].hColor:"",default:"",onChange:t=>{this.saveArrayUpdate({hColor:t},e)}}),Object(b.createElement)(Ss,{label:Object(m.__)("Icon Style","kadence-blocks"),value:t[e].style,options:[{value:"default",label:Object(m.__)("Default","kadence-blocks")},{value:"stacked",label:Object(m.__)("Stacked","kadence-blocks")}],onChange:t=>{this.saveArrayUpdate({style:t},e)}}),"default"!==t[e].style&&Object(b.createElement)(ws,null,Object(b.createElement)(De,{label:Object(m.__)("Hover Background Color","kadence-blocks"),value:t[e].hBackground?t[e].hBackground:"",default:"",onChange:t=>{this.saveArrayUpdate({hBackground:t},e)}})),"default"!==t[e].style&&Object(b.createElement)(ws,null,Object(b.createElement)(De,{label:Object(m.__)("Hover Border Color","kadence-blocks"),value:t[e].hBorder?t[e].hBorder:"",default:"",onChange:t=>{this.saveArrayUpdate({hBorder:t},e)}}))),f=e=>Object(b.createElement)(ws,null,Object(b.createElement)(De,{label:Object(m.__)("Icon Color","kadence-blocks"),value:t[e].color?t[e].color:"",default:"",onChange:t=>{this.saveArrayUpdate({color:t},e)}}),Object(b.createElement)(Ss,{label:Object(m.__)("Icon Style","kadence-blocks"),value:t[e].style,options:[{value:"default",label:Object(m.__)("Default","kadence-blocks")},{value:"stacked",label:Object(m.__)("Stacked","kadence-blocks")}],onChange:t=>{this.saveArrayUpdate({style:t},e)}}),"default"!==t[e].style&&Object(b.createElement)(ws,null,Object(b.createElement)(De,{label:Object(m.__)("Background Color","kadence-blocks"),value:t[e].background?t[e].background:"",default:"",onChange:t=>{this.saveArrayUpdate({background:t},e)}})),"default"!==t[e].style&&Object(b.createElement)(ws,null,Object(b.createElement)(De,{label:Object(m.__)("Border Color","kadence-blocks"),value:t[e].border?t[e].border:"",default:"",onChange:t=>{this.saveArrayUpdate({border:t},e)}}))),O=l=>Object(b.createElement)(Pt,{title:Object(m.__)("Icon","kadence-blocks")+" "+(l+1)+" "+Object(m.__)("Settings","kadence-blocks"),initialOpen:1===e,panelName:"kb-icon-settings-"+l},Object(b.createElement)(st,{value:t[l].icon,onChange:e=>{this.saveArrayUpdate({icon:e},l)}}),Object(b.createElement)(xs,{label:Object(m.__)("Icon Size","kadence-blocks"),value:t[l].size,onChange:e=>{this.saveArrayUpdate({size:e},l)},min:5,max:250}),t[l].icon&&"fe"===t[l].icon.substring(0,2)&&Object(b.createElement)(xs,{label:Object(m.__)("Line Width"),value:t[l].width,onChange:e=>{this.saveArrayUpdate({width:e},l)},step:.5,min:.5,max:4}),Object(b.createElement)("h2",{className:"kt-tab-wrap-title kt-color-settings-title"},Object(m.__)("Color Settings","kadence-blocks")),Object(b.createElement)(Ns,{className:"kt-inspect-tabs kt-hover-tabs",activeClass:"active-tab",tabs:[{name:"normal"+l,title:Object(m.__)("Normal","kadence-blocks"),className:"kt-normal-tab"},{name:"hover"+l,title:Object(m.__)("Hover","kadence-blocks"),className:"kt-hover-tab"}]},e=>{let t;return e.name&&(t="hover"+l===e.name?y(l):f(l)),Object(b.createElement)("div",{className:e.className,key:e.className},t)}),"default"!==t[l].style&&Object(b.createElement)(xs,{label:Object(m.__)("Border Size (px)","kadence-blocks"),value:t[l].borderWidth,onChange:e=>{this.saveArrayUpdate({borderWidth:e},l)},min:0,max:20}),"default"!==t[l].style&&Object(b.createElement)(xs,{label:Object(m.__)("Border Radius (%)","kadence-blocks"),value:t[l].borderRadius,onChange:e=>{this.saveArrayUpdate({borderRadius:e},l)},min:0,max:50}),"default"!==t[l].style&&Object(b.createElement)(xs,{label:Object(m.__)("Padding (px)","kadence-blocks"),value:t[l].padding,onChange:e=>{this.saveArrayUpdate({padding:e},l)},min:0,max:180}),Object(b.createElement)(Ms,{className:"kt-size-type-options kt-outline-control","aria-label":Object(m.__)("Margin Control Type","kadence-blocks")},k()(u,e=>{let{name:t,key:l,micon:a}=e;return Object(b.createElement)(Is,{text:t},Object(b.createElement)(Cs,{key:l,className:"kt-size-btn",isSmall:!0,isPrimary:p===l,"aria-pressed":p===l,onClick:()=>this.setState({marginControl:l})},a))})),p&&"individual"!==p&&Object(b.createElement)(xs,{label:Object(m.__)("Margin (px)","kadence-blocks"),value:t[l].marginTop?t[l].marginTop:0,onChange:e=>{this.saveArrayUpdate({marginTop:e,marginRight:e,marginBottom:e,marginLeft:e},l)},min:0,max:180,step:1}),p&&"individual"===p&&Object(b.createElement)(ws,null,Object(b.createElement)("p",null,Object(m.__)("Margin (px)","kadence-blocks")),Object(b.createElement)(xs,{className:"kt-icon-rangecontrol",label:g.outlinetop,value:t[l].marginTop?t[l].marginTop:0,onChange:e=>{this.saveArrayUpdate({marginTop:e},l)},min:-180,max:180,step:1}),Object(b.createElement)(xs,{className:"kt-icon-rangecontrol",label:g.outlineright,value:t[l].marginRight?t[l].marginRight:0,onChange:e=>{this.saveArrayUpdate({marginRight:e},l)},min:-180,max:180,step:1}),Object(b.createElement)(xs,{className:"kt-icon-rangecontrol",label:g.outlinebottom,value:t[l].marginBottom?t[l].marginBottom:0,onChange:e=>{this.saveArrayUpdate({marginBottom:e},l)},min:-180,max:180,step:1}),Object(b.createElement)(xs,{className:"kt-icon-rangecontrol",label:g.outlineleft,value:t[l].marginLeft?t[l].marginLeft:0,onChange:e=>{this.saveArrayUpdate({marginLeft:e},l)},min:-180,max:180,step:1})),Object(b.createElement)(qa,Ke()({label:Object(m.__)("Link","kadence-blocks"),url:t[l].link,onChangeUrl:e=>{this.saveArrayUpdate({link:e},l)},additionalControls:!0,opensInNewTab:!(!t[l].target||"_blank"!=t[l].target),onChangeTarget:e=>{e?this.saveArrayUpdate({target:"_blank"},l):this.saveArrayUpdate({target:"_self"},l)},dynamicAttribute:"icons:"+l+":link",linkTitle:t[l].linkTitle,onChangeTitle:e=>{this.saveArrayUpdate({linkTitle:e},l)}},this.props)),Object(b.createElement)(Es,{label:Object(m.__)("Title for Accessibility","kadence-blocks"),value:t[l].title,onChange:e=>{this.saveArrayUpdate({title:e},l)}})),j=Object(b.createElement)("div",null,io()(e,e=>O(e))),_=Object(b.createElement)("style",null,io()(e,e=>{return`.kt-svg-icons-${n} .kt-svg-item-${l=e}:hover .kt-svg-icon {\n\t\t\t\t\t${void 0!==t[l].hColor&&t[l].hColor?"color:"+pa(t[l].hColor)+"!important;":""}\n\t\t\t\t\t${void 0!==t[l].hBackground&&t[l].hBackground?"background:"+pa(t[l].hBackground)+"!important;":""}\n\t\t\t\t\t${void 0!==t[l].hBorder&&t[l].hBorder?"border-color:"+pa(t[l].hBorder)+"!important;":""}\n\t\t\t\t}`;var l}));return Object(b.createElement)("div",{className:c},_,Object(b.createElement)(fs,null,Object(b.createElement)(js,{value:l,controls:["center","left","right"],onChange:e=>s({blockAlignment:e})}),Object(b.createElement)(zs,{isCollapsed:!0,icon:Object(b.createElement)(pc,{value:r||"bottom"}),label:Object(m.__)("Vertical Align","kadence-blocks"),controls:h}),Object(b.createElement)(Os,{value:a,onChange:e=>s({textAlignment:e})})),Object(b.createElement)(ys,null,Object(b.createElement)(Pt,{title:Object(m.__)("Icon Count","kadence-blocks"),initialOpen:!0,panelName:"kb-icon-count"},Object(b.createElement)(ks,{label:Object(m.__)("Number of Icons","kadence-blocks"),value:e,onChange:e=>{const l=t;if(l.length<e){const a=Math.abs(e-l.length);io()(a,e=>{l.push({icon:l[0].icon,link:l[0].link,target:l[0].target,size:l[0].size,width:l[0].width,title:l[0].title,color:l[0].color,background:l[0].background,border:l[0].border,borderRadius:l[0].borderRadius,borderWidth:l[0].borderWidth,padding:l[0].padding,style:l[0].style,marginTop:l[0].marginTop?l[0].marginTop:0,marginRight:l[0].marginRight?l[0].marginRight:0,marginBottom:l[0].marginBottom?l[0].marginBottom:0,marginLeft:l[0].marginLeft?l[0].marginLeft:0,hColor:l[0].hColor?l[0].hColor:"",hBackground:l[0].hBackground?l[0].hBackground:"",hBorder:l[0].hBorder?l[0].hBorder:""})}),s({icons:l}),this.saveArrayUpdate({title:t[0].title},0)}s({iconCount:e})},min:1,max:10}),Object(b.createElement)("div",{className:"kb-sidebar-alignment components-base-control"},Object(b.createElement)("p",{className:"kb-component-label kb-responsive-label"},Object(m.__)("Text Alignment","kadence-blocks")),v)),j),Object(b.createElement)("div",{className:`kt-svg-icons ${d} kt-svg-icons-${n}${a?" kb-icon-align-"+a:" kb-icon-align-center"}${r?" kb-icon-valign-"+r:""}`,style:{textAlign:a||"center"}},io()(e,e=>{return l=e,Object(b.createElement)("div",{className:`kt-svg-style-${t[l].style} kt-svg-icon-wrap kt-svg-item-${l}`},t[l].icon&&Object(b.createElement)(ot,{className:"kt-svg-icon kt-svg-icon-"+t[l].icon,name:t[l].icon,size:t[l].size,strokeWidth:"fe"===t[l].icon.substring(0,2)?t[l].width:void 0,title:t[l].title?t[l].title:"",style:{color:t[l].color?pa(t[l].color):void 0,backgroundColor:t[l].background&&"default"!==t[l].style?pa(t[l].background):void 0,padding:t[l].padding&&"default"!==t[l].style?t[l].padding+"px":void 0,borderColor:t[l].border&&"default"!==t[l].style?pa(t[l].border):void 0,borderWidth:t[l].borderWidth&&"default"!==t[l].style?t[l].borderWidth+"px":void 0,borderRadius:t[l].borderRadius&&"default"!==t[l].style?t[l].borderRadius+"%":void 0,marginTop:t[l].marginTop?t[l].marginTop+"px":void 0,marginRight:t[l].marginRight?t[l].marginRight+"px":void 0,marginBottom:t[l].marginBottom?t[l].marginBottom+"px":void 0,marginLeft:t[l].marginLeft?t[l].marginLeft+"px":void 0}}));var l})))}},save:e=>{const{attributes:{icons:t,iconCount:l,blockAlignment:a,textAlignment:i,uniqueID:o,verticalAlignment:n}}=e;return Object(b.createElement)("div",{className:`kt-svg-icons kt-svg-icons${o} align${a||"none"}${n?" kb-icon-valign-"+n:""}`,style:{textAlign:i||"center"}},io()(l,e=>{return l=e,Object(b.createElement)("div",{className:`kt-svg-style-${t[l].style} kt-svg-icon-wrap kt-svg-item-${l}`},t[l].icon&&t[l].link&&Object(b.createElement)("a",{href:t[l].link,className:"kt-svg-icon-link",target:"_blank"===t[l].target?t[l].target:void 0,rel:"_blank"===t[l].target?"noopener noreferrer":void 0,"aria-label":void 0!==t[l].linkTitle&&""!==t[l].linkTitle?t[l].linkTitle:void 0,style:{marginTop:t[l].marginTop?t[l].marginTop+"px":void 0,marginRight:t[l].marginRight?t[l].marginRight+"px":void 0,marginBottom:t[l].marginBottom?t[l].marginBottom+"px":void 0,marginLeft:t[l].marginLeft?t[l].marginLeft+"px":void 0}},Object(b.createElement)(ot,{className:"kt-svg-icon kt-svg-icon-"+t[l].icon,name:t[l].icon,size:t[l].size,strokeWidth:"fe"===t[l].icon.substring(0,2)?t[l].width:void 0,title:t[l].title?t[l].title:"",ariaHidden:t[l].title?void 0:"true",style:{color:t[l].color?$c(t[l].color):void 0,backgroundColor:t[l].background&&"default"!==t[l].style?$c(t[l].background):void 0,padding:t[l].padding&&"default"!==t[l].style?t[l].padding+"px":void 0,borderColor:t[l].border&&"default"!==t[l].style?$c(t[l].border):void 0,borderWidth:t[l].borderWidth&&"default"!==t[l].style?t[l].borderWidth+"px":void 0,borderRadius:t[l].borderRadius&&"default"!==t[l].style?t[l].borderRadius+"%":void 0}})),t[l].icon&&!t[l].link&&Object(b.createElement)(ot,{className:"kt-svg-icon kt-svg-icon-"+t[l].icon,name:t[l].icon,size:t[l].size,strokeWidth:"fe"===t[l].icon.substring(0,2)?t[l].width:void 0,title:t[l].title?t[l].title:"",ariaHidden:t[l].title?void 0:"true",style:{color:t[l].color?$c(t[l].color):void 0,backgroundColor:t[l].background&&"default"!==t[l].style?$c(t[l].background):void 0,padding:t[l].padding&&"default"!==t[l].style?t[l].padding+"px":void 0,borderColor:t[l].border&&"default"!==t[l].style?$c(t[l].border):void 0,borderWidth:t[l].borderWidth&&"default"!==t[l].style?t[l].borderWidth+"px":void 0,borderRadius:t[l].borderRadius&&"default"!==t[l].style?t[l].borderRadius+"%":void 0,marginTop:t[l].marginTop?t[l].marginTop+"px":void 0,marginRight:t[l].marginRight?t[l].marginRight+"px":void 0,marginBottom:t[l].marginBottom?t[l].marginBottom+"px":void 0,marginLeft:t[l].marginLeft?t[l].marginLeft+"px":void 0}}));var l}))},deprecated:[{attributes:{icons:{type:"array",default:[{icon:"fe_aperture",link:"",target:"_self",size:50,width:2,title:"",color:"#444444",background:"transparent",border:"#444444",borderRadius:0,borderWidth:2,padding:20,style:"default",marginTop:0,marginRight:0,marginBottom:0,marginLeft:0,hColor:"",hBackground:"",hBorder:""}]},iconCount:{type:"number",default:1},uniqueID:{type:"string",default:""},blockAlignment:{type:"string",default:"center"},textAlignment:{type:"string",default:"center"},tabletTextAlignment:{type:"string"},mobileTextAlignment:{type:"string"}},save:e=>{let{attributes:t}=e;const{icons:l,iconCount:a,blockAlignment:i,textAlignment:o,uniqueID:n,verticalAlignment:r}=t;return Object(b.createElement)("div",{className:`kt-svg-icons kt-svg-icons${n} align${i||"center"}${r?" kb-icon-valign-"+r:""}`,style:{textAlign:o||"center"}},io()(a,e=>{return t=e,Object(b.createElement)("div",{className:`kt-svg-style-${l[t].style} kt-svg-icon-wrap kt-svg-item-${t}`},l[t].icon&&l[t].link&&Object(b.createElement)("a",{href:l[t].link,className:"kt-svg-icon-link",target:"_blank"===l[t].target?l[t].target:void 0,rel:"_blank"===l[t].target?"noopener noreferrer":void 0,"aria-label":void 0!==l[t].linkTitle&&""!==l[t].linkTitle?l[t].linkTitle:void 0,style:{marginTop:l[t].marginTop?l[t].marginTop+"px":void 0,marginRight:l[t].marginRight?l[t].marginRight+"px":void 0,marginBottom:l[t].marginBottom?l[t].marginBottom+"px":void 0,marginLeft:l[t].marginLeft?l[t].marginLeft+"px":void 0}},Object(b.createElement)(ot,{className:"kt-svg-icon kt-svg-icon-"+l[t].icon,name:l[t].icon,size:l[t].size,strokeWidth:"fe"===l[t].icon.substring(0,2)?l[t].width:void 0,title:l[t].title?l[t].title:"",ariaHidden:l[t].title?void 0:"true",style:{color:l[t].color?$c(l[t].color):void 0,backgroundColor:l[t].background&&"default"!==l[t].style?$c(l[t].background):void 0,padding:l[t].padding&&"default"!==l[t].style?l[t].padding+"px":void 0,borderColor:l[t].border&&"default"!==l[t].style?$c(l[t].border):void 0,borderWidth:l[t].borderWidth&&"default"!==l[t].style?l[t].borderWidth+"px":void 0,borderRadius:l[t].borderRadius&&"default"!==l[t].style?l[t].borderRadius+"%":void 0}})),l[t].icon&&!l[t].link&&Object(b.createElement)(ot,{className:"kt-svg-icon kt-svg-icon-"+l[t].icon,name:l[t].icon,size:l[t].size,strokeWidth:"fe"===l[t].icon.substring(0,2)?l[t].width:void 0,title:l[t].title?l[t].title:"",ariaHidden:l[t].title?void 0:"true",style:{color:l[t].color?$c(l[t].color):void 0,backgroundColor:l[t].background&&"default"!==l[t].style?$c(l[t].background):void 0,padding:l[t].padding&&"default"!==l[t].style?l[t].padding+"px":void 0,borderColor:l[t].border&&"default"!==l[t].style?$c(l[t].border):void 0,borderWidth:l[t].borderWidth&&"default"!==l[t].style?l[t].borderWidth+"px":void 0,borderRadius:l[t].borderRadius&&"default"!==l[t].style?l[t].borderRadius+"%":void 0,marginTop:l[t].marginTop?l[t].marginTop+"px":void 0,marginRight:l[t].marginRight?l[t].marginRight+"px":void 0,marginBottom:l[t].marginBottom?l[t].marginBottom+"px":void 0,marginLeft:l[t].marginLeft?l[t].marginLeft+"px":void 0}}));var t}))}},{attributes:{icons:{type:"array",default:[{icon:"fe_aperture",link:"",target:"_self",size:50,width:2,title:"",color:"#444444",background:"transparent",border:"#444444",borderRadius:0,borderWidth:2,padding:20,style:"default",marginTop:0,marginRight:0,marginBottom:0,marginLeft:0,hColor:"",hBackground:"",hBorder:""}]},iconCount:{type:"number",default:1},uniqueID:{type:"string",default:""},blockAlignment:{type:"string",default:"center"},textAlignment:{type:"string",default:"center"},tabletTextAlignment:{type:"string"},mobileTextAlignment:{type:"string"}},save:e=>{let{attributes:t}=e;const{icons:l,iconCount:a,blockAlignment:i,textAlignment:o,uniqueID:n,verticalAlignment:r}=t;return Object(b.createElement)("div",{className:`kt-svg-icons kt-svg-icons${n} align${i||"center"}${r||""}`,style:{textAlign:o||"center"}},io()(a,e=>{return t=e,Object(b.createElement)("div",{className:`kt-svg-style-${l[t].style} kt-svg-icon-wrap kt-svg-item-${t}`},l[t].icon&&l[t].link&&Object(b.createElement)("a",{href:l[t].link,className:"kt-svg-icon-link",target:"_blank"===l[t].target?l[t].target:void 0,rel:"_blank"===l[t].target?"noopener noreferrer":void 0,"aria-label":void 0!==l[t].linkTitle&&""!==l[t].linkTitle?l[t].linkTitle:void 0,style:{marginTop:l[t].marginTop?l[t].marginTop+"px":void 0,marginRight:l[t].marginRight?l[t].marginRight+"px":void 0,marginBottom:l[t].marginBottom?l[t].marginBottom+"px":void 0,marginLeft:l[t].marginLeft?l[t].marginLeft+"px":void 0}},Object(b.createElement)(ot,{className:"kt-svg-icon kt-svg-icon-"+l[t].icon,name:l[t].icon,size:l[t].size,strokeWidth:"fe"===l[t].icon.substring(0,2)?l[t].width:void 0,title:l[t].title?l[t].title:"",style:{color:l[t].color?$c(l[t].color):void 0,backgroundColor:l[t].background&&"default"!==l[t].style?$c(l[t].background):void 0,padding:l[t].padding&&"default"!==l[t].style?l[t].padding+"px":void 0,borderColor:l[t].border&&"default"!==l[t].style?$c(l[t].border):void 0,borderWidth:l[t].borderWidth&&"default"!==l[t].style?l[t].borderWidth+"px":void 0,borderRadius:l[t].borderRadius&&"default"!==l[t].style?l[t].borderRadius+"%":void 0}})),l[t].icon&&!l[t].link&&Object(b.createElement)(ot,{className:"kt-svg-icon kt-svg-icon-"+l[t].icon,name:l[t].icon,size:l[t].size,strokeWidth:"fe"===l[t].icon.substring(0,2)?l[t].width:void 0,title:l[t].title?l[t].title:"",style:{color:l[t].color?$c(l[t].color):void 0,backgroundColor:l[t].background&&"default"!==l[t].style?$c(l[t].background):void 0,padding:l[t].padding&&"default"!==l[t].style?l[t].padding+"px":void 0,borderColor:l[t].border&&"default"!==l[t].style?$c(l[t].border):void 0,borderWidth:l[t].borderWidth&&"default"!==l[t].style?l[t].borderWidth+"px":void 0,borderRadius:l[t].borderRadius&&"default"!==l[t].style?l[t].borderRadius+"%":void 0,marginTop:l[t].marginTop?l[t].marginTop+"px":void 0,marginRight:l[t].marginRight?l[t].marginRight+"px":void 0,marginBottom:l[t].marginBottom?l[t].marginBottom+"px":void 0,marginLeft:l[t].marginLeft?l[t].marginLeft+"px":void 0}}));var t}))}},{attributes:{icons:{type:"array",default:[{icon:"fe_aperture",link:"",target:"_self",size:50,width:2,title:"",color:"#444444",background:"transparent",border:"#444444",borderRadius:0,borderWidth:2,padding:20,style:"default"}]},iconCount:{type:"number",default:1},uniqueID:{type:"string",default:""},blockAlignment:{type:"string",default:"center"},textAlignment:{type:"string",default:"center"}},save:e=>{let{attributes:t}=e;const{icons:l,iconCount:a,blockAlignment:i,textAlignment:o,uniqueID:n}=t;return Object(b.createElement)("div",{className:`kt-svg-icons kt-svg-icons${n} align${i||"center"}`,style:{textAlign:o||"center"}},io()(a,e=>{return t=e,Object(b.createElement)("div",{className:`kt-svg-style-${l[t].style} kt-svg-icon-wrap kt-svg-item-${t}`},l[t].icon&&l[t].link&&Object(b.createElement)("a",{href:l[t].link,className:"kt-svg-icon-link",target:"_blank"===l[t].target?l[t].target:void 0,rel:"_blank"===l[t].target?"noopener noreferrer":void 0},Object(b.createElement)(ot,{className:"kt-svg-icon kt-svg-icon-"+l[t].icon,name:l[t].icon,size:l[t].size,strokeWidth:"fe"===l[t].icon.substring(0,2)?l[t].width:void 0,title:l[t].title?l[t].title:"",style:{color:l[t].color?l[t].color:void 0,backgroundColor:l[t].background&&"default"!==l[t].style?l[t].background:void 0,padding:l[t].padding&&"default"!==l[t].style?l[t].padding+"px":void 0,borderColor:l[t].border&&"default"!==l[t].style?l[t].border:void 0,borderWidth:l[t].borderWidth&&"default"!==l[t].style?l[t].borderWidth+"px":void 0,borderRadius:l[t].borderRadius&&"default"!==l[t].style?l[t].borderRadius+"%":void 0}})),l[t].icon&&!l[t].link&&Object(b.createElement)(ot,{className:"kt-svg-icon kt-svg-icon-"+l[t].icon,name:l[t].icon,size:l[t].size,strokeWidth:"fe"===l[t].icon.substring(0,2)?l[t].width:void 0,title:l[t].title?l[t].title:"",style:{color:l[t].color?l[t].color:void 0,backgroundColor:l[t].background&&"default"!==l[t].style?l[t].background:void 0,padding:l[t].padding&&"default"!==l[t].style?l[t].padding+"px":void 0,borderColor:l[t].border&&"default"!==l[t].style?l[t].border:void 0,borderWidth:l[t].borderWidth&&"default"!==l[t].style?l[t].borderWidth+"px":void 0,borderRadius:l[t].borderRadius&&"default"!==l[t].style?l[t].borderRadius+"%":void 0}}));var t}))}},{attributes:{icons:{type:"array",default:[{icon:"fe_aperture",link:"",target:"_self",size:50,width:2,title:"",color:"#444444",background:"transparent",border:"#444444",borderRadius:0,borderWidth:2,padding:20,style:"default"}]},iconCount:{type:"number",default:1},uniqueID:{type:"string",default:""},blockAlignment:{type:"string",default:"center"},textAlignment:{type:"string",default:"center"}},save:e=>{let{attributes:t}=e;const{icons:l,iconCount:a,blockAlignment:i,textAlignment:o,uniqueID:n}=t;return Object(b.createElement)("div",{className:`kt-svg-icons kt-svg-icons${n} align${i||"center"}`,style:{textAlign:o||"center"}},io()(a,e=>{return t=e,Object(b.createElement)("div",{className:`kt-svg-style-${l[t].style} kt-svg-icon-wrap kt-svg-item-${t}`},l[t].icon&&l[t].link&&Object(b.createElement)("a",{href:l[t].link,className:"kt-svg-icon-link",target:"_blank"===l[t].target?l[t].target:void 0,rel:"_blank"===l[t].target?"noopener noreferrer":void 0},Object(b.createElement)("div",{style:{color:l[t].color?l[t].color:void 0,backgroundColor:l[t].background&&"default"!==l[t].style?l[t].background:void 0,padding:l[t].padding&&"default"!==l[t].style?l[t].padding+"px":void 0,borderColor:l[t].border&&"default"!==l[t].style?l[t].border:void 0,borderWidth:l[t].borderWidth&&"default"!==l[t].style?l[t].borderWidth+"px":void 0,borderRadius:l[t].borderRadius&&"default"!==l[t].style?l[t].borderRadius+"%":void 0},className:"kt-svg-icon kt-svg-icon-"+l[t].icon})),l[t].icon&&!l[t].link&&Object(b.createElement)("div",{style:{color:l[t].color?l[t].color:void 0,backgroundColor:l[t].background&&"default"!==l[t].style?l[t].background:void 0,padding:l[t].padding&&"default"!==l[t].style?l[t].padding+"px":void 0,borderColor:l[t].border&&"default"!==l[t].style?l[t].border:void 0,borderWidth:l[t].borderWidth&&"default"!==l[t].style?l[t].borderWidth+"px":void 0,borderRadius:l[t].borderRadius&&"default"!==l[t].style?l[t].borderRadius+"%":void 0},className:"kt-svg-icon kt-svg-icon-"+l[t].icon}));var t}))}},{attributes:{icons:{type:"array",default:[{icon:"fe_aperture",link:"",target:"_self",size:50,width:2,title:"",color:"#444444",background:"transparent",border:"#444444",borderRadius:0,borderWidth:2,padding:20,style:"default"}]},iconCount:{type:"number",default:1},uniqueID:{type:"string",default:""},blockAlignment:{type:"string",default:"center"},textAlignment:{type:"string",default:"center"}},save:e=>{let{attributes:t}=e;const{icons:l,iconCount:a,blockAlignment:i,textAlignment:o,uniqueID:n}=t;return Object(b.createElement)("div",{className:`kt-svg-icons kt-svg-icons${n} align${i||"center"}`,style:{textAlign:o||"center"}},io()(a,e=>{return t=e,Object(b.createElement)("div",{className:`kt-svg-style-${l[t].style} kt-svg-icon-wrap kt-svg-item-${t}`},l[t].icon&&l[t].link&&Object(b.createElement)("a",{href:l[t].link,className:"kt-svg-icon-link",target:l[t].target},Object(b.createElement)(ot,{className:"kt-svg-icon kt-svg-icon-"+l[t].icon,name:l[t].icon,size:l[t].size,strokeWidth:"fe"===l[t].icon.substring(0,2)?l[t].width:void 0,title:l[t].title?l[t].title:"",style:{color:l[t].color?l[t].color:void 0,backgroundColor:l[t].background&&"default"!==l[t].style?l[t].background:void 0,padding:l[t].padding&&"default"!==l[t].style?l[t].padding+"px":void 0,borderColor:l[t].border&&"default"!==l[t].style?l[t].border:void 0,borderWidth:l[t].borderWidth&&"default"!==l[t].style?l[t].borderWidth+"px":void 0,borderRadius:l[t].borderRadius&&"default"!==l[t].style?l[t].borderRadius+"%":void 0}})),l[t].icon&&!l[t].link&&Object(b.createElement)(ot,{className:"kt-svg-icon kt-svg-icon-"+l[t].icon,name:l[t].icon,size:l[t].size,strokeWidth:"fe"===l[t].icon.substring(0,2)?l[t].width:void 0,title:l[t].title?l[t].title:"",style:{color:l[t].color?l[t].color:void 0,backgroundColor:l[t].background&&"default"!==l[t].style?l[t].background:void 0,padding:l[t].padding&&"default"!==l[t].style?l[t].padding+"px":void 0,borderColor:l[t].border&&"default"!==l[t].style?l[t].border:void 0,borderWidth:l[t].borderWidth&&"default"!==l[t].style?l[t].borderWidth+"px":void 0,borderRadius:l[t].borderRadius&&"default"!==l[t].style?l[t].borderRadius+"%":void 0}}));var t}))}},{attributes:{icons:{type:"array",default:[{icon:"fe_aperture",link:"",target:"_self",size:50,width:2,title:"",color:"#444444",background:"transparent",border:"#444444",borderRadius:0,borderWidth:2,padding:20,style:"default"}]},iconCount:{type:"number",default:1},uniqueID:{type:"string",default:""},blockAlignment:{type:"string",default:"center"},textAlignment:{type:"string",default:"center"}},save:e=>{let{attributes:t}=e;const{icons:l,iconCount:a,blockAlignment:i,textAlignment:o,uniqueID:n}=t;return Object(b.createElement)("div",{className:`kt-svg-icons kt-svg-icons${n} align${i||"center"}`,style:{textAlign:o||"center"}},io()(a,e=>{return t=e,Object(b.createElement)("div",{className:`kt-svg-style-${l[t].style} kt-svg-icon-wrap kt-svg-item-${t}`},l[t].icon&&l[t].link&&Object(b.createElement)("a",{href:l[t].link,className:"kt-svg-icon-link",target:l[t].target,rel:"noopener noreferrer"},Object(b.createElement)(ot,{className:"kt-svg-icon kt-svg-icon-"+l[t].icon,name:l[t].icon,size:l[t].size,strokeWidth:"fe"===l[t].icon.substring(0,2)?l[t].width:void 0,title:l[t].title?l[t].title:"",style:{color:l[t].color?l[t].color:void 0,backgroundColor:l[t].background&&"default"!==l[t].style?l[t].background:void 0,padding:l[t].padding&&"default"!==l[t].style?l[t].padding+"px":void 0,borderColor:l[t].border&&"default"!==l[t].style?l[t].border:void 0,borderWidth:l[t].borderWidth&&"default"!==l[t].style?l[t].borderWidth+"px":void 0,borderRadius:l[t].borderRadius&&"default"!==l[t].style?l[t].borderRadius+"%":void 0}})),l[t].icon&&!l[t].link&&Object(b.createElement)(ot,{className:"kt-svg-icon kt-svg-icon-"+l[t].icon,name:l[t].icon,size:l[t].size,strokeWidth:"fe"===l[t].icon.substring(0,2)?l[t].width:void 0,title:l[t].title?l[t].title:"",style:{color:l[t].color?l[t].color:void 0,backgroundColor:l[t].background&&"default"!==l[t].style?l[t].background:void 0,padding:l[t].padding&&"default"!==l[t].style?l[t].padding+"px":void 0,borderColor:l[t].border&&"default"!==l[t].style?l[t].border:void 0,borderWidth:l[t].borderWidth&&"default"!==l[t].style?l[t].borderWidth+"px":void 0,borderRadius:l[t].borderRadius&&"default"!==l[t].style?l[t].borderRadius+"%":void 0}}));var t}))}}]});const Ps={};Ps.block=Object(b.createElement)("svg",{width:"20px",height:"20px",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},Object(b.createElement)("g",{fill:"#0058b0",fillRule:"nonzero"},Object(b.createElement)("path",{d:"M45.013,46.298c0.705,0 1.285,-0.58 1.285,-1.285l0,-42.026c0,-0.705 -0.58,-1.285 -1.285,-1.285l-42.026,0c-0.705,0 -1.285,0.58 -1.285,1.285l0,42.026c0,0.705 0.58,1.285 1.285,1.285l42.026,0Zm-40.741,-42.026l39.456,0l0,39.456l-39.456,0l0,-39.456Z"}),Object(b.createElement)("path",{d:"M11.221,8.736l7.36,0l0,12.117l10.838,0l0,-12.117l7.361,0l0,30.518l-7.361,0l0,-12.743l-10.838,0l0,12.743l-7.36,0l0,-30.518Z"})));var Rs=Ps;const{applyFilters:As}=wp.hooks,{Component:Ls,Fragment:Fs}=wp.element,{Button:Ws,ButtonGroup:Ds,IconButton:$s,Dashicon:Us,Tooltip:Vs,Dropdown:Zs,ToggleControl:Gs,SelectControl:qs}=wp.components;var Ks=class extends Ls{constructor(){super(...arguments),this.state={controlSize:"desk",typographyOptions:[],typographySelectOptions:[],typographyWeights:[],typographyStyles:[],typographySubsets:""}}componentDidMount(){let e=[{type:"group",label:"Standard Fonts",options:[{label:"System Default",value:'-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',google:!1},{label:"Arial, Helvetica, sans-serif",value:"Arial, Helvetica, sans-serif",google:!1},{label:'"Arial Black", Gadget, sans-serif',value:'"Arial Black", Gadget, sans-serif',google:!1},{label:"Helvetica, sans-serif",value:"Helvetica, sans-serif",google:!1},{label:'"Comic Sans MS", cursive, sans-serif',value:'"Comic Sans MS", cursive, sans-serif',google:!1},{label:"Impact, Charcoal, sans-serif",value:"Impact, Charcoal, sans-serif",google:!1},{label:'"Lucida Sans Unicode", "Lucida Grande", sans-serif',value:'"Lucida Sans Unicode", "Lucida Grande", sans-serif',google:!1},{label:"Tahoma, Geneva, sans-serif",value:"Tahoma, Geneva, sans-serif",google:!1},{label:'"Trebuchet MS", Helvetica, sans-serif',value:'"Trebuchet MS", Helvetica, sans-serif',google:!1},{label:"Verdana, Geneva, sans-serif",value:"Verdana, Geneva, sans-serif",google:!1},{label:"Georgia, serif",value:"Georgia, serif",google:!1},{label:'"Palatino Linotype", "Book Antiqua", Palatino, serif',value:'"Palatino Linotype", "Book Antiqua", Palatino, serif',google:!1},{label:'"Times New Roman", Times, serif',value:'"Times New Roman", Times, serif',google:!1},{label:"Courier, monospace",value:"Courier, monospace",google:!1},{label:'"Lucida Console", Monaco, monospace',value:'"Lucida Console", Monaco, monospace',google:!1}]},{type:"group",label:"Google Fonts",options:"undefined"!=typeof kadence_blocks_params&&kadence_blocks_params.g_font_names?kadence_blocks_params.g_font_names.map(e=>({label:e,value:e,google:!0})):{}}];if("undefined"!=typeof kadence_blocks_params&&kadence_blocks_params.c_fonts){const t=[];Object.keys(kadence_blocks_params.c_fonts).forEach((function(e){const l=kadence_blocks_params.c_fonts[e].name,a=[];Object.keys(kadence_blocks_params.c_fonts[e].weights).forEach((function(t){a.push({value:kadence_blocks_params.c_fonts[e].weights[t],label:kadence_blocks_params.c_fonts[e].weights[t]})}));const i=[];Object.keys(kadence_blocks_params.c_fonts[e].styles).forEach((function(t){i.push({value:kadence_blocks_params.c_fonts[e].weights[t],label:kadence_blocks_params.c_fonts[e].weights[t]})})),t.push({label:l,value:l,google:!1,weights:a,styles:i})})),e=[{type:"group",label:Object(m.__)("Custom Fonts","kadence-custom-fonts"),options:t}].concat(e)}let t=As("kadence.typography_options",e),l=[].concat.apply([],t.map(e=>e.options));const a=kadence_blocks_params.configuration?JSON.parse(kadence_blocks_params.configuration):[];void 0!==a["kadence/typography"]&&"object"==typeof a["kadence/typography"]&&(void 0===a["kadence/typography"].showAll||a["kadence/typography"].showAll||(t=a["kadence/typography"].choiceArray,l=a["kadence/typography"].choiceArray)),this.setState({typographyOptions:t}),this.setState({typographySelectOptions:l}),this.setTypographyOptions(l)}componentDidUpdate(e){this.props.fontFamily!==e.fontFamily&&this.setTypographyOptions(this.state.typographySelectOptions)}setTypographyOptions(e){let t=[{value:"inherit",label:Object(m.__)("Inherit","kadence-blocks")},{value:"400",label:Object(m.__)("Normal","kadence-blocks")},{value:"bold",label:Object(m.__)("Bold","kadence-blocks")}];const l=[{value:"inherit",label:Object(m.__)("Inherit","kadence-blocks")},{value:"100",label:Object(m.__)("Thin 100","kadence-blocks")},{value:"200",label:Object(m.__)("Extra-Light 200","kadence-blocks")},{value:"300",label:Object(m.__)("Light 300","kadence-blocks")},{value:"400",label:Object(m.__)("Regular","kadence-blocks")},{value:"500",label:Object(m.__)("Medium 500","kadence-blocks")},{value:"600",label:Object(m.__)("Semi-Bold 600","kadence-blocks")},{value:"700",label:Object(m.__)("Bold 700","kadence-blocks")},{value:"800",label:Object(m.__)("Extra-Bold 800","kadence-blocks")},{value:"900",label:Object(m.__)("Ultra-Bold 900","kadence-blocks")}],a=[{value:"normal",label:Object(m.__)("Normal","kadence-blocks")},{value:"italic",label:Object(m.__)("Italic","kadence-blocks")}],i=!("undefined"==typeof kadence_blocks_params||!kadence_blocks_params.isKadenceT),o="undefined"!=typeof kadence_blocks_params&&kadence_blocks_params.headingWeights?kadence_blocks_params.headingWeights:[],n="undefined"!=typeof kadence_blocks_params&&kadence_blocks_params.buttonWeights?kadence_blocks_params.buttonWeights:[];i&&"heading"===this.props.fontGroup&&o&&Array.isArray(o)&&o.length&&(t=o),i&&"button"===this.props.fontGroup&&n&&Array.isArray(n)&&n.length&&(t=n);const r=e?e.filter(e=>{let{value:t}=e;return t===this.props.fontFamily}):"";let c=t,s=a,d="";r&&r[0]&&(void 0!==r[0].weights&&(c=r[0].weights),void 0!==r[0].styles&&(s=r[0].styles)),this.props.googleFont&&this.props.fontFamily&&"undefined"!=typeof kadence_blocks_params&&kadence_blocks_params.g_fonts&&kadence_blocks_params.g_fonts[this.props.fontFamily]&&(c=kadence_blocks_params.g_fonts[this.props.fontFamily].w.map(e=>({label:u(e),value:e})),s=kadence_blocks_params.g_fonts[this.props.fontFamily].i.map(e=>({label:u(e),value:e})),d=kadence_blocks_params.g_fonts[this.props.fontFamily].s.map(e=>({label:u(e),value:e}))),'-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"'===this.props.fontFamily&&(c=l),this.setState({typographyWeights:c}),this.setState({typographyStyles:s}),this.setState({typographySubsets:d}),this.setState({fontFamilyValue:r})}render(){const{uniqueID:e,lineHeight:t,lineHeightType:l,fontSize:a,fontSizeType:i,googleFont:o,loadGoogleFont:n,fontFamily:r,fontVariant:c,fontWeight:s,fontStyle:d,fontSubset:p,letterSpacing:u,onLineHeight:v,onFontSize:y,onFontFamily:f,onFontVariant:O,onFontWeight:j,onFontStyle:_,onFontSubset:w,onFontChange:x,onFontArrayChange:E,onLoadGoogleFont:S,onGoogleFont:C,onLetterSpacing:T,onFontSizeType:N,onLineHeightType:z,textTransform:M,onTextTransform:I,fontSizeArray:H,tabSize:B,tabLineHeight:P,onTabLineHeight:R,onTabSize:A,mobileSize:L,mobileLineHeight:F,onMobileLineHeight:W,onMobileSize:D}=this.props,{controlSize:$,typographySelectOptions:U,typographyOptions:V,typographySubsets:Z,typographyStyles:G,typographyWeights:q,fontFamilyValue:K}=this.state,Q=e=>{this.setState({controlSize:e})},J=[{key:"desk",name:Object(m.__)("Desktop"),icon:Object(b.createElement)(Us,{icon:"desktop"})},{key:"tablet",name:Object(m.__)("Tablet"),icon:Object(b.createElement)(Us,{icon:"tablet"})},{key:"mobile",name:Object(m.__)("Mobile"),icon:Object(b.createElement)(Us,{icon:"smartphone"})}],Y=e=>{const t=Number(e.target.value);y(""!==t?t>be?be:t<-.1?de:t:void 0)},X=e=>{const t=Number(e.target.value);A(""!==t?t>be?be:t<-.1?de:t:void 0)},ee=e=>{const t=Number(e.target.value);D(""!==t?t>be?be:t<-.1?de:t:void 0)},te=e=>{const t=Number(e.target.value);v(""!==t?t>ge?ge:t<-.1?pe:t:void 0)},le=e=>{const t=Number(e.target.value);R(""!==t?t>ge?ge:t<-.1?pe:t:void 0)},ae=e=>{const t=Number(e.target.value);W(""!==t?t>ge?ge:t<-.1?pe:t:void 0)},ie=e=>{const t=Number(e.target.value);T(""!==t?t>15?15:t<-5?-5:t:void 0)},oe=e=>{if(null===e)ne();else{let t,l,a;e.google?(t="undefined"!=typeof kadence_blocks_params&&kadence_blocks_params.g_fonts&&!kadence_blocks_params.g_fonts[e.value].v.includes("regular")?kadence_blocks_params.g_fonts[e.value].v[0]:"regular",l="undefined"!=typeof kadence_blocks_params&&kadence_blocks_params.g_fonts&&!kadence_blocks_params.g_fonts[e.value].w.includes("regular")?kadence_blocks_params.g_fonts[e.value].w[0]:"400",a="undefined"!=typeof kadence_blocks_params&&kadence_blocks_params.g_fonts&&kadence_blocks_params.g_fonts[e.value].s.length>1?"latin":""):(a="",t="",l="inherit"),E?E({google:e.google,family:e.value,variant:t,weight:l,style:"normal",subset:a}):(x(e),O(t),j(l),_("normal"),w(a))}},ne=()=>{E?E({google:!1,family:"",variant:"",weight:"inherit",style:"normal",subset:""}):(C(!1),f(""),O(""),j("inherit"),_("normal"),w(""))},re=e=>{if(o){let t;t="italic"===d?"regular"===e?"italic":e+"italic":e,E?E({variant:t,weight:"regular"===e?"400":e}):(O(t),j("regular"===e?"400":e))}else E?E({variant:"",weight:"regular"===e?"400":e}):(O(""),j("regular"===e?"400":e))},ce=e=>{if(o){let t;t="italic"===e?s&&"regular"!==s?s+"italic":"italic":s||"regular",E?E({variant:t,style:e}):(O(t),_(e))}else E?E({variant:"",style:e}):(O(""),_(e))},se=[{value:"none",label:"None"},{value:"capitalize",label:"Capitalize"},{value:"uppercase",label:"Uppercase"},{value:"lowercase",label:"Lowercase"}],de="px"!==i?.2:5,be="px"!==i?12:200,me="px"!==i?.1:1,pe="px"!==l?.2:5,ge="px"!==l?12:200,ue="px"!==l?.1:1,he=q.some((function(e){return"regular"===e.value}));return Object(b.createElement)(Fs,null,Object(b.createElement)(Zs,{className:"kt-popover-font-family-container components-dropdown-menu components-toolbar",contentClassName:"kt-popover-font-family",position:"top center",renderToggle:e=>{let{isOpen:t,onToggle:l}=e;return Object(b.createElement)(Fs,null,Object(b.createElement)($s,{className:"components-dropdown-menu__toggle kt-font-family-icon",label:Object(m.__)("Typography Settings"),tooltip:Object(m.__)("Typography Settings"),icon:g.fontfamily,onClick:l,"aria-expanded":t},Object(b.createElement)("span",{className:"components-dropdown-menu__indicator"})))},renderContent:()=>Object(b.createElement)(Fs,null,f&&Object(b.createElement)(Fs,null,Object(b.createElement)("h2",{className:"kt-heading-fontfamily-title"},Object(m.__)("Font Family")),Object(b.createElement)("div",{className:"typography-family-select-form-row block-editor-block-toolbar"},Object(b.createElement)(h.a,{options:V,className:"kt-inline-typography-select",classNamePrefix:"kt-typography",value:K,isMulti:!1,isSearchable:!0,isClearable:!0,maxMenuHeight:200,placeholder:Object(m.__)("Default"),onChange:oe}))),Object(b.createElement)("div",{className:"typography-row-settings"},j&&Object(b.createElement)(qs,{label:Object(m.__)("Weight","kadence-blocks"),value:"400"===s&&he?"regular":s,options:q,onChange:re}),I&&Object(b.createElement)(qs,{label:Object(m.__)("Transform"),value:M,options:se,onChange:e=>I(e)}),r&&_&&Object(b.createElement)(qs,{label:Object(m.__)("Style"),value:d,options:G,onChange:ce})),Object(b.createElement)("div",{className:"typography-row-settings"},T&&Object(b.createElement)("div",{className:"kt-type-input-wrap"},Object(b.createElement)("div",{className:"components-base-control kt-typography-number-input"},Object(b.createElement)("div",{className:"components-base-control__field"},Object(b.createElement)("label",{className:"components-base-control__label",htmlFor:"kt-inline-spacing"+e},Object(m.__)("Spacing")),Object(b.createElement)("input",{id:"kt-inline-spacing"+e,value:void 0!==u?u:"",onChange:ie,min:-5,max:15,step:.1,type:"number",className:"components-text-control__input"}))),Object(b.createElement)("span",{className:"kt-unit"},Object(m.__)("px"))),r&&o&&w&&Object(b.createElement)(qs,{label:Object(m.__)("Subset"),value:p,options:Z,onChange:e=>w(e)}),r&&o&&S&&Object(b.createElement)(Gs,{label:Object(m.__)("Load Font"),checked:n,onChange:S})),Object(b.createElement)("div",{className:"typography-row-settings typography-size-row-settings"},y&&N&&!H&&Object(b.createElement)("div",{className:"kt-size-input-wrap"},Object(b.createElement)("div",{className:"kt-size-tite-device-wrap"},Object(b.createElement)("p",{className:"kt-inline-size-title"},Object(m.__)("Size")),Object(b.createElement)(Ds,{className:"kt-typography-size-type-options","aria-label":Object(m.__)("Device Size Control Switch")},k()(J,e=>{let{name:t,key:l,icon:a}=e;return Object(b.createElement)(Vs,{text:t},Object(b.createElement)(Ws,{key:l,className:"kt-size-btn",isSmall:!0,isPrimary:$===l,"aria-pressed":$===l,onClick:()=>Q(l)},a))}))),y&&Object(b.createElement)("div",{className:"kt-type-size-input-wrap"},"mobile"===$&&Object(b.createElement)("div",{className:"components-base-control kt-typography-number-input"},Object(b.createElement)("div",{className:"components-base-control__field"},Object(b.createElement)("input",{value:L||"",onChange:ee,min:de,max:be,step:me,type:"number",className:"components-text-control__input"}))),"tablet"===$&&Object(b.createElement)("div",{className:"components-base-control kt-typography-number-input"},Object(b.createElement)("div",{className:"components-base-control__field"},Object(b.createElement)("input",{value:B||"",onChange:X,min:de,max:be,step:me,type:"number",className:"components-text-control__input"}))),"desk"===$&&Object(b.createElement)("div",{className:"components-base-control kt-typography-number-input"},Object(b.createElement)("div",{className:"components-base-control__field"},Object(b.createElement)("input",{value:a||"",onChange:Y,min:de,max:be,step:me,type:"number",className:"components-text-control__input"}))),Object(b.createElement)(qs,{value:i,className:"kt-typography-size-type",options:[{value:"px",label:Object(m.__)("px")},{value:"em",label:Object(m.__)("em")},{value:"rem",label:Object(m.__)("rem")}],onChange:e=>N(e)}))),v&&z&&!H&&Object(b.createElement)("div",{className:"kt-size-input-wrap"},Object(b.createElement)("div",{className:"kt-size-tite-device-wrap"},Object(b.createElement)("p",{className:"kt-inline-size-title"},Object(m.__)("Height")),Object(b.createElement)(Ds,{className:"kt-typography-size-type-options","aria-label":Object(m.__)("Device Size Control Switch")},k()(J,e=>{let{name:t,key:l,icon:a}=e;return Object(b.createElement)(Vs,{text:t},Object(b.createElement)(Ws,{key:l,className:"kt-size-btn",isSmall:!0,isPrimary:$===l,"aria-pressed":$===l,onClick:()=>Q(l)},a))}))),v&&Object(b.createElement)("div",{className:"kt-type-size-input-wrap"},"mobile"===$&&Object(b.createElement)("div",{className:"components-base-control kt-typography-number-input"},Object(b.createElement)("div",{className:"components-base-control__field"},Object(b.createElement)("input",{value:F||"",onChange:ae,min:pe,max:ge,step:ue,type:"number",className:"components-text-control__input"}))),"tablet"===$&&Object(b.createElement)("div",{className:"components-base-control kt-typography-number-input"},Object(b.createElement)("div",{className:"components-base-control__field"},Object(b.createElement)("input",{value:P||"",onChange:le,min:pe,max:ge,step:ue,type:"number",className:"components-text-control__input"}))),"desk"===$&&Object(b.createElement)("div",{className:"components-base-control kt-typography-number-input"},Object(b.createElement)("div",{className:"components-base-control__field"},Object(b.createElement)("input",{value:t||"",onChange:te,min:pe,max:ge,step:ue,type:"number",className:"components-text-control__input"}))),Object(b.createElement)(qs,{value:l,className:"kt-typography-size-type",options:[{value:"px",label:Object(m.__)("px")},{value:"em",label:Object(m.__)("em")},{value:"rem",label:Object(m.__)("rem")}],onChange:e=>z(e)})))))}))}};const{Component:Qs,Fragment:Js}=wp.element,{Button:Ys,IconButton:Xs,Tooltip:ed,Dashicon:td,Dropdown:ld,ToolbarGroup:ad,SVG:id,Path:od}=wp.components,{DOWN:nd}=wp.keycodes,rd=()=>Object(b.createElement)(id,{xmlns:"https://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(b.createElement)(od,{d:"M7.434 5l3.18 9.16H8.538l-.692-2.184H4.628l-.705 2.184H2L5.18 5h2.254zm-1.13 1.904h-.115l-1.148 3.593H7.44L6.304 6.904zM14.348 7.006c1.853 0 2.9.876 2.9 2.374v4.78h-1.79v-.914h-.114c-.362.64-1.123 1.022-2.031 1.022-1.346 0-2.292-.826-2.292-2.108 0-1.27.972-2.006 2.71-2.107l1.696-.102V9.38c0-.584-.42-.914-1.18-.914-.667 0-1.112.228-1.264.647h-1.701c.12-1.295 1.307-2.107 3.066-2.107zm1.079 4.1l-1.416.09c-.793.056-1.18.342-1.18.844 0 .52.45.837 1.091.837.857 0 1.505-.545 1.505-1.256v-.515z"}));var cd=Object(a.withSelect)((e,t)=>{const l=void 0===t.disableCustomColors?!Object(Ce.useSetting)("color.custom"):t.disableCustomColors;return{colors:Object(Ce.useSetting)("color.palette"),disableCustomColors:l}})(class extends Qs{constructor(){super(...arguments),this.onChangeState=this.onChangeState.bind(this),this.onChangeComplete=this.onChangeComplete.bind(this),this.state={alpha:!1!==this.props.alpha,isVisible:!1,colors:[],classSat:"first",currentColor:"",inherit:!1,currentOpacity:void 0!==this.props.opacityValue?this.props.opacityValue:1,isPalette:!(!this.props.value||!this.props.value.startsWith("palette"))}}render(){this.props.reload&&(this.props.reloaded(!0),this.setState({currentColor:"",currentOpacity:"",isPalette:!(!this.props.value||!this.props.value.startsWith("palette"))}));const e=100===this.props.opacityUnit?(e=>{let t=1;return e&&(t=e/100),t})(this.state.currentOpacity):this.state.currentOpacity,t=this.state.currentColor?this.state.currentColor:this.props.value;let l=this.state.isPalette&&this.props.colors&&this.props.colors[parseInt(t.slice(-1),10)-1]?this.props.colors[parseInt(t.slice(-1),10)-1].color:t;return l&&l.startsWith("var(")&&(l=window.getComputedStyle(document.documentElement).getPropertyValue(this.props.value.replace("var(","").replace(")",""))),""===l&&(l=this.props.default),this.props.onOpacityChange&&!this.state.isPalette&&1!==Number(void 0!==e&&""!==e?e:1)&&(l=Se(void 0===l?"":l,void 0!==e&&""!==e?e:1)),Object(b.createElement)(ld,{position:"top right",className:"kb-colors-selector components-dropdown-menu components-toolbar new-kadence-advanced-colors",contentClassName:"block-library-colors-selector__popover kt-popover-color kadence-pop-color-popover",renderToggle:e=>{let{isOpen:t,onToggle:a}=e;return Object(b.createElement)(Js,null,Object(b.createElement)(Ys,{className:"components-toolbar__control components-dropdown-menu__toggle kb-colors-selector__toggle",label:this.props.label,tooltip:this.props.label,icon:Object(b.createElement)("div",{className:"kb-colors-selector__icon-container"},Object(b.createElement)("div",{className:"kb-colors-selector__state-selection",style:{color:l}},Object(b.createElement)(rd,null))),onClick:a,"aria-expanded":t}))},renderContent:()=>Object(b.createElement)("div",{className:"inline-color-popup-inner-wrap block-editor-block-toolbar"},"first"===this.state.classSat&&!this.props.disableCustomColors&&Object(b.createElement)(Ee,{color:l,onChange:e=>this.onChangeState(e,""),onChangeComplete:e=>{this.onChangeComplete(e,""),this.props.onClassChange&&this.props.onClassChange("")}}),"first"!==this.state.classSat&&!this.props.disableCustomColors&&Object(b.createElement)(Ee,{color:l,onChange:e=>this.onChangeState(e,""),onChangeComplete:e=>{this.onChangeComplete(e,""),this.props.onClassChange&&this.props.onClassChange("")}}),this.props.colors&&Object(b.createElement)("div",{className:"kadence-pop-color-palette-swatches"},k()(this.props.colors,e=>{let{color:t,slug:l,name:a}=e;const i={color:t},o=l.replace("theme-",""),n=o===this.props.value||!l.startsWith("theme-palette")&&this.props.value===t;return Object(b.createElement)("div",{key:t,className:"kadence-color-palette__item-wrapper"},Object(b.createElement)(ed,{text:a||// translators: %s: color hex code e.g: "#f00".
|
33 |
-
Object(m.sprintf)(Object(m.__)("Color code: %s"),t)},Object(b.createElement)(
|
34 |
Object(m.sprintf)(Object(m.__)("Color: %s","kadence-blocks"),a):// translators: %s: color hex code e.g: "#f00".
|
35 |
-
Object(m.sprintf)(Object(m.__)("Color code: %s","kadence-blocks"),t),"aria-pressed":n})),o===this.props.value&&Object(b.createElement)(td,{icon:"admin-site"}),!l.startsWith("theme-palette")&&this.props.value===t&&Object(b.createElement)(td,{icon:"saved"}))})))})}unConvertOpacity(e){let t=100;return e&&(t=100*e),t}onChangeState(e,t){let l,a=100===this.props.opacityUnit?100:1;t?l=t:void 0!==e.rgb&&void 0!==e.rgb.a&&1!==e.rgb.a?this.props.onOpacityChange?(l="transparent"===e.hex?"#000000":e.hex,a=100===this.props.opacityUnit?this.unConvertOpacity(e.rgb.a):e.rgb.a):l="rgba("+e.rgb.r+","+e.rgb.g+","+e.rgb.b+","+e.rgb.a+")":l=void 0!==e.hex?e.hex:e,this.setState({currentColor:l,currentOpacity:a,isPalette:!!t})}onChangeComplete(e,t){let l,a=100===this.props.opacityUnit?100:1;t?l=t:void 0!==e.rgb&&void 0!==e.rgb.a&&1!==e.rgb.a?this.props.onOpacityChange?(l="transparent"===e.hex?"#000000":e.hex,a=100===this.props.opacityUnit?this.unConvertOpacity(e.rgb.a):e.rgb.a):l="rgba("+e.rgb.r+","+e.rgb.g+","+e.rgb.b+","+e.rgb.a+")":l=void 0!==e.hex?e.hex:e,this.setState({currentColor:l,currentOpacity:a,isPalette:!!t}),void 0!==this.props.onArrayChange?this.props.onArrayChange(l,a):(this.props.onChange(l),void 0!==this.props.onOpacityChange&&setTimeout(()=>{this.props.onOpacityChange(a)},50))}});const{Component:sd}=wp.element,{ToggleControl:dd}=wp.components;var bd=e=>{let{label:t,enable:l=!0,color:a,colorDefault:i,blur:o,hOffset:n,vOffset:r,onColorChange:c,onBlurChange:s,onHOffsetChange:d,onVOffsetChange:p,onEnableChange:g}=e;return Object(b.createElement)("div",{className:"kb-text-shadow-container components-base-control"},t&&Object(b.createElement)("div",{className:"kt-box-shadow-label"},Object(b.createElement)("h2",{className:"kt-beside-color-label"},t),g&&Object(b.createElement)(dd,{checked:l,onChange:e=>g(e)})),l&&Object(b.createElement)("div",{className:"kt-inner-sub-section"},Object(b.createElement)("div",{className:"kt-inner-sub-section-row"},Object(b.createElement)("div",{className:"kt-box-color-settings kt-box-shadow-subset"},Object(b.createElement)("p",{className:"kt-box-shadow-title"},Object(m.__)("Color","kadence-blocks")),Object(b.createElement)(De,{value:a||i,default:i,onChange:e=>c(e)})),Object(b.createElement)("div",{className:"kt-box-x-settings kt-box-shadow-subset"},Object(b.createElement)("p",{className:"kt-box-shadow-title"},"X"),Object(b.createElement)("div",{className:"components-base-control kt-boxshadow-number-input"},Object(b.createElement)("div",{className:"components-base-control__field"},Object(b.createElement)("input",{value:void 0!==n?n:"",onChange:e=>d(Number(e.target.value)),min:-200,max:200,step:1,type:"number",className:"components-text-control__input"})))),Object(b.createElement)("div",{className:"kt-box-y-settings kt-box-shadow-subset"},Object(b.createElement)("p",{className:"kt-box-shadow-title"},"Y"),Object(b.createElement)("div",{className:"components-base-control kt-boxshadow-number-input"},Object(b.createElement)("div",{className:"components-base-control__field"},Object(b.createElement)("input",{value:void 0!==r?r:"",onChange:e=>p(Number(e.target.value)),min:-200,max:200,step:1,type:"number",className:"components-text-control__input"})))),Object(b.createElement)("div",{className:"kt-box-blur-settings kt-box-shadow-subset"},Object(b.createElement)("p",{className:"kt-box-shadow-title"},"Blur"),Object(b.createElement)("div",{className:"components-base-control kt-boxshadow-number-input"},Object(b.createElement)("div",{className:"components-base-control__field"},Object(b.createElement)("input",{value:void 0!==o?o:"",onChange:e=>s(Number(e.target.value)),min:0,max:200,step:1,type:"number",className:"components-text-control__input"})))))))};const{Path:md,SVG:pd}=wp.components;function gd(e){let{level:t,isPressed:l=!1}=e;const a={1:"M9 5h2v10H9v-4H5v4H3V5h2v4h4V5zm6.6 0c-.6.9-1.5 1.7-2.6 2v1h2v7h2V5h-1.4z",2:"M7 5h2v10H7v-4H3v4H1V5h2v4h4V5zm8 8c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6V15h8v-2H15z",3:"M12.1 12.2c.4.3.8.5 1.2.7.4.2.9.3 1.4.3.5 0 1-.1 1.4-.3.3-.1.5-.5.5-.8 0-.2 0-.4-.1-.6-.1-.2-.3-.3-.5-.4-.3-.1-.7-.2-1-.3-.5-.1-1-.1-1.5-.1V9.1c.7.1 1.5-.1 2.2-.4.4-.2.6-.5.6-.9 0-.3-.1-.6-.4-.8-.3-.2-.7-.3-1.1-.3-.4 0-.8.1-1.1.3-.4.2-.7.4-1.1.6l-1.2-1.4c.5-.4 1.1-.7 1.6-.9.5-.2 1.2-.3 1.8-.3.5 0 1 .1 1.6.2.4.1.8.3 1.2.5.3.2.6.5.8.8.2.3.3.7.3 1.1 0 .5-.2.9-.5 1.3-.4.4-.9.7-1.5.9v.1c.6.1 1.2.4 1.6.8.4.4.7.9.7 1.5 0 .4-.1.8-.3 1.2-.2.4-.5.7-.9.9-.4.3-.9.4-1.3.5-.5.1-1 .2-1.6.2-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1l1.1-1.4zM7 9H3V5H1v10h2v-4h4v4h2V5H7v4z",4:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm10-2h-1v2h-2v-2h-5v-2l4-6h3v6h1v2zm-3-2V7l-2.8 4H16z",5:"M12.1 12.2c.4.3.7.5 1.1.7.4.2.9.3 1.3.3.5 0 1-.1 1.4-.4.4-.3.6-.7.6-1.1 0-.4-.2-.9-.6-1.1-.4-.3-.9-.4-1.4-.4H14c-.1 0-.3 0-.4.1l-.4.1-.5.2-1-.6.3-5h6.4v1.9h-4.3L14 8.8c.2-.1.5-.1.7-.2.2 0 .5-.1.7-.1.5 0 .9.1 1.4.2.4.1.8.3 1.1.6.3.2.6.6.8.9.2.4.3.9.3 1.4 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.1-.4.3-.8.5-1.3.7-.5.2-1 .3-1.5.3-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1-.1-.1 1-1.5 1-1.5zM9 15H7v-4H3v4H1V5h2v4h4V5h2v10z",6:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm8.6-7.5c-.2-.2-.5-.4-.8-.5-.6-.2-1.3-.2-1.9 0-.3.1-.6.3-.8.5l-.6.9c-.2.5-.2.9-.2 1.4.4-.3.8-.6 1.2-.8.4-.2.8-.3 1.3-.3.4 0 .8 0 1.2.2.4.1.7.3 1 .6.3.3.5.6.7.9.2.4.3.8.3 1.3s-.1.9-.3 1.4c-.2.4-.5.7-.8 1-.4.3-.8.5-1.2.6-1 .3-2 .3-3 0-.5-.2-1-.5-1.4-.9-.4-.4-.8-.9-1-1.5-.2-.6-.3-1.3-.3-2.1s.1-1.6.4-2.3c.2-.6.6-1.2 1-1.6.4-.4.9-.7 1.4-.9.6-.3 1.1-.4 1.7-.4.7 0 1.4.1 2 .3.5.2 1 .5 1.4.8 0 .1-1.3 1.4-1.3 1.4zm-2.4 5.8c.2 0 .4 0 .6-.1.2 0 .4-.1.5-.2.1-.1.3-.3.4-.5.1-.2.1-.5.1-.7 0-.4-.1-.8-.4-1.1-.3-.2-.7-.3-1.1-.3-.3 0-.7.1-1 .2-.4.2-.7.4-1 .7 0 .3.1.7.3 1 .1.2.3.4.4.6.2.1.3.3.5.3.2.1.5.2.7.1z",p:"M18.3 4H9.9v-.1l-.9.2c-2.3.4-4 2.4-4 4.8s1.7 4.4 4 4.8l.7.1V20h1.5V5.5h2.9V20h1.5V5.5h2.7V4z",span:"M.067 10.841l1.461-.092c.032.237.096.418.193.542.158.202.384.302.678.302.219 0 .388-.051.507-.154a.465.465 0 00.178-.358.454.454 0 00-.17-.345c-.113-.102-.375-.198-.786-.289-.674-.151-1.154-.352-1.441-.603a1.214 1.214 0 01-.434-.959c0-.255.074-.497.222-.724.148-.227.371-.405.668-.535.297-.13.705-.195 1.222-.195.635 0 1.119.118 1.453.354.333.236.531.612.594 1.127l-1.447.085c-.038-.224-.119-.387-.242-.488-.123-.102-.293-.153-.51-.153-.179 0-.313.038-.404.114a.346.346 0 00-.135.276c0 .079.037.15.112.213.072.066.244.127.515.183.671.145 1.152.291 1.442.439.29.148.502.332.634.551a1.4 1.4 0 01.198.736c0 .318-.088.612-.264.881a1.66 1.66 0 01-.739.612c-.317.139-.715.208-1.197.208-.845 0-1.43-.162-1.755-.488-.326-.325-.51-.739-.553-1.24zm5.274-3.326h2.552c.556 0 .973.133 1.249.397.277.264.416.641.416 1.129 0 .501-.151.893-.453 1.176-.301.282-.762.424-1.381.424h-.841v1.844H5.341v-4.97zm9.84 0h1.434l1.871 2.749V7.515h1.447v4.97h-1.447l-1.861-2.729v2.729h-1.444v-4.97zm-2.352 4.149H11.08l-.241.821H9.27l1.867-4.97h1.675l1.867 4.97h-1.606l-.244-.821zm-.322-1.074l-.55-1.786-.545 1.786h1.095zm-5.624-.956h.377c.296 0 .503-.051.623-.154a.498.498 0 00.18-.395.553.553 0 00-.156-.397c-.104-.108-.299-.162-.586-.162h-.438v1.108z",div:"M.035 6.184h3.504c.691 0 1.249.094 1.674.281.425.187.776.456 1.054.807.278.35.479.758.604 1.223.125.465.187.958.187 1.479 0 .816-.092 1.448-.278 1.898a3.136 3.136 0 01-.773 1.129c-.33.304-.684.506-1.062.607a5.464 5.464 0 01-1.406.208H.035V6.184zm8.356 0h2.364v7.632H8.391V6.184zm3.301 0h2.468l1.718 5.492 1.692-5.492h2.395l-2.832 7.632h-2.557l-2.884-7.632zM2.394 7.912v4.17h.578c.492 0 .843-.054 1.051-.164.208-.109.372-.3.49-.572.118-.273.177-.714.177-1.325 0-.809-.132-1.362-.396-1.661-.264-.298-.701-.448-1.312-.448h-.588z"};return a.hasOwnProperty(t)?Object(b.createElement)(pd,{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",isPressed:l},Object(b.createElement)(md,{d:a[t]})):null}const{Component:ud,Fragment:hd}=wp.element,{DropdownMenu:vd,MenuGroup:kd,MenuItem:yd,Toolbar:fd,ToggleControl:Od,SelectControl:jd}=wp.components,{localStorage:_d}=window,wd={className:"block-editor-block-settings-menu__popover",position:"bottom right"};var xd=class extends ud{constructor(){super(...arguments),this.state={iconOptions:[],iconOptionsNames:[]}}componentDidMount(){}render(){const{onPaste:e,blockAttributes:t}=this.props,l=Object(b.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2",clipRule:"evenodd",viewBox:"0 0 32 32",width:"20px",height:"20px"},Object(b.createElement)("path",{fillRule:"nonzero",d:"M26 8h-6V6l-6-6H0v24h12v8h20V14l-6-6zm0 2.828L29.172 14H26v-3.172zm-12-8L17.172 6H14V2.828zM2 2h10v6h6v14H2V2zm28 28H14v-6h6V10h4v6h6v14z"})),a=JSON.parse(_d.getItem("kadenceHeadingStyle")),i=()=>{const e={};t.level&&(e.level=t.level),t.align&&(e.align=t.align),t.color&&(e.color=t.color),t.size&&(e.size=t.size),t.sizeType&&(e.sizeType=t.sizeType),t.lineHeight&&(e.lineHeight=t.lineHeight),t.lineType&&(e.lineType=t.lineType),t.tabSize&&(e.tabSize=t.tabSize),t.tabLineHeight&&(e.tabLineHeight=t.tabLineHeight),t.mobileSize&&(e.mobileSize=t.mobileSize),t.mobileLineHeight&&(e.mobileLineHeight=t.mobileLineHeight),t.letterSpacing&&(e.letterSpacing=t.letterSpacing),t.typography&&(e.typography=t.typography),t.googleFont&&(e.googleFont=t.googleFont),t.loadGoogleFont&&(e.loadGoogleFont=t.loadGoogleFont),t.fontSubset&&(e.fontSubset=t.fontSubset),t.fontVariant&&(e.fontVariant=t.fontVariant),t.fontWeight&&(e.fontWeight=t.fontWeight),t.fontStyle&&(e.fontStyle=t.fontStyle),void 0!==t.topMargin&&""!==t.topMargin&&(e.topMargin=t.topMargin),void 0!==t.bottomMargin&&""!==t.bottomMargin&&(e.bottomMargin=t.bottomMargin),void 0!==t.leftMargin&&""!==t.leftMargin&&(e.leftMargin=t.leftMargin),void 0!==t.rightMargin&&""!==t.rightMargin&&(e.rightMargin=t.rightMargin),t.tabletMargin&&(e.tabletMargin=t.tabletMargin),t.mobileMargin&&(e.mobileMargin=t.mobileMargin),t.tabletMarginType&&(e.tabletMarginType=t.tabletMarginType),t.mobileMarginType&&(e.mobileMarginType=t.mobileMarginType),t.marginType&&(e.marginType=t.marginType),t.paddingType&&(e.paddingType=t.paddingType),t.padding&&(e.padding=t.padding),t.tabletPadding&&(e.tabletPadding=t.tabletPadding),t.mobilePadding&&(e.mobilePadding=t.mobilePadding),t.markSize&&(e.markSize=t.markSize),t.markSizeType&&(e.markSizeType=t.markSizeType),t.markLineHeight&&(e.markLineHeight=t.markLineHeight),t.markLineType&&(e.markLineType=t.markLineType),t.marginType&&(e.marginType=t.marginType),t.markLetterSpacing&&(e.markLetterSpacing=t.markLetterSpacing),t.markTypography&&(e.markTypography=t.markTypography),t.markGoogleFont&&(e.markGoogleFont=t.markGoogleFont),t.markLoadGoogleFont&&(e.markLoadGoogleFont=t.markLoadGoogleFont),t.markFontSubset&&(e.markFontSubset=t.markFontSubset),t.markFontVariant&&(e.markFontVariant=t.markFontVariant),t.markFontWeight&&(e.markFontWeight=t.markFontWeight),t.markFontStyle&&(e.markFontStyle=t.markFontStyle),t.markColor&&(e.markColor=t.markColor),t.markBG&&(e.markBG=t.markBG),t.markBGOpacity&&(e.markBGOpacity=t.markBGOpacity),t.markPadding&&(e.markPadding=t.markPadding),t.markPaddingControl&&(e.markPaddingControl=t.markPaddingControl),t.markBorder&&(e.markBorder=t.markBorder),t.markBorderOpacity&&(e.markBorderOpacity=t.markBorderOpacity),t.markBorderWidth&&(e.markBorderWidth=t.markBorderWidth),t.markBorderStyle&&(e.markBorderStyle=t.markBorderStyle),t.textTransform&&(e.textTransform=t.textTransform),t.markTextTransform&&(e.markTextTransform=t.markTextTransform),t.anchor&&(e.anchor=t.anchor),t.colorClass&&(e.colorClass=t.colorClass),t.tabletAlign&&(e.tabletAlign=t.tabletAlign),t.mobileAlign&&(e.mobileAlign=t.mobileAlign),t.textShadow&&(e.textShadow=t.textShadow),t.background&&(e.background=t.background),t.backgroundColorClass&&(e.backgroundColorClass=t.backgroundColorClass),_d.setItem("kadenceHeadingStyle",JSON.stringify(e))},o=()=>{const t=JSON.parse(_d.getItem("kadenceHeadingStyle"));t&&e(t)};return Object(b.createElement)(fd,null,Object(b.createElement)(vd,{className:"block-editor-block-settings-menu",icon:l,label:Object(m.__)("Copy/Paste Styles","kadence-blocks"),popoverProps:wd},e=>{let{onClose:t}=e;return Object(b.createElement)(hd,null,Object(b.createElement)(kd,null,Object(b.createElement)(yd,{icon:"clipboard",onClick:uo()(t,i),label:Object(m.__)("Copy Styles","kadence-blocks")},Object(m.__)("Copy Styles","kadence-blocks")),Object(b.createElement)(yd,{icon:"editor-paste-text",onClick:uo()(t,o),disabled:!a,label:Object(m.__)("Paste Styles","kadence-blocks")},Object(m.__)("Paste Styles","kadence-blocks"))))}))}};const{Fragment:Ed}=wp.element,{toggleFormat:Sd,registerFormatType:Cd}=wp.richText,{RichTextToolbarButton:Td,RichTextShortcut:Nd}=wp.blockEditor,zd=Object(b.createElement)("svg",{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},Object(b.createElement)("path",{d:"M4.331,15.598l2.193,1.693c0,0 -0.813,1.215 -0.992,1.215c-1.129,0.003 -1.424,0.008 -2.603,-0.001c-0.741,-0.006 -0.04,-0.955 0.187,-1.269c0.502,-0.694 1.215,-1.638 1.215,-1.638Zm7.632,-14.107c0.364,-0.061 5.412,3.896 5.439,4.272c0.031,0.438 -4.887,8.469 -5.635,9.648c-0.251,0.397 -1.185,0.206 -2.064,0.472c-0.801,0.243 -1.89,1.336 -2.193,1.105c-1.047,-0.796 -2.217,-1.646 -3.117,-2.49c-0.367,-0.343 0.388,-1.241 0.405,-2.188c0.015,-0.811 -0.644,-2.029 -0.196,-2.575c0.836,-1.019 6.931,-8.172 7.361,-8.244Zm0.144,1.454l3.95,3.105l-4.972,8.1l-5.197,-4.053l6.219,-7.152Z"}));Cd("kadence/mark",{title:Object(m.__)("Highlight"),tagName:"mark",className:"kt-highlight",edit(e){let{isActive:t,value:l,onChange:a}=e;const i=()=>a(Sd(l,{type:"kadence/mark"}));return Object(b.createElement)(Ed,null,Object(b.createElement)(Nd,{type:"primary",character:"m",onUse:i}),Object(b.createElement)(Td,{icon:zd,title:Object(m.__)("Highlight"),onClick:i,isActive:t,shortcutType:"access",shortcutCharacter:"m",className:"toolbar-button-with-text toolbar-button__kadence/mark"}))}});const{createBlock:Md}=wp.blocks,{Component:Id,Fragment:Hd}=wp.element,{ToolbarGroup:Bd,Spinner:Pd,SelectControl:Rd,TextControl:Ad}=wp.components,{applyFilters:Ld}=wp.hooks,Fd=/[\s#]/g;var Wd=Object(w.compose)([Object(a.withSelect)(e=>({getPreviewDevice:e("kadenceblocks/data").getPreviewDeviceType(),isUniqueID:t=>e("kadenceblocks/data").isUniqueID(t),isUniqueBlock:(t,l)=>e("kadenceblocks/data").isUniqueBlock(t,l)})),Object(a.withDispatch)(e=>({addUniqueID:(t,l)=>e("kadenceblocks/data").addUniqueID(t,l)}))])(class extends Id{constructor(){super(...arguments),this.showSettings=this.showSettings.bind(this),this.saveShadow=this.saveShadow.bind(this),this.getPreviewSize=this.getPreviewSize.bind(this),this.state={isVisible:!1,user:kadence_blocks_params.userrole?kadence_blocks_params.userrole:"admin",settings:{},marginControl:"individual",paddingControl:"individual",markPaddingControls:"individual"}}componentDidMount(){let e="_"+this.props.clientId.substr(2,9);if(this.props.attributes.uniqueID)this.props.isUniqueID(this.props.attributes.uniqueID)?this.props.addUniqueID(this.props.attributes.uniqueID):this.props.isUniqueBlock(this.props.attributes.uniqueID,this.props.clientId)||(this.props.attributes.uniqueID=e,this.props.addUniqueID(e,this.props.clientId));else{const t=kadence_blocks_params.configuration?JSON.parse(kadence_blocks_params.configuration):[];void 0!==t["kadence/advancedheading"]&&"object"==typeof t["kadence/advancedheading"]&&Object.keys(t["kadence/advancedheading"]).map(e=>{this.props.attributes[e]=t["kadence/advancedheading"][e]}),this.props.setAttributes({uniqueID:e}),this.props.addUniqueID(e,this.props.clientId)}const t=kadence_blocks_params.settings?JSON.parse(kadence_blocks_params.settings):{};void 0!==t["kadence/advancedheading"]&&"object"==typeof t["kadence/advancedheading"]&&this.setState({settings:t["kadence/advancedheading"]}),this.props.context&&this.props.context.queryId&&this.props.context.postId?this.props.attributes.inQueryBlock||this.props.setAttributes({inQueryBlock:!0}):this.props.attributes.inQueryBlock&&this.props.setAttributes({inQueryBlock:!1})}saveShadow(e){const{attributes:t,setAttributes:l}=this.props,{textShadow:a}=t;l({textShadow:a.map((t,l)=>(0===l&&(t={...t,...e}),t))})}showSettings(e){return void 0===this.state.settings[e]||"all"===this.state.settings[e]||"contributor"===this.state.settings[e]&&("contributor"===this.state.user||"author"===this.state.user||"editor"===this.state.user||"admin"===this.state.user)||"author"===this.state.settings[e]&&("author"===this.state.user||"editor"===this.state.user||"admin"===this.state.user)||"editor"===this.state.settings[e]&&("editor"===this.state.user||"admin"===this.state.user)||"admin"===this.state.settings[e]&&"admin"===this.state.user}getPreviewSize(e,t,l,a){if("Mobile"===e){if(void 0!==a&&""!==a&&null!==a)return a;if(void 0!==l&&""!==l&&null!==l)return l}else if("Tablet"===e&&void 0!==l&&""!==l&&null!==l)return l;return t}render(){const{attributes:e,className:t,setAttributes:l,mergeBlocks:a,onReplace:i,clientId:o}=this.props,{uniqueID:n,align:r,level:c,content:s,color:d,colorClass:p,textShadow:g,mobileAlign:u,tabletAlign:h,size:v,sizeType:k,lineType:y,lineHeight:f,tabLineHeight:O,tabSize:j,mobileSize:_,mobileLineHeight:w,letterSpacing:x,typography:S,fontVariant:C,fontWeight:T,fontStyle:N,fontSubset:z,googleFont:M,loadGoogleFont:I,marginType:H,topMargin:B,bottomMargin:P,markSize:R,markSizeType:A,markLineHeight:L,markLineType:F,markLetterSpacing:W,markTypography:D,markGoogleFont:$,markLoadGoogleFont:U,markFontSubset:V,markFontVariant:G,markFontWeight:q,markFontStyle:K,markPadding:Q,markPaddingControl:J,markColor:Y,markBG:X,markBGOpacity:ee,markBorder:te,markBorderWidth:le,markBorderOpacity:ae,markBorderStyle:ie,anchor:ne,textTransform:re,markTextTransform:ce,kadenceAnimation:se,kadenceAOSOptions:de,htmlTag:be,leftMargin:me,rightMargin:pe,tabletMargin:ge,mobileMargin:ue,padding:he,tabletPadding:ve,mobilePadding:ke,paddingType:ye,markMobilePadding:fe,markTabPadding:Oe,loadItalic:je,kadenceDynamic:_e,link:we,linkTarget:xe,linkNoFollow:Ee,linkSponsored:Se,background:Te,backgroundColorClass:Ne,linkStyle:ze,linkColor:Me,linkHoverColor:Ie}=e,He=S&&!S.includes(",")?"'"+S+"'":S,Be=X?pa(X,ee):"",Pe=te?pa(te,ae):"",Re={google:{families:[S+(C?":"+C:"")]}},Ae={google:{families:[D+(G?":"+G:"")]}},Le=Object(Ce.getColorClassName)("color",p),Fe=Object(Ce.getColorClassName)("background-color",Ne),We=M?Re:"",$e=$?Ae:"",Ue=be&&"heading"!==be?be:"h"+c,Ve=Ue,Ze="px"!==k?.2:5,Ge="em"===H||"rem"===H?-2:-200,qe="em"===H||"rem"===H?12:200,Qe="em"===H||"rem"===H?.1:1,Je="em"===ye||"rem"===ye?12:200,Ye="em"===ye||"rem"===ye?.1:1,Xe="px"!==k?12:200,et="px"!==k?.1:1,tt="px"!==y?.2:5,lt="px"!==y?12:200,at="px"!==y?.1:1,it=this.getPreviewSize(this.props.getPreviewDevice,void 0!==B?B:"",void 0!==ge?ge[0]:"",void 0!==ue?ue[0]:""),ot=this.getPreviewSize(this.props.getPreviewDevice,void 0!==pe?pe:"",void 0!==ge?ge[1]:"",void 0!==ue?ue[1]:""),nt=this.getPreviewSize(this.props.getPreviewDevice,void 0!==P?P:"",void 0!==ge?ge[2]:"",void 0!==ue?ue[2]:""),rt=this.getPreviewSize(this.props.getPreviewDevice,void 0!==me?me:"",void 0!==ge?ge[3]:"",void 0!==ue?ue[3]:""),ct=this.getPreviewSize(this.props.getPreviewDevice,void 0!==he?he[0]:"",void 0!==ve?ve[0]:"",void 0!==ke?ke[0]:""),st=this.getPreviewSize(this.props.getPreviewDevice,void 0!==he?he[1]:"",void 0!==ve?ve[1]:"",void 0!==ke?ke[1]:""),dt=this.getPreviewSize(this.props.getPreviewDevice,void 0!==he?he[2]:"",void 0!==ve?ve[2]:"",void 0!==ke?ke[2]:""),bt=this.getPreviewSize(this.props.getPreviewDevice,void 0!==he?he[3]:"",void 0!==ve?ve[3]:"",void 0!==ke?ke[3]:""),mt=this.getPreviewSize(this.props.getPreviewDevice,void 0!==v?v:"",void 0!==j?j:"",void 0!==_?_:""),pt=this.getPreviewSize(this.props.getPreviewDevice,void 0!==f?f:"",void 0!==O?O:"",void 0!==w?w:""),gt=this.getPreviewSize(this.props.getPreviewDevice,void 0!==r?r:"",void 0!==h?h:"",void 0!==u?u:""),ut=this.getPreviewSize(this.props.getPreviewDevice,void 0!==Q?Q[0]:0,void 0!==Oe?Oe[0]:"",void 0!==fe?fe[0]:""),ht=this.getPreviewSize(this.props.getPreviewDevice,void 0!==Q?Q[1]:0,void 0!==Oe?Oe[1]:"",void 0!==fe?fe[1]:""),vt=this.getPreviewSize(this.props.getPreviewDevice,void 0!==Q?Q[2]:0,void 0!==Oe?Oe[2]:"",void 0!==fe?fe[2]:""),kt=this.getPreviewSize(this.props.getPreviewDevice,void 0!==Q?Q[3]:0,void 0!==Oe?Oe[3]:"",void 0!==fe?fe[3]:""),yt=this.getPreviewSize(this.props.getPreviewDevice,void 0!==R?R[0]:"",void 0!==R?R[1]:"",void 0!==R?R[2]:""),ft=this.getPreviewSize(this.props.getPreviewDevice,void 0!==L?L[0]:"",void 0!==L?L[1]:"",void 0!==L?L[2]:""),jt=[[{icon:Object(b.createElement)(gd,{level:1,isPressed:!(1!==c||!be||"heading"!==be)}),title:Object(m.__)("Heading 1","kadence-blocks"),isActive:!(1!==c||!be||"heading"!==be),onClick:()=>l({level:1,htmlTag:"heading"})}],[{icon:Object(b.createElement)(gd,{level:2,isPressed:!(2!==c||!be||"heading"!==be)}),title:Object(m.__)("Heading 2","kadence-blocks"),isActive:!(2!==c||!be||"heading"!==be),onClick:()=>l({level:2,htmlTag:"heading"})}],[{icon:Object(b.createElement)(gd,{level:3,isPressed:!(3!==c||!be||"heading"!==be)}),title:Object(m.__)("Heading 3","kadence-blocks"),isActive:!(3!==c||!be||"heading"!==be),onClick:()=>l({level:3,htmlTag:"heading"})}],[{icon:Object(b.createElement)(gd,{level:4,isPressed:!(4!==c||!be||"heading"!==be)}),title:Object(m.__)("Heading 4","kadence-blocks"),isActive:!(4!==c||!be||"heading"!==be),onClick:()=>l({level:4,htmlTag:"heading"})}],[{icon:Object(b.createElement)(gd,{level:5,isPressed:!(5!==c||!be||"heading"!==be)}),title:Object(m.__)("Heading 5","kadence-blocks"),isActive:!(5!==c||!be||"heading"!==be),onClick:()=>l({level:5,htmlTag:"heading"})}],[{icon:Object(b.createElement)(gd,{level:6,isPressed:!(6!==c||!be||"heading"!==be)}),title:Object(m.__)("Heading 6","kadence-blocks"),isActive:!(6!==c||!be||"heading"!==be),onClick:()=>l({level:6,htmlTag:"heading"})}],[{icon:Object(b.createElement)(gd,{level:"p",isPressed:!(!be||"p"!==be)}),title:Object(m.__)("Paragraph","kadence-blocks"),isActive:!(!be||"p"!==be),onClick:()=>l({htmlTag:"p"})}],[{icon:Object(b.createElement)(gd,{level:"span",isPressed:!(!be||"span"!==be)}),title:Object(m.__)("Span","kadence-blocks"),isActive:!(!be||"span"!==be),onClick:()=>l({htmlTag:"span"})}],[{icon:Object(b.createElement)(gd,{level:"div",isPressed:!(!be||"div"!==be)}),title:Object(m.__)("div","kadence-blocks"),isActive:!(!be||"div"!==be),onClick:()=>l({htmlTag:"div"})}]],_t=xt()({["kt-adv-heading"+n]:n,[t]:t,"kb-content-is-dynamic":void 0!==_e&&void 0!==_e.content&&void 0!==_e.content.enable&&_e.content.enable,[Le]:Le,"has-text-color":Le,[Fe]:Fe,"has-background":Fe,["hls-"+ze]:!we&&ze}),wt=Object(b.createElement)(Ve,{style:{textAlign:gt,color:d?pa(d):void 0,backgroundColor:Te?pa(Te):void 0,fontWeight:T,fontStyle:N,fontSize:mt?mt+k:void 0,lineHeight:pt?pt+y:void 0,letterSpacing:void 0!==x&&""!==x?x+"px":void 0,textTransform:re||void 0,fontFamily:S?He:"",paddingTop:""!==ct?ct+ye:void 0,paddingRight:""!==st?st+ye:void 0,paddingBottom:""!==dt?dt+ye:void 0,paddingLeft:""!==bt?bt+ye:void 0,marginTop:""!==it?it+H:void 0,marginRight:""!==ot?ot+H:void 0,marginBottom:""!==nt?nt+H:void 0,marginLeft:""!==rt?rt+H:void 0,textShadow:void 0!==g&&void 0!==g[0]&&void 0!==g[0].enable&&g[0].enable?(void 0!==g[0].hOffset?g[0].hOffset:1)+"px "+(void 0!==g[0].vOffset?g[0].vOffset:1)+"px "+(void 0!==g[0].blur?g[0].blur:1)+"px "+(void 0!==g[0].color?pa(g[0].color):"rgba(0,0,0,0.2)"):void 0},className:_t},Ld("kadence.dynamicContent",Object(b.createElement)(Pd,null),e,"content")),Et=Object(b.createElement)(Ce.RichText,{tagName:Ue,allowedFormats:we?Ld("kadence.whitelist_richtext_formats",["core/bold","core/italic","kadence/insert-dynamic","kadence/mark","core/strikethrough","core/superscript","core/superscript","toolset/inline-field"],"kadence/advancedheading"):void 0,value:s,onChange:e=>l({content:e}),onMerge:a,onSplit:t=>t?Md("kadence/advancedheading",{...e,content:t}):Md("core/paragraph"),onReplace:i,onRemove:()=>i([]),style:{textAlign:gt,color:d?pa(d):void 0,backgroundColor:Te?pa(Te):void 0,fontWeight:T,fontStyle:N,fontSize:mt?mt+k:void 0,lineHeight:pt?pt+y:void 0,letterSpacing:void 0!==x&&""!==x?x+"px":void 0,textTransform:re||void 0,fontFamily:S?He:"",paddingTop:""!==ct?ct+ye:void 0,paddingRight:""!==st?st+ye:void 0,paddingBottom:""!==dt?dt+ye:void 0,paddingLeft:""!==bt?bt+ye:void 0,marginTop:""!==it?it+H:void 0,marginRight:""!==ot?ot+H:void 0,marginBottom:""!==nt?nt+H:void 0,marginLeft:""!==rt?rt+H:void 0,textShadow:void 0!==g&&void 0!==g[0]&&void 0!==g[0].enable&&g[0].enable?(void 0!==g[0].hOffset?g[0].hOffset:1)+"px "+(void 0!==g[0].vOffset?g[0].vOffset:1)+"px "+(void 0!==g[0].blur?g[0].blur:1)+"px "+(void 0!==g[0].color?pa(g[0].color):"rgba(0,0,0,0.2)"):void 0},className:_t,placeholder:Object(m.__)("Write something…","kadence-blocks")}),St=Object(b.createElement)("a",{href:we,className:"kb-advanced-heading-link"+(ze?" hls-"+ze:""),onClick:e=>{e.preventDefault()}},void 0!==_e&&void 0!==_e.content&&void 0!==_e.content.enable&&_e.content.enable?wt:Et);return Object(b.createElement)(Hd,null,Object(b.createElement)("style",null,`.kt-adv-heading${n} mark, .kt-adv-heading${n}.rich-text:focus mark[data-rich-text-format-boundary] {\n\t\t\t\t\t\tcolor: ${pa(Y)};\n\t\t\t\t\t\tbackground: ${X?Be:"transparent"};\n\t\t\t\t\t\tfont-weight: ${q||"inherit"};\n\t\t\t\t\t\tfont-style: ${K||"inherit"};\n\t\t\t\t\t\tfont-size: ${yt?yt+A:"inherit"};\n\t\t\t\t\t\tline-height: ${ft?ft+F:"inherit"};\n\t\t\t\t\t\tletter-spacing: ${W?W+"px":"inherit"};\n\t\t\t\t\t\ttext-transform: ${ce||"inherit"};\n\t\t\t\t\t\tfont-family: ${D||"inherit"};\n\t\t\t\t\t\tborder-color: ${te?Pe:"transparent"};\n\t\t\t\t\t\tborder-width: ${le?le+"px":"0"};\n\t\t\t\t\t\tborder-style: ${ie||"solid"};\n\t\t\t\t\t\tpadding-top: ${ut?ut+"px ":"0"};\n\t\t\t\t\t\tpadding-right: ${ht?ht+"px ":"0"};\n\t\t\t\t\t\tpadding-bottom: ${vt?vt+"px ":"0"};\n\t\t\t\t\t\tpadding-left: ${kt?kt+"px ":"0"};\n\t\t\t\t\t}`,Me&&`.kt-adv-heading${n} a, #block-${o} a.kb-advanced-heading-link, #block-${o} a.kb-advanced-heading-link > .wp-block-kadence-advancedheading {\n\t\t\t\t\t\t\tcolor: ${pa(Me)} !important;\n\t\t\t\t\t\t}`,Ie&&`.kt-adv-heading${n} a:hover, #block-${o} a.kb-advanced-heading-link:hover, #block-${o} a.kb-advanced-heading-link:hover > .wp-block-kadence-advancedheading {\n\t\t\t\t\t\t\tcolor: ${pa(Ie)}!important;\n\t\t\t\t\t\t}`),Object(b.createElement)(Ce.BlockControls,null,Object(b.createElement)(Bd,{isCollapsed:!0,icon:Object(b.createElement)(gd,{level:"heading"!==be?be:c}),label:Object(m.__)("Change heading tag","kadence-blocks"),controls:jt}),this.showSettings("allSettings")&&this.showSettings("toolbarTypography")&&Object(b.createElement)(Ks,{uniqueID:n,fontGroup:"heading",letterSpacing:x,onLetterSpacing:e=>l({letterSpacing:e}),fontFamily:S,onFontFamily:e=>l({typography:e}),onFontChange:e=>{l({typography:e.value,googleFont:e.google})},googleFont:M,onGoogleFont:e=>l({googleFont:e}),loadGoogleFont:I,onLoadGoogleFont:e=>l({loadGoogleFont:e}),fontVariant:C,onFontVariant:e=>l({fontVariant:e}),fontWeight:T,onFontWeight:e=>l({fontWeight:e}),fontStyle:N,onFontStyle:e=>l({fontStyle:e}),fontSubset:z,onFontSubset:e=>l({fontSubset:e}),textTransform:re,onTextTransform:e=>l({textTransform:e}),fontSizeArray:!1,fontSize:v,onFontSize:e=>l({size:e}),fontSizeType:k,onFontSizeType:e=>l({sizeType:e}),lineHeight:f,onLineHeight:e=>l({lineHeight:e}),lineHeightType:y,onLineHeightType:e=>l({lineType:e}),tabSize:j,onTabSize:e=>l({tabSize:e}),tabLineHeight:O,onTabLineHeight:e=>l({tabLineHeight:e}),mobileSize:_,onMobileSize:e=>l({mobileSize:e}),mobileLineHeight:w,onMobileLineHeight:e=>l({mobileLineHeight:e})}),this.showSettings("allSettings")&&this.showSettings("toolbarColor")&&Object(b.createElement)(cd,{label:Object(m.__)("Color","kadence-blocks"),value:d||"",default:"",onChange:e=>l({color:e}),onClassChange:e=>l({colorClass:e})}),Object(b.createElement)(Ce.AlignmentToolbar,{value:r,onChange:e=>{l({align:e})}}),Object(b.createElement)(xd,{onPaste:e=>l(e),blockAttributes:this.props.attributes})),this.showSettings("allSettings")&&Object(b.createElement)(Ce.InspectorControls,null,Object(b.createElement)(Pt,{title:Object(m.__)("Settings","kadence-blocks"),panelName:"kb-adv-heading-settings"},Object(b.createElement)("div",{className:"kb-tag-level-control components-base-control"},Object(b.createElement)("p",{className:"kb-component-label"},Object(m.__)("HTML Tag","kadence-blocks")),Object(b.createElement)(Bd,{isCollapsed:!1,label:Object(m.__)("Change HTML Tag","kadence-blocks"),controls:jt})),Object(b.createElement)(_i,{label:Object(m.__)("Text Alignment","kadence-blocks"),value:r||"",mobileValue:u||"",tabletValue:h||"",onChange:e=>l({align:e}),onChangeTablet:e=>l({tabletAlign:e}),onChangeMobile:e=>l({mobileAlign:e})}),this.showSettings("colorSettings")&&Object(b.createElement)(Hd,null,Object(b.createElement)(De,{label:Object(m.__)("Color","kadence-blocks"),value:d||"",default:"",onChange:e=>l({color:e}),onClassChange:e=>l({colorClass:e})}),Object(b.createElement)(De,{label:Object(m.__)("Background Color","kadence-blocks"),value:Te||"",default:"",onChange:e=>l({background:e}),onClassChange:e=>l({backgroundColorClass:e})})),this.showSettings("sizeSettings")&&Object(b.createElement)(Hd,null,Object(b.createElement)(Z,{label:Object(m.__)("Font Size","kadence-blocks"),value:v||"",onChange:e=>l({size:e}),tabletValue:j||"",onChangeTablet:e=>l({tabSize:e}),mobileValue:_||"",onChangeMobile:e=>l({mobileSize:e}),min:Ze,max:Xe,step:et,unit:k,onUnit:e=>l({sizeType:e}),units:["px","em","rem","vw"]}),Object(b.createElement)(Z,{label:Object(m.__)("Line Height","kadence-blocks"),value:f||"",onChange:e=>l({lineHeight:e}),tabletValue:O||"",onChangeTablet:e=>l({tabLineHeight:e}),mobileValue:w||"",onChangeMobile:e=>l({mobileLineHeight:e}),min:tt,max:lt,step:at,unit:y,onUnit:e=>l({lineType:e}),units:["px","em","rem"]}))),this.showSettings("advancedSettings")&&Object(b.createElement)(Pt,{title:Object(m.__)("Advanced Typography Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-adv-heading-typography-settings"},Object(b.createElement)(oe,{fontGroup:"heading",letterSpacing:x,onLetterSpacing:e=>l({letterSpacing:e}),fontFamily:S,onFontFamily:e=>l({typography:e}),onFontChange:e=>{l({typography:e.value,googleFont:e.google})},googleFont:M,onGoogleFont:e=>l({googleFont:e}),loadGoogleFont:I,onLoadGoogleFont:e=>l({loadGoogleFont:e}),fontVariant:C,onFontVariant:e=>l({fontVariant:e}),fontWeight:T,onFontWeight:e=>l({fontWeight:e}),fontStyle:N,onFontStyle:e=>l({fontStyle:e}),fontSubset:z,onFontSubset:e=>l({fontSubset:e}),textTransform:re,onTextTransform:e=>l({textTransform:e}),loadItalic:je,onLoadItalic:e=>l({loadItalic:e})})),this.showSettings("highlightSettings","kadence-blocks")&&Object(b.createElement)(Pt,{title:Object(m.__)("Highlight Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-adv-heading-highlight-settings"},Object(b.createElement)(De,{label:Object(m.__)("Highlight Color","kadence-blocks"),value:Y||"",default:"",onChange:e=>l({markColor:e})}),Object(b.createElement)(De,{label:Object(m.__)("Highlight Background","kadence-blocks"),value:X||"",default:"",onChange:e=>l({markBG:e}),opacityValue:ee,onOpacityChange:e=>l({markBGOpacity:e}),onArrayChange:(e,t)=>l({markBG:e,markBGOpacity:t})}),Object(b.createElement)(De,{label:Object(m.__)("Highlight Border Color","kadence-blocks"),value:te||"",default:"",onChange:e=>l({markBorder:e}),opacityValue:ae,onOpacityChange:e=>l({markBorderOpacity:e}),onArrayChange:(e,t)=>l({markBorder:e,markBorderOpacity:t})}),Object(b.createElement)(Rd,{label:Object(m.__)("Highlight Border Style","kadence-blocks"),value:ie,options:[{value:"solid",label:Object(m.__)("Solid","kadence-blocks")},{value:"dashed",label:Object(m.__)("Dashed","kadence-blocks")},{value:"dotted",label:Object(m.__)("Dotted","kadence-blocks")}],onChange:e=>l({markBorderStyle:e})}),Object(b.createElement)(E,{label:Object(m.__)("Highlight Border Width","kadence-blocks"),value:le,onChange:e=>l({markBorderWidth:e}),min:0,max:20,step:1}),Object(b.createElement)(oe,{fontGroup:"heading",fontSize:R,onFontSize:e=>l({markSize:e}),fontSizeType:A,onFontSizeType:e=>l({markSizeType:e}),lineHeight:L,onLineHeight:e=>l({markLineHeight:e}),lineHeightType:F,onLineHeightType:e=>l({markLineType:e}),letterSpacing:W,onLetterSpacing:e=>l({markLetterSpacing:e}),fontFamily:D,onFontFamily:e=>l({markTypography:e}),onFontChange:e=>{l({markTypography:e.value,markGoogleFont:e.google})},googleFont:$,onGoogleFont:e=>l({markGoogleFont:e}),loadGoogleFont:U,onLoadGoogleFont:e=>l({markLoadGoogleFont:e}),fontVariant:G,onFontVariant:e=>l({markFontVariant:e}),fontWeight:q,onFontWeight:e=>l({markFontWeight:e}),fontStyle:K,onFontStyle:e=>l({markFontStyle:e}),fontSubset:V,onFontSubset:e=>l({markFontSubset:e}),textTransform:ce,onTextTransform:e=>l({markTextTransform:e})}),Object(b.createElement)(Ot,{label:Object(m.__)("Padding","kadence-blocks"),value:Q,control:this.state.markPaddingControls,tabletValue:Oe,mobileValue:fe,onChange:e=>l({markPadding:e}),onChangeTablet:e=>l({markTabPadding:e}),onChangeMobile:e=>l({markMobilePadding:e}),onChangeControl:e=>this.setState({markPaddingControls:e}),min:0,max:100,step:1,unit:"px",units:["px"],showUnit:!0})),this.showSettings("linkSettings")&&Object(b.createElement)(Pt,{title:Object(m.__)("Link Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-adv-heading-link-settings"},Object(b.createElement)(De,{label:Object(m.__)("Link Color","kadence-blocks"),swatchLabel:Object(m.__)("Link Color","kadence-blocks"),value:Me||"",default:"",onChange:e=>l({linkColor:e}),swatchLabel2:Object(m.__)("Hover Color","kadence-blocks"),value2:Ie||"",default2:"",onChange2:e=>l({linkHoverColor:e})}),Object(b.createElement)(Rd,{label:Object(m.__)("Link Style","kadence-blocks"),value:ze,options:[{value:"",label:Object(m.__)("Unset","kadence-blocks")},{value:"none",label:Object(m.__)("None","kadence-blocks")},{value:"underline",label:Object(m.__)("Underline","kadence-blocks")},{value:"hover_underline",label:Object(m.__)("Underline on Hover","kadence-blocks")}],onChange:e=>l({linkStyle:e})}),Object(b.createElement)(qa,Ke()({label:Object(m.__)("Heading Wrap Link","kadence-blocks"),url:we,onChangeUrl:e=>l({link:e}),additionalControls:!0,opensInNewTab:void 0!==xe&&xe,onChangeTarget:e=>l({linkTarget:e}),linkNoFollow:void 0!==Ee&&Ee,onChangeFollow:e=>l({linkNoFollow:e}),linkSponsored:void 0!==Se&&Se,onChangeSponsored:e=>l({linkSponsored:e}),dynamicAttribute:"link",allowClear:!0},this.props))),this.showSettings("marginSettings")&&Object(b.createElement)(Pt,{title:Object(m.__)("Spacing Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-adv-heading-spacing-settings"},Object(b.createElement)(Ot,{label:Object(m.__)("Padding","kadence-blocks"),value:he,control:this.state.paddingControl,tabletValue:ve,mobileValue:ke,onChange:e=>l({padding:e}),onChangeTablet:e=>l({tabletPadding:e}),onChangeMobile:e=>l({mobilePadding:e}),onChangeControl:e=>this.setState({paddingControl:e}),min:0,max:Je,step:Ye,unit:ye,units:["px","em","rem","%"],onUnit:e=>l({paddingType:e})}),Object(b.createElement)(Ot,{label:Object(m.__)("Margin","kadence-blocks"),value:[void 0!==B?B:"",void 0!==pe?pe:"",void 0!==P?P:"",void 0!==me?me:""],control:this.state.marginControl,tabletValue:ge,mobileValue:ue,onChange:e=>{l({topMargin:e[0],rightMargin:e[1],bottomMargin:e[2],leftMargin:e[3]})},onChangeTablet:e=>l({tabletMargin:e}),onChangeMobile:e=>l({mobileMargin:e}),onChangeControl:e=>this.setState({marginControl:e}),min:Ge,max:qe,step:Qe,unit:H,units:["px","em","rem","%","vh"],onUnit:e=>l({marginType:e})})),Object(b.createElement)(Pt,{title:Object(m.__)("Text Shadow Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-adv-heading-text-shadow"},Object(b.createElement)(bd,{label:Object(m.__)("Text Shadow","kadence-blocks"),enable:void 0!==g&&void 0!==g[0]&&void 0!==g[0].enable&&g[0].enable,color:void 0!==g&&void 0!==g[0]&&void 0!==g[0].color?g[0].color:"rgba(0, 0, 0, 0.2)",colorDefault:"rgba(0, 0, 0, 0.2)",hOffset:void 0!==g&&void 0!==g[0]&&void 0!==g[0].hOffset?g[0].hOffset:1,vOffset:void 0!==g&&void 0!==g[0]&&void 0!==g[0].vOffset?g[0].vOffset:1,blur:void 0!==g&&void 0!==g[0]&&void 0!==g[0].blur?g[0].blur:1,onEnableChange:e=>{this.saveShadow({enable:e})},onColorChange:e=>{this.saveShadow({color:e})},onHOffsetChange:e=>{this.saveShadow({hOffset:e})},onVOffsetChange:e=>{this.saveShadow({vOffset:e})},onBlurChange:e=>{this.saveShadow({blur:e})}}))),Object(b.createElement)(Ce.InspectorAdvancedControls,null,Object(b.createElement)(Ad,{label:Object(m.__)("HTML Anchor","kadence-blocks"),help:Object(m.__)("Anchors lets you link directly to a section on a page.","kadence-blocks"),value:ne||"",onChange:e=>{e=e.replace(Fd,"-"),l({anchor:e})}})),se&&Object(b.createElement)("div",{className:"kt-animation-wrap-"+se},Object(b.createElement)("div",{id:"animate-id"+n,className:"aos-animate kt-animation-wrap","data-aos":se||void 0,"data-aos-duration":de&&de[0]&&de[0].duration?de[0].duration:void 0,"data-aos-easing":de&&de[0]&&de[0].easing?de[0].easing:void 0},we?St:Et)),!se&&(we?St:Et),M&&Object(b.createElement)(po,{config:We}),$&&Object(b.createElement)(po,{config:$e}))}});const{Fragment:Dd}=wp.element,{getBlockDefaultClassName:$d}=wp.blocks;var Ud=[{attributes:{content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6,p"},level:{type:"number",default:2},uniqueID:{type:"string"},align:{type:"string"},color:{type:"string"},size:{type:"number"},sizeType:{type:"string",default:"px"},lineHeight:{type:"number"},lineType:{type:"string",default:"px"},tabSize:{type:"number"},tabLineHeight:{type:"number"},mobileSize:{type:"number"},mobileLineHeight:{type:"number"},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:""},fontStyle:{type:"string",default:"normal"},topMargin:{type:"number",default:""},bottomMargin:{type:"number",default:""},leftMargin:{type:"number",default:""},rightMargin:{type:"number",default:""},marginType:{type:"string",default:"px"},tabletMargin:{type:"array",default:["","","",""]},mobileMargin:{type:"array",default:["","","",""]},tabletMarginType:{type:"string",default:"px"},mobileMarginType:{type:"string",default:"px"},paddingType:{type:"string",default:"px"},padding:{type:"array",default:["","","",""]},tabletPadding:{type:"array",default:["","","",""]},mobilePadding:{type:"array",default:["","","",""]},markSize:{type:"array",default:["","",""]},markSizeType:{type:"string",default:"px"},markLineHeight:{type:"array",default:["","",""]},markLineType:{type:"string",default:"px"},markLetterSpacing:{type:"number"},markTypography:{type:"string",default:""},markGoogleFont:{type:"boolean",default:!1},markLoadGoogleFont:{type:"boolean",default:!0},markFontSubset:{type:"string",default:""},markFontVariant:{type:"string",default:""},markFontWeight:{type:"string",default:""},markFontStyle:{type:"string",default:"normal"},markColor:{type:"string",default:"#f76a0c"},markBG:{type:"string"},markBGOpacity:{type:"number",default:1},markPadding:{type:"array",default:[0,0,0,0]},markTabPadding:{type:"array",default:["","","",""]},markMobilePadding:{type:"array",default:["","","",""]},markPaddingControl:{type:"string",default:"linked"},markBorder:{type:"string"},markBorderOpacity:{type:"number",default:1},markBorderWidth:{type:"number",default:0},markBorderStyle:{type:"string",default:"solid"},textTransform:{type:"string",default:""},markTextTransform:{type:"string",default:""},anchor:{type:"string"},colorClass:{type:"string"},tabletAlign:{type:"string"},mobileAlign:{type:"string"},textShadow:{type:"array",default:[{enable:!1,color:"rgba(0, 0, 0, 0.2)",blur:1,hOffset:1,vOffset:1}]},htmlTag:{type:"string",default:"heading"},loadItalic:{type:"boolean",default:!1},link:{type:"string"},linkTarget:{type:"boolean",default:!1},linkNoFollow:{type:"boolean",default:!1},linkSponsored:{type:"boolean",default:!1},background:{type:"string"},backgroundColorClass:{type:"string"},linkStyle:{type:"string"},linkColor:{type:"string"},linkHoverColor:{type:"string"},inQueryBlock:{type:"bool",default:!1}},save:e=>{let{attributes:t}=e;const{anchor:l,level:a,content:i,colorClass:o,color:n,textShadow:r,letterSpacing:c,topMargin:s,bottomMargin:d,marginType:m,align:p,uniqueID:g,className:u,kadenceAnimation:h,kadenceAOSOptions:v,htmlTag:k,link:y,linkNoFollow:f,linkSponsored:O,linkTarget:j,backgroundColorClass:_,linkStyle:w}=t,x=k&&"heading"!==k?k:"h"+a,E=Object(Ce.getColorClassName)("color",o),S=Object(Ce.getColorClassName)("background-color",_),C=!(!h||"reveal-left"!==h&&"reveal-right"!==h&&"reveal-up"!==h&&"reveal-down"!==h),T=!!C,N=xt()({["kt-adv-heading"+g]:g,[u]:!T&&!y&&u,[$d("kadence/advancedheading")]:$d("kadence/advancedheading"),[E]:E,"has-text-color":E,[S]:S,"has-background":S,["hls-"+w]:!y&&w});let z;j&&(z="noopener noreferrer"),void 0!==f&&!0===f&&(z=z?z.concat(" nofollow"):"nofollow"),void 0!==O&&!0===O&&(z=z?z.concat(" sponsored"):"sponsored");const M=Object(b.createElement)(Ce.RichText.Content,{tagName:x,id:l||void 0,className:N,"data-kb-block":"kb-adv-heading"+g,"data-aos":h||void 0,"data-aos-offset":v&&v[0]&&v[0].offset?v[0].offset:void 0,"data-aos-duration":v&&v[0]&&v[0].duration?v[0].duration:void 0,"data-aos-delay":v&&v[0]&&v[0].delay?v[0].delay:void 0,"data-aos-easing":v&&v[0]&&v[0].easing?v[0].easing:void 0,"data-aos-once":v&&v[0]&&void 0!==v[0].once&&""!==v[0].once?v[0].once:void 0,value:i}),I=Object(b.createElement)("a",{href:y,className:`kb-advanced-heading-link kt-adv-heading-link${g}${!T&&u?" "+u:""}${w?" hls-"+w:""}`,target:j?"_blank":void 0,relAttr:z||void 0},M),H=y?I:M;return Object(b.createElement)(Dd,null,T&&Object(b.createElement)("div",{className:`kb-adv-heading-wrap${g} kadence-advanced-heading-wrapper${C?" kadence-heading-clip-animation":""}${u?" "+u:""}`},H),!T&&H)}},{attributes:{content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6,p"},level:{type:"number",default:2},uniqueID:{type:"string"},align:{type:"string"},color:{type:"string"},size:{type:"number"},sizeType:{type:"string",default:"px"},lineHeight:{type:"number"},lineType:{type:"string",default:"px"},tabSize:{type:"number"},tabLineHeight:{type:"number"},mobileSize:{type:"number"},mobileLineHeight:{type:"number"},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"},topMargin:{type:"number",default:""},bottomMargin:{type:"number",default:""},leftMargin:{type:"number",default:""},rightMargin:{type:"number",default:""},marginType:{type:"string",default:"px"},tabletMargin:{type:"array",default:["","","",""]},mobileMargin:{type:"array",default:["","","",""]},tabletMarginType:{type:"string",default:"px"},mobileMarginType:{type:"string",default:"px"},paddingType:{type:"string",default:"px"},padding:{type:"array",default:["","","",""]},tabletPadding:{type:"array",default:["","","",""]},mobilePadding:{type:"array",default:["","","",""]},markSize:{type:"array",default:["","",""]},markSizeType:{type:"string",default:"px"},markLineHeight:{type:"array",default:["","",""]},markLineType:{type:"string",default:"px"},markLetterSpacing:{type:"number"},markTypography:{type:"string",default:""},markGoogleFont:{type:"boolean",default:!1},markLoadGoogleFont:{type:"boolean",default:!0},markFontSubset:{type:"string",default:""},markFontVariant:{type:"string",default:""},markFontWeight:{type:"string",default:"regular"},markFontStyle:{type:"string",default:"normal"},markColor:{type:"string",default:"#f76a0c"},markBG:{type:"string"},markBGOpacity:{type:"number",default:1},markPadding:{type:"array",default:[0,0,0,0]},markTabPadding:{type:"array",default:["","","",""]},markMobilePadding:{type:"array",default:["","","",""]},markPaddingControl:{type:"string",default:"linked"},markBorder:{type:"string"},markBorderOpacity:{type:"number",default:1},markBorderWidth:{type:"number",default:0},markBorderStyle:{type:"string",default:"solid"},textTransform:{type:"string",default:""},markTextTransform:{type:"string",default:""},anchor:{type:"string"},colorClass:{type:"string"},tabletAlign:{type:"string"},mobileAlign:{type:"string"},textShadow:{type:"array",default:[{enable:!1,color:"rgba(0, 0, 0, 0.2)",blur:1,hOffset:1,vOffset:1}]},htmlTag:{type:"string",default:"heading"},loadItalic:{type:"boolean",default:!1},link:{type:"string"},linkTarget:{type:"boolean",default:!1},linkNoFollow:{type:"boolean",default:!1},linkSponsored:{type:"boolean",default:!1},background:{type:"string"},backgroundColorClass:{type:"string"}},save:e=>{let{attributes:t}=e;const{anchor:l,level:a,content:i,colorClass:o,color:n,textShadow:r,letterSpacing:c,topMargin:s,bottomMargin:d,marginType:m,align:p,uniqueID:g,className:u,kadenceAnimation:h,kadenceAOSOptions:v,htmlTag:k,link:y,linkNoFollow:f,linkSponsored:O,linkTarget:j,backgroundColorClass:_,linkStyle:w}=t,x=k&&"heading"!==k?k:"h"+a,E=Object(Ce.getColorClassName)("color",o),S=Object(Ce.getColorClassName)("background-color",_),C=!(!h||"reveal-left"!==h&&"reveal-right"!==h&&"reveal-up"!==h&&"reveal-down"!==h),T=!!C,N=xt()({["kt-adv-heading"+g]:g,[u]:!T&&!y&&u,[$d("kadence/advancedheading")]:$d("kadence/advancedheading"),[E]:E,"has-text-color":E,[S]:S,"has-background":S});let z;j&&(z="noopener noreferrer"),void 0!==f&&!0===f&&(z=z?z.concat(" nofollow"):"nofollow"),void 0!==O&&!0===O&&(z=z?z.concat(" sponsored"):"sponsored");const M=Object(b.createElement)(Ce.RichText.Content,{tagName:x,id:l||void 0,className:N,"data-kb-block":"kb-adv-heading"+g,"data-aos":h||void 0,"data-aos-offset":v&&v[0]&&v[0].offset?v[0].offset:void 0,"data-aos-duration":v&&v[0]&&v[0].duration?v[0].duration:void 0,"data-aos-delay":v&&v[0]&&v[0].delay?v[0].delay:void 0,"data-aos-easing":v&&v[0]&&v[0].easing?v[0].easing:void 0,"data-aos-once":v&&v[0]&&void 0!==v[0].once&&""!==v[0].once?v[0].once:void 0,value:i}),I=Object(b.createElement)("a",{href:y,className:"kb-advanced-heading-link",target:j?"_blank":void 0,relAttr:z||void 0},M),H=y?I:M;return Object(b.createElement)(Dd,null,T&&Object(b.createElement)("div",{className:`kb-adv-heading-wrap${g} kadence-advanced-heading-wrapper${C?" kadence-heading-clip-animation":""}${u?" "+u:""}`},H),!T&&H)}},{attributes:{content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6,p"},level:{type:"number",default:2},uniqueID:{type:"string"},align:{type:"string"},color:{type:"string"},size:{type:"number"},sizeType:{type:"string",default:"px"},lineHeight:{type:"number"},lineType:{type:"string",default:"px"},tabSize:{type:"number"},tabLineHeight:{type:"number"},mobileSize:{type:"number"},mobileLineHeight:{type:"number"},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"},topMargin:{type:"number",default:""},bottomMargin:{type:"number",default:""},leftMargin:{type:"number",default:""},rightMargin:{type:"number",default:""},marginType:{type:"string",default:"px"},tabletMargin:{type:"array",default:["","","",""]},mobileMargin:{type:"array",default:["","","",""]},tabletMarginType:{type:"string",default:"px"},mobileMarginType:{type:"string",default:"px"},paddingType:{type:"string",default:"px"},padding:{type:"array",default:["","","",""]},tabletPadding:{type:"array",default:["","","",""]},mobilePadding:{type:"array",default:["","","",""]},markSize:{type:"array",default:["","",""]},markSizeType:{type:"string",default:"px"},markLineHeight:{type:"array",default:["","",""]},markLineType:{type:"string",default:"px"},markLetterSpacing:{type:"number"},markTypography:{type:"string",default:""},markGoogleFont:{type:"boolean",default:!1},markLoadGoogleFont:{type:"boolean",default:!0},markFontSubset:{type:"string",default:""},markFontVariant:{type:"string",default:""},markFontWeight:{type:"string",default:"regular"},markFontStyle:{type:"string",default:"normal"},markColor:{type:"string",default:"#f76a0c"},markBG:{type:"string"},markBGOpacity:{type:"number",default:1},markPadding:{type:"array",default:[0,0,0,0]},markTabPadding:{type:"array",default:["","","",""]},markMobilePadding:{type:"array",default:["","","",""]},markPaddingControl:{type:"string",default:"linked"},markBorder:{type:"string"},markBorderOpacity:{type:"number",default:1},markBorderWidth:{type:"number",default:0},markBorderStyle:{type:"string",default:"solid"},textTransform:{type:"string",default:""},markTextTransform:{type:"string",default:""},anchor:{type:"string"},colorClass:{type:"string"},tabletAlign:{type:"string"},mobileAlign:{type:"string"},textShadow:{type:"array",default:[{enable:!1,color:"rgba(0, 0, 0, 0.2)",blur:1,hOffset:1,vOffset:1}]},htmlTag:{type:"string",default:"heading"},loadItalic:{type:"boolean",default:!1},link:{type:"string"},linkTarget:{type:"boolean",default:!1},linkNoFollow:{type:"boolean",default:!1},linkSponsored:{type:"boolean",default:!1},background:{type:"string"},backgroundColorClass:{type:"string"}},save:e=>{let{attributes:t}=e;const{anchor:l,level:a,content:i,colorClass:o,color:n,textShadow:r,letterSpacing:c,topMargin:s,bottomMargin:d,marginType:m,align:p,uniqueID:g,className:u,kadenceAnimation:h,kadenceAOSOptions:v,htmlTag:k,link:y,linkNoFollow:f,linkSponsored:O,linkTarget:j,backgroundColorClass:_}=t,w=k&&"heading"!==k?k:"h"+a,x=Object(Ce.getColorClassName)("color",o),E=Object(Ce.getColorClassName)("background-color",_),S=!(!h||"reveal-left"!==h&&"reveal-right"!==h&&"reveal-up"!==h&&"reveal-down"!==h),C=!!S,T=xt()({["kt-adv-heading"+g]:g,[u]:!C&&u,[$d("kadence/advancedheading")]:$d("kadence/advancedheading"),[x]:x,"has-text-color":x,[E]:E,"has-background":E});let N;j&&(N="noopener noreferrer"),void 0!==f&&!0===f&&(N=N?N.concat(" nofollow"):"nofollow"),void 0!==O&&!0===O&&(N=N?N.concat(" sponsored"):"sponsored");const z=Object(b.createElement)(Ce.RichText.Content,{tagName:w,id:l||void 0,className:T,"data-kb-block":"kb-adv-heading"+g,"data-aos":h||void 0,"data-aos-offset":v&&v[0]&&v[0].offset?v[0].offset:void 0,"data-aos-duration":v&&v[0]&&v[0].duration?v[0].duration:void 0,"data-aos-delay":v&&v[0]&&v[0].delay?v[0].delay:void 0,"data-aos-easing":v&&v[0]&&v[0].easing?v[0].easing:void 0,"data-aos-once":v&&v[0]&&void 0!==v[0].once&&""!==v[0].once?v[0].once:void 0,value:i}),M=Object(b.createElement)("a",{href:y,className:"kb-advanced-heading-link",target:j?"_blank":void 0,relAttr:N||void 0},z),I=y?M:z;return Object(b.createElement)(Dd,null,C&&Object(b.createElement)("div",{className:`kb-adv-heading-wrap${g} kadence-advanced-heading-wrapper${S?" kadence-heading-clip-animation":""}${u?" "+u:""}`},I),!C&&I)}},{attributes:{content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6,p"},level:{type:"number",default:2},uniqueID:{type:"string"},align:{type:"string"},color:{type:"string"},size:{type:"number"},sizeType:{type:"string",default:"px"},lineHeight:{type:"number"},lineType:{type:"string",default:"px"},tabSize:{type:"number"},tabLineHeight:{type:"number"},mobileSize:{type:"number"},mobileLineHeight:{type:"number"},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"},topMargin:{type:"number",default:""},bottomMargin:{type:"number",default:""},leftMargin:{type:"number",default:""},rightMargin:{type:"number",default:""},marginType:{type:"string",default:"px"},tabletMargin:{type:"array",default:["","","",""]},mobileMargin:{type:"array",default:["","","",""]},tabletMarginType:{type:"string",default:"px"},mobileMarginType:{type:"string",default:"px"},paddingType:{type:"string",default:"px"},padding:{type:"array",default:["","","",""]},tabletPadding:{type:"array",default:["","","",""]},mobilePadding:{type:"array",default:["","","",""]},markSize:{type:"array",default:["","",""]},markSizeType:{type:"string",default:"px"},markLineHeight:{type:"array",default:["","",""]},markLineType:{type:"string",default:"px"},markLetterSpacing:{type:"number"},markTypography:{type:"string",default:""},markGoogleFont:{type:"boolean",default:!1},markLoadGoogleFont:{type:"boolean",default:!0},markFontSubset:{type:"string",default:""},markFontVariant:{type:"string",default:""},markFontWeight:{type:"string",default:"regular"},markFontStyle:{type:"string",default:"normal"},markColor:{type:"string",default:"#f76a0c"},markBG:{type:"string"},markBGOpacity:{type:"number",default:1},markPadding:{type:"array",default:[0,0,0,0]},markTabPadding:{type:"array",default:["","","",""]},markMobilePadding:{type:"array",default:["","","",""]},markPaddingControl:{type:"string",default:"linked"},markBorder:{type:"string"},markBorderOpacity:{type:"number",default:1},markBorderWidth:{type:"number",default:0},markBorderStyle:{type:"string",default:"solid"},textTransform:{type:"string",default:""},markTextTransform:{type:"string",default:""},anchor:{type:"string"},colorClass:{type:"string"},tabletAlign:{type:"string"},mobileAlign:{type:"string"},textShadow:{type:"array",default:[{enable:!1,color:"rgba(0, 0, 0, 0.2)",blur:1,hOffset:1,vOffset:1}]},htmlTag:{type:"string",default:"heading"},loadItalic:{type:"boolean",default:!1}},save:e=>{let{attributes:t}=e;const{anchor:l,level:a,content:i,colorClass:o,color:n,textShadow:r,letterSpacing:c,topMargin:s,bottomMargin:d,marginType:m,align:p,uniqueID:g,className:u,kadenceAnimation:h,kadenceAOSOptions:v,htmlTag:k}=t,y=k&&"heading"!==k?k:"h"+a,f=Object(Ce.getColorClassName)("color",o),O=!(!h||"reveal-left"!==h&&"reveal-right"!==h&&"reveal-up"!==h&&"reveal-down"!==h),j=!!O,_=xt()({["kt-adv-heading"+g]:g,[u]:!j&&u,[$d("kadence/advancedheading")]:$d("kadence/advancedheading"),[f]:f}),w=Object(b.createElement)(Ce.RichText.Content,{tagName:y,id:l||void 0,className:_,"data-kb-block":"kb-adv-heading"+g,"data-aos":h||void 0,"data-aos-offset":v&&v[0]&&v[0].offset?v[0].offset:void 0,"data-aos-duration":v&&v[0]&&v[0].duration?v[0].duration:void 0,"data-aos-delay":v&&v[0]&&v[0].delay?v[0].delay:void 0,"data-aos-easing":v&&v[0]&&v[0].easing?v[0].easing:void 0,"data-aos-once":v&&v[0]&&void 0!==v[0].once&&""!==v[0].once?v[0].once:void 0,value:i});return Object(b.createElement)(Dd,null,j&&Object(b.createElement)("div",{className:`kb-adv-heading-wrap${g} kadence-advanced-heading-wrapper${O?" kadence-heading-clip-animation":""}${u?" "+u:""}`},w),!j&&w)}},{attributes:{content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6,p"},level:{type:"number",default:2},uniqueID:{type:"string"},align:{type:"string"},color:{type:"string"},size:{type:"number"},sizeType:{type:"string",default:"px"},lineHeight:{type:"number"},lineType:{type:"string",default:"px"},tabSize:{type:"number"},tabLineHeight:{type:"number"},mobileSize:{type:"number"},mobileLineHeight:{type:"number"},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"},topMargin:{type:"number",default:""},bottomMargin:{type:"number",default:""},marginType:{type:"string",default:"px"},markSize:{type:"array",default:["","",""]},markSizeType:{type:"string",default:"px"},markLineHeight:{type:"array",default:["","",""]},markLineType:{type:"string",default:"px"},markLetterSpacing:{type:"number"},markTypography:{type:"string",default:""},markGoogleFont:{type:"boolean",default:!1},markLoadGoogleFont:{type:"boolean",default:!0},markFontSubset:{type:"string",default:""},markFontVariant:{type:"string",default:""},markFontWeight:{type:"string",default:"regular"},markFontStyle:{type:"string",default:"normal"},markColor:{type:"string",default:"#f76a0c"},markBG:{type:"string"},markBGOpacity:{type:"number",default:1},markPadding:{type:"array",default:[0,0,0,0]},markPaddingControl:{type:"string",default:"linked"},markBorder:{type:"string"},markBorderOpacity:{type:"number",default:1},markBorderWidth:{type:"number",default:0},markBorderStyle:{type:"string",default:"solid"},textTransform:{type:"string",default:""},markTextTransform:{type:"string",default:""},anchor:{type:"string"},colorClass:{type:"string"},textShadow:{type:"array",default:[{enable:!1,color:"rgba(0, 0, 0, 0.2)",blur:1,hOffset:1,vOffset:1}]},htmlTag:{type:"string",default:"heading"},kadenceAnimation:{type:"string"},kadenceAOSOptions:{type:"array",default:[{duration:"",offset:"",easing:"",once:"",delay:"",delayOffset:""}]}},save:e=>{let{attributes:t}=e;const{anchor:l,align:a,level:i,content:o,color:n,colorClass:r,textShadow:c,uniqueID:s,letterSpacing:d,topMargin:m,bottomMargin:p,marginType:g,className:u,kadenceAnimation:h,kadenceAOSOptions:v,htmlTag:k}=t,y=k&&"heading"!==k?k:"h"+i,f=Object(Ce.getColorClassName)("color",r),O=g||"px";let j=l||"kt-adv-heading"+s;const _=!(!h||"reveal-left"!==h&&"reveal-right"!==h&&"reveal-up"!==h&&"reveal-down"!==h),w=!(!l&&!_);j=_&&!l?"kt-adv-inner-heading"+s:j;const x=xt()({["kt-adv-heading"+s]:s,[u]:!w&&u,[$d("kadence/advancedheading")]:$d("kadence/advancedheading"),[f]:f}),E=Object(b.createElement)(Ce.RichText.Content,{tagName:y,id:j,className:x,"data-aos":h||void 0,"data-aos-offset":v&&v[0]&&v[0].offset?v[0].offset:void 0,"data-aos-duration":v&&v[0]&&v[0].duration?v[0].duration:void 0,"data-aos-delay":v&&v[0]&&v[0].delay?v[0].delay:void 0,"data-aos-easing":v&&v[0]&&v[0].easing?v[0].easing:void 0,"data-aos-once":v&&v[0]&&void 0!==v[0].once&&""!==v[0].once?v[0].once:void 0,style:{textAlign:a,color:!f&&n?Yi(n):void 0,letterSpacing:d?d+"px":void 0,marginTop:void 0!==m&&""!==m?m+O:void 0,marginBottom:void 0!==p&&""!==p?p+O:void 0,textShadow:void 0!==c&&void 0!==c[0]&&void 0!==c[0].enable&&c[0].enable?(void 0!==c[0].hOffset?c[0].hOffset:1)+"px "+(void 0!==c[0].vOffset?c[0].vOffset:1)+"px "+(void 0!==c[0].blur?c[0].blur:1)+"px "+(void 0!==c[0].color?Yi(c[0].color):"rgba(0,0,0,0.2)"):void 0},value:o});return Object(b.createElement)(Dd,null,w&&Object(b.createElement)("div",{id:"kt-adv-heading"+s,className:`kadence-advanced-heading-wrapper${_?" kadence-heading-clip-animation":""}${u?" "+u:""}`},E),!w&&E)}},{attributes:{content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6"},level:{type:"number",default:2},uniqueID:{type:"string"},align:{type:"string"},color:{type:"string"},size:{type:"number"},sizeType:{type:"string",default:"px"},lineHeight:{type:"number"},lineType:{type:"string",default:"px"},tabSize:{type:"number"},tabLineHeight:{type:"number"},mobileSize:{type:"number"},mobileLineHeight:{type:"number"},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"},topMargin:{type:"number",default:""},bottomMargin:{type:"number",default:""},marginType:{type:"string",default:"px"},markSize:{type:"array",default:["","",""]},markSizeType:{type:"string",default:"px"},markLineHeight:{type:"array",default:["","",""]},markLineType:{type:"string",default:"px"},markLetterSpacing:{type:"number"},markTypography:{type:"string",default:""},markGoogleFont:{type:"boolean",default:!1},markLoadGoogleFont:{type:"boolean",default:!0},markFontSubset:{type:"string",default:""},markFontVariant:{type:"string",default:""},markFontWeight:{type:"string",default:"regular"},markFontStyle:{type:"string",default:"normal"},markColor:{type:"string",default:"#f76a0c"},markBG:{type:"string"},markBGOpacity:{type:"number",default:1},markPadding:{type:"array",default:[0,0,0,0]},markPaddingControl:{type:"string",default:"linked"},markBorder:{type:"string"},markBorderOpacity:{type:"number",default:1},markBorderWidth:{type:"number",default:0},markBorderStyle:{type:"string",default:"solid"},textTransform:{type:"string",default:""},markTextTransform:{type:"string",default:""},anchor:{type:"string"}},save:e=>{let{attributes:t}=e;const{anchor:l,align:a,level:i,content:o,color:n,uniqueID:r,letterSpacing:c,topMargin:s,bottomMargin:d,marginType:m,className:p,kadenceAnimation:g,kadenceAOSOptions:u}=t,h="h"+i,v=m||"px";let k=l||"kt-adv-heading"+r;const y=!(!g||"reveal-left"!==g&&"reveal-right"!==g&&"reveal-up"!==g&&"reveal-down"!==g),f=!(!l&&!y);k=y&&!l?"kt-adv-inner-heading"+r:k;const O=p?`${p} ${$d("kadence/advancedheading")}`:$d("kadence/advancedheading"),j=Object(b.createElement)(Ce.RichText.Content,{tagName:h,id:k,className:`kt-adv-heading${r} ${O}`,"data-aos":g||void 0,"data-aos-offset":u&&u[0]&&u[0].offset?u[0].offset:void 0,"data-aos-duration":u&&u[0]&&u[0].duration?u[0].duration:void 0,"data-aos-delay":u&&u[0]&&u[0].delay?u[0].delay:void 0,"data-aos-easing":u&&u[0]&&u[0].easing?u[0].easing:void 0,"data-aos-once":u&&u[0]&&void 0!==u[0].once&&""!==u[0].once?u[0].once:void 0,style:{textAlign:a,color:n,letterSpacing:c?c+"px":void 0,marginTop:void 0!==s&&""!==s?s+v:void 0,marginBottom:void 0!==d&&""!==d?d+v:void 0},value:o});return Object(b.createElement)(Dd,null,f&&Object(b.createElement)("div",{id:"kt-adv-heading"+r,className:"kadence-advanced-heading-wrapper"+(y?" kadence-heading-clip-animation":"")},j),!f&&j)}},{attributes:{content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6"},level:{type:"number",default:2},uniqueID:{type:"string"},align:{type:"string"},color:{type:"string"},size:{type:"number"},sizeType:{type:"string",default:"px"},lineHeight:{type:"number"},lineType:{type:"string",default:"px"},tabSize:{type:"number"},tabLineHeight:{type:"number"},mobileSize:{type:"number"},mobileLineHeight:{type:"number"},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"},topMargin:{type:"number",default:""},bottomMargin:{type:"number",default:""},marginType:{type:"string",default:"px"},markSize:{type:"array",default:["","",""]},markSizeType:{type:"string",default:"px"},markLineHeight:{type:"array",default:["","",""]},markLineType:{type:"string",default:"px"},markLetterSpacing:{type:"number"},markTypography:{type:"string",default:""},markGoogleFont:{type:"boolean",default:!1},markLoadGoogleFont:{type:"boolean",default:!0},markFontSubset:{type:"string",default:""},markFontVariant:{type:"string",default:""},markFontWeight:{type:"string",default:"regular"},markFontStyle:{type:"string",default:"normal"},markColor:{type:"string",default:"#f76a0c"},markBG:{type:"string"},markBGOpacity:{type:"number",default:1},markPadding:{type:"array",default:[0,0,0,0]},markPaddingControl:{type:"string",default:"linked"},markBorder:{type:"string"},markBorderOpacity:{type:"number",default:1},markBorderWidth:{type:"number",default:0},markBorderStyle:{type:"string",default:"solid"},textTransform:{type:"string",default:""},markTextTransform:{type:"string",default:""},anchor:{type:"string"}},save:e=>{let{attributes:t}=e;const{anchor:l,align:a,level:i,content:o,color:n,uniqueID:r,letterSpacing:c,topMargin:s,bottomMargin:d,marginType:m,className:p,kadenceAnimation:g,kadenceAOSOptions:u}=t,h="h"+i,v=m||"px";let k=l||"kt-adv-heading"+r;const y=!(!g||"reveal-left"!==g&&"reveal-right"!==g&&"reveal-up"!==g&&"reveal-down"!==g),f=!(!l&&!y);k=y&&!l?"kt-adv-inner-heading"+r:k;const O=p?`${p} ${$d("kadence/advancedheading")}`:$d("kadence/advancedheading"),j=Object(b.createElement)(Ce.RichText.Content,{tagName:h,id:k,className:`kt-adv-heading${r} ${O}`,"data-aos":g||void 0,"data-aos-offset":u&&u[0]&&u[0].offset?u[0].offset:void 0,"data-aos-duration":u&&u[0]&&u[0].duration?u[0].duration:void 0,"data-aos-delay":u&&u[0]&&u[0].delay?u[0].delay:void 0,"data-aos-easing":u&&u[0]&&u[0].easing?u[0].easing:void 0,"data-aos-once":u&&u[0]&&void 0!==u[0].once&&""!==u[0].once?u[0].once:void 0,style:{textAlign:a,color:n,letterSpacing:c?c+"px":void 0,marginTop:s?s+v:void 0,marginBottom:d?d+v:void 0},value:o});return Object(b.createElement)(Dd,null,f&&Object(b.createElement)("div",{id:"kt-adv-heading"+r,className:"kadence-advanced-heading-wrapper"+(y?" kadence-heading-clip-animation":"")},j),!f&&j)}},{attributes:{content:{type:"array",source:"children",selector:"h1,h2,h3,h4,h5,h6"},level:{type:"number",default:2},uniqueID:{type:"string"},align:{type:"string"},color:{type:"string"},size:{type:"number"},sizeType:{type:"string",default:"px"},lineHeight:{type:"number"},lineType:{type:"string",default:"px"},tabSize:{type:"number"},tabLineHeight:{type:"number"},mobileSize:{type:"number"},mobileLineHeight:{type:"number"},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"},topMargin:{type:"number",default:""},bottomMargin:{type:"number",default:""},marginType:{type:"string",default:"px"},markSize:{type:"array",default:["","",""]},markSizeType:{type:"string",default:"px"},markLineHeight:{type:"array",default:["","",""]},markLineType:{type:"string",default:"px"},markLetterSpacing:{type:"number"},markTypography:{type:"string",default:""},markGoogleFont:{type:"boolean",default:!1},markLoadGoogleFont:{type:"boolean",default:!0},markFontSubset:{type:"string",default:""},markFontVariant:{type:"string",default:""},markFontWeight:{type:"string",default:"regular"},markFontStyle:{type:"string",default:"normal"},markColor:{type:"string",default:"#f76a0c"},markBG:{type:"string"},markBGOpacity:{type:"number",default:1},markPadding:{type:"array",default:[0,0,0,0]},markPaddingControl:{type:"string",default:"linked"},markBorder:{type:"string"},markBorderOpacity:{type:"number",default:1},markBorderWidth:{type:"number",default:0},markBorderStyle:{type:"string",default:"solid"},anchor:{type:"string"}},save:e=>{let{attributes:t}=e;const{anchor:l,align:a,level:i,content:o,color:n,uniqueID:r,letterSpacing:c,topMargin:s,bottomMargin:d,marginType:m,className:p,kadenceAnimation:g,kadenceAOSOptions:u}=t,h="h"+i,v=m||"px";let k=l||"kt-adv-heading"+r;const y=!(!g||"reveal-left"!==g&&"reveal-right"!==g&&"reveal-up"!==g&&"reveal-down"!==g),f=!(!l&&!y);k=y&&!l?"kt-adv-inner-heading"+r:"kt-adv-heading"+r;const O=p?`${p} ${$d("kadence/advancedheading")}`:$d("kadence/advancedheading"),j=Object(b.createElement)(Ce.RichText.Content,{tagName:h,id:k,className:`kt-adv-heading${r} ${O}`,"data-aos":g||void 0,"data-aos-offset":u&&u[0]&&u[0].offset?u[0].offset:void 0,"data-aos-duration":u&&u[0]&&u[0].duration?u[0].duration:void 0,"data-aos-delay":u&&u[0]&&u[0].delay?u[0].delay:void 0,"data-aos-easing":u&&u[0]&&u[0].easing?u[0].easing:void 0,"data-aos-once":u&&u[0]&&void 0!==u[0].once&&""!==u[0].once?u[0].once:void 0,style:{textAlign:a,color:n,letterSpacing:c?c+"px":void 0,marginTop:s?s+v:void 0,marginBottom:d?d+v:void 0},value:o});return Object(b.createElement)(Dd,null,f&&Object(b.createElement)("div",{id:"kt-adv-heading"+r,className:"kadence-advanced-heading-wrapper"+(y?" kadence-heading-clip-animation":"")},j),!f&&j)}},{attributes:{content:{type:"array",source:"children",selector:"h1,h2,h3,h4,h5,h6"},level:{type:"number",default:2},uniqueID:{type:"string"},align:{type:"string"},color:{type:"string"},size:{type:"number"},sizeType:{type:"string",default:"px"},lineHeight:{type:"number"},lineType:{type:"string",default:"px"},tabSize:{type:"number"},tabLineHeight:{type:"number"},mobileSize:{type:"number"},mobileLineHeight:{type:"number"},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"},topMargin:{type:"number",default:""},bottomMargin:{type:"number",default:""},marginType:{type:"string",default:"px"},markSize:{type:"array",default:["","",""]},markSizeType:{type:"string",default:"px"},markLineHeight:{type:"array",default:["","",""]},markLineType:{type:"string",default:"px"},markLetterSpacing:{type:"number"},markTypography:{type:"string",default:""},markGoogleFont:{type:"boolean",default:!1},markLoadGoogleFont:{type:"boolean",default:!0},markFontSubset:{type:"string",default:""},markFontVariant:{type:"string",default:""},markFontWeight:{type:"string",default:"regular"},markFontStyle:{type:"string",default:"normal"},markColor:{type:"string",default:"#f76a0c"},markBG:{type:"string"},markBGOpacity:{type:"number",default:1},markPadding:{type:"array",default:[0,0,0,0]},markPaddingControl:{type:"string",default:"linked"},markBorder:{type:"string"},markBorderOpacity:{type:"number",default:1},markBorderWidth:{type:"number",default:0},markBorderStyle:{type:"string",default:"solid"}},save:e=>{let{attributes:t}=e;const{align:l,level:a,content:i,color:o,uniqueID:n,letterSpacing:r,topMargin:c,bottomMargin:s,marginType:d}=t,m="h"+a,p=d||"px";return Object(b.createElement)(Ce.RichText.Content,{tagName:m,id:"kt-adv-heading"+n,style:{textAlign:l,color:o,letterSpacing:r?r+"px":void 0,marginTop:c?c+p:void 0,marginBottom:s?s+p:void 0},value:i})}},{attributes:{content:{type:"array",source:"children",selector:"h1,h2,h3,h4,h5,h6"},level:{type:"number",default:2},uniqueID:{type:"string"},align:{type:"string"},color:{type:"string"},size:{type:"number"},sizeType:{type:"string",default:"px"},lineHeight:{type:"number"},lineType:{type:"string",default:"px"},tabSize:{type:"number"},tabLineHeight:{type:"number"},mobileSize:{type:"number"},mobileLineHeight:{type:"number"},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"}},save:e=>{let{attributes:t}=e;const{align:l,level:a,content:i,color:o,uniqueID:n,letterSpacing:r}=t,c="h"+a;return Object(b.createElement)(Ce.RichText.Content,{tagName:c,id:"kt-adv-heading"+n,style:{textAlign:l,color:o,letterSpacing:r?r+"px":void 0},value:i})}}];const{registerBlockType:Vd,createBlock:Zd,getBlockDefaultClassName:Gd}=wp.blocks,{Fragment:qd}=wp.element;Vd("kadence/advancedheading",{title:Object(m.__)("Advanced Text","kadence-blocks"),description:Object(m.__)("Create a heading or paragraph and define sizes for desktop, tablet and mobile along with font family, colors, etc.","kadence-blocks"),icon:{src:Rs.block},category:"kadence-blocks",keywords:[Object(m.__)("title","kadence-blocks"),Object(m.__)("heading","kadence-blocks"),Object(m.__)("text","kadence-blocks"),"kb"],supports:{ktanimate:!0,ktanimatereveal:!0,ktanimatepreview:!0,ktdynamic:!0},usesContext:["postId","queryId"],attributes:{content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6,p.wp-block-kadence-advancedheading,span.wp-block-kadence-advancedheading,div.wp-block-kadence-advancedheading"},level:{type:"number",default:2},uniqueID:{type:"string"},align:{type:"string"},color:{type:"string"},size:{type:"number"},sizeType:{type:"string",default:"px"},lineHeight:{type:"number"},lineType:{type:"string",default:"px"},tabSize:{type:"number"},tabLineHeight:{type:"number"},mobileSize:{type:"number"},mobileLineHeight:{type:"number"},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:""},fontStyle:{type:"string",default:"normal"},topMargin:{type:"number",default:""},bottomMargin:{type:"number",default:""},leftMargin:{type:"number",default:""},rightMargin:{type:"number",default:""},marginType:{type:"string",default:"px"},tabletMargin:{type:"array",default:["","","",""]},mobileMargin:{type:"array",default:["","","",""]},tabletMarginType:{type:"string",default:"px"},mobileMarginType:{type:"string",default:"px"},paddingType:{type:"string",default:"px"},padding:{type:"array",default:["","","",""]},tabletPadding:{type:"array",default:["","","",""]},mobilePadding:{type:"array",default:["","","",""]},markSize:{type:"array",default:["","",""]},markSizeType:{type:"string",default:"px"},markLineHeight:{type:"array",default:["","",""]},markLineType:{type:"string",default:"px"},markLetterSpacing:{type:"number"},markTypography:{type:"string",default:""},markGoogleFont:{type:"boolean",default:!1},markLoadGoogleFont:{type:"boolean",default:!0},markFontSubset:{type:"string",default:""},markFontVariant:{type:"string",default:""},markFontWeight:{type:"string",default:""},markFontStyle:{type:"string",default:"normal"},markColor:{type:"string",default:"#f76a0c"},markBG:{type:"string"},markBGOpacity:{type:"number",default:1},markPadding:{type:"array",default:[0,0,0,0]},markTabPadding:{type:"array",default:["","","",""]},markMobilePadding:{type:"array",default:["","","",""]},markPaddingControl:{type:"string",default:"linked"},markBorder:{type:"string"},markBorderOpacity:{type:"number",default:1},markBorderWidth:{type:"number",default:0},markBorderStyle:{type:"string",default:"solid"},textTransform:{type:"string",default:""},markTextTransform:{type:"string",default:""},anchor:{type:"string"},colorClass:{type:"string"},tabletAlign:{type:"string"},mobileAlign:{type:"string"},textShadow:{type:"array",default:[{enable:!1,color:"rgba(0, 0, 0, 0.2)",blur:1,hOffset:1,vOffset:1}]},htmlTag:{type:"string",default:"heading"},loadItalic:{type:"boolean",default:!1},link:{type:"string"},linkTarget:{type:"boolean",default:!1},linkNoFollow:{type:"boolean",default:!1},linkSponsored:{type:"boolean",default:!1},background:{type:"string"},backgroundColorClass:{type:"string"},linkStyle:{type:"string"},linkColor:{type:"string"},linkHoverColor:{type:"string"},inQueryBlock:{type:"bool",default:!1}},transforms:{from:[{type:"block",blocks:["core/paragraph"],transform:e=>{let{content:t}=e;return Zd("kadence/advancedheading",{content:t})}},{type:"block",blocks:["core/heading"],transform:e=>{let{content:t,level:l}=e;return Zd("kadence/advancedheading",{content:t,level:l})}}],to:[{type:"block",blocks:["core/paragraph"],transform:e=>{let{content:t}=e;return Zd("core/paragraph",{content:t})}},{type:"block",blocks:["core/heading"],transform:e=>{let{content:t,level:l}=e;return Zd("core/heading",{content:t,level:l})}}]},edit:Wd,save:e=>{const{attributes:{anchor:t,level:l,content:a,colorClass:i,color:o,textShadow:n,letterSpacing:r,topMargin:c,bottomMargin:s,marginType:d,align:m,uniqueID:p,className:g,kadenceAnimation:u,kadenceAOSOptions:h,htmlTag:v,link:k,linkNoFollow:y,linkSponsored:f,linkTarget:O,backgroundColorClass:j,linkStyle:_}}=e,w=v&&"heading"!==v?v:"h"+l,x=Object(Ce.getColorClassName)("color",i),E=Object(Ce.getColorClassName)("background-color",j),S=!(!u||"reveal-left"!==u&&"reveal-right"!==u&&"reveal-up"!==u&&"reveal-down"!==u),C=!!S,T=xt()({["kt-adv-heading"+p]:p,[g]:!C&&!k&&g,[Gd("kadence/advancedheading")]:Gd("kadence/advancedheading"),[x]:x,"has-text-color":x,[E]:E,"has-background":E,["hls-"+_]:!k&&_});let N;O&&(N="noopener noreferrer"),void 0!==y&&!0===y&&(N=N?N.concat(" nofollow"):"nofollow"),void 0!==f&&!0===f&&(N=N?N.concat(" sponsored"):"sponsored");const z=Object(b.createElement)(Ce.RichText.Content,{tagName:w,id:t||void 0,className:T,"data-kb-block":"kb-adv-heading"+p,"data-aos":u||void 0,"data-aos-offset":h&&h[0]&&h[0].offset?h[0].offset:void 0,"data-aos-duration":h&&h[0]&&h[0].duration?h[0].duration:void 0,"data-aos-delay":h&&h[0]&&h[0].delay?h[0].delay:void 0,"data-aos-easing":h&&h[0]&&h[0].easing?h[0].easing:void 0,"data-aos-once":h&&h[0]&&void 0!==h[0].once&&""!==h[0].once?h[0].once:void 0,value:a}),M=Object(b.createElement)("a",{href:k,className:`kb-advanced-heading-link kt-adv-heading-link${p}${!C&&g?" "+g:""}${_?" hls-"+_:""}`,target:O?"_blank":void 0,rel:N||void 0},z),I=k?M:z;return Object(b.createElement)(qd,null,C&&Object(b.createElement)("div",{className:`kb-adv-heading-wrap${p} kadence-advanced-heading-wrapper${S?" kadence-heading-clip-animation":""}${g?" "+g:""}`},I),!C&&I)},deprecated:Ud});var Kd={uniqueID:{type:"string",default:""},tabCount:{type:"number",default:3},layout:{type:"string",default:"tabs"},mobileLayout:{type:"string",default:"inherit"},tabletLayout:{type:"string",default:"inherit"},currentTab:{type:"number",default:1},minHeight:{type:"number",default:""},maxWidth:{type:"number",default:""},contentBgColor:{type:"string",default:""},contentBorderColor:{type:"string",default:""},contentBorder:{type:"array",default:[1,1,1,1]},contentBorderRadius:{type:"array",default:[0,0,0,0]},contentBorderControl:{type:"string",default:"linked"},innerPadding:{type:"array",default:[20,20,20,20]},innerPaddingControl:{type:"string",default:"linked"},innerPaddingM:{type:"array"},tabAlignment:{type:"string",default:"left"},blockAlignment:{type:"string",default:"none"},titles:{type:"array",default:[{text:Object(m.__)("Tab 1","kadence-blocks"),icon:"",iconSide:"right",onlyIcon:!1,subText:"",anchor:""},{text:Object(m.__)("Tab 2","kadence-blocks"),icon:"",iconSide:"right",onlyIcon:!1,subText:"",anchor:""},{text:Object(m.__)("Tab 3","kadence-blocks"),icon:"",iconSide:"right",onlyIcon:!1,subText:"",anchor:""}]},iSize:{type:"number",default:14},titleColor:{type:"string"},titleColorHover:{type:"string"},titleColorActive:{type:"string"},titleBg:{type:"string"},titleBgHover:{type:"string"},titleBgActive:{type:"string",default:"#ffffff"},titleBorder:{type:"string"},titleBorderHover:{type:"string"},titleBorderActive:{type:"string"},titleBorderWidth:{type:"array"},titleBorderControl:{type:"string",default:"individual"},titleBorderRadius:{type:"array"},titleBorderRadiusControl:{type:"string",default:"individual"},titlePadding:{type:"array"},titlePaddingControl:{type:"string",default:"individual"},titleMargin:{type:"array"},titleMarginControl:{type:"string",default:"individual"},size:{type:"number"},sizeType:{type:"string",default:"px"},lineHeight:{type:"number"},lineType:{type:"string",default:"px"},tabSize:{type:"number"},tabLineHeight:{type:"number"},mobileSize:{type:"number"},mobileLineHeight:{type:"number"},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"},textTransform:{type:"string"},fontStyle:{type:"string",default:"normal"},startTab:{type:"number",default:""},showPresets:{type:"bool",default:!0},subtitleFont:{type:"array",default:[{size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",textTransform:"",family:"",google:!1,style:"",weight:"",variant:"",subset:"",loadGoogle:!0,padding:[0,0,0,0],paddingControl:"linked",margin:[0,0,0,0],marginControl:"linked"}]},enableSubtitle:{type:"bool",default:!1},widthType:{type:"string",default:"normal"},tabWidth:{type:"array",default:[4,"",""]},gutter:{type:"array",default:[10,"",""]}};const{createBlock:Qd}=wp.blocks,{Component:Jd,Fragment:Yd}=wp.element,{InnerBlocks:Xd,InspectorControls:eb,RichText:tb,BlockControls:lb,AlignmentToolbar:ab,BlockAlignmentToolbar:ib}=wp.blockEditor,{Button:ob,ButtonGroup:nb,Tooltip:rb,TabPanel:cb,IconButton:sb,Dashicon:db,RangeControl:bb,ToggleControl:mb,SelectControl:pb,TextControl:gb}=wp.components,{applyFilters:ub}=wp.hooks,hb=["kadence/tab"],vb=/[\s#]/g,kb=Wl()(e=>io()(e,e=>["kadence/tab",{id:e+1}])),yb=[];var fb=Object(w.compose)([Object(a.withSelect)((e,t)=>{const{clientId:l}=t,{getBlock:a,getBlockOrder:i}=e("core/block-editor"),o=a(l);return{tabsBlock:o,realTabsCount:o.innerBlocks.length,tabsInner:i(l)}}),Object(a.withDispatch)((e,t,l)=>{let{clientId:a}=t,{select:i}=l;const{getBlock:o,getBlocks:n}=i("core/block-editor"),{moveBlockToPosition:r,updateBlockAttributes:c,insertBlock:s,replaceInnerBlocks:d}=e("core/block-editor"),b=o(a),m=n(a);return{resetOrder(){io()(b.innerBlocks.length,e=>{c(b.innerBlocks[e].clientId,{id:e+1})})},moveTab(e,t){m.splice(t,0,m.splice(e,1)[0]),d(a,m)},insertTab(e){s(e,parseInt(b.innerBlocks.length),a)},removeTab(e){m.splice(e,1),d(a,m)}}})])(class extends Jd{constructor(){super(...arguments),this.showSettings=this.showSettings.bind(this),this.onMoveForward=this.onMoveForward.bind(this),this.onMoveBack=this.onMoveBack.bind(this),this.state={contentBorderRadiusControl:"individual",hovered:"false",showPreset:!1,user:kadence_blocks_params.userrole?kadence_blocks_params.userrole:"admin",settings:{}}}componentDidMount(){if(this.props.attributes.uniqueID)yb.includes(this.props.attributes.uniqueID)?(this.props.attributes.uniqueID="_"+this.props.clientId.substr(2,9),yb.push("_"+this.props.clientId.substr(2,9))):yb.push(this.props.attributes.uniqueID);else{const e=kadence_blocks_params.config["kadence/tabs"],t=kadence_blocks_params.configuration?JSON.parse(kadence_blocks_params.configuration):[];void 0!==t["kadence/tabs"]&&"object"==typeof t["kadence/tabs"]?Object.keys(t["kadence/tabs"]).map(e=>{this.props.attributes[e]=t["kadence/tabs"][e]}):void 0!==e&&"object"==typeof e&&Object.keys(e).map(t=>{this.props.attributes[t]=e[t]}),this.props.attributes.showPresets&&this.setState({showPreset:!0}),this.props.setAttributes({uniqueID:"_"+this.props.clientId.substr(2,9)}),yb.push("_"+this.props.clientId.substr(2,9))}const e=kadence_blocks_params.settings?JSON.parse(kadence_blocks_params.settings):{};void 0!==e["kadence/tabs"]&&"object"==typeof e["kadence/tabs"]&&this.setState({settings:e["kadence/tabs"]})}showSettings(e){return void 0===this.state.settings[e]||"all"===this.state.settings[e]||"contributor"===this.state.settings[e]&&("contributor"===this.state.user||"author"===this.state.user||"editor"===this.state.user||"admin"===this.state.user)||"author"===this.state.settings[e]&&("author"===this.state.user||"editor"===this.state.user||"admin"===this.state.user)||"editor"===this.state.settings[e]&&("editor"===this.state.user||"admin"===this.state.user)||"admin"===this.state.settings[e]&&"admin"===this.state.user}saveArrayUpdate(e,t){const{attributes:l,setAttributes:a}=this.props,{titles:i}=l;a({titles:i.map((l,a)=>(t===a&&(l={...l,...e}),l))})}onMove(e,t){const l=[...this.props.attributes.titles];l.splice(t,1,this.props.attributes.titles[e]),l.splice(e,1,this.props.attributes.titles[t]),this.props.setAttributes({titles:l,currentTab:parseInt(t+1)}),this.props.attributes.startTab===e+1?this.props.setAttributes({startTab:t+1}):this.props.attributes.startTab===t+1&&this.props.setAttributes({startTab:e+1}),this.props.moveTab(e,t),this.props.resetOrder(),this.props.setAttributes({currentTab:parseInt(t+1)})}onMoveForward(e){return()=>{e!==this.props.realTabsCount-1&&this.onMove(e,e+1)}}onMoveBack(e){return()=>{0!==e&&this.onMove(e,e-1)}}render(){const{attributes:{uniqueID:e,tabCount:t,blockAlignment:l,mobileLayout:a,currentTab:i,tabletLayout:o,layout:n,innerPadding:r,minHeight:c,maxWidth:s,titles:d,titleColor:p,titleColorHover:u,titleColorActive:h,titleBg:v,titleBgHover:y,titleBgActive:f,size:O,sizeType:j,lineType:_,lineHeight:w,tabLineHeight:x,tabSize:E,mobileSize:S,mobileLineHeight:C,letterSpacing:T,borderRadius:N,titleBorderWidth:z,titleBorderControl:M,titleBorder:I,titleBorderHover:H,titleBorderActive:B,typography:P,fontVariant:R,fontWeight:A,fontStyle:L,fontSubset:F,googleFont:W,loadGoogleFont:D,innerPaddingControl:U,contentBorder:V,contentBorderControl:Z,contentBorderColor:G,titlePadding:q,titlePaddingControl:K,titleMargin:Q,titleMarginControl:J,contentBgColor:Y,tabAlignment:X,titleBorderRadiusControl:ee,titleBorderRadius:te,iSize:le,startTab:ae,enableSubtitle:ie,subtitleFont:ne,tabWidth:re,gutter:ce,widthType:se,textTransform:de,contentBorderRadius:be},clientId:me,className:pe,setAttributes:ge}=this.props,{contentBorderRadiusControl:ue}=this.state,he=n||"tabs",ve=[{key:"px",name:Object(m.__)("px")},{key:"em",name:Object(m.__)("em")}],ke={google:{families:[P+(R?":"+R:"")]}},ye={google:{families:[(ne&&ne[0]&&ne[0].family?ne[0].family:"")+(ne&&ne[0]&&ne[0].variant?":"+ne[0].variant:"")]}},fe=ne&&ne[0]&&ne[0].google?ye:"",Oe=e=>{let t;t=void 0===ne||void 0!==ne&&void 0===ne[0]?[{size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",textTransform:"",family:"",google:!1,style:"",weight:"",variant:"",subset:"",loadGoogle:!0,padding:[0,0,0,0],paddingControl:"linked",margin:[0,0,0,0],marginControl:"linked"}]:ne;const l=t.map((t,l)=>(0===l&&(t={...t,...e}),t));ge({subtitleFont:l})},je=[{key:"skip",name:Object(m.__)("Skip"),icon:Object(m.__)("Skip")},{key:"simple",name:Object(m.__)("Simple"),icon:g.tabsSimple},{key:"boldbg",name:Object(m.__)("Boldbg"),icon:g.tabsBold},{key:"center",name:Object(m.__)("Center"),icon:g.tabsCenter},{key:"vertical",name:Object(m.__)("Vertical"),icon:g.tabsVertical}],_e=W?ke:"",we="em"===j?.2:5,xe="em"===j?12:200,Ee="em"===j?.1:1,Se="px"===_?5:.2,Ce="px"===_?200:12,Te="px"===_?1:.1,Ne=o||"inherit",ze=a||"inherit",Me=xt()(pe,`kt-tabs-wrap kt-tabs-id${e} kt-tabs-has-${t}-tabs kt-active-tab-${i} kt-tabs-layout-${he} kt-tabs-block kt-tabs-tablet-layout-${Ne} kt-tabs-mobile-layout-${ze} kt-tab-alignment-${X}`),Ie=[{key:"tabs",name:Object(m.__)("Tabs"),icon:g.tabs},{key:"vtabs",name:Object(m.__)("Vertical Tabs"),icon:g.vtabs},{key:"accordion",name:Object(m.__)("Accordion"),icon:g.accordion}],He=[{key:"tabs",name:Object(m.__)("Tabs"),icon:g.tabs},{key:"vtabs",name:Object(m.__)("Vertical Tabs"),icon:g.vtabs}],Be=Object(b.createElement)("div",null,Object(b.createElement)(Pt,{panelName:"kb-tabs-mobile-controls"},Object(b.createElement)("p",{className:"components-base-control__label"},Object(m.__)("Mobile Layout")),Object(b.createElement)(nb,{"aria-label":Object(m.__)("Mobile Layout")},k()(Ie,e=>{let{name:t,key:l,icon:i}=e;return Object(b.createElement)(rb,{text:t},Object(b.createElement)(ob,{key:l,className:"kt-layout-btn kt-tablayout",isSmall:!0,isPrimary:a===l,"aria-pressed":a===l,onClick:()=>ge({mobileLayout:l})},i))})))),Pe=Object(b.createElement)(Pt,{panelName:"kb-tabs-tablet-controls"},Object(b.createElement)("p",{className:"components-base-control__label"},Object(m.__)("Tablet Layout")),Object(b.createElement)(nb,{"aria-label":Object(m.__)("Tablet Layout")},k()(Ie,e=>{let{name:t,key:l,icon:a}=e;return Object(b.createElement)(rb,{text:t},Object(b.createElement)(ob,{key:l,className:"kt-layout-btn kt-tablayout",isSmall:!0,isPrimary:o===l,"aria-pressed":o===l,onClick:()=>ge({tabletLayout:l})},a))}))),Re=Object(b.createElement)(Yd,null,Object(b.createElement)(Pt,{panelName:"kb-tabs-desktop-controls"},Object(b.createElement)("p",{className:"components-base-control__label"},Object(m.__)("Layout")),Object(b.createElement)(nb,{"aria-label":Object(m.__)("Layout")},k()(He,e=>{let{name:t,key:l,icon:a}=e;return Object(b.createElement)(rb,{text:t},Object(b.createElement)(ob,{key:l,className:"kt-layout-btn kt-tablayout",isSmall:!0,isPrimary:n===l,"aria-pressed":n===l,onClick:()=>{ge({layout:l})}},a))})),Object(b.createElement)("h2",null,Object(m.__)("Set initial Open Tab")),Object(b.createElement)(nb,{"aria-label":Object(m.__)("initial Open Tab")},io()(t,e=>Object(b.createElement)(ob,{key:e+1,className:"kt-init-open-tab",isSmall:!0,isPrimary:ae===e+1,"aria-pressed":ae===e+1,onClick:()=>ge({startTab:e+1})},Object(m.__)("Tab")+" "+(e+1)))))),Ae=Object(b.createElement)(cb,{className:"kt-inspect-tabs",activeClass:"active-tab",tabs:[{name:"desk",title:Object(b.createElement)(db,{icon:"desktop"}),className:"kt-desk-tab"},{name:"tablet",title:Object(b.createElement)(db,{icon:"tablet"}),className:"kt-tablet-tab"},{name:"mobile",title:Object(b.createElement)(db,{icon:"smartphone"}),className:"kt-mobile-tab"}]},e=>{let t;return e.name&&(t="mobile"===e.name?Be:"tablet"===e.name?Pe:Re),Object(b.createElement)("div",{className:e.className,key:e.className},t)}),Le=e=>{const l=ne&&ne[0]&&void 0!==ne[0].sizeType?ne:[{size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",textTransform:"",family:"",google:!1,style:"",weight:"",variant:"",subset:"",loadGoogle:!0,padding:[0,0,0,0],paddingControl:"linked",margin:[0,0,0,0],marginControl:"linked"}];return Object(b.createElement)(Yd,null,Object(b.createElement)("li",{className:`kt-title-item kt-title-item-${e} kt-tabs-svg-show-${d[e]&&d[e].onlyIcon?"only":"always"} kt-tabs-icon-side-${d[e]&&d[e].iconSide?d[e].iconSide:"right"} kt-tabs-has-icon-${d[e]&&d[e].icon?"true":"false"} kt-tab-title-${1+e===i?"active":"inactive"}${ie?" kb-tabs-have-subtitle":""}`,style:{margin:Q?Q[0]+"px "+("tabs"===n&&"percent"===se?"0px ":Q[1]+"px ")+Q[2]+"px "+("tabs"===n&&"percent"===se?"0px ":Q[3]+"px "):""}},Object(b.createElement)("div",{className:"kt-tab-title kt-tab-title-"+(1+e),style:{backgroundColor:$c(v),color:$c(p),fontSize:O+j,lineHeight:w+_,fontWeight:A,fontStyle:L,letterSpacing:T+"px",textTransform:de||void 0,fontFamily:P||"",borderTopLeftRadius:N+"px",borderTopRightRadius:N+"px",borderWidth:z?z[0]+"px "+z[1]+"px "+z[2]+"px "+z[3]+"px":"",borderRadius:te?te[0]+"px "+te[1]+"px "+te[2]+"px "+te[3]+"px":"",padding:q?q[0]+"px "+q[1]+"px "+q[2]+"px "+q[3]+"px":"",borderColor:$c(I),marginRight:"tabs"===n&&"percent"===se?ce[0]+"px":void 0},onClick:()=>ge({currentTab:1+e}),onKeyPress:()=>ge({currentTab:1+e}),tabIndex:"0",role:"button"},d[e]&&d[e].icon&&"right"!==d[e].iconSide&&Object(b.createElement)(ot,{className:`kt-tab-svg-icon kt-tab-svg-icon-${d[e].icon} kt-title-svg-side-${d[e].iconSide}`,name:d[e].icon,size:le||"14",htmltag:"span"}),(void 0===ie||!ie)&&Object(b.createElement)(tb,{tagName:"div",placeholder:Object(m.__)("Tab Title","kadence-blocks"),value:d[e]&&d[e].text?d[e].text:"",unstableOnFocus:()=>ge({currentTab:1+e}),onChange:t=>{this.saveArrayUpdate({text:t},e)},allowedFormats:ub("kadence.whitelist_richtext_formats",["kadence/insert-dynamic","core/bold","core/italic","core/strikethrough","toolset/inline-field"]),className:"kt-title-text",style:{lineHeight:w+_},keepPlaceholderOnFocus:!0}),ie&&Object(b.createElement)("div",{className:"kb-tab-titles-wrap"},Object(b.createElement)(tb,{tagName:"div",placeholder:Object(m.__)("Tab Title","kadence-blocks"),value:d[e]&&d[e].text?d[e].text:"",unstableOnFocus:()=>ge({currentTab:1+e}),onChange:t=>{this.saveArrayUpdate({text:t},e)},allowedFormats:ub("kadence.whitelist_richtext_formats",["kadence/insert-dynamic","core/bold","core/italic","core/strikethrough","toolset/inline-field"]),className:"kt-title-text",style:{lineHeight:w+_},keepPlaceholderOnFocus:!0}),Object(b.createElement)(tb,{tagName:"div",placeholder:Object(m.__)("Tab subtitle","kadence-blocks"),value:void 0!==d[e]&&void 0!==d[e].subText?d[e].subText:"",unstableOnFocus:()=>ge({currentTab:1+e}),onChange:t=>{this.saveArrayUpdate({subText:t},e)},allowedFormats:ub("kadence.whitelist_richtext_formats",["kadence/insert-dynamic","core/bold","core/italic","core/strikethrough","toolset/inline-field"]),className:"kt-title-sub-text",style:{fontWeight:l[0].weight,fontStyle:l[0].style,fontSize:l[0].size[0]+l[0].sizeType,lineHeight:l[0].lineHeight&&l[0].lineHeight[0]?l[0].lineHeight[0]+l[0].lineType:void 0,textTransform:l[0].textTransform?l[0].textTransform:void 0,letterSpacing:l[0].letterSpacing+"px",fontFamily:l[0].family?l[0].family:"",padding:l[0].padding?l[0].padding[0]+"px "+l[0].padding[1]+"px "+l[0].padding[2]+"px "+l[0].padding[3]+"px":"",margin:l[0].margin?l[0].margin[0]+"px "+l[0].margin[1]+"px "+l[0].margin[2]+"px "+l[0].margin[3]+"px":""},keepPlaceholderOnFocus:!0})),d[e]&&d[e].icon&&"right"===d[e].iconSide&&Object(b.createElement)(ot,{className:`kt-tab-svg-icon kt-tab-svg-icon-${d[e].icon} kt-title-svg-side-${d[e].iconSide}`,name:d[e].icon,size:le||"14",htmltag:"span"})),Object(b.createElement)("div",{className:"kadence-blocks-tab-item__control-menu"},0!==e&&Object(b.createElement)(sb,{icon:"vtabs"===n?"arrow-up":"arrow-left",onClick:0===e?void 0:this.onMoveBack(e),className:"kadence-blocks-tab-item__move-back",label:"vtabs"===n?Object(m.__)("Move Item Up","kadence-blocks"):Object(m.__)("Move Item Back","kadence-blocks"),"aria-disabled":0===e,disabled:0===e}),e+1!==t&&Object(b.createElement)(sb,{icon:"vtabs"===n?"arrow-down":"arrow-right",onClick:e+1===t?void 0:this.onMoveForward(e),className:"kadence-blocks-tab-item__move-forward",label:"vtabs"===n?Object(m.__)("Move Item Down","kadence-blocks"):Object(m.__)("Move Item Forward","kadence-blocks"),"aria-disabled":e+1===t,disabled:e+1===t}),t>1&&Object(b.createElement)(ob,{icon:"no-alt",onClick:()=>{this.props.tabsBlock.innerBlocks[e].clientId;const l=Co()(this.props.attributes.titles,(t,l)=>e!==l),a=t-1;let i;i=ae===e+1?"":ae>e+1?ae-1:ae,this.props.removeTab(e),ge({titles:l,tabCount:a,currentTab:0===e?1:e,startTab:i}),this.props.resetOrder()},className:"kadence-blocks-tab-item__remove",label:Object(m.__)("Remove Item","kadence-blocks"),disabled:!i===e+1}))))},Fe=Object(b.createElement)(Yd,null,io()(t,e=>Le(e))),We=e=>Object(b.createElement)(Pt,{title:Object(m.__)("Tab","kadence-blocks")+" "+(e+1)+" "+Object(m.__)("Anchor","kadence-blocks"),initialOpen:!1,panelName:"kb-tab-anchor-"+e},Object(b.createElement)(gb,{label:Object(m.__)("HTML Anchor","kadence-blocks"),help:Object(m.__)("Anchors lets you link directly to a tab.","kadence-blocks"),value:d[e]&&d[e].anchor?d[e].anchor:"",onChange:t=>{t=t.replace(vb,"-"),this.saveArrayUpdate({anchor:t},e)}})),$e=e=>Object(b.createElement)(Pt,{title:Object(m.__)("Tab","kadence-blocks")+" "+(e+1)+" "+Object(m.__)("Icon","kadence-blocks"),initialOpen:!1,panelName:"kb-tab-icon-"+e},Object(b.createElement)(st,{value:d[e]&&d[e].icon?d[e].icon:"",onChange:t=>{this.saveArrayUpdate({icon:t},e)}}),Object(b.createElement)(pb,{label:Object(m.__)("Icon Location","kadence-blocks"),value:d[e]&&d[e].iconSide?d[e].iconSide:"right",options:[{value:"right",label:Object(m.__)("Right","kadence-blocks")},{value:"left",label:Object(m.__)("Left","kadence-blocks")},{value:"top",label:Object(m.__)("Top","kadence-blocks")}],onChange:t=>{this.saveArrayUpdate({iconSide:t},e)}}),Object(b.createElement)(mb,{label:Object(m.__)("Show Only Icon?","kadence-blocks"),checked:!(!d[e]||!d[e].onlyIcon)&&d[e].onlyIcon,onChange:t=>{this.saveArrayUpdate({onlyIcon:t},e)}})),Ue=Object(b.createElement)(Yd,null,Object(b.createElement)(De,{label:Object(m.__)("Title Color","kadence-blocks"),value:p||"",default:"#444444",onChange:e=>ge({titleColor:e})}),Object(b.createElement)(De,{label:Object(m.__)("Title Background","kadence-blocks"),value:v||"",default:"",onChange:e=>ge({titleBg:e})}),Object(b.createElement)(De,{label:Object(m.__)("Title Border Color","kadence-blocks"),value:I||"",default:"",onChange:e=>ge({titleBorder:e})})),Ve=Object(b.createElement)(Yd,null,Object(b.createElement)(De,{label:Object(m.__)("Hover Color","kadence-blocks"),value:u||"",default:"#222222",onChange:e=>ge({titleColorHover:e})}),Object(b.createElement)(De,{label:Object(m.__)("Hover Background","kadence-blocks"),value:y||"",default:"#e2e2e2",onChange:e=>ge({titleBgHover:e})}),Object(b.createElement)(De,{label:Object(m.__)("Hover Border Color","kadence-blocks"),value:H||"",default:"#eeeeee",onChange:e=>ge({titleBorderHover:e})})),Ze=Object(b.createElement)(Yd,null,Object(b.createElement)(De,{label:Object(m.__)("Active Color","kadence-blocks"),value:h||"",default:"#222222",onChange:e=>ge({titleColorActive:e})}),Object(b.createElement)(De,{label:Object(m.__)("Active Background","kadence-blocks"),value:f||"",default:"#eeeeee",onChange:e=>ge({titleBgActive:e})}),Object(b.createElement)(De,{label:Object(m.__)("Active Border Color","kadence-blocks"),value:B||"",default:"#eeeeee",onChange:e=>ge({titleBorderActive:e})})),Ge=Object(b.createElement)(Pt,{panelName:"kb-tab-size-desktop-controls"},Object(b.createElement)(nb,{className:"kt-size-type-options","aria-label":Object(m.__)("Size Type","kadence-blocks")},k()(ve,e=>{let{name:t,key:l}=e;return Object(b.createElement)(ob,{key:l,className:"kt-size-btn",isSmall:!0,isPrimary:j===l,"aria-pressed":j===l,onClick:()=>ge({sizeType:l})},t)})),Object(b.createElement)(bb,{label:Object(m.__)("Font Size","kadence-blocks"),value:O||"",onChange:e=>ge({size:e}),min:we,max:xe,step:Ee}),Object(b.createElement)(nb,{className:"kt-size-type-options","aria-label":Object(m.__)("Size Type","kadence-blocks")},k()(ve,e=>{let{name:t,key:l}=e;return Object(b.createElement)(ob,{key:l,className:"kt-size-btn",isSmall:!0,isPrimary:_===l,"aria-pressed":_===l,onClick:()=>ge({lineType:l})},t)})),Object(b.createElement)(bb,{label:Object(m.__)("Line Height","kadence-blocks"),value:w||"",onChange:e=>ge({lineHeight:e}),min:Se,max:Ce,step:Te})),qe=Object(b.createElement)(Pt,{panelName:"kb-tabs-size-tablet-controls"},Object(b.createElement)(nb,{className:"kt-size-type-options","aria-label":Object(m.__)("Size Type","kadence-blocks")},k()(ve,e=>{let{name:t,key:l}=e;return Object(b.createElement)(ob,{key:l,className:"kt-size-btn",isSmall:!0,isPrimary:j===l,"aria-pressed":j===l,onClick:()=>ge({sizeType:l})},t)})),Object(b.createElement)(bb,{label:Object(m.__)("Tablet Font Size","kadence-blocks"),value:E||"",onChange:e=>ge({tabSize:e}),min:we,max:xe,step:Ee}),Object(b.createElement)(nb,{className:"kt-size-type-options","aria-label":Object(m.__)("Size Type","kadence-blocks")},k()(ve,e=>{let{name:t,key:l}=e;return Object(b.createElement)(ob,{key:l,className:"kt-size-btn",isSmall:!0,isPrimary:_===l,"aria-pressed":_===l,onClick:()=>ge({lineType:l})},t)})),Object(b.createElement)(bb,{label:Object(m.__)("Tablet Line Height","kadence-blocks"),value:x||"",onChange:e=>ge({tabLineHeight:e}),min:Se,max:Ce,step:Te})),Ke=Object(b.createElement)(Pt,{panelName:"kb-tabs-size-mobile-controls"},Object(b.createElement)(nb,{className:"kt-size-type-options","aria-label":Object(m.__)("Size Type","kadence-blocks")},k()(ve,e=>{let{name:t,key:l}=e;return Object(b.createElement)(ob,{key:l,className:"kt-size-btn",isSmall:!0,isPrimary:j===l,"aria-pressed":j===l,onClick:()=>ge({sizeType:l})},t)})),Object(b.createElement)(bb,{label:Object(m.__)("Mobile Font Size","kadence-blocks"),value:S||"",onChange:e=>ge({mobileSize:e}),min:we,max:xe,step:Ee}),Object(b.createElement)(nb,{className:"kt-size-type-options","aria-label":Object(m.__)("Size Type","kadence-blocks")},k()(ve,e=>{let{name:t,key:l}=e;return Object(b.createElement)(ob,{key:l,className:"kt-size-btn",isSmall:!0,isPrimary:_===l,"aria-pressed":_===l,onClick:()=>ge({lineType:l})},t)})),Object(b.createElement)(bb,{label:Object(m.__)("Mobile Line Height","kadence-blocks"),value:C||"",onChange:e=>ge({mobileLineHeight:e}),min:Se,max:Ce,step:Te})),Qe=Object(b.createElement)(cb,{className:"kt-size-tabs",activeClass:"active-tab",tabs:[{name:"desk",title:Object(b.createElement)(db,{icon:"desktop"}),className:"kt-desk-tab"},{name:"tablet",title:Object(b.createElement)(db,{icon:"tablet"}),className:"kt-tablet-tab"},{name:"mobile",title:Object(b.createElement)(db,{icon:"smartphone"}),className:"kt-mobile-tab"}]},e=>{let t;return e.name&&(t="mobile"===e.name?Ke:"tablet"===e.name?qe:Ge),Object(b.createElement)("div",{className:e.className,key:e.className},t)}),Je=Object(b.createElement)("style",null,`.kt-tabs-id${e} .kt-title-item:hover .kt-tab-title {\n\t\t\t\t\tcolor: ${$c(u)} !important;\n\t\t\t\t\tborder-color: ${$c(H)} !important;\n\t\t\t\t\tbackground-color: ${$c(y)} !important;\n\t\t\t\t}\n\t\t\t\t.kt-tabs-id${e} .kt-title-item.kt-tab-title-active .kt-tab-title, .kt-tabs-id${e} .kt-title-item.kt-tab-title-active:hover .kt-tab-title {\n\t\t\t\t\tcolor: ${$c(h)} !important;\n\t\t\t\t\tborder-color: ${$c(B)} !important;\n\t\t\t\t\tbackground-color: ${$c(f)} !important;\n\t\t\t\t}`);return Object(b.createElement)(Yd,null,Je,Object(b.createElement)(lb,null,Object(b.createElement)(ib,{value:l,controls:["center","wide","full"],onChange:e=>ge({blockAlignment:e})}),Object(b.createElement)(ab,{value:X,onChange:e=>{ge({tabAlignment:e})}})),this.showSettings("allSettings")&&Object(b.createElement)(eb,null,this.showSettings("tabLayout")&&Ae,!this.showSettings("tabLayout")&&Object(b.createElement)(Pt,{panelName:"kb-tab-layout"},Object(b.createElement)("h2",null,Object(m.__)("Set Initial Open Tab","kadence-blocks")),Object(b.createElement)(nb,{"aria-label":Object(m.__)("Initial Open Tab","kadence-blocks")},io()(t,e=>Object(b.createElement)(ob,{key:e+1,className:"kt-init-open-tab",isSmall:!0,isPrimary:ae===e+1,"aria-pressed":ae===e+1,onClick:()=>ge({startTab:e+1})},Object(m.__)("Tab")+" "+(e+1))))),this.showSettings("tabContent")&&Object(b.createElement)(Pt,{title:Object(m.__)("Content Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-tab-content-settings"},Object(b.createElement)(De,{label:Object(m.__)("Content Background","kadence-blocks"),value:Y||"",default:"",onChange:e=>ge({contentBgColor:e})}),Object(b.createElement)($,{label:Object(m.__)("Inner Content Padding (px)","kadence-blocks"),measurement:r,control:U,onChange:e=>ge({innerPadding:e}),onControl:e=>ge({innerPaddingControl:e}),min:0,max:100,step:1}),Object(b.createElement)(De,{label:Object(m.__)("Border Color","kadence-blocks"),value:G||"",default:"",onChange:e=>ge({contentBorderColor:e})}),Object(b.createElement)($,{label:Object(m.__)("Content Border Width (px)","kadence-blocks"),measurement:V,control:Z,onChange:e=>ge({contentBorder:e}),onControl:e=>ge({contentBorderControl:e}),min:0,max:100,step:1}),Object(b.createElement)($,{label:Object(m.__)("Content Border Radius (px)","kadence-blocks"),measurement:be,control:ue,onChange:e=>ge({contentBorderRadius:e}),onControl:e=>{this.setState({contentBorderRadiusControl:e})},min:0,max:100,step:1,controlTypes:[{key:"linked",name:Object(m.__)("Linked","kadence-blocks"),icon:g.radiuslinked},{key:"individual",name:Object(m.__)("Individual","kadence-blocks"),icon:g.radiusindividual}],firstIcon:g.topleft,secondIcon:g.topright,thirdIcon:g.bottomright,fourthIcon:g.bottomleft})),this.showSettings("titleColor")&&Object(b.createElement)(Pt,{title:Object(m.__)("Tab Title Color Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-tab-title-color"},Object(b.createElement)(cb,{className:"kt-inspect-tabs kt-no-ho-ac-tabs kt-hover-tabs",activeClass:"active-tab",tabs:[{name:"normal",title:Object(m.__)("Normal"),className:"kt-normal-tab"},{name:"hover",title:Object(m.__)("Hover"),className:"kt-hover-tab"},{name:"active",title:Object(m.__)("Active"),className:"kt-active-tab"}]},e=>{let t;return e.name&&(t="hover"===e.name?Ve:"active"===e.name?Ze:Ue),Object(b.createElement)("div",{className:e.className,key:e.className},t)})),this.showSettings("titleSpacing")&&Object(b.createElement)(Pt,{title:Object(m.__)("Tab Title Width/Spacing/Border","kadence-blocks"),initialOpen:!1,panelName:"kb-tab-title-spacing"},"tabs"===n&&Object(b.createElement)(Yd,null,Object(b.createElement)("h2",null,Object(m.__)("Tab Title Width","kadence-blocks")),Object(b.createElement)(cb,{className:"kt-inspect-tabs kt-hover-tabs",activeClass:"active-tab",initialTabName:se,onSelect:e=>ge({widthType:e}),tabs:[{name:"normal",title:Object(m.__)("Normal"),className:"kt-normal-tab"},{name:"percent",title:Object(m.__)("% Width"),className:"kt-hover-tab"}]},e=>{let t;return e.name&&(t="percent"===e.name?Object(b.createElement)(Yd,null,Object(b.createElement)(cb,{className:"kt-size-tabs kb-device-choice",activeClass:"active-tab",tabs:[{name:"desk",title:Object(b.createElement)(db,{icon:"desktop"}),className:"kt-desk-tab"},{name:"tablet",title:Object(b.createElement)(db,{icon:"tablet"}),className:"kt-tablet-tab"},{name:"mobile",title:Object(b.createElement)(db,{icon:"smartphone"}),className:"kt-mobile-tab"}]},e=>{let t;return e.name&&(t="mobile"===e.name?Object(b.createElement)(Yd,null,Object(b.createElement)(bb,{label:Object(m.__)("Mobile Columns","kadence-blocks"),value:re&&void 0!==re[2]?re[2]:"",onChange:e=>ge({tabWidth:[re[0],re[1],e]}),min:1,max:8,step:1}),Object(b.createElement)(bb,{label:Object(m.__)("Mobile Gutter","kadence-blocks"),value:ce&&void 0!==ce[2]?ce[2]:"",onChange:e=>ge({gutter:[ce[0],ce[1],e]}),min:0,max:50,step:1})):"tablet"===e.name?Object(b.createElement)(Yd,null,Object(b.createElement)(bb,{label:Object(m.__)("Tablet Columns","kadence-blocks"),value:re&&void 0!==re[1]?re[1]:"",onChange:e=>ge({tabWidth:[re[0],e,re[2]]}),min:1,max:8,step:1}),Object(b.createElement)(bb,{label:Object(m.__)("Tablet Gutter","kadence-blocks"),value:ce&&void 0!==ce[1]?ce[1]:"",onChange:e=>ge({gutter:[ce[0],e,ce[2]]}),min:0,max:50,step:1})):Object(b.createElement)(Yd,null,Object(b.createElement)(bb,{label:Object(m.__)("Columns","kadence-blocks"),value:re&&void 0!==re[0]?re[0]:"",onChange:e=>ge({tabWidth:[e,re[1],re[2]]}),min:1,max:8,step:1}),Object(b.createElement)(bb,{label:Object(m.__)("Gutter","kadence-blocks"),value:ce&&void 0!==ce[0]?ce[0]:"",onChange:e=>ge({gutter:[e,ce[1],ce[2]]}),min:0,max:50,step:1}))),Object(b.createElement)("div",null,t)}),Object(b.createElement)($,{label:Object(m.__)("Title Padding (px)","kadence-blocks"),measurement:q,control:K,onChange:e=>ge({titlePadding:e}),onControl:e=>ge({titlePaddingControl:e}),min:0,max:50,step:1}),Object(b.createElement)(bb,{label:Object(m.__)("Top Margin (px)","kadence-blocks"),value:Q&&void 0!==Q[0]?Q[0]:"",onChange:e=>ge({titleMargin:[e,Q[1],Q[2],Q[3]]}),min:-25,max:25,step:1}),Object(b.createElement)(bb,{label:Object(m.__)("Bottom Margin (px)","kadence-blocks"),value:Q&&void 0!==Q[2]?Q[2]:"",onChange:e=>ge({titleMargin:[Q[0],Q[1],e,Q[3]]}),min:-25,max:25,step:1})):Object(b.createElement)(Yd,null,Object(b.createElement)($,{label:Object(m.__)("Title Padding (px)","kadence-blocks"),measurement:q,control:K,onChange:e=>ge({titlePadding:e}),onControl:e=>ge({titlePaddingControl:e}),min:0,max:50,step:1}),Object(b.createElement)($,{label:Object(m.__)("Title Margin (px)","kadence-blocks"),measurement:Q,control:J,onChange:e=>ge({titleMargin:e}),onControl:e=>ge({titleMarginControl:e}),min:-25,max:25,step:1}))),Object(b.createElement)("div",{className:e.className,key:e.className},t)})),"tabs"!==n&&Object(b.createElement)(Yd,null,Object(b.createElement)($,{label:Object(m.__)("Title Padding (px)","kadence-blocks"),measurement:q,control:K,onChange:e=>ge({titlePadding:e}),onControl:e=>ge({titlePaddingControl:e}),min:0,max:50,step:1}),Object(b.createElement)($,{label:Object(m.__)("Title Margin (px)","kadence-blocks"),measurement:Q,control:J,onChange:e=>ge({titleMargin:e}),onControl:e=>ge({titleMarginControl:e}),min:-25,max:25,step:1})),Object(b.createElement)($,{label:Object(m.__)("Title Border Width (px)","kadence-blocks"),measurement:z,control:M,onChange:e=>ge({titleBorderWidth:e}),onControl:e=>ge({titleBorderControl:e}),min:0,max:20,step:1}),Object(b.createElement)($,{label:Object(m.__)("Title Border Radius (px)","kadence-blocks"),measurement:te,control:ee,onChange:e=>ge({titleBorderRadius:e}),onControl:e=>ge({titleBorderRadiusControl:e}),min:0,max:50,step:1,controlTypes:[{key:"linked",name:Object(m.__)("Linked","kadence-blocks"),icon:g.radiuslinked},{key:"individual",name:Object(m.__)("Individual","kadence-blocks"),icon:g.radiusindividual}],firstIcon:g.topleft,secondIcon:g.topright,thirdIcon:g.bottomright,fourthIcon:g.bottomleft})),this.showSettings("titleFont")&&Object(b.createElement)(Pt,{title:Object(m.__)("Tab Title Font Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-tab-title-font"},Object(b.createElement)(oe,{fontFamily:P,onFontFamily:e=>ge({typography:e}),googleFont:W,onFontChange:e=>{ge({typography:e.value,googleFont:e.google})},onGoogleFont:e=>ge({googleFont:e}),loadGoogleFont:D,onLoadGoogleFont:e=>ge({loadGoogleFont:e}),fontVariant:R,onFontVariant:e=>ge({fontVariant:e}),fontWeight:A,onFontWeight:e=>ge({fontWeight:e}),fontStyle:L,onFontStyle:e=>ge({fontStyle:e}),fontSubset:F,onFontSubset:e=>ge({fontSubset:e}),textTransform:de,onTextTransform:e=>ge({textTransform:e})}),Object(b.createElement)("h2",{className:"kt-heading-size-title"},Object(m.__)("Size Controls","kadence-blocks")),Qe,Object(b.createElement)(bb,{label:Object(m.__)("Letter Spacing","kadence-blocks"),value:T||"",onChange:e=>ge({letterSpacing:e}),min:-5,max:15,step:.1})),this.showSettings("titleIcon")&&Object(b.createElement)(Pt,{title:Object(m.__)("Tab Title Icon Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-tab-title-icon"},Object(b.createElement)(bb,{label:Object(m.__)("Icon Size","kadence-blocks"),value:le||"",onChange:e=>ge({iSize:e}),min:2,max:120,step:1}),io()(t,e=>$e(e))),this.showSettings("subtitle")&&Object(b.createElement)(Pt,{title:Object(m.__)("Tab Subtitle Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-tab-subtitle-settings"},Object(b.createElement)(mb,{label:Object(m.__)("Show Subtitles?","kadence-blocks"),checked:void 0!==ie&&ie,onChange:e=>{ge({enableSubtitle:e})}}),ie&&Object(b.createElement)(oe,{fontSize:ne&&void 0!==ne[0]&&void 0!==ne[0].size?ne[0].size:["","",""],onFontSize:e=>Oe({size:e}),fontSizeType:ne&&void 0!==ne[0]&&void 0!==ne[0].sizeType?ne[0].sizeType:"px",onFontSizeType:e=>Oe({sizeType:e}),lineHeight:ne&&void 0!==ne[0]&&void 0!==ne[0].lineHeight?ne[0].lineHeight:["","",""],onLineHeight:e=>Oe({lineHeight:e}),lineHeightType:ne&&void 0!==ne[0]&&void 0!==ne[0].lineType?ne[0].lineType:"px",onLineHeightType:e=>Oe({lineType:e}),letterSpacing:ne&&void 0!==ne[0]&&void 0!==ne[0].letterSpacing?ne[0].letterSpacing:"",onLetterSpacing:e=>Oe({letterSpacing:e}),fontFamily:ne&&void 0!==ne[0]&&void 0!==ne[0].family?ne[0].family:"",onFontFamily:e=>Oe({family:e}),onFontChange:e=>{Oe({family:e.value,google:e.google})},onFontArrayChange:e=>Oe(e),googleFont:!(!ne||void 0===ne[0]||void 0===ne[0].google)&&ne[0].google,onGoogleFont:e=>Oe({google:e}),loadGoogleFont:!ne||void 0===ne[0]||void 0===ne[0].loadGoogle||ne[0].loadGoogle,onLoadGoogleFont:e=>Oe({loadGoogle:e}),fontVariant:ne&&void 0!==ne[0]&&void 0!==ne[0].variant?ne[0].variant:"",onFontVariant:e=>Oe({variant:e}),fontWeight:ne&&void 0!==ne[0]&&void 0!==ne[0].weight?ne[0].weight:"",onFontWeight:e=>Oe({weight:e}),fontStyle:ne&&void 0!==ne[0]&&void 0!==ne[0].style?ne[0].style:"",onFontStyle:e=>Oe({style:e}),fontSubset:ne&&void 0!==ne[0]&&void 0!==ne[0].subset?ne[0].subset:"",onFontSubset:e=>Oe({subset:e}),textTransform:ne&&void 0!==ne[0]&&void 0!==ne[0].textTransform?ne[0].textTransform:"",onTextTransform:e=>Oe({textTransform:e}),padding:ne&&void 0!==ne[0]&&void 0!==ne[0].padding?ne[0].padding:[0,0,0,0],onPadding:e=>Oe({padding:e}),paddingControl:ne&&void 0!==ne[0]&&void 0!==ne[0].paddingControl?ne[0].paddingControl:"linked",onPaddingControl:e=>Oe({paddingControl:e}),margin:ne&&void 0!==ne[0]&&void 0!==ne[0].margin?ne[0].margin:[0,0,0,0],onMargin:e=>Oe({margin:e}),marginControl:ne&&void 0!==ne[0]&&void 0!==ne[0].marginControl?ne[0].marginControl:"linked",onMarginControl:e=>Oe({marginControl:e})})),this.showSettings("titleAnchor")&&Object(b.createElement)(Pt,{title:Object(m.__)("Tab Anchor Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-tab-anchor-settings"},io()(t,e=>We(e))),this.showSettings("structure")&&Object(b.createElement)(Pt,{title:Object(m.__)("Structure Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-tab-structure-settings"},Object(b.createElement)(bb,{label:Object(m.__)("Content Minimum Height","kadence-blocks"),value:c,onChange:e=>{ge({minHeight:e})},min:0,max:1e3}),Object(b.createElement)(bb,{label:Object(m.__)("Max Width","kadence-blocks"),value:s,onChange:e=>{ge({maxWidth:e})},min:0,max:2e3}))),Object(b.createElement)("div",{className:Me},this.state.showPreset&&Object(b.createElement)("div",{className:"kt-select-starter-style-tabs"},Object(b.createElement)("div",{className:"kt-select-starter-style-tabs-title"},Object(m.__)("Select Initial Style")),Object(b.createElement)(nb,{className:"kt-init-tabs-btn-group","aria-label":Object(m.__)("Initial Style","kadence-blocks")},k()(je,e=>{let{name:t,key:l,icon:a}=e;return Object(b.createElement)(ob,{key:l,className:"kt-inital-tabs-style-btn",isSmall:!0,onClick:()=>{(e=>{"skip"===e||("simple"===e?ge({layout:"tabs",tabAlignment:"left",size:1.1,sizeType:"em",lineHeight:1.4,lineType:"em",titleBorderWidth:[1,1,0,1],titleBorderControl:"individual",titleBorderRadius:[4,4,0,0],titleBorderRadiusControl:"individual",titlePadding:[8,20,8,20],titlePaddingControl:"individual",titleMargin:[0,8,-1,0],titleMarginControl:"individual",titleColor:"#444444",titleColorHover:"#444444",titleColorActive:"#444444",titleBg:"#ffffff",titleBgHover:"#ffffff",titleBgActive:"#ffffff",titleBorder:"#eeeeee",titleBorderHover:"#e2e2e2",titleBorderActive:"#bcbcbc",contentBgColor:"#ffffff",contentBorderColor:"#bcbcbc",contentBorder:[1,1,1,1],contentBorderControl:"linked"}):"boldbg"===e?ge({layout:"tabs",tabAlignment:"left",size:1.1,sizeType:"em",lineHeight:1.4,lineType:"em",titleBorderWidth:[0,0,0,0],titleBorderControl:"linked",titleBorderRadius:[4,4,0,0],titleBorderRadiusControl:"individual",titlePadding:[8,20,8,20],titlePaddingControl:"individual",titleMargin:[0,8,0,0],titleMarginControl:"individual",titleColor:"#222222",titleColorHover:"#222222",titleColorActive:"#ffffff",titleBg:"#eeeeee",titleBgHover:"#e2e2e2",titleBgActive:"#0a6689",titleBorder:"#eeeeee",titleBorderHover:"#eeeeee",titleBorderActive:"#eeeeee",contentBgColor:"#ffffff",contentBorderColor:"#0a6689",contentBorder:[3,0,0,0],contentBorderControl:"individual"}):"center"===e?ge({layout:"tabs",tabAlignment:"center",size:1.1,sizeType:"em",lineHeight:1.4,lineType:"em",titleBorderWidth:[0,0,4,0],titleBorderControl:"individual",titleBorderRadius:[4,4,0,0],titleBorderRadiusControl:"individual",titlePadding:[8,20,8,20],titlePaddingControl:"individual",titleMargin:[0,8,0,0],titleMarginControl:"individual",titleColor:"#555555",titleColorHover:"#555555",titleColorActive:"#0a6689",titleBg:"#ffffff",titleBgHover:"#ffffff",titleBgActive:"#ffffff",titleBorder:"#ffffff",titleBorderHover:"#eeeeee",titleBorderActive:"#0a6689",contentBgColor:"#ffffff",contentBorderColor:"#eeeeee",contentBorder:[1,0,0,0],contentBorderControl:"individual"}):"vertical"===e&&ge({layout:"vtabs",mobileLayout:"accordion",tabAlignment:"left",size:1.1,sizeType:"em",lineHeight:1.4,lineType:"em",titleBorderWidth:[4,0,4,4],titleBorderControl:"individual",titleBorderRadius:[10,0,0,10],titleBorderRadiusControl:"individual",titlePadding:[12,8,12,20],titlePaddingControl:"individual",titleMargin:[0,-4,10,0],titleMarginControl:"individual",titleColor:"#444444",titleColorHover:"#444444",titleColorActive:"#444444",titleBg:"#eeeeee",titleBgHover:"#e9e9e9",titleBgActive:"#ffffff",titleBorder:"#eeeeee",titleBorderHover:"#e9e9e9",titleBorderActive:"#eeeeee",contentBgColor:"#ffffff",contentBorderColor:"#eeeeee",contentBorder:[4,4,4,4],contentBorderControl:"linked",minHeight:400}))})(l),this.setState({showPreset:!1})}},a)}))),!this.state.showPreset&&Object(b.createElement)("div",{className:"kt-tabs-wrap",style:{maxWidth:s+"px"}},Object(b.createElement)("div",{className:"kb-add-new-tab-contain"},Object(b.createElement)(ob,{className:"kt-tab-add",isPrimary:!0,onClick:()=>{const e=Qd("kadence/tab",{id:t+1});ge({tabCount:t+1}),this.props.insertTab(e);const l=d;l.push({text:Object(m.sprintf)(Object(m.__)("Tab %d","kadence-blocks"),t+1),icon:d[0].icon,iconSide:d[0].iconSide,onlyIcon:d[0].onlyIcon,subText:""}),ge({titles:l}),this.saveArrayUpdate({iconSide:d[0].iconSide},0)}},Object(b.createElement)(db,{icon:"plus"}),Object(m.__)("Add Tab","kadence-blocks"))),Object(b.createElement)("ul",{className:"kt-tabs-title-list"+("tabs"===n&&"percent"===se?" kb-tabs-list-columns kb-tab-title-columns-"+re[0]:"")},Fe),W&&Object(b.createElement)(po,{config:_e}),ie&&ne&&ne[0]&&ne[0].google&&Object(b.createElement)(po,{config:fe}),Object(b.createElement)("div",{className:"kt-tabs-content-wrap",style:{padding:r?r[0]+"px "+r[1]+"px "+r[2]+"px "+r[3]+"px":"",borderWidth:V?V[0]+"px "+V[1]+"px "+V[2]+"px "+V[3]+"px":"",borderRadius:be?be[0]+"px "+be[1]+"px "+be[2]+"px "+be[3]+"px":"",minHeight:c+"px",backgroundColor:$c(Y),borderColor:$c(G)}},Object(b.createElement)(Xd,{template:kb(t),templateLock:"all",allowedBlocks:hb})))))}});const{Component:Ob,Fragment:jb}=wp.element,{InnerBlocks:_b,RichText:wb}=wp.blockEditor;const{Fragment:xb}=wp.element,{InnerBlocks:Eb,RichText:Sb}=wp.blockEditor,{registerBlockType:Cb}=wp.blocks;function Tb(e){return e.toLowerCase().replace(/[^0-9a-z-]/g,"")}Cb("kadence/tabs",{title:Object(m.__)("Tabs"),icon:{src:g.blocktabs},category:"kadence-blocks",keywords:[Object(m.__)("tabs"),Object(m.__)("tab"),Object(m.__)("KT")],supports:{anchor:!0},attributes:Kd,getEditWrapperProps(e){let{blockAlignment:t}=e;if("full"===t||"wide"===t||"center"===t)return{"data-align":t}},edit:fb,save:class extends Ob{stripStringRender(e){return e.toLowerCase().replace(/[^0-9a-z-]/g,"")}render(){const{attributes:{tabCount:e,blockAlignment:t,currentTab:l,mobileLayout:a,layout:i,tabletLayout:o,uniqueID:n,titles:r,iSize:c,maxWidth:s,tabAlignment:d,startTab:p,enableSubtitle:g,widthType:u,tabWidth:h}}=this.props,v=i||"tabs",k=o||"inherit",y=a||"inherit",f=a&&"accordion"===a||o&&"accordion"===o?"kt-create-accordion":"",O=n||"notset",j=d||"left",_=xt()("align"+t),w=p||l,x=xt()(`kt-tabs-wrap kt-tabs-id${O} kt-tabs-has-${e}-tabs kt-active-tab-${w} kt-tabs-layout-${v} kt-tabs-tablet-layout-${k} kt-tabs-mobile-layout-${y} kt-tab-alignment-${j} ${f}`),E=e=>{const t="tab-"+(r[e]&&r[e].text?this.stripStringRender(r[e].text.toString()):this.stripStringRender(Object(m.__)("Tab")+(1+e)));return Object(b.createElement)(jb,null,Object(b.createElement)("li",{id:r[e]&&r[e].anchor?r[e].anchor:t,className:`kt-title-item kt-title-item-${1+e} kt-tabs-svg-show-${r[e]&&r[e].onlyIcon?"only":"always"} kt-tabs-icon-side-${r[e]&&r[e].iconSide?r[e].iconSide:"right"} kt-tab-title-${1+e===w?"active":"inactive"}${g?" kb-tabs-have-subtitle":""}`},Object(b.createElement)("a",{href:"#"+(r[e]&&r[e].anchor?r[e].anchor:t),"data-tab":1+e,className:`kt-tab-title kt-tab-title-${1+e} `},r[e]&&r[e].icon&&"right"!==r[e].iconSide&&Object(b.createElement)(ot,{className:`kt-tab-svg-icon kt-tab-svg-icon-${r[e].icon} kt-title-svg-side-${r[e].iconSide}`,name:r[e].icon,size:c||"14",htmltag:"span"}),(!g||void 0!==r[e]&&void 0===r[e].subText||void 0!==r[e]&&void 0!==r[e].subText&&""===r[e].subText)&&Object(b.createElement)(wb.Content,{tagName:"span",value:r[e]&&r[e].text?r[e].text:Object(m.sprintf)(Object(m.__)("Tab %d"),1+e),className:"kt-title-text"}),g&&r[e]&&void 0!==r[e].subText&&""!==r[e].subText&&Object(b.createElement)("div",{className:"kb-tab-titles-wrap"},Object(b.createElement)(wb.Content,{tagName:"span",value:r[e]&&r[e].text?r[e].text:Object(m.sprintf)(Object(m.__)("Tab %d"),1+e),className:"kt-title-text"}),Object(b.createElement)(wb.Content,{tagName:"span",value:r[e].subText,className:"kt-title-sub-text"})),r[e]&&r[e].icon&&"right"===r[e].iconSide&&Object(b.createElement)(ot,{className:`kt-tab-svg-icon kt-tab-svg-icon-${r[e].icon} kt-title-svg-side-${r[e].iconSide}`,name:r[e].icon,size:c||"14",htmltag:"span"}))))};return Object(b.createElement)("div",{className:_},Object(b.createElement)("div",{className:x,style:{maxWidth:s?s+"px":"none"}},Object(b.createElement)("ul",{className:"kt-tabs-title-list"+("tabs"===i&&"percent"===u?" kb-tabs-list-columns kb-tab-title-columns-"+h[0]:"")},io()(e,e=>E(e))),Object(b.createElement)("div",{className:"kt-tabs-content-wrap"},Object(b.createElement)(_b.Content,null))))}},deprecated:[{attributes:{uniqueID:{type:"string",default:""},tabCount:{type:"number",default:3},layout:{type:"string",default:"tabs"},mobileLayout:{type:"string",default:"inherit"},tabletLayout:{type:"string",default:"inherit"},currentTab:{type:"number",default:1},minHeight:{type:"number",default:""},maxWidth:{type:"number",default:""},contentBgColor:{type:"string",default:""},contentBorderColor:{type:"string",default:""},contentBorder:{type:"array",default:[1,1,1,1]},contentBorderControl:{type:"string",default:"linked"},innerPadding:{type:"array",default:[20,20,20,20]},innerPaddingControl:{type:"string",default:"linked"},innerPaddingM:{type:"array"},tabAlignment:{type:"string",default:"left"},blockAlignment:{type:"string",default:"none"},titles:{type:"array",default:[{text:Object(m.__)("Tab 1"),icon:"",iconSide:"right",onlyIcon:!1},{text:Object(m.__)("Tab 2"),icon:"",iconSide:"right",onlyIcon:!1},{text:Object(m.__)("Tab 3"),icon:"",iconSide:"right",onlyIcon:!1}]},iSize:{type:"number",default:14},titleColor:{type:"string"},titleColorHover:{type:"string"},titleColorActive:{type:"string"},titleBg:{type:"string"},titleBgHover:{type:"string"},titleBgActive:{type:"string",default:"#ffffff"},titleBorder:{type:"string"},titleBorderHover:{type:"string"},titleBorderActive:{type:"string"},titleBorderWidth:{type:"array"},titleBorderControl:{type:"string",default:"individual"},titleBorderRadius:{type:"array"},titleBorderRadiusControl:{type:"string",default:"individual"},titlePadding:{type:"array"},titlePaddingControl:{type:"string",default:"individual"},titleMargin:{type:"array"},titleMarginControl:{type:"string",default:"individual"},size:{type:"number"},sizeType:{type:"string",default:"px"},lineHeight:{type:"number"},lineType:{type:"string",default:"px"},tabSize:{type:"number"},tabLineHeight:{type:"number"},mobileSize:{type:"number"},mobileLineHeight:{type:"number"},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"}},save:e=>{let{attributes:t}=e;const{tabCount:l,blockAlignment:a,currentTab:i,mobileLayout:o,layout:n,tabletLayout:r,uniqueID:c,titles:s,iSize:d,maxWidth:p,tabAlignment:g}=t,u=n||"tabs",h=r||"inherit",v=o||"inherit",k=o&&"accordion"===o||r&&"accordion"===r?"kt-create-accordion":"",y=c||"notset",f=xt()("align"+a),O=xt()(`kt-tabs-wrap kt-tabs-id${y} kt-tabs-has-${l}-tabs kt-active-tab-${i} kt-tabs-layout-${u} kt-tabs-tablet-layout-${h} kt-tabs-mobile-layout-${v} kt-tab-alignment-${g} ${k}`);return Object(b.createElement)("div",{className:f},Object(b.createElement)("div",{className:O,style:{maxWidth:p?p+"px":"none"}},Object(b.createElement)("ul",{className:"kt-tabs-title-list"},io()(l,e=>{return t=e,Object(b.createElement)(xb,null,Object(b.createElement)("li",{id:"tab-"+(s[t]&&s[t].text?Tb(s[t].text.toString()):Tb(Object(m.__)("Tab")+(1+t))),className:`kt-title-item kt-title-item-${1+t} kt-tabs-svg-show-${s[t]&&s[t].onlyIcon?"only":"always"} kt-tabs-icon-side-${s[t]&&s[t].iconSide?s[t].iconSide:"right"} kt-tab-title-${1+t===i?"active":"inactive"}`},Object(b.createElement)("a",{href:"#tab-"+(s[t]&&s[t].text?Tb(s[t].text.toString()):Tb(Object(m.__)("Tab")+(1+t))),"data-tab":1+t,className:`kt-tab-title kt-tab-title-${1+t} `},s[t]&&s[t].icon&&"right"!==s[t].iconSide&&Object(b.createElement)(ot,{className:`kt-tab-svg-icon kt-tab-svg-icon-${s[t].icon} kt-title-svg-side-${s[t].iconSide}`,name:s[t].icon,size:d||"14"}),Object(b.createElement)(Sb.Content,{tagName:"span",value:s[t]&&s[t].text?s[t].text:Object(m.sprintf)(Object(m.__)("Tab %d"),1+t),className:"kt-title-text"}),s[t]&&s[t].icon&&"right"===s[t].iconSide&&Object(b.createElement)(ot,{className:`kt-tab-svg-icon kt-tab-svg-icon-${s[t].icon} kt-title-svg-side-${s[t].iconSide}`,name:s[t].icon,size:d||"14"}))));var t})),Object(b.createElement)("div",{className:"kt-tabs-content-wrap"},Object(b.createElement)(Eb.Content,null))))}}]});const Nb={};Nb.block=Object(b.createElement)("svg",{width:"20px",height:"20px",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},Object(b.createElement)("path",{d:"M47.612,40.008l-19.999,0l0,-32.016l13.566,0l6.433,0.023l0,31.993Z",fill:"#0073e6",fillRule:"nonzero"}),Object(b.createElement)("path",{d:"M20.383,40l-20.036,0l0,-32l20.036,0.019l0,31.981Z",fill:"#0058b0",fillRule:"nonzero"}));var zb=Nb;const{InnerBlocks:Mb}=wp.blockEditor,{Fragment:Ib}=wp.element,{Component:Hb}=wp.element,Bb=[];const{InnerBlocks:Pb}=wp.blockEditor,{registerBlockType:Rb}=wp.blocks;Rb("kadence/tab",{title:Object(m.__)("Tab","kadence-blocks"),icon:zb.block,category:"kadence-blocks",parent:["kadence/tabs"],attributes:{id:{type:"number",default:1},uniqueID:{type:"string",default:""}},supports:{inserter:!1,reusable:!1,html:!1},getEditWrapperProps:e=>({"data-tab":e.id}),edit:class extends Hb{componentDidMount(){this.props.attributes.uniqueID?Bb.includes(this.props.attributes.uniqueID)?(this.props.attributes.uniqueID="_"+this.props.clientId.substr(2,9),Bb.push("_"+this.props.clientId.substr(2,9))):Bb.push(this.props.attributes.uniqueID):(this.props.setAttributes({uniqueID:"_"+this.props.clientId.substr(2,9)}),Bb.push("_"+this.props.clientId.substr(2,9)))}render(){const{attributes:{id:e,uniqueID:t},clientId:l}=this.props,a=wp.data.select("core/block-editor").getBlockOrder(l).length>0;return Object(b.createElement)(Ib,null,Object(b.createElement)("div",{className:`kt-tab-inner-content kt-inner-tab-${e} kt-inner-tab${t}`},Object(b.createElement)(Mb,{templateLock:!1,renderAppender:a?void 0:()=>Object(b.createElement)(Mb.ButtonBlockAppender,null)})))}},save(e){let{attributes:t}=e;const{id:l,uniqueID:a}=t;return Object(b.createElement)("div",{className:`kt-tab-inner-content kt-inner-tab-${l} kt-inner-tab${a}`},Object(b.createElement)("div",{className:"kt-tab-inner-content-inner"},Object(b.createElement)(Pb.Content,null)))},deprecated:[{attributes:{id:{type:"number",default:1}},save:e=>{let{attributes:t}=e;const{id:l}=t;return Object(b.createElement)("div",{className:"kt-tab-inner-content kt-inner-tab-"+l},Object(b.createElement)("div",{className:"kt-tab-inner-content-inner"},Object(b.createElement)(Pb.Content,null)))}}]});var Ab={uniqueID:{type:"string",default:""},link:{type:"string",source:"attribute",attribute:"href",selector:"a.info-box-link"},linkProperty:{type:"string",default:"box"},target:{type:"string",source:"attribute",attribute:"target",selector:"a.info-box-link",default:"_self"},hAlign:{type:"string",default:"center"},hAlignTablet:{type:"string",default:""},hAlignMobile:{type:"string",default:""},containerBackground:{type:"string",default:"#f2f2f2"},containerBackgroundOpacity:{type:"number",default:1},containerHoverBackground:{type:"string",default:"#f2f2f2"},containerHoverBackgroundOpacity:{type:"number",default:1},containerBorder:{type:"string",default:"#eeeeee"},containerBorderOpacity:{type:"number",default:1},containerHoverBorder:{type:"string",default:"#eeeeee"},containerHoverBorderOpacity:{type:"number",default:1},containerBorderWidth:{type:"array",default:[0,0,0,0]},containerBorderRadius:{type:"number",default:0},containerPadding:{type:"array",default:[20,20,20,20]},containerTabletPadding:{type:"array",default:["","","",""]},containerMobilePadding:{type:"array",default:["","","",""]},containerPaddingType:{type:"string",default:"px"},mediaType:{type:"string",default:"icon"},mediaAlign:{type:"string",default:"top"},mediaImage:{type:"array",default:[{url:"",id:"",alt:"",width:"",height:"",maxWidth:"",hoverAnimation:"none",flipUrl:"",flipId:"",flipAlt:"",flipWidth:"",flipHeight:"",subtype:"",flipSubtype:""}]},mediaIcon:{type:"array",default:[{icon:"fe_aperture",size:50,width:2,title:"",color:"#444444",hoverColor:"#444444",hoverAnimation:"none",flipIcon:"",tabletSize:"",mobileSize:""}]},mediaStyle:{type:"array",default:[{background:"transparent",hoverBackground:"transparent",border:"#444444",hoverBorder:"#444444",borderRadius:0,borderWidth:[0,0,0,0],padding:[10,10,10,10],margin:[0,15,0,15]}]},displayTitle:{type:"bool",default:!0},title:{type:"array",source:"children",selector:"h1,h2,h3,h4,h5,h6",default:Object(m.__)("Title")},titleColor:{type:"string",default:""},titleHoverColor:{type:"string",default:""},titleMinHeight:{type:"array",default:["","",""]},titleFont:{type:"array",default:[{level:2,size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",textTransform:"",family:"",google:!1,style:"",weight:"",variant:"",subset:"",loadGoogle:!0,padding:[0,0,0,0],paddingControl:"linked",margin:[5,0,10,0],marginControl:"individual"}]},displayText:{type:"bool",default:!0},contentText:{type:"array",source:"children",selector:"p",default:Object(m.__)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean diam dolor, accumsan sed rutrum vel, dapibus et leo.")},textColor:{type:"string",default:"#555555"},textHoverColor:{type:"string",default:""},textMinHeight:{type:"array",default:["","",""]},textFont:{type:"array",default:[{size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",family:"",google:"",style:"",weight:"",variant:"",subset:"",loadGoogle:!0,textTransform:""}]},textSpacing:{type:"array",default:[{padding:["","","",""],paddingControl:"linked",margin:["","","",""],marginControl:"linked"}]},displayLearnMore:{type:"bool",default:!1},learnMore:{type:"array",source:"children",selector:".kt-blocks-info-box-learnmore",default:Object(m.__)("Learn More")},learnMoreStyles:{type:"array",default:[{size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",family:"",google:"",style:"",weight:"",variant:"",subset:"",loadGoogle:!0,padding:[4,8,4,8],paddingControl:"individual",margin:[10,0,10,0],marginControl:"individual",color:"",background:"transparent",border:"#555555",borderRadius:0,borderWidth:[0,0,0,0],borderControl:"linked",colorHover:"#ffffff",backgroundHover:"#444444",borderHover:"#444444",hoverEffect:"revealBorder",paddingTablet:["","","",""],paddingMobile:["","","",""],paddingType:"px",textTransform:""}]},displayShadow:{type:"bool",default:!1},shadow:{type:"array",default:[{color:"#000000",opacity:0,spread:0,blur:0,hOffset:0,vOffset:0}]},shadowHover:{type:"array",default:[{color:"#000000",opacity:.2,spread:0,blur:14,hOffset:0,vOffset:0}]},showPresets:{type:"bool",default:!0},mediaVAlign:{type:"string",default:"middle"},mediaAlignMobile:{type:"string",default:""},mediaAlignTablet:{type:"string",default:""},maxWidth:{type:"number",default:""},maxWidthUnit:{type:"string",default:"px"},containerMargin:{type:"array",default:["","","",""]},containerMarginUnit:{type:"string",default:"px"},linkNoFollow:{type:"bool",default:!1},linkSponsored:{type:"bool",default:!1},number:{type:"array",source:"children",selector:"div.kt-blocks-info-box-number",default:""},mediaNumber:{type:"array",default:[{family:"",google:!1,hoverAnimation:"none",style:"",weight:"",variant:"",subset:"",loadGoogle:!0}]},imageRatio:{type:"string",default:"inherit"},linkTitle:{type:"string",default:""},inQueryBlock:{type:"bool",default:!1}};const{Component:Lb,Fragment:Fb}=wp.element,{DropdownMenu:Wb,MenuGroup:Db,MenuItem:$b,Toolbar:Ub,ToggleControl:Vb,SelectControl:Zb}=wp.components,{localStorage:Gb}=window,qb={className:"block-editor-block-settings-menu__popover",position:"bottom right"};var Kb=class extends Lb{constructor(){super(...arguments),this.state={iconOptions:[],iconOptionsNames:[]}}componentDidMount(){}render(){const{onPaste:e,onPasteMediaImage:t,onPasteMediaIcon:l,blockAttributes:a}=this.props,i=Object(b.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2",clipRule:"evenodd",viewBox:"0 0 32 32",width:"20px",height:"20px"},Object(b.createElement)("path",{fillRule:"nonzero",d:"M26 8h-6V6l-6-6H0v24h12v8h20V14l-6-6zm0 2.828L29.172 14H26v-3.172zm-12-8L17.172 6H14V2.828zM2 2h10v6h6v14H2V2zm28 28H14v-6h6V10h4v6h6v14z"})),o=JSON.parse(Gb.getItem("kadenceInfoboxStyle")),n=()=>{const e={};a.linkProperty&&(e.linkProperty=a.linkProperty),a.target&&(e.target=a.target),a.hAlign&&(e.hAlign=a.hAlign),a.hAlignTablet&&(e.hAlignTablet=a.hAlignTablet),a.hAlignMobile&&(e.hAlignMobile=a.hAlignMobile),a.containerBackground&&(e.containerBackground=a.containerBackground),a.containerBackgroundOpacity&&(e.containerBackgroundOpacity=a.containerBackgroundOpacity),a.containerHoverBackground&&(e.containerHoverBackground=a.containerHoverBackground),a.containerHoverBackgroundOpacity&&(e.containerHoverBackgroundOpacity=a.containerHoverBackgroundOpacity),a.containerBorder&&(e.containerBorder=a.containerBorder),a.containerBorderOpacity&&(e.containerBorderOpacity=a.containerBorderOpacity),a.containerHoverBorder&&(e.containerHoverBorder=a.containerHoverBorder),a.containerHoverBorderOpacity&&(e.containerHoverBorderOpacity=a.containerHoverBorderOpacity),a.containerBorderWidth&&(e.containerBorderWidth=a.containerBorderWidth),void 0===a.containerBorderRadius||isNaN(a.containerBorderRadius)||(e.containerBorderRadius=a.containerBorderRadius),a.containerPadding&&(e.containerPadding=a.containerPadding),a.containerTabletPadding&&(e.containerTabletPadding=a.containerTabletPadding),a.containerMobilePadding&&(e.containerMobilePadding=a.containerMobilePadding),a.containerPaddingType&&(e.containerPaddingType=a.containerPaddingType),a.mediaType&&(e.mediaType=a.mediaType),a.mediaAlign&&(e.mediaAlign=a.mediaAlign),a.mediaImage&&a.mediaImage[0]&&a.mediaImage[0].maxWidth&&(e.mediaImage=[{maxWidth:a.mediaImage[0].maxWidth}],a.mediaImage[0].hoverAnimation&&(e.mediaImage[0].hoverAnimation=a.mediaImage[0].hoverAnimation)),a.mediaIcon&&a.mediaIcon[0]&&(e.mediaIcon=[{hoverAnimation:"none"}],a.mediaIcon[0].size&&(e.mediaIcon[0].size=a.mediaIcon[0].size),a.mediaIcon[0].width&&(e.mediaIcon[0].width=a.mediaIcon[0].width),a.mediaIcon[0].color&&(e.mediaIcon[0].color=a.mediaIcon[0].color),a.mediaIcon[0].hoverColor&&(e.mediaIcon[0].hoverColor=a.mediaIcon[0].hoverColor),a.mediaIcon[0].hoverAnimation&&(e.mediaIcon[0].hoverAnimation=a.mediaIcon[0].hoverAnimation)),a.textSpacing&&a.textSpacing[0]&&a.textSpacing[0].padding&&(e.textSpacing=[{padding:a.textSpacing[0].padding}],a.textSpacing[0].paddingControl&&(e.textSpacing[0].paddingControl=a.textSpacing[0].paddingControl),a.textSpacing[0].margin&&(e.textSpacing[0].margin=a.textSpacing[0].margin),a.textSpacing[0].marginControl&&(e.textSpacing[0].marginControl=a.textSpacing[0].marginControl)),a.mediaStyle&&(e.mediaStyle=a.mediaStyle),void 0!==a.displayTitle&&(e.displayTitle=a.displayTitle),a.titleColor&&(e.titleColor=a.titleColor),a.titleHoverColor&&(e.titleHoverColor=a.titleHoverColor),a.titleMinHeight&&(e.titleMinHeight=a.titleMinHeight),a.titleFont&&(e.titleFont=a.titleFont),void 0!==a.displayText&&(e.displayText=a.displayText),a.textColor&&(e.textColor=a.textColor),a.textHoverColor&&(e.textHoverColor=a.textHoverColor),a.textMinHeight&&(e.textMinHeight=a.textMinHeight),a.textFont&&(e.textFont=a.textFont),void 0!==a.displayLearnMore&&(e.displayLearnMore=a.displayLearnMore),a.learnMoreStyles&&(e.learnMoreStyles=a.learnMoreStyles),void 0!==a.displayShadow&&(e.displayShadow=a.displayShadow),a.shadow&&(e.shadow=a.shadow),a.shadowHover&&(e.shadowHover=a.shadowHover),a.mediaVAlign&&(e.mediaVAlign=a.mediaVAlign),a.mediaAlignMobile&&(e.mediaAlignMobile=a.mediaAlignMobile),a.mediaAlignTablet&&(e.mediaAlignTablet=a.mediaAlignTablet),a.maxWidth&&(e.maxWidth=a.maxWidth),a.maxWidthUnit&&(e.maxWidthUnit=a.maxWidthUnit),a.containerMargin&&(e.containerMargin=a.containerMargin),a.containerMarginUnit&&(e.containerMarginUnit=a.containerMarginUnit),a.imageRatio&&(e.imageRatio=a.imageRatio),Gb.setItem("kadenceInfoboxStyle",JSON.stringify(e))},r=()=>{const a=JSON.parse(Gb.getItem("kadenceInfoboxStyle"));a&&(a.mediaImage&&(t(a.mediaImage[0]),delete a.mediaImage),a.mediaIcon&&(l(a.mediaIcon[0]),delete a.mediaIcon),e(a))};return Object(b.createElement)(Ub,null,Object(b.createElement)(Wb,{className:"block-editor-block-settings-menu",icon:i,label:Object(m.__)("Copy/Paste Styles","kadence-blocks"),popoverProps:qb},e=>{let{onClose:t}=e;return Object(b.createElement)(Fb,null,Object(b.createElement)(Db,null,Object(b.createElement)($b,{icon:"clipboard",onClick:uo()(t,n),label:Object(m.__)("Copy Styles","kadence-blocks")},Object(m.__)("Copy Styles","kadence-blocks")),Object(b.createElement)($b,{icon:"editor-paste-text",onClick:uo()(t,r),disabled:!o,label:Object(m.__)("Paste Styles","kadence-blocks")},Object(m.__)("Paste Styles","kadence-blocks"))))}))}};const{Fragment:Qb}=wp.element,{Dashicon:Jb,TabPanel:Yb}=wp.components;function Xb(e){let{label:t,onChange:l,onChangeTablet:a,onChangeMobile:i,mobileValue:o,tabletValue:n,value:r,step:c=1,max:s=100,min:d=0,allowEmpty:m=!0}=e;const p=m?"":0;return[l&&a&&i&&Object(b.createElement)(Qb,null,Object(b.createElement)("h2",{className:"kt-heading-size-title"},t),Object(b.createElement)(Yb,{className:"kt-size-tabs",activeClass:"active-tab",tabs:[{name:"desk",title:Object(b.createElement)(Jb,{icon:"desktop"}),className:"kt-desk-tab"},{name:"tablet",title:Object(b.createElement)(Jb,{icon:"tablet"}),className:"kt-tablet-tab"},{name:"mobile",title:Object(b.createElement)(Jb,{icon:"smartphone"}),className:"kt-mobile-tab"}]},e=>{let t;return e.name&&(t="mobile"===e.name?Object(b.createElement)(E,{value:o||p,onChange:e=>i(e),min:d,max:s,step:c}):"tablet"===e.name?Object(b.createElement)(E,{value:n||p,onChange:e=>a(e),min:d,max:s,step:c}):Object(b.createElement)(E,{value:r||p,onChange:e=>l(e),min:d,max:s,step:c})),Object(b.createElement)("div",{className:e.className,key:e.className},t)}))]}var em=l(434);const{Component:tm,Fragment:lm}=wp.element,{MediaUpload:am,RichText:im,AlignmentToolbar:om,InspectorControls:nm,BlockControls:rm}=wp.blockEditor,{Button:cm,Dropdown:sm,ButtonGroup:dm,TabPanel:bm,Dashicon:mm,Toolbar:pm,TextControl:gm,ToggleControl:um,SelectControl:hm}=wp.components,{applyFilters:vm}=wp.hooks,km=[];var ym=Object(w.compose)([Object(a.withSelect)((e,t)=>({getPreviewDevice:e("kadenceblocks/data").getPreviewDeviceType()}))])(class extends tm{constructor(){super(...arguments),this.showSettings=this.showSettings.bind(this),this.getPreviewSize=this.getPreviewSize.bind(this),this.getDynamic=this.getDynamic.bind(this),this.state={containerPaddingControl:"linked",containerBorderControl:"linked",containerMarginControl:"linked",mediaBorderControl:"linked",mediaPaddingControl:"linked",mediaMarginControl:"linked",showPreset:!1,btnLink:!1,user:kadence_blocks_params.userrole?kadence_blocks_params.userrole:"admin",settings:{}},this.debouncedUpdateDynamic=wl()(this.getDynamic.bind(this),200)}componentDidMount(){if(this.props.attributes.uniqueID)km.includes(this.props.attributes.uniqueID)?(this.props.attributes.uniqueID="_"+this.props.clientId.substr(2,9),km.push("_"+this.props.clientId.substr(2,9))):km.push(this.props.attributes.uniqueID);else{const e=kadence_blocks_params.configuration?JSON.parse(kadence_blocks_params.configuration):[];void 0!==e["kadence/infobox"]&&"object"==typeof e["kadence/infobox"]&&Object.keys(e["kadence/infobox"]).map(t=>{this.props.attributes[t]=e["kadence/infobox"][t]}),this.props.setAttributes({uniqueID:"_"+this.props.clientId.substr(2,9)}),this.props.attributes.showPresets&&this.setState({showPreset:!0}),km.push("_"+this.props.clientId.substr(2,9))}this.props.attributes.mediaStyle[0].borderWidth[0]===this.props.attributes.mediaStyle[0].borderWidth[1]&&this.props.attributes.mediaStyle[0].borderWidth[0]===this.props.attributes.mediaStyle[0].borderWidth[2]&&this.props.attributes.mediaStyle[0].borderWidth[0]===this.props.attributes.mediaStyle[0].borderWidth[3]?this.setState({mediaBorderControl:"linked"}):this.setState({mediaBorderControl:"individual"}),this.props.attributes.mediaStyle[0].padding[0]===this.props.attributes.mediaStyle[0].padding[1]&&this.props.attributes.mediaStyle[0].padding[0]===this.props.attributes.mediaStyle[0].padding[2]&&this.props.attributes.mediaStyle[0].padding[0]===this.props.attributes.mediaStyle[0].padding[3]?this.setState({mediaPaddingControl:"linked"}):this.setState({mediaPaddingControl:"individual"}),this.props.attributes.mediaStyle[0].margin[0]===this.props.attributes.mediaStyle[0].margin[1]&&this.props.attributes.mediaStyle[0].margin[0]===this.props.attributes.mediaStyle[0].margin[2]&&this.props.attributes.mediaStyle[0].margin[0]===this.props.attributes.mediaStyle[0].margin[3]?this.setState({mediaMarginControl:"linked"}):this.setState({mediaMarginControl:"individual"}),this.props.attributes.containerBorderWidth[0]===this.props.attributes.containerBorderWidth[1]&&this.props.attributes.containerBorderWidth[0]===this.props.attributes.containerBorderWidth[2]&&this.props.attributes.containerBorderWidth[0]===this.props.attributes.containerBorderWidth[3]?this.setState({containerBorderControl:"linked"}):this.setState({containerBorderControl:"individual"}),this.props.attributes.containerPadding[0]===this.props.attributes.containerPadding[1]&&this.props.attributes.containerPadding[0]===this.props.attributes.containerPadding[2]&&this.props.attributes.containerPadding[0]===this.props.attributes.containerPadding[3]?this.setState({containerPaddingControl:"linked"}):this.setState({containerPaddingControl:"individual"}),this.props.attributes.containerMargin&&this.props.attributes.containerMargin[0]&&this.props.attributes.containerMargin[0]===this.props.attributes.containerMargin[1]&&this.props.attributes.containerMargin[0]===this.props.attributes.containerMargin[2]&&this.props.attributes.containerMargin[0]===this.props.attributes.containerMargin[3]?this.setState({containerMarginControl:"linked"}):this.setState({containerMarginControl:"individual"});const e=kadence_blocks_params.settings?JSON.parse(kadence_blocks_params.settings):{};void 0!==e["kadence/infobox"]&&"object"==typeof e["kadence/infobox"]&&this.setState({settings:e["kadence/infobox"]}),this.props.context&&this.props.context.queryId&&this.props.context.postId?this.props.attributes.inQueryBlock||this.props.setAttributes({inQueryBlock:!0}):this.props.attributes.inQueryBlock&&this.props.setAttributes({inQueryBlock:!1}),this.debouncedUpdateDynamic()}getDynamic(){let e=null;this.props.context&&this.props.context.queryId&&this.props.context.postId&&(e=this.props.context.postId),this.props.attributes.kadenceDynamic&&this.props.attributes.kadenceDynamic["mediaImage:0:url"]&&this.props.attributes.kadenceDynamic["mediaImage:0:url"].enable&&vm("kadence.dynamicImage","",this.props.attributes,this.props.setAttributes,"mediaImage:0:url",e)}showSettings(e){return void 0===this.state.settings[e]||"all"===this.state.settings[e]||"contributor"===this.state.settings[e]&&("contributor"===this.state.user||"author"===this.state.user||"editor"===this.state.user||"admin"===this.state.user)||"author"===this.state.settings[e]&&("author"===this.state.user||"editor"===this.state.user||"admin"===this.state.user)||"editor"===this.state.settings[e]&&("editor"===this.state.user||"admin"===this.state.user)||"admin"===this.state.settings[e]&&"admin"===this.state.user}getPreviewSize(e,t,l,a){if("Mobile"===e){if(void 0!==a&&""!==a)return a;if(void 0!==l&&""!==l)return l}else if("Tablet"===e&&void 0!==l&&""!==l)return l;return t}render(){const{attributes:{uniqueID:e,link:t,linkProperty:l,target:a,hAlign:i,containerBackground:n,containerHoverBackground:r,containerBorder:c,containerHoverBorder:s,containerBorderWidth:d,containerBorderRadius:p,containerPadding:u,containerPaddingType:h,containerMobilePadding:v,containerTabletPadding:y,mediaType:f,mediaImage:O,mediaIcon:j,mediaStyle:_,mediaAlign:w,displayTitle:x,title:S,titleColor:C,titleHoverColor:T,titleFont:N,displayText:z,contentText:M,textColor:I,textHoverColor:H,textFont:B,textSpacing:P,displayLearnMore:R,learnMore:A,learnMoreStyles:L,displayShadow:F,shadow:W,shadowHover:D,containerHoverBackgroundOpacity:$,containerBackgroundOpacity:U,containerHoverBorderOpacity:V,containerBorderOpacity:Z,textMinHeight:G,titleMinHeight:q,maxWidthUnit:K,maxWidth:Q,mediaVAlign:J,mediaAlignMobile:Y,mediaAlignTablet:X,hAlignMobile:ee,hAlignTablet:te,containerMargin:le,containerMarginUnit:ae,linkNoFollow:ie,linkSponsored:ne,number:re,mediaNumber:ce,imageRatio:se,linkTitle:de,kadenceDynamic:be},className:me,setAttributes:pe,isSelected:ge}=this.props,{containerBorderControl:ue,mediaBorderControl:he,mediaPaddingControl:ve,mediaMarginControl:ke,containerPaddingControl:ye,containerMarginControl:fe}=this.state,Oe="px"===K?2e3:100,je=void 0!==h?h:"px",_e="em"===je||"rem"===je?12:200,we="em"===je||"rem"===je?.1:1,xe=this.getPreviewSize(this.props.getPreviewDevice,void 0!==u&&void 0!==u[0]?u[0]:"",void 0!==y&&void 0!==y[0]?y[0]:"",void 0!==v&&void 0!==v[0]?v[0]:""),Ee=this.getPreviewSize(this.props.getPreviewDevice,void 0!==u&&void 0!==u[1]?u[1]:"",void 0!==y&&void 0!==y[1]?y[1]:"",void 0!==v&&void 0!==v[1]?v[1]:""),Se=this.getPreviewSize(this.props.getPreviewDevice,void 0!==u&&void 0!==u[2]?u[2]:"",void 0!==y&&void 0!==y[2]?y[2]:"",void 0!==v&&void 0!==v[2]?v[2]:""),Ce=this.getPreviewSize(this.props.getPreviewDevice,void 0!==u&&void 0!==u[3]?u[3]:"",void 0!==y&&void 0!==y[3]?y[3]:"",void 0!==v&&void 0!==v[3]?v[3]:""),Te=this.getPreviewSize(this.props.getPreviewDevice,void 0!==N[0].size&&void 0!==N[0].size[0]?N[0].size[0]:"",void 0!==N[0].size&&void 0!==N[0].size[1]?N[0].size[1]:"",void 0!==N[0].size&&void 0!==N[0].size[2]?N[0].size[2]:""),Ne=this.getPreviewSize(this.props.getPreviewDevice,void 0!==N[0].lineHeight&&void 0!==N[0].lineHeight[0]?N[0].lineHeight[0]:"",void 0!==N[0].lineHeight&&void 0!==N[0].lineHeight[1]?N[0].lineHeight[1]:"",void 0!==N[0].lineHeight&&void 0!==N[0].lineHeight[2]?N[0].lineHeight[2]:""),ze=this.getPreviewSize(this.props.getPreviewDevice,void 0!==q&&void 0!==q[0]?q[0]:"",void 0!==q[1]&&void 0!==q[1]?q[1]:"",void 0!==q[2]&&void 0!==q[2]?q[2]:""),Me=this.getPreviewSize(this.props.getPreviewDevice,void 0!==B[0].size&&void 0!==B[0].size[0]?B[0].size[0]:"",void 0!==B[0].size&&void 0!==B[0].size[1]?B[0].size[1]:"",void 0!==B[0].size&&void 0!==B[0].size[2]?B[0].size[2]:""),Ie=this.getPreviewSize(this.props.getPreviewDevice,void 0!==B[0].lineHeight&&void 0!==B[0].lineHeight[0]?B[0].lineHeight[0]:"",void 0!==B[0].lineHeight&&void 0!==B[0].lineHeight[1]?B[0].lineHeight[1]:"",void 0!==B[0].lineHeight&&void 0!==B[0].lineHeight[2]?B[0].lineHeight[2]:""),He=this.getPreviewSize(this.props.getPreviewDevice,void 0!==G&&void 0!==G[0]?G[0]:"",void 0!==G[1]&&void 0!==G[1]?G[1]:"",void 0!==G[2]&&void 0!==G[2]?G[2]:""),Be=this.getPreviewSize(this.props.getPreviewDevice,void 0!==L[0].size&&void 0!==L[0].size[0]?L[0].size[0]:"",void 0!==L[0].size&&void 0!==L[0].size[1]?L[0].size[1]:"",void 0!==L[0].size&&void 0!==L[0].size[2]?L[0].size[2]:""),Pe=this.getPreviewSize(this.props.getPreviewDevice,void 0!==L[0].lineHeight&&void 0!==L[0].lineHeight[0]?L[0].lineHeight[0]:"",void 0!==L[0].lineHeight&&void 0!==L[0].lineHeight[1]?L[0].lineHeight[1]:"",void 0!==L[0].lineHeight&&void 0!==L[0].lineHeight[2]?L[0].lineHeight[2]:""),Re=this.getPreviewSize(this.props.getPreviewDevice,void 0!==j[0]&&void 0!==j[0].size?j[0].size:"14",void 0!==j[0].tabletSize&&void 0!==j[0].tabletSize?j[0].tabletSize:"",void 0!==j[0].mobileSize&&void 0!==j[0].mobileSize?j[0].mobileSize:""),Ae="em"===ae||"rem"===ae?-12:-200,Le="em"===ae||"rem"===ae?24:200,Fe="em"===ae||"rem"===ae?.1:1,We=(Object(m.__)("Skip","kadence-blocks"),Object(m.__)("Skip"),Object(m.__)("Simple","kadence-blocks"),g.infoSimple,Object(m.__)("Align Left","kadence-blocks"),g.infoLeft,Object(m.__)("Bold Background","kadence-blocks"),g.infoBackground,Object(m.__)("Circle Image","kadence-blocks"),g.infoImage,[{key:"simple",name:Object(m.__)("Basic","kadence-blocks"),icon:g.infoStart},{key:"basic",name:Object(m.__)("Basic","kadence-blocks"),icon:g.infoBasic},{key:"leftabove",name:Object(m.__)("Left Above","kadence-blocks"),icon:g.infoLeftAbove},{key:"left",name:Object(m.__)("Left","kadence-blocks"),icon:g.infoLeft},{key:"overlay",name:Object(m.__)("Overlay","kadence-blocks"),icon:g.infoTopOverlay},{key:"overlayleft",name:Object(m.__)("Overlay Left","kadence-blocks"),icon:g.infoLeftOverlay}]),$e={google:{families:[N[0].family+(N[0].variant?":"+N[0].variant:"")]}},Ue={google:{families:[B[0].family+(B[0].variant?":"+B[0].variant:"")]}},Ve={google:{families:[L[0].family+(L[0].variant?":"+L[0].variant:"")]}},Ze={google:{families:[(ce&&ce[0]&&ce[0].family?ce[0].family:" ")+(ce&&ce[0]&&ce[0].variant?":"+ce[0].variant:"")]}},Ge=N[0].google?$e:"",qe=B[0].google?Ue:"",Qe=L[0].google?Ve:"",Je=ce&&ce[0]&&ce[0].google?Ze:"",Ye="h"+N[0].level,Xe=["image"],et=e=>{let t,l;if(O[0]&&O[0].width&&O[0].height){const t=void 0!==e.sizes?e.sizes:[],a=Object.keys(t).map(e=>({slug:e,name:e}));k()(a,t=>{let{name:a,slug:i}=t;if("image/svg+xml"===o()(e,["mime_type"]))return null;if(!o()(e,["sizes",i,"url"]))return null;const n=o()(e,["sizes",i,"width"]);if(!n)return null;const r=o()(e,["sizes",i,"height"]);return r?r===O[0].height&&n===O[0].width?(l=i,null):void 0:null})}const a=l&&""!==l?l:"full";"full"!==a&&(t=o()(e,["sizes",a,"url"])||o()(e,["media_details","sizes",a,"source_url"]));const i=o()(e,["sizes",a,"width"])||o()(e,["media_details","sizes",a,"width"])||o()(e,["width"])||o()(e,["media_details","width"]),n=o()(e,["sizes",a,"height"])||o()(e,["media_details","sizes",a,"height"])||o()(e,["height"])||o()(e,["media_details","height"]),r=O[0]&&O[0].maxWidth?O[0].maxWidth:e.width;lt({id:e.id,url:t||e.url,alt:e.alt,width:i,height:n,maxWidth:r||50,subtype:e.subtype})},tt=ge?"is-selected":"not-selected",lt=e=>{const t=O.map((t,l)=>(0===l&&(t={...t,...e}),t));pe({mediaImage:t})},at=e=>{const t=j.map((t,l)=>(0===l&&(t={...t,...e}),t));pe({mediaIcon:t})},it=e=>{const t=_.map((t,l)=>(0===l&&(t={...t,...e}),t));pe({mediaStyle:t})},nt=e=>{const t=(ce||[{family:"",google:!1,hoverAnimation:"none",style:"",weight:"",variant:"",subset:"",loadGoogle:!0}]).map((t,l)=>(0===l&&(t={...t,...e}),t));pe({mediaNumber:t})},rt=e=>{const t=N.map((t,l)=>(0===l&&(t={...t,...e}),t));pe({titleFont:t})},ct=e=>{const t=B.map((t,l)=>(0===l&&(t={...t,...e}),t));pe({textFont:t})},dt=e=>{let t;t=void 0===P||void 0!==P&&void 0===P[0]?[{padding:["","","",""],paddingControl:"linked",margin:["","","",""],marginControl:"linked"}]:P;const l=t.map((t,l)=>(0===l&&(t={...t,...e}),t));pe({textSpacing:l})},bt=e=>{const t=L.map((t,l)=>(0===l&&(t={...t,...e}),t));pe({learnMoreStyles:t})},mt=e=>{const t=W.map((t,l)=>(0===l&&(t={...t,...e}),t));pe({shadow:t})},pt=e=>{const t=D.map((t,l)=>(0===l&&(t={...t,...e}),t));pe({shadowHover:t})},gt="drawborder"===O[0].hoverAnimation||"grayscale-border-draw"===O[0].hoverAnimation,ut=Object(b.createElement)("style",null,j[0].hoverColor?`#kt-info-box${e} .kt-blocks-info-box-link-wrap:hover .kt-info-svg-icon, #kt-info-box${e} .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-number { color: ${pa(j[0].hoverColor)} !important; }`:"",_[0].borderRadius?`#kt-info-box${e} .kt-blocks-info-box-link-wrap .kt-blocks-info-box-media .kadence-info-box-image-intrisic:not(.kb-info-box-image-ratio) img, #kt-info-box${e} .kt-blocks-info-box-link-wrap .kt-blocks-info-box-media .kadence-info-box-image-intrisic:not(.kb-info-box-image-ratio) .editor-media-placeholder { border-radius: ${_[0].borderRadius}px; }`:"",T?`#kt-info-box${e} .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-title { color: ${pa(T)} !important; }`:"",H?`#kt-info-box${e} .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-text { color: ${pa(H)} !important; }`:"",L[0].colorHover?`#kt-info-box${e} .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-learnmore { color: ${pa(L[0].colorHover)} !important; }`:"",L[0].borderHover?`#kt-info-box${e} .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-learnmore { border-color: ${pa(L[0].borderHover)} !important; }`:"",L[0].backgroundHover?`#kt-info-box${e} .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-learnmore { background-color: ${pa(L[0].backgroundHover)} !important; }`:"",r?`#kt-info-box${e} .kt-blocks-info-box-link-wrap:hover { background: ${pa(r||"#f2f2f2",void 0!==$?$:1)} !important; }`:"",s?`#kt-info-box${e} .kt-blocks-info-box-link-wrap:hover { border-color: ${pa(s||"#f2f2f2",void 0!==V?V:1)} !important; }`:"",F?`#kt-info-box${e} .kt-blocks-info-box-link-wrap:hover { box-shadow: ${D[0].hOffset+"px "+D[0].vOffset+"px "+D[0].blur+"px "+D[0].spread+"px "+pa(D[0].color,D[0].opacity)} !important; }`:"",_[0].hoverBackground?`#kt-info-box${e} .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-media { background: ${_[0].hoverBackground} !important; }`:"",_[0].hoverBorder&&"icon"===f&&"drawborder"!==j[0].hoverAnimation?`#kt-info-box${e} .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-media { border-color: ${pa(_[0].hoverBorder)} !important; }`:"",_[0].hoverBorder&&"number"===f&&ce[0].hoverAnimation&&"drawborder"!==ce[0].hoverAnimation?`#kt-info-box${e} .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-media { border-color: ${pa(_[0].hoverBorder)} !important; }`:"",_[0].hoverBorder&&"image"===f&&!0!==gt?`#kt-info-box${e} .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-media { border-color: ${pa(_[0].hoverBorder)} !important; }`:"","icon"===f&&"drawborder"===j[0].hoverAnimation&&`#kt-info-box${e} .kt-blocks-info-box-link-wrap .kt-blocks-info-box-media { border-width:0 !important; box-shadow: inset 0 0 0 ${_[0].borderWidth[0]}px ${_[0].border}; }\n\t\t\t\t\t#kt-info-box${e} .kt-blocks-info-box-link-wrap .kt-blocks-info-box-media:before, #kt-info-box${e} .kt-blocks-info-box-link-wrap .kt-blocks-info-box-media:after { border-radius: ${_[0].borderRadius}px; }\n\t\t\t\t\t#kt-info-box${e} .kt-blocks-info-box-link-wrap .kt-blocks-info-box-media:before { border-width: ${_[0].borderWidth[0]}px; }\n\t\t\t\t\t#kt-info-box${e} .kt-blocks-info-box-link-wrap .kt-blocks-info-box-media:after { border-width: 0; }\n\t\t\t\t\t#kt-info-box${e} .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-media:before { border-top-color: ${pa(_[0].hoverBorder)} ; border-right-color: ${pa(_[0].hoverBorder)}; border-bottom-color: ${pa(_[0].hoverBorder)} }\n\t\t\t\t\t#kt-info-box${e} .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-media:after{ border-right-color: ${pa(_[0].hoverBorder)}; border-right-width: ${_[0].borderWidth[0]}px; border-bottom-width: ${_[0].borderWidth[0]}px; border-top-width: ${_[0].borderWidth[0]}px; }`,"number"===f&&ce&&ce[0]&&ce[0].hoverAnimation&&"drawborder"===ce[0].hoverAnimation&&`#kt-info-box${e} .kt-blocks-info-box-link-wrap .kt-blocks-info-box-media { border-width:0 !important; box-shadow: inset 0 0 0 ${_[0].borderWidth[0]}px ${_[0].border}; }\n\t\t\t\t\t#kt-info-box${e} .kt-blocks-info-box-link-wrap .kt-blocks-info-box-media:before, #kt-info-box${e} .kt-blocks-info-box-link-wrap .kt-blocks-info-box-media:after { border-radius: ${_[0].borderRadius}px; }\n\t\t\t\t\t#kt-info-box${e} .kt-blocks-info-box-link-wrap .kt-blocks-info-box-media:before { border-width: ${_[0].borderWidth[0]}px; }\n\t\t\t\t\t#kt-info-box${e} .kt-blocks-info-box-link-wrap .kt-blocks-info-box-media:after { border-width: 0; }\n\t\t\t\t\t#kt-info-box${e} .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-media:before { border-top-color: ${pa(_[0].hoverBorder)} ; border-right-color: ${pa(_[0].hoverBorder)}; border-bottom-color: ${pa(_[0].hoverBorder)} }\n\t\t\t\t\t#kt-info-box${e} .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-media:after{ border-right-color: ${pa(_[0].hoverBorder)}; border-right-width: ${_[0].borderWidth[0]}px; border-bottom-width: ${_[0].borderWidth[0]}px; border-top-width: ${_[0].borderWidth[0]}px; }`,"image"===f&&!0===gt&&`#kt-info-box${e} .kt-blocks-info-box-link-wrap .kt-blocks-info-box-media { border-width:0 !important; box-shadow: inset 0 0 0 ${_[0].borderWidth[0]}px ${_[0].border}; }\n\t\t\t\t\t#kt-info-box${e} .kt-blocks-info-box-link-wrap .kt-blocks-info-box-media:before, #kt-info-box${e} .kt-blocks-info-box-link-wrap .kt-blocks-info-box-media:after { border-radius: ${_[0].borderRadius}px; }\n\t\t\t\t\t#kt-info-box${e} .kt-blocks-info-box-link-wrap .kt-blocks-info-box-media:before { border-width: ${_[0].borderWidth[0]}px; }\n\t\t\t\t\t#kt-info-box${e} .kt-blocks-info-box-link-wrap .kt-blocks-info-box-media:after { border-width: 0; }\n\t\t\t\t\t#kt-info-box${e} .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-media:before { border-top-color: ${pa(_[0].hoverBorder)} ; border-right-color: ${pa(_[0].hoverBorder)}; border-bottom-color: ${pa(_[0].hoverBorder)} }\n\t\t\t\t\t#kt-info-box${e} .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-media:after{ border-right-color: ${pa(_[0].hoverBorder)}; border-right-width: ${_[0].borderWidth[0]}px; border-bottom-width: ${_[0].borderWidth[0]}px; border-top-width: ${_[0].borderWidth[0]}px; }`);let ht=isNaN(O[0].height)?void 0:O[0].height/O[0].width*100+"%",vt=isNaN(O[0].height)?void 0:0,kt=!1;if(se&&"inherit"!==se)switch(kt=!0,vt=0,se){case"land43":ht="75%";break;case"land32":ht="66.67%";break;case"land169":ht="56.25%";break;case"land21":ht="50%";break;case"land31":ht="33%";break;case"land41":ht="25%";break;case"port34":ht="133.33%";break;case"port23":ht="150%";break;default:ht="100%"}let yt=!("image"!==f||!O[0].url);return yt&&be&&be["mediaImage:0:url"]&&be["mediaImage:0:url"].enable&&(yt=!1),Object(b.createElement)("div",{id:"kt-info-box"+e,className:me},ut,Object(b.createElement)(rm,{key:"controls"},yt&&Object(b.createElement)(pm,null,Object(b.createElement)(am,{onSelect:et,type:"image",value:O[0].id,allowedTypes:Xe,render:e=>{let{open:t}=e;return Object(b.createElement)(cm,{className:"components-toolbar__control",label:Object(m.__)("Edit Media","kadence-blocks"),icon:Tl.a,onClick:t})}})),"icon"===f&&Object(b.createElement)(sm,{className:"kb-popover-inline-icon-container components-dropdown-menu components-toolbar",contentClassName:"kb-popover-inline-icon",position:"top center",renderToggle:e=>{let{isOpen:t,onToggle:l}=e;return Object(b.createElement)(cm,{className:"components-dropdown-menu__toggle kb-inline-icon-toolbar-icon",label:Object(m.__)("Icon Settings","kadence-blocks"),icon:em.a,onClick:l,"aria-expanded":t})},renderContent:()=>Object(b.createElement)(lm,null,Object(b.createElement)("div",{className:"kb-inline-icon-control"},Object(b.createElement)(st,{value:j[0].icon,onChange:e=>at({icon:e})}),Object(b.createElement)(E,{label:Object(m.__)("Icon Size","kadence-blocks"),value:j[0].size,onChange:e=>at({size:e}),min:5,max:250,step:1})))}),Object(b.createElement)(om,{value:i,onChange:e=>pe({hAlign:e})}),Object(b.createElement)(Kb,{onPaste:e=>pe(e),onPasteMediaImage:e=>lt(e),onPasteMediaIcon:e=>at(e),blockAttributes:this.props.attributes})),this.showSettings("allSettings")&&Object(b.createElement)(nm,null,Object(b.createElement)(Pt,{panelName:"kb-info-all-settings"},Object(b.createElement)(lm,null,Object(b.createElement)("h2",null,Object(m.__)("InfoBox Quick Layout Presets","kadence-blocks")),Object(b.createElement)(dm,{className:"kt-style-btn-group kb-info-layouts","aria-label":Object(m.__)("InfoBox Style","kadence-blocks")},k()(We,e=>{let{name:t,key:l,icon:a}=e;return Object(b.createElement)(cm,{key:l,className:"kt-style-btn",isSmall:!0,isPrimary:!1,"aria-pressed":!1,onClick:()=>{(e=>{"simple"===e?pe({hAlign:"center",containerBackground:"#ffffff"===n?"#f2f2f2":n,containerHoverBackground:"#ffffff"===n?"#f2f2f2":n,containerBorderWidth:[0,0,0,0],containerBorderRadius:0,containerPadding:[20,20,20,20],containerMargin:["","","",""],containerMarginUnit:"px",mediaAlign:"top",mediaIcon:[{icon:j[0].icon,size:50,width:j[0].width,title:j[0].title,color:j[0].color,hoverColor:j[0].hoverColor,hoverAnimation:j[0].hoverAnimation,flipIcon:j[0].flipIcon}],mediaStyle:[{background:j[0].background,hoverBackground:j[0].hoverBackground,border:j[0].border,hoverBorder:j[0].hoverBorder,borderRadius:0,borderWidth:[0,0,0,0],padding:[10,10,10,10],margin:[0,15,0,15]}],titleFont:[{level:N[0].level,size:N[0].size,sizeType:N[0].sizeType,lineHeight:N[0].lineHeight,lineType:N[0].lineType,letterSpacing:N[0].letterSpacing,textTransform:N[0].textTransform,family:N[0].family,google:N[0].google,style:N[0].style,weight:N[0].weight,variant:N[0].variant,subset:N[0].subset,loadGoogle:N[0].loadGoogle,padding:[0,0,0,0],paddingControl:"linked",margin:[5,0,10,0],marginControl:"individual"}]}):"basic"===e?pe({hAlign:"center",containerBackground:"#f2f2f2"===n?"#ffffff":n,containerHoverBackground:"#f2f2f2"===r?"#ffffff":r,containerBorder:"#f2f2f2"===c?"#ffffff":c,containerHoverBorder:"#f2f2f2"===s?"#eeeeee":s,containerBorderWidth:[5,5,5,5],containerBorderRadius:30,containerPadding:[20,20,20,20],containerMargin:["","","",""],containerMarginUnit:"px",mediaAlign:"top",mediaIcon:[{icon:j[0].icon,size:50,width:j[0].width,title:j[0].title,color:j[0].color,hoverColor:j[0].hoverColor,hoverAnimation:j[0].hoverAnimation,flipIcon:j[0].flipIcon}],mediaStyle:[{background:void 0===j[0].background||"transparent"===j[0].background?"#eeeeee":j[0].background,hoverBackground:void 0===j[0].hoverBackground||"transparent"===j[0].hoverBackground?"#eeeeee":j[0].hoverBackground,border:j[0].border,hoverBorder:j[0].hoverBorder,borderRadius:200,borderWidth:[0,0,0,0],padding:"icon"===f||"number"===f?[20,20,20,20]:[0,0,0,0],margin:[0,15,10,15]}],mediaImage:[{url:O[0].url,id:O[0].id,alt:O[0].alt,width:O[0].width,height:O[0].height,maxWidth:100,hoverAnimation:O[0].hoverAnimation,flipUrl:O[0].flipUrl,flipId:O[0].flipId,flipAlt:O[0].flipAlt,flipWidth:O[0].flipWidth,flipHeight:O[0].flipHeight,subtype:O[0].subtype,flipSubtype:O[0].flipSubtype}],titleFont:[{level:N[0].level,size:N[0].size,sizeType:N[0].sizeType,lineHeight:N[0].lineHeight,lineType:N[0].lineType,letterSpacing:N[0].letterSpacing,textTransform:N[0].textTransform,family:N[0].family,google:N[0].google,style:N[0].style,weight:N[0].weight,variant:N[0].variant,subset:N[0].subset,loadGoogle:N[0].loadGoogle,padding:[0,0,0,0],paddingControl:"linked",margin:[5,0,10,0],marginControl:"individual"}]}):"leftabove"===e?pe({hAlign:"left",containerBackground:"#f2f2f2"===n?"#ffffff":n,containerHoverBackground:"#f2f2f2"===r?"#ffffff":r,containerBorder:"#f2f2f2"===c?"#ffffff":c,containerHoverBorder:"#f2f2f2"===s?"#eeeeee":s,containerBorderWidth:[5,5,5,5],containerBorderRadius:0,containerPadding:[24,24,24,24],containerMargin:["","","",""],containerMarginUnit:"px",mediaAlign:"top",mediaIcon:[{icon:j[0].icon,size:50,width:j[0].width,title:j[0].title,color:j[0].color,hoverColor:j[0].hoverColor,hoverAnimation:j[0].hoverAnimation,flipIcon:j[0].flipIcon}],mediaStyle:[{background:void 0===j[0].background||"transparent"===j[0].background?"#eeeeee":j[0].background,hoverBackground:void 0===j[0].hoverBackground||"transparent"===j[0].hoverBackground?"#eeeeee":j[0].hoverBackground,border:j[0].border,hoverBorder:j[0].hoverBorder,borderRadius:0,borderWidth:[0,0,0,0],padding:"icon"===f||"number"===f?[20,20,20,20]:[0,0,0,0],margin:[0,0,16,0]}],mediaImage:[{url:O[0].url,id:O[0].id,alt:O[0].alt,width:O[0].width,height:O[0].height,maxWidth:100,hoverAnimation:O[0].hoverAnimation,flipUrl:O[0].flipUrl,flipId:O[0].flipId,flipAlt:O[0].flipAlt,flipWidth:O[0].flipWidth,flipHeight:O[0].flipHeight,subtype:O[0].subtype,flipSubtype:O[0].flipSubtype}],titleFont:[{level:N[0].level,size:N[0].size,sizeType:N[0].sizeType,lineHeight:N[0].lineHeight,lineType:N[0].lineType,letterSpacing:N[0].letterSpacing,textTransform:N[0].textTransform,family:N[0].family,google:N[0].google,style:N[0].style,weight:N[0].weight,variant:N[0].variant,subset:N[0].subset,loadGoogle:N[0].loadGoogle,padding:[0,0,0,0],paddingControl:"linked",margin:[5,0,10,0],marginControl:"individual"}]}):"left"===e?pe({hAlign:"left",containerBackground:"#f2f2f2"===n?"#ffffff":n,containerHoverBackground:"#f2f2f2"===r?"#ffffff":r,containerBorder:"#f2f2f2"===c?"#ffffff":c,containerHoverBorder:"#f2f2f2"===s?"#eeeeee":s,containerBorderWidth:[5,5,5,5],containerBorderRadius:20,containerPadding:[24,24,24,24],containerMargin:["","","",""],containerMarginUnit:"px",mediaAlign:"left",mediaIcon:[{icon:j[0].icon,size:50,width:j[0].width,title:j[0].title,color:j[0].color,hoverColor:j[0].hoverColor,hoverAnimation:j[0].hoverAnimation,flipIcon:j[0].flipIcon}],mediaStyle:[{background:void 0===j[0].background||"transparent"===j[0].background?"#ffffff":j[0].background,hoverBackground:void 0===j[0].hoverBackground||"transparent"===j[0].hoverBackground?"#ffffff":j[0].hoverBackground,border:void 0===j[0].border||"#444444"===j[0].border?"#eeeeee":j[0].border,hoverBorder:void 0===j[0].hoverBorder||"#444444"===j[0].hoverBorder?"#eeeeee":j[0].hoverBorder,borderRadius:200,borderWidth:"icon"===f||"number"===f?[5,5,5,5]:[0,0,0,0],padding:"icon"===f||"number"===f?[20,20,20,20]:[0,0,0,0],margin:[0,20,0,0]}],mediaImage:[{url:O[0].url,id:O[0].id,alt:O[0].alt,width:O[0].width,height:O[0].height,maxWidth:100,hoverAnimation:O[0].hoverAnimation,flipUrl:O[0].flipUrl,flipId:O[0].flipId,flipAlt:O[0].flipAlt,flipWidth:O[0].flipWidth,flipHeight:O[0].flipHeight,subtype:O[0].subtype,flipSubtype:O[0].flipSubtype}],titleFont:[{level:N[0].level,size:N[0].size,sizeType:N[0].sizeType,lineHeight:N[0].lineHeight,lineType:N[0].lineType,letterSpacing:N[0].letterSpacing,textTransform:N[0].textTransform,family:N[0].family,google:N[0].google,style:N[0].style,weight:N[0].weight,variant:N[0].variant,subset:N[0].subset,loadGoogle:N[0].loadGoogle,padding:[0,0,0,0],paddingControl:"linked",margin:[5,0,10,0],marginControl:"individual"}]}):"overlay"===e?pe({hAlign:"center",containerBackground:"#f2f2f2"===n?"#ffffff":n,containerHoverBackground:"#f2f2f2"===r?"#ffffff":r,containerBorder:"#f2f2f2"===c?"#ffffff":c,containerHoverBorder:"#f2f2f2"===s?"#eeeeee":s,containerBorderWidth:[5,5,5,5],containerBorderRadius:20,containerPadding:[24,24,24,24],containerMargin:[50,"","",""],containerMarginUnit:"px",mediaAlign:"top",mediaIcon:[{icon:j[0].icon,size:50,width:j[0].width,title:j[0].title,color:j[0].color,hoverColor:j[0].hoverColor,hoverAnimation:j[0].hoverAnimation,flipIcon:j[0].flipIcon}],mediaStyle:[{background:void 0===j[0].background||"transparent"===j[0].background?"#ffffff":j[0].background,hoverBackground:void 0===j[0].hoverBackground||"transparent"===j[0].hoverBackground?"#ffffff":j[0].hoverBackground,border:void 0===j[0].border||"#444444"===j[0].border?"#eeeeee":j[0].border,hoverBorder:void 0===j[0].hoverBorder||"#444444"===j[0].hoverBorder?"#eeeeee":j[0].hoverBorder,borderRadius:200,borderWidth:[5,5,5,5],padding:"icon"===f?[20,20,20,20]:[0,0,0,0],margin:[-75,0,20,0]}],mediaImage:[{url:O[0].url,id:O[0].id,alt:O[0].alt,width:O[0].width,height:O[0].height,maxWidth:100,hoverAnimation:O[0].hoverAnimation,flipUrl:O[0].flipUrl,flipId:O[0].flipId,flipAlt:O[0].flipAlt,flipWidth:O[0].flipWidth,flipHeight:O[0].flipHeight,subtype:O[0].subtype,flipSubtype:O[0].flipSubtype}],titleFont:[{level:N[0].level,size:N[0].size,sizeType:N[0].sizeType,lineHeight:N[0].lineHeight,lineType:N[0].lineType,letterSpacing:N[0].letterSpacing,textTransform:N[0].textTransform,family:N[0].family,google:N[0].google,style:N[0].style,weight:N[0].weight,variant:N[0].variant,subset:N[0].subset,loadGoogle:N[0].loadGoogle,padding:[0,0,0,0],paddingControl:"linked",margin:[5,0,10,0],marginControl:"individual"}]}):"overlayleft"===e&&pe({hAlign:"left",containerBackground:"#f2f2f2"===n?"#ffffff":n,containerHoverBackground:"#f2f2f2"===r?"#ffffff":r,containerBorder:"#f2f2f2"===c?"#ffffff":c,containerHoverBorder:"#f2f2f2"===s?"#eeeeee":s,containerBorderWidth:[5,5,5,5],containerBorderRadius:0,containerPadding:[24,24,24,24],containerMargin:[50,"","",""],containerMarginUnit:"px",mediaAlign:"top",mediaIcon:[{icon:j[0].icon,size:50,width:j[0].width,title:j[0].title,color:j[0].color,hoverColor:j[0].hoverColor,hoverAnimation:j[0].hoverAnimation,flipIcon:j[0].flipIcon}],mediaStyle:[{background:void 0===j[0].background||"transparent"===j[0].background?"#ffffff":j[0].background,hoverBackground:void 0===j[0].hoverBackground||"transparent"===j[0].hoverBackground?"#ffffff":j[0].hoverBackground,border:void 0===j[0].border||"#444444"===j[0].border?"#eeeeee":j[0].border,hoverBorder:void 0===j[0].hoverBorder||"#444444"===j[0].hoverBorder?"#eeeeee":j[0].hoverBorder,borderRadius:0,borderWidth:[5,5,5,5],padding:"icon"===f||"number"===f?[20,20,20,20]:[0,0,0,0],margin:[-75,0,20,0]}],mediaImage:[{url:O[0].url,id:O[0].id,alt:O[0].alt,width:O[0].width,height:O[0].height,maxWidth:100,hoverAnimation:O[0].hoverAnimation,flipUrl:O[0].flipUrl,flipId:O[0].flipId,flipAlt:O[0].flipAlt,flipWidth:O[0].flipWidth,flipHeight:O[0].flipHeight,subtype:O[0].subtype,flipSubtype:O[0].flipSubtype}],titleFont:[{level:N[0].level,size:N[0].size,sizeType:N[0].sizeType,lineHeight:N[0].lineHeight,lineType:N[0].lineType,letterSpacing:N[0].letterSpacing,textTransform:N[0].textTransform,family:N[0].family,google:N[0].google,style:N[0].style,weight:N[0].weight,variant:N[0].variant,subset:N[0].subset,loadGoogle:N[0].loadGoogle,padding:[0,0,0,0],paddingControl:"linked",margin:[5,0,10,0],marginControl:"individual"}]})})(l)}},a)}))),Object(b.createElement)(qa,Ke()({label:Object(m.__)("Link","kadence-blocks"),url:t,onChangeUrl:e=>pe({link:e}),additionalControls:!0,opensInNewTab:!(!a||"_blank"!=a),onChangeTarget:e=>{pe(e?{target:"_blank"}:{target:"_self"})},linkNoFollow:void 0!==ie&&ie,onChangeFollow:e=>pe({linkNoFollow:e}),linkSponsored:void 0!==ne&&ne,onChangeSponsored:e=>pe({linkSponsored:e}),linkTitle:de,onChangeTitle:e=>{pe({linkTitle:e})},dynamicAttribute:"link",allowClear:!0},this.props)),Object(b.createElement)(hm,{label:Object(m.__)("Link Content","kadence-blocks"),value:l,options:[{value:"box",label:Object(m.__)("Entire Box","kadence-blocks")},{value:"learnmore",label:Object(m.__)("Only Learn More Text","kadence-blocks")}],onChange:e=>pe({linkProperty:e})}),Object(b.createElement)("h2",{className:"kt-heading-size-title"},Object(m.__)("Content Align","kadence-blocks")),Object(b.createElement)(bm,{className:"kt-size-tabs kb-sidebar-alignment",activeClass:"active-tab",tabs:[{name:"desk",title:Object(b.createElement)(mm,{icon:"desktop"}),className:"kt-desk-tab"},{name:"tablet",title:Object(b.createElement)(mm,{icon:"tablet"}),className:"kt-tablet-tab"},{name:"mobile",title:Object(b.createElement)(mm,{icon:"smartphone"}),className:"kt-mobile-tab"}]},e=>{let t;return e.name&&(t="mobile"===e.name?Object(b.createElement)(om,{isCollapsed:!1,value:ee,onChange:e=>pe({hAlignMobile:e})}):"tablet"===e.name?Object(b.createElement)(om,{isCollapsed:!1,value:te,onChange:e=>pe({hAlignTablet:e})}):Object(b.createElement)(om,{isCollapsed:!1,value:i,onChange:e=>pe({hAlign:e})})),Object(b.createElement)("div",{className:e.className,key:e.className},t)})),this.showSettings("containerSettings")&&Object(b.createElement)(Pt,{title:Object(m.__)("Container Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-info-container-settings"},Object(b.createElement)(Fc,{label:Object(m.__)("Container Border Width (px)","kadence-blocks"),measurement:d,control:ue,onChange:e=>pe({containerBorderWidth:e}),onControl:e=>this.setState({containerBorderControl:e}),min:0,max:40,step:1}),Object(b.createElement)(E,{label:Object(m.__)("Container Border Radius (px)","kadence-blocks"),value:p,onChange:e=>pe({containerBorderRadius:e}),step:1,min:0,max:200}),Object(b.createElement)(bm,{className:"kt-inspect-tabs kt-hover-tabs",activeClass:"active-tab",tabs:[{name:"normal",title:Object(m.__)("Normal","kadence-blocks"),className:"kt-normal-tab"},{name:"hover",title:Object(m.__)("Hover","kadence-blocks"),className:"kt-hover-tab"}]},e=>{let t;return e.name&&(t="hover"===e.name?Object(b.createElement)(lm,null,Object(b.createElement)(De,{label:Object(m.__)("Hover Background","kadence-blocks"),value:r||"#f2f2f2",default:"#f2f2f2",opacityValue:$,onChange:e=>pe({containerHoverBackground:e}),onOpacityChange:e=>pe({containerHoverBackgroundOpacity:e})}),Object(b.createElement)(De,{label:Object(m.__)("Hover Border","kadence-blocks"),value:s||"#eeeeee",default:"#eeeeee",opacityValue:V,onChange:e=>pe({containerHoverBorder:e}),onOpacityChange:e=>pe({containerHoverBorderOpacity:e})})):Object(b.createElement)(lm,null,Object(b.createElement)(De,{label:Object(m.__)("Container Background","kadence-blocks"),value:n||"#f2f2f2",default:"#f2f2f2",opacityValue:U,onChange:e=>pe({containerBackground:e}),onOpacityChange:e=>pe({containerBackgroundOpacity:e})}),Object(b.createElement)(De,{label:Object(m.__)("Container Border","kadence-blocks"),value:c||"#eeeeee",default:"#eeeeee",opacityValue:Z,onChange:e=>pe({containerBorder:e}),onOpacityChange:e=>pe({containerBorderOpacity:e})}))),Object(b.createElement)("div",{className:e.className,key:e.className},t)}),Object(b.createElement)(Ot,{label:Object(m.__)("Container Padding","kadence-blocks"),control:ye,tabletControl:ye,mobileControl:ye,value:u,tabletValue:y,mobileValue:v,onChange:e=>{pe({containerPadding:e})},onChangeTablet:e=>{pe({containerTabletPadding:e})},onChangeMobile:e=>{pe({containerMobilePadding:e})},onChangeControl:e=>this.setState({containerPaddingControl:e}),onChangeTabletControl:e=>this.setState({containerPaddingControl:e}),onChangeMobileControl:e=>this.setState({containerPaddingControl:e}),allowEmpty:!0,min:0,max:_e,step:we,unit:h,units:["px","em","rem","%"],onUnit:e=>pe({containerPaddingType:e})}),Object(b.createElement)(dm,{className:"kt-size-type-options kt-row-size-type-options kb-typo-when-linked-individual-avail","aria-label":Object(m.__)("Margin Type","kadence-blocks")},k()([{key:"px",name:"px"},{key:"em",name:"em"},{key:"%",name:"%"},{key:"vh",name:"vh"},{key:"rem",name:"rem"}],e=>{let{name:t,key:l}=e;return Object(b.createElement)(cm,{key:l,className:"kt-size-btn",isSmall:!0,isPrimary:ae===l,"aria-pressed":ae===l,onClick:()=>pe({containerMarginUnit:l})},t)})),Object(b.createElement)(Fc,{label:Object(m.__)("Margin","kadence-blocks"),measurement:le,onChange:e=>pe({containerMargin:e}),control:fe,onControl:e=>this.setState({containerMarginControl:e}),min:Ae,max:Le,step:Fe,allowEmpty:!0}),Object(b.createElement)(dm,{className:"kt-size-type-options","aria-label":Object(m.__)("Max Width Type","kadence-blocks")},k()([{key:"px",name:"px"},{key:"%",name:"%"},{key:"vw",name:"vw"}],e=>{let{name:t,key:l}=e;return Object(b.createElement)(cm,{key:l,className:"kt-size-btn",isSmall:!0,isPrimary:K===l,"aria-pressed":K===l,onClick:()=>pe({maxWidthUnit:l})},t)})),Object(b.createElement)(E,{label:Object(m.__)("Container Max Width","kadence-blocks"),value:Q,onChange:e=>{pe({maxWidth:e})},min:0,max:Oe})),this.showSettings("mediaSettings")&&Object(b.createElement)(Pt,{title:Object(m.__)("Media Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-info-media-settings"},Object(b.createElement)(bm,{className:"kt-inspect-tabs kt-spacer-tabs",activeClass:"active-tab",tabs:[{name:"desk",title:Object(b.createElement)(mm,{icon:"desktop"}),className:"kt-desk-tab"},{name:"tablet",title:Object(b.createElement)(mm,{icon:"tablet"}),className:"kt-tablet-tab"},{name:"mobile",title:Object(b.createElement)(mm,{icon:"smartphone"}),className:"kt-mobile-tab"}]},e=>{let t;return e.name&&(t="mobile"===e.name?Object(b.createElement)(hm,{label:Object(m.__)("Mobile Media Align","kadence-blocks"),value:Y||w,options:[{value:"top",label:Object(m.__)("Top","kadence-blocks")},{value:"left",label:Object(m.__)("Left","kadence-blocks")},{value:"right",label:Object(m.__)("Right","kadence-blocks")}],onChange:e=>pe({mediaAlignMobile:e})}):"tablet"===e.name?Object(b.createElement)(hm,{label:Object(m.__)("Tablet Media Align","kadence-blocks"),value:X||w,options:[{value:"top",label:Object(m.__)("Top","kadence-blocks")},{value:"left",label:Object(m.__)("Left","kadence-blocks")},{value:"right",label:Object(m.__)("Right","kadence-blocks")}],onChange:e=>pe({mediaAlignTablet:e})}):Object(b.createElement)(hm,{label:Object(m.__)("Media Align","kadence-blocks"),value:w,options:[{value:"top",label:Object(m.__)("Top","kadence-blocks")},{value:"left",label:Object(m.__)("Left","kadence-blocks")},{value:"right",label:Object(m.__)("Right","kadence-blocks")}],onChange:e=>pe({mediaAlign:e})})),Object(b.createElement)("div",{className:e.className,key:e.className},t)}),"top"!==w&&Object(b.createElement)(lm,null,Object(b.createElement)(hm,{label:Object(m.__)("Media Vertical Align","kadence-blocks"),value:J,options:[{value:"top",label:Object(m.__)("Top","kadence-blocks")},{value:"middle",label:Object(m.__)("Middle","kadence-blocks")},{value:"bottom",label:Object(m.__)("Bottom","kadence-blocks")}],onChange:e=>pe({mediaVAlign:e})})),Object(b.createElement)(hm,{label:Object(m.__)("Media Type","kadence-blocks"),value:f,options:[{value:"icon",label:Object(m.__)("Icon","kadence-blocks")},{value:"image",label:Object(m.__)("Image","kadence-blocks")},{value:"number",label:Object(m.__)("Number","kadence-blocks")},{value:"none",label:Object(m.__)("None","kadence-blocks")}],onChange:e=>pe({mediaType:e})}),"image"===f&&Object(b.createElement)(lm,null,Object(b.createElement)(Il,Ke()({label:Object(m.__)("Image","kadence-blocks"),hasImage:!!(O&&O[0]&&O[0].url),imageURL:O&&O[0]&&O[0].url?O[0].url:"",imageID:O&&O[0]&&O[0].id?O[0].id:"",onRemoveImage:()=>{lt({id:"",url:"",alt:"",width:"",height:"",maxWidth:"",subtype:""})},onSaveImage:et,disableMediaButtons:!!O[0].url,dynamicAttribute:"mediaImage:0:url"},this.props)),O[0].id&&"svg+xml"!==O[0].subtype&&Object(b.createElement)(Oa,{label:Object(m.__)("Image File Size","kadence-blocks"),id:O[0].id,url:O[0].url,onChange:e=>{lt({url:e.value,width:e.width,height:e.height})}}),Object(b.createElement)(E,{label:Object(m.__)("Max Image Width","kadence-blocks"),value:O[0].maxWidth,onChange:e=>lt({maxWidth:e}),min:5,max:800,step:1}),Object(b.createElement)(hm,{label:Object(m.__)("Image ratio","kadence-blocks"),options:[{label:Object(m.__)("Inherit","kadence-blocks"),value:"inherit"},{label:Object(m.__)("Landscape 4:3","kadence-blocks"),value:"land43"},{label:Object(m.__)("Landscape 3:2","kadence-blocks"),value:"land32"},{label:Object(m.__)("Landscape 16:9","kadence-blocks"),value:"land169"},{label:Object(m.__)("Landscape 2:1","kadence-blocks"),value:"land21"},{label:Object(m.__)("Landscape 3:1","kadence-blocks"),value:"land31"},{label:Object(m.__)("Landscape 4:1","kadence-blocks"),value:"land41"},{label:Object(m.__)("Portrait 3:4","kadence-blocks"),value:"port34"},{label:Object(m.__)("Portrait 2:3","kadence-blocks"),value:"port23"},{label:Object(m.__)("Square 1:1","kadence-blocks"),value:"square"}],value:se,onChange:e=>pe({imageRatio:e})}),Object(b.createElement)(hm,{label:Object(m.__)("Image Hover Animation","kadence-blocks"),value:O[0].hoverAnimation,options:[{value:"none",label:Object(m.__)("None","kadence-blocks")},{value:"grayscale",label:Object(m.__)("Grayscale to Color","kadence-blocks")},{value:"drawborder",label:Object(m.__)("Border Spin In","kadence-blocks")},{value:"grayscale-border-draw",label:Object(m.__)("Grayscale to Color & Border Spin In","kadence-blocks")},{value:"flip",label:Object(m.__)("Flip to Another Image","kadence-blocks")}],onChange:e=>lt({hoverAnimation:e})}),"flip"===O[0].hoverAnimation&&Object(b.createElement)(lm,null,Object(b.createElement)("h2",null,Object(m.__)("Flip Image (Use same size as start image","kadence-blocks")),Object(b.createElement)(Il,Ke()({label:Object(m.__)("Image","kadence-blocks"),hasImage:!!(O&&O[0]&&O[0].flipUrl),imageURL:O&&O[0]&&O[0].flipUrl?O[0].flipUrl:"",imageID:O&&O[0]&&O[0].flipId?O[0].flipId:"",onRemoveImage:()=>{lt({flipId:"",flipUrl:"",flipAlt:"",flipWidth:"",flipHeight:"",flipSubtype:""})},onSaveImage:e=>{const t=o()(e,["width"])||o()(e,["media_details","width"]),l=o()(e,["height"])||o()(e,["media_details","height"]);lt({flipId:e.id,flipUrl:e.url,flipAlt:e.alt,flipWidth:t,flipHeight:l,flipSubtype:e.subtype})},disableMediaButtons:!!(O&&O[0]&&O[0].flipUrl)},this.props)),O[0].flipId&&"svg+xml"!==O[0].flipSubtype&&Object(b.createElement)(Oa,{label:Object(m.__)("Image File Size","kadence-blocks"),id:O[0].flipId,url:O[0].flipUrl,onChange:e=>{lt({flipUrl:e.value,flipWidth:e.width,flipHeight:e.height})}})),Object(b.createElement)(Fc,{label:Object(m.__)("Image Border","kadence-blocks"),measurement:_[0].borderWidth,control:he,onChange:e=>it({borderWidth:e}),onControl:e=>this.setState({mediaBorderControl:e}),min:0,max:40,step:1}),Object(b.createElement)(E,{label:Object(m.__)("Image Border Radius (px)","kadence-blocks"),value:_[0].borderRadius,onChange:e=>it({borderRadius:e}),step:1,min:0,max:200}),Object(b.createElement)(bm,{className:"kt-inspect-tabs kt-hover-tabs",activeClass:"active-tab",tabs:[{name:"normal",title:Object(m.__)("Normal","kadence-blocks"),className:"kt-normal-tab"},{name:"hover",title:Object(m.__)("Hover","kadence-blocks"),className:"kt-hover-tab"}]},e=>{let t;return e.name&&(t="hover"===e.name?Object(b.createElement)(lm,null,O[0].subtype&&"svg+xml"===O[0].subtype&&Object(b.createElement)(lm,null,Object(b.createElement)(De,{label:Object(m.__)("SVG Hover Color","kadence-blocks"),value:j[0].hoverColor?j[0].hoverColor:"#444444",default:"#444444",onChange:e=>at({hoverColor:e})}),Object(b.createElement)("small",null,Object(m.__)("*you must force inline svg for this to have effect.","kadence-blocks"))),Object(b.createElement)(De,{label:Object(m.__)("Image Hover Background","kadence-blocks"),value:_[0].hoverBackground?_[0].hoverBackground:"",default:"transparent",onChange:e=>it({hoverBackground:e})}),Object(b.createElement)(De,{label:Object(m.__)("Image Hover Border","kadence-blocks"),value:_[0].hoverBorder?_[0].hoverBorder:"#444444",default:"#444444",onChange:e=>it({hoverBorder:e})})):Object(b.createElement)(lm,null,O[0].subtype&&"svg+xml"===O[0].subtype&&Object(b.createElement)(lm,null,Object(b.createElement)(De,{label:Object(m.__)("SVG Color","kadence-blocks"),value:j[0].color?j[0].color:"#444444",default:"#444444",onChange:e=>at({color:e})}),Object(b.createElement)("small",null,Object(m.__)("*you must force inline svg for this to have effect.","kadence-blocks"))),Object(b.createElement)(De,{label:Object(m.__)("Image Background","kadence-blocks"),value:_[0].background?_[0].background:"",default:"transparent",onChange:e=>it({background:e})}),Object(b.createElement)(De,{label:Object(m.__)("Image Border","kadence-blocks"),value:_[0].border?_[0].border:"#444444",default:"#444444",onChange:e=>it({border:e})}))),Object(b.createElement)("div",{className:e.className,key:e.className},t)})),"icon"===f&&Object(b.createElement)(lm,null,Object(b.createElement)(st,{value:j[0].icon,onChange:e=>at({icon:e})}),Object(b.createElement)(Xb,{label:Object(m.__)("Icon Size","kadence-blocks"),value:j[0].size,mobileValue:j[0].mobileSize?j[0].mobileSize:"",tabletValue:j[0].tabletSize?j[0].tabletSize:"",onChange:e=>at({size:e}),onChangeTablet:e=>at({tabletSize:e}),onChangeMobile:e=>at({mobileSize:e}),min:5,max:250,step:1}),j[0].icon&&"fe"===j[0].icon.substring(0,2)&&Object(b.createElement)(E,{label:Object(m.__)("Icon Line Width","kadence-blocks"),value:j[0].width,onChange:e=>at({width:e}),step:.5,min:.5,max:4}),Object(b.createElement)(Fc,{label:Object(m.__)("Icon Border","kadence-blocks"),measurement:_[0].borderWidth,control:he,onChange:e=>it({borderWidth:e}),onControl:e=>this.setState({mediaBorderControl:e}),min:0,max:40,step:1}),Object(b.createElement)(E,{label:Object(m.__)("Icon Border Radius (px)","kadence-blocks"),value:_[0].borderRadius,onChange:e=>it({borderRadius:e}),step:1,min:0,max:200}),Object(b.createElement)(hm,{label:Object(m.__)("Icon Hover Animation","kadence-blocks"),value:j[0].hoverAnimation,options:[{value:"none",label:Object(m.__)("None","kadence-blocks")},{value:"drawborder",label:Object(m.__)("Border Spin In","kadence-blocks")},{value:"flip",label:Object(m.__)("Flip to Another Icon","kadence-blocks")}],onChange:e=>at({hoverAnimation:e})}),"flip"===j[0].hoverAnimation&&Object(b.createElement)(st,{value:j[0].flipIcon,onChange:e=>at({flipIcon:e})}),Object(b.createElement)(bm,{className:"kt-inspect-tabs kt-hover-tabs",activeClass:"active-tab",tabs:[{name:"normal",title:Object(m.__)("Normal","kadence-blocks"),className:"kt-normal-tab"},{name:"hover",title:Object(m.__)("Hover","kadence-blocks"),className:"kt-hover-tab"}]},e=>{let t;return e.name&&(t="hover"===e.name?Object(b.createElement)(lm,null,Object(b.createElement)(De,{label:Object(m.__)("Icon Hover Color","kadence-blocks"),value:j[0].hoverColor?j[0].hoverColor:"#444444",default:"#444444",onChange:e=>at({hoverColor:e})}),Object(b.createElement)(De,{label:Object(m.__)("Icon Hover Background","kadence-blocks"),value:_[0].hoverBackground?_[0].hoverBackground:"",default:"transparent",onChange:e=>it({hoverBackground:e})}),Object(b.createElement)(De,{label:Object(m.__)("Icon Hover Border","kadence-blocks"),value:_[0].hoverBorder?_[0].hoverBorder:"#444444",default:"#444444",onChange:e=>it({hoverBorder:e})})):Object(b.createElement)(lm,null,Object(b.createElement)(De,{label:Object(m.__)("Icon Color","kadence-blocks"),value:j[0].color?j[0].color:"#444444",default:"#444444",onChange:e=>at({color:e})}),Object(b.createElement)(De,{label:Object(m.__)("Icon Background","kadence-blocks"),value:_[0].background?_[0].background:"",default:"transparent",onChange:e=>it({background:e})}),Object(b.createElement)(De,{label:Object(m.__)("Icon Border Color","kadence-blocks"),value:_[0].border?_[0].border:"#444444",default:"#444444",onChange:e=>it({border:e})}))),Object(b.createElement)("div",{className:e.className,key:e.className},t)}),Object(b.createElement)(gm,{label:Object(m.__)("Icon Title for Accessibility","kadence-blocks"),value:j[0].title,onChange:e=>at({title:e})})),"number"===f&&Object(b.createElement)(lm,null,Object(b.createElement)(Xb,{label:Object(m.__)("Size","kadence-blocks"),value:j[0].size,mobileValue:j[0].mobileSize?j[0].mobileSize:"",tabletValue:j[0].tabletSize?j[0].tabletSize:"",onChange:e=>at({size:e}),onChangeTablet:e=>at({tabletSize:e}),onChangeMobile:e=>at({mobileSize:e}),min:5,max:250,step:1}),Object(b.createElement)(oe,{fontFamily:ce[0]&&ce[0].family?ce[0].family:"",onFontFamily:e=>nt({family:e}),onFontChange:e=>{nt({family:e.value,google:e.google})},onFontArrayChange:e=>nt(e),googleFont:void 0!==ce[0].google&&ce[0].google,onGoogleFont:e=>nt({google:e}),loadGoogleFont:void 0===ce[0].loadGoogle||ce[0].loadGoogle,onLoadGoogleFont:e=>nt({loadGoogle:e}),fontVariant:ce[0].variant?ce[0].variant:"",onFontVariant:e=>nt({variant:e}),fontWeight:ce[0].weight?ce[0].weight:"",onFontWeight:e=>nt({weight:e}),fontStyle:ce[0].style?ce[0].style:"",onFontStyle:e=>nt({style:e}),fontSubset:ce[0].subset?ce[0].subset:"",onFontSubset:e=>nt({subset:e})}),Object(b.createElement)(Fc,{label:Object(m.__)("Number Border","kadence-blocks"),measurement:_[0].borderWidth,control:he,onChange:e=>it({borderWidth:e}),onControl:e=>this.setState({mediaBorderControl:e}),min:0,max:40,step:1}),Object(b.createElement)(E,{label:Object(m.__)("Number Border Radius (px)","kadence-blocks"),value:_[0].borderRadius,onChange:e=>it({borderRadius:e}),step:1,min:0,max:200}),Object(b.createElement)(hm,{label:Object(m.__)("Number Hover Animation","kadence-blocks"),value:ce[0].hoverAnimation?ce[0].hoverAnimation:"none",options:[{value:"none",label:Object(m.__)("None","kadence-blocks")},{value:"drawborder",label:Object(m.__)("Border Spin In","kadence-blocks")}],onChange:e=>nt({hoverAnimation:e})}),Object(b.createElement)(bm,{className:"kt-inspect-tabs kt-hover-tabs",activeClass:"active-tab",tabs:[{name:"normal",title:Object(m.__)("Normal","kadence-blocks"),className:"kt-normal-tab"},{name:"hover",title:Object(m.__)("Hover","kadence-blocks"),className:"kt-hover-tab"}]},e=>{let t;return e.name&&(t="hover"===e.name?Object(b.createElement)(lm,null,Object(b.createElement)(De,{label:Object(m.__)("Number Hover Color","kadence-blocks"),value:j[0].hoverColor?j[0].hoverColor:"#444444",default:"#444444",onChange:e=>at({hoverColor:e})}),Object(b.createElement)(De,{label:Object(m.__)("Number Hover Background","kadence-blocks"),value:_[0].hoverBackground?_[0].hoverBackground:"",default:"transparent",onChange:e=>it({hoverBackground:e})}),Object(b.createElement)(De,{label:Object(m.__)("Number Hover Border","kadence-blocks"),value:_[0].hoverBorder?_[0].hoverBorder:"#444444",default:"#444444",onChange:e=>it({hoverBorder:e})})):Object(b.createElement)(lm,null,Object(b.createElement)(De,{label:Object(m.__)("Number Color","kadence-blocks"),value:j[0].color?j[0].color:"#444444",default:"#444444",onChange:e=>at({color:e})}),Object(b.createElement)(De,{label:Object(m.__)("Number Background","kadence-blocks"),value:_[0].background?_[0].background:"",default:"transparent",onChange:e=>it({background:e})}),Object(b.createElement)(De,{label:Object(m.__)("Number Border Color","kadence-blocks"),value:_[0].border?_[0].border:"#444444",default:"#444444",onChange:e=>it({border:e})}))),Object(b.createElement)("div",{className:e.className,key:e.className},t)})),Object(b.createElement)(Fc,{label:Object(m.__)("Media Padding","kadence-blocks"),measurement:_[0].padding,control:ve,onChange:e=>it({padding:e}),onControl:e=>this.setState({mediaPaddingControl:e}),min:0,max:100,step:1}),Object(b.createElement)(Fc,{label:Object(m.__)("Media Margin","kadence-blocks"),measurement:_[0].margin,control:ke,onChange:e=>it({margin:e}),onControl:e=>this.setState({mediaMarginControl:e}),min:-200,max:200,step:1})),this.showSettings("titleSettings")&&Object(b.createElement)(Pt,{title:Object(m.__)("Title Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-info-title-settings"},Object(b.createElement)(um,{label:Object(m.__)("Show Title","kadence-blocks"),checked:x,onChange:e=>pe({displayTitle:e})}),x&&Object(b.createElement)(lm,null,Object(b.createElement)("h2",{className:"kt-tab-wrap-title"},Object(m.__)("Color Settings","kadence-blocks")),Object(b.createElement)(bm,{className:"kt-inspect-tabs kt-hover-tabs",activeClass:"active-tab",tabs:[{name:"normal",title:Object(m.__)("Normal","kadence-blocks"),className:"kt-normal-tab"},{name:"hover",title:Object(m.__)("Hover","kadence-blocks"),className:"kt-hover-tab"}]},e=>{let t;return e.name&&(t="hover"===e.name?Object(b.createElement)(De,{label:Object(m.__)("Hover Color","kadence-blocks"),value:T||"",default:"",onChange:e=>pe({titleHoverColor:e})}):Object(b.createElement)(De,{label:Object(m.__)("Title Color","kadence-blocks"),value:C||"",default:"",onChange:e=>pe({titleColor:e})})),Object(b.createElement)("div",{className:e.className,key:e.className},t)}),Object(b.createElement)(oe,{fontGroup:"heading",tagLevel:N[0].level,onTagLevel:e=>rt({level:e}),fontSize:N[0].size,onFontSize:e=>rt({size:e}),fontSizeType:N[0].sizeType,onFontSizeType:e=>rt({sizeType:e}),lineHeight:N[0].lineHeight,onLineHeight:e=>rt({lineHeight:e}),lineHeightType:N[0].lineType,onLineHeightType:e=>rt({lineType:e}),letterSpacing:N[0].letterSpacing,onLetterSpacing:e=>rt({letterSpacing:e}),fontFamily:N[0].family,onFontFamily:e=>rt({family:e}),onFontChange:e=>{rt({family:e.value,google:e.google})},onFontArrayChange:e=>rt(e),googleFont:N[0].google,onGoogleFont:e=>rt({google:e}),loadGoogleFont:N[0].loadGoogle,onLoadGoogleFont:e=>rt({loadGoogle:e}),textTransform:N[0].textTransform,onTextTransform:e=>rt({textTransform:e}),fontVariant:N[0].variant,onFontVariant:e=>rt({variant:e}),fontWeight:N[0].weight,onFontWeight:e=>rt({weight:e}),fontStyle:N[0].style,onFontStyle:e=>rt({style:e}),fontSubset:N[0].subset,onFontSubset:e=>rt({subset:e}),padding:N[0].padding,onPadding:e=>rt({padding:e}),paddingControl:N[0].paddingControl,onPaddingControl:e=>rt({paddingControl:e}),margin:N[0].margin,onMargin:e=>rt({margin:e}),marginControl:N[0].marginControl,onMarginControl:e=>rt({marginControl:e})}),Object(b.createElement)("h2",{className:"kt-heading-size-title"},Object(m.__)("Min Height","kadence-blocks")),Object(b.createElement)(bm,{className:"kt-size-tabs",activeClass:"active-tab",tabs:[{name:"desk",title:Object(b.createElement)(mm,{icon:"desktop"}),className:"kt-desk-tab"},{name:"tablet",title:Object(b.createElement)(mm,{icon:"tablet"}),className:"kt-tablet-tab"},{name:"mobile",title:Object(b.createElement)(mm,{icon:"smartphone"}),className:"kt-mobile-tab"}]},e=>{let t;return e.name&&(t="mobile"===e.name?Object(b.createElement)(E,{value:void 0!==q&&void 0!==q[2]?q[2]:"",onChange:e=>pe({titleMinHeight:[void 0!==q&&void 0!==q[0]?q[0]:"",void 0!==q&&void 0!==q[1]?q[1]:"",e]}),step:1,min:0,max:600}):"tablet"===e.name?Object(b.createElement)(E,{value:void 0!==q&&void 0!==q[1]?q[1]:"",onChange:e=>pe({titleMinHeight:[void 0!==q&&void 0!==q[0]?q[0]:"",e,void 0!==q&&void 0!==q[2]?q[2]:""]}),step:1,min:0,max:600}):Object(b.createElement)(E,{value:void 0!==q&&void 0!==q[0]?q[0]:"",onChange:e=>pe({titleMinHeight:[e,void 0!==q&&void 0!==q[1]?q[1]:"",void 0!==q&&void 0!==q[2]?q[2]:""]}),step:1,min:0,max:600})),Object(b.createElement)("div",{className:e.className,key:e.className},t)}))),this.showSettings("textSettings")&&Object(b.createElement)(Pt,{title:Object(m.__)("Text Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-info-text-settings"},Object(b.createElement)(um,{label:Object(m.__)("Show Text","kadence-blocks"),checked:z,onChange:e=>pe({displayText:e})}),z&&Object(b.createElement)(lm,null,Object(b.createElement)("h2",{className:"kt-tab-wrap-title"},Object(m.__)("Color Settings")),Object(b.createElement)(bm,{className:"kt-inspect-tabs kt-hover-tabs",activeClass:"active-tab",tabs:[{name:"normal",title:Object(m.__)("Normal","kadence-blocks"),className:"kt-normal-tab"},{name:"hover",title:Object(m.__)("Hover","kadence-blocks"),className:"kt-hover-tab"}]},e=>{let t;return e.name&&(t="hover"===e.name?Object(b.createElement)(De,{label:Object(m.__)("Hover Color","kadence-blocks"),value:H||"",default:"",onChange:e=>pe({textHoverColor:e})}):Object(b.createElement)(De,{label:Object(m.__)("Text Color","kadence-blocks"),value:I||"",default:"",onChange:e=>pe({textColor:e})})),Object(b.createElement)("div",{className:e.className,key:e.className},t)}),Object(b.createElement)(oe,{fontSize:B[0].size,onFontSize:e=>ct({size:e}),fontSizeType:B[0].sizeType,onFontSizeType:e=>ct({sizeType:e}),lineHeight:B[0].lineHeight,onLineHeight:e=>ct({lineHeight:e}),lineHeightType:B[0].lineType,onLineHeightType:e=>ct({lineType:e}),letterSpacing:B[0].letterSpacing,onLetterSpacing:e=>ct({letterSpacing:e}),fontFamily:B[0].family,onFontFamily:e=>ct({family:e}),onFontChange:e=>{ct({family:e.value,google:e.google})},onFontArrayChange:e=>ct(e),googleFont:B[0].google,onGoogleFont:e=>ct({google:e}),loadGoogleFont:B[0].loadGoogle,onLoadGoogleFont:e=>ct({loadGoogle:e}),fontVariant:B[0].variant,onFontVariant:e=>ct({variant:e}),fontWeight:B[0].weight,onFontWeight:e=>ct({weight:e}),fontStyle:B[0].style,onFontStyle:e=>ct({style:e}),fontSubset:B[0].subset,onFontSubset:e=>ct({subset:e}),textTransform:void 0!==B[0].textTransform?B[0].textTransform:"",onTextTransform:e=>ct({textTransform:e})}),Object(b.createElement)(oe,{padding:void 0!==P&&void 0!==P[0]&&P[0].padding?P[0].padding:["","","",""],onPadding:e=>dt({padding:e}),paddingControl:void 0!==P&&void 0!==P[0]&&P[0].paddingControl?P[0].paddingControl:"linked",onPaddingControl:e=>dt({paddingControl:e}),margin:void 0!==P&&void 0!==P[0]&&P[0].margin?P[0].margin:["","","",""],onMargin:e=>dt({margin:e}),marginControl:void 0!==P&&void 0!==P[0]&&P[0].marginControl?P[0].marginControl:"linked",onMarginControl:e=>dt({marginControl:e})}),Object(b.createElement)("h2",{className:"kt-heading-size-title"},Object(m.__)("Min Height","kadence-blocks")),Object(b.createElement)(bm,{className:"kt-size-tabs",activeClass:"active-tab",tabs:[{name:"desk",title:Object(b.createElement)(mm,{icon:"desktop"}),className:"kt-desk-tab"},{name:"tablet",title:Object(b.createElement)(mm,{icon:"tablet"}),className:"kt-tablet-tab"},{name:"mobile",title:Object(b.createElement)(mm,{icon:"smartphone"}),className:"kt-mobile-tab"}]},e=>{let t;return e.name&&(t="mobile"===e.name?Object(b.createElement)(E,{value:void 0!==G&&void 0!==G[2]?G[2]:"",onChange:e=>pe({textMinHeight:[void 0!==G&&void 0!==G[0]?G[0]:"",void 0!==G&&void 0!==G[1]?G[1]:"",e]}),step:1,min:0,max:600}):"tablet"===e.name?Object(b.createElement)(E,{value:void 0!==G&&void 0!==G[1]?G[1]:"",onChange:e=>pe({textMinHeight:[void 0!==G&&void 0!==G[0]?G[0]:"",e,void 0!==G&&void 0!==G[2]?G[2]:""]}),step:1,min:0,max:600}):Object(b.createElement)(E,{value:void 0!==G&&void 0!==G[0]?G[0]:"",onChange:e=>pe({textMinHeight:[e,void 0!==G&&void 0!==G[1]?G[1]:"",void 0!==G&&void 0!==G[2]?G[2]:""]}),step:1,min:0,max:600})),Object(b.createElement)("div",{className:e.className,key:e.className},t)}))),this.showSettings("learnMoreSettings")&&Object(b.createElement)(Pt,{title:Object(m.__)("Learn More Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-info-learn-more"},Object(b.createElement)(um,{label:Object(m.__)("Show Learn More","kadence-blocks"),checked:R,onChange:e=>pe({displayLearnMore:e})}),R&&Object(b.createElement)(lm,null,Object(b.createElement)("h2",{className:"kt-tab-wrap-title"},Object(m.__)("Color Settings","kadence-blocks")),Object(b.createElement)(bm,{className:"kt-inspect-tabs kt-hover-tabs",activeClass:"active-tab",tabs:[{name:"normal",title:Object(m.__)("Normal","kadence-blocks"),className:"kt-normal-tab"},{name:"hover",title:Object(m.__)("Hover","kadence-blocks"),className:"kt-hover-tab"}]},e=>{let t;return e.name&&(t="hover"===e.name?Object(b.createElement)(lm,null,Object(b.createElement)(De,{label:Object(m.__)("HOVER: Text Color","kadence-blocks"),value:L[0].colorHover?L[0].colorHover:"#ffffff",default:"#ffffff",onChange:e=>bt({colorHover:e})}),Object(b.createElement)(De,{label:Object(m.__)("HOVER: Background","kadence-blocks"),value:L[0].backgroundHover?L[0].backgroundHover:"#444444",default:"#444444",onChange:e=>bt({backgroundHover:e})}),Object(b.createElement)(De,{label:Object(m.__)("HOVER: Border Color","kadence-blocks"),value:L[0].borderHover?L[0].borderHover:"#444444",default:"#444444",onChange:e=>bt({borderHover:e})})):Object(b.createElement)(lm,null,Object(b.createElement)(De,{label:Object(m.__)("Text Color","kadence-blocks"),value:L[0].color?L[0].color:"",default:"",onChange:e=>bt({color:e})}),Object(b.createElement)(De,{label:Object(m.__)("Background","kadence-blocks"),value:L[0].background?L[0].background:"",default:"transparent",onChange:e=>bt({background:e})}),Object(b.createElement)(De,{label:Object(m.__)("Border Color","kadence-blocks"),value:L[0].border?L[0].border:"#555555",default:"#555555",onChange:e=>bt({border:e})}))),Object(b.createElement)("div",{className:e.className,key:e.className},t)}),Object(b.createElement)(Fc,{label:Object(m.__)("Learn More Border Width (px)","kadence-blocks"),measurement:L[0].borderWidth,control:L[0].borderControl,onChange:e=>bt({borderWidth:e}),onControl:e=>bt({borderControl:e}),min:0,max:40,step:1}),Object(b.createElement)(E,{label:Object(m.__)("Learn More Border Radius (px)","kadence-blocks"),value:L[0].borderRadius,onChange:e=>bt({borderRadius:e}),step:1,min:0,max:200}),Object(b.createElement)(oe,{fontSize:L[0].size,onFontSize:e=>bt({size:e}),fontSizeType:L[0].sizeType,onFontSizeType:e=>bt({sizeType:e}),lineHeight:L[0].lineHeight,onLineHeight:e=>bt({lineHeight:e}),lineHeightType:L[0].lineType,onLineHeightType:e=>bt({lineType:e}),letterSpacing:L[0].letterSpacing,onLetterSpacing:e=>bt({letterSpacing:e}),fontFamily:L[0].family,onFontFamily:e=>bt({family:e}),onFontChange:e=>{bt({family:e.value,google:e.google})},onFontArrayChange:e=>bt(e),googleFont:L[0].google,onGoogleFont:e=>bt({google:e}),loadGoogleFont:L[0].loadGoogle,onLoadGoogleFont:e=>bt({loadGoogle:e}),textTransform:void 0!==L[0].textTransform?L[0].textTransform:"",onTextTransform:e=>bt({textTransform:e}),fontVariant:L[0].variant,onFontVariant:e=>bt({variant:e}),fontWeight:L[0].weight,onFontWeight:e=>bt({weight:e}),fontStyle:L[0].style,onFontStyle:e=>bt({style:e}),fontSubset:L[0].subset,onFontSubset:e=>bt({subset:e}),padding:L[0].padding,onPadding:e=>bt({padding:e}),paddingControl:L[0].paddingControl,onPaddingControl:e=>bt({paddingControl:e}),margin:L[0].margin,onMargin:e=>bt({margin:e}),marginControl:L[0].marginControl,onMarginControl:e=>bt({marginControl:e})}))),this.showSettings("shadowSettings")&&Object(b.createElement)(Pt,{title:Object(m.__)("Container Shadow","kadence-blocks"),initialOpen:!1,panelName:"kb-info-container-shadow"},Object(b.createElement)(um,{label:Object(m.__)("Enable Shadow","kadence-blocks"),checked:F,onChange:e=>pe({displayShadow:e})}),F&&Object(b.createElement)(bm,{className:"kt-inspect-tabs kt-hover-tabs",activeClass:"active-tab",tabs:[{name:"normal",title:Object(m.__)("Normal"),className:"kt-normal-tab"},{name:"hover",title:Object(m.__)("Hover"),className:"kt-hover-tab"}]},e=>{let t;return e.name&&(t="hover"===e.name?Object(b.createElement)(lm,null,Object(b.createElement)(De,{label:Object(m.__)("Shadow Color","kadence-blocks"),value:D[0].color?D[0].color:"",default:"",onChange:e=>pt({color:e}),opacityValue:D[0].opacity,onOpacityChange:e=>pt({opacity:e})}),Object(b.createElement)(E,{label:Object(m.__)("Shadow Blur","kadence-blocks"),value:D[0].blur,onChange:e=>pt({blur:e}),min:0,max:100,step:1}),Object(b.createElement)(E,{label:Object(m.__)("Shadow Spread","kadence-blocks"),value:D[0].spread,onChange:e=>pt({spread:e}),min:-100,max:100,step:1}),Object(b.createElement)(E,{label:Object(m.__)("Shadow Vertical Offset","kadence-blocks"),value:D[0].vOffset,onChange:e=>pt({vOffset:e}),min:-100,max:100,step:1}),Object(b.createElement)(E,{label:Object(m.__)("Shadow Horizontal Offset","kadence-blocks"),value:D[0].hOffset,onChange:e=>pt({hOffset:e}),min:-100,max:100,step:1})):Object(b.createElement)(lm,null,Object(b.createElement)(De,{label:Object(m.__)("Shadow Color","kadence-blocks"),value:W[0].color?W[0].color:"",default:"",onChange:e=>mt({color:e}),opacityValue:W[0].opacity,onOpacityChange:e=>mt({opacity:e})}),Object(b.createElement)(E,{label:Object(m.__)("Shadow Blur","kadence-blocks"),value:W[0].blur,onChange:e=>mt({blur:e}),min:0,max:100,step:1}),Object(b.createElement)(E,{label:Object(m.__)("Shadow Spread","kadence-blocks"),value:W[0].spread,onChange:e=>mt({spread:e}),min:-100,max:100,step:1}),Object(b.createElement)(E,{label:Object(m.__)("Shadow Vertical Offset","kadence-blocks"),value:W[0].vOffset,onChange:e=>mt({vOffset:e}),min:-100,max:100,step:1}),Object(b.createElement)(E,{label:Object(m.__)("Shadow Horizontal Offset","kadence-blocks"),value:W[0].hOffset,onChange:e=>mt({hOffset:e}),min:-100,max:100,step:1}))),Object(b.createElement)("div",{className:e.className,key:e.className},t)}))),Object(b.createElement)("div",{className:`kt-blocks-info-box-link-wrap kt-blocks-info-box-media-align-${w} ${tt} kt-info-halign-${i} kb-info-box-vertical-media-align-${J}`,style:{boxShadow:F?W[0].hOffset+"px "+W[0].vOffset+"px "+W[0].blur+"px "+W[0].spread+"px "+pa(W[0].color,W[0].opacity):void 0,borderColor:pa(c||"#eeeeee",void 0!==Z?Z:1),background:pa(n||"#f2f2f2",void 0!==U?U:1),borderRadius:p+"px",borderWidth:d?d[0]+"px "+d[1]+"px "+d[2]+"px "+d[3]+"px":"",paddingTop:""!==xe?xe+je:void 0,paddingRight:""!==Ee?Ee+je:void 0,paddingBottom:""!==Se?Se+je:void 0,paddingLeft:""!==Ce?Ce+je:void 0,maxWidth:Q?Q+K:void 0,marginTop:le&&""!==le[0]?le[0]+ae:void 0,marginRight:le&&""!==le[1]?le[1]+ae:void 0,marginBottom:le&&""!==le[2]?le[2]+ae:void 0,marginLeft:le&&""!==le[3]?le[3]+ae:void 0}},"none"!==f&&Object(b.createElement)("div",{className:"kt-blocks-info-box-media-container",style:{margin:_[0].margin?_[0].margin[0]+"px "+_[0].margin[1]+"px "+_[0].margin[2]+"px "+_[0].margin[3]+"px":""}},Object(b.createElement)("div",{className:`kt-blocks-info-box-media ${"number"===f?"kt-info-media-animate-"+ce[0].hoverAnimation:""}${"image"===f?"kt-info-media-animate-"+O[0].hoverAnimation:""}${"icon"===f?"kt-info-media-animate-"+j[0].hoverAnimation:""}`,style:{borderColor:pa(_[0].border),backgroundColor:pa(_[0].background),borderRadius:_[0].borderRadius+"px",borderWidth:_[0].borderWidth?_[0].borderWidth[0]+"px "+_[0].borderWidth[1]+"px "+_[0].borderWidth[2]+"px "+_[0].borderWidth[3]+"px":"",padding:_[0].padding?_[0].padding[0]+"px "+_[0].padding[1]+"px "+_[0].padding[2]+"px "+_[0].padding[3]+"px":""}},!O[0].url&&"image"===f&&Object(b.createElement)(lm,null,Object(b.createElement)(jl,{labels:"",selectIcon:ll.a,selectLabel:Object(m.__)("Select Image","kadence-blocks"),onSelect:et,accept:"image/*",className:"kadence-image-upload",allowedTypes:Xe,disableMediaButtons:!1})),O[0].url&&"image"===f&&Object(b.createElement)("div",{className:"kadence-info-box-image-inner-intrisic-container",style:{maxWidth:O[0].maxWidth+"px"}},Object(b.createElement)("div",{className:`kadence-info-box-image-intrisic kt-info-animate-${O[0].hoverAnimation}${"svg+xml"===O[0].subtype?" kb-info-box-image-type-svg":""}${kt?" kb-info-box-image-ratio kb-info-box-image-ratio-"+se:""}`,style:{paddingBottom:ht,height:vt,width:isNaN(O[0].width)?void 0:O[0].width+"px",maxWidth:"100%"}},Object(b.createElement)("div",{className:"kadence-info-box-image-inner-intrisic"},Object(b.createElement)("img",{src:O[0].url,alt:O[0].alt,width:O[0].subtype&&"svg+xml"===O[0].subtype?O[0].maxWidth:O[0].width,height:O[0].height,className:`${O[0].id?"kt-info-box-image wp-image-"+O[0].id:"kt-info-box-image wp-image-offsite"} ${O[0].subtype&&"svg+xml"===O[0].subtype?" kt-info-svg-image":""}`}),O[0].flipUrl&&"flip"===O[0].hoverAnimation&&Object(b.createElement)("img",{src:O[0].flipUrl,alt:O[0].flipAlt,width:O[0].flipSubtype&&"svg+xml"===O[0].flipSubtype?O[0].maxWidth:O[0].flipWidth,height:O[0].flipHeight,className:`${O[0].flipId?"kt-info-box-image-flip wp-image-"+O[0].flipId:"kt-info-box-image-flip wp-image-offsite"} ${O[0].flipSubtype&&"svg+xml"===O[0].flipSubtype?" kt-info-svg-image":""}`})))),"icon"===f&&Object(b.createElement)("div",{className:"kadence-info-box-icon-container kt-info-icon-animate-"+j[0].hoverAnimation},Object(b.createElement)("div",{className:"kadence-info-box-icon-inner-container"},Object(b.createElement)(ot,{className:"kt-info-svg-icon kt-info-svg-icon-"+j[0].icon,name:j[0].icon,size:Re,htmltag:"span",strokeWidth:"fe"===j[0].icon.substring(0,2)?j[0].width:void 0,style:{display:"block",color:j[0].color?pa(j[0].color):void 0}}),j[0].flipIcon&&"flip"===j[0].hoverAnimation&&Object(b.createElement)(ot,{className:"kt-info-svg-icon-flip kt-info-svg-icon-"+j[0].flipIcon,name:j[0].flipIcon,size:Re,htmltag:"span",strokeWidth:"fe"===j[0].flipIcon.substring(0,2)?j[0].width:void 0,style:{display:"block",color:j[0].hoverColor?pa(j[0].hoverColor):void 0}}))),"number"===f&&Object(b.createElement)("div",{className:"kadence-info-box-number-container kt-info-number-animate-"+(ce&&ce[0]&&ce[0].hoverAnimation?ce[0].hoverAnimation:"none")},Object(b.createElement)("div",{className:"kadence-info-box-number-inner-container"},Object(b.createElement)(im,{className:"kt-blocks-info-box-number",allowedFormats:vm("kadence.whitelist_richtext_formats","learnmore"===l?["kadence/insert-dynamic","core/bold","core/italic","core/link","toolset/inline-field"]:["kadence/insert-dynamic","core/bold","core/italic","toolset/inline-field"]),tagName:"div",placeholder:"1",onChange:e=>{pe({number:e})},value:re,style:{fontWeight:ce[0].weight,fontStyle:ce[0].style,color:j[0].color?pa(j[0].color):void 0,fontSize:j[0].size+"px",fontFamily:ce[0].family?ce[0].family:void 0}})),ce[0].google&&Object(b.createElement)(po,{config:Je})))),Object(b.createElement)("div",{className:"kt-infobox-textcontent"},x&&N[0].google&&Object(b.createElement)(po,{config:Ge}),x&&Object(b.createElement)(im,{className:"kt-blocks-info-box-title",allowedFormats:vm("kadence.whitelist_richtext_formats","learnmore"===l?["kadence/insert-dynamic","core/bold","core/italic","core/link","toolset/inline-field"]:["kadence/insert-dynamic","core/bold","core/italic","toolset/inline-field"]),tagName:Ye,placeholder:Object(m.__)("Title","kadence-blocks"),onChange:e=>{pe({title:e})},value:S,style:{fontWeight:N[0].weight,fontStyle:N[0].style,textTransform:N[0].textTransform?N[0].textTransform:void 0,color:pa(C),fontSize:Te+N[0].sizeType,lineHeight:Ne+N[0].lineType,letterSpacing:N[0].letterSpacing+"px",fontFamily:N[0].family?N[0].family:"",padding:N[0].padding?N[0].padding[0]+"px "+N[0].padding[1]+"px "+N[0].padding[2]+"px "+N[0].padding[3]+"px":"",margin:N[0].margin?N[0].margin[0]+"px "+N[0].margin[1]+"px "+N[0].margin[2]+"px "+N[0].margin[3]+"px":"",minHeight:ze+"px"},keepPlaceholderOnFocus:!0}),z&&B[0].google&&Object(b.createElement)(po,{config:qe}),z&&Object(b.createElement)(im,{className:"kt-blocks-info-box-text",allowedFormats:vm("kadence.whitelist_richtext_formats","learnmore"===l?["kadence/insert-dynamic","core/bold","core/italic","core/link","toolset/inline-field"]:["kadence/insert-dynamic","core/bold","core/italic","toolset/inline-field"]),tagName:"p",placeholder:Object(m.__)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean diam dolor, accumsan sed rutrum vel, dapibus et leo.","kadence-blocks"),onChange:e=>pe({contentText:e}),value:M,style:{fontWeight:B[0].weight,fontStyle:B[0].style,color:pa(I),fontSize:Me+B[0].sizeType,lineHeight:Ie+B[0].lineType,letterSpacing:B[0].letterSpacing+"px",textTransform:void 0!==B[0].textTransform&&B[0].textTransform?B[0].textTransform:void 0,fontFamily:B[0].family?B[0].family:"",padding:void 0!==P&&void 0!==P[0]&&P[0].padding?P[0].padding[0]+"px "+P[0].padding[1]+"px "+P[0].padding[2]+"px "+P[0].padding[3]+"px":"",margin:void 0!==P&&void 0!==P[0]&&P[0].margin?P[0].margin[0]+"px "+P[0].margin[1]+"px "+P[0].margin[2]+"px "+P[0].margin[3]+"px":"",minHeight:He+"px"},keepPlaceholderOnFocus:!0}),R&&L[0].google&&Object(b.createElement)(po,{config:Qe}),R&&Object(b.createElement)("div",{className:"kt-blocks-info-box-learnmore-wrap",style:{margin:L[0].margin?L[0].margin[0]+"px "+L[0].margin[1]+"px "+L[0].margin[2]+"px "+L[0].margin[3]+"px":""}},Object(b.createElement)(im,{allowedFormats:vm("kadence.whitelist_richtext_formats",["kadence/insert-dynamic","core/bold","core/italic","toolset/inline-field"]),className:"kt-blocks-info-box-learnmore",tagName:"div",placeholder:Object(m.__)("Learn More","kadence-blocks"),onChange:e=>pe({learnMore:e}),value:A,style:{fontWeight:L[0].weight,fontStyle:L[0].style,color:pa(L[0].color),borderRadius:L[0].borderRadius+"px",background:pa(L[0].background),borderColor:pa(L[0].border),fontSize:Be+L[0].sizeType,lineHeight:Pe+L[0].lineType,letterSpacing:L[0].letterSpacing+"px",textTransform:void 0!==L[0].textTransform&&L[0].textTransform?L[0].textTransform:void 0,fontFamily:L[0].family?L[0].family:"",borderWidth:L[0].borderWidth?L[0].borderWidth[0]+"px "+L[0].borderWidth[1]+"px "+L[0].borderWidth[2]+"px "+L[0].borderWidth[3]+"px":"",padding:L[0].padding?L[0].padding[0]+"px "+L[0].padding[1]+"px "+L[0].padding[2]+"px "+L[0].padding[3]+"px":""},keepPlaceholderOnFocus:!0})))))}});const{registerBlockType:fm}=wp.blocks,{RichText:Om}=wp.blockEditor;fm("kadence/infobox",{title:Object(m.__)("Info Box","kadence-blocks"),description:Object(m.__)("Create beautiful information boxes using icons or images.","kadence-blocks"),icon:{src:g.infobox},category:"kadence-blocks",keywords:[Object(m.__)("Info","kadence-blocks"),Object(m.__)("Icon","kadence-blocks"),"KB"],attributes:Ab,edit:ym,supports:{ktdynamic:!0},usesContext:["postId","queryId"],save:e=>{const{attributes:{uniqueID:t,link:l,linkProperty:a,target:i,hAlign:o,mediaType:n,mediaImage:r,mediaIcon:c,mediaAlign:s,displayTitle:d,title:m,titleFont:p,displayText:g,contentText:u,displayLearnMore:h,learnMore:v,mediaVAlign:k,hAlignMobile:y,hAlignTablet:f,linkNoFollow:O,linkSponsored:j,mediaNumber:_,number:w,kadenceDynamic:x,imageRatio:E,linkTitle:S},className:C}=e,T="h"+p[0].level;let N;"_blank"===i&&(N="noopener noreferrer"),void 0!==O&&!0===O&&(N=N?N.concat(" nofollow"):"nofollow"),void 0!==j&&!0===j&&(N=N?N.concat(" sponsored"):"sponsored");const z=Object(b.createElement)("div",{className:"kadence-info-box-image-inner-intrisic-container"+(x&&x["mediaImage:0:url"]&&x["mediaImage:0:url"].enable?" kadence-info-dynamic-image":"")},Object(b.createElement)("div",{className:`kadence-info-box-image-intrisic kt-info-animate-${r[0].hoverAnimation}${"svg+xml"===r[0].subtype?" kb-info-box-image-type-svg":""}${E&&"inherit"!==E?" kb-info-box-image-ratio kb-info-box-image-ratio-"+E:""}`},Object(b.createElement)("div",{className:"kadence-info-box-image-inner-intrisic"},Object(b.createElement)("img",{src:r[0].url,alt:r[0].alt,width:r[0].subtype&&"svg+xml"===r[0].subtype?r[0].maxWidth:r[0].width,height:r[0].height,className:`${r[0].id?"kt-info-box-image wp-image-"+r[0].id:"kt-info-box-image wp-image-offsite"}${r[0].subtype&&"svg+xml"===r[0].subtype?" kt-info-svg-image":""}`}),r[0].flipUrl&&"flip"===r[0].hoverAnimation&&Object(b.createElement)("img",{src:r[0].flipUrl,alt:r[0].flipAlt,width:r[0].flipSubtype&&"svg+xml"===r[0].flipSubtype?r[0].maxWidth:r[0].flipWidth,height:r[0].flipHeight,className:`${r[0].flipId?"kt-info-box-image-flip wp-image-"+r[0].flipId:"kt-info-box-image-flip wp-image-offsite"}${r[0].flipSubtype&&"svg+xml"===r[0].flipSubtype?" kt-info-svg-image":""}`})))),M=Object(b.createElement)("div",{className:"kadence-info-box-icon-container kt-info-icon-animate-"+c[0].hoverAnimation},Object(b.createElement)("div",{className:"kadence-info-box-icon-inner-container"},Object(b.createElement)(ot,{className:"kt-info-svg-icon kt-info-svg-icon-"+c[0].icon,name:c[0].icon,size:c[0].size?c[0].size:"14",htmltag:"span",strokeWidth:"fe"===c[0].icon.substring(0,2)?c[0].width:void 0,title:c[0].title?c[0].title:"",ariaHidden:c[0].title?void 0:"true",style:{display:"block"}}),c[0].flipIcon&&"flip"===c[0].hoverAnimation&&Object(b.createElement)(ot,{className:"kt-info-svg-icon-flip kt-info-svg-icon-"+c[0].flipIcon,name:c[0].flipIcon,size:c[0].size?c[0].size:"14",htmltag:"span",strokeWidth:"fe"===c[0].flipIcon.substring(0,2)?c[0].width:void 0,ariaHidden:"true",style:{display:"block"}}))),I=Object(b.createElement)("div",{className:"kadence-info-box-number-container kt-info-number-animate-"+(_&&_[0]&&_[0].hoverAnimation?_[0].hoverAnimation:"none")},Object(b.createElement)("div",{className:"kadence-info-box-number-inner-container"},Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-number",tagName:"div",value:w||""}))),H=Object(b.createElement)("div",{className:"kt-blocks-info-box-learnmore-wrap"},Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-learnmore",tagName:"span",value:v})),B=Object(b.createElement)("div",{className:"kt-blocks-info-box-learnmore-wrap"},Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-learnmore info-box-link",tagName:"a",target:"_blank"===i?i:void 0,rel:N,value:v,href:l,"aria-label":S||void 0})),P=Object(b.createElement)("div",{className:"kt-infobox-textcontent"},d&&Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-title",tagName:T,value:m}),g&&Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-text",tagName:"p",value:u}),h&&"learnmore"===a&&B,h&&"learnmore"!==a&&H);return Object(b.createElement)("div",{id:"kt-info-box"+t,className:C},"learnmore"!==a&&Object(b.createElement)("a",{className:`kt-blocks-info-box-link-wrap info-box-link kt-blocks-info-box-media-align-${s} kt-info-halign-${o}${k&&"middle"!==k?" kb-info-box-vertical-media-align-"+k:""}${f&&""!==f?" kb-info-tablet-halign-"+f:""}${y&&""!==y?" kb-info-mobile-halign-"+y:""}`,target:"_blank"===i?i:void 0,rel:N,href:l,"aria-label":S||void 0},"none"!==n&&Object(b.createElement)("div",{className:"kt-blocks-info-box-media-container"},Object(b.createElement)("div",{className:`kt-blocks-info-box-media ${"number"===n?"kt-info-media-animate-"+_[0].hoverAnimation:""}${"image"===n?"kt-info-media-animate-"+r[0].hoverAnimation:""}${"image"!==n&&"number"!==n?"kt-info-media-animate-"+c[0].hoverAnimation:""}`},r[0].url&&"image"===n&&z,"icon"===n&&M,"number"===n&&I)),P),"learnmore"===a&&Object(b.createElement)("div",{className:`kt-blocks-info-box-link-wrap kt-blocks-info-box-media-align-${s} kt-info-halign-${o}${k&&"middle"!==k?" kb-info-box-vertical-media-align-"+k:""}`},"none"!==n&&Object(b.createElement)("div",{className:"kt-blocks-info-box-media-container"},Object(b.createElement)("div",{className:`kt-blocks-info-box-media ${"number"===n?"kt-info-media-animate-"+_[0].hoverAnimation:""}${"image"===n?"kt-info-media-animate-"+r[0].hoverAnimation:""}${"image"!==n&&"number"!==n?"kt-info-media-animate-"+c[0].hoverAnimation:""}`},r[0].url&&"image"===n&&z,"icon"===n&&M,"number"===n&&I)),P))},deprecated:[{attributes:Ab,save:e=>{let{attributes:t}=e;const{uniqueID:l,link:a,linkProperty:i,target:o,hAlign:n,mediaType:r,mediaImage:c,mediaIcon:s,mediaAlign:d,displayTitle:m,title:p,titleFont:g,displayText:u,contentText:h,displayLearnMore:v,learnMore:k,mediaVAlign:y,hAlignMobile:f,hAlignTablet:O,linkNoFollow:j,linkSponsored:_,mediaNumber:w,number:x,kadenceDynamic:E,imageRatio:S,linkTitle:C,className:T}=t,N="h"+g[0].level;let z;"_blank"===o&&(z="noopener noreferrer"),void 0!==j&&!0===j&&(z=z?z.concat(" nofollow"):"nofollow"),void 0!==_&&!0===_&&(z=z?z.concat(" sponsored"):"sponsored");const M=Object(b.createElement)("div",{className:"kadence-info-box-image-inner-intrisic-container"+(E&&E["mediaImage:0:url"]&&E["mediaImage:0:url"].enable?" kadence-info-dynamic-image":"")},Object(b.createElement)("div",{className:`kadence-info-box-image-intrisic kt-info-animate-${c[0].hoverAnimation}${"svg+xml"===c[0].subtype?" kb-info-box-image-type-svg":""}${S&&"inherit"!==S?" kb-info-box-image-ratio kb-info-box-image-ratio-"+S:""}`},Object(b.createElement)("div",{className:"kadence-info-box-image-inner-intrisic"},Object(b.createElement)("img",{src:c[0].url,alt:c[0].alt,width:c[0].subtype&&"svg+xml"===c[0].subtype?c[0].maxWidth:c[0].width,height:c[0].height,className:`${c[0].id?"kt-info-box-image wp-image-"+c[0].id:"kt-info-box-image wp-image-offsite"}${c[0].subtype&&"svg+xml"===c[0].subtype?" kt-info-svg-image":""}`}),c[0].flipUrl&&"flip"===c[0].hoverAnimation&&Object(b.createElement)("img",{src:c[0].flipUrl,alt:c[0].flipAlt,width:c[0].flipSubtype&&"svg+xml"===c[0].flipSubtype?c[0].maxWidth:c[0].flipWidth,height:c[0].flipHeight,className:`${c[0].flipId?"kt-info-box-image-flip wp-image-"+c[0].flipId:"kt-info-box-image-flip wp-image-offsite"}${c[0].flipSubtype&&"svg+xml"===c[0].flipSubtype?" kt-info-svg-image":""}`})))),I=Object(b.createElement)("div",{className:"kadence-info-box-icon-container kt-info-icon-animate-"+s[0].hoverAnimation},Object(b.createElement)("div",{className:"kadence-info-box-icon-inner-container"},Object(b.createElement)(ot,{className:"kt-info-svg-icon kt-info-svg-icon-"+s[0].icon,name:s[0].icon,size:s[0].size?s[0].size:"14",htmltag:"span",strokeWidth:"fe"===s[0].icon.substring(0,2)?s[0].width:void 0,style:{display:"block"}}),s[0].flipIcon&&"flip"===s[0].hoverAnimation&&Object(b.createElement)(ot,{className:"kt-info-svg-icon-flip kt-info-svg-icon-"+s[0].flipIcon,name:s[0].flipIcon,size:s[0].size?s[0].size:"14",htmltag:"span",strokeWidth:"fe"===s[0].flipIcon.substring(0,2)?s[0].width:void 0,style:{display:"block"}}))),H=Object(b.createElement)("div",{className:"kadence-info-box-number-container kt-info-number-animate-"+(w&&w[0]&&w[0].hoverAnimation?w[0].hoverAnimation:"none")},Object(b.createElement)("div",{className:"kadence-info-box-number-inner-container"},Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-number",tagName:"div",value:x||""}))),B=Object(b.createElement)("div",{className:"kt-blocks-info-box-learnmore-wrap"},Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-learnmore",tagName:"span",value:k})),P=Object(b.createElement)("div",{className:"kt-blocks-info-box-learnmore-wrap"},Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-learnmore info-box-link",tagName:"a",target:"_blank"===o?o:void 0,rel:z,value:k,href:a,"aria-label":C||void 0})),R=Object(b.createElement)("div",{className:"kt-infobox-textcontent"},m&&Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-title",tagName:N,value:p}),u&&Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-text",tagName:"p",value:h}),v&&"learnmore"===i&&P,v&&"learnmore"!==i&&B);return Object(b.createElement)("div",{id:"kt-info-box"+l,className:T},"learnmore"!==i&&Object(b.createElement)("a",{className:`kt-blocks-info-box-link-wrap info-box-link kt-blocks-info-box-media-align-${d} kt-info-halign-${n}${y&&"middle"!==y?" kb-info-box-vertical-media-align-"+y:""}${O&&""!==O?" kb-info-tablet-halign-"+O:""}${f&&""!==f?" kb-info-mobile-halign-"+f:""}`,target:"_blank"===o?o:void 0,rel:z,href:a,"aria-label":C||void 0},"none"!==r&&Object(b.createElement)("div",{className:"kt-blocks-info-box-media-container"},Object(b.createElement)("div",{className:`kt-blocks-info-box-media ${"number"===r?"kt-info-media-animate-"+w[0].hoverAnimation:""}${"image"===r?"kt-info-media-animate-"+c[0].hoverAnimation:""}${"image"!==r&&"number"!==r?"kt-info-media-animate-"+s[0].hoverAnimation:""}`},c[0].url&&"image"===r&&M,"icon"===r&&I,"number"===r&&H)),R),"learnmore"===i&&Object(b.createElement)("div",{className:`kt-blocks-info-box-link-wrap kt-blocks-info-box-media-align-${d} kt-info-halign-${n}${y&&"middle"!==y?" kb-info-box-vertical-media-align-"+y:""}`},"none"!==r&&Object(b.createElement)("div",{className:"kt-blocks-info-box-media-container"},Object(b.createElement)("div",{className:`kt-blocks-info-box-media ${"number"===r?"kt-info-media-animate-"+w[0].hoverAnimation:""}${"image"===r?"kt-info-media-animate-"+c[0].hoverAnimation:""}${"image"!==r&&"number"!==r?"kt-info-media-animate-"+s[0].hoverAnimation:""}`},c[0].url&&"image"===r&&M,"icon"===r&&I,"number"===r&&H)),R))}},{attributes:Ab,save:e=>{let{attributes:t}=e;const{uniqueID:l,link:a,linkProperty:i,target:o,hAlign:n,mediaType:r,mediaImage:c,mediaIcon:s,mediaAlign:d,displayTitle:m,title:p,titleFont:g,displayText:u,contentText:h,displayLearnMore:v,learnMore:k,mediaVAlign:y,hAlignMobile:f,hAlignTablet:O,linkNoFollow:j,linkSponsored:_,mediaNumber:w,number:x,kadenceDynamic:E,className:S}=t,C="h"+g[0].level;let T;"_blank"===o&&(T="noopener noreferrer"),void 0!==j&&!0===j&&(T=T?T.concat(" nofollow"):"nofollow"),void 0!==_&&!0===_&&(T=T?T.concat(" sponsored"):"sponsored");const N=Object(b.createElement)("div",{className:"kadence-info-box-image-inner-intrisic-container"+(E&&E["mediaImage:0:url"]&&E["mediaImage:0:url"].enable?" kadence-info-dynamic-image":""),style:{maxWidth:c[0].maxWidth+"px"}},Object(b.createElement)("div",{className:`kadence-info-box-image-intrisic kt-info-animate-${c[0].hoverAnimation}${"svg+xml"===c[0].subtype?" kb-info-box-image-type-svg":""}`,style:{paddingBottom:isNaN(c[0].height)?void 0:c[0].height/c[0].width*100+"%",height:isNaN(c[0].height)?void 0:0,width:isNaN(c[0].width)||"svg+xml"===c[0].subtype?c[0].maxWidth+"px":c[0].width+"px",maxWidth:"100%"}},Object(b.createElement)("div",{className:"kadence-info-box-image-inner-intrisic"},Object(b.createElement)("img",{src:c[0].url,alt:c[0].alt,width:c[0].subtype&&"svg+xml"===c[0].subtype?c[0].maxWidth:c[0].width,height:c[0].height,className:`${c[0].id?"kt-info-box-image wp-image-"+c[0].id:"kt-info-box-image wp-image-offsite"} ${c[0].subtype&&"svg+xml"===c[0].subtype?" kt-info-svg-image":""}`}),c[0].flipUrl&&"flip"===c[0].hoverAnimation&&Object(b.createElement)("img",{src:c[0].flipUrl,alt:c[0].flipAlt,width:c[0].flipSubtype&&"svg+xml"===c[0].flipSubtype?c[0].maxWidth:c[0].flipWidth,height:c[0].flipHeight,className:`${c[0].flipId?"kt-info-box-image-flip wp-image-"+c[0].flipId:"kt-info-box-image-flip wp-image-offsite"} ${c[0].flipSubtype&&"svg+xml"===c[0].flipSubtype?" kt-info-svg-image":""}`})))),z=Object(b.createElement)("div",{className:"kadence-info-box-icon-container kt-info-icon-animate-"+s[0].hoverAnimation},Object(b.createElement)("div",{className:"kadence-info-box-icon-inner-container"},Object(b.createElement)(ot,{className:"kt-info-svg-icon kt-info-svg-icon-"+s[0].icon,name:s[0].icon,size:s[0].size?s[0].size:"14",htmltag:"span",strokeWidth:"fe"===s[0].icon.substring(0,2)?s[0].width:void 0,style:{display:"block"}}),s[0].flipIcon&&"flip"===s[0].hoverAnimation&&Object(b.createElement)(ot,{className:"kt-info-svg-icon-flip kt-info-svg-icon-"+s[0].flipIcon,name:s[0].flipIcon,size:s[0].size?s[0].size:"14",htmltag:"span",strokeWidth:"fe"===s[0].flipIcon.substring(0,2)?s[0].width:void 0,style:{display:"block"}}))),M=Object(b.createElement)("div",{className:"kadence-info-box-number-container kt-info-number-animate-"+(w&&w[0]&&w[0].hoverAnimation?w[0].hoverAnimation:"none")},Object(b.createElement)("div",{className:"kadence-info-box-number-inner-container"},Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-number",tagName:"div",value:x||""}))),I=Object(b.createElement)("div",{className:"kt-blocks-info-box-learnmore-wrap"},Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-learnmore",tagName:"span",value:k})),H=Object(b.createElement)("div",{className:"kt-blocks-info-box-learnmore-wrap"},Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-learnmore info-box-link",tagName:"a",target:"_blank"===o?o:void 0,rel:T,value:k,href:a})),B=Object(b.createElement)("div",{className:"kt-infobox-textcontent"},m&&Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-title",tagName:C,value:p}),u&&Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-text",tagName:"p",value:h}),v&&"learnmore"===i&&H,v&&"learnmore"!==i&&I);return Object(b.createElement)("div",{id:"kt-info-box"+l,className:S},"learnmore"!==i&&Object(b.createElement)("a",{className:`kt-blocks-info-box-link-wrap info-box-link kt-blocks-info-box-media-align-${d} kt-info-halign-${n}${y&&"middle"!==y?" kb-info-box-vertical-media-align-"+y:""}${O&&""!==O?" kb-info-tablet-halign-"+O:""}${f&&""!==f?" kb-info-mobile-halign-"+f:""}`,target:"_blank"===o?o:void 0,rel:T,href:a},"none"!==r&&Object(b.createElement)("div",{className:"kt-blocks-info-box-media-container"},Object(b.createElement)("div",{className:`kt-blocks-info-box-media ${"number"===r?"kt-info-media-animate-"+w[0].hoverAnimation:""}${"image"===r?"kt-info-media-animate-"+c[0].hoverAnimation:""}${"image"!==r&&"number"!==r?"kt-info-media-animate-"+s[0].hoverAnimation:""}`},c[0].url&&"image"===r&&N,"icon"===r&&z,"number"===r&&M)),B),"learnmore"===i&&Object(b.createElement)("div",{className:`kt-blocks-info-box-link-wrap kt-blocks-info-box-media-align-${d} kt-info-halign-${n}${y&&"middle"!==y?" kb-info-box-vertical-media-align-"+y:""}`},"none"!==r&&Object(b.createElement)("div",{className:"kt-blocks-info-box-media-container"},Object(b.createElement)("div",{className:`kt-blocks-info-box-media ${"number"===r?"kt-info-media-animate-"+w[0].hoverAnimation:""}${"image"===r?"kt-info-media-animate-"+c[0].hoverAnimation:""}${"image"!==r&&"number"!==r?"kt-info-media-animate-"+s[0].hoverAnimation:""}`},c[0].url&&"image"===r&&N,"icon"===r&&z,"number"===r&&M)),B))}},{attributes:Ab,save:e=>{let{attributes:t}=e;const{uniqueID:l,link:a,linkProperty:i,target:o,hAlign:n,mediaType:r,mediaImage:c,mediaIcon:s,mediaAlign:d,displayTitle:m,title:p,titleFont:g,displayText:u,contentText:h,displayLearnMore:v,learnMore:k,mediaVAlign:y,hAlignMobile:f,hAlignTablet:O,linkNoFollow:j,linkSponsored:_,mediaNumber:w,number:x,className:E}=t,S="h"+g[0].level;let C;"_blank"===o&&(C="noopener noreferrer"),void 0!==j&&!0===j&&(C=C?C.concat(" nofollow"):"nofollow"),void 0!==_&&!0===_&&(C=C?C.concat(" sponsored"):"sponsored");const T=Object(b.createElement)("div",{className:"kadence-info-box-image-inner-intrisic-container",style:{maxWidth:c[0].maxWidth+"px"}},Object(b.createElement)("div",{className:`kadence-info-box-image-intrisic kt-info-animate-${c[0].hoverAnimation}${"svg+xml"===c[0].subtype?" kb-info-box-image-type-svg":""}`,style:{paddingBottom:isNaN(c[0].height)?void 0:c[0].height/c[0].width*100+"%",height:isNaN(c[0].height)?void 0:0,width:isNaN(c[0].width)||"svg+xml"===c[0].subtype?c[0].maxWidth+"px":c[0].width+"px",maxWidth:"100%"}},Object(b.createElement)("div",{className:"kadence-info-box-image-inner-intrisic"},Object(b.createElement)("img",{src:c[0].url,alt:c[0].alt,width:c[0].subtype&&"svg+xml"===c[0].subtype?c[0].maxWidth:c[0].width,height:c[0].height,className:`${c[0].id?"kt-info-box-image wp-image-"+c[0].id:"kt-info-box-image wp-image-offsite"} ${c[0].subtype&&"svg+xml"===c[0].subtype?" kt-info-svg-image":""}`}),c[0].flipUrl&&"flip"===c[0].hoverAnimation&&Object(b.createElement)("img",{src:c[0].flipUrl,alt:c[0].flipAlt,width:c[0].flipSubtype&&"svg+xml"===c[0].flipSubtype?c[0].maxWidth:c[0].flipWidth,height:c[0].flipHeight,className:`${c[0].flipId?"kt-info-box-image-flip wp-image-"+c[0].flipId:"kt-info-box-image-flip wp-image-offsite"} ${c[0].flipSubtype&&"svg+xml"===c[0].flipSubtype?" kt-info-svg-image":""}`})))),N=Object(b.createElement)("div",{className:"kadence-info-box-icon-container kt-info-icon-animate-"+s[0].hoverAnimation},Object(b.createElement)("div",{className:"kadence-info-box-icon-inner-container"},Object(b.createElement)(ot,{className:"kt-info-svg-icon kt-info-svg-icon-"+s[0].icon,name:s[0].icon,size:s[0].size?s[0].size:"14",htmltag:"span",strokeWidth:"fe"===s[0].icon.substring(0,2)?s[0].width:void 0,style:{display:"block"}}),s[0].flipIcon&&"flip"===s[0].hoverAnimation&&Object(b.createElement)(ot,{className:"kt-info-svg-icon-flip kt-info-svg-icon-"+s[0].flipIcon,name:s[0].flipIcon,size:s[0].size?s[0].size:"14",htmltag:"span",strokeWidth:"fe"===s[0].flipIcon.substring(0,2)?s[0].width:void 0,style:{display:"block"}}))),z=Object(b.createElement)("div",{className:"kadence-info-box-number-container kt-info-number-animate-"+(w[0].hoverAnimation?w[0].hoverAnimation:"none")},Object(b.createElement)("div",{className:"kadence-info-box-number-inner-container"},Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-number",tagName:"div",value:x||""}))),M=Object(b.createElement)("div",{className:"kt-blocks-info-box-learnmore-wrap"},Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-learnmore",tagName:"span",value:k})),I=Object(b.createElement)("div",{className:"kt-blocks-info-box-learnmore-wrap"},Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-learnmore",tagName:"a",target:"_blank"===o?o:void 0,rel:C,value:k,href:a})),H=Object(b.createElement)("div",{className:"kt-infobox-textcontent"},m&&Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-title",tagName:S,value:p}),u&&Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-text",tagName:"p",value:h}),v&&"learnmore"===i&&I,v&&"learnmore"!==i&&M);return Object(b.createElement)("div",{id:"kt-info-box"+l,className:E},"learnmore"!==i&&Object(b.createElement)("a",{className:`kt-blocks-info-box-link-wrap kt-blocks-info-box-media-align-${d} kt-info-halign-${n}${y&&"middle"!==y?" kb-info-box-vertical-media-align-"+y:""}${O&&""!==O?" kb-info-tablet-halign-"+O:""}${f&&""!==f?" kb-info-mobile-halign-"+f:""}`,target:"_blank"===o?o:void 0,rel:C,href:a},"none"!==r&&Object(b.createElement)("div",{className:"kt-blocks-info-box-media-container"},Object(b.createElement)("div",{className:`kt-blocks-info-box-media ${"number"===r?"kt-info-media-animate-"+w[0].hoverAnimation:""}${"image"===r?"kt-info-media-animate-"+c[0].hoverAnimation:""}${"image"!==r&&"number"!==r?"kt-info-media-animate-"+s[0].hoverAnimation:""}`},c[0].url&&"image"===r&&T,"icon"===r&&N,"number"===r&&z)),H),"learnmore"===i&&Object(b.createElement)("div",{className:`kt-blocks-info-box-link-wrap kt-blocks-info-box-media-align-${d} kt-info-halign-${n}${y&&"middle"!==y?" kb-info-box-vertical-media-align-"+y:""}`},"none"!==r&&Object(b.createElement)("div",{className:"kt-blocks-info-box-media-container"},Object(b.createElement)("div",{className:`kt-blocks-info-box-media ${"number"===r?"kt-info-media-animate-"+w[0].hoverAnimation:""}${"image"===r?"kt-info-media-animate-"+c[0].hoverAnimation:""}${"image"!==r&&"number"!==r?"kt-info-media-animate-"+s[0].hoverAnimation:""}`},c[0].url&&"image"===r&&T,"icon"===r&&N,"number"===r&&z)),H))}},{attributes:{uniqueID:{type:"string",default:""},link:{type:"string",source:"attribute",attribute:"href",selector:"a"},linkProperty:{type:"string",default:"box"},target:{type:"string",source:"attribute",attribute:"target",selector:"a",default:"_self"},hAlign:{type:"string",default:"center"},hAlignTablet:{type:"string",default:""},hAlignMobile:{type:"string",default:""},containerBackground:{type:"string",default:"#f2f2f2"},containerBackgroundOpacity:{type:"number",default:1},containerHoverBackground:{type:"string",default:"#f2f2f2"},containerHoverBackgroundOpacity:{type:"number",default:1},containerBorder:{type:"string",default:"#eeeeee"},containerBorderOpacity:{type:"number",default:1},containerHoverBorder:{type:"string",default:"#eeeeee"},containerHoverBorderOpacity:{type:"number",default:1},containerBorderWidth:{type:"array",default:[0,0,0,0]},containerBorderRadius:{type:"number",default:0},containerPadding:{type:"array",default:[20,20,20,20]},mediaType:{type:"string",default:"icon"},mediaAlign:{type:"string",default:"top"},mediaImage:{type:"array",default:[{url:"",id:"",alt:"",width:"",height:"",maxWidth:"",hoverAnimation:"none",flipUrl:"",flipId:"",flipAlt:"",flipWidth:"",flipHeight:"",subtype:"",flipSubtype:""}]},mediaIcon:{type:"array",default:[{icon:"fe_aperture",size:50,width:2,title:"",color:"#444444",hoverColor:"#444444",hoverAnimation:"none",flipIcon:"",tabletSize:"",mobileSize:""}]},mediaStyle:{type:"array",default:[{background:"transparent",hoverBackground:"transparent",border:"#444444",hoverBorder:"#444444",borderRadius:0,borderWidth:[0,0,0,0],padding:[10,10,10,10],margin:[0,15,0,15]}]},displayTitle:{type:"bool",default:!0},title:{type:"array",source:"children",selector:"h1,h2,h3,h4,h5,h6",default:Object(m.__)("Title")},titleColor:{type:"string",default:""},titleHoverColor:{type:"string",default:""},titleMinHeight:{type:"array",default:["","",""]},titleFont:{type:"array",default:[{level:2,size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",textTransform:"",family:"",google:!1,style:"",weight:"",variant:"",subset:"",loadGoogle:!0,padding:[0,0,0,0],paddingControl:"linked",margin:[5,0,10,0],marginControl:"individual"}]},displayText:{type:"bool",default:!0},contentText:{type:"array",source:"children",selector:"p",default:Object(m.__)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean diam dolor, accumsan sed rutrum vel, dapibus et leo.")},textColor:{type:"string",default:"#555555"},textHoverColor:{type:"string",default:""},textMinHeight:{type:"array",default:["","",""]},textFont:{type:"array",default:[{size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",family:"",google:"",style:"",weight:"",variant:"",subset:"",loadGoogle:!0}]},textSpacing:{type:"array",default:[{padding:["","","",""],paddingControl:"linked",margin:["","","",""],marginControl:"linked"}]},displayLearnMore:{type:"bool",default:!1},learnMore:{type:"array",source:"children",selector:".kt-blocks-info-box-learnmore",default:Object(m.__)("Learn More")},learnMoreStyles:{type:"array",default:[{size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",family:"",google:"",style:"",weight:"",variant:"",subset:"",loadGoogle:!0,padding:[4,8,4,8],paddingControl:"individual",margin:[10,0,10,0],marginControl:"individual",color:"",background:"transparent",border:"#555555",borderRadius:0,borderWidth:[0,0,0,0],borderControl:"linked",colorHover:"#ffffff",backgroundHover:"#444444",borderHover:"#444444",hoverEffect:"revealBorder"}]},displayShadow:{type:"bool",default:!1},shadow:{type:"array",default:[{color:"#000000",opacity:0,spread:0,blur:0,hOffset:0,vOffset:0}]},shadowHover:{type:"array",default:[{color:"#000000",opacity:.2,spread:0,blur:14,hOffset:0,vOffset:0}]},showPresets:{type:"bool",default:!0},mediaVAlign:{type:"string",default:"middle"},mediaAlignMobile:{type:"string",default:""},mediaAlignTablet:{type:"string",default:""},maxWidth:{type:"number",default:""},maxWidthUnit:{type:"string",default:"px"},containerMargin:{type:"array",default:["","","",""]},containerMarginUnit:{type:"string",default:"px"},linkNoFollow:{type:"bool",default:!1},linkSponsored:{type:"bool",default:!1},number:{type:"array",source:"children",selector:"div.kt-blocks-info-box-number",default:""},mediaNumber:{type:"array",default:[{family:"",google:!1,hoverAnimation:"none",style:"",weight:"",variant:"",subset:"",loadGoogle:!0}]}},save:e=>{let{attributes:t}=e;const{uniqueID:l,link:a,linkProperty:i,target:o,hAlign:n,mediaType:r,mediaImage:c,mediaIcon:s,mediaAlign:d,displayTitle:m,title:p,titleFont:g,displayText:u,contentText:h,displayLearnMore:v,learnMore:k,mediaVAlign:y,hAlignMobile:f,hAlignTablet:O,className:j}=t,_="h"+g[0].level,w=Object(b.createElement)("div",{className:"kadence-info-box-image-inner-intrisic-container",style:{maxWidth:c[0].maxWidth+"px"}},Object(b.createElement)("div",{className:`kadence-info-box-image-intrisic kt-info-animate-${c[0].hoverAnimation}${"svg+xml"===c[0].subtype?" kb-info-box-image-type-svg":""}`,style:{paddingBottom:isNaN(c[0].height)?void 0:c[0].height/c[0].width*100+"%",height:isNaN(c[0].height)?void 0:0,width:isNaN(c[0].width)||"svg+xml"===c[0].subtype?c[0].maxWidth+"px":c[0].width+"px",maxWidth:"100%"}},Object(b.createElement)("div",{className:"kadence-info-box-image-inner-intrisic"},Object(b.createElement)("img",{src:c[0].url,alt:c[0].alt,width:c[0].subtype&&"svg+xml"===c[0].subtype?c[0].maxWidth:c[0].width,height:c[0].height,className:`${c[0].id?"kt-info-box-image wp-image-"+c[0].id:"kt-info-box-image wp-image-offsite"} ${c[0].subtype&&"svg+xml"===c[0].subtype?" kt-info-svg-image":""}`}),c[0].flipUrl&&"flip"===c[0].hoverAnimation&&Object(b.createElement)("img",{src:c[0].flipUrl,alt:c[0].flipAlt,width:c[0].flipSubtype&&"svg+xml"===c[0].flipSubtype?c[0].maxWidth:c[0].flipWidth,height:c[0].flipHeight,className:`${c[0].flipId?"kt-info-box-image-flip wp-image-"+c[0].flipId:"kt-info-box-image-flip wp-image-offsite"} ${c[0].flipSubtype&&"svg+xml"===c[0].flipSubtype?" kt-info-svg-image":""}`})))),x=Object(b.createElement)("div",{className:"kadence-info-box-icon-container kt-info-icon-animate-"+s[0].hoverAnimation},Object(b.createElement)("div",{className:"kadence-info-box-icon-inner-container"},Object(b.createElement)(ot,{className:"kt-info-svg-icon kt-info-svg-icon-"+s[0].icon,name:s[0].icon,size:s[0].size?s[0].size:"14",htmltag:"span",strokeWidth:"fe"===s[0].icon.substring(0,2)?s[0].width:void 0,style:{display:"block"}}),s[0].flipIcon&&"flip"===s[0].hoverAnimation&&Object(b.createElement)(ot,{className:"kt-info-svg-icon-flip kt-info-svg-icon-"+s[0].flipIcon,name:s[0].flipIcon,size:s[0].size?s[0].size:"14",htmltag:"span",strokeWidth:"fe"===s[0].flipIcon.substring(0,2)?s[0].width:void 0,style:{display:"block"}}))),E=Object(b.createElement)("div",{className:"kt-blocks-info-box-learnmore-wrap"},Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-learnmore",tagName:"span",value:k})),S=Object(b.createElement)("div",{className:"kt-blocks-info-box-learnmore-wrap"},Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-learnmore",tagName:"a",target:"_blank"===o?o:void 0,rel:"_blank"===o?"noopener noreferrer":void 0,value:k,href:a})),C=Object(b.createElement)("div",{className:"kt-infobox-textcontent"},m&&Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-title",tagName:_,value:p}),u&&Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-text",tagName:"p",value:h}),v&&"learnmore"===i&&S,v&&"learnmore"!==i&&E);return Object(b.createElement)("div",{id:"kt-info-box"+l,className:j},"learnmore"!==i&&Object(b.createElement)("a",{className:`kt-blocks-info-box-link-wrap kt-blocks-info-box-media-align-${d} kt-info-halign-${n}${y&&"middle"!==y?" kb-info-box-vertical-media-align-"+y:""}${O&&""!==O?" kb-info-tablet-halign-"+O:""}${f&&""!==f?" kb-info-mobile-halign-"+f:""}`,target:"_blank"===o?o:void 0,rel:"_blank"===o?"noopener noreferrer":void 0,href:a},"none"!==r&&Object(b.createElement)("div",{className:"kt-blocks-info-box-media-container"},Object(b.createElement)("div",{className:"kt-blocks-info-box-media kt-info-media-animate-"+("image"===r?c[0].hoverAnimation:s[0].hoverAnimation)},c[0].url&&"image"===r&&w,"icon"===r&&x)),C),"learnmore"===i&&Object(b.createElement)("div",{className:`kt-blocks-info-box-link-wrap kt-blocks-info-box-media-align-${d} kt-info-halign-${n}${y&&"middle"!==y?" kb-info-box-vertical-media-align-"+y:""}`},Object(b.createElement)("div",{className:"kt-blocks-info-box-media-container"},Object(b.createElement)("div",{className:"kt-blocks-info-box-media kt-info-media-animate-"+("image"===r?c[0].hoverAnimation:s[0].hoverAnimation)},c[0].url&&"image"===r&&w,"icon"===r&&x)),C))}},{attributes:{uniqueID:{type:"string",default:""},link:{type:"string",source:"attribute",attribute:"href",selector:"a"},linkProperty:{type:"string",default:"box"},target:{type:"string",source:"attribute",attribute:"target",selector:"a",default:"_self"},hAlign:{type:"string",default:"center"},hAlignTablet:{type:"string",default:""},hAlignMobile:{type:"string",default:""},containerBackground:{type:"string",default:"#f2f2f2"},containerBackgroundOpacity:{type:"number",default:1},containerHoverBackground:{type:"string",default:"#f2f2f2"},containerHoverBackgroundOpacity:{type:"number",default:1},containerBorder:{type:"string",default:"#eeeeee"},containerBorderOpacity:{type:"number",default:1},containerHoverBorder:{type:"string",default:"#eeeeee"},containerHoverBorderOpacity:{type:"number",default:1},containerBorderWidth:{type:"array",default:[0,0,0,0]},containerBorderRadius:{type:"number",default:0},containerPadding:{type:"array",default:[20,20,20,20]},mediaType:{type:"string",default:"icon"},mediaAlign:{type:"string",default:"top"},mediaImage:{type:"array",default:[{url:"",id:"",alt:"",width:"",height:"",maxWidth:"",hoverAnimation:"none",flipUrl:"",flipId:"",flipAlt:"",flipWidth:"",flipHeight:"",subtype:"",flipSubtype:""}]},mediaIcon:{type:"array",default:[{icon:"fe_aperture",size:50,width:2,title:"",color:"#444444",hoverColor:"#444444",hoverAnimation:"none",flipIcon:"",tabletSize:"",mobileSize:""}]},mediaStyle:{type:"array",default:[{background:"transparent",hoverBackground:"transparent",border:"#444444",hoverBorder:"#444444",borderRadius:0,borderWidth:[0,0,0,0],padding:[10,10,10,10],margin:[0,15,0,15]}]},displayTitle:{type:"bool",default:!0},title:{type:"array",source:"children",selector:"h1,h2,h3,h4,h5,h6",default:Object(m.__)("Title")},titleColor:{type:"string",default:""},titleHoverColor:{type:"string",default:""},titleMinHeight:{type:"array",default:["","",""]},titleFont:{type:"array",default:[{level:2,size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",textTransform:"",family:"",google:!1,style:"",weight:"",variant:"",subset:"",loadGoogle:!0,padding:[0,0,0,0],paddingControl:"linked",margin:[5,0,10,0],marginControl:"individual"}]},displayText:{type:"bool",default:!0},contentText:{type:"array",source:"children",selector:"p",default:Object(m.__)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean diam dolor, accumsan sed rutrum vel, dapibus et leo.")},textColor:{type:"string",default:"#555555"},textHoverColor:{type:"string",default:""},textMinHeight:{type:"array",default:["","",""]},textFont:{type:"array",default:[{size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",family:"",google:"",style:"",weight:"",variant:"",subset:"",loadGoogle:!0}]},textSpacing:{type:"array",default:[{padding:["","","",""],paddingControl:"linked",margin:["","","",""],marginControl:"linked"}]},displayLearnMore:{type:"bool",default:!1},learnMore:{type:"array",source:"children",selector:".kt-blocks-info-box-learnmore",default:Object(m.__)("Learn More")},learnMoreStyles:{type:"array",default:[{size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",family:"",google:"",style:"",weight:"",variant:"",subset:"",loadGoogle:!0,padding:[4,8,4,8],paddingControl:"individual",margin:[10,0,10,0],marginControl:"individual",color:"",background:"transparent",border:"#555555",borderRadius:0,borderWidth:[0,0,0,0],borderControl:"linked",colorHover:"#ffffff",backgroundHover:"#444444",borderHover:"#444444",hoverEffect:"revealBorder"}]},displayShadow:{type:"bool",default:!1},shadow:{type:"array",default:[{color:"#000000",opacity:0,spread:0,blur:0,hOffset:0,vOffset:0}]},shadowHover:{type:"array",default:[{color:"#000000",opacity:.2,spread:0,blur:14,hOffset:0,vOffset:0}]},showPresets:{type:"bool",default:!0},mediaVAlign:{type:"string",default:"middle"},mediaAlignMobile:{type:"string",default:""},mediaAlignTablet:{type:"string",default:""},maxWidth:{type:"number",default:""},maxWidthUnit:{type:"string",default:"px"},containerMargin:{type:"array",default:["","","",""]},containerMarginUnit:{type:"string",default:"px"},linkNoFollow:{type:"bool",default:!1},linkSponsored:{type:"bool",default:!1},number:{type:"array",source:"children",selector:"div.kt-blocks-info-box-number",default:""},mediaNumber:{type:"array",default:[{family:"",google:!1,hoverAnimation:"none",style:"",weight:"",variant:"",subset:"",loadGoogle:!0}]}},save:e=>{let{attributes:t}=e;const{uniqueID:l,link:a,linkProperty:i,target:o,hAlign:n,mediaType:r,mediaImage:c,mediaIcon:s,mediaAlign:d,displayTitle:m,title:p,titleFont:g,displayText:u,contentText:h,displayLearnMore:v,learnMore:k,mediaVAlign:y,className:f}=t,O="h"+g[0].level;return Object(b.createElement)("div",{id:"kt-info-box"+l,className:f},"learnmore"!==i&&Object(b.createElement)("a",{className:`kt-blocks-info-box-link-wrap kt-blocks-info-box-media-align-${d} kt-info-halign-${n}${y&&"middle"!==y?" kb-info-box-vertical-media-align-"+y:""}`,target:"_blank"===o?o:void 0,rel:"_blank"===o?"noopener noreferrer":void 0,href:a},Object(b.createElement)("div",{className:"kt-blocks-info-box-media-container"},Object(b.createElement)("div",{className:"kt-blocks-info-box-media kt-info-media-animate-"+("image"===r?c[0].hoverAnimation:s[0].hoverAnimation)},c[0].url&&"image"===r&&Object(b.createElement)("div",{className:"kadence-info-box-image-inner-intrisic-container",style:{maxWidth:c[0].maxWidth+"px"}},Object(b.createElement)("div",{className:`kadence-info-box-image-intrisic kt-info-animate-${c[0].hoverAnimation}${"svg+xml"===c[0].subtype?" kb-info-box-image-type-svg":""}`,style:{paddingBottom:isNaN(c[0].height)?void 0:c[0].height/c[0].width*100+"%",width:isNaN(c[0].height)?void 0:c[0].width+"px",maxWidth:isNaN(c[0].height)?void 0:"100%"}},Object(b.createElement)("div",{className:"kadence-info-box-image-inner-intrisic"},Object(b.createElement)("img",{src:c[0].url,alt:c[0].alt,width:c[0].subtype&&"svg+xml"===c[0].subtype?c[0].maxWidth:c[0].width,height:c[0].height,className:`${c[0].id?"kt-info-box-image wp-image-"+c[0].id:"kt-info-box-image wp-image-offsite"} ${c[0].subtype&&"svg+xml"===c[0].subtype?" kt-info-svg-image":""}`}),c[0].flipUrl&&"flip"===c[0].hoverAnimation&&Object(b.createElement)("img",{src:c[0].flipUrl,alt:c[0].flipAlt,width:c[0].flipSubtype&&"svg+xml"===c[0].flipSubtype?c[0].maxWidth:c[0].flipWidth,height:c[0].flipHeight,className:`${c[0].flipId?"kt-info-box-image-flip wp-image-"+c[0].flipId:"kt-info-box-image-flip wp-image-offsite"} ${c[0].flipSubtype&&"svg+xml"===c[0].flipSubtype?" kt-info-svg-image":""}`})))),"icon"===r&&Object(b.createElement)("div",{className:"kadence-info-box-icon-container kt-info-icon-animate-"+s[0].hoverAnimation},Object(b.createElement)("div",{className:"kadence-info-box-icon-inner-container"},Object(b.createElement)(ot,{className:"kt-info-svg-icon kt-info-svg-icon-"+s[0].icon,name:s[0].icon,size:s[0].size?s[0].size:"14",htmltag:"span",strokeWidth:"fe"===s[0].icon.substring(0,2)?s[0].width:void 0,style:{display:"block"}}),s[0].flipIcon&&"flip"===s[0].hoverAnimation&&Object(b.createElement)(ot,{className:"kt-info-svg-icon-flip kt-info-svg-icon-"+s[0].flipIcon,name:s[0].flipIcon,size:s[0].size?s[0].size:"14",htmltag:"span",strokeWidth:"fe"===s[0].flipIcon.substring(0,2)?s[0].width:void 0,style:{display:"block"}}))))),Object(b.createElement)("div",{className:"kt-infobox-textcontent"},m&&Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-title",tagName:O,value:p}),u&&Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-text",tagName:"p",value:h}),v&&Object(b.createElement)("div",{className:"kt-blocks-info-box-learnmore-wrap"},Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-learnmore",tagName:"span",value:k})))),"learnmore"===i&&Object(b.createElement)("div",{className:`kt-blocks-info-box-link-wrap kt-blocks-info-box-media-align-${d} kt-info-halign-${n}${y&&"middle"!==y?" kb-info-box-vertical-media-align-"+y:""}`},Object(b.createElement)("div",{className:"kt-blocks-info-box-media-container"},Object(b.createElement)("div",{className:"kt-blocks-info-box-media kt-info-media-animate-"+("image"===r?c[0].hoverAnimation:s[0].hoverAnimation)},c[0].url&&"image"===r&&Object(b.createElement)("div",{className:"kadence-info-box-image-inner-intrisic-container",style:{maxWidth:c[0].maxWidth+"px"}},Object(b.createElement)("div",{className:"kadence-info-box-image-intrisic kt-info-animate-"+c[0].hoverAnimation,style:{paddingBottom:c[0].height/c[0].width*100+"%"}},Object(b.createElement)("div",{className:"kadence-info-box-image-inner-intrisic"},Object(b.createElement)("img",{src:c[0].url,alt:c[0].alt,width:c[0].width,height:c[0].height,className:c[0].id?"kt-info-box-image wp-image-"+c[0].id:"kt-info-box-image wp-image-offsite"}),c[0].flipUrl&&"flip"===c[0].hoverAnimation&&Object(b.createElement)("img",{src:c[0].flipUrl,alt:c[0].flipAlt,width:c[0].flipWidth,height:c[0].flipHeight,className:c[0].flipId?"kt-info-box-image-flip wp-image-"+c[0].flipId:"kt-info-box-image-flip wp-image-offsite"})))),"icon"===r&&Object(b.createElement)("div",{className:"kadence-info-box-icon-container kt-info-icon-animate-"+s[0].hoverAnimation},Object(b.createElement)("div",{className:"kadence-info-box-icon-inner-container"},Object(b.createElement)(ot,{className:"kt-info-svg-icon kt-info-svg-icon-"+s[0].icon,name:s[0].icon,size:s[0].size?s[0].size:"14",htmltag:"span",strokeWidth:"fe"===s[0].icon.substring(0,2)?s[0].width:void 0,style:{display:"block"}}),s[0].flipIcon&&"flip"===s[0].hoverAnimation&&Object(b.createElement)(ot,{className:"kt-info-svg-icon-flip kt-info-svg-icon-"+s[0].flipIcon,name:s[0].flipIcon,size:s[0].size?s[0].size:"14",htmltag:"span",strokeWidth:"fe"===s[0].flipIcon.substring(0,2)?s[0].width:void 0,style:{display:"block"}}))))),Object(b.createElement)("div",{className:"kt-infobox-textcontent"},m&&Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-title",tagName:O,value:p}),u&&Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-text",tagName:"p",value:h}),v&&Object(b.createElement)("div",{className:"kt-blocks-info-box-learnmore-wrap"},Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-learnmore",tagName:"a",target:"_blank"===o?o:void 0,rel:"_blank"===o?"noopener noreferrer":void 0,value:k,href:a})))))}},{attributes:{uniqueID:{type:"string",default:""},link:{type:"string",source:"attribute",attribute:"href",selector:"a"},linkProperty:{type:"string",default:"box"},target:{type:"string",source:"attribute",attribute:"target",selector:"a",default:"_self"},hAlign:{type:"string",default:"center"},hAlignTablet:{type:"string",default:""},hAlignMobile:{type:"string",default:""},containerBackground:{type:"string",default:"#f2f2f2"},containerBackgroundOpacity:{type:"number",default:1},containerHoverBackground:{type:"string",default:"#f2f2f2"},containerHoverBackgroundOpacity:{type:"number",default:1},containerBorder:{type:"string",default:"#eeeeee"},containerBorderOpacity:{type:"number",default:1},containerHoverBorder:{type:"string",default:"#eeeeee"},containerHoverBorderOpacity:{type:"number",default:1},containerBorderWidth:{type:"array",default:[0,0,0,0]},containerBorderRadius:{type:"number",default:0},containerPadding:{type:"array",default:[20,20,20,20]},mediaType:{type:"string",default:"icon"},mediaAlign:{type:"string",default:"top"},mediaImage:{type:"array",default:[{url:"",id:"",alt:"",width:"",height:"",maxWidth:"",hoverAnimation:"none",flipUrl:"",flipId:"",flipAlt:"",flipWidth:"",flipHeight:"",subtype:"",flipSubtype:""}]},mediaIcon:{type:"array",default:[{icon:"fe_aperture",size:50,width:2,title:"",color:"#444444",hoverColor:"#444444",hoverAnimation:"none",flipIcon:"",tabletSize:"",mobileSize:""}]},mediaStyle:{type:"array",default:[{background:"transparent",hoverBackground:"transparent",border:"#444444",hoverBorder:"#444444",borderRadius:0,borderWidth:[0,0,0,0],padding:[10,10,10,10],margin:[0,15,0,15]}]},displayTitle:{type:"bool",default:!0},title:{type:"array",source:"children",selector:"h1,h2,h3,h4,h5,h6",default:Object(m.__)("Title")},titleColor:{type:"string",default:""},titleHoverColor:{type:"string",default:""},titleMinHeight:{type:"array",default:["","",""]},titleFont:{type:"array",default:[{level:2,size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",textTransform:"",family:"",google:!1,style:"",weight:"",variant:"",subset:"",loadGoogle:!0,padding:[0,0,0,0],paddingControl:"linked",margin:[5,0,10,0],marginControl:"individual"}]},displayText:{type:"bool",default:!0},contentText:{type:"array",source:"children",selector:"p",default:Object(m.__)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean diam dolor, accumsan sed rutrum vel, dapibus et leo.")},textColor:{type:"string",default:"#555555"},textHoverColor:{type:"string",default:""},textMinHeight:{type:"array",default:["","",""]},textFont:{type:"array",default:[{size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",family:"",google:"",style:"",weight:"",variant:"",subset:"",loadGoogle:!0}]},textSpacing:{type:"array",default:[{padding:["","","",""],paddingControl:"linked",margin:["","","",""],marginControl:"linked"}]},displayLearnMore:{type:"bool",default:!1},learnMore:{type:"array",source:"children",selector:".kt-blocks-info-box-learnmore",default:Object(m.__)("Learn More")},learnMoreStyles:{type:"array",default:[{size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",family:"",google:"",style:"",weight:"",variant:"",subset:"",loadGoogle:!0,padding:[4,8,4,8],paddingControl:"individual",margin:[10,0,10,0],marginControl:"individual",color:"",background:"transparent",border:"#555555",borderRadius:0,borderWidth:[0,0,0,0],borderControl:"linked",colorHover:"#ffffff",backgroundHover:"#444444",borderHover:"#444444",hoverEffect:"revealBorder"}]},displayShadow:{type:"bool",default:!1},shadow:{type:"array",default:[{color:"#000000",opacity:0,spread:0,blur:0,hOffset:0,vOffset:0}]},shadowHover:{type:"array",default:[{color:"#000000",opacity:.2,spread:0,blur:14,hOffset:0,vOffset:0}]},showPresets:{type:"bool",default:!0},mediaVAlign:{type:"string",default:"middle"},mediaAlignMobile:{type:"string",default:""},mediaAlignTablet:{type:"string",default:""},maxWidth:{type:"number",default:""},maxWidthUnit:{type:"string",default:"px"},containerMargin:{type:"array",default:["","","",""]},containerMarginUnit:{type:"string",default:"px"},linkNoFollow:{type:"bool",default:!1},linkSponsored:{type:"bool",default:!1},number:{type:"array",source:"children",selector:"div.kt-blocks-info-box-number",default:""},mediaNumber:{type:"array",default:[{family:"",google:!1,hoverAnimation:"none",style:"",weight:"",variant:"",subset:"",loadGoogle:!0}]}},save:e=>{let{attributes:t}=e;const{uniqueID:l,link:a,linkProperty:i,target:o,hAlign:n,mediaType:r,mediaImage:c,mediaIcon:s,mediaAlign:d,displayTitle:m,title:p,titleFont:g,displayText:u,contentText:h,displayLearnMore:v,learnMore:k,className:y}=t,f="h"+g[0].level;return Object(b.createElement)("div",{id:"kt-info-box"+l,className:y},"learnmore"!==i&&Object(b.createElement)("a",{className:`kt-blocks-info-box-link-wrap kt-blocks-info-box-media-align-${d} kt-info-halign-${n}`,target:"_blank"===o?o:void 0,rel:"_blank"===o?"noopener noreferrer":void 0,href:a},Object(b.createElement)("div",{className:"kt-blocks-info-box-media kt-info-media-animate-"+("image"===r?c[0].hoverAnimation:s[0].hoverAnimation)},c[0].url&&"image"===r&&Object(b.createElement)("div",{className:"kadence-info-box-image-inner-intrisic-container",style:{maxWidth:c[0].maxWidth+"px"}},Object(b.createElement)("div",{className:`kadence-info-box-image-intrisic kt-info-animate-${c[0].hoverAnimation}${"svg+xml"===c[0].subtype?" kb-info-box-image-type-svg":""}`,style:{paddingBottom:isNaN(c[0].height)?void 0:c[0].height/c[0].width*100+"%",width:isNaN(c[0].height)?void 0:c[0].width+"px",maxWidth:isNaN(c[0].height)?void 0:"100%"}},Object(b.createElement)("div",{className:"kadence-info-box-image-inner-intrisic"},Object(b.createElement)("img",{src:c[0].url,alt:c[0].alt,width:c[0].subtype&&"svg+xml"===c[0].subtype?c[0].maxWidth:c[0].width,height:c[0].height,className:`${c[0].id?"kt-info-box-image wp-image-"+c[0].id:"kt-info-box-image wp-image-offsite"} ${c[0].subtype&&"svg+xml"===c[0].subtype?" kt-info-svg-image":""}`}),c[0].flipUrl&&"flip"===c[0].hoverAnimation&&Object(b.createElement)("img",{src:c[0].flipUrl,alt:c[0].flipAlt,width:c[0].flipSubtype&&"svg+xml"===c[0].flipSubtype?c[0].maxWidth:c[0].flipWidth,height:c[0].flipHeight,className:`${c[0].flipId?"kt-info-box-image-flip wp-image-"+c[0].flipId:"kt-info-box-image-flip wp-image-offsite"} ${c[0].flipSubtype&&"svg+xml"===c[0].flipSubtype?" kt-info-svg-image":""}`})))),"icon"===r&&Object(b.createElement)("div",{className:"kadence-info-box-icon-container kt-info-icon-animate-"+s[0].hoverAnimation},Object(b.createElement)("div",{className:"kadence-info-box-icon-inner-container"},Object(b.createElement)(ot,{className:"kt-info-svg-icon kt-info-svg-icon-"+s[0].icon,name:s[0].icon,size:s[0].size?s[0].size:"14",htmltag:"span",strokeWidth:"fe"===s[0].icon.substring(0,2)?s[0].width:void 0,style:{display:"block"}}),s[0].flipIcon&&"flip"===s[0].hoverAnimation&&Object(b.createElement)(ot,{className:"kt-info-svg-icon-flip kt-info-svg-icon-"+s[0].flipIcon,name:s[0].flipIcon,size:s[0].size?s[0].size:"14",htmltag:"span",strokeWidth:"fe"===s[0].flipIcon.substring(0,2)?s[0].width:void 0,style:{display:"block"}})))),Object(b.createElement)("div",{className:"kt-infobox-textcontent"},m&&Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-title",tagName:f,value:p}),u&&Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-text",tagName:"p",value:h}),v&&Object(b.createElement)("div",{className:"kt-blocks-info-box-learnmore-wrap"},Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-learnmore",tagName:"span",value:k})))),"learnmore"===i&&Object(b.createElement)("div",{className:`kt-blocks-info-box-link-wrap kt-blocks-info-box-media-align-${d} kt-info-halign-${n}`},Object(b.createElement)("div",{className:"kt-blocks-info-box-media kt-info-media-animate-"+("image"===r?c[0].hoverAnimation:s[0].hoverAnimation)},c[0].url&&"image"===r&&Object(b.createElement)("div",{className:"kadence-info-box-image-inner-intrisic-container",style:{maxWidth:c[0].maxWidth+"px"}},Object(b.createElement)("div",{className:"kadence-info-box-image-intrisic kt-info-animate-"+c[0].hoverAnimation,style:{paddingBottom:c[0].height/c[0].width*100+"%"}},Object(b.createElement)("div",{className:"kadence-info-box-image-inner-intrisic"},Object(b.createElement)("img",{src:c[0].url,alt:c[0].alt,width:c[0].width,height:c[0].height,className:c[0].id?"kt-info-box-image wp-image-"+c[0].id:"kt-info-box-image wp-image-offsite"}),c[0].flipUrl&&"flip"===c[0].hoverAnimation&&Object(b.createElement)("img",{src:c[0].flipUrl,alt:c[0].flipAlt,width:c[0].flipWidth,height:c[0].flipHeight,className:c[0].flipId?"kt-info-box-image-flip wp-image-"+c[0].flipId:"kt-info-box-image-flip wp-image-offsite"})))),"icon"===r&&Object(b.createElement)("div",{className:"kadence-info-box-icon-container kt-info-icon-animate-"+s[0].hoverAnimation},Object(b.createElement)("div",{className:"kadence-info-box-icon-inner-container"},Object(b.createElement)(ot,{className:"kt-info-svg-icon kt-info-svg-icon-"+s[0].icon,name:s[0].icon,size:s[0].size?s[0].size:"14",htmltag:"span",strokeWidth:"fe"===s[0].icon.substring(0,2)?s[0].width:void 0,style:{display:"block"}}),s[0].flipIcon&&"flip"===s[0].hoverAnimation&&Object(b.createElement)(ot,{className:"kt-info-svg-icon-flip kt-info-svg-icon-"+s[0].flipIcon,name:s[0].flipIcon,size:s[0].size?s[0].size:"14",htmltag:"span",strokeWidth:"fe"===s[0].flipIcon.substring(0,2)?s[0].width:void 0,style:{display:"block"}})))),Object(b.createElement)("div",{className:"kt-infobox-textcontent"},m&&Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-title",tagName:f,value:p}),u&&Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-text",tagName:"p",value:h}),v&&Object(b.createElement)("div",{className:"kt-blocks-info-box-learnmore-wrap"},Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-learnmore",tagName:"a",target:"_blank"===o?o:void 0,rel:"_blank"===o?"noopener noreferrer":void 0,value:k,href:a})))))}},{attributes:{uniqueID:{type:"string",default:""},link:{type:"string",source:"attribute",attribute:"href",selector:"a"},linkProperty:{type:"string",default:"box"},target:{type:"string",source:"attribute",attribute:"target",selector:"a",default:"_self"},hAlign:{type:"string",default:"center"},hAlignTablet:{type:"string",default:""},hAlignMobile:{type:"string",default:""},containerBackground:{type:"string",default:"#f2f2f2"},containerBackgroundOpacity:{type:"number",default:1},containerHoverBackground:{type:"string",default:"#f2f2f2"},containerHoverBackgroundOpacity:{type:"number",default:1},containerBorder:{type:"string",default:"#eeeeee"},containerBorderOpacity:{type:"number",default:1},containerHoverBorder:{type:"string",default:"#eeeeee"},containerHoverBorderOpacity:{type:"number",default:1},containerBorderWidth:{type:"array",default:[0,0,0,0]},containerBorderRadius:{type:"number",default:0},containerPadding:{type:"array",default:[20,20,20,20]},mediaType:{type:"string",default:"icon"},mediaAlign:{type:"string",default:"top"},mediaImage:{type:"array",default:[{url:"",id:"",alt:"",width:"",height:"",maxWidth:"",hoverAnimation:"none",flipUrl:"",flipId:"",flipAlt:"",flipWidth:"",flipHeight:"",subtype:"",flipSubtype:""}]},mediaIcon:{type:"array",default:[{icon:"fe_aperture",size:50,width:2,title:"",color:"#444444",hoverColor:"#444444",hoverAnimation:"none",flipIcon:"",tabletSize:"",mobileSize:""}]},mediaStyle:{type:"array",default:[{background:"transparent",hoverBackground:"transparent",border:"#444444",hoverBorder:"#444444",borderRadius:0,borderWidth:[0,0,0,0],padding:[10,10,10,10],margin:[0,15,0,15]}]},displayTitle:{type:"bool",default:!0},title:{type:"array",source:"children",selector:"h1,h2,h3,h4,h5,h6",default:Object(m.__)("Title")},titleColor:{type:"string",default:""},titleHoverColor:{type:"string",default:""},titleMinHeight:{type:"array",default:["","",""]},titleFont:{type:"array",default:[{level:2,size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",textTransform:"",family:"",google:!1,style:"",weight:"",variant:"",subset:"",loadGoogle:!0,padding:[0,0,0,0],paddingControl:"linked",margin:[5,0,10,0],marginControl:"individual"}]},displayText:{type:"bool",default:!0},contentText:{type:"array",source:"children",selector:"p",default:Object(m.__)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean diam dolor, accumsan sed rutrum vel, dapibus et leo.")},textColor:{type:"string",default:"#555555"},textHoverColor:{type:"string",default:""},textMinHeight:{type:"array",default:["","",""]},textFont:{type:"array",default:[{size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",family:"",google:"",style:"",weight:"",variant:"",subset:"",loadGoogle:!0}]},textSpacing:{type:"array",default:[{padding:["","","",""],paddingControl:"linked",margin:["","","",""],marginControl:"linked"}]},displayLearnMore:{type:"bool",default:!1},learnMore:{type:"array",source:"children",selector:".kt-blocks-info-box-learnmore",default:Object(m.__)("Learn More")},learnMoreStyles:{type:"array",default:[{size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",family:"",google:"",style:"",weight:"",variant:"",subset:"",loadGoogle:!0,padding:[4,8,4,8],paddingControl:"individual",margin:[10,0,10,0],marginControl:"individual",color:"",background:"transparent",border:"#555555",borderRadius:0,borderWidth:[0,0,0,0],borderControl:"linked",colorHover:"#ffffff",backgroundHover:"#444444",borderHover:"#444444",hoverEffect:"revealBorder"}]},displayShadow:{type:"bool",default:!1},shadow:{type:"array",default:[{color:"#000000",opacity:0,spread:0,blur:0,hOffset:0,vOffset:0}]},shadowHover:{type:"array",default:[{color:"#000000",opacity:.2,spread:0,blur:14,hOffset:0,vOffset:0}]},showPresets:{type:"bool",default:!0},mediaVAlign:{type:"string",default:"middle"},mediaAlignMobile:{type:"string",default:""},mediaAlignTablet:{type:"string",default:""},maxWidth:{type:"number",default:""},maxWidthUnit:{type:"string",default:"px"},containerMargin:{type:"array",default:["","","",""]},containerMarginUnit:{type:"string",default:"px"},linkNoFollow:{type:"bool",default:!1},linkSponsored:{type:"bool",default:!1},number:{type:"array",source:"children",selector:"div.kt-blocks-info-box-number",default:""},mediaNumber:{type:"array",default:[{family:"",google:!1,hoverAnimation:"none",style:"",weight:"",variant:"",subset:"",loadGoogle:!0}]}},save:e=>{let{attributes:t}=e;const{uniqueID:l,link:a,linkProperty:i,target:o,hAlign:n,mediaType:r,mediaImage:c,mediaIcon:s,mediaAlign:d,displayTitle:m,title:p,titleFont:g,displayText:u,contentText:h,displayLearnMore:v,learnMore:k,className:y}=t,f="h"+g[0].level;return Object(b.createElement)("div",{id:"kt-info-box"+l,className:y},"learnmore"!==i&&Object(b.createElement)("a",{className:`kt-blocks-info-box-link-wrap kt-blocks-info-box-media-align-${d} kt-info-halign-${n}`,target:"_blank"===o?o:void 0,rel:"_blank"===o?"noopener noreferrer":void 0,href:a},Object(b.createElement)("div",{className:"kt-blocks-info-box-media kt-info-media-animate-"+("image"===r?c[0].hoverAnimation:s[0].hoverAnimation)},c[0].url&&"image"===r&&Object(b.createElement)("div",{className:"kadence-info-box-image-inner-intrisic-container",style:{maxWidth:c[0].maxWidth+"px"}},Object(b.createElement)("div",{className:`kadence-info-box-image-intrisic kt-info-animate-${c[0].hoverAnimation}${"svg+xml"===c[0].subtype?" kb-info-box-image-type-svg":""}`,style:{paddingBottom:isNaN(c[0].height)?void 0:c[0].height/c[0].width*100+"%"}},Object(b.createElement)("div",{className:"kadence-info-box-image-inner-intrisic"},Object(b.createElement)("img",{src:c[0].url,alt:c[0].alt,width:c[0].subtype&&"svg+xml"===c[0].subtype?c[0].maxWidth:c[0].width,height:c[0].height,className:`${c[0].id?"kt-info-box-image wp-image-"+c[0].id:"kt-info-box-image wp-image-offsite"} ${c[0].subtype&&"svg+xml"===c[0].subtype?" kt-info-svg-image":""}`}),c[0].flipUrl&&"flip"===c[0].hoverAnimation&&Object(b.createElement)("img",{src:c[0].flipUrl,alt:c[0].flipAlt,width:c[0].flipSubtype&&"svg+xml"===c[0].flipSubtype?c[0].maxWidth:c[0].flipWidth,height:c[0].flipHeight,className:`${c[0].flipId?"kt-info-box-image-flip wp-image-"+c[0].flipId:"kt-info-box-image-flip wp-image-offsite"} ${c[0].flipSubtype&&"svg+xml"===c[0].flipSubtype?" kt-info-svg-image":""}`})))),"icon"===r&&Object(b.createElement)("div",{className:"kadence-info-box-icon-container kt-info-icon-animate-"+s[0].hoverAnimation},Object(b.createElement)("div",{className:"kadence-info-box-icon-inner-container"},Object(b.createElement)(ot,{className:"kt-info-svg-icon kt-info-svg-icon-"+s[0].icon,name:s[0].icon,size:s[0].size?s[0].size:"14",htmltag:"span",strokeWidth:"fe"===s[0].icon.substring(0,2)?s[0].width:void 0,style:{display:"block"}}),s[0].flipIcon&&"flip"===s[0].hoverAnimation&&Object(b.createElement)(ot,{className:"kt-info-svg-icon-flip kt-info-svg-icon-"+s[0].flipIcon,name:s[0].flipIcon,size:s[0].size?s[0].size:"14",htmltag:"span",strokeWidth:"fe"===s[0].flipIcon.substring(0,2)?s[0].width:void 0,style:{display:"block"}})))),Object(b.createElement)("div",{className:"kt-infobox-textcontent"},m&&Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-title",tagName:f,value:p}),u&&Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-text",tagName:"p",value:h}),v&&Object(b.createElement)("div",{className:"kt-blocks-info-box-learnmore-wrap"},Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-learnmore",tagName:"span",value:k})))),"learnmore"===i&&Object(b.createElement)("div",{className:`kt-blocks-info-box-link-wrap kt-blocks-info-box-media-align-${d} kt-info-halign-${n}`},Object(b.createElement)("div",{className:"kt-blocks-info-box-media kt-info-media-animate-"+("image"===r?c[0].hoverAnimation:s[0].hoverAnimation)},c[0].url&&"image"===r&&Object(b.createElement)("div",{className:"kadence-info-box-image-inner-intrisic-container",style:{maxWidth:c[0].maxWidth+"px"}},Object(b.createElement)("div",{className:"kadence-info-box-image-intrisic kt-info-animate-"+c[0].hoverAnimation,style:{paddingBottom:c[0].height/c[0].width*100+"%"}},Object(b.createElement)("div",{className:"kadence-info-box-image-inner-intrisic"},Object(b.createElement)("img",{src:c[0].url,alt:c[0].alt,width:c[0].width,height:c[0].height,className:c[0].id?"kt-info-box-image wp-image-"+c[0].id:"kt-info-box-image wp-image-offsite"}),c[0].flipUrl&&"flip"===c[0].hoverAnimation&&Object(b.createElement)("img",{src:c[0].flipUrl,alt:c[0].flipAlt,width:c[0].flipWidth,height:c[0].flipHeight,className:c[0].flipId?"kt-info-box-image-flip wp-image-"+c[0].flipId:"kt-info-box-image-flip wp-image-offsite"})))),"icon"===r&&Object(b.createElement)("div",{className:"kadence-info-box-icon-container kt-info-icon-animate-"+s[0].hoverAnimation},Object(b.createElement)("div",{className:"kadence-info-box-icon-inner-container"},Object(b.createElement)(ot,{className:"kt-info-svg-icon kt-info-svg-icon-"+s[0].icon,name:s[0].icon,size:s[0].size?s[0].size:"14",htmltag:"span",strokeWidth:"fe"===s[0].icon.substring(0,2)?s[0].width:void 0,style:{display:"block"}}),s[0].flipIcon&&"flip"===s[0].hoverAnimation&&Object(b.createElement)(ot,{className:"kt-info-svg-icon-flip kt-info-svg-icon-"+s[0].flipIcon,name:s[0].flipIcon,size:s[0].size?s[0].size:"14",htmltag:"span",strokeWidth:"fe"===s[0].flipIcon.substring(0,2)?s[0].width:void 0,style:{display:"block"}})))),Object(b.createElement)("div",{className:"kt-infobox-textcontent"},m&&Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-title",tagName:f,value:p}),u&&Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-text",tagName:"p",value:h}),v&&Object(b.createElement)("div",{className:"kt-blocks-info-box-learnmore-wrap"},Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-learnmore",tagName:"a",target:"_blank"===o?o:void 0,rel:"_blank"===o?"noopener noreferrer":void 0,value:k,href:a})))))}},{attributes:{uniqueID:{type:"string",default:""},link:{type:"string",source:"attribute",attribute:"href",selector:"a"},linkProperty:{type:"string",default:"box"},target:{type:"string",source:"attribute",attribute:"target",selector:"a",default:"_self"},hAlign:{type:"string",default:"center"},containerBackground:{type:"string",default:"#f2f2f2"},containerHoverBackground:{type:"string",default:"#f2f2f2"},containerBorder:{type:"string",default:"#eeeeee"},containerHoverBorder:{type:"string",default:"#eeeeee"},containerBorderWidth:{type:"array",default:[0,0,0,0]},containerBorderRadius:{type:"number",default:0},containerPadding:{type:"array",default:[20,20,20,20]},mediaType:{type:"string",default:"icon"},mediaAlign:{type:"string",default:"top"},mediaImage:{type:"array",default:[{url:"",id:"",alt:"",width:"",height:"",maxWidth:"",hoverAnimation:"none",flipUrl:"",flipId:"",flipAlt:"",flipWidth:"",flipHeight:""}]},mediaIcon:{type:"array",default:[{icon:"fe_aperture",size:50,width:2,title:"",color:"#444444",hoverColor:"#444444",hoverAnimation:"none",flipIcon:""}]},mediaStyle:{type:"array",default:[{background:"transparent",hoverBackground:"transparent",border:"#444444",hoverBorder:"#444444",borderRadius:0,borderWidth:[0,0,0,0],padding:[10,10,10,10],margin:[0,15,0,15]}]},displayTitle:{type:"bool",default:!0},title:{type:"array",source:"children",selector:"h1,h2,h3,h4,h5,h6",default:Object(m.__)("Title")},titleColor:{type:"string",default:""},titleHoverColor:{type:"string",default:""},titleFont:{type:"array",default:[{level:2,size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",textTransform:"",family:"",google:!1,style:"",weight:"",variant:"",subset:"",loadGoogle:!0,padding:[0,0,0,0],paddingControl:"linked",margin:[5,0,10,0],marginControl:"individual"}]},displayText:{type:"bool",default:!0},contentText:{type:"array",source:"children",selector:"p",default:Object(m.__)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean diam dolor, accumsan sed rutrum vel, dapibus et leo.")},textColor:{type:"string",default:"#555555"},textHoverColor:{type:"string",default:""},textFont:{type:"array",default:[{size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",family:"",google:"",style:"",weight:"",variant:"",subset:"",loadGoogle:!0}]},displayLearnMore:{type:"bool",default:!1},learnMore:{type:"array",source:"children",selector:".kt-blocks-info-box-learnmore",default:Object(m.__)("Learn More")},learnMoreStyles:{type:"array",default:[{size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",family:"",google:"",style:"",weight:"",variant:"",subset:"",loadGoogle:!0,padding:[4,8,4,8],paddingControl:"individual",margin:[10,0,10,0],marginControl:"individual",color:"",background:"transparent",border:"#555555",borderRadius:0,borderWidth:[0,0,0,0],borderControl:"linked",colorHover:"#ffffff",backgroundHover:"#444444",borderHover:"#444444",hoverEffect:"revealBorder"}]},displayShadow:{type:"bool",default:!1},shadow:{type:"array",default:[{color:"#000000",opacity:0,spread:0,blur:0,hOffset:0,vOffset:0}]},shadowHover:{type:"array",default:[{color:"#000000",opacity:.2,spread:0,blur:14,hOffset:0,vOffset:0}]}},save:e=>{let{attributes:t}=e;const{uniqueID:l,link:a,linkProperty:i,target:o,hAlign:n,mediaType:r,mediaImage:c,mediaIcon:s,mediaAlign:d,displayTitle:m,title:p,titleFont:g,displayText:u,contentText:h,displayLearnMore:v,learnMore:k,className:y}=t,f="h"+g[0].level;return Object(b.createElement)("div",{id:"kt-info-box"+l,className:y},"learnmore"!==i&&Object(b.createElement)("a",{className:`kt-blocks-info-box-link-wrap kt-blocks-info-box-media-align-${d} kt-info-halign-${n}`,target:"_blank"===o?o:void 0,rel:"_blank"===o?"noopener noreferrer":void 0,href:a},Object(b.createElement)("div",{className:"kt-blocks-info-box-media kt-info-media-animate-"+("image"===r?c[0].hoverAnimation:s[0].hoverAnimation)},c[0].url&&"image"===r&&Object(b.createElement)("div",{className:"kadence-info-box-image-inner-intrisic-container",style:{maxWidth:c[0].maxWidth+"px"}},Object(b.createElement)("div",{className:"kadence-info-box-image-intrisic kt-info-animate-"+c[0].hoverAnimation,style:{paddingBottom:c[0].height/c[0].width*100+"%"}},Object(b.createElement)("div",{className:"kadence-info-box-image-inner-intrisic"},Object(b.createElement)("img",{src:c[0].url,alt:c[0].alt,width:c[0].subtype&&"svg+xml"===c[0].subtype?c[0].maxWidth:c[0].width,height:c[0].height,className:`${c[0].id?"kt-info-box-image wp-image-"+c[0].id:"kt-info-box-image wp-image-offsite"} ${c[0].subtype&&"svg+xml"===c[0].subtype?" kt-info-svg-image":""}`}),c[0].flipUrl&&"flip"===c[0].hoverAnimation&&Object(b.createElement)("img",{src:c[0].flipUrl,alt:c[0].flipAlt,width:c[0].flipSubtype&&"svg+xml"===c[0].flipSubtype?c[0].maxWidth:c[0].flipWidth,height:c[0].flipHeight,className:`${c[0].flipId?"kt-info-box-image-flip wp-image-"+c[0].flipId:"kt-info-box-image-flip wp-image-offsite"} ${c[0].flipSubtype&&"svg+xml"===c[0].flipSubtype?" kt-info-svg-image":""}`})))),"icon"===r&&Object(b.createElement)("div",{className:"kadence-info-box-icon-container kt-info-icon-animate-"+s[0].hoverAnimation},Object(b.createElement)("div",{className:"kadence-info-box-icon-inner-container"},Object(b.createElement)(ot,{className:"kt-info-svg-icon kt-info-svg-icon-"+s[0].icon,name:s[0].icon,size:s[0].size?s[0].size:"14",htmltag:"span",strokeWidth:"fe"===s[0].icon.substring(0,2)?s[0].width:void 0,style:{display:"block"}}),s[0].flipIcon&&"flip"===s[0].hoverAnimation&&Object(b.createElement)(ot,{className:"kt-info-svg-icon-flip kt-info-svg-icon-"+s[0].flipIcon,name:s[0].flipIcon,size:s[0].size?s[0].size:"14",htmltag:"span",strokeWidth:"fe"===s[0].flipIcon.substring(0,2)?s[0].width:void 0,style:{display:"block"}})))),Object(b.createElement)("div",{className:"kt-infobox-textcontent"},m&&Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-title",tagName:f,value:p}),u&&Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-text",tagName:"p",value:h}),v&&Object(b.createElement)("div",{className:"kt-blocks-info-box-learnmore-wrap"},Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-learnmore",tagName:"span",value:k})))),"learnmore"===i&&Object(b.createElement)("div",{className:`kt-blocks-info-box-link-wrap kt-blocks-info-box-media-align-${d} kt-info-halign-${n}`},Object(b.createElement)("div",{className:"kt-blocks-info-box-media kt-info-media-animate-"+("image"===r?c[0].hoverAnimation:s[0].hoverAnimation)},c[0].url&&"image"===r&&Object(b.createElement)("div",{className:"kadence-info-box-image-inner-intrisic-container",style:{maxWidth:c[0].maxWidth+"px"}},Object(b.createElement)("div",{className:"kadence-info-box-image-intrisic kt-info-animate-"+c[0].hoverAnimation,style:{paddingBottom:c[0].height/c[0].width*100+"%"}},Object(b.createElement)("div",{className:"kadence-info-box-image-inner-intrisic"},Object(b.createElement)("img",{src:c[0].url,alt:c[0].alt,width:c[0].width,height:c[0].height,className:c[0].id?"kt-info-box-image wp-image-"+c[0].id:"kt-info-box-image wp-image-offsite"}),c[0].flipUrl&&"flip"===c[0].hoverAnimation&&Object(b.createElement)("img",{src:c[0].flipUrl,alt:c[0].flipAlt,width:c[0].flipWidth,height:c[0].flipHeight,className:c[0].flipId?"kt-info-box-image-flip wp-image-"+c[0].flipId:"kt-info-box-image-flip wp-image-offsite"})))),"icon"===r&&Object(b.createElement)("div",{className:"kadence-info-box-icon-container kt-info-icon-animate-"+s[0].hoverAnimation},Object(b.createElement)("div",{className:"kadence-info-box-icon-inner-container"},Object(b.createElement)(ot,{className:"kt-info-svg-icon kt-info-svg-icon-"+s[0].icon,name:s[0].icon,size:s[0].size?s[0].size:"14",htmltag:"span",strokeWidth:"fe"===s[0].icon.substring(0,2)?s[0].width:void 0,style:{display:"block"}}),s[0].flipIcon&&"flip"===s[0].hoverAnimation&&Object(b.createElement)(ot,{className:"kt-info-svg-icon-flip kt-info-svg-icon-"+s[0].flipIcon,name:s[0].flipIcon,size:s[0].size?s[0].size:"14",htmltag:"span",strokeWidth:"fe"===s[0].flipIcon.substring(0,2)?s[0].width:void 0,style:{display:"block"}})))),Object(b.createElement)("div",{className:"kt-infobox-textcontent"},m&&Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-title",tagName:f,value:p}),u&&Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-text",tagName:"p",value:h}),v&&Object(b.createElement)("div",{className:"kt-blocks-info-box-learnmore-wrap"},Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-learnmore",tagName:"a",target:"_blank"===o?o:void 0,rel:"_blank"===o?"noopener noreferrer":void 0,value:k,href:a})))))}},{attributes:{uniqueID:{type:"string",default:""},link:{type:"string",source:"attribute",attribute:"href",selector:"a"},linkProperty:{type:"string",default:"box"},target:{type:"string",source:"attribute",attribute:"target",selector:"a",default:"_self"},hAlign:{type:"string",default:"center"},containerBackground:{type:"string",default:"#f2f2f2"},containerHoverBackground:{type:"string",default:"#f2f2f2"},containerBorder:{type:"string",default:"#eeeeee"},containerHoverBorder:{type:"string",default:"#eeeeee"},containerBorderWidth:{type:"array",default:[0,0,0,0]},containerBorderRadius:{type:"number",default:0},containerPadding:{type:"array",default:[20,20,20,20]},mediaType:{type:"string",default:"icon"},mediaAlign:{type:"string",default:"top"},mediaImage:{type:"array",default:[{url:"",id:"",alt:"",width:"",height:"",maxWidth:"",hoverAnimation:"none",flipUrl:"",flipId:"",flipAlt:"",flipWidth:"",flipHeight:""}]},mediaIcon:{type:"array",default:[{icon:"fe_aperture",size:50,width:2,title:"",color:"#444444",hoverColor:"#444444",hoverAnimation:"none",flipIcon:""}]},mediaStyle:{type:"array",default:[{background:"transparent",hoverBackground:"transparent",border:"#444444",hoverBorder:"#444444",borderRadius:0,borderWidth:[0,0,0,0],padding:[10,10,10,10],margin:[0,15,0,15]}]},displayTitle:{type:"bool",default:!0},title:{type:"array",source:"children",selector:"h1,h2,h3,h4,h5,h6",default:Object(m.__)("Title")},titleColor:{type:"string",default:""},titleHoverColor:{type:"string",default:""},titleFont:{type:"array",default:[{level:2,size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",textTransform:"",family:"",google:!1,style:"",weight:"",variant:"",subset:"",loadGoogle:!0,padding:[0,0,0,0],paddingControl:"linked",margin:[5,0,10,0],marginControl:"individual"}]},displayText:{type:"bool",default:!0},contentText:{type:"array",source:"children",selector:"p",default:Object(m.__)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean diam dolor, accumsan sed rutrum vel, dapibus et leo.")},textColor:{type:"string",default:"#555555"},textHoverColor:{type:"string",default:""},textFont:{type:"array",default:[{size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",family:"",google:"",style:"",weight:"",variant:"",subset:"",loadGoogle:!0}]},displayLearnMore:{type:"bool",default:!1},learnMore:{type:"array",source:"children",selector:".kt-blocks-info-box-learnmore",default:Object(m.__)("Learn More")},learnMoreStyles:{type:"array",default:[{size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",family:"",google:"",style:"",weight:"",variant:"",subset:"",loadGoogle:!0,padding:[4,8,4,8],paddingControl:"individual",margin:[10,0,10,0],marginControl:"individual",color:"",background:"transparent",border:"#555555",borderRadius:0,borderWidth:[0,0,0,0],borderControl:"linked",colorHover:"#ffffff",backgroundHover:"#444444",borderHover:"#444444",hoverEffect:"revealBorder"}]},displayShadow:{type:"bool",default:!1},shadow:{type:"array",default:[{color:"#000000",opacity:0,spread:0,blur:0,hOffset:0,vOffset:0}]},shadowHover:{type:"array",default:[{color:"#000000",opacity:.2,spread:0,blur:14,hOffset:0,vOffset:0}]}},save:e=>{let{attributes:t}=e;const{uniqueID:l,link:a,linkProperty:i,target:o,hAlign:n,mediaType:r,mediaImage:c,mediaIcon:s,mediaAlign:d,displayTitle:m,title:p,titleFont:g,displayText:u,contentText:h,displayLearnMore:v,learnMore:k,className:y}=t,f="h"+g[0].level;return Object(b.createElement)("div",{id:"kt-info-box"+l,className:y},"learnmore"!==i&&Object(b.createElement)("a",{className:`kt-blocks-info-box-link-wrap kt-blocks-info-box-media-align-${d} kt-info-halign-${n}`,target:o,rel:"noopener noreferrer",href:a},Object(b.createElement)("div",{className:"kt-blocks-info-box-media kt-info-media-animate-"+("image"===r?c[0].hoverAnimation:s[0].hoverAnimation)},c[0].url&&"image"===r&&Object(b.createElement)("div",{className:"kadence-info-box-image-inner-intrisic-container",style:{maxWidth:c[0].maxWidth+"px"}},Object(b.createElement)("div",{className:"kadence-info-box-image-intrisic kt-info-animate-"+c[0].hoverAnimation,style:{paddingBottom:c[0].height/c[0].width*100+"%"}},Object(b.createElement)("div",{className:"kadence-info-box-image-inner-intrisic"},Object(b.createElement)("img",{src:c[0].url,alt:c[0].alt,width:c[0].width,height:c[0].height,className:c[0].id?"kt-info-box-image wp-image-"+c[0].id:"kt-info-box-image wp-image-offsite"}),c[0].flipUrl&&"flip"===c[0].hoverAnimation&&Object(b.createElement)("img",{src:c[0].flipUrl,alt:c[0].flipAlt,width:c[0].flipWidth,height:c[0].flipHeight,className:c[0].flipId?"kt-info-box-image-flip wp-image-"+c[0].flipId:"kt-info-box-image-flip wp-image-offsite"})))),"icon"===r&&Object(b.createElement)("div",{className:"kadence-info-box-icon-container kt-info-icon-animate-"+s[0].hoverAnimation},Object(b.createElement)("div",{className:"kadence-info-box-icon-inner-container"},Object(b.createElement)(ot,{className:"kt-info-svg-icon kt-info-svg-icon-"+s[0].icon,name:s[0].icon,size:s[0].size?s[0].size:"14",htmltag:"span",strokeWidth:"fe"===s[0].icon.substring(0,2)?s[0].width:void 0,style:{display:"block"}}),s[0].flipIcon&&"flip"===s[0].hoverAnimation&&Object(b.createElement)(ot,{className:"kt-info-svg-icon-flip kt-info-svg-icon-"+s[0].flipIcon,name:s[0].flipIcon,size:s[0].size?s[0].size:"14",htmltag:"span",strokeWidth:"fe"===s[0].flipIcon.substring(0,2)?s[0].width:void 0,style:{display:"block"}})))),Object(b.createElement)("div",{className:"kt-infobox-textcontent"},m&&Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-title",tagName:f,value:p}),u&&Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-text",tagName:"p",value:h}),v&&Object(b.createElement)("div",{className:"kt-blocks-info-box-learnmore-wrap"},Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-learnmore",tagName:"span",value:k})))),"learnmore"===i&&Object(b.createElement)("div",{className:`kt-blocks-info-box-link-wrap kt-blocks-info-box-media-align-${d} kt-info-halign-${n}`},Object(b.createElement)("div",{className:"kt-blocks-info-box-media kt-info-media-animate-"+("image"===r?c[0].hoverAnimation:s[0].hoverAnimation)},c[0].url&&"image"===r&&Object(b.createElement)("div",{className:"kadence-info-box-image-inner-intrisic-container",style:{maxWidth:c[0].maxWidth+"px"}},Object(b.createElement)("div",{className:"kadence-info-box-image-intrisic kt-info-animate-"+c[0].hoverAnimation,style:{paddingBottom:c[0].height/c[0].width*100+"%"}},Object(b.createElement)("div",{className:"kadence-info-box-image-inner-intrisic"},Object(b.createElement)("img",{src:c[0].url,alt:c[0].alt,width:c[0].width,height:c[0].height,className:c[0].id?"kt-info-box-image wp-image-"+c[0].id:"kt-info-box-image wp-image-offsite"}),c[0].flipUrl&&"flip"===c[0].hoverAnimation&&Object(b.createElement)("img",{src:c[0].flipUrl,alt:c[0].flipAlt,width:c[0].flipWidth,height:c[0].flipHeight,className:c[0].flipId?"kt-info-box-image-flip wp-image-"+c[0].flipId:"kt-info-box-image-flip wp-image-offsite"})))),"icon"===r&&Object(b.createElement)("div",{className:"kadence-info-box-icon-container kt-info-icon-animate-"+s[0].hoverAnimation},Object(b.createElement)("div",{className:"kadence-info-box-icon-inner-container"},Object(b.createElement)(ot,{className:"kt-info-svg-icon kt-info-svg-icon-"+s[0].icon,name:s[0].icon,size:s[0].size?s[0].size:"14",htmltag:"span",strokeWidth:"fe"===s[0].icon.substring(0,2)?s[0].width:void 0,style:{display:"block"}}),s[0].flipIcon&&"flip"===s[0].hoverAnimation&&Object(b.createElement)(ot,{className:"kt-info-svg-icon-flip kt-info-svg-icon-"+s[0].flipIcon,name:s[0].flipIcon,size:s[0].size?s[0].size:"14",htmltag:"span",strokeWidth:"fe"===s[0].flipIcon.substring(0,2)?s[0].width:void 0,style:{display:"block"}})))),Object(b.createElement)("div",{className:"kt-infobox-textcontent"},m&&Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-title",tagName:f,value:p}),u&&Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-text",tagName:"p",value:h}),v&&Object(b.createElement)("div",{className:"kt-blocks-info-box-learnmore-wrap"},Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-learnmore",tagName:"a",target:o,rel:"noopener noreferrer",value:k,href:a})))))}},{attributes:{uniqueID:{type:"string",default:""},link:{type:"string",source:"attribute",attribute:"href",selector:"a"},linkProperty:{type:"string",default:"box"},target:{type:"string",source:"attribute",attribute:"target",selector:"a",default:"_self"},hAlign:{type:"string",default:"center"},containerBackground:{type:"string",default:"#f2f2f2"},containerHoverBackground:{type:"string",default:"#f2f2f2"},containerBorder:{type:"string",default:"#eeeeee"},containerHoverBorder:{type:"string",default:"#eeeeee"},containerBorderWidth:{type:"array",default:[0,0,0,0]},containerBorderRadius:{type:"number",default:0},containerPadding:{type:"array",default:[20,20,20,20]},mediaType:{type:"string",default:"icon"},mediaAlign:{type:"string",default:"top"},mediaImage:{type:"array",default:[{url:"",id:"",alt:"",width:"",height:"",maxWidth:"",hoverAnimation:"none",flipUrl:"",flipId:"",flipAlt:"",flipWidth:"",flipHeight:""}]},mediaIcon:{type:"array",default:[{icon:"fe_aperture",size:50,width:2,title:"",color:"#444444",hoverColor:"#444444",hoverAnimation:"none",flipIcon:""}]},mediaStyle:{type:"array",default:[{background:"transparent",hoverBackground:"transparent",border:"#444444",hoverBorder:"#444444",borderRadius:0,borderWidth:[0,0,0,0],padding:[10,10,10,10],margin:[0,15,0,15]}]},displayTitle:{type:"bool",default:!0},title:{type:"array",source:"children",selector:"h1,h2,h3,h4,h5,h6",default:Object(m.__)("Title")},titleColor:{type:"string",default:""},titleHoverColor:{type:"string",default:""},titleFont:{type:"array",default:[{level:2,size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",textTransform:"",family:"",google:!1,style:"",weight:"",variant:"",subset:"",loadGoogle:!0,padding:[0,0,0,0],paddingControl:"linked",margin:[5,0,10,0],marginControl:"individual"}]},displayText:{type:"bool",default:!0},contentText:{type:"array",source:"children",selector:"p",default:Object(m.__)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean diam dolor, accumsan sed rutrum vel, dapibus et leo.")},textColor:{type:"string",default:"#555555"},textHoverColor:{type:"string",default:""},textFont:{type:"array",default:[{size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",family:"",google:"",style:"",weight:"",variant:"",subset:"",loadGoogle:!0}]},displayLearnMore:{type:"bool",default:!1},learnMore:{type:"array",source:"children",selector:".kt-blocks-info-box-learnmore",default:Object(m.__)("Learn More")},learnMoreStyles:{type:"array",default:[{size:["","",""],sizeType:"px",lineHeight:["","",""],lineType:"px",letterSpacing:"",family:"",google:"",style:"",weight:"",variant:"",subset:"",loadGoogle:!0,padding:[4,8,4,8],paddingControl:"individual",margin:[10,0,10,0],marginControl:"individual",color:"",background:"transparent",border:"#555555",borderRadius:0,borderWidth:[0,0,0,0],borderControl:"linked",colorHover:"#ffffff",backgroundHover:"#444444",borderHover:"#444444",hoverEffect:"revealBorder"}]},displayShadow:{type:"bool",default:!1},shadow:{type:"array",default:[{color:"#000000",opacity:0,spread:0,blur:0,hOffset:0,vOffset:0}]},shadowHover:{type:"array",default:[{color:"#000000",opacity:.2,spread:0,blur:14,hOffset:0,vOffset:0}]}},save:e=>{let{attributes:t}=e;const{uniqueID:l,link:a,linkProperty:i,target:o,hAlign:n,mediaType:r,mediaImage:c,mediaIcon:s,mediaAlign:d,displayTitle:m,title:p,titleFont:g,displayText:u,contentText:h,displayLearnMore:v,learnMore:k,className:y}=t,f="h"+g[0].level;return Object(b.createElement)("div",{id:"kt-info-box"+l,className:y},"learnmore"!==i&&Object(b.createElement)("a",{className:`kt-blocks-info-box-link-wrap kt-blocks-info-box-media-align-${d} kt-info-halign-${n}`,target:o,href:a},Object(b.createElement)("div",{className:"kt-blocks-info-box-media kt-info-media-animate-"+("image"===r?c[0].hoverAnimation:s[0].hoverAnimation)},c[0].url&&"image"===r&&Object(b.createElement)("div",{className:"kadence-info-box-image-inner-intrisic-container",style:{maxWidth:c[0].maxWidth+"px"}},Object(b.createElement)("div",{className:"kadence-info-box-image-intrisic kt-info-animate-"+c[0].hoverAnimation,style:{paddingBottom:c[0].height/c[0].width*100+"%"}},Object(b.createElement)("div",{className:"kadence-info-box-image-inner-intrisic"},Object(b.createElement)("img",{src:c[0].url,alt:c[0].alt,width:c[0].width,height:c[0].height,className:c[0].id?"kt-info-box-image wp-image-"+c[0].id:"kt-info-box-image wp-image-offsite"}),c[0].flipUrl&&"flip"===c[0].hoverAnimation&&Object(b.createElement)("img",{src:c[0].flipUrl,alt:c[0].flipAlt,width:c[0].flipWidth,height:c[0].flipHeight,className:c[0].flipId?"kt-info-box-image-flip wp-image-"+c[0].flipId:"kt-info-box-image-flip wp-image-offsite"})))),"icon"===r&&Object(b.createElement)("div",{className:"kadence-info-box-icon-container kt-info-icon-animate-"+s[0].hoverAnimation},Object(b.createElement)("div",{className:"kadence-info-box-icon-inner-container"},Object(b.createElement)(ot,{className:"kt-info-svg-icon kt-info-svg-icon-"+s[0].icon,name:s[0].icon,size:s[0].size?s[0].size:"14",htmltag:"span",strokeWidth:"fe"===s[0].icon.substring(0,2)?s[0].width:void 0,style:{display:"block"}}),s[0].flipIcon&&"flip"===s[0].hoverAnimation&&Object(b.createElement)(ot,{className:"kt-info-svg-icon-flip kt-info-svg-icon-"+s[0].flipIcon,name:s[0].flipIcon,size:s[0].size?s[0].size:"14",htmltag:"span",strokeWidth:"fe"===s[0].flipIcon.substring(0,2)?s[0].width:void 0,style:{display:"block"}})))),Object(b.createElement)("div",{className:"kt-infobox-textcontent"},m&&Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-title",tagName:f,value:p}),u&&Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-text",tagName:"p",value:h}),v&&Object(b.createElement)("div",{className:"kt-blocks-info-box-learnmore-wrap"},Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-learnmore",tagName:"span",value:k})))),"learnmore"===i&&Object(b.createElement)("div",{className:`kt-blocks-info-box-link-wrap kt-blocks-info-box-media-align-${d} kt-info-halign-${n}`},Object(b.createElement)("div",{className:"kt-blocks-info-box-media kt-info-media-animate-"+("image"===r?c[0].hoverAnimation:s[0].hoverAnimation)},c[0].url&&"image"===r&&Object(b.createElement)("div",{className:"kadence-info-box-image-inner-intrisic-container",style:{maxWidth:c[0].maxWidth+"px"}},Object(b.createElement)("div",{className:"kadence-info-box-image-intrisic kt-info-animate-"+c[0].hoverAnimation,style:{paddingBottom:c[0].height/c[0].width*100+"%"}},Object(b.createElement)("div",{className:"kadence-info-box-image-inner-intrisic"},Object(b.createElement)("img",{src:c[0].url,alt:c[0].alt,width:c[0].width,height:c[0].height,className:c[0].id?"kt-info-box-image wp-image-"+c[0].id:"kt-info-box-image wp-image-offsite"}),c[0].flipUrl&&"flip"===c[0].hoverAnimation&&Object(b.createElement)("img",{src:c[0].flipUrl,alt:c[0].flipAlt,width:c[0].flipWidth,height:c[0].flipHeight,className:c[0].flipId?"kt-info-box-image-flip wp-image-"+c[0].flipId:"kt-info-box-image-flip wp-image-offsite"})))),"icon"===r&&Object(b.createElement)("div",{className:"kadence-info-box-icon-container kt-info-icon-animate-"+s[0].hoverAnimation},Object(b.createElement)("div",{className:"kadence-info-box-icon-inner-container"},Object(b.createElement)(ot,{className:"kt-info-svg-icon kt-info-svg-icon-"+s[0].icon,name:s[0].icon,size:s[0].size?s[0].size:"14",htmltag:"span",strokeWidth:"fe"===s[0].icon.substring(0,2)?s[0].width:void 0,style:{display:"block"}}),s[0].flipIcon&&"flip"===s[0].hoverAnimation&&Object(b.createElement)(ot,{className:"kt-info-svg-icon-flip kt-info-svg-icon-"+s[0].flipIcon,name:s[0].flipIcon,size:s[0].size?s[0].size:"14",htmltag:"span",strokeWidth:"fe"===s[0].flipIcon.substring(0,2)?s[0].width:void 0,style:{display:"block"}})))),Object(b.createElement)("div",{className:"kt-infobox-textcontent"},m&&Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-title",tagName:f,value:p}),u&&Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-text",tagName:"p",value:h}),v&&Object(b.createElement)("div",{className:"kt-blocks-info-box-learnmore-wrap"},Object(b.createElement)(Om.Content,{className:"kt-blocks-info-box-learnmore",tagName:"a",target:o,value:k,href:a})))))}}]});const{Fragment:jm}=wp.element,{Button:_m,ButtonGroup:wm,Tooltip:xm}=wp.components;function Em(e){let{label:t,values:l,control:a,onChange:i,onControl:o,colorDefault:n="",controlTypes:r=[{key:"linked",name:Object(m.__)("Linked"),icon:g.linked},{key:"individual",name:Object(m.__)("Individual"),icon:g.individual}],firstIcon:c=g.outlinetop,secondIcon:s=g.outlineright,thirdIcon:d=g.outlinebottom,fourthIcon:p=g.outlineleft}=e;return[i&&o&&Object(b.createElement)(jm,null,Object(b.createElement)(wm,{className:"kt-size-type-options kt-outline-control","aria-label":Object(m.__)("Color Control Type")},k()(r,e=>{let{name:t,key:l,icon:i}=e;return Object(b.createElement)(xm,{text:t},Object(b.createElement)(_m,{key:l,className:"kt-size-btn",isSmall:!0,isPrimary:a===l,"aria-pressed":a===l,onClick:()=>o(l)},i))})),a&&"individual"!==a&&Object(b.createElement)(jm,null,Object(b.createElement)("p",{className:"kt-setting-label"},t),Object(b.createElement)(De,{label:g.linked,value:l&&l[0]?l[0]:"",default:n,onChange:e=>i([e,e,e,e])})),a&&"individual"===a&&Object(b.createElement)("div",{className:"kt-border-color-array-control"},Object(b.createElement)("p",{className:"kt-setting-label"},t),Object(b.createElement)(De,{label:c,value:l&&l[0]?l[0]:"",default:n,onChange:e=>i([e,l[1],l[2],l[3]])}),Object(b.createElement)(De,{label:s,value:l&&l[0]?l[0]:"",default:n,onChange:e=>i([l[0],e,l[2],l[3]])}),Object(b.createElement)(De,{label:d,value:l&&l[0]?l[0]:"",default:n,onChange:e=>i([l[0],l[1],e,l[3]])}),Object(b.createElement)(De,{label:p,value:l&&l[0]?l[0]:"",default:n,onChange:e=>i([l[0],l[1],l[2],e])})))]}const Sm=[],{createBlock:Cm}=wp.blocks,{Component:Tm,Fragment:Nm}=wp.element,{TabPanel:zm,Button:Mm,ButtonGroup:Im,Dashicon:Hm,RangeControl:Bm,ToggleControl:Pm,SelectControl:Rm,IconButton:Am}=wp.components,Lm=["kadence/pane"],Fm=Wl()(e=>io()(e,e=>["kadence/pane",{id:e+1}]));var Wm=Object(w.compose)([Object(a.withSelect)((e,t)=>{const{clientId:l}=t,{getBlock:a}=e("core/block-editor"),i=a(l);return{accordionBlock:i,realPaneCount:i.innerBlocks.length,getPreviewDevice:e("kadenceblocks/data").getPreviewDeviceType()}}),Object(a.withDispatch)((e,t,l)=>{let{clientId:a}=t,{select:i}=l;const{getBlock:o}=i("core/block-editor"),{removeBlock:n,updateBlockAttributes:r,insertBlock:c}=e("core/block-editor"),s=o(a);return{updatePaneTag(e){io()(s.innerBlocks.length,t=>{r(s.innerBlocks[t].clientId,{titleTag:e})})},updateFaqSchema(e){io()(s.innerBlocks.length,t=>{r(s.innerBlocks[t].clientId,{faqSchema:e})})},insertPane(e){c(e,parseInt(s.innerBlocks.length),a)},removePane(e){n(e)}}})])(class extends Tm{constructor(){super(...arguments),this.showSettings=this.showSettings.bind(this),this.getPreviewSize=this.getPreviewSize.bind(this),this.state={contentPaddingControl:"linked",contentBorderRadiusControl:"linked",contentBorderControl:"linked",titleBorderControl:"linked",titlePaddingControl:"individual",titleBorderRadiusControl:"linked",titleBorderColorControl:"linked",titleBorderHoverColorControl:"linked",titleBorderActiveColorControl:"linked",titleTag:"div",showPreset:!1,user:kadence_blocks_params.userrole?kadence_blocks_params.userrole:"admin",settings:{}}}getPreviewSize(e,t,l,a){if("Mobile"===e){if(void 0!==a&&""!==a)return a;if(void 0!==l&&""!==l)return l}else if("Tablet"===e&&void 0!==l&&""!==l)return l;return t}componentDidMount(){if(this.props.attributes.uniqueID)Sm.includes(this.props.attributes.uniqueID)?(this.props.attributes.uniqueID="_"+this.props.clientId.substr(2,9),Sm.push("_"+this.props.clientId.substr(2,9))):Sm.push(this.props.attributes.uniqueID);else{const e=kadence_blocks_params.configuration?JSON.parse(kadence_blocks_params.configuration):[];void 0!==e["kadence/accordion"]&&"object"==typeof e["kadence/accordion"]&&Object.keys(e["kadence/accordion"]).map(t=>{if("titleTag"===t){const l=wp.data.select("core/block-editor").getBlocksByClientId(this.props.clientId),a=l[0]?l[0].innerBlocks.length:l.innerBlocks.length;l[0]?io()(a,a=>{wp.data.dispatch("core/block-editor").updateBlockAttributes(l[0].innerBlocks[a].clientId,{titleTag:e["kadence/accordion"][t]})}):io()(a,a=>{wp.data.dispatch("core/block-editor").updateBlockAttributes(l.innerBlocks[a].clientId,{titleTag:e["kadence/accordion"][t]})}),this.setState({titleTag:e["kadence/accordion"][t]})}else this.props.attributes[t]=e["kadence/accordion"][t]}),void 0!==e["kadence/pane"]&&"object"==typeof e["kadence/pane"]&&void 0!==e["kadence/pane"].titleTag&&this.setState({titleTag:e["kadence/pane"].titleTag}),this.props.attributes.showPresets&&this.setState({showPreset:!0}),this.props.setAttributes({uniqueID:"_"+this.props.clientId.substr(2,9)}),Sm.push("_"+this.props.clientId.substr(2,9))}this.props.attributes.titleStyles[0].padding[0]===this.props.attributes.titleStyles[0].padding[1]&&this.props.attributes.titleStyles[0].padding[0]===this.props.attributes.titleStyles[0].padding[2]&&this.props.attributes.titleStyles[0].padding[0]===this.props.attributes.titleStyles[0].padding[3]?this.setState({titlePaddingControl:"linked"}):this.setState({titlePaddingControl:"individual"}),this.props.attributes.titleStyles[0].borderWidth[0]===this.props.attributes.titleStyles[0].borderWidth[1]&&this.props.attributes.titleStyles[0].borderWidth[0]===this.props.attributes.titleStyles[0].borderWidth[2]&&this.props.attributes.titleStyles[0].borderWidth[0]===this.props.attributes.titleStyles[0].borderWidth[3]?this.setState({titleBorderControl:"linked"}):this.setState({titleBorderControl:"individual"}),this.props.attributes.titleStyles[0].borderRadius[0]===this.props.attributes.titleStyles[0].borderRadius[1]&&this.props.attributes.titleStyles[0].borderRadius[0]===this.props.attributes.titleStyles[0].borderRadius[2]&&this.props.attributes.titleStyles[0].borderRadius[0]===this.props.attributes.titleStyles[0].borderRadius[3]?this.setState({titleBorderRadiusControl:"linked"}):this.setState({titleBorderRadiusControl:"individual"}),this.props.attributes.contentBorder[0]===this.props.attributes.contentBorder[1]&&this.props.attributes.contentBorder[0]===this.props.attributes.contentBorder[2]&&this.props.attributes.contentBorder[0]===this.props.attributes.contentBorder[3]?this.setState({contentBorderControl:"linked"}):this.setState({contentBorderControl:"individual"}),this.props.attributes.contentBorderRadius[0]===this.props.attributes.contentBorderRadius[1]&&this.props.attributes.contentBorderRadius[0]===this.props.attributes.contentBorderRadius[2]&&this.props.attributes.contentBorderRadius[0]===this.props.attributes.contentBorderRadius[3]?this.setState({contentBorderRadiusControl:"linked"}):this.setState({contentBorderRadiusControl:"individual"}),this.props.attributes.contentPadding[0]===this.props.attributes.contentPadding[1]&&this.props.attributes.contentPadding[0]===this.props.attributes.contentPadding[2]&&this.props.attributes.contentPadding[0]===this.props.attributes.contentPadding[3]?this.setState({contentPaddingControl:"linked"}):this.setState({contentPaddingControl:"individual"}),this.props.attributes.titleStyles[0].border[0]===this.props.attributes.titleStyles[0].border[1]&&this.props.attributes.titleStyles[0].border[0]===this.props.attributes.titleStyles[0].border[2]&&this.props.attributes.titleStyles[0].border[0]===this.props.attributes.titleStyles[0].border[3]?this.setState({titleBorderColorControl:"linked"}):this.setState({titleBorderColorControl:"individual"}),this.props.attributes.titleStyles[0].borderHover[0]===this.props.attributes.titleStyles[0].borderHover[1]&&this.props.attributes.titleStyles[0].borderHover[0]===this.props.attributes.titleStyles[0].borderHover[2]&&this.props.attributes.titleStyles[0].borderHover[0]===this.props.attributes.titleStyles[0].borderHover[3]?this.setState({titleBorderHoverColorControl:"linked"}):this.setState({titleBorderHoverColorControl:"individual"}),this.props.attributes.titleStyles[0].borderActive[0]===this.props.attributes.titleStyles[0].borderActive[1]&&this.props.attributes.titleStyles[0].borderActive[0]===this.props.attributes.titleStyles[0].borderActive[2]&&this.props.attributes.titleStyles[0].borderActive[0]===this.props.attributes.titleStyles[0].borderActive[3]?this.setState({titleBorderActiveColorControl:"linked"}):this.setState({titleBorderActiveColorControl:"individual"});const e=this.props.accordionBlock;e&&e[0]&&e[0].innerBlocks[0]&&e[0].innerBlocks[0].attributes&&e[0].innerBlocks[0].attributes.titleTag&&this.setState({titleTag:e[0].innerBlocks[0].attributes.titleTag}),e&&e.innerBlocks[0]&&e.innerBlocks[0].attributes&&e.innerBlocks[0].attributes.titleTag&&this.setState({titleTag:e.innerBlocks[0].attributes.titleTag});const t=kadence_blocks_params.settings?JSON.parse(kadence_blocks_params.settings):{};void 0!==t["kadence/accordion"]&&"object"==typeof t["kadence/accordion"]&&this.setState({settings:t["kadence/accordion"]})}showSettings(e){return void 0===this.state.settings[e]||"all"===this.state.settings[e]||"contributor"===this.state.settings[e]&&("contributor"===this.state.user||"author"===this.state.user||"editor"===this.state.user||"admin"===this.state.user)||"author"===this.state.settings[e]&&("author"===this.state.user||"editor"===this.state.user||"admin"===this.state.user)||"editor"===this.state.settings[e]&&("editor"===this.state.user||"admin"===this.state.user)||"admin"===this.state.settings[e]&&"admin"===this.state.user}render(){const{attributes:{uniqueID:e,paneCount:t,blockAlignment:l,openPane:a,titleStyles:i,contentPadding:o,contentTabletPadding:n,contentMobilePadding:r,contentPaddingType:c,minHeight:s,maxWidth:d,contentBorder:p,contentBorderColor:u,contentBorderRadius:h,contentBgColor:v,titleAlignment:y,startCollapsed:f,faqSchema:O,linkPaneCollapse:j,showIcon:_,iconStyle:w,iconSide:x},className:S,setAttributes:C,clientId:T,realPaneCount:N,accordionBlock:z}=this.props,{titleBorderRadiusControl:M,titleBorderControl:I,titlePaddingControl:H,contentBorderControl:B,contentBorderRadiusControl:P,contentPaddingControl:R,titleBorderColorControl:A,titleBorderHoverColorControl:L,titleBorderActiveColorControl:F,titleTag:W}=this.state,D=[{key:"skip",name:Object(m.__)("Skip"),icon:Object(m.__)("Skip")},{key:"base",name:Object(m.__)("Base"),icon:g.accord01},{key:"highlight",name:Object(m.__)("Highlight"),icon:g.accord02},{key:"subtle",name:Object(m.__)("Subtle"),icon:g.accord03},{key:"bottom",name:Object(m.__)("Bottom Border"),icon:g.accord04}],$=void 0!==c?c:"px",U="em"===$||"rem"===$?12:200,V="em"===$||"rem"===$?.1:1,Z=this.getPreviewSize(this.props.getPreviewDevice,void 0!==o&&void 0!==o[0]?o[0]:"",void 0!==n&&void 0!==n[0]?n[0]:"",void 0!==r&&void 0!==r[0]?r[0]:""),G=this.getPreviewSize(this.props.getPreviewDevice,void 0!==o&&void 0!==o[1]?o[1]:"",void 0!==n&&void 0!==n[1]?n[1]:"",void 0!==r&&void 0!==r[1]?r[1]:""),q=this.getPreviewSize(this.props.getPreviewDevice,void 0!==o&&void 0!==o[2]?o[2]:"",void 0!==n&&void 0!==n[2]?n[2]:"",void 0!==r&&void 0!==r[2]?r[2]:""),K=this.getPreviewSize(this.props.getPreviewDevice,void 0!==o&&void 0!==o[3]?o[3]:"",void 0!==n&&void 0!==n[3]?n[3]:"",void 0!==r&&void 0!==r[3]?r[3]:""),Q=void 0!==i[0].paddingType&&""!==i[0].paddingType?i[0].paddingType:"px",J="em"===Q||"rem"===Q?12:200,Y="em"===Q||"rem"===Q?.1:1,X=this.getPreviewSize(this.props.getPreviewDevice,void 0!==i[0].padding&&void 0!==i[0].padding[0]?i[0].padding[0]:"",void 0!==i[0].paddingTablet&&void 0!==i[0].paddingTablet[0]?i[0].paddingTablet[0]:"",void 0!==i[0].paddingMobile&&void 0!==i[0].paddingMobile[0]?i[0].paddingMobile[0]:""),ee=this.getPreviewSize(this.props.getPreviewDevice,void 0!==i[0].padding&&void 0!==i[0].padding[1]?i[0].padding[1]:"",void 0!==i[0].paddingTablet&&void 0!==i[0].paddingTablet[1]?i[0].paddingTablet[1]:"",void 0!==i[0].paddingMobile&&void 0!==i[0].paddingMobile[1]?i[0].paddingMobile[1]:""),te=this.getPreviewSize(this.props.getPreviewDevice,void 0!==i[0].padding&&void 0!==i[0].padding[2]?i[0].padding[2]:"",void 0!==i[0].paddingTablet&&void 0!==i[0].paddingTablet[2]?i[0].paddingTablet[2]:"",void 0!==i[0].paddingMobile&&void 0!==i[0].paddingMobile[2]?i[0].paddingMobile[2]:""),le=this.getPreviewSize(this.props.getPreviewDevice,void 0!==i[0].padding&&void 0!==i[0].padding[3]?i[0].padding[3]:"",void 0!==i[0].paddingTablet&&void 0!==i[0].paddingTablet[3]?i[0].paddingTablet[3]:"",void 0!==i[0].paddingMobile&&void 0!==i[0].paddingMobile[3]?i[0].paddingMobile[3]:""),ae=e=>{const t=i.map((t,l)=>(0===l&&(t={...t,...e}),t));C({titleStyles:t})},ie={google:{families:[i[0].family+(i[0].variant?":"+i[0].variant:"")]}},ne=i[0].google?ie:"",re=xt()(S,`kt-accordion-wrap kt-accordion-id${e} kt-accordion-has-${t}-panes kt-accordion-block kt-pane-header-alignment-${y}`),ce=Object(b.createElement)(Nm,null,Object(b.createElement)(De,{label:Object(m.__)("Title Color","kadence-blocks"),value:i[0].color?i[0].color:"",default:"",onChange:e=>ae({color:e})}),Object(b.createElement)(De,{label:Object(m.__)("Title Background","kadence-blocks"),value:i[0].background?i[0].background:"",default:"",onChange:e=>ae({background:e})}),Object(b.createElement)(Em,{label:Object(m.__)("Title Border Color"),values:i[0].border,control:A,onChange:e=>ae({border:e}),onControl:e=>this.setState({titleBorderColorControl:e})})),se=Object(b.createElement)(Nm,null,Object(b.createElement)(De,{label:Object(m.__)("Hover Color","kadence-blocks"),value:i[0].colorHover?i[0].colorHover:"",default:"",onChange:e=>ae({colorHover:e})}),Object(b.createElement)(De,{label:Object(m.__)("Hover Background","kadence-blocks"),value:i[0].backgroundHover?i[0].backgroundHover:"",default:"",onChange:e=>ae({backgroundHover:e})}),Object(b.createElement)(Em,{label:Object(m.__)("Hover Border Color"),values:i[0].borderHover,control:L,onChange:e=>ae({borderHover:e}),onControl:e=>this.setState({titleBorderHoverColorControl:e})})),de=Object(b.createElement)(Nm,null,Object(b.createElement)(De,{label:Object(m.__)("Active Color","kadence-blocks"),value:i[0].colorActive?i[0].colorActive:"",default:"",onChange:e=>ae({colorActive:e})}),Object(b.createElement)(De,{label:Object(m.__)("Active Background","kadence-blocks"),value:i[0].backgroundActive?i[0].backgroundActive:"",default:"",onChange:e=>ae({backgroundActive:e})}),Object(b.createElement)(Em,{label:Object(m.__)("Active Border Color"),colorDefault:i[0].border&&i[0].border[0]?$c(i[0].border[0]):"#444444",values:i[0].borderActive,control:F,onChange:e=>ae({borderActive:e}),onControl:e=>this.setState({titleBorderActiveColorControl:e})})),be=[];be.basic=Object(b.createElement)(Nm,null,Object(b.createElement)("rect",{x:"77.002",y:"12.507",width:"13.982",height:"74.986",fill:"#444"}),Object(b.createElement)("path",{d:"M359.538,56.991l0,-13.982l-74.986,0l0,13.982l74.986,0Z",fill:"#444"}),Object(b.createElement)("path",{d:"M121.486,56.991l0,-13.982l-74.986,0l0,13.982l74.986,0Z",fill:"#444"}),Object(b.createElement)("path",{d:"M359.538,56.991l0,-13.982l-74.986,0l0,13.982l74.986,0Z",fill:"#444"})),be.basiccircle=Object(b.createElement)(Nm,null,Object(b.createElement)("circle",{cx:"83.723",cy:"50",r:"50",fill:"#444"}),Object(b.createElement)("circle",{cx:"322.768",cy:"50",r:"50",fill:"#444"}),Object(b.createElement)("rect",{x:"77.002",y:"12.507",width:"13.982",height:"74.986",fill:"#fff"}),Object(b.createElement)("path",{d:"M359.538,56.991l0,-13.982l-74.986,0l0,13.982l74.986,0Z",fill:"#fff"}),Object(b.createElement)("path",{d:"M121.486,56.991l0,-13.982l-74.986,0l0,13.982l74.986,0Z",fill:"#fff"}),Object(b.createElement)("path",{d:"M359.538,56.991l0,-13.982l-74.986,0l0,13.982l74.986,0Z",fill:"#fff"})),be.xclose=Object(b.createElement)(Nm,null,Object(b.createElement)("rect",{x:"77.002",y:"12.507",width:"13.982",height:"74.986",fill:"#444"}),Object(b.createElement)("path",{d:"M353.5,28.432l-9.887,-9.887l-53.023,53.023l9.887,9.887l53.023,-53.023Z",fill:"#444"}),Object(b.createElement)("path",{d:"M121.486,56.991l0,-13.982l-74.986,0l0,13.982l74.986,0Z",fill:"#444"}),Object(b.createElement)("path",{d:"M343.613,81.455l9.887,-9.887l-53.023,-53.023l-9.887,9.887l53.023,53.023Z",fill:"#444"})),be.xclosecircle=Object(b.createElement)(Nm,null,Object(b.createElement)("circle",{cx:"83.723",cy:"50",r:"50",fill:"#444"}),Object(b.createElement)("circle",{cx:"322.768",cy:"50",r:"50",fill:"#444"}),Object(b.createElement)("rect",{x:"77.002",y:"12.507",width:"13.982",height:"74.986",fill:"#fff"}),Object(b.createElement)("path",{d:"M343.613,81.455l9.887,-9.887l-53.023,-53.023l-9.887,9.887l53.023,53.023Z",fill:"#fff"}),Object(b.createElement)("path",{d:"M121.486,56.991l0,-13.982l-74.986,0l0,13.982l74.986,0Z",fill:"#fff"}),Object(b.createElement)("path",{d:"M290.59,71.568l9.887,9.887l53.023,-53.023l-9.887,-9.887l-53.023,53.023Z",fill:"#fff"})),be.arrow=Object(b.createElement)(Nm,null,Object(b.createElement)("g",{fill:"#444"},Object(b.createElement)("path",{d:"M122.2,37.371l-9.887,-9.886l-38.887,38.887l9.887,9.887l38.887,-38.888Z"}),Object(b.createElement)("path",{d:"M83.18,76.515l9.887,-9.886l-38.92,-38.921l-9.887,9.887l38.92,38.92Z"})),Object(b.createElement)("g",{fill:"#444"},Object(b.createElement)("path",{d:"M283.65,63.629l9.887,9.886l38.887,-38.887l-9.887,-9.887l-38.887,38.888Z"}),Object(b.createElement)("path",{d:"M322.67,24.485l-9.887,9.886l38.92,38.921l9.887,-9.887l-38.92,-38.92Z"}))),be.arrowcircle=Object(b.createElement)(Nm,null,Object(b.createElement)("circle",{cx:"83.723",cy:"50",r:"50",fill:"#444"}),Object(b.createElement)("circle",{cx:"322.768",cy:"50",r:"50",fill:"#444"}),Object(b.createElement)("g",{fill:"#fff"},Object(b.createElement)("path",{d:"M122.2,37.371l-9.887,-9.886l-38.887,38.887l9.887,9.887l38.887,-38.888Z"}),Object(b.createElement)("path",{d:"M83.18,76.515l9.887,-9.886l-38.92,-38.921l-9.887,9.887l38.92,38.92Z"})),Object(b.createElement)("g",{fill:"#fff"},Object(b.createElement)("path",{d:"M283.65,63.629l9.887,9.886l38.887,-38.887l-9.887,-9.887l-38.887,38.888Z"}),Object(b.createElement)("path",{d:"M322.67,24.485l-9.887,9.886l38.92,38.921l9.887,-9.887l-38.92,-38.92Z"})));const me=Object(b.createElement)("style",null,`\n\t\t\t\t.kt-accordion-${e} .kt-blocks-accordion-header {\n\t\t\t\t\tcolor: ${$c(i[0].color)};\n\t\t\t\t\tborder-color: ${$c(i[0].border[0])} ${$c(i[0].border[1])} ${$c(i[0].border[2])} ${$c(i[0].border[3])};\n\t\t\t\t\tbackground-color: ${$c(i[0].background)};\n\t\t\t\t\t${""!==X?`padding-top:${X+Q};`:""}\n\t\t\t\t\t${""!==ee?`padding-right:${ee+Q};`:""}\n\t\t\t\t\t${""!==te?`padding-bottom:${te+Q};`:""}\n\t\t\t\t\t${""!==le?`padding-left:${le+Q};`:""}\n\t\t\t\t\tmargin-top:${i[0].marginTop>32?i[0].marginTop:0}px;\n\t\t\t\t\tborder-width:${i[0].borderWidth[0]}px ${i[0].borderWidth[1]}px ${i[0].borderWidth[2]}px ${i[0].borderWidth[3]}px;\n\t\t\t\t\tborder-radius:${i[0].borderRadius[0]}px ${i[0].borderRadius[1]}px ${i[0].borderRadius[2]}px ${i[0].borderRadius[3]}px;\n\t\t\t\t\tfont-size:${i[0].size[0]}${i[0].sizeType};\n\t\t\t\t\tline-height:${i[0].lineHeight[0]}${i[0].lineType};\n\t\t\t\t\tletter-spacing:${i[0].letterSpacing}px;\n\t\t\t\t\ttext-transform:${i[0].textTransform};\n\t\t\t\t\tfont-family:${i[0].family};\n\t\t\t\t\tfont-style:${i[0].style};\n\t\t\t\t\tfont-weight:${i[0].weight};\n\t\t\t\t}\n\t\t\t\t.kt-accordion-${e} .kt-blocks-accordion-header .kt-blocks-accordion-title {\n\t\t\t\t\tline-height:${i[0].lineHeight[0]}${i[0].lineType};\n\t\t\t\t}\n\t\t\t\t.kt-accordion-${e} .kt-blocks-accordion-header .kt-btn-svg-icon svg {\n\t\t\t\t\twidth:${i[0].size[0]}${i[0].sizeType};\n\t\t\t\t\theight:${i[0].size[0]}${i[0].sizeType};\n\t\t\t\t}\n\t\t\t\t.kt-accordion-${e} .kt-accordion-panel-inner {\n\t\t\t\t\t${""!==Z?`padding-top:${Z+$};`:""}\n\t\t\t\t\t${""!==G?`padding-right:${G+$};`:""}\n\t\t\t\t\t${""!==q?`padding-bottom:${q+$};`:""}\n\t\t\t\t\t${""!==K?`padding-left:${K+$};`:""}\n\t\t\t\t\tbackground-color: ${$c(v)};\n\t\t\t\t\tborder-color: ${$c(u)};\n\t\t\t\t\tborder-width:${p[0]}px ${p[1]}px ${p[2]}px ${p[3]}px;\n\t\t\t\t\tborder-radius:${h[0]}px ${h[1]}px ${h[2]}px ${h[3]}px;\n\t\t\t\t\tmin-height:${s?s+"px":"0"};\n\t\t\t\t}\n\t\t\t\t.kt-accordion-${e}:not( .kt-accodion-icon-style-basiccircle ):not( .kt-accodion-icon-style-xclosecircle ):not( .kt-accodion-icon-style-arrowcircle ) .kt-blocks-accordion-header .kt-blocks-accordion-icon-trigger:before, .kt-accordion-${e}:not( .kt-accodion-icon-style-basiccircle ):not( .kt-accodion-icon-style-xclosecircle ):not( .kt-accodion-icon-style-arrowcircle ) .kt-blocks-accordion-header .kt-blocks-accordion-icon-trigger:after {\n\t\t\t\t\tbackground-color: ${$c(i[0].color)};\n\t\t\t\t}\n\t\t\t\t.kt-accordion-${e}:not( .kt-accodion-icon-style-basic ):not( .kt-accodion-icon-style-xclose ):not( .kt-accodion-icon-style-arrow ) .kt-blocks-accordion-header .kt-blocks-accordion-icon-trigger:before, .kt-accordion-${e}:not( .kt-accodion-icon-style-basic ):not( .kt-accodion-icon-style-xclose ):not( .kt-accodion-icon-style-arrow ) .kt-blocks-accordion-header .kt-blocks-accordion-icon-trigger:after {\n\t\t\t\t\tbackground-color: ${$c(i[0].background)};\n\t\t\t\t}\n\t\t\t\t.kt-accordion-${e}:not( .kt-accodion-icon-style-basic ):not( .kt-accodion-icon-style-xclose ):not( .kt-accodion-icon-style-arrow ) .kt-blocks-accordion-header .kt-blocks-accordion-icon-trigger {\n\t\t\t\t\tbackground-color: ${$c(i[0].color)};\n\t\t\t\t}\n\t\t\t\t.kt-accordion-${e} .kt-blocks-accordion-header:hover {\n\t\t\t\t\tcolor: ${$c(i[0].colorHover)};\n\t\t\t\t\tborder-color: ${$c(i[0].borderHover[0])} ${$c(i[0].borderHover[1])} ${$c(i[0].borderHover[2])} ${$c(i[0].borderHover[3])};\n\t\t\t\t\tbackground-color: ${$c(i[0].backgroundHover)};\n\t\t\t\t}\n\t\t\t\t.kt-accordion-${e}:not( .kt-accodion-icon-style-basiccircle ):not( .kt-accodion-icon-style-xclosecircle ):not( .kt-accodion-icon-style-arrowcircle ) .kt-blocks-accordion-header:hover .kt-blocks-accordion-icon-trigger:before, .kt-accordion-${e}:not( .kt-accodion-icon-style-basiccircle ):not( .kt-accodion-icon-style-xclosecircle ):not( .kt-accodion-icon-style-arrowcircle ) .kt-blocks-accordion-header:hover .kt-blocks-accordion-icon-trigger:after {\n\t\t\t\t\tbackground-color: ${$c(i[0].colorHover)};\n\t\t\t\t}\n\t\t\t\t.kt-accordion-${e}:not( .kt-accodion-icon-style-basic ):not( .kt-accodion-icon-style-xclose ):not( .kt-accodion-icon-style-arrow ) .kt-blocks-accordion-header:hover .kt-blocks-accordion-icon-trigger:before, .kt-accordion-${e}:not( .kt-accodion-icon-style-basic ):not( .kt-accodion-icon-style-xclose ):not( .kt-accodion-icon-style-arrow ) .kt-blocks-accordion-header:hover .kt-blocks-accordion-icon-trigger:after {\n\t\t\t\t\tbackground-color: ${$c(i[0].backgroundHover)};\n\t\t\t\t}\n\t\t\t\t.kt-accordion-${e}:not( .kt-accodion-icon-style-basic ):not( .kt-accodion-icon-style-xclose ):not( .kt-accodion-icon-style-arrow ) .kt-blocks-accordion-header:hover .kt-blocks-accordion-icon-trigger {\n\t\t\t\t\tbackground-color: ${$c(i[0].colorHover)};\n\t\t\t\t}\n\t\t\t\t.kt-accordion-${e}.kt-start-active-pane-${a+1} .kt-accordion-pane-${a+1} .kt-blocks-accordion-header {\n\t\t\t\t\tcolor: ${$c(i[0].colorActive)};\n\t\t\t\t\tborder-color: ${$c(i[0].borderActive[0])} ${$c(i[0].borderActive[1])} ${$c(i[0].borderActive[2])} ${$c(i[0].borderActive[3])};\n\t\t\t\t\tbackground-color: ${$c(i[0].backgroundActive)};\n\t\t\t\t}\n\t\t\t\t.kt-accordion-${e}.kt-start-active-pane-${a+1}:not( .kt-accodion-icon-style-basiccircle ):not( .kt-accodion-icon-style-xclosecircle ):not( .kt-accodion-icon-style-arrowcircle ) .kt-accordion-pane-${a+1} .kt-blocks-accordion-icon-trigger:before, .kt-accordion-${e}.kt-start-active-pane-${a+1}:not( .kt-accodion-icon-style-basiccircle ):not( .kt-accodion-icon-style-xclosecircle ):not( .kt-accodion-icon-style-arrowcircle ) .kt-accordion-pane-${a+1} .kt-blocks-accordion-icon-trigger:after {\n\t\t\t\t\tbackground-color: ${$c(i[0].colorActive)};\n\t\t\t\t}\n\t\t\t\t.kt-accordion-${e}.kt-start-active-pane-${a+1}:not( .kt-accodion-icon-style-basic ):not( .kt-accodion-icon-style-xclose ):not( .kt-accodion-icon-style-arrow ) .kt-accordion-pane-${a+1} .kt-blocks-accordion-icon-trigger:before, .kt-accordion-${e}.kt-start-active-pane-${a+1}:not( .kt-accodion-icon-style-basic ):not( .kt-accodion-icon-style-xclose ):not( .kt-accodion-icon-style-arrow ) .kt-accordion-pane-${a+1} .kt-blocks-accordion-icon-trigger:after {\n\t\t\t\t\tbackground-color: ${$c(i[0].backgroundActive)};\n\t\t\t\t}\n\t\t\t\t.kt-accordion-${e}.kt-start-active-pane-${a+1}:not( .kt-accodion-icon-style-basic ):not( .kt-accodion-icon-style-xclose ):not( .kt-accodion-icon-style-arrow ) .kt-accordion-pane-${a+1} .kt-blocks-accordion-icon-trigger {\n\t\t\t\t\tbackground-color: ${$c(i[0].colorActive)};\n\t\t\t\t}\n\t\t\t\t`);return Object(b.createElement)(Nm,null,me,Object(b.createElement)(Ce.BlockControls,null,Object(b.createElement)(Ce.BlockAlignmentToolbar,{value:l,controls:["center","wide","full"],onChange:e=>C({blockAlignment:e})}),Object(b.createElement)(Ce.AlignmentToolbar,{value:y,onChange:e=>{C({titleAlignment:e})}})),this.showSettings("allSettings")&&Object(b.createElement)(Ce.InspectorControls,null,Object(b.createElement)(Pt,{panelName:"kb-accordion-all"},this.showSettings("paneControl")&&Object(b.createElement)(Nm,null,Object(b.createElement)(Pm,{label:Object(m.__)("Panes close when another opens","kadence-blocks"),checked:j,onChange:e=>C({linkPaneCollapse:e})}),Object(b.createElement)(Pm,{label:Object(m.__)("Start with all panes collapsed","kadence-blocks"),checked:f,onChange:e=>C({startCollapsed:e})}),!f&&Object(b.createElement)(Nm,null,Object(b.createElement)("h2",null,Object(m.__)("Initial Open Accordion","kadence-blocks")),Object(b.createElement)(Im,{"aria-label":Object(m.__)("Initial Open Accordion","kadence-blocks")},z&&z[0]&&z[0].innerBlocks&&Object(b.createElement)(Nm,null,k()(z[0].innerBlocks,e=>{let{attributes:t}=e;return Object(b.createElement)(Mm,{key:t.id-1,className:"kt-init-open-pane",isSmall:!0,isPrimary:a===t.id-1,"aria-pressed":a===t.id-1,onClick:()=>C({openPane:t.id-1})},console.log("is_array"),Object(m.__)("Accordion Pane","kadence-blocks")+" "+t.id)})),z&&z.innerBlocks&&Object(b.createElement)(Nm,null,k()(z.innerBlocks,e=>{let{attributes:t}=e;return Object(b.createElement)(Mm,{key:t.id-1,className:"kt-init-open-pane",isSmall:!0,isPrimary:a===t.id-1,"aria-pressed":a===t.id-1,onClick:()=>C({openPane:t.id-1})},Object(m.__)("Accordion Pane","kadence-blocks")+" "+t.id)})))))),this.showSettings("titleColors")&&Object(b.createElement)(Pt,{title:Object(m.__)("Pane Title Color Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-accordion-pane-title-color-settings"},Object(b.createElement)(zm,{className:"kt-inspect-tabs kt-no-ho-ac-tabs kt-hover-tabs",activeClass:"active-tab",tabs:[{name:"normal",title:Object(m.__)("Normal"),className:"kt-normal-tab"},{name:"hover",title:Object(m.__)("Hover"),className:"kt-hover-tab"},{name:"active",title:Object(m.__)("Active"),className:"kt-active-tab"}]},e=>{let t;return e.name&&(t="hover"===e.name?se:"active"===e.name?de:ce),Object(b.createElement)("div",{className:e.className,key:e.className},t)})),this.showSettings("titleIcon")&&Object(b.createElement)(Pt,{title:Object(m.__)("Pane Title Trigger Icon","kadence-blocks"),initialOpen:!1,panelName:"kb-acordion-panel-title-trigger-icon"},Object(b.createElement)(Pm,{label:Object(m.__)("Show Icon","kadence-blocks"),checked:_,onChange:e=>C({showIcon:e})}),Object(b.createElement)("h2",null,Object(m.__)("Icon Style","kadence-blocks")),Object(b.createElement)(Ge.a,{icons:["basic","basiccircle","xclose","xclosecircle","arrow","arrowcircle"],value:w,onChange:e=>C({iconStyle:e}),appendTo:"body",renderFunc:e=>Object(b.createElement)("svg",{className:"accord-icon",viewBox:"0 0 400 100",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414",style:{fill:"#000000"}},be[e]),theme:"accordion",showSearch:!1,noSelectedPlaceholder:Object(m.__)("Select Icon Set","kadence-blocks"),isMulti:!1}),Object(b.createElement)(Rm,{label:Object(m.__)("Icon Side","kadence-blocks"),value:x,options:[{value:"right",label:Object(m.__)("Right")},{value:"left",label:Object(m.__)("Left")}],onChange:e=>C({iconSide:e})})),this.showSettings("titleSpacing")&&Object(b.createElement)(Pt,{title:Object(m.__)("Pane Title Spacing","kadence-blocks"),initialOpen:!1,panelName:"kb-accordion-pane-title-spacing"},Object(b.createElement)(Ot,{label:Object(m.__)("Pane Title Padding","kadence-blocks"),control:H,tabletControl:H,mobileControl:H,value:i[0].padding,tabletValue:void 0!==i[0].paddingTablet?i[0].paddingTablet:["","","",""],mobileValue:void 0!==i[0].paddingMobile?i[0].paddingMobile:["","","",""],onChange:e=>{ae({padding:e})},onChangeTablet:e=>{ae({paddingTablet:e})},onChangeMobile:e=>{ae({paddingMobile:e})},onChangeControl:e=>this.setState({titlePaddingControl:e}),onChangeTabletControl:e=>this.setState({titlePaddingControl:e}),onChangeMobileControl:e=>this.setState({titlePaddingControl:e}),allowEmpty:!0,min:0,max:J,step:Y,unit:void 0!==i[0].paddingType?i[0].paddingType:"px",units:["px","em","rem","%"],onUnit:e=>{ae({paddingType:e})}}),Object(b.createElement)(Bm,{label:Object(m.__)("Pane Spacer Between","kadence-blocks"),value:i[0].marginTop,onChange:e=>ae({marginTop:e}),min:1,max:120})),this.showSettings("titleBorder")&&Object(b.createElement)(Pt,{title:Object(m.__)("Pane Title Border","kadence-blocks"),initialOpen:!1,panelName:"kb-accordion-pane-title-border"},Object(b.createElement)(Fc,{label:Object(m.__)("Pane Title Border Width (px)","kadence-blocks"),measurement:i[0].borderWidth,control:I,onChange:e=>ae({borderWidth:e}),onControl:e=>this.setState({titleBorderControl:e}),min:0,max:100,step:1}),Object(b.createElement)(Fc,{label:Object(m.__)("Pane Title Border Radius (px)","kadence-blocks"),measurement:i[0].borderRadius,control:M,onChange:e=>ae({borderRadius:e}),onControl:e=>this.setState({titleBorderRadiusControl:e}),min:0,max:100,step:1,controlTypes:[{key:"linked",name:Object(m.__)("Linked"),icon:g.radiuslinked},{key:"individual",name:Object(m.__)("Individual"),icon:g.radiusindividual}],firstIcon:g.topleft,secondIcon:g.topright,thirdIcon:g.bottomright,fourthIcon:g.bottomleft})),this.showSettings("titleFont")&&Object(b.createElement)(Pt,{title:Object(m.__)("Pane Title Font Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-accordion-pane-title-font-settings"},Object(b.createElement)(oe,{fontSize:i[0].size,onFontSize:e=>ae({size:e}),fontSizeType:i[0].sizeType,onFontSizeType:e=>ae({sizeType:e}),lineHeight:i[0].lineHeight,onLineHeight:e=>ae({lineHeight:e}),lineHeightType:i[0].lineType,onLineHeightType:e=>ae({lineType:e}),letterSpacing:i[0].letterSpacing,onLetterSpacing:e=>ae({letterSpacing:e}),textTransform:i[0].textTransform,onTextTransform:e=>ae({textTransform:e}),fontFamily:i[0].family,onFontFamily:e=>ae({family:e}),onFontChange:e=>{ae({family:e.value,google:e.google})},onFontArrayChange:e=>ae(e),googleFont:i[0].google,onGoogleFont:e=>ae({google:e}),loadGoogleFont:i[0].loadGoogle,onLoadGoogleFont:e=>ae({loadGoogle:e}),fontVariant:i[0].variant,onFontVariant:e=>ae({variant:e}),fontWeight:i[0].weight,onFontWeight:e=>ae({weight:e}),fontStyle:i[0].style,onFontStyle:e=>ae({style:e}),fontSubset:i[0].subset,onFontSubset:e=>ae({subset:e})})),this.showSettings("paneContent")&&Object(b.createElement)(Pt,{title:Object(m.__)("Inner Content Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-accordion-inner-content-settings"},Object(b.createElement)(Ot,{label:Object(m.__)("Inner Content Padding","kadence-blocks"),control:R,tabletControl:R,mobileControl:R,value:o,tabletValue:n,mobileValue:r,onChange:e=>{C({contentPadding:e})},onChangeTablet:e=>{C({contentTabletPadding:e})},onChangeMobile:e=>{C({contentMobilePadding:e})},onChangeControl:e=>this.setState({contentPaddingControl:e}),onChangeTabletControl:e=>this.setState({contentPaddingControl:e}),onChangeMobileControl:e=>this.setState({contentPaddingControl:e}),allowEmpty:!0,min:0,max:U,step:V,unit:c,units:["px","em","rem","%"],onUnit:e=>C({contentPaddingType:e})}),Object(b.createElement)(De,{label:Object(m.__)("Inner Content Background","kadence-blocks"),value:v||"",default:"",onChange:e=>C({contentBgColor:e})}),Object(b.createElement)(De,{label:Object(m.__)("Inner Content Border Color","kadence-blocks"),value:u||"",default:"",onChange:e=>C({contentBorderColor:e})}),Object(b.createElement)(Fc,{label:Object(m.__)("Inner Content Border Width (px)","kadence-blocks"),measurement:p,control:B,onChange:e=>C({contentBorder:e}),onControl:e=>this.setState({contentBorderControl:e}),min:0,max:40,step:1}),Object(b.createElement)(Fc,{label:Object(m.__)("Inner Content Border Radius (px)","kadence-blocks"),measurement:h,control:P,onChange:e=>C({contentBorderRadius:e}),onControl:e=>this.setState({contentBorderRadiusControl:e}),min:0,max:100,step:1,controlTypes:[{key:"linked",name:Object(m.__)("Linked","kadence-blocks"),icon:g.radiuslinked},{key:"individual",name:Object(m.__)("Individual","kadence-blocks"),icon:g.radiusindividual}],firstIcon:g.topleft,secondIcon:g.topright,thirdIcon:g.bottomright,fourthIcon:g.bottomleft})),this.showSettings("titleTag")&&Object(b.createElement)(Pt,{title:Object(m.__)("Title Tag Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-accordion-title-tag-settings"},Object(b.createElement)(Rm,{label:Object(m.__)("Title Tag","kadence-blocks"),value:this.state.titleTag,options:[{value:"div",label:Object(m.__)("div")},{value:"h2",label:Object(m.__)("h2")},{value:"h3",label:Object(m.__)("h3")},{value:"h4",label:Object(m.__)("h4")},{value:"h5",label:Object(m.__)("h5")},{value:"h6",label:Object(m.__)("h6")}],onChange:e=>{this.props.updatePaneTag(e),this.setState({titleTag:e})}})),this.showSettings("structure")&&Object(b.createElement)(Pt,{title:Object(m.__)("Structure Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-accordion-structure-settings"},Object(b.createElement)(E,{label:Object(m.__)("Content Minimum Height","kadence-blocks"),value:s,onChange:e=>{C({minHeight:e})},min:0,max:1e3}),Object(b.createElement)(E,{label:Object(m.__)("Max Width","kadence-blocks"),value:d,onChange:e=>{C({maxWidth:e})},min:0,max:2e3}),Object(b.createElement)(Pm,{label:Object(m.__)("Enable FAQ Schema","kadence-blocks"),checked:O,onChange:e=>{this.props.updateFaqSchema(e),C({faqSchema:e})}}))),Object(b.createElement)("div",{className:re},this.state.showPreset&&Object(b.createElement)("div",{className:"kt-select-starter-style-tabs"},Object(b.createElement)("div",{className:"kt-select-starter-style-tabs-title"},Object(m.__)("Select Initial Style")),Object(b.createElement)(Im,{className:"kt-init-tabs-btn-group","aria-label":Object(m.__)("Initial Style","kadence-blocks")},k()(D,e=>{let{name:t,key:l,icon:a}=e;return Object(b.createElement)(Mm,{key:l,className:"kt-inital-tabs-style-btn",isSmall:!0,onClick:()=>{(e=>{"skip"===e||("base"===e?C({contentBorder:[0,0,0,0],titleAlignment:"left",showIcon:!0,iconStyle:"basic",iconSide:"right",titleStyles:[{size:i[0].size,sizeType:i[0].sizeType,lineHeight:i[0].lineHeight,lineType:i[0].lineType,letterSpacing:i[0].letterSpacing,family:i[0].family,google:i[0].google,style:i[0].style,weight:i[0].weight,variant:i[0].variant,subset:i[0].subset,loadGoogle:i[0].loadGoogle,padding:[10,14,10,14],marginTop:0,color:"#555555",background:"#f2f2f2",border:["#555555","#555555","#555555","#555555"],borderRadius:[0,0,0,0],borderWidth:[0,0,0,0],colorHover:"#444444",backgroundHover:"#eeeeee",borderHover:["#eeeeee","#eeeeee","#eeeeee","#eeeeee"],colorActive:"#ffffff",backgroundActive:"#444444",borderActive:["#444444","#444444","#444444","#444444"],textTransform:i[0].textTransform}]}):"highlight"===e?C({contentBorder:[0,0,0,0],contentBgColor:"#ffffff",titleAlignment:"left",showIcon:!0,iconStyle:"basic",iconSide:"right",titleStyles:[{size:i[0].size,sizeType:i[0].sizeType,lineHeight:i[0].lineHeight,lineType:i[0].lineType,letterSpacing:i[0].letterSpacing,family:i[0].family,google:i[0].google,style:i[0].style,weight:i[0].weight,variant:i[0].variant,subset:i[0].subset,loadGoogle:i[0].loadGoogle,padding:[14,16,14,16],marginTop:10,color:"#555555",background:"#f2f2f2",border:["#555555","#555555","#555555","#555555"],borderRadius:[6,6,6,6],borderWidth:[0,0,0,0],colorHover:"#444444",backgroundHover:"#eeeeee",borderHover:["#eeeeee","#eeeeee","#eeeeee","#eeeeee"],colorActive:"#ffffff",backgroundActive:"#f3690e",borderActive:["#f3690e","#f3690e","#f3690e","#f3690e"],textTransform:i[0].textTransform}]}):"subtle"===e?C({contentBorder:[0,1,1,1],contentBgColor:"#ffffff",titleAlignment:"left",showIcon:!0,iconStyle:"arrow",iconSide:"right",titleStyles:[{size:i[0].size,sizeType:i[0].sizeType,lineHeight:i[0].lineHeight,lineType:i[0].lineType,letterSpacing:i[0].letterSpacing,family:i[0].family,google:i[0].google,style:i[0].style,weight:i[0].weight,variant:i[0].variant,subset:i[0].subset,loadGoogle:i[0].loadGoogle,padding:[14,16,14,16],marginTop:10,color:"#444444",background:"#ffffff",border:["#eeeeee","#eeeeee","#eeeeee","#eeeeee"],borderRadius:[0,0,0,0],borderWidth:[1,1,1,2],colorHover:"#444444",backgroundHover:"#ffffff",borderHover:["#d4d4d4","#d4d4d4","#d4d4d4","#d4d4d4"],colorActive:"#444444",backgroundActive:"#ffffff",borderActive:["#eeeeee","#eeeeee","#eeeeee","#0e9cd1"],textTransform:i[0].textTransform}]}):"bottom"===e&&C({contentBorder:[0,0,0,0],contentBgColor:"#ffffff",titleAlignment:"left",showIcon:!1,iconStyle:"arrow",iconSide:"right",titleStyles:[{size:i[0].size,sizeType:i[0].sizeType,lineHeight:i[0].lineHeight,lineType:i[0].lineType,letterSpacing:i[0].letterSpacing,family:i[0].family,google:i[0].google,style:i[0].style,weight:i[0].weight,variant:i[0].variant,subset:i[0].subset,loadGoogle:i[0].loadGoogle,padding:[14,10,6,16],marginTop:8,color:"#444444",background:"#ffffff",border:["#f2f2f2","#f2f2f2","#f2f2f2","#f2f2f2"],borderRadius:[0,0,0,0],borderWidth:[0,0,4,0],colorHover:"#444444",backgroundHover:"#ffffff",borderHover:["#eeeeee","#eeeeee","#eeeeee","#eeeeee"],colorActive:"#333333",backgroundActive:"#ffffff",borderActive:["#0e9cd1","#0e9cd1","#0e9cd1","#0e9cd1"],textTransform:i[0].textTransform}]}))})(l),this.setState({showPreset:!1})}},a)}))),!this.state.showPreset&&Object(b.createElement)(Nm,null,Object(b.createElement)("div",{className:"kt-accordion-selecter"},Object(m.__)("Accordion","kadence-blocks")),Object(b.createElement)("div",{className:"kt-accordion-wrap",style:{maxWidth:d+"px"}},i[0].google&&Object(b.createElement)(po,{config:ne}),Object(b.createElement)("div",{className:`kt-accordion-inner-wrap kt-accordion-${e} kt-start-active-pane-${a+1} kt-accodion-icon-style-${w&&_?w:"none"} kt-accodion-icon-side-${x||"right"}`},Object(b.createElement)(Ce.InnerBlocks,{template:Fm(0===N?t:N),templateLock:!1,allowedBlocks:Lm}))),Object(b.createElement)("div",{className:"kt-accordion-add-selecter"},Object(b.createElement)(Mm,{className:"kt-accordion-add",isPrimary:!0,onClick:()=>{const e=Cm("kadence/pane",{id:t+1,titleTag:W});C({paneCount:t+1}),this.props.insertPane(e)}},Object(b.createElement)(Hm,{icon:"plus"}),Object(m.__)("Add Accordion Item","kadence-blocks")),N>1&&Object(b.createElement)(Am,{className:"kt-accordion-remove",label:Object(m.__)("Remove Accordion Item","kadence-blocks"),icon:"minus",onClick:()=>{const e=z[0]?z[0].innerBlocks[N-1].clientId:z.innerBlocks[N-1].clientId;this.props.removePane(e)}})))))}});const{Component:Dm}=wp.element;const{registerBlockType:$m}=wp.blocks;$m("kadence/accordion",{title:Object(m.__)("Accordion","kadence-blocks"),description:Object(m.__)("Create beautiful accordions! Each pane can contain any other block, customize title styles, content background, and borders.","kadence-blocks"),icon:{src:g.accordionBlock},category:"kadence-blocks",keywords:[Object(m.__)("accordion","kadence-blocks"),Object(m.__)("pane","kadence-blocks"),Object(m.__)("KB","kadence-blocks")],supports:{anchor:!0},attributes:{uniqueID:{type:"string",default:""},paneCount:{type:"number",default:2},showPresets:{type:"bool",default:!0},openPane:{type:"number",default:0},startCollapsed:{type:"bool",default:!1},linkPaneCollapse:{type:"bool",default:!0},minHeight:{type:"number",default:""},maxWidth:{type:"number",default:""},contentBgColor:{type:"string",default:""},contentBorderColor:{type:"string",default:"#eeeeee"},contentBorder:{type:"array",default:[0,1,1,1]},contentBorderRadius:{type:"array",default:[0,0,0,0]},contentPadding:{type:"array",default:[20,20,20,20]},contentTabletPadding:{type:"array",default:["","","",""]},contentMobilePadding:{type:"array",default:["","","",""]},contentPaddingType:{type:"string",default:"px"},titleAlignment:{type:"string",default:"left"},blockAlignment:{type:"string",default:"none"},titleStyles:{type:"array",default:[{size:[18,"",""],sizeType:"px",lineHeight:[24,"",""],lineType:"px",letterSpacing:"",family:"",google:"",style:"",weight:"",variant:"",subset:"",loadGoogle:!0,padding:[10,14,10,14],marginTop:8,color:"#555555",background:"#f2f2f2",border:["#555555","#555555","#555555","#555555"],borderRadius:[0,0,0,0],borderWidth:[0,0,0,0],colorHover:"#444444",backgroundHover:"#eeeeee",borderHover:["#eeeeee","#eeeeee","#eeeeee","#eeeeee"],colorActive:"#ffffff",backgroundActive:"#444444",borderActive:["#444444","#444444","#444444","#444444"],textTransform:"",paddingTablet:["","","",""],paddingMobile:["","","",""],paddingType:"px"}]},showIcon:{type:"bool",default:!0},iconStyle:{type:"string",default:"basic"},iconSide:{type:"string",default:"right"},faqSchema:{type:"bool",default:!1}},getEditWrapperProps(e){let{blockAlignment:t}=e;if("full"===t||"wide"===t||"center"===t)return{"data-align":t}},edit:Wm,save:class extends Dm{stripStringRender(e){return e.toLowerCase().replace(/[^0-9a-z-]/g,"")}render(){const{attributes:{uniqueID:e,paneCount:t,blockAlignment:l,maxWidth:a,titleAlignment:i,startCollapsed:o,linkPaneCollapse:n,showIcon:r,iconStyle:c,iconSide:s,openPane:d}}=this.props,m=xt()("align"+(l||"none")),p=xt()(`kt-accordion-wrap kt-accordion-wrap kt-accordion-id${e} kt-accordion-has-${t}-panes kt-active-pane-${d} kt-accordion-block kt-pane-header-alignment-${i} kt-accodion-icon-style-${c&&r?c:"none"} kt-accodion-icon-side-${s||"right"}`);return Object(b.createElement)("div",{className:m},Object(b.createElement)("div",{className:p,style:{maxWidth:a?a+"px":"none"}},Object(b.createElement)("div",{className:"kt-accordion-inner-wrap","data-allow-multiple-open":n?"false":"true","data-start-open":o?"none":d},Object(b.createElement)(Ce.InnerBlocks.Content,null))))}}});const{Component:Um}=wp.element,{ToggleControl:Vm,SelectControl:Zm,TextControl:Gm}=wp.components;const{RichText:qm,InnerBlocks:Km}=wp.blockEditor,{registerBlockType:Qm}=wp.blocks;Qm("kadence/pane",{title:Object(m.__)("Pane","kadence-blocks"),icon:g.accordionBlock,category:"kadence-blocks",parent:["kadence/accordion"],attributes:{id:{type:"number",default:1},title:{type:"array",source:"children",selector:".kt-blocks-accordion-title",default:""},titleTag:{type:"string",default:"div"},hideLabel:{type:"bool",default:!1},ariaLabel:{type:"string",default:""},icon:{type:"string",default:""},iconSide:{type:"string",default:"right"},uniqueID:{type:"string",default:""},faqSchema:{type:"bool",default:!1}},supports:{inserter:!1,reusable:!1,html:!1,anchor:!0,lock:!1},getEditWrapperProps:e=>({"data-pane":e.id}),edit:function(e){let{attributes:t,setAttributes:l,isSelected:i,clientId:o,className:n}=e;const{id:r,uniqueID:c,title:s,icon:d,iconSide:p,hideLabel:g,titleTag:u,ariaLabel:h}=t,v=u||"div",{addUniqueID:k,addUniquePane:y}=Object(a.useDispatch)("kadenceblocks/data"),{isUniqueID:f,isUniqueBlock:O,isUniquePane:j,isUniquePaneBlock:_,previewDevice:w}=Object(a.useSelect)(e=>({isUniqueID:t=>e("kadenceblocks/data").isUniqueID(t),isUniqueBlock:(t,l)=>e("kadenceblocks/data").isUniqueBlock(t,l),isUniquePane:(t,l)=>e("kadenceblocks/data").isUniquePane(t,l),isUniquePaneBlock:(t,l,a)=>e("kadenceblocks/data").isUniquePaneBlock(t,l,a)}),[o]),{accordionBlock:x,rootID:E}=Object(a.useSelect)(e=>{const{getBlockRootClientId:t,getBlocksByClientId:l}=e(Ce.store),a=t(o),i=l(a);return{accordionBlock:void 0!==i?i:"",rootID:void 0!==a?a:""}},[o]),{updateBlockAttributes:S}=Object(a.useDispatch)(Ce.store),C=e=>{S(E,{paneCount:e})};return Object(b.useEffect)(()=>{let e="_"+o.substr(2,9);if(c?f(c)?k(c,o):O(c,o)||(t.uniqueID=e,l({uniqueID:e}),k(e,o)):(l({uniqueID:e}),k(e,o)),r){if(j(r,E))y(r,o,E);else if(!_(r,o,E)){const e=x[0].attributes.paneCount+1;l({id:e}),y(e,o,E),C(e)}}else{const e=x[0].attributes.paneCount+1;l({id:e}),j(e,E)||y(e,o,E),C(e)}},[]),Object(b.createElement)("div",{className:`kt-accordion-pane kt-accordion-pane-${r} kt-pane${c}`},Object(b.createElement)(Ce.InspectorControls,null,Object(b.createElement)(Pt,{title:Object(m.__)("Title Icon Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-pane-title-icon"},Object(b.createElement)(st,{value:d,onChange:e=>l({icon:e})}),Object(b.createElement)(Zm,{label:Object(m.__)("Icon Side","kadence-blocks"),value:p,options:[{value:"right",label:Object(m.__)("Right","kadence-blocks")},{value:"left",label:Object(m.__)("Left","kadence-blocks")}],onChange:e=>l({iconSide:e})}),Object(b.createElement)(Vm,{label:Object(m.__)("Show only Icon","kadence-blocks"),checked:g,onChange:e=>l({hideLabel:e})}),Object(b.createElement)(Gm,{label:Object(m.__)("Button Label Attribute for Accessibility","kadence-blocks"),value:h,onChange:e=>l({ariaLabel:e})}))),Object(b.createElement)(v,{className:"kt-accordion-header-wrap"},Object(b.createElement)("div",{className:"kt-blocks-accordion-header kt-acccordion-button-label-"+(g?"hide":"show")},Object(b.createElement)("div",{className:"kt-blocks-accordion-title-wrap"},d&&"left"===p&&Object(b.createElement)(ot,{className:`kt-btn-svg-icon kt-btn-svg-icon-${d} kt-btn-side-${p}`,name:d}),Object(b.createElement)(Ce.RichText,{className:"kt-blocks-accordion-title",tagName:"div",placeholder:Object(m.__)("Add Title","kadence-blocks"),onChange:e=>l({title:e}),value:s,keepPlaceholderOnFocus:!0}),d&&"right"===p&&Object(b.createElement)(ot,{className:`kt-btn-svg-icon kt-btn-svg-icon-${d} kt-btn-side-${p}`,name:d})),Object(b.createElement)("div",{className:"kt-blocks-accordion-icon-trigger"}))),Object(b.createElement)("div",{className:"kt-accordion-panel"},Object(b.createElement)("div",{className:"kt-accordion-panel-inner"},Object(b.createElement)(Ce.InnerBlocks,{templateLock:!1}))))},save(e){let{attributes:t}=e;const{id:l,uniqueID:a,title:i,icon:o,iconSide:n,hideLabel:r,titleTag:c,ariaLabel:s}=t,d=c||"div";return Object(b.createElement)("div",{className:`kt-accordion-pane kt-accordion-pane-${l} kt-pane${a}`},Object(b.createElement)(d,{className:"kt-accordion-header-wrap"},Object(b.createElement)("button",{className:"kt-blocks-accordion-header kt-acccordion-button-label-"+(r?"hide":"show"),"aria-label":s||void 0},Object(b.createElement)("span",{className:"kt-blocks-accordion-title-wrap"},o&&"left"===n&&Object(b.createElement)(ot,{className:`kt-btn-svg-icon kt-btn-svg-icon-${o} kt-btn-side-${n}`,name:o}),Object(b.createElement)(qm.Content,{className:"kt-blocks-accordion-title",tagName:"span",value:i}),o&&"right"===n&&Object(b.createElement)(ot,{className:`kt-btn-svg-icon kt-btn-svg-icon-${o} kt-btn-side-${n}`,name:o})),Object(b.createElement)("span",{className:"kt-blocks-accordion-icon-trigger"}))),Object(b.createElement)("div",{className:"kt-accordion-panel"},Object(b.createElement)("div",{className:"kt-accordion-panel-inner"},Object(b.createElement)(Km.Content,null))))},deprecated:[{attributes:{id:{type:"number",default:1},title:{type:"array",source:"children",selector:".kt-blocks-accordion-title",default:""},titleTag:{type:"string",default:"div"},hideLabel:{type:"bool",default:!1},icon:{type:"string",default:""},iconSide:{type:"string",default:"right"},uniqueID:{type:"string",default:""}},save:e=>{let{attributes:t}=e;const{id:l,uniqueID:a,title:i,icon:o,iconSide:n,hideLabel:r,titleTag:c}=t,s=c||"div";return Object(b.createElement)("div",{className:`kt-accordion-pane kt-accordion-pane-${l} kt-pane${a}`},Object(b.createElement)(s,{className:"kt-accordion-header-wrap"},Object(b.createElement)("button",{className:"kt-blocks-accordion-header kt-acccordion-button-label-"+(r?"hide":"show")},Object(b.createElement)("div",{className:"kt-blocks-accordion-title-wrap"},o&&"left"===n&&Object(b.createElement)(ot,{className:`kt-btn-svg-icon kt-btn-svg-icon-${o} kt-btn-side-${n}`,name:o}),Object(b.createElement)(qm.Content,{className:"kt-blocks-accordion-title",tagName:"span",value:i}),o&&"right"===n&&Object(b.createElement)(ot,{className:`kt-btn-svg-icon kt-btn-svg-icon-${o} kt-btn-side-${n}`,name:o})),Object(b.createElement)("div",{className:"kt-blocks-accordion-icon-trigger"}))),Object(b.createElement)("div",{className:"kt-accordion-panel"},Object(b.createElement)("div",{className:"kt-accordion-panel-inner"},Object(b.createElement)(Km.Content,null))))}}]});const{Component:Jm,Fragment:Ym}=wp.element,{DropdownMenu:Xm,MenuGroup:ep,MenuItem:tp,Toolbar:lp}=wp.components;var ap=class extends Jm{constructor(){super(...arguments)}componentDidMount(){}render(){const{onMoveUp:e,onMoveDown:t,onMoveRight:l,onMoveLeft:a,focusIndex:i,itemCount:o,level:n}=this.props;return Object(b.createElement)(lp,null,Object(b.createElement)(Xm,{className:"block-editor-block-settings-menu",icon:"move",label:Object(m.__)("Move items","kadence-blocks"),popoverProps:{className:"block-editor-block-settings-menu__popover",position:"bottom right"}},r=>{let{onClose:c}=r;return Object(b.createElement)(Ym,null,Object(b.createElement)(ep,null,Object(b.createElement)(tp,{icon:"arrow-up",disabled:0===i,onClick:uo()(c,e(i)),label:Object(m.__)("Move Up","kadence-blocks")},Object(m.__)("Move Up","kadence-blocks")),Object(b.createElement)(tp,{icon:"arrow-down",disabled:i===o-1,onClick:uo()(c,t(i)),label:Object(m.__)("Move Down","kadence-blocks")},Object(m.__)("Move Down","kadence-blocks"))),Object(b.createElement)(ep,null,Object(b.createElement)(tp,{icon:"arrow-left",disabled:0===n,onClick:uo()(c,a(i)),label:Object(m.__)("Decrease Indent","kadence-blocks")},Object(m.__)("Decrease Indent","kadence-blocks")),Object(b.createElement)(tp,{icon:"arrow-right",onClick:uo()(c,l(i)),disabled:5===n,label:Object(m.__)("Increase Indent","kadence-blocks")},Object(m.__)("Increase Indent","kadence-blocks"))))}))}};const{InspectorControls:ip,RichText:op,BlockControls:np,BlockAlignmentToolbar:rp}=wp.blockEditor,{Component:cp,Fragment:sp}=wp.element,{RangeControl:dp,ButtonGroup:bp,Tooltip:mp,Button:pp,SelectControl:gp}=wp.components,up=[];var hp=Object(w.compose)([Object(a.withSelect)((e,t)=>({getPreviewDevice:e("kadenceblocks/data").getPreviewDeviceType()})),Object(a.withDispatch)((e,t)=>{let{clientId:l,rootClientId:a}=t;const{removeBlock:i}=e("core/block-editor");return{onDelete:()=>{i(l,a)}}})])(class extends cp{constructor(){super(...arguments),this.showSettings=this.showSettings.bind(this),this.saveListItem=this.saveListItem.bind(this),this.onSelectItem=this.onSelectItem.bind(this),this.onMoveVertical=this.onMoveVertical.bind(this),this.onMoveHorizontal=this.onMoveHorizontal.bind(this),this.onMoveDown=this.onMoveDown.bind(this),this.onMoveUp=this.onMoveUp.bind(this),this.onMoveLeft=this.onMoveLeft.bind(this),this.onMoveRight=this.onMoveRight.bind(this),this.createNewListItem=this.createNewListItem.bind(this),this.setFocusOnNewItem=this.setFocusOnNewItem.bind(this),this.getPreviewSize=this.getPreviewSize.bind(this),this.state={focusIndex:null,settings:{},marginControl:"individual",user:kadence_blocks_params.userrole?kadence_blocks_params.userrole:"admin"},this.debouncedCreateListItem=wl()(this.createNewListItem.bind(this),100)}componentDidMount(){if(this.props.attributes.uniqueID)up.includes(this.props.attributes.uniqueID)?(this.props.attributes.uniqueID="_"+this.props.clientId.substr(2,9),up.push("_"+this.props.clientId.substr(2,9))):up.push(this.props.attributes.uniqueID);else{const e=kadence_blocks_params.configuration?JSON.parse(kadence_blocks_params.configuration):[];void 0!==e["kadence/iconlist"]&&"object"==typeof e["kadence/iconlist"]&&Object.keys(e["kadence/iconlist"]).map(t=>{this.props.attributes[t]="items"===t?this.props.attributes[t].map((l,a)=>(l.icon=e["kadence/iconlist"][t][0].icon,l.size=e["kadence/iconlist"][t][0].size,l.color=e["kadence/iconlist"][t][0].color,l.background=e["kadence/iconlist"][t][0].background,l.border=e["kadence/iconlist"][t][0].border,l.borderRadius=e["kadence/iconlist"][t][0].borderRadius,l.padding=e["kadence/iconlist"][t][0].padding,l.borderWidth=e["kadence/iconlist"][t][0].borderWidth,l.style=e["kadence/iconlist"][t][0].style,l.level=o()(e["kadence/iconlist"][t][0],"level",0),l)):e["kadence/iconlist"][t]}),this.props.setAttributes({uniqueID:"_"+this.props.clientId.substr(2,9)}),up.push("_"+this.props.clientId.substr(2,9))}void 0!==this.props.attributes.listMargin&&void 0!==this.props.attributes.listMargin[0]&&this.props.attributes.listMargin[0]===this.props.attributes.listMargin[1]&&this.props.attributes.listMargin[0]===this.props.attributes.listMargin[2]&&this.props.attributes.listMargin[0]===this.props.attributes.listMargin[3]?this.setState({marginControl:"linked"}):this.setState({marginControl:"individual"});const e=kadence_blocks_params.settings?JSON.parse(kadence_blocks_params.settings):{};void 0!==e["kadence/iconlist"]&&"object"==typeof e["kadence/iconlist"]&&this.setState({settings:e["kadence/iconlist"]})}componentDidUpdate(e){!this.props.isSelected&&e.isSelected&&this.setState({focusIndex:null})}createNewListItem(e,t,l){const a=t.replace(e,""),i=Math.abs(1+this.props.attributes.listCount),n=this.props.attributes.items,r=[{icon:n[0].icon,link:n[0].link,target:n[0].target,size:n[0].size,text:n[0].text,width:n[0].width,color:n[0].color,background:n[0].background,border:n[0].border,borderRadius:n[0].borderRadius,borderWidth:n[0].borderWidth,padding:n[0].padding,style:n[0].style,level:o()(n[0],"level",0)}],c=Math.abs(l+1);io()(i,t=>{let i=t;0===t?0===l&&(r[0].text=a):t===c?r.push({icon:n[l].icon,link:n[l].link,target:n[l].target,size:n[l].size,text:e,width:n[l].width,color:n[l].color,background:n[l].background,border:n[l].border,borderRadius:n[l].borderRadius,borderWidth:n[l].borderWidth,padding:n[l].padding,style:n[l].style,level:o()(n[l],"level",0)}):t===l?r.push({icon:n[l].icon,link:n[l].link,target:n[l].target,size:n[l].size,text:a,width:n[l].width,color:n[l].color,background:n[l].background,border:n[l].border,borderRadius:n[l].borderRadius,borderWidth:n[l].borderWidth,padding:n[l].padding,style:n[l].style,level:o()(n[l],"level",0)}):(t>c&&(i=Math.abs(t-1)),r.push({icon:n[i].icon,link:n[i].link,target:n[i].target,size:n[i].size,text:n[i].text,width:n[i].width,color:n[i].color,background:n[i].background,border:n[i].border,borderRadius:n[i].borderRadius,borderWidth:n[i].borderWidth,padding:n[i].padding,style:n[i].style,level:o()(n[i],"level",0)}))}),this.props.setAttributes({items:r}),this.props.setAttributes({listCount:i}),this.setState({focusIndex:c}),this.setFocusOnNewItem(c,this.props.attributes.uniqueID)}setFocusOnNewItem(e,t){setTimeout((function(){document.querySelector(`.kt-svg-icon-list-items${t} .kt-svg-icon-list-item-${e}`)&&document.querySelector(`.kt-svg-icon-list-items${t} .kt-svg-icon-list-item-${e}`).querySelector(".rich-text").focus()}),100)}onSelectItem(e){return()=>{this.state.focusIndex!==e&&this.setState({focusIndex:e})}}onMoveVertical(e,t){const l=[...this.props.attributes.items];l.splice(t,1,this.props.attributes.items[e]),l.splice(e,1,this.props.attributes.items[t]),this.setState({focusIndex:t}),this.props.setAttributes({items:l})}onMoveHorizontal(e,t){const l=[...this.props.attributes.items];l[e].level=t,this.props.setAttributes({items:l})}onMoveDown(e){return()=>{e!==this.props.attributes.items.length-1&&this.onMoveVertical(e,e+1)}}onMoveUp(e){return()=>{0!==e&&this.onMoveVertical(e,e-1)}}onMoveLeft(e){return()=>{0!==this.props.attributes.items[e].level&&this.onMoveHorizontal(e,this.props.attributes.items[e].level-1)}}onMoveRight(e){return()=>{let t=o()(this.props.attributes.items[e],"level",0);5!==t&&this.onMoveHorizontal(e,t+1)}}showSettings(e){return void 0===this.state.settings[e]||"all"===this.state.settings[e]||"contributor"===this.state.settings[e]&&("contributor"===this.state.user||"author"===this.state.user||"editor"===this.state.user||"admin"===this.state.user)||"author"===this.state.settings[e]&&("author"===this.state.user||"editor"===this.state.user||"admin"===this.state.user)||"editor"===this.state.settings[e]&&("editor"===this.state.user||"admin"===this.state.user)||"admin"===this.state.settings[e]&&"admin"===this.state.user}saveListItem(e,t){const l=this.props.attributes.items.map((l,a)=>(a===t&&(l={...l,...e}),l));this.props.setAttributes({items:l})}getPreviewSize(e,t,l,a){if("Mobile"===e){if(void 0!==a&&""!==a)return a;if(void 0!==l&&""!==l)return l}else if("Tablet"===e&&void 0!==l&&""!==l)return l;return t}render(){const{attributes:{listCount:e,items:t,listStyles:l,columns:a,listLabelGap:i,listGap:n,blockAlignment:r,uniqueID:c,listMargin:s,iconAlign:d,tabletColumns:p,mobileColumns:u},attributes:h,className:v,setAttributes:y,isSelected:f}=this.props,{marginControl:O}=this.state,j={google:{families:[l[0].family+(l[0].variant?":"+l[0].variant:"")]}},_=l[0].google?j:"",w=this.getPreviewSize(this.props.getPreviewDevice,void 0!==l[0].size&&void 0!==l[0].size[0]?l[0].size[0]:"",void 0!==l[0].size&&void 0!==l[0].size[1]?l[0].size[1]:"",void 0!==l[0].size&&void 0!==l[0].size[2]?l[0].size[2]:""),x=this.getPreviewSize(this.props.getPreviewDevice,void 0!==l[0].lineHeight&&void 0!==l[0].lineHeight[0]?l[0].lineHeight[0]:"",void 0!==l[0].lineHeight&&void 0!==l[0].lineHeight[1]?l[0].lineHeight[1]:"",void 0!==l[0].lineHeight&&void 0!==l[0].lineHeight[2]?l[0].lineHeight[2]:""),E=e=>{const t=l.map((t,l)=>(0===l&&(t={...t,...e}),t));y({listStyles:t})},S=e=>{const l=t.map((t,l)=>({...t,...e}));y({items:l})},C=[{key:"top",name:Object(m.__)("Top","kadence-blocks"),icon:g.aligntop},{key:"middle",name:Object(m.__)("Middle","kadence-blocks"),icon:g.alignmiddle},{key:"bottom",name:Object(m.__)("Bottom","kadence-blocks"),icon:g.alignbottom}],T=(e,t)=>{e&&void 0!==e[0]&&void 0!==e[0].attributes&&e[0].attributes.content&&this.saveListItem({text:e[0].attributes.content},t)},N=(e,t)=>{const l=Math.abs(this.props.attributes.listCount);if(1===l)this.props.onDelete();else{const e=Math.abs(l-1),a=Co()(this.props.attributes.items,(e,l)=>t!==l),i=Math.abs(t-1);this.setState({focusIndex:i}),y({items:a,listCount:e})}},z=e=>{if(f&&this.state.focusIndex===e&&kadence_blocks_params.dynamic_enabled)return Object(b.createElement)(Io,Ke()({dynamicAttribute:"items:"+e+":text"},this.props))},M=l=>Object(b.createElement)(Pt,{title:Object(m.__)("Item","kadence-blocks")+" "+(l+1)+" "+Object(m.__)("Settings","kadence-blocks"),initialOpen:1===e,panelName:"kb-icon-item-"+l},Object(b.createElement)(qa,Ke()({label:Object(m.__)("Link","kadence-blocks"),url:t[l].link,onChangeUrl:e=>{this.saveListItem({link:e},l)},additionalControls:!0,opensInNewTab:!(!t[l].target||"_blank"!=t[l].target),onChangeTarget:e=>{e?this.saveListItem({target:"_blank"},l):this.saveListItem({target:"_self"},l)},dynamicAttribute:"items:"+l+":link",allowClear:!0},this.props)),Object(b.createElement)(st,{value:t[l].icon,onChange:e=>{this.saveListItem({icon:e},l)}}),Object(b.createElement)(dp,{label:Object(m.__)("Icon Size"),value:t[l].size,onChange:e=>{this.saveListItem({size:e},l)},min:5,max:250}),t[l].icon&&"fe"===t[l].icon.substring(0,2)&&Object(b.createElement)(dp,{label:Object(m.__)("Line Width"),value:t[l].width,onChange:e=>{this.saveListItem({width:e},l)},step:.5,min:.5,max:4}),Object(b.createElement)(De,{label:Object(m.__)("Icon Color"),value:t[l].color?t[l].color:"",default:"",onChange:e=>{this.saveListItem({color:e},l)}}),Object(b.createElement)(gp,{label:Object(m.__)("Icon Style"),value:t[l].style,options:[{value:"default",label:Object(m.__)("Default")},{value:"stacked",label:Object(m.__)("Stacked")}],onChange:e=>{this.saveListItem({style:e},l)}}),"default"!==t[l].style&&Object(b.createElement)(De,{label:Object(m.__)("Icon Background"),value:t[l].background?t[l].background:"",default:"",onChange:e=>{this.saveListItem({background:e},l)}}),"default"!==t[l].style&&Object(b.createElement)(De,{label:Object(m.__)("Border Color"),value:t[l].border?t[l].border:"",default:"",onChange:e=>{this.saveListItem({border:e},l)}}),"default"!==t[l].style&&Object(b.createElement)(dp,{label:Object(m.__)("Border Size (px)"),value:t[l].borderWidth,onChange:e=>{this.saveListItem({borderWidth:e},l)},min:0,max:20}),"default"!==t[l].style&&Object(b.createElement)(dp,{label:Object(m.__)("Border Radius (%)"),value:t[l].borderRadius,onChange:e=>{this.saveListItem({borderRadius:e},l)},min:0,max:50}),"default"!==t[l].style&&Object(b.createElement)(dp,{label:Object(m.__)("Padding (px)"),value:t[l].padding,onChange:e=>{this.saveListItem({padding:e},l)},min:0,max:180})),I=Object(b.createElement)("div",null,io()(e,e=>M(e))),H=(Object(b.createElement)("div",null,io()(e,e=>z(e))),e=>Object(b.createElement)("div",{className:`kt-svg-icon-list-style-${t[e].style} kt-svg-icon-list-item-wrap kt-svg-icon-list-item-${e} kt-svg-icon-list-level-${o()(t[e],"level",0)}`},t[e].icon&&Object(b.createElement)(ot,{className:"kt-svg-icon-list-single kt-svg-icon-list-single-"+t[e].icon,name:t[e].icon,size:t[e].size,strokeWidth:"fe"===t[e].icon.substring(0,2)?t[e].width:void 0,style:{color:t[e].color?$c(t[e].color):void 0,backgroundColor:t[e].background&&"default"!==t[e].style?$c(t[e].background):void 0,padding:t[e].padding&&"default"!==t[e].style?t[e].padding+"px":void 0,borderColor:t[e].border&&"default"!==t[e].style?$c(t[e].border):void 0,borderWidth:t[e].borderWidth&&"default"!==t[e].style?t[e].borderWidth+"px":void 0,borderRadius:t[e].borderRadius&&"default"!==t[e].style?t[e].borderRadius+"%":void 0}}),Object(b.createElement)(op,{tagName:"div",value:t[e].text,onChange:t=>{this.saveListItem({text:t},e)},onSplit:l=>l?this.debouncedCreateListItem(l,t[e].text,e):this.debouncedCreateListItem("",t[e].text,e),onRemove:t=>{N(0,e)},unstableOnFocus:this.onSelectItem(e),onReplace:t=>{T(t,e)},className:"kt-svg-icon-list-text"})));return Object(b.createElement)("div",{className:v},Object(b.createElement)(np,null,Object(b.createElement)(rp,{value:r,controls:["center","left","right"],onChange:e=>y({blockAlignment:e})}),Object(b.createElement)(ap,{onMoveUp:e=>this.onMoveUp(e),onMoveDown:e=>this.onMoveDown(e),onMoveRight:e=>this.onMoveRight(e),onMoveLeft:e=>this.onMoveLeft(e),focusIndex:this.state.focusIndex,itemCount:this.props.attributes.items.length,level:o()(this.props.attributes.items[this.state.focusIndex?this.state.focusIndex:0],"level",0)})),this.showSettings("allSettings")&&Object(b.createElement)(ip,null,Object(b.createElement)(Pt,{title:Object(m.__)("List Controls"),initialOpen:!0,panelName:"kb-icon-list-controls"},Object(b.createElement)(ks,{label:Object(m.__)("Number of Items"),value:e,onChange:e=>{const l=t;if(l.length<e){const a=Math.abs(e-l.length);io()(a,e=>{l.push({icon:l[0].icon,link:l[0].link,target:l[0].target,size:l[0].size,width:l[0].width,color:l[0].color,background:l[0].background,border:l[0].border,borderRadius:l[0].borderRadius,borderWidth:l[0].borderWidth,padding:l[0].padding,style:l[0].style,level:o()(l[0],"level",0)})}),y({items:l}),this.saveListItem({size:t[0].size},0)}y({listCount:e})},min:1,max:40,step:1}),this.showSettings("column")&&Object(b.createElement)(Z,{label:Object(m.__)("List Columns","kadence-blocks"),value:a,onChange:e=>y({columns:e}),tabletValue:p||"",onChangeTablet:e=>y({tabletColumns:e}),mobileValue:u||"",onChangeMobile:e=>y({mobileColumns:e}),min:1,max:3,step:1,showUnit:!1}),this.showSettings("spacing")&&Object(b.createElement)(sp,null,Object(b.createElement)(dp,{label:Object(m.__)("List Vertical Spacing"),value:n,onChange:e=>{y({listGap:e})},min:0,max:60}),Object(b.createElement)(dp,{label:Object(m.__)("List Horizontal Icon and Label Spacing"),value:i,onChange:e=>{y({listLabelGap:e})},min:0,max:60}),Object(b.createElement)("div",{className:"kt-btn-size-settings-container"},Object(b.createElement)("h2",{className:"kt-beside-btn-group"},Object(m.__)("Icon Align")),Object(b.createElement)(bp,{className:"kt-button-size-type-options","aria-label":Object(m.__)("Icon Align")},k()(C,e=>{let{name:t,icon:l,key:a}=e;return Object(b.createElement)(mp,{text:t},Object(b.createElement)(pp,{key:a,className:"kt-btn-size-btn",isSmall:!0,isPrimary:d===a,"aria-pressed":d===a,onClick:()=>y({iconAlign:a})},l))}))),Object(b.createElement)(Fc,{label:Object(m.__)("List Margin"),measurement:void 0!==s?s:[0,0,10,0],control:O,onChange:e=>y({listMargin:e}),onControl:e=>this.setState({marginControl:e}),min:-200,max:200,step:1}))),this.showSettings("textStyle")&&Object(b.createElement)(Pt,{title:Object(m.__)("List Text Styling"),initialOpen:!1,panelName:"kb-list-text-styling"},Object(b.createElement)(De,{label:Object(m.__)("Color Settings"),value:l[0].color?l[0].color:"",default:"",onChange:e=>{E({color:e})}}),Object(b.createElement)(oe,{fontSize:l[0].size,onFontSize:e=>E({size:e}),fontSizeType:l[0].sizeType,onFontSizeType:e=>E({sizeType:e}),lineHeight:l[0].lineHeight,onLineHeight:e=>E({lineHeight:e}),lineHeightType:l[0].lineType,onLineHeightType:e=>E({lineType:e}),letterSpacing:l[0].letterSpacing,onLetterSpacing:e=>E({letterSpacing:e}),fontFamily:l[0].family,onFontFamily:e=>E({family:e}),onFontChange:e=>{E({family:e.value,google:e.google})},onFontArrayChange:e=>E(e),googleFont:l[0].google,onGoogleFont:e=>E({google:e}),loadGoogleFont:l[0].loadGoogle,onLoadGoogleFont:e=>E({loadGoogle:e}),fontVariant:l[0].variant,onFontVariant:e=>E({variant:e}),fontWeight:l[0].weight,onFontWeight:e=>E({weight:e}),fontStyle:l[0].style,onFontStyle:e=>E({style:e}),fontSubset:l[0].subset,onFontSubset:e=>E({subset:e}),textTransform:l[0].textTransform,onTextTransform:e=>E({textTransform:e})})),this.showSettings("joinedIcons")&&Object(b.createElement)(Pt,{title:Object(m.__)("Edit All Icon Styles Together"),initialOpen:!1,panelName:"kb-icon-all-styles"},Object(b.createElement)("p",null,Object(m.__)("PLEASE NOTE: This will override individual list item settings.")),Object(b.createElement)(st,{value:t[0].icon,onChange:e=>{e!==t[0].icon&&S({icon:e})}}),Object(b.createElement)(dp,{label:Object(m.__)("Icon Size"),value:t[0].size,onChange:e=>{S({size:e})},min:5,max:250}),t[0].icon&&"fe"===t[0].icon.substring(0,2)&&Object(b.createElement)(dp,{label:Object(m.__)("Line Width"),value:t[0].width,onChange:e=>{S({width:e})},step:.5,min:.5,max:4}),Object(b.createElement)(De,{label:Object(m.__)("Icon Color"),value:t[0].color?t[0].color:"",default:"",onChange:e=>{S({color:e})}}),Object(b.createElement)(gp,{label:Object(m.__)("Icon Style"),value:t[0].style,options:[{value:"default",label:Object(m.__)("Default")},{value:"stacked",label:Object(m.__)("Stacked")}],onChange:e=>{S({style:e})}}),"default"!==t[0].style&&Object(b.createElement)(De,{label:Object(m.__)("Icon Background"),value:t[0].background?t[0].background:"",default:"",onChange:e=>{S({background:e})}}),"default"!==t[0].style&&Object(b.createElement)(De,{label:Object(m.__)("Border Color"),value:t[0].border?t[0].border:"",default:"",onChange:e=>{S({border:e})}}),"default"!==t[0].style&&Object(b.createElement)(dp,{label:Object(m.__)("Border Size (px)"),value:t[0].borderWidth,onChange:e=>{S({borderWidth:e})},min:0,max:20}),"default"!==t[0].style&&Object(b.createElement)(dp,{label:Object(m.__)("Border Radius (%)"),value:t[0].borderRadius,onChange:e=>{S({borderRadius:e})},min:0,max:50}),"default"!==t[0].style&&Object(b.createElement)(dp,{label:Object(m.__)("Padding (px)"),value:t[0].padding,onChange:e=>{S({padding:e})},min:0,max:180})),Object(b.createElement)("div",{className:"kt-sidebar-settings-spacer"}),this.showSettings("individualIcons")&&Object(b.createElement)(Pt,{title:Object(m.__)("Individual list Item Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-list-individual-item-settings"},I)),Object(b.createElement)("style",null,`.kt-svg-icon-list-items${c} .kt-svg-icon-list-item-wrap:not(:last-child) { margin-bottom: ${n}px; }`,`body:not(.rtl) .kt-svg-icon-list-items${c} .kt-svg-icon-list-single { margin-right: ${i}px; }`,`body.rtl .kt-svg-icon-list-items${c} .kt-svg-icon-list-single { margin-left: ${i}px; }`,`.kt-svg-icon-list-items${c} .kt-svg-icon-list-item-wrap {\n\t\t\t\t\t\t\tfont-weight: ${l[0].weight?l[0].weight:""};\n\t\t\t\t\t\t\tfont-style: ${l[0].style?l[0].style:""};\n\t\t\t\t\t\t\tcolor: ${l[0].color?$c(l[0].color):""};\n\t\t\t\t\t\t\tfont-size: ${w?w+l[0].sizeType:""};\n\t\t\t\t\t\t\tline-height: ${x?x+l[0].lineType:""};\n\t\t\t\t\t\t\tletter-spacing: ${l[0].letterSpacing?l[0].letterSpacing+"px":""};\n\t\t\t\t\t\t\tfont-family: ${l[0].family?l[0].family:""};\n\t\t\t\t\t\t\ttext-transform: ${l[0].textTransform?l[0].textTransform:""};\n\t\t\t\t\t\t}`),l[0].google&&Object(b.createElement)(po,{config:_}),Object(b.createElement)("div",{ref:this.container,className:`kt-svg-icon-list-container kt-svg-icon-list-items${c} kt-svg-icon-list-columns-${a}${void 0!==d&&"middle"!==d?" kt-list-icon-align"+d:""}${void 0!==p&&""!==p?" kt-tablet-svg-icon-list-columns-"+p:""}${void 0!==u&&""!==u?" kt-mobile-svg-icon-list-columns-"+u:""}`,style:{margin:s&&void 0!==s[0]&&null!==s[0]?s[0]+"px "+s[1]+"px "+s[2]+"px "+s[3]+"px":""}},io()(e,e=>H(e)),f&&Object(b.createElement)(sp,null,Object(b.createElement)(pp,{isDefault:!0,icon:Lo.a,onClick:()=>{const l=t,a=e+1;if(l.length<a){const e=Math.abs(a-l.length);io()(e,e=>{l.push({icon:l[0].icon,link:l[0].link,target:l[0].target,size:l[0].
|
29 |
/* translators: %s is Prebuilt Name */
|
30 |
Object(m.__)("Add %s","kadence-blocks"),i),isDisabled:void 0!==r&&r&&"true"!==kadence_blocks_params.pro,onClick:()=>c?"":e.onInsertContent(o)},Object(b.createElement)("div",{className:"kt-import-btn-inner kb-scroll-over-image",style:{paddingBottom:"450px"}},Object(b.createElement)(Or.a,null,Object(b.createElement)("img",{src:n,alt:i})),Object(b.createElement)("div",{className:"demo-title"},Object(b.createElement)("h4",{dangerouslySetInnerHTML:{__html:i}})))),void 0!==r&&r&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)("span",{className:"kb-pro-template"},Object(m.__)("Pro","kadence-blocks")),c&&Object(b.createElement)("div",{className:"kt-popover-pro-notice"},Object(b.createElement)("h2",null,Object(m.__)("Kadence Blocks Pro required for this item")," "),Object(b.createElement)(U.ExternalLink,{href:"https://www.kadencewp.com/kadence-blocks/pro/?utm_source=in-app&utm_medium=kadence-blocks&utm_campaign=design-library"},Object(m.__)("Upgrade to Pro","kadence-blocks")))))}))))}}var Cr=Object(w.compose)(Object(a.withSelect)((e,t)=>{let{clientId:l}=t;const{getBlock:a}=e("core/block-editor"),{canUserUseUnfilteredHTML:i}=e("core/editor");return{block:a(l),canUserUseUnfilteredHTML:i()}}),Object(a.withDispatch)((e,t)=>{let{block:l,canUserUseUnfilteredHTML:a}=t;return{import:t=>e("core/block-editor").replaceBlocks(l.clientId,Object(gt.rawHandler)({HTML:t,mode:"BLOCKS",canUserUseUnfilteredHTML:a}))}}))(Sr);const{applyFilters:Tr}=wp.hooks;class Nr extends b.Component{constructor(){super(...arguments),this.state={view:"templates",selectedSlug:null,selectedURL:null,selectedName:null}}render(){return Object(b.createElement)(b.Fragment,null,"templates"===this.state.view&&Object(b.createElement)(wr,{clientId:this.props.clientId,reload:this.props.reload,onSelectTemplate:e=>{let{name:t,slug:l,url:a}=e;this.setState({selectedSlug:l,selectedName:t,selectedURL:a,view:"single"})},onReload:()=>this.props.onReload()}),"single"===this.state.view&&Object(b.createElement)(Cr,{clientId:this.props.clientId,selectedSlug:this.state.selectedSlug,selectedName:this.state.selectedName,selectedURL:this.state.selectedURL,reload:this.props.reload,onReload:()=>this.props.onReload(),onBack:()=>this.setState({selectedSlug:null,selectedName:null,selectedURL:null,view:"templates"})}))}}var zr=Nr,Mr=l(432);const{rawHandler:Ir}=wp.blocks,{Component:Hr,Fragment:Br}=wp.element,{apiFetch:Pr}=wp,{localStorage:Rr}=window,{Button:Ar,ButtonGroup:Lr,Tooltip:Fr,TextControl:Wr,SelectControl:Dr,ExternalLink:$r,Spinner:Ur}=wp.components,{applyFilters:Vr}=wp.hooks;var Zr=Object(w.compose)(Object(a.withSelect)((e,t)=>{let{clientId:l}=t;const{getBlock:a}=e("core/block-editor"),{canUserUseUnfilteredHTML:i}=e("core/editor");return{block:a(l),canUserUseUnfilteredHTML:i()}}),Object(a.withDispatch)((e,t)=>{let{block:l,canUserUseUnfilteredHTML:a}=t;return{import:t=>e("core/block-editor").replaceBlocks(l.clientId,Ir({HTML:t,mode:"BLOCKS",canUserUseUnfilteredHTML:a}))}}))(class extends Hr{constructor(){super(...arguments),this.saveSettings=this.saveSettings.bind(this),this.addConnection=this.addConnection.bind(this),this.state={isLoading:!0,errorConnecting:!1,cloudSettings:{},newKey:"",newURl:""}}componentDidMount(){Pr({path:"/wp/v2/settings"}).then(e=>{this.setState({isLoading:!1,cloudSettings:mr(e.kadence_blocks_cloud)})})}saveSettings(e){kadence_blocks_params.cloud_settings=JSON.stringify(e),this.setState({isSaving:!0}),Pr({path:"/wp/v2/settings",method:"POST",data:{kadence_blocks_cloud:JSON.stringify(e)}}).then(t=>{this.setState({isSaving:!1,errorConnecting:!1,isLoading:!1,newUrl:"",newKey:"",cloudSettings:e}),this.props.onReload()})}addConnection(){this.setState({isLoading:!0});var e=new FormData;e.append("action","kadence_import_get_new_connection_data"),e.append("security",kadence_blocks_params.ajax_nonce),e.append("url",this.state.newUrl?this.state.newUrl:""),e.append("key",this.state.newKey?this.state.newKey:"");var t=this;jQuery.ajax({method:"POST",url:kadence_blocks_params.ajax_url,data:e,contentType:!1,processData:!1}).done((function(e,l,a){if(e){const l=mr(e,!1);if(l){const e=t.state.cloudSettings;e.connections||(e.connections=[]);const a={};a.slug=l.slug,a.title=l.name,a.url=t.state.newUrl,a.key=t.state.newKey,a.expires=l.expires,a.refresh=l.refresh,e.connections.push(a),t.saveSettings(e)}else t.setState({errorConnecting:!0,errorNotice:e,isLoading:!1})}})).fail((function(e){console.log(e),t.setState({errorConnecting:!0,isLoading:!1})}))}render(){return Object(b.createElement)("div",{className:"kb-new-connection-content"},this.state.isLoading?Object(b.createElement)(Br,null,Object(b.createElement)(Ur,null)):Object(b.createElement)(Br,null,this.state.errorConnecting&&Object(b.createElement)("div",{className:"error"},this.state.errorNotice),this.state.cloudSettings.connections&&this.state.cloudSettings.connections[0]&&Object(b.createElement)(Br,null,this.state.cloudSettings.connections.map((e,t)=>Object(b.createElement)(Br,null,Object(b.createElement)("div",{className:"kb-connection-title"},e.title,Object(b.createElement)(Ar,{key:"connection-"+t,className:"kb-connection-remove-button",icon:Mr.a,"aria-label":Object(m.__)("Remove Connection","kadence-blocks"),onClick:()=>{const e=this.state.cloudSettings;e.connections.splice(t,1),this.setState({cloudSettings:e}),this.saveSettings(e)}}))))),Object(b.createElement)("div",{className:"kb-connection-add-new"},Object(b.createElement)(Wr,{label:Object(m.__)("Connection URL","kadence-blocks"),type:"text",value:this.state.newUrl,onChange:e=>this.setState({newUrl:e})}),Object(b.createElement)(Wr,{label:Object(m.__)("Connection Access Key","kadence-blocks"),type:"text",value:this.state.newKey,onChange:e=>this.setState({newKey:e})}),Object(b.createElement)(Ar,{className:"kb-connection-add-button",isPrimary:!0,onClick:()=>{this.addConnection()}},Object(m.__)("Add Connection","kadence-blocks"))),Object(b.createElement)("div",{className:"kb-connection-info"},Object(m.__)("Learn about connecting libraries at:","kadence-blocks")+" ",Object(b.createElement)($r,{href:"https://www.kadencewp.com/kadence-cloud/?utm_source=in-app&utm_medium=kadence-blocks&utm_campaign=design-library"},Object(m.__)("Kadence Cloud","kadence-blocks")))))}});const{localStorage:Gr}=window,{applyFilters:qr}=wp.hooks,{apiFetch:Kr}=wp;class Qr extends b.Component{constructor(){super(...arguments),this.loadTemplateData=this.loadTemplateData.bind(this),this.onInsertContent=this.onInsertContent.bind(this),this.importProcess=this.importProcess.bind(this),this.reloadTemplateData=this.reloadTemplateData.bind(this),this.state={category:"all",starting:!0,search:null,tab:"wire",items:!1,errorItems:!1,isImporting:!1,isLoading:!1,sidebar:!1,gridSize:"normal",email:kadence_blocks_params.user_email,emailError:!1,subscribedError:!1,privacy:!1,privacyError:!1,isSubscribing:!1,isSubscribed:!!kadence_blocks_params.subscribed,categories:{category:"Category"}},this.debouncedReloadTemplateData=wl()(this.reloadTemplateData.bind(this),200)}onInsertContent(e){this.importProcess(e)}saveSubscribe(){Kr({path:"/wp/v2/settings",method:"POST",data:{kadence_blocks_wire_subscribe:!0}}).then(e=>{console.log(e)})}subscribeProcess(e){this.setState({isSubscribing:!0});var t=new FormData;t.append("action","kadence_subscribe_process_data"),t.append("security",kadence_blocks_params.ajax_nonce),t.append("email",e);var l=this;jQuery.ajax({method:"POST",url:kadence_blocks_params.ajax_url,data:t,contentType:!1,processData:!1}).done((function(e,t,a){e?(console.log(e),"success"===e||'"success"'===e?(kadence_blocks_params.subscribed=!0,l.setState({isSubscribing:!1,isSubscribed:!0,emailError:!1,privacyError:!1,subscribedError:!1}),l.saveSubscribe()):"emailDomainPostError"===e||"emailDomainPreError"===e||"invalidRequest"===e||'"invalidRequest"'===e?l.setState({isSubscribing:!1,isSubscribed:!1,emailError:!0,privacyError:!1,subscribedError:!1}):l.setState({isSubscribing:!1,isSubscribed:!1,emailError:!1,privacyError:!1,subscribedError:!0})):l.setState({isSubscribing:!1,isSubscribed:!1,emailError:!1,privacyError:!1,subscribedError:!0})})).fail((function(e){console.log(e),l.setState({isSubscribing:!1,isSubscribed:!1,emailError:!1,privacyError:!1,subscribedError:!0})}))}importProcess(e){this.setState({isImporting:!0});var t=new FormData;t.append("action","kadence_import_process_data"),t.append("security",kadence_blocks_params.ajax_nonce),t.append("import_content",e);var l=this;jQuery.ajax({method:"POST",url:kadence_blocks_params.ajax_url,data:t,contentType:!1,processData:!1}).done((function(e,t,a){e&&(l.props.import(e),l.setState({isImporting:!1}))})).fail((function(e){console.log(e),l.setState({isImporting:!1})}))}reloadTemplateData(){this.setState({errorItems:!1,isLoading:!0,items:"loading"});var e=new FormData;e.append("action","kadence_import_reload_prebuilt_data"),e.append("security",kadence_blocks_params.ajax_nonce),e.append("package","wire"),e.append("url","https://wire.kadenceblocks.com/"),e.append("key","cBLUbJZZmjed");var t=this;jQuery.ajax({method:"POST",url:kadence_blocks_params.ajax_url,data:e,contentType:!1,processData:!1}).done((function(e,l,a){if(e){const l=mr(e,!1);if(l){const e={category:"Category"};Object.keys(l).map((function(t,a){l[t].categories&&"object"==typeof l[t].categories&&Object.keys(l[t].categories).map((function(a,i){e.hasOwnProperty(a)||(e[a]=l[t].categories[a])}))})),t.setState({items:l,errorItems:!1,isLoading:!1,categories:e})}else t.setState({items:"error",errorItems:!0,isLoading:!1})}})).fail((function(e){console.log(e),t.setState({items:"error",errorItems:!0,isLoading:!1})}))}loadTemplateData(){this.setState({errorItems:!1,isLoading:!0,items:"loading"});var e=new FormData;e.append("action","kadence_import_get_prebuilt_data"),e.append("security",kadence_blocks_params.ajax_nonce),e.append("package","wire"),e.append("url","https://wire.kadenceblocks.com/"),e.append("key","cBLUbJZZmjed");var t=this;jQuery.ajax({method:"POST",url:kadence_blocks_params.ajax_url,data:e,contentType:!1,processData:!1}).done((function(e,l,a){if(e){const l=mr(e,!1);if(l){const e={category:"Category"};Object.keys(l).map((function(t,a){l[t].categories&&"object"==typeof l[t].categories&&Object.keys(l[t].categories).map((function(a,i){e.hasOwnProperty(a)||(e[a]=l[t].categories[a])}))})),t.setState({items:l,errorItems:!1,isLoading:!1,categories:e})}else t.setState({items:"error",errorItems:!0,isLoading:!1})}})).fail((function(e){console.log(e),t.setState({items:"error",errorItems:!0,isLoading:!1})}))}render(){this.props.reload&&(this.props.onReload(),this.debouncedReloadTemplateData());const e=mr(Gr.getItem("kadenceBlocksPrebuilt"),!0),t=e&&e.sidebar?e.sidebar:"show",l=this.state.sidebar?this.state.sidebar:t,a=this.props.tab===this.state.tab&&this.state.items,i=this.state.categories,o=Object.keys(i).map((function(e,t){return{value:"category"===e?"all":e,label:i[e]}})),n=Object.keys(i).map((function(e,t){return{value:"category"===e?"all":e,label:"category"===e?Object(m.__)("All","kadence-blocks"):i[e]}})),r=e&&e.grid?e.grid:"normal",c=this.state.gridSize?this.state.gridSize:r,s=this;let d={default:5,1600:4,1200:3,500:2};return"large"===c&&(d={default:4,1600:3,1200:2,500:1}),"show"===l&&(d={default:4,1600:3,1200:2,500:1},"large"===c&&(d={default:3,1600:2,1200:2,500:1})),Object(b.createElement)("div",{className:"kt-prebuilt-content"+("show"===l?" kb-prebuilt-has-sidebar":"")},"show"===l&&Object(b.createElement)("div",{className:"kt-prebuilt-sidebar"},Object(b.createElement)("div",{className:"kb-library-sidebar-top"},Object(b.createElement)(U.TextControl,{type:"text",value:this.state.search,placeholder:Object(m.__)("Search","kadence-blocks"),onChange:e=>this.setState({search:e})}),Object(b.createElement)(U.Button,{className:"kb-trigger-sidebar",icon:dr.a,onClick:()=>{const e=mr(Gr.getItem("kadenceBlocksPrebuilt"),!0);e.sidebar="hide",Gr.setItem("kadenceBlocksPrebuilt",JSON.stringify(e)),this.setState({sidebar:"hide"})}})),Object(b.createElement)("div",{className:"kb-library-sidebar-bottom"},n.map((e,t)=>Object(b.createElement)(U.Button,{key:`${e.value}-${t}`,className:"kb-category-button"+(this.state.category===e.value?" is-pressed":""),"aria-pressed":this.state.category===e.value,onClick:()=>this.setState({category:e.value})},e.label)))),Object(b.createElement)("div",{className:"wrap-around-wire-library"},!this.state.isSubscribed&&Object(b.createElement)("div",{className:"kadence-wire-subscribe-wrap",style:{backgroundImage:"url("+kadence_blocks_params.wireImage+")"}},Object(b.createElement)("div",{className:"kadence-wire-subscribe"},Object(b.createElement)("h2",null,Object(m.__)("Join the Kadence WP Mailing List for Free Access to Wireframe Sections.","kadence-blocks")," "),Object(b.createElement)("p",null,Object(m.__)("Wireframe sections give you the ability to build out clean layout-focused designs within the WordPress editor. Enter your email to join our product updates email list and get instant access to our exclusive wireframe library.","kadence-blocks")),Object(b.createElement)(U.TextControl,{type:"text",label:Object(m.__)("Email:","kadence-blocks"),value:this.state.email,placeholder:Object(m.__)("example@example.com","kadence-blocks"),onChange:e=>this.setState({email:e})}),this.state.emailError&&Object(b.createElement)("span",{className:"kb-subscribe-form-error"},Object(m.__)("Invalid Email, Please enter a valid email.","kadence-blocks")),Object(b.createElement)(U.CheckboxControl,{label:Object(m.__)("Accept Privacy Policy","kadence-blocks"),help:Object(b.createElement)(b.Fragment,null,Object(m.__)("We do not spam, unsubscribe anytime.","kadence-blocks")," ",Object(b.createElement)(U.ExternalLink,{href:"https://www.kadencewp.com/privacy-policy/?utm_source=in-app&utm_medium=kadence-blocks&utm_campaign=design-library"},Object(m.__)("View Privacy Policy","kadence-blocks"))),checked:this.state.privacy,onChange:e=>this.setState({privacy:e})}),this.state.privacyError&&Object(b.createElement)("span",{className:"kb-subscribe-form-error"},Object(m.__)("Please Accept Privacy Policy","kadence-blocks")),Object(b.createElement)(U.Button,{className:"kb-subscribe-button",isPrimary:!0,onClick:()=>{this.state.privacy?this.subscribeProcess(this.state.email):this.setState({privacyError:!0})}},Object(m.__)("Subscribe for Access","kadence-blocks")),this.state.isSubscribing&&Object(b.createElement)(U.Spinner,null),this.state.subscribedError&&Object(b.createElement)("div",{className:"kb-subscribe-form-error"},Object(m.__)("Error attempting to subscribe, please reload our page and try again.","kadence-blocks")))),"show"!==l&&Object(b.createElement)("div",{className:"kt-prebuilt-header kb-library-header"},Object(b.createElement)("div",{className:"kb-library-header-left"},Object(b.createElement)(U.Button,{className:"kb-trigger-sidebar",icon:br.a,onClick:()=>{const e=mr(Gr.getItem("kadenceBlocksPrebuilt"),!0);e.sidebar="show",Gr.setItem("kadenceBlocksPrebuilt",JSON.stringify(e)),this.setState({sidebar:"show"})}}),Object(b.createElement)(U.SelectControl,{className:"kb-library-header-cat-select",value:this.state.category,options:o,onChange:e=>this.setState({category:e})})),Object(b.createElement)("div",{className:"kb-library-header-right"},Object(b.createElement)(U.Button,{icon:Object(b.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"},Object(b.createElement)("path",{d:"M8 15h7V8H8v7zm9-7v7h7V8h-7zm0 16h7v-7h-7v7zm-9 0h7v-7H8v7z"})),className:"kb-grid-btns kb-trigger-large-grid-size"+("large"===c?" is-pressed":""),"aria-pressed":"large"===c,onClick:()=>{const e=mr(Gr.getItem("kadenceBlocksPrebuilt"),!0);e.grid="large",Gr.setItem("kadenceBlocksPrebuilt",JSON.stringify(e)),this.setState({gridSize:"large"})}}),Object(b.createElement)(U.Button,{icon:Object(b.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"},Object(b.createElement)("path",{d:"M8 12h4V8H8v4zm6 0h4V8h-4v4zm6-4v4h4V8h-4zM8 18h4v-4H8v4zm6 0h4v-4h-4v4zm6 0h4v-4h-4v4zM8 24h4v-4H8v4zm6 0h4v-4h-4v4zm6 0h4v-4h-4v4z"})),className:"kb-grid-btns kb-trigger-normal-grid-size"+("normal"===c?" is-pressed":""),"aria-pressed":"normal"===c,onClick:()=>{const e=mr(Gr.getItem("kadenceBlocksPrebuilt"),!0);e.grid="normal",Gr.setItem("kadenceBlocksPrebuilt",JSON.stringify(e)),this.setState({gridSize:"normal"})}}),Object(b.createElement)(U.TextControl,{type:"text",value:this.state.search,placeholder:Object(m.__)("Search","kadence-blocks"),onChange:e=>this.setState({search:e})}))),this.state.isImporting||this.state.isLoading||!1===a||this.state.errorItems?Object(b.createElement)(b.Fragment,null,!this.state.errorItems&&this.state.isLoading&&Object(b.createElement)(U.Spinner,null),!this.state.errorItems&&this.state.isImporting&&Object(b.createElement)("div",{className:"preparing-importing-images"},Object(b.createElement)(U.Spinner,null),Object(b.createElement)("h2",null,Object(m.__)("Preparing Content...","kadence-blocks"))),this.state.errorItems&&Object(b.createElement)("div",null,Object(b.createElement)("h2",{style:{textAlign:"center"}},Object(m.__)("Error, Unable to access library database, please try re-syncing","kadence-blocks")),Object(b.createElement)("div",{style:{textAlign:"center"}},Object(b.createElement)(U.Button,{className:"kt-reload-templates",icon:nr.a,onClick:()=>this.reloadTemplateData()},Object(m.__)(" Sync with Cloud","kadence-blocks")))),!1===a&&Object(b.createElement)(b.Fragment,null,this.loadTemplateData())):Object(b.createElement)(sr.a,{breakpointCols:d,className:"kb-css-masonry kb-core-section-library",columnClassName:"kb-css-masonry_column"},Object.keys(this.state.items).map((function(e,t){const l=a[e].name,i=a[e].slug,o=a[e].content,n=a[e].image,r=a[e].imageW,c=a[e].imageH,d=a[e].categories,p=a[e].keywords,g=s.state.items[e].description,u=s.state.isSubscribed,h=i+"_kb_cloud__item-description";if(("all"===s.state.category||Object.keys(d).includes(s.state.category))&&(!s.state.search||p&&p.some(e=>e.toLowerCase().includes(s.state.search.toLowerCase()))))return Object(b.createElement)("div",{className:"kb-css-masonry-inner"},Object(b.createElement)(U.Button,{key:e,className:"kb-css-masonry-btn",isSmall:!0,"aria-label":Object(m.sprintf)(
|
31 |
/* translators: %s is Prebuilt Name */
|
32 |
+
Object(m.__)("Add %s","kadence-blocks"),l),"aria-describedby":g?h:void 0,isDisabled:!u,onClick:()=>u?s.onInsertContent(o):""},Object(b.createElement)("div",{className:"kb-css-masonry-btn-inner",style:{paddingBottom:r&&c?(v=c/r*100,2,Number(Math.round(Number(v+"e2"))+"e"+-2)+"%"):void 0}},Object(b.createElement)("img",{src:n,loading:"lazy",alt:l}),Object(b.createElement)("span",{className:"kb-import-btn-title",dangerouslySetInnerHTML:{__html:l}}))),!!g&&Object(b.createElement)(U.VisuallyHidden,{id:h},g),void 0!==u&&!u&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)("div",{className:"kb-popover-pro-notice kb-subscribe-access"},Object(b.createElement)("h2",null,Object(m.__)("Subscribe to Kadence WP Product Updates for Instant Access","kadence-blocks")," "))));var v})))))}}var Jr=Object(w.compose)(Object(a.withSelect)((e,t)=>{let{clientId:l}=t;const{getBlock:a}=e("core/block-editor"),{canUserUseUnfilteredHTML:i}=e("core/editor");return{block:a(l),canUserUseUnfilteredHTML:i()}}),Object(a.withDispatch)((e,t)=>{let{block:l,canUserUseUnfilteredHTML:a}=t;return{import:t=>e("core/block-editor").replaceBlocks(l.clientId,Object(gt.rawHandler)({HTML:t,mode:"BLOCKS",canUserUseUnfilteredHTML:a}))}}))(Qr);const{localStorage:Yr}=window,{apiFetch:Xr}=wp,ec=[{slug:"section",title:Object(m.__)("Sections","kadence-blocks"),key:"kb-sections-tab"},{slug:"templates",title:Object(m.__)("Starter Packs","kadence-blocks"),key:"kb-templates-tab"},{slug:"wire",title:"Wireframe",key:"kb-wire-tab"},{slug:"cloud",title:"",key:"kb-cloud-tab"}],tc=[{slug:"section",title:Object(m.__)("Sections","kadence-blocks"),key:"kb-sections-tab"},{slug:"templates",title:Object(m.__)("Starter Packs","kadence-blocks"),key:"kb-templates-tab"},{slug:"wire",title:"Wireframe",key:"kb-wire-tab"}];class lc extends b.Component{constructor(){super(...arguments),this.saveSettings=this.saveSettings.bind(this),this.reloadAllActions=this.reloadAllActions.bind(this),this.showSettings=this.showSettings.bind(this),this.state={reload:!1,reloadActions:!1,isSaving:!1,isFetching:!1,modalOpen:!1,onlyModal:!1,section:null,cloudSettings:kadence_blocks_params.cloud_settings?JSON.parse(kadence_blocks_params.cloud_settings):{},actions:kadence_blocks_params.cloud_enabled?ec:tc,user:kadence_blocks_params.userrole?kadence_blocks_params.userrole:"admin",librarySettings:{}}}showSettings(e){return void 0===this.state.librarySettings[e]||"all"===this.state.librarySettings[e]||"contributor"===this.state.librarySettings[e]&&("contributor"===this.state.user||"author"===this.state.user||"editor"===this.state.user||"admin"===this.state.user)||"author"===this.state.librarySettings[e]&&("author"===this.state.user||"editor"===this.state.user||"admin"===this.state.user)||"editor"===this.state.librarySettings[e]&&("editor"===this.state.user||"admin"===this.state.user)||"admin"===this.state.librarySettings[e]&&"admin"===this.state.user}componentDidMount(){this.props.open&&this.props.onlyModal&&this.setState({modalOpen:!0,onlyModal:!0}),"object"==typeof kadence_blocks_params.prebuilt_libraries&&null!==kadence_blocks_params.prebuilt_libraries?this.setState({actions:Object(ut.applyFilters)("kadence.prebuilt_library_tabs",kadence_blocks_params.prebuilt_libraries.concat(this.state.actions))}):this.setState({actions:Object(ut.applyFilters)("kadence.prebuilt_library_tabs",this.state.actions)});const e=kadence_blocks_params.configuration?mr(kadence_blocks_params.configuration,!0):{};void 0!==e["kadence/designlibrary"]&&"object"==typeof e["kadence/designlibrary"]&&this.setState({librarySettings:e["kadence/designlibrary"]})}reloadAllActions(){this.setState({isFetching:!0}),Xr({path:"/wp/v2/settings"}).then(e=>{this.setState({reloadActions:!1,isFetching:!1,cloudSettings:JSON.parse(e.kadence_blocks_cloud)})})}saveSettings(e){kadence_blocks_params.cloud_settings=JSON.stringify(e),this.setState({isSaving:!0}),Xr({path:"/wp/v2/settings",method:"POST",data:{kadence_blocks_cloud:JSON.stringify(e)}}).then(e=>{this.setState({isSaving:!1})})}render(){const e=this.state.cloudSettings,t=mr(Yr.getItem("kadenceBlocksPrebuilt"),!0),l=t&&t.activeTab?t.activeTab:"section",a=this.state.section?this.state.section:l;let i=this.state.actions;return e&&e.connections&&(i=e.connections.concat(i)),this.state.reloadActions&&!this.state.isFetching&&this.reloadAllActions(),Object(b.createElement)(b.Fragment,null,Object(b.createElement)(U.Button,{className:"kt-prebuilt",onClick:()=>this.setState({modalOpen:!0})},Object(m.__)("Design Library","kadence-blocks")),this.state.modalOpen?Object(b.createElement)(U.Modal,{className:"kt-prebuilt-modal kb-prebuilt-library-modal",title:Object(m.__)("Design Library","kadence-blocks"),onRequestClose:()=>{this.setState({modalOpen:!1}),this.state.onlyModal&&this.props.removeBlock(this.props.clientId)}},Object(b.createElement)("div",{className:"kb-prebuilt-section"},Object(b.createElement)("div",{className:"kb-prebuilt-header kb-prebuilt-library-header"},Object(b.createElement)("div",{className:"kb-prebuilt-header kb-prebuilt-library-logo"},Object(b.createElement)("span",{className:"kb-prebuilt-header-logo"},cr.kadenceCatNew),Object(b.createElement)("h2",null,Object(m.__)("Library","Kadence Blocks"))),this.state.reloadActions&&Object(b.createElement)("div",{class:"kb-prebuilt-library-actions"},Object(b.createElement)(U.Spinner,null)),!this.state.reloadActions&&Object(b.createElement)("div",{class:"kb-prebuilt-library-actions"},i.map((e,t)=>Object(b.createElement)(b.Fragment,null,"wire"!==e.slug&&this.showSettings(e.slug)&&Object(b.createElement)(U.Button,{key:`${e.slug}-${t}`,className:"kb-action-button"+(a===e.slug?" is-pressed":""),"aria-pressed":a===e.slug,icon:"cloud"===e.slug?or.a:void 0,label:"cloud"===e.slug?Object(m.__)("Cloud Connect","kadence-blocks"):void 0,onClick:()=>{const t=mr(Yr.getItem("kadenceBlocksPrebuilt"),!0);t.activeTab=e.slug,Yr.setItem("kadenceBlocksPrebuilt",JSON.stringify(t)),this.setState({section:e.slug})}},"cloud"===e.slug?void 0:Object(b.createElement)("span",null," ",e.title," ")),"wire"===e.slug&&this.showSettings("wire")&&kadence_blocks_params.showWire&&(!kadence_blocks_params.subscribed&&("editor"===this.state.user||"admin"===this.state.user)||kadence_blocks_params.subscribed)&&Object(b.createElement)(U.Button,{key:`${e.slug}-${t}`,className:"kb-action-button"+(a===e.slug?" is-pressed":""),"aria-pressed":a===e.slug,icon:"cloud"===e.slug?or.a:void 0,onClick:()=>{const t=mr(Yr.getItem("kadenceBlocksPrebuilt"),!0);t.activeTab=e.slug,Yr.setItem("kadenceBlocksPrebuilt",JSON.stringify(t)),this.setState({section:e.slug})}},"cloud"===e.slug?void 0:Object(b.createElement)("span",null," ",e.title," ",Object(b.createElement)("span",{className:"new-notice"},Object(m.__)("New","kadence-blocks"))))))),"cloud"!==a&&Object(b.createElement)("div",{class:"kb-prebuilt-library-reload"},Object(b.createElement)(U.Button,{className:"kt-reload-templates",icon:nr.a,label:Object(m.__)("Sync with Cloud","kadence-blocks"),onClick:()=>this.setState({reload:!0})})),Object(b.createElement)("div",{class:"kb-prebuilt-header-close-wrap"},Object(b.createElement)(U.Button,{className:"kb-prebuilt-header-close",icon:Qa.a,label:Object(m.__)("Close Dialog","kadence-blocks"),onClick:()=>{this.setState({modalOpen:!1}),this.state.onlyModal&&this.props.removeBlock(this.props.clientId)}}))),"templates"===a&&Object(b.createElement)(zr,{clientId:this.props.clientId,reload:this.state.reload,onReload:()=>this.setState({reload:!1})}),"section"===a&&Object(b.createElement)(hr,{clientId:this.props.clientId,tab:a,reload:this.state.reload,onReload:()=>this.setState({reload:!1})}),"wire"===a&&Object(b.createElement)(Jr,{clientId:this.props.clientId,tab:a,reload:this.state.reload,onReload:()=>this.setState({reload:!1})}),"cloud"===a&&Object(b.createElement)(Zr,{clientId:this.props.clientId,onReload:()=>this.setState({reloadActions:!0})}),"templates"!==a&&"cloud"!==a&&"section"!==a&&"wire"!==a&&Object(b.createElement)(yr,{clientId:this.props.clientId,tab:a,libraries:i,reload:this.state.reload,onReload:()=>this.setState({reload:!1})}))):null)}}var ac=Object(w.compose)(Object(a.withDispatch)(e=>{const{removeBlock:t}=e("core/block-editor");return{removeBlock:t}}))(lc);const ic=Wl()(e=>e<10?"0.0"+e:e>=100?"1":"0."+e);class oc extends b.Component{constructor(){super(...arguments),this.getPreviewSize=this.getPreviewSize.bind(this)}getPreviewSize(e,t,l,a){if("Mobile"===e){if(void 0!==a&&""!==a&&null!==a)return a;if(void 0!==l&&""!==l&&null!==l)return l}else if("Tablet"===e&&void 0!==l&&""!==l&&null!==l)return l;return t}render(){const{attributes:{uniqueID:e,columns:t,mobileLayout:l,currentTab:a,colLayout:i,tabletLayout:o,columnGutter:n,collapseGutter:r,collapseOrder:c,topPadding:s,bottomPadding:d,leftPadding:m,rightPadding:p,topPaddingM:g,bottomPaddingM:u,leftPaddingM:h,rightPaddingM:v,topMargin:k,bottomMargin:y,topMarginM:f,bottomMarginM:O,bgColor:j,bgImg:_,bgImgAttachment:w,bgImgSize:x,bgImgPosition:E,bgImgRepeat:S,bgImgID:C,verticalAlignment:T,overlayOpacity:N,overlayBgImg:z,overlayBgImgAttachment:M,overlayBgImgID:I,overlayBgImgPosition:H,overlayBgImgRepeat:B,overlayBgImgSize:P,currentOverlayTab:R,overlayBlendMode:A,overlayGradAngle:L,overlayGradLoc:F,overlayGradLocSecond:W,overlayGradType:D,overlay:$,overlaySecond:U,tabletOverlay:V,mobileOverlay:Z,overlaySecondOpacity:G,overlayFirstOpacity:q},toggleSelection:K,className:Q,setAttributes:J,clientId:Y}=this.props,X=this.getPreviewSize(this.props.getPreviewDevice,$?pa($,void 0!==q&&""!==q?q:1):void 0,void 0!==V&&V[0]&&V[0].overlay&&V[0].enable?pa(V[0].overlay):"",void 0!==Z&&Z[0]&&Z[0].overlay&&Z[0].enable?pa(Z[0].overlay):""),ee=this.getPreviewSize(this.props.getPreviewDevice,U?pa(U,void 0!==G&&""!==G?G:1):void 0,pa(void 0!==V&&V[0]&&V[0].overlaySecond&&V[0].enable?V[0].overlaySecond:""),pa(void 0!==Z&&Z[0]&&Z[0].overlaySecond&&Z[0].enable?Z[0].overlaySecond:"")),te=this.getPreviewSize(this.props.getPreviewDevice,R||"normal",void 0!==V&&V[0]&&V[0].currentOverlayTab&&V[0].enable?V[0].currentOverlayTab:"",void 0!==Z&&Z[0]&&Z[0].currentOverlayTab&&Z[0].enable?Z[0].currentOverlayTab:""),le=this.getPreviewSize(this.props.getPreviewDevice,D||"linear",void 0!==V&&V[0]&&V[0].overlayGradType&&V[0].enable?V[0].overlayGradType:"",void 0!==Z&&Z[0]&&Z[0].overlayGradType&&Z[0].enable?Z[0].overlayGradType:""),ae=this.getPreviewSize(this.props.getPreviewDevice,L||180,void 0!==V&&V[0]&&V[0].overlayGradAngle&&V[0].enable?V[0].overlayGradAngle:"",void 0!==Z&&Z[0]&&Z[0].overlayGradAngle&&Z[0].enable?Z[0].overlayGradAngle:""),ie=this.getPreviewSize(this.props.getPreviewDevice,z?`url(${z})`:void 0,void 0!==V&&V[0]&&V[0].overlayBgImg&&V[0].enable?`url(${V[0].overlayBgImg})`:"",void 0!==Z&&Z[0]&&Z[0].overlayBgImg&&Z[0].enable?`url(${Z[0].overlayBgImg})`:""),oe=this.getPreviewSize(this.props.getPreviewDevice,P||void 0,void 0!==V&&V[0]&&V[0].overlayBgImgSize&&V[0].enable?V[0].overlayBgImgSize:"",void 0!==Z&&Z[0]&&Z[0].overlayBgImgSize&&Z[0].enable?Z[0].overlayBgImgSize:""),ne=this.getPreviewSize(this.props.getPreviewDevice,H||void 0,void 0!==V&&V[0]&&V[0].overlayBgImgPosition&&V[0].enable?V[0].overlayBgImgPosition:"",void 0!==Z&&Z[0]&&Z[0].overlayBgImgPosition&&Z[0].enable?Z[0].overlayBgImgPosition:""),re=this.getPreviewSize(this.props.getPreviewDevice,B||void 0,void 0!==V&&V[0]&&V[0].overlayBgImgRepeat&&V[0].enable?V[0].overlayBgImgRepeat:"",void 0!==Z&&Z[0]&&Z[0].overlayBgImgRepeat&&Z[0].enable?Z[0].overlayBgImgRepeat:""),ce=this.getPreviewSize(this.props.getPreviewDevice,M||void 0,void 0!==V&&V[0]&&V[0].overlayBgImgAttachment&&V[0].enable?V[0].overlayBgImgAttachment:"",void 0!==Z&&Z[0]&&Z[0].overlayBgImgAttachment&&Z[0].enable?Z[0].overlayBgImgAttachment:""),se=this.getPreviewSize(this.props.getPreviewDevice,void 0!==N?N:void 0,void 0!==V&&V[0]&&""!==V[0].overlayOpacity&&V[0].enable?V[0].overlayOpacity:"",void 0!==Z&&Z[0]&&""!==Z[0].overlayOpacity&&Z[0].enable?Z[0].overlayOpacity:""),de=this.getPreviewSize(this.props.getPreviewDevice,A||void 0,void 0!==V&&V[0]&&V[0].overlayBlendMod&&V[0].enable?V[0].overlayBlendMod:"",void 0!==Z&&Z[0]&&Z[0].overlayBlendMod&&Z[0].enable?Z[0].overlayBlendMod:""),be=this.getPreviewSize(this.props.getPreviewDevice,F||0,void 0!==V&&V[0]&&V[0].overlayGradLoc&&V[0].enable?V[0].overlayGradLoc:"",void 0!==Z&&Z[0]&&Z[0].overlayGradLoc&&Z[0].enable?Z[0].overlayGradLoc:""),me=this.getPreviewSize(this.props.getPreviewDevice,void 0!==W?W:100,void 0!==V&&V[0]&&V[0].overlayGradLocSecond&&V[0].enable?V[0].overlayGradLocSecond:"",void 0!==Z&&Z[0]&&Z[0].overlayGradLocSecond&&Z[0].enable?Z[0].overlayGradLocSecond:"");return Object(b.createElement)(b.Fragment,null,(!te||"grad"!==te)&&Object(b.createElement)("div",{className:"kt-row-layout-overlay kt-row-overlay-normal"+(ie&&"parallax"===ce?" kt-jarallax":""),"data-bg-img-id":I,style:{backgroundColor:X||void 0,backgroundImage:ie||void 0,backgroundSize:oe||void 0,backgroundPosition:ne||void 0,backgroundRepeat:re||void 0,backgroundAttachment:"parallax"===ce?"fixed":ce,mixBlendMode:de||void 0,opacity:void 0!==se&&Number.isInteger(se)?ic(se):void 0}}),te&&"grad"===te&&Object(b.createElement)("div",{className:"kt-row-layout-overlay kt-row-overlay-gradient","data-bg-img-id":I,style:{backgroundImage:"radial"===le?`radial-gradient(at ${ne}, ${X||""} ${be}%, ${ee||""} ${me}%)`:`linear-gradient(${ae}deg, ${X||""} ${be}%, ${ee||""} ${me}%)`,mixBlendMode:de||void 0,opacity:void 0!==se&&Number.isInteger(se)?ic(se):void 0}}))}}var nc=Object(w.compose)([Object(a.withSelect)((e,t)=>({getPreviewDevice:e("kadenceblocks/data").getPreviewDeviceType()}))])(oc),rc=l(35),cc=l.n(rc);class sc extends b.Component{constructor(){super(...arguments),this.getPreviewSize=this.getPreviewSize.bind(this)}getPreviewSize(e,t,l,a){if("Mobile"===e){if(void 0!==a&&""!==a&&null!==a)return a;if(void 0!==l&&""!==l&&null!==l)return l}else if("Tablet"===e&&void 0!==l&&""!==l&&null!==l)return l;return t}render(){const{attributes:{uniqueID:e,columns:t,mobileLayout:l,currentTab:a,colLayout:i,tabletLayout:o,columnGutter:n,collapseGutter:r,collapseOrder:c,topPadding:s,bottomPadding:d,leftPadding:m,rightPadding:p,topPaddingM:g,bottomPaddingM:u,leftPaddingM:h,rightPaddingM:v,topMargin:k,bottomMargin:y,topMarginM:f,bottomMarginM:O,bgColor:j,bgImg:_,bgImgAttachment:w,bgImgSize:x,bgImgPosition:E,bgImgRepeat:S,bgImgID:C,verticalAlignment:T,overlayOpacity:N,overlayBgImg:z,overlayBgImgAttachment:M,overlayBgImgID:I,overlayBgImgPosition:H,overlayBgImgRepeat:B,overlayBgImgSize:P,currentOverlayTab:R,overlayBlendMode:A,overlayGradAngle:L,overlayGradLoc:F,overlayGradLocSecond:W,overlayGradType:D,overlay:$,overlaySecond:V,htmlTag:Z,minHeight:G,maxWidth:q,bottomSep:K,bottomSepColor:Q,bottomSepHeight:J,bottomSepHeightMobile:Y,bottomSepHeightTab:X,bottomSepWidth:ee,bottomSepWidthMobile:te,bottomSepWidthTab:le,topSep:ae,topSepColor:ie,topSepHeight:oe,topSepHeightMobile:ne,topSepHeightTab:re,topSepWidth:ce,topSepWidthMobile:se,topSepWidthTab:de,firstColumnWidth:be,secondColumnWidth:me,textColor:pe,linkColor:ge,linkHoverColor:ue,tabletPadding:he,topMarginT:ve,bottomMarginT:ke,minHeightUnit:ye,maxWidthUnit:fe,marginUnit:Oe,columnsUnlocked:je,tabletBackground:_e,tabletOverlay:we,mobileBackground:xe,mobileOverlay:Ee,columnsInnerHeight:Se,zIndex:Ce,backgroundInline:Te,backgroundSettingTab:Ne,backgroundSliderCount:ze,backgroundSlider:Me,inheritMaxWidth:Ie,backgroundSliderSettings:He,backgroundVideo:Be,backgroundVideoType:Pe,overlaySecondOpacity:Re,overlayFirstOpacity:Ae,paddingUnit:Le,align:Fe,minHeightTablet:We,minHeightMobile:De,bgColorClass:$e,vsdesk:Ue,vstablet:Ve,vsmobile:Ze,loggedInUser:Ge,loggedIn:qe,loggedOut:Qe,loggedInShow:Je,borderWidth:Ye,tabletBorderWidth:Xe,mobileBorderWidth:et,borderRadius:tt,tabletBorderRadius:lt,mobileBorderRadius:at,border:it,tabletBorder:ot,mobileBorder:nt},toggleSelection:rt,className:ct,setAttributes:st,clientId:dt}=this.props,bt=this.getPreviewSize(this.props.getPreviewDevice,void 0!==k?k:"",void 0!==ve?ve:"",void 0!==f?f:""),mt=this.getPreviewSize(this.props.getPreviewDevice,void 0!==y?y:"",void 0!==ke?ke:"",void 0!==O?O:""),pt=this.getPreviewSize(this.props.getPreviewDevice,void 0!==j?j:"",void 0!==_e&&_e[0]&&_e[0].bgColor&&_e[0].enable?_e[0].bgColor:"",void 0!==xe&&xe[0]&&xe[0].bgColor&&xe[0].enable?xe[0].bgColor:""),gt=this.getPreviewSize(this.props.getPreviewDevice,void 0!==Ye?Ye[0]:"",void 0!==Xe?Xe[0]:"",void 0!==et?et[0]:""),ut=this.getPreviewSize(this.props.getPreviewDevice,void 0!==Ye?Ye[1]:"",void 0!==Xe?Xe[1]:"",void 0!==et?et[1]:""),ht=this.getPreviewSize(this.props.getPreviewDevice,void 0!==Ye?Ye[2]:"",void 0!==Xe?Xe[2]:"",void 0!==et?et[2]:""),vt=this.getPreviewSize(this.props.getPreviewDevice,void 0!==Ye?Ye[3]:"",void 0!==Xe?Xe[3]:"",void 0!==et?et[3]:""),kt=this.getPreviewSize(this.props.getPreviewDevice,void 0!==tt?tt[0]:"",void 0!==lt?lt[0]:"",void 0!==at?at[0]:""),yt=this.getPreviewSize(this.props.getPreviewDevice,void 0!==tt?tt[1]:"",void 0!==lt?lt[1]:"",void 0!==at?at[1]:""),ft=this.getPreviewSize(this.props.getPreviewDevice,void 0!==tt?tt[2]:"",void 0!==lt?lt[2]:"",void 0!==at?at[2]:""),Ot=this.getPreviewSize(this.props.getPreviewDevice,void 0!==tt?tt[3]:"",void 0!==lt?lt[3]:"",void 0!==at?at[3]:""),jt=this.getPreviewSize(this.props.getPreviewDevice,void 0!==it?it:"",void 0!==ot?ot:"",void 0!==nt?nt:"");let _t=this.getPreviewSize(this.props.getPreviewDevice,_?`url(${_})`:void 0,void 0!==_e&&_e[0]&&_e[0].bgImg&&_e[0].enable?`url(${_e[0].bgImg})`:"",void 0!==xe&&xe[0]&&xe[0].bgImg&&xe[0].enable?`url(${xe[0].bgImg})`:"");_t=this.getPreviewSize(this.props.getPreviewDevice,_t,void 0!==_e&&_e[0]&&_e[0].forceOverDesk&&_e[0].enable?"none":_t,void 0!==xe&&xe[0]&&xe[0].forceOverDesk&&xe[0].enable?"none":_t),"none"===_t&&(_t=void 0);const wt=this.getPreviewSize(this.props.getPreviewDevice,x||void 0,void 0!==_e&&_e[0]&&_e[0].bgImgSize&&_e[0].enable?_e[0].bgImgSize:"",void 0!==xe&&xe[0]&&xe[0].bgImgSize&&xe[0].enable?xe[0].bgImgSize:""),xt=this.getPreviewSize(this.props.getPreviewDevice,E||void 0,void 0!==_e&&_e[0]&&_e[0].bgImgPosition&&_e[0].enable?_e[0].bgImgPosition:"",void 0!==xe&&xe[0]&&xe[0].bgImgPosition&&xe[0].enable?xe[0].bgImgPosition:""),Et=this.getPreviewSize(this.props.getPreviewDevice,S||void 0,void 0!==_e&&_e[0]&&_e[0].bgImgRepeat&&_e[0].enable?_e[0].bgImgRepeat:"",void 0!==xe&&xe[0]&&xe[0].bgImgRepeat&&xe[0].enable?xe[0].bgImgRepeat:""),St=this.getPreviewSize(this.props.getPreviewDevice,w||void 0,void 0!==_e&&_e[0]&&_e[0].bgImgAttachment&&_e[0].enable?_e[0].bgImgAttachment:"",void 0!==xe&&xe[0]&&xe[0].bgImgAttachment&&xe[0].enable?xe[0].bgImgAttachment:""),Ct=this.getPreviewSize(this.props.getPreviewDevice,Ne||"normal",void 0!==_e&&_e[0]&&_e[0].enable?"normal":"",void 0!==xe&&xe[0]&&xe[0].enable?"normal":""),Tt={dots:!He||!He[0]||"none"!==He[0].dotStyle,arrows:!(!He||!He[0]||"none"===He[0].arrowStyle),infinite:!0,fade:!He||!He[0]||void 0===He[0].fade||He[0].fade,speed:He&&He[0]&&void 0!==He[0].tranSpeed?He[0].tranSpeed:400,draggable:!1,autoplaySpeed:He&&He[0]&&void 0!==He[0].speed?He[0].speed:7e3,autoplay:!He||!He[0]||void 0===He[0].autoPlay||He[0].autoPlay,slidesToShow:1,slidesToScroll:1,nextArrow:Object(b.createElement)((function(e){const{className:t,style:l,onClick:a}=e;return Object(b.createElement)("button",{className:t,style:{...l,display:"block"},onClick:a},Object(b.createElement)(U.Dashicon,{icon:"arrow-right-alt2"}))}),null),prevArrow:Object(b.createElement)((function(e){const{className:t,style:l,onClick:a}=e;return Object(b.createElement)("button",{className:t,style:{...l,display:"block"},onClick:a},Object(b.createElement)(U.Dashicon,{icon:"arrow-left-alt2"}))}),null)},Nt=e=>Object(b.createElement)("div",{className:"kb-bg-slide-contain"},Object(b.createElement)("div",{className:"kb-bg-slide kb-bg-slide-"+e,style:{backgroundColor:void 0!==Me&&void 0!==Me[e]&&void 0!==Me[e].bgColor?pa(Me[e].bgColor):void 0,backgroundImage:void 0!==Me&&void 0!==Me[e]&&void 0!==Me[e].bgImg?'url("'+Me[e].bgImg+'")':void 0,backgroundSize:x,backgroundPosition:E,backgroundRepeat:S}}));return Object(b.createElement)("div",{className:this.props.backgroundClasses,style:{marginBottom:mt+Oe,marginTop:bt+Oe,borderColor:jt?pa(jt):void 0,borderTopWidth:gt?gt+"px":void 0,borderRightWidth:ut?ut+"px":void 0,borderBottomWidth:ht?ht+"px":void 0,borderLeftWidth:vt?vt+"px":void 0,borderTopLeftRadius:kt?kt+"px":void 0,borderTopRightRadius:yt?yt+"px":void 0,borderBottomRightRadius:ft?ft+"px":void 0,borderBottomLeftRadius:Ot?Ot+"px":void 0,minHeight:G+ye,zIndex:Ce||void 0}},"slider"!==Ct&&"video"!==Ct&&Object(b.createElement)("div",{className:"kt-row-layout-background"+(_t&&"parallax"===St?" kt-jarallax":""),"data-bg-img-id":C,style:{backgroundColor:pt?pa(pt):void 0,backgroundImage:_t||void 0,backgroundSize:wt||void 0,backgroundPosition:xt||void 0,backgroundRepeat:Et||void 0}}),"slider"===Ct&&Object(b.createElement)("div",{className:"kt-blocks-carousel kb-blocks-bg-slider kt-carousel-container-dotstyle-"+(He&&He[0]&&void 0!==He[0].dotStyle?He[0].dotStyle:"dark")},1!==ze&&Object(b.createElement)(cc.a,Ke()({className:`kt-carousel-arrowstyle-${He&&He[0]&&void 0!==He[0].arrowStyle?He[0].arrowStyle:"none"} kt-carousel-dotstyle-${He&&He[0]&&void 0!==He[0].dotStyle?He[0].dotStyle:"dark"}`},Tt),io()(ze,e=>Nt(e))),1===(void 0!==ze?ze:1)&&io()(void 0!==ze?ze:1,e=>Nt(e))),"video"===Ct&&Object(b.createElement)("div",{className:"kb-blocks-bg-video-container",style:{backgroundColor:pt?pa(pt):void 0}},(void 0===Pe||"local"===Pe)&&Object(b.createElement)("video",{className:"kb-blocks-bg-video",playsinline:"",loop:"",src:void 0!==Be&&void 0!==Be[0]&&void 0!==Be[0].local?Be[0].local:void 0}),"youtube"===Pe&&Object(b.createElement)("div",{className:"kb-blocks-bg-video",style:{backgroundImage:`url(https://img.youtube.com/vi/${Be[0].youtube}/maxresdefault.jpg)`}})),this.props.children)}}var dc=Object(w.compose)([Object(a.withSelect)((e,t)=>({getPreviewDevice:e("kadenceblocks/data").getPreviewDeviceType()}))])(sc);const{Path:bc,SVG:mc}=wp.components;function pc(e){let{value:t,isPressed:l=!1}=e;const a={top:"M19.5 19.5H.5V.5h19v19zM1.607 18.392h16.786V1.608H1.607v16.784zM17.178 2.888H2.822v3.275h14.356V2.888z",middle:"M19.5 19.482H.5V.5h19v18.982zM1.607 18.375h16.786V1.607H1.607v16.768zm15.571-10.02H2.822v3.272h14.356V8.355z",bottom:"M19.518 19.5H.5V.5h19.018v19zm-17.91-1.108H18.41V1.608H1.608v16.784zm15.586-4.739H2.824v3.275h14.37v-3.275z"};return a.hasOwnProperty(t)?Object(b.createElement)(mc,{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",isPressed:l},Object(b.createElement)(bc,{d:a[t]})):null}const{Path:gc,SVG:uc}=wp.components;function hc(e){let{value:t,isPressed:l=!1}=e;const a={normal:"M19.5 19.482H.5V.5h19v18.982zM1.607 18.375h16.786V1.607H1.607v16.768zm12.247-9.23l-1.599-1.599 1.269-1.231 3.655 3.693-3.655 3.692-1.269-1.23 1.614-1.615H6.15l1.614 1.615-1.268 1.23-3.655-3.692 3.655-3.693 1.268 1.231-1.598 1.599h7.688z",theme:"M19.5 19.482H.5V.5h19v18.982zM1.607 18.375h16.786V1.607H1.607v16.768zm13.838-9.23H4.557V6.756H2.846v6.488h1.711v-2.389h10.888v2.389h1.711V6.756h-1.711v2.389z"};return a.hasOwnProperty(t)?Object(b.createElement)(uc,{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",isPressed:l},Object(b.createElement)(gc,{d:a[t]})):null}const vc=Wl()(e=>io()(e,e=>["kadence/column",{id:e+1}])),kc=["kadence/column"],yc=[];class fc extends b.Component{constructor(){super(...arguments),this.showSettings=this.showSettings.bind(this),this.saveSlideItem=this.saveSlideItem.bind(this),this.getPreviewSize=this.getPreviewSize.bind(this),this.getDynamic=this.getDynamic.bind(this),this.state={firstWidth:null,secondWidth:null,showPreset:!1,contentWidthPop:!1,borderWidthControl:"individual",borderRadiusControl:"individual",user:kadence_blocks_params.userrole?kadence_blocks_params.userrole:"admin",settings:{}},this.debouncedUpdateDynamic=wl()(this.getDynamic.bind(this),200)}componentDidMount(){if(this.props.attributes.uniqueID)yc.includes(this.props.attributes.uniqueID)?(this.props.attributes.uniqueID="_"+this.props.clientId.substr(2,9),yc.push("_"+this.props.clientId.substr(2,9))):yc.push(this.props.attributes.uniqueID);else{const e=kadence_blocks_params.config["kadence/rowlayout"],t=kadence_blocks_params.configuration?JSON.parse(kadence_blocks_params.configuration):[];void 0!==this.props.attributes.noCustomDefaults&&this.props.attributes.noCustomDefaults||(void 0!==t["kadence/rowlayout"]&&"object"==typeof t["kadence/rowlayout"]?Object.keys(t["kadence/rowlayout"]).map(e=>{this.props.attributes[e]=t["kadence/rowlayout"][e]}):void 0!==e&&"object"==typeof e&&Object.keys(e).map(t=>{this.props.attributes[t]=e[t]})),this.props.setAttributes({uniqueID:"_"+this.props.clientId.substr(2,9)}),yc.push("_"+this.props.clientId.substr(2,9))}const e=kadence_blocks_params.settings?JSON.parse(kadence_blocks_params.settings):{};void 0!==e["kadence/rowlayout"]&&"object"==typeof e["kadence/rowlayout"]&&this.setState({settings:e["kadence/rowlayout"]}),this.props.attributes.borderRadius&&this.props.attributes.borderRadius[0]===this.props.attributes.borderRadius[1]&&this.props.attributes.borderRadius[0]===this.props.attributes.borderRadius[2]&&this.props.attributes.borderRadius[0]===this.props.attributes.borderRadius[3]?this.setState({borderRadiusControl:"linked"}):this.setState({borderRadiusControl:"individual"}),this.props.context&&(this.props.context.queryId||Number.isFinite(this.props.context.queryId))&&this.props.context.postId?this.props.attributes.inQueryBlock||this.props.setAttributes({inQueryBlock:!0}):this.props.attributes.inQueryBlock&&this.props.setAttributes({inQueryBlock:!1}),this.debouncedUpdateDynamic()}getDynamic(){let e=null;this.props.context&&(this.props.context.queryId||Number.isFinite(this.props.context.queryId))&&this.props.context.postId&&(e=this.props.context.postId),this.props.attributes.kadenceDynamic&&this.props.attributes.kadenceDynamic.bgImg&&this.props.attributes.kadenceDynamic.bgImg.enable&&Object(ut.applyFilters)("kadence.dynamicBackground","",this.props.attributes,this.props.setAttributes,"bgImg",e),this.props.attributes.kadenceDynamic&&this.props.attributes.kadenceDynamic.overlayBgImg&&this.props.attributes.kadenceDynamic.overlayBgImg.enable&&Object(ut.applyFilters)("kadence.dynamicBackground","",this.props.attributes,this.props.setAttributes,"overlayBgImg",e),this.props.attributes.kadenceDynamic&&this.props.attributes.kadenceDynamic["tabletBackground:0:bgImg"]&&this.props.attributes.kadenceDynamic["tabletBackground:0:bgImg"].enable&&Object(ut.applyFilters)("kadence.dynamicBackground","",this.props.attributes,this.props.setAttributes,"tabletBackground:0:bgImg",e),this.props.attributes.kadenceDynamic&&this.props.attributes.kadenceDynamic["tabletOverlay:0:overlayBgImg"]&&this.props.attributes.kadenceDynamic["tabletOverlay:0:overlayBgImg"].enable&&Object(ut.applyFilters)("kadence.dynamicBackground","",this.props.attributes,this.props.setAttributes,"tabletOverlay:0:overlayBgImg",e),this.props.attributes.kadenceDynamic&&this.props.attributes.kadenceDynamic["mobileBackground:0:bgImg"]&&this.props.attributes.kadenceDynamic["mobileBackground:0:bgImg"].enable&&Object(ut.applyFilters)("kadence.dynamicBackground","",this.props.attributes,this.props.setAttributes,"mobileBackground:0:bgImg",e),this.props.attributes.kadenceDynamic&&this.props.attributes.kadenceDynamic["mobileOverlay:0:overlayBgImg"]&&this.props.attributes.kadenceDynamic["mobileOverlay:0:overlayBgImg"].enable&&Object(ut.applyFilters)("kadence.dynamicBackground","",this.props.attributes,this.props.setAttributes,"mobileOverlay:0:overlayBgImg",e)}showSettings(e){return void 0===this.state.settings[e]||"all"===this.state.settings[e]||"contributor"===this.state.settings[e]&&("contributor"===this.state.user||"author"===this.state.user||"editor"===this.state.user||"admin"===this.state.user)||"author"===this.state.settings[e]&&("author"===this.state.user||"editor"===this.state.user||"admin"===this.state.user)||"editor"===this.state.settings[e]&&("editor"===this.state.user||"admin"===this.state.user)||"admin"===this.state.settings[e]&&"admin"===this.state.user}saveSlideItem(e,t){let l=this.props.attributes.backgroundSlider;(void 0===l||void 0!==l&&void 0===l[0])&&(l=[{bgColor:"",bgImg:"",bgImgID:""}]);const a=l.map((l,a)=>(a===t&&(l={...l,...e}),l));this.props.setAttributes({backgroundSlider:a})}getPreviewSize(e,t,l,a){if("Mobile"===e){if(void 0!==a&&""!==a&&null!==a)return a;if(void 0!==l&&""!==l&&null!==l)return l}else if("Tablet"===e&&void 0!==l&&""!==l&&null!==l)return l;return t}render(){var e;const{attributes:{uniqueID:t,columns:l,mobileLayout:a,currentTab:i,colLayout:o,tabletLayout:n,columnGutter:r,collapseGutter:c,collapseOrder:s,topPadding:d,bottomPadding:p,leftPadding:u,rightPadding:v,topPaddingM:y,bottomPaddingM:f,leftPaddingM:O,rightPaddingM:j,topMargin:_,bottomMargin:w,topMarginM:x,bottomMarginM:S,bgColor:C,bgImg:T,bgImgAttachment:N,bgImgSize:z,bgImgPosition:M,bgImgRepeat:I,bgImgID:H,verticalAlignment:B,overlayOpacity:P,overlayBgImg:R,overlayBgImgAttachment:A,overlayBgImgID:L,overlayBgImgPosition:F,overlayBgImgRepeat:W,overlayBgImgSize:D,currentOverlayTab:V,overlayBlendMode:G,overlayGradAngle:q,overlayGradLoc:K,overlayGradLocSecond:Q,overlayGradType:J,overlay:Y,overlaySecond:X,htmlTag:ee,minHeight:te,maxWidth:le,bottomSep:ae,bottomSepColor:ie,bottomSepHeight:oe,bottomSepHeightMobile:ne,bottomSepHeightTab:re,bottomSepWidth:ce,bottomSepWidthMobile:se,bottomSepWidthTab:de,topSep:be,topSepColor:me,topSepHeight:pe,topSepHeightMobile:ge,topSepHeightTab:ue,topSepWidth:he,topSepWidthMobile:ve,topSepWidthTab:ke,firstColumnWidth:ye,secondColumnWidth:fe,textColor:Oe,linkColor:je,linkHoverColor:_e,tabletPadding:we,topMarginT:xe,bottomMarginT:Ee,minHeightUnit:Se,maxWidthUnit:Te,marginUnit:Ne,columnsUnlocked:ze,tabletBackground:Me,tabletOverlay:Ie,mobileBackground:He,mobileOverlay:Be,columnsInnerHeight:Pe,zIndex:Re,backgroundInline:Ae,backgroundSettingTab:Le,backgroundSliderCount:Fe,backgroundSlider:We,inheritMaxWidth:$e,backgroundSliderSettings:Ue,backgroundVideo:Ve,backgroundVideoType:Ze,overlaySecondOpacity:qe,overlayFirstOpacity:Qe,paddingUnit:Je,align:Ye,minHeightTablet:Xe,minHeightMobile:et,bgColorClass:tt,vsdesk:lt,vstablet:at,vsmobile:it,loggedInUser:ot,loggedIn:nt,loggedOut:rt,loggedInShow:ct,rcpAccess:st,rcpMembership:dt,rcpMembershipLevel:bt,borderWidth:mt,tabletBorderWidth:pt,mobileBorderWidth:gt,borderRadius:ut,tabletBorderRadius:ht,mobileBorderRadius:vt,border:kt,tabletBorder:yt,mobileBorder:ft,isPrebuiltModal:Ot,responsiveMaxWidth:jt,kadenceBlockCSS:_t},toggleSelection:wt,className:Et,setAttributes:St,clientId:Ct}=this.props,{borderWidthControl:Tt,borderRadiusControl:Nt,contentWidthPop:zt}=this.state,Mt=(null===(e=document.querySelector('iframe[name="editor-canvas"]'))||void 0===e?void 0:e.contentWindow.document)||document,It=e=>{const t=Me.map((t,l)=>(0===l&&(t={...t,...e}),t));St({tabletBackground:t})},Ht=e=>{const t=Ie.map((t,l)=>(0===l&&(t={...t,...e}),t));St({tabletOverlay:t})},Bt=e=>{const t=He.map((t,l)=>(0===l&&(t={...t,...e}),t));St({mobileBackground:t})},Rt=e=>{const t=Be.map((t,l)=>(0===l&&(t={...t,...e}),t));St({mobileOverlay:t})},At="px"===Se?2e3:200,Lt="px"===Te?2e3:100,Ft="em"===Ne||"rem"===Ne?-12:-200,Wt="em"===Ne||"rem"===Ne?24:200,Dt="em"===Ne||"rem"===Ne?.1:1,$t="em"===Je||"rem"===Je?24:500,Ut="em"===Je||"rem"===Je?.1:1,Vt=this.getPreviewSize(this.props.getPreviewDevice,void 0!==d?d:"",void 0!==we?we[0]:"",void 0!==y?y:""),Zt=this.getPreviewSize(this.props.getPreviewDevice,void 0!==v?v:"",void 0!==we?we[1]:"",void 0!==j?j:""),Gt=this.getPreviewSize(this.props.getPreviewDevice,void 0!==p?p:"",void 0!==we?we[2]:"",void 0!==f?f:""),qt=this.getPreviewSize(this.props.getPreviewDevice,void 0!==u?u:"",void 0!==we?we[3]:"",void 0!==O?O:""),Kt=this.getPreviewSize(this.props.getPreviewDevice,void 0!==le?le:"",void 0!==jt&&jt[0]?jt[0]:"",void 0!==jt&&jt[1]?jt[1]:""),Qt=this.getPreviewSize(this.props.getPreviewDevice,void 0!==pe?pe:"",void 0!==ue?ue:"",void 0!==ge?ge:""),Jt=this.getPreviewSize(this.props.getPreviewDevice,void 0!==he?he:"",void 0!==ke?ke:"",void 0!==ve?ve:""),Yt=this.getPreviewSize(this.props.getPreviewDevice,void 0!==oe?oe:"",void 0!==re?re:"",void 0!==ne?ne:""),Xt=this.getPreviewSize(this.props.getPreviewDevice,void 0!==ce?ce:"",void 0!==de?de:"",void 0!==se?se:"");let el=!1;void 0!==ut&&void 0!==ut[0]&&ut[0]&&(el=!0),void 0!==ut&&void 0!==ut[1]&&ut[1]&&(el=!0),void 0!==ut&&void 0!==ut[2]&&ut[2]&&(el=!0),void 0!==ut&&void 0!==ut[3]&&ut[3]&&(el=!0);const tl=(e,l,a)=>{let i,o;ze?(i=Math.round(10*parseFloat(a.style.width))/10,o=Math.round(10*(100-i))/10):(i=5*Math.round(parseInt(a.style.width)/5),o=100-5*Math.round(parseInt(a.style.width)/5)),this.setState({firstWidth:i}),this.setState({secondWidth:o}),Mt.getElementById("left-column-width-"+t).innerHTML=i+"%",Mt.getElementById("right-column-width-"+t).innerHTML=o+"%"},ll=(e,t,l)=>{let a,i;ze?(a=Math.round(10*parseFloat(l.style.width))/10,i=Math.round(10*(100-a))/10):(a=5*Math.round(parseInt(l.style.width)/5),i=100-5*Math.round(parseInt(l.style.width)/5)),St({firstColumnWidth:a}),St({secondColumnWidth:i}),this.setState({firstWidth:null,secondWidth:null})},al=this.state.firstWidth,il=this.state.secondWidth,ol=""+(al||ye||o),nl=""+(il||fe||o);let rl,cl;rl=3===l?this.state.firstWidth?Math.abs(Math.round(10*(parseFloat(this.state.firstWidth)+parseFloat(this.state.secondWidth)-100))/10):Math.abs(ye)===parseFloat(ye)?Math.abs(Math.round(10*(parseFloat(ye)+parseFloat(fe)-100))/10):o:o,cl=ol===parseFloat(ol)?ol+"%":"left-golden"===ol?"66.67%":"right-golden"===ol?"33.37%":"50%";const sl=o||"equal",dl=n||"inherit",bl=a||"inherit",ml=!l||2!==l&&3!==l?o:ol,pl=C||T||Y||R?"kt-row-has-bg":"",gl=xt()({[Et]:Et,"kt-row-column-wrap":!0,["kb-row-id-"+t]:t,[`kt-has-${l}-columns`]:l,["kt-row-layout-"+sl]:sl,["kt-row-valign-"+B]:B,["kt-tab-layout-"+dl]:dl,["kt-mobile-layout-"+bl]:bl,["current-tab-"+i]:i,["kt-gutter-"+r]:r,["kt-v-gutter-"+c]:c,["kt-m-colapse-"+s]:s,["kt-custom-first-width-"+ol]:ol,["kt-custom-second-width-"+nl]:nl,["kt-custom-third-width-"+rl]:rl,[pl]:pl,"has-border-radius":el,"kt-inner-column-height-full":Pe,"kvs-lg-false":"undefined"!==lt&<,"kvs-md-false":"undefined"!==at&&at,"kvs-sm-false":"undefined"!==it&&it,"kadence-has-rcp-display":dt&&kadence_blocks_params&&kadence_blocks_params.rcp_access});let ul,hl;const vl=[{key:"equal",col:1,name:Object(m.__)("Row","kadence-blocks"),icon:g.row},{key:"equal",col:2,name:Object(m.__)("Two: Equal","kadence-blocks"),icon:g.twocol},{key:"left-golden",col:2,name:Object(m.__)("Two: Left Heavy 66/33","kadence-blocks"),icon:g.twoleftgolden},{key:"right-golden",col:2,name:Object(m.__)("Two: Right Heavy 33/66","kadence-blocks"),icon:g.tworightgolden},{key:"equal",col:3,name:Object(m.__)("Three: Equal","kadence-blocks"),icon:g.threecol},{key:"left-half",col:3,name:Object(m.__)("Three: Left Heavy 50/25/25","kadence-blocks"),icon:g.lefthalf},{key:"right-half",col:3,name:Object(m.__)("Three: Right Heavy 25/25/50","kadence-blocks"),icon:g.righthalf},{key:"center-half",col:3,name:Object(m.__)("Three: Center Heavy 25/50/25","kadence-blocks"),icon:g.centerhalf},{key:"center-wide",col:3,name:Object(m.__)("Three: Wide Center 20/60/20","kadence-blocks"),icon:g.widecenter},{key:"center-exwide",col:3,name:Object(m.__)("Three: Wider Center 15/70/15","kadence-blocks"),icon:g.exwidecenter},{key:"equal",col:4,name:Object(m.__)("Four: Equal","kadence-blocks"),icon:g.fourcol},{key:"left-forty",col:4,name:Object(m.__)("Four: Left Heavy 40/20/20/20","kadence-blocks"),icon:g.lfourforty},{key:"right-forty",col:4,name:Object(m.__)("Four: Right Heavy 20/20/20/40","kadence-blocks"),icon:g.rfourforty},{key:"equal",col:5,name:Object(m.__)("Five: Equal","kadence-blocks"),icon:g.fivecol},{key:"equal",col:6,name:Object(m.__)("Six: Equal","kadence-blocks"),icon:g.sixcol}],kl=e=>{let t;t=void 0===Ue||void 0!==Ue&&void 0===Ue[0]?[{youTube:"",local:"",localID:"",vimeo:"",ratio:"16/9",btns:!1,loop:!0,mute:!0}]:Ue;const l=t.map((t,l)=>(0===l&&(t={...t,...e}),t));St({backgroundSliderSettings:l})},yl=e=>{let t;t=void 0===Ve||void 0!==Ve&&void 0===Ve[0]?[{youTube:"",local:"",localID:"",vimeo:"",ratio:"16/9",btns:!1,loop:!0,mute:!0}]:Ve;const l=t.map((t,l)=>(0===l&&(t={...t,...e}),t));St({backgroundVideo:l})},fl={};fl.ct=Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z"}),fl.cti=Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"}),fl.ctd=Object(b.createElement)(b.Fragment,null,Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,20l-500,78l-500,-78l0,80l1000,0l0,-80Z"})),fl.ctdi=Object(b.createElement)(b.Fragment,null,Object(b.createElement)("path",{d:"M500,2l500,78l0,20l-1000,0l0,-20l500,-78Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"})),fl.sltl=Object(b.createElement)("path",{d:"M1000,0l-1000,100l1000,0l0,-100Z"}),fl.sltli=Object(b.createElement)("path",{d:"M0,100l1000,-100l-1000,0l0,100Z"}),fl.sltr=Object(b.createElement)("path",{d:"M0,0l1000,100l-1000,0l0,-100Z"}),fl.sltri=Object(b.createElement)("path",{d:"M1000,100l-1000,-100l1000,0l0,100Z"}),fl.crv=Object(b.createElement)("path",{d:"M1000,100c0,0 -270.987,-98 -500,-98c-229.013,0 -500,98 -500,98l1000,0Z"}),fl.crvi=Object(b.createElement)("path",{d:"M1000,0c0,0 -270.987,98 -500,98c-229.013,0 -500,-98 -500,-98l0,100l1000,0l0,-100Z"}),fl.crvl=Object(b.createElement)("path",{d:"M1000,100c0,0 -420.987,-98 -650,-98c-229.013,0 -350,98 -350,98l1000,0Z"}),fl.crvli=Object(b.createElement)("path",{d:"M1000,0c0,0 -420.987,98 -650,98c-229.013,0 -350,-98 -350,-98l0,100l1000,0l0,-100Z"}),fl.crvr=Object(b.createElement)("path",{d:"M1000,100c0,0 -120.987,-98 -350,-98c-229.013,0 -650,98 -650,98l1000,0Z"}),fl.crvri=Object(b.createElement)("path",{d:"M1000,0c0,0 -120.987,98 -350,98c-229.013,0 -650,-98 -650,-98l0,100l1000,0l0,-100Z"}),fl.wave=Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}),fl.wavei=Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}),fl.waves=Object(b.createElement)(b.Fragment,null,Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,73 -500,73c-154.895,0 -250,-45 -250,-45l0,70l1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,68 -500,68c-154.895,0 -250,-65 -250,-65l0,95l1000,0l0,-60Z",style:{opacity:.4}})),fl.wavesi=Object(b.createElement)(b.Fragment,null,Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,73 500,73c154.895,0 250,-45 250,-45l0,70l-1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,68 500,68c154.895,0 250,-65 250,-65l0,95l-1000,0l0,-60Z",style:{opacity:.4}})),fl.mtns=Object(b.createElement)(b.Fragment,null,Object(b.createElement)("path",{d:"M1000,50l-182.69,-45.286l-292.031,61.197l-190.875,-41.075l-143.748,28.794l-190.656,-23.63l0,70l1000,0l0,-50Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,57l-152.781,-22.589l-214.383,19.81l-159.318,-21.471l-177.44,25.875l-192.722,5.627l-103.356,-27.275l0,63.023l1000,0l0,-43Z"})),fl.littri=Object(b.createElement)("path",{d:"M500,2l25,98l-50,0l25,-98Z"}),fl.littrii=Object(b.createElement)("path",{d:"M1000,100l-1000,0l0,-100l475,0l25,98l25,-98l475,0l0,100Z"}),fl.threelevels=Object(b.createElement)(b.Fragment,null,Object(b.createElement)("path",{style:{opacity:.33},d:"M0 95L1000 0v100H0v-5z"}),Object(b.createElement)("path",{style:{opacity:.66},d:"M0 95l1000-67.944V100H0v-5z"}),Object(b.createElement)("path",{d:"M0 95l1000-40.887V100H0v-5z"})),fl.threelevelsi=Object(b.createElement)(b.Fragment,null,Object(b.createElement)("path",{style:{opacity:.33},d:"M1000 95L0 0v100h1000v-5z"}),Object(b.createElement)("path",{style:{opacity:.66},d:"M1000 95L0 27.056V100h1000v-5z"}),Object(b.createElement)("path",{d:"M1000 95L0 54.113V100h1000v-5z"}));const Ol={};Ol.ct=Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z"}),Ol.cti=Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"}),Ol.ctd=Object(b.createElement)(b.Fragment,null,Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,20l-500,78l-500,-78l0,80l1000,0l0,-80Z"})),Ol.ctdi=Object(b.createElement)(b.Fragment,null,Object(b.createElement)("path",{d:"M500,2l500,78l0,20l-1000,0l0,-20l500,-78Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"})),Ol.sltl=Object(b.createElement)("path",{d:"M1000,0l-1000,100l1000,0l0,-100Z"}),Ol.sltli=Object(b.createElement)("path",{d:"M0,100l1000,-100l-1000,0l0,100Z"}),Ol.sltr=Object(b.createElement)("path",{d:"M0,0l1000,100l-1000,0l0,-100Z"}),Ol.sltri=Object(b.createElement)("path",{d:"M1000,100l-1000,-100l1000,0l0,100Z"}),Ol.crv=Object(b.createElement)("path",{d:"M1000,100c0,0 -270.987,-98 -500,-98c-229.013,0 -500,98 -500,98l1000,0Z"}),Ol.crvi=Object(b.createElement)("path",{d:"M1000,0c0,0 -270.987,98 -500,98c-229.013,0 -500,-98 -500,-98l0,100l1000,0l0,-100Z"}),Ol.crvl=Object(b.createElement)("path",{d:"M1000,100c0,0 -420.987,-98 -650,-98c-229.013,0 -350,98 -350,98l1000,0Z"}),Ol.crvli=Object(b.createElement)("path",{d:"M1000,0c0,0 -420.987,98 -650,98c-229.013,0 -350,-98 -350,-98l0,100l1000,0l0,-100Z"}),Ol.crvr=Object(b.createElement)("path",{d:"M1000,100c0,0 -120.987,-98 -350,-98c-229.013,0 -650,98 -650,98l1000,0Z"}),Ol.crvri=Object(b.createElement)("path",{d:"M1000,0c0,0 -120.987,98 -350,98c-229.013,0 -650,-98 -650,-98l0,100l1000,0l0,-100Z"}),Ol.wave=Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}),Ol.wavei=Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}),Ol.waves=Object(b.createElement)(b.Fragment,null,Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,73 -500,73c-154.895,0 -250,-45 -250,-45l0,70l1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,68 -500,68c-154.895,0 -250,-65 -250,-65l0,95l1000,0l0,-60Z",style:{opacity:.4}})),Ol.wavesi=Object(b.createElement)(b.Fragment,null,Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,73 500,73c154.895,0 250,-45 250,-45l0,70l-1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,68 500,68c154.895,0 250,-65 250,-65l0,95l-1000,0l0,-60Z",style:{opacity:.4}})),Ol.mtns=Object(b.createElement)(b.Fragment,null,Object(b.createElement)("path",{d:"M1000,50l-182.69,-45.286l-292.031,61.197l-190.875,-41.075l-143.748,28.794l-190.656,-23.63l0,70l1000,0l0,-50Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,57l-152.781,-22.589l-214.383,19.81l-159.318,-21.471l-177.44,25.875l-192.722,5.627l-103.356,-27.275l0,63.023l1000,0l0,-43Z"})),Ol.littri=Object(b.createElement)("path",{d:"M500,2l25,98l-50,0l25,-98Z"}),Ol.littrii=Object(b.createElement)("path",{d:"M1000,100l-1000,0l0,-100l475,0l25,98l25,-98l475,0l0,100Z"}),Ol.threelevels=Object(b.createElement)(b.Fragment,null,Object(b.createElement)("path",{style:{opacity:.33},d:"M0 95L1000 0v100H0v-5z"}),Object(b.createElement)("path",{style:{opacity:.66},d:"M0 95l1000-67.944V100H0v-5z"}),Object(b.createElement)("path",{d:"M0 95l1000-40.887V100H0v-5z"})),Ol.threelevelsi=Object(b.createElement)(b.Fragment,null,Object(b.createElement)("path",{style:{opacity:.33},d:"M1000 95L0 0v100h1000v-5z"}),Object(b.createElement)("path",{style:{opacity:.66},d:"M1000 95L0 27.056V100h1000v-5z"}),Object(b.createElement)("path",{d:"M1000 95L0 54.113V100h1000v-5z"})),ul=2===l?[{key:"equal",name:Object(m.__)("Equal","kadence-blocks"),icon:g.twocol},{key:"left-golden",name:Object(m.__)("Left Heavy 66/33","kadence-blocks"),icon:g.twoleftgolden},{key:"right-golden",name:Object(m.__)("Right Heavy 33/66","kadence-blocks"),icon:g.tworightgolden},{key:"row",name:Object(m.__)("Collapse to Rows","kadence-blocks"),icon:g.collapserow}]:3===l?[{key:"equal",name:Object(m.__)("Equal","kadence-blocks"),icon:g.threecol},{key:"left-half",name:Object(m.__)("Left Heavy 50/25/25","kadence-blocks"),icon:g.lefthalf},{key:"right-half",name:Object(m.__)("Right Heavy 25/25/50","kadence-blocks"),icon:g.righthalf},{key:"center-half",name:Object(m.__)("Center Heavy 25/50/25","kadence-blocks"),icon:g.centerhalf},{key:"center-wide",name:Object(m.__)("Wide Center 20/60/20","kadence-blocks"),icon:g.widecenter},{key:"center-exwide",name:Object(m.__)("Wider Center 15/70/15","kadence-blocks"),icon:g.exwidecenter},{key:"row",name:Object(m.__)("Collapse to Rows","kadence-blocks"),icon:g.collapserowthree}]:4===l?[{key:"equal",name:Object(m.__)("Equal","kadence-blocks"),icon:g.fourcol},{key:"left-forty",name:Object(m.__)("Left Heavy 40/20/20/20","kadence-blocks"),icon:g.lfourforty},{key:"right-forty",name:Object(m.__)("Right Heavy 20/20/20/40","kadence-blocks"),icon:g.rfourforty},{key:"row",name:Object(m.__)("Collapse to Rows","kadence-blocks"),icon:g.collapserowfour}]:5===l?[{key:"equal",name:Object(m.__)("Equal","kadence-blocks"),icon:g.fivecol},{key:"row",name:Object(m.__)("Collapse to Rows","kadence-blocks"),icon:g.collapserowfive}]:6===l?[{key:"equal",name:Object(m.__)("Equal","kadence-blocks"),icon:g.sixcol},{key:"row",name:Object(m.__)("Collapse to Rows","kadence-blocks"),icon:g.collapserowsix}]:[{key:"equal",name:Object(m.__)("Single Row","kadence-blocks"),icon:g.row}],hl=2===l?[{key:"equal",name:Object(m.__)("Equal","kadence-blocks"),icon:g.twocol},{key:"left-golden",name:Object(m.__)("Left Heavy 66/33","kadence-blocks"),icon:g.twoleftgolden},{key:"right-golden",name:Object(m.__)("Right Heavy 33/66","kadence-blocks"),icon:g.tworightgolden},{key:"row",name:Object(m.__)("Collapse to Rows","kadence-blocks"),icon:g.collapserow}]:3===l?[{key:"equal",name:Object(m.__)("Equal","kadence-blocks"),icon:g.threecol},{key:"left-half",name:Object(m.__)("Left Heavy 50/25/25","kadence-blocks"),icon:g.lefthalf},{key:"right-half",name:Object(m.__)("Right Heavy 25/25/50","kadence-blocks"),icon:g.righthalf},{key:"center-half",name:Object(m.__)("Center Heavy 25/50/25","kadence-blocks"),icon:g.centerhalf},{key:"center-wide",name:Object(m.__)("Wide Center 20/60/20","kadence-blocks"),icon:g.widecenter},{key:"center-exwide",name:Object(m.__)("Wider Center 15/70/15","kadence-blocks"),icon:g.exwidecenter},{key:"first-row",name:Object(m.__)("First Row, Next Columns 100 - 50/50","kadence-blocks"),icon:g.firstrow},{key:"last-row",name:Object(m.__)("Last Row, Previous Columns 50/50 - 100","kadence-blocks"),icon:g.lastrow},{key:"row",name:Object(m.__)("Collapse to Rows","kadence-blocks"),icon:g.collapserowthree}]:4===l?[{key:"equal",name:Object(m.__)("Equal","kadence-blocks"),icon:g.fourcol},{key:"left-forty",name:Object(m.__)("Left Heavy 40/20/20/20","kadence-blocks"),icon:g.lfourforty},{key:"right-forty",name:Object(m.__)("Right Heavy 20/20/20/40","kadence-blocks"),icon:g.rfourforty},{key:"two-grid",name:Object(m.__)("Two Column Grid","kadence-blocks"),icon:g.grid},{key:"row",name:Object(m.__)("Collapse to Rows","kadence-blocks"),icon:g.collapserowfour}]:5===l?[{key:"equal",name:Object(m.__)("Equal","kadence-blocks"),icon:g.fivecol},{key:"row",name:Object(m.__)("Collapse to Rows","kadence-blocks"),icon:g.collapserowfive}]:6===l?[{key:"equal",name:Object(m.__)("Equal","kadence-blocks"),icon:g.sixcol},{key:"two-grid",name:Object(m.__)("Two Column Grid","kadence-blocks"),icon:g.grid},{key:"three-grid",name:Object(m.__)("Three Column Grid","kadence-blocks"),icon:g.threegrid},{key:"row",name:Object(m.__)("Collapse to Rows","kadence-blocks"),icon:g.collapserowsix}]:[{key:"row",name:Object(m.__)("Single Row","kadence-blocks"),icon:g.row}];const jl=e=>{St({bgImgID:e.id,bgImg:e.url})},_l=()=>{St({bgImgID:null,bgImg:null})},wl=Object(b.createElement)(b.Fragment,null,this.showSettings("basicLayout")&&Object(b.createElement)(Pt,{panelName:"kb-row-basic-settings"},l>1&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)("p",{className:"components-base-control__label"},Object(m.__)("Mobile Layout","kadence-blocks")),Object(b.createElement)(U.ButtonGroup,{"aria-label":Object(m.__)("Mobile Layout","kadence-blocks")},k()(hl,e=>{let{name:t,key:l,icon:i}=e;return Object(b.createElement)(U.Tooltip,{text:t},Object(b.createElement)(U.Button,{key:l,className:"kt-layout-btn",isSmall:!0,isPrimary:a===l,"aria-pressed":a===l,onClick:()=>St({mobileLayout:l})},i))}))),l>1&&Object(b.createElement)(U.SelectControl,{label:Object(m.__)("Column Collapse Vertical Gutter","kadence-blocks"),value:c,options:[{value:"default",label:Object(m.__)("Standard: 30px","kadence-blocks")},{value:"none",label:Object(m.__)("No Gutter","kadence-blocks")},{value:"skinny",label:Object(m.__)("Skinny: 10px","kadence-blocks")},{value:"narrow",label:Object(m.__)("Narrow: 20px","kadence-blocks")},{value:"wide",label:Object(m.__)("Wide: 40px","kadence-blocks")},{value:"wider",label:Object(m.__)("Wider: 60px","kadence-blocks")},{value:"widest",label:Object(m.__)("Widest: 80px","kadence-blocks")}],onChange:e=>St({collapseGutter:e})}),l>1&&Object(b.createElement)(U.SelectControl,{label:Object(m.__)("Collapse Order","kadence-blocks"),value:s,options:[{value:"left-to-right",label:Object(m.__)("Left to Right","kadence-blocks")},{value:"right-to-left",label:Object(m.__)("Right to Left","kadence-blocks")}],onChange:e=>St({collapseOrder:e})})),this.showSettings("paddingMargin")&&Object(b.createElement)(Pt,{title:Object(m.__)("Mobile Padding/Margin","kadence-blocks"),initialOpen:!1,panelName:"kb-row-mobile-padding"},Object(b.createElement)($,{label:Object(m.__)("Padding","kadence-blocks"),measurement:[y,j,f,O],onChange:e=>St({topPaddingM:e[0],rightPaddingM:e[1],bottomPaddingM:e[2],leftPaddingM:e[3]}),min:0,max:$t,step:Ut,allowEmpty:!0,unit:Je,onUnit:e=>St({paddingUnit:e}),showUnit:!0,units:["px","em","rem","%","vh","vw"]}),Object(b.createElement)($,{label:Object(m.__)("Margin","kadence-blocks"),measurement:[void 0!==x?x:"","auto",void 0!==S?S:"","auto"],onChange:e=>{St({topMarginM:e[0],bottomMarginM:e[2]})},min:Ft,max:Wt,step:Dt,allowEmpty:!0,unit:Ne,onUnit:e=>St({marginUnit:e}),showUnit:!0,units:["px","em","rem","%","vh"]})),this.showSettings("background")&&Object(b.createElement)(Pt,{title:Object(m.__)("Mobile Background","kadence-blocks"),initialOpen:!1,panelName:"kb-row-mobile-background"},Object(b.createElement)(U.ToggleControl,{label:Object(m.__)("Set custom background for Mobile?","kadence-blocks"),checked:!(!He||!He[0])&&He[0].enable,onChange:e=>Bt({enable:e})}),He&&He[0]&&He[0].enable&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)(De,{label:Object(m.__)("Background Color","kadence-blocks"),value:He[0].bgColor?He[0].bgColor:"",default:"",onChange:e=>Bt({bgColor:e})}),""===He[0].bgImg&&""!==T&&Object(b.createElement)(U.ToggleControl,{label:Object(m.__)("Force no image for mobile","kadence-blocks"),checked:!(!He||!He[0])&&He[0].forceOverDesk,onChange:e=>Bt({forceOverDesk:e})}),Object(b.createElement)(ar,Ke()({label:Object(m.__)("Background Image","kadence-blocks"),hasImage:!!(He&&He[0]&&He[0].bgImg),imageURL:He&&He[0]&&He[0].bgImg?He[0].bgImg:"",imageID:He&&He[0]&&He[0].bgImgID?He[0].bgImgID:"",imagePosition:He&&He[0]&&He[0].bgImgPosition?He[0].bgImgPosition:"center center",imageSize:He&&He[0]&&He[0].bgImgSize?He[0].bgImgSize:"cover",imageRepeat:He&&He[0]&&He[0].bgImgRepeat?He[0].bgImgRepeat:"no-repeat",imageAttachment:He&&He[0]&&He[0].bgImgAttachment?He[0].bgImgAttachment:"scroll",imageAttachmentParallax:!0,onRemoveImage:()=>{Bt({bgImgID:"",bgImg:""})},onSaveImage:e=>{Bt({bgImgID:e.id,bgImg:e.url})},onSaveURL:e=>{e!==(He&&He[0]&&He[0].bgImg?He[0].bgImg:"")&&Bt({bgImgID:void 0,bgImg:e})},onSavePosition:e=>Bt({bgImgPosition:e}),onSaveSize:e=>Bt({bgImgSize:e}),onSaveRepeat:e=>Bt({bgImgRepeat:e}),onSaveAttachment:e=>Bt({bgImgAttachment:e}),disableMediaButtons:He&&He[0]&&He[0].bgImg?He[0].bgImg:"",dynamicAttribute:"mobileBackground:0:bgImg"},this.props)))),this.showSettings("backgroundOverlay")&&Object(b.createElement)(Pt,{title:Object(m.__)("Mobile Background Overlay"),initialOpen:!1,panelName:"kb-row-mobile-bg-overlay"},Object(b.createElement)(U.ToggleControl,{label:Object(m.__)("Set custom background overlay for mobile?","kadence-blocks"),checked:!(!Be||!Be[0])&&Be[0].enable,onChange:e=>Rt({enable:e})}),Be&&Be[0]&&Be[0].enable&&Object(b.createElement)(U.TabPanel,{className:"kt-inspect-tabs kt-gradient-tabs",activeClass:"active-tab",initialTabName:Be[0].currentOverlayTab,onSelect:e=>Rt({currentOverlayTab:e}),tabs:[{name:"normal",title:Object(m.__)("Normal","kadence-blocks"),className:"kt-over-normal"},{name:"grad",title:Object(m.__)("Gradient","kadence-blocks"),className:"kt-over-grad"}]},e=>{let t;return e.name&&(t="grad"===e.name?Hl:Il),Object(b.createElement)("div",{className:e.className,key:e.className},t)})),this.showSettings("border")&&Object(b.createElement)(Pt,{title:Object(m.__)("Border Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-row-border-settings"},Object(b.createElement)(De,{label:Object(m.__)("Mobile Border Color","kadence-blocks"),value:ft||"",default:"",onChange:e=>St({mobileBorder:e})}),Object(b.createElement)($,{label:Object(m.__)("Mobile Border Width","kadence-blocks"),measurement:gt,onChange:e=>St({mobileBorderWidth:e}),control:Tt,onControl:e=>this.setState({borderWidthControl:e}),min:0,max:40,step:1,allowEmpty:!0,unit:"px",units:["px"],showUnit:!0,preset:[0,1,2,3,4,5,6,7,8,9]}),Object(b.createElement)($,{label:Object(m.__)("Mobile Border Radius","kadence-blocks"),measurement:vt,control:Nt,onChange:e=>St({mobileBorderRadius:e}),onControl:e=>this.setState({borderRadiusControl:e}),min:0,max:500,step:1,allowEmpty:!0,controlTypes:[{key:"linked",name:Object(m.__)("Linked","kadence-blocks"),icon:g.radiuslinked},{key:"individual",name:Object(m.__)("Individual","kadence-blocks"),icon:g.radiusindividual}],firstIcon:g.topleft,secondIcon:g.topright,thirdIcon:g.bottomright,fourthIcon:g.bottomleft}))),xl=Object(b.createElement)(b.Fragment,null,this.showSettings("basicLayout")&&Object(b.createElement)(Pt,{panelName:"kb-row-basic-layout"},l>1&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)("p",{className:"components-base-control__label"},Object(m.__)("Tablet Layout","kadence-blocks")),Object(b.createElement)(U.ButtonGroup,{"aria-label":Object(m.__)("Tablet Layout","kadence-blocks")},k()(hl,e=>{let{name:t,key:l,icon:a}=e;return Object(b.createElement)(U.Tooltip,{text:t},Object(b.createElement)(U.Button,{key:l,className:"kt-layout-btn",isSmall:!0,isPrimary:n===l,"aria-pressed":n===l,onClick:()=>St({tabletLayout:l})},a))})))),this.showSettings("paddingMargin")&&Object(b.createElement)(Pt,{title:Object(m.__)("Tablet Padding/Margin","kadence-blocks"),initialOpen:!1,panelName:"kb-row-tablet-padding"},Object(b.createElement)($,{label:Object(m.__)("Padding","kadence-blocks"),measurement:we,onChange:e=>St({tabletPadding:e}),min:0,max:$t,step:Ut,allowEmpty:!0,unit:Je,onUnit:e=>St({paddingUnit:e}),showUnit:!0,units:["px","em","rem","%","vh","vw"]}),Object(b.createElement)($,{label:Object(m.__)("Margin","kadence-blocks"),measurement:[void 0!==xe?xe:"","auto",void 0!==Ee?Ee:"","auto"],onChange:e=>{St({topMarginT:e[0],bottomMarginT:e[2]})},min:Ft,max:Wt,step:Dt,allowEmpty:!0,unit:Ne,onUnit:e=>St({marginUnit:e}),showUnit:!0,units:["px","em","rem","%","vh"]})),this.showSettings("background")&&Object(b.createElement)(Pt,{title:Object(m.__)("Tablet Background","kadence-blocks"),initialOpen:!1,panelName:"kb-row-tablet-bg"},Object(b.createElement)(U.ToggleControl,{label:Object(m.__)("Set custom background for tablets?","kadence-blocks"),checked:!(!Me||!Me[0])&&Me[0].enable,onChange:e=>It({enable:e})}),Me&&Me[0]&&Me[0].enable&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)(De,{label:Object(m.__)("Background Color","kadence-blocks"),value:Me[0].bgColor?Me[0].bgColor:"",default:"",onChange:e=>It({bgColor:e})}),""===Me[0].bgImg&&""!==T&&Object(b.createElement)(U.ToggleControl,{label:Object(m.__)("Force no image for tablet","kadence-blocks"),checked:!(!Me||!Me[0])&&Me[0].forceOverDesk,onChange:e=>It({forceOverDesk:e})}),Object(b.createElement)(ar,Ke()({label:Object(m.__)("Background Image","kadence-blocks"),hasImage:!!(Me&&Me[0]&&Me[0].bgImg),imageURL:Me&&Me[0]&&Me[0].bgImg?Me[0].bgImg:"",imageID:Me&&Me[0]&&Me[0].bgImgID?Me[0].bgImgID:"",imagePosition:Me&&Me[0]&&Me[0].bgImgPosition?Me[0].bgImgPosition:"center center",imageSize:Me&&Me[0]&&Me[0].bgImgSize?Me[0].bgImgSize:"cover",imageRepeat:Me&&Me[0]&&Me[0].bgImgRepeat?Me[0].bgImgRepeat:"no-repeat",imageAttachment:Me&&Me[0]&&Me[0].bgImgAttachment?Me[0].bgImgAttachment:"scroll",imageAttachmentParallax:!0,onRemoveImage:()=>{It({bgImgID:"",bgImg:""})},onSaveImage:e=>{It({bgImgID:e.id,bgImg:e.url})},onSaveURL:e=>{e!==(Me&&Me[0]&&Me[0].bgImg?Me[0].bgImg:"")&&It({bgImgID:void 0,bgImg:e})},onSavePosition:e=>It({bgImgPosition:e}),onSaveSize:e=>It({bgImgSize:e}),onSaveRepeat:e=>It({bgImgRepeat:e}),onSaveAttachment:e=>It({bgImgAttachment:e}),disableMediaButtons:Me&&Me[0]&&Me[0].bgImg?Me[0].bgImg:"",dynamicAttribute:"tabletBackground:0:bgImg"},this.props)))),this.showSettings("backgroundOverlay")&&Object(b.createElement)(Pt,{title:Object(m.__)("Tablet Background Overlay","kadence-blocks"),initialOpen:!1,panelName:"kb-row-tablet-bg-overlay"},Object(b.createElement)(U.ToggleControl,{label:Object(m.__)("Set custom background overlay for tablets?","kadence-blocks"),checked:!(!Ie||!Ie[0])&&Ie[0].enable,onChange:e=>Ht({enable:e})}),Ie&&Ie[0]&&Ie[0].enable&&Object(b.createElement)(U.TabPanel,{className:"kt-inspect-tabs kt-gradient-tabs",activeClass:"active-tab",initialTabName:Ie[0].currentOverlayTab,onSelect:e=>Ht({currentOverlayTab:e}),tabs:[{name:"normal",title:Object(m.__)("Normal","kadence-blocks"),className:"kt-over-normal"},{name:"grad",title:Object(m.__)("Gradient","kadence-blocks"),className:"kt-over-grad"}]},e=>{let t;return e.name&&(t="grad"===e.name?Ml:zl),Object(b.createElement)("div",{className:e.className,key:e.className},t)})),this.showSettings("border")&&Object(b.createElement)(Pt,{title:Object(m.__)("Border Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-row-border-settings"},Object(b.createElement)(De,{label:Object(m.__)("Tablet Border Color","kadence-blocks"),value:yt||"",default:"",onChange:e=>St({tabletBorder:e})}),Object(b.createElement)($,{label:Object(m.__)("Tablet Border Width","kadence-blocks"),measurement:pt,onChange:e=>St({tabletBorderWidth:e}),control:Tt,onControl:e=>this.setState({borderWidthControl:e}),min:0,max:40,step:1,allowEmpty:!0,unit:"px",units:["px"],showUnit:!0,preset:[0,1,2,3,4,5,6,7,8,9]}),Object(b.createElement)($,{label:Object(m.__)("Tablet Border Radius","kadence-blocks"),measurement:ht,control:Nt,onChange:e=>St({tabletBorderRadius:e}),onControl:e=>this.setState({borderRadiusControl:e}),min:0,max:500,step:1,allowEmpty:!0,controlTypes:[{key:"linked",name:Object(m.__)("Linked","kadence-blocks"),icon:g.radiuslinked},{key:"individual",name:Object(m.__)("Individual","kadence-blocks"),icon:g.radiusindividual}],firstIcon:g.topleft,secondIcon:g.topright,thirdIcon:g.bottomright,fourthIcon:g.bottomleft}))),El=e=>{let t;return t=void 0===We||void 0!==We&&void 0===We[0]?[{bgColor:"",bgImg:"",bgImgID:""}]:We,Object(b.createElement)(b.Fragment,null,Object(b.createElement)("h2",null,Object(m.__)("Slide","kadence-blocks")+" "+(e+1)+" "+Object(m.__)("Settings","kadence-blocks")),Object(b.createElement)("div",{className:"kt-inner-sub-section"},Object(b.createElement)(De,{label:Object(m.__)("Slide Background Color","kadence-blocks"),value:void 0!==t&&void 0!==t[e]&&t[e].bgColor?t[e].bgColor:"",default:"",onChange:t=>this.saveSlideItem({bgColor:t},e)}),(void 0===t[e]||void 0===t[e].bgImg||""===t[e].bgImg)&&Object(b.createElement)(Ce.MediaUpload,{onSelect:t=>{this.saveSlideItem({bgImgID:t.id,bgImg:t.url},e)},type:"image",value:void 0!==t&&void 0!==t[e]&&t[e].bgImgID?t[e].bgImgID:"",render:e=>{let{open:t}=e;return Object(b.createElement)(U.Button,{className:"components-button components-icon-button kt-cta-upload-btn",onClick:t},Object(b.createElement)(U.Dashicon,{icon:"format-image"}),Object(m.__)("Slide Select Image","kadence-blocks"))}}),void 0!==t&&void 0!==t[e]&&t[e].bgImg&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)(Ce.MediaUpload,{onSelect:t=>{this.saveSlideItem({bgImgID:t.id,bgImg:t.url},e)},type:"image",value:void 0!==t&&void 0!==t[e]&&t[e].bgImgID?t[e].bgImgID:"",allowedTypes:["image"],render:l=>{let{open:a}=l;return Object(b.createElement)(U.Tooltip,{text:Object(m.__)("Edit Image","kadence-blocks")},Object(b.createElement)(U.Button,{style:{backgroundImage:'url("'+t[e].bgImg+'")',backgroundSize:"cover"},className:"kb-sidebar-image",onClick:a},Object(m.__)("Edit Image")))}}),Object(b.createElement)(U.Tooltip,{text:Object(m.__)("Remove Image","kadence-blocks")},Object(b.createElement)(U.Button,{className:"components-button components-icon-button kt-remove-img kt-cta-upload-btn",onClick:()=>{this.saveSlideItem({bgImgID:"",bgImg:""},e)}},Object(b.createElement)(U.Dashicon,{icon:"no-alt"}))))))},Sl=Object(b.createElement)(b.Fragment,null,this.showSettings("basicLayout")&&Object(b.createElement)(Pt,{panelName:"kb-row-basic-layout"},Object(b.createElement)(U.RangeControl,{label:Object(m.__)("Columns","kadence-blocks"),value:l,onChange:e=>{this.props.updateColumns(l,e),St({columns:e,colLayout:"equal",firstColumnWidth:void 0,secondColumnWidth:void 0,tabletLayout:"inherit",mobileLayout:"row"})},min:1,max:6}),l>1&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)("p",{className:"components-base-control__label"},Object(m.__)("Layout","kadence-blocks")),Object(b.createElement)(U.ButtonGroup,{className:"kb-column-layout","aria-label":Object(m.__)("Column Layout","kadence-blocks")},k()(ul,e=>{let{name:t,key:l,icon:a}=e;return Object(b.createElement)(U.Tooltip,{text:t},Object(b.createElement)(U.Button,{key:l,className:"kt-layout-btn",isSmall:!0,isPrimary:ml===l,"aria-pressed":ml===l,onClick:()=>{St({colLayout:l}),St({firstColumnWidth:void 0,secondColumnWidth:void 0})}},a))}))),l>1&&Object(b.createElement)(U.SelectControl,{label:Object(m.__)("Column Gutter","kadence-blocks"),value:r,options:[{value:"default",label:Object(m.__)("Standard: 30px","kadence-blocks")},{value:"none",label:Object(m.__)("No Gutter","kadence-blocks")},{value:"skinny",label:Object(m.__)("Skinny: 10px","kadence-blocks")},{value:"narrow",label:Object(m.__)("Narrow: 20px","kadence-blocks")},{value:"wide",label:Object(m.__)("Wide: 40px","kadence-blocks")},{value:"wider",label:Object(m.__)("Wider: 60px","kadence-blocks")},{value:"widest",label:Object(m.__)("Widest: 80px","kadence-blocks")}],onChange:e=>St({columnGutter:e})})),this.showSettings("paddingMargin")&&Object(b.createElement)(Pt,{title:Object(m.__)("Padding/Margin","kadence-blocks"),initialOpen:!1,panelName:"kb-row-padding"},Object(b.createElement)($,{label:Object(m.__)("Padding","kadence-blocks"),measurement:[void 0!==d?d:"",void 0!==v?v:"",void 0!==p?p:"",void 0!==u?u:""],onChange:e=>St({topPadding:e[0],rightPadding:e[1],bottomPadding:e[2],leftPadding:e[3]}),min:0,max:$t,step:Ut,allowEmpty:!0,unit:Je,onUnit:e=>St({paddingUnit:e}),showUnit:!0,units:["px","em","rem","%","vh","vw"]}),Object(b.createElement)($,{label:Object(m.__)("Margin","kadence-blocks"),measurement:[void 0!==_?_:"","auto",void 0!==w?w:"","auto"],onChange:e=>{St({topMargin:e[0],bottomMargin:e[2]})},min:Ft,max:Wt,step:Dt,allowEmpty:!0,unit:Ne,onUnit:e=>St({marginUnit:e}),showUnit:!0,units:["px","em","rem","%","vh"]})),this.showSettings("background")&&Object(b.createElement)(Pt,{title:Object(m.__)("Background Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-row-bg-settings"},Object(b.createElement)(U.TabPanel,{className:"kt-inspect-tabs",initialTabName:Le,activeClass:"active-tab",onSelect:e=>{St({backgroundSettingTab:e})},tabs:[{name:"normal",title:Object(b.createElement)(U.Dashicon,{icon:"format-image"}),className:"kt-desk-tab"},{name:"slider",title:Object(b.createElement)(U.Dashicon,{icon:"slides"}),className:"kt-tablet-tab"},{name:"video",title:Object(b.createElement)(U.Dashicon,{icon:"format-video"}),className:"kt-mobile-tab"}]},e=>{let t;return e.name&&(t="slider"===e.name?Object(b.createElement)(b.Fragment,null,Object(b.createElement)(U.RangeControl,{label:Object(m.__)("Background Slider Image Count","kadence-blocks"),value:void 0!==Fe?Fe:1,onChange:e=>{let t;if(t=void 0===We||void 0!==We&&void 0===We[0]?[{bgColor:"",bgImg:"",bgImgID:""}]:We,t.length<e){const l=Math.abs(e-t.length);io()(l,e=>{t.push({bgColor:"",bgImg:"",bgImgID:""})}),St({backgroundSlider:t})}St({backgroundSliderCount:e})},step:1,min:1,max:20}),io()(void 0!==Fe?Fe:1,e=>El(e)),Object(b.createElement)(Zn,{label:Object(m.__)("Slider Image Size","kadence-blocks"),value:z,options:[{value:"cover",label:Object(m.__)("Cover","kadence-blocks")},{value:"contain",label:Object(m.__)("Contain","kadence-blocks")},{value:"auto",label:Object(m.__)("Auto","kadence-blocks")}],onChange:e=>St({bgImgSize:e})}),Object(b.createElement)(U.SelectControl,{label:Object(m.__)("Slider Image Position","kadence-blocks"),value:M,options:[{value:"center top",label:Object(m.__)("Center Top","kadence-blocks")},{value:"center center",label:Object(m.__)("Center Center","kadence-blocks")},{value:"center bottom",label:Object(m.__)("Center Bottom","kadence-blocks")},{value:"left top",label:Object(m.__)("Left Top","kadence-blocks")},{value:"left center",label:Object(m.__)("Left Center","kadence-blocks")},{value:"left bottom",label:Object(m.__)("Left Bottom","kadence-blocks")},{value:"right top",label:Object(m.__)("Right Top","kadence-blocks")},{value:"right center",label:Object(m.__)("Right Center","kadence-blocks")},{value:"right bottom",label:Object(m.__)("Right Bottom","kadence-blocks")}],onChange:e=>St({bgImgPosition:e})}),Object(b.createElement)(Zn,{label:Object(m.__)("Slider Image Repeat","kadence-blocks"),value:I,options:[{value:"no-repeat",label:Object(m.__)("No Repeat","kadence-blocks")},{value:"repeat",label:Object(m.__)("Repeat","kadence-blocks")},{value:"repeat-x",label:Object(m.__)("Repeat-x","kadence-blocks")},{value:"repeat-y",label:Object(m.__)("Repeat-y","kadence-blocks")}],onChange:e=>St({bgImgRepeat:e})}),Object(b.createElement)(U.ToggleControl,{label:Object(m.__)("Slider Auto Play","kadence-blocks"),checked:!Ue||!Ue[0]||void 0===Ue[0].autoPlay||Ue[0].autoPlay,onChange:e=>kl({autoPlay:e})}),Ue&&Ue[0]&&void 0!==Ue[0].autoPlay&&Ue[0].autoPlay&&Object(b.createElement)(E,{label:Object(m.__)("Autoplay Speed","kadence-blocks"),value:Ue[0].speed,onChange:e=>kl({speed:e}),min:500,max:15e3,step:10}),Object(b.createElement)(U.SelectControl,{label:Object(m.__)("Transition Style","kadence-blocks"),options:[{label:Object(m.__)("Fade","kadence-blocks"),value:"fade"},{label:Object(m.__)("Slide","kadence-blocks"),value:"slide"}],value:Ue&&Ue[0]&&void 0!==Ue[0].fade&&!1===Ue[0].fade?"slide":"fade",onChange:e=>{kl("slide"===e?{fade:!1}:{fade:!0})}}),Object(b.createElement)(E,{label:Object(m.__)("Slider Transition Speed","kadence-blocks"),value:Ue&&Ue[0]&&void 0!==Ue[0].tranSpeed?Ue[0].tranSpeed:400,onChange:e=>kl({tranSpeed:e}),min:100,max:2e3,step:10}),Object(b.createElement)(U.SelectControl,{label:Object(m.__)("Arrow Style","kadence-blocks"),options:[{label:Object(m.__)("White on Dark","kadence-blocks"),value:"whiteondark"},{label:Object(m.__)("Black on Light","kadence-blocks"),value:"blackonlight"},{label:Object(m.__)("Outline Black","kadence-blocks"),value:"outlineblack"},{label:Object(m.__)("Outline White","kadence-blocks"),value:"outlinewhite"},{label:Object(m.__)("None","kadence-blocks"),value:"none"}],value:Ue&&Ue[0]&&void 0!==Ue[0].arrowStyle?Ue[0].arrowStyle:"none",onChange:e=>kl({arrowStyle:e})}),Object(b.createElement)(U.SelectControl,{label:Object(m.__)("Dot Style"),options:[{label:Object(m.__)("Dark","kadence-blocks"),value:"dark"},{label:Object(m.__)("Light","kadence-blocks"),value:"light"},{label:Object(m.__)("Outline Dark","kadence-blocks"),value:"outlinedark"},{label:Object(m.__)("Outline Light","kadence-blocks"),value:"outlinelight"},{label:Object(m.__)("None","kadence-blocks"),value:"none"}],value:Ue&&Ue[0]&&void 0!==Ue[0].dotStyle?Ue[0].dotStyle:"dark",onChange:e=>kl({dotStyle:e})})):"video"===e.name?Object(b.createElement)(b.Fragment,null,(void 0===Ze||"local"===Ze)&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)(Ce.MediaUpload,{onSelect:e=>{yl({localID:e.id,local:e.url})},type:"video",allowedTypes:["video"],value:void 0!==Ve&&void 0!==Ve[0]&&Ve[0].localID?Ve[0].localID:"",render:e=>{let{open:t}=e;return Object(b.createElement)(U.Button,{className:"components-button components-icon-button kt-cta-upload-btn",onClick:t},Object(b.createElement)(U.Dashicon,{icon:"format-image"}),Object(m.__)("Select Video","kadence-blocks"))}}),void 0!==Ve&&void 0!==Ve[0]&&Ve[0].localID&&Object(b.createElement)(U.Tooltip,{text:Object(m.__)("Remove Video","kadence-blocks")},Object(b.createElement)(U.Button,{className:"components-button components-icon-button kt-remove-img kt-cta-upload-btn",onClick:()=>{yl({localID:"",local:""})}},Object(b.createElement)(U.Dashicon,{icon:"no-alt"}))),Object(b.createElement)(U.TextControl,{label:Object(m.__)("HTML5 Video File URL","kadence-blocks"),value:void 0!==Ve&&void 0!==Ve[0]&&Ve[0].local?Ve[0].local:"",onChange:e=>yl({local:e})})),"youtube"===Ze&&Object(b.createElement)(U.TextControl,{label:Object(m.__)("YouTube ID ( example: Sv_hGITmNuo )","kadence-blocks"),value:void 0!==Ve&&void 0!==Ve[0]&&Ve[0].youtube?Ve[0].youtube:"",onChange:e=>yl({youtube:e})}),void 0!==Ze&&"local"!==Ze&&Object(b.createElement)(U.SelectControl,{label:Object(m.__)("Background Video Ratio","kadence-blocks"),options:[{label:Object(m.__)("16 / 9"),value:"16/9"},{label:Object(m.__)("4 / 3"),value:"4/3"},{label:Object(m.__)("3 / 2"),value:"3/2"}],value:void 0!==Ve&&void 0!==Ve[0]&&void 0!==Ve[0].ratio?Ve[0].ratio:"16/9",onChange:e=>yl({ratio:e})}),Object(b.createElement)(U.ToggleControl,{label:Object(m.__)("Mute Video","kadence-blocks"),checked:void 0===Ve||void 0===Ve[0]||void 0===Ve[0].mute||Ve[0].mute,onChange:e=>yl({mute:e})}),Object(b.createElement)(U.ToggleControl,{label:Object(m.__)("Loop Video","kadence-blocks"),checked:void 0===Ve||void 0===Ve[0]||void 0===Ve[0].loop||Ve[0].loop,onChange:e=>yl({loop:e})}),Object(b.createElement)(U.ToggleControl,{label:Object(m.__)("Show Play Pause Buttons?","kadence-blocks"),checked:void 0===Ve||void 0===Ve[0]||void 0===Ve[0].btns||Ve[0].btns,onChange:e=>yl({btns:e})}),Object(b.createElement)(De,{label:Object(m.__)("Background Color","kadence-blocks"),value:C||"",default:"",onChange:e=>St({bgColor:e}),onClassChange:e=>St({bgColorClass:e})}),Object(b.createElement)(Ce.MediaUpload,{onSelect:jl,type:"image",value:H,render:e=>{let{open:t}=e;return Object(b.createElement)(U.Button,{className:"components-button components-icon-button kt-cta-upload-btn",onClick:t},Object(b.createElement)(U.Dashicon,{icon:"format-image"}),Object(m.__)("Select Video Poster","kadence-blocks"))}}),T&&Object(b.createElement)(U.Tooltip,{text:Object(m.__)("Remove Image","kadence-blocks")},Object(b.createElement)(U.Button,{className:"components-button components-icon-button kt-remove-img kt-cta-upload-btn",onClick:_l},Object(b.createElement)(U.Dashicon,{icon:"no-alt"})))):Object(b.createElement)(b.Fragment,null,Object(b.createElement)(De,{label:Object(m.__)("Background Color","kadence-blocks"),value:C||"",default:"",onChange:e=>St({bgColor:e}),onClassChange:e=>St({bgColorClass:e})}),Object(b.createElement)(ar,Ke()({label:Object(m.__)("Background Image","kadence-blocks"),hasImage:T,imageURL:T,imageID:H,imagePosition:M||"center center",imageSize:z||"cover",imageRepeat:I||"no-repeat",imageAttachment:N||"scroll",imageAttachmentParallax:!0,onRemoveImage:_l,onSaveImage:e=>{St({bgImgID:e.id,bgImg:e.url})},onSaveURL:e=>{e!==T&&St({bgImgID:void 0,bgImg:e})},onSavePosition:e=>St({bgImgPosition:e}),onSaveSize:e=>St({bgImgSize:e}),onSaveRepeat:e=>St({bgImgRepeat:e}),onSaveAttachment:e=>St({bgImgAttachment:e}),inlineImage:Ae,onSaveInlineImage:e=>St({backgroundInline:e}),disableMediaButtons:T,dynamicAttribute:"bgImg"},this.props)))),Object(b.createElement)("div",{className:e.className,key:e.className},t)})),this.showSettings("backgroundOverlay")&&Object(b.createElement)(Pt,{title:Object(m.__)("Background Overlay Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-row-bg-overlay"},Object(b.createElement)(U.TabPanel,{className:"kt-inspect-tabs kt-gradient-tabs",activeClass:"active-tab",initialTabName:V,onSelect:e=>{St({currentOverlayTab:e})},tabs:[{name:"normal",title:Object(m.__)("Normal","kadence-blocks"),className:"kt-over-normal"},{name:"grad",title:Object(m.__)("Gradient","kadence-blocks"),className:"kt-over-grad"}]},e=>{let t;return e.name&&(t="grad"===e.name?Nl:Cl),Object(b.createElement)("div",{className:e.className,key:e.className},t)})),this.showSettings("border")&&Object(b.createElement)(Pt,{title:Object(m.__)("Border Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-row-border-settings"},Object(b.createElement)(De,{label:Object(m.__)("Border Color","kadence-blocks"),value:kt||"",default:"",onChange:e=>St({border:e})}),Object(b.createElement)($,{label:Object(m.__)("Border Width","kadence-blocks"),measurement:mt,onChange:e=>St({borderWidth:e}),control:Tt,onControl:e=>this.setState({borderWidthControl:e}),min:0,max:40,step:1,allowEmpty:!0,unit:"px",units:["px"],showUnit:!0,preset:[0,1,2,3,4,5,6,7,8,9]}),Object(b.createElement)($,{label:Object(m.__)("Border Radius","kadence-blocks"),measurement:ut,control:Nt,onChange:e=>St({borderRadius:e}),onControl:e=>this.setState({borderRadiusControl:e}),min:0,max:500,step:1,allowEmpty:!0,controlTypes:[{key:"linked",name:Object(m.__)("Linked","kadence-blocks"),icon:g.radiuslinked},{key:"individual",name:Object(m.__)("Individual","kadence-blocks"),icon:g.radiusindividual}],firstIcon:g.topleft,secondIcon:g.topright,thirdIcon:g.bottomright,fourthIcon:g.bottomleft}))),Cl=Object(b.createElement)(b.Fragment,null,Object(b.createElement)(U.RangeControl,{label:Object(m.__)("Overlay Opacity","kadence-blocks"),value:P,onChange:e=>{St({overlayOpacity:e})},min:0,max:100}),Object(b.createElement)(De,{label:Object(m.__)("Overlay Color","kadence-blocks"),value:Y||"",default:"",onChange:e=>St({overlay:e}),opacityValue:void 0!==Qe&&""!==Qe?Qe:1,onOpacityChange:e=>St({overlayFirstOpacity:e})}),Object(b.createElement)(ar,Ke()({label:Object(m.__)("Background Image","kadence-blocks"),hasImage:R,imageURL:R,imageID:L,imagePosition:F||"center center",imageSize:D||"cover",imageRepeat:W||"no-repeat",imageAttachment:A||"scroll",imageAttachmentParallax:!0,onRemoveImage:()=>{St({overlayBgImgID:null,overlayBgImg:null})},onSaveImage:e=>{St({overlayBgImgID:e.id,overlayBgImg:e.url})},onSaveURL:e=>{e!==R&&St({overlayBgImgID:void 0,overlayBgImg:e})},onSavePosition:e=>St({overlayBgImgPosition:e}),onSaveSize:e=>St({overlayBgImgSize:e}),onSaveRepeat:e=>St({overlayBgImgRepeat:e}),onSaveAttachment:e=>St({overlayBgImgAttachment:e}),disableMediaButtons:R,dynamicAttribute:"overlayBgImg"},this.props)),Object(b.createElement)(U.SelectControl,{label:Object(m.__)("Blend Mode"),value:G,options:[{value:"normal",label:Object(m.__)("Normal","kadence-blocks")},{value:"multiply",label:Object(m.__)("Multiply","kadence-blocks")},{value:"screen",label:Object(m.__)("Screen","kadence-blocks")},{value:"overlay",label:Object(m.__)("Overlay","kadence-blocks")},{value:"darken",label:Object(m.__)("Darken","kadence-blocks")},{value:"lighten",label:Object(m.__)("Lighten","kadence-blocks")},{value:"color-dodge",label:Object(m.__)("Color Dodge","kadence-blocks")},{value:"color-burn",label:Object(m.__)("Color Burn","kadence-blocks")},{value:"difference",label:Object(m.__)("Difference","kadence-blocks")},{value:"exclusion",label:Object(m.__)("Exclusion","kadence-blocks")},{value:"hue",label:Object(m.__)("Hue","kadence-blocks")},{value:"saturation",label:Object(m.__)("Saturation","kadence-blocks")},{value:"color",label:Object(m.__)("Color","kadence-blocks")},{value:"luminosity",label:Object(m.__)("Luminosity","kadence-blocks")}],onChange:e=>St({overlayBlendMode:e})}),Object(b.createElement)("p",null,Object(m.__)("Notice: Blend Mode not supported in all browsers","kadence-blocks"))),Nl=Object(b.createElement)("div",null,Object(b.createElement)(U.RangeControl,{label:Object(m.__)("Overlay Opacity","kadence-blocks"),value:P,onChange:e=>{St({overlayOpacity:e})},min:0,max:100}),Object(b.createElement)(De,{label:Object(m.__)("Color","kadence-blocks"),value:Y||"",default:"",onChange:e=>St({overlay:e}),opacityValue:void 0!==Qe&&""!==Qe?Qe:1,onOpacityChange:e=>St({overlayFirstOpacity:e})}),Object(b.createElement)(U.RangeControl,{label:Object(m.__)("Location","kadence-blocks"),value:K,onChange:e=>{St({overlayGradLoc:e})},min:0,max:100}),Object(b.createElement)(De,{label:Object(m.__)("Second Color","kadence-blocks"),value:X||"",default:"#00B5E2",onChange:e=>St({overlaySecond:e}),opacityValue:void 0!==qe&&""!==qe?qe:1,onOpacityChange:e=>St({overlaySecondOpacity:e})}),Object(b.createElement)(U.RangeControl,{label:Object(m.__)("Location","kadence-blocks"),value:Q,onChange:e=>{St({overlayGradLocSecond:e})},min:0,max:100}),Object(b.createElement)(U.SelectControl,{label:Object(m.__)("Gradient Type","kadence-blocks"),value:J,options:[{value:"linear",label:Object(m.__)("Linear","kadence-blocks")},{value:"radial",label:Object(m.__)("Radial","kadence-blocks")}],onChange:e=>St({overlayGradType:e})}),J&&"linear"===J&&Object(b.createElement)(U.RangeControl,{label:Object(m.__)("Gradient Angle","kadence-blocks"),value:q,onChange:e=>{St({overlayGradAngle:e})},min:0,max:360}),J&&"radial"===J&&Object(b.createElement)(U.SelectControl,{label:Object(m.__)("Gradient Position","kadence-blocks"),value:F,options:[{value:"center top",label:Object(m.__)("Center Top","kadence-blocks")},{value:"center center",label:Object(m.__)("Center Center","kadence-blocks")},{value:"center bottom",label:Object(m.__)("Center Bottom","kadence-blocks")},{value:"left top",label:Object(m.__)("Left Top","kadence-blocks")},{value:"left center",label:Object(m.__)("Left Center","kadence-blocks")},{value:"left bottom",label:Object(m.__)("Left Bottom","kadence-blocks")},{value:"right top",label:Object(m.__)("Right Top","kadence-blocks")},{value:"right center",label:Object(m.__)("Right Center","kadence-blocks")},{value:"right bottom",label:Object(m.__)("Right Bottom","kadence-blocks")}],onChange:e=>St({overlayBgImgPosition:e})}),Object(b.createElement)(U.SelectControl,{label:Object(m.__)("Blend Mode"),value:G,options:[{value:"normal",label:Object(m.__)("Normal","kadence-blocks")},{value:"multiply",label:Object(m.__)("Multiply","kadence-blocks")},{value:"screen",label:Object(m.__)("Screen","kadence-blocks")},{value:"overlay",label:Object(m.__)("Overlay","kadence-blocks")},{value:"darken",label:Object(m.__)("Darken","kadence-blocks")},{value:"lighten",label:Object(m.__)("Lighten","kadence-blocks")},{value:"color-dodge",label:Object(m.__)("Color Dodge","kadence-blocks")},{value:"color-burn",label:Object(m.__)("Color Burn","kadence-blocks")},{value:"difference",label:Object(m.__)("Difference","kadence-blocks")},{value:"exclusion",label:Object(m.__)("Exclusion","kadence-blocks")},{value:"hue",label:Object(m.__)("Hue","kadence-blocks")},{value:"saturation",label:Object(m.__)("Saturation","kadence-blocks")},{value:"color",label:Object(m.__)("Color","kadence-blocks")},{value:"luminosity",label:Object(m.__)("Luminosity","kadence-blocks")}],onChange:e=>St({overlayBlendMode:e})}),Object(b.createElement)("p",null,Object(m.__)("Notice: Blend Mode not supported in all browsers","kadence-blocks"))),zl=Object(b.createElement)("div",null,Object(b.createElement)(U.RangeControl,{label:Object(m.__)("Overlay Opacity","kadence-blocks"),value:Ie&&Ie[0]?Ie[0].overlayOpacity:30,onChange:e=>{Ht({overlayOpacity:e})},min:0,max:100}),Object(b.createElement)(De,{label:Object(m.__)("Overlay Color","kadence-blocks"),value:Ie&&Ie[0]?Ie[0].overlay:"",default:"",onChange:e=>Ht({overlay:e})}),Object(b.createElement)(ar,Ke()({label:Object(m.__)("Overlay Image","kadence-blocks"),hasImage:!!(Ie&&Ie[0]&&Ie[0].overlayBgImg),imageURL:Ie&&Ie[0]&&Ie[0].overlayBgImg?Ie[0].overlayBgImg:"",imageID:Ie&&Ie[0]&&Ie[0].overlayBgImgID?Ie[0].overlayBgImgID:"",imagePosition:Ie&&Ie[0]&&Ie[0].overlayBgImgPosition?Ie[0].overlayBgImgPosition:"center center",imageSize:Ie&&Ie[0]&&Ie[0].overlayBgImgSize?Ie[0].overlayBgImgSize:"cover",imageRepeat:Ie&&Ie[0]&&Ie[0].overlayBgImgRepeat?Ie[0].overlayBgImgRepeat:"no-repeat",imageAttachment:Ie&&Ie[0]&&Ie[0].bgImgAttachment?Ie[0].bgImgAttachment:"scroll",imageAttachmentParallax:!0,onRemoveImage:()=>{Ht({overlayBgImgID:"",overlayBgImg:""})},onSaveImage:e=>{Ht({overlayBgImgID:e.id,overlayBgImg:e.url})},onSaveURL:e=>{e!==(Ie&&Ie[0]&&Ie[0].overlayBgImg?Ie[0].overlayBgImg:"")&&Ht({overlayBgImgID:void 0,overlayBgImg:e})},onSavePosition:e=>Ht({overlayBgImgPosition:e}),onSaveSize:e=>Ht({overlayBgImgSize:e}),onSaveRepeat:e=>Ht({overlayBgImgRepeat:e}),onSaveAttachment:e=>Ht({overlayBgImgAttachment:e}),disableMediaButtons:Ie&&Ie[0]&&Ie[0].overlayBgImg?Ie[0].overlayBgImg:"",dynamicAttribute:"tabletOverlay:0:overlayBgImg"},this.props)),Object(b.createElement)(U.SelectControl,{label:Object(m.__)("Blend Mode"),value:Ie&&Ie[0]?Ie[0].overlayBlendMode:"none",options:[{value:"normal",label:Object(m.__)("Normal","kadence-blocks")},{value:"multiply",label:Object(m.__)("Multiply","kadence-blocks")},{value:"screen",label:Object(m.__)("Screen","kadence-blocks")},{value:"overlay",label:Object(m.__)("Overlay","kadence-blocks")},{value:"darken",label:Object(m.__)("Darken","kadence-blocks")},{value:"lighten",label:Object(m.__)("Lighten","kadence-blocks")},{value:"color-dodge",label:Object(m.__)("Color Dodge","kadence-blocks")},{value:"color-burn",label:Object(m.__)("Color Burn","kadence-blocks")},{value:"difference",label:Object(m.__)("Difference","kadence-blocks")},{value:"exclusion",label:Object(m.__)("Exclusion","kadence-blocks")},{value:"hue",label:Object(m.__)("Hue","kadence-blocks")},{value:"saturation",label:Object(m.__)("Saturation","kadence-blocks")},{value:"color",label:Object(m.__)("Color","kadence-blocks")},{value:"luminosity",label:Object(m.__)("Luminosity","kadence-blocks")}],onChange:e=>Ht({overlayBlendMode:e})}),Object(b.createElement)("p",null,Object(m.__)("Notice: Blend Mode not supported in all browsers","kadence-blocks"))),Ml=Object(b.createElement)("div",null,Object(b.createElement)(U.RangeControl,{label:Object(m.__)("Overlay Opacity","kadence-blocks"),value:Ie&&Ie[0]?Ie[0].overlayOpacity:30,onChange:e=>{Ht({overlayOpacity:e})},min:0,max:100}),Object(b.createElement)(De,{label:Object(m.__)("Color","kadence-blocks"),value:Ie&&Ie[0]?Ie[0].overlay:"",default:"",onChange:e=>Ht({overlay:e})}),Object(b.createElement)(U.RangeControl,{label:Object(m.__)("Location","kadence-blocks"),value:Ie&&Ie[0]?Ie[0].overlayGradLoc:0,onChange:e=>{Ht({overlayGradLoc:e})},min:0,max:100}),Object(b.createElement)(De,{label:Object(m.__)("Second Color","kadence-blocks"),value:Ie&&Ie[0]?Ie[0].overlaySecond:"",default:"#00B5E2",onChange:e=>Ht({overlaySecond:e})}),Object(b.createElement)(U.RangeControl,{label:Object(m.__)("Location","kadence-blocks"),value:Ie&&Ie[0]?Ie[0].overlayGradLocSecond:100,onChange:e=>{Ht({overlayGradLocSecond:e})},min:0,max:100}),Object(b.createElement)(U.SelectControl,{label:Object(m.__)("Gradient Type","kadence-blocks"),value:Ie&&Ie[0]?Ie[0].overlayGradType:"linear",options:[{value:"linear",label:Object(m.__)("Linear","kadence-blocks")},{value:"radial",label:Object(m.__)("Radial","kadence-blocks")}],onChange:e=>Ht({overlayGradType:e})}),Ie&&Ie[0]&&Ie[0].overlayGradType&&"linear"===Ie[0].overlayGradType&&Object(b.createElement)(U.RangeControl,{label:Object(m.__)("Gradient Angle","kadence-blocks"),value:Ie&&Ie[0]?Ie[0].overlayGradAngle:180,onChange:e=>{Ht({overlayGradAngle:e})},min:0,max:360}),Ie&&Ie[0]&&Ie[0].overlayGradType&&"radial"===Ie[0].overlayGradType&&Object(b.createElement)(U.SelectControl,{label:Object(m.__)("Gradient Position","kadence-blocks"),value:Ie&&Ie[0]?Ie[0].overlayBgImgPosition:"center center",options:[{value:"center top",label:Object(m.__)("Center Top","kadence-blocks")},{value:"center center",label:Object(m.__)("Center Center","kadence-blocks")},{value:"center bottom",label:Object(m.__)("Center Bottom","kadence-blocks")},{value:"left top",label:Object(m.__)("Left Top","kadence-blocks")},{value:"left center",label:Object(m.__)("Left Center","kadence-blocks")},{value:"left bottom",label:Object(m.__)("Left Bottom","kadence-blocks")},{value:"right top",label:Object(m.__)("Right Top","kadence-blocks")},{value:"right center",label:Object(m.__)("Right Center","kadence-blocks")},{value:"right bottom",label:Object(m.__)("Right Bottom","kadence-blocks")}],onChange:e=>Ht({overlayBgImgPosition:e})}),Object(b.createElement)(U.SelectControl,{label:Object(m.__)("Blend Mode"),value:Ie&&Ie[0]?Ie[0].overlayBlendMode:"none",options:[{value:"normal",label:Object(m.__)("Normal","kadence-blocks")},{value:"multiply",label:Object(m.__)("Multiply","kadence-blocks")},{value:"screen",label:Object(m.__)("Screen","kadence-blocks")},{value:"overlay",label:Object(m.__)("Overlay","kadence-blocks")},{value:"darken",label:Object(m.__)("Darken","kadence-blocks")},{value:"lighten",label:Object(m.__)("Lighten","kadence-blocks")},{value:"color-dodge",label:Object(m.__)("Color Dodge","kadence-blocks")},{value:"color-burn",label:Object(m.__)("Color Burn","kadence-blocks")},{value:"difference",label:Object(m.__)("Difference","kadence-blocks")},{value:"exclusion",label:Object(m.__)("Exclusion","kadence-blocks")},{value:"hue",label:Object(m.__)("Hue","kadence-blocks")},{value:"saturation",label:Object(m.__)("Saturation","kadence-blocks")},{value:"color",label:Object(m.__)("Color","kadence-blocks")},{value:"luminosity",label:Object(m.__)("Luminosity","kadence-blocks")}],onChange:e=>Ht({overlayBlendMode:e})}),Object(b.createElement)("p",null,Object(m.__)("Notice: Blend Mode not supported in all browsers","kadence-blocks"))),Il=Object(b.createElement)("div",null,Object(b.createElement)(U.RangeControl,{label:Object(m.__)("Overlay Opacity"),value:Be&&Be[0]?Be[0].overlayOpacity:30,onChange:e=>{Rt({overlayOpacity:e})},min:0,max:100}),Object(b.createElement)(De,{label:Object(m.__)("Overlay Color","kadence-blocks"),value:Be&&Be[0]?Be[0].overlay:"",default:"",onChange:e=>Rt({overlay:e})}),Object(b.createElement)(ar,Ke()({label:Object(m.__)("Overlay Image","kadence-blocks"),hasImage:!!(Be&&Be[0]&&Be[0].overlayBgImg),imageURL:Be&&Be[0]&&Be[0].overlayBgImg?Be[0].overlayBgImg:"",imageID:Be&&Be[0]&&Be[0].overlayBgImgID?Be[0].overlayBgImgID:"",imagePosition:Be&&Be[0]&&Be[0].overlayBgImgPosition?Be[0].overlayBgImgPosition:"center center",imageSize:Be&&Be[0]&&Be[0].overlayBgImgSize?Be[0].overlayBgImgSize:"cover",imageRepeat:Be&&Be[0]&&Be[0].overlayBgImgRepeat?Be[0].overlayBgImgRepeat:"no-repeat",imageAttachment:Be&&Be[0]&&Be[0].bgImgAttachment?Be[0].bgImgAttachment:"scroll",imageAttachmentParallax:!0,onRemoveImage:()=>{Rt({overlayBgImgID:"",overlayBgImg:""})},onSaveImage:e=>{Rt({overlayBgImgID:e.id,overlayBgImg:e.url})},onSaveURL:e=>{e!==(Be&&Be[0]&&Be[0].overlayBgImg?Be[0].overlayBgImg:"")&&Rt({overlayBgImgID:void 0,overlayBgImg:e})},onSavePosition:e=>Rt({overlayBgImgPosition:e}),onSaveSize:e=>Rt({overlayBgImgSize:e}),onSaveRepeat:e=>Rt({overlayBgImgRepeat:e}),onSaveAttachment:e=>Rt({overlayBgImgAttachment:e}),disableMediaButtons:Be&&Be[0]&&Be[0].overlayBgImg?Be[0].overlayBgImg:"",dynamicAttribute:"mobileOverlay:0:overlayBgImg"},this.props)),Object(b.createElement)(U.SelectControl,{label:Object(m.__)("Blend Mode","kadence-blocks"),value:Be&&Be[0]?Be[0].overlayBlendMode:"none",options:[{value:"normal",label:Object(m.__)("Normal","kadence-blocks")},{value:"multiply",label:Object(m.__)("Multiply","kadence-blocks")},{value:"screen",label:Object(m.__)("Screen","kadence-blocks")},{value:"overlay",label:Object(m.__)("Overlay","kadence-blocks")},{value:"darken",label:Object(m.__)("Darken","kadence-blocks")},{value:"lighten",label:Object(m.__)("Lighten","kadence-blocks")},{value:"color-dodge",label:Object(m.__)("Color Dodge","kadence-blocks")},{value:"color-burn",label:Object(m.__)("Color Burn","kadence-blocks")},{value:"difference",label:Object(m.__)("Difference","kadence-blocks")},{value:"exclusion",label:Object(m.__)("Exclusion","kadence-blocks")},{value:"hue",label:Object(m.__)("Hue","kadence-blocks")},{value:"saturation",label:Object(m.__)("Saturation","kadence-blocks")},{value:"color",label:Object(m.__)("Color","kadence-blocks")},{value:"luminosity",label:Object(m.__)("Luminosity","kadence-blocks")}],onChange:e=>Rt({overlayBlendMode:e})}),Object(b.createElement)("p",null,Object(m.__)("Notice: Blend Mode not supported in all browsers","kadence-blocks"))),Hl=Object(b.createElement)("div",null,Object(b.createElement)(U.RangeControl,{label:Object(m.__)("Overlay Opacity","kadence-blocks"),value:Be&&Be[0]?Be[0].overlayOpacity:30,onChange:e=>{Rt({overlayOpacity:e})},min:0,max:100}),Object(b.createElement)(De,{label:Object(m.__)("Color","kadence-blocks"),value:Be&&Be[0]?Be[0].overlay:"",default:"",onChange:e=>Rt({overlay:e})}),Object(b.createElement)(U.RangeControl,{label:Object(m.__)("Location"),value:Be&&Be[0]?Be[0].overlayGradLoc:0,onChange:e=>{Rt({overlayGradLoc:e})},min:0,max:100}),Object(b.createElement)(De,{label:Object(m.__)("Second Color","kadence-blocks"),value:Be&&Be[0]?Be[0].overlaySecond:"",default:"#00B5E2",onChange:e=>Rt({overlaySecond:e})}),Object(b.createElement)(U.RangeControl,{label:Object(m.__)("Location","kadence-blocks"),value:Be&&Be[0]?Be[0].overlayGradLocSecond:100,onChange:e=>{Rt({overlayGradLocSecond:e})},min:0,max:100}),Object(b.createElement)(U.SelectControl,{label:Object(m.__)("Gradient Type"),value:Be&&Be[0]?Be[0].overlayGradType:"linear",options:[{value:"linear",label:Object(m.__)("Linear","kadence-blocks")},{value:"radial",label:Object(m.__)("Radial","kadence-blocks")}],onChange:e=>Rt({overlayGradType:e})}),Be&&Be[0]&&Be[0].overlayGradType&&"linear"===Be[0].overlayGradType&&Object(b.createElement)(U.RangeControl,{label:Object(m.__)("Gradient Angle","kadence-blocks"),value:Be&&Be[0]?Be[0].overlayGradAngle:180,onChange:e=>{Rt({overlayGradAngle:e})},min:0,max:360}),Be&&Be[0]&&Be[0].overlayGradType&&"radial"===Be[0].overlayGradType&&Object(b.createElement)(U.SelectControl,{label:Object(m.__)("Gradient Position","kadence-blocks"),value:Be&&Be[0]?Be[0].overlayBgImgPosition:"center center",options:[{value:"center top",label:Object(m.__)("Center Top","kadence-blocks")},{value:"center center",label:Object(m.__)("Center Center","kadence-blocks")},{value:"center bottom",label:Object(m.__)("Center Bottom","kadence-blocks")},{value:"left top",label:Object(m.__)("Left Top","kadence-blocks")},{value:"left center",label:Object(m.__)("Left Center","kadence-blocks")},{value:"left bottom",label:Object(m.__)("Left Bottom","kadence-blocks")},{value:"right top",label:Object(m.__)("Right Top","kadence-blocks")},{value:"right center",label:Object(m.__)("Right Center","kadence-blocks")},{value:"right bottom",label:Object(m.__)("Right Bottom","kadence-blocks")}],onChange:e=>Rt({overlayBgImgPosition:e})}),Object(b.createElement)(U.SelectControl,{label:Object(m.__)("Blend Mode","kadence-blocks"),value:Be&&Be[0]?Be[0].overlayBlendMode:"none",options:[{value:"normal",label:Object(m.__)("Normal","kadence-blocks")},{value:"multiply",label:Object(m.__)("Multiply","kadence-blocks")},{value:"screen",label:Object(m.__)("Screen","kadence-blocks")},{value:"overlay",label:Object(m.__)("Overlay","kadence-blocks")},{value:"darken",label:Object(m.__)("Darken","kadence-blocks")},{value:"lighten",label:Object(m.__)("Lighten","kadence-blocks")},{value:"color-dodge",label:Object(m.__)("Color Dodge","kadence-blocks")},{value:"color-burn",label:Object(m.__)("Color Burn","kadence-blocks")},{value:"difference",label:Object(m.__)("Difference","kadence-blocks")},{value:"exclusion",label:Object(m.__)("Exclusion","kadence-blocks")},{value:"hue",label:Object(m.__)("Hue","kadence-blocks")},{value:"saturation",label:Object(m.__)("Saturation","kadence-blocks")},{value:"color",label:Object(m.__)("Color","kadence-blocks")},{value:"luminosity",label:Object(m.__)("Luminosity","kadence-blocks")}],onChange:e=>Rt({overlayBlendMode:e})}),Object(b.createElement)("p",null,Object(m.__)("Notice: Blend Mode not supported in all browsers","kadence-blocks"))),Bl=Object(b.createElement)(Pt,{title:Object(m.__)("Text Color Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-row-text-color"},Object(b.createElement)(De,{label:Object(m.__)("Text Color","kadence-blocks"),value:Oe||"",default:"",onChange:e=>St({textColor:e})}),Object(b.createElement)(De,{label:Object(m.__)("Link Color","kadence-blocks"),value:je||"",default:"",onChange:e=>St({linkColor:e})}),Object(b.createElement)(De,{label:Object(m.__)("Link Hover Color","kadence-blocks"),value:_e||"",default:"",onChange:e=>St({linkHoverColor:e})})),Pl=(Object(b.createElement)(U.TabPanel,{className:"kt-inspect-tabs",activeClass:"active-tab",initialTabName:i,onSelect:e=>{St({currentTab:e})},tabs:[{name:"desk",title:Object(b.createElement)(U.Dashicon,{icon:"desktop"}),className:"kt-desk-tab"},{name:"tablet",title:Object(b.createElement)(U.Dashicon,{icon:"tablet"}),className:"kt-tablet-tab"},{name:"mobile",title:Object(b.createElement)(U.Dashicon,{icon:"smartphone"}),className:"kt-mobile-tab"}]},e=>{let t;return e.name&&(t="mobile"===e.name?wl:"tablet"===e.name?xl:Sl),Object(b.createElement)("div",{className:e.className,key:e.className},t)}),Object(b.createElement)(b.Fragment,null,Object(b.createElement)(E,{label:Object(m.__)("Mobile Height (px)","kadence-blocks"),value:ne||"",onChange:e=>{St({bottomSepHeightMobile:e})},min:0,max:500}),Object(b.createElement)(E,{label:Object(m.__)("Mobile Width (%)","kadence-blocks"),value:se||"",onChange:e=>{St({bottomSepWidthMobile:e})},min:100,max:400}))),Rl=Object(b.createElement)(b.Fragment,null,Object(b.createElement)(E,{label:Object(m.__)("Tablet Height (px)","kadence-blocks"),value:re||"",onChange:e=>{St({bottomSepHeightTab:e})},min:0,max:500}),Object(b.createElement)(E,{label:Object(m.__)("Tablet Width (%)","kadence-blocks"),value:de||"",onChange:e=>{St({bottomSepWidthTab:e})},min:100,max:400})),Al=Object(b.createElement)(b.Fragment,null,Object(b.createElement)(E,{label:Object(m.__)("Divider Height (px)","kadence-blocks"),value:oe,onChange:e=>{St({bottomSepHeight:e})},min:0,max:500}),Object(b.createElement)(E,{label:Object(m.__)("Divider Width (%)","kadence-blocks"),value:ce||"",onChange:e=>{St({bottomSepWidth:e})},min:100,max:400})),Ll=Object(b.createElement)(b.Fragment,null,Object(b.createElement)(E,{label:Object(m.__)("Mobile Height (px)","kadence-blocks"),value:ge||"",onChange:e=>{St({topSepHeightMobile:e})},min:0,max:500}),Object(b.createElement)(E,{label:Object(m.__)("Mobile Width (%)","kadence-blocks"),value:ve||"",onChange:e=>{St({topSepWidthMobile:e})},min:100,max:400})),Fl=Object(b.createElement)(b.Fragment,null,Object(b.createElement)(E,{label:Object(m.__)("Tablet Height (px)","kadence-blocks"),value:ue||"",onChange:e=>{St({topSepHeightTab:e})},min:0,max:500}),Object(b.createElement)(E,{label:Object(m.__)("Tablet Width (%)","kadence-blocks"),value:ke||"",onChange:e=>{St({topSepWidthTab:e})},min:100,max:400})),Wl=Object(b.createElement)(b.Fragment,null,Object(b.createElement)(E,{label:Object(m.__)("Divider Height (px)","kadence-blocks"),value:pe,onChange:e=>{St({topSepHeight:e})},min:0,max:500}),Object(b.createElement)(E,{label:Object(m.__)("Divider Width (%)","kadence-blocks"),value:he||"",onChange:e=>{St({topSepWidth:e})},min:100,max:400})),Dl=Object(b.createElement)(b.Fragment,null,Object(b.createElement)(Ge.a,{icons:["ct","cti","ctd","ctdi","sltl","sltr","crv","crvi","crvl","crvli","crvr","crvri","wave","wavei","waves","wavesi","mtns","littri","littrii","threelevels","threelevelsi"],iconsPerPage:30,value:"none"===be?"":be,onChange:e=>St({topSep:e}),appendTo:"body",showSearch:!1,renderFunc:e=>Object(b.createElement)("svg",{className:"top-icon",viewBox:"0 0 1000 100",preserveAspectRatio:"none",style:{fill:"#000000"}},Ol[e]),theme:"dividers",noSelectedPlaceholder:Object(m.__)("Select Divider","kadence-blocks"),isMulti:!1}),Object(b.createElement)(De,{label:Object(m.__)("Divider Color"),value:me||"",default:"#ffffff",onChange:e=>St({topSepColor:e})}),Object(b.createElement)(To,{label:Object(m.__)("Size Controls","kadence-blocks"),desktopChildren:Wl,tabletChildren:Fl,mobileChildren:Ll})),$l=Object(b.createElement)(b.Fragment,null,Object(b.createElement)(Ge.a,{icons:["ct","cti","ctd","ctdi","sltl","sltr","crv","crvi","crvl","crvli","crvr","crvri","wave","wavei","waves","wavesi","mtns","littri","littrii","threelevels","threelevelsi"],iconsPerPage:30,value:"none"===ae?"":ae,onChange:e=>St({bottomSep:e}),appendTo:"body",showSearch:!1,renderFunc:e=>Object(b.createElement)("svg",{viewBox:"0 0 1000 100",preserveAspectRatio:"none",style:{fill:"#000000"}},fl[e]),theme:"dividers",noSelectedPlaceholder:Object(m.__)("Select Divider","kadence-blocks"),isMulti:!1}),Object(b.createElement)(De,{label:Object(m.__)("Divider Color","kadence-blocks"),value:ie||"",default:"#ffffff",onChange:e=>St({bottomSepColor:e})}),Object(b.createElement)(To,{label:Object(m.__)("Size Controls","kadence-blocks"),desktopChildren:Al,tabletChildren:Rl,mobileChildren:Pl})),Ul=[[{icon:Object(b.createElement)(pc,{value:"top",isPressed:"top"===B}),title:Object(m.__)("Align Top","kadence-blocks"),isActive:"top"===B,onClick:()=>St({verticalAlignment:"top"})}],[{icon:Object(b.createElement)(pc,{value:"middle",isPressed:"middle"===B}),title:Object(m.__)("Align Middle","kadence-blocks"),isActive:"middle"===B,onClick:()=>St({verticalAlignment:"middle"})}],[{icon:Object(b.createElement)(pc,{value:"bottom",isPressed:"bottom"===B}),title:Object(m.__)("Align Bottom","kadence-blocks"),isActive:"bottom"===B,onClick:()=>St({verticalAlignment:"bottom"})}]];return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(Ce.BlockControls,null,Object(b.createElement)(Ce.BlockAlignmentToolbar,{value:Ye,controls:["center","wide","full"],onChange:e=>St({align:e})}),this.showSettings("allSettings")&&this.showSettings("background")&&Object(b.createElement)(U.Toolbar,null,Object(b.createElement)(Ce.MediaUpload,{onSelect:jl,type:"image",value:null,render:e=>{let{open:t}=e;return Object(b.createElement)(U.Button,{className:"components-toolbar__control",label:Object(m.__)("Background Image","kadence-blocks"),icon:Tl.a,onClick:t})}})),Object(b.createElement)(U.Toolbar,null,Object(b.createElement)(U.Button,{className:"kb-content-width",icon:$e?Object(b.createElement)(hc,{value:"theme"}):Object(b.createElement)(hc,{value:"normal"}),onClick:()=>{this.state.contentWidthPop||this.setState({contentWidthPop:!0})},isPressed:!!zt,"aria-haspopup":"true","aria-expanded":zt,label:Object(m.__)("Inner Content Width","kadence-blocks"),showTooltip:!0}),zt&&Object(b.createElement)(U.Popover,{className:"kb-content-width-popover",position:"bottom center",onClick:()=>{},expandOnMobile:!0,onClose:()=>{this.setState({contentWidthPop:!1})}},Object(b.createElement)("div",{className:"kb-content-width-popover-inner-wrap"},Object(b.createElement)(U.ToggleControl,{label:Object(m.__)("Use Theme Content Inner Width?","kadence-blocks"),checked:void 0!==$e&&$e,onChange:e=>St({inheritMaxWidth:e})}),!0!==$e&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)(Z,{label:Object(m.__)("Custom Content Max Width","kadence-blocks"),value:le||"",onChange:e=>{St({maxWidth:e})},tabletValue:void 0!==jt&&void 0!==jt[0]?jt[0]:"",onChangeTablet:e=>{St({responsiveMaxWidth:[e,void 0!==jt&&void 0!==jt[1]?jt[1]:""]})},mobileValue:void 0!==jt&&void 0!==jt[1]?jt[1]:"",onChangeMobile:e=>{St({responsiveMaxWidth:[void 0!==jt&&void 0!==jt[0]?jt[0]:"",e]})},min:0,max:Lt,step:1,unit:Te||"px",onUnit:e=>{St({maxWidthUnit:e})},units:["px","%","vw"]}))))),Object(b.createElement)(U.ToolbarGroup,{isCollapsed:!0,icon:Object(b.createElement)(pc,{value:B}),label:Object(m.__)("Vertical Align","kadence-blocks"),controls:Ul})),this.showSettings("allSettings")&&Object(b.createElement)(Ce.InspectorControls,null,Object(b.createElement)(Nn,{desktopChildren:Sl,tabletChildren:xl,mobileChildren:wl}),Object(b.createElement)("div",{className:"kt-sidebar-settings-spacer"}),this.showSettings("dividers")&&Object(b.createElement)(Pt,{title:Object(m.__)("Dividers","kadence-blocks"),initialOpen:!1,panelName:"kb-row-dividers"},Object(b.createElement)(U.TabPanel,{className:"kt-inspect-tabs kt-hover-tabs",activeClass:"active-tab",tabs:[{name:"bottomdivider",title:Object(m.__)("Bottom","kadence-blocks"),className:"kt-bottom-tab"},{name:"topdivider",title:Object(m.__)("Top","kadence-blocks"),className:"kt-top-tab"}]},e=>{let t;return e.name&&(t="topdivider"===e.name?Dl:$l),Object(b.createElement)("div",{className:e.className,key:e.className},t)})),this.showSettings("textColor")&&Bl,this.showSettings("structure")&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)(Pt,{title:Object(m.__)("Structure Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-row-structure-settings"},Object(b.createElement)(U.SelectControl,{label:Object(m.__)("Container HTML tag","kadence-blocks"),value:ee,options:[{value:"div",label:"div"},{value:"header",label:"header"},{value:"section",label:"section"},{value:"article",label:"article"},{value:"main",label:"main"},{value:"aside",label:"aside"},{value:"footer",label:"footer"}],onChange:e=>St({htmlTag:e})}),Object(b.createElement)("div",{class:"row-min-height-settings"},Object(b.createElement)(U.ButtonGroup,{className:"kt-size-type-options","aria-label":Object(m.__)("Min Height Type","kadence-blocks")},k()([{key:"px",name:"px"},{key:"vw",name:"vw"},{key:"vh",name:"vh"}],e=>{let{name:t,key:l}=e;return Object(b.createElement)(U.Button,{key:l,className:"kt-size-btn",isSmall:!0,isPrimary:Se===l,"aria-pressed":Se===l,onClick:()=>St({minHeightUnit:l})},t)})),Object(b.createElement)("h2",{className:"kt-heading-size-title"},Object(m.__)("Minimum Height","kadence-blocks")),Object(b.createElement)(U.TabPanel,{className:"kt-size-tabs",activeClass:"active-tab",tabs:[{name:"desk",title:Object(b.createElement)(U.Dashicon,{icon:"desktop"}),className:"kt-desk-tab"},{name:"tablet",title:Object(b.createElement)(U.Dashicon,{icon:"tablet"}),className:"kt-tablet-tab"},{name:"mobile",title:Object(b.createElement)(U.Dashicon,{icon:"smartphone"}),className:"kt-mobile-tab"}]},e=>{let t;return e.name&&(t="mobile"===e.name?Object(b.createElement)(E,{label:Object(m.__)("Mobile Min Height","kadence-blocks"),value:et,onChange:e=>{St({minHeightMobile:e})},min:0,max:At}):"tablet"===e.name?Object(b.createElement)(E,{label:Object(m.__)("Tablet Min Height","kadence-blocks"),value:Xe,onChange:e=>{St({minHeightTablet:e})},min:0,max:At}):Object(b.createElement)(E,{label:Object(m.__)("Min Height","kadence-blocks"),value:te,onChange:e=>{St({minHeight:e})},min:0,max:At})),Object(b.createElement)("div",{className:e.className,key:e.className},t)})),Object(b.createElement)(U.ToggleControl,{label:Object(m.__)("Content Max Width Inherit from Theme?","kadence-blocks"),checked:void 0!==$e&&$e,onChange:e=>St({inheritMaxWidth:e})}),!0!==$e&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)(Z,{label:Object(m.__)("Custom Content Max Width","kadence-blocks"),value:le||"",onChange:e=>{St({maxWidth:e})},tabletValue:void 0!==jt&&void 0!==jt[0]?jt[0]:"",onChangeTablet:e=>{St({responsiveMaxWidth:[e,void 0!==jt&&void 0!==jt[1]?jt[1]:""]})},mobileValue:void 0!==jt&&void 0!==jt[1]?jt[1]:"",onChangeMobile:e=>{St({responsiveMaxWidth:[void 0!==jt&&void 0!==jt[0]?jt[0]:"",e]})},min:0,max:Lt,step:1,unit:Te||"px",onUnit:e=>{St({maxWidthUnit:e})},units:["px","%","vw","rem"]})),Object(b.createElement)(U.ToggleControl,{label:Object(m.__)("Inner Column Height 100%","kadence-blocks"),checked:void 0!==Pe&&Pe,onChange:e=>St({columnsInnerHeight:e})}),Object(b.createElement)(U.RangeControl,{label:Object(m.__)("Z-Index Control","kadence-blocks"),value:Re,onChange:e=>{St({zIndex:e})},min:-200,max:2e3})),Object(b.createElement)(Pt,{title:Object(m.__)("Visibility Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-row-visibility-settings"},Object(b.createElement)(U.ToggleControl,{label:Object(m.__)("Hide on Desktop","kadence-blocks"),checked:void 0!==lt&<,onChange:e=>St({vsdesk:e})}),Object(b.createElement)(U.ToggleControl,{label:Object(m.__)("Hide on Tablet","kadence-blocks"),checked:void 0!==at&&at,onChange:e=>St({vstablet:e})}),Object(b.createElement)(U.ToggleControl,{label:Object(m.__)("Hide on Mobile","kadence-blocks"),checked:void 0!==it&&it,onChange:e=>St({vsmobile:e})}),Object(b.createElement)("h2",null,Object(m.__)("User Visibility Settings","kadence-blocks")),Object(b.createElement)(U.ToggleControl,{label:Object(m.__)("Hide from Logged in Users","kadence-blocks"),checked:void 0!==nt&&nt,onChange:e=>St({loggedIn:e})}),nt&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)("div",{className:"components-base-control"},Object(b.createElement)("span",{className:"kadence-sidebar-label"},Object(m.__)("Optional: Hide from Specific User Roles","kadence-blocks")),Object(b.createElement)("div",{className:"kt-meta-select-wrap"},Object(b.createElement)(h.a,{options:kadence_blocks_user_params&&kadence_blocks_user_params.userVisibility?kadence_blocks_user_params.userVisibility:[],value:ot,isMulti:!0,maxMenuHeight:200,isClearable:!0,placeholder:"",onChange:e=>St({loggedInUser:e})}))),Object(b.createElement)("div",{className:"components-base-control"},Object(b.createElement)("span",{className:"kadence-sidebar-label"},Object(m.__)("Optional: Show Only to Specific User Roles","kadence-blocks")),Object(b.createElement)("div",{className:"kt-meta-select-wrap"},Object(b.createElement)(h.a,{options:kadence_blocks_user_params&&kadence_blocks_user_params.userVisibility?kadence_blocks_user_params.userVisibility:[],value:ct,isMulti:!0,maxMenuHeight:200,isClearable:!0,placeholder:"",onChange:e=>St({loggedInShow:e})})))),Object(b.createElement)(U.ToggleControl,{label:Object(m.__)("Hide from Loggedout Users","kadence-blocks"),checked:void 0!==rt&&rt,onChange:e=>St({loggedOut:e})}),kadence_blocks_params&&kadence_blocks_params.rcp_access&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)(U.ToggleControl,{label:Object(m.__)("Restrict based on Membership","kadence-blocks"),checked:void 0!==dt&&dt,onChange:e=>St({rcpMembership:e})}),dt&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)(U.SelectControl,{label:Object(m.__)("Minimum Access Level","kadence-blocks"),value:st,options:kadence_blocks_params&&kadence_blocks_params.rcp_access?kadence_blocks_params.rcp_access:[],onChange:e=>St({rcpAccess:e})}),Object(b.createElement)("div",{className:"components-base-control"},Object(b.createElement)("span",{className:"kadence-sidebar-label"},Object(m.__)("Specific Memberships","kadence-blocks")),Object(b.createElement)("div",{className:"kt-meta-select-wrap"},Object(b.createElement)(h.a,{options:kadence_blocks_params&&kadence_blocks_params.rcp_levels?kadence_blocks_params.rcp_levels:[],value:bt,isMulti:!0,maxMenuHeight:200,isClearable:!0,placeholder:"Any Membership",onChange:e=>St({rcpMembershipLevel:e})})))))))),(Oe||je||_e||l||Re||_t)&&Object(b.createElement)("style",null,Oe?`#kt-layout-id${t}, #kt-layout-id${t} p, #kt-layout-id${t} h1, #kt-layout-id${t} h2, #kt-layout-id${t} h3, #kt-layout-id${t} h4, #kt-layout-id${t} h5, #kt-layout-id${t} h6 { color: ${pa(Oe)}; }`:"",je?`#kt-layout-id${t} a { color: ${pa(je)}; }`:"",_e?`#kt-layout-id${t} a:hover { color: ${pa(_e)}; }`:"",l&&2===l&&Object(b.createElement)(b.Fragment,null,ye||al?`#kt-layout-id${t} > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="kadence/column"]:nth-child(1) { flex: 0 1 ${parseFloat(ol)}%; }`:"",fe||il?`#kt-layout-id${t} > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="kadence/column"]:nth-child(2) { flex: 0 1 ${parseFloat(nl)}%; }`:""),l&&3===l&&Object(b.createElement)(b.Fragment,null,ye||al?`#kt-layout-id${t} > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="kadence/column"]:nth-child(1) { flex: 0 1 ${parseFloat(ol)}%; }`:"",fe||il?`#kt-layout-id${t} > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="kadence/column"]:nth-child(2) { flex: 0 1 ${parseFloat(nl)}%; }`:"",fe||il?`#kt-layout-id${t} > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="kadence/column"]:nth-child(3) { flex: 0 1 ${parseFloat(rl)}%; }`:""),Re&&Re>30&&Object(b.createElement)(b.Fragment,null,".components-popover.block-editor-block-list__block-popover { z-index: "+(Re+1e3),";"),_t&&Object(b.createElement)(b.Fragment,null,_t.replace(/selector/g,".kb-row-id-"+t))),Object(b.createElement)(dc,Ke()({backgroundClasses:gl},this.props),Object(b.createElement)(nc,this.props),!o&&Object(b.createElement)("div",{className:"kt-select-layout"},Object(b.createElement)("div",{className:"kt-select-layout-title"},Object(m.__)("Select Your Layout")),Object(b.createElement)(U.ButtonGroup,{"aria-label":Object(m.__)("Column Layout")},k()(vl,e=>{let{name:t,key:l,icon:a,col:i}=e;return Object(b.createElement)(U.Tooltip,{text:t},Object(b.createElement)(U.Button,{key:l,className:"kt-layout-btn",isSmall:!0,onClick:()=>St({colLayout:l,columns:i})},a))})),Object(b.createElement)(ac,{clientId:Ct,open:!!Ot,onlyModal:!!Ot})),o&&"none"!==be&&""!==be&&Object(b.createElement)("div",{className:"kt-row-layout-top-sep kt-row-sep-type-"+be,style:{height:Qt+"px"}},Object(b.createElement)("svg",{style:{fill:pa(me),width:Jt+"%"},viewBox:"0 0 1000 100",preserveAspectRatio:"none"},Ol[be])),Object(b.createElement)("div",{style:{height:"1px"}}),o&&this.showSettings("allSettings")&&this.showSettings("paddingMargin")&&(!Je||Je&&"px"===Je)&&Object(b.createElement)(U.ResizableBox,{size:{height:Vt},minHeight:"0",handleClasses:{top:"wp-block-kadence-rowlayout-handler-top",bottom:"wp-block-kadence-rowlayout-handler-bottom"},enable:{top:!0,right:!1,bottom:!1,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},className:"kt-top-padding-resize kt-padding-resize-box",onResize:(e,l,a,i)=>{e.preventDefault(),Mt.getElementById("row-top-"+t).innerHTML=parseInt(Vt+i.height,10)+"px"},onResizeStop:(e,t,l,a)=>{"Mobile"===this.props.getPreviewDevice?St({topPaddingM:parseInt(Vt+a.height,10)}):"Tablet"===this.props.getPreviewDevice?St({tabletPadding:[parseInt(Vt+a.height,10),we?we[1]:"",we?we[2]:"",we?we[3]:""]}):St({topPadding:parseInt(Vt+a.height,10)}),wt(!0)},onResizeStart:()=>{wt(!1)}},t&&Object(b.createElement)("div",{className:"kt-row-padding"},Object(b.createElement)("span",{id:"row-top-"+t},Vt+"px"))),o&&(!this.showSettings("allSettings")||!this.showSettings("paddingMargin")||Je&&"px"!==Je)&&Object(b.createElement)(b.Fragment,null,t&&Object(b.createElement)("div",{className:"kt-row-padding kb-static-row-padding",style:{paddingTop:Vt+(Je||"px")}},Object(b.createElement)("div",{className:"kb-row-padding-container"},Object(b.createElement)("span",{id:"row-top-"+t},Vt+(Je||"px"))))),o&&Object(b.createElement)("div",{className:"innerblocks-wrap"+($e?" kb-theme-content-width":""),id:"kt-layout-id"+t,style:{maxWidth:!$e&&Kt?Kt+Te:void 0,paddingLeft:qt+(Je||"px"),paddingRight:Zt+(Je||"px")}},o&&"row"!==o&&l&&2===l&&this.showSettings("allSettings")&&"Desktop"===this.props.getPreviewDevice&&this.showSettings("columnResize")&&Object(b.createElement)("div",{className:"kt-resizeable-column-container",style:{left:qt+(Je||"px"),right:Zt+(Je||"px")}},Object(b.createElement)(Tn.a,null,e=>{let{width:l}=e;return Object(b.createElement)(U.ResizableBox,{className:"editor-row-first-column__resizer",size:{width:ye?ye+"%":cl},minWidth:"10%",maxWidth:"90%",enable:{right:!0},handleClasses:{right:"components-resizable-box__handle components-resizable-box__handle-right"},grid:ze?[l/1e3,1]:[l/20,1],onResize:tl,onResizeStop:ll,axis:"x"},ze&&Object(b.createElement)(U.Tooltip,{text:Object(m.__)("Switch to 5% step resizing")},Object(b.createElement)(U.Button,{className:"kt-fluid-grid-btn",isSmall:!0,onClick:()=>St({columnsUnlocked:!1})},Object(b.createElement)("svg",{viewBox:"0 0 20 20",width:"20",height:"20",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},Object(b.createElement)("path",{d:"M4.217,10.611l0,2.7l-3.31,-3.311l3.31,-3.311l0,2.7l11.566,0l0,-2.7l3.31,3.311l-3.31,3.311l0,-2.7l-11.566,0Z"})))),!ze&&Object(b.createElement)(U.Tooltip,{text:Object(m.__)("Switch to fluid resizing")},Object(b.createElement)(U.Button,{className:"kt-fluid-grid-btn",isSmall:!0,onClick:()=>St({columnsUnlocked:!0})},Object(b.createElement)("svg",{viewBox:"0 0 20 20",width:"20",height:"20",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"1.5"},Object(b.createElement)("path",{d:"M13.967,10.611l0.001,-1.222l1.815,0l0,-2.7l3.31,3.311l-3.31,3.311l0,-2.7l-1.816,0Z"}),Object(b.createElement)("path",{d:"M8.918,10.611l-0.022,-1.222l2.15,0l-0.031,1.222l-2.097,0Z"}),Object(b.createElement)("path",{d:"M4.217,10.611l0,2.7l-3.31,-3.311l3.31,-3.311l0,2.7l1.693,0l-0.028,1.222l-1.665,0Z"}),Object(b.createElement)("circle",{cx:"12.427",cy:"9.997",r:"1.419",fill:"none",stroke:"#0085ba"}),Object(b.createElement)("circle",{cx:"7.456",cy:"9.997",r:"1.419",fill:"none",stroke:"#0085ba"})))),Object(b.createElement)("span",{id:"left-column-width-"+t,className:"left-column-width-size column-width-size-handle"},ye?ye+"%":cl),Object(b.createElement)("span",{id:"right-column-width-"+t,className:"right-column-width-size column-width-size-handle"},ye?Math.round(10*(100-ye))/10+"%":Math.abs(parseFloat(cl)-100)+"%"))})),o&&"row"!==o&&l&&3===l&&this.showSettings("allSettings")&&"Desktop"===this.props.getPreviewDevice&&this.showSettings("columnResize")&&Object(b.createElement)(ir,{uniqueID:t,onSetState:e=>this.setState(e),onSetAttributes:e=>St(e),firstColumnWidth:ye,secondColumnWidth:fe,widthString:ol,secondWidthString:nl,columnsUnlocked:ze,leftPadding:qt,rightPadding:Zt}),Object(b.createElement)(Ce.InnerBlocks,{template:vc(l),templateLock:"all",orientation:"horizontal",renderAppender:!1,allowedBlocks:kc})),o&&this.showSettings("allSettings")&&this.showSettings("paddingMargin")&&(!Je||Je&&"px"===Je)&&Object(b.createElement)(U.ResizableBox,{size:{height:Gt},minHeight:"0",handleClasses:{top:"wp-block-kadence-rowlayout-handler-top",bottom:"wp-block-kadence-rowlayout-handler-bottom"},enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},className:"kt-bottom-padding-resize kt-padding-resize-box",onResize:(e,l,a,i)=>{Mt.getElementById("row-bottom-"+t).innerHTML=parseInt(Gt+i.height,10)+"px"},onResizeStop:(e,t,l,a)=>{"Mobile"===this.props.getPreviewDevice?St({bottomPaddingM:parseInt(Gt+a.height,10)}):"Tablet"===this.props.getPreviewDevice?St({tabletPadding:[we?we[0]:"",we?we[1]:"",parseInt(Gt+a.height,10),we?we[3]:""]}):St({bottomPadding:parseInt(Gt+a.height,10)})},onResizeStart:()=>{}},t&&Object(b.createElement)("div",{className:"kt-row-padding"},Object(b.createElement)("span",{id:"row-bottom-"+t},Gt+"px"))),o&&(!this.showSettings("allSettings")||!this.showSettings("paddingMargin")||Je&&"px"!==Je)&&Object(b.createElement)(b.Fragment,null,t&&Object(b.createElement)("div",{className:"kt-row-padding kb-static-row-padding",style:{paddingBottom:Gt+(Je||"px")}},Object(b.createElement)("div",{className:"kb-row-padding-container"},Object(b.createElement)("span",{id:"row-bottom-"+t},Gt+(Je||"px"))))),Object(b.createElement)("div",{style:{height:"1px"}}),o&&"none"!==ae&&""!==ae&&Object(b.createElement)("div",{className:"kt-row-layout-bottom-sep kt-row-sep-type-"+ae,style:{height:Yt+"px"}},Object(b.createElement)("svg",{style:{fill:pa(ie),width:Xt+"%"},viewBox:"0 0 1000 100",preserveAspectRatio:"none"},fl[ae]))))}}var Oc=Object(w.compose)([Object(a.withSelect)((e,t)=>{const{clientId:l}=t,{getBlock:a}=e("core/block-editor"),i=a(l);return{rowBlock:i,realColumnCount:i.innerBlocks.length,getPreviewDevice:e("kadenceblocks/data").getPreviewDeviceType()}}),Object(a.withDispatch)((e,t,l)=>{let{clientId:a}=t,{select:i}=l;const{replaceInnerBlocks:o}=e("core/block-editor"),{getBlocks:n,getBlockAttributes:r}=i("core/block-editor");return{updateColumns(e,t){let l=n(a);if(t>e){const a=l.length;for(let e=0;e<a;e++)l[e].attributes.id=e+1;l=[...l,...io()(t-e,t=>Object(gt.createBlock)("kadence/column",{id:e+t+1}))]}else l=Sn()(l,e-t);o(a,l,!1)}}})])(fc);const{Component:jc,Fragment:_c}=wp.element;var wc=[{attributes:{uniqueID:{type:"string",default:""},columns:{type:"number",default:2},mobileLayout:{type:"string",default:"row"},tabletLayout:{type:"string",default:"inherit"},collapseOrder:{type:"string",default:"left-to-right"},collapseGutter:{type:"string",default:"default"},columnGutter:{type:"string",default:"default"},colLayout:{type:"string",default:""},currentTab:{type:"string",default:"desk"},currentOverlayTab:{type:"string",default:"normal"},htmlTag:{type:"string",default:"div"},minHeight:{type:"number",default:0},maxWidth:{type:"number",default:""},topPadding:{type:"number",default:25},bottomPadding:{type:"number",default:25},leftPadding:{type:"number",default:""},rightPadding:{type:"number",default:""},topPaddingM:{type:"number",default:""},bottomPaddingM:{type:"number",default:""},leftPaddingM:{type:"number",default:""},rightPaddingM:{type:"number",default:""},topMargin:{type:"number",default:""},bottomMargin:{type:"number",default:""},topMarginM:{type:"number",default:""},bottomMarginM:{type:"number",default:""},bgColor:{type:"string",default:""},bgImg:{type:"string",default:""},bgImgID:{type:"string",default:""},bgImgSize:{type:"string",default:"cover"},bgImgPosition:{type:"string",default:"center center"},bgImgAttachment:{type:"string",default:"scroll"},bgImgRepeat:{type:"string",default:"no-repeat"},overlay:{type:"string",default:""},overlaySecond:{type:"string",default:"#00B5E2"},overlayFirstOpacity:{type:"number",default:""},overlaySecondOpacity:{type:"number",default:""},overlayGradLoc:{type:"number",default:0},overlayGradLocSecond:{type:"number",default:100},overlayGradType:{type:"string",default:"linear"},overlayGradAngle:{type:"number",default:180},overlayBgImg:{type:"string",default:""},overlayBgImgID:{type:"string",default:""},overlayBgImgSize:{type:"string",default:"cover"},overlayBgImgPosition:{type:"string",default:"center center"},overlayBgImgAttachment:{type:"string",default:"scroll"},overlayBgImgRepeat:{type:"string",default:"no-repeat"},overlayOpacity:{type:"number",default:30},overlayBlendMode:{type:"string",default:"none"},blockAlignment:{type:"string",default:"none"},align:{type:"string",default:"none"},verticalAlignment:{type:"string",default:"top"},topSep:{type:"string",default:"none"},topSepColor:{type:"string",default:"#ffffff"},topSepFlip:{type:"boolean",default:!1},topSepHeight:{type:"number",default:100},topSepHeightTab:{type:"number",default:""},topSepHeightMobile:{type:"number",default:""},bottomSep:{type:"string",default:"none"},bottomSepColor:{type:"string",default:"#ffffff"},bottomSepFlip:{type:"boolean",default:!1},bottomSepHeight:{type:"number",default:100},bottomSepWidth:{type:"number",default:100},bottomSepWidthTab:{type:"number",default:""},bottomSepWidthMobile:{type:"number",default:""},bottomSepHeightTab:{type:"number",default:""},bottomSepHeightMobile:{type:"number",default:""},firstColumnWidth:{type:"number"},secondColumnWidth:{type:"number"},textColor:{type:"string",default:""},linkColor:{type:"string",default:""},linkHoverColor:{type:"string",default:""},tabletPadding:{type:"array",default:["","","",""]},topMarginT:{type:"number",default:""},bottomMarginT:{type:"number",default:""},marginUnit:{type:"string",default:"px"},minHeightUnit:{type:"string",default:"px"},maxWidthUnit:{type:"string",default:"px"},columnsUnlocked:{type:"bool",default:!1},tabletBackground:{type:"array",default:[{enable:!1,bgColor:"",bgImg:"",bgImgID:"",bgImgSize:"cover",bgImgPosition:"center center",bgImgAttachment:"scroll",bgImgRepeat:"no-repeat",forceOverDesk:!1}]},tabletOverlay:{type:"array",default:[{enable:!1,currentOverlayTab:"normal",overlay:"",overlaySecond:"#00B5E2",overlayGradLoc:0,overlayGradLocSecond:100,overlayGradType:"linear",overlayGradAngle:180,overlayBgImg:"",overlayBgImgID:"",overlayBgImgSize:"cover",overlayBgImgPosition:"center center",overlayBgImgAttachment:"scroll",overlayBgImgRepeat:"no-repeat",overlayOpacity:30,overlayBlendMod:"none"}]},mobileBackground:{type:"array",default:[{enable:!1,bgColor:"",bgImg:"",bgImgID:"",bgImgSize:"cover",bgImgPosition:"center center",bgImgAttachment:"scroll",bgImgRepeat:"no-repeat",forceOverDesk:!1}]},mobileOverlay:{type:"array",default:[{enable:!1,currentOverlayTab:"normal",overlay:"",overlaySecond:"#00B5E2",overlayGradLoc:0,overlayGradLocSecond:100,overlayGradType:"linear",overlayGradAngle:180,overlayBgImg:"",overlayBgImgID:"",overlayBgImgSize:"cover",overlayBgImgPosition:"center center",overlayBgImgAttachment:"scroll",overlayBgImgRepeat:"no-repeat",overlayOpacity:30,overlayBlendMod:"none"}]},columnsInnerHeight:{type:"bool",default:!1},topSepWidth:{type:"number",default:""},topSepWidthTablet:{type:"number",default:""},topSepWidthMobile:{type:"number",default:""},backgroundInline:{type:"bool",default:!1},backgroundSettingTab:{type:"string",default:"normal"},backgroundSliderCount:{type:"number",default:1},backgroundSlider:{type:"array",default:[{bgColor:"",bgImg:"",bgImgID:""}]},backgroundSliderSettings:{type:"array",default:[{arrowStyle:"none",dotStyle:"dark",autoPlay:!0,speed:7e3,fade:!0,tranSpeed:400}]},backgroundVideoType:{type:"string",default:"local"},backgroundVideo:{type:"array",default:[{youTube:"",local:"",localID:"",vimeo:"",ratio:"16/9",btns:!1,loop:!0,mute:!0}]},zIndex:{type:"number",default:""},paddingUnit:{type:"string",default:"px"},inheritMaxWidth:{type:"bool",default:!1},noCustomDefaults:{type:"bool",default:!1},isPrebuiltModal:{type:"bool",default:!1},minHeightTablet:{type:"number",default:""},minHeightMobile:{type:"number",default:""},bgColorClass:{type:"string",default:""},vsdesk:{type:"bool",default:!1},vstablet:{type:"bool",default:!1},vsmobile:{type:"bool",default:!1},loggedIn:{type:"bool",default:!1},loggedInUser:{type:"array"},loggedInShow:{type:"array"},loggedOut:{type:"bool",default:!1},borderWidth:{type:"array",default:["","","",""]},tabletBorderWidth:{type:"array",default:["","","",""]},mobileBorderWidth:{type:"array",default:["","","",""]},borderRadius:{type:"array",default:["","","",""]},tabletBorderRadius:{type:"array",default:["","","",""]},mobileBorderRadius:{type:"array",default:["","","",""]},border:{type:"string",default:""},tabletBorder:{type:"string",default:""},mobileBorder:{type:"string",default:""},responsiveMaxWidth:{type:"array",default:["",""]},kadenceBlockCSS:{type:"string",default:""},kadenceDynamic:{type:"object"},kadenceConditional:{type:"object"}},save:e=>{let{attributes:t}=e;const{columns:l,blockAlignment:a,inheritMaxWidth:i,align:o,mobileLayout:n,currentOverlayTab:r,overlayBgImg:c,overlay:s,colLayout:d,tabletLayout:p,collapseOrder:g,uniqueID:u,columnGutter:h,collapseGutter:v,bgColor:k,bgImg:y,verticalAlignment:f,htmlTag:O,bottomSep:j,bottomSepColor:_,topSep:w,topSepColor:x,firstColumnWidth:E,secondColumnWidth:S,overlayBgImgAttachment:C,bgImgAttachment:T,columnsInnerHeight:N,backgroundInline:z,backgroundSettingTab:M,backgroundSliderCount:I,backgroundSliderSettings:H,backgroundSlider:B,bgImgSize:P,bgImgPosition:R,bgImgRepeat:A,backgroundVideoType:L,backgroundVideo:F,bgColorClass:W,vsdesk:D,vstablet:$,vsmobile:U}=t;let V,Z;"ct"===j?V=Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z"}):"cti"===j?V=Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"}):"ctd"===j?V=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,20l-500,78l-500,-78l0,80l1000,0l0,-80Z"})):"ctdi"===j?V=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M500,2l500,78l0,20l-1000,0l0,-20l500,-78Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"})):"sltl"===j?V=Object(b.createElement)("path",{d:"M1000,0l-1000,100l1000,0l0,-100Z"}):"sltli"===j?V=Object(b.createElement)("path",{d:"M0,100l1000,-100l-1000,0l0,100Z"}):"sltr"===j?V=Object(b.createElement)("path",{d:"M0,0l1000,100l-1000,0l0,-100Z"}):"sltri"===j?V=Object(b.createElement)("path",{d:"M1000,100l-1000,-100l1000,0l0,100Z"}):"crv"===j?V=Object(b.createElement)("path",{d:"M1000,100c0,0 -270.987,-98 -500,-98c-229.013,0 -500,98 -500,98l1000,0Z"}):"crvi"===j?V=Object(b.createElement)("path",{d:"M1000,0c0,0 -270.987,98 -500,98c-229.013,0 -500,-98 -500,-98l0,100l1000,0l0,-100Z"}):"crvl"===j?V=Object(b.createElement)("path",{d:"M1000,100c0,0 -420.987,-98 -650,-98c-229.013,0 -350,98 -350,98l1000,0Z"}):"crvli"===j?V=Object(b.createElement)("path",{d:"M1000,0c0,0 -420.987,98 -650,98c-229.013,0 -350,-98 -350,-98l0,100l1000,0l0,-100Z"}):"crvr"===j?V=Object(b.createElement)("path",{d:"M1000,100c0,0 -120.987,-98 -350,-98c-229.013,0 -650,98 -650,98l1000,0Z"}):"crvri"===j?V=Object(b.createElement)("path",{d:"M1000,0c0,0 -120.987,98 -350,98c-229.013,0 -650,-98 -650,-98l0,100l1000,0l0,-100Z"}):"wave"===j?V=Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}):"wavei"===j?V=Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}):"waves"===j?V=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,73 -500,73c-154.895,0 -250,-45 -250,-45l0,70l1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,68 -500,68c-154.895,0 -250,-65 -250,-65l0,95l1000,0l0,-60Z",style:{opacity:.4}})):"wavesi"===j?V=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,73 500,73c154.895,0 250,-45 250,-45l0,70l-1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,68 500,68c154.895,0 250,-65 250,-65l0,95l-1000,0l0,-60Z",style:{opacity:.4}})):"mtns"===j?V=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,50l-182.69,-45.286l-292.031,61.197l-190.875,-41.075l-143.748,28.794l-190.656,-23.63l0,70l1000,0l0,-50Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,57l-152.781,-22.589l-214.383,19.81l-159.318,-21.471l-177.44,25.875l-192.722,5.627l-103.356,-27.275l0,63.023l1000,0l0,-43Z"})):"littri"===j?V=Object(b.createElement)("path",{d:"M500,2l25,98l-50,0l25,-98Z"}):"littrii"===j?V=Object(b.createElement)("path",{d:"M1000,100l-1000,0l0,-100l475,0l25,98l25,-98l475,0l0,100Z"}):"threelevels"===j?V=Object(b.createElement)(_c,null,Object(b.createElement)("path",{style:{opacity:.33},d:"M0 95L1000 0v100H0v-5z"}),Object(b.createElement)("path",{style:{opacity:.66},d:"M0 95l1000-67.944V100H0v-5z"}),Object(b.createElement)("path",{d:"M0 95l1000-40.887V100H0v-5z"})):"threelevelsi"===j&&(V=Object(b.createElement)(_c,null,Object(b.createElement)("path",{style:{opacity:.33},d:"M1000 95L0 0v100h1000v-5z"}),Object(b.createElement)("path",{style:{opacity:.66},d:"M1000 95L0 27.056V100h1000v-5z"}),Object(b.createElement)("path",{d:"M1000 95L0 54.113V100h1000v-5z"}))),"ct"===w?Z=Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z"}):"cti"===w?Z=Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"}):"ctd"===w?Z=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,20l-500,78l-500,-78l0,80l1000,0l0,-80Z"})):"ctdi"===w?Z=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M500,2l500,78l0,20l-1000,0l0,-20l500,-78Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"})):"sltl"===w?Z=Object(b.createElement)("path",{d:"M1000,0l-1000,100l1000,0l0,-100Z"}):"sltli"===w?Z=Object(b.createElement)("path",{d:"M0,100l1000,-100l-1000,0l0,100Z"}):"sltr"===w?Z=Object(b.createElement)("path",{d:"M0,0l1000,100l-1000,0l0,-100Z"}):"sltri"===w?Z=Object(b.createElement)("path",{d:"M1000,100l-1000,-100l1000,0l0,100Z"}):"crv"===w?Z=Object(b.createElement)("path",{d:"M1000,100c0,0 -270.987,-98 -500,-98c-229.013,0 -500,98 -500,98l1000,0Z"}):"crvi"===w?Z=Object(b.createElement)("path",{d:"M1000,0c0,0 -270.987,98 -500,98c-229.013,0 -500,-98 -500,-98l0,100l1000,0l0,-100Z"}):"crvl"===w?Z=Object(b.createElement)("path",{d:"M1000,100c0,0 -420.987,-98 -650,-98c-229.013,0 -350,98 -350,98l1000,0Z"}):"crvli"===w?Z=Object(b.createElement)("path",{d:"M1000,0c0,0 -420.987,98 -650,98c-229.013,0 -350,-98 -350,-98l0,100l1000,0l0,-100Z"}):"crvr"===w?Z=Object(b.createElement)("path",{d:"M1000,100c0,0 -120.987,-98 -350,-98c-229.013,0 -650,98 -650,98l1000,0Z"}):"crvri"===w?Z=Object(b.createElement)("path",{d:"M1000,0c0,0 -120.987,98 -350,98c-229.013,0 -650,-98 -650,-98l0,100l1000,0l0,-100Z"}):"wave"===w?Z=Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}):"wavei"===w?Z=Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}):"waves"===w?Z=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,73 -500,73c-154.895,0 -250,-45 -250,-45l0,70l1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,68 -500,68c-154.895,0 -250,-65 -250,-65l0,95l1000,0l0,-60Z",style:{opacity:.4}})):"wavesi"===w?Z=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,73 500,73c154.895,0 250,-45 250,-45l0,70l-1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,68 500,68c154.895,0 250,-65 250,-65l0,95l-1000,0l0,-60Z",style:{opacity:.4}})):"mtns"===w?Z=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,50l-182.69,-45.286l-292.031,61.197l-190.875,-41.075l-143.748,28.794l-190.656,-23.63l0,70l1000,0l0,-50Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,57l-152.781,-22.589l-214.383,19.81l-159.318,-21.471l-177.44,25.875l-192.722,5.627l-103.356,-27.275l0,63.023l1000,0l0,-43Z"})):"littri"===w?Z=Object(b.createElement)("path",{d:"M500,2l25,98l-50,0l25,-98Z"}):"littrii"===w?Z=Object(b.createElement)("path",{d:"M1000,100l-1000,0l0,-100l475,0l25,98l25,-98l475,0l0,100Z"}):"threelevels"===w?Z=Object(b.createElement)(_c,null,Object(b.createElement)("path",{style:{opacity:.33},d:"M0 95L1000 0v100H0v-5z"}),Object(b.createElement)("path",{style:{opacity:.66},d:"M0 95l1000-67.944V100H0v-5z"}),Object(b.createElement)("path",{d:"M0 95l1000-40.887V100H0v-5z"})):"threelevelsi"===w&&(Z=Object(b.createElement)(_c,null,Object(b.createElement)("path",{style:{opacity:.33},d:"M1000 95L0 0v100h1000v-5z"}),Object(b.createElement)("path",{style:{opacity:.66},d:"M1000 95L0 27.056V100h1000v-5z"}),Object(b.createElement)("path",{d:"M1000 95L0 54.113V100h1000v-5z"})));const G=!E||2!==l&&3!==l?"":" kt-custom-first-width-"+E,q=!S||2!==l&&3!==l?"":" kt-custom-second-width-"+S,K=S&&E&&3===l?" kt-custom-third-width-"+Math.round(10*(100-(parseFloat(E)+parseFloat(S))))/10:"",Q=d||"equal",J=p||"inherit",Y=O||"div",X=n||"inherit",ee=u||"notset",te=r&&"grad"===r?"gradient":"normal",le=xt()({["align"+(o||"none")]:!0,"kvs-lg-false":"undefined"!==D&&D,"kvs-md-false":"undefined"!==$&&$,"kvs-sm-false":"undefined"!==U&&U}),ae=Object(Ce.getColorClassName)("background-color",W),ie=xt()("kt-row-layout-inner",{"kt-row-has-bg":k||y||s||c,["kt-layout-id"+ee]:ee,"kt-jarallax":y&&"parallax"===T,[ae]:ae}),oe=xt()({"kt-row-column-wrap":!0,[`kt-has-${l}-columns`]:l,["kt-gutter-"+h]:h,["kt-v-gutter-"+(v||"default")]:!0,["kt-row-valign-"+f]:f,["kt-row-layout-"+Q]:Q,["kt-tab-layout-"+J]:J,["kt-m-colapse-"+g]:g,["kt-mobile-layout-"+X]:X,[G]:G,[q]:q,[K]:K,"kt-inner-column-height-full":void 0!==N&&!0===N,"kb-theme-content-width":i});return Object(b.createElement)(Y,{className:le},Object(b.createElement)("div",{id:"kt-layout-id"+u,className:ie,style:{backgroundImage:"slider"!==M&&"video"!==M&&z&&void 0!==y&&""!==y?"url("+y+")":void 0}},"slider"===M&&(()=>{let e;return e=void 0===H||void 0!==H&&void 0===H[0]?[{arrowStyle:"none",dotStyle:"dark",autoPlay:!0,speed:7e3,fade:!0,tranSpeed:400}]:H,Object(b.createElement)("div",{className:"kt-blocks-carousel kb-blocks-bg-slider kt-carousel-container-dotstyle-"+e[0].dotStyle},Object(b.createElement)("div",{className:`kt-blocks-carousel-init kb-blocks-bg-slider-init kt-carousel-arrowstyle-${e[0].arrowStyle} kt-carousel-dotstyle-${e[0].dotStyle}`,"data-slider-anim-speed":e[0].tranSpeed,"data-slider-type":"slider","data-slider-scroll":"1","data-slider-arrows":"none"!==e[0].arrowStyle,"data-slider-fade":e[0].fade,"data-slider-dots":"none"!==e[0].dotStyle,"data-slider-hover-pause":"false","data-slider-auto":e[0].autoPlay,"data-slider-speed":e[0].speed},io()(void 0!==I?I:1,e=>(e=>{let t;return t=void 0===B||void 0!==B&&void 0===B[0]?[{bgColor:"",bgImg:"",bgImgID:""}]:B,Object(b.createElement)("div",{className:"kb-bg-slide-contain"},Object(b.createElement)("div",{className:"kb-bg-slide kb-bg-slide-"+e,style:{backgroundColor:t[e]&&""!==t[e].bgColor?Yi(t[e].bgColor):void 0,backgroundImage:t[e]&&""!==t[e].bgImg?'url("'+t[e].bgImg+'")':void 0,backgroundSize:P||void 0,backgroundPosition:R||void 0,backgroundRepeat:A||void 0}}))})(e))))})(),"video"===M&&Object(b.createElement)("div",{className:"kb-blocks-bg-video-container"},(void 0===L||""===L||"local"===L)&&(()=>{const e=void 0!==F&&void 0!==F[0]&&void 0!==F[0].local?F:[{youTube:"",local:"",localID:"",vimeo:"",ratio:"16/9",btns:!1,loop:!0,mute:!0}];return Object(b.createElement)(_c,null,Object(b.createElement)("video",{className:"kb-blocks-bg-video",poster:void 0!==y&&""!==y?y:void 0,playsinline:"",autoplay:"",muted:!1!==e[0].mute&&"",loop:!1!==e[0].loop&&"",src:e[0].local}),!0===e[0].btns&&Object(b.createElement)("div",{className:"kb-background-video-buttons-wrapper kb-background-video-buttons-html5"},Object(b.createElement)("button",{className:"kb-background-video-play kb-toggle-video-btn","aria-label":Object(m.__)("Play","kadence-blocks"),"aria-hidden":"true",style:"display: none;"},Object(b.createElement)("svg",{viewBox:"0 0 448 512",height:"16",width:"16",fill:"currentColor",xmlns:"https://www.w3.org/2000/svg"},Object(b.createElement)("path",{d:"M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z"}))),Object(b.createElement)("button",{className:"kb-background-video-pause kb-toggle-video-btn","aria-label":Object(m.__)("Pause","kadence-blocks"),"aria-hidden":"false"},Object(b.createElement)("svg",{viewBox:"0 0 448 512",height:"16",width:"16",fill:"currentColor",xmlns:"https://www.w3.org/2000/svg"},Object(b.createElement)("path",{d:"M144 479H48c-26.5 0-48-21.5-48-48V79c0-26.5 21.5-48 48-48h96c26.5 0 48 21.5 48 48v352c0 26.5-21.5 48-48 48zm304-48V79c0-26.5-21.5-48-48-48h-96c-26.5 0-48 21.5-48 48v352c0 26.5 21.5 48 48 48h96c26.5 0 48-21.5 48-48z"}))),!1===e[0].mute&&Object(b.createElement)(_c,null,Object(b.createElement)("button",{className:"kb-background-video-unmute kb-toggle-video-btn","aria-label":Object(m.__)("Unmute","kadence-blocks"),"aria-hidden":"true",style:"display: none;"},Object(b.createElement)("svg",{viewBox:"0 0 256 512",height:"16",width:"16",fill:"currentColor",xmlns:"https://www.w3.org/2000/svg"},Object(b.createElement)("path",{d:"M256 88.017v335.964c0 21.438-25.943 31.998-40.971 16.971L126.059 352H24c-13.255 0-24-10.745-24-24V184c0-13.255 10.745-24 24-24h102.059l88.971-88.954c15.01-15.01 40.97-4.49 40.97 16.971z"}))),Object(b.createElement)("button",{className:"kb-background-video-mute kb-toggle-video-btn","aria-label":Object(m.__)("Mute","kadence-blocks"),"aria-hidden":"false"},Object(b.createElement)("svg",{viewBox:"0 0 576 512",height:"16",width:"16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},Object(b.createElement)("path",{d:"M256 88.017v335.964c0 21.438-25.943 31.998-40.971 16.971L126.059 352H24c-13.255 0-24-10.745-24-24V184c0-13.255 10.745-24 24-24h102.059l88.971-88.954c15.01-15.01 40.97-4.49 40.97 16.971zm182.056-77.876C422.982.92 403.283 5.668 394.061 20.745c-9.221 15.077-4.473 34.774 10.604 43.995C468.967 104.063 512 174.983 512 256c0 73.431-36.077 142.292-96.507 184.206-14.522 10.072-18.129 30.01-8.057 44.532 10.076 14.528 30.016 18.126 44.531 8.057C529.633 438.927 576 350.406 576 256c0-103.244-54.579-194.877-137.944-245.859zM480 256c0-68.547-36.15-129.777-91.957-163.901-15.076-9.22-34.774-4.471-43.994 10.607-9.22 15.078-4.471 34.774 10.607 43.994C393.067 170.188 416 211.048 416 256c0 41.964-20.62 81.319-55.158 105.276-14.521 10.073-18.128 30.01-8.056 44.532 6.216 8.96 16.185 13.765 26.322 13.765a31.862 31.862 0 0 0 18.21-5.709C449.091 377.953 480 318.938 480 256zm-96 0c0-33.717-17.186-64.35-45.972-81.944-15.079-9.214-34.775-4.463-43.992 10.616s-4.464 34.775 10.615 43.992C314.263 234.538 320 244.757 320 256a32.056 32.056 0 0 1-13.802 26.332c-14.524 10.069-18.136 30.006-8.067 44.53 10.07 14.525 30.008 18.136 44.53 8.067C368.546 316.983 384 287.478 384 256z"}))))))})()),(s||c)&&Object(b.createElement)("div",{className:`kt-row-layout-overlay kt-row-overlay-${te}${c&&"gradient"!==te&&"parallax"===C?" kt-jarallax":""}`}),w&&"none"!==w&&""!==w&&Object(b.createElement)("div",{className:"kt-row-layout-top-sep kt-row-sep-type-"+w},Object(b.createElement)("svg",{style:{fill:Yi(x)},viewBox:"0 0 1000 100",preserveAspectRatio:"none"},Z)),Object(b.createElement)("div",{className:oe},Object(b.createElement)(Ce.InnerBlocks.Content,null)),j&&"none"!==j&&""!==j&&Object(b.createElement)("div",{className:"kt-row-layout-bottom-sep kt-row-sep-type-"+j},Object(b.createElement)("svg",{style:{fill:Yi(_)},viewBox:"0 0 1000 100",preserveAspectRatio:"none"},V))))}},{attributes:{uniqueID:{type:"string",default:""},columns:{type:"number",default:2},mobileLayout:{type:"string",default:"row"},tabletLayout:{type:"string",default:"inherit"},collapseOrder:{type:"string",default:"left-to-right"},collapseGutter:{type:"string",default:"default"},columnGutter:{type:"string",default:"default"},colLayout:{type:"string",default:""},currentTab:{type:"string",default:"desk"},currentOverlayTab:{type:"string",default:"normal"},htmlTag:{type:"string",default:"div"},minHeight:{type:"number",default:0},maxWidth:{type:"number",default:""},topPadding:{type:"number",default:25},bottomPadding:{type:"number",default:25},leftPadding:{type:"number",default:""},rightPadding:{type:"number",default:""},topPaddingM:{type:"number",default:""},bottomPaddingM:{type:"number",default:""},leftPaddingM:{type:"number",default:""},rightPaddingM:{type:"number",default:""},topMargin:{type:"number",default:""},bottomMargin:{type:"number",default:""},topMarginM:{type:"number",default:""},bottomMarginM:{type:"number",default:""},bgColor:{type:"string",default:""},bgImg:{type:"string",default:""},bgImgID:{type:"string",default:""},bgImgSize:{type:"string",default:"cover"},bgImgPosition:{type:"string",default:"center center"},bgImgAttachment:{type:"string",default:"scroll"},bgImgRepeat:{type:"string",default:"no-repeat"},overlay:{type:"string",default:""},overlaySecond:{type:"string",default:"#00B5E2"},overlayFirstOpacity:{type:"number",default:""},overlaySecondOpacity:{type:"number",default:""},overlayGradLoc:{type:"number",default:0},overlayGradLocSecond:{type:"number",default:100},overlayGradType:{type:"string",default:"linear"},overlayGradAngle:{type:"number",default:180},overlayBgImg:{type:"string",default:""},overlayBgImgID:{type:"string",default:""},overlayBgImgSize:{type:"string",default:"cover"},overlayBgImgPosition:{type:"string",default:"center center"},overlayBgImgAttachment:{type:"string",default:"scroll"},overlayBgImgRepeat:{type:"string",default:"no-repeat"},overlayOpacity:{type:"number",default:30},overlayBlendMode:{type:"string",default:"none"},blockAlignment:{type:"string",default:"none"},verticalAlignment:{type:"string",default:"top"},topSep:{type:"string",default:"none"},topSepColor:{type:"string",default:"#ffffff"},topSepFlip:{type:"boolean",default:!1},topSepHeight:{type:"number",default:100},topSepHeightTab:{type:"number",default:""},topSepHeightMobile:{type:"number",default:""},bottomSep:{type:"string",default:"none"},bottomSepColor:{type:"string",default:"#ffffff"},bottomSepFlip:{type:"boolean",default:!1},bottomSepHeight:{type:"number",default:100},bottomSepWidth:{type:"number",default:100},bottomSepWidthTab:{type:"number",default:""},bottomSepWidthMobile:{type:"number",default:""},bottomSepHeightTab:{type:"number",default:""},bottomSepHeightMobile:{type:"number",default:""},firstColumnWidth:{type:"number"},secondColumnWidth:{type:"number"},textColor:{type:"string",default:""},linkColor:{type:"string",default:""},linkHoverColor:{type:"string",default:""},tabletPadding:{type:"array",default:["","","",""]},topMarginT:{type:"number",default:""},bottomMarginT:{type:"number",default:""},marginUnit:{type:"string",default:"px"},minHeightUnit:{type:"string",default:"px"},maxWidthUnit:{type:"string",default:"px"},columnsUnlocked:{type:"bool",default:!1},tabletBackground:{type:"array",default:[{enable:!1,bgColor:"",bgImg:"",bgImgID:"",bgImgSize:"cover",bgImgPosition:"center center",bgImgAttachment:"scroll",bgImgRepeat:"no-repeat",forceOverDesk:!1}]},tabletOverlay:{type:"array",default:[{enable:!1,currentOverlayTab:"normal",overlay:"",overlaySecond:"#00B5E2",overlayGradLoc:0,overlayGradLocSecond:100,overlayGradType:"linear",overlayGradAngle:180,overlayBgImg:"",overlayBgImgID:"",overlayBgImgSize:"cover",overlayBgImgPosition:"center center",overlayBgImgAttachment:"scroll",overlayBgImgRepeat:"no-repeat",overlayOpacity:30,overlayBlendMod:"none"}]},mobileBackground:{type:"array",default:[{enable:!1,bgColor:"",bgImg:"",bgImgID:"",bgImgSize:"cover",bgImgPosition:"center center",bgImgAttachment:"scroll",bgImgRepeat:"no-repeat",forceOverDesk:!1}]},mobileOverlay:{type:"array",default:[{enable:!1,currentOverlayTab:"normal",overlay:"",overlaySecond:"#00B5E2",overlayGradLoc:0,overlayGradLocSecond:100,overlayGradType:"linear",overlayGradAngle:180,overlayBgImg:"",overlayBgImgID:"",overlayBgImgSize:"cover",overlayBgImgPosition:"center center",overlayBgImgAttachment:"scroll",overlayBgImgRepeat:"no-repeat",overlayOpacity:30,overlayBlendMod:"none"}]},columnsInnerHeight:{type:"bool",default:!1},topSepWidth:{type:"number",default:""},topSepWidthTablet:{type:"number",default:""},topSepWidthMobile:{type:"number",default:""},backgroundInline:{type:"bool",default:!1},backgroundSettingTab:{type:"string",default:"normal"},backgroundSliderCount:{type:"number",default:1},backgroundSlider:{type:"array",default:[{bgColor:"",bgImg:"",bgImgID:""}]},backgroundSliderSettings:{type:"array",default:[{arrowStyle:"none",dotStyle:"dark",autoPlay:!0,speed:7e3,fade:!0,tranSpeed:400}]},backgroundVideoType:{type:"string",default:"local"},backgroundVideo:{type:"array",default:[{youTube:"",local:"",localID:"",vimeo:"",ratio:"16/9",btns:!1,loop:!0,mute:!0}]},zIndex:{type:"number",default:""},paddingUnit:{type:"string",default:"px"},noCustomDefaults:{type:"bool",default:!1}},migrate(e){const t=e.blockAlignment?e.blockAlignment:void 0;return e.blockAlignment&&delete e.blockAlignment,{...e,align:t||void 0}},save:e=>{let{attributes:t}=e;const{columns:l,blockAlignment:a,mobileLayout:i,currentOverlayTab:o,overlayBgImg:n,overlay:r,colLayout:c,tabletLayout:s,collapseOrder:d,uniqueID:p,columnGutter:g,collapseGutter:u,bgColor:h,bgImg:v,verticalAlignment:k,htmlTag:y,bottomSep:f,bottomSepColor:O,topSep:j,topSepColor:_,firstColumnWidth:w,secondColumnWidth:x,overlayBgImgAttachment:E,bgImgAttachment:S,columnsInnerHeight:C,backgroundInline:T,backgroundSettingTab:N,backgroundSliderCount:z,backgroundSliderSettings:M,backgroundSlider:I,bgImgSize:H,bgImgPosition:B,bgImgRepeat:P,backgroundVideoType:R,backgroundVideo:A}=t;let L,F;"ct"===f?L=Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z"}):"cti"===f?L=Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"}):"ctd"===f?L=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,20l-500,78l-500,-78l0,80l1000,0l0,-80Z"})):"ctdi"===f?L=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M500,2l500,78l0,20l-1000,0l0,-20l500,-78Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"})):"sltl"===f?L=Object(b.createElement)("path",{d:"M1000,0l-1000,100l1000,0l0,-100Z"}):"sltli"===f?L=Object(b.createElement)("path",{d:"M0,100l1000,-100l-1000,0l0,100Z"}):"sltr"===f?L=Object(b.createElement)("path",{d:"M0,0l1000,100l-1000,0l0,-100Z"}):"sltri"===f?L=Object(b.createElement)("path",{d:"M1000,100l-1000,-100l1000,0l0,100Z"}):"crv"===f?L=Object(b.createElement)("path",{d:"M1000,100c0,0 -270.987,-98 -500,-98c-229.013,0 -500,98 -500,98l1000,0Z"}):"crvi"===f?L=Object(b.createElement)("path",{d:"M1000,0c0,0 -270.987,98 -500,98c-229.013,0 -500,-98 -500,-98l0,100l1000,0l0,-100Z"}):"crvl"===f?L=Object(b.createElement)("path",{d:"M1000,100c0,0 -420.987,-98 -650,-98c-229.013,0 -350,98 -350,98l1000,0Z"}):"crvli"===f?L=Object(b.createElement)("path",{d:"M1000,0c0,0 -420.987,98 -650,98c-229.013,0 -350,-98 -350,-98l0,100l1000,0l0,-100Z"}):"crvr"===f?L=Object(b.createElement)("path",{d:"M1000,100c0,0 -120.987,-98 -350,-98c-229.013,0 -650,98 -650,98l1000,0Z"}):"crvri"===f?L=Object(b.createElement)("path",{d:"M1000,0c0,0 -120.987,98 -350,98c-229.013,0 -650,-98 -650,-98l0,100l1000,0l0,-100Z"}):"wave"===f?L=Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}):"wavei"===f?L=Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}):"waves"===f?L=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,73 -500,73c-154.895,0 -250,-45 -250,-45l0,70l1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,68 -500,68c-154.895,0 -250,-65 -250,-65l0,95l1000,0l0,-60Z",style:{opacity:.4}})):"wavesi"===f?L=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,73 500,73c154.895,0 250,-45 250,-45l0,70l-1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,68 500,68c154.895,0 250,-65 250,-65l0,95l-1000,0l0,-60Z",style:{opacity:.4}})):"mtns"===f?L=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,50l-182.69,-45.286l-292.031,61.197l-190.875,-41.075l-143.748,28.794l-190.656,-23.63l0,70l1000,0l0,-50Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,57l-152.781,-22.589l-214.383,19.81l-159.318,-21.471l-177.44,25.875l-192.722,5.627l-103.356,-27.275l0,63.023l1000,0l0,-43Z"})):"littri"===f?L=Object(b.createElement)("path",{d:"M500,2l25,98l-50,0l25,-98Z"}):"littrii"===f?L=Object(b.createElement)("path",{d:"M1000,100l-1000,0l0,-100l475,0l25,98l25,-98l475,0l0,100Z"}):"threelevels"===f&&(L=Object(b.createElement)(_c,null,Object(b.createElement)("path",{style:{opacity:.33},d:"M0 95L1000 0v100H0v-5z"}),Object(b.createElement)("path",{style:{opacity:.66},d:"M0 95l1000-67.944V100H0v-5z"}),Object(b.createElement)("path",{d:"M0 95l1000-40.887V100H0v-5z"}))),"ct"===j?F=Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z"}):"cti"===j?F=Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"}):"ctd"===j?F=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,20l-500,78l-500,-78l0,80l1000,0l0,-80Z"})):"ctdi"===j?F=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M500,2l500,78l0,20l-1000,0l0,-20l500,-78Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"})):"sltl"===j?F=Object(b.createElement)("path",{d:"M1000,0l-1000,100l1000,0l0,-100Z"}):"sltli"===j?F=Object(b.createElement)("path",{d:"M0,100l1000,-100l-1000,0l0,100Z"}):"sltr"===j?F=Object(b.createElement)("path",{d:"M0,0l1000,100l-1000,0l0,-100Z"}):"sltri"===j?F=Object(b.createElement)("path",{d:"M1000,100l-1000,-100l1000,0l0,100Z"}):"crv"===j?F=Object(b.createElement)("path",{d:"M1000,100c0,0 -270.987,-98 -500,-98c-229.013,0 -500,98 -500,98l1000,0Z"}):"crvi"===j?F=Object(b.createElement)("path",{d:"M1000,0c0,0 -270.987,98 -500,98c-229.013,0 -500,-98 -500,-98l0,100l1000,0l0,-100Z"}):"crvl"===j?F=Object(b.createElement)("path",{d:"M1000,100c0,0 -420.987,-98 -650,-98c-229.013,0 -350,98 -350,98l1000,0Z"}):"crvli"===j?F=Object(b.createElement)("path",{d:"M1000,0c0,0 -420.987,98 -650,98c-229.013,0 -350,-98 -350,-98l0,100l1000,0l0,-100Z"}):"crvr"===j?F=Object(b.createElement)("path",{d:"M1000,100c0,0 -120.987,-98 -350,-98c-229.013,0 -650,98 -650,98l1000,0Z"}):"crvri"===j?F=Object(b.createElement)("path",{d:"M1000,0c0,0 -120.987,98 -350,98c-229.013,0 -650,-98 -650,-98l0,100l1000,0l0,-100Z"}):"wave"===j?F=Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}):"wavei"===j?F=Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}):"waves"===j?F=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,73 -500,73c-154.895,0 -250,-45 -250,-45l0,70l1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,68 -500,68c-154.895,0 -250,-65 -250,-65l0,95l1000,0l0,-60Z",style:{opacity:.4}})):"wavesi"===j?F=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,73 500,73c154.895,0 250,-45 250,-45l0,70l-1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,68 500,68c154.895,0 250,-65 250,-65l0,95l-1000,0l0,-60Z",style:{opacity:.4}})):"mtns"===j?F=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,50l-182.69,-45.286l-292.031,61.197l-190.875,-41.075l-143.748,28.794l-190.656,-23.63l0,70l1000,0l0,-50Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,57l-152.781,-22.589l-214.383,19.81l-159.318,-21.471l-177.44,25.875l-192.722,5.627l-103.356,-27.275l0,63.023l1000,0l0,-43Z"})):"littri"===j?F=Object(b.createElement)("path",{d:"M500,2l25,98l-50,0l25,-98Z"}):"littrii"===j&&(F=Object(b.createElement)("path",{d:"M1000,100l-1000,0l0,-100l475,0l25,98l25,-98l475,0l0,100Z"}));const W=!w||2!==l&&3!==l?"":" kt-custom-first-width-"+w,D=!x||2!==l&&3!==l?"":" kt-custom-second-width-"+x,$=x&&w&&3===l?" kt-custom-third-width-"+Math.round(10*(100-(parseFloat(w)+parseFloat(x))))/10:"",U=c||"equal",V=s||"inherit",Z=y||"div",G=i||"inherit",q=p||"notset",K=h||v||r||n?"kt-row-has-bg":"",Q=o&&"grad"===o?"gradient":"normal",J=xt()("align"+(a||"none")),Y=xt()(`kt-row-layout-inner ${K} kt-layout-id${q}${v&&"parallax"===S?" kt-jarallax":""}`),X=xt()(`kt-row-column-wrap kt-has-${l}-columns kt-gutter-${g} kt-v-gutter-${u||"default"} kt-row-valign-${k} kt-row-layout-${U} kt-tab-layout-${V} kt-m-colapse-${d} kt-mobile-layout-${G}${W}${D}${$}${void 0!==C&&!0===C?" kt-inner-column-height-full":""}`);return Object(b.createElement)(Z,{className:J},Object(b.createElement)("div",{id:"kt-layout-id"+p,className:Y,style:{backgroundImage:"slider"!==N&&"video"!==N&&T&&void 0!==v&&""!==v?"url("+v+")":void 0}},"slider"===N&&(()=>{let e;return e=void 0===M||void 0!==M&&void 0===M[0]?[{arrowStyle:"none",dotStyle:"dark",autoPlay:!0,speed:7e3,fade:!0,tranSpeed:400}]:M,Object(b.createElement)("div",{className:"kt-blocks-carousel kb-blocks-bg-slider kt-carousel-container-dotstyle-"+e[0].dotStyle},Object(b.createElement)("div",{className:`kt-blocks-carousel-init kb-blocks-bg-slider-init kt-carousel-arrowstyle-${e[0].arrowStyle} kt-carousel-dotstyle-${e[0].dotStyle}`,"data-slider-anim-speed":e[0].tranSpeed,"data-slider-type":"slider","data-slider-scroll":"1","data-slider-arrows":"none"!==e[0].arrowStyle,"data-slider-fade":e[0].fade,"data-slider-dots":"none"!==e[0].dotStyle,"data-slider-hover-pause":"false","data-slider-auto":e[0].autoPlay,"data-slider-speed":e[0].speed},io()(void 0!==z?z:1,e=>(e=>{let t;return t=void 0===I||void 0!==I&&void 0===I[0]?[{bgColor:"",bgImg:"",bgImgID:""}]:I,Object(b.createElement)("div",{className:"kb-bg-slide-contain"},Object(b.createElement)("div",{className:"kb-bg-slide kb-bg-slide-"+e,style:{backgroundColor:t[e]&&""!==t[e].bgColor?t[e].bgColor:void 0,backgroundImage:t[e]&&""!==t[e].bgImg?'url("'+t[e].bgImg+'")':void 0,backgroundSize:H||void 0,backgroundPosition:B||void 0,backgroundRepeat:P||void 0}}))})(e))))})(),"video"===N&&Object(b.createElement)("div",{className:"kb-blocks-bg-video-container"},(void 0===R||""===R||"local"===R)&&(()=>{const e=void 0!==A&&void 0!==A[0]&&void 0!==A[0].local?A:[{youTube:"",local:"",localID:"",vimeo:"",ratio:"16/9",btns:!1,loop:!0,mute:!0}];return Object(b.createElement)(_c,null,Object(b.createElement)("video",{className:"kb-blocks-bg-video",poster:void 0!==v&&""!==v?v:void 0,playsinline:"",autoplay:"",muted:!1!==e[0].mute&&"",loop:!1!==e[0].loop&&"",src:e[0].local}),!0===e[0].btns&&Object(b.createElement)("div",{className:"kb-background-video-buttons-wrapper kb-background-video-buttons-html5"},Object(b.createElement)("button",{className:"kb-background-video-play kb-toggle-video-btn","aria-label":Object(m.__)("Play"),"aria-hidden":"true",style:"display: none;"},Object(b.createElement)("svg",{viewBox:"0 0 448 512",height:"16",width:"16",fill:"currentColor",xmlns:"https://www.w3.org/2000/svg"},Object(b.createElement)("path",{d:"M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z"}))),Object(b.createElement)("button",{className:"kb-background-video-pause kb-toggle-video-btn","aria-label":Object(m.__)("Pause"),"aria-hidden":"false"},Object(b.createElement)("svg",{viewBox:"0 0 448 512",height:"16",width:"16",fill:"currentColor",xmlns:"https://www.w3.org/2000/svg"},Object(b.createElement)("path",{d:"M144 479H48c-26.5 0-48-21.5-48-48V79c0-26.5 21.5-48 48-48h96c26.5 0 48 21.5 48 48v352c0 26.5-21.5 48-48 48zm304-48V79c0-26.5-21.5-48-48-48h-96c-26.5 0-48 21.5-48 48v352c0 26.5 21.5 48 48 48h96c26.5 0 48-21.5 48-48z"}))),!1===e[0].mute&&Object(b.createElement)(_c,null,Object(b.createElement)("button",{className:"kb-background-video-unmute kb-toggle-video-btn","aria-label":Object(m.__)("Unmute"),"aria-hidden":"true",style:"display: none;"},Object(b.createElement)("svg",{viewBox:"0 0 256 512",height:"16",width:"16",fill:"currentColor",xmlns:"https://www.w3.org/2000/svg"},Object(b.createElement)("path",{d:"M256 88.017v335.964c0 21.438-25.943 31.998-40.971 16.971L126.059 352H24c-13.255 0-24-10.745-24-24V184c0-13.255 10.745-24 24-24h102.059l88.971-88.954c15.01-15.01 40.97-4.49 40.97 16.971z"}))),Object(b.createElement)("button",{className:"kb-background-video-mute kb-toggle-video-btn","aria-label":Object(m.__)("Mute"),"aria-hidden":"false"},Object(b.createElement)("svg",{viewBox:"0 0 576 512",height:"16",width:"16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},Object(b.createElement)("path",{d:"M256 88.017v335.964c0 21.438-25.943 31.998-40.971 16.971L126.059 352H24c-13.255 0-24-10.745-24-24V184c0-13.255 10.745-24 24-24h102.059l88.971-88.954c15.01-15.01 40.97-4.49 40.97 16.971zm182.056-77.876C422.982.92 403.283 5.668 394.061 20.745c-9.221 15.077-4.473 34.774 10.604 43.995C468.967 104.063 512 174.983 512 256c0 73.431-36.077 142.292-96.507 184.206-14.522 10.072-18.129 30.01-8.057 44.532 10.076 14.528 30.016 18.126 44.531 8.057C529.633 438.927 576 350.406 576 256c0-103.244-54.579-194.877-137.944-245.859zM480 256c0-68.547-36.15-129.777-91.957-163.901-15.076-9.22-34.774-4.471-43.994 10.607-9.22 15.078-4.471 34.774 10.607 43.994C393.067 170.188 416 211.048 416 256c0 41.964-20.62 81.319-55.158 105.276-14.521 10.073-18.128 30.01-8.056 44.532 6.216 8.96 16.185 13.765 26.322 13.765a31.862 31.862 0 0 0 18.21-5.709C449.091 377.953 480 318.938 480 256zm-96 0c0-33.717-17.186-64.35-45.972-81.944-15.079-9.214-34.775-4.463-43.992 10.616s-4.464 34.775 10.615 43.992C314.263 234.538 320 244.757 320 256a32.056 32.056 0 0 1-13.802 26.332c-14.524 10.069-18.136 30.006-8.067 44.53 10.07 14.525 30.008 18.136 44.53 8.067C368.546 316.983 384 287.478 384 256z"}))))))})()),(r||n)&&Object(b.createElement)("div",{className:`kt-row-layout-overlay kt-row-overlay-${Q}${n&&"gradient"!==Q&&"parallax"===E?" kt-jarallax":""}`}),j&&"none"!==j&&""!==j&&Object(b.createElement)("div",{className:"kt-row-layout-top-sep kt-row-sep-type-"+j},Object(b.createElement)("svg",{style:{fill:_},viewBox:"0 0 1000 100",preserveAspectRatio:"none"},F)),Object(b.createElement)("div",{className:X},Object(b.createElement)(Ce.InnerBlocks.Content,null)),f&&"none"!==f&&""!==f&&Object(b.createElement)("div",{className:"kt-row-layout-bottom-sep kt-row-sep-type-"+f},Object(b.createElement)("svg",{style:{fill:O},viewBox:"0 0 1000 100",preserveAspectRatio:"none"},L))))}},{attributes:{uniqueID:{type:"string",default:""},columns:{type:"number",default:2},mobileLayout:{type:"string",default:"row"},tabletLayout:{type:"string",default:"inherit"},collapseOrder:{type:"string",default:"left-to-right"},columnGutter:{type:"string",default:"default"},colLayout:{type:"string",default:""},currentTab:{type:"string",default:"desk"},currentOverlayTab:{type:"string",default:"normal"},htmlTag:{type:"string",default:"div"},minHeight:{type:"number",default:0},maxWidth:{type:"number",default:""},topPadding:{type:"number",default:25},bottomPadding:{type:"number",default:25},leftPadding:{type:"number",default:""},rightPadding:{type:"number",default:""},topPaddingM:{type:"number",default:""},bottomPaddingM:{type:"number",default:""},leftPaddingM:{type:"number",default:""},rightPaddingM:{type:"number",default:""},topMargin:{type:"number",default:""},bottomMargin:{type:"number",default:""},topMarginM:{type:"number",default:""},bottomMarginM:{type:"number",default:""},bgColor:{type:"string",default:""},bgImg:{type:"string",default:""},bgImgID:{type:"string",default:""},bgImgSize:{type:"string",default:"cover"},bgImgPosition:{type:"string",default:"center center"},bgImgAttachment:{type:"string",default:"scroll"},bgImgRepeat:{type:"string",default:"no-repeat"},overlay:{type:"string",default:""},overlaySecond:{type:"string",default:"#00B5E2"},overlayGradLoc:{type:"number",default:0},overlayGradLocSecond:{type:"number",default:100},overlayGradType:{type:"string",default:"linear"},overlayGradAngle:{type:"number",default:180},overlayBgImg:{type:"string",default:""},overlayBgImgID:{type:"string",default:""},overlayBgImgSize:{type:"string",default:"cover"},overlayBgImgPosition:{type:"string",default:"center center"},overlayBgImgAttachment:{type:"string",default:"scroll"},overlayBgImgRepeat:{type:"string",default:"no-repeat"},overlayOpacity:{type:"number",default:30},overlayBlendMode:{type:"string",default:"none"},blockAlignment:{type:"string",default:"none"},verticalAlignment:{type:"string",default:"top"},topSep:{type:"string",default:"none"},topSepColor:{type:"string",default:"#ffffff"},topSepFlip:{type:"boolean",default:!1},topSepHeight:{type:"number",default:100},topSepHeightTab:{type:"number",default:""},topSepHeightMobile:{type:"number",default:""},bottomSep:{type:"string",default:"none"},bottomSepColor:{type:"string",default:"#ffffff"},bottomSepFlip:{type:"boolean",default:!1},bottomSepHeight:{type:"number",default:100},bottomSepWidth:{type:"number",default:100},bottomSepWidthTab:{type:"number",default:""},bottomSepWidthMobile:{type:"number",default:""},bottomSepHeightTab:{type:"number",default:""},bottomSepHeightMobile:{type:"number",default:""},firstColumnWidth:{type:"number"},secondColumnWidth:{type:"number"},textColor:{type:"string",default:""},linkColor:{type:"string",default:""},linkHoverColor:{type:"string",default:""}},save:e=>{let{attributes:t}=e;const{columns:l,blockAlignment:a,mobileLayout:i,currentOverlayTab:o,overlayBgImg:n,overlay:r,colLayout:c,tabletLayout:s,collapseOrder:d,uniqueID:m,columnGutter:p,bgColor:g,bgImg:u,verticalAlignment:h,htmlTag:v,bottomSep:k,bottomSepColor:y,topSep:f,topSepColor:O,firstColumnWidth:j}=t;let _,w;"ct"===k?_=Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z"}):"cti"===k?_=Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"}):"ctd"===k?_=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,20l-500,78l-500,-78l0,80l1000,0l0,-80Z"})):"ctdi"===k?_=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M500,2l500,78l0,20l-1000,0l0,-20l500,-78Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"})):"sltl"===k?_=Object(b.createElement)("path",{d:"M1000,0l-1000,100l1000,0l0,-100Z"}):"sltli"===k?_=Object(b.createElement)("path",{d:"M0,100l1000,-100l-1000,0l0,100Z"}):"sltr"===k?_=Object(b.createElement)("path",{d:"M0,0l1000,100l-1000,0l0,-100Z"}):"sltri"===k?_=Object(b.createElement)("path",{d:"M1000,100l-1000,-100l1000,0l0,100Z"}):"crv"===k?_=Object(b.createElement)("path",{d:"M1000,100c0,0 -270.987,-98 -500,-98c-229.013,0 -500,98 -500,98l1000,0Z"}):"crvi"===k?_=Object(b.createElement)("path",{d:"M1000,0c0,0 -270.987,98 -500,98c-229.013,0 -500,-98 -500,-98l0,100l1000,0l0,-100Z"}):"crvl"===k?_=Object(b.createElement)("path",{d:"M1000,100c0,0 -420.987,-98 -650,-98c-229.013,0 -350,98 -350,98l1000,0Z"}):"crvli"===k?_=Object(b.createElement)("path",{d:"M1000,0c0,0 -420.987,98 -650,98c-229.013,0 -350,-98 -350,-98l0,100l1000,0l0,-100Z"}):"crvr"===k?_=Object(b.createElement)("path",{d:"M1000,100c0,0 -120.987,-98 -350,-98c-229.013,0 -650,98 -650,98l1000,0Z"}):"crvri"===k?_=Object(b.createElement)("path",{d:"M1000,0c0,0 -120.987,98 -350,98c-229.013,0 -650,-98 -650,-98l0,100l1000,0l0,-100Z"}):"wave"===k?_=Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}):"wavei"===k?_=Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}):"waves"===k?_=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,73 -500,73c-154.895,0 -250,-45 -250,-45l0,70l1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,68 -500,68c-154.895,0 -250,-65 -250,-65l0,95l1000,0l0,-60Z",style:{opacity:.4}})):"wavesi"===k?_=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,73 500,73c154.895,0 250,-45 250,-45l0,70l-1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,68 500,68c154.895,0 250,-65 250,-65l0,95l-1000,0l0,-60Z",style:{opacity:.4}})):"mtns"===k?_=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,50l-182.69,-45.286l-292.031,61.197l-190.875,-41.075l-143.748,28.794l-190.656,-23.63l0,70l1000,0l0,-50Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,57l-152.781,-22.589l-214.383,19.81l-159.318,-21.471l-177.44,25.875l-192.722,5.627l-103.356,-27.275l0,63.023l1000,0l0,-43Z"})):"littri"===k?_=Object(b.createElement)("path",{d:"M500,2l25,98l-50,0l25,-98Z"}):"littrii"===k&&(_=Object(b.createElement)("path",{d:"M1000,100l-1000,0l0,-100l475,0l25,98l25,-98l475,0l0,100Z"})),"ct"===f?w=Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z"}):"cti"===f?w=Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"}):"ctd"===f?w=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,20l-500,78l-500,-78l0,80l1000,0l0,-80Z"})):"ctdi"===f?w=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M500,2l500,78l0,20l-1000,0l0,-20l500,-78Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"})):"sltl"===f?w=Object(b.createElement)("path",{d:"M1000,0l-1000,100l1000,0l0,-100Z"}):"sltli"===f?w=Object(b.createElement)("path",{d:"M0,100l1000,-100l-1000,0l0,100Z"}):"sltr"===f?w=Object(b.createElement)("path",{d:"M0,0l1000,100l-1000,0l0,-100Z"}):"sltri"===f?w=Object(b.createElement)("path",{d:"M1000,100l-1000,-100l1000,0l0,100Z"}):"crv"===f?w=Object(b.createElement)("path",{d:"M1000,100c0,0 -270.987,-98 -500,-98c-229.013,0 -500,98 -500,98l1000,0Z"}):"crvi"===f?w=Object(b.createElement)("path",{d:"M1000,0c0,0 -270.987,98 -500,98c-229.013,0 -500,-98 -500,-98l0,100l1000,0l0,-100Z"}):"crvl"===f?w=Object(b.createElement)("path",{d:"M1000,100c0,0 -420.987,-98 -650,-98c-229.013,0 -350,98 -350,98l1000,0Z"}):"crvli"===f?w=Object(b.createElement)("path",{d:"M1000,0c0,0 -420.987,98 -650,98c-229.013,0 -350,-98 -350,-98l0,100l1000,0l0,-100Z"}):"crvr"===f?w=Object(b.createElement)("path",{d:"M1000,100c0,0 -120.987,-98 -350,-98c-229.013,0 -650,98 -650,98l1000,0Z"}):"crvri"===f?w=Object(b.createElement)("path",{d:"M1000,0c0,0 -120.987,98 -350,98c-229.013,0 -650,-98 -650,-98l0,100l1000,0l0,-100Z"}):"wave"===f?w=Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}):"wavei"===f?w=Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}):"waves"===f?w=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,73 -500,73c-154.895,0 -250,-45 -250,-45l0,70l1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,68 -500,68c-154.895,0 -250,-65 -250,-65l0,95l1000,0l0,-60Z",style:{opacity:.4}})):"wavesi"===f?w=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,73 500,73c154.895,0 250,-45 250,-45l0,70l-1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,68 500,68c154.895,0 250,-65 250,-65l0,95l-1000,0l0,-60Z",style:{opacity:.4}})):"mtns"===f?w=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,50l-182.69,-45.286l-292.031,61.197l-190.875,-41.075l-143.748,28.794l-190.656,-23.63l0,70l1000,0l0,-50Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,57l-152.781,-22.589l-214.383,19.81l-159.318,-21.471l-177.44,25.875l-192.722,5.627l-103.356,-27.275l0,63.023l1000,0l0,-43Z"})):"littri"===f?w=Object(b.createElement)("path",{d:"M500,2l25,98l-50,0l25,-98Z"}):"littrii"===f&&(w=Object(b.createElement)("path",{d:"M1000,100l-1000,0l0,-100l475,0l25,98l25,-98l475,0l0,100Z"}));const x=j&&2===l?" kt-custom-first-width-"+j:"",E=c||"equal",S=s||"inherit",C=v||"div",T=i||"inherit",N=m||"notset",z=g||u||r||n?"kt-row-has-bg":"",M=o&&"grad"===o?"gradient":"normal",I=xt()("align"+a),H=xt()(`kt-row-layout-inner ${z} kt-layout-id${N}`),B=xt()(`kt-row-column-wrap kt-has-${l}-columns kt-gutter-${p} kt-row-valign-${h} kt-row-layout-${E} kt-tab-layout-${S} kt-m-colapse-${d} kt-mobile-layout-${T}${x}`);return Object(b.createElement)(C,{className:I},Object(b.createElement)("div",{id:"kt-layout-id"+m,className:H},(r||n)&&Object(b.createElement)("div",{className:"kt-row-layout-overlay kt-row-overlay-"+M}),f&&"none"!==f&&""!==f&&Object(b.createElement)("div",{className:"kt-row-layout-top-sep kt-row-sep-type-"+f},Object(b.createElement)("svg",{style:{fill:O},viewBox:"0 0 1000 100",preserveAspectRatio:"none"},w)),Object(b.createElement)("div",{className:B},Object(b.createElement)(Ce.InnerBlocks.Content,null)),k&&"none"!==k&&""!==k&&Object(b.createElement)("div",{className:"kt-row-layout-bottom-sep kt-row-sep-type-"+k},Object(b.createElement)("svg",{style:{fill:y},viewBox:"0 0 1000 100",preserveAspectRatio:"none"},_))))}},{attributes:{uniqueID:{type:"string",default:""},columns:{type:"number",default:2},mobileLayout:{type:"string",default:"row"},tabletLayout:{type:"string",default:"inherit"},collapseOrder:{type:"string",default:"left-to-right"},columnGutter:{type:"string",default:"default"},colLayout:{type:"string",default:""},currentTab:{type:"string",default:"desk"},currentOverlayTab:{type:"string",default:"normal"},htmlTag:{type:"string",default:"div"},minHeight:{type:"number",default:0},maxWidth:{type:"number",default:""},topPadding:{type:"number",default:25},bottomPadding:{type:"number",default:25},leftPadding:{type:"number",default:""},rightPadding:{type:"number",default:""},topPaddingM:{type:"number",default:""},bottomPaddingM:{type:"number",default:""},leftPaddingM:{type:"number",default:""},rightPaddingM:{type:"number",default:""},topMargin:{type:"number",default:""},bottomMargin:{type:"number",default:""},topMarginM:{type:"number",default:""},bottomMarginM:{type:"number",default:""},bgColor:{type:"string",default:""},bgImg:{type:"string",default:""},bgImgID:{type:"string",default:""},bgImgSize:{type:"string",default:"cover"},bgImgPosition:{type:"string",default:"center center"},bgImgAttachment:{type:"string",default:"scroll"},bgImgRepeat:{type:"string",default:"no-repeat"},overlay:{type:"string",default:""},overlaySecond:{type:"string",default:"#00B5E2"},overlayGradLoc:{type:"number",default:0},overlayGradLocSecond:{type:"number",default:100},overlayGradType:{type:"string",default:"linear"},overlayGradAngle:{type:"number",default:180},overlayBgImg:{type:"string",default:""},overlayBgImgID:{type:"string",default:""},overlayBgImgSize:{type:"string",default:"cover"},overlayBgImgPosition:{type:"string",default:"center center"},overlayBgImgAttachment:{type:"string",default:"scroll"},overlayBgImgRepeat:{type:"string",default:"no-repeat"},overlayOpacity:{type:"number",default:30},overlayBlendMode:{type:"string",default:"none"},blockAlignment:{type:"string",default:"none"},verticalAlignment:{type:"string",default:"top"},topSep:{type:"string",default:"none"},topSepColor:{type:"string",default:"#ffffff"},topSepFlip:{type:"boolean",default:!1},topSepHeight:{type:"number",default:100},topSepHeightTab:{type:"number",default:""},topSepHeightMobile:{type:"number",default:""},bottomSep:{type:"string",default:"none"},bottomSepColor:{type:"string",default:"#ffffff"},bottomSepFlip:{type:"boolean",default:!1},bottomSepHeight:{type:"number",default:100},bottomSepWidth:{type:"number",default:100},bottomSepWidthTab:{type:"number",default:""},bottomSepWidthMobile:{type:"number",default:""},bottomSepHeightTab:{type:"number",default:""},bottomSepHeightMobile:{type:"number",default:""}},save:e=>{let{attributes:t}=e;const{columns:l,blockAlignment:a,mobileLayout:i,currentOverlayTab:o,overlayBgImg:n,overlay:r,colLayout:c,tabletLayout:s,collapseOrder:d,uniqueID:m,columnGutter:p,bgColor:g,bgImg:u,verticalAlignment:h,htmlTag:v,bottomSep:k,bottomSepColor:y,topSep:f,topSepColor:O}=t;let j,_;"ct"===k?j=Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z"}):"cti"===k?j=Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"}):"ctd"===k?j=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,20l-500,78l-500,-78l0,80l1000,0l0,-80Z"})):"ctdi"===k?j=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M500,2l500,78l0,20l-1000,0l0,-20l500,-78Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"})):"sltl"===k?j=Object(b.createElement)("path",{d:"M1000,0l-1000,100l1000,0l0,-100Z"}):"sltli"===k?j=Object(b.createElement)("path",{d:"M0,100l1000,-100l-1000,0l0,100Z"}):"sltr"===k?j=Object(b.createElement)("path",{d:"M0,0l1000,100l-1000,0l0,-100Z"}):"sltri"===k?j=Object(b.createElement)("path",{d:"M1000,100l-1000,-100l1000,0l0,100Z"}):"crv"===k?j=Object(b.createElement)("path",{d:"M1000,100c0,0 -270.987,-98 -500,-98c-229.013,0 -500,98 -500,98l1000,0Z"}):"crvi"===k?j=Object(b.createElement)("path",{d:"M1000,0c0,0 -270.987,98 -500,98c-229.013,0 -500,-98 -500,-98l0,100l1000,0l0,-100Z"}):"crvl"===k?j=Object(b.createElement)("path",{d:"M1000,100c0,0 -420.987,-98 -650,-98c-229.013,0 -350,98 -350,98l1000,0Z"}):"crvli"===k?j=Object(b.createElement)("path",{d:"M1000,0c0,0 -420.987,98 -650,98c-229.013,0 -350,-98 -350,-98l0,100l1000,0l0,-100Z"}):"crvr"===k?j=Object(b.createElement)("path",{d:"M1000,100c0,0 -120.987,-98 -350,-98c-229.013,0 -650,98 -650,98l1000,0Z"}):"crvri"===k?j=Object(b.createElement)("path",{d:"M1000,0c0,0 -120.987,98 -350,98c-229.013,0 -650,-98 -650,-98l0,100l1000,0l0,-100Z"}):"wave"===k?j=Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}):"wavei"===k?j=Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}):"waves"===k?j=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,73 -500,73c-154.895,0 -250,-45 -250,-45l0,70l1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,68 -500,68c-154.895,0 -250,-65 -250,-65l0,95l1000,0l0,-60Z",style:{opacity:.4}})):"wavesi"===k?j=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,73 500,73c154.895,0 250,-45 250,-45l0,70l-1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,68 500,68c154.895,0 250,-65 250,-65l0,95l-1000,0l0,-60Z",style:{opacity:.4}})):"mtns"===k?j=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,50l-182.69,-45.286l-292.031,61.197l-190.875,-41.075l-143.748,28.794l-190.656,-23.63l0,70l1000,0l0,-50Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,57l-152.781,-22.589l-214.383,19.81l-159.318,-21.471l-177.44,25.875l-192.722,5.627l-103.356,-27.275l0,63.023l1000,0l0,-43Z"})):"littri"===k?j=Object(b.createElement)("path",{d:"M500,2l25,98l-50,0l25,-98Z"}):"littrii"===k&&(j=Object(b.createElement)("path",{d:"M1000,100l-1000,0l0,-100l475,0l25,98l25,-98l475,0l0,100Z"})),"ct"===f?_=Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z"}):"cti"===f?_=Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"}):"ctd"===f?_=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,20l-500,78l-500,-78l0,80l1000,0l0,-80Z"})):"ctdi"===f?_=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M500,2l500,78l0,20l-1000,0l0,-20l500,-78Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"})):"sltl"===f?_=Object(b.createElement)("path",{d:"M1000,0l-1000,100l1000,0l0,-100Z"}):"sltli"===f?_=Object(b.createElement)("path",{d:"M0,100l1000,-100l-1000,0l0,100Z"}):"sltr"===f?_=Object(b.createElement)("path",{d:"M0,0l1000,100l-1000,0l0,-100Z"}):"sltri"===f?_=Object(b.createElement)("path",{d:"M1000,100l-1000,-100l1000,0l0,100Z"}):"crv"===f?_=Object(b.createElement)("path",{d:"M1000,100c0,0 -270.987,-98 -500,-98c-229.013,0 -500,98 -500,98l1000,0Z"}):"crvi"===f?_=Object(b.createElement)("path",{d:"M1000,0c0,0 -270.987,98 -500,98c-229.013,0 -500,-98 -500,-98l0,100l1000,0l0,-100Z"}):"crvl"===f?_=Object(b.createElement)("path",{d:"M1000,100c0,0 -420.987,-98 -650,-98c-229.013,0 -350,98 -350,98l1000,0Z"}):"crvli"===f?_=Object(b.createElement)("path",{d:"M1000,0c0,0 -420.987,98 -650,98c-229.013,0 -350,-98 -350,-98l0,100l1000,0l0,-100Z"}):"crvr"===f?_=Object(b.createElement)("path",{d:"M1000,100c0,0 -120.987,-98 -350,-98c-229.013,0 -650,98 -650,98l1000,0Z"}):"crvri"===f?_=Object(b.createElement)("path",{d:"M1000,0c0,0 -120.987,98 -350,98c-229.013,0 -650,-98 -650,-98l0,100l1000,0l0,-100Z"}):"wave"===f?_=Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}):"wavei"===f?_=Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}):"waves"===f?_=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,73 -500,73c-154.895,0 -250,-45 -250,-45l0,70l1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,68 -500,68c-154.895,0 -250,-65 -250,-65l0,95l1000,0l0,-60Z",style:{opacity:.4}})):"wavesi"===f?_=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,73 500,73c154.895,0 250,-45 250,-45l0,70l-1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,68 500,68c154.895,0 250,-65 250,-65l0,95l-1000,0l0,-60Z",style:{opacity:.4}})):"mtns"===f?_=Object(b.createElement)(_c,null,Object(b.createElement)("path",{d:"M1000,50l-182.69,-45.286l-292.031,61.197l-190.875,-41.075l-143.748,28.794l-190.656,-23.63l0,70l1000,0l0,-50Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,57l-152.781,-22.589l-214.383,19.81l-159.318,-21.471l-177.44,25.875l-192.722,5.627l-103.356,-27.275l0,63.023l1000,0l0,-43Z"})):"littri"===f?_=Object(b.createElement)("path",{d:"M500,2l25,98l-50,0l25,-98Z"}):"littrii"===f&&(_=Object(b.createElement)("path",{d:"M1000,100l-1000,0l0,-100l475,0l25,98l25,-98l475,0l0,100Z"}));const w=c||"equal",x=s||"inherit",E=v||"div",S=i||"inherit",C=m||"notset",T=g||u||r||n?"kt-row-has-bg":"",N=o&&"grad"===o?"gradient":"normal",z=xt()("align"+a),M=xt()(`kt-row-layout-inner ${T} kt-layout-id${C}`),I=xt()(`kt-row-column-wrap kt-has-${l}-columns kt-gutter-${p} kt-row-valign-${h} kt-row-layout-${w} kt-tab-layout-${x} kt-m-colapse-${d} kt-mobile-layout-${S}`);return Object(b.createElement)(E,{className:z},Object(b.createElement)("div",{id:"kt-layout-id"+m,className:M},(r||n)&&Object(b.createElement)("div",{className:"kt-row-layout-overlay kt-row-overlay-"+N}),f&&"none"!==f&&Object(b.createElement)("div",{className:"kt-row-layout-top-sep kt-row-sep-type-"+f},Object(b.createElement)("svg",{style:{fill:O},viewBox:"0 0 1000 100",preserveAspectRatio:"none"},_)),Object(b.createElement)("div",{className:I},Object(b.createElement)(Ce.InnerBlocks.Content,null)),k&&"none"!==k&&Object(b.createElement)("div",{className:"kt-row-layout-bottom-sep kt-row-sep-type-"+k},Object(b.createElement)("svg",{style:{fill:y},viewBox:"0 0 1000 100",preserveAspectRatio:"none"},j))))}}];const{Component:xc,Fragment:Ec}=wp.element;const{Fragment:Sc}=wp.element,{InnerBlocks:Cc}=wp.blockEditor,{registerBlockType:Tc}=wp.blocks;Tc("kadence/rowlayout",{title:Object(m.__)("Row Layout","kadence-blocks"),icon:{src:g.blockRow},category:"kadence-blocks",keywords:[Object(m.__)("row/layout","kadence-blocks"),Object(m.__)("column","kadence-blocks"),"KB"],supports:{anchor:!0,kbcss:!0,ktdynamic:!0,editorsKitBlockNavigator:!0},usesContext:["postId","queryId"],attributes:{uniqueID:{type:"string",default:""},columns:{type:"number",default:2},mobileLayout:{type:"string",default:"row"},tabletLayout:{type:"string",default:"inherit"},collapseOrder:{type:"string",default:"left-to-right"},collapseGutter:{type:"string",default:"default"},columnGutter:{type:"string",default:"default"},colLayout:{type:"string",default:""},currentTab:{type:"string",default:"desk"},currentOverlayTab:{type:"string",default:"normal"},htmlTag:{type:"string",default:"div"},minHeight:{type:"number",default:0},maxWidth:{type:"number",default:""},topPadding:{type:"number",default:25},bottomPadding:{type:"number",default:25},leftPadding:{type:"number",default:""},rightPadding:{type:"number",default:""},topPaddingM:{type:"number",default:""},bottomPaddingM:{type:"number",default:""},leftPaddingM:{type:"number",default:""},rightPaddingM:{type:"number",default:""},topMargin:{type:"number",default:""},bottomMargin:{type:"number",default:""},topMarginM:{type:"number",default:""},bottomMarginM:{type:"number",default:""},bgColor:{type:"string",default:""},bgImg:{type:"string",default:""},bgImgID:{type:"string",default:""},bgImgSize:{type:"string",default:"cover"},bgImgPosition:{type:"string",default:"center center"},bgImgAttachment:{type:"string",default:"scroll"},bgImgRepeat:{type:"string",default:"no-repeat"},overlay:{type:"string",default:""},overlaySecond:{type:"string",default:"#00B5E2"},overlayFirstOpacity:{type:"number",default:""},overlaySecondOpacity:{type:"number",default:""},overlayGradLoc:{type:"number",default:0},overlayGradLocSecond:{type:"number",default:100},overlayGradType:{type:"string",default:"linear"},overlayGradAngle:{type:"number",default:180},overlayBgImg:{type:"string",default:""},overlayBgImgID:{type:"string",default:""},overlayBgImgSize:{type:"string",default:"cover"},overlayBgImgPosition:{type:"string",default:"center center"},overlayBgImgAttachment:{type:"string",default:"scroll"},overlayBgImgRepeat:{type:"string",default:"no-repeat"},overlayOpacity:{type:"number",default:30},overlayBlendMode:{type:"string",default:"none"},blockAlignment:{type:"string",default:"none"},align:{type:"string",default:"none"},verticalAlignment:{type:"string",default:"top"},topSep:{type:"string",default:"none"},topSepColor:{type:"string",default:"#ffffff"},topSepFlip:{type:"boolean",default:!1},topSepHeight:{type:"number",default:100},topSepHeightTab:{type:"number",default:""},topSepHeightMobile:{type:"number",default:""},bottomSep:{type:"string",default:"none"},bottomSepColor:{type:"string",default:"#ffffff"},bottomSepFlip:{type:"boolean",default:!1},bottomSepHeight:{type:"number",default:100},bottomSepWidth:{type:"number",default:100},bottomSepWidthTab:{type:"number",default:""},bottomSepWidthMobile:{type:"number",default:""},bottomSepHeightTab:{type:"number",default:""},bottomSepHeightMobile:{type:"number",default:""},firstColumnWidth:{type:"number"},secondColumnWidth:{type:"number"},textColor:{type:"string",default:""},linkColor:{type:"string",default:""},linkHoverColor:{type:"string",default:""},tabletPadding:{type:"array",default:["","","",""]},topMarginT:{type:"number",default:""},bottomMarginT:{type:"number",default:""},marginUnit:{type:"string",default:"px"},minHeightUnit:{type:"string",default:"px"},maxWidthUnit:{type:"string",default:"px"},columnsUnlocked:{type:"bool",default:!1},tabletBackground:{type:"array",default:[{enable:!1,bgColor:"",bgImg:"",bgImgID:"",bgImgSize:"cover",bgImgPosition:"center center",bgImgAttachment:"scroll",bgImgRepeat:"no-repeat",forceOverDesk:!1}]},tabletOverlay:{type:"array",default:[{enable:!1,currentOverlayTab:"normal",overlay:"",overlaySecond:"#00B5E2",overlayGradLoc:0,overlayGradLocSecond:100,overlayGradType:"linear",overlayGradAngle:180,overlayBgImg:"",overlayBgImgID:"",overlayBgImgSize:"cover",overlayBgImgPosition:"center center",overlayBgImgAttachment:"scroll",overlayBgImgRepeat:"no-repeat",overlayOpacity:30,overlayBlendMod:"none"}]},mobileBackground:{type:"array",default:[{enable:!1,bgColor:"",bgImg:"",bgImgID:"",bgImgSize:"cover",bgImgPosition:"center center",bgImgAttachment:"scroll",bgImgRepeat:"no-repeat",forceOverDesk:!1}]},mobileOverlay:{type:"array",default:[{enable:!1,currentOverlayTab:"normal",overlay:"",overlaySecond:"#00B5E2",overlayGradLoc:0,overlayGradLocSecond:100,overlayGradType:"linear",overlayGradAngle:180,overlayBgImg:"",overlayBgImgID:"",overlayBgImgSize:"cover",overlayBgImgPosition:"center center",overlayBgImgAttachment:"scroll",overlayBgImgRepeat:"no-repeat",overlayOpacity:30,overlayBlendMod:"none"}]},columnsInnerHeight:{type:"bool",default:!1},topSepWidth:{type:"number",default:""},topSepWidthTablet:{type:"number",default:""},topSepWidthMobile:{type:"number",default:""},backgroundInline:{type:"bool",default:!1},backgroundSettingTab:{type:"string",default:"normal"},backgroundSliderCount:{type:"number",default:1},backgroundSlider:{type:"array",default:[{bgColor:"",bgImg:"",bgImgID:""}]},backgroundSliderSettings:{type:"array",default:[{arrowStyle:"none",dotStyle:"dark",autoPlay:!0,speed:7e3,fade:!0,tranSpeed:400}]},backgroundVideoType:{type:"string",default:"local"},backgroundVideo:{type:"array",default:[{youTube:"",local:"",localID:"",vimeo:"",ratio:"16/9",btns:!1,loop:!0,mute:!0}]},zIndex:{type:"number",default:""},paddingUnit:{type:"string",default:"px"},inheritMaxWidth:{type:"bool",default:!1},noCustomDefaults:{type:"bool",default:!1},isPrebuiltModal:{type:"bool",default:!1},minHeightTablet:{type:"number",default:""},minHeightMobile:{type:"number",default:""},bgColorClass:{type:"string",default:""},vsdesk:{type:"bool",default:!1},vstablet:{type:"bool",default:!1},vsmobile:{type:"bool",default:!1},loggedIn:{type:"bool",default:!1},loggedInUser:{type:"array"},loggedInShow:{type:"array"},rcpAccess:{type:"string",default:""},rcpMembership:{type:"bool",default:!1},rcpMembershipLevel:{type:"array"},loggedOut:{type:"bool",default:!1},borderWidth:{type:"array",default:["","","",""]},tabletBorderWidth:{type:"array",default:["","","",""]},mobileBorderWidth:{type:"array",default:["","","",""]},borderRadius:{type:"array",default:["","","",""]},tabletBorderRadius:{type:"array",default:["","","",""]},mobileBorderRadius:{type:"array",default:["","","",""]},border:{type:"string",default:""},tabletBorder:{type:"string",default:""},mobileBorder:{type:"string",default:""},responsiveMaxWidth:{type:"array",default:["",""]},inQueryBlock:{type:"bool",default:!1}},getEditWrapperProps(e){let{align:t}=e;if("full"===t||"wide"===t||"center"===t)return{"data-align":t}},edit:Oc,save:class extends xc{render(){const{attributes:{columns:e,blockAlignment:t,inheritMaxWidth:l,align:a,mobileLayout:i,currentOverlayTab:o,overlayBgImg:n,overlay:r,colLayout:c,tabletLayout:s,collapseOrder:d,uniqueID:p,columnGutter:g,collapseGutter:u,bgColor:h,bgImg:v,verticalAlignment:k,htmlTag:y,bottomSep:f,bottomSepColor:O,topSep:j,topSepColor:_,firstColumnWidth:w,secondColumnWidth:x,overlayBgImgAttachment:E,bgImgAttachment:S,columnsInnerHeight:C,backgroundInline:T,backgroundSettingTab:N,backgroundSliderCount:z,backgroundSliderSettings:M,backgroundSlider:I,bgImgSize:H,bgImgPosition:B,bgImgRepeat:P,backgroundVideoType:R,backgroundVideo:A,bgColorClass:L,vsdesk:F,vstablet:W,vsmobile:D,tabletOverlay:$,mobileOverlay:U}}=this.props;let V,Z;"ct"===f?V=Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z"}):"cti"===f?V=Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"}):"ctd"===f?V=Object(b.createElement)(Ec,null,Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,20l-500,78l-500,-78l0,80l1000,0l0,-80Z"})):"ctdi"===f?V=Object(b.createElement)(Ec,null,Object(b.createElement)("path",{d:"M500,2l500,78l0,20l-1000,0l0,-20l500,-78Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"})):"sltl"===f?V=Object(b.createElement)("path",{d:"M1000,0l-1000,100l1000,0l0,-100Z"}):"sltli"===f?V=Object(b.createElement)("path",{d:"M0,100l1000,-100l-1000,0l0,100Z"}):"sltr"===f?V=Object(b.createElement)("path",{d:"M0,0l1000,100l-1000,0l0,-100Z"}):"sltri"===f?V=Object(b.createElement)("path",{d:"M1000,100l-1000,-100l1000,0l0,100Z"}):"crv"===f?V=Object(b.createElement)("path",{d:"M1000,100c0,0 -270.987,-98 -500,-98c-229.013,0 -500,98 -500,98l1000,0Z"}):"crvi"===f?V=Object(b.createElement)("path",{d:"M1000,0c0,0 -270.987,98 -500,98c-229.013,0 -500,-98 -500,-98l0,100l1000,0l0,-100Z"}):"crvl"===f?V=Object(b.createElement)("path",{d:"M1000,100c0,0 -420.987,-98 -650,-98c-229.013,0 -350,98 -350,98l1000,0Z"}):"crvli"===f?V=Object(b.createElement)("path",{d:"M1000,0c0,0 -420.987,98 -650,98c-229.013,0 -350,-98 -350,-98l0,100l1000,0l0,-100Z"}):"crvr"===f?V=Object(b.createElement)("path",{d:"M1000,100c0,0 -120.987,-98 -350,-98c-229.013,0 -650,98 -650,98l1000,0Z"}):"crvri"===f?V=Object(b.createElement)("path",{d:"M1000,0c0,0 -120.987,98 -350,98c-229.013,0 -650,-98 -650,-98l0,100l1000,0l0,-100Z"}):"wave"===f?V=Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}):"wavei"===f?V=Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}):"waves"===f?V=Object(b.createElement)(Ec,null,Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,73 -500,73c-154.895,0 -250,-45 -250,-45l0,70l1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,68 -500,68c-154.895,0 -250,-65 -250,-65l0,95l1000,0l0,-60Z",style:{opacity:.4}})):"wavesi"===f?V=Object(b.createElement)(Ec,null,Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,73 500,73c154.895,0 250,-45 250,-45l0,70l-1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,68 500,68c154.895,0 250,-65 250,-65l0,95l-1000,0l0,-60Z",style:{opacity:.4}})):"mtns"===f?V=Object(b.createElement)(Ec,null,Object(b.createElement)("path",{d:"M1000,50l-182.69,-45.286l-292.031,61.197l-190.875,-41.075l-143.748,28.794l-190.656,-23.63l0,70l1000,0l0,-50Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,57l-152.781,-22.589l-214.383,19.81l-159.318,-21.471l-177.44,25.875l-192.722,5.627l-103.356,-27.275l0,63.023l1000,0l0,-43Z"})):"littri"===f?V=Object(b.createElement)("path",{d:"M500,2l25,98l-50,0l25,-98Z"}):"littrii"===f?V=Object(b.createElement)("path",{d:"M1000,100l-1000,0l0,-100l475,0l25,98l25,-98l475,0l0,100Z"}):"threelevels"===f?V=Object(b.createElement)(Ec,null,Object(b.createElement)("path",{style:{opacity:.33},d:"M0 95L1000 0v100H0v-5z"}),Object(b.createElement)("path",{style:{opacity:.66},d:"M0 95l1000-67.944V100H0v-5z"}),Object(b.createElement)("path",{d:"M0 95l1000-40.887V100H0v-5z"})):"threelevelsi"===f&&(V=Object(b.createElement)(Ec,null,Object(b.createElement)("path",{style:{opacity:.33},d:"M1000 95L0 0v100h1000v-5z"}),Object(b.createElement)("path",{style:{opacity:.66},d:"M1000 95L0 27.056V100h1000v-5z"}),Object(b.createElement)("path",{d:"M1000 95L0 54.113V100h1000v-5z"}))),"ct"===j?Z=Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z"}):"cti"===j?Z=Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"}):"ctd"===j?Z=Object(b.createElement)(Ec,null,Object(b.createElement)("path",{d:"M1000,0l-500,98l-500,-98l0,100l1000,0l0,-100Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,20l-500,78l-500,-78l0,80l1000,0l0,-80Z"})):"ctdi"===j?Z=Object(b.createElement)(Ec,null,Object(b.createElement)("path",{d:"M500,2l500,78l0,20l-1000,0l0,-20l500,-78Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M500,2l500,98l-1000,0l500,-98Z"})):"sltl"===j?Z=Object(b.createElement)("path",{d:"M1000,0l-1000,100l1000,0l0,-100Z"}):"sltli"===j?Z=Object(b.createElement)("path",{d:"M0,100l1000,-100l-1000,0l0,100Z"}):"sltr"===j?Z=Object(b.createElement)("path",{d:"M0,0l1000,100l-1000,0l0,-100Z"}):"sltri"===j?Z=Object(b.createElement)("path",{d:"M1000,100l-1000,-100l1000,0l0,100Z"}):"crv"===j?Z=Object(b.createElement)("path",{d:"M1000,100c0,0 -270.987,-98 -500,-98c-229.013,0 -500,98 -500,98l1000,0Z"}):"crvi"===j?Z=Object(b.createElement)("path",{d:"M1000,0c0,0 -270.987,98 -500,98c-229.013,0 -500,-98 -500,-98l0,100l1000,0l0,-100Z"}):"crvl"===j?Z=Object(b.createElement)("path",{d:"M1000,100c0,0 -420.987,-98 -650,-98c-229.013,0 -350,98 -350,98l1000,0Z"}):"crvli"===j?Z=Object(b.createElement)("path",{d:"M1000,0c0,0 -420.987,98 -650,98c-229.013,0 -350,-98 -350,-98l0,100l1000,0l0,-100Z"}):"crvr"===j?Z=Object(b.createElement)("path",{d:"M1000,100c0,0 -120.987,-98 -350,-98c-229.013,0 -650,98 -650,98l1000,0Z"}):"crvri"===j?Z=Object(b.createElement)("path",{d:"M1000,0c0,0 -120.987,98 -350,98c-229.013,0 -650,-98 -650,-98l0,100l1000,0l0,-100Z"}):"wave"===j?Z=Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}):"wavei"===j?Z=Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}):"waves"===j?Z=Object(b.createElement)(Ec,null,Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,78 -500,78c-154.895,0 -250,-30 -250,-30l0,50l1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,73 -500,73c-154.895,0 -250,-45 -250,-45l0,70l1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,40c0,0 -120.077,-38.076 -250,-38c-129.923,0.076 -345.105,68 -500,68c-154.895,0 -250,-65 -250,-65l0,95l1000,0l0,-60Z",style:{opacity:.4}})):"wavesi"===j?Z=Object(b.createElement)(Ec,null,Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,78 500,78c154.895,0 250,-30 250,-30l0,50l-1000,0l0,-60Z"}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,73 500,73c154.895,0 250,-45 250,-45l0,70l-1000,0l0,-60Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M0,40c0,0 120.077,-38.076 250,-38c129.923,0.076 345.105,68 500,68c154.895,0 250,-65 250,-65l0,95l-1000,0l0,-60Z",style:{opacity:.4}})):"mtns"===j?Z=Object(b.createElement)(Ec,null,Object(b.createElement)("path",{d:"M1000,50l-182.69,-45.286l-292.031,61.197l-190.875,-41.075l-143.748,28.794l-190.656,-23.63l0,70l1000,0l0,-50Z",style:{opacity:.4}}),Object(b.createElement)("path",{d:"M1000,57l-152.781,-22.589l-214.383,19.81l-159.318,-21.471l-177.44,25.875l-192.722,5.627l-103.356,-27.275l0,63.023l1000,0l0,-43Z"})):"littri"===j?Z=Object(b.createElement)("path",{d:"M500,2l25,98l-50,0l25,-98Z"}):"littrii"===j?Z=Object(b.createElement)("path",{d:"M1000,100l-1000,0l0,-100l475,0l25,98l25,-98l475,0l0,100Z"}):"threelevels"===j?Z=Object(b.createElement)(Ec,null,Object(b.createElement)("path",{style:{opacity:.33},d:"M0 95L1000 0v100H0v-5z"}),Object(b.createElement)("path",{style:{opacity:.66},d:"M0 95l1000-67.944V100H0v-5z"}),Object(b.createElement)("path",{d:"M0 95l1000-40.887V100H0v-5z"})):"threelevelsi"===j&&(Z=Object(b.createElement)(Ec,null,Object(b.createElement)("path",{style:{opacity:.33},d:"M1000 95L0 0v100h1000v-5z"}),Object(b.createElement)("path",{style:{opacity:.66},d:"M1000 95L0 27.056V100h1000v-5z"}),Object(b.createElement)("path",{d:"M1000 95L0 54.113V100h1000v-5z"})));const G=!w||2!==e&&3!==e?"":" kt-custom-first-width-"+w,q=!x||2!==e&&3!==e?"":" kt-custom-second-width-"+x,K=x&&w&&3===e?" kt-custom-third-width-"+Math.round(10*(100-(parseFloat(w)+parseFloat(x))))/10:"",Q=c||"equal",J=s||"inherit",Y=y||"div",X=i||"inherit",ee=p||"notset",te=o&&"grad"===o?"gradient":"normal",le=xt()({["align"+(a||"none")]:!0,"kvs-lg-false":"undefined"!==F&&F,"kvs-md-false":"undefined"!==W&&W,"kvs-sm-false":"undefined"!==D&&D}),ae=Object(Ce.getColorClassName)("background-color",L),ie=xt()("kt-row-layout-inner",{"kt-row-has-bg":h||v||r||n,["kt-layout-id"+ee]:ee,"kt-jarallax":v&&"parallax"===S,[ae]:ae}),oe=xt()({"kt-row-column-wrap":!0,[`kt-has-${e}-columns`]:e,["kt-gutter-"+g]:g,["kt-v-gutter-"+(u||"default")]:!0,["kt-row-valign-"+k]:k,["kt-row-layout-"+Q]:Q,["kt-tab-layout-"+J]:J,["kt-m-colapse-"+d]:d,["kt-mobile-layout-"+X]:X,[G]:G,[q]:q,[K]:K,"kt-inner-column-height-full":void 0!==C&&!0===C,"kb-theme-content-width":l});let ne=!(!r&&!n);return ne||(ne=!!($&&$[0]&&$[0].enable)),ne||(ne=!!(U&&U[0]&&U[0].enable)),Object(b.createElement)(Y,{className:le},Object(b.createElement)("div",{id:"kt-layout-id"+p,className:ie,style:{backgroundImage:"slider"!==N&&"video"!==N&&T&&void 0!==v&&""!==v?"url("+v+")":void 0}},"slider"===N&&(()=>{let e;return e=void 0===M||void 0!==M&&void 0===M[0]?[{arrowStyle:"none",dotStyle:"dark",autoPlay:!0,speed:7e3,fade:!0,tranSpeed:400}]:M,Object(b.createElement)("div",{className:"kt-blocks-carousel kb-blocks-bg-slider kt-carousel-container-dotstyle-"+e[0].dotStyle},Object(b.createElement)("div",{className:`kt-blocks-carousel-init kb-blocks-bg-slider-init kt-carousel-arrowstyle-${e[0].arrowStyle} kt-carousel-dotstyle-${e[0].dotStyle}`,"data-slider-anim-speed":e[0].tranSpeed,"data-slider-type":"slider","data-slider-scroll":"1","data-slider-arrows":"none"!==e[0].arrowStyle,"data-slider-fade":e[0].fade,"data-slider-dots":"none"!==e[0].dotStyle,"data-slider-hover-pause":"false","data-slider-auto":e[0].autoPlay,"data-slider-speed":e[0].speed},io()(void 0!==z?z:1,e=>(e=>{let t;return t=void 0===I||void 0!==I&&void 0===I[0]?[{bgColor:"",bgImg:"",bgImgID:""}]:I,Object(b.createElement)("div",{className:"kb-bg-slide-contain"},Object(b.createElement)("div",{className:"kb-bg-slide kb-bg-slide-"+e,style:{backgroundColor:t[e]&&""!==t[e].bgColor?pa(t[e].bgColor):void 0,backgroundImage:t[e]&&""!==t[e].bgImg?"url("+t[e].bgImg+")":void 0,backgroundSize:H||void 0,backgroundPosition:B||void 0,backgroundRepeat:P||void 0}}))})(e))))})(),"video"===N&&Object(b.createElement)("div",{className:"kb-blocks-bg-video-container"},(void 0===R||""===R||"local"===R)&&(()=>{const e=void 0!==A&&void 0!==A[0]&&void 0!==A[0].local?A:[{youTube:"",local:"",localID:"",vimeo:"",ratio:"16/9",btns:!1,loop:!0,mute:!0}];return Object(b.createElement)(Ec,null,Object(b.createElement)("video",{className:"kb-blocks-bg-video",poster:void 0!==v&&""!==v?v:void 0,playsinline:"",autoplay:"",muted:!1!==e[0].mute&&"",loop:!1!==e[0].loop&&"",src:e[0].local}),!0===e[0].btns&&Object(b.createElement)("div",{className:"kb-background-video-buttons-wrapper kb-background-video-buttons-html5"},Object(b.createElement)("button",{className:"kb-background-video-play kb-toggle-video-btn","aria-label":Object(m.__)("Play","kadence-blocks"),"aria-hidden":"true",style:"display: none;"},Object(b.createElement)("svg",{viewBox:"0 0 448 512",height:"16",width:"16",fill:"currentColor",xmlns:"https://www.w3.org/2000/svg"},Object(b.createElement)("path",{d:"M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z"}))),Object(b.createElement)("button",{className:"kb-background-video-pause kb-toggle-video-btn","aria-label":Object(m.__)("Pause","kadence-blocks"),"aria-hidden":"false"},Object(b.createElement)("svg",{viewBox:"0 0 448 512",height:"16",width:"16",fill:"currentColor",xmlns:"https://www.w3.org/2000/svg"},Object(b.createElement)("path",{d:"M144 479H48c-26.5 0-48-21.5-48-48V79c0-26.5 21.5-48 48-48h96c26.5 0 48 21.5 48 48v352c0 26.5-21.5 48-48 48zm304-48V79c0-26.5-21.5-48-48-48h-96c-26.5 0-48 21.5-48 48v352c0 26.5 21.5 48 48 48h96c26.5 0 48-21.5 48-48z"}))),!1===e[0].mute&&Object(b.createElement)(Ec,null,Object(b.createElement)("button",{className:"kb-background-video-unmute kb-toggle-video-btn","aria-label":Object(m.__)("Unmute","kadence-blocks"),"aria-hidden":"true",style:"display: none;"},Object(b.createElement)("svg",{viewBox:"0 0 256 512",height:"16",width:"16",fill:"currentColor",xmlns:"https://www.w3.org/2000/svg"},Object(b.createElement)("path",{d:"M256 88.017v335.964c0 21.438-25.943 31.998-40.971 16.971L126.059 352H24c-13.255 0-24-10.745-24-24V184c0-13.255 10.745-24 24-24h102.059l88.971-88.954c15.01-15.01 40.97-4.49 40.97 16.971z"}))),Object(b.createElement)("button",{className:"kb-background-video-mute kb-toggle-video-btn","aria-label":Object(m.__)("Mute","kadence-blocks"),"aria-hidden":"false"},Object(b.createElement)("svg",{viewBox:"0 0 576 512",height:"16",width:"16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},Object(b.createElement)("path",{d:"M256 88.017v335.964c0 21.438-25.943 31.998-40.971 16.971L126.059 352H24c-13.255 0-24-10.745-24-24V184c0-13.255 10.745-24 24-24h102.059l88.971-88.954c15.01-15.01 40.97-4.49 40.97 16.971zm182.056-77.876C422.982.92 403.283 5.668 394.061 20.745c-9.221 15.077-4.473 34.774 10.604 43.995C468.967 104.063 512 174.983 512 256c0 73.431-36.077 142.292-96.507 184.206-14.522 10.072-18.129 30.01-8.057 44.532 10.076 14.528 30.016 18.126 44.531 8.057C529.633 438.927 576 350.406 576 256c0-103.244-54.579-194.877-137.944-245.859zM480 256c0-68.547-36.15-129.777-91.957-163.901-15.076-9.22-34.774-4.471-43.994 10.607-9.22 15.078-4.471 34.774 10.607 43.994C393.067 170.188 416 211.048 416 256c0 41.964-20.62 81.319-55.158 105.276-14.521 10.073-18.128 30.01-8.056 44.532 6.216 8.96 16.185 13.765 26.322 13.765a31.862 31.862 0 0 0 18.21-5.709C449.091 377.953 480 318.938 480 256zm-96 0c0-33.717-17.186-64.35-45.972-81.944-15.079-9.214-34.775-4.463-43.992 10.616s-4.464 34.775 10.615 43.992C314.263 234.538 320 244.757 320 256a32.056 32.056 0 0 1-13.802 26.332c-14.524 10.069-18.136 30.006-8.067 44.53 10.07 14.525 30.008 18.136 44.53 8.067C368.546 316.983 384 287.478 384 256z"}))))))})()),ne&&Object(b.createElement)("div",{className:`kt-row-layout-overlay kt-row-overlay-${te}${n&&"gradient"!==te&&"parallax"===E?" kt-jarallax":""}`}),j&&"none"!==j&&""!==j&&Object(b.createElement)("div",{className:"kt-row-layout-top-sep kt-row-sep-type-"+j},Object(b.createElement)("svg",{style:{fill:pa(_)},viewBox:"0 0 1000 100",preserveAspectRatio:"none"},Z)),Object(b.createElement)("div",{className:oe},Object(b.createElement)(Ce.InnerBlocks.Content,null)),f&&"none"!==f&&""!==f&&Object(b.createElement)("div",{className:"kt-row-layout-bottom-sep kt-row-sep-type-"+f},Object(b.createElement)("svg",{style:{fill:pa(O)},viewBox:"0 0 1000 100",preserveAspectRatio:"none"},V))))}},deprecated:wc});const Nc={};Nc.rowlayout=Object(b.createElement)("svg",{width:"20px",height:"20px",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},Object(b.createElement)("path",{d:"M46.506,7.877l-45.012,0c-0.484,0 -0.882,0.398 -0.882,0.882l0,23.645c0,0.484 0.398,0.882 0.882,0.882l45.012,0c0.484,0 0.882,-0.398 0.882,-0.882l0,-23.65c-0.003,-0.482 -0.4,-0.877 -0.882,-0.877Zm-0.882,23.65l-43.248,0l0,-21.886l43.248,0l0,21.886Z",fill:"#0058b0",fillRule:"nonzero"}),Object(b.createElement)("rect",{x:"4.587",y:"11.533",width:"38.825",height:"18.096",fill:"#0058b0"}),Object(b.createElement)("path",{d:"M43.413,29.63l-38.826,0l0,-18.097l38.826,0l0,18.097Zm-37.061,-16.332l0,14.567l35.296,0l0,-14.567l-35.296,0Z",fill:"#0058b0"}),Object(b.createElement)("path",{d:"M24,40.123c4.365,0 7.957,-3.592 7.957,-7.957c0,-4.365 -3.592,-7.957 -7.957,-7.957c-4.365,0 -7.957,3.592 -7.957,7.957c0,0.001 0,0.002 0,0.003c0,4.363 3.591,7.954 7.954,7.954c0.001,0 0.002,0 0.003,0Z",fill:"#0058b0",fillRule:"nonzero",stroke:"#fff",strokeWidth:"1.76"}),Object(b.createElement)("path",{d:"M20.811,31.539l2.307,0l0,-2.309c0,-0.484 0.398,-0.882 0.882,-0.882c0.484,0 0.882,0.398 0.882,0.882l0,2.309l2.307,0c0.483,0 0.882,0.398 0.882,0.882c0,0.484 -0.399,0.882 -0.882,0.882l-2.307,0l0,2.307c0,0.484 -0.398,0.882 -0.882,0.882c-0.484,0 -0.882,-0.398 -0.882,-0.882l0,-2.307l-2.307,0c-0.483,0 -0.882,-0.398 -0.882,-0.882c0,-0.484 0.399,-0.882 0.882,-0.882Z",fill:"#fff",fillRule:"nonzero"})),Nc.section=Object(b.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2",clipRule:"evenodd",viewBox:"0 0 48 48"},Object(b.createElement)("path",{fill:"#0073E6",d:"M23.41 29.629h-5.385v1.652h5.385v-1.652zm7.18 0h-5.385v1.652h5.385v-1.652zm7.18 0h-5.385v1.652h5.385v-1.652zM4.587 28.613H2.792v.629l.006.142c.079 1.059 1.039 1.897 2.21 1.897h4.041v-1.652H5.008c-.232 0-.421-.174-.421-.387v-.629zm11.642 1.016h-5.385v1.652h5.385v-1.652zm27.183-1.582v1.195c0 .213-.189.387-.421.387h-3.426v1.652h3.426c1.223 0 2.216-.914 2.216-2.039v-1.195h-1.795zM4.587 22.004H2.792v4.957h1.795v-4.957zm38.825-.566v4.957h1.795v-4.957h-1.795zM4.587 15.396H2.792v4.956h1.795v-4.956zm38.825-.567v4.957h1.795v-4.957h-1.795zM7.751 11.533V9.881H5.008c-1.223 0-2.216.914-2.216 2.039v1.823h1.795V11.92c0-.213.189-.387.421-.387h2.743zm35.661.387v1.257h1.795V11.92h-1.795zm-5.145-.387h4.724c.232 0 .421.174.421.387h1.795c0-1.125-.993-2.039-2.216-2.039h-4.724v1.652zm-23.335 0V9.881H9.546v1.652h5.386zm7.18 0V9.881h-5.385v1.652h5.385zm7.18 0V9.881h-5.385v1.652h5.385zm7.18 0V9.881h-5.385v1.652h5.385z",transform:"translate(0 3.418) matrix(1.11418 0 0 1.21048 -2.754 -4.333)"}),Object(b.createElement)("path",{fill:"#0073E6",fillRule:"nonzero",d:"M24 40.123c4.365 0 7.957-3.592 7.957-7.957S28.365 24.209 24 24.209s-7.957 3.592-7.957 7.957v.003c0 4.363 3.591 7.954 7.954 7.954H24z",transform:"translate(0 3.418) matrix(.91115 0 0 .91115 2.132 -8.726)"}),Object(b.createElement)("path",{fill:"#fff",fillRule:"nonzero",d:"M20.811 31.539h2.307V29.23c0-.484.398-.882.882-.882s.882.398.882.882v2.309h2.307c.483 0 .882.398.882.882a.887.887 0 01-.882.882h-2.307v2.307a.886.886 0 01-.882.882.886.886 0 01-.882-.882v-2.307h-2.307a.887.887 0 01-.882-.882c0-.484.399-.882.882-.882z",transform:"translate(0 3.418) translate(0 -11.6)"})),Nc.countdown=Object(b.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round",width:"20px",height:"20px",strokeMiterlimit:"1.5",clipRule:"evenodd",viewBox:"0 0 216 216"},Object(b.createElement)("path",{fill:"#0073e6",d:"M136.708 9.633a3.762 3.762 0 00-3.76-3.76H80.46a3.761 3.761 0 00-3.759 3.76v7.519a3.761 3.761 0 003.759 3.76h52.488a3.762 3.762 0 003.76-3.76V9.633zM56.711 26.914a2.084 2.084 0 00-2.934-.273L27.533 48.406a2.085 2.085 0 00-.274 2.934l2.661 3.208a2.085 2.085 0 002.934.274l26.244-21.766a2.085 2.085 0 00.274-2.934l-2.661-3.208z"}),Object(b.createElement)("path",{fill:"#0073e6",d:"M95.617 17.317H117.664V35.903H95.617z"}),Object(b.createElement)("circle",{cx:"108",cy:"120.001",r:"87.354",fill:"none",stroke:"#0073e6",strokeWidth:"10"}),Object(b.createElement)("path",{fill:"none",stroke:"#0073e6",strokeWidth:"8",d:"M106.542 63.759l.162-.001c13.323 0 25.57 4.643 35.213 12.398M158.611 98.325a56 56 0 014.336 21.676 56.15 56.15 0 01-2.402 16.299"}),Object(b.createElement)("path",{fill:"#0073e6",d:"M42.958 148.19l7.904-21.067 18.01 13.486-25.914 7.581z"}),Object(b.createElement)("path",{fill:"none",stroke:"#0073e6",strokeWidth:"8",d:"M148.157 156.025a55.959 55.959 0 01-30.252 17.371c-26.492 5.529-52.554-8.601-63-32.452"}));var zc=Nc;const{Fragment:Mc}=wp.element,{Button:Ic,Popover:Hc,DropdownMenu:Bc,TextControl:Pc,ToolbarGroup:Rc,ButtonGroup:Ac,Tooltip:Lc}=wp.components;function Fc(e){let{label:t,measurement:l,control:a,onChange:i,onControl:o,step:n=1,max:r=100,min:c=0,firstIcon:s=g.outlinetop,secondIcon:d=g.outlineright,thirdIcon:p=g.outlinebottom,fourthIcon:u=g.outlineleft,unit:h="",onUnit:v,showUnit:k=!1,units:y=["px","em","rem"],allowEmpty:f=!1,key:O,className:j="",reset:_}=e;const w=f?"":0,x=e=>[{icon:"%"===e?g.percent:g[e],isActive:h===e,onClick:()=>{v(e)}}],S={className:"kadence-units-popover"};return[i&&o&&Object(b.createElement)("div",{key:O,className:`components-base-control kb-measure-control ${s!==g.outlinetop?"kb-measure-corners-control":"kb-measure-sides-control"}${""!==j?" "+j:""}`},t&&Object(b.createElement)("div",{className:"kadence-title-bar"},_&&Object(b.createElement)(Ic,{className:"is-reset is-single",isSmall:!0,disabled:!(!C()(["","","",""],l)&&!C()(["","auto","","auto"],l)),icon:B.a,onClick:()=>_()}),Object(b.createElement)("span",{className:"kadence-control-title"},t)),Object(b.createElement)("div",{className:"kadence-controls-content"},a&&"individual"!==a&&Object(b.createElement)(E,{value:l?l[0]:"",onChange:e=>i([e,e,e,e]),min:c,max:r,step:n}),a&&"individual"===a&&Object(b.createElement)(Mc,null,Object(b.createElement)("div",{className:"measure-input-wrap measure-input-top"},Object(b.createElement)(Pc,{label:Object(m.__)("Top","kadence-blocks"),hideLabelFromVision:!0,type:"number",className:"measure-inputs",value:l?l[0]:"",onChange:e=>i([e?parseFloat(e):e,l&&void 0!==l[1]&&""!==l[1]?l[1]:w,l&&void 0!==l[2]&&""!==l[2]?l[2]:w,l&&void 0!==l[3]&&""!==l[3]?l[3]:w]),min:c,max:r,step:n}),Object(b.createElement)("span",{className:"measure-label"},s)),Object(b.createElement)("div",{className:"measure-input-wrap measure-input-right"},Object(b.createElement)(Pc,{label:Object(m.__)("Right","kadence-blocks"),hideLabelFromVision:!0,type:"number",className:"measure-inputs",value:l?l[1]:"",onChange:e=>i([l&&void 0!==l[0]&&""!==l[0]?l[0]:w,e?parseFloat(e):e,l&&void 0!==l[2]&&""!==l[2]?l[2]:w,l&&void 0!==l[3]&&""!==l[3]?l[3]:w]),min:c,max:r,step:n}),Object(b.createElement)("span",{className:"measure-label"},d)),Object(b.createElement)("div",{className:"measure-input-wrap measure-input-bottom"},Object(b.createElement)(Pc,{label:Object(m.__)("Bottom","kadence-blocks"),hideLabelFromVision:!0,type:"number",className:"measure-inputs",value:l?l[2]:"",onChange:e=>i([l&&void 0!==l[0]&&""!==l[0]?l[0]:w,l&&void 0!==l[1]&&""!==l[1]?l[1]:w,e?parseFloat(e):e,l&&void 0!==l[3]&&""!==l[3]?l[3]:w]),min:c,max:r,step:n}),Object(b.createElement)("span",{className:"measure-label"},p)),Object(b.createElement)("div",{className:"measure-input-wrap measure-input-left"},Object(b.createElement)(Pc,{label:Object(m.__)("Left","kadence-blocks"),hideLabelFromVision:!0,type:"number",className:"measure-inputs",value:l?l[3]:"",onChange:e=>i([l&&void 0!==l[0]&&""!==l[0]?l[0]:w,l&&void 0!==l[1]&&""!==l[1]?l[1]:w,l&&void 0!==l[2]&&""!==l[2]?l[2]:w,e?parseFloat(e):e]),min:c,max:r,step:n}),Object(b.createElement)("span",{className:"measure-label"},u))),(v||k)&&Object(b.createElement)("div",{className:"kadence-units"},1===y.length?Object(b.createElement)(Ic,{className:"is-active is-single",isSmall:!0,disabled:!0},"%"===h?g.percent:g[h]):Object(b.createElement)(Bc,{icon:"%"===h?g.percent:g[h],label:Object(m.__)("Select a Unit","kadence-blocks"),controls:y.map(e=>x(e)),className:"kadence-units-group",popoverProps:S})),Object(b.createElement)("div",{className:"kadence-units kadence-locked"},a&&"individual"!==a?Object(b.createElement)(Lc,{text:Object(m.__)("Individual","kadence-blocks")},Object(b.createElement)(Ic,{className:"is-single",isSmall:!0,onClick:()=>o("individual")},g.linked)):Object(b.createElement)(Lc,{text:Object(m.__)("Linked","kadence-blocks")},Object(b.createElement)(Ic,{className:"is-single",isSmall:!0,onClick:()=>o("linked")},g.individual))))),i&&!o&&Object(b.createElement)("div",{key:O,className:`components-base-control kb-measure-control ${s!==g.outlinetop?"kb-measure-corners-control":"kb-measure-sides-control"}${""!==j?" "+j:""}`},t&&Object(b.createElement)("div",{className:"kadence-title-bar"},_&&Object(b.createElement)(Ic,{className:"is-reset is-single",isSmall:!0,disabled:!(!C()(["","","",""],l)&&!C()(["","auto","","auto"],l)),icon:B.a,onClick:()=>_()}),Object(b.createElement)("span",{className:"kadence-control-title"},t)),Object(b.createElement)("div",{className:"kadence-controls-content"},Object(b.createElement)(Mc,null,Object(b.createElement)("div",{className:"measure-input-wrap measure-input-top"},Object(b.createElement)(Pc,{label:Object(m.__)("Top","kadence-blocks"),hideLabelFromVision:!0,type:"number",className:"measure-inputs",value:l?l[0]:"",onChange:e=>i([e?parseFloat(e):e,l&&void 0!==l[1]&&""!==l[1]?l[1]:w,l&&void 0!==l[2]&&""!==l[2]?l[2]:w,l&&void 0!==l[3]&&""!==l[3]?l[3]:w]),min:c,max:r,step:n}),Object(b.createElement)("span",{className:"measure-label"},s)),Object(b.createElement)("div",{className:"measure-input-wrap measure-input-right"},Object(b.createElement)(Pc,{label:Object(m.__)("Right","kadence-blocks"),hideLabelFromVision:!0,disabled:!(!l||!l[1]||"auto"!=l[1]),placeholder:l&&l[1]&&"auto"==l[1]?Object(m.__)("auto","kadence-blocks"):void 0,type:"number",className:"measure-inputs",value:l?l[1]:"",onChange:e=>i([l&&void 0!==l[0]&&""!==l[0]?l[0]:w,e&&"auto"!==e?parseFloat(e):e,l&&void 0!==l[2]&&""!==l[2]?l[2]:w,l&&void 0!==l[3]&&""!==l[3]?l[3]:w]),min:c,max:r,step:n}),Object(b.createElement)("span",{className:"measure-label"},d)),Object(b.createElement)("div",{className:"measure-input-wrap measure-input-bottom"},Object(b.createElement)(Pc,{label:Object(m.__)("Bottom","kadence-blocks"),hideLabelFromVision:!0,type:"number",className:"measure-inputs",value:l?l[2]:"",onChange:e=>i([l&&void 0!==l[0]&&""!==l[0]?l[0]:w,l&&void 0!==l[1]&&""!==l[1]?l[1]:w,e?parseFloat(e):e,l&&void 0!==l[3]&&""!==l[3]?l[3]:w]),min:c,max:r,step:n}),Object(b.createElement)("span",{className:"measure-label"},p)),Object(b.createElement)("div",{className:"measure-input-wrap measure-input-left"},Object(b.createElement)(Pc,{label:Object(m.__)("Left","kadence-blocks"),hideLabelFromVision:!0,disabled:!(!l||!l[1]||"auto"!=l[1]),placeholder:l&&l[1]&&"auto"==l[1]?Object(m.__)("auto","kadence-blocks"):void 0,type:"number",className:"measure-inputs",value:l?l[3]:"",onChange:e=>i([l&&void 0!==l[0]&&""!==l[0]?l[0]:w,l&&void 0!==l[1]&&""!==l[1]?l[1]:w,l&&void 0!==l[2]&&""!==l[2]?l[2]:w,e&&"auto"!==e?parseFloat(e):e]),min:c,max:r,step:n}),Object(b.createElement)("span",{className:"measure-label"},u))),(v||k)&&Object(b.createElement)("div",{className:"kadence-units"},1===y.length?Object(b.createElement)(Ic,{className:"is-active is-single",isSmall:!0,disabled:!0},"%"===h?g.percent:g[h]):Object(b.createElement)(Bc,{icon:"%"===h?g.percent:g[h],label:Object(m.__)("Select a Unit","kadence-blocks"),controls:y.map(e=>x(e)),className:"kadence-units-group",popoverProps:S}))))]}var Wc=l(64),Dc=l.n(Wc);function $c(e,t,l,a){if("Mobile"===e){if(void 0!==a&&""!==a&&null!==a)return a;if(void 0!==l&&""!==l&&null!==l)return l}else if("Tablet"===e&&void 0!==l&&""!==l&&null!==l)return l;return t}function Uc(e,t){const l=kadence_blocks_params.settings?JSON.parse(kadence_blocks_params.settings):{};let a={};void 0!==l[t]&&"object"==typeof l[t]&&(a=l[t]);const i=kadence_blocks_params.userrole?kadence_blocks_params.userrole:"admin";return void 0===a[e]||"all"===a[e]||"contributor"===a[e]&&("contributor"===i||"author"===i||"editor"===i||"admin"===i)||"author"===a[e]&&("author"===i||"editor"===i||"admin"===i)||"editor"===a[e]&&("editor"===i||"admin"===i)||"admin"===a[e]&&"admin"===i}const{Component:Vc,Fragment:Zc}=wp.element,{DropdownMenu:Gc,MenuGroup:qc,MenuItem:Kc,Toolbar:Qc,ToggleControl:Jc,ToolbarDropdownMenu:Yc,SelectControl:Xc}=wp.components,{localStorage:es}=window,ts={className:"block-editor-block-settings-menu__popover",position:"bottom right"};var ls=class extends Vc{constructor(){super(...arguments),this.state={iconOptions:[],iconOptionsNames:[]}}componentDidMount(){}render(){const{onPaste:e,blockAttributes:t}=this.props,l=Object(b.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2",clipRule:"evenodd",viewBox:"0 0 32 32",width:"20px",height:"20px"},Object(b.createElement)("path",{fillRule:"nonzero",d:"M26 8h-6V6l-6-6H0v24h12v8h20V14l-6-6zm0 2.828L29.172 14H26v-3.172zm-12-8L17.172 6H14V2.828zM2 2h10v6h6v14H2V2zm28 28H14v-6h6V10h4v6h6v14z"})),a=JSON.parse(es.getItem("kadenceColumnStyle")),i=()=>{const e={};(t.topPadding||0===t.topPadding)&&(e.topPadding=t.topPadding),(t.bottomPadding||0===t.bottomPadding)&&(e.bottomPadding=t.bottomPadding),(t.leftPadding||0===t.leftPadding)&&(e.leftPadding=t.leftPadding),(t.rightPadding||0===t.rightPadding)&&(e.rightPadding=t.rightPadding),(t.topPaddingM||0===t.topPaddingM)&&(e.topPaddingM=t.topPaddingM),(t.bottomPaddingM||0===t.bottomPaddingM)&&(e.bottomPaddingM=t.bottomPaddingM),(t.leftPaddingM||0===t.leftPaddingM)&&(e.leftPaddingM=t.leftPaddingM),(t.rightPaddingM||0===t.rightPaddingM)&&(e.rightPaddingM=t.rightPaddingM),(t.topMargin||0===t.topMargin)&&(e.topMargin=t.topMargin),(t.bottomMargin||0===t.bottomMargin)&&(e.bottomMargin=t.bottomMargin),(t.topMarginM||0===t.topMarginM)&&(e.topMarginM=t.topMarginM),(t.bottomMarginM||0===t.bottomMarginM)&&(e.bottomMarginM=t.bottomMarginM),(t.leftMargin||0===t.leftMargin)&&(e.leftMargin=t.leftMargin),(t.rightMargin||0===t.rightMargin)&&(e.rightMargin=t.rightMargin),(t.leftMarginM||0===t.leftMarginM)&&(e.leftMarginM=t.leftMarginM),(t.rightMarginM||0===t.rightMarginM)&&(e.rightMarginM=t.rightMarginM),t.zIndex&&(e.zIndex=t.zIndex),t.background&&(e.background=t.background),t.backgroundOpacity&&(e.backgroundOpacity=t.backgroundOpacity),t.border&&(e.border=t.border),t.borderOpacity&&(e.borderOpacity=t.borderOpacity),t.borderWidth&&(e.borderWidth=t.borderWidth),t.tabletBorderWidth&&(e.tabletBorderWidth=t.tabletBorderWidth),t.mobileBorderWidth&&(e.mobileBorderWidth=t.mobileBorderWidth),t.borderRadius&&(e.borderRadius=t.borderRadius),t.backgroundImg&&(e.backgroundImg=t.backgroundImg),t.textAlign&&(e.textAlign=t.textAlign),t.textColor&&(e.textColor=t.textColor),t.linkColor&&(e.linkColor=t.linkColor),t.linkHoverColor&&(e.linkHoverColor=t.linkHoverColor),(t.topPaddingT||0===t.bottomPadding)&&(e.topPaddingT=t.topPaddingT),(t.bottomPaddingT||0===t.bottomPaddingT)&&(e.bottomPaddingT=t.bottomPaddingT),(t.leftPaddingT||0===t.leftPaddingT)&&(e.leftPaddingT=t.leftPaddingT),(t.rightPaddingT||0===t.rightPaddingT)&&(e.rightPaddingT=t.rightPaddingT),(t.topMarginT||0===t.topMarginT)&&(e.topMarginT=t.topMarginT),(t.bottomMarginT||0===t.bottomMarginT)&&(e.bottomMarginT=t.bottomMarginT),(t.leftMarginT||0===t.leftMarginT)&&(e.leftMarginT=t.leftMarginT),(t.rightMarginT||0===t.rightMarginT)&&(e.rightMarginT=t.rightMarginT),t.marginType&&(e.marginType=t.marginType),t.paddingType&&(e.paddingType=t.paddingType),t.displayShadow&&(e.displayShadow=t.displayShadow),t.shadow&&(e.shadow=t.shadow),t.vsdesk&&(e.vsdesk=t.vsdesk),t.vstablet&&(e.vstablet=t.vstablet),t.vsmobile&&(e.vsmobile=t.vsmobile),t.direction&&(e.direction=t.direction),t.gutter&&(e.gutter=t.gutter),t.gutterUnit&&(e.gutterUnit=t.gutterUnit),t.verticalAlignment&&(e.verticalAlignment=t.verticalAlignment),t.justifyContent&&(e.justifyContent=t.justifyContent),t.backgroundImgHover&&(e.backgroundImgHover=t.backgroundImgHover),t.backgroundHover&&(e.backgroundHover=t.backgroundHover),t.borderHover&&(e.borderHover=t.borderHover),t.borderHoverWidth&&(e.borderHoverWidth=t.borderHoverWidth),t.tabletBorderHoverWidth&&(e.tabletBorderHoverWidth=t.tabletBorderHoverWidth),t.mobileBorderHoverWidth&&(e.mobileBorderHoverWidth=t.mobileBorderHoverWidth),t.borderHoverRadius&&(e.borderHoverRadius=t.borderHoverRadius),t.displayHoverShadow&&(e.displayHoverShadow=t.displayHoverShadow),t.shadowHover&&(e.shadowHover=t.shadowHover),t.textColorHover&&(e.textColorHover=t.textColorHover),t.linkColorHover&&(e.linkColorHover=t.linkColorHover),t.linkHoverColorHover&&(e.linkHoverColorHover=t.linkHoverColorHover),t.maxWidth&&(e.maxWidth=t.maxWidth),t.maxWidthUnit&&(e.maxWidthUnit=t.maxWidthUnit),t.height&&(e.height=t.height),t.heightUnit&&(e.heightUnit=t.heightUnit),t.htmlTag&&(e.htmlTag=t.htmlTag),t.sticky&&(e.sticky=t.sticky),t.stickyOffset&&(e.stickyOffset=t.stickyOffset),t.stickyUnit&&(e.stickyUnit=t.stickyUnit),t.overlay&&(e.overlay=t.overlay),t.overlayHover&&(e.overlayHover=t.overlayHover),t.overlayImg&&(e.overlayImg=t.overlayImg),t.overlayImgHover&&(e.overlayImgHover=t.overlayImgHover),void 0!==t.overlayOpacity&&(e.overlayOpacity=t.overlayOpacity),void 0!==t.overlayHoverOpacity&&(e.overlayHoverOpacity=t.overlayHoverOpacity),es.setItem("kadenceColumnStyle",JSON.stringify(e))},o=()=>{const t=JSON.parse(es.getItem("kadenceColumnStyle"));t&&e(t)};return Object(b.createElement)(Qc,null,Object(b.createElement)(Gc,{className:"block-editor-block-settings-menu",icon:l,label:Object(m.__)("Copy/Paste Styles","kadence-blocks"),popoverProps:ts},e=>{let{onClose:t}=e;return Object(b.createElement)(Zc,null,Object(b.createElement)(qc,null,Object(b.createElement)(Kc,{icon:"clipboard",onClick:uo()(t,i),label:Object(m.__)("Copy Styles","kadence-blocks")},Object(m.__)("Copy Styles","kadence-blocks")),Object(b.createElement)(Kc,{icon:"editor-paste-text",onClick:uo()(t,o),disabled:!a,label:Object(m.__)("Paste Styles","kadence-blocks")},Object(m.__)("Paste Styles","kadence-blocks"))))}))}};const{ToggleControl:as,SelectControl:is,ToolbarGroup:os,TabPanel:ns,RangeControl:rs}=wp.components,{applyFilters:cs}=wp.hooks;var ss=l(92),ds=[{attributes:{id:{type:"number",default:1},topPadding:{type:"number",default:""},bottomPadding:{type:"number",default:""},leftPadding:{type:"number",default:""},rightPadding:{type:"number",default:""},topPaddingM:{type:"number",default:""},bottomPaddingM:{type:"number",default:""},leftPaddingM:{type:"number",default:""},rightPaddingM:{type:"number",default:""},topMargin:{type:"number",default:""},bottomMargin:{type:"number",default:""},topMarginM:{type:"number",default:""},bottomMarginM:{type:"number",default:""},leftMargin:{type:"number",default:""},rightMargin:{type:"number",default:""},leftMarginM:{type:"number",default:""},rightMarginM:{type:"number",default:""},zIndex:{type:"number",default:""},background:{type:"string",default:""},backgroundOpacity:{type:"number",default:1},border:{type:"string",default:""},borderOpacity:{type:"number",default:1},borderWidth:{type:"array",default:[0,0,0,0]},tabletBorderWidth:{type:"array",default:["","","",""]},mobileBorderWidth:{type:"array",default:["","","",""]},borderRadius:{type:"array",default:[0,0,0,0]},uniqueID:{type:"string",default:""},collapseOrder:{type:"number"},backgroundImg:{type:"array",default:[{bgImg:"",bgImgID:"",bgImgSize:"cover",bgImgPosition:"center center",bgImgAttachment:"scroll",bgImgRepeat:"no-repeat"}]},textAlign:{type:"array",default:["","",""]},textColor:{type:"string",default:""},linkColor:{type:"string",default:""},linkHoverColor:{type:"string",default:""},topPaddingT:{type:"number",default:""},bottomPaddingT:{type:"number",default:""},leftPaddingT:{type:"number",default:""},rightPaddingT:{type:"number",default:""},topMarginT:{type:"number",default:""},bottomMarginT:{type:"number",default:""},leftMarginT:{type:"number",default:""},rightMarginT:{type:"number",default:""},displayShadow:{type:"boolean",default:!1},shadow:{type:"array",default:[{color:"#000000",opacity:.2,spread:0,blur:14,hOffset:0,vOffset:0,inset:!1}]},noCustomDefaults:{type:"boolean",default:!1},vsdesk:{type:"boolean",default:!1},vstablet:{type:"boolean",default:!1},vsmobile:{type:"boolean",default:!1},paddingType:{type:"string",default:"px"},marginType:{type:"string",default:"px"},bgColorClass:{type:"string",default:""},templateLock:{type:"string"},direction:{type:"array",default:["","",""]},justifyContent:{type:"array",default:["","",""]},wrapContent:{type:"array",default:["","",""]},gutter:{type:"array",default:["","",""]},gutterUnit:{type:"string",default:"px"},verticalAlignment:{type:"string"},backgroundImgHover:{type:"array",default:[{bgImg:"",bgImgID:"",bgImgSize:"cover",bgImgPosition:"center center",bgImgAttachment:"scroll",bgImgRepeat:"no-repeat"}]},backgroundHover:{type:"string",default:""},overlayOpacity:{type:"number",default:.3},overlay:{type:"string",default:""},overlayImg:{type:"array",default:[{bgImg:"",bgImgID:"",bgImgSize:"cover",bgImgPosition:"center center",bgImgAttachment:"scroll",bgImgRepeat:"no-repeat"}]},overlayHoverOpacity:{type:"number",default:""},overlayHover:{type:"string",default:""},overlayImgHover:{type:"array",default:[{bgImg:"",bgImgID:"",bgImgSize:"cover",bgImgPosition:"center center",bgImgAttachment:"scroll",bgImgRepeat:"no-repeat"}]},borderHover:{type:"string",default:""},borderHoverWidth:{type:"array",default:["","","",""]},tabletBorderHoverWidth:{type:"array",default:["","","",""]},mobileBorderHoverWidth:{type:"array",default:["","","",""]},borderHoverRadius:{type:"array",default:["","","",""]},displayHoverShadow:{type:"boolean",default:!1},shadowHover:{type:"array",default:[{color:"#000000",opacity:.2,spread:0,blur:14,hOffset:0,vOffset:0,inset:!1}]},textColorHover:{type:"string",default:""},linkColorHover:{type:"string",default:""},linkHoverColorHover:{type:"string",default:""},link:{type:"string",default:""},linkTitle:{type:"string",default:""},linkTarget:{type:"boolean",default:!1},linkNoFollow:{type:"boolean",default:!1},linkSponsored:{type:"boolean",default:!1},maxWidth:{type:"array",default:["","",""]},maxWidthUnit:{type:"string",default:"px"},height:{type:"array",default:["","",""]},heightUnit:{type:"string",default:"px"},htmlTag:{type:"string",default:"div"},inQueryBlock:{type:"boolean",default:!1},overlayType:{type:"string",default:"normal"},sticky:{type:"boolean",default:!1},stickyOffset:{type:"array",default:["","",""]},stickyOffsetUnit:{type:"string",default:"px"},kadenceBlockCSS:{type:"string",default:""},kadenceAnimation:{type:"string"},kadenceAOSOptions:{type:"array",default:[{duration:"",offset:"",easing:"",once:"",delay:"",delayOffset:""}]},kadenceDynamic:{type:"object"},kadenceConditional:{type:"object"}},supports:{anchor:!0,ktanimate:!0,ktanimateadd:!0,ktanimatepreview:!0,ktanimateswipe:!0,ktdynamic:!0,kbcss:!0,editorsKitBlockNavigator:!0},save:e=>{let{attributes:t}=e;const{id:l,uniqueID:a,vsdesk:i,vstablet:o,vsmobile:n,link:r,linkNoFollow:c,linkSponsored:s,sticky:d,direction:m,linkTarget:p,linkTitle:g,htmlTag:u,overlay:h,overlayImg:v,overlayHover:k,overlayImgHover:y,kadenceAnimation:f,kadenceAOSOptions:O}=t,j=!!(h||v&&v[0]&&v[0].bgImg||k||y&&y[0]&&y[0].bgImg),_=xt()({["inner-column-"+l]:l,["kadence-column"+a]:a,"kvs-lg-false":void 0!==i&&i,"kvs-md-false":void 0!==o&&o,"kvs-sm-false":void 0!==n&&n,"kb-section-has-link":void 0!==r&&""!==r,"kb-section-is-sticky":void 0!==d&&d,"kb-section-has-overlay":void 0!==j&&j});let w;p&&(w="noopener noreferrer"),void 0!==c&&!0===c&&(w=w?w.concat(" nofollow"):"nofollow"),void 0!==s&&!0===s&&(w=w?w.concat(" sponsored"):"sponsored");const x=u||"div";return Object(b.createElement)(x,Ke()({},Ce.useBlockProps.save({className:_}),{"data-aos":f||void 0,"data-aos-offset":f&&O&&O[0]&&O[0].offset?O[0].offset:void 0,"data-aos-duration":f&&O&&O[0]&&O[0].duration?O[0].duration:void 0,"data-aos-delay":f&&O&&O[0]&&O[0].delay?O[0].delay:void 0,"data-aos-easing":f&&O&&O[0]&&O[0].easing?O[0].easing:void 0,"data-aos-once":f&&O&&O[0]&&void 0!==O[0].once&&""!==O[0].once?O[0].once:void 0}),Object(b.createElement)("div",{className:"kt-inside-inner-col"},Object(b.createElement)(Ce.InnerBlocks.Content,null)),r&&Object(b.createElement)("a",{href:r,className:"kb-section-link-overlay",target:p?"_blank":void 0,rel:w||void 0,"aria-label":g||void 0}))}},{attributes:{id:{type:"number",default:1},topPadding:{type:"number",default:""},bottomPadding:{type:"number",default:""},leftPadding:{type:"number",default:""},rightPadding:{type:"number",default:""},topPaddingM:{type:"number",default:""},bottomPaddingM:{type:"number",default:""},leftPaddingM:{type:"number",default:""},rightPaddingM:{type:"number",default:""},topMargin:{type:"number",default:""},bottomMargin:{type:"number",default:""},topMarginM:{type:"number",default:""},bottomMarginM:{type:"number",default:""},leftMargin:{type:"number",default:""},rightMargin:{type:"number",default:""},leftMarginM:{type:"number",default:""},rightMarginM:{type:"number",default:""},zIndex:{type:"number",default:""},background:{type:"string",default:""},backgroundOpacity:{type:"number",default:1},border:{type:"string",default:""},borderOpacity:{type:"number",default:1},borderWidth:{type:"array",default:[0,0,0,0]},tabletBorderWidth:{type:"array",default:["","","",""]},mobileBorderWidth:{type:"array",default:["","","",""]},borderRadius:{type:"array",default:[0,0,0,0]},uniqueID:{type:"string",default:""},collapseOrder:{type:"number"},backgroundImg:{type:"array",default:[{bgImg:"",bgImgID:"",bgImgSize:"cover",bgImgPosition:"center center",bgImgAttachment:"scroll",bgImgRepeat:"no-repeat"}]},textAlign:{type:"array",default:["","",""]},textColor:{type:"string",default:""},linkColor:{type:"string",default:""},linkHoverColor:{type:"string",default:""},topPaddingT:{type:"number",default:""},bottomPaddingT:{type:"number",default:""},leftPaddingT:{type:"number",default:""},rightPaddingT:{type:"number",default:""},topMarginT:{type:"number",default:""},bottomMarginT:{type:"number",default:""},leftMarginT:{type:"number",default:""},rightMarginT:{type:"number",default:""},displayShadow:{type:"bool",default:!1},shadow:{type:"array",default:[{color:"#000000",opacity:.2,spread:0,blur:14,hOffset:0,vOffset:0,inset:!1}]},noCustomDefaults:{type:"bool",default:!1},vsdesk:{type:"bool",default:!1},vstablet:{type:"bool",default:!1},vsmobile:{type:"bool",default:!1},paddingType:{type:"string",default:"px"},marginType:{type:"string",default:"px"},bgColorClass:{type:"string",default:""},templateLock:{type:"string"},direction:{type:"array",default:["","",""]},justifyContent:{type:"array",default:["","",""]},gutter:{type:"array",default:["","",""]},gutterUnit:{type:"string",default:"px"},verticalAlignment:{type:"string"},backgroundImgHover:{type:"array",default:[{bgImg:"",bgImgID:"",bgImgSize:"cover",bgImgPosition:"center center",bgImgAttachment:"scroll",bgImgRepeat:"no-repeat"}]},backgroundHover:{type:"string",default:""},borderHover:{type:"string",default:""},borderHoverWidth:{type:"array",default:["","","",""]},tabletBorderHoverWidth:{type:"array",default:["","","",""]},mobileBorderHoverWidth:{type:"array",default:["","","",""]},borderHoverRadius:{type:"array",default:["","","",""]},displayHoverShadow:{type:"bool",default:!1},shadowHover:{type:"array",default:[{color:"#000000",opacity:.2,spread:0,blur:14,hOffset:0,vOffset:0,inset:!1}]},textColorHover:{type:"string",default:""},linkColorHover:{type:"string",default:""},linkHoverColorHover:{type:"string",default:""},inQueryBlock:{type:"bool",default:!1},kadenceBlockCSS:{type:"string",default:""},kadenceAnimation:{type:"string"},kadenceAOSOptions:{type:"array",default:[{duration:"",offset:"",easing:"",once:"",delay:"",delayOffset:""}]},kadenceDynamic:{type:"object"},kadenceConditional:{type:"object"}},supports:{anchor:!0,ktanimate:!0,ktanimateadd:!0,ktanimatepreview:!0,ktanimateswipe:!0,ktdynamic:!0,kbcss:!0,editorsKitBlockNavigator:!0},save:e=>{let{attributes:t}=e;const{id:l,background:a,backgroundOpacity:i,backgroundImg:o,uniqueID:n,vsdesk:r,vstablet:c,vsmobile:s,bgColorClass:d,kadenceAnimation:m,kadenceAOSOptions:p}=t,g=o&&o[0]&&o[0].bgImg?o[0].bgImg:"",u=a&&""===g?pa(a,i):void 0,h=xt()({["inner-column-"+l]:l,["kadence-column"+n]:n,"kvs-lg-false":"undefined"!==r&&r,"kvs-md-false":"undefined"!==c&&c,"kvs-sm-false":"undefined"!==s&&s});return Object(b.createElement)("div",{className:h,"data-aos":m||void 0,"data-aos-offset":m&&p&&p[0]&&p[0].offset?p[0].offset:void 0,"data-aos-duration":m&&p&&p[0]&&p[0].duration?p[0].duration:void 0,"data-aos-delay":m&&p&&p[0]&&p[0].delay?p[0].delay:void 0,"data-aos-easing":m&&p&&p[0]&&p[0].easing?p[0].easing:void 0,"data-aos-once":m&&p&&p[0]&&void 0!==p[0].once&&""!==p[0].once?p[0].once:void 0},Object(b.createElement)("div",{className:"kt-inside-inner-col",style:{background:u}},Object(b.createElement)(Ce.InnerBlocks.Content,null)))}},{attributes:{id:{type:"number",default:1},topPadding:{type:"number",default:""},bottomPadding:{type:"number",default:""},leftPadding:{type:"number",default:""},rightPadding:{type:"number",default:""},topPaddingM:{type:"number",default:""},bottomPaddingM:{type:"number",default:""},leftPaddingM:{type:"number",default:""},rightPaddingM:{type:"number",default:""},topMargin:{type:"number",default:""},bottomMargin:{type:"number",default:""},topMarginM:{type:"number",default:""},bottomMarginM:{type:"number",default:""},leftMargin:{type:"number",default:""},rightMargin:{type:"number",default:""},leftMarginM:{type:"number",default:""},rightMarginM:{type:"number",default:""},zIndex:{type:"number",default:""},background:{type:"string",default:""},backgroundOpacity:{type:"number",default:1},border:{type:"string",default:""},borderOpacity:{type:"number",default:1},borderWidth:{type:"array",default:[0,0,0,0]},tabletBorderWidth:{type:"array",default:["","","",""]},mobileBorderWidth:{type:"array",default:["","","",""]},borderRadius:{type:"array",default:[0,0,0,0]},uniqueID:{type:"string",default:""},collapseOrder:{type:"number"},backgroundImg:{type:"array",default:[{bgImg:"",bgImgID:"",bgImgSize:"cover",bgImgPosition:"center center",bgImgAttachment:"scroll",bgImgRepeat:"no-repeat"}]},textAlign:{type:"array",default:["","",""]},textColor:{type:"string",default:""},linkColor:{type:"string",default:""},linkHoverColor:{type:"string",default:""},topPaddingT:{type:"number",default:""},bottomPaddingT:{type:"number",default:""},leftPaddingT:{type:"number",default:""},rightPaddingT:{type:"number",default:""},topMarginT:{type:"number",default:""},bottomMarginT:{type:"number",default:""},leftMarginT:{type:"number",default:""},rightMarginT:{type:"number",default:""},displayShadow:{type:"bool",default:!1},shadow:{type:"array",default:[{color:"#000000",opacity:.2,spread:0,blur:14,hOffset:0,vOffset:0,inset:!1}]},noCustomDefaults:{type:"bool",default:!1},vsdesk:{type:"bool",default:!1},vstablet:{type:"bool",default:!1},vsmobile:{type:"bool",default:!1},paddingType:{type:"string",default:"px"},marginType:{type:"string",default:"px"},bgColorClass:{type:"string",default:""},templateLock:{type:"string"}},supports:{anchor:!0,ktanimate:!0,ktanimateadd:!0,ktanimatepreview:!0,ktanimateswipe:!0,ktdynamic:!0,kbcss:!0,editorsKitBlockNavigator:!0},save:e=>{let{attributes:t}=e;const{id:l,background:a,backgroundOpacity:i,backgroundImg:o,uniqueID:n,vsdesk:r,vstablet:c,vsmobile:s}=t,d=o&&o[0]&&o[0].bgImg?o[0].bgImg:"",m=a&&""===d?Yi(a,i):void 0,p=xt()({["inner-column-"+l]:l,["kadence-column"+n]:n,"kvs-lg-false":"undefined"!==r&&r,"kvs-md-false":"undefined"!==c&&c,"kvs-sm-false":"undefined"!==s&&s});return Object(b.createElement)("div",{className:p},Object(b.createElement)("div",{className:"kt-inside-inner-col",style:{background:m}},Object(b.createElement)(Ce.InnerBlocks.Content,null)))}},{attributes:{id:{type:"number",default:1},topPadding:{type:"number",default:""},bottomPadding:{type:"number",default:""},leftPadding:{type:"number",default:""},rightPadding:{type:"number",default:""},topPaddingM:{type:"number",default:""},bottomPaddingM:{type:"number",default:""},leftPaddingM:{type:"number",default:""},rightPaddingM:{type:"number",default:""},topMargin:{type:"number",default:""},bottomMargin:{type:"number",default:""},topMarginM:{type:"number",default:""},bottomMarginM:{type:"number",default:""},leftMargin:{type:"number",default:""},rightMargin:{type:"number",default:""},leftMarginM:{type:"number",default:""},rightMarginM:{type:"number",default:""},zIndex:{type:"number",default:""},background:{type:"string",default:""},backgroundOpacity:{type:"number",default:1},border:{type:"string",default:""},borderOpacity:{type:"number",default:1},borderWidth:{type:"array",default:[0,0,0,0]},borderRadius:{type:"array",default:[0,0,0,0]},uniqueID:{type:"string",default:""},collapseOrder:{type:"number"},backgroundImg:{type:"array",default:[{bgImg:"",bgImgID:"",bgImgSize:"cover",bgImgPosition:"center center",bgImgAttachment:"scroll",bgImgRepeat:"no-repeat"}]},textAlign:{type:"array",default:["","",""]},textColor:{type:"string",default:""},linkColor:{type:"string",default:""},linkHoverColor:{type:"string",default:""},topPaddingT:{type:"number",default:""},bottomPaddingT:{type:"number",default:""},leftPaddingT:{type:"number",default:""},rightPaddingT:{type:"number",default:""},topMarginT:{type:"number",default:""},bottomMarginT:{type:"number",default:""},leftMarginT:{type:"number",default:""},rightMarginT:{type:"number",default:""},displayShadow:{type:"bool",default:!1},shadow:{type:"array",default:[{color:"#000000",opacity:.2,spread:0,blur:14,hOffset:0,vOffset:0,inset:!1}]},noCustomDefaults:{type:"bool",default:!1},vsdesk:{type:"bool",default:!1},vstablet:{type:"bool",default:!1},vsmobile:{type:"bool",default:!1}},supports:{anchor:!0,ktanimate:!0,ktanimateadd:!0,ktanimatepreview:!0,ktanimateswipe:!0,ktdynamic:!0,kbcss:!0,editorsKitBlockNavigator:!0},save:e=>{let{attributes:t}=e;const{id:l,background:a,backgroundOpacity:i,backgroundImg:o,uniqueID:n}=t,r=o&&o[0]&&o[0].bgImg?o[0].bgImg:"",c=a&&""===r?Yi(a,i):void 0;return Object(b.createElement)("div",{className:`inner-column-${l} kadence-column${n}`},Object(b.createElement)("div",{className:"kt-inside-inner-col",style:{background:c}},Object(b.createElement)(Ce.InnerBlocks.Content,null)))}},{attributes:{id:{type:"number",default:1},topPadding:{type:"number",default:""},bottomPadding:{type:"number",default:""},leftPadding:{type:"number",default:""},rightPadding:{type:"number",default:""},topPaddingM:{type:"number",default:""},bottomPaddingM:{type:"number",default:""},leftPaddingM:{type:"number",default:""},rightPaddingM:{type:"number",default:""},topMargin:{type:"number",default:""},bottomMargin:{type:"number",default:""},topMarginM:{type:"number",default:""},bottomMarginM:{type:"number",default:""},leftMargin:{type:"number",default:""},rightMargin:{type:"number",default:""},leftMarginM:{type:"number",default:""},rightMarginM:{type:"number",default:""},zIndex:{type:"number",default:""},background:{type:"string",default:""},backgroundOpacity:{type:"number",default:1}},save:e=>{let{attributes:t}=e;const{id:l,background:a,backgroundOpacity:i}=t,o=a?Se(a,i):void 0;return Object(b.createElement)("div",{className:"inner-column-"+l},Object(b.createElement)("div",{className:"kt-inside-inner-col",style:{background:o}},Object(b.createElement)(Ce.InnerBlocks.Content,null)))}},{attributes:{id:{type:"number",default:1}},save:e=>{let{attributes:t}=e;const{id:l}=t;return Object(b.createElement)("div",{className:"inner-column-"+l},Object(b.createElement)("div",{className:"kt-inside-inner-col"},Object(b.createElement)(Ce.InnerBlocks.Content,null)))}},{attributes:{id:{type:"number",default:1}},save:e=>{let{attributes:t}=e;const{id:l}=t;return Object(b.createElement)("div",{className:"inner-column-"+l},Object(b.createElement)(Ce.InnerBlocks.Content,null))}}];const{name:bs}=ss,ms={title:Object(m._x)("Section","block title","kadence-blocks"),description:Object(m._x)("A container to style a section of content","block description","kadence-blocks"),edit:function(e){let{attributes:t,setAttributes:l,isSelected:i,clientId:o,context:n,className:r}=e;const{id:c,topPadding:s,bottomPadding:d,leftPadding:p,rightPadding:u,topPaddingM:h,bottomPaddingM:v,leftPaddingM:k,rightPaddingM:y,topMargin:f,bottomMargin:O,topMarginM:j,bottomMarginM:_,leftMargin:w,rightMargin:x,leftMarginM:S,rightMarginM:C,topMarginT:T,bottomMarginT:N,leftMarginT:z,rightMarginT:M,topPaddingT:I,bottomPaddingT:H,leftPaddingT:B,rightPaddingT:P,backgroundOpacity:R,background:A,zIndex:L,border:F,borderWidth:W,borderOpacity:D,borderRadius:$,uniqueID:U,kadenceAnimation:V,kadenceAOSOptions:G,collapseOrder:q,backgroundImg:K,textAlign:Q,textColor:J,linkColor:Y,linkHoverColor:X,shadow:ee,displayShadow:te,vsdesk:le,vstablet:ae,vsmobile:ie,paddingType:oe,marginType:ne,mobileBorderWidth:re,tabletBorderWidth:ce,templateLock:se,kadenceBlockCSS:de,kadenceDynamic:be,direction:me,gutter:pe,gutterUnit:ge,verticalAlignment:ue,justifyContent:he,backgroundImgHover:ve,backgroundHover:ke,borderHover:ye,borderHoverWidth:fe,borderHoverRadius:Oe,shadowHover:je,displayHoverShadow:_e,tabletBorderHoverWidth:we,mobileBorderHoverWidth:xe,textColorHover:Ee,linkColorHover:Se,linkHoverColorHover:Te,linkNoFollow:Ne,linkSponsored:ze,link:Me,linkTarget:Ie,linkTitle:He,wrapContent:Be,heightUnit:Pe,height:Re,maxWidth:Ae,maxWidthUnit:Le,htmlTag:Fe,sticky:We,stickyOffset:$e,stickyOffsetUnit:Ue,overlay:Ze,overlayHover:Ge,overlayImg:qe,overlayImgHover:Qe,overlayOpacity:Je,overlayHoverOpacity:Ye}=t,Xe=()=>{let e=null;n&&(n.queryId||Number.isFinite(n.queryId))&&n.postId&&(e=n.postId),t.kadenceDynamic&&t.kadenceDynamic["backgroundImg:0:bgImg"]&&t.kadenceDynamic["backgroundImg:0:bgImg"].enable&&cs("kadence.dynamicBackground","",t,l,"backgroundImg:0:bgImg",e),t.kadenceDynamic&&t.kadenceDynamic["backgroundImgHover:0:bgImg"]&&t.kadenceDynamic["backgroundImgHover:0:bgImg"].enable&&cs("kadence.dynamicBackground","",t,l,"backgroundImgHover:0:bgImg",e)},{addUniqueID:et}=Object(a.useDispatch)("kadenceblocks/data"),{isUniqueID:tt,isUniqueBlock:lt,previewDevice:at}=Object(a.useSelect)(e=>({isUniqueID:t=>e("kadenceblocks/data").isUniqueID(t),isUniqueBlock:(t,l)=>e("kadenceblocks/data").isUniqueBlock(t,l),previewDevice:e("kadenceblocks/data").getPreviewDeviceType()}),[o]);Object(b.useEffect)(()=>{let e="_"+o.substr(2,9);if(U)tt(U)?et(U,o):lt(U,o)||(t.uniqueID=e,et(e,o));else{const a=kadence_blocks_params.configuration?JSON.parse(kadence_blocks_params.configuration):[];void 0!==t.noCustomDefaults&&t.noCustomDefaults||void 0!==a["kadence/column"]&&"object"==typeof a["kadence/column"]&&Object.keys(a["kadence/column"]).map(e=>{t[e]=a["kadence/column"][e]}),tt(U)||(e=Dc()(e)),l({uniqueID:e}),et(e,o)}n&&(n.queryId||Number.isFinite(n.queryId))&&n.postId?t.inQueryBlock||l({inQueryBlock:!0}):t.inQueryBlock&&l({inQueryBlock:!1}),wl()(Xe,200)},[]);const{hasInnerBlocks:it,inRowBlock:ot}=Object(a.useSelect)(e=>{const{getBlock:t,getBlockRootClientId:l,getBlocksByClientId:a}=e(Ce.store),i=t(o),n=l(o);let r=!1;if(n){const e=a(n);r=void 0!==e&&void 0!==e[0]&&void 0!==e[0].name&&"kadence/rowlayout"===e[0].name}return{inRowBlock:r,hasInnerBlocks:!(!i||!i.innerBlocks.length)}},[o]),[nt,rt]=Object(b.useState)("individual"),[ct,st]=Object(b.useState)("individual"),[dt,bt]=Object(b.useState)("individual"),[mt,pt]=Object(b.useState)("individual"),gt=e=>{const t=ee.map((t,l)=>(0===l&&(t={...t,...e}),t));l({shadow:t})},ut=e=>{const t=je.map((t,l)=>(0===l&&(t={...t,...e}),t));l({shadowHover:t})},ht=e=>{const t=K.map((t,l)=>(0===l&&(t={...t,...e}),t));l({backgroundImg:t})},vt=e=>{const t=ve.map((t,l)=>(0===l&&(t={...t,...e}),t));l({backgroundImgHover:t})},kt=()=>{ht({bgImgID:"",bgImg:""})},yt=()=>{vt({bgImgID:"",bgImg:""})},ft=e=>{const t=qe.map((t,l)=>(0===l&&(t={...t,...e}),t));l({overlayImg:t})},jt=e=>{const t=Qe.map((t,l)=>(0===l&&(t={...t,...e}),t));l({overlayImgHover:t})},_t=()=>{ft({bgImgID:"",bgImg:""})},wt=()=>{jt({bgImgID:"",bgImg:""})},Et="px"!==ge?12:200,St="px"!==ge?.1:1,Ct="em"===ne||"rem"===ne?-2:-200,Tt="em"===ne||"rem"===ne?12:200,Nt="em"===ne||"rem"===ne?.1:1,zt="em"===oe||"rem"===oe?12:200,Mt="em"===oe||"rem"===oe?.1:1,It=void 0!==oe?oe:"px",Ht=void 0!==ne?ne:"px",Bt=$c(at,void 0!==f?f:"",void 0!==T?T:"",void 0!==j?j:""),Rt=$c(at,void 0!==x?x:"",void 0!==M?M:"",void 0!==C?C:""),At=$c(at,void 0!==O?O:"",void 0!==N?N:"",void 0!==_?_:""),Lt=$c(at,void 0!==w?w:"",void 0!==z?z:"",void 0!==S?S:""),Ft=$c(at,void 0!==s?s:"",void 0!==I?I:"",void 0!==h?h:""),Wt=$c(at,void 0!==u?u:"",void 0!==P?P:"",void 0!==y?y:""),Dt=$c(at,void 0!==d?d:"",void 0!==H?H:"",void 0!==v?v:""),$t=$c(at,void 0!==p?p:"",void 0!==B?B:"",void 0!==k?k:""),Ut=$c(at,void 0!==W?W[0]:"",void 0!==ce?ce[0]:"",void 0!==re?re[0]:""),Vt=$c(at,void 0!==W?W[1]:"",void 0!==ce?ce[1]:"",void 0!==re?re[1]:""),Zt=$c(at,void 0!==W?W[2]:"",void 0!==ce?ce[2]:"",void 0!==re?re[2]:""),Gt=$c(at,void 0!==W?W[3]:"",void 0!==ce?ce[3]:"",void 0!==re?re[3]:""),qt=$c(at,void 0!==fe?fe[0]:"",void 0!==we?we[0]:"",void 0!==xe?xe[0]:""),Kt=$c(at,void 0!==fe?fe[1]:"",void 0!==we?we[1]:"",void 0!==xe?xe[1]:""),Qt=$c(at,void 0!==fe?fe[2]:"",void 0!==we?we[2]:"",void 0!==xe?xe[2]:""),Jt=$c(at,void 0!==fe?fe[3]:"",void 0!==we?we[3]:"",void 0!==xe?xe[3]:""),Yt=$c(at,Q&&Q[0]?Q[0]:"",Q&&Q[1]?Q[1]:"",Q&&Q[2]?Q[2]:""),Xt=$c(at,pe&&""!==pe[0]?pe[0]:"",pe&&""!==pe[1]?pe[1]:"",pe&&""!==pe[2]?pe[2]:""),el=$c(at,me&&""!==me[0]?me[0]:"",me&&""!==me[1]?me[1]:"",me&&""!==me[2]?me[2]:""),tl=$c(at,he&&""!==he[0]?he[0]:"",he&&""!==he[1]?he[1]:"",he&&""!==he[2]?he[2]:""),ll=$c(at,Be&&""!==Be[0]?Be[0]:"",Be&&""!==Be[1]?Be[1]:"",Be&&""!==Be[2]?Be[2]:""),al=A?pa(A,R):"transparent",il=F?pa(F,D):"transparent",ol=$c(at,Ae&&Ae[0]?Ae[0]:"",Ae&&Ae[1]?Ae[1]:"",Ae&&Ae[2]?Ae[2]:""),nl=$c(at,Re&&Re[0]?Re[0]:"",Re&&Re[1]?Re[1]:"",Re&&Re[2]?Re[2]:""),rl=$c(at,$e&&$e[0]?$e[0]:"",$e&&$e[1]?$e[1]:"",$e&&$e[2]?$e[2]:""),cl=Pe||"px",sl=Le||"px",dl=Ue||"px",bl=xt()({[r]:r,"kadence-column":!0,["inner-column-"+c]:c,["kadence-column-"+U]:U,"kadence-section-sticky":void 0!==We&&We,"kb-has-max-width":void 0!==ol&&""!==ol,"kvs-lg-false":void 0!==le&&le,"kvs-md-false":void 0!==ae&&ae,"kvs-sm-false":void 0!==ie&&ie}),ml=!!(K&&K[0]&&K[0].bgImg),pl=!!(ve&&ve[0]&&ve[0].bgImg),gl=!!(qe&&qe[0]&&qe[0].bgImg),ul=!!(Qe&&Qe[0]&&Qe[0].bgImg),hl=[[{icon:Object(b.createElement)(pc,{value:"top",isPressed:"top"===ue}),title:Object(m.__)("Align Top","kadence-blocks"),isActive:"top"===ue,onClick:()=>{l("top"===ue?{verticalAlignment:""}:{verticalAlignment:"top"})}}],[{icon:Object(b.createElement)(pc,{value:"middle",isPressed:"middle"===ue}),title:Object(m.__)("Align Middle","kadence-blocks"),isActive:"middle"===ue,onClick:()=>{l("middle"===ue?{verticalAlignment:""}:{verticalAlignment:"middle"})}}],[{icon:Object(b.createElement)(pc,{value:"bottom",isPressed:"bottom"===ue}),title:Object(m.__)("Align Bottom","kadence-blocks"),isActive:"bottom"===ue,onClick:()=>{l("bottom"===ue?{verticalAlignment:""}:{verticalAlignment:"bottom"})}}]],vl=xt()({"kadence-inner-column-inner":!0,"aos-animate":!0,"kt-animation-wrap":!0,["kadence-inner-column-direction-"+(el||"vertical")]:!0,["kadence-inner-column-text-align-"+(Yt||"normal")]:!0,["kadence-inner-column-vertical-align-"+(ue||"inherit")]:!0}),kl=Object(Ce.useBlockProps)({className:bl,style:{top:We&&void 0!==rl?rl+dl:void 0},"data-vertical-align":"top"===ue||"middle"===ue||"bottom"===ue?ue:void 0}),yl=Object(Ce.useInnerBlocksProps)({className:vl},{orientation:me&&me[0]?me[0]:"vertical",templateLock:se||!1,renderAppender:it?void 0:Ce.InnerBlocks.ButtonBlockAppender});return Object(b.createElement)("div",kl,Object(b.createElement)("style",null,void 0!==Je&&""!==Je?`.kadence-column-${U} > .kadence-inner-column-inner:before { opacity: ${Je} }`:"",Ze?`.kadence-column-${U} > .kadence-inner-column-inner:before { background-color: ${pa(Ze)} }`:"",gl?`.kadence-column-${U} > .kadence-inner-column-inner:before { background-image: url(${qe[0].bgImg}); }`:"",gl&&qe[0].bgImgPosition?`.kadence-column-${U} > .kadence-inner-column-inner:before { background-position:${qe[0].bgImgPosition}; }`:"",gl&&qe[0].bgImgSize?`.kadence-column-${U} > .kadence-inner-column-inner:before { background-size:${qe[0].bgImgSize}; }`:"",gl&&qe[0].bgImgRepeat?`.kadence-column-${U} > .kadence-inner-column-inner:before { background-repeat:${qe[0].bgImgRepeat}; }`:"",gl&&qe[0].bgImgAttachment?`.kadence-column-${U} > .kadence-inner-column-inner:before { background-attachment:${qe[0].bgImgAttachment}; }`:"",void 0!==Ye&&""!==Ye?`.kadence-column-${U}:hover > .kadence-inner-column-inner:before { opacity: ${Ye} }`:"",Ge?`.kadence-column-${U}:hover > .kadence-inner-column-inner:before { background-color: ${pa(Ge)} }`:"",ul?`.kadence-column-${U}:hover > .kadence-inner-column-inner:before { background-image: url(${Qe[0].bgImg}); }`:"",ul&&Qe[0].bgImgPosition?`.kadence-column-${U}:hover > .kadence-inner-column-inner:before { background-position:${Qe[0].bgImgPosition}; }`:"",ul&&Qe[0].bgImgSize?`.kadence-column-${U}:hover > .kadence-inner-column-inner:before { background-size:${Qe[0].bgImgSize}; }`:"",ul&&Qe[0].bgImgRepeat?`.kadence-column-${U}:hover > .kadence-inner-column-inner:before { background-repeat:${Qe[0].bgImgRepeat}; }`:"",ul&&Qe[0].bgImgAttachment?`.kadence-column-${U}:hover > .kadence-inner-column-inner:before { background-attachment:${Qe[0].bgImgAttachment}; }`:"",void 0!==ol&&""!==ol?`.kadence-column-${U} > .kadence-inner-column-inner { max-width:${ol+sl}; }`:"",void 0!==ol&&""!==ol?`.wp-block-kadence-column > .kadence-inner-column-direction-horizontal > .wp-block-kadence-column.kadence-column-${U} > .kadence-inner-column-inner { max-width:100%; }`:"",void 0!==ol&&""!==ol?`.wp-block-kadence-column > .kadence-inner-column-direction-horizontal > .wp-block-kadence-column.kadence-column-${U} { flex: 0 1 ${ol+sl}; }`:"",void 0!==L&&""!==L?`.kadence-column-${U} { z-index: ${L}; }`:"",J?`.kadence-column-${U}, .kadence-column-${U} p, .kadence-column-${U} h1, .kadence-column-${U} h2, .kadence-column-${U} h3, .kadence-column-${U} h4, .kadence-column-${U} h5, .kadence-column-${U} h6 { color: ${pa(J)}; }`:"",Y?`.kadence-column-${U} a { color: ${pa(Y)}; }`:"",X?`.kadence-column-${U} a:hover { color: ${pa(X)}; }`:"",""!==Xt?`.kadence-column-${U} > .kadence-inner-column-direction-horizontal { gap: ${Xt+(ge||"px")}; }`:"",tl?`.kadence-column-${U} > .kadence-inner-column-direction-horizontal { justify-content: ${tl}; }`:"",ll?`.kadence-column-${U} > .kadence-inner-column-direction-horizontal { flex-wrap: ${ll}; }`:"",!tl||"space-around"!=tl&&"space-between"!=tl&&"space-evenly"!=tl?"":`.kadence-column-${U} > .kadence-inner-column-direction-horizontal > .block-list-appender { display:none; }`,Ee?`.kadence-column-${U}:hover, .kadence-column-${U}:hover p, .kadence-column-${U}:hover h1, .kadence-column-${U}:hover h2, .kadence-column-${U}:hover h3, .kadence-column-${U}:hover h4, .kadence-column-${U}:hover h5, .kadence-column-${U}:hover h6 { color: ${pa(Ee)}; }`:"",Se?`.kadence-column-${U}:hover a { color: ${pa(Se)}; }`:"",Te?`.kadence-column-${U}:hover a:hover { color: ${pa(Te)}; }`:"",pl?`.kadence-column-${U}:hover .kadence-inner-column-inner { background-image: url(${ve[0].bgImg}) !important; }`:"",pl&&ve[0].bgImgPosition?`.kadence-column-${U} > .kadence-inner-column-inner:hover { background-position:${ve[0].bgImgPosition} !important; }`:"",pl&&ve[0].bgImgSize?`.kadence-column-${U} > .kadence-inner-column-inner:hover { background-size:${ve[0].bgImgSize} !important; }`:"",pl&&ve[0].bgImgRepeat?`.kadence-column-${U} > .kadence-inner-column-inner:hover { background-repeat:${ve[0].bgImgRepeat} !important; }`:"",pl&&ve[0].bgImgAttachment?`.kadence-column-${U} > .kadence-inner-column-inner:hover { background-attachment:${ve[0].bgImgAttachment} !important; }`:"",qt?`.kadence-column-${U} > .kadence-inner-column-inner:hover { border-top-width:${qt}px !important; }`:"",Kt?`.kadence-column-${U} > .kadence-inner-column-inner:hover { border-right-width:${Kt}px !important; }`:"",Qt?`.kadence-column-${U} > .kadence-inner-column-inner:hover { border-bottom-width:${Qt}px !important; }`:"",Jt?`.kadence-column-${U} > .kadence-inner-column-inner:hover { border-left-width:${Jt}px !important; }`:"",ye?`.kadence-column-${U} > .kadence-inner-column-inner:hover { border-color:${pa(ye)} !important; }`:"",Oe&&void 0!==Oe[0]&&""!==Oe[0]?`.kadence-column-${U} > .kadence-inner-column-inner:hover { border-top-left-radius:${Oe[0]}px !important; }`:"",Oe&&void 0!==Oe[1]&&""!==Oe[1]?`.kadence-column-${U} > .kadence-inner-column-inner:hover { border-top-right-radius:${Oe[1]}px !important; }`:"",Oe&&void 0!==Oe[2]&&""!==Oe[2]?`.kadence-column-${U} > .kadence-inner-column-inner:hover { border-bottom-right-radius:${Oe[2]}px !important; }`:"",Oe&&void 0!==Oe[3]&&""!==Oe[3]?`.kadence-column-${U} > .kadence-inner-column-inner:hover { border-bottom-left-radius:${Oe[3]}px !important; }`:"",_e&&void 0!==je&&void 0!==je[0]&&void 0!==je[0].color?`.kadence-column-${U} > .kadence-inner-column-inner:hover { box-shadow:${(void 0!==je[0].inset&&je[0].inset?"inset ":"")+(void 0!==je[0].hOffset?je[0].hOffset:0)+"px "+(void 0!==je[0].vOffset?je[0].vOffset:0)+"px "+(void 0!==je[0].blur?je[0].blur:14)+"px "+(void 0!==je[0].spread?je[0].spread:0)+"px "+pa(void 0!==je[0].color?je[0].color:"#000000",void 0!==je[0].opacity?je[0].opacity:1)} !important; }`:"",de&&Object(b.createElement)(b.Fragment,null,de.replace(/selector/g,".kadence-column-"+U))),Uc("allSettings","kadence/column")&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)(Ce.BlockControls,null,Object(b.createElement)(os,{isCollapsed:!0,icon:Object(b.createElement)(pc,{value:ue||(me&&me[0]&&"horizontal"===me[0]?"middle":"top")}),label:Object(m.__)("Vertical Align","kadence-blocks"),controls:hl}),Object(b.createElement)(ls,{onPaste:e=>l(e),blockAttributes:t})),Object(b.createElement)(Ce.InspectorControls,null,Uc("textAlign","kadence/column")&&Object(b.createElement)(Pt,{title:Object(m.__)("Flex Align Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-col-align-settings"},Object(b.createElement)(To,{label:Object(m.__)("Inner Block Direction","kadence-blocks"),desktopChildren:Object(b.createElement)(Yn,{value:me&&me[0]?me[0]:"vertical",options:[{value:"vertical",label:Object(m.__)("Vertical","kadence-blocks")},{value:"horizontal",label:Object(m.__)("Horizontal","kadence-blocks")}],onChange:e=>l({direction:[e,me&&me[1]?me[1]:"",me&&me[2]?me[2]:""]})}),tabletChildren:Object(b.createElement)(Yn,{value:me&&me[1]?me[1]:"",options:[{value:"vertical",label:Object(m.__)("Vertical","kadence-blocks")},{value:"horizontal",label:Object(m.__)("Horizontal","kadence-blocks")}],onChange:e=>l({direction:[me&&me[0]?me[0]:"vertical",e,me&&me[2]?me[2]:""]})}),mobileChildren:Object(b.createElement)(Yn,{value:me&&me[2]?me[2]:"",options:[{value:"vertical",label:Object(m.__)("Vertical","kadence-blocks")},{value:"horizontal",label:Object(m.__)("Horizontal","kadence-blocks")}],onChange:e=>l({direction:[me&&me[0]?me[0]:"vertical",me&&me[1]?me[1]:"",e]})})}),"horizontal"===(el||"vertical")&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)(Z,{label:Object(m.__)("Default Horizontal Block Gap","kadence-blocks"),value:pe&&""!==pe[0]?pe[0]:10,onChange:e=>l({gutter:[e,pe&&pe[1]?pe[1]:"",pe&&pe[2]?pe[2]:""]}),tabletValue:pe&&""!==pe[1]?pe[1]:"",onChangeTablet:e=>l({gutter:[pe&&pe[0]?pe[0]:10,e,pe&&pe[2]?pe[2]:""]}),mobileValue:pe&&""!==pe[2]?pe[2]:"",onChangeMobile:e=>l({gutter:[pe&&pe[0]?pe[0]:10,pe&&pe[2]?pe[2]:"",e]}),min:0,max:Et,step:St,unit:ge,onUnit:e=>l({gutterUnit:e}),units:["px","em","rem"]}),Object(b.createElement)(To,{label:Object(m.__)("Justify Content","kadence-blocks"),desktopChildren:Object(b.createElement)(is,{value:he&&he[0]?he[0]:"",options:[{value:"",label:Object(m.__)("Inherit","kadence-blocks")},{value:"flex-start",label:Object(m.__)("Start","kadence-blocks")},{value:"center",label:Object(m.__)("Center","kadence-blocks")},{value:"flex-end",label:Object(m.__)("End","kadence-blocks")},{value:"space-between",label:Object(m.__)("Space Between","kadence-blocks")},{value:"space-around",label:Object(m.__)("Space Around","kadence-blocks")},{value:"space-evenly",label:Object(m.__)("Space Evenly","kadence-blocks")}],onChange:e=>l({justifyContent:[e,he&&he[1]?he[1]:"",he&&he[2]?he[2]:""]})}),tabletChildren:Object(b.createElement)(is,{value:he&&he[1]?he[1]:"",options:[{value:"",label:Object(m.__)("Inherit","kadence-blocks")},{value:"flex-start",label:Object(m.__)("Start","kadence-blocks")},{value:"center",label:Object(m.__)("Center","kadence-blocks")},{value:"flex-end",label:Object(m.__)("End","kadence-blocks")},{value:"space-between",label:Object(m.__)("Space Between","kadence-blocks")},{value:"space-around",label:Object(m.__)("Space Around","kadence-blocks")},{value:"space-evenly",label:Object(m.__)("Space Evenly","kadence-blocks")}],onChange:e=>l({justifyContent:[he&&he[0]?he[0]:"",e,he&&he[2]?he[2]:""]})}),mobileChildren:Object(b.createElement)(is,{value:he&&he[2]?he[2]:"",options:[{value:"",label:Object(m.__)("Inherit","kadence-blocks")},{value:"flex-start",label:Object(m.__)("Start","kadence-blocks")},{value:"center",label:Object(m.__)("Center","kadence-blocks")},{value:"flex-end",label:Object(m.__)("End","kadence-blocks")},{value:"space-between",label:Object(m.__)("Space Between","kadence-blocks")},{value:"space-around",label:Object(m.__)("Space Around","kadence-blocks")},{value:"space-evenly",label:Object(m.__)("Space Evenly","kadence-blocks")}],onChange:e=>l({justifyContent:[he&&he[0]?he[0]:"",he&&he[1]?he[1]:"",e]})})}),Object(b.createElement)(To,{label:Object(m.__)("Wrap Content","kadence-blocks"),desktopChildren:Object(b.createElement)(is,{value:Be&&Be[0]?Be[0]:"",options:[{value:"",label:Object(m.__)("Inherit","kadence-blocks")},{value:"nowrap",label:Object(m.__)("No Wrap","kadence-blocks")},{value:"wrap",label:Object(m.__)("Wrap","kadence-blocks")},{value:"wrap-reverse",label:Object(m.__)("Wrap Reverse","kadence-blocks")}],onChange:e=>l({wrapContent:[e,Be&&Be[1]?Be[1]:"",Be&&Be[2]?Be[2]:""]})}),tabletChildren:Object(b.createElement)(is,{value:Be&&Be[1]?Be[1]:"",options:[{value:"",label:Object(m.__)("Inherit","kadence-blocks")},{value:"nowrap",label:Object(m.__)("No Wrap","kadence-blocks")},{value:"wrap",label:Object(m.__)("Wrap","kadence-blocks")},{value:"wrap-reverse",label:Object(m.__)("Wrap Reverse","kadence-blocks")}],onChange:e=>l({wrapContent:[Be&&Be[0]?Be[0]:"",e,Be&&Be[2]?Be[2]:""]})}),mobileChildren:Object(b.createElement)(is,{value:Be&&Be[2]?Be[2]:"",options:[{value:"",label:Object(m.__)("Inherit","kadence-blocks")},{value:"nowrap",label:Object(m.__)("No Wrap","kadence-blocks")},{value:"wrap",label:Object(m.__)("Wrap","kadence-blocks")},{value:"wrap-reverse",label:Object(m.__)("Wrap Reverse","kadence-blocks")}],onChange:e=>l({wrapContent:[Be&&Be[0]?Be[0]:"",Be&&Be[1]?Be[1]:"",e]})})})),Object(b.createElement)(_i,{label:Object(m.__)("Text Alignment","kadence-blocks"),value:Q&&Q[0]?Q[0]:"",mobileValue:Q&&Q[2]?Q[2]:"",tabletValue:Q&&Q[1]?Q[1]:"",onChange:e=>l({textAlign:[e,Q&&Q[1]?Q[1]:"",Q&&Q[2]?Q[2]:""]}),onChangeTablet:e=>l({textAlign:[Q&&Q[0]?Q[0]:"",e,Q&&Q[2]?Q[2]:""]}),onChangeMobile:e=>l({textAlign:[Q&&Q[0]?Q[0]:"",Q&&Q[1]?Q[1]:"",e]})})),Uc("paddingMargin","kadence/column")&&Object(b.createElement)(Pt,{title:Object(m.__)("Padding/Margin","kadence-blocks"),initialOpen:!1,panelName:"kb-col-padding-margin"},Object(b.createElement)(Ot,{label:Object(m.__)("Padding","kadence-blocks"),control:dt,value:[void 0!==s?s:"",void 0!==u?u:"",void 0!==d?d:"",void 0!==p?p:""],tabletValue:[void 0!==I?I:"",void 0!==P?P:"",void 0!==H?H:"",void 0!==B?B:""],mobileValue:[void 0!==h?h:"",void 0!==y?y:"",void 0!==v?v:"",void 0!==k?k:""],onChange:e=>{l({topPadding:e[0],rightPadding:e[1],bottomPadding:e[2],leftPadding:e[3]})},onChangeTablet:e=>{l({topPaddingT:e[0],rightPaddingT:e[1],bottomPaddingT:e[2],leftPaddingT:e[3]})},onChangeMobile:e=>{l({topPaddingM:e[0],rightPaddingM:e[1],bottomPaddingM:e[2],leftPaddingM:e[3]})},onChangeControl:e=>bt(e),allowEmpty:!0,min:0,max:zt,step:Mt,unit:oe,units:["px","em","rem","%"],onUnit:e=>l({paddingType:e})}),Object(b.createElement)(Ot,{label:Object(m.__)("Margin","kadence-blocks"),control:mt,value:[void 0!==f?f:"",void 0!==x?x:"",void 0!==O?O:"",void 0!==w?w:""],tabletValue:[void 0!==T?T:"",void 0!==M?M:"",void 0!==N?N:"",void 0!==z?z:""],mobileValue:[void 0!==j?j:"",void 0!==C?C:"",void 0!==_?_:"",void 0!==S?S:""],onChange:e=>{l({topMargin:e[0],rightMargin:e[1],bottomMargin:e[2],leftMargin:e[3]})},onChangeTablet:e=>{l({topMarginT:e[0],rightMarginT:e[1],bottomMarginT:e[2],leftMarginT:e[3]})},onChangeMobile:e=>{l({topMarginM:e[0],rightMarginM:e[1],bottomMarginM:e[2],leftMarginM:e[3]})},onChangeControl:e=>pt(e),allowEmpty:!0,min:Ct,max:Tt,step:Nt,unit:ne,units:["px","em","rem","%","vh"],onUnit:e=>l({marginType:e})})),Uc("container","kadence/column")&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)(Pt,{title:Object(m.__)("Structure Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-col-container-style-settings"},Object(b.createElement)(is,{label:Object(m.__)("Container HTML tag","kadence-blocks"),value:Fe,options:[{value:"div",label:"div"},{value:"header",label:"header"},{value:"section",label:"section"},{value:"article",label:"article"},{value:"main",label:"main"},{value:"aside",label:"aside"},{value:"footer",label:"footer"}],onChange:e=>l({htmlTag:e})}),!ot&&Object(b.createElement)(Z,{label:Object(m.__)("Max Width","kadence-blocks"),value:void 0!==Ae&&void 0!==Ae[0]?Ae[0]:"",onChange:e=>{l({maxWidth:[e,void 0!==Ae&&void 0!==Ae[1]?Ae[1]:"",void 0!==Ae&&void 0!==Ae[2]?Ae[2]:""]})},tabletValue:void 0!==Ae&&void 0!==Ae[1]?Ae[1]:"",onChangeTablet:e=>{l({maxWidth:[void 0!==Ae&&void 0!==Ae[0]?Ae[0]:"",e,void 0!==Ae&&void 0!==Ae[2]?Ae[2]:""]})},mobileValue:void 0!==Ae&&void 0!==Ae[2]?Ae[2]:"",onChangeMobile:e=>{l({maxWidth:[void 0!==Ae&&void 0!==Ae[0]?Ae[0]:"",void 0!==Ae&&void 0!==Ae[1]?Ae[1]:"",e]})},min:0,max:"px"===Le?2e3:100,step:1,unit:Le||"px",onUnit:e=>{l({maxWidthUnit:e})},units:["px","%","vw"]}),Object(b.createElement)(Z,{label:Object(m.__)("Min Height","kadence-blocks"),value:void 0!==Re&&void 0!==Re[0]?Re[0]:"",onChange:e=>{l({height:[e,void 0!==Re&&void 0!==Re[1]?Re[1]:"",void 0!==Re&&void 0!==Re[2]?Re[2]:""]})},tabletValue:void 0!==Re&&void 0!==Re[1]?Re[1]:"",onChangeTablet:e=>{l({height:[void 0!==Re&&void 0!==Re[0]?Re[0]:"",e,void 0!==Re&&void 0!==Re[2]?Re[2]:""]})},mobileValue:void 0!==Re&&void 0!==Re[2]?Re[2]:"",onChangeMobile:e=>{l({height:[void 0!==Re&&void 0!==Re[0]?Re[0]:"",void 0!==Re&&void 0!==Re[1]?Re[1]:"",e]})},min:0,max:"px"===Pe?2e3:200,step:1,unit:Pe||"px",onUnit:e=>{l({heightUnit:e})},units:["px","vw","vh"]})),Object(b.createElement)(Pt,{title:Object(m.__)("Background Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-col-bg-settings"},Object(b.createElement)(ns,{className:"kt-inspect-tabs kt-hover-tabs",activeClass:"active-tab",tabs:[{name:"normal",title:Object(m.__)("Normal","kadence-blocks"),className:"kt-normal-tab"},{name:"hover",title:Object(m.__)("Hover","kadence-blocks"),className:"kt-hover-tab"}]},e=>{let a;return e.name&&(a="hover"===e.name?Object(b.createElement)(b.Fragment,null,Object(b.createElement)(De,{label:Object(m.__)("Background Color","kadence-blocks"),value:ke||"",default:"",onChange:e=>l({backgroundHover:e})}),Object(b.createElement)(ar,{label:Object(m.__)("Background Image","kadence-blocks"),hasImage:pl,imageURL:ve&&ve[0]&&ve[0].bgImg?ve[0].bgImg:"",imageID:ve&&ve[0]&&ve[0].bgImgID?ve[0].bgImgID:"",imagePosition:ve&&ve[0]&&ve[0].bgImgPosition?ve[0].bgImgPosition:"center center",imageSize:ve&&ve[0]&&ve[0].bgImgSize?ve[0].bgImgSize:"cover",imageRepeat:ve&&ve[0]&&ve[0].bgImgRepeat?ve[0].bgImgRepeat:"no-repeat",imageAttachment:ve&&ve[0]&&ve[0].bgImgAttachment?ve[0].bgImgAttachment:"scroll",onRemoveImage:yt,onSaveImage:e=>{vt({bgImgID:e.id,bgImg:e.url})},onSaveURL:e=>{e!==(ve&&ve[0]&&ve[0].bgImg?ve[0].bgImg:"")&&vt({bgImgID:void 0,bgImg:e})},onSavePosition:e=>vt({bgImgPosition:e}),onSaveSize:e=>vt({bgImgSize:e}),onSaveRepeat:e=>vt({bgImgRepeat:e}),onSaveAttachment:e=>vt({bgImgAttachment:e}),disableMediaButtons:ve&&ve[0]&&ve[0].bgImg?ve[0].bgImg:"",dynamicAttribute:"backgroundImgHover:0:bgImg",isSelected:i,attributes:t,setAttributes:l,name:"kadence/column",clientId:o})):Object(b.createElement)(b.Fragment,null,Object(b.createElement)(De,{label:Object(m.__)("Background Color","kadence-blocks"),value:A||"",default:"",opacityValue:R,onChange:e=>l({background:e}),onOpacityChange:e=>l({backgroundOpacity:e})}),Object(b.createElement)(ar,{label:Object(m.__)("Background Image","kadence-blocks"),hasImage:ml,imageURL:K&&K[0]&&K[0].bgImg?K[0].bgImg:"",imageID:K&&K[0]&&K[0].bgImgID?K[0].bgImgID:"",imagePosition:K&&K[0]&&K[0].bgImgPosition?K[0].bgImgPosition:"center center",imageSize:K&&K[0]&&K[0].bgImgSize?K[0].bgImgSize:"cover",imageRepeat:K&&K[0]&&K[0].bgImgRepeat?K[0].bgImgRepeat:"no-repeat",imageAttachment:K&&K[0]&&K[0].bgImgAttachment?K[0].bgImgAttachment:"scroll",onRemoveImage:kt,onSaveImage:e=>{ht({bgImgID:e.id,bgImg:e.url})},onSaveURL:e=>{e!==(K&&K[0]&&K[0].bgImg?K[0].bgImg:"")&&ht({bgImgID:void 0,bgImg:e})},onSavePosition:e=>ht({bgImgPosition:e}),onSaveSize:e=>ht({bgImgSize:e}),onSaveRepeat:e=>ht({bgImgRepeat:e}),onSaveAttachment:e=>ht({bgImgAttachment:e}),disableMediaButtons:K&&K[0]&&K[0].bgImg?K[0].bgImg:"",dynamicAttribute:"backgroundImg:0:bgImg",isSelected:i,attributes:t,setAttributes:l,name:"kadence/column",clientId:o}))),Object(b.createElement)("div",{className:e.className,key:e.className},a)})),Object(b.createElement)(Pt,{title:Object(m.__)("Background Overlay Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-col-bg-overlay-settings"},Object(b.createElement)(ns,{className:"kt-inspect-tabs kt-hover-tabs",activeClass:"active-tab",tabs:[{name:"normal",title:Object(m.__)("Normal","kadence-blocks"),className:"kt-normal-tab"},{name:"hover",title:Object(m.__)("Hover","kadence-blocks"),className:"kt-hover-tab"}]},e=>{let a;return e.name&&(a="hover"===e.name?Object(b.createElement)(b.Fragment,null,Object(b.createElement)(rs,{label:Object(m.__)("Overlay Opacity","kadence-blocks"),value:Ye,onChange:e=>{l({overlayHoverOpacity:e})},step:.01,min:0,max:1}),Object(b.createElement)(De,{label:Object(m.__)("Background Color","kadence-blocks"),value:Ge||"",default:"",onChange:e=>l({overlayHover:e})}),Object(b.createElement)(ar,{label:Object(m.__)("Background Image","kadence-blocks"),hasImage:ul,imageURL:Qe&&Qe[0]&&Qe[0].bgImg?Qe[0].bgImg:"",imageID:Qe&&Qe[0]&&Qe[0].bgImgID?Qe[0].bgImgID:"",imagePosition:Qe&&Qe[0]&&Qe[0].bgImgPosition?Qe[0].bgImgPosition:"center center",imageSize:Qe&&Qe[0]&&Qe[0].bgImgSize?Qe[0].bgImgSize:"cover",imageRepeat:Qe&&Qe[0]&&Qe[0].bgImgRepeat?Qe[0].bgImgRepeat:"no-repeat",imageAttachment:Qe&&Qe[0]&&Qe[0].bgImgAttachment?Qe[0].bgImgAttachment:"scroll",onRemoveImage:wt,onSaveImage:e=>{jt({bgImgID:e.id,bgImg:e.url})},onSaveURL:e=>{e!==(Qe&&Qe[0]&&Qe[0].bgImg?Qe[0].bgImg:"")&&jt({bgImgID:void 0,bgImg:e})},onSavePosition:e=>jt({bgImgPosition:e}),onSaveSize:e=>jt({bgImgSize:e}),onSaveRepeat:e=>jt({bgImgRepeat:e}),onSaveAttachment:e=>jt({bgImgAttachment:e}),disableMediaButtons:Qe&&Qe[0]&&Qe[0].bgImg?Qe[0].bgImg:"",dynamicAttribute:"overlayImgHover:0:bgImg",isSelected:i,attributes:t,setAttributes:l,name:"kadence/column",clientId:o})):Object(b.createElement)(b.Fragment,null,Object(b.createElement)(rs,{label:Object(m.__)("Overlay Opacity","kadence-blocks"),value:Je,onChange:e=>{l({overlayOpacity:e})},step:.01,min:0,max:1}),Object(b.createElement)(De,{label:Object(m.__)("Background Color","kadence-blocks"),value:Ze||"",default:"",onChange:e=>l({overlay:e})}),Object(b.createElement)(ar,{label:Object(m.__)("Background Image","kadence-blocks"),hasImage:gl,imageURL:qe&&qe[0]&&qe[0].bgImg?qe[0].bgImg:"",imageID:qe&&qe[0]&&qe[0].bgImgID?qe[0].bgImgID:"",imagePosition:qe&&qe[0]&&qe[0].bgImgPosition?qe[0].bgImgPosition:"center center",imageSize:qe&&qe[0]&&qe[0].bgImgSize?qe[0].bgImgSize:"cover",imageRepeat:qe&&qe[0]&&qe[0].bgImgRepeat?qe[0].bgImgRepeat:"no-repeat",imageAttachment:qe&&qe[0]&&qe[0].bgImgAttachment?qe[0].bgImgAttachment:"scroll",onRemoveImage:_t,onSaveImage:e=>{ft({bgImgID:e.id,bgImg:e.url})},onSaveURL:e=>{e!==(qe&&qe[0]&&qe[0].bgImg?qe[0].bgImg:"")&&ft({bgImgID:void 0,bgImg:e})},onSavePosition:e=>ft({bgImgPosition:e}),onSaveSize:e=>ft({bgImgSize:e}),onSaveRepeat:e=>ft({bgImgRepeat:e}),onSaveAttachment:e=>ft({bgImgAttachment:e}),disableMediaButtons:qe&&qe[0]&&qe[0].bgImg?qe[0].bgImg:"",dynamicAttribute:"overlayImg:0:bgImg",isSelected:i,attributes:t,setAttributes:l,name:"kadence/column",clientId:o}))),Object(b.createElement)("div",{className:e.className,key:e.className},a)})),Object(b.createElement)(Pt,{title:Object(m.__)("Border Styles","kadence-blocks"),initialOpen:!1,panelName:"kb-col-border-settings"},Object(b.createElement)(ns,{className:"kt-inspect-tabs kt-hover-tabs",activeClass:"active-tab",tabs:[{name:"normal",title:Object(m.__)("Normal","kadence-blocks"),className:"kt-normal-tab"},{name:"hover",title:Object(m.__)("Hover","kadence-blocks"),className:"kt-hover-tab"}]},e=>{let t;return e.name&&(t="hover"===e.name?Object(b.createElement)(b.Fragment,null,Object(b.createElement)(De,{label:Object(m.__)("Border Color","kadence-blocks"),value:ye||"",default:"",onChange:e=>l({borderHover:e})}),Object(b.createElement)(Ot,{label:Object(m.__)("Border Width","kadence-blocks"),value:fe,control:ct,tabletValue:we,mobileValue:xe,onChange:e=>l({borderHoverWidth:e}),onChangeTablet:e=>l({tabletBorderHoverWidth:e}),onChangeMobile:e=>l({mobileBorderHoverWidth:e}),onChangeControl:e=>st(e),min:0,max:40,step:1,unit:"px",units:["px"],showUnit:!0,preset:[0,1,2,3,4,5,6,7,8,9]}),Object(b.createElement)(Fc,{label:Object(m.__)("Border Radius","kadence-blocks"),measurement:Oe,control:nt,onChange:e=>l({borderHoverRadius:e}),onControl:e=>rt(e),min:0,max:200,step:1,controlTypes:[{key:"linked",name:Object(m.__)("Linked","kadence-blocks"),icon:g.radiuslinked},{key:"individual",name:Object(m.__)("Individual","kadence-blocks"),icon:g.radiusindividual}],firstIcon:g.topleft,secondIcon:g.topright,thirdIcon:g.bottomright,fourthIcon:g.bottomleft}),Object(b.createElement)(Ve,{label:Object(m.__)("Box Shadow","kadence-blocks"),enable:void 0!==_e&&_e,color:void 0!==je&&void 0!==je[0]&&void 0!==je[0].color?je[0].color:"#000000",colorDefault:"#000000",onArrayChange:(e,t)=>{ut({color:e,opacity:t})},opacity:void 0!==je&&void 0!==je[0]&&void 0!==je[0].opacity?je[0].opacity:.2,hOffset:void 0!==je&&void 0!==je[0]&&void 0!==je[0].hOffset?je[0].hOffset:0,vOffset:void 0!==je&&void 0!==je[0]&&void 0!==je[0].vOffset?je[0].vOffset:0,blur:void 0!==je&&void 0!==je[0]&&void 0!==je[0].blur?je[0].blur:14,spread:void 0!==je&&void 0!==je[0]&&void 0!==je[0].spread?je[0].spread:0,inset:void 0!==je&&void 0!==je[0]&&void 0!==je[0].inset&&je[0].inset,onEnableChange:e=>{l({displayHoverShadow:e})},onColorChange:e=>{ut({color:e})},onOpacityChange:e=>{ut({opacity:e})},onHOffsetChange:e=>{ut({hOffset:e})},onVOffsetChange:e=>{ut({vOffset:e})},onBlurChange:e=>{ut({blur:e})},onSpreadChange:e=>{ut({spread:e})},onInsetChange:e=>{ut({inset:e})}})):Object(b.createElement)(b.Fragment,null,Object(b.createElement)(De,{label:Object(m.__)("Border Color","kadence-blocks"),value:F||"",default:"",opacityValue:D,onChange:e=>l({border:e}),onOpacityChange:e=>l({borderOpacity:e})}),Object(b.createElement)(Ot,{label:Object(m.__)("Border Width","kadence-blocks"),value:W,control:ct,tabletValue:ce,mobileValue:re,onChange:e=>l({borderWidth:e}),onChangeTablet:e=>l({tabletBorderWidth:e}),onChangeMobile:e=>l({mobileBorderWidth:e}),onChangeControl:e=>st(e),min:0,max:40,step:1,unit:"px",units:["px"],showUnit:!0,preset:[0,1,2,3,4,5,6,7,8,9]}),Object(b.createElement)(Fc,{label:Object(m.__)("Border Radius","kadence-blocks"),measurement:$,control:nt,onChange:e=>l({borderRadius:e}),onControl:e=>rt(e),min:0,max:200,step:1,controlTypes:[{key:"linked",name:Object(m.__)("Linked","kadence-blocks"),icon:g.radiuslinked},{key:"individual",name:Object(m.__)("Individual","kadence-blocks"),icon:g.radiusindividual}],firstIcon:g.topleft,secondIcon:g.topright,thirdIcon:g.bottomright,fourthIcon:g.bottomleft}),Object(b.createElement)(Ve,{label:Object(m.__)("Box Shadow","kadence-blocks"),enable:void 0!==te&&te,color:void 0!==ee&&void 0!==ee[0]&&void 0!==ee[0].color?ee[0].color:"#000000",colorDefault:"#000000",onArrayChange:(e,t)=>{gt({color:e,opacity:t})},opacity:void 0!==ee&&void 0!==ee[0]&&void 0!==ee[0].opacity?ee[0].opacity:.2,hOffset:void 0!==ee&&void 0!==ee[0]&&void 0!==ee[0].hOffset?ee[0].hOffset:0,vOffset:void 0!==ee&&void 0!==ee[0]&&void 0!==ee[0].vOffset?ee[0].vOffset:0,blur:void 0!==ee&&void 0!==ee[0]&&void 0!==ee[0].blur?ee[0].blur:14,spread:void 0!==ee&&void 0!==ee[0]&&void 0!==ee[0].spread?ee[0].spread:0,inset:void 0!==ee&&void 0!==ee[0]&&void 0!==ee[0].inset&&ee[0].inset,onEnableChange:e=>{l({displayShadow:e})},onColorChange:e=>{gt({color:e})},onOpacityChange:e=>{gt({opacity:e})},onHOffsetChange:e=>{gt({hOffset:e})},onVOffsetChange:e=>{gt({vOffset:e})},onBlurChange:e=>{gt({blur:e})},onSpreadChange:e=>{gt({spread:e})},onInsetChange:e=>{gt({inset:e})}}))),Object(b.createElement)("div",{className:e.className,key:e.className},t)}))),Object(b.createElement)("div",{className:"kt-sidebar-settings-spacer"}),Uc("textColor","kadence/column")&&Object(b.createElement)(Pt,{title:Object(m.__)("Text Color Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-col-text-color-settings"},Object(b.createElement)(ns,{className:"kt-inspect-tabs kt-hover-tabs",activeClass:"active-tab",tabs:[{name:"normal",title:Object(m.__)("Normal","kadence-blocks"),className:"kt-normal-tab"},{name:"hover",title:Object(m.__)("Hover","kadence-blocks"),className:"kt-hover-tab"}]},e=>{let t;return e.name&&(t="hover"===e.name?Object(b.createElement)(b.Fragment,null,Object(b.createElement)(De,{label:Object(m.__)("Text Color","kadence-blocks"),value:Ee||"",default:"",onChange:e=>l({textColorHover:e})}),Object(b.createElement)(De,{label:Object(m.__)("Text Link Color","kadence-blocks"),value:Se||"",default:"",onChange:e=>l({linkColorHover:e})}),Object(b.createElement)(De,{label:Object(m.__)("Text Link Hover Color","kadence-blocks"),value:Te||"",default:"",onChange:e=>l({linkHoverColorHover:e})})):Object(b.createElement)(b.Fragment,null,Object(b.createElement)(De,{label:Object(m.__)("Text Color","kadence-blocks"),value:J||"",default:"",onChange:e=>l({textColor:e})}),Object(b.createElement)(De,{label:Object(m.__)("Text Link Color","kadence-blocks"),value:Y||"",default:"",onChange:e=>l({linkColor:e})}),Object(b.createElement)(De,{label:Object(m.__)("Text Link Hover Color","kadence-blocks"),value:X||"",default:"",onChange:e=>l({linkHoverColor:e})}))),Object(b.createElement)("div",{className:e.className,key:e.className},t)})),Uc("overlayLink","kadence/column")&&Object(b.createElement)(Pt,{title:Object(m.__)("Overlay Link","kadence-blocks"),initialOpen:!1,panelName:"kb-col-overlay-link"},Object(b.createElement)("p",{className:"kadence-sidebar-notice"},Object(m.__)("Please note, If a link is added nothing else inside of the section will be selectable.","kadence-blocks")),Object(b.createElement)(qa,{label:Object(m.__)("Link entire section","kadence-blocks"),url:Me,onChangeUrl:e=>l({link:e}),additionalControls:!0,opensInNewTab:void 0!==Ie&&Ie,onChangeTarget:e=>l({linkTarget:e}),linkNoFollow:void 0!==Ne&&Ne,onChangeFollow:e=>l({linkNoFollow:e}),linkSponsored:void 0!==ze&&ze,onChangeSponsored:e=>l({linkSponsored:e}),linkTitle:He,onChangeTitle:e=>{l({linkTitle:e})},dynamicAttribute:"link",allowClear:!0,isSelected:i,attributes:t,setAttributes:l,name:"kadence/column",clientId:o,context:n})),Object(b.createElement)(Pt,{title:Object(m.__)("Visibility Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-col-visibility-settings"},Object(b.createElement)(as,{label:Object(m.__)("Hide on Desktop","kadence-blocks"),checked:void 0!==le&&le,onChange:e=>l({vsdesk:e})}),Object(b.createElement)(as,{label:Object(m.__)("Hide on Tablet","kadence-blocks"),checked:void 0!==ae&&ae,onChange:e=>l({vstablet:e})}),Object(b.createElement)(as,{label:Object(m.__)("Hide on Mobile","kadence-blocks"),checked:void 0!==ie&&ie,onChange:e=>l({vsmobile:e})})),Object(b.createElement)(Pt,{title:Object(m.__)("Sticky Settings","kadence-blocks"),initialOpen:!1,panelName:"kb-col-sticky-settings"},Object(b.createElement)(as,{label:Object(m.__)("Make sticky","kadence-blocks"),help:Object(m.__)("This will stick the section to viewport for the height of an outer block.","kadence-blocks"),checked:void 0!==We&&We,onChange:e=>l({sticky:e})}),We&&Object(b.createElement)(Z,{label:Object(m.__)("Sticky Header Offset","kadence-blocks"),value:void 0!==$e&&void 0!==$e[0]?$e[0]:"",onChange:e=>{l({stickyOffset:[e,void 0!==$e&&void 0!==$e[1]?$e[1]:"",void 0!==$e&&void 0!==$e[2]?$e[2]:""]})},tabletValue:void 0!==$e&&void 0!==$e[1]?$e[1]:"",onChangeTablet:e=>{l({stickyOffset:[void 0!==$e&&void 0!==$e[0]?$e[0]:"",e,void 0!==$e&&void 0!==$e[2]?$e[2]:""]})},mobileValue:void 0!==$e&&void 0!==$e[2]?$e[2]:"",onChangeMobile:e=>{l({stickyOffset:[void 0!==$e&&void 0!==$e[0]?$e[0]:"",void 0!==$e&&void 0!==$e[1]?$e[1]:"",e]})},min:0,max:"px"===Ue?2e3:100,step:1,unit:Ue||"px",onUnit:e=>{l({stickyOffsetUnit:e})},units:["px","rem","vh"]})))),Object(b.createElement)(Ce.InspectorAdvancedControls,null,Object(b.createElement)(E,{label:Object(m.__)("Z Index Control"),value:L,onChange:e=>{l({zIndex:e})},min:-200,max:200}),ot&&Object(b.createElement)(E,{label:Object(m.__)("Mobile Collapse Order"),value:q,onChange:e=>{l({collapseOrder:e})},min:-10,max:10})),Object(b.createElement)("div",Ke()({id:"animate-id"+U,"data-aos":V||void 0,"data-aos-duration":G&&G[0]&&G[0].duration?G[0].duration:void 0,"data-aos-easing":G&&G[0]&&G[0].easing?G[0].easing:void 0,style:{minHeight:void 0!==nl?nl+cl:void 0,paddingLeft:void 0!==$t?$t+It:void 0,paddingRight:void 0!==Wt?Wt+It:void 0,paddingTop:void 0!==Ft?Ft+It:void 0,paddingBottom:void 0!==Dt?Dt+It:void 0,marginLeft:void 0!==Lt?Lt+Ht:void 0,marginRight:void 0!==Rt?Rt+Ht:void 0,marginTop:void 0!==Bt?Bt+Ht:void 0,marginBottom:void 0!==At?At+Ht:void 0,textAlign:Yt||void 0,backgroundColor:al,backgroundImage:ml?`url( ${K[0].bgImg} )`:void 0,backgroundSize:K&&K[0]&&K[0].bgImgSize?K[0].bgImgSize:void 0,backgroundPosition:K&&K[0]&&K[0].bgImgPosition?K[0].bgImgPosition:void 0,backgroundRepeat:K&&K[0]&&K[0].bgImgRepeat?K[0].bgImgRepeat:void 0,backgroundAttachment:K&&K[0]&&K[0].bgImgAttachment?K[0].bgImgAttachment:void 0,borderColor:il,borderRadius:$?$[0]+"px "+$[1]+"px "+$[2]+"px "+$[3]+"px":"",borderTopWidth:Ut?Ut+"px":void 0,borderRightWidth:Vt?Vt+"px":void 0,borderBottomWidth:Zt?Zt+"px":void 0,borderLeftWidth:Gt?Gt+"px":void 0,boxShadow:void 0!==te&&te&&void 0!==ee&&void 0!==ee[0]&&void 0!==ee[0].color?(void 0!==ee[0].inset&&ee[0].inset?"inset ":"")+(void 0!==ee[0].hOffset?ee[0].hOffset:0)+"px "+(void 0!==ee[0].vOffset?ee[0].vOffset:0)+"px "+(void 0!==ee[0].blur?ee[0].blur:14)+"px "+(void 0!==ee[0].spread?ee[0].spread:0)+"px "+pa(void 0!==ee[0].color?ee[0].color:"#000000",void 0!==ee[0].opacity?ee[0].opacity:1):void 0}},yl)))},save:function(e){let{attributes:t}=e;const{id:l,uniqueID:a,vsdesk:i,vstablet:o,vsmobile:n,link:r,linkNoFollow:c,linkSponsored:s,sticky:d,linkTarget:m,linkTitle:p,htmlTag:g,overlay:u,overlayImg:h,overlayHover:v,overlayImgHover:k,direction:y}=t,f=!(!y||""===y[0])&&y[0],O=!(!y||""===y[1])&&y[1],j=!(!y||""===y[2])&&y[2],_=!!(u||h&&h[0]&&h[0].bgImg||v||k&&k[0]&&k[0].bgImg),w=xt()({["inner-column-"+l]:l,["kadence-column"+a]:a,"kvs-lg-false":void 0!==i&&i,"kvs-md-false":void 0!==o&&o,"kvs-sm-false":void 0!==n&&n,"kb-section-has-link":void 0!==r&&""!==r,"kb-section-is-sticky":void 0!==d&&d,"kb-section-has-overlay":void 0!==_&&_,["kb-section-dir-"+f]:f,["kb-section-md-dir-"+O]:O,["kb-section-sm-dir-"+j]:j});let x;m&&(x="noopener noreferrer"),void 0!==c&&!0===c&&(x=x?x.concat(" nofollow"):"nofollow"),void 0!==s&&!0===s&&(x=x?x.concat(" sponsored"):"sponsored");const E=g||"div";return Object(b.createElement)(E,Ce.useBlockProps.save({className:w}),Object(b.createElement)("div",{className:"kt-inside-inner-col"},Object(b.createElement)(Ce.InnerBlocks.Content,null)),r&&Object(b.createElement)("a",{href:r,className:"kb-section-link-overlay",target:m?"_blank":void 0,rel:x||void 0,"aria-label":p||void 0}))},deprecated:ds};Object(gt.registerBlockType)("kadence/column",{...ss,icon:{src:zc.section},...ms});const ps={};ps.block=Object(b.createElement)("svg",{width:"20px",height:"20px",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},Object(b.createElement)("g",{fill:"#0058b0",fillRule:"nonzero"},Object(b.createElement)("path",{d:"M24,8.944c-8.26,0 -15.056,6.796 -15.056,15.056c0,8.26 6.796,15.056 15.056,15.056c8.26,0 15.056,-6.796 15.056,-15.056c0,-8.26 -6.796,-15.056 -15.056,-15.056Zm8.46,14.277l-2.813,2.743c-0.301,0.296 -0.437,0.723 -0.362,1.139l0.663,3.871c0.012,0.071 0.018,0.143 0.018,0.216c0,0.706 -0.581,1.287 -1.287,1.287c-0.208,0 -0.413,-0.051 -0.598,-0.148l-3.476,-1.812c-0.373,-0.199 -0.822,-0.199 -1.196,0l-3.476,1.812c-0.184,0.097 -0.39,0.148 -0.598,0.148c-0.706,0 -1.287,-0.581 -1.287,-1.287c0,-0.073 0.007,-0.145 0.019,-0.216l0.663,-3.871c0.074,-0.416 -0.061,-0.843 -0.362,-1.139l-2.813,-2.743c-0.237,-0.241 -0.37,-0.565 -0.37,-0.903c0,-0.633 0.468,-1.177 1.095,-1.272l3.885,-0.565c0.41,-0.074 0.76,-0.344 0.935,-0.722l1.74,-3.523c0.217,-0.437 0.665,-0.714 1.153,-0.714c0.488,0 0.935,0.277 1.152,0.714l1.755,3.523c0.186,0.38 0.549,0.643 0.967,0.703l3.886,0.566c0.626,0.095 1.094,0.639 1.094,1.272c0,0.347 -0.14,0.679 -0.387,0.921Z"}),Object(b.createElement)("path",{d:"M44.75,46.019c0.696,0 1.269,-0.573 1.269,-1.269l0,-41.5c0,-0.696 -0.573,-1.269 -1.269,-1.269l-41.5,0c-0.696,0 -1.269,0.573 -1.269,1.269l0,41.5c0,0.696 0.573,1.269 1.269,1.269l41.5,0Zm-40.232,-41.501l38.964,0l0,38.964l-38.964,0l0,-38.964Z"})));var gs=ps;const{Button:us,Dashicon:hs}=wp.components;function vs(e){let{label:t,value:l,onChange:a,min:i,max:o,step:n=1}=e;return[a&&Object(b.createElement)("div",{className:"components-base-control"},Object(b.createElement)("p",{className:"components-base-control__label"},t),Object(b.createElement)("div",{className:"components-base-control__field kb-flex-center kb-step-control"},Object(b.createElement)(us,{className:"kb-step-btn",isDefault:!0,onClick:()=>{l>i&&a(l-n)}},Object(b.createElement)(hs,{icon:"arrow-left"})),Object(b.createElement)("input",{className:"components-step-control__number",type:"number",onChange:e=>a(Number(e.target.value)),"aria-label":t,value:l,min:i,max:o,step:n}),Object(b.createElement)(us,{className:"kb-step-btn",isDefault:!0,onClick:()=>{l<o&&a(l+n)}},Object(b.createElement)(hs,{icon:"arrow-right"}))))]}const{InspectorControls:ks,BlockControls:ys,AlignmentToolbar:fs,BlockAlignmentToolbar:Os}=wp.blockEditor,{Component:js,Fragment:_s}=wp.element,{RangeControl:ws,TextControl:xs,SelectControl:Es,Button:Ss,Dashicon:Cs,TabPanel:Ts,ToolbarGroup:Ns,ButtonGroup:zs,Tooltip:Ms}=wp.components,Is=[];const{registerBlockType:Hs}=wp.blocks;Hs("kadence/icon",{title:Object(m.__)("Icon","kadence-blocks"),icon:{src:gs.block},category:"kadence-blocks",keywords:[Object(m.__)("icon","kadence-blocks"),Object(m.__)("svg","kadence-blocks"),"KB"],supports:{ktdynamic:!0},usesContext:["postId","queryId"],attributes:{icons:{type:"array",default:[{icon:"fe_aperture",link:"",target:"_self",size:50,width:2,title:"",color:"#444444",background:"transparent",border:"#444444",borderRadius:0,borderWidth:2,padding:20,style:"default",marginTop:0,marginRight:0,marginBottom:0,marginLeft:0,hColor:"",hBackground:"",hBorder:"",linkTitle:""}]},iconCount:{type:"number",default:1},uniqueID:{type:"string",default:""},blockAlignment:{type:"string",default:""},textAlignment:{type:"string",default:"center"},tabletTextAlignment:{type:"string"},mobileTextAlignment:{type:"string"},verticalAlignment:{type:"string"},inQueryBlock:{type:"bool",default:!1}},getEditWrapperProps(e){let{blockAlignment:t}=e;if("left"===t||"right"===t||"center"===t)return{"data-align":t}},edit:class extends js{constructor(){super(...arguments),this.saveArrayUpdate=this.saveArrayUpdate.bind(this),this.state={marginControl:"linked",user:kadence_blocks_params.userrole?kadence_blocks_params.userrole:"admin"}}componentDidMount(){this.props.attributes.uniqueID?Is.includes(this.props.attributes.uniqueID)?(this.props.attributes.uniqueID="_"+this.props.clientId.substr(2,9),Is.push("_"+this.props.clientId.substr(2,9))):Is.push(this.props.attributes.uniqueID):(this.props.setAttributes({uniqueID:"_"+this.props.clientId.substr(2,9)}),Is.push("_"+this.props.clientId.substr(2,9))),this.props.context&&(this.props.context.queryId||Number.isFinite(this.props.context.queryId))&&this.props.context.postId?this.props.attributes.inQueryBlock||this.props.setAttributes({inQueryBlock:!0}):this.props.attributes.inQueryBlock&&this.props.setAttributes({inQueryBlock:!1})}saveArrayUpdate(e,t){const{attributes:l,setAttributes:a}=this.props,{icons:i}=l;a({icons:i.map((l,a)=>(t===a&&(l={...l,...e}),l))})}render(){const{attributes:{iconCount:e,icons:t,blockAlignment:l,textAlignment:a,tabletTextAlignment:i,mobileTextAlignment:o,uniqueID:n,verticalAlignment:r},className:c,setAttributes:s,clientId:d}=this.props,{marginControl:p}=this.state,u=[{key:"linked",name:Object(m.__)("Linked","kadence-blocks"),micon:g.linked},{key:"individual",name:Object(m.__)("Individual","kadence-blocks"),micon:g.individual}],h=[[{icon:Object(b.createElement)(pc,{value:"top",isPressed:"top"===r}),title:Object(m.__)("Align Top","kadence-blocks"),isActive:"top"===r,onClick:()=>s({verticalAlignment:"top"})}],[{icon:Object(b.createElement)(pc,{value:"middle",isPressed:"middle"===r}),title:Object(m.__)("Align Middle","kadence-blocks"),isActive:"middle"===r,onClick:()=>s({verticalAlignment:"middle"})}],[{icon:Object(b.createElement)(pc,{value:"bottom",isPressed:"bottom"===r}),title:Object(m.__)("Align Bottom","kadence-blocks"),isActive:"bottom"===r,onClick:()=>s({verticalAlignment:"bottom"})}]],v=Object(b.createElement)(Ts,{className:"kt-size-tabs",activeClass:"active-tab",tabs:[{name:"desk",title:Object(b.createElement)(Cs,{icon:"desktop"}),className:"kt-desk-tab"},{name:"tablet",title:Object(b.createElement)(Cs,{icon:"tablet"}),className:"kt-tablet-tab"},{name:"mobile",title:Object(b.createElement)(Cs,{icon:"smartphone"}),className:"kt-mobile-tab"}]},e=>{let t;return e.name&&(t="mobile"===e.name?Object(b.createElement)(fs,{value:o,isCollapsed:!1,onChange:e=>{s({mobileTextAlignment:e})}}):"tablet"===e.name?Object(b.createElement)(fs,{value:i,isCollapsed:!1,onChange:e=>{s({tabletTextAlignment:e})}}):Object(b.createElement)(fs,{value:a,isCollapsed:!1,onChange:e=>{s({textAlignment:e})}})),Object(b.createElement)("div",{className:e.className,key:e.className},t)}),y=e=>Object(b.createElement)(_s,null,Object(b.createElement)(De,{label:Object(m.__)("Icon Hover Color","kadence-blocks"),value:t[e].hColor?t[e].hColor:"",default:"",onChange:t=>{this.saveArrayUpdate({hColor:t},e)}}),Object(b.createElement)(Es,{label:Object(m.__)("Icon Style","kadence-blocks"),value:t[e].style,options:[{value:"default",label:Object(m.__)("Default","kadence-blocks")},{value:"stacked",label:Object(m.__)("Stacked","kadence-blocks")}],onChange:t=>{this.saveArrayUpdate({style:t},e)}}),"default"!==t[e].style&&Object(b.createElement)(_s,null,Object(b.createElement)(De,{label:Object(m.__)("Hover Background Color","kadence-blocks"),value:t[e].hBackground?t[e].hBackground:"",default:"",onChange:t=>{this.saveArrayUpdate({hBackground:t},e)}})),"default"!==t[e].style&&Object(b.createElement)(_s,null,Object(b.createElement)(De,{label:Object(m.__)("Hover Border Color","kadence-blocks"),value:t[e].hBorder?t[e].hBorder:"",default:"",onChange:t=>{this.saveArrayUpdate({hBorder:t},e)}}))),f=e=>Object(b.createElement)(_s,null,Object(b.createElement)(De,{label:Object(m.__)("Icon Color","kadence-blocks"),value:t[e].color?t[e].color:"",default:"",onChange:t=>{this.saveArrayUpdate({color:t},e)}}),Object(b.createElement)(Es,{label:Object(m.__)("Icon Style","kadence-blocks"),value:t[e].style,options:[{value:"default",label:Object(m.__)("Default","kadence-blocks")},{value:"stacked",label:Object(m.__)("Stacked","kadence-blocks")}],onChange:t=>{this.saveArrayUpdate({style:t},e)}}),"default"!==t[e].style&&Object(b.createElement)(_s,null,Object(b.createElement)(De,{label:Object(m.__)("Background Color","kadence-blocks"),value:t[e].background?t[e].background:"",default:"",onChange:t=>{this.saveArrayUpdate({background:t},e)}})),"default"!==t[e].style&&Object(b.createElement)(_s,null,Object(b.createElement)(De,{label:Object(m.__)("Border Color","kadence-blocks"),value:t[e].border?t[e].border:"",default:"",onChange:t=>{this.saveArrayUpdate({border:t},e)}}))),O=l=>Object(b.createElement)(Pt,{title:Object(m.__)("Icon","kadence-blocks")+" "+(l+1)+" "+Object(m.__)("Settings","kadence-blocks"),initialOpen:1===e,panelName:"kb-icon-settings-"+l},Object(b.createElement)(st,{value:t[l].icon,onChange:e=>{this.saveArrayUpdate({icon:e},l)}}),Object(b.createElement)(ws,{label:Object(m.__)("Icon Size","kadence-blocks"),value:t[l].size,onChange:e=>{this.saveArrayUpdate({size:e},l)},min:5,max:250}),t[l].icon&&"fe"===t[l].icon.substring(0,2)&&Object(b.createElement)(ws,{label:Object(m.__)("Line Width"),value:t[l].width,onChange:e=>{this.saveArrayUpdate({width:e},l)},step:.5,min:.5,max:4}),Object(b.createElement)("h2",{className:"kt-tab-wrap-title kt-color-settings-title"},Object(m.__)("Color Settings","kadence-blocks")),Object(b.createElement)(Ts,{className:"kt-inspect-tabs kt-hover-tabs",activeClass:"active-tab",tabs:[{name:"normal"+l,title:Object(m.__)("Normal","kadence-blocks"),className:"kt-normal-tab"},{name:"hover"+l,title:Object(m.__)("Hover","kadence-blocks"),className:"kt-hover-tab"}]},e=>{let t;return e.name&&(t="hover"+l===e.name?y(l):f(l)),Object(b.createElement)("div",{className:e.className,key:e.className},t)}),"default"!==t[l].style&&Object(b.createElement)(ws,{label:Object(m.__)("Border Size (px)","kadence-blocks"),value:t[l].borderWidth,onChange:e=>{this.saveArrayUpdate({borderWidth:e},l)},min:0,max:20}),"default"!==t[l].style&&Object(b.createElement)(ws,{label:Object(m.__)("Border Radius (%)","kadence-blocks"),value:t[l].borderRadius,onChange:e=>{this.saveArrayUpdate({borderRadius:e},l)},min:0,max:50}),"default"!==t[l].style&&Object(b.createElement)(ws,{label:Object(m.__)("Padding (px)","kadence-blocks"),value:t[l].padding,onChange:e=>{this.saveArrayUpdate({padding:e},l)},min:0,max:180}),Object(b.createElement)(zs,{className:"kt-size-type-options kt-outline-control","aria-label":Object(m.__)("Margin Control Type","kadence-blocks")},k()(u,e=>{let{name:t,key:l,micon:a}=e;return Object(b.createElement)(Ms,{text:t},Object(b.createElement)(Ss,{key:l,className:"kt-size-btn",isSmall:!0,isPrimary:p===l,"aria-pressed":p===l,onClick:()=>this.setState({marginControl:l})},a))})),p&&"individual"!==p&&Object(b.createElement)(ws,{label:Object(m.__)("Margin (px)","kadence-blocks"),value:t[l].marginTop?t[l].marginTop:0,onChange:e=>{this.saveArrayUpdate({marginTop:e,marginRight:e,marginBottom:e,marginLeft:e},l)},min:0,max:180,step:1}),p&&"individual"===p&&Object(b.createElement)(_s,null,Object(b.createElement)("p",null,Object(m.__)("Margin (px)","kadence-blocks")),Object(b.createElement)(ws,{className:"kt-icon-rangecontrol",label:g.outlinetop,value:t[l].marginTop?t[l].marginTop:0,onChange:e=>{this.saveArrayUpdate({marginTop:e},l)},min:-180,max:180,step:1}),Object(b.createElement)(ws,{className:"kt-icon-rangecontrol",label:g.outlineright,value:t[l].marginRight?t[l].marginRight:0,onChange:e=>{this.saveArrayUpdate({marginRight:e},l)},min:-180,max:180,step:1}),Object(b.createElement)(ws,{className:"kt-icon-rangecontrol",label:g.outlinebottom,value:t[l].marginBottom?t[l].marginBottom:0,onChange:e=>{this.saveArrayUpdate({marginBottom:e},l)},min:-180,max:180,step:1}),Object(b.createElement)(ws,{className:"kt-icon-rangecontrol",label:g.outlineleft,value:t[l].marginLeft?t[l].marginLeft:0,onChange:e=>{this.saveArrayUpdate({marginLeft:e},l)},min:-180,max:180,step:1})),Object(b.createElement)(qa,Ke()({label:Object(m.__)("Link","kadence-blocks"),url:t[l].link,onChangeUrl:e=>{this.saveArrayUpdate({link:e},l)},additionalControls:!0,opensInNewTab:!(!t[l].target||"_blank"!=t[l].target),onChangeTarget:e=>{e?this.saveArrayUpdate({target:"_blank"},l):this.saveArrayUpdate({target:"_self"},l)},dynamicAttribute:"icons:"+l+":link",linkTitle:t[l].linkTitle,onChangeTitle:e=>{this.saveArrayUpdate({linkTitle:e},l)}},this.props)),Object(b.createElement)(xs,{label:Object(m.__)("Title for Accessibility","kadence-blocks"),value:t[l].title,onChange:e=>{this.saveArrayUpdate({title:e},l)}})),j=Object(b.createElement)("div",null,io()(e,e=>O(e))),_=Object(b.createElement)("style",null,io()(e,e=>{return`.kt-svg-icons-${n} .kt-svg-item-${l=e}:hover .kt-svg-icon {\n\t\t\t\t\t${void 0!==t[l].hColor&&t[l].hColor?"color:"+pa(t[l].hColor)+"!important;":""}\n\t\t\t\t\t${void 0!==t[l].hBackground&&t[l].hBackground?"background:"+pa(t[l].hBackground)+"!important;":""}\n\t\t\t\t\t${void 0!==t[l].hBorder&&t[l].hBorder?"border-color:"+pa(t[l].hBorder)+"!important;":""}\n\t\t\t\t}`;var l}));return Object(b.createElement)("div",{className:c},_,Object(b.createElement)(ys,null,Object(b.createElement)(Os,{value:l,controls:["center","left","right"],onChange:e=>s({blockAlignment:e})}),Object(b.createElement)(Ns,{isCollapsed:!0,icon:Object(b.createElement)(pc,{value:r||"bottom"}),label:Object(m.__)("Vertical Align","kadence-blocks"),controls:h}),Object(b.createElement)(fs,{value:a,onChange:e=>s({textAlignment:e})})),Object(b.createElement)(ks,null,Object(b.createElement)(Pt,{title:Object(m.__)("Icon Count","kadence-blocks"),initialOpen:!0,panelName:"kb-icon-count"},Object(b.createElement)(vs,{label:Object(m.__)("Number of Icons","kadence-blocks"),value:e,onChange:e=>{const l=t;if(l.length<e){const a=Math.abs(e-l.length);io()(a,e=>{l.push({icon:l[0].icon,link:l[0].link,target:l[0].target,size:l[0].size,width:l[0].width,title:l[0].title,color:l[0].color,background:l[0].background,border:l[0].border,borderRadius:l[0].borderRadius,borderWidth:l[0].borderWidth,padding:l[0].padding,style:l[0].style,marginTop:l[0].marginTop?l[0].marginTop:0,marginRight:l[0].marginRight?l[0].marginRight:0,marginBottom:l[0].marginBottom?l[0].marginBottom:0,marginLeft:l[0].marginLeft?l[0].marginLeft:0,hColor:l[0].hColor?l[0].hColor:"",hBackground:l[0].hBackground?l[0].hBackground:"",hBorder:l[0].hBorder?l[0].hBorder:""})}),s({icons:l}),this.saveArrayUpdate({title:t[0].title},0)}s({iconCount:e})},min:1,max:10}),Object(b.createElement)("div",{className:"kb-sidebar-alignment components-base-control"},Object(b.createElement)("p",{className:"kb-component-label kb-responsive-label"},Object(m.__)("Text Alignment","kadence-blocks")),v)),j),Object(b.createElement)("div",{className:`kt-svg-icons ${d} kt-svg-icons-${n}${a?" kb-icon-align-"+a:" kb-icon-align-center"}${r?" kb-icon-valign-"+r:""}`,style:{textAlign:a||"center"}},io()(e,e=>{return l=e,Object(b.createElement)("div",{className:`kt-svg-style-${t[l].style} kt-svg-icon-wrap kt-svg-item-${l}`},t[l].icon&&Object(b.createElement)(ot,{className:"kt-svg-icon kt-svg-icon-"+t[l].icon,name:t[l].icon,size:t[l].size,strokeWidth:"fe"===t[l].icon.substring(0,2)?t[l].width:void 0,title:t[l].title?t[l].title:"",style:{color:t[l].color?pa(t[l].color):void 0,backgroundColor:t[l].background&&"default"!==t[l].style?pa(t[l].background):void 0,padding:t[l].padding&&"default"!==t[l].style?t[l].padding+"px":void 0,borderColor:t[l].border&&"default"!==t[l].style?pa(t[l].border):void 0,borderWidth:t[l].borderWidth&&"default"!==t[l].style?t[l].borderWidth+"px":void 0,borderRadius:t[l].borderRadius&&"default"!==t[l].style?t[l].borderRadius+"%":void 0,marginTop:t[l].marginTop?t[l].marginTop+"px":void 0,marginRight:t[l].marginRight?t[l].marginRight+"px":void 0,marginBottom:t[l].marginBottom?t[l].marginBottom+"px":void 0,marginLeft:t[l].marginLeft?t[l].marginLeft+"px":void 0}}));var l})))}},save:e=>{const{attributes:{icons:t,iconCount:l,blockAlignment:a,textAlignment:i,uniqueID:o,verticalAlignment:n}}=e;return Object(b.createElement)("div",{className:`kt-svg-icons kt-svg-icons${o} align${a||"none"}${n?" kb-icon-valign-"+n:""}`,style:{textAlign:i||"center"}},io()(l,e=>{return l=e,Object(b.createElement)("div",{className:`kt-svg-style-${t[l].style} kt-svg-icon-wrap kt-svg-item-${l}`},t[l].icon&&t[l].link&&Object(b.createElement)("a",{href:t[l].link,className:"kt-svg-icon-link",target:"_blank"===t[l].target?t[l].target:void 0,rel:"_blank"===t[l].target?"noopener noreferrer":void 0,"aria-label":void 0!==t[l].linkTitle&&""!==t[l].linkTitle?t[l].linkTitle:void 0,style:{marginTop:t[l].marginTop?t[l].marginTop+"px":void 0,marginRight:t[l].marginRight?t[l].marginRight+"px":void 0,marginBottom:t[l].marginBottom?t[l].marginBottom+"px":void 0,marginLeft:t[l].marginLeft?t[l].marginLeft+"px":void 0}},Object(b.createElement)(ot,{className:"kt-svg-icon kt-svg-icon-"+t[l].icon,name:t[l].icon,size:t[l].size,strokeWidth:"fe"===t[l].icon.substring(0,2)?t[l].width:void 0,title:t[l].title?t[l].title:"",ariaHidden:t[l].title?void 0:"true",style:{color:t[l].color?pa(t[l].color):void 0,backgroundColor:t[l].background&&"default"!==t[l].style?pa(t[l].background):void 0,padding:t[l].padding&&"default"!==t[l].style?t[l].padding+"px":void 0,borderColor:t[l].border&&"default"!==t[l].style?pa(t[l].border):void 0,borderWidth:t[l].borderWidth&&"default"!==t[l].style?t[l].borderWidth+"px":void 0,borderRadius:t[l].borderRadius&&"default"!==t[l].style?t[l].borderRadius+"%":void 0}})),t[l].icon&&!t[l].link&&Object(b.createElement)(ot,{className:"kt-svg-icon kt-svg-icon-"+t[l].icon,name:t[l].icon,size:t[l].size,strokeWidth:"fe"===t[l].icon.substring(0,2)?t[l].width:void 0,title:t[l].title?t[l].title:"",ariaHidden:t[l].title?void 0:"true",style:{color:t[l].color?pa(t[l].color):void 0,backgroundColor:t[l].background&&"default"!==t[l].style?pa(t[l].background):void 0,padding:t[l].padding&&"default"!==t[l].style?t[l].padding+"px":void 0,borderColor:t[l].border&&"default"!==t[l].style?pa(t[l].border):void 0,borderWidth:t[l].borderWidth&&"default"!==t[l].style?t[l].borderWidth+"px":void 0,borderRadius:t[l].borderRadius&&"default"!==t[l].style?t[l].borderRadius+"%":void 0,marginTop:t[l].marginTop?t[l].marginTop+"px":void 0,marginRight:t[l].marginRight?t[l].marginRight+"px":void 0,marginBottom:t[l].marginBottom?t[l].marginBottom+"px":void 0,marginLeft:t[l].marginLeft?t[l].marginLeft+"px":void 0}}));var l}))},deprecated:[{attributes:{icons:{type:"array",default:[{icon:"fe_aperture",link:"",target:"_self",size:50,width:2,title:"",color:"#444444",background:"transparent",border:"#444444",borderRadius:0,borderWidth:2,padding:20,style:"default",marginTop:0,marginRight:0,marginBottom:0,marginLeft:0,hColor:"",hBackground:"",hBorder:""}]},iconCount:{type:"number",default:1},uniqueID:{type:"string",default:""},blockAlignment:{type:"string",default:"center"},textAlignment:{type:"string",default:"center"},tabletTextAlignment:{type:"string"},mobileTextAlignment:{type:"string"}},save:e=>{let{attributes:t}=e;const{icons:l,iconCount:a,blockAlignment:i,textAlignment:o,uniqueID:n,verticalAlignment:r}=t;return Object(b.createElement)("div",{className:`kt-svg-icons kt-svg-icons${n} align${i||"center"}${r?" kb-icon-valign-"+r:""}`,style:{textAlign:o||"center"}},io()(a,e=>{return t=e,Object(b.createElement)("div",{className:`kt-svg-style-${l[t].style} kt-svg-icon-wrap kt-svg-item-${t}`},l[t].icon&&l[t].link&&Object(b.createElement)("a",{href:l[t].link,className:"kt-svg-icon-link",target:"_blank"===l[t].target?l[t].target:void 0,rel:"_blank"===l[t].target?"noopener noreferrer":void 0,"aria-label":void 0!==l[t].linkTitle&&""!==l[t].linkTitle?l[t].linkTitle:void 0,style:{marginTop:l[t].marginTop?l[t].marginTop+"px":void 0,marginRight:l[t].marginRight?l[t].marginRight+"px":void 0,marginBottom:l[t].marginBottom?l[t].marginBottom+"px":void 0,marginLeft:l[t].marginLeft?l[t].marginLeft+"px":void 0}},Object(b.createElement)(ot,{className:"kt-svg-icon kt-svg-icon-"+l[t].icon,name:l[t].icon,size:l[t].size,strokeWidth:"fe"===l[t].icon.substring(0,2)?l[t].width:void 0,title:l[t].title?l[t].title:"",ariaHidden:l[t].title?void 0:"true",style:{color:l[t].color?pa(l[t].color):void 0,backgroundColor:l[t].background&&"default"!==l[t].style?pa(l[t].background):void 0,padding:l[t].padding&&"default"!==l[t].style?l[t].padding+"px":void 0,borderColor:l[t].border&&"default"!==l[t].style?pa(l[t].border):void 0,borderWidth:l[t].borderWidth&&"default"!==l[t].style?l[t].borderWidth+"px":void 0,borderRadius:l[t].borderRadius&&"default"!==l[t].style?l[t].borderRadius+"%":void 0}})),l[t].icon&&!l[t].link&&Object(b.createElement)(ot,{className:"kt-svg-icon kt-svg-icon-"+l[t].icon,name:l[t].icon,size:l[t].size,strokeWidth:"fe"===l[t].icon.substring(0,2)?l[t].width:void 0,title:l[t].title?l[t].title:"",ariaHidden:l[t].title?void 0:"true",style:{color:l[t].color?pa(l[t].color):void 0,backgroundColor:l[t].background&&"default"!==l[t].style?pa(l[t].background):void 0,padding:l[t].padding&&"default"!==l[t].style?l[t].padding+"px":void 0,borderColor:l[t].border&&"default"!==l[t].style?pa(l[t].border):void 0,borderWidth:l[t].borderWidth&&"default"!==l[t].style?l[t].borderWidth+"px":void 0,borderRadius:l[t].borderRadius&&"default"!==l[t].style?l[t].borderRadius+"%":void 0,marginTop:l[t].marginTop?l[t].marginTop+"px":void 0,marginRight:l[t].marginRight?l[t].marginRight+"px":void 0,marginBottom:l[t].marginBottom?l[t].marginBottom+"px":void 0,marginLeft:l[t].marginLeft?l[t].marginLeft+"px":void 0}}));var t}))}},{attributes:{icons:{type:"array",default:[{icon:"fe_aperture",link:"",target:"_self",size:50,width:2,title:"",color:"#444444",background:"transparent",border:"#444444",borderRadius:0,borderWidth:2,padding:20,style:"default",marginTop:0,marginRight:0,marginBottom:0,marginLeft:0,hColor:"",hBackground:"",hBorder:""}]},iconCount:{type:"number",default:1},uniqueID:{type:"string",default:""},blockAlignment:{type:"string",default:"center"},textAlignment:{type:"string",default:"center"},tabletTextAlignment:{type:"string"},mobileTextAlignment:{type:"string"}},save:e=>{let{attributes:t}=e;const{icons:l,iconCount:a,blockAlignment:i,textAlignment:o,uniqueID:n,verticalAlignment:r}=t;return Object(b.createElement)("div",{className:`kt-svg-icons kt-svg-icons${n} align${i||"center"}${r||""}`,style:{textAlign:o||"center"}},io()(a,e=>{return t=e,Object(b.createElement)("div",{className:`kt-svg-style-${l[t].style} kt-svg-icon-wrap kt-svg-item-${t}`},l[t].icon&&l[t].link&&Object(b.createElement)("a",{href:l[t].link,className:"kt-svg-icon-link",target:"_blank"===l[t].target?l[t].target:void 0,rel:"_blank"===l[t].target?"noopener noreferrer":void 0,"aria-label":void 0!==l[t].linkTitle&&""!==l[t].linkTitle?l[t].linkTitle:void 0,style:{marginTop:l[t].marginTop?l[t].marginTop+"px":void 0,marginRight:l[t].marginRight?l[t].marginRight+"px":void 0,marginBottom:l[t].marginBottom?l[t].marginBottom+"px":void 0,marginLeft:l[t].marginLeft?l[t].marginLeft+"px":void 0}},Object(b.createElement)(ot,{className:"kt-svg-icon kt-svg-icon-"+l[t].icon,name:l[t].icon,size:l[t].size,strokeWidth:"fe"===l[t].icon.substring(0,2)?l[t].width:void 0,title:l[t].title?l[t].title:"",style:{color:l[t].color?pa(l[t].color):void 0,backgroundColor:l[t].background&&"default"!==l[t].style?pa(l[t].background):void 0,padding:l[t].padding&&"default"!==l[t].style?l[t].padding+"px":void 0,borderColor:l[t].border&&"default"!==l[t].style?pa(l[t].border):void 0,borderWidth:l[t].borderWidth&&"default"!==l[t].style?l[t].borderWidth+"px":void 0,borderRadius:l[t].borderRadius&&"default"!==l[t].style?l[t].borderRadius+"%":void 0}})),l[t].icon&&!l[t].link&&Object(b.createElement)(ot,{className:"kt-svg-icon kt-svg-icon-"+l[t].icon,name:l[t].icon,size:l[t].size,strokeWidth:"fe"===l[t].icon.substring(0,2)?l[t].width:void 0,title:l[t].title?l[t].title:"",style:{color:l[t].color?pa(l[t].color):void 0,backgroundColor:l[t].background&&"default"!==l[t].style?pa(l[t].background):void 0,padding:l[t].padding&&"default"!==l[t].style?l[t].padding+"px":void 0,borderColor:l[t].border&&"default"!==l[t].style?pa(l[t].border):void 0,borderWidth:l[t].borderWidth&&"default"!==l[t].style?l[t].borderWidth+"px":void 0,borderRadius:l[t].borderRadius&&"default"!==l[t].style?l[t].borderRadius+"%":void 0,marginTop:l[t].marginTop?l[t].marginTop+"px":void 0,marginRight:l[t].marginRight?l[t].marginRight+"px":void 0,marginBottom:l[t].marginBottom?l[t].marginBottom+"px":void 0,marginLeft:l[t].marginLeft?l[t].marginLeft+"px":void 0}}));var t}))}},{attributes:{icons:{type:"array",default:[{icon:"fe_aperture",link:"",target:"_self",size:50,width:2,title:"",color:"#444444",background:"transparent",border:"#444444",borderRadius:0,borderWidth:2,padding:20,style:"default"}]},iconCount:{type:"number",default:1},uniqueID:{type:"string",default:""},blockAlignment:{type:"string",default:"center"},textAlignment:{type:"string",default:"center"}},save:e=>{let{attributes:t}=e;const{icons:l,iconCount:a,blockAlignment:i,textAlignment:o,uniqueID:n}=t;return Object(b.createElement)("div",{className:`kt-svg-icons kt-svg-icons${n} align${i||"center"}`,style:{textAlign:o||"center"}},io()(a,e=>{return t=e,Object(b.createElement)("div",{className:`kt-svg-style-${l[t].style} kt-svg-icon-wrap kt-svg-item-${t}`},l[t].icon&&l[t].link&&Object(b.createElement)("a",{href:l[t].link,className:"kt-svg-icon-link",target:"_blank"===l[t].target?l[t].target:void 0,rel:"_blank"===l[t].target?"noopener noreferrer":void 0},Object(b.createElement)(ot,{className:"kt-svg-icon kt-svg-icon-"+l[t].icon,name:l[t].icon,size:l[t].size,strokeWidth:"fe"===l[t].icon.substring(0,2)?l[t].width:void 0,title:l[t].title?l[t].title:"",style:{color:l[t].color?l[t].color:void 0,backgroundColor:l[t].background&&"default"!==l[t].style?l[t].background:void 0,padding:l[t].padding&&"default"!==l[t].style?l[t].padding+"px":void 0,borderColor:l[t].border&&"default"!==l[t].style?l[t].border:void 0,borderWidth:l[t].borderWidth&&"default"!==l[t].style?l[t].borderWidth+"px":void 0,borderRadius:l[t].borderRadius&&"default"!==l[t].style?l[t].borderRadius+"%":void 0}})),l[t].icon&&!l[t].link&&Object(b.createElement)(ot,{className:"kt-svg-icon kt-svg-icon-"+l[t].icon,name:l[t].icon,size:l[t].size,strokeWidth:"fe"===l[t].icon.substring(0,2)?l[t].width:void 0,title:l[t].title?l[t].title:"",style:{color:l[t].color?l[t].color:void 0,backgroundColor:l[t].background&&"default"!==l[t].style?l[t].background:void 0,padding:l[t].padding&&"default"!==l[t].style?l[t].padding+"px":void 0,borderColor:l[t].border&&"default"!==l[t].style?l[t].border:void 0,borderWidth:l[t].borderWidth&&"default"!==l[t].style?l[t].borderWidth+"px":void 0,borderRadius:l[t].borderRadius&&"default"!==l[t].style?l[t].borderRadius+"%":void 0}}));var t}))}},{attributes:{icons:{type:"array",default:[{icon:"fe_aperture",link:"",target:"_self",size:50,width:2,title:"",color:"#444444",background:"transparent",border:"#444444",borderRadius:0,borderWidth:2,padding:20,style:"default"}]},iconCount:{type:"number",default:1},uniqueID:{type:"string",default:""},blockAlignment:{type:"string",default:"center"},textAlignment:{type:"string",default:"center"}},save:e=>{let{attributes:t}=e;const{icons:l,iconCount:a,blockAlignment:i,textAlignment:o,uniqueID:n}=t;return Object(b.createElement)("div",{className:`kt-svg-icons kt-svg-icons${n} align${i||"center"}`,style:{textAlign:o||"center"}},io()(a,e=>{return t=e,Object(b.createElement)("div",{className:`kt-svg-style-${l[t].style} kt-svg-icon-wrap kt-svg-item-${t}`},l[t].icon&&l[t].link&&Object(b.createElement)("a",{href:l[t].link,className:"kt-svg-icon-link",target:"_blank"===l[t].target?l[t].target:void 0,rel:"_blank"===l[t].target?"noopener noreferrer":void 0},Object(b.createElement)("div",{style:{color:l[t].color?l[t].color:void 0,backgroundColor:l[t].background&&"default"!==l[t].style?l[t].background:void 0,padding:l[t].padding&&"default"!==l[t].style?l[t].padding+"px":void 0,borderColor:l[t].border&&"default"!==l[t].style?l[t].border:void 0,borderWidth:l[t].borderWidth&&"default"!==l[t].style?l[t].borderWidth+"px":void 0,borderRadius:l[t].borderRadius&&"default"!==l[t].style?l[t].borderRadius+"%":void 0},className:"kt-svg-icon kt-svg-icon-"+l[t].icon})),l[t].icon&&!l[t].link&&Object(b.createElement)("div",{style:{color:l[t].color?l[t].color:void 0,backgroundColor:l[t].background&&"default"!==l[t].style?l[t].background:void 0,padding:l[t].padding&&"default"!==l[t].style?l[t].padding+"px":void 0,borderColor:l[t].border&&"default"!==l[t].style?l[t].border:void 0,borderWidth:l[t].borderWidth&&"default"!==l[t].style?l[t].borderWidth+"px":void 0,borderRadius:l[t].borderRadius&&"default"!==l[t].style?l[t].borderRadius+"%":void 0},className:"kt-svg-icon kt-svg-icon-"+l[t].icon}));var t}))}},{attributes:{icons:{type:"array",default:[{icon:"fe_aperture",link:"",target:"_self",size:50,width:2,title:"",color:"#444444",background:"transparent",border:"#444444",borderRadius:0,borderWidth:2,padding:20,style:"default"}]},iconCount:{type:"number",default:1},uniqueID:{type:"string",default:""},blockAlignment:{type:"string",default:"center"},textAlignment:{type:"string",default:"center"}},save:e=>{let{attributes:t}=e;const{icons:l,iconCount:a,blockAlignment:i,textAlignment:o,uniqueID:n}=t;return Object(b.createElement)("div",{className:`kt-svg-icons kt-svg-icons${n} align${i||"center"}`,style:{textAlign:o||"center"}},io()(a,e=>{return t=e,Object(b.createElement)("div",{className:`kt-svg-style-${l[t].style} kt-svg-icon-wrap kt-svg-item-${t}`},l[t].icon&&l[t].link&&Object(b.createElement)("a",{href:l[t].link,className:"kt-svg-icon-link",target:l[t].target},Object(b.createElement)(ot,{className:"kt-svg-icon kt-svg-icon-"+l[t].icon,name:l[t].icon,size:l[t].size,strokeWidth:"fe"===l[t].icon.substring(0,2)?l[t].width:void 0,title:l[t].title?l[t].title:"",style:{color:l[t].color?l[t].color:void 0,backgroundColor:l[t].background&&"default"!==l[t].style?l[t].background:void 0,padding:l[t].padding&&"default"!==l[t].style?l[t].padding+"px":void 0,borderColor:l[t].border&&"default"!==l[t].style?l[t].border:void 0,borderWidth:l[t].borderWidth&&"default"!==l[t].style?l[t].borderWidth+"px":void 0,borderRadius:l[t].borderRadius&&"default"!==l[t].style?l[t].borderRadius+"%":void 0}})),l[t].icon&&!l[t].link&&Object(b.createElement)(ot,{className:"kt-svg-icon kt-svg-icon-"+l[t].icon,name:l[t].icon,size:l[t].size,strokeWidth:"fe"===l[t].icon.substring(0,2)?l[t].width:void 0,title:l[t].title?l[t].title:"",style:{color:l[t].color?l[t].color:void 0,backgroundColor:l[t].background&&"default"!==l[t].style?l[t].background:void 0,padding:l[t].padding&&"default"!==l[t].style?l[t].padding+"px":void 0,borderColor:l[t].border&&"default"!==l[t].style?l[t].border:void 0,borderWidth:l[t].borderWidth&&"default"!==l[t].style?l[t].borderWidth+"px":void 0,borderRadius:l[t].borderRadius&&"default"!==l[t].style?l[t].borderRadius+"%":void 0}}));var t}))}},{attributes:{icons:{type:"array",default:[{icon:"fe_aperture",link:"",target:"_self",size:50,width:2,title:"",color:"#444444",background:"transparent",border:"#444444",borderRadius:0,borderWidth:2,padding:20,style:"default"}]},iconCount:{type:"number",default:1},uniqueID:{type:"string",default:""},blockAlignment:{type:"string",default:"center"},textAlignment:{type:"string",default:"center"}},save:e=>{let{attributes:t}=e;const{icons:l,iconCount:a,blockAlignment:i,textAlignment:o,uniqueID:n}=t;return Object(b.createElement)("div",{className:`kt-svg-icons kt-svg-icons${n} align${i||"center"}`,style:{textAlign:o||"center"}},io()(a,e=>{return t=e,Object(b.createElement)("div",{className:`kt-svg-style-${l[t].style} kt-svg-icon-wrap kt-svg-item-${t}`},l[t].icon&&l[t].link&&Object(b.createElement)("a",{href:l[t].link,className:"kt-svg-icon-link",target:l[t].target,rel:"noopener noreferrer"},Object(b.createElement)(ot,{className:"kt-svg-icon kt-svg-icon-"+l[t].icon,name:l[t].icon,size:l[t].size,strokeWidth:"fe"===l[t].icon.substring(0,2)?l[t].width:void 0,title:l[t].title?l[t].title:"",style:{color:l[t].color?l[t].color:void 0,backgroundColor:l[t].background&&"default"!==l[t].style?l[t].background:void 0,padding:l[t].padding&&"default"!==l[t].style?l[t].padding+"px":void 0,borderColor:l[t].border&&"default"!==l[t].style?l[t].border:void 0,borderWidth:l[t].borderWidth&&"default"!==l[t].style?l[t].borderWidth+"px":void 0,borderRadius:l[t].borderRadius&&"default"!==l[t].style?l[t].borderRadius+"%":void 0}})),l[t].icon&&!l[t].link&&Object(b.createElement)(ot,{className:"kt-svg-icon kt-svg-icon-"+l[t].icon,name:l[t].icon,size:l[t].size,strokeWidth:"fe"===l[t].icon.substring(0,2)?l[t].width:void 0,title:l[t].title?l[t].title:"",style:{color:l[t].color?l[t].color:void 0,backgroundColor:l[t].background&&"default"!==l[t].style?l[t].background:void 0,padding:l[t].padding&&"default"!==l[t].style?l[t].padding+"px":void 0,borderColor:l[t].border&&"default"!==l[t].style?l[t].border:void 0,borderWidth:l[t].borderWidth&&"default"!==l[t].style?l[t].borderWidth+"px":void 0,borderRadius:l[t].borderRadius&&"default"!==l[t].style?l[t].borderRadius+"%":void 0}}));var t}))}}]});const Bs={};Bs.block=Object(b.createElement)("svg",{width:"20px",height:"20px",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},Object(b.createElement)("g",{fill:"#0058b0",fillRule:"nonzero"},Object(b.createElement)("path",{d:"M45.013,46.298c0.705,0 1.285,-0.58 1.285,-1.285l0,-42.026c0,-0.705 -0.58,-1.285 -1.285,-1.285l-42.026,0c-0.705,0 -1.285,0.58 -1.285,1.285l0,42.026c0,0.705 0.58,1.285 1.285,1.285l42.026,0Zm-40.741,-42.026l39.456,0l0,39.456l-39.456,0l0,-39.456Z"}),Object(b.createElement)("path",{d:"M11.221,8.736l7.36,0l0,12.117l10.838,0l0,-12.117l7.361,0l0,30.518l-7.361,0l0,-12.743l-10.838,0l0,12.743l-7.36,0l0,-30.518Z"})));var Ps=Bs;const{applyFilters:Rs}=wp.hooks,{Component:As,Fragment:Ls}=wp.element,{Button:Fs,ButtonGroup:Ws,IconButton:Ds,Dashicon:$s,Tooltip:Us,Dropdown:Vs,ToggleControl:Zs,SelectControl:Gs}=wp.components;var qs=class extends As{constructor(){super(...arguments),this.state={controlSize:"desk",typographyOptions:[],typographySelectOptions:[],typographyWeights:[],typographyStyles:[],typographySubsets:""}}componentDidMount(){let e=[{type:"group",label:"Standard Fonts",options:[{label:"System Default",value:'-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',google:!1},{label:"Arial, Helvetica, sans-serif",value:"Arial, Helvetica, sans-serif",google:!1},{label:'"Arial Black", Gadget, sans-serif',value:'"Arial Black", Gadget, sans-serif',google:!1},{label:"Helvetica, sans-serif",value:"Helvetica, sans-serif",google:!1},{label:'"Comic Sans MS", cursive, sans-serif',value:'"Comic Sans MS", cursive, sans-serif',google:!1},{label:"Impact, Charcoal, sans-serif",value:"Impact, Charcoal, sans-serif",google:!1},{label:'"Lucida Sans Unicode", "Lucida Grande", sans-serif',value:'"Lucida Sans Unicode", "Lucida Grande", sans-serif',google:!1},{label:"Tahoma, Geneva, sans-serif",value:"Tahoma, Geneva, sans-serif",google:!1},{label:'"Trebuchet MS", Helvetica, sans-serif',value:'"Trebuchet MS", Helvetica, sans-serif',google:!1},{label:"Verdana, Geneva, sans-serif",value:"Verdana, Geneva, sans-serif",google:!1},{label:"Georgia, serif",value:"Georgia, serif",google:!1},{label:'"Palatino Linotype", "Book Antiqua", Palatino, serif',value:'"Palatino Linotype", "Book Antiqua", Palatino, serif',google:!1},{label:'"Times New Roman", Times, serif',value:'"Times New Roman", Times, serif',google:!1},{label:"Courier, monospace",value:"Courier, monospace",google:!1},{label:'"Lucida Console", Monaco, monospace',value:'"Lucida Console", Monaco, monospace',google:!1}]},{type:"group",label:"Google Fonts",options:"undefined"!=typeof kadence_blocks_params&&kadence_blocks_params.g_font_names?kadence_blocks_params.g_font_names.map(e=>({label:e,value:e,google:!0})):{}}];if("undefined"!=typeof kadence_blocks_params&&kadence_blocks_params.c_fonts){const t=[];Object.keys(kadence_blocks_params.c_fonts).forEach((function(e){const l=kadence_blocks_params.c_fonts[e].name,a=[];Object.keys(kadence_blocks_params.c_fonts[e].weights).forEach((function(t){a.push({value:kadence_blocks_params.c_fonts[e].weights[t],label:kadence_blocks_params.c_fonts[e].weights[t]})}));const i=[];Object.keys(kadence_blocks_params.c_fonts[e].styles).forEach((function(t){i.push({value:kadence_blocks_params.c_fonts[e].weights[t],label:kadence_blocks_params.c_fonts[e].weights[t]})})),t.push({label:l,value:l,google:!1,weights:a,styles:i})})),e=[{type:"group",label:Object(m.__)("Custom Fonts","kadence-custom-fonts"),options:t}].concat(e)}let t=Rs("kadence.typography_options",e),l=[].concat.apply([],t.map(e=>e.options));const a=kadence_blocks_params.configuration?JSON.parse(kadence_blocks_params.configuration):[];void 0!==a["kadence/typography"]&&"object"==typeof a["kadence/typography"]&&(void 0===a["kadence/typography"].showAll||a["kadence/typography"].showAll||(t=a["kadence/typography"].choiceArray,l=a["kadence/typography"].choiceArray)),this.setState({typographyOptions:t}),this.setState({typographySelectOptions:l}),this.setTypographyOptions(l)}componentDidUpdate(e){this.props.fontFamily!==e.fontFamily&&this.setTypographyOptions(this.state.typographySelectOptions)}setTypographyOptions(e){let t=[{value:"inherit",label:Object(m.__)("Inherit","kadence-blocks")},{value:"400",label:Object(m.__)("Normal","kadence-blocks")},{value:"bold",label:Object(m.__)("Bold","kadence-blocks")}];const l=[{value:"inherit",label:Object(m.__)("Inherit","kadence-blocks")},{value:"100",label:Object(m.__)("Thin 100","kadence-blocks")},{value:"200",label:Object(m.__)("Extra-Light 200","kadence-blocks")},{value:"300",label:Object(m.__)("Light 300","kadence-blocks")},{value:"400",label:Object(m.__)("Regular","kadence-blocks")},{value:"500",label:Object(m.__)("Medium 500","kadence-blocks")},{value:"600",label:Object(m.__)("Semi-Bold 600","kadence-blocks")},{value:"700",label:Object(m.__)("Bold 700","kadence-blocks")},{value:"800",label:Object(m.__)("Extra-Bold 800","kadence-blocks")},{value:"900",label:Object(m.__)("Ultra-Bold 900","kadence-blocks")}],a=[{value:"normal",label:Object(m.__)("Normal","kadence-blocks")},{value:"italic",label:Object(m.__)("Italic","kadence-blocks")}],i=!("undefined"==typeof kadence_blocks_params||!kadence_blocks_params.isKadenceT),o="undefined"!=typeof kadence_blocks_params&&kadence_blocks_params.headingWeights?kadence_blocks_params.headingWeights:[],n="undefined"!=typeof kadence_blocks_params&&kadence_blocks_params.buttonWeights?kadence_blocks_params.buttonWeights:[];i&&"heading"===this.props.fontGroup&&o&&Array.isArray(o)&&o.length&&(t=o),i&&"button"===this.props.fontGroup&&n&&Array.isArray(n)&&n.length&&(t=n);const r=e?e.filter(e=>{let{value:t}=e;return t===this.props.fontFamily}):"";let c=t,s=a,d="";r&&r[0]&&(void 0!==r[0].weights&&(c=r[0].weights),void 0!==r[0].styles&&(s=r[0].styles)),this.props.googleFont&&this.props.fontFamily&&"undefined"!=typeof kadence_blocks_params&&kadence_blocks_params.g_fonts&&kadence_blocks_params.g_fonts[this.props.fontFamily]&&(c=kadence_blocks_params.g_fonts[this.props.fontFamily].w.map(e=>({label:u(e),value:e})),s=kadence_blocks_params.g_fonts[this.props.fontFamily].i.map(e=>({label:u(e),value:e})),d=kadence_blocks_params.g_fonts[this.props.fontFamily].s.map(e=>({label:u(e),value:e}))),'-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"'===this.props.fontFamily&&(c=l),this.setState({typographyWeights:c}),this.setState({typographyStyles:s}),this.setState({typographySubsets:d}),this.setState({fontFamilyValue:r})}render(){const{uniqueID:e,lineHeight:t,lineHeightType:l,fontSize:a,fontSizeType:i,googleFont:o,loadGoogleFont:n,fontFamily:r,fontVariant:c,fontWeight:s,fontStyle:d,fontSubset:p,letterSpacing:u,onLineHeight:v,onFontSize:y,onFontFamily:f,onFontVariant:O,onFontWeight:j,onFontStyle:_,onFontSubset:w,onFontChange:x,onFontArrayChange:E,onLoadGoogleFont:S,onGoogleFont:C,onLetterSpacing:T,onFontSizeType:N,onLineHeightType:z,textTransform:M,onTextTransform:I,fontSizeArray:H,tabSize:B,tabLineHeight:P,onTabLineHeight:R,onTabSize:A,mobileSize:L,mobileLineHeight:F,onMobileLineHeight:W,onMobileSize:D}=this.props,{controlSize:$,typographySelectOptions:U,typographyOptions:V,typographySubsets:Z,typographyStyles:G,typographyWeights:q,fontFamilyValue:K}=this.state,Q=e=>{this.setState({controlSize:e})},J=[{key:"desk",name:Object(m.__)("Desktop"),icon:Object(b.createElement)($s,{icon:"desktop"})},{key:"tablet",name:Object(m.__)("Tablet"),icon:Object(b.createElement)($s,{icon:"tablet"})},{key:"mobile",name:Object(m.__)("Mobile"),icon:Object(b.createElement)($s,{icon:"smartphone"})}],Y=e=>{const t=Number(e.target.value);y(""!==t?t>be?be:t<-.1?de:t:void 0)},X=e=>{const t=Number(e.target.value);A(""!==t?t>be?be:t<-.1?de:t:void 0)},ee=e=>{const t=Number(e.target.value);D(""!==t?t>be?be:t<-.1?de:t:void 0)},te=e=>{const t=Number(e.target.value);v(""!==t?t>ge?ge:t<-.1?pe:t:void 0)},le=e=>{const t=Number(e.target.value);R(""!==t?t>ge?ge:t<-.1?pe:t:void 0)},ae=e=>{const t=Number(e.target.value);W(""!==t?t>ge?ge:t<-.1?pe:t:void 0)},ie=e=>{const t=Number(e.target.value);T(""!==t?t>15?15:t<-5?-5:t:void 0)},oe=e=>{if(null===e)ne();else{let t,l,a;e.google?(t="undefined"!=typeof kadence_blocks_params&&kadence_blocks_params.g_fonts&&!kadence_blocks_params.g_fonts[e.value].v.includes("regular")?kadence_blocks_params.g_fonts[e.value].v[0]:"regular",l="undefined"!=typeof kadence_blocks_params&&kadence_blocks_params.g_fonts&&!kadence_blocks_params.g_fonts[e.value].w.includes("regular")?kadence_blocks_params.g_fonts[e.value].w[0]:"400",a="undefined"!=typeof kadence_blocks_params&&kadence_blocks_params.g_fonts&&kadence_blocks_params.g_fonts[e.value].s.length>1?"latin":""):(a="",t="",l="inherit"),E?E({google:e.google,family:e.value,variant:t,weight:l,style:"normal",subset:a}):(x(e),O(t),j(l),_("normal"),w(a))}},ne=()=>{E?E({google:!1,family:"",variant:"",weight:"inherit",style:"normal",subset:""}):(C(!1),f(""),O(""),j("inherit"),_("normal"),w(""))},re=e=>{if(o){let t;t="italic"===d?"regular"===e?"italic":e+"italic":e,E?E({variant:t,weight:"regular"===e?"400":e}):(O(t),j("regular"===e?"400":e))}else E?E({variant:"",weight:"regular"===e?"400":e}):(O(""),j("regular"===e?"400":e))},ce=e=>{if(o){let t;t="italic"===e?s&&"regular"!==s?s+"italic":"italic":s||"regular",E?E({variant:t,style:e}):(O(t),_(e))}else E?E({variant:"",style:e}):(O(""),_(e))},se=[{value:"none",label:"None"},{value:"capitalize",label:"Capitalize"},{value:"uppercase",label:"Uppercase"},{value:"lowercase",label:"Lowercase"}],de="px"!==i?.2:5,be="px"!==i?12:200,me="px"!==i?.1:1,pe="px"!==l?.2:5,ge="px"!==l?12:200,ue="px"!==l?.1:1,he=q.some((function(e){return"regular"===e.value}));return Object(b.createElement)(Ls,null,Object(b.createElement)(Vs,{className:"kt-popover-font-family-container components-dropdown-menu components-toolbar",contentClassName:"kt-popover-font-family",position:"top center",renderToggle:e=>{let{isOpen:t,onToggle:l}=e;return Object(b.createElement)(Ls,null,Object(b.createElement)(Ds,{className:"components-dropdown-menu__toggle kt-font-family-icon",label:Object(m.__)("Typography Settings"),tooltip:Object(m.__)("Typography Settings"),icon:g.fontfamily,onClick:l,"aria-expanded":t},Object(b.createElement)("span",{className:"components-dropdown-menu__indicator"})))},renderContent:()=>Object(b.createElement)(Ls,null,f&&Object(b.createElement)(Ls,null,Object(b.createElement)("h2",{className:"kt-heading-fontfamily-title"},Object(m.__)("Font Family")),Object(b.createElement)("div",{className:"typography-family-select-form-row block-editor-block-toolbar"},Object(b.createElement)(h.a,{options:V,className:"kt-inline-typography-select",classNamePrefix:"kt-typography",value:K,isMulti:!1,isSearchable:!0,isClearable:!0,maxMenuHeight:200,placeholder:Object(m.__)("Default"),onChange:oe}))),Object(b.createElement)("div",{className:"typography-row-settings"},j&&Object(b.createElement)(Gs,{label:Object(m.__)("Weight","kadence-blocks"),value:"400"===s&&he?"regular":s,options:q,onChange:re}),I&&Object(b.createElement)(Gs,{label:Object(m.__)("Transform"),value:M,options:se,onChange:e=>I(e)}),r&&_&&Object(b.createElement)(Gs,{label:Object(m.__)("Style"),value:d,options:G,onChange:ce})),Object(b.createElement)("div",{className:"typography-row-settings"},T&&Object(b.createElement)("div",{className:"kt-type-input-wrap"},Object(b.createElement)("div",{className:"components-base-control kt-typography-number-input"},Object(b.createElement)("div",{className:"components-base-control__field"},Object(b.createElement)("label",{className:"components-base-control__label",htmlFor:"kt-inline-spacing"+e},Object(m.__)("Spacing")),Object(b.createElement)("input",{id:"kt-inline-spacing"+e,value:void 0!==u?u:"",onChange:ie,min:-5,max:15,step:.1,type:"number",className:"components-text-control__input"}))),Object(b.createElement)("span",{className:"kt-unit"},Object(m.__)("px"))),r&&o&&w&&Object(b.createElement)(Gs,{label:Object(m.__)("Subset"),value:p,options:Z,onChange:e=>w(e)}),r&&o&&S&&Object(b.createElement)(Zs,{label:Object(m.__)("Load Font"),checked:n,onChange:S})),Object(b.createElement)("div",{className:"typography-row-settings typography-size-row-settings"},y&&N&&!H&&Object(b.createElement)("div",{className:"kt-size-input-wrap"},Object(b.createElement)("div",{className:"kt-size-tite-device-wrap"},Object(b.createElement)("p",{className:"kt-inline-size-title"},Object(m.__)("Size")),Object(b.createElement)(Ws,{className:"kt-typography-size-type-options","aria-label":Object(m.__)("Device Size Control Switch")},k()(J,e=>{let{name:t,key:l,icon:a}=e;return Object(b.createElement)(Us,{text:t},Object(b.createElement)(Fs,{key:l,className:"kt-size-btn",isSmall:!0,isPrimary:$===l,"aria-pressed":$===l,onClick:()=>Q(l)},a))}))),y&&Object(b.createElement)("div",{className:"kt-type-size-input-wrap"},"mobile"===$&&Object(b.createElement)("div",{className:"components-base-control kt-typography-number-input"},Object(b.createElement)("div",{className:"components-base-control__field"},Object(b.createElement)("input",{value:L||"",onChange:ee,min:de,max:be,step:me,type:"number",className:"components-text-control__input"}))),"tablet"===$&&Object(b.createElement)("div",{className:"components-base-control kt-typography-number-input"},Object(b.createElement)("div",{className:"components-base-control__field"},Object(b.createElement)("input",{value:B||"",onChange:X,min:de,max:be,step:me,type:"number",className:"components-text-control__input"}))),"desk"===$&&Object(b.createElement)("div",{className:"components-base-control kt-typography-number-input"},Object(b.createElement)("div",{className:"components-base-control__field"},Object(b.createElement)("input",{value:a||"",onChange:Y,min:de,max:be,step:me,type:"number",className:"components-text-control__input"}))),Object(b.createElement)(Gs,{value:i,className:"kt-typography-size-type",options:[{value:"px",label:Object(m.__)("px")},{value:"em",label:Object(m.__)("em")},{value:"rem",label:Object(m.__)("rem")}],onChange:e=>N(e)}))),v&&z&&!H&&Object(b.createElement)("div",{className:"kt-size-input-wrap"},Object(b.createElement)("div",{className:"kt-size-tite-device-wrap"},Object(b.createElement)("p",{className:"kt-inline-size-title"},Object(m.__)("Height")),Object(b.createElement)(Ws,{className:"kt-typography-size-type-options","aria-label":Object(m.__)("Device Size Control Switch")},k()(J,e=>{let{name:t,key:l,icon:a}=e;return Object(b.createElement)(Us,{text:t},Object(b.createElement)(Fs,{key:l,className:"kt-size-btn",isSmall:!0,isPrimary:$===l,"aria-pressed":$===l,onClick:()=>Q(l)},a))}))),v&&Object(b.createElement)("div",{className:"kt-type-size-input-wrap"},"mobile"===$&&Object(b.createElement)("div",{className:"components-base-control kt-typography-number-input"},Object(b.createElement)("div",{className:"components-base-control__field"},Object(b.createElement)("input",{value:F||"",onChange:ae,min:pe,max:ge,step:ue,type:"number",className:"components-text-control__input"}))),"tablet"===$&&Object(b.createElement)("div",{className:"components-base-control kt-typography-number-input"},Object(b.createElement)("div",{className:"components-base-control__field"},Object(b.createElement)("input",{value:P||"",onChange:le,min:pe,max:ge,step:ue,type:"number",className:"components-text-control__input"}))),"desk"===$&&Object(b.createElement)("div",{className:"components-base-control kt-typography-number-input"},Object(b.createElement)("div",{className:"components-base-control__field"},Object(b.createElement)("input",{value:t||"",onChange:te,min:pe,max:ge,step:ue,type:"number",className:"components-text-control__input"}))),Object(b.createElement)(Gs,{value:l,className:"kt-typography-size-type",options:[{value:"px",label:Object(m.__)("px")},{value:"em",label:Object(m.__)("em")},{value:"rem",label:Object(m.__)("rem")}],onChange:e=>z(e)})))))}))}};const{Component:Ks,Fragment:Qs}=wp.element,{Button:Js,IconButton:Ys,Tooltip:Xs,Dashicon:ed,Dropdown:td,ToolbarGroup:ld,SVG:ad,Path:id}=wp.components,{DOWN:od}=wp.keycodes,nd=()=>Object(b.createElement)(ad,{xmlns:"https://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(b.createElement)(id,{d:"M7.434 5l3.18 9.16H8.538l-.692-2.184H4.628l-.705 2.184H2L5.18 5h2.254zm-1.13 1.904h-.115l-1.148 3.593H7.44L6.304 6.904zM14.348 7.006c1.853 0 2.9.876 2.9 2.374v4.78h-1.79v-.914h-.114c-.362.64-1.123 1.022-2.031 1.022-1.346 0-2.292-.826-2.292-2.108 0-1.27.972-2.006 2.71-2.107l1.696-.102V9.38c0-.584-.42-.914-1.18-.914-.667 0-1.112.228-1.264.647h-1.701c.12-1.295 1.307-2.107 3.066-2.107zm1.079 4.1l-1.416.09c-.793.056-1.18.342-1.18.844 0 .52.45.837 1.091.837.857 0 1.505-.545 1.505-1.256v-.515z"}));var rd=Object(a.withSelect)((e,t)=>{const l=void 0===t.disableCustomColors?!Object(Ce.useSetting)("color.custom"):t.disableCustomColors;return{colors:Object(Ce.useSetting)("color.palette"),disableCustomColors:l}})(class extends Ks{constructor(){super(...arguments),this.onChangeState=this.onChangeState.bind(this),this.onChangeComplete=this.onChangeComplete.bind(this),this.state={alpha:!1!==this.props.alpha,isVisible:!1,colors:[],classSat:"first",currentColor:"",inherit:!1,currentOpacity:void 0!==this.props.opacityValue?this.props.opacityValue:1,isPalette:!(!this.props.value||!this.props.value.startsWith("palette"))}}render(){this.props.reload&&(this.props.reloaded(!0),this.setState({currentColor:"",currentOpacity:"",isPalette:!(!this.props.value||!this.props.value.startsWith("palette"))}));const e=100===this.props.opacityUnit?(e=>{let t=1;return e&&(t=e/100),t})(this.state.currentOpacity):this.state.currentOpacity,t=this.state.currentColor?this.state.currentColor:this.props.value;let l=this.state.isPalette&&this.props.colors&&this.props.colors[parseInt(t.slice(-1),10)-1]?this.props.colors[parseInt(t.slice(-1),10)-1].color:t;return l&&l.startsWith("var(")&&(l=window.getComputedStyle(document.documentElement).getPropertyValue(this.props.value.replace("var(","").replace(")",""))),""===l&&(l=this.props.default),this.props.onOpacityChange&&!this.state.isPalette&&1!==Number(void 0!==e&&""!==e?e:1)&&(l=Se(void 0===l?"":l,void 0!==e&&""!==e?e:1)),Object(b.createElement)(td,{position:"top right",className:"kb-colors-selector components-dropdown-menu components-toolbar new-kadence-advanced-colors",contentClassName:"block-library-colors-selector__popover kt-popover-color kadence-pop-color-popover",renderToggle:e=>{let{isOpen:t,onToggle:a}=e;return Object(b.createElement)(Qs,null,Object(b.createElement)(Js,{className:"components-toolbar__control components-dropdown-menu__toggle kb-colors-selector__toggle",label:this.props.label,tooltip:this.props.label,icon:Object(b.createElement)("div",{className:"kb-colors-selector__icon-container"},Object(b.createElement)("div",{className:"kb-colors-selector__state-selection",style:{color:l}},Object(b.createElement)(nd,null))),onClick:a,"aria-expanded":t}))},renderContent:()=>Object(b.createElement)("div",{className:"inline-color-popup-inner-wrap block-editor-block-toolbar"},"first"===this.state.classSat&&!this.props.disableCustomColors&&Object(b.createElement)(Ee,{color:l,onChange:e=>this.onChangeState(e,""),onChangeComplete:e=>{this.onChangeComplete(e,""),this.props.onClassChange&&this.props.onClassChange("")}}),"first"!==this.state.classSat&&!this.props.disableCustomColors&&Object(b.createElement)(Ee,{color:l,onChange:e=>this.onChangeState(e,""),onChangeComplete:e=>{this.onChangeComplete(e,""),this.props.onClassChange&&this.props.onClassChange("")}}),this.props.colors&&Object(b.createElement)("div",{className:"kadence-pop-color-palette-swatches"},k()(this.props.colors,e=>{let{color:t,slug:l,name:a}=e;const i={color:t},o=l.replace("theme-",""),n=o===this.props.value||!l.startsWith("theme-palette")&&this.props.value===t;return Object(b.createElement)("div",{key:t,className:"kadence-color-palette__item-wrapper"},Object(b.createElement)(Xs,{text:a||// translators: %s: color hex code e.g: "#f00".
|
33 |
+
Object(m.sprintf)(Object(m.__)("Color code: %s"),t)},Object(b.createElement)(Js,{type:"button",className:"kadence-color-palette__item "+(n?"is-active":""),style:i,onClick:()=>{l.startsWith("theme-palette")?this.onChangeComplete(t,o):this.onChangeComplete(t,!1),this.props.onClassChange&&this.props.onClassChange(l)},"aria-label":a?// translators: %s: The name of the color e.g: "vivid red".
|
34 |
Object(m.sprintf)(Object(m.__)("Color: %s","kadence-blocks"),a):// translators: %s: color hex code e.g: "#f00".
|
|