/*! For license information please see index.js.LICENSE.txt */
(()=>{"use strict";var e,t={6544:(e,t,a)=>{var n={};a.r(n),a.d(n,{titlePrefixText:()=>be,titleSuffixText:()=>pe,typoPrefix_content:()=>se,typoPrefix_title:()=>ie});var o={};a.r(o),a.d(o,{typoPrefix_text:()=>Ta});var r={};a.r(r),a.d(r,{typoPrefix_btn:()=>Zn,typoPrefix_desc:()=>Gn,typoPrefix_subtitle:()=>Wn,typoPrefix_title:()=>Vn});var c={};a.r(c),a.d(c,{typoPrefix_digits:()=>nr,typoPrefix_labels:()=>or,typoPrefix_separator:()=>rr});var l={};a.r(l),a.d(l,{typoPrefix_numPrefix:()=>Cc,typoPrefix_numSuffix:()=>xc,typoPrefix_number:()=>Ec,typoPrefix_title:()=>_c});var i={};a.r(i),a.d(i,{BUTTONS_CONNECTOR_TYPOGRAPHY:()=>vi,BUTTONS_TYPOGRAPHY:()=>yi});var s={};a.r(s),a.d(s,{typoPrefix_content:()=>gs,typoPrefix_title:()=>ms});var b={};a.r(b),a.d(b,{SUBTITLE_TYPOGRAPHY:()=>Bp,TITLE_TYPOGRAPHY:()=>Sp});var p={};a.r(p),a.d(p,{typoPrefixTabTitle:()=>Qu});var u={};a.r(u),a.d(u,{typoPrefix_label:()=>_m});var d={};a.r(d),a.d(d,{CAPTION_TYPOGRAPHY:()=>Qg,FILTER_TYPOGRAPHY:()=>Xg,LOADMORE_TYPOGRAPHY:()=>$g});var m={};a.r(m),a.d(m,{typoPrefix_buttonText:()=>Hy,typoPrefix_content:()=>Fy,typoPrefix_number:()=>Iy,typoPrefix_subTitle:()=>Ly,typoPrefix_title:()=>Ay});var g={};a.r(g),a.d(g,{typoPrefix_caption:()=>Oh,typoPrefix_header:()=>Dh,typoPrefix_meta:()=>Mh});var f={};a.r(f),a.d(f,{typoPrefix_content:()=>xw,typoPrefix_header:()=>Cw});var y={};a.r(y),a.d(y,{typoPrefix_text:()=>kk,typoPrefix_title:()=>wk});var v={};a.r(v),a.d(v,{BUTTON_TYPOGRAPHY:()=>FR,TITLE_TYPOGRAPHY:()=>LR});var h={};a.r(h),a.d(h,{typoPrefix_button:()=>iE,typoPrefix_features_text:()=>fE,typoPrefix_price_currency:()=>uE,typoPrefix_price_title:()=>pE,typoPrefix_pricing_period:()=>gE,typoPrefix_ribbon:()=>yE,typoPrefix_saleprice:()=>dE,typoPrefix_saleprice_currency:()=>mE,typoPrefix_subtitle:()=>bE,typoPrefix_title:()=>sE});var w={};a.r(w),a.d(w,{typoPrefix_counter:()=>xC,typoPrefix_prefix:()=>SC,typoPrefix_title:()=>CC});var k={};a.r(k),a.d(k,{BUTTON2_TYPOGRAPHY:()=>rS,BUTTON_TYPOGRAPHY:()=>oS,SUBTITLE_TYPOGRAPHY:()=>nS,TITLE_TYPOGRAPHY:()=>aS});var R={};a.r(R),a.d(R,{TITLE_TYPOGRAPHY:()=>LT});var _={};a.r(_),a.d(_,{typoPrefix_descs:()=>GN,typoPrefix_job:()=>YN,typoPrefix_name:()=>ZN});var E={};a.r(E),a.d(E,{typoPrefix_tgl:()=>LD});var C={};a.r(C),a.d(C,{typoPrefix_prefixText:()=>nI,typoPrefix_suffixText:()=>oI,typoPrefix_typedText:()=>rI});var x={};a.r(x),a.d(x,{CONTENT_TYPOGRAPHY:()=>fz,EBPG_CONTENT_TYPOGRAPHY:()=>bz,EBPG_LOAD_MORE_TYPOGRAPHY:()=>dz,EBPG_META_TYPOGRAPHY:()=>uz,EBPG_READMORE_TYPOGRAPHY:()=>pz,EBPG_TITLE_TYPOGRAPHY:()=>sz,FILTER_ITEM_TYPOGRAPHY:()=>mz,INPUT_TYPOGRAPHY:()=>gz,NOT_FOUND_TYPOGRAPHY:()=>vz,TITLE_TYPOGRAPHY:()=>yz});var S={};a.r(S),a.d(S,{typoPrefix_content:()=>zq,typoPrefix_title:()=>Hq});var B={};a.r(B),a.d(B,{typoPrefix_content:()=>VV,typoPrefix_title:()=>UV});var T={};a.r(T),a.d(T,{typoPrefix_custom_html:()=>HG,typoPrefix_error:()=>UG,typoPrefix_input:()=>AG,typoPrefix_label:()=>IG,typoPrefix_section_break:()=>LG,typoPrefix_section_break_desc:()=>FG,typoPrefix_submit_btn:()=>zG,typoPrefix_success:()=>qG});var N={};a.r(N),a.d(N,{EBWG_LOAD_MORE_TYPOGRAPHY:()=>jZ,FILTER_ITEM_TYPOGRAPHY:()=>AZ,SOLD_COUNT_TEXT:()=>IZ,typoPrefix_btn:()=>DZ,typoPrefix_desc:()=>MZ,typoPrefix_price:()=>PZ,typoPrefix_sale:()=>OZ,typoPrefix_title:()=>NZ});var P={};a.r(P),a.d(P,{CAPTION_TYPOGRAPHY:()=>HJ});var O={};a.r(O),a.d(O,{typoPrefix_error:()=>jX,typoPrefix_input:()=>OX,typoPrefix_label:()=>PX,typoPrefix_submit_btn:()=>MX,typoPrefix_success:()=>DX});var M={};a.r(M),a.d(M,{EBPG_CONTENT_TYPOGRAPHY:()=>M0,EBPG_META_TYPOGRAPHY:()=>j0,EBPG_READMORE_TYPOGRAPHY:()=>D0,EBPG_TITLE_TYPOGRAPHY:()=>O0});var D={};a.r(D),a.d(D,{typoPrefix_close:()=>H1,typoPrefix_text:()=>F1});var j={};a.r(j),a.d(j,{typoPrefix_button:()=>o3,typoPrefix_owner:()=>a3,typoPrefix_price:()=>n3,typoPrefix_title:()=>t3});var I={};a.r(I),a.d(I,{typoPrefix_desc:()=>s4,typoPrefix_title:()=>i4});var A={};a.r(A),a.d(A,{CAPTION_TYPOGRAPHY:()=>j6});var L={};a.r(L),a.d(L,{typoPrefixHamburgerBtn:()=>y7,typoPrefixNav:()=>m7,typoPrefixNavDropdown:()=>g7,typoPrefixNavHamburger:()=>f7});var F={};a.r(F),a.d(F,{BTN_TEXT:()=>_te,CHECKBOX_TEXT:()=>Ste,ERROR_TYPO:()=>Cte,FIELDS_TEXT:()=>kte,FIELDS_TEXT_VALIDATION:()=>Bte,LABEL_TYPOGRAPHY:()=>Rte,RADIO_TEXT:()=>xte,SUCCESS_TYPO:()=>Ete});var H={};a.r(H),a.d(H,{FIELD_TEXT:()=>qae,FIELD_TEXT_VALIDATION:()=>zae,LABEL_TYPOGRAPHY:()=>Hae,TEXT_TYPO:()=>Fae});var z={};a.r(z),a.d(z,{FIELD_TEXT:()=>Jne,FIELD_TEXT_VALIDATION:()=>Yne,LABEL_TYPOGRAPHY:()=>Zne});var q={};a.r(q),a.d(q,{FIELD_TEXT:()=>are,FIELD_TEXT_VALIDATION:()=>tre,LABEL_TYPOGRAPHY:()=>ere});var U={};a.r(U),a.d(U,{FIELD_TEXT:()=>sce,FIELD_TEXT_VALIDATION:()=>ice,LABEL_TYPOGRAPHY:()=>lce});var V={};a.r(V),a.d(V,{FIELD_TEXT:()=>fle,FIELD_TEXT_VALIDATION:()=>gle,LABEL_TYPOGRAPHY:()=>mle});var W={};a.r(W),a.d(W,{CHECKBOX_TEXT:()=>Bie,LABEL_TYPOGRAPHY:()=>Sie});var G={};a.r(G),a.d(G,{FIELD_TEXT_VALIDATION:()=>Pse,LABEL_TYPOGRAPHY:()=>Nse,RADIO_TEXT:()=>Ose});var Z={};a.r(Z),a.d(Z,{typoPrefix_original_price:()=>jpe,typoPrefix_pricing_period:()=>Lpe,typoPrefix_sale_pricing_period:()=>Ape,typoPrefix_saleprice:()=>Ipe});const Y=window.wp.i18n,J=window.wp.element,Q=window.wp.blockEditor,X=window.wp.components,$=window.wp.data,K=window.wp.blocks;var ee=a(6942),te=a.n(ee),ae=[{label:(0,Y.__)("Accordion","essential-blocks"),value:"accordion"},{label:(0,Y.__)("Toggle","essential-blocks"),value:"toggle"}],ne=((0,Y.__)("Material","essential-blocks"),(0,Y.__)("Gradient","essential-blocks"),(0,Y.__)("Dark","essential-blocks"),(0,Y.__)("Royal","essential-blocks"),(0,Y.__)("Custom","essential-blocks"),(0,Y.__)("Fill","essential-blocks"),(0,Y.__)("Gradient","essential-blocks"),(0,Y.__)("Image","essential-blocks"),(0,Y.__)("Fill","essential-blocks"),(0,Y.__)("Gradient","essential-blocks"),(0,Y.__)("Border Box","essential-blocks"),(0,Y.__)("Padding Box","essential-blocks"),(0,Y.__)("Content Box","essential-blocks"),(0,Y.__)("Material","essential-blocks"),(0,Y.__)("Ghost","essential-blocks"),(0,Y.__)("Rounded","essential-blocks"),(0,Y.__)("Custom","essential-blocks"),(0,Y.__)("Auto","essential-blocks"),(0,Y.__)("Cover","essential-blocks"),(0,Y.__)("Container","essential-blocks"),(0,Y.__)("Initial","essential-blocks"),(0,Y.__)("No Repeat","essential-blocks"),(0,Y.__)("Repeat","essential-blocks"),(0,Y.__)("Repeat X","essential-blocks"),(0,Y.__)("Repeat Y","essential-blocks"),(0,Y.__)("Space","essential-blocks"),(0,Y.__)("Round","essential-blocks"),(0,Y.__)("Initial","essential-blocks"),(0,Y.__)("Scroll","essential-blocks"),(0,Y.__)("Fixed","essential-blocks"),(0,Y.__)("Local","essential-blocks"),(0,Y.__)("Dashed","essential-blocks"),(0,Y.__)("Solid","essential-blocks"),(0,Y.__)("Dotted","essential-blocks"),(0,Y.__)("Double","essential-blocks"),(0,Y.__)("Groove","essential-blocks"),(0,Y.__)("Inset","essential-blocks"),(0,Y.__)("Outset","essential-blocks"),(0,Y.__)("Ridge","essential-blocks"),(0,Y.__)("H1","essential-blocks"),(0,Y.__)("H2","essential-blocks"),(0,Y.__)("H3","essential-blocks"),(0,Y.__)("H4","essential-blocks"),(0,Y.__)("H5","essential-blocks"),(0,Y.__)("H6","essential-blocks"),[{label:(0,Y.__)("Left","essential-blocks"),value:"left"},{label:(0,Y.__)("Right","essential-blocks"),value:"right"}]),oe=((0,Y.__)("Liner","essential-blocks"),(0,Y.__)("Ease","essential-blocks"),(0,Y.__)("Ease In","essential-blocks"),(0,Y.__)("Ease Out","essential-blocks"),(0,Y.__)("Ease In Out","essential-blocks"),[{label:(0,Y.__)("Left","essential-blocks"),value:"left"},{label:(0,Y.__)("Center","essential-blocks"),value:"center"},{label:(0,Y.__)("Right","essential-blocks"),value:"right"}]),re=[{label:(0,Y.__)("Left","essential-blocks"),value:"left"},{label:(0,Y.__)("Center","essential-blocks"),value:"center"},{label:(0,Y.__)("Right","essential-blocks"),value:"right"}],ce=((0,Y.__)("Fill","essential-blocks"),(0,Y.__)("Gradient","essential-blocks"),(0,Y.__)("None","essential-blocks"),(0,Y.__)("Lowercase","essential-blocks"),(0,Y.__)("Capitalize","essential-blocks"),(0,Y.__)("Uppercase","essential-blocks"),(0,Y.__)("Lighter","essential-blocks"),(0,Y.__)("Normal","essential-blocks"),(0,Y.__)("Bold","essential-blocks"),(0,Y.__)("Bolder","essential-blocks"),(0,Y.__)("Initial","essential-blocks"),(0,Y.__)("Overline","essential-blocks"),(0,Y.__)("Line Through","essential-blocks"),(0,Y.__)("Underline","essential-blocks"),(0,Y.__)("Underline Oveline","essential-blocks"),[{label:(0,Y.__)("H1","essential-blocks"),value:"h1"},{label:(0,Y.__)("H2","essential-blocks"),value:"h2"},{label:(0,Y.__)("H3","essential-blocks"),value:"h3"},{label:(0,Y.__)("H4","essential-blocks"),value:"h4"},{label:(0,Y.__)("H5","essential-blocks"),value:"h5"},{label:(0,Y.__)("H6","essential-blocks"),value:"h6"},{label:(0,Y.__)("P","essential-blocks"),value:"p"}]),le=[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"}],ie="typTl_",se="typCn_",be="titlePrefixText_",pe="titleSuffixText_",ue="wrpMrg_",de="wrpPad_",me="icnMrg_",ge="icnPad_",fe="tabMrg_",ye="tabPad_",ve="conMrg_",he="conPad_",we="WrpBg_",ke="icnBg_",Re="tabBg_",_e="conBg_",Ee="wrpBdSd_",Ce="icnBdSd_",xe="tabBdSd_",Se="conBdSd_",Be="icnZ_",Te="acGp_",Ne="titlePrefixIconSize_",Pe="titleSuffixIconSize_",Oe="titlePrefixGap_",Me="titlePrefixImgWidth_",De="titleSuffixImgWidth_";function je(e){return je="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},je(e)}function Ie(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Ae(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Ie(Object(a),!0).forEach((function(t){Le(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Ie(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Le(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=je(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=je(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==je(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var Fe=window.EBControls,He=Fe.generateDimensionsAttributes,ze=Fe.generateTypographyAttributes,qe=Fe.generateBackgroundAttributes,Ue=Fe.generateBorderShadowAttributes,Ve=Fe.generateResponsiveRangeAttributes;const We=Ae(Ae(Ae(Ae(Ae(Ae(Ae(Ae(Ae(Ae(Ae(Ae(Ae(Ae(Ae(Ae(Ae(Ae(Ae(Ae(Ae(Ae(Ae(Ae(Ae({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},accordionType:{type:"string",source:"attribute",selector:".eb-accordion-container",attribute:"data-accordion-type",default:"accordion"},displayIcon:{type:"boolean",default:!0},tabIcon:{type:"string"},expandedIcon:{type:"string"},transitionDuration:{type:"number",default:.5},contentAlign:{type:"string",default:"left"},titleAlignment:{type:"string",default:"left"},titleColor:{type:"string",default:"var(--eb-global-heading-color)"},contentColor:{type:"string",default:"var(--eb-global-text-color)"},iconColor:{type:"string",default:"var(--eb-global-primary-color)"},iconPosition:{type:"string",default:"right"},hoverTitleColor:{type:"string"},activeBgColor:{type:"string",default:""},activeTitleColor:{type:"string",default:""},tagName:{type:"string",default:"h3"},accordionChildCount:{type:"number",default:3},faqSchema:{type:"boolean",default:!1},titlePrefixColor:{type:"string",default:"#000"},titleSuffixColor:{type:"string",default:"#000"}},Ve(Ne,{defaultRange:20})),Ve(Me,{defaultRange:30})),Ve(Oe,{defaultRange:15})),Ve(Pe,{defaultRange:20})),Ve(De,{defaultRange:30})),Ve("titleSuffixGap_",{defaultRange:15})),ze(Object.values(n))),Ve(Be,{noUnits:!0,defaultRange:20})),Ve(Te,{noUnits:!0,defaultRange:15})),qe(we,{})),qe(ke,{noOverlay:!0,noMainBgi:!0})),qe(Re,Le({noMainBgi:!0,defaultFillColor:"var(--eb-global-background-color)",noOverlay:!0},"noMainBgi",!0))),qe(_e,Le({noMainBgi:!0,noOverlay:!0},"noMainBgi",!0))),Ue(Ee)),Ue(Ce)),Ue(xe)),Ue(Se,{defaultBdrColor:"#aaaaaa",defaultBdrStyle:"solid"})),He(ue)),He(de)),He(me)),He(ge)),He(fe)),He(ye,{top:15,bottom:15,left:20,right:20,isLinked:!1})),He(ve)),He(he,{top:10,bottom:10,left:15,right:15}));var Ge=lodash.times,Ze=window.EBControls,Ye=Ze.ColorControl,Je=Ze.TypographyDropdown,Qe=Ze.ResponsiveDimensionsControl,Xe=Ze.ResponsiveRangeController,$e=Ze.BorderShadowControl,Ke=Ze.BackgroundControl,et=Ze.AdvancedControls,tt=Ze.EBIconPicker;const at=function(e){var t=e.attributes,a=e.setAttributes,n=e.clientId,o=t.resOption,r=t.accordionType,c=t.displayIcon,l=t.transitionDuration,i=t.tabIcon,s=t.expandedIcon,b=t.titleColor,p=t.contentAlign,u=t.contentColor,d=t.iconColor,m=t.iconPosition,g=t.titleAlignment,f=t.hoverTitleColor,y=t.activeBgColor,v=t.activeTitleColor,h=t.tagName,w=t.faqSchema,k=t.titlePrefixColor,R=t.titleSuffixColor,_={setAttributes:a,resOption:o,attributes:t,objAttributes:We};return(0,J.useEffect)((function(){var e=(0,$.select)("core/block-editor").getBlocksByClientId(n)[0],t=null==e?void 0:e.innerBlocks,a=(0,$.dispatch)("core/block-editor").updateBlockAttributes;t&&Ge(t.length,(function(e){a(t[e].clientId,{inheritedAccordionType:r,inheritedDisplayIcon:c,inheritedTabIcon:i,inheritedExpandedIcon:s,inheritedTagName:h,faqSchema:w})}))}),[r,c,i,s,h,w]),React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:"General",className:"eb-tab general"},{name:"styles",title:"Style",className:"eb-tab styles"},{name:"advance",title:"Advanced",className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls"+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,null,React.createElement(X.BaseControl,{label:(0,Y.__)("Accordion Types","essential-blocks"),id:"eb-accordion-type"},React.createElement(X.ButtonGroup,{id:"eb-accordion-type-btgrp"},ae.map((function(e,t){return React.createElement(X.Button,{key:t,isSecondary:r!==e.value,isPrimary:r===e.value,onClick:function(){return a({accordionType:e.value})}},e.label)})))),React.createElement(X.BaseControl,{label:(0,Y.__)("Title Level","essential-blocks"),id:"eb-accordion-heading-alignment"},React.createElement(X.ButtonGroup,{className:"eb-accordion-heading-alignment eb-html-tag-buttongroup"},ce.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:h===e.value,isSecondary:h!==e.value,onClick:function(){return a({tagName:e.value})}},e.label)})))),React.createElement(X.RangeControl,{label:(0,Y.__)("Toggle Speed","essential-blocks"),value:l,onChange:function(e){return a({transitionDuration:e})},min:0,max:5,step:.1,allowReset:!0}),React.createElement(Xe,{noUnits:!0,baseLabel:(0,Y.__)("Accordions Gap","essential-blocks"),controlName:Te,resRequiredProps:_,min:1,max:100,step:1}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Enable FAQ Schema","essential-blocks"),checked:w,onChange:function(){return a({faqSchema:!w})}}))),"styles"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Icon","essential-blocks"),initialOpen:!1},React.createElement(X.ToggleControl,{label:(0,Y.__)("Display Icon","essential-blocks"),checked:c,onChange:function(){return a({displayIcon:!c})}}),c&&React.createElement(React.Fragment,null,React.createElement(tt,{title:(0,Y.__)("Tab Icon","essential-blocks"),value:i,onChange:function(e){return a({tabIcon:e})}}),React.createElement(tt,{title:(0,Y.__)("Expanded Icon","essential-blocks"),value:s,onChange:function(e){return a({expandedIcon:e})}}),React.createElement(X.BaseControl,{label:(0,Y.__)("Icon Position","essential-blocks")},React.createElement(X.ButtonGroup,{id:"eb-icon-pos-btgrp"},ne.map((function(e,t){return React.createElement(X.Button,{key:t,isSecondary:m!==e.value,isPrimary:m===e.value,onClick:function(){return a({iconPosition:e.value})}},e.label)})))),React.createElement(Xe,{noUnits:!0,baseLabel:(0,Y.__)("Icon Size","essential-blocks"),controlName:Be,resRequiredProps:_,min:1,max:200,step:1}),React.createElement(Ye,{label:(0,Y.__)("Icon Color","essential-blocks"),color:d,onChange:function(e){return a({iconColor:e})}}),React.createElement(X.PanelBody,{title:(0,Y.__)("Margin & Padding")},React.createElement(Qe,{resRequiredProps:_,controlName:me,baseLabel:"Margin"}),React.createElement(Qe,{resRequiredProps:_,controlName:ge,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Background ","essential-blocks")},React.createElement(Ke,{controlName:ke,resRequiredProps:_,noOverlay:!0,noMainBgi:!0})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow")},React.createElement($e,{controlName:Ce,resRequiredProps:_,defaultBdrColor:"#aaaaaa",defaultBdrStyle:"solid"})))),React.createElement(X.PanelBody,{title:(0,Y.__)("Tab","essential-blocks"),initialOpen:!1},React.createElement(X.BaseControl,{label:(0,Y.__)("Title Align ","essential-blocks"),id:"eb-accoridon-title-align"},React.createElement(X.ButtonGroup,null,oe.map((function(e,t){return React.createElement(X.Button,{key:t,isSecondary:g!==e.value,isPrimary:g===e.value,onClick:function(){return a({titleAlignment:e.value})}},e.label)})))),React.createElement(Je,{baseLabel:"Title Typography",typographyPrefixConstant:ie,resRequiredProps:_}),React.createElement(Ye,{label:(0,Y.__)("Title Color","essential-blocks"),color:b,onChange:function(e){return a({titleColor:e})}}),React.createElement(Ye,{label:(0,Y.__)("Title hover Color","essential-blocks"),color:f,onChange:function(e){return a({hoverTitleColor:e})}}),React.createElement(Xe,{baseLabel:(0,Y.__)("Prefix Suffix Spacing","essential-blocks"),controlName:Oe,resRequiredProps:_,min:0,max:500,step:1,noUnits:!0}),React.createElement(X.PanelBody,{title:(0,Y.__)("Title Prefix","essential-blocks"),initialOpen:!1},React.createElement(Xe,{baseLabel:(0,Y.__)("Icon Size","essential-blocks"),controlName:Ne,resRequiredProps:_,min:8,max:200,step:1}),React.createElement(Je,{baseLabel:"Text Typography",typographyPrefixConstant:be,resRequiredProps:_}),React.createElement(Ye,{label:(0,Y.__)("Text / Icon Color","essential-blocks"),color:k,onChange:function(e){return a({titlePrefixColor:e})}}),React.createElement(Xe,{baseLabel:(0,Y.__)("Image Width","essential-blocks"),controlName:Me,resRequiredProps:_,units:le,min:0,max:500,step:1})),React.createElement(X.PanelBody,{title:(0,Y.__)("Title Suffix","essential-blocks"),initialOpen:!1},React.createElement(Xe,{baseLabel:(0,Y.__)("Icon Size","essential-blocks"),controlName:Pe,resRequiredProps:_,min:8,max:200,step:1}),React.createElement(Je,{baseLabel:"Text Typography",typographyPrefixConstant:pe,resRequiredProps:_}),React.createElement(Ye,{label:(0,Y.__)("Text / Icon Color","essential-blocks"),color:R,onChange:function(e){return a({titleSuffixColor:e})}}),React.createElement(Xe,{baseLabel:(0,Y.__)("Image Width","essential-blocks"),controlName:De,resRequiredProps:_,units:le,min:0,max:500,step:1})),React.createElement(X.PanelBody,{title:(0,Y.__)("Margin & Padding"),initialOpen:!1},React.createElement(Qe,{resRequiredProps:_,controlName:fe,baseLabel:"Margin"}),React.createElement(Qe,{resRequiredProps:_,controlName:ye,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Background ","essential-blocks")},React.createElement(Ke,{controlName:Re,resRequiredProps:_,noMainBgi:!0,noOverlay:!0})),React.createElement(X.PanelBody,{title:(0,Y.__)("Expanded Tab Colors","essential-blocks")},React.createElement(Ye,{label:(0,Y.__)("Background Color","essential-blocks"),color:y,onChange:function(e){return a({activeBgColor:e})}}),React.createElement(Ye,{label:(0,Y.__)("Title Color","essential-blocks"),color:v,onChange:function(e){return a({activeTitleColor:e})}}),React.createElement("span",null,React.createElement("i",null,(0,Y.__)("To see the changes, go to frontend page","essential-blocks")))),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow")},React.createElement($e,{controlName:xe,resRequiredProps:_}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Content ","essential-blocks"),initialOpen:!1},React.createElement(X.BaseControl,{label:(0,Y.__)("Align","essential-blocks")},React.createElement(X.ButtonGroup,null,re.map((function(e,t){return React.createElement(X.Button,{key:t,isSecondary:p!==e.value,isPrimary:p===e.value,onClick:function(){return a({contentAlign:e.value})}},e.label)})))),React.createElement(Je,{baseLabel:"Content Typography",typographyPrefixConstant:se,resRequiredProps:_}),React.createElement(Ye,{label:(0,Y.__)("Content Color","essential-blocks"),color:u,onChange:function(e){return a({contentColor:e})}}),React.createElement(X.PanelBody,{title:(0,Y.__)("Margin & Padding")},React.createElement(Qe,{resRequiredProps:_,controlName:ve,baseLabel:"Margin"}),React.createElement(Qe,{resRequiredProps:_,controlName:he,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Background ","essential-blocks")},React.createElement(Ke,{controlName:_e,resRequiredProps:_,noOverlay:!0,noMainBgi:!0})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow")},React.createElement($e,{controlName:Se,resRequiredProps:_})))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Margin & Padding","essential-blocks")},React.createElement(Qe,{resRequiredProps:_,controlName:ue,baseLabel:"Margin"}),React.createElement(Qe,{resRequiredProps:_,controlName:de,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Background ","essential-blocks"),initialOpen:!1},React.createElement(Ke,{controlName:we,resRequiredProps:_})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement($e,{controlName:Ee,resRequiredProps:_})),React.createElement(et,{attributes:t,setAttributes:a})))}))))},nt=window.lodash;var ot=window.EBControls,rt=ot.softMinifyCssStrings,ct=ot.generateBackgroundControlStyles,lt=ot.generateDimensionsControlStyles,it=ot.generateTypographyStyles,st=ot.generateBorderShadowStyles,bt=ot.generateResponsiveRangeStyles,pt=ot.StyleComponent;function ut(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=(t.resOption,t.blockId),r=(t.blockMeta,t.classHook,t.accordionType,t.displayIcon),c=(t.transitionDuration,t.tabIcon,t.expandedIcon,t.titleColor),l=void 0===c?"#fff":c,i=t.contentColor,s=void 0===i?"#555":i,b=t.contentAlign,p=void 0===b?"left":b,u=t.iconColor,d=void 0===u?"#4a5059":u,m=t.iconPosition,g=t.titleAlignment,f=t.hoverTitleColor,y=t.activeBgColor,v=t.activeTitleColor,h=(t.tagName,t.faqSchema,t.icnZ_Range),w=t.TABicnZ_Range,k=t.MOBicnZ_Range,R=(t.accordionChildCount,t.titlePrefixColor),_=t.titleSuffixColor,E=it({attributes:t,prefixConstant:ie,defaultFontSize:18}),C=E.typoStylesDesktop,x=E.typoStylesTab,S=E.typoStylesMobile,B=it({attributes:t,prefixConstant:se,defaultFontSize:14}),T=B.typoStylesDesktop,N=B.typoStylesTab,P=B.typoStylesMobile,O=it({attributes:t,prefixConstant:be,defaultFontSize:14}),M=O.typoStylesDesktop,D=(O.typoStylesTab,O.typoStylesMobile,it({attributes:t,prefixConstant:pe,defaultFontSize:14})),j=D.typoStylesDesktop,I=(D.typoStylesTab,D.typoStylesMobile,ct({attributes:t,controlName:we})),A=I.backgroundStylesDesktop,L=I.hoverBackgroundStylesDesktop,F=I.backgroundStylesTab,H=I.hoverBackgroundStylesTab,z=I.backgroundStylesMobile,q=I.hoverBackgroundStylesMobile,U=I.overlayStylesDesktop,V=I.hoverOverlayStylesDesktop,W=I.overlayStylesTab,G=I.hoverOverlayStylesTab,Z=I.overlayStylesMobile,Y=I.hoverOverlayStylesMobile,J=I.bgTransitionStyle,Q=I.ovlTransitionStyle,X=ct({attributes:t,controlName:ke,noOverlay:!0,noMainBgi:!0}),$=X.backgroundStylesDesktop,K=X.hoverBackgroundStylesDesktop,ee=X.bgTransitionStyle,te=ct({attributes:t,controlName:Re,noOverlay:!0,noMainBgi:!0}),ae=te.backgroundStylesDesktop,ne=te.hoverBackgroundStylesDesktop,oe=te.bgTransitionStyle,re=ct({attributes:t,controlName:_e,noOverlay:!0,noMainBgi:!0}),ce=re.backgroundStylesDesktop,le=re.hoverBackgroundStylesDesktop,je=re.bgTransitionStyle,Ie=lt({attributes:t,controlName:ue,styleFor:"margin"}),Ae=Ie.dimensionStylesDesktop,Le=Ie.dimensionStylesTab,Fe=Ie.dimensionStylesMobile,He=lt({attributes:t,controlName:de,styleFor:"padding"}),ze=He.dimensionStylesDesktop,qe=He.dimensionStylesTab,Ue=He.dimensionStylesMobile,Ve=lt({attributes:t,controlName:me,styleFor:"margin"}),We=Ve.dimensionStylesDesktop,Ge=Ve.dimensionStylesTab,Ze=Ve.dimensionStylesMobile,Ye=lt({attributes:t,controlName:ge,styleFor:"padding"}),Je=Ye.dimensionStylesDesktop,Qe=Ye.dimensionStylesTab,Xe=Ye.dimensionStylesMobile,$e=lt({attributes:t,controlName:fe,styleFor:"margin"}),Ke=$e.dimensionStylesDesktop,et=$e.dimensionStylesTab,tt=$e.dimensionStylesMobile,at=lt({attributes:t,controlName:ye,styleFor:"padding"}),nt=at.dimensionStylesDesktop,ot=at.dimensionStylesTab,ut=at.dimensionStylesMobile,dt=lt({attributes:t,controlName:ve,styleFor:"margin"}),mt=dt.dimensionStylesDesktop,gt=dt.dimensionStylesTab,ft=dt.dimensionStylesMobile,yt=lt({attributes:t,controlName:he,styleFor:"padding"}),vt=yt.dimensionStylesDesktop,ht=yt.dimensionStylesTab,wt=yt.dimensionStylesMobile,kt=st({controlName:Ee,attributes:t}),Rt=kt.styesDesktop,_t=kt.styesTab,Et=kt.styesMobile,Ct=kt.stylesHoverDesktop,xt=kt.stylesHoverTab,St=kt.stylesHoverMobile,Bt=kt.transitionStyle,Tt=st({controlName:Ce,attributes:t}),Nt=Tt.styesDesktop,Pt=Tt.styesTab,Ot=Tt.styesMobile,Mt=Tt.stylesHoverDesktop,Dt=Tt.stylesHoverTab,jt=Tt.stylesHoverMobile,It=Tt.transitionStyle,At=st({controlName:xe,attributes:t}),Lt=At.styesDesktop,Ft=At.styesTab,Ht=At.styesMobile,zt=At.stylesHoverDesktop,qt=At.stylesHoverTab,Ut=At.stylesHoverMobile,Vt=At.transitionStyle,Wt=st({controlName:Se,attributes:t}),Gt=Wt.styesDesktop,Zt=Wt.styesTab,Yt=Wt.styesMobile,Jt=Wt.stylesHoverDesktop,Qt=Wt.stylesHoverTab,Xt=Wt.stylesHoverMobile,$t=Wt.transitionStyle,Kt=bt({controlName:Be,customUnit:"px",property:"font-size",attributes:t}),ea=Kt.rangeStylesDesktop,ta=Kt.rangeStylesTab,aa=Kt.rangeStylesMobile,na=bt({controlName:Te,customUnit:"px",property:"padding-top",attributes:t}),oa=na.rangeStylesDesktop,ra=na.rangeStylesTab,ca=na.rangeStylesMobile,la=bt({controlName:Ne,customUnit:"px",property:"width",attributes:t}),ia=la.rangeStylesDesktop,sa=(la.rangeStylesTab,la.rangeStylesMobile,bt({controlName:Ne,customUnit:"px",property:"height",attributes:t})),ba=sa.rangeStylesDesktop,pa=(sa.rangeStylesTab,sa.rangeStylesMobile,bt({controlName:Ne,customUnit:"px",property:"font-size",attributes:t})),ua=pa.rangeStylesDesktop,da=(pa.rangeStylesTab,pa.rangeStylesMobile,bt({controlName:Me,customUnit:"px",property:"width",attributes:t})),ma=da.rangeStylesDesktop,ga=(da.rangeStylesTab,da.rangeStylesMobile,bt({controlName:Oe,customUnit:"px",property:"gap",attributes:t})),fa=ga.rangeStylesDesktop,ya=(ga.rangeStylesTab,ga.rangeStylesMobile,bt({controlName:Pe,customUnit:"px",property:"width",attributes:t})),va=ya.rangeStylesDesktop,ha=(ya.rangeStylesTab,ya.rangeStylesMobile,bt({controlName:Pe,customUnit:"px",property:"height",attributes:t})),wa=ha.rangeStylesDesktop,ka=(ha.rangeStylesTab,ha.rangeStylesMobile,bt({controlName:Pe,customUnit:"px",property:"font-size",attributes:t})),Ra=ka.rangeStylesDesktop,_a=(ka.rangeStylesTab,ka.rangeStylesMobile,bt({controlName:De,customUnit:"px",property:"width",attributes:t})),Ea=_a.rangeStylesDesktop,Ca=(_a.rangeStylesTab,_a.rangeStylesMobile,"\n\n\t.eb-accordion-item.is-selected .eb-accordion-content-wrapper-".concat(o," {\n\t\theight:auto;\n\t\topacity: 0;\n\t\toverflow: visible;\n\t}\n\n\t.eb-accordion-container.eb_accdn_loaded .eb-accordion-wrapper:not(.for_edit_page) .eb-accordion-content-wrapper-").concat(o,"{\n\t\tvisibility:visible;\n\t\tposition:static;\n\t}\n\n\t.eb-accordion-container .eb-accordion-wrapper:not(.for_edit_page) .eb-accordion-content-wrapper-").concat(o,"{\n\t\tvisibility:hidden;\n\t\tposition:absolute;\n\t}\n\n\t.").concat(o,".eb-accordion-container .eb-accordion-inner{\n\t\tposition:relative;\n\t}\n\n\t.").concat(o,".eb-accordion-container .eb-accordion-wrapper h1,\n\t.").concat(o,".eb-accordion-container .eb-accordion-wrapper h2,\n\t.").concat(o,".eb-accordion-container .eb-accordion-wrapper h3,\n\t.").concat(o,".eb-accordion-container .eb-accordion-wrapper h4,\n\t.").concat(o,".eb-accordion-container .eb-accordion-wrapper h5,\n\t.").concat(o,".eb-accordion-container .eb-accordion-wrapper h6,\n\t.").concat(o,".eb-accordion-container .eb-accordion-wrapper p{\n\t\tmargin:0;\n\t\tpadding:0;\n\t}\n\n\n\t.").concat(o,".eb-accordion-container .eb-accordion-wrapper + .eb-accordion-wrapper{\n\t\t").concat(oa,"\n\t}\n\n\n\t.").concat(o,".eb-accordion-container{\n\t\t").concat(Ae,"\n\t\t").concat(ze,"\n\t\t").concat(A,"\n\t\t").concat(Rt,"\n\t\ttransition:").concat(J,", ").concat(Bt,";\n\t\toverflow:hidden;\n\t}\n\n\t.").concat(o,".eb-accordion-container:hover{\n\t\t").concat(L,"\n\t\t").concat(Ct,"\n\t}\n\n\t.").concat(o,".eb-accordion-container:before{\n\t\t").concat(U,"\n\t\ttransition:").concat(Q,";\n\t}\n\n\t.").concat(o,".eb-accordion-container:hover:before{\n\t\t").concat(V,"\n\t}\n\n\n").concat(r?"\n\t\t.".concat(o,".eb-accordion-container .eb-accordion-icon-wrapper-").concat(o,"{\n\t\t\tdisplay: flex;\n\t\t\tjustify-content: center;\n\t\t\talign-items: center;\n\t\t\t").concat(We,"\n\t\t\t").concat(Je,"\n\t\t\t").concat($,"\n\t\t\t").concat(Nt,"\n\t\t\ttransition:").concat(ee,", ").concat(It,";\n\t\t}\n\n\n\t\t.").concat(o,".eb-accordion-container .eb-accordion-icon-wrapper-").concat(o,":hover{\n\t\t\t").concat(K,"\n\t\t\t").concat(Mt,"\n\t\t}\n\n\t\t.").concat(o,".eb-accordion-container .eb-accordion-icon-wrapper-").concat(o," .eb-accordion-icon{\n\t\t\ttext-align:center;\n\t\t\tcolor: ").concat(d,";\n\t\t\t").concat(ea,"\n\t\t\t").concat(h?"width:".concat(h,"px;"):"","\n\t\t}\n\n\t\t"):"","\n\n\t.").concat(o,".eb-accordion-container .eb-accordion-title-wrapper-").concat(o," {\n\t\tcursor: pointer;\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tflex-direction: ").concat("right"===m&&r?"row-reverse":"row",";\n\t\t").concat(ae,"\n\t\t").concat(Ke,"\n\t\t").concat(nt,"\n\t\t").concat(Lt,"\n\t\ttransition:").concat(oe,", ").concat(Vt,";\n\t}\n\n\t.").concat(o,".eb-accordion-container .eb-accordion-title-wrapper-").concat(o,":hover{\n\t\t").concat(ne,"\n\t\t").concat(zt,"\n\t}\n\t.").concat(o,".eb-accordion-container .title-content-").concat(o,"{\n\t\tjustify-content:").concat(g||"left",";\n\t\tflex:1;\n        ").concat(fa,"\n\t}\n\t.").concat(o,".eb-accordion-container .title-content-").concat(o," .eb-accordion-title{\n        color:").concat(l,";\n\t\t").concat(C,"\n    }\n    .").concat(o,".eb-accordion-container .title-content-").concat(o," .eb-accordion-title-prefix-text{\n\t\tcolor:").concat(R,";\n\t\t").concat(M,"\n\t}\n    .").concat(o,".eb-accordion-container .title-content-").concat(o," .eb-accordion-title-prefix-icon{\n\t\tcolor:").concat(R,";\n\t\t").concat(ia,"\n\t\t").concat(ba,"\n\t\t").concat(ua,"\n\t}\n    .").concat(o,".eb-accordion-container .title-content-").concat(o," .eb-accordion-title-prefix-img{\n\t\t").concat(ma,"\n\t}\n    .").concat(o,".eb-accordion-container .title-content-").concat(o," .eb-accordion-title-suffix-text{\n\t\tcolor:").concat(_,";\n\t\t").concat(j,"\n\t}\n    .").concat(o,".eb-accordion-container .title-content-").concat(o," .eb-accordion-title-suffix-icon{\n\t\tcolor:").concat(_,";\n\t\t").concat(va,"\n\t\t").concat(wa,"\n\t\t").concat(Ra,"\n\t}\n    .").concat(o,".eb-accordion-container .title-content-").concat(o," .eb-accordion-title-suffix-img{\n\t\t").concat(Ea,"\n\t}\n\n").concat(v?"\n\t.".concat(o,".eb-accordion-container .eb-accordion-wrapper:not(.eb-accordion-hidden,.for_edit_page) h3.eb-accordion-title,\n\t.").concat(o,".eb-accordion-container .eb-accordion-wrapper.expanded_tab h3.eb-accordion-title{\n\t\t").concat(v?"color: ".concat(v," !important;"):"","\n\t}\n\t"):"","\n\n").concat(y?"\n\t.".concat(o,".eb-accordion-container .eb-accordion-wrapper:not(.eb-accordion-hidden,.for_edit_page) .eb-accordion-title-wrapper-").concat(o,",\n\t.").concat(o,".eb-accordion-container .eb-accordion-wrapper.expanded_tab .eb-accordion-title-wrapper-").concat(o,"{\n\t\t").concat(y?"background-color: ".concat(y," !important; background-image: unset"):"","\n\t}\n\t"):"","\n\n\t").concat(f?"\n\t\t\t.".concat(o,".eb-accordion-container .eb-accordion-title-wrapper:hover .title-content-").concat(o," .eb-accordion-title{\n\t\t\t\tcolor:").concat(f,";\n\t\t\t}\n\t\t\t"):"","\n\n\t.").concat(o,".eb-accordion-container .eb-accordion-content-wrapper-").concat(o," .eb-accordion-content{\n\t\tcolor:").concat(s,";\n\t\ttext-align:").concat(p,";\n\t\t").concat(ce,"\n\t\t").concat(T,"\n\t\t").concat(mt,"\n\t\t").concat(vt,"\n\t\t").concat(Gt,"\n\t\ttransition:").concat($t,", ").concat(je,";\n\t}\n\n\t.").concat(o,".eb-accordion-container .eb-accordion-content-wrapper-").concat(o,":hover .eb-accordion-content{\n\t\t").concat(le,"\n\t\t").concat(Jt,"\n\t}\n\n\t")),xa="\n\n\t.".concat(o,".eb-accordion-container .eb-accordion-wrapper + .eb-accordion-wrapper{\n\t\t").concat(ra,"\n\t}\n\n\n\t.").concat(o,".eb-accordion-container{\n\t\t").concat(Le,"\n\t\t").concat(qe,"\n\t\t").concat(F,"\n\t\t").concat(_t,"\n\t}\n\n\t.").concat(o,".eb-accordion-container:hover{\n\t\t").concat(H,"\n\t\t").concat(xt,"\n\t}\n\n\t.").concat(o,".eb-accordion-container:before{\n\t\t").concat(W,"\n\t}\n\n\t.").concat(o,".eb-accordion-container:hover:before{\n\t\t").concat(G,"\n\t}\n\n\n\n").concat(r?"\n\t\t.".concat(o,".eb-accordion-container .eb-accordion-icon-wrapper-").concat(o,"{\n\t\t\t").concat(Ge,"\n\t\t\t").concat(Qe,"\n\t\t\t").concat(Pt,"\n\t\t}\n\n\n\t\t.").concat(o,".eb-accordion-container .eb-accordion-icon-wrapper-").concat(o,":hover{\n\t\t\t").concat(Dt,"\n\t\t}\n\n\t\t.").concat(o,".eb-accordion-container .eb-accordion-icon-wrapper-").concat(o," .eb-accordion-icon{\n\t\t\t").concat(ta,"\n\t\t\t").concat(w?"width:".concat(w,"px;"):"","\n\t\t}\n\n\t\t"):"","\n\n\n\n\t.").concat(o,".eb-accordion-container .eb-accordion-title-wrapper-").concat(o," {\n\t\t").concat(et,"\n\t\t").concat(ot,"\n\t\t").concat(Ft,"\n\t}\n\n\n\t.").concat(o,".eb-accordion-container .eb-accordion-title-wrapper-").concat(o,":hover{\n\t\t").concat(qt,"\n\t}\n\n\t.").concat(o,".eb-accordion-container .title-content-").concat(o," .eb-accordion-title{\n\t\t").concat(x,"\n\t}\n\n\n\n\t.").concat(o,".eb-accordion-container .eb-accordion-content-wrapper-").concat(o," .eb-accordion-content{\n\t\t").concat(N,"\n\t\t").concat(gt,"\n\t\t").concat(ht,"\n\t\t").concat(Zt,"\n\t}\n\n\t.").concat(o,".eb-accordion-container .eb-accordion-content-wrapper-").concat(o,":hover .eb-accordion-content{\n\t\t").concat(Qt,"\n\t}\n\n\n\n\t"),Sa="\n\n\t.".concat(o,".eb-accordion-container .eb-accordion-wrapper + .eb-accordion-wrapper{\n\t\t").concat(ca,"\n\t}\n\n\t.").concat(o,".eb-accordion-container{\n\t\t").concat(Fe,"\n\t\t").concat(Ue,"\n\t\t").concat(z,"\n\t\t").concat(Et,"\n\t}\n\n\t.").concat(o,".eb-accordion-container:hover{\n\t\t").concat(q,"\n\t\t").concat(St,"\n\t}\n\n\t.").concat(o,".eb-accordion-container:before{\n\t\t").concat(Z,"\n\t}\n\n\t.").concat(o,".eb-accordion-container:hover:before{\n\t\t").concat(Y,"\n\t}\n\n\n\n\t").concat(r?"\n\t\t\t.".concat(o,".eb-accordion-container .eb-accordion-icon-wrapper-").concat(o,"{\n\t\t\t\t").concat(Ze,"\n\t\t\t\t").concat(Xe,"\n\t\t\t\t").concat(Ot,"\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-accordion-container .eb-accordion-icon-wrapper-").concat(o,":hover{\n\t\t\t\t").concat(jt,"\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-accordion-container .eb-accordion-icon-wrapper-").concat(o," .eb-accordion-icon{\n\t\t\t\t").concat(aa,"\n\t\t\t\t").concat(k?"width:".concat(k,"px;"):"","\n\t\t\t}\n\n\t\t\t"):"","\n\n\n\t.").concat(o,".eb-accordion-container .eb-accordion-title-wrapper-").concat(o," {\n\t\t").concat(tt,"\n\t\t").concat(ut,"\n\t\t").concat(Ht,"\n\t}\n\n\n\t.").concat(o,".eb-accordion-container .eb-accordion-title-wrapper-").concat(o,":hover{\n\t\t").concat(Ut,"\n\t}\n\n\t.").concat(o,".eb-accordion-container .title-content-").concat(o," .eb-accordion-title{\n\t\t").concat(S,"\n\t}\n\n\t.").concat(o,".eb-accordion-container .eb-accordion-content-wrapper-").concat(o," .eb-accordion-content{\n\t\t").concat(P,"\n\t\t").concat(ft,"\n\t\t").concat(wt,"\n\t\t").concat(Yt,"\n\t}\n\n\t.").concat(o,".eb-accordion-container .eb-accordion-content-wrapper-").concat(o,":hover .eb-accordion-content{\n\t\t").concat(Xt,"\n\t}\n\t"),Ba=rt("\n\t\t".concat(Ca,"\n\t")),Ta=rt("\n\t\t".concat(xa,"\n\t")),Na=rt("\n\t\t".concat(Sa,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(pt,{attributes:t,setAttributes:a,desktopAllStyles:Ba,tabAllStyles:Ta,mobileAllStyles:Na,blockName:n}))}function dt(e){return dt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},dt(e)}function mt(){return mt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},mt.apply(null,arguments)}function gt(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}function ft(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function yt(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ft(Object(a),!0).forEach((function(t){vt(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ft(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function vt(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=dt(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=dt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==dt(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var ht=["essential-blocks/accordion-item"],wt=window.EBControls.BlockProps;var kt=window.EBControls.BlockProps;const Rt=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Accordion","apiVersion":2,"name":"essential-blocks/accordion","category":"essential-blocks","description":"Display your FAQs & improve user experience with Accordion/Toggle block","textdomain":"essential-blocks","supports":{"anchor":true,"html":false,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}'),_t=function(e){var t=e.icon;return React.createElement("span",{className:"eb-accordion-icon-wrapper"},React.createElement("span",{className:"".concat(t," eb-accordion-icon")}))};function Et(e){return Et="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Et(e)}function Ct(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function xt(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Ct(Object(a),!0).forEach((function(t){St(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Ct(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function St(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=Et(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=Et(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Et(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var Bt=lodash.omit;const Tt=[{attributes:xt({},We),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.accordionType,r=t.displayIcon,c=t.tabIcon,l=t.expandedIcon,i=t.transitionDuration;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"eb-accordion-container ".concat(a),"data-accordion-type":o||"toggle","data-tab-icon":r?c:"","data-expanded-icon":r?l:"","data-transition-duration":i?1e3*Number(i):500},React.createElement("div",{className:"eb-accordion-inner"},React.createElement(Q.InnerBlocks.Content,null)))))}},{attributes:xt({},We),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.accordionType,r=t.displayIcon,c=t.tabIcon,l=t.expandedIcon;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"eb-accordion-container ".concat(a),"data-accordion-type":o||"toggle","data-tab-icon":r?c:"","data-expanded-icon":r?l:""},React.createElement("div",{className:"eb-accordion-inner"},React.createElement(Q.InnerBlocks.Content,null)))))}},{attributes:xt(xt({},Bt(xt({},We),["tabIcon","expandedIcon"])),{},{accordions:{type:"array",selector:".eb-accordion-wrapper",source:"query",default:[],query:{title:{type:"string",selector:".eb-accordion-title",source:"html"},content:{type:"string",selector:".eb-accordion-content",source:"html"},clickable:{type:"string",source:"attribute",attribute:"data-clickable"}}},selectedTab:{type:"string",default:""},expandedTabs:{type:"array",default:[]},tabIcon:{type:"string",default:"fas fa-angle-right"},expandedIcon:{type:"string",default:"fas fa-angle-down"}}),supports:{align:["wide","full"]},migrate:function(e){var t=e.accordions.map((function(e){return(0,K.createBlock)("essential-blocks/accordion-item",{title:e.title},[(0,K.createBlock)("core/paragraph",{content:e.content})])}));return[Bt(e,["accordions"]),t]},save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.accordionType,r=t.displayIcon,c=t.accordions,l=t.tabIcon,i=t.expandedIcon,s=t.tagName;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"eb-accordion-container ".concat(a),"data-accordion-type":o||"toggle","data-tab-icon":r?l:"","data-expanded-icon":r?i:""},React.createElement("div",{className:"eb-accordion-inner"},c.map((function(e,t){return React.createElement("div",{className:"eb-accordion-wrapper","data-clickable":"".concat(e.clickable),key:t},React.createElement("div",{className:"eb-accordion-title-wrapper"},r&&React.createElement(_t,{icon:l}),React.createElement(Q.RichText.Content,{tagName:s,className:"eb-accordion-title",value:e.title})),React.createElement("div",{className:"eb-accordion-content-wrapper"},React.createElement(Q.RichText.Content,{tagName:"p",className:"eb-accordion-content",value:e.content})))}))))))}},{attributes:xt(xt({},We),{},{accordions:{type:"array",selector:".eb-accordion-wrapper",source:"query",default:[],query:{title:{type:"string",selector:".eb-accordion-title",source:"html"},content:{type:"string",selector:".eb-accordion-content",source:"html"},clickable:{type:"string",source:"attribute",attribute:"data-clickable"}}},selectedTab:{type:"string",default:""},expandedTabs:{type:"array",default:[]}}),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.accordionType,o=t.displayIcon,r=t.accordions,c=t.tabIcon,l=t.expandedIcon;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-accordion-container ".concat(a),"data-accordion-type":n||"toggle","data-tab-icon":o?c:"","data-expanded-icon":o?l:""},React.createElement("div",{className:"eb-accordion-inner"},r.map((function(e,t){return React.createElement("div",{className:"eb-accordion-wrapper","data-clickable":"".concat(e.clickable),key:t},React.createElement("div",{className:"eb-accordion-title-wrapper"},o&&React.createElement(_t,{icon:c}),React.createElement(Q.RichText.Content,{tagName:"h3",className:"eb-accordion-title",value:e.title})),React.createElement("div",{className:"eb-accordion-content-wrapper"},React.createElement(Q.RichText.Content,{tagName:"p",className:"eb-accordion-content",value:e.content})))})))))}}];(0,EBControls.ebConditionalRegisterBlockType)(Rt,{icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"49",fill:"none",viewBox:"0 0 60 49"},React.createElement("path",{fill:"#6C3BFF",d:"M13.507 17.273c0-.468-.286-.91-.91-.91h-6.39c-.649 0-.908.468-.908.91 0 .467.467.909.909.909h6.39c.623 0 .909-.442.909-.91zM8.026 39.532H5.195v-2.83c0-.468-.286-.832-.831-.832-.468 0-.832.286-.832.831v2.831h-2.7c-.468 0-.832.26-.832.806 0 .467.286.83.831.83h2.727v2.728c0 .468.286.831.832.831.545.104.83-.363.83-.83v-2.728h2.832c.467 0 .831-.286.831-.831-.026-.546-.415-.806-.857-.806zM59.09.78H17.689c-.649 0-.909.467-.909.908v30.364h-3.09c-.65 0-.91.468-.91.91v14.674c-.182.468.286.91.91.91h37.74c.649 0 .909-.468.909-.91V33.87h6.753c.65 0 .909-.467.909-.909V1.688c0-.649-.468-.909-.91-.909zm-8.752 45.584H14.779V33.87h35.559v12.494zm7.558-14.676H18.597V2.494h39.3v29.194z"}),React.createElement("path",{fill:"#6C3BFF",d:"M26.623 14.182h7.845c.83 0 1.272-.468 1.272-.91 0-.649-.65-.908-1.273-.908h-7.844c-.83 0-1.272.467-1.272.909 0 .441.649.909 1.272.909zM29.714 17.273c0 .467.468 1.09.91 1.09H47.48c.649 0 .909-.467.909-.908 0-.468-.468-1.091-.91-1.091H30.65c-.65 0-.936.467-.936.909zM26.442 18.364c.363 0 .649-.182.83-.286.183-.104.286-.468.286-.831 0-.286-.181-.65-.285-.831-.364-.182-1.091-.182-1.637.104-.181.181-.285.467-.285.83 0 .286.181.65.285.832.182.182.442.182.806.182zM47.507 21.117H30.649c-.649 0-.909.467-.909.909 0 .65.468.91.91.91h16.857c.649 0 .909-.468.909-.91 0-.468-.442-.91-.91-.91zM26.442 23.117c.363 0 .649-.182.83-.286.183-.182.286-.467.286-.831 0-.364-.181-.65-.285-.831-.364-.286-1.091-.286-1.637 0-.104.182-.285.467-.285.831 0 .364.181.65.285.831.182.182.442.286.806.286zM25.61 41.169h16.858c.649 0 .909-.468.909-.91.181-.467-.286-.908-.91-.908H25.61c-.649 0-.909.467-.909.909 0 .623.468.909.91.909zM21.61 41.532c.286 0 .65-.181.832-.285.181-.182.285-.468.285-.831 0-.364-.181-.65-.285-.832-.546-.467-1.273-.467-1.637 0-.182.182-.285.468-.285.832 0 .363.181.649.285.83.156.183.442.286.805.286z"}))},attributes:We,keywords:[(0,Y.__)("accordion","essential-blocks"),(0,Y.__)("toggle","essential-blocks"),(0,Y.__)("eb essential","essential-blocks")],edit:function(e){var t=e.attributes,a=e.setAttributes,n=e.isSelected,o=e.clientId,r=t.blockId,c=t.classHook,l=t.accordionType,i=t.displayIcon,s=t.tabIcon,b=t.expandedIcon,p=t.tagName,u=t.faqSchema,d=t.accordionChildCount,m=yt(yt({},e),{},{blockPrefix:"eb-accordion",style:React.createElement(ut,e)}),g=function(){var e,t=function(e){if(Array.isArray(e))return gt(e)}(e=(0,$.select)("core/block-editor").getBlocks(o))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return gt(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?gt(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),n=t?t.length:3,c=(0,K.createBlock)("essential-blocks/accordion-item",{itemId:n+1,title:(0,Y.__)("Accordion title ".concat(n+1),"essential-blocks"),inheritedAccordionType:l,inheritedTagName:p,inheritedDisplayIcon:i,inheritedTabIcon:s,inheritedExpandedIcon:b,parentBlockId:r});t.splice(t.length,0,c),(0,$.dispatch)("core/block-editor").replaceInnerBlocks(o,t).then((function(){a({accordionChildCount:n+1})}))};return(0,J.useEffect)((function(){s||a({tabIcon:"fas fa-angle-right"}),b||a({expandedIcon:"fas fa-angle-down"});var e=(0,$.select)("core/block-editor").getBlocksByClientId(o)[0],t=null==e?void 0:e.innerBlocks,n=(0,$.dispatch)("core/block-editor").updateBlockAttributes;t&&(0,nt.times)(t.length,(function(a){n(t[a].clientId,{itemId:a+1,inheritedAccordionType:l,inheritedDisplayIcon:i,inheritedTabIcon:s,inheritedExpandedIcon:b,inheritedTagName:p,faqSchema:u,parentBlockId:e.attributes.blockId})}))}),[]),React.createElement(React.Fragment,null,n&&React.createElement(at,mt({},e,{addAccordion:g})),React.createElement(wt.Edit,m,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(r," ").concat(c)},React.createElement("div",{className:"".concat(r," eb-accordion-container")},React.createElement("div",{className:"eb-accordion-inner"},React.createElement(Q.InnerBlocks,{template:function(e){return(0,nt.times)(e,(function(e){return["essential-blocks/accordion-item",{itemId:e+1,title:(0,Y.__)("Accordion title ".concat(e+1),"essential-blocks"),inheritedAccordionType:l,inheritedDisplayIcon:i,inheritedTabIcon:"fas fa-angle-right",inheritedExpandedIcon:"fas fa-angle-down",inheritedTagName:p,faqSchema:u,parentBlockId:r}]}))}(d),templateLock:!1,allowedBlocks:ht}))),React.createElement("div",{className:"eb-accordion-add-button"},React.createElement(X.Button,{className:"is-default",label:(0,Y.__)("Add Accordion Item","essential-blocks"),icon:"plus-alt",onClick:g},React.createElement("span",{className:"eb-accordion-add-button-label"},(0,Y.__)("Add Accordion Item","essential-blocks")))))))},save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.accordionType,r=t.displayIcon,c=t.tabIcon,l=t.expandedIcon,i=t.transitionDuration;return React.createElement(kt.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"eb-accordion-container ".concat(a),"data-accordion-type":o||"toggle","data-tab-icon":r?c:"","data-expanded-icon":r?l:"","data-transition-duration":i?1e3*Number(i):500},React.createElement("div",{className:"eb-accordion-inner"},React.createElement(Q.InnerBlocks.Content,null)))))},example:{attributes:{accordions:[{title:"Accordion Tab Title 1",content:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."},{title:"Accordion Tab Title 2",content:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."}],displayIcon:!0,tabIcon:"fas fa-angle-right"}},deprecated:Tt});var Nt=[{label:(0,Y.__)("image","essential-blocks"),value:"image"},{label:(0,Y.__)("icon","essential-blocks"),value:"icon"},{label:(0,Y.__)("Text","essential-blocks"),value:"text"},{label:(0,Y.__)("none","essential-blocks"),value:"none"}],Pt=window.EBControls,Ot=Pt.ColorControl,Mt=Pt.DynamicInputControl,Dt=Pt.EBIconPicker,jt=Pt.ImageAvatar;const It=function(e){var t=e.attributes,a=e.setAttributes,n=t.clickable,o=t.accordionColor,r=t.titleColor,c=t.iconColor,l=t.title,i=t.titlePrefixType,s=t.titlePrefixIcon,b=t.titlePrefixText,p=t.titlePrefixColor,u=t.titlePrefixImgUrl,d=t.titlePrefixImgId,m=(t.titlePrefixImgAlt,t.titleSuffixType),g=t.titleSuffixIcon,f=t.titleSuffixText,y=t.titleSuffixIconColor,v=t.titleSuffixImgUrl,h=t.titleSuffixImgId;return t.titleSuffixImgAlt,React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:"General",className:"eb-tab general"},{name:"styles",title:"Style",className:"eb-tab styles"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls "+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,null,React.createElement(X.ToggleControl,{label:(0,Y.__)("Default Open?","essential-blocks"),checked:n,onChange:function(){return a({clickable:!n})}}),React.createElement(Mt,{label:"Title Text",attrName:"titleText",inputValue:l,setAttributes:a,onChange:function(e){return a({title:e})}})),React.createElement(X.PanelBody,{title:(0,Y.__)("Title","essential-blocks")},React.createElement(X.PanelBody,{title:(0,Y.__)("Title Prefix","essential-blocks")},React.createElement(X.BaseControl,{id:"eb-accordion-image-icon"},React.createElement(X.ButtonGroup,{id:"eb-accordion-image-icon"},Nt.map((function(e,t){var n=e.label,o=e.value;return React.createElement(X.Button,{key:t,isSecondary:i!==o,isPrimary:i===o,onClick:function(){return a({titlePrefixType:o})}},n)})))),"none"!==i&&React.createElement(React.Fragment,null,"icon"===i&&React.createElement(Dt,{value:s,onChange:function(e){return a({titlePrefixIcon:e})}}),"text"===i&&React.createElement(React.Fragment,null,React.createElement(Mt,{label:"Prefix Text",attrName:"titlePrefixText",inputValue:b,setAttributes:a,onChange:function(e){return a({titlePrefixText:e})}})),("text"===i||"icon"===i)&&React.createElement(React.Fragment,null,React.createElement(Ot,{label:(0,Y.__)("Color","essential-blocks"),color:p,onChange:function(e){return a({titlePrefixColor:e})}})),"image"===i&&!u&&React.createElement(Q.MediaUpload,{onSelect:function(e){var t=e.id,n=e.url,o=e.alt;return a({titlePrefixImgUrl:n,titlePrefixImgId:t,titlePrefixImgAlt:o})},type:"image",value:d,render:function(e){var t=e.open;return React.createElement(X.Button,{className:"eb-background-control-inspector-panel-img-btn components-button",label:(0,Y.__)("Upload Image","essential-blocks"),icon:"format-image",onClick:t})}}),"image"===i&&u&&React.createElement(React.Fragment,null,React.createElement(jt,{imageUrl:u,onDeleteImage:function(){return a({titlePrefixImgUrl:null})}})))),React.createElement(X.PanelBody,{title:(0,Y.__)("Title Suffix","essential-blocks")},React.createElement(X.BaseControl,{id:"eb-accordion-image-icon"},React.createElement(X.ButtonGroup,{id:"eb-accordion-image-icon"},Nt.map((function(e,t){var n=e.label,o=e.value;return React.createElement(X.Button,{key:t,isSecondary:m!==o,isPrimary:m===o,onClick:function(){return a({titleSuffixType:o})}},n)})))),"none"!==m&&React.createElement(React.Fragment,null,"icon"===m&&React.createElement(Dt,{value:g,onChange:function(e){return a({titleSuffixIcon:e})}}),"text"===m&&React.createElement(React.Fragment,null,React.createElement(Mt,{label:"Suffix Text",attrName:"titleSuffixText",inputValue:f,setAttributes:a,onChange:function(e){return a({titleSuffixText:e})}})),("text"===m||"icon"===m)&&React.createElement(React.Fragment,null,React.createElement(Ot,{label:(0,Y.__)("Color","essential-blocks"),color:y,onChange:function(e){return a({titleSuffixIconColor:e})}})),"image"===m&&!v&&React.createElement(Q.MediaUpload,{onSelect:function(e){var t=e.id,n=e.url,o=e.alt;return a({titleSuffixImgUrl:n,titleSuffixImgId:t,titleSuffixImgAlt:o})},type:"image",value:h,render:function(e){var t=e.open;return React.createElement(X.Button,{className:"eb-background-control-inspector-panel-img-btn components-button",label:(0,Y.__)("Upload Image","essential-blocks"),icon:"format-image",onClick:t})}}),"image"===m&&v&&React.createElement(React.Fragment,null,React.createElement(jt,{imageUrl:v,onDeleteImage:function(){return a({titleSuffixImgUrl:null})}})))))),"styles"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,null,React.createElement(Ot,{label:(0,Y.__)("Accordion Background Color","essential-blocks"),color:o,onChange:function(e){return a({accordionColor:e})}}),React.createElement(Ot,{label:(0,Y.__)("Accordion Title Color","essential-blocks"),color:r,onChange:function(e){return a({titleColor:e})}}),React.createElement(Ot,{label:(0,Y.__)("Accordion Icon Color","essential-blocks"),color:c,onChange:function(e){return a({iconColor:e})}}))))}))))};var At=window.EBControls,Lt=At.softMinifyCssStrings,Ft=At.StyleComponent;function Ht(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=(t.resOption,t.blockId),r=(t.blockMeta,t.title,t.titleColor),c=(t.clickable,t.iconColor),l=t.accordionColor,i=t.parentBlockId,s=t.titlePrefixColor,b=t.titleSuffixIconColor,p=Lt("\n\t".concat(l?".".concat(i,".eb-accordion-container .").concat(o,".eb-accordion-wrapper .eb-accordion-title-wrapper {\n\t\tbackground-image: unset;\n\t\tbackground-color: ").concat(l,";\n\t}"):"","\n\t").concat(r?".".concat(i,".eb-accordion-container .").concat(o,".eb-accordion-wrapper .eb-accordion-title {\n\t\tcolor: ").concat(r,";\n\t}"):"","\n\t").concat(c?".".concat(i,".eb-accordion-container .").concat(o,".eb-accordion-wrapper .eb-accordion-icon {\n\t\tcolor: ").concat(c,";\n\t}"):"","\n        .").concat(i,".eb-accordion-container .").concat(o,".eb-accordion-wrapper .eb-accordion-title-prefix-text,\n        .").concat(i,".eb-accordion-container .").concat(o,".eb-accordion-wrapper .eb-accordion-title-prefix-icon {\n            color: ").concat(s,";\n        }\n        .").concat(i,".eb-accordion-container .").concat(o,".eb-accordion-wrapper .eb-accordion-title-suffix-text,\n        .").concat(i,".eb-accordion-container .").concat(o,".eb-accordion-wrapper .eb-accordion-title-suffix-icon {\n            color: ").concat(b,";\n        }\n\n\t")),u=Lt(""),d=Lt("");return React.createElement(React.Fragment,null,React.createElement(Ft,{attributes:t,setAttributes:a,desktopAllStyles:p,tabAllStyles:u,mobileAllStyles:d,blockName:n}))}function zt(e){return zt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},zt(e)}function qt(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Ut(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?qt(Object(a),!0).forEach((function(t){Vt(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):qt(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Vt(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=zt(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=zt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==zt(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var Wt=window.EBControls,Gt=Wt.EBDisplayIcon,Zt=Wt.getIconClass,Yt=Wt.DynamicInputValueHandler,Jt=(Wt.getBlockParentClientId,Wt.BlockProps);function Qt(){return Qt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},Qt.apply(null,arguments)}var Xt=window.EBControls,$t=Xt.getIconClass,Kt=Xt.EBDisplayIcon;const ea={resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},itemId:{type:"string"},title:{type:"string"},titleColor:{type:"string"},clickable:{type:"boolean",default:!1},accordionColor:{type:"string"},iconColor:{type:"string"},inheritedAccordionType:{type:"string",default:"accordion"},inheritedTagName:{type:"string",default:"h3"},inheritedDisplayIcon:{type:"boolean",default:!0},inheritedTabIcon:{type:"string"},inheritedExpandedIcon:{type:"string"},faqSchema:{type:"boolean",default:!1},parentBlockId:{type:"string"},titlePrefixType:{type:"string",default:"none"},titlePrefixColor:{type:"string"},titlePrefixImgUrl:{type:"string",default:""},titlePrefixImgId:{type:"string"},titlePrefixImgAlt:{type:"string"},titleSuffixType:{type:"string",default:"none"},titleSuffixIconColor:{type:"string"},titleSuffixImgUrl:{type:"string",default:""},titleSuffixImgId:{type:"string"},titleSuffixImgAlt:{type:"string"},titleSuffixText:{type:"string",default:"Suffix"},titlePrefixText:{type:"string",default:"Prefix"},titlePrefixIcon:{type:"string",default:"dashicon dashicons dashicons-admin-users"},titleSuffixIcon:{type:"string",default:"dashicon dashicons dashicons-admin-site"}};function ta(e){return ta="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ta(e)}function aa(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function na(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?aa(Object(a),!0).forEach((function(t){oa(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):aa(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function oa(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=ta(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=ta(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ta(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var ra=lodash.omit,ca=window.EBControls,la=ca.getIconClass,ia=ca.EBDisplayIcon,sa=[{attributes:na({},ea),save:function(e){var t=e.attributes,a=t.title,n=t.clickable,o=t.blockId,r=t.inheritedTagName,c=t.inheritedDisplayIcon,l=t.inheritedTabIcon,i=t.titlePrefixType,s=t.titlePrefixText,b=t.titlePrefixIcon,p=t.titlePrefixImgUrl,u=t.titlePrefixImgAlt,d=t.titleSuffixType,m=t.titleSuffixText,g=t.titleSuffixIcon,f=t.titleSuffixImgUrl,y=t.titleSuffixImgAlt;return React.createElement(React.Fragment,null,React.createElement("div",{className:"".concat(o," eb-accordion-wrapper"),"data-clickable":n},React.createElement("div",{className:"eb-accordion-title-wrapper",tabIndex:0},c&&React.createElement("span",{className:"eb-accordion-icon-wrapper"},React.createElement("span",{className:"".concat(la(l)," eb-accordion-icon")})),React.createElement("div",{className:"eb-accordion-title-content-wrap"},"none"!==i&&React.createElement(React.Fragment,null,"text"===i&&s&&React.createElement(Q.RichText.Content,{className:"eb-accordion-title-prefix-text",tagName:"span",value:s}),"icon"===i&&b&&React.createElement(ia,{icon:b,className:"eb-accordion-title-prefix-icon"}),"image"===i&&p?React.createElement("img",{className:"eb-accordion-title-prefix-img",src:p,alt:u}):null),React.createElement(Q.RichText.Content,{className:"eb-accordion-title",tagName:r,value:a}),"none"!==d&&React.createElement(React.Fragment,null,"text"===d&&m&&React.createElement(Q.RichText.Content,{className:"eb-accordion-title-suffix-text",tagName:"span",value:m}),"icon"===d&&g&&React.createElement(ia,{icon:g,className:"eb-accordion-title-suffix-icon"}),"image"===d&&f?React.createElement("img",{className:"eb-accordion-title-suffix-img",src:f,alt:y}):null))),React.createElement("div",{className:"eb-accordion-content-wrapper"},React.createElement("div",{className:"eb-accordion-content"},React.createElement(Q.InnerBlocks.Content,null)))))}},{attributes:na({},ra(na({},ea),["parentBlockId"])),save:function(e){var t=e.attributes,a=t.title,n=t.clickable,o=t.blockId,r=t.inheritedTagName,c=t.inheritedDisplayIcon,l=t.inheritedTabIcon,i=t.titlePrefixType,s=t.titlePrefixText,b=t.titlePrefixIcon,p=t.titlePrefixImgUrl,u=t.titlePrefixImgAlt,d=t.titleSuffixType,m=t.titleSuffixText,g=t.titleSuffixIcon,f=t.titleSuffixImgUrl,y=t.titleSuffixImgAlt;return React.createElement(React.Fragment,null,React.createElement("div",{className:"".concat(o," eb-accordion-wrapper"),"data-clickable":n},React.createElement("div",{className:"eb-accordion-title-wrapper",tabIndex:0},c&&React.createElement("span",{className:"eb-accordion-icon-wrapper"},React.createElement("span",{className:"".concat(la(l)," eb-accordion-icon")})),React.createElement("div",{className:"eb-accordion-title-content-wrap"},"none"!==i&&React.createElement(React.Fragment,null,"text"===i&&s&&React.createElement(Q.RichText.Content,{className:"eb-accordion-title-prefix-text",tagName:"span",value:s}),"icon"===i&&b&&React.createElement(ia,{icon:b,className:"eb-accordion-title-prefix-icon"}),"image"===i&&p?React.createElement("img",{className:"eb-accordion-title-prefix-img",src:p,alt:u}):null),React.createElement(Q.RichText.Content,{className:"eb-accordion-title",tagName:r,value:a}),"none"!==d&&React.createElement(React.Fragment,null,"text"===d&&m&&React.createElement(Q.RichText.Content,{className:"eb-accordion-title-suffix-text",tagName:"span",value:m}),"icon"===d&&g&&React.createElement(ia,{icon:g,className:"eb-accordion-title-suffix-icon"}),"image"===d&&f?React.createElement("img",{className:"eb-accordion-title-suffix-img",src:f,alt:y}):null))),React.createElement("div",{className:"eb-accordion-content-wrapper"},React.createElement("div",{className:"eb-accordion-content"},React.createElement(Q.InnerBlocks.Content,null)))))}},{attributes:na({},ra(na({},ea),["titlePrefixType","titlePrefixText","titlePrefixIcon","titlePrefixImgUrl","titlePrefixImgId","titlePrefixImgAlt","titleSuffixType","titleSuffixText","titleSuffixIcon","titleSuffixImgUrl","titleSuffixImgId","titleSuffixImgAlt"])),save:function(e){var t=e.attributes,a=t.title,n=t.clickable,o=t.blockId,r=t.inheritedTagName,c=t.inheritedDisplayIcon,l=t.inheritedTabIcon;return React.createElement(React.Fragment,null,React.createElement("div",{className:"".concat(o," eb-accordion-wrapper"),"data-clickable":n},React.createElement("div",{className:"eb-accordion-title-wrapper",tabIndex:0},c&&React.createElement("span",{className:"eb-accordion-icon-wrapper"},React.createElement("span",{className:"".concat(la(l)," eb-accordion-icon")})),React.createElement(Q.RichText.Content,{className:"eb-accordion-title",tagName:r,value:a})),React.createElement("div",{className:"eb-accordion-content-wrapper"},React.createElement("div",{className:"eb-accordion-content"},React.createElement(Q.InnerBlocks.Content,null)))))}},{attributes:na({},ea),save:function(e){var t=e.attributes,a=t.title,n=t.clickable,o=t.blockId,r=t.inheritedTagName,c=t.inheritedDisplayIcon,l=t.inheritedTabIcon;return React.createElement(React.Fragment,null,React.createElement("div",{className:"".concat(o," eb-accordion-wrapper"),"data-clickable":n},React.createElement("div",{className:"eb-accordion-title-wrapper"},c&&React.createElement("span",{className:"eb-accordion-icon-wrapper"},React.createElement("span",{className:"".concat(l," eb-accordion-icon")})),React.createElement(Q.RichText.Content,{className:"eb-accordion-title",tagName:r,value:a})),React.createElement("div",{className:"eb-accordion-content-wrapper"},React.createElement("div",{className:"eb-accordion-content"},React.createElement(Q.InnerBlocks.Content,null)))))}},{attributes:na({},ra(na({},ea),["resOption","blockId","blockRoot","blockMeta","titleColor","accordionColor","iconColor","parentBlockId"])),save:function(e){var t=e.attributes,a=t.title,n=t.clickable,o=t.inheritedTagName,r=t.inheritedDisplayIcon,c=t.inheritedTabIcon;return React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-accordion-wrapper","data-clickable":n},React.createElement("div",{className:"eb-accordion-title-wrapper"},r&&React.createElement("span",{className:"eb-accordion-icon-wrapper"},React.createElement("span",{className:"".concat(c," eb-accordion-icon")})),React.createElement(Q.RichText.Content,{className:"eb-accordion-title",tagName:o,value:a})),React.createElement("div",{className:"eb-accordion-content-wrapper"},React.createElement("div",{className:"eb-accordion-content"},React.createElement(Q.InnerBlocks.Content,null)))))}}];const ba=sa,pa=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Accordion Item","name":"essential-blocks/accordion-item","category":"essential-blocks","apiVersion":2,"textdomain":"essential-blocks","supports":{"inserter":false,"reusable":false,"html":false,"anchor":true,"lock":false},"parent":["essential-blocks/accordion"]}');function ua(){return ua=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},ua.apply(null,arguments)}(0,EBControls.ebConditionalRegisterBlockType)(pa,{icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"60",fill:"none",viewBox:"0 0 60 60"},React.createElement("path",{fill:"#6C3BFF",d:"M0 48.625c0 2.625 2.025 4.65 4.65 4.65h50.625c2.625 0 4.65-2.025 4.65-4.65V11.65c0-2.625-2.025-4.65-4.65-4.65H4.65C2.025 7 0 9.025 0 11.65v36.975zM2.475 11.65c0-1.2 1.05-2.475 2.475-2.475H55.5c1.2 0 2.475 1.05 2.475 2.475v36.975c0 1.2-1.05 2.475-2.475 2.475H4.65c-1.2 0-2.475-1.05-2.475-2.475l.3-36.975z"}),React.createElement("path",{fill:"#6C3BFF",d:"M48.088 19.03a.597.597 0 00.834 0l2.907-2.847a.567.567 0 000-.813.597.597 0 00-.835 0L48.5 17.813l-2.494-2.443a.597.597 0 00-.835 0 .567.567 0 000 .813l2.907 2.847h.01zM33.924 16.2H9.066c-.589 0-1.066.448-1.066 1s.477 1 1.066 1h24.868c.589 0 1.066-.448 1.066-1s-.477-1-1.066-1h-.01zM50.49 33.2H9.066c-.589 0-1.066.448-1.066 1s.477 1 1.066 1H50.5c.589 0 1.066-.448 1.066-1s-.477-1-1.066-1h-.01zM58.49 25.2H2.066c-.589 0-1.066.448-1.066 1s.477 1 1.066 1H58.5c.589 0 1.066-.448 1.066-1s-.477-1-1.066-1h-.01zM37.49 41.2H9.066c-.589 0-1.066.448-1.066 1s.477 1 1.066 1H37.5c.589 0 1.066-.448 1.066-1s-.477-1-1.066-1h-.01z"}))},attributes:ea,edit:function(e){var t=e.attributes,a=e.setAttributes,n=e.isSelected,o=(e.clientId,t.blockId),r=t.title,c=t.clickable,l=t.parentBlockId,i=t.inheritedTagName,s=t.inheritedDisplayIcon,b=t.inheritedTabIcon,p=t.inheritedExpandedIcon,u=t.titlePrefixType,d=t.titlePrefixText,m=t.titlePrefixIcon,g=t.titlePrefixImgUrl,f=t.titlePrefixImgId,y=t.titleSuffixType,v=t.titleSuffixText,h=t.titleSuffixIcon,w=t.titleSuffixImgUrl,k=t.titleSuffixImgId,R=Ut(Ut({},e),{},{rootClass:"eb-guten-block-main-parent-wrapper eb-accordion-item",blockPrefix:"eb-accordion-item",style:React.createElement(Ht,e)}),_=(0,J.useRef)(null);return React.createElement(React.Fragment,null,n&&React.createElement(It,e),React.createElement(Jt.Edit,R,React.createElement("div",{className:"".concat(o," eb-accordion-wrapper for_edit_page"),"data-clickable":c},React.createElement("div",{className:"eb-accordion-title-wrapper eb-accordion-title-wrapper-".concat(l),onClick:function(){var e=_.current.nextElementSibling,t=_.current.getAttribute("data-tab-icon"),a=_.current.getAttribute("data-expanded-icon"),n=_.current.children[0].children[0];if("block"===e.style.display){if(e.style.display="none","I"===n.tagName){n.removeAttribute("class"),t=Zt(t).split(" ");for(var o=0;o<t.length;o++)n.classList.add(t[o]);n.classList.add("eb-accordion-icon")}}else if(e.style.display="block",e.style.opacity="1","I"===n.tagName){n.removeAttribute("class"),a=Zt(a).split(" ");for(var r=0;r<a.length;r++)n.classList.add(a[r]);n.classList.add("eb-accordion-icon")}},ref:_,"data-tab-icon":b,"data-expanded-icon":p},s&&React.createElement("span",{className:"eb-accordion-icon-wrapper eb-accordion-icon-wrapper-".concat(l)},React.createElement(Gt,{icon:b,className:"eb-accordion-icon"})),React.createElement("div",{className:"eb-accordion-title-content-wrap title-content-".concat(l)},"none"!==u&&React.createElement(React.Fragment,null,"text"===u&&d&&React.createElement(Yt,{value:d,tagName:"span",className:"eb-accordion-title-prefix-text",onChange:function(e){return a({titlePrefixText:e})},readOnly:!0}),"icon"===u&&m&&React.createElement(Gt,{icon:m,className:"eb-accordion-title-prefix-icon"}),"image"===u?React.createElement(Q.MediaUpload,{onSelect:function(e){var t=e.id,n=e.url,o=e.alt;return a({titlePrefixImgUrl:n,titlePrefixImgId:t,titlePrefixImgAlt:o})},type:"image",value:f,render:function(e){var t=e.open;return g?React.createElement("img",{className:"eb-accordion-title-prefix-img",src:g}):React.createElement(X.Button,{className:"eb-accordion-img-btn components-button",label:(0,Y.__)("Upload Image","essential-blocks"),icon:"format-image",onClick:t})}}):null),React.createElement(Yt,{value:r,tagName:i,className:"eb-accordion-title",allowedFormats:["core/bold","core/italic","core/link","core/strikethrough","core/underline","core/text-color"],onChange:function(e){return a({title:e})},readOnly:!0}),"none"!==y&&React.createElement(React.Fragment,null,"text"===y&&v&&React.createElement(Yt,{value:v,tagName:"span",className:"eb-accordion-title-suffix-text",onChange:function(e){return a({titleSuffixText:e})},readOnly:!0}),"icon"===y&&h&&React.createElement(Gt,{icon:h,className:"eb-accordion-title-suffix-icon"}),"image"===y?React.createElement(Q.MediaUpload,{onSelect:function(e){var t=e.id,n=e.url,o=e.alt;return a({titleSuffixImgUrl:n,titleSuffixImgId:t,titleSuffixImgAlt:o})},type:"image",value:k,render:function(e){var t=e.open;return w?React.createElement("img",{className:"eb-accordion-title-suffix-img",src:w}):React.createElement(X.Button,{className:"eb-accordion-img-btn components-button",label:(0,Y.__)("Upload Image","essential-blocks"),icon:"format-image",onClick:t})}}):null))),React.createElement("div",{className:"eb-accordion-content-wrapper eb-accordion-content-wrapper-".concat(l),style:{display:"none"}},React.createElement("div",{className:"eb-accordion-content"},React.createElement(Q.InnerBlocks,{templateLock:!1}))))))},save:function(e){var t=e.attributes,a=t.title,n=t.clickable,o=t.blockId,r=t.inheritedTagName,c=t.inheritedDisplayIcon,l=t.inheritedTabIcon,i=t.titlePrefixType,s=t.titlePrefixText,b=t.titlePrefixIcon,p=t.titlePrefixImgUrl,u=t.titlePrefixImgAlt,d=t.titleSuffixType,m=t.titleSuffixText,g=t.titleSuffixIcon,f=t.titleSuffixImgUrl,y=t.titleSuffixImgAlt,v=t.parentBlockId,h=Q.useBlockProps.save({className:"".concat(o," eb-accordion-wrapper")});return React.createElement("div",Qt({},h,{"data-clickable":n}),React.createElement("div",{className:"eb-accordion-title-wrapper eb-accordion-title-wrapper-".concat(v),tabIndex:0},c&&React.createElement("span",{className:"eb-accordion-icon-wrapper eb-accordion-icon-wrapper-".concat(v)},React.createElement("span",{className:"".concat($t(l)," eb-accordion-icon")})),React.createElement("div",{className:"eb-accordion-title-content-wrap title-content-".concat(v)},"none"!==i&&React.createElement(React.Fragment,null,"text"===i&&s&&React.createElement(Q.RichText.Content,{className:"eb-accordion-title-prefix-text",tagName:"span",value:s}),"icon"===i&&b&&React.createElement(Kt,{icon:b,className:"eb-accordion-title-prefix-icon"}),"image"===i&&p?React.createElement("img",{className:"eb-accordion-title-prefix-img",src:p,alt:u}):null),React.createElement(Q.RichText.Content,{className:"eb-accordion-title",tagName:r,value:a}),"none"!==d&&React.createElement(React.Fragment,null,"text"===d&&m&&React.createElement(Q.RichText.Content,{className:"eb-accordion-title-suffix-text",tagName:"span",value:m}),"icon"===d&&g&&React.createElement(Kt,{icon:g,className:"eb-accordion-title-suffix-icon"}),"image"===d&&f?React.createElement("img",{className:"eb-accordion-title-suffix-img",src:f,alt:y}):null))),React.createElement("div",{className:"eb-accordion-content-wrapper eb-accordion-content-wrapper-".concat(v)},React.createElement("div",{className:"eb-accordion-content"},React.createElement(Q.InnerBlocks.Content,null))))},deprecated:ba});var da=window.EBControls,ma=da.EBDisplayIcon,ga=da.sanitizeURL,fa=da.BlockProps;var ya=[{label:(0,Y.__)("Default","essential-blocks"),value:"default"},{label:(0,Y.__)("Info","essential-blocks"),value:"info"},{label:(0,Y.__)("Success","essential-blocks"),value:"success"},{label:(0,Y.__)("Warning","essential-blocks"),value:"warning"},{label:(0,Y.__)("Danger","essential-blocks"),value:"danger"}],va=[{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignleft"})),value:"flex-start"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignright"})),value:"flex-end"}],ha=[{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignleft"})),value:"left"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignright"})),value:"right"}],wa=[{label:(0,Y.__)("Auto","essential-blocks"),value:"auto"},{label:(0,Y.__)("Full","essential-blocks"),value:"full"},{label:(0,Y.__)("Fixed","essential-blocks"),value:"fixed"}],ka=[{label:(0,Y.__)("Select Hover Effect","essential-blocks"),value:""},{label:(0,Y.__)("Grow","essential-blocks"),value:"hvr-grow"},{label:(0,Y.__)("Shrink","essential-blocks"),value:"hvr-shrink"},{label:(0,Y.__)("Pulse","essential-blocks"),value:"hvr-pulse"},{label:(0,Y.__)("Pulse Grow","essential-blocks"),value:"hvr-pulse-grow"},{label:(0,Y.__)("Pulse Shrink","essential-blocks"),value:"hvr-pulse-shrink"},{label:(0,Y.__)("Push","essential-blocks"),value:"hvr-push"},{label:(0,Y.__)("Pop","essential-blocks"),value:"hvr-pop"},{label:(0,Y.__)("Bounce In","essential-blocks"),value:"hvr-bounce-in"},{label:(0,Y.__)("Bounce Out","essential-blocks"),value:"hvr-bounce-out"},{label:(0,Y.__)("Rotate","essential-blocks"),value:"hvr-rotate"},{label:(0,Y.__)("Grow Rotate","essential-blocks"),value:"hvr-grow-rotate"},{label:(0,Y.__)("Float","essential-blocks"),value:"hvr-float"},{label:(0,Y.__)("Sink","essential-blocks"),value:"hvr-sink"},{label:(0,Y.__)("Bob","essential-blocks"),value:"hvr-bob"},{label:(0,Y.__)("Hang","essential-blocks"),value:"hvr-hang"},{label:(0,Y.__)("Skew","essential-blocks"),value:"hvr-skew"},{label:(0,Y.__)("Skew Forward","essential-blocks"),value:"hvr-skew-forward"},{label:(0,Y.__)("Skew Backward","essential-blocks"),value:"hvr-skew-backward"},{label:(0,Y.__)("Wobble Horizontal","essential-blocks"),value:"hvr-wobble-horizontal"},{label:(0,Y.__)("Wobble Vertical","essential-blocks"),value:"hvr-wobble-vertical"},{label:(0,Y.__)("Wobble To Bottom Right","essential-blocks"),value:"hvr-wobble-to-bottom-right"},{label:(0,Y.__)("Wobble To Top Right","essential-blocks"),value:"hvr-wobble-to-top-right"},{label:(0,Y.__)("Wobble Top","essential-blocks"),value:"hvr-wobble-top"},{label:(0,Y.__)("Wobble Bottom","essential-blocks"),value:"hvr-wobble-bottom"},{label:(0,Y.__)("Wobble Skew","essential-blocks"),value:"hvr-wobble-skew"},{label:(0,Y.__)("Buzz","essential-blocks"),value:"hvr-buzz"},{label:(0,Y.__)("Buzz Out","essential-blocks"),value:"hvr-buzz-out"},{label:(0,Y.__)("Forward","essential-blocks"),value:"hvr-forward"},{label:(0,Y.__)("Fade","essential-blocks"),value:"hvr-fade"},{label:(0,Y.__)("Back Pulse","essential-blocks"),value:"hvr-back-pulse"},{label:(0,Y.__)("Sweep To Right","essential-blocks"),value:"hvr-sweep-to-right"},{label:(0,Y.__)("Sweep To Left","essential-blocks"),value:"hvr-sweep-to-left"},{label:(0,Y.__)("Sweep To Bottom","essential-blocks"),value:"hvr-sweep-to-bottom"},{label:(0,Y.__)("Sweep To Top","essential-blocks"),value:"hvr-sweep-to-top"},{label:(0,Y.__)("Bounce To Right","essential-blocks"),value:"hvr-bounce-to-right"},{label:(0,Y.__)("Bounce To Left","essential-blocks"),value:"hvr-bounce-to-left"},{label:(0,Y.__)("Bounce To Bottom","essential-blocks"),value:"hvr-bounce-to-bottom"},{label:(0,Y.__)("Bounce To Top","essential-blocks"),value:"hvr-bounce-to-top"},{label:(0,Y.__)("Radial Out","essential-blocks"),value:"hvr-radial-out"},{label:(0,Y.__)("Radial In","essential-blocks"),value:"hvr-radial-in"},{label:(0,Y.__)("Rectangle In","essential-blocks"),value:"hvr-rectangle-in"},{label:(0,Y.__)("Rectangle Out","essential-blocks"),value:"hvr-rectangle-out"},{label:(0,Y.__)("Shutter In Horizontal","essential-blocks"),value:"hvr-shutter-in-horizontal"},{label:(0,Y.__)("Shutter Out Horizontal","essential-blocks"),value:"hvr-shutter-out-horizontal"},{label:(0,Y.__)("Shutter In Vertical","essential-blocks"),value:"hvr-shutter-in-vertical"},{label:(0,Y.__)("Shutter Out Vertical","essential-blocks"),value:"hvr-shutter-out-vertical"},{label:(0,Y.__)("Icon Back","essential-blocks"),value:"hvr-icon-back"},{label:(0,Y.__)("Icon Forward","essential-blocks"),value:"hvr-icon-forward"},{label:(0,Y.__)("Icon Down","essential-blocks"),value:"hvr-icon-down"},{label:(0,Y.__)("Icon Up","essential-blocks"),value:"hvr-icon-up"},{label:(0,Y.__)("Icon Spin","essential-blocks"),value:"hvr-icon-spin"},{label:(0,Y.__)("Icon Drop","essential-blocks"),value:"hvr-icon-drop"},{label:(0,Y.__)("Icon Fade","essential-blocks"),value:"hvr-icon-fade"},{label:(0,Y.__)("Icon Float Away","essential-blocks"),value:"hvr-icon-float-away"},{label:(0,Y.__)("Icon Sink Away","essential-blocks"),value:"hvr-icon-sink-away"},{label:(0,Y.__)("Icon Grow","essential-blocks"),value:"hvr-icon-grow"},{label:(0,Y.__)("Icon Shrink","essential-blocks"),value:"hvr-icon-shrink"},{label:(0,Y.__)("Icon Pulse","essential-blocks"),value:"hvr-icon-pulse"},{label:(0,Y.__)("Icon Pulse Grow","essential-blocks"),value:"hvr-icon-pulse-grow"},{label:(0,Y.__)("Icon Pulse Shrink","essential-blocks"),value:"hvr-icon-pulse-shrink"},{label:(0,Y.__)("Icon Push","essential-blocks"),value:"hvr-icon-push"},{label:(0,Y.__)("Icon Pop","essential-blocks"),value:"hvr-icon-pop"},{label:(0,Y.__)("Icon Bounce","essential-blocks"),value:"hvr-icon-bounce"},{label:(0,Y.__)("Icon Rotate","essential-blocks"),value:"hvr-icon-rotate"},{label:(0,Y.__)("Icon Grow Rotate","essential-blocks"),value:"hvr-icon-grow-rotate"},{label:(0,Y.__)("Icon Float","essential-blocks"),value:"hvr-icon-float"},{label:(0,Y.__)("Icon Sink","essential-blocks"),value:"hvr-icon-sink"},{label:(0,Y.__)("Icon Bob","essential-blocks"),value:"hvr-icon-bob"},{label:(0,Y.__)("Icon Hang","essential-blocks"),value:"hvr-icon-hang"},{label:(0,Y.__)("Icon Wobble Horizontal","essential-blocks"),value:"hvr-icon-wobble-horizontal"},{label:(0,Y.__)("Icon Wobble Vertical","essential-blocks"),value:"hvr-icon-wobble-vertical"},{label:(0,Y.__)("Icon Buzz","essential-blocks"),value:"hvr-icon-buzz"},{label:(0,Y.__)("Icon Buzz Out","essential-blocks"),value:"hvr-icon-buzz-out"},{label:(0,Y.__)("Curl Top Left","essential-blocks"),value:"hvr-curl-top-left"},{label:(0,Y.__)("Curl Top Right","essential-blocks"),value:"hvr-curl-top-right"},{label:(0,Y.__)("Curl Bottom Right","essential-blocks"),value:"hvr-curl-bottom-right"},{label:(0,Y.__)("Curl Bottom Left","essential-blocks"),value:"hvr-curl-bottom-left"}],Ra="btnWidth",_a="iconSize",Ea="iconSpace",Ca="wrpMargin",xa="btnPadding",Sa="btnBack",Ba="btnBrdShw",Ta="text";function Na(e){return Na="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Na(e)}function Pa(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Oa(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Pa(Object(a),!0).forEach((function(t){Ma(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Pa(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Ma(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=Na(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=Na(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Na(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var Da=window.EBControls,ja=Da.generateResponsiveRangeAttributes,Ia=Da.generateTypographyAttributes,Aa=Da.generateBorderShadowAttributes,La=Da.generateDimensionsAttributes,Fa=Da.generateBackgroundAttributes;const Ha=Oa(Oa(Oa(Oa(Oa(Oa(Oa(Oa({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},addIcon:{type:"boolean",default:!1},type:{type:"string",default:"default"},icon:{type:"string",default:"fas fa-chevron-right"},iconPosition:{type:"string",default:"left"},iconSize:{type:"string"},iconSpace:{type:"string",default:"5px"},buttonText:{type:"string",default:(0,Y.__)("Click Me!","essential-blocks")},textColor:{type:"string",default:"var(--eb-global-button-text-color)"},buttonURL:{type:"string",default:""},newWindow:{type:"boolean",default:!1},addNofollow:{type:"boolean",default:!1},buttonAlign:{type:"string",default:"center"},buttonWidth:{type:"string",default:"auto"},hoverEffect:{type:"string"},hoverTextColor:{type:"string",default:"var(--eb-global-button-text-color)"},hoverTransition:{type:"number",default:.3}},Ia(Object.values(o))),ja(Ra)),ja(_a,{noUnits:!0})),ja(Ea,{defaultRange:8,noUnits:!0})),La(xa,{top:15,right:30,bottom:15,left:30,isLinked:!1})),La(Ca,{top:28,right:0,bottom:28,left:0,isLinked:!1})),Fa(Sa,{noOverlay:!0,noMainBgi:!0,defaultFillColor:"var(--eb-global-button-background-color)",defaultHovFillColor:"var(--eb-global-tertiary-color)"})),Aa(Ba));var za=window.EBControls,qa=za.ColorControl,Ua=za.ResponsiveRangeController,Va=za.ResponsiveDimensionsControl,Wa=za.TypographyDropdown,Ga=za.BackgroundControl,Za=za.BorderShadowControl,Ya=za.AdvancedControls,Ja=za.DynamicInputControl,Qa=za.EBIconPicker;const Xa=function(e){var t=e.attributes,a=e.setAttributes,n=t.resOption,o=t.buttonText,r=t.buttonURL,c=t.newWindow,l=t.addNofollow,i=t.buttonAlign,s=t.buttonWidth,b=t.addIcon,p=t.icon,u=t.iconPosition,d=t.textColor,m=t.hoverTextColor,g=t.hoverEffect,f=t.hoverTransition,y=t.type,v={setAttributes:a,resOption:n,attributes:t,objAttributes:Ha};return React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:(0,Y.__)("General","essential-blocks"),className:"eb-tab general"},{name:"styles",title:(0,Y.__)("Style","essential-blocks"),className:"eb-tab styles"},{name:"advance",title:(0,Y.__)("Advanced","essential-blocks"),className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls "+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("General","essential-blocks")},React.createElement(X.SelectControl,{label:(0,Y.__)("Type","essential-blocks"),value:y,options:ya,onChange:function(e){return function(e){switch(a({type:e}),e){case"default":a({textColor:"#ffffff",hoverTextColor:"#ffffff",btnBackbackgroundColor:"rgba(121, 103, 255,1)",hov_btnBackbackgroundColor:"rgba(81, 63, 212,1)"});break;case"info":a({textColor:"#000000",hoverTextColor:"#000000",btnBackbackgroundColor:"rgba(13, 202, 240,1)",hov_btnBackbackgroundColor:"rgba(13, 180, 214,1)"});break;case"success":a({textColor:"#ffffff",hoverTextColor:"#ffffff",btnBackbackgroundColor:"rgba(25, 135, 84,1)",hov_btnBackbackgroundColor:"rgba(20, 108, 67,1)"});break;case"warning":a({textColor:"#000000",hoverTextColor:"#000000",btnBackbackgroundColor:"rgba(255, 193, 7,1)",hov_btnBackbackgroundColor:"rgba(224, 170, 10,1)"});break;case"danger":a({textColor:"#ffffff",hoverTextColor:"#ffffff",btnBackbackgroundColor:"rgba(220, 53, 69,1)",hov_btnBackbackgroundColor:"rgba(176, 42, 55,1)"});break;default:return!1}}(e)}}),React.createElement(Ja,{label:"Button Text",attrName:"buttonText",inputValue:o,setAttributes:a,onChange:function(e){return a({buttonText:e})}}),React.createElement(Ja,{label:"URL",attrName:"buttonURL",inputValue:r,setAttributes:a,onChange:function(e){return a({buttonURL:e})}}),r&&React.createElement(React.Fragment,null,React.createElement(X.ToggleControl,{label:(0,Y.__)("Open in New Tab","essential-blocks"),checked:c,onChange:function(){return a({newWindow:!c})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Add nofollow","essential-blocks"),checked:l,onChange:function(){return a({addNofollow:!l})}})),React.createElement(X.BaseControl,{label:(0,Y.__)("Alignment","essential-blocks")},React.createElement(X.ButtonGroup,{id:"eb-button-group-alignment"},va.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:i===e.value,isSecondary:i!==e.value,onClick:function(){return a({buttonAlign:e.value})}},e.label)})))),React.createElement(X.BaseControl,{label:(0,Y.__)("Width","essential-blocks")},React.createElement(X.ButtonGroup,{id:"eb-button-group-alignment"},wa.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:s===e.value,isSecondary:s!==e.value,onClick:function(){return a({buttonWidth:e.value})}},e.label)})))),"fixed"===s&&React.createElement(Ua,{baseLabel:(0,Y.__)("Fixed Width","essential-blocks"),controlName:Ra,resRequiredProps:v,min:100,max:900,step:1})),React.createElement(X.PanelBody,{title:(0,Y.__)("Icon","essential-blocks"),initialOpen:!1},React.createElement(X.ToggleControl,{label:(0,Y.__)("Add icon","essential-blocks"),checked:b,onChange:function(){return a({addIcon:!b})}}),b&&React.createElement(React.Fragment,null,React.createElement(Qa,{value:p,onChange:function(e){a({icon:e})}}),React.createElement(X.BaseControl,{label:(0,Y.__)("Icon Postion","essential-blocks")},React.createElement(X.ButtonGroup,{id:"eb-button-group-alignment"},ha.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:u===e.value,isSecondary:u!==e.value,onClick:function(){return a({iconPosition:e.value})}},e.label)})))),React.createElement(Ua,{baseLabel:(0,Y.__)("Size","essential-blocks"),controlName:_a,resRequiredProps:v,noUnits:!0}),React.createElement(Ua,{baseLabel:(0,Y.__)("Gap","essential-blocks"),controlName:Ea,resRequiredProps:v,noUnits:!0})))),"styles"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Styles","essential-blocks"),initialOpen:!0},React.createElement(React.Fragment,null,React.createElement(Wa,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:Ta,resRequiredProps:v}),React.createElement(qa,{label:(0,Y.__)("Text Color","essential-blocks"),color:d,onChange:function(e){return a({textColor:e})}}),React.createElement(qa,{label:(0,Y.__)("Text Hover Color","essential-blocks"),color:m,onChange:function(e){return a({hoverTextColor:e})}}),React.createElement(X.__experimentalDivider,null),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Background","essential-blocks"))),React.createElement(Ga,{controlName:Sa,resRequiredProps:v,noOverlay:!0,noMainBgi:!0}),React.createElement(X.__experimentalDivider,null),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Border","essential-blocks"))),React.createElement(Za,{controlName:Ba,resRequiredProps:v}),React.createElement(Va,{resRequiredProps:v,controlName:xa,baseLabel:(0,Y.__)("Padding","essential-blocks")})))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,null,React.createElement(Va,{resRequiredProps:v,controlName:Ca,baseLabel:(0,Y.__)("Margin","essential-blocks")}),React.createElement(X.SelectControl,{label:(0,Y.__)("Hover Effect","essential-blocks"),value:g,options:ka,onChange:function(e){return a({hoverEffect:e})}}),g&&React.createElement(X.RangeControl,{label:(0,Y.__)("Hover Transition","essential-blocks"),value:f,onChange:function(e){return a({hoverTransition:e})},step:.01,min:0,max:5})),React.createElement(Ya,{attributes:t,setAttributes:a})))}))))};var $a=window.EBControls,Ka=$a.softMinifyCssStrings,en=$a.generateDimensionsControlStyles,tn=$a.generateBorderShadowStyles,an=$a.generateTypographyStyles,nn=$a.generateBackgroundControlStyles,on=$a.generateResponsiveRangeStyles,rn=$a.StyleComponent;function cn(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=(t.blockMeta,t.blockId),r=(t.resOption,t.buttonWidth),c=t.addIcon,l=t.iconPosition,i=t.hoverTextColor,s=t.textColor,b=t.buttonAlign,p=t.hoverEffect,u=t.hoverTransition,d=en({controlName:xa,styleFor:"padding",attributes:t}),m=d.dimensionStylesDesktop,g=d.dimensionStylesTab,f=d.dimensionStylesMobile,y=on({controlName:Ra,property:"width",attributes:t}),v=y.rangeStylesDesktop,h=y.rangeStylesTab,w=y.rangeStylesMobile,k=on({controlName:_a,property:"font-size",attributes:t,customUnit:"px"}),R=k.rangeStylesDesktop,_=k.rangeStylesTab,E=k.rangeStylesMobile,C=on({controlName:Ea,property:"margin-left",attributes:t,customUnit:"px"}),x=C.rangeStylesDesktop,S=C.rangeStylesTab,B=C.rangeStylesMobile,T=on({controlName:Ea,property:"margin-right",attributes:t,customUnit:"px"}),N=T.rangeStylesDesktop,P=T.rangeStylesTab,O=T.rangeStylesMobile,M=nn({attributes:t,controlName:Sa}),D=M.backgroundStylesDesktop,j=M.hoverBackgroundStylesDesktop,I=(M.backgroundStylesTab,M.hoverBackgroundStylesTab),A=(M.backgroundStylesMobile,M.hoverBackgroundStylesMobile),L=M.bgTransitionStyle,F=tn({controlName:Ba,attributes:t}),H=F.styesDesktop,z=F.styesTab,q=F.styesMobile,U=F.stylesHoverDesktop,V=F.stylesHoverTab,W=F.stylesHoverMobile,G=F.transitionStyle,Z=an({attributes:t,prefixConstant:Ta}),Y=Z.typoStylesDesktop,J=Z.typoStylesTab,Q=Z.typoStylesMobile,X=en({controlName:Ca,styleFor:"margin",attributes:t}),$=X.dimensionStylesDesktop,K=X.dimensionStylesTab,ee=X.dimensionStylesMobile,te="\n\t\t.eb-button-wrapper.".concat(o," {\n\t\t\t").concat($,"\n\t\t}\n\n\t\t.eb-button-wrapper.").concat(o,".eb-button-alignment {\n\t\t\talign-items: ").concat(b,";\n\t\t}\n\n\t\t.eb-button-wrapper.").concat(o," .eb-button {\n\t\t\tjustify-content: ").concat(b,";\n\t\t}\n\n\t\t.eb-button-wrapper.").concat(o," .eb-button-anchor {\n\t\t\t").concat(D,"\n\t\t\t").concat(H,"\n\t\t\t").concat(Y,"\n\t\t\t").concat(m,"\n\t\t\t").concat(s?"color: ".concat(s,";"):"","\n\t\t\ttransition: ").concat(u?"all ".concat(u,"s,"):""," ").concat(L,", ").concat(G,";\n\t\t}\n\n\t\t").concat(p?".eb-button-wrapper.".concat(o," .eb-button-anchor:before {\n\t\t\t\t").concat(j,"\n                ").concat(U||H,"\n                ").concat(i?"color: ".concat(i,";"):"","\n\t\t\t}\n\t\t\t"):"","\n\n\t\t.eb-button-wrapper.").concat(o," .eb-button-anchor:hover {\n\t\t\t").concat(j,"\n\t\t\t").concat(U,"\n\t\t\t").concat(i?"color: ".concat(i,";"):"","\n\t\t}\n\n\t\t").concat("auto"!==r?"full"===r?"\n\t\t\t\t\t.eb-button-wrapper.".concat(o," .eb-button-anchor {\n\t\t\t\t\t\twidth: 100%;\n\t\t\t\t\t}"):".eb-button-wrapper.".concat(o," .eb-button-anchor {\n\t\t\t\t\t\t\t").concat(v,"\n\t\t\t\t\t\t}"):"","\n\n\t\t").concat(c?".eb-button-wrapper.".concat(o," .eb-button-icon {\n\t\t\t\t\t").concat(R,"\n\t\t\t\t\t").concat("left"===l?N:x,"\n\t\t\t\t}"):"","\n\t"),ae="\n\t\t.eb-button-wrapper.".concat(o," {\n\t\t\t").concat(K,"\n\t\t}\n\n\t\t.eb-button-wrapper.").concat(o," .eb-button-anchor {\n\t\t\t").concat(z,"\n\t\t\t").concat(J,"\n\t\t\t").concat(g,"\n\t\t}\n\n\t\t.eb-button-wrapper.").concat(o," .eb-button-anchor:hover {\n\t\t\t").concat(V,"\n\t\t}\n\n\t\t").concat("fixed"===r?".eb-button-wrapper.".concat(o," .eb-button-anchor {\n\t\t\t\t\t").concat(h,"\n\t\t\t\t}"):"","\n\n\t\t").concat(c?".eb-button-wrapper.".concat(o," .eb-button-icon {\n\t\t\t\t\t").concat(_,"\n\t\t\t\t\t").concat("left"===l?P:S,"\n\t\t\t\t}"):"","\n\n        ").concat(p?".eb-button-wrapper.".concat(o," .eb-button-anchor:before {\n\t\t\t\t").concat(I,"\n                ").concat(V||H,"\n\t\t\t}\n\t\t\t"):"","\n\t"),ne="\n\t\t.eb-button-wrapper.".concat(o," {\n\t\t\t").concat(ee,"\n\t\t}\n\n\t\t.eb-button-wrapper.").concat(o," .eb-button-anchor {\n\t\t\t").concat(q,"\n\t\t\t").concat(Q,"\n\t\t\t").concat(f,"\n\t\t}\n\n\t\t.eb-button-wrapper.").concat(o," .eb-button-anchor:hover {\n\t\t\t").concat(W,"\n\t\t}\n\n\t\t").concat("fixed"===r?".eb-button-wrapper.".concat(o," .eb-button-anchor {\n\t\t\t\t\t").concat(w,"\n\t\t\t\t}"):"","\n\n\t\t").concat(c?".eb-button-wrapper.".concat(o," .eb-button-icon {\n\t\t\t\t\t").concat(E,"\n\t\t\t\t\t").concat("left"===l?O:B,"\n\t\t\t\t}"):"","\n\n        ").concat(p?".eb-button-wrapper.".concat(o," .eb-button-anchor:before {\n\t\t\t\t").concat(A,"\n                ").concat(W||H,"\n\t\t\t}\n\t\t\t"):"","\n\t"),oe=Ka("\n\t\t\t".concat(te,"\n\t\t")),re=Ka("\n\t\t\t".concat(ae,"\n\t\t")),ce=Ka("\n\t\t\t".concat(ne,"\n\t\t"));return React.createElement(React.Fragment,null,React.createElement(rn,{attributes:t,setAttributes:a,desktopAllStyles:oe,tabAllStyles:re,mobileAllStyles:ce,blockName:n}))}function ln(e){return ln="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ln(e)}function sn(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function bn(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?sn(Object(a),!0).forEach((function(t){pn(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):sn(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function pn(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=ln(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=ln(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ln(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var un=window.EBControls,dn=(un.duplicateBlockIdFix,un.DynamicInputValueHandler),mn=un.EBDisplayIcon,gn=un.BlockProps;function fn(e){return fn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fn(e)}function yn(){return yn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},yn.apply(null,arguments)}function vn(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function hn(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?vn(Object(a),!0).forEach((function(t){wn(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):vn(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function wn(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=fn(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=fn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==fn(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var kn=lodash.omit,Rn=window.EBControls,_n=Rn.sanitizeURL,En=Rn.EBDisplayIcon,Cn=[{attributes:hn({},Ha),save:function(e){var t=e.attributes,a=t.blockId,n=t.buttonText,o=t.iconPosition,r=t.addIcon,c=t.icon,l=t.buttonURL,i=t.newWindow,s=t.addNofollow,b=t.hoverEffect,p=t.classHook;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(p)},React.createElement("div",{className:"eb-button-wrapper eb-button-alignment ".concat(a)},React.createElement("div",{className:"eb-button"},React.createElement("a",yn({className:"eb-button-anchor".concat(b?" ".concat(b):""),href:l||""},i&&{target:"_blank"},{rel:s?"nofollow noopener":"noopener"}),r&&"left"===o?React.createElement(En,{icon:c,className:"eb-button-icon eb-button-icon-left hvr-icon"}):"",React.createElement(Q.RichText.Content,{value:n}),r&&"right"===o?React.createElement(En,{icon:c,className:"eb-button-icon eb-button-icon-right hvr-icon"}):"")))))}},{attributes:hn({},Ha),save:function(e){var t=e.attributes,a=t.blockId,n=t.buttonText,o=t.iconPosition,r=t.addIcon,c=t.icon,l=t.buttonURL,i=t.newWindow,s=t.addNofollow,b=t.hoverEffect,p=t.classHook;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(p)},React.createElement("div",{className:"eb-button-wrapper eb-button-alignment ".concat(a)},React.createElement("div",{className:"eb-button"},React.createElement("a",yn({className:"eb-button-anchor".concat(b?" ".concat(b):""),href:l?_n(l):""},i&&{target:"_blank"},{rel:s?"nofollow noopener":"noopener"}),r&&"left"===o?React.createElement("i",{className:"".concat(c," eb-button-icon eb-button-icon-left hvr-icon")}):"",React.createElement(Q.RichText.Content,{value:n}),r&&"right"===o?React.createElement("i",{className:"".concat(c," eb-button-icon eb-button-icon-right hvr-icon")}):"")))))}},{attributes:hn({},Ha),save:function(e){var t=e.attributes,a=t.blockId,n=t.buttonText,o=t.iconPosition,r=t.addIcon,c=t.icon,l=t.buttonURL,i=t.newWindow,s=t.hoverEffect,b=t.type;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-button-wrapper eb-button-alignment ".concat(a)},React.createElement("div",{className:"eb-button eb-button-".concat(b)},React.createElement("a",yn({className:"eb-button-anchor".concat(s?" ".concat(s):""),href:l?_n(l):""},i&&{target:"_blank"},{rel:"noopener"}),r&&"left"===o?React.createElement("i",{className:"".concat(c," eb-button-icon eb-button-icon-left hvr-icon")}):"",React.createElement(Q.RichText.Content,{value:n}),r&&"right"===o?React.createElement("i",{className:"".concat(c," eb-button-icon eb-button-icon-right hvr-icon")}):""))))}},{attributes:kn(hn(hn({},Ha),{},{type:{type:"string",default:"default"}}),["hoverTransition"]),save:function(e){var t=e.attributes,a=t.blockId,n=t.buttonText,o=t.iconPosition,r=t.addIcon,c=t.icon,l=t.buttonURL,i=t.newWindow,s=t.hoverEffect;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-button-wrapper eb-button-alignment ".concat(a)},React.createElement("div",{className:"eb-button"},React.createElement("a",yn({className:"eb-button-anchor".concat(s?" ".concat(s):""),href:l?_n(l):""},i&&{target:"_blank"},{rel:"noopener"}),r&&"left"===o?React.createElement("i",{className:"".concat(c," eb-button-icon eb-button-icon-left hvr-icon")}):"",React.createElement(Q.RichText.Content,{value:n}),r&&"right"===o?React.createElement("i",{className:"".concat(c," eb-button-icon eb-button-icon-right hvr-icon")}):""))))}},{attributes:kn(hn(hn({},Ha),{},{buttonSize:{type:"string",default:"medium"}}),["hoverTransition"]),save:function(e){var t=e.attributes,a=t.blockId,n=t.buttonText,o=t.iconPosition,r=t.addIcon,c=t.icon,l=t.buttonSize,i=t.buttonURL,s=t.newWindow,b=t.hoverEffect;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-button-wrapper eb-button-alignment ".concat(a)},React.createElement("div",{className:"eb-button"},React.createElement("a",yn({className:"eb-button-anchor is-".concat(l).concat(b?" ".concat(b):""),href:i?_n(i):""},s&&{target:"_blank"},{rel:"noopener"}),r&&"left"===o?React.createElement("i",{className:"".concat(c," eb-button-icon eb-button-icon-left hvr-icon")}):"",React.createElement(Q.RichText.Content,{value:n}),r&&"right"===o?React.createElement("i",{className:"".concat(c," eb-button-icon eb-button-icon-right hvr-icon")}):""))))}}];const xn=Cn,Sn=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Button","name":"essential-blocks/button","category":"essential-blocks","description":"Create a stunning button through the button block. You can make it look outstanding by adding exclusive button styles & effects and add links to redirect your visitors to a specific page.","apiVersion":2,"textdomain":"essential-blocks","editorScript":"essential-blocks-editor-script","supports":{"anchor":true,"align":["wide","full"]}}');(0,EBControls.ebConditionalRegisterBlockType)(Sn,{icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"68",height:"33",fill:"none",viewBox:"0 0 68 33"},React.createElement("path",{fill:"#6C3BFF",fillRule:"evenodd",d:"M6.1 3.579c-1.557 0-2.45 1.04-2.45 1.907v22.628c0 .867.893 1.907 2.45 1.907h55.8c1.514 0 2.478-1.013 2.55-1.95V5.486c0-.867-.893-1.907-2.45-1.907H6.1zM.95 5.486C.95 2.752 3.457.879 6.1.879H62c2.643 0 5.15 1.873 5.15 4.607v22.666l-.002.037c-.148 2.654-2.58 4.532-5.248 4.532H6.1c-2.643 0-5.15-1.873-5.15-4.607V5.486z",clipRule:"evenodd"}),React.createElement("path",{fill:"#6C3BFF",fillRule:"evenodd",d:"M13.85 16.8c0-.746.604-1.35 1.35-1.35h35.1a1.35 1.35 0 110 2.7H15.2a1.35 1.35 0 01-1.35-1.35z",clipRule:"evenodd"}))},attributes:Ha,keywords:[(0,Y.__)("button","essential-blocks"),(0,Y.__)("eb essential","essential-blocks"),(0,Y.__)("link","essential-blocks")],edit:function(e){var t=e.attributes,a=e.setAttributes,n=e.isSelected,o=(e.clientId,e.className,e.name,t.blockMeta,t.blockId),r=(t.resOption,t.addIcon),c=t.icon,l=t.iconPosition,i=t.buttonText,s=t.buttonURL,b=t.buttonAlign,p=t.hoverEffect,u=t.classHook,d=t.type,m=bn(bn({},e),{},{blockPrefix:"eb-button",style:React.createElement(cn,e)});return React.createElement(React.Fragment,null,n&&React.createElement(Xa,e),React.createElement(Q.BlockControls,null,React.createElement(Q.BlockAlignmentToolbar,{value:b,onChange:function(e){return function(e){switch(e){case"left":a({buttonAlign:"flex-start"});break;case"center":a({buttonAlign:"center"});break;case"right":a({buttonAlign:"flex-end"})}}(e)},controls:["left","center","right"]})),React.createElement(gn.Edit,m,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(o," ").concat(u)},React.createElement("div",{className:"eb-button-wrapper eb-button-alignment ".concat(o)},React.createElement("div",{className:"eb-button eb-button-".concat(d)},React.createElement("a",{className:"eb-button-anchor".concat(p?" ".concat(p):"")},r&&"left"===l?React.createElement(mn,{icon:c,className:"eb-button-icon eb-button-icon-left hvr-icon"}):"",React.createElement(dn,{placeholder:(0,Y.__)("Add Text..","essential-blocks"),className:"eb-button-text",value:i,onChange:function(e){return a({buttonText:e})},allowedFormats:["core/bold","core/italic","core/strikethrough"]}),r&&"right"===l?React.createElement(mn,{icon:c,className:"eb-button-icon eb-button-icon-left hvr-icon"}):"")),n&&React.createElement("div",{className:"eb-button-link"},React.createElement(X.Dashicon,{icon:"admin-links"}),React.createElement(Q.URLInput,{value:s,onChange:function(e){return a({buttonURL:e})}}))))))},save:function(e){var t=e.attributes,a=t.blockId,n=t.buttonText,o=t.iconPosition,r=t.addIcon,c=t.icon,l=t.buttonURL,i=t.newWindow,s=t.addNofollow,b=t.hoverEffect,p=t.classHook;return React.createElement(fa.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(p)},React.createElement("div",{className:"eb-button-wrapper eb-button-alignment ".concat(a)},React.createElement("div",{className:"eb-button"},React.createElement("a",ua({className:"eb-button-anchor".concat(b?" ".concat(b):""),href:l?ga(l):""},i&&{target:"_blank"},{rel:s?"nofollow noopener":"noopener"}),r&&"left"===o?React.createElement(ma,{icon:c,className:"eb-button-icon eb-button-icon-left hvr-icon"}):"",React.createElement(Q.RichText.Content,{value:n}),r&&"right"===o?React.createElement(ma,{icon:c,className:"eb-button-icon eb-button-icon-right hvr-icon"}):"")))))},example:{attributes:{buttonText:"Submit"}},deprecated:xn});var Bn=[{label:(0,Y.__)("Basic","essential-blocks"),value:"basic"},{label:(0,Y.__)("Inline","essential-blocks"),value:"inline"}],Tn=((0,Y.__)("Left","essential-blocks"),(0,Y.__)("Center","essential-blocks"),(0,Y.__)("Right","essential-blocks"),[{label:(0,Y.__)("H1","essential-blocks"),value:"h1"},{label:(0,Y.__)("H2","essential-blocks"),value:"h2"},{label:(0,Y.__)("H3","essential-blocks"),value:"h3"},{label:(0,Y.__)("H4","essential-blocks"),value:"h4"},{label:(0,Y.__)("H5","essential-blocks"),value:"h5"},{label:(0,Y.__)("H6","essential-blocks"),value:"h6"}]),Nn=[{label:"Small",value:"small"},{label:"Medium",value:"medium"},{label:"Large",value:"large"},{label:"Extra Large",value:"extra-large"},{label:"Custom",value:"custom"}],Pn=[{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignleft"})),value:"flex-start"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignright"})),value:"flex-end"}],On=[{label:(0,Y.__)("Select Hover Effect","essential-blocks"),value:""},{label:(0,Y.__)("Grow","essential-blocks"),value:"hvr-grow"},{label:(0,Y.__)("Shrink","essential-blocks"),value:"hvr-shrink"},{label:(0,Y.__)("Pulse","essential-blocks"),value:"hvr-pulse"},{label:(0,Y.__)("Pulse Grow","essential-blocks"),value:"hvr-pulse-grow"},{label:(0,Y.__)("Pulse Shrink","essential-blocks"),value:"hvr-pulse-shrink"},{label:(0,Y.__)("Push","essential-blocks"),value:"hvr-push"},{label:(0,Y.__)("Pop","essential-blocks"),value:"hvr-pop"},{label:(0,Y.__)("Bounce In","essential-blocks"),value:"hvr-bounce-in"},{label:(0,Y.__)("Bounce Out","essential-blocks"),value:"hvr-bounce-out"},{label:(0,Y.__)("Rotate","essential-blocks"),value:"hvr-rotate"},{label:(0,Y.__)("Grow Rotate","essential-blocks"),value:"hvr-grow-rotate"},{label:(0,Y.__)("Float","essential-blocks"),value:"hvr-float"},{label:(0,Y.__)("Sink","essential-blocks"),value:"hvr-sink"},{label:(0,Y.__)("Bob","essential-blocks"),value:"hvr-bob"},{label:(0,Y.__)("Hang","essential-blocks"),value:"hvr-hang"},{label:(0,Y.__)("Skew","essential-blocks"),value:"hvr-skew"},{label:(0,Y.__)("Skew Forward","essential-blocks"),value:"hvr-skew-forward"},{label:(0,Y.__)("Skew Backward","essential-blocks"),value:"hvr-skew-backward"},{label:(0,Y.__)("Wobble Horizontal","essential-blocks"),value:"hvr-wobble-horizontal"},{label:(0,Y.__)("Wobble Vertical","essential-blocks"),value:"hvr-wobble-vertical"},{label:(0,Y.__)("Wobble To Bottom Right","essential-blocks"),value:"hvr-wobble-to-bottom-right"},{label:(0,Y.__)("Wobble To Top Right","essential-blocks"),value:"hvr-wobble-to-top-right"},{label:(0,Y.__)("Wobble Top","essential-blocks"),value:"hvr-wobble-top"},{label:(0,Y.__)("Wobble Bottom","essential-blocks"),value:"hvr-wobble-bottom"},{label:(0,Y.__)("Wobble Skew","essential-blocks"),value:"hvr-wobble-skew"},{label:(0,Y.__)("Buzz","essential-blocks"),value:"hvr-buzz"},{label:(0,Y.__)("Buzz Out","essential-blocks"),value:"hvr-buzz-out"},{label:(0,Y.__)("Forward","essential-blocks"),value:"hvr-forward"},{label:(0,Y.__)("Fade","essential-blocks"),value:"hvr-fade"},{label:(0,Y.__)("Back Pulse","essential-blocks"),value:"hvr-back-pulse"},{label:(0,Y.__)("Sweep To Right","essential-blocks"),value:"hvr-sweep-to-right"},{label:(0,Y.__)("Sweep To Left","essential-blocks"),value:"hvr-sweep-to-left"},{label:(0,Y.__)("Sweep To Bottom","essential-blocks"),value:"hvr-sweep-to-bottom"},{label:(0,Y.__)("Sweep To Top","essential-blocks"),value:"hvr-sweep-to-top"},{label:(0,Y.__)("Bounce To Right","essential-blocks"),value:"hvr-bounce-to-right"},{label:(0,Y.__)("Bounce To Left","essential-blocks"),value:"hvr-bounce-to-left"},{label:(0,Y.__)("Bounce To Bottom","essential-blocks"),value:"hvr-bounce-to-bottom"},{label:(0,Y.__)("Bounce To Top","essential-blocks"),value:"hvr-bounce-to-top"},{label:(0,Y.__)("Radial Out","essential-blocks"),value:"hvr-radial-out"},{label:(0,Y.__)("Radial In","essential-blocks"),value:"hvr-radial-in"},{label:(0,Y.__)("Rectangle In","essential-blocks"),value:"hvr-rectangle-in"},{label:(0,Y.__)("Rectangle Out","essential-blocks"),value:"hvr-rectangle-out"},{label:(0,Y.__)("Shutter In Horizontal","essential-blocks"),value:"hvr-shutter-in-horizontal"},{label:(0,Y.__)("Shutter Out Horizontal","essential-blocks"),value:"hvr-shutter-out-horizontal"},{label:(0,Y.__)("Shutter In Vertical","essential-blocks"),value:"hvr-shutter-in-vertical"},{label:(0,Y.__)("Shutter Out Vertical","essential-blocks"),value:"hvr-shutter-out-vertical"},{label:(0,Y.__)("Curl Top Left","essential-blocks"),value:"hvr-curl-top-left"},{label:(0,Y.__)("Curl Top Right","essential-blocks"),value:"hvr-curl-top-right"},{label:(0,Y.__)("Curl Bottom Right","essential-blocks"),value:"hvr-curl-bottom-right"},{label:(0,Y.__)("Curl Bottom Left","essential-blocks"),value:"hvr-curl-bottom-left"}],Mn="wrpMargin",Dn="wrpPadding",jn="titleMargin",In="subtitleMargin",An="btnPadding",Ln="iconPadding",Fn="descPadding",Hn="wrpBack",zn="wrpBrd",qn="btnBrd",Un="iconSize",Vn="title",Wn="subtitle",Gn="desc",Zn="btn";function Yn(e){return Yn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Yn(e)}function Jn(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Qn(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Jn(Object(a),!0).forEach((function(t){Xn(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Jn(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Xn(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=Yn(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=Yn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Yn(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var $n=window.EBControls,Kn=$n.generateTypographyAttributes,eo=$n.generateResponsiveRangeAttributes,to=$n.generateDimensionsAttributes,ao=$n.generateBackgroundAttributes,no=$n.generateBorderShadowAttributes;const oo=Qn(Qn(Qn(Qn(Qn(Qn(Qn(Qn(Qn(Qn(Qn(Qn({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},contentStyle:{type:"string",default:"basic"},contentAlign:{type:"string",default:"center"},showIcon:{type:"boolean",default:!0},icon:{type:"string",source:"attribute",selector:".eb-cia-wrapper",attribute:"data-icon",default:"fas fa-glass-martini"},iconColor:{type:"string",default:"var(--eb-global-primary-color)"},sortableLists:{type:"array",default:[{label:(0,Y.__)("Icon","essential-blocks"),value:"icon"},{label:(0,Y.__)("Subtitle","essential-blocks"),value:"subtitle"},{label:(0,Y.__)("Title","essential-blocks"),value:"title"},{label:(0,Y.__)("Description","essential-blocks"),value:"description"}]},title:{type:"string",selector:".eb-cia-title",default:"Essential Blocks for Gutenberg"},titleTag:{type:"string",default:"h3"},titleColor:{type:"string",default:"var(--eb-global-heading-color)"},showSubtitle:{type:"boolean",default:!1},subtitle:{type:"string",selector:".eb-cia-subtitle"},subtitleTag:{type:"string",default:"h3"},subtitleColor:{type:"string",default:"var(--eb-global-text-color)"},description:{type:"string",selector:".eb-cia-description",default:"Add a strong one liner supporting the heading above and giving users a reason to click on the button below."},descriptionColor:{type:"string",default:"var(--eb-global-text-color)"},showButton:{type:"boolean",default:!0},buttonText:{type:"string",souce:"html",selector:".eb-cia-button",default:"Button Text"},buttonURL:{type:"string"},linkNewTab:{type:"boolean",default:!1},buttonSize:{type:"string",default:"large"},buttonBackgroundColor:{type:"string",default:"var(--eb-global-button-background-color)"},buttonHoverBackgroundColor:{type:"string",default:"var(--eb-global-tertiary-color)"},buttonTextColor:{type:"string",default:"var(--eb-global-button-text-color)"},buttonHoverTextColor:{type:"string",default:"var(--eb-global-button-text-color)"},buttonPosition:{type:"string",default:"center"},btnHoverEffect:{type:"string"}},Kn(Object.values(r))),to(Mn,{top:28,right:0,bottom:28,left:0,isLinked:!1})),to(Dn)),to(jn)),to(In)),to(An)),to(Ln)),to(Fn)),ao(Hn,{defaultFillColor:"var(--eb-global-background-color)"})),no(zn)),no(qn)),eo(Un));var ro=window.EBControls,co=ro.ColorControl,lo=ro.ResponsiveDimensionsControl,io=ro.TypographyDropdown,so=ro.BackgroundControl,bo=ro.BorderShadowControl,po=ro.ResponsiveRangeController,uo=ro.AdvancedControls,mo=ro.EBIconPicker,go=ro.DynamicInputControl,fo=ro.SortControl;const yo=function(e){var t=e.attributes,a=e.setAttributes,n=t.resOption,o=t.contentStyle,r=t.showIcon,c=t.icon,l=t.iconColor,i=t.title,s=t.titleTag,b=t.titleColor,p=t.showSubtitle,u=t.subtitle,d=t.subtitleColor,m=t.sortableLists,g=t.description,f=t.descriptionColor,y=t.showButton,v=t.buttonSize,h=t.buttonBackgroundColor,w=t.buttonTextColor,k=t.buttonHoverTextColor,R=t.buttonHoverBackgroundColor,_=t.buttonText,E=t.buttonURL,C=t.linkNewTab,x=t.buttonPosition,S=t.btnHoverEffect,B={setAttributes:a,resOption:n,attributes:t,objAttributes:oo};return React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:(0,Y.__)("General","essential-blocks"),className:"eb-tab general"},{name:"styles",title:(0,Y.__)("Style","essential-blocks"),className:"eb-tab styles"},{name:"advance",title:(0,Y.__)("Advanced","essential-blocks"),className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls "+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Content Settings","essential-blocks")},React.createElement(X.SelectControl,{label:(0,Y.__)("Content Style","essential-blocks"),value:o,options:Bn,onChange:function(e){return a({contentStyle:e})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Subtitle","essential-blocks"),checked:p,onChange:function(){return a({showSubtitle:!p})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Icon","essential-blocks"),checked:r,onChange:function(){return a({showIcon:!r})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Button","essential-blocks"),checked:y,onChange:function(){return a({showButton:!y})}}),React.createElement(go,{label:(0,Y.__)("Title","essential-blocks"),attrName:"title",inputValue:i,setAttributes:a,onChange:function(e){return a({title:e})}}),p&&React.createElement(React.Fragment,null,React.createElement(go,{label:(0,Y.__)("Subtitle","essential-blocks"),attrName:"subtitle",inputValue:u,setAttributes:a,onChange:function(e){return a({subtitle:e})}})),React.createElement(go,{label:(0,Y.__)("Description","essential-blocks"),attrName:"description",inputValue:g,setAttributes:a,onChange:function(e){return a({description:e})},isTextarea:!0}),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Sorting","essential-blocks"))),React.createElement(fo,{items:m,labelKey:"label",onSortEnd:function(e){return a({sortableLists:e})},hasSettings:!1,hasAddButton:!1,hasDelete:!1})),r&&React.createElement(X.PanelBody,{title:(0,Y.__)("Icon Settings","essential-blocks"),initialOpen:!1},React.createElement(X.BaseControl,null,React.createElement(mo,{value:c,onChange:function(e){return a({icon:e})}})),React.createElement(po,{baseLabel:(0,Y.__)("Size","essential-blocks"),controlName:Un,resRequiredProps:B,min:0,max:100,step:1,noUnits:!0})),y&&React.createElement(X.PanelBody,{title:(0,Y.__)("Button Settings","essential-blocks"),initialOpen:!1},React.createElement(X.BaseControl,{label:(0,Y.__)("Alignment","essential-blocks"),id:"eb-button-group-alignment"},React.createElement(X.ButtonGroup,{id:"eb-button-group-alignment"},Pn.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:x===e.value,isSecondary:x!==e.value,onClick:function(){return a({buttonPosition:e.value})}},e.label)})))),React.createElement(X.SelectControl,{label:(0,Y.__)("Button Size","essential-blocks"),value:v,options:Nn,onChange:function(e){return a({buttonSize:e})}}),"custom"===v&&React.createElement(lo,{resRequiredProps:B,controlName:An,baseLabel:(0,Y.__)("Padding","essential-blocks")}),React.createElement(go,{label:(0,Y.__)("Button Text","essential-blocks"),attrName:"buttonText",inputValue:_,setAttributes:a,onChange:function(e){return a({buttonText:e})}}),React.createElement(go,{label:(0,Y.__)("Button Link","essential-blocks"),attrName:"buttonURL",inputValue:E,setAttributes:a,onChange:function(e){return a({buttonURL:e})},help:(0,Y.__)("Use https or http","essential-blocks")}),E&&React.createElement(X.ToggleControl,{label:(0,Y.__)("Open in New Tab","essential-blocks"),checked:C,onChange:function(){return a({linkNewTab:!C})}}),React.createElement(X.SelectControl,{label:(0,Y.__)("Hover Effect","essential-blocks"),value:S,options:On,onChange:function(e){return a({btnHoverEffect:e})}}))),"styles"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Title","essential-blocks"),initialOpen:!1},React.createElement(X.BaseControl,{label:(0,Y.__)("Title Tag","essential-blocks")},React.createElement(X.ButtonGroup,null,Tn.map((function(e,t){return React.createElement(X.Button,{key:t,isSecondary:s!==e.value,isPrimary:s===e.value,onClick:function(){return a({titleTag:e.value})}},e.label)})))),React.createElement(io,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:Vn,resRequiredProps:B}),React.createElement(co,{label:(0,Y.__)("Color","essential-blocks"),color:b,onChange:function(e){return a({titleColor:e})}}),React.createElement(lo,{resRequiredProps:B,controlName:jn,baseLabel:(0,Y.__)("Space","essential-blocks")})),p&&React.createElement(X.PanelBody,{title:(0,Y.__)("Subtitle","essential-blocks"),initialOpen:!1},React.createElement(io,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:Wn,resRequiredProps:B}),React.createElement(co,{label:(0,Y.__)("Color","essential-blocks"),color:d,onChange:function(e){return a({subtitleColor:e})}}),React.createElement(lo,{resRequiredProps:B,controlName:In,baseLabel:(0,Y.__)("Space","essential-blocks")})),React.createElement(X.PanelBody,{title:(0,Y.__)("Description","essential-blocks"),initialOpen:!1},React.createElement(io,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:Gn,resRequiredProps:B}),React.createElement(co,{label:(0,Y.__)("Color","essential-blocks"),color:f,onChange:function(e){return a({descriptionColor:e})}}),React.createElement(lo,{resRequiredProps:B,controlName:Fn,baseLabel:(0,Y.__)("Space","essential-blocks")})),r&&React.createElement(X.PanelBody,{title:(0,Y.__)("Icon","essential-blocks"),initialOpen:!1},React.createElement(co,{label:(0,Y.__)("Icon Color","essential-blocks"),color:l,onChange:function(e){return a({iconColor:e})}}),React.createElement(lo,{resRequiredProps:B,controlName:Ln,baseLabel:(0,Y.__)("Space","essential-blocks")})),y&&React.createElement(X.PanelBody,{title:(0,Y.__)("Button","essential-blocks"),initialOpen:!1},React.createElement(io,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:Zn,resRequiredProps:B}),React.createElement(co,{label:(0,Y.__)("Button Text Color","essential-blocks"),color:w,onChange:function(e){return a({buttonTextColor:e})}}),React.createElement(co,{label:(0,Y.__)("Button Hover Text Color","essential-blocks"),color:k,onChange:function(e){return a({buttonHoverTextColor:e})}}),React.createElement(co,{label:(0,Y.__)("Button Background","essential-blocks"),color:h,onChange:function(e){return a({buttonBackgroundColor:e})}}),React.createElement(co,{label:(0,Y.__)("Button Hover Background","essential-blocks"),color:R,onChange:function(e){return a({buttonHoverBackgroundColor:e})}}),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Border","essential-blocks"))),React.createElement(bo,{controlName:qn,resRequiredProps:B}))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,null,React.createElement(lo,{resRequiredProps:B,controlName:Mn,baseLabel:(0,Y.__)("Margin","essential-blocks")}),React.createElement(lo,{resRequiredProps:B,controlName:Dn,baseLabel:(0,Y.__)("Padding","essential-blocks")})),React.createElement(X.PanelBody,{title:(0,Y.__)("Background","essential-blocks"),initialOpen:!1},React.createElement(so,{controlName:Hn,resRequiredProps:B})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border","essential-blocks"),initialOpen:!1},React.createElement(bo,{controlName:zn,resRequiredProps:B})),React.createElement(uo,{attributes:t,setAttributes:a})))}))))};var vo=window.EBControls,ho=vo.softMinifyCssStrings,wo=vo.generateDimensionsControlStyles,ko=vo.generateTypographyStyles,Ro=vo.generateResponsiveRangeStyles,_o=vo.generateBackgroundControlStyles,Eo=vo.generateBorderShadowStyles,Co=vo.StyleComponent;function xo(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=(t.blockMeta,t.blockId),r=(t.resOption,t.contentStyle),c=t.contentAlign,l=t.iconColor,i=t.titleColor,s=t.subtitleColor,b=t.descriptionColor,p=t.buttonBackgroundColor,u=t.buttonTextColor,d=t.buttonSize,m=t.buttonHoverTextColor,g=t.buttonHoverBackgroundColor,f=t.buttonPosition,y=t.btnHoverEffect,v=(t.classHook,_o({attributes:t,controlName:Hn})),h=v.backgroundStylesDesktop,w=v.hoverBackgroundStylesDesktop,k=v.backgroundStylesTab,R=v.hoverBackgroundStylesTab,_=v.backgroundStylesMobile,E=v.hoverBackgroundStylesMobile,C=v.overlayStylesDesktop,x=v.hoverOverlayStylesDesktop,S=v.overlayStylesTab,B=v.hoverOverlayStylesTab,T=v.overlayStylesMobile,N=v.hoverOverlayStylesMobile,P=v.bgTransitionStyle,O=v.ovlTransitionStyle,M=Eo({controlName:zn,attributes:t}),D=M.styesDesktop,j=M.styesTab,I=M.styesMobile,A=M.stylesHoverDesktop,L=M.stylesHoverTab,F=M.stylesHoverMobile,H=M.transitionStyle,z=wo({controlName:Mn,styleFor:"margin",attributes:t}),q=z.dimensionStylesDesktop,U=z.dimensionStylesTab,V=z.dimensionStylesMobile,W=wo({controlName:Dn,styleFor:"padding",attributes:t}),G=W.dimensionStylesDesktop,Z=W.dimensionStylesTab,Y=W.dimensionStylesMobile,J=ko({attributes:t,prefixConstant:Vn}),Q=J.typoStylesDesktop,X=J.typoStylesTab,$=J.typoStylesMobile,K=wo({controlName:jn,styleFor:"margin",attributes:t}),ee=K.dimensionStylesDesktop,te=K.dimensionStylesTab,ae=K.dimensionStylesMobile,ne=ko({attributes:t,prefixConstant:Wn}),oe=ne.typoStylesDesktop,re=ne.typoStylesTab,ce=ne.typoStylesMobile,le=wo({controlName:In,styleFor:"margin",attributes:t}),ie=le.dimensionStylesDesktop,se=le.dimensionStylesTab,be=le.dimensionStylesMobile,pe=ko({attributes:t,prefixConstant:Gn}),ue=pe.typoStylesDesktop,de=pe.typoStylesTab,me=pe.typoStylesMobile,ge=wo({controlName:Fn,styleFor:"padding",attributes:t}),fe=ge.dimensionStylesDesktop,ye=ge.dimensionStylesTab,ve=ge.dimensionStylesMobile,he=ko({attributes:t,prefixConstant:Zn}),we=he.typoStylesDesktop,ke=he.typoStylesTab,Re=he.typoStylesMobile,_e=wo({controlName:An,styleFor:"padding",attributes:t}),Ee=_e.dimensionStylesDesktop,Ce=_e.dimensionStylesTab,xe=_e.dimensionStylesMobile,Se=Eo({controlName:qn,attributes:t}),Be=Se.styesDesktop,Te=Se.styesTab,Ne=Se.styesMobile,Pe=Se.stylesHoverDesktop,Oe=Se.stylesHoverTab,Me=Se.stylesHoverMobile,De=Se.transitionStyle,je=Ro({controlName:Un,property:"font-size",attributes:t,customUnit:"px"}),Ie=je.rangeStylesDesktop,Ae=je.rangeStylesTab,Le=je.rangeStylesMobile,Fe=wo({controlName:Ln,styleFor:"padding",attributes:t}),He=Fe.dimensionStylesDesktop,ze=Fe.dimensionStylesTab,qe=Fe.dimensionStylesMobile,Ue="\n\t\t.eb-cia-wrapper.".concat(o," {\n\t\t\t").concat(q,"\n\t\t\t").concat(G,"\n\t\t\t").concat(h,"\n\t\t\t").concat(D,"\n\t\t\tflex-direction: ").concat("basic"===r?"column":"row",";\n\t\t\ttransition: ").concat(P,", ").concat(H,";\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o,":before {\n\t\t\t").concat(C,"\n\t\t\ttransition: ").concat(O,";\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o,":hover {\n\t\t\t").concat(w,"\n\t\t\t").concat(A,"\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o,":hover:before {\n\t\t\t").concat(x,"\n\t\t}\n\n\t\t").concat(c?".eb-cia-wrapper.".concat(o," .eb-cia-text-wrapper {\n\t\t\ttext-align: ").concat(c,";\n\t\t}"):"","\n\n\t\t.eb-cia-wrapper.").concat(o," .eb-cia-title {\n\t\t\t").concat(Q,"\n\t\t\t").concat(ee,"\n\t\t\t").concat(i?"color: ".concat(i):"",";\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o," .eb-cia-subtitle {\n\t\t\t").concat(oe,"\n\t\t\t").concat(ie,"\n\t\t\t").concat(s?"color: ".concat(s):"","\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o," .eb-cia-description {\n\t\t\t").concat(ue,"\n\t\t\t").concat(fe,"\n\t\t\t").concat(b?"color: ".concat(b):"","\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o," .eb-cia-icon {\n\t\t\t").concat(Ie,"\n\t\t\t").concat(He,"\n\t\t\t").concat(l?"color: ".concat(l):"","\n\t\t}\n\n\t\t").concat(function(e){switch(e){case"small":return".eb-cia-wrapper.".concat(o," .eb-cia-button.is-small {\n\t\t\t\t\tpadding: 5px 10px;\n\t\t\t\t\tfont-size: 14px;\n\t\t\t\t}");case"medium":return".eb-cia-wrapper.".concat(o," .eb-cia-button.is-medium {\n\t\t\t\t\tpadding: 8px 15px;\n\t\t\t\t\tfont-size: 16px;\n\t\t\t\t}");case"large":return".eb-cia-wrapper.".concat(o," .eb-cia-button.is-large {\n\t\t\t\t\tpadding: 13px 20px;\n\t\t\t\t\tfont-size: 18px;\n\t\t\t\t}");case"extra-large":return".eb-cia-wrapper.".concat(o," .eb-cia-button.is-extra-large {\n\t\t\t\t\tpadding: 15px 30px;\n\t\t\t\t\tfont-size: 20px;\n\t\t\t\t}");default:return""}}(d),"\n\n\t\t").concat("custom"===d?"\n\t\t\t\t.eb-cia-wrapper.".concat(o," .eb-cia-button.is-custom {\n\t\t\t\t\t").concat(Ee,"\n\t\t\t\t}\n\t\t\t"):"","\n\n\t\t.eb-cia-wrapper.").concat(o," .eb-cia-button-wrapper {\n\t\t\tjustify-content: ").concat(f,";\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o," .eb-cia-button {\n\t\t\t").concat(we,"\n\t\t\t").concat(Be,"\n\t\t\t").concat(u?"color: ".concat(u):"",";\n\t\t\t").concat(p?"background-color: ".concat(p):"",";\n\t\t\ttransition: background 0.5s, ").concat(De,";\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o," .eb-cia-button:hover {\n\t\t\t").concat(Pe,"\n\t\t\t").concat(m?"color: ".concat(m):"",";\n\t\t\t").concat(g?"background-color: ".concat(g):"",";\n\t\t}\n\n\t\t").concat(y?".eb-cia-wrapper.".concat(o," .eb-cia-button:before {\n                ").concat(Pe||Be,"\n                ").concat(m?"color: ".concat(m):"",";\n                ").concat(g?"background-color: ".concat(g):"",";\n\t\t\t}\n\t\t\t"):"","\n\t"),Ve="\n\t\t.eb-cia-wrapper.".concat(o," {\n\t\t\t").concat(U,"\n\t\t\t").concat(Z,"\n\t\t\t").concat(k,"\n\t\t\t").concat(j,"\n\t\t\tflex-direction: column;\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o,":before {\n\t\t\t").concat(S,"\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o,":hover {\n\t\t\t").concat(R,"\n\t\t\t").concat(L,"\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o,":before:hover {\n\t\t\t").concat(B,"\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o," .eb-cia-title {\n\t\t\t").concat(X,"\n\t\t\t").concat(te,"\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o," .eb-cia-subtitle {\n\t\t\t").concat(re,"\n\t\t\t").concat(se,"\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o," .eb-cia-description {\n\t\t\t").concat(de,"\n\t\t\t").concat(ye,"\n\t\t}\n\n\t\t").concat("custom"===d?"\n\t\t\t\t.eb-cia-wrapper.".concat(o," .eb-cia-button.is-custom {\n\t\t\t\t\t").concat(Ce,"\n\t\t\t\t}\n\t\t\t"):"","\n\n\t\t.eb-cia-wrapper.").concat(o," .eb-cia-button {\n\t\t\t").concat(ke,"\n\t\t\t").concat(Te,"\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o," .eb-cia-button:hover {\n\t\t\t").concat(Oe,"\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o," .eb-cia-icon {\n\t\t\t").concat(Ae,"\n\t\t\t").concat(ze,"\n\t\t}\n\n        ").concat(y?".eb-cia-wrapper.".concat(o," .eb-cia-button:before {\n                ").concat(Oe||Be,"\n\t\t\t}\n\t\t\t"):"","\n\t"),We="\n\t\t.eb-cia-wrapper.".concat(o," {\n\t\t\t").concat(V,"\n\t\t\t").concat(Y,"\n\t\t\t").concat(_,"\n\t\t\t").concat(I,"\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o,":before {\n\t\t\t").concat(T,"\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o,":hover {\n\t\t\t").concat(E,"\n\t\t\t").concat(F,"\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o,":before:hover {\n\t\t\t").concat(N,"\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o," .eb-cia-title {\n\t\t\t").concat($,"\n\t\t\t").concat(ae,"\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o," .eb-cia-subtitle {\n\t\t\t").concat(ce,"\n\t\t\t").concat(be,"\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o," .eb-cia-description {\n\t\t\t").concat(me,"\n\t\t\t").concat(ve,"\n\t\t}\n\n\t\t").concat("custom"===d?"\n\t\t\t\t.eb-cia-wrapper.".concat(o," .eb-cia-button.is-custom {\n\t\t\t\t\t").concat(xe,"\n\t\t\t\t}\n\t\t\t"):"","\n\n\t\t.eb-cia-wrapper.").concat(o," .eb-cia-button {\n\t\t\t").concat(Re,"\n\t\t\t").concat(Ne,"\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o," .eb-cia-button:hover {\n\t\t\t").concat(Me,"\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o," .eb-cia-icon {\n\t\t\t").concat(Le,"\n\t\t\t").concat(qe,"\n\t\t}\n        ").concat(y?".eb-cia-wrapper.".concat(o," .eb-cia-button:before {\n                ").concat(Me||Be,"\n\t\t\t}\n\t\t\t"):"","\n\t"),Ge=ho("\n\t\t".concat(Ue,"\n\t")),Ze=ho("\n\t\t".concat(Ve,"\n\t")),Ye=ho("\n\t\t".concat(We,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(Co,{attributes:t,setAttributes:a,desktopAllStyles:Ge,tabAllStyles:Ze,mobileAllStyles:Ye,blockName:n}))}function So(e){return So="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},So(e)}function Bo(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function To(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Bo(Object(a),!0).forEach((function(t){No(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Bo(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function No(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=So(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=So(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==So(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var Po=window.EBControls,Oo=Po.EBDisplayIcon,Mo=Po.DynamicInputValueHandler,Do=Po.BlockProps;var jo=window.EBControls,Io=jo.EBDisplayIcon,Ao=jo.sanitizeURL,Lo=jo.BlockProps;const Fo=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Call To Action","name":"essential-blocks/call-to-action","description":"Call to action lets you create an interactive CTA for the website to draw visitor\'s attention on the spot.","category":"essential-blocks","apiVersion":2,"textdomain":"essential-blocks","editorScript":"essential-blocks-editor-script","supports":{"anchor":true,"align":["wide","full"]}}');function Ho(e){return Ho="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ho(e)}function zo(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function qo(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?zo(Object(a),!0).forEach((function(t){Uo(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):zo(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Uo(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=Ho(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=Ho(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ho(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var Vo=window.EBControls,Wo=Vo.EBDisplayIcon,Go=Vo.sanitizeURL,Zo=[{attributes:qo({},oo),save:function(e){var t=e.attributes,a=t.blockId,n=t.showIcon,o=t.icon,r=t.title,c=t.titleTag,l=t.showSubtitle,i=t.subtitle,s=t.description,b=t.buttonText,p=t.buttonURL,u=t.sortableLists,d=t.buttonSize,m=t.btnHoverEffect,g=t.showButton,f=t.classHook,y=t.linkNewTab;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(f)},React.createElement("div",{className:"eb-cia-wrapper ".concat(a),"data-icon":o||""},React.createElement("div",{className:"eb-cia-text-wrapper"},u.map((function(e,t){e.label;var a=e.value;return"title"===a?React.createElement(Q.RichText.Content,{key:t,tagName:c,className:"eb-cia-title",value:r}):"subtitle"===a?l&&React.createElement(Q.RichText.Content,{key:t,tagName:"h4",className:"eb-cia-subtitle",value:i}):"icon"===a?n&&React.createElement(Wo,{className:"eb-cia-icon",icon:o}):"description"===a?React.createElement(Q.RichText.Content,{key:t,tagName:"p",className:"eb-cia-description",value:s}):void 0}))),g&&React.createElement("div",{className:"eb-cia-button-wrapper"},React.createElement("a",{href:Go(p),target:y?"_blank":"_self",rel:"noopener"},React.createElement("div",{className:"eb-cia-button is-".concat(d).concat(m?" ".concat(m):"")},React.createElement(Q.RichText.Content,{value:b})))))))}},{attributes:qo({},oo),save:function(e){var t=e.attributes,a=t.blockId,n=t.showIcon,o=t.icon,r=t.title,c=t.titleTag,l=t.showSubtitle,i=t.subtitle,s=t.description,b=t.buttonText,p=t.buttonURL,u=t.sortableLists,d=t.buttonSize,m=t.btnHoverEffect,g=t.showButton,f=t.classHook,y=t.linkNewTab;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(f)},React.createElement("div",{className:"eb-cia-wrapper ".concat(a),"data-icon":o||""},React.createElement("div",{className:"eb-cia-text-wrapper"},u.map((function(e,t){e.label;var a=e.value;return"title"===a?React.createElement(Q.RichText.Content,{key:t,tagName:c,className:"eb-cia-title",value:r}):"subtitle"===a?l&&React.createElement(Q.RichText.Content,{key:t,tagName:"h4",className:"eb-cia-subtitle",value:i}):"icon"===a?n&&React.createElement(Wo,{className:"eb-cia-icon",icon:o}):"description"===a?React.createElement(Q.RichText.Content,{key:t,tagName:"p",className:"eb-cia-description",value:s}):void 0}))),g&&React.createElement("div",{className:"eb-cia-button-wrapper"},React.createElement("a",{href:p,target:y?"_blank":"_self",rel:"noopener"},React.createElement("div",{className:"eb-cia-button is-".concat(d).concat(m?" ".concat(m):"")},React.createElement(Q.RichText.Content,{value:b})))))))}},{attributes:qo({},oo),save:function(e){var t=e.attributes,a=t.blockId,n=t.showIcon,o=t.icon,r=t.title,c=t.titleTag,l=t.showSubtitle,i=t.subtitle,s=t.description,b=t.buttonText,p=t.buttonURL,u=t.sortableLists,d=t.buttonSize,m=t.btnHoverEffect,g=t.showButton,f=t.classHook,y=t.linkNewTab;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(f)},React.createElement("div",{className:"eb-cia-wrapper ".concat(a),"data-icon":o||""},React.createElement("div",{className:"eb-cia-text-wrapper"},u.map((function(e,t){e.label;var a=e.value;return"title"===a?React.createElement(Q.RichText.Content,{key:t,tagName:c,className:"eb-cia-title",value:r}):"subtitle"===a?l&&React.createElement(Q.RichText.Content,{key:t,tagName:"h4",className:"eb-cia-subtitle",value:i}):"icon"===a?n&&React.createElement("div",{key:t,className:"eb-cia-icon ".concat(o)}):"description"===a?React.createElement(Q.RichText.Content,{key:t,tagName:"p",className:"eb-cia-description",value:s}):void 0}))),g&&React.createElement("div",{className:"eb-cia-button-wrapper"},React.createElement("a",{href:Go(p),target:y?"_blank":"_self",rel:"noopener"},React.createElement("div",{className:"eb-cia-button is-".concat(d).concat(m?" ".concat(m):"")},React.createElement(Q.RichText.Content,{value:b})))))))}},{attributes:qo({},oo),save:function(e){var t=e.attributes,a=t.blockId,n=t.showIcon,o=t.icon,r=t.title,c=t.titleTag,l=t.showSubtitle,i=t.subtitle,s=t.description,b=t.buttonText,p=t.buttonURL,u=t.sortableLists,d=t.buttonSize,m=t.btnHoverEffect,g=t.showButton,f=t.classHook;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(f)},React.createElement("div",{className:"eb-cia-wrapper ".concat(a),"data-icon":o||""},React.createElement("div",{className:"eb-cia-text-wrapper"},u.map((function(e,t){e.label;var a=e.value;return"title"===a?React.createElement(Q.RichText.Content,{key:t,tagName:c,className:"eb-cia-title",value:r}):"subtitle"===a?l&&React.createElement(Q.RichText.Content,{key:t,tagName:"h4",className:"eb-cia-subtitle",value:i}):"icon"===a?n&&React.createElement("div",{key:t,className:"eb-cia-icon ".concat(o)}):"description"===a?React.createElement(Q.RichText.Content,{key:t,tagName:"p",className:"eb-cia-description",value:s}):void 0}))),g&&React.createElement("div",{className:"eb-cia-button-wrapper"},React.createElement("a",{href:Go(p)},React.createElement("div",{className:"eb-cia-button is-".concat(d).concat(m?" ".concat(m):"")},React.createElement(Q.RichText.Content,{value:b})))))))}},{attributes:qo({},oo),save:function(e){var t=e.attributes,a=t.blockId,n=t.showIcon,o=t.icon,r=t.title,c=t.titleTag,l=t.showSubtitle,i=t.subtitle,s=t.description,b=t.buttonText,p=t.buttonURL,u=t.sortableLists,d=t.buttonSize,m=t.btnHoverEffect,g=t.showButton;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-cia-wrapper ".concat(a),"data-icon":o||""},React.createElement("div",{className:"eb-cia-text-wrapper"},u.map((function(e,t){e.label;var a=e.value;return"title"===a?React.createElement(Q.RichText.Content,{key:t,tagName:c,className:"eb-cia-title",value:r}):"subtitle"===a?l&&React.createElement(Q.RichText.Content,{key:t,tagName:"h4",className:"eb-cia-subtitle",value:i}):"icon"===a?n&&React.createElement("div",{key:t,className:"eb-cia-icon ".concat(o)}):"description"===a?React.createElement(Q.RichText.Content,{key:t,tagName:"p",className:"eb-cia-description",value:s}):void 0}))),g&&React.createElement("div",{className:"eb-cia-button-wrapper"},React.createElement("a",{href:Go(p)},React.createElement("div",{className:"eb-cia-button is-".concat(d).concat(m?" ".concat(m):"")},React.createElement(Q.RichText.Content,{value:b}))))))}}];const Yo=Zo;(0,EBControls.ebConditionalRegisterBlockType)(Fo,{icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"57",height:"58",fill:"none",viewBox:"0 0 57 58"},React.createElement("path",{fill:"#6C3BFF",d:"M38.486 35.686h11.571v-9.429H38.486v9.429zm2.228-7.2h6.857v4.8h-6.857v-4.8zM6 26.257v9.514h29.829v-9.514H6zm27.429 7.029H8.486v-4.8h24.943v4.8z"}),React.createElement("path",{fill:"#6C3BFF",d:"M55.371.714H1.2c-.686 0-1.2.515-1.2 1.2v54.172c0 .685.514 1.2 1.2 1.2h54.171c.686 0 1.2-.515 1.2-1.2V1.914c0-.685-.514-1.2-1.2-1.2zM2.4 8.086V3.114h51.686v4.972H2.4zm0 46.8V10.57h51.686v44.315H2.4z"}),React.createElement("path",{fill:"#6C3BFF",d:"M6.171 4.486h-2.4v2.4h2.4v-2.4zM9.771 4.486h-2.4v2.4h2.4v-2.4zM13.629 4.486h-2.4v2.4h2.4v-2.4z"}))},attributes:oo,keywords:[(0,Y.__)("call to action","essential-blocks"),(0,Y.__)("cta","essential-blocks"),(0,Y.__)("eb essential","essential-blocks")],edit:function(e){var t=e.isSelected,a=e.attributes,n=e.setAttributes,o=(e.clientId,e.className,e.name,a.blockMeta,a.blockId),r=(a.resOption,a.contentStyle,a.contentAlign),c=a.showIcon,l=a.icon,i=a.title,s=a.titleTag,b=a.showSubtitle,p=a.subtitle,u=a.sortableLists,d=a.description,m=a.showButton,g=a.buttonText,f=a.buttonSize,y=a.btnHoverEffect,v=a.classHook,h=To(To({},e),{},{blockPrefix:"eb-button",style:React.createElement(xo,e)});return React.createElement(React.Fragment,null,t&&React.createElement(yo,e),React.createElement(Q.BlockControls,null,React.createElement(Q.AlignmentToolbar,{value:r,onChange:function(e){return n({contentAlign:e})}})),React.createElement(Do.Edit,h,React.createElement(xo,e),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(o," ").concat(v)},React.createElement("div",{className:"eb-cia-wrapper ".concat(o)},React.createElement("div",{className:"eb-cia-text-wrapper"},u.map((function(e,t){e.label;var a=e.value;return"title"===a?React.createElement(Mo,{key:t,value:i,tagName:s,className:"eb-cia-title",placeholder:(0,Y.__)("Add title...","essential-blocks"),onChange:function(e){return n({title:e})},readOnly:!0}):"subtitle"===a?b&&React.createElement(Mo,{key:t,tagName:"h4",placeholder:(0,Y.__)("Add subtitle..."),value:p,onChange:function(e){return n({subtitle:e})},readOnly:!0}):"icon"===a?c&&React.createElement(Oo,{className:"eb-cia-icon",icon:l}):"description"===a?React.createElement(Mo,{key:t,tagName:"p",value:d,placeholder:(0,Y.__)("Add Description...","essential-blocks"),className:"eb-cia-description",onChange:function(e){return n({description:e})},readOnly:!0}):void 0}))),m&&React.createElement("div",{className:"eb-cia-button-wrapper"},React.createElement(Mo,{value:g,className:"eb-cia-button is-".concat(f).concat(y?" ".concat(y):""),placeholder:(0,Y.__)("Add Text","essential-blocks"),onChange:function(e){return n({buttonText:e})},readOnly:!0}))))))},save:function(e){var t=e.attributes,a=t.blockId,n=t.showIcon,o=t.icon,r=t.title,c=t.titleTag,l=t.showSubtitle,i=t.subtitle,s=t.description,b=t.buttonText,p=t.buttonURL,u=t.sortableLists,d=t.buttonSize,m=t.btnHoverEffect,g=t.showButton,f=t.classHook,y=t.linkNewTab;return React.createElement(Lo.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(f)},React.createElement("div",{className:"eb-cia-wrapper ".concat(a),"data-icon":o||""},React.createElement("div",{className:"eb-cia-text-wrapper"},u.map((function(e,t){e.label;var a=e.value;return"title"===a?React.createElement(Q.RichText.Content,{key:t,tagName:c,className:"eb-cia-title",value:r}):"subtitle"===a?l&&React.createElement(Q.RichText.Content,{key:t,tagName:"h4",className:"eb-cia-subtitle",value:i}):"icon"===a?n&&React.createElement(Io,{className:"eb-cia-icon",icon:o}):"description"===a?React.createElement(Q.RichText.Content,{key:t,tagName:"p",className:"eb-cia-description",value:s}):void 0}))),g&&React.createElement("div",{className:"eb-cia-button-wrapper"},React.createElement("a",{href:null==p?"":Ao(p),target:y?"_blank":"_self",rel:"noopener"},React.createElement("div",{className:"eb-cia-button is-".concat(d).concat(m?" ".concat(m):"")},React.createElement(Q.RichText.Content,{value:b})))))))},example:{attributes:{backgroundGradient:"linear-gradient(45deg, #36D1DC , #5B86E5)",title:"Essential Blocks for Gutenberg",titleTag:"h5",description:"Add a strong one liner supporting the heading above and giving users a reason to click on the button below.",buttonText:"Button Text",buttonSize:"large"}},deprecated:Yo});var Jo=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"57",height:"48",fill:"none",viewBox:"0 0 57 48"},React.createElement("path",{fill:"#6C3BFF",d:"M2.486.771H.6v1.886h1.886V.771zM6.343.771H4.457v1.886h1.886V.771zM10.029.771H8.143v1.886h1.886V.771zM34.029 41.314h-12.6c-.6 0-1.029-.428-1.029-1.028v-31.8c0-.6.429-1.029 1.029-1.029h12.6c.6 0 1.028.429 1.028 1.029v31.971c-.086.429-.514.857-1.028.857zm-11.572-1.8h10.715v-30H22.457v30zM55.543 41.314H43.029c-.6 0-1.029-.428-1.029-1.028v-31.8c0-.6.429-1.029 1.029-1.029h12.6c.514 0 .942.429.942 1.029v31.971c-.171.429-.6.857-1.028.857zm-11.657-1.8H54.6v-30H43.886v30zM12.6 41.314H1.029c-.6 0-1.029-.428-1.029-1.028v-31.8c0-.6.429-1.029 1.029-1.029H12.6c.6 0 1.029.429 1.029 1.029v31.971c-.086.429-.515.857-1.029.857zm-10.629-1.8h9.686v-30H1.971v30zM10.543 45.771H1.97v1.886h8.572v-1.886zM31.971 45.771H23.4v1.886h8.572v-1.886zM53.4 45.771h-8.571v1.886H53.4v-1.886z"}),React.createElement("path",{fill:"#6C3BFF",d:"M7.714 23.657H5.83v6.686h1.885v-6.686zM28.714 18.086H26.83v12.257h1.885V18.086zM49.714 18.086H47.83V25.8h1.885v-7.714z"}))};const Qo=window.wp.hooks;function Xo(e){return Xo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Xo(e)}function $o(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=Xo(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=Xo(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Xo(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var Ko=window.EBControls,er=Ko.BackgroundControl,tr=Ko.ColorControl;function ar(e){var t=e.heading,a=e.resRequiredProps,n=e.bgControlName,o=e.dgColorAttrString,r=e.lbColorAttrString,c=e.bdColorAttrString,l=a.setAttributes,i=a.attributes;return React.createElement(React.Fragment,null,React.createElement("h3",{style:{fontSize:"15px",color:"#444",margin:"0 0 10px 0"}},t),React.createElement(X.PanelBody,{title:(0,Y.__)("Background","essential-blocks")},React.createElement(er,{noTransition:!0,controlName:n,resRequiredProps:a,noOverlay:!0,noMainBgi:!0})),React.createElement(tr,{label:(0,Y.__)("Digit Color","essential-blocks"),color:i["".concat(o)],onChange:function(e){return l($o({},"".concat(o),e))}}),React.createElement(tr,{label:(0,Y.__)("Label Color","essential-blocks"),color:i["".concat(r)],onChange:function(e){return l($o({},"".concat(r),e))}}),"none"!==i.boxsBds_borderStyle&&React.createElement(tr,{label:(0,Y.__)("Border Color","essential-blocks"),color:i["".concat(c)],onChange:function(e){return l($o({},"".concat(c),e))}}),React.createElement(X.__experimentalDivider,null))}var nr="dg_",or="lb_",rr="sp_",cr="boxsP_",lr="wrpMrg_",ir="wrpPad_",sr="dgPad_",br="lblPad_",pr="boxsBg_",ur="dayBg_",dr="hourBg_",mr="minuteBg_",gr="secondBg_",fr="WrpBg_",yr="boxsBds_",vr="wrpBdSd_",hr="wrpW_",wr="boxsSpb_",kr="sepTop_",Rr="sepRight_";function _r(e){return _r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_r(e)}function Er(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Cr(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Er(Object(a),!0).forEach((function(t){xr(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Er(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function xr(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=_r(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=_r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==_r(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var Sr=window.EBControls,Br=Sr.generateDimensionsAttributes,Tr=Sr.generateTypographyAttributes,Nr=Sr.generateBackgroundAttributes,Pr=Sr.generateBorderShadowAttributes,Or=Sr.generateResponsiveRangeAttributes;const Mr=Cr(Cr(Cr(Cr(Cr(Cr(Cr(Cr(Cr(Cr(Cr(Cr(Cr(Cr(Cr(Cr(Cr(Cr({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},preset:{type:"string",default:"default"},flexDirection:{type:"string",default:"row"},contentsAlign:{type:"string",default:"center"},contentsJustify:{type:"string",default:"center"},contentsDirection:{type:"string",default:"column"},showSeparator:{type:"boolean",default:!1},separatorType:{type:"string",default:":"},separatorColor:{type:"string",default:"var(--eb-global-primary-color)"},endTimeStamp:{type:"number"},showDays:{type:"boolean",default:!0},showHours:{type:"boolean",default:!0},showMinutes:{type:"boolean",default:!0},showSeconds:{type:"boolean",default:!0},daysLabel:{type:"string",default:"Days"},hoursLabel:{type:"string",default:"Hours"},minutesLabel:{type:"string",default:"Minutes"},secondsLabel:{type:"string",default:"Seconds"},digitsColor:{type:"string",default:"var(--eb-global-heading-color)"},dayDgColor:{type:"string"},hourDgColor:{type:"string"},minuteDgColor:{type:"string"},secondDgColor:{type:"string"},labelsColor:{type:"string",default:"var(--eb-global-text-color)"},dayLbColor:{type:"string"},hourLbColor:{type:"string"},minuteLbColor:{type:"string"},secondLbColor:{type:"string"},dayBdrColor:{type:"string"},hourBdrColor:{type:"string"},minuteBdrColor:{type:"string"},secondBdrColor:{type:"string"},isEvergreenTimer:{type:"boolean",default:!1},evergreenTimerHours:{type:"string",default:"11"},evergreenTimerMinutes:{type:"string",default:"59"},recurringCountdown:{type:"boolean",default:!1},restartTime:{type:"string",default:"0"},recurringCountdownEnd:{type:"number"}},Tr(Object.values(c))),Or(hr,{defaultRange:600})),Or(wr,{defaultRange:30})),Or(kr,{defaultRange:46,defaultUnit:"%"})),Or(Rr,{defaultRange:18,defaultUnit:"%"})),Nr(fr,{defaultBgGradient:"var(--eb-global-background-color)"})),Nr(pr,{defaultFillColor:"var(--eb-global-background-color)",noOverlay:!0,noMainBgi:!0})),Nr(ur,{noTransition:!0,noOverlay:!0,noMainBgi:!0})),Nr(dr,{noTransition:!0,noOverlay:!0,noMainBgi:!0})),Nr(mr,{noTransition:!0,noOverlay:!0,noMainBgi:!0})),Nr(gr,{noTransition:!0,noOverlay:!0,noMainBgi:!0})),Pr(vr,{})),Pr(yr,{rdsDefaults:{top:10,bottom:10,right:10,left:10}})),Br(cr,{top:20,bottom:20,isLinked:!1})),Br(lr)),Br(ir)),Br(sr)),Br(br));(0,Y.__)("Default","essential-blocks"),(0,Y.__)("Preset 1","essential-blocks"),(0,Y.__)("Preset 2","essential-blocks"),(0,Y.__)("Preset 3","essential-blocks"),(0,Y.__)("Preset 4","essential-blocks"),(0,Y.__)("Preset 5","essential-blocks"),(0,Y.__)("Preset 6","essential-blocks"),(0,Y.__)("Preset 7","essential-blocks"),(0,Y.__)("Preset 8 (Pro)","essential-blocks"),(0,Y.__)("Preset 9 (Pro)","essential-blocks");var Dr=[{label:(0,Y.__)("Dotted","essential-blocks"),value:":"},{label:(0,Y.__)("Solid","essential-blocks"),value:"|"}],jr=[{label:"Grid View",value:"row"},{label:"List View",value:"column"}],Ir=[{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignleft"})),value:"flex-start"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignright"})),value:"flex-end"}],Ar=[{label:(0,Y.__)("Start","essential-blocks"),value:"flex-start"},{label:(0,Y.__)("Center","essential-blocks"),value:"center"},{label:(0,Y.__)("End","essential-blocks"),value:"flex-end"},{label:(0,Y.__)("Space-Between","essential-blocks"),value:"space-between"},{label:(0,Y.__)("Space-around","essential-blocks"),value:"space-around"},{label:(0,Y.__)("Space-Evenly","essential-blocks"),value:"space-evenly"}],Lr=[{label:"Row",value:"row"},{label:"Row-Reverse",value:"row-reverse"},{label:"Column",value:"column"},{label:"Column-Reverse",value:"column-reverse"}],Fr=a(1609),Hr=window.EBControls,zr=Hr.TypographyDropdown,qr=Hr.ResponsiveDimensionsControl,Ur=Hr.ResponsiveRangeController,Vr=Hr.ColorControl,Wr=Hr.BorderShadowControl,Gr=Hr.BackgroundControl,Zr=Hr.AdvancedControls;Hr.ProSelectControl;const Yr=function(e){var t=e.attributes,a=e.setAttributes,n=t.resOption,o=t.endTimeStamp,r=t.showDays,c=t.showHours,l=t.showMinutes,i=t.showSeconds,s=t.daysLabel,b=t.hoursLabel,p=t.minutesLabel,u=t.secondsLabel,d=(t.preset,t.flexDirection),m=t.showSeparator,g=t.separatorType,f=t.separatorColor,y=t.contentsAlign,v=t.contentsDirection,h=t.contentsJustify,w=t.digitsColor,k=t.labelsColor,R=t.isEvergreenTimer,_=t.evergreenTimerHours,E=t.evergreenTimerMinutes,C=t.recurringCountdown,x=t.restartTime,S=t.recurringCountdownEnd,B={setAttributes:a,resOption:n,attributes:t,objAttributes:Mr};return(0,Fr.useEffect)((function(){if(!S){var e=new Date;e.setDate(e.getDate()+7),a({recurringCountdownEnd:e.getTime()})}}),[]),React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:"General",className:"eb-tab general"},{name:"styles",title:"Style",className:"eb-tab styles"},{name:"advance",title:"Advanced",className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls"+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Countdown Settings","essential-blocks")},React.createElement(X.ToggleControl,{label:(0,Y.__)("Evergreen Timer?","essential-blocks"),checked:R,onChange:function(){return a({isEvergreenTimer:!R})}}),!R&&React.createElement(React.Fragment,null,React.createElement("style",null,".customDatePickerStyle .components-datetime__timezone{display:none;}"),React.createElement(X.BaseControl,{label:(0,Y.__)("Countdown Due Date","essential-blocks"),className:"customDatePickerStyle"},React.createElement(X.DateTimePicker,{currentDate:o?new Date(o):new Date,onChange:function(e){return function(e){var t=new Date(e).getTime();a({endTimeStamp:t})}(e)},is12Hour:!0}))),R&&React.createElement(React.Fragment,null,React.createElement(X.TextControl,{label:(0,Y.__)("Hours","essential-blocks"),value:_,type:"number",onChange:function(e){return a({evergreenTimerHours:e})}}),React.createElement(X.TextControl,{label:(0,Y.__)("Minutes","essential-blocks"),value:E,type:"text",onChange:function(e){return a({evergreenTimerMinutes:e})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Recurring Countdown","essential-blocks"),checked:C,onChange:function(){return a({recurringCountdown:!C})},help:(0,Y.__)("Specify how much time it will take to restart the countdown. If you set 0, the countdown will restart immediately.","essential-blocks")}),C&&React.createElement(React.Fragment,null,React.createElement(X.TextControl,{label:(0,Y.__)("Restart After(In Hours)","essential-blocks"),value:x,type:"text",onChange:function(e){return a({restartTime:e})}}),React.createElement("style",null,".customDatePickerStyle .components-datetime__timezone{display:none;}"),React.createElement(X.BaseControl,{label:(0,Y.__)("Recurring Countdown End Date","essential-blocks"),className:"customDatePickerStyle"},React.createElement(X.DateTimePicker,{currentDate:S?new Date(S):recurringDefaultDate,onChange:function(e){return function(e){var t=new Date(e).getTime();a({recurringCountdownEnd:t})}(e)},is12Hour:!0}))))),React.createElement(X.PanelBody,{title:(0,Y.__)("Content Settings","essential-blocks"),initialOpen:!1},React.createElement(X.ToggleControl,{label:(0,Y.__)("Display Days","essential-blocks"),checked:r,onChange:function(){return a({showDays:!r})}}),r&&React.createElement(React.Fragment,null,React.createElement(X.TextControl,{label:(0,Y.__)("Custom Label For Days","essential-blocks"),value:s,type:"text",onChange:function(e){return a({daysLabel:e})}}),React.createElement("p",{style:{marginTop:"-5px"}},React.createElement("i",null,"Leave blank to hide"))),React.createElement(X.ToggleControl,{label:(0,Y.__)("Display Hours","essential-blocks"),checked:c,onChange:function(){return a({showHours:!c})}}),c&&React.createElement(React.Fragment,null,React.createElement(X.TextControl,{label:(0,Y.__)("Custom Label For Hours","essential-blocks"),value:b,type:"text",onChange:function(e){return a({hoursLabel:e})}}),React.createElement("p",{style:{marginTop:"-5px"}},React.createElement("i",null,"Leave blank to hide"))),React.createElement(X.ToggleControl,{label:(0,Y.__)("Display Minutes","essential-blocks"),checked:l,onChange:function(){return a({showMinutes:!l})}}),l&&React.createElement(React.Fragment,null,React.createElement(X.TextControl,{label:(0,Y.__)("Custom Label For Minutes","essential-blocks"),value:p,type:"text",onChange:function(e){return a({minutesLabel:e})}}),React.createElement("p",{style:{marginTop:"-5px"}},React.createElement("i",null,"Leave blank to hide"))),React.createElement(X.ToggleControl,{label:(0,Y.__)("Display Seconds","essential-blocks"),checked:i,onChange:function(){return a({showSeconds:!i})}}),i&&React.createElement(React.Fragment,null,React.createElement(X.TextControl,{label:(0,Y.__)("Custom Label For Seconds","essential-blocks"),value:u,type:"text",onChange:function(e){return a({secondsLabel:e})}}),React.createElement("p",{style:{marginTop:"-5px"}},React.createElement("i",null,"Leave blank to hide"))))),"styles"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Boxes Styles","essential-blocks")},React.createElement(X.BaseControl,{label:"Layout"},React.createElement(X.ButtonGroup,null,jr.map((function(e,t){var n=e.value,o=e.label;return React.createElement(X.Button,{key:t,isSecondary:d!==n,isPrimary:d===n,onClick:function(){return a({flexDirection:n})}},o)})))),React.createElement(Ur,{noUnits:!0,baseLabel:(0,Y.__)("Container Max Width","essential-blocks"),controlName:hr,resRequiredProps:B,min:100,max:2e3,step:1}),React.createElement(Ur,{noUnits:!0,baseLabel:(0,Y.__)("Space Between Boxs","essential-blocks"),controlName:wr,resRequiredProps:B,min:0,max:200,step:1}),React.createElement(X.BaseControl,{label:(0,Y.__)("Contents Direction","essential-blocks")},React.createElement(X.SelectControl,{value:v,options:Lr,onChange:function(e){return a({contentsDirection:e})}})),v.includes("row")&&React.createElement(React.Fragment,null,React.createElement(X.BaseControl,{label:(0,Y.__)("Contents Justify Position","essential-blocks")},React.createElement(X.SelectControl,{value:h,options:Ar,onChange:function(e){return a({contentsJustify:e})}}))),React.createElement(X.BaseControl,{label:(0,Y.__)("Contents Alignment","essential-blocks")},React.createElement(X.ButtonGroup,null,Ir.map((function(e,t){var n=e.value,o=e.label;return React.createElement(X.Button,{key:t,isSecondary:y!==n,isPrimary:y===n,onClick:function(){return a({contentsAlign:n})}},o)})))),React.createElement(X.PanelBody,{title:(0,Y.__)("Background","essential-blocks"),initialOpen:!1},React.createElement(Gr,{controlName:pr,resRequiredProps:B,noOverlay:!0,noMainBgi:!0})),React.createElement(X.PanelBody,{title:(0,Y.__)("Padding","essential-blocks"),initialOpen:!1},React.createElement(qr,{resRequiredProps:B,controlName:cr,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(Wr,{controlName:yr,resRequiredProps:B}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Digits","essential-blocks"),initialOpen:!1},React.createElement(Vr,{label:(0,Y.__)("Color","essential-blocks"),color:w,onChange:function(e){return a({digitsColor:e})}}),React.createElement(zr,{baseLabel:"Typography",typographyPrefixConstant:nr,resRequiredProps:B}),React.createElement(qr,{resRequiredProps:B,controlName:sr,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Labels","essential-blocks"),initialOpen:!1},React.createElement(Vr,{label:(0,Y.__)("Color","essential-blocks"),color:k,onChange:function(e){return a({labelsColor:e})}}),(0,Qo.applyFilters)("eb_countdown_label_bg","",t,a),React.createElement(zr,{baseLabel:"Typography",typographyPrefixConstant:or,resRequiredProps:B}),React.createElement(qr,{resRequiredProps:B,controlName:br,baseLabel:"Padding"})),"row"===d&&React.createElement(X.PanelBody,{title:(0,Y.__)("Separator","essential-blocks"),initialOpen:!1},React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Separator","essential-blocks"),checked:m,onChange:function(){return a({showSeparator:!m})}}),m&&React.createElement(React.Fragment,null,React.createElement(X.SelectControl,{label:(0,Y.__)("Separator Type","essential-blocks"),value:g,options:Dr,onChange:function(e){return a({separatorType:e})}}),React.createElement(Ur,{baseLabel:(0,Y.__)("Position Top","essential-blocks"),controlName:kr,resRequiredProps:B,min:0,max:900,step:1}),React.createElement(Ur,{baseLabel:(0,Y.__)("Position Right","essential-blocks"),controlName:Rr,resRequiredProps:B,min:0,max:900,step:1}),React.createElement(Vr,{label:(0,Y.__)("Color","essential-blocks"),color:f,onChange:function(e){return a({separatorColor:e})}}),React.createElement(zr,{baseLabel:"Typography",typographyPrefixConstant:rr,resRequiredProps:B}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Individual Box Styling","essential-blocks"),initialOpen:!1},r&&React.createElement(ar,{resRequiredProps:B,heading:"Days",bgControlName:ur,dgColorAttrString:"dayDgColor",lbColorAttrString:"dayLbColor",bdColorAttrString:"dayBdrColor"}),c&&React.createElement(ar,{resRequiredProps:B,heading:"Hours",bgControlName:dr,dgColorAttrString:"hourDgColor",lbColorAttrString:"hourLbColor",bdColorAttrString:"hourBdrColor"}),l&&React.createElement(ar,{resRequiredProps:B,heading:"Minutes",bgControlName:mr,dgColorAttrString:"minuteDgColor",lbColorAttrString:"minuteLbColor",bdColorAttrString:"minuteBdrColor"}),i&&React.createElement(ar,{resRequiredProps:B,heading:"Seconds",bgControlName:gr,dgColorAttrString:"secondDgColor",lbColorAttrString:"secondLbColor",bdColorAttrString:"secondBdrColor"}))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Margin & Padding")},React.createElement(qr,{resRequiredProps:B,controlName:lr,baseLabel:"Margin"}),React.createElement(qr,{resRequiredProps:B,controlName:ir,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Background ","essential-blocks"),initialOpen:!1},React.createElement(Gr,{controlName:fr,resRequiredProps:B})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(Wr,{controlName:vr,resRequiredProps:B})),React.createElement(Zr,{attributes:t,setAttributes:a})))}))))};var Jr,Qr,Xr=window.EBControls,$r=Xr.softMinifyCssStrings,Kr=Xr.generateTypographyStyles,ec=Xr.generateDimensionsControlStyles,tc=Xr.generateBorderShadowStyles,ac=Xr.generateResponsiveRangeStyles,nc=Xr.generateBackgroundControlStyles,oc=Xr.StyleComponent;function rc(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=(t.resOption,t.blockId),r=(t.blockMeta,t.endTimeStamp,t.showDays),c=t.showHours,l=t.showMinutes,i=t.showSeconds,s=t.showSeparator,b=t.separatorType,p=t.separatorColor,u=void 0===p?"#4c457b":p,d=t.contentsAlign,m=t.contentsDirection,g=t.contentsJustify,f=t.flexDirection,y=t.digitsColor,v=void 0===y?"#fff":y,h=t.dayDgColor,w=t.hourDgColor,k=t.minuteDgColor,R=t.secondDgColor,_=t.labelsColor,E=void 0===_?"#fff":_,C=t.dayLbColor,x=t.hourLbColor,S=t.minuteLbColor,B=t.secondLbColor,T=t.dayBdrColor,N=t.hourBdrColor,P=t.minuteBdrColor,O=t.secondBdrColor,M=t.boxsBds_borderStyle,D=(t.classHook,ac({controlName:hr,customUnit:"px",property:"max-width",attributes:t})),j=D.rangeStylesDesktop,I=D.rangeStylesTab,A=D.rangeStylesMobile,L=ac({controlName:wr,customUnit:"px",property:"row"===f?"margin-left":"margin-top",attributes:t}),F=L.rangeStylesDesktop,H=L.rangeStylesTab,z=L.rangeStylesMobile,q=ac({controlName:kr,property:"top",attributes:t}),U=q.rangeStylesDesktop,V=q.rangeStylesTab,W=q.rangeStylesMobile,G=ac({controlName:Rr,property:"padding-right",attributes:t}),Z=G.rangeStylesDesktop,Y=G.rangeStylesTab,J=G.rangeStylesMobile,Q=Kr({attributes:t,prefixConstant:nr,defaultFontSize:40}),X=Q.typoStylesDesktop,$=Q.typoStylesTab,K=Q.typoStylesMobile,ee=Kr({attributes:t,prefixConstant:or,defaultFontSize:18}),te=ee.typoStylesDesktop,ae=ee.typoStylesTab,ne=ee.typoStylesMobile,oe=Kr({attributes:t,prefixConstant:rr,defaultFontSize:44}),re=oe.typoStylesDesktop,ce=oe.typoStylesTab,le=oe.typoStylesMobile,ie=nc({attributes:t,controlName:fr}),se=ie.backgroundStylesDesktop,be=ie.hoverBackgroundStylesDesktop,pe=ie.backgroundStylesTab,ue=ie.hoverBackgroundStylesTab,de=ie.backgroundStylesMobile,me=ie.hoverBackgroundStylesMobile,ge=ie.overlayStylesDesktop,fe=ie.hoverOverlayStylesDesktop,ye=ie.overlayStylesTab,ve=ie.hoverOverlayStylesTab,he=ie.overlayStylesMobile,we=ie.hoverOverlayStylesMobile,ke=ie.bgTransitionStyle,Re=ie.ovlTransitionStyle,_e=nc({attributes:t,controlName:pr,noOverlay:!0,noMainBgi:!0}),Ee=_e.backgroundStylesDesktop,Ce=_e.hoverBackgroundStylesDesktop,xe=_e.backgroundStylesTab,Se=_e.hoverBackgroundStylesTab,Be=_e.backgroundStylesMobile,Te=_e.hoverBackgroundStylesMobile,Ne=_e.bgTransitionStyle,Pe=r?nc({noTransition:!0,attributes:t,controlName:ur,noOverlay:!0,noMainBgi:!0}):{},Oe=Pe.backgroundStylesDesktop,Me=void 0===Oe?"":Oe,De=Pe.hoverBackgroundStylesDesktop,je=void 0===De?"":De,Ie=Pe.backgroundStylesTab,Ae=void 0===Ie?"":Ie,Le=Pe.hoverBackgroundStylesTab,Fe=void 0===Le?"":Le,He=Pe.backgroundStylesMobile,ze=void 0===He?"":He,qe=Pe.hoverBackgroundStylesMobile,Ue=void 0===qe?"":qe,Ve=c?nc({noTransition:!0,attributes:t,controlName:dr,noOverlay:!0,noMainBgi:!0}):{},We=Ve.backgroundStylesDesktop,Ge=void 0===We?"":We,Ze=Ve.hoverBackgroundStylesDesktop,Ye=void 0===Ze?"":Ze,Je=Ve.backgroundStylesTab,Qe=void 0===Je?"":Je,Xe=Ve.hoverBackgroundStylesTab,$e=void 0===Xe?"":Xe,Ke=Ve.backgroundStylesMobile,et=void 0===Ke?"":Ke,tt=Ve.hoverBackgroundStylesMobile,at=void 0===tt?"":tt,nt=l?nc({noTransition:!0,attributes:t,controlName:mr,noOverlay:!0,noMainBgi:!0}):{},ot=nt.backgroundStylesDesktop,rt=void 0===ot?"":ot,ct=nt.hoverBackgroundStylesDesktop,lt=void 0===ct?"":ct,it=nt.backgroundStylesTab,st=void 0===it?"":it,bt=nt.hoverBackgroundStylesTab,pt=void 0===bt?"":bt,ut=nt.backgroundStylesMobile,dt=void 0===ut?"":ut,mt=nt.hoverBackgroundStylesMobile,gt=void 0===mt?"":mt,ft=i?nc({noTransition:!0,attributes:t,controlName:gr,noOverlay:!0,noMainBgi:!0}):{},yt=ft.backgroundStylesDesktop,vt=void 0===yt?"":yt,ht=ft.hoverBackgroundStylesDesktop,wt=void 0===ht?"":ht,kt=ft.backgroundStylesTab,Rt=void 0===kt?"":kt,_t=ft.hoverBackgroundStylesTab,Et=void 0===_t?"":_t,Ct=ft.backgroundStylesMobile,xt=void 0===Ct?"":Ct,St=ft.hoverBackgroundStylesMobile,Bt=void 0===St?"":St,Tt=ec({attributes:t,controlName:lr,styleFor:"margin"}),Nt=Tt.dimensionStylesDesktop,Pt=Tt.dimensionStylesTab,Ot=Tt.dimensionStylesMobile,Mt=ec({attributes:t,controlName:ir,styleFor:"padding"}),Dt=Mt.dimensionStylesDesktop,jt=Mt.dimensionStylesTab,It=Mt.dimensionStylesMobile,At=ec({attributes:t,controlName:cr,styleFor:"padding"}),Lt=At.dimensionStylesDesktop,Ft=At.dimensionStylesTab,Ht=At.dimensionStylesMobile,zt=ec({attributes:t,controlName:sr,styleFor:"padding"}),qt=zt.dimensionStylesDesktop,Ut=zt.dimensionStylesTab,Vt=zt.dimensionStylesMobile,Wt=ec({attributes:t,controlName:br,styleFor:"padding"}),Gt=Wt.dimensionStylesDesktop,Zt=Wt.dimensionStylesTab,Yt=Wt.dimensionStylesMobile,Jt=tc({controlName:vr,attributes:t}),Qt=Jt.styesDesktop,Xt=Jt.styesTab,$t=Jt.styesMobile,Kt=Jt.stylesHoverDesktop,ea=Jt.stylesHoverTab,ta=Jt.stylesHoverMobile,aa=Jt.transitionStyle,na=tc({controlName:yr,attributes:t}),oa=na.styesDesktop,ra=na.styesTab,ca=na.styesMobile,la=na.stylesHoverDesktop,ia=na.stylesHoverTab,sa=na.stylesHoverMobile,ba=na.transitionStyle,pa="\n\t\t.".concat(o,".eb-cd-wrapper{\n\t\t\t").concat(j,"\n\t\t\t").concat(Nt,"\n\t\t\t").concat(Dt,"\n\t\t\t").concat(se,"\n\t\t\t").concat(Qt,"\n\t\t\ttransition: ").concat(ke,", ").concat(aa,";\n\t\t}\n\n\t\tdiv.").concat(o,".eb-cd-wrapper{\n\t\t\tmargin-left: auto;\n\t\t\tmargin-right: auto;\n\t\t}\n\n\t\t.").concat(o,".eb-cd-wrapper:hover{\n\t\t\t").concat(be,"\n\t\t\t").concat(Kt,"\n\t\t}\n\n\t\t.").concat(o,".eb-cd-wrapper:before{\n\t\t\t").concat(ge,"\n\t\t\ttransition: ").concat(Re,";\n\t\t}\n\n\t\t.").concat(o,".eb-cd-wrapper:hover:before{\n\t\t\t").concat(fe,"\n\t\t}\n\n\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner {\n\t\t\tflex-direction: ").concat(f,";\n\t\t}\n\n\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box {\n\t\t\t").concat(Ee,"\n\t\t\ttransition: ").concat(Ne,", ").concat(ba,";\n\t\t\t").concat(Lt,"\n\t\t\t").concat(oa,"\n\t\t\t").concat(m.includes("row")?"justify-content: ".concat(g,";"):" ","\n\t\t\tflex-direction: ").concat(m,";\n\t\t\talign-items: ").concat(d,";\n\t\t}\n\n\n\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box:hover{\n\t\t\t").concat(Ce,"\n\t\t\t").concat(la,"\n\t\t}\n\n\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box span.eb-cd-digit {\n\t\t\t").concat(X,"\n\t\t\t").concat(qt,"\n\t\t\tcolor: ").concat(v,";\n\t\t}\n\n\t\t").concat(s&&"row"===f?"\n\t\t\t.".concat(o,'.eb-cd-wrapper .eb-cd-inner .box + .box:before {\n\t\t\t\tposition: absolute;\n\t\t\t\tright: 90%;\n\t\t\t\tcontent: "').concat(b,'";\n\t\t\t\tcolor: ').concat(u,";\n\t\t\t\t").concat(U,"\n\t\t\t\t").concat(Z,"\n\t\t\t\t").concat(re,"\n\t\t\t}\n\n\t\t\tdiv.").concat(o,".eb-cd-wrapper .eb-cd-inner .box:before{\n\t\t\t\tline-height:0;\n\t\t\t}\n\t\t\t"):" ","\n\n\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box span.eb-cd-label {\n\t\t\t").concat(te,"\n\t\t\t").concat(Gt,"\n\t\t\tcolor: ").concat(E,";\n\t\t}\n\n\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box + .box {\n\t\t\tmargin: 0;\n\t\t\t").concat(F,"\n\t\t}\n\n\t\t").concat(r?"\n\t\t\t.".concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-day{\n\t\t\t\t").concat(Me,"\n\t\t\t\t").concat("none"!==M&&T?"border-color: ".concat(T,";"):" ","\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-day:hover{\n\t\t\t\t").concat(je,"\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-day span.eb-cd-label{\n\t\t\t\t").concat(C?"color: ".concat(C,";"):" ","\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-day span.eb-cd-digit{\n\t\t\t\t").concat(h?"color: ".concat(h,";"):" ","\n\t\t\t}\n\t\t\t"):" ","\n\n\t\t").concat(c?"\n\t\t\t.".concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-hour{\n\t\t\t\t").concat(Ge,"\n\t\t\t\t").concat("none"!==M&&N?"border-color: ".concat(N,";"):" ","\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-hour:hover{\n\t\t\t\t").concat(Ye,"\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-hour span.eb-cd-label{\n\t\t\t\t").concat(x?"color: ".concat(x,";"):" ","\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-hour span.eb-cd-digit{\n\t\t\t\t").concat(w?"color: ".concat(w,";"):" ","\n\t\t\t}\n\t\t\t"):" ","\n\n\t\t").concat(l?"\n\t\t\t.".concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-minute{\n\t\t\t\t").concat(rt,"\n\t\t\t\t").concat("none"!==M&&P?"border-color: ".concat(P,";"):" ","\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-minute:hover{\n\t\t\t\t").concat(lt,"\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-minute span.eb-cd-label{\n\t\t\t\t").concat(S?"color: ".concat(S,";"):" ","\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-minute span.eb-cd-digit{\n\t\t\t\t").concat(k?"color: ".concat(k,";"):" ","\n\t\t\t}\n\t\t\t"):" ","\n\n\t\t").concat(i?"\n\t\t\t.".concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-second{\n\t\t\t\t").concat(vt,"\n\t\t\t\t").concat("none"!==M&&O?"border-color: ".concat(O,";"):" ","\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-second:hover{\n\t\t\t\t").concat(wt,"\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-second span.eb-cd-label{\n\t\t\t\t").concat(B?"color: ".concat(B,";"):" ","\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-second span.eb-cd-digit{\n\t\t\t\t").concat(R?"color: ".concat(R,";"):" ","\n\t\t\t}\n\t\t\t"):" ","\n\n\t"),ua="\n\t\t.".concat(o,".eb-cd-wrapper{\n\t\t\t").concat(I,"\n\t\t\t").concat(Pt,"\n\t\t\t").concat(jt,"\n\t\t\t").concat(pe,"\n\t\t\t").concat(Xt,"\n\t\t}\n\n\t\t.").concat(o,".eb-cd-wrapper:hover{\n\t\t\t").concat(ue,"\n\t\t\t").concat(ea,"\n\t\t}\n\n\t\t.").concat(o,".eb-cd-wrapper:before{\n\t\t\t").concat(ye,"\n\t\t}\n\n\t\t.").concat(o,".eb-cd-wrapper:hover:before{\n\t\t\t").concat(ve,"\n\t\t}\n\n\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box {\n\t\t\t").concat(xe,"\n\t\t\t").concat(Ft,"\n\t\t\t").concat(ra,"\n\t\t}\n\n\n\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box:hover{\n\t\t\t").concat(Se,"\n\t\t\t").concat(ia,"\n\t\t}\n\n\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box span.eb-cd-digit {\n\t\t\t").concat($,"\n\t\t\t").concat(Ut,"\n\t\t}\n\n\t\t").concat(s&&"row"===f?"\n\t\t\t.".concat(o,".eb-cd-wrapper .eb-cd-inner .box + .box:before {\n\t\t\t\t").concat(ce,"\n\t\t\t\t").concat(V,"\n\t\t\t\t").concat(Y,"\n\t\t\t}\n\t\t\t"):" ","\n\n\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box span.eb-cd-label {\n\t\t\t").concat(ae,"\n\t\t\t").concat(Zt,"\n\t\t}\n\n\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box + .box {\n\t\t\t").concat(H,"\n\t\t}\n\n\t\t").concat(r?"\n\t\t\t.".concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-day{\n\t\t\t\t").concat(Ae,"\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-day:hover{\n\t\t\t\t").concat(Fe,"\n\t\t\t}\n\t\t\t"):" ","\n\n\t\t").concat(c?"\n\t\t\t.".concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-hour{\n\t\t\t\t").concat(Qe,"\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-hour:hover{\n\t\t\t\t").concat($e,"\n\t\t\t}\n\t\t\t"):" ","\n\n\t\t").concat(l?"\n\t\t\t.".concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-minute{\n\t\t\t\t").concat(st,"\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-minute:hover{\n\t\t\t\t").concat(pt,"\n\t\t\t}\n\t\t\t"):" ","\n\n\t\t").concat(i?"\n\t\t\t.".concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-second{\n\t\t\t\t").concat(Rt,"\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-second:hover{\n\t\t\t\t").concat(Et,"\n\t\t\t}\n\n\t\t\t"):" ","\n\n\t"),da="\n\t\t.".concat(o,".eb-cd-wrapper{\n\t\t\t").concat(A,"\n\t\t\t").concat(de,"\n\t\t\t").concat(Ot,"\n\t\t\t").concat(It,"\n\t\t\t").concat($t,"\n\t\t}\n\n\t\t.").concat(o,".eb-cd-wrapper:hover{\n\t\t\t").concat(me,"\n\t\t\t").concat(ta,"\n\t\t}\n\n\t\t.").concat(o,".eb-cd-wrapper:before{\n\t\t\t").concat(he,"\n\t\t}\n\n\t\t.").concat(o,".eb-cd-wrapper:hover:before{\n\t\t\t").concat(we,"\n\t\t}\n\n\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box {\n\t\t\t").concat(Be,"\n\t\t\t").concat(Ht,"\n\t\t\t").concat(ca,"\n\t\t}\n\n\n\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box:hover{\n\t\t\t").concat(Te,"\n\t\t\t").concat(sa,"\n\t\t}\n\n\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box span.eb-cd-digit {\n\t\t\t").concat(K,"\n\t\t\t").concat(Vt,"\n\t\t}\n\n\t\t").concat(s&&"row"===f?"\n\t\t\t.".concat(o,".eb-cd-wrapper .eb-cd-inner .box + .box:before {\n\t\t\t\t").concat(le,"\n\t\t\t\t").concat(W,"\n\t\t\t\t").concat(J,"\n\t\t\t}\n\t\t\t"):" ","\n\n\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box span.eb-cd-label {\n\t\t\t").concat(ne,"\n\t\t\t").concat(Yt,"\n\t\t}\n\n\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box + .box {\n\t\t\t").concat(z,"\n\t\t}\n\n\t\t").concat(r?"\n\t\t\t.".concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-day{\n\t\t\t\t").concat(ze,"\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-day:hover{\n\t\t\t\t").concat(Ue,"\n\t\t\t}\n\t\t\t"):" ","\n\n\t\t").concat(c?"\n\t\t\t.".concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-hour{\n\t\t\t\t").concat(et,"\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-hour:hover{\n\t\t\t\t").concat(at,"\n\t\t\t}\n\t\t\t"):" ","\n\n\t\t").concat(l?"\n\t\t\t.".concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-minute{\n\t\t\t\t").concat(dt,"\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-minute:hover{\n\t\t\t\t").concat(gt,"\n\t\t\t}\n\t\t\t"):" ","\n\n\t\t").concat(i?"\n\t\t\t.".concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-second{\n\t\t\t\t").concat(xt,"\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-second:hover{\n\t\t\t\t").concat(Bt,"\n\t\t\t}\n\n\t\t\t"):" ","\n\n\n\t"),ma=$r("\n\t\t".concat(pa,"\n\n\n\t")),ga=$r("\n\t\t".concat(ua,"\n\n\n\t")),fa=$r("\n\t\t".concat(da,"\n\n\n\t"));return React.createElement(React.Fragment,null,React.createElement(oc,{attributes:t,setAttributes:a,desktopAllStyles:ma,tabAllStyles:ga,mobileAllStyles:fa,blockName:n}))}var cc=[{title:"Ticking Layout",content:'\x3c!-- wp:essential-blocks/countdown {"blockId":"eb-countdown-z5v9f","blockMeta":{"desktop":".eb-countdown-z5v9f.eb-cd-wrapper { max-width:600px; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }div.eb-countdown-z5v9f.eb-cd-wrapper { margin-left:auto; margin-right:auto }.eb-countdown-z5v9f.eb-cd-wrapper:before { transition:background 0.5s, opacity 0.5s, filter 0.5s }.eb-countdown-z5v9f.eb-cd-wrapper .eb-cd-inner { flex-direction:row }.eb-countdown-z5v9f.eb-cd-wrapper .eb-cd-inner .box { background-color:rgba(255,255,255,0.5); transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s; padding-top:20px; padding-bottom:20px; border-radius:50%; flex-direction:column; align-items:center }.eb-countdown-z5v9f.eb-cd-wrapper .eb-cd-inner .box span.eb-cd-digit { font-size:60px; line-height:1em; color:rgba(16,253,244,1) }.eb-countdown-z5v9f.eb-cd-wrapper .eb-cd-inner .box span.eb-cd-label { font-size:18px; color:rgba(0,0,0,0.5) }.eb-countdown-z5v9f.eb-cd-wrapper .eb-cd-inner .box + .box { margin:0; margin-left:30px }\\n\\t\\t\\n\\t","tab":"","mobile":""},"preset":"preset1","digitsColor":"rgba(16,253,244,1)","labelsColor":"rgba(0,0,0,0.5)","recurringCountdownEnd":1707903455306,"dg_FontSize":60,"dg_LineHeight":1,"boxsBg_backgroundColor":"rgba(255,255,255,0.5)","boxsBds_Rds_Unit":"%","boxsBds_Rds_Top":"50","boxsBds_Rds_Right":"50","boxsBds_Rds_Bottom":"50","boxsBds_Rds_Left":"50","commonStyles":{"desktop":".wp-admin .eb-parent-eb-countdown-z5v9f { display:block; opacity:1 }.eb-parent-eb-countdown-z5v9f { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-countdown-z5v9f { display:block; opacity:1 }.eb-parent-eb-countdown-z5v9f { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-countdown-z5v9f { display:block; opacity:1 }.eb-parent-eb-countdown-z5v9f { display:block }"}} --\x3e\n<div class="wp-block-essential-blocks-countdown"><div class="eb-parent-wrapper eb-parent-eb-countdown-z5v9f "><div class="eb-countdown-z5v9f eb-cd-wrapper preset1"><div class="eb-cd-inner" blockid="eb-countdown-z5v9f" data-deadline-time="0" data-is-evergreen-time="false" data-evergreen-time-hours="11" data-evergreen-time-minutes="59" data-evergreen-recurring="false" data-evergreen-restart-time="0" data-evergreen-deadline-time="1707903455306"><div class="box cd-box-day"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Days</span></div><div class="box cd-box-hour"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Hours</span></div><div class="box cd-box-minute"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Minutes</span></div><div class="box cd-box-second"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Seconds</span></div></div></div></div></div>\n\x3c!-- /wp:essential-blocks/countdown --\x3e'},{title:"Pulse Layout",content:'\x3c!-- wp:essential-blocks/countdown {"blockId":"eb-countdown-g0ker","blockMeta":{"desktop":".eb-countdown-g0ker.eb-cd-wrapper { max-width:600px; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }div.eb-countdown-g0ker.eb-cd-wrapper { margin-left:auto; margin-right:auto }.eb-countdown-g0ker.eb-cd-wrapper:before { transition:background 0.5s, opacity 0.5s, filter 0.5s }.eb-countdown-g0ker.eb-cd-wrapper .eb-cd-inner { flex-direction:row }.eb-countdown-g0ker.eb-cd-wrapper .eb-cd-inner .box { background-color:rgba(255,255,255,0.5); transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s; padding-top:20px; padding-bottom:20px; border-radius:50%; flex-direction:column; align-items:center }.eb-countdown-g0ker.eb-cd-wrapper .eb-cd-inner .box span.eb-cd-digit { font-size:60px; line-height:1em; color:rgba(16,253,244,1) }.eb-countdown-g0ker.eb-cd-wrapper .eb-cd-inner .box span.eb-cd-label { font-size:18px; color:rgba(0,0,0,0.5) }.eb-countdown-g0ker.eb-cd-wrapper .eb-cd-inner .box + .box { margin:0; margin-left:30px }\\n\\t\\t\\n\\t","tab":"","mobile":""},"preset":"preset1","digitsColor":"rgba(16,253,244,1)","labelsColor":"rgba(0,0,0,0.5)","recurringCountdownEnd":1710924171725,"dg_FontSize":60,"dg_LineHeight":1,"boxsBg_backgroundColor":"rgba(255,255,255,0.5)","boxsBds_Rds_Unit":"%","boxsBds_Rds_Top":"50","boxsBds_Rds_Right":"50","boxsBds_Rds_Bottom":"50","boxsBds_Rds_Left":"50","commonStyles":{"desktop":".wp-admin .eb-parent-eb-countdown-g0ker { display:block; opacity:1 }.eb-parent-eb-countdown-g0ker { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-countdown-g0ker { display:block; opacity:1 }.eb-parent-eb-countdown-g0ker { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-countdown-g0ker { display:block; opacity:1 }.eb-parent-eb-countdown-g0ker { display:block }"}} --\x3e\n<div class="wp-block-essential-blocks-countdown"><div class="eb-parent-wrapper eb-parent-eb-countdown-g0ker "><div class="eb-countdown-g0ker eb-cd-wrapper preset1"><div class="eb-cd-inner" blockid="eb-countdown-g0ker" data-deadline-time="0" data-is-evergreen-time="false" data-evergreen-time-hours="11" data-evergreen-time-minutes="59" data-evergreen-recurring="false" data-evergreen-restart-time="0" data-evergreen-deadline-time="1710924171725"><div class="box cd-box-day"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Days</span></div><div class="box cd-box-hour"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Hours</span></div><div class="box cd-box-minute"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Minutes</span></div><div class="box cd-box-second"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Seconds</span></div></div></div></div></div>\n\x3c!-- /wp:essential-blocks/countdown --\x3e'},{title:"Beat Layout",content:'\x3c!-- wp:essential-blocks/countdown {"blockId":"eb-countdown-037rg","blockMeta":{"desktop":".eb-countdown-037rg.eb-cd-wrapper { max-width:600px; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }div.eb-countdown-037rg.eb-cd-wrapper { margin-left:auto; margin-right:auto }.eb-countdown-037rg.eb-cd-wrapper:before { transition:background 0.5s, opacity 0.5s, filter 0.5s }.eb-countdown-037rg.eb-cd-wrapper .eb-cd-inner { flex-direction:row }.eb-countdown-037rg.eb-cd-wrapper .eb-cd-inner .box { background-color:rgba(255,255,255,1); transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s; padding-top:12px; padding-bottom:12px; border-radius:10px; flex-direction:column; align-items:center }.eb-countdown-037rg.eb-cd-wrapper .eb-cd-inner .box span.eb-cd-digit { font-size:64px; line-height:1.1em; color:rgba(75,75,75,1) }.eb-countdown-037rg.eb-cd-wrapper .eb-cd-inner .box span.eb-cd-label { font-size:21px; text-transform:uppercase; color:rgba(75,75,75,1) }.eb-countdown-037rg.eb-cd-wrapper .eb-cd-inner .box + .box { margin:0; margin-left:30px }.eb-countdown-037rg.eb-cd-wrapper .eb-cd-inner .box.cd-box-day { border-color:rgba(0,194,232,1) }.eb-countdown-037rg.eb-cd-wrapper .eb-cd-inner .box.cd-box-hour { border-color:rgba(255,107,211,1) }.eb-countdown-037rg.eb-cd-wrapper .eb-cd-inner .box.cd-box-minute { border-color:rgba(153,102,13,1) }.eb-countdown-037rg.eb-cd-wrapper .eb-cd-inner .box.cd-box-second { border-color:rgba(0,91,255,1) }\\n\\t\\t\\n\\t","tab":"","mobile":""},"preset":"preset2","digitsColor":"rgba(75,75,75,1)","labelsColor":"rgba(75,75,75,1)","dayBdrColor":"rgba(0,194,232,1)","hourBdrColor":"rgba(255,107,211,1)","minuteBdrColor":"rgba(153,102,13,1)","secondBdrColor":"rgba(0,91,255,1)","recurringCountdownEnd":1710924335631,"dg_FontSize":64,"dg_LineHeight":1.1,"lb_FontSize":21,"lb_TextTransform":"uppercase","sepRight_Range":20,"boxsBg_backgroundColor":"rgba(255,255,255,1)","boxsBds_borderStyle":"solid","boxsBds_Bdr_Top":"2","boxsBds_Bdr_Right":"2","boxsBds_Bdr_Bottom":"2","boxsBds_Bdr_Left":"2","boxsP_Top":"12","boxsP_Bottom":"12","commonStyles":{"desktop":".wp-admin .eb-parent-eb-countdown-037rg { display:block; opacity:1 }.eb-parent-eb-countdown-037rg { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-countdown-037rg { display:block; opacity:1 }.eb-parent-eb-countdown-037rg { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-countdown-037rg { display:block; opacity:1 }.eb-parent-eb-countdown-037rg { display:block }"}} --\x3e\n<div class="wp-block-essential-blocks-countdown"><div class="eb-parent-wrapper eb-parent-eb-countdown-037rg "><div class="eb-countdown-037rg eb-cd-wrapper preset2"><div class="eb-cd-inner" blockid="eb-countdown-037rg" data-deadline-time="0" data-is-evergreen-time="false" data-evergreen-time-hours="11" data-evergreen-time-minutes="59" data-evergreen-recurring="false" data-evergreen-restart-time="0" data-evergreen-deadline-time="1710924335631"><div class="box cd-box-day"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Days</span></div><div class="box cd-box-hour"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Hours</span></div><div class="box cd-box-minute"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Minutes</span></div><div class="box cd-box-second"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Seconds</span></div></div></div></div></div>\n\x3c!-- /wp:essential-blocks/countdown --\x3e'},{title:"Rhythm Layout",content:'\x3c!-- wp:essential-blocks/countdown {"blockId":"eb-countdown-x9jie","blockMeta":{"desktop":".eb-countdown-x9jie.eb-cd-wrapper { max-width:600px; background-color:rgba(255,255,255,1); border-radius:10px; box-shadow:rgba(155,155,155,1) 11px 12px 20px 0px ; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }div.eb-countdown-x9jie.eb-cd-wrapper { margin-left:auto; margin-right:auto }.eb-countdown-x9jie.eb-cd-wrapper:hover { box-shadow:rgba(155,155,155,1) 11px 12px 20px 0px   }.eb-countdown-x9jie.eb-cd-wrapper:before { transition:background 0.5s, opacity 0.5s, filter 0.5s }.eb-countdown-x9jie.eb-cd-wrapper .eb-cd-inner { flex-direction:row }.eb-countdown-x9jie.eb-cd-wrapper .eb-cd-inner .box { transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s; padding-top:20px; padding-bottom:20px; border-radius:10px; flex-direction:column; align-items:center }.eb-countdown-x9jie.eb-cd-wrapper .eb-cd-inner .box span.eb-cd-digit { font-size:62px; line-height:1.1em; color:#fff }.eb-countdown-x9jie.eb-cd-wrapper .eb-cd-inner .box + .box:before { position:absolute; right:90%; content:\\u0022:\\u0022; color:rgba(91,91,91,1); top:46%; padding-right:18%; font-size:44px }div.eb-countdown-x9jie.eb-cd-wrapper .eb-cd-inner .box:before { line-height:0 }.eb-countdown-x9jie.eb-cd-wrapper .eb-cd-inner .box span.eb-cd-label { font-size:16px; font-weight:500; text-transform:uppercase; color:rgba(77,77,77,1) }.eb-countdown-x9jie.eb-cd-wrapper .eb-cd-inner .box + .box { margin:0; margin-left:30px }.eb-countdown-x9jie.eb-cd-wrapper .eb-cd-inner .box.cd-box-day span.eb-cd-digit { color:rgba(52,219,213,1) }.eb-countdown-x9jie.eb-cd-wrapper .eb-cd-inner .box.cd-box-hour span.eb-cd-digit { color:rgba(138,65,255,1) }.eb-countdown-x9jie.eb-cd-wrapper .eb-cd-inner .box.cd-box-minute span.eb-cd-digit { color:rgba(1,206,135,1) }.eb-countdown-x9jie.eb-cd-wrapper .eb-cd-inner .box.cd-box-second span.eb-cd-digit { color:rgba(252,105,125,1) }\\n\\t\\t\\n\\t","tab":"","mobile":""},"preset":"preset3","showSeparator":true,"separatorColor":"rgba(91,91,91,1)","dayDgColor":"rgba(52,219,213,1)","hourDgColor":"rgba(138,65,255,1)","minuteDgColor":"rgba(1,206,135,1)","secondDgColor":"rgba(252,105,125,1)","labelsColor":"rgba(77,77,77,1)","recurringCountdownEnd":1710924365077,"dg_FontSize":62,"dg_LineHeight":1.1,"lb_FontSize":16,"lb_FontWeight":"500","lb_TextTransform":"uppercase","WrpBg_backgroundColor":"rgba(255,255,255,1)","wrpBdSd_hOffset":11,"wrpBdSd_vOffset":12,"wrpBdSd_blur":20,"wrpBdSd_shadowColor":"rgba(155,155,155,1)","wrpBdSd_Rds_Top":"10","wrpBdSd_Rds_Right":"10","wrpBdSd_Rds_Bottom":"10","wrpBdSd_Rds_Left":"10","commonStyles":{"desktop":".wp-admin .eb-parent-eb-countdown-x9jie { display:block; opacity:1 }.eb-parent-eb-countdown-x9jie { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-countdown-x9jie { display:block; opacity:1 }.eb-parent-eb-countdown-x9jie { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-countdown-x9jie { display:block; opacity:1 }.eb-parent-eb-countdown-x9jie { display:block }"}} --\x3e\n<div class="wp-block-essential-blocks-countdown"><div class="eb-parent-wrapper eb-parent-eb-countdown-x9jie "><div class="eb-countdown-x9jie eb-cd-wrapper preset3"><div class="eb-cd-inner" blockid="eb-countdown-x9jie" data-deadline-time="0" data-is-evergreen-time="false" data-evergreen-time-hours="11" data-evergreen-time-minutes="59" data-evergreen-recurring="false" data-evergreen-restart-time="0" data-evergreen-deadline-time="1710924365077"><div class="box cd-box-day"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Days</span></div><div class="box cd-box-hour"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Hours</span></div><div class="box cd-box-minute"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Minutes</span></div><div class="box cd-box-second"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Seconds</span></div></div></div></div></div>\n\x3c!-- /wp:essential-blocks/countdown --\x3e'},{title:"Chrono Layout",content:'\x3c!-- wp:essential-blocks/countdown {"blockId":"eb-countdown-1qf56","blockMeta":{"desktop":".eb-countdown-1qf56.eb-cd-wrapper { max-width:600px; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }div.eb-countdown-1qf56.eb-cd-wrapper { margin-left:auto; margin-right:auto }.eb-countdown-1qf56.eb-cd-wrapper:before { transition:background 0.5s, opacity 0.5s, filter 0.5s }.eb-countdown-1qf56.eb-cd-wrapper .eb-cd-inner { flex-direction:column }.eb-countdown-1qf56.eb-cd-wrapper .eb-cd-inner .box { transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s; padding-top:20px; padding-bottom:27px; border-radius:10px; justify-content:center; flex-direction:row; align-items:center }.eb-countdown-1qf56.eb-cd-wrapper .eb-cd-inner .box span.eb-cd-digit { font-size:64px; line-height:1em; color:#fff }.eb-countdown-1qf56.eb-cd-wrapper .eb-cd-inner .box span.eb-cd-label { font-size:20px; line-height:0em; font-weight:500; text-transform:uppercase; padding-top:35px; padding-left:10px; color:rgba(238,238,238,1) }.eb-countdown-1qf56.eb-cd-wrapper .eb-cd-inner .box + .box { margin:0; margin-top:30px }.eb-countdown-1qf56.eb-cd-wrapper .eb-cd-inner .box.cd-box-day { background-color:rgba(253,121,139,1) }.eb-countdown-1qf56.eb-cd-wrapper .eb-cd-inner .box.cd-box-hour { background-color:rgba(23,229,157,1) }.eb-countdown-1qf56.eb-cd-wrapper .eb-cd-inner .box.cd-box-minute { background-color:rgba(124,117,255,1) }.eb-countdown-1qf56.eb-cd-wrapper .eb-cd-inner .box.cd-box-second { background-color:rgba(75,230,224,1) }\\n\\t\\t\\n\\t","tab":"","mobile":""},"preset":"preset4","flexDirection":"column","contentsDirection":"row","labelsColor":"rgba(238,238,238,1)","recurringCountdownEnd":1710924396842,"dg_FontSize":64,"dg_LineHeight":1,"lb_FontSize":20,"lb_FontWeight":"500","lb_TextTransform":"uppercase","lb_LineHeight":0,"dayBg_backgroundColor":"rgba(253,121,139,1)","hourBg_backgroundColor":"rgba(23,229,157,1)","minuteBg_backgroundColor":"rgba(124,117,255,1)","secondBg_backgroundColor":"rgba(75,230,224,1)","boxsP_Bottom":"27","lblPad_isLinked":false,"lblPad_Top":"35","lblPad_Left":"10","commonStyles":{"desktop":".wp-admin .eb-parent-eb-countdown-1qf56 { display:block; opacity:1 }.eb-parent-eb-countdown-1qf56 { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-countdown-1qf56 { display:block; opacity:1 }.eb-parent-eb-countdown-1qf56 { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-countdown-1qf56 { display:block; opacity:1 }.eb-parent-eb-countdown-1qf56 { display:block }"}} --\x3e\n<div class="wp-block-essential-blocks-countdown"><div class="eb-parent-wrapper eb-parent-eb-countdown-1qf56 "><div class="eb-countdown-1qf56 eb-cd-wrapper preset4"><div class="eb-cd-inner" blockid="eb-countdown-1qf56" data-deadline-time="0" data-is-evergreen-time="false" data-evergreen-time-hours="11" data-evergreen-time-minutes="59" data-evergreen-recurring="false" data-evergreen-restart-time="0" data-evergreen-deadline-time="1710924396842"><div class="box cd-box-day"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Days</span></div><div class="box cd-box-hour"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Hours</span></div><div class="box cd-box-minute"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Minutes</span></div><div class="box cd-box-second"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Seconds</span></div></div></div></div></div>\n\x3c!-- /wp:essential-blocks/countdown --\x3e'},{title:"Ultimate Layout",content:'\x3c!-- wp:essential-blocks/countdown {"blockId":"eb-countdown-nw9fs","blockMeta":{"desktop":".eb-countdown-nw9fs.eb-cd-wrapper { max-width:600px; background-color:rgba(40,70,175,1); transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }div.eb-countdown-nw9fs.eb-cd-wrapper { margin-left:auto; margin-right:auto }.eb-countdown-nw9fs.eb-cd-wrapper:before { transition:background 0.5s, opacity 0.5s, filter 0.5s }.eb-countdown-nw9fs.eb-cd-wrapper .eb-cd-inner { flex-direction:row }.eb-countdown-nw9fs.eb-cd-wrapper .eb-cd-inner .box { transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s; padding-top:20px; padding-bottom:20px; border-radius:10px; flex-direction:column; align-items:center }.eb-countdown-nw9fs.eb-cd-wrapper .eb-cd-inner .box span.eb-cd-digit { font-size:70px; line-height:1em; color:rgba(255,255,255,0.8) }.eb-countdown-nw9fs.eb-cd-wrapper .eb-cd-inner .box + .box:before { position:absolute; right:90%; content:\\u0022|\\u0022; color:rgba(255,255,255,0.71); top:46%; padding-right:18%; font-size:90px; font-weight:100 }div.eb-countdown-nw9fs.eb-cd-wrapper .eb-cd-inner .box:before { line-height:0 }.eb-countdown-nw9fs.eb-cd-wrapper .eb-cd-inner .box span.eb-cd-label { font-size:19px; font-weight:100; text-transform:uppercase; padding-top:5px; color:#fff }.eb-countdown-nw9fs.eb-cd-wrapper .eb-cd-inner .box + .box { margin:0; margin-left:30px }","tab":"","mobile":""},"preset":"preset5","showSeparator":true,"separatorType":"|","separatorColor":"rgba(255,255,255,0.71)","digitsColor":"rgba(255,255,255,0.8)","recurringCountdownEnd":1713930010924,"dg_FontSize":70,"dg_LineHeight":1,"lb_FontSize":19,"lb_FontWeight":"100","lb_TextTransform":"uppercase","sp_FontSize":90,"sp_FontWeight":"100","WrpBg_backgroundColor":"rgba(40,70,175,1)","boxsBg_backgroundColor":"","lblPad_isLinked":false,"lblPad_Top":"5","commonStyles":{"desktop":".wp-admin .eb-parent-eb-countdown-nw9fs { display:block; opacity:1 }.eb-parent-eb-countdown-nw9fs { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-countdown-nw9fs { display:block; opacity:1 }.eb-parent-eb-countdown-nw9fs { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-countdown-nw9fs { display:block; opacity:1 }.eb-parent-eb-countdown-nw9fs { display:block }"}} --\x3e\n<div class="wp-block-essential-blocks-countdown"><div class="eb-parent-wrapper eb-parent-eb-countdown-nw9fs "><div class="eb-countdown-nw9fs eb-cd-wrapper preset5"><div class="eb-cd-inner" blockid="eb-countdown-nw9fs" data-deadline-time="0" data-is-evergreen-time="false" data-evergreen-time-hours="11" data-evergreen-time-minutes="59" data-evergreen-recurring="false" data-evergreen-restart-time="0" data-evergreen-deadline-time="1713930010924"><div class="box cd-box-day"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Days</span></div><div class="box cd-box-hour"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Hours</span></div><div class="box cd-box-minute"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Minutes</span></div><div class="box cd-box-second"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Seconds</span></div></div></div></div></div>\n\x3c!-- /wp:essential-blocks/countdown --\x3e'},{title:"Turbo Layout",content:'\x3c!-- wp:essential-blocks/countdown {"blockId":"eb-countdown-a9zfp","blockMeta":{"desktop":".eb-countdown-a9zfp.eb-cd-wrapper { max-width:600px; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }div.eb-countdown-a9zfp.eb-cd-wrapper { margin-left:auto; margin-right:auto }.eb-countdown-a9zfp.eb-cd-wrapper:before { transition:background 0.5s, opacity 0.5s, filter 0.5s }.eb-countdown-a9zfp.eb-cd-wrapper .eb-cd-inner { flex-direction:row }.eb-countdown-a9zfp.eb-cd-wrapper .eb-cd-inner .box { background-color:rgba(107,99,255,1); transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s; padding-top:10px; padding-bottom:10px; border-radius:10px; justify-content:center; flex-direction:row; align-items:flex-end }.eb-countdown-a9zfp.eb-cd-wrapper .eb-cd-inner .box span.eb-cd-digit { font-size:37px; color:#fff }.eb-countdown-a9zfp.eb-cd-wrapper .eb-cd-inner .box span.eb-cd-label { font-size:12px; line-height:1em; text-transform:uppercase; padding-left:5px; padding-bottom:20px; color:#fff }.eb-countdown-a9zfp.eb-cd-wrapper .eb-cd-inner .box + .box { margin:0; margin-left:30px }\\n\\t\\t\\n\\t","tab":"","mobile":""},"preset":"preset6","contentsAlign":"flex-end","contentsDirection":"row","recurringCountdownEnd":1710924440199,"dg_FontSize":37,"lb_FontSize":12,"lb_TextTransform":"uppercase","lb_LineHeight":1,"boxsBg_backgroundColor":"rgba(107,99,255,1)","boxsP_Top":"10","boxsP_Bottom":"10","lblPad_isLinked":false,"lblPad_Bottom":"20","lblPad_Left":"5","commonStyles":{"desktop":".wp-admin .eb-parent-eb-countdown-a9zfp { display:block; opacity:1 }.eb-parent-eb-countdown-a9zfp { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-countdown-a9zfp { display:block; opacity:1 }.eb-parent-eb-countdown-a9zfp { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-countdown-a9zfp { display:block; opacity:1 }.eb-parent-eb-countdown-a9zfp { display:block }"}} --\x3e\n<div class="wp-block-essential-blocks-countdown"><div class="eb-parent-wrapper eb-parent-eb-countdown-a9zfp "><div class="eb-countdown-a9zfp eb-cd-wrapper preset6"><div class="eb-cd-inner" blockid="eb-countdown-a9zfp" data-deadline-time="0" data-is-evergreen-time="false" data-evergreen-time-hours="11" data-evergreen-time-minutes="59" data-evergreen-recurring="false" data-evergreen-restart-time="0" data-evergreen-deadline-time="1710924440199"><div class="box cd-box-day"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Days</span></div><div class="box cd-box-hour"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Hours</span></div><div class="box cd-box-minute"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Minutes</span></div><div class="box cd-box-second"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Seconds</span></div></div></div></div></div>\n\x3c!-- /wp:essential-blocks/countdown --\x3e'},{title:"Radiant Layout",content:'\x3c!-- wp:essential-blocks/countdown {"blockId":"eb-countdown-tb5mf","blockMeta":{"desktop":".eb-countdown-tb5mf.eb-cd-wrapper { max-width:600px; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }div.eb-countdown-tb5mf.eb-cd-wrapper { margin-left:auto; margin-right:auto }.eb-countdown-tb5mf.eb-cd-wrapper:before { transition:background 0.5s, opacity 0.5s, filter 0.5s }.eb-countdown-tb5mf.eb-cd-wrapper .eb-cd-inner { flex-direction:row }.eb-countdown-tb5mf.eb-cd-wrapper .eb-cd-inner .box { transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s; padding-top:16px; padding-bottom:16px; border-radius:50%; flex-direction:column; align-items:center }.eb-countdown-tb5mf.eb-cd-wrapper .eb-cd-inner .box span.eb-cd-digit { font-size:46px; line-height:1em; color:rgba(0,0,0,0.5) }.eb-countdown-tb5mf.eb-cd-wrapper .eb-cd-inner .box span.eb-cd-label { font-size:18px; font-weight:600; color:rgba(0,0,0,0.5) }.eb-countdown-tb5mf.eb-cd-wrapper .eb-cd-inner .box + .box { margin:0; margin-left:30px }\\n\\t\\t\\n\\t","tab":"","mobile":""},"preset":"preset7","digitsColor":"rgba(0,0,0,0.5)","labelsColor":"rgba(0,0,0,0.5)","recurringCountdownEnd":1710924504172,"dg_FontSize":46,"dg_LineHeight":1,"lb_FontWeight":"600","sepRight_Range":29,"boxsBds_borderStyle":"solid","boxsBds_Bdr_Top":"10","boxsBds_Bdr_Right":"10","boxsBds_Bdr_Bottom":"10","boxsBds_Bdr_Left":"10","boxsBds_Rds_Unit":"%","boxsBds_Rds_Top":"50","boxsBds_Rds_Right":"50","boxsBds_Rds_Bottom":"50","boxsBds_Rds_Left":"50","boxsP_Top":"16","boxsP_Bottom":"16","commonStyles":{"desktop":".wp-admin .eb-parent-eb-countdown-tb5mf { display:block; opacity:1 }.eb-parent-eb-countdown-tb5mf { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-countdown-tb5mf { display:block; opacity:1 }.eb-parent-eb-countdown-tb5mf { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-countdown-tb5mf { display:block; opacity:1 }.eb-parent-eb-countdown-tb5mf { display:block }"}} --\x3e\n<div class="wp-block-essential-blocks-countdown"><div class="eb-parent-wrapper eb-parent-eb-countdown-tb5mf "><div class="eb-countdown-tb5mf eb-cd-wrapper preset7"><div class="eb-cd-inner" blockid="eb-countdown-tb5mf" data-deadline-time="0" data-is-evergreen-time="false" data-evergreen-time-hours="11" data-evergreen-time-minutes="59" data-evergreen-recurring="false" data-evergreen-restart-time="0" data-evergreen-deadline-time="1710924504172"><div class="box cd-box-day"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Days</span></div><div class="box cd-box-hour"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Hours</span></div><div class="box cd-box-minute"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Minutes</span></div><div class="box cd-box-second"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Seconds</span></div></div></div></div></div>\n\x3c!-- /wp:essential-blocks/countdown --\x3e'},{title:"Chroma Layout(Pro)",templatePreview:!0,preview:"".concat(null===(Jr=EssentialBlocksLocalize)||void 0===Jr?void 0:Jr.image_url,"/templates/countdown/preset-8.png"),pro:!0},{title:"Prime Layout(Pro)",templatePreview:!0,preview:"".concat(null===(Qr=EssentialBlocksLocalize)||void 0===Qr?void 0:Qr.image_url,"/templates/countdown/preset-9.png"),pro:!0}];function lc(e){return lc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},lc(e)}function ic(){return ic=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},ic.apply(null,arguments)}function sc(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function bc(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?sc(Object(a),!0).forEach((function(t){pc(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):sc(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function pc(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=lc(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=lc(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==lc(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var uc=window.EBControls,dc=uc.BlockProps,mc=uc.BrowseTemplate,gc=window.EBControls.BlockProps;const fc={attributes:{endTimeStamp:Date.now()+462878e3}};function yc(e){return yc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yc(e)}function vc(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function hc(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?vc(Object(a),!0).forEach((function(t){wc(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):vc(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function wc(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=yc(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=yc(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==yc(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const kc=[{attributes:hc({},Mr),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.endTimeStamp,o=t.showDays,r=t.showHours,c=t.showMinutes,l=t.showSeconds,i=t.daysLabel,s=t.hoursLabel,b=t.minutesLabel,p=t.secondsLabel,u=t.classHook,d=t.isEvergreenTimer,m=t.evergreenTimerHours,g=t.evergreenTimerMinutes,f=t.recurringCountdown,y=t.restartTime,v=t.recurringCountdownEnd,h=t.preset;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(u)},React.createElement("div",{className:"".concat(a," eb-cd-wrapper ").concat(h)},React.createElement("div",{className:"eb-cd-inner",blockId:a,"data-deadline-time":"".concat(n||0),"data-is-evergreen-time":d||!1,"data-evergreen-time-hours":m||"11","data-evergreen-time-minutes":g||"59","data-evergreen-recurring":f||!1,"data-evergreen-restart-time":y||"0","data-evergreen-deadline-time":"".concat(v||0)},o?React.createElement("div",{className:"box cd-box-day"},React.createElement("span",{className:"eb-cd-digit"},"00"),i?React.createElement("span",{className:"eb-cd-label"},i):null):null,r?React.createElement("div",{className:"box cd-box-hour"},React.createElement("span",{className:"eb-cd-digit"},"00"),s?React.createElement("span",{className:"eb-cd-label"},s):null):null,c?React.createElement("div",{className:"box cd-box-minute"},React.createElement("span",{className:"eb-cd-digit"},"00"),b?React.createElement("span",{className:"eb-cd-label"},b):null):null,l?React.createElement("div",{className:"box cd-box-second"},React.createElement("span",{className:"eb-cd-digit"},"00"),p?React.createElement("span",{className:"eb-cd-label"},p):null):null))))}},{attributes:hc({},Mr),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.endTimeStamp,o=t.showDays,r=t.showHours,c=t.showMinutes,l=t.showSeconds,i=t.daysLabel,s=t.hoursLabel,b=t.minutesLabel,p=t.secondsLabel,u=t.classHook,d=t.isEvergreenTimer,m=t.evergreenTimerHours,g=t.evergreenTimerMinutes,f=t.recurringCountdown,y=t.restartTime,v=t.recurringCountdownEnd;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(u)},React.createElement("div",{className:"".concat(a," eb-cd-wrapper")},React.createElement("div",{className:"eb-cd-inner",blockId:a,"data-deadline-time":"".concat(n||0),"data-is-evergreen-time":d||!1,"data-evergreen-time-hours":m||"11","data-evergreen-time-minutes":g||"59","data-evergreen-recurring":f||!1,"data-evergreen-restart-time":y||"0","data-evergreen-deadline-time":"".concat(v||0)},o?React.createElement("div",{className:"box cd-box-day"},React.createElement("span",{className:"eb-cd-digit"},"00"),i?React.createElement("span",{className:"eb-cd-label"},i):null):null,r?React.createElement("div",{className:"box cd-box-hour"},React.createElement("span",{className:"eb-cd-digit"},"00"),s?React.createElement("span",{className:"eb-cd-label"},s):null):null,c?React.createElement("div",{className:"box cd-box-minute"},React.createElement("span",{className:"eb-cd-digit"},"00"),b?React.createElement("span",{className:"eb-cd-label"},b):null):null,l?React.createElement("div",{className:"box cd-box-second"},React.createElement("span",{className:"eb-cd-digit"},"00"),p?React.createElement("span",{className:"eb-cd-label"},p):null):null))))}},{attributes:(0,nt.omit)(Mr,["isEvergreenTimer","evergreenTimerHours","evergreenTimerMinutes","recurringCountdown","restartTime","recurringCountdownEnd"]),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.endTimeStamp,o=t.showDays,r=t.showHours,c=t.showMinutes,l=t.showSeconds,i=t.daysLabel,s=t.hoursLabel,b=t.minutesLabel,p=t.secondsLabel,u=t.classHook;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(u)},React.createElement("div",{className:"".concat(a," eb-cd-wrapper")},React.createElement("div",{className:"eb-cd-inner","data-deadline-time":"".concat(n||0)},o?React.createElement("div",{className:"box cd-box-day"},React.createElement("span",{className:"eb-cd-digit"},"00"),i?React.createElement("span",{className:"eb-cd-label"},i):null):null,r?React.createElement("div",{className:"box cd-box-hour"},React.createElement("span",{className:"eb-cd-digit"},"00"),s?React.createElement("span",{className:"eb-cd-label"},s):null):null,c?React.createElement("div",{className:"box cd-box-minute"},React.createElement("span",{className:"eb-cd-digit"},"00"),b?React.createElement("span",{className:"eb-cd-label"},b):null):null,l?React.createElement("div",{className:"box cd-box-second"},React.createElement("span",{className:"eb-cd-digit"},"00"),p?React.createElement("span",{className:"eb-cd-label"},p):null):null))))}},{attributes:hc({},Mr),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.endTimeStamp,o=t.showDays,r=t.showHours,c=t.showMinutes,l=t.showSeconds,i=t.daysLabel,s=t.hoursLabel,b=t.minutesLabel,p=t.secondsLabel;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"".concat(a," eb-cd-wrapper")},React.createElement("div",{className:"eb-cd-inner","data-deadline-time":"".concat(n||0)},o?React.createElement("div",{className:"box cd-box-day"},React.createElement("span",{className:"eb-cd-digit"},"00"),i?React.createElement("span",{className:"eb-cd-label"},i):null):null,r?React.createElement("div",{className:"box cd-box-hour"},React.createElement("span",{className:"eb-cd-digit"},"00"),s?React.createElement("span",{className:"eb-cd-label"},s):null):null,c?React.createElement("div",{className:"box cd-box-minute"},React.createElement("span",{className:"eb-cd-digit"},"00"),b?React.createElement("span",{className:"eb-cd-label"},b):null):null,l?React.createElement("div",{className:"box cd-box-second"},React.createElement("span",{className:"eb-cd-digit"},"00"),p?React.createElement("span",{className:"eb-cd-label"},p):null):null)))}}],Rc=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Countdown","name":"essential-blocks/countdown","category":"essential-blocks","description":"Highlight upcoming events with countdown timer","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');(0,EBControls.ebConditionalRegisterBlockType)(Rc,{icon:Jo,attributes:Mr,keywords:[(0,Y.__)("countdown","essential-blocks"),(0,Y.__)("eb counter","essential-blocks"),(0,Y.__)("eb countdown","essential-blocks")],edit:function(e){var t=e.attributes,a=e.setAttributes,n=e.isSelected,o=(0,J.useRef)(null),r=(0,J.useRef)(null),c=(0,J.useRef)(null),l=(0,J.useRef)(null),i=(t.resOption,t.blockId),s=(t.blockMeta,t.endTimeStamp),b=t.showDays,p=t.showHours,u=t.showMinutes,d=t.showSeconds,m=t.daysLabel,g=t.hoursLabel,f=t.minutesLabel,y=t.secondsLabel,v=t.preset,h=t.classHook,w=t.isEvergreenTimer,k=t.evergreenTimerHours,R=t.evergreenTimerMinutes,_=t.recurringCountdown,E=t.restartTime,C=t.recurringCountdownEnd,x=t.showBlockContent,S=bc(bc({},e),{},{blockPrefix:"eb-countdown",style:React.createElement(rc,e)});return(0,J.useEffect)((function(){var e={current:{textContent:"3e"}},t=o.current?o:e,a=r.current?r:e,n=c.current?c:e,b=l.current?l:e,p=function(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=Date.now(),c=Math.round((e-r)/1e3),l=c%60,i=Math.floor(c/60)%60,s=Math.floor(c/3600)%24,p=Math.floor(c/86400);if(c<0)return clearInterval(o),t.current.textContent="00",a.current.textContent="00",n.current.textContent="00",void(b.current.textContent="00");t.current.textContent=p<10?"0".concat(p):"".concat(p),a.current.textContent=s<10?"0".concat(s):"".concat(s),n.current.textContent=i<10?"0".concat(i):"".concat(i),b.current.textContent=l<10?"0".concat(l):"".concat(l)};if(w){var u=i+"_evergreen_interval",d=i+"_evergreen_time",m=localStorage.getItem(u),g=localStorage.getItem(d),f=3600*parseInt(k||0),y=60*parseInt(R||0),v=parseInt(f+y);if(null!==g&&null!==m&&m==v||(g=Date.now()+1e3*parseInt(v),localStorage.setItem(u,v),localStorage.setItem(d,g)),_){var h=36e5*parseFloat(E);parseInt(g)+h<Date.now()&&(g=Date.now()+1e3*parseInt(v),localStorage.setItem(d,g)),C<g&&(g=C)}p(g||0);var x=setInterval((function(){p(g||0,x)}),1e3);return function(){clearInterval(x)}}if(!w){p(s||0);var S=setInterval((function(){p(s||0,S)}),1e3);return function(){clearInterval(S)}}}),[s,b,p,u,d,w,k,R,_,E,C]),React.createElement(React.Fragment,null,n&&x&&React.createElement(Yr,{attributes:t,setAttributes:a}),React.createElement(dc.Edit,S,React.createElement(mc,ic({},e,{Icon:Jo,title:"Countdown",description:"Choose a template for the Countdown or start blank.",patterns:(0,Qo.applyFilters)("eb_pro_templates_countdown",cc)})),x&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(i," ").concat(h)},React.createElement("div",{className:"".concat(i," eb-cd-wrapper ").concat(v)},React.createElement("div",{className:"eb-cd-inner"},b?React.createElement("div",{className:"box cd-box-day"},React.createElement("span",{ref:o,className:"eb-cd-digit"},"00"),m?React.createElement("span",{className:"eb-cd-label"},m):null):null,p?React.createElement("div",{className:"box cd-box-hour"},React.createElement("span",{ref:r,className:"eb-cd-digit"},"00"),g?React.createElement("span",{className:"eb-cd-label"},g):null):null,u?React.createElement("div",{className:"box cd-box-minute"},React.createElement("span",{ref:c,className:"eb-cd-digit"},"00"),f?React.createElement("span",{className:"eb-cd-label"},f):null):null,d?React.createElement("div",{className:"box cd-box-second"},React.createElement("span",{ref:l,className:"eb-cd-digit"},"00"),y?React.createElement("span",{className:"eb-cd-label"},y):null):null))))))},save:function(e){var t=e.attributes,a=t.blockId,n=t.endTimeStamp,o=t.showDays,r=t.showHours,c=t.showMinutes,l=t.showSeconds,i=t.daysLabel,s=t.hoursLabel,b=t.minutesLabel,p=t.secondsLabel,u=t.classHook,d=t.isEvergreenTimer,m=t.evergreenTimerHours,g=t.evergreenTimerMinutes,f=t.recurringCountdown,y=t.restartTime,v=t.recurringCountdownEnd,h=t.preset;if(t.showBlockContent)return React.createElement(gc.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(u)},React.createElement("div",{className:"".concat(a," eb-cd-wrapper ").concat(h)},React.createElement("div",{className:"eb-cd-inner",blockId:a,"data-deadline-time":"".concat(n||0),"data-is-evergreen-time":d||!1,"data-evergreen-time-hours":m||"11","data-evergreen-time-minutes":g||"59","data-evergreen-recurring":f||!1,"data-evergreen-restart-time":y||"0","data-evergreen-deadline-time":"".concat(v||0)},o?React.createElement("div",{className:"box cd-box-day"},React.createElement("span",{className:"eb-cd-digit"},"00"),i?React.createElement("span",{className:"eb-cd-label"},i):null):null,r?React.createElement("div",{className:"box cd-box-hour"},React.createElement("span",{className:"eb-cd-digit"},"00"),s?React.createElement("span",{className:"eb-cd-label"},s):null):null,c?React.createElement("div",{className:"box cd-box-minute"},React.createElement("span",{className:"eb-cd-digit"},"00"),b?React.createElement("span",{className:"eb-cd-label"},b):null):null,l?React.createElement("div",{className:"box cd-box-second"},React.createElement("span",{className:"eb-cd-digit"},"00"),p?React.createElement("span",{className:"eb-cd-label"},p):null):null))))},example:fc,deprecated:kc});var _c="title",Ec="number",Cc="prefix",xc="suffix",Sc="wrapperMargin",Bc="wrapperPadding",Tc="mdBgPd",Nc="mdBgMg",Pc="mdBgRs",Oc="wrpBG_",Mc="wrp_",Dc="rgNT",jc="rgNP",Ic="rgNS",Ac="mIconZ",Lc="imgW",Fc="imgH",Hc="mcGap";function zc(e){return zc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},zc(e)}function qc(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Uc(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?qc(Object(a),!0).forEach((function(t){Vc(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):qc(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Vc(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=zc(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=zc(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==zc(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var Wc=window.EBControls,Gc=Wc.generateDimensionsAttributes,Zc=Wc.generateTypographyAttributes,Yc=Wc.generateBackgroundAttributes,Jc=Wc.generateBorderShadowAttributes,Qc=Wc.generateResponsiveRangeAttributes;const Xc=Uc(Uc(Uc(Uc(Uc(Uc(Uc(Uc(Uc(Uc(Uc(Uc(Uc(Uc(Uc({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},startValue:{type:"string",default:"0"},target:{type:"string",default:"50000"},duration:{type:"string",default:"1000"},counterTitle:{type:"string",default:"Active Users"},counterPrefix:{type:"string",default:""},counterSuffix:{type:"string",default:"+"},isShowSeparator:{type:"boolean",default:!0},separator:{type:"string",default:","},separastorSelectLabel:{type:"string",default:"Default"},wrapperFlexDirection:{type:"string",default:"column"},layoutLabel:{type:"string"},titleColor:{type:"string",default:"var(--eb-global-heading-color)"},numberColor:{type:"string",default:"var(--eb-global-heading-color)"},numPrefixColor:{type:"string",default:"var(--eb-global-text-color)"},numSuffixColor:{type:"string",default:"var(--eb-global-text-color)"},layoutPreset:{type:"string",default:"preset1"},rootFlexDirection:{type:"string",default:"column"},mediaAlignSelf:{type:"string",default:"center"},contentsAlignSelf:{type:"string"},contentAlignment:{type:"string",default:"center"},media:{type:"string",default:"none"},selectedIcon:{type:"string",default:"far fa-gem"},iconColor:{type:"string",default:"var(--eb-global-primary-color)"},useIconBg:{type:"boolean",default:!0},iconBgType:{type:"string",default:"fill"},iconBgColor:{type:"string",default:"var(--eb-global-background-color)"},iconBgGradient:{type:"string",default:"var(--eb-global-background-color)"},imageUrl:{type:"string"},imageId:{type:"string"},isMediaImgHeightAuto:{type:"boolean",default:!0},counterTitleLevel:{type:"string",default:"h4"},titleLevel:{type:"string",default:"h3"}},Zc(Object.values(l))),Gc(Sc)),Gc(Tc,{top:20,bottom:20,right:20,left:20})),Gc(Pc,{top:20,bottom:20,isLinked:!1})),Gc(Nc,{top:15,isLinked:!1})),Gc(Bc,{top:30,bottom:30,right:10,left:10,isLinked:!1})),Yc(Oc,{defaultFillColor:"var(--eb-global-background-color)",defaultBgGradient:"var(--eb-gradient-background-color)"})),Jc(Mc)),Qc(Dc,{defaultRange:20})),Qc(jc)),Qc(Ic)),Qc(Ac,{defaultRange:50})),Qc(Lc,{defaultRange:300})),Qc(Fc)),Qc(Hc,{defaultRange:20,noUnits:!0}));var $c=[{label:(0,Y.__)("Default","essential-blocks"),value:"Default"},{label:(0,Y.__)("Dot","essential-blocks"),value:"Dot"},{label:(0,Y.__)("Space","essential-blocks"),value:"Space"}],Kc=[{label:(0,Y.__)("Default","essential-blocks"),value:"Default"},{label:(0,Y.__)("Reverse","essential-blocks"),value:"Reverse"}],el=((0,Y.__)("100","essential-blocks"),(0,Y.__)("200","essential-blocks"),(0,Y.__)("300","essential-blocks"),(0,Y.__)("400","essential-blocks"),(0,Y.__)("500","essential-blocks"),(0,Y.__)("600","essential-blocks"),(0,Y.__)("700","essential-blocks"),(0,Y.__)("800","essential-blocks"),(0,Y.__)("900","essential-blocks"),(0,Y.__)("None","essential-blocks"),(0,Y.__)("Lowercase","essential-blocks"),(0,Y.__)("Capitalize","essential-blocks"),(0,Y.__)("Uppercase","essential-blocks"),(0,Y.__)("Initial","essential-blocks"),(0,Y.__)("Overline","essential-blocks"),(0,Y.__)("Line Through","essential-blocks"),(0,Y.__)("Underline","essential-blocks"),(0,Y.__)("Underline Oveline","essential-blocks"),(0,Y.__)("Fill","essential-blocks"),(0,Y.__)("Gradient","essential-blocks"),(0,Y.__)("Image","essential-blocks"),(0,Y.__)("Auto","essential-blocks"),(0,Y.__)("Cover","essential-blocks"),(0,Y.__)("Contain","essential-blocks"),(0,Y.__)("None","essential-blocks"),(0,Y.__)("Dashed","essential-blocks"),(0,Y.__)("Solid","essential-blocks"),(0,Y.__)("Dotted","essential-blocks"),(0,Y.__)("Double","essential-blocks"),(0,Y.__)("Groove","essential-blocks"),(0,Y.__)("Inset","essential-blocks"),(0,Y.__)("Outset","essential-blocks"),(0,Y.__)("Ridge","essential-blocks"),[{label:(0,Y.__)("Preset 1","essential-blocks"),value:"preset1"},{label:(0,Y.__)("Preset 2","essential-blocks"),value:"preset2"},{label:(0,Y.__)("Preset 3","essential-blocks"),value:"preset3"},{label:(0,Y.__)("Preset 4","essential-blocks"),value:"preset4"}]),tl=["image","icon","none"],al=[{label:(0,Y.__)("Left","essential-blocks"),value:"left"},{label:(0,Y.__)("Center","essential-blocks"),value:"center"},{label:(0,Y.__)("Right","essential-blocks"),value:"right"}],nl=[{label:(0,Y.__)("Left","essential-blocks"),value:"flex-start"},{label:(0,Y.__)("Center","essential-blocks"),value:"center"},{label:(0,Y.__)("Right","essential-blocks"),value:"flex-end"}],ol=[{label:(0,Y.__)("Top","essential-blocks"),value:"flex-start"},{label:(0,Y.__)("Middle","essential-blocks"),value:"center"},{label:(0,Y.__)("Bottom","essential-blocks"),value:"flex-end"}],rl=[{label:(0,Y.__)("Top","essential-blocks"),value:"start"},{label:(0,Y.__)("Middle","essential-blocks"),value:"center"},{label:(0,Y.__)("Bottom","essential-blocks"),value:"end"}],cl=[{label:"Fill",value:"fill"},{label:"Gradient",value:"gradient"}],ll=[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"}],il=[{label:"px",value:"px"},{label:"em",value:"em"},{label:"vh",value:"vh"}],sl=[{label:(0,Y.__)("H1","essential-blocks"),value:"h1"},{label:(0,Y.__)("H2","essential-blocks"),value:"h2"},{label:(0,Y.__)("H3","essential-blocks"),value:"h3"},{label:(0,Y.__)("H4","essential-blocks"),value:"h4"},{label:(0,Y.__)("H5","essential-blocks"),value:"h5"},{label:(0,Y.__)("H6","essential-blocks"),value:"h6"},{label:(0,Y.__)("P","essential-blocks"),value:"p"}],bl=window.EBControls,pl=bl.ColorControl,ul=bl.ResponsiveDimensionsControl,dl=bl.ResponsiveRangeController,ml=bl.TypographyDropdown,gl=bl.BackgroundControl,fl=bl.BorderShadowControl,yl=bl.GradientColorControl,vl=bl.ImageAvatar,hl=(bl.faIcons,bl.EBIconPicker),wl=bl.AdvancedControls;const kl=function(e){var t=e.attributes,a=e.setAttributes,n=t.resOption,o=t.startValue,r=t.target,c=t.counterPrefix,l=t.counterSuffix,i=t.duration,s=t.isShowSeparator,b=t.separastorSelectLabel,p=t.layoutLabel,u=t.titleColor,d=t.numberColor,m=t.numPrefixColor,g=t.numSuffixColor,f=t.layoutPreset,y=t.rootFlexDirection,v=t.contentAlignment,h=t.mediaAlignSelf,w=t.contentsAlignSelf,k=t.media,R=t.selectedIcon,_=t.iconColor,E=t.useIconBg,C=t.iconBgType,x=t.iconBgColor,S=t.iconBgGradient,B=t.imageUrl,T=t.imageId,N=t.isMediaImgHeightAuto,P=t.counterTitleLevel,O=t.titleLevel,M=function(e){switch(e){case"preset1":a({rootFlexDirection:"column",contentAlignment:"center",mediaAlignSelf:"center"});break;case"preset2":a({rootFlexDirection:"column-reverse",contentAlignment:"center",mediaAlignSelf:"center"});break;case"preset3":a({rootFlexDirection:"row",contentAlignment:"left",mediaAlignSelf:"flex-start"});break;case"preset4":a({rootFlexDirection:"row-reverse",contentAlignment:"right",mediaAlignSelf:"flex-start"})}a({layoutPreset:e})},D={setAttributes:a,resOption:n,attributes:t,objAttributes:Xc};return React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:"General",className:"eb-tab general"},{name:"styles",title:"Style",className:"eb-tab styles"},{name:"advance",title:"Advanced",className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls"+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,null,React.createElement(X.BaseControl,{id:"eb-infobox-image-icon",label:(0,Y.__)("Media Options","essential-blocks")},React.createElement(X.ButtonGroup,{id:"eb-infobox-image-icon"},tl.map((function(e,t){return React.createElement(X.Button,{key:t,isSecondary:k!==e,isPrimary:k===e,onClick:function(){return a({media:e})}},e)}))))),"none"!==k&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,null,React.createElement(X.SelectControl,{label:(0,Y.__)("Layout Preset ","essential-blocks"),value:f,options:el,onChange:M}),React.createElement(dl,{baseLabel:(0,Y.__)("Media & content spacing","Infobox"),controlName:Hc,resRequiredProps:D,min:0,max:500,step:1,noUnits:!0}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Counter Settings","essential-blocks")},React.createElement(X.BaseControl,{id:"eb-counter-start-value"},React.createElement(X.TextControl,{label:(0,Y.__)("Starting Number","essential-blocks"),value:o,type:"number",onChange:function(e){return!/[\-\.]/.test(e)&&a({startValue:e})}})),React.createElement(X.BaseControl,{id:"eb-counter-end-value"},React.createElement(X.TextControl,{label:(0,Y.__)("Ending Number","essential-blocks"),value:r,type:"number",onChange:function(e){return!/[\-\.]/.test(e)&&a({target:e})}})),React.createElement(X.BaseControl,{id:"eb-counter-duration"},React.createElement(X.TextControl,{label:(0,Y.__)("Animation Duration","essential-blocks"),value:i,type:"number",onChange:function(e){return!/[\-\.]/.test(e)&&a({duration:e})}})),React.createElement(X.BaseControl,{id:"eb-counter-prefix"},React.createElement(X.TextControl,{label:(0,Y.__)("Number Prefix","essential-blocks"),value:c,onChange:function(e){return a({counterPrefix:e})}})),React.createElement(X.BaseControl,{id:"eb-counter-suffix"},React.createElement(X.TextControl,{label:(0,Y.__)("Number Suffix","essential-blocks"),value:l,onChange:function(e){return a({counterSuffix:e})}})),React.createElement(X.SelectControl,{label:(0,Y.__)("Content layouts","essential-blocks"),options:Kc,value:p,onChange:function(e){return function(e){switch(e){case"Default":a({wrapperFlexDirection:"column"});break;case"Reverse":a({wrapperFlexDirection:"column-reverse"})}a({layoutLabel:e})}(e)}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Thousand Separator","essential-blocks"),checked:s,onChange:function(){return a({isShowSeparator:!s})}}),s&&React.createElement(X.SelectControl,{label:(0,Y.__)("Separator","essential-blocks"),options:$c,value:b,onChange:function(e){return function(e){switch(e){case"Default":a({separator:","});break;case"Dot":a({separator:"."});break;case"Space":a({separator:" "})}a({separastorSelectLabel:e})}(e)}})),React.createElement(X.PanelBody,null,React.createElement(X.BaseControl,{label:(0,Y.__)("Counter Title Level","essential-blocks"),id:"eb-advance-heading-alignment"},React.createElement(X.ButtonGroup,{className:"eb-advance-heading-alignment eb-html-tag-buttongroup"},sl.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:P===e.value,isSecondary:P!==e.value,onClick:function(){return a({counterTitleLevel:e.value})}},e.label)})))),React.createElement(X.__experimentalDivider,null),React.createElement(X.BaseControl,{label:(0,Y.__)("Title Level","essential-blocks"),id:"eb-advance-heading-alignment"},React.createElement(X.ButtonGroup,{className:"eb-advance-heading-alignment eb-html-tag-buttongroup"},sl.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:O===e.value,isSecondary:O!==e.value,onClick:function(){return a({titleLevel:e.value})}},e.label)})))))),"styles"===e.name&&React.createElement(React.Fragment,null,"none"!==k&&React.createElement(X.PanelBody,{title:(0,Y.__)("Media","essential-blocks")},"icon"===k&&React.createElement(React.Fragment,null,React.createElement(hl,{value:R,onChange:function(e){return a({selectedIcon:e})}}),R&&React.createElement(dl,{baseLabel:(0,Y.__)("Icon Size","essential-blocks"),controlName:Ac,resRequiredProps:D,min:8,max:200,step:1}),React.createElement(pl,{label:(0,Y.__)("Color","essential-blocks"),color:_,onChange:function(e){return a({iconColor:e})}}),React.createElement(ul,{resRequiredProps:D,controlName:Tc,baseLabel:"Padding"}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Use Background","essential-blocks"),checked:E,onChange:function(){return a({useIconBg:!E})}}),E&&React.createElement(React.Fragment,null,React.createElement(X.BaseControl,{label:(0,Y.__)("Background Type","essential-blocks")},React.createElement(X.ButtonGroup,{id:"eb-infobox-infobox-background"},cl.map((function(e,t){var n=e.value,o=e.label;return React.createElement(X.Button,{key:t,isPrimary:C===n,isSecondary:C!==n,onClick:function(){return a({iconBgType:n})}},o)})))),"fill"===C&&React.createElement(pl,{label:(0,Y.__)("Background Color","essential-blocks"),color:x,onChange:function(e){return a({iconBgColor:e})}}),"gradient"===C&&React.createElement(X.PanelBody,{title:(0,Y.__)("Gradient","essential-blocks")},React.createElement(yl,{gradientColor:S,onChange:function(e){return a({iconBgGradient:e})}})))),"image"===k&&!B&&React.createElement(Q.MediaUpload,{onSelect:function(e){var t=e.id,n=e.url;return a({imageUrl:n,imageId:t})},type:"image",value:T,render:function(e){var t=e.open;return React.createElement(X.Button,{className:"eb-background-control-inspector-panel-img-btn components-button",label:(0,Y.__)("Upload Image","essential-blocks"),icon:"format-image",onClick:t})}}),"image"===k&&B&&React.createElement(React.Fragment,null,React.createElement(vl,{imageUrl:B,onDeleteImage:function(){return a({imageUrl:null})}}),React.createElement(dl,{baseLabel:(0,Y.__)("Image Width","essential-blocks"),controlName:Lc,resRequiredProps:D,units:ll,min:0,max:500,step:1}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Auto Image Height","essential-blocks"),checked:N,onChange:function(){return a({isMediaImgHeightAuto:!N})}}),!N&&React.createElement(React.Fragment,null,React.createElement(dl,{baseLabel:(0,Y.__)("Image Height","essential-blocks"),controlName:Fc,resRequiredProps:D,units:il,min:0,max:500,step:1}))),React.createElement(X.__experimentalDivider,null),React.createElement(ul,{forBorderRadius:!0,resRequiredProps:D,controlName:Pc,baseLabel:"Border Radius"}),React.createElement(ul,{resRequiredProps:D,controlName:Nc,baseLabel:"Margin"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Alignments","essential-blocks")},"none"!==k&&React.createElement(React.Fragment,null,("row"===y||"row-reverse"===y)&&React.createElement(React.Fragment,null,React.createElement(X.BaseControl,{id:"eb-infobox-alignments",label:"Media Vertical alignments"},React.createElement(X.ButtonGroup,{id:"eb-infobox-alignments"},ol.map((function(e,t){var n=e.value,o=e.label;return React.createElement(X.Button,{key:t,isSecondary:h!==n,isPrimary:h===n,onClick:function(){return a({mediaAlignSelf:n})}},o)})))),React.createElement(X.BaseControl,{id:"eb-infobox-alignments",label:"Content Vertical alignments"},React.createElement(X.ButtonGroup,{id:"eb-infobox-alignments"},rl.map((function(e,t){var n=e.value,o=e.label;return React.createElement(X.Button,{key:t,isSecondary:w!==n,isPrimary:w===n,onClick:function(){return a({contentsAlignSelf:n})}},o)}))))),("column"===y||"column-reverse"===y)&&React.createElement(X.BaseControl,{id:"eb-infobox-alignments",label:"Media alignments"},React.createElement(X.ButtonGroup,{id:"eb-infobox-alignments"},nl.map((function(e,t){var n=e.value,o=e.label;return React.createElement(X.Button,{key:t,isSecondary:h!==n,isPrimary:h===n,onClick:function(){return a({mediaAlignSelf:n})}},o)}))))),React.createElement(X.BaseControl,{id:"eb-infobox-alignments",label:"Contents alignments"},React.createElement(X.ButtonGroup,{id:"eb-infobox-alignments"},al.map((function(e,t){var n=e.value,o=e.label;return React.createElement(X.Button,{key:t,isSecondary:v!==n,isPrimary:v===n,onClick:function(){return a({contentAlignment:n})}},o)}))))),React.createElement(X.PanelBody,{title:(0,Y.__)("Number","essential-blocks")},React.createElement(ml,{baseLabel:"Typography",typographyPrefixConstant:Ec,resRequiredProps:D}),React.createElement(pl,{label:(0,Y.__)("Color","essential-blocks"),color:d,onChange:function(e){return a({numberColor:e})}})),React.createElement(X.PanelBody,{title:(0,Y.__)("Title","essential-blocks")},React.createElement(ml,{baseLabel:"Typography",typographyPrefixConstant:_c,resRequiredProps:D}),React.createElement(pl,{label:(0,Y.__)("Color","essential-blocks"),color:u,onChange:function(e){return a({titleColor:e})}})),React.createElement(X.PanelBody,{title:(0,Y.__)("Number prefix","essential-blocks"),initialOpen:!1},React.createElement(ml,{baseLabel:"Typography",typographyPrefixConstant:Cc,resRequiredProps:D}),React.createElement(pl,{label:(0,Y.__)("Color","essential-blocks"),color:m,onChange:function(e){return a({numPrefixColor:e})}})),React.createElement(X.PanelBody,{title:(0,Y.__)("Number Suffix","essential-blocks"),initialOpen:!1},React.createElement(ml,{baseLabel:"Typography",typographyPrefixConstant:xc,resRequiredProps:D}),React.createElement(pl,{label:(0,Y.__)("Color","essential-blocks"),color:g,onChange:function(e){return a({numSuffixColor:e})}})),React.createElement(X.PanelBody,{title:(0,Y.__)("Spacing","essential-blocks"),initialOpen:!1},React.createElement(dl,{baseLabel:(0,Y.__)("Number & Title","Number-counter"),controlName:Dc,resRequiredProps:D,max:100}),React.createElement(dl,{baseLabel:(0,Y.__)("Number & Prefix","Number-counter"),controlName:jc,resRequiredProps:D,max:100}),React.createElement(dl,{baseLabel:(0,Y.__)("Number & Suffix","Number-counter"),controlName:Ic,resRequiredProps:D,max:100}))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Margin Padding","essential-blocks")},React.createElement(ul,{resRequiredProps:D,controlName:Sc,baseLabel:"Margin"}),React.createElement(ul,{resRequiredProps:D,controlName:Bc,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Background","essential-blocks"),initialOpen:!1},React.createElement(gl,{controlName:Oc,resRequiredProps:D})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(fl,{controlName:Mc,resRequiredProps:D})),React.createElement(wl,{attributes:t,setAttributes:a})))}))))};var Rl=window.EBControls,_l=Rl.softMinifyCssStrings,El=Rl.generateDimensionsControlStyles,Cl=Rl.generateTypographyStyles,xl=Rl.generateBackgroundControlStyles,Sl=Rl.generateBorderShadowStyles,Bl=Rl.generateResponsiveRangeStyles,Tl=Rl.StyleComponent;function Nl(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=(t.resOption,t.blockId),r=(t.blockMeta,t.classHook,t.wrapperFlexDirection),c=t.titleColor,l=void 0===c?"#fff":c,i=t.numberColor,s=void 0===i?"#fff":i,b=t.numPrefixColor,p=t.numSuffixColor,u=t["".concat(Lc,"Unit")],d=t["TAB".concat(Lc,"Unit")],m=t["MOB".concat(Lc,"Unit")],g=t.rootFlexDirection,f=t.contentAlignment,y=t.mediaAlignSelf,v=t.contentsAlignSelf,h=t.media,w=(t.selectedIcon,t.useIconBg),k=t.iconBgType,R=t.imageUrl,_=(t.imageId,t.iconColor),E=t.iconBgColor,C=t.iconBgGradient,x=t.isMediaImgHeightAuto,S=t.mIconZUnit,B=t.mIconZRange,T=t.TABmIconZUnit,N=t.TABmIconZRange,P=t.MOBmIconZUnit,O=t.MOBmIconZRange,M=Cl({attributes:t,prefixConstant:_c,defaultFontSize:40}),D=M.typoStylesDesktop,j=M.typoStylesTab,I=M.typoStylesMobile,A=Cl({attributes:t,prefixConstant:Ec,defaultFontSize:40}),L=A.typoStylesDesktop,F=A.typoStylesTab,H=A.typoStylesMobile,z=Cl({attributes:t,prefixConstant:Cc}),q=z.typoStylesDesktop,U=z.typoStylesTab,V=z.typoStylesMobile,W=Cl({attributes:t,prefixConstant:xc}),G=W.typoStylesDesktop,Z=W.typoStylesTab,Y=W.typoStylesMobile,J=El({attributes:t,controlName:Sc,styleFor:"margin"}),Q=J.dimensionStylesDesktop,X=J.dimensionStylesTab,$=J.dimensionStylesMobile,K=El({attributes:t,controlName:Bc,styleFor:"padding"}),ee=K.dimensionStylesDesktop,te=K.dimensionStylesTab,ae=K.dimensionStylesMobile,ne=El({attributes:t,controlName:Tc,styleFor:"padding"}),oe=ne.dimensionStylesDesktop,re=ne.dimensionStylesTab,ce=ne.dimensionStylesMobile,le=El({attributes:t,controlName:Pc,styleFor:"border-radius"}),ie=le.dimensionStylesDesktop,se=le.dimensionStylesTab,be=le.dimensionStylesMobile,pe=El({attributes:t,controlName:Nc,styleFor:"margin"}),ue=pe.dimensionStylesDesktop,de=pe.dimensionStylesTab,me=pe.dimensionStylesMobile,ge=xl({attributes:t,controlName:Oc}),fe=ge.backgroundStylesDesktop,ye=ge.hoverBackgroundStylesDesktop,ve=ge.backgroundStylesTab,he=ge.hoverBackgroundStylesTab,we=ge.backgroundStylesMobile,ke=ge.hoverBackgroundStylesMobile,Re=ge.overlayStylesDesktop,_e=ge.hoverOverlayStylesDesktop,Ee=ge.overlayStylesTab,Ce=ge.hoverOverlayStylesTab,xe=ge.overlayStylesMobile,Se=ge.hoverOverlayStylesMobile,Be=ge.bgTransitionStyle,Te=ge.ovlTransitionStyle,Ne=Sl({controlName:Mc,attributes:t}),Pe=Ne.styesDesktop,Oe=Ne.styesTab,Me=Ne.styesMobile,De=Ne.stylesHoverDesktop,je=Ne.stylesHoverTab,Ie=Ne.stylesHoverMobile,Ae=Ne.transitionStyle,Le=Bl({controlName:Ac,customUnit:"px",property:"font-size",attributes:t}),Fe=Le.rangeStylesDesktop,He=Le.rangeStylesTab,ze=Le.rangeStylesMobile,qe=Bl({controlName:Hc,customUnit:"px",property:"gap",attributes:t}),Ue=qe.rangeStylesDesktop,Ve=qe.rangeStylesTab,We=qe.rangeStylesMobile,Ge=Bl({controlName:Fc,property:"height",attributes:t}),Ze=Ge.rangeStylesDesktop,Ye=Ge.rangeStylesTab,Je=Ge.rangeStylesMobile,Qe=Bl({controlName:Lc,property:"width",attributes:t}),Xe=Qe.rangeStylesDesktop,$e=Qe.rangeStylesTab,Ke=Qe.rangeStylesMobile,et=Bl({controlName:Dc,property:"gap",attributes:t}),tt=et.rangeStylesDesktop,at=et.rangeStylesTab,nt=et.rangeStylesMobile,ot=Bl({controlName:jc,property:"padding-left",attributes:t}),rt=ot.rangeStylesDesktop,ct=ot.rangeStylesTab,lt=ot.rangeStylesMobile,it=Bl({controlName:Ic,property:"padding-right",attributes:t}),st=it.rangeStylesDesktop,bt=it.rangeStylesTab,pt=it.rangeStylesMobile,ut="\n\n\t.eb-counter-wrapper.".concat(o," .eb-counter-title,\n\t.eb-counter-wrapper.").concat(o," .eb-counter-number {\n\t\tmargin: 0;\n\t\tpadding: 0;\n\t}\n\n\t.eb-counter-wrapper.").concat(o," > * {\n\t\tposition: relative;\n\t}\n\n\t.eb-counter-wrapper.").concat(o,"{\n\t\toverflow:hidden;\n\t\tdisplay: flex;\n\t\tflex-direction:").concat(g,";\n\t\t").concat("none"!==h?"".concat(Ue):"","\n\t\t").concat(Q,"\n\t\t").concat(ee,"\n\t\t").concat(fe,"\n\t\t").concat(Pe,"\n\t\ttransition:").concat(Be,", ").concat(Ae,";\n\t}\n\n\t.eb-counter-wrapper.").concat(o," .counter-contents-wrapper{\n\t\tdisplay:flex;\n\t\tflex:1;\n\t\ttext-align: ").concat(f||"center",";\n\t\t").concat(v&&"none"!==h?"justify-content:".concat(v,";"):"","\n\t\t").concat(r?"flex-direction: ".concat(r,";"):" ","\n\t\t").concat(tt,"\n\t}\n\n\t.eb-counter-wrapper.").concat(o,":hover{\n\t\t").concat(ye,"\n\t\t").concat(De,"\n\t}\n\n\t.eb-counter-wrapper.").concat(o,":before{\n\t\t").concat(Re,"\n\t\ttransition:").concat(Te,";\n\t}\n\n\t.eb-counter-wrapper.").concat(o,":hover:before{\n\t\t").concat(_e,"\n\t}\n\n\t.eb-counter-wrapper.").concat(o," .eb-counter-number{\n\t\t").concat(L,"\n\t\t").concat(s?" color : ".concat(s,";"):" ","\n\t\t").concat(rt,"\n\t\t").concat(st,"\n\t}\n\n\t.eb-counter-wrapper.").concat(o," .eb-counter-title{\n\t\t").concat(D,"\n\t\t").concat(l?"color : ".concat(l,";"):" ","\n\t}\n\n\t.eb-counter-wrapper.").concat(o," .eb-counter-prefix{\n\t\t").concat(q,"\n\t\t").concat(b?"color : ".concat(b,";"):" ","\n\t}\n\n\t.eb-counter-wrapper.").concat(o," .eb-counter-suffix{\n\t\t").concat(G,"\n\t\t").concat(p?"color : ".concat(p,";"):" ","\n\t}\n\n\n\n\t").concat("none"!==h?"\n\t\t\t.eb-counter-wrapper.".concat(o," .icon-img-wrapper {\n\t\t\t\talign-self: ").concat(y,";\n\t\t\t\t").concat(ue,"\n\t\t\t}\n\n\t\t\t").concat("image"===h?"\n\n\t\t\t\t\t.eb-counter-wrapper.".concat(o," .icon-img-wrapper{\n\t\t\t\t\t\t").concat("%"===u?Xe:" ","\n\t\t\t\t\t}\n\n\t\t\t\t\t.eb-counter-wrapper.").concat(o," .icon-img-wrapper img {\n\n\t\t\t\t\t\t").concat(R?ie:" ","\n\n\t\t\t\t\t\t").concat("%"===u?"width: 100%;":Xe,"\n\t\t\t\t\t\t").concat(x?"height:auto;":Ze,"\n\n\t\t\t\t\t}\n\n\t\t\t\t\t.eb-counter-wrapper.").concat(o," .eb-counter-image-wrapper{\n\t\t\t\t\t\t").concat(R?" ":ie,"\n\t\t\t\t\t}\n\t\t\t\t\t"):" ","\n\n\t\t\t").concat("icon"===h?"\n\t\t\t\t.eb-counter-wrapper.".concat(o," .eb-icon {\n\n\t\t\t\t\t").concat(oe,"\n\t\t\t\t\t").concat(ie,"\n\n\t\t\t\t\t").concat(w?"".concat("fill"===k?"background-color: ".concat(E,";"):"gradient"===k?"background-image: ".concat(C,";"):" "):" ","\n\n\t\t\t\t}\n\n\t\t\t\t.eb-counter-wrapper.").concat(o," .eb-icon > span{\n\t\t\t\t\tcolor: ").concat(_||"#fff",";\n\t\t\t\t}\n\n\t\t\t\t.eb-counter-wrapper.").concat(o," .icon-img-wrapper .eb-counter-icon-data-selector {\n\t\t\t\t\t").concat(Fe,"\n\t\t\t\t\theight:").concat(B).concat(S,";\n\t\t\t\t\twidth:").concat(B).concat(S,";\n\t\t\t\t\tdisplay:flex;\n\t\t\t\t\tjustify-content:center;\n\t\t\t\t\talign-items:center;\n\t\t\t\t}\n\n\t\t\t\t"):"","\n\t\t\t"):" ","\n\t"),dt="\n\t.eb-counter-wrapper.".concat(o,"{\n\t\t").concat("none"!==h?"".concat(Ve):"","\n\t\t").concat(X,"\n\t\t").concat(te,"\n\t\t").concat(ve,"\n\t\t").concat(Oe,"\n\t}\n\n\t.eb-counter-wrapper.").concat(o,":hover{\n\t\t").concat(he,"\n\t\t").concat(je,"\n\t}\n\n\t.eb-counter-wrapper.").concat(o,":before{\n\t\t").concat(Ee,"\n\t}\n\n\t.eb-counter-wrapper.").concat(o,":hover:before{\n\t\t").concat(Ce,"\n\t}\n\n\t.eb-counter-wrapper.").concat(o," .counter-contents-wrapper{\n\t\t").concat(at,"\n\t}\n\n\t.eb-counter-wrapper.").concat(o," .eb-counter-number{\n\t\t").concat(F,"\n\t\t").concat(ct,"\n\t\t").concat(bt,"\n\t}\n\n\t.eb-counter-wrapper.").concat(o," .eb-counter-title{\n\t\t").concat(j,"\n\t}\n\n\t.eb-counter-wrapper.").concat(o," .eb-counter-prefix{\n\t\t").concat(U,"\n\t}\n\n\t.eb-counter-wrapper.").concat(o," .eb-counter-suffix{\n\t\t").concat(Z,"\n\t}\n\n\n\t").concat("none"!==h?"\n\n\t\t\t.eb-counter-wrapper.".concat(o," .icon-img-wrapper {\n\t\t\t\t").concat(de,"\n\t\t\t}\n\n\t\t\t").concat("icon"===h?"\n\n\t\t\t\t\t.eb-counter-wrapper.".concat(o," .eb-icon {\n\t\t\t\t\t\t").concat(se,"\n\t\t\t\t\t\t").concat(re,"\n\t\t\t\t\t}\n\n\t\t\t\t\t.eb-counter-wrapper.").concat(o," .icon-img-wrapper .eb-counter-icon-data-selector {\n\t\t\t\t\t\t").concat(He,"\n\t\t\t\t\t\t").concat(N?"height:".concat(N).concat(T,";"):"","\n\t\t\t\t\t\t").concat(N?"width:".concat(N).concat(T,";"):"","\n\t\t\t\t\t}\n\n\t\t\t\t"):" ","\n\n\n\t\t\t").concat("image"===h?"\n\n\t\t\t\t.eb-counter-wrapper.".concat(o," .icon-img-wrapper{\n\t\t\t\t\t").concat("%"===d?$e:"%"===u?"width: auto;":" ","\n\t\t\t\t}\n\n\t\t\t\t.eb-counter-wrapper.").concat(o," .icon-img-wrapper img {\n\n\t\t\t\t\t").concat("%"===d?"%"===u?" ":"width: 100%;":$e,"\n\n\t\t\t\t\t").concat(x?"":Ye,"\n\n\t\t\t\t}\n\n\t\t\t\t.eb-counter-wrapper.").concat(o," .eb-counter-image-wrapper{\n\t\t\t\t\t").concat(se,"\n\n\t\t\t\t}\n\n\t\t\t\t"):" ","\n\t\t"):" ","\n\n\t"),mt="\n\t.eb-counter-wrapper.".concat(o,"{\n\t\t").concat("none"!==h?"".concat(We):"","\n\t\t").concat($,"\n\t\t").concat(ae,"\n\t\t").concat(we,"\n\t\t").concat(Me,"\n\t}\n\n\t.eb-counter-wrapper.").concat(o,":hover{\n\t\t").concat(ke,"\n\t\t").concat(Ie,"\n\t}\n\n\t.eb-counter-wrapper.").concat(o,":before{\n\t\t").concat(xe,"\n\t}\n\n\t.eb-counter-wrapper.").concat(o,":hover:before{\n\t\t").concat(Se,"\n\t}\n\n\t.eb-counter-wrapper.").concat(o," .counter-contents-wrapper{\n\t\t").concat(nt,"\n\t}\n\n\t.eb-counter-wrapper.").concat(o," .eb-counter-number{\n\t\t").concat(H,"\n\t\t").concat(lt,"\n\t\t").concat(pt,"\n\t}\n\n\t.eb-counter-wrapper.").concat(o," .eb-counter-title{\n\t\t").concat(I,"\n\t}\n\n\t.eb-counter-wrapper.").concat(o," .eb-counter-prefix{\n\t\t").concat(V,"\n\t}\n\n\t.eb-counter-wrapper.").concat(o," .eb-counter-suffix{\n\t\t").concat(Y,"\n\t}\n\n\n\n\t").concat("none"!==h?"\n\n\t\t\t.eb-counter-wrapper.".concat(o," .icon-img-wrapper {\n\t\t\t\t").concat(me,"\n\t\t\t}\n\n\t\t\t").concat("icon"===h?"\n\n\t\t\t\t\t.eb-counter-wrapper.".concat(o," .eb-icon {\n\t\t\t\t\t\t").concat(be,"\n\t\t\t\t\t\t").concat(ce,"\n\t\t\t\t\t}\n\n\t\t\t\t\t.eb-counter-wrapper.").concat(o," .icon-img-wrapper .eb-counter-icon-data-selector {\n\t\t\t\t\t\t").concat(ze,"\n\t\t\t\t\t\t").concat(O?"height:".concat(O).concat(P,";"):"","\n\t\t\t\t\t\t").concat(O?"width:".concat(O).concat(P,";"):"","\n\t\t\t\t\t}\n\n\t\t\t\t"):" ","\n\n\n\t\t\t").concat("image"===h?"\n\n\t\t\t\t.eb-counter-wrapper.".concat(o," .icon-img-wrapper{\n\t\t\t\t\t").concat("%"===m?Ke:"%"===u?"width: auto;":" ","\n\t\t\t\t}\n\n\t\t\t\t.eb-counter-wrapper.").concat(o," .icon-img-wrapper img {\n\n\t\t\t\t\t").concat("%"===m?"%"===u?" ":"width: 100%;":Ke,"\n\n\t\t\t\t\t").concat(x?"":Je,"\n\n\t\t\t\t}\n\n\t\t\t\t.eb-counter-wrapper.").concat(o," .eb-counter-image-wrapper{\n\t\t\t\t\t").concat(be,"\n\n\t\t\t\t}\n\n\t\t\t\t"):" ","\n\t\t"):" ","\n\n\n\n\t"),gt=_l("\n\t\t".concat(ut,"\n\t")),ft=_l("\n\t\t".concat(dt,"\n\t")),yt=_l("\n\t\t".concat(mt,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(Tl,{attributes:t,setAttributes:a,desktopAllStyles:gt,tabAllStyles:ft,mobileAllStyles:yt,blockName:n}))}function Pl(e){return Pl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pl(e)}function Ol(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Ml(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Ol(Object(a),!0).forEach((function(t){Dl(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Ol(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Dl(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=Pl(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=Pl(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Pl(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var jl=window.EBControls,Il=jl.textInsideForEdit,Al=(jl.duplicateBlockIdFix,jl.EBDisplayIcon),Ll=jl.BlockProps;var Fl=window.EBControls,Hl=Fl.EBDisplayIcon,zl=Fl.BlockProps;const ql=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Number Counter","apiVersion":2,"name":"essential-blocks/number-counter","category":"essential-blocks","description":"Put spotlight in important data using Counter block for Gutenberg. Customize the designs by adding proper Animation effects with flexibility and many more!","textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');function Ul(e){return Ul="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ul(e)}function Vl(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Wl(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Vl(Object(a),!0).forEach((function(t){Gl(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Vl(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Gl(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=Ul(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=Ul(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ul(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var Zl=window.EBControls.EBDisplayIcon;const Yl=[{attributes:Wl({},Xc),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.target,o=t.duration,r=t.counterTitle,c=t.counterSuffix,l=t.counterPrefix,i=t.startValue,s=t.isShowSeparator,b=t.separator,p=t.media,u=t.selectedIcon,d=t.imageUrl,m=t.titleLevel,g=t.classHook;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(g)},React.createElement("div",{className:"".concat(a," eb-counter-wrapper")},"icon"===p?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-icon "},React.createElement(Zl,{icon:u,className:"eb-counter-icon-data-selector"}))):null,"image"===p?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-counter-image-wrapper"},React.createElement("img",{className:"eb-counter-image",src:d}))):null,React.createElement("div",{className:"counter-contents-wrapper"},React.createElement(t.counterTitleLevel,{className:"eb-counter-number"},React.createElement("span",{className:"eb-counter-prefix"},l),React.createElement("span",{className:"eb-counter eb-counter-number","data-duration":o?Math.floor(Math.abs(o)):0,"data-startValue":i?Math.floor(Math.abs(i)):0,"data-target":n?Math.floor(Math.abs(n)):0,"data-separator":b,"data-isShowSeparator":s},"0"),React.createElement("span",{className:"eb-counter-suffix"},c)),React.createElement(Q.RichText.Content,{tagName:m,className:"eb-counter-title",value:r})))))}},{attributes:Wl({},Xc),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.target,o=t.duration,r=t.counterTitle,c=t.counterSuffix,l=t.counterPrefix,i=t.startValue,s=t.isShowSeparator,b=t.separator,p=t.media,u=t.selectedIcon,d=t.imageUrl,m=t.titleLevel,g=t.classHook;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(g)},React.createElement("div",{className:"".concat(a," eb-counter-wrapper")},"icon"===p?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-icon "},React.createElement("span",{"data-icon":u,className:"eb-counter-icon-data-selector  ".concat(u)}))):null,"image"===p?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-counter-image-wrapper"},React.createElement("img",{className:"eb-counter-image",src:d}))):null,React.createElement("div",{className:"counter-contents-wrapper"},React.createElement(t.counterTitleLevel,{className:"eb-counter-number"},React.createElement("span",{className:"eb-counter-prefix"},l),React.createElement("span",{className:"eb-counter eb-counter-number","data-duration":o?Math.floor(Math.abs(o)):0,"data-startValue":i?Math.floor(Math.abs(i)):0,"data-target":n?Math.floor(Math.abs(n)):0,"data-separator":b,"data-isShowSeparator":s},"0"),React.createElement("span",{className:"eb-counter-suffix"},c)),React.createElement(Q.RichText.Content,{tagName:m,className:"eb-counter-title",value:r})))))}},{attributes:Wl({},Xc),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.target,o=t.duration,r=t.counterTitle,c=t.counterSuffix,l=t.counterPrefix,i=t.startValue,s=t.isShowSeparator,b=t.separator,p=t.media,u=t.selectedIcon,d=t.imageUrl;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"".concat(a," eb-counter-wrapper")},"icon"===p?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-icon "},React.createElement("span",{"data-icon":u,className:"eb-counter-icon-data-selector  ".concat(u)}))):null,"image"===p?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-counter-image-wrapper"},React.createElement("img",{className:"eb-counter-image",src:d}))):null,React.createElement("div",{className:"counter-contents-wrapper"},React.createElement("h4",{className:"eb-counter-number"},React.createElement("span",{className:"eb-counter-prefix"},l),React.createElement("span",{className:"eb-counter eb-counter-number","data-duration":o?Math.floor(Math.abs(o)):0,"data-startValue":i?Math.floor(Math.abs(i)):0,"data-target":n?Math.floor(Math.abs(n)):0,"data-separator":b,"data-isShowSeparator":s},"0"),React.createElement("span",{className:"eb-counter-suffix"},c)),React.createElement(Q.RichText.Content,{tagName:"h3",className:"eb-counter-title",value:r}))))}},{attributes:(0,nt.omit)(Wl({},Xc),["MOBimgHRange","MOBimgHUnit","MOBimgWRange","MOBimgWUnit","MOBmIconZRange","MOBmIconZUnit","MOBmcGapRange","MOBmdBgMgBottom","MOBmdBgMgLeft","MOBmdBgMgRight","MOBmdBgMgTop","MOBmdBgMgUnit","MOBmdBgPdBottom","MOBmdBgPdLeft","MOBmdBgPdRight","MOBmdBgPdTop","MOBmdBgPdUnit","MOBmdBgRsBottom","MOBmdBgRsLeft","MOBmdBgRsRight","MOBmdBgRsTop","MOBmdBgRsUnit","TABimgHRange","TABimgHUnit","TABimgWRange","TABimgWUnit","TABmIconZRange","TABmIconZUnit","TABmcGapRange","TABmdBgMgBottom","TABmdBgMgLeft","TABmdBgMgRight","TABmdBgMgTop","TABmdBgMgUnit","TABmdBgPdBottom","TABmdBgPdLeft","TABmdBgPdRight","TABmdBgPdTop","TABmdBgPdUnit","TABmdBgRsBottom","TABmdBgRsLeft","TABmdBgRsRight","TABmdBgRsTop","TABmdBgRsUnit","contentAlignment","contentsAlignSelf","iconBgColor","iconBgGradient","iconBgType","iconColor","imageId","imageUrl","imgHRange","imgHUnit","imgWRange","imgWUnit","isMediaImgHeightAuto","layoutPreset","mIconZRange","mIconZUnit","mcGapRange","mdBgMgBottom","mdBgMgLeft","mdBgMgRight","mdBgMgTop","mdBgMgUnit","mdBgMgisLinked","mdBgPdBottom","mdBgPdLeft","mdBgPdRight","mdBgPdTop","mdBgPdUnit","mdBgPdisLinked","mdBgRsBottom","mdBgRsLeft","mdBgRsRight","mdBgRsTop","mdBgRsUnit","mdBgRsisLinked","media","mediaAlignSelf","rootFlexDirection","selectedIcon","useIconBg"]),save:function(e){var t=e.attributes,a=t.blockId,n=t.target,o=t.duration,r=t.counterTitle,c=t.counterSuffix,l=t.counterPrefix,i=t.startValue,s=t.isShowSeparator,b=t.separator;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"".concat(a," eb-counter-wrapper")},React.createElement("h4",{className:"eb-counter-number"},React.createElement("span",{className:"eb-counter-prefix"},l),React.createElement("span",{className:"eb-counter eb-counter-number","data-duration":o?Math.floor(Math.abs(o)):0,"data-startValue":i?Math.floor(Math.abs(i)):0,"data-target":n?Math.floor(Math.abs(n)):0,"data-separator":b,"data-isShowSeparator":s},"0"),React.createElement("span",{className:"eb-counter-suffix"},c)),React.createElement(Q.RichText.Content,{tagName:"h3",className:"eb-counter-title",value:r})))}}];function Jl(){return Jl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},Jl.apply(null,arguments)}(0,EBControls.ebConditionalRegisterBlockType)(ql,{icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"57",height:"60",fill:"none",viewBox:"0 0 57 60"},React.createElement("g",{fill:"#6C3BFF",clipPath:"url(#clip0_2_22709)"},React.createElement("path",{d:"M52.029 52.371H4.543C2.057 52.371 0 50.314 0 47.83V12.17C0 9.686 2.057 7.63 4.543 7.63h47.486c2.485 0 4.542 2.057 4.542 4.542V47.83c0 2.485-2.057 4.542-4.542 4.542zM4.543 10.114c-1.114 0-2.057.943-2.057 2.057V47.83c0 1.114.943 2.057 2.057 2.057h47.486c1.114 0 2.057-.943 2.057-2.057V12.17c0-1.114-.943-2.057-2.057-2.057H4.543z"}),React.createElement("path",{d:"M18.429 15.343a1.114 1.114 0 100-2.229 1.114 1.114 0 000 2.229zM18.429 20.486a1.114 1.114 0 100-2.229 1.114 1.114 0 000 2.229zM18.429 25.543a1.114 1.114 0 100-2.229 1.114 1.114 0 000 2.229zM18.429 30.686a1.114 1.114 0 100-2.229 1.114 1.114 0 000 2.229zM18.429 35.743a1.114 1.114 0 100-2.229 1.114 1.114 0 000 2.229zM18.429 40.886a1.114 1.114 0 100-2.229 1.114 1.114 0 000 2.229zM18.429 45.943a1.114 1.114 0 100-2.229 1.114 1.114 0 000 2.229zM37.457 15.343a1.114 1.114 0 100-2.229 1.114 1.114 0 000 2.229zM37.457 20.486a1.114 1.114 0 100-2.229 1.114 1.114 0 000 2.229zM37.457 25.543a1.114 1.114 0 100-2.229 1.114 1.114 0 000 2.229zM37.457 30.686a1.114 1.114 0 100-2.229 1.114 1.114 0 000 2.229zM37.457 35.743a1.114 1.114 0 100-2.229 1.114 1.114 0 000 2.229zM37.457 40.886a1.114 1.114 0 100-2.229 1.114 1.114 0 000 2.229zM37.457 45.943a1.114 1.114 0 100-2.229 1.114 1.114 0 000 2.229zM47.914 24.6h-5.142v-1.543h6.857v1.457l-3.857 13.629h-1.715L47.914 24.6zM28.371 37.029h-1.028c-.172 0-.257-.172-.257-.258V24.6c0-.171.171-.257.257-.257h1.028c.172 0 .258.171.258.257v12.171c.085.172-.086.258-.258.258zM10.714 37.029H9.686c-.172 0-.257-.172-.257-.258V24.6c0-.171.171-.257.257-.257h1.028c.172 0 .257.171.257.257v12.171c.086.172-.085.258-.257.258z"})),React.createElement("defs",null,React.createElement("clipPath",{id:"clip0_2_22709"},React.createElement("path",{fill:"#fff",d:"M0 0H56.571V60H0z"}))))},keywords:[(0,Y.__)("EB number counter","essential-blocks"),(0,Y.__)("counter","essential-blocks"),(0,Y.__)("counter up","essential-blocks")],attributes:Xc,edit:function(e){var t=e.isSelected,a=e.attributes,n=e.setAttributes,o=(e.className,e.clientId,e.name,a.resOption,a.blockId),r=(a.blockMeta,a.classHook),c=a.target,l=a.duration,i=a.counterTitle,s=a.counterSuffix,b=a.counterPrefix,p=a.startValue,u=a.isShowSeparator,d=a.separator,m=a.media,g=a.selectedIcon,f=a.imageUrl,y=a.imageId,v=a.counterTitleLevel,h=a.titleLevel,w=(0,J.useRef)(null);(0,J.useEffect)((function(){return t=l&&Math.floor(Math.abs(l))>499?Math.floor(Math.abs(l))-200:300,a=c?Math.floor(Math.abs(c)):0,n=p&&Math.floor(Math.abs(p))<a?Math.floor(Math.abs(p)):0,o=(a-n)/t*53,r=setTimeout((function(){!function t(){n+=o,w.current.innerText=Il(Math.floor(n),u,d),n<a?e=setTimeout((function(){t()}),53):w.current.innerText=Il(a,u,d)}()}),200),function(){clearTimeout(r),clearTimeout(e)};var e,t,a,n,o,r}),[c,l,p,d,u,v]);var k=Ml(Ml({},e),{},{blockPrefix:"eb-counter",style:React.createElement(Nl,e)});return React.createElement(React.Fragment,null,t&&React.createElement(kl,{attributes:a,setAttributes:n}),React.createElement(Ll.Edit,k,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(o," ").concat(r)},React.createElement("div",{className:"".concat(o," eb-counter-wrapper")},"icon"===m?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-icon "},React.createElement(Al,{icon:g,className:"eb-counter-icon-data-selector"}))):null,"image"===m?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-counter-image-wrapper"},React.createElement(Q.MediaUpload,{onSelect:function(e){var t=e.id,a=e.url;return n({imageUrl:a,imageId:t})},type:"image",value:y,render:function(e){var t=e.open;return f?React.createElement("img",{className:"eb-counter-image",src:f}):React.createElement(X.Button,{className:"eb-infobox-img-btn components-button",label:(0,Y.__)("Upload Image","essential-blocks"),icon:"format-image",onClick:t})}}))):null,React.createElement("div",{className:"counter-contents-wrapper"},React.createElement(a.counterTitleLevel,{className:"eb-counter-number"},React.createElement("span",{className:"eb-counter-prefix"},b),React.createElement("span",{ref:w,className:"eb-counter eb-counter-number"},"0"),React.createElement("span",{className:"eb-counter-suffix"},s)),React.createElement(Q.RichText,{tagName:h,className:"eb-counter-title",value:i,allowedFormats:["core/bold","core/italic","core/link","core/strikethrough","core/underline","core/text-color"],onChange:function(e){return n({counterTitle:e})}}))))))},save:function(e){var t=e.attributes,a=t.blockId,n=t.target,o=t.duration,r=t.counterTitle,c=t.counterSuffix,l=t.counterPrefix,i=t.startValue,s=t.isShowSeparator,b=t.separator,p=t.media,u=t.selectedIcon,d=t.imageUrl,m=t.titleLevel,g=t.classHook;return React.createElement(zl.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(g)},React.createElement("div",{className:"".concat(a," eb-counter-wrapper")},"icon"===p?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-icon "},React.createElement(Hl,{icon:u,className:"eb-counter-icon-data-selector"}))):null,"image"===p?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-counter-image-wrapper"},React.createElement("img",{className:"eb-counter-image",src:d}))):null,React.createElement("div",{className:"counter-contents-wrapper"},React.createElement(t.counterTitleLevel,{className:"eb-counter-number"},React.createElement("span",{className:"eb-counter-prefix"},l),React.createElement("span",{className:"eb-counter eb-counter-number","data-duration":o?Math.floor(Math.abs(o)):0,"data-startValue":i?Math.floor(Math.abs(i)):0,"data-target":n?Math.floor(Math.abs(n)):0,"data-separator":b,"data-isShowSeparator":s},"0"),React.createElement("span",{className:"eb-counter-suffix"},c)),React.createElement(Q.RichText.Content,{tagName:m,className:"eb-counter-title",value:r})))))},example:{attributes:{target:"500000",duration:"1000",counterTitle:"Active Users",counterSuffix:"+",isShowSeparator:!0,separator:",",wrapperFlexDirection:"column"}},deprecated:Yl});var Ql=window.EBControls,Xl=Ql.EBDisplayIcon,$l=Ql.sanitizeURL,Kl=Ql.BlockProps;var ei="wrpMargin",ti="buttonsPadding",ai="Btn1Bg",ni="Btn2Bg",oi="buttonOneBorderShadow",ri="buttonTwoBorderShadow",ci="buttonsWidth",li="buttonsGap",ii="buttonsConnectorSize",si="buttonsConnectorIconSize",bi=((0,Y.__)("Fill","essential-blocks"),(0,Y.__)("Outline","essential-blocks"),(0,Y.__)("Text","essential-blocks"),[{label:"px",value:"px"},{label:"em",value:"em"}]),pi=[{label:"Normal",value:"normal"},{label:"Hover",value:"hover"}],ui=[{label:"Custom Width",value:"custom"},{label:"Auto",value:"auto"}],di=[{label:(0,Y.__)("Text","essential-blocks"),value:"text"},{label:(0,Y.__)("Icon","essential-blocks"),value:"icon"}],mi=[{label:(0,Y.__)("Preset 1","essential-blocks"),value:"preset-1"},{label:(0,Y.__)("Preset 2","essential-blocks"),value:"preset-2"},{label:(0,Y.__)("Preset 3","essential-blocks"),value:"preset-3"},{label:(0,Y.__)("Preset 4","essential-blocks"),value:"preset-4"}],gi=[{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignleft"})),value:"left"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignright"})),value:"right"}],fi=[{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignleft"})),value:"flex-start"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignright"})),value:"flex-end"}],yi="button",vi="button_connector";function hi(e){return hi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},hi(e)}function wi(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function ki(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?wi(Object(a),!0).forEach((function(t){Ri(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):wi(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Ri(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=hi(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=hi(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==hi(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var _i=window.EBControls,Ei=_i.generateDimensionsAttributes,Ci=_i.generateTypographyAttributes,xi=_i.generateBackgroundAttributes,Si=_i.generateBorderShadowAttributes,Bi=_i.generateResponsiveRangeAttributes;const Ti=ki(ki(ki(ki(ki(ki(ki(ki(ki(ki(ki(ki(ki(ki({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},preset:{type:"string",default:"button-1"},contentPosition:{type:"string",default:"center"},buttonWidth:{type:"number",default:"auto"},buttonTextOne:{type:"string",default:"Button One"},buttonTextTwo:{type:"string",default:"Button Two"},textOneColor:{type:"string",default:"var(--eb-global-button-text-color)"},hoverTextOneColor:{type:"string",default:"var(--eb-global-button-text-color)"},textTwoColor:{type:"string",default:"var(--eb-global-button-text-color)"},hoverTextTwoColor:{type:"string",default:"var(--eb-global-button-text-color)"},buttonURLOne:{type:"string",default:"#"},buttonURLTwo:{type:"string",default:"#"},buttonTextAlign:{type:"string",default:"center"},isHoverOne:{type:"boolean",default:!1},isHoverTwo:{type:"boolean",default:!1},innerButtonText:{type:"string",default:"OR"},innerButtonColor:{type:"string",default:"#fff"},innerButtonTextColor:{type:"string",default:"#000"},innerButtonIcon:{type:"string",default:"fas fa-arrows-alt-h"},showConnector:{type:"boolean",default:!0},connectorType:{type:"string",default:"text"},borderType:{type:"string",default:"normal"},buttonsColorType:{type:"string",default:"normal"},buttonsWidthType:{type:"string",default:"custom"},buttonOneNewWindow:{type:"boolean",default:!1},buttonTwoNewWindow:{type:"boolean",default:!1}},Ci(Object.values(i))),Ei(ei)),Ei("buttonsMargin")),Ei(ti,{top:10,bottom:10,right:25,left:25,isLinked:!1})),Si(oi,{bdrDefaults:{top:2,bottom:2,right:2,left:2},rdsDefaults:{top:20,bottom:0,right:0,left:20,isLinked:!1}})),Si(ri,{bdrDefaults:{top:2,bottom:2,right:2,left:2},rdsDefaults:{top:0,bottom:20,right:20,left:0,isLinked:!1}})),xi("button1Bg",{defaultFillColor:"#3074ff",defaultBgGradient:"linear-gradient(45deg, rgba(120,102,255,0.8) 0% , rgba(195,120,242,0.4) 100%)"})),xi("button2Bg",{defaultFillColor:"#3074ff"})),Bi(ci,{defaultRange:200})),Bi(li,{defaultRange:0})),Bi(ii,{defaultRange:30})),Bi(si,{defaultRange:16})),xi(ai,{noOverlay:!0,noMainBgi:!0,defaultFillColor:"var(--eb-global-secondary-color)",defaultHovFillColor:"var(--eb-global-primary-color)",defaultBgGradient:"var(--eb-gradient-background-color)"})),xi(ni,{noOverlay:!0,noMainBgi:!0,defaultFillColor:"var(--eb-global-tertiary-color)",defaultHovFillColor:"var(--eb-global-primary-color)",defaultBgGradient:"var(--eb-gradient-background-color)"}));var Ni=window.EBControls,Pi=Ni.ColorControl,Oi=Ni.ResponsiveDimensionsControl,Mi=Ni.TypographyDropdown,Di=Ni.BorderShadowControl,ji=Ni.ResponsiveRangeController,Ii=Ni.BackgroundControl,Ai=Ni.AdvancedControls,Li=Ni.DynamicInputControl,Fi=Ni.EBIconPicker;const Hi=function(e){var t=e.attributes,a=e.setAttributes,n=t.resOption,o=t.preset,r=t.contentPosition,c=t.textOneColor,l=t.hoverTextOneColor,i=t.textTwoColor,s=t.hoverTextTwoColor,b=t.buttonTextOne,p=t.buttonURLOne,u=t.buttonTextTwo,d=t.buttonURLTwo,m=t.innerButtonText,g=t.innerButtonColor,f=t.innerButtonTextColor,y=t.innerButtonIcon,v=t.showConnector,h=t.connectorType,w=t.buttonsColorType,k=t.buttonTextAlign,R=t.buttonsWidthType,_=t.buttonOneNewWindow,E=t.buttonTwoNewWindow,C={setAttributes:a,resOption:n,attributes:t,objAttributes:Ti};return React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:"General",className:"eb-tab general"},{name:"styles",title:"Style",className:"eb-tab styles"},{name:"advance",title:"Advanced",className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls"+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("General","essential-blocks"),initialOpen:!0},React.createElement(X.SelectControl,{label:(0,Y.__)("Preset Designs","essential-blocks"),value:o,options:mi,onChange:function(e){return function(e){switch(a({preset:e}),e){case"preset-1":a({showConnector:!0,buttonOneBorderShadowRds_Top:"20",buttonOneBorderShadowRds_Bottom:"0",buttonOneBorderShadowRds_Left:"20",buttonOneBorderShadowRds_Right:"0",buttonTwoBorderShadowRds_Top:"0",buttonTwoBorderShadowRds_Bottom:"20",buttonTwoBorderShadowRds_Left:"0",buttonTwoBorderShadowRds_Right:"20",buttonsGapRange:0});break;case"preset-2":a({showConnector:!1,buttonOneBorderShadowRds_Top:"30",buttonOneBorderShadowRds_Bottom:"30",buttonOneBorderShadowRds_Left:"30",buttonOneBorderShadowRds_Right:"30",buttonTwoBorderShadowRds_Top:"30",buttonTwoBorderShadowRds_Bottom:"30",buttonTwoBorderShadowRds_Left:"30",buttonTwoBorderShadowRds_Right:"30",buttonsGapRange:20});break;case"preset-3":a({showConnector:!1,buttonOneBorderShadowRds_Top:"0",buttonOneBorderShadowRds_Bottom:"0",buttonOneBorderShadowRds_Left:"15",buttonOneBorderShadowRds_Right:"15",buttonTwoBorderShadowRds_Top:"15",buttonTwoBorderShadowRds_Bottom:"15",buttonTwoBorderShadowRds_Left:"0",buttonTwoBorderShadowRds_Right:"0",buttonsGapRange:20});break;case"preset-4":a({showConnector:!1,buttonOneBorderShadowRds_Top:"30",buttonOneBorderShadowRds_Bottom:"30",buttonOneBorderShadowRds_Left:"30",buttonOneBorderShadowRds_Right:"30",buttonTwoBorderShadowRds_Top:"30",buttonTwoBorderShadowRds_Bottom:"30",buttonTwoBorderShadowRds_Left:"30",buttonTwoBorderShadowRds_Right:"30",buttonsGapRange:10});break;default:return!1}}(e)}}),React.createElement(X.BaseControl,{label:(0,Y.__)("Alignment","essential-blocks"),id:"eb-button-group-alignment"},React.createElement(X.ButtonGroup,{id:"eb-button-group-alignment"},fi.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:r===e.value,isSecondary:r!==e.value,onClick:function(){return a({contentPosition:e.value})}},e.label)})))),React.createElement(Li,{label:"Button One Text",attrName:"buttonTextOne",inputValue:b,setAttributes:a,onChange:function(e){return a({buttonTextOne:e})}}),React.createElement(Li,{label:"Button One Link",attrName:"buttonURLOne",inputValue:p,setAttributes:a,onChange:function(e){return a({buttonURLOne:e})}}),p&&React.createElement(X.ToggleControl,{label:(0,Y.__)("Open in New Tab","essential-blocks"),checked:_,onChange:function(){return a({buttonOneNewWindow:!_})}}),React.createElement(Li,{label:"Button Two Text",attrName:"buttonTextTwo",inputValue:u,setAttributes:a,onChange:function(e){return a({buttonTextTwo:e})}}),React.createElement(Li,{label:"Button Two Link",attrName:"buttonURLTwo",inputValue:d,setAttributes:a,onChange:function(e){return a({buttonURLTwo:e})}}),d&&React.createElement(X.ToggleControl,{label:(0,Y.__)("Open in New Tab","essential-blocks"),checked:E,onChange:function(){return a({buttonTwoNewWindow:!E})}})),React.createElement(X.PanelBody,{title:(0,Y.__)("Buttons","essential-blocks"),initialOpen:!0},React.createElement(X.BaseControl,{label:(0,Y.__)("Button Width Type","essential-blocks")},React.createElement(X.SelectControl,{value:R,options:ui,onChange:function(e){a({buttonsWidthType:e})}})),"custom"===R&&React.createElement(ji,{baseLabel:(0,Y.__)("Buttons Width","essential-blocks"),controlName:ci,resRequiredProps:C,units:bi,min:0,max:500,step:1}),React.createElement(ji,{baseLabel:(0,Y.__)("Buttons Gap","essential-blocks"),controlName:li,resRequiredProps:C,units:bi,min:0,max:100,step:1}),React.createElement(X.BaseControl,{label:(0,Y.__)("Text Align","essential-blocks"),id:"eb-button-group-text-align"},React.createElement(X.ButtonGroup,{id:"eb-button-group-text-align"},gi.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:k===e.value,isSecondary:k!==e.value,onClick:function(){return a({buttonTextAlign:e.value})}},e.label)}))))),React.createElement(X.PanelBody,{title:(0,Y.__)("Connector","essential-blocks"),initialOpen:!0},React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Connector?"),checked:v,onChange:function(){a({showConnector:!v})}}),v&&React.createElement(React.Fragment,null,React.createElement(X.BaseControl,{label:(0,Y.__)("Connector Type","essential-blocks")},React.createElement(X.ButtonGroup,{id:"eb-button-group-connector-type"},di.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:h===e.value,isSecondary:h!==e.value,onClick:function(){return a({connectorType:e.value})}},e.label)})))),"icon"===h&&React.createElement(X.PanelBody,{title:(0,Y.__)("Icon Settings","essential-blocks"),initialOpen:!0},React.createElement(Fi,{value:y,onChange:function(e){return a({innerButtonIcon:e})},title:(0,Y.__)("Icon","essential-blocks")}),React.createElement(ji,{baseLabel:(0,Y.__)("Icon Size","essential-blocks"),controlName:si,resRequiredProps:C,units:bi,min:0,max:100,step:1})),"text"===h&&React.createElement(X.TextControl,{label:(0,Y.__)("Text","essential-blocks"),value:m,onChange:function(e){return a({innerButtonText:e})}}),React.createElement(ji,{baseLabel:(0,Y.__)("Connector Size","essential-blocks"),controlName:ii,resRequiredProps:C,units:bi,min:0,max:100,step:1})))),"styles"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Buttons","essential-blocks"),initialOpen:!0},React.createElement(Mi,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:yi,resRequiredProps:C}),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Button One Background","essential-blocks"))),React.createElement(Ii,{controlName:ai,resRequiredProps:C,noOverlay:!0,noMainBgi:!0}),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Button Two Background","essential-blocks"))),React.createElement(Ii,{controlName:ni,resRequiredProps:C,noOverlay:!0,noMainBgi:!0}),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Text Color","essential-blocks"))),React.createElement(X.ButtonGroup,{className:"eb-inspector-btn-group"},pi.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:w===e.value,isSecondary:w!==e.value,onClick:function(){return a({buttonsColorType:e.value})}},e.label)}))),"normal"===w&&React.createElement(React.Fragment,null,React.createElement(Pi,{label:(0,Y.__)("Button One","essential-blocks"),color:c,onChange:function(e){return a({textOneColor:e})}}),React.createElement(Pi,{label:(0,Y.__)("Button Two","essential-blocks"),color:i,onChange:function(e){return a({textTwoColor:e})}})),"hover"===w&&React.createElement(React.Fragment,null,React.createElement(Pi,{label:(0,Y.__)("Button One Hover","essential-blocks"),color:l,onChange:function(e){return a({hoverTextOneColor:e})}}),React.createElement(Pi,{label:(0,Y.__)("Button Two Hover","essential-blocks"),color:s,onChange:function(e){return a({hoverTextTwoColor:e})}})),React.createElement(X.PanelBody,{className:"eb-subpanel",title:(0,Y.__)("Button One Border","essential-blocks"),initialOpen:!0},React.createElement(Di,{controlName:oi,resRequiredProps:C,noShadow:!0})),React.createElement(X.PanelBody,{className:"eb-subpanel",title:(0,Y.__)("Button Two Border","essential-blocks"),initialOpen:!0},React.createElement(Di,{controlName:ri,resRequiredProps:C,noShadow:!0})),React.createElement(Oi,{resRequiredProps:C,controlName:ti,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Connector","essential-blocks"),initialOpen:!1},React.createElement(Mi,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:vi,resRequiredProps:C}),React.createElement(Pi,{label:(0,Y.__)("Background Color","essential-blocks"),color:g,onChange:function(e){return a({innerButtonColor:e})}}),React.createElement(Pi,{label:(0,Y.__)("Text/ Icon Color"),color:f,onChange:function(e){return a({innerButtonTextColor:e})}}))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,null,React.createElement(Oi,{resRequiredProps:C,controlName:ei,baseLabel:"Margin"})),React.createElement(Ai,{attributes:t,setAttributes:a})))}))))};var zi=window.EBControls,qi=zi.softMinifyCssStrings,Ui=zi.generateTypographyStyles,Vi=zi.generateDimensionsControlStyles,Wi=zi.generateBorderShadowStyles,Gi=zi.generateResponsiveRangeStyles,Zi=zi.generateBackgroundControlStyles,Yi=zi.StyleComponent;function Ji(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=(t.blockMeta,t.resOption,t.preset,t.contentPosition),c=(t.buttonTextOne,t.buttonTextTwo,t.textOneColor),l=t.hoverTextOneColor,i=t.textTwoColor,s=t.hoverTextTwoColor,b=(t.innerButtonText,t.innerButtonColor),p=t.innerButtonTextColor,u=(t.innerButtonIcon,t.showConnector,t.connectorType),d=t.buttonTextAlign,m=(t.classHook,t.buttonsWidthType),g=Ui({attributes:t,prefixConstant:yi,defaultFontSize:16}),f=g.typoStylesDesktop,y=g.typoStylesTab,v=g.typoStylesMobile,h=Ui({attributes:t,prefixConstant:vi,defaultFontSize:14}),w=h.typoStylesDesktop,k=h.typoStylesTab,R=h.typoStylesMobile,_=Vi({controlName:ei,styleFor:"margin",attributes:t}),E=_.dimensionStylesDesktop,C=_.dimensionStylesTab,x=_.dimensionStylesMobile,S=Vi({controlName:ti,styleFor:"padding",attributes:t}),B=S.dimensionStylesDesktop,T=S.dimensionStylesTab,N=S.dimensionStylesMobile,P=Wi({controlName:oi,attributes:t,noShadow:!0}),O=P.styesDesktop,M=P.styesTab,D=P.styesMobile,j=P.stylesHoverDesktop,I=P.stylesHoverTab,A=P.stylesHoverMobile,L=P.transitionStyle,F=Wi({controlName:ri,attributes:t,noShadow:!0}),H=F.styesDesktop,z=F.styesTab,q=F.styesMobile,U=F.stylesHoverDesktop,V=F.stylesHoverTab,W=F.stylesHoverMobile,G=F.transitionStyle,Z=Gi({controlName:ci,property:"width",attributes:t}),Y=Z.rangeStylesDesktop,J=Z.rangeStylesTab,Q=Z.rangeStylesMobile,X=Gi({controlName:li,property:"margin",attributes:t}),$=X.rangeStylesDesktop,K=X.rangeStylesTab,ee=X.rangeStylesMobile,te=Gi({controlName:ii,property:"height",attributes:t}),ae=te.rangeStylesDesktop,ne=te.rangeStylesTab,oe=te.rangeStylesMobile,re=Gi({controlName:ii,property:"width",attributes:t}),ce=re.rangeStylesDesktop,le=re.rangeStylesTab,ie=re.rangeStylesMobile,se=Gi({controlName:ii,property:"line-height",attributes:t}),be=se.rangeStylesDesktop,pe=se.rangeStylesTab,ue=se.rangeStylesMobile,de=Gi({controlName:si,property:"font-size",attributes:t}),me=de.rangeStylesDesktop,ge=de.rangeStylesTab,fe=de.rangeStylesMobile,ye=Zi({attributes:t,controlName:ai}),ve=ye.backgroundStylesDesktop,he=ye.hoverBackgroundStylesDesktop,we=ye.bgTransitionStyle,ke=Zi({attributes:t,controlName:ni}),Re=ke.backgroundStylesDesktop,_e=ke.hoverBackgroundStylesDesktop,Ee=(ke.bgTransitionStyle,"\n\t\t.eb-button-group-wrapper.".concat(o,"{\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: row;\n\t\t\talign-items: ").concat(r,";\n\t\t\tjustify-content: ").concat(r,";\n\t\t\tposition: relative;\n\t\t\t").concat(E,"\n\t\t}\n\t")),Ce="\n\t\t.eb-button-group-wrapper.".concat(o,"{\n\t\t\t").concat(C,"\n\n\t\t}\n\t"),xe="\n\t\t.eb-button-group-wrapper.".concat(o,"{\n\t\t\t").concat(x,"\n\n\t\t}\n\t"),Se="\n\t\t.eb-button-group-wrapper.".concat(o," .eb-button-parent {\n\t\t\t").concat(B,"\n\t\t\t").concat("custom"===m?Y:"width: auto;","\n\t\t\t").concat($,"\n\t\t\ttext-align: ").concat(d,";\n\t\t\tcursor: pointer;\n\t\t}\n\t\t.eb-button-group-wrapper.").concat(o," .eb-button-parent .eb-button-text {\n\t\t\t").concat(f,"\n\t\t}\n\n\t\t.eb-button-group-wrapper.").concat(o,".preset-4 {\n\t\t\twidth: fit-content;\n\t\t\tmargin: ").concat("center"===r?"0 auto;":"flex-end"===r?"0 0 0 auto;":"auto 0;","\n\t\t}\n\t"),Be="\n\t\t.eb-button-group-wrapper.".concat(o," .eb-button-parent {\n\t\t\t").concat(T,"\n\t\t\t").concat("custom"===m?J:"width: auto;","\n\t\t\t").concat(K,"\n\t\t}\n\t\t.eb-button-group-wrapper.").concat(o," .eb-button-parent .eb-button-text {\n\t\t\t").concat(y,"\n\t\t}\n\t"),Te="\n\t\t.eb-button-group-wrapper.".concat(o," .eb-button-parent {\n\t\t\t").concat(N,"\n\t\t\t").concat("custom"===m?Q:"width: auto;","\n\t\t\t").concat(ee,"\n\t\t}\n\t\t.eb-button-group-wrapper.").concat(o," .eb-button-parent .eb-button-text {\n\t\t\t").concat(v,"\n\t\t}\n\t"),Ne="\n\t\t.eb-button-group-wrapper.".concat(o," .eb-button-parent.eb-button-one {\n\t\t\t").concat(O,"\n\t\t\ttransition:").concat(L,";\n\t\t\t").concat(ve,"\n\t\t\ttransition: ").concat(we.replace(/[^0-9.]/g,""),"s;\n\t\t}\n\t\t.eb-button-group-wrapper.").concat(o," .eb-button-parent.eb-button-one:hover,\n\t\t.eb-button-group-wrapper.").concat(o," .eb-button-parent.eb-button-one:focus {\n\t\t\t").concat(j,"\n\t\t\t").concat(he,"\n\t\t}\n\t\t.eb-button-group-wrapper.").concat(o," .eb-button-parent.eb-button-one .eb-button-one-text {\n\t\t\tcolor: ").concat(c,";\n\t\t}\n\t\t.eb-button-group-wrapper.").concat(o," .eb-button-parent.eb-button-one:hover .eb-button-one-text {\n\t\t\tcolor: ").concat(l,";\n\t\t}\n\t"),Pe="\n\t\t.eb-button-group-wrapper.".concat(o," .eb-button-parent.eb-button-one {\n\t\t\t").concat(M,"\n\t\t}\n\t\t.eb-button-group-wrapper.").concat(o," .eb-button-parent.eb-button-one:hover {\n\t\t\t").concat(I,"\n\t\t}\n\t\t.eb-button-group-wrapper.").concat(o," .eb-button-parent.eb-button-one .eb-button-one-text {\n\n\t\t}\n\t"),Oe="\n\t\t.eb-button-group-wrapper.".concat(o," .eb-button-parent.eb-button-one {\n\t\t\t").concat(D,"\n\t\t}\n\t\t.eb-button-group-wrapper.").concat(o," .eb-button-parent.eb-button-one:hover {\n\t\t\t").concat(A,"\n\t\t}\n\t\t.eb-button-group-wrapper.").concat(o," .eb-button-parent.eb-button-one .eb-button-one-text {\n\n\t\t}\n\t"),Me="\n\t\t.eb-button-group-wrapper.".concat(o," .eb-button-parent.eb-button-two {\n\t\t\t").concat(H,"\n\t\t\t").concat($,"\n\t\t\ttransition:").concat(G,";\n\t\t\t").concat(Re,"\n\t\t\ttransition: ").concat(we.replace(/[^0-9.]/g,""),"s;\n\t\t}\n\t\t.eb-button-group-wrapper.").concat(o," .eb-button-parent.eb-button-two:hover,\n\t\t.eb-button-group-wrapper.").concat(o," .eb-button-parent.eb-button-two:focus {\n\t\t\t").concat(U,"\n\t\t\t").concat(_e,"\n\t\t}\n\t\t.eb-button-group-wrapper.").concat(o," .eb-button-parent.eb-button-two .eb-button-two-text {\n\t\t\tcolor: ").concat(i,";\n\t\t}\n\t\t.eb-button-group-wrapper.").concat(o," .eb-button-parent.eb-button-two:hover .eb-button-two-text {\n\t\t\tcolor: ").concat(s,";\n\t\t}\n\t"),De="\n\t\t.eb-button-group-wrapper.".concat(o," .eb-button-parent.eb-button-two {\n\t\t\t").concat(z,"\n\t\t\t").concat(K,"\n\t\t}\n\t\t.eb-button-group-wrapper.").concat(o," .eb-button-parent.eb-button-two:hover {\n\t\t\t").concat(V,"\n\t\t}\n\t\t.eb-button-group-wrapper.").concat(o," .eb-button-parent.eb-button-two .eb-button-two-text {\n\n\t\t}\n\t"),je="\n\t\t.eb-button-group-wrapper.".concat(o," .eb-button-parent.eb-button-two {\n\t\t\t").concat(q,"\n\t\t\t").concat(ee,"\n\t\t}\n\t\t.eb-button-group-wrapper.").concat(o," .eb-button-parent.eb-button-two:hover {\n\t\t\t").concat(W,"\n\t\t}\n\t\t.eb-button-group-wrapper.").concat(o," .eb-button-parent.eb-button-two .eb-button-two-text {\n\n\t\t}\n\t"),Ie="\n\t\t.eb-button-group-wrapper.".concat(o," .eb-button-group__midldeInner span {\n\t\t\t").concat("text"===u?w:me,"\n\t\t\t").concat(ae,"\n\t\t\t").concat(ce,"\n\t\t\t").concat(be,"\n\t\t\tbackground: ").concat(b,";\n\t\t\tcolor: ").concat(p,";\n\t\t}\n\t"),Ae="\n\t\t.eb-button-group-wrapper.".concat(o," .eb-button-group__midldeInner span {\n\t\t\t").concat("text"===u?k:ge,"\n\t\t\t").concat(ne,"\n\t\t\t").concat(le,"\n\t\t\t").concat(pe,"\n\t\t}\n\t"),Le="\n\t\t.eb-button-group-wrapper.".concat(o," .eb-button-group__midldeInner span {\n\t\t\t").concat("text"===u?R:fe,"\n\t\t\t").concat(oe,"\n\t\t\t").concat(ie,"\n\t\t\t").concat(ue,"\n\t\t}\n\t"),Fe=qi("\n\t\t\t".concat(Ee,"\n\t\t\t").concat(Se,"\n\t\t\t").concat(Ne,"\n\t\t\t").concat(Me,"\n\t\t\t").concat(Ie,"\n\t\t")),He=qi("\n\t\t\t".concat(Ce,"\n\t\t\t").concat(Be,"\n\t\t\t").concat(Pe,"\n\t\t\t").concat(De,"\n\t\t\t").concat(Ae,"\n\t\t")),ze=qi("\n\t\t\t".concat(xe,"\n\t\t\t").concat(Te,"\n\t\t\t").concat(Oe,"\n\t\t\t").concat(je,"\n\t\t\t").concat(Le,"\n\t\t"));return React.createElement(React.Fragment,null,React.createElement(Yi,{attributes:t,setAttributes:a,desktopAllStyles:Fe,tabAllStyles:He,mobileAllStyles:ze,blockName:n}))}function Qi(e){return Qi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Qi(e)}function Xi(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function $i(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Xi(Object(a),!0).forEach((function(t){Ki(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Xi(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Ki(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=Qi(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=Qi(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Qi(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var es=window.EBControls,ts=es.DynamicInputValueHandler,as=es.EBDisplayIcon,ns=es.BlockProps;const os=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Dual Button","apiVersion":2,"name":"essential-blocks/dual-button","category":"essential-blocks","description":"Create two buttons to be stacked together","textdomain":"essential-blocks","editorScript":"essential-blocks-editor-script","supports":{"anchor":true,"align":["wide","full"]}}');function rs(e){return rs="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},rs(e)}function cs(){return cs=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},cs.apply(null,arguments)}function ls(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function is(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ls(Object(a),!0).forEach((function(t){ss(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ls(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function ss(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=rs(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=rs(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==rs(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var bs=window.EBControls,ps=bs.EBDisplayIcon,us=bs.sanitizeURL;const ds=[{attributes:is({},Ti),save:function(e){var t=e.attributes,a=t.blockId,n=t.preset,o=t.buttonTextOne,r=t.buttonTextTwo,c=t.buttonURLOne,l=t.buttonURLTwo,i=t.innerButtonText,s=t.innerButtonIcon,b=t.showConnector,p=t.connectorType,u=t.classHook,d=t.buttonOneNewWindow,m=t.buttonTwoNewWindow;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(u)},React.createElement("div",{className:"eb-button-group-wrapper ".concat(a," ").concat(n),"data-id":a},React.createElement("a",cs({className:"eb-button-parent eb-button-one",href:"#"===c?"":c},d&&{target:"_blank"},{rel:"noopener"}),React.createElement("div",{className:"eb-button-text eb-button-one-text"},o)),b&&React.createElement("div",{className:"eb-button-group__midldeInner"},"icon"===p&&React.createElement("span",null,React.createElement(ps,{icon:s})),"text"===p&&React.createElement("span",null,i)),React.createElement("a",cs({className:"eb-button-parent eb-button-two",href:"#"===l?"":l},m&&{target:"_blank"},{rel:"noopener"}),React.createElement("div",{className:"eb-button-text eb-button-two-text"},r)))))}},{attributes:is({},Ti),save:function(e){var t=e.attributes,a=t.blockId,n=t.preset,o=t.buttonTextOne,r=t.buttonTextTwo,c=t.buttonURLOne,l=t.buttonURLTwo,i=t.innerButtonText,s=t.innerButtonIcon,b=t.showConnector,p=t.connectorType,u=t.classHook,d=t.buttonOneNewWindow,m=t.buttonTwoNewWindow;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(u)},React.createElement("div",{className:"eb-button-group-wrapper ".concat(a," ").concat(n),"data-id":a},React.createElement("a",cs({className:"eb-button-parent eb-button-one",href:c},d&&{target:"_blank"},{rel:"noopener"}),React.createElement("div",{className:"eb-button-text eb-button-one-text"},o)),b&&React.createElement("div",{className:"eb-button-group__midldeInner"},"icon"===p&&React.createElement("span",null,React.createElement(ps,{icon:s})),"text"===p&&React.createElement("span",null,i)),React.createElement("a",cs({className:"eb-button-parent eb-button-two",href:"#"===l?"":l},m&&{target:"_blank"},{rel:"noopener"}),React.createElement("div",{className:"eb-button-text eb-button-two-text"},r)))))}},{attributes:is({},Ti),save:function(e){var t=e.attributes,a=t.blockId,n=t.preset,o=t.buttonTextOne,r=t.buttonTextTwo,c=t.buttonURLOne,l=t.buttonURLTwo,i=t.innerButtonText,s=t.innerButtonIcon,b=t.showConnector,p=t.connectorType,u=t.classHook,d=t.buttonOneNewWindow,m=t.buttonTwoNewWindow;return React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(u)},React.createElement("div",{className:"eb-button-group-wrapper ".concat(a," ").concat(n),"data-id":a},React.createElement("a",cs({className:"eb-button-parent eb-button-one",href:c},d&&{target:"_blank"},{rel:"noopener"}),React.createElement("div",{className:"eb-button-text eb-button-one-text"},o)),b&&React.createElement("div",{className:"eb-button-group__midldeInner"},"icon"===p&&React.createElement("span",null,React.createElement(ps,{icon:s})),"text"===p&&React.createElement("span",null,i)),React.createElement("a",cs({className:"eb-button-parent eb-button-two",href:l},m&&{target:"_blank"},{rel:"noopener"}),React.createElement("div",{className:"eb-button-text eb-button-two-text"},r))))}},{attributes:is({},Ti),save:function(e){var t=e.attributes,a=t.blockId,n=t.preset,o=t.buttonTextOne,r=t.buttonTextTwo,c=t.buttonURLOne,l=t.buttonURLTwo,i=t.innerButtonText,s=t.innerButtonIcon,b=t.showConnector,p=t.connectorType,u=t.classHook,d=t.buttonOneNewWindow,m=t.buttonTwoNewWindow;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(u)},React.createElement("div",{className:"eb-button-group-wrapper ".concat(a," ").concat(n),"data-id":a},React.createElement("a",cs({className:"eb-button-parent eb-button-one",href:us(c)},d&&{target:"_blank"},{rel:"noopener"}),React.createElement("div",{className:"eb-button-text eb-button-one-text"},o)),b&&React.createElement("div",{className:"eb-button-group__midldeInner"},"icon"===p&&React.createElement("span",null,React.createElement(ps,{icon:s})),"text"===p&&React.createElement("span",null,i)),React.createElement("a",cs({className:"eb-button-parent eb-button-two",href:us(l)},m&&{target:"_blank"},{rel:"noopener"}),React.createElement("div",{className:"eb-button-text eb-button-two-text"},r)))))}},{attributes:is({},Ti),save:function(e){var t=e.attributes,a=t.blockId,n=t.preset,o=t.buttonTextOne,r=t.buttonTextTwo,c=t.buttonURLOne,l=t.buttonURLTwo,i=t.innerButtonText,s=t.innerButtonIcon,b=t.showConnector,p=t.connectorType,u=t.classHook,d=t.buttonOneNewWindow,m=t.buttonTwoNewWindow;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(u)},React.createElement("div",{className:"eb-button-group-wrapper ".concat(a," ").concat(n),"data-id":a},React.createElement("a",cs({className:"eb-button-parent eb-button-one",href:us(c)},d&&{target:"_blank"},{rel:"noopener"}),React.createElement("div",{className:"eb-button-text eb-button-one-text"},o)),b&&React.createElement("div",{className:"eb-button-group__midldeInner"},"icon"===p&&React.createElement("span",null,React.createElement("i",{className:"".concat(s||"fas fa-arrows-alt-h")})),"text"===p&&React.createElement("span",null,i)),React.createElement("a",cs({className:"eb-button-parent eb-button-two",href:us(l)},m&&{target:"_blank"},{rel:"noopener"}),React.createElement("div",{className:"eb-button-text eb-button-two-text"},r)))))}},{attributes:is({},Ti),save:function(e){var t=e.attributes,a=t.blockId,n=t.preset,o=t.buttonTextOne,r=t.buttonTextTwo,c=t.buttonURLOne,l=t.buttonURLTwo,i=t.innerButtonText,s=t.innerButtonIcon,b=t.showConnector,p=t.connectorType;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-button-group-wrapper ".concat(a," ").concat(n),"data-id":a},React.createElement("a",{className:"eb-button-parent eb-button-one",href:us(c)},React.createElement("div",{className:"eb-button-text eb-button-one-text"},o)),b&&React.createElement("div",{className:"eb-button-group__midldeInner"},"icon"===p&&React.createElement("span",null,React.createElement("i",{className:"".concat(s||"fas fa-arrows-alt-h")})),"text"===p&&React.createElement("span",null,i)),React.createElement("a",{className:"eb-button-parent eb-button-two",href:us(l)},React.createElement("div",{className:"eb-button-text eb-button-two-text"},r))))}}];(0,EBControls.ebConditionalRegisterBlockType)(os,{keywords:[(0,Y.__)("buttons","essential-blocks"),(0,Y.__)("grouped button","essential-blocks"),(0,Y.__)("Button Group","essential-blocks"),(0,Y.__)("dual","essential-blocks")],attributes:Ti,icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"66",height:"70",fill:"none",viewBox:"0 0 66 70"},React.createElement("g",{fill:"#6C3BFF",clipPath:"url(#clip0_2_22640)"},React.createElement("path",{d:"M33.3 22.4H4.7C2.1 22.4 0 24.6 0 27v14.3c0 2.6 2.2 4.6 4.6 4.6H33c2.6 0 4.6-2.2 4.6-4.6V27c.3-2.6-1.9-4.6-4.3-4.6zm1.8 18.9c0 1.2-1 2-2 2H4.7c-1.2 0-2-1-2-2V27c0-1.2 1-2 2-2h28.4c1.2 0 2 1 2 2v14.3z"}),React.createElement("path",{d:"M61.7 22.4H39.8c-2.6 0-4.7 2.2-4.7 4.6v14.3c0 2.6 2.2 4.6 4.6 4.6h21.7c2.6 0 4.6-2.2 4.6-4.6V27c.3-2.6-1.9-4.6-4.3-4.6zm1.8 18.9c0 1.2-1 2-2 2H39.8c-1.2 0-2-1-2-2V27c0-1.2 1-2 2-2h21.7c1.2 0 2 1 2 2v14.3zM25.6 35.8H11.8c-.7 0-1.4-.6-1.4-1.4 0-.7.6-1.4 1.4-1.4h13.8c.7 0 1.4.6 1.4 1.4-.1.8-.7 1.4-1.4 1.4z"}),React.createElement("path",{d:"M54.5 35.5H44.3c-.7 0-1.4-.6-1.4-1.4 0-.7.6-1.4 1.4-1.4h10.2c.7 0 1.4.6 1.4 1.4-.1.8-.7 1.4-1.4 1.4z"})),React.createElement("defs",null,React.createElement("clipPath",{id:"clip0_2_22640"},React.createElement("path",{fill:"#fff",d:"M0 0H66V70H0z"}))))},edit:function(e){var t=e.attributes,a=e.setAttributes,n=e.isSelected,o=t.blockId,r=t.preset,c=t.buttonTextOne,l=t.buttonTextTwo,i=t.innerButtonText,s=t.innerButtonIcon,b=t.showConnector,p=t.connectorType,u=t.classHook,d=$i($i({},e),{},{blockPrefix:"eb-button-group",style:React.createElement(Ji,e)});return React.createElement(React.Fragment,null,n&&React.createElement(Hi,e),React.createElement(ns.Edit,d,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(o," ").concat(u)},React.createElement("div",{className:"eb-button-group-wrapper ".concat(o," ").concat(r),"data-id":o},React.createElement("a",{className:"eb-button-parent eb-button-one",onMouseEnter:function(){return a({isHoverOne:!0})},onMouseLeave:function(){return a({isHoverOne:!1})}},React.createElement(ts,{className:"eb-button-text eb-button-one-text",placeholder:"Add Text..",value:c,onChange:function(e){return a({buttonTextOne:e})},allowedFormats:["core/bold","core/italic","core/link","core/strikethrough","core/underline","core/text-color"]})),b&&React.createElement("div",{className:"eb-button-group__midldeInner"},"icon"===p&&React.createElement("span",null,React.createElement(as,{icon:s})),"text"===p&&React.createElement("span",null,i)),React.createElement("a",{className:"eb-button-parent eb-button-two",onMouseEnter:function(){return a({isHoverTwo:!0})},onMouseLeave:function(){return a({isHoverTwo:!1})}},React.createElement(ts,{className:"eb-button-text eb-button-two-text",placeholder:"Add Text..",value:l,onChange:function(e){return a({buttonTextTwo:e})},allowedFormats:["core/bold","core/italic","core/link","core/strikethrough","core/underline","core/text-color"]}))))))},save:function(e){var t=e.attributes,a=t.blockId,n=t.preset,o=t.buttonTextOne,r=t.buttonTextTwo,c=t.buttonURLOne,l=t.buttonURLTwo,i=t.innerButtonText,s=t.innerButtonIcon,b=t.showConnector,p=t.connectorType,u=t.classHook,d=t.buttonOneNewWindow,m=t.buttonTwoNewWindow;return React.createElement(Kl.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(u)},React.createElement("div",{className:"eb-button-group-wrapper ".concat(a," ").concat(n),"data-id":a},React.createElement("a",Jl({className:"eb-button-parent eb-button-one",href:"#"===c?"":$l(c)},d&&{target:"_blank"},{rel:"noopener"}),React.createElement(Q.RichText.Content,{tagName:"div",className:"eb-button-text eb-button-one-text",value:o})),b&&React.createElement("div",{className:"eb-button-group__midldeInner"},"icon"===p&&React.createElement("span",null,React.createElement(Xl,{icon:s})),"text"===p&&React.createElement("span",null,i)),React.createElement("a",Jl({className:"eb-button-parent eb-button-two",href:"#"===l?"":$l(l)},m&&{target:"_blank"},{rel:"noopener"}),React.createElement(Q.RichText.Content,{tagName:"div",className:"eb-button-text eb-button-two-text",value:r})))))},example:{attributes:{showConnector:"true",buttonOneBorderShadowRds_Top:20,buttonOneBorderShadowRds_Bottom:0,buttonOneBorderShadowRds_Left:20,buttonOneBorderShadowRds_Right:0,buttonTwoBorderShadowRds_Top:0,buttonTwoBorderShadowRds_Bottom:20,buttonTwoBorderShadowRds_Left:0,buttonTwoBorderShadowRds_Right:20,buttonsGapRange:0}},deprecated:ds});var ms="title",gs="content",fs="margin",ys="padding",vs="btn_padding",hs="front_icon_margin",ws="front_icon_padding",ks="back_icon_margin",Rs="back_icon_padding",_s="frontTitlePadding",Es="backTitlePadding",Cs="frontContentPadding",xs="backContentPadding",Ss="frontImgPadding",Bs="backImgPadding",Ts="frontItemPadding",Ns="backItemPadding",Ps="boxHeight",Os="boxWidth",Ms="frontIconSize",Ds="backIconSize",js="btnIconSize",Is="frontImgSize",As="backImgSize",Ls="frontImgRadius",Fs="backImgRadius",Hs="front_",zs="btn_",qs="front_icon_",Us="back_icon_",Vs="front_wrapper_",Ws="back_wrapper_";function Gs(e){return Gs="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Gs(e)}function Zs(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Ys(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Zs(Object(a),!0).forEach((function(t){Js(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Zs(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Js(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=Gs(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=Gs(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Gs(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var Qs=window.EBControls,Xs=Qs.generateTypographyAttributes,$s=Qs.generateDimensionsAttributes,Ks=Qs.generateResponsiveRangeAttributes,eb=Qs.generateBackgroundAttributes,tb=Qs.generateBorderShadowAttributes;const ab=Ys(Ys(Ys(Ys(Ys(Ys(Ys(Ys(Ys(Ys(Ys(Ys(Ys(Ys(Ys(Ys(Ys(Ys(Ys(Ys(Ys(Ys(Ys(Ys(Ys(Ys(Ys(Ys(Ys(Ys(Ys({resOption:{type:"string",default:"Desktop"},uniqueIdNumber:{type:"number"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},flipboxStyle:{type:"string",default:"default"},isHover:{type:"boolean",default:!1},flipType:{type:"string",source:"attribute",selector:".eb-flipbox-container",attribute:"data-flip-type",default:"flip-left"},selectedSide:{type:"string",default:"front"},frontIconOrImage:{type:"string",default:"icon"},frontIcon:{type:"attribute",selector:"eb-flipbox-icon-wrapper-front",attribute:"data-icon",default:"fab fa-rev"},frontImageUrl:{type:"attribute",selector:"eb-flipbox-front-image-container img",attribute:"src"},frontImageAlt:{type:"string"},frontImageId:{type:"string",default:null},backIconOrImage:{type:"string",default:"icon"},backIcon:{type:"attribute",selector:"flipbox-icon-wrapper-back",attribute:"data-icon",default:"fab fa-rev"},backImageUrl:{type:"attribute",selector:"back-image-container img",attribute:"src"},backImageAlt:{type:"string"},backImageId:{type:"string",default:null},showFrontTitle:{type:"boolean",default:!0},frontTitle:{type:"string",selector:"eb-flipbox-front-title",default:"Front Title Here"},showFrontContent:{type:"boolean",default:!0},frontContent:{type:"string",selector:"eb-flipbox-front-content",default:"Front Content Here"},showBackTitle:{type:"boolean",default:!0},backTitle:{type:"string",selector:"eb-flipbox-back-title",default:"Back Title Here"},showBackContent:{type:"boolean",default:!0},backContent:{type:"string",selector:"eb-flipbox-back-content",default:"Back Content Here"},linkType:{type:"string",default:"box"},buttonText:{type:"string",default:"Click Here"},buttonIcon:{type:"string"},buttonIconPos:{type:"string",default:"before"},link:{type:"string"},frontTitleColor:{type:"string",default:"var(--eb-global-heading-color)"},backTitleColor:{type:"string",default:"var(--eb-global-heading-color)"},frontContentColor:{type:"string",default:"var(--eb-global-text-color)"},backContentColor:{type:"string",default:"var(--eb-global-text-color)"},frontIconColor:{type:"string",default:"var(--eb-global-primary-color)"},backIconColor:{type:"string",default:"var(--eb-global-primary-color)"},buttonStyle:{type:"string",default:"styleOne"},buttonClasses:{type:"string",default:""},buttonBackground:{type:"string",default:"var(--eb-global-button-background-color)"},buttonColor:{type:"string",default:"var(--eb-global-button-text-color)"},frontIconBackground:{type:"string"},backIconBackground:{type:"string"},transitionSpeed:{type:"number"},displayButtonIcon:{type:"boolean",default:!1},align:{type:"string",default:"center"},contentPosition:{type:"string",default:"center"},linkOpenNewTab:{type:"boolean",default:!1},flipMode:{type:"string",default:"hover"},isMouseLeaveOn:{type:"boolean",default:!0}},Xs(Object.values(s))),$s(fs,{top:28,right:0,bottom:28,left:0,isLinked:!1,disableLeftRight:!0})),$s(ys)),$s(vs)),$s(hs)),$s(ws)),$s(ks)),$s(Rs)),$s(_s)),$s(Es)),$s(Cs)),$s(xs)),$s(Ss)),$s(Bs)),$s(Ts)),$s(Ns)),Ks(Ps,{defaultRange:310})),Ks(Os,{defaultRange:600})),Ks(Ms,{defaultRange:50})),Ks(Ds,{defaultRange:50})),Ks(js,{defaultRange:100})),Ks(Is,{defaultRange:100})),Ks(As,{defaultRange:100})),Ks(Ls)),Ks(Fs)),tb(Hs)),tb(zs)),tb(qs,{noShadow:!0})),tb(Us,{noShadow:!0})),eb(Vs,{defaultFillColor:"var(--eb-global-background-color)"})),eb(Ws,{defaultFillColor:"var(--eb-global-background-color)"}));var nb=[{label:(0,Y.__)("Front","essential-blocks"),value:"front"},{label:(0,Y.__)("Back","essential-blocks"),value:"back"}],ob=[{label:(0,Y.__)("Flip Left","essential-blocks"),value:"flip-left"},{label:(0,Y.__)("Flip Right","essential-blocks"),value:"flip-right"},{label:(0,Y.__)("Flip Up","essential-blocks"),value:"flip-up"},{label:(0,Y.__)("Flip Bottom","essential-blocks"),value:"flip-bottom"},{label:(0,Y.__)("Zoom In","essential-blocks"),value:"zoom-in"},{label:(0,Y.__)("Zoom Out","essential-blocks"),value:"zoom-out"},{label:(0,Y.__)("Fade","essential-blocks"),value:"fade"}],rb=((0,Y.__)("Dashed","essential-blocks"),(0,Y.__)("Solid","essential-blocks"),(0,Y.__)("Dotted","essential-blocks"),(0,Y.__)("Double","essential-blocks"),(0,Y.__)("Groove","essential-blocks"),(0,Y.__)("Inset","essential-blocks"),(0,Y.__)("Outset","essential-blocks"),(0,Y.__)("Ridge","essential-blocks"),[{label:(0,Y.__)("None","essential-blocks"),value:"none"},{label:(0,Y.__)("Icon","essential-blocks"),value:"icon"},{label:(0,Y.__)("Image","essential-blocks"),value:"image"}]),cb=[{label:(0,Y.__)("Box","essential-blocks"),value:"box"},{label:(0,Y.__)("Title","essential-blocks"),value:"title"},{label:(0,Y.__)("Button","essential-blocks"),value:"button"}],lb=[{label:(0,Y.__)("Before","essential-blocks"),value:"before"},{label:(0,Y.__)("After","essential-blocks"),value:"after"}],ib=[{label:(0,Y.__)("Style 1","essential-blocks"),value:"styleOne"},{label:(0,Y.__)("Style 2","essential-blocks"),value:"styleTwo"},{label:(0,Y.__)("Style 3","essential-blocks"),value:"styleThree"},{label:(0,Y.__)("Custom","essential-blocks"),value:"custom"}],sb=((0,Y.__)("Fill","essential-blocks"),(0,Y.__)("Gradient","essential-blocks"),(0,Y.__)("Image","essential-blocks"),(0,Y.__)("Auto","essential-blocks"),(0,Y.__)("Cover","essential-blocks"),(0,Y.__)("Contain","essential-blocks"),(0,Y.__)("Custom","essential-blocks"),(0,Y.__)("Default","essential-blocks"),(0,Y.__)("No-repeat","essential-blocks"),(0,Y.__)("Repeat","essential-blocks"),(0,Y.__)("Repeat-x","essential-blocks"),(0,Y.__)("Repeat-y","essential-blocks"),(0,Y.__)("Default","essential-blocks"),(0,Y.__)("Center Center","essential-blocks"),(0,Y.__)("Center Left","essential-blocks"),(0,Y.__)("Center Right","essential-blocks"),(0,Y.__)("Top Center","essential-blocks"),(0,Y.__)("Top Left","essential-blocks"),(0,Y.__)("Top Right","essential-blocks"),(0,Y.__)("Bottom Center","essential-blocks"),(0,Y.__)("Bottom Left","essential-blocks"),(0,Y.__)("Bottom Right","essential-blocks"),(0,Y.__)("Custom","essential-blocks"),(0,Y.__)("Default","essential-blocks"),(0,Y.__)("Fixed","essential-blocks"),(0,Y.__)("Scroll","essential-blocks"),(0,Y.__)("Default","essential-blocks"),(0,Y.__)("Mint","essential-blocks"),(0,Y.__)("Tangelo","essential-blocks"),(0,Y.__)("Royal","essential-blocks"),(0,Y.__)("Small","essential-blocks"),(0,Y.__)("Medium","essential-blocks"),(0,Y.__)("Large","essential-blocks"),(0,Y.__)("Extra Large","essential-blocks"),(0,Y.__)("None","essential-blocks"),(0,Y.__)("Lowercase","essential-blocks"),(0,Y.__)("Capitalize","essential-blocks"),(0,Y.__)("Uppercase","essential-blocks"),(0,Y.__)("Lighter","essential-blocks"),(0,Y.__)("Normal","essential-blocks"),(0,Y.__)("Bold","essential-blocks"),(0,Y.__)("Bolder","essential-blocks"),(0,Y.__)("Initial","essential-blocks"),(0,Y.__)("Overline","essential-blocks"),(0,Y.__)("Line Through","essential-blocks"),(0,Y.__)("Underline","essential-blocks"),(0,Y.__)("Underline Oveline","essential-blocks"),[{label:"px",value:"px"},{label:"%",value:"%"}]),bb=[{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignleft"})),value:"left"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignright"})),value:"right"}],pb=[{label:(0,Y.__)("Hover","essential-blocks"),value:"hover"},{label:(0,Y.__)("Click","essential-blocks"),value:"click"}],ub=window.EBControls,db=(ub.faIcons,ub.ImageAvatar),mb=ub.BorderShadowControl,gb=ub.getButtonClasses,fb=ub.ResponsiveDimensionsControl,yb=ub.ResponsiveRangeController,vb=ub.TypographyDropdown,hb=ub.ColorControl,wb=ub.BackgroundControl,kb=ub.AdvancedControls,Rb=ub.DynamicInputControl,_b=ub.EBIconPicker;const Eb=function(e){var t=e.attributes,a=e.setAttributes,n=t.resOption,o=t.flipType,r=t.selectedSide,c=t.frontIconOrImage,l=t.frontIcon,i=t.frontImageUrl,s=(t.frontImageAlt,t.frontImageId),b=t.backIconOrImage,p=t.backIcon,u=t.backImageUrl,d=(t.backImageAlt,t.backImageId),m=t.showFrontTitle,g=t.frontTitle,f=t.showFrontContent,y=t.frontContent,v=t.showBackTitle,h=t.backTitle,w=t.showBackContent,k=t.backContent,R=t.linkType,_=t.buttonText,E=t.buttonIcon,C=t.buttonIconPos,x=t.link,S=t.frontTitleColor,B=t.backTitleColor,T=t.frontContentColor,N=t.backContentColor,P=t.frontIconColor,O=t.backIconColor,M=t.buttonStyle,D=t.buttonBackground,j=t.buttonColor,I=t.frontIconBackground,A=t.backIconBackground,L=t.transitionSpeed,F=t.displayButtonIcon,H=t.contentPosition,z=t.linkOpenNewTab,q=t.flipMode,U=t.isMouseLeaveOn,V=function(e){var t=e,n=gb(e);a({buttonStyle:t,buttonClasses:n})},W={setAttributes:a,resOption:n,attributes:t,objAttributes:ab};return React.createElement(Q.InspectorControls,{keys:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:(0,Y.__)("General","essential-blocks"),className:"eb-tab general"},{name:"styles",title:(0,Y.__)("Style","essential-blocks"),className:"eb-tab styles"},{name:"advanced",title:(0,Y.__)("Advanced","essential-blocks"),className:"eb-tab advanced"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls"+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,null,React.createElement(X.BaseControl,{label:(0,Y.__)("Selected Side","essential-blocks")},React.createElement(X.ButtonGroup,{id:"eb-flipbox-sides"},nb.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:r===e.value,isSecondary:r!==e.value,onClick:function(){return a({selectedSide:e.value})}},e.label)}))))),React.createElement(X.PanelBody,{title:(0,Y.__)("Flipbox Settings","essential-blocks"),initialOpen:!0},React.createElement(X.SelectControl,{label:(0,Y.__)("Flip Mode","essential-blocks"),value:q,options:(0,Qo.applyFilters)("eb_flipbox_modes",pb),onChange:function(e){return a({flipMode:e})},help:"click"===q?(0,Y.__)("Click mode only available in frontend.","essential-blocks"):""}),"click"===q&&React.createElement(X.ToggleControl,{label:(0,Y.__)("Use Mouse Leave when click mode on","essential-blocks"),checked:U,onChange:function(){a({isMouseLeaveOn:!U})}}),React.createElement(X.BaseControl,{label:(0,Y.__)("Alignment","essential-blocks"),id:"eb-button-group-alignment"},React.createElement(X.ButtonGroup,{id:"eb-button-group-alignment"},bb.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:H===e.value,isSecondary:H!==e.value,onClick:function(){return a({contentPosition:e.value})}},e.label)})))),React.createElement(yb,{baseLabel:(0,Y.__)("Box Height","essential-blocks"),controlName:Ps,resRequiredProps:W,min:0,max:1e3,step:1,noUnits:!0}),React.createElement(yb,{baseLabel:(0,Y.__)("Box Width","essential-blocks"),controlName:Os,resRequiredProps:W,min:0,max:600,step:1,noUnits:!0}),React.createElement(X.SelectControl,{label:(0,Y.__)("Flipbox Type","essential-blocks"),value:o,options:ob,onChange:function(e){return a({flipType:e})}}),React.createElement(X.RangeControl,{label:(0,Y.__)("Transition Speed(millisecond)","essential-blocks"),value:L,onChange:function(e){a({transitionSpeed:e})},min:0,max:5e3,step:500}),"front"===r&&React.createElement(React.Fragment,null,React.createElement(X.BaseControl,{label:(0,Y.__)("Icon Type","essential-blocks"),id:"eb-flipbox-icon-type"},React.createElement(X.ButtonGroup,{id:"eb-flipbox-icon-type"},rb.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:c===e.value,isSecondary:c!==e.value,onClick:function(){return a({frontIconOrImage:e.value})}},e.label)}))))),"back"===r&&React.createElement(React.Fragment,null,React.createElement(X.BaseControl,{label:(0,Y.__)("Icon Type","essential-blocks"),id:"eb-flipbox-icon-type"},React.createElement(X.ButtonGroup,{id:"eb-flipbox-icon-type"},rb.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:b===e.value,isSecondary:b!==e.value,onClick:function(){return a({backIconOrImage:e.value})}},e.label)})))))),"front"===r&&"icon"===c&&React.createElement(X.PanelBody,{title:(0,Y.__)("Front Icon Settings","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(_b,{value:l,onChange:function(e){return a({frontIcon:e})},title:(0,Y.__)("Select Front Icon","essential-blocks")}),l&&React.createElement(yb,{baseLabel:(0,Y.__)("Icon Size","essential-blocks"),controlName:Ms,resRequiredProps:W,min:8,max:100}))),"front"===r&&"image"===c&&React.createElement(X.PanelBody,{title:(0,Y.__)("Front Image Settings","essential-blocks"),initialOpen:!1},React.createElement(X.BaseControl,{label:(0,Y.__)("Flipbox Image","essential-blocks"),id:"eb-flipbox-front-image"},i?React.createElement(React.Fragment,null,React.createElement(db,{imageUrl:i,onDeleteImage:function(){return a({frontImageUrl:null})}}),React.createElement(yb,{baseLabel:(0,Y.__)("Image Size","essential-blocks"),controlName:Is,resRequiredProps:W,units:sb,min:0,max:300,step:1}),React.createElement(yb,{baseLabel:(0,Y.__)("Image Radius","essential-blocks"),controlName:Ls,resRequiredProps:W,units:sb,min:0,max:100})):React.createElement(Q.MediaUpload,{onSelect:function(e){return a({frontImageId:e.id,frontImageUrl:e.url,frontImageAlt:null!=e&&e.alt?e.alt:e.caption})},type:"image",value:s,render:function(e){var t=e.open;return!i&&React.createElement(X.Button,{className:"eb-flipbox-upload-button",label:(0,Y.__)("Upload Image","essential-blocks"),icon:"format-image",onClick:t})}}))),"back"===r&&"icon"===b&&React.createElement(X.PanelBody,{title:(0,Y.__)("Back Icon Settings","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(_b,{value:p,onChange:function(e){return a({backIcon:e})},title:(0,Y.__)("Select Back Icon","essential-blocks")}),p&&React.createElement(yb,{baseLabel:(0,Y.__)("Icon Size","essential-blocks"),controlName:Ds,resRequiredProps:W,min:8,max:100}))),"back"===r&&"image"===b&&React.createElement(X.PanelBody,{title:(0,Y.__)("Back Image Settings","essential-blocks"),initialOpen:!1},React.createElement(X.BaseControl,{label:(0,Y.__)("Flipbox Image","essential-blocks")},u?React.createElement(React.Fragment,null,React.createElement(db,{imageUrl:u,onDeleteImage:function(){return a({backImageUrl:null})}}),React.createElement(yb,{baseLabel:(0,Y.__)("Image Size","essential-blocks"),controlName:As,resRequiredProps:W,units:sb,min:0,max:300}),React.createElement(yb,{baseLabel:(0,Y.__)("Image Radius","essential-blocks"),controlName:Fs,resRequiredProps:W,units:sb,min:0,max:100})):React.createElement(Q.MediaUpload,{onSelect:function(e){return a({backImageId:e.id,backImageUrl:e.url,backImageAlt:null!=e&&e.alt?e.alt:e.caption})},type:"image",value:d,render:function(e){var t=e.open;return!u&&React.createElement(X.Button,{className:"eb-flipbox-upload-button",label:(0,Y.__)("Upload Image","essential-blocks"),icon:"format-image",onClick:t})}}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Flipbox Content","essential-blocks"),initialOpen:!1},"front"===r&&React.createElement(React.Fragment,null,React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Title?","essential-blocks"),checked:m,onChange:function(){a({showFrontTitle:!m})}}),m&&React.createElement(React.Fragment,null,React.createElement(Rb,{label:(0,Y.__)("Front Title","essential-blocks"),attrName:"frontTitle",inputValue:g,setAttributes:a,onChange:function(e){return a({frontTitle:e})}})),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Content?","essential-blocks"),checked:f,onChange:function(){a({showFrontContent:!f})}}),f&&React.createElement(Rb,{label:(0,Y.__)("Front Content","essential-blocks"),attrName:"frontContent",inputValue:y,setAttributes:a,onChange:function(e){return a({frontContent:e})},isTextarea:!0})),"back"===r&&React.createElement(React.Fragment,null,React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Title?","essential-blocks"),checked:v,onChange:function(){a({showBackTitle:!v})}}),v&&React.createElement(Rb,{label:(0,Y.__)("Back Title","essential-blocks"),attrName:"backTitle",inputValue:h,setAttributes:a,onChange:function(e){return a({backTitle:e})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Content?","essential-blocks"),checked:w,onChange:function(){a({showBackContent:!w})}}),w&&React.createElement(Rb,{label:(0,Y.__)("Back Content","essential-blocks"),attrName:"backContent",inputValue:k,setAttributes:a,onChange:function(e){return a({backContent:e})},isTextarea:!0}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Link Settings","essential-blocks"),initialOpen:!1},React.createElement(X.PanelRow,null,React.createElement("em",null,(0,Y.__)("Note: Link settings will only work on back side.","essential-blocks"))),React.createElement(X.BaseControl,{label:(0,Y.__)("Link Type","essential-blocks"),id:"eb-flipbox-link-type"},React.createElement(X.ButtonGroup,{id:"eb-flipbox-link-type"},cb.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:R===e.value,isSecondary:R!==e.value,onClick:function(){a({linkType:e.value}),V(M)}},e.label)})))),React.createElement(Rb,{label:(0,Y.__)("Link","essential-blocks"),attrName:"link",inputValue:x,setAttributes:a,onChange:function(e){return a({link:e})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Open in New Tab","essential-blocks"),checked:z,onChange:function(){return a({linkOpenNewTab:!z})}}),"button"===R&&React.createElement(React.Fragment,null,React.createElement(X.TextControl,{label:(0,Y.__)("Button Text","essential-blocks"),value:_,onChange:function(e){return a({buttonText:e})}}),React.createElement(X.SelectControl,{label:(0,Y.__)("Button Style","essential-blocks"),value:M,options:ib,onChange:function(e){return V(e)}})))),"styles"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,null,React.createElement(X.BaseControl,{label:(0,Y.__)("Selected Side","essential-blocks")},React.createElement(X.ButtonGroup,{id:"eb-flipbox-sides"},nb.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:r===e.value,isSecondary:r!==e.value,onClick:function(){return a({selectedSide:e.value})}},e.label)}))))),React.createElement(X.PanelBody,{title:(0,Y.__)("Flipbox Style","essential-blocks"),initialOpen:!0},"front"===r&&React.createElement(React.Fragment,null,React.createElement(hb,{label:(0,Y.__)("Front Title","essential-blocks"),color:S,onChange:function(e){return a({frontTitleColor:e})}}),React.createElement(fb,{resRequiredProps:W,controlName:_s,baseLabel:"Front Title Padding"}),React.createElement(hb,{label:(0,Y.__)("Front Content","essential-blocks"),color:T,onChange:function(e){return a({frontContentColor:e})}}),React.createElement(fb,{resRequiredProps:W,controlName:Cs,baseLabel:"Padding"}),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Front Side Background","essential-blocks"))),React.createElement(wb,{controlName:Vs,resRequiredProps:W}),React.createElement(fb,{resRequiredProps:W,controlName:Ts,baseLabel:"Items Padding"})),"back"===r&&React.createElement(React.Fragment,null,React.createElement(hb,{label:(0,Y.__)("Back Title Color","essential-blocks"),color:B,onChange:function(e){return a({backTitleColor:e})}}),React.createElement(fb,{resRequiredProps:W,controlName:Es,baseLabel:"Back Title Padding"}),React.createElement(hb,{label:(0,Y.__)("Back Content Color","essential-blocks"),color:N,onChange:function(e){return a({backContentColor:e})}}),React.createElement(fb,{resRequiredProps:W,controlName:xs,baseLabel:"Padding"}),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Back Side Background","essential-blocks"))),React.createElement(wb,{controlName:Ws,resRequiredProps:W}),React.createElement(fb,{resRequiredProps:W,controlName:Ns,baseLabel:"Items Padding"}))),"front"===r&&"icon"===c&&React.createElement(X.PanelBody,{title:(0,Y.__)("Front Icon Style","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,l&&React.createElement(React.Fragment,null,React.createElement(hb,{label:(0,Y.__)("Icon Color","essential-blocks"),color:P,onChange:function(e){return a({frontIconColor:e})}}),React.createElement(hb,{label:(0,Y.__)("Icon Background","essential-blocks"),color:I,onChange:function(e){return a({frontIconBackground:e})}}),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Margin & Padding","essential-blocks"))),React.createElement(fb,{resRequiredProps:W,className:"frontIconMargin",controlName:hs,baseLabel:"Margin"}),React.createElement(fb,{resRequiredProps:W,className:"frontIconPadding",controlName:ws,baseLabel:"Padding"}),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Border","essential-blocks"))),React.createElement(mb,{controlName:qs,resRequiredProps:W,noShadow:!0})))),"front"===r&&"image"===c&&React.createElement(X.PanelBody,{title:(0,Y.__)("Front Image Style","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(fb,{resRequiredProps:W,controlName:Ss,baseLabel:"Padding"}))),"back"===r&&"icon"===b&&React.createElement(X.PanelBody,{title:(0,Y.__)("Back Icon Style","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,p&&React.createElement(React.Fragment,null,React.createElement(hb,{label:(0,Y.__)("Icon Color","essential-blocks"),color:O,onChange:function(e){return a({backIconColor:e})}}),React.createElement(hb,{label:(0,Y.__)("Icon Background","essential-blocks"),color:A,onChange:function(e){return a({backIconBackground:e})}}),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Margin & Padding","essential-blocks"))),React.createElement(fb,{resRequiredProps:W,className:"backIconMargin",controlName:ks,baseLabel:"Margin"}),React.createElement(fb,{resRequiredProps:W,className:"backIconPadding",controlName:Rs,baseLabel:"Padding"}),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Border","essential-blocks"))),React.createElement(mb,{controlName:Us,resRequiredProps:W,noShadow:!0})))),"back"===r&&"image"===b&&React.createElement(X.PanelBody,{title:(0,Y.__)("Back Image Style","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(fb,{resRequiredProps:W,controlName:Bs,baseLabel:"Padding"}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Typography","essential-blocks"),initialOpen:!1},React.createElement(vb,{baseLabel:(0,Y.__)("Title","essential-blocks"),typographyPrefixConstant:ms,resRequiredProps:W}),React.createElement(vb,{baseLabel:(0,Y.__)("Content","essential-blocks"),typographyPrefixConstant:gs,resRequiredProps:W})),"button"===R&&"custom"===M&&React.createElement(X.PanelBody,{title:(0,Y.__)("Button Style","essential-blocks")},React.createElement(React.Fragment,null,React.createElement(hb,{label:(0,Y.__)("Background","essential-blocks"),color:D,onChange:function(e){return a({buttonBackground:e})}}),React.createElement(hb,{label:(0,Y.__)("Color","essential-blocks"),color:j,onChange:function(e){return a({buttonColor:e})}}),React.createElement(yb,{baseLabel:(0,Y.__)("Button Size","essential-blocks"),controlName:js,resRequiredProps:W,min:20,max:600}),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Padding","essential-blocks"))),React.createElement(fb,{resRequiredProps:W,className:"forWrapperPadding",controlName:vs,baseLabel:"Padding"}),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Border & Shadow","essential-blocks"))),React.createElement(mb,{controlName:zs,resRequiredProps:W}),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Button Icon","essential-blocks"))),React.createElement(X.ToggleControl,{label:(0,Y.__)("Display Button Icon","essential-blocks"),checked:F,onChange:function(){return a({displayButtonIcon:!F})}}),F&&React.createElement(_b,{value:E,onChange:function(e){return a({buttonIcon:e})},title:(0,Y.__)("Select Icon","essential-blocks")}),F&&E&&React.createElement(React.Fragment,null,React.createElement(X.BaseControl,{label:(0,Y.__)("Icon Position","essential-blocks"),id:"eb-flipbox-icon-pos"},React.createElement(X.ButtonGroup,{id:"eb-flipbox-icon-pos"},lb.map((function(e,t){return React.createElement(X.Button,{key:t,style:{zIndex:0},isSecondary:C!==e.value,isPrimary:C===e.value,onClick:function(){return a({buttonIconPos:e.value})}},e.label)})))))))),"advanced"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,null,React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Margin & Padding","essential-blocks"))),React.createElement(fb,{resRequiredProps:W,className:"forWrapperMargin",controlName:fs,baseLabel:"Margin",disableLeftRight:!0}),React.createElement(fb,{resRequiredProps:W,className:"forWrapperPadding",controlName:ys,baseLabel:"Padding"}),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Border & Shadow","essential-blocks"))),React.createElement(mb,{controlName:Hs,resRequiredProps:W})),React.createElement(kb,{attributes:t,setAttributes:a})))}))))};var Cb=window.EBControls,xb=Cb.getFlipTransform,Sb=Cb.softMinifyCssStrings,Bb=Cb.generateTypographyStyles,Tb=Cb.generateDimensionsControlStyles,Nb=Cb.generateResponsiveRangeStyles,Pb=Cb.generateBackgroundControlStyles,Ob=Cb.generateBorderShadowStyles,Mb=Cb.StyleComponent;function Db(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=(t.blockMeta,t.resOption,t.isHover),c=t.flipType,l=t.selectedSide,i=t.frontIconOrImage,s=t.frontIcon,b=t.frontImageUrl,p=t.backIconOrImage,u=t.backIcon,d=t.backImageUrl,m=t.linkType,g=t.buttonIconPos,f=t.link,y=t.frontTitleColor,v=t.backTitleColor,h=t.frontContentColor,w=t.backContentColor,k=t.frontIconColor,R=t.backIconColor,_=t.buttonStyle,E=t.buttonBackground,C=t.buttonColor,x=t.frontIconBackground,S=t.backIconBackground,B=t.transitionSpeed,T=t.displayButtonIcon,N=t.align,P=(t.classHook,Tb({controlName:fs,styleFor:"margin",attributes:t})),O=P.dimensionStylesDesktop,M=P.dimensionStylesTab,D=P.dimensionStylesMobile,j=Tb({controlName:ys,styleFor:"padding",attributes:t}),I=j.dimensionStylesDesktop,A=j.dimensionStylesTab,L=j.dimensionStylesMobile,F=Ob({controlName:Hs,attributes:t}),H=F.styesDesktop,z=F.styesTab,q=F.styesMobile,U=F.stylesHoverDesktop,V=F.stylesHoverTab,W=F.stylesHoverMobile,G=F.transitionStyle,Z=Nb({controlName:Ps,property:"height",attributes:t,customUnit:"px"}),Y=(Z.rangeStylesDesktop,Z.rangeStylesTab,Z.rangeStylesMobile,Nb({controlName:Ps,property:"min-height",attributes:t,customUnit:"px"})),J=Y.rangeStylesDesktop,Q=Y.rangeStylesTab,X=Y.rangeStylesMobile,$=Nb({controlName:Os,property:"max-width",attributes:t}),K=$.rangeStylesDesktop,ee=$.rangeStylesTab,te=$.rangeStylesMobile,ae=Nb({controlName:Ms,property:"font-size",attributes:t}),ne=ae.rangeStylesDesktop,oe=ae.rangeStylesTab,re=ae.rangeStylesMobile,ce=Nb({controlName:Ds,property:"font-size",attributes:t}),le=ce.rangeStylesDesktop,ie=ce.rangeStylesTab,se=ce.rangeStylesMobile,be=Pb({attributes:t,controlName:Vs}),pe=be.backgroundStylesDesktop,ue=be.hoverBackgroundStylesDesktop,de=be.backgroundStylesTab,me=be.hoverBackgroundStylesTab,ge=be.backgroundStylesMobile,fe=be.hoverBackgroundStylesMobile,ye=be.overlayStylesDesktop,ve=be.hoverOverlayStylesDesktop,he=be.overlayStylesTab,we=be.hoverOverlayStylesTab,ke=be.overlayStylesMobile,Re=be.hoverOverlayStylesMobile,_e=be.bgTransitionStyle,Ee=be.ovlTransitionStyle,Ce=Tb({controlName:hs,styleFor:"margin",attributes:t}),xe=Ce.dimensionStylesDesktop,Se=Ce.dimensionStylesTab,Be=Ce.dimensionStylesMobile,Te=Tb({controlName:ws,styleFor:"padding",attributes:t}),Ne=Te.dimensionStylesDesktop,Pe=Te.dimensionStylesTab,Oe=Te.dimensionStylesMobile,Me=Ob({controlName:qs,attributes:t,noShadow:!0}),De=Me.styesDesktop,je=Me.styesTab,Ie=Me.styesMobile,Ae=Me.stylesHoverDesktop,Le=Me.stylesHoverTab,Fe=Me.stylesHoverMobile,He=Me.transitionStyle,ze=Nb({controlName:Is,property:"height",attributes:t}),qe=ze.rangeStylesDesktop,Ue=ze.rangeStylesTab,Ve=ze.rangeStylesMobile,We=Nb({controlName:Is,property:"width",attributes:t}),Ge=We.rangeStylesDesktop,Ze=We.rangeStylesTab,Ye=We.rangeStylesMobile,Je=Nb({controlName:Ls,property:"border-radius",attributes:t}),Qe=Je.rangeStylesDesktop,Xe=Je.rangeStylesTab,$e=Je.rangeStylesMobile,Ke=Pb({attributes:t,controlName:Ws}),et=Ke.backgroundStylesDesktop,tt=Ke.hoverBackgroundStylesDesktop,at=Ke.backgroundStylesTab,nt=Ke.hoverBackgroundStylesTab,ot=Ke.backgroundStylesMobile,rt=Ke.hoverBackgroundStylesMobile,ct=Ke.overlayStylesDesktop,lt=Ke.hoverOverlayStylesDesktop,it=Ke.overlayStylesTab,st=Ke.hoverOverlayStylesTab,bt=Ke.overlayStylesMobile,pt=Ke.hoverOverlayStylesMobile,ut=Ke.bgTransitionStyle,dt=Ke.ovlTransitionStyle,mt=Bb({attributes:t,prefixConstant:ms}),gt=mt.typoStylesDesktop,ft=mt.typoStylesTab,yt=mt.typoStylesMobile,vt=Bb({attributes:t,prefixConstant:gs}),ht=vt.typoStylesDesktop,wt=vt.typoStylesTab,kt=vt.typoStylesMobile,Rt=Tb({controlName:ks,styleFor:"margin",attributes:t}),_t=Rt.dimensionStylesDesktop,Et=Rt.dimensionStylesTab,Ct=Rt.dimensionStylesMobile,xt=Tb({controlName:Rs,styleFor:"padding",attributes:t}),St=xt.dimensionStylesDesktop,Bt=xt.dimensionStylesTab,Tt=xt.dimensionStylesMobile,Nt=Ob({controlName:Us,attributes:t,noShadow:!0}),Pt=Nt.styesDesktop,Ot=Nt.styesTab,Mt=Nt.styesMobile,Dt=Nt.stylesHoverDesktop,jt=Nt.stylesHoverTab,It=Nt.stylesHoverMobile,At=Nt.transitionStyle,Lt=Nb({controlName:As,property:"height",attributes:t}),Ft=Lt.rangeStylesDesktop,Ht=Lt.rangeStylesTab,zt=Lt.rangeStylesMobile,qt=Nb({controlName:As,property:"width",attributes:t}),Ut=qt.rangeStylesDesktop,Vt=qt.rangeStylesTab,Wt=qt.rangeStylesMobile,Gt=Nb({controlName:Fs,property:"border-radius",attributes:t}),Zt=Gt.rangeStylesDesktop,Yt=Gt.rangeStylesTab,Jt=Gt.rangeStylesMobile,Qt=Tb({controlName:_s,styleFor:"padding",attributes:t}),Xt=Qt.dimensionStylesDesktop,$t=Qt.dimensionStylesTab,Kt=Qt.dimensionStylesMobile,ea=Tb({controlName:Es,styleFor:"padding",attributes:t}),ta=ea.dimensionStylesDesktop,aa=(ea.dimensionStylesTab,ea.dimensionStylesMobile,Tb({controlName:Cs,styleFor:"padding",attributes:t})),na=aa.dimensionStylesDesktop,oa=aa.dimensionStylesTab,ra=aa.dimensionStylesMobile,ca=Tb({controlName:xs,styleFor:"padding",attributes:t}),la=ca.dimensionStylesDesktop,ia=ca.dimensionStylesTab,sa=ca.dimensionStylesMobile,ba=Tb({controlName:Ss,styleFor:"padding",attributes:t}),pa=ba.dimensionStylesDesktop,ua=ba.dimensionStylesTab,da=ba.dimensionStylesMobile,ma=Tb({controlName:Bs,styleFor:"padding",attributes:t}),ga=ma.dimensionStylesDesktop,fa=ma.dimensionStylesTab,ya=ma.dimensionStylesMobile,va=Tb({controlName:Ts,styleFor:"padding",attributes:t}),ha=va.dimensionStylesDesktop,wa=va.dimensionStylesTab,ka=va.dimensionStylesMobile,Ra=Tb({controlName:Ns,styleFor:"padding",attributes:t}),_a=Ra.dimensionStylesDesktop,Ea=Ra.dimensionStylesTab,Ca=Ra.dimensionStylesMobile,xa="\n\t\t.eb-flipbox-align-center .eb-flipper {\n\t\t\tmargin-right: auto !important;\n\t\t\tmargin-left: auto !important;\n\t\t}\n\t\t.eb-flipbox-align-right .eb-flipper {\n\t\t\tmargin-left: auto !important;\n\t\t}\n\t\t.eb-flipbox-container.".concat(o,"{\n\t\t\t").concat(O,"\n\t\t\t").concat(I,"\n\t\t\twidth: 100%;\n\t\t\toverflow: hidden;\n\t\t}\n\t"),Sa="\n\t .eb-flipbox-container.".concat(o,"{\n\t\t ").concat(M,"\n\t\t ").concat(A,"\n\t }\n\t "),Ba="\n\t .eb-flipbox-container.".concat(o,"{\n\t\t ").concat(D,"\n\t\t ").concat(L,"\n\t }\n\t "),Ta="\n\t.eb-flipbox-container.".concat(o," .eb-flipbox-front .eb-flipbox-items-container {\n\t\t").concat(ha,"\n\t}\n\n\t.eb-flipbox-container.").concat(o," .eb-flipbox-back .eb-flipbox-items-container {\n\t\t").concat(_a,"\n\t}\n\n\t.eb-flipbox-container.").concat(o," .eb-flipbox-items-container {\n\talign-items: ").concat(function(e){switch(e){case"left":return"flex-start";case"right":return"flex-end";default:return"center"}}(N),";\n\t}\n\t"),Na="\n\t.eb-flipbox-container.".concat(o," .eb-flipbox-front .eb-flipbox-items-container {\n\t\t").concat(wa,"\n\t}\n\n\t.eb-flipbox-container.").concat(o," .eb-flipbox-back .eb-flipbox-items-container {\n\t\t").concat(Ea,"\n\t}\n\t"),Pa="\n\t.eb-flipbox-container.".concat(o," .eb-flipbox-front .eb-flipbox-items-container {\n\t\t").concat(ka,"\n\t}\n\n\t.eb-flipbox-container.").concat(o," .eb-flipbox-back .eb-flipbox-items-container {\n\t\t").concat(Ca,"\n\t}\n\t"),Oa="\n\t .eb-flipbox-container.".concat(o," .eb-flipbox-front-title, .eb-flipbox-container.").concat(o," .eb-flipbox-back-title {\n\t\t ").concat(gt,"\n\t\t width: 100%;\n\t\t text-align: ").concat(N,";\n\t }\n\n\t .eb-flipbox-container.").concat(o," .eb-flipbox-front-title {\n\t\t").concat(Xt,"\n\t\t color: ").concat(y||"#ffffff",";\n\t }\n\n\t .eb-flipbox-container.").concat(o," .eb-flipbox-back-title {\n\t\t").concat(ta,"\n\t\t color: ").concat(v||"#ffffff",";\n\t }\n\t "),Ma="\n\t.eb-flipbox-container.".concat(o," .eb-flipbox-front-title {\n\t\t").concat($t,"\n\t}\n\n\t.eb-flipbox-container.").concat(o," .eb-flipbox-back-title {\n\t\t").concat($t,"\n\t}\n\n\t .eb-flipbox-container.").concat(o," .eb-flipbox-front-title, .eb-flipbox-container.").concat(o," .eb-flipbox-back-title {\n\t\t ").concat(ft,"\n\t }\n\t "),Da="\n\t.eb-flipbox-container.".concat(o," .eb-flipbox-front-title {\n\t\t").concat(Kt,"\n\t}\n\n\t.eb-flipbox-container.").concat(o," .eb-flipbox-back-title {\n\t\t").concat(Kt,"\n\t}\n\n\t .eb-flipbox-container.").concat(o," .eb-flipbox-front-title, .eb-flipbox-container.").concat(o," .eb-flipbox-back-title {\n\t\t ").concat(yt,"\n\t }\n\t "),ja="\n\t .eb-flipbox-container.".concat(o," .eb-flipbox-front-content, .eb-flipbox-container.").concat(o," .eb-flipbox-back-content {\n\t\t ").concat(ht,"\n\t\t width: 100%;\n\t\t text-align: ").concat(N,";\n\t\t margin: 10px 0;\n\t }\n\n\t .eb-flipbox-container.").concat(o," .eb-flipbox-front-content {\n\t\t ").concat(na,"\n\t\t color: ").concat(h||"#ffffff",";\n\t }\n\n\t .eb-flipbox-container.").concat(o," .eb-flipbox-back-content {\n\t\t ").concat(la,"\n\t\t color: ").concat(w||"#ffffff",";\n\t }\n\t "),Ia="\n\t.eb-flipbox-container.".concat(o," .eb-flipbox-front-content {\n\t\t").concat(oa,"\n\t}\n\n\t.eb-flipbox-container.").concat(o," .eb-flipbox-back-content {\n\t\t").concat(ia,"\n\t}\n\n\t .eb-flipbox-container.").concat(o," .eb-flipbox-front-content, .eb-flipbox-container.").concat(o," .eb-flipbox-back-content {\n\t\t ").concat(wt,"\n\t }\n\t "),Aa="\n\t.eb-flipbox-container.".concat(o," .eb-flipbox-front-content {\n\t\t").concat(ra,"\n\t}\n\n\t.eb-flipbox-container.").concat(o," .eb-flipbox-back-content {\n\t\t").concat(sa,"\n\t}\n\n\t .eb-flipbox-container.").concat(o," .eb-flipbox-front-content, .eb-flipbox-container.").concat(o," .eb-flipbox-back-content {\n\t\t ").concat(kt,"\n\t }\n\t "),La="\n\t .eb-flipbox-container.".concat(o," .eb-flipper {\n\t\t transition: ").concat(B?B/1e3:.6,"s;\n\t\t ").concat(J,"\n\t\t ").concat(K,"\n\t }\n\t .eb-flipbox-container.").concat(o," .eb-flipper.back-is-selected {\n\t\t transform:\n\t\t\t  ").concat(r||"back"===l?xb(c):"none",";\n\t }\n\t "),Fa="\n\t\t.eb-flipbox-container.".concat(o," .eb-flipper {\n\t\t\t").concat(Q,"\n\t\t\t").concat(ee,"\n\t\t}\n\t"),Ha="\n\t\t.eb-flipbox-container.".concat(o," .eb-flipper {\n\t\t\t").concat(X,"\n\t\t\t").concat(te,"\n\t\t}\n\t"),za="\n\t\t.eb-flipbox-container.".concat(o," .eb-flipper .eb-flipbox-front {\n\t\t\t").concat(pe,"\n\t\t\t").concat(J,"\n\t\t\t").concat(K,"\n\t\t\t").concat(H,"\n\t\t\tdisplay: flex;\n\t\t\tjustify-content: center;\n\t\t\talign-items: center;\n\t\t\theight: auto;\n\t\t\twidth: 100%;\n\t\t\tz-index: 1;\n\t\t\ttransition: ").concat("fade"===c?"opacity 0.6s, ":"").concat(_e,", ").concat(G,";\n\t\t}\n\n\t\t.eb-flipbox-container.").concat(o," .eb-flipper .eb-flipbox-front:hover {\n\t\t\t").concat(ue,"\n\t\t\t").concat(U,"\n\t\t}\n\n\t\t.eb-flipbox-container.").concat(o," .eb-flipper .eb-flipbox-front:before{\n\t\t\t").concat(ye,"\n\t\t\ttransition: ").concat(Ee,";\n\t\t}\n\n\n\t\t.eb-flipbox-container.").concat(o," .eb-flipper .eb-flipbox-front:hover:before{\n\t\t\t").concat(ve,"\n\t\t}\n\n\t\t").concat(!r&&"front"!==l||"fade"!==c?"":"\n\t\t\t.eb-flipbox-container.".concat(o," .eb-flipper.back-is-selected .eb-flipbox-front {\n\t\t\t\topacity: 0;\n\t\t\t}\n\t\t\t"),"\n\n\t "),qa="\n\t\t .eb-flipbox-container.".concat(o," .eb-flipper .eb-flipbox-front {\n\t\t\t").concat(Q,"\n\t\t\t").concat(ee,"\n\t\t\t").concat(de,"\n\t\t\t").concat(z,"\n\t\t }\n\n\t\t.eb-flipbox-container.").concat(o," .eb-flipper .eb-flipbox-front:hover {\n\t\t\t").concat(me,"\n\t\t\t").concat(V,"\n\t\t}\n\n\t\t.eb-flipbox-container.").concat(o," .eb-flipper .eb-flipbox-front:before{\n\t\t\t").concat(he,"\n\t\t}\n\n\t\t.eb-flipbox-container.").concat(o," .eb-flipper .eb-flipbox-front:hover:before{\n\t\t\t").concat(we,"\n\t\t}\n\n\t "),Ua="\n\t\t .eb-flipbox-container.".concat(o," .eb-flipper .eb-flipbox-front {\n\t\t\t").concat(X,"\n\t\t\t").concat(te,"\n\t\t\t").concat(ge,"\n\t\t\t").concat(q,"\n\t\t }\n\n\t\t.eb-flipbox-container.").concat(o," .eb-flipper .eb-flipbox-front:hover {\n\t\t\t").concat(fe,"\n\t\t\t").concat(W,"\n\t\t}\n\n\t\t.eb-flipbox-container.").concat(o," .eb-flipper .eb-flipbox-front:before{\n\t\t\t").concat(ke,"\n\t\t}\n\n\n\t\t.eb-flipbox-container.").concat(o," .eb-flipper .eb-flipbox-front:hover:before{\n\t\t\t").concat(Re,"\n\t\t}\n\t "),Va="\n\t .eb-flipbox-container.".concat(o," .eb-flipbox-front .eb-flipbox-front-image-container {\n\t\t ").concat(pa,"\n\t\t display: ").concat("image"===i&&b?"flex":"none",";\n\t\t justify-content: center;\n\t }\n\n\t .eb-flipbox-container.").concat(o," .eb-flipbox-front .eb-flipbox-front-image-container img {\n\t\t ").concat(qe,"\n\t\t ").concat(Ge,"\n\t\t ").concat(Qe,"\n\t }\n\t "),Wa="\n\t.eb-flipbox-container.".concat(o," .eb-flipbox-front .eb-flipbox-front-image-container {\n\t\t").concat(ua,"\n\t}\n\n\t.eb-flipbox-container.").concat(o," .eb-flipbox-front .eb-flipbox-front-image-container img {\n\t\t").concat(Ue,"\n\t\t ").concat(Ze,"\n\t\t ").concat(Xe,"\n\t}\n\t"),Ga="\n\t.eb-flipbox-container.".concat(o," .eb-flipbox-front .eb-flipbox-front-image-container {\n\t\t").concat(da,"\n\t}\n\n\t.eb-flipbox-container.").concat(o," .eb-flipbox-front .eb-flipbox-front-image-container img {\n\t\t").concat(Ve,"\n\t\t ").concat(Ye,"\n\t\t ").concat($e,"\n\t}\n\t"),Za="\n\t\t .eb-flipbox-container.".concat(o," .eb-flipbox-icon-front {\n\t\t\t ").concat(ne,"\n\t\t\t ").concat(xe,"\n\t\t\t ").concat(Ne,"\n\t\t\t ").concat(De,"\n\t\t\t color: ").concat(k||"#ffffff",";\n\t\t\t background: ").concat(x||"transparent",";\n\t\t\t width: 100%;\n\t\t\t text-align:").concat(N,";\n\t\t\t display: ").concat("icon"===i&&s?"block":"none",";\n\t\t\t transition: ").concat(He,";\n\t\t }\n\n\t\t .eb-flipbox-container.").concat(o," .eb-flipbox-icon-front:hover {\n\t\t\t ").concat(Ae,"\n\t\t }\n         .eb-flipbox-container.").concat(o," .eb-flipbox-icon-front  .dashicons {\n            ").concat(ne,"\n         }\n\t "),Ya="\n\t .eb-flipbox-container.".concat(o," .eb-flipbox-icon-front {\n\t\t").concat(oe,"\n\t\t").concat(Se,"\n\t\t").concat(Pe,"\n\t\t").concat(je,"\n\t }\n\n\t .eb-flipbox-container.").concat(o," .eb-flipbox-icon-front:hover {\n\t\t").concat(Le,"\n\t}\n    .eb-flipbox-container.").concat(o," .eb-flipbox-icon-front  .dashicons {\n        ").concat(oe,"\n    }\n\t "),Ja="\n\t .eb-flipbox-container.".concat(o," .eb-flipbox-icon-front {\n\t\t").concat(re,"\n\t\t").concat(Be,"\n\t\t").concat(Oe,"\n\t\t").concat(Ie,"\n\t }\n\n\t .eb-flipbox-container.").concat(o," .eb-flipbox-icon-front:hover {\n\t\t").concat(Fe,"\n\t}\n    .eb-flipbox-container.").concat(o," .eb-flipbox-icon-front  .dashicons {\n        ").concat(re,"\n    }\n\t "),Qa="\n\n\t .eb-flipbox-container.".concat(o," .eb-flipper .eb-flipbox-back {\n\t\t").concat(et,"\n\t\t").concat(J,"\n\t\t").concat(K,"\n\t\t").concat(H,"\n\t\t display: flex;\n\t\t flex-direction: column;\n\t\t justify-content: center;\n\t\t align-items: center;\n\t\t height: auto;\n\t\t width: 100%;\n\t\t transform:  ").concat(("flip-up"===c?"rotateX(-180deg)":"flip-bottom"===c&&"rotateX(180deg)")||("zoom-in"===c||"zoom-out"===c||"fade"===c)&&"none",";\n\t\ttransition: ").concat("fade"===c?"opacity 0.6s, ":"").concat(ut,", ").concat(G,";\n\t\t cursor: ").concat("box"===m&&f?"pointer":"default",";\n\t\t ").concat(!r||"zoom-in"!==c&&"zoom-out"!==c?"":"z-index: 5;","\n\t }\n\n\t .eb-flipbox-container.").concat(o," .eb-flipper .eb-flipbox-back:hover {\n\t\t").concat(tt,"\n\t\t").concat(U,"\n\t }\n\n\n\t.eb-flipbox-container.").concat(o," .eb-flipper .eb-flipbox-back:before{\n\t\t").concat(ct,"\n\t\ttransition: ").concat(dt,";\n\t}\n\n\t.eb-flipbox-container.").concat(o," .eb-flipper .eb-flipbox-back:hover:before{\n\t\t").concat(lt,"\n\t}\n\n\t").concat(!r&&"back"!==l||"fade"!==c?"":".eb-flipbox-container.".concat(o," .eb-flipper.back-is-selected .eb-flipbox-back {\n\t\topacity: 1;\n\t }"),"\n\n\t.eb-flipbox-container.").concat(o," .eb-flipper .eb-flipbox-front,\n\t.eb-flipbox-container.").concat(o," .eb-flipper .eb-flipbox-back{\n\tposition: absolute;\n\t}\n\n\t "),Xa="\n\t\t .eb-flipbox-container.".concat(o," .eb-flipper .eb-flipbox-back {\n\t\t\t ").concat(Q,"\n\t\t\t ").concat(ee,"\n\t\t\t ").concat(at,"\n\t\t\t ").concat(z,"\n\t\t }\n\n\t\t .eb-flipbox-container.").concat(o," .eb-flipper .eb-flipbox-back:hover {\n\t\t\t").concat(nt,"\n\t\t\t").concat(V,"\n\t\t }\n\n\t\t.eb-flipbox-container.").concat(o," .eb-flipper .eb-flipbox-back:before{\n\t\t\t").concat(it,"\n\t\t}\n\n\t\t.eb-flipbox-container.").concat(o," .eb-flipper .eb-flipbox-back:hover:before{\n\t\t\t").concat(st,"\n\t\t}\n\n\t "),$a="\n\t\t .eb-flipbox-container.".concat(o," .eb-flipper .eb-flipbox-back {\n\t\t\t").concat(X,"\n\t\t\t").concat(te,"\n\t\t\t").concat(ot,"\n\t\t\t").concat(q,"\n\t\t\t").concat(W,"\n\t\t }\n\n\t\t .eb-flipbox-container.").concat(o," .eb-flipper .eb-flipbox-back:hover {\n\t\t\t").concat(rt,"\n\t\t\t").concat(W,"\n\t\t }\n\n\t\t.eb-flipbox-container.").concat(o," .eb-flipper .eb-flipbox-back:before{\n\t\t\t").concat(bt,"\n\t\t}\n\n\t\t.eb-flipbox-container.").concat(o," .eb-flipper .eb-flipbox-back:hover:before{\n\t\t\t").concat(pt,"\n\t\t}\n\t "),Ka="\n\t .eb-flipbox-container.".concat(o," .eb-flipbox-back .eb-flipbox-back-image-container {\n\t\t").concat(ga,"\n\t\tdisplay: ").concat("image"===p&&d?"flex":"none",";\n\t\tjustify-content: center;\n\t }\n\n\t .eb-flipbox-container.").concat(o," .eb-flipbox-back .eb-flipbox-back-image-container img {\n\t\t").concat(Ft,"\n\t\t").concat(Ut,"\n\t\t").concat(Zt,"\n\t }\n\t "),en="\n\t.eb-flipbox-container.".concat(o," .eb-flipbox-back .eb-flipbox-back-image-container {\n\t\t").concat(fa,"\n\t}\n\n\t .eb-flipbox-container.").concat(o," .eb-flipbox-back .eb-flipbox-back-image-container img {\n\t\t").concat(Ht,"\n\t\t").concat(Vt,"\n\t\t").concat(Yt,"\n\t }\n\t "),tn="\n\t.eb-flipbox-container.".concat(o," .eb-flipbox-back .eb-flipbox-back-image-container {\n\t\t").concat(ya,"\n\t}\n\n\t .eb-flipbox-container.").concat(o," .eb-flipbox-back .eb-flipbox-back-image-container img {\n\t\t").concat(zt,"\n\t\t").concat(Wt,"\n\t\t").concat(Jt,"\n\t }\n\t "),an="\n\t .eb-flipbox-container.".concat(o," .eb-flipbox-icon-back {\n\t\t").concat(le,"\n\t\t").concat(_t,"\n\t\t").concat(St,"\n\t\t").concat(Pt,"\n\t\tcolor: ").concat(R||"#ffffff",";\n\t\tbackground: ").concat(S||"transparent",";\n\t\twidth: 100%;\n\t\ttext-align: ").concat(N,";\n\t\tdisplay: ").concat("icon"===p&&u?"block":"none",";\n\t\ttransition: ").concat(At,";\n\t }\n\t .eb-flipbox-container.").concat(o," .eb-flipbox-icon-back:hover {\n\t\t").concat(Dt,"\n\t }\n     .eb-flipbox-container.").concat(o," .eb-flipbox-icon-back .dashicons {\n        ").concat(le,"\n     }\n\t "),nn="\n\t.eb-flipbox-container.".concat(o," .eb-flipbox-icon-back {\n\t\t").concat(ie,"\n\t\t").concat(Et,"\n\t\t").concat(Bt,"\n\t\t").concat(Ot,"\n\t}\n\n\t.eb-flipbox-container.").concat(o," .eb-flipbox-icon-back:hover {\n\t\t").concat(jt,"\n\t}\n    .eb-flipbox-container.").concat(o," .eb-flipbox-icon-back .dashicons {\n        ").concat(ie,"\n     }\n\t"),on="\n\t.eb-flipbox-container.".concat(o," .eb-flipbox-icon-back {\n\t\t").concat(se,"\n\t\t").concat(Ct,"\n\t\t").concat(Tt,"\n\t\t").concat(Mt,"\n\t}\n\n\t.eb-flipbox-container.").concat(o," .eb-flipbox-icon-back:hover {\n\t\t").concat(It,"\n\t}\n    .eb-flipbox-container.").concat(o," .eb-flipbox-icon-back .dashicons {\n        ").concat(se,"\n     }\n\t"),rn="",cn="",ln="";if("custom"===_){var sn=Tb({controlName:vs,styleFor:"padding",attributes:t}),bn=sn.dimensionStylesDesktop,pn=sn.dimensionStylesTab,un=sn.dimensionStylesMobile,dn=Ob({controlName:zs,attributes:t}),mn=dn.styesDesktop,gn=dn.styesTab,fn=dn.styesMobile,yn=dn.stylesHoverDesktop,vn=dn.stylesHoverTab,hn=dn.stylesHoverMobile,wn=dn.transitionStyle,kn=Nb({controlName:js,property:"width",attributes:t}),Rn=kn.rangeStylesDesktop,_n=kn.rangeStylesTab,En=kn.rangeStylesMobile;rn="\n\t\t .eb-flipbox-container.".concat(o," .eb-flipbox-button-container .eb-flipbox-button-link {\n\t\t\t ").concat(bn,"\n\t\t\t ").concat(mn,"\n\t\t\t ").concat(Rn,"\n\t\t\t ").concat(E?"background: ".concat(E,";"):"","\n\t\t\t ").concat(C?"color: ".concat(C,";"):"","\n\t\t\t transition: ").concat(wn,";\n\t\t }\n\n\t\t .eb-flipbox-container.").concat(o," .eb-flipbox-button-container .eb-flipbox-button-link:hover {\n\t\t\t ").concat(yn,"\n\t\t }\n\n\t\t .eb-flipbox-container.").concat(o," .eb-flipbox-button-container .eb-flipbox-button-content {\n\t\t\t display: flex;\n\t\t\t flex-direction: ").concat("after"===g?"row":"row-reverse",";\n\t\t\t justify-content: space-around;\n\t\t\t align-items: center;\n\t\t }\n\n\t\t .eb-flipbox-container.").concat(o," .eb-flipbox-button-container .eb-flipbox-button-content .eb-flipbox-button-icon {\n\t\t\t display: ").concat(T?"block":"none",";\n\t\t }\n\t\t "),cn="\n\t\t .eb-flipbox-container.".concat(o," .eb-flipbox-button-container .eb-flipbox-button-link {\n\t\t\t ").concat(pn,"\n\t\t\t ").concat(gn,"\n\t\t\t ").concat(_n,"\n\t\t }\n\n\t\t .eb-flipbox-container.").concat(o," .eb-flipbox-button-container .eb-flipbox-button-link:hover {\n\t\t\t").concat(pn,"\n\t\t\t").concat(vn,"\n\t\t}\n\t\t "),ln="\n\t\t .eb-flipbox-container.".concat(o," .eb-flipbox-button-container .eb-flipbox-button-link {\n\t\t\t ").concat(un,"\n\t\t\t ").concat(fn,"\n\t\t\t ").concat(En,"\n\t\t }\n\n\t\t .eb-flipbox-container.").concat(o," .eb-flipbox-button-container .eb-flipbox-button-link:hover {\n\t\t\t ").concat(hn,"\n\t\t }\n\t\t ")}var Cn=Sb("\n\t\t ".concat(Ta,"\n\t\t ").concat(xa,"\n\t\t ").concat(Oa,"\n\t\t ").concat(ja,"\n\t\t ").concat(La,"\n\t\t ").concat(za,"\n\t\t ").concat(Va,"\n\t\t ").concat(Za,"\n\t\t ").concat(an,"\n\t\t ").concat(Qa,"\n\t\t ").concat(Ka,"\n\t\t ").concat(rn,"\n\t ")),xn=Sb("\n\t\t ".concat(Na,"\n\t\t ").concat(Sa,"\n\t\t ").concat(Ma,"\n\t\t ").concat(Ia,"\n\t\t ").concat(Fa,"\n\t\t ").concat(cn,"\n\t\t ").concat(qa,"\n\t\t ").concat(Xa,"\n\t\t ").concat(Ya,"\n\t\t ").concat(nn,"\n\t\t ").concat(Wa,"\n\t\t ").concat(en,"\n\t ")),Sn=Sb("\n\t\t ".concat(Pa,"\n\t\t ").concat(Ba,"\n\t\t ").concat(Da,"\n\t\t ").concat(Aa,"\n\t\t ").concat(Ha,"\n\t\t ").concat(ln,"\n\t\t ").concat(Ua,"\n\t\t ").concat($a,"\n\t\t ").concat(Ja,"\n\t\t ").concat(on,"\n\t\t ").concat(Ga,"\n\t\t ").concat(tn,"\n\t "));return React.createElement(React.Fragment,null,React.createElement(Mb,{attributes:t,setAttributes:a,desktopAllStyles:Cn,tabAllStyles:xn,mobileAllStyles:Sn,blockName:n}))}function jb(e){return jb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},jb(e)}function Ib(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Ab(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Ib(Object(a),!0).forEach((function(t){Lb(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Ib(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Lb(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=jb(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=jb(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==jb(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var Fb=window.EBControls,Hb=Fb.isValidHtml,zb=Fb.DynamicInputValueHandler,qb=Fb.EBDisplayIcon,Ub=Fb.sanitizeURL,Vb=Fb.BlockProps;function Wb(){return Wb=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},Wb.apply(null,arguments)}var Gb=window.EBControls,Zb=Gb.EBDisplayIcon,Yb=Gb.sanitizeURL,Jb=Gb.BlockProps;const Qb=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Flipbox","name":"essential-blocks/flipbox","category":"essential-blocks","description":"Deliver your content beautifully to grab site visitor\'s attention.","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true},"editorScript":"essential-blocks-editor-script"}');function Xb(e){return Xb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Xb(e)}function $b(){return $b=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},$b.apply(null,arguments)}function Kb(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function ep(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Kb(Object(a),!0).forEach((function(t){tp(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Kb(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function tp(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=Xb(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=Xb(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Xb(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var ap=window.EBControls,np=ap.EBDisplayIcon,op=ap.sanitizeURL;const rp=[{attributes:ep({},ab),supports:{anchor:!0},save:function(e){var t=e.attributes,a=t.blockId,n=t.flipType,o=t.frontIconOrImage,r=t.frontImageUrl,c=t.frontImageAlt,l=t.frontIcon,i=t.showFrontTitle,s=t.frontTitle,b=t.showFrontContent,p=t.frontContent,u=t.backIconOrImage,d=t.backImageUrl,m=t.backImageAlt,g=t.backIcon,f=t.showBackTitle,y=t.backTitle,v=t.showBackContent,h=t.backContent,w=t.link,k=t.linkType,R=t.buttonText,_=t.buttonIcon,E=t.buttonClasses,C=t.contentPosition,x=t.linkOpenNewTab,S=t.flipMode,B=t.isMouseLeaveOn,T=t.classHook,N="center"===C?" eb-flipbox-align-center":"right"===C?" eb-flipbox-align-right":"",P="hover"===S?" eb-hover-mode":" eb-click-mode";return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(T)},React.createElement("div",$b({className:"eb-flipbox-container ".concat(a).concat(N).concat(P),"data-id":a,"data-flip-type":n,"data-flip-mode":S},"click"===S?{"data-flip-mouseleave":B}:{}),React.createElement("div",{className:"eb-flipper".concat("hover"===S?" "+n:"")},React.createElement("div",{className:"eb-flipbox-front"},React.createElement("div",{className:"eb-flipbox-items-container"},"none"!==o&&React.createElement("div",{className:"eb-flipbox-icon-wrapper"},"image"===o&&r&&React.createElement("div",{className:"eb-flipbox-front-image-container"},React.createElement("img",{src:r,alt:c})),"icon"===o&&l&&React.createElement("div",{className:"eb-flipbox-icon-front","data-icon":l},React.createElement(np,{icon:l}))),i&&React.createElement("div",{className:"eb-flipbox-front-title-wrapper"},"title"===k&&w?React.createElement("a",{href:w||"#",className:"title-link"},React.createElement(Q.RichText.Content,{tagName:"h3",className:"eb-flipbox-front-title",value:s})):React.createElement(Q.RichText.Content,{tagName:"h3",className:"eb-flipbox-front-title",value:s})),b&&React.createElement("div",{className:"eb-flipbox-front-content-wrapper"},React.createElement(Q.RichText.Content,{tagName:"p",className:"eb-flipbox-front-content",value:p})))),React.createElement("div",{className:"eb-flipbox-back",onClick:"box"===k&&w&&x?"window.open('".concat(w,"', '_blank');"):"box"===k&&w?"window.location='".concat(w,"'"):void 0},React.createElement("div",{className:"eb-flipbox-items-container"},"none"!==u&&React.createElement("div",{className:"eb-flipbox-icon-wrapper"},"image"===u&&d&&React.createElement("div",{className:"eb-flipbox-back-image-container"},React.createElement("img",{src:d,alt:m})),"icon"===u&&g&&React.createElement("div",{className:"eb-flipbox-icon-back","data-icon":g},React.createElement(np,{icon:g}))),f&&React.createElement("div",{className:"eb-flipbox-back-title-wrapper"},"title"===k&&w?React.createElement("a",{href:w||"#",className:"title-link",target:x?"_blank":"_self",rel:"noopener"},React.createElement(Q.RichText.Content,{tagName:"h3",className:"eb-flipbox-back-title",value:y})):React.createElement(Q.RichText.Content,{tagName:"h3",className:"eb-flipbox-back-title",value:y})),v&&React.createElement("div",{className:"eb-flipbox-back-content-wrapper"},React.createElement(Q.RichText.Content,{tagName:"p",className:"eb-flipbox-back-content",value:h})),"button"===k&&React.createElement("div",{className:"eb-flipbox-button-container"},React.createElement("a",{className:"eb-flipbox-button-link ".concat(E),href:w||"#",target:x?"_blank":"_self",rel:"noopener"},React.createElement("div",{className:"eb-flipbox-button-content"},React.createElement("span",null,R),_&&React.createElement(np,{icon:_,className:"eb-flipbox-button-icon"}))))))))))}},{attributes:ep({},ab),supports:{anchor:!0},save:function(e){var t=e.attributes,a=t.blockId,n=t.flipType,o=t.frontIconOrImage,r=t.frontImageUrl,c=t.frontImageAlt,l=t.frontIcon,i=t.showFrontTitle,s=t.frontTitle,b=t.showFrontContent,p=t.frontContent,u=t.backIconOrImage,d=t.backImageUrl,m=t.backImageAlt,g=t.backIcon,f=t.showBackTitle,y=t.backTitle,v=t.showBackContent,h=t.backContent,w=t.link,k=t.linkType,R=t.buttonText,_=t.buttonIcon,E=t.buttonClasses,C=t.contentPosition,x=t.linkOpenNewTab,S=t.flipMode,B=t.isMouseLeaveOn,T=t.classHook,N="center"===C?" eb-flipbox-align-center":"right"===C?" eb-flipbox-align-right":"",P="hover"===S?" eb-hover-mode":" eb-click-mode";return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(T)},React.createElement("div",$b({className:"eb-flipbox-container ".concat(a).concat(N).concat(P),"data-id":a,"data-flip-type":n,"data-flip-mode":S},"click"===S?{"data-flip-mouseleave":B}:{}),React.createElement("div",{className:"eb-flipper".concat("hover"===S?" "+n:"")},React.createElement("div",{className:"eb-flipbox-front"},React.createElement("div",{className:"eb-flipbox-items-container"},"none"!==o&&React.createElement("div",{className:"eb-flipbox-icon-wrapper"},"image"===o&&r&&React.createElement("div",{className:"eb-flipbox-front-image-container"},React.createElement("img",{src:r,alt:c})),"icon"===o&&l&&React.createElement("div",{className:"eb-flipbox-icon-front","data-icon":l},React.createElement("span",{className:l}))),i&&React.createElement("div",{className:"eb-flipbox-front-title-wrapper"},"title"===k&&w?React.createElement("a",{href:w?op(w):"#",className:"title-link"},React.createElement(Q.RichText.Content,{tagName:"h3",className:"eb-flipbox-front-title",value:s})):React.createElement(Q.RichText.Content,{tagName:"h3",className:"eb-flipbox-front-title",value:s})),b&&React.createElement("div",{className:"eb-flipbox-front-content-wrapper"},React.createElement(Q.RichText.Content,{tagName:"p",className:"eb-flipbox-front-content",value:p})))),React.createElement("div",{className:"eb-flipbox-back",onClick:"box"===k&&w&&x?"window.open('".concat(w,"', '_blank');"):"box"===k&&w?"window.location='".concat(w,"'"):void 0},React.createElement("div",{className:"eb-flipbox-items-container"},"none"!==u&&React.createElement("div",{className:"eb-flipbox-icon-wrapper"},"image"===u&&d&&React.createElement("div",{className:"eb-flipbox-back-image-container"},React.createElement("img",{src:d,alt:m})),"icon"===u&&g&&React.createElement("div",{className:"eb-flipbox-icon-back","data-icon":g},React.createElement("span",{className:g}))),f&&React.createElement("div",{className:"eb-flipbox-back-title-wrapper"},"title"===k&&w?React.createElement("a",{href:w?op(w):"#",className:"title-link",target:x?"_blank":"_self",rel:"noopener"},React.createElement(Q.RichText.Content,{tagName:"h3",className:"eb-flipbox-back-title",value:y})):React.createElement(Q.RichText.Content,{tagName:"h3",className:"eb-flipbox-back-title",value:y})),v&&React.createElement("div",{className:"eb-flipbox-back-content-wrapper"},React.createElement(Q.RichText.Content,{tagName:"p",className:"eb-flipbox-back-content",value:h})),"button"===k&&React.createElement("div",{className:"eb-flipbox-button-container"},React.createElement("a",{className:"eb-flipbox-button-link ".concat(E),href:w?op(w):"#",target:x?"_blank":"_self",rel:"noopener"},React.createElement("div",{className:"eb-flipbox-button-content"},React.createElement("span",null,R),_&&React.createElement("i",{className:"".concat(_," eb-flipbox-button-icon")}))))))))))}},{attributes:(0,nt.omit)(ep({},ab),["flipMode","isMouseLeaveOn"]),supports:{anchor:!0},save:function(e){var t=e.attributes,a=t.blockId,n=t.flipType,o=t.frontIconOrImage,r=t.frontImageUrl,c=t.frontImageAlt,l=t.frontIcon,i=t.showFrontTitle,s=t.frontTitle,b=t.showFrontContent,p=t.frontContent,u=t.backIconOrImage,d=t.backImageUrl,m=t.backImageAlt,g=t.backIcon,f=t.showBackTitle,y=t.backTitle,v=t.showBackContent,h=t.backContent,w=t.link,k=t.linkType,R=t.buttonText,_=t.buttonIcon,E=t.buttonClasses,C=t.contentPosition,x=t.linkOpenNewTab,S=t.classHook,B="center"===C?" eb-flipbox-align-center":"right"===C?" eb-flipbox-align-right":"";return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(S)},React.createElement("div",{className:"eb-flipbox-container ".concat(a).concat(B),"data-id":a,"data-flip-type":n},React.createElement("div",{className:"eb-flipper ".concat(n)},React.createElement("div",{className:"eb-flipbox-front"},React.createElement("div",{className:"eb-flipbox-items-container"},"none"!==o&&React.createElement("div",{className:"eb-flipbox-icon-wrapper"},"image"===o&&r&&React.createElement("div",{className:"eb-flipbox-front-image-container"},React.createElement("img",{src:r,alt:c})),"icon"===o&&l&&React.createElement("div",{className:"eb-flipbox-icon-front","data-icon":l},React.createElement("span",{className:l}))),i&&React.createElement("div",{className:"eb-flipbox-front-title-wrapper"},"title"===k&&w?React.createElement("a",{href:w?op(w):"#",className:"title-link"},React.createElement(Q.RichText.Content,{tagName:"h3",className:"eb-flipbox-front-title",value:s})):React.createElement(Q.RichText.Content,{tagName:"h3",className:"eb-flipbox-front-title",value:s})),b&&React.createElement("div",{className:"eb-flipbox-front-content-wrapper"},React.createElement(Q.RichText.Content,{tagName:"p",className:"eb-flipbox-front-content",value:p})))),React.createElement("div",{className:"eb-flipbox-back",onClick:"box"===k&&w&&x?"window.open('".concat(w,"', '_blank');"):"box"===k&&w?"window.location='".concat(w,"'"):void 0},React.createElement("div",{className:"eb-flipbox-items-container"},"none"!==u&&React.createElement("div",{className:"eb-flipbox-icon-wrapper"},"image"===u&&d&&React.createElement("div",{className:"eb-flipbox-back-image-container"},React.createElement("img",{src:d,alt:m})),"icon"===u&&g&&React.createElement("div",{className:"eb-flipbox-icon-back","data-icon":g},React.createElement("span",{className:g}))),f&&React.createElement("div",{className:"eb-flipbox-back-title-wrapper"},"title"===k&&w?React.createElement("a",{href:w?op(w):"#",className:"title-link",target:x?"_blank":"_self",rel:"noopener"},React.createElement(Q.RichText.Content,{tagName:"h3",className:"eb-flipbox-back-title",value:y})):React.createElement(Q.RichText.Content,{tagName:"h3",className:"eb-flipbox-back-title",value:y})),v&&React.createElement("div",{className:"eb-flipbox-back-content-wrapper"},React.createElement(Q.RichText.Content,{tagName:"p",className:"eb-flipbox-back-content",value:h})),"button"===k&&React.createElement("div",{className:"eb-flipbox-button-container"},React.createElement("a",{className:"eb-flipbox-button-link ".concat(E),href:w?op(w):"#",target:x?"_blank":"_self",rel:"noopener"},React.createElement("div",{className:"eb-flipbox-button-content"},React.createElement("span",null,R),_&&React.createElement("i",{className:"".concat(_," eb-flipbox-button-icon")}))))))))))}},{attributes:(0,nt.omit)(ep({},ab),["frontImageAlt","backImageAlt"]),supports:{anchor:!0},save:function(e){var t=e.attributes,a=t.blockId,n=t.flipType,o=t.frontIconOrImage,r=t.frontImageUrl,c=t.frontIcon,l=t.showFrontTitle,i=t.frontTitle,s=t.showFrontContent,b=t.frontContent,p=t.backIconOrImage,u=t.backImageUrl,d=t.backIcon,m=t.showBackTitle,g=t.backTitle,f=t.showBackContent,y=t.backContent,v=t.link,h=t.linkType,w=t.buttonText,k=t.buttonIcon,R=t.buttonClasses,_=t.contentPosition,E=t.linkOpenNewTab,C=t.classHook,x="center"===_?" eb-flipbox-align-center":"right"===_?" eb-flipbox-align-right":"";return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(C)},React.createElement("div",{className:"eb-flipbox-container ".concat(a).concat(x),"data-id":a,"data-flip-type":n},React.createElement("div",{className:"eb-flipper ".concat(n)},React.createElement("div",{className:"eb-flipbox-front"},React.createElement("div",{className:"eb-flipbox-items-container"},"none"!==o&&React.createElement("div",{className:"eb-flipbox-icon-wrapper"},"image"===o&&r&&React.createElement("div",{className:"eb-flipbox-front-image-container"},React.createElement("img",{src:r})),"icon"===o&&c&&React.createElement("div",{className:"eb-flipbox-icon-front","data-icon":c},React.createElement("span",{className:c}))),l&&React.createElement("div",{className:"eb-flipbox-front-title-wrapper"},"title"===h&&v?React.createElement("a",{href:v?op(v):"#",className:"title-link"},React.createElement(Q.RichText.Content,{tagName:"h3",className:"eb-flipbox-front-title",value:i})):React.createElement(Q.RichText.Content,{tagName:"h3",className:"eb-flipbox-front-title",value:i})),s&&React.createElement("div",{className:"eb-flipbox-front-content-wrapper"},React.createElement(Q.RichText.Content,{tagName:"p",className:"eb-flipbox-front-content",value:b})))),React.createElement("div",{className:"eb-flipbox-back",onClick:"box"===h&&v&&E?"window.open('".concat(v,"', '_blank');"):"box"===h&&v?"window.location='".concat(v,"'"):void 0},React.createElement("div",{className:"eb-flipbox-items-container"},"none"!==p&&React.createElement("div",{className:"eb-flipbox-icon-wrapper"},"image"===p&&u&&React.createElement("div",{className:"eb-flipbox-back-image-container"},React.createElement("img",{src:u})),"icon"===p&&d&&React.createElement("div",{className:"eb-flipbox-icon-back","data-icon":d},React.createElement("span",{className:d}))),m&&React.createElement("div",{className:"eb-flipbox-back-title-wrapper"},"title"===h&&v?React.createElement("a",{href:v?op(v):"#",className:"title-link",target:E?"_blank":"_self",rel:"noopener"},React.createElement(Q.RichText.Content,{tagName:"h3",className:"eb-flipbox-back-title",value:g})):React.createElement(Q.RichText.Content,{tagName:"h3",className:"eb-flipbox-back-title",value:g})),f&&React.createElement("div",{className:"eb-flipbox-back-content-wrapper"},React.createElement(Q.RichText.Content,{tagName:"p",className:"eb-flipbox-back-content",value:y})),"button"===h&&React.createElement("div",{className:"eb-flipbox-button-container"},React.createElement("a",{className:"eb-flipbox-button-link ".concat(R),href:v?op(v):"#",target:E?"_blank":"_self",rel:"noopener"},React.createElement("div",{className:"eb-flipbox-button-content"},React.createElement("span",null,w),k&&React.createElement("i",{className:"".concat(k," eb-flipbox-button-icon")}))))))))))}},{attributes:ep({},ab),supports:{anchor:!0},save:function(e){var t=e.attributes,a=t.blockId,n=t.flipType,o=t.frontIconOrImage,r=t.frontImageUrl,c=t.frontIcon,l=t.showFrontTitle,i=t.frontTitle,s=t.showFrontContent,b=t.frontContent,p=t.backIconOrImage,u=t.backImageUrl,d=t.backIcon,m=t.showBackTitle,g=t.backTitle,f=t.showBackContent,y=t.backContent,v=t.link,h=t.linkType,w=t.buttonText,k=t.buttonIcon,R=t.buttonClasses,_=t.contentPosition,E=t.linkOpenNewTab,C=t.classHook,x="center"===_?" eb-flipbox-align-center":"right"===_?" eb-flipbox-align-right":"";return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(C)},React.createElement("div",{className:"eb-flipbox-container ".concat(a).concat(x),"data-id":a,"data-flip-type":n},React.createElement("div",{className:"eb-flipper ".concat(n)},React.createElement("div",{className:"eb-flipbox-front"},React.createElement("div",{className:"eb-flipbox-items-container"},"none"!==o&&React.createElement("div",{className:"eb-flipbox-icon-wrapper"},"image"===o&&r&&React.createElement("div",{className:"eb-flipbox-front-image-container"},React.createElement("img",{src:r})),"icon"===o&&c&&React.createElement("div",{className:"eb-flipbox-icon-front","data-icon":c},React.createElement("span",{className:c}))),l&&React.createElement("div",{className:"eb-flipbox-front-title-wrapper"},"title"===h&&v?React.createElement("a",{href:v?op(v):"#",className:"title-link"},React.createElement("h3",{className:"eb-flipbox-front-title"},i)):React.createElement("h3",{className:"eb-flipbox-front-title"},i)),s&&React.createElement("div",{className:"eb-flipbox-front-content-wrapper"},React.createElement("p",{className:"eb-flipbox-front-content"},b)))),React.createElement("div",{className:"eb-flipbox-back",onClick:"box"===h&&v&&E?"window.open('".concat(v,"', '_blank');"):"box"===h&&v?"window.location='".concat(v,"'"):void 0},React.createElement("div",{className:"eb-flipbox-items-container"},"none"!==p&&React.createElement("div",{className:"eb-flipbox-icon-wrapper"},"image"===p&&u&&React.createElement("div",{className:"eb-flipbox-back-image-container"},React.createElement("img",{src:u})),"icon"===p&&d&&React.createElement("div",{className:"eb-flipbox-icon-back","data-icon":d},React.createElement("span",{className:d}))),m&&React.createElement("div",{className:"eb-flipbox-back-title-wrapper"},"title"===h&&v?React.createElement("a",{href:v?op(v):"#",className:"title-link",target:E?"_blank":"_self",rel:"noopener"},React.createElement("h3",{className:"eb-flipbox-back-title"},g)):React.createElement("h3",{className:"eb-flipbox-back-title"},g)),f&&React.createElement("div",{className:"eb-flipbox-back-content-wrapper"},React.createElement("p",{className:"eb-flipbox-back-content"},y)),"button"===h&&React.createElement("div",{className:"eb-flipbox-button-container"},React.createElement("a",{className:"eb-flipbox-button-link ".concat(R),href:v?op(v):"#",target:E?"_blank":"_self",rel:"noopener"},React.createElement("div",{className:"eb-flipbox-button-content"},React.createElement("span",null,w),k&&React.createElement("i",{className:"".concat(k," eb-flipbox-button-icon")}))))))))))}},{attributes:ep({},ab),supports:{anchor:!0},save:function(e){var t=e.attributes,a=t.blockId,n=t.flipType,o=t.frontIconOrImage,r=t.frontImageUrl,c=t.frontIcon,l=t.showFrontTitle,i=t.frontTitle,s=t.showFrontContent,b=t.frontContent,p=t.backIconOrImage,u=t.backImageUrl,d=t.backIcon,m=t.showBackTitle,g=t.backTitle,f=t.showBackContent,y=t.backContent,v=t.link,h=t.linkType,w=t.buttonText,k=t.buttonIcon,R=t.buttonClasses,_=t.contentPosition,E="center"===_?" eb-flipbox-align-center":"right"===_?" eb-flipbox-align-right":"";return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-flipbox-container ".concat(a).concat(E),"data-id":a,"data-flip-type":n},React.createElement("div",{className:"eb-flipper ".concat(n)},React.createElement("div",{className:"eb-flipbox-front"},React.createElement("div",{className:"eb-flipbox-items-container"},"none"!==o&&React.createElement("div",{className:"eb-flipbox-icon-wrapper"},"image"===o&&r&&React.createElement("div",{className:"eb-flipbox-front-image-container"},React.createElement("img",{src:r})),"icon"===o&&c&&React.createElement("div",{className:"eb-flipbox-icon-front","data-icon":c},React.createElement("span",{className:c}))),l&&React.createElement("div",{className:"eb-flipbox-front-title-wrapper"},"title"===h&&v?React.createElement("a",{href:v?op(v):"#",className:"title-link"},React.createElement("h3",{className:"eb-flipbox-front-title"},i)):React.createElement("h3",{className:"eb-flipbox-front-title"},i)),s&&React.createElement("div",{className:"eb-flipbox-front-content-wrapper"},React.createElement("p",{className:"eb-flipbox-front-content"},b)))),React.createElement("div",{className:"eb-flipbox-back",onClick:"box"===h&&v?"window.location='".concat(v,"'"):void 0},React.createElement("div",{className:"eb-flipbox-items-container"},"none"!==p&&React.createElement("div",{className:"eb-flipbox-icon-wrapper"},"image"===p&&u&&React.createElement("div",{className:"eb-flipbox-back-image-container"},React.createElement("img",{src:u})),"icon"===p&&d&&React.createElement("div",{className:"eb-flipbox-icon-back","data-icon":d},React.createElement("span",{className:d}))),m&&React.createElement("div",{className:"eb-flipbox-back-title-wrapper"},"title"===h&&v?React.createElement("a",{href:v?op(v):"#",className:"title-link"},React.createElement("h3",{className:"eb-flipbox-back-title"},g)):React.createElement("h3",{className:"eb-flipbox-back-title"},g)),f&&React.createElement("div",{className:"eb-flipbox-back-content-wrapper"},React.createElement("p",{className:"eb-flipbox-back-content"},y)),"button"===h&&React.createElement("div",{className:"eb-flipbox-button-container"},React.createElement("a",{className:"eb-flipbox-button-link ".concat(R),href:v?op(v):"#"},React.createElement("div",{className:"eb-flipbox-button-content"},React.createElement("span",null,w),k&&React.createElement("i",{className:"".concat(k," eb-flipbox-button-icon")})))))))))}},{attributes:(0,nt.omit)(ep({},ab),["contentPosition"]),save:function(e){var t=e.attributes,a=t.blockId,n=t.flipType,o=t.frontIconOrImage,r=t.frontImageUrl,c=t.frontIcon,l=t.showFrontTitle,i=t.frontTitle,s=t.showFrontContent,b=t.frontContent,p=t.backIconOrImage,u=t.backImageUrl,d=t.backIcon,m=t.showBackTitle,g=t.backTitle,f=t.showBackContent,y=t.backContent,v=t.link,h=t.linkType,w=t.buttonText,k=t.buttonIcon,R=t.buttonClasses;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-flipbox-container ".concat(a),"data-id":a,"data-flip-type":n},React.createElement("div",{className:"eb-flipper ".concat(n)},React.createElement("div",{className:"eb-flipbox-front"},React.createElement("div",{className:"eb-flipbox-items-container"},"none"!==o&&React.createElement("div",{className:"eb-flipbox-icon-wrapper"},"image"===o&&r&&React.createElement("div",{className:"eb-flipbox-front-image-container"},React.createElement("img",{src:r})),"icon"===o&&c&&React.createElement("div",{className:"eb-flipbox-icon-front","data-icon":c},React.createElement("span",{className:c}))),l&&React.createElement("div",{className:"eb-flipbox-front-title-wrapper"},"title"===h&&v?React.createElement("a",{href:v?op(v):"#",className:"title-link"},React.createElement("h3",{className:"eb-flipbox-front-title"},i)):React.createElement("h3",{className:"eb-flipbox-front-title"},i)),s&&React.createElement("div",{className:"eb-flipbox-front-content-wrapper"},React.createElement("p",{className:"eb-flipbox-front-content"},b)))),React.createElement("div",{className:"eb-flipbox-back",onClick:"box"===h&&v?"window.location='".concat(v,"'"):void 0},React.createElement("div",{className:"eb-flipbox-items-container"},"none"!==p&&React.createElement("div",{className:"eb-flipbox-icon-wrapper"},"image"===p&&u&&React.createElement("div",{className:"eb-flipbox-back-image-container"},React.createElement("img",{src:u})),"icon"===p&&d&&React.createElement("div",{className:"eb-flipbox-icon-back","data-icon":d},React.createElement("span",{className:d}))),m&&React.createElement("div",{className:"eb-flipbox-back-title-wrapper"},"title"===h&&v?React.createElement("a",{href:v?op(v):"#",className:"title-link"},React.createElement("h3",{className:"eb-flipbox-back-title"},g)):React.createElement("h3",{className:"eb-flipbox-back-title"},g)),f&&React.createElement("div",{className:"eb-flipbox-back-content-wrapper"},React.createElement("p",{className:"eb-flipbox-back-content"},y)),"button"===h&&React.createElement("div",{className:"eb-flipbox-button-container"},React.createElement("a",{className:"eb-flipbox-button-link ".concat(R),href:v?op(v):"#"},React.createElement("div",{className:"eb-flipbox-button-content"},React.createElement("span",null,w),k&&React.createElement("i",{className:"".concat(k," eb-flipbox-button-icon")})))))))))}}];(0,EBControls.ebConditionalRegisterBlockType)(Qb,{icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"55",height:"60",fill:"none",viewBox:"0 0 55 60"},React.createElement("path",{fill:"#6C3BFF",d:"M53.314.343h-.257L8.143 7.286c-.772.257-1.286.685-1.286 1.285V52.03c0 .514.429 1.028 1.286 1.285l45 7.029h.086c.171 0 .342-.086.514-.172.086-.085.171-.085.343-.171l.085-.086v-.085c0-.086 0-.086.086-.172.086-.171.172-.343.172-.6V1.714c0-.857-.429-1.371-1.115-1.371zM51.771 57L9.257 51.257v-42l42.514-5.914V57z"}),React.createElement("path",{fill:"#6C3BFF",d:"M14.914 29.057h9.857c.686 0 1.286-.6 1.286-1.285 0-.686-.686-1.115-1.286-1.115L14.914 27c-.6 0-1.285.429-1.285 1.114 0 .429.6.943 1.285.943zM31.286 28.8c.514 0 .685-.257.857-.6.171-.171.428-.429.428-.857 0-.257-.257-.686-.428-.857-.257-.257-.514-.257-.857-.257-.257 0-.686.257-.857.428-.172.172-.429.6-.429.857 0 .429.257.686.429.857.171.258.6.429.857.429zM20.314 33.857c0 .429.6 1.114 1.286 1.114l23.486 1.115c.171 0 .343-.086.514-.172.086-.085.171-.085.429-.257.171-.171.428-.6.428-1.028 0-.858-.686-1.458-1.286-1.458l-23.485-.342c-.686-.086-1.372.342-1.372 1.028zM15.857 33c-.086 0-.171 0-.257-.086-.171-.085-.343-.171-.6-.171-.429 0-.6 0-.857.257l-.086.086v.085c0 .086 0 .172-.086.172-.085.086-.085.257-.085.343 0 .171 0 .428.257.685.171.172.428.429.857.429.171 0 .686 0 .943-.514 0-.086 0-.172.086-.172.085-.085.085-.257.085-.343.086-.257.086-.514-.257-.771zM1.8 11.657c-.171 0-.257 0-.343.086l-.428.171C.429 12.343 0 12.943 0 13.543v33.943c0 .6.343 1.2 1.029 1.628H1.2c.086.086.257.086.343.086.343 0 .771-.257.943-.771v-36c.085-.515-.343-.772-.686-.772z"}))},category:"essential-blocks",attributes:ab,keywords:[(0,Y.__)("eb flipbox","essential-blocks"),(0,Y.__)("essential","essential-blocks"),(0,Y.__)("box","essential-blocks")],edit:function(e){var t=e.isSelected,a=e.attributes,n=e.setAttributes,o=(e.className,a.blockId),r=(a.blockMeta,a.resOption,a.isHover),c=a.selectedSide,l=a.frontIconOrImage,i=a.frontIcon,s=a.frontImageUrl,b=a.frontImageAlt,p=a.backIconOrImage,u=a.backIcon,d=a.backImageUrl,m=a.backImageAlt,g=a.showFrontTitle,f=a.frontTitle,y=a.showFrontContent,v=a.frontContent,h=a.showBackTitle,w=a.backTitle,k=a.showBackContent,R=a.backContent,_=a.linkType,E=a.buttonText,C=a.buttonIcon,x=a.link,S=a.buttonClasses,B=a.align,T=a.contentPosition,N=a.classHook,P=Ab(Ab({},e),{},{blockPrefix:"eb-flipbox",style:React.createElement(Db,e)}),O="center"===T?" eb-flipbox-align-center":"right"===T?" eb-flipbox-align-right":"",M=Ub(x);return React.createElement(React.Fragment,null,t&&React.createElement(Eb,{attributes:a,setAttributes:n}),React.createElement(Q.BlockControls,null,React.createElement(X.ToolbarGroup,null,React.createElement(X.ToolbarButton,{title:"Front",icon:"arrow-right-alt2",isActive:"front"===c,onClick:function(){return n({selectedSide:"front"})}}),React.createElement(X.ToolbarButton,{title:"Back",icon:"arrow-left-alt2",isActive:"back"===c,onClick:function(){return n({selectedSide:"back"})}})),React.createElement(Q.AlignmentToolbar,{value:B,onChange:function(e){return n({align:e})}})),React.createElement(Vb.Edit,P,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(o," ").concat(N)},React.createElement("div",{className:"eb-flipbox-container ".concat(o).concat(O),"data-id":o,onMouseEnter:function(){return n({isHover:!0})},onMouseLeave:function(){return n({isHover:!1})}},React.createElement("div",{className:"eb-flipper".concat(r||"back"===c?" back-is-selected":"")},React.createElement("div",{className:"eb-flipbox-front"},React.createElement("div",{className:"eb-flipbox-items-container"},"none"!==l&&React.createElement("div",{className:"eb-flipbox-icon-wrapper"},"image"===l&&s&&React.createElement("div",{className:"eb-flipbox-front-image-container"},React.createElement("img",{src:s,alt:b})),"icon"===l&&i&&React.createElement("div",{className:"eb-flipbox-icon-front","data-icon":i},React.createElement(qb,{icon:i}))),g&&React.createElement("div",{className:"eb-flipbox-front-title-wrapper"},"title"===_&&x?React.createElement("a",{href:x?M:"#",className:"title-link"},React.createElement(zb,{value:Hb(f)?f:(0,Y.__)("Invalid HTML Tag","essential-blocks"),tagName:"h3",className:"eb-flipbox-front-title",allowedFormats:["core/bold","core/italic","core/link","core/strikethrough","core/underline","core/text-color"],onChange:function(e){return n({frontTitle:e})},readOnly:!0})):React.createElement(zb,{value:Hb(f)?f:(0,Y.__)("Invalid HTML Tag","essential-blocks"),tagName:"h3",className:"eb-flipbox-front-title",allowedFormats:["core/bold","core/italic","core/link","core/strikethrough","core/underline","core/text-color"],onChange:function(e){return n({frontTitle:e})},readOnly:!0})),y&&React.createElement("div",{className:"eb-flipbox-front-content-wrapper"},React.createElement(zb,{tagName:"p",className:"eb-flipbox-front-content",placeholder:(0,Y.__)("Add subtitle..."),value:Hb(v)?v:(0,Y.__)("Invalid HTML Tag","essential-blocks"),onChange:function(e){return n({frontContent:e})},readOnly:!0})))),React.createElement("div",{className:"eb-flipbox-back"},React.createElement("div",{className:"eb-flipbox-items-container"},"none"!==p&&React.createElement("div",{className:"eb-flipbox-icon-wrapper"},"image"===p&&d&&React.createElement("div",{className:"eb-flipbox-back-image-container"},React.createElement("img",{src:d,alt:m})),"icon"===p&&u&&React.createElement("div",{className:"eb-flipbox-icon-back","data-icon":u},React.createElement(qb,{icon:u}))),h&&React.createElement("div",{className:"eb-flipbox-back-title-wrapper"},"title"===_&&x?React.createElement("a",{href:x?M:"#",className:"title-link"},React.createElement(zb,{value:Hb(w)?w:(0,Y.__)("Invalid HTML Tag","essential-blocks"),tagName:"h3",className:"eb-flipbox-back-title",allowedFormats:["core/bold","core/italic","core/link","core/strikethrough","core/underline","core/text-color"],onChange:function(e){return n({backTitle:e})},readOnly:!0})):React.createElement(zb,{value:Hb(w)?w:(0,Y.__)("Invalid HTML Tag","essential-blocks"),tagName:"h3",className:"eb-flipbox-back-title",allowedFormats:["core/bold","core/italic","core/link","core/strikethrough","core/underline","core/text-color"],onChange:function(e){return n({backTitle:e})},readOnly:!0})),k&&React.createElement("div",{className:"eb-flipbox-back-content-wrapper"},React.createElement(zb,{tagName:"p",className:"eb-flipbox-back-content",value:Hb(R)?R:(0,Y.__)("Invalid HTML Tag","essential-blocks"),onChange:function(e){return n({backContent:e})},readOnly:!0})),"button"===_&&React.createElement("div",{className:"eb-flipbox-button-container"},React.createElement("a",{className:"eb-flipbox-button-link ".concat(S),href:x?M:"#"},React.createElement("div",{className:"eb-flipbox-button-content"},React.createElement("span",null,E),C&&React.createElement(qb,{icon:C,className:"eb-flipbox-button-icon"})))))))))))},save:function(e){var t=e.attributes,a=t.blockId,n=t.flipType,o=t.frontIconOrImage,r=t.frontImageUrl,c=t.frontImageAlt,l=t.frontIcon,i=t.showFrontTitle,s=t.frontTitle,b=t.showFrontContent,p=t.frontContent,u=t.backIconOrImage,d=t.backImageUrl,m=t.backImageAlt,g=t.backIcon,f=t.showBackTitle,y=t.backTitle,v=t.showBackContent,h=t.backContent,w=t.link,k=t.linkType,R=t.buttonText,_=t.buttonIcon,E=t.buttonClasses,C=t.contentPosition,x=t.linkOpenNewTab,S=t.flipMode,B=t.isMouseLeaveOn,T=t.classHook,N=Yb(w),P="center"===C?" eb-flipbox-align-center":"right"===C?" eb-flipbox-align-right":"",O="hover"===S?" eb-hover-mode":" eb-click-mode";return React.createElement(Jb.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(T)},React.createElement("div",Wb({className:"eb-flipbox-container ".concat(a).concat(P).concat(O),"data-id":a,"data-flip-type":n,"data-flip-mode":S},"click"===S?{"data-flip-mouseleave":B}:{}),React.createElement("div",{className:"eb-flipper".concat("hover"===S?" "+n:"")},React.createElement("div",{className:"eb-flipbox-front"},React.createElement("div",{className:"eb-flipbox-items-container"},"none"!==o&&React.createElement("div",{className:"eb-flipbox-icon-wrapper"},"image"===o&&r&&React.createElement("div",{className:"eb-flipbox-front-image-container"},React.createElement("img",{src:r,alt:c})),"icon"===o&&l&&React.createElement("div",{className:"eb-flipbox-icon-front","data-icon":l},React.createElement(Zb,{icon:l}))),i&&React.createElement("div",{className:"eb-flipbox-front-title-wrapper"},"title"===k&&w?React.createElement("a",{href:w?N:"#",className:"title-link"},React.createElement(Q.RichText.Content,{tagName:"h3",className:"eb-flipbox-front-title",value:s})):React.createElement(Q.RichText.Content,{tagName:"h3",className:"eb-flipbox-front-title",value:s})),b&&React.createElement("div",{className:"eb-flipbox-front-content-wrapper"},React.createElement(Q.RichText.Content,{tagName:"p",className:"eb-flipbox-front-content",value:p})))),React.createElement("div",{className:"eb-flipbox-back",onClick:"box"===k&&w&&x?"window.open('".concat(N,"', '_blank');"):"box"===k&&w?"window.location='".concat(N,"'"):void 0},React.createElement("div",{className:"eb-flipbox-items-container"},"none"!==u&&React.createElement("div",{className:"eb-flipbox-icon-wrapper"},"image"===u&&d&&React.createElement("div",{className:"eb-flipbox-back-image-container"},React.createElement("img",{src:d,alt:m})),"icon"===u&&g&&React.createElement("div",{className:"eb-flipbox-icon-back","data-icon":g},React.createElement(Zb,{icon:g}))),f&&React.createElement("div",{className:"eb-flipbox-back-title-wrapper"},"title"===k&&w?React.createElement("a",{href:w?N:"#",className:"title-link",target:x?"_blank":"_self",rel:"noopener"},React.createElement(Q.RichText.Content,{tagName:"h3",className:"eb-flipbox-back-title",value:y})):React.createElement(Q.RichText.Content,{tagName:"h3",className:"eb-flipbox-back-title",value:y})),v&&React.createElement("div",{className:"eb-flipbox-back-content-wrapper"},React.createElement(Q.RichText.Content,{tagName:"p",className:"eb-flipbox-back-content",value:h})),"button"===k&&React.createElement("div",{className:"eb-flipbox-button-container"},React.createElement("a",{className:"eb-flipbox-button-link ".concat(E),href:w?N:"#",target:x?"_blank":"_self",rel:"noopener"},React.createElement("div",{className:"eb-flipbox-button-content"},React.createElement("span",null,R),_&&React.createElement(Zb,{icon:_,className:"eb-flipbox-button-icon"}))))))))))},example:{attributes:{selectedSide:"front",frontIconOrImage:"icon",frontIcon:"fab fa-rev",frontTitle:"Front Title Here",frontContent:"Front Content Here"}},deprecated:rp});const cp=window.wp.coreData;var lp="wrprBg",ip="wrpMargin",sp="wrpPadding",bp="wrpBorderShadow",pp="titleMargin",up="subtitleMargin",dp="separatorMargin",mp="separatorLineSize",gp="separatorIconSize",fp="separatorWidth",yp=[{label:"px",value:"px"},{label:"em",value:"em"}],vp=[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"}],hp=[{label:(0,Y.__)("Line","essential-blocks"),value:"line"},{label:(0,Y.__)("Icon","essential-blocks"),value:"icon"}],kp=[{label:(0,Y.__)("Top","essential-blocks"),value:"top"},{label:(0,Y.__)("Bottom","essential-blocks"),value:"bottom"}],Rp=[{label:(0,Y.__)("Default","essential-blocks"),value:"preset-0"},{label:(0,Y.__)("Preset 1","essential-blocks"),value:"preset-1"},{label:(0,Y.__)("Preset 2","essential-blocks"),value:"preset-2"},{label:(0,Y.__)("Preset 3","essential-blocks"),value:"preset-3"}],_p=[{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignleft"})),value:"left"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignright"})),value:"right"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"menu"})),value:"justify"}],Ep=[{label:(0,Y.__)("H1","essential-blocks"),value:"h1"},{label:(0,Y.__)("H2","essential-blocks"),value:"h2"},{label:(0,Y.__)("H3","essential-blocks"),value:"h3"},{label:(0,Y.__)("H4","essential-blocks"),value:"h4"},{label:(0,Y.__)("H5","essential-blocks"),value:"h5"},{label:(0,Y.__)("H6","essential-blocks"),value:"h6"},{label:(0,Y.__)("P","essential-blocks"),value:"p"}],Cp=[{label:(0,Y.__)("Solid","essential-blocks"),value:"solid"},{label:(0,Y.__)("Dashed","essential-blocks"),value:"dashed"},{label:(0,Y.__)("Dotted","essential-blocks"),value:"dotted"},{label:(0,Y.__)("Double","essential-blocks"),value:"double"},{label:(0,Y.__)("Groove","essential-blocks"),value:"groove"},{label:(0,Y.__)("Outset","essential-blocks"),value:"outset"},{label:(0,Y.__)("Ridge","essential-blocks"),value:"ridge"}],xp=[{label:(0,Y.__)("Custom","essential-blocks"),value:"custom"},{label:(0,Y.__)("Dynamic Title","essential-blocks"),value:"dynamic-title"}],Sp="title",Bp="subtitle";function Tp(e){return Tp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Tp(e)}function Np(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Pp(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Np(Object(a),!0).forEach((function(t){Op(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Np(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Op(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=Tp(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=Tp(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Tp(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var Mp=window.EBControls,Dp=Mp.generateDimensionsAttributes,jp=Mp.generateTypographyAttributes,Ip=Mp.generateBackgroundAttributes,Ap=Mp.generateBorderShadowAttributes,Lp=Mp.generateResponsiveRangeAttributes;const Fp=Pp(Pp(Pp(Pp(Pp(Pp(Pp(Pp(Pp(Pp(Pp({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},preset:{type:"string",default:"button-1"},tagName:{type:"string",default:"h2"},titleText:{type:"string",default:"Essential Blocks Advanced Heading"},subtitleTagName:{type:"string",default:"p"},subtitleText:{type:"string",default:"Essential Blocks Advance Subtitle"},topSpace:{type:"number"},topSpaceUnit:{type:"string",default:"px"},bottomSpace:{type:"number"},bottomSpaceUnit:{type:"string",default:"px"},titleColor:{type:"string",default:"var(--eb-global-heading-color)"},titleHoverColor:{type:"string"},subtitleColor:{type:"string",default:"var(--eb-global-text-color)"},subtitleHoverColor:{type:"string"},separatorColor:{type:"string",default:"var(--eb-global-primary-color)"},separatorHoverColor:{type:"string"},align:{type:"string",default:"left"},displaySubtitle:{type:"boolean",default:!1},displaySeperator:{type:"boolean",default:!1},seperatorPosition:{type:"string",default:"bottom"},seperatorType:{type:"string",default:"line"},seperatorStyle:{type:"string",default:"solid"},separatorIcon:{type:"string",default:"fas fa-arrow-circle-down"},source:{type:"string",default:"custom"},enableLink:{type:"boolean",default:!1},titleLink:{type:"string",default:""},openInNewTab:{type:"boolean",default:!1},currentPostId:{type:"number",default:0},currentPostType:{type:"string"}},jp(Object.values(b))),Dp(ip)),Dp(sp)),Dp(pp,{top:0,bottom:15,right:0,left:0,isLinked:!1})),Dp(up,{top:0,bottom:20,right:0,left:0,isLinked:!1})),Dp(dp,{top:0,bottom:0,right:0,left:0,isLinked:!1})),Ap(bp,{bdrDefaults:{top:0,bottom:0,right:0,left:0}})),Ip(lp,{defaultBgGradient:"linear-gradient(45deg,#ffffff,#ffffff)"})),Lp(mp,{defaultRange:4})),Lp(gp,{defaultRange:30})),Lp(fp,{defaultRange:100}));var Hp=window.EBControls,zp=Hp.ResponsiveDimensionsControl,qp=Hp.TypographyDropdown,Up=Hp.BorderShadowControl,Vp=Hp.ResponsiveRangeController,Wp=Hp.BackgroundControl,Gp=Hp.AdvancedControls,Zp=Hp.DynamicInputControl,Yp=Hp.ColorControl,Jp=Hp.EBIconPicker;const Qp=function(e){var t=e.attributes,a=e.setAttributes,n=t.resOption,o=t.preset,r=t.align,c=t.tagName,l=t.titleText,i=t.subtitleTagName,s=t.subtitleText,b=t.displaySubtitle,p=t.displaySeperator,u=t.titleColor,d=t.titleHoverColor,m=t.subtitleColor,g=t.subtitleHoverColor,f=(t.subtitleColorType,t.separatorColor),y=t.separatorHoverColor,v=(t.separatorColorType,t.seperatorPosition),h=t.seperatorType,w=t.seperatorStyle,k=t.separatorIcon,R=t.source,_=t.enableLink,E=t.titleLink,C=t.openInNewTab,x={setAttributes:a,resOption:n,attributes:t,objAttributes:Fp};return React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:"General",className:"eb-tab general"},{name:"styles",title:"Style",className:"eb-tab styles"},{name:"advance",title:"Advanced",className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls"+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("General","essential-blocks"),initialOpen:!0},React.createElement(X.SelectControl,{label:(0,Y.__)("Source","essential-blocks"),value:R,options:xp,onChange:function(e){return function(e){switch(e){case"custom":case"dynamic-title":a({source:e,displaySubtitle:!1});break;default:return!1}}(e)}}),React.createElement(X.SelectControl,{label:(0,Y.__)("Preset Designs","essential-blocks"),value:o,options:(0,Qo.applyFilters)("eb_advanced_heading_preset",Rp),onChange:function(e){return function(e){switch(a({preset:e}),e){case"preset-0":a({displaySubtitle:!1,displaySeperator:!1,align:"left",titleColor:"#551ef7",subtitleColor:"#555555",separatorColor:"#551ef7",seperatorType:"line",wrpPaddingisLinked:!0,wrpPaddingUnit:"px",wrpPaddingTop:"0",wrpPaddingBottom:"0",wrpPaddingLeft:"0",wrpPaddingRight:"0",wrprBgbackgroundColor:"rgba(255,255,255,1)",wrprBgbackgroundType:"classic"});break;case"preset-1":a({displaySubtitle:!0,displaySeperator:!0,align:"left",titleColor:"#551ef7",subtitleColor:"#555555",separatorColor:"#551ef7",seperatorType:"line",wrpPaddingisLinked:!1,wrpPaddingUnit:"px",wrpPaddingTop:"0",wrpPaddingBottom:"0",wrpPaddingLeft:"0",wrpPaddingRight:"0",wrprBgbackgroundColor:"rgba(255,255,255,1)",wrprBgbackgroundType:"classic"});break;case"preset-2":a({displaySubtitle:!0,displaySeperator:!0,align:"center",titleColor:"#551ef7",subtitleColor:"#555555",separatorColor:"#551ef7",seperatorType:"icon",separatorIcon:"fas fa-bullhorn",wrpPaddingisLinked:!1,wrpPaddingUnit:"px",wrpPaddingTop:"0",wrpPaddingBottom:"0",wrpPaddingLeft:"0",wrpPaddingRight:"0",wrprBgbackgroundColor:"rgba(255,255,255,1)",wrprBgbackgroundType:"classic"});break;case"preset-3":a({displaySubtitle:!0,displaySeperator:!0,align:"center",titleColor:"#551ef7",subtitleColor:"#9b51e0",separatorColor:"#551ef7",seperatorType:"icon",separatorIcon:"fas fa-exchange-alt",wrpPaddingisLinked:!1,wrpPaddingUnit:"px",wrpPaddingTop:"30",wrpPaddingBottom:"30",wrpPaddingLeft:"15",wrpPaddingRight:"15",wrprBgbackgroundColor:"rgba(206,190,255,1)",wrprBgbackgroundType:"classic"});break;default:return!1}}(e)}}),React.createElement(X.BaseControl,{label:(0,Y.__)("Alignment","essential-blocks"),id:"eb-advance-heading-alignment"},React.createElement(X.ButtonGroup,{id:"eb-advance-heading-alignment"},_p.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:r===e.value,isSecondary:r!==e.value,onClick:function(){return a({align:e.value})}},e.label)})))),React.createElement(X.BaseControl,{label:(0,Y.__)("Title Level","essential-blocks"),id:"eb-advance-heading-alignment"},React.createElement(X.ButtonGroup,{className:"eb-advance-heading-alignment eb-html-tag-buttongroup"},Ep.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:c===e.value,isSecondary:c!==e.value,onClick:function(){return a({tagName:e.value})}},e.label)})))),"custom"==R&&React.createElement(React.Fragment,null,React.createElement(Zp,{label:"Title Text",attrName:"titleText",inputValue:l,setAttributes:a,onChange:function(e){return a({titleText:e})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Display Subtilte","essential-blocks"),checked:b,onChange:function(){return a({displaySubtitle:!b})}})),"custom"==R&&b&&React.createElement(React.Fragment,null,React.createElement(X.BaseControl,{label:(0,Y.__)("Subtitle Level","essential-blocks"),id:"eb-advance-heading-alignment"},React.createElement(X.ButtonGroup,{className:"eb-advance-heading-alignment eb-html-tag-buttongroup"},Ep.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:i===e.value,isSecondary:i!==e.value,onClick:function(){return a({subtitleTagName:e.value})}},e.label)})))),React.createElement(Zp,{label:"Subtitle Text",attrName:"subtitleText",inputValue:s,setAttributes:a,onChange:function(e){return a({subtitleText:e})}})),React.createElement(X.ToggleControl,{label:(0,Y.__)("Display Separator","essential-blocks"),checked:p,onChange:function(){return a({displaySeperator:!p})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Enable Link?","essential-blocks"),checked:_,onChange:function(e){return a({enableLink:e})}}),"custom"===R&&_&&React.createElement(React.Fragment,null,React.createElement(Zp,{label:(0,Y.__)("Link","essential-blocks"),attrName:"titleLink",inputValue:E,setAttributes:a,onChange:function(e){return a({titleLink:e})}})),_&&React.createElement(X.ToggleControl,{label:(0,Y.__)("Open in New Tab","essential-blocks"),checked:C,onChange:function(e){return a({openInNewTab:e})}}))),"styles"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Title","essential-blocks"),initialOpen:!0},React.createElement(qp,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:Sp,resRequiredProps:x}),React.createElement(Yp,{label:(0,Y.__)("Title Color","essential-blocks"),color:u,onChange:function(e){return a({titleColor:e})}}),React.createElement(Yp,{label:(0,Y.__)("Title Hover Color","essential-blocks"),color:d,onChange:function(e){return a({titleHoverColor:e})}}),React.createElement(zp,{resRequiredProps:x,controlName:pp,baseLabel:"Margin"})),"custom"==R&&b&&React.createElement(X.PanelBody,{title:(0,Y.__)("Subtitle","essential-blocks"),initialOpen:!1},React.createElement(qp,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:Bp,resRequiredProps:x}),React.createElement(Yp,{label:(0,Y.__)("Subtitle Color","essential-blocks"),color:m,onChange:function(e){return a({subtitleColor:e})}}),React.createElement(Yp,{label:(0,Y.__)("Subtitle Hover Color","essential-blocks"),color:g,onChange:function(e){return a({subtitleHoverColor:e})}}),React.createElement(zp,{resRequiredProps:x,controlName:up,baseLabel:"Margin"})),p&&React.createElement(X.PanelBody,{title:(0,Y.__)("Separator","essential-blocks"),initialOpen:!1},React.createElement(X.SelectControl,{label:(0,Y.__)("Separator Position","essential-blocks"),value:v,options:kp,onChange:function(e){return a({seperatorPosition:e})}}),React.createElement(X.BaseControl,{label:(0,Y.__)("Separator Type","essential-blocks"),id:"eb-advance-heading-alignment"},React.createElement(X.ButtonGroup,{id:"eb-advance-heading-alignment"},hp.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:h===e.value,isSecondary:h!==e.value,onClick:function(){return a({seperatorType:e.value})}},e.label)})))),"line"===h&&React.createElement(React.Fragment,null,React.createElement(X.SelectControl,{label:(0,Y.__)("Separator Style","essential-blocks"),value:w,options:Cp,onChange:function(e){return a({seperatorStyle:e})}}),React.createElement(Vp,{baseLabel:(0,Y.__)("Separator Height","essential-blocks"),controlName:mp,resRequiredProps:x,units:yp,min:0,max:100,step:1})),"icon"===h&&React.createElement(React.Fragment,null,React.createElement(Jp,{value:k,onChange:function(e){return a({separatorIcon:e})}}),React.createElement(Vp,{baseLabel:(0,Y.__)("Icon Size","essential-blocks"),controlName:gp,resRequiredProps:x,units:yp,min:0,max:100,step:1})),React.createElement(Vp,{baseLabel:(0,Y.__)("Separator Width","essential-blocks"),controlName:fp,resRequiredProps:x,units:vp,min:0,max:300,step:1}),React.createElement(Yp,{label:(0,Y.__)("Separator Color","essential-blocks"),color:f,onChange:function(e){return a({separatorColor:e})}}),React.createElement(Yp,{label:(0,Y.__)("Separator Hover Color","essential-blocks"),color:y,onChange:function(e){return a({separatorHoverColor:e})}}),React.createElement(zp,{resRequiredProps:x,controlName:dp,baseLabel:"Margin"}))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,null,React.createElement(zp,{resRequiredProps:x,controlName:ip,baseLabel:"Margin"}),React.createElement(zp,{resRequiredProps:x,controlName:sp,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Background","essential-blocks"),initialOpen:!1},React.createElement(Wp,{controlName:lp,resRequiredProps:x})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(Up,{controlName:bp,resRequiredProps:x})),React.createElement(Gp,{attributes:t,setAttributes:a})))}))))};var Xp=window.EBControls,$p=Xp.softMinifyCssStrings,Kp=Xp.generateTypographyStyles,eu=Xp.generateDimensionsControlStyles,tu=Xp.generateBorderShadowStyles,au=Xp.generateResponsiveRangeStyles,nu=Xp.generateBackgroundControlStyles,ou=Xp.StyleComponent;function ru(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=(t.resOption,t.blockId),r=(t.blockMeta,t.preset,t.align),c=(t.tagName,t.titleText,t.subtitleTagName,t.subtitleText,t.displaySubtitle,t.displaySeperator,t.titleColor),l=t.titleHoverColor,i=t.subtitleColor,s=t.subtitleHoverColor,b=t.separatorColor,p=t.separatorHoverColor,u=(t.seperatorPosition,t.seperatorType,t.seperatorStyle),d=(t.separatorIcon,t.classHook,t.blockRoot,Kp({attributes:t,prefixConstant:Sp})),m=d.typoStylesDesktop,g=d.typoStylesTab,f=d.typoStylesMobile,y=Kp({attributes:t,prefixConstant:Bp}),v=y.typoStylesDesktop,h=y.typoStylesTab,w=y.typoStylesMobile,k=eu({controlName:ip,styleFor:"margin",attributes:t}),R=k.dimensionStylesDesktop,_=k.dimensionStylesTab,E=k.dimensionStylesMobile,C=eu({controlName:sp,styleFor:"padding",attributes:t}),x=C.dimensionStylesDesktop,S=C.dimensionStylesTab,B=C.dimensionStylesMobile,T=eu({controlName:pp,styleFor:"margin",attributes:t}),N=T.dimensionStylesDesktop,P=T.dimensionStylesTab,O=T.dimensionStylesMobile,M=eu({controlName:up,styleFor:"margin",attributes:t}),D=M.dimensionStylesDesktop,j=M.dimensionStylesTab,I=M.dimensionStylesMobile,A=eu({controlName:dp,styleFor:"margin",attributes:t}),L=A.dimensionStylesDesktop,F=A.dimensionStylesTab,H=A.dimensionStylesMobile,z=tu({controlName:bp,attributes:t}),q=z.styesDesktop,U=z.styesTab,V=z.styesMobile,W=z.stylesHoverDesktop,G=z.stylesHoverTab,Z=z.stylesHoverMobile,Y=z.transitionStyle,J=au({controlName:mp,property:"border-width",attributes:t}),Q=J.rangeStylesDesktop,X=J.rangeStylesTab,$=J.rangeStylesMobile,K=au({controlName:gp,property:"font-size",attributes:t}),ee=K.rangeStylesDesktop,te=K.rangeStylesTab,ae=K.rangeStylesMobile,ne=au({controlName:fp,property:"width",attributes:t}),oe=ne.rangeStylesDesktop,re=ne.rangeStylesTab,ce=ne.rangeStylesMobile,le=nu({attributes:t,controlName:lp}),ie=le.backgroundStylesDesktop,se=le.hoverBackgroundStylesDesktop,be=le.backgroundStylesTab,pe=le.hoverBackgroundStylesTab,ue=le.backgroundStylesMobile,de=le.hoverBackgroundStylesMobile,me=le.overlayStylesDesktop,ge=le.hoverOverlayStylesDesktop,fe=le.overlayStylesTab,ye=le.hoverOverlayStylesTab,ve=le.overlayStylesMobile,he=le.hoverOverlayStylesMobile,we=le.bgTransitionStyle,ke=le.ovlTransitionStyle,Re="\n\t\t.eb-advance-heading-wrapper.".concat(o,"{\n\t\t\tposition: relative;\n\t\t\ttext-align: ").concat(r,";\n\t\t\t").concat(R,"\n\t\t\t").concat(x,"\n\t\t\t").concat(q,"\n\t\t\t").concat(ie,"\n\t\t\ttransition:").concat(we,", ").concat(Y,";\n\t\t}\n\n\t\t.eb-advance-heading-wrapper.").concat(o,":hover {\n\t\t\t").concat(W,"\n\t\t\t").concat(se,"\n\t\t}\n\n\t\t.eb-advance-heading-wrapper.").concat(o,":before{\n\t\t\t").concat(me,"\n\t\t\ttransition:").concat(ke,";\n\t\t}\n\n\t\t.eb-advance-heading-wrapper.").concat(o,":hover:before{\n\t\t\t").concat(ge,"\n\t\t}\n\t"),_e="\n\t\t.eb-advance-heading-wrapper.".concat(o,"{\n\t\t\t").concat(_,"\n\t\t\t").concat(S,"\n\t\t\t").concat(U,"\n\t\t\t").concat(be,"\n\t\t}\n\t\t.eb-advance-heading-wrapper.").concat(o,":hover {\n\t\t\t").concat(G,"\n\t\t\t").concat(pe,"\n\t\t}\n\n\t\t.eb-advance-heading-wrapper.").concat(o,":before{\n\t\t\t").concat(fe,"\n\t\t}\n\n\t\t.eb-advance-heading-wrapper.").concat(o,":hover:before{\n\t\t\t").concat(ye,"\n\t\t}\n\t"),Ee="\n\t\t.eb-advance-heading-wrapper.".concat(o,"{\n\t\t\t").concat(E,"\n\t\t\t").concat(B,"\n\t\t\t").concat(V,"\n\t\t\t").concat(ue,"\n\t\t}\n\t\t.eb-advance-heading-wrapper.").concat(o,":hover {\n\t\t\t").concat(Z,"\n\t\t\t").concat(de,"\n\t\t}\n\n\t\t.eb-advance-heading-wrapper.").concat(o,":before{\n\t\t\t").concat(ve,"\n\t\t}\n\n\t\t.eb-advance-heading-wrapper.").concat(o,":hover:before{\n\t\t\t").concat(he,"\n\t\t}\n\t"),Ce="\n\t\t.eb-advance-heading-wrapper.".concat(o," .eb-ah-title {\n\t\t\ttext-align: ").concat(r,";\n\t\t\tcolor: ").concat(c,";\n\t\t\t").concat(m,"\n\t\t\t").concat(N,"\n\t\t}\n        .eb-advance-heading-wrapper.").concat(o," .eb-ah-title a{\n            color: ").concat(c,";\n        }\n\t\t.eb-advance-heading-wrapper.").concat(o,":hover .eb-ah-title,\n        .eb-advance-heading-wrapper.").concat(o,":hover .eb-ah-title a {\n\t\t\tcolor: ").concat(l,";\n\t\t}\n\t"),xe="\n\t\t.eb-advance-heading-wrapper.".concat(o," .eb-ah-title {\n\t\t\t").concat(g,"\n\t\t\t").concat(P,"\n\t\t}\n\t"),Se="\n\t\t.eb-advance-heading-wrapper.".concat(o," .eb-ah-title {\n\t\t\t").concat(f,"\n\t\t\t").concat(O,"\n\t\t}\n\t"),Be="\n\t\t.eb-advance-heading-wrapper.".concat(o," .eb-ah-subtitle {\n\t\t\ttext-align: ").concat(r,";\n\t\t\tcolor: ").concat(i,";\n\t\t\t").concat(v,"\n\t\t\t").concat(D,"\n\t\t}\n\t\t.eb-advance-heading-wrapper.").concat(o,":hover .eb-ah-subtitle {\n\t\t\tcolor: ").concat(s,";\n\t\t}\n\t"),Te="\n\t\t.eb-advance-heading-wrapper.".concat(o," .eb-ah-subtitle {\n\t\t\t").concat(h,"\n\t\t\t").concat(j,"\n\t\t}\n\t"),Ne="\n\t\t.eb-advance-heading-wrapper.".concat(o," .eb-ah-subtitle {\n\t\t\t").concat(w,"\n\t\t\t").concat(I,"\n\t\t}\n\t"),Pe="\n\t\t.eb-advance-heading-wrapper.".concat(o," .eb-ah-separator {\n\t\t\tcolor: ").concat(i,";\n\t\t\t").concat(L,"\n\t\t}\n\t\t.eb-advance-heading-wrapper.").concat(o," .eb-ah-separator.line {\n\t\t\tborder-style: none none ").concat(u,";\n\t\t\tborder-color: ").concat(b,";\n\t\t\t").concat(Q,"\n\t\t\t").concat(oe,"\n\t\t\t").concat("center"===r?"margin-left: auto; margin-right: auto":"","\n\t\t\t").concat("right"===r?"margin-left: auto; margin-right: 0":"","\n\t\t}\n\t\t.eb-advance-heading-wrapper.").concat(o,":hover .eb-ah-separator.line {\n\t\t\tborder-color: ").concat(p,";\n\t\t}\n\t\t.eb-advance-heading-wrapper.").concat(o," .eb-ah-separator.icon {\n\t\t\ttext-align: ").concat(r,";\n\t\t\tcolor: ").concat(b,";\n\t\t\t").concat(ee,"\n\t\t}\n\t\t.eb-advance-heading-wrapper.").concat(o,":hover .eb-ah-separator.icon {\n\t\t\tcolor: ").concat(p,";\n\t\t}\n\t"),Oe="\n\t\t.eb-advance-heading-wrapper.".concat(o," .eb-ah-separator {\n\t\t\t").concat(F,"\n\t\t}\n\t\t.eb-advance-heading-wrapper.").concat(o," .eb-ah-separator.line {\n\t\t\t").concat(X,"\n\t\t\t").concat(re,"\n\t\t}\n\t\t.eb-advance-heading-wrapper.").concat(o," .eb-ah-separator.icon {\n\t\t\t").concat(te,"\n\t\t}\n\t"),Me="\n\t.eb-advance-heading-wrapper.".concat(o," .eb-ah-separator {\n\t\t\t").concat(H,"\n\t\t}\n\t\t.eb-advance-heading-wrapper.").concat(o," .eb-ah-separator.line {\n\t\t\t").concat($,"\n\t\t\t").concat(ce,"\n\t\t}\n\t\t.eb-advance-heading-wrapper.").concat(o," .eb-ah-separator.icon {\n\t\t\t").concat(ae,"\n\t\t}\n\t"),De=$p("\n\t\t\t".concat(Re,"\n\t\t\t").concat(Ce,"\n\t\t\t").concat(Be,"\n\t\t\t").concat(Pe,"\n\t\t")),je=$p("\n\t\t\t".concat(_e,"\n\t\t\t").concat(xe,"\n\t\t\t").concat(Te,"\n\t\t\t").concat(Oe,"\n\t\t")),Ie=$p("\n\t\t\t".concat(Ee,"\n\t\t\t").concat(Se,"\n\t\t\t").concat(Ne,"\n\t\t\t").concat(Me,"\n\t\t"));return React.createElement(React.Fragment,null,React.createElement(ou,{attributes:t,setAttributes:a,desktopAllStyles:De,tabAllStyles:je,mobileAllStyles:Ie,blockName:n}))}function cu(e){return cu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},cu(e)}function lu(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}function iu(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function su(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?iu(Object(a),!0).forEach((function(t){bu(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):iu(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function bu(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=cu(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=cu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==cu(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var pu=window.EBControls,uu=pu.DynamicInputValueHandler,du=pu.EBDisplayIcon,mu=pu.BlockProps,gu=window.EBControls,fu=gu.EBDisplayIcon,yu=gu.BlockProps;function vu(e){return vu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vu(e)}function hu(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function wu(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?hu(Object(a),!0).forEach((function(t){ku(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):hu(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function ku(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=vu(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=vu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==vu(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var Ru=window.EBControls.EBDisplayIcon;const _u=[{attributes:wu({},(0,lodash.omit)(wu({},Fp),["source","enableLink","titleLink","openInNewTab"])),supports:{anchor:!0},save:function(e){var t=e.attributes,a=t.blockId,n=t.preset,o=t.tagName,r=t.titleText,c=t.subtitleTagName,l=t.displaySubtitle,i=t.subtitleText,s=t.seperatorType,b=t.displaySeperator,p=t.seperatorPosition,u=t.separatorIcon,d=t.classHook;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(d)},React.createElement("div",{className:"eb-advance-heading-wrapper ".concat(a," ").concat(n),"data-id":a},b&&"top"===p&&React.createElement("div",{className:"eb-ah-separator "+s},"icon"===s&&React.createElement(Ru,{icon:u})),React.createElement(Q.RichText.Content,{tagName:o,className:"eb-ah-title",value:r}),l&&React.createElement(Q.RichText.Content,{tagName:c,className:"eb-ah-subtitle",value:i}),b&&"bottom"===p&&React.createElement("div",{className:"eb-ah-separator "+s},"icon"===s&&React.createElement(Ru,{icon:u})))))}},{attributes:wu(wu({},Fp),{},{titleText:{type:"string",default:"Essential Block Advanced Heading"},subtitleText:{type:"string",default:"Essential Block Advance Subtitle"}}),supports:{anchor:!0},save:function(e){var t=e.attributes,a=t.blockId,n=t.preset,o=t.tagName,r=t.titleText,c=t.subtitleTagName,l=t.displaySubtitle,i=t.subtitleText,s=t.seperatorType,b=t.displaySeperator,p=t.seperatorPosition,u=t.separatorIcon,d=t.classHook;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(d)},React.createElement("div",{className:"eb-advance-heading-wrapper ".concat(a," ").concat(n),"data-id":a},b&&"top"===p&&React.createElement("div",{className:"eb-ah-separator "+s},"icon"===s&&React.createElement("i",{className:"".concat(u||"fas fa-arrow-circle-down")})),React.createElement(Q.RichText.Content,{tagName:o,className:"eb-ah-title",value:r}),l&&React.createElement(Q.RichText.Content,{tagName:c,className:"eb-ah-subtitle",value:i}),b&&"bottom"===p&&React.createElement("div",{className:"eb-ah-separator "+s},"icon"===s&&React.createElement("i",{className:"".concat(u||"fas fa-arrow-circle-down")})))))}},{attributes:wu({},Fp),supports:{anchor:!0},save:function(e){var t=e.attributes,a=t.blockId,n=t.preset,o=t.tagName,r=t.titleText,c=t.subtitleTagName,l=t.displaySubtitle,i=t.subtitleText,s=t.seperatorType,b=t.displaySeperator,p=t.separatorIcon,u=t.classHook;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(u)},React.createElement("div",{className:"eb-advance-heading-wrapper ".concat(a," ").concat(n),"data-id":a},React.createElement(Q.RichText.Content,{tagName:o,className:"eb-ah-title",value:r}),l&&React.createElement(Q.RichText.Content,{tagName:c,className:"eb-ah-subtitle",value:i}),b&&React.createElement("div",{className:"eb-ah-separator "+s},"icon"===s&&React.createElement("i",{className:"".concat(p||"fas fa-arrow-circle-down")})))))}},{attributes:wu({},Fp),supports:{anchor:!0},save:function(e){var t=e.attributes,a=t.blockId,n=t.preset,o=t.tagName,r=t.titleText,c=t.displaySubtitle,l=t.subtitleText,i=t.seperatorType,s=t.displaySeperator,b=t.separatorIcon;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-advance-heading-wrapper ".concat(a," ").concat(n),"data-id":a},React.createElement(Q.RichText.Content,{tagName:o,className:"eb-ah-title",value:r}),c&&React.createElement(Q.RichText.Content,{tagName:"p",className:"eb-ah-subtitle",value:l}),s&&React.createElement("div",{className:"eb-ah-separator "+i},"icon"===i&&React.createElement("i",{className:"".concat(b||"fas fa-arrow-circle-down")}))))}},{attributes:wu({},Fp),save:function(e){var t=e.attributes,a=t.blockId,n=t.preset,o=t.tagName,r=t.titleText,c=t.displaySubtitle,l=t.subtitleText,i=t.seperatorType,s=t.displaySeperator,b=t.separatorIcon;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-advance-heading-wrapper ".concat(a," ").concat(n),"data-id":a},React.createElement(Q.RichText.Content,{tagName:o,className:"eb-ah-title",value:r}),c&&React.createElement(Q.RichText.Content,{tagName:"p",className:"eb-ah-subtitle",value:l}),s&&React.createElement("div",{className:"eb-ah-separator "+i},"icon"===i&&React.createElement("i",{className:"".concat(b||"fas fa-arrow-circle-down")}))))}}],Eu=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Advanced Heading","name":"essential-blocks/advanced-heading","category":"essential-blocks","description":"Create advanced heading with title, subtitle and separator controls","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true},"editorScript":"essential-blocks-editor-script"}');var Cu=EBControls.ebConditionalRegisterBlockType;Eu.name,Eu.category,Cu(Eu,{keywords:[(0,Y.__)("heading","essential-blocks"),(0,Y.__)("Advanced Heading","essential-blocks"),(0,Y.__)("heading block","essential-blocks"),(0,Y.__)("heading box","essential-blocks"),(0,Y.__)("dynamic title","essential-blocks")],icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"57",height:"56",fill:"none",viewBox:"0 0 57 56"},React.createElement("path",{fill:"#6C3BFF",d:"M2.829 2.686h31.8c.685 0 1.2-.515 1.2-1.2 0-.686-.515-1.2-1.2-1.2h-31.8C1.2.286 0 1.657 0 3.029v9.685c0 .857.343 1.543.857 2.143.514.514 1.372.857 2.143.857h4.2c1.543 0 2.829-1.371 2.829-2.828v-1.972h12.514v35.143h-9.514c-1.543 0-2.829 1.372-2.829 2.829v4.2c0 1.543 1.371 2.828 2.829 2.828H24.77c.686 0 1.2-.514 1.2-1.2 0-.685-.514-1.2-1.2-1.2H13.03a.369.369 0 01-.343-.343v-4.2c0-.171.171-.342.343-.342h10.714c.686 0 1.2-.515 1.2-1.2V9.543c0-.686-.514-1.2-1.2-1.2H8.57c-.685 0-1.2.514-1.2 1.2v3.171a.369.369 0 01-.342.343h-4.2c-.172 0-.172-.171-.343-.171 0 0-.172-.172-.172-.343V2.857c0 .172.172-.171.515-.171z"}),React.createElement("path",{fill:"#6C3BFF",d:"M42 46.143h-9.514V11H45v1.971c0 1.543 1.371 2.829 2.829 2.829h4.2c1.542 0 2.828-1.371 2.828-2.829V3.286c0-1.543-1.371-2.829-2.828-2.829H39.857c-.686 0-1.2.514-1.2 1.2 0 .686.514 1.2 1.2 1.2h12.086c.171 0 .343.172.343.343v9.686a.369.369 0 01-.343.343h-4.2a.369.369 0 01-.343-.343V9.714c0-.685-.514-1.2-1.2-1.2H31.286c-.686 0-1.2.515-1.2 1.2v37.629c0 .686.514 1.2 1.2 1.2H42c.171 0 .343.171.343.343v4.2a.369.369 0 01-.343.343H30c-.686 0-1.2.514-1.2 1.2 0 .685.514 1.2 1.2 1.2h11.743c1.543 0 2.828-1.372 2.828-2.829v-4.2c.258-1.286-1.028-2.657-2.571-2.657z"}),React.createElement("path",{fill:"#6C3BFF",d:"M43.543 34.143h.857c.686 0 1.2-.514 1.2-1.2 0-.686-.514-1.2-1.2-1.2h-.857c-.686 0-1.2.514-1.2 1.2 0 .686.514 1.2 1.2 1.2zM55.029 31.743H48c-.686 0-1.2.514-1.2 1.2 0 .686.514 1.2 1.2 1.2h7.029c.685 0 1.2-.514 1.2-1.2 0-.686-.515-1.2-1.2-1.2zM43.543 38.343H54.77c.686 0 1.2-.514 1.2-1.2 0-.686-.514-1.2-1.2-1.2H43.543c-.686 0-1.2.514-1.2 1.2 0 .686.514 1.2 1.2 1.2zM56.229 41.171c0-.685-.515-1.2-1.2-1.2H43.543c-.686 0-1.2.515-1.2 1.2 0 .686.514 1.2 1.2 1.2H54.77c.943.258 1.458-.514 1.458-1.2z"}))},attributes:Fp,edit:function(e){var t,a=e.attributes,n=e.setAttributes,o=e.isSelected,r=a.blockId,c=a.preset,l=a.align,i=a.tagName,s=a.titleText,b=a.subtitleTagName,p=a.subtitleText,u=a.displaySubtitle,d=a.displaySeperator,m=a.seperatorPosition,g=a.seperatorType,f=a.separatorIcon,y=a.classHook,v=a.source,h=a.currentPostId,w=a.currentPostType,k=su(su({},e),{},{blockPrefix:"eb-advance-heading",style:React.createElement(ru,e)});(0,J.useEffect)((function(){null==v&&n({source:"custom"})}),[]),(0,J.useEffect)((function(){var e,t,a=null===(e=(0,$.select)("core/editor"))||void 0===e?void 0:e.getCurrentPostId(),o=null===(t=(0,$.select)("core/editor"))||void 0===t?void 0:t.getCurrentPostType();a&&n({currentPostId:a,currentPostType:o})}),[v]);var R,_,E=(R=(0,cp.useEntityProp)("postType",w,"title",h),_=3,function(e){if(Array.isArray(e))return e}(R)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,r,c,l=[],i=!0,s=!1;try{if(r=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;i=!1}else for(;!(i=(n=r.call(a)).done)&&(l.push(n.value),l.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{if(!i&&null!=a.return&&(c=a.return(),Object(c)!==c))return}finally{if(s)throw o}}return l}}(R,_)||function(e,t){if(e){if("string"==typeof e)return lu(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?lu(e,t):void 0}}(R,_)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),C=E[0],x=void 0===C?"":C,S=E[1],B=(E[2],i);return React.createElement(React.Fragment,null,o&&React.createElement(React.Fragment,null,React.createElement(Q.BlockControls,null,React.createElement(Q.AlignmentToolbar,{value:l,onChange:function(e){return n({align:e})},controls:["left","center","right"]})),React.createElement(Qp,{attributes:a,setAttributes:n})),React.createElement(mu.Edit,k,"dynamic-title"==v&&0==h&&React.createElement("div",{className:"eb-loading"},React.createElement("img",{src:"".concat(null===(t=EssentialBlocksLocalize)||void 0===t?void 0:t.image_url,"/ajax-loader.gif"),alt:"Loading..."})),("dynamic-title"==v&&0!=h||"custom"==v)&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(r," ").concat(y)},React.createElement("div",{className:"eb-advance-heading-wrapper ".concat(r," ").concat(c),"data-id":r},d&&"top"===m&&React.createElement("div",{className:"eb-ah-separator "+g},"icon"===g&&React.createElement(du,{icon:f})),"dynamic-title"==v&&React.createElement(React.Fragment,null,h>0&&React.createElement(uu,{value:x,tagName:i,className:"eb-ah-title",allowedFormats:["core/bold","core/italic","core/link","core/strikethrough","core/underline","core/text-color"],onChange:S,readOnly:!0}),"string"==typeof h&&React.createElement(B,null,x||(0,Y.__)("Title"))),"custom"==v&&React.createElement(uu,{value:s,tagName:i,className:"eb-ah-title",allowedFormats:["core/bold","core/italic","core/link","core/strikethrough","core/underline","core/text-color"],onChange:function(e){return n({titleText:e})},readOnly:!0}),"custom"==v&&u&&React.createElement(uu,{tagName:b,className:"eb-ah-subtitle",value:p,allowedFormats:["core/bold","core/italic","core/link","core/strikethrough","core/underline","core/text-color"],onChange:function(e){return n({subtitleText:e})},readOnly:!0}),d&&"bottom"===m&&React.createElement("div",{className:"eb-ah-separator "+g},"icon"===g&&React.createElement(du,{icon:f})))))))},save:function(e){var t=e.attributes,a=t.blockId,n=t.preset,o=t.tagName,r=t.titleText,c=t.subtitleTagName,l=t.displaySubtitle,i=t.subtitleText,s=t.seperatorType,b=t.displaySeperator,p=t.seperatorPosition,u=t.separatorIcon,d=t.classHook,m=t.source,g=t.enableLink,f=t.titleLink,y=t.openInNewTab;if("dynamic-title"==m)return null;var v=y?"_blank":void 0;return React.createElement(yu.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(d)},React.createElement("div",{className:"eb-advance-heading-wrapper ".concat(a," ").concat(n),"data-id":a},b&&"top"===p&&React.createElement("div",{className:"eb-ah-separator "+s},"icon"===s&&React.createElement(fu,{icon:u})),g&&f.length>0&&React.createElement(o,{className:"eb-ah-title"},React.createElement("a",{href:f,target:v,rel:"_blank"===v?"noopener":void 0},r)),(!g||g&&0==f.length)&&React.createElement(Q.RichText.Content,{tagName:o,className:"eb-ah-title",value:r}),l&&React.createElement(Q.RichText.Content,{tagName:c,className:"eb-ah-subtitle",value:i}),b&&"bottom"===p&&React.createElement("div",{className:"eb-ah-separator "+s},"icon"===s&&React.createElement(fu,{icon:u})))))},example:{attributes:{displaySubtitle:!0,displaySeperator:!0,align:"left",titleColor:"#551ef7",subtitleColor:"#555555",separatorColor:"#551ef7",seperatorType:"line",wrpPaddingisLinked:!1,wrpPaddingUnit:"px",wrpPaddingTop:"0",wrpPaddingBottom:"0",wrpPaddingLeft:"0",wrpPaddingRight:"0",wrprBgbackgroundColor:"rgba(255,255,255,1)",wrprBgbackgroundType:"classic"}},deprecated:_u});function xu(e){return function(e){if(Array.isArray(e))return Su(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Su(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?Su(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Su(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}lodash.times;var Bu="wrpBg_",Tu="ttlBg_",Nu="actTlBg_",Pu="conBg_",Ou="ttlWBg_",Mu="wrpBds_",Du="ttlBds_",ju="actTlBds_",Iu="conBds_",Au="ttlWBds_",Lu="wrpM_",Fu="wrpP_",Hu="ttlP_",zu="ttlM_",qu="conM_",Uu="conP_",Vu="ttlWM_",Wu="ttlWP_",Gu="ttlMinW_",Zu="iconZ_",Yu="iconGap_",Ju="carZ_",Qu="title_";function Xu(e){return Xu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Xu(e)}function $u(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Ku(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?$u(Object(a),!0).forEach((function(t){ed(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):$u(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function ed(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=Xu(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=Xu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Xu(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var td=EBControls,ad=td.generateDimensionsAttributes,nd=td.generateTypographyAttributes,od=td.generateBackgroundAttributes,rd=td.generateBorderShadowAttributes,cd=td.generateResponsiveRangeAttributes;const ld=Ku(Ku(Ku(Ku(Ku(Ku(Ku(Ku(Ku(Ku(Ku(Ku(Ku(Ku(Ku(Ku(Ku(Ku(Ku(Ku(Ku(Ku(Ku({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},align:{type:"string",default:"wide"},layout:{type:"string",default:"horizontal"},tagName:{type:"string",default:"h6"},mediaPositon:{type:"string",default:"inline"},mediaAlign:{type:"string",default:"left"},tabTitles:{type:"array",default:[]},tabChildCount:{type:"number",default:3},isMediaOn:{type:"boolean",default:!0},isFillTitle:{type:"boolean",default:!0},isMinHeightAsTitle:{type:"boolean",default:!0},enableResponsiveLayout:{type:"boolean",default:!1},verticalToHorizontal:{type:"string",default:"mobile"},textColor:{type:"string",default:"var(--eb-global-heading-color)"},iconColor:{type:"string",default:"var(--eb-global-heading-color)"},hvTextColor:{type:"string"},hvIconColor:{type:"string"},actTextColor:{type:"string",default:"var(--eb-global-background-color)"},actIconColor:{type:"string",default:"var(--eb-global-background-color)"},actHvTextColor:{type:"string"},actHvIconColor:{type:"string"},colorTransition:{type:"number"},actColorTransition:{type:"number"},showCaret:{type:"boolean",default:!0},caretColor:{type:"string",default:"var(--eb-global-primary-color)"},closeAllTabs:{type:"boolean",default:!1}},nd(Object.values(p))),cd(Gu,{})),cd(Zu,{defaultRange:18,noUnits:!0})),cd(Yu,{defaultRange:10,noUnits:!0})),cd(Ju,{defaultRange:8,noUnits:!0})),od(Bu)),od(Tu,{defaultFillColor:"var(--eb-global-background-color)",noOverlay:!0,defaultBgGradient:"var(--eb-gradient-background-color)"})),od(Nu,{defaultFillColor:"var(--eb-global-primary-color)",noOverlay:!0,defaultBgGradient:"var(--eb-gradient-background-color)"})),od(Pu,{noOverlay:!0})),od(Ou,{noOverlay:!0})),rd(Mu,{})),rd(Du)),rd(ju)),rd(Iu,{bdrDefaults:{top:1,bottom:1,right:1,left:1},defaultBdrColor:"#EEEDF0",defaultBdrStyle:"solid"})),rd(Au)),ad(Lu,{})),ad(Fu)),ad(Hu,{top:10,bottom:10,left:10,right:10})),ad(zu)),ad(qu)),ad(Uu,{top:10,bottom:10,left:15,right:15,isLinked:!1})),ad(Vu)),ad(Wu));(0,Y.__)("Preset 1"),(0,Y.__)("Preset 2"),(0,Y.__)("Preset 3"),(0,Y.__)("Preset 4");var id=[{label:(0,Y.__)("Tab & Mobile"),value:"tab"},{label:(0,Y.__)("Mobile"),value:"mobile"}],sd=((0,Y.__)("Left"),(0,Y.__)("Center"),(0,Y.__)("Right"),(0,Y.__)("Left"),(0,Y.__)("Center"),(0,Y.__)("Right"),(0,Y.__)("Top"),(0,Y.__)("Middle"),(0,Y.__)("Bottom"),[{label:(0,Y.__)("H1","essential-blocks"),value:"h1"},{label:(0,Y.__)("H2","essential-blocks"),value:"h2"},{label:(0,Y.__)("H3","essential-blocks"),value:"h3"},{label:(0,Y.__)("H4","essential-blocks"),value:"h4"},{label:(0,Y.__)("H5","essential-blocks"),value:"h5"},{label:(0,Y.__)("H6","essential-blocks"),value:"h6"},{label:(0,Y.__)("P","essential-blocks"),value:"p"},{label:(0,Y.__)("DIV","essential-blocks"),value:"div"},{label:(0,Y.__)("SPAN","essential-blocks"),value:"span"}]);function bd(e){return bd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},bd(e)}function pd(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function ud(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=bd(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=bd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==bd(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function dd(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,r,c,l=[],i=!0,s=!1;try{if(r=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;i=!1}else for(;!(i=(n=r.call(a)).done)&&(l.push(n.value),l.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{if(!i&&null!=a.return&&(c=a.return(),Object(c)!==c))return}finally{if(s)throw o}}return l}}(e,t)||md(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function md(e,t){if(e){if("string"==typeof e)return gd(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?gd(e,t):void 0}}function gd(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}(0,Y.__)("Fill"),(0,Y.__)("Gradient"),(0,Y.__)("Image"),(0,Y.__)("Auto"),(0,Y.__)("Cover"),(0,Y.__)("Contain"),(0,Y.__)("None"),(0,Y.__)("Dashed"),(0,Y.__)("Solid"),(0,Y.__)("Dotted"),(0,Y.__)("Double"),(0,Y.__)("Groove"),(0,Y.__)("Inset"),(0,Y.__)("Outset"),(0,Y.__)("Ridge"),(0,Y.__)("Select Hover Effect","essential-blocks"),(0,Y.__)("Grow","essential-blocks"),(0,Y.__)("Shrink","essential-blocks"),(0,Y.__)("Pulse","essential-blocks"),(0,Y.__)("Pulse Grow","essential-blocks"),(0,Y.__)("Pulse Shrink","essential-blocks"),(0,Y.__)("Push","essential-blocks"),(0,Y.__)("Pop","essential-blocks"),(0,Y.__)("Bounce In","essential-blocks"),(0,Y.__)("Bounce Out","essential-blocks"),(0,Y.__)("Rotate","essential-blocks"),(0,Y.__)("Grow Rotate","essential-blocks"),(0,Y.__)("Float","essential-blocks"),(0,Y.__)("Sink","essential-blocks"),(0,Y.__)("Bob","essential-blocks"),(0,Y.__)("Hang","essential-blocks"),(0,Y.__)("Skew","essential-blocks"),(0,Y.__)("Skew Forward","essential-blocks"),(0,Y.__)("Skew Backward","essential-blocks"),(0,Y.__)("Wobble Horizontal","essential-blocks"),(0,Y.__)("Wobble Vertical","essential-blocks"),(0,Y.__)("Wobble To Bottom Right","essential-blocks"),(0,Y.__)("Wobble To Top Right","essential-blocks"),(0,Y.__)("Wobble Top","essential-blocks"),(0,Y.__)("Wobble Bottom","essential-blocks"),(0,Y.__)("Wobble Skew","essential-blocks"),(0,Y.__)("Buzz","essential-blocks"),(0,Y.__)("Buzz Out","essential-blocks"),(0,Y.__)("Forward","essential-blocks"),(0,Y.__)("Fade","essential-blocks"),(0,Y.__)("Back Pulse","essential-blocks"),(0,Y.__)("Sweep To Right","essential-blocks"),(0,Y.__)("Sweep To Left","essential-blocks"),(0,Y.__)("Sweep To Bottom","essential-blocks"),(0,Y.__)("Sweep To Top","essential-blocks"),(0,Y.__)("Bounce To Right","essential-blocks"),(0,Y.__)("Bounce To Left","essential-blocks"),(0,Y.__)("Bounce To Bottom","essential-blocks"),(0,Y.__)("Bounce To Top","essential-blocks"),(0,Y.__)("Radial Out","essential-blocks"),(0,Y.__)("Radial In","essential-blocks"),(0,Y.__)("Rectangle In","essential-blocks"),(0,Y.__)("Rectangle Out","essential-blocks"),(0,Y.__)("Shutter In Horizontal","essential-blocks"),(0,Y.__)("Shutter Out Horizontal","essential-blocks"),(0,Y.__)("Shutter In Vertical","essential-blocks"),(0,Y.__)("Shutter Out Vertical","essential-blocks"),(0,Y.__)("Curl Top Left","essential-blocks"),(0,Y.__)("Curl Top Right","essential-blocks"),(0,Y.__)("Curl Bottom Right","essential-blocks"),(0,Y.__)("Curl Bottom Left","essential-blocks");var fd=EBControls,yd=fd.BackgroundControl,vd=fd.BorderShadowControl,hd=fd.ColorControl,wd=fd.ResponsiveRangeController,kd=fd.ResponsiveDimensionsControl,Rd=fd.TypographyDropdown,_d=fd.AdvancedControls,Ed=fd.SortControl,Cd=fd.ImageAvatar,xd=fd.EBIconPicker;const Sd=function(e){var t=e.attributes,a=e.setAttributes,n=e.clientId,o=e.handleTabTitleClick,r=t.blockId,c=t.resOption,l=t.tabTitles,i=t.tabChildCount,s=t.isMediaOn,b=t.layout,p=t.mediaPositon,u=t.mediaAlign,d=t.textColor,m=t.iconColor,g=t.hvTextColor,f=t.hvIconColor,y=t.actTextColor,v=t.actIconColor,h=t.actHvTextColor,w=t.actHvIconColor,k=t.colorTransition,R=t.actColorTransition,_=t.showCaret,E=t.caretColor,C=t.isFillTitle,x=t.isMinHeightAsTitle,S=t.enableResponsiveLayout,B=t.verticalToHorizontal,T=t.tagName,N=t.closeAllTabs,P=dd((0,J.useState)("normal"),2),O=P[0],M=P[1],D=dd((0,J.useState)("normal"),2),j=D[0],I=D[1],A={setAttributes:a,resOption:c,attributes:t,objAttributes:ld},L=function(){!function(e){var t=e.clientId,a=e.tabChildCount,n=e.setAttributes,o=e.tabTitles,r=e.blockId,c=e.handleTabTitleClick,l=xu((0,$.select)("core/block-editor").getBlocks(t)),i=o.reduce((function(e,t){return Math.max(parseInt(e),parseInt(t.id))}),0),s="".concat(i+1),b=(0,K.createBlock)("essential-blocks/tab",{tabId:s,tabParentId:"".concat(r)});l.splice(l.length,0,b),(0,$.dispatch)("core/block-editor").replaceInnerBlocks(t,l).then((function(){n({tabTitles:[].concat(xu(o),[{text:"Tab Title ".concat(parseInt(l.length)),id:s,media:"icon",icon:"fas fa-home"}]),tabChildCount:a+1}),c(s)}))}({setAttributes:a,tabChildCount:i,clientId:n,tabTitles:l,blockId:r,handleTabTitleClick:o})},F=function(){var e=function(e,n,o){var r,c=function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?pd(Object(a),!0).forEach((function(t){ud(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):pd(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}({},t.tabTitles[o]),l=function(e){if(Array.isArray(e))return gd(e)}(r=t.tabTitles)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||md(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();l[o]=c,Array.isArray(e)?e.map((function(e,t){l[o][e]=n[t]})):l[o][e]=n,a({tabTitles:l})};return t.tabTitles.map((function(t,n){return React.createElement("div",{key:n},React.createElement(X.ToggleControl,{label:(0,Y.__)("Active Initially","essential-blocks"),checked:t.isDefault||!1,onChange:function(){var e,n;e=t.id,n=l.map((function(t){return t.id===e?t.isDefault=!t.isDefault:t.isDefault=!1,t})),a({tabTitles:n})}}),React.createElement(X.ButtonGroup,null,[{label:(0,Y.__)("None","essential-blocks"),value:"none"},{label:(0,Y.__)("Icon","essential-blocks"),value:"icon"},{label:(0,Y.__)("Image","essential-blocks"),value:"image"}].map((function(a,o){return React.createElement(X.Button,{key:o,isSecondary:t.media!==a.value,isPrimary:t.media===a.value,onClick:function(){e("media",a.value,n)}},a.label)}))),"icon"===t.media&&React.createElement("div",null,React.createElement("label",null,"Icon"),React.createElement(xd,{value:t.icon,onChange:function(t){return e("icon",t,n)},title:""})),"image"===t.media&&React.createElement(React.Fragment,null,!t.imgUrl&&React.createElement(Q.MediaUpload,{onSelect:function(t){var a=t.id,o=t.url;e(["imgId","imgUrl"],[a,o],n)},type:"image",value:t.imgId,render:function(e){var t=e.open;return React.createElement(X.Button,{className:"eb-background-control-inspector-panel-img-btn components-button",label:(0,Y.__)("Upload Image","essential-blocks"),icon:"format-image",onClick:t})}}),t.imgUrl&&React.createElement(Cd,{imageUrl:t.imgUrl,onDeleteImage:function(){e(["imgId","imgUrl"],[null,null],n)}})),React.createElement(X.TextControl,{label:(0,Y.__)("Custom ID","essential-blocks"),value:t.customId,onChange:function(t){return e("customId",t,n)},help:(0,Y.__)("Custom ID will be added as an anchor tag. For example, if you add ‘test’ as your custom ID, the link will become like the following: https://www.example.com/#test and it will open the respective tab directly.","essential-blocks")}))}))};return React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:"General",className:"eb-tab general"},{name:"styles",title:"Style",className:"eb-tab styles"},{name:"advance",title:"Advanced",className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls"+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Tabs List","essential-blocks")},React.createElement(Ed,{items:t.tabTitles,labelKey:"text",onSortEnd:function(e){return a({tabTitles:e})},onDeleteItem:function(e){a({tabTitles:t.tabTitles.filter((function(t,a){return a!==e}))})},hasSettings:!0,settingsComponents:F(),hasAddButton:!0,onAddItem:L,addButtonText:(0,Y.__)("Add Tab","essential-blocks")})),React.createElement(X.PanelBody,{title:(0,Y.__)("Tabs Settings","essential-blocks"),initialOpen:!1},React.createElement(X.BaseControl,{label:(0,Y.__)("Title Level","essential-blocks"),id:"eb-advance-heading-alignment"},React.createElement(X.ButtonGroup,{className:"eb-advance-heading-alignment eb-html-tag-buttongroup"},sd.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:T===e.value,isSecondary:T!==e.value,onClick:function(){return a({tagName:e.value})}},e.label)})))),React.createElement(X.SelectControl,{label:(0,Y.__)("Tabs Layout","essential-blocks"),value:b,options:[{label:(0,Y.__)("Horizontal","essential-blocks"),value:"horizontal"},{label:(0,Y.__)("Vertical","essential-blocks"),value:"vertical"}],onChange:function(e){return function(e){a({layout:e})}(e)}}),"horizontal"===b&&React.createElement(React.Fragment,null,React.createElement(X.ToggleControl,{label:(0,Y.__)("Fill Titles' Wrapper","essential-blocks"),checked:C,onChange:function(){return a({isFillTitle:!C})}})),"vertical"===b&&React.createElement(React.Fragment,null,React.createElement(X.ToggleControl,{label:(0,Y.__)("Enable Responsive Layout","essential-blocks"),checked:S,onChange:function(){return a({enableResponsiveLayout:!S})}}),React.createElement(X.PanelRow,{className:"eb-instruction"},React.createElement("strong",null,"Note:")," Enable this option to switch the layout from vertical to horizontal on responsive devices."),S&&React.createElement(X.BaseControl,{label:(0,Y.__)("Select Devices for Horizontal Layout","essential-blocks"),id:"eb-advance-heading-alignment"},React.createElement(X.ButtonGroup,{className:"eb-advance-heading-alignment eb-verticaltohorizontal-buttongroup"},id.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:B===e.value,isSecondary:B!==e.value,onClick:function(){return a({verticalToHorizontal:e.value})}},e.label)})))),React.createElement(X.ToggleControl,{label:(0,Y.__)("Minimum Height Based on Tabs Heading Panel","essential-blocks"),checked:x,onChange:function(){return a({isMinHeightAsTitle:!x})}}),React.createElement(X.PanelRow,{className:"eb-instruction"},React.createElement("strong",null,"Note:")," When enabled, the tab content will have a minimum height equal to the height of the heading panel.")),React.createElement(X.ToggleControl,{label:(0,Y.__)("Enable Icon","essential-blocks"),checked:s,onChange:function(){return a({isMediaOn:!s})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Close All Tabs Initially","essential-blocks"),checked:N,onChange:function(){return a({closeAllTabs:!N})}}),s&&React.createElement(React.Fragment,null,React.createElement(X.SelectControl,{label:(0,Y.__)("Icon Layout","essential-blocks"),value:p,options:[{label:(0,Y.__)("Stacked","essential-blocks"),value:"stacked"},{label:(0,Y.__)("Inline","essential-blocks"),value:"inline"}],onChange:function(e){return a({mediaPositon:e})}}),"inline"===p&&React.createElement(React.Fragment,null,React.createElement(X.ButtonGroup,{id:"eb-advTabs-type-btgrp"},[{label:(0,Y.__)("Left","essential-blocks"),value:"left"},{label:(0,Y.__)("Right","essential-blocks"),value:"right"}].map((function(e,t){return React.createElement(X.Button,{key:t,isSecondary:u!==e.value,isPrimary:u===e.value,onClick:function(){return a({mediaAlign:e.value})}},e.label)}))),React.createElement("label",{style:{display:"block"}},React.createElement("i",null,"Set icon position before/after the tab title.")))))),"styles"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Tab Title","essential-blocks")},React.createElement(Rd,{baseLabel:"Typography",typographyPrefixConstant:Qu,resRequiredProps:A}),React.createElement(wd,{baseLabel:(0,Y.__)("Title Min Width","essential-blocks"),controlName:Gu,resRequiredProps:A,min:0,max:1e3,step:1,units:[{label:"px",value:"px"},{label:"em",value:"em"},{label:"%",value:"%"}]}),React.createElement(wd,{baseLabel:(0,Y.__)("Icon Size","essential-blocks"),controlName:Zu,resRequiredProps:A,min:0,max:200,step:1,noUnits:!0}),React.createElement(wd,{baseLabel:(0,Y.__)("Icon Gap","essential-blocks"),controlName:Yu,resRequiredProps:A,min:0,max:200,step:1,noUnits:!0}),React.createElement(kd,{resRequiredProps:A,controlName:Hu,baseLabel:"Padding"}),React.createElement(kd,{resRequiredProps:A,controlName:zu,baseLabel:"Margin"}),React.createElement(X.PanelBody,{title:(0,Y.__)("Colors","essential-blocks"),initialOpen:!1},React.createElement(X.BaseControl,null,React.createElement(X.ButtonGroup,null,[{label:(0,Y.__)("Normal","essential-blocks"),value:"normal"},{label:(0,Y.__)("Hover","essential-blocks"),value:"hover"}].map((function(e,t){var a=e.value,n=e.label;return React.createElement(X.Button,{key:t,isPrimary:O===a,isSecondary:O!==a,onClick:function(){return M(a)}},n)})))),"normal"===O&&React.createElement(React.Fragment,null,React.createElement(hd,{label:(0,Y.__)("Text","essential-blocks"),defaultColor:ld.textColor.default,color:d,onChange:function(e){return a({textColor:e})}}),React.createElement(hd,{label:(0,Y.__)("Icon","essential-blocks"),defaultColor:ld.iconColor.default,color:m,onChange:function(e){return a({iconColor:e})}})),"hover"===O&&React.createElement(React.Fragment,null,React.createElement(hd,{label:(0,Y.__)("Text","essential-blocks"),defaultColor:ld.hvTextColor.default,color:g,onChange:function(e){return a({hvTextColor:e})}}),React.createElement(hd,{label:(0,Y.__)("Icon","essential-blocks"),defaultColor:ld.hvIconColor.default,color:f,onChange:function(e){return a({hvIconColor:e})}}),React.createElement(X.RangeControl,{value:k,onChange:function(e){return a({colorTransition:e})},step:.1,min:0,max:5}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Background","essential-blocks"),initialOpen:!1},React.createElement(yd,{controlName:Tu,resRequiredProps:A,noOverlay:!0})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(vd,{controlName:Du,resRequiredProps:A})),React.createElement(X.PanelBody,{title:(0,Y.__)("Active Colors","essential-blocks"),initialOpen:!1},React.createElement(X.BaseControl,null,React.createElement(X.ButtonGroup,null,[{label:(0,Y.__)("Normal","essential-blocks"),value:"normal"},{label:(0,Y.__)("Hover","essential-blocks"),value:"hover"}].map((function(e,t){var a=e.value,n=e.label;return React.createElement(X.Button,{key:t,isPrimary:j===a,isSecondary:j!==a,onClick:function(){return I(a)}},n)})))),"normal"===j&&React.createElement(React.Fragment,null,React.createElement(hd,{label:(0,Y.__)("Text","essential-blocks"),defaultColor:ld.actTextColor.default,color:y,onChange:function(e){return a({actTextColor:e})}}),React.createElement(hd,{label:(0,Y.__)("Icon","essential-blocks"),defaultColor:ld.actIconColor.default,color:v,onChange:function(e){return a({actIconColor:e})}})),"hover"===j&&React.createElement(React.Fragment,null,React.createElement(hd,{label:(0,Y.__)("Text","essential-blocks"),defaultColor:ld.actHvTextColor.default,color:h,onChange:function(e){return a({actHvTextColor:e})}}),React.createElement(hd,{label:(0,Y.__)("Icon","essential-blocks"),defaultColor:ld.actHvIconColor.default,color:w,onChange:function(e){return a({actHvIconColor:e})}}),React.createElement(X.BaseControl,{label:(0,Y.__)("Transition","essential-blocks")},React.createElement(X.RangeControl,{value:R,onChange:function(e){return a({actColorTransition:e})},step:.1,min:0,max:5})))),React.createElement(X.PanelBody,{title:(0,Y.__)("Active Background","essential-blocks"),initialOpen:!1},React.createElement(yd,{controlName:Nu,resRequiredProps:A,noOverlay:!0})),React.createElement(X.PanelBody,{title:(0,Y.__)("Active Border & Shadow"),initialOpen:!1},React.createElement(vd,{controlName:ju,resRequiredProps:A}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Tab Titles' Wrapper","essential-blocks"),initialOpen:!1},React.createElement(X.PanelBody,{title:(0,Y.__)("Margin Padding","essential-blocks")},React.createElement(kd,{resRequiredProps:A,controlName:Vu,baseLabel:"Margin"}),React.createElement(kd,{resRequiredProps:A,controlName:Wu,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Background","essential-blocks"),initialOpen:!1},React.createElement(yd,{controlName:Ou,resRequiredProps:A,noOverlay:!0})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(vd,{controlName:Au,resRequiredProps:A}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Content"),initialOpen:!1},React.createElement(X.PanelBody,{title:(0,Y.__)("Margin Padding","essential-blocks")},React.createElement(kd,{resRequiredProps:A,controlName:qu,baseLabel:"Margin"}),React.createElement(kd,{resRequiredProps:A,controlName:Uu,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Background","essential-blocks"),initialOpen:!1},React.createElement(yd,{controlName:Pu,resRequiredProps:A,noOverlay:!0})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(vd,{controlName:Iu,resRequiredProps:A}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Caret","essential-blocks"),initialOpen:!1},React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Caret on Active Tab","essential-blocks"),checked:_,onChange:function(){return a({showCaret:!_})}}),_&&React.createElement(React.Fragment,null,React.createElement(wd,{baseLabel:(0,Y.__)("Caret Size","essential-blocks"),controlName:Ju,resRequiredProps:A,min:0,max:100,step:1,noUnits:!0}),React.createElement(hd,{label:(0,Y.__)("Caret Color","essential-blocks"),defaultColor:ld.caretColor.default,color:E,onChange:function(e){return a({caretColor:e})}})))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Margin Padding","essential-blocks")},React.createElement(kd,{resRequiredProps:A,controlName:Lu,baseLabel:"Margin"}),React.createElement(kd,{resRequiredProps:A,controlName:Fu,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Background","essential-blocks"),initialOpen:!1},React.createElement(yd,{controlName:Bu,resRequiredProps:A})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(vd,{controlName:Mu,resRequiredProps:A})),React.createElement(_d,{attributes:t,setAttributes:a})))}))))};var Bd=EBControls,Td=Bd.softMinifyCssStrings,Nd=Bd.generateBackgroundControlStyles,Pd=Bd.generateDimensionsControlStyles,Od=Bd.generateTypographyStyles,Md=Bd.generateBorderShadowStyles,Dd=Bd.generateResponsiveRangeStyles,jd=Bd.StyleComponent;function Id(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=e.isClickTab,r=(t.resOption,t.blockMeta,t.blockId),c=t.layout,l=t.mediaPositon,i=t.mediaAlign,s=t.iconColor,b=t.hvIconColor,p=t.textColor,u=t.hvTextColor,d=t.actIconColor,m=t.actHvIconColor,g=t.actTextColor,f=t.actHvTextColor,y=t.colorTransition,v=t.actColorTransition,h=t.showCaret,w=t.caretColor,k=t.carZ_Range,R=t.TABcarZ_Range,_=void 0===R?k:R,E=t.MOBcarZ_Range,C=void 0===E?_||k:E,x=t.isFillTitle,S=t.enableResponsiveLayout,B=t.verticalToHorizontal,T=Od({attributes:t,prefixConstant:Qu,defaultFontSize:16}),N=T.typoStylesDesktop,P=T.typoStylesTab,O=T.typoStylesMobile,M=Dd({controlName:Gu,property:"min-width",attributes:t}),D=M.rangeStylesDesktop,j=M.rangeStylesTab,I=M.rangeStylesMobile,A=Dd({controlName:Zu,property:"font-size",attributes:t,customUnit:"px"}),L=A.rangeStylesDesktop,F=A.rangeStylesTab,H=A.rangeStylesMobile,z=Dd({controlName:Zu,property:"width",attributes:t,customUnit:"px"}),q=z.rangeStylesDesktop,U=z.rangeStylesTab,V=z.rangeStylesMobile,W=Dd({controlName:Zu,property:"height",attributes:t,customUnit:"px"}),G=W.rangeStylesDesktop,Z=W.rangeStylesTab,Y=W.rangeStylesMobile,J=Dd({controlName:Zu,property:"width",attributes:t,customUnit:"px"}),Q=J.rangeStylesDesktop,X=J.rangeStylesTab,$=J.rangeStylesMobile,K=Dd({controlName:Yu,property:"gap",attributes:t,customUnit:"px"}),ee=K.rangeStylesDesktop,te=K.rangeStylesTab,ae=K.rangeStylesMobile,ne=Nd({attributes:t,controlName:Bu}),oe=ne.backgroundStylesDesktop,re=ne.hoverBackgroundStylesDesktop,ce=ne.backgroundStylesTab,le=ne.hoverBackgroundStylesTab,ie=ne.backgroundStylesMobile,se=ne.hoverBackgroundStylesMobile,be=ne.overlayStylesDesktop,pe=ne.hoverOverlayStylesDesktop,ue=ne.overlayStylesTab,de=ne.hoverOverlayStylesTab,me=ne.overlayStylesMobile,ge=ne.hoverOverlayStylesMobile,fe=ne.bgTransitionStyle,ye=ne.ovlTransitionStyle,ve=Nd({attributes:t,controlName:Tu,noOverlay:!0}),he=ve.backgroundStylesDesktop,we=ve.hoverBackgroundStylesDesktop,ke=ve.backgroundStylesTab,Re=ve.hoverBackgroundStylesTab,_e=ve.backgroundStylesMobile,Ee=ve.hoverBackgroundStylesMobile,Ce=ve.bgTransitionStyle,xe=Nd({attributes:t,controlName:Nu,noOverlay:!0}),Se=xe.backgroundStylesDesktop,Be=xe.hoverBackgroundStylesDesktop,Te=xe.backgroundStylesTab,Ne=xe.hoverBackgroundStylesTab,Pe=xe.backgroundStylesMobile,Oe=xe.hoverBackgroundStylesMobile,Me=xe.bgTransitionStyle,De=Nd({attributes:t,controlName:Pu,noOverlay:!0}),je=De.backgroundStylesDesktop,Ie=De.hoverBackgroundStylesDesktop,Ae=De.backgroundStylesTab,Le=De.hoverBackgroundStylesTab,Fe=De.backgroundStylesMobile,He=De.hoverBackgroundStylesMobile,ze=De.bgTransitionStyle,qe=Nd({attributes:t,controlName:Ou,noOverlay:!0}),Ue=qe.backgroundStylesDesktop,Ve=qe.hoverBackgroundStylesDesktop,We=qe.backgroundStylesTab,Ge=qe.hoverBackgroundStylesTab,Ze=qe.backgroundStylesMobile,Ye=qe.hoverBackgroundStylesMobile,Je=qe.bgTransitionStyle,Qe=Pd({attributes:t,controlName:Lu,styleFor:"margin"}),Xe=Qe.dimensionStylesDesktop,$e=Qe.dimensionStylesTab,Ke=Qe.dimensionStylesMobile,et=Pd({attributes:t,controlName:Fu,styleFor:"padding"}),tt=et.dimensionStylesDesktop,at=et.dimensionStylesTab,nt=et.dimensionStylesMobile,ot=Pd({attributes:t,controlName:zu,styleFor:"margin"}),rt=ot.dimensionStylesDesktop,ct=ot.dimensionStylesTab,lt=ot.dimensionStylesMobile,it=Pd({attributes:t,controlName:Hu,styleFor:"padding"}),st=it.dimensionStylesDesktop,bt=it.dimensionStylesTab,pt=it.dimensionStylesMobile,ut=Pd({attributes:t,controlName:qu,styleFor:"margin"}),dt=ut.dimensionStylesDesktop,mt=ut.dimensionStylesTab,gt=ut.dimensionStylesMobile,ft=Pd({attributes:t,controlName:Uu,styleFor:"padding"}),yt=ft.dimensionStylesDesktop,vt=ft.dimensionStylesTab,ht=ft.dimensionStylesMobile,wt=Pd({attributes:t,controlName:Vu,styleFor:"margin"}),kt=wt.dimensionStylesDesktop,Rt=wt.dimensionStylesTab,_t=wt.dimensionStylesMobile,Et=Pd({attributes:t,controlName:Wu,styleFor:"padding"}),Ct=Et.dimensionStylesDesktop,xt=Et.dimensionStylesTab,St=Et.dimensionStylesMobile,Bt=Md({controlName:Mu,attributes:t}),Tt=Bt.styesDesktop,Nt=Bt.styesTab,Pt=Bt.styesMobile,Ot=Bt.stylesHoverDesktop,Mt=Bt.stylesHoverTab,Dt=Bt.stylesHoverMobile,jt=Bt.transitionStyle,It=Md({controlName:Du,attributes:t}),At=It.styesDesktop,Lt=It.styesTab,Ft=It.styesMobile,Ht=It.stylesHoverDesktop,zt=It.stylesHoverTab,qt=It.stylesHoverMobile,Ut=It.transitionStyle,Vt=Md({controlName:ju,attributes:t}),Wt=Vt.styesDesktop,Gt=Vt.styesTab,Zt=Vt.styesMobile,Yt=Vt.stylesHoverDesktop,Jt=Vt.stylesHoverTab,Qt=Vt.stylesHoverMobile,Xt=Vt.transitionStyle,$t=Md({controlName:Iu,attributes:t}),Kt=$t.styesDesktop,ea=$t.styesTab,ta=$t.styesMobile,aa=$t.stylesHoverDesktop,na=$t.stylesHoverTab,oa=$t.stylesHoverMobile,ra=$t.transitionStyle,ca=Md({controlName:Au,attributes:t}),la=ca.styesDesktop,ia=ca.styesTab,sa=ca.styesMobile,ba=ca.stylesHoverDesktop,pa=ca.stylesHoverTab,ua=ca.stylesHoverMobile,da=ca.transitionStyle,ma=Td("\n\n\t\t.".concat(r,".eb-advanced-tabs-wrapper > *{\n\t\t\tposition:relative;\n\t\t}\n\n\t\t.").concat(r,".eb-advanced-tabs-wrapper{\n\t\t\tdisplay:flex;\n\t\t\tflex-direction:").concat("horizontal"===c?"column":"row",";\n\t\t\t").concat(Xe,"\n\t\t\t").concat(tt,"\n\t\t\t").concat(oe,"\n\t\t\t").concat(Tt,"\n\t\t\ttransition: all .5s, ").concat(fe,", ").concat(jt,";\n\t\t}\n\n\t\t.").concat(r,".eb-advanced-tabs-wrapper:hover{\n\t\t\t").concat(re,"\n\t\t\t").concat(Ot,"\n\t\t}\n\n\t\t.").concat(r,".eb-advanced-tabs-wrapper:before{\n\t\t\t").concat(be,"\n\t\t\ttransition: all .5s, ").concat(ye,";\n\t\t}\n\n\t\t.").concat(r,".eb-advanced-tabs-wrapper:hover:before{\n\t\t\t").concat(pe,"\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"]{\n\t\t\tdisplay: flex;\n\t\t\tlist-style-type: none;\n\t\t\tflex-wrap:wrap;\n\t\t\tmargin: 0;\n\t\t\tpadding: 0;\n\t\t\tflex-direction:').concat("horizontal"===c?"row":"column",";\n\t\t\t").concat(kt,"\n\t\t\t").concat(Ct,"\n\t\t\t").concat(la,"\n\t\t\t").concat(Ue,"\n\n\t\t\ttransition: ").concat(da,", ").concat(Je,";\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"]:hover{\n\t\t\t').concat(Ve,"\n\t\t\t").concat(ba,"\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li{\n\t\t\tdisplay: flex;\n\t\t\tjustify-content: center;\n\t\t\talign-items: center;\n\t\t\tcursor:pointer;\n\t\t\ttext-align: center;\n\t\t\tposition:relative;\n\t\t\t').concat(x?"flex: 1;":"","\n\t\t\t").concat("inline"===l?"left"===i?"flex-direction: row;":"flex-direction: row-reverse;":"flex-direction: column;","\n\t\t\t").concat(rt,"\n\t\t\t").concat(st,"\n\t\t\t").concat(D,"\n\t\t\t").concat(ee,"\n\t\t\t").concat(he,"\n\t\t\t").concat(At,"\n\t\t\ttransition: all .5s, ").concat(Ce,", ").concat(Ut,";\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li:hover{\n\t\t\t').concat(we,"\n\t\t\t").concat(Ht,"\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li span.tabIcon {\n\t\t\tdisplay:flex;\n\t\t\tjustify-content:center;\n\t\t\talign-items:center;\n\t\t\t').concat(q,"\n\t\t\t").concat(G,"\n\t\t\t").concat(L,"\n\t\t\t").concat(s?"color:".concat(s,";"):"","\n\t\t\t").concat(y?"transition:color ".concat(y,"s;"):"","\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li:hover span{\n\t\t\t').concat(b?"color:".concat(b,";"):"","\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li img{\n\t\t\theight:auto;\n\t\t\t').concat(Q,"\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li .tab-title-text{\n\t\t\tfont-size: inherit;\n\t\t\tmargin: 0;\n\t\t\tpadding: 0;\n\t\t\t').concat(p?"color:".concat(p,";"):"","\n\t\t\t").concat(N,"\n\t\t\t").concat(y?"transition:color ".concat(y,"s;"):"","\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li:hover .tab-title-text{\n\t\t\t').concat(u?"color:".concat(u,";"):"","\n\t\t}\n\n\t\t.").concat(r,".eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id=").concat(r,"] li.active{\n\t\t\t").concat(Wt,"\n\t\t\t").concat(Se,"\n\t\t\ttransition:").concat(Xt,", ").concat(Me,";\n\t\t}\n\n\t\t.").concat(r,".eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id=").concat(r,"] li.active:hover{\n\t\t\t").concat(Yt,"\n\t\t\t").concat(Be,"\n\t\t}\n\n\t").concat(h?"\n\t\t.".concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li.active:after{\n\t\t\tcontent: "";\n\t\t\tposition: absolute;\n\t\t\twidth: 0px;\n\t\t\theight: 0px;\n\t\t\tz-index: 1;\n\t\t\tborder: ').concat(k,"px solid transparent;\n\t\t\t").concat("horizontal"===c?"\n\t\t\t\t\tbottom: -".concat(k,"px;\n\t\t\t\t\tborder-top-color: ").concat(w," !important;\n\t\t\t\t\tborder-bottom: 0px !important;\n\t\t\t\t\tleft: 50%;\n\t\t\t\t\tborder-top-style: solid;\n\t\t\t\t\ttransform: translateX(-50%);\n\t\t\t\t"):"\n\t\t\t\t\tright: -".concat(k,"px;\n\t\t\t\t\tborder-left-color: ").concat(w," !important;\n\t\t\t\t\tborder-right: 0px !important;\n\t\t\t\t\ttop: 50%;\n\t\t\t\t\tborder-left-style: solid;\n\t\t\t\t\ttransform: translateY(-50%);\n\t\t\t\t"),"\n\n\t\t}\n\n\t\t"):"","\n\n\n\t\t.").concat(r,".eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id=").concat(r,"] li.active span,\n\t\t.").concat(r,".eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id=").concat(r,"] li.active i {\n\t\t\t").concat(d?"color:".concat(d,";"):"","\n\t\t\t").concat(v?"transition:color ".concat(v,"s;"):"","\n\t\t}\n\n\t\t.").concat(r,".eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id=").concat(r,"] li.active:hover span,\n\t\t.").concat(r,".eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id=").concat(r,"] li.active:hover i {\n\t\t\t").concat(m?"color:".concat(m,";"):"","\n\t\t}\n\n\t\t.").concat(r,".eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id=").concat(r,"] li.active .tab-title-text{\n\t\t\t").concat(g?"color:".concat(g,";"):"","\n\t\t\t").concat(v?"transition:color ".concat(v,"s;"):"","\n\t\t}\n\n\t\t.").concat(r,".eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id=").concat(r,"] li.active:hover .tab-title-text{\n\t\t\t").concat(f?"color:".concat(f,";"):"","\n\t\t}\n\n\n\t\t.").concat(r,".eb-advanced-tabs-wrapper .eb-tabs-contents{\n\t\t\tflex:1;\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-contents .eb-tab-wrapper[data-tab-parent-id="').concat(r,'"]{\n\t\t\t').concat(dt,"\n\t\t\t").concat(yt,"\n\t\t\t").concat(je,"\n\t\t\t").concat(Kt,"\n\t\t\ttransition:all 0.5s, ").concat(ze,", ").concat(ra,";\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-contents .eb-tab-wrapper[data-tab-parent-id="').concat(r,'"]:hover{\n\t\t\t').concat(Ie,"\n\t\t\t").concat(aa,"\n\t\t}\n\n\t")),ga="\n\t\t.".concat(r,".eb-advanced-tabs-wrapper{\n            ").concat("vertical"===c&&S&&"tab"===B&&"flex-direction: column;","\n\t\t\t").concat($e,"\n\t\t\t").concat(at,"\n\t\t\t").concat(ce,"\n\t\t\t").concat(Nt,"\n\t\t}\n\n\t\t.").concat(r,".eb-advanced-tabs-wrapper:hover{\n\t\t\t").concat(le,"\n\t\t\t").concat(Mt,"\n\t\t}\n\n\t\t.").concat(r,".eb-advanced-tabs-wrapper:before{\n\t\t\t").concat(ue,"\n\t\t}\n\n\t\t.").concat(r,".eb-advanced-tabs-wrapper:hover:before{\n\t\t\t").concat(de,"\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"]{\n            ').concat("vertical"===c&&S&&"tab"===B&&"flex-direction: row;","\n\t\t\t").concat(Rt,"\n\t\t\t").concat(xt,"\n\t\t\t").concat(ia,"\n\t\t\t").concat(We,"\n\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"]:hover{\n\t\t\t').concat(Ge,"\n\t\t\t").concat(pa,"\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li{\n\t\t\t').concat(ct,"\n\t\t\t").concat(bt,"\n\t\t\t").concat(j,"\n\t\t\t").concat(te,"\n\t\t\t").concat(ke,"\n\t\t\t").concat(Lt,"\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li:hover{\n\t\t\t').concat(Re,"\n\t\t\t").concat(zt,"\n\t\t}\n\n\t\t.").concat(r,".eb-advanced-tabs-wrapper ul.tabTitles[data-tabs-ul-id=").concat(r,"] li.active{\n\t\t\t").concat(Gt,"\n\t\t\t").concat(Te,"\n\t\t}\n\n\t\t.").concat(r,".eb-advanced-tabs-wrapper ul.tabTitles[data-tabs-ul-id=").concat(r,"] li.active:hover{\n\t\t\t").concat(Jt,"\n\t\t\t").concat(Ne,"\n\t\t}\n\n\t\t").concat(h?"\n\t\t\t.".concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li.active:after{\n\t\t\t\tborder: ').concat(_,"px solid transparent;\n\t\t\t\t").concat("horizontal"===c?"\n\t\t\t\t\t\tbottom: -".concat(_,"px;\n\t\t\t\t\t"):"vertical"===c&&S&&"tab"===B?"\n                        bottom: -".concat(_,"px;\n                        border-top-color: ").concat(w," !important;\n                        border-left-color: transparent !important;\n                        border-right: ").concat(C,"px solid transparent !important;\n                        border-bottom: 0px !important;\n                        left: 50%;\n                        border-top-style: solid;\n                        transform: translateX(-50%);\n                        right: 0;\n                        top: auto;\n                    "):"right: -".concat(_,"px;"),"\n\n\t\t\t}\n\n\t\t\t"):"","\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li span.tabIcon {\n\t\t\t').concat(F,"\n\t\t\t").concat(U,"\n\t\t\t").concat(Z,"\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li img{\n\t\t\t').concat(X,"\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li .tab-title-text{\n\t\t\t').concat(P,"\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-contents .eb-tab-wrapper[data-tab-parent-id="').concat(r,'"]{\n\t\t\t').concat(mt,"\n\t\t\t").concat(vt,"\n\t\t\t").concat(Ae,"\n\t\t\t").concat(ea,"\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-contents .eb-tab-wrapper[data-tab-parent-id="').concat(r,'"]:hover{\n\t\t\t').concat(Le,"\n\t\t\t").concat(na,"\n\t\t}\n\n\t"),fa="\n\t\t.".concat(r,".eb-advanced-tabs-wrapper{\n            ").concat("vertical"===c&&S&&"mobile"===B&&"flex-direction: column;","\n\t\t\t").concat(Ke,"\n\t\t\t").concat(nt,"\n\t\t\t").concat(ie,"\n\t\t\t").concat(Pt,"\n\t\t}\n\n\t\t.").concat(r,".eb-advanced-tabs-wrapper:hover{\n\t\t\t").concat(se,"\n\t\t\t").concat(Dt,"\n\t\t}\n\n\t\t.").concat(r,".eb-advanced-tabs-wrapper:before{\n\t\t\t").concat(me,"\n\t\t}\n\n\t\t.").concat(r,".eb-advanced-tabs-wrapper:hover:before{\n\t\t\t").concat(ge,"\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"]{\n            ').concat("vertical"===c&&S&&"mobile"===B&&"flex-direction: row;","\n\t\t\t").concat(_t,"\n\t\t\t").concat(St,"\n\t\t\t").concat(sa,"\n\t\t\t").concat(Ze,"\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"]:hover{\n\t\t\t').concat(Ye,"\n\t\t\t").concat(ua,"\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li{\n\t\t\t').concat(lt,"\n\t\t\t").concat(pt,"\n\t\t\t").concat(I,"\n\t\t\t").concat(ae,"\n\t\t\t").concat(_e,"\n\t\t\t").concat(Ft,"\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li:hover{\n\t\t\t').concat(Ee,"\n\t\t\t").concat(qt,"\n\t\t}\n\n\t\t.").concat(r,".eb-advanced-tabs-wrapper ul.tabTitles[data-tabs-ul-id=").concat(r,"] li.active{\n\t\t\t").concat(Zt,"\n\t\t\t").concat(Pe,"\n\t\t}\n\n\t\t.").concat(r,".eb-advanced-tabs-wrapper ul.tabTitles[data-tabs-ul-id=").concat(r,"] li.active:hover{\n\t\t\t").concat(Qt,"\n\t\t\t").concat(Oe,"\n\t\t}\n\n\t\t").concat(h&&C?"\n\t\t\t.".concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li.active:after{\n\t\t\t\tborder: ').concat(C,"px solid transparent;\n\t\t\t\t").concat("horizontal"===c?"\n\t\t\t\t\t\tbottom: -".concat(C,"px;\n\t\t\t\t\t"):"vertical"===c&&S&&"mobile"===B?"\n                        bottom: -".concat(C,"px;\n                        border-top-color: ").concat(w," !important;\n                        border-left-color: transparent !important;\n                        border-right: ").concat(C,"px solid transparent !important;\n                        border-bottom: 0px !important;\n                        left: 50%;\n                        border-top-style: solid;\n                        transform: translateX(-50%);\n                        right: 0;\n                        top: auto;\n                    "):"right: -".concat(_,"px;"),"\n\n\t\t\t}\n\n\t\t\t"):"","\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li span.tabIcon {\n\t\t\t').concat(H,"\n\t\t\t").concat(V,"\n\t\t\t").concat(Y,"\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li img{\n\t\t\t').concat($,"\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li .tab-title-text{\n\t\t\t').concat(O,"\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-contents .eb-tab-wrapper[data-tab-parent-id="').concat(r,'"]{\n\t\t\t').concat(gt,"\n\t\t\t").concat(ht,"\n\t\t\t").concat(Fe,"\n\t\t\t").concat(ta,"\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-contents .eb-tab-wrapper[data-tab-parent-id="').concat(r,'"]:hover{\n\t\t\t').concat(He,"\n\t\t\t").concat(oa,"\n\t\t}\n\n\t"),ya=Td("\n\t\t".concat(ma,"\n\n\t\t.eb-tabs-contents .eb-tab-wrapper > .eb-tab-inner > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block,\n\t\t.eb-tabs-contents > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block > .eb-tab-editor-wrap,\n\t\t.eb-tabs-contents > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block,\n\t\t.eb-tabs-contents > .block-editor-inner-blocks > .block-editor-block-list__layout,\n\t\t.eb-tabs-contents > .block-editor-inner-blocks\n\t\t{\n\t\t\tmargin: 0;\n\t\t\tpadding: 0;\n\t\t}\n\n\t\t.eb-tabs-contents .block-editor-inner-blocks .eb-tab-wrapper .eb-tab-inner .block-editor-button-block-appender{\n\t\t\theight: 100px;\n\t\t}\n\n\t")),va=Td("\n\t\t".concat(ga,"\n\n\t")),ha=Td("\n\t\t".concat(fa,"\n\n\t")),wa=Td("\n\t\t".concat(ma,"\n\n\t")),ka=Td("\n\t\t".concat(ga,"\n\n\t")),Ra=Td("\n\t\t".concat(fa,"\n\n\t"));return React.createElement(React.Fragment,null,React.createElement("style",null,!o&&"\n                    .".concat(r,".eb-advanced-tabs-wrapper .wp-block-essential-blocks-tab:not(:first-child) .eb-tab-wrapper,\n                    .").concat(r,".eb-advanced-tabs-wrapper .wp-block:not(:first-child) .eb-tab-wrapper {\n                        display: none;\n                    }\n                    a.info-click-link{\n                        pointer-events: none;\n                    }\n                ")),React.createElement(jd,{attributes:t,setAttributes:a,desktopAllStyles:wa,tabAllStyles:ka,mobileAllStyles:Ra,editorDesktopStyles:ya,editorTabStyles:va,editorMobileStyles:ha,blockName:n}))}function Ad(e){return Ad="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ad(e)}function Ld(){return Ld=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},Ld.apply(null,arguments)}function Fd(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Hd(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Fd(Object(a),!0).forEach((function(t){zd(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Fd(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function zd(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=Ad(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=Ad(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ad(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function qd(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,r,c,l=[],i=!0,s=!1;try{if(r=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;i=!1}else for(;!(i=(n=r.call(a)).done)&&(l.push(n.value),l.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{if(!i&&null!=a.return&&(c=a.return(),Object(c)!==c))return}finally{if(s)throw o}}return l}}(e,t)||Ud(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ud(e,t){if(e){if("string"==typeof e)return Vd(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?Vd(e,t):void 0}}function Vd(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}var Wd=lodash.times,Gd=EBControls,Zd=Gd.EBDisplayIcon,Yd=Gd.BlockProps;function Jd(e){return Jd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Jd(e)}function Qd(){return Qd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},Qd.apply(null,arguments)}function Xd(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function $d(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=Jd(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=Jd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Jd(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var Kd=window.EBControls.BlockProps;function em(e){return em="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},em(e)}function tm(){return tm=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},tm.apply(null,arguments)}function am(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function nm(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?am(Object(a),!0).forEach((function(t){om(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):am(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function om(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=em(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=em(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==em(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var rm=lodash.omit;const cm=[{attributes:nm({},ld),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.tabTitles,o=t.layout,r=t.isMediaOn,c=t.classHook,l=t.tagName,i=t.closeAllTabs;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(c)},React.createElement("div",tm({className:"".concat(a," eb-advanced-tabs-wrapper ").concat(o)},i?{"data-close-all-tabs":i}:{}),React.createElement("div",{className:"eb-tabs-nav"},React.createElement("ul",{className:"tabTitles","data-tabs-ul-id":"".concat(a)},n.map((function(e,t){return React.createElement("li",tm({key:t,"data-title-tab-id":e.id,"data-title-custom-id":e.customId},e.customId?{id:e.customId}:{},{className:!0!==i&&e.isDefault?"active":"inactive"}),r&&React.createElement(React.Fragment,null,"icon"===e.media&&e.icon&&React.createElement("span",{className:"tabIcon ".concat(e.icon)}),"image"===e.media&&e.imgUrl&&React.createElement("img",{src:e.imgUrl})),React.createElement(Q.RichText.Content,{tagName:l,className:"tab-title-text",value:e.text}))})))),React.createElement("div",{className:"eb-tabs-contents"},React.createElement(Q.InnerBlocks.Content,null)))))}},{attributes:nm({},rm(nm({},ld),["closeAllTabs"])),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.tabTitles,o=t.layout,r=t.isMediaOn,c=t.classHook,l=t.tagName;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(c)},React.createElement("div",{className:"".concat(a," eb-advanced-tabs-wrapper ").concat(o)},React.createElement("div",{className:"eb-tabs-nav"},React.createElement("ul",{className:"tabTitles","data-tabs-ul-id":"".concat(a)},n.map((function(e,t){return React.createElement("li",tm({key:t,"data-title-tab-id":e.id,"data-title-custom-id":e.customId},e.customId?{id:e.customId}:{},{className:e.isDefault?"active":"inactive"}),r&&React.createElement(React.Fragment,null,"icon"===e.media&&e.icon&&React.createElement("span",{className:"tabIcon ".concat(e.icon)}),"image"===e.media&&e.imgUrl&&React.createElement("img",{src:e.imgUrl})),React.createElement(Q.RichText.Content,{tagName:l,className:"tab-title-text",value:e.text}))})))),React.createElement("div",{className:"eb-tabs-contents"},React.createElement(Q.InnerBlocks.Content,null)))))}},{attributes:nm({},ld),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.tabTitles,o=t.layout,r=t.isMediaOn,c=t.classHook,l=t.tagName;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(c)},React.createElement("div",{className:"".concat(a," eb-advanced-tabs-wrapper ").concat(o)},React.createElement("div",{className:"eb-tabs-nav"},React.createElement("ul",{className:"tabTitles","data-tabs-ul-id":"".concat(a)},n.map((function(e,t){return React.createElement("li",{key:t,"data-title-tab-id":e.id,className:e.isDefault?"active":"inactive"},r&&React.createElement(React.Fragment,null,"icon"===e.media&&e.icon&&React.createElement("span",{className:"tabIcon ".concat(e.icon)}),"image"===e.media&&e.imgUrl&&React.createElement("img",{src:e.imgUrl})),React.createElement(Q.RichText.Content,{tagName:l,className:"tab-title-text",value:e.text}))})))),React.createElement("div",{class:"eb-tabs-contents"},React.createElement(Q.InnerBlocks.Content,null)))))}},{attributes:nm({},ld),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.tabTitles,o=t.layout,r=t.isMediaOn;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"".concat(a," eb-advanced-tabs-wrapper ").concat(o)},React.createElement("div",{className:"eb-tabs-nav"},React.createElement("ul",{className:"tabTitles","data-tabs-ul-id":"".concat(a)},n.map((function(e,t){return React.createElement("li",{key:t,"data-title-tab-id":e.id,className:e.isDefault?"active":"inactive"},r&&React.createElement(React.Fragment,null,"icon"===e.media&&e.icon&&React.createElement("span",{className:"tabIcon ".concat(e.icon)}),"image"===e.media&&e.imgUrl&&React.createElement("img",{src:e.imgUrl})),React.createElement(Q.RichText.Content,{tagName:"h6",className:"tab-title-text",value:e.text}))})))),React.createElement("div",{class:"eb-tabs-contents"},React.createElement(Q.InnerBlocks.Content,null))))}}],lm=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Advanced Tabs","apiVersion":2,"name":"essential-blocks/advanced-tabs","description":"Display nested tabs to display key information on an instance in an interactive manner.","category":"essential-blocks","textdomain":"essential-blocks","supports":{"anchor":true,"html":false,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');function im(e){return im="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},im(e)}function sm(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function bm(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?sm(Object(a),!0).forEach((function(t){pm(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):sm(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function pm(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=im(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=im(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==im(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}(0,EBControls.ebConditionalRegisterBlockType)(lm,{keywords:[(0,Y.__)("EB Advanced Tabs","essential-blocks"),(0,Y.__)("Advanced Tabs Block","essential-blocks"),(0,Y.__)("Advanced Tabs","essential-blocks")],icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"70",height:"70",fill:"none",viewBox:"0 0 70 70"},React.createElement("g",{fill:"#6C3BFF",clipPath:"url(#clip0_2_22632)"},React.createElement("path",{d:"M70 11.6c-.7-2.4-2.2-3.5-4.7-3.5H24.1c-.3 0-.7.1-.9-.4-.8-1.7-2.2-2.6-4.1-2.6H4.7c-.4 0-.7 0-1.1.1C1.4 5.7 0 7.4 0 9.8v46.8c0 2.9 2 5 5 5 16.7-.1 33.4 0 50.1 0h10.7c1.9 0 3.2-1 4-2.7l.3-.9V11.8s0-.1-.1-.2zm-30.8-.7h12.7v5.8H39.2v-5.8zm-15.5 0h12.7v5.8H23.7v-5.8zm43.7 9.5v36.2c0 1.7-.5 2.2-2.2 2.2H5c-1.7 0-2.2-.5-2.2-2.2V10c0-1.7.5-2.2 2.2-2.2h13.8c1.5 0 2.1.5 2.1 2.1v7.7c0 1.5.4 1.9 1.9 1.9h44.7c-.1.4-.1.6-.1.9zm0-3.7H54.7v-5.9h10.7c1.4 0 2 .6 2 2v3.9z"}),React.createElement("path",{d:"M40.6 25.7H9.2c-1.4 0-1.8.4-1.8 1.8v23.3c0 1.4.4 1.8 1.8 1.8h31.3c1.1 0 1.6-.5 1.6-1.6V27.3c0-1-.5-1.6-1.5-1.6zM11.3 49.9c2.7-4.3 5.4-8.6 8.2-13 2.8 4.4 5.5 8.6 8.2 13H11.3zm23.6 0h-3.5c-.3 0-.6-.2-.8-.4-.8-1.1-1.5-2.3-2.2-3.5-.1-.2-.2-.5-.1-.6 1.1-1.8 2.3-3.6 3.5-5.5 2.1 3.3 4.2 6.6 6.3 10h-3.2zm4.4-3.4c-.3-.5-.6-.9-.8-1.3-1.8-2.8-3.5-5.6-5.3-8.4-.7-1.1-1.8-1.1-2.6 0-.1.2-.2.3-.3.5L26.7 43c-.2-.3-.3-.5-.4-.7l-5.4-8.4c-.8-1.3-1.9-1.3-2.7 0-2.5 3.9-5 7.8-7.4 11.7-.1.2-.3.4-.5.7V28.4h29.1c-.1 6.1-.1 12-.1 18.1zM48.4 28.5h13.2c.7 0 1.2-.6 1.2-1.3 0-.7-.4-1.2-1.1-1.4h-13c-.3 0-.6 0-.9.1-.9.2-1.2 1.2-.8 2 .3.4.8.6 1.4.6zM48.4 36.4h12.8c.3 0 .7-.1 1-.2.5-.3.7-.9.6-1.5-.2-.7-.7-1-1.5-1H48.5c-1 0-1.7.5-1.6 1.4-.1.8.5 1.3 1.5 1.3zM61.2 41.6H48.5c-1 0-1.7.5-1.7 1.4 0 .8.6 1.3 1.6 1.3h12.8c1 0 1.7-.5 1.7-1.4-.1-.8-.7-1.3-1.7-1.3zM61.2 49.5c-2.1-.1-4.2 0-6.4 0H48c-.7 0-1.2.5-1.3 1.2 0 .7.4 1.3 1.1 1.4.2.1.5.1.7.1h12.3c.3 0 .6 0 .9-.1.9-.3 1.2-1.4.6-2.1-.1-.3-.6-.5-1.1-.5zM11.8 13.7H16c.6 0 1-.1 1.3-.6.6-1-.1-2.1-1.3-2.1H7.5c-1 0-1.6.5-1.6 1.4 0 .8.6 1.3 1.6 1.3h4.3z"})),React.createElement("defs",null,React.createElement("clipPath",{id:"clip0_2_22632"},React.createElement("path",{fill:"#fff",d:"M0 0H70V70H0z"}))))},attributes:ld,edit:function(e){var t=e.attributes,a=e.setAttributes,n=(e.className,e.clientId),o=e.isSelected,r=(e.name,t.resOption,t.blockMeta,t.blockId),c=t.tabChildCount,l=t.tabTitles,i=t.isMediaOn,s=t.layout,b=t.classHook,p=t.tagName,u=t.isMinHeightAsTitle,d=(0,J.useRef)(null),m=(0,J.useRef)(null),g=qd((0,J.useState)(!1),2),f=g[0],y=g[1],v=qd((0,J.useState)(!1),2),h=v[0],w=v[1],k=qd((0,J.useState)("auto"),2),R=k[0],_=k[1],E=(l.find((function(e){return e.isDefault}))||{id:"1"}).id,C=function(e){w(!0);var t=(d||{current:!1}).current;if(!t)return!1;var a=t.querySelectorAll('.eb-tab-wrapper[data-tab-parent-id="'.concat(r,'"]'));if(0===a.length)return!1;var n,o=function(e,t){var a="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!a){if(Array.isArray(e)||(a=Ud(e))){a&&(e=a);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,c=!0,l=!1;return{s:function(){a=a.call(e)},n:function(){var e=a.next();return c=e.done,e},e:function(e){l=!0,r=e},f:function(){try{c||null==a.return||a.return()}finally{if(l)throw r}}}}(a);try{for(o.s();!(n=o.n()).done;){var c=n.value;c.dataset.tabId===e?(c.style.display="block",c.style.animation="fadeIn 0.3s"):c.style.display="none"}}catch(e){o.e(e)}finally{o.f()}y("".concat(e))};(0,J.useEffect)((function(){0===l.length&&a({tabTitles:[{text:"Tab Title 1",id:"1",media:"icon",icon:"fas fa-home",image:"",isExpanded:!0,isDefault:!0,customId:""},{text:"Tab Title 2",id:"2",media:"icon",icon:"fas fa-home",image:"",isExpanded:!1,isDefault:!1,customId:""},{text:"Tab Title 3",id:"3",media:"icon",icon:"fas fa-home",image:"",isExpanded:!1,isDefault:!1,customId:""}]})}),[]),(0,J.useEffect)((function(){"vertical"===s&&u&&m.current?_(m.current.offsetHeight+"px"):_("auto")}),[t]);var x=(0,$.useSelect)((function(e){return e("core/block-editor").getBlocksByClientId(n)[0]})).innerBlocks;(0,J.useEffect)((function(){var e=(0,$.dispatch)("core/block-editor").updateBlockAttributes;Wd(x.length,(function(t){e(x[t].clientId,{tabParentId:"".concat(r)})}))}),[r,x]);var S=Hd(Hd({},e),{},{blockPrefix:"eb-advanced-tabs",style:React.createElement(Id,Ld({},e,{isClickTab:h}))});return React.createElement(React.Fragment,null,o&&React.createElement(Sd,{clientId:n,attributes:t,setAttributes:a,handleTabTitleClick:C}),React.createElement(Yd.Edit,S,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(r," ").concat(b)},React.createElement("div",{className:"".concat(r," eb-advanced-tabs-wrapper ").concat(s),ref:d},React.createElement("div",{className:"eb-tabs-nav"},React.createElement("ul",{ref:m,className:"tabTitles","data-tabs-ul-id":"".concat(r)},l.map((function(e,t){return React.createElement("li",{key:t,"data-title-tab-id":e.id,onClick:function(t){C(e.id)},className:(f||E)===e.id?"active":"inactive"},i&&React.createElement(React.Fragment,null,"icon"===e.media&&e.icon&&React.createElement(Zd,{icon:e.icon}),"image"===e.media&&e.imgUrl&&React.createElement("img",{src:e.imgUrl})),React.createElement(Q.RichText,{tagName:p,className:"tab-title-text",placeholder:"Tab Title",value:e.text,onChange:function(e){return function(e,t){var n=l.map((function(a,n){return n===t&&(a.text=e),a}));a({tabTitles:n})}(e,t)}}))})))),React.createElement("div",{className:"eb-tabs-contents"},React.createElement("style",null,"\n                                    .eb-tabs-contents .eb-tab-wrapper {\n                                        min-height: ".concat(R,";\n                                    }\n                                ")),React.createElement(Q.InnerBlocks,{templateLock:"all",template:Wd(c,(function(e){return["essential-blocks/tab",{tabId:"".concat(e+1),tabParentId:r}]})),allowedBlocks:["essential-blocks/tab"]}))))))},save:function(e){var t=e.attributes,a=t.blockId,n=t.tabTitles,o=t.layout,r=t.isMediaOn,c=t.classHook,l=t.tagName,i=t.closeAllTabs,s=function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Xd(Object(a),!0).forEach((function(t){$d(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Xd(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}({"data-min-height":t.isMinHeightAsTitle},i&&{"data-close-all-tabs":i});return React.createElement(Kd.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(c)},React.createElement("div",Qd({className:"".concat(a," eb-advanced-tabs-wrapper ").concat(o)},s),React.createElement("div",{className:"eb-tabs-nav"},React.createElement("ul",{className:"tabTitles","data-tabs-ul-id":"".concat(a)},n.map((function(e,t){return React.createElement("li",Qd({key:t,"data-title-tab-id":e.id,"data-title-custom-id":e.customId},e.customId?{id:e.customId}:{},{className:!0!==i&&e.isDefault?"active":"inactive"}),r&&React.createElement(React.Fragment,null,"icon"===e.media&&e.icon&&React.createElement("span",{className:"tabIcon ".concat(e.icon)}),"image"===e.media&&e.imgUrl&&React.createElement("img",{src:e.imgUrl})),React.createElement(Q.RichText.Content,{tagName:l,className:"tab-title-text",value:e.text}))})))),React.createElement("div",{className:"eb-tabs-contents"},React.createElement(Q.InnerBlocks.Content,null)))))},example:{attributes:{}},deprecated:cm});var um=window.EBControls.BlockProps;const dm=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Tab","name":"essential-blocks/tab","category":"essential-blocks","apiVersion":2,"textdomain":"essential-blocks","supports":{"inserter":false,"reusable":false,"html":false,"align":["full"]},"parent":["essential-blocks/advanced-tabs"]}');(0,EBControls.ebConditionalRegisterBlockType)(dm,{icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"56",height:"48",fill:"none",viewBox:"0 0 56 48"},React.createElement("path",{fill:"#6C3BFF",fillRule:"evenodd",d:"M3.5 48h49a3.5 3.5 0 003.5-3.5V13.042a3.5 3.5 0 00-3.5-3.5H23.76V3.5a3.5 3.5 0 00-3.5-3.5H3.5A3.5 3.5 0 000 3.5v41A3.5 3.5 0 003.5 48zm49-2h-49A1.5 1.5 0 012 44.5v-41A1.5 1.5 0 013.5 2h16.76a1.5 1.5 0 011.5 1.5v6.542a1.5 1.5 0 001.5 1.5H52.5a1.5 1.5 0 011.5 1.5V44.5a1.5 1.5 0 01-1.5 1.5zM6.335 5H16.65c.728 0 1.335.682 1.335 1.5.12.818-.486 1.5-1.335 1.5H6.335C5.607 8 5 7.318 5 6.5S5.607 5 6.335 5zm42.569 17H21.096c-.6 0-1.096-.452-1.096-1s.496-1 1.096-1h27.808c.6 0 1.096.452 1.096 1s-.496 1-1.096 1zm-27.81 8h27.811c.6 0 1.095-.452 1.095-1s-.495-1-1.095-1h-27.81c-.6 0-1.095.452-1.095 1s.495 1 1.095 1zm16.825 7H21.082C20.488 37 20 36.548 20 36s.49-1 1.081-1H37.92c.592 0 1.081.452 1.081 1s-.49 1-1.081 1zM8.997 19h4.006A2.994 2.994 0 0116 21.997v4.006A2.994 2.994 0 0113.003 29H8.997A2.994 2.994 0 016 26.003v-4.006A2.994 2.994 0 018.997 19zm4.006 8.037c.557 0 1.008-.45 1.008-1.008v-4.005c0-.557-.451-1.008-1.008-1.008H8.997c-.557 0-1.008.45-1.008 1.008v4.005c0 .557.451 1.008 1.008 1.008h4.006z",clipRule:"evenodd"}))},attributes:{tabId:{type:"string"},tabParentId:{type:"string"},align:{type:"string",default:"full"}},edit:function(e){var t=e.attributes,a=(e.className,e.clientId),n=t.tabId,o=t.tabParentId,r=bm(bm({},e),{},{rootClass:"eb-guten-block-main-parent-wrapper eb-tab-editor-wrap"}),c=(0,$.useSelect)((function(e){return{blocks:e("core/block-editor").getBlockOrder(a)}}),[]).blocks;return React.createElement(um.Edit,r,React.createElement("div",{className:"eb-tab-wrapper","data-tab-id":n,"data-tab-parent-id":o},React.createElement("div",{className:"eb-tab-inner"},React.createElement(Q.InnerBlocks,{orientation:"vertical",templateLock:!1,renderAppender:c.length>0?void 0:Q.InnerBlocks.ButtonBlockAppender}))))},save:function(e){var t=e.attributes,a=t.tabId,n=t.tabParentId;return React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-tab-wrapper","data-tab-id":a,"data-tab-parent-id":n},React.createElement("div",{className:"eb-tab-inner"},React.createElement(Q.InnerBlocks.Content,null))))}});var mm=a(6391),gm=a.n(mm),fm=[{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignleft"})),value:"left"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignright"})),value:"right"}],ym=[{label:(0,Y.__)("Top","essential-blocks"),value:"top"},{label:(0,Y.__)("Center","essential-blocks"),value:"center"},{label:(0,Y.__)("Bottom","essential-blocks"),value:"bottom"}],vm=[{label:(0,Y.__)("Left","essential-blocks"),value:"left"},{label:(0,Y.__)("Center","essential-blocks"),value:"center"},{label:(0,Y.__)("Right","essential-blocks"),value:"right"}],hm="imgWidth",wm="wrpMargin",km="wrpPadding",Rm="lblPadding",_m="labelText";function Em(e){return Em="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Em(e)}function Cm(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function xm(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Cm(Object(a),!0).forEach((function(t){Sm(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Cm(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Sm(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=Em(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=Em(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Em(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var Bm=window.EBControls,Tm=Bm.generateTypographyAttributes,Nm=Bm.generateResponsiveRangeAttributes,Pm=Bm.generateDimensionsAttributes;const Om=xm(xm(xm(xm(xm({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},id:{type:"string"},leftImageURL:{type:"string",source:"attribute",attribute:"data-left-image",selector:".eb-image-comparison-wrapper"},rightImageURL:{type:"string",source:"attribute",attribute:"data-right-image",selector:".eb-image-comparison-wrapper"},hover:{type:"boolean",default:!1},verticalMode:{type:"boolean",default:!1},circleControl:{type:"boolean",default:!0},circleBlur:{type:"boolean",default:!0},showLabels:{type:"boolean",default:!1},labelsOnHover:{type:"boolean",default:!1},fullWidth:{type:"boolean",default:!0},imageWidth:{type:"number"},position:{type:"number",default:50},beforeLabel:{type:"string",default:"Before"},afterLabel:{type:"string",default:"After"},swap:{type:"boolean",default:!1},lineWidth:{type:"number",default:4},lineColor:{type:"string"},arrowColor:{type:"string"},contentPosition:{type:"string",default:"center"},horizontalLabelPosition:{type:"string",default:"center"},verticalLabelPosition:{type:"string",default:"center"},noHandle:{type:"boolean",default:!1},labelColor:{type:"string",default:"var(--eb-global-secondary-color)"},labelBackgroundColor:{type:"string",default:"var(--eb-global-primary-color)"}},Tm(Object.values(u))),Nm(hm,{noUnits:!0})),Pm(wm,{top:28,right:0,bottom:28,left:0,isLinked:!1,disableLeftRight:!0})),Pm(km)),Pm(Rm));var Mm=window.EBControls,Dm=Mm.ImageAvatar,jm=Mm.ResetControl,Im=Mm.ColorControl,Am=Mm.ResponsiveRangeController,Lm=Mm.ResponsiveDimensionsControl,Fm=Mm.TypographyDropdown,Hm=Mm.AdvancedControls;const zm=function(e){var t=e.attributes,a=e.setAttributes,n=e.onImageSwap,o=t.resOption,r=t.leftImageURL,c=t.rightImageURL,l=t.hover,i=t.verticalMode,s=t.showLabels,b=t.beforeLabel,p=t.afterLabel,u=t.fullWidth,d=t.position,m=t.swap,g=t.lineWidth,f=t.lineColor,y=t.contentPosition,v=t.horizontalLabelPosition,h=t.verticalLabelPosition,w=t.noHandle,k=t.labelColor,R=t.labelBackgroundColor,_={setAttributes:a,resOption:o,attributes:t,objAttributes:Om};return React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:(0,Y.__)("General","essential-blocks"),className:"eb-tab general"},{name:"styles",title:(0,Y.__)("Style","essential-blocks"),className:"eb-tab styles"},{name:"advance",title:(0,Y.__)("Advanced","essential-blocks"),className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls "+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("General Settings","essential-blocks"),initialOpen:!0},React.createElement(React.Fragment,null,r&&React.createElement(X.BaseControl,{label:(0,Y.__)("Left Image","essential-blocks")},React.createElement(Dm,{imageUrl:r,onDeleteImage:function(){return a({leftImageURL:null})}})),c&&React.createElement(X.BaseControl,{label:(0,Y.__)("Right Image","essential-blocks")},React.createElement(Dm,{imageUrl:c,onDeleteImage:function(){return a({rightImageURL:null})}}))),React.createElement(X.BaseControl,{label:(0,Y.__)("Alignment","essential-blocks"),id:"eb-button-group-alignment"},React.createElement(X.ButtonGroup,{id:"eb-button-group-alignment"},fm.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:y===e.value,isSecondary:y!==e.value,onClick:function(){return a({contentPosition:e.value})}},e.label)})))),React.createElement(X.ToggleControl,{label:(0,Y.__)("Full Width","essential-blocks"),checked:u,onChange:function(){return a({fullWidth:!u})}}),!u&&React.createElement(React.Fragment,null,React.createElement(Am,{baseLabel:(0,Y.__)("Image Width","essential-blocks"),controlName:hm,resRequiredProps:_,min:0,max:1e3,step:1,noUnits:!0})),React.createElement(X.ToggleControl,{label:(0,Y.__)("Move on Hover","essential-blocks"),checked:l,onChange:function(){return a({hover:!l})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Vertical Mode","essential-blocks"),checked:i,onChange:function(){return a({verticalMode:!i})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Labels","essential-blocks"),checked:s,onChange:function(){return a({showLabels:!s})}}),s&&React.createElement(React.Fragment,null,React.createElement(X.TextControl,{label:(0,Y.__)("Before Label","essential-blocks"),value:b,onChange:function(e){return a({beforeLabel:e})}}),React.createElement(X.TextControl,{label:(0,Y.__)("After Label","essential-blocks"),value:p,onChange:function(e){return a({afterLabel:e})}}),i&&React.createElement(X.BaseControl,{label:(0,Y.__)("Label Position","essential-blocks")},React.createElement(X.ButtonGroup,null,vm.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:h===e.value,isSecondary:h!==e.value,onClick:function(){return a({verticalLabelPosition:e.value})}},e.label)})))),!i&&React.createElement(X.BaseControl,{label:(0,Y.__)("Label Position","essential-blocks")},React.createElement(X.ButtonGroup,null,ym.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:v===e.value,isSecondary:v!==e.value,onClick:function(){return a({horizontalLabelPosition:e.value})}},e.label)}))))),React.createElement(X.ToggleControl,{label:(0,Y.__)("Swap Images","essential-blocks"),checked:m,onChange:function(){return n()}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("No Handle","essential-blocks"),checked:w,onChange:function(){return a({noHandle:!w})}}),React.createElement(jm,{onReset:function(){return a({position:Om.position.default})}},React.createElement(X.RangeControl,{label:(0,Y.__)("Slider Position","essential-blocks"),value:d,onChange:function(e){return a({position:e})},min:0,max:100,help:(0,Y.__)("Update & reload to see effect in backend","image-comparison")})),React.createElement(jm,{onReset:function(){return a({lineWidth:Om.lineWidth.default})}},React.createElement(X.RangeControl,{label:(0,Y.__)("Slider Line Width","essential-blocks"),value:g,onChange:function(e){return a({lineWidth:e})},min:0,max:10})))),"styles"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,null,React.createElement(Im,{label:(0,Y.__)("Line Color","essential-blocks"),color:f,onChange:function(e){return a({lineColor:e})}})),s&&React.createElement(X.PanelBody,{title:(0,Y.__)("Labels","essential-blocks")},React.createElement(Fm,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:_m,resRequiredProps:_}),React.createElement(Im,{label:(0,Y.__)("Color","essential-blocks"),color:k,onChange:function(e){return a({labelColor:e})}}),React.createElement(Im,{label:(0,Y.__)("Background Color","essential-blocks"),color:R,onChange:function(e){return a({labelBackgroundColor:e})}}),React.createElement(Lm,{resRequiredProps:_,controlName:Rm,baseLabel:(0,Y.__)("Padding","essential-blocks")}))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,null,React.createElement(Lm,{resRequiredProps:_,controlName:wm,baseLabel:(0,Y.__)("Margin","essential-blocks"),disableLeftRight:!0}),React.createElement(Lm,{resRequiredProps:_,controlName:km,baseLabel:(0,Y.__)("Padding","essential-blocks")})),React.createElement(Hm,{attributes:t,setAttributes:a})))}))))};var qm=window.EBControls,Um=qm.softMinifyCssStrings,Vm=(qm.duplicateBlockIdFix,qm.generateDimensionsControlStyles),Wm=qm.generateTypographyStyles,Gm=qm.generateResponsiveRangeStyles,Zm=qm.StyleComponent;function Ym(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=(t.blockMeta,t.resOption,t.leftImageURL,t.rightImageURL,t.hover,t.verticalMode,t.showLabels),c=(t.beforeLabel,t.afterLabel,t.fullWidth),l=(t.position,t.lineWidth,t.lineColor,t.contentPosition,t.horizontalLabelPosition,t.verticalLabelPosition,t.noHandle,t.labelColor),i=t.labelBackgroundColor,s=(t.classHook,Gm({controlName:hm,property:"max-width",attributes:t,customUnit:"px"})),b=s.rangeStylesDesktop,p=s.rangeStylesTab,u=s.rangeStylesMobile,d=Vm({controlName:wm,styleFor:"margin",disableLeftRight:!0,attributes:t}),m=d.dimensionStylesDesktop,g=d.dimensionStylesTab,f=d.dimensionStylesMobile,y=Vm({controlName:km,styleFor:"padding",attributes:t}),v=y.dimensionStylesDesktop,h=y.dimensionStylesTab,w=y.dimensionStylesMobile,k=Wm({attributes:t,prefixConstant:_m}),R=k.typoStylesDesktop,_=k.typoStylesTab,E=k.typoStylesMobile,C=Vm({controlName:Rm,styleFor:"padding",attributes:t}),x=C.dimensionStylesDesktop,S=C.dimensionStylesTab,B=C.dimensionStylesMobile;x=x.split(";").join(" !important;"),S=S.split(";").join(" !important;"),B=B.split(";").join(" !important;");var T="\n\t\t.eb-image-comparison-align-center {\n\t\t\tmargin-right: auto !important;\n\t\t\tmargin-left: auto !important;\n\t\t}\n\t\t.eb-image-comparison-align-right {\n\t\t\tmargin-left: auto !important;\n\t\t}\n\t\t.eb-image-comparison-wrapper.".concat(o," {\n\t\t\t").concat(m,"\n\t\t\t").concat(v,"\n\t\t\t").concat(c?"":b,"\n\t\t}\n\n\t\t").concat(r?"\n\t\t\t.eb-image-comparison-wrapper.".concat(o,' div[data-testid="container"] >div:nth-child(4) div,\n\t\t\t.eb-image-comparison-wrapper.').concat(o,' div[data-testid="container"] >div:nth-child(5) div {\n\t\t\t\t').concat(x,"\n\t\t\t\t").concat(R,"\n\t\t\t\t").concat(l?"color: ".concat(l," !important;"):"","\n\t\t\t\t").concat(i?"background-color: ".concat(i," !important;"):"","\n\t\t\t}\n\n\t\t\t.eb-image-comparison-wrapper.").concat(o,'.eb-label-horizontal-top div[data-testid="container"] >div:nth-child(4) div,\n\t\t\t.eb-image-comparison-wrapper.').concat(o,'.eb-label-horizontal-top div[data-testid="container"] >div:nth-child(5) div {\n\t\t\t\ttop: 5% !important;\n\t\t\t\ttransform: none !important;\n\t\t\t}\n\n\t\t\t.eb-image-comparison-wrapper.').concat(o,'.eb-label-horizontal-bottom div[data-testid="container"] >div:nth-child(4) div,\n\t\t\t.eb-image-comparison-wrapper.').concat(o,'.eb-label-horizontal-bottom div[data-testid="container"] >div:nth-child(5) div {\n\t\t\t\ttop: unset !important;\n\t\t\t\tbottom: 5% !important;\n\t\t\t\ttransform: none !important;\n\t\t\t}\n\n\t\t\t.eb-image-comparison-wrapper.').concat(o,'.eb-label-vertical-left div[data-testid="container"] >div:nth-child(4) div,\n\t\t\t.eb-image-comparison-wrapper.').concat(o,'.eb-label-vertical-left div[data-testid="container"] >div:nth-child(5) div {\n\t\t\t\tleft: 5% !important;\n\t\t\t\ttransform: none !important;\n\t\t\t}\n\n\t\t\t.eb-image-comparison-wrapper.').concat(o,'.eb-label-vertical-right div[data-testid="container"] >div:nth-child(4) div,\n\t\t\t.eb-image-comparison-wrapper.').concat(o,'.eb-label-vertical-right div[data-testid="container"] >div:nth-child(5) div {\n\t\t\t\tleft: unset !important;\n\t\t\t\tright: 5% !important;\n\t\t\t\ttransform: none !important;\n\t\t\t}\n\t\t\t'):"","\n\t"),N="\n\t\t.eb-image-comparison-wrapper.".concat(o," {\n\t\t\t").concat(g,"\n\t\t\t").concat(h,"\n\t\t\t").concat(c?"":p,"\n\t\t}\n\n\t\t").concat(r?"\n\t\t\t.eb-image-comparison-wrapper.".concat(o,' div[data-testid="container"] >div:nth-child(4) div,\n\t\t\t.eb-image-comparison-wrapper.').concat(o,' div[data-testid="container"] >div:nth-child(5) div {\n\t\t\t\t').concat(_,"\n\t\t\t\t").concat(S,"\n\t\t\t}\n\t\t\t"):"","\n\t"),P="\n\t\t.eb-image-comparison-wrapper.".concat(o," {\n\t\t\t").concat(f,"\n\t\t\t").concat(w,"\n\t\t\t").concat(c?"":u,"\n\t\t}\n\n\t\t").concat(r?"\n\t\t\t.eb-image-comparison-wrapper.".concat(o,' div[data-testid="container"] >div:nth-child(4) div,\n\t\t\t.eb-image-comparison-wrapper.').concat(o,' div[data-testid="container"] >div:nth-child(5) div {\n\t\t\t\t').concat(E,"\n\t\t\t\t").concat(B,"\n\t\t\t}\n\t\t\t"):"","\n\t"),O=Um("\n\t\t".concat(T,"\n\t")),M=Um("\n\t\t".concat(N,"\n\t")),D=Um("\n\t\t".concat(P,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(Zm,{attributes:t,setAttributes:a,desktopAllStyles:O,tabAllStyles:M,mobileAllStyles:D,blockName:n}))}function Jm(e){return Jm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Jm(e)}function Qm(){return Qm=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},Qm.apply(null,arguments)}function Xm(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function $m(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Xm(Object(a),!0).forEach((function(t){Km(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Xm(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Km(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=Jm(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=Jm(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Jm(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var eg=window.EBControls.BlockProps;var tg=window.EBControls.BlockProps;var ag,ng;const og={attributes:{leftImageURL:(null===(ag=EssentialBlocksLocalize)||void 0===ag?void 0:ag.eb_plugins_url)+"assets/images/white-balloon-bnw.jpeg",rightImageURL:(null===(ng=EssentialBlocksLocalize)||void 0===ng?void 0:ng.eb_plugins_url)+"assets/images/white-balloon.jpeg"}};function rg(e){return rg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},rg(e)}function cg(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function lg(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?cg(Object(a),!0).forEach((function(t){ig(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):cg(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function ig(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=rg(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=rg(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==rg(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const sg=[{attributes:lg({},Om),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.leftImageURL,o=t.rightImageURL,r=t.hover,c=t.verticalMode,l=t.showLabels,i=t.beforeLabel,s=t.afterLabel,b=t.position,p=t.lineWidth,u=t.lineColor,d=t.contentPosition,m=t.horizontalLabelPosition,g=t.verticalLabelPosition,f=t.noHandle,y=t.classHook,v="center"===d?" eb-image-comparison-align-center":"right"===d?" eb-image-comparison-align-right":"",h=c?" eb-label-vertical-".concat(g):" eb-label-horizontal-".concat(m);return React.createElement(React.Fragment,null,React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(y)},React.createElement("div",{className:"eb-image-comparison-wrapper ".concat(a).concat(v).concat(h),"data-left-image":n,"data-right-image":o,"data-vertical-mode":c,"data-hover":r,"data-show-label":l,"data-left-label":i,"data-right-label":s,"data-slider-position":b,"data-line-width":p,"data-line-color":u,"data-handle":f},n&&o&&React.createElement(React.Fragment,null,React.createElement("div",{"data-testid":"container"},React.createElement("img",{alt:"Left Image",src:n,"data-testid":"left-image"}),React.createElement("img",{alt:"Right Image",src:o,"data-testid":"right-image"})))))))}},{attributes:lg({},Om),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.leftImageURL,o=t.rightImageURL,r=t.hover,c=t.verticalMode,l=t.showLabels,i=t.beforeLabel,s=t.afterLabel,b=t.position,p=t.lineWidth,u=t.lineColor,d=t.contentPosition,m=t.horizontalLabelPosition,g=t.verticalLabelPosition,f=t.noHandle,y="center"===d?" eb-image-comparison-align-center":"right"===d?" eb-image-comparison-align-right":"",v=c?" eb-label-vertical-".concat(g):" eb-label-horizontal-".concat(m);return React.createElement(React.Fragment,null,React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-image-comparison-wrapper ".concat(a).concat(y).concat(v),"data-left-image":n,"data-right-image":o,"data-vertical-mode":c,"data-hover":r,"data-show-label":l,"data-left-label":i,"data-right-label":s,"data-slider-position":b,"data-line-width":p,"data-line-color":u,"data-handle":f},n&&o&&React.createElement(React.Fragment,null,React.createElement("div",{"data-testid":"container"},React.createElement("img",{alt:"Left Image",src:n,"data-testid":"left-image"}),React.createElement("img",{alt:"Right Image",src:o,"data-testid":"right-image"}))))))}}],bg=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Image Comparison","name":"essential-blocks/image-comparison","description":"Let the visitors compare images & make your website interactive.","category":"essential-blocks","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');function pg(e){return pg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pg(e)}function ug(){return ug=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},ug.apply(null,arguments)}function dg(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function mg(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?dg(Object(a),!0).forEach((function(t){gg(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):dg(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function gg(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=pg(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=pg(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==pg(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}(0,EBControls.ebConditionalRegisterBlockType)(bg,{keywords:[(0,Y.__)("image compare","essential-blocks"),(0,Y.__)("comparison","essential-blocks"),(0,Y.__)("compare","essential-blocks")],attributes:Om,icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"57",height:"60",fill:"none",viewBox:"0 0 57 60"},React.createElement("path",{fill:"#6C3BFF",d:"M55.114.343H1.371C.6.343 0 .943 0 1.714v56.572c0 .771.6 1.371 1.371 1.371H55.2c.771 0 1.371-.6 1.371-1.371v-56.4c-.085-.6-.685-1.543-1.457-1.543zM2.657 56.914V3.171h24.257V15H16.371C15.6 15 15 15.6 15 16.371v25.8c0 .772.6 1.372 1.371 1.372H26.83v13.543l-24.172-.172zM29.571 37.2c.172 0 .343.171.6.171.343 0 .6-.171.772-.342l8.4-8.4 6.514 6.514v6H29.4v-4.029s.171 0 .171.086zm10.715-10.886c-.172-.171-.6-.343-.772-.343-.343 0-.6.172-.771.343l-8.572 8.4-.6-.6V17.486h16.372V31.97l-5.657-5.657zM26.914 41.4H17.4V17.314h9.514V41.4zM53.83 4.2V57H29.57V43.457h17.4c.772 0 1.372-.6 1.372-1.371V16.543c0-.772-.6-1.372-1.372-1.372h-17.4V3.43H53.83V4.2z"}),React.createElement("path",{fill:"#6C3BFF",d:"M34.714 20.229c-1.543 0-2.657 1.114-2.657 2.657s1.114 2.657 2.657 2.657 2.657-1.114 2.657-2.657-1.114-2.657-2.657-2.657z"}))},edit:function(e){var t=e.attributes,a=e.setAttributes,n=(e.className,e.clientId),o=e.isSelected,r=(e.name,t.blockId),c=(t.blockMeta,t.resOption,t.leftImageURL),l=t.rightImageURL,i=t.hover,s=t.verticalMode,b=t.showLabels,p=t.beforeLabel,u=t.afterLabel,d=(t.fullWidth,t.position),m=t.lineWidth,g=t.lineColor,f=t.contentPosition,y=t.horizontalLabelPosition,v=t.verticalLabelPosition,h=t.noHandle,w=(t.labelColor,t.labelBackgroundColor,t.classHook),k=(0,J.useRef)(null),R=$m($m({},e),{},{blockPrefix:"eb-image-comparison",style:React.createElement(Ym,e)}),_=s?" eb-label-vertical-".concat(v):" eb-label-horizontal-".concat(y),E=c&&l,C="center"===f?" eb-image-comparison-align-center":"right"===f?" eb-image-comparison-align-right":"";return k.current&&k.current.addEventListener("click",(function(){(0,$.dispatch)("core/block-editor").selectBlock(n),(0,$.dispatch)("core/edit-post").openGeneralSidebar("edit-post/block")})),React.createElement(React.Fragment,null,o&&React.createElement(zm,{key:"inspector",attributes:t,setAttributes:a,onImageSwap:function(){var e=t.leftImageURL,n=t.rightImageURL,o=t.swap,r=[n,e];a({swap:o=!o,leftImageURL:e=r[0],rightImageURL:n=r[1]})}}),React.createElement(eg.Edit,R,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(r," ").concat(w)},React.createElement("div",{className:"eb-image-comparison-wrapper ".concat(r).concat(C).concat(_)},E?React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-image-comparison-hide",ref:k},React.createElement(gm(),Qm({leftImage:c,rightImage:l},s?{vertical:"vertical"}:{},i?{hover:"hover"}:{},b?{leftImageLabel:p}:{},b?{rightImageLabel:u}:{},h?{handle:React.createElement(React.Fragment,null)}:{},{sliderPositionPercentage:d/100,sliderLineWidth:m||0,sliderLineColor:g})))):React.createElement("div",{className:"eb-image-comparison-placeholder"},React.createElement(Q.MediaUpload,{onSelect:function(e){return a({leftImageURL:e.url})},type:"image",value:c,render:function(e){var t=e.open;return c?React.createElement("img",{className:"eb-image-comparison-image",src:c}):React.createElement(X.Button,{className:"eb-image-comparison-upload components-button",label:(0,Y.__)("Upload Left Image","essential-blocks"),icon:"format-image",onClick:t})}}),React.createElement(Q.MediaUpload,{onSelect:function(e){return a({rightImageURL:e.url})},type:"image",value:l,render:function(e){var t=e.open;return l?React.createElement("img",{className:"eb-image-comparison-image",src:l}):React.createElement(X.Button,{className:"eb-image-comparison-upload components-button",label:(0,Y.__)("Upload Right Image","essential-blocks"),icon:"format-image",onClick:t})}}))))))},save:function(e){var t=e.attributes,a=t.blockId,n=t.leftImageURL,o=t.rightImageURL,r=t.hover,c=t.verticalMode,l=t.showLabels,i=t.beforeLabel,s=t.afterLabel,b=t.position,p=t.lineWidth,u=t.lineColor,d=t.contentPosition,m=t.horizontalLabelPosition,g=t.verticalLabelPosition,f=t.noHandle,y=t.classHook,v="center"===d?" eb-image-comparison-align-center":"right"===d?" eb-image-comparison-align-right":"",h=c?" eb-label-vertical-".concat(g):" eb-label-horizontal-".concat(m);return React.createElement(React.Fragment,null,React.createElement(tg.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(y)},React.createElement("div",{className:"eb-image-comparison-wrapper ".concat(a).concat(v).concat(h),"data-left-image":n,"data-right-image":o,"data-vertical-mode":c,"data-hover":r,"data-show-label":l,"data-left-label":i,"data-right-label":s,"data-slider-position":b,"data-line-width":p,"data-line-color":u,"data-handle":f},n&&o&&React.createElement(React.Fragment,null,React.createElement("div",{"data-testid":"container"},React.createElement("img",{alt:"Left Image",src:n,"data-testid":"left-image"}),React.createElement("img",{alt:"Right Image",src:o,"data-testid":"right-image"})))))))},example:og,deprecated:sg});var fg=window.EBControls,yg=fg.sanitizeURL,vg=fg.BlockProps;var hg="wrprBg",wg="wrpMargin",kg="wrpPadding",Rg="wrpBorderShadow",_g="columns",Eg="imageGap",Cg="imgBorderShadow",xg="captionMargin",Sg="captionPadding",Bg="captionTypo",Tg="captionWidth",Ng="imageWidth",Pg="imageHeight",Og="imageMaxWidth",Mg="imageMaxHeight",Dg="filterMargin",jg="filterPadding",Ig="filterBorderShadow",Ag="loadmorePadding",Lg="loadmoreBorderShadow",Fg=[{label:(0,Y.__)("Top","essential-blocks"),value:"top"},{label:(0,Y.__)("Middle","essential-blocks"),value:"middle"},{label:(0,Y.__)("Bottom","essential-blocks"),value:"bottom"}],Hg=[{label:(0,Y.__)("Left","essential-blocks"),value:"left"},{label:(0,Y.__)("Center","essential-blocks"),value:"center"},{label:(0,Y.__)("Right","essential-blocks"),value:"right"}],zg=[{label:(0,Y.__)("Left","essential-blocks"),value:"left"},{label:(0,Y.__)("Right","essential-blocks"),value:"right"},{label:(0,Y.__)("Center","essential-blocks"),value:"center"},{label:(0,Y.__)("Justify","essential-blocks"),value:"justify"}],qg=[{label:"px",value:"px"},{label:"%",value:"%"}],Ug=[{label:"px",value:"px"},{label:"em",value:"em"},{label:"%",value:"%"}],Vg=[{label:(0,Y.__)("Grid Layout","essential-blocks"),value:"grid"},{label:(0,Y.__)("Masonry Layout","essential-blocks"),value:"masonry"}],Wg=[{label:(0,Y.__)("Fixed","essential-blocks"),value:"fixed"},{label:(0,Y.__)("Adaptive","essential-blocks"),value:"adaptive"}],Gg=[{label:(0,Y.__)("None","essential-blocks"),value:"0"},{label:(0,Y.__)("Black & White"),value:"1"},{label:(0,Y.__)("Color Overlay","essential-blocks"),value:"2"}],Zg=[{label:(0,Y.__)("From Top","essential-blocks"),value:"overlay-top"},{label:(0,Y.__)("From Bottom","essential-blocks"),value:"overlay-bottom"},{label:(0,Y.__)("From Left","essential-blocks"),value:"overlay-left"},{label:(0,Y.__)("From Right","essential-blocks"),value:"overlay-right"},{label:(0,Y.__)("Zoom In Out","essential-blocks"),value:"zoom"}],Yg=[{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignleft"})),value:"flex-start"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignright"})),value:"flex-end"}],Jg=[{label:"Normal",value:"normal"},{label:"Hover",value:"hover"},{label:"Active",value:"active"}],Qg="captionTypo",Xg="filterTypo",$g="filterTypo";function Kg(e){return Kg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Kg(e)}function ef(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function tf(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ef(Object(a),!0).forEach((function(t){af(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ef(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function af(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=Kg(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=Kg(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Kg(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var nf=window.EBControls,of=nf.generateDimensionsAttributes,rf=nf.generateTypographyAttributes,cf=nf.generateBackgroundAttributes,lf=nf.generateBorderShadowAttributes,sf=nf.generateResponsiveRangeAttributes;const bf=tf(tf(tf(tf(tf(tf(tf(tf(tf(tf(tf(tf(tf(tf(tf(tf(tf(tf(tf(tf({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},images:{type:"array",default:[]},sources:{type:"array",default:[]},imageSize:{type:"string"},selectedImgIndex:{type:"number"},layouts:{type:"string",default:"grid"},displayCaption:{type:"boolean",default:!1},captionOnHover:{type:"boolean",default:!1},newImage:{type:"string"},captionColor:{type:"string",default:"var(--eb-global-button-text-color)"},captionBGColor:{type:"string",default:"var(--eb-global-secondary-color)"},overlayColor:{type:"string",default:"rgba(0 0 0 / 0.7)"},horizontalAlign:{type:"string",default:"center"},verticalAlign:{type:"string",default:"bottom"},textAlign:{type:"string",default:"center"},styleNumber:{type:"string",default:"0"},overlayStyle:{type:"string",default:"overlay-bottom"},disableLightBox:{type:"boolean",default:!1},addCustomLink:{type:"boolean",default:!1},imageSizeType:{type:"string",default:"fixed"},imageAlignment:{type:"string",default:"flex-start"},enableFilter:{type:"boolean",default:!1},filterItems:{type:"array",default:[{value:"filter-item-1",label:(0,Y.__)("Filter Item 1","essential-blocks")}]},enableFilterAll:{type:"boolean",default:!0},filterAllTitle:{type:"string",default:"All"},defaultFilter:{type:"string"},filterColorType:{type:"string",default:"normal"},filterColor:{type:"string",default:"var(--eb-global-text-color)"},filterActColor:{type:"string",default:"var(--eb-global-button-text-color)"},filterHoverColor:{type:"string",default:"var(--eb-global-button-text-color)"},filterBGColor:{type:"string",default:"var(--eb-global-tertiary-color)"},filterActBGColor:{type:"string",default:"var(--eb-global-primary-color)"},filterHoverBGColor:{type:"string",default:"var(--eb-global-primary-color)"},select2Options:{type:"string",default:""},enableIsotope:{type:"boolean",default:!1},enableLoadMore:{type:"boolean",default:!1},loadmoreBtnText:{type:"string",default:"Load More"},imagesPerPage:{type:"number",default:1},imagesPerPageCount:{type:"number",default:3},loadmoreColor:{type:"string",default:"var(--eb-global-button-text-color)"},loadmoreHvColor:{type:"string",default:"var(--eb-global-button-text-color)"},loadmoreBGColor:{type:"string",default:"var(--eb-global-button-background-color)"},enableInfiniteScroll:{type:"boolean",default:!1}},rf(Object.values(d))),of(wg)),of(kg)),of(xg,{top:0,bottom:0,right:0,left:0,isLinked:!1})),of(Sg,{top:5,bottom:5,right:10,left:10,isLinked:!1})),lf(Rg,{bdrDefaults:{top:0,bottom:0,right:0,left:0}})),lf(Cg,{bdrDefaults:{top:0,bottom:0,right:0,left:0},noShadow:!0})),cf(hg,{defaultBgGradient:"linear-gradient(45deg,#ffffff,#ffffff)",noOverlay:!0})),sf(_g,{defaultRange:3})),sf(Eg,{defaultRange:10})),sf(Tg)),sf(Pg,{defaultRange:300})),sf(Ng,{defaultRange:100,defaultUnit:"%"})),sf(Mg)),sf(Og,{defaultRange:100,defaultUnit:"%"})),of(Dg,{top:0,bottom:0,right:5,left:5,isLinked:!1})),of(jg,{top:5,bottom:5,right:10,left:10,isLinked:!1})),lf(Ig,{bdrDefaults:{top:0,bottom:0,right:0,left:0}})),lf(Lg,{bdrDefaults:{top:0,bottom:0,right:0,left:0},rdsDefaults:{top:0,bottom:0,right:0,left:0}})),of(Ag,{top:14,bottom:14,right:14,left:14,isLinked:!0}));var pf=a(1021),uf=a(8088),df=a.n(uf),mf={fontSize:14,borderLeft:"1px solid #b4b4cb",lineHeight:"2.5em",flex:2,textAlign:"center",display:"flex",justifyContent:"center"},gf=(0,pf.D)((function(){return React.createElement("span",{className:"drag-handle"},React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0",y:"0",enableBackground:"new 0 0 512 512",version:"1.1",viewBox:"0 0 512 512",xmlSpace:"preserve",style:{height:14}},React.createElement("path",{d:"M512 256L402.6 146.6 402.6 210.3 301 210.3 301 109.4 365.4 109.4 256 0 146.6 109.4 211 109.4 211 210.3 109.4 210.3 109.4 146.6 0 256 109.4 365.4 109.4 300.3 211 300.3 211 402.6 146.6 402.6 256 512 365.4 402.6 301 402.6 301 300.3 402.6 300.3 402.6 365.4z",style:{fill:"#a9a9a9"}})))})),ff=function(e){var t=e.position,a=e.onDeleteFeature;return React.createElement("span",{className:"eb-social-delete-icon",style:mf,onClick:function(){return a(t)}},React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0",y:"0",enableBackground:"new 0 0 512 512",version:"1.1",viewBox:"0 0 512 512",xmlSpace:"preserve",style:{width:14}},React.createElement("path",{d:"M423.3 86.6H89c-16.8.1-32.2 9.3-40.1 24.1-7.9 14.8-7.1 32.7 2.2 46.8l37.2 55.6V456c0 30.9 25.1 56 56 56h223.9c30.9 0 56-25.1 56-56V213.1l37.2-56c9.1-14 9.8-31.8 1.9-46.5-8.1-14.7-23.4-23.9-40-24zm-198 347c0 13.9-11.3 25.2-25.2 25.2-13.9 0-25.2-11.3-25.2-25.2V220.9c0-13.9 11.3-25.2 25.2-25.2 13.9 0 25.2 11.3 25.2 25.2v212.7zm112 0c0 13.9-11.3 25.2-25.2 25.2-13.9 0-25.2-11.3-25.2-25.2V220.9c0-13.9 11.3-25.2 25.2-25.2 13.9 0 25.2 11.3 25.2 25.2v212.7zM325.8 19.4C309.9 7.1 290.2 0 269.3 0h-26.4c-20.9 0-40.6 7.1-56.5 19.4-11.2 8.7-20.5 20.1-26.9 33.4h193.1c-6.3-13.3-15.6-24.7-26.8-33.4z",style:{fill:"#FF6464"}})))},yf=(0,pf.Zj)((function(e){var t=e.feature,a=e.position,n=e.onFeatureClick,o=e.onFeatureChange,r=e.onDeleteFeature,c=e.clickedItem;return React.createElement("li",{className:"drag-helper"},React.createElement("span",{className:"eb-sortable-item"},React.createElement("span",{className:"eb-sortable-title",onClick:function(){return n(a)}},t.label),React.createElement(gf,null),React.createElement(ff,{position:a,onDeleteFeature:r})),a===c&&React.createElement(J.Fragment,null,React.createElement(X.TextControl,{label:(0,Y.__)("Text","essential-blocks"),value:t.label,onChange:function(e){return o("label",e,a)}})))}));(0,pf.q6)((function(e){var t=e.features,a=e.onFeatureClick,n=e.onFeatureChange,o=e.onDeleteFeature,r=e.clickedItem;return React.createElement("ul",null,t.map((function(e,t){return React.createElement(yf,{key:"item-".concat(t),index:t,position:t,feature:e,clickedItem:r,onFeatureClick:a,onFeatureChange:n,onDeleteFeature:o})})))}));var vf=a(6005);function hf(e){return hf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},hf(e)}function wf(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function kf(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?wf(Object(a),!0).forEach((function(t){Rf(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):wf(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Rf(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=hf(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=hf(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==hf(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function _f(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Ef(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?_f(Object(a),!0).forEach((function(t){Cf(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):_f(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Cf(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=Sf(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=Sf(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Sf(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function xf(e){return function(e){if(Array.isArray(e))return Nf(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Tf(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Sf(e){return Sf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Sf(e)}function Bf(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,r,c,l=[],i=!0,s=!1;try{if(r=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;i=!1}else for(;!(i=(n=r.call(a)).done)&&(l.push(n.value),l.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{if(!i&&null!=a.return&&(c=a.return(),Object(c)!==c))return}finally{if(s)throw o}}return l}}(e,t)||Tf(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Tf(e,t){if(e){if("string"==typeof e)return Nf(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?Nf(e,t):void 0}}function Nf(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}var Pf=window.EBControls,Of=Pf.ResponsiveDimensionsControl,Mf=Pf.TypographyDropdown,Df=Pf.BorderShadowControl,jf=Pf.ResponsiveRangeController,If=Pf.BackgroundControl,Af=Pf.ColorControl,Lf=Pf.AdvancedControls,Ff=Pf.EbImageSizeSelector,Hf=Pf.DynamicInputControl,zf=Pf.SortControl;const qf=function(e){var t=e.attributes,a=e.setAttributes,n=t.resOption,o=t.layouts,r=t.displayCaption,c=t.captionOnHover,l=t.captionColor,i=t.overlayColor,s=t.captionBGColor,b=t.horizontalAlign,p=t.verticalAlign,u=t.textAlign,d=t.styleNumber,m=t.overlayStyle,g=t.disableLightBox,f=t.imageSizeType,y=(t.imageSize,t.imageAlignment),v=t.enableFilter,h=t.enableFilterAll,w=t.filterAllTitle,k=t.sources,R=t.filterItems,_=t.defaultFilter,E=t.filterColorType,C=t.filterColor,x=t.filterHoverColor,S=t.filterBGColor,B=t.filterHoverBGColor,T=t.filterActColor,N=t.filterActBGColor,P=t.addCustomLink,O=t.images,M=t.enableIsotope,D=t.enableLoadMore,j=t.loadmoreBtnText,I=t.loadmoreColor,A=t.loadmoreHvColor,L=t.loadmoreBGColor,F=t.loadmoreHvBGColor,H=t.enableInfiniteScroll,z=t.imagesPerPageCount,q=Bf((0,J.useState)(""),2),U=q[0],V=q[1],W=Bf((0,J.useState)([]),2),G=(W[0],W[1]);(0,J.useEffect)((function(){var e=(0,$.select)("core/block-editor").getSettings().imageSizes;if("object"===Sf(e)&&e.length>0){var t=[{label:"Default",value:""}];e.map((function(e,a){t.push({label:e.name,value:e.slug})})),G(t)}}),[]),(0,J.useEffect)((function(){if(v){var e=[{label:w,value:"*"}];R.length>0&&(e=[].concat(xf(e),xf(R))),_||a({defaultFilter:"*"}),V(xf(e))}}),[R,h]),(0,J.useEffect)((function(){!0===v&&a({enableIsotope:!1})}),[v]),(0,J.useEffect)((function(){!1===M&&a({enableLoadMore:!1})}),[M]);var Z={setAttributes:a,resOption:n,attributes:t,objAttributes:bf},K=function(){var e=t.filterItems.length+1,n=[].concat(xf(t.filterItems),[{value:"filter-item-".concat(e),label:"Filter Item ".concat(e)}]);a({filterItems:n})};(0,J.useEffect)((function(){a(H?{loadmoreBtnText:"Loading ..."}:{loadmoreBtnText:"Load More"})}),[H]);return React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:"General",className:"eb-tab general"},{name:"styles",title:"Style",className:"eb-tab styles"},{name:"advance",title:"Advanced",className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls"+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("General","essential-blocks"),initialOpen:!0},React.createElement(X.SelectControl,{label:(0,Y.__)("Layouts","essential-blocks"),value:o,options:Vg,onChange:function(e){return a({layouts:e})}}),React.createElement(X.SelectControl,{label:(0,Y.__)("Styles","essential-blocks"),value:d,options:Gg,onChange:function(e){return function(e){switch(a({styleNumber:e}),e){case"0":case"1":a({});break;case"2":a({displayCaption:!0});break;default:return!1}}(e)}}),"2"===d&&React.createElement(X.SelectControl,{label:(0,Y.__)("Overlay Styles","essential-blocks"),value:m,options:Zg,onChange:function(e){return a({overlayStyle:e})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Display Caption","essential-blocks"),checked:r,onChange:function(){return a({displayCaption:!r})}}),React.createElement(Ff,{attrname:"imageSize",resRequiredProps:Z,label:"Image Size"}),r&&"0"===d&&React.createElement(X.ToggleControl,{label:(0,Y.__)("Display Caption on Hover","essential-blocks"),checked:c,onChange:function(){return a({captionOnHover:!c})}}),React.createElement(jf,{baseLabel:(0,Y.__)("Columns","essential-blocks"),controlName:_g,resRequiredProps:Z,units:[],min:1,max:8,step:1}),React.createElement(jf,{baseLabel:(0,Y.__)("Image Gap (px)","essential-blocks"),controlName:Eg,resRequiredProps:Z,units:[],min:0,max:100,step:1}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Disable Light Box","essential-blocks"),checked:g,onChange:function(){return a({disableLightBox:!g})}}),g&&React.createElement(X.ToggleControl,{label:(0,Y.__)("Add custom link?","essential-blocks"),checked:P,onChange:function(){return a({addCustomLink:!P})}}),!v&&React.createElement(React.Fragment,null,React.createElement(X.ToggleControl,{label:(0,Y.__)("Enable Isotope","essential-blocks"),checked:M,onChange:function(){return a({enableIsotope:!M})}}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Filter","essential-blocks"),initialOpen:!1},React.createElement(X.ToggleControl,{label:(0,Y.__)("Enable Filter","essential-blocks"),checked:v,onChange:function(){return a({enableFilter:!v})}}),v&&React.createElement(X.ToggleControl,{label:(0,Y.__)('Enable "All"',"essential-blocks"),checked:h,onChange:function(){return a({enableFilterAll:!h})}}),v&&h&&React.createElement(X.TextControl,{label:(0,Y.__)('"ALL" Text',"essential-blocks"),value:w,onChange:function(e){return a({filterAllTitle:e})}}),v&&React.createElement(React.Fragment,null,React.createElement(X.SelectControl,{label:(0,Y.__)("Default Selected Filter","essential-blocks"),value:_,options:U,onChange:function(e){return a({defaultFilter:e})}}),React.createElement(X.__experimentalDivider,null),React.createElement(X.PanelRow,null,(0,Y.__)("Filter Items","essential-blocks")),React.createElement(zf,{items:t.filterItems,labelKey:"label",onSortEnd:function(e){return a({filterItems:e})},onDeleteItem:function(e){a({filterItems:t.filterItems.filter((function(t,a){return a!==e}))})},hasSettings:!0,settingsComponents:t.filterItems.map((function(e,n){return React.createElement("div",{key:n},React.createElement(X.TextControl,{label:(0,Y.__)("Text","essential-blocks"),value:e.label,onChange:function(e){return function(e,n,o){var r=xf(t.filterItems);r[o].label=n;var c=n.toLowerCase();c=(c=(c=(c=(c=(c=(c=(c=(c=(c=(c=(c=(c=(c=(c=(c=(c=(c=(c=(c=(c=(c=(c=(c=(c=(c=(c=(c=(c=(c=(c=(c=c.replaceAll(" ","-")).replaceAll(",-"," eb-filter-img-")).replaceAll(",","comma")).replaceAll("&","and")).replaceAll("+","plus")).replaceAll("amp;","")).replaceAll("/","slash")).replaceAll("'","apostrophe")).replaceAll('"',"apostrophe")).replaceAll(".","-")).replaceAll("~","tilde")).replaceAll("!","exclamation")).replaceAll("@","at")).replaceAll("#","hash")).replaceAll("(","parenthesis")).replaceAll(")","parenthesis")).replaceAll("=","equal")).replaceAll(";","semicolon")).replaceAll(":","colon")).replaceAll("<","lessthan")).replaceAll(">","greaterthan")).replaceAll("|","pipe")).replaceAll("\\","backslash")).replaceAll("^","caret")).replaceAll("*","asterisk")).replaceAll("$","dollar")).replaceAll("`","backtick")).replaceAll("[","bracket")).replaceAll("]","bracket")).replaceAll("{","curlybracket")).replaceAll("}","curlybracket")).replaceAll("?","questionmark"),r[o].value=c,a({filterItems:r})}(0,e,n)}}))})),hasAddButton:!0,onAddItem:K,addButtonText:(0,Y.__)("Add Filter","essential-blocks")}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Gallery Items","essential-blocks"),initialOpen:!1},k.map((function(e,t){return React.createElement(X.PanelBody,{title:"Image "+(t+1),initialOpen:!1,onToggle:function(){return a({initialSlide:t})},className:"eb-img-gallery-item-single-panel",key:t},v&&React.createElement(vf.Ay,{name:"select-gallery-item",value:e.hasOwnProperty("filter")&&e.filter.length>0?JSON.parse(e.filter):"",onChange:function(e){return n=e,o=t,r=JSON.stringify(n),c=k.map((function(e,t){if(o===t){var a=Ef({},e);return a.filter=r,a}return e})),void a({sources:c});var n,o,r,c},options:R,isMulti:"true",Placeholder:"Select Filter"}),g&&P&&React.createElement(React.Fragment,null,React.createElement(X.TextControl,{label:(0,Y.__)("URL","essential-blocks"),value:e.customLink,onChange:function(t){return function(e,t,a,n){var o,r=e.length>0&&(o=e,!!new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i").test(o));n({images:a.map((function(a){return a.id==t?kf(kf({},a),{},{customLink:e,isValidUrl:r}):a}))})}(t,e.id,O,a)}}),e.url&&e.url.length>0&&!e.isValidUrl&&React.createElement("span",{className:"error"},"URL is not valid"),React.createElement(X.ToggleControl,{label:(0,Y.__)("Open in New Tab","essential-blocks"),checked:e.openNewTab,onChange:function(){return function(e,t,a,n){n({images:a.map((function(a){return a.id==t?kf(kf({},a),{},{openNewTab:!0===e}):a}))})}(!e.openNewTab,e.id,O,a)}})),React.createElement(X.__experimentalDivider,null),React.createElement(X.PanelRow,null,(0,Y.__)("Image","essential-blocks")),React.createElement("img",{src:e.url}))}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Load More Button","essential-blocks"),initialOpen:!1},React.createElement(X.ToggleControl,{label:(0,Y.__)("Enable Loadmore","essential-blocks"),checked:D,onChange:function(e){return function(e){var t={enableLoadMore:e};v||M||(t=Ef(Ef({},t),{},{enableIsotope:!0})),a(t)}(e)}}),D&&React.createElement(React.Fragment,null,React.createElement(Hf,{label:"Button Text",attrName:"loadmoreBtnText",inputValue:j,setAttributes:a,onChange:function(e){return a({loadmoreBtnText:e})}}),React.createElement(X.RangeControl,{label:(0,Y.__)("Images Per Page","essential-blocks"),value:z,onChange:function(e){return a({imagesPerPageCount:e})},min:1,max:(null==k?void 0:k.length)-1,allowReset:!0})))),"styles"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Image Settings","essential-blocks")},"grid"===o&&React.createElement(React.Fragment,null,!v&&React.createElement(X.BaseControl,{label:(0,Y.__)("Alignment","essential-blocks")},React.createElement(X.ButtonGroup,null,Yg.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:y===e.value,isSecondary:y!==e.value,onClick:function(){return a({imageAlignment:e.value})}},e.label)})))),React.createElement(X.BaseControl,{label:(0,Y.__)("Image Size","essential-blocks")},React.createElement(X.ButtonGroup,null,Wg.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:f===e.value,isSecondary:f!==e.value,onClick:function(){return a({imageSizeType:e.value})}},e.label)})))),"fixed"===f&&React.createElement(React.Fragment,null,React.createElement(jf,{baseLabel:(0,Y.__)("Image Height","essential-blocks"),controlName:Pg,resRequiredProps:Z,units:Ug,min:0,max:500,step:1}),React.createElement(jf,{baseLabel:(0,Y.__)("Image Width","essential-blocks"),controlName:Ng,resRequiredProps:Z,units:Ug,min:0,max:500,step:1})),"adaptive"===f&&React.createElement(React.Fragment,null,React.createElement(jf,{baseLabel:(0,Y.__)("Image Max Height","essential-blocks"),controlName:Mg,resRequiredProps:Z,units:Ug,min:0,max:500,step:1}),React.createElement(jf,{baseLabel:(0,Y.__)("Image Max Width","essential-blocks"),controlName:Og,resRequiredProps:Z,units:Ug,min:0,max:500,step:1}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Border","essential-blocks"),initialOpen:!0},React.createElement(Df,{controlName:Cg,resRequiredProps:Z,noShadow:!0}))),"2"===d&&React.createElement(X.PanelBody,{title:(0,Y.__)("Overlay Styles","essential-blocks")},React.createElement(Af,{label:(0,Y.__)("Overlay Color","essential-blocks"),color:i,onChange:function(e){return a({overlayColor:e})}})),r&&React.createElement(X.PanelBody,{title:(0,Y.__)("Caption Styles","essential-blocks")},React.createElement(Af,{label:(0,Y.__)("Text Color","essential-blocks"),color:l,onChange:function(e){return a({captionColor:e})}}),React.createElement(Af,{label:(0,Y.__)("Background Color","essential-blocks"),color:s,onChange:function(e){return a({captionBGColor:e})}}),React.createElement(Mf,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:Bg,resRequiredProps:Z}),React.createElement(jf,{baseLabel:(0,Y.__)("Width","essential-blocks"),controlName:Tg,resRequiredProps:Z,units:qg,min:0,max:300,step:1}),r&&React.createElement(React.Fragment,null,React.createElement(X.BaseControl,{label:(0,Y.__)("Text Align","essential-blocks")},React.createElement(X.ButtonGroup,null,zg.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:u===e.value,isSecondary:u!==e.value,onClick:function(){return a({textAlign:e.value})}},e.label)})))),React.createElement(X.BaseControl,{label:(0,Y.__)("Horizontal Align","essential-blocks")},React.createElement(X.ButtonGroup,null,Hg.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:b===e.value,isSecondary:b!==e.value,onClick:function(){return a({horizontalAlign:e.value})}},e.label)})))),React.createElement(X.BaseControl,{label:(0,Y.__)("Vertical Align","essential-blocks")},React.createElement(X.ButtonGroup,null,Fg.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:p===e.value,isSecondary:p!==e.value,onClick:function(){return a({verticalAlign:e.value})}},e.label)})))),React.createElement(Of,{resRequiredProps:Z,controlName:xg,baseLabel:"Margin"}),React.createElement(Of,{resRequiredProps:Z,controlName:Sg,baseLabel:"Padding"}))),v&&React.createElement(X.PanelBody,{title:(0,Y.__)("Filter","essential-blocks"),initialOpen:!1},React.createElement(Of,{resRequiredProps:Z,controlName:Dg,baseLabel:"Margin"}),React.createElement(Of,{resRequiredProps:Z,controlName:jg,baseLabel:"Padding"}),React.createElement(Mf,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:Xg,resRequiredProps:Z}),React.createElement(X.BaseControl,null,React.createElement(X.ButtonGroup,null,Jg.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:E===e.value,isSecondary:E!==e.value,onClick:function(){return a({filterColorType:e.value})}},e.label)}))),"normal"===E&&React.createElement(React.Fragment,null,React.createElement(Af,{label:(0,Y.__)("Color","essential-blocks"),color:C,onChange:function(e){return a({filterColor:e})}}),React.createElement(Af,{label:(0,Y.__)("Background Color","essential-blocks"),color:S,onChange:function(e){return a({filterBGColor:e})}})),"hover"===E&&React.createElement(React.Fragment,null,React.createElement(Af,{label:(0,Y.__)("Color","essential-blocks"),color:x,onChange:function(e){return a({filterHoverColor:e})}}),React.createElement(Af,{label:(0,Y.__)("Background Color","essential-blocks"),color:B,onChange:function(e){return a({filterHoverBGColor:e})}})),"active"===E&&React.createElement(React.Fragment,null,React.createElement(Af,{label:(0,Y.__)("Color","essential-blocks"),color:T,onChange:function(e){return a({filterActColor:e})}}),React.createElement(Af,{label:(0,Y.__)("Background Color","essential-blocks"),color:N,onChange:function(e){return a({filterActBGColor:e})}}))),React.createElement(X.PanelRow,null,"Button Border & Shadow"),React.createElement(Df,{controlName:Ig,resRequiredProps:Z})),(v||M)&&D&&React.createElement(X.PanelBody,{title:(0,Y.__)("Load More Button","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(Mf,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:$g,resRequiredProps:Z}),React.createElement(Af,{label:(0,Y.__)("Text Color","essential-blocks"),color:I,onChange:function(e){return a({loadmoreColor:e})}}),React.createElement(Af,{label:(0,Y.__)("Text Hover Color","essential-blocks"),color:A,onChange:function(e){return a({loadmoreHvColor:e})}}),React.createElement(Af,{label:(0,Y.__)("Background Color","essential-blocks"),color:L,onChange:function(e){return a({loadmoreBGColor:e})}}),React.createElement(Af,{label:(0,Y.__)("Background Hover Color","essential-blocks"),color:F,onChange:function(e){return a({loadmoreHvBGColor:e})}}),React.createElement(Of,{resRequiredProps:Z,controlName:Ag,baseLabel:(0,Y.__)("Padding","essential-blocks")}),React.createElement(X.PanelBody,{title:(0,Y.__)("Border","essential-blocks"),initialOpen:!1},React.createElement(Df,{controlName:Lg,resRequiredProps:Z}))))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,null,React.createElement(Of,{resRequiredProps:Z,controlName:wg,baseLabel:"Margin"}),React.createElement(Of,{resRequiredProps:Z,controlName:kg,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Background","essential-blocks"),initialOpen:!1},React.createElement(If,{controlName:hg,resRequiredProps:Z,noOverlay:!0})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(Df,{controlName:Rg,resRequiredProps:Z})),React.createElement(Lf,{attributes:t,setAttributes:a})))}))))};var Uf=window.EBControls,Vf=Uf.softMinifyCssStrings,Wf=Uf.generateTypographyStyles,Gf=Uf.generateDimensionsControlStyles,Zf=Uf.generateBorderShadowStyles,Yf=Uf.generateResponsiveRangeStyles,Jf=Uf.generateBackgroundControlStyles,Qf=Uf.StyleComponent;function Xf(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=t.captionColor,c=t.captionBGColor,l=t.overlayColor,i=t.textAlign,s=t.imageSizeType,b=t.imageAlignment,p=t.filterColor,u=t.filterHoverColor,d=t.filterBGColor,m=t.filterHoverBGColor,g=t.filterActColor,f=t.filterActBGColor,y=t.imageGapRange,v=t.TABimageGapRange,h=t.MOBimageGapRange,w=t.loadmoreColor,k=t.loadmoreHvColor,R=t.loadmoreBGColor,_=t.loadmoreHvBGColor,E=t.enableFilter,C=(t.enableIsotope,Wf({attributes:t,prefixConstant:Bg,defaultFontSize:13})),x=C.typoStylesDesktop,S=C.typoStylesTab,B=C.typoStylesMobile,T=Gf({controlName:wg,styleFor:"margin",attributes:t}),N=T.dimensionStylesDesktop,P=T.dimensionStylesTab,O=T.dimensionStylesMobile,M=Gf({controlName:kg,styleFor:"padding",attributes:t}),D=M.dimensionStylesDesktop,j=M.dimensionStylesTab,I=M.dimensionStylesMobile,A=Gf({controlName:xg,styleFor:"margin",attributes:t}),L=A.dimensionStylesDesktop,F=A.dimensionStylesTab,H=A.dimensionStylesMobile,z=Gf({controlName:Sg,styleFor:"padding",attributes:t}),q=z.dimensionStylesDesktop,U=z.dimensionStylesTab,V=z.dimensionStylesMobile,W=Yf({controlName:_g,property:null,noUnits:!0,attributes:t}),G=W.rangeStylesDesktop,Z=W.rangeStylesTab,Y=W.rangeStylesMobile,J=Yf({controlName:Tg,property:"width",attributes:t}),Q=J.rangeStylesDesktop,X=J.rangeStylesTab,$=J.rangeStylesMobile,K=Yf({controlName:Eg,property:"gap",attributes:t}),ee=K.rangeStylesDesktop,te=K.rangeStylesTab,ae=K.rangeStylesMobile,ne=Yf({controlName:Eg,property:null,noUnits:!0,attributes:t}),oe=ne.rangeStylesDesktop,re=ne.rangeStylesTab,ce=ne.rangeStylesMobile,le=Yf({controlName:Pg,property:"height",attributes:t}),ie=le.rangeStylesDesktop,se=le.rangeStylesTab,be=le.rangeStylesMobile,pe=Yf({controlName:Ng,property:"width",attributes:t}),ue=pe.rangeStylesDesktop,de=pe.rangeStylesTab,me=pe.rangeStylesMobile,ge=Yf({controlName:Mg,property:"max-height",attributes:t}),fe=ge.rangeStylesDesktop,ye=ge.rangeStylesTab,ve=ge.rangeStylesMobile,he=Yf({controlName:Og,property:"max-width",attributes:t}),we=he.rangeStylesDesktop,ke=he.rangeStylesTab,Re=he.rangeStylesMobile,_e=Jf({attributes:t,controlName:hg,noOverlay:!0}),Ee=_e.backgroundStylesDesktop,Ce=_e.hoverBackgroundStylesDesktop,xe=_e.backgroundStylesTab,Se=_e.hoverBackgroundStylesTab,Be=_e.backgroundStylesMobile,Te=_e.hoverBackgroundStylesMobile,Ne=_e.bgTransitionStyle,Pe=Zf({controlName:Rg,attributes:t}),Oe=Pe.styesDesktop,Me=Pe.styesTab,De=Pe.styesMobile,je=Pe.stylesHoverDesktop,Ie=Pe.stylesHoverTab,Ae=Pe.stylesHoverMobile,Le=Pe.transitionStyle,Fe=Zf({controlName:Cg,attributes:t,noShadow:!0}),He=Fe.styesDesktop,ze=Fe.styesTab,qe=Fe.styesMobile,Ue=Fe.stylesHoverDesktop,Ve=Fe.stylesHoverTab,We=Fe.stylesHoverMobile,Ge=Fe.transitionStyle,Ze=Gf({controlName:Dg,styleFor:"margin",attributes:t}),Ye=Ze.dimensionStylesDesktop,Je=Ze.dimensionStylesTab,Qe=Ze.dimensionStylesMobile,Xe=Gf({controlName:jg,styleFor:"padding",attributes:t}),$e=Xe.dimensionStylesDesktop,Ke=Xe.dimensionStylesTab,et=Xe.dimensionStylesMobile,tt=Gf({controlName:Ag,styleFor:"padding",attributes:t}),at=tt.dimensionStylesDesktop,nt=tt.dimensionStylesTab,ot=tt.dimensionStylesMobile,rt=Wf({attributes:t,prefixConstant:Xg,defaultFontSize:13}),ct=rt.typoStylesDesktop,lt=rt.typoStylesTab,it=rt.typoStylesMobile,st=Wf({attributes:t,prefixConstant:$g,defaultFontSize:16}),bt=st.typoStylesDesktop,pt=st.typoStylesTab,ut=(st.typoStylesMobile,Zf({controlName:Ig,attributes:t})),dt=ut.styesDesktop,mt=ut.styesTab,gt=ut.styesMobile,ft=ut.stylesHoverDesktop,yt=ut.stylesHoverTab,vt=ut.stylesHoverMobile,ht=ut.transitionStyle,wt=Zf({controlName:Lg,attributes:t}),kt=wt.styesDesktop,Rt=wt.styesTab,_t=wt.styesMobile,Et=wt.stylesHoverDesktop,Ct=(wt.stylesHoverTab,wt.stylesHoverMobile,wt.transitionStyle),xt=function(e,t){var a=t/e;return"calc((100% / ".concat(e,") - ").concat(a*(e-1),"px)")},St="\n\t\t.eb-gallery-img-wrapper.".concat(o,"{\n\t\t\t").concat(N,"\n\t\t\t").concat(D,"\n\t\t\t").concat(Oe,"\n\t\t\t").concat(Ee,"\n\t\t\ttransition:").concat(Ne,", ").concat(Le,";\n\t\t}\n        .eb-gallery-img-wrapper.").concat(o,".no-isotope{\n            ").concat(E?"":ee,"\n        }\n\t\t.eb-gallery-img-wrapper.").concat(o,":hover {\n\t\t\t").concat(je,"\n\t\t\t").concat(Ce,"\n\t\t}\n\t\t.eb-gallery-img-wrapper.").concat(o,".grid{\n\t\t\tdisplay: flex;\n\t\t\tflex-wrap: wrap;\n\t\t\tjustify-content: ").concat(b,";\n            min-width: 1px;\n\t\t}\n\t\t.eb-gallery-img-wrapper.").concat(o,".grid .eb-gallery-img-content {\n\t\t\twidth: ").concat(xt(G,oe),";\n            box-sizing: border-box;\n            min-width: 1px;\n\t\t}\n\t\t.eb-gallery-img-wrapper.").concat(o,".masonry:not(.eb-filterable-img-gallery){\n\t\t\tcolumn-count: ").concat(G,";\n            -moz-column-count: ").concat(G,";\n            -webkit-column-count: ").concat(G,";\n\t\t}\n\t\t.eb-gallery-img-wrapper.").concat(o,".masonry .eb-gallery-img-content{\n\t\t\tmargin-bottom: ").concat(oe,"px;\n\t\t}\n\t"),Bt="\n\t\t.eb-gallery-img-wrapper.".concat(o,"{\n\t\t\t").concat(P,"\n\t\t\t").concat(j,"\n\t\t\t").concat(Me,"\n\t\t\t").concat(xe,"\n\t\t}\n        .eb-gallery-img-wrapper.").concat(o,".no-isotope{\n            ").concat(E?"":te,"\n        }\n\t\t.eb-gallery-img-wrapper.").concat(o,":hover {\n\t\t\t").concat(Ie,"\n\t\t\t").concat(Se,"\n\t\t}\n\t\t.eb-gallery-img-wrapper.").concat(o,".grid .eb-gallery-img-content {\n\t\t\twidth: ").concat(xt(Z||G,re||oe),";\n\t\t}\n\t\t.eb-gallery-img-wrapper.").concat(o,".masonry:not(.eb-filterable-img-gallery){\n            column-count: ").concat(Z,";\n            -moz-column-count: ").concat(Z,";\n            -webkit-column-count: ").concat(Z,";\n\t\t}\n\t\t.eb-gallery-img-wrapper.").concat(o,".masonry .eb-gallery-img-content{\n\t\t\tmargin-bottom: ").concat(re,"px;\n\t\t}\n\t"),Tt="\n\t\t.eb-gallery-img-wrapper.".concat(o,"{\n\t\t\t").concat(O,"\n\t\t\t").concat(I,"\n\t\t\t").concat(De,"\n\t\t\t").concat(Be,"\n\t\t}\n        .eb-gallery-img-wrapper.").concat(o,".no-isotope{\n            ").concat(E?"":ae,"\n        }\n\t\t.eb-gallery-img-wrapper.").concat(o,":hover {\n\t\t\t").concat(Ae,"\n\t\t\t").concat(Te,"\n\t\t}\n\t\t.eb-gallery-img-wrapper.").concat(o,".grid .eb-gallery-img-content {\n\t\t\twidth: ").concat(xt(Y||G,ce||oe),";\n\t\t}\n\t\t.eb-gallery-img-wrapper.").concat(o,".masonry:not(.eb-filterable-img-gallery){\n            column-count: ").concat(Y,";\n            -moz-column-count: ").concat(Y,";\n            -webkit-column-count: ").concat(Y,";\n\t\t}\n\t\t.eb-gallery-img-wrapper.").concat(o,".masonry .eb-gallery-img-content{\n\t\t\tmargin-bottom: ").concat(ce,"px;\n\t\t}\n\t"),Nt="\n\t\t.eb-gallery-img-wrapper.".concat(o,".grid .eb-gallery-img-content img {\n\t\t\t").concat("fixed"===s?"\n\t\t\t\t".concat(ie,"\n\t\t\t\t").concat(ue,"\n\t\t\t"):"\n\t\t\t\t".concat(fe,"\n\t\t\t\t").concat(we,"\n\t\t\t"),"\n\t\t}\n\t\t.eb-gallery-img-wrapper.").concat(o," .eb-gallery-img-content img {\n\t\t\t").concat(He,"\n\t\t\ttransition:").concat(Ge,";\n\t\t}\n\t\t.eb-gallery-img-wrapper.").concat(o," .eb-gallery-img-content:hover img {\n\t\t\t").concat(Ue,"\n\t\t}\n\t\t.eb-gallery-img-wrapper.").concat(o," .eb-gallery-img-content .eb-gallery-img-caption {\n\t\t\tcolor: ").concat(r,";\n\t\t\tbackground-color: ").concat(c,";\n\t\t\ttext-align: ").concat(i,";\n\t\t\t").concat(L,"\n\t\t\t").concat(q,"\n\t\t\t").concat(x,"\n\t\t\t").concat(Q,"\n\t\t}\n\t\t.eb-gallery-img-wrapper.").concat(o,".caption-style-2 .eb-gallery-link-wrapper:after {\n\t\t\tbackground-color: ").concat(l,";\n\t\t}\n        .eb-gallery-img-wrapper.").concat(o,".enable-isotope .eb-gallery-img-content {\n\t\t\tmargin: calc(").concat(y,"px / 2);\n            width: calc(100% / ").concat(G," - ").concat(oe,"px);\n\t\t}\n\t"),Pt="\n\t\t.eb-gallery-img-wrapper.".concat(o,".grid .eb-gallery-img-content img {\n\t\t\t").concat("fixed"===s?"\n\t\t\t\t".concat(se,"\n\t\t\t\t").concat(de,"\n\t\t\t"):"\n\t\t\t\t".concat(ye,"\n\t\t\t\t").concat(ke,"\n\t\t\t"),"\n\t\t}\n\t\t.eb-gallery-img-wrapper.").concat(o," .eb-gallery-img-content img {\n\t\t\t").concat(ze,"\n\t\t}\n\t\t.eb-gallery-img-wrapper.").concat(o," .eb-gallery-img-content:hover img {\n\t\t\t").concat(Ve,"\n\t\t}\n\t\t.eb-gallery-img-wrapper.").concat(o," .eb-gallery-img-content .eb-gallery-img-caption {\n\t\t\t").concat(F,"\n\t\t\t").concat(U,"\n\t\t\t").concat(S,"\n\t\t\t").concat(X,"\n\t\t}\n        .eb-gallery-img-wrapper.").concat(o,".enable-isotope .eb-gallery-img-content {\n\t\t\tmargin: calc(").concat(v,"px / 2);\n            width: calc(100% / ").concat(Z," - ").concat(re,"px);\n\t\t}\n\t"),Ot="\n\t\t.eb-gallery-img-wrapper.".concat(o,".grid .eb-gallery-img-content img {\n\t\t\t").concat("fixed"===s?"\n\t\t\t\t".concat(be,"\n\t\t\t\t").concat(me,"\n\t\t\t"):"\n\t\t\t\t".concat(ve,"\n\t\t\t\t").concat(Re,"\n\t\t\t"),"\n\t\t}\n\t\t.eb-gallery-img-wrapper.").concat(o," .eb-gallery-img-content img {\n\t\t\t").concat(qe,"\n\t\t}\n\t\t.eb-gallery-img-wrapper.").concat(o," .eb-gallery-img-content:hover img {\n\t\t\t").concat(We,"\n\t\t}\n\t\t.eb-gallery-img-wrapper.").concat(o," .eb-gallery-img-content .eb-gallery-img-caption {\n\t\t\t").concat(H,"\n\t\t\t").concat(V,"\n\t\t\t").concat(B,"\n\t\t\t").concat($,"\n\t\t}\n        .eb-gallery-img-wrapper.").concat(o,".enable-isotope .eb-gallery-img-content {\n\t\t\tmargin: calc(").concat(h,"px / 2);\n            width: calc(100% / ").concat(Y," - ").concat(ce,"px);\n\t\t}\n\t"),Mt="\n\t\t.eb-parent-".concat(o," .eb-img-gallery-filter-item {\n\t\t\t").concat(Ye,"\n\t\t\t").concat($e,"\n\t\t\t").concat(ct,"\n\t\t\t").concat(dt,"\n\t\t\ttransition:").concat(ht,";\n\t\t\tcolor: ").concat(p,";\n\t\t\tbackground-color: ").concat(d,";\n\t\t}\n\n\t\t.eb-parent-").concat(o," .eb-img-gallery-filter-item:hover {\n\t\t\t").concat(ft,"\n\t\t\tcolor: ").concat(u,";\n\t\t\tbackground-color: ").concat(m,";\n\t\t}\n\n\t\t.eb-parent-").concat(o," .eb-img-gallery-filter-item.is-checked {\n\t\t\tcolor: ").concat(g,";\n\t\t\tbackground-color: ").concat(f,";\n\t\t}\n\n\t\t.eb-gallery-img-wrapper.").concat(o,".eb-filterable-img-gallery .eb-gallery-img-content {\n\t\t\tmargin: calc(").concat(y,"px / 2);\n            width: calc(99.99% / ").concat(G," - ").concat(oe,"px);\n\t\t}\n\t"),Dt="\n\t\t.eb-parent-".concat(o," .eb-img-gallery-filter-item {\n\t\t\t").concat(Je,"\n\t\t\t").concat(Ke,"\n\t\t\t").concat(lt,"\n\t\t\t").concat(mt,"\n\t\t}\n\n\t\t.eb-parent-").concat(o," .eb-img-gallery-filter-item:hover {\n\t\t\t").concat(yt,"\n\t\t}\n\n        .eb-gallery-img-wrapper.").concat(o,".eb-filterable-img-gallery .eb-gallery-img-content {\n\t\t\tmargin: calc(").concat(v||y,"px / 2);\n            width: calc(95% / ").concat(Z," - ").concat(re||oe,"px);\n\t\t}\n\t"),jt="\n\t\t.eb-parent-".concat(o," .eb-img-gallery-filter-item {\n\t\t\t").concat(Qe,"\n\t\t\t").concat(et,"\n\t\t\t").concat(it,"\n\t\t\t").concat(gt,"\n\t\t}\n\n\t\t.eb-parent-").concat(o," .eb-img-gallery-filter-item:hover {\n\t\t\t").concat(vt,"\n\t\t}\n\n        .eb-gallery-img-wrapper.").concat(o,".eb-filterable-img-gallery .eb-gallery-img-content {\n\t\t\tmargin: calc(").concat(h||y,"px / 2);\n            width: calc(99.99% / ").concat(Y||G," - ").concat(ce||oe,"px);\n\t\t}\n\t"),It="\n\t\t.eb-parent-".concat(o," .eb-img-gallery-loadmore {\n            color: ").concat(w,";\n\t\t\tbackground-color: ").concat(R,";\n\t\t\t").concat(bt,"\n\t\t\t").concat(at,"\n\t\t\t").concat(kt,"\n\t\t\ttransition:").concat(Ct,";\n\t\t}\n\t\t.eb-parent-").concat(o," .eb-img-gallery-loadmore:hover {\n            color: ").concat(k,";\n\t\t\tbackground-color: ").concat(_,";\n\t\t\t").concat(Et,"\n\t\t}\n\t"),At="\n\t\t.eb-parent-".concat(o," .eb-img-gallery-loadmore {\n\t\t\t").concat(pt,"\n\t\t\t").concat(nt,"\n\t\t\t").concat(Rt,"\n\t\t}\n\t"),Lt="\n\t\t.eb-parent-".concat(o," .eb-img-gallery-loadmore {\n\t\t\t").concat(pt,"\n\t\t\t").concat(ot,"\n\t\t\t").concat(_t,"\n\t\t}\n\t"),Ft=Vf("\n\t\t".concat(St,"\n\t\t").concat(Nt,"\n\t\t").concat(Mt,"\n\t\t").concat(It,"\n\t")),Ht=Vf("\n\t\t".concat(Bt,"\n\t\t").concat(Pt,"\n\t\t").concat(Dt,"\n\t\t").concat(At,"\n\t")),zt=Vf("\n\t\t".concat(Tt,"\n\t\t").concat(Ot,"\n\t\t").concat(jt,"\n\t\t").concat(Lt,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(Qf,{attributes:t,setAttributes:a,desktopAllStyles:Ft,tabAllStyles:Ht,mobileAllStyles:zt,blockName:n}),React.createElement("style",null,"\n                    @media (max-width: 1024px) {\n                        .eb-gallery-img-wrapper.eb-filterable-img-gallery.masonry {\n                            // display: block;\n                        }\n                        .eb-gallery-img-wrapper.eb-filterable-img-gallery.masonry .eb-gallery-img-content {\n                            // break-inside: avoid;\n                            // display: initial;\n                        }\n                        .eb-gallery-img-wrapper.eb-filterable-img-gallery.masonry .eb-gallery-img-content img {\n                            display: block;\n                            height: auto;\n                            max-width: 100%;\n                            box-sizing: border-box;\n                        }\n                    }\n                "))}function $f(e){return function(e){if(Array.isArray(e))return ay(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ty(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Kf(){return Kf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},Kf.apply(null,arguments)}function ey(e){return ey="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ey(e)}function ty(e,t){if(e){if("string"==typeof e)return ay(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?ay(e,t):void 0}}function ay(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}function ny(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function oy(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ny(Object(a),!0).forEach((function(t){ry(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ny(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function ry(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=ey(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=ey(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ey(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var cy,ly,iy,sy,by,py,uy,dy,my,gy,fy,yy,vy=window.EBControls.BlockProps;const hy={attributes:{images:[{url:(null===(cy=EssentialBlocksLocalize)||void 0===cy?void 0:cy.eb_plugins_url)+"assets/images/gallery-images/Maldive.jpg"},{url:(null===(ly=EssentialBlocksLocalize)||void 0===ly?void 0:ly.eb_plugins_url)+"assets/images/gallery-images/Australia.jpg"},{url:(null===(iy=EssentialBlocksLocalize)||void 0===iy?void 0:iy.eb_plugins_url)+"assets/images/gallery-images/hongkong.jpg"},{url:(null===(sy=EssentialBlocksLocalize)||void 0===sy?void 0:sy.eb_plugins_url)+"assets/images/gallery-images/iceland.jpg"},{url:(null===(by=EssentialBlocksLocalize)||void 0===by?void 0:by.eb_plugins_url)+"assets/images/gallery-images/china.jpg"},{url:(null===(py=EssentialBlocksLocalize)||void 0===py?void 0:py.eb_plugins_url)+"assets/images/gallery-images/CA.jpg"}],sources:[{url:(null===(uy=EssentialBlocksLocalize)||void 0===uy?void 0:uy.eb_plugins_url)+"assets/images/gallery-images/Maldive.jpg",caption:""},{url:(null===(dy=EssentialBlocksLocalize)||void 0===dy?void 0:dy.eb_plugins_url)+"assets/images/gallery-images/Australia.jpg",caption:""},{url:(null===(my=EssentialBlocksLocalize)||void 0===my?void 0:my.eb_plugins_url)+"assets/images/gallery-images/hongkong.jpg",caption:""},{url:(null===(gy=EssentialBlocksLocalize)||void 0===gy?void 0:gy.eb_plugins_url)+"assets/images/gallery-images/iceland.jpg",caption:""},{url:(null===(fy=EssentialBlocksLocalize)||void 0===fy?void 0:fy.eb_plugins_url)+"assets/images/gallery-images/china.jpg",caption:""},{url:(null===(yy=EssentialBlocksLocalize)||void 0===yy?void 0:yy.eb_plugins_url)+"assets/images/gallery-images/CA.jpg",caption:""}]}};function wy(e){return wy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},wy(e)}function ky(){return ky=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},ky.apply(null,arguments)}function Ry(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function _y(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Ry(Object(a),!0).forEach((function(t){Ey(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Ry(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Ey(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=wy(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=wy(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==wy(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var Cy=window.EBControls.sanitizeURL;const xy=[{attributes:(0,nt.omit)(_y({},bf),["enableInfiniteScroll","imagesPerPageCount"]),migrate:function(e){var t=e.imagesPerPage,a=_y({},e);return delete a.imagesPerPage,_y(_y({},a),{},{imagesPerPageCount:t})},supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.layouts,o=t.sources,r=t.displayCaption,c=t.captionOnHover,l=t.styleNumber,i=t.overlayStyle,s=t.horizontalAlign,b=t.verticalAlign,p=t.disableLightBox,u=t.classHook,d=t.filterItems,m=t.enableFilter,g=t.enableFilterAll,f=t.filterAllTitle,y=t.addCustomLink,v=t.defaultFilter,h=t.enableIsotope,w=t.enableLoadMore,k=t.loadmoreBtnText,R=t.imagesPerPage;if(0===o.length)return null;var _={rel:"noopener"};return p||(_=_y(_y({},_),{},Ey(Ey({},"data-fslightbox","gallery"),"data-type","image"))),React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(u)},m&&React.createElement("ul",{className:"eb-img-gallery-filter-wrapper filter-wrapper-".concat(a),"data-id":a},g&&React.createElement("li",{className:"eb-img-gallery-filter-item","data-filter":"*","data-id":a},""!==f?f:"All"),d.map((function(e,t){var n=e.value,o=e.label;return React.createElement("li",{key:t,className:"eb-img-gallery-filter-item","data-filter":".eb-filter-img-".concat(n),"data-id":a},o)}))),React.createElement("div",{className:"eb-gallery-img-wrapper ".concat(a," ").concat(n," ").concat(i," caption-style-").concat(l," ").concat(c?"caption-on-hover":""," ").concat(m?"eb-filterable-img-gallery":""," ").concat(h?"enable-isotope":"no-isotope"," ").concat(w?"show-loadmore":""),"data-id":a,"data-default-filter":v},o.map((function(e,t){var a;a=e.hasOwnProperty("filter")&&e.filter.length>0?(a=(a=(a=JSON.parse(e.filter)).map((function(e){return e.value}))).toString()).replaceAll(","," eb-filter-img-"):"";var n=React.createElement("span",{className:"eb-gallery-link-wrapper"},React.createElement("img",{className:"eb-gallery-img",src:e.url,"image-index":t,alt:e.alt}),r&&e.caption&&e.caption.length>0&&React.createElement("span",{className:"eb-gallery-img-caption ".concat(s," ").concat(b)},e.caption));return y?y?React.createElement("a",ky({key:t,href:p?y&&e.customLink&&e.isValidUrl?e.customLink:"#":e.url},_,{target:p&&y&&e.openNewTab?"_blank":"_self",className:"eb-gallery-img-content eb-filter-img-".concat(a)}),n):void 0:React.createElement("a",ky({key:t,href:p?"javascript:void(0)":e.url},_,{className:"eb-gallery-img-content eb-filter-img-".concat(a)}),n)}))),w&&React.createElement("button",{"data-images-per-page":R,"data-loadmore":w,className:"eb-img-gallery-loadmore"},k)))}},{attributes:_y({},bf),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.layouts,o=t.sources,r=t.displayCaption,c=t.captionOnHover,l=t.styleNumber,i=t.overlayStyle,s=t.horizontalAlign,b=t.verticalAlign,p=t.disableLightBox,u=t.classHook,d=t.filterItems,m=t.enableFilter,g=t.enableFilterAll,f=t.filterAllTitle,y=t.addCustomLink,v=t.defaultFilter,h=t.enableIsotope,w=t.enableLoadMore,k=t.loadmoreBtnText,R=t.imagesPerPage;if(0===o.length)return null;var _={id:"eb-gallery-img-content"};return p||(_=_y(_y({},_),{},Ey(Ey({},"data-fslightbox","gallery"),"data-type","image"))),React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(u)},m&&React.createElement("ul",{className:"eb-img-gallery-filter-wrapper filter-wrapper-".concat(a),"data-id":a},g&&React.createElement("li",{className:"eb-img-gallery-filter-item","data-filter":"*","data-id":a},""!==f?f:"All"),d.map((function(e,t){var n=e.value,o=e.label;return React.createElement("li",{key:t,className:"eb-img-gallery-filter-item","data-filter":".eb-filter-img-".concat(n),"data-id":a},o)}))),React.createElement("div",{className:"eb-gallery-img-wrapper ".concat(a," ").concat(n," ").concat(i," caption-style-").concat(l," ").concat(c?"caption-on-hover":""," ").concat(m?"eb-filterable-img-gallery":""," ").concat(h?"enable-isotope":"no-isotope"," ").concat(w?"show-loadmore":""),"data-id":a,"data-default-filter":v},o.map((function(e,t){var a;a=e.hasOwnProperty("filter")&&e.filter.length>0?(a=(a=(a=JSON.parse(e.filter)).map((function(e){return e.value}))).toString()).replaceAll(","," eb-filter-img-"):"";var n=React.createElement("span",{className:"eb-gallery-link-wrapper"},React.createElement("img",{className:"eb-gallery-img",src:e.url,"image-index":t,alt:e.alt}),r&&e.caption&&e.caption.length>0&&React.createElement("span",{className:"eb-gallery-img-caption ".concat(s," ").concat(b)},e.caption));return y?y?React.createElement("a",ky({key:t,href:p?y&&e.customLink&&e.isValidUrl?Cy(e.customLink):"#":e.url},_,{target:p&&y&&e.openNewTab?"_blank":"_self",className:"eb-gallery-img-content eb-filter-img-".concat(a),rel:"noopener"}),n):void 0:React.createElement("a",ky({key:t,href:p?"javascript:void(0)":e.url},_,{className:"eb-gallery-img-content eb-filter-img-".concat(a),rel:"noopener"}),n)}))),w&&React.createElement("button",{"data-images-per-page":R,"data-loadmore":w,className:"eb-img-gallery-loadmore"},k)))}},{attributes:(0,nt.omit)(_y({},bf),["enableLoadmore","loadmoreBtnText","enableIsotope"]),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.layouts,o=t.sources,r=t.displayCaption,c=t.captionOnHover,l=t.styleNumber,i=t.overlayStyle,s=t.horizontalAlign,b=t.verticalAlign,p=t.disableLightBox,u=t.classHook,d=t.filterItems,m=t.enableFilter,g=t.enableFilterAll,f=t.filterAllTitle,y=t.addCustomLink,v=t.defaultFilter;if(0===o.length)return null;var h={id:"eb-gallery-img-content"};return p||(h=_y(_y({},h),{},Ey(Ey({},"data-fslightbox","gallery"),"data-type","image"))),React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(u)},m&&React.createElement("ul",{className:"eb-img-gallery-filter-wrapper filter-wrapper-".concat(a),"data-id":a},g&&React.createElement("li",{className:"eb-img-gallery-filter-item","data-filter":"*","data-id":a},""!==f?f:"All"),d.map((function(e,t){var n=e.value,o=e.label;return React.createElement("li",{key:t,className:"eb-img-gallery-filter-item","data-filter":".eb-filter-img-".concat(n),"data-id":a},o)}))),React.createElement("div",{className:"eb-gallery-img-wrapper ".concat(a," ").concat(n," ").concat(i," caption-style-").concat(l," ").concat(c?"caption-on-hover":""," ").concat(m?"eb-filterable-img-gallery":""),"data-id":a,"data-default-filter":v},o.map((function(e,t){var a;a=e.hasOwnProperty("filter")&&e.filter.length>0?(a=(a=(a=JSON.parse(e.filter)).map((function(e){return e.value}))).toString()).replaceAll(","," eb-filter-img-"):"";var n=React.createElement("span",{className:"eb-gallery-link-wrapper"},React.createElement("img",{className:"eb-gallery-img",src:e.url,"image-index":t,alt:e.alt}),r&&e.caption&&e.caption.length>0&&React.createElement("span",{className:"eb-gallery-img-caption ".concat(s," ").concat(b)},e.caption));return y?y?React.createElement("a",ky({key:t,href:p?y&&e.customLink&&e.isValidUrl?Cy(e.customLink):"#":e.url},h,{target:p&&y&&e.openNewTab?"_blank":"_self",className:"eb-gallery-img-content eb-filter-img-".concat(a),rel:"noopener"}),n):void 0:React.createElement("a",ky({key:t,href:p?"javascript:void(0)":e.url},h,{className:"eb-gallery-img-content eb-filter-img-".concat(a),rel:"noopener"}),n)})))))}},{attributes:(0,nt.omit)(_y({},bf),["defaultFilter"]),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.layouts,o=t.sources,r=t.displayCaption,c=t.captionOnHover,l=t.styleNumber,i=t.overlayStyle,s=t.horizontalAlign,b=t.verticalAlign,p=t.disableLightBox,u=t.classHook,d=t.filterItems,m=t.enableFilter,g=t.enableFilterAll,f=t.filterAllTitle,y=t.addCustomLink;if(o&&0===o.length)return null;var v={id:"eb-gallery-img-content"};return p||(v=_y(_y({},v),{},Ey(Ey({},"data-fslightbox","gallery"),"data-type","image"))),React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(u)},m&&React.createElement("ul",{className:"eb-img-gallery-filter-wrapper filter-wrapper-".concat(a),"data-id":a},g&&React.createElement("li",{className:"eb-img-gallery-filter-item","data-filter":"*","data-id":a},""!==f?f:"All"),d.map((function(e,t){var n=e.value,o=e.label;return React.createElement("li",{key:t,className:"eb-img-gallery-filter-item","data-filter":".eb-filter-img-".concat(n),"data-id":a},o)}))),React.createElement("div",{className:"eb-gallery-img-wrapper ".concat(a," ").concat(n," ").concat(i," caption-style-").concat(l," ").concat(c?"caption-on-hover":""," ").concat(m?"eb-filterable-img-gallery":""),"data-id":a},o&&o.map((function(e,t){var a;a=e.hasOwnProperty("filter")&&e.filter.length>0?(a=(a=(a=JSON.parse(e.filter)).map((function(e){return e.value}))).toString()).replaceAll(","," eb-filter-img-"):"";var n=React.createElement("span",{className:"eb-gallery-link-wrapper"},React.createElement("img",{className:"eb-gallery-img",src:e.url,"image-index":t,alt:e.alt}),r&&e.caption&&e.caption.length>0&&React.createElement("span",{className:"eb-gallery-img-caption ".concat(s," ").concat(b)},e.caption));return y?y?React.createElement("a",ky({key:t,href:p?y&&e.customLink&&e.isValidUrl?Cy(e.customLink):"#":e.url},v,{target:p&&y&&e.openNewTab?"_blank":"_self",className:"eb-gallery-img-content eb-filter-img-".concat(a),rel:"noopener"}),n):void 0:React.createElement("a",ky({key:t,href:p?"javascript:void(0)":e.url},v,{className:"eb-gallery-img-content eb-filter-img-".concat(a),rel:"noopener"}),n)})))))}},{attributes:(0,nt.omit)(_y({},bf),["addCustomLink"]),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.layouts,o=t.sources,r=t.displayCaption,c=t.captionOnHover,l=t.styleNumber,i=t.overlayStyle,s=t.horizontalAlign,b=t.verticalAlign,p=t.disableLightBox,u=t.classHook,d=t.filterItems,m=t.enableFilter,g=t.enableFilterAll,f=t.filterAllTitle;if(0===o.length)return null;var y={id:"eb-gallery-img-content"};return p||(y=_y(_y({},y),{},Ey(Ey({},"data-fslightbox","gallery"),"data-type","image"))),React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(u)},m&&React.createElement("ul",{className:"eb-img-gallery-filter-wrapper filter-wrapper-".concat(a),"data-id":a},g&&React.createElement("li",{className:"eb-img-gallery-filter-item","data-filter":"*","data-id":a},""!==f?f:"All"),d.map((function(e,t){var n=e.value,o=e.label;return React.createElement("li",{key:t,className:"eb-img-gallery-filter-item","data-filter":".eb-filter-img-".concat(n),"data-id":a},o)}))),React.createElement("div",{className:"eb-gallery-img-wrapper ".concat(a," ").concat(n," ").concat(i," caption-style-").concat(l," ").concat(c?"caption-on-hover":""," ").concat(m?"eb-filterable-img-gallery":""),"data-id":a},o.map((function(e,t){var a;return a=e.hasOwnProperty("filter")&&e.filter.length>0?(a=(a=(a=JSON.parse(e.filter)).map((function(e){return e.value}))).toString()).replaceAll(","," eb-filter-img-"):"",React.createElement("a",ky({key:t,href:p?"#":e.url},y,{className:"eb-gallery-img-content eb-filter-img-".concat(a)}),React.createElement("span",{className:"eb-gallery-link-wrapper"},React.createElement("img",{className:"eb-gallery-img",src:e.url,"image-index":t,alt:e.alt}),r&&e.caption&&e.caption.length>0&&React.createElement("span",{className:"eb-gallery-img-caption ".concat(s," ").concat(b)},e.caption)))})))))}},{attributes:_y({},bf),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.sliderType,o=t.sliderContentType,r=t.images,c=t.arrows,l=t.adaptiveHeight,i=t.autoplay,s=t.autoplaySpeed,b=t.dots,p=t.fade,u=t.infinite,d=t.vertical,m=t.pauseOnHover,g=t.speed,f=(t.initialSlide,t.textAlign),y=t.classHook,v={arrows:c,adaptiveHeight:l,autoplay:i,autoplaySpeed:s,dots:b,fade:p,infinite:u,pauseOnHover:m,slidesToShow:t.slideToShowRange,speed:g,vertical:d,responsive:[{breakpoint:1025,settings:{slidesToShow:t.TABslideToShowRange||t.slideToShowRange}},{breakpoint:767,settings:{slidesToShow:t.MOBslideToShowRange||t.slideToShowRange}}]};return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(y)},React.createElement("div",{className:"eb-slider-wrapper ".concat(a),"data-settings":JSON.stringify(v),"data-images":JSON.stringify(r),"data-sliderContentType":o,"data-sliderType":n,"data-textAlign":f},React.createElement("div",{className:n},r.map((function(e,t){return React.createElement("div",{className:"eb-slider-item ".concat(o),key:t},React.createElement("img",{className:"eb-slider-image",src:e.url}),"content"===n&&React.createElement("div",{className:"eb-slider-content align-".concat(f)},e.title&&e.title.length>0&&React.createElement(RichText.Content,{tagName:"h2",className:"eb-slider-title",value:e.title}),e.subtitle&&e.subtitle.length>0&&React.createElement(RichText.Content,{tagName:"p",className:"eb-slider-subtitle",value:e.subtitle}),e.showButton&&e.buttonText&&e.buttonText.length>0&&React.createElement("a",{href:e.buttonUrl&&e.isValidUrl?e.buttonUrl:"#",className:"eb-slider-button",target:e.openNewTab?"_blank":"_self",rel:"noopener"},React.createElement(RichText.Content,{value:e.buttonText}))))}))))))}},{attributes:(0,nt.omit)(_y({},bf),["filterItems","enableFilter","enableFilterAll","filterAllTitle"]),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.layouts,o=t.sources,r=t.displayCaption,c=t.captionOnHover,l=t.styleNumber,i=t.overlayStyle,s=t.horizontalAlign,b=t.verticalAlign,p=t.disableLightBox,u=t.classHook;if(0===o.length)return null;var d={class:"eb-gallery-img-content"};return p||(d=_y(_y({},d),{},Ey(Ey({},"data-fslightbox","gallery"),"data-type","image"))),React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(u)},React.createElement("div",{className:"eb-gallery-img-wrapper ".concat(a," ").concat(n," ").concat(i," caption-style-").concat(l," ").concat(c?"caption-on-hover":""),"data-id":a},o.map((function(e,t){return React.createElement("a",ky({key:t,href:p?"javascript:void(0)":e.url},d),React.createElement("span",{className:"eb-gallery-link-wrapper"},React.createElement("img",{className:"eb-gallery-img",src:e.url,"image-index":t}),r&&e.caption&&e.caption.length>0&&React.createElement("span",{className:"eb-gallery-img-caption ".concat(s," ").concat(b)},e.caption)))})))))}},{attributes:_y({},bf),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.layouts,o=t.sources,r=t.displayCaption,c=t.captionOnHover,l=t.styleNumber,i=t.overlayStyle,s=t.horizontalAlign,b=t.verticalAlign,p=t.disableLightBox,u=t.classHook;return 0===o.length?null:React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(u)},React.createElement("div",{className:"eb-gallery-img-wrapper ".concat(a," ").concat(n," ").concat(i," caption-style-").concat(l," ").concat(c?"caption-on-hover":""),"data-id":a},o.map((function(e,t){return React.createElement("a",{key:t,"data-fslightbox":"gallery",href:p?"javascript:void(0)":e.url,className:"eb-gallery-img-content"},React.createElement("span",{className:"eb-gallery-link-wrapper"},React.createElement("img",{className:"eb-gallery-img",src:e.url,"image-index":t}),r&&e.caption&&e.caption.length>0&&React.createElement("span",{className:"eb-gallery-img-caption ".concat(s," ").concat(b)},e.caption)))})))))}},{attributes:_y({},bf),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.layouts,o=t.sources,r=t.displayCaption,c=t.captionOnHover,l=t.styleNumber,i=t.overlayStyle,s=t.horizontalAlign,b=t.verticalAlign,p=t.disableLightBox;return 0===o.length?null:React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-gallery-img-wrapper ".concat(a," ").concat(n," ").concat(i," caption-style-").concat(l," ").concat(c?"caption-on-hover":""),"data-id":a},o.map((function(e,t){return React.createElement("a",{key:t,"data-fslightbox":"gallery",href:p?"javascript:void(0)":e.url,className:"eb-gallery-img-content"},React.createElement("span",{className:"eb-gallery-link-wrapper"},React.createElement("img",{className:"eb-gallery-img",src:e.url,"image-index":t}),r&&e.caption&&e.caption.length>0&&React.createElement("span",{className:"eb-gallery-img-caption ".concat(s," ").concat(b)},e.caption)))}))))}},{attributes:_y({},bf),save:function(e){var t=e.attributes,a=t.blockId,n=t.layouts,o=t.sources,r=t.displayCaption,c=t.captionOnHover,l=t.styleNumber,i=t.overlayStyle,s=t.horizontalAlign,b=t.verticalAlign;return 0===o.length?null:React.createElement("div",{className:"eb-gallery-img-wrapper ".concat(a," ").concat(n," ").concat(i," caption-style-").concat(l," ").concat(c?"caption-on-hover":""),"data-id":a},o.map((function(e,t){return React.createElement("a",{className:"eb-gallery-img-content"},React.createElement("span",{className:"eb-gallery-link-wrapper"},React.createElement("img",{className:"eb-gallery-img",src:e.url,"image-index":t}),r&&e.caption&&e.caption.length>0&&React.createElement("span",{className:"eb-gallery-img-caption ".concat(s," ").concat(b)},e.caption)))})))}}],Sy=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Image Gallery","name":"essential-blocks/image-gallery","description":"Impress your audience with high-resolution images","category":"essential-blocks","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');(0,EBControls.ebConditionalRegisterBlockType)(Sy,{icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"50",fill:"none",viewBox:"0 0 60 50"},React.createElement("path",{fill:"#6C3BFF",d:"M55.91.143H4.181C1.818.143 0 2.029 0 4.086v41.828c0 2.229 2 3.943 4.182 3.943h51.545c2.364 0 4.182-1.886 4.182-3.943V4.086c.273-2.229-1.727-3.943-4-3.943zM2.363 4.086c0-1.029.909-1.715 1.818-1.715h51.545c1.091 0 1.819.858 1.819 1.715v41.828c0 1.029-.91 1.715-1.819 1.715H4.182c-1.091 0-1.818-.858-1.818-1.715V4.086z"}),React.createElement("path",{fill:"#6C3BFF",d:"M24.364 38.886h11c.545 0 1.09-.343 1.09-1.029V27.143c0-.514-.363-1.029-1.09-1.029h-11c-.546 0-1.091.343-1.091 1.029v10.714c.181.686.545 1.029 1.09 1.029zm10.09-10.543v8.828h-9v-8.828h9zM8.455 38.886h10.09c.546 0 1.091-.343 1.091-1.029V27.143c0-.514-.363-1.029-1.09-1.029H8.455c-.546 0-1.091.343-1.091 1.029v10.714c0 .686.363 1.029 1.09 1.029zm9-10.543v8.828H9.364v-8.828h8.09zM24.364 23.286h11c.545 0 1.09-.343 1.09-1.029V11.543c0-.514-.363-1.029-1.09-1.029h-11c-.546 0-1.091.343-1.091 1.029v10.714c.181.514.545 1.029 1.09 1.029zm10.09-10.715v8.486c-.909-.857-2.727-2.4-2.727-2.4h-.363l-1.455 1.2-2-2.228-.182-.172h-.363s-1.273 1.714-2.182 3.086V12.4h9.363l-.09.171zM40.545 38.886h11c.546 0 1.091-.343 1.091-1.029V27.143c0-.514-.363-1.029-1.09-1.029h-11c-.546 0-1.091.343-1.091 1.029v10.714c0 .686.545 1.029 1.09 1.029zm9.91-10.543v8.828h-9v-8.828h9zM40.545 23.286h11c.546 0 1.091-.343 1.091-1.029V11.543c0-.514-.363-1.029-1.09-1.029h-11c-.546 0-1.091.343-1.091 1.029v10.714c0 .514.545 1.029 1.09 1.029zm9.91-10.715V21.4h-9v-8.829h9zM8.455 23.286h10.09c.546 0 1.091-.343 1.091-1.029V11.543c0-.514-.363-1.029-1.09-1.029H8.455c-.546 0-1.091.343-1.091 1.029v10.714c0 .514.363 1.029 1.09 1.029zm9-10.715V21.4H9.364v-8.829h8.09z"}),React.createElement("path",{fill:"#6C3BFF",d:"M31.546 17.8c.652 0 1.181-.499 1.181-1.114 0-.616-.529-1.115-1.181-1.115-.653 0-1.182.5-1.182 1.115s.529 1.114 1.181 1.114z"}))},attributes:bf,keywords:[(0,Y.__)("images","essential-blocks"),(0,Y.__)("photos","essential-blocks"),(0,Y.__)("eb image gallery","essential-blocks")],edit:function(e){var t=e.attributes,a=e.setAttributes,n=e.className,o=e.isSelected,r=t.resOption,c=t.blockId,l=(t.blockMeta,t.images),i=t.layouts,s=t.sources,b=t.displayCaption,p=t.captionOnHover,u=t.newImage,d=t.horizontalAlign,m=t.verticalAlign,g=t.styleNumber,f=t.overlayStyle,y=t.imageSize,v=t.classHook,h=t.filterItems,w=t.enableFilter,k=t.enableFilterAll,R=t.filterAllTitle,_=t.defaultFilter,E=t.imageGapRange,C=t.columnsRange,x=t.imageHeightRange,S=t.imageWidthRange,B=t.imageMaxHeightRange,T=t.imageMaxWidthRange,N=t.imgBorderShadowborderStyle,P=t.imgBorderShadowborderColor,O=t.imgBorderShadowBdr_Bottom,M=t.imgBorderShadowBdr_Left,D=t.imgBorderShadowBdr_Right,j=t.imgBorderShadowBdr_Top,I=t.imgBorderShadowRds_Bottom,A=t.imgBorderShadowRds_Left,L=t.imgBorderShadowRds_Right,F=t.imgBorderShadowRds_Top,H=t.enableIsotope,z=t.loadmoreBtnText,q=t.enableLoadMore,U=t.enableInfiniteScroll,V=oy(oy({},e),{},{blockPrefix:"eb-image-gallery",style:React.createElement(Xf,e)});(0,Q.useBlockProps)({className:te()(n,"eb-guten-block-main-parent-wrapper")}),(0,J.useEffect)((function(){var e=[];l.map((function(t){var a={};t.sizes&&y&&y.length>0?a.url=t.sizes[y]?t.sizes[y].url:t.url:a.url=t.url,a.caption=t.caption,a.id=t.id,a.alt=t.alt,a.customLink=t.customLink?t.customLink:"",a.openNewTab=!!t.openNewTab&&t.openNewTab,a.isValidUrl=!t.isValidUrl||t.isValidUrl,s.length>0&&s.map((function(e){e.filter&&e.id===t.id&&(a.filter=e.filter)})),e.push(a)})),a({sources:e})}),[l,y]);var W=[];l.map((function(e){return W.push(e.url)})),(0,J.useEffect)((function(){null==w&&a({enableFilter:!1}),null==h&&a({filterItems:[{value:"filter-item-1",label:(0,Y.__)("Filter Item 1","essential-blocks")}]}),null==k&&a({enableFilterAll:!0}),null==R&&a({filterAllTitle:"All"})}),[]);var G,Z,$=(0,J.useRef)(),K=(G=(0,J.useState)("*"),Z=2,function(e){if(Array.isArray(e))return e}(G)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,r,c,l=[],i=!0,s=!1;try{if(r=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;i=!1}else for(;!(i=(n=r.call(a)).done)&&(l.push(n.value),l.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{if(!i&&null!=a.return&&(c=a.return(),Object(c)!==c))return}finally{if(s)throw o}}return l}}(G,Z)||ty(G,Z)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),ee=K[0],ae=K[1];(0,J.useEffect)((function(){if(!$.current||"object"!==ey($.current)||0!==Object.keys($.current).length){if(w){var e=document.querySelector(".".concat(c));e&&imagesLoaded(e,(function(){if($.current="grid"==i?new Isotope(".".concat(c),{itemSelector:".eb-gallery-img-content",percentPosition:!0}):new Isotope(".".concat(c),{itemSelector:".eb-gallery-img-content",percentPosition:!0,masonry:{columnWidth:".eb-gallery-img-content"}}),"Desktop"===r)return function(){return $.current.destroy()}}))}if(H){var t=document.querySelector(".".concat(c));t&&imagesLoaded(t,(function(){if($.current="grid"==i?new Isotope(".".concat(c),{itemSelector:".eb-gallery-img-content",percentPosition:!0}):new Isotope(".".concat(c),{itemSelector:".eb-gallery-img-content",percentPosition:!0,masonry:{columnWidth:".eb-gallery-img-content"}}),"Desktop"===r)return function(){return $.current.destroy()}}))}else document.querySelector(".".concat(c))&&($.current=new Isotope(".".concat(c)),$.current.destroy())}}),[H,w,i,l,y,k,h,s,C,E,x,,S,B,T,N,P,O,M,D,j,I,A,L,F]),(0,J.useEffect)((function(){if((!$.current||"object"!==ey($.current)||0!==Object.keys($.current).length)&&w){var e=document.querySelector(".".concat(c));e&&imagesLoaded(e,(function(){"*"===ee?$.current.arrange({filter:"*"}):$.current.arrange({filter:".".concat(ee)})}))}}),[w,ee]),(0,J.useEffect)((function(){_&&_.length>0&&ae("*"===_?"*":"eb-filter-img-".concat(_))}),[_]);var ne=function(e,t){ae(t),e.target.closest(".eb-img-gallery-filter-wrapper").querySelector(".is-checked").classList.remove("is-checked"),e.target.classList.add("is-checked")};return React.createElement(React.Fragment,null,o&&l.length>0&&React.createElement(qf,{attributes:t,setAttributes:a}),React.createElement(React.Fragment,null,0===W.length&&React.createElement(Q.MediaPlaceholder,{onSelect:function(e){return a({images:e})},accept:"image/*",allowedTypes:["image"],multiple:!0,labels:{title:"Images",instructions:"Drag media files, upload or select files from your library."}})),React.createElement(vy.Edit,V,W.length>0&&React.createElement(J.Fragment,null,React.createElement(Q.BlockControls,null,React.createElement(X.ToolbarGroup,null,React.createElement(X.ToolbarItem,null,(function(){return React.createElement(Q.MediaUpload,{value:l.map((function(e){return e.id})),onSelect:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t[0],r=new Map(t.map((function(e){return[e.id,e]})));o.forEach((function(e){var t=r.get(e.id);t&&Object.assign(e,t)})),a({images:o})},allowedTypes:["image"],multiple:!0,gallery:!0,render:function(e){var t=e.open;return React.createElement(X.ToolbarButton,{className:"components-toolbar__control",label:(0,Y.__)("Edit gallery","essential-blocks"),icon:"edit",onClick:t})}})})))),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(c," ").concat(v),ref:$},w&&React.createElement("ul",{className:"eb-img-gallery-filter-wrapper"},k&&React.createElement("li",{className:"eb-img-gallery-filter-item ".concat("*"===ee?"is-checked":""),"data-filter":"*",onClick:function(e){return ne(e,"*")}},""!==R?R:"All"),h.map((function(e,t){var a=e.value,n=e.label;return React.createElement("li",{key:t,className:"eb-img-gallery-filter-item ".concat(ee==="eb-filter-img-".concat(a)?"is-checked":""),"data-filter":".eb-filter-img-".concat(a),onClick:function(e){return ne(e,"eb-filter-img-".concat(a))}},n)}))),React.createElement("div",{className:"eb-gallery-img-wrapper ".concat(c," ").concat(i," ").concat(f," caption-style-").concat(g," ").concat(p?"caption-on-hover":""," ").concat(w?"eb-filterable-img-gallery":""," ").concat(H?"enable-isotope":"no-isotope"," ").concat(q?"show-loadmore":""),"data-id":c},s.map((function(e,t){var a;return a=e.hasOwnProperty("filter")&&e.filter.length>0?(a=(a=(a=JSON.parse(e.filter)).map((function(e){return e.value}))).toString()).replaceAll(","," eb-filter-img-"):"",React.createElement("a",{key:t,className:"eb-gallery-img-content eb-filter-img-".concat(a)},React.createElement("span",{className:"eb-gallery-link-wrapper"},React.createElement("img",{className:"eb-gallery-img",src:e.url,"image-index":t}),b&&e.caption&&e.caption.length>0&&React.createElement("span",{className:"eb-gallery-img-caption ".concat(d," ").concat(m)},e.caption)))}))),q&&React.createElement("button",Kf({},U?{disabled:!0}:{},{className:"eb-img-gallery-loadmore ".concat(U?"loadmore-disable":"")}),U&&React.createElement("img",{src:"".concat(EssentialBlocksLocalize.eb_plugins_url,"/assets/images/loading.svg")}),z)),React.createElement(Q.MediaUpload,{onSelect:function(e){var t=[].concat($f(l),$f(e)),n=[];t.map((function(e){var t={};t.url=e.url,t.caption=e.caption,t.id=e.id,s.length>0&&s.map((function(a){a.filter&&a.id===e.id&&(t.filter=a.filter)})),n.push(t)})),a({images:t,sources:n})},accept:"image/*",allowedTypes:["image"],multiple:!0,value:u,render:function(e){var t=e.open;return!u&&React.createElement(X.Button,{className:"eb-gallery-upload-button",label:(0,Y.__)("Add Image","essential-blocks"),icon:"plus-alt",onClick:t},"Add More Images")}}))))},save:function(e){var t=e.attributes,a=t.blockId,n=t.layouts,o=t.sources,r=t.displayCaption,c=t.captionOnHover,l=t.styleNumber,i=t.overlayStyle,s=t.horizontalAlign,b=t.verticalAlign,p=t.disableLightBox,u=t.classHook,d=t.filterItems,m=t.enableFilter,g=t.enableFilterAll,f=t.filterAllTitle,y=t.addCustomLink,v=t.defaultFilter,h=t.enableIsotope,w=t.enableLoadMore,k=t.loadmoreBtnText,R=t.imagesPerPageCount,_=t.enableInfiniteScroll;if(0===o.length)return null;var E={rel:"noopener"};return p||(E=mg(mg({},E),{},gg(gg({},"data-fslightbox","gallery"),"data-type","image"))),React.createElement(vg.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(u)},m&&React.createElement("ul",{className:"eb-img-gallery-filter-wrapper filter-wrapper-".concat(a),"data-id":a},g&&React.createElement("li",{className:"eb-img-gallery-filter-item","data-filter":"*","data-id":a},""!==f?f:"All"),d.map((function(e,t){var n=e.value,o=e.label;return React.createElement("li",{key:t,className:"eb-img-gallery-filter-item","data-filter":".eb-filter-img-".concat(n),"data-id":a},o)}))),React.createElement("div",{className:"eb-gallery-img-wrapper ".concat(a," ").concat(n," ").concat(i," caption-style-").concat(l," ").concat(c?"caption-on-hover":""," ").concat(m?"eb-filterable-img-gallery":""," ").concat(h?"enable-isotope":"no-isotope"," ").concat(w?"show-loadmore":""),"data-id":a,"data-default-filter":v},o.map((function(e,t){var a;a=e.hasOwnProperty("filter")&&e.filter.length>0?(a=(a=(a=JSON.parse(e.filter)).map((function(e){return e.value}))).toString()).replaceAll(","," eb-filter-img-"):"";var n=React.createElement("span",{className:"eb-gallery-link-wrapper"},React.createElement("img",{className:"eb-gallery-img",src:e.url,"image-index":t,alt:e.alt}),r&&e.caption&&e.caption.length>0&&React.createElement("span",{className:"eb-gallery-img-caption ".concat(s," ").concat(b)},e.caption));return y?y?React.createElement("a",ug({key:t,href:p?y&&e.customLink&&e.isValidUrl?yg(e.customLink):"#":e.url},E,{target:p&&y&&e.openNewTab?"_blank":"_self",className:"eb-gallery-img-content eb-filter-img-".concat(a)}),n):void 0:React.createElement("a",ug({key:t,href:p?"javascript:void(0)":e.url},E,{className:"eb-gallery-img-content eb-filter-img-".concat(a)}),n)}))),w&&React.createElement(React.Fragment,null,React.createElement("button",ug({},_?{disabled:!0}:{},{"data-images-per-page":R,"data-loadmore":w,"data-infinite-scroll":_,className:"eb-img-gallery-loadmore ".concat(_?"loadmore-disable":"")}),_&&React.createElement("img",{className:"eb-install-loader",src:"".concat(EssentialBlocksLocalize.eb_plugins_url,"/assets/images/loading.svg")}),k))))},example:hy,deprecated:xy});var By=window.EBControls,Ty=By.DynamicInputValueHandler,Ny=By.EBDisplayIcon;function Py(e){var t=e.attributes,a=e.setAttributes,n=t.blockId,o=t.media,r=t.infoboxIcon,c=t.number,l=t.imageUrl,i=t.imageId,s=(t.imageAlt,t.titleTag),b=t.title,p=t.enableSubTitle,u=t.subTitleTag,d=t.subTitle,m=t.enableDescription,g=t.description,f=t.enableButton,y=t.isInfoClick,v=(t.infoboxLink,t.buttonText),h=t.btnEffect,w=t.classHook;return React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(n," ").concat(w)},React.createElement("div",{className:"".concat(n," eb-infobox-wrapper")},React.createElement("div",{className:"infobox-wrapper-inner"},"icon"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-icon number-or-icon"},React.createElement(Ny,{icon:r,className:"eb-infobox-icon-data-selector"}))):null,"number"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-infobox-num-wrapper number-or-icon"},React.createElement("span",{className:"eb-infobox-number"},c))):null,"image"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-infobox-image-wrapper"},React.createElement(Q.MediaUpload,{onSelect:function(e){var t=e.id,n=e.url,o=e.alt;return a({imageUrl:n,imageId:t,imageAlt:o})},type:"image",value:i,render:function(e){var t=e.open;return l?React.createElement("img",{className:"eb-infobox-image",src:l}):React.createElement(X.Button,{className:"eb-infobox-img-btn components-button",label:(0,Y.__)("Upload Image","essential-blocks"),icon:"format-image",onClick:t})}}))):null,React.createElement("div",{className:"contents-wrapper"},React.createElement(Q.RichText,{tagName:s,className:"title",value:b,onChange:function(e){return a({title:e})}}),p?React.createElement(Q.RichText,{tagName:u,className:"subtitle",value:d,onChange:function(e){return a({subTitle:e})}}):null,m?React.createElement(Q.RichText,{tagName:"p",className:"description",value:g,onChange:function(e){return a({description:e})}}):null,f&&!y?React.createElement("div",{className:"eb-infobox-btn-wrapper"},React.createElement(Ty,{tagName:"a",className:"infobox-btn ".concat(h||" "),value:v,allowedFormats:["core/bold","core/italic","core/strikethrough","core/underline"],onChange:function(e){return a({buttonText:e})}})):null))))}var Oy="wrp_",My="btbg_",Dy="wrp_",jy="btbds_",Iy="number",Ay="title",Ly="subTitle",Fy="content",Hy="buttonText",zy="mediaBgSize",qy="mediaBgRadius",Uy="mediaBgMargin",Vy="buttonPadding",Wy="titlePadding",Gy="subTitlePadding",Zy="contentPadding",Yy="wrapperMargin",Jy="wrapperPadding",Qy="mIconZ",Xy="mImgW",$y="mImgH",Ky="mcSp";function ev(e){return ev="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ev(e)}function tv(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function av(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?tv(Object(a),!0).forEach((function(t){nv(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):tv(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function nv(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=ev(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=ev(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ev(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var ov=window.EBControls,rv=ov.generateDimensionsAttributes,cv=ov.generateTypographyAttributes,lv=ov.generateBackgroundAttributes,iv=ov.generateBorderShadowAttributes,sv=ov.generateResponsiveRangeAttributes;const bv=av(av(av(av(av(av(av(av(av(av(av(av(av(av(av(av(av(av({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},isOverlay:{type:"boolean",default:!1},layoutPreset:{type:"string",default:"preset1"},media:{type:"string",default:"icon"},numIconColor:{type:"string",default:"var(--eb-global-background-color)"},useNumIconBg:{type:"boolean",default:!0},numIconBgType:{type:"string",default:"fill"},numIconBgColor:{type:"string",default:"var(--eb-global-primary-color)"},numIconBgGradient:{type:"string",default:"var(--eb-global-background-color)"},imageUrl:{source:"attribute",selector:".eb-infobox-image",attribute:"src"},imageId:{type:"string"},imageAlt:{type:"string"},mediaImgWidthUnit:{type:"string",default:"px"},mediaImgWidth:{type:"number",default:300},TABmediaImgWidth:{type:"number"},MOBmediaImgWidth:{type:"number"},isMediaImgHeightAuto:{type:"boolean",default:!0},mediaImgHeightUnit:{type:"string",default:"px"},mediaImgHeight:{type:"number"},TABmediaImgHeight:{type:"number"},MOBmediaImgHeight:{type:"number"},selectedIcon:{type:"string",source:"attribute",selector:".eb-infobox-icon-data-selector",attribute:"data-icon",default:"far fa-gem"},infoboxIcon:{type:"string",default:"far fa-gem"},number:{type:"string"},enableSubTitle:{type:"boolean",default:!1},enableDescription:{type:"boolean",default:!0},enableButton:{type:"boolean",default:!0},isInfoClick:{type:"boolean",default:!1},buttonText:{type:"string",default:"Learn More"},buttonTextColor:{type:"string",default:"var(--eb-global-button-text-color)"},buttonHvrTextColor:{type:"string",default:"var(--eb-global-button-text-color)"},btnEffect:{type:"string"},infoboxLink:{type:"string"},linkNewTab:{type:"boolean",default:!1},title:{type:"text",selector:".title",default:"This is an info box"},titleColor:{type:"string",default:"var(--eb-global-heading-color)"},subTitle:{type:"text",selector:".subtitle",default:"This is a Sub title"},subTitleColor:{type:"string",default:"var(--eb-global-text-color)"},description:{type:"text",selector:".description",default:"Write a short description, that will describe the title or something informational and useful"},descriptionColor:{type:"string",default:"var(--eb-global-text-color)"},iconSize:{type:"number",default:50},TABiconSize:{type:"number"},MOBiconSize:{type:"number"},flexDirection:{type:"string"},mediaAlignSelf:{type:"string"},contentAlignment:{type:"string"},titleTag:{type:"string",default:"h2"},subTitleTag:{type:"string",default:"h3"},mediaAlignment:{type:"string"},contentsAlignment:{type:"string"},btnAlignment:{type:"string"}},sv(Qy,{defaultRange:50})),sv(Xy,{defaultRange:300})),sv($y)),sv(Ky,{defaultRange:20,noUnits:!0})),cv(Object.values(m))),rv(zy,{top:20,bottom:20,right:20,left:20})),rv(qy,{top:20,bottom:20,isLinked:!1})),rv(Uy,{top:15,isLinked:!1})),rv(Vy,{top:15,bottom:15,right:30,left:30,isLinked:!1})),rv(Wy,{top:10,bottom:10,isLinked:!1})),rv(Gy,{top:10,bottom:10,isLinked:!1})),rv(Zy,{top:10,bottom:50,isLinked:!1})),rv(Yy)),rv(Jy,{top:50,bottom:70,right:30,left:30,isLinked:!1})),iv(jy,{rdsDefaults:{top:10,bottom:10,right:10,left:10}})),iv(Dy,{})),lv(Oy,{isBgDefaultGradient:!0,defaultBgGradient:"linear-gradient(90deg, rgba(249,250,251,1) 0% , rgba(250,250,250,1) 100%)"})),lv(My,{defaultFillColor:"var(--eb-global-button-background-color)",defaultBgGradient:"var(--eb-gradient-background-color)",forButton:!0}));var pv=[{label:(0,Y.__)("Preset 1","essential-blocks"),value:"preset1"},{label:(0,Y.__)("Preset 2","essential-blocks"),value:"preset2"},{label:(0,Y.__)("Preset 3","essential-blocks"),value:"preset3"},{label:(0,Y.__)("Preset 4","essential-blocks"),value:"preset4"}],uv=[{label:(0,Y.__)("image","essential-blocks"),value:"image"},{label:(0,Y.__)("icon","essential-blocks"),value:"icon"},{label:(0,Y.__)("Text","essential-blocks"),value:"number"},{label:(0,Y.__)("none","essential-blocks"),value:"none"}],dv=[{label:(0,Y.__)("Left","essential-blocks"),value:"left"},{label:(0,Y.__)("Center","essential-blocks"),value:"center"},{label:(0,Y.__)("Right","essential-blocks"),value:"right"}],mv=[{label:(0,Y.__)("Left","essential-blocks"),value:"flex-start"},{label:(0,Y.__)("Center","essential-blocks"),value:"center"},{label:(0,Y.__)("Right","essential-blocks"),value:"flex-end"}],gv=[{label:(0,Y.__)("Top","essential-blocks"),value:"flex-start"},{label:(0,Y.__)("Middle","essential-blocks"),value:"center"},{label:(0,Y.__)("Bottom","essential-blocks"),value:"flex-end"}],fv=[{label:"Fill",value:"fill"},{label:"Gradient",value:"gradient"}],yv=[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"}],vv=[{label:"px",value:"px"},{label:"em",value:"em"},{label:"vh",value:"vh"}],hv=["h1","h2","h3","h4","h5","h6"],wv=((0,Y.__)("Fill","essential-blocks"),(0,Y.__)("Gradient","essential-blocks"),(0,Y.__)("Image","essential-blocks"),(0,Y.__)("Auto","essential-blocks"),(0,Y.__)("Cover","essential-blocks"),(0,Y.__)("Contain","essential-blocks"),(0,Y.__)("None","essential-blocks"),(0,Y.__)("Dashed","essential-blocks"),(0,Y.__)("Solid","essential-blocks"),(0,Y.__)("Dotted","essential-blocks"),(0,Y.__)("Double","essential-blocks"),(0,Y.__)("Groove","essential-blocks"),(0,Y.__)("Inset","essential-blocks"),(0,Y.__)("Outset","essential-blocks"),(0,Y.__)("Ridge","essential-blocks"),[{label:(0,Y.__)("Select Hover Effect","essential-blocks"),value:""},{label:(0,Y.__)("Grow","essential-blocks"),value:"hvr-grow"},{label:(0,Y.__)("Shrink","essential-blocks"),value:"hvr-shrink"},{label:(0,Y.__)("Pulse","essential-blocks"),value:"hvr-pulse"},{label:(0,Y.__)("Pulse Grow","essential-blocks"),value:"hvr-pulse-grow"},{label:(0,Y.__)("Pulse Shrink","essential-blocks"),value:"hvr-pulse-shrink"},{label:(0,Y.__)("Push","essential-blocks"),value:"hvr-push"},{label:(0,Y.__)("Pop","essential-blocks"),value:"hvr-pop"},{label:(0,Y.__)("Bounce In","essential-blocks"),value:"hvr-bounce-in"},{label:(0,Y.__)("Bounce Out","essential-blocks"),value:"hvr-bounce-out"},{label:(0,Y.__)("Rotate","essential-blocks"),value:"hvr-rotate"},{label:(0,Y.__)("Grow Rotate","essential-blocks"),value:"hvr-grow-rotate"},{label:(0,Y.__)("Float","essential-blocks"),value:"hvr-float"},{label:(0,Y.__)("Sink","essential-blocks"),value:"hvr-sink"},{label:(0,Y.__)("Bob","essential-blocks"),value:"hvr-bob"},{label:(0,Y.__)("Hang","essential-blocks"),value:"hvr-hang"},{label:(0,Y.__)("Skew","essential-blocks"),value:"hvr-skew"},{label:(0,Y.__)("Skew Forward","essential-blocks"),value:"hvr-skew-forward"},{label:(0,Y.__)("Skew Backward","essential-blocks"),value:"hvr-skew-backward"},{label:(0,Y.__)("Wobble Horizontal","essential-blocks"),value:"hvr-wobble-horizontal"},{label:(0,Y.__)("Wobble Vertical","essential-blocks"),value:"hvr-wobble-vertical"},{label:(0,Y.__)("Wobble To Bottom Right","essential-blocks"),value:"hvr-wobble-to-bottom-right"},{label:(0,Y.__)("Wobble To Top Right","essential-blocks"),value:"hvr-wobble-to-top-right"},{label:(0,Y.__)("Wobble Top","essential-blocks"),value:"hvr-wobble-top"},{label:(0,Y.__)("Wobble Bottom","essential-blocks"),value:"hvr-wobble-bottom"},{label:(0,Y.__)("Wobble Skew","essential-blocks"),value:"hvr-wobble-skew"},{label:(0,Y.__)("Buzz","essential-blocks"),value:"hvr-buzz"},{label:(0,Y.__)("Buzz Out","essential-blocks"),value:"hvr-buzz-out"},{label:(0,Y.__)("Forward","essential-blocks"),value:"hvr-forward"},{label:(0,Y.__)("Fade","essential-blocks"),value:"hvr-fade"},{label:(0,Y.__)("Back Pulse","essential-blocks"),value:"hvr-back-pulse"},{label:(0,Y.__)("Sweep To Right","essential-blocks"),value:"hvr-sweep-to-right"},{label:(0,Y.__)("Sweep To Left","essential-blocks"),value:"hvr-sweep-to-left"},{label:(0,Y.__)("Sweep To Bottom","essential-blocks"),value:"hvr-sweep-to-bottom"},{label:(0,Y.__)("Sweep To Top","essential-blocks"),value:"hvr-sweep-to-top"},{label:(0,Y.__)("Bounce To Right","essential-blocks"),value:"hvr-bounce-to-right"},{label:(0,Y.__)("Bounce To Left","essential-blocks"),value:"hvr-bounce-to-left"},{label:(0,Y.__)("Bounce To Bottom","essential-blocks"),value:"hvr-bounce-to-bottom"},{label:(0,Y.__)("Bounce To Top","essential-blocks"),value:"hvr-bounce-to-top"},{label:(0,Y.__)("Radial Out","essential-blocks"),value:"hvr-radial-out"},{label:(0,Y.__)("Radial In","essential-blocks"),value:"hvr-radial-in"},{label:(0,Y.__)("Rectangle In","essential-blocks"),value:"hvr-rectangle-in"},{label:(0,Y.__)("Rectangle Out","essential-blocks"),value:"hvr-rectangle-out"},{label:(0,Y.__)("Shutter In Horizontal","essential-blocks"),value:"hvr-shutter-in-horizontal"},{label:(0,Y.__)("Shutter Out Horizontal","essential-blocks"),value:"hvr-shutter-out-horizontal"},{label:(0,Y.__)("Shutter In Vertical","essential-blocks"),value:"hvr-shutter-in-vertical"},{label:(0,Y.__)("Shutter Out Vertical","essential-blocks"),value:"hvr-shutter-out-vertical"},{label:(0,Y.__)("Curl Top Left","essential-blocks"),value:"hvr-curl-top-left"},{label:(0,Y.__)("Curl Top Right","essential-blocks"),value:"hvr-curl-top-right"},{label:(0,Y.__)("Curl Bottom Right","essential-blocks"),value:"hvr-curl-bottom-right"},{label:(0,Y.__)("Curl Bottom Left","essential-blocks"),value:"hvr-curl-bottom-left"}]),kv=window.EBControls,Rv=kv.BackgroundControl,_v=kv.BorderShadowControl,Ev=kv.GradientColorControl,Cv=kv.ColorControl,xv=kv.ImageAvatar,Sv=kv.ResponsiveRangeController,Bv=kv.ResponsiveDimensionsControl,Tv=kv.TypographyDropdown,Nv=(kv.faIcons,kv.AdvancedControls),Pv=kv.DynamicInputControl,Ov=kv.EBIconPicker;const Mv=function(e){var t=e.attributes,a=e.setAttributes,n=(t.blockId,t.resOption),o=t.layoutPreset,r=t.media,c=t.enableSubTitle,l=t.number,i=t.imageUrl,s=(t.imageAlt,t.infoboxIcon),b=t.flexDirection,p=t.enableDescription,u=t.useNumIconBg,d=t.numIconColor,m=t.numIconBgType,g=t.numIconBgColor,f=t.numIconBgGradient,y=t.imageId,v=t.isMediaImgHeightAuto,h=t.titleTag,w=t.subTitleTag,k=t.enableButton,R=t.isInfoClick,_=t.buttonText,E=t.infoboxLink,C=t.buttonTextColor,x=t.buttonHvrTextColor,S=t.titleColor,B=t.subTitleColor,T=t.descriptionColor,N=t.mediaAlignment,P=t.contentsAlignment,O=t.btnAlignment,M=t.btnEffect,D=t.linkNewTab,j={setAttributes:a,resOption:n,attributes:t,objAttributes:bv};return(0,J.useEffect)((function(){switch(o){case"preset1":a({flexDirection:"column",contentAlignment:"center",mediaAlignSelf:"center"});break;case"preset2":a({flexDirection:"column-reverse",contentAlignment:"center",mediaAlignSelf:"center"});break;case"preset3":a({flexDirection:"row",contentAlignment:"left",mediaAlignSelf:"flex-start"});break;case"preset4":a({flexDirection:"row-reverse",contentAlignment:"right",mediaAlignSelf:"flex-start"})}}),[o]),React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:"General",className:"eb-tab general"},{name:"styles",title:"Style",className:"eb-tab styles"},{name:"advance",title:"Advanced",className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls"+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Infobox Settings","essential-blocks")},React.createElement(X.SelectControl,{label:(0,Y.__)("Layout Preset ","essential-blocks"),value:o,options:pv,onChange:function(e){return a({layoutPreset:e})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Clickable Infobox","essential-blocks"),checked:R,onChange:function(){return a({isInfoClick:!R})}}),R&&React.createElement(React.Fragment,null,React.createElement(X.TextControl,{label:(0,Y.__)("URL (use https:// at the beginning)"),placeholder:"https://your-link.com",value:E,onChange:function(e){return a({infoboxLink:e})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Open in New Tab","essential-blocks"),checked:D,onChange:function(){return a({linkNewTab:!D})}})),!R&&React.createElement(X.ToggleControl,{label:(0,Y.__)("Show button","essential-blocks"),checked:k,onChange:function(){return a({enableButton:!k})}})),React.createElement(X.PanelBody,{title:(0,Y.__)("Alignments","essential-blocks")},"none"!==r&&React.createElement(React.Fragment,null,("row"===b||"row-reverse"===b)&&React.createElement(X.BaseControl,{id:"eb-infobox-alignments",label:"Media alignments"},React.createElement(X.ButtonGroup,{id:"eb-infobox-alignments"},gv.map((function(e,t){var n=e.value,o=e.label;return React.createElement(X.Button,{key:t,isSecondary:N!==n,isPrimary:N===n,onClick:function(){return a({mediaAlignment:n})}},o)})))),("column"===b||"column-reverse"===b)&&React.createElement(X.BaseControl,{id:"eb-infobox-alignments",label:"Media alignments"},React.createElement(X.ButtonGroup,{id:"eb-infobox-alignments"},mv.map((function(e,t){var n=e.value,o=e.label;return React.createElement(X.Button,{key:t,isSecondary:N!==n,isPrimary:N===n,onClick:function(){return a({mediaAlignment:n})}},o)}))))),React.createElement(X.BaseControl,{id:"eb-infobox-alignments",label:"Contents alignments"},React.createElement(X.ButtonGroup,{id:"eb-infobox-alignments"},dv.map((function(e,t){var n=e.value,o=e.label;return React.createElement(X.Button,{key:t,isSecondary:P!==n,isPrimary:P===n,onClick:function(){return a({contentsAlignment:n})}},o)})))),k&&!R&&React.createElement(X.BaseControl,{id:"eb-infobox-alignments",label:"Button alignments"},React.createElement(X.ButtonGroup,{id:"eb-infobox-alignments"},dv.map((function(e,t){var n=e.value,o=e.label;return React.createElement(X.Button,{key:t,isSecondary:O!==n,isPrimary:O===n,onClick:function(){return a({btnAlignment:n})}},o)}))))),k&&!R&&React.createElement(X.PanelBody,{title:(0,Y.__)("Button","essential-blocks"),initialOpen:!1},React.createElement(Pv,{label:"Button Text",attrName:"buttonText",inputValue:_,setAttributes:a,onChange:function(e){return a({buttonText:e})}}),React.createElement(Pv,{label:(0,Y.__)("Button Link","essential-blocks"),placeholder:"https://your-site.com",attrName:"infoboxLink",inputValue:E,setAttributes:a,onChange:function(e){return a({infoboxLink:e})},help:(0,Y.__)("Link URL (use https:// at the beginning)","essential-blocks")}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Open in New Tab","essential-blocks"),checked:D,onChange:function(){return a({linkNewTab:!D})}}))),"styles"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Media","essential-blocks")},React.createElement(X.BaseControl,{id:"eb-infobox-image-icon"},React.createElement(X.ButtonGroup,{id:"eb-infobox-image-icon"},uv.map((function(e,t){var n=e.label,o=e.value;return React.createElement(X.Button,{key:t,isSecondary:r!==o,isPrimary:r===o,onClick:function(){return a({media:o})}},n)})))),"none"!==r&&React.createElement(React.Fragment,null,"icon"===r&&React.createElement(Ov,{value:s,onChange:function(e){return a({infoboxIcon:e})}}),"icon"===r&&s&&React.createElement(Sv,{baseLabel:(0,Y.__)("Icon Size","essential-blocks"),controlName:Qy,resRequiredProps:j,min:8,max:200,step:1}),"number"===r&&React.createElement(React.Fragment,null,React.createElement(X.BaseControl,{label:(0,Y.__)("Text","essential-blocks"),id:"eb-infobox-number-id"},React.createElement("input",{type:"text",value:"".concat(l),id:"eb-infobox-number-id",onChange:function(e){return a({number:"".concat(e.target.value)})}})),React.createElement(Tv,{baseLabel:"Text Typography",typographyPrefixConstant:Iy,resRequiredProps:j})),("number"===r||"icon"===r)&&React.createElement(React.Fragment,null,React.createElement(Cv,{label:(0,Y.__)("Color","essential-blocks"),color:d,onChange:function(e){return a({numIconColor:e})}}),React.createElement(Bv,{resRequiredProps:j,controlName:zy,baseLabel:"Padding"}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Use Background","essential-blocks"),checked:u,onChange:function(){return a({useNumIconBg:!u})}}),u&&React.createElement(React.Fragment,null,React.createElement(X.BaseControl,{label:(0,Y.__)("Background Type","essential-blocks")},React.createElement(X.ButtonGroup,{id:"eb-infobox-infobox-background"},fv.map((function(e,t){var n=e.value,o=e.label;return React.createElement(X.Button,{key:t,isPrimary:m===n,isSecondary:m!==n,onClick:function(){return a({numIconBgType:n})}},o)})))),"fill"===m&&React.createElement(Cv,{label:(0,Y.__)("Background Color","essential-blocks"),color:g,onChange:function(e){return a({numIconBgColor:e})}}),"gradient"===m&&React.createElement(X.PanelBody,{title:(0,Y.__)("Gradient","essential-blocks")},React.createElement(Ev,{gradientColor:f,onChange:function(e){return a({numIconBgGradient:e})}})))),"image"===r&&!i&&React.createElement(Q.MediaUpload,{onSelect:function(e){var t=e.id,n=e.url,o=e.alt;return a({imageUrl:n,imageId:t,imageAlt:o})},type:"image",value:y,render:function(e){var t=e.open;return React.createElement(X.Button,{className:"eb-background-control-inspector-panel-img-btn components-button",label:(0,Y.__)("Upload Image","essential-blocks"),icon:"format-image",onClick:t})}}),"image"===r&&i&&React.createElement(React.Fragment,null,React.createElement(xv,{imageUrl:i,onDeleteImage:function(){return a({imageUrl:null})}}),React.createElement(Sv,{baseLabel:(0,Y.__)("Image Width","essential-blocks"),controlName:Xy,resRequiredProps:j,units:yv,min:0,max:500,step:1}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Auto Image Height","essential-blocks"),checked:v,onChange:function(){return a({isMediaImgHeightAuto:!v})}}),!v&&React.createElement(React.Fragment,null,React.createElement(Sv,{baseLabel:(0,Y.__)("Image Height","essential-blocks"),controlName:$y,resRequiredProps:j,units:vv,min:0,max:500,step:1}))),React.createElement(X.__experimentalDivider,null),"none"!==r&&React.createElement(React.Fragment,null,React.createElement(Sv,{baseLabel:(0,Y.__)("Media & content spacing","Infobox"),controlName:Ky,resRequiredProps:j,min:0,max:500,step:1,noUnits:!0})),React.createElement(Bv,{forBorderRadius:!0,resRequiredProps:j,controlName:qy,baseLabel:"Border Radius"}),React.createElement(Bv,{resRequiredProps:j,controlName:Uy,baseLabel:"Margin"}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Title","essential-blocks"),initialOpen:!1},React.createElement(X.BaseControl,{label:(0,Y.__)("Title Tag","essential-blocks")},React.createElement(X.ButtonGroup,{className:"infobox-button-group"},hv.map((function(e,t){return React.createElement(X.Button,{key:t,isSecondary:h!==e,isPrimary:h===e,onClick:function(){return a({titleTag:e})}},e.toUpperCase())})))),React.createElement(Tv,{baseLabel:"Typography",typographyPrefixConstant:Ay,resRequiredProps:j}),React.createElement(Bv,{resRequiredProps:j,controlName:Wy,baseLabel:"Title Padding"}),React.createElement(Cv,{label:(0,Y.__)("Color","essential-blocks"),color:S,onChange:function(e){return a({titleColor:e})}})),React.createElement(X.PanelBody,{title:(0,Y.__)("Subtitle","essential-blocks"),initialOpen:!1},React.createElement(X.ToggleControl,{label:(0,Y.__)("Enable","essential-blocks"),checked:c,onChange:function(){return a({enableSubTitle:!c})}}),c&&React.createElement(React.Fragment,null,React.createElement(X.BaseControl,{label:(0,Y.__)("Subtitle Tag","essential-blocks")},React.createElement(X.ButtonGroup,{className:"infobox-button-group"},hv.map((function(e,t){return React.createElement(X.Button,{key:t,isSecondary:w!==e,isPrimary:w===e,onClick:function(){return a({subTitleTag:e})}},e.toUpperCase())})))),React.createElement(Tv,{baseLabel:"Typography",typographyPrefixConstant:Ly,resRequiredProps:j}),React.createElement(Bv,{resRequiredProps:j,controlName:Gy,baseLabel:"Subtitle Padding"}),React.createElement(Cv,{label:(0,Y.__)("Color","essential-blocks"),color:B,onChange:function(e){return a({subTitleColor:e})}}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Content","essential-blocks"),initialOpen:!1},React.createElement(X.ToggleControl,{label:(0,Y.__)("Show content","essential-blocks"),checked:p,onChange:function(){return a({enableDescription:!p})}}),p&&React.createElement(React.Fragment,null,React.createElement(Tv,{baseLabel:"Typography",typographyPrefixConstant:Fy,resRequiredProps:j}),React.createElement(Bv,{resRequiredProps:j,controlName:Zy,baseLabel:"Content Padding"}),React.createElement(Cv,{label:(0,Y.__)("Color","essential-blocks"),color:T,onChange:function(e){return a({descriptionColor:e})}}))),k&&!R&&React.createElement(X.PanelBody,{title:(0,Y.__)("Button","essential-blocks"),initialOpen:!1},React.createElement(Tv,{baseLabel:"Typography",typographyPrefixConstant:Hy,resRequiredProps:j}),React.createElement(Bv,{resRequiredProps:j,controlName:Vy,baseLabel:"Button Padding"}),React.createElement(Cv,{label:(0,Y.__)("Text color","essential-blocks"),color:C,onChange:function(e){return a({buttonTextColor:e})}}),React.createElement(Cv,{label:(0,Y.__)("Hover text color","essential-blocks"),color:x,onChange:function(e){return a({buttonHvrTextColor:e})}}),React.createElement(X.PanelBody,{title:(0,Y.__)("Background","essential-blocks"),initialOpen:!1},React.createElement(Rv,{controlName:My,resRequiredProps:j,forButton:!0})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(_v,{controlName:jy,resRequiredProps:j})),React.createElement(X.PanelBody,{title:(0,Y.__)("More Effects","essential-blocks"),initialOpen:!1},React.createElement(X.SelectControl,{label:(0,Y.__)("Button Hover Effect","essential-blocks"),value:M,options:wv,onChange:function(e){a({btnEffect:e})}})))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Margin & Padding","essential-blocks")},React.createElement(Bv,{resRequiredProps:j,controlName:Yy,baseLabel:"Margin"}),React.createElement(Bv,{resRequiredProps:j,controlName:Jy,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Background","essential-blocks"),initialOpen:!1},React.createElement(Rv,{controlName:Oy,resRequiredProps:j})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(_v,{controlName:Dy,resRequiredProps:j})),React.createElement(Nv,{attributes:t,setAttributes:a})))}))))};var Dv=window.EBControls,jv=Dv.softMinifyCssStrings,Iv=Dv.generateBackgroundControlStyles,Av=Dv.generateDimensionsControlStyles,Lv=Dv.generateTypographyStyles,Fv=Dv.generateBorderShadowStyles,Hv=Dv.generateResponsiveRangeStyles,zv=Dv.StyleComponent;function qv(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=(t.resOption,t.blockMeta,t.blockId),r=t.media,c=t.imageUrl,l=t.enableSubTitle,i=t.enableDescription,s=t.flexDirection,b=t.mediaAlignSelf,p=t.contentAlignment,u=t.useNumIconBg,d=t.numIconColor,m=t.numIconBgType,g=t.numIconBgColor,f=t.numIconBgGradient,y=t["".concat(Xy,"Unit")],v=t["TAB".concat(Xy,"Unit")],h=t["MOB".concat(Xy,"Unit")],w=t.isMediaImgHeightAuto,k=t.buttonTextColor,R=void 0===k?"#30267A":k,_=t.buttonHvrTextColor,E=t.titleColor,C=void 0===E?"#fff":E,x=t.subTitleColor,S=void 0===x?"#fff":x,B=t.descriptionColor,T=void 0===B?"#fff":B,N=t.mediaAlignment,P=t.contentsAlignment,O=t.btnAlignment,M=t.numberFontSize,D=t.TABnumberFontSize,j=t.MOBnumberFontSize,I=t.mIconZRange,A=t.TABmIconZRange,L=t.MOBmIconZRange,F=t.mIconZUnit,H=t.TABmIconZUnit,z=t.MOBmIconZUnit,q=t.numberSizeUnit,U=t.TABnumberSizeUnit,V=t.MOBnumberSizeUnit,W=t.isInfoClick,G=t.enableButton,Z=t.btnEffect,Y=!W&&G,J=Lv({attributes:t,prefixConstant:Ay,defaultFontSize:26}),Q=J.typoStylesDesktop,X=J.typoStylesTab,$=J.typoStylesMobile,K=Lv({attributes:t,prefixConstant:Ly,defaultFontSize:22}),ee=K.typoStylesDesktop,te=K.typoStylesTab,ae=K.typoStylesMobile,ne=Lv({attributes:t,prefixConstant:Fy,defaultFontSize:20}),oe=ne.typoStylesDesktop,re=ne.typoStylesTab,ce=ne.typoStylesMobile,le=Lv({attributes:t,prefixConstant:Hy,defaultFontSize:20}),ie=le.typoStylesDesktop,se=le.typoStylesTab,be=le.typoStylesMobile,pe=Lv({attributes:t,prefixConstant:Iy,defaultFontSize:28}),ue=pe.typoStylesDesktop,de=pe.typoStylesTab,me=pe.typoStylesMobile,ge=Av({attributes:t,controlName:zy,styleFor:"padding"}),fe=ge.dimensionStylesDesktop,ye=ge.dimensionStylesTab,ve=ge.dimensionStylesMobile,he=Av({attributes:t,controlName:qy,styleFor:"border-radius"}),we=he.dimensionStylesDesktop,ke=he.dimensionStylesTab,Re=he.dimensionStylesMobile,_e=Av({attributes:t,controlName:Uy,styleFor:"margin"}),Ee=_e.dimensionStylesDesktop,Ce=_e.dimensionStylesTab,xe=_e.dimensionStylesMobile,Se=Av({attributes:t,controlName:Vy,styleFor:"padding"}),Be=Se.dimensionStylesDesktop,Te=Se.dimensionStylesTab,Ne=(Se.dimensionStylesMobile,Av({attributes:t,controlName:Wy,styleFor:"padding"})),Pe=Ne.dimensionStylesDesktop,Oe=Ne.dimensionStylesTab,Me=Ne.dimensionStylesMobile,De=Av({attributes:t,controlName:Gy,styleFor:"padding"}),je=De.dimensionStylesDesktop,Ie=De.dimensionStylesTab,Ae=De.dimensionStylesMobile,Le=Av({attributes:t,controlName:Zy,styleFor:"padding"}),Fe=Le.dimensionStylesDesktop,He=Le.dimensionStylesTab,ze=Le.dimensionStylesMobile,qe=Av({attributes:t,controlName:Jy,styleFor:"padding"}),Ue=qe.dimensionStylesDesktop,Ve=qe.dimensionStylesTab,We=qe.dimensionStylesMobile,Ge=Av({attributes:t,controlName:Yy,styleFor:"margin"}),Ze=Ge.dimensionStylesDesktop,Ye=Ge.dimensionStylesTab,Je=Ge.dimensionStylesMobile,Qe=Iv({attributes:t,controlName:Oy}),Xe=Qe.backgroundStylesDesktop,$e=Qe.hoverBackgroundStylesDesktop,Ke=Qe.backgroundStylesTab,et=Qe.hoverBackgroundStylesTab,tt=Qe.backgroundStylesMobile,at=Qe.hoverBackgroundStylesMobile,nt=Qe.overlayStylesDesktop,ot=Qe.hoverOverlayStylesDesktop,rt=Qe.overlayStylesTab,ct=Qe.hoverOverlayStylesTab,lt=Qe.overlayStylesMobile,it=Qe.hoverOverlayStylesMobile,st=Qe.bgTransitionStyle,bt=Qe.ovlTransitionStyle,pt=Iv({attributes:t,controlName:My,forButton:!0}),ut=pt.backgroundStylesDesktop,dt=pt.hoverBackgroundStylesDesktop,mt=(pt.backgroundStylesTab,pt.hoverBackgroundStylesTab),gt=(pt.backgroundStylesMobile,pt.hoverBackgroundStylesMobile),ft=pt.bgTransitionStyle,yt=Fv({controlName:Dy,attributes:t}),vt=yt.styesDesktop,ht=yt.styesTab,wt=yt.styesMobile,kt=yt.stylesHoverDesktop,Rt=yt.stylesHoverTab,_t=yt.stylesHoverMobile,Et=yt.transitionStyle,Ct=Fv({controlName:jy,attributes:t}),xt=Ct.styesDesktop,St=Ct.styesTab,Bt=Ct.styesMobile,Tt=Ct.stylesHoverDesktop,Nt=Ct.stylesHoverTab,Pt=Ct.stylesHoverMobile,Ot=Ct.transitionStyle,Mt=Hv({controlName:Qy,customUnit:"px",property:"font-size",attributes:t}),Dt=Mt.rangeStylesDesktop,jt=Mt.rangeStylesTab,It=Mt.rangeStylesMobile,At=Hv({controlName:Ky,customUnit:"px",property:"gap",attributes:t}),Lt=At.rangeStylesDesktop,Ft=At.rangeStylesTab,Ht=At.rangeStylesMobile,zt=Hv({controlName:$y,property:"height",attributes:t}),qt=zt.rangeStylesDesktop,Ut=zt.rangeStylesTab,Vt=zt.rangeStylesMobile,Wt=Hv({controlName:Xy,property:"width",attributes:t}),Gt=Wt.rangeStylesDesktop,Zt=Wt.rangeStylesTab,Yt=Wt.rangeStylesMobile,Jt="\n\t\t.eb-infobox-wrapper.".concat(o," {\n\t\t\t").concat(Ze,"\n\t\t\t").concat(Ue,"\n\t\t\t").concat(vt,"\n\t\t\t").concat(Xe,"\n\t\t\ttransition: ").concat(st,", ").concat(Et,";\n\t\t}\n\n\t\t.eb-infobox-wrapper.").concat(o,":hover{\n\t\t\t").concat($e,"\n\t\t\t").concat(kt,"\n\t\t}\n\n\t\t.eb-infobox-wrapper.").concat(o,":before{\n\t\t\t").concat(nt,"\n\t\t\ttransition: ").concat(bt,";\n\t\t}\n\n\t\t.eb-infobox-wrapper.").concat(o,":hover:before{\n\t\t\t").concat(ot,"\n\t\t}\n\n\t\t.eb-infobox-wrapper.").concat(o," .infobox-wrapper-inner {\n\t\t\t").concat(s?"flex-direction: ".concat(s,";"):" ","\n\t\t\t").concat("none"!==r?"".concat(Lt):"","\n\t\t}\n\n\t\t").concat("none"!==r?"\n\t\t\t\t.eb-infobox-wrapper.".concat(o," .icon-img-wrapper {\n\t\t\t\t\t").concat("align-self: ".concat(N||b||"center",";"),"\n\n\t\t\t\t\t").concat(Ee,"\n\n\t\t\t\t}\n\n\n\t\t\t\t").concat("image"===r?"\n\n\t\t\t\t\t\t.eb-infobox-wrapper.".concat(o," .infobox-wrapper-inner .icon-img-wrapper{\n\t\t\t\t\t\t\t").concat("%"===y?Gt:" ","\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t.eb-infobox-wrapper.").concat(o," .infobox-wrapper-inner img {\n\n\t\t\t\t\t\t\t").concat(c?we:" ","\n\n\t\t\t\t\t\t\t").concat("%"===y?"width: 100%;":Gt,"\n\t\t\t\t\t\t\t").concat(w?"height:auto;":qt,"\n\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t.eb-infobox-wrapper.").concat(o," .eb-infobox-image-wrapper{\n\t\t\t\t\t\t\t").concat(c?" ":we,"\n\t\t\t\t\t\t}\n\t\t\t\t\t\t"):" ","\n\n\n\n\t\t\t\t").concat("number"===r||"icon"===r?"\n\n\t\t\t\t\t\t.eb-infobox-wrapper.".concat(o," .number-or-icon {\n\n\t\t\t\t\t\t\t").concat(fe,"\n\t\t\t\t\t\t\t").concat(we,"\n\n\t\t\t\t\t\t\t").concat(u?"".concat("fill"===m?"background-color: ".concat(g,";"):"gradient"===m?"background-image: ".concat(f,";"):" "):" ","\n\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t.eb-infobox-wrapper.").concat(o," .number-or-icon > * {\n\t\t\t\t\t\t\tcolor: ").concat(d||"#fff",";\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t"):" ","\n\n\n\n\t\t\t\t").concat("number"===r?"\n\n\t\t\t\t\t.eb-infobox-wrapper.".concat(o," span.eb-infobox-number{\n\t\t\t\t\t\t").concat(ue,"\n\t\t\t\t\t\theight:").concat(M||28).concat(q,";\n\t\t\t\t\t\twidth:").concat(M||28).concat(q,";\n\t\t\t\t\t\tdisplay:flex;\n\t\t\t\t\t\tjustify-content:center;\n\t\t\t\t\t\talign-items:center;\n\t\t\t\t\t}\n\n\t\t\t\t\t"):" ","\n\n\t\t\t\t").concat("icon"===r?"\n\n\t\t\t\t\t\t.eb-infobox-wrapper.".concat(o," .icon-img-wrapper .eb-infobox-icon-data-selector {\n\t\t\t\t\t\t\t").concat(Dt,"\n\t\t\t\t\t\t\theight:").concat(I).concat(F,";\n\t\t\t\t\t\t\twidth:").concat(I).concat(F,";\n\t\t\t\t\t\t\tdisplay:flex;\n\t\t\t\t\t\t\tjustify-content:center;\n\t\t\t\t\t\t\talign-items:center;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t"):" ","\n\n\n\t\t\t"):" ","\n\n\t\t.eb-infobox-wrapper.").concat(o," .contents-wrapper {\n\t\t\tflex: 1;\n\t\t\t").concat(p?"text-align: ".concat(p,";"):" ","\n\n\t\t\t").concat("text-align: ".concat(P||p,";"),"\n\t\t}\n\n\t\t.eb-infobox-wrapper.").concat(o," .title {\n\t\t\t").concat(Q,"\n\t\t\t").concat(Pe,"\n\t\t\t").concat(C?"color: ".concat(C,";"):" ","\n\t\t}\n\n\t\t").concat(l?"\n\t\t\t\t.eb-infobox-wrapper.".concat(o," .subtitle {\n\t\t\t\t\t").concat(ee,"\n\t\t\t\t\t").concat(je,"\n\t\t\t\t\t").concat(S?"color: ".concat(S,";"):" ","\n\t\t\t\t}\n\t\t\t\t"):" ","\n\n\t\t").concat(i?"\n\n\t\t\t\t.eb-infobox-wrapper.".concat(o," .description {\n\n\t\t\t\t\t").concat(oe,"\n\t\t\t\t\t").concat(Fe,"\n\t\t\t\t\t").concat(T?"color: ".concat(T,";"):" ","\n\n\t\t\t\t}\n\n\t\t\t\t"):" ","\n\n\t\t").concat(Y?"\n\n\t\t\t\t.eb-infobox-wrapper.".concat(o," .contents-wrapper .eb-infobox-btn-wrapper{\n\t\t\t\t\t").concat(O?"text-align:".concat(O,";"):"","\n\t\t\t\t}\n\n\t\t\t\t.eb-infobox-wrapper.").concat(o," .contents-wrapper .infobox-btn{\n\t\t\t\t\t").concat(ie,"\n\t\t\t\t\t").concat(Be,"\n\t\t\t\t\t").concat(ut,"\n\t\t\t\t\t").concat(xt,"\n\n\n\t\t\t\t\t").concat(R?"color: ".concat(R,";"):" ","\n\n\t\t\t\t\ttransition: all 0.5s, ").concat(ft,", ").concat(Ot,";\n\t\t\t\t}\n\n\t\t\t\t.eb-infobox-wrapper.").concat(o," .contents-wrapper .infobox-btn:hover{\n\t\t\t\t\t").concat(_?"color: ".concat(_,";"):" ","\n\t\t\t\t\t").concat(Tt,"\n\t\t\t\t}\n\n                ").concat(Z?".eb-infobox-wrapper.".concat(o," .contents-wrapper .infobox-btn:before{\n                        ").concat(dt,"\n                        ").concat(_?"color: ".concat(_,";"):" ","\n                        ").concat(Tt,"\n                    }\n                    "):"","\n\n\n\n\n\t\t\t\t"):" ","\n\n\t\t"),Qt="\n\t\t.eb-infobox-wrapper.".concat(o," {\n\t\t\t").concat(Ye,"\n\t\t\t").concat(Ve,"\n\t\t\t").concat(Ke,"\n\t\t\t").concat(ht,"\n\t\t}\n\n\t\t.eb-infobox-wrapper.").concat(o,":hover{\n\t\t\t").concat(et,"\n\t\t\t").concat(Rt,"\n\t\t}\n\n\n\t\t.eb-infobox-wrapper.").concat(o,":before{\n\t\t\t").concat(rt,"\n\t\t}\n\n\t\t.eb-infobox-wrapper.").concat(o,":hover:before{\n\t\t\t").concat(ct,"\n\t\t}\n\n\t\t.eb-infobox-wrapper.").concat(o," .infobox-wrapper-inner {\n\t\t\t").concat("none"!==r?"".concat(Ft):"","\n\t\t}\n\n\t\t").concat("none"!==r?"\n\n\t\t\t\t.eb-infobox-wrapper.".concat(o," .icon-img-wrapper {\n\n\t\t\t\t\t").concat(Ce,"\n\t\t\t\t}\n\n\t\t\t\t").concat("number"===r||"icon"===r?"\n\n\t\t\t\t\t\t.eb-infobox-wrapper.".concat(o," .number-or-icon {\n\t\t\t\t\t\t\t").concat(ke,"\n\t\t\t\t\t\t\t").concat(ye,"\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t"):" ","\n\n\n\t\t\t\t").concat("number"===r?"\n\n\t\t\t\t\t\t.eb-infobox-wrapper.".concat(o," span.eb-infobox-number{\n\t\t\t\t\t\t\t").concat(de,"\n\t\t\t\t\t\t\t").concat(D?"height:".concat(D).concat(U,";"):"","\n\t\t\t\t\t\t\t").concat(D?"width:".concat(D).concat(U,";"):"","\n\t\t\t\t\t\t}\n\n\t\t\t\t\t"):" ","\n\n\n\t\t\t\t").concat("icon"===r?"\n\n\t\t\t\t\t\t.eb-infobox-wrapper.".concat(o," .icon-img-wrapper .eb-infobox-icon-data-selector {\n\t\t\t\t\t\t\t").concat(jt,"\n\t\t\t\t\t\t\t").concat(A?"height:".concat(A).concat(H,";"):"","\n\t\t\t\t\t\t\t").concat(A?"width:".concat(A).concat(H,";"):"","\n\t\t\t\t\t\t}\n\n\t\t\t\t\t"):" ","\n\n\n\t\t\t\t").concat("image"===r?"\n\n\t\t\t\t\t.eb-infobox-wrapper.".concat(o," .infobox-wrapper-inner .icon-img-wrapper{\n\t\t\t\t\t\t").concat("%"===v?Zt:"%"===y?"width: auto;":" ","\n\t\t\t\t\t}\n\n\t\t\t\t\t.eb-infobox-wrapper.").concat(o," .infobox-wrapper-inner img {\n\n\t\t\t\t\t\t").concat("%"===v?"%"===y?" ":"width: 100%;":Zt,"\n\n\t\t\t\t\t\t").concat(w?"":Ut,"\n\n\t\t\t\t\t}\n\n\n\t\t\t\t\t.eb-infobox-wrapper.").concat(o," .eb-infobox-image-wrapper{\n\t\t\t\t\t\t").concat(ke,"\n\n\t\t\t\t\t}\n\n\t\t\t\t\t"):" ","\n\n\n\n\n\t\t\t"):" ","\n\n\n\t\t.eb-infobox-wrapper.").concat(o," .title {\n\t\t\t").concat(X,"\n\t\t\t").concat(Oe,"\n\n\t\t}\n\n\t\t").concat(l?"\n\t\t\t\t.eb-infobox-wrapper.".concat(o," .subtitle {\n\t\t\t\t\t").concat(te,"\n\t\t\t\t\t").concat(Ie,"\n\n\t\t\t\t}\n\t\t\t\t"):" ","\n\n\t\t").concat(i?"\n\t\t\t\t.eb-infobox-wrapper.".concat(o," .description {\n\t\t\t\t\t").concat(re,"\n\t\t\t\t\t").concat(He,"\n\n\t\t\t\t}\n\t\t\t\t"):" ","\n\n\t\t").concat(Y?"\n\t\t\t\t.eb-infobox-wrapper.".concat(o," .contents-wrapper .infobox-btn{\n\t\t\t\t\t").concat(se,"\n\t\t\t\t\t").concat(Te,"\n\t\t\t\t\t").concat(St,"\n\t\t\t\t}\n\n\t\t\t\t.eb-infobox-wrapper.").concat(o," .contents-wrapper .infobox-btn:hover{\n\t\t\t\t\t").concat(Nt,"\n\t\t\t\t}\n\n\t\t\t\t"):" ","\n\n        ").concat(Z?".eb-infobox-wrapper.".concat(o," .contents-wrapper .infobox-btn:before{\n                    ").concat(mt,"\n                    ").concat(Nt,"\n                }\n                "):"","\n\n\t"),Xt="\n\t\t.eb-infobox-wrapper.".concat(o," {\n\t\t\t").concat(Je,"\n\t\t\t").concat(We,"\n\t\t\t").concat(tt,"\n\t\t\t").concat(wt,"\n\t\t}\n\n\t\t.eb-infobox-wrapper.").concat(o,":hover{\n\t\t\t").concat(at,"\n\t\t\t").concat(_t,"\n\t\t}\n\n\t\t.eb-infobox-wrapper.").concat(o,":before{\n\t\t\t").concat(lt,"\n\t\t}\n\n\n\t\t.eb-infobox-wrapper.").concat(o,":hover:before{\n\t\t\t").concat(it,"\n\t\t}\n\n\t\t.eb-infobox-wrapper.").concat(o," .infobox-wrapper-inner {\n\t\t\t").concat("none"!==r?"".concat(Ht):"","\n\t\t}\n\n\t\t").concat("none"!==r?"\n\n\t\t\t\t.eb-infobox-wrapper.".concat(o," .icon-img-wrapper {\n\n\t\t\t\t\t").concat(xe,"\n\t\t\t\t}\n\n\t\t\t\t").concat("number"===r||"icon"===r?"\n\n\t\t\t\t\t\t.eb-infobox-wrapper.".concat(o," .number-or-icon {\n\t\t\t\t\t\t\t").concat(Re,"\n\t\t\t\t\t\t\t").concat(ve,"\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t"):" ","\n\n\t\t\t\t").concat("number"===r?"\n\n\t\t\t\t\t.eb-infobox-wrapper.".concat(o," span.eb-infobox-number{\n\t\t\t\t\t\t").concat(me,"\n\t\t\t\t\t\t").concat(j?"height:".concat(j).concat(V,";"):"","\n\t\t\t\t\t\t").concat(j?"width:".concat(j).concat(V,";"):"","\n\t\t\t\t\t}\n\n\t\t\t\t\t"):" ","\n\n\t\t\t\t").concat("icon"===r?"\n\n\t\t\t\t\t\t.eb-infobox-wrapper.".concat(o," .icon-img-wrapper .eb-infobox-icon-data-selector {\n\t\t\t\t\t\t\t").concat(It,"\n\t\t\t\t\t\t\t").concat(L?"height:".concat(L).concat(z,";"):"","\n\t\t\t\t\t\t\t").concat(L?"width:".concat(L).concat(z,";"):"","\n\t\t\t\t\t\t}\n\n\t\t\t\t\t"):" ","\n\n\t\t\t\t").concat("image"===r?"\n\n\n\t\t\t\t\t.eb-infobox-wrapper.".concat(o," .infobox-wrapper-inner .icon-img-wrapper{\n\t\t\t\t\t\t").concat("%"===h?Yt:"%"===v?"width: auto;":" ","\n\t\t\t\t\t}\n\n\n\t\t\t\t\t.eb-infobox-wrapper.").concat(o," .infobox-wrapper-inner img {\n\n\t\t\t\t\t\t").concat("%"===h?"%"===v?" ":"width: 100%;":Yt,"\n\n\t\t\t\t\t\t").concat(w?"":Vt,"\n\n\t\t\t\t\t}\n\n\n\t\t\t\t\t.eb-infobox-wrapper.").concat(o," .eb-infobox-image-wrapper{\n\t\t\t\t\t\t").concat(Re,"\n\t\t\t\t\t}\n\n\t\t\t\t\t"):" ","\n\n\n\n\t\t\t"):" ","\n\n\t\t.eb-infobox-wrapper.").concat(o," .title {\n\t\t\t").concat($,"\n\t\t\t").concat(Me,"\n\n\t\t}\n\n\t\t").concat(l?"\n\t\t\t\t.eb-infobox-wrapper.".concat(o," .subtitle {\n\t\t\t\t\t").concat(ae,"\n\t\t\t\t\t").concat(Ae,"\n\n\t\t\t\t}\n\t\t\t\t"):" ","\n\n\t\t").concat(i?"\n\t\t\t\t.eb-infobox-wrapper.".concat(o," .description {\n\t\t\t\t\t").concat(ce,"\n\t\t\t\t\t").concat(ze,"\n\n\t\t\t\t}\n\n\t\t\t\t"):" ","\n\n\t\t").concat(Y?"\n\n\t\t\t\t.eb-infobox-wrapper.".concat(o," .contents-wrapper .infobox-btn{\n\t\t\t\t\t").concat(be,"\n\t\t\t\t\t").concat(Bt,"\n\t\t\t\t}\n\n\n\t\t\t\t.eb-infobox-wrapper.").concat(o," .contents-wrapper .infobox-btn:hover{\n\t\t\t\t\t").concat(Pt,"\n\t\t\t\t}\n\n\t\t\t\t"):" ","\n\n\n        ").concat(Z?".eb-infobox-wrapper.".concat(o," .contents-wrapper .infobox-btn:before{\n                    ").concat(gt,"\n                    ").concat(Pt,"\n                }\n                "):"","\n\t"),$t=jv("\n\t\t".concat(Jt,"\n\t")),Kt=jv("\n\t\t".concat(Qt,"\n\t")),ea=jv("\n\t\t".concat(Xt,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(zv,{attributes:t,setAttributes:a,desktopAllStyles:$t,tabAllStyles:Kt,mobileAllStyles:ea,blockName:n}))}function Uv(e){return Uv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Uv(e)}function Vv(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Wv(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Vv(Object(a),!0).forEach((function(t){Gv(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Vv(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Gv(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=Uv(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=Uv(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Uv(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var Zv=window.EBControls.BlockProps;var Yv=window.EBControls,Jv=Yv.EBDisplayIcon,Qv=Yv.sanitizeURL;function Xv(e){var t=e.requiredProps,a=t.blockId,n=t.infoboxIcon,o=t.media,r=t.number,c=t.imageUrl,l=t.imageAlt,i=t.infoboxLink,s=t.linkNewTab,b=t.enableSubTitle,p=t.enableDescription,u=t.enableButton,d=t.isInfoClick,m=t.buttonText,g=t.title,f=t.subTitle,y=t.description,v=t.titleTag,h=t.subTitleTag,w=t.btnEffect,k=t.classHook;return React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(k)},React.createElement("div",{className:"".concat(a," eb-infobox-wrapper")},React.createElement("div",{className:"infobox-wrapper-inner"},"icon"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-icon number-or-icon"},React.createElement(Jv,{icon:n,className:"eb-infobox-icon-data-selector"}))):null,"number"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-infobox-num-wrapper number-or-icon"},React.createElement("span",{className:"eb-infobox-number"},r))):null,"image"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-infobox-image-wrapper"},React.createElement("img",{className:"eb-infobox-image",src:c,alt:l}))):null,React.createElement("div",{className:"contents-wrapper"},React.createElement(Q.RichText.Content,{tagName:v,className:"title",value:g}),b?React.createElement(Q.RichText.Content,{tagName:h,className:"subtitle",value:f}):null,p?React.createElement(Q.RichText.Content,{tagName:"p",className:"description",value:y}):null,u&&!d?React.createElement("div",{className:"eb-infobox-btn-wrapper"},React.createElement("a",{href:null==i?"":Qv(i),target:s?"_blank":"_self",rel:"noopener noreferrer",className:"infobox-btn  ".concat(w||" ")},m)):null))))}var $v=window.EBControls.sanitizeURL,Kv=window.EBControls.BlockProps,eh=window.EBControls.sanitizeURL;function th(e){var t=e.requiredProps,a=t.blockId,n=t.selectedIcon,o=t.media,r=t.number,c=t.imageUrl,l=t.infoboxLink,i=t.enableSubTitle,s=t.enableDescription,b=t.enableButton,p=t.isInfoClick,u=t.buttonText,d=t.title,m=t.subTitle,g=t.description,f=t.titleTag,y=t.subTitleTag,v=t.btnEffect;return React.createElement("div",{className:"".concat(a," eb-infobox-wrapper")},React.createElement("div",{className:"infobox-wrapper-inner"},"icon"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-icon number-or-icon"},React.createElement("span",{"data-icon":n,className:"eb-infobox-icon-data-selector  ".concat(n)}))):null,"number"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-infobox-num-wrapper number-or-icon"},React.createElement("span",{className:"eb-infobox-number"},r))):null,"image"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-infobox-image-wrapper"},React.createElement("img",{className:"eb-infobox-image",src:c,alt:"macbook"}))):null,React.createElement("div",{className:"contents-wrapper"},React.createElement(Q.RichText.Content,{tagName:f,className:"title",value:d}),i?React.createElement(Q.RichText.Content,{tagName:y,className:"subtitle",value:m}):null,s?React.createElement(Q.RichText.Content,{tagName:"p",className:"description",value:g}):null,b&&!p?React.createElement("div",{className:"eb-infobox-btn-wrapper"},React.createElement("a",{href:eh(l),className:"infobox-btn  ".concat(v||" ")},u)):null)))}var ah=window.EBControls.sanitizeURL;function nh(e){var t=e.requiredProps,a=t.blockId,n=t.selectedIcon,o=t.media,r=t.number,c=t.imageUrl,l=t.infoboxLink,i=t.enableSubTitle,s=t.enableDescription,b=t.enableButton,p=t.isInfoClick,u=t.buttonText,d=t.title,m=t.subTitle,g=t.description,f=t.titleTag,y=t.subTitleTag,v=t.btnEffect,h=t.classHook;return React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(h)},React.createElement("div",{className:"".concat(a," eb-infobox-wrapper")},React.createElement("div",{className:"infobox-wrapper-inner"},"icon"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-icon number-or-icon"},React.createElement("span",{"data-icon":n,className:"eb-infobox-icon-data-selector  ".concat(n)}))):null,"number"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-infobox-num-wrapper number-or-icon"},React.createElement("span",{className:"eb-infobox-number"},r))):null,"image"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-infobox-image-wrapper"},React.createElement("img",{className:"eb-infobox-image",src:c,alt:"macbook"}))):null,React.createElement("div",{className:"contents-wrapper"},React.createElement(Q.RichText.Content,{tagName:f,className:"title",value:d}),i?React.createElement(Q.RichText.Content,{tagName:y,className:"subtitle",value:m}):null,s?React.createElement(Q.RichText.Content,{tagName:"p",className:"description",value:g}):null,b&&!p?React.createElement("div",{className:"eb-infobox-btn-wrapper"},React.createElement("a",{href:ah(l),className:"infobox-btn  ".concat(v||" ")},u)):null))))}var oh=window.EBControls.sanitizeURL;function rh(e){var t=e.requiredProps,a=t.blockId,n=t.selectedIcon,o=t.media,r=t.number,c=t.imageUrl,l=t.infoboxLink,i=t.linkNewTab,s=t.enableSubTitle,b=t.enableDescription,p=t.enableButton,u=t.isInfoClick,d=t.buttonText,m=t.title,g=t.subTitle,f=t.description,y=t.titleTag,v=t.subTitleTag,h=t.btnEffect,w=t.classHook;return React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(w)},React.createElement("div",{className:"".concat(a," eb-infobox-wrapper")},React.createElement("div",{className:"infobox-wrapper-inner"},"icon"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-icon number-or-icon"},React.createElement("span",{"data-icon":n,className:"eb-infobox-icon-data-selector  ".concat(n)}))):null,"number"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-infobox-num-wrapper number-or-icon"},React.createElement("span",{className:"eb-infobox-number"},r))):null,"image"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-infobox-image-wrapper"},React.createElement("img",{className:"eb-infobox-image",src:c,alt:"macbook"}))):null,React.createElement("div",{className:"contents-wrapper"},React.createElement(Q.RichText.Content,{tagName:y,className:"title",value:m}),s?React.createElement(Q.RichText.Content,{tagName:v,className:"subtitle",value:g}):null,b?React.createElement(Q.RichText.Content,{tagName:"p",className:"description",value:f}):null,p&&!u?React.createElement("div",{className:"eb-infobox-btn-wrapper"},React.createElement("a",{href:oh(l),target:i?"_blank":"_self",rel:"noopener noreferrer",className:"infobox-btn  ".concat(h||" ")},d)):null))))}var ch=window.EBControls,lh=ch.EBDisplayIcon,ih=ch.sanitizeURL;function sh(e){var t=e.requiredProps,a=t.blockId,n=(t.selectedIcon,t.infoboxIcon),o=t.media,r=t.number,c=t.imageUrl,l=t.imageAlt,i=t.infoboxLink,s=t.linkNewTab,b=t.enableSubTitle,p=t.enableDescription,u=t.enableButton,d=t.isInfoClick,m=t.buttonText,g=t.title,f=t.subTitle,y=t.description,v=t.titleTag,h=t.subTitleTag,w=t.btnEffect,k=t.classHook;return React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(k)},React.createElement("div",{className:"".concat(a," eb-infobox-wrapper")},React.createElement("div",{className:"infobox-wrapper-inner"},"icon"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-icon number-or-icon"},React.createElement(lh,{icon:n,className:"eb-infobox-icon-data-selector"}))):null,"number"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-infobox-num-wrapper number-or-icon"},React.createElement("span",{className:"eb-infobox-number"},r))):null,"image"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-infobox-image-wrapper"},React.createElement("img",{className:"eb-infobox-image",src:c,alt:l}))):null,React.createElement("div",{className:"contents-wrapper"},React.createElement(Q.RichText.Content,{tagName:v,className:"title",value:g}),b?React.createElement(Q.RichText.Content,{tagName:h,className:"subtitle",value:f}):null,p?React.createElement(Q.RichText.Content,{tagName:"p",className:"description",value:y}):null,u&&!d?React.createElement("div",{className:"eb-infobox-btn-wrapper"},React.createElement("a",{href:ih(i),target:s?"_blank":"_self",rel:"noopener noreferrer",className:"infobox-btn  ".concat(w||" ")},m)):null))))}var bh=window.EBControls,ph=bh.EBDisplayIcon,uh=bh.sanitizeURL;function dh(e){var t=e.requiredProps,a=t.blockId,n=t.infoboxIcon,o=t.media,r=t.number,c=t.imageUrl,l=t.imageAlt,i=t.infoboxLink,s=t.linkNewTab,b=t.enableSubTitle,p=t.enableDescription,u=t.enableButton,d=t.isInfoClick,m=t.buttonText,g=t.title,f=t.subTitle,y=t.description,v=t.titleTag,h=t.subTitleTag,w=t.btnEffect,k=t.classHook;return React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(k)},React.createElement("div",{className:"".concat(a," eb-infobox-wrapper")},React.createElement("div",{className:"infobox-wrapper-inner"},"icon"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-icon number-or-icon"},React.createElement(ph,{icon:n,className:"eb-infobox-icon-data-selector"}))):null,"number"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-infobox-num-wrapper number-or-icon"},React.createElement("span",{className:"eb-infobox-number"},r))):null,"image"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-infobox-image-wrapper"},React.createElement("img",{className:"eb-infobox-image",src:c,alt:l}))):null,React.createElement("div",{className:"contents-wrapper"},React.createElement(Q.RichText.Content,{tagName:v,className:"title",value:g}),b?React.createElement(Q.RichText.Content,{tagName:h,className:"subtitle",value:f}):null,p?React.createElement(Q.RichText.Content,{tagName:"p",className:"description",value:y}):null,u&&!d?React.createElement("div",{className:"eb-infobox-btn-wrapper"},React.createElement("a",{href:uh(i),target:s?"_blank":"_self",rel:"noopener noreferrer",className:"infobox-btn  ".concat(w||" ")},m)):null))))}var mh=window.EBControls.EBDisplayIcon;function gh(e){var t=e.requiredProps,a=t.blockId,n=t.infoboxIcon,o=t.media,r=t.number,c=t.imageUrl,l=t.imageAlt,i=t.infoboxLink,s=t.linkNewTab,b=t.enableSubTitle,p=t.enableDescription,u=t.enableButton,d=t.isInfoClick,m=t.buttonText,g=t.title,f=t.subTitle,y=t.description,v=t.titleTag,h=t.subTitleTag,w=t.btnEffect,k=t.classHook;return React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(k)},React.createElement("div",{className:"".concat(a," eb-infobox-wrapper")},React.createElement("div",{className:"infobox-wrapper-inner"},"icon"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-icon number-or-icon"},React.createElement(mh,{icon:n,className:"eb-infobox-icon-data-selector"}))):null,"number"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-infobox-num-wrapper number-or-icon"},React.createElement("span",{className:"eb-infobox-number"},r))):null,"image"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-infobox-image-wrapper"},React.createElement("img",{className:"eb-infobox-image",src:c,alt:l}))):null,React.createElement("div",{className:"contents-wrapper"},React.createElement(Q.RichText.Content,{tagName:v,className:"title",value:g}),b?React.createElement(Q.RichText.Content,{tagName:h,className:"subtitle",value:f}):null,p?React.createElement(Q.RichText.Content,{tagName:"p",className:"description",value:y}):null,u&&!d?React.createElement("div",{className:"eb-infobox-btn-wrapper"},React.createElement("a",{href:null==i?"":i,target:s?"_blank":"_self",rel:"noopener noreferrer",className:"infobox-btn  ".concat(w||" ")},m)):null))))}function fh(e){return fh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fh(e)}function yh(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function vh(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?yh(Object(a),!0).forEach((function(t){hh(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):yh(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function hh(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=fh(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=fh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==fh(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var wh=window.EBControls.sanitizeURL;const kh=[{attributes:vh({},bv),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.selectedIcon,o=t.infoboxIcon,r=t.number,c=void 0===r?0:r,l=t.media,i=t.imageUrl,s=t.imageAlt,b=t.enableSubTitle,p=t.enableDescription,u=t.infoboxLink,d=t.linkNewTab,m=t.enableButton,g=t.isInfoClick,f={selectedIcon:n,infoboxIcon:o,blockId:a,number:c,media:l,imageUrl:i,imageAlt:s,enableSubTitle:b,enableDescription:p,infoboxLink:u,linkNewTab:d,enableButton:m,isInfoClick:g,buttonText:t.buttonText,title:t.title,subTitle:t.subTitle,description:t.description,titleTag:t.titleTag,subTitleTag:t.subTitleTag,btnEffect:t.btnEffect,classHook:t.classHook};return React.createElement("div",Q.useBlockProps.save(),g?React.createElement("a",{href:null==u?"":u,target:d?"_blank":"_self",rel:"noopener noreferrer",className:"info-click-link info-wrap-link"},React.createElement(gh,{requiredProps:f})):React.createElement(gh,{requiredProps:f}))}},{attributes:vh({},bv),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.selectedIcon,o=t.infoboxIcon,r=t.number,c=void 0===r?0:r,l=t.media,i=t.imageUrl,s=t.imageAlt,b=t.enableSubTitle,p=t.enableDescription,u=t.infoboxLink,d=t.linkNewTab,m=t.enableButton,g=t.isInfoClick,f={selectedIcon:n,infoboxIcon:o,blockId:a,number:c,media:l,imageUrl:i,imageAlt:s,enableSubTitle:b,enableDescription:p,infoboxLink:u,linkNewTab:d,enableButton:m,isInfoClick:g,buttonText:t.buttonText,title:t.title,subTitle:t.subTitle,description:t.description,titleTag:t.titleTag,subTitleTag:t.subTitleTag,btnEffect:t.btnEffect,classHook:t.classHook};return React.createElement("div",Q.useBlockProps.save(),g?React.createElement("a",{href:wh(u),target:d?"_blank":"_self",rel:"noopener noreferrer",className:"info-click-link info-wrap-link"},React.createElement(dh,{requiredProps:f})):React.createElement(dh,{requiredProps:f}))}},{attributes:(0,nt.omit)(vh({},bv),["infoboxIcon"]),migrate:function(e){var t=e.selectedIcon,a=vh({},e);return delete a.selectedIcon,vh(vh({},a),{},{infoboxIcon:t})},supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.selectedIcon,o=t.infoboxIcon,r=t.number,c=void 0===r?0:r,l=t.media,i=t.imageUrl,s=t.imageAlt,b=t.enableSubTitle,p=t.enableDescription,u=t.infoboxLink,d=t.linkNewTab,m=t.enableButton,g=t.isInfoClick,f={selectedIcon:n,infoboxIcon:o,blockId:a,number:c,media:l,imageUrl:i,imageAlt:s,enableSubTitle:b,enableDescription:p,infoboxLink:u,linkNewTab:d,enableButton:m,isInfoClick:g,buttonText:t.buttonText,title:t.title,subTitle:t.subTitle,description:t.description,titleTag:t.titleTag,subTitleTag:t.subTitleTag,btnEffect:t.btnEffect,classHook:t.classHook};return React.createElement("div",Q.useBlockProps.save(),g?React.createElement("a",{href:wh(u),target:d?"_blank":"_self",rel:"noopener noreferrer",className:"info-click-link info-wrap-link"},React.createElement(sh,{requiredProps:f})):React.createElement(sh,{requiredProps:f}))}},{attributes:(0,nt.omit)(vh({},bv),["imageAlt"]),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.selectedIcon,o=t.number,r=void 0===o?0:o,c=t.media,l=t.imageUrl,i=t.enableSubTitle,s=t.enableDescription,b=t.infoboxLink,p=t.linkNewTab,u=t.enableButton,d=t.isInfoClick,m={selectedIcon:n,blockId:a,number:r,media:c,imageUrl:l,enableSubTitle:i,enableDescription:s,infoboxLink:b,linkNewTab:p,enableButton:u,isInfoClick:d,buttonText:t.buttonText,title:t.title,subTitle:t.subTitle,description:t.description,titleTag:t.titleTag,subTitleTag:t.subTitleTag,btnEffect:t.btnEffect,classHook:t.classHook};return React.createElement("div",Q.useBlockProps.save(),d?React.createElement("a",{href:wh(b),rel:"noopener noreferrer",className:"info-click-link info-wrap-link"},React.createElement(rh,{requiredProps:m})):React.createElement(rh,{requiredProps:m}))}},{attributes:(0,nt.omit)(vh({},bv),["linkNewTab"]),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.selectedIcon,o=t.number,r=void 0===o?0:o,c=t.media,l=t.imageUrl,i=t.enableSubTitle,s=t.enableDescription,b=t.infoboxLink,p=t.linkNewTab,u=t.enableButton,d=t.isInfoClick,m={selectedIcon:n,blockId:a,number:r,media:c,imageUrl:l,enableSubTitle:i,enableDescription:s,infoboxLink:b,linkNewTab:p,enableButton:u,isInfoClick:d,buttonText:t.buttonText,title:t.title,subTitle:t.subTitle,description:t.description,titleTag:t.titleTag,subTitleTag:t.subTitleTag,btnEffect:t.btnEffect,classHook:t.classHook};return React.createElement("div",Q.useBlockProps.save(),d?React.createElement("a",{href:wh(b),rel:"noopener noreferrer",className:"info-click-link info-wrap-link"},React.createElement(nh,{requiredProps:m})):React.createElement(nh,{requiredProps:m}))}},{attributes:vh({},bv),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.selectedIcon,o=t.number,r=void 0===o?0:o,c=t.media,l=t.imageUrl,i=t.enableSubTitle,s=t.enableDescription,b=t.infoboxLink,p=t.enableButton,u=t.isInfoClick,d={selectedIcon:n,blockId:a,number:r,media:c,imageUrl:l,enableSubTitle:i,enableDescription:s,infoboxLink:b,enableButton:p,isInfoClick:u,buttonText:t.buttonText,title:t.title,subTitle:t.subTitle,description:t.description,titleTag:t.titleTag,subTitleTag:t.subTitleTag,btnEffect:t.btnEffect};return React.createElement("div",Q.useBlockProps.save(),u?React.createElement("a",{href:wh(b),rel:"noopener noreferrer",className:"info-click-link info-wrap-link"},React.createElement(th,{requiredProps:d})):React.createElement(th,{requiredProps:d}))}}],Rh=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Infobox","name":"essential-blocks/infobox","category":"essential-blocks","description":"Deliver your content beautifully to grab attention with an animated Infobox block.","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');(0,EBControls.ebConditionalRegisterBlockType)(Rh,{icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"66",height:"60",fill:"none",viewBox:"0 0 66 60"},React.createElement("path",{fill:"#6C3BFF",d:"M16.1 39.9h34.4c.7 0 1.3-.5 1.3-1.3V21.4c0-.7-.5-1.3-1.3-1.3H16.1c-.7 0-1.3.5-1.3 1.3v17.2c0 .8.6 1.3 1.3 1.3zm1.1-17.2H49v14.6H17.2V22.7z"}),React.createElement("path",{fill:"#6C3BFF",d:"M20.9 28.8h7.3c.7 0 1.3-.5 1.3-1.3 0-.7-.5-1.1-1.1-1.1H21c-.7 0-1.3.5-1.3 1.3.1.6.6 1.1 1.2 1.1zM33.1 28.8c.4 0 .5-.2.9-.4.2-.2.4-.5.4-.9s-.2-.5-.4-.9c-.5-.4-1.3-.4-1.8 0-.2.2-.4.5-.4.9s.2.5.4.9c.4.4.7.4.9.4zM45.5 31.3H25.8c-.7 0-1.3.5-1.3 1.3 0 .7.5 1.3 1.3 1.3h19.6c.7 0 1.3-.5 1.3-1.3-.1-.8-.6-1.3-1.2-1.3zM20.1 31.7c-.2.2-.4.5-.4.9s.2.5.4.9c.2.2.5.4.9.4s.5-.2.9-.4c.2-.2.4-.5.4-.9s-.2-.5-.4-.9c-.5-.7-1.4-.7-1.8 0zM33.1.6c-3.3 0-6.2 2.7-6.2 6.2s2.7 6.2 6.2 6.2c3.3 0 6.2-2.7 6.2-6.2S36.6.6 33.1.6zm0 9.8c-2 0-3.7-1.6-3.7-3.7S31 3 33.1 3c2 0 3.7 1.6 3.7 3.7s-1.5 3.7-3.7 3.7z"}),React.createElement("path",{fill:"#6C3BFF",d:"M63.5 55.5c0 .7-.2 1.3-1 1.3H3.9c-.7 0-1.3-.5-1.3-1.3V11.7c0-.8-.6-1.3-1.3-1.3-.7 0-1.3.5-1.3 1.3V57c0 1.3 1.1 2.4 2.4 2.4h61.2c1.3 0 2.4-1.1 2.4-2.4V11.8c0-.7-.5-1.3-1.3-1.3-.7 0-1.3.5-1.3 1.3v39.1l.1 4.6z"}))},attributes:bv,keywords:[(0,Y.__)("EB infobox","essential-blocks"),(0,Y.__)("info box","essential-blocks"),(0,Y.__)("infobox block","essential-blocks")],edit:function(e){var t=e.attributes,a=e.setAttributes,n=e.isSelected,o=Wv(Wv({},e),{},{blockPrefix:"eb-infobox",style:React.createElement(qv,e)});return React.createElement(React.Fragment,null,n&&React.createElement(Mv,{attributes:t,setAttributes:a}),React.createElement(Zv.Edit,o,React.createElement(Py,{setAttributes:a,attributes:t})))},save:function(e){var t=e.attributes,a=t.blockId,n=t.selectedIcon,o=t.infoboxIcon,r=t.number,c=void 0===r?0:r,l=t.media,i=t.imageUrl,s=t.imageAlt,b=t.enableSubTitle,p=t.enableDescription,u=t.infoboxLink,d=t.linkNewTab,m=t.enableButton,g=t.isInfoClick,f={selectedIcon:n,infoboxIcon:o,blockId:a,number:c,media:l,imageUrl:i,imageAlt:s,enableSubTitle:b,enableDescription:p,infoboxLink:u,linkNewTab:d,enableButton:m,isInfoClick:g,buttonText:t.buttonText,title:t.title,subTitle:t.subTitle,description:t.description,titleTag:t.titleTag,subTitleTag:t.subTitleTag,btnEffect:t.btnEffect,classHook:t.classHook};return React.createElement(Kv.Save,{attributes:t},g?React.createElement("a",{href:null==u?"":$v(u),target:d?"_blank":"_self",rel:"noopener noreferrer",className:"info-click-link info-wrap-link"},React.createElement(Xv,{requiredProps:f})):React.createElement(Xv,{requiredProps:f}))},example:{attributes:{layoutPreset:"preset2",flexDirection:"column",contentAlignment:"center"}},deprecated:kh});var _h=[{label:(0,Y.__)("Most Recent","essential-blocks"),value:"most_recent"},{label:(0,Y.__)("Least Recent","essential-blocks"),value:"least_recent"}],Eh=[{label:(0,Y.__)("Overlay","essential-blocks"),value:"overlay"},{label:(0,Y.__)("Card","essential-blocks"),value:"card"}],Ch=[{label:(0,Y.__)("Simple","essential-blocks"),value:"overlay__simple"},{label:(0,Y.__)("Basic","essential-blocks"),value:"overlay__basic"},{label:(0,Y.__)("Standard","essential-blocks"),value:"overlay__standard"}],xh=[{label:(0,Y.__)("Content Outter","essential-blocks"),value:"content_outter"},{label:(0,Y.__)("Content Inner","essential-blocks"),value:"content__inner"}],Sh="imgNum",Bh="gridGap",Th="imgBrdShd",Nh="wrpMargin",Ph="wrpPadding",Oh="captionText",Mh="metaText",Dh="headerText",jh=window.EBControls,Ih=jh.softMinifyCssStrings,Ah=jh.generateDimensionsControlStyles,Lh=jh.generateBorderShadowStyles,Fh=jh.generateTypographyStyles,Hh=jh.generateResponsiveRangeStyles,zh=jh.StyleComponent;function qh(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=(t.blockMeta,t.resOption,t.token,t.captionColor),c=t.metaColor,l=t.headerColor,i=t.overlayColor,s=Hh({controlName:Sh,property:"",attributes:t,customUnit:""}),b=s.rangeStylesDesktop,p=s.rangeStylesTab,u=s.rangeStylesMobile,d=Ah({controlName:Bh,styleFor:"padding",attributes:t}),m=d.dimensionStylesDesktop,g=d.dimensionStylesTab,f=d.dimensionStylesMobile,y=Lh({controlName:Th,attributes:t}),v=y.styesDesktop,h=y.styesTab,w=y.styesMobile,k=y.stylesHoverDesktop,R=y.stylesHoverTab,_=y.stylesHoverMobile,E=y.transitionStyle,C=Fh({attributes:t,prefixConstant:Oh}),x=C.typoStylesDesktop,S=C.typoStylesTab,B=C.typoStylesMobile,T=Fh({attributes:t,prefixConstant:Mh}),N=T.typoStylesDesktop,P=T.typoStylesTab,O=T.typoStylesMobile,M=Fh({attributes:t,prefixConstant:Dh}),D=M.typoStylesDesktop,j=M.typoStylesTab,I=M.typoStylesMobile,A=Ah({controlName:Nh,styleFor:"margin",attributes:t}),L=A.dimensionStylesDesktop,F=A.dimensionStylesTab,H=A.dimensionStylesMobile,z=Ah({controlName:Ph,styleFor:"padding",attributes:t}),q=z.dimensionStylesDesktop,U=z.dimensionStylesTab,V=z.dimensionStylesMobile,W="\n\t\t.eb-instagram-wrapper.".concat(o," {\n\t\t\t").concat(L,"\n\t\t\t").concat(q,"\n\t\t}\n\n\t\t.eb-instagram-wrapper.").concat(o," .instagram__gallery__col {\n\t\t\t").concat(m,"\n\t\t\twidth: calc((100% / ").concat(b.replace(/[^0-9]/g,""),") - 20px );\n\t\t}\n\n\t\t.eb-instagram-wrapper.").concat(o," .instagram__gallery__item {\n\t\t\t").concat(v,"\n\t\t\toverflow: hidden;\n\t\t\ttransition: ").concat(E,";\n\t\t}\n\n\t\t.eb-instagram-wrapper.").concat(o,":hover .instagram__gallery__item {\n\t\t\t").concat(k,"\n\t\t}\n\n\t\t.eb-instagram-wrapper.").concat(o," .eb-instagram-caption p {\n\t\t\t").concat(x,"\n\t\t\t").concat(r?"color: ".concat(r,";"):"","\n\t\t}\n\n\t\t.eb-instagram-wrapper.").concat(o," .eb-instagram-meta .eb-instagram-date {\n\t\t\t").concat(N,"\n\t\t}\n\n\t\t").concat(c?".eb-instagram-wrapper.".concat(o," .eb-instagram-meta span {\n\t\t\tcolor: ").concat(c,";\n\t\t}"):"","\n\n\t\t").concat(i?".eb-instagram-wrapper.".concat(o," .instagram__gallery__item.instagram__gallery__item--overlay__simple .instagram__gallery__thumb::before,\n\t\t.eb-instagram-wrapper.").concat(o," .instagram__gallery__item.instagram__gallery__item--overlay__basic .instagram__gallery__thumb::before,\n\t\t.eb-instagram-wrapper.").concat(o," .instagram__gallery__item.instagram__gallery__item--overlay__standard .instagram__gallery__thumb::before {\n\t\t\tbackground: ").concat(i,"\n\t\t}"):"","\n\n\n\t\t.eb-instagram-wrapper.").concat(o," .author__info .author__name,\n\t\t.eb-instagram-wrapper.").concat(o," .author__info .author__name a  {\n\t\t\t").concat(D,"\n\t\t\t").concat(l?"color: ".concat(l,";"):"","\n\t\t}\n\n\n\t\t.eb-instagram-wrapper.").concat(o," .hide {\n\t\t\tdisplay: none;\n\t\t}\n\t"),G="\n\t\t.eb-instagram-wrapper.".concat(o," {\n\t\t\t").concat(F,"\n\t\t\t").concat(U,"\n\t\t}\n\n\t\t.eb-instagram-wrapper.").concat(o," .instagram__gallery__col {\n\t\t\t").concat(g,"\n\t\t\t").concat(""==p?"width: calc((100% / 2) - 20px)":"width: calc((100% / ".concat(p.replace(/[^0-9]/g,""),") - 20px);"),"\n\t\t}\n\n\t\t.eb-instagram-wrapper.").concat(o," .instagram__gallery__item {\n\t\t\t").concat(h,"\n\t\t}\n\n\t\t.eb-instagram-wrapper.").concat(o,":hover .instagram__gallery__item {\n\t\t\t").concat(R,"\n\t\t}\n\n\t\t.eb-instagram-wrapper.").concat(o," .eb-instagram-caption p {\n\t\t\t").concat(S,"\n\t\t}\n\n\t\t.eb-instagram-wrapper.").concat(o," .eb-instagram-meta .eb-instagram-date {\n\t\t\t").concat(P,"\n\t\t}\n\n\t\t.eb-instagram-wrapper.").concat(o," .author__info .author__name,\n\t\t.eb-instagram-wrapper.").concat(o," .author__info .author__name a  {\n\t\t\t").concat(j,"\n\t\t}\n\t"),Z="\n\t\t.eb-instagram-wrapper.".concat(o," {\n\t\t\t").concat(H,"\n\t\t\t").concat(V,"\n\t\t}\n\n\t\t.eb-instagram-wrapper.").concat(o," .instagram__gallery__col {\n\t\t\t").concat(f,"\n\t\t\t").concat(""==u?"width: calc((100% / 1) - 20px);":"width: calc((100% / ".concat(u.replace(/[^0-9]/g,""),") - 20px);"),"\n\t\t}\n\n\t\t.eb-instagram-wrapper.").concat(o," .instagram__gallery__item {\n\t\t\t").concat(w,"\n\t\t}\n\n\t\t.eb-instagram-wrapper.").concat(o,":hover .instagram__gallery__item {\n\t\t\t").concat(_,"\n\t\t}\n\n\t\t.eb-instagram-wrapper.").concat(o," .eb-instagram-caption p {\n\t\t\t").concat(B,"\n\t\t}\n\n\t\t.eb-instagram-wrapper.").concat(o," .eb-instagram-meta .eb-instagram-date {\n\t\t\t").concat(O,"\n\t\t}\n\n\t\t.eb-instagram-wrapper.").concat(o," .author__info .author__name,\n\t\t.eb-instagram-wrapper.").concat(o," .author__info .author__name a  {\n\t\t\t").concat(I,"\n\t\t}\n\t"),Y=Ih("\n\t\t".concat(W,"\n\t")),J=Ih("\n\t\t".concat(G,"\n\t")),Q=Ih("\n\t\t".concat(Z,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(zh,{attributes:t,setAttributes:a,desktopAllStyles:Y,tabAllStyles:J,mobileAllStyles:Q,blockName:n}))}function Uh(e){return Uh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Uh(e)}function Vh(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Wh(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Vh(Object(a),!0).forEach((function(t){Gh(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Vh(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Gh(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=Uh(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=Uh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Uh(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var Zh=window.EBControls,Yh=Zh.generateTypographyAttributes,Jh=Zh.generateResponsiveRangeAttributes,Qh=Zh.generateDimensionsAttributes,Xh=Zh.generateBorderShadowAttributes;const $h=Wh(Wh(Wh(Wh(Wh(Wh({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},cover:{type:"string",default:""},token:{type:"string"},layout:{type:"string",default:"overlay"},overlayStyle:{type:"string",default:"overlay__simple"},cardStyle:{type:"string",default:"content__outter"},columns:{type:"string",default:4},numberOfImages:{type:"number",default:6},thumbs:{type:"array",default:[]},preview:{type:"boolean",default:!1},captionColor:{type:"string",default:"var(--eb-global-text-color)"},metaColor:{type:"string",default:"var(--eb-global-tertiary-color)"},headerColor:{type:"string",default:"var(--eb-global-heading-color)"},overlayColor:{type:"string"},hasEqualImages:{type:"boolean",default:!0},showCaptions:{type:"boolean",default:!0},enableLink:{type:"boolean",default:!1},openInNewTab:{type:"boolean",default:!1},showProfileImg:{type:"boolean",default:!0},profileImg:{type:"string"},imageID:{type:"string",default:null},showProfileName:{type:"boolean",default:!0},profileName:{type:"string"},sortBy:{type:"string",default:"most_recent"},showMeta:{type:"boolean",default:!0}},Yh(Object.values(g))),Jh(Sh,{defaultRange:3,noUnits:!0})),Qh(Bh)),Qh(Ph)),Qh(Nh,{top:28,bottom:28,isLinked:!1})),Xh(Th,{noShadow:!0}));var Kh=window.EBControls,ew=Kh.ColorControl,tw=Kh.ImageAvatar,aw=Kh.ResponsiveRangeController,nw=Kh.ResponsiveDimensionsControl,ow=Kh.BorderShadowControl,rw=Kh.TypographyDropdown,cw=Kh.AdvancedControls;const lw=function(e){var t=e.attributes,a=e.setAttributes,n=t.resOption,o=t.layout,r=t.overlayStyle,c=t.cardStyle,l=(t.thumbs,t.numberOfImages),i=t.captionColor,s=t.metaColor,b=t.headerColor,p=t.overlayColor,u=t.hasEqualImages,d=t.showCaptions,m=t.enableLink,g=t.openInNewTab,f=t.showProfileImg,y=t.profileImg,v=t.imageID,h=t.showProfileName,w=t.profileName,k=t.sortBy,R=t.showMeta,_={setAttributes:a,resOption:n,attributes:t,objAttributes:$h};return React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:(0,Y.__)("General","essential-blocks"),className:"eb-tab general"},{name:"styles",title:(0,Y.__)("Style","essential-blocks"),className:"eb-tab styles"},{name:"advance",title:(0,Y.__)("Advanced","essential-blocks"),className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls "+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Feed Settings","essential-blocks"),intialOpen:!0},React.createElement(React.Fragment,null,React.createElement(X.SelectControl,{label:(0,Y.__)("Sort By","essential-blocks"),value:k,options:_h,onChange:function(e){return a({sortBy:e})}}),React.createElement(X.RangeControl,{label:(0,Y.__)("Number Of Images","essential-blocks"),value:l,onChange:function(e){a({numberOfImages:e})},min:1,max:100}),React.createElement(aw,{baseLabel:(0,Y.__)("Columns","essential-blocks"),controlName:Sh,resRequiredProps:_,min:1,max:8,step:1,noUnits:!0}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Square thumbnail","essential-blocks"),checked:u,onChange:function(e){return a({hasEqualImages:e})}}))),React.createElement(X.PanelBody,{title:(0,Y.__)("General Settings","essential-blocks"),initialOpen:!1},React.createElement(X.SelectControl,{label:(0,Y.__)("Layout","essential-blocks"),value:o,options:Eh,onChange:function(e){return a({layout:e})}}),"overlay"===o&&React.createElement(X.SelectControl,{label:(0,Y.__)("Overlay Style","essential-blocks"),value:r,options:Ch,onChange:function(e){return a({overlayStyle:e})}}),"card"===o&&React.createElement(X.SelectControl,{label:(0,Y.__)("Card Style","essential-blocks"),value:c,options:xh,onChange:function(e){return a({cardStyle:e})}}),"card"===o&&React.createElement(React.Fragment,null,React.createElement(X.__experimentalDivider,null),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("User info","essential-blocks"))),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show profile image","essential-blocks"),checked:f,onChange:function(e){return a({showProfileImg:e})}}),f&&!y&&React.createElement(Q.MediaUpload,{onSelect:function(e){var t=e.id,n=e.url;return a({profileImg:n,imageID:t})},type:"image",value:v,render:function(e){var t=e.open;return React.createElement(X.Button,{className:"eb-background-control-inspector-panel-img-btn components-button",label:(0,Y.__)("Upload Image","essential-blocks"),icon:"format-image",onClick:t})}}),f&&y&&React.createElement(tw,{imageUrl:y,onDeleteImage:function(){return a({profileImg:null})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show profile name","essential-blocks"),checked:h,onChange:function(e){return a({showProfileName:e})}}),h&&React.createElement(X.TextControl,{label:(0,Y.__)("Custom Name","essential-blocks"),value:w,onChange:function(e){return a({profileName:e})}})),"overlay__simple"!==r&&React.createElement(X.ToggleControl,{label:(0,Y.__)("Show captions","essential-blocks"),checked:d,onChange:function(e){return a({showCaptions:e})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Link?","essential-blocks"),checked:m,onChange:function(e){return a({enableLink:e})}}),m&&React.createElement(X.ToggleControl,{label:(0,Y.__)("Open in new window?","essential-blocks"),checked:g,onChange:function(e){return a({openInNewTab:e})}}),"overlay__simple"!==r&&React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Meta?","instagram-block"),checked:R,onChange:function(e){return a({showMeta:e})}}))),"styles"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Feed Styles","essential-blocks"),initialOpen:!0},React.createElement(React.Fragment,null,React.createElement(nw,{resRequiredProps:_,className:"",controlName:Bh,baseLabel:(0,Y.__)("Padding","essential-blocks")}),"overlay"===o&&React.createElement(ew,{label:(0,Y.__)("Overlay Color","essential-blocks"),color:p,onChange:function(e){return a({overlayColor:e})}}),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Border","essential-blocks"))),React.createElement(ow,{controlName:Th,resRequiredProps:_,noShadow:!0}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Caption","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(rw,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:Oh,resRequiredProps:_}),React.createElement(ew,{label:(0,Y.__)("Color","essential-blocks"),color:i,onChange:function(e){return a({captionColor:e})}}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Meta","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(rw,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:Mh,resRequiredProps:_}),React.createElement(ew,{label:(0,Y.__)("Color","essential-blocks"),color:s,onChange:function(e){return a({metaColor:e})}}))),"card"===o&&React.createElement(X.PanelBody,{title:(0,Y.__)("Header","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(rw,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:Dh,resRequiredProps:_}),React.createElement(ew,{label:(0,Y.__)("Color","essential-blocks"),color:b,onChange:function(e){return a({headerColor:e})}})))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,null,React.createElement(React.Fragment,null,React.createElement(nw,{resRequiredProps:_,controlName:Ph,baseLabel:(0,Y.__)("Padding","essential-blocks")}),React.createElement(nw,{resRequiredProps:_,controlName:Nh,baseLabel:(0,Y.__)("Margin","essential-blocks")}))),React.createElement(cw,{attributes:t,setAttributes:a})))}))))};function iw(e){return iw="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},iw(e)}function sw(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function bw(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?sw(Object(a),!0).forEach((function(t){pw(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):sw(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function pw(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=iw(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=iw(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==iw(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function uw(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,r,c,l=[],i=!0,s=!1;try{if(r=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;i=!1}else for(;!(i=(n=r.call(a)).done)&&(l.push(n.value),l.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{if(!i&&null!=a.return&&(c=a.return(),Object(c)!==c))return}finally{if(s)throw o}}return l}}(e,t)||dw(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function dw(e,t){if(e){if("string"==typeof e)return mw(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?mw(e,t):void 0}}function mw(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}var gw=window.EBControls.BlockProps;const fw=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Instagram Feed","name":"essential-blocks/instagram-feed","category":"essential-blocks","description":"Showcase instagram posts for your web visitors.","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');var yw;(0,EBControls.ebConditionalRegisterBlockType)(fw,{icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"50",fill:"none",viewBox:"0 0 60 50"},React.createElement("path",{fill:"#6C3BFF",d:"M56 .143H4.364C2 .143.09 2.029.09 4.086v41.743c0 2.314 2.09 4.028 4.273 4.028h51.454c2.364 0 4.182-1.886 4.182-3.943V4.086c.182-2.229-1.818-3.943-4-3.943zm1.636 45.686c0 1.028-.909 1.714-1.818 1.714H4.364c-1.091 0-1.819-.857-1.819-1.714V4.086c0-1.029.91-1.715 1.819-1.715h51.454c1.091 0 1.818.858 1.818 1.715v41.743z"}),React.createElement("path",{fill:"#6C3BFF",d:"M35.455 26.029h-11c-.546 0-1.091.342-1.091 1.028v10.714c.181.686.545 1.029 1.09 1.029h11c.546 0 1.091-.343 1.091-1.029V27.057c0-.514-.181-1.028-1.09-1.028zm-.91 11.057h-9v-8.829h9v8.829zM18.636 26.029H8.546c-.546 0-1.091.342-1.091 1.028v10.714c0 .686.363 1.029 1.09 1.029h10.091c.546 0 1.091-.343 1.091-1.029V27.057c.182-.514-.181-1.028-1.09-1.028zm-.909 11.057h-8.09v-8.829h8.09v8.829zM51.545 26.029h-11c-.545 0-1.09.342-1.09 1.028v10.714c0 .686.545 1.029 1.09 1.029h11c.546 0 1.091-.343 1.091-1.029V27.057c.182-.514-.181-1.028-1.09-1.028zm-.909 11.057h-9v-8.829h9v8.829zM51.545 10.514h-11c-.545 0-1.09.343-1.09 1.029v10.714c0 .514.545 1.029 1.09 1.029h11c.546 0 1.091-.343 1.091-1.029V11.543c.182-.514-.181-1.029-1.09-1.029zm-.909 10.8h-9v-8.743h9v8.743zM18.636 10.514H8.546c-.546 0-1.091.343-1.091 1.029v10.714c0 .514.363 1.029 1.09 1.029h10.091c.546 0 1.091-.343 1.091-1.029V11.543c.182-.514-.181-1.029-1.09-1.029zm-.909 10.8h-8.09v-8.743h8.09v8.743zM33.09 10.343h-5.817c-2.182 0-4 1.714-4 3.771V19.6c0 2.057 1.818 3.771 4 3.771h5.818c2.182 0 3.636-1.714 3.636-3.771v-5.486c-.182-2.057-1.454-3.771-3.636-3.771zM25 14.114c0-1.028.91-1.885 2-1.885h5.818c1.091 0 2 .857 2 1.885V19.6c0 1.029-.909 1.886-2 1.886H27c-1.09 0-2-.857-2-1.886v-5.486z"}),React.createElement("path",{fill:"#6C3BFF",d:"M29.636 19.857c1.455 0 2.728-1.2 2.728-2.571 0-1.372-1.273-2.572-2.728-2.572-.636 0-1.181.172-1.636.515-1.455 1.028-1.273 3.171.182 4.114.454.343.909.514 1.454.514zm0-3.943c.728 0 1.455.686 1.455 1.372 0 .685-.727 1.371-1.455 1.371-.727 0-1.454-.686-1.454-1.371 0-.686.727-1.372 1.454-1.372zM32.545 14.714c.452 0 .819-.345.819-.771 0-.426-.367-.772-.819-.772-.451 0-.818.346-.818.772 0 .426.367.771.818.771z"}))},attributes:$h,keywords:[(0,Y.__)("Instagram Feed","essential-blocks"),(0,Y.__)("eb Instagram Feed","essential-blocks")],edit:function(e){var t,a=e.attributes,n=e.setAttributes,o=(e.className,e.isSelected),r=a.blockId,c=(a.blockMeta,a.resOption),l=a.token,i=a.layout,s=a.overlayStyle,b=a.cardStyle,p=a.thumbs,u=a.numberOfImages,d=a.hasEqualImages,m=a.showCaptions,g=a.showProfileImg,f=a.profileImg,y=a.imageID,v=a.showProfileName,h=a.profileName,w=a.sortBy,k=a.preview,R=a.showMeta,_=a.classHook,E=a.cover,C=uw((0,J.useState)(!0),2),x=C[0],S=C[1],B=uw((0,J.useState)(void 0),2),T=B[0],N=B[1],P=uw((0,J.useState)(""),2),O=P[0],M=P[1],D=bw(bw({},e),{},{blockPrefix:"eb-instagram-feed",style:React.createElement(qh,e)});if(k)return React.createElement("img",{style:{width:"100%"},src:"".concat(null===(t=EssentialBlocksLocalize)||void 0===t?void 0:t.image_url,"/block-preview/instagram-preview.jpeg")});var j=uw((0,J.useState)(null!=l?l:""),2),I=j[0],A=j[1],L="";(0,J.useEffect)((function(){if(x&&0==I.length&&(L=React.createElement("p",null,React.createElement(X.Spinner,null),(0,Y.__)("Loading feed","essential-blocks"))),l&&l.length>0){A(l);var e=new FormData;e.append("action","save_eb_admin_options"),e.append("type","settings"),e.append("key","instagramToken"),e.append("value",l),e.append("admin_nonce",EssentialBlocksLocalize.admin_nonce),fetch(EssentialBlocksLocalize.ajax_url,{method:"POST",body:e}).then((function(e){return e.text()})).catch((function(e){return console.log(e)})),n({token:""})}else!function(){var e=new FormData;e.append("action","get_instagram_access_token"),e.append("admin_nonce",EssentialBlocksLocalize.admin_nonce),fetch(EssentialBlocksLocalize.ajax_url,{method:"POST",body:e}).then((function(e){return e.text()})).then((function(e){var t=JSON.parse(e);t.success&&t.data?A(t.data):(A(""),S(!1))})).catch((function(e){return console.log(e)}))}()}),[]),(0,J.useEffect)((function(){p.length>0&&I.length>0&&F()}),[p]);var F=function(){var e=document.querySelectorAll(".".concat(r," .eb-instagram__gallery"));setTimeout((function(){var t,a=function(e,t){var a="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!a){if(Array.isArray(e)||(a=dw(e))){a&&(e=a);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,c=!0,l=!1;return{s:function(){a=a.call(e)},n:function(){var e=a.next();return c=e.done,e},e:function(e){l=!0,r=e},f:function(){try{c||null==a.return||a.return()}finally{if(l)throw r}}}}(e);try{var n=function(){var e=t.value;imagesLoaded(e,(function(){new Isotope(e,{itemSelector:".instagram__gallery__col",percentPosition:!0,masonry:{columnWidth:".instagram__gallery__col"}})}))};for(a.s();!(t=a.n()).done;)n()}catch(e){a.e(e)}finally{a.f()}S(!1)}),1e3)};(0,J.useEffect)((function(){I.length>0&&H()}),[I]),(0,J.useEffect)((function(){p.length>0&&I.length>0&&(S(!0),F())}),[i,s,b,w,u,d,m,R,a.imgNumRange,a.TABimgNumRange,a.MOBimgNumRange,c]);var H=function(){return!!I&&fetch("https://graph.instagram.com/me/media?fields=id,caption,media_type,media_url,permalink,thumbnail_url,timestamp,username&limit=500&access_token=".concat(I)).then((function(e){return e.json()})).then((function(e){e.error&&(M(e.error.message),N(e.error.code)),e.data&&(N(200),e.data.length>0?n({thumbs:e.data}):(n({thumbs:[]}),N(500))),S(!1)}))};switch(w){case"most_recent":p.sort((function(e,t){var a=new Date(e.timestamp);return new Date(t.timestamp)-a}));break;case"least_recent":p.sort((function(e,t){return new Date(e.timestamp)-new Date(t.timestamp)}))}var z=d?" has__equal__height":"",q="card"===i?b:s;return 0!=I.length||x?I.length>0&&200===T?L=x&&0===p.length?React.createElement("p",null,React.createElement(X.Spinner,null),(0,Y.__)("Loading feed","essential-blocks")):React.createElement(React.Fragment,null,p&&p.slice(0,u).map((function(e,t){return React.createElement("div",{className:"instagram__gallery__col",key:t},React.createElement("div",{className:"instagram__gallery__item instagram__gallery__item--".concat(q).concat(z)},"card"===i&&React.createElement(React.Fragment,null,(v||g)&&React.createElement("div",{className:"author__info"},g&&f&&React.createElement("div",{className:"author__thumb"},React.createElement("img",{src:f,alt:e.username})),v&&React.createElement("h5",{className:"author__name"},h||e.username))),React.createElement("div",{className:"instagram__gallery__thumb"},React.createElement("div",{className:"thumb__wrap"},React.createElement("img",{src:"VIDEO"===e.media_type?e.thumbnail_url:e.media_url,alt:e.caption?e.caption:""})),m&&e.caption&&React.createElement("div",{className:"eb-instagram-caption"},React.createElement("p",null,e.caption))),R&&React.createElement("div",{className:"eb-instagram-meta"},React.createElement("span",{className:"dashicons dashicons-clock"}),React.createElement("span",{className:"eb-instagram-date"},(a=e.timestamp,o=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][(n=new Date(a)).getMonth()],String(n.getDate()).padStart(2,"0")+" "+o+" "+n.getFullYear())))));var a,n,o}))):null!=T&&200===T||(L=React.createElement("div",null,React.createElement("i",null,React.createElement("strong",null,O)))):L=React.createElement("div",null,React.createElement("p",null,"To get started please add an Instagram Access Token"," ",React.createElement(X.ExternalLink,{href:"".concat(EssentialBlocksLocalize.eb_admin_url,"admin.php?page=essential-blocks&tab=options")},(0,Y.__)("here.","essential-blocks")))),E.length?React.createElement("div",null,React.createElement("img",{src:E,alt:"instagram feed",style:{maxWidth:"100%"}})):React.createElement(React.Fragment,null,o&&React.createElement(lw,{key:"inspector",attributes:a,setAttributes:n}),"card"===i&&g&&React.createElement(Q.BlockControls,null,React.createElement(React.Fragment,null,React.createElement(X.ToolbarGroup,null,React.createElement(Q.MediaUpload,{onSelect:function(e){return n({profileImg:e.url,imageID:e.id})},allowedTypes:["image"],value:y,render:function(e){var t=e.open;return React.createElement(X.ToolbarButton,{className:"components-toolbar__control",label:(0,Y.__)("Edit Profile Image","essential-blocks"),icon:"edit",onClick:t})}})))),React.createElement(gw.Edit,D,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(r," ").concat(_)},React.createElement("div",{className:"eb-instagram-wrapper ".concat(r)},React.createElement("div",{className:"eb-instagram__gallery".concat(x?" hide":"")},L),x?React.createElement(React.Fragment,null,React.createElement("p",null,React.createElement(X.Spinner,null),(0,Y.__)("Loading feed","essential-blocks"))):""))))},save:function(){return null},example:{attributes:{cover:"".concat(null===(yw=EssentialBlocksLocalize)||void 0===yw?void 0:yw.image_url,"/block-preview/instagram-feed.jpeg")}}});var vw=[{label:(0,Y.__)("Apollo","essential-blocks"),value:"apollo"},{label:(0,Y.__)("Bubba","essential-blocks"),value:"bubba"},{label:(0,Y.__)("Chico","essential-blocks"),value:"chico"},{label:(0,Y.__)("Dexter","essential-blocks"),value:"dexter"},{label:(0,Y.__)("Duke","essential-blocks"),value:"duke"},{label:(0,Y.__)("Goliath","essential-blocks"),value:"goliath"},{label:(0,Y.__)("Jazz","essential-blocks"),value:"jazz"},{label:(0,Y.__)("Julia","essential-blocks"),value:"julia"},{label:(0,Y.__)("Layla","essential-blocks"),value:"layla"},{label:(0,Y.__)("Lexi","essential-blocks"),value:"lexi"},{label:(0,Y.__)("Lily","essential-blocks"),value:"lily"},{label:(0,Y.__)("Marley","essential-blocks"),value:"marley"},{label:(0,Y.__)("Milo","essential-blocks"),value:"milo"},{label:(0,Y.__)("Ming","essential-blocks"),value:"ming"},{label:(0,Y.__)("Moses","essential-blocks"),value:"moses"},{label:(0,Y.__)("Oscar","essential-blocks"),value:"oscar"},{label:(0,Y.__)("Ruby","essential-blocks"),value:"ruby"},{label:(0,Y.__)("Roxy","essential-blocks"),value:"roxy"},{label:(0,Y.__)("Romeo","essential-blocks"),value:"romeo"},{label:(0,Y.__)("Sadie","essential-blocks"),value:"sadie"},{label:(0,Y.__)("Selena","essential-blocks"),value:"selena"},{label:(0,Y.__)("Sarah","essential-blocks"),value:"sarah"}],hw=[{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignleft"})),value:"left"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignright"})),value:"right"}],ww="imgHeight",kw="imgWidth",Rw="wrpMargin",_w="wrpPadding",Ew="imgBrdShdw",Cw="headerText",xw="contentText";function Sw(e){return Sw="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Sw(e)}function Bw(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Tw(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Bw(Object(a),!0).forEach((function(t){Nw(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Bw(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Nw(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=Sw(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=Sw(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Sw(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var Pw=window.EBControls,Ow=Pw.generateResponsiveRangeAttributes,Mw=Pw.generateTypographyAttributes,Dw=Pw.generateBorderShadowAttributes,jw=Pw.generateDimensionsAttributes;const Iw=Tw(Tw(Tw(Tw(Tw(Tw({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},header:{type:"string",source:"text",selector:"h2",default:"Header"},content:{type:"string",source:"text",selector:".eb-interactive-promo-content",default:"Content Text"},effectName:{type:"string",selector:".eb-interactive-promo-container",source:"attribute",attribute:"data-effect",default:"apollo"},imageURL:{type:"string",selector:"img",source:"attribute",attribute:"src"},imageID:{type:"string",default:null},imageAltTag:{type:"string",selector:"img",source:"attribute",attribute:"alt",default:"image"},newWindow:{type:"boolean",default:!1},headerColor:{type:"string",default:"var(--eb-global-primary-color)"},contentColor:{type:"string",default:"var(--eb-global-heading-color)"},link:{type:"string"},imageAlignment:{type:"string",default:"center"},isBackgroundGradient:{type:"boolean",default:!1},backgroundColor:{type:"string",default:"var(--eb-global-background-color)"},backgroundGradient:{type:"string"}},Mw(Object.values(f))),Ow(ww,{noUnits:!0})),Ow(kw,{noUnits:!0})),jw(Rw,{top:28,right:0,bottom:28,left:0,isLinked:!1})),jw(_w)),Dw(Ew));var Aw=window.EBControls,Lw=Aw.ImageAvatar,Fw=Aw.ColorControl,Hw=Aw.ResponsiveRangeController,zw=Aw.TypographyDropdown,qw=Aw.ResponsiveDimensionsControl,Uw=Aw.BorderShadowControl,Vw=Aw.GradientColorControl,Ww=Aw.AdvancedControls;const Gw=function(e){var t=e.attributes,a=e.setAttributes,n=t.resOption,o=t.effectName,r=t.header,c=t.content,l=t.link,i=t.imageURL,s=t.imageAltTag,b=t.newWindow,p=t.headerColor,u=t.contentColor,d=t.imageAlignment,m=t.isBackgroundGradient,g=t.backgroundColor,f=t.backgroundGradient,y={setAttributes:a,resOption:n,attributes:t,objAttributes:Iw};return React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:(0,Y.__)("General","essential-blocks"),className:"eb-tab general"},{name:"styles",title:(0,Y.__)("Style","essential-blocks"),className:"eb-tab styles"},{name:"advance",title:(0,Y.__)("Advanced","essential-blocks"),className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls "+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,null,React.createElement(X.BaseControl,{label:(0,Y.__)("Background Image","essential-blocks")},React.createElement(Q.MediaUpload,{onSelect:function(e){return a({imageURL:e.url})},type:"image",value:i,render:function(e){var t=e.open;return!i&&React.createElement(X.Button,{className:"eb-cia-upload-button",label:(0,Y.__)("Upload Image","essential-blocks"),icon:"format-image",onClick:t})}}),i&&React.createElement(Lw,{imageUrl:i,onDeleteImage:function(){return a({imageURL:null})}})),React.createElement(Hw,{baseLabel:(0,Y.__)("Height","essential-blocks"),controlName:ww,resRequiredProps:y,min:200,max:1e3,step:1,noUnits:!0}),React.createElement(Hw,{baseLabel:(0,Y.__)("Width","essential-blocks"),controlName:kw,resRequiredProps:y,min:0,max:1e3,step:1,noUnits:!0}),React.createElement(X.TextControl,{label:(0,Y.__)("Image alt tag","essential-blocks"),value:s,onChange:function(e){return a({imageAltTag:e})}}),React.createElement(X.TextControl,{label:(0,Y.__)("Header","essential-blocks"),value:r,onChange:function(e){return a({header:e})}}),React.createElement(X.TextareaControl,{label:(0,Y.__)("Content","essential-blocks"),value:c,onChange:function(e){return a({content:e})}}),React.createElement(X.TextControl,{label:(0,Y.__)("Link","essential-blocks"),value:l,onChange:function(e){return a({link:e})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Open in New Tab","essential-blocks"),checked:b,onChange:function(){return a({newWindow:!b})}}),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Alignment","essential-blocks")),React.createElement(X.ButtonGroup,null,hw.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:d===e.value,isSecondary:d!==e.value,onClick:function(){return a({imageAlignment:e.value})}},e.label)})))),React.createElement(X.SelectControl,{label:(0,Y.__)("Promo Effect","essential-blocks"),value:o,options:vw,onChange:function(e){return a({effectName:e})}}))),"styles"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,null,React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Background Color","essential-blocks"))),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Gradient Color","essential-blocks"),checked:m,onChange:function(){a({isBackgroundGradient:!m})}}),m||React.createElement(Fw,{label:(0,Y.__)("Color","essential-blocks"),color:g,onChange:function(e){return a({backgroundColor:e})}}),m&&React.createElement(React.Fragment,null,React.createElement(Vw,{label:(0,Y.__)("Gradient Color","essential-blocks"),gradientColor:f,onChange:function(e){return a({backgroundGradient:e})}}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Header","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(zw,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:Cw,resRequiredProps:y}),React.createElement(Fw,{label:(0,Y.__)("Color","essential-blocks"),color:p,onChange:function(e){return a({headerColor:e})}}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Content","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(zw,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:xw,resRequiredProps:y}),React.createElement(Fw,{label:(0,Y.__)("Color","essential-blocks"),color:u,onChange:function(e){return a({contentColor:e})}})))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,null,React.createElement(qw,{resRequiredProps:y,controlName:Rw,baseLabel:(0,Y.__)("Margin","essential-blocks")}),React.createElement(qw,{resRequiredProps:y,controlName:_w,baseLabel:(0,Y.__)("Padding","essential-blocks")})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow","essential-blocks"),initialOpen:!1},React.createElement(Uw,{controlName:Ew,resRequiredProps:y})),React.createElement(Ww,{attributes:t,setAttributes:a})))}))))};var Zw=window.EBControls,Yw=Zw.softMinifyCssStrings,Jw=Zw.generateDimensionsControlStyles,Qw=Zw.generateBorderShadowStyles,Xw=Zw.generateTypographyStyles,$w=Zw.generateResponsiveRangeStyles,Kw=Zw.StyleComponent;function ek(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=(t.blockMeta,t.blockId),r=(t.resOption,t.headerColor),c=t.contentColor,l=t.imageAlignment,i=t.isBackgroundGradient,s=t.backgroundColor,b=t.backgroundGradient,p=(t.classHook,Jw({controlName:Rw,styleFor:"margin",attributes:t})),u=p.dimensionStylesDesktop,d=p.dimensionStylesTab,m=p.dimensionStylesMobile,g=Jw({controlName:_w,styleFor:"padding",attributes:t}),f=g.dimensionStylesDesktop,y=g.dimensionStylesTab,v=g.dimensionStylesMobile,h=Xw({attributes:t,prefixConstant:Cw}),w=h.typoStylesDesktop,k=h.typoStylesTab,R=h.typoStylesMobile,_=Xw({attributes:t,prefixConstant:xw}),E=_.typoStylesDesktop,C=_.typoStylesTab,x=_.typoStylesMobile,S=$w({controlName:ww,property:"height",attributes:t,customUnit:"px"}),B=S.rangeStylesDesktop,T=S.rangeStylesTab,N=S.rangeStylesMobile,P=$w({controlName:kw,property:"max-width",attributes:t,customUnit:"px"}),O=P.rangeStylesDesktop,M=P.rangeStylesTab,D=P.rangeStylesMobile,j=Qw({controlName:Ew,attributes:t}),I=j.styesDesktop,A=j.styesTab,L=j.styesMobile,F=j.stylesHoverDesktop,H=j.stylesHoverTab,z=j.stylesHoverMobile,q=j.transitionStyle,U="left"===l?"margin: 0;":"right"===l?"margin: 0 0 0 auto;":"margin: 0 auto;",V="\n\t\t.eb-interactive-promo-wrapper figure > figcaption {\n\t\t\tbox-sizing: border-box;\n\t\t}\n\n\t\t.eb-interactive-promo-wrapper.".concat(o," {\n\t\t\t").concat(u,"\n\t\t\t").concat(f,"\n\t\t}\n\n\t\t.eb-interactive-promo-wrapper.").concat(o," .eb-interactive-promo-header {\n\t\t\t").concat(w,"\n\t\t\t").concat(r?"color: ".concat(r,";"):"","\n\t\t}\n\n\t\t.eb-interactive-promo-wrapper.").concat(o," .eb-interactive-promo-content {\n\t\t\t").concat(E,"\n\t\t\tcolor: ").concat(c,";\n\t\t}\n\n\t\t.eb-interactive-promo-wrapper.").concat(o," .eb-interactive-promo figure {\n\t\t\t").concat(B.replace(/\D/g,"")?B:"height: 100%;","\n\t\t\t").concat(O.replace(/\D/g,"")?O:"max-width: 100%;","\n\t\t\t").concat(I,"\n\t\t\t").concat(U,"\n\t\t\t").concat(i?"background: ".concat(b,";"):s?"background: ".concat(s,";"):"","\n\t\t\twidth: 100%;\n\t\t\tposition: relative;\n\t\t\toverflow: hidden;\n\t\t\ttransition: ").concat(q,";\n\t\t}\n\n\t\t.eb-interactive-promo-wrapper.").concat(o," .eb-interactive-promo:hover figure {\n\t\t\t").concat(F,"\n\t\t}\n\n\t\t.eb-interactive-promo-wrapper.").concat(o," .eb-interactive-promo figure img {\n\t\t\tmin-width: 100%;\n\t\t\tobject-fit: cover;\n\t\t}\n\t"),W="\n\t\t.eb-interactive-promo-wrapper.".concat(o," {\n\t\t\t").concat(d,"\n\t\t\t").concat(y,"\n\t\t}\n\n\t\t.eb-interactive-promo-wrapper.").concat(o," .eb-interactive-promo-header {\n\t\t\t").concat(k,"\n\t\t}\n\n\t\t.eb-interactive-promo-wrapper.").concat(o," .eb-interactive-promo-content {\n\t\t\t").concat(C,"\n\t\t}\n\n\t\t.eb-interactive-promo-wrapper.").concat(o," .eb-interactive-promo figure {\n\t\t\t").concat(T.replace(/\D/g,"")?T:"height: 100%;","\n\t\t\t").concat(M.replace(/\D/g,"")?M:"max-width: 100%;","\n\t\t\t").concat(A,"\n\t\t}\n\n\t\t.eb-interactive-promo-wrapper.").concat(o," .eb-interactive-promo:hover figure {\n\t\t\t").concat(H,"\n\t\t}\n\t"),G="\n\t\t.eb-interactive-promo-wrapper.".concat(o," {\n\t\t\t").concat(m,"\n\t\t\t").concat(v,"\n\t\t}\n\n\t\t.eb-interactive-promo-wrapper.").concat(o," .eb-interactive-promo-header {\n\t\t\t").concat(R,"\n\t\t}\n\n\t\t.eb-interactive-promo-wrapper.").concat(o," .eb-interactive-promo-content {\n\t\t\t").concat(x,"\n\t\t}\n\n\t\t.eb-interactive-promo-wrapper.").concat(o," .eb-interactive-promo figure {\n\t\t\t").concat(N.replace(/\D/g,"")?N:"height: 100%;","\n\t\t\t").concat(D.replace(/\D/g,"")?D:"max-width: 100%;","\n\t\t\t").concat(L,"\n\t\t}\n\n\t\t.eb-interactive-promo-wrapper.").concat(o," .eb-interactive-promo:hover figure {\n\t\t\t").concat(z,"\n\t\t}\n\t"),Z=Yw("\n\t\t".concat(V,"\n\t")),Y=Yw("\n\t\t".concat(W,"\n\t")),J=Yw("\n\t\t".concat(G,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(Kw,{attributes:t,setAttributes:a,desktopAllStyles:Z,tabAllStyles:Y,mobileAllStyles:J,blockName:n}))}function tk(e){return tk="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},tk(e)}function ak(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function nk(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ak(Object(a),!0).forEach((function(t){ok(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ak(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function ok(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=tk(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=tk(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==tk(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var rk=window.EBControls,ck=rk.sanitizeURL,lk=rk.BlockProps;var ik=window.EBControls,sk=ik.sanitizeURL,bk=ik.BlockProps;var pk;const uk={attributes:{imageURL:(null===(pk=EssentialBlocksLocalize)||void 0===pk?void 0:pk.image_url)+"/gallery-images/china.jpg"}};function dk(e){return dk="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},dk(e)}function mk(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function gk(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?mk(Object(a),!0).forEach((function(t){fk(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):mk(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function fk(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=dk(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=dk(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==dk(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var yk=window.EBControls.sanitizeURL;const vk=[{attributes:gk({},Iw),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.header,o=t.content,r=t.effectName,c=t.imageURL,l=t.imageAltTag,i=t.newWindow,s=t.link,b=t.classHook;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(b)},React.createElement("div",{className:"eb-interactive-promo-wrapper ".concat(a)},React.createElement("div",{className:"eb-interactive-promo-container","data-effect":r},React.createElement("div",{className:"eb-interactive-promo hover-effect"},React.createElement("figure",{className:"effect-".concat(r)},React.createElement("img",{src:c,alt:l}),React.createElement("figcaption",null,React.createElement("h2",{className:"eb-interactive-promo-header"},n),React.createElement("p",{className:"eb-interactive-promo-content"},o),s&&React.createElement("a",{href:s,target:i?"_blank":"_self",rel:"noopener noreferrer"}))))))))}},{attributes:gk({},Iw),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.header,o=t.content,r=t.effectName,c=t.imageURL,l=t.imageAltTag,i=t.newWindow,s=t.link;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-interactive-promo-wrapper ".concat(a)},React.createElement("div",{className:"eb-interactive-promo-container","data-effect":r},React.createElement("div",{className:"eb-interactive-promo hover-effect"},React.createElement("figure",{className:"effect-".concat(r)},React.createElement("img",{src:c,alt:l}),React.createElement("figcaption",null,React.createElement("h2",{className:"eb-interactive-promo-header"},n),React.createElement("p",{className:"eb-interactive-promo-content"},o),s&&React.createElement("a",{href:yk(s),target:i?"_blank":"_self",rel:"noopener noreferrer"})))))))}}],hk=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Interactive Promo","name":"essential-blocks/interactive-promo","description":"EB Interactive Promo lets you decorate your website outlook with its amazing Promo effects","category":"essential-blocks","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');(0,EBControls.ebConditionalRegisterBlockType)(hk,{icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"60",fill:"none",viewBox:"0 0 60 60"},React.createElement("path",{fill:"#6C3BFF",d:"M58.727.343H1.455C.636.343 0 .943 0 1.714v56.657c0 .772.636 1.372 1.455 1.372h57.09c.819 0 1.455-.6 1.455-1.372V1.714c.09-.771-.545-1.371-1.273-1.371zm-1.454 56.571H3.09v-54h54.182v54z"}),React.createElement("path",{fill:"#6C3BFF",d:"M14.818 12.343v13.543c0 1.371 1 2.314 2.455 2.314h27.909c1.454 0 2.454-.943 2.454-2.314V12.343c0-1.372-1-2.314-2.454-2.314H17c-1.182.085-2.182 1.028-2.182 2.314zM44.91 25.886H17V12.343h27.91v13.543z"}),React.createElement("path",{fill:"#6C3BFF",d:"M21.818 17.914h6.455c.363 0 .818-.343.818-.771v-.772c0-.342-.364-.771-.818-.771h-6.455c-.364 0-.818.343-.818.771v.772c.09.343.273.771.818.771zM32.545 17.914h6.546c.364 0 .818-.343.818-.771v-.772c0-.342-.364-.771-.818-.771h-6.455c-.363 0-.818.343-.818.771v.772c0 .343.364.771.727.771zM44.909 31.8H17c-1.455 0-2.455.943-2.455 2.314v13.543c0 1.372 1 2.314 2.455 2.314h27.909c1.455 0 2.455-.942 2.455-2.314V34.114c0-1.371-1-2.314-2.455-2.314zm0 15.857H17V34.114h27.909v13.543z"}))},attributes:Iw,keywords:[(0,Y.__)("promo","essential-blocks"),(0,Y.__)("message","essential-blocks"),(0,Y.__)("eb essential","essential-blocks"),(0,Y.__)("interactive","essential-blocks")],edit:function(e){var t=e.isSelected,a=e.attributes,n=e.setAttributes,o=(a.blockMeta,a.blockId),r=(a.resOption,a.header),c=a.content,l=a.effectName,i=a.imageURL,s=a.imageID,b=a.imageAltTag,p=a.newWindow,u=a.link,d=a.classHook;if(!i)return React.createElement(Q.MediaPlaceholder,{onSelect:function(e){return n({imageURL:e.url,imageID:e.id})},allowTypes:["image"],labels:{title:"Images",instructions:"Drag media file, upload or select files from your library."}});var m=nk(nk({},e),{},{blockPrefix:"eb-interactive-promo",style:React.createElement(ek,e)});return React.createElement(React.Fragment,null,t&&React.createElement(Gw,{attributes:a,setAttributes:n}),React.createElement(Q.BlockControls,null,React.createElement(X.ToolbarGroup,null,React.createElement(X.ToolbarItem,null,(function(){return React.createElement(Q.MediaUpload,{onSelect:function(e){return n({imageURL:e.url,imageID:e.id})},allowedTypes:["image"],value:s,render:function(e){var t=e.open;return React.createElement(X.ToolbarButton,{className:"components-toolbar__control",label:(0,Y.__)("Edit Image","essential-blocks"),icon:"edit",onClick:t})}})})))),React.createElement(lk.Edit,m,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(o," ").concat(d)},React.createElement("div",{className:"eb-interactive-promo-wrapper ".concat(o)},React.createElement("div",{className:"eb-interactive-promo-container","data-effect":l},React.createElement("div",{className:"eb-interactive-promo hover-effect"},React.createElement("figure",{className:"effect-".concat(l)},React.createElement("img",{src:i,alt:b}),React.createElement("figcaption",null,React.createElement("h2",{className:"eb-interactive-promo-header"},r),React.createElement("p",{className:"eb-interactive-promo-content"},c),u&&React.createElement("a",{href:ck(u),target:p?"_blank":"_self",rel:"noopener noreferrer"})))))))))},save:function(e){var t=e.attributes,a=t.blockId,n=t.header,o=t.content,r=t.effectName,c=t.imageURL,l=t.imageAltTag,i=t.newWindow,s=t.link,b=t.classHook;return React.createElement(bk.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(b)},React.createElement("div",{className:"eb-interactive-promo-wrapper ".concat(a)},React.createElement("div",{className:"eb-interactive-promo-container","data-effect":r},React.createElement("div",{className:"eb-interactive-promo hover-effect"},React.createElement("figure",{className:"effect-".concat(r)},React.createElement("img",{src:c,alt:l}),React.createElement("figcaption",null,React.createElement("h2",{className:"eb-interactive-promo-header"},n),React.createElement("p",{className:"eb-interactive-promo-content"},o),s&&React.createElement("a",{href:sk(s),target:i?"_blank":"_self",rel:"noopener noreferrer"}))))))))},example:uk,deprecated:vk});var wk="title",kk="text",Rk="margin",_k="padding",Ek="wrp_",Ck="wrp_",xk="textAlign",Sk=[{label:(0,Y.__)("Default","essential-blocks"),value:"default"},{label:(0,Y.__)("Success","essential-blocks"),value:"success"},{label:(0,Y.__)("Info","essential-blocks"),value:"info"},{label:(0,Y.__)("Warning","essential-blocks"),value:"warning"},{label:(0,Y.__)("Danger","essential-blocks"),value:"danger"}],Bk=((0,Y.__)("None","essential-blocks"),(0,Y.__)("Lowercase","essential-blocks"),(0,Y.__)("Capitalize","essential-blocks"),(0,Y.__)("Uppercase","essential-blocks"),(0,Y.__)("Lighter","essential-blocks"),(0,Y.__)("Normal","essential-blocks"),(0,Y.__)("Bold","essential-blocks"),(0,Y.__)("Bolder","essential-blocks"),(0,Y.__)("Initial","essential-blocks"),(0,Y.__)("Overline","essential-blocks"),(0,Y.__)("Line Through","essential-blocks"),(0,Y.__)("Underline","essential-blocks"),(0,Y.__)("Underline Oveline","essential-blocks"),[{label:(0,Y.__)("Left","essential-blocks"),value:"left"},{label:(0,Y.__)("Right","essential-blocks"),value:"right"},{label:(0,Y.__)("Center","essential-blocks"),value:"center"}]);function Tk(e){return Tk="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Tk(e)}function Nk(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Pk(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Nk(Object(a),!0).forEach((function(t){Ok(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Nk(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Ok(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=Tk(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=Tk(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Tk(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var Mk=window.EBControls,Dk=Mk.generateDimensionsAttributes,jk=Mk.generateTypographyAttributes,Ik=Mk.generateBackgroundAttributes,Ak=Mk.generateBorderShadowAttributes,Lk=Mk.generateResponsiveAlignAttributes;const Fk=Pk(Pk(Pk(Pk(Pk(Pk({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},dismissible:{type:"boolean",default:!1},noticeType:{type:"string",default:"default"},titleFontSize:{type:"number"},textFontSize:{type:"number"},title:{type:"string",source:"text",selector:".eb-notice-title",default:"Save 20%"},text:{type:"string",source:"text",selector:".eb-notice-text",default:"Free shipping on all orders"},backgroundColor:{type:"string"},titleColor:{type:"string",default:"var(--eb-global-heading-color)"},textColor:{type:"string",default:"var(--eb-global-text-color)"},noticeId:{type:"string"},showAfterDismiss:{type:"boolean",default:!1}},jk(Object.values(y))),Dk(Rk)),Dk(_k,{top:65,bottom:65,right:60,left:60,isLinked:!1})),Ak(Ck,{})),Ik(Ek,{defaultFillColor:"var(--eb-global-background-color)",defaultBgGradient:"var(--eb-gradient-background-color)"})),Lk(xk,{defaultAlign:"left",defaultTabAlign:"left",defaultMobileAlign:"left"}));function Hk(e){return Hk="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Hk(e)}function zk(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=Hk(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=Hk(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Hk(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var qk=window.EBControls,Uk=qk.ResponsiveDimensionsControl,Vk=qk.TypographyDropdown,Wk=qk.BorderShadowControl,Gk=qk.ColorControl,Zk=qk.BackgroundControl,Yk=qk.ResponsiveAlignControl,Jk=qk.AdvancedControls;const Qk=function(e){var t=e.attributes,a=e.setAttributes,n=t.resOption,o=t.dismissible,r=t.noticeType,c=t.titleColor,l=t.textColor,i=t.showAfterDismiss,s={setAttributes:a,resOption:n,attributes:t,objAttributes:Fk};return React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:"General",className:"eb-tab general"},{name:"styles",title:"Style",className:"eb-tab styles"},{name:"advance",title:"Advanced",className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls"+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Notice Settings","essential-blocks")},React.createElement(X.ToggleControl,{label:(0,Y.__)("Dismissible","essential-blocks"),checked:o,onChange:function(){return a({dismissible:!o})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show After Dismiss","essential-blocks"),checked:i,onChange:function(){return a({showAfterDismiss:!i})}}),React.createElement(X.SelectControl,{label:(0,Y.__)("Type","essential-blocks"),value:r,options:Sk,onChange:function(e){return function(e){switch(e){case"success":a(zk(zk(zk({noticeType:e},"".concat(Ek,"backgroundColor"),"#4caf50"),"titleColor","#ffffff"),"textColor","#ffffff"));break;case"info":a(zk(zk(zk({noticeType:e},"".concat(Ek,"backgroundColor"),"#d3d3d3"),"titleColor","#000000"),"textColor","#000000"));break;case"danger":a(zk(zk(zk({noticeType:e},"".concat(Ek,"backgroundColor"),"#f44336"),"titleColor","#ffffff"),"textColor","#ffffff"));break;case"warning":a(zk(zk(zk({noticeType:e},"".concat(Ek,"backgroundColor"),"#ffeb3b"),"titleColor","#000000"),"textColor","#000000"));break;case"default":a(zk(zk(zk({noticeType:e},"".concat(Ek,"backgroundColor"),"#2196f3"),"titleColor","#ffffff"),"textColor","#ffffff"))}}(e)}}))),"styles"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Notice","essential-blocks")},React.createElement(Yk,{baseLabel:(0,Y.__)("Text Align","essential-blocks"),controlName:xk,resRequiredProps:s,options:Bk,resOption:n})),React.createElement(X.PanelBody,{title:(0,Y.__)("Title","essential-blocks")},React.createElement(Vk,{baseLabel:"Typography",typographyPrefixConstant:wk,resRequiredProps:s}),React.createElement(Gk,{label:(0,Y.__)("Color","essential-blocks"),color:c,onChange:function(e){return a({titleColor:e})}})),React.createElement(X.PanelBody,{title:(0,Y.__)("text","essential-blocks")},React.createElement(Vk,{baseLabel:"Typography",typographyPrefixConstant:kk,resRequiredProps:s}),React.createElement(Gk,{label:(0,Y.__)("Color","essential-blocks"),color:l,onChange:function(e){return a({textColor:e})}}))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Margin & Padding")},React.createElement(Uk,{resRequiredProps:s,controlName:Rk,baseLabel:"Margin"}),React.createElement(Uk,{resRequiredProps:s,controlName:_k,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Background","essential-blocks"),initialOpen:!1},React.createElement(Zk,{controlName:Ek,resRequiredProps:s})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(Wk,{controlName:Ck,resRequiredProps:s})),React.createElement(Jk,{attributes:t,setAttributes:a})))}))))};var Xk=window.EBControls,$k=Xk.softMinifyCssStrings,Kk=Xk.generateTypographyStyles,eR=Xk.generateDimensionsControlStyles,tR=Xk.generateBackgroundControlStyles,aR=Xk.generateBorderShadowStyles,nR=Xk.generateResponsiveAlignStyles,oR=Xk.StyleComponent;function rR(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=(t.blockMeta,t.resOption,t.dismissible),c=(t.title,t.text,t.titleColor),l=t.textColor,i=(t.classHook,Kk({attributes:t,prefixConstant:wk,defaultFontSize:32})),s=i.typoStylesDesktop,b=i.typoStylesTab,p=i.typoStylesMobile,u=Kk({attributes:t,prefixConstant:kk,defaultFontSize:18}),d=u.typoStylesDesktop,m=u.typoStylesTab,g=u.typoStylesMobile,f=eR({controlName:Rk,styleFor:"margin",attributes:t}),y=f.dimensionStylesDesktop,v=f.dimensionStylesTab,h=f.dimensionStylesMobile,w=eR({controlName:_k,styleFor:"padding",attributes:t}),k=w.dimensionStylesDesktop,R=w.dimensionStylesTab,_=w.dimensionStylesMobile,E=nR({controlName:xk,property:"text-align",attributes:t}),C=E.alignStylesDesktop,x=E.alignStylesTab,S=E.alignStylesMobile,B=tR({attributes:t,controlName:Ek}),T=B.backgroundStylesDesktop,N=B.hoverBackgroundStylesDesktop,P=B.backgroundStylesTab,O=B.hoverBackgroundStylesTab,M=B.backgroundStylesMobile,D=B.hoverBackgroundStylesMobile,j=B.overlayStylesDesktop,I=B.hoverOverlayStylesDesktop,A=B.overlayStylesTab,L=B.hoverOverlayStylesTab,F=B.overlayStylesMobile,H=B.hoverOverlayStylesMobile,z=B.bgTransitionStyle,q=B.ovlTransitionStyle,U=aR({controlName:Ck,attributes:t}),V=U.styesDesktop,W=U.styesTab,G=U.styesMobile,Z=U.stylesHoverDesktop,Y=U.stylesHoverTab,J=U.stylesHoverMobile,Q=U.transitionStyle,X="\n\n\t.eb-notice-wrapper.".concat(o," > * {\n\t\tposition: relative;\n\t}\n\n\t.eb-notice-wrapper.").concat(o,"{\n\t\t").concat(y,"\n\t\t").concat(k,"\n\t\t").concat(T,"\n\t\t").concat(V,"\n\t\ttransition:").concat(z,", ").concat(Q,";\n\t\toverflow: hidden;\n\t\tposition: relative;\n\t\t").concat(C,"\n\t}\n\n\t.eb-notice-wrapper.").concat(o,":hover{\n\t\t").concat(N,"\n\t\t").concat(Z,"\n\t}\n\n\t.eb-notice-wrapper.").concat(o,":before{\n\t\t").concat(j,"\n\t\ttransition:").concat(q,";\n\t}\n\n\t.eb-notice-wrapper.").concat(o,":hover:before{\n\t\t").concat(I,"\n\t}\n\n\t"),$="\n\t.eb-notice-wrapper.".concat(o,"{\n\t\t").concat(v,"\n\t\t").concat(R,"\n\t\t").concat(P,"\n\t\t").concat(W,"\n\t\t").concat(x,"\n\t}\n\n\t.eb-notice-wrapper.").concat(o,":hover{\n\t\t").concat(O,"\n\t\t").concat(Y,"\n\t}\n\n\t.eb-notice-wrapper.").concat(o,":before{\n\t\t").concat(A,"\n\t}\n\n\t.eb-notice-wrapper.").concat(o,":hover:before{\n\t\t").concat(L,"\n\t}\n\n\t"),K="\n\t.eb-notice-wrapper.".concat(o,"{\n\t\t").concat(h,"\n\t\t").concat(_,"\n\t\t").concat(M,"\n\t\t").concat(G,"\n\t\t").concat(S,"\n\t}\n\n\t.eb-notice-wrapper.").concat(o,":hover{\n\t\t").concat(D,"\n\t\t").concat(J,"\n\t}\n\n\t.eb-notice-wrapper.").concat(o,":before{\n\t\t").concat(F,"\n\t}\n\n\t.eb-notice-wrapper.").concat(o,":hover:before{\n\t\t").concat(H,"\n\t}\n\t"),ee="\n\t.eb-notice-wrapper.".concat(o," .eb-notice-title-wrapper{\n\t\t// display: flex;\n\t\tjustify-content: space-between;\n\t}\n\t"),te="\n\t.eb-notice-wrapper.".concat(o," .eb-notice-title{\n\t\t").concat(s,"\n\t\tcolor: ").concat(c||"#fff",";\n\t}\n\t"),ae="\n\t.eb-notice-wrapper.".concat(o," .eb-notice-title{\n\t\t").concat(b,"\n\t}\n\t"),ne="\n\t.eb-notice-wrapper.".concat(o," .eb-notice-title{\n\t\t").concat(p,"\n\t}\n\t"),oe="\n\t.eb-notice-wrapper.".concat(o," .eb-notice-text{\n\t\t").concat(d,"\n\t\tcolor: ").concat(l||"#edf1f7",";\n\t}\n\t"),re="\n\t.eb-notice-wrapper.".concat(o," .eb-notice-text{\n\t\t").concat(m,"\n\t}\n\t"),ce="\n\t.eb-notice-wrapper.".concat(o," .eb-notice-text{\n\t\t").concat(g,"\n\t}\n\t"),le="\n\t.eb-notice-wrapper.".concat(o," .eb-notice-dismiss{\n\t\tcolor: ").concat(l||"#edf1f7",";\n\t\tdisplay: ").concat(r?"flex":"none",";\n\n\t\ttop: 0px;\n\t\tright: 0px;\n\t\twidth: 24px;\n\t\theight: 24px;\n\t\tposition: absolute;\n\t\tjustify-content: center;\n\t}\n\n\t.eb-notice-wrapper.").concat(o,' .eb-notice-dismiss:after{\n\t\tcontent: "\\00d7";\n\t}\n\n\t.entry-content\n\t> *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.woocommerce) {\n\t\tmargin-left: auto;\n\t\tmargin-right: auto;\n\t}\n\n\t'),ie=$k("\n\t\t".concat(X,"\n\t\t").concat(ee,"\n\t\t").concat(le,"\n\t\t").concat(te,"\n\t\t").concat(oe,"\n\t")),se=$k("\n\t\t".concat($,"\n\t\t").concat(ae,"\n\t\t").concat(re,"\n\t")),be=$k("\n\t\t".concat(K,"\n\t\t").concat(ne,"\n\t\t").concat(ce,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(oR,{attributes:t,setAttributes:a,desktopAllStyles:ie,tabAllStyles:se,mobileAllStyles:be,blockName:n}))}function cR(e){return cR="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},cR(e)}function lR(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function iR(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?lR(Object(a),!0).forEach((function(t){sR(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):lR(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function sR(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=cR(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=cR(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==cR(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var bR=window.EBControls.BlockProps,pR=window.EBControls.BlockProps;const uR=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Notice","name":"essential-blocks/notice","category":"essential-blocks","description":"Put spotlight on news, announcements & let the visitors find it easily","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');function dR(e){return dR="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},dR(e)}function mR(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function gR(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?mR(Object(a),!0).forEach((function(t){fR(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):mR(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function fR(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=dR(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=dR(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==dR(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const yR=[{attributes:gR({},Fk),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.showAfterDismiss,o=t.title,r=t.text,c=t.classHook;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(c)},React.createElement("div",{className:"eb-notice-wrapper ".concat(a),"data-id":a,"data-show-again":n},React.createElement("div",{className:"eb-notice-title-wrapper"},React.createElement(Q.RichText.Content,{tagName:"div",className:"eb-notice-title",value:o})),React.createElement("span",{className:"eb-notice-dismiss",style:{cursor:"pointer"}}),React.createElement("div",null,React.createElement(Q.RichText.Content,{tagName:"div",className:"eb-notice-text",value:r})))))}},{attributes:gR({},Fk),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.showAfterDismiss,o=t.title,r=t.text;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-notice-wrapper ".concat(a),"data-id":a,"data-show-again":n},React.createElement("div",{className:"eb-notice-title-wrapper"},React.createElement(Q.RichText.Content,{tagName:"div",className:"eb-notice-title",value:o})),React.createElement("span",{className:"eb-notice-dismiss",style:{cursor:"pointer"}}),React.createElement("div",null,React.createElement(Q.RichText.Content,{tagName:"div",className:"eb-notice-text",value:r}))))}}];(0,EBControls.ebConditionalRegisterBlockType)(uR,{icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"57",height:"60",fill:"none",viewBox:"0 0 57 60"},React.createElement("path",{fill:"#6C3BFF",d:"M28.286 0c-2.829 0-5.143 2.314-5.143 5.143v1.714H9.429c-1.372 0-2.572 1.2-2.572 2.572v48C6.857 58.8 8.057 60 9.43 60h37.714c1.371 0 2.571-1.2 2.571-2.571v-48c0-1.372-1.2-2.572-2.571-2.572H33.429V5.143C33.429 2.314 31.114 0 28.286 0zm0 1.714a3.439 3.439 0 013.428 3.429v6c0 .514-.342.857-.857.857h-5.143c-.514 0-.857-.343-.857-.857v-6a3.439 3.439 0 013.429-3.429zm0 2.572c-.515 0-.857.343-.857.857s.343.857.857.857.857-.343.857-.857-.343-.857-.857-.857zM9.429 8.57h13.714v1.715h-.857a3.439 3.439 0 00-3.429 3.428v.857h.172c.428 1.458 1.714 2.572 3.257 2.572h12c1.543 0 2.828-1.114 3.257-2.572h.171v-.857a3.439 3.439 0 00-3.428-3.428h-.857V8.57h13.714c.514 0 .857.343.857.858v48c0 .514-.343.857-.857.857H9.429c-.515 0-.858-.343-.858-.857v-48c0-.515.343-.858.858-.858zM12.857 12c-.514 0-.857.343-.857.857s.343.857.857.857.857-.343.857-.857-.343-.857-.857-.857zm9.429 0h1.028a2.497 2.497 0 002.4 1.714h5.143a2.497 2.497 0 002.4-1.714h1.029A1.72 1.72 0 0136 13.714a1.72 1.72 0 01-1.714 1.715h-12a1.72 1.72 0 01-1.715-1.715A1.72 1.72 0 0122.287 12zm-9.429 3.429c-.514 0-.857.342-.857.857 0 .514.343.857.857.857s.857-.343.857-.857c0-.515-.343-.857-.857-.857zm0 3.428c-.514 0-.857.343-.857.857 0 .515.343.857.857.857s.857-.342.857-.857c0-.514-.343-.857-.857-.857zm0 3.429c-.514 0-.857.343-.857.857s.343.857.857.857.857-.343.857-.857-.343-.857-.857-.857zm0 3.428c-.514 0-.857.343-.857.857 0 .515.343.858.857.858s.857-.343.857-.858c0-.514-.343-.857-.857-.857zm13.715 0l.6 14.829h2.314L30 25.714h-3.428zm-13.715 3.429c-.514 0-.857.343-.857.857s.343.857.857.857.857-.343.857-.857-.343-.857-.857-.857zm0 3.428c-.514 0-.857.343-.857.858 0 .514.343.857.857.857s.857-.343.857-.857c0-.515-.343-.858-.857-.858zm0 3.429c-.514 0-.857.343-.857.857s.343.857.857.857.857-.343.857-.857-.343-.857-.857-.857zm0 3.429c-.514 0-.857.342-.857.857 0 .514.343.857.857.857s.857-.343.857-.857c0-.515-.343-.857-.857-.857zm0 3.428c-.514 0-.857.343-.857.857 0 .515.343.857.857.857s.857-.342.857-.857c0-.514-.343-.857-.857-.857zm15.429.172a1.72 1.72 0 00-1.715 1.714 1.72 1.72 0 001.715 1.714A1.72 1.72 0 0030 44.743a1.72 1.72 0 00-1.714-1.714zm-15.429 3.257c-.514 0-.857.343-.857.857s.343.857.857.857.857-.343.857-.857-.343-.857-.857-.857zm0 3.428c-.514 0-.857.343-.857.857 0 .515.343.858.857.858s.857-.343.857-.858c0-.514-.343-.857-.857-.857zm0 3.429c-.514 0-.857.343-.857.857s.343.857.857.857.857-.343.857-.857-.343-.857-.857-.857z"}))},attributes:Fk,keywords:[(0,Y.__)("EB notice","essential-blocks"),(0,Y.__)("notice","essential-blocks"),(0,Y.__)("alert ","essential-blocks")],edit:function(e){var t=e.attributes,a=e.setAttributes,n=e.isSelected,o=t.blockId,r=(t.blockMeta,t.resOption,t.title),c=t.text,l=t.classHook,i=iR(iR({},e),{},{blockPrefix:"eb-notice",style:React.createElement(rR,e)});return React.createElement(React.Fragment,null,n&&React.createElement(Qk,e),React.createElement(bR.Edit,i,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(o," ").concat(l)},React.createElement("div",{className:"eb-notice-wrapper ".concat(o),"data-id":o},React.createElement("div",{className:"eb-notice-title-wrapper"},React.createElement(Q.RichText,{className:"eb-notice-title",value:r,onChange:function(e){return a({title:e})},placeholder:"Add Title..."})),React.createElement("span",{className:"eb-notice-dismiss"}),React.createElement("div",null,React.createElement(Q.RichText,{className:"eb-notice-text",value:c,onChange:function(e){return a({text:e})},placeholder:"Add Text..."}))))))},save:function(e){var t=e.attributes,a=t.blockId,n=t.showAfterDismiss,o=t.title,r=t.text,c=t.classHook;return React.createElement(pR.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(c)},React.createElement("div",{className:"eb-notice-wrapper ".concat(a),"data-id":a,"data-show-again":n},React.createElement("div",{className:"eb-notice-title-wrapper"},React.createElement(Q.RichText.Content,{tagName:"div",className:"eb-notice-title",value:o})),React.createElement("span",{className:"eb-notice-dismiss",style:{cursor:"pointer"}}),React.createElement("div",null,React.createElement(Q.RichText.Content,{tagName:"div",className:"eb-notice-text",value:r})))))},example:{attributes:{noticeType:"default"}},deprecated:yR});const vR=function(e){var t=e.slide,a=e.position,n=e.handleSlideClick,o=e.attributes,r=o.current,c=o.intensity,l=o.hasBtnShadow,i=(0,J.createRef)(),s="slide";return r===a?s+=" slide--current":r-1===a?s+=" slide--previous":r+1===a&&(s+=" slide--next"),React.createElement("li",{ref:i,className:s,onClick:function(){return n(a)},onMouseMove:function(e){var t=i.current,a=t.getBoundingClientRect();t.style.setProperty("--x",e.clientX-(a.left+Math.floor(a.width/2))),t.style.setProperty("--y",e.clientY-(a.top+Math.floor(a.height/2))),t.style.setProperty("--d",c||50)},onMouseLeave:function(e){i.current.style.setProperty("--x",0),i.current.style.setProperty("--y",0),i.current.style.setProperty("--y",50)}},React.createElement("div",{className:"slide__image-wrapper"},React.createElement("img",{className:"slide__image",alt:"img",src:t.src,onLoad:function(e){return e.target.style.opacity=1}})),React.createElement("article",{className:"slide__content"},React.createElement("h2",{className:"slide__headline"},t.title),React.createElement("button",{onClick:function(){return e=t.link,a=t.openNewTab,void(e&&(a?window.location=e:window.open(e,"_self")));var e,a},className:"slide__action btn ".concat(l?"btn-has-shadow":""," ")},t.btnText)))},hR=function(e){var t=e.type,a=e.style,n=e.icon,o=e.handleClick;return React.createElement("div",{className:"btn btn--".concat(t," ").concat(n),onClick:o,style:a})},wR=function(e){var t=e.slides,a=e.attributes,n=e.setAttributes,o=a.current,r=a.prevIcon,c=a.nextIcon,l=(a.iconColor,function(e){return n({current:e})}),i={transform:"translateX(-".concat(o*(100/t.length),"%)")};return React.createElement("div",{className:"eb-parallax-container"},React.createElement("div",{className:"eb-parallax-slider"},React.createElement("ul",{className:"eb-parallax-wrapper",style:i},t.map((function(e,t){return React.createElement(vR,{key:t,position:t,slide:e,handleSlideClick:l,attributes:a})}))),React.createElement("div",{className:"eb-slider__controls"},React.createElement(hR,{type:"previous",icon:r,handleClick:function(){var e=o-1,a=e<0?t.length-1:e;l(a)}}),React.createElement(hR,{type:"next",icon:c,handleClick:function(){var e=o+1,a=e===t.length?0:e;l(a)}}))))};var kR="wrprBg",RR="wrpMargin",_R="wrpPadding",ER="wrpBorderShadow",CR="titleMargin",xR="buttonMargin",SR="buttonPadding",BR="buttonBorderShadow",TR="sliderHeight",NR="slidesGap",PR="contentsPadding",OR="slideBorderRadius",MR=[{label:"Normal",value:"normal"},{label:"Hover",value:"hover"}],DR=[{label:(0,Y.__)("Left","essential-blocks"),value:"flex-start"},{label:(0,Y.__)("Center","essential-blocks"),value:"center"},{label:(0,Y.__)("Right","essential-blocks"),value:"flex-end"}],jR=[{label:(0,Y.__)("Top","essential-blocks"),value:"flex-start"},{label:(0,Y.__)("Middle","essential-blocks"),value:"center"},{label:(0,Y.__)("Bottom","essential-blocks"),value:"flex-end"}],IR=((0,Y.__)("Left","essential-blocks"),(0,Y.__)("Right","essential-blocks"),(0,Y.__)("Center","essential-blocks"),(0,Y.__)("Justify","essential-blocks"),[{label:"px",value:"px"},{label:"em",value:"em"},{label:"vh",value:"vh"}]),AR=[{label:"px",value:"px"},{label:"em",value:"em"},{label:"%",value:"%"}],LR="titleTypo",FR="buttonTypo";function HR(e){return HR="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},HR(e)}function zR(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function qR(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?zR(Object(a),!0).forEach((function(t){UR(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):zR(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function UR(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=HR(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=HR(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==HR(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var VR=window.EBControls,WR=VR.generateDimensionsAttributes,GR=VR.generateTypographyAttributes,ZR=VR.generateBackgroundAttributes,YR=VR.generateBorderShadowAttributes,JR=VR.generateResponsiveRangeAttributes;const QR=qR(qR(qR(qR(qR(qR(qR(qR(qR(qR(qR(qR(qR({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},sliderStyle:{type:"string",default:"style-1"},sliderData:{type:"array",default:[]},intensity:{type:"number",default:50},startIndex:{type:"number",default:1},isCustomHeight:{type:"boolean",default:!0},current:{type:"number",default:1},titleColorType:{type:"string",default:"normal"},titleColor:{type:"string",default:"var(--eb-global-heading-color)"},titleBackgroundColor:{type:"string"},buttonColorType:{type:"string",default:"normal"},buttonBackgroundColor:{type:"string",default:"var(--eb-global-button-background-color)"},buttonColor:{type:"string",default:"var(--eb-global-button-text-color)"},buttonHoverBackgroundColor:{type:"string",default:"var(--eb-global-tertiary-color)"},buttonHoverColor:{type:"string",default:"var(--eb-global-button-text-color)"},horizontalAlign:{type:"string",default:"center"},verticalAlign:{type:"string",default:"center"}},GR(Object.values(v))),WR(RR)),WR(_R)),WR(CR,{top:0,bottom:20,right:0,left:0,isLinked:!1})),WR(xR,{top:0,bottom:20,right:0,left:0,isLinked:!1})),WR(SR,{top:10,bottom:10,right:30,left:30,isLinked:!1})),WR(PR,{top:20,bottom:20,right:20,left:20,isLinked:!0})),YR(ER,{bdrDefaults:{top:0,bottom:0,right:0,left:0}})),YR(BR,{bdrDefaults:{top:1,bottom:1,right:1,left:1}})),ZR(kR,{defaultBgGradient:"linear-gradient(45deg,#ffffff,#ffffff)",noOverlay:!0})),JR(TR,{defaultRange:400})),JR(NR,{})),JR(OR,{}));function XR(e){return function(e){if(Array.isArray(e))return $R(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return $R(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?$R(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $R(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}var KR=window.EBControls,e_=KR.ResponsiveDimensionsControl,t_=KR.TypographyDropdown,a_=KR.BorderShadowControl,n_=KR.ResponsiveRangeController,o_=KR.BackgroundControl,r_=KR.ColorControl,c_=KR.AdvancedControls;const l_=function(e){var t=e.attributes,a=e.setAttributes,n=t.resOption,o=t.sliderData,r=t.current,c=t.intensity,l=t.isCustomHeight,i=t.titleColor,s=t.titleBackgroundColor,b=t.buttonColorType,p=t.buttonColor,u=t.buttonHoverColor,d=t.buttonBackgroundColor,m=t.buttonHoverBackgroundColor,g=t.horizontalAlign,f=t.verticalAlign,y={setAttributes:a,resOption:n,attributes:t,objAttributes:QR},v=function(e,t,n){var r=XR(o);r[n][e]=t,a({sliderData:r})};return React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:"General",className:"eb-tab general"},{name:"styles",title:"Style",className:"eb-tab styles"},{name:"advance",title:"Advanced",className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls"+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("General","essential-blocks")},React.createElement(X.RangeControl,{label:(0,Y.__)("Parallax Softness","essential-blocks"),value:c,allowReset:!0,onChange:function(e){return a({intensity:e})},min:0,max:100}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Custom Height","essential-blocks"),checked:l,onChange:function(){return a({isCustomHeight:!l})}}),l&&React.createElement(n_,{baseLabel:(0,Y.__)("Slider Size","essential-blocks"),controlName:TR,resRequiredProps:y,units:IR,min:1,max:500,step:1}),React.createElement(n_,{baseLabel:(0,Y.__)("Slides Gap","essential-blocks"),controlName:NR,resRequiredProps:y,units:AR,min:0,max:200,step:1})),React.createElement(X.PanelBody,{title:(0,Y.__)("Slides","essential-blocks"),initialOpen:!1},o.map((function(e,t){return React.createElement(X.PanelBody,{key:t,title:e.title&&e.title.length>0?e.title:"Slide "+(t+1)+" Settings",initialOpen:!1,onToggle:function(){return function(e){a({current:e!==r?e:1})}(t)},className:"eb-slider-item-single-panel"},React.createElement(X.TextControl,{label:(0,Y.__)("Title Text","essential-blocks"),value:e.title,onChange:function(e){return v("title",e,t)}}),React.createElement(X.TextControl,{label:(0,Y.__)("Button Text","essential-blocks"),value:e.btnText,onChange:function(e){return v("btnText",e,t)}}),React.createElement(X.TextControl,{label:(0,Y.__)("Button Link","essential-blocks"),value:e.link,onChange:function(e){return v("link",e,t)},onBlur:function(e){return function(e,t,n){var r=XR(o);t=t.toLowerCase().replace("javascript:",""),r[n][e]=t,a({sliderData:r})}("link",e.target.value,t)}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Open in New Tab","essential-blocks"),checked:e.openNewTab,onChange:function(){return v("openNewTab",!e.openNewTab,t)}}))})))),"styles"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Slides Style","essential-blocks"),initialOpen:!0},React.createElement(X.PanelRow,null,"Content Horizontal Align"),React.createElement(X.ButtonGroup,null,DR.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:g===e.value,isSecondary:g!==e.value,onClick:function(){return a({horizontalAlign:e.value})}},e.label)}))),React.createElement(X.PanelRow,null,"Content Vertical Align"),React.createElement(X.ButtonGroup,{className:"eb-margin-bottom-20"},jR.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:f===e.value,isSecondary:f!==e.value,onClick:function(){return a({verticalAlign:e.value})}},e.label)}))),React.createElement(e_,{resRequiredProps:y,controlName:PR,baseLabel:"Content Padding"}),React.createElement(n_,{baseLabel:(0,Y.__)("Slide Border Radius","essential-blocks"),controlName:OR,resRequiredProps:y,units:AR,min:1,max:50,step:1})),React.createElement(X.PanelBody,{title:(0,Y.__)("Title Style","essential-blocks"),initialOpen:!1},React.createElement(r_,{label:(0,Y.__)("Color","essential-blocks"),color:i,onChange:function(e){return a({titleColor:e})}}),React.createElement(r_,{label:(0,Y.__)("Background Color","essential-blocks"),color:s,onChange:function(e){return a({titleBackgroundColor:e})}}),React.createElement(t_,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:LR,resRequiredProps:y}),React.createElement(e_,{resRequiredProps:y,controlName:CR,baseLabel:"Margin"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Button Styles","essential-blocks"),initialOpen:!1},React.createElement(X.ButtonGroup,{className:"eb-inspector-btn-group"},MR.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:b===e.value,isSecondary:b!==e.value,onClick:function(){return a({buttonColorType:e.value})}},e.label)}))),"normal"===b&&React.createElement(React.Fragment,null,React.createElement(r_,{label:(0,Y.__)("Color","essential-blocks"),color:p,onChange:function(e){return a({buttonColor:e})}}),React.createElement(r_,{label:(0,Y.__)("Background Color","essential-blocks"),color:d,onChange:function(e){return a({buttonBackgroundColor:e})}})),"hover"===b&&React.createElement(React.Fragment,null,React.createElement(r_,{label:(0,Y.__)("Hover Color","essential-blocks"),color:u,onChange:function(e){return a({buttonHoverColor:e})}}),React.createElement(r_,{label:(0,Y.__)("Hover Background Color","essential-blocks"),color:m,onChange:function(e){return a({buttonHoverBackgroundColor:e})}})),React.createElement(X.PanelRow,null,"Button Border & Shadow"),React.createElement(a_,{controlName:BR,resRequiredProps:y}),React.createElement(t_,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:FR,resRequiredProps:y}),React.createElement(e_,{resRequiredProps:y,controlName:xR,baseLabel:"Margin"}),React.createElement(e_,{resRequiredProps:y,controlName:SR,baseLabel:"Padding"}))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,null,React.createElement(e_,{resRequiredProps:y,controlName:RR,baseLabel:"Margin"}),React.createElement(e_,{resRequiredProps:y,controlName:_R,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Background","essential-blocks"),initialOpen:!1},React.createElement(o_,{controlName:kR,resRequiredProps:y,noOverlay:!0})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(a_,{controlName:ER,resRequiredProps:y})),React.createElement(c_,{attributes:t,setAttributes:a})))}))))};var i_=window.EBControls,s_=i_.softMinifyCssStrings,b_=i_.generateTypographyStyles,p_=i_.generateDimensionsControlStyles,u_=i_.generateBorderShadowStyles,d_=i_.generateResponsiveRangeStyles,m_=i_.generateBackgroundControlStyles,g_=i_.StyleComponent;function f_(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=(t.resOption,t.blockId),r=(t.blockMeta,t.titleColor),c=t.titleBackgroundColor,l=t.buttonColor,i=t.buttonHoverColor,s=t.buttonBackgroundColor,b=t.buttonHoverBackgroundColor,p=t.isCustomHeight,u=t.horizontalAlign,d=t.verticalAlign,m=(t.classHook,b_({attributes:t,prefixConstant:LR,defaultFontSize:24})),g=m.typoStylesDesktop,f=m.typoStylesTab,y=m.typoStylesMobile,v=b_({attributes:t,prefixConstant:FR,defaultFontSize:14}),h=v.typoStylesDesktop,w=v.typoStylesTab,k=v.typoStylesMobile,R=p_({controlName:RR,styleFor:"margin",attributes:t}),_=R.dimensionStylesDesktop,E=R.dimensionStylesTab,C=R.dimensionStylesMobile,x=p_({controlName:_R,styleFor:"padding",attributes:t}),S=x.dimensionStylesDesktop,B=x.dimensionStylesTab,T=x.dimensionStylesMobile,N=p_({controlName:CR,styleFor:"margin",attributes:t}),P=N.dimensionStylesDesktop,O=N.dimensionStylesTab,M=N.dimensionStylesMobile,D=p_({controlName:xR,styleFor:"margin",attributes:t}),j=D.dimensionStylesDesktop,I=D.dimensionStylesTab,A=D.dimensionStylesMobile,L=p_({controlName:SR,styleFor:"padding",attributes:t}),F=L.dimensionStylesDesktop,H=L.dimensionStylesTab,z=L.dimensionStylesMobile,q=p_({controlName:PR,styleFor:"padding",attributes:t}),U=q.dimensionStylesDesktop,V=q.dimensionStylesTab,W=q.dimensionStylesMobile,G=d_({controlName:TR,property:"--slide-size",attributes:t}),Z=G.rangeStylesDesktop,Y=G.rangeStylesTab,J=G.rangeStylesMobile,Q=d_({controlName:NR,property:"margin",attributes:t}),X=Q.rangeStylesDesktop,$=Q.rangeStylesTab,K=Q.rangeStylesMobile,ee=d_({controlName:OR,property:"border-radius",attributes:t}),te=ee.rangeStylesDesktop,ae=ee.rangeStylesTab,ne=ee.rangeStylesMobile,oe=m_({attributes:t,controlName:kR,noOverlay:!0}),re=oe.backgroundStylesDesktop,ce=(oe.hoverBackgroundStylesDesktop,oe.backgroundStylesTab),le=(oe.hoverBackgroundStylesTab,oe.backgroundStylesMobile),ie=(oe.hoverBackgroundStylesMobile,oe.bgTransitionStyle),se=u_({controlName:ER,attributes:t}),be=se.styesDesktop,pe=se.styesTab,ue=se.styesMobile,de=se.stylesHoverDesktop,me=se.stylesHoverTab,ge=se.stylesHoverMobile,fe=se.transitionStyle,ye=u_({controlName:BR,attributes:t}),ve=ye.styesDesktop,he=ye.styesTab,we=ye.styesMobile,ke=ye.stylesHoverDesktop,Re=ye.stylesHoverTab,_e=ye.stylesHoverMobile,Ee=ye.transitionStyle,Ce="\n\t\t.eb-parallax-slider-wrapper.".concat(o,"{\n\t\t\t").concat(_,"\n\t\t\t").concat(S,"\n\t\t\t").concat(be,"\n\t\t\t").concat(be,"\n\t\t\ttransition: ").concat(fe,", ").concat(ie,";\n\t\t\t").concat(re,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o,":hover {\n\t\t\t").concat(de,"\n\t\t}\n\t"),xe="\n\t\t.eb-parallax-slider-wrapper.".concat(o,"{\n\t\t\t").concat(E,"\n\t\t\t").concat(B,"\n\t\t\t").concat(pe,"\n\t\t\t").concat(ce,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o,":hover {\n\t\t\t").concat(me,"\n\t\t}\n\t"),Se="\n\t\t.eb-parallax-slider-wrapper.".concat(o,"{\n\t\t\t").concat(C,"\n\t\t\t").concat(T,"\n\t\t\t").concat(ue,"\n\t\t\t").concat(le,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o,":hover {\n\t\t\t").concat(ge,"\n\t\t}\n\t"),Be="\n\t\t.eb-parallax-slider-wrapper.".concat(o," .eb-parallax-container .eb-parallax-slider {\n\t\t\t").concat(p?Z:"","\n\t\t}\n\t\t.eb-parallax-slider-wrapper.").concat(o," .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper li {\n\t\t\talign-items: ").concat(u,";\n\t\t\tjustify-content: ").concat(d,";\n\t\t\tmargin-left: ").concat(X.replace(/\D/g,"")/2).concat(X.match(/px|em|%/g),";\n\t\t\t\t\tmargin-right: ").concat(X.replace(/\D/g,"")/2).concat(X.match(/px|em|%/g),";\n\t\t}\n\t\t.eb-parallax-slider-wrapper.").concat(o," .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper {\n\t\t\tpadding: initial;\n\t\t\tmargin-left: -").concat(X.replace(/\D/g,"")/2).concat(X.match(/px|em|%/g),"\n\t\t}\n\t\t.eb-parallax-slider-wrapper.").concat(o," .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper .slide .slide__image-wrapper {\n\t\t\t").concat(te,"\n\t\t}\n\t\t.eb-parallax-slider-wrapper.").concat(o," .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper .slide .slide__content {\n\t\t\t").concat(U,"\n\t\t}\n\t"),Te="\n\t\t.eb-parallax-slider-wrapper.".concat(o," .eb-parallax-container {\n\t\t\theight: auto;\n\t\t}\n\t\t.eb-parallax-slider-wrapper.").concat(o," .eb-parallax-container .eb-parallax-slider {\n\t\t\t").concat(p?Y:"","\n\t\t}\n\t\t.eb-parallax-slider-wrapper.").concat(o," .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper li {\n\t\t\tmargin-left: ").concat($.replace(/\D/g,"")/2).concat($.match(/px|em|%/g),";\n\t\t\t\t\tmargin-right: ").concat($.replace(/\D/g,"")/2).concat($.match(/px|em|%/g),";\n\t\t}\n\t\t.eb-parallax-slider-wrapper.").concat(o," .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper {\n\t\t\tpadding: initial;\n\t\t\tmargin-left: -").concat($.replace(/\D/g,"")/2).concat($.match(/px|em|%/g),"\n\t\t}\n\t\t.eb-parallax-slider-wrapper.").concat(o," .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper .slide .slide__image-wrapper {\n\t\t\t").concat(ae,"\n\t\t}\n\t\t.eb-parallax-slider-wrapper.").concat(o," .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper .slide .slide__content {\n\t\t\t").concat(V,"\n\t\t}\n\t"),Ne="\n\t\t.eb-parallax-slider-wrapper.".concat(o," .eb-parallax-container .eb-parallax-slider {\n\t\t\t").concat(p?J:"","\n\t\t}\n\t\t.eb-parallax-slider-wrapper.").concat(o," .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper li {\n\t\t\tmargin-left: ").concat(K.replace(/\D/g,"")/2).concat(K.match(/px|em|%/g),";\n\t\t\t\t\tmargin-right: ").concat(K.replace(/\D/g,"")/2).concat(K.match(/px|em|%/g),";\n\t\t}\n\t\t.eb-parallax-slider-wrapper.").concat(o," .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper {\n\t\t\tpadding: initial;\n\t\t\tmargin-left: -").concat(K.replace(/\D/g,"")/2).concat(K.match(/px|em|%/g),"\n\t\t}\n\t\t.eb-parallax-slider-wrapper.").concat(o," .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper .slide .slide__image-wrapper {\n\t\t\t").concat(ne,"\n\t\t}\n\t\t.eb-parallax-slider-wrapper.").concat(o," .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper .slide .slide__content {\n\t\t\t").concat(W,"\n\t\t}\n\t"),Pe="\n\t\t.eb-parallax-slider-wrapper.".concat(o," .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper .slide .slide__headline {\n\t\t\tcolor: ").concat(r,";\n\t\t\tbackground-color: ").concat(c,";\n\t\t\t").concat(g,"\n\t\t\t").concat(P,"\n\t\t}\n\t\t.eb-parallax-slider-wrapper.").concat(o," .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper .slide .slide__action {\n\t\t\tcolor: ").concat(l,";\n\t\t\tbackground-color: ").concat(s,";\n\t\t\t").concat(h,"\n\t\t\t").concat(j,"\n\t\t\t").concat(F,"\n\t\t\t").concat(ve,"\n\t\t\ttransition: ").concat(Ee,";\n\t\t}\n\t\t.eb-parallax-slider-wrapper.").concat(o," .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper .slide .slide__action:hover {\n\t\t\tcolor: ").concat(i,";\n\t\t\tbackground-color: ").concat(b,";\n\t\t\t").concat(ke,"\n\t\t}\n\t"),Oe="\n\t\t.eb-parallax-slider-wrapper.".concat(o," .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper .slide .slide__headline {\n\t\t\t").concat(f,"\n\t\t\t").concat(O,"\n\t\t}\n\t\t.eb-parallax-slider-wrapper.").concat(o," .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper .slide .slide__action {\n\t\t\t").concat(w,"\n\t\t\t").concat(I,"\n\t\t\t").concat(H,"\n\t\t\t").concat(he,"\n\t\t}\n\t\t.eb-parallax-slider-wrapper.").concat(o," .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper .slide .slide__action:hover {\n\t\t\t").concat(Re,"\n\t\t}\n\t"),Me="\n\t\t.eb-parallax-slider-wrapper.".concat(o," .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper .slide .slide__headline {\n\t\t\t").concat(y,"\n\t\t\t").concat(M,"\n\t\t}\n\t\t.eb-parallax-slider-wrapper.").concat(o," .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper .slide .slide__action {\n\t\t\t").concat(k,"\n\t\t\t").concat(A,"\n\t\t\t").concat(z,"\n\t\t\t").concat(we,"\n\t\t}\n\t\t.eb-parallax-slider-wrapper.").concat(o," .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper .slide .slide__action:hover {\n\t\t\t").concat(_e,"\n\t\t}\n\t"),De=s_("\n\t\t".concat(Ce,"\n\t\t").concat(Be,"\n\t\t").concat(Pe,"\n\t")),je=s_("\n\t\t".concat(xe,"\n\t\t").concat(Te,"\n\t\t").concat(Oe,"\n\t")),Ie=s_("\n\t\t".concat(Se,"\n\t\t").concat(Ne,"\n\t\t").concat(Me,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(g_,{attributes:t,setAttributes:a,desktopAllStyles:De,tabAllStyles:je,mobileAllStyles:Ie,blockName:n}))}function y_(e){return y_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y_(e)}function v_(e,t){if(e){if("string"==typeof e)return h_(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?h_(e,t):void 0}}function h_(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}function w_(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function k_(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?w_(Object(a),!0).forEach((function(t){R_(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):w_(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function R_(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=y_(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=y_(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==y_(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var __=window.EBControls,E_=(__.duplicateBlockIdFix,__.BlockProps),C_=window.EBControls.BlockProps;var x_,S_,B_,T_;const N_={attributes:{sliderData:[{src:(null===(x_=EssentialBlocksLocalize)||void 0===x_?void 0:x_.eb_plugins_url)+"assets/images/gallery-images/Maldive.jpg"},{src:(null===(S_=EssentialBlocksLocalize)||void 0===S_?void 0:S_.eb_plugins_url)+"assets/images/gallery-images/Australia.jpg"},{src:(null===(B_=EssentialBlocksLocalize)||void 0===B_?void 0:B_.eb_plugins_url)+"assets/images/gallery-images/hongkong.jpg"},{src:(null===(T_=EssentialBlocksLocalize)||void 0===T_?void 0:T_.eb_plugins_url)+"assets/images/gallery-images/iceland.jpg"}]}};const P_=[{attributes:QR,supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.sliderData,o=t.intensity,r=t.startIndex,c=t.hasBtnShadow,l=t.classHook;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(l)},React.createElement("div",{className:"eb-parallax-slider-wrapper ".concat(a)},React.createElement("div",{className:"eb-parallax-container","data-start-index":r,"data-intensity":o,"data-shadow":c},React.createElement("div",{className:"eb-parallax-slider"},React.createElement("ul",{className:"eb-parallax-wrapper"},n.map((function(e,t){return React.createElement("li",{key:t,className:"slide"},React.createElement("div",{className:"slide__image-wrapper"},React.createElement("img",{className:"slide__image",src:e.src,alt:e.alt,style:{opacity:1}})),React.createElement("article",{className:"slide__content"},React.createElement("h2",{className:"slide__headline"},e.title),React.createElement("button",{className:"slide__action btn","data-link":e.link,"data-new-tab":e.openNewTab},e.btnText)))}))),React.createElement("div",{className:"eb-slider__controls"},React.createElement("div",{className:"btn btn--previous"}),React.createElement("div",{className:"btn btn--next"})))))))}},{attributes:QR,supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.sliderData,o=t.intensity,r=t.startIndex,c=t.hasBtnShadow;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parallax-slider-wrapper ".concat(a)},React.createElement("div",{className:"eb-parallax-container","data-start-index":r,"data-intensity":o,"data-shadow":c},React.createElement("div",{className:"eb-parallax-slider"},React.createElement("ul",{className:"eb-parallax-wrapper"},n.map((function(e,t){return React.createElement("li",{key:t,className:"slide"},React.createElement("div",{className:"slide__image-wrapper"},React.createElement("img",{className:"slide__image",src:e.src,alt:e.alt,style:{opacity:1}})),React.createElement("article",{className:"slide__content"},React.createElement("h2",{className:"slide__headline"},e.title),React.createElement("button",{className:"slide__action btn","data-link":e.link,"data-new-tab":e.openNewTab},e.btnText)))}))),React.createElement("div",{className:"eb-slider__controls"},React.createElement("div",{className:"btn btn--previous"}),React.createElement("div",{className:"btn btn--next"}))))))}},{attributes:QR,save:function(e){var t=e.attributes,a=t.blockId,n=t.sliderData,o=t.intensity,r=t.startIndex,c=t.hasBtnShadow,l=t.prevIcon,i=t.nextIcon;return React.createElement("div",{className:"eb-parallax-slider-wrapper ".concat(a)},React.createElement("div",{className:"eb-parallax-container","data-start-index":r,"data-intensity":o,"data-shadow":c},React.createElement("div",{className:"eb-parallax-slider"},React.createElement("ul",{className:"eb-parallax-wrapper"},n.map((function(e,t){return React.createElement("li",{key:t,className:"slide"},React.createElement("div",{className:"slide__image-wrapper"},React.createElement("img",{className:"slide__image",src:e.src,alt:e.alt,style:{opacity:1}})),React.createElement("article",{className:"slide__content"},React.createElement("h2",{className:"slide__headline"},e.title),React.createElement("button",{className:"slide__action btn","data-link":e.link,"data-new-tab":e.openNewTab},e.btnText)))}))),React.createElement("div",{className:"eb-slider__controls"},React.createElement("div",{className:"btn btn--previous ".concat(l)}),React.createElement("div",{className:"btn btn--next ".concat(i)})))))}}],O_=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Parallax Slider","name":"essential-blocks/parallax-slider","description":"Create a captivating visual experience & impress your audience","category":"essential-blocks","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');function M_(){return M_=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},M_.apply(null,arguments)}(0,EBControls.ebConditionalRegisterBlockType)(O_,{icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"57",height:"60",fill:"none",viewBox:"0 0 57 60"},React.createElement("path",{fill:"#6C3BFF",d:"M58.629 11.143c-.258-.343-.6-.514-.943-.514-.257 0-.429.085-.686.171-.514.429-.686 1.114-.343 1.629l1.972 2.828L56.57 17.4c-.428.429-.428 1.114 0 1.629.172.171.515.342.772.342s.6-.171.857-.428l3.343-3.514-2.914-4.286zM3 42.6l1.971-2.829c.343-.514.258-1.2-.342-1.628-.172-.172-.429-.172-.686-.172-.343 0-.772.172-.943.515L.086 42.77 3.429 46.2c.257.257.514.429.857.429.257 0 .6-.086.771-.343.429-.429.429-1.115 0-1.629L3 42.6zM49.714 1.714L14.914.257C12.6.257 10.8 2.143 10.8 4.371L8.571 53.4c0 2.314 1.886 4.114 4.115 4.114h.085l30.686-2.4h.086c2.143-.343 3.514-1.714 3.943-3.943l4.8-34.885.428-3.086L53.743 6v-.171c0-2.315-1.8-4.115-4.029-4.115zm-6.514 51l-30.514 2.4a1.627 1.627 0 01-1.629-1.628l.6-13.629L22.286 27.43l8.143 14.228L49.2 20.914l-3.086 22.372-1.028 7.543c-.257 1.114-.772 1.628-1.886 1.885zM30.857 37.457l-8.143-14.314L11.83 35.829 13.2 4.37c0-.942.771-1.714 1.629-1.714l34.8 1.457c.857 0 1.628.686 1.628 1.629l-1.543 10.8-18.857 20.914z"}),React.createElement("path",{fill:"#6C3BFF",d:"M51.857 45.343c-.514-.086-1.114.343-1.2.857l-1.371 9.257c-.172.857-.858 1.543-1.8 1.629l-8.4.771c-.6.086-.943.514-.943 1.114.085.515.514.943 1.028.943h.086l8.4-.771c1.886-.172 3.343-1.543 3.6-3.429l1.372-9.257c.171-.514-.258-1.028-.772-1.114zM36.686 14.657c-.086-.257-.257-.428-.429-.686-.171-.171-.257-.342-.428-.428-.172-.086-.258-.257-.429-.343-.171-.086-.257-.171-.429-.257-.171-.086-.257-.172-.428-.172-.172-.085-.257-.085-.429-.085-.085 0-.171-.086-.257-.086h-.6c-.171 0-.343 0-.428.086a.655.655 0 00-.429.171c-.171.086-.343.172-.429.257-.171.086-.342.172-.428.343-.172.172-.343.257-.429.429-.171.171-.343.428-.514.685a3.788 3.788 0 00-.514 1.372c0 .171-.086.428-.086.6v.943c.086.514.171.943.429 1.285.085.258.257.429.428.686.172.172.257.343.429.429.171.085.257.171.428.343.172.085.257.171.429.257.171.085.257.085.428.171H33.514c.172 0 .343 0 .429-.086.171 0 .343-.085.428-.085.172-.086.343-.086.429-.172.171-.085.343-.171.429-.257.171-.086.342-.257.428-.343.172-.171.343-.257.429-.428.171-.172.343-.429.514-.686.257-.343.429-.771.514-1.2 0-.171.086-.343.086-.514v-.857a7.82 7.82 0 00-.514-1.372zm-1.972 2.486c-.085.257-.257.428-.514.6-.171.086-.257.171-.429.257-.171.086-.257.086-.428.086h-.086c-.171 0-.257 0-.428-.086-.172-.086-.343-.171-.429-.257a1.867 1.867 0 01-.429-.686c-.085-.171-.085-.428-.085-.686 0-.171.085-.342.171-.514.086-.257.257-.514.514-.686.172-.085.258-.257.429-.257.171-.085.257-.085.429-.085h.085c.172 0 .257 0 .343.085.172.086.343.172.429.257.171.172.343.343.428.6.086.172.086.429.086.686.086.257 0 .514-.086.686z"}))},attributes:QR,edit:function(e){var t=e.attributes,a=e.setAttributes,n=e.className,o=(e.clientId,e.isSelected),r=(e.name,t.resOption,t.blockId),c=(t.blockMeta,t.sliderData),l=t.startIndex,i=t.classHook,s=k_(k_({},e),{},{blockPrefix:"eb-slider",style:React.createElement(f_,e)});(0,Q.useBlockProps)({className:te()(n,"eb-guten-block-main-parent-wrapper")}),(0,J.useEffect)((function(){l>c.length&&a({startIndex:c.length})}),[l,c]);var b=function(e){if(!e.length)return null;var n,o=[],r=function(e){if(Array.isArray(e))return h_(e)}(n=t.sliderData)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||v_(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();e.map((function(e,t){var a={},n=function(e,t){var a,n,o;return e.map((function(e){e.id===t.id&&(a=e.title,n=e.btnText,o=e.link)})),[a,n,o]}(r,e),c=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,r,c,l=[],i=!0,s=!1;try{if(r=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;i=!1}else for(;!(i=(n=r.call(a)).done)&&(l.push(n.value),l.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{if(!i&&null!=a.return&&(c=a.return(),Object(c)!==c))return}finally{if(s)throw o}}return l}}(e,t)||v_(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(n,3),l=c[0],i=c[1],s=c[2];a.id=e.id,a.src=e.url,a.alt=e.alt,a.title=l||"Slider ".concat(t+1),a.btnText=i||"Button",a.link=s||"",a.openNewTab=e.openNewTab||!0,o.push(a)})),a({sliderData:o})};return c.length?React.createElement(React.Fragment,null,o&&React.createElement(l_,{attributes:t,setAttributes:a}),React.createElement(Q.BlockControls,null,React.createElement(X.ToolbarGroup,null,React.createElement(X.ToolbarItem,null,(function(){return React.createElement(Q.MediaUpload,{onSelect:function(e){return b(e)},allowedTypes:["image"],multiple:!0,gallery:!0,value:c.map((function(e){return e.id})),render:function(e){var t=e.open;return React.createElement(X.ToolbarButton,{className:"components-toolbar__control",label:(0,Y.__)("Edit gallery","essential-blocks"),icon:"edit",onClick:t})}})})))),React.createElement(E_.Edit,s,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(r," ").concat(i)},React.createElement("div",{className:"eb-parallax-slider-wrapper ".concat(r)},React.createElement(wR,{slides:c,attributes:t,setAttributes:a}))))):React.createElement(Q.MediaPlaceholder,{labels:{title:(0,Y.__)("Images","essential-blocks"),instructions:(0,Y.__)("Drag images, upload new ones or select files from your library. Upload minimum 3 images for better design.")},onSelect:function(e){return b(e)},accept:"image/*",allowedTypes:["image"],multiple:!0})},save:function(e){var t=e.attributes,a=t.blockId,n=t.sliderData,o=t.intensity,r=t.startIndex,c=t.hasBtnShadow,l=t.classHook;return React.createElement(C_.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(l)},React.createElement("div",{className:"eb-parallax-slider-wrapper ".concat(a)},React.createElement("div",{className:"eb-parallax-container","data-start-index":r,"data-intensity":o,"data-shadow":c},React.createElement("div",{className:"eb-parallax-slider"},React.createElement("ul",{className:"eb-parallax-wrapper"},n.map((function(e,t){return React.createElement("li",{key:t,className:"slide"},React.createElement("div",{className:"slide__image-wrapper"},React.createElement("img",{className:"slide__image",src:e.src,alt:e.alt,style:{opacity:1}})),React.createElement("article",{className:"slide__content"},React.createElement("h2",{className:"slide__headline"},e.title),React.createElement("button",{className:"slide__action btn","data-link":e.link,"data-new-tab":e.openNewTab},e.btnText)))}))),React.createElement("div",{className:"eb-slider__controls"},React.createElement("div",{className:"btn btn--previous"}),React.createElement("div",{className:"btn btn--next"})))))))},keywords:[(0,Y.__)("Parallax","essential-blocks"),(0,Y.__)("Slider","essential-blocks"),(0,Y.__)("eb Parallax Slider","essential-blocks")],example:N_,deprecated:P_});var D_=window.EBControls,j_=D_.EBDisplayIcon,I_=D_.sanitizeURL,A_=D_.BlockProps;(0,Y.__)("Dashed","essential-blocks"),(0,Y.__)("Solid","essential-blocks"),(0,Y.__)("Dotted","essential-blocks"),(0,Y.__)("Double","essential-blocks"),(0,Y.__)("Groove","essential-blocks"),(0,Y.__)("Inset","essential-blocks"),(0,Y.__)("Outset","essential-blocks"),(0,Y.__)("Ridge","essential-blocks"),(0,Y.__)("None","essential-blocks"),(0,Y.__)("Lowercase","essential-blocks"),(0,Y.__)("Capitalize","essential-blocks"),(0,Y.__)("Uppercase","essential-blocks"),(0,Y.__)("Lighter","essential-blocks"),(0,Y.__)("Normal","essential-blocks"),(0,Y.__)("Bold","essential-blocks"),(0,Y.__)("Bolder","essential-blocks"),(0,Y.__)("Initial","essential-blocks"),(0,Y.__)("Overline","essential-blocks"),(0,Y.__)("Line Through","essential-blocks"),(0,Y.__)("Underline","essential-blocks"),(0,Y.__)("Underline Oveline","essential-blocks");var L_=[{label:(0,Y.__)("px","essential-blocks"),value:"px"},{label:(0,Y.__)("%"),value:"%"}],F_=[{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignleft"})),value:"left"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignright"})),value:"right"}],H_=[{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignleft"})),value:"left"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignright"})),value:"right"}],z_=[{label:(0,Y.__)("Top","essential-blocks"),value:"top"},{label:(0,Y.__)("Bottom","essential-blocks"),value:"bottom"}],q_="btnIconSpace",U_="btnIconSize",V_="headerIconSize",W_="headerIconWidth",G_="headerIconHeight",Z_="featuresIconSize",Y_="btnPadding",J_="btnMargin",Q_="wrapperMargin",X_="wrapperPadding",$_="titlePadding",K_="titleMargin",eE="priceCurrencyMargin",tE="salepriceCurrencyMargin",aE="btnBg",nE="priceTableBg",oE="btnBrdSdw",rE="wrpBrdSdw",cE="iconBrdSdw",lE="ribbonBrdSdw",iE="btnText",sE="titleText",bE="subtitleText",pE="priceTitleText",uE="priceCurrencyText",dE="salepriceText",mE="salepriceCurrencyText",gE="pricingPeriodText",fE="featuresText",yE="ribbonText";function vE(e){return vE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vE(e)}function hE(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function wE(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?hE(Object(a),!0).forEach((function(t){kE(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):hE(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function kE(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=vE(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=vE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==vE(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var RE=window.EBControls,_E=RE.generateTypographyAttributes,EE=RE.generateResponsiveRangeAttributes,CE=RE.generateDimensionsAttributes,xE=RE.generateBackgroundAttributes,SE=RE.generateBorderShadowAttributes;const BE=wE(wE(wE(wE(wE(wE(wE(wE(wE(wE(wE(wE(wE(wE(wE(wE(wE(wE(wE(wE(wE({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},pricingStyle:{type:"string",default:"style-1"},title:{type:"string",source:"text",selector:".eb-pricing .eb-pricing-header .eb-pricing-title",default:"Startup"},defaultSubtitle:{type:"boolean"},showSubtitle:{type:"boolean",default:!1},subtitle:{type:"string",source:"text",selector:".eb-pricing .eb-pricing-header .eb-pricing-subtitle",default:"A tagline here."},defaultHeaderIcon:{type:"boolean"},showHeaderIcon:{type:"boolean",default:!1},headerIcon:{type:"attribute",selector:".eb-pricing-icon",attribute:"data-icon",default:"fas fa-home"},defaultTitleLine:{type:"boolean"},showTitleLine:{type:"boolean",default:!0},mainPrice:{type:"string",source:"attribute",selector:".eb-pricing-tag .original-price",attribute:"data-price",default:"99"},showOnSale:{type:"boolean",default:!1},salePrice:{type:"string",source:"attribute",selector:".eb-pricing-tag .sale-price",attribute:"data-sale-price",default:"89"},priceCurrency:{type:"string",source:"text",selector:".eb-pricing-tag .price-currency",default:"$"},currencyPlacement:{type:"string",default:"left"},pricePeriod:{type:"string",source:"attribute",selector:".eb-pricing-tag .price-period",attribute:"data-price-period",default:"month"},periodSeparator:{type:"string",source:"attribute",selector:".eb-pricing-tag .price-period",attribute:"data-period-separator",default:"/"},hideFeatures:{type:"boolean",default:!1},features:{type:"array",source:"query",selector:".eb-pricing .eb-pricing-body ul li",query:{text:{type:"string",source:"text",selector:".eb-pricebox-feature-text"},icon:{type:"string",source:"attribute",attribute:"data-icon"},color:{type:"string",source:"attribute",attribute:"data-color"},link:{type:"string",source:"attribute",attribute:"data-link"},clickable:{type:"string",source:"attribute",attribute:"data-clickable"}},default:[]},showButton:{type:"boolean",default:!0},buttonIcon:{type:"attribute",selector:".eb-pricing .eb-pricing-footer",attribute:"data-icon"},buttonIconPosition:{type:"string",default:"left"},buttonText:{type:"string",default:"Choose Plan"},titleTextColor:{type:"string",default:"var(--eb-global-heading-color)"},titleLineColor:{type:"string",default:"var(--eb-global-primary-color)"},titleBackgroundColor:{type:"string"},subtitleTextColor:{type:"string",default:"var(--eb-global-text-color)"},showIconBackground:{type:"boolean",default:!0},iconBackgroundColor:{type:"string"},iconBackgroundHoverColor:{type:"string"},iconColor:{type:"string",default:"var(--eb-global-primary-color)"},iconHoverColor:{type:"string",default:"var(--eb-global-primary-color)"},priceTextColor:{type:"string",default:"var(--eb-global-primary-color)"},priceCurrencyTextColor:{type:"string",default:"var(--eb-global-primary-color)"},salePriceTextColor:{type:"string",default:"var(--eb-global-primary-color)"},salepriceCurrencyTextColor:{type:"string",default:"var(--eb-global-primary-color)"},pricingPeriodTextColor:{type:"string",default:"var(--eb-global-text-color)"},featuresTextColor:{type:"string",default:"var(--eb-global-text-color)"},contentAlign:{type:"String",default:"center"},showRibbon:{type:"boolean",default:!1},ribbonAlignHorizontal:{type:"string",default:"right"},ribbonAlignVertical:{type:"string",default:"top"},ribbonStyle:{type:"string",default:"ribbon-1"},ribbonText:{type:"string",default:"featured"},ribbonColor:{type:"string",default:"var(--eb-global-button-text-color)"},ribbonBackgroundColor:{type:"string",default:"var(--eb-global-button-background-color)"},buttonTextColor:{type:"string",default:"var(--eb-global-button-text-color)"},hoverTextColor:{type:"string",default:"var(--eb-global-button-text-color)"},buttonURL:{type:"string",default:"#"},featuresAlignment:{type:"string"},buttonAlignment:{type:"string"},headerAlignment:{type:"string"},priceAlignment:{type:"string"},iconAlignment:{type:"string"},newWindow:{type:"boolean",default:!1},showFeatureLine:{type:"boolean",default:!0},showFeatureIcon:{type:"boolean",default:!0},pricingTopBgColor:{type:"string",default:"#7967ff"}},EE(q_,{defaultRange:0,noUnits:!0})),EE(U_,{defaultRange:20,noUnits:!0})),EE(V_,{defaultRange:30})),EE(W_,{defaultRange:80})),EE(G_,{defaultRange:80})),EE(Z_,{defaultRange:20})),CE(Y_)),CE(J_)),CE(Q_)),CE(X_)),CE($_)),CE(K_)),CE(eE)),CE(tE)),_E(Object.values(h))),xE(aE,{defaultFillColor:"var(--eb-global-button-background-color)",defaultHovFillColor:"var(--eb-global-tertiary-color)",noOverlay:!0,noMainBgi:!0})),xE(nE,{defaultBgGradient:"linear-gradient(45deg, rgba(255,255,255,0.8) 0% , rgba(255,255,255,0.8) 100%)"})),SE(oE)),SE(rE)),SE(cE)),SE(lE));function TE(e){return TE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},TE(e)}function NE(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function PE(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=TE(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=TE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==TE(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function OE(e){return function(e){if(Array.isArray(e))return ME(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return ME(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?ME(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ME(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}var DE=window.EBControls,jE=DE.ColorControl,IE=DE.ResponsiveRangeController,AE=DE.ResponsiveDimensionsControl,LE=DE.TypographyDropdown,FE=DE.BackgroundControl,HE=DE.BorderShadowControl,zE=DE.AdvancedControls,qE=DE.DynamicInputControl,UE=DE.EBIconPicker,VE=DE.SortControl;const WE=function(e){var t=e.attributes,a=e.setAttributes,n=t.resOption,o=t.pricingStyle,r=t.title,c=t.showSubtitle,l=t.subtitle,i=t.showHeaderIcon,s=t.headerIcon,b=t.showTitleLine,p=t.mainPrice,u=t.showOnSale,d=t.salePrice,m=t.priceCurrency,g=t.currencyPlacement,f=t.pricePeriod,y=t.periodSeparator,v=t.hideFeatures,h=t.showButton,w=t.buttonIcon,k=t.buttonIconPosition,R=t.buttonText,_=t.buttonURL,E=t.buttonTextColor,C=t.hoverTextColor,x=t.titleTextColor,S=t.titleLineColor,B=t.titleBackgroundColor,T=t.subtitleTextColor,N=t.showIconBackground,P=t.iconBackgroundColor,O=t.iconBackgroundHoverColor,M=t.iconColor,D=t.iconHoverColor,j=t.priceTextColor,I=t.priceCurrencyTextColor,A=t.salePriceTextColor,L=t.salepriceCurrencyTextColor,F=t.pricingPeriodTextColor,H=t.featuresTextColor,z=t.showRibbon,q=t.ribbonStyle,U=t.ribbonText,V=t.ribbonColor,W=t.ribbonBackgroundColor,G=t.featuresAlignment,Z=t.buttonAlignment,J=t.headerAlignment,$=t.priceAlignment,K=t.iconAlignment,ee=t.ribbonAlignHorizontal,te=t.ribbonAlignVertical,ae=t.newWindow,ne=t.showFeatureLine,oe=t.pricingTopBgColor,re=t.showFeatureIcon,ce=t.featureIcon,le={setAttributes:a,resOption:n,attributes:t,objAttributes:BE},ie=function(){var e=t.features.length+1,n=[].concat(OE(t.features),[{icon:"fas fa-check",text:"Feature ".concat(e),color:"var(--eb-global-primary-color)"}]);a({features:n})};return React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:(0,Y.__)("General","essential-blocks"),className:"eb-tab general"},{name:"styles",title:(0,Y.__)("Style","essential-blocks"),className:"eb-tab styles"},{name:"advance",title:(0,Y.__)("Advanced","essential-blocks"),className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls"+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Settings","essential-blocks")},React.createElement(X.TextControl,{label:(0,Y.__)("Title","essential-blocks"),value:r,onChange:function(e){return a({title:e})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Subtitle?"),checked:c,onChange:function(){a({showSubtitle:!c,defaultSubtitle:!c})}}),c&&React.createElement(X.TextControl,{label:(0,Y.__)("Sub Title","essential-blocks"),value:l,onChange:function(e){return a({subtitle:e})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Icon?"),checked:i,onChange:function(){a({showHeaderIcon:!i,defaultHeaderIcon:!i})}}),i&&React.createElement(UE,{value:s,onChange:function(e){return a({headerIcon:e})},title:(0,Y.__)("Icon","essential-blocks")}),"style-4"!==o&&React.createElement(X.ToggleControl,{label:(0,Y.__)("Show title line?"),checked:b,onChange:function(){a({showTitleLine:!b,defaultTitleLine:!b})}})),React.createElement(X.PanelBody,{title:(0,Y.__)("Price","essential-blocks"),initialOpen:!1},React.createElement(X.TextControl,{label:(0,Y.__)("Price","essential-blocks"),value:p,onChange:function(e){return a({mainPrice:e})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("On Sale?"),checked:u,onChange:function(){a({showOnSale:!u})}}),u&&React.createElement(X.TextControl,{label:(0,Y.__)("Sale Price","essential-blocks"),value:d,onChange:function(e){return a({salePrice:e})}}),React.createElement(X.TextControl,{label:(0,Y.__)("Price Currency","essential-blocks"),value:m,onChange:function(e){return a({priceCurrency:e})}}),React.createElement(X.SelectControl,{label:(0,Y.__)("Currency Placement","essential-blocks"),value:g,options:[{label:"Left",value:"left"},{label:"Right",value:"right"}],onChange:function(e){a({currencyPlacement:e})}}),React.createElement(X.TextControl,{label:(0,Y.__)("Price Period (per)"),value:f,onChange:function(e){return a({pricePeriod:e})}}),React.createElement(X.TextControl,{label:(0,Y.__)("Period Separator","essential-blocks"),value:y,onChange:function(e){return a({periodSeparator:e})}}),React.createElement(X.__experimentalDivider,null)),React.createElement(X.PanelBody,{title:(0,Y.__)("Features","essential-blocks"),initialOpen:!1},React.createElement(X.ToggleControl,{label:(0,Y.__)("Hide Features?"),checked:v,onChange:function(){a({hideFeatures:!v})}}),!0!==v&&React.createElement(React.Fragment,null,React.createElement(X.ToggleControl,{label:(0,Y.__)("Show line?"),checked:ne,onChange:function(){a({showFeatureLine:!ne})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Icon?"),checked:re,onChange:function(){a({showFeatureIcon:!re})}}),React.createElement(VE,{items:t.features,labelKey:"text",onSortEnd:function(e){return a({features:e})},onDeleteItem:function(e){a({features:t.features.filter((function(t,a){return a!==e}))})},hasSettings:!0,settingsComponents:(n=function(e,n,o){var r=function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?NE(Object(a),!0).forEach((function(t){PE(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):NE(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}({},t.features[o]),c=OE(t.features);c[o]=r,c[o][e]=n,a({features:c})},t.features.map((function(e,t){return React.createElement("div",{key:t},React.createElement(X.TextControl,{onChange:function(e){return n("text",e,t)},label:(0,Y.__)("Text","essential-blocks"),value:e.text}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Link","essential-blocks"),checked:"true"===e.clickable,onChange:function(e){return n("clickable",e.toString(),t)}}),"true"===e.clickable&&React.createElement(X.TextControl,{label:(0,Y.__)("Link","essential-blocks"),value:e.link,onChange:function(e){return n("link",e,t)}}),ce&&React.createElement(React.Fragment,null,React.createElement(UE,{value:e.icon,onChange:function(e){return n("icon",e,t)}}),e.icon&&React.createElement(jE,{label:(0,Y.__)("Icon Color","essential-blocks"),color:e.color,onChange:function(e){return n("color",e,t)}})))}))),hasAddButton:!0,onAddItem:ie,addButtonText:(0,Y.__)("Add Features","essential-blocks")}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Button","essential-blocks"),initialOpen:!1},React.createElement(X.ToggleControl,{label:(0,Y.__)("Display Button?"),checked:h,onChange:function(){a({showButton:!h})}}),React.createElement(UE,{value:w,onChange:function(e){return a({buttonIcon:e})},title:(0,Y.__)("Button Icon","essential-blocks")}),React.createElement(X.BaseControl,{label:(0,Y.__)("Icon Position","essential-blocks")},React.createElement(X.ButtonGroup,null,H_.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:k===e.value,isSecondary:k!==e.value,onClick:function(){return a({buttonIconPosition:e.value})}},e.label)})))),React.createElement(IE,{baseLabel:(0,Y.__)("Icon Spacing","essential-blocks"),controlName:q_,resRequiredProps:le,min:1,max:60,step:1,noUnits:!0}),React.createElement(qE,{label:(0,Y.__)("Button Text","essential-blocks"),attrName:"buttonText",inputValue:R,setAttributes:a,onChange:function(e){return a({buttonText:e})}}),React.createElement(qE,{label:(0,Y.__)("Button Link","essential-blocks"),attrName:"buttonURL",inputValue:_,setAttributes:a,onChange:function(e){return a({buttonURL:e})}}),_&&React.createElement(X.ToggleControl,{label:(0,Y.__)("Open in New Tab","essential-blocks"),checked:ae,onChange:function(){return a({newWindow:!ae})}})),React.createElement(X.PanelBody,{title:(0,Y.__)("Ribbon","essential-blocks"),initialOpen:!1},React.createElement(X.ToggleControl,{label:(0,Y.__)("Featured","essential-blocks"),checked:z,onChange:function(){a({showRibbon:!z})}}),z&&React.createElement(React.Fragment,null,React.createElement(X.SelectControl,{label:(0,Y.__)("Ribbon Style","essential-blocks"),value:q,options:[{label:"Style 1",value:"ribbon-1"},{label:"Style 2",value:"ribbon-2"},{label:"Style 3",value:"ribbon-3"},{label:"Style 4",value:"ribbon-4"}],onChange:function(e){a({ribbonStyle:e})}}),"ribbon-1"==q&&React.createElement(X.BaseControl,{label:(0,Y.__)("Align","essential-blocks")},React.createElement(X.ButtonGroup,null,z_.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:te===e.value,isSecondary:te!==e.value,onClick:function(){return a({ribbonAlignVertical:e.value})}},e.label)})))),"ribbon-1"!==q&&React.createElement(React.Fragment,null,React.createElement(X.BaseControl,{label:(0,Y.__)("Align","essential-blocks")},React.createElement(X.ButtonGroup,null,H_.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:ee===e.value,isSecondary:ee!==e.value,onClick:function(){return a({ribbonAlignHorizontal:e.value})}},e.label)})))),React.createElement(X.TextControl,{label:(0,Y.__)("Featured Tag Text","essential-blocks"),value:U,onChange:function(e){return a({ribbonText:e})}}))))),"styles"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Price Table Box","essential-blocks"),initialOpen:!1},React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Background","essential-blocks"))),React.createElement(FE,{controlName:nE,resRequiredProps:le}),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},"Border")),React.createElement(HE,{controlName:rE,resRequiredProps:le}),"style-4"==o&&React.createElement(jE,{label:(0,Y.__)("Pricing Top Color","essential-blocks"),color:oe,onChange:function(e){return a({pricingTopBgColor:e})}})),React.createElement(X.PanelBody,{title:(0,Y.__)("Header","essential-blocks"),initialOpen:!1},React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Alignment","essential-blocks")),React.createElement(X.ButtonGroup,null,F_.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:J===e.value,isSecondary:J!==e.value,onClick:function(){return a({headerAlignment:e.value})}},e.label)})))),React.createElement(X.__experimentalDivider,null),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Title Style","essential-blocks"))),React.createElement(jE,{label:(0,Y.__)("Color","essential-blocks"),color:x,onChange:function(e){return a({titleTextColor:e})}}),b&&"style-4"!==o&&React.createElement(jE,{label:(0,Y.__)("Line Color","essential-blocks"),color:S,onChange:function(e){return a({titleLineColor:e})}}),React.createElement(jE,{label:(0,Y.__)("Background Color","essential-blocks"),color:B,onChange:function(e){return a({titleBackgroundColor:e})}}),React.createElement(LE,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:sE,resRequiredProps:le}),React.createElement(X.__experimentalDivider,null),c&&React.createElement(React.Fragment,null,React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Subtitle Style","essential-blocks"))),React.createElement(jE,{label:(0,Y.__)("Color","essential-blocks"),color:T,onChange:function(e){return a({subtitleTextColor:e})}}),React.createElement(LE,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:bE,resRequiredProps:le}),React.createElement(X.__experimentalDivider,null)),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Margin & Padding"))),React.createElement(AE,{resRequiredProps:le,controlName:$_,baseLabel:(0,Y.__)("Padding","essential-blocks")}),React.createElement(AE,{resRequiredProps:le,controlName:K_,baseLabel:(0,Y.__)("Margin","essential-blocks")})),React.createElement(X.PanelBody,{title:(0,Y.__)("Price","essential-blocks"),initialOpen:!1},React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Alignment","essential-blocks")),React.createElement(X.ButtonGroup,null,F_.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:$===e.value,isSecondary:$!==e.value,onClick:function(){return a({priceAlignment:e.value})}},e.label)})))),React.createElement(X.__experimentalDivider,null),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Original Price","essential-blocks"))),React.createElement(jE,{label:(0,Y.__)("Color","essential-blocks"),color:j,onChange:function(e){return a({priceTextColor:e})}}),React.createElement(LE,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:pE,resRequiredProps:le}),React.createElement(X.__experimentalDivider,null),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Original Price Currency","essential-blocks"))),React.createElement(jE,{label:(0,Y.__)("Color","essential-blocks"),color:I,onChange:function(e){return a({priceCurrencyTextColor:e})}}),React.createElement(LE,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:uE,resRequiredProps:le}),React.createElement(AE,{resRequiredProps:le,controlName:eE,baseLabel:(0,Y.__)("Margin","essential-blocks")}),React.createElement(X.__experimentalDivider,null),u&&React.createElement(React.Fragment,null,React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Sale Price","essential-blocks"))),React.createElement(jE,{label:(0,Y.__)("Color","essential-blocks"),color:A,onChange:function(e){return a({salePriceTextColor:e})}}),React.createElement(LE,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:dE,resRequiredProps:le}),React.createElement(X.__experimentalDivider,null),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Sale Price Currency","essential-blocks"))),React.createElement(jE,{label:(0,Y.__)("Color","essential-blocks"),color:L,onChange:function(e){return a({salepriceCurrencyTextColor:e})}}),React.createElement(LE,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:mE,resRequiredProps:le}),React.createElement(AE,{resRequiredProps:le,controlName:tE,baseLabel:(0,Y.__)("Margin","essential-blocks")}),React.createElement(X.__experimentalDivider,null)),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Pricing Period","essential-blocks"))),React.createElement(jE,{label:(0,Y.__)("Color","essential-blocks"),color:F,F:!0,onChange:function(e){return a({pricingPeriodTextColor:e})}}),React.createElement(LE,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:gE,resRequiredProps:le})),React.createElement(X.PanelBody,{title:(0,Y.__)("Features","essential-blocks"),initialOpen:!1},React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},"Alignment"),React.createElement(X.ButtonGroup,null,F_.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:G===e.value,isSecondary:G!==e.value,onClick:function(){return a({featuresAlignment:e.value})}},e.label)})))),React.createElement(X.__experimentalDivider,null),React.createElement(jE,{label:(0,Y.__)("Color","essential-blocks"),color:H,onChange:function(e){return a({featuresTextColor:e})}}),re&&React.createElement(IE,{baseLabel:(0,Y.__)("Icon Size","essential-blocks"),controlName:Z_,resRequiredProps:le,min:0,max:50,step:1,noUnits:!0}),React.createElement(LE,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:fE,resRequiredProps:le})),React.createElement(X.PanelBody,{title:(0,Y.__)("Button","essential-blocks"),initialOpen:!1},React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},"Alignment"),React.createElement(X.ButtonGroup,null,F_.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:Z===e.value,isSecondary:Z!==e.value,onClick:function(){return a({buttonAlignment:e.value})}},e.label)})))),React.createElement(X.__experimentalDivider,null),React.createElement(AE,{resRequiredProps:le,controlName:Y_,baseLabel:(0,Y.__)("Padding","essential-blocks")}),React.createElement(AE,{resRequiredProps:le,controlName:J_,baseLabel:(0,Y.__)("Margin","essential-blocks")}),React.createElement(IE,{baseLabel:(0,Y.__)("Icon Size","essential-blocks"),controlName:U_,resRequiredProps:le,min:0,max:50,step:1,noUnits:!0}),React.createElement(LE,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:iE,resRequiredProps:le}),React.createElement(jE,{label:(0,Y.__)("Text Color","essential-blocks"),color:E,onChange:function(e){return a({buttonTextColor:e})}}),React.createElement(jE,{label:(0,Y.__)("Text Hover Color","essential-blocks"),color:C,onChange:function(e){return a({hoverTextColor:e})}}),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Button Background","essential-blocks"))),React.createElement(FE,{controlName:aE,resRequiredProps:le,noOverlay:!0,noMainBgi:!0}),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Button Border Style","essential-blocks"))),React.createElement(HE,{controlName:oE,resRequiredProps:le})),i&&React.createElement(X.PanelBody,{title:(0,Y.__)("Icon Settings","essential-blocks"),initialOpen:!1},React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Alignment","essential-blocks")),React.createElement(X.ButtonGroup,null,F_.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:K===e.value,isSecondary:K!==e.value,onClick:function(){return a({iconAlignment:e.value})}},e.label)})))),React.createElement(X.__experimentalDivider,null),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Background","essential-blocks"),checked:N,onChange:function(){a({showIconBackground:!N})}}),N&&React.createElement(React.Fragment,null,React.createElement(jE,{label:(0,Y.__)("Background Color","essential-blocks"),color:P,onChange:function(e){return a({iconBackgroundColor:e})}}),React.createElement(jE,{label:(0,Y.__)("Background Hover Color","essential-blocks"),color:O,onChange:function(e){return a({iconBackgroundHoverColor:e})}}),React.createElement(X.__experimentalDivider,null)),React.createElement(IE,{baseLabel:(0,Y.__)("Icon Size","essential-blocks"),controlName:V_,resRequiredProps:le,min:0,max:200,step:1}),React.createElement(IE,{baseLabel:(0,Y.__)("Icon Area Width","essential-blocks"),controlName:W_,resRequiredProps:le,units:L_,min:0,max:500,step:1}),React.createElement(IE,{baseLabel:(0,Y.__)("Icon Area Height","essential-blocks"),controlName:G_,resRequiredProps:le,units:L_,min:0,max:500,step:1}),React.createElement(jE,{label:(0,Y.__)("Icon Color","essential-blocks"),color:M,onChange:function(e){return a({iconColor:e})}}),React.createElement(jE,{label:(0,Y.__)("Icon Hover Color","essential-blocks"),color:D,onChange:function(e){return a({iconHoverColor:e})}}),React.createElement(X.__experimentalDivider,null),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},"Border")),React.createElement(HE,{controlName:cE,resRequiredProps:le,noShadow:!0})),z&&React.createElement(X.PanelBody,{title:(0,Y.__)("Ribbon","essential-blocks"),initialOpen:!1},React.createElement(LE,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:yE,resRequiredProps:le}),React.createElement(jE,{label:(0,Y.__)("Color","essential-blocks"),color:V,onChange:function(e){return a({ribbonColor:e})}}),React.createElement(jE,{label:(0,Y.__)("Background Color","essential-blocks"),color:W,onChange:function(e){return a({ribbonBackgroundColor:e})}}),React.createElement(HE,{controlName:lE,resRequiredProps:le,noBorder:!0}))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,null,React.createElement(AE,{resRequiredProps:le,controlName:X_,baseLabel:(0,Y.__)("Padding","essential-blocks")}),React.createElement(AE,{resRequiredProps:le,controlName:Q_,baseLabel:(0,Y.__)("Margin","essential-blocks")})),React.createElement(zE,{attributes:t,setAttributes:a})));var n}))))};var GE=window.EBControls,ZE=GE.softMinifyCssStrings,YE=GE.generateDimensionsControlStyles,JE=GE.generateBackgroundControlStyles,QE=GE.generateBorderShadowStyles,XE=GE.generateTypographyStyles,$E=GE.generateResponsiveRangeStyles,KE=GE.StyleComponent;function eC(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=(t.blockMeta,t.resOption,t.pricingStyle),c=t.showTitleLine,l=t.salePriceTextColor,i=t.salepriceCurrencyTextColor,s=t.buttonIconPosition,b=t.featuresTextColor,p=t.titleBackgroundColor,u=t.titleTextColor,d=t.titleLineColor,m=t.subtitleTextColor,g=t.priceTextColor,f=t.priceCurrencyTextColor,y=t.pricingPeriodTextColor,v=t.buttonTextColor,h=t.hoverTextColor,w=t.iconBackgroundColor,k=t.iconBackgroundHoverColor,R=t.showIconBackground,_=t.iconColor,E=t.iconHoverColor,C=t.contentAlign,x=(t.showRibbon,t.ribbonStyle),S=t.ribbonText,B=t.ribbonColor,T=t.ribbonBackgroundColor,N=t.featuresAlignment,P=t.buttonAlignment,O=t.headerAlignment,M=t.priceAlignment,D=t.iconAlignment,j=(t.classHook,t.pricingTopBgColor),I=YE({controlName:X_,styleFor:"padding",attributes:t}),A=I.dimensionStylesDesktop,L=I.dimensionStylesTab,F=I.dimensionStylesMobile,H=YE({controlName:Q_,styleFor:"margin",attributes:t}),z=H.dimensionStylesDesktop,q=H.dimensionStylesTab,U=H.dimensionStylesMobile,V=JE({attributes:t,controlName:nE}),W=V.backgroundStylesDesktop,G=V.hoverBackgroundStylesDesktop,Z=V.backgroundStylesTab,Y=V.hoverBackgroundStylesTab,J=V.backgroundStylesMobile,Q=V.hoverBackgroundStylesMobile,X=V.overlayStylesDesktop,$=V.hoverOverlayStylesDesktop,K=V.overlayStylesTab,ee=V.hoverOverlayStylesTab,te=V.overlayStylesMobile,ae=V.hoverOverlayStylesMobile,ne=V.bgTransitionStyle,oe=V.ovlTransitionStyle,re=QE({controlName:rE,attributes:t}),ce=re.styesDesktop,le=re.styesTab,ie=re.styesMobile,se=re.stylesHoverDesktop,be=re.stylesHoverTab,pe=re.stylesHoverMobile,ue=re.transitionStyle,de=XE({attributes:t,prefixConstant:sE,defaultFontSize:28}),me=de.typoStylesDesktop,ge=de.typoStylesTab,fe=de.typoStylesMobile,ye=XE({attributes:t,prefixConstant:bE}),ve=ye.typoStylesDesktop,he=ye.typoStylesTab,we=ye.typoStylesMobile,ke=YE({controlName:$_,styleFor:"padding",attributes:t}),Re=ke.dimensionStylesDesktop,_e=ke.dimensionStylesTab,Ee=ke.dimensionStylesMobile,Ce=YE({controlName:K_,styleFor:"margin",attributes:t}),xe=Ce.dimensionStylesDesktop,Se=Ce.dimensionStylesTab,Be=Ce.dimensionStylesMobile,Te=XE({attributes:t,prefixConstant:pE}),Ne=Te.typoStylesDesktop,Pe=Te.typoStylesTab,Oe=Te.typoStylesMobile,Me=XE({attributes:t,prefixConstant:uE}),De=Me.typoStylesDesktop,je=Me.typoStylesTab,Ie=Me.typoStylesMobile,Ae=YE({controlName:eE,styleFor:"margin",attributes:t}),Le=Ae.dimensionStylesDesktop,Fe=Ae.dimensionStylesTab,He=Ae.dimensionStylesMobile,ze=XE({attributes:t,prefixConstant:gE}),qe=ze.typoStylesDesktop,Ue=ze.typoStylesTab,Ve=ze.typoStylesMobile,We=XE({attributes:t,prefixConstant:dE}),Ge=We.typoStylesDesktop,Ze=We.typoStylesTab,Ye=We.typoStylesMobile,Je=XE({attributes:t,prefixConstant:mE}),Qe=Je.typoStylesDesktop,Xe=Je.typoStylesTab,$e=Je.typoStylesMobile,Ke=YE({controlName:tE,styleFor:"margin",attributes:t}),et=Ke.dimensionStylesDesktop,tt=Ke.dimensionStylesTab,at=Ke.dimensionStylesMobile,nt=XE({attributes:t,prefixConstant:fE}),ot=nt.typoStylesDesktop,rt=nt.typoStylesTab,ct=nt.typoStylesMobile,lt=$E({controlName:Z_,property:"font-size",attributes:t,customUnit:"px"}),it=lt.rangeStylesDesktop,st=lt.rangeStylesTab,bt=lt.rangeStylesMobile,pt=$E({controlName:q_,property:"margin-right",attributes:t,customUnit:"px"}),ut=pt.rangeStylesDesktop,dt=pt.rangeStylesTab,mt=pt.rangeStylesMobile,gt=$E({controlName:q_,property:"margin-left",attributes:t,customUnit:"px"}),ft=gt.rangeStylesDesktop,yt=gt.rangeStylesTab,vt=gt.rangeStylesMobile,ht=YE({controlName:Y_,styleFor:"padding",attributes:t}),wt=ht.dimensionStylesDesktop,kt=ht.dimensionStylesTab,Rt=ht.dimensionStylesMobile,_t=YE({controlName:J_,styleFor:"margin",attributes:t}),Et=_t.dimensionStylesDesktop,Ct=_t.dimensionStylesTab,xt=_t.dimensionStylesMobile,St=$E({controlName:U_,property:"font-size",attributes:t,customUnit:"px"}),Bt=St.rangeStylesDesktop,Tt=St.rangeStylesTab,Nt=St.rangeStylesMobile,Pt=XE({attributes:t,prefixConstant:iE}),Ot=Pt.typoStylesDesktop,Mt=Pt.typoStylesTab,Dt=Pt.typoStylesMobile,jt=JE({attributes:t,controlName:aE,noOverlay:!0,noMainBgi:!0}),It=jt.backgroundStylesDesktop,At=jt.hoverBackgroundStylesDesktop,Lt=jt.bgTransitionStyle,Ft=QE({controlName:oE,attributes:t}),Ht=Ft.styesDesktop,zt=Ft.styesTab,qt=Ft.styesMobile,Ut=Ft.stylesHoverDesktop,Vt=Ft.stylesHoverTab,Wt=Ft.stylesHoverMobile,Gt=$E({controlName:V_,property:"font-size",attributes:t}),Zt=Gt.rangeStylesDesktop,Yt=Gt.rangeStylesTab,Jt=Gt.rangeStylesMobile,Qt=$E({controlName:W_,property:"width",attributes:t}),Xt=Qt.rangeStylesDesktop,$t=Qt.rangeStylesTab,Kt=Qt.rangeStylesMobile,ea=$E({controlName:G_,property:"height",attributes:t}),ta=ea.rangeStylesDesktop,aa=ea.rangeStylesTab,na=ea.rangeStylesMobile,oa=QE({controlName:cE,attributes:t}),ra=oa.styesDesktop,ca=oa.styesTab,la=oa.styesMobile,ia=oa.stylesHoverDesktop,sa=oa.stylesHoverTab,ba=oa.stylesHoverMobile,pa=D||C,ua=XE({attributes:t,prefixConstant:yE}),da=ua.typoStylesDesktop,ma=ua.typoStylesTab,ga=ua.typoStylesMobile,fa=QE({controlName:lE,attributes:t}),ya=fa.styesDesktop,va=fa.stylesHoverDesktop,ha="\n\t\t  .eb-pricing-wrapper.".concat(o," .eb-pricing {\n\t\t\t  text-align: ").concat(C,";\n\t\t\t  ").concat("ribbon-4"===x?"overflow: hidden;":"","\n\t\t  }\n\n\t\t  .eb-pricing-wrapper.").concat(o,' .eb-pricing .eb-pricing-item.ribbon-1::before {\n\t\t\t  content: "";\n\t\t\t  color: ').concat(B,";\n\t\t\t  background: ").concat(T,";\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing.style-4 .eb-pricing-top {\n\t\t\tbackground-color: ").concat(j,";\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item.ribbon-2::before,\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item.ribbon-3::before,\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item.ribbon-4::before {\n\t\t\t  ").concat(da,"\n\t\t\t  ").concat(ya,'\n\t\t\t  content: "').concat(S,'";\n\t\t\t  color: ').concat(B,";\n\t\t\t  background: ").concat(T,";\n\t\t\t  text-align: center;\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing:hover .eb-pricing-item.ribbon-2::before,\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing:hover .eb-pricing-item.ribbon-3::before,\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing:hover .eb-pricing-item.ribbon-4::before {\n\t\t\t  ").concat(va,"\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item.ribbon-2::after {\n\t\t\t  border-bottom: 15px solid ").concat(T,";\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item {\n\t\t\t  ").concat(A,"\n\t\t\t  ").concat(z,"\n\t\t\t  ").concat(W,"\n\t\t\t  ").concat(ce,"\n\t\t\t  transition: ").concat(ne,", ").concat(ue,";\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing-item-overlay::before  {\n\t\t\t  ").concat(X,"\n\t\t\t  transition: ").concat(oe,";\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item:hover {\n\t\t\t  ").concat(G,"\n\t\t\t  ").concat(se,"\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item:hover .eb-pricing-item-overlay:before {\n\t\t\t  ").concat($,"\n\t\t  }\n\t\t  .eb-pricing-wrapper.eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-header {\n\t\t\t  ").concat(Re,"\n\t\t\t  ").concat(xe,"\n\t\t\t  background: ").concat(p||("style-2"===r?"#c8e6c9":"none"),";\n\t\t\t  position: relative;\n\t\t\t  z-index: 0;\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-header .eb-pricing-title {\n\t\t\t  ").concat(me,"\n\t\t\t  color: ").concat(u,";\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-header .eb-pricing-subtitle {\n\t\t\t  ").concat(ve,"\n\t\t\t  color: ").concat(m,";\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-tag .original-price {\n\t\t\t  ").concat(Ne,"\n\t\t\t  color: ").concat(g,";\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-tag .original-price .price-currency {\n\t\t\t  ").concat(De,"\n\t\t\t  ").concat(Le,"\n\t\t\t  color: ").concat(f,";\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-tag .price-period {\n\t\t\t  ").concat(qe,"\n\t\t\t  color: ").concat(y,";\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-tag .sale-price {\n\t\t\t  ").concat(Ge,"\n\t\t\t  color: ").concat(l,";\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-tag .sale-price .price-currency {\n\t\t\t  ").concat(Qe,"\n\t\t\t  ").concat(et,"\n\t\t\t  color: ").concat(i,";\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-body ul li, .").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-body ul li a {\n\t\t\t  ").concat(ot,"\n\t\t\t  color: ").concat(b||"#6d6d6d",";\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-body ul li .eb-pricebox-icon {\n\t\t\t  ").concat(it,"\n\t\t\t  margin-right: 8px;\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button-wrapper {\n\t\t\t  ").concat(Et,"\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button {\n\t\t\t  ").concat(wt,"\n\t\t\t  ").concat(Ot,"\n\t\t\t  ").concat(It,"\n\t\t\t  ").concat(Ht,"\n\t\t\t  color: ").concat(v,";\n\t\t\t  transition: ").concat(Lt,";\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button:hover {\n\t\t\t  ").concat(Ut,"\n\t\t\t  ").concat(At,"\n\t\t\t  color: ").concat(h,";\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button i {\n\t\t\t  ").concat("left"===s?ut:ft,"\n\t\t\t  ").concat(Bt,"\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-icon {\n\t\t\t  display: flex;\n\t\t\t  align-items: center;\n\t\t\t  justify-content: ").concat("left"===pa?"flex-start":"right"===pa?"flex-end":"center",";\n\t\t  }\n\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-icon .icon {\n\t\t\t  display: flex;\n\t\t\t  align-items: center;\n\t\t\t  justify-content: center;\n\t\t\t  ").concat(Xt,"\n\t\t\t  ").concat(ta,"\n\t\t\t  ").concat(ra,"\n\t\t\t  ").concat(R?"background-color: "+w+";":"background-color: transparent;","\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item:hover .eb-pricing-icon .icon {\n\t\t\t  ").concat(ia,"\n\t\t\t  ").concat(R?"background-color: "+k+";":"background-color: transparent;","\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-icon .icon {\n\t\t\t  ").concat(Zt,"\n\t\t\t  color: ").concat(_,";\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item:hover .eb-pricing-icon .icon {\n\t\t\t  color: ").concat(E,";\n\t\t  }\n\n\t\t  ").concat(N?".eb-pricing-wrapper.".concat(o," .eb-pricing-body {\n\t\t\t\t  text-align: ").concat(N,";\n\t\t\t  }"):"","\n\n\t\t  ").concat(P?".eb-pricing-wrapper.".concat(o," .eb-pricing-footer {\n\t\t\t\t  text-align: ").concat(P,";\n\t\t\t  }"):"","\n\n\t\t  ").concat(O?".eb-pricing-wrapper.".concat(o," .eb-pricing-header {\n\t\t\t\t  text-align: ").concat(O,";\n\t\t\t  }"):"","\n\n\t\t  ").concat(M?".eb-pricing-wrapper.".concat(o," .eb-pricing-tag {\n\t\t\t\t  text-align: ").concat(M,";\n\t\t\t  }"):"","\n\n\t  "),wa="\n\t\t  .eb-pricing-wrapper.".concat(o," .eb-pricing .eb-pricing-item.ribbon-2::before,\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item.ribbon-3::before,\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item.ribbon-4::before {\n\t\t\t  ").concat(ma,"\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item {\n\t\t\t  ").concat(L,"\n\t\t\t  ").concat(q,"\n\t\t\t  ").concat(Z,"\n\t\t\t  ").concat(le,"\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing-item-overlay:before {\n\t\t\t  ").concat(K,"\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item:hover {\n\t\t\t  ").concat(Y,"\n\t\t\t  ").concat(be,"\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing-item:hover .eb-pricing-item-overlay:before {\n\t\t\t  ").concat(ee,"\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-header {\n\t\t\t  ").concat(_e,"\n\t\t\t  ").concat(Se,"\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-header .eb-pricing-title {\n\t\t\t  ").concat(ge,"\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-header .eb-pricing-subtitle {\n\t\t\t  ").concat(he,"\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-tag .original-price {\n\t\t\t  ").concat(Pe,"\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-tag .original-price .price-currency {\n\t\t\t  ").concat(je,"\n\t\t\t  ").concat(Fe,"\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-tag .price-period {\n\t\t\t  ").concat(Ue,"\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-tag .sale-price {\n\t\t\t  ").concat(Ze,"\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-tag .sale-price .price-currency {\n\t\t\t  ").concat(Xe,"\n\t\t\t  ").concat(tt,"\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-body ul li {\n\t\t\t  ").concat(rt,"\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-body ul li .eb-pricebox-icon {\n\t\t\t  ").concat(st,"\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button-wrapper {\n\t\t\t  ").concat(Ct,"\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button {\n\t\t\t  ").concat(kt,"\n\t\t\t  ").concat(Mt,"\n\t\t\t  ").concat(zt,"\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button:hover {\n\t\t\t  ").concat(Vt,"\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button i {\n\t\t\t  ").concat("left"===s?dt:yt,"\n\t\t\t  ").concat(Tt,"\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-icon .icon {\n\t\t\t  ").concat($t,"\n\t\t\t  ").concat(aa,"\n\t\t\t  ").concat(ca,"\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-icon .icon:hover {\n\t\t\t  ").concat(sa,"\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-icon .icon {\n\t\t\t  ").concat(Yt,"\n\t\t  }\n\t  "),ka="\n\t\t  .eb-pricing-wrapper.".concat(o," .eb-pricing .eb-pricing-item.ribbon-2::before,\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item.ribbon-3::before,\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item.ribbon-4::before {\n\t\t\t  ").concat(ga,"\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item {\n\t\t\t  ").concat(F,"\n\t\t\t  ").concat(U,"\n\t\t\t  ").concat(J,"\n\t\t\t  ").concat(ie,"\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing-item-overlay:before {\n\t\t\t  ").concat(te,"\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item:hover {\n\t\t\t  ").concat(Q,"\n\t\t\t  ").concat(pe,"\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing-item:hover .eb-pricing-item-overlay:before {\n\t\t\t  ").concat(ae,"\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-header {\n\t\t\t  ").concat(Ee,"\n\t\t\t  ").concat(Be,"\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-header .eb-pricing-title {\n\t\t\t  ").concat(fe,"\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-header .eb-pricing-subtitle {\n\t\t\t  ").concat(we,"\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-tag .original-price {\n\t\t\t  ").concat(Oe,"\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-tag .original-price .price-currency {\n\t\t\t  ").concat(Ie,"\n\t\t\t  ").concat(He,"\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-tag .price-period {\n\t\t\t  ").concat(Ve,"\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-tag .sale-price {\n\t\t\t  ").concat(Ye,"\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-tag .sale-price .price-currency {\n\t\t\t  ").concat($e,"\n\t\t\t  ").concat(at,"\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-body ul li {\n\t\t\t  ").concat(ct,"\n\t\t  }\n\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-body ul li .eb-pricebox-icon {\n\t\t\t  ").concat(bt,"\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button-wrapper {\n\t\t\t  ").concat(xt,"\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button {\n\t\t\t  ").concat(Rt,"\n\t\t\t  ").concat(Dt,"\n\t\t\t  ").concat(qt,"\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button:hover {\n\t\t\t  ").concat(Wt,"\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button i {\n\t\t\t  ").concat("left"===s?mt:vt,"\n\t\t\t  ").concat(Nt,"\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-icon .icon {\n\t\t\t  ").concat(Kt,"\n\t\t\t  ").concat(na,"\n\t\t\t  ").concat(la,"\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-icon .icon:hover {\n\t\t\t  ").concat(ba,"\n\t\t  }\n\t\t  .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-icon .icon {\n\t\t\t  ").concat(Jt,"\n\t\t  }\n\t  "),Ra="",_a="left"===O?"margin: 0 !important;":"right"===O?"margin: 0 0 0 auto !important;":"margin: 0 auto !important;",Ea="left"===O?"transform: translateX(-80%) !important;":"right"===O?"transform: translateX(80%) !important;":"margin: 0 auto !important;",Ca="left"===M?"margin: 0 !important;":"right"===M?"margin: 0 0 0 auto !important;":"margin: 0 auto !important;";c&&(Ra="\n\t\t  .".concat(o,' .eb-pricing .eb-pricing-item .eb-pricing-header::after {\n\t\t\t  content: "";\n\t\t\t  position: absolute;\n\t\t\t  width: 140px;\n\t\t\t  height: 1px;\n\t\t\t  bottom: 0px;\n\t\t\t  left: 0px;\n\t\t\t  right: 0px;\n\t\t\t  margin: 0 auto;\n\t\t\t  z-index: 1;\n\t\t\t  background-color: ').concat(d,";\n\t\t  }\n\t\t  .").concat(o,".eb-pricing-content-left .eb-pricing-item .eb-pricing-header::after,\n\t\t  .").concat(o,".eb-pricing-content-left .eb-pricing-item .eb-pricing-tag::after {\n\t\t\t  margin: 0;\n\t\t  }\n\t\t  .").concat(o,".eb-pricing-content-right .eb-pricing-item .eb-pricing-header::after,\n\t\t  .").concat(o,".eb-pricing-content-right .eb-pricing-item .eb-pricing-tag::after {\n\t\t\t  margin: 0 0 0 auto;\n\t\t  }\n\t\t  ").concat(O?".".concat(o," .eb-pricing .eb-pricing-item .eb-pricing-header::after {\n\t\t\t\t\t\t\t ").concat(_a,"\n\t\t\t\t\t\t }"):"","\n\n\t\t ").concat(M?".".concat(o," .eb-pricing .eb-pricing-item .eb-pricing-tag::after {\n\t\t\t\t\t\t ").concat(Ca,"\n\t\t\t\t\t }"):"","\n\n\t\t  .").concat(o,".eb-pricing-content-left .eb-pricing.style-3 .eb-pricing-item .eb-pricing-header:after, .").concat(o,".eb-pricing-content-left .eb-pricing.style-3 .eb-pricing-item .eb-pricing-tag:after {\n\t\t\t  transform: translateX(-80%);\n\t\t  }\n\t\t  .").concat(o,".eb-pricing-content-right .eb-pricing.style-3 .eb-pricing-item .eb-pricing-header:after, .").concat(o,".eb-pricing-content-right .eb-pricing.style-3 .eb-pricing-item .eb-pricing-tag:after {\n\t\t\t  transform: translateX(80%);\n\t\t  }\n\t\t  ").concat(O?".".concat(o," .eb-pricing.style-3 .eb-pricing-item .eb-pricing-header::after {\n\t\t\t\t\t\t\t ").concat(Ea,"\n\t\t\t\t\t\t }"):"",'\n\t\t  .eb-pricing.style-3 .eb-pricing-item .eb-pricing-header:after {\n\t\t\t  position: absolute;\n\t\t\t  content: "";\n\t\t\t  width: 100%;\n\t\t\t  height: 1px;\n\t\t\t  bottom: 0px;\n\t\t\t  left: 0px;\n\t\t\t  right: 0px;\n\t\t\t  margin: 0 auto;\n\t\t\t  z-index: 1;\n\t\t\t  -webkit-transition: 1s;\n\t\t\t  -o-transition: 1s;\n\t\t\t  transition: 1s;\n\t\t\t  -webkit-transform: scaleX(0.4);\n\t\t\t  -ms-transform: scaleX(0.4);\n\t\t\t  transform: scaleX(0.4);\n\t\t  }\n\t\t  .eb-pricing.style-3 .eb-pricing-item:hover .header:after,\n\t\t  .eb-pricing.style-3 .eb-pricing-item:hover .eb-pricing-header:after {\n\t\t\t  -webkit-transform: scaleX(1);\n\t\t\t  -ms-transform: scaleX(1);\n\t\t\t  transform: scaleX(1) !important;\n\t\t  }\n\t  '));var xa=ZE("\n\t\t  ".concat(ha,"\n\t\t  ").concat(Ra,"\n\t  ")),Sa=ZE("\n\t\t  ".concat(wa,"\n\t  ")),Ba=ZE("\n\t\t  ".concat(ka,"\n\t  "));return React.createElement(React.Fragment,null,React.createElement(KE,{attributes:t,setAttributes:a,desktopAllStyles:xa,tabAllStyles:Sa,mobileAllStyles:Ba,blockName:n}))}var tC=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"60",fill:"none",viewBox:"0 0 60 60"},React.createElement("path",{fill:"#6C3BFF",d:"M22.5 7.5c-1.425 0-2.55.975-2.925 2.25H10.5c-1.65 0-3 1.35-3 3v34.5c0 1.65 1.35 3 3 3h.75c.45 0 .75-.3.75-.75s-.3-.75-.75-.75h-.75c-.825 0-1.5-.675-1.5-1.5v-34.5c0-.825.675-1.5 1.5-1.5h9v5.25h-6.75V18h6.75v3h-6.75v1.5h6.75v9h-3V33h3v3h-3v1.5h3v12c0 1.65 1.35 3 3 3H24c.45 0 .75-.3.75-.75S24.45 51 24 51h-1.5c-.825 0-1.5-.675-1.5-1.5v-39c0-.825.675-1.5 1.5-1.5h15c.825 0 1.5.675 1.5 1.5v39c0 .825-.675 1.5-1.5 1.5H36c-.45 0-.75.3-.75.75s.3.75.75.75h1.5c1.65 0 3-1.35 3-3V42h6.75v-1.5H40.5v-3h6.75V36H40.5v-3h6.75v-1.5H40.5v-9h6.75V21H40.5v-3h6.75v-1.5H40.5v-5.25h9c.825 0 1.5.675 1.5 1.5v34.5c0 .825-.675 1.5-1.5 1.5h-.75c-.45 0-.75.3-.75.75s.3.75.75.75h.75c1.65 0 3-1.35 3-3v-34.5c0-1.65-1.35-3-3-3h-9.075c-.3-1.275-1.5-2.25-2.925-2.25h-15zM24 15v1.5h12V15H24zm0 4.5V21h12v-1.5H24zm.75 10.5c-.45 0-.75.3-.75.75s.3.75.75.75.75-.3.75-.75-.3-.75-.75-.75zm3 0v1.5H36V30h-8.25zM13.5 31.5c-.45 0-.75.3-.75.75s.3.75.75.75.75-.3.75-.75-.3-.75-.75-.75zm11.25 3c-.45 0-.75.3-.75.75s.3.75.75.75.75-.3.75-.75-.3-.75-.75-.75zm3 0V36H36v-1.5h-8.25zM13.5 36c-.45 0-.75.3-.75.75s.3.75.75.75.75-.3.75-.75-.3-.75-.75-.75zm11.25 3c-.45 0-.75.3-.75.75s.3.75.75.75.75-.3.75-.75-.3-.75-.75-.75zm3 0v1.5H36V39h-8.25zm-3 4.5c-.45 0-.75.3-.75.75s.3.75.75.75.75-.3.75-.75-.3-.75-.75-.75zm3 0V45H36v-1.5h-8.25zm-13.5 5.25c-.45 0-.75.3-.75.75s.3.75.75.75.75-.3.75-.75-.3-.75-.75-.75zm3 0c-.45 0-.75.3-.75.75s.3.75.75.75.75-.3.75-.75-.3-.75-.75-.75zm25.5 0c-.45 0-.75.3-.75.75s.3.75.75.75.75-.3.75-.75-.3-.75-.75-.75zm3 0c-.45 0-.75.3-.75.75s.3.75.75.75.75-.3.75-.75-.3-.75-.75-.75zM27 51c-.45 0-.75.3-.75.75s.3.75.75.75.75-.3.75-.75-.3-.75-.75-.75zm3 0c-.45 0-.75.3-.75.75s.3.75.75.75.75-.3.75-.75-.3-.75-.75-.75zm3 0c-.45 0-.75.3-.75.75s.3.75.75.75.75-.3.75-.75-.3-.75-.75-.75z"}))},aC=[{title:"Prestige Layout",content:'\x3c!-- wp:essential-blocks/pricing-table {"blockId":"eb-pricing-iqk68","blockMeta":{"desktop":".eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing { text-align:center }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item.ribbon-1::before { content:\\u0022\\u0022; color:var(\\u002d\\u002deb-global-button-text-color); background:var(\\u002d\\u002deb-global-button-background-color) }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing.style-4 .eb-pricing-top { background-color:#7967ff }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item.ribbon-2::before,.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item.ribbon-3::before,.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item.ribbon-4::before { content:\\u0022featured\\u0022; color:var(\\u002d\\u002deb-global-button-text-color); background:var(\\u002d\\u002deb-global-button-background-color); text-align:center }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item.ribbon-2::after { border-bottom:15px solid var(\\u002d\\u002deb-global-button-background-color) }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item { transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing-item-overlay::before { transition:background 0.5s, opacity 0.5s, filter 0.5s }.eb-pricing-wrapper.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-header { background:none; position:relative; z-index:0 }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-header .eb-pricing-title { font-size:28px; color:var(\\u002d\\u002deb-global-heading-color) }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-header .eb-pricing-subtitle { color:var(\\u002d\\u002deb-global-text-color) }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-tag .original-price { color:var(\\u002d\\u002deb-global-primary-color) }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-tag .original-price .price-currency { color:var(\\u002d\\u002deb-global-primary-color) }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-tag .price-period { color:var(\\u002d\\u002deb-global-text-color) }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-tag .sale-price { color:var(\\u002d\\u002deb-global-primary-color) }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-tag .sale-price .price-currency { color:var(\\u002d\\u002deb-global-primary-color) }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-body ul li, .eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-body ul li a { color:var(\\u002d\\u002deb-global-text-color) }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-body ul li .eb-pricebox-icon { font-size:20px; margin-right:8px }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button { background-color:var(\\u002d\\u002deb-global-button-background-color); color:var(\\u002d\\u002deb-global-button-text-color); transition:background 0.5s }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button:hover { background-color:var(\\u002d\\u002deb-global-tertiary-color); color:var(\\u002d\\u002deb-global-button-text-color) }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button i { font-size:20px }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-icon { display:flex; align-items:center; justify-content:center }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-icon .icon { display:flex; align-items:center; justify-content:center; width:80px; height:80px }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-icon .icon { font-size:30px; color:var(\\u002d\\u002deb-global-primary-color) }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item:hover .eb-pricing-icon .icon { color:var(\\u002d\\u002deb-global-primary-color) }.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-header::after { content:\\u0022\\u0022; position:absolute; width:140px; height:1px; bottom:0px; left:0px; right:0px; margin:0 auto; z-index:1; background-color:var(\\u002d\\u002deb-global-primary-color) }.eb-pricing-iqk68.eb-pricing-content-left .eb-pricing-item .eb-pricing-header::after,.eb-pricing-iqk68.eb-pricing-content-left .eb-pricing-item .eb-pricing-tag::after { margin:0 }.eb-pricing-iqk68.eb-pricing-content-right .eb-pricing-item .eb-pricing-header::after,.eb-pricing-iqk68.eb-pricing-content-right .eb-pricing-item .eb-pricing-tag::after { margin:0 0 0 auto }.eb-pricing-iqk68.eb-pricing-content-left .eb-pricing.style-3 .eb-pricing-item .eb-pricing-header:after, .eb-pricing-iqk68.eb-pricing-content-left .eb-pricing.style-3 .eb-pricing-item .eb-pricing-tag:after { transform:translateX(-80%) }.eb-pricing-iqk68.eb-pricing-content-right .eb-pricing.style-3 .eb-pricing-item .eb-pricing-header:after, .eb-pricing-iqk68.eb-pricing-content-right .eb-pricing.style-3 .eb-pricing-item .eb-pricing-tag:after { transform:translateX(80%) }.eb-pricing.style-3 .eb-pricing-item .eb-pricing-header:after { position:absolute; content:\\u0022\\u0022; width:100%; height:1px; bottom:0px; left:0px; right:0px; margin:0 auto; z-index:1; -webkit-transition:1s; -o-transition:1s; transition:1s; -webkit-transform:scaleX(0.4); -ms-transform:scaleX(0.4); transform:scaleX(0.4) }.eb-pricing.style-3 .eb-pricing-item:hover .header:after,.eb-pricing.style-3 .eb-pricing-item:hover .eb-pricing-header:after { -webkit-transform:scaleX(1); -ms-transform:scaleX(1); transform:scaleX(1) !important }","tab":"","mobile":""},"commonStyles":{"desktop":".wp-admin .eb-parent-eb-pricing-iqk68 { display:block; opacity:1 }.eb-parent-eb-pricing-iqk68 { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-pricing-iqk68 { display:block; opacity:1 }.eb-parent-eb-pricing-iqk68 { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-pricing-iqk68 { display:block; opacity:1 }.eb-parent-eb-pricing-iqk68 { display:block }"}} --\x3e\n<div class="wp-block-essential-blocks-pricing-table"><div class="eb-parent-wrapper eb-parent-eb-pricing-iqk68 "><div class="eb-pricing-iqk68 eb-pricing-wrapper eb-pricing-content-center"><div class="eb-pricing style-1"><div class="eb-pricing-item"><div class="eb-pricing-item-overlay"></div><div class="eb-pricing-header"><h2 class="eb-pricing-title">Startup</h2></div><div class="eb-pricing-tag"><span class="price-tag"><span class="original-price" data-price="99"><span class="price-currency">$</span>99</span></span><span class="price-period" data-period-separator="/" data-price-period="month">/ month</span></div><div class="eb-pricing-body"><ul class="eb-pricebox-features "><li class="eb-pricebox-feature-item" data-icon="fas fa-check" data-color="var(--eb-global-primary-color)" data-clickable="false" data-link=""><i class="fas fa-check eb-pricebox-icon" icon="fas fa-check"></i><span class="eb-pricebox-feature-text">Unlimited Calls</span></li><li class="eb-pricebox-feature-item" data-icon="fas fa-check" data-color="var(--eb-global-primary-color)" data-clickable="false" data-link=""><i class="fas fa-check eb-pricebox-icon" icon="fas fa-check"></i><span class="eb-pricebox-feature-text">Free Hosting</span></li><li class="eb-pricebox-feature-item" data-icon="fas fa-check" data-color="var(--eb-global-primary-color)" data-clickable="false" data-link=""><i class="fas fa-check eb-pricebox-icon" icon="fas fa-check"></i><span class="eb-pricebox-feature-text">500MB Free Storage</span></li><li class="eb-pricebox-feature-item" data-icon="fas fa-check" data-color="var(--eb-global-primary-color)" data-clickable="false" data-link=""><i class="fas fa-check eb-pricebox-icon" icon="fas fa-check"></i><span class="eb-pricebox-feature-text">24/7 Support</span></li></ul></div><div class="eb-pricing-footer"><div class="eb-pricing-button-wrapper"><a href="#" class="eb-pricing-button"><span class="eb-button-text">Choose Plan</span></a></div></div></div></div></div></div></div>\n\x3c!-- /wp:essential-blocks/pricing-table --\x3e'},{title:"Regal Layout",content:'\x3c!-- wp:essential-blocks/pricing-table {"blockId":"eb-pricing-iqk68","blockMeta":{"desktop":".eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing { text-align:center }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item.ribbon-1::before { content:\\u0022\\u0022; color:var(\\u002d\\u002deb-global-button-text-color); background:#00c853 }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing.style-4 .eb-pricing-top { background-color:#7967ff }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item.ribbon-2::before,.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item.ribbon-3::before,.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item.ribbon-4::before { content:\\u0022featured\\u0022; color:var(\\u002d\\u002deb-global-button-text-color); background:#00c853; text-align:center }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item.ribbon-2::after { border-bottom:15px solid #00c853 }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item { transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing-item-overlay::before { transition:background 0.5s, opacity 0.5s, filter 0.5s }.eb-pricing-wrapper.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-header { background:#c8e6c9; position:relative; z-index:0 }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-header .eb-pricing-title { font-size:28px; color:#000000 }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-header .eb-pricing-subtitle { color:var(\\u002d\\u002deb-global-text-color) }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-tag .original-price { color:#000000 }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-tag .original-price .price-currency { color:#000000 }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-tag .price-period { color:#999999 }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-tag .sale-price { color:var(\\u002d\\u002deb-global-primary-color) }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-tag .sale-price .price-currency { color:var(\\u002d\\u002deb-global-primary-color) }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-body ul li, .eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-body ul li a { color:var(\\u002d\\u002deb-global-text-color) }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-body ul li .eb-pricebox-icon { font-size:20px; margin-right:8px }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button { background-color:#00c853; color:var(\\u002d\\u002deb-global-button-text-color); transition:background 0.5s }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button:hover { background-color:var(\\u002d\\u002deb-global-tertiary-color); color:var(\\u002d\\u002deb-global-button-text-color) }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button i { font-size:20px }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-icon { display:flex; align-items:center; justify-content:center }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-icon .icon { display:flex; align-items:center; justify-content:center; width:80px; height:80px }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-icon .icon { font-size:30px; color:#000000 }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item:hover .eb-pricing-icon .icon { color:#000000 }","tab":"","mobile":""},"pricingStyle":"style-2","showSubtitle":true,"showHeaderIcon":true,"showTitleLine":false,"titleTextColor":"#000000","iconColor":"#000000","iconHoverColor":"#000000","priceTextColor":"#000000","priceCurrencyTextColor":"#000000","pricingPeriodTextColor":"#999999","ribbonBackgroundColor":"#00c853","btnBgbackgroundColor":"#00c853","commonStyles":{"desktop":".wp-admin .eb-parent-eb-pricing-iqk68 { display:block; opacity:1 }.eb-parent-eb-pricing-iqk68 { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-pricing-iqk68 { display:block; opacity:1 }.eb-parent-eb-pricing-iqk68 { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-pricing-iqk68 { display:block; opacity:1 }.eb-parent-eb-pricing-iqk68 { display:block }"}} --\x3e\n<div class="wp-block-essential-blocks-pricing-table"><div class="eb-parent-wrapper eb-parent-eb-pricing-iqk68 "><div class="eb-pricing-iqk68 eb-pricing-wrapper eb-pricing-content-center"><div class="eb-pricing style-2"><div class="eb-pricing-item"><div class="eb-pricing-item-overlay"></div><div class="eb-pricing-icon" data-icon="fas fa-home"><i class="fas fa-home icon" icon="fas fa-home"></i></div><div class="eb-pricing-header"><h2 class="eb-pricing-title">Startup</h2><span class="eb-pricing-subtitle">A tagline here.</span></div><div class="eb-pricing-tag"><span class="price-tag"><span class="original-price" data-price="99"><span class="price-currency">$</span>99</span></span><span class="price-period" data-period-separator="/" data-price-period="month">/ month</span></div><div class="eb-pricing-body"><ul class="eb-pricebox-features "><li class="eb-pricebox-feature-item" data-icon="fas fa-check" data-color="var(--eb-global-primary-color)" data-clickable="false" data-link=""><i class="fas fa-check eb-pricebox-icon" icon="fas fa-check"></i><span class="eb-pricebox-feature-text">Unlimited Calls</span></li><li class="eb-pricebox-feature-item" data-icon="fas fa-check" data-color="var(--eb-global-primary-color)" data-clickable="false" data-link=""><i class="fas fa-check eb-pricebox-icon" icon="fas fa-check"></i><span class="eb-pricebox-feature-text">Free Hosting</span></li><li class="eb-pricebox-feature-item" data-icon="fas fa-check" data-color="var(--eb-global-primary-color)" data-clickable="false" data-link=""><i class="fas fa-check eb-pricebox-icon" icon="fas fa-check"></i><span class="eb-pricebox-feature-text">500MB Free Storage</span></li><li class="eb-pricebox-feature-item" data-icon="fas fa-check" data-color="var(--eb-global-primary-color)" data-clickable="false" data-link=""><i class="fas fa-check eb-pricebox-icon" icon="fas fa-check"></i><span class="eb-pricebox-feature-text">24/7 Support</span></li></ul></div><div class="eb-pricing-footer"><div class="eb-pricing-button-wrapper"><a href="#" class="eb-pricing-button"><span class="eb-button-text">Choose Plan</span></a></div></div></div></div></div></div></div>\n\x3c!-- /wp:essential-blocks/pricing-table --\x3e'},{title:"Supreme Layout",content:'\x3c!-- wp:essential-blocks/pricing-table {"blockId":"eb-pricing-5gnx5","blockMeta":{"desktop":".eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing { text-align:center }.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item.ribbon-1::before { content:\\u0022\\u0022; color:var(\\u002d\\u002deb-global-button-text-color); background:#00c853 }.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing.style-4 .eb-pricing-top { background-color:#7967ff }.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item.ribbon-2::before,.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item.ribbon-3::before,.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item.ribbon-4::before { content:\\u0022featured\\u0022; color:var(\\u002d\\u002deb-global-button-text-color); background:#00c853; text-align:center }.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item.ribbon-2::after { border-bottom:15px solid #00c853 }.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item { background-color:rgba(1,1,1,1); transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing-item-overlay::before { transition:background 0.5s, opacity 0.5s, filter 0.5s }.eb-pricing-wrapper.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item .eb-pricing-header { background:none; position:relative; z-index:0 }.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item .eb-pricing-header .eb-pricing-title { font-size:28px; color:#fff }.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item .eb-pricing-header .eb-pricing-subtitle { color:var(\\u002d\\u002deb-global-text-color) }.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item .eb-pricing-tag .original-price { color:#fff }.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item .eb-pricing-tag .original-price .price-currency { color:#fff }.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item .eb-pricing-tag .price-period { color:#999999 }.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item .eb-pricing-tag .sale-price { color:var(\\u002d\\u002deb-global-primary-color) }.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item .eb-pricing-tag .sale-price .price-currency { color:var(\\u002d\\u002deb-global-primary-color) }.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item .eb-pricing-body ul li, .eb-pricing-5gnx5 .eb-pricing .eb-pricing-item .eb-pricing-body ul li a { color:var(\\u002d\\u002deb-global-text-color) }.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item .eb-pricing-body ul li .eb-pricebox-icon { font-size:20px; margin-right:8px }.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button { background-color:#00c853; color:var(\\u002d\\u002deb-global-button-text-color); transition:background 0.5s }.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button:hover { background-color:var(\\u002d\\u002deb-global-tertiary-color); color:var(\\u002d\\u002deb-global-button-text-color) }.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button i { font-size:20px }.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item .eb-pricing-icon { display:flex; align-items:center; justify-content:center }.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item .eb-pricing-icon .icon { display:flex; align-items:center; justify-content:center; width:80px; height:80px }.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item .eb-pricing-icon .icon { font-size:30px; color:#fff }.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item:hover .eb-pricing-icon .icon { color:#fff }.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item .eb-pricing-header::after { content:\\u0022\\u0022; position:absolute; width:140px; height:1px; bottom:0px; left:0px; right:0px; margin:0 auto; z-index:1; background-color:var(\\u002d\\u002deb-global-primary-color) }.eb-pricing-5gnx5.eb-pricing-content-left .eb-pricing-item .eb-pricing-header::after,.eb-pricing-5gnx5.eb-pricing-content-left .eb-pricing-item .eb-pricing-tag::after { margin:0 }.eb-pricing-5gnx5.eb-pricing-content-right .eb-pricing-item .eb-pricing-header::after,.eb-pricing-5gnx5.eb-pricing-content-right .eb-pricing-item .eb-pricing-tag::after { margin:0 0 0 auto }.eb-pricing-5gnx5.eb-pricing-content-left .eb-pricing.style-3 .eb-pricing-item .eb-pricing-header:after, .eb-pricing-5gnx5.eb-pricing-content-left .eb-pricing.style-3 .eb-pricing-item .eb-pricing-tag:after { transform:translateX(-80%) }.eb-pricing-5gnx5.eb-pricing-content-right .eb-pricing.style-3 .eb-pricing-item .eb-pricing-header:after, .eb-pricing-5gnx5.eb-pricing-content-right .eb-pricing.style-3 .eb-pricing-item .eb-pricing-tag:after { transform:translateX(80%) }.eb-pricing.style-3 .eb-pricing-item .eb-pricing-header:after { position:absolute; content:\\u0022\\u0022; width:100%; height:1px; bottom:0px; left:0px; right:0px; margin:0 auto; z-index:1; -webkit-transition:1s; -o-transition:1s; transition:1s; -webkit-transform:scaleX(0.4); -ms-transform:scaleX(0.4); transform:scaleX(0.4) }.eb-pricing.style-3 .eb-pricing-item:hover .header:after,.eb-pricing.style-3 .eb-pricing-item:hover .eb-pricing-header:after { -webkit-transform:scaleX(1); -ms-transform:scaleX(1); transform:scaleX(1) !important }","tab":"","mobile":""},"pricingStyle":"style-3","titleTextColor":"#fff","iconColor":"#fff","iconHoverColor":"#fff","priceTextColor":"#fff","priceCurrencyTextColor":"#fff","pricingPeriodTextColor":"#999999","ribbonBackgroundColor":"#00c853","btnBgbackgroundColor":"#00c853","priceTableBgbackgroundColor":"rgba(1,1,1,1)","commonStyles":{"desktop":".wp-admin .eb-parent-eb-pricing-5gnx5 { display:block; opacity:1 }.eb-parent-eb-pricing-5gnx5 { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-pricing-5gnx5 { display:block; opacity:1 }.eb-parent-eb-pricing-5gnx5 { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-pricing-5gnx5 { display:block; opacity:1 }.eb-parent-eb-pricing-5gnx5 { display:block }"}} --\x3e\n<div class="wp-block-essential-blocks-pricing-table"><div class="eb-parent-wrapper eb-parent-eb-pricing-5gnx5 "><div class="eb-pricing-5gnx5 eb-pricing-wrapper eb-pricing-content-center"><div class="eb-pricing style-3"><div class="eb-pricing-item"><div class="eb-pricing-item-overlay"></div><div class="eb-pricing-header"><h2 class="eb-pricing-title">Startup</h2></div><div class="eb-pricing-body"><ul class="eb-pricebox-features "><li class="eb-pricebox-feature-item" data-icon="fas fa-check" data-color="rgba(112,111,111,1)" data-clickable="false" data-link=""><i class="fas fa-check eb-pricebox-icon" icon="fas fa-check"></i><span class="eb-pricebox-feature-text">Unlimited Calls</span></li><li class="eb-pricebox-feature-item" data-icon="fas fa-check" data-color="rgba(112,111,111,1)" data-clickable="false" data-link=""><i class="fas fa-check eb-pricebox-icon" icon="fas fa-check"></i><span class="eb-pricebox-feature-text">Free Hosting</span></li><li class="eb-pricebox-feature-item" data-icon="fas fa-check" data-color="rgba(112,111,111,1)" data-clickable="false" data-link=""><i class="fas fa-check eb-pricebox-icon" icon="fas fa-check"></i><span class="eb-pricebox-feature-text">500MB Free Storage</span></li><li class="eb-pricebox-feature-item" data-icon="fas fa-check" data-color="rgba(112,111,111,1)" data-clickable="false" data-link=""><i class="fas fa-check eb-pricebox-icon" icon="fas fa-check"></i><span class="eb-pricebox-feature-text">24/7 Support</span></li></ul></div><div class="eb-pricing-tag"><span class="price-tag"><span class="original-price" data-price="99"><span class="price-currency">$</span>99</span></span><span class="price-period" data-period-separator="/" data-price-period="month">/ month</span></div><div class="eb-pricing-footer"><div class="eb-pricing-button-wrapper"><a href="#" class="eb-pricing-button"><span class="eb-button-text">Choose Plan</span></a></div></div></div></div></div></div></div>\n\x3c!-- /wp:essential-blocks/pricing-table --\x3e'},{title:"Platinum Layout",content:'\x3c!-- wp:essential-blocks/pricing-table {"blockId":"eb-pricing-iqk68","blockMeta":{"desktop":".eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing { text-align:center }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item.ribbon-1::before { content:\\u0022\\u0022; color:var(\\u002d\\u002deb-global-button-text-color); background:#cc5ae7 }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing.style-4 .eb-pricing-top { background-color:#7967ff }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item.ribbon-2::before,.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item.ribbon-3::before,.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item.ribbon-4::before { content:\\u0022featured\\u0022; color:var(\\u002d\\u002deb-global-button-text-color); background:#cc5ae7; text-align:center }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item.ribbon-2::after { border-bottom:15px solid #cc5ae7 }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item { transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing-item-overlay::before { transition:background 0.5s, opacity 0.5s, filter 0.5s }.eb-pricing-wrapper.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-header { background:none; position:relative; z-index:0 }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-header .eb-pricing-title { font-size:28px; color:#ffffff }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-header .eb-pricing-subtitle { color:var(\\u002d\\u002deb-global-text-color) }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-tag .original-price { color:#ffffff }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-tag .original-price .price-currency { color:#ffffff }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-tag .price-period { color:#ffffff }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-tag .sale-price { color:var(\\u002d\\u002deb-global-primary-color) }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-tag .sale-price .price-currency { color:var(\\u002d\\u002deb-global-primary-color) }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-body ul li, .eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-body ul li a { color:var(\\u002d\\u002deb-global-text-color) }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-body ul li .eb-pricebox-icon { font-size:20px; margin-right:8px }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button { background-color:#7967ff; color:var(\\u002d\\u002deb-global-button-text-color); transition:background 0.5s }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button:hover { background-color:var(\\u002d\\u002deb-global-tertiary-color); color:var(\\u002d\\u002deb-global-button-text-color) }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button i { font-size:20px }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-icon { display:flex; align-items:center; justify-content:center }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-icon .icon { display:flex; align-items:center; justify-content:center; width:80px; height:80px }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-icon .icon { font-size:30px; color:#ffffff }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item:hover .eb-pricing-icon .icon { color:#ffffff }.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-header::after { content:\\u0022\\u0022; position:absolute; width:140px; height:1px; bottom:0px; left:0px; right:0px; margin:0 auto; z-index:1; background-color:var(\\u002d\\u002deb-global-primary-color) }.eb-pricing-iqk68.eb-pricing-content-left .eb-pricing-item .eb-pricing-header::after,.eb-pricing-iqk68.eb-pricing-content-left .eb-pricing-item .eb-pricing-tag::after { margin:0 }.eb-pricing-iqk68.eb-pricing-content-right .eb-pricing-item .eb-pricing-header::after,.eb-pricing-iqk68.eb-pricing-content-right .eb-pricing-item .eb-pricing-tag::after { margin:0 0 0 auto }.eb-pricing-iqk68.eb-pricing-content-left .eb-pricing.style-3 .eb-pricing-item .eb-pricing-header:after, .eb-pricing-iqk68.eb-pricing-content-left .eb-pricing.style-3 .eb-pricing-item .eb-pricing-tag:after { transform:translateX(-80%) }.eb-pricing-iqk68.eb-pricing-content-right .eb-pricing.style-3 .eb-pricing-item .eb-pricing-header:after, .eb-pricing-iqk68.eb-pricing-content-right .eb-pricing.style-3 .eb-pricing-item .eb-pricing-tag:after { transform:translateX(80%) }.eb-pricing.style-3 .eb-pricing-item .eb-pricing-header:after { position:absolute; content:\\u0022\\u0022; width:100%; height:1px; bottom:0px; left:0px; right:0px; margin:0 auto; z-index:1; -webkit-transition:1s; -o-transition:1s; transition:1s; -webkit-transform:scaleX(0.4); -ms-transform:scaleX(0.4); transform:scaleX(0.4) }.eb-pricing.style-3 .eb-pricing-item:hover .header:after,.eb-pricing.style-3 .eb-pricing-item:hover .eb-pricing-header:after { -webkit-transform:scaleX(1); -ms-transform:scaleX(1); transform:scaleX(1) !important }","tab":"","mobile":""},"pricingStyle":"style-4","showHeaderIcon":true,"titleTextColor":"#ffffff","iconColor":"#ffffff","iconHoverColor":"#ffffff","priceTextColor":"#ffffff","priceCurrencyTextColor":"#ffffff","pricingPeriodTextColor":"#ffffff","ribbonBackgroundColor":"#cc5ae7","btnBgbackgroundColor":"#7967ff","commonStyles":{"desktop":".wp-admin .eb-parent-eb-pricing-iqk68 { display:block; opacity:1 }.eb-parent-eb-pricing-iqk68 { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-pricing-iqk68 { display:block; opacity:1 }.eb-parent-eb-pricing-iqk68 { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-pricing-iqk68 { display:block; opacity:1 }.eb-parent-eb-pricing-iqk68 { display:block }"}} --\x3e\n<div class="wp-block-essential-blocks-pricing-table"><div class="eb-parent-wrapper eb-parent-eb-pricing-iqk68 "><div class="eb-pricing-iqk68 eb-pricing-wrapper eb-pricing-content-center"><div class="eb-pricing style-4"><div class="eb-pricing-item"><div class="eb-pricing-item-overlay"></div><div class="eb-pricing-top"><div class="eb-pricing-icon" data-icon="fas fa-home"><i class="fas fa-home icon" icon="fas fa-home"></i></div><div class="eb-pricing-tag"><span class="price-tag"><span class="original-price" data-price="99"><span class="price-currency">$</span>99</span></span><span class="price-period" data-period-separator="/" data-price-period="month">/ month</span></div><div class="eb-pricing-header"><h2 class="eb-pricing-title">Startup</h2></div></div><div class="eb-pricing-bottom"><div class="eb-pricing-body"><ul class="eb-pricebox-features "><li class="eb-pricebox-feature-item" data-icon="fas fa-check" data-color="var(--eb-global-primary-color)" data-clickable="false" data-link=""><i class="fas fa-check eb-pricebox-icon" icon="fas fa-check"></i><span class="eb-pricebox-feature-text">Unlimited Calls</span></li><li class="eb-pricebox-feature-item" data-icon="fas fa-check" data-color="var(--eb-global-primary-color)" data-clickable="false" data-link=""><i class="fas fa-check eb-pricebox-icon" icon="fas fa-check"></i><span class="eb-pricebox-feature-text">Free Hosting</span></li><li class="eb-pricebox-feature-item" data-icon="fas fa-check" data-color="var(--eb-global-primary-color)" data-clickable="false" data-link=""><i class="fas fa-check eb-pricebox-icon" icon="fas fa-check"></i><span class="eb-pricebox-feature-text">500MB Free Storage</span></li><li class="eb-pricebox-feature-item" data-icon="fas fa-check" data-color="var(--eb-global-primary-color)" data-clickable="false" data-link=""><i class="fas fa-check eb-pricebox-icon" icon="fas fa-check"></i><span class="eb-pricebox-feature-text">24/7 Support</span></li></ul></div><div class="eb-pricing-footer"><div class="eb-pricing-button-wrapper"><a href="#" class="eb-pricing-button"><span class="eb-button-text">Choose Plan</span></a></div></div></div></div></div></div></div></div>\n\x3c!-- /wp:essential-blocks/pricing-table --\x3e'}];function nC(e){return nC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},nC(e)}function oC(){return oC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},oC.apply(null,arguments)}function rC(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function cC(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?rC(Object(a),!0).forEach((function(t){lC(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):rC(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function lC(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=nC(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=nC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==nC(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var iC=window.EBControls,sC=iC.DynamicInputValueHandler,bC=iC.EBDisplayIcon,pC=iC.sanitizeURL,uC=iC.BlockProps,dC=iC.BrowseTemplate;function mC(e){return mC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mC(e)}function gC(){return gC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},gC.apply(null,arguments)}function fC(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function yC(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?fC(Object(a),!0).forEach((function(t){vC(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):fC(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function vC(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=mC(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=mC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==mC(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var hC=window.EBControls,wC=hC.EBDisplayIcon,kC=hC.sanitizeURL,RC=[{attributes:yC({},(0,lodash.omit)(yC({},BE),["showFeatureIcon"])),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.pricingStyle,o=t.title,r=t.showSubtitle,c=t.subtitle,l=t.showHeaderIcon,i=t.headerIcon,s=t.mainPrice,b=t.showOnSale,p=t.salePrice,u=t.priceCurrency,d=t.currencyPlacement,m=t.pricePeriod,g=t.periodSeparator,f=t.hideFeatures,y=t.features,v=t.showButton,h=t.buttonIcon,w=t.buttonIconPosition,k=t.buttonText,R=t.buttonURL,_=t.contentAlign,E=t.showRibbon,C=t.ribbonStyle,x=t.classHook,S=t.ribbonAlignHorizontal,B=void 0===S?"right":S,T=t.ribbonAlignVertical,N=void 0===T?"top":T,P=t.newWindow,O=t.showFeatureLine,M=void 0===O||O;if(t.showBlockContent){var D=E?" featured ".concat(C):"";return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(x)},React.createElement("div",{className:"".concat(a," eb-pricing-wrapper eb-pricing-content-").concat(_)},React.createElement("div",{className:"eb-pricing ".concat(n)},React.createElement("div",{className:"eb-pricing-item".concat(D).concat(E?"ribbon-1"!==C?" "+B:" "+N:"")},React.createElement("div",{className:"eb-pricing-item-overlay"}),"style-4"==n&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-pricing-top"},l&&React.createElement("div",{className:"eb-pricing-icon","data-icon":i},React.createElement(wC,{className:"icon",icon:i})),React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===b?" line-through":""),"data-price":s},"left"===d&&React.createElement("span",{className:"price-currency"},u),s,"right"===d&&React.createElement("span",{className:"price-currency"},u)),b&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":p},"left"===d&&React.createElement("span",{className:"price-currency"},u),p,"right"===d&&React.createElement("span",{className:"price-currency"},u)))),React.createElement("span",{className:"price-period","data-period-separator":g,"data-price-period":m},g," ",m)),React.createElement("div",{className:"eb-pricing-header"},React.createElement("h2",{className:"eb-pricing-title"},o),r&&React.createElement("span",{className:"eb-pricing-subtitle"},c))),React.createElement("div",{className:"eb-pricing-bottom"},!0!==f&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-pricing-body"},React.createElement("ul",{className:"eb-pricebox-features ".concat(M?"":"no-border")},y.map((function(e,t){var a=e.icon,n=e.text,o=e.color,r=e.clickable,c=e.link;return React.createElement("li",{key:t,className:"eb-pricebox-feature-item","data-icon":a,"data-color":o,"data-clickable":r,"data-link":c},r&&c?React.createElement("a",{href:c},React.createElement(wC,{className:"eb-pricebox-icon",icon:a,style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)):React.createElement(React.Fragment,null,React.createElement(wC,{className:"eb-pricebox-icon",icon:a,style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)))}))))),v&&React.createElement("div",{className:"eb-pricing-footer","data-icon":h},React.createElement("div",{className:"eb-pricing-button-wrapper"},React.createElement("a",gC({href:"#"==R?"":R},P&&{target:"_blank"},{className:"eb-pricing-button"}),"left"===w&&React.createElement(wC,{icon:h}),React.createElement("span",{className:"eb-button-text"},k),"right"===w&&React.createElement(wC,{icon:h})))))),"style-4"!==n&&React.createElement(React.Fragment,null,l&&React.createElement("div",{className:"eb-pricing-icon","data-icon":i},React.createElement(wC,{className:"icon",icon:i})),React.createElement("div",{className:"eb-pricing-header"},React.createElement("h2",{className:"eb-pricing-title"},o),r&&React.createElement("span",{className:"eb-pricing-subtitle"},c)),"style-3"!==n&&React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===b?" line-through":""),"data-price":s},"left"===d&&React.createElement("span",{className:"price-currency"},u),s,"right"===d&&React.createElement("span",{className:"price-currency"},u)),b&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":p},"left"===d&&React.createElement("span",{className:"price-currency"},u),p,"right"===d&&React.createElement("span",{className:"price-currency"},u)))),React.createElement("span",{className:"price-period","data-period-separator":g,"data-price-period":m},g," ",m)),!0!==f&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-pricing-body"},React.createElement("ul",{className:"eb-pricebox-features ".concat(M?"":"no-border")},y.map((function(e,t){var a=e.icon,n=e.text,o=e.color,r=e.clickable,c=e.link;return React.createElement("li",{key:t,className:"eb-pricebox-feature-item","data-icon":a,"data-color":o,"data-clickable":r,"data-link":c},r&&c?React.createElement("a",{href:c},React.createElement(wC,{className:"eb-pricebox-icon",icon:a,style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)):React.createElement(React.Fragment,null,React.createElement(wC,{className:"eb-pricebox-icon",icon:a,style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)))}))))),"style-3"===n&&React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===b?" line-through":""),"data-price":s},"left"===d&&React.createElement("span",{className:"price-currency"},u),s,"right"===d&&React.createElement("span",{className:"price-currency"},u)),b&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":p},"left"===d&&React.createElement("span",{className:"price-currency"},u),p,"right"===d&&React.createElement("span",{className:"price-currency"},u)))),React.createElement("span",{className:"price-period","data-period-separator":g,"data-price-period":m},g," ",m)),v&&React.createElement("div",{className:"eb-pricing-footer","data-icon":h},React.createElement("div",{className:"eb-pricing-button-wrapper"},React.createElement("a",gC({href:"#"==R?"":R},P&&{target:"_blank"},{className:"eb-pricing-button"}),"left"===w&&React.createElement(wC,{icon:h}),React.createElement("span",{className:"eb-button-text"},k),"right"===w&&React.createElement(wC,{icon:h}))))))))))}}},{attributes:yC({},BE),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.pricingStyle,o=t.title,r=t.showSubtitle,c=t.subtitle,l=t.showHeaderIcon,i=t.headerIcon,s=t.mainPrice,b=t.showOnSale,p=t.salePrice,u=t.priceCurrency,d=t.currencyPlacement,m=t.pricePeriod,g=t.periodSeparator,f=t.hideFeatures,y=t.features,v=t.showButton,h=t.buttonIcon,w=t.buttonIconPosition,k=t.buttonText,R=t.buttonURL,_=t.contentAlign,E=t.showRibbon,C=t.ribbonStyle,x=t.classHook,S=t.ribbonAlignHorizontal,B=void 0===S?"right":S,T=t.ribbonAlignVertical,N=void 0===T?"top":T,P=t.newWindow,O=t.showFeatureLine,M=void 0===O||O;if(t.showBlockContent){var D=E?" featured ".concat(C):"";return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(x)},React.createElement("div",{className:"".concat(a," eb-pricing-wrapper eb-pricing-content-").concat(_)},React.createElement("div",{className:"eb-pricing ".concat(n)},React.createElement("div",{className:"eb-pricing-item".concat(D).concat(E?"ribbon-1"!==C?" "+B:" "+N:"")},React.createElement("div",{className:"eb-pricing-item-overlay"}),"style-4"==n&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-pricing-top"},l&&React.createElement("div",{className:"eb-pricing-icon","data-icon":i},React.createElement(wC,{className:"icon",icon:i})),React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===b?" line-through":""),"data-price":s},"left"===d&&React.createElement("span",{className:"price-currency"},u),s,"right"===d&&React.createElement("span",{className:"price-currency"},u)),b&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":p},"left"===d&&React.createElement("span",{className:"price-currency"},u),p,"right"===d&&React.createElement("span",{className:"price-currency"},u)))),React.createElement("span",{className:"price-period","data-period-separator":g,"data-price-period":m},g," ",m)),React.createElement("div",{className:"eb-pricing-header"},React.createElement("h2",{className:"eb-pricing-title"},o),r&&React.createElement("span",{className:"eb-pricing-subtitle"},c))),React.createElement("div",{className:"eb-pricing-bottom"},!0!==f&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-pricing-body"},React.createElement("ul",{className:"eb-pricebox-features ".concat(M?"":"no-border")},y.map((function(e,t){var a=e.icon,n=e.text,o=e.color,r=e.clickable,c=e.link;return React.createElement("li",{key:t,className:"eb-pricebox-feature-item","data-icon":a,"data-color":o,"data-clickable":r,"data-link":c},r&&c?React.createElement("a",{href:c},React.createElement(wC,{className:"eb-pricebox-icon",icon:a,style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)):React.createElement(React.Fragment,null,React.createElement(wC,{className:"eb-pricebox-icon",icon:a,style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)))}))))),v&&React.createElement("div",{className:"eb-pricing-footer","data-icon":h},React.createElement("div",{className:"eb-pricing-button-wrapper"},React.createElement("a",gC({href:"#"==R?"":R},P&&{target:"_blank"},{className:"eb-pricing-button"}),"left"===w&&React.createElement(wC,{icon:h}),React.createElement("span",{className:"eb-button-text"},k),"right"===w&&React.createElement(wC,{icon:h})))))),"style-4"!==n&&React.createElement(React.Fragment,null,l&&React.createElement("div",{className:"eb-pricing-icon","data-icon":i},React.createElement(wC,{className:"icon",icon:i})),React.createElement("div",{className:"eb-pricing-header"},React.createElement("h2",{className:"eb-pricing-title"},o),r&&React.createElement("span",{className:"eb-pricing-subtitle"},c)),"style-3"!==n&&React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===b?" line-through":""),"data-price":s},"left"===d&&React.createElement("span",{className:"price-currency"},u),s,"right"===d&&React.createElement("span",{className:"price-currency"},u)),b&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":p},"left"===d&&React.createElement("span",{className:"price-currency"},u),p,"right"===d&&React.createElement("span",{className:"price-currency"},u)))),React.createElement("span",{className:"price-period","data-period-separator":g,"data-price-period":m},g," ",m)),!0!==f&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-pricing-body"},React.createElement("ul",{className:"eb-pricebox-features ".concat(M?"":"no-border")},y.map((function(e,t){var a=e.icon,n=e.text,o=e.color,r=e.clickable,c=e.link;return React.createElement("li",{key:t,className:"eb-pricebox-feature-item","data-icon":a,"data-color":o,"data-clickable":r,"data-link":c},r&&c?React.createElement("a",{href:c},React.createElement(wC,{className:"eb-pricebox-icon",icon:a,style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)):React.createElement(React.Fragment,null,React.createElement(wC,{className:"eb-pricebox-icon",icon:a,style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)))}))))),"style-3"===n&&React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===b?" line-through":""),"data-price":s},"left"===d&&React.createElement("span",{className:"price-currency"},u),s,"right"===d&&React.createElement("span",{className:"price-currency"},u)),b&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":p},"left"===d&&React.createElement("span",{className:"price-currency"},u),p,"right"===d&&React.createElement("span",{className:"price-currency"},u)))),React.createElement("span",{className:"price-period","data-period-separator":g,"data-price-period":m},g," ",m)),v&&React.createElement("div",{className:"eb-pricing-footer","data-icon":h},React.createElement("div",{className:"eb-pricing-button-wrapper"},React.createElement("a",gC({href:"#"==R?"":R},P&&{target:"_blank"},{className:"eb-pricing-button"}),"left"===w&&React.createElement(wC,{icon:h}),React.createElement("span",{className:"eb-button-text"},k),"right"===w&&React.createElement(wC,{icon:h}))))))))))}}},{attributes:yC({},BE),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.pricingStyle,o=t.title,r=t.showSubtitle,c=t.subtitle,l=t.showHeaderIcon,i=t.headerIcon,s=t.mainPrice,b=t.showOnSale,p=t.salePrice,u=t.priceCurrency,d=t.currencyPlacement,m=t.pricePeriod,g=t.periodSeparator,f=t.hideFeatures,y=t.features,v=t.showButton,h=t.buttonIcon,w=t.buttonIconPosition,k=t.buttonText,R=t.buttonURL,_=t.contentAlign,E=t.showRibbon,C=t.ribbonStyle,x=t.classHook,S=t.ribbonAlignHorizontal,B=void 0===S?"right":S,T=t.ribbonAlignVertical,N=void 0===T?"top":T,P=t.newWindow,O=t.showFeatureLine,M=void 0===O||O,D=E?" featured ".concat(C):"";return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(x)},React.createElement("div",{className:"".concat(a," eb-pricing-wrapper eb-pricing-content-").concat(_)},React.createElement("div",{className:"eb-pricing ".concat(n)},React.createElement("div",{className:"eb-pricing-item".concat(D).concat(E?"ribbon-1"!==C?" "+B:" "+N:"")},React.createElement("div",{className:"eb-pricing-item-overlay"}),"style-4"==n&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-pricing-top"},l&&React.createElement("div",{className:"eb-pricing-icon","data-icon":i},React.createElement(wC,{className:"icon",icon:i})),React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===b?" line-through":""),"data-price":s},"left"===d&&React.createElement("span",{className:"price-currency"},u),s,"right"===d&&React.createElement("span",{className:"price-currency"},u)),b&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":p},"left"===d&&React.createElement("span",{className:"price-currency"},u),p,"right"===d&&React.createElement("span",{className:"price-currency"},u)))),React.createElement("span",{className:"price-period","data-period-separator":g,"data-price-period":m},g," ",m)),React.createElement("div",{className:"eb-pricing-header"},React.createElement("h2",{className:"eb-pricing-title"},o),r&&React.createElement("span",{className:"eb-pricing-subtitle"},c))),React.createElement("div",{className:"eb-pricing-bottom"},!0!==f&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-pricing-body"},React.createElement("ul",{className:"eb-pricebox-features ".concat(M?"":"no-border")},y.map((function(e,t){var a=e.icon,n=e.text,o=e.color,r=e.clickable,c=e.link;return React.createElement("li",{key:t,className:"eb-pricebox-feature-item","data-icon":a,"data-color":o,"data-clickable":r,"data-link":c},r&&c?React.createElement("a",{href:kC(c)},React.createElement(wC,{className:"eb-pricebox-icon",icon:a,style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)):React.createElement(React.Fragment,null,React.createElement(wC,{className:"eb-pricebox-icon",icon:a,style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)))}))))),v&&React.createElement("div",{className:"eb-pricing-footer","data-icon":h},React.createElement("div",{className:"eb-pricing-button-wrapper"},React.createElement("a",gC({href:kC(R)},P&&{target:"_blank"},{className:"eb-pricing-button"}),"left"===w&&React.createElement(wC,{icon:h}),React.createElement("span",{className:"eb-button-text"},k),"right"===w&&React.createElement(wC,{icon:h})))))),"style-4"!==n&&React.createElement(React.Fragment,null,l&&React.createElement("div",{className:"eb-pricing-icon","data-icon":i},React.createElement(wC,{className:"icon",icon:i})),React.createElement("div",{className:"eb-pricing-header"},React.createElement("h2",{className:"eb-pricing-title"},o),r&&React.createElement("span",{className:"eb-pricing-subtitle"},c)),"style-3"!==n&&React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===b?" line-through":""),"data-price":s},"left"===d&&React.createElement("span",{className:"price-currency"},u),s,"right"===d&&React.createElement("span",{className:"price-currency"},u)),b&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":p},"left"===d&&React.createElement("span",{className:"price-currency"},u),p,"right"===d&&React.createElement("span",{className:"price-currency"},u)))),React.createElement("span",{className:"price-period","data-period-separator":g,"data-price-period":m},g," ",m)),!0!==f&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-pricing-body"},React.createElement("ul",{className:"eb-pricebox-features ".concat(M?"":"no-border")},y.map((function(e,t){var a=e.icon,n=e.text,o=e.color,r=e.clickable,c=e.link;return React.createElement("li",{key:t,className:"eb-pricebox-feature-item","data-icon":a,"data-color":o,"data-clickable":r,"data-link":c},r&&c?React.createElement("a",{href:kC(c)},React.createElement(wC,{className:"eb-pricebox-icon",icon:a,style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)):React.createElement(React.Fragment,null,React.createElement(wC,{className:"eb-pricebox-icon",icon:a,style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)))}))))),"style-3"===n&&React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===b?" line-through":""),"data-price":s},"left"===d&&React.createElement("span",{className:"price-currency"},u),s,"right"===d&&React.createElement("span",{className:"price-currency"},u)),b&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":p},"left"===d&&React.createElement("span",{className:"price-currency"},u),p,"right"===d&&React.createElement("span",{className:"price-currency"},u)))),React.createElement("span",{className:"price-period","data-period-separator":g,"data-price-period":m},g," ",m)),v&&React.createElement("div",{className:"eb-pricing-footer","data-icon":h},React.createElement("div",{className:"eb-pricing-button-wrapper"},React.createElement("a",gC({href:kC(R)},P&&{target:"_blank"},{className:"eb-pricing-button"}),"left"===w&&React.createElement(wC,{icon:h}),React.createElement("span",{className:"eb-button-text"},k),"right"===w&&React.createElement(wC,{icon:h}))))))))))}},{attributes:yC({},BE),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.pricingStyle,o=t.title,r=t.showSubtitle,c=t.subtitle,l=t.showHeaderIcon,i=t.headerIcon,s=t.mainPrice,b=t.showOnSale,p=t.salePrice,u=t.priceCurrency,d=t.currencyPlacement,m=t.pricePeriod,g=t.periodSeparator,f=t.hideFeatures,y=t.features,v=t.showButton,h=t.buttonIcon,w=t.buttonIconPosition,k=t.buttonText,R=t.buttonURL,_=t.contentAlign,E=t.showRibbon,C=t.ribbonStyle,x=t.classHook,S=t.ribbonAlignHorizontal,B=void 0===S?"right":S,T=t.ribbonAlignVertical,N=void 0===T?"top":T,P=t.newWindow,O=t.showFeatureLine,M=void 0===O||O,D=E?" featured ".concat(C):"";return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(x)},React.createElement("div",{className:"".concat(a," eb-pricing-wrapper eb-pricing-content-").concat(_)},React.createElement("div",{className:"eb-pricing ".concat(n)},React.createElement("div",{className:"eb-pricing-item".concat(D).concat(E?"ribbon-1"!==C?" "+B:" "+N:"")},React.createElement("div",{className:"eb-pricing-item-overlay"}),"style-4"==n&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-pricing-top"},l&&React.createElement("div",{className:"eb-pricing-icon","data-icon":i},React.createElement(wC,{className:"icon",icon:i})),React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===b?" line-through":""),"data-price":s},"left"===d&&React.createElement("span",{className:"price-currency"},u),s,"right"===d&&React.createElement("span",{className:"price-currency"},u)),b&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":p},"left"===d&&React.createElement("span",{className:"price-currency"},u),p,"right"===d&&React.createElement("span",{className:"price-currency"},u)))),React.createElement("span",{className:"price-period","data-period-separator":g,"data-price-period":m},g," ",m)),React.createElement("div",{className:"eb-pricing-header"},React.createElement("h2",{className:"eb-pricing-title"},o),r&&React.createElement("span",{className:"eb-pricing-subtitle"},c))),React.createElement("div",{className:"eb-pricing-bottom"},!0!==f&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-pricing-body"},React.createElement("ul",{className:"eb-pricebox-features ".concat(M?"":"no-border")},y.map((function(e,t){var a=e.icon,n=e.text,o=e.color,r=e.clickable,c=e.link;return React.createElement("li",{key:t,className:"eb-pricebox-feature-item","data-icon":a,"data-color":o,"data-clickable":r,"data-link":c},r&&c?React.createElement("a",{href:kC(c)},React.createElement(wC,{className:"eb-pricebox-icon",icon:a}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)):React.createElement(React.Fragment,null,React.createElement(wC,{className:"eb-pricebox-icon",icon:a}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)))}))))),v&&React.createElement("div",{className:"eb-pricing-footer","data-icon":h},React.createElement("div",{className:"eb-pricing-button-wrapper"},React.createElement("a",gC({href:kC(R)},P&&{target:"_blank"},{className:"eb-pricing-button"}),"left"===w&&React.createElement(wC,{icon:h}),React.createElement("span",{className:"eb-button-text"},k),"right"===w&&React.createElement(wC,{icon:h})))))),"style-4"!==n&&React.createElement(React.Fragment,null,l&&React.createElement("div",{className:"eb-pricing-icon","data-icon":i},React.createElement(wC,{className:"icon",icon:i})),React.createElement("div",{className:"eb-pricing-header"},React.createElement("h2",{className:"eb-pricing-title"},o),r&&React.createElement("span",{className:"eb-pricing-subtitle"},c)),"style-3"!==n&&React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===b?" line-through":""),"data-price":s},"left"===d&&React.createElement("span",{className:"price-currency"},u),s,"right"===d&&React.createElement("span",{className:"price-currency"},u)),b&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":p},"left"===d&&React.createElement("span",{className:"price-currency"},u),p,"right"===d&&React.createElement("span",{className:"price-currency"},u)))),React.createElement("span",{className:"price-period","data-period-separator":g,"data-price-period":m},g," ",m)),!0!==f&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-pricing-body"},React.createElement("ul",{className:"eb-pricebox-features ".concat(M?"":"no-border")},y.map((function(e,t){var a=e.icon,n=e.text,o=e.color,r=e.clickable,c=e.link;return React.createElement("li",{key:t,className:"eb-pricebox-feature-item","data-icon":a,"data-color":o,"data-clickable":r,"data-link":c},r&&c?React.createElement("a",{href:kC(c)},React.createElement(wC,{className:"eb-pricebox-icon",icon:a}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)):React.createElement(React.Fragment,null,React.createElement(wC,{className:"eb-pricebox-icon",icon:a}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)))}))))),"style-3"===n&&React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===b?" line-through":""),"data-price":s},"left"===d&&React.createElement("span",{className:"price-currency"},u),s,"right"===d&&React.createElement("span",{className:"price-currency"},u)),b&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":p},"left"===d&&React.createElement("span",{className:"price-currency"},u),p,"right"===d&&React.createElement("span",{className:"price-currency"},u)))),React.createElement("span",{className:"price-period","data-period-separator":g,"data-price-period":m},g," ",m)),v&&React.createElement("div",{className:"eb-pricing-footer","data-icon":h},React.createElement("div",{className:"eb-pricing-button-wrapper"},React.createElement("a",gC({href:kC(R)},P&&{target:"_blank"},{className:"eb-pricing-button"}),"left"===w&&React.createElement(wC,{icon:h}),React.createElement("span",{className:"eb-button-text"},k),"right"===w&&React.createElement(wC,{icon:h}))))))))))}},{attributes:yC({},BE),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.pricingStyle,o=t.title,r=t.showSubtitle,c=t.subtitle,l=t.showHeaderIcon,i=t.headerIcon,s=t.mainPrice,b=t.showOnSale,p=t.salePrice,u=t.priceCurrency,d=t.currencyPlacement,m=t.pricePeriod,g=t.periodSeparator,f=t.hideFeatures,y=t.features,v=t.showButton,h=t.buttonIcon,w=t.buttonIconPosition,k=t.buttonText,R=t.buttonURL,_=t.contentAlign,E=t.showRibbon,C=t.ribbonStyle,x=t.classHook,S=t.ribbonAlignHorizontal,B=void 0===S?"right":S,T=t.ribbonAlignVertical,N=void 0===T?"top":T,P=t.newWindow,O=t.showFeatureLine,M=void 0===O||O,D=E?" featured ".concat(C):"";return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(x)},React.createElement("div",{className:"".concat(a," eb-pricing-wrapper eb-pricing-content-").concat(_)},React.createElement("div",{className:"eb-pricing ".concat(n)},React.createElement("div",{className:"eb-pricing-item".concat(D).concat(E?"ribbon-1"!==C?" "+B:" "+N:"")},React.createElement("div",{className:"eb-pricing-item-overlay"}),"style-4"==n&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-pricing-top"},l&&React.createElement("div",{className:"eb-pricing-icon","data-icon":i},React.createElement("span",{className:"icon"},React.createElement("i",{className:i}))),React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===b?" line-through":""),"data-price":s},"left"===d&&React.createElement("span",{className:"price-currency"},u),s,"right"===d&&React.createElement("span",{className:"price-currency"},u)),b&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":p},"left"===d&&React.createElement("span",{className:"price-currency"},u),p,"right"===d&&React.createElement("span",{className:"price-currency"},u)))),React.createElement("span",{className:"price-period","data-period-separator":g,"data-price-period":m},g," ",m)),React.createElement("div",{className:"eb-pricing-header"},React.createElement("h2",{className:"eb-pricing-title"},o),r&&React.createElement("span",{className:"eb-pricing-subtitle"},c))),React.createElement("div",{className:"eb-pricing-bottom"},!0!==f&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-pricing-body"},React.createElement("ul",{className:"eb-pricebox-features ".concat(M?"":"no-border")},y.map((function(e,t){var a=e.icon,n=e.text,o=e.color,r=e.clickable,c=e.link;return React.createElement("li",{key:t,className:"eb-pricebox-feature-item","data-icon":a,"data-color":o,"data-clickable":r,"data-link":c},r&&c?React.createElement("a",{href:kC(c)},React.createElement("span",{className:"eb-pricebox-icon ".concat(a),style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)):React.createElement(React.Fragment,null,React.createElement("span",{className:"eb-pricebox-icon ".concat(a),style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)))}))))),v&&React.createElement("div",{className:"eb-pricing-footer","data-icon":h},React.createElement("div",{className:"eb-pricing-button-wrapper"},React.createElement("a",gC({href:kC(R)},P&&{target:"_blank"},{className:"eb-pricing-button"}),"left"===w&&React.createElement("i",{className:h}),React.createElement("span",{className:"eb-button-text"},k),"right"===w&&React.createElement("i",{className:h})))))),"style-4"!==n&&React.createElement(React.Fragment,null,l&&React.createElement("div",{className:"eb-pricing-icon","data-icon":i},React.createElement("span",{className:"icon"},React.createElement("i",{className:i}))),React.createElement("div",{className:"eb-pricing-header"},React.createElement("h2",{className:"eb-pricing-title"},o),r&&React.createElement("span",{className:"eb-pricing-subtitle"},c)),"style-3"!==n&&React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===b?" line-through":""),"data-price":s},"left"===d&&React.createElement("span",{className:"price-currency"},u),s,"right"===d&&React.createElement("span",{className:"price-currency"},u)),b&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":p},"left"===d&&React.createElement("span",{className:"price-currency"},u),p,"right"===d&&React.createElement("span",{className:"price-currency"},u)))),React.createElement("span",{className:"price-period","data-period-separator":g,"data-price-period":m},g," ",m)),!0!==f&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-pricing-body"},React.createElement("ul",{className:"eb-pricebox-features ".concat(M?"":"no-border")},y.map((function(e,t){var a=e.icon,n=e.text,o=e.color,r=e.clickable,c=e.link;return React.createElement("li",{key:t,className:"eb-pricebox-feature-item","data-icon":a,"data-color":o,"data-clickable":r,"data-link":c},r&&c?React.createElement("a",{href:kC(c)},React.createElement("span",{className:"eb-pricebox-icon ".concat(a),style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)):React.createElement(React.Fragment,null,React.createElement("span",{className:"eb-pricebox-icon ".concat(a),style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)))}))))),"style-3"===n&&React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===b?" line-through":""),"data-price":s},"left"===d&&React.createElement("span",{className:"price-currency"},u),s,"right"===d&&React.createElement("span",{className:"price-currency"},u)),b&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":p},"left"===d&&React.createElement("span",{className:"price-currency"},u),p,"right"===d&&React.createElement("span",{className:"price-currency"},u)))),React.createElement("span",{className:"price-period","data-period-separator":g,"data-price-period":m},g," ",m)),v&&React.createElement("div",{className:"eb-pricing-footer","data-icon":h},React.createElement("div",{className:"eb-pricing-button-wrapper"},React.createElement("a",gC({href:kC(R)},P&&{target:"_blank"},{className:"eb-pricing-button"}),"left"===w&&React.createElement("i",{className:h}),React.createElement("span",{className:"eb-button-text"},k),"right"===w&&React.createElement("i",{className:h}))))))))))}},{attributes:yC({},BE),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.pricingStyle,o=t.title,r=t.showSubtitle,c=t.subtitle,l=t.showHeaderIcon,i=t.headerIcon,s=t.mainPrice,b=t.showOnSale,p=t.salePrice,u=t.priceCurrency,d=t.currencyPlacement,m=t.pricePeriod,g=t.periodSeparator,f=t.hideFeatures,y=t.features,v=t.showButton,h=t.buttonIcon,w=t.buttonIconPosition,k=t.buttonText,R=t.buttonURL,_=t.contentAlign,E=t.showRibbon,C=t.ribbonStyle,x=t.classHook,S=E?" featured ".concat(C):"";return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(x)},React.createElement("div",{className:"".concat(a," eb-pricing-wrapper eb-pricing-content-").concat(_)},React.createElement("div",{className:"eb-pricing ".concat(n)},React.createElement("div",{className:"eb-pricing-item".concat(S)},React.createElement("div",{className:"eb-pricing-item-overlay"}),l&&React.createElement("div",{className:"eb-pricing-icon","data-icon":i},React.createElement("span",{className:"icon"},React.createElement("i",{className:i}))),React.createElement("div",{className:"eb-pricing-header"},React.createElement("h2",{className:"eb-pricing-title"},o),r&&React.createElement("span",{className:"eb-pricing-subtitle"},c)),"style-3"!==n&&React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===b?" line-through":""),"data-price":s},"left"===d&&React.createElement("span",{className:"price-currency"},u),s,"right"===d&&React.createElement("span",{className:"price-currency"},u)),b&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":p},"left"===d&&React.createElement("span",{className:"price-currency"},u),p,"right"===d&&React.createElement("span",{className:"price-currency"},u)))),React.createElement("span",{className:"price-period","data-period-separator":g,"data-price-period":m},g," ",m)),!0!==f&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-pricing-body"},React.createElement("ul",{className:"eb-pricebox-features"},y.map((function(e,t){var a=e.icon,n=e.text,o=e.color,r=e.clickable,c=e.link;return React.createElement("li",{key:t,className:"eb-pricebox-feature-item","data-icon":a,"data-color":o,"data-clickable":r,"data-link":c},r&&c?React.createElement("a",{href:kC(c)},React.createElement("span",{className:"eb-pricebox-icon ".concat(a),style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)):React.createElement(React.Fragment,null,React.createElement("span",{className:"eb-pricebox-icon ".concat(a),style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)))}))))),"style-3"===n&&React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===b?" line-through":""),"data-price":s},"left"===d&&React.createElement("span",{className:"price-currency"},u),s,"right"===d&&React.createElement("span",{className:"price-currency"},u)),b&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":p},"left"===d&&React.createElement("span",{className:"price-currency"},u),p,"right"===d&&React.createElement("span",{className:"price-currency"},u)))),React.createElement("span",{className:"price-period","data-period-separator":g,"data-price-period":m},g," ",m)),v&&React.createElement("div",{className:"eb-pricing-footer","data-icon":h},React.createElement("div",{className:"eb-pricing-button-wrapper"},React.createElement("a",{href:kC(R),className:"eb-pricing-button"},"left"===w&&React.createElement("i",{className:h}),React.createElement("span",{className:"eb-button-text"},k),"right"===w&&React.createElement("i",{className:h})))))))))}},{attributes:yC({},BE),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.pricingStyle,o=t.title,r=t.showSubtitle,c=t.subtitle,l=t.showHeaderIcon,i=t.headerIcon,s=t.mainPrice,b=t.showOnSale,p=t.salePrice,u=t.priceCurrency,d=t.currencyPlacement,m=t.pricePeriod,g=t.periodSeparator,f=t.hideFeatures,y=t.features,v=t.showButton,h=t.buttonIcon,w=t.buttonIconPosition,k=t.buttonText,R=t.buttonURL,_=t.contentAlign,E=t.showRibbon,C=t.ribbonStyle,x=E?" featured ".concat(C):"";return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"".concat(a," eb-pricing-wrapper eb-pricing-content-").concat(_)},React.createElement("div",{className:"eb-pricing ".concat(n)},React.createElement("div",{className:"eb-pricing-item".concat(x)},React.createElement("div",{className:"eb-pricing-item-overlay"}),l&&React.createElement("div",{className:"eb-pricing-icon","data-icon":i},React.createElement("span",{className:"icon"},React.createElement("i",{className:i}))),React.createElement("div",{className:"eb-pricing-header"},React.createElement("h2",{className:"eb-pricing-title"},o),r&&React.createElement("span",{className:"eb-pricing-subtitle"},c)),"style-3"!==n&&React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===b?" line-through":""),"data-price":s},"left"===d&&React.createElement("span",{className:"price-currency"},u),s,"right"===d&&React.createElement("span",{className:"price-currency"},u)),b&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":p},"left"===d&&React.createElement("span",{className:"price-currency"},u),p,"right"===d&&React.createElement("span",{className:"price-currency"},u)))),React.createElement("span",{className:"price-period","data-period-separator":g,"data-price-period":m},g," ",m)),!0!==f&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-pricing-body"},React.createElement("ul",{className:"eb-pricebox-features"},y.map((function(e,t){var a=e.icon,n=e.text,o=e.color,r=e.clickable,c=e.link;return React.createElement("li",{key:t,className:"eb-pricebox-feature-item","data-icon":a,"data-color":o,"data-clickable":r,"data-link":c},r&&c?React.createElement("a",{href:kC(c)},React.createElement("span",{className:"eb-pricebox-icon ".concat(a),style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)):React.createElement(React.Fragment,null,React.createElement("span",{className:"eb-pricebox-icon ".concat(a),style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)))}))))),"style-3"===n&&React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===b?" line-through":""),"data-price":s},"left"===d&&React.createElement("span",{className:"price-currency"},u),s,"right"===d&&React.createElement("span",{className:"price-currency"},u)),b&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":p},"left"===d&&React.createElement("span",{className:"price-currency"},u),p,"right"===d&&React.createElement("span",{className:"price-currency"},u)))),React.createElement("span",{className:"price-period","data-period-separator":g,"data-price-period":m},g," ",m)),v&&React.createElement("div",{className:"eb-pricing-footer","data-icon":h},React.createElement("div",{className:"eb-pricing-button-wrapper"},React.createElement("a",{href:kC(R),className:"eb-pricing-button"},"left"===w&&React.createElement("i",{className:h}),React.createElement("span",{className:"eb-button-text"},k),"right"===w&&React.createElement("i",{className:h}))))))))}},{attributes:yC(yC({},BE),{},{hideFeatures:{type:"boolean",default:!1}}),save:function(e){var t=e.attributes,a=t.blockId,n=t.pricingStyle,o=t.title,r=t.showSubtitle,c=t.subtitle,l=t.showHeaderIcon,i=t.headerIcon,s=t.mainPrice,b=t.showOnSale,p=t.salePrice,u=t.priceCurrency,d=t.currencyPlacement,m=t.pricePeriod,g=t.periodSeparator,f=t.features,y=t.showButton,v=t.buttonIcon,h=t.buttonIconPosition,w=t.buttonText,k=t.buttonURL,R=t.contentAlign,_=t.showRibbon,E=t.ribbonStyle,C=_?" featured ".concat(E):"";return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"".concat(a," eb-pricing-wrapper eb-pricing-content-").concat(R)},React.createElement("div",{className:"eb-pricing ".concat(n)},React.createElement("div",{className:"eb-pricing-item".concat(C)},React.createElement("div",{className:"eb-pricing-item-overlay"}),l&&React.createElement("div",{className:"eb-pricing-icon","data-icon":i},React.createElement("span",{className:"icon"},React.createElement("i",{className:i}))),React.createElement("div",{className:"eb-pricing-header"},React.createElement("h2",{className:"eb-pricing-title"},o),r&&React.createElement("span",{className:"eb-pricing-subtitle"},c)),"style-3"!==n&&React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===b?" line-through":""),"data-price":s},"left"===d&&React.createElement("span",{className:"price-currency"},u),s,"right"===d&&React.createElement("span",{className:"price-currency"},u)),b&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":p},"left"===d&&React.createElement("span",{className:"price-currency"},u),p,"right"===d&&React.createElement("span",{className:"price-currency"},u)))),React.createElement("span",{className:"price-period","data-period-separator":g,"data-price-period":m},g," ",m)),React.createElement("div",{className:"eb-pricing-body"},React.createElement("ul",{className:"eb-pricebox-features"},f.map((function(e,t){var a=e.icon,n=e.text,o=e.color,r=e.clickable,c=e.link;return React.createElement("li",{key:t,className:"eb-pricebox-feature-item","data-icon":a,"data-color":o,"data-clickable":r,"data-link":c},r&&c?React.createElement("a",{href:kC(c)},React.createElement("span",{className:"eb-pricebox-icon ".concat(a),style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)):React.createElement(React.Fragment,null,React.createElement("span",{className:"eb-pricebox-icon ".concat(a),style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)))})))),"style-3"===n&&React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===b?" line-through":""),"data-price":s},"left"===d&&React.createElement("span",{className:"price-currency"},u),s,"right"===d&&React.createElement("span",{className:"price-currency"},u)),b&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":p},"left"===d&&React.createElement("span",{className:"price-currency"},u),p,"right"===d&&React.createElement("span",{className:"price-currency"},u)))),React.createElement("span",{className:"price-period","data-period-separator":g,"data-price-period":m},g," ",m)),y&&React.createElement("div",{className:"eb-pricing-footer","data-icon":v},React.createElement("div",{className:"eb-pricing-button-wrapper"},React.createElement("a",{href:kC(k),className:"eb-pricing-button"},"left"===h&&React.createElement("i",{className:v}),React.createElement("span",{className:"eb-button-text"},w),"right"===h&&React.createElement("i",{className:v}))))))))}},{attributes:yC({},BE),save:function(e){var t=e.attributes,a=t.blockId,n=t.pricingStyle,o=t.title,r=t.showSubtitle,c=t.subtitle,l=t.showHeaderIcon,i=t.headerIcon,s=t.mainPrice,b=t.showOnSale,p=t.salePrice,u=t.priceCurrency,d=t.currencyPlacement,m=t.pricePeriod,g=t.periodSeparator,f=t.features,y=t.showButton,v=t.buttonIcon,h=t.buttonIconPosition,w=t.buttonText,k=t.buttonURL,R=t.contentAlign,_=t.showRibbon,E=t.ribbonStyle,C=_?" featured ".concat(E):"";return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"".concat(a," eb-pricing-content-").concat(R)},React.createElement("div",{className:"eb-pricing ".concat(n)},React.createElement("div",{className:"eb-pricing-item".concat(C)},React.createElement("div",{className:"eb-pricing-item-overlay"}),l&&React.createElement("div",{className:"eb-pricing-icon","data-icon":i},React.createElement("span",{className:"icon"},React.createElement("i",{className:i}))),React.createElement("div",{className:"eb-pricing-header"},React.createElement("h2",{className:"eb-pricing-title"},o),r&&React.createElement("span",{className:"eb-pricing-subtitle"},c)),"style-3"!==n&&React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===b?" line-through":""),"data-price":s},"left"===d&&React.createElement("span",{className:"price-currency"},u),s,"right"===d&&React.createElement("span",{className:"price-currency"},u)),b&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":p},"left"===d&&React.createElement("span",{className:"price-currency"},u),p,"right"===d&&React.createElement("span",{className:"price-currency"},u)))),React.createElement("span",{className:"price-period","data-period-separator":g,"data-price-period":m},g," ",m)),React.createElement("div",{className:"eb-pricing-body"},React.createElement("ul",{className:"eb-pricebox-features"},f.map((function(e){var t=e.icon,a=e.text,n=e.color,o=e.clickable,r=e.link;return React.createElement("li",{className:"eb-pricebox-feature-item","data-icon":t,"data-color":n,"data-clickable":o,"data-link":r},o&&r?React.createElement("a",{href:kC(r)},React.createElement("span",{className:"eb-pricebox-icon ".concat(t),style:{color:n}}),React.createElement("span",{className:"eb-pricebox-feature-text"},a)):React.createElement(React.Fragment,null,React.createElement("span",{className:"eb-pricebox-icon ".concat(t),style:{color:n}}),React.createElement("span",{className:"eb-pricebox-feature-text"},a)))})))),"style-3"===n&&React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===b?" line-through":""),"data-price":s},"left"===d&&React.createElement("span",{className:"price-currency"},u),s,"right"===d&&React.createElement("span",{className:"price-currency"},u)),b&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":p},"left"===d&&React.createElement("span",{className:"price-currency"},u),p,"right"===d&&React.createElement("span",{className:"price-currency"},u)))),React.createElement("span",{className:"price-period","data-period-separator":g,"data-price-period":m},g," ",m)),y&&React.createElement("div",{className:"eb-pricing-footer","data-icon":v},React.createElement("div",{className:"eb-pricing-button-wrapper"},React.createElement("a",{href:kC(k),className:"eb-pricing-button"},"left"===h&&React.createElement("i",{className:v}),React.createElement("span",{className:"eb-button-text"},w),"right"===h&&React.createElement("i",{className:v}))))))))}}];const _C=RC,EC=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Pricing Table","name":"essential-blocks/pricing-table","description":"The pricing table block will let you create an effective product pricing table with perfect styling to get more sales from your prospective buyers.","category":"essential-blocks","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');(0,EBControls.ebConditionalRegisterBlockType)(EC,{icon:tC,attributes:BE,keywords:[(0,Y.__)("eb price","essential-blocks"),(0,Y.__)("table","essential-blocks"),(0,Y.__)("eb price table","essential-blocks")],edit:function(e){var t=e.attributes,a=e.isSelected,n=e.setAttributes,o=t.blockId,r=(t.blockMeta,t.resOption,t.pricingStyle),c=t.title,l=t.showSubtitle,i=t.subtitle,s=t.showHeaderIcon,b=t.headerIcon,p=t.mainPrice,u=t.showOnSale,d=t.salePrice,m=t.priceCurrency,g=t.currencyPlacement,f=t.pricePeriod,y=t.periodSeparator,v=t.hideFeatures,h=t.features,w=t.showButton,k=t.buttonIcon,R=t.buttonIconPosition,_=t.buttonText,E=t.buttonURL,C=t.contentAlign,x=t.ribbonStyle,S=t.classHook,B=t.ribbonAlignHorizontal,T=t.ribbonAlignVertical,N=t.showFeatureLine,P=t.showRibbon,O=t.showBlockContent,M=t.showFeatureIcon,D=cC(cC({},e),{},{blockPrefix:"eb-pricing",style:React.createElement(eC,e)});(0,J.useEffect)((function(){h.length>0||n({features:[{icon:"fas fa-check",text:"Unlimited Calls",color:"var(--eb-global-primary-color)",clickable:"false",link:""},{icon:"fas fa-check",text:"Free Hosting",color:"var(--eb-global-primary-color)",clickable:"false",link:""},{icon:"fas fa-check",text:"500MB Free Storage",color:"var(--eb-global-primary-color)",clickable:"false",link:""},{icon:"fas fa-check",text:"24/7 Support",color:"var(--eb-global-primary-color)",clickable:"false",link:""}]})}),[]);var j=P?" featured ".concat(x):"";return React.createElement(React.Fragment,null,React.createElement(Q.BlockControls,null,React.createElement(Q.AlignmentToolbar,{value:C,onChange:function(e){return n({contentAlign:e||"center"})}})),a&&O&&React.createElement(WE,{attributes:t,setAttributes:n}),React.createElement(uC.Edit,D,React.createElement(dC,oC({},e,{Icon:tC,title:"Pricing Table",description:"Choose a template for the Pricing Table or start blank.",patterns:aC})),O&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(o," ").concat(S)},React.createElement("div",{className:"".concat(o," eb-pricing-wrapper eb-pricing-content-").concat(C)},React.createElement("div",{className:"eb-pricing ".concat(r," ")},React.createElement("div",{className:"eb-pricing-item".concat(j," ").concat("ribbon-1"!==x?B:T)},React.createElement("div",{className:"eb-pricing-item-overlay"}),"style-4"==r&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-pricing-top"},s&&React.createElement("div",{className:"eb-pricing-icon","data-icon":b},React.createElement(bC,{className:"icon",icon:b})),React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===u?" line-through":""),"data-price":p},"left"===g&&React.createElement("span",{className:"price-currency"},m),p,"right"===g&&React.createElement("span",{className:"price-currency"},m)),u&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":d},"left"===g&&React.createElement("span",{className:"price-currency"},m),d,"right"===g&&React.createElement("span",{className:"price-currency"},m)))),React.createElement("span",{className:"price-period","data-period-separator":y,"data-price-period":f},y," ",f)),React.createElement("div",{className:"eb-pricing-header"},React.createElement("h2",{className:"eb-pricing-title"},c),l&&React.createElement("span",{className:"eb-pricing-subtitle"},i))),React.createElement("div",{className:"eb-pricing-bottom"},!0!==v&&React.createElement("div",{className:"eb-pricing-body"},React.createElement("ul",{className:"eb-pricebox-features ".concat(N?"":"no-border")},h.map((function(e,t){var a=e.icon,n=e.text,o=e.color,r=e.clickable,c=e.link;return React.createElement("li",{key:t,className:"eb-pricebox-feature-item","data-icon":a,"data-color":o,"data-clickable":r,"data-link":c},r&&c?React.createElement("a",{href:pC(c)},M&&React.createElement(bC,{className:"eb-pricebox-icon",icon:a}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)):React.createElement(React.Fragment,null,M&&React.createElement(bC,{className:"eb-pricebox-icon",icon:a}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)))})))),w&&React.createElement("div",{className:"eb-pricing-footer","data-icon":k},React.createElement("div",{className:"eb-pricing-button-wrapper"},React.createElement("a",{href:pC(E),className:"eb-pricing-button"},"left"===R&&React.createElement(bC,{icon:k}),React.createElement(sC,{value:_,tagName:"span",className:"eb-button-text",onChange:function(e){return n({buttonText:e})},readOnly:!0}),"right"===R&&React.createElement(bC,{icon:k})))))),"style-4"!==r&&React.createElement(React.Fragment,null,s&&React.createElement("div",{className:"eb-pricing-icon","data-icon":b},React.createElement(bC,{className:"icon",icon:b})),React.createElement("div",{className:"eb-pricing-header"},React.createElement("h2",{className:"eb-pricing-title"},c),l&&React.createElement("span",{className:"eb-pricing-subtitle"},i)),"style-3"!==r&&React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===u?" line-through":""),"data-price":p},"left"===g&&React.createElement("span",{className:"price-currency"},m),p,"right"===g&&React.createElement("span",{className:"price-currency"},m)),u&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":d},"left"===g&&React.createElement("span",{className:"price-currency"},m),d,"right"===g&&React.createElement("span",{className:"price-currency"},m)))),React.createElement("span",{className:"price-period","data-period-separator":y,"data-price-period":f},y," ",f)),!0!==v&&React.createElement("div",{className:"eb-pricing-body"},React.createElement("ul",{className:"eb-pricebox-features ".concat(N?"":"no-border")},h.map((function(e,t){var a=e.icon,n=e.text,o=e.color,r=e.clickable,c=e.link;return React.createElement("li",{key:t,className:"eb-pricebox-feature-item","data-icon":a,"data-color":o,"data-clickable":r,"data-link":c},r&&c?React.createElement("a",{href:pC(c)},M&&React.createElement(bC,{className:"eb-pricebox-icon",icon:a,style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)):React.createElement(React.Fragment,null,M&&React.createElement(bC,{className:"eb-pricebox-icon",icon:a,style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)))})))),"style-3"===r&&React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===u?" line-through":""),"data-price":p},"left"===g&&React.createElement("span",{className:"price-currency"},m),p,"right"===g&&React.createElement("span",{className:"price-currency"},m)),u&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":d},"left"===g&&React.createElement("span",{className:"price-currency"},m),d,"right"===g&&React.createElement("span",{className:"price-currency"},m)))),React.createElement("span",{className:"price-period","data-period-separator":y,"data-price-period":f},y," ",f)),w&&React.createElement("div",{className:"eb-pricing-footer","data-icon":k},React.createElement("div",{className:"eb-pricing-button-wrapper"},React.createElement("a",{href:pC(E),className:"eb-pricing-button"},"left"===R&&React.createElement(bC,{icon:k}),React.createElement(sC,{value:_,tagName:"span",className:"eb-button-text",onChange:function(e){return n({buttonText:e})},readOnly:!0}),"right"===R&&React.createElement(bC,{icon:k}))))))))))))},save:function(e){var t=e.attributes,a=t.blockId,n=t.pricingStyle,o=t.title,r=t.showSubtitle,c=t.subtitle,l=t.showHeaderIcon,i=t.headerIcon,s=t.mainPrice,b=t.showOnSale,p=t.salePrice,u=t.priceCurrency,d=t.currencyPlacement,m=t.pricePeriod,g=t.periodSeparator,f=t.hideFeatures,y=t.features,v=t.showButton,h=t.buttonIcon,w=t.buttonIconPosition,k=t.buttonText,R=t.buttonURL,_=t.contentAlign,E=t.showRibbon,C=t.ribbonStyle,x=t.classHook,S=t.ribbonAlignHorizontal,B=void 0===S?"right":S,T=t.ribbonAlignVertical,N=void 0===T?"top":T,P=t.newWindow,O=t.showFeatureLine,M=void 0===O||O,D=t.showBlockContent,j=t.showFeatureIcon;if(D){var I=E?" featured ".concat(C):"";return React.createElement(A_.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(x)},React.createElement("div",{className:"".concat(a," eb-pricing-wrapper eb-pricing-content-").concat(_)},React.createElement("div",{className:"eb-pricing ".concat(n)},React.createElement("div",{className:"eb-pricing-item".concat(I).concat(E?"ribbon-1"!==C?" "+B:" "+N:"")},React.createElement("div",{className:"eb-pricing-item-overlay"}),"style-4"==n&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-pricing-top"},l&&React.createElement("div",{className:"eb-pricing-icon","data-icon":i},React.createElement(j_,{className:"icon",icon:i})),React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===b?" line-through":""),"data-price":s},"left"===d&&React.createElement("span",{className:"price-currency"},u),s,"right"===d&&React.createElement("span",{className:"price-currency"},u)),b&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":p},"left"===d&&React.createElement("span",{className:"price-currency"},u),p,"right"===d&&React.createElement("span",{className:"price-currency"},u)))),React.createElement("span",{className:"price-period","data-period-separator":g,"data-price-period":m},g," ",m)),React.createElement("div",{className:"eb-pricing-header"},React.createElement("h2",{className:"eb-pricing-title"},o),r&&React.createElement("span",{className:"eb-pricing-subtitle"},c))),React.createElement("div",{className:"eb-pricing-bottom"},!0!==f&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-pricing-body"},React.createElement("ul",{className:"eb-pricebox-features ".concat(M?"":"no-border")},y.map((function(e,t){var a=e.icon,n=e.text,o=e.color,r=e.clickable,c=e.link;return React.createElement("li",{key:t,className:"eb-pricebox-feature-item","data-icon":a,"data-color":o,"data-clickable":r,"data-link":c},r&&c?React.createElement("a",{href:I_(c)},React.createElement(j_,{className:"eb-pricebox-icon",icon:a,style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)):React.createElement(React.Fragment,null,j&&React.createElement(j_,{className:"eb-pricebox-icon",icon:a,style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)))}))))),v&&React.createElement("div",{className:"eb-pricing-footer","data-icon":h},React.createElement("div",{className:"eb-pricing-button-wrapper"},React.createElement("a",M_({href:"#"==R?"":I_(R)},P&&{target:"_blank"},{className:"eb-pricing-button"}),"left"===w&&React.createElement(j_,{icon:h}),React.createElement("span",{className:"eb-button-text"},k),"right"===w&&React.createElement(j_,{icon:h})))))),"style-4"!==n&&React.createElement(React.Fragment,null,l&&React.createElement("div",{className:"eb-pricing-icon","data-icon":i},React.createElement(j_,{className:"icon",icon:i})),React.createElement("div",{className:"eb-pricing-header"},React.createElement("h2",{className:"eb-pricing-title"},o),r&&React.createElement("span",{className:"eb-pricing-subtitle"},c)),"style-3"!==n&&React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===b?" line-through":""),"data-price":s},"left"===d&&React.createElement("span",{className:"price-currency"},u),s,"right"===d&&React.createElement("span",{className:"price-currency"},u)),b&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":p},"left"===d&&React.createElement("span",{className:"price-currency"},u),p,"right"===d&&React.createElement("span",{className:"price-currency"},u)))),React.createElement("span",{className:"price-period","data-period-separator":g,"data-price-period":m},g," ",m)),!0!==f&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-pricing-body"},React.createElement("ul",{className:"eb-pricebox-features ".concat(M?"":"no-border")},y.map((function(e,t){var a=e.icon,n=e.text,o=e.color,r=e.clickable,c=e.link;return React.createElement("li",{key:t,className:"eb-pricebox-feature-item","data-icon":a,"data-color":o,"data-clickable":r,"data-link":c},r&&c?React.createElement("a",{href:I_(c)},React.createElement(j_,{className:"eb-pricebox-icon",icon:a,style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)):React.createElement(React.Fragment,null,j&&React.createElement(j_,{className:"eb-pricebox-icon",icon:a,style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)))}))))),"style-3"===n&&React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===b?" line-through":""),"data-price":s},"left"===d&&React.createElement("span",{className:"price-currency"},u),s,"right"===d&&React.createElement("span",{className:"price-currency"},u)),b&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":p},"left"===d&&React.createElement("span",{className:"price-currency"},u),p,"right"===d&&React.createElement("span",{className:"price-currency"},u)))),React.createElement("span",{className:"price-period","data-period-separator":g,"data-price-period":m},g," ",m)),v&&React.createElement("div",{className:"eb-pricing-footer","data-icon":h},React.createElement("div",{className:"eb-pricing-button-wrapper"},React.createElement("a",M_({href:"#"==R?"":I_(R)},P&&{target:"_blank"},{className:"eb-pricing-button"}),"left"===w&&React.createElement(j_,{icon:h}),React.createElement("span",{className:"eb-button-text"},k),"right"===w&&React.createElement(j_,{icon:h}))))))))))}},example:{attributes:{}},deprecated:_C});var CC="titleText",xC="counterText",SC="prefixText",BC=[{label:(0,Y.__)("Line","essential-blocks"),value:"line"},{label:(0,Y.__)("Line Rainbow","essential-blocks"),value:"line_rainbow"},{label:(0,Y.__)("Circle","essential-blocks"),value:"circle"},{label:(0,Y.__)("Circle Fill","essential-blocks"),value:"circle_fill"},{label:(0,Y.__)("Half Circle","essential-blocks"),value:"half_circle"},{label:(0,Y.__)("Half Circle Fill","essential-blocks"),value:"half_circle_fill"},{label:(0,Y.__)("Box","essential-blocks"),value:"box"}],TC={line:"line",line_rainbow:"line",circle:"circle",circle_fill:"circle",half_circle:"circle",half_circle_fill:"circle",box:"box"},NC={line:"eb-progressbar-line",line_rainbow:"eb-progressbar-line eb-progressbar-line-rainbow",circle:"eb-progressbar-circle",circle_fill:"eb-progressbar-circle eb-progressbar-circle-fill",half_circle:"eb-progressbar-half-circle",half_circle_fill:"eb-progressbar-half-circle eb-progressbar-half-circle-fill",box:"eb-progressbar-box"},PC={none:"eb-progressbar-line-stripe",normal:"eb-progressbar-line-stripe eb-progressbar-line-animate",reverse:"eb-progressbar-line-stripe eb-progressbar-line-animate-rtl"},OC=[{label:"px",value:"px"},{label:"%",value:"%"}],MC="wrpWidth",DC="wrpHeight",jC="wrpSize",IC="stkWidth",AC="boxWidth",LC="boxHeight",FC="wrpMargin",HC="ttlSpace";function zC(e){return zC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},zC(e)}function qC(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function UC(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?qC(Object(a),!0).forEach((function(t){VC(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):qC(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function VC(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=zC(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=zC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==zC(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var WC=window.EBControls,GC=WC.generateTypographyAttributes,ZC=WC.generateResponsiveRangeAttributes,YC=WC.generateDimensionsAttributes;const JC=UC(UC(UC(UC(UC(UC(UC(UC(UC({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},layout:{type:"string",default:"line"},wrapperAlign:{type:"string",default:"center"},title:{type:"string",default:(0,Y.__)("Progress Bar","essential-blocks")},titleTag:{type:"string",default:"div"},progress:{type:"number",default:50},displayProgress:{type:"boolean",default:!0},animationDuration:{type:"number",default:1500},titleColor:{type:"string",default:"var(--eb-global-heading-color)"},counterColor:{type:"string",default:"var(--eb-global-heading-color)"},progressColor:{type:"string",default:"var(--eb-global-primary-color)"},isProgressGradient:{type:"boolean",default:!1},progressGradient:{type:"string"},showInline:{type:"boolean",default:!1},backgroundColor:{type:"string"},showStripe:{type:"boolean",default:!1},stripeAnimation:{type:"string",default:"none"},strokeColor:{type:"string",default:"var(--eb-global-background-color)"},prefix:{type:"string",default:(0,Y.__)("Prefix","essential-blocks")},suffix:{type:"string",default:(0,Y.__)("Postfix","essential-blocks")},prefixColor:{type:"string",default:"var(--eb-global-text-color)"}},GC(Object.values(w))),ZC(MC)),ZC(DC,{defaultRange:12,noUnits:!0})),ZC(jC,{defaultRange:200,noUnits:!0})),ZC(IC,{defaultRange:12,noUnits:!0})),ZC(LC,{defaultRange:200,noUnits:!0})),ZC(AC,{defaultRange:140,noUnits:!0})),YC(FC,{top:0,right:0,bottom:25,left:0,isLinked:!1})),YC(HC,{isLinked:!1}));var QC=window.EBControls,XC=QC.ColorControl,$C=QC.ResponsiveRangeController,KC=QC.ResponsiveDimensionsControl,ex=QC.TypographyDropdown,tx=QC.GradientColorControl,ax=QC.AdvancedControls,nx=QC.DynamicInputControl;const ox=function(e){var t=e.attributes,a=e.setAttributes,n=t.resOption,o=t.layout,r=t.title,c=t.titleTag,l=t.progress,i=t.displayProgress,s=t.animationDuration,b=t.titleColor,p=t.counterColor,u=t.progressColor,d=t.isProgressGradient,m=t.progressGradient,g=t.showInline,f=t.backgroundColor,y=t.showStripe,v=t.stripeAnimation,h=t.strokeColor,w=t.prefix,k=t.suffix,R=t.prefixColor,_={setAttributes:a,resOption:n,attributes:t,objAttributes:JC};return React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:(0,Y.__)("General","essential-blocks"),className:"eb-tab general"},{name:"styles",title:(0,Y.__)("Style","essential-blocks"),className:"eb-tab styles"},{name:"advance",title:(0,Y.__)("Advanced","essential-blocks"),className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls "+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Layout","essential-blocks")},React.createElement(X.SelectControl,{label:(0,Y.__)("Layout","essential-blocks"),value:o,options:BC,onChange:function(e){return a({layout:e})}}),("line"===o||"line_rainbow"===o)&&React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Inline","essential-blocks"),checked:g,onChange:function(){a({showInline:!g})}}),React.createElement(X.__experimentalDivider,null),React.createElement(nx,{label:(0,Y.__)("Title","essential-blocks"),attrName:"title",inputValue:r,setAttributes:a,onChange:function(e){return a({title:e})}}),React.createElement(X.SelectControl,{label:(0,Y.__)("Title HTML Tag","essential-blocks"),value:c,options:[{label:"H1",value:"h1"},{label:"H2",value:"h2"},{label:"H3",value:"h3"},{label:"H4",value:"h4"},{label:"H5",value:"h5"},{label:"H6",value:"h6"},{label:"div",value:"div"},{label:"span",value:"span"},{label:"p",value:"p"}],onChange:function(e){return a({titleTag:e})}}),React.createElement(X.__experimentalDivider,null),React.createElement(X.RangeControl,{label:(0,Y.__)("Counter Value","essential-blocks"),value:l,onChange:function(e){return a({progress:e})},step:1,min:0,max:100}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Counter?","progress-bar"),checked:i,onChange:function(){a({displayProgress:!i})}}),("line"===o||"line_rainbow"===o)&&React.createElement(React.Fragment,null,React.createElement(X.__experimentalDivider,null),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Stripe","essential-blocks"),checked:y,onChange:function(){a({showStripe:!y})}}),y&&React.createElement(X.SelectControl,{label:(0,Y.__)("Stripe Animation","essential-blocks"),value:v,options:[{label:"Left To Right",value:"normal"},{label:"Right To Left",value:"reverse"},{label:"Disabled",value:"none"}],onChange:function(e){return a({stripeAnimation:e})}})),("half_circle"===o||"half_circle_fill"===o)&&React.createElement(React.Fragment,null,React.createElement(X.__experimentalDivider,null),React.createElement(X.TextControl,{label:(0,Y.__)("Prefix","essential-blocks"),value:w,onChange:function(e){return a({prefix:e})}}),React.createElement(X.TextControl,{label:(0,Y.__)("Suffix","essential-blocks"),value:k,onChange:function(e){return a({suffix:e})}}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Settings","essential-blocks"),initialOpen:!1},("line"===o||"line_rainbow"===o)&&React.createElement(React.Fragment,null,React.createElement($C,{baseLabel:(0,Y.__)("Width","essential-blocks"),controlName:MC,resRequiredProps:_,units:OC,min:100,max:1e3,step:1}),React.createElement($C,{baseLabel:(0,Y.__)("Height","essential-blocks"),controlName:DC,resRequiredProps:_,min:0,max:100,step:1,noUnits:!0})),("circle"===o||"circle_fill"===o||"half_circle"===o||"half_circle_fill"===o)&&React.createElement(React.Fragment,null,React.createElement($C,{baseLabel:(0,Y.__)("Size","essential-blocks"),controlName:jC,resRequiredProps:_,min:50,max:500,step:1,noUnits:!0}),React.createElement($C,{baseLabel:(0,Y.__)("Stroke Width","essential-blocks"),controlName:IC,resRequiredProps:_,min:0,max:100,step:1,noUnits:!0})),"box"===o&&React.createElement(React.Fragment,null,React.createElement($C,{baseLabel:(0,Y.__)("Width","essential-blocks"),controlName:AC,resRequiredProps:_,min:100,max:500,step:1,noUnits:!0}),React.createElement($C,{baseLabel:(0,Y.__)("Height","essential-blocks"),controlName:LC,resRequiredProps:_,min:100,max:500,step:1,noUnits:!0}),React.createElement($C,{baseLabel:(0,Y.__)("Stroke Width","essential-blocks"),controlName:IC,resRequiredProps:_,min:0,max:100,step:1,noUnits:!0})),React.createElement(X.RangeControl,{label:(0,Y.__)("Animation Duration","essential-blocks"),value:s,onChange:function(e){return a({animationDuration:e})},step:100,min:1e3,max:1e4}))),"styles"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("General","essential-blocks")},("line"===o||"line_rainbow"===o)&&React.createElement(React.Fragment,null,React.createElement(XC,{label:(0,Y.__)("Background Color","essential-blocks"),color:h,onChange:function(e){return a({strokeColor:e})}}),"line_rainbow"!==o&&React.createElement(React.Fragment,null,React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Fill Color","essential-blocks"))),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Fill Gradient","essential-blocks"),checked:d,onChange:function(){a({isProgressGradient:!d})}}),d||React.createElement(XC,{label:(0,Y.__)("Color","essential-blocks"),color:u,onChange:function(e){return a({progressColor:e})}}),d&&React.createElement(tx,{label:(0,Y.__)("Gradient Color","essential-blocks"),gradientColor:m,onChange:function(e){return a({progressGradient:e})}}))),("circle"===o||"circle_fill"===o||"half_circle"===o||"half_circle_fill"===o)&&React.createElement(React.Fragment,null,React.createElement(XC,{label:(0,Y.__)("Background Color","essential-blocks"),color:f,onChange:function(e){return a({backgroundColor:e})}}),React.createElement(XC,{label:(0,Y.__)("Fill Color","essential-blocks"),color:u,onChange:function(e){return a({progressColor:e})}}),React.createElement(XC,{label:(0,Y.__)("Stroke Color","essential-blocks"),color:h,onChange:function(e){return a({strokeColor:e})}})),"box"===o&&React.createElement(React.Fragment,null,React.createElement(XC,{label:(0,Y.__)("Background Color","essential-blocks"),color:f,onChange:function(e){return a({backgroundColor:e})}}),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Fill Color","essential-blocks"))),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Fill Gradient","essential-blocks"),checked:d,onChange:function(){a({isProgressGradient:!d})}}),d||React.createElement(XC,{label:(0,Y.__)("Color","essential-blocks"),color:u,onChange:function(e){return a({progressColor:e})}}),d&&React.createElement(tx,{label:(0,Y.__)("Gradient Color","essential-blocks"),gradientColor:m,onChange:function(e){return a({progressGradient:e})}}),React.createElement(XC,{label:(0,Y.__)("Stroke Color","essential-blocks"),color:h,onChange:function(e){return a({strokeColor:e})}}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Title","essential-blocks"),initialOpen:!1},React.createElement(ex,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:CC,resRequiredProps:_}),React.createElement(XC,{label:(0,Y.__)("Color","essential-blocks"),color:b,onChange:function(e){return a({titleColor:e})}}),React.createElement(KC,{resRequiredProps:_,controlName:HC,baseLabel:(0,Y.__)("Space","essential-blocks")})),React.createElement(X.PanelBody,{title:(0,Y.__)("Counter","essential-blocks"),initialOpen:!1},React.createElement(ex,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:xC,resRequiredProps:_}),React.createElement(XC,{label:(0,Y.__)("Color","essential-blocks"),color:p,onChange:function(e){return a({counterColor:e})}})),("half_circle"===o||"half_circle_fill"===o)&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Prefix & Suffix","progress-bar"),initialOpen:!1},React.createElement(ex,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:SC,resRequiredProps:_}),React.createElement(XC,{label:(0,Y.__)("Color","essential-blocks"),color:R,onChange:function(e){return a({prefixColor:e})}})))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Margin","essential-blocks"),initialOpen:!0},React.createElement(KC,{resRequiredProps:_,controlName:FC})),React.createElement(ax,{attributes:t,setAttributes:a})))}))))};var rx=window.EBControls,cx=rx.softMinifyCssStrings,lx=rx.generateTypographyStyles,ix=rx.generateResponsiveRangeStyles,sx=rx.generateDimensionsControlStyles,bx=rx.StyleComponent;function ux(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=(t.blockMeta,t.resOption,t.layout),c=t.backgroundColor,l=t.progressColor,i=t.isProgressGradient,s=t.progressGradient,b=t.titleColor,p=t.counterColor,u=t.showInline,d=t.strokeColor,m=t.prefixColor,g=(t.classHook,sx({controlName:FC,styleFor:"margin",attributes:t})),f=g.dimensionStylesDesktop,y=g.dimensionStylesTab,v=g.dimensionStylesMobile,h=ix({controlName:MC,property:"width",attributes:t}),w=h.rangeStylesDesktop,k=h.rangeStylesTab,R=h.rangeStylesMobile,_=ix({controlName:DC,property:"height",attributes:t,customUnit:"px"}),E=_.rangeStylesDesktop,C=_.rangeStylesTab,x=_.rangeStylesMobile,S=ix({controlName:IC,property:"border-width",attributes:t,customUnit:"px"}),B=S.rangeStylesDesktop,T=S.rangeStylesTab,N=S.rangeStylesMobile,P=ix({controlName:jC,property:"width",attributes:t,customUnit:"px"}),O=P.rangeStylesDesktop,M=P.rangeStylesTab,D=P.rangeStylesMobile,j=ix({controlName:jC,property:"height",attributes:t,customUnit:"px"}),I=j.rangeStylesDesktop,A=j.rangeStylesTab,L=j.rangeStylesMobile,F=ix({controlName:LC,property:"height",attributes:t,customUnit:"px"}),H=F.rangeStylesDesktop,z=F.rangeStylesTab,q=F.rangeStylesMobile,U=ix({controlName:AC,property:"width",attributes:t,customUnit:"px"}),V=U.rangeStylesDesktop,W=U.rangeStylesTab,G=U.rangeStylesMobile,Z=lx({attributes:t,prefixConstant:CC}),Y=Z.typoStylesDesktop,J=Z.typoStylesTab,Q=Z.typoStylesMobile,X=sx({controlName:HC,styleFor:"margin",attributes:t}),$=X.dimensionStylesDesktop,K=X.dimensionStylesTab,ee=X.dimensionStylesMobile,te=lx({attributes:t,prefixConstant:xC}),ae=te.typoStylesDesktop,ne=te.typoStylesTab,oe=te.typoStylesMobile,re=lx({attributes:t,prefixConstant:SC}),ce=re.typoStylesDesktop,le=re.typoStylesTab,ie=re.typoStylesMobile,se=M||O,be=D||O,pe="\n\t\t.eb-progressbar-wrapper.".concat(o," {\n\t\t\t").concat(f,"\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-line {\n\t\t\t").concat(E,"\n\t\t\t").concat(d?"background-color: ".concat(d,";"):"","\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-circle {\n\t\t\t").concat(O,"\n\t\t\t").concat(I,"\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-circle-inner-content {\n\t\t\tpadding: ").concat(B.replace(/\D/g,""),"px;\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-circle-half {\n\t\t\t").concat(B,"\n\t\t\t").concat(l?"border-color: ".concat(l,";"):"","\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-circle-fill .eb-progressbar-circle-half,\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-half-circle-fill .eb-progressbar-circle-half {\n\t\t\t").concat(l?"background-color: ".concat(l,";"):"","\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-line-fill {\n\t\t\t").concat(E,"\n\t\t\t").concat("line"===r&&i?s?"background-image: ".concat(s,";"):"":l?"background-color: ".concat(l,";"):"",";\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-line-container {\n\t\t\t").concat(w,"\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-title {\n\t\t\t").concat(Y,"\n\t\t\t").concat($,"\n\t\t\t").concat(b?"color: ".concat(b,";"):"","\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-count-wrap {\n\t\t\t").concat(ae,"\n\t\t\t").concat(p?"color: ".concat(p,";"):"","\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-circle-inner {\n\t\t\t").concat(c?"background-color: ".concat(c,";"):"","\n\t\t\t").concat(d?"border-color: ".concat(d,";"):"","\n\t\t\t").concat(B,"\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-half-circle-after {\n\t\t\t").concat(O,"\n\t\t\t").concat(ce,"\n\t\t\t").concat(m?"color: ".concat(m,";"):"","\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-half-circle {\n\t\t\t").concat(O,"\n\t\t\theight: calc(").concat(O.replace(/\D/g,"")/2," * 1px);\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-box {\n\t\t\t").concat(H,"\n\t\t\t").concat(V,"\n\t\t\t").concat(B,"\n\t\t\t").concat(c?"background-color: ".concat(c,";"):"","\n\t\t\t").concat(d?"border-color: ".concat(d,";"):"","\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-box-fill {\n\t\t\t").concat(i?s?"background-image: ".concat(s,";"):"":l?"background-color: ".concat(l,";"):"",";\n\t\t}\n \t"),ue="\n\t\t.eb-progressbar-wrapper.".concat(o," {\n\t\t\t").concat(y,"\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-line, .eb-progressbar-wrapper.").concat(o," .eb-progressbar-line-fill {\n\t\t\t").concat(C,"\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-circle {\n\t\t\t").concat(M,"\n\t\t\t").concat(A,"\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-line-container {\n\t\t\t").concat(k,"\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-circle-inner-content {\n\t\t\tpadding: ").concat(T.replace(/\D/g,""),"px;\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-title {\n\t\t\t").concat(J,"\n\t\t\t").concat(K,"\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-count-wrap {\n\t\t\t").concat(ne,"\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-circle-half {\n\t\t\t").concat(T,"\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-circle-inner {\n\t\t\t").concat(T,"\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-half-circle-after {\n\t\t\t").concat(M,"\n\t\t\t").concat(le,"\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-half-circle {\n\t\t\t").concat(M,"\n\t\t\theight: calc(").concat(se.replace(/\D/g,"")/2," * 1px);\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-box {\n\t\t\t").concat(z,"\n\t\t\t").concat(W,"\n\t\t\t").concat(T,"\n\t\t}\n\t"),de="\n\t\t.eb-progressbar-wrapper.".concat(o," {\n\t\t\t").concat(v,"\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-line, .eb-progressbar-wrapper.").concat(o," .eb-progressbar-line-fill {\n\t\t\t").concat(x,"\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-circle {\n\t\t\t").concat(D,"\n\t\t\t").concat(L,"\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-line-container {\n\t\t\t").concat(R,"\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-circle-inner-content {\n\t\t\tpadding: ").concat(N.replace(/\D/g,""),"px;\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-title {\n\t\t\t").concat(Q,"\n\t\t\t").concat(ee,"\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-count-wrap {\n\t\t\t").concat(oe,"\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-circle-half {\n\t\t\t").concat(N,"\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-circle-inner {\n\t\t\t").concat(N,"\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-half-circle-after {\n\t\t\t").concat(D,"\n\t\t\t").concat(ie,"\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-box {\n\t\t\t").concat(q,"\n\t\t\t").concat(G,"\n\t\t\t").concat(N,"\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-half-circle {\n\t\t\t").concat(D,"\n\t\t\theight: calc(").concat(be.replace(/\D/g,"")/2," * 1px);\n\t\t}\n\t"),me="";u&&(me="\n\t\t\t.eb-progressbar-wrapper.".concat(o," .eb-progressbar-line-container {\n\t\t\t\tposition: relative;\n\t\t\t}\n\n\t\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-line-container .eb-progressbar-title {\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: 50%;\n\t\t\t\tleft: 0;\n\t\t\t\ttransform: translateY(-50%);\n\t\t\t\tz-index: 9;\n\t\t\t}\n\n\t\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-line-container .eb-progressbar-line .eb-progressbar-count-wrap {\n\t\t\t\tbottom: 50% !important;\n\t\t\t\ttransform: translateY(50%) !important;\n\t\t\t}\n\t\t"));var ge=cx("\n\t\t".concat(pe,"\n\t\t").concat(me,"\n\t")),fe=cx("\n\t\t".concat(ue,"\n\t")),ye=cx("\n\t\t".concat(de,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(bx,{attributes:t,setAttributes:a,desktopAllStyles:ge,tabAllStyles:fe,mobileAllStyles:ye,blockName:n}))}function dx(e){return dx="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},dx(e)}function mx(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function gx(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?mx(Object(a),!0).forEach((function(t){fx(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):mx(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function fx(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=dx(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=dx(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==dx(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var yx=window.EBControls,vx=(yx.duplicateBlockIdFix,yx.DynamicInputValueHandler),hx=yx.BlockProps,wx=window.EBControls.BlockProps;function kx(e){return kx="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},kx(e)}function Rx(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function _x(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Rx(Object(a),!0).forEach((function(t){Ex(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Rx(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Ex(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=kx(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=kx(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==kx(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const Cx=[{attributes:_x({},JC),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.layout,o=t.wrapperAlign,r=(t.titleTag,t.progress),c=t.displayProgress,l=t.animationDuration,i=t.title,s=t.showStripe,b=t.stripeAnimation,p=t.prefix,u=t.suffix,d=t.classHook,m=s?" "+PC[b]:"";return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(d)},React.createElement("div",{className:"eb-progressbar-wrapper ".concat(a)},React.createElement("div",{className:"eb-progressbar-".concat(TC[n],"-container ").concat(o)},("line"===n||"line_rainbow"===n)&&i&&React.createElement(t.titleTag,{className:"eb-progressbar-title"},i),React.createElement("div",{className:"eb-progressbar ".concat(NC[n]).concat(m),"data-layout":n,"data-count":r,"data-duration":l},("circle"===n||"circle_fill"===n)&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-progressbar-circle-pie"},React.createElement("div",{className:"eb-progressbar-circle-half-left eb-progressbar-circle-half"}),React.createElement("div",{className:"eb-progressbar-circle-half-right eb-progressbar-circle-half"})),React.createElement("div",{className:"eb-progressbar-circle-inner"}),React.createElement("div",{className:"eb-progressbar-circle-inner-content"},i&&React.createElement(t.titleTag,{className:"eb-progressbar-title"},i),c&&React.createElement("span",{className:"eb-progressbar-count-wrap"},React.createElement("span",{className:"eb-progressbar-count"},r),React.createElement("span",{className:"postfix"},"%")))),("half_circle"===n||"half_circle_fill"===n)&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-progressbar-circle"},React.createElement("div",{className:"eb-progressbar-circle-pie"},React.createElement("div",{className:"eb-progressbar-circle-half"})),React.createElement("div",{className:"eb-progressbar-circle-inner"})),React.createElement("div",{className:"eb-progressbar-circle-inner-content"},React.createElement(t.titleTag,{className:"eb-progressbar-title"},i),c&&React.createElement("span",{className:"eb-progressbar-count-wrap"},React.createElement("span",{className:"eb-progressbar-count"},r),React.createElement("span",{className:"postfix"},"%")))),("line"===n||"line_rainbow"===n)&&React.createElement(React.Fragment,null,c&&React.createElement("span",{className:"eb-progressbar-count-wrap"},React.createElement("span",{className:"eb-progressbar-count"},r),React.createElement("span",{className:"postfix"},"%")),React.createElement("span",{className:"eb-progressbar-line-fill"})),"box"===n&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-progressbar-box-inner-content"},React.createElement(t.titleTag,{className:"eb-progressbar-title"},i),c&&React.createElement("span",{className:"eb-progressbar-count-wrap"},React.createElement("span",{className:"eb-progressbar-count"},r),React.createElement("span",{className:"postfix"},"%"))),React.createElement("div",{className:"eb-progressbar-box-fill"}))),("half_circle"===n||"half_circle_fill"===n)&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-progressbar-half-circle-after"},React.createElement("span",{className:"eb-progressbar-prefix-label"},p),React.createElement("span",{className:"eb-progressbar-postfix-label"},u)))))))}},{attributes:_x({},JC),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.layout,o=t.wrapperAlign,r=(t.titleTag,t.progress),c=t.displayProgress,l=t.animationDuration,i=t.title,s=t.showStripe,b=t.stripeAnimation,p=t.prefix,u=t.suffix,d=s?" "+PC[b]:"";return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-progressbar-wrapper ".concat(a)},React.createElement("div",{className:"eb-progressbar-".concat(TC[n],"-container ").concat(o)},("line"===n||"line_rainbow"===n)&&i&&React.createElement(t.titleTag,{className:"eb-progressbar-title"},i),React.createElement("div",{className:"eb-progressbar ".concat(NC[n]).concat(d),"data-layout":n,"data-count":r,"data-duration":l},("circle"===n||"circle_fill"===n)&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-progressbar-circle-pie"},React.createElement("div",{className:"eb-progressbar-circle-half-left eb-progressbar-circle-half"}),React.createElement("div",{className:"eb-progressbar-circle-half-right eb-progressbar-circle-half"})),React.createElement("div",{className:"eb-progressbar-circle-inner"}),React.createElement("div",{className:"eb-progressbar-circle-inner-content"},i&&React.createElement(t.titleTag,{className:"eb-progressbar-title"},i),c&&React.createElement("span",{className:"eb-progressbar-count-wrap"},React.createElement("span",{className:"eb-progressbar-count"},r),React.createElement("span",{className:"postfix"},"%")))),("half_circle"===n||"half_circle_fill"===n)&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-progressbar-circle"},React.createElement("div",{className:"eb-progressbar-circle-pie"},React.createElement("div",{className:"eb-progressbar-circle-half"})),React.createElement("div",{className:"eb-progressbar-circle-inner"})),React.createElement("div",{className:"eb-progressbar-circle-inner-content"},React.createElement(t.titleTag,{className:"eb-progressbar-title"},i),c&&React.createElement("span",{className:"eb-progressbar-count-wrap"},React.createElement("span",{className:"eb-progressbar-count"},r),React.createElement("span",{className:"postfix"},"%")))),("line"===n||"line_rainbow"===n)&&React.createElement(React.Fragment,null,c&&React.createElement("span",{className:"eb-progressbar-count-wrap"},React.createElement("span",{className:"eb-progressbar-count"},r),React.createElement("span",{className:"postfix"},"%")),React.createElement("span",{className:"eb-progressbar-line-fill"})),"box"===n&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-progressbar-box-inner-content"},React.createElement(t.titleTag,{className:"eb-progressbar-title"},i),c&&React.createElement("span",{className:"eb-progressbar-count-wrap"},React.createElement("span",{className:"eb-progressbar-count"},r),React.createElement("span",{className:"postfix"},"%"))),React.createElement("div",{className:"eb-progressbar-box-fill"}))),("half_circle"===n||"half_circle_fill"===n)&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-progressbar-half-circle-after"},React.createElement("span",{className:"eb-progressbar-prefix-label"},p),React.createElement("span",{className:"eb-progressbar-postfix-label"},u))))))}}],xx=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Progress Bar","name":"essential-blocks/progress-bar","category":"essential-blocks","description":"Make your website interactive with stunning progress bars.","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');(0,EBControls.ebConditionalRegisterBlockType)(xx,{icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"57",height:"58",fill:"none",viewBox:"0 0 57 58"},React.createElement("path",{fill:"#6C3BFF",d:"M49.029 30.714H26.57V8.257c0-.686-.428-1.371-1.371-1.371C11.4 6.886.086 18.2.086 32.086.086 45.97 11.4 57.2 25.2 57.2s25.114-11.314 25.114-25.114c-.171-.943-.6-1.372-1.285-1.372zM25.2 54.457c-12.429 0-22.457-10.2-22.457-22.457C2.743 20.257 12 10.486 23.57 9.543h.515V32c0 .686.428 1.371 1.371 1.371h22.457v.429C46.714 45.2 37.03 54.457 25.2 54.457z"}),React.createElement("path",{fill:"#6C3BFF",d:"M50.143 9.2C45.343 3.714 38.57.8 31.37.8 30.686.8 30 1.229 30 2.171v23.743c0 .686.428 1.372 1.371 1.372h23.743c.686 0 1.372-.686 1.372-1.372C56.228 19.571 54 13.743 50.143 9.2zM48.086 11c3.171 3.6 5.228 8.4 5.657 13.371v.429H32.486V3.543h.428c5.914.171 11.314 2.914 15.172 7.457z"}))},attributes:JC,keywords:[(0,Y.__)("progress","essential-blocks"),(0,Y.__)("bar","essential-blocks"),(0,Y.__)("eb essential","essential-blocks")],edit:function(e){var t=e.isSelected,a=e.attributes,n=e.setAttributes,o=(e.className,e.clientId,e.name,(0,J.useRef)(null)),r=(0,J.useRef)(null),c=(0,J.useRef)(null),l=(0,J.useRef)(null),i=(0,J.useRef)(null),s=(0,J.useRef)(null),b=a.blockId,p=(a.blockMeta,a.resOption,a.layout),u=a.wrapperAlign,d=a.titleTag,m=a.progress,g=a.displayProgress,f=a.animationDuration,y=a.title,v=a.showStripe,h=a.stripeAnimation,w=a.prefix,k=a.suffix,R=a.classHook;(0,J.useEffect)((function(){"line"==p||"line_rainbow"===p?l.current.style.width="unset":"box"===p?s.current.style.height="unset":"circle"===p||"circle_fill"===p?(o.current.style.transform="rotate(0deg)",c.current.style.clipPath="",r.current.style.visibility=""):"half_circle"!==p&&"half_circle_fill"!==p||(i.current.style.transform="rotate(0deg)",i.current.style.transition="none");var e="",t=setTimeout((function(){var t=0;if(0==t){t=1;var a=0,n=m;"circle"===p||"circle_fill"===p?n=3.6*m:"half_circle"!==p&&"half_circle_fill"!==p||(n=1.8*m),e=setInterval((function(){"circle"!==p&&"circle_fill"!==p||(a>180?(c.current.style.clipPath="inset(0)",r.current.style.visibility="visible"):(c.current.style.clipPath="",r.current.style.visibility="")),a>=n?(clearInterval(e),t=0):(a++,"line"==p||"line_rainbow"===p?l.current.style.width=a+"%":"box"===p&&(s.current.style.height=a+"%"),"circle"===p||"circle_fill"===p?o.current.style.transform="rotate("+a+"deg)":"half_circle"!==p&&"half_circle_fill"!==p||(i.current.style.transform="rotate("+a+"deg)"))}),10)}}),500);return function(){clearInterval(e),clearTimeout(t)}}),[p,m,f]);var _=gx(gx({},e),{},{blockPrefix:"eb-progressbar",style:React.createElement(ux,e)}),E=v?" "+PC[h]:"";return React.createElement(React.Fragment,null,t&&React.createElement(ox,e),React.createElement(Q.BlockControls,null,React.createElement(Q.AlignmentToolbar,{value:u,onChange:function(e){return n({wrapperAlign:e})}})),React.createElement(hx.Edit,_,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(b," ").concat(R)},React.createElement("div",{className:"eb-progressbar-wrapper ".concat(b)},React.createElement("div",{className:"eb-progressbar-".concat(TC[p],"-container ").concat(u)},("line"===p||"line_rainbow"===p)&&y&&React.createElement(vx,{value:y,tagName:d,className:"eb-progressbar-title",onChange:function(e){return n({title:e})},readOnly:!0}),React.createElement("div",{className:"eb-progressbar ".concat(NC[p]).concat(E)},("circle"===p||"circle_fill"===p)&&React.createElement(React.Fragment,null,React.createElement("div",{class:"eb-progressbar-circle-pie",ref:c},React.createElement("div",{className:"eb-progressbar-circle-half-left eb-progressbar-circle-half",ref:o}),React.createElement("div",{className:"eb-progressbar-circle-half-right eb-progressbar-circle-half",ref:r})),React.createElement("div",{className:"eb-progressbar-circle-inner"}),React.createElement("div",{className:"eb-progressbar-circle-inner-content"},y&&React.createElement(vx,{value:y,tagName:d,className:"eb-progressbar-title",onChange:function(e){return n({title:e})},readOnly:!0}),g&&React.createElement("span",{className:"eb-progressbar-count-wrap"},React.createElement("span",{className:"eb-progressbar-count"},m),React.createElement("span",{className:"postfix"},"%")))),("half_circle"===p||"half_circle_fill"===p)&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-progressbar-circle"},React.createElement("div",{className:"eb-progressbar-circle-pie"},React.createElement("div",{className:"eb-progressbar-circle-half",ref:i})),React.createElement("div",{className:"eb-progressbar-circle-inner"})),React.createElement("div",{className:"eb-progressbar-circle-inner-content"},y&&React.createElement(vx,{value:y,tagName:d,className:"eb-progressbar-title",onChange:function(e){return n({title:e})},readOnly:!0}),g&&React.createElement("span",{className:"eb-progressbar-count-wrap"},React.createElement("span",{className:"eb-progressbar-count"},m),React.createElement("span",{className:"postfix"},"%")))),("line"===p||"line_rainbow"===p)&&React.createElement(React.Fragment,null,g&&React.createElement("span",{class:"eb-progressbar-count-wrap"},React.createElement("span",{class:"eb-progressbar-count"},m),React.createElement("span",{class:"postfix"},"%")),React.createElement("span",{class:"eb-progressbar-line-fill",ref:l})),"box"===p&&React.createElement(React.Fragment,null,React.createElement("div",{class:"eb-progressbar-box-inner-content"},y&&React.createElement(vx,{value:y,tagName:d,className:"eb-progressbar-title",onChange:function(e){return n({title:e})},readOnly:!0}),g&&React.createElement("span",{class:"eb-progressbar-count-wrap"},React.createElement("span",{class:"eb-progressbar-count"},m),React.createElement("span",{class:"postfix"},"%"))),React.createElement("div",{class:"eb-progressbar-box-fill",ref:s}))),("half_circle"===p||"half_circle_fill"===p)&&React.createElement(React.Fragment,null,React.createElement("div",{class:"eb-progressbar-half-circle-after"},React.createElement("span",{class:"eb-progressbar-prefix-label"},w),React.createElement("span",{class:"eb-progressbar-postfix-label"},k))))))))},save:function(e){var t=e.attributes,a=t.blockId,n=t.layout,o=t.wrapperAlign,r=(t.titleTag,t.progress),c=t.displayProgress,l=t.animationDuration,i=t.title,s=t.showStripe,b=t.stripeAnimation,p=t.prefix,u=t.suffix,d=t.classHook,m=s?" "+PC[b]:"";return React.createElement(wx.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(d)},React.createElement("div",{className:"eb-progressbar-wrapper ".concat(a)},React.createElement("div",{className:"eb-progressbar-".concat(TC[n],"-container ").concat(o)},("line"===n||"line_rainbow"===n)&&i&&React.createElement(t.titleTag,{className:"eb-progressbar-title"},i),React.createElement("div",{className:"eb-progressbar ".concat(NC[n]).concat(m),"data-layout":n,"data-count":r,"data-duration":l},("circle"===n||"circle_fill"===n)&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-progressbar-circle-pie"},React.createElement("div",{className:"eb-progressbar-circle-half-left eb-progressbar-circle-half"}),React.createElement("div",{className:"eb-progressbar-circle-half-right eb-progressbar-circle-half"})),React.createElement("div",{className:"eb-progressbar-circle-inner"}),React.createElement("div",{className:"eb-progressbar-circle-inner-content"},i&&React.createElement(t.titleTag,{className:"eb-progressbar-title"},i),c&&React.createElement("span",{className:"eb-progressbar-count-wrap"},React.createElement("span",{className:"eb-progressbar-count"},r),React.createElement("span",{className:"postfix"},"%")))),("half_circle"===n||"half_circle_fill"===n)&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-progressbar-circle"},React.createElement("div",{className:"eb-progressbar-circle-pie"},React.createElement("div",{className:"eb-progressbar-circle-half"})),React.createElement("div",{className:"eb-progressbar-circle-inner"})),React.createElement("div",{className:"eb-progressbar-circle-inner-content"},React.createElement(t.titleTag,{className:"eb-progressbar-title"},i),c&&React.createElement("span",{className:"eb-progressbar-count-wrap"},React.createElement("span",{className:"eb-progressbar-count"},r),React.createElement("span",{className:"postfix"},"%")))),("line"===n||"line_rainbow"===n)&&React.createElement(React.Fragment,null,c&&React.createElement("span",{className:"eb-progressbar-count-wrap"},React.createElement("span",{className:"eb-progressbar-count"},r),React.createElement("span",{className:"postfix"},"%")),React.createElement("span",{className:"eb-progressbar-line-fill"})),"box"===n&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-progressbar-box-inner-content"},React.createElement(t.titleTag,{className:"eb-progressbar-title"},i),c&&React.createElement("span",{className:"eb-progressbar-count-wrap"},React.createElement("span",{className:"eb-progressbar-count"},r),React.createElement("span",{className:"postfix"},"%"))),React.createElement("div",{className:"eb-progressbar-box-fill"}))),("half_circle"===n||"half_circle_fill"===n)&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-progressbar-half-circle-after"},React.createElement("span",{className:"eb-progressbar-prefix-label"},p),React.createElement("span",{className:"eb-progressbar-postfix-label"},u)))))))},example:{attributes:{title:"Progress"}},deprecated:Cx});var Sx="wrprBg",Bx="wrpMargin",Tx="wrpPadding",Nx="wrpBorderShadow",Px="titleMargin",Ox="subtitleMargin",Mx="buttonMargin",Dx="buttonPadding",jx="buttonBorderShadow",Ix="buttonMargin",Ax="buttonPadding",Lx="buttonBorderShadow",Fx="slideToShow",Hx="sliderHeight",zx="dotsGap",qx="arrowPosition",Ux="dotsPosition",Vx="arrowSize",Wx="dotsSize",Gx="slidesGap",Zx=[{label:"Normal",value:"normal"},{label:"Hover",value:"hover"}],Yx=[{label:(0,Y.__)("Top","essential-blocks"),value:"flex-start"},{label:(0,Y.__)("Middle","essential-blocks"),value:"center"},{label:(0,Y.__)("Bottom","essential-blocks"),value:"flex-end"}],Jx=[{label:(0,Y.__)("Left","essential-blocks"),value:"left"},{label:(0,Y.__)("Right","essential-blocks"),value:"right"},{label:(0,Y.__)("Center","essential-blocks"),value:"center"},{label:(0,Y.__)("Justify","essential-blocks"),value:"justify"}],Qx=[{label:(0,Y.__)("Image Only","essential-blocks"),value:"image"},{label:(0,Y.__)("Image with Content","essential-blocks"),value:"content"}],Xx=[{label:(0,Y.__)("Content Overlay","essential-blocks"),value:"content-1"},{label:(0,Y.__)("Content Bottom","essential-blocks"),value:"content-2"},{label:(0,Y.__)("Content Right","essential-blocks"),value:"content-3"},{label:(0,Y.__)("Content Left","essential-blocks"),value:"content-4"}],$x=[{label:"px",value:"px"},{label:"%",value:"%"},{label:"vh",value:"vh"}],Kx=[{label:"px",value:"px"},{label:"em",value:"em"},{label:"vh",value:"vh"}],eS=[{label:"px",value:"px"},{label:"em",value:"em"}],tS=((0,Y.__)("Style 1","essential-blocks"),(0,Y.__)("Modern 1","essential-blocks"),(0,Y.__)("Modern 2","essential-blocks"),(0,Y.__)("Modern 3","essential-blocks"),[{label:"H1",value:"h1"},{label:"H2",value:"h2"},{label:"H3",value:"h3"},{label:"H4",value:"h4"},{label:"H5",value:"h5"},{label:"H6",value:"h6"},{label:"P",value:"p"},{label:"Span",value:"span"}]),aS="titleTypo",nS="subtitleTypo",oS="buttonTypo",rS="button2Typo";function cS(e){return cS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},cS(e)}function lS(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function iS(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?lS(Object(a),!0).forEach((function(t){sS(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):lS(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function sS(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=cS(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=cS(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==cS(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var bS=window.EBControls,pS=bS.generateDimensionsAttributes,uS=bS.generateTypographyAttributes,dS=bS.generateBackgroundAttributes,mS=bS.generateBorderShadowAttributes,gS=bS.generateResponsiveRangeAttributes;const fS=iS(iS(iS(iS(iS(iS(iS(iS(iS(iS(iS(iS(iS(iS(iS(iS(iS(iS(iS(iS(iS({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},sliderType:{type:"string",default:"image"},sliderContentType:{type:"string",default:"content-1"},images:{type:"array",default:[]},arrows:{type:"boolean",default:!0},adaptiveHeight:{type:"boolean",default:!1},autoplay:{type:"bolean",default:!0},autoplaySpeed:{type:"number",default:3e3},dots:{type:"boolean",default:!0},fade:{type:"boolean",default:!1},infinite:{type:"boolean",default:!0},vertical:{type:"boolean",default:!1},pauseOnHover:{type:"boolean",default:!0},isCustomHeight:{type:"boolean",default:!0},slidesToShow:{type:"number",default:1},speed:{type:"number",default:500},initialSlide:{type:"number",default:0},titleColor:{type:"string",default:"var(--eb-global-heading-color)"},subtitleColor:{type:"string",default:"var(--eb-global-text-color)"},buttonColorType:{type:"string",default:"normal"},buttonColor:{type:"string",default:"var(--eb-global-button-text-color)"},buttonHoverColor:{type:"string",default:"var(--eb-global-button-text-color)"},buttonBGColor:{type:"string",default:"var(--eb-global-button-background-color)"},buttonHoverBGColor:{type:"string",default:"var(--eb-global-tertiary-color)"},secondButtonColorType:{type:"string",default:"normal"},secondButtonColor:{type:"string",default:"var(--eb-global-button-text-color)"},secondButtonHoverColor:{type:"string",default:"var(--eb-global-button-text-color)"},secondButtonBGColor:{type:"string",default:"var(--eb-global-tertiary-color)"},secondButtonHoverBGColor:{type:"string",default:"var(--eb-global-button-background-color)"},overlayColor:{type:"string",default:"rgb(234 233 235 / 75%)"},arrowColorType:{type:"string",default:"normal"},arrowColor:{type:"string",default:"var(--eb-global-primary-color)"},arrowHoverColor:{type:"string",default:"var(--eb-global-tertiary-color)"},dotsColor:{type:"string",default:"var(--eb-global-secondary-color)"},dotsActiveColor:{type:"string",default:"var(--eb-global-primary-color)"},textAlign:{type:"string",default:"left"},verticalAlign:{type:"string",default:"center"},isRTLEnable:{type:"boolean",default:!1},arrowPrevIcon:{type:"string",default:"fas fa-arrow-alt-circle-left"},arrowNextIcon:{type:"string",default:"fas fa-arrow-alt-circle-right"},titleTag:{type:"string",default:"h2"},contentTag:{type:"string",default:"p"}},uS(Object.values(k))),pS(Bx)),pS(Tx,{top:0,bottom:30,right:0,left:0,isLinked:!1})),pS(Px,{top:0,bottom:20,right:0,left:0,isLinked:!1})),pS(Ox,{top:0,bottom:20,right:0,left:0,isLinked:!1})),pS(Mx,{top:0,bottom:20,right:0,left:0,isLinked:!1})),pS(Dx,{top:10,bottom:10,right:30,left:30,isLinked:!1})),pS(Ix,{top:0,bottom:20,right:10,left:0,isLinked:!1})),pS(Ax,{top:10,bottom:10,right:30,left:30,isLinked:!1})),mS(Nx,{bdrDefaults:{top:0,bottom:0,right:0,left:0}})),mS(jx,{bdrDefaults:{top:1,bottom:1,right:1,left:1}})),mS(Lx,{bdrDefaults:{top:1,bottom:1,right:1,left:1}})),dS(Sx,{defaultBgGradient:"linear-gradient(45deg,#ffffff,#ffffff)",noOverlay:!0})),gS(Fx,{defaultRange:1})),gS(Hx,{defaultRange:400})),gS(zx,{defaultRange:10})),gS(qx,{defaultRange:-25})),gS(Ux,{defaultRange:-25})),gS(Vx,{defaultRange:20})),gS(Wx,{defaultRange:10})),gS(Gx,{defaultRange:5}));function yS(e){return yS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yS(e)}function vS(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function hS(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?vS(Object(a),!0).forEach((function(t){wS(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):vS(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function wS(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=yS(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=yS(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==yS(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var kS=function(e,t,a,n){n({images:a.map((function(a){return a.id==t?hS(hS({},a),{},{title:e}):a}))})},RS=function(e,t,a,n){n({images:a.map((function(a){return a.id==t?hS(hS({},a),{},{subtitle:e}):a}))})},_S=function(e,t,a,n){n({images:a.map((function(a){return a.id==t?hS(hS({},a),{},{buttonText:e}):a}))})},ES=function(e){return!!new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i").test(e)},CS=function(e,t,a,n){var o=e.length>0&&ES(e);n({images:a.map((function(a){return a.id==t?hS(hS({},a),{},{buttonUrl:e,isValidUrl:o}):a}))})},xS=function(e,t,a,n){n({images:a.map((function(a){return a.id==t?hS(hS({},a),{},{openNewTab:!0===e}):a}))})},SS=function(e,t,a,n){n({images:a.map((function(a){return a.id==t?hS(hS({},a),{},{secondButtonText:e}):a}))})},BS=window.EBControls,TS=BS.ResponsiveDimensionsControl,NS=BS.TypographyDropdown,PS=BS.BorderShadowControl,OS=BS.ResponsiveRangeController,MS=BS.BackgroundControl,DS=BS.ColorControl,jS=BS.AdvancedControls,IS=BS.stripHtmlTags,AS=BS.faArrowIcons,LS=BS.EBIconPicker;const FS=function(e){var t=e.attributes,a=e.setAttributes,n=e.slider,o=t.resOption,r=t.sliderType,c=t.sliderContentType,l=t.images,i=t.arrows,s=t.adaptiveHeight,b=t.autoplay,p=t.autoplaySpeed,u=t.dots,d=t.fade,m=t.infinite,g=t.vertical,f=t.pauseOnHover,y=t.isCustomHeight,v=t.speed,h=t.titleColor,w=t.subtitleColor,k=t.buttonColorType,R=t.buttonColor,_=t.buttonHoverColor,E=t.buttonBGColor,C=t.buttonHoverBGColor,x=t.secondButtonColorType,S=t.secondButtonColor,B=t.secondButtonHoverColor,T=t.secondButtonBGColor,N=t.secondButtonHoverBGColor,P=t.overlayColor,O=t.arrowColorType,M=t.arrowColor,D=t.arrowHoverColor,j=t.dotsColor,I=t.dotsActiveColor,A=t.textAlign,L=t.verticalAlign,F=t.arrowPrevIcon,H=t.arrowNextIcon,z=t.titleTag,q=t.contentTag,U={setAttributes:a,resOption:o,attributes:t,objAttributes:fS};return React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:"General",className:"eb-tab general"},{name:"styles",title:"Style",className:"eb-tab styles"},{name:"advance",title:"Advanced",className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls"+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("General","essential-blocks")},React.createElement(X.SelectControl,{label:(0,Y.__)("Slider Type","essential-blocks"),value:r,options:Qx,onChange:function(e){return a({sliderType:e})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Arrows","essential-blocks"),checked:i,onChange:function(){a({arrows:!i})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Adaptive Height","essential-blocks"),checked:s,onChange:function(){a({adaptiveHeight:!s})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Autoplay","essential-blocks"),checked:b,onChange:function(){b?n.current.slickPlay():n.current.slickPause(),a({autoplay:!b})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Dots","essential-blocks"),checked:u,onChange:function(){return a({dots:!u})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Fade","essential-blocks"),checked:d,onChange:function(){return a({fade:!d})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Infinite","essential-blocks"),checked:m,onChange:function(){return a({infinite:!m})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Vertical Slide","essential-blocks"),checked:g,onChange:function(){return a({vertical:!g})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Pause on Hover","essential-blocks"),checked:f,onChange:function(){return a({pauseOnHover:!f})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Custom Height","essential-blocks"),checked:y,onChange:function(){return a({isCustomHeight:!y})}}),y&&React.createElement(OS,{baseLabel:(0,Y.__)("Image Height","essential-blocks"),controlName:Hx,resRequiredProps:U,units:Kx,min:1,max:1200,step:1}),!d&&React.createElement(OS,{baseLabel:(0,Y.__)("Slides to Show","essential-blocks"),controlName:Fx,resRequiredProps:U,units:[],min:1,max:8,step:1}),b&&React.createElement(X.RangeControl,{label:(0,Y.__)("Autoplay Speed","essential-blocks"),value:p,onChange:function(e){return a({autoplaySpeed:e})},min:0,max:8e3}),React.createElement(X.RangeControl,{label:(0,Y.__)("Animation Speed","essential-blocks"),value:v,onChange:function(e){return a({speed:e})},min:0,max:3e3}),i&&React.createElement(React.Fragment,null,React.createElement(LS,{value:F,onChange:function(e){return a({arrowPrevIcon:e})},title:(0,Y.__)("Arrow Prev Icon","essential-blocks"),icons:{fontAwesome:AS},disableDashicon:!0}),React.createElement(LS,{value:H,onChange:function(e){return a({arrowNextIcon:e})},title:(0,Y.__)("Arrow Next Icon","essential-blocks"),icons:{fontAwesome:AS},disableDashicon:!0}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Slides","essential-blocks")},"content"===r&&React.createElement(React.Fragment,null,React.createElement(X.SelectControl,{label:(0,Y.__)("Content Styles","essential-blocks"),value:c,options:Xx,onChange:function(e){return a({sliderContentType:e})}}),React.createElement(X.SelectControl,{label:(0,Y.__)("Title Tag","essential-blocks"),value:z,options:tS,onChange:function(e){a({titleTag:e})}}),React.createElement(X.SelectControl,{label:(0,Y.__)("Content Tag","essential-blocks"),value:q,options:tS,onChange:function(e){a({contentTag:e})}}),React.createElement(X.__experimentalDivider,null)),l.map((function(e,t){return React.createElement(X.PanelBody,{title:e.title&&e.title.length>0?IS(e.title):"Slider "+(t+1),initialOpen:!1,onToggle:function(){return a({initialSlide:t})},className:"eb-slider-item-single-panel",key:t},"content"===r&&React.createElement(React.Fragment,null,React.createElement(X.TextControl,{label:(0,Y.__)("Title Text","essential-blocks"),value:e.title,onChange:function(e){return kS(e,t,l,a)}}),React.createElement(X.TextareaControl,{label:(0,Y.__)("Subtitle","essential-blocks"),value:e.subtitle,onChange:function(e){return RS(e,t,l,a)}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Button","essential-blocks"),checked:e.showButton,onChange:function(){return function(e,t,a,n){n({images:a.map((function(a){return a.id==t?hS(hS({},a),{},{showButton:e}):a}))})}(!e.showButton,t,l,a)}}),e.showButton&&React.createElement(React.Fragment,null,React.createElement(X.TextControl,{label:(0,Y.__)("Button Text","essential-blocks"),value:e.buttonText,onChange:function(e){return _S(e,t,l,a)}}),React.createElement(X.TextControl,{label:(0,Y.__)("Button URL","essential-blocks"),value:e.buttonUrl,onChange:function(e){return CS(e,t,l,a)}}),e.buttonUrl&&e.buttonUrl.length>0&&!e.isValidUrl&&React.createElement("span",{className:"error"},"URL is not valid"),React.createElement(X.ToggleControl,{label:(0,Y.__)("Open in New Tab","essential-blocks"),checked:e.openNewTab,onChange:function(){return xS(!e.openNewTab,t,l,a)}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Add Second Button","essential-blocks"),checked:e.showSecondButton,onChange:function(){return function(e,t,a,n){n({images:a.map((function(a){return a.id==t?hS(hS({},a),{},{showSecondButton:e}):a}))})}(!e.showSecondButton,t,l,a)}}),e.showSecondButton&&React.createElement(React.Fragment,null,React.createElement(X.TextControl,{label:(0,Y.__)("Second Button Text","essential-blocks"),value:e.secondButtonText,onChange:function(e){return SS(e,t,l,a)}}),React.createElement(X.TextControl,{label:(0,Y.__)("Second Button URL","essential-blocks"),value:e.secondButtonUrl,onChange:function(e){return function(e,t,a,n){var o=e.length>0&&ES(e);n({images:a.map((function(a){return a.id==t?hS(hS({},a),{},{secondButtonUrl:e,isValidUrl:o}):a}))})}(e,t,l,a)}}),e.secondButtonUrl&&e.secondButtonUrl.length>0&&!e.isValidUrl&&React.createElement("span",{className:"error"},"URL is not valid"),React.createElement(X.ToggleControl,{label:(0,Y.__)("Open in New Tab","essential-blocks"),checked:e.secondButtonOpenNewTab,onChange:function(){return function(e,t,a,n){n({images:a.map((function(a){return a.id==t?hS(hS({},a),{},{secondButtonOpenNewTab:!0===e}):a}))})}(!e.secondButtonOpenNewTab,t,l,a)}})))),"image"===r&&React.createElement(React.Fragment,null,React.createElement(X.TextControl,{label:(0,Y.__)("URL","essential-blocks"),value:e.buttonUrl,onChange:function(e){return CS(e,t,l,a)}}),e.buttonUrl&&e.buttonUrl.length>0&&!e.isValidUrl&&React.createElement("span",{className:"error"},"URL is not valid"),React.createElement(X.ToggleControl,{label:(0,Y.__)("Open in New Tab","essential-blocks"),checked:e.openNewTab,onChange:function(){return xS(!e.openNewTab,t,l,a)}})))})))),"styles"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Settings","essential-blocks"),initialOpen:!0},React.createElement(OS,{baseLabel:(0,Y.__)("Slides Gap","essential-blocks"),controlName:Gx,resRequiredProps:U,units:[],min:0,max:100,step:1}),"content"===r&&"content-1"===c&&React.createElement(DS,{label:(0,Y.__)("Overlay Color","essential-blocks"),color:P,onChange:function(e){return a({overlayColor:e})}}),"content"===r&&React.createElement(React.Fragment,null,React.createElement(X.PanelRow,null,"Text Align"),React.createElement(X.ButtonGroup,null,Jx.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:A===e.value,isSecondary:A!==e.value,onClick:function(){return a({textAlign:e.value})}},e.label)}))),"content-2"!=c&&React.createElement(React.Fragment,null,React.createElement(X.PanelRow,null,"Vertical Align"),React.createElement(X.ButtonGroup,null,Yx.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:L===e.value,isSecondary:L!==e.value,onClick:function(){return a({verticalAlign:e.value})}},e.label)})))))),"content"===r&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Title","essential-blocks"),initialOpen:!1},React.createElement(DS,{label:(0,Y.__)("Color","essential-blocks"),color:h,onChange:function(e){return a({titleColor:e})}}),React.createElement(NS,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:aS,resRequiredProps:U}),React.createElement(TS,{resRequiredProps:U,controlName:Px,baseLabel:"Margin"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Subtitle","essential-blocks"),initialOpen:!1},React.createElement(DS,{label:(0,Y.__)("Color","essential-blocks"),color:w,onChange:function(e){return a({subtitleColor:e})}}),React.createElement(NS,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:nS,resRequiredProps:U}),React.createElement(TS,{resRequiredProps:U,controlName:Ox,baseLabel:"Margin"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Button","essential-blocks"),initialOpen:!1},React.createElement(X.ButtonGroup,{className:"eb-inspector-btn-group"},Zx.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:k===e.value,isSecondary:k!==e.value,onClick:function(){return a({buttonColorType:e.value})}},e.label)}))),"normal"===k&&React.createElement(React.Fragment,null,React.createElement(DS,{label:(0,Y.__)("Color","essential-blocks"),color:R,onChange:function(e){return a({buttonColor:e})}}),React.createElement(DS,{label:(0,Y.__)("Background Color","essential-blocks"),color:E,onChange:function(e){return a({buttonBGColor:e})}})),"hover"===k&&React.createElement(React.Fragment,null,React.createElement(DS,{label:(0,Y.__)("Color","essential-blocks"),color:_,onChange:function(e){return a({buttonHoverColor:e})}}),React.createElement(DS,{label:(0,Y.__)("Background Color","essential-blocks"),color:C,onChange:function(e){return a({buttonHoverBGColor:e})}})),React.createElement(X.PanelRow,null,"Button Border & Shadow"),React.createElement(PS,{controlName:jx,resRequiredProps:U}),React.createElement(NS,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:oS,resRequiredProps:U}),React.createElement(TS,{resRequiredProps:U,controlName:Mx,baseLabel:"Margin"}),React.createElement(TS,{resRequiredProps:U,controlName:Dx,baseLabel:"Padding"}),React.createElement(X.PanelBody,{title:(0,Y.__)("Second Button","essential-blocks"),initialOpen:!1},React.createElement(X.ButtonGroup,{className:"eb-inspector-btn-group"},Zx.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:x===e.value,isSecondary:x!==e.value,onClick:function(){return a({secondButtonColorType:e.value})}},e.label)}))),"normal"===x&&React.createElement(React.Fragment,null,React.createElement(DS,{label:(0,Y.__)("Color","essential-blocks"),color:S,onChange:function(e){return a({secondButtonColor:e})}}),React.createElement(DS,{label:(0,Y.__)("Background Color","essential-blocks"),color:T,onChange:function(e){return a({secondButtonBGColor:e})}})),"hover"===x&&React.createElement(React.Fragment,null,React.createElement(DS,{label:(0,Y.__)("Color","essential-blocks"),color:B,onChange:function(e){return a({secondButtonHoverColor:e})}}),React.createElement(DS,{label:(0,Y.__)("Background Color","essential-blocks"),color:N,onChange:function(e){return a({secondButtonHoverBGColor:e})}})),React.createElement(X.PanelRow,null,"Button Border & Shadow"),React.createElement(PS,{controlName:Lx,resRequiredProps:U}),React.createElement(NS,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:rS,resRequiredProps:U}),React.createElement(TS,{resRequiredProps:U,controlName:Ix,baseLabel:"Margin"}),React.createElement(TS,{resRequiredProps:U,controlName:Ax,baseLabel:"Padding"})))),i&&React.createElement(X.PanelBody,{title:(0,Y.__)("Arrow","essential-blocks"),initialOpen:!1},React.createElement(X.ButtonGroup,{className:"eb-inspector-btn-group"},Zx.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:O===e.value,isSecondary:O!==e.value,onClick:function(){return a({arrowColorType:e.value})}},e.label)}))),"normal"===O&&React.createElement(DS,{label:(0,Y.__)("Color","essential-blocks"),color:M,onChange:function(e){return a({arrowColor:e})}}),"hover"===O&&React.createElement(DS,{label:(0,Y.__)("Hover Color","essential-blocks"),color:D,onChange:function(e){return a({arrowHoverColor:e})}}),React.createElement(OS,{baseLabel:(0,Y.__)("Arrow Size","essential-blocks"),controlName:Vx,resRequiredProps:U,units:eS,min:1,max:50,step:1}),React.createElement(OS,{baseLabel:(0,Y.__)("Arrow Position","essential-blocks"),controlName:qx,resRequiredProps:U,units:$x,min:-50,max:100,step:1})),u&&React.createElement(X.PanelBody,{title:(0,Y.__)("Dot","essential-blocks"),initialOpen:!1},React.createElement(DS,{label:(0,Y.__)("Color","essential-blocks"),color:j,onChange:function(e){return a({dotsColor:e})}}),React.createElement(DS,{label:(0,Y.__)("Active Color","essential-blocks"),color:I,onChange:function(e){return a({dotsActiveColor:e})}}),React.createElement(OS,{baseLabel:(0,Y.__)("Dots Size","essential-blocks"),controlName:Wx,resRequiredProps:U,units:eS,min:1,max:50,step:1}),React.createElement(OS,{baseLabel:(0,Y.__)("Dots Gap","essential-blocks"),controlName:zx,resRequiredProps:U,units:$x,min:0,max:50,step:1}),React.createElement(OS,{baseLabel:(0,Y.__)("Dots Position","essential-blocks"),controlName:Ux,resRequiredProps:U,units:$x,min:-50,max:100,step:1}))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,null,React.createElement(TS,{resRequiredProps:U,controlName:Bx,baseLabel:"Margin"}),React.createElement(TS,{resRequiredProps:U,controlName:Tx,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Background","essential-blocks"),initialOpen:!1},React.createElement(MS,{controlName:Sx,resRequiredProps:U,noOverlay:!0})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(PS,{controlName:Nx,resRequiredProps:U})),React.createElement(jS,{attributes:t,setAttributes:a})))}))))};var HS=window.EBControls,zS=HS.softMinifyCssStrings,qS=HS.generateTypographyStyles,US=HS.generateDimensionsControlStyles,VS=HS.generateBorderShadowStyles,WS=HS.generateResponsiveRangeStyles,GS=HS.generateBackgroundControlStyles,ZS=HS.StyleComponent;function YS(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=(t.resOption,t.blockId),r=(t.blockMeta,t.sliderType),c=t.sliderContentType,l=t.isCustomHeight,i=(t.speed,t.initialSlide,t.titleColor),s=t.subtitleColor,b=t.buttonColor,p=t.buttonHoverColor,u=t.buttonBGColor,d=t.buttonHoverBGColor,m=t.secondButtonColor,g=t.secondButtonHoverColor,f=t.secondButtonBGColor,y=t.secondButtonHoverBGColor,v=t.overlayColor,h=t.arrowColor,w=t.arrowHoverColor,k=t.dotsColor,R=t.dotsActiveColor,_=t.textAlign,E=t.verticalAlign,C=(t.classHook,qS({attributes:t,prefixConstant:aS,defaultFontSize:24})),x=C.typoStylesDesktop,S=C.typoStylesTab,B=C.typoStylesMobile,T=qS({attributes:t,prefixConstant:nS,defaultFontSize:16}),N=T.typoStylesDesktop,P=T.typoStylesTab,O=T.typoStylesMobile,M=qS({attributes:t,prefixConstant:oS,defaultFontSize:14}),D=M.typoStylesDesktop,j=M.typoStylesTab,I=M.typoStylesMobile,A=qS({attributes:t,prefixConstant:rS,defaultFontSize:14}),L=A.typoStylesDesktop,F=A.typoStylesTab,H=A.typoStylesMobile,z=US({controlName:Bx,styleFor:"margin",attributes:t}),q=z.dimensionStylesDesktop,U=z.dimensionStylesTab,V=z.dimensionStylesMobile,W=US({controlName:Tx,styleFor:"padding",attributes:t}),G=W.dimensionStylesDesktop,Z=W.dimensionStylesTab,Y=W.dimensionStylesMobile,J=US({controlName:Px,styleFor:"margin",attributes:t}),Q=J.dimensionStylesDesktop,X=J.dimensionStylesTab,$=J.dimensionStylesMobile,K=US({controlName:Ox,styleFor:"margin",attributes:t}),ee=K.dimensionStylesDesktop,te=K.dimensionStylesTab,ae=K.dimensionStylesMobile,ne=US({controlName:Mx,styleFor:"margin",attributes:t}),oe=ne.dimensionStylesDesktop,re=ne.dimensionStylesTab,ce=ne.dimensionStylesMobile,le=US({controlName:Dx,styleFor:"padding",attributes:t}),ie=le.dimensionStylesDesktop,se=le.dimensionStylesTab,be=le.dimensionStylesMobile,pe=US({controlName:Ix,styleFor:"margin",attributes:t}),ue=pe.dimensionStylesDesktop,de=pe.dimensionStylesTab,me=pe.dimensionStylesMobile,ge=US({controlName:Ax,styleFor:"padding",attributes:t}),fe=ge.dimensionStylesDesktop,ye=ge.dimensionStylesTab,ve=ge.dimensionStylesMobile,he=WS({controlName:Hx,property:"height",attributes:t}),we=he.rangeStylesDesktop,ke=he.rangeStylesTab,Re=he.rangeStylesMobile,_e=WS({controlName:Fx,property:"",attributes:t}),Ee=(_e.rangeStylesDesktop,_e.rangeStylesTab,_e.rangeStylesMobile,WS({controlName:zx,property:"margin-right",attributes:t})),Ce=Ee.rangeStylesDesktop,xe=Ee.rangeStylesTab,Se=Ee.rangeStylesMobile,Be=WS({controlName:qx,property:"left",attributes:t}),Te=Be.rangeStylesDesktop,Ne=Be.rangeStylesTab,Pe=Be.rangeStylesMobile,Oe=WS({controlName:qx,property:"right",attributes:t}),Me=Oe.rangeStylesDesktop,De=Oe.rangeStylesTab,je=Oe.rangeStylesMobile,Ie=WS({controlName:Vx,property:"font-size",attributes:t}),Ae=Ie.rangeStylesDesktop,Le=Ie.rangeStylesTab,Fe=Ie.rangeStylesMobile,He=WS({controlName:Wx,property:"font-size",attributes:t}),ze=He.rangeStylesDesktop,qe=He.rangeStylesTab,Ue=He.rangeStylesMobile,Ve=WS({controlName:Gx,property:"padding",attributes:t}),We=Ve.rangeStylesDesktop,Ge=Ve.rangeStylesTab,Ze=Ve.rangeStylesMobile,Ye=WS({controlName:Ux,property:"bottom",attributes:t}),Je=Ye.rangeStylesDesktop,Qe=Ye.rangeStylesTab,Xe=Ye.rangeStylesMobile,$e=GS({attributes:t,controlName:Sx,noOverlay:!0}),Ke=$e.backgroundStylesDesktop,et=($e.hoverBackgroundStylesDesktop,$e.backgroundStylesTab),tt=($e.hoverBackgroundStylesTab,$e.backgroundStylesMobile),at=($e.hoverBackgroundStylesMobile,$e.bgTransitionStyle),nt=VS({controlName:Nx,attributes:t}),ot=nt.styesDesktop,rt=nt.styesTab,ct=nt.styesMobile,lt=nt.stylesHoverDesktop,it=nt.stylesHoverTab,st=nt.stylesHoverMobile,bt=nt.transitionStyle,pt=VS({controlName:jx,attributes:t}),ut=pt.styesDesktop,dt=pt.styesTab,mt=pt.styesMobile,gt=pt.stylesHoverDesktop,ft=pt.stylesHoverTab,yt=pt.stylesHoverMobile,vt=pt.transitionStyle,ht=VS({controlName:Lx,attributes:t}),wt=ht.styesDesktop,kt=ht.styesTab,Rt=ht.styesMobile,_t=ht.stylesHoverDesktop,Et=ht.stylesHoverTab,Ct=ht.stylesHoverMobile,xt=ht.transitionStyle,St="\n\t\t.eb-slider-wrapper.".concat(o,"{\n\t\t\t").concat(q,"\n\t\t\t").concat(G,"\n\t\t\t").concat(ot,"\n\t\t\ttransition: ").concat(bt,", ").concat(at,";\n\t\t\t").concat(Ke,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o,":hover {\n\t\t\t").concat(lt,"\n\t\t}\n\t"),Bt="\n\t\t.eb-slider-wrapper.".concat(o,"{\n\t\t\t").concat(U,"\n\t\t\t").concat(Z,"\n\t\t\t").concat(rt,"\n\t\t\t").concat(et,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o,":hover {\n\t\t\t").concat(it,"\n\t\t}\n\t"),Tt="\n\t\t.eb-slider-wrapper.".concat(o,"{\n\t\t\t").concat(V,"\n\t\t\t").concat(Y,"\n\t\t\t").concat(ct,"\n\t\t\t").concat(tt,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o,":hover {\n\t\t\t").concat(st,"\n\t\t}\n\t"),Nt='\n        [dir="rtl"] .eb-slider-wrapper.'.concat(o,' .slick-prev {\n            left: auto;\n        }\n        [dir="rtl"] .eb-slider-wrapper.').concat(o," .slick-slide {\n            pointer-events: auto;\n        }\n    "),Pt="\n\t\t.eb-slider-wrapper.".concat(o," .slick-slide > * {\n\t\t\t").concat(We,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .eb-slider-type-content .eb-slider-item {\n\t\t\ttext-align: ").concat(_,";\n\t\t\talign-items: ").concat(E,";\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .slick-slider .eb-slider-item img {\n\t\t\t").concat(l?we:"","\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .eb-slider-type-content .eb-slider-item.content-1 .eb-slider-content {\n\t\t\tbackground-color: ").concat(v,";\n\t\t\tjustify-content: ").concat(E,";\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .eb-slider-type-content .eb-slider-item .eb-slider-content .eb-slider-title {\n\t\t\tcolor: ").concat(i,";\n\t\t\t").concat(Q,"\n\t\t\t").concat(x,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .eb-slider-type-content .eb-slider-item .eb-slider-content .eb-slider-subtitle {\n\t\t\tcolor: ").concat(s,";\n\t\t\t").concat(ee,"\n\t\t\t").concat(N,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .eb-slider-type-content .eb-slider-item .eb-slider-content .eb-slider-button {\n\t\t\tcolor: ").concat(b,";\n\t\t\tbackground-color: ").concat(u,";\n\t\t\t").concat(oe,"\n\t\t\t").concat(ie,"\n\t\t\t").concat(D,"\n\t\t\t").concat(ut,"\n\t\t\ttransition: ").concat(vt,";\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .eb-slider-type-content .eb-slider-item .eb-slider-content .eb-slider-button:hover {\n\t\t\tcolor: ").concat(p,";\n\t\t\tbackground-color: ").concat(d,";\n\t\t\t").concat(D,"\n\t\t\t").concat(gt,"\n\t\t}\n\n\t\t.eb-slider-wrapper.").concat(o," .eb-slider-type-content .eb-slider-item .eb-slider-content .eb-slider-second-button {\n\t\t\tcolor: ").concat(m,";\n\t\t\tbackground-color: ").concat(f,";\n\t\t\t").concat(ue,"\n\t\t\t").concat(fe,"\n\t\t\t").concat(L,"\n\t\t\t").concat(wt,"\n\t\t\ttransition: ").concat(xt,";\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .eb-slider-type-content .eb-slider-item .eb-slider-content .eb-slider-second-button:hover {\n\t\t\tcolor: ").concat(g,";\n\t\t\tbackground-color: ").concat(y,";\n\t\t\t").concat(L,"\n\t\t\t").concat(_t,"\n\t\t}\n\t"),Ot="\n\t\t.eb-slider-wrapper.".concat(o," .slick-slide > * {\n\t\t\t").concat(Ge,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .slick-slider .eb-slider-item img {\n\t\t\t").concat(l&&("image"===r||"content"===r&&"content-1"===c)?ke:"","\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .eb-slider-type-content .eb-slider-item .eb-slider-content .eb-slider-title {\n\t\t\t").concat(X,"\n\t\t\t").concat(S,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .eb-slider-type-content .eb-slider-item .eb-slider-content .eb-slider-subtitle {\n\t\t\t").concat(te,"\n\t\t\t").concat(P,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .eb-slider-type-content .eb-slider-item .eb-slider-content .eb-slider-button {\n\t\t\t").concat(re,"\n\t\t\t").concat(se,"\n\t\t\t").concat(j,"\n\t\t\t").concat(dt,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .eb-slider-type-content .eb-slider-item .eb-slider-content .eb-slider-button:hover {\n\t\t\t").concat(j,"\n\t\t\t").concat(ft,"\n\t\t}\n\n        .eb-slider-wrapper.").concat(o," .eb-slider-type-content .eb-slider-item .eb-slider-content .eb-slider-second-button {\n\t\t\t").concat(de,"\n\t\t\t").concat(ye,"\n\t\t\t").concat(F,"\n\t\t\t").concat(kt,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .eb-slider-type-content .eb-slider-item .eb-slider-content .eb-slider-second-button:hover {\n\t\t\t").concat(F,"\n\t\t\t").concat(Et,"\n\t\t}\n\t"),Mt="\n\t\t.eb-slider-wrapper.".concat(o," .slick-slide > * {\n\t\t\t").concat(Ze,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .slick-slider .eb-slider-item img {\n\t\t\t").concat(l&&("image"===r||"content"===r&&"content-1"===c)?Re:"","\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .eb-slider-type-content .eb-slider-item .eb-slider-content .eb-slider-title {\n\t\t\t").concat($,"\n\t\t\t").concat(B,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .eb-slider-type-content .eb-slider-item .eb-slider-content .eb-slider-subtitle {\n\t\t\t").concat(ae,"\n\t\t\t").concat(O,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .eb-slider-type-content .eb-slider-item .eb-slider-content .eb-slider-button {\n\t\t\t").concat(ce,"\n\t\t\t").concat(be,"\n\t\t\t").concat(I,"\n\t\t\t").concat(mt,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .eb-slider-type-content .eb-slider-item .eb-slider-content .eb-slider-button:hover {\n\t\t\t").concat(I,"\n\t\t\t").concat(yt,"\n\t\t}\n        .eb-slider-wrapper.").concat(o," .eb-slider-type-content .eb-slider-item .eb-slider-content .eb-slider-second-button {\n\t\t\t").concat(me,"\n\t\t\t").concat(ve,"\n\t\t\t").concat(H,"\n\t\t\t").concat(Rt,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .eb-slider-type-content .eb-slider-item .eb-slider-content .eb-slider-second-button:hover {\n\t\t\t").concat(H,"\n\t\t\t").concat(Ct,"\n\t\t}\n\t"),Dt="\n\t\t.eb-slider-wrapper.".concat(o," .slick-prev {\n\t\t\t").concat(Te,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .slick-next {\n\t\t\t").concat(Me,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .slick-prev i,\n\t\t.eb-slider-wrapper.").concat(o," .slick-next i {\n\t\t\tcolor: ").concat(h," !important;\n\t\t\t").concat(Ae,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .slick-prev i:hover,\n\t\t.eb-slider-wrapper.").concat(o," .slick-next i:hover {\n\t\t\tcolor: ").concat(w," !important;\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .slick-dots {\n\t\t\t").concat(Je,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .slick-dots li {\n\t\t\t").concat(Ce,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .slick-dots li button:before {\n\t\t\tcolor: ").concat(k," !important;\n\t\t\t").concat(ze,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .slick-dots li.slick-active button:before {\n\t\t\tcolor: ").concat(R," !important;\n\t\t}\n\t"),jt="\n\t\t.eb-slider-wrapper.".concat(o," .slick-prev {\n\t\t\t").concat(Ne,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .slick-next {\n\t\t\t").concat(De,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .slick-prev i,\n\t\t.eb-slider-wrapper.").concat(o," .slick-next i {\n\t\t\t").concat(Le,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .slick-dots {\n\t\t\t").concat(Qe,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .slick-dots li {\n\t\t\t").concat(xe,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .slick-dots li button:before {\n\t\t\t").concat(qe,"\n\t\t}\n\t"),It="\n\t\t.eb-slider-wrapper.".concat(o," .slick-prev {\n\t\t\t").concat(Pe,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .slick-next {\n\t\t\t").concat(je,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .slick-prev i,\n\t\t.eb-slider-wrapper.").concat(o," .slick-next i {\n\t\t\t").concat(Fe,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .slick-dots {\n\t\t\t").concat(Xe,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .slick-dots li {\n\t\t\t").concat(Se,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .slick-dots li button:before {\n\t\t\t").concat(Ue,"\n\t\t}\n\t"),At=zS("\n\t\t".concat(St,"\n\t\t").concat(Pt,"\n\t\t").concat(Dt,"\n        ").concat(Nt,"\n\t")),Lt=zS("\n\t\t".concat(Bt,"\n\t\t").concat(Ot,"\n\t\t").concat(jt,"\n\t")),Ft=zS("\n\t\t".concat(Tt,"\n\t\t").concat(Mt,"\n\t\t").concat(It,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(ZS,{attributes:t,setAttributes:a,desktopAllStyles:At,tabAllStyles:Lt,mobileAllStyles:Ft,blockName:n}))}var JS=a(4589);function QS(e){return QS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},QS(e)}function XS(){return XS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},XS.apply(null,arguments)}function $S(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function KS(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?$S(Object(a),!0).forEach((function(t){eB(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):$S(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function eB(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=QS(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=QS(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==QS(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var tB=window.EBControls,aB=tB.generateResponsiveRangeStyles,nB=tB.isValidHtml,oB=tB.EBDisplayIcon,rB=tB.sanitizeURL,cB=tB.BlockProps,lB=window.EBControls,iB=lB.sanitizeURL,sB=lB.BlockProps;var bB,pB,uB,dB;const mB={attributes:{images:[{url:(null===(bB=EssentialBlocksLocalize)||void 0===bB?void 0:bB.eb_plugins_url)+"assets/images/gallery-images/Maldive.jpg"},{url:(null===(pB=EssentialBlocksLocalize)||void 0===pB?void 0:pB.eb_plugins_url)+"assets/images/gallery-images/Australia.jpg"},{url:(null===(uB=EssentialBlocksLocalize)||void 0===uB?void 0:uB.eb_plugins_url)+"assets/images/gallery-images/hongkong.jpg"},{url:(null===(dB=EssentialBlocksLocalize)||void 0===dB?void 0:dB.eb_plugins_url)+"assets/images/gallery-images/iceland.jpg"}]}};function gB(e){return gB="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gB(e)}function fB(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function yB(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?fB(Object(a),!0).forEach((function(t){vB(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):fB(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function vB(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=gB(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=gB(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==gB(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var hB=window.EBControls.sanitizeURL;const wB=[{attributes:yB({},fS),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.sliderType,o=t.sliderContentType,r=t.images,c=t.arrows,l=t.adaptiveHeight,i=t.autoplay,s=t.autoplaySpeed,b=t.dots,p=t.fade,u=t.infinite,d=t.vertical,m=t.pauseOnHover,g=t.speed,f=(t.initialSlide,t.textAlign),y=t.classHook,v=t.arrowNextIcon,h=t.arrowPrevIcon,w=(t.dotPreset,t.isRTLEnable),k=t.titleTag,R=t.contentTag,_={arrows:c,adaptiveHeight:l,autoplay:i,autoplaySpeed:s,dots:b,fade:p,infinite:u,pauseOnHover:m,slidesToShow:t.slideToShowRange,speed:g,vertical:d,currentSlide:0,rtl:w,responsive:[{breakpoint:1025,settings:{slidesToShow:t.TABslideToShowRange||t.slideToShowRange}},{breakpoint:767,settings:{slidesToShow:t.MOBslideToShowRange||t.slideToShowRange}}]},E="content"===n?"eb-slider-type-content":"eb-slider-type-image";return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(y)},React.createElement("div",{className:"eb-slider-wrapper ".concat(a),"data-settings":JSON.stringify(_),"data-images":JSON.stringify(r),"data-sliderContentType":o,"data-sliderType":n,"data-textAlign":f,"data-arrowNextIcon":v,"data-arrowPrevIcon":h,"data-titleTag":k,"data-contentTag":R},React.createElement("div",{className:E},r.map((function(e,t){return React.createElement("div",{className:"eb-slider-item ".concat(o),key:t},React.createElement("img",{className:"eb-slider-image",src:e.url}),"content"===n&&React.createElement("div",{className:"eb-slider-content align-".concat(f)},e.title&&e.title.length>0&&React.createElement(Q.RichText.Content,{tagName:"h2",className:"eb-slider-title",value:e.title}),e.subtitle&&e.subtitle.length>0&&React.createElement(Q.RichText.Content,{tagName:"p",className:"eb-slider-subtitle",value:e.subtitle}),React.createElement("div",{className:"eb-slider-button-wrapper"},e.showButton&&e.buttonText&&e.buttonText.length>0&&React.createElement("a",{href:e.buttonUrl&&e.isValidUrl?e.buttonUrl:"",className:"eb-slider-button",target:e.openNewTab?"_blank":"_self",rel:"noopener"},React.createElement(Q.RichText.Content,{value:e.buttonText})),e.showSecondButton&&e.secondButtonText&&e.secondButtonText.length>0&&React.createElement("a",{href:e.secondButtonUrl&&e.isValidUrl?e.secondButtonUrl:"",className:"eb-slider-button",target:e.secondButtonOpenNewTab?"_blank":"_self",rel:"noopener"},React.createElement(Q.RichText.Content,{value:e.secondButtonText})))))}))))))}},{attributes:yB({},fS),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.sliderType,o=t.sliderContentType,r=t.images,c=t.arrows,l=t.adaptiveHeight,i=t.autoplay,s=t.autoplaySpeed,b=t.dots,p=t.fade,u=t.infinite,d=t.vertical,m=t.pauseOnHover,g=t.speed,f=(t.initialSlide,t.textAlign),y=t.classHook,v=t.arrowNextIcon,h=t.arrowPrevIcon,w=(t.dotPreset,t.isRTLEnable),k=t.titleTag,R=t.contentTag,_={arrows:c,adaptiveHeight:l,autoplay:i,autoplaySpeed:s,dots:b,fade:p,infinite:u,pauseOnHover:m,slidesToShow:t.slideToShowRange,speed:g,vertical:d,currentSlide:0,rtl:w,responsive:[{breakpoint:1025,settings:{slidesToShow:t.TABslideToShowRange||t.slideToShowRange}},{breakpoint:767,settings:{slidesToShow:t.MOBslideToShowRange||t.slideToShowRange}}]},E="content"===n?"eb-slider-type-content":"eb-slider-type-image";return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(y)},React.createElement("div",{className:"eb-slider-wrapper ".concat(a),"data-settings":JSON.stringify(_),"data-images":JSON.stringify(r),"data-sliderContentType":o,"data-sliderType":n,"data-textAlign":f,"data-arrowNextIcon":v,"data-arrowPrevIcon":h,"data-titleTag":k,"data-contentTag":R},React.createElement("div",{className:E},r.map((function(e,t){return React.createElement("div",{className:"eb-slider-item ".concat(o),key:t},React.createElement("img",{className:"eb-slider-image",src:e.url}),"content"===n&&React.createElement("div",{className:"eb-slider-content align-".concat(f)},e.title&&e.title.length>0&&React.createElement(Q.RichText.Content,{tagName:"h2",className:"eb-slider-title",value:e.title}),e.subtitle&&e.subtitle.length>0&&React.createElement(Q.RichText.Content,{tagName:"p",className:"eb-slider-subtitle",value:e.subtitle}),React.createElement("div",{className:"eb-slider-button-wrapper"},e.showButton&&e.buttonText&&e.buttonText.length>0&&React.createElement("a",{href:e.buttonUrl&&e.isValidUrl?hB(e.buttonUrl):"#",className:"eb-slider-button",target:e.openNewTab?"_blank":"_self",rel:"noopener"},React.createElement(Q.RichText.Content,{value:e.buttonText})),e.showSecondButton&&e.secondButtonText&&e.secondButtonText.length>0&&React.createElement("a",{href:e.secondButtonUrl&&e.isValidUrl?hB(e.secondButtonUrl):"#",className:"eb-slider-button",target:e.secondButtonOpenNewTab?"_blank":"_self",rel:"noopener"},React.createElement(Q.RichText.Content,{value:e.secondButtonText})))))}))))))}},{attributes:yB({},fS),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.sliderType,o=t.sliderContentType,r=t.images,c=t.arrows,l=t.adaptiveHeight,i=t.autoplay,s=t.autoplaySpeed,b=t.dots,p=t.fade,u=t.infinite,d=t.vertical,m=t.pauseOnHover,g=t.speed,f=(t.initialSlide,t.textAlign),y=t.classHook,v=t.arrowNextIcon,h=t.arrowPrevIcon,w=(t.dotPreset,t.isRTLEnable),k=t.titleTag,R=t.contentTag,_={arrows:c,adaptiveHeight:l,autoplay:i,autoplaySpeed:s,dots:b,fade:p,infinite:u,pauseOnHover:m,slidesToShow:t.slideToShowRange,speed:g,vertical:d,currentSlide:0,rtl:w,responsive:[{breakpoint:1025,settings:{slidesToShow:t.TABslideToShowRange||t.slideToShowRange}},{breakpoint:767,settings:{slidesToShow:t.MOBslideToShowRange||t.slideToShowRange}}]},E="content"===n?"eb-slider-type-content":"eb-slider-type-image";return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(y)},React.createElement("div",{className:"eb-slider-wrapper ".concat(a),"data-settings":JSON.stringify(_),"data-images":JSON.stringify(r),"data-sliderContentType":o,"data-sliderType":n,"data-textAlign":f,"data-arrowNextIcon":v,"data-arrowPrevIcon":h,"data-titleTag":k,"data-contentTag":R},React.createElement("div",{className:E},r.map((function(e,t){return React.createElement("div",{className:"eb-slider-item ".concat(o),key:t},React.createElement("img",{className:"eb-slider-image",src:e.url}),"content"===n&&React.createElement("div",{className:"eb-slider-content align-".concat(f)},e.title&&e.title.length>0&&React.createElement(Q.RichText.Content,{tagName:"h2",className:"eb-slider-title",value:e.title}),e.subtitle&&e.subtitle.length>0&&React.createElement(Q.RichText.Content,{tagName:"p",className:"eb-slider-subtitle",value:e.subtitle}),React.createElement("div",{className:"eb-slider-button-wrapper"},e.showButton&&e.buttonText&&e.buttonText.length>0&&React.createElement("a",{href:e.buttonUrl&&e.isValidUrl?e.buttonUrl:"#",className:"eb-slider-button",target:e.openNewTab?"_blank":"_self",rel:"noopener"},React.createElement(Q.RichText.Content,{value:e.buttonText})),e.showSecondButton&&e.secondButtonText&&e.secondButtonText.length>0&&React.createElement("a",{href:e.secondButtonUrl&&e.isValidUrl?e.secondButtonUrl:"#",className:"eb-slider-button",target:e.secondButtonOpenNewTab?"_blank":"_self",rel:"noopener"},React.createElement(Q.RichText.Content,{value:e.secondButtonText})))))}))))))}},{attributes:yB({},fS),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.sliderType,o=t.sliderContentType,r=t.images,c=t.arrows,l=t.adaptiveHeight,i=t.autoplay,s=t.autoplaySpeed,b=t.dots,p=t.fade,u=t.infinite,d=t.vertical,m=t.pauseOnHover,g=t.speed,f=(t.initialSlide,t.textAlign),y=t.classHook,v=t.arrowNextIcon,h=t.arrowPrevIcon,w=(t.dotPreset,t.isRTLEnable),k=t.titleTag,R=t.contentTag,_={arrows:c,adaptiveHeight:l,autoplay:i,autoplaySpeed:s,dots:b,fade:p,infinite:u,pauseOnHover:m,slidesToShow:t.slideToShowRange,speed:g,vertical:d,currentSlide:0,rtl:w,responsive:[{breakpoint:1025,settings:{slidesToShow:t.TABslideToShowRange||t.slideToShowRange}},{breakpoint:767,settings:{slidesToShow:t.MOBslideToShowRange||t.slideToShowRange}}]};return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(y)},React.createElement("div",{className:"eb-slider-wrapper ".concat(a),"data-settings":JSON.stringify(_),"data-images":JSON.stringify(r),"data-sliderContentType":o,"data-sliderType":n,"data-textAlign":f,"data-arrowNextIcon":v,"data-arrowPrevIcon":h,"data-titleTag":k,"data-contentTag":R},React.createElement("div",{className:n},r.map((function(e,t){return React.createElement("div",{className:"eb-slider-item ".concat(o),key:t},React.createElement("img",{className:"eb-slider-image",src:e.url}),"content"===n&&React.createElement("div",{className:"eb-slider-content align-".concat(f)},e.title&&e.title.length>0&&React.createElement(Q.RichText.Content,{tagName:"h2",className:"eb-slider-title",value:e.title}),e.subtitle&&e.subtitle.length>0&&React.createElement(Q.RichText.Content,{tagName:"p",className:"eb-slider-subtitle",value:e.subtitle}),React.createElement("div",{className:"eb-slider-button-wrapper"},e.showButton&&e.buttonText&&e.buttonText.length>0&&React.createElement("a",{href:e.buttonUrl&&e.isValidUrl?hB(e.buttonUrl):"#",className:"eb-slider-button",target:e.openNewTab?"_blank":"_self",rel:"noopener"},React.createElement(Q.RichText.Content,{value:e.buttonText})),e.showSecondButton&&e.secondButtonText&&e.secondButtonText.length>0&&React.createElement("a",{href:e.secondButtonUrl&&e.isValidUrl?hB(e.secondButtonUrl):"#",className:"eb-slider-button",target:e.secondButtonOpenNewTab?"_blank":"_self",rel:"noopener"},React.createElement(Q.RichText.Content,{value:e.secondButtonText})))))}))))))}},{attributes:(0,nt.omit)(yB({},fS),["titleTag","contentTag"]),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.sliderType,o=t.sliderContentType,r=t.images,c=t.arrows,l=t.adaptiveHeight,i=t.autoplay,s=t.autoplaySpeed,b=t.dots,p=t.fade,u=t.infinite,d=t.vertical,m=t.pauseOnHover,g=t.speed,f=(t.initialSlide,t.textAlign),y=t.classHook,v=t.arrowNextIcon,h=t.arrowPrevIcon,w=(t.dotPreset,t.isRTLEnable),k={arrows:c,adaptiveHeight:l,autoplay:i,autoplaySpeed:s,dots:b,fade:p,infinite:u,pauseOnHover:m,slidesToShow:t.slideToShowRange,speed:g,vertical:d,currentSlide:0,rtl:w,responsive:[{breakpoint:1025,settings:{slidesToShow:t.TABslideToShowRange||t.slideToShowRange}},{breakpoint:767,settings:{slidesToShow:t.MOBslideToShowRange||t.slideToShowRange}}]};return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(y)},React.createElement("div",{className:"eb-slider-wrapper ".concat(a),"data-settings":JSON.stringify(k),"data-images":JSON.stringify(r),"data-sliderContentType":o,"data-sliderType":n,"data-textAlign":f,"data-arrowNextIcon":v,"data-arrowPrevIcon":h},React.createElement("div",{className:n},r.map((function(e,t){return React.createElement("div",{className:"eb-slider-item ".concat(o),key:t},React.createElement("img",{className:"eb-slider-image",src:e.url}),"content"===n&&React.createElement("div",{className:"eb-slider-content align-".concat(f)},e.title&&e.title.length>0&&React.createElement(Q.RichText.Content,{tagName:"h2",className:"eb-slider-title",value:e.title}),e.subtitle&&e.subtitle.length>0&&React.createElement(Q.RichText.Content,{tagName:"p",className:"eb-slider-subtitle",value:e.subtitle}),React.createElement("div",{className:"eb-slider-button-wrapper"},e.showButton&&e.buttonText&&e.buttonText.length>0&&React.createElement("a",{href:e.buttonUrl&&e.isValidUrl?hB(e.buttonUrl):"#",className:"eb-slider-button",target:e.openNewTab?"_blank":"_self",rel:"noopener"},React.createElement(Q.RichText.Content,{value:e.buttonText})),e.showSecondButton&&e.secondButtonText&&e.secondButtonText.length>0&&React.createElement("a",{href:e.secondButtonUrl&&e.isValidUrl?hB(e.secondButtonUrl):"#",className:"eb-slider-button",target:e.secondButtonOpenNewTab?"_blank":"_self",rel:"noopener"},React.createElement(Q.RichText.Content,{value:e.secondButtonText})))))}))))))}},{attributes:(0,nt.omit)(yB({},fS),["isRTLEnable"]),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.sliderType,o=t.sliderContentType,r=t.images,c=t.arrows,l=t.adaptiveHeight,i=t.autoplay,s=t.autoplaySpeed,b=t.dots,p=t.fade,u=t.infinite,d=t.vertical,m=t.pauseOnHover,g=t.speed,f=(t.initialSlide,t.textAlign),y=t.classHook,v=t.dotPreset,h={arrows:c,adaptiveHeight:l,autoplay:i,autoplaySpeed:s,dots:b,fade:p,infinite:u,pauseOnHover:m,slidesToShow:t.slideToShowRange,speed:g,vertical:d,responsive:[{breakpoint:1025,settings:{slidesToShow:t.TABslideToShowRange||t.slideToShowRange}},{breakpoint:767,settings:{slidesToShow:t.MOBslideToShowRange||t.slideToShowRange}}]};return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(y)},React.createElement("div",{className:"eb-slider-wrapper ".concat(a," ").concat(v),"data-settings":JSON.stringify(h),"data-images":JSON.stringify(r),"data-sliderContentType":o,"data-sliderType":n,"data-textAlign":f},React.createElement("div",{className:n},r.map((function(e,t){return React.createElement("div",{className:"eb-slider-item ".concat(o),key:t},React.createElement("img",{className:"eb-slider-image",src:e.url}),"content"===n&&React.createElement("div",{className:"eb-slider-content align-".concat(f)},e.title&&e.title.length>0&&React.createElement(Q.RichText.Content,{tagName:"h2",className:"eb-slider-title",value:e.title}),e.subtitle&&e.subtitle.length>0&&React.createElement(Q.RichText.Content,{tagName:"p",className:"eb-slider-subtitle",value:e.subtitle}),e.showButton&&e.buttonText&&e.buttonText.length>0&&React.createElement("a",{href:e.buttonUrl&&e.isValidUrl?hB(e.buttonUrl):"#",className:"eb-slider-button",target:e.openNewTab?"_blank":"_self",rel:"noopener"},React.createElement(Q.RichText.Content,{value:e.buttonText}))))}))))))}},{attributes:(0,nt.omit)(yB({},fS),["dotPreset"]),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.sliderType,o=t.sliderContentType,r=t.images,c=t.arrows,l=t.adaptiveHeight,i=t.autoplay,s=t.autoplaySpeed,b=t.dots,p=t.fade,u=t.infinite,d=t.vertical,m=t.pauseOnHover,g=t.speed,f=t.initialSlide,y=t.textAlign,v=t.classHook,h={arrows:c,adaptiveHeight:l,autoplay:i,autoplaySpeed:s,dots:b,fade:p,infinite:u,pauseOnHover:m,slidesToShow:t.slideToShowRange,speed:g,initialSlide:f,vertical:d,responsive:[{breakpoint:1025,settings:{slidesToShow:t.TABslideToShowRange||t.slideToShowRange}},{breakpoint:767,settings:{slidesToShow:t.MOBslideToShowRange||t.slideToShowRange}}]};return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(v)},React.createElement("div",{className:"eb-slider-wrapper ".concat(a),"data-settings":JSON.stringify(h),"data-images":JSON.stringify(r),"data-sliderContentType":o,"data-sliderType":n,"data-textAlign":y},React.createElement("div",{className:n},r.map((function(e,t){return React.createElement("div",{className:"eb-slider-item ".concat(o),key:t},React.createElement("img",{className:"eb-slider-image",src:e.url}),"content"===n&&React.createElement("div",{className:"eb-slider-content align-".concat(y)},e.title&&e.title.length>0&&React.createElement(Q.RichText.Content,{tagName:"h2",className:"eb-slider-title",value:e.title}),e.subtitle&&e.subtitle.length>0&&React.createElement(Q.RichText.Content,{tagName:"p",className:"eb-slider-subtitle",value:e.subtitle}),e.showButton&&e.buttonText&&e.buttonText.length>0&&React.createElement("a",{href:e.buttonUrl&&e.isValidUrl?hB(e.buttonUrl):"#",className:"eb-slider-button",target:e.openNewTab?"_blank":"_self",rel:"noopener"},React.createElement(Q.RichText.Content,{value:e.buttonText}))))}))))))}},{attributes:yB({},fS),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.sliderType,o=t.sliderContentType,r=t.images,c=t.arrows,l=t.adaptiveHeight,i=t.autoplay,s=t.autoplaySpeed,b=t.dots,p=t.fade,u=t.infinite,d=t.vertical,m=t.pauseOnHover,g=t.speed,f=t.initialSlide,y=t.textAlign,v=t.classHook,h={arrows:c,adaptiveHeight:l,autoplay:i,autoplaySpeed:s,dots:b,fade:p,infinite:u,pauseOnHover:m,slidesToShow:t.slideToShowRange,speed:g,initialSlide:f,vertical:d,responsive:[{breakpoint:1025,settings:{slidesToShow:t.TABslideToShowRange||t.slideToShowRange}},{breakpoint:767,settings:{slidesToShow:t.MOBslideToShowRange||t.slideToShowRange}}]};return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(v)},React.createElement("div",{className:"eb-slider-wrapper ".concat(a),"data-settings":JSON.stringify(h),"data-images":JSON.stringify(r),"data-sliderContentType":o,"data-sliderType":n,"data-textAlign":y},React.createElement("div",{className:n},r.map((function(e,t){return React.createElement("div",{className:"eb-slider-item ".concat(o),key:t},React.createElement("img",{className:"eb-slider-image",src:e.url}),"content"===n&&React.createElement("div",{className:"eb-slider-content align-".concat(y)},e.title&&e.title.length>0&&React.createElement(Q.RichText.Content,{tagName:"h2",className:"eb-slider-title",value:e.title}),e.subtitle&&e.subtitle.length>0&&React.createElement(Q.RichText.Content,{tagName:"p",className:"eb-slider-subtitle",value:e.subtitle}),e.showButton&&e.buttonText&&e.buttonText.length>0&&React.createElement("a",{href:e.buttonUrl&&e.isValidUrl?hB(e.buttonUrl):"#",className:"eb-slider-button",target:e.openNewTab?"_blank":"_self",rel:"noopener"},React.createElement(Q.RichText.Content,{value:e.buttonText}))))}))))))}},{attributes:yB({},fS),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.sliderType,o=t.sliderContentType,r=t.images,c=t.arrows,l=t.adaptiveHeight,i=t.autoplay,s=t.autoplaySpeed,b=t.dots,p=t.fade,u=t.infinite,d=t.vertical,m=t.pauseOnHover,g=t.speed,f=t.initialSlide,y=t.textAlign,v={arrows:c,adaptiveHeight:l,autoplay:i,autoplaySpeed:s,dots:b,fade:p,infinite:u,pauseOnHover:m,slidesToShow:t.slideToShowRange,speed:g,initialSlide:f,vertical:d,responsive:[{breakpoint:1025,settings:{slidesToShow:t.TABslideToShowRange}},{breakpoint:767,settings:{slidesToShow:t.MOBslideToShowRange}}]};return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-slider-wrapper ".concat(a),"data-settings":JSON.stringify(v),"data-images":JSON.stringify(r),"data-sliderContentType":o,"data-sliderType":n,"data-textAlign":y},React.createElement("div",{className:n},r.map((function(e,t){return React.createElement("div",{className:"eb-slider-item ".concat(o),key:t},React.createElement("img",{className:"eb-slider-image",src:e.url}),"content"===n&&React.createElement("div",{className:"eb-slider-content align-".concat(y)},e.title&&e.title.length>0&&React.createElement("h2",{className:"eb-slider-title"},e.title),e.subtitle&&e.subtitle.length>0&&React.createElement("p",{className:"eb-slider-subtitle"},e.subtitle),e.showButton&&e.buttonText&&e.buttonText.length>0&&React.createElement("a",{href:e.buttonUrl&&e.isValidUrl?hB(e.buttonUrl):"#",className:"eb-slider-button",target:e.openNewTab?"_blank":"_self",rel:"noopener"},e.buttonText)))})))))}}],kB=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Slider","name":"essential-blocks/slider","description":"Display multiple images and content in beautiful slider & reduce page scroll","category":"essential-blocks","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');(0,EBControls.ebConditionalRegisterBlockType)(kB,{keywords:[(0,Y.__)("slider","essential-blocks"),(0,Y.__)("carousel","essential-blocks"),(0,Y.__)("images","essential-blocks")],icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"60",fill:"none",viewBox:"0 0 60 60"},React.createElement("path",{fill:"#6C3BFF",d:"M55.543 34.8c-.343 0-.6-.086-.857-.343a1.243 1.243 0 010-1.8l2.057-2.143L54.77 27.6c-.428-.6-.257-1.371.343-1.8.6-.429 1.372-.257 1.8.343L60 30.77l-3.514 3.686c-.257.172-.6.343-.943.343zM4.457 34.8c-.343 0-.686-.171-.943-.429L0 30.686l3.086-4.629c.428-.6 1.2-.771 1.8-.343.6.429.771 1.2.343 1.8L3.257 30.43 5.4 32.57a1.243 1.243 0 010 1.8c-.343.258-.6.429-.943.429zM45.429 55.886H14.657C11.571 55.886 9 53.314 9 50.229V9.77c0-3.085 2.571-5.657 5.657-5.657H45.43c3.085 0 5.657 2.572 5.657 5.657V50.23c0 3.085-2.572 5.657-5.657 5.657zm-30.772-49.2a3.073 3.073 0 00-3.086 3.085V50.23a3.073 3.073 0 003.086 3.085H45.43a3.073 3.073 0 003.085-3.085V9.77a3.073 3.073 0 00-3.085-3.085H14.657z"}),React.createElement("path",{fill:"#6C3BFF",d:"M28.457 46.114L19.714 35.4l-8.4 10.629L9.257 44.4l10.457-13.029 9 10.972 20.229-19.029 1.8 1.886-22.286 20.914zM37.971 22.371a4.207 4.207 0 01-4.2-4.2c0-2.314 1.886-4.2 4.2-4.2 2.315 0 4.2 1.886 4.2 4.2.086 2.315-1.885 4.2-4.2 4.2zm0-6c-1.028 0-1.8.858-1.8 1.8 0 1.029.858 1.8 1.8 1.8.943 0 1.8-.857 1.8-1.8.086-1.028-.771-1.8-1.8-1.8z"}))},example:mB,attributes:fS,edit:function(e){var t=e.attributes,a=e.setAttributes,n=(e.className,e.clientId,e.isSelected),o=(e.name,t.resOption,t.blockId),r=(t.blockMeta,t.sliderType),c=t.sliderContentType,l=t.images,i=t.arrows,s=t.adaptiveHeight,b=t.autoplay,p=t.autoplaySpeed,u=t.dots,d=t.fade,m=t.infinite,g=t.vertical,f=t.pauseOnHover,y=t.speed,v=t.initialSlide,h=t.textAlign,w=t.classHook,k=t.arrowNextIcon,R=t.arrowPrevIcon,_=t.isRTLEnable,E=t.titleTag,C=t.contentTag,x=KS(KS({},e),{},{blockPrefix:"eb-slider",style:React.createElement(YS,e)}),S=aB({controlName:Fx,property:"",attributes:t}),B=S.rangeStylesDesktop,T=S.rangeStylesTab,N=S.rangeStylesMobile;function P(e){var t=e.className,a=e.style,n=e.onClick,o=e.arrowNextIcon;return React.createElement("div",{className:t,style:KS(KS({},a),{},{display:"block"}),onClick:n},React.createElement(oB,{icon:o}))}function O(e){var t=e.className,a=e.style,n=e.onClick,o=e.arrowPrevIcon;return React.createElement("div",{className:t,style:KS(KS({},a),{},{display:"block"}),onClick:n},React.createElement(oB,{icon:o}))}var M={arrows:i,adaptiveHeight:s,autoplay:b,autoplaySpeed:p,dots:u,fade:d,infinite:m,pauseOnHover:f,nextArrow:React.createElement(P,{arrowNextIcon:k}),prevArrow:React.createElement(O,{arrowPrevIcon:R}),slidesToShow:parseInt(B.replace(/[^0-9]/g,"")),speed:y,initialSlide:v,vertical:g,currentSlide:0,rtl:_,responsive:[{breakpoint:1024,settings:{slidesToShow:T?parseInt(T.replace(/[^0-9]/g,"")):parseInt(B.replace(/[^0-9]/g,""))}},{breakpoint:767,settings:{slidesToShow:N?parseInt(N.replace(/[^0-9]/g,"")):parseInt(B.replace(/[^0-9]/g,""))}}]},D=(0,J.createRef)(),j=!!l.length;function I(e,t){var n=[];e.map((function(e,a){var o={url:e.url,alt:e.alt,id:a,imageId:e.id,caption:e.caption};if(t.length>0){var r=t.filter((function(t,a){return t.imageId===e.id}));r.length>0?(o.title=r[0].title?r[0].title:"Slider ".concat(a+1),o.subtitle=r[0].subtitle?r[0].subtitle:"Essential Blocks Slider Subtitle",o.showButton=!r[0].showButton||r[0].showButton,o.buttonText=r[0].buttonText?r[0].buttonText:"See More",o.buttonUrl=r[0].buttonUrl,o.openNewTab=!!r[0].openNewTab&&r[0].openNewTab,o.isValidUrl=r[0].isValidUrl,o.showSecondButton=!!r[0].showSecondButton&&r[0].showSecondButton,o.secondButtonText=r[0].secondButtonText?r[0].secondButtonText:"See More",o.secondButtonUrl=r[0].secondButtonUrl,o.secondButtonOpenNewTab=!!r[0].secondButtonOpenNewTab&&r[0].secondButtonOpenNewTab):(o.title=e.caption?e.caption:"Slider ".concat(a+1),o.subtitle="Essential Blocks Slider Subtitle",o.showButton=!0,o.buttonText="See More",o.buttonUrl="",o.openNewTab=!1,o.isValidUrl=!0,o.showSecondButton=!1,o.secondButtonText="See More",o.secondButtonUrl="",o.secondButtonOpenNewTab=!1)}else o.title=e.caption?e.caption:"Slider ".concat(a+1),o.subtitle="Essential Blocks Slider Subtitle",o.showButton=!0,o.buttonText="See More",o.buttonUrl="",o.openNewTab=!1,o.isValidUrl=!0,o.showSecondButton=!1,o.secondButtonText="See More",o.secondButtonUrl="",o.secondButtonOpenNewTab=!1;n.push(o)})),a({images:n})}if((0,J.useEffect)((function(){l.length>0&&D.current.slickGoTo(v)}),[v]),!j)return React.createElement(Q.MediaPlaceholder,{addToGallery:j,isAppender:j,dropZoneUIOnly:j&&!n,labels:{title:!j&&(0,Y.__)("Images","essential-blocks"),instructions:!j&&(0,Y.__)("Drag images, upload new ones or select files from your library.")},onSelect:function(e){return I(e,l)},accept:"image/*",allowedTypes:["image"],multiple:!0,value:j?l:void 0});l.length>0&&l.map((function(e){return e.hasOwnProperty("showSecondButton")||(e.showSecondButton=!1,e.secondButtonText="See More",e.secondButtonUrl="",e.secondButtonOpenNewTab=!1),l}));var A="content"===r?"eb-slider-type-content":"eb-slider-type-image";return React.createElement(React.Fragment,null,n&&React.createElement(FS,{attributes:t,setAttributes:a,slider:D}),React.createElement(Q.BlockControls,null,React.createElement(X.ToolbarGroup,null,React.createElement(X.ToolbarItem,null,(function(){return React.createElement(Q.MediaUpload,{onSelect:function(e){return I(e,l)},allowedTypes:["image"],multiple:!0,gallery:!0,value:l.map((function(e){return e.imageId})),render:function(e){var t=e.open;return React.createElement(X.ToolbarButton,{className:"components-toolbar__control",label:(0,Y.__)("Edit gallery","essential-blocks"),icon:"edit",onClick:t})}})})))),React.createElement(cB.Edit,x,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(o," ").concat(w)},React.createElement("div",{className:"eb-slider-wrapper ".concat(o)},React.createElement(JS.A,XS({ref:D},M,{key:"".concat(b,"-").concat(s),className:A}),l.map((function(e,t){return React.createElement("div",{className:"eb-slider-item ".concat(c),key:t},React.createElement("img",{className:"eb-slider-image",src:e.url}),"content"===r&&React.createElement("div",{className:"eb-slider-content align-".concat(h)},e.title&&e.title.length>0&&React.createElement(React.Fragment,null,React.createElement(Q.RichText,{tagName:E,className:"eb-slider-title",value:nB(e.title)?e.title:"Invalid HTML Tag",allowedFormats:["core/bold","core/italic","core/text-color","core/underline","core/link"],onChange:function(e){return kS(e,t,l,a)}})),e.subtitle&&e.subtitle.length>0&&React.createElement(React.Fragment,null,React.createElement(Q.RichText,{tagName:C,className:"eb-slider-subtitle",value:nB(e.subtitle)?e.subtitle:"Invalid HTML Tag",allowedFormats:["core/bold","core/italic","core/text-color","core/underline","core/link"],onChange:function(e){return RS(e,t,l,a)}})),React.createElement("div",{className:"eb-slider-button-wrapper"},e.showButton&&e.buttonText&&e.buttonText.length>0&&React.createElement(React.Fragment,null,React.createElement("a",{href:e.buttonUrl&&e.isValidUrl?rB(e.buttonUrl):"#",className:"eb-slider-button",target:e.openNewTab?"_blank":"_self",rel:"noopener"},React.createElement(Q.RichText,{value:nB(e.buttonText)?e.buttonText:"Invalid HTML Tag",allowedFormats:["core/bold","core/italic","core/text-color","core/underline"],onChange:function(e){return _S(e,t,l,a)}}))),e.showSecondButton&&e.secondButtonText&&e.secondButtonText.length>0&&React.createElement(React.Fragment,null,React.createElement("a",{href:e.secondButtonUrl&&e.isValidUrl?rB(e.secondButtonUrl):"#",className:"eb-slider-second-button",target:e.secondButtonopenNewTab?"_blank":"_self",rel:"noopener"},React.createElement(Q.RichText,{value:nB(e.secondButtonText)?e.secondButtonText:"Invalid HTML Tag",allowedFormats:["core/bold","core/italic","core/text-color","core/underline"],onChange:function(e){return SS(e,t,l,a)}}))))))})))))))},save:function(e){var t=e.attributes,a=t.blockId,n=t.sliderType,o=t.sliderContentType,r=t.images,c=t.arrows,l=t.adaptiveHeight,i=t.autoplay,s=t.autoplaySpeed,b=t.dots,p=t.fade,u=t.infinite,d=t.vertical,m=t.pauseOnHover,g=t.speed,f=(t.initialSlide,t.textAlign),y=t.classHook,v=t.arrowNextIcon,h=t.arrowPrevIcon,w=(t.dotPreset,t.isRTLEnable),k=t.titleTag,R=t.contentTag,_={arrows:c,adaptiveHeight:l,autoplay:i,autoplaySpeed:s,dots:b,fade:p,infinite:u,pauseOnHover:m,slidesToShow:t.slideToShowRange,speed:g,vertical:d,currentSlide:0,rtl:w,responsive:[{breakpoint:1025,settings:{slidesToShow:t.TABslideToShowRange||t.slideToShowRange}},{breakpoint:767,settings:{slidesToShow:t.MOBslideToShowRange||t.slideToShowRange}}]},E="content"===n?"eb-slider-type-content":"eb-slider-type-image";return React.createElement(sB.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(y)},React.createElement("div",{className:"eb-slider-wrapper ".concat(a),"data-settings":JSON.stringify(_),"data-images":JSON.stringify(r),"data-sliderContentType":o,"data-sliderType":n,"data-textAlign":f,"data-arrowNextIcon":v,"data-arrowPrevIcon":h,"data-titleTag":k,"data-contentTag":R},React.createElement("div",{className:E},r.map((function(e,t){return React.createElement("div",{className:"eb-slider-item ".concat(o),key:t},React.createElement("img",{className:"eb-slider-image",src:e.url}),"content"===n&&React.createElement("div",{className:"eb-slider-content align-".concat(f)},e.title&&e.title.length>0&&React.createElement(Q.RichText.Content,{tagName:"h2",className:"eb-slider-title",value:e.title}),e.subtitle&&e.subtitle.length>0&&React.createElement(Q.RichText.Content,{tagName:"p",className:"eb-slider-subtitle",value:e.subtitle}),React.createElement("div",{className:"eb-slider-button-wrapper"},e.showButton&&e.buttonText&&e.buttonText.length>0&&React.createElement("a",{href:e.buttonUrl&&e.isValidUrl?iB(e.buttonUrl):"",className:"eb-slider-button",target:e.openNewTab?"_blank":"_self",rel:"noopener"},React.createElement(Q.RichText.Content,{value:e.buttonText})),e.showSecondButton&&e.secondButtonText&&e.secondButtonText.length>0&&React.createElement("a",{href:e.secondButtonUrl&&e.isValidUrl?iB(e.secondButtonUrl):"",className:"eb-slider-button",target:e.secondButtonOpenNewTab?"_blank":"_self",rel:"noopener"},React.createElement(Q.RichText.Content,{value:e.secondButtonText})))))}))))))},deprecated:wB});var RB=window.EBControls.sanitizeURL;function _B(e){var t=e.profilesOnly,a=e.icnEffect;return React.createElement("ul",{className:"eb-socials"},t.map((function(e,t){var n=e.link,o=e.icon,r=e.linkOpenNewTab;return React.createElement("li",{key:t},React.createElement("a",{className:"".concat(((o||" ").match(/fa-([\w\-]+)/i)||[" "," "])[1],"-original ").concat(a||" "),href:"#"===n?"":RB(n),target:r?"_blank":"_self",rel:"noopener","aria-label":"social link"},React.createElement("i",{className:"hvr-icon eb-social-icon ".concat(o)})))})))}var EB="wrpMrg_",CB="wrpPad_",xB="WrpBg_",SB="wrpBdSd_",BB="sclBdSd_",TB="wrpW_",NB="icnZ_",PB="icnPd_",OB="icnSp_",MB="icnRg_",DB="sdpr_";function jB(e){return jB="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},jB(e)}function IB(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function AB(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?IB(Object(a),!0).forEach((function(t){LB(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):IB(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function LB(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=jB(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=jB(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==jB(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var FB=window.EBControls,HB=FB.generateDimensionsAttributes,zB=FB.generateBackgroundAttributes,qB=FB.generateBorderShadowAttributes,UB=FB.generateResponsiveRangeAttributes;const VB=AB(AB(AB(AB(AB(AB(AB(AB(AB(AB(AB({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},socialDetails:{type:"array",default:[]},profilesOnly:{type:"array"},iconsJustify:{type:"string",default:"center"},iconsVAlign:{type:"string",default:"center"},isIconsDevider:{type:"boolean",default:!1},icnsDevideColor:{type:"string"},icnSepW:{type:"number",default:1},icnSepH:{type:"number",default:30},hvIcnColor:{type:"string"},hvIcnBgc:{type:"string"},icnEffect:{type:"string"},textShadowColor:{type:"string"},textHOffset:{type:"number"},textVOffset:{type:"number"},blurRadius:{type:"number"},showLinkNewTab:{type:"boolean",default:!0}},UB(NB,{defaultRange:35,noUnits:!0})),UB(PB,{defaultRange:1,noUnits:!0})),UB(OB,{defaultRange:20,noUnits:!0})),UB(MB,{noUnits:!0})),UB(TB,{defaultUnit:"%",defaultRange:100})),UB(DB,{defaultRange:23})),zB(xB,{defaultBgGradient:"linear-gradient(45deg,#7967ff,#c277f2)"})),qB(SB,{})),qB(BB,{bdrDefaults:{top:1,bottom:1,right:1,left:1}})),HB(EB)),HB(CB,{top:20,bottom:20,left:20,right:20}));var WB=[{label:"Center",value:"center"},{label:"Left",value:"flex-start"},{label:"Right",value:"flex-end"},{label:"Space Between",value:"space-between"},{label:"Space Around",value:"space-around"},{label:"Space Evenly",value:"space-evenly"}],GB=[{label:(0,Y.__)("Select Hover Effect","essential-blocks"),value:""},{label:(0,Y.__)("Grow","essential-blocks"),value:"hvr-grow"},{label:(0,Y.__)("Shrink","essential-blocks"),value:"hvr-shrink"},{label:(0,Y.__)("Pulse","essential-blocks"),value:"hvr-pulse"},{label:(0,Y.__)("Pulse Grow","essential-blocks"),value:"hvr-pulse-grow"},{label:(0,Y.__)("Pulse Shrink","essential-blocks"),value:"hvr-pulse-shrink"},{label:(0,Y.__)("Push","essential-blocks"),value:"hvr-push"},{label:(0,Y.__)("Pop","essential-blocks"),value:"hvr-pop"},{label:(0,Y.__)("Bounce In","essential-blocks"),value:"hvr-bounce-in"},{label:(0,Y.__)("Bounce Out","essential-blocks"),value:"hvr-bounce-out"},{label:(0,Y.__)("Rotate","essential-blocks"),value:"hvr-rotate"},{label:(0,Y.__)("Grow Rotate","essential-blocks"),value:"hvr-grow-rotate"},{label:(0,Y.__)("Float","essential-blocks"),value:"hvr-float"},{label:(0,Y.__)("Sink","essential-blocks"),value:"hvr-sink"},{label:(0,Y.__)("Bob","essential-blocks"),value:"hvr-bob"},{label:(0,Y.__)("Hang","essential-blocks"),value:"hvr-hang"},{label:(0,Y.__)("Skew","essential-blocks"),value:"hvr-skew"},{label:(0,Y.__)("Skew Forward","essential-blocks"),value:"hvr-skew-forward"},{label:(0,Y.__)("Skew Backward","essential-blocks"),value:"hvr-skew-backward"},{label:(0,Y.__)("Wobble Horizontal","essential-blocks"),value:"hvr-wobble-horizontal"},{label:(0,Y.__)("Wobble Vertical","essential-blocks"),value:"hvr-wobble-vertical"},{label:(0,Y.__)("Wobble To Bottom Right","essential-blocks"),value:"hvr-wobble-to-bottom-right"},{label:(0,Y.__)("Wobble To Top Right","essential-blocks"),value:"hvr-wobble-to-top-right"},{label:(0,Y.__)("Wobble Top","essential-blocks"),value:"hvr-wobble-top"},{label:(0,Y.__)("Wobble Bottom","essential-blocks"),value:"hvr-wobble-bottom"},{label:(0,Y.__)("Wobble Skew","essential-blocks"),value:"hvr-wobble-skew"},{label:(0,Y.__)("Buzz","essential-blocks"),value:"hvr-buzz"},{label:(0,Y.__)("Buzz Out","essential-blocks"),value:"hvr-buzz-out"},{label:(0,Y.__)("Forward","essential-blocks"),value:"hvr-forward"},{label:(0,Y.__)("Fade","essential-blocks"),value:"hvr-fade"},{label:(0,Y.__)("Back Pulse","essential-blocks"),value:"hvr-back-pulse"},{label:(0,Y.__)("Sweep To Right","essential-blocks"),value:"hvr-sweep-to-right"},{label:(0,Y.__)("Sweep To Left","essential-blocks"),value:"hvr-sweep-to-left"},{label:(0,Y.__)("Sweep To Bottom","essential-blocks"),value:"hvr-sweep-to-bottom"},{label:(0,Y.__)("Sweep To Top","essential-blocks"),value:"hvr-sweep-to-top"},{label:(0,Y.__)("Bounce To Right","essential-blocks"),value:"hvr-bounce-to-right"},{label:(0,Y.__)("Bounce To Left","essential-blocks"),value:"hvr-bounce-to-left"},{label:(0,Y.__)("Bounce To Bottom","essential-blocks"),value:"hvr-bounce-to-bottom"},{label:(0,Y.__)("Bounce To Top","essential-blocks"),value:"hvr-bounce-to-top"},{label:(0,Y.__)("Radial Out","essential-blocks"),value:"hvr-radial-out"},{label:(0,Y.__)("Radial In","essential-blocks"),value:"hvr-radial-in"},{label:(0,Y.__)("Rectangle In","essential-blocks"),value:"hvr-rectangle-in"},{label:(0,Y.__)("Rectangle Out","essential-blocks"),value:"hvr-rectangle-out"},{label:(0,Y.__)("Shutter In Horizontal","essential-blocks"),value:"hvr-shutter-in-horizontal"},{label:(0,Y.__)("Shutter Out Horizontal","essential-blocks"),value:"hvr-shutter-out-horizontal"},{label:(0,Y.__)("Shutter In Vertical","essential-blocks"),value:"hvr-shutter-in-vertical"},{label:(0,Y.__)("Shutter Out Vertical","essential-blocks"),value:"hvr-shutter-out-vertical"},{label:(0,Y.__)("Icon Back","essential-blocks"),value:"hvr-icon-back"},{label:(0,Y.__)("Icon Forward","essential-blocks"),value:"hvr-icon-forward"},{label:(0,Y.__)("Icon Down","essential-blocks"),value:"hvr-icon-down"},{label:(0,Y.__)("Icon Up","essential-blocks"),value:"hvr-icon-up"},{label:(0,Y.__)("Icon Spin","essential-blocks"),value:"hvr-icon-spin"},{label:(0,Y.__)("Icon Drop","essential-blocks"),value:"hvr-icon-drop"},{label:(0,Y.__)("Icon Fade","essential-blocks"),value:"hvr-icon-fade"},{label:(0,Y.__)("Icon Float Away","essential-blocks"),value:"hvr-icon-float-away"},{label:(0,Y.__)("Icon Sink Away","essential-blocks"),value:"hvr-icon-sink-away"},{label:(0,Y.__)("Icon Grow","essential-blocks"),value:"hvr-icon-grow"},{label:(0,Y.__)("Icon Shrink","essential-blocks"),value:"hvr-icon-shrink"},{label:(0,Y.__)("Icon Pulse","essential-blocks"),value:"hvr-icon-pulse"},{label:(0,Y.__)("Icon Pulse Grow","essential-blocks"),value:"hvr-icon-pulse-grow"},{label:(0,Y.__)("Icon Pulse Shrink","essential-blocks"),value:"hvr-icon-pulse-shrink"},{label:(0,Y.__)("Icon Push","essential-blocks"),value:"hvr-icon-push"},{label:(0,Y.__)("Icon Pop","essential-blocks"),value:"hvr-icon-pop"},{label:(0,Y.__)("Icon Bounce","essential-blocks"),value:"hvr-icon-bounce"},{label:(0,Y.__)("Icon Rotate","essential-blocks"),value:"hvr-icon-rotate"},{label:(0,Y.__)("Icon Grow Rotate","essential-blocks"),value:"hvr-icon-grow-rotate"},{label:(0,Y.__)("Icon Float","essential-blocks"),value:"hvr-icon-float"},{label:(0,Y.__)("Icon Sink","essential-blocks"),value:"hvr-icon-sink"},{label:(0,Y.__)("Icon Bob","essential-blocks"),value:"hvr-icon-bob"},{label:(0,Y.__)("Icon Hang","essential-blocks"),value:"hvr-icon-hang"},{label:(0,Y.__)("Icon Wobble Horizontal","essential-blocks"),value:"hvr-icon-wobble-horizontal"},{label:(0,Y.__)("Icon Wobble Vertical","essential-blocks"),value:"hvr-icon-wobble-vertical"},{label:(0,Y.__)("Icon Buzz","essential-blocks"),value:"hvr-icon-buzz"},{label:(0,Y.__)("Icon Buzz Out","essential-blocks"),value:"hvr-icon-buzz-out"},{label:(0,Y.__)("Curl Top Left","essential-blocks"),value:"hvr-curl-top-left"},{label:(0,Y.__)("Curl Top Right","essential-blocks"),value:"hvr-curl-top-right"},{label:(0,Y.__)("Curl Bottom Right","essential-blocks"),value:"hvr-curl-bottom-right"},{label:(0,Y.__)("Curl Bottom Left","essential-blocks"),value:"hvr-curl-bottom-left"}],ZB=[{label:(0,Y.__)("Rounded","essential-blocks"),value:"rounded"},{label:(0,Y.__)("Circular","essential-blocks"),value:"circular"},{label:(0,Y.__)("Square","essential-blocks"),value:"square"}];function YB(e){return YB="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},YB(e)}function JB(e){return function(e){if(Array.isArray(e))return QB(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return QB(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?QB(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function QB(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}function XB(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function $B(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?XB(Object(a),!0).forEach((function(t){KB(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):XB(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function KB(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=YB(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=YB(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==YB(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var eT=window.EBControls,tT=eT.ResponsiveDimensionsControl,aT=eT.ResponsiveRangeController,nT=eT.ColorControl,oT=eT.BorderShadowControl,rT=eT.BackgroundControl,cT=eT.SortControl,lT=eT.ResetControl,iT=eT.AdvancedControls,sT=eT.EBIconPicker;const bT=function(e){var t=e.attributes,a=e.setAttributes,n=t.resOption,o=t.socialDetails,r=t.iconsJustify,c=t.isIconsDevider,l=t.icnsDevideColor,i=t.icnSepW,s=t.icnSepH,b=t.hvIcnColor,p=t.hvIcnBgc,u=t.icnEffect,d=t.iconShape,m=t.textShadowColor,g=t.textHOffset,f=t.textVOffset,y=t.blurRadius,v=t.showLinkNewTab;(0,J.useEffect)((function(){var e=o.map((function(e){return $B($B({},e),{},{isExpanded:!1})}));a({socialDetails:e})}),[]);var h={setAttributes:a,resOption:n,attributes:t,objAttributes:VB},w=function(){var e=[].concat(JB(t.socialDetails),[{title:"Behance",icon:"fab fa-behance",color:"",bgColor:"",link:"",linkOpenNewTab:!1,isExpanded:!1}]);a({socialDetails:e})};return React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:"General",className:"eb-tab general"},{name:"styles",title:"Style",className:"eb-tab styles"},{name:"advance",title:"Advanced",className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls"+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Social Profiles","essential-blocks")},React.createElement(React.Fragment,null,React.createElement(X.ToggleControl,{label:(0,Y.__)("Show link in new tab","essential-blocks"),checked:v,onChange:function(){return a({showLinkNewTab:!v,socialDetails:JB(o)})}}),React.createElement(cT,{items:o.map((function(e,t){return $B($B({},e),{},{label:(a=(e.icon||" ").replace(/^fa[bsr] fa-|^dashicons-/i,""),a.split("_").map((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})).join(" "))});var a})),labelKey:"label",onSortEnd:function(e){return a({socialDetails:e})},onDeleteItem:function(e){a({socialDetails:t.socialDetails.filter((function(t,a){return a!==e}))})},hasSettings:!0,settingsComponents:(n=function(e,n,o){var r=$B({},t.socialDetails[o]),c=JB(t.socialDetails);c[o]=r,Array.isArray(e)?e.map((function(e,t){c[o][e]=n[t]})):c[o][e]=n,a({socialDetails:c})},t.socialDetails.map((function(e,t){return React.createElement("div",{key:t},React.createElement(sT,{title:(0,Y.__)("Social Media","essential-blocks"),value:e.icon||null,onChange:function(e){return n("icon",e,t)}}),React.createElement(X.TextControl,{label:(0,Y.__)("Title","essential-blocks"),value:e.title,onChange:function(e){return n("title",e,t)}}),React.createElement(nT,{label:(0,Y.__)("Icon Color","essential-blocks"),color:e.color,onChange:function(e){return n("color",e,t)}}),React.createElement(nT,{label:(0,Y.__)("Icon Background","essential-blocks"),color:e.bgColor,onChange:function(e){return n("bgColor",e,t)}}),React.createElement(X.TextControl,{label:(0,Y.__)("URL","essential-blocks"),value:e.link,onChange:function(e){return n("link",e,t)},help:(0,Y.__)("Use https or http","essential-blocks")}),v&&React.createElement(X.ToggleControl,{label:(0,Y.__)("Open in New Tab","essential-blocks"),checked:e.linkOpenNewTab,onChange:function(e){return n("linkOpenNewTab",e,t)}}))}))),hasAddButton:!0,onAddItem:w,addButtonText:(0,Y.__)("Add Social Profile","essential-blocks")})))),"styles"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Icons Styles","essential-blocks")},React.createElement(X.BaseControl,{label:(0,Y.__)("Icon Shape","essential-blocks")},React.createElement(X.ButtonGroup,null,ZB.map((function(e,t){return React.createElement(X.Button,{key:t,isSecondary:d!==e.value,isPrimary:d===e.value,onClick:function(){return function(e){switch(e){case"rounded":a({iconShape:e,sclBdSd_Rds_Bottom:"10",sclBdSd_Rds_Left:"10",sclBdSd_Rds_Right:"10",sclBdSd_Rds_Top:"10",sclBdSd_Rds_Unit:"px",sclBdSd_Rds_isLinked:!0});break;case"circular":a({iconShape:e,sclBdSd_Rds_Bottom:"50",sclBdSd_Rds_Left:"50",sclBdSd_Rds_Right:"50",sclBdSd_Rds_Top:"50",sclBdSd_Rds_Unit:"%",sclBdSd_Rds_isLinked:!0});break;case"square":a({iconShape:e,sclBdSd_Rds_Bottom:void 0,sclBdSd_Rds_Left:void 0,sclBdSd_Rds_Right:void 0,sclBdSd_Rds_Top:void 0,sclBdSd_Rds_Unit:"px",sclBdSd_Rds_isLinked:!0})}}(e.value)}},e.label)})))),React.createElement(X.BaseControl,{id:"eb-team-icons-alignments",label:"Social Icons Horizontal Alignments"},React.createElement(X.SelectControl,{value:r,options:WB,onChange:function(e){return a({iconsJustify:e})}})),React.createElement(aT,{noUnits:!0,baseLabel:(0,Y.__)("Size","essential-blocks"),controlName:NB,resRequiredProps:h,min:5,max:300,step:1}),React.createElement(aT,{noUnits:!0,baseLabel:(0,Y.__)("Padding","essential-blocks"),controlName:PB,resRequiredProps:h,min:0,max:6,step:.1}),React.createElement(aT,{noUnits:!0,baseLabel:(0,Y.__)("Spacing","essential-blocks"),controlName:OB,resRequiredProps:h,min:0,max:100,step:1}),React.createElement(aT,{noUnits:!0,baseLabel:(0,Y.__)("Rows Gap","essential-blocks"),controlName:MB,resRequiredProps:h,min:0,max:100,step:1}),React.createElement("label",{style:{display:"block",margin:"-20px 0 20px"}},React.createElement("i",null,"N.B. 'Rows Gap' is used when you have multiple rows of social profiles. Normally in case of only one row, it's not needed")),React.createElement(X.ToggleControl,{label:(0,Y.__)("Icons Devider","essential-blocks"),checked:c,onChange:function(){return a({isIconsDevider:!c})}}),c&&React.createElement(React.Fragment,null,React.createElement(nT,{label:(0,Y.__)("Color","essential-blocks"),color:l,onChange:function(e){return a({icnsDevideColor:e})}}),React.createElement(X.RangeControl,{label:(0,Y.__)("Width","essential-blocks"),value:i,onChange:function(e){return a({icnSepW:e})},step:1,min:1,max:50}),React.createElement(X.RangeControl,{label:(0,Y.__)("Height","essential-blocks"),value:s,onChange:function(e){return a({icnSepH:e})},step:1,min:1,max:300}),React.createElement(aT,{baseLabel:(0,Y.__)("Position From Right","essential-blocks"),controlName:DB,resRequiredProps:h,min:0,max:80,step:1})),React.createElement(nT,{label:(0,Y.__)("Hover Color","essential-blocks"),color:b,onChange:function(e){return a({hvIcnColor:e})}}),React.createElement(nT,{label:(0,Y.__)("Hover Background","essential-blocks"),color:p,onChange:function(e){return a({hvIcnBgc:e})}}),React.createElement(X.SelectControl,{label:(0,Y.__)("Icon Hover Effect","essential-blocks"),value:u,options:GB,onChange:function(e){a({icnEffect:e})}})),React.createElement(X.PanelBody,{title:(0,Y.__)("Icons Border & Box-Shadow"),initialOpen:!1},React.createElement(oT,{controlName:BB,resRequiredProps:h})),React.createElement(X.PanelBody,{title:(0,Y.__)("Icons Shadow","essential-blocks"),initialOpen:!1},React.createElement(nT,{label:(0,Y.__)("Shadow Color","essential-blocks"),color:m,onChange:function(e){return a({textShadowColor:e})}}),React.createElement(lT,{onReset:function(){return a({textHOffset:void 0})}},React.createElement(X.RangeControl,{label:(0,Y.__)("Horizontal Offset","essential-blocks"),value:g,onChange:function(e){return a({textHOffset:e})},min:0,max:100})),React.createElement(lT,{onReset:function(){return a({textVOffset:void 0})}},React.createElement(X.RangeControl,{label:(0,Y.__)("Vertical Offset","essential-blocks"),value:f,onChange:function(e){return a({textVOffset:e})},min:0,max:100})),React.createElement(lT,{onReset:function(){return a({blurRadius:void 0})}},React.createElement(X.RangeControl,{label:(0,Y.__)("Blur Radius","essential-blocks"),value:y,onChange:function(e){return a({blurRadius:e})},min:0,max:100})))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Margin & Padding")},React.createElement(tT,{resRequiredProps:h,controlName:EB,baseLabel:"Margin"}),React.createElement(tT,{resRequiredProps:h,controlName:CB,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Background ","essential-blocks"),initialOpen:!1},React.createElement(rT,{controlName:xB,resRequiredProps:h})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(oT,{controlName:SB,resRequiredProps:h})),React.createElement(iT,{attributes:t,setAttributes:a})));var n}))))};var pT=window.EBControls,uT=pT.softMinifyCssStrings,dT=pT.generateBackgroundControlStyles,mT=pT.generateDimensionsControlStyles,gT=pT.generateBorderShadowStyles,fT=pT.generateResponsiveRangeStyles,yT=pT.StyleComponent;function vT(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=(t.resOption,t.blockId),r=(t.blockMeta,t.socialDetails),c=t.iconsJustify,l=t.iconsVAlign,i=t.isIconsDevider,s=t.icnsDevideColor,b=void 0===s?"#cacaca":s,p=t.icnSepW,u=void 0===p?1:p,d=t.icnSepH,m=void 0===d?30:d,g=t.hvIcnColor,f=t.hvIcnBgc,y=t.textShadowColor,v=t.textHOffset,h=t.textVOffset,w=t.blurRadius,k=(t.classHook,fT({controlName:TB,property:"max-width",attributes:t})),R=k.rangeStylesDesktop,_=k.rangeStylesTab,E=k.rangeStylesMobile,C=fT({controlName:NB,customUnit:"px",property:"font-size",attributes:t}),x=C.rangeStylesDesktop,S=C.rangeStylesTab,B=C.rangeStylesMobile,T=fT({controlName:PB,customUnit:"em",property:"padding",attributes:t}),N=T.rangeStylesDesktop,P=T.rangeStylesTab,O=T.rangeStylesMobile,M=fT({controlName:OB,customUnit:"px",property:"column-gap",attributes:t}),D=M.rangeStylesDesktop,j=M.rangeStylesTab,I=M.rangeStylesMobile,A=fT({controlName:MB,customUnit:"px",property:"row-gap",attributes:t}),L=A.rangeStylesDesktop,F=A.rangeStylesTab,H=A.rangeStylesMobile,z=fT({controlName:DB,property:"margin-right",attributes:t}),q=z.rangeStylesDesktop,U=z.rangeStylesTab,V=z.rangeStylesMobile,W=dT({attributes:t,controlName:xB}),G=W.backgroundStylesDesktop,Z=W.hoverBackgroundStylesDesktop,Y=W.backgroundStylesTab,J=W.hoverBackgroundStylesTab,Q=W.backgroundStylesMobile,X=W.hoverBackgroundStylesMobile,$=W.overlayStylesDesktop,K=W.hoverOverlayStylesDesktop,ee=W.overlayStylesTab,te=W.hoverOverlayStylesTab,ae=W.overlayStylesMobile,ne=W.hoverOverlayStylesMobile,oe=W.bgTransitionStyle,re=W.ovlTransitionStyle,ce=mT({attributes:t,controlName:EB,styleFor:"margin"}),le=ce.dimensionStylesDesktop,ie=ce.dimensionStylesTab,se=ce.dimensionStylesMobile,be=mT({attributes:t,controlName:CB,styleFor:"padding"}),pe=be.dimensionStylesDesktop,ue=be.dimensionStylesTab,de=be.dimensionStylesMobile,me=gT({controlName:SB,attributes:t}),ge=me.styesDesktop,fe=me.styesTab,ye=me.styesMobile,ve=me.stylesHoverDesktop,he=me.stylesHoverTab,we=me.stylesHoverMobile,ke=me.transitionStyle,Re=gT({controlName:BB,attributes:t}),_e=Re.styesDesktop,Ee=Re.styesTab,Ce=Re.styesMobile,xe=Re.stylesHoverDesktop,Se=Re.stylesHoverTab,Be=Re.stylesHoverMobile,Te=Re.transitionStyle,Ne=r.reduce((function(e,t,a){var n=t.bgColor,r=t.color;return"\n\t\t".concat(e,"\n\n\t\t").concat(n||r?"\n\t\t\t\t.".concat(o,".eb-social-links-wrapper ul.eb-socials li:nth-child(").concat(a+1,") a {\n\t\t\t\t\t").concat(n?"background: ".concat(n,";"):"","\n\t\t\t\t\t").concat(r?"color: ".concat(r,";"):"","\n\t\t\t\t}\n\t\t\t\t"):"","\n\t\t")}),""),Pe="\n\tdiv.eb-social-links-wrapper ul {\n\t\tmargin: 0;\n\t\tpadding:0;\n\t}\n\n\t.".concat(o,".eb-social-links-wrapper {\n\t\tposition:relative;\n\t\tmargin:auto;\n\t\t").concat(R,"\n\t\t").concat(G,"\n\t\t").concat(le,"\n\t\t").concat(pe,"\n\t\t").concat(ge,"\n\t\ttransition: ").concat(oe,", ").concat(ke,";\n\t}\n\n\t.").concat(o,".eb-social-links-wrapper:hover{\n\n\t\t").concat(Z,"\n\t\t").concat(ve,"\n\t}\n\n\t.").concat(o,".eb-social-links-wrapper:before{\n\t\t").concat($,"\n\t\ttransition: ").concat(re,";\n\n\t}\n\n\t.").concat(o,".eb-social-links-wrapper:hover:before{\n\t\t").concat(K,"\n\n\t}\n\n\n\t.").concat(o,".eb-social-links-wrapper ul.eb-socials {\n\t\tlist-style: none;\n\t\tflex-wrap: wrap;\n\t\talign-items: ").concat(l||"center",";\n\t\tjustify-content: ").concat(c,";\n\t\t").concat(D,"\n\t\t").concat(L,"\n\t\tdisplay: flex;\n\t}\n\n\n\t").concat(Ne,"\n\n\n\t").concat(i?"\n\t\t.".concat(o,".eb-social-links-wrapper ul.eb-socials li{\n\t\t\tposition:relative;\n\t\t}\n\n\t\t.").concat(o,'.eb-social-links-wrapper ul.eb-socials li + li:before {\n\t\t\tcontent: "";\n\t\t\tbackground-color: ').concat(b,";\n\t\t\theight: ").concat(m,"px;\n\t\t\twidth: ").concat(u,"px;\n\t\t\tposition: absolute;\n\t\t\ttop: 2px;\n\t\t\tright: 100%;\n\t\t\t").concat(q,"\n\t\t}\n\n\t\t"):"","\n\n\t.").concat(o,".eb-social-links-wrapper ul.eb-socials li a {\n\t\tbox-sizing:content-box;\n\t\ttext-decoration: none;\n\t\tcursor: pointer;\n\t\tdisplay: flex;\n\t\tjustify-content: center;\n\t\talign-items: center;\n\t\theight: 0;\n\t\twidth: 0;\n\t\t").concat(v||h||w||y?"text-shadow: ".concat(v||0,"px ").concat(h||0,"px ").concat(w||0,"px ").concat(y||"rgba(0,0,0,.5)",";"):"","\n\t\t").concat(x,"\n\t\t").concat(N,"\n\t\t").concat(_e,"\n\t\ttransition: color 0.5s, background-color 0.5s, ").concat(Te,";\n\t}\n\n\t.").concat(o,".eb-social-links-wrapper ul.eb-socials li:hover a {\n\t\tbackground:").concat(g,";\n\t\tcolor:").concat(f,";\n\t\t").concat(xe,"\n\t}\n\n"),Oe="\n\t.".concat(o,".eb-social-links-wrapper {\n\t\t").concat(_,"\n\t\t").concat(Y,"\n\t\t").concat(ie,"\n\t\t").concat(ue,"\n\t\t").concat(fe,"\n\t}\n\n\t.").concat(o,".eb-social-links-wrapper:hover{\n\t\t").concat(J,"\n\t\t").concat(he,"\n\n\t}\n\n\t.").concat(o,".eb-social-links-wrapper:before{\n\t\t").concat(ee,"\n\n\t}\n\n\t.").concat(o,".eb-social-links-wrapper:hover:before{\n\t\t").concat(te,"\n\n\t}\n\n\t.").concat(o,".eb-social-links-wrapper ul.eb-socials {\n\t\t").concat(j,"\n\t\t").concat(F,"\n\t}\n\n\t").concat(i?"\n\t\t\t.".concat(o,".eb-social-links-wrapper ul.eb-socials li + li:before {\n\t\t\t\t").concat(U,"\n\t\t\t}\n\t\t\t"):"","\n\n\t.").concat(o,".eb-social-links-wrapper ul.eb-socials li a {\n\t\t").concat(S,"\n\t\t").concat(P,"\n\t\t").concat(Ee,"\n\t}\n\n\t.").concat(o,".eb-social-links-wrapper ul.eb-socials li:hover a {\n\t\t").concat(Se,"\n\t}\n\n\t"),Me="\n\t.".concat(o,".eb-social-links-wrapper {\n\t\t").concat(E,"\n\t\t").concat(Q,"\n\t\t").concat(se,"\n\t\t").concat(de,"\n\t\t").concat(ye,"\n\t}\n\n\t.").concat(o,".eb-social-links-wrapper:hover{\n\t\t").concat(X,"\n\t\t").concat(we,"\n\n\t}\n\n\t.").concat(o,".eb-social-links-wrapper:before{\n\t\t").concat(ae,"\n\n\t}\n\n\t.").concat(o,".eb-social-links-wrapper:hover:before{\n\t\t").concat(ne,"\n\n\t}\n\n\t.").concat(o,".eb-social-links-wrapper ul.eb-socials {\n\t\t").concat(I,"\n\t\t").concat(H,"\n\t}\n\n\n\t").concat(i?"\n\t\t\t.".concat(o,".eb-social-links-wrapper ul.eb-socials li + li:before {\n\t\t\t\t").concat(V,"\n\t\t\t}\n\t\t\t"):"","\n\n\t.").concat(o,".eb-social-links-wrapper ul.eb-socials li a {\n\t\t").concat(B,"\n\t\t").concat(O,"\n\t\t").concat(Ce,"\n\t}\n\n\n\t.").concat(o,".eb-social-links-wrapper ul.eb-socials li:hover a {\n\t\t").concat(Be,"\n\t}\n\n\t"),De=uT("\n\t\t".concat(Pe,"\n\t")),je=uT("\n\t\t".concat(Oe,"\n\t")),Ie=uT("\n\t\t".concat(Me,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(yT,{attributes:t,setAttributes:a,desktopAllStyles:De,tabAllStyles:je,mobileAllStyles:Ie,blockName:n}))}function hT(e){return hT="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},hT(e)}function wT(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function kT(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?wT(Object(a),!0).forEach((function(t){RT(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):wT(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function RT(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=hT(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=hT(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==hT(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var _T=window.EBControls,ET=(_T.duplicateBlockIdFix,_T.BlockProps),CT=window.EBControls.BlockProps;var xT=window.EBControls.sanitizeURL;function ST(e){var t=e.profilesOnly,a=e.icnEffect;return React.createElement("ul",{className:"socials"},t.map((function(e,t){var n=e.link,o=e.icon;return React.createElement("li",{key:t},React.createElement("a",{className:"".concat(((o||" ").match(/fa-([\w\-]+)/i)||[" "," "])[1],"-original ").concat(a||" "),href:xT(n)},React.createElement("i",{className:"hvr-icon social-icon ".concat(o)})))})))}var BT=window.EBControls.sanitizeURL;function TT(e){var t=e.profilesOnly,a=e.icnEffect;return React.createElement("ul",{className:"socials"},t.map((function(e,t){var n=e.link,o=e.icon,r=e.linkOpenNewTab;return React.createElement("li",{key:t},React.createElement("a",{className:"".concat(((o||" ").match(/fa-([\w\-]+)/i)||[" "," "])[1],"-original ").concat(a||" "),href:BT(n),target:r?"_blank":"_self",rel:"noopener"},React.createElement("i",{className:"hvr-icon social-icon ".concat(o)})))})))}function NT(e){return NT="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},NT(e)}function PT(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function OT(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?PT(Object(a),!0).forEach((function(t){MT(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):PT(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function MT(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=NT(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=NT(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==NT(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}window.EBControls.sanitizeURL;const DT=[{attributes:OT({},VB),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.profilesOnly,o=void 0===n?[]:n,r=t.icnEffect,c=t.classHook;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(c)},React.createElement("div",{className:"".concat(a," eb-social-links-wrapper")},React.createElement(_B,{profilesOnly:o,icnEffect:r}))))}},{attributes:OT({},VB),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.profilesOnly,o=void 0===n?[]:n,r=t.icnEffect,c=t.classHook;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(c)},React.createElement("div",{className:"".concat(a," eb-social-links-wrapper")},React.createElement(TT,{profilesOnly:o,icnEffect:r}))))}},{attributes:OT({},VB),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.profilesOnly,o=void 0===n?[]:n,r=t.icnEffect,c=t.classHook;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(c)},React.createElement("div",{className:"".concat(a," eb-social-links-wrapper")},React.createElement(ST,{profilesOnly:o,icnEffect:r}))))}},{attributes:OT({},VB),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.profilesOnly,o=void 0===n?[]:n,r=t.icnEffect;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"".concat(a," eb-social-links-wrapper")},React.createElement(_B,{profilesOnly:o,icnEffect:r})))}}],jT=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Social Icons","name":"essential-blocks/social","category":"essential-blocks","description":"Add icon links to your social media profiles and grow your audience with animated social icons","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');(0,EBControls.ebConditionalRegisterBlockType)(jT,{icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"57",fill:"none",viewBox:"0 0 60 57"},React.createElement("path",{fill:"#6C3BFF",fillRule:"evenodd",d:"M3.182 56.857c-1.727 0-3.182-1.371-3.182-3V3.286c0-1.629 1.455-3 3.182-3h53.545c1.819 0 3.273 1.371 3.273 3v50.571c0 1.629-1.455 3-3.182 3H3.182zM5.545 3.114C4.182 3.114 3 4.143 3 5.514v46.543c0 1.114.91 1.972 2.09 1.972h49.364c1.364 0 2.546-1.029 2.546-2.4V5.257c0-1.2-1-2.143-2.273-2.143H5.545zM23.273 33h-6.455a.925.925 0 00-.635.243c-.15.141-.183.273-.183.357v6.086c0 .084.034.216.183.356.15.142.374.244.635.244h6.455c.26 0 .484-.102.635-.244.149-.14.183-.272.183-.356v-5.998a.717.717 0 00-.217-.477c-.117-.11-.309-.211-.601-.211zm3.818.6v6.086c0 1.971-1.727 3.6-3.818 3.6h-6.455c-2.09 0-3.818-1.629-3.818-3.6V33.6c0-1.971 1.727-3.6 3.818-3.6h6.455c2.09 0 3.727 1.543 3.818 3.6zM16.818 17h6.455c.292 0 .484.102.6.211a.717.717 0 01.218.477v5.998c0 .084-.034.216-.183.356a.925.925 0 01-.635.244h-6.455a.925.925 0 01-.635-.244c-.15-.14-.183-.272-.183-.356V17.6c0-.084.034-.216.183-.357a.925.925 0 01.635-.243zm10.273 6.686V17.6C27 15.543 25.364 14 23.273 14h-6.455C14.728 14 13 15.629 13 17.6v6.086c0 1.971 1.727 3.6 3.818 3.6h6.455c2.09 0 3.818-1.629 3.818-3.6zM42.273 33h-6.455a.925.925 0 00-.635.243c-.15.141-.183.273-.183.357v6.086c0 .084.034.216.183.356.15.142.374.244.635.244h6.455c.26 0 .484-.102.635-.244.149-.14.183-.272.183-.356v-5.998a.717.717 0 00-.217-.477c-.117-.11-.309-.211-.601-.211zm3.818.6v6.086c0 1.971-1.727 3.6-3.818 3.6h-6.455c-2.09 0-3.818-1.629-3.818-3.6V33.6c0-1.971 1.727-3.6 3.818-3.6h6.455c2.09 0 3.727 1.543 3.818 3.6zM35.818 17h6.455c.292 0 .484.102.6.211a.717.717 0 01.218.477v5.998c0 .084-.034.216-.183.356a.925.925 0 01-.635.244h-6.455a.925.925 0 01-.635-.244c-.15-.14-.183-.272-.183-.356V17.6c0-.084.034-.216.183-.357a.925.925 0 01.635-.243zm10.273 6.686V17.6C46 15.543 44.364 14 42.273 14h-6.455C33.728 14 32 15.629 32 17.6v6.086c0 1.971 1.727 3.6 3.818 3.6h6.455c2.09 0 3.818-1.629 3.818-3.6z",clipRule:"evenodd"}))},attributes:VB,keywords:[(0,Y.__)("social","essential-blocks"),(0,Y.__)("icons","essential-blocks"),(0,Y.__)("eb essential","essential-blocks")],edit:function(e){var t=e.attributes,a=e.setAttributes,n=(e.className,e.clientId,e.isSelected),o=(e.name,t.resOption,t.blockId),r=(t.blockMeta,t.socialDetails),c=t.profilesOnly,l=void 0===c?[]:c,i=t.icnEffect,s=t.classHook;(0,J.useEffect)((function(){var e=r.map((function(e){return kT(kT({},e),{},{isExpanded:!1})}));a({socialDetails:e}),r.length>0||a({socialDetails:[{icon:"fab fa-facebook-f",link:"#",linkOpenNewTab:!1,isExpanded:!1},{icon:"fab fa-x-twitter",link:"#",linkOpenNewTab:!1,isExpanded:!1},{icon:"fab fa-instagram",link:"#",linkOpenNewTab:!1,isExpanded:!1},{icon:"fab fa-youtube",link:"#",linkOpenNewTab:!1,isExpanded:!1},{icon:"fab fa-linkedin-in",link:"#",linkOpenNewTab:!1,isExpanded:!1}]})}),[]),(0,J.useEffect)((function(){var e=r.map((function(e){return{icon:e.icon,link:e.link,linkOpenNewTab:e.linkOpenNewTab}}));a({profilesOnly:e})}),[r]);var b=kT(kT({},e),{},{blockPrefix:"eb-social-links",style:React.createElement(vT,e)});return React.createElement(React.Fragment,null,n&&React.createElement(bT,{attributes:t,setAttributes:a}),React.createElement(ET.Edit,b,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(o," ").concat(s)},React.createElement("div",{className:"".concat(o," eb-social-links-wrapper")},React.createElement(_B,{profilesOnly:l,icnEffect:i})))))},save:function(e){var t=e.attributes,a=t.blockId,n=t.profilesOnly,o=void 0===n?[]:n,r=t.icnEffect,c=t.classHook;return React.createElement(CT.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(c)},React.createElement("div",{className:"".concat(a," eb-social-links-wrapper")},React.createElement(_B,{profilesOnly:o,icnEffect:r}))))},example:{attributes:{socialDetails:[{icon:"fab fa-facebook-f",link:"#",linkOpenNewTab:!1,isExpanded:!1},{icon:"fab fa-x-twitter",link:"#",linkOpenNewTab:!1,isExpanded:!1},{icon:"fab fa-instagram",link:"#",linkOpenNewTab:!1,isExpanded:!1}]}},deprecated:DT});var IT=window.EBControls.EBDisplayIcon;function AT(e){var t=e.profilesOnly,a=e.icnEffect,n=e.showTitle;return React.createElement("ul",{className:"eb-social-shares"},t.map((function(e,t){var o=e.link,r=e.icon,c=e.iconText,l=e.linkOpenNewTab;return React.createElement("li",{key:t},React.createElement("a",{className:"".concat(((r||" ").match(/fa-([\w\-]+)/i)||[" "," "])[1],"-original ").concat(a||" "),href:o,target:l?"_blank":"_self",rel:"noopener"},React.createElement(IT,{className:"hvr-icon eb-social-share-icon",icon:r}),n&&c&&React.createElement(React.Fragment,null,React.createElement("span",{className:"eb-social-share-text"},c))))})))}var LT="title",FT="wrpMrg_",HT="wrpPad_",zT="iconPadding",qT="WrpBg_",UT="wrpBdSd_",VT="sclBdSd_",WT="icnZ_",GT="icnPd_",ZT="icnSp_",YT="icnRg_",JT="sdpr_",QT="iconHeight",XT="iconWidth",$T="floatingWidth",KT="floatingHeight";function eN(e){return eN="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},eN(e)}function tN(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function aN(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?tN(Object(a),!0).forEach((function(t){nN(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):tN(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function nN(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=eN(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=eN(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==eN(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var oN=window.EBControls,rN=oN.generateDimensionsAttributes,cN=oN.generateBackgroundAttributes,lN=oN.generateBorderShadowAttributes,iN=oN.generateResponsiveRangeAttributes;const sN=aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},socialDetails:{type:"array",default:[]},profilesOnly:{type:"array"},iconsJustify:{type:"string",default:"center"},iconsVAlign:{type:"string",default:"center"},isIconsDevider:{type:"boolean",default:!1},icnsDevideColor:{type:"string"},icnSepW:{type:"number",default:1},icnSepH:{type:"number",default:30},hvIcnColor:{type:"string"},hvIcnBgc:{type:"string"},icnEffect:{type:"string"},showTitle:{type:"boolean",default:!0},iconShape:{type:"string",default:"rounded"},isFloating:{type:"boolean",default:!1},floatingWidth:{type:"string"},cover:{type:"string",default:""}},(0,oN.generateTypographyAttributes)(Object.values(R))),iN(WT,{defaultRange:16,noUnits:!0})),rN(zT,{top:10,left:20,bottom:10,right:20,isLinked:!1})),iN(ZT,{defaultRange:20,noUnits:!0})),iN(QT,{defaultRange:140,noUnits:!0})),iN(XT,{defaultRange:140,noUnits:!0})),iN($T,{defaultRange:100,noUnits:!0})),iN(GT,{defaultRange:10,noUnits:!0})),iN(YT,{noUnits:!0})),iN(JT,{defaultRange:23})),cN(qT,{defaultBgGradient:"linear-gradient(45deg,#7967ff,#c277f2)"})),lN(UT)),lN(VT,{bdrDefaults:{top:1,bottom:1,right:1,left:1}})),rN(FT)),rN(HT,{top:20,bottom:20,left:20,right:20}));var bN=[{label:"Center",value:"center"},{label:"Left",value:"flex-start"},{label:"Right",value:"flex-end"},{label:"Space Between",value:"space-between"},{label:"Space Around",value:"space-around"},{label:"Space Evenly",value:"space-evenly"}],pN=[{label:(0,Y.__)("Select Hover Effect","essential-blocks"),value:""},{label:(0,Y.__)("Grow","essential-blocks"),value:"hvr-grow"},{label:(0,Y.__)("Shrink","essential-blocks"),value:"hvr-shrink"},{label:(0,Y.__)("Pulse","essential-blocks"),value:"hvr-pulse"},{label:(0,Y.__)("Pulse Grow","essential-blocks"),value:"hvr-pulse-grow"},{label:(0,Y.__)("Pulse Shrink","essential-blocks"),value:"hvr-pulse-shrink"},{label:(0,Y.__)("Push","essential-blocks"),value:"hvr-push"},{label:(0,Y.__)("Pop","essential-blocks"),value:"hvr-pop"},{label:(0,Y.__)("Bounce In","essential-blocks"),value:"hvr-bounce-in"},{label:(0,Y.__)("Bounce Out","essential-blocks"),value:"hvr-bounce-out"},{label:(0,Y.__)("Rotate","essential-blocks"),value:"hvr-rotate"},{label:(0,Y.__)("Grow Rotate","essential-blocks"),value:"hvr-grow-rotate"},{label:(0,Y.__)("Float","essential-blocks"),value:"hvr-float"},{label:(0,Y.__)("Sink","essential-blocks"),value:"hvr-sink"},{label:(0,Y.__)("Bob","essential-blocks"),value:"hvr-bob"},{label:(0,Y.__)("Hang","essential-blocks"),value:"hvr-hang"},{label:(0,Y.__)("Skew","essential-blocks"),value:"hvr-skew"},{label:(0,Y.__)("Skew Forward","essential-blocks"),value:"hvr-skew-forward"},{label:(0,Y.__)("Skew Backward","essential-blocks"),value:"hvr-skew-backward"},{label:(0,Y.__)("Wobble Horizontal","essential-blocks"),value:"hvr-wobble-horizontal"},{label:(0,Y.__)("Wobble Vertical","essential-blocks"),value:"hvr-wobble-vertical"},{label:(0,Y.__)("Wobble To Bottom Right","essential-blocks"),value:"hvr-wobble-to-bottom-right"},{label:(0,Y.__)("Wobble To Top Right","essential-blocks"),value:"hvr-wobble-to-top-right"},{label:(0,Y.__)("Wobble Top","essential-blocks"),value:"hvr-wobble-top"},{label:(0,Y.__)("Wobble Bottom","essential-blocks"),value:"hvr-wobble-bottom"},{label:(0,Y.__)("Wobble Skew","essential-blocks"),value:"hvr-wobble-skew"},{label:(0,Y.__)("Buzz","essential-blocks"),value:"hvr-buzz"},{label:(0,Y.__)("Buzz Out","essential-blocks"),value:"hvr-buzz-out"},{label:(0,Y.__)("Forward","essential-blocks"),value:"hvr-forward"},{label:(0,Y.__)("Fade","essential-blocks"),value:"hvr-fade"},{label:(0,Y.__)("Back Pulse","essential-blocks"),value:"hvr-back-pulse"},{label:(0,Y.__)("Sweep To Right","essential-blocks"),value:"hvr-sweep-to-right"},{label:(0,Y.__)("Sweep To Left","essential-blocks"),value:"hvr-sweep-to-left"},{label:(0,Y.__)("Sweep To Bottom","essential-blocks"),value:"hvr-sweep-to-bottom"},{label:(0,Y.__)("Sweep To Top","essential-blocks"),value:"hvr-sweep-to-top"},{label:(0,Y.__)("Bounce To Right","essential-blocks"),value:"hvr-bounce-to-right"},{label:(0,Y.__)("Bounce To Left","essential-blocks"),value:"hvr-bounce-to-left"},{label:(0,Y.__)("Bounce To Bottom","essential-blocks"),value:"hvr-bounce-to-bottom"},{label:(0,Y.__)("Bounce To Top","essential-blocks"),value:"hvr-bounce-to-top"},{label:(0,Y.__)("Radial Out","essential-blocks"),value:"hvr-radial-out"},{label:(0,Y.__)("Radial In","essential-blocks"),value:"hvr-radial-in"},{label:(0,Y.__)("Rectangle In","essential-blocks"),value:"hvr-rectangle-in"},{label:(0,Y.__)("Rectangle Out","essential-blocks"),value:"hvr-rectangle-out"},{label:(0,Y.__)("Shutter In Horizontal","essential-blocks"),value:"hvr-shutter-in-horizontal"},{label:(0,Y.__)("Shutter Out Horizontal","essential-blocks"),value:"hvr-shutter-out-horizontal"},{label:(0,Y.__)("Shutter In Vertical","essential-blocks"),value:"hvr-shutter-in-vertical"},{label:(0,Y.__)("Shutter Out Vertical","essential-blocks"),value:"hvr-shutter-out-vertical"},{label:(0,Y.__)("Icon Back","essential-blocks"),value:"hvr-icon-back"},{label:(0,Y.__)("Icon Forward","essential-blocks"),value:"hvr-icon-forward"},{label:(0,Y.__)("Icon Down","essential-blocks"),value:"hvr-icon-down"},{label:(0,Y.__)("Icon Up","essential-blocks"),value:"hvr-icon-up"},{label:(0,Y.__)("Icon Spin","essential-blocks"),value:"hvr-icon-spin"},{label:(0,Y.__)("Icon Drop","essential-blocks"),value:"hvr-icon-drop"},{label:(0,Y.__)("Icon Fade","essential-blocks"),value:"hvr-icon-fade"},{label:(0,Y.__)("Icon Float Away","essential-blocks"),value:"hvr-icon-float-away"},{label:(0,Y.__)("Icon Sink Away","essential-blocks"),value:"hvr-icon-sink-away"},{label:(0,Y.__)("Icon Grow","essential-blocks"),value:"hvr-icon-grow"},{label:(0,Y.__)("Icon Shrink","essential-blocks"),value:"hvr-icon-shrink"},{label:(0,Y.__)("Icon Pulse","essential-blocks"),value:"hvr-icon-pulse"},{label:(0,Y.__)("Icon Pulse Grow","essential-blocks"),value:"hvr-icon-pulse-grow"},{label:(0,Y.__)("Icon Pulse Shrink","essential-blocks"),value:"hvr-icon-pulse-shrink"},{label:(0,Y.__)("Icon Push","essential-blocks"),value:"hvr-icon-push"},{label:(0,Y.__)("Icon Pop","essential-blocks"),value:"hvr-icon-pop"},{label:(0,Y.__)("Icon Bounce","essential-blocks"),value:"hvr-icon-bounce"},{label:(0,Y.__)("Icon Rotate","essential-blocks"),value:"hvr-icon-rotate"},{label:(0,Y.__)("Icon Grow Rotate","essential-blocks"),value:"hvr-icon-grow-rotate"},{label:(0,Y.__)("Icon Float","essential-blocks"),value:"hvr-icon-float"},{label:(0,Y.__)("Icon Sink","essential-blocks"),value:"hvr-icon-sink"},{label:(0,Y.__)("Icon Bob","essential-blocks"),value:"hvr-icon-bob"},{label:(0,Y.__)("Icon Hang","essential-blocks"),value:"hvr-icon-hang"},{label:(0,Y.__)("Icon Wobble Horizontal","essential-blocks"),value:"hvr-icon-wobble-horizontal"},{label:(0,Y.__)("Icon Wobble Vertical","essential-blocks"),value:"hvr-icon-wobble-vertical"},{label:(0,Y.__)("Icon Buzz","essential-blocks"),value:"hvr-icon-buzz"},{label:(0,Y.__)("Icon Buzz Out","essential-blocks"),value:"hvr-icon-buzz-out"},{label:(0,Y.__)("Curl Top Left","essential-blocks"),value:"hvr-curl-top-left"},{label:(0,Y.__)("Curl Top Right","essential-blocks"),value:"hvr-curl-top-right"},{label:(0,Y.__)("Curl Bottom Right","essential-blocks"),value:"hvr-curl-bottom-right"},{label:(0,Y.__)("Curl Bottom Left","essential-blocks"),value:"hvr-curl-bottom-left"}],uN=[{label:(0,Y.__)("Rounded","essential-blocks"),value:"rounded"},{label:(0,Y.__)("Circular","essential-blocks"),value:"circular"},{label:(0,Y.__)("Square","essential-blocks"),value:"square"}];function dN(e){return dN="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},dN(e)}function mN(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}function gN(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function fN(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?gN(Object(a),!0).forEach((function(t){yN(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):gN(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function yN(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=dN(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=dN(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==dN(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var vN=window.EBControls,hN=vN.ResponsiveDimensionsControl,wN=vN.ResponsiveRangeController,kN=vN.ColorControl,RN=vN.BorderShadowControl,_N=vN.BackgroundControl,EN=vN.AdvancedControls,CN=vN.TypographyDropdown,xN=vN.SortControl,SN=vN.EBIconPicker;const BN=function(e){var t=e.attributes,a=e.setAttributes,n=t.resOption,o=t.socialDetails,r=t.iconsJustify,c=t.hvIcnColor,l=t.hvIcnBgc,i=t.icnEffect,s=t.iconShape,b=t.showTitle,p=t.isFloating;(0,J.useEffect)((function(){var e=o.map((function(e){return fN(fN({},e),{},{isExpanded:!1})}));a({socialDetails:e})}),[]);var u={setAttributes:a,resOption:n,attributes:t,objAttributes:sN};(0,J.useEffect)((function(){d(s)}),[]);var d=function(e){switch(e){case"rounded":a({iconShape:e,sclBdSd_Rds_Bottom:"10",sclBdSd_Rds_Left:"10",sclBdSd_Rds_Right:"10",sclBdSd_Rds_Top:"10",sclBdSd_Rds_Unit:"px",sclBdSd_Rds_isLinked:!0});break;case"circular":a({iconShape:e,sclBdSd_Rds_Bottom:"50",sclBdSd_Rds_Left:"50",sclBdSd_Rds_Right:"50",sclBdSd_Rds_Top:"50",sclBdSd_Rds_Unit:"%",sclBdSd_Rds_isLinked:!0});break;case"square":a({iconShape:e,sclBdSd_Rds_Bottom:void 0,sclBdSd_Rds_Left:void 0,sclBdSd_Rds_Right:void 0,sclBdSd_Rds_Top:void 0,sclBdSd_Rds_Unit:"px",sclBdSd_Rds_isLinked:!0})}};return React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:"General",className:"eb-tab general"},{name:"styles",title:"Style",className:"eb-tab styles"},{name:"advance",title:"Advanced",className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls "+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Share Buttons","essential-blocks")},React.createElement(React.Fragment,null,React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Title","essential-blocks"),checked:b,onChange:function(){return a({showTitle:!b})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Floating","essential-blocks"),checked:p,onChange:function(){return a({isFloating:!p})}}),React.createElement(X.__experimentalDivider,null),React.createElement(xN,{items:t.socialDetails,labelKey:"iconText",onSortEnd:function(e){return a({socialDetails:e})},onDeleteItem:function(e){a({socialDetails:t.socialDetails.filter((function(t,a){return a!==e}))})},hasSettings:!0,settingsComponents:(n=function(e,n,o){var r,c=fN({},t.socialDetails[o]),l=function(e){if(Array.isArray(e))return mN(e)}(r=t.socialDetails)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e,t){if(e){if("string"==typeof e)return mN(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?mN(e,t):void 0}}(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();l[o]=c,Array.isArray(e)?e.map((function(e,t){l[o][e]=n[t]})):l[o][e]=n,a({socialDetails:l})},t.socialDetails.map((function(e,t){return React.createElement("div",{key:t},React.createElement(SN,{title:(0,Y.__)("Social Media","essential-blocks"),value:e.icon||null,onChange:function(e){return n("icon",e,t)}}),React.createElement(X.TextControl,{label:(0,Y.__)("Text","essential-blocks"),className:"social-share-name-input",value:e.iconText||"",onChange:function(e){return n("iconText",e,t)}}),React.createElement(kN,{label:(0,Y.__)("Icon Color","essential-blocks"),color:e.color||"",onChange:function(e){return n("color",e,t)}}),React.createElement(kN,{label:(0,Y.__)("Icon Background Color","essential-blocks"),color:e.backgroundColor,onChange:function(e){return n("backgroundColor",e,t)}}),React.createElement(kN,{label:(0,Y.__)("Separator Color","essential-blocks"),color:e.separatorColor,onChange:function(e){return n("separatorColor",e,t)}}))}))),hasAddButton:!1})))),"styles"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Icons Styles","essential-blocks")},React.createElement(X.BaseControl,{label:(0,Y.__)("Icon Shape","essential-blocks")},React.createElement(X.ButtonGroup,null,uN.map((function(e,t){return React.createElement(X.Button,{key:t,isSecondary:s!==e.value,isPrimary:s===e.value,onClick:function(){return d(e.value)}},e.label)})))),React.createElement(X.BaseControl,{id:"eb-team-icons-alignments",label:"Social Icons Horizontal Alignments"},React.createElement(X.SelectControl,{value:r,options:bN,onChange:function(e){return a({iconsJustify:e})}})),b&&React.createElement(CN,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:LT,resRequiredProps:u}),React.createElement(wN,{noUnits:!0,baseLabel:(0,Y.__)("Size","essential-blocks"),controlName:WT,resRequiredProps:u,min:5,max:300,step:1}),"circular"===s&&React.createElement(React.Fragment,null,React.createElement(wN,{noUnits:!0,baseLabel:(0,Y.__)("Height","essential-blocks"),controlName:QT,resRequiredProps:u,min:0,max:800,step:1}),React.createElement(wN,{noUnits:!0,baseLabel:(0,Y.__)("Width","essential-blocks"),controlName:XT,resRequiredProps:u,min:0,max:800,step:1})),p&&React.createElement(React.Fragment,null,React.createElement(wN,{noUnits:!0,baseLabel:(0,Y.__)("Floating Width","essential-blocks"),controlName:$T,resRequiredProps:u,min:0,max:800,step:1}),React.createElement(wN,{noUnits:!0,baseLabel:(0,Y.__)("Floating Height","essential-blocks"),controlName:KT,resRequiredProps:u,min:0,max:2e3,step:1})),React.createElement(wN,{noUnits:!0,baseLabel:(0,Y.__)("Margin","essential-blocks"),controlName:GT,resRequiredProps:u,min:0,max:250,step:1}),"circular"!==s&&React.createElement(hN,{resRequiredProps:u,controlName:zT,baseLabel:"Padding"}),!p&&React.createElement(React.Fragment,null,React.createElement(wN,{noUnits:!0,baseLabel:(0,Y.__)("Spacing","essential-blocks"),controlName:ZT,resRequiredProps:u,min:0,max:100,step:1}),React.createElement(wN,{noUnits:!0,baseLabel:(0,Y.__)("Rows Gap","essential-blocks"),controlName:YT,resRequiredProps:u,min:0,max:100,step:1}),React.createElement("label",{style:{display:"block",margin:"-20px 0 20px"}},React.createElement("i",null,"N.B. 'Rows Gap' is used when you have multiple rows of social profiles. Normally in case of only one row, it's not needed"))),React.createElement(kN,{label:(0,Y.__)("Hover Color","essential-blocks"),color:c,onChange:function(e){return a({hvIcnColor:e})}}),React.createElement(kN,{label:(0,Y.__)("Hover Background","essential-blocks"),color:l,onChange:function(e){return a({hvIcnBgc:e})}}),React.createElement(X.SelectControl,{label:(0,Y.__)("Icon Hover Effect","essential-blocks"),value:i,options:pN,onChange:function(e){a({icnEffect:e})}})),React.createElement(X.PanelBody,{title:(0,Y.__)("Icons Border & Box-Shadow"),initialOpen:!1},React.createElement(RN,{controlName:VT,resRequiredProps:u}))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Margin & Padding")},React.createElement(hN,{resRequiredProps:u,controlName:FT,baseLabel:"Margin"}),React.createElement(hN,{resRequiredProps:u,controlName:HT,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Background ","essential-blocks"),initialOpen:!1},React.createElement(_N,{controlName:qT,resRequiredProps:u})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(RN,{controlName:UT,resRequiredProps:u})),React.createElement(EN,{attributes:t,setAttributes:a})));var n}))))};var TN=window.EBControls,NN=TN.softMinifyCssStrings,PN=TN.generateBackgroundControlStyles,ON=TN.generateDimensionsControlStyles,MN=TN.generateBorderShadowStyles,DN=TN.generateResponsiveRangeStyles,jN=TN.generateTypographyStyles,IN=TN.StyleComponent;function AN(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=(t.resOption,t.blockId),r=(t.blockMeta,t.socialDetails),c=t.iconsJustify,l=t.iconsVAlign,i=t.isIconsDevider,s=t.icnsDevideColor,b=void 0===s?"#cacaca":s,p=t.icnSepW,u=void 0===p?1:p,d=t.icnSepH,m=void 0===d?30:d,g=t.hvIcnColor,f=t.hvIcnBgc,y=t.textShadowColor,v=t.textHOffset,h=t.textVOffset,w=t.blurRadius,k=(t.classHook,t.showTitle),R=t.iconShape,_=t.isFloating,E=DN({controlName:WT,customUnit:"px",property:null,attributes:t}),C=E.rangeStylesDesktop,x=E.rangeStylesTab,S=E.rangeStylesMobile,B=DN({controlName:GT,customUnit:"px",property:null,attributes:t}),T=B.rangeStylesDesktop,N=B.rangeStylesTab,P=B.rangeStylesMobile,O=DN({controlName:QT,customUnit:"px",property:null,attributes:t}),M=O.rangeStylesDesktop,D=O.rangeStylesTab,j=O.rangeStylesMobile,I=DN({controlName:XT,customUnit:"px",property:null,attributes:t}),A=I.rangeStylesDesktop,L=I.rangeStylesTab,F=I.rangeStylesMobile,H=DN({controlName:$T,customUnit:"px",property:null,attributes:t}),z=H.rangeStylesDesktop,q=H.rangeStylesTab,U=H.rangeStylesMobile,V=DN({controlName:KT,customUnit:"px",property:null,attributes:t}),W=V.rangeStylesDesktop,G=V.rangeStylesTab,Z=V.rangeStylesMobile,Y=DN({controlName:ZT,customUnit:"px",property:"column-gap",attributes:t}),J=Y.rangeStylesDesktop,Q=Y.rangeStylesTab,X=Y.rangeStylesMobile,$=DN({controlName:YT,customUnit:"px",property:"row-gap",attributes:t}),K=$.rangeStylesDesktop,ee=$.rangeStylesTab,te=$.rangeStylesMobile,ae=DN({controlName:JT,property:"margin-right",attributes:t}),ne=ae.rangeStylesDesktop,oe=ae.rangeStylesTab,re=ae.rangeStylesMobile,ce=PN({attributes:t,controlName:qT}),le=ce.backgroundStylesDesktop,ie=ce.hoverBackgroundStylesDesktop,se=ce.backgroundStylesTab,be=ce.hoverBackgroundStylesTab,pe=ce.backgroundStylesMobile,ue=ce.hoverBackgroundStylesMobile,de=ce.overlayStylesDesktop,me=ce.hoverOverlayStylesDesktop,ge=ce.overlayStylesTab,fe=ce.hoverOverlayStylesTab,ye=ce.overlayStylesMobile,ve=ce.hoverOverlayStylesMobile,he=ce.bgTransitionStyle,we=ce.ovlTransitionStyle,ke=ON({attributes:t,controlName:zT,styleFor:"padding"}),Re=ke.dimensionStylesDesktop,_e=ke.dimensionStylesTab,Ee=ke.dimensionStylesMobile,Ce=ON({attributes:t,controlName:FT,styleFor:"margin"}),xe=Ce.dimensionStylesDesktop,Se=Ce.dimensionStylesTab,Be=Ce.dimensionStylesMobile,Te=ON({attributes:t,controlName:HT,styleFor:"padding"}),Ne=Te.dimensionStylesDesktop,Pe=Te.dimensionStylesTab,Oe=Te.dimensionStylesMobile,Me=MN({controlName:UT,attributes:t}),De=Me.styesDesktop,je=Me.styesTab,Ie=Me.styesMobile,Ae=Me.stylesHoverDesktop,Le=Me.stylesHoverTab,Fe=Me.stylesHoverMobile,He=Me.transitionStyle,ze=MN({controlName:VT,attributes:t}),qe=ze.styesDesktop,Ue=ze.styesTab,Ve=ze.styesMobile,We=ze.stylesHoverDesktop,Ge=ze.stylesHoverTab,Ze=ze.stylesHoverMobile,Ye=ze.transitionStyle,Je=jN({attributes:t,prefixConstant:LT}),Qe=Je.typoStylesDesktop,Xe=Je.typoStylesTab,$e=Je.typoStylesMobile,Ke=r.reduce((function(e,t,a){var n=t.backgroundColor,r=t.color,c=t.separatorColor;return"\n\t\t".concat(e,"\n\n\t\t").concat(c?"\n\t\t\t\t.".concat(o,".eb-social-share-wrapper ul.eb-social-shares li:nth-child(").concat(a+1,") a .social-icon-v-line {\n\t\t\t\t\tbackground-color: ").concat(c,";\n\t\t\t\t}\n\t\t\t\t"):"","\n\n\t\t").concat(n||r?"\n\t\t\t\t.".concat(o,".eb-social-share-wrapper ul.eb-social-shares li:nth-child(").concat(a+1,") a {\n\t\t\t\t\t").concat(n?"background: ".concat(n,";"):"","\n\t\t\t\t\t").concat(r?"color: ".concat(r,";"):"","\n\t\t\t\t}\n\t\t\t\t"):"","\n\t\t")}),""),et="\n\tdiv.eb-social-share-wrapper ul {\n\t\tmargin: 0;\n\t\tpadding:0;\n\t}\n\n\t".concat(_?"\n\t.eb-parent-wrapper.eb-parent-eb-social-share-qier2p8.eb_animation.eb__animated {\n\t\tanimation-name: none !important;\n\t\t-webkit-animation-name: none !important;\n\t}\n\t":"","\n\n\t.").concat(o,".eb-social-share-wrapper {\n\t\tposition:relative;\n\t\t").concat(_?"":le,"\n\t\t").concat(_?"":xe,"\n\t\t").concat(_?"":Ne,"\n\t\t").concat(_?"":De,"\n\t\ttransition: ").concat(he,", ").concat(He,";\n\t}\n\n\t.").concat(o,".eb-social-share-wrapper:hover{\n\n\t\t").concat(ie,"\n\t\t").concat(_?"":Ae,"\n\t}\n\n\t.").concat(o,".eb-social-share-wrapper:before{\n\t\t").concat(de,"\n\t\ttransition: ").concat(we,";\n\n\t}\n\n\t.").concat(o,".eb-social-share-wrapper:hover:before{\n\t\t").concat(me,"\n\n\t}\n\n\n\t.").concat(o,".eb-social-share-wrapper ul.eb-social-shares {\n\t\tlist-style: none;\n\t\tflex-wrap: wrap;\n\t\talign-items: ").concat(l||"center",";\n\t\tjustify-content: ").concat(c,";\n\t\t").concat(J,"\n\t\t").concat(K,"\n\t\tdisplay: flex;\n\t}\n\n\n\t").concat(Ke,"\n\n\n\t").concat(i?"\n\t\t.".concat(o,".eb-social-share-wrapper ul.eb-social-shares li{\n\t\t\tposition:relative;\n\t\t}\n\n\t\t.").concat(o,'.eb-social-share-wrapper ul.eb-social-shares li + li:before {\n\t\t\tcontent: "";\n\t\t\tbackground-color: ').concat(b,";\n\t\t\theight: ").concat(m,"px;\n\t\t\twidth: ").concat(u,"px;\n\t\t\tposition: absolute;\n\t\t\ttop: 2px;\n\t\t\tright: 100%;\n\t\t\t").concat(ne,"\n\t\t}\n\n\t\t"):"","\n\n\n\n\t.").concat(o,".eb-social-share-wrapper ul.eb-social-shares li a {\n\t\tbox-sizing:border-box;\n\t\ttext-decoration: none;\n\t\tcursor: pointer;\n\t\tdisplay: flex;\n\t\tjustify-content: center;\n\t\talign-items: center;\n\t\tmargin: ").concat(T," 0;\n\t\t").concat(v||h||w||y?"text-shadow: ".concat(v||0,"px ").concat(h||0,"px ").concat(w||0,"px ").concat(y||"rgba(0,0,0,.5)",";"):"","\n\t\t").concat("circular"!==R?Re:"","\n\t\t").concat(qe,"\n\t\ttransition: color 0.5s, background-color 0.5s, ").concat(Ye,";\n\t\t").concat("circular"===R&&M?"height: ".concat(M,";"):"","\n\t\t").concat("circular"===R&&A?"width: ".concat(A,";"):"","\n\t\t").concat(k?Qe:"font-size: ".concat(C,";"),"\n\t}\n\n\t.").concat(o,".eb-social-share-wrapper.eb-social-share-floating ul.eb-social-shares {\n\t\tdisplay: inline-block;\n\t\tposition: fixed;\n\t\tleft: 0;\n\t\ttop: 35%;\n\t\ttransform: translate(0, -50px);\n\t\toverflow: auto;\n\t\t-ms-overflow-style: none;  /* IE and Edge */\n  \t\tscrollbar-width: none;  /* Firefox */\n\t\tmax-height: ").concat("string"==typeof W&&0!==W.length?W:"200px",";\n\t\t").concat(_?le:"","\n\t\t").concat(_?De:"","\n\t}\n\n\tul.eb-social-shares::-webkit-scrollbar {\n\t\tdisplay: none;\n\t}\n\n\t.").concat(o,".eb-social-share-wrapper.eb-social-share-floating ul.eb-social-shares .eb-social-share-text {\n\t\twidth: 0;\n\t\toverflow: hidden;\n\t\twhite-space: nowrap;\n\t\ttransition: all 0.4s;\n\t}\n\n\t.").concat(o,".eb-social-share-wrapper.eb-social-share-floating ul.eb-social-shares li a .eb-social-share-icon {\n\t\twidth: ").concat(C,";\n\t\ttext-align: center;\n\t}\n\n    ").concat(k?"":".".concat(o,".eb-social-share-wrapper ul.eb-social-shares li a .eb-social-share-icon {\n\t\twidth: ").concat(C,";\n        height: ").concat(C,";\n\t\ttext-align: center;\n\t}"),"\n\n\t.").concat(o,".eb-social-share-wrapper.eb-social-share-floating ul.eb-social-shares li a {\n\t\tdisplay: inline-flex;\n\t}\n\n\t.").concat(o,".eb-social-share-wrapper.eb-social-share-floating ul.eb-social-shares li a.eb-slide-out .eb-social-share-text {\n\t\twidth: ").concat("string"==typeof z&&0!==z.length?z:"100px",";\n\t}\n\n\t.").concat(o,".eb-social-share-wrapper ul.eb-social-shares li:hover a {\n\t\tbackground:").concat(f,";\n\t\tcolor:").concat(g,";\n\t\t").concat(We,"\n\t}\n\n\t.").concat(o,'.eb-social-share-wrapper ul.eb-social-shares li span.eb-social-share-text:before {\n\t\tcontent: "";\n\t\twidth: 1px;\n\t\theight: 20px;\n\t\tbackground-color: #fff;\n\t\topacity: .5;\n\t\tdisplay: inline-block;\n\t\tvertical-align: middle;\n\t\tmargin: 0 10px;\n\t}\n\n\t.').concat(o,".eb-social-share-wrapper.eb-social-share-floating.eb-social-share-circular ul.eb-social-shares li a.eb-slide-out {\n\t\theight: unset;\n\t\twidth: unset;\n\t\tborder-radius: ").concat(M,"\n\t}\n\n\t.").concat(o,".eb-social-share-wrapper.eb-social-share-floating.eb-social-share-circular ul.eb-social-shares li a.eb-slide-out i {\n\t\theight: ").concat(M,";\n\t\twidth: ").concat(A,";\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tjustify-content: center;\n\t}\n"),tt="\n\n\t.".concat(o,".eb-social-share-wrapper {\n\t\t").concat(se,"\n\t\t").concat(Se,"\n\t\t").concat(Pe,"\n\t\t").concat(je,"\n\t}\n\n\t.").concat(o,".eb-social-share-wrapper:hover{\n\t\t").concat(be,"\n\t\t").concat(Le,"\n\n\t}\n\n\t.").concat(o,".eb-social-share-wrapper:before{\n\t\t").concat(ge,"\n\n\t}\n\n\t.").concat(o,".eb-social-share-wrapper:hover:before{\n\t\t").concat(fe,"\n\n\t}\n\n\t.").concat(o,".eb-social-share-wrapper ul.eb-social-shares {\n\t\t").concat(Q,"\n\t\t").concat(ee,"\n\t}\n\n\t").concat(i?"\n\t\t\t.".concat(o,".eb-social-share-wrapper ul.eb-social-shares li + li:before {\n\t\t\t\t").concat(oe,"\n\t\t\t}\n\t\t\t"):"","\n\n\t.").concat(o,".eb-social-share-wrapper.eb-social-share-floating ul.eb-social-shares {\n\t\tmax-height: ").concat("string"==typeof G&&0!==G.length?G:"200px",";\n\t\t").concat(_?se:"","\n\t\t").concat(_?je:"","\n\t}\n\n\t.").concat(o,".eb-social-share-wrapper.eb-social-share-floating ul.eb-social-shares li a.eb-slide-out .eb-social-share-text {\n\t\twidth: ").concat("string"==typeof q&&0!==q.length?q:"100px",";\n\t}\n\n\t.").concat(o,".eb-social-share-wrapper ul.eb-social-shares li a {\n\t\t").concat(k?Xe:"font-size: ".concat(x,";"),"\n\t\t").concat("circular"!==R?_e:"","\n\t\t").concat(Ue,"\n\t\tmargin: ").concat(N," 0;\n\t\t").concat("circular"===R&&D?"height: ".concat(D,";"):"","\n\t\t").concat("circular"===R&&L?"width: ".concat(L,";"):"","\n\t}\n\n\t.").concat(o,".eb-social-share-wrapper ul.eb-social-shares li:hover a {\n\t\t").concat(Ge,"\n\t}\n\n    ").concat(k?"":".".concat(o,".eb-social-share-wrapper ul.eb-social-shares li a .eb-social-share-icon {\n\t\twidth: ").concat(x,";\n        height: ").concat(x,";\n\t\ttext-align: center;\n\t}"),"\n\n\t"),at="\n\t.".concat(o,".eb-social-share-wrapper {\n\t\t").concat(pe,"\n\t\t").concat(Be,"\n\t\t").concat(Oe,"\n\t\t").concat(Ie,"\n\t}\n\n\t.").concat(o,".eb-social-share-wrapper:hover{\n\t\t").concat(ue,"\n\t\t").concat(Fe,"\n\n\t}\n\n\t.").concat(o,".eb-social-share-wrapper:before{\n\t\t").concat(ye,"\n\n\t}\n\n\t.").concat(o,".eb-social-share-wrapper:hover:before{\n\t\t").concat(ve,"\n\n\t}\n\n\t.").concat(o,".eb-social-share-wrapper ul.eb-social-shares {\n\t\t").concat(X,"\n\t\t").concat(te,"\n\t}\n\n\n\t").concat(i?"\n\t\t\t.".concat(o,".eb-social-share-wrapper ul.eb-social-shares li + li:before {\n\t\t\t\t").concat(re,"\n\t\t\t}\n\t\t\t"):"","\n\n\t.").concat(o,".eb-social-share-wrapper.eb-social-share-floating ul.eb-social-shares {\n\t\tmax-height: ").concat("string"==typeof Z&&0!==Z.length?Z:"200px",";\n\t\t").concat(_?pe:"","\n\t\t").concat(_?Ie:"","\n\t}\n\n\t.").concat(o,".eb-social-share-wrapper.eb-social-share-floating ul.eb-social-shares li a.eb-slide-out .eb-social-share-text {\n\t\twidth: ").concat("string"==typeof U&&0!==U.length?U:"100px",";\n\t}\n\n\t.").concat(o,".eb-social-share-wrapper ul.eb-social-shares li a {\n\t\t").concat(k?$e:"font-size: ".concat(S,";"),"\n\t\t").concat("circular"!==R?Ee:"","\n\t\t").concat(Ve,"\n\t\tmargin: ").concat(P," 0;\n\t\t").concat("circular"===R&&j?"height: ".concat(j,";"):"","\n\t\t").concat("circular"===R&&F?"width: ".concat(F,";"):"","\n\t}\n\n\n\t.").concat(o,".eb-social-share-wrapper ul.eb-social-shares li:hover a {\n\t\t").concat(Ze,"\n\t}\n\n    ").concat(k?"":".".concat(o,".eb-social-share-wrapper ul.eb-social-shares li a .eb-social-share-icon {\n\t\twidth: ").concat(S,";\n        height: ").concat(S,";\n\t\ttext-align: center;\n\t}"),"\n\n\t"),nt=NN("\n\t\t".concat(et,"\n\t")),ot=NN("\n\t\t".concat(tt,"\n\t")),rt=NN("\n\t\t".concat(at,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(IN,{attributes:t,setAttributes:a,desktopAllStyles:nt,tabAllStyles:ot,mobileAllStyles:rt,blockName:n}))}function LN(e){return LN="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},LN(e)}function FN(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function HN(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?FN(Object(a),!0).forEach((function(t){zN(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):FN(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function zN(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=LN(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=LN(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==LN(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var qN=window.EBControls.BlockProps;const UN=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Social Share","name":"essential-blocks/social-share","category":"essential-blocks","description":"Share your posts & pages instantly on popular social platforms in one click from your website.","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');var VN;(0,EBControls.ebConditionalRegisterBlockType)(UN,{icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"60",fill:"none",viewBox:"0 0 60 60"},React.createElement("path",{fill:"#6C3BFF",d:"M6.25 7.5a1.25 1.25 0 100-2.5 1.25 1.25 0 000 2.5zM10 7.5A1.25 1.25 0 1010 5a1.25 1.25 0 000 2.5zM13.75 7.5a1.25 1.25 0 100-2.5 1.25 1.25 0 000 2.5z"}),React.createElement("path",{fill:"#6C3BFF",d:"M56.25 0H3.75A3.75 3.75 0 000 3.75v7.5a1.25 1.25 0 001.25 1.25h62.5a1.25 1.25 0 000-2.5H2.5V3.75A1.25 1.25 0 013.75 2.5h52.5a1.25 1.25 0 011.25 1.25v52.5a1.25 1.25 0 01-1.25 1.25H3.75a1.25 1.25 0 01-1.25-1.25v-46a1.25 1.25 0 00-2.5 0v46A3.75 3.75 0 003.75 60h52.5A3.75 3.75 0 0060 56.25V3.75A3.75 3.75 0 0056.25 0z"}),React.createElement("path",{fill:"#6C3BFF",d:"M36.313 39.292c-1.544 0-2.905.76-3.76 1.914l-7.387-3.783a4.62 4.62 0 00.209-1.308c0-.62-.127-1.21-.347-1.752l7.732-4.653c.86 1.01 2.125 1.665 3.553 1.665A4.693 4.693 0 0041 26.687 4.693 4.693 0 0036.312 22a4.693 4.693 0 00-4.687 4.688c0 .595.123 1.16.326 1.685l-7.754 4.666c-.86-.98-2.107-1.612-3.51-1.612A4.693 4.693 0 0016 36.115a4.693 4.693 0 004.688 4.687c1.569 0 2.952-.782 3.803-1.969l7.364 3.77c-.136.438-.23.894-.23 1.376a4.693 4.693 0 004.688 4.688A4.693 4.693 0 0041 43.979a4.693 4.693 0 00-4.688-4.687z"}))},attributes:sN,keywords:[(0,Y.__)("social share","essential-blocks"),(0,Y.__)("icons","essential-blocks"),(0,Y.__)("eb essential","essential-blocks")],edit:function(e){var t=e.attributes,a=e.setAttributes,n=e.isSelected,o=(t.resOption,t.blockId),r=(t.blockMeta,t.socialDetails),c=t.profilesOnly,l=void 0===c?[]:c,i=t.icnEffect,s=t.classHook,b=t.showTitle,p=t.iconShape,u=t.isFloating,d=t.cover;(0,J.useEffect)((function(){var e=r.map((function(e){return HN(HN({},e),{},{isExpanded:!1})}));if(a({socialDetails:e}),!(r.length>0)){var t=[{icon:"fab fa-facebook-f",iconText:(0,Y.__)("Facebook","essential-blocks"),isExpanded:!1},{icon:"fab fa-x-twitter",iconText:(0,Y.__)("Twitter","essential-blocks"),isExpanded:!1},{icon:"fab fa-linkedin-in",iconText:(0,Y.__)("Linkedin","essential-blocks"),isExpanded:!1},{icon:"fab fa-whatsapp",iconText:(0,Y.__)("WhatsApp","essential-blocks"),isExpanded:!1}];a({socialDetails:t})}}),[]),(0,J.useEffect)((function(){var e=r.map((function(e){return{icon:e.icon,link:e.link,iconText:e.iconText}}));a({profilesOnly:e})}),[r]);var m=HN(HN({},e),{},{blockPrefix:"eb-social-share",style:React.createElement(AN,e)});return d.length?React.createElement("div",null,React.createElement("img",{src:d,alt:(0,Y.__)("Social Share","essential-blocks"),style:{maxWidth:"100%"}})):React.createElement(React.Fragment,null,n&&React.createElement(BN,{attributes:t,setAttributes:a}),React.createElement(qN.Edit,m,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(o," ").concat(s)},React.createElement("div",{className:"".concat(o," eb-social-share-wrapper").concat(u?" eb-social-share-floating":"").concat(u&&"circular"==p?" eb-social-share-circular":"")},React.createElement(AT,{profilesOnly:l,icnEffect:i,showTitle:b})))))},save:function(){return null},example:{attributes:{cover:"".concat(null===(VN=EssentialBlocksLocalize)||void 0===VN?void 0:VN.image_url,"/block-preview/social-share.jpg")}}});var WN=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"57",height:"60",fill:"none",viewBox:"0 0 57 60"},React.createElement("g",{clipPath:"url(#clip0_2_22855)"},React.createElement("path",{fill:"#6C3BFF",d:"M56.4 51.429l-2.314-8.572-.086-.086s-.086-.085-.086-.171c0-.086-.085-.171-.085-.171-1.629-4.715-5.4-8.229-10.115-9.343l-.685-.172c-.258-.085-.515-.085-.772-.085-.857 0-1.714.428-2.4 1.028-2.4 2.829-5.657 3-8.828 3-3.515 0-6.515-.171-8.829-3-.6-.686-1.371-1.028-2.314-1.028-.257 0-.6 0-.857.085l-.858.172c-3.428.771-6.428 3-8.571 6.085H2.743c0-.085 0-.085-.086-.171l1.457-5.057C5.4 29.829 7.8 28.8 12.686 27.514h.085l.086-.085s.086-.086.172-.086h.085c.429.257.772.6 1.2.686.257.257.6.257.772.257.514 0 1.028-.257 1.285-.857.172-.515.258-.943.086-1.372-.171-.257-.428-.6-.771-.6C13.2 24.171 11.4 20.4 11.4 16.543a6.054 6.054 0 016.086-6.086c.428 0 .857.086 1.371.172-.6 1.457-.857 3-.857 4.8 0 10.028 5.914 18.257 13.2 18.257 7.114 0 13.2-8.572 13.2-18.257 0-7.286-5.914-13.2-13.2-13.2-4.371 0-8.486 2.142-10.886 5.742-.943-.257-1.971-.514-2.828-.514-3.086 0-5.915 1.543-7.8 4.286-.429.514-.515.857-.857 1.886-.258.685-.429 1.8-.429 2.742 0 3 .943 6.086 2.657 8.486-3.6.943-6.343 2.229-8.143 5.143 0 .086-1.028 1.543-1.371 3.086L.17 38.4c-.257.943 0 1.886.6 2.4.515.686 1.2 1.2 1.972 1.2H8.4c-.086.257-.171.6-.171.771l-2.315 8.486c-.171.943-.171 2.143.772 3.086.771.943 1.628 1.457 2.743 1.457h43.714c1.028 0 1.971-.514 2.743-1.371.685-.686.857-1.8.514-3zM21.514 13.286c.172-.857.429-1.715.686-2.4l.429-.429c1.885-3.171 5.142-5.143 8.828-5.143 4.372 0 8.229 2.743 9.686 6.772h-.6c-1.714 0-3.172-.772-4.114-2.057-.258-.429-.686-.6-1.2-.6-.429 0-.686.085-.943.428-.172.172-.429.429-.429.772l-.086.171c-1.2 2.229-4.2 3.6-8.228 3.6-1.372 0-2.743-.086-4.2-.429.086-.257.171-.428.171-.685zm3.772 3.771c4.885 0 8.485-1.371 10.285-3.943 1.286 1.029 2.915 1.629 5.058 1.629.257 0 .6-.086.857-.086h.257c.086.172.086.429.086.686 0 8.143-4.8 15.428-10.286 15.428-4.972 0-9.6-6.342-10.2-13.971 1.286.257 2.657.257 3.943.257zM53.57 52.8c-.171.171-.171.171-.428.171H8.914v-.085L8.83 52.8s-.086-.086-.086-.514l2.314-8.486c1.029-3.771 4.114-6.686 8.057-7.886l.772-.171s.085 0 .085.086c.086 0 .086.085.172.085 3.086 3.6 6.771 3.857 10.971 3.857 3.772 0 7.8-.257 10.972-3.857.085-.085.085-.085.171-.085l.172.085.685.172c3.772.943 6.857 3.943 8.057 7.885l.943 3.686.172.343.085.086 1.372 4.371c0-.086-.086.172-.172.343z"})),React.createElement("defs",null,React.createElement("clipPath",{id:"clip0_2_22855"},React.createElement("path",{fill:"#fff",d:"M0 0H56.571V60H0z"}))))},GN="dscs_",ZN="name_",YN="job_",JN="wrpMrg_",QN="wrpPad_",XN="dscP_",$N="nameP_",KN="jobP_",eP="icnWp_",tP="icnWm_",aP="imgMrg_",nP="imgPd_",oP="cpd_",rP="cmrg_",cP="WrpBg_",lP="imgBgP_",iP="sclWBg_",sP="wrpBdSd_",bP="sclBdSd_",pP="imgBd_",uP="ovlBd_",dP="wrpW_",mP="imgW_",gP="imgH_",fP="icnZ_",yP="icnPd_",vP="icnSp_",hP="icnRg_",wP="imgBgH_",kP="cSepW_",RP="sSepW_",_P="cSepH_",EP="sSepH_",CP="sdpr_",xP="p9lG_";function SP(e){return SP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},SP(e)}function BP(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function TP(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?BP(Object(a),!0).forEach((function(t){NP(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):BP(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function NP(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=SP(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=SP(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==SP(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var PP=window.EBControls,OP=PP.generateDimensionsAttributes,MP=PP.generateTypographyAttributes,DP=PP.generateBackgroundAttributes,jP=PP.generateBorderShadowAttributes,IP=PP.generateResponsiveRangeAttributes;const AP=TP(TP(TP(TP(TP(TP(TP(TP(TP(TP(TP(TP(TP(TP(TP(TP(TP(TP(TP(TP(TP(TP(TP(TP(TP(TP(TP(TP(TP(TP(TP(TP(TP({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},name:{type:"string",default:"John Doe"},jobTitle:{type:"string",default:"Software Engineer"},showDescs:{type:"boolean",default:!0},showDesignation:{type:"boolean",default:!0},description:{type:"string",default:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo."},imageUrl:{source:"attribute",selector:".avatar",attribute:"src"},imageNewClassUrl:{source:"attribute",selector:".eb-team-member-avatar",attribute:"src"},imageNewUrl:{type:"string",default:""},imageId:{type:"string"},imageAlt:{type:"string"},isImgHeightAuto:{type:"boolean",default:!1},icnEffect:{type:"string"},descsColor:{type:"string",default:"var(--eb-global-text-color)"},nameColor:{type:"string",default:"var(--eb-global-heading-color)"},jobColor:{type:"string",default:"var(--eb-global-heading-color)"},showSocials:{type:"boolean",default:!0},showLinkNewTab:{type:"boolean",default:!0},iconsJustify:{type:"string",default:"center"},iconsVAlign:{type:"string",default:"center"},profilesOnly:{type:"array"},socialDetails:{type:"array",default:[]},contentsAlign:{type:"string",default:"center"},imageAlign:{type:"string",default:"center"},preset:{type:"string",default:"default"},socialInImage:{type:"Boolean",default:!1},imgBeforeEl:{type:"Boolean",default:!1},showCSeparator:{type:"Boolean",default:!1},showSSeparator:{type:"Boolean",default:!1},cSepAlign:{type:"string",default:"center"},sSepAlign:{type:"string",default:"center"},cSepColor:{type:"string"},sSepColor:{type:"string"},cSepType:{type:"string",default:"solid"},sSepType:{type:"string",default:"solid"},isIconsDevider:{type:"boolean",default:!1},icnsDevideColor:{type:"string"},icnSepW:{type:"number",default:1},icnSepH:{type:"number",default:30},hvIcnColor:{type:"string"},hvIcnBgc:{type:"string"},conVtAlign:{type:"string",default:"center"},isConBgGradient:{type:"boolean",default:!0},conBgGradient:{type:"string",default:"linear-gradient(211deg, #C8D2E3 0%, rgb(154 164 182 / 60%) 100%)"},conBgColor:{type:"string"},imgCnVtAlign:{type:"string",default:"flex-start"},isP9reverse:{type:"boolean",default:!1},avatarURL:{type:"string",default:""},newWindow:{type:"boolean",default:!1},isContentOverlay:{type:"boolean",default:!1},showSocialTitle:{type:"boolean",default:!1},hoverPreset:{type:"string",default:"hover-left"}},MP(Object.values(_))),IP(mP,{defaultRange:200})),IP(gP,{defaultRange:200})),IP(fP,{defaultRange:20,noUnits:!0})),IP(yP,{defaultRange:1,noUnits:!0})),IP(vP,{defaultRange:20,noUnits:!0})),IP(hP,{defaultRange:4,noUnits:!0})),IP(dP,{defaultUnit:"%",defaultRange:100})),IP(wP,{defaultRange:150})),IP(kP,{defaultRange:70})),IP(RP,{defaultUnit:"%",defaultRange:90})),IP(_P,{defaultRange:3})),IP(EP,{defaultRange:1})),IP(CP,{defaultRange:23})),IP(xP,{defaultRange:20})),DP(cP,{defaultBgGradient:"linear-gradient(45deg,#7967ff,#c277f2)"})),DP(iP,{defaultBgGradient:"linear-gradient(45deg,#7967ff,#c277f2)",noMainBgi:!0,noOverlay:!0})),DP(lP,{defaultFillColor:"var(--eb-global-primary-color)",defaultBgGradient:"linear-gradient(45deg,#7967ff,#c277f2)"})),jP(sP,{})),jP(pP,{})),jP(bP,{noShadow:!0,bdrDefaults:{top:1,bottom:1,right:1,left:1}})),jP(uP,{noBdrHover:!0})),OP(JN)),OP(QN)),OP(aP)),OP(nP)),OP(XN,{top:15,bottom:20,isLinked:!1})),OP(rP,{top:20,bottom:20,left:20,right:20})),OP(oP,{top:50,bottom:50,left:50,right:50})),OP($N,{top:20,bottom:15,isLinked:!1})),OP(KN,{})),OP(eP,{top:10,isLinked:!1})),OP(tP,{}));var LP=[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"}],FP=[{label:"Center",value:"center"},{label:"Left",value:"flex-start"},{label:"Right",value:"flex-end"},{label:"Space Between",value:"space-between"},{label:"Space Around",value:"space-around"},{label:"Space Evenly",value:"space-evenly"}],HP=[{label:"Top",value:"flex-start"},{label:"Center",value:"center"},{label:"Bottom",value:"flex-end"}],zP=((0,Y.__)("Default","essential-blocks"),(0,Y.__)("Preset 1","essential-blocks"),(0,Y.__)("Preset 2  (hover overlay)"),(0,Y.__)("Preset 3","essential-blocks"),(0,Y.__)("Preset 4","essential-blocks"),(0,Y.__)("Preset 5","essential-blocks"),[{label:(0,Y.__)("Left","essential-blocks"),value:"hover-left"},{label:(0,Y.__)("Right","essential-blocks"),value:"hover-right"}]),qP=[{label:(0,Y.__)("Solid","essential-blocks"),value:"solid"},{label:(0,Y.__)("Dashed","essential-blocks"),value:"dashed"},{label:(0,Y.__)("Dotted","essential-blocks"),value:"dotted"},{label:(0,Y.__)("Double","essential-blocks"),value:"double"},{label:(0,Y.__)("Groove","essential-blocks"),value:"groove"},{label:(0,Y.__)("Inset","essential-blocks"),value:"inset"},{label:(0,Y.__)("Outset","essential-blocks"),value:"outset"},{label:(0,Y.__)("Ridge","essential-blocks"),value:"ridge"}],UP=[{label:(0,Y.__)("Select Hover Effect","essential-blocks"),value:""},{label:(0,Y.__)("Grow","essential-blocks"),value:"hvr-grow"},{label:(0,Y.__)("Shrink","essential-blocks"),value:"hvr-shrink"},{label:(0,Y.__)("Pulse","essential-blocks"),value:"hvr-pulse"},{label:(0,Y.__)("Pulse Grow","essential-blocks"),value:"hvr-pulse-grow"},{label:(0,Y.__)("Pulse Shrink","essential-blocks"),value:"hvr-pulse-shrink"},{label:(0,Y.__)("Push","essential-blocks"),value:"hvr-push"},{label:(0,Y.__)("Pop","essential-blocks"),value:"hvr-pop"},{label:(0,Y.__)("Bounce In","essential-blocks"),value:"hvr-bounce-in"},{label:(0,Y.__)("Bounce Out","essential-blocks"),value:"hvr-bounce-out"},{label:(0,Y.__)("Rotate","essential-blocks"),value:"hvr-rotate"},{label:(0,Y.__)("Grow Rotate","essential-blocks"),value:"hvr-grow-rotate"},{label:(0,Y.__)("Float","essential-blocks"),value:"hvr-float"},{label:(0,Y.__)("Sink","essential-blocks"),value:"hvr-sink"},{label:(0,Y.__)("Bob","essential-blocks"),value:"hvr-bob"},{label:(0,Y.__)("Hang","essential-blocks"),value:"hvr-hang"},{label:(0,Y.__)("Skew","essential-blocks"),value:"hvr-skew"},{label:(0,Y.__)("Skew Forward","essential-blocks"),value:"hvr-skew-forward"},{label:(0,Y.__)("Skew Backward","essential-blocks"),value:"hvr-skew-backward"},{label:(0,Y.__)("Wobble Horizontal","essential-blocks"),value:"hvr-wobble-horizontal"},{label:(0,Y.__)("Wobble Vertical","essential-blocks"),value:"hvr-wobble-vertical"},{label:(0,Y.__)("Wobble To Bottom Right","essential-blocks"),value:"hvr-wobble-to-bottom-right"},{label:(0,Y.__)("Wobble To Top Right","essential-blocks"),value:"hvr-wobble-to-top-right"},{label:(0,Y.__)("Wobble Top","essential-blocks"),value:"hvr-wobble-top"},{label:(0,Y.__)("Wobble Bottom","essential-blocks"),value:"hvr-wobble-bottom"},{label:(0,Y.__)("Wobble Skew","essential-blocks"),value:"hvr-wobble-skew"},{label:(0,Y.__)("Buzz","essential-blocks"),value:"hvr-buzz"},{label:(0,Y.__)("Buzz Out","essential-blocks"),value:"hvr-buzz-out"},{label:(0,Y.__)("Forward","essential-blocks"),value:"hvr-forward"},{label:(0,Y.__)("Fade","essential-blocks"),value:"hvr-fade"},{label:(0,Y.__)("Back Pulse","essential-blocks"),value:"hvr-back-pulse"},{label:(0,Y.__)("Sweep To Right","essential-blocks"),value:"hvr-sweep-to-right"},{label:(0,Y.__)("Sweep To Left","essential-blocks"),value:"hvr-sweep-to-left"},{label:(0,Y.__)("Sweep To Bottom","essential-blocks"),value:"hvr-sweep-to-bottom"},{label:(0,Y.__)("Sweep To Top","essential-blocks"),value:"hvr-sweep-to-top"},{label:(0,Y.__)("Bounce To Right","essential-blocks"),value:"hvr-bounce-to-right"},{label:(0,Y.__)("Bounce To Left","essential-blocks"),value:"hvr-bounce-to-left"},{label:(0,Y.__)("Bounce To Bottom","essential-blocks"),value:"hvr-bounce-to-bottom"},{label:(0,Y.__)("Bounce To Top","essential-blocks"),value:"hvr-bounce-to-top"},{label:(0,Y.__)("Radial Out","essential-blocks"),value:"hvr-radial-out"},{label:(0,Y.__)("Radial In","essential-blocks"),value:"hvr-radial-in"},{label:(0,Y.__)("Rectangle In","essential-blocks"),value:"hvr-rectangle-in"},{label:(0,Y.__)("Rectangle Out","essential-blocks"),value:"hvr-rectangle-out"},{label:(0,Y.__)("Shutter In Horizontal","essential-blocks"),value:"hvr-shutter-in-horizontal"},{label:(0,Y.__)("Shutter Out Horizontal","essential-blocks"),value:"hvr-shutter-out-horizontal"},{label:(0,Y.__)("Shutter In Vertical","essential-blocks"),value:"hvr-shutter-in-vertical"},{label:(0,Y.__)("Shutter Out Vertical","essential-blocks"),value:"hvr-shutter-out-vertical"},{label:(0,Y.__)("Icon Back","essential-blocks"),value:"hvr-icon-back"},{label:(0,Y.__)("Icon Forward","essential-blocks"),value:"hvr-icon-forward"},{label:(0,Y.__)("Icon Down","essential-blocks"),value:"hvr-icon-down"},{label:(0,Y.__)("Icon Up","essential-blocks"),value:"hvr-icon-up"},{label:(0,Y.__)("Icon Spin","essential-blocks"),value:"hvr-icon-spin"},{label:(0,Y.__)("Icon Drop","essential-blocks"),value:"hvr-icon-drop"},{label:(0,Y.__)("Icon Fade","essential-blocks"),value:"hvr-icon-fade"},{label:(0,Y.__)("Icon Float Away","essential-blocks"),value:"hvr-icon-float-away"},{label:(0,Y.__)("Icon Sink Away","essential-blocks"),value:"hvr-icon-sink-away"},{label:(0,Y.__)("Icon Grow","essential-blocks"),value:"hvr-icon-grow"},{label:(0,Y.__)("Icon Shrink","essential-blocks"),value:"hvr-icon-shrink"},{label:(0,Y.__)("Icon Pulse","essential-blocks"),value:"hvr-icon-pulse"},{label:(0,Y.__)("Icon Pulse Grow","essential-blocks"),value:"hvr-icon-pulse-grow"},{label:(0,Y.__)("Icon Pulse Shrink","essential-blocks"),value:"hvr-icon-pulse-shrink"},{label:(0,Y.__)("Icon Push","essential-blocks"),value:"hvr-icon-push"},{label:(0,Y.__)("Icon Pop","essential-blocks"),value:"hvr-icon-pop"},{label:(0,Y.__)("Icon Bounce","essential-blocks"),value:"hvr-icon-bounce"},{label:(0,Y.__)("Icon Rotate","essential-blocks"),value:"hvr-icon-rotate"},{label:(0,Y.__)("Icon Grow Rotate","essential-blocks"),value:"hvr-icon-grow-rotate"},{label:(0,Y.__)("Icon Float","essential-blocks"),value:"hvr-icon-float"},{label:(0,Y.__)("Icon Sink","essential-blocks"),value:"hvr-icon-sink"},{label:(0,Y.__)("Icon Bob","essential-blocks"),value:"hvr-icon-bob"},{label:(0,Y.__)("Icon Hang","essential-blocks"),value:"hvr-icon-hang"},{label:(0,Y.__)("Icon Wobble Horizontal","essential-blocks"),value:"hvr-icon-wobble-horizontal"},{label:(0,Y.__)("Icon Wobble Vertical","essential-blocks"),value:"hvr-icon-wobble-vertical"},{label:(0,Y.__)("Icon Buzz","essential-blocks"),value:"hvr-icon-buzz"},{label:(0,Y.__)("Icon Buzz Out","essential-blocks"),value:"hvr-icon-buzz-out"},{label:(0,Y.__)("Curl Top Left","essential-blocks"),value:"hvr-curl-top-left"},{label:(0,Y.__)("Curl Top Right","essential-blocks"),value:"hvr-curl-top-right"},{label:(0,Y.__)("Curl Bottom Right","essential-blocks"),value:"hvr-curl-bottom-right"},{label:(0,Y.__)("Curl Bottom Left","essential-blocks"),value:"hvr-curl-bottom-left"}];function VP(e){return VP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},VP(e)}function WP(e){return function(e){if(Array.isArray(e))return GP(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return GP(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?GP(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function GP(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}function ZP(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function YP(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ZP(Object(a),!0).forEach((function(t){JP(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ZP(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function JP(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=VP(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=VP(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==VP(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var QP=window.EBControls,XP=QP.LeftAlignIcon,$P=QP.RightAlignIcon,KP=QP.CenterAlignIcon,eO=QP.TypographyDropdown,tO=QP.ResponsiveDimensionsControl,aO=QP.ResponsiveRangeController,nO=QP.ImageAvatar,oO=QP.ColorControl,rO=QP.GradientColorControl,cO=QP.BorderShadowControl,lO=QP.BackgroundControl,iO=QP.AdvancedControls,sO=QP.DynamicInputControl,bO=QP.SortControl,pO=QP.EBIconPicker;JP(JP(JP(JP(JP(JP(JP(JP(JP(JP({socialInImage:!1,WrpBg_backgroundColor:void 0,cSepColor:void 0,dscP_Left:void 0,dscP_Right:void 0,hov_imgBgP_gradientColor:void 0,icnSepH:30,icnSp_Range:20,icnWp_Bottom:void 0,icnWp_Left:void 0,icnWp_Right:void 0,icnWp_Top:void 0,icnWp_isLinked:!0,imgBd_Bdr_Bottom:"1",imgBd_Bdr_Left:"1",imgBd_Bdr_Right:"1",imgBd_Bdr_Top:"1",imgBd_Rds_Bottom:void 0,imgBd_Rds_Left:void 0,imgBd_Rds_Right:void 0,imgBd_Rds_Top:void 0,imgBd_Rds_Unit:"px",imgBd_borderColor:"undefined",imgBd_borderStyle:"none",imgBeforeEl:!1,imgBgP_gradientColor:"linear-gradient(45deg,#7967ff,#c277f2)",imgMrg_Top:void 0,imgMrg_isLinked:!0,isIconsDevider:!1,jobP_Bottom:void 0,jobP_isLinked:!0,sSepColor:void 0,showCSeparator:!1,showSSeparator:!1,wrpBdSd_blur:void 0,wrpBdSd_hOffset:void 0,wrpBdSd_shadowColor:void 0,wrpBdSd_spread:void 0,wrpBdSd_vOffset:void 0,wrpMrg_isLinked:!0,wrpPad_isLinked:!0,imgH_Range:200,imgW_Range:200,nameP_Bottom:"15",nameP_Top:"20",showDescs:!0,wrpBdSd_Rds_Unit:"px",imgW_Unit:"px",wrpBdSd_Rds_Bottom:void 0,wrpBdSd_Rds_Left:void 0,wrpBdSd_Rds_Right:void 0,wrpBdSd_Rds_Top:void 0,wrpMrg_Bottom:void 0,wrpW_Range:100,wrpW_Unit:"%",hov_sclWBg_backgroundColor:void 0},"icnWp_Bottom",void 0),"icnWp_Left",void 0),"icnWp_Right",void 0),"icnWp_Top",10),"icnWp_isLinked",!1),"sclWBg_backgroundColor",void 0),"iconsVAlign","center"),"isImgHeightAuto",!1),"conBgGradient","linear-gradient(45deg, #7967ff, rgba(194,119,242,0.8))"),"wrpBdSd_borderStyle","none");const uO=function(e){var t=e.attributes,a=e.setAttributes,n=t.resOption,o=t.blockId,r=(t.imageUrl,t.imageNewUrl),c=t.imageId,l=(t.imageAlt,t.isImgHeightAuto),i=t.showDescs,s=t.descsColor,b=t.jobColor,p=t.nameColor,u=t.name,d=t.jobTitle,m=t.description,g=t.showSocials,f=t.socialDetails,y=t.iconsJustify,v=t.iconsVAlign,h=t.contentsAlign,w=t.imageAlign,k=t.cSepAlign,R=t.sSepAlign,_=t.preset,E=t.imgBeforeEl,C=t.showCSeparator,x=t.showSSeparator,S=t.cSepType,B=t.sSepType,T=t.cSepColor,N=t.sSepColor,P=t.isIconsDevider,O=t.icnsDevideColor,M=t.icnSepW,D=t.icnSepH,j=t.hvIcnColor,I=t.hvIcnBgc,A=t.conVtAlign,L=t.isConBgGradient,F=t.conBgGradient,H=t.conBgColor,z=t.imgCnVtAlign,q=t.isP9reverse,U=t.icnEffect,V=t.avatarURL,W=t.newWindow,G=t.showLinkNewTab,Z=t.hoverPreset,$=t.showDesignation,K=(t.showSocialTitle,t.isContentOverlay);t.socialInImage,(0,J.useEffect)((function(){var e=f.map((function(e){return YP(YP({},e),{},{isExpanded:!1})}));a({socialDetails:e})}),[]);var ee={setAttributes:a,resOption:n,attributes:t,objAttributes:AP};(0,J.useEffect)((function(){"preset3"===_&&a(K?{socialInImage:!1,nameColor:"#fff",jobColor:"#fff",descsColor:"#fff"}:{socialInImage:!0,nameColor:"#4b4b4b",jobColor:"#4b4b4b",descsColor:"#9f9f9f"})}),[K,_]);var te=function(){var e=[].concat(WP(t.socialDetails),[{title:"Facebook",icon:"fab fa-facebook-f",color:"#fff",bgColor:"#A0A8BD",link:"",linkOpenNewTab:!1,isExpanded:!1}]);a({socialDetails:e})};return React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:"General",className:"eb-tab general"},{name:"styles",title:"Style",className:"eb-tab styles"},{name:"advance",title:"Advanced",className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls"+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Presets","essential-blocks")},"preset5"===_&&React.createElement(React.Fragment,null,React.createElement(X.ToggleControl,{label:(0,Y.__)("Reverse Layout","essential-blocks"),checked:q,onChange:function(){return a({isP9reverse:!q})}}),React.createElement(aO,{baseLabel:(0,Y.__)("Gap","essential-blocks"),controlName:xP,resRequiredProps:ee,min:0,max:100,step:1})),"new-preset3"===_&&React.createElement(X.SelectControl,{label:(0,Y.__)("Hover Alignment","essential-blocks"),value:Z,options:zP,onChange:function(e){return a({hoverPreset:e})}}),"preset3"===_&&React.createElement(X.ToggleControl,{label:(0,Y.__)("Content Overlay","essential-blocks"),checked:K,onChange:function(){return a({isContentOverlay:!K})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Enable Designation","essential-blocks"),checked:$,onChange:function(){return a({showDesignation:!$})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Enable Description","essential-blocks"),checked:i,onChange:function(){return a({showDescs:!i})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Enable Social Profiles","essential-blocks"),checked:g,onChange:function(){return a({showSocials:!g})}})),React.createElement(X.PanelBody,{title:(0,Y.__)("Content","essential-blocks"),initialOpen:!1},!r&&React.createElement(Q.MediaUpload,{onSelect:function(e){var t=e.id,n=e.url,o=e.alt;return a({imageNewUrl:n,imageId:t,imageAlt:o})},type:"image",value:c,render:function(e){var t=e.open;return React.createElement(X.Button,{className:"eb-background-control-inspector-panel-img-btn components-button",label:(0,Y.__)("Upload Image","essential-blocks"),icon:"format-image",onClick:t})}}),r&&React.createElement(React.Fragment,null,React.createElement(nO,{imageUrl:r,onDeleteImage:function(){return a({imageNewUrl:null})}}),React.createElement(sO,{label:(0,Y.__)("URL","essential-blocks"),attrName:"avatarURL",inputValue:V,setAttributes:a,onChange:function(e){return a({avatarURL:e})}}),React.createElement(sO,{label:(0,Y.__)("Title","essential-blocks"),attrName:"name",inputValue:u,setAttributes:a,onChange:function(e){return a({name:e})}}),React.createElement(sO,{label:(0,Y.__)("Designation","essential-blocks"),attrName:"jobTitle",inputValue:d,setAttributes:a,onChange:function(e){return a({jobTitle:e})}}),React.createElement(sO,{label:(0,Y.__)("Description","essential-blocks"),attrName:"description",inputValue:m,setAttributes:a,onChange:function(e){return a({description:e})},isTextarea:!0}),V&&React.createElement(X.ToggleControl,{label:(0,Y.__)("Open in New Tab","essential-blocks"),checked:W,onChange:function(){return a({newWindow:!W})}}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Social Profiles","essential-blocks")},React.createElement(React.Fragment,null,g&&React.createElement(React.Fragment,null,React.createElement(X.ToggleControl,{label:(0,Y.__)("Show link in new tab","essential-blocks"),checked:G,onChange:function(){return a({showLinkNewTab:!G,socialDetails:WP(f)})}}),React.createElement(bO,{items:t.socialDetails,labelKey:"title",onSortEnd:function(e){return a({socialDetails:e})},onDeleteItem:function(e){a({socialDetails:t.socialDetails.filter((function(t,a){return a!==e}))})},hasSettings:!0,settingsComponents:(n=function(e,n,o){var r=YP({},t.socialDetails[o]),c=WP(t.socialDetails);c[o]=r,Array.isArray(e)?e.map((function(e,t){c[o][e]=n[t]})):c[o][e]=n,a({socialDetails:c})},t.socialDetails.map((function(e,t){return React.createElement("div",{key:t},React.createElement(pO,{title:(0,Y.__)("Social Media","essential-blocks"),value:e.icon||null,onChange:function(e){return n("icon",e,t)}}),React.createElement(X.TextControl,{label:(0,Y.__)("Title","essential-blocks"),value:e.title,onChange:function(e){return n("title",e,t)}}),React.createElement(oO,{label:(0,Y.__)("Icon Color","essential-blocks"),color:e.color,onChange:function(e){return n("color",e,t)}}),React.createElement(oO,{label:(0,Y.__)("Icon Background","essential-blocks"),color:e.bgColor,onChange:function(e){return n("bgColor",e,t)}}),React.createElement(X.TextControl,{label:(0,Y.__)("URL","essential-blocks"),value:e.link,onChange:function(e){return n("link",e,t)},help:(0,Y.__)("Use https or http","essential-blocks")}),G&&React.createElement(X.ToggleControl,{label:(0,Y.__)("Open in New Tab","essential-blocks"),checked:e.linkOpenNewTab,onChange:function(e){return n("linkOpenNewTab",e,t)}}))}))),hasAddButton:!0,onAddItem:te,addButtonText:(0,Y.__)("Add Social Profile","essential-blocks")})))),React.createElement(X.PanelBody,{title:(0,Y.__)("Separators","essential-blocks")},React.createElement(X.ToggleControl,{label:(0,Y.__)("Enable Content Separator","essential-blocks"),checked:C,onChange:function(){return a({showCSeparator:!C})}}),g&&"preset3"!==_&&React.createElement(X.ToggleControl,{label:(0,Y.__)("Enable Social Separator","essential-blocks"),checked:x,onChange:function(){return a({showSSeparator:!x})}}))),"styles"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Container width","essential-blocks")},React.createElement(aO,{baseLabel:(0,Y.__)("Max Width","essential-blocks"),controlName:dP,resRequiredProps:ee,min:100,max:2e3,step:1})),/preset[2,3,4,8,9]|new-preset1|new-preset2|new-preset3/i.test(_||"")&&React.createElement(X.PanelBody,{title:(0,Y.__)("Overlay Contents","essential-blocks")},/preset[3,4,]|new-preset1|new-preset2|new-preset3/i.test(_||"")&&React.createElement(React.Fragment,null,React.createElement(tO,{resRequiredProps:ee,controlName:rP,baseLabel:"margin"}),React.createElement(tO,{resRequiredProps:ee,controlName:oP,baseLabel:"Padding"}),"preset4"===_&&"new-preset1"===_&&React.createElement(React.Fragment,null,React.createElement(X.BaseControl,{id:"eb-team-content-vertical-alignments",label:"Vertical alignments"},React.createElement(X.ButtonGroup,{id:"eb-team-content-vertical-alignments"},HP.map((function(e,t){var n=e.value,o=e.label;return React.createElement(X.Button,{key:t,isSecondary:A!==n,isPrimary:A===n,onClick:function(){return a({conVtAlign:n})}},o)}))))),React.createElement(cO,{controlName:uP,resRequiredProps:ee,noBdrHover:!0})),React.createElement(X.BaseControl,{label:(0,Y.__)("Background","essential-blocks")}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Use Background Gradient","essential-blocks"),checked:L,onChange:function(){return a({isConBgGradient:!L})}}),L?React.createElement(rO,{gradientColor:F,onChange:function(e){return a({conBgGradient:e})}}):React.createElement(oO,{label:(0,Y.__)("Color","essential-blocks"),color:H,onChange:function(e){return a({conBgColor:e})}}),(0,Qo.applyFilters)("eb_team_member_preset8_shadow","",t,a,ee),React.createElement("style",null,"".concat("preset2"===_?"\n\n\t\t\t\t\tdiv.".concat(o,".eb-team-wrapper div.contents{\n\t\t\t\t\t\ttop: 50%;\n\t\t\t\t\t}\n\n\t\t\t\t"):"","\n\n\n\t\t\t\t\t\t\t\t\t\t\t\t").concat("preset3"===_?"\n\t\t\t\tdiv.".concat(o,".eb-team-wrapper ul.socials {\n\t\t\t\t\topacity: 1;\n\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t"):"","\n\n\n\t\t\t\t\t\t\t\t\t\t\t\t").concat("preset4"===_?"\n\t\t\t\tdiv.".concat(o,".eb-team-wrapper div.contents {\n\t\t\t\t\topacity: 1;\n\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t"):"","\n\n\t\t\t\t\t\t\t\t\t\t\t\t"))),React.createElement(X.PanelBody,{title:(0,Y.__)("Alignments","essential-blocks")},"preset5"===_?React.createElement(X.BaseControl,{id:"eb-team-avatar-vertical-alignments",label:"Avatar/Content Vertical Alignment"},React.createElement(X.SelectControl,{value:z,options:HP,onChange:function(e){return a({imgCnVtAlign:e})}})):React.createElement(X.BaseControl,{id:"eb-team-image-alignments",label:"Avatar Horizontal Alignments"},React.createElement(X.ButtonGroup,{className:"eb-btngrp-align"},React.createElement(X.Button,{icon:function(){return React.createElement(XP,{color:"left"===w&&"#6c40f7"})},onClick:function(){return a({imageAlign:"left"})}}),React.createElement(X.Button,{icon:function(){return React.createElement(KP,{color:"center"===w&&"#6c40f7"})},onClick:function(){return a({imageAlign:"center"})}}),React.createElement(X.Button,{icon:function(){return React.createElement($P,{color:"right"===w&&"#6c40f7"})},onClick:function(){return a({imageAlign:"right"})}}))),React.createElement(X.BaseControl,{id:"eb-team-contents-alignments",label:"Contents Horizontal Alignments"},React.createElement(X.ButtonGroup,{className:"eb-btngrp-align"},React.createElement(X.Button,{icon:function(){return React.createElement(XP,{color:"left"===h&&"#6c40f7"})},onClick:function(){return a({contentsAlign:"left"})}}),React.createElement(X.Button,{icon:function(){return React.createElement(KP,{color:"center"===h&&"#6c40f7"})},onClick:function(){return a({contentsAlign:"center"})}}),React.createElement(X.Button,{icon:function(){return React.createElement($P,{color:"right"===h&&"#6c40f7"})},onClick:function(){return a({contentsAlign:"right"})}}))),g&&React.createElement(React.Fragment,null,React.createElement(X.BaseControl,{id:"eb-team-icons-alignments",label:"Social Icons Horizontal Alignments"},React.createElement(X.SelectControl,{value:y,options:FP,onChange:function(e){return a({iconsJustify:e})}})),"preset3"===_&&React.createElement(X.BaseControl,{id:"eb-team-icons-alignments",label:"Social Icons Vertical Alignments"},React.createElement(X.SelectControl,{value:v,options:HP,onChange:function(e){return a({iconsVAlign:e})}}))),C&&React.createElement(X.BaseControl,{id:"eb-team-contents-alignments",label:"Content Separator Alignment"},React.createElement(X.ButtonGroup,{className:"eb-btngrp-align"},React.createElement(X.Button,{icon:function(){return React.createElement(XP,{color:"left"===k&&"#6c40f7"})},onClick:function(){return a({cSepAlign:"left"})}}),React.createElement(X.Button,{icon:function(){return React.createElement(KP,{color:"center"===k&&"#6c40f7"})},onClick:function(){return a({cSepAlign:"center"})}}),React.createElement(X.Button,{icon:function(){return React.createElement($P,{color:"right"===k&&"#6c40f7"})},onClick:function(){return a({cSepAlign:"right"})}}))),g&&x&&React.createElement(X.BaseControl,{id:"eb-team-contents-alignments",label:"Social Separator Alignment"},React.createElement(X.ButtonGroup,{className:"eb-btngrp-align"},React.createElement(X.Button,{icon:function(){return React.createElement(XP,{color:"left"===R&&"#6c40f7"})},onClick:function(){return a({sSepAlign:"left"})}}),React.createElement(X.Button,{icon:function(){return React.createElement(KP,{color:"center"===R&&"#6c40f7"})},onClick:function(){return a({sSepAlign:"center"})}}),React.createElement(X.Button,{icon:function(){return React.createElement($P,{color:"right"===R&&"#6c40f7"})},onClick:function(){return a({sSepAlign:"right"})}})))),React.createElement(X.PanelBody,{title:(0,Y.__)("Avatar","essential-blocks"),initialOpen:!1},!r&&React.createElement(Q.MediaUpload,{onSelect:function(e){var t=e.id,n=e.url;return a({imageNewUrl:n,imageId:t,imageAlt:alt})},type:"image",value:c,render:function(e){var t=e.open;return React.createElement(X.Button,{className:"eb-background-control-inspector-panel-img-btn components-button",label:(0,Y.__)("Upload Image","essential-blocks"),icon:"format-image",onClick:t})}}),r&&React.createElement(React.Fragment,null,React.createElement(aO,{baseLabel:(0,Y.__)("Image Width","essential-blocks"),controlName:mP,resRequiredProps:ee,units:LP,max:2e3}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Auto Image Height","essential-blocks"),checked:l,onChange:function(){return a({isImgHeightAuto:!l})}}),!l&&React.createElement(aO,{baseLabel:(0,Y.__)("Image Height","essential-blocks"),controlName:gP,resRequiredProps:ee,units:LP,max:2e3}),React.createElement(tO,{resRequiredProps:ee,controlName:aP,baseLabel:"Margin"}),React.createElement(tO,{resRequiredProps:ee,controlName:nP,baseLabel:"Padding"}),React.createElement(cO,{controlName:pP,resRequiredProps:ee}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Enable Background before Image","essential-blocks"),checked:E,onChange:function(){return a({imgBeforeEl:!E})}}),E&&React.createElement(React.Fragment,null,React.createElement(lO,{noOverlay:!0,noMainBgi:!0,controlName:lP,resRequiredProps:ee}),React.createElement(aO,{noUnits:!0,baseLabel:(0,Y.__)("Height","essential-blocks"),controlName:wP,resRequiredProps:ee,min:0,max:300,step:1})))),React.createElement(X.PanelBody,{title:(0,Y.__)("Name","essential-blocks"),initialOpen:!1},React.createElement(oO,{label:(0,Y.__)("Color","essential-blocks"),color:p,onChange:function(e){return a({nameColor:e})}}),React.createElement(eO,{baseLabel:"Typography",typographyPrefixConstant:ZN,resRequiredProps:ee}),React.createElement(tO,{resRequiredProps:ee,controlName:$N,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Job Title","essential-blocks"),initialOpen:!1},React.createElement(oO,{label:(0,Y.__)("Color","essential-blocks"),color:b,onChange:function(e){return a({jobColor:e})}}),React.createElement(eO,{baseLabel:"Typography",typographyPrefixConstant:YN,resRequiredProps:ee}),React.createElement(tO,{resRequiredProps:ee,controlName:KN,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Description","essential-blocks"),initialOpen:!1},i&&React.createElement(React.Fragment,null,React.createElement(oO,{label:(0,Y.__)("Color","essential-blocks"),color:s,onChange:function(e){return a({descsColor:e})}}),React.createElement(eO,{baseLabel:"Typography",typographyPrefixConstant:GN,resRequiredProps:ee}),React.createElement(tO,{resRequiredProps:ee,controlName:XN,baseLabel:"Padding"}))),g&&React.createElement(X.PanelBody,{title:(0,Y.__)("Social Icons","essential-blocks"),initialOpen:!1},React.createElement(oO,{label:(0,Y.__)("Hover Color","essential-blocks"),color:j,onChange:function(e){return a({hvIcnColor:e})}}),React.createElement(oO,{label:(0,Y.__)("Hover Background","essential-blocks"),color:I,onChange:function(e){return a({hvIcnBgc:e})}}),React.createElement(aO,{noUnits:!0,baseLabel:(0,Y.__)("Size","essential-blocks"),controlName:fP,resRequiredProps:ee,min:5,max:300,step:1}),React.createElement(aO,{noUnits:!0,baseLabel:(0,Y.__)("Padding","essential-blocks"),controlName:yP,resRequiredProps:ee,min:0,max:6,step:.1}),React.createElement(aO,{noUnits:!0,baseLabel:(0,Y.__)("Spacing","essential-blocks"),controlName:vP,resRequiredProps:ee,min:0,max:100,step:1}),React.createElement(aO,{noUnits:!0,baseLabel:(0,Y.__)("Rows Gap","essential-blocks"),controlName:hP,resRequiredProps:ee,min:0,max:100,step:1}),React.createElement("label",{style:{display:"block",margin:"-20px 0 20px"}},React.createElement("i",null,"N.B. 'Rows Gap' is used when you have multiple rows of social profiles. Normally in case of only one row, it's not needed")),React.createElement(X.ToggleControl,{label:(0,Y.__)("Icons Devider","essential-blocks"),checked:P,onChange:function(){return a({isIconsDevider:!P})}}),P&&React.createElement(React.Fragment,null,React.createElement(oO,{label:(0,Y.__)("Color","essential-blocks"),color:O,onChange:function(e){return a({icnsDevideColor:e})}}),React.createElement(X.RangeControl,{label:(0,Y.__)("Width","essential-blocks"),value:M,onChange:function(e){return a({icnSepW:e})},step:1,min:1,max:50}),React.createElement(X.RangeControl,{label:(0,Y.__)("Height","essential-blocks"),value:D,onChange:function(e){return a({icnSepH:e})},step:1,min:1,max:300}),React.createElement(aO,{baseLabel:(0,Y.__)("Position From Right","essential-blocks"),controlName:CP,resRequiredProps:ee,min:0,max:80,step:1})),React.createElement(X.SelectControl,{label:(0,Y.__)("Icon Hover Effect","essential-blocks"),value:U,options:UP,onChange:function(e){a({icnEffect:e})}}),React.createElement(X.PanelBody,{title:(0,Y.__)("Icons Border","essential-blocks"),initialOpen:!1},React.createElement(cO,{controlName:bP,resRequiredProps:ee,noShadow:!0})),React.createElement(X.PanelBody,{title:(0,Y.__)("Container Background ","essential-blocks"),initialOpen:!1},React.createElement(lO,{controlName:iP,resRequiredProps:ee,noMainBgi:!0,noOverlay:!0})),React.createElement(X.PanelBody,{title:(0,Y.__)("Container Margin Padding ","essential-blocks"),initialOpen:!1},React.createElement(tO,{resRequiredProps:ee,controlName:tP,baseLabel:"Margin"}),React.createElement(tO,{resRequiredProps:ee,controlName:eP,baseLabel:"Padding"}))),C&&React.createElement(X.PanelBody,{title:(0,Y.__)("Content Separator","essential-blocks"),initialOpen:!1},React.createElement(oO,{label:(0,Y.__)("Color","essential-blocks"),color:T,onChange:function(e){return a({cSepColor:e})}}),React.createElement(aO,{baseLabel:(0,Y.__)("Width","essential-blocks"),controlName:kP,resRequiredProps:ee,min:0,max:800,step:1}),React.createElement(aO,{baseLabel:(0,Y.__)("Height","essential-blocks"),controlName:_P,resRequiredProps:ee,min:0,max:20,step:1}),React.createElement(X.BaseControl,{label:(0,Y.__)("Separator Type","essential-blocks")},React.createElement(X.SelectControl,{value:S,options:qP,onChange:function(e){a({cSepType:e})}}))),g&&x&&React.createElement(X.PanelBody,{title:(0,Y.__)("Social Separator","essential-blocks"),initialOpen:!1},React.createElement(oO,{label:(0,Y.__)("Color","essential-blocks"),color:N,onChange:function(e){return a({sSepColor:e})}}),React.createElement(aO,{baseLabel:(0,Y.__)("Width","essential-blocks"),controlName:RP,resRequiredProps:ee,min:0,max:800,step:1}),React.createElement(aO,{baseLabel:(0,Y.__)("Height","essential-blocks"),controlName:EP,resRequiredProps:ee,min:0,max:20,step:1}),React.createElement(X.BaseControl,{label:(0,Y.__)("Separator Type","essential-blocks")},React.createElement(X.SelectControl,{value:B,options:qP,onChange:function(e){a({sSepType:e})}})))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Margin & Padding")},React.createElement(tO,{resRequiredProps:ee,controlName:JN,baseLabel:"Margin"}),React.createElement(tO,{resRequiredProps:ee,controlName:QN,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Background ","essential-blocks"),initialOpen:!1},React.createElement(lO,{controlName:cP,resRequiredProps:ee})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(cO,{controlName:sP,resRequiredProps:ee})),React.createElement(iO,{attributes:t,setAttributes:a})));var n}))))};function dO(){return dO=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},dO.apply(null,arguments)}var mO=window.EBControls,gO=mO.EBDisplayIcon,fO=mO.sanitizeURL;function yO(e){var t=e.socialDetails,a=void 0===t?[]:t,n=e.icnEffect,o=e.linkNewTab,r=e.preset;return React.createElement("ul",{className:"socials ".concat("new-preset3"===r?"socials-title":"")},a.map((function(e,t){var a=e.title,c=e.link,l=e.icon;return React.createElement("li",{key:t},React.createElement("a",dO({className:n||" ",href:c?fO(c):""},c&&{target:o?"_blank":"_self"},{rel:"noopener",title:a||""}),React.createElement(gO,{className:"hvr-icon social-icon",icon:l}),"new-preset3"===r&&a?a:""))})))}var vO=window.EBControls,hO=vO.softMinifyCssStrings,wO=vO.generateTypographyStyles,kO=vO.generateDimensionsControlStyles,RO=vO.generateBorderShadowStyles,_O=vO.generateResponsiveRangeStyles,EO=vO.generateBackgroundControlStyles,CO=vO.StyleComponent;function xO(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=(t.resOption,t.blockId),r=(t.blockMeta,t.name,t.jobTitle,t.description,t.showDescs),c=(t.imageUrl,t.imageId,t.isImgHeightAuto),l=t.descsColor,i=void 0===l?"#9f9f9f":l,s=t.jobColor,b=void 0===s?"#4b4b4b":s,p=t.nameColor,u=void 0===p?"#4b4b4b":p,d=t.showSocials,m=t.socialDetails,g=(t.profilesOnly,t.iconsJustify),f=t.iconsVAlign,y=t.contentsAlign,v=t.imageAlign,h=t.cSepAlign,w=t.sSepAlign,k=t.preset,R=(t.socialInImage,t.imgBeforeEl),_=t.showCSeparator,E=t.showSSeparator,C=t.cSepType,x=void 0===C?"solid":C,S=t.sSepType,B=void 0===S?"solid":S,T=t.cSepColor,N=void 0===T?"#84AFFF":T,P=t.sSepColor,O=void 0===P?"#CACACA":P,M=t.isIconsDevider,D=t.icnsDevideColor,j=void 0===D?"#cacaca":D,I=t.icnSepW,A=void 0===I?1:I,L=t.icnSepH,F=void 0===L?30:L,H=t.hvIcnColor,z=t.hvIcnBgc,q=t.conVtAlign,U=t.isConBgGradient,V=t.conBgGradient,W=t.conBgColor,G=void 0===W?"rgba(0,0,0,.4)":W,Z=t.imgCnVtAlign,Y=t.isP9reverse,J=t.icnEffect,Q=(t.classHook,t.isContentOverlay),X=wO({attributes:t,prefixConstant:ZN,defaultFontSize:20}),$=X.typoStylesDesktop,K=X.typoStylesTab,ee=X.typoStylesMobile,te=wO({attributes:t,prefixConstant:YN,defaultFontSize:16}),ae=te.typoStylesDesktop,ne=te.typoStylesTab,oe=te.typoStylesMobile,re=wO({attributes:t,prefixConstant:GN,defaultFontSize:16}),ce=re.typoStylesDesktop,le=re.typoStylesTab,ie=re.typoStylesMobile,se=_O({controlName:dP,property:"max-width",attributes:t}),be=se.rangeStylesDesktop,pe=se.rangeStylesTab,ue=se.rangeStylesMobile,de=_O({controlName:mP,property:"width",attributes:t}),me=de.rangeStylesDesktop,ge=de.rangeStylesTab,fe=de.rangeStylesMobile,ye=_O({controlName:xP,property:"Gap",attributes:t}),ve=ye.rangeStylesDesktop,he=ye.rangeStylesTab,we=ye.rangeStylesMobile,ke=_O({controlName:gP,property:"height",attributes:t}),Re=ke.rangeStylesDesktop,_e=ke.rangeStylesTab,Ee=ke.rangeStylesMobile,Ce=_O({controlName:fP,customUnit:"px",property:"font-size",attributes:t}),xe=Ce.rangeStylesDesktop,Se=Ce.rangeStylesTab,Be=Ce.rangeStylesMobile,Te=_O({controlName:yP,customUnit:"em",property:"padding",attributes:t}),Ne=Te.rangeStylesDesktop,Pe=Te.rangeStylesTab,Oe=Te.rangeStylesMobile,Me=_O({controlName:vP,customUnit:"px",property:"column-gap",attributes:t}),De=Me.rangeStylesDesktop,je=Me.rangeStylesTab,Ie=Me.rangeStylesMobile,Ae=_O({controlName:hP,customUnit:"px",property:"row-gap",attributes:t}),Le=Ae.rangeStylesDesktop,Fe=Ae.rangeStylesTab,He=Ae.rangeStylesMobile,ze=_O({controlName:wP,customUnit:"px",property:"height",attributes:t}),qe=ze.rangeStylesDesktop,Ue=ze.rangeStylesTab,Ve=ze.rangeStylesMobile,We=_O({controlName:kP,property:"width",attributes:t}),Ge=We.rangeStylesDesktop,Ze=We.rangeStylesTab,Ye=We.rangeStylesMobile,Je=_O({controlName:RP,property:"width",attributes:t}),Qe=Je.rangeStylesDesktop,Xe=Je.rangeStylesTab,$e=Je.rangeStylesMobile,Ke=_O({controlName:_P,property:"border-bottom-width",attributes:t}),et=Ke.rangeStylesDesktop,tt=Ke.rangeStylesTab,at=Ke.rangeStylesMobile,nt=_O({controlName:EP,property:"border-bottom-width",attributes:t}),ot=nt.rangeStylesDesktop,rt=nt.rangeStylesTab,ct=nt.rangeStylesMobile,lt=_O({controlName:CP,property:"margin-right",attributes:t}),it=lt.rangeStylesDesktop,st=lt.rangeStylesTab,bt=lt.rangeStylesMobile,pt=EO({attributes:t,controlName:cP}),ut=pt.backgroundStylesDesktop,dt=pt.hoverBackgroundStylesDesktop,mt=pt.backgroundStylesTab,gt=pt.hoverBackgroundStylesTab,ft=pt.backgroundStylesMobile,yt=pt.hoverBackgroundStylesMobile,vt=pt.overlayStylesDesktop,ht=pt.hoverOverlayStylesDesktop,wt=pt.overlayStylesTab,kt=pt.hoverOverlayStylesTab,Rt=pt.overlayStylesMobile,_t=pt.hoverOverlayStylesMobile,Et=pt.bgTransitionStyle,Ct=pt.ovlTransitionStyle,xt=EO({attributes:t,controlName:lP,noOverlay:!0,noMainBgi:!0}),St=xt.backgroundStylesDesktop,Bt=xt.hoverBackgroundStylesDesktop,Tt=xt.bgTransitionStyle,Nt=EO({attributes:t,controlName:iP,noOverlay:!0,noMainBgi:!0}),Pt=Nt.backgroundStylesDesktop,Ot=Nt.hoverBackgroundStylesDesktop,Mt=Nt.bgTransitionStyle,Dt=kO({attributes:t,controlName:JN,styleFor:"margin"}),jt=Dt.dimensionStylesDesktop,It=Dt.dimensionStylesTab,At=Dt.dimensionStylesMobile,Lt=kO({attributes:t,controlName:QN,styleFor:"padding"}),Ft=Lt.dimensionStylesDesktop,Ht=Lt.dimensionStylesTab,zt=Lt.dimensionStylesMobile,qt=kO({attributes:t,controlName:XN,styleFor:"padding"}),Ut=qt.dimensionStylesDesktop,Vt=qt.dimensionStylesTab,Wt=qt.dimensionStylesMobile,Gt=kO({attributes:t,controlName:$N,styleFor:"padding"}),Zt=Gt.dimensionStylesDesktop,Yt=Gt.dimensionStylesTab,Jt=Gt.dimensionStylesMobile,Qt=kO({attributes:t,controlName:KN,styleFor:"padding"}),Xt=Qt.dimensionStylesDesktop,$t=Qt.dimensionStylesTab,Kt=Qt.dimensionStylesMobile,ea=kO({attributes:t,controlName:eP,styleFor:"padding"}),ta=ea.dimensionStylesDesktop,aa=ea.dimensionStylesTab,na=ea.dimensionStylesMobile,oa=kO({attributes:t,controlName:tP,styleFor:"margin"}),ra=oa.dimensionStylesDesktop,ca=oa.dimensionStylesTab,la=oa.dimensionStylesMobile,ia=kO({attributes:t,controlName:aP,styleFor:"margin"}),sa=ia.dimensionStylesDesktop,ba=ia.dimensionStylesTab,pa=ia.dimensionStylesMobile,ua=kO({attributes:t,controlName:nP,styleFor:"padding"}),da=ua.dimensionStylesDesktop,ma=ua.dimensionStylesTab,ga=ua.dimensionStylesMobile,fa=kO({attributes:t,controlName:oP,styleFor:"padding"}),ya=fa.dimensionStylesDesktop,va=fa.dimensionStylesTab,ha=fa.dimensionStylesMobile,wa=kO({attributes:t,controlName:rP,styleFor:"margin"}),ka=wa.dimensionStylesDesktop,Ra=wa.dimensionStylesTab,_a=wa.dimensionStylesMobile,Ea=RO({controlName:sP,attributes:t}),Ca=Ea.styesDesktop,xa=Ea.styesTab,Sa=Ea.styesMobile,Ba=Ea.stylesHoverDesktop,Ta=Ea.stylesHoverTab,Na=Ea.stylesHoverMobile,Pa=Ea.transitionStyle,Oa=RO({controlName:bP,attributes:t,noShadow:!0}),Ma=Oa.styesDesktop,Da=Oa.styesTab,ja=Oa.styesMobile,Ia=Oa.stylesHoverDesktop,Aa=Oa.stylesHoverTab,La=Oa.stylesHoverMobile,Fa=Oa.transitionStyle,Ha=RO({controlName:pP,attributes:t}),za=Ha.styesDesktop,qa=Ha.styesTab,Ua=Ha.styesMobile,Va=Ha.stylesHoverDesktop,Wa=Ha.stylesHoverTab,Ga=Ha.stylesHoverMobile,Za=Ha.transitionStyle,Ya=RO({controlName:uP,attributes:t}),Ja=Ya.styesDesktop,Qa=Ya.styesTab,Xa=Ya.styesMobile,$a=m.reduce((function(e,t,a){return"\n\t\t ".concat(e,"\n\t\t .").concat(o,".eb-team-wrapper ul.socials li:nth-child(").concat(a+1,") a {\n\t\t\t background-color: ").concat(t.bgColor||"#000",";\n\t\t\t color: ").concat(t.color||"#fff",";\n\t\t }\n\t\t ")}),""),Ka="\n\t\t div.eb-team-wrapper h3,\n\t\t div.eb-team-wrapper h4,\n\t\t div.eb-team-wrapper p,\n\t\t div.eb-team-wrapper ul {\n\t\t\t margin: 0;\n\t\t\t padding:0;\n\t\t }\n\n\t\t .social-icon {\n\t\t\t font-style: normal;\n\t\t }\n\n\n\t\t .".concat(o,".eb-team-wrapper > *{\n\t\t\t position:relative;\n\t\t }\n\n\t\t .").concat(o,".eb-team-wrapper {\n\t\t\t position:relative;\n\t\t\t overflow:hidden;\n\t\t\t margin:auto;\n\t\t\t ").concat(be,"\n\t\t\t ").concat(ut,"\n\t\t\t ").concat(jt,"\n\t\t\t ").concat(Ft,"\n\t\t\t ").concat(Ca,"\n\t\t\t transition: ").concat(Et,", ").concat(Pa,";\n\t\t }\n\n\n\t\t ").concat("preset3"===k?"\n\t\t\t\t .".concat(o,".eb-team-wrapper .eb-team-member-image{\n\t\t\t\t\t position: relative;\n\t\t\t\t }\n\t\t\t\t "):"","\n\t\t ").concat("preset3"===k&&Q?"\n            .".concat(o,".eb-team-wrapper.content-overlay .eb-team-member-contents {\n                justify-content: ").concat(q||"center",";\n                ").concat(ya,"\n                ").concat(ka,"\n                ").concat(Ja,"\n                ").concat(U?"background-image: ".concat(V,";"):"background-color: ".concat(G,";"),"\n            }\n\t\t\t\t "):"","\n\n\t\t ").concat("preset2"===k?"\n\t\t\t\t .".concat(o,".eb-team-wrapper .eb-team-member-contents{\n\t\t\t\t\t ").concat(U?"background-image: ".concat(V,";"):"background-color: ".concat(G,";"),"\n\t\t\t\t\t height: 50%;\n\t\t\t\t\t display: flex;\n\t\t\t\t\t flex-direction: column;\n\t\t\t\t\t justify-content: center;\n\t\t\t\t }\n\n\t\t\t\t .").concat(o,".eb-team-wrapper div.eb-team-member-contents .eb-team-member-job-title {\n\t\t\t\t\t display: block;\n\t\t\t\t }\n\n\t\t\t\t .").concat(o,".eb-team-wrapper div.eb-team-member-contents ul.socials {\n\t\t\t\t\t display: flex;\n\t\t\t\t }\n\n\t\t\t\t .").concat(o,".eb-team-wrapper:hover .eb-team-member-contents{\n\t\t\t\t\t top: 50%;\n\t\t\t\t }\n\n\t\t\t\t "):"","\n\n         ").concat("new-preset1"===k||"new-preset2"===k||"new-preset3"===k?"\n                .".concat(o,".eb-team-wrapper .eb-team-member-contents-inner{\n                    ").concat(U?"background-image: ".concat(V,";"):"background-color: ".concat(G,";"),"\n                    ").concat(ya,"\n\t\t\t        ").concat(ka,"\n\t\t\t        ").concat(Ja,"\n                }\n\n                .").concat(o,".eb-team-wrapper .eb-team-member-job-title {\n                    ").concat(ae,"\n                    ").concat(Xt,"\n                    color: ").concat(b,";\n                    ").concat("preset2"===k?"display:none;":"","\n                }\n\n                .").concat(o,".eb-team-wrapper div.eb-team-member-contents .eb-team-member-job-title {\n                    display: block;\n                }\n\n                .").concat(o,".eb-team-wrapper div.eb-team-member-contents ul.socials {\n                    display: flex;\n                }\n\n                .").concat(o,".eb-team-wrapper:hover .eb-team-member-contents{\n                    top: 50%;\n                }\n\n                "):"","\n\n\n\t\t ").concat("preset5"===k?"\n\t\t\t\t .".concat(o,".eb-team-wrapper .eb-team-inner {\n\t\t\t\t\t display: flex;\n\t\t\t\t\t justify-content: space-between;\n\t\t\t\t\t flex-direction: ").concat(Y?"row-reverse":"row",";\n\t\t\t\t\t align-items: ").concat(Z||"flex-start",";\n\t\t\t\t\t ").concat(ve,"\n\t\t\t\t }\n\n\t\t\t\t .").concat(o,".eb-team-wrapper .eb-team-member-image {\n\t\t\t\t\t ").concat(me,"\n\t\t\t\t }\n\n\t\t\t\t .").concat(o,".eb-team-wrapper .eb-team-member-contents {\n\t\t\t\t\t flex:1;\n\t\t\t\t }\n\t\t\t\t "):"","\n\n\n\n\t\t .").concat(o,".eb-team-wrapper:hover{\n\t\t\t ").concat("preset2"===k?"overflow:hidden;":"","\n\n\t\t\t ").concat(dt,"\n\t\t\t ").concat(Ba,"\n\t\t }\n\n\t\t .").concat(o,".eb-team-wrapper:before{\n\t\t\t ").concat(vt,"\n\t\t\t transition: ").concat(Ct,";\n\n\t\t }\n\n\t\t .").concat(o,".eb-team-wrapper:hover:before{\n\t\t\t ").concat(ht,"\n\n\t\t }\n\n         .").concat(o,".eb-team-wrapper .eb-team-member-image {\n            ").concat("left"===v?"text-align: left;":"right"===v?"text-align: right;":"text-align: center","\n         }\n\n\t\t .").concat(o,".eb-team-wrapper .eb-team-member-image img {\n\t\t\t max-width: 100%;\n\t\t\t object-fit: cover;\n\t\t\t display: inline-block;\n\t\t\t ").concat("preset5"===k?"width:100%;":me,"\n\t\t\t ").concat(za,"\n\t\t\t ").concat(sa,"\n\t\t\t ").concat(da,"\n\t\t\t ").concat(c?"height:auto;":Re,"\n\t\t\t ").concat("preset6"===k?"clipPath: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);":"","\n\t\t }\n\n\n\t\t ").concat(R?"\n\t\t\t .".concat(o,'.eb-team-wrapper .eb-team-member-image:before {\n\t\t\t\t content: "";\n\t\t\t\t display: block;\n\t\t\t\t ').concat(qe,"\n\t\t\t\t ").concat(St,"\n\t\t\t\t transition: ").concat(Tt,";\n\n\t\t\t }\n\n\t\t\t .").concat(o,".eb-team-wrapper .eb-team-member-image:hover:before{\n\t\t\t\t ").concat(Bt,"\n\t\t\t }\n\t\t\t "):"","\n\n\n\n\t\t .").concat(o,".eb-team-wrapper .eb-team-member-image:hover > img {\n\t\t\t ").concat(Va,"\n\t\t\t transition: ").concat(Za,";\n\t\t }\n\n\t\t .").concat(o,".eb-team-wrapper .eb-team-member-contents {\n\t\t\t text-align: ").concat(y,";\n\t\t\t box-sizing: border-box;\n\t\t\t ").concat("preset2"===k?"\n\t\t\t\t\t position: absolute;\n\t\t\t\t\t left: 0;\n\t\t\t\t\t right: 0;\n\t\t\t\t\t top: 100%;\n\t\t\t\t\t transition: 0.5s;\n\t\t\t\t\t ":"","\n\t\t }\n\n\t\t .").concat(o,".eb-team-wrapper .eb-team-member-contents .eb-team-member-name {\n\t\t\t ").concat($,"\n\t\t\t ").concat(Zt,"\n\t\t\t color: ").concat(u,";\n\t\t }\n\n\t\t .").concat(o,".eb-team-wrapper .eb-team-member-contents .eb-team-member-job-title {\n\t\t\t ").concat(ae,"\n\t\t\t ").concat(Xt,"\n\t\t\t color: ").concat(b,";\n\t\t\t ").concat("preset2"===k?"display:none;":"","\n\t\t }\n\n\t\t ").concat(r?"\n\t\t\t\t .".concat(o,".eb-team-wrapper .eb-team-member-contents .eb-team-member-description {\n\t\t\t\t\t color: ").concat(i,";\n\t\t\t\t\t ").concat(Ut,"\n\t\t\t\t\t ").concat(ce,"\n\t\t\t\t }\n\t\t\t\t "):"","\n\n ").concat(_?"\n\t\t .".concat(o,".eb-team-wrapper .eb-team-member-contents .eb-team-member-content-separator {\n\t\t\t border: none;\n\t\t\t margin: auto;\n\t\t\t border-bottom: 1px ").concat(x," ").concat(N,";\n\t\t\t ").concat(Ge,"\n\t\t\t ").concat(et,"\n\t\t\t ").concat("left"===h?"margin-left:0;":"right"===h?"margin-right:0;":"","\n\t\t }\n\t\t "):"","\n\n ").concat(d&&E?"\n\t\t .".concat(o,".eb-team-wrapper .eb-team-member-social-separator {\n\t\t\t border: none;\n\t\t\t margin: auto;\n\t\t\t border-bottom: 1px ").concat(B," ").concat(O,";\n\t\t\t ").concat(Qe,"\n\t\t\t ").concat(ot,"\n\t\t\t ").concat("left"===w?"margin-left:0;":"right"===w?"margin-right:0;":"","\n\t\t }\n\t\t "):"","\n\n ").concat("preset4"===k?"\n\t\t .".concat(o,".eb-team-wrapper .eb-team-inner {\n\t\t\t position: relative;\n\t\t }\n\n\t\t .").concat(o,".eb-team-wrapper:hover .eb-team-member-contents {\n\t\t\t opacity: 1;\n\t\t }\n\n\t\t .").concat(o,".eb-team-wrapper .eb-team-member-contents {\n\t\t\t transition: 0.5s;\n\t\t\t opacity: 0;\n\t\t\t position: absolute;\n\t\t\t top: 0;\n\t\t\t left: 0;\n\t\t\t right: 0;\n\t\t\t bottom: 0;\n\t\t\t display: flex;\n\t\t\t flex-direction: column;\n\t\t\t justify-content: ").concat(q||"center",";\n\t\t\t ").concat(ya,"\n\t\t\t ").concat(ka,"\n\t\t\t ").concat(Ja,"\n\t\t\t ").concat(U?"background-image: ".concat(V,";"):"background-color: ".concat(G,";"),"\n\t\t }\n\n\t\t "):"","\n\n ").concat(d?"\n\t\t ".concat($a,"\n\n\t\t .").concat(o,".eb-team-wrapper ul.socials {\n\t\t\t list-style: none;\n\t\t\t flex-wrap: wrap;\n\t\t\t align-items: ").concat(f||"center",";\n\t\t\t justify-content: ").concat(g,";\n\t\t\t ").concat(De,"\n\t\t\t ").concat(Le,"\n\t\t\t ").concat(Pt,"\n\t\t\t transition: ").concat(Mt,", opacity .5s;\n\t\t\t ").concat("preset2"===k?"display:none;":"display: flex;","\n\t\t\t ").concat("preset3"!==k||Q?"\n\t\t\t\t\t ".concat(ra,"\n\t\t\t\t\t ").concat(ta,"\n\t\t\t\t\t "):"\n\t\t\t\t opacity:0;\n\t\t\t\t position: absolute;\n\t\t\t\t top: 0;\n\t\t\t\t bottom: 0;\n\t\t\t\t left:0;\n\t\t\t\t right:0;\n\t\t\t\t box-sizing:border-box;\n\t\t\t\t ".concat(ya,"\n\t\t\t\t ").concat(ka,"\n\t\t\t\t ").concat(Ja,"\n\t\t\t\t ").concat(U?"background-image: ".concat(V,";"):"background-color: ".concat(G,";"),"\n\t\t\t "),"\n\t\t }\n\n\t\t ").concat("preset3"===k?"\n\t\t\t\t .".concat(o,".eb-team-wrapper:hover ul.socials {\n\t\t\t\t\t opacity: 1;\n\t\t\t\t }\n\t\t\t\t "):"","\n\n\t\t .").concat(o,".eb-team-wrapper ul.socials:hover {\n\t\t\t ").concat(Ot,"\n\t\t }\n\n\t ").concat(M?"\n\t\t .".concat(o,".eb-team-wrapper ul.socials li{\n\t\t\t position:relative;\n\t\t }\n\n\t\t .").concat(o,'.eb-team-wrapper ul.socials li + li:before {\n\t\t\t content: "";\n\t\t\t background-color: ').concat(j,";\n\t\t\t height: ").concat(F,"px;\n\t\t\t width: ").concat(A,"px;\n\t\t\t position: absolute;\n\t\t\t top: 2px;\n\t\t\t right: 100%;\n\t\t\t ").concat(it,"\n\t\t }\n\t\t "):"","\n\n\t\t .").concat(o,".eb-team-wrapper ul.socials li a {\n\t\t\t box-sizing:content-box;\n\t\t\t text-decoration: none;\n\t\t\t cursor: pointer;\n\t\t\t display: flex;\n\t\t\t justify-content: center;\n\t\t\t align-items: center;\n\t\t\t height: 0;\n\t\t\t width: 0;\n             line-height: 1em;\n\t\t\t ").concat(xe,"\n\t\t\t ").concat(Ne,"\n\t\t\t ").concat(Ma,"\n\t\t\t transition: color 0.5s, background-color 0.5s, ").concat(Fa,";\n\t\t }\n\n\t\t .").concat(o,".eb-team-wrapper ul.socials li:hover a {\n\t\t\t background-color:").concat(z,";\n\t\t\t color:").concat(H,";\n\t\t\t ").concat(Ia,"\n\t\t }\n\n         ").concat(J?".".concat(o,".eb-team-wrapper ul.socials li a:before {\n                background-color:").concat(z,";\n\t\t\t    color:").concat(H,";\n\t\t\t    ").concat(Ia,"\n\t\t\t}\n\t\t\t"):"","\n\n\t\t "):"","\n\n\n\n\t "),en="\n\t .".concat(o,".eb-team-wrapper {\n\t\t ").concat(pe,"\n\t\t ").concat(mt,"\n\t\t ").concat(It,"\n\t\t ").concat(Ht,"\n\t\t ").concat(xa,"\n\t }\n\n\t .").concat(o,".eb-team-wrapper:hover{\n\t\t ").concat(gt,"\n\t\t ").concat(Ta,"\n\n\t }\n\n\t .").concat(o,".eb-team-wrapper:before{\n\t\t ").concat(wt,"\n\n\t }\n\n\t .").concat(o,".eb-team-wrapper:hover:before{\n\t\t ").concat(kt,"\n\n\t }\n\n\n\t ").concat("preset5"===k?"\n\t\t\t .".concat(o,".eb-team-wrapper .eb-team-member-image {\n\t\t\t\t ").concat(ge,"\n\t\t\t }\n\n\t\t\t .").concat(o,".eb-team-wrapper .eb-team-inner {\n\t\t\t\t ").concat(he,"\n\t\t\t }\n\n\t\t\t "):"","\n\n\n\t ").concat(R?"\n\t\t .".concat(o,".eb-team-wrapper .eb-team-member-image:before {\n\t\t\t ").concat(Ue,"\n\t\t }\n\t\t "):"","\n\n\n\t .").concat(o,".eb-team-wrapper .eb-team-member-image > img {\n\t\t ").concat(qa,"\n\t\t ").concat(ba,"\n\t\t ").concat(ma,"\n\t\t ").concat("preset5"===k?"":ge,"\n\t\t ").concat(c?"":_e,"\n\t }\n\n\n\t .").concat(o,".eb-team-wrapper .eb-team-member-image:hover > img {\n\t\t ").concat(Wa,"\n\n\t }\n\n\n\t ").concat(r?"\n\t\t\t .".concat(o,".eb-team-wrapper .eb-team-member-contents .eb-team-member-description {\n\t\t\t\t ").concat(le,"\n\t\t\t\t ").concat(Vt,"\n\t\t\t }\n\t\t\t "):"","\n\n\t .").concat(o,".eb-team-wrapper .eb-team-member-contents .eb-team-member-name {\n\t\t ").concat(K,"\n\t\t ").concat(Yt,"\n\t }\n\n\t .").concat(o,".eb-team-wrapper .eb-team-member-contents .eb-team-member-job-title {\n\t\t ").concat(ne,"\n\t\t ").concat($t,"\n\t }\n\n\n\n ").concat(_?"\n\t\t .".concat(o,".eb-team-wrapper .eb-team-member-contents .eb-team-member-content-separator {\n\t\t\t ").concat(Ze,"\n\t\t\t ").concat(tt,"\n\t\t }\n\t\t "):"","\n\n ").concat(d&&E?"\n\t\t .".concat(o,".eb-team-wrapper .eb-team-member-social-separator {\n\t\t\t ").concat(Xe,"\n\t\t\t ").concat(rt,"\n\t\t }\n\t\t "):"","\n\n ").concat("preset4"===k?"\n\t\t .".concat(o,".eb-team-wrapper .eb-team-member-contents {\n\t\t\t ").concat(va,"\n\t\t\t ").concat(Ra,"\n\t\t\t ").concat(Qa,"\n\t\t }\n\t\t "):"","\n\n ").concat(d?"\n\t\t ".concat($a,"\n\n\t\t .").concat(o,".eb-team-wrapper ul.socials {\n\t\t\t ").concat(ca,"\n\t\t\t ").concat(aa,"\n\t\t\t ").concat(je,"\n\t\t\t ").concat(Fe,"\n\t\t\t ").concat("preset3"===k?"\n\t\t\t\t\t\t ".concat(va,"\n\t\t\t\t\t\t ").concat(Ra,"\n\t\t\t\t\t\t ").concat(Qa,"\n\t\t\t\t\t "):"","\n\t\t }\n\n\n\t ").concat(M?"\n\t\t\t .".concat(o,".eb-team-wrapper ul.socials li + li:before {\n\t\t\t\t ").concat(st,"\n\t\t\t }\n\t\t\t "):"","\n\n\t\t .").concat(o,".eb-team-wrapper ul.socials li a {\n\t\t\t ").concat(Se,"\n\t\t\t ").concat(Pe,"\n\t\t\t ").concat(Da,"\n\t\t }\n\n\t\t .").concat(o,".eb-team-wrapper ul.socials li:hover a {\n\t\t\t ").concat(Aa,"\n\t\t }\n\t\t "):"","\n\n        ").concat(J?".".concat(o,".eb-team-wrapper ul.socials li a:before {\n            ").concat(Aa,"\n        }\n        "):"","\n\n\n\t "),tn="\n\t .".concat(o,".eb-team-wrapper {\n\t\t ").concat(ue,"\n\t\t ").concat(ft,"\n\t\t ").concat(At,"\n\t\t ").concat(zt,"\n\t\t ").concat(Sa,"\n\t }\n\n\t .").concat(o,".eb-team-wrapper:hover{\n\t\t ").concat(yt,"\n\t\t ").concat(Na,"\n\n\t }\n\n\t .").concat(o,".eb-team-wrapper:before{\n\t\t ").concat(Rt,"\n\n\t }\n\n\t .").concat(o,".eb-team-wrapper:hover:before{\n\t\t ").concat(_t,"\n\n\t }\n\n\t ").concat("preset5"===k?"\n\t\t\t .".concat(o,".eb-team-wrapper .eb-team-member-image {\n\t\t\t\t ").concat(fe,"\n\t\t\t }\n\n\t\t\t .").concat(o,".eb-team-wrapper .eb-team-inner {\n\t\t\t\t ").concat(we,"\n\t\t\t }\n\t\t\t "):"","\n\n\n\t ").concat(R?"\n\t\t .".concat(o,".eb-team-wrapper .eb-team-member-image:before {\n\t\t\t ").concat(Ve,"\n\t\t }\n\t\t "):"","\n\n\t .").concat(o,".eb-team-wrapper .eb-team-member-image > img {\n\t\t ").concat("preset5"===k?"":fe,"\n\t\t ").concat(Ua,"\n\t\t ").concat(pa,"\n\t\t ").concat(ga,"\n\n\t\t ").concat(c?"":Ee,"\n\t }\n\n\n\n\n\t .").concat(o,".eb-team-wrapper .eb-team-member-image:hover > img {\n\t\t ").concat(Ga,"\n\t }\n\n\t ").concat(r?"\n\t\t\t .".concat(o,".eb-team-wrapper .eb-team-member-contents .eb-team-member-description {\n\t\t\t\t ").concat(ie,"\n\t\t\t\t ").concat(Wt,"\n\t\t\t }\n\t\t\t "):"","\n\n\t .").concat(o,".eb-team-wrapper .eb-team-member-contents .eb-team-member-name {\n\t\t ").concat(ee,"\n\t\t ").concat(Jt,"\n\t }\n\n\t .").concat(o,".eb-team-wrapper .eb-team-member-contents .eb-team-member-job-title {\n\t\t ").concat(oe,"\n\t\t ").concat(Kt,"\n\t }\n\n\n\n\t ").concat(_?"\n\t\t\t .".concat(o,".eb-team-wrapper .eb-team-member-contents .eb-team-member-content-separator {\n\t\t\t\t ").concat(Ye,"\n\t\t\t\t ").concat(at,"\n\t\t\t }\n\t\t\t "):"","\n\n\t ").concat(d&&E?"\n\t\t\t .".concat(o,".eb-team-wrapper .eb-team-member-social-separator {\n\t\t\t\t ").concat($e,"\n\t\t\t\t ").concat(ct,"\n\t\t\t }\n\t\t\t "):"","\n\n\n\t ").concat("preset4"===k?"\n\t\t\t .".concat(o,".eb-team-wrapper .eb-team-member-contents {\n\t\t\t\t ").concat(ha,"\n\t\t\t\t ").concat(_a,"\n\t\t\t\t ").concat(Xa,"\n\t\t\t }\n\t\t\t "):"","\n\n\t ").concat(d?"\n\t\t\t ".concat($a,"\n\n\t\t\t .").concat(o,".eb-team-wrapper ul.socials {\n\t\t\t\t ").concat(Ie,"\n\t\t\t\t ").concat(He,"\n\t\t\t\t ").concat(na,"\n\t\t\t\t ").concat(la,"\n\t\t\t\t ").concat("preset3"===k?"\n\t\t\t\t\t\t\t ".concat(ha,"\n\t\t\t\t\t\t\t ").concat(_a,"\n\t\t\t\t\t\t\t ").concat(Xa,"\n\t\t\t\t\t\t "):"","\n\t\t\t }\n\n\t\t\t ").concat(M?"\n\t\t\t\t\t .".concat(o,".eb-team-wrapper ul.socials li + li:before {\n\t\t\t\t\t\t ").concat(bt,"\n\t\t\t\t\t }\n\t\t\t\t\t "):"","\n\n\t\t\t .").concat(o,".eb-team-wrapper ul.socials li a {\n\t\t\t\t ").concat(Be,"\n\t\t\t\t ").concat(Oe,"\n\t\t\t\t ").concat(ja,"\n\t\t\t }\n\n\n\t\t\t .").concat(o,".eb-team-wrapper ul.socials li:hover a {\n\t\t\t\t ").concat(La,"\n\t\t\t }\n\n             ").concat(J?".".concat(o,".eb-team-wrapper ul.socials li a:before {\n                ").concat(La,"\n            }\n            "):"","\n\n\t\t\t "):"","\n\n\n\t "),an=hO("\n\t\t ".concat(Ka,"\n\n\n\t ")),nn=hO("\n\t\t ".concat(en,"\n\n\n\t ")),on=hO("\n\t\t ".concat(tn,"\n\n\n\t "));return React.createElement(React.Fragment,null,React.createElement(CO,{attributes:t,setAttributes:a,desktopAllStyles:an,tabAllStyles:nn,mobileAllStyles:on,blockName:n}))}var SO=[{title:"Default Layout",content:'\x3c!-- wp:essential-blocks/team-member {"blockId":"eb-team-member-kdij4","blockMeta":{"desktop":"div.eb-team-wrapper h3,div.eb-team-wrapper h4,div.eb-team-wrapper p,div.eb-team-wrapper ul { margin:0; padding:0 }.social-icon { font-style:normal }.eb-team-member-kdij4.eb-team-wrapper \\u003e * { position:relative }.eb-team-member-kdij4.eb-team-wrapper { position:relative; overflow:hidden; margin:auto; max-width:100%; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-team-member-kdij4.eb-team-wrapper:before { transition:background 0.5s, opacity 0.5s, filter 0.5s }.eb-team-member-kdij4.eb-team-wrapper .eb-team-member-image { text-align:center }.eb-team-member-kdij4.eb-team-wrapper .eb-team-member-image img { max-width:100%; object-fit:cover; display:inline-block; width:200px; height:200px }.eb-team-member-kdij4.eb-team-wrapper .eb-team-member-image:hover \\u003e img { transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-team-member-kdij4.eb-team-wrapper .eb-team-member-contents { text-align:center; box-sizing:border-box }.eb-team-member-kdij4.eb-team-wrapper .eb-team-member-contents .eb-team-member-name { font-size:20px; padding-top:20px; padding-bottom:15px; color:var(\\u002d\\u002deb-global-heading-color) }.eb-team-member-kdij4.eb-team-wrapper .eb-team-member-contents .eb-team-member-job-title { font-size:16px; color:var(\\u002d\\u002deb-global-heading-color) }.eb-team-member-kdij4.eb-team-wrapper .eb-team-member-contents .eb-team-member-description { color:var(\\u002d\\u002deb-global-text-color); padding-top:15px; padding-bottom:20px; font-size:16px }.eb-team-member-kdij4.eb-team-wrapper ul.socials li:nth-child(1) a { background-color:#A0A8BD; color:#fff }.eb-team-member-kdij4.eb-team-wrapper ul.socials li:nth-child(2) a { background-color:#A0A8BD; color:#fff }.eb-team-member-kdij4.eb-team-wrapper ul.socials li:nth-child(3) a { background-color:#A0A8BD; color:#fff }.eb-team-member-kdij4.eb-team-wrapper ul.socials li:nth-child(4) a { background-color:#A0A8BD; color:#fff }.eb-team-member-kdij4.eb-team-wrapper ul.socials { list-style:none; flex-wrap:wrap; align-items:center; justify-content:center; column-gap:20px; row-gap:4px; transition:background 0.5s, opacity .5s; display:flex; padding-top:10px }.eb-team-member-kdij4.eb-team-wrapper ul.socials li a { box-sizing:content-box; text-decoration:none; cursor:pointer; display:flex; justify-content:center; align-items:center; height:0; width:0; line-height:1em; font-size:20px; padding:1em; transition:color 0.5s, background-color 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }","tab":".eb-team-member-kdij4.eb-team-wrapper ul.socials li:nth-child(1) a { background-color:#A0A8BD; color:#fff }.eb-team-member-kdij4.eb-team-wrapper ul.socials li:nth-child(2) a { background-color:#A0A8BD; color:#fff }.eb-team-member-kdij4.eb-team-wrapper ul.socials li:nth-child(3) a { background-color:#A0A8BD; color:#fff }.eb-team-member-kdij4.eb-team-wrapper ul.socials li:nth-child(4) a { background-color:#A0A8BD; color:#fff }","mobile":".eb-team-member-kdij4.eb-team-wrapper ul.socials li:nth-child(1) a { background-color:#A0A8BD; color:#fff }.eb-team-member-kdij4.eb-team-wrapper ul.socials li:nth-child(2) a { background-color:#A0A8BD; color:#fff }.eb-team-member-kdij4.eb-team-wrapper ul.socials li:nth-child(3) a { background-color:#A0A8BD; color:#fff }.eb-team-member-kdij4.eb-team-wrapper ul.socials li:nth-child(4) a { background-color:#A0A8BD; color:#fff }"},"imageNewUrl":"data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A","profilesOnly":[{"title":"Facebook","icon":"fab fa-facebook-f","link":"","linkOpenNewTab":false},{"title":"Twitter","icon":"fab fa-x-twitter","link":"","linkOpenNewTab":false},{"title":"LinkedIn","icon":"fab fa-linkedin-in","link":"","linkOpenNewTab":false},{"title":"YouTube","icon":"fab fa-youtube","link":"","linkOpenNewTab":false}],"socialDetails":[{"title":"Facebook","icon":"fab fa-facebook-f","color":"#fff","bgColor":"#A0A8BD","link":"","linkOpenNewTab":false,"isExpanded":false},{"title":"Twitter","icon":"fab fa-x-twitter","color":"#fff","bgColor":"#A0A8BD","link":"","linkOpenNewTab":false,"isExpanded":false},{"title":"LinkedIn","icon":"fab fa-linkedin-in","color":"#fff","bgColor":"#A0A8BD","link":"","linkOpenNewTab":false,"isExpanded":false},{"title":"YouTube","icon":"fab fa-youtube","color":"#fff","bgColor":"#A0A8BD","link":"","linkOpenNewTab":false,"isExpanded":false}],"commonStyles":{"desktop":".eb-parent-eb-team-member-kdij4 { display:block }.root-eb-team-member-kdij4 { position:relative }","tab":".eb-parent-eb-team-member-kdij4 { display:block }","mobile":".eb-parent-eb-team-member-kdij4 { display:block }"}} --\x3e\n<div class="wp-block-essential-blocks-team-member  root-eb-team-member-kdij4"><div class="eb-parent-wrapper eb-parent-eb-team-member-kdij4 "><div class="eb-team-member-kdij4 eb-team-wrapper default  "><div class="eb-team-inner"><div class="eb-team-member-image"><img class="eb-team-member-avatar" src="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" alt="John Doe"/></div><div class="eb-team-member-contents"><div class="eb-team-member-texts"><h3 class="eb-team-member-name">John Doe</h3><h4 class="eb-team-member-job-title">Software Engineer</h4><p class="eb-team-member-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.</p></div><ul class="socials "><li><a class=" " href="" rel="noopener" title="Facebook"><i class="fab fa-facebook-f hvr-icon social-icon" icon="fab fa-facebook-f"></i></a></li><li><a class=" " href="" rel="noopener" title="Twitter"><i class="fab fa-x-twitter hvr-icon social-icon" icon="fab fa-x-twitter"></i></a></li><li><a class=" " href="" rel="noopener" title="LinkedIn"><i class="fab fa-linkedin-in hvr-icon social-icon" icon="fab fa-linkedin-in"></i></a></li><li><a class=" " href="" rel="noopener" title="YouTube"><i class="fab fa-youtube hvr-icon social-icon" icon="fab fa-youtube"></i></a></li></ul></div></div></div></div></div>\n\x3c!-- /wp:essential-blocks/team-member --\x3e'},{title:"Classic Layout",content:'\x3c!-- wp:essential-blocks/team-member {"blockId":"eb-team-member-3blic","blockMeta":{"desktop":"div.eb-team-wrapper h3,div.eb-team-wrapper h4,div.eb-team-wrapper p,div.eb-team-wrapper ul { margin:0; padding:0 }.social-icon { font-style:normal }.eb-team-member-3blic.eb-team-wrapper \\u003e * { position:relative }.eb-team-member-3blic.eb-team-wrapper { position:relative; overflow:hidden; margin:auto; max-width:100%; background-color:rgba(255,255,255,1); box-shadow:rgba(0,0,0,0.3) 0px 5px 20px 0px ; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-team-member-3blic.eb-team-wrapper:hover { box-shadow:rgba(0,0,0,0.3) 0px 5px 20px 0px   }.eb-team-member-3blic.eb-team-wrapper:before { transition:background 0.5s, opacity 0.5s, filter 0.5s }.eb-team-member-3blic.eb-team-wrapper .eb-team-member-image { text-align:center }.eb-team-member-3blic.eb-team-wrapper .eb-team-member-image img { max-width:100%; object-fit:cover; display:inline-block; width:200px; border-width:5px; border-color:rgba(255,255,255,1); border-style:solid; border-radius:50%; margin-top:-100px; height:200px }.eb-team-member-3blic.eb-team-wrapper .eb-team-member-image:before { content:\\u0022\\u0022; display:block; height:150px; background-color:var(\\u002d\\u002deb-global-primary-color); transition:background 0.5s }.eb-team-member-3blic.eb-team-wrapper .eb-team-member-image:hover \\u003e img { transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-team-member-3blic.eb-team-wrapper .eb-team-member-contents { text-align:center; box-sizing:border-box }.eb-team-member-3blic.eb-team-wrapper .eb-team-member-contents .eb-team-member-name { font-size:20px; padding-top:20px; padding-bottom:15px; color:#4b4b4b }.eb-team-member-3blic.eb-team-wrapper .eb-team-member-contents .eb-team-member-job-title { font-size:16px; padding-bottom:15px; color:#4b4b4b }.eb-team-member-3blic.eb-team-wrapper .eb-team-member-contents .eb-team-member-description { color:#9f9f9f; padding-top:15px; padding-right:20px; padding-left:20px; padding-bottom:20px; font-size:16px }.eb-team-member-3blic.eb-team-wrapper .eb-team-member-contents .eb-team-member-content-separator { border:none; margin:auto; border-bottom:1px solid #E1E7F1; width:70px; border-bottom-width:3px }.eb-team-member-3blic.eb-team-wrapper .eb-team-member-social-separator { border:none; margin:auto; border-bottom:1px solid #E1E7F1; width:90%; border-bottom-width:1px }.eb-team-member-3blic.eb-team-wrapper ul.socials li:nth-child(1) a { background-color:#A0A8BD; color:#fff }.eb-team-member-3blic.eb-team-wrapper ul.socials li:nth-child(2) a { background-color:#A0A8BD; color:#fff }.eb-team-member-3blic.eb-team-wrapper ul.socials li:nth-child(3) a { background-color:#A0A8BD; color:#fff }.eb-team-member-3blic.eb-team-wrapper ul.socials li:nth-child(4) a { background-color:#A0A8BD; color:#fff }.eb-team-member-3blic.eb-team-wrapper ul.socials { list-style:none; flex-wrap:wrap; align-items:center; justify-content:center; column-gap:50px; row-gap:4px; transition:background 0.5s, opacity .5s; display:flex; padding-top:20px; padding-right:40px; padding-left:40px; padding-bottom:20px }.eb-team-member-3blic.eb-team-wrapper ul.socials li { position:relative }.eb-team-member-3blic.eb-team-wrapper ul.socials li + li:before { content:\\u0022\\u0022; background-color:#cacaca; height:38px; width:1px; position:absolute; top:2px; right:100%; margin-right:23px }.eb-team-member-3blic.eb-team-wrapper ul.socials li a { box-sizing:content-box; text-decoration:none; cursor:pointer; display:flex; justify-content:center; align-items:center; height:0; width:0; line-height:1em; font-size:20px; padding:1em; border-width:1px; border-color:#A0A8BD; border-style:solid; border-radius:0px; transition:color 0.5s, background-color 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-team-member-3blic.eb-team-wrapper ul.socials li:hover a { background-color:#909AA9; color:#fff }","tab":".eb-team-member-3blic.eb-team-wrapper ul.socials li:nth-child(1) a { background-color:#A0A8BD; color:#fff }.eb-team-member-3blic.eb-team-wrapper ul.socials li:nth-child(2) a { background-color:#A0A8BD; color:#fff }.eb-team-member-3blic.eb-team-wrapper ul.socials li:nth-child(3) a { background-color:#A0A8BD; color:#fff }.eb-team-member-3blic.eb-team-wrapper ul.socials li:nth-child(4) a { background-color:#A0A8BD; color:#fff }","mobile":".eb-team-member-3blic.eb-team-wrapper ul.socials li:nth-child(1) a { background-color:#A0A8BD; color:#fff }.eb-team-member-3blic.eb-team-wrapper ul.socials li:nth-child(2) a { background-color:#A0A8BD; color:#fff }.eb-team-member-3blic.eb-team-wrapper ul.socials li:nth-child(3) a { background-color:#A0A8BD; color:#fff }.eb-team-member-3blic.eb-team-wrapper ul.socials li:nth-child(4) a { background-color:#A0A8BD; color:#fff }"},"imageNewUrl":"data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A","descsColor":"#9f9f9f","nameColor":"#4b4b4b","jobColor":"#4b4b4b","profilesOnly":[{"title":"Facebook","icon":"fab fa-facebook-f","link":"","linkOpenNewTab":false},{"title":"Twitter","icon":"fab fa-x-twitter","link":"","linkOpenNewTab":false},{"title":"LinkedIn","icon":"fab fa-linkedin-in","link":"","linkOpenNewTab":false},{"title":"YouTube","icon":"fab fa-youtube","link":"","linkOpenNewTab":false}],"socialDetails":[{"title":"Facebook","icon":"fab fa-facebook-f","color":"#fff","bgColor":"#A0A8BD","link":"","linkOpenNewTab":false,"isExpanded":false},{"title":"Twitter","icon":"fab fa-x-twitter","color":"#fff","bgColor":"#A0A8BD","link":"","linkOpenNewTab":false,"isExpanded":false},{"title":"LinkedIn","icon":"fab fa-linkedin-in","color":"#fff","bgColor":"#A0A8BD","link":"","linkOpenNewTab":false,"isExpanded":false},{"title":"YouTube","icon":"fab fa-youtube","color":"#fff","bgColor":"#A0A8BD","link":"","linkOpenNewTab":false,"isExpanded":false}],"preset":"preset1","imgBeforeEl":true,"showCSeparator":true,"showSSeparator":true,"cSepColor":"#E1E7F1","sSepColor":"#E1E7F1","isIconsDevider":true,"icnSepH":38,"hvIcnColor":"#fff","hvIcnBgc":"#909AA9","isConBgGradient":false,"conBgGradient":"linear-gradient(45deg, #7967ff, rgba(194,119,242,0.8))","dscs_FontSize":16,"job_FontSize":16,"name_FontSize":20,"icnSp_Range":50,"WrpBg_backgroundColor":"rgba(255,255,255,1)","imgBgP_gradientColor":"linear-gradient(45deg, rgba(120,102,255,0.49) 0% , rgba(195,120,242,0.52) 100%)","hov_imgBgP_gradientColor":"linear-gradient(45deg, rgba(0,0,0,0.8) 0% , rgba(0,0,0,0.4) 100%)","wrpBdSd_hOffset":0,"wrpBdSd_vOffset":5,"wrpBdSd_blur":20,"wrpBdSd_spread":0,"wrpBdSd_shadowColor":"rgba(0,0,0,0.3)","imgBd_borderColor":"rgba(255,255,255,1)","imgBd_borderStyle":"solid","imgBd_Bdr_Top":"5","imgBd_Bdr_Right":"5","imgBd_Bdr_Bottom":"5","imgBd_Bdr_Left":"5","imgBd_Rds_Unit":"%","imgBd_Rds_Top":"50","imgBd_Rds_Right":"50","imgBd_Rds_Bottom":"50","imgBd_Rds_Left":"50","sclBdSd_borderColor":"#A0A8BD","sclBdSd_borderStyle":"solid","sclBdSd_Rds_Top":"0","sclBdSd_Rds_Right":"0","sclBdSd_Rds_Bottom":"0","sclBdSd_Rds_Left":"0","ovlBd_hOffset":2,"ovlBd_vOffset":5,"ovlBd_blur":17,"ovlBd_shadowColor":"rgba(0,0,0,0)","wrpMrg_isLinked":false,"wrpPad_isLinked":false,"imgMrg_isLinked":false,"imgMrg_Top":"-100","dscP_Right":"20","dscP_Left":"20","jobP_isLinked":false,"jobP_Bottom":"15","icnWp_Top":"20","icnWp_Right":"40","icnWp_Bottom":"20","icnWp_Left":"40","commonStyles":{"desktop":".eb-parent-eb-team-member-3blic { display:block }.root-eb-team-member-3blic { position:relative }","tab":".eb-parent-eb-team-member-3blic { display:block }","mobile":".eb-parent-eb-team-member-3blic { display:block }"}} --\x3e\n<div class="wp-block-essential-blocks-team-member  root-eb-team-member-3blic"><div class="eb-parent-wrapper eb-parent-eb-team-member-3blic "><div class="eb-team-member-3blic eb-team-wrapper preset1  "><div class="eb-team-inner"><div class="eb-team-member-image"><img class="eb-team-member-avatar" src="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" alt="John Doe"/></div><div class="eb-team-member-contents"><div class="eb-team-member-texts"><h3 class="eb-team-member-name">John Doe</h3><h4 class="eb-team-member-job-title">Software Engineer</h4><hr class="eb-team-member-content-separator"/><p class="eb-team-member-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.</p></div><hr class="eb-team-member-social-separator"/><ul class="socials "><li><a class=" " href="" rel="noopener" title="Facebook"><i class="fab fa-facebook-f hvr-icon social-icon" icon="fab fa-facebook-f"></i></a></li><li><a class=" " href="" rel="noopener" title="Twitter"><i class="fab fa-x-twitter hvr-icon social-icon" icon="fab fa-x-twitter"></i></a></li><li><a class=" " href="" rel="noopener" title="LinkedIn"><i class="fab fa-linkedin-in hvr-icon social-icon" icon="fab fa-linkedin-in"></i></a></li><li><a class=" " href="" rel="noopener" title="YouTube"><i class="fab fa-youtube hvr-icon social-icon" icon="fab fa-youtube"></i></a></li></ul></div></div></div></div></div>\n\x3c!-- /wp:essential-blocks/team-member --\x3e'},{title:"Modern Layout",content:'\x3c!-- wp:essential-blocks/team-member {"blockId":"eb-team-member-h0la5","blockMeta":{"desktop":"div.eb-team-wrapper h3,div.eb-team-wrapper h4,div.eb-team-wrapper p,div.eb-team-wrapper ul { margin:0; padding:0 }.social-icon { font-style:normal }.eb-team-member-h0la5.eb-team-wrapper \\u003e * { position:relative }.eb-team-member-h0la5.eb-team-wrapper { position:relative; overflow:hidden; margin:auto; max-width:400px; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-team-member-h0la5.eb-team-wrapper .eb-team-member-image { position:relative }.eb-team-member-h0la5.eb-team-wrapper:before { transition:background 0.5s, opacity 0.5s, filter 0.5s }.eb-team-member-h0la5.eb-team-wrapper .eb-team-member-image { text-align:center }.eb-team-member-h0la5.eb-team-wrapper .eb-team-member-image img { max-width:100%; object-fit:cover; display:inline-block; width:100%; border-radius:0%; height:auto }.eb-team-member-h0la5.eb-team-wrapper .eb-team-member-image:hover \\u003e img { transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-team-member-h0la5.eb-team-wrapper .eb-team-member-contents { text-align:center; box-sizing:border-box }.eb-team-member-h0la5.eb-team-wrapper .eb-team-member-contents .eb-team-member-name { font-size:20px; padding-top:20px; padding-bottom:15px; color:#4b4b4b }.eb-team-member-h0la5.eb-team-wrapper .eb-team-member-contents .eb-team-member-job-title { font-size:16px; color:#4b4b4b }.eb-team-member-h0la5.eb-team-wrapper .eb-team-member-contents .eb-team-member-description { color:#9f9f9f; padding-top:15px; padding-right:0px; padding-left:0px; padding-bottom:20px; font-size:16px }.eb-team-member-h0la5.eb-team-wrapper ul.socials li:nth-child(1) a { background-color:#A0A8BD; color:#fff }.eb-team-member-h0la5.eb-team-wrapper ul.socials li:nth-child(2) a { background-color:#A0A8BD; color:#fff }.eb-team-member-h0la5.eb-team-wrapper ul.socials li:nth-child(3) a { background-color:#A0A8BD; color:#fff }.eb-team-member-h0la5.eb-team-wrapper ul.socials li:nth-child(4) a { background-color:#A0A8BD; color:#fff }.eb-team-member-h0la5.eb-team-wrapper ul.socials { list-style:none; flex-wrap:wrap; align-items:flex-end; justify-content:center; column-gap:20px; row-gap:4px; transition:background 0.5s, opacity .5s; display:flex; opacity:0; position:absolute; top:0; bottom:0; left:0; right:0; box-sizing:border-box; padding:50px; margin:20px; border-radius:0px; box-shadow:rgba(0,0,0,0) 2px 5px 17px 0px ; background-image:linear-gradient(211deg, #C8D2E3 0%, #DAE2F0 100%) }.eb-team-member-h0la5.eb-team-wrapper:hover ul.socials { opacity:1 }.eb-team-member-h0la5.eb-team-wrapper ul.socials li a { box-sizing:content-box; text-decoration:none; cursor:pointer; display:flex; justify-content:center; align-items:center; height:0; width:0; line-height:1em; font-size:20px; padding:1em; border-width:1px; border-color:#A0A8BD; border-style:solid; border-radius:0px; transition:color 0.5s, background-color 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-team-member-h0la5.eb-team-wrapper ul.socials li:hover a { background-color:#909AA9; color:#fff }","tab":".eb-team-member-h0la5.eb-team-wrapper ul.socials li:nth-child(1) a { background-color:#A0A8BD; color:#fff }.eb-team-member-h0la5.eb-team-wrapper ul.socials li:nth-child(2) a { background-color:#A0A8BD; color:#fff }.eb-team-member-h0la5.eb-team-wrapper ul.socials li:nth-child(3) a { background-color:#A0A8BD; color:#fff }.eb-team-member-h0la5.eb-team-wrapper ul.socials li:nth-child(4) a { background-color:#A0A8BD; color:#fff }","mobile":".eb-team-member-h0la5.eb-team-wrapper ul.socials li:nth-child(1) a { background-color:#A0A8BD; color:#fff }.eb-team-member-h0la5.eb-team-wrapper ul.socials li:nth-child(2) a { background-color:#A0A8BD; color:#fff }.eb-team-member-h0la5.eb-team-wrapper ul.socials li:nth-child(3) a { background-color:#A0A8BD; color:#fff }.eb-team-member-h0la5.eb-team-wrapper ul.socials li:nth-child(4) a { background-color:#A0A8BD; color:#fff }"},"imageNewUrl":"data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A","isImgHeightAuto":true,"descsColor":"#9f9f9f","nameColor":"#4b4b4b","jobColor":"#4b4b4b","iconsVAlign":"flex-end","profilesOnly":[{"title":"Facebook","icon":"fab fa-facebook-f","link":"","linkOpenNewTab":false},{"title":"Twitter","icon":"fab fa-x-twitter","link":"","linkOpenNewTab":false},{"title":"LinkedIn","icon":"fab fa-linkedin-in","link":"","linkOpenNewTab":false},{"title":"YouTube","icon":"fab fa-youtube","link":"","linkOpenNewTab":false}],"socialDetails":[{"title":"Facebook","icon":"fab fa-facebook-f","color":"#fff","bgColor":"#A0A8BD","link":"","linkOpenNewTab":false,"isExpanded":false},{"title":"Twitter","icon":"fab fa-x-twitter","color":"#fff","bgColor":"#A0A8BD","link":"","linkOpenNewTab":false,"isExpanded":false},{"title":"LinkedIn","icon":"fab fa-linkedin-in","color":"#fff","bgColor":"#A0A8BD","link":"","linkOpenNewTab":false,"isExpanded":false},{"title":"YouTube","icon":"fab fa-youtube","color":"#fff","bgColor":"#A0A8BD","link":"","linkOpenNewTab":false,"isExpanded":false}],"preset":"preset3","socialInImage":true,"hvIcnColor":"#fff","hvIcnBgc":"#909AA9","conBgGradient":"linear-gradient(211deg, #C8D2E3 0%, #DAE2F0 100%)","conBgColor":"#fff","dscs_FontSize":16,"job_FontSize":16,"name_FontSize":20,"imgW_Unit":"%","wrpW_Range":400,"wrpW_Unit":"px","imgBd_borderColor":"rgba(255,255,255,1)","imgBd_Bdr_Top":"0","imgBd_Bdr_Right":"0","imgBd_Bdr_Bottom":"0","imgBd_Bdr_Left":"0","imgBd_Rds_Unit":"%","imgBd_Rds_Top":"0","imgBd_Rds_Right":"0","imgBd_Rds_Bottom":"0","imgBd_Rds_Left":"0","sclBdSd_borderColor":"#A0A8BD","sclBdSd_borderStyle":"solid","sclBdSd_Rds_Top":"0","sclBdSd_Rds_Right":"0","sclBdSd_Rds_Bottom":"0","sclBdSd_Rds_Left":"0","ovlBd_hOffset":2,"ovlBd_vOffset":5,"ovlBd_blur":17,"ovlBd_shadowColor":"rgba(0,0,0,0)","ovlBd_Rds_Top":"0","ovlBd_Rds_Right":"0","ovlBd_Rds_Bottom":"0","ovlBd_Rds_Left":"0","dscP_Right":"0","dscP_Left":"0","jobP_Bottom":"0","icnWp_Top":"0","icnWp_Right":"0","icnWp_Bottom":"0","icnWp_Left":"0","commonStyles":{"desktop":".eb-parent-eb-team-member-h0la5 { display:block }.root-eb-team-member-h0la5 { position:relative }","tab":".eb-parent-eb-team-member-h0la5 { display:block }","mobile":".eb-parent-eb-team-member-h0la5 { display:block }"}} --\x3e\n<div class="wp-block-essential-blocks-team-member  root-eb-team-member-h0la5"><div class="eb-parent-wrapper eb-parent-eb-team-member-h0la5 "><div class="eb-team-member-h0la5 eb-team-wrapper preset3  "><div class="eb-team-inner"><div class="eb-team-member-image"><img class="eb-team-member-avatar" src="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" alt="John Doe"/><ul class="socials "><li><a class=" " href="" rel="noopener" title="Facebook"><i class="fab fa-facebook-f hvr-icon social-icon" icon="fab fa-facebook-f"></i></a></li><li><a class=" " href="" rel="noopener" title="Twitter"><i class="fab fa-x-twitter hvr-icon social-icon" icon="fab fa-x-twitter"></i></a></li><li><a class=" " href="" rel="noopener" title="LinkedIn"><i class="fab fa-linkedin-in hvr-icon social-icon" icon="fab fa-linkedin-in"></i></a></li><li><a class=" " href="" rel="noopener" title="YouTube"><i class="fab fa-youtube hvr-icon social-icon" icon="fab fa-youtube"></i></a></li></ul></div><div class="eb-team-member-contents"><div class="eb-team-member-texts"><h3 class="eb-team-member-name">John Doe</h3><h4 class="eb-team-member-job-title">Software Engineer</h4><p class="eb-team-member-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.</p></div></div></div></div></div></div>\n\x3c!-- /wp:essential-blocks/team-member --\x3e'},{title:"Funky Layout",content:'\x3c!-- wp:essential-blocks/team-member {"blockId":"eb-team-member-7rl3d","blockMeta":{"desktop":"div.eb-team-wrapper h3,div.eb-team-wrapper h4,div.eb-team-wrapper p,div.eb-team-wrapper ul { margin:0; padding:0 }.social-icon { font-style:normal }.eb-team-member-7rl3d.eb-team-wrapper \\u003e * { position:relative }.eb-team-member-7rl3d.eb-team-wrapper { position:relative; overflow:hidden; margin:auto; max-width:424px; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-team-member-7rl3d.eb-team-wrapper .eb-team-member-contents-inner { background-color:#fff; padding:24px; margin:20px; border-radius:5px; box-shadow:rgba(0,0,0,0) 2px 5px 17px 0px  }.eb-team-member-7rl3d.eb-team-wrapper .eb-team-member-job-title { font-size:32px; color:#CAD2DF }.eb-team-member-7rl3d.eb-team-wrapper div.eb-team-member-contents .eb-team-member-job-title { display:block }.eb-team-member-7rl3d.eb-team-wrapper div.eb-team-member-contents ul.socials { display:flex }.eb-team-member-7rl3d.eb-team-wrapper:hover .eb-team-member-contents { top:50% }.eb-team-member-7rl3d.eb-team-wrapper:before { transition:background 0.5s, opacity 0.5s, filter 0.5s }.eb-team-member-7rl3d.eb-team-wrapper .eb-team-member-image { text-align:center }.eb-team-member-7rl3d.eb-team-wrapper .eb-team-member-image img { max-width:100%; object-fit:cover; display:inline-block; width:424px; border-radius:5px; height:558px }.eb-team-member-7rl3d.eb-team-wrapper .eb-team-member-image:hover \\u003e img { transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-team-member-7rl3d.eb-team-wrapper .eb-team-member-contents { text-align:left; box-sizing:border-box }.eb-team-member-7rl3d.eb-team-wrapper .eb-team-member-contents .eb-team-member-name { font-size:24px; padding-top:10px; padding-bottom:10px; color:#1C1B1F }.eb-team-member-7rl3d.eb-team-wrapper .eb-team-member-contents .eb-team-member-job-title { font-size:32px; color:#CAD2DF }.eb-team-member-7rl3d.eb-team-wrapper .eb-team-member-contents .eb-team-member-description { color:#768399; padding-top:10px; padding-right:0px; padding-left:0px; padding-bottom:10px; font-size:16px }.eb-team-member-7rl3d.eb-team-wrapper ul.socials li:nth-child(1) a { background-color:#fff; color:#A0A8BD }.eb-team-member-7rl3d.eb-team-wrapper ul.socials li:nth-child(2) a { background-color:#fff; color:#A0A8BD }.eb-team-member-7rl3d.eb-team-wrapper ul.socials li:nth-child(3) a { background-color:#fff; color:#A0A8BD }.eb-team-member-7rl3d.eb-team-wrapper ul.socials li:nth-child(4) a { background-color:#fff; color:#A0A8BD }.eb-team-member-7rl3d.eb-team-wrapper ul.socials { list-style:none; flex-wrap:wrap; align-items:center; justify-content:flex-start; column-gap:8px; row-gap:4px; transition:background 0.5s, opacity .5s; display:flex; padding-top:0px; padding-right:0px; padding-left:0px; padding-bottom:0px }.eb-team-member-7rl3d.eb-team-wrapper ul.socials li a { box-sizing:content-box; text-decoration:none; cursor:pointer; display:flex; justify-content:center; align-items:center; height:0; width:0; line-height:1em; font-size:17px; padding:1em; border-width:1px; border-color:#A0A8BD; border-style:solid; border-radius:50px; transition:color 0.5s, background-color 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-team-member-7rl3d.eb-team-wrapper ul.socials li:hover a { background-color:#A0A8BD; color:#fff }","tab":".eb-team-member-7rl3d.eb-team-wrapper ul.socials li:nth-child(1) a { background-color:#fff; color:#A0A8BD }.eb-team-member-7rl3d.eb-team-wrapper ul.socials li:nth-child(2) a { background-color:#fff; color:#A0A8BD }.eb-team-member-7rl3d.eb-team-wrapper ul.socials li:nth-child(3) a { background-color:#fff; color:#A0A8BD }.eb-team-member-7rl3d.eb-team-wrapper ul.socials li:nth-child(4) a { background-color:#fff; color:#A0A8BD }","mobile":".eb-team-member-7rl3d.eb-team-wrapper ul.socials li:nth-child(1) a { background-color:#fff; color:#A0A8BD }.eb-team-member-7rl3d.eb-team-wrapper ul.socials li:nth-child(2) a { background-color:#fff; color:#A0A8BD }.eb-team-member-7rl3d.eb-team-wrapper ul.socials li:nth-child(3) a { background-color:#fff; color:#A0A8BD }.eb-team-member-7rl3d.eb-team-wrapper ul.socials li:nth-child(4) a { background-color:#fff; color:#A0A8BD }"},"imageNewUrl":"data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A","descsColor":"#768399","nameColor":"#1C1B1F","jobColor":"#CAD2DF","iconsJustify":"flex-start","profilesOnly":[{"title":"Facebook","icon":"fab fa-facebook-f","link":"","linkOpenNewTab":false},{"title":"Twitter","icon":"fab fa-x-twitter","link":"","linkOpenNewTab":false},{"title":"LinkedIn","icon":"fab fa-linkedin-in","link":"","linkOpenNewTab":false},{"title":"YouTube","icon":"fab fa-youtube","link":"","linkOpenNewTab":false}],"socialDetails":[{"title":"Facebook","icon":"fab fa-facebook-f","color":"#A0A8BD","bgColor":"#fff","link":"","linkOpenNewTab":false,"isExpanded":false},{"title":"Twitter","icon":"fab fa-x-twitter","color":"#A0A8BD","bgColor":"#fff","link":"","linkOpenNewTab":false,"isExpanded":false},{"title":"LinkedIn","icon":"fab fa-linkedin-in","color":"#A0A8BD","bgColor":"#fff","link":"","linkOpenNewTab":false,"isExpanded":false},{"title":"YouTube","icon":"fab fa-youtube","color":"#A0A8BD","bgColor":"#fff","link":"","linkOpenNewTab":false,"isExpanded":false}],"contentsAlign":"left","preset":"new-preset1","hvIcnColor":"#fff","hvIcnBgc":"#A0A8BD","isConBgGradient":false,"conBgGradient":"linear-gradient(45deg, #7967ff, rgba(194,119,242,0.8))","conBgColor":"#fff","dscs_FontSize":16,"job_FontSize":32,"name_FontSize":24,"imgW_Range":424,"imgH_Range":558,"icnZ_Range":17,"icnSp_Range":8,"wrpW_Range":424,"wrpW_Unit":"px","imgBd_borderColor":"rgba(255,255,255,1)","imgBd_Bdr_Top":"0","imgBd_Bdr_Right":"0","imgBd_Bdr_Bottom":"0","imgBd_Bdr_Left":"0","imgBd_Rds_Top":"5","imgBd_Rds_Right":"5","imgBd_Rds_Bottom":"5","imgBd_Rds_Left":"5","sclBdSd_borderColor":"#A0A8BD","sclBdSd_borderStyle":"solid","sclBdSd_Rds_Top":"50","sclBdSd_Rds_Right":"50","sclBdSd_Rds_Bottom":"50","sclBdSd_Rds_Left":"50","ovlBd_hOffset":2,"ovlBd_vOffset":5,"ovlBd_blur":17,"ovlBd_shadowColor":"rgba(0,0,0,0)","ovlBd_Rds_Top":"5","ovlBd_Rds_Right":"5","ovlBd_Rds_Bottom":"5","ovlBd_Rds_Left":"5","dscP_Top":"10","dscP_Right":"0","dscP_Bottom":"10","dscP_Left":"0","cpd_Top":"24","cpd_Right":"24","cpd_Bottom":"24","cpd_Left":"24","nameP_Top":"10","nameP_Bottom":"10","jobP_Bottom":"0","icnWp_Top":"0","icnWp_Right":"0","icnWp_Bottom":"0","icnWp_Left":"0","commonStyles":{"desktop":".eb-parent-eb-team-member-7rl3d { display:block }.root-eb-team-member-7rl3d { position:relative }","tab":".eb-parent-eb-team-member-7rl3d { display:block }","mobile":".eb-parent-eb-team-member-7rl3d { display:block }"}} --\x3e\n<div class="wp-block-essential-blocks-team-member  root-eb-team-member-7rl3d"><div class="eb-parent-wrapper eb-parent-eb-team-member-7rl3d "><div class="eb-team-member-7rl3d eb-team-wrapper new-preset1  "><div class="eb-team-inner"><div class="eb-team-member-image"><img class="eb-team-member-avatar" src="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" alt="John Doe"/><h4 class="eb-team-member-job-title">Software Engineer</h4></div><div class="eb-team-member-contents"><div class="eb-team-member-contents-inner"><div class="eb-team-member-texts"><h3 class="eb-team-member-name">John Doe</h3><p class="eb-team-member-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.</p></div><ul class="socials "><li><a class=" " href="" rel="noopener" title="Facebook"><i class="fab fa-facebook-f hvr-icon social-icon" icon="fab fa-facebook-f"></i></a></li><li><a class=" " href="" rel="noopener" title="Twitter"><i class="fab fa-x-twitter hvr-icon social-icon" icon="fab fa-x-twitter"></i></a></li><li><a class=" " href="" rel="noopener" title="LinkedIn"><i class="fab fa-linkedin-in hvr-icon social-icon" icon="fab fa-linkedin-in"></i></a></li><li><a class=" " href="" rel="noopener" title="YouTube"><i class="fab fa-youtube hvr-icon social-icon" icon="fab fa-youtube"></i></a></li></ul></div></div></div></div></div></div>\n\x3c!-- /wp:essential-blocks/team-member --\x3e'},{title:"Vanguard Layout",content:'\x3c!-- wp:essential-blocks/team-member {"blockId":"eb-team-member-ueyq3","blockMeta":{"desktop":"div.eb-team-wrapper h3,div.eb-team-wrapper h4,div.eb-team-wrapper p,div.eb-team-wrapper ul { margin:0; padding:0 }.social-icon { font-style:normal }.eb-team-member-ueyq3.eb-team-wrapper \\u003e * { position:relative }.eb-team-member-ueyq3.eb-team-wrapper { position:relative; overflow:hidden; margin:auto; max-width:424px; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-team-member-ueyq3.eb-team-wrapper .eb-team-member-contents-inner { background-image:linear-gradient(214deg, #949CAA -14.68% , #606977 103.07%); padding:24px; margin:24px; border-radius:8px; box-shadow:rgba(0,0,0,0.16) 2px 5px 17px 0px  }.eb-team-member-ueyq3.eb-team-wrapper .eb-team-member-job-title { font-size:16px; padding:0px; color:#D5D5D5 }.eb-team-member-ueyq3.eb-team-wrapper div.eb-team-member-contents .eb-team-member-job-title { display:block }.eb-team-member-ueyq3.eb-team-wrapper div.eb-team-member-contents ul.socials { display:flex }.eb-team-member-ueyq3.eb-team-wrapper:hover .eb-team-member-contents { top:50% }.eb-team-member-ueyq3.eb-team-wrapper:before { transition:background 0.5s, opacity 0.5s, filter 0.5s }.eb-team-member-ueyq3.eb-team-wrapper .eb-team-member-image { text-align:center }.eb-team-member-ueyq3.eb-team-wrapper .eb-team-member-image img { max-width:100%; object-fit:cover; display:inline-block; width:424px; border-radius:8px; height:558px }.eb-team-member-ueyq3.eb-team-wrapper .eb-team-member-image:hover \\u003e img { transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-team-member-ueyq3.eb-team-wrapper .eb-team-member-contents { text-align:center; box-sizing:border-box }.eb-team-member-ueyq3.eb-team-wrapper .eb-team-member-contents .eb-team-member-name { font-size:24px; padding-top:10px; padding-bottom:10px; color:#fff }.eb-team-member-ueyq3.eb-team-wrapper .eb-team-member-contents .eb-team-member-job-title { font-size:16px; padding:0px; color:#D5D5D5 }.eb-team-member-ueyq3.eb-team-wrapper ul.socials li:nth-child(1) a { background-color:#909AA9; color:#D5D5D5 }.eb-team-member-ueyq3.eb-team-wrapper ul.socials li:nth-child(2) a { background-color:#909AA9; color:#D5D5D5 }.eb-team-member-ueyq3.eb-team-wrapper ul.socials li:nth-child(3) a { background-color:#909AA9; color:#D5D5D5 }.eb-team-member-ueyq3.eb-team-wrapper ul.socials li:nth-child(4) a { background-color:#909AA9; color:#D5D5D5 }.eb-team-member-ueyq3.eb-team-wrapper ul.socials { list-style:none; flex-wrap:wrap; align-items:center; justify-content:center; column-gap:8px; row-gap:4px; transition:background 0.5s, opacity .5s; display:flex; padding-top:10px; padding-right:0px; padding-left:0px; padding-bottom:0px }.eb-team-member-ueyq3.eb-team-wrapper ul.socials li a { box-sizing:content-box; text-decoration:none; cursor:pointer; display:flex; justify-content:center; align-items:center; height:0; width:0; line-height:1em; font-size:14px; padding:0.9em; border-width:1px; border-color:#A0A8BD; border-style:solid; border-radius:50px; transition:color 0.5s, background-color 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-team-member-ueyq3.eb-team-wrapper ul.socials li:hover a { background-color:#909AA9; color:#fff }","tab":".eb-team-member-ueyq3.eb-team-wrapper ul.socials li:nth-child(1) a { background-color:#909AA9; color:#D5D5D5 }.eb-team-member-ueyq3.eb-team-wrapper ul.socials li:nth-child(2) a { background-color:#909AA9; color:#D5D5D5 }.eb-team-member-ueyq3.eb-team-wrapper ul.socials li:nth-child(3) a { background-color:#909AA9; color:#D5D5D5 }.eb-team-member-ueyq3.eb-team-wrapper ul.socials li:nth-child(4) a { background-color:#909AA9; color:#D5D5D5 }","mobile":".eb-team-member-ueyq3.eb-team-wrapper ul.socials li:nth-child(1) a { background-color:#909AA9; color:#D5D5D5 }.eb-team-member-ueyq3.eb-team-wrapper ul.socials li:nth-child(2) a { background-color:#909AA9; color:#D5D5D5 }.eb-team-member-ueyq3.eb-team-wrapper ul.socials li:nth-child(3) a { background-color:#909AA9; color:#D5D5D5 }.eb-team-member-ueyq3.eb-team-wrapper ul.socials li:nth-child(4) a { background-color:#909AA9; color:#D5D5D5 }"},"showDescs":false,"imageNewUrl":"data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A","descsColor":"#fff","nameColor":"#fff","jobColor":"#D5D5D5","profilesOnly":[{"title":"Facebook","icon":"fab fa-facebook-f","link":"","linkOpenNewTab":false},{"title":"Twitter","icon":"fab fa-x-twitter","link":"","linkOpenNewTab":false},{"title":"LinkedIn","icon":"fab fa-linkedin-in","link":"","linkOpenNewTab":false},{"title":"YouTube","icon":"fab fa-youtube","link":"","linkOpenNewTab":false}],"socialDetails":[{"title":"Facebook","icon":"fab fa-facebook-f","color":"#D5D5D5","bgColor":"#909AA9","link":"","linkOpenNewTab":false,"isExpanded":false},{"title":"Twitter","icon":"fab fa-x-twitter","color":"#D5D5D5","bgColor":"#909AA9","link":"","linkOpenNewTab":false,"isExpanded":false},{"title":"LinkedIn","icon":"fab fa-linkedin-in","color":"#D5D5D5","bgColor":"#909AA9","link":"","linkOpenNewTab":false,"isExpanded":false},{"title":"YouTube","icon":"fab fa-youtube","color":"#D5D5D5","bgColor":"#909AA9","link":"","linkOpenNewTab":false,"isExpanded":false}],"preset":"new-preset2","hvIcnColor":"#fff","hvIcnBgc":"#909AA9","conBgGradient":"linear-gradient(214deg, #949CAA -14.68% , #606977 103.07%)","conBgColor":"#949CAA","dscs_FontSize":16,"job_FontSize":16,"name_FontSize":24,"imgW_Range":424,"imgH_Range":558,"icnZ_Range":14,"icnPd_Range":0.9,"icnSp_Range":8,"wrpW_Range":424,"wrpW_Unit":"px","imgBd_borderColor":"rgba(255,255,255,1)","imgBd_Bdr_Top":"0","imgBd_Bdr_Right":"0","imgBd_Bdr_Bottom":"0","imgBd_Bdr_Left":"0","imgBd_Rds_Top":"8","imgBd_Rds_Right":"8","imgBd_Rds_Bottom":"8","imgBd_Rds_Left":"8","sclBdSd_borderColor":"#A0A8BD","sclBdSd_borderStyle":"solid","sclBdSd_Rds_Top":"50","sclBdSd_Rds_Right":"50","sclBdSd_Rds_Bottom":"50","sclBdSd_Rds_Left":"50","ovlBd_hOffset":2,"ovlBd_vOffset":5,"ovlBd_blur":17,"ovlBd_shadowColor":"rgba(0,0,0,0.16)","ovlBd_Rds_Top":"8","ovlBd_Rds_Right":"8","ovlBd_Rds_Bottom":"8","ovlBd_Rds_Left":"8","dscP_Top":"10","dscP_Bottom":"10","cmrg_Top":"24","cmrg_Right":"24","cmrg_Bottom":"24","cmrg_Left":"24","cpd_Top":"24","cpd_Right":"24","cpd_Bottom":"24","cpd_Left":"24","nameP_Top":"10","nameP_Bottom":"10","jobP_Top":"0","jobP_Bottom":"0","icnWp_Right":"0","icnWp_Bottom":"0","icnWp_Left":"0","commonStyles":{"desktop":".eb-parent-eb-team-member-ueyq3 { display:block }.root-eb-team-member-ueyq3 { position:relative }","tab":".eb-parent-eb-team-member-ueyq3 { display:block }","mobile":".eb-parent-eb-team-member-ueyq3 { display:block }"}} --\x3e\n<div class="wp-block-essential-blocks-team-member  root-eb-team-member-ueyq3"><div class="eb-parent-wrapper eb-parent-eb-team-member-ueyq3 "><div class="eb-team-member-ueyq3 eb-team-wrapper new-preset2  "><div class="eb-team-inner"><div class="eb-team-member-image"><img class="eb-team-member-avatar" src="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" alt="John Doe"/></div><div class="eb-team-member-contents"><div class="eb-team-member-contents-inner"><div class="eb-team-member-texts"><h3 class="eb-team-member-name">John Doe</h3><h4 class="eb-team-member-job-title">Software Engineer</h4></div><ul class="socials "><li><a class=" " href="" rel="noopener" title="Facebook"><i class="fab fa-facebook-f hvr-icon social-icon" icon="fab fa-facebook-f"></i></a></li><li><a class=" " href="" rel="noopener" title="Twitter"><i class="fab fa-x-twitter hvr-icon social-icon" icon="fab fa-x-twitter"></i></a></li><li><a class=" " href="" rel="noopener" title="LinkedIn"><i class="fab fa-linkedin-in hvr-icon social-icon" icon="fab fa-linkedin-in"></i></a></li><li><a class=" " href="" rel="noopener" title="YouTube"><i class="fab fa-youtube hvr-icon social-icon" icon="fab fa-youtube"></i></a></li></ul></div></div></div></div></div></div>\n\x3c!-- /wp:essential-blocks/team-member --\x3e'},{title:"Spotlight Layout",content:'\x3c!-- wp:essential-blocks/team-member {"blockId":"eb-team-member-zauyq","blockMeta":{"desktop":"div.eb-team-wrapper h3,div.eb-team-wrapper h4,div.eb-team-wrapper p,div.eb-team-wrapper ul { margin:0; padding:0 }.social-icon { font-style:normal }.eb-team-member-zauyq.eb-team-wrapper \\u003e * { position:relative }.eb-team-member-zauyq.eb-team-wrapper { position:relative; overflow:hidden; margin:auto; max-width:400px; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-team-member-zauyq.eb-team-wrapper .eb-team-member-contents-inner { background-color:#EBF0F8; padding:34px; margin:0px; border-radius:0px; box-shadow:rgba(0,0,0,0) 2px 5px 17px 0px  }.eb-team-member-zauyq.eb-team-wrapper .eb-team-member-job-title { font-size:16px; padding-top:0px; padding-right:0px; padding-left:0px; color:#736D8B }.eb-team-member-zauyq.eb-team-wrapper div.eb-team-member-contents .eb-team-member-job-title { display:block }.eb-team-member-zauyq.eb-team-wrapper div.eb-team-member-contents ul.socials { display:flex }.eb-team-member-zauyq.eb-team-wrapper:hover .eb-team-member-contents { top:50% }.eb-team-member-zauyq.eb-team-wrapper:before { transition:background 0.5s, opacity 0.5s, filter 0.5s }.eb-team-member-zauyq.eb-team-wrapper .eb-team-member-image { text-align:center }.eb-team-member-zauyq.eb-team-wrapper .eb-team-member-image img { max-width:100%; object-fit:cover; display:inline-block; width:400px; border-radius:0px; height:400px }.eb-team-member-zauyq.eb-team-wrapper .eb-team-member-image:hover \\u003e img { transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-team-member-zauyq.eb-team-wrapper .eb-team-member-contents { text-align:left; box-sizing:border-box }.eb-team-member-zauyq.eb-team-wrapper .eb-team-member-contents .eb-team-member-name { font-size:24px; padding-top:10px; padding-bottom:10px; color:#342E4C }.eb-team-member-zauyq.eb-team-wrapper .eb-team-member-contents .eb-team-member-job-title { font-size:16px; padding-top:0px; padding-right:0px; padding-left:0px; color:#736D8B }.eb-team-member-zauyq.eb-team-wrapper .eb-team-member-contents .eb-team-member-description { color:#342E4C; padding-top:10px; padding-bottom:50px; font-size:16px }.eb-team-member-zauyq.eb-team-wrapper .eb-team-member-social-separator { border:none; margin:auto; border-bottom:1px solid #CACACA; width:100%; border-bottom-width:1px }.eb-team-member-zauyq.eb-team-wrapper ul.socials li:nth-child(1) a { background-color:rgba(0,0,0,0); color:#645F7D }.eb-team-member-zauyq.eb-team-wrapper ul.socials li:nth-child(2) a { background-color:rgba(0,0,0,0); color:#645F7D }.eb-team-member-zauyq.eb-team-wrapper ul.socials li:nth-child(3) a { background-color:rgba(0,0,0,0); color:#645F7D }.eb-team-member-zauyq.eb-team-wrapper ul.socials li:nth-child(4) a { background-color:rgba(0,0,0,0); color:#645F7D }.eb-team-member-zauyq.eb-team-wrapper ul.socials { list-style:none; flex-wrap:wrap; align-items:center; justify-content:flex-start; column-gap:8px; row-gap:4px; transition:background 0.5s, opacity .5s; display:flex; padding-top:20px; padding-right:0px; padding-left:0px; padding-bottom:0px }.eb-team-member-zauyq.eb-team-wrapper ul.socials li a { box-sizing:content-box; text-decoration:none; cursor:pointer; display:flex; justify-content:center; align-items:center; height:0; width:0; line-height:1em; font-size:13px; padding:0em; border-radius:0px; transition:color 0.5s, background-color 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-team-member-zauyq.eb-team-wrapper ul.socials li:hover a { background-color:rgba(0,0,0,0); color:#000 }","tab":".eb-team-member-zauyq.eb-team-wrapper ul.socials li:nth-child(1) a { background-color:rgba(0,0,0,0); color:#645F7D }.eb-team-member-zauyq.eb-team-wrapper ul.socials li:nth-child(2) a { background-color:rgba(0,0,0,0); color:#645F7D }.eb-team-member-zauyq.eb-team-wrapper ul.socials li:nth-child(3) a { background-color:rgba(0,0,0,0); color:#645F7D }.eb-team-member-zauyq.eb-team-wrapper ul.socials li:nth-child(4) a { background-color:rgba(0,0,0,0); color:#645F7D }","mobile":".eb-team-member-zauyq.eb-team-wrapper ul.socials li:nth-child(1) a { background-color:rgba(0,0,0,0); color:#645F7D }.eb-team-member-zauyq.eb-team-wrapper ul.socials li:nth-child(2) a { background-color:rgba(0,0,0,0); color:#645F7D }.eb-team-member-zauyq.eb-team-wrapper ul.socials li:nth-child(3) a { background-color:rgba(0,0,0,0); color:#645F7D }.eb-team-member-zauyq.eb-team-wrapper ul.socials li:nth-child(4) a { background-color:rgba(0,0,0,0); color:#645F7D }"},"imageNewUrl":"data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A","descsColor":"#342E4C","nameColor":"#342E4C","jobColor":"#736D8B","iconsJustify":"flex-start","profilesOnly":[{"title":"Facebook","icon":"fab fa-facebook-f","link":"","linkOpenNewTab":false},{"title":"Twitter","icon":"fab fa-x-twitter","link":"","linkOpenNewTab":false},{"title":"LinkedIn","icon":"fab fa-linkedin-in","link":"","linkOpenNewTab":false},{"title":"YouTube","icon":"fab fa-youtube","link":"","linkOpenNewTab":false}],"socialDetails":[{"title":"Facebook","icon":"fab fa-facebook-f","color":"#645F7D","bgColor":"rgba(0,0,0,0)","link":"","linkOpenNewTab":false,"isExpanded":false},{"title":"Twitter","icon":"fab fa-x-twitter","color":"#645F7D","bgColor":"rgba(0,0,0,0)","link":"","linkOpenNewTab":false,"isExpanded":false},{"title":"LinkedIn","icon":"fab fa-linkedin-in","color":"#645F7D","bgColor":"rgba(0,0,0,0)","link":"","linkOpenNewTab":false,"isExpanded":false},{"title":"YouTube","icon":"fab fa-youtube","color":"#645F7D","bgColor":"rgba(0,0,0,0)","link":"","linkOpenNewTab":false,"isExpanded":false}],"contentsAlign":"left","preset":"new-preset3","showSSeparator":true,"hvIcnColor":"#000","hvIcnBgc":"rgba(0,0,0,0)","isConBgGradient":false,"conBgGradient":"linear-gradient(45deg, #7967ff, rgba(194,119,242,0.8))","conBgColor":"#EBF0F8","showSocialTitle":true,"dscs_FontSize":16,"job_FontSize":16,"name_FontSize":24,"imgW_Range":400,"imgH_Range":400,"icnZ_Range":13,"icnPd_Range":0,"icnSp_Range":8,"wrpW_Range":400,"wrpW_Unit":"px","sSepW_Range":100,"imgBd_borderColor":"rgba(255,255,255,1)","imgBd_Bdr_Top":"0","imgBd_Bdr_Right":"0","imgBd_Bdr_Bottom":"0","imgBd_Bdr_Left":"0","imgBd_Rds_Top":"0","imgBd_Rds_Right":"0","imgBd_Rds_Bottom":"0","imgBd_Rds_Left":"0","sclBdSd_borderColor":"#A0A8BD","sclBdSd_Rds_Top":"0","sclBdSd_Rds_Right":"0","sclBdSd_Rds_Bottom":"0","sclBdSd_Rds_Left":"0","ovlBd_hOffset":2,"ovlBd_vOffset":5,"ovlBd_blur":17,"ovlBd_shadowColor":"rgba(0,0,0,0)","ovlBd_Rds_Top":"0","ovlBd_Rds_Right":"0","ovlBd_Rds_Bottom":"0","ovlBd_Rds_Left":"0","dscP_Top":"10","dscP_Bottom":"50","cmrg_Top":"0","cmrg_Right":"0","cmrg_Bottom":"0","cmrg_Left":"0","cpd_Top":"34","cpd_Right":"34","cpd_Bottom":"34","cpd_Left":"34","nameP_Top":"10","nameP_Bottom":"10","jobP_isLinked":false,"jobP_Top":"0","jobP_Right":"0","jobP_Bottom":"","jobP_Left":"0","icnWp_Top":"20","icnWp_Right":"0","icnWp_Bottom":"0","icnWp_Left":"0","commonStyles":{"desktop":".eb-parent-eb-team-member-zauyq { display:block }.root-eb-team-member-zauyq { position:relative }","tab":".eb-parent-eb-team-member-zauyq { display:block }","mobile":".eb-parent-eb-team-member-zauyq { display:block }"}} --\x3e\n<div class="wp-block-essential-blocks-team-member  root-eb-team-member-zauyq"><div class="eb-parent-wrapper eb-parent-eb-team-member-zauyq "><div class="eb-team-member-zauyq eb-team-wrapper new-preset3 hover-left "><div class="eb-team-inner"><div class="eb-team-member-image"><img class="eb-team-member-avatar" src="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" alt="John Doe"/></div><div class="eb-team-member-contents"><div class="eb-team-member-contents-inner"><div class="eb-team-member-texts"><h3 class="eb-team-member-name">John Doe</h3><h4 class="eb-team-member-job-title">Software Engineer</h4><p class="eb-team-member-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.</p></div><hr class="eb-team-member-social-separator"/><ul class="socials socials-title"><li><a class=" " href="" rel="noopener" title="Facebook"><i class="fab fa-facebook-f hvr-icon social-icon" icon="fab fa-facebook-f"></i>Facebook</a></li><li><a class=" " href="" rel="noopener" title="Twitter"><i class="fab fa-x-twitter hvr-icon social-icon" icon="fab fa-x-twitter"></i>Twitter</a></li><li><a class=" " href="" rel="noopener" title="LinkedIn"><i class="fab fa-linkedin-in hvr-icon social-icon" icon="fab fa-linkedin-in"></i>LinkedIn</a></li><li><a class=" " href="" rel="noopener" title="YouTube"><i class="fab fa-youtube hvr-icon social-icon" icon="fab fa-youtube"></i>YouTube</a></li></ul></div></div></div></div></div></div>\n\x3c!-- /wp:essential-blocks/team-member --\x3e'}];function BO(e){return BO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},BO(e)}function TO(){return TO=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},TO.apply(null,arguments)}function NO(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function PO(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?NO(Object(a),!0).forEach((function(t){OO(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):NO(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function OO(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=BO(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=BO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==BO(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var MO=window.EBControls,DO=MO.BlockProps,jO=MO.BrowseTemplate,IO=MO.DynamicInputValueHandler,AO=MO.ImgPlaceholder;function LO(){return LO=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},LO.apply(null,arguments)}var FO=window.EBControls,HO=FO.BlockProps,zO=FO.ImgPlaceholder,qO=FO.sanitizeURL;var UO=window.EBControls.sanitizeURL;function VO(e){var t=e.socialDetails,a=void 0===t?[]:t,n=e.icnEffect;return React.createElement("ul",{className:"socials"},a.map((function(e,t){var a=e.link,o=e.icon;return React.createElement("li",{key:t},React.createElement("a",{className:n||" ",href:UO(a)},React.createElement("i",{className:"hvr-icon social-icon ".concat(o)})))})))}var WO=window.EBControls.sanitizeURL;function GO(e){var t=e.socialDetails,a=void 0===t?[]:t,n=e.icnEffect;return React.createElement("ul",{className:"socials"},a.map((function(e,t){var a=e.link,o=e.icon,r=e.linkOpenNewTab;return React.createElement("li",{key:t},React.createElement("a",{className:n||" ",href:WO(a),target:r?"_blank":"_self",rel:"noopener"},React.createElement("i",{className:"hvr-icon social-icon ".concat(o)})))})))}function ZO(){return ZO=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},ZO.apply(null,arguments)}var YO=window.EBControls.sanitizeURL;function JO(e){var t=e.socialDetails,a=void 0===t?[]:t,n=e.icnEffect,o=e.linkNewTab,r=e.preset;return React.createElement("ul",{className:"socials ".concat("new-preset3"===r?"socials-title":"")},a.map((function(e,t){var a=e.title,c=e.link,l=e.icon;return React.createElement("li",{key:t},React.createElement("a",ZO({className:n||" ",href:c?YO(c):"#"},c&&{target:o?"_blank":"_self"},{rel:"noopener",title:a||""}),React.createElement("i",{className:"hvr-icon social-icon ".concat(l)}),"new-preset3"===r&&a?a:""))})))}function QO(){return QO=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},QO.apply(null,arguments)}var XO=window.EBControls,$O=XO.EBDisplayIcon,KO=XO.sanitizeURL;function eM(e){var t=e.socialDetails,a=void 0===t?[]:t,n=e.icnEffect,o=e.linkNewTab,r=e.preset;return React.createElement("ul",{className:"socials ".concat("new-preset3"===r?"socials-title":"")},a.map((function(e,t){var a=e.title,c=e.link,l=e.icon;return React.createElement("li",{key:t},React.createElement("a",QO({className:n||" ",href:c?KO(c):"#"},c&&{target:o?"_blank":"_self"},{rel:"noopener",title:a||""}),React.createElement($O,{className:"hvr-icon social-icon",icon:l}),"new-preset3"===r&&a?a:""))})))}function tM(e){return tM="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},tM(e)}function aM(){return aM=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},aM.apply(null,arguments)}function nM(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function oM(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?nM(Object(a),!0).forEach((function(t){rM(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):nM(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function rM(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=tM(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=tM(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==tM(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var cM=lodash.omit,lM=window.EBControls,iM=lM.sanitizeURL,sM=lM.ImgPlaceholder;const bM=[{attributes:cM(oM({},AP),["imageNewUrl"]),migrate:function(e){var t=e.imageUrl,a=oM({},e);return delete a.imageUrl,oM(oM({},a),{},{imageNewUrl:t})},supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.name,o=t.jobTitle,r=t.description,c=t.showDescs,l=t.showSocials,i=t.showCSeparator,s=t.showSSeparator,b=t.imageUrl,p=t.profilesOnly,u=t.socialInImage,d=t.icnEffect,m=t.classHook,g=t.avatarURL,f=t.newWindow,y=t.showLinkNewTab,v=t.imageAlt,h=t.preset,w=t.showDesignation,k=t.hoverPreset,R=t.isContentOverlay;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(m)},React.createElement("div",{className:"".concat(a," eb-team-wrapper ").concat(h," ").concat("new-preset3"===h?k:""," ").concat("preset3"===h&&R?"content-overlay":"")},React.createElement("div",{className:"eb-team-inner"},React.createElement("div",{className:"eb-team-member-image"},g&&React.createElement("a",aM({href:g||""},f&&{target:"_blank"},{rel:"noopener"}),React.createElement("img",{className:"eb-team-member-avatar",src:b,alt:v||n})),!g&&React.createElement("img",{className:"eb-team-member-avatar",src:b,alt:v||n}),u&&l&&React.createElement(yO,{socialDetails:p,icnEffect:d,linkNewTab:y,preset:h}),"new-preset1"===h&&w&&React.createElement(Q.RichText.Content,{tagName:"h4",className:"eb-team-member-job-title",value:o})),React.createElement("div",{className:"eb-team-member-contents"},("new-preset1"===h||"new-preset2"===h||"new-preset3"===h)&&React.createElement("div",{className:"eb-team-member-contents-inner"},React.createElement("div",{className:"eb-team-member-texts"},n&&React.createElement(Q.RichText.Content,{tagName:"h3",className:"eb-team-member-name",value:n}),"new-preset1"!=h&&w&&o&&React.createElement(Q.RichText.Content,{tagName:"h4",className:"eb-team-member-job-title",value:o}),i&&React.createElement("hr",{className:"eb-team-member-content-separator"}),c&&r&&React.createElement(Q.RichText.Content,{tagName:"p",className:"eb-team-member-description",value:r})),!u&&l&&React.createElement(React.Fragment,null,s&&React.createElement("hr",{className:"eb-team-member-social-separator"}),React.createElement(yO,{socialDetails:p,icnEffect:d,linkNewTab:y,preset:h}))),"new-preset1"!=h&&"new-preset2"!=h&&"new-preset3"!=h&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-team-member-texts"},n&&React.createElement(Q.RichText.Content,{tagName:"h3",className:"eb-team-member-name",value:n}),w&&o&&React.createElement(Q.RichText.Content,{tagName:"h4",className:"eb-team-member-job-title",value:o}),i&&React.createElement("hr",{className:"eb-team-member-content-separator"}),c&&r&&React.createElement(Q.RichText.Content,{tagName:"p",className:"eb-team-member-description",value:r})),!u&&l&&React.createElement(React.Fragment,null,s&&React.createElement("hr",{className:"eb-team-member-social-separator"}),React.createElement(yO,{socialDetails:p,icnEffect:d,linkNewTab:y,preset:h}))))))))}},{attributes:oM({},AP),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.name,o=t.jobTitle,r=t.description,c=t.showDescs,l=t.showSocials,i=t.showCSeparator,s=t.showSSeparator,b=t.imageUrl,p=t.profilesOnly,u=t.socialInImage,d=t.icnEffect,m=t.classHook,g=t.avatarURL,f=t.newWindow,y=t.showLinkNewTab,v=t.imageAlt,h=t.preset,w=t.showDesignation,k=t.hoverPreset,R=t.isContentOverlay;if(t.showBlockContent)return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(m)},React.createElement("div",{className:"".concat(a," eb-team-wrapper ").concat(h," ").concat("new-preset3"===h?k:""," ").concat("preset3"===h&&R?"content-overlay":"")},React.createElement("div",{className:"eb-team-inner"},React.createElement("div",{className:"eb-team-member-image"},g&&React.createElement("a",aM({href:g||""},f&&{target:"_blank"},{rel:"noopener"}),React.createElement("img",{className:"eb-team-member-avatar",src:""===b?sM:b,alt:v||n})),!g&&React.createElement("img",{className:"eb-team-member-avatar",src:""===b?sM:b,alt:v||n}),u&&l&&React.createElement(yO,{socialDetails:p,icnEffect:d,linkNewTab:y,preset:h}),"new-preset1"===h&&w&&React.createElement(Q.RichText.Content,{tagName:"h4",className:"eb-team-member-job-title",value:o})),React.createElement("div",{className:"eb-team-member-contents"},("new-preset1"===h||"new-preset2"===h||"new-preset3"===h)&&React.createElement("div",{className:"eb-team-member-contents-inner"},React.createElement("div",{className:"eb-team-member-texts"},n&&React.createElement(Q.RichText.Content,{tagName:"h3",className:"eb-team-member-name",value:n}),"new-preset1"!=h&&w&&o&&React.createElement(Q.RichText.Content,{tagName:"h4",className:"eb-team-member-job-title",value:o}),i&&React.createElement("hr",{className:"eb-team-member-content-separator"}),c&&r&&React.createElement(Q.RichText.Content,{tagName:"p",className:"eb-team-member-description",value:r})),!u&&l&&React.createElement(React.Fragment,null,s&&React.createElement("hr",{className:"eb-team-member-social-separator"}),React.createElement(yO,{socialDetails:p,icnEffect:d,linkNewTab:y,preset:h}))),"new-preset1"!=h&&"new-preset2"!=h&&"new-preset3"!=h&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-team-member-texts"},n&&React.createElement(Q.RichText.Content,{tagName:"h3",className:"eb-team-member-name",value:n}),w&&o&&React.createElement(Q.RichText.Content,{tagName:"h4",className:"eb-team-member-job-title",value:o}),i&&React.createElement("hr",{className:"eb-team-member-content-separator"}),c&&r&&React.createElement(Q.RichText.Content,{tagName:"p",className:"eb-team-member-description",value:r})),!u&&l&&React.createElement(React.Fragment,null,s&&React.createElement("hr",{className:"eb-team-member-social-separator"}),React.createElement(yO,{socialDetails:p,icnEffect:d,linkNewTab:y,preset:h}))))))))}},{attributes:oM({},AP),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.name,o=t.jobTitle,r=t.description,c=t.showDescs,l=t.showSocials,i=t.showCSeparator,s=t.showSSeparator,b=t.imageUrl,p=t.profilesOnly,u=t.socialInImage,d=t.icnEffect,m=t.classHook,g=t.avatarURL,f=t.newWindow,y=t.showLinkNewTab,v=t.imageAlt,h=t.preset,w=t.showDesignation,k=t.hoverPreset,R=t.isContentOverlay;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(m)},React.createElement("div",{className:"".concat(a," eb-team-wrapper ").concat(h," ").concat("new-preset3"===h?k:""," ").concat("preset3"===h&&R?"content-overlay":"")},React.createElement("div",{className:"eb-team-inner"},React.createElement("div",{className:"eb-team-member-image"},g&&React.createElement("a",aM({href:g?iM(g):""},f&&{target:"_blank"},{rel:"noopener"}),React.createElement("img",{className:"eb-team-member-avatar",src:b,alt:v||n})),!g&&React.createElement("img",{className:"eb-team-member-avatar",src:b,alt:v||n}),u&&l&&React.createElement(eM,{socialDetails:p,icnEffect:d,linkNewTab:y,preset:h}),"new-preset1"===h&&w&&React.createElement(Q.RichText.Content,{tagName:"h4",className:"eb-team-member-job-title",value:o})),React.createElement("div",{className:"eb-team-member-contents"},("new-preset1"===h||"new-preset2"===h||"new-preset3"===h)&&React.createElement("div",{className:"eb-team-member-contents-inner"},React.createElement("div",{className:"eb-team-member-texts"},n&&React.createElement(Q.RichText.Content,{tagName:"h3",className:"eb-team-member-name",value:n}),"new-preset1"!=h&&w&&o&&React.createElement(Q.RichText.Content,{tagName:"h4",className:"eb-team-member-job-title",value:o}),i&&React.createElement("hr",{className:"eb-team-member-content-separator"}),c&&r&&React.createElement(Q.RichText.Content,{tagName:"p",className:"eb-team-member-description",value:r})),!u&&l&&React.createElement(React.Fragment,null,s&&React.createElement("hr",{className:"eb-team-member-social-separator"}),React.createElement(eM,{socialDetails:p,icnEffect:d,linkNewTab:y,preset:h}))),"new-preset1"!=h&&"new-preset2"!=h&&"new-preset3"!=h&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-team-member-texts"},n&&React.createElement(Q.RichText.Content,{tagName:"h3",className:"eb-team-member-name",value:n}),w&&o&&React.createElement(Q.RichText.Content,{tagName:"h4",className:"eb-team-member-job-title",value:o}),i&&React.createElement("hr",{className:"eb-team-member-content-separator"}),c&&r&&React.createElement(Q.RichText.Content,{tagName:"p",className:"eb-team-member-description",value:r})),!u&&l&&React.createElement(React.Fragment,null,s&&React.createElement("hr",{className:"eb-team-member-social-separator"}),React.createElement(eM,{socialDetails:p,icnEffect:d,linkNewTab:y,preset:h}))))))))}},{attributes:oM({},AP),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.name,o=t.jobTitle,r=t.description,c=t.showDescs,l=t.showSocials,i=t.showCSeparator,s=t.showSSeparator,b=t.imageUrl,p=t.profilesOnly,u=t.socialInImage,d=t.icnEffect,m=t.classHook,g=t.avatarURL,f=t.newWindow,y=t.showLinkNewTab,v=t.imageAlt,h=t.preset,w=t.showDesignation,k=t.hoverPreset,R=t.isContentOverlay;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(m)},React.createElement("div",{className:"".concat(a," eb-team-wrapper ").concat(h," ").concat("new-preset3"===h?k:""," ").concat("preset3"===h&&R?"content-overlay":"","  ")},React.createElement("div",{className:"eb-team-inner"},React.createElement("div",{className:"image"},g&&React.createElement("a",aM({href:g?iM(g):""},f&&{target:"_blank"},{rel:"noopener"}),React.createElement("img",{className:"avatar",src:b,alt:v||n})),!g&&React.createElement("img",{className:"avatar",src:b,alt:v||n}),u&&l&&React.createElement(JO,{socialDetails:p,icnEffect:d,linkNewTab:y,preset:h}),"new-preset1"===h&&w&&React.createElement(Q.RichText.Content,{tagName:"h4",className:"job_title",value:o})),React.createElement("div",{className:"contents"},("new-preset1"===h||"new-preset2"===h||"new-preset3"===h)&&React.createElement("div",{className:"contents-inner"},React.createElement("div",{className:"texts"},n&&React.createElement(Q.RichText.Content,{tagName:"h3",className:"name",value:n}),"new-preset1"!=h&&w&&o&&React.createElement(Q.RichText.Content,{tagName:"h4",className:"job_title",value:o}),i&&React.createElement("hr",{className:"content_separator"}),c&&r&&React.createElement(Q.RichText.Content,{tagName:"p",className:"description",value:r})),!u&&l&&React.createElement(React.Fragment,null,s&&React.createElement("hr",{className:"social_separator"}),React.createElement(JO,{socialDetails:p,icnEffect:d,linkNewTab:y,preset:h}))),"new-preset1"!=h&&"new-preset2"!=h&&"new-preset3"!=h&&React.createElement(React.Fragment,null,React.createElement("div",{className:"texts"},n&&React.createElement(Q.RichText.Content,{tagName:"h3",className:"name",value:n}),w&&o&&React.createElement(Q.RichText.Content,{tagName:"h4",className:"job_title",value:o}),i&&React.createElement("hr",{className:"content_separator"}),c&&r&&React.createElement(Q.RichText.Content,{tagName:"p",className:"description",value:r})),!u&&l&&React.createElement(React.Fragment,null,s&&React.createElement("hr",{className:"social_separator"}),React.createElement(JO,{socialDetails:p,icnEffect:d,linkNewTab:y,preset:h}))))))))}},{attributes:oM({},cM(oM({},AP),["showDesignation","showSocialTitle","hoverPreset","isContentOverlay"])),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.name,o=t.jobTitle,r=t.description,c=t.showDescs,l=t.showSocials,i=t.showCSeparator,s=t.showSSeparator,b=t.imageUrl,p=t.profilesOnly,u=t.socialInImage,d=t.icnEffect,m=t.classHook,g=t.avatarURL,f=t.newWindow,y=t.showLinkNewTab,v=t.imageAlt;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(m)},React.createElement("div",{className:"".concat(a," eb-team-wrapper")},React.createElement("div",{className:"eb-team-inner"},React.createElement("div",{className:"image"},g&&React.createElement("a",aM({href:g?iM(g):""},f&&{target:"_blank"},{rel:"noopener"}),React.createElement("img",{className:"avatar",src:b,alt:v||n})),!g&&React.createElement("img",{className:"avatar",src:b,alt:v||n}),u&&l&&React.createElement(yO,{socialDetails:p,icnEffect:d,linkNewTab:y})),React.createElement("div",{className:"contents"},React.createElement("div",{className:"texts"},n&&React.createElement(Q.RichText.Content,{tagName:"h3",className:"name",value:n}),o&&React.createElement(Q.RichText.Content,{tagName:"h4",className:"job_title",value:o}),i&&React.createElement("hr",{className:"content_separator"}),c&&r&&React.createElement(Q.RichText.Content,{tagName:"p",className:"description",value:r})),!u&&l&&React.createElement(React.Fragment,null,s&&React.createElement("hr",{className:"social_separator"}),React.createElement(yO,{socialDetails:p,icnEffect:d,linkNewTab:y})))))))}},{attributes:oM({},cM(oM({},AP),["imageAlt","showLinkNewTab"])),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.name,o=t.jobTitle,r=t.description,c=t.showDescs,l=t.showSocials,i=t.showCSeparator,s=t.showSSeparator,b=t.imageUrl,p=t.profilesOnly,u=t.socialInImage,d=t.icnEffect,m=t.classHook,g=t.avatarURL,f=t.newWindow;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(m)},React.createElement("div",{className:"".concat(a," eb-team-wrapper")},React.createElement("div",{className:"eb-team-inner"},React.createElement("div",{className:"image"},g&&React.createElement("a",aM({href:g?iM(g):""},f&&{target:"_blank"},{rel:"noopener"}),React.createElement("img",{className:"avatar",src:b,alt:"member"})),!g&&React.createElement("img",{className:"avatar",src:b,alt:"member"}),u&&l&&React.createElement(GO,{socialDetails:p,icnEffect:d})),React.createElement("div",{className:"contents"},React.createElement("div",{className:"texts"},n&&React.createElement(Q.RichText.Content,{tagName:"h3",className:"name",value:n}),o&&React.createElement(Q.RichText.Content,{tagName:"h4",className:"job_title",value:o}),i&&React.createElement("hr",{className:"content_separator"}),c&&r&&React.createElement(Q.RichText.Content,{tagName:"p",className:"description",value:r})),!u&&l&&React.createElement(React.Fragment,null,s&&React.createElement("hr",{className:"social_separator"}),React.createElement(GO,{socialDetails:p,icnEffect:d})))))))}},{attributes:oM({},AP),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.name,o=t.jobTitle,r=t.description,c=t.showDescs,l=t.showSocials,i=t.showCSeparator,s=t.showSSeparator,b=t.imageUrl,p=t.profilesOnly,u=t.socialInImage,d=t.icnEffect,m=t.classHook;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(m)},React.createElement("div",{className:"".concat(a," eb-team-wrapper")},React.createElement("div",{className:"eb-team-inner"},React.createElement("div",{className:"image"},React.createElement("img",{className:"avatar",src:b,alt:"member"}),u&&l&&React.createElement(yO,{socialDetails:p,icnEffect:d})),React.createElement("div",{className:"contents"},React.createElement("div",{className:"texts"},React.createElement(Q.RichText.Content,{tagName:"h3",className:"name",value:n}),React.createElement(Q.RichText.Content,{tagName:"h4",className:"job_title",value:o}),i&&React.createElement("hr",{className:"content_separator"}),c&&React.createElement(Q.RichText.Content,{tagName:"p",className:"description",value:r})),!u&&l&&React.createElement(React.Fragment,null,s&&React.createElement("hr",{className:"social_separator"}),React.createElement(VO,{socialDetails:p,icnEffect:d})))))))}},{attributes:oM({},AP),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.name,o=t.jobTitle,r=t.description,c=t.showDescs,l=t.showSocials,i=t.showCSeparator,s=t.showSSeparator,b=t.imageUrl,p=t.profilesOnly,u=t.socialInImage,d=t.icnEffect;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"".concat(a," eb-team-wrapper")},React.createElement("div",{className:"eb-team-inner"},React.createElement("div",{className:"image"},React.createElement("img",{className:"avatar",src:b,alt:"member"}),u&&l&&React.createElement(yO,{socialDetails:p,icnEffect:d})),React.createElement("div",{className:"contents"},React.createElement("div",{className:"texts"},React.createElement(Q.RichText.Content,{tagName:"h3",className:"name",value:n}),React.createElement(Q.RichText.Content,{tagName:"h4",className:"job_title",value:o}),i&&React.createElement("hr",{className:"content_separator"}),c&&React.createElement(Q.RichText.Content,{tagName:"p",className:"description",value:r})),!u&&l&&React.createElement(React.Fragment,null,s&&React.createElement("hr",{className:"social_separator"}),React.createElement(yO,{socialDetails:p,icnEffect:d}))))))}}],pM=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Team Members","name":"essential-blocks/team-member","description":"Present your team members beautifully & gain instant credibility","category":"essential-blocks","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');(0,EBControls.ebConditionalRegisterBlockType)(pM,{icon:WN,attributes:AP,keywords:[(0,Y.__)("team","essential-blocks"),(0,Y.__)("member","essential-blocks"),(0,Y.__)("eb essential","essential-blocks")],edit:function(e){var t=e.attributes,a=e.setAttributes,n=e.isSelected,o=(t.resOption,t.blockId),r=(t.blockMeta,t.name),c=t.jobTitle,l=t.description,i=t.showDescs,s=t.imageUrl,b=t.imageNewClassUrl,p=t.imageNewUrl,u=(t.imageId,t.showSocials),d=t.socialDetails,m=t.profilesOnly,g=t.socialInImage,f=t.showCSeparator,y=t.showSSeparator,v=t.icnEffect,h=t.classHook,w=t.hoverPreset,k=t.showDesignation,R=t.isContentOverlay,_=t.preset,E=t.showBlockContent;(0,J.useEffect)((function(){if(0===d.length)a({socialDetails:[{title:"Facebook",icon:"fab fa-facebook-f",color:"#fff",bgColor:"#A0A8BD",link:"",linkOpenNewTab:!1,isExpanded:!1},{title:"Twitter",icon:"fab fa-x-twitter",color:"#fff",bgColor:"#A0A8BD",link:"",linkOpenNewTab:!1,isExpanded:!1},{title:"LinkedIn",icon:"fab fa-linkedin-in",color:"#fff",bgColor:"#A0A8BD",link:"",linkOpenNewTab:!1,isExpanded:!1},{title:"YouTube",icon:"fab fa-youtube",color:"#fff",bgColor:"#A0A8BD",link:"",linkOpenNewTab:!1,isExpanded:!1}]});else{var e=d.map((function(e){return PO(PO({},e),{},{isExpanded:!1})}));a({socialDetails:e})}p||a({imageNewUrl:s||b||AO})}),[]),(0,J.useEffect)((function(){var e=d.map((function(e){return{title:e.title,icon:e.icon,link:e.link,linkOpenNewTab:e.linkOpenNewTab}}));a({profilesOnly:e})}),[d]);var C=PO(PO({},e),{},{blockPrefix:"eb-team-member",style:React.createElement(xO,e)});return React.createElement(React.Fragment,null,n&&E&&React.createElement(uO,{attributes:t,setAttributes:a}),React.createElement(DO.Edit,C,React.createElement(jO,TO({},e,{Icon:WN,title:"Team Members",description:"Choose a template for the Team Members or start blank.",patterns:SO})),E&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(o," ").concat(h)},React.createElement("div",{className:"".concat(o," eb-team-wrapper ").concat(_," ").concat("new-preset3"===_?w:""," ").concat("preset3"===_&&R?"content-overlay":"","  ")},React.createElement("div",{className:"eb-team-inner"},React.createElement("div",{className:"eb-team-member-image"},React.createElement("img",{className:"eb-team-member-avatar",alt:"member",src:""===p?AO:p}),g&&u&&React.createElement(yO,{socialDetails:m,icnEffect:v,preset:_}),"new-preset1"===_&&k&&React.createElement(IO,{value:c,tagName:"h4",className:"eb-team-member-job-title",onChange:function(e){return a({jobTitle:e})},readOnly:!0})),React.createElement("div",{className:"eb-team-member-contents"},("new-preset1"===_||"new-preset2"===_||"new-preset3"===_)&&React.createElement("div",{className:"eb-team-member-contents-inner"},React.createElement("div",{className:"eb-team-member-texts"},React.createElement(IO,{value:r,tagName:"h3",className:"eb-team-member-name",onChange:function(e){return a({name:e})},readOnly:!0}),"new-preset1"!=_&&k&&React.createElement(IO,{value:c,tagName:"h4",className:"eb-team-member-job-title",onChange:function(e){return a({jobTitle:e})},readOnly:!0}),f&&React.createElement("hr",{className:"eb-team-member-content-separator"}),i&&React.createElement(IO,{value:l,tagName:"p",className:"eb-team-member-description",onChange:function(e){return a({description:e})},readOnly:!0})),!g&&u&&React.createElement(React.Fragment,null,y&&React.createElement("hr",{className:"eb-team-member-social-separator"}),React.createElement(yO,{socialDetails:m,icnEffect:v,preset:_}))),"new-preset1"!=_&&"new-preset2"!=_&&"new-preset3"!=_&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-team-member-texts"},React.createElement(IO,{value:r,tagName:"h3",className:"eb-team-member-name",onChange:function(e){return a({name:e})},readOnly:!0}),"new-preset1"!=_&&k&&React.createElement(IO,{value:c,tagName:"h4",className:"eb-team-member-job-title",onChange:function(e){return a({jobTitle:e})},readOnly:!0}),f&&React.createElement("hr",{className:"eb-team-member-content-separator"}),i&&React.createElement(IO,{value:l,tagName:"p",className:"eb-team-member-description",onChange:function(e){return a({description:e})},readOnly:!0})),!g&&u&&React.createElement(React.Fragment,null,y&&React.createElement("hr",{className:"eb-team-member-social-separator"}),React.createElement(yO,{socialDetails:m,icnEffect:v,preset:_}))))))))))},save:function(e){var t=e.attributes,a=t.blockId,n=t.name,o=t.jobTitle,r=t.description,c=t.showDescs,l=t.showSocials,i=t.showCSeparator,s=t.showSSeparator,b=t.imageNewUrl,p=t.imageUrl,u=t.imageNewClassUrl,d=t.profilesOnly,m=t.socialInImage,g=t.icnEffect,f=t.classHook,y=t.avatarURL,v=t.newWindow,h=t.showLinkNewTab,w=t.imageAlt,k=t.preset,R=t.showDesignation,_=t.hoverPreset,E=t.isContentOverlay;if(t.showBlockContent){var C=b||p||u||zO;return React.createElement(HO.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(f)},React.createElement("div",{className:"".concat(a," eb-team-wrapper ").concat(k," ").concat("new-preset3"===k?_:""," ").concat("preset3"===k&&E?"content-overlay":"")},React.createElement("div",{className:"eb-team-inner"},React.createElement("div",{className:"eb-team-member-image"},y&&React.createElement("a",LO({href:y?qO(y):""},v&&{target:"_blank"},{rel:"noopener"}),React.createElement("img",{className:"eb-team-member-avatar",src:C,alt:w||n})),!y&&React.createElement("img",{className:"eb-team-member-avatar",src:C,alt:w||n}),m&&l&&React.createElement(yO,{socialDetails:d,icnEffect:g,linkNewTab:h,preset:k}),"new-preset1"===k&&R&&React.createElement(Q.RichText.Content,{tagName:"h4",className:"eb-team-member-job-title",value:o})),React.createElement("div",{className:"eb-team-member-contents"},("new-preset1"===k||"new-preset2"===k||"new-preset3"===k)&&React.createElement("div",{className:"eb-team-member-contents-inner"},React.createElement("div",{className:"eb-team-member-texts"},n&&React.createElement(Q.RichText.Content,{tagName:"h3",className:"eb-team-member-name",value:n}),"new-preset1"!=k&&R&&o&&React.createElement(Q.RichText.Content,{tagName:"h4",className:"eb-team-member-job-title",value:o}),i&&React.createElement("hr",{className:"eb-team-member-content-separator"}),c&&r&&React.createElement(Q.RichText.Content,{tagName:"p",className:"eb-team-member-description",value:r})),!m&&l&&React.createElement(React.Fragment,null,s&&React.createElement("hr",{className:"eb-team-member-social-separator"}),React.createElement(yO,{socialDetails:d,icnEffect:g,linkNewTab:h,preset:k}))),"new-preset1"!=k&&"new-preset2"!=k&&"new-preset3"!=k&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-team-member-texts"},n&&React.createElement(Q.RichText.Content,{tagName:"h3",className:"eb-team-member-name",value:n}),R&&o&&React.createElement(Q.RichText.Content,{tagName:"h4",className:"eb-team-member-job-title",value:o}),i&&React.createElement("hr",{className:"eb-team-member-content-separator"}),c&&r&&React.createElement(Q.RichText.Content,{tagName:"p",className:"eb-team-member-description",value:r})),!m&&l&&React.createElement(React.Fragment,null,s&&React.createElement("hr",{className:"eb-team-member-social-separator"}),React.createElement(yO,{socialDetails:d,icnEffect:g,linkNewTab:h,preset:k}))))))))}},example:{attributes:{}},deprecated:bM});var uM="wrp_",dM="img_",mM="imgWidth_",gM="imgGap_",fM="wrp_",yM="quoteSize",vM="ratingSize",hM=((0,Y.__)("One","essential-blocks"),(0,Y.__)("Two","essential-blocks"),(0,Y.__)("Three","essential-blocks"),[{label:(0,Y.__)("Top","essential-blocks"),value:1},{label:(0,Y.__)("Bottom","essential-blocks"),value:0}]),wM=[{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignleft"})),value:"left"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignright"})),value:"right"}],kM=[{label:(0,Y.__)("Left","essential-blocks"),value:"flex-start"},{label:(0,Y.__)("Center","essential-blocks"),value:"center"},{label:(0,Y.__)("Right","essential-blocks"),value:"flex-end"}],RM=[{label:(0,Y.__)("PX","essential-blocks"),value:"px"},{label:(0,Y.__)("EM","essential-blocks"),value:"em"}],_M=[{label:(0,Y.__)("Top","essential-blocks"),value:"flex-start"},{label:(0,Y.__)("Middle","essential-blocks"),value:"center"},{label:(0,Y.__)("Bottom","essential-blocks"),value:"flex-end"}],EM=[{label:(0,Y.__)("Top","essential-blocks"),value:2},{label:(0,Y.__)("Bottom","essential-blocks"),value:3}],CM=[{label:(0,Y.__)("Before","essential-blocks"),value:0},{label:(0,Y.__)("After","essential-blocks"),value:1}],xM=((0,Y.__)("None","essential-blocks"),(0,Y.__)("Lowercase","essential-blocks"),(0,Y.__)("Capitalize","essential-blocks"),(0,Y.__)("Uppercase","essential-blocks"),(0,Y.__)("Lighter","essential-blocks"),(0,Y.__)("Normal","essential-blocks"),(0,Y.__)("Bold","essential-blocks"),(0,Y.__)("Bolder","essential-blocks"),(0,Y.__)("Initial","essential-blocks"),(0,Y.__)("Overline","essential-blocks"),(0,Y.__)("Line Through","essential-blocks"),(0,Y.__)("Underline","essential-blocks"),(0,Y.__)("Underline Oveline","essential-blocks"),(0,Y.__)("Auto","essential-blocks"),(0,Y.__)("Cover","essential-blocks"),(0,Y.__)("Contain","essential-blocks"),(0,Y.__)("Custom","essential-blocks"),(0,Y.__)("Default","essential-blocks"),(0,Y.__)("No-repeat","essential-blocks"),(0,Y.__)("Repeat","essential-blocks"),(0,Y.__)("Repeat-x","essential-blocks"),(0,Y.__)("Repeat-y","essential-blocks"),(0,Y.__)("Default","essential-blocks"),(0,Y.__)("Center Center","essential-blocks"),(0,Y.__)("Center Left","essential-blocks"),(0,Y.__)("Center Right","essential-blocks"),(0,Y.__)("Top Center","essential-blocks"),(0,Y.__)("Top Left","essential-blocks"),(0,Y.__)("Top Right","essential-blocks"),(0,Y.__)("Bottom Center","essential-blocks"),(0,Y.__)("Bottom Left","essential-blocks"),(0,Y.__)("Bottom Right","essential-blocks"),(0,Y.__)("Custom","essential-blocks"),(0,Y.__)("Default","essential-blocks"),(0,Y.__)("Fixed","essential-blocks"),(0,Y.__)("Scroll","essential-blocks"),[{label:(0,Y.__)("Style 1","essential-blocks"),value:"layout-preset-1"},{label:(0,Y.__)("Style 2","essential-blocks"),value:"layout-preset-2"},{label:(0,Y.__)("Style 3","essential-blocks"),value:"layout-preset-3"}]);function SM(e){return SM="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},SM(e)}function BM(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function TM(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?BM(Object(a),!0).forEach((function(t){NM(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):BM(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function NM(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=SM(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=SM(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==SM(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var PM=window.EBControls,OM=PM.generateDimensionsAttributes,MM=PM.generateTypographyAttributes,DM=PM.generateBackgroundAttributes,jM=PM.generateBorderShadowAttributes,IM=PM.generateResponsiveRangeAttributes;const AM=TM(TM(TM(TM(TM(TM(TM(TM(TM(TM({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},layoutPreset:{type:"string",default:"layout-preset-1"},imageOverlayColor:{type:"string",default:"var(--eb-global-primary-color)"},avaterContainerFontSize:{type:"number",default:16},displayAvatar:{type:"boolean",default:!0},avatarInline:{type:"boolean",default:!0},avatarPosition:{type:"string",default:"flex-start"},avatarAlign:{type:"string",default:"center"},borderRadius:{type:"number",default:50},imageUrl:{type:"string"},imageId:{type:"string"},avatarOrder:{type:"number",default:1},userName:{selector:".eb-testimonial-username",source:"html",default:"John Doe"},companyName:{selector:".eb-testimonial-company",source:"html",default:"Company Name"},description:{selector:".eb-testimonial-description",source:"html",default:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."},descTextAlign:{type:"string",default:"center"},textAlign:{type:"string",default:"center"},userInfoPos:{type:"string",default:"flex-start"},imagePosition:{type:"number",default:0},userNameColor:{type:"string",default:"var(--eb-global-primary-color)"},descriptionColor:{type:"string",default:"var(--eb-global-text-color)"},enableQuote:{type:"boolean",default:!0},quoteColor:{type:"string",default:"#edf1f7"},quoteSize:{type:"number",default:60},quoteHorizontalPosition:{type:"string",default:"flex-start"},quoteVerticalPosition:{type:"number",default:1},userInfoAlign:{type:"string",default:"center"},linkedMargin:{type:"boolean",default:!1},linkedPadding:{type:"boolean",default:!1},marginUnit:{type:"string",default:"px"},tabMarginUnit:{type:"string",default:"px"},mobMarginUnit:{type:"string",default:"px"},paddingUnit:{type:"string",default:"px"},tabPaddingUnit:{type:"string",default:"px"},mobPaddingUnit:{type:"string",default:"px"},nameSizeUnit:{type:"string",default:"px"},companySizeUnit:{type:"string",default:"px"},descriptionSizeUnit:{type:"string",default:"px"},quoteSizeUnit:{type:"string",default:"px"},companyColor:{type:"string",default:"var(--eb-global-heading-color)"},bgPositon:{type:"string"},showRating:{type:"boolean",default:!1},rating:{type:"number",default:5},ratingColor:{type:"string",default:"#f2b01e"},ratingIndivisual:{type:"boolean",default:!1},ratingPosition:{type:"number",default:3}},OM("margin",{top:10,bottom:10,right:10,left:10})),OM("padding",{top:10,bottom:10,right:10,left:10})),MM(Object.values({username:"username",company:"company",description:"description"}))),jM(uM,{})),DM(fM,{defaultFillColor:"#fff",defaultBgGradient:"linear-gradient(45deg,#fff,#fff)"})),IM(vM,{defaultRange:14})),IM(yM,{defaultRange:60})),IM(mM,{})),IM(gM,{defaultRange:15})),jM(dM,{}));var LM=window.EBControls,FM=LM.ImageAvatar,HM=LM.ResponsiveDimensionsControl,zM=LM.TypographyDropdown,qM=LM.ToggleButton,UM=LM.BorderShadowControl,VM=LM.BackgroundControl,WM=LM.ResponsiveRangeController,GM=LM.AdvancedControls,ZM=LM.ColorControl;const YM=function(e){var t=e.attributes,a=e.setAttributes,n=t.resOption,o=t.displayAvatar,r=t.avatarInline,c=t.avatarPosition,l=t.avatarAlign,i=t.borderRadius,s=t.avatarOrder,b=t.imageUrl,p=t.userInfoAlign,u=t.textAlign,d=t.userNameColor,m=t.descriptionColor,g=t.enableQuote,f=t.quoteColor,y=t.companyColor,v=t.quoteHorizontalPosition,h=t.quoteVerticalPosition,w=t.descTextAlign,k=t.layoutPreset,R=t.imageOverlayColor,_=t.showRating,E=t.rating,C=t.ratingColor,x=t.ratingIndivisual,S=t.ratingPosition,B={attributes:t,setAttributes:a,resOption:n,objAttributes:AM};return React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:"General",className:"eb-tab general"},{name:"styles",title:"Style",className:"eb-tab styles"},{name:"advance",title:"Advanced",className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls"+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Layout Settings","essential-blocks"),initialOpen:!0},React.createElement(X.SelectControl,{label:(0,Y.__)("Preset","essential-blocks"),value:k,options:xM,onChange:function(e){return function(e){switch(e){case"layout-preset-1":a({avatarAlign:"left",avatarPosition:"flex-start",avatarOrder:1,textAlign:"center",descTextAlign:"center",enableQuote:!0,imgWidth_Range:"",imagePosition:0,img_borderStyle:"none",img_borderColor:"",img_Bdr_Bottom:"0",img_Bdr_Left:"0",img_Bdr_Right:"0",img_Bdr_Top:"0",img_Bdr_Unit:"px",img_Bdr_isLinked:!0,img_blur:33,img_shadowColor:"",img_shadowTransition:.5,img_shadowType:"normal",img_spread:7,img_vOffset:0,paddingBottom:"10",paddingLeft:"10",paddingRight:"10",paddingTop:"10",paddingUnit:"px",paddingisLinked:!0,MOBpaddingBottom:"10",MOBpaddingLeft:"10",MOBpaddingRight:"10",MOBpaddingTop:"10",MOBpaddingUnit:"px",MOBpaddingisLinked:!0,wrp_Bdr_Bottom:"1",wrp_Bdr_Left:"1",wrp_Bdr_Right:"1",wrp_Bdr_Top:"1",wrp_Bdr_Unit:"px",wrp_Bdr_isLinked:!0,wrp_BorderType:"normal",wrp_borderColor:"#000",wrp_borderStyle:"none",wrp_Rds_Bottom:"0",wrp_Rds_Left:"0",wrp_Rds_Right:"0",wrp_Rds_Top:"0",wrp_Rds_Unit:"px",wrp_bg_hoverType:"normal",wrp_backgroundType:"classic",wrp_backgroundColor:"#fff"});break;case"layout-preset-2":a({avatarAlign:"left",avatarPosition:"flex-start",avatarOrder:0,textAlign:"left",descTextAlign:"left",enableQuote:!1,imgWidth_Range:60,imagePosition:0,img_borderStyle:"solid",img_borderColor:"#fff",img_Bdr_Bottom:"3",img_Bdr_Left:"3",img_Bdr_Right:"3",img_Bdr_Top:"3",img_Bdr_Unit:"px",img_Bdr_isLinked:!0,img_blur:81,img_shadowColor:"",img_shadowTransition:.5,img_shadowType:"normal",img_spread:33,img_vOffset:0,paddingBottom:"6",paddingLeft:"20",paddingRight:"20",paddingTop:"6",paddingUnit:"%",paddingisLinked:!1,MOBpaddingBottom:"20",MOBpaddingLeft:"20",MOBpaddingRight:"20",MOBpaddingTop:"20",MOBpaddingUnit:"px",MOBpaddingisLinked:!0,wrp_Bdr_Bottom:"1",wrp_Bdr_Left:"1",wrp_Bdr_Right:"1",wrp_Bdr_Top:"1",wrp_Bdr_Unit:"px",wrp_Bdr_isLinked:!0,wrp_BorderType:"normal",wrp_borderColor:"#000",wrp_borderStyle:"solid",wrp_Rds_Bottom:"25",wrp_Rds_Left:"25",wrp_Rds_Right:"25",wrp_Rds_Top:"25",wrp_Rds_Unit:"px",wrp_bg_hoverType:"normal",wrp_backgroundType:"classic",wrp_backgroundColor:"#fff"});break;case"layout-preset-3":a({avatarAlign:"center",avatarPosition:"center",avatarInline:!0,avatarOrder:0,textAlign:"center",descTextAlign:"center",enableQuote:!1,imgWidth_Range:90,img_blur:81,img_shadowColor:"#9B9B9B38",img_shadowTransition:.5,img_shadowType:"normal",img_spread:33,img_vOffset:0,img_borderStyle:"solid",img_borderColor:"#fff",img_Bdr_Bottom:"3",img_Bdr_Left:"3",img_Bdr_Right:"3",img_Bdr_Top:"3",img_Bdr_Unit:"px",img_Bdr_isLinked:!0,paddingBottom:"6",paddingLeft:"20",paddingRight:"20",paddingTop:"6",paddingUnit:"%",paddingisLinked:!1,MOBpaddingBottom:"20",MOBpaddingLeft:"20",MOBpaddingRight:"20",MOBpaddingTop:"20",MOBpaddingUnit:"px",MOBpaddingisLinked:!0,wrp_Bdr_Bottom:"1",wrp_Bdr_Left:"1",wrp_Bdr_Right:"1",wrp_Bdr_Top:"1",wrp_Bdr_Unit:"px",wrp_Bdr_isLinked:!0,wrp_BorderType:"normal",wrp_borderColor:"#000",wrp_borderStyle:"none",wrp_Rds_Bottom:"25",wrp_Rds_Left:"25",wrp_Rds_Right:"25",wrp_Rds_Top:"25",wrp_Rds_Unit:"px",wrp_bg_hoverType:"normal",wrp_backgroundType:"classic",wrp_backgroundColor:"#FAEFDB"})}a({layoutPreset:e})}(e)}}),r&&React.createElement(X.BaseControl,{label:(0,Y.__)("User Info Position","essential-blocks")},React.createElement(X.ButtonGroup,null,kM.map((function(e,t){return React.createElement(X.Button,{key:t,isSecondary:c!==e.value,isPrimary:c===e.value,onClick:function(){return a({avatarPosition:e.value})}},e.label)})))),!r&&o&&React.createElement(X.BaseControl,{label:r?(0,Y.__)("User Info Align","essential-blocks"):(0,Y.__)("Image Align","essential-blocks")},React.createElement(X.ButtonGroup,null,kM.map((function(e,t){return React.createElement(X.Button,{key:t,isSecondary:l!==e.value,isPrimary:l===e.value,onClick:function(){return a({avatarAlign:e.value})}},e.label)})))),React.createElement(X.BaseControl,{label:(0,Y.__)("Description Position","essential-blocks")},React.createElement(X.ButtonGroup,null,hM.map((function(e,t){return React.createElement(X.Button,{key:t,isSecondary:s!==e.value,isPrimary:s===e.value,onClick:function(){return a({avatarOrder:e.value})}},e.label)})))),React.createElement(X.BaseControl,{label:(0,Y.__)("Description Align","essential-blocks")},React.createElement(X.ButtonGroup,null,wM.map((function(e,t){return React.createElement(X.Button,{key:t,isSecondary:w!==e.value,isPrimary:w===e.value,onClick:function(){return a({descTextAlign:e.value})}},e.label)})))),React.createElement(X.BaseControl,{label:(0,Y.__)("User Name Align","essential-blocks")},React.createElement(X.ButtonGroup,null,wM.map((function(e,t){return React.createElement(X.Button,{key:t,isSecondary:u!==e.value,isPrimary:u===e.value,onClick:function(){return a({textAlign:e.value})}},e.label)})))),React.createElement(X.BaseControl,{label:(0,Y.__)("User Info Align","essential-blocks")},React.createElement(X.ButtonGroup,null,_M.map((function(e,t){return React.createElement(X.Button,{key:t,isSecondary:p!==e.value,isPrimary:p===e.value,onClick:function(){return a({userInfoAlign:e.value})}},e.label)})))),React.createElement(X.ToggleControl,{label:"Enable Quote",checked:g,onChange:function(){return a({enableQuote:!g})}}),g&&React.createElement(React.Fragment,null,React.createElement(X.BaseControl,{label:(0,Y.__)("Quote Horizontal Align","essential-blocks")},React.createElement(X.ButtonGroup,null,kM.map((function(e,t){return React.createElement(X.Button,{key:t,isSecondary:v!==e.value,isPrimary:v===e.value,onClick:function(){return a({quoteHorizontalPosition:e.value})}},e.label)})))),"center"===v&&React.createElement(X.BaseControl,{label:(0,Y.__)("Quote Vertical Position","essential-blocks")},React.createElement(X.ButtonGroup,null,hM.map((function(e,t){return React.createElement(X.Button,{key:t,isSecondary:h!==e.value,isPrimary:h===e.value,onClick:function(){return a({quoteVerticalPosition:e.value})}},e.label)}))))),React.createElement(X.ToggleControl,{label:"Show Rating",checked:_,onChange:function(){return a({showRating:!_})}}),_&&React.createElement(React.Fragment,null,React.createElement(X.RangeControl,{label:(0,Y.__)("Rating","essential-blocks-pro"),value:E,onChange:function(e){return a({rating:e})},min:0,max:5,step:1,allowReset:!0}),React.createElement(X.ToggleControl,{label:"Rating With Description",checked:x,onChange:function(e){return function(e){a(e?{quoteHorizontalPosition:"center"}:{quoteHorizontalPosition:"flex-start"}),a({ratingIndivisual:e})}(e)}}),x&&React.createElement(React.Fragment,null,React.createElement(X.BaseControl,{label:(0,Y.__)("Rating Position","essential-blocks")},React.createElement(X.ButtonGroup,null,EM.map((function(e,t){return React.createElement(X.Button,{key:t,isSecondary:S!==e.value,isPrimary:S===e.value,onClick:function(){return a({ratingPosition:e.value})}},e.label)}))))))),React.createElement(X.PanelBody,{title:(0,Y.__)("Avatar","essential-blocks"),initialOpen:!1},React.createElement(X.ToggleControl,{label:"Display Avatar",checked:o,onChange:function(){return a({displayAvatar:!o})}}),"layout-preset-1"==k&&React.createElement(React.Fragment,null,o&&React.createElement(X.ToggleControl,{label:(0,Y.__)("Avatar Inline","essential-blocks"),checked:r,onChange:function(){return a({avatarInline:!r})}}),o&&React.createElement(X.BaseControl,{id:"eb-testimonial-image-pos",label:(0,Y.__)("Image Position","essential-blocks")},React.createElement(qM,{options:CM,onChange:function(e){return a({imagePosition:e})}}))),o&&b&&React.createElement(X.PanelBody,{title:(0,Y.__)("Image Setting","essential-blocks")},b&&React.createElement(FM,{imageUrl:b,onDeleteImage:function(){return a({imageUrl:null})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Round Avatar","essential-blocks"),checked:50===i,onChange:function(){return a({borderRadius:50===i?0:50})}}),React.createElement(X.RangeControl,{label:(0,Y.__)("Border Radius","essential-blocks"),value:i,onChange:function(e){return a({borderRadius:e})},min:0,max:50})))),"styles"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Color","essential-blocks"),initialOpen:!0},React.createElement(ZM,{label:(0,Y.__)("Username Color","essential-blocks"),color:d,onChange:function(e){return a({userNameColor:e})}}),React.createElement(ZM,{label:(0,Y.__)("Company Color","essential-blocks"),color:y,onChange:function(e){return a({companyColor:e})}}),React.createElement(ZM,{label:(0,Y.__)("Description Color","essential-blocks"),color:m,onChange:function(e){return a({descriptionColor:e})}}),React.createElement(ZM,{label:(0,Y.__)("Quote Color","essential-blocks"),color:f,onChange:function(e){return a({quoteColor:e})}}),React.createElement(ZM,{label:(0,Y.__)("Rating Color","essential-blocks"),color:C,onChange:function(e){return a({ratingColor:e})}})),React.createElement(X.PanelBody,{title:(0,Y.__)("Typography","essential-blocks"),initialOpen:!1},React.createElement(zM,{baseLabel:"Username",typographyPrefixConstant:"username",resRequiredProps:B}),React.createElement(zM,{baseLabel:"Company",typographyPrefixConstant:"company",resRequiredProps:B}),React.createElement(zM,{baseLabel:"Description",typographyPrefixConstant:"description",resRequiredProps:B}),g&&React.createElement(WM,{baseLabel:(0,Y.__)("Quote Size","essential-blocks"),controlName:yM,resRequiredProps:B,units:RM,min:1,max:200,step:1}),_&&React.createElement(WM,{baseLabel:(0,Y.__)("Rating Size","essential-blocks"),controlName:vM,resRequiredProps:B,units:RM,min:1,max:100,step:1})),React.createElement(X.PanelBody,{title:(0,Y.__)("Image","essential-blocks"),initialOpen:!1},"layout-preset-2"==k&&React.createElement(ZM,{label:(0,Y.__)("Overlay Color","essential-blocks"),color:R,onChange:function(e){return a({imageOverlayColor:e})}}),React.createElement(WM,{baseLabel:(0,Y.__)("Width","essential-blocks"),controlName:mM,resRequiredProps:B,units:RM,min:1,max:200,step:1}),React.createElement(WM,{baseLabel:(0,Y.__)("Gap","essential-blocks"),controlName:gM,resRequiredProps:B,units:RM,min:1,max:200,step:1}),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!0},React.createElement(UM,{controlName:dM,resRequiredProps:B,noBorderRadius:!0,noBorderRadiusHover:!0})))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Margin & Padding"),initialOpen:!0},React.createElement(HM,{resRequiredProps:B,controlName:"margin",baseLabel:"Margin"}),React.createElement(HM,{resRequiredProps:B,controlName:"padding",baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Background ","essential-blocks"),initialOpen:!1},React.createElement(VM,{controlName:fM,resRequiredProps:B})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(UM,{controlName:uM,resRequiredProps:B})),React.createElement(GM,{attributes:t,setAttributes:a})))}))))},JM=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"57",height:"58",fill:"none",viewBox:"0 0 57 58"},React.createElement("path",{fill:"#6C3BFF",d:"M13.8 8.686h-1.971C12.17 6.37 13.457 6.37 13.97 6.37c.515 0 1.115-.514 1.115-1.114V1.83c0-.343-.172-.515-.343-.858a1.31 1.31 0 00-.857-.342C10.286.8 6.17 2.6 6.17 9.886v5.743c0 .857.858 1.8 1.8 1.8h6.086c.857 0 1.8-.858 1.8-1.8v-5.4c-.257-.772-.943-1.543-2.057-1.543zm-.343 6.685H8.486v-5.4C8.486 5 10.8 3.371 12.77 3.2v1.114C11.314 4.571 9.514 6.03 9.514 9.8c0 .514.515 1.114 1.115 1.114h2.657l.171 4.457zM25.114 8.686h-1.971c.343-2.315 1.628-2.315 2.143-2.315.514 0 1.114-.514 1.114-1.114V1.83c0-.343-.171-.515-.343-.858A1.31 1.31 0 0025.2.63C21.6.8 17.486 2.6 17.486 9.886v5.743c0 .857.857 1.8 1.8 1.8h6.085c.858 0 1.8-.858 1.8-1.8v-5.4c-.342-.772-1.2-1.543-2.057-1.543zm-.428 6.685h-5.143v-5.4c0-4.971 2.314-6.6 4.286-6.771v1.114c-1.458.343-3.258 1.8-3.258 5.572 0 .514.515 1.114 1.115 1.114h2.657l.343 4.371z"}),React.createElement("path",{fill:"#6C3BFF",d:"M37.029 9.457H35.57c-.514 0-1.114.514-1.114 1.114 0 .6.514 1.115 1.114 1.115h1.458c9.685 0 17.485 7.885 17.485 17.485 0 8.229-5.914 15.343-13.8 16.972-.514.171-.857.514-.857 1.114v6.429l-6.771-6.772a1.31 1.31 0 00-.857-.343H19.714C10.03 46.4 2.23 38.6 2.23 28.914c0-3 .685-5.914 2.142-8.4.343-.514.172-1.285-.342-1.457-.515-.343-1.286-.171-1.458.343C.943 22.314 0 25.743 0 28.914 0 39.63 8.743 48.543 19.629 48.543h12l8.4 8.4c.171.171.514.343.857.343.171 0 .343 0 .343-.172.342-.171.685-.514.685-1.114v-8.143a20.74 20.74 0 0010.2-6.6c2.829-3.6 4.457-7.886 4.457-12.514C56.743 18.2 47.914 9.457 37.03 9.457z"}),React.createElement("path",{fill:"#6C3BFF",d:"M42.086 23.771H14.914c-.514 0-1.114.515-1.114 1.115S14.314 26 14.914 26h27.172c.514 0 1.114-.514 1.114-1.114-.086-.6-.6-1.115-1.114-1.115zM42.086 29.6H14.914c-.514 0-1.114.514-1.114 1.114 0 .515.514 1.115 1.114 1.115h27.172c.514 0 1.114-.515 1.114-1.115-.086-.514-.6-1.114-1.114-1.114zM42.086 35.514H27.6c-.514 0-1.114.515-1.114 1.115 0 .514.514 1.114 1.114 1.114h14.486c.514 0 1.114-.514 1.114-1.114-.086-.6-.6-1.115-1.114-1.115zM21.343 35.514c-.514 0-1.114.515-1.114 1.115 0 .514.514 1.114 1.114 1.114.514 0 1.114-.514 1.114-1.114-.086-.6-.6-1.115-1.114-1.115z"}))};var QM=[{title:"Classic Layout",content:'\x3c!-- wp:essential-blocks/testimonial {"blockId":"eb-testimonial-k74x9","blockMeta":{"desktop":".eb-testimonial-wrapper.eb-testimonial-k74x9 { background-color:#fff; margin:10px; padding:10px; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-testimonial-wrapper.eb-testimonial-k74x9:before { transition:background 0.5s, opacity 0.5s, filter 0.5s }.eb-testimonial-k74x9 .eb-avatar-container { order:1; justify-content:flex-start; align-items:center; font-size:16px; flex-direction:row }.eb-testimonial-k74x9 .eb-avatar-container { gap:15px }.eb-testimonial-k74x9 .image-container { order:0; display:block }.eb-testimonial-k74x9 .eb-avatar-style,.eb-testimonial-wrapper.eb-testimonial-k74x9.layout-preset-2 .image-container .eb-avatar-style { background-image:url(undefined); border-radius:50%; display:none }.eb-testimonial-k74x9.layout-preset-2 .image-container::before { width:calc(undefinedpx - (1px + 1px)); height:calc(undefinedpx - (1px + 1px)); background-color:var(\\u002d\\u002deb-global-primary-color) }.eb-testimonial-k74x9 .eb-userinfo-container { text-align:center; justify-content:flex-start; align-self:center }.eb-testimonial-k74x9 .eb-testimonial-username { color:var(\\u002d\\u002deb-global-primary-color) }.eb-testimonial-k74x9 .eb-testimonial-company { color:var(\\u002d\\u002deb-global-heading-color) }.eb-testimonial-k74x9 .eb-description-container p { text-align:center; color:var(\\u002d\\u002deb-global-text-color); padding-right:20px; word-break:break-word }.eb-testimonial-k74x9 .eb-description-container { flex-direction:row }.eb-testimonial-k74x9 .eb-testimonial-quote-style:before { content:none }.eb-testimonial-k74x9 .eb-testimonial-quote-style svg { fill:#edf1f7; height:60px; width:60px }.eb-testimonial-k74x9 .eb-testimonial-rating { text-align:center }.eb-testimonial-k74x9 .eb-testimonial-rating { order:3 }.eb-testimonial-k74x9 .eb-testimonial-description { order:2 }.eb-testimonial-k74x9 .eb-testimonial-rating i { font-size:14px }.eb-testimonial-k74x9 .eb-testimonial-rating.rating-1 i:nth-child(-n+1),.eb-testimonial-k74x9 .eb-testimonial-rating.rating-2 i:nth-child(-n+2),.eb-testimonial-k74x9 .eb-testimonial-rating.rating-3 i:nth-child(-n+3),.eb-testimonial-k74x9 .eb-testimonial-rating.rating-4 i:nth-child(-n+4),.eb-testimonial-k74x9 .eb-testimonial-rating.rating-5 i:nth-child(-n+5) { color:#f2b01e }","tab":".eb-testimonial-k74x9.layout-preset-2 .image-container::before { width:calc(undefinedpx - (1px + 1px)); height:calc(undefinedpx - (1px + 1px)) }","mobile":".eb-testimonial-k74x9.layout-preset-2 .image-container::before { width:calc(undefinedpx - (1px + 1px)); height:calc(undefinedpx - (1px + 1px)) }"},"commonStyles":{"desktop":".wp-admin .eb-parent-eb-testimonial-k74x9 { display:block; opacity:1 }.eb-parent-eb-testimonial-k74x9 { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-testimonial-k74x9 { display:block; opacity:1 }.eb-parent-eb-testimonial-k74x9 { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-testimonial-k74x9 { display:block; opacity:1 }.eb-parent-eb-testimonial-k74x9 { display:block }"}} --\x3e\n<div class="wp-block-essential-blocks-testimonial"><div class="eb-parent-wrapper eb-parent-eb-testimonial-k74x9 "><div class="eb-testimonial-wrapper eb-testimonial-k74x9 layout-preset-1" data-id="eb-testimonial-k74x9"><div class="eb-testimonial-container"><div class="eb-avatar-container avatar-inline "><div class="eb-userinfo-container"><p class="eb-testimonial-username">John Doe</p><p class="eb-testimonial-company">Company Name</p></div></div><div class="eb-description-container"><div class="eb-testimonial-quote-style"><svg xmlns="http://www.w3.org/2000/svg" width="123.961" height="123.961" x="0" y="0" enable-background="new 0 0 123.961 123.961" version="1.1" viewBox="0 0 123.961 123.961" xml:space="preserve"><path d="M49.8 29.032c3.1-1.3 4.4-5 3-8l-4.9-10.3c-1.4-2.899-4.8-4.2-7.8-2.899-8.5 3.6-15.8 8.3-21.6 14C11.4 28.532 6.6 36.232 4 44.732c-2.6 8.601-4 20.3-4 35.2v30.7c0 3.3 2.7 6 6 6h39.3c3.3 0 6-2.7 6-6v-39.3c0-3.301-2.7-6-6-6H26.5c.2-10.101 2.6-18.2 7-24.301 3.6-4.898 9-8.898 16.3-11.999zM120.4 29.032c3.1-1.3 4.399-5 3-8l-4.9-10.199c-1.4-2.9-4.8-4.2-7.8-2.9-8.4 3.6-15.601 8.3-21.5 13.9-7.101 6.8-12 14.5-14.601 23-2.6 8.399-3.899 20.1-3.899 35.1v30.7c0 3.3 2.7 6 6 6H116c3.3 0 6-2.7 6-6v-39.3c0-3.301-2.7-6-6-6H97.1c.2-10.101 2.601-18.2 7-24.301 3.6-4.899 9-8.899 16.3-12z"></path></svg></div><p class="eb-testimonial-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p></div></div></div></div></div>\n\x3c!-- /wp:essential-blocks/testimonial --\x3e'},{title:"Retro Layout",content:'\x3c!-- wp:essential-blocks/testimonial {"blockId":"eb-testimonial-cg8o5","blockMeta":{"desktop":".eb-testimonial-wrapper.eb-testimonial-cg8o5 { background-color:#fff; margin:10px; padding-top:6%; padding-right:20%; padding-left:20%; padding-bottom:6%; border-width:1px; border-color:#000; border-style:solid; border-radius:25px; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-testimonial-wrapper.eb-testimonial-cg8o5:before { transition:background 0.5s, opacity 0.5s, filter 0.5s }.eb-testimonial-cg8o5 .eb-avatar-container { order:0; justify-content:flex-start; align-items:left; font-size:16px; flex-direction:row }.eb-testimonial-cg8o5 .eb-avatar-container { gap:15px }.eb-testimonial-cg8o5 .image-container { order:0; display:block }.eb-testimonial-cg8o5 .eb-avatar-style,.eb-testimonial-wrapper.eb-testimonial-cg8o5.layout-preset-2 .image-container .eb-avatar-style { background-image:url(undefined); border-radius:50%; display:none; width:60px; height:60px; border-width:3px; border-color:#fff; border-style:solid }.eb-testimonial-cg8o5.layout-preset-2 .image-container::before,.eb-testimonial-cg8o5.layout-preset-2 .image-container .eb-avatar-style { width:60px; height:60px }.eb-testimonial-cg8o5.layout-preset-2 .image-container::before { width:calc(60px - (3px + 3px)); height:calc(60px - (3px + 3px)); background-color:var(\\u002d\\u002deb-global-primary-color) }.eb-testimonial-cg8o5 .eb-userinfo-container { text-align:left; justify-content:flex-start; align-self:center }.eb-testimonial-cg8o5 .eb-testimonial-username { color:var(\\u002d\\u002deb-global-primary-color) }.eb-testimonial-cg8o5 .eb-testimonial-company { color:var(\\u002d\\u002deb-global-heading-color) }.eb-testimonial-cg8o5 .eb-description-container p { text-align:left; color:var(\\u002d\\u002deb-global-text-color); padding-right:20px; word-break:break-word }.eb-testimonial-cg8o5 .eb-description-container { flex-direction:row }.eb-testimonial-cg8o5 .eb-testimonial-quote-style:before { content:none }.eb-testimonial-cg8o5 .eb-testimonial-quote-style svg { fill:#edf1f7; height:60px; width:60px }.eb-testimonial-cg8o5 .eb-testimonial-rating { text-align:left }.eb-testimonial-cg8o5 .eb-testimonial-rating { order:3 }.eb-testimonial-cg8o5 .eb-testimonial-description { order:2 }.eb-testimonial-cg8o5 .eb-testimonial-rating i { font-size:14px }.eb-testimonial-cg8o5 .eb-testimonial-rating.rating-1 i:nth-child(-n+1),.eb-testimonial-cg8o5 .eb-testimonial-rating.rating-2 i:nth-child(-n+2),.eb-testimonial-cg8o5 .eb-testimonial-rating.rating-3 i:nth-child(-n+3),.eb-testimonial-cg8o5 .eb-testimonial-rating.rating-4 i:nth-child(-n+4),.eb-testimonial-cg8o5 .eb-testimonial-rating.rating-5 i:nth-child(-n+5) { color:#f2b01e }","tab":".eb-testimonial-cg8o5.layout-preset-2 .image-container::before { width:calc(60px - (3px + 3px)); height:calc(60px - (3px + 3px)) }","mobile":".eb-testimonial-wrapper.eb-testimonial-cg8o5 { padding-top:20px; padding-right:20px; padding-left:20px; padding-bottom:20px }.eb-testimonial-cg8o5.layout-preset-2 .image-container::before { width:calc(60px - (3px + 3px)); height:calc(60px - (3px + 3px)) }"},"layoutPreset":"layout-preset-2","avatarAlign":"left","avatarOrder":0,"descTextAlign":"left","textAlign":"left","enableQuote":false,"paddingUnit":"%","paddingisLinked":false,"paddingTop":"6","paddingRight":"20","paddingBottom":"6","paddingLeft":"20","MOBpaddingTop":"20","MOBpaddingRight":"20","MOBpaddingBottom":"20","MOBpaddingLeft":"20","wrp_borderColor":"#000","wrp_borderStyle":"solid","wrp_Rds_Top":"25","wrp_Rds_Right":"25","wrp_Rds_Bottom":"25","wrp_Rds_Left":"25","imgWidth_Range":60,"img_borderColor":"#fff","img_borderStyle":"solid","img_Bdr_Top":"3","img_Bdr_Right":"3","img_Bdr_Bottom":"3","img_Bdr_Left":"3","img_vOffset":0,"img_blur":81,"img_spread":33,"img_shadowColor":"","commonStyles":{"desktop":".wp-admin .eb-parent-eb-testimonial-cg8o5 { display:block; opacity:1 }.eb-parent-eb-testimonial-cg8o5 { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-testimonial-cg8o5 { display:block; opacity:1 }.eb-parent-eb-testimonial-cg8o5 { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-testimonial-cg8o5 { display:block; opacity:1 }.eb-parent-eb-testimonial-cg8o5 { display:block }"}} --\x3e\n<div class="wp-block-essential-blocks-testimonial"><div class="eb-parent-wrapper eb-parent-eb-testimonial-cg8o5 "><div class="eb-testimonial-wrapper eb-testimonial-cg8o5 layout-preset-2" data-id="eb-testimonial-cg8o5"><div class="eb-testimonial-container"><div class="eb-avatar-container avatar-inline "><div class="eb-userinfo-container"><p class="eb-testimonial-username">John Doe</p><p class="eb-testimonial-company">Company Name</p></div></div><div class="eb-description-container"><p class="eb-testimonial-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p></div></div></div></div></div>\n\x3c!-- /wp:essential-blocks/testimonial --\x3e'},{title:"Card Layout",content:'\x3c!-- wp:essential-blocks/testimonial {"blockId":"eb-testimonial-du11v","blockMeta":{"desktop":".eb-testimonial-wrapper.eb-testimonial-du11v { background-color:#FAEFDB; margin:10px; padding-top:6%; padding-right:20%; padding-left:20%; padding-bottom:6%; border-radius:25px; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-testimonial-wrapper.eb-testimonial-du11v:before { transition:background 0.5s, opacity 0.5s, filter 0.5s }.eb-testimonial-du11v .eb-avatar-container { order:0; justify-content:center; align-items:center; font-size:16px; flex-direction:row }.eb-testimonial-du11v .eb-avatar-container { gap:15px }.eb-testimonial-du11v .image-container { order:0; display:block }.eb-testimonial-du11v .eb-avatar-style,.eb-testimonial-wrapper.eb-testimonial-du11v.layout-preset-2 .image-container .eb-avatar-style { background-image:url(undefined); border-radius:50%; display:none; width:90px; height:90px; border-width:3px; border-color:#fff; border-style:solid; box-shadow:#9B9B9B38 0px 0px 81px 33px  }.eb-testimonial-du11v.layout-preset-2 .image-container::before,.eb-testimonial-du11v.layout-preset-2 .image-container .eb-avatar-style { width:90px; height:90px }.eb-testimonial-du11v.layout-preset-2 .image-container::before { width:calc(90px - (3px + 3px)); height:calc(90px - (3px + 3px)); background-color:var(\\u002d\\u002deb-global-primary-color) }.eb-testimonial-du11v .eb-userinfo-container { text-align:center; justify-content:flex-start; align-self:center }.eb-testimonial-du11v .eb-testimonial-username { color:var(\\u002d\\u002deb-global-primary-color) }.eb-testimonial-du11v .eb-testimonial-company { color:var(\\u002d\\u002deb-global-heading-color) }.eb-testimonial-du11v .eb-description-container p { text-align:center; color:var(\\u002d\\u002deb-global-text-color); padding-right:20px; word-break:break-word }.eb-testimonial-du11v .eb-description-container { flex-direction:row }.eb-testimonial-du11v .eb-testimonial-quote-style:before { content:none }.eb-testimonial-du11v .eb-testimonial-quote-style svg { fill:#edf1f7; height:60px; width:60px }.eb-testimonial-du11v .eb-testimonial-rating { text-align:center }.eb-testimonial-du11v .eb-testimonial-rating { order:3 }.eb-testimonial-du11v .eb-testimonial-description { order:2 }.eb-testimonial-du11v .eb-testimonial-rating i { font-size:14px }.eb-testimonial-du11v .eb-testimonial-rating.rating-1 i:nth-child(-n+1),.eb-testimonial-du11v .eb-testimonial-rating.rating-2 i:nth-child(-n+2),.eb-testimonial-du11v .eb-testimonial-rating.rating-3 i:nth-child(-n+3),.eb-testimonial-du11v .eb-testimonial-rating.rating-4 i:nth-child(-n+4),.eb-testimonial-du11v .eb-testimonial-rating.rating-5 i:nth-child(-n+5) { color:#f2b01e }","tab":".eb-testimonial-du11v.layout-preset-2 .image-container::before { width:calc(90px - (3px + 3px)); height:calc(90px - (3px + 3px)) }","mobile":".eb-testimonial-wrapper.eb-testimonial-du11v { padding-top:20px; padding-right:20px; padding-left:20px; padding-bottom:20px }.eb-testimonial-du11v.layout-preset-2 .image-container::before { width:calc(90px - (3px + 3px)); height:calc(90px - (3px + 3px)) }"},"layoutPreset":"layout-preset-3","avatarPosition":"center","avatarOrder":0,"enableQuote":false,"paddingUnit":"%","paddingisLinked":false,"paddingTop":"6","paddingRight":"20","paddingBottom":"6","paddingLeft":"20","MOBpaddingTop":"20","MOBpaddingRight":"20","MOBpaddingBottom":"20","MOBpaddingLeft":"20","wrp_borderColor":"#000","wrp_Rds_Top":"25","wrp_Rds_Right":"25","wrp_Rds_Bottom":"25","wrp_Rds_Left":"25","wrp_backgroundColor":"#FAEFDB","imgWidth_Range":90,"img_borderColor":"#fff","img_borderStyle":"solid","img_Bdr_Top":"3","img_Bdr_Right":"3","img_Bdr_Bottom":"3","img_Bdr_Left":"3","img_vOffset":0,"img_blur":81,"img_spread":33,"img_shadowColor":"#9B9B9B38","commonStyles":{"desktop":".wp-admin .eb-parent-eb-testimonial-du11v { display:block; opacity:1 }.eb-parent-eb-testimonial-du11v { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-testimonial-du11v { display:block; opacity:1 }.eb-parent-eb-testimonial-du11v { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-testimonial-du11v { display:block; opacity:1 }.eb-parent-eb-testimonial-du11v { display:block }"}} --\x3e\n<div class="wp-block-essential-blocks-testimonial"><div class="eb-parent-wrapper eb-parent-eb-testimonial-du11v "><div class="eb-testimonial-wrapper eb-testimonial-du11v layout-preset-3" data-id="eb-testimonial-du11v"><div class="eb-testimonial-container"><div class="eb-avatar-container avatar-inline "></div><div class="eb-description-container"><p class="eb-testimonial-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p></div><div class="eb-userinfo-container"><p class="eb-testimonial-username">John Doe</p><p class="eb-testimonial-company">Company Name</p></div></div></div></div></div>\n\x3c!-- /wp:essential-blocks/testimonial --\x3e'}],XM=window.EBControls,$M=XM.softMinifyCssStrings,KM=XM.generateBackgroundControlStyles,eD=XM.generateDimensionsControlStyles,tD=XM.generateTypographyStyles,aD=XM.generateResponsiveRangeStyles,nD=XM.generateBorderShadowStyles,oD=XM.StyleComponent;function rD(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=(t.resOption,t.blockId),r=(t.blockMeta,t.avaterContainerFontSize),c=t.displayAvatar,l=t.avatarInline,i=t.avatarPosition,s=t.avatarAlign,b=t.borderRadius,p=t.avatarOrder,u=t.imageUrl,d=t.descTextAlign,m=t.userInfoAlign,g=t.textAlign,f=t.userInfoPos,y=t.imagePosition,v=t.userNameColor,h=t.descriptionColor,w=t.quoteColor,k=t.companyColor,R=t.quoteHorizontalPosition,_=t.quoteVerticalPosition,E=(t.classHook,t.imgWidth_Range),C=t.img_Bdr_Bottom,x=t.img_Bdr_Top,S=t.img_Bdr_Left,B=t.img_Bdr_Right,T=t.img_Bdr_Unit,N=t.imgWidth_Unit,P=t.TABimgWidth_Range,O=t.TABimg_Bdr_Bottom,M=t.TABimg_Bdr_Top,D=t.TABimg_Bdr_Left,j=t.TABimg_Bdr_Right,I=t.TABimg_Bdr_Unit,A=t.TABimgWidth_Unit,L=t.MOBimgWidth_Range,F=t.MOBimg_Bdr_Bottom,H=t.MOBimg_Bdr_Top,z=t.MOBimg_Bdr_Left,q=t.MOBimg_Bdr_Right,U=t.MOBimg_Bdr_Unit,V=t.MOBimgWidth_Unit,W=t.ratingColor,G=t.ratingPosition,Z=t.imageOverlayColor,Y=tD({attributes:t,prefixConstant:"username"}),J=Y.typoStylesDesktop,Q=Y.typoStylesTab,X=Y.typoStylesMobile,$=tD({attributes:t,prefixConstant:"company"}),K=$.typoStylesDesktop,ee=$.typoStylesTab,te=$.typoStylesMobile,ae=tD({attributes:t,prefixConstant:"description"}),ne=ae.typoStylesDesktop,oe=ae.typoStylesTab,re=ae.typoStylesMobile,ce=eD({controlName:"margin",styleFor:"margin",attributes:t}),le=ce.dimensionStylesDesktop,ie=ce.dimensionStylesTab,se=ce.dimensionStylesMobile,be=eD({controlName:"padding",styleFor:"padding",attributes:t}),pe=be.dimensionStylesDesktop,ue=be.dimensionStylesTab,de=be.dimensionStylesMobile,me=nD({controlName:uM,attributes:t}),ge=me.styesDesktop,fe=me.styesTab,ye=me.styesMobile,ve=me.stylesHoverDesktop,he=me.stylesHoverTab,we=me.stylesHoverMobile,ke=me.transitionStyle,Re=nD({controlName:dM,attributes:t}),_e=Re.styesDesktop,Ee=Re.styesTab,Ce=Re.styesMobile,xe=(Re.stylesHoverDesktop,Re.stylesHoverTab,Re.stylesHoverMobile,Re.transitionStyle,aD({controlName:vM,property:"font-size",attributes:t})),Se=xe.rangeStylesDesktop,Be=xe.rangeStylesTab,Te=xe.rangeStylesMobile,Ne=aD({controlName:yM,property:"height",attributes:t}),Pe=Ne.rangeStylesDesktop,Oe=Ne.rangeStylesTab,Me=Ne.rangeStylesMobile,De=aD({controlName:yM,property:"width",attributes:t}),je=De.rangeStylesDesktop,Ie=De.rangeStylesTab,Ae=De.rangeStylesMobile,Le=aD({controlName:mM,property:"width",attributes:t}),Fe=Le.rangeStylesDesktop,He=Le.rangeStylesTab,ze=Le.rangeStylesMobile,qe=aD({controlName:gM,property:"gap",attributes:t}),Ue=qe.rangeStylesDesktop,Ve=qe.rangeStylesTab,We=qe.rangeStylesMobile,Ge=aD({controlName:mM,property:"height",attributes:t}),Ze=Ge.rangeStylesDesktop,Ye=Ge.rangeStylesTab,Je=Ge.rangeStylesMobile,Qe=KM({attributes:t,controlName:fM}),Xe=Qe.backgroundStylesDesktop,$e=Qe.hoverBackgroundStylesDesktop,Ke=Qe.backgroundStylesTab,et=Qe.hoverBackgroundStylesTab,tt=Qe.backgroundStylesMobile,at=Qe.hoverBackgroundStylesMobile,nt=Qe.overlayStylesDesktop,ot=Qe.hoverOverlayStylesDesktop,rt=Qe.overlayStylesTab,ct=Qe.hoverOverlayStylesTab,lt=Qe.overlayStylesMobile,it=Qe.hoverOverlayStylesMobile,st=Qe.bgTransitionStyle,bt=Qe.ovlTransitionStyle,pt="\n\t\t.eb-testimonial-wrapper.".concat(o," {\n\t\t\t").concat(Xe,"\n\t\t\t").concat(le,"\n\t\t\t").concat(pe,"\n\t\t\t").concat(ge,"\n\t\t\ttransition:").concat(st,", ").concat(ke,";\n\t\t}\n\n\t\t.eb-testimonial-wrapper.").concat(o,":hover{\n\t\t\t").concat($e,"\n\t\t\t").concat(ve,"\n\t\t}\n\n\t\t.eb-testimonial-wrapper.").concat(o,":before{\n\t\t\t").concat(nt,"\n\t\t\ttransition:").concat(bt,";\n\t\t}\n\n\t\t.eb-testimonial-wrapper.").concat(o,":hover:before{\n\t\t\t").concat(ot,"\n\t\t}\n\t"),ut="\n\t\t.eb-testimonial-wrapper.".concat(o," {\n\t\t\t").concat(ie,"\n\t\t\t").concat(ue,"\n\t\t\t").concat(fe,"\n\t\t\t").concat(Ke,"\n\t\t}\n\n\t\t.eb-testimonial-wrapper.").concat(o,":hover{\n\t\t\t").concat(et,"\n\t\t\t").concat(he,"\n\t\t}\n\n\t\t.eb-testimonial-wrapper.").concat(o,":before{\n\t\t\t").concat(rt,"\n\t\t}\n\n\t\t.eb-testimonial-wrapper.").concat(o,":hover:before{\n\t\t\t").concat(ct,"\n\t\t}\n\t"),dt="\n\t\t.eb-testimonial-wrapper.".concat(o," {\n\t\t\t").concat(se,"\n\t\t\t").concat(de,"\n\t\t\t").concat(ye,"\n\t\t\t").concat(tt,"\n\t\t}\n\n\t\t.eb-testimonial-wrapper.").concat(o,":hover{\n\t\t\t").concat(at,"\n\t\t\t").concat(we,"\n\t\t}\n\n\t\t.eb-testimonial-wrapper.").concat(o,":before{\n\t\t\t").concat(lt,"\n\t\t}\n\n\t\t.eb-testimonial-wrapper.").concat(o,":hover:before{\n\t\t\t").concat(it,"\n\t\t}\n\t"),mt="\n\t\t.".concat(o," .eb-avatar-container {\n\t\t\torder: ").concat(p,";\n\t\t\tjustify-content: ").concat(i,";\n\t\t\talign-items: ").concat(s,";\n\t\t\tfont-size: ").concat(r,"px;\n\t\t\tflex-direction: ").concat(l?"row":"column",";\n\t\t}\n\t"),gt="\n        .".concat(o," .eb-avatar-container {\n            ").concat(Ue,"\n        }\n\t\t.").concat(o," .image-container {\n\t\t\torder: ").concat(y,";\n\t\t\tdisplay: ").concat(c?"block":"none",";\n\t\t}\n\t\t.").concat(o," .eb-avatar-style,\n        .eb-testimonial-wrapper.").concat(o,".layout-preset-2 .image-container .eb-avatar-style {\n\t\t\tbackground-image: url(").concat(u,");\n\t\t\tborder-radius: ").concat(b,"%;\n\t\t\tdisplay: ").concat(u?"block":"none",";\n            ").concat(Fe,"\n            ").concat(Ze,"\n            ").concat(_e,"\n\t\t}\n\n        .").concat(o,".layout-preset-2 .image-container::before,\n        .").concat(o,".layout-preset-2 .image-container .eb-avatar-style {\n            ").concat(Fe,"\n            ").concat(Ze,"\n        }\n\n        .").concat(o,".layout-preset-2 .image-container::before {\n            width: calc(").concat(E).concat(N," - (").concat(S).concat(T," + ").concat(B).concat(T,"));\n            height: calc(").concat(E).concat(N," - (").concat(x).concat(T," + ").concat(C).concat(T,"));\n            background-color: ").concat(Z,";\n        }\n\n\t"),ft="\n        .".concat(o," .eb-avatar-container {\n            ").concat(Ve,"\n        }\n\t\t.").concat(o," .eb-avatar-style,\n        .eb-testimonial-wrapper.").concat(o,".layout-preset-2 .image-container .eb-avatar-style {\n            ").concat(He,"\n            ").concat(Ye,"\n            ").concat(Ee,"\n\t\t}\n\n        .").concat(o,".layout-preset-2 .image-container::before {\n            width: calc(").concat(P||E).concat(A," - (").concat(D||S).concat(I," + ").concat(j||B).concat(I,"));\n            height: calc(").concat(P||E).concat(A," - (").concat(M||x).concat(I," + ").concat(O||C).concat(I,"));\n        }\n\n\t"),yt="\n        .".concat(o," .eb-avatar-container {\n            ").concat(We,"\n        }\n\t\t.").concat(o," .eb-avatar-style,\n        .eb-testimonial-wrapper.").concat(o,".layout-preset-2 .image-container .eb-avatar-style {\n            ").concat(ze,"\n            ").concat(Je,"\n            ").concat(Ce,"\n\t\t}\n        .").concat(o,".layout-preset-2 .image-container::before {\n            width: calc(").concat(L||E).concat(V," - (").concat(z||S).concat(U," + ").concat(q||B).concat(U,"));\n            height: calc(").concat(L||E).concat(V," - (").concat(H||x).concat(U," + ").concat(F||C).concat(U,"));\n        }\n\n\t"),vt="\n\t\t.".concat(o," .eb-userinfo-container {\n\t\t\ttext-align: ").concat(g,";\n\t\t\tjustify-content: ").concat(f,";\n\t\t\talign-self: ").concat(m,";\n\t\t}\n\t"),ht="\n\t\t.".concat(o," .eb-testimonial-username {\n\t\t\t").concat(J,"\n\t\t\tcolor: ").concat(v,";\n\t\t}\n\t"),wt="\n\t\t.".concat(o," .eb-testimonial-username {\n\t\t\t").concat(Q,"\n\t\t}\n\t"),kt="\n\t\t.".concat(o," .eb-testimonial-username {\n\t\t\t").concat(X,"\n\t\t}\n\t"),Rt="\n        .".concat(o," .eb-testimonial-rating {\n            text-align: ").concat(d,";\n        }\n\n        ").concat(2===G?".".concat(o," .eb-testimonial-rating {\n                    order: 2;\n                }\n                .").concat(o," .eb-testimonial-description {\n                    order: 3;\n                }"):"","\n        ").concat(3===G?".".concat(o," .eb-testimonial-rating {\n                    order: ").concat(G,";\n                }\n                .").concat(o," .eb-testimonial-description {\n                    order: 2;\n                }"):"","\n\n\n        .").concat(o," .eb-testimonial-rating i {\n            ").concat(Se,"\n        }\n        .").concat(o," .eb-testimonial-rating.rating-1 i:nth-child(-n+1),\n\t\t.").concat(o," .eb-testimonial-rating.rating-2 i:nth-child(-n+2),\n\t\t.").concat(o," .eb-testimonial-rating.rating-3 i:nth-child(-n+3),\n\t\t.").concat(o," .eb-testimonial-rating.rating-4 i:nth-child(-n+4),\n\t\t.").concat(o," .eb-testimonial-rating.rating-5 i:nth-child(-n+5) {\n\t\t\tcolor: ").concat(W,";\n\t\t}\n\t"),_t="\n        .".concat(o," .eb-testimonial-rating i {\n            ").concat(Be,"\n        }\n\t"),Et="\n        .".concat(o," .eb-testimonial-rating i {\n            ").concat(Te,"\n        }\n\t"),Ct="\n\t\t.".concat(o," .eb-testimonial-company {\n\t\t\t").concat(K,"\n\t\t\tcolor: ").concat(k,";\n\t\t}\n\t"),xt="\n\t\t.".concat(o," .eb-testimonial-company {\n\t\t\t").concat(ee,"\n\t\t}\n\t"),St="\n\t\t.".concat(o," .eb-testimonial-company {\n\t\t\t").concat(te,"\n\t\t}\n\t"),Bt="\n\t\t.".concat(o," .eb-description-container p {\n\t\t\t").concat(ne,"\n\t\t\ttext-align: ").concat(d,";\n\t\t\tcolor: ").concat(h,";\n\t\t\tpadding-right: 20px;\n\t\t\tword-break: break-word;\n\t\t}\n\t\t").concat("flex-end"===R?".".concat(o," .eb-description-container {\n\t\t\t\tflex-direction: row-reverse;\n\t\t\t}\n\t\t\t.").concat(o," .eb-description-container .eb-testimonial-quote-style {\n\t\t\t\ttransform: rotateY(180deg);\n\t\t\t}"):".".concat(o,"center"===R?1==_?" .eb-description-container {\n\t\t\t\t\t\tflex-direction: column;\n\t\t\t\t\t}":" .eb-description-container {\n\t\t\t\t\t\tflex-direction: column-reverse;\n\t\t\t\t\t}":" .eb-description-container {\n\t\t\t\t\tflex-direction: row;\n\t\t\t\t}"),"\n\t"),Tt="\n\t\t.".concat(o," .eb-description-container p {\n\t\t\t").concat(oe,"\n\t\t}\n\t"),Nt="\n\t\t.".concat(o," .eb-description-container p {\n\t\t\t").concat(re,"\n\t\t}\n\t"),Pt="\n\t\t.".concat(o," .eb-testimonial-quote-style:before {\n\t\t\tcontent: none;\n\t\t}\n\t\t.").concat(o," .eb-testimonial-quote-style svg {\n\t\t\tfill: ").concat(w,";\n\t\t\t").concat(Pe,"\n\t\t\t").concat(je,"\n\t\t}\n\t"),Ot="\n\t\t.".concat(o," .eb-testimonial-quote-style svg {\n\t\t\t").concat(Oe,"\n\t\t\t").concat(Ie,"\n\t\t}\n\t"),Mt="\n\t\t.".concat(o," .eb-testimonial-quote-style svg {\n\t\t\t").concat(Me,"\n\t\t\t").concat(Ae,"\n\t\t}\n\t"),Dt=$M("\n\t\t".concat(pt,"\n\t\t").concat(mt,"\n\t\t").concat(gt,"\n\t\t").concat(vt,"\n\t\t").concat(ht,"\n\t\t").concat(Ct,"\n\t\t").concat(Bt,"\n\t\t").concat(Pt,"\n\t\t").concat(Rt,"\n\t")),jt=$M("\n\t\t".concat(ut,"\n\t\t").concat(wt,"\n\t\t").concat(xt,"\n\t\t").concat(Tt,"\n\t\t").concat(Ot,"\n        ").concat(ft,"\n        ").concat(_t,"\n\t")),It=$M("\n\t\t".concat(dt,"\n\t\t").concat(kt,"\n\t\t").concat(St,"\n\t\t").concat(Nt,"\n\t\t").concat(Mt,"\n        ").concat(yt,"\n        ").concat(Et,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(oD,{attributes:t,setAttributes:a,desktopAllStyles:Dt,tabAllStyles:jt,mobileAllStyles:It,blockName:n}))}const cD=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"123.961",height:"123.961",x:"0",y:"0",enableBackground:"new 0 0 123.961 123.961",version:"1.1",viewBox:"0 0 123.961 123.961",xmlSpace:"preserve"},React.createElement("path",{d:"M49.8 29.032c3.1-1.3 4.4-5 3-8l-4.9-10.3c-1.4-2.899-4.8-4.2-7.8-2.899-8.5 3.6-15.8 8.3-21.6 14C11.4 28.532 6.6 36.232 4 44.732c-2.6 8.601-4 20.3-4 35.2v30.7c0 3.3 2.7 6 6 6h39.3c3.3 0 6-2.7 6-6v-39.3c0-3.301-2.7-6-6-6H26.5c.2-10.101 2.6-18.2 7-24.301 3.6-4.898 9-8.898 16.3-11.999zM120.4 29.032c3.1-1.3 4.399-5 3-8l-4.9-10.199c-1.4-2.9-4.8-4.2-7.8-2.9-8.4 3.6-15.601 8.3-21.5 13.9-7.101 6.8-12 14.5-14.601 23-2.6 8.399-3.899 20.1-3.899 35.1v30.7c0 3.3 2.7 6 6 6H116c3.3 0 6-2.7 6-6v-39.3c0-3.301-2.7-6-6-6H97.1c.2-10.101 2.601-18.2 7-24.301 3.6-4.899 9-8.899 16.3-12z"}))};function lD(e){return lD="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},lD(e)}function iD(){return iD=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},iD.apply(null,arguments)}function sD(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function bD(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?sD(Object(a),!0).forEach((function(t){pD(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):sD(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function pD(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=lD(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=lD(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==lD(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var uD=window.EBControls,dD=uD.BlockProps,mD=uD.BrowseTemplate;var gD=window.EBControls.BlockProps;const fD=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Testimonial","name":"essential-blocks/testimonial","description":"Display testimonials & gain instant credibility","category":"essential-blocks","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');var yD;const vD={attributes:{imageUrl:(null===(yD=EssentialBlocksLocalize)||void 0===yD?void 0:yD.eb_plugins_url)+"assets/images/user.jpg"}};function hD(e){return hD="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},hD(e)}function wD(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function kD(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?wD(Object(a),!0).forEach((function(t){RD(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):wD(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function RD(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=hD(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=hD(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==hD(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var _D=lodash.omit;const ED=[{attributes:kD({},AM),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.avatarInline,o=t.userName,r=t.companyName,c=t.description,l=t.enableQuote,i=t.classHook,s=t.layoutPreset,b=t.showRating,p=t.rating,u=t.ratingIndivisual,d=t.imageUrl;if(t.showBlockContent){var m,g,f=(m=kD({},Q.useBlockProps.save()).className,g="eb-testimonial-wrapper "+a,m?m.replace(new RegExp(g,"g"),""):"").trim(),y=kD(kD({},Q.useBlockProps.save()),{},{className:f});return React.createElement("div",y,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(i)},React.createElement("div",{className:"eb-testimonial-wrapper ".concat(a," ").concat(s),"data-id":a},React.createElement("div",{className:"eb-testimonial-container"},React.createElement("div",{className:"eb-avatar-container ".concat(n?"avatar-inline":"avatar-basic"," ")},d&&React.createElement("div",{className:"image-container"},React.createElement("div",{className:"eb-avatar-style"})),"layout-preset-3"!==s&&React.createElement("div",{className:"eb-userinfo-container"},React.createElement(Q.RichText.Content,{tagName:"p",className:"eb-testimonial-username",value:o}),React.createElement(Q.RichText.Content,{tagName:"p",className:"eb-testimonial-company",value:r}),b&&!u&&0!=p&&React.createElement("div",{className:"eb-testimonial-rating rating-".concat(p)},React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"})))),React.createElement("div",{className:"eb-description-container"},l&&React.createElement("div",{className:"eb-testimonial-quote-style"},React.createElement(cD,null)),React.createElement(Q.RichText.Content,{tagName:"p",className:"eb-testimonial-description",value:c}),b&&u&&0!=p&&React.createElement("div",{className:"eb-testimonial-rating rating-".concat(p)},React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}))),"layout-preset-3"==s&&React.createElement("div",{className:"eb-userinfo-container"},React.createElement(Q.RichText.Content,{tagName:"p",className:"eb-testimonial-username",value:o}),React.createElement(Q.RichText.Content,{tagName:"p",className:"eb-testimonial-company",value:r}),b&&!u&&0!=p&&React.createElement("div",{className:"eb-testimonial-rating rating-".concat(p)},React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"})))))))}}},{attributes:kD({},_D(kD({},AM),["layoutPreset","imageOverlayColor","showRating","rating","ratingIndivisual"])),supports:{align:["wide","full"]},save:function(e){var t,a,n=e.attributes,o=n.blockId,r=n.avatarInline,c=n.userName,l=n.companyName,i=n.description,s=n.enableQuote,b=n.classHook,p=(t=kD({},Q.useBlockProps.save()).className,a="eb-testimonial-wrapper "+o,t?t.replace(new RegExp(a,"g"),""):"").trim(),u=kD(kD({},Q.useBlockProps.save()),{},{className:p});return React.createElement("div",u,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(o," ").concat(b)},React.createElement("div",{className:"eb-testimonial-wrapper ".concat(o),"data-id":o},React.createElement("div",{className:"eb-testimonial-container"},React.createElement("div",{className:"eb-avatar-container ".concat(r?"avatar-inline":"avatar-basic"," ")},React.createElement("div",{className:"image-container"},React.createElement("div",{className:"eb-avatar-style"})),React.createElement("div",{className:"eb-userinfo-container"},React.createElement(Q.RichText.Content,{tagName:"p",className:"eb-testimonial-username",value:c}),React.createElement(Q.RichText.Content,{tagName:"p",className:"eb-testimonial-company",value:l}))),React.createElement("div",{className:"eb-description-container"},s&&React.createElement("div",{className:"eb-testimonial-quote-style"},React.createElement(cD,null)),React.createElement(Q.RichText.Content,{tagName:"p",className:"eb-testimonial-description",value:i}))))))}},{attributes:kD({},AM),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.avatarInline,o=t.userName,r=t.companyName,c=t.description,l=t.enableQuote;return React.createElement("div",{className:"eb-testimonial-wrapper ".concat(a),"data-id":a},React.createElement("div",{className:"eb-testimonial-container"},React.createElement("div",{className:"eb-avatar-container ".concat(n?"avatar-inline":"avatar-basic"," ")},React.createElement("div",{className:"image-container"},React.createElement("div",{className:"eb-avatar-style"})),React.createElement("div",{className:"eb-userinfo-container"},React.createElement(Q.RichText.Content,{tagName:"p",className:"eb-testimonial-username",value:o}),React.createElement(Q.RichText.Content,{tagName:"p",className:"eb-testimonial-company",value:r}))),React.createElement("div",{className:"eb-description-container"},l&&React.createElement("div",{className:"eb-testimonial-quote-style"},React.createElement(cD,null)),React.createElement(Q.RichText.Content,{tagName:"p",className:"eb-testimonial-description",value:c}))))}}];(0,EBControls.ebConditionalRegisterBlockType)(fD,{icon:JM,attributes:AM,keywords:[(0,Y.__)("testimonial","essential-blocks"),(0,Y.__)("about","essential-blocks"),(0,Y.__)("eb quote","essential-blocks")],edit:function(e){var t=e.attributes,a=e.setAttributes,n=(e.className,e.clientId,e.isSelected),o=(e.name,t.resOption,t.blockId),r=(t.blockMeta,t.imageId),c=t.imageUrl,l=t.userName,i=t.companyName,s=t.description,b=t.enableQuote,p=t.classHook,u=t.layoutPreset,d=t.showRating,m=t.rating,g=t.ratingIndivisual,f=t.showBlockContent,y=function(e,t,a){return void 0===e?"":e.replace(new RegExp(t,"g"),a)};t.className=y(t.className,"eb-testimonial-wrapper",""),t.className=y(t.className,o,"");var v=bD(bD({},e),{},{blockPrefix:"eb-testimonial",style:React.createElement(rD,e)});return React.createElement(React.Fragment,null,n&&f&&React.createElement(YM,{attributes:t,setAttributes:a}),React.createElement(dD.Edit,v,React.createElement(mD,iD({},e,{Icon:JM,title:"Testimonial",description:"Choose a template for the Testimonial or start blank.",patterns:QM})),f&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(o," ").concat(p)},React.createElement("div",{className:"eb-testimonial-wrapper ".concat(o," ").concat(u),"data-id":o},React.createElement("div",{className:"eb-testimonial-container"},React.createElement("div",{className:"eb-avatar-container"},React.createElement("div",{className:"image-container"},React.createElement("div",{className:"eb-avatar-style"}),React.createElement(Q.MediaUpload,{onSelect:function(e){return a({imageUrl:e.url,imageId:e.id})},type:"image",value:r,render:function(e){var t=e.open;return!c&&React.createElement(X.Button,{className:"eb-testimonial-image components-button",label:(0,Y.__)("Upload Image","essential-blocks"),icon:"format-image",onClick:t})}})),"layout-preset-3"!==u&&React.createElement("div",{className:"eb-userinfo-container"},React.createElement(Q.RichText,{tagName:"p",className:"eb-testimonial-username",value:l,onChange:function(e){return a({userName:e})}}),React.createElement(Q.RichText,{tagName:"p",className:"eb-testimonial-company",value:i,onChange:function(e){return a({companyName:e})}}),d&&!g&&0!=m&&React.createElement("div",{className:"eb-testimonial-rating rating-".concat(m)},React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"})))),React.createElement("div",{className:"eb-description-container"},b&&React.createElement("div",{className:"eb-testimonial-quote-style"},React.createElement(cD,null)),React.createElement(Q.RichText,{tagName:"p",className:"eb-testimonial-description",value:s,onChange:function(e){return a({description:e})}}),d&&g&&0!=m&&React.createElement("div",{className:"eb-testimonial-rating rating-".concat(m)},React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}))),"layout-preset-3"==u&&React.createElement("div",{className:"eb-userinfo-container"},React.createElement(Q.RichText,{tagName:"p",className:"eb-testimonial-username",value:l,onChange:function(e){return a({userName:e})}}),React.createElement(Q.RichText,{tagName:"p",className:"eb-testimonial-company",value:i,onChange:function(e){return a({companyName:e})}}),d&&!g&&0!=m&&React.createElement("div",{className:"eb-testimonial-rating rating-".concat(m)},React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"})))))))))},save:function(e){var t,a,n=e.attributes,o=n.blockId,r=n.avatarInline,c=n.userName,l=n.companyName,i=n.description,s=n.enableQuote,b=n.classHook,p=n.layoutPreset,u=n.showRating,d=n.rating,m=n.ratingIndivisual,g=n.imageUrl;if(n.showBlockContent)return n.className=(t=n.className,a="eb-testimonial-wrapper "+o,t?t.replace(new RegExp(a,"g"),""):"").trim(),React.createElement(gD.Save,{attributes:n},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(o," ").concat(b)},React.createElement("div",{className:"eb-testimonial-wrapper ".concat(o," ").concat(p),"data-id":o},React.createElement("div",{className:"eb-testimonial-container"},React.createElement("div",{className:"eb-avatar-container ".concat(r?"avatar-inline":"avatar-basic"," ")},g&&React.createElement("div",{className:"image-container"},React.createElement("div",{className:"eb-avatar-style"})),"layout-preset-3"!==p&&React.createElement("div",{className:"eb-userinfo-container"},React.createElement(Q.RichText.Content,{tagName:"p",className:"eb-testimonial-username",value:c}),React.createElement(Q.RichText.Content,{tagName:"p",className:"eb-testimonial-company",value:l}),u&&!m&&0!=d&&React.createElement("div",{className:"eb-testimonial-rating rating-".concat(d)},React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"})))),React.createElement("div",{className:"eb-description-container"},s&&React.createElement("div",{className:"eb-testimonial-quote-style"},React.createElement(cD,null)),React.createElement(Q.RichText.Content,{tagName:"p",className:"eb-testimonial-description",value:i}),u&&m&&0!=d&&React.createElement("div",{className:"eb-testimonial-rating rating-".concat(d)},React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}))),"layout-preset-3"==p&&React.createElement("div",{className:"eb-userinfo-container"},React.createElement(Q.RichText.Content,{tagName:"p",className:"eb-testimonial-username",value:c}),React.createElement(Q.RichText.Content,{tagName:"p",className:"eb-testimonial-company",value:l}),u&&!m&&0!=d&&React.createElement("div",{className:"eb-testimonial-rating rating-".concat(d)},React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"})))))))},example:vD,deprecated:ED});var CD=[["essential-blocks/wrapper",{}],["essential-blocks/wrapper",{}]],xD=[{label:(0,Y.__)("Primary","essential-blocks"),value:"primary"},{label:(0,Y.__)("Secondary","essential-blocks"),value:"secondary"}],SD=[{label:(0,Y.__)("Rectangle","essential-blocks"),value:"rectangle"},{label:(0,Y.__)("Rounded","essential-blocks"),value:"rounded"},{label:(0,Y.__)("Toggle","essential-blocks"),value:"toggle"}],BD=[{label:(0,Y.__)("None","essential-blocks"),value:"none"},{label:(0,Y.__)("Circle","essential-blocks"),value:"circle"},{label:(0,Y.__)("Diamond","essential-blocks"),value:"diamond"}],TD=[{label:(0,Y.__)("Small","essential-blocks"),value:"s"},{label:(0,Y.__)("Medium","essential-blocks"),value:"m"},{label:(0,Y.__)("Large","essential-blocks"),value:"l"},{label:(0,Y.__)("Extra Large","essential-blocks"),value:"xl"}],ND=((0,Y.__)("Left","essential-blocks"),(0,Y.__)("Center","essential-blocks"),(0,Y.__)("Right","essential-blocks"),[{label:(0,Y.__)("None","essential-blocks"),value:"none"},{label:(0,Y.__)("Dashed","essential-blocks"),value:"dashed"},{label:(0,Y.__)("Solid","essential-blocks"),value:"solid"},{label:(0,Y.__)("Dotted","essential-blocks"),value:"dotted"},{label:(0,Y.__)("Double","essential-blocks"),value:"double"},{label:(0,Y.__)("Groove","essential-blocks"),value:"groove"},{label:(0,Y.__)("Inset","essential-blocks"),value:"inset"},{label:(0,Y.__)("Outset","essential-blocks"),value:"outset"},{label:(0,Y.__)("Ridge","essential-blocks"),value:"ridge"}]),PD=((0,Y.__)("Solid","essential-blocks"),(0,Y.__)("Gradient","essential-blocks"),(0,Y.__)("None","essential-blocks"),(0,Y.__)("Lowercase","essential-blocks"),(0,Y.__)("Capitalize","essential-blocks"),(0,Y.__)("Uppercase","essential-blocks"),(0,Y.__)("Initial","essential-blocks"),(0,Y.__)("Overline","essential-blocks"),(0,Y.__)("Line Through","essential-blocks"),(0,Y.__)("Underline","essential-blocks"),(0,Y.__)("Underline Oveline","essential-blocks"),"#3074ff"),OD="#0f52ba",MD="btnW_",DD="btnH_",jD="hSpc_",ID="WrpBg_",AD="wrpBdSd_",LD="tglC_",FD="wrpMrg_",HD="wrpPad_";function zD(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}var qD=window.EBControls,UD=qD.softMinifyCssStrings,VD=qD.generateDimensionsControlStyles,WD=qD.generateBackgroundControlStyles,GD=qD.generateResponsiveRangeStyles,ZD=qD.generateBorderShadowStyles,YD=qD.generateTypographyStyles,JD=qD.StyleComponent;function QD(e){var t,a,n=e.attributes,o=e.setAttributes,r=e.name,c=(n.resOption,n.blockId),l=(n.blockMeta,n.classHook,n.switchStyle),i=n.seperatorType,s=n.alignment,b=n.activeColor,p=n.activeBg,u=n.primaryLabelColor,d=n.secondaryLabelColor,m=n.labelSpace,g=n.labelSpaceUnit,f=n.backgroundType,y=n.backgroundColor,v=n.backgroundGradient,h=n.controllerType,w=n.controllerColor,k=n.controllerGradient,R=n.borderStyle,_=n.borderWidth,E=n.borderColor,C=n.borderRadius,x=n.shadowColor,S=n.hOffset,B=n.vOffset,T=n.blur,N=n.spread,P=n.inset,O=n.initialContent,M=n.switchSize,D=n["".concat(LD,"FontSize")],j=n["".concat(LD,"SizeUnit")],I=(t=(0,J.useState)("primary"===O),a=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,r,c,l=[],i=!0,s=!1;try{if(r=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;i=!1}else for(;!(i=(n=r.call(a)).done)&&(l.push(n.value),l.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{if(!i&&null!=a.return&&(c=a.return(),Object(c)!==c))return}finally{if(s)throw o}}return l}}(t,a)||function(e,t){if(e){if("string"==typeof e)return zD(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?zD(e,t):void 0}}(t,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),A=I[0],L=(I[1],YD({attributes:n,prefixConstant:LD})),F=L.typoStylesDesktop,H=L.typoStylesTab,z=L.typoStylesMobile,q=GD({controlName:DD,customUnit:"px",property:"height",attributes:n}),U=q.rangeStylesDesktop,V=q.rangeStylesTab,W=q.rangeStylesMobile,G=GD({controlName:MD,property:"width",attributes:n}),Z=G.rangeStylesDesktop,Y=G.rangeStylesTab,Q=G.rangeStylesMobile,X=GD({controlName:jD,property:"margin-bottom",attributes:n}),$=X.rangeStylesDesktop,K=X.rangeStylesTab,ee=X.rangeStylesMobile,te=VD({attributes:n,controlName:FD,styleFor:"margin"}),ae=te.dimensionStylesDesktop,ne=te.dimensionStylesTab,oe=te.dimensionStylesMobile,re=VD({attributes:n,controlName:HD,styleFor:"padding"}),ce=re.dimensionStylesDesktop,le=re.dimensionStylesTab,ie=re.dimensionStylesMobile,se=WD({attributes:n,controlName:ID}),be=se.backgroundStylesDesktop,pe=se.hoverBackgroundStylesDesktop,ue=se.backgroundStylesTab,de=se.hoverBackgroundStylesTab,me=se.backgroundStylesMobile,ge=se.hoverBackgroundStylesMobile,fe=se.overlayStylesDesktop,ye=se.hoverOverlayStylesDesktop,ve=se.overlayStylesTab,he=se.hoverOverlayStylesTab,we=se.overlayStylesMobile,ke=se.hoverOverlayStylesMobile,Re=se.bgTransitionStyle,_e=se.ovlTransitionStyle,Ee=ZD({controlName:AD,attributes:n}),Ce=Ee.styesDesktop,xe=Ee.styesTab,Se=Ee.styesMobile,Be=Ee.stylesHoverDesktop,Te=Ee.stylesHoverTab,Ne=Ee.stylesHoverMobile,Pe=Ee.transitionStyle,Oe="\n\t.".concat(c,".eb-toggle-wrapper{\n\t\t").concat(ae,"\n\t\t").concat(ce,"\n\t\t").concat(be,"\n\t\t").concat(Ce,"\n\t\ttransition: all 0.5s, ").concat(Re,", ").concat(Pe,";\n\t}\n\n\t.").concat(c,".eb-toggle-wrapper:hover{\n\t\t").concat(pe,"\n\t\t").concat(Be,"\n\t}\n\n\t.").concat(c,".eb-toggle-wrapper:before{\n\t\t").concat(fe,"\n\t\ttransition: all 0.5s, ").concat(_e,";\n\t}\n\n\t.").concat(c,".eb-toggle-wrapper:hover:before{\n\t\t").concat(ye,"\n\t}\n\n\t.").concat(c,".eb-toggle-wrapper .eb-toggle-secondary-label-text,\n\t.").concat(c,".eb-toggle-wrapper .eb-toggle-secondary-label,\n\t.").concat(c,".eb-toggle-wrapper .eb-toggle-primary-label-text,\n\t.").concat(c,".eb-toggle-wrapper .eb-toggle-primary-label\n\t{\n\t\tz-index:2;\n\t}\n\n\n\t.").concat(c,".eb-toggle-wrapper .eb-text-switch-toggle{\n\t\tz-index:0;\n\t}\n\n\t").concat("toggle"===l?"\n\t\t\t.".concat(c,".eb-toggle-wrapper .eb-text-switch-content{\n\t\t\t\t").concat(Z,"\n\t\t\t}\n\t\t\t"):"","\n\n\t.").concat(c,".eb-toggle-wrapper .eb-text-switch-toggle,\n\t.").concat(c,'.eb-toggle-wrapper .eb-toggle-controller\n\t{\n\t\tposition:absolute;\n\t\tcontent:"";\n\t\tz-index:1;\n\t\tbackground-color: ').concat(w||"white",";\n\t\tbackground-image:").concat("gradient"===h?k:"none",";\n\t\ttransition:0.4s;\n\t}\n\n\t.").concat(c,".eb-toggle-wrapper .eb-toggle-heading{\n\t\ttext-align: ").concat(s||"center",";\n\t\t").concat(F,"\n\t\t").concat($,"\n\t}\n\n\t.").concat(c,".eb-toggle-wrapper .eb-text-switch-label,\n\t.").concat(c,".eb-toggle-wrapper .eb-toggle-slider{\n\t\t").concat("toggle"===l?"".concat(U):"","\n\t\tbackground-color:").concat(y||PD,";\n\t\tbackground-image:").concat("gradient"===f?v:"none",";\n\t\t").concat("rounded"===l?"border-radius:21px;":"","\n\t\tborder: ").concat(_||0,"px ").concat(R||"none"," ").concat(E||"#00000000",";\n\t\tbox-shadow: ").concat(S||0,"px ").concat(B||0,"px ").concat(T||0,"px ").concat(N||0,"px ").concat(x||"#00000000"," ").concat(P?"inset":"",";\n\n\t}\n\n\t.").concat(c,".eb-toggle-wrapper .eb-toggle-switch{\n\t\tmargin: 0 ").concat(m||10).concat(g||px,";\n\t\t").concat("text"===l?"display:none":"","\n\t}\n\n\t").concat("text"===l?"\n\t\t\t.".concat(c,".eb-toggle-wrapper .eb-toggle-primary-label-text,\n\t\t\t.").concat(c,".eb-toggle-wrapper .eb-toggle-primary-label\n\t\t\t{\n\t\t\t\t").concat("none"!==i?"margin:0 -10px 0 10px;":"","\n\t\t\t\tpadding:10px 20px;\n\t\t\t\tborder:").concat(_||0,"px ").concat(R||"none"," ").concat(E||"#00000000",";\n\t\t\t\tborder-right:none;\n\t\t\t\tborder-top-left-radius: ").concat(C||0,"px;\n\t\t\t\tborder-bottom-left-radius: ").concat(C||0,"px;\n\t\t\t}\n\n\n\t\t\t.").concat(c,".eb-toggle-wrapper .eb-toggle-secondary-label-text,\n\t\t\t.").concat(c,".eb-toggle-wrapper .eb-toggle-secondary-label\n\t\t\t{\n\t\t\t\t").concat("none"!==i?"margin:0 10px 0 -10px;":"","\n\t\t\t\tpadding:10px 20px;\n\t\t\t\tborder:").concat(_||0,"px ").concat(R||"none"," ").concat(E||"#00000000",";\n\t\t\t\tborder-left:none;\n\t\t\t\tborder-top-right-radius: ").concat(C||0,"px;\n\t\t\t\tborder-bottom-right-radius: ").concat(C||0,"px;\n\t\t\t}\n\t\t\t"):"","\n\n\t.").concat(c,".eb-toggle-wrapper .eb-toggle-seperator{\n\t\tdisplay: ").concat("text"===l?"inline-block":"none",";\n\t}\n\n\t.").concat(c,".eb-toggle-wrapper .eb-switch-names{\n\t\t").concat(D?"font-size:".concat(D).concat(j||"px",";"):"","\n\t}\n\n\t"),Me="\n\t.".concat(c,".eb-toggle-wrapper{\n\t\t").concat(ne,"\n\t\t").concat(le,"\n\t\t").concat(ue,"\n\t\t").concat(xe,"\n\t}\n\n\t.").concat(c,".eb-toggle-wrapper:hover{\n\t\t").concat(de,"\n\t\t").concat(Te,"\n\t}\n\n\t.").concat(c,".eb-toggle-wrapper:before{\n\t\t").concat(ve,"\n\t}\n\n\t.").concat(c,".eb-toggle-wrapper:hover:before{\n\t\t").concat(he,"\n\t}\n\n\t.").concat(c,".eb-toggle-wrapper .eb-toggle-heading{\n\t\t").concat(H,"\n\t\t").concat(K,"\n\t}\n\n\t").concat("toggle"===l?"\n\t\t\t.".concat(c,".eb-toggle-wrapper .eb-text-switch-content{\n\t\t\t\t").concat(Y,"\n\t\t\t}\n\n\t\t\t.").concat(c,".eb-toggle-wrapper .eb-text-switch-label,\n\t\t\t.").concat(c,".eb-toggle-wrapper .eb-toggle-slider{\n\t\t\t\t").concat(V,"\n\t\t\t}\n\t\t\t"):"","\n\n\n\t"),De="\n\t.".concat(c,".eb-toggle-wrapper{\n\t\t").concat(oe,"\n\t\t").concat(ie,"\n\t\t").concat(me,"\n\t\t").concat(Se,"\n\t}\n\n\t.").concat(c,".eb-toggle-wrapper:hover{\n\t\t").concat(ge,"\n\t\t").concat(Ne,"\n\t}\n\n\t.").concat(c,".eb-toggle-wrapper:before{\n\t\t").concat(we,"\n\t}\n\n\t.").concat(c,".eb-toggle-wrapper:hover:before{\n\t\t").concat(ke,"\n\t}\n\n\t.").concat(c,".eb-toggle-wrapper .eb-toggle-heading{\n\t\t").concat(z,"\n\t\t").concat(ee,"\n\t}\n\n\t").concat("toggle"===l?"\n\t\t\t.".concat(c,".eb-toggle-wrapper .eb-text-switch-content{\n\t\t\t\t").concat(Q,"\n\t\t\t}\n\n\t\t\t.").concat(c,".eb-toggle-wrapper .eb-text-switch-label,\n\t\t\t.").concat(c,".eb-toggle-wrapper .eb-toggle-slider{\n\t\t\t\t").concat(W,"\n\t\t\t}\n\t\t\t"):"","\n\n\t"),je=UD("\n\t\t".concat(Oe,"\n\n\n\t")),Ie=UD("\n\t\t".concat(Me,"\n\n\n\t")),Ae=UD("\n\t\t".concat(De,"\n\n\n\t"));return React.createElement(React.Fragment,null,React.createElement("style",null,"\n\t\t\t\t\t.eb-toggle-content .block-editor-block-list__layout > p:nth-child(2) > span {\n\t\t\t\t\t\topacity: 1 !important;\n\t\t\t\t\t}\n\t\t\t\t\t".concat(A?"":"\n\t\t\t\t\t\t\t.".concat(c,".eb-toggle-wrapper .eb-text-switch-toggle{\n\t\t\t\t\t\t\t\tmargin-left: 50%;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t"),"\n\n\t\t\t\t\t").concat("toggle"!==l?"\n\t\t\t\t\t\t.".concat(c,".eb-toggle-wrapper .eb-text-switch-toggle,\n\t\t\t\t\t\t.").concat(c,".eb-toggle-wrapper .eb-toggle-controller{\n\t\t\t\t\t\t\ttransform: ").concat(function(){if(A)return"translateX(0px)";switch(M){case"s":return"translateX(22px)";case"m":return"translateX(26px)";case"l":return"translateX(36px)";case"xl":return"translateX(42px)"}}(),";\n\t\t\t\t\t\t\tborder-radius: ").concat(function(){if("rectangle"===l)return"0px";switch(M){case"s":return"10px";case"m":return"13px";case"l":return"16px";case"xl":return"21px"}}(),";\n\t\t\t\t\t\t}\n\t\t\t\t\t\t"):"","\n\n\n\t\t\t\t\t.").concat(c,".eb-toggle-wrapper .eb-toggle-primary-label-text,\n\t\t\t\t\t.").concat(c,".eb-toggle-wrapper .eb-toggle-primary-label\n\t\t\t\t\t{\n\t\t\t\t\t\tcolor: ").concat(A?b||u||"inherit":u||"inherit",";\n\t\t\t\t\t\t").concat("text"===l?"background: ".concat(A?p||OD:y||PD,";"):"","\n\t\t\t\t\t}\n\n\n\t\t\t\t\t.").concat(c,".eb-toggle-wrapper .eb-toggle-secondary-label-text,\n\t\t\t\t\t.").concat(c,".eb-toggle-wrapper .eb-toggle-secondary-label\n\t\t\t\t\t{\n\t\t\t\t\t\tcolor: ").concat(A?d||"inherit":b||d||"inherit",";\n\t\t\t\t\t\t").concat("text"===l?"background: ".concat(A?y||PD:p||OD,";"):"","\n\t\t\t\t\t}\n\n\n\t\t\t\t\t.").concat(c,".eb-toggle-wrapper .eb-toggle-seperator{\n\t\t\t\t\t\tbackground:").concat(y||PD,";\n\t\t\t\t\t}\n\n\t\t\t\t")),React.createElement(JD,{attributes:n,setAttributes:o,desktopAllStyles:je,tabAllStyles:Ie,mobileAllStyles:Ae,blockName:r}))}function XD(e){return XD="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},XD(e)}function $D(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function KD(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?$D(Object(a),!0).forEach((function(t){ej(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):$D(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function ej(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=XD(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=XD(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==XD(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var tj=window.EBControls,aj=tj.generateTypographyAttributes,nj=tj.generateDimensionsAttributes,oj=tj.generateBackgroundAttributes,rj=tj.generateBorderShadowAttributes,cj=tj.generateResponsiveRangeAttributes;const lj=KD(KD(KD(KD(KD(KD(KD(KD({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},id:{type:"string"},initialContent:{type:"string",default:"primary"},switchStyle:{type:"string",default:"rounded"},alignment:{type:"string",default:"center"},switchSize:{type:"string",default:"m"},switchSizeUnit:{type:"string",default:"px"},seperatorType:{type:"string",default:"none"},activeColor:{type:"string",default:"var(--eb-global-heading-color)"},labelSpace:{type:"number"},labelSpaceUnit:{type:"string",default:"px"},backgroundType:{type:"string",default:"solid"},backgroundColor:{type:"string",default:"var(--eb-global-primary-color)"},backgroundGradient:{type:"string",default:"linear-gradient(45deg,#00F260,#0575E6)"},controllerType:{type:"string",default:"solid"},controllerColor:{type:"string",default:"var(--eb-global-background-color)"},controllerGradient:{type:"string"},borderStyle:{type:"string"},borderWidth:{type:"number"},borderColor:{type:"string"},borderRadius:{type:"number"},primaryLabelText:{type:"string"},secondaryLabelText:{type:"string"},primaryLabelColor:{type:"string",default:"var(--eb-global-text-color)"},secondaryLabelColor:{type:"string",default:"var(--eb-global-text-color)"},activeBg:{type:"string"},shadowColor:{type:"string"},hOffset:{type:"number"},vOffset:{type:"number"},blur:{type:"number"},spread:{type:"number"},inset:{type:"boolean",default:!1}},aj(Object.values(E))),nj(FD)),nj(HD)),rj(AD,{})),oj(ID,{defaultBgGradient:"linear-gradient(45deg,#7967ff,#c277f2)"})),cj(MD,{defaultUnit:"%"})),cj(DD,{noUnits:!0})),cj(jD,{}));var ij=window.EBControls,sj=ij.UnitControl,bj=ij.GradientColorControl,pj=ij.ColorControl,uj=ij.ResetControl,dj=ij.TypographyDropdown,mj=ij.ResponsiveDimensionsControl,gj=ij.ResponsiveRangeController,fj=ij.BorderShadowControl,yj=ij.BackgroundControl,vj=ij.AdvancedControls;const hj=function(e){var t=e.attributes,a=e.setAttributes,n=t.resOption,o=t.initialContent,r=t.switchStyle,c=t.switchSize,l=(t.buttonHeight,t.buttonWidth,t.seperatorType),i=t.activeColor,s=t.activeBg,b=t.primaryLabelColor,p=t.secondaryLabelColor,u=(t.headingSpace,t.headingSpaceUnit,t.labelSpace),d=t.labelSpaceUnit,m=t.backgroundType,g=t.backgroundColor,f=t.backgroundGradient,y=t.controllerType,v=t.controllerColor,h=t.controllerGradient,w=t.borderStyle,k=t.borderWidth,R=t.borderColor,_=t.borderRadius,E=t.shadowColor,C=t.hOffset,x=t.vOffset,S=t.blur,B=t.spread,T=t.inset,N={setAttributes:a,resOption:n,attributes:t,objAttributes:lj};return React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("span",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:"General",className:"eb-tab general"},{name:"styles",title:"Style",className:"eb-tab styles"},{name:"advance",title:"Advanced",className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls"+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,null,React.createElement(X.RadioControl,{label:(0,Y.__)("Initial Content","essential-blocks"),selected:o,onChange:function(e){return a({initialContent:e})},options:xD}),React.createElement(X.SelectControl,{label:(0,Y.__)("Switch Type","essential-blocks"),value:r,onChange:function(e){return a({switchStyle:e})},options:SD}),("rounded"===r||"reactangle"===r)&&React.createElement(X.SelectControl,{label:(0,Y.__)("Switch Size","essential-blocks"),value:c,options:TD,onChange:function(e){return a({switchSize:e})}}),"toggle"===r&&React.createElement(React.Fragment,null,React.createElement(gj,{noUnits:!0,baseLabel:(0,Y.__)("Button Height","essential-blocks"),controlName:DD,resRequiredProps:N,min:10,max:200,step:1}),React.createElement(gj,{baseLabel:(0,Y.__)("Button Width","essential-blocks"),controlName:MD,resRequiredProps:N,min:10,max:100,step:1})),"text"===r&&React.createElement(X.SelectControl,{label:(0,Y.__)("Sepetator Type","essential-blocks"),value:l,options:BD,onChange:function(e){return a({seperatorType:e})}}),React.createElement(gj,{baseLabel:(0,Y.__)("Heading Space","essential-blocks"),controlName:jD,resRequiredProps:N,min:10,max:100,step:1}),("rectangle"===r||"rounded"===r)&&React.createElement(React.Fragment,null,React.createElement(sj,{selectedUnit:d,unitTypes:[{label:"px",value:"px"},{label:"%",value:"%"}],onClick:function(e){return a({labelSpaceUnit:e})}}),React.createElement(X.RangeControl,{label:(0,Y.__)("Label Space","essential-blocks"),value:u,onChange:function(e){return a({labelSpace:e})}})),React.createElement(dj,{baseLabel:"Typography",typographyPrefixConstant:LD,resRequiredProps:N}))),"styles"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("".concat("text"===r?"Colors":"Label Colors"),"essential-blocks"),initialOpen:!0},React.createElement(pj,{label:(0,Y.__)("Primary Text","essential-blocks"),color:b,onChange:function(e){return a({primaryLabelColor:e})}}),React.createElement(pj,{label:(0,Y.__)("Secondary Text","essential-blocks"),color:p,onChange:function(e){return a({secondaryLabelColor:e})}}),React.createElement(pj,{label:(0,Y.__)("Active Text Color","essential-blocks"),color:i,onChange:function(e){return a({activeColor:e})}}),"text"===r&&React.createElement(React.Fragment,null,React.createElement(pj,{label:(0,Y.__)("Background","essential-blocks"),color:g,onChange:function(e){return a({backgroundColor:e})}}),React.createElement(pj,{label:(0,Y.__)("Active Background","essential-blocks"),color:s,onChange:function(e){return a({activeBg:e})}}))),"text"!==r&&React.createElement(X.PanelBody,{title:(0,Y.__)("Switch Background","essential-blocks"),initialOpen:!1},React.createElement(X.ToggleControl,{label:(0,Y.__)("Gradient Background","essential-blocks"),checked:"gradient"===m,onChange:function(){return a({backgroundType:"solid"===m?"gradient":"solid"})}}),"solid"===m&&React.createElement(pj,{label:(0,Y.__)("Background Color","essential-blocks"),color:g,onChange:function(e){return a({backgroundColor:e})}}),"gradient"===m&&React.createElement(X.PanelBody,{title:(0,Y.__)("Background Gradient","essential-blocks")},React.createElement(bj,{gradientColor:f||"linear-gradient(45deg,#eef2f3,#8e92ab)",onChange:function(e){return a({backgroundGradient:e})}}))),"text"!==r&&React.createElement(X.PanelBody,{title:(0,Y.__)("Controller Background","essential-blocks"),initialOpen:!1},React.createElement(X.ToggleControl,{label:(0,Y.__)("Gradient Controller","essential-blocks"),checked:"gradient"===y,onChange:function(){return a({controllerType:"solid"===y?"gradient":"solid"})}}),"solid"===y&&React.createElement(pj,{label:(0,Y.__)("Controller Color","essential-blocks"),color:v,onChange:function(e){return a({controllerColor:e})}}),"gradient"===y&&React.createElement(X.PanelBody,{title:(0,Y.__)("Controller Gradient","essential-blocks")},React.createElement(bj,{gradientColor:h||"linear-gradient(45deg,#eef2f3,#8e92ab)",onChange:function(e){return a({controllerGradient:e})}}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Border","essential-blocks"),initialOpen:!1},React.createElement(X.SelectControl,{label:(0,Y.__)("Border Style","essential-blocks"),value:w,options:ND,onChange:function(e){return a({borderStyle:e})}}),React.createElement(pj,{label:(0,Y.__)("Border Color","essential-blocks"),color:R,onChange:function(e){return a({borderColor:e})}}),React.createElement(X.RangeControl,{label:(0,Y.__)("Border Width","essential-blocks"),value:k,onChange:function(e){return a({borderWidth:e})},min:0,max:17}),"text"===r&&React.createElement(X.RangeControl,{label:(0,Y.__)("Border Radius","essential-blocks"),value:_,onChange:function(e){return a({borderRadius:e})},min:0,max:100})),"text"!==r&&React.createElement(X.PanelBody,{title:(0,Y.__)("Shadow","essential-blocks"),initialOpen:!1},React.createElement(pj,{label:(0,Y.__)("Shadow Color","essential-blocks"),color:E,onChange:function(e){return a({shadowColor:e})}}),React.createElement(uj,{onReset:function(){return a({hOffset:void 0})}},React.createElement(X.RangeControl,{label:(0,Y.__)("Horizontal Offset","essential-blocks"),value:C,onChange:function(e){return a({hOffset:e})},min:0,max:10})),React.createElement(uj,{onReset:function(){return a({vOffset:void 0})}},React.createElement(X.RangeControl,{label:(0,Y.__)("Vertical Offset","essential-blocks"),value:x,onChange:function(e){return a({vOffset:e})},min:0,max:10})),React.createElement(uj,{onReset:function(){return a({blur:void 0})}},React.createElement(X.RangeControl,{label:(0,Y.__)("Blur","essential-blocks"),value:S,onChange:function(e){return a({blur:e})},min:0,max:10})),React.createElement(uj,{onReset:function(){return a({spread:void 0})}},React.createElement(X.RangeControl,{label:(0,Y.__)(" Spread","essential-blocks"),value:B,onChange:function(e){return a({spread:e})},min:0,max:10})),React.createElement(X.ToggleControl,{label:(0,Y.__)("Inset","essential-blocks"),checked:T,onChange:function(){return a({inset:!T})}}))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Margin & Padding")},React.createElement(mj,{resRequiredProps:N,controlName:FD,baseLabel:"Margin"}),React.createElement(mj,{resRequiredProps:N,controlName:HD,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Background ","essential-blocks"),initialOpen:!1},React.createElement(yj,{controlName:ID,resRequiredProps:N})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(fj,{controlName:AD,resRequiredProps:N})),React.createElement(vj,{attributes:t,setAttributes:a})))}))))};function wj(e){return wj="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},wj(e)}function kj(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Rj(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?kj(Object(a),!0).forEach((function(t){_j(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):kj(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function _j(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=wj(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=wj(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==wj(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function Ej(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,r,c,l=[],i=!0,s=!1;try{if(r=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;i=!1}else for(;!(i=(n=r.call(a)).done)&&(l.push(n.value),l.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{if(!i&&null!=a.return&&(c=a.return(),Object(c)!==c))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Cj(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?Cj(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Cj(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}var xj=window.EBControls,Sj=(xj.duplicateBlockIdFix,xj.BlockProps);function Bj(e){return Bj="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Bj(e)}function Tj(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Nj(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Tj(Object(a),!0).forEach((function(t){Pj(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Tj(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Pj(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=Bj(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=Bj(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Bj(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var Oj=window.EBControls.BlockProps;function Mj(e){return Mj="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Mj(e)}function Dj(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function jj(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Dj(Object(a),!0).forEach((function(t){Ij(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Dj(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Ij(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=Mj(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=Mj(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Mj(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const Aj=[{attributes:jj({},lj),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.id,o=t.initialContent,r=t.switchStyle,c=t.switchSize,l=t.seperatorType,i=t.activeColor,s=t.activeBg,b=t.primaryLabelText,p=void 0===b?"First":b,u=t.secondaryLabelText,d=void 0===u?"Second":u,m=t.alignment,g=t.primaryLabelColor,f=t.secondaryLabelColor,y=t.backgroundType,v=t.backgroundColor,h=t.backgroundGradient,w=t.classHook;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(w)},React.createElement("div",{className:"".concat(a," eb-toggle-wrapper"),"data-init-content":o,"data-size":c,"data-switch-style":r,"data-bg-type":y,"data-bg-color":v,"data-bg-gradient":h||"none","data-primary-color":g||"inherit","data-secondary-color":f||"inherit","data-active-color":i||"inherit","data-active-bg":s},React.createElement("div",{className:"eb-toggle-heading",style:{display:"toggle"===r?"block":"none"}},React.createElement("input",{type:"checkbox",className:"eb-text-switch-checkbox",id:"eb-".concat(n),style:{display:"none"}}),React.createElement("div",{className:"eb-text-switch-wrapper"},React.createElement("div",{className:"eb-text-switch-content",style:jj({},function(){switch(m){case"center":return{marginLeft:"auto",marginRight:"auto"};case"right":return{marginLeft:"auto",marginRight:"0px"};case"left":return{marginLeft:"0px",marginRight:"auto"}}return{marginLeft:"auto",marginRight:"auto"}}())},React.createElement("label",{className:"eb-text-switch-label",for:"eb-".concat(n)},React.createElement("div",{className:"eb-text-switch-toggle"}),React.createElement("div",{className:"eb-switch-names"},React.createElement(Q.RichText.Content,{tagName:"span",className:"eb-toggle-primary-label-text",value:p}),React.createElement(Q.RichText.Content,{tagName:"span",className:"eb-toggle-secondary-label-text",value:d})))))),React.createElement("div",{className:"eb-toggle-heading",style:{display:"toggle"!==r?"block":"none"}},React.createElement(Q.RichText.Content,{tagName:"span",className:"eb-toggle-primary-label",value:p}),React.createElement("label",{className:"eb-toggle-switch toggle-".concat(c)},React.createElement("input",{className:"eb-toggle-input",type:"checkbox"}),React.createElement("span",{className:"eb-toggle-controller"}),React.createElement("span",{className:"eb-toggle-slider"})),React.createElement("span",{className:"eb-toggle-".concat(l," eb-toggle-seperator")}),React.createElement(Q.RichText.Content,{tagName:"span",className:"eb-toggle-secondary-label",value:d})),React.createElement("div",{className:"eb-toggle-content"},React.createElement(Q.InnerBlocks.Content,null)))))}},{attributes:jj({},lj),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.id,o=t.initialContent,r=t.switchStyle,c=t.switchSize,l=t.seperatorType,i=t.activeColor,s=t.activeBg,b=t.primaryLabelText,p=void 0===b?"First":b,u=t.secondaryLabelText,d=void 0===u?"Second":u,m=t.alignment,g=t.primaryLabelColor,f=t.secondaryLabelColor,y=t.backgroundType,v=t.backgroundColor,h=t.backgroundGradient;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"".concat(a," eb-toggle-wrapper"),"data-init-content":o,"data-size":c,"data-switch-style":r,"data-bg-type":y,"data-bg-color":v,"data-bg-gradient":h||"none","data-primary-color":g||"inherit","data-secondary-color":f||"inherit","data-active-color":i||"inherit","data-active-bg":s},React.createElement("div",{className:"eb-toggle-heading",style:{display:"toggle"===r?"block":"none"}},React.createElement("input",{type:"checkbox",className:"eb-text-switch-checkbox",id:"eb-".concat(n),style:{display:"none"}}),React.createElement("div",{className:"eb-text-switch-wrapper"},React.createElement("div",{className:"eb-text-switch-content",style:jj({},function(){switch(m){case"center":return{marginLeft:"auto",marginRight:"auto"};case"right":return{marginLeft:"auto",marginRight:"0px"};case"left":return{marginLeft:"0px",marginRight:"auto"}}return{marginLeft:"auto",marginRight:"auto"}}())},React.createElement("label",{className:"eb-text-switch-label",for:"eb-".concat(n)},React.createElement("div",{className:"eb-text-switch-toggle"}),React.createElement("div",{className:"eb-switch-names"},React.createElement(Q.RichText.Content,{tagName:"span",className:"eb-toggle-primary-label-text",value:p}),React.createElement(Q.RichText.Content,{tagName:"span",className:"eb-toggle-secondary-label-text",value:d})))))),React.createElement("div",{className:"eb-toggle-heading",style:{display:"toggle"!==r?"block":"none"}},React.createElement(Q.RichText.Content,{tagName:"span",className:"eb-toggle-primary-label",value:p}),React.createElement("label",{className:"eb-toggle-switch toggle-".concat(c)},React.createElement("input",{className:"eb-toggle-input",type:"checkbox"}),React.createElement("span",{className:"eb-toggle-controller"}),React.createElement("span",{className:"eb-toggle-slider"})),React.createElement("span",{className:"eb-toggle-".concat(l," eb-toggle-seperator")}),React.createElement(Q.RichText.Content,{tagName:"span",className:"eb-toggle-secondary-label",value:d})),React.createElement("div",{className:"eb-toggle-content"},React.createElement(Q.InnerBlocks.Content,null))))}},{attributes:(0,nt.omit)(jj(jj({},lj),{},{buttonHeight:{type:"number"},buttonWidth:{type:"number"},headingSpace:{type:"number"},headingSpaceUnit:{type:"string",default:"px"}}),["MOBWrpBg_backgroundSize","MOBWrpBg_bgImgCustomSize","MOBWrpBg_bgImgCustomSizeUnit","MOBWrpBg_bgImgPos","MOBWrpBg_bgImgRepeat","MOBWrpBg_bgImgcustomPosX","MOBWrpBg_bgImgcustomPosXUnit","MOBWrpBg_bgImgcustomPosY","MOBWrpBg_bgImgcustomPosYUnit","MOBWrpBg_ovl_backgroundSize","MOBWrpBg_ovl_bgImgCustomSize","MOBWrpBg_ovl_bgImgCustomSizeUnit","MOBWrpBg_ovl_bgImgPos","MOBWrpBg_ovl_bgImgRepeat","MOBWrpBg_ovl_bgImgcustomPosX","MOBWrpBg_ovl_bgImgcustomPosXUnit","MOBWrpBg_ovl_bgImgcustomPosY","MOBWrpBg_ovl_bgImgcustomPosYUnit","MOBbtnH_Range","MOBbtnW_Range","MOBbtnW_Unit","MOBhSpc_Range","MOBhSpc_Unit","MOBwrpBdSd_Bdr_Bottom","MOBwrpBdSd_Bdr_Left","MOBwrpBdSd_Bdr_Right","MOBwrpBdSd_Bdr_Top","MOBwrpBdSd_Bdr_Unit","MOBwrpBdSd_HBdr_Bottom","MOBwrpBdSd_HBdr_Left","MOBwrpBdSd_HBdr_Right","MOBwrpBdSd_HBdr_Top","MOBwrpBdSd_HBdr_Unit","MOBwrpBdSd_HRds_Bottom","MOBwrpBdSd_HRds_Left","MOBwrpBdSd_HRds_Right","MOBwrpBdSd_HRds_Top","MOBwrpBdSd_HRds_Unit","MOBwrpBdSd_Rds_Bottom","MOBwrpBdSd_Rds_Left","MOBwrpBdSd_Rds_Right","MOBwrpBdSd_Rds_Top","MOBwrpBdSd_Rds_Unit","TABWrpBg_backgroundSize","TABWrpBg_bgImgCustomSize","TABWrpBg_bgImgCustomSizeUnit","TABWrpBg_bgImgPos","TABWrpBg_bgImgRepeat","TABWrpBg_bgImgcustomPosX","TABWrpBg_bgImgcustomPosXUnit","TABWrpBg_bgImgcustomPosY","TABWrpBg_bgImgcustomPosYUnit","TABWrpBg_ovl_backgroundSize","TABWrpBg_ovl_bgImgCustomSize","TABWrpBg_ovl_bgImgCustomSizeUnit","TABWrpBg_ovl_bgImgPos","TABWrpBg_ovl_bgImgRepeat","TABWrpBg_ovl_bgImgcustomPosX","TABWrpBg_ovl_bgImgcustomPosXUnit","TABWrpBg_ovl_bgImgcustomPosY","TABWrpBg_ovl_bgImgcustomPosYUnit","TABbtnH_Range","TABbtnW_Range","TABbtnW_Unit","TABhSpc_Range","TABhSpc_Unit","TABwrpBdSd_Bdr_Bottom","TABwrpBdSd_Bdr_Left","TABwrpBdSd_Bdr_Right","TABwrpBdSd_Bdr_Top","TABwrpBdSd_Bdr_Unit","TABwrpBdSd_HBdr_Bottom","TABwrpBdSd_HBdr_Left","TABwrpBdSd_HBdr_Right","TABwrpBdSd_HBdr_Top","TABwrpBdSd_HBdr_Unit","TABwrpBdSd_HRds_Bottom","TABwrpBdSd_HRds_Left","TABwrpBdSd_HRds_Right","TABwrpBdSd_HRds_Top","TABwrpBdSd_HRds_Unit","TABwrpBdSd_Rds_Bottom","TABwrpBdSd_Rds_Left","TABwrpBdSd_Rds_Right","TABwrpBdSd_Rds_Top","TABwrpBdSd_Rds_Unit","WrpBg_backgroundColor","WrpBg_backgroundSize","WrpBg_backgroundType","WrpBg_bgImageID","WrpBg_bgImageURL","WrpBg_bgImgAttachment","WrpBg_bgImgCustomSize","WrpBg_bgImgCustomSizeUnit","WrpBg_bgImgPos","WrpBg_bgImgRepeat","WrpBg_bgImgcustomPosX","WrpBg_bgImgcustomPosXUnit","WrpBg_bgImgcustomPosY","WrpBg_bgImgcustomPosYUnit","WrpBg_bg_hoverType","WrpBg_bg_transition","WrpBg_gradientColor","WrpBg_isBgOverlay","WrpBg_overlayColor","WrpBg_overlayGradient","WrpBg_overlayType","WrpBg_ovl_allowFilters","WrpBg_ovl_backgroundSize","WrpBg_ovl_bgImageID","WrpBg_ovl_bgImageURL","WrpBg_ovl_bgImgAttachment","WrpBg_ovl_bgImgCustomSize","WrpBg_ovl_bgImgCustomSizeUnit","WrpBg_ovl_bgImgPos","WrpBg_ovl_bgImgRepeat","WrpBg_ovl_bgImgcustomPosX","WrpBg_ovl_bgImgcustomPosXUnit","WrpBg_ovl_bgImgcustomPosY","WrpBg_ovl_bgImgcustomPosYUnit","WrpBg_ovl_bg_transition","WrpBg_ovl_blendMode","WrpBg_ovl_filtersTransition","WrpBg_ovl_fltrBlur","WrpBg_ovl_fltrBrightness","WrpBg_ovl_fltrContrast","WrpBg_ovl_fltrHue","WrpBg_ovl_fltrSaturation","WrpBg_ovl_hoverType","WrpBg_ovl_opacity","WrpBg_ovl_opacityTransition","btnH_Range","btnW_Range","btnW_Unit","hSpc_Range","hSpc_Unit","hov_MOBWrpBg_backgroundSize","hov_MOBWrpBg_bgImgCustomSize","hov_MOBWrpBg_bgImgCustomSizeUnit","hov_MOBWrpBg_bgImgPos","hov_MOBWrpBg_bgImgRepeat","hov_MOBWrpBg_bgImgcustomPosX","hov_MOBWrpBg_bgImgcustomPosXUnit","hov_MOBWrpBg_bgImgcustomPosY","hov_MOBWrpBg_bgImgcustomPosYUnit","hov_MOBWrpBg_ovl_backgroundSize","hov_MOBWrpBg_ovl_bgImgCustomSize","hov_MOBWrpBg_ovl_bgImgCustomSizeUnit","hov_MOBWrpBg_ovl_bgImgPos","hov_MOBWrpBg_ovl_bgImgRepeat","hov_MOBWrpBg_ovl_bgImgcustomPosX","hov_MOBWrpBg_ovl_bgImgcustomPosXUnit","hov_MOBWrpBg_ovl_bgImgcustomPosY","hov_MOBWrpBg_ovl_bgImgcustomPosYUnit","hov_TABWrpBg_backgroundSize","hov_TABWrpBg_bgImgCustomSize","hov_TABWrpBg_bgImgCustomSizeUnit","hov_TABWrpBg_bgImgPos","hov_TABWrpBg_bgImgRepeat","hov_TABWrpBg_bgImgcustomPosX","hov_TABWrpBg_bgImgcustomPosXUnit","hov_TABWrpBg_bgImgcustomPosY","hov_TABWrpBg_bgImgcustomPosYUnit","hov_TABWrpBg_ovl_backgroundSize","hov_TABWrpBg_ovl_bgImgCustomSize","hov_TABWrpBg_ovl_bgImgCustomSizeUnit","hov_TABWrpBg_ovl_bgImgPos","hov_TABWrpBg_ovl_bgImgRepeat","hov_TABWrpBg_ovl_bgImgcustomPosX","hov_TABWrpBg_ovl_bgImgcustomPosXUnit","hov_TABWrpBg_ovl_bgImgcustomPosY","hov_TABWrpBg_ovl_bgImgcustomPosYUnit","hov_WrpBg_backgroundColor","hov_WrpBg_backgroundSize","hov_WrpBg_backgroundType","hov_WrpBg_bgImageID","hov_WrpBg_bgImageURL","hov_WrpBg_bgImgAttachment","hov_WrpBg_bgImgCustomSize","hov_WrpBg_bgImgCustomSizeUnit","hov_WrpBg_bgImgPos","hov_WrpBg_bgImgRepeat","hov_WrpBg_bgImgcustomPosX","hov_WrpBg_bgImgcustomPosXUnit","hov_WrpBg_bgImgcustomPosY","hov_WrpBg_bgImgcustomPosYUnit","hov_WrpBg_gradientColor","hov_WrpBg_overlayColor","hov_WrpBg_overlayGradient","hov_WrpBg_overlayType","hov_WrpBg_ovl_allowFilters","hov_WrpBg_ovl_backgroundSize","hov_WrpBg_ovl_bgImageID","hov_WrpBg_ovl_bgImageURL","hov_WrpBg_ovl_bgImgAttachment","hov_WrpBg_ovl_bgImgCustomSize","hov_WrpBg_ovl_bgImgCustomSizeUnit","hov_WrpBg_ovl_bgImgPos","hov_WrpBg_ovl_bgImgRepeat","hov_WrpBg_ovl_bgImgcustomPosX","hov_WrpBg_ovl_bgImgcustomPosXUnit","hov_WrpBg_ovl_bgImgcustomPosY","hov_WrpBg_ovl_bgImgcustomPosYUnit","hov_WrpBg_ovl_blendMode","hov_WrpBg_ovl_fltrBlur","hov_WrpBg_ovl_fltrBrightness","hov_WrpBg_ovl_fltrContrast","hov_WrpBg_ovl_fltrHue","hov_WrpBg_ovl_fltrSaturation","hov_WrpBg_ovl_opacity","wrpBdSd_Bdr_Bottom","wrpBdSd_Bdr_Left","wrpBdSd_Bdr_Right","wrpBdSd_Bdr_Top","wrpBdSd_Bdr_Unit","wrpBdSd_Bdr_isLinked","wrpBdSd_BorderType","wrpBdSd_HBdr_Bottom","wrpBdSd_HBdr_Left","wrpBdSd_HBdr_Right","wrpBdSd_HBdr_Top","wrpBdSd_HBdr_Unit","wrpBdSd_HBdr_isLinked","wrpBdSd_HRds_Bottom","wrpBdSd_HRds_Left","wrpBdSd_HRds_Right","wrpBdSd_HRds_Top","wrpBdSd_HRds_Unit","wrpBdSd_HRds_isLinked","wrpBdSd_HborderColor","wrpBdSd_HborderStyle","wrpBdSd_Rds_Bottom","wrpBdSd_Rds_Left","wrpBdSd_Rds_Right","wrpBdSd_Rds_Top","wrpBdSd_Rds_Unit","wrpBdSd_Rds_isLinked","wrpBdSd_blur","wrpBdSd_borderColor","wrpBdSd_borderStyle","wrpBdSd_borderTransition","wrpBdSd_hOffset","wrpBdSd_hoverBlur","wrpBdSd_hoverHOffset","wrpBdSd_hoverInset","wrpBdSd_hoverShadowColor","wrpBdSd_hoverSpread","wrpBdSd_hoverVOffset","wrpBdSd_inset","wrpBdSd_radiusTransition","wrpBdSd_shadowColor","wrpBdSd_shadowTransition","wrpBdSd_shadowType","wrpBdSd_spread","wrpBdSd_vOffset"]),save:function(e){var t=e.attributes,a=t.blockId,n=t.id,o=t.initialContent,r=t.switchStyle,c=t.switchSize,l=t.buttonWidth,i=t.seperatorType,s=t.activeColor,b=t.activeBg,p=t.primaryLabelText,u=t.secondaryLabelText,d=t.alignment,m=t.primaryLabelColor,g=t.secondaryLabelColor,f=t.backgroundType,y=t.backgroundColor,v=t.backgroundGradient;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"".concat(a," eb-toggle-wrapper"),"data-init-content":o,"data-size":c,"data-switch-style":r,"data-bg-type":f,"data-bg-color":y,"data-bg-gradient":v||"none","data-primary-color":m||"inherit","data-secondary-color":g||"inherit","data-active-color":s||"inherit","data-active-bg":b},React.createElement("div",{className:"eb-toggle-heading",style:{display:"toggle"===r?"block":"none"}},React.createElement("input",{type:"checkbox",className:"eb-text-switch-checkbox",id:"eb-".concat(n),style:{display:"none"}}),React.createElement("div",{className:"eb-text-switch-wrapper"},React.createElement("div",{className:"eb-text-switch-content",style:{width:"".concat(l,"%"),marginLeft:function(){var e=l||30;switch(d){case"center":return"".concat((100-e)/2,"%");case"right":return"".concat(100-e,"%");case"left":return"0%"}}()}},React.createElement("label",{className:"eb-text-switch-label",for:"eb-".concat(n)},React.createElement("div",{className:"eb-text-switch-toggle"}),React.createElement("div",{className:"eb-switch-names"},React.createElement(Q.RichText.Content,{tagName:"span",className:"eb-toggle-primary-label-text",value:p}),React.createElement(Q.RichText.Content,{tagName:"span",className:"eb-toggle-secondary-label-text",value:u})))))),React.createElement("div",{className:"eb-toggle-heading",style:{display:"toggle"!==r?"block":"none"}},React.createElement(Q.RichText.Content,{tagName:"span",className:"eb-toggle-primary-label",value:p}),React.createElement("label",{className:"eb-toggle-switch toggle-".concat(c)},React.createElement("input",{className:"eb-toggle-input",type:"checkbox"}),React.createElement("span",{className:"eb-toggle-controller"}),React.createElement("span",{className:"eb-toggle-slider"})),React.createElement("span",{className:"eb-toggle-".concat(i," eb-toggle-seperator")}),React.createElement(Q.RichText.Content,{tagName:"span",className:"eb-toggle-secondary-label",value:u})),React.createElement("div",{className:"eb-toggle-content"},React.createElement(Q.InnerBlocks.Content,null))))}}],Lj=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Toggle Content","name":"essential-blocks/toggle-content","category":"essential-blocks","description":"Toggle Contents or blocks with a beautiful switcher.","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');(0,EBControls.ebConditionalRegisterBlockType)(Lj,{icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"57",height:"60",fill:"none",viewBox:"0 0 57 60"},React.createElement("g",{fill:"#6C3BFF",clipPath:"url(#clip0_2_22890)"},React.createElement("path",{d:"M22.714 20.743H3.943c-1.8 0-3.172 1.371-3.172 3.171v33C.771 58.63 2.143 60 3.943 60h18.771c1.8 0 3.172-1.371 3.172-3.171V24.086c-.086-1.972-1.457-3.343-3.172-3.343zm.772 36.086c0 .428-.429.771-.772.771H3.943c-.429 0-.772-.429-.772-.771V24.086c0-.429.429-.772.772-.772h18.771c.429 0 .772.429.772.772v32.743zM52.714 20.743H33.943c-1.8 0-3.172 1.371-3.172 3.171v33c0 1.8 1.372 3.172 3.172 3.172h18.771c1.8 0 3.172-1.372 3.172-3.172V24.086c.171-1.972-1.457-3.343-3.172-3.343zm.772 36.086c0 .428-.429.771-.772.771H33.943c-.429 0-.772-.429-.772-.771V24.086c0-.429.429-.772.772-.772h18.771c.429 0 .772.429.772.772v32.743zM21.257 12.857h16.2c1.8 0 3.343-1.371 3.343-3.343V3.343C40.8 1.543 39.429 0 37.457 0h-16.2c-1.714 0-3.343 1.371-3.343 3.343v6.086c0 2.057 1.372 3.428 3.343 3.428zm-.943-9.343c0-.428.429-.771.772-.771h16.2c.428 0 .771.428.771.771V9.6c0 .429-.428.771-.771.771h-16.2c-.429 0-.772-.428-.772-.771V3.514z"}),React.createElement("path",{d:"M31.543 8.914h4.714v-4.8h-4.714v4.8zM48.514 30.171H38.057v2.4h10.457v-2.4zM48.514 35.914H38.057v2.4h10.457v-2.4zM48.514 41.657H38.057v2.314h10.457v-2.314zM18.343 30.171H7.886v2.4h10.628v-2.4h-.171zM18.343 35.914H7.886v2.4h10.628v-2.4h-.171zM18.343 41.657H7.886v2.314h10.628v-2.314h-.171z"})),React.createElement("defs",null,React.createElement("clipPath",{id:"clip0_2_22890"},React.createElement("path",{fill:"#fff",d:"M0 0H56.571V60H0z"}))))},attributes:lj,edit:function(e){var t=e.clientId,a=e.isSelected,n=e.attributes,o=e.setAttributes,r=(e.className,e.name,n.resOption,n.blockId),c=(n.blockMeta,n.classHook),l=n.initialContent,i=n.switchStyle,s=n.switchSize,b=n.seperatorType,p=n.primaryLabelText,u=void 0===p?"First":p,d=n.secondaryLabelText,m=void 0===d?"Second":d,g=n.alignment,f=(n["".concat(LD,"FontSize")],n["".concat(LD,"SizeUnit")],Ej((0,J.useState)("primary"===l),2)),y=f[0],v=f[1],h=Ej((0,J.useState)(!1),2),w=h[0],k=h[1],R=(0,J.useRef)(null),_=(0,J.useRef)(null),E=(0,J.useRef)(null),C=(0,J.useRef)(null),x=(0,J.useRef)(null),S=Rj(Rj({},e),{},{blockPrefix:"eb-toggle",style:React.createElement(QD,e)});(0,J.useEffect)((function(){if(R.current){for(var e=R.current.querySelector(".block-editor-block-list__layout"),t=[],a=e.children,n=0;n<a.length;n++)a[n].classList.contains("block-editor-block-list__block")&&t.push(a[n]);if(e&&2===t.length){var o=t[0],r=t[1];y?(N(r),P(o)):(N(o),P(r))}}}));var B=(0,$.useSelect)((function(e){return e("core/block-editor").getBlocksByClientId(t)[0]})).innerBlocks;(0,J.useEffect)((function(){(0,$.select)("core/block-editor").wasBlockJustInserted(t)||(B&&2===B.length?k(!1):k(!0))}),[B]),(0,J.useEffect)((function(){o({id:t}),T()}),[]),(0,J.useEffect)((function(){if(w){var e=(0,$.dispatch)("core/block-editor").replaceInnerBlocks,a=(0,K.createBlock)("essential-blocks/wrapper",{}),n=B[0]?B[0]:(0,K.createBlock)("essential-blocks/wrapper",{});e(t,y?[a,n]:[n,a])}}),[w]);var T=function(){C.current&&C.current.addEventListener("click",(function(){return v(!0)})),x.current&&x.current.addEventListener("click",(function(){return v(!1)})),_.current&&_.current.addEventListener("click",(function(){return v(!0)})),E.current&&E.current.addEventListener("click",(function(){return v(!1)}))},N=function(e){return e.style.display="none"},P=function(e){return e.style.display="block"};return React.createElement(React.Fragment,null,a&&React.createElement(hj,{attributes:n,setAttributes:o}),React.createElement(Q.BlockControls,null,React.createElement(Q.AlignmentToolbar,{value:g,onChange:function(e){return o({alignment:e})}})),React.createElement(Sj.Edit,S,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(r," ").concat(c)},React.createElement("div",{className:"".concat(r," eb-toggle-wrapper")},React.createElement("div",{className:"eb-toggle-heading",style:{display:"toggle"===i?"block":"none"}},React.createElement("div",{className:"eb-text-switch-wrapper"},React.createElement("div",{className:"eb-text-switch-content",style:Rj({},function(){switch(g){case"center":return{marginLeft:"auto",marginRight:"auto"};case"right":return{marginLeft:"auto",marginRight:"0px"};case"left":return{marginLeft:"0px",marginRight:"auto"}}return{marginLeft:"auto",marginRight:"auto"}}())},React.createElement("label",{className:"eb-text-switch-label"},React.createElement("div",{className:"eb-text-switch-toggle",style:{marginLeft:!y&&"50%"}}),React.createElement("div",{className:"eb-switch-names"},React.createElement(Q.RichText,{tagName:"span",className:"eb-toggle-primary-label-text",ref:_,value:u,onChange:function(e){return o({primaryLabelText:e})}}),React.createElement(Q.RichText,{tagName:"span",className:"eb-toggle-secondary-label-text",ref:E,value:m,onChange:function(e){return o({secondaryLabelText:e})}})))))),React.createElement("div",{className:"eb-toggle-heading",style:{display:"toggle"!==i?"block":"none"}},React.createElement(Q.RichText,{tagName:"span",className:"eb-toggle-primary-label",ref:C,placeholder:(0,Y.__)("First","essential-blocks"),value:u,onChange:function(e){return o({primaryLabelText:e})}}),React.createElement("label",{className:"eb-toggle-switch toggle-".concat(s)},React.createElement("input",{type:"checkbox",checked:y,onChange:function(e){return function(e){v(e.target.checked)}(e)}}),React.createElement("span",{className:"eb-toggle-controller"}),React.createElement("span",{className:"eb-toggle-slider"})),React.createElement("span",{className:"eb-toggle-seperator eb-toggle-".concat(b)}),React.createElement(Q.RichText,{tagName:"span",ref:x,className:"eb-toggle-secondary-label",placeholder:(0,Y.__)("Second","essential-blocks"),value:m,onChange:function(e){return o({secondaryLabelText:e})}})),React.createElement("div",{className:"eb-toggle-content",ref:R},React.createElement(Q.InnerBlocks,{templateLock:!1,template:CD,renderAppender:!1}))))))},save:function(e){var t=e.attributes,a=t.blockId,n=t.id,o=t.initialContent,r=t.switchStyle,c=t.switchSize,l=t.seperatorType,i=t.activeColor,s=t.activeBg,b=t.primaryLabelText,p=void 0===b?"First":b,u=t.secondaryLabelText,d=void 0===u?"Second":u,m=t.alignment,g=t.primaryLabelColor,f=t.secondaryLabelColor,y=t.backgroundType,v=t.backgroundColor,h=t.backgroundGradient,w=t.classHook;return React.createElement(Oj.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(w)},React.createElement("div",{className:"".concat(a," eb-toggle-wrapper"),"data-init-content":o,"data-size":c,"data-switch-style":r,"data-bg-type":y,"data-bg-color":v,"data-bg-gradient":h||"none","data-primary-color":g||"inherit","data-secondary-color":f||"inherit","data-active-color":i||"inherit","data-active-bg":s},React.createElement("div",{className:"eb-toggle-heading",style:{display:"toggle"===r?"block":"none"}},React.createElement("input",{type:"checkbox",className:"eb-text-switch-checkbox",id:"eb-".concat(n),style:{display:"none"}}),React.createElement("div",{className:"eb-text-switch-wrapper"},React.createElement("div",{className:"eb-text-switch-content",style:Nj({},function(){switch(m){case"center":return{marginLeft:"auto",marginRight:"auto"};case"right":return{marginLeft:"auto",marginRight:"0px"};case"left":return{marginLeft:"0px",marginRight:"auto"}}return{marginLeft:"auto",marginRight:"auto"}}())},React.createElement("label",{className:"eb-text-switch-label",for:"eb-".concat(n)},React.createElement("div",{className:"eb-text-switch-toggle"}),React.createElement("div",{className:"eb-switch-names"},React.createElement(Q.RichText.Content,{tagName:"span",className:"eb-toggle-primary-label-text",value:p}),React.createElement(Q.RichText.Content,{tagName:"span",className:"eb-toggle-secondary-label-text",value:d})))))),React.createElement("div",{className:"eb-toggle-heading",style:{display:"toggle"!==r?"block":"none"}},React.createElement(Q.RichText.Content,{tagName:"span",className:"eb-toggle-primary-label",value:p}),React.createElement("label",{className:"eb-toggle-switch toggle-".concat(c)},React.createElement("input",{className:"eb-toggle-input",type:"checkbox"}),React.createElement("span",{className:"eb-toggle-controller"}),React.createElement("span",{className:"eb-toggle-slider"})),React.createElement("span",{className:"eb-toggle-".concat(l," eb-toggle-seperator")}),React.createElement(Q.RichText.Content,{tagName:"span",className:"eb-toggle-secondary-label",value:d})),React.createElement("div",{className:"eb-toggle-content"},React.createElement(Q.InnerBlocks.Content,null)))))},keywords:[(0,Y.__)("Toggle","essential-blocks"),(0,Y.__)("eb Toggle Content","essential-blocks")],example:{attributes:{}},deprecated:Aj});var Fj=a(2902);const Hj=window.wp.dom;function zj(e){return zj="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},zj(e)}function qj(e){return function(e){if(Array.isArray(e))return Uj(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Uj(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?Uj(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Uj(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}function Vj(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Qj(n.key),n)}}function Wj(e,t,a){return t=Zj(t),function(e,t){if(t&&("object"==zj(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Gj()?Reflect.construct(t,a||[],Zj(e).constructor):t.apply(e,a))}function Gj(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Gj=function(){return!!e})()}function Zj(e){return Zj=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Zj(e)}function Yj(e,t){return Yj=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Yj(e,t)}function Jj(e,t,a){return(t=Qj(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function Qj(e){var t=function(e,t){if("object"!=zj(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=zj(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==zj(t)?t:t+""}var Xj={fontSize:14,borderLeft:"1px solid #b4b4cb",lineHeight:"2.5em",flex:2,textAlign:"center",display:"flex",justifyContent:"center"},$j=(0,pf.D)((function(){return React.createElement("span",{className:"drag-handle"},React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0",y:"0",enableBackground:"new 0 0 512 512",version:"1.1",viewBox:"0 0 512 512",xmlSpace:"preserve",style:{height:14}},React.createElement("path",{d:"M512 256L402.6 146.6 402.6 210.3 301 210.3 301 109.4 365.4 109.4 256 0 146.6 109.4 211 109.4 211 210.3 109.4 210.3 109.4 146.6 0 256 109.4 365.4 109.4 300.3 211 300.3 211 402.6 146.6 402.6 256 512 365.4 402.6 301 402.6 301 300.3 402.6 300.3 402.6 365.4z",style:{fill:"#a9a9a9"}})))})),Kj=function(e){var t=e.position,a=e.onDeleteItem;return React.createElement("span",{className:"eb-social-delete-icon",style:Xj,onClick:function(){return a(t)}},React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0",y:"0",enableBackground:"new 0 0 512 512",version:"1.1",viewBox:"0 0 512 512",xmlSpace:"preserve",style:{width:14}},React.createElement("path",{d:"M423.3 86.6H89c-16.8.1-32.2 9.3-40.1 24.1-7.9 14.8-7.1 32.7 2.2 46.8l37.2 55.6V456c0 30.9 25.1 56 56 56h223.9c30.9 0 56-25.1 56-56V213.1l37.2-56c9.1-14 9.8-31.8 1.9-46.5-8.1-14.7-23.4-23.9-40-24zm-198 347c0 13.9-11.3 25.2-25.2 25.2-13.9 0-25.2-11.3-25.2-25.2V220.9c0-13.9 11.3-25.2 25.2-25.2 13.9 0 25.2 11.3 25.2 25.2v212.7zm112 0c0 13.9-11.3 25.2-25.2 25.2-13.9 0-25.2-11.3-25.2-25.2V220.9c0-13.9 11.3-25.2 25.2-25.2 13.9 0 25.2 11.3 25.2 25.2v212.7zM325.8 19.4C309.9 7.1 290.2 0 269.3 0h-26.4c-20.9 0-40.6 7.1-56.5 19.4-11.2 8.7-20.5 20.1-26.9 33.4h193.1c-6.3-13.3-15.6-24.7-26.8-33.4z",style:{fill:"#FF6464"}})))},eI=(0,pf.Zj)((function(e){var t=e.text,a=e.position,n=e.onTitleClick,o=e.onTextChange,r=e.clickedIndex,c=e.onDeleteItem;return React.createElement("li",{className:"drag-helper"},React.createElement("span",{className:"eb-sortable-item"},React.createElement("span",{className:"eb-sortable-title",onClick:function(){return n(a)}},t),React.createElement($j,null),React.createElement(Kj,{position:a,onDeleteItem:c})),r===a&&React.createElement("div",{className:"eb-typed-input-wrapper"},React.createElement("input",{type:"text",value:t,onChange:function(e){return o(e,a)},placeholder:"Add text"})))})),tI=(0,pf.q6)((function(e){var t=e.typedText,a=e.onTitleClick,n=e.onTextChange,o=e.clickedIndex,r=e.onDeleteItem;return React.createElement("ul",{className:"eb-sortable-typing-list"},t.map((function(e,t){return React.createElement(eI,{key:"item-".concat(t),index:t,position:t,text:e.text,onTitleClick:a,onTextChange:n,clickedIndex:o,onDeleteItem:r})})))}));const aI=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,n=new Array(a),o=0;o<a;o++)n[o]=arguments[o];return Jj(e=Wj(this,t,[].concat(n)),"state",{clickedIndex:null}),Jj(e,"onSortEnd",(function(t){var a=t.oldIndex,n=t.newIndex,o=df()(e.props.typedText,a,n);e.props.setAttributes({typedText:o})})),Jj(e,"onTitleClick",(function(t){var a=e.state.clickedIndex===t?null:t;e.setState({clickedIndex:a})})),Jj(e,"onTextChange",(function(t,a){var n=qj(e.props.typedText);n[a].text=t.target.value,e.props.setAttributes({typedText:n})})),Jj(e,"onDeleteItem",(function(t){var a=qj(e.props.typedText).filter((function(e,a){return t!==a}));e.props.setAttributes({typedText:a})})),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Yj(e,t)}(t,e),a=t,(n=[{key:"render",value:function(){return React.createElement(tI,{typedText:this.props.typedText,clickedIndex:this.state.clickedIndex,onTitleClick:this.onTitleClick,onTextChange:this.onTextChange,onDeleteItem:this.onDeleteItem,onSortEnd:this.onSortEnd,useDragHandle:!0})}}])&&Vj(a.prototype,n),Object.defineProperty(a,"prototype",{writable:!1}),a;var a,n}(J.Component);var nI="prefixText",oI="suffixText",rI="typedText",cI="margin",lI="padding",iI="wrp_",sI="backgroundWrp_";function bI(e){return bI="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},bI(e)}function pI(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function uI(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?pI(Object(a),!0).forEach((function(t){dI(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):pI(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function dI(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=bI(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=bI(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==bI(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var mI=window.EBControls,gI=mI.generateTypographyAttributes,fI=mI.generateDimensionsAttributes,yI=mI.generateBackgroundAttributes,vI=mI.generateBorderShadowAttributes;const hI=uI(uI(uI(uI(uI(uI({resOption:{type:"string",default:"Desktop"},uniqueIdNumber:{type:"number"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},prefix:{type:"string",source:"text",selector:".eb-typed-prefix"},typedText:{type:"array",source:"query",selector:".eb-typed-text",query:{text:{type:"string",source:"text"}},default:[]},suffix:{type:"string",source:"text",selector:".eb-typed-suffix"},prefixColor:{type:"string",default:"var(--eb-global-primary-color)"},typedTextColor:{type:"string",default:"var(--eb-global-primary-color)"},suffixTextColor:{type:"string",default:"var(--eb-global-primary-color)"},typeSpeed:{type:"number",default:50},startDelay:{type:"number",default:0},smartBackspace:{type:"boolean",default:!0},backSpeed:{type:"number",default:40},backDelay:{type:"number",default:700},fadeOut:{type:"boolean",default:!1},fadeOutDelay:{type:"number",default:500},loop:{type:"boolean",default:!1},showCursor:{type:"boolean",default:!0},textAlign:{type:"string",default:"left"}},gI(Object.values(C))),vI(iI)),fI(cI)),fI(lI)),yI(sI,{noOverlay:!0,noMainBgi:!0})),{},{typedTextFontWeight:{type:"string",default:600},prefixTextFontWeight:{type:"string",default:600},suffixTextFontWeight:{type:"string",default:600}});function wI(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}var kI=window.EBControls,RI=kI.ResponsiveDimensionsControl,_I=kI.TypographyDropdown,EI=kI.ColorControl,CI=kI.BorderShadowControl,xI=kI.BackgroundControl,SI=kI.AdvancedControls;const BI=function(e){var t=e.attributes,a=e.setAttributes,n=t.resOption,o=t.prefix,r=t.typedText,c=t.suffix,l=t.prefixColor,i=t.typedTextColor,s=t.suffixTextColor,b=t.typeSpeed,p=t.startDelay,u=t.smartBackspace,d=t.backSpeed,m=t.backDelay,g=t.fadeOut,f=t.fadeOutDelay,y=t.loop,v=t.showCursor,h={setAttributes:a,resOption:n,attributes:t,objAttributes:hI};return React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:(0,Y.__)("General","essential-blocks"),className:"eb-tab general"},{name:"styles",title:(0,Y.__)("Style","essential-blocks"),className:"eb-tab styles"},{name:"advanced",title:(0,Y.__)("Advanced","essential-blocks"),className:"eb-tab styles"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls"+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Content Settings","essential-blocks")},React.createElement(X.TextControl,{label:(0,Y.__)("Prefix Text","essential-blocks"),placeholder:(0,Y.__)("Add prefix text","essential-blocks"),value:o,onChange:function(e){return a({prefix:e})}}),React.createElement(X.BaseControl,{label:(0,Y.__)("Typed Text","essential-blocks")},0!==r.length&&React.createElement(aI,{typedText:r,setAttributes:a}),React.createElement(X.Button,{className:"is-default eb-typed-add-wrapper",label:(0,Y.__)("Add Typed Item","essential-blocks"),icon:"plus-alt",onClick:function(){var e,t=[].concat(function(e){if(Array.isArray(e))return wI(e)}(e=r)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return wI(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?wI(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[{text:"Typed text ".concat(r.length+1)}]);a({typedText:t})}},React.createElement("span",{className:"eb-typed-add-button"},"Add Typed Text"))),React.createElement(X.TextControl,{label:(0,Y.__)("Suffix Text","essential-blocks"),placeholder:(0,Y.__)("Add suffix text","essential-blocks"),value:c,onChange:function(e){return a({suffix:e})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Loop","essential-blocks"),checked:y,onChange:function(){return a({loop:!y})}}),!g&&React.createElement(X.ToggleControl,{label:(0,Y.__)("Smart Backspace","essential-blocks"),checked:u,onChange:function(){return a({smartBackspace:!u})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Cursor","essential-blocks"),checked:v,onChange:function(){return a({showCursor:!v})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Fade Out","essential-blocks"),checked:g,onChange:function(){return a({fadeOut:!g})}}),React.createElement(X.RangeControl,{label:(0,Y.__)("Type Speed","essential-blocks"),value:b,onChange:function(e){return a({typeSpeed:e})},min:0,max:5e3}),React.createElement(X.RangeControl,{label:(0,Y.__)("Start Delay","essential-blocks"),value:p,onChange:function(e){return a({startDelay:e})},min:0,max:1e3}),!g&&React.createElement(X.RangeControl,{label:(0,Y.__)("Back Speed","essential-blocks"),value:d,onChange:function(e){return a({backSpeed:e})},min:0,max:5e3}),!g&&React.createElement(X.RangeControl,{label:(0,Y.__)("Back Delay","essential-blocks"),value:m,onChange:function(e){return a({backDelay:e})},min:0,max:1e4}),g&&React.createElement(X.RangeControl,{label:(0,Y.__)("Fade Delay","essential-blocks"),value:f,onChange:function(e){return a({fadeOutDelay:e})},min:0,max:5e3}))),"styles"===e.name&&React.createElement(React.Fragment,null,o&&React.createElement(X.PanelBody,{title:(0,Y.__)("Prefix","essential-blocks"),initialOpen:!1},React.createElement(EI,{label:(0,Y.__)("Prefix Color","essential-blocks"),color:l,onChange:function(e){return a({prefixColor:e})}}),React.createElement(_I,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:nI,resRequiredProps:h})),r.length>0&&React.createElement(X.PanelBody,{title:(0,Y.__)("Typed Text","essential-blocks"),initialOpen:!1},React.createElement(EI,{label:(0,Y.__)("Typed Text Color","essential-blocks"),color:i,onChange:function(e){return a({typedTextColor:e})}}),React.createElement(_I,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:rI,resRequiredProps:h})),c&&React.createElement(X.PanelBody,{title:(0,Y.__)("Suffix","essential-blocks"),initialOpen:!1},React.createElement(EI,{label:(0,Y.__)("Suffix Color","essential-blocks"),color:s,onChange:function(e){return a({suffixTextColor:e})}}),React.createElement(_I,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:oI,resRequiredProps:h}))),"advanced"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,null,React.createElement(RI,{resRequiredProps:h,className:"forWrapperMargin",controlName:cI,baseLabel:"Margin"}),React.createElement(RI,{resRequiredProps:h,className:"forWrapperPadding",controlName:lI,baseLabel:"Padding"}),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Border & Shadow","typing-text"))),React.createElement(CI,{controlName:iI,resRequiredProps:h}),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Background","essential-blocks"))),React.createElement(xI,{controlName:sI,resRequiredProps:h,noOverlay:!0,noMainBgi:!0})),React.createElement(SI,{attributes:t,setAttributes:a})))}))))};var TI=window.EBControls,NI=TI.softMinifyCssStrings,PI=TI.generateTypographyStyles,OI=TI.generateDimensionsControlStyles,MI=TI.generateBorderShadowStyles,DI=TI.generateBackgroundControlStyles,jI=TI.StyleComponent;function II(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=t.prefixColor,c=t.typedTextColor,l=t.suffixTextColor,i=t.textAlign,s=OI({controlName:cI,styleFor:"margin",attributes:t}),b=s.dimensionStylesDesktop,p=s.dimensionStylesTab,u=s.dimensionStylesMobile,d=OI({controlName:lI,styleFor:"padding",attributes:t}),m=d.dimensionStylesDesktop,g=d.dimensionStylesTab,f=d.dimensionStylesMobile,y=PI({attributes:t,defaultFontSize:22,prefixConstant:nI}),v=y.typoStylesDesktop,h=y.typoStylesTab,w=y.typoStylesMobile,k=PI({attributes:t,defaultFontSize:22,prefixConstant:oI}),R=k.typoStylesDesktop,_=k.typoStylesTab,E=k.typoStylesMobile,C=PI({attributes:t,defaultFontSize:22,prefixConstant:rI}),x=C.typoStylesDesktop,S=C.typoStylesTab,B=C.typoStylesMobile,T=MI({controlName:iI,attributes:t}),N=T.styesDesktop,P=T.styesTab,O=T.styesMobile,M=T.stylesHoverDesktop,D=T.stylesHoverTab,j=T.stylesHoverMobile,I=T.transitionStyle,A=DI({attributes:t,controlName:sI,noOverlay:!0,noMainBgi:!0}),L=A.backgroundStylesDesktop,F=A.hoverBackgroundStylesDesktop,H=A.bgTransitionStyle,z="\n\n\t .eb-typed-wrapper.".concat(o," {\n\t\t ").concat(b,"\n\t\t ").concat(m,"\n\t\t ").concat(N,"\n\t\t ").concat(L,"\n\t\t text-align: ").concat(i,";\n\t\t transition: ").concat(H,", ").concat(I,";\n\t }\n\n\t .eb-typed-wrapper.").concat(o,":hover {\n\t\t ").concat(F,"\n\t\t ").concat(M,"\n\t }\n\n\t .eb-typed-wrapper.").concat(o,":before {\n\t\t z-index: -11;\n\t }\n\t "),q="\n\t .eb-typed-wrapper.".concat(o,"{\n\t\t ").concat(p,"\n\t\t ").concat(g,"\n\t\t ").concat(P,"\n\t }\n\n\t .eb-typed-wrapper.").concat(o,":hover {\n\t\t ").concat(D,"\n\t }\n\t "),U="\n\t .eb-typed-wrapper.".concat(o,"{\n\t\t ").concat(u,"\n\t\t ").concat(f,"\n\t\t ").concat(O,"\n\t }\n\n\t .eb-typed-wrapper.").concat(o,":hover {\n\t\t ").concat(j,"\n\t }\n\t "),V="\n\t .".concat(o," .eb-typed-prefix{\n\t\t ").concat(v,"\n\t\t color: ").concat(r||"#fff",";\n\t }\n\t "),W="\n\t .".concat(o," .eb-typed-prefix{\n\t\t ").concat(h,"\n\t }\n\t "),G="\n\t .".concat(o," .eb-typed-prefix{\n\t\t ").concat(w,"\n\t }\n\t "),Z="\n\t .".concat(o," .eb-typed-suffix{\n\t\t ").concat(R,"\n\t\t color: ").concat(l||"#fff",";\n\t }\n\t "),Y="\n\t .".concat(o," .eb-typed-suffix{\n\t\t ").concat(_,"\n\t }\n\t "),J="\n\t .".concat(o," .eb-typed-suffix{\n\t\t ").concat(E,"\n\t }\n\t "),Q="\n\t .".concat(o," .eb-typed-text,.").concat(o," .eb-typed-view,.").concat(o," .typed-cursor{\n\t\t ").concat(x,"\n\t\t color: ").concat(c||"#fff",";\n\t }\n\t "),X="\n\t .".concat(o," .eb-typed-text,.").concat(o," .eb-typed-view, .").concat(o," .typed-cursor{\n\t\t ").concat(S,"\n\t }\n\t "),$="\n\t .".concat(o," .eb-typed-text,.").concat(o," .eb-typed-view, .").concat(o," .typed-cursor{\n\t\t ").concat(B,"\n\t }\n\t "),K=NI("\n\t\t ".concat(z,"\n\t\t ").concat(V,"\n\t\t ").concat(Z,"\n\t\t ").concat(Q,"\n\t ")),ee=NI("\n\t\t ".concat(q,"\n\t\t ").concat(W,"\n\t\t ").concat(Y,"\n\t\t ").concat(X,"\n\t ")),te=NI("\n\t\t ".concat(U,"\n\t\t ").concat(G,"\n\t\t ").concat(J,"\n\t\t ").concat($,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(jI,{attributes:t,setAttributes:a,desktopAllStyles:K,tabAllStyles:ee,mobileAllStyles:te,blockName:n}))}function AI(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function LI(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?AI(Object(a),!0).forEach((function(t){FI(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):AI(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function FI(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=HI(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=HI(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==HI(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function HI(e){return HI="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},HI(e)}function zI(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}var qI=window.EBControls.BlockProps,UI=window.EBControls.BlockProps;const VI=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Typing Text","name":"essential-blocks/typing-text","description":"Make your website interactive with typing text animation.","category":"essential-blocks","apiVersion":2,"textdomain":"essential-blocks","editorScript":"essential-blocks-editor-script","supports":{"anchor":true,"align":["wide","full"]}}');function WI(e){return WI="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},WI(e)}function GI(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function ZI(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?GI(Object(a),!0).forEach((function(t){YI(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):GI(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function YI(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=WI(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=WI(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==WI(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const JI=[{attributes:ZI({},hI),save:function(e){var t=e.attributes,a=t.blockId,n=t.prefix,o=t.typedText,r=t.suffix,c=t.typeSpeed,l=t.startDelay,i=t.smartBackspace,s=t.backSpeed,b=t.backDelay,p=t.fadeOut,u=t.fadeOutDelay,d=t.loop,m=t.showCursor,g=t.classHook;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(g)},React.createElement("div",{className:"eb-typed-wrapper ".concat(a),"data-id":a},React.createElement("div",{className:"eb-typed-content","data-type-speed":c,"data-start-delay":l,"data-smart-backspace":i,"data-back-speed":s,"data-back-delay":b,"data-fade":p,"data-fade-delay":u,"data-loop":d,"data-cursor":m},React.createElement("span",{className:"eb-typed-prefix"},n),React.createElement("span",{className:"eb-typed-text-wrapper is-hidden"},o.map((function(e,t){return React.createElement("span",{key:t,className:"eb-typed-text"},e.text)}))),React.createElement("span",{className:"eb-typed-view"}),React.createElement("span",{className:"eb-typed-suffix"},r)))))}},{attributes:ZI({},hI),save:function(e){var t=e.attributes,a=t.blockId,n=t.prefix,o=t.typedText,r=t.suffix,c=t.typeSpeed,l=t.startDelay,i=t.smartBackspace,s=t.backSpeed,b=t.backDelay,p=t.fadeOut,u=t.fadeOutDelay,d=t.loop,m=t.showCursor;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-typed-wrapper ".concat(a),"data-id":a},React.createElement("div",{className:"eb-typed-content","data-type-speed":c,"data-start-delay":l,"data-smart-backspace":i,"data-back-speed":s,"data-back-delay":b,"data-fade":p,"data-fade-delay":u,"data-loop":d,"data-cursor":m},React.createElement("span",{className:"eb-typed-prefix"},n),React.createElement("span",{className:"eb-typed-text-wrapper is-hidden"},o.map((function(e,t){return React.createElement("span",{key:t,className:"eb-typed-text"},e.text)}))),React.createElement("span",{className:"eb-typed-view"}),React.createElement("span",{className:"eb-typed-suffix"},r))))}}];(0,EBControls.ebConditionalRegisterBlockType)(VI,{icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"60",fill:"none",viewBox:"0 0 60 60"},React.createElement("path",{fill:"#6C3BFF",d:"M54.343 0H5.657C2.571 0 0 2.571 0 5.657v48.686C0 57.429 2.571 60 5.657 60h48.686C57.429 60 60 57.429 60 54.343V5.657C60 2.571 57.429 0 54.343 0zm3.086 54.343a3.073 3.073 0 01-3.086 3.086H5.657a3.073 3.073 0 01-3.086-3.086V5.657a3.073 3.073 0 013.086-3.086h48.686a3.073 3.073 0 013.086 3.086v48.686z"}),React.createElement("path",{fill:"#6C3BFF",d:"M50.4 42.943H38.486c-.686 0-1.286.6-1.286 1.286 0 .685.6 1.285 1.286 1.285H50.4c.686 0 1.286-.6 1.286-1.285 0-.686-.6-1.286-1.286-1.286zM38.914 21.6v-5.229c0-1.114-1.028-1.885-1.885-1.885H10.2c-1.114 0-1.886 1.028-1.886 1.885V21.6c0 .6.257 1.114.6 1.371.343.343.943.6 1.372.6H12.6c1.114 0 1.886-1.028 1.886-1.885V21h6.085v18.429H17.83c-1.115 0-1.886 1.028-1.886 1.885v2.315c0 1.114 1.028 1.885 1.886 1.885H30c1.114 0 1.886-1.028 1.886-1.885V41.4c.085-.429-.086-.857-.429-1.2A1.83 1.83 0 0030 39.514h-3.257v-18.6h6.086v.686c0 1.114 1.028 1.886 1.885 1.886h2.315c1.114 0 1.885-.943 1.885-1.886zm-5.057-2.829h-8.143c-.6 0-1.028.429-1.028 1.029v20.657c0 .6.428 1.029 1.028 1.029h4.115v1.885H18.086v-1.885h3.6c.6 0 1.028-.429 1.028-1.029V19.886c0-.6-.428-1.029-1.028-1.029h-8.229c-.6 0-1.028.429-1.028 1.029v1.543H10.37v-4.886H36.857v4.8h-1.886V19.8c-.085-.514-.514-1.029-1.114-1.029z"}))},keywords:[(0,Y.__)("Typing Text","essential-blocks"),(0,Y.__)("animated Text","essential-blocks"),(0,Y.__)("eb typing","essential-blocks")],attributes:hI,edit:function(e){var t,a,n=e.attributes,o=e.setAttributes,r=(e.className,e.clientId,e.isSelected),c=(e.name,n.blockId),l=(n.blockMeta,n.resOption,n.prefix),i=n.typedText,s=n.typeSpeed,b=n.startDelay,p=n.smartBackspace,u=n.backSpeed,d=n.backDelay,m=n.fadeOut,g=n.fadeOutDelay,f=n.loop,y=n.showCursor,v=n.suffix,h=n.textAlign,w=n.classHook,k=(0,J.useRef)(null),R=(t=(0,J.useState)(null),a=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,r,c,l=[],i=!0,s=!1;try{if(r=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;i=!1}else for(;!(i=(n=r.call(a)).done)&&(l.push(n.value),l.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{if(!i&&null!=a.return&&(c=a.return(),Object(c)!==c))return}finally{if(s)throw o}}return l}}(t,a)||function(e,t){if(e){if("string"==typeof e)return zI(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?zI(e,t):void 0}}(t,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),_=R[0],E=R[1],C=function(){var e=n.typedText,t=n.typeSpeed,a=n.startDelay,o=n.smartBackspace,r=n.backSpeed,c=n.backDelay,l=n.fadeOut,i=n.fadeOutDelay,s=n.loop,b=n.showCursor;return{strings:x(e),typeSpeed:t,startDelay:a,smartBackspace:o,backSpeed:r,backDelay:c,fadeOut:l,fadeOutDelay:i,loop:s,showCursor:b}},x=function(e){var t=[];return"object"===HI(e)&&e.length>0?e.map((function(e){return t.push((0,Hj.safeHTML)(e.text))})):t=["first string","second string"],t};(0,J.useEffect)((function(){_&&(_.destroy(),E(new Fj.A(k.current,C())))}),[i,s,b,p,u,d,m,g,f,y]);var S=LI(LI({},e),{},{blockPrefix:"eb-typing-text",style:React.createElement(II,e)});return(0,J.useEffect)((function(){0===i.length&&(o({typedText:[{text:"first string"},{text:"second string"}]}),o({prefix:"This is the "}),o({suffix:"of the sentence."}));var e=new Fj.A(k.current,C());return E(e),function(){_&&_.destroy()}}),[]),i?React.createElement(React.Fragment,null,React.createElement(Q.BlockControls,null,React.createElement(Q.AlignmentToolbar,{value:h,onChange:function(e){return o({textAlign:e})}})),r&&React.createElement(BI,{attributes:n,setAttributes:o}),React.createElement(qI.Edit,S,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(c," ").concat(w)},React.createElement("div",{className:"eb-typed-wrapper ".concat(c),"data-id":c},React.createElement("span",{className:"eb-typed-prefix"},l),React.createElement("span",{className:"eb-typed-text",ref:k}),React.createElement("span",{className:"eb-typed-suffix"},v))))):React.createElement("div",null)},save:function(e){var t=e.attributes,a=t.blockId,n=t.prefix,o=t.typedText,r=t.suffix,c=t.typeSpeed,l=t.startDelay,i=t.smartBackspace,s=t.backSpeed,b=t.backDelay,p=t.fadeOut,u=t.fadeOutDelay,d=t.loop,m=t.showCursor,g=t.classHook;return React.createElement(UI.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(g)},React.createElement("div",{className:"eb-typed-wrapper ".concat(a),"data-id":a},React.createElement("div",{className:"eb-typed-content","data-type-speed":c,"data-start-delay":l,"data-smart-backspace":i,"data-back-speed":s,"data-back-delay":b,"data-fade":p,"data-fade-delay":u,"data-loop":d,"data-cursor":m},React.createElement("span",{className:"eb-typed-prefix"},n),React.createElement("span",{className:"eb-typed-text-wrapper is-hidden"},o.map((function(e,t){return React.createElement("span",{key:t,className:"eb-typed-text"},e.text)}))),React.createElement("span",{className:"eb-typed-view"}),React.createElement("span",{className:"eb-typed-suffix"},r)))))},example:{attributes:{}},deprecated:JI});var QI=[{label:(0,Y.__)("Top","essential-blocks"),value:"top"},{label:(0,Y.__)("Bottom","essential-blocks"),value:"bottom"}],XI=[{label:(0,Y.__)("Full","essential-blocks"),value:"full"},{label:(0,Y.__)("Wide","essential-blocks"),value:"wide"},{label:(0,Y.__)("None","essential-blocks"),value:void 0}],$I=[{label:"px",value:"px"},{label:"em",value:"em"},{label:"vh",value:"vh"}],KI=[{label:"Top",value:"flex-start"},{label:"Center",value:"center"},{label:"Bottom",value:"flex-end"}],eA="wrpWidth",tA="wrpHeight",aA="wrpBackground",nA="wrpBrdShd",oA="wrpMargin",rA="wrpPadding",cA="wrpShapeTop",lA="wrpShapeBottom",iA=window.EBControls,sA=iA.softMinifyCssStrings,bA=iA.generateResponsiveRangeStyles,pA=iA.generateDimensionsControlStyles,uA=iA.generateBackgroundControlStyles,dA=iA.generateBorderShadowStyles,mA=iA.generateShapeDividerStyles,gA=iA.StyleComponent;function fA(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=t.isWrapperWidth,c=t.useCustomHeight,l=t.contentAlign,i=pA({controlName:oA,styleFor:"margin",attributes:t}),s=i.dimensionStylesDesktop,b=i.dimensionStylesTab,p=i.dimensionStylesMobile,u=pA({controlName:rA,styleFor:"padding",attributes:t}),d=u.dimensionStylesDesktop,m=u.dimensionStylesTab,g=u.dimensionStylesMobile,f=uA({attributes:t,controlName:aA}),y=f.backgroundStylesDesktop,v=f.hoverBackgroundStylesDesktop,h=f.backgroundStylesTab,w=f.hoverBackgroundStylesTab,k=f.backgroundStylesMobile,R=f.hoverBackgroundStylesMobile,_=f.overlayStylesDesktop,E=f.hoverOverlayStylesDesktop,C=f.overlayStylesTab,x=f.hoverOverlayStylesTab,S=f.overlayStylesMobile,B=f.hoverOverlayStylesMobile,T=f.bgTransitionStyle,N=f.ovlTransitionStyle,P=dA({controlName:nA,attributes:t}),O=P.styesDesktop,M=P.styesTab,D=P.styesMobile,j=P.stylesHoverDesktop,I=P.stylesHoverTab,A=P.stylesHoverMobile,L=P.transitionStyle,F=bA({controlName:eA,property:"width",attributes:t}),H=F.rangeStylesDesktop,z=F.rangeStylesTab,q=F.rangeStylesMobile,U=bA({controlName:tA,property:"height",attributes:t}),V=U.rangeStylesDesktop,W=U.rangeStylesTab,G=U.rangeStylesMobile,Z=mA({controlName:cA,position:"top",attributes:t}),Y=Z.desktopShapeStyle,J=Z.tabShapeStyle,Q=Z.mobShapeStyle,X=mA({controlName:lA,position:"bottom",attributes:t}),$=X.desktopShapeStyle,K=X.tabShapeStyle,ee=X.mobShapeStyle,te="\n        .eb-parent-".concat(o," {\n            ").concat(V,"\n        }\n        .eb-wrapper-outer.").concat(o," {\n            display: flex;\n            align-items: ").concat(l,";\n            justify-content: center;\n            width: 100%;\n            box-sizing: border-box;\n            ").concat(c&&"height: 100%;","\n        }\n\n        .eb-wrapper-outer.").concat(o," .eb-wrapper-inner {\n            flex: 1;\n        }\n    "),ae="\n        .eb-parent-".concat(o," {\n            ").concat(W,"\n        }\n    "),ne="\n        .eb-parent-".concat(o," {\n            ").concat(G,"\n        }\n    "),oe="\n        .eb-parent-".concat(o," {\n            position: relative;\n        }\n\t\t.eb-wrapper-align-center {\n\t\t\tmargin-right: auto !important;\n\t\t\tmargin-left: auto !important;\n\t\t}\n\n\t\t.eb-wrapper-align-right {\n\t\t\tmargin-left: auto !important;\n\t\t}\n\n\t\t.eb-wrapper-outer.").concat(o," {\n\t\t\t").concat(s,"\n\t\t\t").concat(d,"\n\t\t\t").concat(y,"\n\t\t\t").concat(O,"\n\t\t\t").concat(r?H:"","\n\t\t\tmax-width: 100%;\n\t\t\ttransition: ").concat(T,", ").concat(L,";\n\t\t}\n\n\t\t.eb-wrapper-outer.").concat(o," > .eb-wrapper-inner > .eb-wrapper-inner-blocks {\n\t\t\t").concat(r?"":H,"\n\t\t\tmax-width: 100%;\n\t\t\tposition: relative;\n\t\t}\n\n\t\t.eb-wrapper-outer.").concat(o,":hover{\n\t\t\t").concat(v,"\n\t\t\t").concat(j,"\n\t\t}\n\n\t\t.eb-wrapper-outer.").concat(o,":before{\n\t\t\t").concat(_,"\n\t\t\ttransition: ").concat(N,";\n\t\t}\n\n\t\t.eb-wrapper-outer.").concat(o,":hover:before{\n\t\t\t").concat(E,"\n\t\t}\n        ").concat(Y,"\n        ").concat($,"\n        ").concat(c?te:"","\n\t"),re="\n\t\t.eb-wrapper-outer.".concat(o," {\n\t\t\t").concat(b,"\n\t\t\t").concat(m,"\n\t\t\t").concat(h,"\n\t\t\t").concat(M,"\n            ").concat(r?z:"","\n\t\t}\n\n\t\t.eb-wrapper-outer.").concat(o," > .eb-wrapper-inner > .eb-wrapper-inner-blocks {\n\t\t\t").concat(r?"":z,"\n\t\t}\n\n\t\t.eb-wrapper-outer.").concat(o,":hover{\n\t\t\t").concat(w,"\n\t\t\t").concat(I,"\n\t\t}\n\n\t\t.eb-wrapper-outer.").concat(o,":before{\n\t\t\t").concat(C,"\n\t\t}\n\n\t\t.eb-wrapper-outer.").concat(o,":hover:before{\n\t\t\t").concat(x,"\n\t\t}\n         ").concat(J,"\n         ").concat(K,"\n         ").concat(c?ae:"","\n\t"),ce="\n\t\t.eb-wrapper-outer.".concat(o," {\n\t\t\t").concat(p,"\n\t\t\t").concat(g,"\n\t\t\t").concat(k,"\n\t\t\t").concat(D,"\n            ").concat(r?q:"","\n\t\t}\n\n\t\t.eb-wrapper-outer.").concat(o," > .eb-wrapper-inner > .eb-wrapper-inner-blocks {\n\t\t\t").concat(r?"":q,"\n\t\t}\n\n\t\t.eb-wrapper-outer.").concat(o,":hover{\n\t\t\t").concat(R,"\n\t\t\t").concat(A,"\n\t\t}\n\n\t\t.eb-wrapper-outer.").concat(o,":before{\n\t\t\t").concat(S,"\n\t\t}\n\n\t\t.eb-wrapper-outer.").concat(o,":hover:before{\n\t\t\t").concat(B,"\n\t\t}\n         ").concat(Q,"\n         ").concat(ee,"\n         ").concat(c?ne:"","\n\t"),le=sA("\n\t\t".concat(oe,"\n\t")),ie=sA("\n\t\t".concat(re,"\n\t")),se=sA("\n\t\t".concat(ce,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(gA,{attributes:t,setAttributes:a,desktopAllStyles:le,tabAllStyles:ie,mobileAllStyles:se,blockName:n}))}function yA(e){return yA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yA(e)}function vA(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function hA(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?vA(Object(a),!0).forEach((function(t){wA(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):vA(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function wA(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=yA(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=yA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==yA(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var kA=window.EBControls,RA=kA.generateResponsiveRangeAttributes,_A=kA.generateBackgroundAttributes,EA=kA.generateBorderShadowAttributes,CA=kA.generateDimensionsAttributes,xA=kA.generateShapeDividerAttributes;const SA=hA(hA(hA(hA(hA(hA(hA(hA(hA({resOption:{type:"string",default:"Desktop"},uniqueIdNumber:{type:"number"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},wrapperAlign:{type:"string",default:"center"},isWrapperWidth:{type:"boolean",default:!1},useCustomHeight:{type:"boolean",default:!1},contentAlign:{type:"string",default:"flex-start"}},RA(eA)),RA(tA)),_A(aA)),EA(nA)),CA(oA,{top:28,right:0,bottom:28,left:0,isLinked:!1})),CA(rA,{top:20,right:20,bottom:20,left:20,isLinked:!1})),xA(cA)),xA(lA)),{},{shapeDividerPosition:{type:"string",default:"top"}});var BA=window.EBControls,TA=BA.ResponsiveRangeController,NA=BA.BackgroundControl,PA=BA.BorderShadowControl,OA=BA.ResponsiveDimensionsControl,MA=BA.AdvancedControls,DA=BA.ShapeDividerControl;const jA=function(e){var t=e.attributes,a=e.setAttributes,n=t.resOption,o=t.isWrapperWidth,r=t.shapeDividerPosition,c=t.useCustomHeight,l=t.contentAlign,i=t.align,s={setAttributes:a,resOption:n,attributes:t,objAttributes:SA};return React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:(0,Y.__)("General","essential-blocks"),className:"eb-tab general"},{name:"styles",title:(0,Y.__)("Style","essential-blocks"),className:"eb-tab styles"},{name:"advance",title:(0,Y.__)("Advanced","essential-blocks"),className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls ".concat(e.name)},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("General","essential-blocks")},React.createElement(X.BaseControl,{label:(0,Y.__)("Wrapper Width","essential-blocks")},React.createElement(X.ButtonGroup,{id:"eb-button-group-alignment"},XI.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:i===e.value,isSecondary:i!==e.value,onClick:function(){return a({align:e.value})}},e.label)})))),React.createElement(TA,{baseLabel:(0,Y.__)("Content Width","essential-blocks"),controlName:eA,resRequiredProps:s,min:0,max:2560,step:1,noUnits:!0}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Use Width In Wrapper","essential-blocks"),checked:o,onChange:function(){a({isWrapperWidth:!o})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Use Custom Height","essential-blocks"),checked:c,onChange:function(){a({useCustomHeight:!c})}}),c&&React.createElement(React.Fragment,null,React.createElement(TA,{baseLabel:(0,Y.__)("Height","essential-blocks"),controlName:tA,resRequiredProps:s,min:0,max:2560,step:1,units:$I}),React.createElement(X.SelectControl,{label:(0,Y.__)("Content Alignment","essential-blocks"),value:l,options:KI,onChange:function(e){return a({contentAlign:e})}}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Shape Divider","essential-blocks"),initialOpen:!0},React.createElement(X.BaseControl,null,React.createElement(X.ButtonGroup,null,QI.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:r===e.value,isSecondary:r!==e.value,onClick:function(){return a({shapeDividerPosition:e.value})}},e.label)})))),"top"==r&&React.createElement(DA,{position:"top",controlName:cA,resRequiredProps:s}),"bottom"==r&&React.createElement(DA,{position:"bottom",controlName:lA,resRequiredProps:s}))),"styles"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,null,React.createElement(OA,{resRequiredProps:s,controlName:oA,baseLabel:(0,Y.__)("Margin","essential-blocks")}),React.createElement(OA,{resRequiredProps:s,controlName:rA,baseLabel:(0,Y.__)("Padding","essential-blocks")})),React.createElement(X.PanelBody,{title:(0,Y.__)("Background","essential-blocks"),initialOpen:!1},React.createElement(NA,{controlName:aA,resRequiredProps:s})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow","essential-blocks"),initialOpen:!1},React.createElement(PA,{controlName:nA,resRequiredProps:s}))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(MA,{attributes:t,setAttributes:a})))}))))};function IA(e){return IA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},IA(e)}function AA(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function LA(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?AA(Object(a),!0).forEach((function(t){FA(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):AA(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function FA(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=IA(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=IA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==IA(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var HA=window.EBControls,zA=HA.BlockProps,qA=HA.ShapeDividerContent;var UA=window.EBControls,VA=UA.ShapeDividerContent,WA=UA.BlockProps;function GA(e){return GA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},GA(e)}function ZA(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function YA(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ZA(Object(a),!0).forEach((function(t){JA(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ZA(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function JA(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=GA(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=GA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==GA(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var QA=window.EBControls.ShapeDividerContent;const XA=[{attributes:YA({},SA),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.wrapperAlign,o=t.isWrapperWidth,r=t.wrpShapeTopInvert,c=t.wrpShapeBottomInvert,l=t.classHook,i="center"===n?"eb-wrapper-align-center":"right"===n?"eb-wrapper-align-right":"";return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(l)},React.createElement("div",{className:"eb-wrapper-outer ".concat(a).concat(o?" ".concat(i):"")},""!=t["".concat(cA,"Type")]&&React.createElement(QA,{position:"top",style:t["".concat(cA,"Type")],negative:r}),""!=t["".concat(lA,"Type")]&&React.createElement(QA,{position:"bottom",style:t["".concat(lA,"Type")],negative:c}),React.createElement("div",{className:"eb-wrapper-inner"},React.createElement("div",{className:"eb-wrapper-inner-blocks".concat(o?"":" ".concat(i))},React.createElement(Q.InnerBlocks.Content,null))))))}},{attributes:YA({},SA),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.wrapperAlign,o=t.isWrapperWidth,r="center"===n?"eb-wrapper-align-center":"right"===n?"eb-wrapper-align-right":"";return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-wrapper-outer ".concat(a).concat(o?" ".concat(r):"")},React.createElement("div",{className:"eb-wrapper-inner"},React.createElement("div",{className:"eb-wrapper-inner-blocks".concat(o?"":" ".concat(r))},React.createElement(Q.InnerBlocks.Content,null)))))}}],$A=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Wrapper","name":"essential-blocks/wrapper","description":"This is a wrapper block for other blocks within it.","category":"essential-blocks","apiVersion":2,"textdomain":"essential-blocks","supports":{"align":["wide","full"],"anchor":true},"editorScript":"essential-blocks-editor-script"}');(0,EBControls.ebConditionalRegisterBlockType)($A,{keywords:[(0,Y.__)("wrapper","essential-blocks"),(0,Y.__)("eb essential","essential-blocks"),(0,Y.__)("container","essential-blocks")],icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"40",fill:"none",viewBox:"0 0 60 40"},React.createElement("path",{fill:"#6C3BFF",d:"M2.813 0A2.818 2.818 0 000 2.813v22.5a2.818 2.818 0 002.813 2.812h15.985c.483 6.28 5.738 11.25 12.14 11.25 6.4 0 11.656-4.97 12.14-11.25h14.11A2.818 2.818 0 0060 25.312v-22.5A2.818 2.818 0 0057.187 0H2.813zm0 1.875h54.374a.94.94 0 01.938.938v22.5a.94.94 0 01-.938.937h-14.11c-.457-5.973-5.23-10.745-11.202-11.202V4.688a.937.937 0 10-1.875 0v10.36c-5.973.457-10.745 5.23-11.202 11.202H2.813a.94.94 0 01-.938-.938v-22.5a.94.94 0 01.938-.937zM4.687 3.75a.937.937 0 100 1.875h1.875a.937.937 0 100-1.875H4.688zm11.25 0a.937.937 0 00-.937.938v18.75a.937.937 0 101.875 0V4.688a.937.937 0 00-.938-.938zm30 0a.937.937 0 00-.937.938v18.75a.937.937 0 101.875 0V4.688a.937.937 0 00-.938-.938zM4.688 8.438a.937.937 0 100 1.874h1.875a.937.937 0 100-1.874H4.688zm0 4.687a.937.937 0 100 1.875h1.875a.937.937 0 100-1.875H4.688zm26.25 3.75c5.688 0 10.313 4.625 10.313 10.313 0 5.687-4.625 10.312-10.313 10.312-5.687 0-10.312-4.625-10.312-10.313 0-5.687 4.625-10.312 10.313-10.312zm-26.25.938a.937.937 0 100 1.875h1.875a.937.937 0 100-1.875H4.688zm26.25 2.812a.937.937 0 00-.937.938v4.687h-4.688a.937.937 0 100 1.875H30v4.688a.937.937 0 101.875 0v-4.688h4.688a.937.937 0 100-1.875h-4.688v-4.688a.937.937 0 00-.938-.937zM4.688 22.5a.937.937 0 100 1.875h1.875a.937.937 0 100-1.875H4.688z"}))},attributes:SA,edit:function(e){var t=e.isSelected,a=e.attributes,n=e.setAttributes,o=(e.className,e.clientId),r=a.blockId,c=a.wrapperAlign,l=a.isWrapperWidth,i=a.classHook,s=a.wrpShapeTopInvert,b=a.wrpShapeBottomInvert,p=LA(LA({},e),{},{blockPrefix:"eb-wrapper",style:React.createElement(fA,e)}),u=(0,J.useRef)(null);(0,J.useEffect)((function(){return u.current=!0,function(){u.current=!1}}),[]),(0,J.useEffect)((function(){u.current||(n({wrpShapeTopInvert:!1}),n({wrpShapeTopInvert:!1})),u.current=!1}),[a["".concat(cA,"Type")],a["".concat(lA,"Type")]]);var d="center"===c?"eb-wrapper-align-center":"right"===c?"eb-wrapper-align-right":"";return React.createElement(React.Fragment,null,t&&React.createElement(jA,e),React.createElement(Q.BlockControls,null,React.createElement(Q.AlignmentToolbar,{value:c,onChange:function(e){return n({wrapperAlign:e})}})),React.createElement(zA.Edit,p,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(r," ").concat(i)},React.createElement("div",{className:"eb-wrapper-outer ".concat(r).concat(l?" ".concat(d):"")},""!=a["".concat(cA,"Type")]&&React.createElement(qA,{position:"top",style:a["".concat(cA,"Type")],negative:s}),""!=a["".concat(lA,"Type")]&&React.createElement(qA,{position:"bottom",style:a["".concat(lA,"Type")],negative:b}),React.createElement("div",{className:"eb-wrapper-inner"},React.createElement("div",{className:"eb-wrapper-inner-blocks".concat(l?"":" ".concat(d))},React.createElement(Q.InnerBlocks,{renderAppender:(0,$.select)("core/block-editor").getBlockOrder(o).length>0?void 0:Q.InnerBlocks.ButtonBlockAppender})))))))},save:function(e){var t=e.attributes,a=t.blockId,n=t.wrapperAlign,o=t.isWrapperWidth,r=t.wrpShapeTopInvert,c=t.wrpShapeBottomInvert,l=t.classHook,i="center"===n?"eb-wrapper-align-center":"right"===n?"eb-wrapper-align-right":"";return React.createElement(WA.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(l)},React.createElement("div",{className:"eb-wrapper-outer ".concat(a).concat(o?" ".concat(i):"")},""!=t["".concat(cA,"Type")]&&React.createElement(VA,{position:"top",style:t["".concat(cA,"Type")],negative:r}),""!=t["".concat(lA,"Type")]&&React.createElement(VA,{position:"bottom",style:t["".concat(lA,"Type")],negative:c}),React.createElement("div",{className:"eb-wrapper-inner"},React.createElement("div",{className:"eb-wrapper-inner-blocks".concat(o?"":" ".concat(i))},React.createElement(Q.InnerBlocks.Content,null))))))},deprecated:XA,example:{}});var KA="minH_",eL="maxW_",tL="clGp_",aL="clNum_",nL="wrpMrg_",oL="wrpPad_",rL="wrpBg_",cL="wrpBdS_",lL="rovP_",iL="colOrder_";function sL(e){return sL="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},sL(e)}function bL(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function pL(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?bL(Object(a),!0).forEach((function(t){uL(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):bL(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function uL(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=sL(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=sL(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==sL(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var dL=window.EBControls,mL=dL.generateDimensionsAttributes,gL=dL.generateBackgroundAttributes,fL=dL.generateBorderShadowAttributes,yL=dL.generateResponsiveRangeAttributes,vL=dL.generateResponsiveSelectControlAttributes;const hL=pL(pL(pL(pL(pL(pL(pL(pL(pL(pL({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},align:{type:"string",default:"full"},isLayoutSelected:{type:"boolean",default:!1},rowWidthName:{type:"string",default:"boxed"},rowHeightName:{type:"string",default:"default"},rowOverFlow:{type:"string"},rowAli:{type:"string"}},yL(KA,{})),yL(tL,{})),yL(eL,{defaultRange:1170,noUnits:!0})),yL(aL,{noUnits:!0})),fL(cL,{})),gL(rL,{defaultBgGradient:"linear-gradient(45deg,#7967ff,#c277f2)"})),mL(nL,{disableLeftRight:!0})),mL(oL)),vL(lL)),vL(iL));var wL=[{label:(0,Y.__)("Full Width","essential-blocks"),value:"full"},{label:(0,Y.__)("Boxed","essential-blocks"),value:"boxed"}],kL=[{label:(0,Y.__)("Default","essential-blocks"),value:"default"},{label:(0,Y.__)("Fit To Screen","essential-blocks"),value:"fit"},{label:(0,Y.__)("Min Height","essential-blocks"),value:"minH"},{label:(0,Y.__)("Equal Height","essential-blocks"),value:"equalH"}],RL=[{label:(0,Y.__)("Visible","essential-blocks"),value:"visible"},{label:(0,Y.__)("Hidden","essential-blocks"),value:"hidden"}],_L=[{label:"Default",value:""},{label:"Top",value:"flex-start"},{label:"Center",value:"center"},{label:"Bottom",value:"flex-end"}],EL=[{label:"Default",value:"default"},{label:"Reverse Columns",value:"row-reverse"},{label:"Custom Order",value:"custom"}],CL=((0,Y.__)("Start","essential-blocks"),(0,Y.__)("Center","essential-blocks"),(0,Y.__)("End","essential-blocks"),(0,Y.__)("Space-Between","essential-blocks"),(0,Y.__)("Space-around","essential-blocks"),(0,Y.__)("Space-Evenly","essential-blocks"),window.EBControls),xL=CL.ResponsiveDimensionsControl,SL=CL.ResponsiveRangeController,BL=CL.BorderShadowControl,TL=CL.BackgroundControl,NL=CL.ResponsiveSelectController,PL=CL.AdvancedControls;const OL=function(e){var t=e.attributes,a=e.setAttributes,n=t.resOption,o=t.isLayoutSelected,r=t.rowWidthName,c=t.rowHeightName,l=(t.rowOverFlow,t.rowAli),i={setAttributes:a,resOption:n,attributes:t,objAttributes:hL};return React.createElement(Q.InspectorControls,{key:"controls"},o&&React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:"General",className:"eb-tab general"},{name:"advance",title:"Advanced",className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls"+e.name},"general"===e.name&&React.createElement("div",{key:e.name},React.createElement(X.PanelBody,{title:(0,Y.__)("Row settings","essential-blocks")},React.createElement(X.BaseControl,{label:(0,Y.__)("Layout","essential-blocks")},React.createElement(X.SelectControl,{value:r,options:wL,onChange:function(e){return a({rowWidthName:e})}})),"boxed"===r&&React.createElement(SL,{noUnits:!0,baseLabel:(0,Y.__)("Max Width (px)","essential-blocks"),controlName:eL,resRequiredProps:i,min:0,max:1800,step:1}),React.createElement(SL,{noUnits:!0,baseLabel:(0,Y.__)("Columns Number","essential-blocks"),controlName:aL,resRequiredProps:i,min:1,max:6,step:1}),React.createElement(SL,{noUnits:!0,baseLabel:(0,Y.__)("Columns Gap","essential-blocks"),controlName:tL,resRequiredProps:i,min:0,max:100,step:1}),React.createElement(X.BaseControl,{label:(0,Y.__)("Height","essential-blocks")},React.createElement(X.SelectControl,{value:c,options:kL,onChange:function(e){return a({rowHeightName:e})}})),"minH"===c&&React.createElement(SL,{units:[{label:"px",value:"px"},{label:"vh",value:"vh"},{label:"vw",value:"vw"}],baseLabel:(0,Y.__)("Minimum height","essential-blocks"),controlName:KA,resRequiredProps:i,min:0,max:1500,step:1}),React.createElement(X.BaseControl,{label:(0,Y.__)("Columns Vertical Align","essential-blocks")},React.createElement(X.SelectControl,{value:l,options:_L,onChange:function(e){a({rowAli:e})}})),React.createElement(NL,{baseLabel:"Columns Order",controlName:iL,resRequiredProps:i,options:EL,resOption:n}),React.createElement(NL,{baseLabel:"Overflow",controlName:lL,resRequiredProps:i,options:RL,resOption:n}))),"advance"===e.name&&React.createElement("div",{key:e.name},React.createElement(X.PanelBody,{title:(0,Y.__)("Margin & Padding")},React.createElement(xL,{resRequiredProps:i,controlName:nL,baseLabel:"Margin",disableLeftRight:!0}),React.createElement(xL,{resRequiredProps:i,controlName:oL,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Background ","essential-blocks"),initialOpen:!1},React.createElement(TL,{controlName:rL,resRequiredProps:i})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(BL,{controlName:cL,resRequiredProps:i})),React.createElement(PL,{attributes:t,setAttributes:a})))}))))};var ML=window.EBControls,DL=ML.softMinifyCssStrings,jL=ML.generateDimensionsControlStyles,IL=ML.generateBackgroundControlStyles,AL=ML.generateBorderShadowStyles,LL=ML.generateResponsiveRangeStyles,FL=ML.generateResponsiveSelectControlStyles,HL=ML.StyleComponent;function zL(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=(t.blockMeta,t.resOption,t.isLayoutSelected,t.rowWidthName),c=t.rowHeightName,l=(t.rowOverFlow,t.rowAli),i=t.clGp_Range,s=t.TABclGp_Range,b=t.MOBclGp_Range,p=(t["".concat(aL,"Range")],t["TAB".concat(aL,"Range")],t["MOB".concat(aL,"Range")],t["".concat(iL,"Option")]),u=t["TAB".concat(iL,"Option")],d=t["MOB".concat(iL,"Option")],m=(t.classHook,FL({controlName:lL,property:"overflow",attributes:t})),g=m.selectStylesDesktop,f=m.selectStylesTab,y=m.selectStylesMobile,v=LL({controlName:KA,property:"min-height",attributes:t}),h=v.rangeStylesDesktop,w=v.rangeStylesTab,k=v.rangeStylesMobile,R=LL({controlName:eL,property:"max-width",attributes:t,customUnit:"px"}),_=R.rangeStylesDesktop,E=R.rangeStylesTab,C=R.rangeStylesMobile,x=jL({attributes:t,controlName:nL,styleFor:"margin",disableLeftRight:!0}),S=x.dimensionStylesDesktop,B=x.dimensionStylesTab,T=x.dimensionStylesMobile,N=jL({attributes:t,controlName:oL,styleFor:"padding"}),P=N.dimensionStylesDesktop,O=N.dimensionStylesTab,M=N.dimensionStylesMobile,D=IL({attributes:t,controlName:rL}),j=D.backgroundStylesDesktop,I=D.hoverBackgroundStylesDesktop,A=D.backgroundStylesTab,L=D.hoverBackgroundStylesTab,F=D.backgroundStylesMobile,H=D.hoverBackgroundStylesMobile,z=D.overlayStylesDesktop,q=D.hoverOverlayStylesDesktop,U=D.overlayStylesTab,V=D.hoverOverlayStylesTab,W=D.overlayStylesMobile,G=D.hoverOverlayStylesMobile,Z=D.bgTransitionStyle,Y=D.ovlTransitionStyle,J=AL({controlName:cL,attributes:t}),Q=J.styesDesktop,X=J.styesTab,$=J.styesMobile,K=J.stylesHoverDesktop,ee=J.stylesHoverTab,te=J.stylesHoverMobile,ae=J.transitionStyle,ne=DL("\n\n\n\t\t.".concat(o,".eb-row-root-container > *{\n\t\t\tposition:relative;\n\t\t}\n\n\t\t.").concat(o,".eb-row-root-container{\n\t\t\t").concat(g,"\n\n\t\t\t").concat(j,"\n\t\t\t").concat(S,"\n\t\t\t").concat(P,"\n\t\t\t").concat(Q,"\n\t\t\ttransition:all 0.5s, ").concat(Z,", ").concat(ae,";\n\t\t}\n\n\n\t\t.").concat(o,".eb-row-root-container:hover{\n\t\t\t").concat(I,"\n\t\t\t").concat(K,"\n\t\t}\n\n\t\t.").concat(o,".eb-row-root-container:before{\n\t\t\t").concat(z,"\n\t\t\ttransition:all 0.5s, ").concat(Y,";\n\n\t\t}\n\n\t\t.").concat(o,".eb-row-root-container:hover:before{\n\t\t\t").concat(q,"\n\n\t\t}\n\n\t")),oe=DL("\n\n\t\t.".concat(o,".eb-row-root-container{\n\t\t\t").concat(f,"\n\n\t\t\t").concat(A,"\n\t\t\t").concat(B,"\n\t\t\t").concat(O,"\n\t\t\t").concat(X,"\n\t\t}\n\n\t\t.").concat(o,".eb-row-root-container:hover{\n\t\t\t").concat(L,"\n\t\t\t").concat(ee,"\n\t\t}\n\n\t\t.").concat(o,".eb-row-root-container:before{\n\t\t\t").concat(U,"\n\n\t\t}\n\n\t\t.").concat(o,".eb-row-root-container:hover:before{\n\t\t\t").concat(V,"\n\n\t\t}\n\t")),re=DL("\n\t\t.".concat(o,".eb-row-root-container{\n\t\t\t").concat(y,"\n\n\t\t\t").concat(F,"\n\t\t\t").concat(T,"\n\t\t\t").concat(M,"\n\t\t\t").concat($,"\n\t\t}\n\n\t\t.").concat(o,".eb-row-root-container:hover{\n\t\t\t").concat(H,"\n\t\t\t").concat(te,"\n\t\t}\n\n\t\t.").concat(o,".eb-row-root-container:before{\n\t\t\t").concat(W,"\n\n\t\t}\n\n\t\t.").concat(o,".eb-row-root-container:hover:before{\n\t\t\t").concat(G,"\n\n\t\t}\n\t")),ce="\n\t\t".concat(ne,"\n\n\t\t.").concat(o,".eb-row-root-container > .eb-row-wrapper > .eb-row-inner > .block-editor-inner-blocks {\n\t\t\t").concat("boxed"===r?_:"","\n\n\t\t}\n\n\t\t.").concat(o,".eb-row-root-container > .eb-row-wrapper > .eb-row-inner > .block-editor-inner-blocks > .block-editor-block-list__layout {\n\t\t\t").concat("minH"===c?h:"fit"===c?"min-height:100vh;":"","\n\t\t\t").concat(l?"align-items:".concat(l,";"):"","\n\t\t\t").concat(i?"gap:".concat(i,"px;"):"","\n\t\t\t").concat("row-reverse"===p?"flex-flow: row-reverse;":"flex-flow: row;","\n\t\t\t").concat("equalH"===c?"align-items: unset;":"","\n\t\t}\n\n\t\t.").concat(o,".eb-row-root-container > .eb-row-wrapper > .eb-row-inner > .block-editor-inner-blocks > .block-editor-block-list__layout > .eb-column-editor-wrap{\n\t\t\tbox-sizing:border-box;\n\t\t\t").concat("minH"===c?h:"","\n\t\t\t").concat("equalH"===c?"\n\t\t\t\tdisplay:flex;\n\t\t\t\talign-items: ".concat(l,";\n\t\t\t"):"","\n\t\t}\n\t\t.").concat(o,".eb-row-root-container > .eb-row-wrapper > .eb-row-inner > .block-editor-inner-blocks > .block-editor-block-list__layout > .eb-column-editor-wrap > .eb-parent-wrapper {\n\t\t\t").concat("equalH"===c?"width: 100%;":"","\n\t\t}\n\n\t"),le="\n\t\t".concat(oe,"\n\n\t\t.").concat(o,".eb-row-root-container > .eb-row-wrapper > .eb-row-inner > .block-editor-inner-blocks {\n\t\t\t").concat("boxed"===r?E:"","\n\t\t}\n\n\t\t.").concat(o,".eb-row-root-container > .eb-row-wrapper > .eb-row-inner > .block-editor-inner-blocks > .block-editor-block-list__layout{\n\t\t\tflex-wrap: wrap;\n\t\t\t").concat("minH"===c?w:"fit"===c?"min-height:100vh":"","\n\t\t\t","gap:".concat(s,"px;"),"\n\t\t\t").concat("row-reverse"===u?"flex-flow: row-reverse; flex-wrap: wrap-reverse !important;":"flex-flow: row; flex-wrap: wrap !important;","\n\t\t}\n\n\t\t.").concat(o,".eb-row-root-container > .eb-row-wrapper > .eb-row-inner > .block-editor-inner-blocks > .block-editor-block-list__layout > .eb-column-editor-wrap{\n\t\t\t","gap:".concat(s,"px;"),"\n\t\t\t").concat("minH"===c?w||h:"","\n\t\t}\n\t"),ie="\n\t\t".concat(re,"\n\n\t\t.").concat(o,".eb-row-root-container > .eb-row-wrapper > .eb-row-inner > .block-editor-inner-blocks {\n\t\t\t").concat("boxed"===r?C:"","\n\t\t}\n\n\t\t.").concat(o,".eb-row-root-container > .eb-row-wrapper > .eb-row-inner > .block-editor-inner-blocks > .block-editor-block-list__layout{\n\t\t\t").concat("minH"===c?k:"fit"===c?"min-height:100vh":"","\n\t\t\t","gap:".concat(b,"px;"),"\n\t\t\t").concat("row-reverse"===d?"flex-flow: row-reverse; flex-wrap: wrap-reverse !important;":"flex-flow: row; flex-wrap: wrap !important;","\n\t\t}\n\n\t\t.").concat(o,".eb-row-root-container > .eb-row-wrapper > .eb-row-inner > .block-editor-inner-blocks > .block-editor-block-list__layout > .eb-column-editor-wrap{\n\t\t\t","gap:".concat(b,"px;"),"\n\t\t\t").concat("minH"===c?k||h:"","\n\t\t}\n\n\t"),se=DL("\n\t\t".concat(ne,"\n\n\t\t.").concat(o,".eb-row-root-container > .eb-row-wrapper{\n\t\t\t").concat("boxed"===r?_:"","\n\n\t\t}\n\n\t\t.").concat(o,".eb-row-root-container > .eb-row-wrapper > .eb-row-inner {\n\t\t\t").concat("minH"===c?h:"fit"===c?"min-height:100vh;":"","\n\n\t\t\t").concat(l?"align-items:".concat(l,";"):"","\n\t\t\t","gap:".concat(i,"px;"),"\n\t\t\t").concat("row-reverse"===p?"flex-flow: row-reverse;":"flex-flow: row;","\n\t\t\t").concat("equalH"===c?"align-items: unset;":"","\n\t\t}\n\n\t\t.").concat(o,".eb-row-root-container > .eb-row-wrapper > .eb-row-inner > .eb-parent-wrapper{\n\t\t\t").concat("minH"===c?h:"","\n\t\t\t").concat("equalH"===c?"\n\t\t\t\tdisplay:flex;\n\t\t\t\talign-items: ".concat(l,";\n\t\t\t"):"","\n\t\t}\n\t\t.").concat(o,".eb-row-root-container > .eb-row-wrapper > .eb-row-inner > .eb-parent-wrapper > * {\n\t\t\t").concat("equalH"===c?"width: 100%;":"","\n\t\t}\n\n\t")),be=DL("\n\t\t".concat(oe,"\n\n\n\t\t.").concat(o,".eb-row-root-container > .eb-row-wrapper{\n\t\t\t").concat("boxed"===r?E:"","\n\t\t}\n\n\t\t.").concat(o,".eb-row-root-container > .eb-row-wrapper > .eb-row-inner {\n\t\t\t").concat("minH"===c?w:"fit"===c?"min-height:100vh":"","\n\t\t\t","gap: ".concat(s,"px;"),"\n\t\t\t").concat("row-reverse"===u?"flex-flow: row-reverse; flex-wrap: wrap-reverse !important;":"flex-flow: row; flex-wrap: wrap !important;","\n\t\t}\n\n\t\t.").concat(o,".eb-row-root-container > .eb-row-wrapper > .eb-row-inner > .eb-parent-wrapper{\n\t\t\t","gap: ".concat(s,"px;"),"\n\t\t\t").concat("minH"===c?w||h:"","\n\t\t}\n\n\t")),pe=DL("\n\t\t".concat(re,"\n\n\t\t.").concat(o,".eb-row-root-container > .eb-row-wrapper{\n\t\t\t").concat("boxed"===r?C:"","\n\t\t}\n\n\t\t.").concat(o,".eb-row-root-container > .eb-row-wrapper > .eb-row-inner {\n\t\t\t").concat("minH"===c?k:"fit"===c?"min-height:100vh":"","\n\t\t\t","gap: ".concat(b,"px;"),"\n\n\t\t\t").concat("row-reverse"===d?"flex-flow: row-reverse; flex-wrap: wrap-reverse !important;":"flex-flow: row; flex-wrap: wrap !important;","\n\t\t}\n\n\t\t.").concat(o,".eb-row-root-container > .eb-row-wrapper > .eb-row-inner > .eb-parent-wrapper{\n\t\t\t","gap: ".concat(b,"px;"),"\n\t\t\t").concat("minH"===c?k||h:"","\n\t\t}\n\n\t"));return React.createElement(React.Fragment,null,React.createElement(HL,{attributes:t,setAttributes:a,desktopAllStyles:se,tabAllStyles:be,mobileAllStyles:pe,editorDesktopStyles:ce,editorTabStyles:le,editorMobileStyles:ie,blockName:n}))}function qL(e){return qL="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qL(e)}function UL(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function VL(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?UL(Object(a),!0).forEach((function(t){WL(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):UL(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function WL(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=qL(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=qL(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==qL(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function GL(e){return function(e){if(Array.isArray(e))return YL(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ZL(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ZL(e,t){if(e){if("string"==typeof e)return YL(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?YL(e,t):void 0}}function YL(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}var JL=window.EBControls,QL=(JL.duplicateBlockIdFix,JL.BlockProps),XL=JL.Icon01z1x100,$L=JL.Icon02z2x50,KL=JL.Icon03z3x33_33,eF=JL.Icon04z4x25,tF=JL.Icon05z34y66,aF=JL.Icon06z66y34,nF=JL.Icon07z25y25y50,oF=JL.Icon08z50y25y25,rF=JL.Icon09z25y50y25,cF=JL.Icon10z5x20,lF=JL.Icon11z6x16_66,iF=JL.Icon12z16y66y16,sF=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).widthArr,a=void 0===t?[]:t;return(0,nt.times)(e,(function(e){return["essential-blocks/column",{cw_Range:a[e]||20}]}))},bF=window.EBControls.BlockProps;const pF=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Row","name":"essential-blocks/row","category":"essential-blocks","description":"Create complex Row layouts with plenty of styling controls & responsive options","apiVersion":2,"textdomain":"essential-blocks","supports":{"align":["wide","full"],"html":false,"anchor":true},"editorScript":"essential-blocks-editor-script"}');function uF(e){return uF="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},uF(e)}function dF(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function mF(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?dF(Object(a),!0).forEach((function(t){gF(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):dF(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function gF(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=uF(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=uF(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==uF(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const fF=[{attributes:mF({},hL),supports:{html:!1,anchor:!0,align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"eb-row-root-container ".concat(a),"data-id":a},React.createElement("div",{className:"eb-row-wrapper"},React.createElement("div",{className:"eb-row-inner"},React.createElement(Q.InnerBlocks.Content,null))))))}},{attributes:mF({},hL),supports:{html:!1,anchor:!0,align:["wide","full"]},save:function(e){var t=e.attributes.blockId;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-row-root-container ".concat(t),"data-id":t},React.createElement("div",{className:"eb-row-wrapper"},React.createElement("div",{className:"eb-row-inner"},React.createElement(Q.InnerBlocks.Content,null)))))}},{supports:{html:!1,anchor:!0,align:["wide","full"]},attributes:(0,nt.omit)(mF(mF({},hL),{},{wrpMrg_Right:{type:"string"},wrpMrg_Left:{type:"string"},TABwrpMrg_Right:{type:"string"},TABwrpMrg_Left:{type:"string"},MOBwrpMrg_Right:{type:"string"},MOBwrpMrg_Left:{type:"string"}}),[]),save:function(e){var t=e.attributes.blockId;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-row-wrapper ".concat(t),"data-id":t},React.createElement("div",{className:"eb-row-inner"},React.createElement(Q.InnerBlocks.Content,null))))}}];(0,EBControls.ebConditionalRegisterBlockType)(pF,{icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"41",fill:"none",viewBox:"0 0 60 41"},React.createElement("path",{fill:"#6C3BFF",d:"M57.867 9.267H39c-.333-4.667-4.267-8.4-9-8.4-4.8 0-8.667 3.733-9 8.4H2.2C1 9.267.067 10.2.067 11.4v27.267c0 1.2.933 2.133 2.133 2.133h55.667c1.2 0 2.133-.933 2.133-2.133V11.533c0-1.333-1-2.266-2.133-2.266zM30 2.6c4.067 0 7.4 3.333 7.4 7.4s-3.333 7.333-7.4 7.333-7.4-3.333-7.4-7.4C22.6 5.867 25.933 2.6 30 2.6zm28.333 36c0 .267-.266.533-.533.533H2.2c-.267 0-.533-.266-.533-.533V11.533c0-.266.266-.533.533-.533h18.867c.533 4.467 4.333 8 9 8 4.666 0 8.466-3.533 9-8h18.866c.267 0 .534.267.534.533V38.6h-.134z"}),React.createElement("path",{fill:"#6C3BFF",d:"M29.2 13.667h1.667V10.8h2.8V9.133h-2.8V6.267H29.2v2.866h-2.867V10.8H29.2v2.867z"}))},attributes:hL,keywords:[(0,Y.__)("EB row","essential-blocks"),(0,Y.__)("row","essential-blocks")],edit:function(e){var t,a,n=e.attributes,o=e.setAttributes,r=e.className,c=e.clientId,l=e.isSelected,i=(t=(0,J.useState)([]),a=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,r,c,l=[],i=!0,s=!1;try{if(r=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;i=!1}else for(;!(i=(n=r.call(a)).done)&&(l.push(n.value),l.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{if(!i&&null!=a.return&&(c=a.return(),Object(c)!==c))return}finally{if(s)throw o}}return l}}(t,a)||ZL(t,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),s=i[0],b=i[1],p=n.blockId,u=(n.blockMeta,n.resOption),d=n.isLayoutSelected,m=(n.rowWidthName,n.rowHeightName,n.rowOverFlow,n.rowAli,n.clGp_Range,n.TABclGp_Range,n.MOBclGp_Range,n["".concat(aL,"Range")]),g=n["TAB".concat(aL,"Range")],f=n["MOB".concat(aL,"Range")],y=(n["".concat(iL,"Option")],n["TAB".concat(iL,"Option")],n["MOB".concat(iL,"Option")],n.classHook),v=(0,$.useSelect)((function(e){return e("core/block-editor").getBlocksByClientId(c)[0]})),h=(v.innerBlocks&&v.innerBlocks,v.innerBlocks?v.innerBlocks.length:0),w=(0,J.useRef)(h),k=(0,J.useRef)(!1),R=(0,$.useDispatch)(Q.store).replaceInnerBlocks;(0,J.useEffect)((function(){w.current=h}),[s]);var _=function(e,t,a,n){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return e.map((function(e){return(0,nt.merge)({},e,{attributes:{cw_Range:!o&&e.attributes.cw_Range?e.attributes.cw_Range:parseFloat("".concat(t)),TABcw_Range:!o&&e.attributes.TABcw_Range?e.attributes.TABcw_Range:parseFloat("".concat(a)),MOBcw_Range:!o&&e.attributes.MOBcw_Range?e.attributes.MOBcw_Range:parseFloat("".concat(n)),resOption:u}})}))},E=(0,J.useRef)(g),C=(0,J.useRef)(f);(0,J.useEffect)((function(){if("number"==typeof m&&"number"==typeof h&&"number"==typeof w.current){var e=m-w.current;w.current=m;var t,a=(100/m).toFixed(2),n=50..toFixed(2),o=100..toFixed(2),r=(0,$.select)("core/block-editor").getBlocksByClientId(c)[0],l=r&&r.innerBlocks?r.innerBlocks:[],i=GL(l);if(m>6&&(a=(100/6).toFixed(2),i=l.filter((function(e,t){if(t<=5)return e}))),"number"==typeof g&&g<=m&&(n=(100/g).toFixed(2)),"number"==typeof f&&f<=m&&(o=(100/f).toFixed(2)),e>0)k.current?(t=GL(_(i,a,n,o,!0)),k.current=!1):t=[].concat(GL(_(i,a,n,o,!0)),GL((0,nt.times)(e,(function(){return(0,K.createBlock)("essential-blocks/column",{cw_Range:parseFloat("".concat(a))})})))),R(c,t);else if(e<0){var s=GL(_(i,a,n,o,!0)).filter((function(t,a){if(a<=m-Math.abs(e))return t}));R(c,s)}else{var b=GL(_(i,a,n,o,"Desktop"!==u&&(g!=E.current?(E.current=g,!0):f!=C.current&&(C.current=f,!0))));R(c,b)}}}),[m,g,f,u]),(0,J.useEffect)((function(){"number"==typeof h&&h!=m&&(w.current=m,k.current=!0,o(WL({},"".concat(aL,"Range"),h)))}),[h]);var x=(0,J.useRef)(null),S=VL(VL({},e),{},{blockPrefix:"eb-row",style:React.createElement(zL,e)});(0,J.useEffect)((function(){var e=x.current;e&&(e.closest(".wp-block:not(.eb-guten-block-main-parent-wrapper)")||{classList:{add:function(){}}}).classList.add("marginPaddingNaai")}),[x]),(0,J.useEffect)((function(){"Desktop"==u?document.body.classList.add("eb-responsive-preview-option-Desktop"):document.body.classList.remove("eb-responsive-preview-option-Desktop")}),[u]),(0,Q.useBlockProps)({className:te()(r,"eb-guten-block-main-parent-wrapper eb-row-editor-wrap eb-row-editor-wrap-".concat(p))});var B=function(e){switch(e){case"01":b(sF(1,{widthArr:[100]})),o(WL({},"".concat(aL,"Range"),1));break;case"02":b(sF(2,{widthArr:[50,50]})),o(WL({},"".concat(aL,"Range"),2));break;case"03":b(sF(3,{widthArr:[33.33,33.33,33.33]})),o(WL({},"".concat(aL,"Range"),3));break;case"04":b(sF(4,{widthArr:[25,25,25,25]})),o(WL({},"".concat(aL,"Range"),4));break;case"05":b(sF(2,{widthArr:[34,66]})),o(WL({},"".concat(aL,"Range"),2));break;case"06":b(sF(2,{widthArr:[66,34]})),o(WL({},"".concat(aL,"Range"),2));break;case"07":b(sF(3,{widthArr:[25,25,50]})),o(WL({},"".concat(aL,"Range"),3));break;case"08":b(sF(3,{widthArr:[50,25,25]})),o(WL({},"".concat(aL,"Range"),3));break;case"09":b(sF(3,{widthArr:[25,50,25]})),o(WL({},"".concat(aL,"Range"),3));break;case"10":b(sF(5,{widthArr:[20,20,20,20,20]})),o(WL({},"".concat(aL,"Range"),5));break;case"11":b(sF(6,{widthArr:[16.666,16.666,16.666,16.666,16.666,16.666]})),o(WL({},"".concat(aL,"Range"),6));break;case"12":b(sF(3,{widthArr:[17,66,17]})),o(WL({},"".concat(aL,"Range"),3))}o({isLayoutSelected:!0})};return React.createElement(React.Fragment,null,l&&React.createElement(OL,e),React.createElement(QL.Edit,S,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(p," ").concat(y)},React.createElement("div",{className:"eb-row-root-container ".concat(p),ref:x},React.createElement("div",{className:"eb-row-wrapper for-editor-page"},React.createElement("div",{className:"eb-row-inner"},d?React.createElement(React.Fragment,null,React.createElement(Q.InnerBlocks,{templateLock:!1,template:s||[["essential-blocks/column",{cw_Range:20}],["essential-blocks/column",{cw_Range:80}]],orientation:"horizontal",allowedBlocks:["essential-blocks/column"]})):React.createElement(React.Fragment,null,React.createElement("style",null,"\n\n\t\t\t\t\t.".concat(p,".eb-row-root-container .layoutPicker{\n\t\t\t\t\t\tpadding: 30px 0px;\n\t\t\t\t\t\tbackground: #fff;\n\t\t\t\t\t\tborder: 1px dashed #ccc;\n\t\t\t\t\t\tborder-radius: 10px;\n\t\t\t\t\t}\n\n\t\t\t\t\t.").concat(p,".eb-row-root-container .layoutPicker h3{\n\t\t\t\t\t\ttext-align:center;\n\t\t\t\t\t\ttext-transform:uppercase;\n\t\t\t\t\t\tfont-size:30px;\n\t\t\t\t\t\tfont-size: 18px;\n\t\t\t\t\t\tcolor: #666;\n\t\t\t\t\t\tfont-weight: 500;\n\t\t\t\t\t}\n\n\t\t\t\t\t.").concat(p,".eb-row-root-container .layoutPicker ul.layouts{\n\t\t\t\t\t\tdisplay:flex;\n\t\t\t\t\t\tjustify-content: center;\n\t\t\t\t\t\tflex-wrap:wrap;\n\t\t\t\t\t\tmax-width:650px;\n\t\t\t\t\t\tpadding:0;\n\t\t\t\t\t\tmargin:auto;\n\t\t\t\t\t}\n\n\t\t\t\t\t.").concat(p,".eb-row-root-container .layoutPicker ul.layouts > li{\n\t\t\t\t\t\twidth: 20%;\n\t\t\t\t\t\tpadding:5px 10px;\n\t\t\t\t\t\tlist-style: none;\n\t\t\t\t\t\tbox-sizing: border-box;\n\t\t\t\t\t\tcursor:pointer;\n\t\t\t\t\t\tposition:relative;\n\t\t\t\t\t}\n\n\t\t\t\t\t.").concat(p,".eb-row-root-container .layoutPicker ul.layouts > li > h6{\n\t\t\t\t\t\tfont-size: 16px;\n\t\t\t\t\t\tfont-family:sans-sarif;\n\t\t\t\t\t\tposition: absolute;\n\t\t\t\t\t\ttop:90%;\n\t\t\t\t\t\tleft: 50px;\n\t\t\t\t\t\tdisplay:none;\n\t\t\t\t\t\tmargin: 0 !important;\n\t\t\t\t\t\tpadding: 5px 10px !important;\n\t\t\t\t\t\tz-index: 222;\n\t\t\t\t\t\ttext-transform: uppercase;\n\t\t\t\t\t\tbackground-color: #444;\n\t\t\t\t\t\tcolor: #fff;\n\t\t\t\t\t}\n\n\t\t\t\t\t.").concat(p,".eb-row-root-container .layoutPicker ul.layouts > li:nth-child(3) > h6{\n\t\t\t\t\t\tleft: 25px;\n\t\t\t\t\t}\n\n\t\t\t\t\t.").concat(p,".eb-row-root-container .layoutPicker ul.layouts > li:nth-child(4) > h6{\n\t\t\t\t\t\tleft: 0px;\n\t\t\t\t\t}\n\n\t\t\t\t\t.").concat(p,".eb-row-root-container .layoutPicker ul.layouts > li:nth-child(7) > h6,\n\t\t\t\t\t.").concat(p,".eb-row-root-container .layoutPicker ul.layouts > li:nth-child(8) > h6,\n\t\t\t\t\t.").concat(p,".eb-row-root-container .layoutPicker ul.layouts > li:nth-child(9) > h6,\n\t\t\t\t\t.").concat(p,".eb-row-root-container .layoutPicker ul.layouts > li:nth-child(12) > h6,\n\t\t\t\t\t.").concat(p,".eb-row-root-container .layoutPicker ul.layouts > li:nth-child(10) > h6\n\t\t\t\t\t{\n\t\t\t\t\t\tleft: -25px;\n\t\t\t\t\t}\n\n\t\t\t\t\t.").concat(p,".eb-row-root-container .layoutPicker ul.layouts > li:nth-child(11) > h6{\n\t\t\t\t\t\tleft: -60px;\n\t\t\t\t\t}\n\n\n\t\t\t\t\t.").concat(p,".eb-row-root-container .layoutPicker ul.layouts > li .colLayouts__st0{\n\t\t\t\t\t\tfill:#e5ebf3;\n\t\t\t\t\t}\n\n\t\t\t\t\t.").concat(p,".eb-row-root-container .layoutPicker ul.layouts > li:hover .colLayouts__st0{\n\t\t\t\t\t\tfill:#cdd6e3;\n\t\t\t\t\t}\n\n\n\t\t\t\t\t.").concat(p,".eb-row-root-container .layoutPicker ul.layouts > li:hover > h6{\n\t\t\t\t\t\tdisplay:block;\n\t\t\t\t\t}\n\n\t\t\t\t\t\t\t")),React.createElement("div",{className:"layoutPicker"},React.createElement("h3",null,"Select Column layout"),React.createElement("ul",{className:"layouts"},React.createElement("li",{onClick:function(){B("01")}},React.createElement("h6",null,"1"),React.createElement(XL,null)),React.createElement("li",{onClick:function(){B("02")}},React.createElement("h6",null,"1/2 1/2"),React.createElement($L,null)),React.createElement("li",{onClick:function(){B("03")}},React.createElement("h6",null,"1/3 1/3 1/3"),React.createElement(KL,null)),React.createElement("li",{onClick:function(){B("04")}},React.createElement("h6",null,"1/4 1/4 1/4 1/4"),React.createElement(eF,null)),React.createElement("li",{onClick:function(){B("05")}},React.createElement("h6",null,"1/3 2/3"),React.createElement(tF,null)),React.createElement("li",{onClick:function(){B("06")}},React.createElement("h6",null,"2/3 1/3"),React.createElement(aF,null)),React.createElement("li",{onClick:function(){B("07")}},React.createElement("h6",null,"1/4 1/4 2/4"),React.createElement(nF,null)),React.createElement("li",{onClick:function(){B("08")}},React.createElement("h6",null,"2/4 1/4 1/4"),React.createElement(oF,null)),React.createElement("li",{onClick:function(){B("09")}},React.createElement("h6",null,"1/4 2/4 1/4"),React.createElement(rF,null)),React.createElement("li",{onClick:function(){B("10")}},React.createElement("h6",null,"1/5 1/5 1/5 1/5 1/5"),React.createElement(cF,null)),React.createElement("li",{onClick:function(){B("11")}},React.createElement("h6",null,"1/6 1/6 1/6 1/6 1/6 1/6"),React.createElement(lF,null)),React.createElement("li",{onClick:function(){B("12")}},React.createElement("h6",null,"1/6 4/6 1/6"),React.createElement(iF,null)))))))))))},save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook;return React.createElement(bF.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"eb-row-root-container ".concat(a),"data-id":a},React.createElement("div",{className:"eb-row-wrapper"},React.createElement("div",{className:"eb-row-inner"},React.createElement(Q.InnerBlocks.Content,null))))))},deprecated:fF,example:{attributes:{}}});var yF="cw_",vF="colOrder_",hF="colMrg_",wF="colPad_",kF="colBg_",RF="colBdS_",_F="covP_";function EF(e){return EF="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},EF(e)}function CF(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function xF(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?CF(Object(a),!0).forEach((function(t){SF(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):CF(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function SF(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=EF(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=EF(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==EF(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var BF=window.EBControls,TF=BF.generateDimensionsAttributes,NF=(BF.generateTypographyAttributes,BF.generateBackgroundAttributes),PF=BF.generateBorderShadowAttributes,OF=BF.generateResponsiveRangeAttributes,MF=BF.generateResponsiveSelectControlAttributes;const DF=xF(xF(xF(xF(xF(xF(xF({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"}},OF(yF,{noUnits:!0})),OF(vF,{noUnits:!0})),{},{colAli:{type:"string"},rowOverFlow:{type:"string"}},PF(RF,{})),NF(kF,{defaultBgGradient:"linear-gradient(45deg,#7967ff,#c277f2)"})),TF(hF)),TF(wF)),MF(_F));var jF=[{label:"Default",value:""},{label:"Top",value:"flex-start"},{label:"Center",value:"center"},{label:"Bottom",value:"flex-end"}],IF=[{label:(0,Y.__)("Visible","essential-blocks"),value:"visible"},{label:(0,Y.__)("Hidden","essential-blocks"),value:"hidden"}];function AF(e){return AF="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},AF(e)}function LF(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function FF(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=AF(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=AF(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==AF(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var HF=window.EBControls,zF=HF.ResponsiveDimensionsControl,qF=HF.WithResBtns,UF=HF.BorderShadowControl,VF=HF.BackgroundControl,WF=HF.ResponsiveSelectController,GF=HF.AdvancedControls,ZF=HF.ResponsiveRangeController;const YF=function(e){var t=e.attributes,a=e.setAttributes,n=e.clientId,o=e.initColWidth,r=e.initNextColWidth,c=e.initPrevColWidth,l=e.nextBlockClientId,i=e.prevBlockClientId,s=e.setInitColWidth,b=e.setInitNextColWidth,p=e.setInitPrevColWidth,u=t.resOption,d=t.blockId,m=t["".concat(yF,"Range")],g=t["TAB".concat(yF,"Range")],f=t["MOB".concat(yF,"Range")],y=t.colAli;t.rowOverFlow,(0,J.useEffect)((function(){var e=(0,$.select)("core/block-editor").getBlock((0,$.select)("core/block-editor").getBlockParents(n).slice(-1)[0]).innerBlocks,t=e.reduce((function(e,t){return{attributes:{cw_Range:e.attributes.cw_Range+t.attributes.cw_Range}}}),{attributes:{cw_Range:0}}).attributes.cw_Range;if(100!==t){var o=function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?LF(Object(a),!0).forEach((function(t){FF(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):LF(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}({},e.reduce((function(e,t){return e.attributes.cw_Range<t.attributes.cw_Range?t:e}),{attributes:{cw_Range:0}})),r=o.clientId,c=Math.round(100*(o.attributes.cw_Range+100-t))/100;r===n?(a({cw_Range:c}),s(c)):((0,$.dispatch)("core/block-editor").updateBlockAttributes(r,{cw_Range:c}),r===l?b(c):r===i&&p(c))}return function(){var e;if((null===(e=(0,$.select)("core/block-editor").getBlock(n))||void 0===e?void 0:e.innerBlocks.length)>0)return!1}}),[]);var v={setAttributes:a,resOption:u,attributes:t,objAttributes:DF};return React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:"General",className:"eb-tab general"},{name:"advance",title:"Advanced",className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls"+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("General","essential-blocks")},React.createElement("div",{className:"responsiveRangeControllerWrapper rrcwrap-".concat(d)},React.createElement(React.Fragment,null,"Desktop"==u&&React.createElement(React.Fragment,null,React.createElement(qF,{noUnits:!0,label:(0,Y.__)("Column Width (%)"),resRequiredProps:v,controlName:yF},React.createElement(X.RangeControl,{value:m,onChange:function(e){var n=e-o,s=r-n,b=c-n;l&&(e<t.cw_Range||s>3)?((0,$.dispatch)("core/block-editor").updateBlockAttributes(l,{cw_Range:s}),a(FF({},"".concat(yF,"Range"),e))):!l&&i&&(e<t.cw_Range||b>3)&&((0,$.dispatch)("core/block-editor").updateBlockAttributes(i,{cw_Range:b}),a(FF({},"".concat(yF,"Range"),e)))},step:.1,min:1,max:100}))),"Tablet"==u&&React.createElement(qF,{noUnits:!0,label:(0,Y.__)("Column Width (%)"),resRequiredProps:v,controlName:yF},React.createElement(X.RangeControl,{value:g,onChange:function(e){return a(FF({},"TAB".concat(yF,"Range"),e))},step:.1,min:1,max:100})),"Mobile"==u&&React.createElement(qF,{noUnits:!0,label:(0,Y.__)("Column Width (%)"),resRequiredProps:v,controlName:yF},React.createElement(X.RangeControl,{value:f,onChange:function(e){return a(FF({},"MOB".concat(yF,"Range"),e))},step:.1,min:1,max:100})))),React.createElement(X.BaseControl,{label:(0,Y.__)("Vertical Align","essential-blocks")},React.createElement(X.SelectControl,{value:y,options:jF,onChange:function(e){a({colAli:e})}})),React.createElement(ZF,{noUnits:!0,baseLabel:(0,Y.__)("Column Order","essential-blocks"),controlName:vF,resRequiredProps:v,min:0,max:6,step:1}),React.createElement(WF,{baseLabel:"Overflow",controlName:_F,resRequiredProps:v,options:IF,resOption:u}))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Margin & Padding")},React.createElement(zF,{resRequiredProps:v,controlName:hF,baseLabel:"Margin"}),React.createElement(zF,{resRequiredProps:v,controlName:wF,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Background ","essential-blocks"),initialOpen:!1},React.createElement(VF,{controlName:kF,resRequiredProps:v})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(UF,{controlName:RF,resRequiredProps:v})),React.createElement(GF,{attributes:t,setAttributes:a})))}))))};var JF=window.EBControls,QF=JF.softMinifyCssStrings,XF=JF.generateDimensionsControlStyles,$F=JF.generateBackgroundControlStyles,KF=JF.generateResponsiveRangeStyles,eH=JF.generateBorderShadowStyles,tH=JF.generateResponsiveSelectControlStyles,aH=JF.StyleComponent;function nH(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=e.isColumnOrder_Custom_Desktop,r=e.isColumnOrder_Custom_Tab,c=e.isColumnOrder_Custom_Mobile,l=e.columnGap,i=e.columnNumber,s=t.blockId,b=t["".concat(yF,"Range")],p=t["TAB".concat(yF,"Range")],u=t["MOB".concat(yF,"Range")],d=t["".concat(vF,"Range")],m=t["TAB".concat(vF,"Range")],g=t["MOB".concat(vF,"Range")],f=t.colAli,y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.desktop||0,t=arguments.length>1?arguments[1]:void 0;return function(){var a=t;return a>1&&(a=t-1),e*a/t}()},v=tH({controlName:_F,property:"overflow",attributes:t}),h=v.selectStylesDesktop,w=v.selectStylesTab,k=v.selectStylesMobile,R=KF({controlName:yF,customUnit:"%",property:"width",attributes:t}),_=R.rangeStylesDesktop,E=(R.rangeStylesTab,R.rangeStylesMobile,XF({attributes:t,controlName:hF,styleFor:"margin"})),C=E.dimensionStylesDesktop,x=E.dimensionStylesTab,S=E.dimensionStylesMobile,B=XF({attributes:t,controlName:wF,styleFor:"padding"}),T=B.dimensionStylesDesktop,N=B.dimensionStylesTab,P=B.dimensionStylesMobile,O=$F({attributes:t,controlName:kF}),M=O.backgroundStylesDesktop,D=O.hoverBackgroundStylesDesktop,j=O.backgroundStylesTab,I=O.hoverBackgroundStylesTab,A=O.backgroundStylesMobile,L=O.hoverBackgroundStylesMobile,F=O.overlayStylesDesktop,H=O.hoverOverlayStylesDesktop,z=O.overlayStylesTab,q=O.hoverOverlayStylesTab,U=O.overlayStylesMobile,V=O.hoverOverlayStylesMobile,W=O.bgTransitionStyle,G=O.ovlTransitionStyle,Z=eH({controlName:RF,attributes:t}),Y=Z.styesDesktop,J=Z.styesTab,Q=Z.styesMobile,X=Z.stylesHoverDesktop,$=Z.stylesHoverTab,K=Z.stylesHoverMobile,ee=Z.transitionStyle,te=QF("\n\t\t.".concat(s,".eb-column-wrapper > .eb-column-inner > *{\n\t\t\tposition:relative;\n\t\t}\n\n\t\t.").concat(s,".eb-column-wrapper > .eb-column-inner:before{\n\t\t\t").concat(F,"\n\t\t\ttransition: all .5s, ").concat(G,";\n\t\t}\n\n\t\t.").concat(s,".eb-column-wrapper > .eb-column-inner:hover:before{\n\t\t\t").concat(H,"\n\t\t}\n\t")),ae=QF("\n\t\t.".concat(s,".eb-column-wrapper > .eb-column-inner:before{\n\t\t\t").concat(z,"\n\t\t}\n\n\t\t.").concat(s,".eb-column-wrapper > .eb-column-inner:hover:before{\n\t\t\t").concat(q,"\n\t\t}\n\t")),ne=QF("\n\t\t.".concat(s,".eb-column-wrapper > .eb-column-inner:before{\n\t\t\t").concat(U,"\n\t\t}\n\n\t\t.").concat(s,".eb-column-wrapper > .eb-column-inner:hover:before{\n\t\t\t").concat(V,"\n\t\t}\n\t")),oe="\n\t\t".concat(te,"\n\t\t.eb-row-wrapper .eb-guten-block-main-parent-wrapper.eb-column-editor-wrap.eb-column-editor-wrap-").concat(s,"{\n\t\t\t").concat(f?"align-self:".concat(f," !important;"):"","\n\t\t\t").concat(_,"\n\t\t\t").concat(o&&void 0!==d?"order: ".concat(d,";"):"order: unset;","\n\t\t\t").concat(h,"\n\t\t}\n\n        .eb-row-wrapper .eb-guten-block-main-parent-wrapper.eb-column-editor-wrap .eb-parent-").concat(s," {\n            ").concat(C,"\n\t\t\t").concat(T,"\n\t\t\t").concat(M,"\n\t\t\t").concat(Y,"\n\t\t\ttransition: all .5s, ").concat(W,", ").concat(ee,";\n        }\n\n\n\t\t.eb-row-wrapper .eb-guten-block-main-parent-wrapper.eb-column-editor-wrap .eb-parent-").concat(s,":hover{\n\t\t\t").concat(D,"\n\t\t\t").concat(X,"\n\t\t}\n\t"),re="\n\t\t".concat(ae,"\n\t\t.eb-row-wrapper .eb-guten-block-main-parent-wrapper.eb-column-editor-wrap.eb-column-editor-wrap-").concat(s,"{\n\t\t\twidth: calc(").concat(p||(100!==b?50:100),"% - ").concat(y(l.tab,i.tab),"px);\n\n\t\t\t").concat(r&&void 0!==m?"order: ".concat(m,";"):"order: unset;","\n\t\t\t").concat(w,"\n\t\t}\n\n        .eb-row-wrapper .eb-guten-block-main-parent-wrapper.eb-column-editor-wrap .eb-parent-").concat(s," {\n            ").concat(x,"\n\t\t\t").concat(N,"\n\t\t\t").concat(j,"\n\t\t\t").concat(J,"\n        }\n\t\t.eb-row-wrapper .eb-guten-block-main-parent-wrapper.eb-column-editor-wrap .eb-parent-").concat(s,":hover{\n\t\t\t").concat(I,"\n\t\t\t").concat($,"\n\t\t}\n\t"),ce="\n\t\t".concat(ne,"\n\t\t.eb-row-wrapper .eb-guten-block-main-parent-wrapper.eb-column-editor-wrap.eb-column-editor-wrap-").concat(s,"{\n\t\t\twidth: calc(").concat(u||100,"% - ").concat(y(l.mobile,i.mobile),"px);\n\n\t\t\t").concat(c&&void 0!==g?"order: ".concat(g,";"):"order: unset;","\n\t\t\t").concat(k,"\n\t\t}\n        .eb-row-wrapper .eb-guten-block-main-parent-wrapper.eb-column-editor-wrap .eb-parent-").concat(s," {\n            ").concat(S,"\n\t\t\t").concat(P,"\n\t\t\t").concat(A,"\n\t\t\t").concat(Q,"\n        }\n\t\t.eb-row-wrapper .eb-guten-block-main-parent-wrapper.eb-column-editor-wrap .eb-parent-").concat(s,":hover{\n\t\t\t").concat(L,"\n\t\t\t").concat(K,"\n\t\t}\n\t"),le=QF("\n\t\t".concat(te,"\n\n        .root-").concat(s," {\n            ").concat(f?"align-self:".concat(f," !important;"):"","\n            ").concat(_,"\n            ").concat(o&&void 0!==d?"order: ".concat(d,";"):"order: unset;","\n\t\t\t").concat(h,"\n        }\n\n\t\t.eb-parent-").concat(s,"{\n\t\t\t").concat(C,"\n\t\t\t").concat(T,"\n\t\t\t").concat(M,"\n\t\t\t").concat(Y,"\n\t\t\ttransition: all .5s, ").concat(W,", ").concat(ee,";\n\t\t}\n\t\t.eb-parent-").concat(s,":hover{\n\t\t\t").concat(D,"\n\t\t\t").concat(X,"\n\t\t}\n\t")),ie=QF("\n\t\t".concat(ae,"\n\n        .root-").concat(s," {\n            width: calc(").concat(p||(100!==b?50:100),"% - ").concat(y(l.tab,i.tab),"px);\n\n\t\t\t").concat(r&&void 0!==m?"order: ".concat(m,";"):"order: unset;","\n\t\t\t").concat(w,"\n        }\n\n\t\t.eb-parent-").concat(s,"{\n\t\t\t").concat(x,"\n\t\t\t").concat(N,"\n\t\t\t").concat(j,"\n\t\t\t").concat(J,"\n\t\t}\n\t\t.eb-parent-").concat(s,":hover{\n\t\t\t").concat(I,"\n\t\t\t").concat($,"\n\t\t}\n\t")),se=QF("\n\t\t".concat(ne,"\n\n        .root-").concat(s," {\n            width: calc(").concat(u||100,"% - ").concat(y(l.mobile,i.mobile),"px);\n\n\t\t\t").concat(c&&void 0!==g?"order: ".concat(g,";"):"order: unset;","\n\t\t\t").concat(k,"\n        }\n\n\t\t.eb-parent-").concat(s,"{\n\t\t\t").concat(S,"\n\t\t\t").concat(P,"\n\t\t\t").concat(A,"\n\t\t\t").concat(Q,"\n\t\t}\n\t\t.eb-parent-").concat(s,":hover{\n\t\t\t").concat(L,"\n\t\t\t").concat(K,"\n\t\t}\n\t"));return React.createElement(React.Fragment,null,React.createElement(aH,{attributes:t,setAttributes:a,desktopAllStyles:le,tabAllStyles:ie,mobileAllStyles:se,editorDesktopStyles:oe,editorTabStyles:re,editorMobileStyles:ce,blockName:n}))}function oH(e){return oH="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},oH(e)}function rH(){return rH=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},rH.apply(null,arguments)}function cH(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function lH(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?cH(Object(a),!0).forEach((function(t){iH(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):cH(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function iH(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=oH(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=oH(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==oH(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function sH(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,r,c,l=[],i=!0,s=!1;try{if(r=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;i=!1}else for(;!(i=(n=r.call(a)).done)&&(l.push(n.value),l.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{if(!i&&null!=a.return&&(c=a.return(),Object(c)!==c))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return bH(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?bH(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function bH(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}var pH=window.EBControls,uH=(pH.duplicateBlockIdFix,pH.BlockProps),dH=window.EBControls.BlockProps;const mH=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Column","name":"essential-blocks/column","description":"A single column within a Row block.","category":"essential-blocks","apiVersion":2,"textdomain":"essential-blocks","parent":["essential-blocks/row"],"supports":{"inserter":false,"reusable":false,"html":false}}');function gH(e){return gH="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gH(e)}function fH(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function yH(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?fH(Object(a),!0).forEach((function(t){vH(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):fH(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function vH(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=gH(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=gH(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==gH(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const hH=[{attributes:yH({},DF),supports:{inserter:!1,reusable:!1,html:!1},save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=Q.useBlockProps.save();return React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n," ").concat(o.className)},React.createElement("div",{className:"eb-column-wrapper ".concat(a)},React.createElement("div",{className:"eb-column-inner"},React.createElement(Q.InnerBlocks.Content,null)))))}},{attributes:yH({},DF),supports:{inserter:!1,reusable:!1,html:!1},save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook;return React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"eb-column-wrapper ".concat(a)},React.createElement("div",{className:"eb-column-inner"},React.createElement(Q.InnerBlocks.Content,null)))))}},{attributes:yH({},DF),supports:{inserter:!1,reusable:!1,html:!1},save:function(e){var t=e.attributes.blockId;return React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-column-wrapper ".concat(t)},React.createElement("div",{className:"eb-column-inner"},React.createElement(Q.InnerBlocks.Content,null))))}}];(0,EBControls.ebConditionalRegisterBlockType)(mH,{icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"60",fill:"none",viewBox:"0 0 60 60"},React.createElement("path",{fill:"#6C3BFF",fillRule:"evenodd",d:"M3.4 4.462c0-.587.475-1.062 1.062-1.062h15.03v53.385H4.462A1.061 1.061 0 013.4 55.723V4.462zm18.492 52.323h16.6V3.4h-16.6v53.385zm19-53.385v53.385h14.831c.586 0 1.062-.476 1.062-1.062V4.462c0-.587-.476-1.062-1.062-1.062h-14.83zM4.462 1A3.462 3.462 0 001 4.462v51.261a3.462 3.462 0 003.462 3.462h51.261a3.462 3.462 0 003.462-3.462V4.462A3.462 3.462 0 0055.723 1H4.462z",clipRule:"evenodd"}))},attributes:DF,edit:function(e){var t=e.attributes,a=e.setAttributes,n=e.className,o=e.clientId,r=e.isSelected,c=t.blockId,l=(t.blockMeta,t.resOption,t["".concat(yF,"Range")]),i=(t["TAB".concat(yF,"Range")],t["MOB".concat(yF,"Range")],t["".concat(vF,"Range")],t["TAB".concat(vF,"Range")],t["MOB".concat(vF,"Range")],t.colAli,t.rowOverFlow,t.classHook),s=sH((0,J.useState)(!1),2),b=s[0],p=s[1],u=sH((0,J.useState)(0),2),d=u[0],m=u[1],g=sH((0,J.useState)(0),2),f=g[0],y=g[1],v=sH((0,J.useState)(0),2),h=v[0],w=v[1],k=sH((0,J.useState)(0),2),R=k[0],_=k[1],E=sH((0,J.useState)(0),2),C=E[0],x=E[1],S=sH((0,J.useState)(!1),2),B=S[0],T=S[1],N=sH((0,J.useState)(!1),2),P=N[0],O=N[1],M=(0,J.useRef)(null),D=(0,J.useRef)(null);(0,J.useEffect)((function(){var e=(0,$.select)("core/block-editor").getAdjacentBlockClientId(o)||!1,t=e?(0,$.select)("core/block-editor").getBlockAttributes(e).cw_Range:0,a=(0,$.select)("core/block-editor").getPreviousBlockClientId(o)||!1,n=a?(0,$.select)("core/block-editor").getBlockAttributes(a).cw_Range:0,r=(0,$.select)("core/block-editor").getBlockInsertionPoint(o).index;m(t),y(r),w(l),T(e),O(a),_(t),x(n)}),[f]);var j=(0,$.select)("core/block-editor").getBlockInsertionPoint(o).index;j!==f&&y(j);var I=sH((0,J.useState)(!1),2),A=I[0],L=I[1],F=sH((0,J.useState)(!1),2),H=F[0],z=F[1],q=sH((0,J.useState)(!1),2),U=q[0],V=q[1],W=sH((0,J.useState)({desktop:0,tab:0,mobile:0}),2),G=W[0],Z=W[1],Y=sH((0,J.useState)({desktop:1,tab:1,mobile:1}),2),X=Y[0],K=Y[1],ee=(0,$.select)("core/block-editor").getBlockParents(o),ae=(0,$.useSelect)((function(e){return e("core/block-editor").getBlock(ee[ee.length-1])}));(0,J.useEffect)((function(){if(!ae||!ae.attributes)return function(){};var e=ae.attributes,t=e.colOrder_Option,a=e.TABcolOrder_Option,n=e.MOBcolOrder_Option,o=e.clGp_Range,r=e.TABclGp_Range,c=e.MOBclGp_Range,l=e.clNum_Range,i=e.TABclNum_Range,s=e.MOBclNum_Range;L("custom"===t),z("custom"===a),V("custom"===n),Z({desktop:o,tab:r,mobile:c}),K({desktop:l,tab:i||2,mobile:s||1})}),[ae]);var ne=lH(lH({},e),{},{blockPrefix:"eb-column",rootClass:"eb-guten-block-main-parent-wrapper eb-column-editor-wrap eb-column-editor-wrap-".concat(c),style:React.createElement(nH,rH({},e,{isColumnOrder_Custom_Desktop:A,isColumnOrder_Custom_Tab:H,isColumnOrder_Custom_Mobile:U,columnGap:G,columnNumber:X}))});return(0,Q.useBlockProps)({className:te()(n,"eb-guten-block-main-parent-wrapper eb-column-editor-wrap eb-column-editor-wrap-".concat(c))}),(0,J.useEffect)((function(){var e=M.current,t=D.current;if(t&&e){var n=function(t){var n=(0,$.select)("core/block-editor").getBlock((0,$.select)("core/block-editor").getBlockParents(o).slice(-1)[0]).innerBlocks,i=n.reduce((function(e,t){return{attributes:{cw_Range:e.attributes.cw_Range+t.attributes.cw_Range}}}),{attributes:{cw_Range:0}}).attributes.cw_Range,s=B?(0,$.select)("core/block-editor").getBlockAttributes(B).cw_Range:0,b=l,u="";if(100!==i){var d=lH({},n.reduce((function(e,t){return e.attributes.cw_Range<t.attributes.cw_Range?t:e}),{attributes:{cw_Range:0}}));u=d.clientId;var g=d.attributes.cw_Range+100-i;u===o?(a({cw_Range:g}),w(g),b=g):((0,$.dispatch)("core/block-editor").updateBlockAttributes(u,{cw_Range:g}),u===B?(s=g,_(g)):u===P&&x(g))}if(p(!0),(0,$.select)("core/block-editor").getSelectedBlockCount()>1)return!1;m(s);var f=e.parentElement.getBoundingClientRect();if(r=f.width,c=l/r,eb_conditional_localize&&"edit-site"===eb_conditional_localize.editor_type){var y=document.querySelector("iframe.edit-site-visual-editor__editor-canvas").contentWindow.document.body;y.addEventListener("mousemove",C),y.addEventListener("mouseup",E)}else window.addEventListener("mousemove",C),window.addEventListener("mouseup",E);var v=t.clientX,h=0,k=0,R=0;function E(e){if(p(!1),eb_conditional_localize&&"edit-site"===eb_conditional_localize.editor_type){var t=document.querySelector("iframe.edit-site-visual-editor__editor-canvas").contentWindow.document.body;t.removeEventListener("mousemove",C),t.removeEventListener("mouseup",E)}else window.removeEventListener("mousemove",C),window.removeEventListener("mouseup",E)}function C(e){h=v-e.clientX;var t=Math.round(100*(b-h*c)),n=Math.round(100*(s+h*c)),o=t/100,r=0;if(t%500>460){var l=Math.ceil(o);r=l-o,o=l}else if(t%500<70){var i=Math.floor(o);r=i-o,o=i}var p=(n-Math.round(100*r))/100;if(p<4||o<4)return!1;k=o,R=p,(0,$.dispatch)("core/block-editor").updateBlockAttributes(B,{cw_Range:R}),m(R),a({cw_Range:k})}},r=0,c=0;return t.addEventListener("mousedown",n),function(){t.removeEventListener("mousedown",n)}}}),[D,l,M,B,P,b]),React.createElement(React.Fragment,null,r&&React.createElement(YF,rH({},e,{colWrap:M,initColWidth:h,initNextColWidth:R,initPrevColWidth:C,nextBlockClientId:B,prevBlockClientId:P,setInitColWidth:w,setInitNextColWidth:_,setInitPrevColWidth:x})),React.createElement(uH.Edit,ne,B&&React.createElement("div",{className:"width-dragger-change",ref:D},React.createElement("div",{className:"dragger-inner"},b?React.createElement("div",{className:"cols-width-tooltip"},React.createElement("span",null,Math.round(100*l)/100),React.createElement("span",{className:"dashicons dashicons-leftright"}),React.createElement("span",null,Math.round(100*d)/100)):React.createElement("span",{className:"dashicons dashicons-leftright"}))),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(c," ").concat(i)},React.createElement("div",{className:"eb-column-wrapper ".concat(c),ref:M},React.createElement("div",{className:"eb-column-inner"},React.createElement(Q.InnerBlocks,{orientation:"vertical",templateLock:!1,renderAppender:(0,$.select)("core/block-editor").getBlockOrder(o).length>0?void 0:Q.InnerBlocks.ButtonBlockAppender}))))))},save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook;return React.createElement(React.Fragment,null,React.createElement(dH.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"eb-column-wrapper ".concat(a)},React.createElement("div",{className:"eb-column-inner"},React.createElement(Q.InnerBlocks.Content,null))))))},example:{attributes:{}},deprecated:hH});const wH=window.wp.date;var kH=a(900),RH="wrpMargin",_H="wrpPadding",EH="wrpBorderShadow",CH="wrpBG",xH="columns",SH="columnGap",BH="columnPadding",TH="columnMediaWidth",NH="columnBG",PH="columnBorderShadow",OH="thumbnailImageSize",MH="thumbnailBDR",DH="thumbnailMargin",jH="titleMargin",IH="contentMargin",AH="readmoreMargin",LH="readmorePadding",FH="readMoreBorderShadow",HH="headerMetaMargin",zH="footerMetaMargin",qH="headerMetaSpace",UH="footerMetaSpace",VH="avatarBDR",WH="loadMorePadding",GH="loadMoreMargin",ZH="loadMoreBorderShadow",YH="filterMargin",JH="filterItmPadding",QH="filterItmBdrShdw",XH="filterItemGap",$H="iconSize",KH="iconSpace",ez=[{label:"px",value:"px"},{label:"em",value:"em"},{label:"%",value:"%"}],tz=[{label:"px",value:"px"},{label:"em",value:"em"},{label:"vh",value:"vh"}],az=[{label:"Normal",value:"normal"},{label:"Hover",value:"hover"}],nz=[{label:"Normal",value:"normal"},{label:"Hover",value:"hover"},{label:"Active",value:"active"}],oz=[{label:"H1",value:"h1"},{label:"H2",value:"h2"},{label:"H3",value:"h3"},{label:"H4",value:"h4"},{label:"H5",value:"h5"},{label:"H6",value:"h6"},{label:"P",value:"p"}],rz=((0,Y.__)("Style 1","essential-blocks"),(0,Y.__)("Style 2","essential-blocks"),(0,Y.__)("Style 3","essential-blocks"),(0,Y.__)("Style 4 (List View)"),(0,Y.__)("Style 5 (Content Overlay)"),(0,Y.__)("Style 6 (Pro)","essential-blocks"),(0,Y.__)("Style 7 (Pro)","essential-blocks"),(0,Y.__)("Style 8 (Pro)","essential-blocks"),[{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignleft"})),value:"left"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignright"})),value:"right"}]),cz=[{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignleft"})),value:"flex-start"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignright"})),value:"flex-end"}],lz=[{label:"Top",value:"flex-start"},{label:"Middle",value:"center"},{label:"Bottom",value:"flex-end"}],iz=[{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignleft"})),value:"left"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignright"})),value:"right"}],sz="ebpg_title",bz="ebpg_content",pz="ebpg_readmore",uz="ebpg_meta",dz="ebpg_load_more",mz="ebpg_filter_item",gz="ebpg_search_input",fz="ebpg_searchContent",yz="ebpg_searchTitle",vz="notFound";function hz(e){return hz="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},hz(e)}function wz(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function kz(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?wz(Object(a),!0).forEach((function(t){Rz(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):wz(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Rz(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=hz(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=hz(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==hz(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var _z=window.EBControls,Ez=_z.generateDimensionsAttributes,Cz=_z.generateTypographyAttributes,xz=_z.generateBackgroundAttributes,Sz=_z.generateBorderShadowAttributes,Bz=_z.generateResponsiveRangeAttributes,Tz=_z.generateResponsiveAlignAttributes;const Nz=kz(kz(kz(kz(kz(kz(kz(kz(kz(kz(kz(kz(kz(kz(kz(kz(kz(kz(kz(kz(kz(kz(kz(kz(kz(kz(kz(kz(kz(kz(kz(kz(kz(kz(kz(kz(kz(kz(kz(kz(kz(kz(kz(kz(kz(kz({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},version:{type:"string"},queryData:{type:"object"},queryResults:{type:"array"},postTerms:{type:"object",default:{}},preset:{type:"string",default:"style-1"},showThumbnail:{type:"boolean",default:!0},thumbnailOverlayColor:{type:"string",default:"rgba(0 0 0 / 0)"},thumbnailOverlayHoverColor:{type:"string",default:"rgba(0 0 0 / 0.5)"},thumbnailSize:{type:"string"},styleVerticalAlignment:{type:"string",default:"flex-start"},showTitle:{type:"boolean",default:!0},titleColor:{type:"string",default:"var(--eb-global-heading-color)"},titleHoverColor:{type:"string",default:"var(--eb-global-link-color)"},titleColorStyle:{type:"string",default:"normal"},titleLength:{type:"number"},titleTextAlign:{type:"string",default:"left"},titleTag:{type:"string",default:"h2"},showContent:{type:"boolean",default:!0},contentColor:{type:"string",default:"var(--eb-global-text-color)"},contentTextAlign:{type:"string",default:"left"},contentLength:{type:"number",default:20},expansionIndicator:{type:"string",default:"..."},showReadMore:{type:"boolean",default:!1},readmoreText:{type:"string",default:"Read More"},readmoreColor:{type:"string",default:"var(--eb-global-tertiary-color)"},readmoreBGColor:{type:"string"},readmoreTextAlign:{type:"string",default:"left"},readmoreHoverColor:{type:"string",default:"var(--eb-global-secondary-color)"},readmoreBGHoverColor:{type:"string"},readmoreColorType:{type:"string",default:"normal"},showMeta:{type:"boolean",default:!0},headerMeta:{type:"string",default:'[{"value":"category","label":"Categories"}]'},footerMeta:{type:"string",default:'[{"value":"avatar","label":"Author Avatar"},{"value":"author","label":"Author Name"},{"value":"date","label":"Published Date"}]'},authorPrefix:{type:"string",default:"by"},datePrefix:{type:"string",default:"on"},headerMetaTextAlign:{type:"string",default:"left"},footerMetaTextAlign:{type:"string",default:"left"},authorMetaColor:{type:"string",default:"var(--eb-global-secondary-color)"},authorMetaHoverColor:{type:"string",default:"var(--eb-global-primary-color)"},metaColorType:{type:"string",default:"normal"},commonMetaColor:{type:"string",default:"var(--eb-global-text-color)"},commonMetaHoverColor:{type:"string",default:"var(--eb-global-text-color)"},commonMetaBgColor:{type:"string",default:"var(--eb-global-secondary-color)"},commonMetaBgHoverColor:{type:"string",default:"var(--eb-global-primary-color)"},categoryMetaColor:{type:"string",default:"var(--eb-global-button-text-color)"},categoryMetaHoverColor:{type:"string",default:"var(--eb-global-button-text-color)"},categoryMetaBgColor:{type:"string",default:"var(--eb-global-secondary-color)"},categoryMetaBgHoverColor:{type:"string",default:"var(--eb-global-primary-color)"},tagMetaColor:{type:"string",default:"var(--eb-global-button-text-color)"},tagMetaHoverColor:{type:"string",default:"var(--eb-global-button-text-color)"},tagMetaBgColor:{type:"string",default:"var(--eb-global-tertiary-color)"},tagMetaBgHoverColor:{type:"string",default:"var(--eb-global-secondary-color)"},dateMetaColor:{type:"string",default:"var(--eb-global-tertiary-color)"},loadMoreOptions:{type:"object"},loadMoreColorType:{type:"string",default:"normal"},loadMoreColor:{type:"string",default:"var(--eb-global-button-text-color)"},loadMoreBgColor:{type:"string",default:"var(--eb-global-button-background-color)"},loadMoreHoverColor:{type:"string",default:"var(--eb-global-button-text-color)"},loadMoreHoverBgColor:{type:"string",default:"var(--eb-global-tertiary-color)"},loadMoreActiveColor:{type:"string",default:"var(--eb-global-button-text-color)"},loadMoreActiveBgColor:{type:"string",default:"var(--eb-global-tertiary-color)"},ReadTimeMetaColor:{type:"string",default:"var(--eb-global-secondary-color)"},dynamicMetaColor:{type:"string",default:"var(--eb-global-secondary-color)"},dynamicMetaBgColor:{type:"string"},showTaxonomyFilter:{type:"boolean",default:!1},selectedTaxonomy:{type:"string"},selectedTaxonomyItems:{type:"string",default:'[{"value":"all","label":"All"}]'},filterColorStyle:{type:"stroing",default:"normal"},filterBgColor:{type:"string",default:"var(--eb-global-background-color)"},filterTextColor:{type:"string",default:"var(--eb-global-primary-color)"},filterActiveBgColor:{type:"string",default:"var(--eb-global-primary-color)"},filterActiveTextColor:{type:"string",default:"var(--eb-global-button-text-color)"},filterHoverBgColor:{type:"string",default:"var(--eb-global-primary-color)"},filterHoverTextColor:{type:"string",default:"var(--eb-global-button-text-color)"},showSearch:{type:"boolean",default:!1},enableAjaxSearch:{type:"boolean",default:!1},searchBgColor:{type:"string"},btnColorType:{type:"string",default:"normal"},inputColor:{type:"string",default:"#666666"},placeholderColor:{type:"string",default:"#949494"},textHoverColor:{type:"string"},textFocusColor:{type:"string"},placeholderHoverColor:{type:"string"},iconColor:{type:"string",default:"#949494"},closeIconColor:{type:"string",default:"#dc4444"},loaderColor:{type:"string",default:"#444b54"},searchResultBoxColor:{type:"string",default:"#FFFFFF"},contentColorType:{type:"string",default:"normal"},contentBgColor:{type:"string",default:"#ffffff"},contentHoverBgColor:{type:"string",default:"#ffffff"},contentTitleColor:{type:"string"},contentTitleHoverColor:{type:"string",default:"#5959E8"},contentHoverColor:{type:"string",default:"#b2b9c6"},notFoundColor:{type:"string",default:"#000000"},taxonomyBgColor:{type:"string",default:"#ffffff"},addIcon:{type:"boolean",default:!1},icon:{type:"string",default:"fas fa-chevron-right"},iconPosition:{type:"string",default:"left"},contentLists:{type:"array",default:["thumbnail","title","excerpt","button","meta"]},enableContents:{type:"array",default:["thumbnail","title","excerpt","headerMeta","footerMeta"]},enableThumbnailSort:{type:"boolean",default:!0},defaultFilter:{type:"string"}},Ez("searchContentPadding",{top:0,bottom:0,right:0,left:0,isLinked:!0})),Ez("searchContentMargin",{top:0,bottom:20,right:0,left:0,isLinked:!1})),Sz("searchContentBrd",{defaultBdrStyle:"none",bdrDefaults:{top:0,bottom:0,right:0,left:0},rdsDefaults:{top:5,bottom:5,right:5,left:5},noShadow:!0})),Tz("noSearchAlignment",{defaultAlign:"center"})),Sz("searchResultBrd",{defaultBdrStyle:"none",bdrDefaults:{top:0,bottom:0,right:0,left:0},rdsDefaults:{top:5,bottom:5,right:5,left:5},noShadow:!0})),Ez("searchResultPadding",{top:30,bottom:30,right:30,left:30,isLinked:!1})),Bz("searchResultWidth",{defaultRange:100,defaultUnit:"%"})),Bz("inputHeight",{})),Bz("iconWidth",{defaultRange:30})),Ez("inputPadding",{top:10,bottom:10,right:10,left:10,isLinked:!0})),Ez("taxonomyPadding",{top:10,bottom:10,right:10,left:10,isLinked:!0})),Sz("inputBrd",{defaultBdrColor:"#C9D8EB",defaultBdrStyle:"solid",bdrDefaults:{top:1,bottom:1,right:1,left:1},rdsDefaults:{top:5,bottom:5,right:5,left:5}})),Sz("taxonomyBorder",{defaultBdrColor:"#C9D8EB",defaultBdrStyle:"solid",bdrDefaults:{top:1,bottom:1,right:1,left:1},rdsDefaults:{top:5,bottom:5,right:5,left:5}})),Ez(WH,{top:5,bottom:5,right:10,left:10,isLinked:!1})),Ez(GH,{top:10,bottom:10,right:5,left:5,isLinked:!1})),Sz(ZH,{noShadow:!0,defaultBdrColor:"#c3c3c3",defaultBdrStyle:"solid",bdrDefaults:{top:1,right:1,bottom:1,left:1},rdsDefaults:{top:4,right:4,bottom:4,left:4}})),Sz(FH,{noShadow:!0,defaultBdrColor:"#F445FF",defaultBdrStyle:"none",bdrDefaults:{top:1,right:1,bottom:1,left:1},rdsDefaults:{top:0,right:0,bottom:0,left:0}})),Cz(Object.values(x))),Ez(RH)),Ez(_H)),Ez(BH)),Ez(jH,{top:0,bottom:10,right:0,left:0,isLinked:!1})),Ez(IH,{top:0,bottom:10,right:0,left:0,isLinked:!1})),Ez(AH,{top:0,bottom:10,right:0,left:0,isLinked:!1})),Ez(LH,{top:0,bottom:0,right:0,left:0,isLinked:!1})),Ez(HH,{top:0,bottom:10,right:0,left:0,isLinked:!1})),Ez(zH,{top:0,bottom:10,right:0,left:0,isLinked:!1})),Ez(DH,{top:0,bottom:10,right:0,left:0,isLinked:!1})),Ez(YH,{top:0,bottom:20,right:0,left:0,isLinked:!1})),Ez(JH,{top:10,bottom:10,right:20,left:20,isLinked:!1})),Ez(MH)),Ez(VH,{top:50,bottom:50,right:50,left:50,isLinked:!0})),Sz(EH,{})),Sz(PH,{})),Sz(QH,{})),xz(CH,{noOverlay:!0})),xz(NH)),Bz(xH,{defaultRange:3})),Bz(SH,{defaultRange:10})),Bz(qH,{defaultRange:10})),Bz(UH,{defaultRange:10})),Bz(OH,{defaultRange:250})),Bz(TH,{defaultRange:40,defaultUnit:"%"})),Bz(XH,{defaultRange:10})),{},{cover:{type:"string",default:""}},Bz($H,{noUnits:!0})),Bz(KH,{defaultRange:8,noUnits:!0}));function Pz(e){return function(e){if(Array.isArray(e))return jz(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Dz(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Oz(e){return Oz="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Oz(e)}function Mz(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,r,c,l=[],i=!0,s=!1;try{if(r=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;i=!1}else for(;!(i=(n=r.call(a)).done)&&(l.push(n.value),l.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{if(!i&&null!=a.return&&(c=a.return(),Object(c)!==c))return}finally{if(s)throw o}}return l}}(e,t)||Dz(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Dz(e,t){if(e){if("string"==typeof e)return jz(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?jz(e,t):void 0}}function jz(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}var Iz=window.EBControls,Az=Iz.ColorControl,Lz=Iz.ResponsiveDimensionsControl,Fz=Iz.TypographyDropdown,Hz=Iz.BorderShadowControl,zz=Iz.ResponsiveRangeController,qz=Iz.BackgroundControl,Uz=Iz.CustomQuery,Vz=Iz.MorePosts,Wz=Iz.AdvancedControls,Gz=(Iz.ebImageSizes,Iz.EbImageSizeSelector),Zz=(Iz.ProSelectControl,Iz.faIcons,Iz.DynamicInputControl),Yz=Iz.EBIconPicker,Jz=Iz.SortControl;const Qz=(0,$.withSelect)((function(e,t){var a=t.attributes,n=a.queryData,o=a.selectedTaxonomy;if(a.showTaxonomyFilter){var r=e("core").getPostTypes(),c=o?JSON.parse(o).value:"category",l=e("core").getEntityRecords("taxonomy",c,{per_page:-1}),i=[{label:"All",value:"all"}];return l&&"object"===Oz(l)&&l.length>0&&l.map((function(e,t){i.push({label:e.name,value:e.slug})})),{taxonomyData:{taxonomies:Xz(r,n),terms:i}}}return{taxonomyData:{taxonomies:[],terms:[]}}}))((function(e){var t=e.attributes,a=e.setAttributes,n=e.taxonomyData,o=e.setQueryResults,r=n.terms,c=n.taxonomies,l=t.resOption,i=t.preset,s=t.queryData,b=(t.queryResults,t.postTerms),p=t.loadMoreOptions,u=t.showThumbnail,d=t.thumbnailOverlayColor,m=t.thumbnailOverlayHoverColor,g=(t.thumbnailSize,t.showTitle),f=t.titleColor,y=t.titleHoverColor,v=t.titleColorStyle,h=t.titleLength,w=t.titleTextAlign,k=t.titleTag,R=t.showContent,_=t.contentColor,E=t.contentTextAlign,C=t.contentLength,x=t.expansionIndicator,S=t.showReadMore,B=t.readmoreText,T=t.readmoreColor,N=t.readmoreBGColor,P=t.readmoreTextAlign,O=t.readmoreHoverColor,M=t.readmoreBGHoverColor,D=t.readmoreColorType,j=t.showMeta,I=t.headerMeta,A=t.footerMeta,L=t.authorPrefix,F=t.datePrefix,H=t.headerMetaTextAlign,z=t.footerMetaTextAlign,q=t.metaColorType,U=t.authorMetaColor,V=t.authorMetaHoverColor,W=t.commonMetaColor,G=t.commonMetaHoverColor,Z=t.commonMetaBgColor,$=t.commonMetaBgHoverColor,K=t.categoryMetaColor,ee=t.categoryMetaHoverColor,te=t.categoryMetaBgColor,ae=t.categoryMetaBgHoverColor,ne=t.tagMetaColor,oe=t.tagMetaHoverColor,re=t.tagMetaBgColor,ce=t.tagMetaBgHoverColor,le=t.dateMetaColor,ie=t.styleVerticalAlignment,se=t.loadMoreColorType,be=t.loadMoreColor,pe=t.loadMoreBgColor,ue=t.loadMoreHoverColor,de=t.loadMoreHoverBgColor,me=t.loadMoreActiveColor,ge=(t.loadMoreActiveBgColor,t.ReadTimeMetaColor),fe=t.dynamicMetaColor,ye=t.dynamicMetaBgColor,ve=t.showTaxonomyFilter,he=t.selectedTaxonomy,we=t.selectedTaxonomyItems,ke=t.filterColorStyle,Re=t.filterBgColor,_e=t.filterTextColor,Ee=t.filterActiveBgColor,Ce=t.filterActiveTextColor,xe=t.filterHoverBgColor,Se=t.filterHoverTextColor,Be=t.addIcon,Te=t.icon,Ne=t.iconPosition,Pe=(t.contentLists,t.enableContents),Oe=t.enableThumbnailSort,Me=t.defaultFilter,De=Mz((0,J.useState)([]),2),je=De[0],Ie=De[1],Ae=Mz((0,J.useState)(""),2),Le=Ae[0];Ae[1],(0,J.useEffect)((function(){var e=[{value:"date",label:"Published Date"},{value:"author",label:"Author Name"},{value:"avatar",label:"Author Avatar"},{value:"readtime",label:"Read Time"}];b&&Object.keys(b).length>0&&Object.keys(b).map((function(t){e.push(b[t])}));var t=(0,Qo.applyFilters)("essential_blocks_post_grid_meta",e,null==s?void 0:s.source);t.then?t.then((function(e){Ie(e)})):Ie(t)}),[b]);var Fe=(0,J.useRef)(null==s?void 0:s.source),He=(0,J.useRef)(b);(0,J.useEffect)((function(){if(s&&s.source&&s.source!=Fe.current){var e=He.current&&"object"===Oz(He.current)?Object.keys(He.current):[],t=I.length>0?JSON.parse(I):[];t=t.length>0&&t.filter((function(t){return!e.includes(t.value)}));var n=A.length>0?JSON.parse(A):[];n=n.length>0&&n.filter((function(t){return!e.includes(t.value)})),a({headerMeta:JSON.stringify(t),footerMeta:JSON.stringify(n)}),Fe.current=s.source}}),[null==s?void 0:s.source]);var ze={setAttributes:a,resOption:l,attributes:t,objAttributes:Nz},qe=function(e,t){var n=Pz(Pe);1==e?n.includes(t)||("meta"==t?(I.length>0&&n.push("headerMeta"),A.length>0&&n.push("footerMeta")):n.push(t)):n.includes(t)&&(n=n.filter((function(e){return e!==t}))),a({enableContents:n})};return(0,J.useEffect)((function(){!Oe&&Pe.includes("thumbnail")?a({enableContents:Pe.filter((function(e){return"thumbnail"!==e}))}):Pe.includes("thumbnail")||a({enableContents:["thumbnail"].concat(Pz(Pe))})}),[Oe]),React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:"General",className:"eb-tab general"},{name:"styles",title:"Styles",className:"eb-tab styles"},{name:"advance",title:"Advanced",className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls"+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(Uz,{attributes:t,setAttributes:a,setQueryResults:o}),React.createElement(X.PanelBody,{title:(0,Y.__)("Layout Style","essential-blocks"),initialOpen:!1},React.createElement(zz,{baseLabel:(0,Y.__)("Columns","essential-blocks"),controlName:xH,resRequiredProps:ze,units:[],min:1,max:6,step:1}),React.createElement(zz,{baseLabel:(0,Y.__)("Column Gap","essential-blocks"),controlName:SH,resRequiredProps:ze,units:ez,min:1,max:100,step:0}),!1===["style-5","pro-style-6"].includes(i)&&React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Thumbnail?"),checked:u,onChange:function(){a({showThumbnail:!u}),qe(!u,"thumbnail")}}),u&&React.createElement(React.Fragment,null,React.createElement(zz,{baseLabel:(0,Y.__)("Thumbnail Height","essential-blocks"),controlName:OH,resRequiredProps:ze,units:tz,min:1,max:500,step:1}),"style-4"===i&&React.createElement(zz,{baseLabel:(0,Y.__)("Thumbnail Width","essential-blocks"),controlName:TH,resRequiredProps:ze,units:[{label:"%",value:"%"}],min:0,max:100,step:1}),React.createElement(Gz,{attrname:"thumbnailSize",resRequiredProps:ze,setAttributes:a})),("style-4"===i||"style-5"===i||"pro-style-6"===i)&&React.createElement(X.BaseControl,{label:(0,Y.__)("Content Vertical Alignment","essential-blocks"),id:"essential-blocks"},React.createElement(X.ButtonGroup,{id:"essential-blocks"},lz.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:ie===e.value,isSecondary:ie!==e.value,onClick:function(){return a({styleVerticalAlignment:e.value})}},e.label)})))),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Title?"),checked:g,onChange:function(){a({showTitle:!g}),qe(!g,"title")}}),g&&React.createElement(React.Fragment,null,React.createElement(X.SelectControl,{label:(0,Y.__)("Title Tag","essential-blocks"),value:k,options:oz,onChange:function(e){a({titleTag:e})}}),React.createElement(X.RangeControl,{label:"Title Words",value:h,onChange:function(e){return a({titleLength:e})},min:-1,max:100,allowReset:!0})),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Excerpt?"),checked:R,onChange:function(){a({showContent:!R}),qe(!R,"excerpt")}}),R&&React.createElement(React.Fragment,null,React.createElement(X.RangeControl,{label:"Excerpt Words",value:C,onChange:function(e){return a({contentLength:e})},min:-1,max:100,allowReset:!0}),React.createElement(X.TextControl,{label:"Expansion Indicator",type:"text",value:x,onChange:function(e){return a({expansionIndicator:e})}})),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Read More Button?"),checked:S,onChange:function(){a({showReadMore:!S})}}),S&&React.createElement(React.Fragment,null,React.createElement(Zz,{label:(0,Y.__)("Button Text","essential-blocks"),attrName:"readmoreText",inputValue:B,setAttributes:a,onChange:function(e){return a({readmoreText:e})}}),React.createElement(X.PanelBody,{title:(0,Y.__)("Icon","essential-blocks"),initialOpen:!1},React.createElement(X.ToggleControl,{label:(0,Y.__)("Add icon","essential-blocks"),checked:Be,onChange:function(){return a({addIcon:!Be})}}),Be&&React.createElement(React.Fragment,null,React.createElement(Yz,{value:Te,onChange:function(e){return a({icon:e})}}),React.createElement(X.BaseControl,{label:(0,Y.__)("Icon Postion","essential-blocks")},React.createElement(X.ButtonGroup,{id:"eb-button-group-alignment"},iz.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:Ne===e.value,isSecondary:Ne!==e.value,onClick:function(){return a({iconPosition:e.value})}},e.label)})))),React.createElement(zz,{baseLabel:(0,Y.__)("Size","essential-blocks"),controlName:$H,resRequiredProps:ze,noUnits:!0}),React.createElement(zz,{baseLabel:(0,Y.__)("Gap","essential-blocks"),controlName:KH,resRequiredProps:ze,noUnits:!0})))),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Meta?"),checked:j,onChange:function(){a({showMeta:!j}),qe(!j,"meta")}}),j&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-control-item-wrapper"},React.createElement(X.PanelRow,null,"Header Meta"),React.createElement(vf.Ay,{name:"select-header-meta",value:I.length>0?JSON.parse(I):"",onChange:function(e){return a({headerMeta:JSON.stringify(e)})},options:je,isMulti:"true"})),React.createElement("div",{className:"eb-control-item-wrapper"},React.createElement(X.PanelRow,null,"Footer Meta"),React.createElement(vf.Ay,{name:"select-footer-meta",value:A.length>0?JSON.parse(A):"",onChange:function(e){return a({footerMeta:JSON.stringify(e)})},options:je,isMulti:"true"})),React.createElement(Zz,{label:(0,Y.__)("Author Prefix","essential-blocks"),help:(0,Y.__)("Example: by John Doe","essential-blocks"),attrName:"authorPrefix",inputValue:L,setAttributes:a,onChange:function(e){return a({authorPrefix:e})}}),React.createElement(Zz,{label:(0,Y.__)("Published Date Prefix","essential-blocks"),help:(0,Y.__)("Example: on 01/01/2023","essential-blocks"),attrName:"datePrefix",inputValue:F,setAttributes:a,onChange:function(e){return a({datePrefix:e})}}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Sortable Content","essential-blocks-pro"),initialOpen:!1},("style-1"==i||"style-2"==i||"style-3"==i)&&u&&React.createElement(X.ToggleControl,{label:(0,Y.__)("Thumbnail Sorting"),checked:Oe,onChange:function(){a({enableThumbnailSort:!Oe})}}),React.createElement(Jz,{items:Pe,labelKey:"",onSortEnd:function(e){return a({enableContents:e})},hasSettings:!1,hasAddButton:!1,hasDelete:!1})),React.createElement(Vz,{loadMoreOptions:p,queryData:s,setAttributes:a,initialOpen:!1}),React.createElement(X.PanelBody,{title:(0,Y.__)("Filter By Taxonomy","essential-blocks"),initialOpen:!1},React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Filter By Taxonomy?"),checked:ve,onChange:function(){a({showTaxonomyFilter:!ve})}}),ve&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-control-item-wrapper"},React.createElement(X.PanelRow,null,"Select Taxonomy Type"),React.createElement(vf.Ay,{name:"select-header-meta",value:he&&he.length>0?JSON.parse(he):"",onChange:function(e){return a({selectedTaxonomy:JSON.stringify(e)})},options:c})),he&&he.length>0&&React.createElement(React.Fragment,null,React.createElement(X.SelectControl,{label:(0,Y.__)("Default Selected Filter","essential-blocks"),value:Me,options:Le,onChange:function(e){return a({defaultFilter:e})}}),React.createElement("div",{className:"eb-control-item-wrapper"},React.createElement(X.PanelRow,null,"Select Taxonomy"),React.createElement(vf.Ay,{name:"select-header-meta",value:we&&we.length>0?JSON.parse(we):"",onChange:function(e){return a({selectedTaxonomyItems:JSON.stringify(e)})},options:r,isMulti:"true"}))))),(0,Qo.applyFilters)("eb_post_grid_pro_general_tab","",t,a,ze)),"styles"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Columns","essential-blocks"),initialOpen:!1},React.createElement(Lz,{resRequiredProps:ze,controlName:BH,baseLabel:"Padding"}),React.createElement(X.PanelBody,{title:(0,Y.__)("Background","essential-blocks"),initialOpen:!1},React.createElement(qz,{controlName:NH,resRequiredProps:ze,noOverlay:!0})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(Hz,{controlName:PH,resRequiredProps:ze}))),u&&React.createElement(X.PanelBody,{title:(0,Y.__)("Thumbnail","essential-blocks"),initialOpen:!1},React.createElement(Lz,{resRequiredProps:ze,controlName:MH,baseLabel:"Border Radius"}),React.createElement(Lz,{resRequiredProps:ze,controlName:DH,baseLabel:"Margin"}),React.createElement(Az,{label:(0,Y.__)("Overlay Color","essential-blocks"),color:d,onChange:function(e){return a({thumbnailOverlayColor:e})}}),React.createElement(Az,{label:(0,Y.__)("Overlay Hover Color","essential-blocks"),color:m,onChange:function(e){return a({thumbnailOverlayHoverColor:e})}})),g&&React.createElement(X.PanelBody,{title:(0,Y.__)("Title","essential-blocks"),initialOpen:!1},React.createElement(X.ButtonGroup,{className:"eb-inspector-btn-group"},az.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:v===e.value,isSecondary:v!==e.value,onClick:function(){return a({titleColorStyle:e.value})}},e.label)}))),"normal"===v&&React.createElement(Az,{label:(0,Y.__)("Color","essential-blocks"),color:f,onChange:function(e){return a({titleColor:e})}}),"hover"===v&&React.createElement(Az,{label:(0,Y.__)("Color","essential-blocks"),color:y,onChange:function(e){return a({titleHoverColor:e})}}),React.createElement(X.BaseControl,{label:(0,Y.__)("Alignment","essential-blocks"),id:"essential-blocks"},React.createElement(X.ButtonGroup,{id:"essential-blocks"},rz.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:w===e.value,isSecondary:w!==e.value,onClick:function(){return a({titleTextAlign:e.value})}},e.label)})))),React.createElement(Fz,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:sz,resRequiredProps:ze}),React.createElement(Lz,{resRequiredProps:ze,controlName:jH,baseLabel:"Margin"})),R&&React.createElement(X.PanelBody,{title:(0,Y.__)("Excerpt","essential-blocks"),initialOpen:!1},React.createElement(Az,{label:(0,Y.__)("Color","essential-blocks"),color:_,onChange:function(e){return a({contentColor:e})}}),React.createElement(X.BaseControl,{label:(0,Y.__)("Alignment","essential-blocks"),id:"essential-blocks"},React.createElement(X.ButtonGroup,{id:"essential-blocks"},rz.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:E===e.value,isSecondary:E!==e.value,onClick:function(){return a({contentTextAlign:e.value})}},e.label)})))),React.createElement(Fz,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:bz,resRequiredProps:ze}),React.createElement(Lz,{resRequiredProps:ze,controlName:IH,baseLabel:"Margin"})),S&&React.createElement(X.PanelBody,{title:(0,Y.__)("Read More Button","essential-blocks"),initialOpen:!1},React.createElement(X.ButtonGroup,{className:"eb-inspector-btn-group"},az.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:D===e.value,isSecondary:D!==e.value,onClick:function(){return a({readmoreColorType:e.value})}},e.label)}))),"normal"===D&&React.createElement(React.Fragment,null,React.createElement(Az,{label:(0,Y.__)("Color","essential-blocks"),color:T,onChange:function(e){return a({readmoreColor:e})}}),React.createElement(Az,{label:(0,Y.__)("Background Color","essential-blocks"),color:N,onChange:function(e){return a({readmoreBGColor:e})}})),"hover"===D&&React.createElement(React.Fragment,null,React.createElement(Az,{label:(0,Y.__)("Color","essential-blocks"),color:O,onChange:function(e){return a({readmoreHoverColor:e})}}),React.createElement(Az,{label:(0,Y.__)("Background Color","essential-blocks"),color:M,onChange:function(e){return a({readmoreBGHoverColor:e})}})),React.createElement(X.BaseControl,{label:(0,Y.__)("Alignment","essential-blocks"),id:"essential-blocks"},React.createElement(X.ButtonGroup,{id:"essential-blocks"},rz.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:P===e.value,isSecondary:P!==e.value,onClick:function(){return a({readmoreTextAlign:e.value})}},e.label)})))),React.createElement(Fz,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:pz,resRequiredProps:ze}),React.createElement(Lz,{resRequiredProps:ze,controlName:AH,baseLabel:"Margin"}),React.createElement(Lz,{resRequiredProps:ze,controlName:LH,baseLabel:"Padding"}),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(Hz,{controlName:FH,resRequiredProps:ze,noShadow:!0}))),j&&React.createElement(X.PanelBody,{title:(0,Y.__)("Meta Styles","essential-blocks"),initialOpen:!1},React.createElement(X.BaseControl,{label:(0,Y.__)("Header Meta Alignment","essential-blocks"),id:"essential-blocks"},React.createElement(X.ButtonGroup,{id:"essential-blocks"},cz.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:H===e.value,isSecondary:H!==e.value,onClick:function(){return a({headerMetaTextAlign:e.value})}},e.label)})))),React.createElement(zz,{baseLabel:(0,Y.__)("Header Meta Gap","essential-blocks"),controlName:qH,resRequiredProps:ze,units:ez,min:1,max:100,step:1}),React.createElement(Lz,{resRequiredProps:ze,controlName:HH,baseLabel:"Header Meta Margin"}),React.createElement(X.BaseControl,{label:(0,Y.__)("Footer Meta Alignment","essential-blocks"),id:"essential-blocks"},React.createElement(X.ButtonGroup,{id:"essential-blocks"},cz.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:z===e.value,isSecondary:z!==e.value,onClick:function(){return a({footerMetaTextAlign:e.value})}},e.label)})))),React.createElement(zz,{baseLabel:(0,Y.__)("Footer Meta Gap","essential-blocks"),controlName:UH,resRequiredProps:ze,units:ez,min:1,max:100,step:1}),React.createElement(Lz,{resRequiredProps:ze,controlName:zH,baseLabel:"Footer Meta Margin"}),React.createElement(X.ButtonGroup,{className:"eb-inspector-btn-group"},az.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:q===e.value,isSecondary:q!==e.value,onClick:function(){return a({metaColorType:e.value})}},e.label)}))),"normal"===q&&React.createElement(React.Fragment,null,React.createElement(Az,{label:(0,Y.__)("Author Color","essential-blocks"),color:U,onChange:function(e){return a({authorMetaColor:e})}}),React.createElement(Az,{label:(0,Y.__)("Date Color","essential-blocks"),color:le,onChange:function(e){return a({dateMetaColor:e})}}),React.createElement(Az,{label:(0,Y.__)("Common Meta Color","essential-blocks"),color:W,onChange:function(e){return a({commonMetaColor:e})}}),React.createElement(Az,{label:(0,Y.__)("Common Meta BG Color","essential-blocks"),color:Z,onChange:function(e){return a({commonMetaBgColor:e})}}),React.createElement(Az,{label:(0,Y.__)("Category Color","essential-blocks"),color:K,onChange:function(e){return a({categoryMetaColor:e})}}),React.createElement(Az,{label:(0,Y.__)("Category BG Color","essential-blocks"),color:te,onChange:function(e){return a({categoryMetaBgColor:e})}}),React.createElement(Az,{label:(0,Y.__)("Tag Color","essential-blocks"),color:ne,onChange:function(e){return a({tagMetaColor:e})}}),React.createElement(Az,{label:(0,Y.__)("Tag BG Color","essential-blocks"),color:re,onChange:function(e){return a({tagMetaBgColor:e})}}),React.createElement(Az,{label:(0,Y.__)("Read Time Color","essential-blocks"),color:ge,onChange:function(e){return a({ReadTimeMetaColor:e})}}),React.createElement(Az,{label:(0,Y.__)("Dynamic Data Color","essential-blocks"),color:fe,onChange:function(e){return a({dynamicMetaColor:e})}}),React.createElement(Az,{label:(0,Y.__)("Dynamic Data BG Color","essential-blocks"),color:ye,onChange:function(e){return a({dynamicMetaBgColor:e})}})),"hover"===q&&React.createElement(React.Fragment,null,React.createElement(Az,{label:(0,Y.__)("Author Color","essential-blocks"),color:V,onChange:function(e){return a({authorMetaHoverColor:e})}}),React.createElement(Az,{label:(0,Y.__)("Common Meta Color","essential-blocks"),color:G,onChange:function(e){return a({commonMetaHoverColor:e})}}),React.createElement(Az,{label:(0,Y.__)("Common Meta BG Color","essential-blocks"),color:$,onChange:function(e){return a({commonMetaBgHoverColor:e})}}),React.createElement(Az,{label:(0,Y.__)("Category Color","essential-blocks"),color:ee,onChange:function(e){return a({categoryMetaHoverColor:e})}}),React.createElement(Az,{label:(0,Y.__)("Category BG Color","essential-blocks"),color:ae,onChange:function(e){return a({categoryMetaBgHoverColor:e})}}),React.createElement(Az,{label:(0,Y.__)("Tag Color","essential-blocks"),color:oe,onChange:function(e){return a({tagMetaHoverColor:e})}}),React.createElement(Az,{label:(0,Y.__)("Tag BG Color","essential-blocks"),color:ce,onChange:function(e){return a({tagMetaBgHoverColor:e})}})),React.createElement(Fz,{baseLabel:(0,Y.__)("Meta Typography","essential-blocks"),typographyPrefixConstant:uz,resRequiredProps:ze}),React.createElement(Lz,{resRequiredProps:ze,controlName:VH,baseLabel:"Avatar Radius"})),p.enableMorePosts&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Load More Styles"),initialOpen:!1},"1"===p.loadMoreType&&React.createElement(X.ButtonGroup,{id:"essential-blocks",className:"eb-inspector-btn-group"},az.map((function(e,t){return React.createElement(X.Button,{key:t,isLarge:!0,isPrimary:se===e.value,isSecondary:se!==e.value,onClick:function(){return a({loadMoreColorType:e.value})}},e.label)}))),"2"===p.loadMoreType&&React.createElement(X.BaseControl,{label:(0,Y.__)("","essential-blocks"),id:"eb-advance-heading-alignment"},React.createElement(X.ButtonGroup,{id:"eb-advance-heading-alignment"},nz.map((function(e,t){return React.createElement(X.Button,{key:t,isLarge:!0,isPrimary:se===e.value,isSecondary:se!==e.value,onClick:function(){return a({loadMoreColorType:e.value})}},e.label)})))),"normal"===se&&React.createElement(React.Fragment,null,React.createElement(Az,{label:(0,Y.__)("Color","essential-blocks"),color:be,onChange:function(e){return a({loadMoreColor:e})}}),React.createElement(Az,{label:(0,Y.__)("Background Color","essential-blocks"),color:pe,onChange:function(e){return a({loadMoreBgColor:e})}})),"hover"===se&&React.createElement(React.Fragment,null,React.createElement(Az,{label:(0,Y.__)("Color","essential-blocks"),color:ue,onChange:function(e){return a({loadMoreHoverColor:e})}}),React.createElement(Az,{label:(0,Y.__)("Background Color","essential-blocks"),color:de,onChange:function(e){return a({loadMoreHoverBgColor:e})}})),"active"===se&&React.createElement(React.Fragment,null,React.createElement(Az,{label:(0,Y.__)("Color","essential-blocks"),color:me,onChange:function(e){return a({loadMoreActiveColor:e})}}),React.createElement(Az,{label:(0,Y.__)("Background Color","essential-blocks"),color:de,onChange:function(e){return a({loadMoreActiveBgColor:e})}})),React.createElement(Fz,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:dz,resRequiredProps:ze}),React.createElement(X.PanelBody,null,React.createElement(Lz,{resRequiredProps:ze,controlName:GH,baseLabel:"Margin"}),React.createElement(Lz,{resRequiredProps:ze,controlName:WH,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(Hz,{controlName:ZH,resRequiredProps:ze,noShadow:!0})))),ve&&React.createElement(X.PanelBody,{title:(0,Y.__)("Taxonomy Filter Style"),initialOpen:!1},React.createElement(X.PanelBody,null,React.createElement(X.ButtonGroup,{className:"eb-inspector-btn-group"},az.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:ke===e.value,isSecondary:ke!==e.value,onClick:function(){return a({filterColorStyle:e.value})}},e.label)}))),"normal"===ke&&React.createElement(React.Fragment,null,React.createElement(Az,{label:(0,Y.__)("Background Color","essential-blocks"),color:Re,onChange:function(e){return a({filterBgColor:e})}}),React.createElement(Az,{label:(0,Y.__)("Text Color","essential-blocks"),color:_e,onChange:function(e){return a({filterTextColor:e})}}),React.createElement(Az,{label:(0,Y.__)("Active Background Color","essential-blocks"),color:Ee,onChange:function(e){return a({filterActiveBgColor:e})}}),React.createElement(Az,{label:(0,Y.__)("Active Text Color","essential-blocks"),color:Ce,onChange:function(e){return a({filterActiveTextColor:e})}})),"hover"===ke&&React.createElement(React.Fragment,null,React.createElement(Az,{label:(0,Y.__)("Hover Background Color","essential-blocks"),color:xe,onChange:function(e){return a({filterHoverBgColor:e})}}),React.createElement(Az,{label:(0,Y.__)("Hover Text Color","essential-blocks"),color:Se,onChange:function(e){return a({filterHoverTextColor:e})}})),React.createElement(zz,{baseLabel:(0,Y.__)("Items Gap","essential-blocks"),controlName:XH,resRequiredProps:ze,units:ez,min:1,max:100,step:1}),React.createElement(Fz,{baseLabel:(0,Y.__)("Items Typography","essential-blocks"),typographyPrefixConstant:mz,resRequiredProps:ze}),React.createElement(Lz,{resRequiredProps:ze,controlName:YH,baseLabel:"Filter Wrapper Margin"}),React.createElement(Lz,{resRequiredProps:ze,controlName:JH,baseLabel:"Items Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Items Border"),initialOpen:!1},React.createElement(Hz,{controlName:QH,resRequiredProps:ze}))),(0,Qo.applyFilters)("eb_post_grid_pro_style_tab","",t,a,ze)),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,null,React.createElement(Lz,{resRequiredProps:ze,controlName:RH,baseLabel:"Margin"}),React.createElement(Lz,{resRequiredProps:ze,controlName:_H,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Background","essential-blocks"),initialOpen:!1},React.createElement(qz,{controlName:CH,resRequiredProps:ze,noOverlay:!0})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(Hz,{controlName:EH,resRequiredProps:ze})),React.createElement(Wz,{attributes:t,setAttributes:a})))}))))}));var Xz=function(e,t){var a=[{label:"Category",value:"category"}];if(!e||0===e.length||null===e)return a;var n=t&&t.source?t.source:"post";if("object"===Oz(e)||e.length>0){var o=[];return e.map((function(e,t){e.slug===n&&e.taxonomies&&"object"===Oz(e.taxonomies)&&e.taxonomies.length>0&&e.taxonomies.map((function(e){var t;o.push({label:(t=e.replace(/[^a-zA-Z ]/g," "),t[0].toUpperCase()+t.slice(1).toLowerCase()),value:e})}))})),o}return a};function $z(e){return $z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},$z(e)}function Kz(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=$z(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=$z(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==$z(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var eq=window.EBControls,tq=eq.softMinifyCssStrings,aq=eq.generateTypographyStyles,nq=eq.generateDimensionsControlStyles,oq=eq.generateBorderShadowStyles,rq=eq.generateResponsiveRangeStyles,cq=eq.generateBackgroundControlStyles,lq=eq.StyleComponent;function iq(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=e.isContentEnabled,r=t.blockId,c=(t.blockMeta,t.resOption,t.preset),l=t.queryResults,i=t.loadMoreOptions,s=(t.showThumbnail,t.thumbnailOverlayColor),b=t.thumbnailOverlayHoverColor,p=(t.thumbnailSize,t.showTitle,t.titleColor),u=t.titleHoverColor,d=(t.titleLength,t.titleTextAlign),m=(t.titleTag,t.showContent,t.contentColor),g=t.contentTextAlign,f=(t.contentLength,t.expansionIndicator,t.showReadMore,t.readmoreText,t.readmoreColor),y=t.readmoreBGColor,v=t.readmoreTextAlign,h=t.readmoreHoverColor,w=t.readmoreBGHoverColor,k=(t.showMeta,t.headerMeta,t.footerMeta,t.headerMetaTextAlign),R=t.footerMetaTextAlign,_=t.authorMetaColor,E=t.authorMetaHoverColor,C=t.commonMetaColor,x=t.commonMetaHoverColor,S=t.commonMetaBgColor,B=t.commonMetaBgHoverColor,T=t.categoryMetaColor,N=t.categoryMetaHoverColor,P=t.categoryMetaBgColor,O=t.categoryMetaBgHoverColor,M=t.tagMetaColor,D=t.tagMetaHoverColor,j=t.tagMetaBgColor,I=t.tagMetaBgHoverColor,A=t.dateMetaColor,L=t.styleVerticalAlignment,F=(t.loadMoreColorType,t.loadMoreColor),H=t.loadMoreBgColor,z=t.loadMoreHoverColor,q=t.loadMoreHoverBgColor,U=t.loadMoreActiveColor,V=t.loadMoreActiveBgColor,W=t.ReadTimeMetaColor,G=t.dynamicMetaColor,Z=t.dynamicMetaBgColor,Y=t.showTaxonomyFilter,Q=t.filterBgColor,X=t.filterTextColor,$=t.filterActiveBgColor,K=t.filterActiveTextColor,ee=t.filterHoverBgColor,te=t.filterHoverTextColor,ae=(t.classHook,t.addIcon),ne=t.iconPosition,oe=t.enableContents;(0,J.useEffect)((function(){var e=t["".concat(QH,"borderColor")],n=t["".concat(QH,"borderStyle")];e||"none"!==n||a(Kz(Kz({},"".concat(QH,"borderColor"),"var(--eb-global-tertiary-color)"),"".concat(QH,"borderStyle"),"solid"))}),[]);var re=aq({attributes:t,prefixConstant:sz,defaultFontSize:18}),ce=re.typoStylesDesktop,le=re.typoStylesTab,ie=re.typoStylesMobile,se=aq({attributes:t,prefixConstant:bz,defaultFontSize:15}),be=se.typoStylesDesktop,pe=se.typoStylesTab,ue=se.typoStylesMobile,de=aq({attributes:t,prefixConstant:pz,defaultFontSize:13}),me=de.typoStylesDesktop,ge=de.typoStylesTab,fe=de.typoStylesMobile,ye=aq({attributes:t,prefixConstant:uz,defaultFontSize:13}),ve=ye.typoStylesDesktop,he=ye.typoStylesTab,we=ye.typoStylesMobile,ke=aq({attributes:t,prefixConstant:mz,defaultFontSize:16}),Re=ke.typoStylesDesktop,_e=ke.typoStylesTab,Ee=ke.typoStylesMobile,Ce=nq({controlName:RH,styleFor:"margin",attributes:t}),xe=Ce.dimensionStylesDesktop,Se=Ce.dimensionStylesTab,Be=Ce.dimensionStylesMobile,Te=nq({controlName:_H,styleFor:"padding",attributes:t}),Ne=Te.dimensionStylesDesktop,Pe=Te.dimensionStylesTab,Oe=Te.dimensionStylesMobile,Me=nq({controlName:BH,styleFor:"padding",attributes:t}),De=Me.dimensionStylesDesktop,je=Me.dimensionStylesTab,Ie=Me.dimensionStylesMobile,Ae=nq({controlName:jH,styleFor:"margin",attributes:t}),Le=Ae.dimensionStylesDesktop,Fe=Ae.dimensionStylesTab,He=Ae.dimensionStylesMobile,ze=nq({controlName:IH,styleFor:"margin",attributes:t}),qe=ze.dimensionStylesDesktop,Ue=ze.dimensionStylesTab,Ve=ze.dimensionStylesMobile,We=nq({controlName:AH,styleFor:"margin",attributes:t}),Ge=We.dimensionStylesDesktop,Ze=We.dimensionStylesTab,Ye=We.dimensionStylesMobile,Je=nq({controlName:LH,styleFor:"padding",attributes:t}),Qe=Je.dimensionStylesDesktop,Xe=Je.dimensionStylesTab,$e=Je.dimensionStylesMobile,Ke=nq({controlName:HH,styleFor:"margin",attributes:t}),et=Ke.dimensionStylesDesktop,tt=Ke.dimensionStylesTab,at=Ke.dimensionStylesMobile,nt=nq({controlName:zH,styleFor:"margin",attributes:t}),ot=nt.dimensionStylesDesktop,rt=nt.dimensionStylesTab,ct=nt.dimensionStylesMobile,lt=nq({controlName:DH,styleFor:"margin",attributes:t}),it=lt.dimensionStylesDesktop,st=lt.dimensionStylesTab,bt=lt.dimensionStylesMobile,pt=nq({controlName:MH,styleFor:"border-radius",attributes:t}),ut=pt.dimensionStylesDesktop,dt=pt.dimensionStylesTab,mt=pt.dimensionStylesMobile,gt=nq({controlName:VH,styleFor:"border-radius",attributes:t}),ft=gt.dimensionStylesDesktop,yt=gt.dimensionStylesTab,vt=gt.dimensionStylesMobile,ht=nq({controlName:JH,styleFor:"padding",attributes:t}),wt=ht.dimensionStylesDesktop,kt=ht.dimensionStylesTab,Rt=ht.dimensionStylesMobile,_t=nq({controlName:YH,styleFor:"margin",attributes:t}),Et=_t.dimensionStylesDesktop,Ct=_t.dimensionStylesTab,xt=_t.dimensionStylesMobile,St=oq({controlName:EH,attributes:t}),Bt=St.styesDesktop,Tt=St.styesTab,Nt=St.styesMobile,Pt=St.stylesHoverDesktop,Ot=St.stylesHoverTab,Mt=St.stylesHoverMobile,Dt=St.transitionStyle,jt=oq({controlName:PH,attributes:t}),It=jt.styesDesktop,At=jt.styesTab,Lt=jt.styesMobile,Ft=jt.stylesHoverDesktop,Ht=jt.stylesHoverTab,zt=jt.stylesHoverMobile,qt=jt.transitionStyle,Ut=rq({controlName:xH,property:"",attributes:t}),Vt=Ut.rangeStylesDesktop,Wt=Ut.rangeStylesTab,Gt=Ut.rangeStylesMobile,Zt=rq({controlName:SH,property:"gap",attributes:t}),Yt=Zt.rangeStylesDesktop,Jt=Zt.rangeStylesTab,Qt=Zt.rangeStylesMobile,Xt=rq({controlName:XH,property:"gap",attributes:t}),$t=Xt.rangeStylesDesktop,Kt=Xt.rangeStylesTab,ea=Xt.rangeStylesMobile,ta=rq({controlName:OH,property:"height",attributes:t}),aa=ta.rangeStylesDesktop,na=ta.rangeStylesTab,oa=ta.rangeStylesMobile,ra=rq({controlName:qH,property:"margin-right",attributes:t}),ca=ra.rangeStylesDesktop,la=ra.rangeStylesTab,ia=ra.rangeStylesMobile,sa=rq({controlName:UH,property:"margin-right",attributes:t}),ba=sa.rangeStylesDesktop,pa=sa.rangeStylesTab,ua=sa.rangeStylesMobile,da=rq({controlName:TH,property:"width",attributes:t}),ma=da.rangeStylesDesktop,ga=da.rangeStylesTab,fa=da.rangeStylesMobile,ya=cq({attributes:t,controlName:CH,noOverlay:!0}),va=ya.backgroundStylesDesktop,ha=ya.hoverBackgroundStylesDesktop,wa=ya.backgroundStylesTab,ka=ya.hoverBackgroundStylesTab,Ra=ya.backgroundStylesMobile,_a=ya.hoverBackgroundStylesMobile,Ea=ya.bgTransitionStyle,Ca=cq({attributes:t,controlName:NH,noOverlay:!0}),xa=Ca.backgroundStylesDesktop,Sa=Ca.hoverBackgroundStylesDesktop,Ba=Ca.backgroundStylesTab,Ta=Ca.hoverBackgroundStylesTab,Na=Ca.backgroundStylesMobile,Pa=Ca.hoverBackgroundStylesMobile,Oa=Ca.bgTransitionStyle,Ma=nq({controlName:WH,styleFor:"padding",attributes:t}),Da=Ma.dimensionStylesDesktop,ja=Ma.dimensionStylesTab,Ia=Ma.dimensionStylesMobile,Aa=nq({controlName:GH,styleFor:"margin",attributes:t}),La=Aa.dimensionStylesDesktop,Fa=Aa.dimensionStylesTab,Ha=Aa.dimensionStylesMobile,za=aq({attributes:t,prefixConstant:dz,defaultFontSize:14}),qa=za.typoStylesDesktop,Ua=za.typoStylesTab,Va=za.typoStylesMobile,Wa=oq({controlName:ZH,attributes:t,noShadow:!0}),Ga=Wa.styesDesktop,Za=Wa.styesTab,Ya=Wa.styesMobile,Ja=Wa.stylesHoverDesktop,Qa=Wa.stylesHoverTab,Xa=Wa.stylesHoverMobile,$a=Wa.transitionStyle,Ka=oq({controlName:FH,attributes:t,noShadow:!0}),en=Ka.styesDesktop,tn=Ka.styesTab,an=Ka.styesMobile,nn=Ka.stylesHoverDesktop,on=Ka.stylesHoverTab,rn=Ka.stylesHoverMobile,cn=Ka.transitionStyle,ln=oq({controlName:QH,attributes:t}),sn=ln.styesDesktop,bn=ln.styesTab,pn=ln.styesMobile,un=ln.stylesHoverDesktop,dn=ln.stylesHoverTab,mn=ln.stylesHoverMobile,gn=ln.transitionStyle,fn=rq({controlName:$H,property:"font-size",attributes:t,customUnit:"px"}),yn=fn.rangeStylesDesktop,vn=fn.rangeStylesTab,hn=fn.rangeStylesMobile,wn=rq({controlName:KH,property:"margin-left",attributes:t,customUnit:"px"}),kn=wn.rangeStylesDesktop,Rn=wn.rangeStylesTab,_n=wn.rangeStylesMobile,En=rq({controlName:KH,property:"margin-right",attributes:t,customUnit:"px"}),Cn=En.rangeStylesDesktop,xn=En.rangeStylesTab,Sn=En.rangeStylesMobile,Bn="\n        .eb-post-grid-wrapper.".concat(r," .eb-post-grid-posts-wrapper {\n            display: grid;\n            position: relative;\n            grid-template-columns: repeat(").concat(Vt.replace(/\D/g,""),", minmax(0, 1fr));\n            ").concat(Yt,"\n        }\n\n\t\t.eb-post-grid-wrapper.").concat(r,"{\n\t\t\t").concat(xe,"\n\t\t\t").concat(Ne,"\n\t\t\t").concat(va,"\n\t\t\t").concat(Bt,"\n\t\t\ttransition: ").concat(Ea,", ").concat(Dt,";\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(r,":hover {\n\t\t\t").concat(ha,"\n\t\t\t").concat(Pt,"\n\t\t}\n\t"),Tn="\n    .eb-post-grid-wrapper.".concat(r," .eb-post-grid-posts-wrapper {\n            grid-template-columns: repeat(\n\t\t\t\t").concat(Wt?Wt.replace(/\D/g,""):"object"===$z(l)&&l.length>1?2:1,",\n\t\t\t\tminmax(0, 1fr)\n\t\t\t);\n\t\t\t").concat(Jt,"\n        }\n\t\t.eb-post-grid-wrapper.").concat(r,"{\n\t\t\t").concat(Se,"\n\t\t\t").concat(Pe,"\n\t\t\t").concat(wa,"\n\t\t\t").concat(Tt,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(r,":hover {\n\t\t\t").concat(ka,"\n\t\t\t").concat(Ot,"\n\t\t}\n\t"),Nn="\n        .eb-post-grid-wrapper.".concat(r," .eb-post-grid-posts-wrapper {\n            grid-template-columns: repeat(\n\t\t\t\t").concat(Gt?Gt.replace(/\D/g,""):1,",\n\t\t\t\tminmax(0, 1fr)\n\t\t\t);\n\t\t\t").concat(Qt,"\n        }\n\t\t.eb-post-grid-wrapper.").concat(r," {\n\t\t\t").concat(Be,"\n\t\t\t").concat(Oe,"\n\t\t\t").concat(Ra,"\n\t\t\t").concat(Nt,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(r,":hover {\n\t\t\t").concat(_a,"\n\t\t\t").concat(Mt,"\n\t\t}\n\t"),Pn=ma.replace(/\D/g,""),On="\n\t\t.eb-post-grid-wrapper.".concat(r," .ebpg-post-grid-column {\n\t\t\t").concat(De,"\n\t\t\t").concat(It,"\n\t\t\t").concat(xa,"\n\t\t\ttransition: ").concat(Oa,", ").concat(qt,";\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-post-grid-column:hover {\n\t\t\t").concat(Sa,"\n\t\t\t").concat(Ft,"\n\t\t}\n\t\t").concat("style-4"===c&&ma?"\n\t\t\t.eb-post-grid-wrapper.".concat(r,".style-4 .ebpg-grid-post-holder {\n\t\t\t\talign-items: ").concat(L,";\n\t\t\t}\n\t\t\t").concat("0"===Pn?".eb-post-grid-wrapper.".concat(r,".style-4 .ebpg-grid-post-holder .ebpg-entry-media {\n\t\t\t\t\tdisplay: none;\n\t\t\t\t}\n\t\t\t\t.eb-post-grid-wrapper.").concat(r,".style-4 .ebpg-grid-post-holder .ebpg-entry-wrapper {\n\t\t\t\t\twidth: ").concat(100-Pn,"%;\n\t\t\t\t}"):"100"===Pn?".eb-post-grid-wrapper.".concat(r,".style-4 .ebpg-grid-post-holder {\n\t\t\t\t\t\tflex-wrap: wrap;\n\t\t\t\t\t}\n\t\t\t\t\t.eb-post-grid-wrapper.").concat(r,".style-4 .ebpg-grid-post-holder .ebpg-entry-media {\n\t\t\t\t\t\twidth: ").concat(Pn,"%;\n\t\t\t\t\t}\n\t\t\t\t\t.eb-post-grid-wrapper.").concat(r,".style-4 .ebpg-grid-post-holder .ebpg-entry-wrapper {\n\t\t\t\t\t\twidth: ").concat(Pn,"%;\n\t\t\t\t\t}"):".eb-post-grid-wrapper.".concat(r,".style-4 .ebpg-grid-post-holder .ebpg-entry-media {\n\t\t\t\t\twidth: ").concat(Pn,"%;\n\t\t\t\t}\n\t\t\t\t.eb-post-grid-wrapper.").concat(r,".style-4 .ebpg-grid-post-holder .ebpg-entry-wrapper {\n\t\t\t\t\twidth: ").concat(100-Pn,"%;\n\t\t\t\t}")):"","\n\t\t").concat("style-5"===c?"\n\t\t\t.eb-post-grid-wrapper.".concat(r,".style-5 .ebpg-grid-post-holder .ebpg-entry-wrapper {\n\t\t\t\tjustify-content: ").concat(L,";\n\t\t\t}\n\t\t\t"):"","\n\t"),Mn=ga.replace(/\D/g,""),Dn="\n\t\t.eb-post-grid-wrapper.".concat(r," .ebpg-post-grid-column {\n\t\t\t").concat(je,"\n\t\t\t").concat(At,"\n\t\t\t").concat(Ba,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-post-grid-column:hover {\n\t\t\t").concat(Ta,"\n\t\t\t").concat(Ht,"\n\t\t}\n\t\t").concat("style-4"===c&&ga?"\n\t\t\t.eb-post-grid-wrapper.".concat(r,".style-4 .ebpg-grid-post-holder {\n\t\t\t\talign-items: ").concat(L,";\n\t\t\t}\n\t\t\t").concat("0"===Mn?".eb-post-grid-wrapper.".concat(r,".style-4 .ebpg-grid-post-holder .ebpg-entry-media {\n\t\t\t\t\tdisplay: none;\n\t\t\t\t}\n\t\t\t\t.eb-post-grid-wrapper.").concat(r,".style-4 .ebpg-grid-post-holder .ebpg-entry-wrapper {\n\t\t\t\t\twidth: ").concat(100-Mn,"%;\n\t\t\t\t}"):"100"===Mn?".eb-post-grid-wrapper.".concat(r,".style-4 .ebpg-grid-post-holder {\n\t\t\t\t\t\tflex-wrap: wrap;\n\t\t\t\t\t}\n\t\t\t\t\t.eb-post-grid-wrapper.").concat(r,".style-4 .ebpg-grid-post-holder .ebpg-entry-media {\n\t\t\t\t\t\twidth: ").concat(Mn,"%;\n\t\t\t\t\t}\n\t\t\t\t\t.eb-post-grid-wrapper.").concat(r,".style-4 .ebpg-grid-post-holder .ebpg-entry-wrapper {\n\t\t\t\t\t\twidth: ").concat(Mn,"%;\n\t\t\t\t\t}"):".eb-post-grid-wrapper.".concat(r,".style-4 .ebpg-grid-post-holder .ebpg-entry-media {\n\t\t\t\t\twidth: ").concat(Mn,"%;\n\t\t\t\t}\n\t\t\t\t.eb-post-grid-wrapper.").concat(r,".style-4 .ebpg-grid-post-holder .ebpg-entry-wrapper {\n\t\t\t\t\twidth: ").concat(100-Mn,"%;\n\t\t\t\t}")):"","\n\t"),jn=fa.replace(/\D/g,""),In="\n\t\t.eb-post-grid-wrapper.".concat(r," .ebpg-post-grid-column {\n\t\t\t").concat(Ie,"\n\t\t\t").concat(Lt,"\n\t\t\t").concat(Na,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-post-grid-column:hover {\n\t\t\t").concat(Pa,"\n\t\t\t").concat(zt,"\n\t\t}\n\t\t").concat("style-4"===c&&fa?"\n\t\t\t.eb-post-grid-wrapper.".concat(r,".style-4 .ebpg-grid-post-holder {\n\t\t\t\talign-items: ").concat(L,";\n\t\t\t}\n\t\t\t").concat("0"===jn?".eb-post-grid-wrapper.".concat(r,".style-4 .ebpg-grid-post-holder .ebpg-entry-media {\n\t\t\t\t\tdisplay: none;\n\t\t\t\t}\n\t\t\t\t.eb-post-grid-wrapper.").concat(r,".style-4 .ebpg-grid-post-holder .ebpg-entry-wrapper {\n\t\t\t\t\twidth: ").concat(100-jn,"%;\n\t\t\t\t}"):"100"===jn?".eb-post-grid-wrapper.".concat(r,".style-4 .ebpg-grid-post-holder {\n\t\t\t\t\t\tflex-wrap: wrap;\n\t\t\t\t\t}\n\t\t\t\t\t.eb-post-grid-wrapper.").concat(r,".style-4 .ebpg-grid-post-holder .ebpg-entry-media {\n\t\t\t\t\t\twidth: ").concat(jn,"%;\n\t\t\t\t\t}\n\t\t\t\t\t.eb-post-grid-wrapper.").concat(r,".style-4 .ebpg-grid-post-holder .ebpg-entry-wrapper {\n\t\t\t\t\t\twidth: ").concat(jn,"%;\n\t\t\t\t\t}"):".eb-post-grid-wrapper.".concat(r,".style-4 .ebpg-grid-post-holder .ebpg-entry-media {\n\t\t\t\t\twidth: ").concat(jn,"%;\n\t\t\t\t}\n\t\t\t\t.eb-post-grid-wrapper.").concat(r,".style-4 .ebpg-grid-post-holder .ebpg-entry-wrapper {\n\t\t\t\t\twidth: ").concat(100-jn,"%;\n\t\t\t\t}")):"","\n\t"),An="\n        ".concat("style-1"===c||"style-2"===c||"style-3"===c?"\n            .eb-post-grid-wrapper.".concat(r," .ebpg-entry-media {\n                ").concat(o("thumbnail")&&"order: ".concat(oe.indexOf("thumbnail")+1," !important"),"\n            }\n            "):"","\n\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-entry-thumbnail {\n\t\t\t").concat(it,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-entry-thumbnail img {\n\t\t\t").concat(aa,"\n\t\t\t").concat(ut,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-grid-post-holder .ebpg-entry-thumbnail:after {\n\t\t\tbackground-color: ").concat(s,";\n\t\t\t").concat(ut,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-grid-post-holder .ebpg-entry-thumbnail:hover:after,\n\t\t.eb-post-grid-wrapper.").concat(r,".style-5 .ebpg-grid-post-holder:hover .ebpg-entry-thumbnail:after {\n\t\t\tbackground-color: ").concat(b,";\n\t\t\t").concat(ut,"\n\t\t}\n\t"),Ln="\n\t\t.eb-post-grid-wrapper.".concat(r," .ebpg-entry-thumbnail {\n\t\t\t").concat(st,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-entry-thumbnail img {\n\t\t\t").concat(na,"\n\t\t\t").concat(dt,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-grid-post-holder .ebpg-entry-thumbnail:hover:after,\n\t\t.eb-post-grid-wrapper.").concat(r,".style-5 .ebpg-grid-post-holder:hover .ebpg-entry-thumbnail:after {\n\t\t\t").concat(dt,"\n\t\t}\n\t"),Fn="\n\t\t.eb-post-grid-wrapper.".concat(r," .ebpg-entry-thumbnail {\n\t\t\t").concat(bt,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-entry-thumbnail img {\n\t\t\t").concat(oa,"\n\t\t\t").concat(mt,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-grid-post-holder .ebpg-entry-thumbnail:hover:after,\n\t\t.eb-post-grid-wrapper.").concat(r,".style-5 .ebpg-grid-post-holder:hover .ebpg-entry-thumbnail:after {\n\t\t\t").concat(mt,"\n\t\t}\n\t"),Hn="\n\t\t.eb-post-grid-wrapper.".concat(r," .ebpg-entry-header {\n            ").concat(o("title")&&"order: ".concat(oe.indexOf("title")+1," !important"),"\n        }\n\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-entry-title {\n\t\t\ttext-align: ").concat(d,";\n\t\t\t").concat(ce,"\n\t\t\t").concat(Le,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-entry-title a {\n\t\t\tcolor: ").concat(p,";\n\t\t\t").concat(ce,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-entry-title a:hover {\n\t\t\tcolor: ").concat(u,";\n\t\t}\n\t"),zn="\n\t\t.eb-post-grid-wrapper.".concat(r," .ebpg-entry-title {\n\t\t\t").concat(le,"\n\t\t\t").concat(Fe,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-entry-title a {\n\t\t\t").concat(le,"\n\t\t}\n\t"),qn="\n\t\t.eb-post-grid-wrapper.".concat(r," .ebpg-entry-title {\n\t\t\t").concat(ie,"\n\t\t\t").concat(He,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-entry-title a {\n\t\t\t").concat(ie,"\n\t\t}\n\t"),Un="\n\t\t.eb-post-grid-wrapper.".concat(r," .ebpg-entry-content, .eb-post-grid-wrapper.").concat(r," .ebpg-grid-post-excerpt {\n            ").concat(o("excerpt")&&"order: ".concat(oe.indexOf("excerpt")+1," !important"),"\n        }\n\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-grid-post-excerpt p {\n\t\t\tcolor: ").concat(m,";\n\t\t\ttext-align: ").concat(g,";\n\t\t\t").concat(be,"\n\t\t\t").concat(qe,"\n\t\t}\n\t"),Vn="\n\t\t.eb-post-grid-wrapper.".concat(r," .ebpg-grid-post-excerpt p {\n\t\t\t").concat(pe,"\n\t\t\t").concat(Ue,"\n\t\t}\n\t"),Wn="\n\t\t.eb-post-grid-wrapper.".concat(r," .ebpg-grid-post-excerpt p {\n\t\t\t").concat(ue,"\n\t\t\t").concat(Ve,"\n\t\t}\n\t"),Gn="\n\t\t.eb-post-grid-wrapper.".concat(r," .ebpg-readmore-btn {\n\t\t\ttext-align: ").concat(v,";\n            order: 10;\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-readmore-btn a {\n\t\t\tcolor: ").concat(f,";\n\t\t\tbackground-color: ").concat(y,";\n\t\t\t").concat(me,"\n\t\t\t").concat(Ge,"\n\t\t\t").concat(Qe,"\n            ").concat(en,"\n\t\t\ttransition: ").concat(cn,";\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-readmore-btn a:hover {\n\t\t\tcolor: ").concat(h,";\n\t\t\tbackground-color: ").concat(w,";\n            ").concat(nn,"\n\t\t}\n\n\t\t").concat(ae?".eb-post-grid-wrapper.".concat(r," .ebpg-readmore-btn .eb-button-icon {\n\t\t\t\t\t").concat(yn,"\n\t\t\t\t\t").concat("left"===ne?Cn:kn,"\n\t\t\t\t}"):"","\n\t"),Zn="\n\t\t.eb-post-grid-wrapper.".concat(r," .ebpg-readmore-btn a {\n\t\t\t").concat(ge,"\n\t\t\t").concat(Ze,"\n\t\t\t").concat(Xe,"\n            ").concat(tn,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-readmore-btn a:hover {\n            ").concat(on,"\n\t\t}\n\t\t").concat(ae?".eb-post-grid-wrapper.".concat(r," .ebpg-readmore-btn .eb-button-icon {\n\t\t\t\t\t").concat(vn,"\n\t\t\t\t\t").concat("left"===ne?xn:Rn,"\n\t\t\t\t}"):"","\n\t"),Yn="\n\t\t.eb-post-grid-wrapper.".concat(r," .ebpg-readmore-btn a {\n\t\t\t").concat(fe,"\n\t\t\t").concat(Ye,"\n\t\t\t").concat($e,"\n            ").concat(an,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-readmore-btn a:hover {\n            ").concat(rn,"\n\t\t}\n\t\t").concat(ae?".eb-post-grid-wrapper.".concat(r," .ebpg-readmore-btn .eb-button-icon {\n\t\t\t\t\t").concat(hn,"\n\t\t\t\t\t").concat("left"===ne?Sn:_n,"\n\t\t\t\t}"):"","\n\t"),Jn="\n\t\t.eb-post-grid-wrapper.".concat(r," .ebpg-author-avatar img {\n\t\t\t").concat(ft,"\n\t\t}\n\t"),Qn="\n\t\t.eb-post-grid-wrapper.".concat(r," .ebpg-author-avatar img {\n\t\t\t").concat(yt,"\n\t\t}\n\t"),Xn="\n\t\t.eb-post-grid-wrapper.".concat(r," .ebpg-author-avatar img {\n\t\t\t").concat(vt,"\n\t\t}\n\t"),$n="\n\t\t.eb-post-grid-wrapper.".concat(r," .ebpg-posted-on {\n\t\t\tcolor: ").concat(A,";\n\t\t\t").concat(ve,"\n\t\t}\n\t"),Kn="\n\t\t.eb-post-grid-wrapper.".concat(r," .ebpg-posted-on {\n\t\t\t").concat(he,"\n\t\t}\n\t"),eo="\n\t\t.eb-post-grid-wrapper.".concat(r," .ebpg-posted-on {\n\t\t\t").concat(we,"\n\t\t}\n\t"),to="\n\t\t.eb-post-grid-wrapper.".concat(r," .ebpg-posted-by {\n\t\t\tcolor: ").concat(_,";\n\t\t\t").concat(ve,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-posted-by a {\n\t\t\tcolor: ").concat(_,";\n\t\t\t").concat(ve,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-posted-by a:hover {\n\t\t\tcolor: ").concat(E,";\n\t\t}\n\t"),ao="\n\t\t.eb-post-grid-wrapper.".concat(r," .ebpg-posted-by {\n\t\t\t").concat(he,"\n\t\t}\n\t"),no="\n\t\t.eb-post-grid-wrapper.".concat(r," .ebpg-posted-by {\n\t\t\t").concat(we,"\n\t\t}\n\t"),oo="\n\t\t.eb-post-grid-wrapper.".concat(r," .ebpg-meta a {\n\t\t\tcolor: ").concat(C,";\n\t\t\tbackground-color: ").concat(S,";\n\t\t\t").concat(ve,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-meta a:hover {\n\t\t\tcolor: ").concat(x,";\n\t\t\tbackground-color: ").concat(B,";\n\t\t}\n\t"),ro="\n\t\t.eb-post-grid-wrapper.".concat(r," .ebpg-meta a {\n\t\t\t").concat(he,"\n\t\t}\n\t"),co="\n\t\t.eb-post-grid-wrapper.".concat(r," .ebpg-meta a {\n\t\t\t").concat(we,"\n\t\t}\n\t"),lo="\n\t\t.eb-post-grid-wrapper.".concat(r," .ebpg-categories-meta a {\n\t\t\tcolor: ").concat(T,";\n\t\t\tbackground-color: ").concat(P,";\n\t\t\t").concat(ve,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-categories-meta a:hover {\n\t\t\tcolor: ").concat(N,";\n\t\t\tbackground-color: ").concat(O,";\n\t\t}\n\t"),io="\n\t\t.eb-post-grid-wrapper.".concat(r," .ebpg-categories-meta a {\n\t\t\t").concat(he,"\n\t\t}\n\t"),so="\n\t\t.eb-post-grid-wrapper.".concat(r," .ebpg-categories-meta a {\n\t\t\t").concat(we,"\n\t\t}\n\t"),bo="\n\t\t.eb-post-grid-wrapper.".concat(r," .ebpg-tags-meta a {\n\t\t\tcolor: ").concat(M,";\n\t\t\tbackground-color: ").concat(j,";\n\t\t\t").concat(ve,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-tags-meta a:hover {\n\t\t\tcolor: ").concat(D,";\n\t\t\tbackground-color: ").concat(I,";\n\t\t}\n\t"),po="\n\t\t.eb-post-grid-wrapper.".concat(r," .ebpg-tags-meta a {\n\t\t\t").concat(he,"\n\t\t}\n\t"),uo="\n\t\t.eb-post-grid-wrapper.".concat(r," .ebpg-tags-meta a {\n\t\t\t").concat(we,"\n\t\t}\n\t"),mo="\n\t\t.eb-post-grid-wrapper.".concat(r," .ebpg-read-time {\n\t\t\tcolor: ").concat(W,";\n\t\t\t").concat(ve,"\n\t\t}\n\t"),go="\n\t\t.eb-post-grid-wrapper.".concat(r," .ebpg-read-time {\n\t\t\t").concat(he,"\n\t\t}\n\t"),fo="\n\t\t.eb-post-grid-wrapper.".concat(r," .ebpg-read-time {\n\t\t\t").concat(we,"\n\t\t}\n\t"),yo="\n\t\t.eb-post-grid-wrapper.".concat(r," .ebpg-meta.ebpg-dynamic-values {\n\t\t\tcolor: ").concat(G,";\n\t\t\tbackground-color: ").concat(Z,";\n\t\t\t").concat(ve,"\n\t\t}\n\t"),vo="\n\t\t.eb-post-grid-wrapper.".concat(r," .ebpg-meta.ebpg-dynamic-values  {\n\t\t\t").concat(he,"\n\t\t}\n\t"),ho="\n\t\t.eb-post-grid-wrapper.".concat(r," .ebpg-meta.ebpg-dynamic-values  {\n\t\t\t").concat(we,"\n\t\t}\n\t"),wo="\n\t\t.eb-post-grid-wrapper.".concat(r," .ebpg-header-meta {\n\t\t\tjustify-content: ").concat(k,";\n\t\t\t").concat(et,"\n            ").concat(o("headerMeta")&&"order: ".concat(oe.indexOf("headerMeta")+1," !important"),"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-header-meta .ebpg-entry-meta-items {\n\t\t\tjustify-content: ").concat(k,";\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-header-meta .ebpg-author-avatar,\n\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-header-meta .ebpg-entry-meta-items > * {\n\t\t\t").concat(ca,"\n\t\t}\n\t"),ko="\n\t\t.eb-post-grid-wrapper.".concat(r," .ebpg-header-meta {\n\t\t\t").concat(tt,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-header-meta .ebpg-author-avatar,\n\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-header-meta .ebpg-entry-meta-items > * {\n\t\t\t").concat(la,"\n\t\t}\n\t"),Ro="\n\t\t.eb-post-grid-wrapper.".concat(r," .ebpg-header-meta {\n\t\t\t").concat(at,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-header-meta .ebpg-author-avatar,\n\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-header-meta .ebpg-entry-meta-items > * {\n\t\t\t").concat(ia,"\n\t\t}\n\t"),_o="\n\t\t.eb-post-grid-wrapper.".concat(r," .ebpg-footer-meta {\n\t\t\tjustify-content: ").concat(R,";\n\t\t\t").concat(ot,"\n            ").concat(o("footerMeta")&&"order: ".concat(oe.indexOf("footerMeta")+1," !important"),"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-footer-meta .ebpg-entry-meta-items {\n\t\t\tjustify-content: ").concat(R,";\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-footer-meta .ebpg-author-avatar,\n\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-footer-meta .ebpg-entry-meta-items > * {\n\t\t\t").concat(ba,"\n\t\t}\n\t"),Eo="\n\t\t.eb-post-grid-wrapper.".concat(r," .ebpg-footer-meta {\n\t\t\t").concat(rt,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-footer-meta .ebpg-author-avatar,\n\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-footer-meta .ebpg-entry-meta-items > * {\n\t\t\t").concat(pa,"\n\t\t}\n\t"),Co="\n\t\t.eb-post-grid-wrapper.".concat(r," .ebpg-footer-meta {\n\t\t\t").concat(ct,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-footer-meta .ebpg-author-avatar,\n\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-footer-meta .ebpg-entry-meta-items > * {\n\t\t\t").concat(ua,"\n\t\t}\n\t"),xo="\n\t\t.eb-post-grid-wrapper.".concat(r," .ebpg-pagination {\n\t\t\ttext-align: ").concat(i?i.alignment:"center",";\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-pagination button {\n\t\t\tcolor: ").concat(F,";\n\t\t\tbackground-color: ").concat(H,";\n\t\t\t").concat(Da,"\n\t\t\t").concat(La,"\n\t\t\t").concat(qa,"\n\t\t\t").concat(Ga,"\n\t\t\ttransition: ").concat($a,";\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-pagination button:hover {\n\t\t\tcolor: ").concat(z,";\n\t\t\tbackground-color: ").concat(q,";\n\t\t\t").concat(Ja,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-pagination button.ebpg-pagination-item.active {\n\t\t\tcolor: ").concat(U,";\n\t\t\tbackground-color: ").concat(V,";\n\t\t}\n\t"),So="\n\t\t.eb-post-grid-wrapper.".concat(r," .ebpg-pagination button {\n\t\t\t").concat(ja,"\n\t\t\t").concat(Fa,"\n\t\t\t").concat(Ua,"\n\t\t\t").concat(Za,"\n\t\t\t").concat(Qa,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-pagination button:hover {\n\t\t\t").concat(Qa,"\n\t\t}\n\t"),Bo="\n\t\t.eb-post-grid-wrapper.".concat(r," .ebpg-pagination button {\n\t\t\t").concat(Ia,"\n\t\t\t").concat(Ha,"\n\t\t\t").concat(Va,"\n\t\t\t").concat(Ya,"\n\t\t\t").concat(Xa,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-pagination button:hover {\n\t\t\t").concat(Xa,"\n\t\t}\n\t"),To="\n\t\t".concat(Y?"\n\t\t\t.eb-post-grid-wrapper.".concat(r," .eb-post-grid-category-filter {\n\t\t\t\t").concat(Et,"\n\t\t\t}\n\t\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-category-filter-list {\n\t\t\t\t").concat($t,"\n\t\t\t}\n\t\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-category-filter-list-item {\n\t\t\t\tcolor: ").concat(X,";\n\t\t\t\tbackground-color: ").concat(Q,";\n\t\t\t\t").concat(Re,"\n\t\t\t\t").concat(wt,"\n\t\t\t\t").concat(sn,"\n\t\t\t\ttransition: ").concat(gn,";\n\t\t\t}\n\t\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-category-filter-list-item.active {\n\t\t\t\tcolor: ").concat(K,";\n\t\t\t\tbackground-color: ").concat($,";\n\t\t\t}\n\t\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-category-filter-list-item:hover {\n\t\t\t\tcolor: ").concat(te,";\n\t\t\t\tbackground-color: ").concat(ee,";\n\t\t\t\t").concat(un,"\n\t\t\t}\n\t\t"):"","\n\t"),No="\n\t\t".concat(Y?"\n\t\t\t.eb-post-grid-wrapper.".concat(r," .eb-post-grid-category-filter {\n\t\t\t\t").concat(Ct,"\n\t\t\t}\n\t\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-category-filter-list {\n\t\t\t\t").concat(Kt,"\n\t\t\t}\n\t\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-category-filter-list-item {\n\t\t\t\t").concat(_e,"\n\t\t\t\t").concat(kt,"\n\t\t\t\t").concat(bn,"\n\t\t\t}\n\t\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-category-filter-list-item:hover {\n\t\t\t\t").concat(dn,"\n\t\t\t}\n\t\t"):"","\n\t"),Po="\n\t\t".concat(Y?"\n\t\t\t.eb-post-grid-wrapper.".concat(r," .eb-post-grid-category-filter {\n\t\t\t\t").concat(xt,"\n\t\t\t}\n\t\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-category-filter-list {\n\t\t\t\t").concat(ea,"\n\t\t\t}\n\t\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-category-filter-list-item {\n\t\t\t\t").concat(Ee,"\n\t\t\t\t").concat(Rt,"\n\t\t\t\t").concat(pn,"\n\t\t\t}\n\t\t\t.eb-post-grid-wrapper.").concat(r," .ebpg-category-filter-list-item:hover {\n\t\t\t\t").concat(mn,"\n\t\t\t}\n\t\t"):"","\n\t"),Oo=tq("\n\t\t".concat(Bn,"\n\t\t").concat(On,"\n\t\t").concat(An,"\n\t\t").concat(Hn,"\n\t\t").concat(Un,"\n\t\t").concat(Gn,"\n\t\t").concat(Jn,"\n\t\t").concat($n,"\n\t\t").concat(to,"\n\t\t").concat(oo,"\n\t\t").concat(lo,"\n\t\t").concat(bo,"\n\t\t").concat(mo,"\n\t\t").concat(yo,"\n\t\t").concat(wo,"\n\t\t").concat(_o,"\n\t\t").concat(xo,"\n\t\t").concat(To,"\n\t")),Mo=tq("\n\t\t".concat(Tn,"\n\t\t").concat(Dn,"\n\t\t").concat(Ln,"\n\t\t").concat(zn,"\n\t\t").concat(Vn,"\n\t\t").concat(Zn,"\n\t\t").concat(Qn,"\n\t\t").concat(Kn,"\n\t\t").concat(ao,"\n\t\t").concat(ro,"\n\t\t").concat(io,"\n\t\t").concat(po,"\n\t\t").concat(go,"\n\t\t").concat(vo,"\n\t\t").concat(ko,"\n\t\t").concat(Eo,"\n\t\t").concat(So,"\n\t\t").concat(No,"\n\t")),Do=tq("\n\t\t".concat(Nn,"\n\t\t").concat(In,"\n\t\t").concat(Fn,"\n\t\t").concat(qn,"\n\t\t").concat(Wn,"\n\t\t").concat(Yn,"\n\t\t").concat(Xn,"\n\t\t").concat(eo,"\n\t\t").concat(no,"\n\t\t").concat(co,"\n\t\t").concat(so,"\n\t\t").concat(uo,"\n\t\t").concat(fo,"\n\t\t").concat(ho,"\n\t\t").concat(Ro,"\n\t\t").concat(Co,"\n\t\t").concat(Bo,"\n\t\t").concat(Po,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(lq,{attributes:t,setAttributes:a,desktopAllStyles:Oo,tabAllStyles:Mo,mobileAllStyles:Do,blockName:n}))}const sq=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"60",fill:"none",viewBox:"0 0 60 60"},React.createElement("g",{fill:"#6C3BFF",clipPath:"url(#clip0_2_22781)"},React.createElement("path",{d:"M57.867 5H2.133C.933 5 0 5.933 0 7.133v46.534c0 1.2.933 2.133 2.133 2.133h55.734c1.2 0 2.133-.933 2.133-2.133v-46.4C60.133 5.933 59 5 57.867 5zm.533 48.667c0 .266-.267.533-.533.533H2.133c-.266 0-.533-.267-.533-.533v-46.4c0-.267.267-.534.533-.534h55.734c.266 0 .533.267.533.534v46.4z"}),React.createElement("path",{d:"M19 30.067H9A1.863 1.863 0 017.133 28.2v-10c0-1.067.867-1.867 1.867-1.867h10c1.067 0 1.867.867 1.867 1.867v10c0 1-.867 1.867-1.867 1.867zM8.933 17.8c-.2 0-.333.133-.333.333v10c0 .2.133.334.333.334h10c.2 0 .334-.134.334-.334v-10c0-.2-.134-.333-.334-.333h-10zM35.133 30.067h-10a1.863 1.863 0 01-1.866-1.867v-10c0-1.067.866-1.867 1.866-1.867h10C36.2 16.333 37 17.2 37 18.2v10c.067 1-.8 1.867-1.867 1.867zm-10-12.267c-.2 0-.333.133-.333.333v10c0 .2.133.334.333.334h10c.2 0 .334-.134.334-.334v-10c0-.2-.134-.333-.334-.333h-10zM51.333 30.067h-10a1.863 1.863 0 01-1.866-1.867v-10c0-1.067.866-1.867 1.866-1.867h10c1.067 0 1.867.867 1.867 1.867v10c0 1-.867 1.867-1.867 1.867zM41.267 17.8c-.2 0-.334.133-.334.333v10c0 .2.134.334.334.334h10c.2 0 .333-.134.333-.334v-10c0-.2-.133-.333-.333-.333h-10zM19 47.4H9a1.863 1.863 0 01-1.867-1.867v-10c0-1.066.867-1.866 1.867-1.866h10c1.067 0 1.867.866 1.867 1.866v10A1.863 1.863 0 0119 47.4zM8.933 35.133c-.2 0-.333.134-.333.334v10c0 .2.133.333.333.333h10c.2 0 .334-.133.334-.333v-10c0-.2-.134-.334-.334-.334h-10zM35.133 47.4h-10a1.863 1.863 0 01-1.866-1.867v-10c0-1.066.866-1.866 1.866-1.866h10c1.067 0 1.867.866 1.867 1.866v10c.067 1.067-.8 1.867-1.867 1.867zm-10-12.267c-.2 0-.333.134-.333.334v10c0 .2.133.333.333.333h10c.2 0 .334-.133.334-.333v-10c0-.2-.134-.334-.334-.334h-10zM51.333 47.4h-10a1.863 1.863 0 01-1.866-1.867v-10c0-1.066.866-1.866 1.866-1.866h10c1.067 0 1.867.866 1.867 1.866v10a1.863 1.863 0 01-1.867 1.867zM41.267 35.133c-.2 0-.334.134-.334.334v10c0 .2.134.333.334.333h10c.2 0 .333-.133.333-.333v-10c0-.2-.133-.334-.333-.334h-10z"})),React.createElement("defs",null,React.createElement("clipPath",{id:"clip0_2_22781"},React.createElement("path",{fill:"#fff",d:"M0 0H60V60H0z"}))))};var bq,pq,uq,dq,mq,gq,fq,yq,vq=[{title:"Classic Layout",templatePreview:!0,preview:"".concat(null===(bq=EssentialBlocksLocalize)||void 0===bq?void 0:bq.image_url,"/templates/post-grid/preset-1.svg"),content:'\x3c!-- wp:essential-blocks/post-grid {"blockId":"eb-post-grid-hh3z1","blockMeta":{"desktop":".eb-post-grid-wrapper.eb-post-grid-hh3z1 .eb-post-grid-posts-wrapper { display:grid; position:relative; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:10px }.eb-post-grid-wrapper.eb-post-grid-hh3z1 { transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-post-grid-column { transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-entry-media { order:1 }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-entry-thumbnail { margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-entry-thumbnail img { height:250px }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-grid-post-holder .ebpg-entry-thumbnail:after { background-color:rgba(0 0 0 / 0) }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-grid-post-holder .ebpg-entry-thumbnail:hover:after,.eb-post-grid-wrapper.eb-post-grid-hh3z1.style-5 .ebpg-grid-post-holder:hover .ebpg-entry-thumbnail:after { background-color:rgba(0 0 0 / 0.5) }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-entry-header { order:2 }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-entry-title { text-align:left; font-size:18px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-entry-title a { color:var(\\u002d\\u002deb-global-heading-color); font-size:18px }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-entry-title a:hover { color:var(\\u002d\\u002deb-global-link-color) }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-entry-content, .eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-grid-post-excerpt { order:3 }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-grid-post-excerpt p { color:var(\\u002d\\u002deb-global-text-color); text-align:left; font-size:15px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-readmore-btn { text-align:left; order:10 }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-readmore-btn a { color:var(\\u002d\\u002deb-global-tertiary-color); font-size:13px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px; padding-top:0px; padding-right:0px; padding-left:0px; padding-bottom:0px; border-radius:0px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-readmore-btn a:hover { color:var(\\u002d\\u002deb-global-secondary-color) }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-author-avatar img { border-radius:50px }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-posted-on { color:var(\\u002d\\u002deb-global-tertiary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-posted-by { color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-posted-by a { color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-posted-by a:hover { color:var(\\u002d\\u002deb-global-primary-color) }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-meta a { color:var(\\u002d\\u002deb-global-text-color); background-color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-meta a:hover { color:var(\\u002d\\u002deb-global-text-color); background-color:var(\\u002d\\u002deb-global-primary-color) }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-categories-meta a { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-categories-meta a:hover { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-primary-color) }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-tags-meta a { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-tertiary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-tags-meta a:hover { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-secondary-color) }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-read-time { color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-meta.ebpg-dynamic-values { color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-header-meta { justify-content:left; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px; order:4 }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-header-meta .ebpg-entry-meta-items { justify-content:left }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-header-meta .ebpg-author-avatar,.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-header-meta .ebpg-entry-meta-items \\u003e * { margin-right:10px }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-footer-meta { justify-content:left; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px; order:5 }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-footer-meta .ebpg-entry-meta-items { justify-content:left }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-footer-meta .ebpg-author-avatar,.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-footer-meta .ebpg-entry-meta-items \\u003e * { margin-right:10px }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-pagination { text-align:center }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-pagination button { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-button-background-color); padding-top:5px; padding-right:10px; padding-left:10px; padding-bottom:5px; margin-top:10px; margin-right:5px; margin-left:5px; margin-bottom:10px; font-size:14px; border-width:1px; border-color:#c3c3c3; border-style:solid; border-radius:4px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-pagination button:hover { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-tertiary-color) }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-pagination button.ebpg-pagination-item.active { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-tertiary-color) }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .eb-post-grid-category-filter.eb-show-search { background-color:#ffffff; padding:10px; border-width:1px; border-color:#C9D8EB; border-style:solid; border-radius:5px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .eb-post-grid-search { padding:10px; border-width:1px; border-color:#C9D8EB; border-style:solid; border-radius:5px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .eb-post-grid-category-filter.eb-show-search .eb-post-grid-search-icon,.eb-post-grid-wrapper.eb-post-grid-hh3z1 .eb-post-grid-search .eb-post-grid-search-icon { width:30px; fill:#949494 }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .eb-post-grid-search-form input { color:#666666; caret-color:#666666 }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .eb-post-grid-search-form input::placeholder { color:#949494 }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .eb-post-grid-search-form .eb-post-grid-search-loader { stroke:#444b54 }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .eb-post-grid-search-result { background-color:#FFFFFF; width:100%; padding-top:30px; padding-right:30px; padding-left:30px; padding-bottom:30px; border-radius:5px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .eb-post-grid-search-not-found { color:#000000; text-align:center }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .eb-post-grid-search-content-item { background-color:#ffffff; padding:0px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:20px; border-radius:5px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .eb-post-grid-search-content-item:hover { background-color:#ffffff }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .eb-post-grid-search-content-item:hover .eb-post-grid-search-item-content h4 { color:#5959E8 }","tab":".eb-post-grid-wrapper.eb-post-grid-hh3z1 .eb-post-grid-posts-wrapper { grid-template-columns:repeat(1,minmax(0, 1fr)) }","mobile":".eb-post-grid-wrapper.eb-post-grid-hh3z1 .eb-post-grid-posts-wrapper { grid-template-columns:repeat(1,minmax(0, 1fr)) }"},"version":"v2","queryData":{"source":"post","sourceIndex":0,"rest_base":"posts","rest_namespace":"wp/v2","author":"","taxonomies":{},"per_page":"6","offset":"0","orderby":"date","order":"desc","include":"","exclude":"","exclude_current":false},"loadMoreOptions":{"enableMorePosts":false,"loadMoreType":"1","loadMoreButtonTxt":"Load More","alignment":"center","prevTxt":"\\u003c","nextTxt":"\\u003e","totalPosts":"8"},"filterItmBdrShdwborderColor":"var(\\u002d\\u002deb-global-tertiary-color)","filterItmBdrShdwborderStyle":"solid","commonStyles":{"desktop":".wp-admin .eb-parent-eb-post-grid-hh3z1 { display:block; opacity:1 }.eb-parent-eb-post-grid-hh3z1 { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-post-grid-hh3z1 { display:block; opacity:1 }.eb-parent-eb-post-grid-hh3z1 { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-post-grid-hh3z1 { display:block; opacity:1 }.eb-parent-eb-post-grid-hh3z1 { display:block }"}} /--\x3e'},{title:"Modern Layout",templatePreview:!0,preview:"".concat(null===(pq=EssentialBlocksLocalize)||void 0===pq?void 0:pq.image_url,"/templates/post-grid/preset-2.svg"),content:'\x3c!-- wp:essential-blocks/post-grid {"blockId":"eb-post-grid-pb9bu","blockMeta":{"desktop":".eb-post-grid-wrapper.eb-post-grid-pb9bu .eb-post-grid-posts-wrapper { display:grid; position:relative; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:10px }.eb-post-grid-wrapper.eb-post-grid-pb9bu { transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-post-grid-column { padding:0px; border-radius:0px; box-shadow:rgba(197,197,197,1) 0px 0px 0px 0px ; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-post-grid-column:hover { box-shadow:rgba(197,197,197,1) 0px 0px 0px 0px   }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-entry-media { order:1 }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-entry-thumbnail { margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-entry-thumbnail img { height:200px; border-radius:5px }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-grid-post-holder .ebpg-entry-thumbnail:after { background-color:rgba(0 0 0 / 0); border-radius:5px }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-grid-post-holder .ebpg-entry-thumbnail:hover:after,.eb-post-grid-wrapper.eb-post-grid-pb9bu.style-5 .ebpg-grid-post-holder:hover .ebpg-entry-thumbnail:after { background-color:rgba(0 0 0 / 0.5); border-radius:5px }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-entry-header { order:2 }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-entry-title { text-align:left; font-size:18px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-entry-title a { color:#333333; font-size:18px }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-entry-title a:hover { color:var(\\u002d\\u002deb-global-link-color) }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-entry-content, .eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-grid-post-excerpt { order:4 }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-grid-post-excerpt p { color:#333333; text-align:left; font-size:15px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-readmore-btn { text-align:left; order:10 }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-readmore-btn a { color:#3d8fd4; font-size:13px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px; padding-top:0px; padding-right:0px; padding-left:0px; padding-bottom:0px; border-radius:0px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-readmore-btn a:hover { color:var(\\u002d\\u002deb-global-secondary-color) }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-author-avatar img { border-radius:50px }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-posted-on { color:#9e9e9e; font-size:13px }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-posted-by { color:#3d8fd4; font-size:13px }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-posted-by a { color:#3d8fd4; font-size:13px }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-posted-by a:hover { color:var(\\u002d\\u002deb-global-primary-color) }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-meta a { color:var(\\u002d\\u002deb-global-text-color); background-color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-meta a:hover { color:var(\\u002d\\u002deb-global-text-color); background-color:var(\\u002d\\u002deb-global-primary-color) }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-categories-meta a { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-categories-meta a:hover { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-primary-color) }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-tags-meta a { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-tertiary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-tags-meta a:hover { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-secondary-color) }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-read-time { color:#333333; font-size:13px }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-meta.ebpg-dynamic-values { color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-header-meta { justify-content:left; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px; order:3 }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-header-meta .ebpg-entry-meta-items { justify-content:left }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-header-meta .ebpg-author-avatar,.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-header-meta .ebpg-entry-meta-items \\u003e * { margin-right:10px }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-footer-meta { justify-content:left; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px; order:5 }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-footer-meta .ebpg-entry-meta-items { justify-content:left }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-footer-meta .ebpg-author-avatar,.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-footer-meta .ebpg-entry-meta-items \\u003e * { margin-right:10px }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-pagination { text-align:center }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-pagination button { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-button-background-color); padding-top:5px; padding-right:10px; padding-left:10px; padding-bottom:5px; margin-top:10px; margin-right:5px; margin-left:5px; margin-bottom:10px; font-size:14px; border-width:1px; border-color:#c3c3c3; border-style:solid; border-radius:4px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-pagination button:hover { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-tertiary-color) }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-pagination button.ebpg-pagination-item.active { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-tertiary-color) }.eb-post-grid-wrapper.eb-post-grid-pb9bu .eb-post-grid-category-filter.eb-show-search { background-color:#ffffff; padding:10px; border-width:1px; border-color:#C9D8EB; border-style:solid; border-radius:5px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-pb9bu .eb-post-grid-search { padding:10px; border-width:1px; border-color:#C9D8EB; border-style:solid; border-radius:5px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-pb9bu .eb-post-grid-category-filter.eb-show-search .eb-post-grid-search-icon,.eb-post-grid-wrapper.eb-post-grid-pb9bu .eb-post-grid-search .eb-post-grid-search-icon { width:30px; fill:#949494 }.eb-post-grid-wrapper.eb-post-grid-pb9bu .eb-post-grid-search-form input { color:#666666; caret-color:#666666 }.eb-post-grid-wrapper.eb-post-grid-pb9bu .eb-post-grid-search-form input::placeholder { color:#949494 }.eb-post-grid-wrapper.eb-post-grid-pb9bu .eb-post-grid-search-form .eb-post-grid-search-loader { stroke:#444b54 }.eb-post-grid-wrapper.eb-post-grid-pb9bu .eb-post-grid-search-result { background-color:#FFFFFF; width:100%; padding-top:30px; padding-right:30px; padding-left:30px; padding-bottom:30px; border-radius:5px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-pb9bu .eb-post-grid-search-not-found { color:#000000; text-align:center }.eb-post-grid-wrapper.eb-post-grid-pb9bu .eb-post-grid-search-content-item { background-color:#ffffff; padding:0px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:20px; border-radius:5px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-pb9bu .eb-post-grid-search-content-item:hover { background-color:#ffffff }.eb-post-grid-wrapper.eb-post-grid-pb9bu .eb-post-grid-search-content-item:hover .eb-post-grid-search-item-content h4 { color:#5959E8 }","tab":".eb-post-grid-wrapper.eb-post-grid-pb9bu .eb-post-grid-posts-wrapper { grid-template-columns:repeat(1,minmax(0, 1fr)) }","mobile":".eb-post-grid-wrapper.eb-post-grid-pb9bu .eb-post-grid-posts-wrapper { grid-template-columns:repeat(1,minmax(0, 1fr)) }"},"version":"v2","queryData":{"source":"post","sourceIndex":0,"rest_base":"posts","rest_namespace":"wp/v2","author":"","taxonomies":{},"per_page":"6","offset":"0","orderby":"date","order":"desc","include":"","exclude":"","exclude_current":false},"postTerms":{"category":{"label":"Categories","value":"category"},"post_tag":{"label":"Tags","value":"post_tag"}},"preset":"style-2","titleColor":"#333333","contentColor":"#333333","readmoreColor":"#3d8fd4","headerMeta":"[{\\u0022value\\u0022:\\u0022date\\u0022,\\u0022label\\u0022:\\u0022Published Date\\u0022}]","footerMeta":"[{\\u0022value\\u0022:\\u0022avatar\\u0022,\\u0022label\\u0022:\\u0022Author Avatar\\u0022},{\\u0022value\\u0022:\\u0022author\\u0022,\\u0022label\\u0022:\\u0022Author Name\\u0022}]","authorMetaColor":"#3d8fd4","dateMetaColor":"#9e9e9e","loadMoreOptions":{"enableMorePosts":false,"loadMoreType":"1","loadMoreButtonTxt":"Load More","alignment":"center","prevTxt":"\\u003c","nextTxt":"\\u003e","totalPosts":"8"},"ReadTimeMetaColor":"#333333","enableContents":["thumbnail","title","headerMeta","excerpt","footerMeta"],"columnPaddingTop":"0","columnPaddingRight":"0","columnPaddingBottom":"0","columnPaddingLeft":"0","thumbnailBDRTop":"5","thumbnailBDRRight":"5","thumbnailBDRBottom":"5","thumbnailBDRLeft":"5","columnBorderShadowborderColor":"#000000","columnBorderShadowhOffset":0,"columnBorderShadowvOffset":0,"columnBorderShadowblur":0,"columnBorderShadowspread":0,"columnBorderShadowshadowColor":"rgba(197,197,197,1)","columnBorderShadowRds_Top":"0","columnBorderShadowRds_Right":"0","columnBorderShadowRds_Bottom":"0","columnBorderShadowRds_Left":"0","filterItmBdrShdwborderColor":"var(\\u002d\\u002deb-global-tertiary-color)","filterItmBdrShdwborderStyle":"solid","thumbnailImageSizeRange":200,"commonStyles":{"desktop":".wp-admin .eb-parent-eb-post-grid-pb9bu { display:block; opacity:1 }.eb-parent-eb-post-grid-pb9bu { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-post-grid-pb9bu { display:block; opacity:1 }.eb-parent-eb-post-grid-pb9bu { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-post-grid-pb9bu { display:block; opacity:1 }.eb-parent-eb-post-grid-pb9bu { display:block }"}} /--\x3e'},{title:"Vintage Layout",templatePreview:!0,preview:"".concat(null===(uq=EssentialBlocksLocalize)||void 0===uq?void 0:uq.image_url,"/templates/post-grid/preset-3.svg"),content:'\x3c!-- wp:essential-blocks/post-grid {"blockId":"eb-post-grid-zhy8g","blockMeta":{"desktop":".eb-post-grid-wrapper.eb-post-grid-zhy8g .eb-post-grid-posts-wrapper { display:grid; position:relative; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:15px }.eb-post-grid-wrapper.eb-post-grid-zhy8g { transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-post-grid-column { padding:10px; border-radius:5px; box-shadow:rgba(197,197,197,1) 0px 0px 10px 0px ; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-post-grid-column:hover { box-shadow:rgba(197,197,197,1) 0px 0px 10px 0px   }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-entry-media { order:1 }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-entry-thumbnail { margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-entry-thumbnail img { height:250px; border-radius:5px }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-grid-post-holder .ebpg-entry-thumbnail:after { background-color:rgba(0 0 0 / 0); border-radius:5px }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-grid-post-holder .ebpg-entry-thumbnail:hover:after,.eb-post-grid-wrapper.eb-post-grid-zhy8g.style-5 .ebpg-grid-post-holder:hover .ebpg-entry-thumbnail:after { background-color:rgba(0 0 0 / 0.5); border-radius:5px }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-entry-header { order:2 }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-entry-title { text-align:left; font-size:18px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-entry-title a { color:#333333; font-size:18px }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-entry-title a:hover { color:var(\\u002d\\u002deb-global-link-color) }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-entry-content, .eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-grid-post-excerpt { order:4 }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-grid-post-excerpt p { color:#333333; text-align:left; font-size:15px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-readmore-btn { text-align:left; order:10 }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-readmore-btn a { color:#3d8fd4; font-size:13px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px; padding-top:0px; padding-right:0px; padding-left:0px; padding-bottom:0px; border-radius:0px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-readmore-btn a:hover { color:var(\\u002d\\u002deb-global-secondary-color) }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-author-avatar img { border-radius:50px }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-posted-on { color:#9e9e9e; font-size:13px }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-posted-by { color:#3d8fd4; font-size:13px }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-posted-by a { color:#3d8fd4; font-size:13px }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-posted-by a:hover { color:var(\\u002d\\u002deb-global-primary-color) }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-meta a { color:var(\\u002d\\u002deb-global-text-color); background-color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-meta a:hover { color:var(\\u002d\\u002deb-global-text-color); background-color:var(\\u002d\\u002deb-global-primary-color) }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-categories-meta a { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-categories-meta a:hover { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-primary-color) }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-tags-meta a { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-tertiary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-tags-meta a:hover { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-secondary-color) }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-read-time { color:#333333; font-size:13px }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-meta.ebpg-dynamic-values { color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-header-meta { justify-content:left; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px; order:3 }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-header-meta .ebpg-entry-meta-items { justify-content:left }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-header-meta .ebpg-author-avatar,.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-header-meta .ebpg-entry-meta-items \\u003e * { margin-right:10px }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-footer-meta { justify-content:center; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px; order:5 }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-footer-meta .ebpg-entry-meta-items { justify-content:center }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-footer-meta .ebpg-author-avatar,.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-footer-meta .ebpg-entry-meta-items \\u003e * { margin-right:10px }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-pagination { text-align:center }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-pagination button { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-button-background-color); padding-top:5px; padding-right:10px; padding-left:10px; padding-bottom:5px; margin-top:10px; margin-right:5px; margin-left:5px; margin-bottom:10px; font-size:14px; border-width:1px; border-color:#c3c3c3; border-style:solid; border-radius:4px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-pagination button:hover { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-tertiary-color) }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-pagination button.ebpg-pagination-item.active { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-tertiary-color) }.eb-post-grid-wrapper.eb-post-grid-zhy8g .eb-post-grid-category-filter.eb-show-search { background-color:#ffffff; padding:10px; border-width:1px; border-color:#C9D8EB; border-style:solid; border-radius:5px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-zhy8g .eb-post-grid-search { padding:10px; border-width:1px; border-color:#C9D8EB; border-style:solid; border-radius:5px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-zhy8g .eb-post-grid-category-filter.eb-show-search .eb-post-grid-search-icon,.eb-post-grid-wrapper.eb-post-grid-zhy8g .eb-post-grid-search .eb-post-grid-search-icon { width:30px; fill:#949494 }.eb-post-grid-wrapper.eb-post-grid-zhy8g .eb-post-grid-search-form input { color:#666666; caret-color:#666666 }.eb-post-grid-wrapper.eb-post-grid-zhy8g .eb-post-grid-search-form input::placeholder { color:#949494 }.eb-post-grid-wrapper.eb-post-grid-zhy8g .eb-post-grid-search-form .eb-post-grid-search-loader { stroke:#444b54 }.eb-post-grid-wrapper.eb-post-grid-zhy8g .eb-post-grid-search-result { background-color:#FFFFFF; width:100%; padding-top:30px; padding-right:30px; padding-left:30px; padding-bottom:30px; border-radius:5px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-zhy8g .eb-post-grid-search-not-found { color:#000000; text-align:center }.eb-post-grid-wrapper.eb-post-grid-zhy8g .eb-post-grid-search-content-item { background-color:#ffffff; padding:0px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:20px; border-radius:5px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-zhy8g .eb-post-grid-search-content-item:hover { background-color:#ffffff }.eb-post-grid-wrapper.eb-post-grid-zhy8g .eb-post-grid-search-content-item:hover .eb-post-grid-search-item-content h4 { color:#5959E8 }","tab":".eb-post-grid-wrapper.eb-post-grid-zhy8g .eb-post-grid-posts-wrapper { grid-template-columns:repeat(1,minmax(0, 1fr)) }","mobile":".eb-post-grid-wrapper.eb-post-grid-zhy8g .eb-post-grid-posts-wrapper { grid-template-columns:repeat(1,minmax(0, 1fr)) }"},"version":"v2","queryData":{"source":"post","sourceIndex":0,"rest_base":"posts","rest_namespace":"wp/v2","author":"","taxonomies":{},"per_page":"6","offset":"0","orderby":"date","order":"desc","include":"","exclude":"","exclude_current":false},"postTerms":{"category":{"label":"Categories","value":"category"},"post_tag":{"label":"Tags","value":"post_tag"}},"preset":"style-3","titleColor":"#333333","contentColor":"#333333","readmoreColor":"#3d8fd4","headerMeta":"[{\\u0022value\\u0022:\\u0022date\\u0022,\\u0022label\\u0022:\\u0022Published Date\\u0022}]","footerMeta":"[{\\u0022value\\u0022:\\u0022avatar\\u0022,\\u0022label\\u0022:\\u0022Author Avatar\\u0022}]","footerMetaTextAlign":"center","authorMetaColor":"#3d8fd4","dateMetaColor":"#9e9e9e","loadMoreOptions":{"enableMorePosts":false,"loadMoreType":"1","loadMoreButtonTxt":"Load More","alignment":"center","prevTxt":"\\u003c","nextTxt":"\\u003e","totalPosts":"8"},"ReadTimeMetaColor":"#333333","enableContents":["thumbnail","title","headerMeta","excerpt","footerMeta"],"columnPaddingTop":"10","columnPaddingRight":"10","columnPaddingBottom":"10","columnPaddingLeft":"10","thumbnailBDRTop":"5","thumbnailBDRRight":"5","thumbnailBDRBottom":"5","thumbnailBDRLeft":"5","columnBorderShadowborderColor":"#000000","columnBorderShadowhOffset":0,"columnBorderShadowvOffset":0,"columnBorderShadowblur":10,"columnBorderShadowspread":0,"columnBorderShadowshadowColor":"rgba(197,197,197,1)","columnBorderShadowRds_Top":"5","columnBorderShadowRds_Right":"5","columnBorderShadowRds_Bottom":"5","columnBorderShadowRds_Left":"5","filterItmBdrShdwborderColor":"var(\\u002d\\u002deb-global-tertiary-color)","filterItmBdrShdwborderStyle":"solid","columnGapRange":15,"commonStyles":{"desktop":".wp-admin .eb-parent-eb-post-grid-zhy8g { display:block; opacity:1 }.eb-parent-eb-post-grid-zhy8g { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-post-grid-zhy8g { display:block; opacity:1 }.eb-parent-eb-post-grid-zhy8g { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-post-grid-zhy8g { display:block; opacity:1 }.eb-parent-eb-post-grid-zhy8g { display:block }"}} /--\x3e'},{title:"Minimal Layout",templatePreview:!0,preview:"".concat(null===(dq=EssentialBlocksLocalize)||void 0===dq?void 0:dq.image_url,"/templates/post-grid/preset-4.svg"),content:'\x3c!-- wp:essential-blocks/post-grid {"blockId":"eb-post-grid-7w6po","blockMeta":{"desktop":".eb-post-grid-wrapper.eb-post-grid-7w6po .eb-post-grid-posts-wrapper { display:grid; position:relative; grid-template-columns:repeat(1, minmax(0, 1fr)); gap:0px }.eb-post-grid-wrapper.eb-post-grid-7w6po { transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-post-grid-column { padding-top:15px; padding-right:0px; padding-left:0px; padding-bottom:15px; border-top-width:2px; border-right-width:0px; border-left-width:0px; border-bottom-width:0px; border-color:#000000; border-style:solid; border-radius:0px; box-shadow:rgba(197,197,197,1) 0px 0px 0px 0px ; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-post-grid-column:hover { box-shadow:rgba(197,197,197,1) 0px 0px 0px 0px   }.eb-post-grid-wrapper.eb-post-grid-7w6po.style-4 .ebpg-grid-post-holder { align-items:flex-start }.eb-post-grid-wrapper.eb-post-grid-7w6po.style-4 .ebpg-grid-post-holder .ebpg-entry-media { width:40% }.eb-post-grid-wrapper.eb-post-grid-7w6po.style-4 .ebpg-grid-post-holder .ebpg-entry-wrapper { width:60% }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-entry-thumbnail { margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:0px }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-entry-thumbnail img { height:200px; border-radius:0px }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-grid-post-holder .ebpg-entry-thumbnail:after { background-color:rgba(0 0 0 / 0.45); border-radius:0px }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-grid-post-holder .ebpg-entry-thumbnail:hover:after,.eb-post-grid-wrapper.eb-post-grid-7w6po.style-5 .ebpg-grid-post-holder:hover .ebpg-entry-thumbnail:after { background-color:rgba(0 0 0 / 0.65); border-radius:0px }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-entry-header { order:3 }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-entry-title { text-align:left; font-size:18px; margin-top:0px; margin-right:15px; margin-left:15px; margin-bottom:15px }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-entry-title a { color:#555; font-size:18px }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-entry-title a:hover { color:var(\\u002d\\u002deb-global-link-color) }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-entry-content, .eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-grid-post-excerpt { order:4 }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-grid-post-excerpt p { color:#333333; text-align:left; font-size:15px; margin-top:0px; margin-right:0px; margin-left:15px; margin-bottom:10px }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-readmore-btn { text-align:left; order:10 }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-readmore-btn a { color:#3d8fd4; font-size:13px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px; padding-top:0px; padding-right:0px; padding-left:0px; padding-bottom:0px; border-radius:0px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-readmore-btn a:hover { color:var(\\u002d\\u002deb-global-secondary-color) }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-author-avatar img { border-radius:50px }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-posted-on { color:#707070; font-size:13px }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-posted-by { color:#3d8fd4; font-size:13px }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-posted-by a { color:#3d8fd4; font-size:13px }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-posted-by a:hover { color:var(\\u002d\\u002deb-global-primary-color) }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-meta a { color:var(\\u002d\\u002deb-global-text-color); background-color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-meta a:hover { color:var(\\u002d\\u002deb-global-text-color); background-color:var(\\u002d\\u002deb-global-primary-color) }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-categories-meta a { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-categories-meta a:hover { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-primary-color) }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-tags-meta a { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-tertiary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-tags-meta a:hover { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-secondary-color) }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-read-time { color:#707070; font-size:13px }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-meta.ebpg-dynamic-values { color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-header-meta { justify-content:left; margin-top:0px; margin-right:15px; margin-left:15px; margin-bottom:15px; order:2 }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-header-meta .ebpg-entry-meta-items { justify-content:left }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-header-meta .ebpg-author-avatar,.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-header-meta .ebpg-entry-meta-items \\u003e * { margin-right:10px }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-footer-meta { justify-content:left; margin-top:0px; margin-right:15px; margin-left:15px; margin-bottom:15px; order:5 }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-footer-meta .ebpg-entry-meta-items { justify-content:left }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-footer-meta .ebpg-author-avatar,.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-footer-meta .ebpg-entry-meta-items \\u003e * { margin-right:10px }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-pagination { text-align:center }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-pagination button { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-button-background-color); padding-top:5px; padding-right:10px; padding-left:10px; padding-bottom:5px; margin-top:10px; margin-right:5px; margin-left:5px; margin-bottom:10px; font-size:14px; border-width:1px; border-color:#c3c3c3; border-style:solid; border-radius:4px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-pagination button:hover { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-tertiary-color) }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-pagination button.ebpg-pagination-item.active { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-tertiary-color) }.eb-post-grid-wrapper.eb-post-grid-7w6po .eb-post-grid-category-filter.eb-show-search { background-color:#ffffff; padding:10px; border-width:1px; border-color:#C9D8EB; border-style:solid; border-radius:5px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-7w6po .eb-post-grid-search { padding:10px; border-width:1px; border-color:#C9D8EB; border-style:solid; border-radius:5px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-7w6po .eb-post-grid-category-filter.eb-show-search .eb-post-grid-search-icon,.eb-post-grid-wrapper.eb-post-grid-7w6po .eb-post-grid-search .eb-post-grid-search-icon { width:30px; fill:#949494 }.eb-post-grid-wrapper.eb-post-grid-7w6po .eb-post-grid-search-form input { color:#666666; caret-color:#666666 }.eb-post-grid-wrapper.eb-post-grid-7w6po .eb-post-grid-search-form input::placeholder { color:#949494 }.eb-post-grid-wrapper.eb-post-grid-7w6po .eb-post-grid-search-form .eb-post-grid-search-loader { stroke:#444b54 }.eb-post-grid-wrapper.eb-post-grid-7w6po .eb-post-grid-search-result { background-color:#FFFFFF; width:100%; padding-top:30px; padding-right:30px; padding-left:30px; padding-bottom:30px; border-radius:5px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-7w6po .eb-post-grid-search-not-found { color:#000000; text-align:center }.eb-post-grid-wrapper.eb-post-grid-7w6po .eb-post-grid-search-content-item { background-color:#ffffff; padding:0px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:20px; border-radius:5px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-7w6po .eb-post-grid-search-content-item:hover { background-color:#ffffff }.eb-post-grid-wrapper.eb-post-grid-7w6po .eb-post-grid-search-content-item:hover .eb-post-grid-search-item-content h4 { color:#5959E8 }","tab":".eb-post-grid-wrapper.eb-post-grid-7w6po .eb-post-grid-posts-wrapper { grid-template-columns:repeat(1,minmax(0, 1fr)) }","mobile":".eb-post-grid-wrapper.eb-post-grid-7w6po .eb-post-grid-posts-wrapper { grid-template-columns:repeat(1,minmax(0, 1fr)) }"},"version":"v2","queryData":{"source":"post","sourceIndex":0,"rest_base":"posts","rest_namespace":"wp/v2","author":"","taxonomies":{},"per_page":"6","offset":"0","orderby":"date","order":"desc","include":"","exclude":"","exclude_current":false},"postTerms":{"category":{"label":"Categories","value":"category"},"post_tag":{"label":"Tags","value":"post_tag"}},"preset":"style-4","thumbnailOverlayColor":"rgba(0 0 0 / 0.45)","thumbnailOverlayHoverColor":"rgba(0 0 0 / 0.65)","titleColor":"#555","contentColor":"#333333","readmoreColor":"#3d8fd4","headerMeta":"[{\\u0022value\\u0022:\\u0022avatar\\u0022,\\u0022label\\u0022:\\u0022Author Avatar\\u0022},{\\u0022value\\u0022:\\u0022author\\u0022,\\u0022label\\u0022:\\u0022Author Name\\u0022}]","footerMeta":"[{\\u0022value\\u0022:\\u0022readtime\\u0022,\\u0022label\\u0022:\\u0022Read Time\\u0022},{\\u0022value\\u0022:\\u0022date\\u0022,\\u0022label\\u0022:\\u0022Published Date\\u0022}]","authorMetaColor":"#3d8fd4","dateMetaColor":"#707070","loadMoreOptions":{"enableMorePosts":false,"loadMoreType":"1","loadMoreButtonTxt":"Load More","alignment":"center","prevTxt":"\\u003c","nextTxt":"\\u003e","totalPosts":"8"},"ReadTimeMetaColor":"#707070","enableContents":["thumbnail","headerMeta","title","excerpt","footerMeta"],"enableThumbnailSort":false,"columnPaddingisLinked":false,"columnPaddingTop":"15","columnPaddingRight":"0","columnPaddingBottom":"15","columnPaddingLeft":"0","titleMarginRight":"15","titleMarginBottom":"15","titleMarginLeft":"15","contentMarginLeft":"15","headerMetaMarginRight":"15","headerMetaMarginBottom":"15","headerMetaMarginLeft":"15","footerMetaMarginRight":"15","footerMetaMarginBottom":"15","footerMetaMarginLeft":"15","thumbnailMarginBottom":"0","thumbnailBDRTop":"0","thumbnailBDRRight":"0","thumbnailBDRBottom":"0","thumbnailBDRLeft":"0","columnBorderShadowborderColor":"#000000","columnBorderShadowborderStyle":"solid","columnBorderShadowBdr_isLinked":false,"columnBorderShadowBdr_Top":"2","columnBorderShadowBdr_Right":"0","columnBorderShadowBdr_Bottom":"0","columnBorderShadowBdr_Left":"0","columnBorderShadowhOffset":0,"columnBorderShadowvOffset":0,"columnBorderShadowblur":0,"columnBorderShadowspread":0,"columnBorderShadowshadowColor":"rgba(197,197,197,1)","columnBorderShadowRds_Top":"0","columnBorderShadowRds_Right":"0","columnBorderShadowRds_Bottom":"0","columnBorderShadowRds_Left":"0","filterItmBdrShdwborderColor":"var(\\u002d\\u002deb-global-tertiary-color)","filterItmBdrShdwborderStyle":"solid","columnsRange":1,"columnGapRange":0,"thumbnailImageSizeRange":200,"commonStyles":{"desktop":".wp-admin .eb-parent-eb-post-grid-7w6po { display:block; opacity:1 }.eb-parent-eb-post-grid-7w6po { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-post-grid-7w6po { display:block; opacity:1 }.eb-parent-eb-post-grid-7w6po { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-post-grid-7w6po { display:block; opacity:1 }.eb-parent-eb-post-grid-7w6po { display:block }"}} /--\x3e'},{title:"Gallery Layout",templatePreview:!0,preview:"".concat(null===(mq=EssentialBlocksLocalize)||void 0===mq?void 0:mq.image_url,"/templates/post-grid/preset-5.svg"),content:'\x3c!-- wp:essential-blocks/post-grid {"blockId":"eb-post-grid-wmqkd","blockMeta":{"desktop":".eb-post-grid-wrapper.eb-post-grid-wmqkd .eb-post-grid-posts-wrapper { display:grid; position:relative; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:10px }.eb-post-grid-wrapper.eb-post-grid-wmqkd { transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-post-grid-column { padding:0px; border-radius:0px; box-shadow:rgba(197,197,197,1) 0px 0px 0px 0px ; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-post-grid-column:hover { box-shadow:rgba(197,197,197,1) 0px 0px 0px 0px   }.eb-post-grid-wrapper.eb-post-grid-wmqkd.style-5 .ebpg-grid-post-holder .ebpg-entry-wrapper { justify-content:flex-start }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-entry-thumbnail { margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-entry-thumbnail img { height:250px; border-radius:0px }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-grid-post-holder .ebpg-entry-thumbnail:after { background-color:rgba(0 0 0 / 0.45); border-radius:0px }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-grid-post-holder .ebpg-entry-thumbnail:hover:after,.eb-post-grid-wrapper.eb-post-grid-wmqkd.style-5 .ebpg-grid-post-holder:hover .ebpg-entry-thumbnail:after { background-color:rgba(0 0 0 / 0.65); border-radius:0px }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-entry-header { order:1 }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-entry-title { text-align:left; font-size:18px; margin-top:15px; margin-right:15px; margin-left:15px; margin-bottom:5px }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-entry-title a { color:#d18df1; font-size:18px }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-entry-title a:hover { color:var(\\u002d\\u002deb-global-link-color) }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-grid-post-excerpt p { color:#ffffff; text-align:left; font-size:15px; margin-top:0px; margin-right:0px; margin-left:15px; margin-bottom:10px }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-readmore-btn { text-align:left; order:10 }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-readmore-btn a { color:#3d8fd4; font-size:13px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px; padding-top:0px; padding-right:0px; padding-left:0px; padding-bottom:0px; border-radius:0px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-readmore-btn a:hover { color:var(\\u002d\\u002deb-global-secondary-color) }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-author-avatar img { border-radius:50px }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-posted-on { color:#ffffff; font-size:13px }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-posted-by { color:#3d8fd4; font-size:13px }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-posted-by a { color:#3d8fd4; font-size:13px }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-posted-by a:hover { color:var(\\u002d\\u002deb-global-primary-color) }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-meta a { color:var(\\u002d\\u002deb-global-text-color); background-color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-meta a:hover { color:var(\\u002d\\u002deb-global-text-color); background-color:var(\\u002d\\u002deb-global-primary-color) }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-categories-meta a { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-categories-meta a:hover { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-primary-color) }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-tags-meta a { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-tertiary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-tags-meta a:hover { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-secondary-color) }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-read-time { color:#333333; font-size:13px }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-meta.ebpg-dynamic-values { color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-header-meta { justify-content:left; margin-top:0px; margin-right:15px; margin-left:15px; margin-bottom:15px; order:2 }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-header-meta .ebpg-entry-meta-items { justify-content:left }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-header-meta .ebpg-author-avatar,.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-header-meta .ebpg-entry-meta-items \\u003e * { margin-right:10px }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-footer-meta { justify-content:left; margin-top:0px; margin-right:15px; margin-left:15px; margin-bottom:15px }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-footer-meta .ebpg-entry-meta-items { justify-content:left }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-footer-meta .ebpg-author-avatar,.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-footer-meta .ebpg-entry-meta-items \\u003e * { margin-right:10px }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-pagination { text-align:center }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-pagination button { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-button-background-color); padding-top:5px; padding-right:10px; padding-left:10px; padding-bottom:5px; margin-top:10px; margin-right:5px; margin-left:5px; margin-bottom:10px; font-size:14px; border-width:1px; border-color:#c3c3c3; border-style:solid; border-radius:4px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-pagination button:hover { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-tertiary-color) }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-pagination button.ebpg-pagination-item.active { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-tertiary-color) }.eb-post-grid-wrapper.eb-post-grid-wmqkd .eb-post-grid-category-filter.eb-show-search { background-color:#ffffff; padding:10px; border-width:1px; border-color:#C9D8EB; border-style:solid; border-radius:5px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-wmqkd .eb-post-grid-search { padding:10px; border-width:1px; border-color:#C9D8EB; border-style:solid; border-radius:5px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-wmqkd .eb-post-grid-category-filter.eb-show-search .eb-post-grid-search-icon,.eb-post-grid-wrapper.eb-post-grid-wmqkd .eb-post-grid-search .eb-post-grid-search-icon { width:30px; fill:#949494 }.eb-post-grid-wrapper.eb-post-grid-wmqkd .eb-post-grid-search-form input { color:#666666; caret-color:#666666 }.eb-post-grid-wrapper.eb-post-grid-wmqkd .eb-post-grid-search-form input::placeholder { color:#949494 }.eb-post-grid-wrapper.eb-post-grid-wmqkd .eb-post-grid-search-form .eb-post-grid-search-loader { stroke:#444b54 }.eb-post-grid-wrapper.eb-post-grid-wmqkd .eb-post-grid-search-result { background-color:#FFFFFF; width:100%; padding-top:30px; padding-right:30px; padding-left:30px; padding-bottom:30px; border-radius:5px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-wmqkd .eb-post-grid-search-not-found { color:#000000; text-align:center }.eb-post-grid-wrapper.eb-post-grid-wmqkd .eb-post-grid-search-content-item { background-color:#ffffff; padding:0px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:20px; border-radius:5px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-wmqkd .eb-post-grid-search-content-item:hover { background-color:#ffffff }.eb-post-grid-wrapper.eb-post-grid-wmqkd .eb-post-grid-search-content-item:hover .eb-post-grid-search-item-content h4 { color:#5959E8 }","tab":".eb-post-grid-wrapper.eb-post-grid-wmqkd .eb-post-grid-posts-wrapper { grid-template-columns:repeat(1,minmax(0, 1fr)) }","mobile":".eb-post-grid-wrapper.eb-post-grid-wmqkd .eb-post-grid-posts-wrapper { grid-template-columns:repeat(1,minmax(0, 1fr)) }"},"version":"v2","queryData":{"source":"post","sourceIndex":0,"rest_base":"posts","rest_namespace":"wp/v2","author":"","taxonomies":{},"per_page":"6","offset":"0","orderby":"date","order":"desc","include":"","exclude":"","exclude_current":false},"postTerms":{"category":{"label":"Categories","value":"category"},"post_tag":{"label":"Tags","value":"post_tag"}},"preset":"style-5","thumbnailOverlayColor":"rgba(0 0 0 / 0.45)","thumbnailOverlayHoverColor":"rgba(0 0 0 / 0.65)","titleColor":"#d18df1","showContent":false,"contentColor":"#ffffff","readmoreColor":"#3d8fd4","headerMeta":"[{\\u0022value\\u0022:\\u0022date\\u0022,\\u0022label\\u0022:\\u0022Published Date\\u0022}]","footerMeta":"[]","authorMetaColor":"#3d8fd4","dateMetaColor":"#ffffff","loadMoreOptions":{"enableMorePosts":false,"loadMoreType":"1","loadMoreButtonTxt":"Load More","alignment":"center","prevTxt":"\\u003c","nextTxt":"\\u003e","totalPosts":"8"},"ReadTimeMetaColor":"#333333","enableContents":["title","headerMeta"],"enableThumbnailSort":false,"columnPaddingTop":"0","columnPaddingRight":"0","columnPaddingBottom":"0","columnPaddingLeft":"0","titleMarginTop":"15","titleMarginRight":"15","titleMarginBottom":"5","titleMarginLeft":"15","contentMarginLeft":"15","headerMetaMarginRight":"15","headerMetaMarginBottom":"15","headerMetaMarginLeft":"15","footerMetaMarginRight":"15","footerMetaMarginBottom":"15","footerMetaMarginLeft":"15","thumbnailBDRTop":"0","thumbnailBDRRight":"0","thumbnailBDRBottom":"0","thumbnailBDRLeft":"0","columnBorderShadowborderColor":"#000000","columnBorderShadowhOffset":0,"columnBorderShadowvOffset":0,"columnBorderShadowblur":0,"columnBorderShadowspread":0,"columnBorderShadowshadowColor":"rgba(197,197,197,1)","columnBorderShadowRds_Top":"0","columnBorderShadowRds_Right":"0","columnBorderShadowRds_Bottom":"0","columnBorderShadowRds_Left":"0","filterItmBdrShdwborderColor":"var(\\u002d\\u002deb-global-tertiary-color)","filterItmBdrShdwborderStyle":"solid","commonStyles":{"desktop":".wp-admin .eb-parent-eb-post-grid-wmqkd { display:block; opacity:1 }.eb-parent-eb-post-grid-wmqkd { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-post-grid-wmqkd { display:block; opacity:1 }.eb-parent-eb-post-grid-wmqkd { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-post-grid-wmqkd { display:block; opacity:1 }.eb-parent-eb-post-grid-wmqkd { display:block }"}} /--\x3e'},{title:"Retro Layout",templatePreview:!0,preview:"".concat(null===(gq=EssentialBlocksLocalize)||void 0===gq?void 0:gq.image_url,"/templates/post-grid/preset-6.svg"),pro:!0},{title:"Spotlight Layout",templatePreview:!0,preview:"".concat(null===(fq=EssentialBlocksLocalize)||void 0===fq?void 0:fq.image_url,"/templates/post-grid/preset-7.svg"),pro:!0},{title:"Elegant Layout",templatePreview:!0,preview:"".concat(null===(yq=EssentialBlocksLocalize)||void 0===yq?void 0:yq.image_url,"/templates/post-grid/preset-8.svg"),pro:!0}];function hq(e){return hq="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},hq(e)}function wq(){return wq=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},wq.apply(null,arguments)}function kq(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Rq(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?kq(Object(a),!0).forEach((function(t){_q(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):kq(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function _q(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=hq(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=hq(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==hq(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function Eq(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,r,c,l=[],i=!0,s=!1;try{if(r=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;i=!1}else for(;!(i=(n=r.call(a)).done)&&(l.push(n.value),l.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{if(!i&&null!=a.return&&(c=a.return(),Object(c)!==c))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Cq(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?Cq(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Cq(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}var xq=window.EBControls,Sq=xq.ebJsonStringCheck,Bq=xq.CustomQuery,Tq=xq.DynamicInputValueHandler,Nq=xq.EBDisplayIcon,Pq=xq.BrowseTemplate,Oq=xq.BlockProps;const Mq=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Post Grid","name":"essential-blocks/post-grid","description":"Create a stunning and interactive visualization for your blogs in a grid layout","category":"essential-blocks","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');var Dq;(0,EBControls.ebConditionalRegisterBlockType)(Mq,{keywords:[(0,Y.__)("posts","essential-blocks"),(0,Y.__)("post grid","essential-blocks"),(0,Y.__)("posts block","essential-blocks")],icon:sq,attributes:Nz,edit:function(e){var t,a=e.attributes,n=e.setAttributes,o=(e.className,e.clientId,e.isSelected),r=(e.name,a.blockId),c=a.preset,l=a.queryData,i=a.loadMoreOptions,s=a.showThumbnail,b=a.thumbnailSize,p=a.showTitle,u=a.titleLength,d=a.titleTag,m=a.showContent,g=a.contentLength,f=a.expansionIndicator,y=a.showReadMore,v=a.readmoreText,h=a.showMeta,w=a.headerMeta,k=a.footerMeta,R=a.authorPrefix,_=a.datePrefix,E=a.showTaxonomyFilter,C=a.selectedTaxonomyItems,x=a.showSearch,S=a.enableAjaxSearch,B=a.classHook,T=a.cover,N=a.addIcon,P=a.iconPosition,O=a.icon,M=a.enableContents,D=a.enableThumbnailSort,j=(a.defaultFilter,a.version),I=a.showBlockContent,A=(0,wH.getSettings)().formats.date,L=Eq((0,J.useState)(""),2),F=L[0],H=L[1],z=Eq((0,J.useState)(!1),2),q=(z[0],z[1]),U=Eq((0,J.useState)(!1),2),V=U[0],W=U[1],G=Eq((0,J.useState)(""),2),Z=G[0],Q=G[1],X=Eq((0,J.useState)(!1),2),$=X[0],K=X[1],ee=Eq((0,J.useState)(!1),2),te=ee[0],ae=ee[1],ne=Eq((0,J.useState)(!1),2),oe=ne[0],re=ne[1],ce=function(e){return M.includes(e)},le=Rq(Rq({},e),{},{blockPrefix:"eb-post-grid",style:React.createElement(iq,wq({},e,{isContentEnabled:ce}))});(0,J.useEffect)((function(){setTimeout((function(){re(!0)}),1500),j||n({version:"v2"})}),[]),(0,J.useEffect)((function(){!1===["style-1","style-2","style-3"].includes(c)&&n({enableThumbnailSort:!1})}),[c]);var ie=function(e){var t;if(!b)return e.source_url;if(null!=e&&null!==(t=e.media_details)&&void 0!==t&&t.sizes){var a=e.media_details.sizes;return a[b]&&a[b].source_url?a[b].source_url:e.source_url}},se=function(e){if(!e)return 0;var t=(e=e.replace(/(<([^>]+)>)/gi,"")).trim().split(/\s+/).length;return Math.ceil(t/200)};return(0,J.useEffect)((function(){if(0==F.length&&W(!1),!(0,nt.isEmpty)(F)){q(!0),W(!0);var e=new FormData;e.append("action","post_grid_search_result_content"),e.append("post_grid_search_nonce",EssentialBlocksProLocalize.post_grid_search_nonce),e.append("searchKey",F),e.append("query_data",JSON.stringify(l)),e.append("attributes",JSON.stringify(a)),fetch(EssentialBlocksProLocalize.ajax_url,{method:"POST",body:e}).then((function(e){return e.text()})).then((function(e){var t=JSON.parse(e);t.success&&t.data?(Q(t.data),q(!1),K(!1)):(K(!0),q(!1))})).catch((function(e){return console.log(e)}))}}),[F,S]),T.length?React.createElement("div",null,React.createElement("img",{src:T,alt:"post grid",style:{maxWidth:"100%"}})):React.createElement(React.Fragment,null,o&&I&&React.createElement(Qz,wq({},e,{isContentEnabled:ce,setQueryResults:ae})),I&&!1===oe&&React.createElement(React.Fragment,null,!1===te&&React.createElement("div",{className:"eb-loading"},React.createElement("img",{src:"".concat(null===(t=EssentialBlocksLocalize)||void 0===t?void 0:t.image_url,"/ajax-loader.gif"),alt:"Loading..."})),React.createElement(Bq,{isEdit:!0,attributes:a,setAttributes:n,setQueryResults:ae})),React.createElement(Oq.Edit,le,React.createElement(Pq,wq({},e,{Icon:sq,title:"Post Grid",description:"Choose a template for the Post Grid or start blank.",patterns:(0,Qo.applyFilters)("eb_pro_templates_post_grid",vq)})),I&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(r," ").concat(B)},React.createElement("div",{className:"eb-post-grid-wrapper ".concat(r," ").concat(c),"data-id":r},!1!==te&&React.createElement(React.Fragment,null,!E&&x&&React.createElement(React.Fragment,null,(0,Qo.applyFilters)("eb_post_grid_pro_search_html","",a,n,F,V,Z,$,H)),E&&React.createElement("div",{className:"eb-post-grid-category-filter".concat(x?" eb-show-search":"")},React.createElement("ul",{className:"ebpg-category-filter-list"},JSON.parse(C).length>0&&JSON.parse(C).map((function(e,t){return React.createElement("li",{key:t,className:"ebpg-category-filter-list-item ".concat("all"===e.value?"active":"")},e.label)}))),x&&React.createElement(React.Fragment,null,(0,Qo.applyFilters)("eb_post_grid_pro_search_html","",a,n,F,V,Z,$,H)))),"v2"===j&&React.createElement("div",{className:"eb-post-grid-posts-wrapper"},te&&"object"===hq(te)&&te.length>0&&te.map((function(e,t){var a,o,r,l,i,b,E,C,x,S=e.featuredImageInfo,B=void 0===S?{}:S,T=(B.url,B.alt,null==e||null===(a=e.title)||void 0===a?void 0:a.rendered),M=u>=0?T.trim().split(" ",u).join(" "):T,j=(0,Hj.safeHTML)("\n\t\t\t\t\t\t\t\t<".concat(d,' class="ebpg-entry-title">\n\t\t\t\t\t\t\t\t\t<a class="ebpg-grid-post-link" href="#" title="">\n\t\t\t\t\t\t\t\t\t\t').concat(M,"\n\t\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t\t</").concat(d,">\n\t\t\t\t\t\t\t")),I=null==e||null===(o=e.excerpt)||void 0===o?void 0:o.rendered,L=document.createElement("div");L.innerHTML=I||"",I=L.textContent||L.innerText||"";var F=g>=0?I.trim().split(" ",g).join(" "):I,H=null!=e&&null!==(r=e._embedded)&&void 0!==r&&r.author?React.createElement("div",{className:"ebpg-author-avatar"},React.createElement("a",{href:"#"},React.createElement("img",{alt:e._embedded.author[0].name?e._embedded.author[0].name:e._embedded.author[0].slug,src:function(e){return e.avatar_urls&&e.avatar_urls[96]?e.avatar_urls[96]:"http://1.gravatar.com/avatar/467ceabf70aaa0e555b7dd11c9729241?s=96&d=mm&r=g"}(e._embedded.author[0])}))):"",z=React.createElement("span",{className:"ebpg-posted-on"},React.createElement(Tq,{value:_,tagName:"span",onChange:function(e){return n({datePrefix:e})},readOnly:!0})," ",React.createElement("time",{dateTime:(0,wH.format)("c",e.date_gmt)},(0,wH.dateI18n)(A,e.date_gmt))),q=null!=e&&null!==(l=e._embedded)&&void 0!==l&&l.author?React.createElement("span",{className:"ebpg-posted-by"},React.createElement(Tq,{value:R,tagName:"span",onChange:function(e){return n({authorPrefix:e})},readOnly:!0})," ",React.createElement("a",{href:"#",title:e._embedded.author[0].name?e._embedded.author[0].name:e._embedded.author[0].slug,rel:"author"},e._embedded.author[0].name?e._embedded.author[0].name:e._embedded.author[0].slug)):"",U={};e._embedded&&e._embedded["wp:term"]&&e._embedded["wp:term"].length>0&&e._embedded["wp:term"].map((function(e){var t={},a="";e.length>0&&e.map((function(e){a=e.taxonomy,t[e.slug]={name:e.name,id:e.id,link:e.link,slug:e.slug}})),U[a]=t}));var V={};Object.keys(U).length>0&&Object.keys(U).map((function(e){var t=e;"category"===e?t="categories":"post_tag"===e&&(t="tags");var a='<div className="ebpg-meta ebpg-'.concat(t,'-meta">');Object.keys(U[e]).length>0&&Object.keys(U[e]).map((function(t,n){a+="\n\t\t\t\t\t\t\t\t\t\t\t<a\n\t\t\t\t\t\t\t\t\t\t\t\tkey=".concat(n,'\n\t\t\t\t\t\t\t\t\t\t\t\thref="#"\n\t\t\t\t\t\t\t\t\t\t\t\ttitle=').concat(U[e][t].name,"\n\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t").concat(U[e][t].name,"\n\t\t\t\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t\t\t\t")})),a+="</div>",V[e]=a}));var W=U.category?React.createElement("div",{className:"ebpg-meta ebpg-categories-meta"},Object.keys(U.category).map((function(e,t){return React.createElement("a",{key:t,href:"#",title:U.category[e].name},U.category[e].name)}))):"",G=U.post_tag?React.createElement("div",{className:"ebpg-meta ebpg-tags-meta"},Object.keys(U.post_tag).map((function(e,t){return React.createElement("a",{key:t,href:"#",title:U.post_tag[e].name},U.post_tag[e].name)}))):"",Z=se(null==e||null===(i=e.content)||void 0===i?void 0:i.rendered),J={date:z,author:q,categories:W,tags:G,readtime:React.createElement("span",{className:"ebpg-read-time"},React.createElement("i",{className:"fas fa-clock"}),"".concat(Z," ").concat(Z>1?"minutes":"minute"," read"))},Q=Sq(w)?JSON.parse(w).map((function(e){return e.value})):[],X=h?React.createElement("div",{className:"ebpg-entry-meta ebpg-header-meta"},Q.includes("avatar")&&H,React.createElement("div",{className:"ebpg-entry-meta-items"},Q.map((function(e){return J.hasOwnProperty(e)?J[e]:V.hasOwnProperty(e)?(0,kH.Ay)(V[e]):"avatar"!==e?(0,Qo.applyFilters)("essential_blocks_post_grid_dynamic_fields_markup","",e):void 0})))):"",$=Sq(k)?JSON.parse(k).map((function(e){return e.value})):[],K=h?React.createElement("div",{className:"ebpg-entry-meta ebpg-footer-meta"},$.includes("avatar")&&H,React.createElement("div",{className:"ebpg-entry-meta-items"},$.map((function(e){return J.hasOwnProperty(e)?J[e]:V.hasOwnProperty(e)?(0,kH.Ay)(V[e]):"avatar"!==e?(0,Qo.applyFilters)("essential_blocks_post_grid_dynamic_fields_markup","",e):void 0})))):"";return React.createElement("article",{className:"ebpg-grid-post ebpg-post-grid-column","data-id":e.id},React.createElement("div",{className:"ebpg-grid-post-holder"},s&&!D&&React.createElement(React.Fragment,null,"style-5"===c&&React.createElement("a",{className:"ebpg-post-link-wrapper",href:"#"}),React.createElement("div",{className:"ebpg-entry-media"},s&&React.createElement("div",{className:"ebpg-entry-thumbnail"},"style-5"!==c&&React.createElement("a",{className:"ebpg-post-link-wrapper",href:"#"}),e._embedded&&e._embedded["wp:featuredmedia"]&&e._embedded["wp:featuredmedia"].length>0&&React.createElement("img",{src:ie(e._embedded["wp:featuredmedia"][0]),alt:null==e||null===(b=e.title)||void 0===b?void 0:b.alt_text}),e._embedded&&!e._embedded["wp:featuredmedia"]&&React.createElement("img",{src:null===(E=EssentialBlocksLocalize)||void 0===E?void 0:E.placeholder_image,alt:"No Thumbnail Available"})))),React.createElement("div",{className:"ebpg-entry-wrapper"},("style-1"==c||"style-2"==c||"style-3"==c)&&s&&D&&React.createElement(React.Fragment,null,React.createElement("div",{className:"ebpg-entry-media"},React.createElement("div",{className:"ebpg-entry-thumbnail"},React.createElement("a",{className:"ebpg-post-link-wrapper",href:"#"}),e._embedded&&e._embedded["wp:featuredmedia"]&&e._embedded["wp:featuredmedia"].length>0&&React.createElement("img",{src:ie(e._embedded["wp:featuredmedia"][0]),alt:null==e||null===(C=e.title)||void 0===C?void 0:C.alt_text}),e._embedded&&!e._embedded["wp:featuredmedia"]&&React.createElement("img",{src:null===(x=EssentialBlocksLocalize)||void 0===x?void 0:x.placeholder_image,alt:"No Thumbnail Available"})))),p&&React.createElement("header",{className:"ebpg-entry-header",dangerouslySetInnerHTML:{__html:j}}),h&&X,React.createElement("div",{className:"ebpg-entry-content"},m&&React.createElement("div",{className:"ebpg-grid-post-excerpt"},React.createElement("p",null,F,(0,Y.__)(f))),y&&React.createElement("div",{className:"ebpg-readmore-btn"},React.createElement("a",{href:"#"},N&&"left"===P?React.createElement(Nq,{icon:O,className:"eb-button-icon eb-button-icon-left hvr-icon"}):"",React.createElement(Tq,{value:v,tagName:"span",onChange:function(e){return n({readmoreText:e})},readOnly:!0}),N&&"right"===P?React.createElement("i",{className:"".concat(O," eb-button-icon eb-button-icon-left hvr-icon")}):""))),h&&K)))}))),!j&&te&&"object"===hq(te)&&te.length>0&&te.map((function(e,t){var a,o,r,l,i,b,E,C,x,S=e.featuredImageInfo,B=void 0===S?{}:S,T=(B.url,B.alt,null==e||null===(a=e.title)||void 0===a?void 0:a.rendered),M=u>=0?T.trim().split(" ",u).join(" "):T,j="\n\t\t\t\t\t\t\t\t<".concat(d,' class="ebpg-entry-title">\n\t\t\t\t\t\t\t\t\t<a class="ebpg-grid-post-link" href="#" title="">\n\t\t\t\t\t\t\t\t\t\t').concat(M,"\n\t\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t\t</").concat(d,">\n\t\t\t\t\t\t\t"),I=null==e||null===(o=e.excerpt)||void 0===o?void 0:o.rendered,L=document.createElement("div");L.innerHTML=I||"",I=L.textContent||L.innerText||"";var F=g>=0?I.trim().split(" ",g).join(" "):I,H=null!=e&&null!==(r=e._embedded)&&void 0!==r&&r.author?React.createElement("div",{className:"ebpg-author-avatar"},React.createElement("a",{href:"#"},React.createElement("img",{alt:e._embedded.author[0].name?e._embedded.author[0].name:e._embedded.author[0].slug,src:function(e){return e.avatar_urls&&e.avatar_urls[96]?e.avatar_urls[96]:"http://1.gravatar.com/avatar/467ceabf70aaa0e555b7dd11c9729241?s=96&d=mm&r=g"}(e._embedded.author[0])}))):"",z=React.createElement("span",{className:"ebpg-posted-on"},React.createElement(Tq,{value:_,tagName:"span",onChange:function(e){return n({datePrefix:e})},readOnly:!0})," ",React.createElement("time",{dateTime:(0,wH.format)("c",e.date_gmt)},(0,wH.dateI18n)(A,e.date_gmt))),q=null!=e&&null!==(l=e._embedded)&&void 0!==l&&l.author?React.createElement("span",{className:"ebpg-posted-by"},React.createElement(Tq,{value:R,tagName:"span",onChange:function(e){return n({authorPrefix:e})},readOnly:!0})," ",React.createElement("a",{href:"#",title:e._embedded.author[0].name?e._embedded.author[0].name:e._embedded.author[0].slug,rel:"author"},e._embedded.author[0].name?e._embedded.author[0].name:e._embedded.author[0].slug)):"",U={};e._embedded&&e._embedded["wp:term"]&&e._embedded["wp:term"].length>0&&e._embedded["wp:term"].map((function(e){var t={},a="";e.length>0&&e.map((function(e){a=e.taxonomy,t[e.slug]={name:e.name,id:e.id,link:e.link,slug:e.slug}})),U[a]=t}));var V={};Object.keys(U).length>0&&Object.keys(U).map((function(e){var t=e;"category"===e?t="categories":"post_tag"===e&&(t="tags");var a='<div className="ebpg-meta ebpg-'.concat(t,'-meta">');Object.keys(U[e]).length>0&&Object.keys(U[e]).map((function(t,n){a+="\n\t\t\t\t\t\t\t\t\t\t\t<a\n\t\t\t\t\t\t\t\t\t\t\t\tkey=".concat(n,'\n\t\t\t\t\t\t\t\t\t\t\t\thref="#"\n\t\t\t\t\t\t\t\t\t\t\t\ttitle=').concat(U[e][t].name,"\n\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t").concat(U[e][t].name,"\n\t\t\t\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t\t\t\t")})),a+="</div>",V[e]=a}));var W=U.category?React.createElement("div",{className:"ebpg-meta ebpg-categories-meta"},Object.keys(U.category).map((function(e,t){return React.createElement("a",{key:t,href:"#",title:U.category[e].name},U.category[e].name)}))):"",G=U.post_tag?React.createElement("div",{className:"ebpg-meta ebpg-tags-meta"},Object.keys(U.post_tag).map((function(e,t){return React.createElement("a",{key:t,href:"#",title:U.post_tag[e].name},U.post_tag[e].name)}))):"",Z=se(null==e||null===(i=e.content)||void 0===i?void 0:i.rendered),J={date:z,author:q,categories:W,tags:G,readtime:React.createElement("span",{className:"ebpg-read-time"},React.createElement("i",{className:"fas fa-clock"}),"".concat(Z," ").concat(Z>1?"minutes":"minute"," read"))},Q=Sq(w)?JSON.parse(w).map((function(e){return e.value})):[],X=h?React.createElement("div",{className:"ebpg-entry-meta ebpg-header-meta"},Q.includes("avatar")&&H,React.createElement("div",{className:"ebpg-entry-meta-items"},Q.map((function(e){return J.hasOwnProperty(e)?J[e]:V.hasOwnProperty(e)?(0,kH.Ay)(V[e]):"avatar"!==e?(0,Qo.applyFilters)("essential_blocks_post_grid_dynamic_fields_markup","",e):void 0})))):"",$=Sq(k)?JSON.parse(k).map((function(e){return e.value})):[],K=h?React.createElement("div",{className:"ebpg-entry-meta ebpg-footer-meta"},$.includes("avatar")&&H,React.createElement("div",{className:"ebpg-entry-meta-items"},$.map((function(e){return J.hasOwnProperty(e)?J[e]:V.hasOwnProperty(e)?(0,kH.Ay)(V[e]):"avatar"!==e?(0,Qo.applyFilters)("essential_blocks_post_grid_dynamic_fields_markup","",e):void 0})))):"";return React.createElement("article",{className:"ebpg-grid-post ebpg-post-grid-column","data-id":e.id},React.createElement("div",{className:"ebpg-grid-post-holder"},s&&!D&&React.createElement(React.Fragment,null,"style-5"===c&&React.createElement("a",{className:"ebpg-post-link-wrapper",href:"#"}),React.createElement("div",{className:"ebpg-entry-media"},s&&React.createElement("div",{className:"ebpg-entry-thumbnail"},"style-5"!==c&&React.createElement("a",{className:"ebpg-post-link-wrapper",href:"#"}),e._embedded&&e._embedded["wp:featuredmedia"]&&e._embedded["wp:featuredmedia"].length>0&&React.createElement("img",{src:ie(e._embedded["wp:featuredmedia"][0]),alt:null==e||null===(b=e.title)||void 0===b?void 0:b.alt_text}),e._embedded&&!e._embedded["wp:featuredmedia"]&&React.createElement("img",{src:null===(E=EssentialBlocksLocalize)||void 0===E?void 0:E.placeholder_image,alt:"No Thumbnail Available"})))),React.createElement("div",{className:"ebpg-entry-wrapper"},("style-1"==c||"style-2"==c||"style-3"==c)&&s&&D&&React.createElement(React.Fragment,null,React.createElement("div",{className:"ebpg-entry-media"},React.createElement("div",{className:"ebpg-entry-thumbnail"},React.createElement("a",{className:"ebpg-post-link-wrapper",href:"#"}),e._embedded&&e._embedded["wp:featuredmedia"]&&e._embedded["wp:featuredmedia"].length>0&&React.createElement("img",{src:ie(e._embedded["wp:featuredmedia"][0]),alt:null==e||null===(C=e.title)||void 0===C?void 0:C.alt_text}),e._embedded&&!e._embedded["wp:featuredmedia"]&&React.createElement("img",{src:null===(x=EssentialBlocksLocalize)||void 0===x?void 0:x.placeholder_image,alt:"No Thumbnail Available"})))),p&&React.createElement("header",{className:"ebpg-entry-header",dangerouslySetInnerHTML:{__html:j}}),h&&X,React.createElement("div",{className:"ebpg-entry-content"},m&&React.createElement("div",{className:"ebpg-grid-post-excerpt"},React.createElement("p",null,F,(0,Y.__)(f))),y&&React.createElement("div",{className:"ebpg-readmore-btn"},React.createElement("a",{href:"#"},N&&"left"===P?React.createElement("i",{className:"".concat(O," eb-button-icon eb-button-icon-left hvr-icon")}):"",React.createElement(Tq,{value:v,tagName:"span",onChange:function(e){return n({readmoreText:e})},readOnly:!0}),N&&"right"===P?React.createElement("i",{className:"".concat(O," eb-button-icon eb-button-icon-left hvr-icon")}):""))),h&&K)))})),void 0!==te&&te.length<1&&React.createElement("p",null,"No Posts Found"),void 0!==te&&te.length>0&&void 0!==i&&i.enableMorePosts&&React.createElement("div",{className:"ebpg-pagination ".concat("3"===i.loadMoreType?"prev-next-btn":"")},"1"===i.loadMoreType&&React.createElement("button",{className:"btn ebpg-pagination-button"},i.loadMoreButtonTxt),("2"===i.loadMoreType||"3"===i.loadMoreType)&&React.createElement("div",{className:"btn ebpg-pagination-page",dangerouslySetInnerHTML:{__html:function(e,t){var a=Math.floor(e.totalPosts/t),n="";n+='<button class="ebpg-pagination-item-previous">'.concat(e.prevTxt,"</button>");for(var o=1;o<=a;o++)1===o?n+='<button class="ebpg-pagination-item active">'.concat(o,"</button>"):o<=3?n+='<button class="ebpg-pagination-item">'.concat(o,"</button>"):o===a?(n+='<button class="ebpg-pagination-item-separator">...</button>',n+='<button class="ebpg-pagination-item">'.concat(o,"</button>")):n+="";return n+'<button class="ebpg-pagination-item-next">'.concat(e.nextTxt,"</button>")}(i,l.per_page)}})))))))},save:function(){return null},example:{attributes:{cover:"".concat(null===(Dq=EssentialBlocksLocalize)||void 0===Dq?void 0:Dq.image_url,"/block-preview/post-grid.jpeg")}}});const jq=window.wp.compose,Iq=window.wp.htmlEntities;var Aq=a(7098),Lq=a.n(Aq);function Fq(e){if(!e)return e;var t=e.toString().toLowerCase().replace(/&(amp;)/g,"").replace(/&(mdash;)/g,"").replace(/\u2013|\u2014/g,"").replace(/[&]nbsp[;]/gi,"-").replace(/\s+/g,"-").replace(/[&\/\\#,^!+()$~%.'":*?<>{}@‘’”“]/g,"").replace(/\-\-+/g,"-").replace(/^-+/,"").replace(/-+$/,"");return decodeURI(encodeURIComponent(t))}var Hq="title",zq="content",qq="wrpM_",Uq="wrpP_",Vq="ttlP_",Wq="cntP_",Gq="wrpB_",Zq="itemB_",Yq="closeB_",Jq="wrpW";function Qq(e){return Qq="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Qq(e)}function Xq(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function $q(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Xq(Object(a),!0).forEach((function(t){Kq(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Xq(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Kq(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=Qq(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=Qq(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Qq(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var eU=window.EBControls,tU=eU.generateDimensionsAttributes,aU=eU.generateTypographyAttributes,nU=eU.generateBorderShadowAttributes,oU=eU.generateResponsiveRangeAttributes;const rU=$q($q($q($q($q($q($q($q($q({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},cover:{type:"string",default:""},headers:{type:"array",default:[]},visibleHeaders:{type:"array",default:Array(6).fill(!0)},deleteHeaderList:{type:"array",default:[]},isMigrated:{type:"boolean",default:!1},title:{type:"string",default:"Table of Contents"},collapsible:{type:"boolean",default:!1},initialCollapse:{type:"boolean",default:!1},mainBgc:{type:"string",default:"var(--eb-global-background-color)"},titleBg:{type:"string",default:""},titleColor:{type:"string",default:"var(--eb-global-heading-color)"},contentBg:{type:"string",default:""},contentColor:{type:"string",default:"var(--eb-global-text-color)"},contentHoverColor:{type:"string",default:"var(--eb-global-link-color)"},contentGap:{type:"number",default:10},contentGapUnit:{type:"string",default:"px"},indent:{type:"number"},displayTitle:{type:"boolean",default:!0},titleAlign:{type:"string",default:"left"},titleFontFamily:{type:"string"},titleSizeUnit:{type:"string",default:"px"},titleFontSize:{type:"number",default:22},titleFontWeight:{type:"string",default:"normal"},titleTextTransform:{type:"string"},titleTextDecoration:{type:"string"},titleLetterSpacing:{type:"number"},titleLetterSpacingUnit:{type:"string",default:"px"},titleLineHeight:{type:"number"},titleLineHeightUnit:{type:"string",default:"px"},contentFontFamily:{type:"string"},contentSizeUnit:{type:"string",default:"px"},contentFontSize:{type:"number"},contentFontWeight:{type:"string",default:"normal"},contentTextTransform:{type:"string"},contentLetterSpacing:{type:"number"},contentLetterSpacingUnit:{type:"string",default:"px"},contentLineHeight:{type:"number",default:1.4},isSmooth:{type:"boolean",default:!0},seperator:{type:"boolean",default:!1},seperatorColor:{type:"string",default:"var(--eb-global-tertiary-color)"},seperatorSize:{type:"number"},seperatorStyle:{type:"string",default:"solid"},borderWidth:{type:"number"},borderColor:{type:"string"},borderStyle:{type:"string",default:"solid"},titlePaddingTop:{type:"number",default:0},titlePaddingRight:{type:"number",default:0},titlePaddingBottom:{type:"number",default:0},titlePaddingLeft:{type:"number",default:10},titlePaddingUnit:{type:"string",default:"px"},scrollToTop:{type:"boolean",default:!1},arrowHeight:{type:"number"},arrowWidth:{type:"number"},arrowBg:{type:"string"},arrowColor:{type:"string"},hOffset:{type:"number"},vOffset:{type:"number"},blur:{type:"number"},spread:{type:"number"},shadowColor:{type:"string"},contentPaddingTop:{type:"number",default:0},contentPaddingRight:{type:"number",default:0},contentPaddingBottom:{type:"number",default:0},contentPaddingLeft:{type:"number",default:0},contentPaddingUnit:{type:"string",default:"px"},listSeperatorWidth:{type:"number"},listSeperatorStyle:{type:"string",default:"solid"},listSeperatorColor:{type:"string"},hasUnderline:{type:"boolean",default:!1},topSpace:{type:"number",default:25},contentHeight:{type:"number"},contentHeightUnit:{type:"string",default:"px"},contentWidth:{type:"number",default:300},contentWidthUnit:{type:"string",default:"px"},isSticky:{type:"boolean",default:!1},stickyHideOnMobile:{type:"boolean",default:!1},zIndex:{type:"number",default:999},contentAlign:{type:"string",default:"left"},containerWidth:{type:"number",default:100},topOffset:{type:"string",default:"-50"},scrollTarget:{type:"string",default:"scroll_to_toc"},stickyPosition:{type:"string",default:"left"},enableCopyLink:{type:"boolean",default:!1},scrollToTopIcon:{type:"string",default:"fas fa-angle-up"},listStyle:{type:"string",default:"ul"},closeBtnColor:{type:"string",default:"var(--eb-global-button-text-color)"},closeBtnHoverColor:{type:"string",default:"var(--eb-global-button-text-color)"},closeBtnBgColor:{type:"string",default:"var(--eb-global-button-background-color)"},closeBtnBgHvColor:{type:"string",default:"var(--eb-global-button-background-color)"},closeIconSize:{type:"number",default:12},closeBtnSize:{type:"number",default:28}},aU(Object.values(S))),oU(Jq,{defaultRange:610})),{},{showListSeparator:{type:"boolean",default:!1},enableListStyle:{type:"boolean",default:!1},itemCollapsed:{type:"boolean",default:!1},preset:{type:"string",default:"style-1"},contentItemBg:{type:"string",default:"#fff"}},nU(Gq,{rdsDefaults:{top:4,bottom:4,right:4,left:4}})),nU(Zq,{rdsDefaults:{top:4,bottom:4,right:4,left:4}})),tU(qq)),tU(Uq,{top:30,bottom:30,right:30,left:30,isLinked:!0})),tU(Vq,{isLinked:!1})),tU(Wq)),nU(Yq));var cU=[{label:"H1",value:1},{label:"H2",value:2},{label:"H3",value:3},{label:"H4",value:4},{label:"H5",value:5},{label:"H6",value:6}],lU=[{label:(0,Y.__)("Left","essential-blocks"),value:"left"},{label:(0,Y.__)("Center","essential-blocks"),value:"center"},{label:(0,Y.__)("Right","essential-blocks"),value:"right"}],iU=((0,Y.__)("None","essential-blocks"),(0,Y.__)("Lowercase","essential-blocks"),(0,Y.__)("Capitalize","essential-blocks"),(0,Y.__)("Uppercase","essential-blocks"),(0,Y.__)("Lighter","essential-blocks"),(0,Y.__)("Normal","essential-blocks"),(0,Y.__)("Bold","essential-blocks"),(0,Y.__)("Bolder","essential-blocks"),(0,Y.__)("Initial","essential-blocks"),(0,Y.__)("Overline","essential-blocks"),(0,Y.__)("Line Through","essential-blocks"),(0,Y.__)("Underline","essential-blocks"),(0,Y.__)("Underline Oveline","essential-blocks"),[{label:(0,Y.__)("None","essential-blocks"),value:"none"},{label:(0,Y.__)("Dashed","essential-blocks"),value:"dashed"},{label:(0,Y.__)("Solid","essential-blocks"),value:"solid"},{label:(0,Y.__)("Dotted","essential-blocks"),value:"dotted"},{label:(0,Y.__)("Double","essential-blocks"),value:"double"},{label:(0,Y.__)("Groove","essential-blocks"),value:"groove"},{label:(0,Y.__)("Inset","essential-blocks"),value:"inset"},{label:(0,Y.__)("Outset","essential-blocks"),value:"outset"},{label:(0,Y.__)("Ridge","essential-blocks"),value:"ridge"}]),sU=((0,Y.__)("Preset 1","essential-blocks"),(0,Y.__)("Preset 2","essential-blocks"),(0,Y.__)("Preset 3","essential-blocks"),(0,Y.__)("Preset 4","essential-blocks"),(0,Y.__)("Left","essential-blocks"),(0,Y.__)("Center","essential-blocks"),(0,Y.__)("Right","essential-blocks"),(0,Y.__)("Left","essential-blocks"),(0,Y.__)("Center","essential-blocks"),(0,Y.__)("Right","essential-blocks"),(0,Y.__)("Top","essential-blocks"),(0,Y.__)("Middle","essential-blocks"),(0,Y.__)("Bottom","essential-blocks"),(0,Y.__)("Fill","essential-blocks"),(0,Y.__)("Gradient","essential-blocks"),(0,Y.__)("Image","essential-blocks"),(0,Y.__)("Auto","essential-blocks"),(0,Y.__)("Cover","essential-blocks"),(0,Y.__)("Contain","essential-blocks"),(0,Y.__)("Select Hover Effect","essential-blocks"),(0,Y.__)("Grow","essential-blocks"),(0,Y.__)("Shrink","essential-blocks"),(0,Y.__)("Pulse","essential-blocks"),(0,Y.__)("Pulse Grow","essential-blocks"),(0,Y.__)("Pulse Shrink","essential-blocks"),(0,Y.__)("Push","essential-blocks"),(0,Y.__)("Pop","essential-blocks"),(0,Y.__)("Bounce In","essential-blocks"),(0,Y.__)("Bounce Out","essential-blocks"),(0,Y.__)("Rotate","essential-blocks"),(0,Y.__)("Grow Rotate","essential-blocks"),(0,Y.__)("Float","essential-blocks"),(0,Y.__)("Sink","essential-blocks"),(0,Y.__)("Bob","essential-blocks"),(0,Y.__)("Hang","essential-blocks"),(0,Y.__)("Skew","essential-blocks"),(0,Y.__)("Skew Forward","essential-blocks"),(0,Y.__)("Skew Backward","essential-blocks"),(0,Y.__)("Wobble Horizontal","essential-blocks"),(0,Y.__)("Wobble Vertical","essential-blocks"),(0,Y.__)("Wobble To Bottom Right","essential-blocks"),(0,Y.__)("Wobble To Top Right","essential-blocks"),(0,Y.__)("Wobble Top","essential-blocks"),(0,Y.__)("Wobble Bottom","essential-blocks"),(0,Y.__)("Wobble Skew","essential-blocks"),(0,Y.__)("Buzz","essential-blocks"),(0,Y.__)("Buzz Out","essential-blocks"),(0,Y.__)("Forward","essential-blocks"),(0,Y.__)("Fade","essential-blocks"),(0,Y.__)("Back Pulse","essential-blocks"),(0,Y.__)("Sweep To Right","essential-blocks"),(0,Y.__)("Sweep To Left","essential-blocks"),(0,Y.__)("Sweep To Bottom","essential-blocks"),(0,Y.__)("Sweep To Top","essential-blocks"),(0,Y.__)("Bounce To Right","essential-blocks"),(0,Y.__)("Bounce To Left","essential-blocks"),(0,Y.__)("Bounce To Bottom","essential-blocks"),(0,Y.__)("Bounce To Top","essential-blocks"),(0,Y.__)("Radial Out","essential-blocks"),(0,Y.__)("Radial In","essential-blocks"),(0,Y.__)("Rectangle In","essential-blocks"),(0,Y.__)("Rectangle Out","essential-blocks"),(0,Y.__)("Shutter In Horizontal","essential-blocks"),(0,Y.__)("Shutter Out Horizontal","essential-blocks"),(0,Y.__)("Shutter In Vertical","essential-blocks"),(0,Y.__)("Shutter Out Vertical","essential-blocks"),(0,Y.__)("Curl Top Left","essential-blocks"),(0,Y.__)("Curl Top Right","essential-blocks"),(0,Y.__)("Curl Bottom Right","essential-blocks"),(0,Y.__)("Curl Bottom Left","essential-blocks"),[{label:(0,Y.__)("Scroll to the top of page","essential-blocks"),value:"scroll_to_page"},{label:(0,Y.__)("Scroll to the TOC","essential-blocks"),value:"scroll_to_toc"}]),bU=[{label:(0,Y.__)("Left","essential-blocks"),value:"left"},{label:(0,Y.__)("Right","essential-blocks"),value:"right"}],pU=[{label:(0,Y.__)("Style 1","essential-blocks"),value:"style-1"},{label:(0,Y.__)("Style 2","essential-blocks"),value:"style-2"}];function uU(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,r,c,l=[],i=!0,s=!1;try{if(r=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;i=!1}else for(;!(i=(n=r.call(a)).done)&&(l.push(n.value),l.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{if(!i&&null!=a.return&&(c=a.return(),Object(c)!==c))return}finally{if(s)throw o}}return l}}(e,t)||dU(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function dU(e,t){if(e){if("string"==typeof e)return mU(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?mU(e,t):void 0}}function mU(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}var gU=window.EBControls,fU=gU.TypographyDropdown,yU=gU.ResponsiveDimensionsControl,vU=gU.ResponsiveRangeController,hU=gU.ColorControl,wU=gU.BorderShadowControl,kU=gU.UnitControl,RU=gU.ResetControl,_U=gU.AdvancedControls,EU=gU.DynamicInputControl,CU=gU.EBIconPicker;const xU=function(e){var t=e.attributes,a=e.setAttributes,n=(e.deleteHeaders,t.resOption),o=t.visibleHeaders,r=t.collapsible,c=t.initialCollapse,l=t.mainBgc,i=t.titleBg,s=t.titleColor,b=t.contentBg,p=t.contentColor,u=t.contentHoverColor,d=t.indent,m=t.contentGap,g=t.contentGapUnit,f=t.displayTitle,y=t.titleAlign,v=t.isSmooth,h=t.seperator,w=t.seperatorSize,k=t.seperatorColor,R=t.seperatorStyle,_=t.scrollToTop,E=t.arrowHeight,C=t.arrowWidth,x=t.arrowBg,S=t.arrowColor,B=t.listSeperatorWidth,T=t.listSeperatorStyle,N=t.listSeperatorColor,P=t.hasUnderline,O=t.isSticky,M=t.contentHeight,D=t.topSpace,j=t.stickyHideOnMobile,I=t.scrollTarget,A=t.stickyPosition,L=t.showListSeparator,F=t.topOffset,H=t.deleteHeaderList,z=t.title,q=t.enableCopyLink,U=t.scrollToTopIcon,V=t.listStyle,W=t.preset,G=t.enableListStyle,Z=t.contentItemBg,$=t.itemCollapsed,K=t.closeBtnColor,ee=t.closeBtnHoverColor,te=t.closeBtnBgColor,ae=t.closeBtnBgHvColor,ne=t.closeBtnSize,oe=t.closeIconSize,re=uU((0,J.useState)(cU),2),ce=re[0],le=(re[1],uU((0,J.useState)([]),2)),ie=le[0],se=le[1];(0,J.useEffect)((function(){pe()}),[o]),(0,J.useEffect)((function(){O&&a({displayTitle:!0,collapsible:!0})}),[O]);var be={setAttributes:a,resOption:n,attributes:t,objAttributes:rU},pe=function(){var e=[];o.map((function(t,a){t&&e.push({label:"H".concat(a+1),value:a+1})})),se(e)},ue="em"===g?.1:1,de="em"===g?10:100,me=function(e){if(e){var t=Array(6).fill(!1);e.map((function(e){return t[e.value-1]=!0})),a({visibleHeaders:t})}else a({visibleHeaders:[]})};return React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:"General",className:"eb-tab general"},{name:"styles",title:"Style",className:"eb-tab styles"},{name:"advance",title:"Advanced",className:"eb-tab advance"}]},(function(e){var n;return React.createElement("div",{className:"eb-tab-controls"+e.name,key:e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement("style",null,"\n\t\t\t\t\t\t\t\t\t\t.fix-select-over-lapping>div>div{\n\t\t\t\t\t\t\t\t\t\t\tz-index:999999 !important;\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t.wrap-width-range-fix-style .responsiveRangeControllerWrapper> .responsive-btn-wrapper > .responsive-btn > .responsive-btn-label{\n\t\t\t\t\t\t\t\t\t\t\tdisplay:block;\n\t\t\t\t\t\t\t\t\t\t\tpadding-bottom:5px;\n\t\t\t\t\t\t\t\t\t\t}\n\n\n\t\t\t\t\t\t\t\t\t\t.wrap-width-range-fix-style .responsiveRangeControllerWrapper{\n\t\t\t\t\t\t\t\t\t\t\tpadding-top:15px;\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t.wrap-width-range-fix-style .responsiveRangeControllerWrapper> .components-button-group.eb-unit-control-btn-group{\n\t\t\t\t\t\t\t\t\t\t\tmargin-bottom:-40px;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t"),React.createElement(X.PanelBody,{title:(0,Y.__)("Content Settings","essential-blocks"),initialOpen:!0},React.createElement(X.SelectControl,{label:(0,Y.__)("Preset","essential-blocks"),value:W,options:pU,onChange:function(e){return function(e){switch(e){case"style-1":a({seperator:!1,contentItemBg:"#fff",itemB_Rds_Bottom:"4",itemB_Rds_Left:"4",itemB_Rds_Right:"4",itemB_Rds_Top:"4",itemB_Rds_Unit:"px",itemB_Rds_isLinked:!0,wrpB_borderColor:"var(--eb-global-heading-color)",wrpB_borderStyle:"none",wrpB_Bdr_Bottom:"0",wrpB_Bdr_Left:"0",wrpB_Bdr_Right:"0",wrpB_Bdr_Top:"0",wrpB_Bdr_Unit:"px",wrpB_Bdr_isLinked:!1});break;case"style-2":a({seperator:!0,seperatorSize:1,contentItemBg:"",itemB_Rds_Bottom:"0",itemB_Rds_Left:"0",itemB_Rds_Right:"0",itemB_Rds_Top:"0",itemB_Rds_Unit:"px",itemB_Rds_isLinked:!0,wrpB_borderColor:"var(--eb-global-heading-color)",wrpB_borderStyle:"solid",wrpB_Bdr_Bottom:"0",wrpB_Bdr_Left:"0",wrpB_Bdr_Right:"0",wrpB_Bdr_Top:"5",wrpB_Bdr_Unit:"px",wrpB_Bdr_isLinked:!1})}a({preset:e})}(e)}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Display Underline","essential-blocks"),checked:P,onChange:function(){return a({hasUnderline:!P})}}),f&&!O&&React.createElement(X.ToggleControl,{label:(0,Y.__)("Collapsible","essential-blocks"),checked:r,onChange:function(){return a({collapsible:!r})}}),f&&r&&React.createElement(X.ToggleControl,{label:(0,Y.__)("Collapsed initially","essential-blocks"),checked:c,onChange:function(){return a({initialCollapse:!c})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Sticky contents","essential-blocks"),help:(0,Y.__)("Always show contents on sidebar (Visible on frontend only)"),checked:O,onChange:function(){return a({isSticky:!O})}}),O&&React.createElement(React.Fragment,null,React.createElement(X.SelectControl,{label:(0,Y.__)("Sticky Position","essential-blocks"),value:A,options:bU,onChange:function(e){return a({stickyPosition:e})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Hide on Mobile","essential-blocks"),checked:j,onChange:function(){return a({stickyHideOnMobile:!j})}})),React.createElement(X.ToggleControl,{label:(0,Y.__)("Enable Item Collapsed","essential-blocks"),checked:$,onChange:function(){return a({itemCollapsed:!$})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Enable Copy Link","essential-blocks"),help:(0,Y.__)("Visible on frontend only"),checked:q,onChange:function(){return a({enableCopyLink:!q})}}),React.createElement(X.TextControl,{label:(0,Y.__)("Offset Top","essential-blocks"),value:F,onChange:function(e){return a({topOffset:e})},type:"number"}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Enable List Style","essential-blocks"),checked:G,onChange:function(){return a({enableListStyle:!G})}}),G&&React.createElement(X.SelectControl,{label:(0,Y.__)("List Style","essential-blocks"),value:V,options:[{label:(0,Y.__)("Unordered","essential-blocks"),value:"ul"},{label:(0,Y.__)("Ordered","essential-blocks"),value:"ol"}],onChange:function(e){return a({listStyle:e})}})),React.createElement(X.PanelBody,{title:(0,Y.__)("Title","essential-block"),initialOpen:!1},React.createElement(React.Fragment,null,!O&&React.createElement(X.ToggleControl,{label:(0,Y.__)("Display Title","essential-blocks"),checked:f,onChange:function(){return a({displayTitle:!f})}}),React.createElement(EU,{label:(0,Y.__)("Title Text","essential-blocks"),attrName:"title",inputValue:z,setAttributes:a,onChange:function(e){return a({title:e})}}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Supported Heading Tags","essential-blocks")},React.createElement("div",{className:"fix-select-over-lapping"},React.createElement(vf.Ay,{options:ce,value:ie,defaultValue:ie,isMulti:!0,onChange:me}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Scroll","essential-blocks"),initialOpen:!1},React.createElement(X.ToggleControl,{label:(0,Y.__)("Smooth Scroll","essential-blocks"),checked:v,onChange:function(){return a({isSmooth:!v})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Scroll To Top","essential-blocks"),checked:_,onChange:function(){return a({scrollToTop:!_})}}),_&&React.createElement(React.Fragment,null,React.createElement(X.__experimentalDivider,null),React.createElement(CU,{value:U,onChange:function(e){return a({scrollToTopIcon:e})}}),!O&&React.createElement(X.SelectControl,{label:(0,Y.__)("Scroll Target","essential-blocks"),value:I,options:sU,onChange:function(e){return a({scrollTarget:e})}}),React.createElement(X.RangeControl,{label:(0,Y.__)("Arrow Height","essential-blocks"),value:E,onChange:function(e){return a({arrowHeight:e})},min:0,max:100}),React.createElement(X.RangeControl,{label:(0,Y.__)("Arrow Width","essential-blocks"),value:C,onChange:function(e){return a({arrowWidth:e})},min:0,max:100}),React.createElement(hU,{label:(0,Y.__)("Arrow Background","essential-blocks"),color:x,onChange:function(e){return a({arrowBg:e})}}),React.createElement(hU,{label:(0,Y.__)("Arrow Color","essential-blocks"),color:S,onChange:function(e){return a({arrowColor:e})}}))),"undefined"!=typeof eb_conditional_localize&&"edit-site"!==(null===(n=eb_conditional_localize)||void 0===n?void 0:n.editor_type)&&React.createElement(X.PanelBody,{title:(0,Y.__)("Exclude Headings","essential-blocks"),initialOpen:!1},H.map((function(e,t){return React.createElement(X.CheckboxControl,{key:t,label:(0,nt.unescape)(e.label),value:e.value,checked:e.isDelete,onChange:function(){!function(e,t){var n;H[t].isDelete=!(null!=e&&e.isDelete),a({deleteHeaderList:(n=H,function(e){if(Array.isArray(e))return mU(e)}(n)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||dU(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())})}(e,t)}})})))),"styles"===e.name&&React.createElement(React.Fragment,null,f&&React.createElement(X.PanelBody,{title:(0,Y.__)("Title","essential-blocks"),initialOpen:!0},React.createElement(X.BaseControl,{label:(0,Y.__)("Align","essential-blocks"),className:"eb-base-control"},React.createElement(X.ButtonGroup,null,lU.map((function(e,t){return React.createElement(X.Button,{key:t,isSmall:!0,isPrimary:y===e.value,isSecondary:y!==e.value,onClick:function(){return a({titleAlign:e.value})}},e.label)})))),React.createElement(hU,{label:(0,Y.__)("Background Color","essential-blocks"),color:i,onChange:function(e){return a({titleBg:e})}}),React.createElement(hU,{label:(0,Y.__)("Text Color","essential-blocks"),color:s,onChange:function(e){return a({titleColor:e})}}),React.createElement(fU,{baseLabel:"Typography",typographyPrefixConstant:Hq,resRequiredProps:be,defaultFontSize:22}),React.createElement(yU,{resRequiredProps:be,controlName:Vq,baseLabel:"Padding"}),React.createElement(X.__experimentalDivider,null),React.createElement(X.ToggleControl,{label:(0,Y.__)("Title Separator","essential-blocks"),checked:h,onChange:function(){return a({seperator:!h})}}),h&&React.createElement(React.Fragment,null,React.createElement(X.RangeControl,{label:(0,Y.__)("Seperator Size","essential-blocks"),value:w,onChange:function(e){return a({seperatorSize:e})},min:0,max:100}),React.createElement(hU,{label:(0,Y.__)("Separator Color","essential-blocks"),color:k,onChange:function(e){return a({seperatorColor:e})}}),React.createElement(X.SelectControl,{label:(0,Y.__)("Separator Style","essential-blocks"),value:R,options:iU,onChange:function(e){return a({seperatorStyle:e})}}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Content","essential-blocks"),initialOpen:!1},React.createElement("div",{className:"wrap-width-range-fix-style"},React.createElement(vU,{baseLabel:(0,Y.__)("".concat(O?"Sticky max width":"Container max width")),controlName:Jq,resRequiredProps:be,min:0,max:2e3,step:1}),React.createElement(X.RangeControl,{label:(0,Y.__)("Indent","essential-blocks"),value:d,onChange:function(e){return a({indent:e})}}),React.createElement(kU,{selectedUnit:g,unitTypes:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"}],onClick:function(e){return a({contentGapUnit:e})}}),React.createElement(X.RangeControl,{label:(0,Y.__)("Content Gap","essential-blocks"),value:m,onChange:function(e){return a({contentGap:e})},min:0,max:de,step:ue}),React.createElement(hU,{label:(0,Y.__)("Background Color","essential-blocks"),color:b,onChange:function(e){return a({contentBg:e})}}),React.createElement(hU,{label:(0,Y.__)("Text Color","essential-blocks"),color:p,onChange:function(e){return a({contentColor:e})}}),React.createElement(hU,{label:(0,Y.__)("Hover Color","essential-blocks"),color:u,onChange:function(e){return a({contentHoverColor:e})}}),React.createElement(fU,{baseLabel:"Typography",typographyPrefixConstant:zq,resRequiredProps:be,defaultFontSize:20}),React.createElement(yU,{resRequiredProps:be,controlName:Wq,baseLabel:"Padding"}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Separator","essential-blocks"),checked:L,onChange:function(){return a({showListSeparator:!L})}}),L&&React.createElement(React.Fragment,null,React.createElement(X.RangeControl,{label:(0,Y.__)("Separator Size","essential-blocks"),value:B,onChange:function(e){return a({listSeperatorWidth:e})},min:0,max:100}),React.createElement(X.SelectControl,{label:(0,Y.__)("Separator Style","essential-blocks"),value:T,options:iU,onChange:function(e){return a({listSeperatorStyle:e})}}),React.createElement(hU,{label:(0,Y.__)("Separator Color","essential-blocks"),color:N,onChange:function(e){return a({listSeperatorColor:e})}})),"style-1"==W&&React.createElement(React.Fragment,null,React.createElement(X.__experimentalDivider,null),React.createElement(hU,{label:(0,Y.__)("Item Background Color","essential-blocks"),color:Z,onChange:function(e){return a({contentItemBg:e})}}),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(wU,{controlName:Zq,resRequiredProps:be}))))),O&&React.createElement(X.PanelBody,{title:(0,Y.__)("Sticky","essential-blocks"),initialOpen:!1},React.createElement("div",{className:"eb-reset-button-margin-fix"},React.createElement(RU,{onReset:function(){return a({contentHeight:void 0})}},React.createElement(X.RangeControl,{label:(0,Y.__)("Content min-height","essential-blocks"),help:(0,Y.__)("Visible on frontend only","essential-blocks"),value:M,onChange:function(e){return a({contentHeight:e})},min:0,max:1e3}))),React.createElement(X.RangeControl,{label:(0,Y.__)("Top Space","essential-blocks"),help:(0,Y.__)("Visible on frontend only","essential-blocks"),value:D,onChange:function(e){return a({topSpace:e})},min:0,max:100}),React.createElement(X.PanelBody,{title:(0,Y.__)("Close Button","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(hU,{label:(0,Y.__)("Color","essential-blocks"),color:K,onChange:function(e){return a({closeBtnColor:e})}}),React.createElement(hU,{label:(0,Y.__)("Hover Color","essential-blocks"),color:ee,onChange:function(e){return a({closeBtnHoverColor:e})}}),React.createElement(hU,{label:(0,Y.__)("Background Color","essential-blocks"),color:te,onChange:function(e){return a({closeBtnBgColor:e})}}),React.createElement(hU,{label:(0,Y.__)("Background Hover Color","essential-blocks"),color:ae,onChange:function(e){return a({closeBtnBgHvColor:e})}}),React.createElement(X.RangeControl,{label:(0,Y.__)("Button Size","essential-blocks"),value:ne,onChange:function(e){return a({closeBtnSize:e})},min:0,max:100}),React.createElement(X.RangeControl,{label:(0,Y.__)("Icon Size","essential-blocks"),value:oe,onChange:function(e){return a({closeIconSize:e})},min:0,max:100}),React.createElement(X.PanelBody,{title:(0,Y.__)("Border","essential-blocks"),initialOpen:!1},React.createElement(wU,{controlName:Yq,resRequiredProps:be,noShadow:!0})))))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Margin & Padding")},React.createElement(yU,{resRequiredProps:be,controlName:qq,baseLabel:"Margin"}),React.createElement(yU,{resRequiredProps:be,controlName:Uq,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Background ","essential-blocks")},React.createElement(hU,{label:(0,Y.__)("Background Color","essential-blocks"),color:l,onChange:function(e){return a({mainBgc:e})}})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(wU,{controlName:Gq,resRequiredProps:be})),React.createElement(_U,{attributes:t,setAttributes:a})))}))))};function SU(e){return SU="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},SU(e)}function BU(e,t){var a="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!a){if(Array.isArray(e)||(a=TU(e))||t&&e&&"number"==typeof e.length){a&&(e=a);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,c=!0,l=!1;return{s:function(){a=a.call(e)},n:function(){var e=a.next();return c=e.done,e},e:function(e){l=!0,r=e},f:function(){try{c||null==a.return||a.return()}finally{if(l)throw r}}}}function TU(e,t){if(e){if("string"==typeof e)return NU(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?NU(e,t):void 0}}function NU(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}function PU(){PU=function(){return t};var e,t={},a=Object.prototype,n=a.hasOwnProperty,o=Object.defineProperty||function(e,t,a){e[t]=a.value},r="function"==typeof Symbol?Symbol:{},c=r.iterator||"@@iterator",l=r.asyncIterator||"@@asyncIterator",i=r.toStringTag||"@@toStringTag";function s(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,a){return e[t]=a}}function b(e,t,a,n){var r=t&&t.prototype instanceof y?t:y,c=Object.create(r.prototype),l=new N(n||[]);return o(c,"_invoke",{value:x(e,a,l)}),c}function p(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(e){return{type:"throw",arg:e}}}t.wrap=b;var u="suspendedStart",d="suspendedYield",m="executing",g="completed",f={};function y(){}function v(){}function h(){}var w={};s(w,c,(function(){return this}));var k=Object.getPrototypeOf,R=k&&k(k(P([])));R&&R!==a&&n.call(R,c)&&(w=R);var _=h.prototype=y.prototype=Object.create(w);function E(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function C(e,t){function a(o,r,c,l){var i=p(e[o],e,r);if("throw"!==i.type){var s=i.arg,b=s.value;return b&&"object"==SU(b)&&n.call(b,"__await")?t.resolve(b.__await).then((function(e){a("next",e,c,l)}),(function(e){a("throw",e,c,l)})):t.resolve(b).then((function(e){s.value=e,c(s)}),(function(e){return a("throw",e,c,l)}))}l(i.arg)}var r;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){a(e,n,t,o)}))}return r=r?r.then(o,o):o()}})}function x(t,a,n){var o=u;return function(r,c){if(o===m)throw Error("Generator is already running");if(o===g){if("throw"===r)throw c;return{value:e,done:!0}}for(n.method=r,n.arg=c;;){var l=n.delegate;if(l){var i=S(l,n);if(i){if(i===f)continue;return i}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===u)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=m;var s=p(t,a,n);if("normal"===s.type){if(o=n.done?g:d,s.arg===f)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=g,n.method="throw",n.arg=s.arg)}}}function S(t,a){var n=a.method,o=t.iterator[n];if(o===e)return a.delegate=null,"throw"===n&&t.iterator.return&&(a.method="return",a.arg=e,S(t,a),"throw"===a.method)||"return"!==n&&(a.method="throw",a.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var r=p(o,t.iterator,a.arg);if("throw"===r.type)return a.method="throw",a.arg=r.arg,a.delegate=null,f;var c=r.arg;return c?c.done?(a[t.resultName]=c.value,a.next=t.nextLoc,"return"!==a.method&&(a.method="next",a.arg=e),a.delegate=null,f):c:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,f)}function B(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function N(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(B,this),this.reset(!0)}function P(t){if(t||""===t){var a=t[c];if(a)return a.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,r=function a(){for(;++o<t.length;)if(n.call(t,o))return a.value=t[o],a.done=!1,a;return a.value=e,a.done=!0,a};return r.next=r}}throw new TypeError(SU(t)+" is not iterable")}return v.prototype=h,o(_,"constructor",{value:h,configurable:!0}),o(h,"constructor",{value:v,configurable:!0}),v.displayName=s(h,i,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,s(e,i,"GeneratorFunction")),e.prototype=Object.create(_),e},t.awrap=function(e){return{__await:e}},E(C.prototype),s(C.prototype,l,(function(){return this})),t.AsyncIterator=C,t.async=function(e,a,n,o,r){void 0===r&&(r=Promise);var c=new C(b(e,a,n,o),r);return t.isGeneratorFunction(a)?c:c.next().then((function(e){return e.done?e.value:c.next()}))},E(_),s(_,i,"Generator"),s(_,c,(function(){return this})),s(_,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),a=[];for(var n in t)a.push(n);return a.reverse(),function e(){for(;a.length;){var n=a.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=P,N.prototype={constructor:N,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(T),!t)for(var a in this)"t"===a.charAt(0)&&n.call(this,a)&&!isNaN(+a.slice(1))&&(this[a]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var a=this;function o(n,o){return l.type="throw",l.arg=t,a.next=n,o&&(a.method="next",a.arg=e),!!o}for(var r=this.tryEntries.length-1;r>=0;--r){var c=this.tryEntries[r],l=c.completion;if("root"===c.tryLoc)return o("end");if(c.tryLoc<=this.prev){var i=n.call(c,"catchLoc"),s=n.call(c,"finallyLoc");if(i&&s){if(this.prev<c.catchLoc)return o(c.catchLoc,!0);if(this.prev<c.finallyLoc)return o(c.finallyLoc)}else if(i){if(this.prev<c.catchLoc)return o(c.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<c.finallyLoc)return o(c.finallyLoc)}}}},abrupt:function(e,t){for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var r=o;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var c=r?r.completion:{};return c.type=e,c.arg=t,r?(this.method="next",this.next=r.finallyLoc,f):this.complete(c)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),T(a),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc===e){var n=a.completion;if("throw"===n.type){var o=n.arg;T(a)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,a,n){return this.delegate={iterator:P(t),resultName:a,nextLoc:n},"next"===this.method&&(this.arg=e),f}},t}function OU(e,t,a,n,o,r,c){try{var l=e[r](c),i=l.value}catch(e){return void a(e)}l.done?t(i):Promise.resolve(i).then(n,o)}function MU(e){return function(){var t=this,a=arguments;return new Promise((function(n,o){var r=e.apply(t,a);function c(e){OU(r,n,o,c,l,"next",e)}function l(e){OU(r,n,o,c,l,"throw",e)}c(void 0)}))}}const DU=function(e){var t,a,n=e.attributes,o=n.visibleHeaders,r=n.headers,c=n.deleteHeaderList,l=n.listStyle,i=n.itemCollapsed,s=function(){var e=MU(PU().mark((function e(t){var a;return PU().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(a=new FormData).append("action","dynamic_field_value"),a.append("value",t),a.append("post_id",wp.data.select("core/editor").getCurrentPostId()),a.append("admin_nonce",EssentialBlocksProLocalize.admin_nonce),e.abrupt("return",fetch(EssentialBlocksProLocalize.ajax_url,{method:"POST",body:a}).then((function(e){return e.text()})).then((function(e){var t=JSON.parse(e);return t.success?t.data:"Invalid response"})).catch((function(e){return console.log(e)})));case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),b=function(){var e=MU(PU().mark((function e(t){var a,n,o,r,c,l;return PU().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a={},n=BU(t),e.prev=2,n.s();case 4:if((o=n.n()).done){e.next=14;break}if(c=o.value.content,l=c,"string"!=typeof c||!c.startsWith((null===(r=EssentialBlocksProLocalize)||void 0===r?void 0:r.eb_dynamic_tags)+"/")){e.next=11;break}return e.next=10,s(c);case 10:l=e.sent;case 11:a[c]=l;case 12:e.next=4;break;case 14:e.next=19;break;case 16:e.prev=16,e.t0=e.catch(2),n.e(e.t0);case 19:return e.prev=19,n.f(),e.finish(19);case 22:return e.abrupt("return",a);case 23:case"end":return e.stop()}}),e,null,[[2,16,19,22]])})));return function(t){return e.apply(this,arguments)}}(),p=(t=(0,J.useState)({}),a=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,r,c,l=[],i=!0,s=!1;try{if(r=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;i=!1}else for(;!(i=(n=r.call(a)).done)&&(l.push(n.value),l.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{if(!i&&null!=a.return&&(c=a.return(),Object(c)!==c))return}finally{if(s)throw o}}return l}}(t,a)||TU(t,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=p[0],d=p[1];(0,J.useEffect)((function(){if("undefined"!=typeof EssentialBlocksProLocalize)b(r).then((function(e){return d(e)}));else{var e=r.reduce((function(e,t){var a=t.content;return e[a]=a,e}),{});d(e)}}),[r]);var m=function(e){for(var t="<".concat(l,' class="eb-toc__list">'),a=[],n=0;n<e.length;n++){for(var o=e[n],r=o.level,c=o.content,s=o.link;a.length>0&&a[a.length-1].level>=r;)a.pop(),t+="</li></".concat(l,">");var b=u[c]||"";t+='<li><a href="#'.concat(s,'">').concat(b,"</a> "),n<e.length-1&&e[n+1].level>r&&(i&&!a.length&&(t+='<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none">\n                    <path d="M6.75 9.75L9 7.5L11.25 9.75" stroke="#252D3B" stroke-linecap="round" stroke-linejoin="round"/>\n                    <path d="M9 15.75C9.88642 15.75 10.7642 15.5754 11.5831 15.2362C12.4021 14.897 13.1462 14.3998 13.773 13.773C14.3998 13.1462 14.897 12.4021 15.2362 11.5831C15.5754 10.7642 15.75 9.88642 15.75 9C15.75 8.11358 15.5754 7.23583 15.2362 6.41689C14.897 5.59794 14.3998 4.85383 13.773 4.22703C13.1462 3.60023 12.4021 3.10303 11.5831 2.76381C10.7642 2.42459 9.88642 2.25 9 2.25C7.20979 2.25 5.4929 2.96116 4.22703 4.22703C2.96116 5.4929 2.25 7.20979 2.25 9C2.25 10.7902 2.96116 12.5071 4.22703 13.773C5.4929 15.0388 7.20979 15.75 9 15.75Z" stroke="#252D3B" stroke-linecap="round" stroke-linejoin="round"/>\n                    </svg>'),t+="<".concat(l,' class="eb-toc__list">'),a.push({level:r,content:c,link:s}))}for(;a.length>0;)a.pop(),t+="</li></".concat(l,">");return t+="</".concat(l,">"),(0,Hj.safeHTML)(t)};if("undefined"!=o&&r&&r.length>0&&r.filter((function(e){return o[e.level-1]})).length>0){var g=[];return r.forEach((function(e,t){c&&c.length>0&&c[t]&&c[t].hasOwnProperty("isDelete")&&!1===c[t].isDelete&&g.push(r[t])})),React.createElement("div",{className:"eb-toc__list-wrap",dangerouslySetInnerHTML:{__html:g.length>0?m(g):m(r)}})}return React.createElement("p",{className:"eb_table-of-contents-placeholder"},(0,Y.__)("Add a header to begin generating the table of contents","essential-blocks"))};function jU(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}var IU=window.EBControls,AU=IU.softMinifyCssStrings,LU=IU.generateDimensionsControlStyles,FU=IU.generateTypographyStyles,HU=IU.generateBorderShadowStyles,zU=IU.generateResponsiveRangeStyles,qU=IU.StyleComponent;function UU(e){var t,a,n=e.attributes,o=e.setAttributes,r=e.name,c=(n.resOption,n.blockId),l=(n.blockMeta,n.collapsible),i=n.listType,s=n.titleBg,b=n.titleColor,p=n.contentBg,u=n.contentColor,d=n.mainBgc,m=n.contentHoverColor,g=n.titleAlign,f=n.seperator,y=n.seperatorSize,v=n.seperatorColor,h=void 0===v?"#000":v,w=n.seperatorStyle,k=n.scrollToTop,R=n.arrowHeight,_=n.arrowWidth,E=n.arrowBg,C=n.arrowColor,x=n.contentAlign,S=n.isSticky,B=n.topSpace,T=n.contentHeight,N=n.indent,P=n.hasUnderline,O=n.contentGap,M=n.contentGapUnit,D=void 0===M?"px":M,j=n.listSeperatorWidth,I=void 0===j?3:j,A=n.listSeperatorStyle,L=void 0===A?"solid":A,F=n.listSeperatorColor,H=void 0===F?"#000":F,z=n.showListSeparator,q=(n.classHook,n.contentItemBg),U=n.closeBtnColor,V=n.closeBtnHoverColor,W=n.closeBtnBgColor,G=n.closeBtnBgHvColor,Z=n.closeBtnSize,Y=n.closeIconSize,Q=n.wrpP_Top,X=n.wrpP_Right,$=n.wrpP_Left,K=n.wrpP_Unit,ee=(t=(0,J.useState)(!0),a=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,r,c,l=[],i=!0,s=!1;try{if(r=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;i=!1}else for(;!(i=(n=r.call(a)).done)&&(l.push(n.value),l.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{if(!i&&null!=a.return&&(c=a.return(),Object(c)!==c))return}finally{if(s)throw o}}return l}}(t,a)||function(e,t){if(e){if("string"==typeof e)return jU(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?jU(e,t):void 0}}(t,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),te=ee[0],ae=(ee[1],zU({controlName:Jq,property:"max-width",attributes:n})),ne=ae.rangeStylesDesktop,oe=ae.rangeStylesTab,re=ae.rangeStylesMobile,ce=FU({attributes:n,prefixConstant:Hq,defaultFontSize:20}),le=ce.typoStylesDesktop,ie=ce.typoStylesTab,se=ce.typoStylesMobile,be=FU({attributes:n,prefixConstant:zq,defaultFontSize:14}),pe=be.typoStylesDesktop,ue=be.typoStylesTab,de=be.typoStylesMobile,me=HU({controlName:Zq,attributes:n}),ge=me.styesDesktop,fe=me.styesTab,ye=me.styesMobile,ve=(me.stylesHoverDesktop,me.stylesHoverTab,me.stylesHoverMobile,me.transitionStyle,HU({controlName:Yq,attributes:n})),he=ve.styesDesktop,we=ve.styesTab,ke=ve.styesMobile,Re=ve.stylesHoverDesktop,_e=ve.stylesHoverTab,Ee=ve.stylesHoverMobile,Ce=(ve.transitionStyle,LU({attributes:n,controlName:qq,styleFor:"margin"})),xe=Ce.dimensionStylesDesktop,Se=Ce.dimensionStylesTab,Be=Ce.dimensionStylesMobile,Te=LU({attributes:n,controlName:Uq,styleFor:"padding"}),Ne=Te.dimensionStylesDesktop,Pe=Te.dimensionStylesTab,Oe=Te.dimensionStylesMobile,Me=LU({attributes:n,controlName:Vq,styleFor:"padding"}),De=Me.dimensionStylesDesktop,je=Me.dimensionStylesTab,Ie=Me.dimensionStylesMobile,Ae=LU({attributes:n,controlName:Wq,styleFor:"padding"}),Le=Ae.dimensionStylesDesktop,Fe=Ae.dimensionStylesTab,He=Ae.dimensionStylesMobile,ze=HU({controlName:Gq,attributes:n}),qe=ze.styesDesktop,Ue=ze.styesTab,Ve=ze.styesMobile,We=ze.stylesHoverDesktop,Ge=ze.stylesHoverTab,Ze=ze.stylesHoverMobile,Ye=ze.transitionStyle,Je="\n\t\t  ".concat(S?"\n\t\t\t  .eb-parent-".concat(c,".eb__animated, .eb__animated.eb__flip {\n\t\t\t\t  -webkit-animation-fill-mode: none;\n\t\t\t\t  animation-fill-mode: none;\n\t\t\t\t  -webkit-animation-name: none;\n\t\t\t\t  animation-name: none !important;\n\t\t\t  }\n\t\t  "):"","\n\n\t\t  .").concat(c,".eb-toc-container{\n\t\t\t  ").concat(ne,"\n\n\t\t\t  ").concat(d?"background-color:".concat(d,";"):"","\n\n\t\t\t  ").concat(xe,"\n\t\t\t  ").concat(Ne,"\n\t\t\t  ").concat(qe,"\n\t\t\t  ").concat(S?"":"transition:all 0.5s, ".concat(Ye),";\n\t\t  }\n\n\t\t  .").concat(c,".eb-toc-container:hover{\n\t\t\t  ").concat(We,"\n\t\t  }\n\n\t\t  .").concat(c,".eb-toc-container .eb-toc-title{\n\t\t\t  text-align: ").concat(g,";\n\t\t\t  cursor:").concat(l?"pointer":"default",";\n\t\t\t  color: ").concat(b,";\n\t\t\t  background-color:").concat(s,";\n\t\t\t  ").concat(f?"border-bottom:".concat(y||0,"px ").concat(w," ").concat(h,";"):"","\n\t\t\t  ").concat(De,"\n\t\t\t  ").concat(le,"\n\n\t\t  }\n\n\t\t  .").concat(c,".eb-toc-container .eb-toc-wrapper{\n\t\t\t  background-color:").concat(p,";\n\t\t\t  text-align: ").concat(x,";\n\t\t\t  ").concat(Le,"\n\t\t  }\n\n\t\t  .").concat(c,".eb-toc-container .eb-toc-wrapper ul,\n\t\t  .").concat(c,".eb-toc-container .eb-toc-wrapper ol\n\t\t  {\n\t\t\t  ").concat("none"===i?"list-style: none;":"","\n\t\t\t  ").concat(N?"margin-left:".concat(N,"px;"):"","\n\t\t  }\n\n\t\t  .").concat(c,".eb-toc-container .eb-toc-wrapper li {\n\t\t\t  color:").concat(u,";\n\t\t\t  ").concat(pe,"\n\t\t  }\n\n\t\t  .").concat(c,".eb-toc-container .eb-toc-wrapper li:hover,\n          .").concat(c,".eb-toc-container .eb-toc-wrapper li.eb-toc-active > a{\n\t\t\t  color:").concat(m,";\n\t\t  }\n\n\t\t  .").concat(c,".eb-toc-container .eb-toc-wrapper li a {\n\t\t\t  color:inherit;\n\t\t  }\n\n          .").concat(c,".eb-toc-container .eb-toc-wrapper li svg path{\n            stroke:").concat(u,";\n          }\n          .").concat(c,".eb-toc-container .eb-toc-wrapper li:hover svg path{\n            stroke:").concat(m,";\n          }\n\n\n\t\t  .").concat(c,".eb-toc-container .eb-toc-wrapper li a,\n\t\t  .").concat(c,".eb-toc-container .eb-toc-wrapper li a:focus{\n\t\t\t  ").concat(P?"text-decoration:underline;":"text-decoration:none;","\n\t\t\t  background:none;\n\t\t  }\n\n\t\t  ").concat(k?"\n\t\t\t  .eb-toc-go-top.show-scroll {\n\t\t\t\t  ".concat(R?"height: ".concat(R,"px;"):"","\n\t\t\t\t  ").concat(_?"width: ".concat(_,"px;"):"","\n\t\t\t\t  ").concat(E?"background-color: ".concat(E,";"):"","\n\t\t\t\t  ").concat(C?"color: ".concat(C,";"):"","\n\t\t\t  }\n\t\t\t  "):"","\n\n        .").concat(c,".eb-toc-container .eb-toc-wrapper li {\n            padding-top: ").concat(O/2).concat(D,";\n        }\n\n        .").concat(c,".eb-toc-container .eb-toc-wrapper .eb-toc__list li:not(:last-child) {\n            padding-bottom: ").concat(O/2).concat(D,";\n        }\n\n        ").concat(z?"\n                .".concat(c,".eb-toc-container .eb-toc-wrapper .eb-toc__list li:first-child {\n                    border-bottom: ").concat(I,"px ").concat(L," ").concat(H,";\n                }\n        "):"","\n        .").concat(c,".eb-toc-container.style-1 .eb-toc__list-wrap > .eb-toc__list li .eb-toc__list{\n            background: ").concat(q,";\n            ").concat(ge,"\n        }\n\n\n\t  "),Qe="\n\t\t  .".concat(c,".eb-toc-container{\n\t\t\t  ").concat(oe,"\n\n\t\t\t  ").concat(Se,"\n\t\t\t  ").concat(Pe,"\n\t\t\t  ").concat(Ue,"\n\t\t  }\n\t\t  .").concat(c,".eb-toc-container:hover{\n\t\t\t  ").concat(Ge,"\n\t\t  }\n\n\t\t  .").concat(c,".eb-toc-container .eb-toc-title{\n\t\t\t  ").concat(je,"\n\t\t\t  ").concat(ie,"\n\t\t  }\n\n\t\t  .").concat(c,".eb-toc-container .eb-toc-wrapper{\n\t\t\t  ").concat(Fe,"\n\t\t  }\n\n\t\t  .").concat(c,".eb-toc-container .eb-toc-wrapper li{\n\t\t\t  ").concat(ue,"\n\t\t  }\n\n          .").concat(c,".eb-toc-container.style-1 .eb-toc__list-wrap > .eb-toc__list li .eb-toc__list{\n            ").concat(fe,"\n        }\n\n\t  "),Xe="\n\t\t  .".concat(c,".eb-toc-container{\n\t\t\t  ").concat(re,"\n\n\n\t\t\t  ").concat(Be,"\n\t\t\t  ").concat(Oe,"\n\t\t\t  ").concat(Ve,"\n\t\t  }\n\n\t\t  .").concat(c,".eb-toc-container:hover{\n\t\t\t  ").concat(Ze,"\n\t\t  }\n\n\t\t  .").concat(c,".eb-toc-container .eb-toc-title{\n\t\t\t  ").concat(Ie,"\n\t\t\t  ").concat(se,"\n\t\t  }\n\n\t\t  .").concat(c,".eb-toc-container .eb-toc-wrapper{\n\t\t\t  ").concat(He,"\n\t\t  }\n\n\t\t  .").concat(c,".eb-toc-container .eb-toc-wrapper li{\n\t\t\t  ").concat(de,"\n\t\t  }\n\n          .").concat(c,".eb-toc-container.style-1 .eb-toc__list-wrap > .eb-toc__list li .eb-toc__list{\n            ").concat(ye,"\n        }\n\n\t  "),$e="\n\t\t  ".concat(Je,"\n\n\n\t\t  .").concat(c,".eb-toc-container .eb-toc-wrapper{\n\t\t\t  display:").concat(te?"block":"none",";\n\t\t  }\n\t\t  "),Ke="\n\t\t  ".concat(Qe,"\n\t\t  "),et="\n\t\t  ".concat(Xe,"\n\t  "),tt=AU("\n\t\t  ".concat(Je,"\n\t\t  ").concat(S?"\n\t\t\t\t\t.".concat(c,".eb-toc-container.eb-toc-sticky-right.eb-toc-is-sticky {\n\t\t\t\t\t\tposition:fixed;\n\t\t\t\t\t\ttop: ").concat(0===B||B?B:25,"%;\n\t\t\t\t\t\tz-index:999;\n\t\t\t\t\t\tleft: auto;\n\t\t\t\t\t\tright: 0;\n\t\t\t\t\t}\n\n\t\t\t\t\t.").concat(c,".eb-toc-container.eb-toc-sticky-left.eb-toc-is-sticky {\n\t\t\t\t\t\tposition:fixed;\n\t\t\t\t\t\ttop: ").concat(0===B||B?B:25,"%;\n\t\t\t\t\t\tz-index:999;\n\t\t\t\t\t\tleft: 0;\n\t\t\t\t\t}\n\n\t\t\t\t  .").concat(c,".eb-toc-container.eb-toc-is-sticky .eb-toc-wrapper{\n\t\t\t\t\t  ").concat(T?"min-height:".concat(T,"px;"):"","\n\t\t\t\t  }\n\n\t\t\t\t  .").concat(c,".eb-toc-container.eb-toc-is-sticky button.eb-toc-button{\n\t\t\t\t\t  color:").concat(b,";\n\t\t\t\t\t  background-color:").concat(s,";\n\t\t\t\t  }\n\n\t\t\t\t  .").concat(c,".eb-toc-container.eb-toc-is-sticky button.eb-toc-button.eb-toc-button-right {\n\t\t\t\t\tright: 0;\n\t\t\t\t\tleft: auto;\n\t\t\t\t\ttransform-origin: right top;\n\t\t\t\t\ttransform: rotate(90deg) translate(100%, 0);\n\t\t\t\t  }\n\n                  .").concat(c,".eb-toc-container .eb-toc-close{\n\t\t\t\t\tcolor: ").concat(U,";\n\t\t\t\t\tbackground: ").concat(W,";\n                    width: ").concat(Z,"px;\n                    height: ").concat(Z,"px;\n                    top: calc(-").concat(Q).concat(K," - (").concat(Z,"px / 2));\n                    ").concat(he,"\n\t\t\t\t  }\n                  .").concat(c,".eb-toc-container .eb-toc-close:hover{\n                    ").concat(Re,"\n\t\t\t\t  }\n                  .").concat(c,".eb-toc-container .eb-toc-close.eb-toc-sticky-left{\n                    right: calc(-").concat(X).concat(K," - (").concat(Z,"px / 2));\n\t\t\t\t  }\n                  .").concat(c,".eb-toc-container .eb-toc-close.eb-toc-sticky-right{\n                    left: calc(-").concat($).concat(K," + (").concat(Z,"px / 2));\n\t\t\t\t  }\n                  .").concat(c,".eb-toc-container .eb-toc-close:before, .").concat(c,".eb-toc-container .eb-toc-close:after{\n\t\t\t\t\tbackground: ").concat(U,";\n                    height: ").concat(Y,"px;\n\t\t\t\t  }\n\n                  .").concat(c,".eb-toc-container .eb-toc-close:hover{\n\t\t\t\t\tcolor: ").concat(V,";\n\t\t\t\t\tbackground: ").concat(G,";\n\t\t\t\t  }\n                  .").concat(c,".eb-toc-container .eb-toc-close:hover::before, .").concat(c,".eb-toc-container .eb-toc-close:hover::after{\n\t\t\t\t\tbackground: ").concat(V,";\n\t\t\t\t  }\n\t\t\t\t  "):"","\n\n\n\t  ")),at=AU("\n\t\t  ".concat(Qe,"\n          ").concat(S?"\n                  .".concat(c,".eb-toc-container .eb-toc-close{\n                    ").concat(we,"\n\t\t\t\t  }\n                  .").concat(c,".eb-toc-container .eb-toc-close:hover{\n                    ").concat(_e,"\n\t\t\t\t  }\n\t\t\t\t  "):"","\n\t  ")),nt=AU("\n\t\t  ".concat(Xe,"\n          ").concat(S?"\n                  .".concat(c,".eb-toc-container .eb-toc-close{\n                    ").concat(ke,"\n\t\t\t\t  }\n                  .").concat(c,".eb-toc-container .eb-toc-close:hover{\n                    ").concat(Ee,"\n\t\t\t\t  }\n\t\t\t\t  "):"","\n\t  "));return React.createElement(React.Fragment,null,React.createElement(qU,{attributes:n,setAttributes:o,desktopAllStyles:tt,tabAllStyles:at,mobileAllStyles:nt,editorDesktopStyles:$e,editorTabStyles:Ke,editorMobileStyles:et,blockName:r}))}function VU(e){return VU="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},VU(e)}function WU(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function GU(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?WU(Object(a),!0).forEach((function(t){ZU(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):WU(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function ZU(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=VU(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=VU(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==VU(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function YU(e){return function(e){if(Array.isArray(e))return QU(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||JU(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function JU(e,t){if(e){if("string"==typeof e)return QU(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?QU(e,t):void 0}}function QU(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}var XU=window.EBControls,$U=XU.DynamicInputValueHandler,KU=XU.EBDisplayIcon,eV=XU.BlockProps;const tV=(0,jq.compose)([(0,$.withSelect)((function(e,t){return{postContent:(e("core/editor")?e("core/editor").getEditedPostContent():"").replace(/<\!--.*?-->/g,""),blockOrder:e("core/block-editor").getBlockOrder(),isTyping:e("core/block-editor").isTyping()}}))])((function(e){var t=e.isSelected,a=e.attributes,n=e.setAttributes,o=e.clientId,r=(e.className,e.postContent),c=e.blockOrder,l=e.isTyping,i=(e.name,a.resOption,a.blockId),s=(a.blockMeta,a.headers),b=a.title,p=a.collapsible,u=a.listStyle,d=a.displayTitle,m=a.scrollToTop,g=a.contentAlign,f=a.deleteHeaderList,y=a.isMigrated,v=a.scrollToTopIcon,h=a.classHook,w=a.cover,k=a.enableListStyle,R=a.preset,_=a.itemCollapsed,E=(0,$.select)("core/block-editor").wasBlockJustInserted(o),C=(0,J.useMemo)((function(){return function(e,t){var a=(0,Hj.safeHTML)((0,Iq.decodeEntities)(t)),n=document.createElement("div");n.innerHTML=a;var o=["h1","h2","h3","h4","h5","h6"];e&&void 0!==e.visibleHeaders&&void 0!==e.visibleHeaders[0]&&(o=[],e.visibleHeaders[0]&&o.push("h1"),e.visibleHeaders[1]&&o.push("h2"),e.visibleHeaders[2]&&o.push("h3"),e.visibleHeaders[3]&&o.push("h4"),e.visibleHeaders[4]&&o.push("h5"),e.visibleHeaders[5]&&o.push("h6"));var r=o.toString();return r?YU(n.querySelectorAll(r)).map((function(e,t){var a;switch(e.tagName){case"H1":a=1;break;case"H2":a=2;break;case"H3":a=3;break;case"H4":a=4;break;case"H5":a=5;break;case"H6":a=6}var n=e.textContent;return{level:a,content:n,text:n,link:Fq(Lq()(n))}})):[]}(a,r)}),[c,l,r]),x=(0,J.useMemo)((function(){var e=C.map((function(e){var t,a,n={label:e.content,value:e.link,isDelete:!1},o=f.filter((function(e){return e.value==n.value}));return o.length>0&&(n.isDelete=null!==(t=null===(a=o[0])||void 0===a?void 0:a.isDelete)&&void 0!==t?t:n.isDelete),n}));if(!y&&!E){if(JSON.stringify(C)!==JSON.stringify(s)){var t=C.map((function(e){return e.text})),a=s.map((function(e){return e.text})),o=t.filter((function(e){return!a.includes(e)}));e=YU(e).map((function(e){return o.includes(e.label)&&(e.isDelete=!0),e}))}n({isMigrated:!0})}return e}),[C,E]);(0,J.useEffect)((function(){JSON.stringify(C)!==JSON.stringify(s)&&n({headers:C}),JSON.stringify(x)!==JSON.stringify(f)&&n({deleteHeaderList:x})}),[x]),(0,J.useEffect)((function(){var e=document.querySelector(".eb-toc-go-top");e&&e.remove();var t=document.createElement("span");t.innerHTML=(0,J.renderToString)(React.createElement(KU,{icon:v})),t.setAttribute("class","eb-toc-go-top "),t.style.right="300px",document.body.insertBefore(t,document.body.lastChild)}),[v]),(0,J.useEffect)((function(){var e=document.querySelector(".eb-toc-go-top");m?(e.classList.add("show-scroll"),e.classList.remove("hide-scroll")):(e.classList.add("hide-scroll"),e.classList.remove("show-scroll"))}),[m,v]);var S=GU(GU({},e),{},{blockPrefix:"eb-toc",style:React.createElement(UU,e)});return(0,J.useEffect)((function(){if(_){var e,t=document.querySelector(".eb-toc-container.".concat(i)),a=function(e,t){var a="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!a){if(Array.isArray(e)||(a=JU(e))){a&&(e=a);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,c=!0,l=!1;return{s:function(){a=a.call(e)},n:function(){var e=a.next();return c=e.done,e},e:function(e){l=!0,r=e},f:function(){try{c||null==a.return||a.return()}finally{if(l)throw r}}}}(null==t?void 0:t.querySelectorAll(".eb-toc-wrapper .eb-toc__list-wrap > .eb-toc__list > li"));try{var n=function(){var t=e.value,a=(null==t||t.querySelector("a"),null==t?void 0:t.querySelector("svg"));null!==(null==t?void 0:t.querySelector(".eb-toc__list"))&&(null==a||a.addEventListener("click",(function(){null==t||t.classList.toggle("hide-items")})))};for(a.s();!(e=a.n()).done;)n()}catch(e){a.e(e)}finally{a.f()}}})),w.length?React.createElement("div",null,React.createElement("img",{src:w,alt:(0,Y.__)("table of content","essential-blocks"),style:{maxWidth:"100%"}})):React.createElement(React.Fragment,null,t&&React.createElement(xU,{deleteHeaders:x,attributes:a,setAttributes:n}),React.createElement(Q.BlockControls,null,React.createElement(Q.AlignmentToolbar,{value:g,onChange:function(e){return n({contentAlign:e})},controls:["left","center","right"]}),React.createElement(X.ToolbarGroup,null,React.createElement(X.ToolbarButton,{title:"Unordered",icon:"editor-ul",isActive:"ul"===u,onClick:function(){return n({listStyle:"ul"})}}),React.createElement(X.ToolbarButton,{title:"Ordered",icon:"editor-ol",isActive:"ol"===u,onClick:function(){return n({listStyle:"ol"})}}),React.createElement(X.ToolbarButton,{title:"None",icon:"minus",isActive:"none"===u,onClick:function(){return n({listStyle:"none"})}}))),React.createElement(eV.Edit,S,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(i," ").concat(h)},React.createElement("div",{className:"".concat(i," eb-toc-container ").concat(R," ").concat(k?"":"list-style-none")},React.createElement("div",{onClick:function(){return p&&setVisible(!visible)}},d&&React.createElement($U,{value:b,className:"eb-toc-title",tagName:"div",allowedFormats:["core/bold","core/italic","core/link","core/strikethrough","core/underline","core/text-color"],placeholder:(0,Y.__)("Table of content","essential-blocks"),onChange:function(e){return n({title:e})},readOnly:!0})),s.length>0?React.createElement("div",{className:"eb-toc-wrapper"},React.createElement(DU,{attributes:a})):React.createElement("p",null,"Add header to generate table of contents")))))})),aV=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Table Of Contents","name":"essential-blocks/table-of-contents","category":"essential-blocks","description":"Insert Table of Contents on your posts/pages and enhance user experience on your WordPress website","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');function nV(e){return nV="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},nV(e)}function oV(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,rV(n.key),n)}}function rV(e){var t=function(e,t){if("object"!=nV(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=nV(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==nV(t)?t:t+""}function cV(e,t,a){return t=iV(t),function(e,t){if(t&&("object"==nV(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,lV()?Reflect.construct(t,a||[],iV(e).constructor):t.apply(e,a))}function lV(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(lV=function(){return!!e})()}function iV(e){return iV=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},iV(e)}function sV(e,t){return sV=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},sV(e,t)}const bV=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),cV(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&sV(e,t)}(t,e),a=t,(n=[{key:"render",value:function(){var e=this.props.attributes,t=e.visibleHeaders,a=e.headers,n=e.deleteHeaderList;function o(e){for(var t='<ul class="eb-toc__list">',a=[],n=0;n<e.length;n++){for(var o=e[n],r=o.level,c=o.content,l=o.link;a.length>0&&a[a.length-1].level>=r;)a.pop(),t+="</li></ul>";t+='<li><a href="#'.concat(l,'">').concat(c,"</a>"),n<e.length-1&&e[n+1].level>r&&(t+='<ul class="eb-toc__list">',a.push({level:r,content:c,link:l}))}for(;a.length>0;)a.pop(),t+="</li></ul>";return t+"</ul>"}if("undefined"!=t&&a&&a.length>0&&a.filter((function(e){return t[e.level-1]})).length>0){var r=[];return a.forEach((function(e,t){n&&n.length>0&&n[t]&&n[t].hasOwnProperty("isDelete")&&!1===n[t].isDelete&&r.push(a[t])})),React.createElement("div",{className:"eb-toc__list-wrap",dangerouslySetInnerHTML:{__html:r.length>0?o(r):o(a)}})}return React.createElement("p",{className:"eb_table-of-contents-placeholder"},(0,Y.__)("Add a header to begin generating the table of contents","essential-blocks"))}}])&&oV(a.prototype,n),Object.defineProperty(a,"prototype",{writable:!1}),a;var a,n}(J.Component);function pV(e){return pV="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pV(e)}function uV(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function dV(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?uV(Object(a),!0).forEach((function(t){mV(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):uV(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function mV(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=pV(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=pV(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==pV(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var gV=lodash.omit;const fV=[{attributes:gV(dV({},rU),["enableCopyLink"]),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.displayTitle,o=t.title,r=t.collapsible,c=t.initialCollapse,l=t.visibleHeaders,i=t.headers,s=t.isSmooth,b=t.scrollToTop,p=t.isSticky,u=t.hideOnMobile,d=t.topOffset,m=t.scrollTarget,g=t.stickyPosition,f=void 0===g?"left":g,y=t.classHook;return React.createElement("div",Q.useBlockProps.save(),0!==i.length?React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(y)},React.createElement("div",{className:"".concat(a," eb-toc-container").concat(p?" eb-toc-sticky-".concat(f):""," ").concat(r?"eb-toc-collapsible":"eb-toc-not-collapsible"," ").concat(c?"eb-toc-initially-collapsed":"eb-toc-initially-not-collapsed"," ").concat(p?"eb-toc-is-sticky":"eb-toc-is-not-sticky"," ").concat(b?"eb-toc-scrollToTop":"eb-toc-not-scrollToTop","    "),"data-scroll-top":b,"data-collapsible":r,"data-hide-mobile":u,"data-sticky":p,"data-scroll-target":m},React.createElement("div",{className:"eb-toc-header"},p&&React.createElement("span",{className:"eb-toc-close".concat(p?" eb-toc-sticky-".concat(f):"")}),n&&React.createElement(Q.RichText.Content,{tagName:"div",className:"eb-toc-title",value:o})),React.createElement("div",{className:"eb-toc-wrapper ".concat(r&&c&&!p?"hide-content":"","  "),"data-headers":JSON.stringify(i),"data-visible":JSON.stringify(l),"data-smooth":s,"data-top-offset":d||""},React.createElement(bV,{attributes:t})),p&&React.createElement("button",{className:"eb-toc-button".concat(p?" eb-toc-button-".concat(f):"")},n&&React.createElement(Q.RichText.Content,{tagName:"",className:"",value:o})))):React.createElement("div",null))}},{attributes:gV(dV({},rU),["scrollTarget","stickyPosition"]),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.displayTitle,o=t.title,r=t.collapsible,c=t.initialCollapse,l=t.visibleHeaders,i=t.headers,s=t.isSmooth,b=t.scrollToTop,p=t.isSticky,u=t.hideOnMobile,d=t.topOffset,m=t.classHook;return React.createElement("div",Q.useBlockProps.save(),0!==i.length?React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(m)},React.createElement("div",{className:"".concat(a," eb-toc-container ").concat(r?"eb-toc-collapsible":"eb-toc-not-collapsible"," ").concat(c?"eb-toc-initially-collapsed":"eb-toc-initially-not-collapsed"," ").concat(p?"eb-toc-is-sticky":"eb-toc-is-not-sticky"," ").concat(b?"eb-toc-scrollToTop":"eb-toc-not-scrollToTop","    "),"data-scroll-top":b,"data-collapsible":r,"data-hide-mobile":u,"data-sticky":p},React.createElement("div",{className:"eb-toc-header"},p&&React.createElement("span",{className:"eb-toc-close"}),n&&React.createElement(Q.RichText.Content,{tagName:"div",className:"eb-toc-title",value:o})),React.createElement("div",{className:"eb-toc-wrapper ".concat(r&&c&&!p?"hide-content":"","  "),"data-headers":JSON.stringify(i),"data-visible":JSON.stringify(l),"data-smooth":s,"data-top-offset":d||""},React.createElement(bV,{attributes:t})),p&&React.createElement("button",{className:"eb-toc-button"},n&&o?o:"Table of Contents"))):React.createElement("div",null))}},{attributes:gV(dV({},rU),["topOffset"]),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.displayTitle,o=t.title,r=t.collapsible,c=t.initialCollapse,l=t.visibleHeaders,i=t.headers,s=t.isSmooth,b=t.scrollToTop,p=t.isSticky,u=t.hideOnMobile,d=t.classHook;return React.createElement("div",Q.useBlockProps.save(),0!==i.length?React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(d)},React.createElement("div",{className:"".concat(a," eb-toc-container ").concat(r?"eb-toc-collapsible":"eb-toc-not-collapsible"," ").concat(c?"eb-toc-initially-collapsed":"eb-toc-initially-not-collapsed"," ").concat(p?"eb-toc-is-sticky":"eb-toc-is-not-sticky"," ").concat(b?"eb-toc-scrollToTop":"eb-toc-not-scrollToTop","    "),"data-scroll-top":b,"data-collapsible":r,"data-hide-mobile":u,"data-sticky":p},React.createElement("div",{className:"eb-toc-header"},p&&React.createElement("span",{className:"eb-toc-close"}),n&&React.createElement(Q.RichText.Content,{tagName:"div",className:"eb-toc-title",value:o})),React.createElement("div",{className:"eb-toc-wrapper ".concat(r&&c&&!p?"hide-content":"","  "),"data-headers":JSON.stringify(i),"data-visible":JSON.stringify(l),"data-smooth":s},React.createElement(bV,{attributes:t})),p&&React.createElement("button",{className:"eb-toc-button"},n&&o?o:"Table of Contents"))):React.createElement("div",null))}},{attributes:dV({},rU),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.displayTitle,o=t.title,r=t.collapsible,c=t.initialCollapse,l=t.visibleHeaders,i=t.headers,s=t.isSmooth,b=t.scrollToTop,p=t.isSticky,u=t.hideOnMobile;return React.createElement("div",Q.useBlockProps.save(),0!==i.length?React.createElement("div",{className:"".concat(a," eb-toc-container ").concat(r?"eb-toc-collapsible":"eb-toc-not-collapsible"," ").concat(c?"eb-toc-initially-collapsed":"eb-toc-initially-not-collapsed"," ").concat(p?"eb-toc-is-sticky":"eb-toc-is-not-sticky"," ").concat(b?"eb-toc-scrollToTop":"eb-toc-not-scrollToTop","    "),"data-scroll-top":b,"data-collapsible":r,"data-hide-mobile":u,"data-sticky":p},React.createElement("div",{className:"eb-toc-header"},p&&React.createElement("span",{className:"eb-toc-close"}),n&&React.createElement(Q.RichText.Content,{tagName:"div",className:"eb-toc-title",value:o})),React.createElement("div",{className:"eb-toc-wrapper ".concat(r&&c&&!p?"hide-content":"","  "),"data-headers":JSON.stringify(i),"data-visible":JSON.stringify(l),"data-smooth":s},React.createElement(bV,{attributes:t})),p&&React.createElement("button",{className:"eb-toc-button"},n&&o?o:"Table of Contents")):React.createElement("div",null))}}];var yV;(0,EBControls.ebConditionalRegisterBlockType)(aV,{keywords:[(0,Y.__)("TOC","essential-blocks"),(0,Y.__)("Table Of Contents","essential-blocks"),(0,Y.__)("eb table of contents","essential-blocks")],icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"57",height:"60",fill:"none",viewBox:"0 0 57 60"},React.createElement("g",{fill:"#6C3BFF",clipPath:"url(#clip0_2_22842)"},React.createElement("path",{d:"M15.171 16.114h32.486V18.6H15.171v-2.486zM7.457 15.857h3.086v3.086H7.457v-3.086zM15.171 25.8h32.486v2.486H15.171V25.8zM7.457 25.457h3.086v3.086H7.457v-3.086zM15.343 35.4h26.571v2.486H15.343V35.4zM7.714 35.143H10.8v3.086H7.714v-3.086z"}),React.createElement("path",{d:"M51.857 59.057H4.8c-2.571 0-4.714-2.143-4.714-4.714V5.657C.086 3.086 2.229.943 4.8.943h47.057c2.572 0 4.714 2.143 4.714 4.714v48.686c0 2.571-2.142 4.714-4.714 4.714zM4.8 3.514c-1.2 0-2.143.943-2.143 2.143v48.686c0 1.2.943 2.143 2.143 2.143h47.057c1.2 0 2.143-.943 2.143-2.143V5.657c0-1.2-.943-2.143-2.143-2.143H4.8z"})),React.createElement("defs",null,React.createElement("clipPath",{id:"clip0_2_22842"},React.createElement("path",{fill:"#fff",d:"M0 0H56.571V60H0z"}))))},attributes:rU,edit:tV,save:function(){return null},example:{attributes:{cover:"".concat(null===(yV=EssentialBlocksLocalize)||void 0===yV?void 0:yV.image_url,"/block-preview/table-of-contents.jpeg")}},deprecated:fV});var vV=[{label:(0,Y.__)("H1","essential-blocks"),value:"h1"},{label:(0,Y.__)("H2","essential-blocks"),value:"h2"},{label:(0,Y.__)("H3","essential-blocks"),value:"h3"},{label:(0,Y.__)("H4","essential-blocks"),value:"h4"},{label:(0,Y.__)("H5","essential-blocks"),value:"h5"},{label:(0,Y.__)("H6","essential-blocks"),value:"h6"},{label:(0,Y.__)("div","essential-blocks"),value:"div"},{label:(0,Y.__)("span","essential-blocks"),value:"span"},{label:(0,Y.__)("p","essential-blocks"),value:"p"}],hV=[{label:(0,Y.__)("Style 1","essential-blocks"),value:"style-1"},{label:(0,Y.__)("Style 2","essential-blocks"),value:"style-2"}],wV=[{label:(0,Y.__)("Solid","essential-blocks"),value:"solid"},{label:(0,Y.__)("Dotted","essential-blocks"),value:"dotted"},{label:(0,Y.__)("Dashed","essential-blocks"),value:"dashed"}],kV=[{label:(0,Y.__)("None","essential-blocks"),value:"none"},{label:(0,Y.__)("Circle","essential-blocks"),value:"circle"},{label:(0,Y.__)("Square","essential-blocks"),value:"square"},{label:(0,Y.__)("Rhombus","essential-blocks"),value:"rhombus"}],RV=[{label:(0,Y.__)("Framed","essential-blocks"),value:"framed"},{label:(0,Y.__)("Stacked","essential-blocks"),value:"stacked"}],_V=[{label:(0,Y.__)("None","essential-blocks"),value:"none"},{label:(0,Y.__)("Icon","essential-blocks"),value:"icon"},{label:(0,Y.__)("Image","essential-blocks"),value:"image"}],EV=[{label:React.createElement(X.Dashicon,{icon:"editor-alignleft"}),value:"left"},{label:React.createElement(X.Dashicon,{icon:"editor-aligncenter"}),value:"top"},{label:React.createElement(X.Dashicon,{icon:"editor-alignright"}),value:"right"}],CV=[{label:React.createElement(X.Dashicon,{icon:"editor-alignleft"}),value:"left"},{label:React.createElement(X.Dashicon,{icon:"editor-aligncenter"}),value:"center"},{label:React.createElement(X.Dashicon,{icon:"editor-alignright"}),value:"right"}],xV="connWidth",SV="listSpace",BV="rowSpace",TV="iconBgSize",NV="iconSize",PV="iconSpace",OV="titleSpace",MV="iconPadding",DV="boxPadding",jV="wrapperMargin",IV="wrapperPadding",AV="iconBg",LV="boxBg",FV="wrapperBg",HV="iconBrdSdw",zV="boxBrdSdw",qV="wrapperBrdSdw",UV="titleText",VV="contentText";function WV(e){return WV="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},WV(e)}function GV(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function ZV(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?GV(Object(a),!0).forEach((function(t){YV(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):GV(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function YV(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=WV(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=WV(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==WV(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var JV=window.EBControls,QV=JV.generateTypographyAttributes,XV=JV.generateResponsiveRangeAttributes,$V=JV.generateDimensionsAttributes,KV=JV.generateBackgroundAttributes,eW=JV.generateBorderShadowAttributes;const tW=ZV(ZV(ZV(ZV(ZV(ZV(ZV(ZV(ZV(ZV(ZV(ZV(ZV(ZV(ZV(ZV(ZV(ZV({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},featureListAlign:{type:"string"},features:{type:"array",source:"query",selector:".eb-feature-list-wrapper .eb-feature-list-items li",query:{title:{type:"string",source:"text",selector:".eb-feature-list-title"},iconType:{type:"string",source:"attribute",attribute:"data-icon-type"},featureImageId:{type:"string",source:"attribute",attribute:"data-image-id"},featureImage:{type:"string",source:"attribute",attribute:"data-image"},featureImageAlt:{type:"string",source:"attribute",attribute:"data-alt"},featureImageTitle:{type:"string",source:"attribute",attribute:"data-title"},icon:{type:"string",source:"attribute",attribute:"data-icon"},iconColor:{type:"string",source:"attribute",attribute:"data-icon-color"},iconBackgroundColor:{type:"string",source:"attribute",attribute:"data-icon-background-color"},content:{type:"string",source:"text",selector:".eb-feature-list-content"},link:{type:"string",source:"attribute",attribute:"data-link"},linkOpenNewTab:{type:"string",source:"attribute",attribute:"data-new-tab"}},default:[]},iconGlobalColor:{type:"string",default:"var(--eb-global-background-color)"},titleTag:{type:"string",default:"h3"},iconShape:{type:"string",default:"circle"},shapeView:{type:"string",default:"stacked"},iconPosition:{type:"string",default:"left"},titleTextColor:{type:"string",default:"var(--eb-global-heading-color)"},titleTextHoverColor:{type:"string"},descTextColor:{type:"string",default:"var(--eb-global-text-color)"},showContentVertical:{type:"boolean",default:!1},showConnector:{type:"boolean",default:!1},connectorStyle:{type:"string",default:"style-1"},connectorType:{type:"string",default:"solid"},connectorColor:{type:"string",default:"var(--eb-global-primary-color)"},useInlineDesign:{type:"boolean",default:!1}},XV(xV,{defaultRange:2,noUnits:!0})),XV(SV,{defaultRange:20,noUnits:!0})),XV(BV,{defaultRange:10,noUnits:!0})),XV(TV,{defaultRange:60,noUnits:!0})),XV(NV,{defaultRange:21,noUnits:!0})),XV(PV,{defaultRange:20,noUnits:!0})),XV(OV,{defaultRange:5,noUnits:!0})),QV(Object.values(B))),KV(AV,{defaultFillColor:"var(--eb-global-primary-color)",noOverlay:!0,noMainBgi:!0})),KV(LV,{noOverlay:!0,noMainBgi:!0})),KV(FV)),$V(MV,{top:15,right:15,bottom:15,left:15,isLinked:!1})),$V(DV)),$V(jV,{top:28,right:0,bottom:28,left:0,isLinked:!1})),$V(IV,{top:10,right:10,bottom:10,left:10,isLinked:!0})),eW(HV,{bdrDefaults:{top:2,right:2,bottom:2,left:2},noShadow:!0,defaultBdrColor:"#6e2d8d",defaultBdrStyle:"solid"})),eW(zV)),eW(qV));function aW(e){return aW="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},aW(e)}function nW(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function oW(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=aW(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=aW(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==aW(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function rW(e){return function(e){if(Array.isArray(e))return cW(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return cW(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?cW(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function cW(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}var lW=window.EBControls,iW=lW.ColorControl,sW=lW.ResponsiveRangeController,bW=lW.ResponsiveDimensionsControl,pW=lW.TypographyDropdown,uW=lW.BackgroundControl,dW=lW.BorderShadowControl,mW=lW.AdvancedControls,gW=lW.SortControl,fW=lW.ImageAvatar,yW=lW.EBIconPicker;const vW=function(e){var t=e.attributes,a=e.setAttributes,n=t.resOption,o=(t.features,t.titleTag),r=t.iconShape,c=t.shapeView,l=t.iconPosition,i=t.iconGlobalColor,s=t.titleTextColor,b=t.descTextColor,p=t.showContentVertical,u=t.showConnector,d=t.connectorStyle,m=t.connectorType,g=t.connectorColor,f=t.titleTextHoverColor,y=t.useInlineDesign,v=t.featureListAlign,h={setAttributes:a,resOption:n,attributes:t,objAttributes:tW},w=function(){var e=t.features.length+1,n=[].concat(rW(t.features),[{iconType:"icon",featuresImage:"",featuresImageId:"",icon:"fas fa-check",title:"Feature Item ".concat(e),content:"Lorem ipsum dolor sit amet, consectetur adipisi cing elit, sed do eiusmod tempor incididunt ut abore et dolore magna",iconColor:"",iconBackgroundColor:"",link:"",linkOpenNewTab:"false"}]);a({features:n})};return React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:(0,Y.__)("General","essential-blocks"),className:"eb-tab general"},{name:"styles",title:(0,Y.__)("Style","essential-blocks"),className:"eb-tab styles"},{name:"advance",title:"Advanced",className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls"+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Content Settings","essential-blocks"),initialOpen:!0},React.createElement(gW,{items:t.features,labelKey:"title",onSortEnd:function(e){return a({features:e})},onDeleteItem:function(e){a({features:t.features.filter((function(t,a){return a!==e}))})},hasSettings:!0,settingsComponents:(n=function(e,n,o){var r=function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?nW(Object(a),!0).forEach((function(t){oW(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):nW(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}({},t.features[o]),c=rW(t.features);c[o]=r,Array.isArray(e)?e.map((function(e,t){c[o][e]=n[t]})):c[o][e]=n,a({features:c})},t.features.map((function(e,t){return React.createElement("div",{key:t},React.createElement(X.TextControl,{onChange:function(e){return n("title",e,t)},label:(0,Y.__)("Text","essential-blocks"),value:e.title}),!y&&React.createElement(X.TextareaControl,{label:(0,Y.__)("Content","essential-blocks"),value:e.content,onChange:function(e){return n("content",e,t)}}),React.createElement(X.BaseControl,{label:(0,Y.__)("Icon Type","essential-blocks")},React.createElement(X.ButtonGroup,{className:"eb-featurelist-icon-type"},_V.map((function(a,o){return React.createElement(X.Button,{key:o,isPrimary:e.iconType===a.value,isSecondary:e.iconType!==a.value,onClick:function(){return n("iconType",a.value,t)}},a.label)})))),"none"!==e.iconType&&React.createElement(React.Fragment,null,"icon"===e.iconType&&React.createElement(yW,{value:e.icon,onChange:function(e){return n("icon",e,t)}}),"image"===e.iconType&&!e.featureImage&&React.createElement(Q.MediaUpload,{onSelect:function(e){var a=e.id,o=e.url,r=e.alt,c=e.title;n(["featureImageId","featureImage","featureImageAlt","featureImageTitle"],[a,o,r,c],t)},type:"image",value:e.featureImageId,render:function(e){var t=e.open;return React.createElement(X.Button,{className:"eb-background-control-inspector-panel-img-btn components-button",label:(0,Y.__)("Upload Image","essential-blocks"),icon:"format-image",onClick:t})}}),"image"===e.iconType&&e.featureImage&&React.createElement(fW,{imageUrl:e.featureImage,onDeleteImage:function(){n(["featureImageId","featureImage","featureImageAlt","featureImageTitle"],[null,null,null,null],t)}}),"icon"===e.iconType&&e.icon&&React.createElement(iW,{label:(0,Y.__)("Icon Color","essential-blocks"),color:e.iconColor,onChange:function(e){return n("iconColor",e,t)}}),React.createElement(iW,{label:(0,Y.__)("Background Color","essential-blocks"),color:e.iconBackgroundColor,onChange:function(e){return n("iconBackgroundColor",e,t)}})),React.createElement(X.TextControl,{label:(0,Y.__)("Link","essential-blocks"),value:e.link,onChange:function(e){return n("link",e,t)}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Open in New Tab","essential-blocks"),checked:"false"!=e.linkOpenNewTab,onChange:function(e){return n("linkOpenNewTab",e.toString(),t)}}))}))),hasAddButton:!0,onAddItem:w,addButtonText:(0,Y.__)("Add Feature","essential-blocks")}),React.createElement(X.__experimentalDivider,null),React.createElement(X.SelectControl,{label:(0,Y.__)("Title HTML Tag","essential-blocks"),value:o,options:vV,onChange:function(e){return a({titleTag:e})}}),React.createElement(X.SelectControl,{label:(0,Y.__)("Icon Shape","essential-blocks"),value:r,options:kV,onChange:function(e){return a({iconShape:e})}}),"none"!==r&&React.createElement(X.SelectControl,{label:(0,Y.__)("Shape View","essential-blocks"),value:c,options:RV,onChange:function(e){return a({shapeView:e})}}),React.createElement(X.BaseControl,{label:(0,Y.__)("Feature Item Position","essential-blocks")},React.createElement(X.ButtonGroup,{className:"eb-featurelist-item-align"},CV.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:v===e.value,isSecondary:v!==e.value,onClick:function(){return a({featureListAlign:e.value})}},e.label)})))),React.createElement(X.BaseControl,{label:(0,Y.__)("Icon Position","essential-blocks")},React.createElement(X.ButtonGroup,{className:"eb-featurelist-icon-align"},EV.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:l===e.value,isSecondary:l!==e.value,onClick:function(){return a({iconPosition:e.value})}},e.label)})))),React.createElement(X.ToggleControl,{label:(0,Y.__)("Content Vertically Center","essentail-blocks"),checked:p,onChange:function(){a({showContentVertical:!p})}}),!y&&"top"!=l&&React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Connector","essentail-blocks"),checked:u,onChange:function(){a({showConnector:!u})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Use Inline Feature Lists","essentail-blocks"),checked:y,onChange:function(){a({useInlineDesign:!y})}}))),"styles"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("List","essential-blocks"),initialOpen:!0},React.createElement(sW,{baseLabel:(0,Y.__)("Space Between (PX)","essential-blocks"),controlName:SV,resRequiredProps:h,min:0,max:300,step:1,noUnits:!0}),y&&React.createElement(sW,{baseLabel:(0,Y.__)("Row Space(PX)","essential-blocks"),controlName:BV,resRequiredProps:h,min:0,max:300,step:1,noUnits:!0})),React.createElement(X.PanelBody,{title:(0,Y.__)("Icon","essential-blocks"),initialOpen:!1},"none"!==r&&React.createElement(React.Fragment,null,React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Background","essential-blocks"))),React.createElement(uW,{controlName:AV,resRequiredProps:h,noOverlay:!0,noMainBgi:!0}),React.createElement(X.__experimentalDivider,null)),React.createElement(iW,{label:(0,Y.__)("Color","essential-blocks"),color:i,onChange:function(e){return a({iconGlobalColor:e})}}),"none"!==r&&React.createElement(sW,{baseLabel:(0,Y.__)("Size","essential-blocks"),controlName:TV,resRequiredProps:h,min:0,max:300,step:1,noUnits:!0}),React.createElement(sW,{baseLabel:(0,Y.__)("Icon Size","essential-blocks"),controlName:NV,resRequiredProps:h,min:6,max:150,step:1,noUnits:!0}),React.createElement(bW,{resRequiredProps:h,controlName:MV,baseLabel:(0,Y.__)("Padding","essential-blocks")}),React.createElement(sW,{baseLabel:(0,Y.__)("Spacing","essential-blocks"),controlName:PV,resRequiredProps:h,min:0,max:100,step:1,noUnits:!0}),"none"!==r&&"framed"===c&&React.createElement(dW,{controlName:HV,resRequiredProps:h,noShadow:!0})),React.createElement(X.PanelBody,{title:(0,Y.__)("Content","essential-blocks"),initialOpen:!1},React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Title","essential-blocks"))),React.createElement(sW,{baseLabel:(0,Y.__)("Title Bottom Space","essential-blocks"),controlName:OV,resRequiredProps:h,min:0,max:100,step:1,noUnits:!0}),React.createElement(iW,{label:(0,Y.__)("Color","essential-blocks"),color:s,onChange:function(e){return a({titleTextColor:e})}}),React.createElement(iW,{label:(0,Y.__)("Hover Color","essential-blocks"),color:f,onChange:function(e){return a({titleTextHoverColor:e})}}),React.createElement(pW,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:UV,resRequiredProps:h,defaultFontSize:32}),!y&&React.createElement(React.Fragment,null,React.createElement(X.__experimentalDivider,null),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Description","essential-blocks"))),React.createElement(iW,{label:(0,Y.__)("Color","essential-blocks"),color:b,onChange:function(e){return a({descTextColor:e})}}),React.createElement(pW,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:VV,resRequiredProps:h}),React.createElement(X.__experimentalDivider,null),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Content Box","essential-blocks"))),React.createElement(bW,{resRequiredProps:h,controlName:DV,baseLabel:(0,Y.__)("Box Padding","essential-blocks")}),React.createElement(X.PanelBody,{title:"Background"},React.createElement(uW,{controlName:LV,resRequiredProps:h,noOverlay:!0,noMainBgi:!0})),React.createElement(X.PanelBody,{title:"Border"},React.createElement(dW,{controlName:zV,resRequiredProps:h})))),!y&&u&&"top"!=l&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Connector Style","essential-blocks"),initialOpen:!1},React.createElement(X.SelectControl,{label:(0,Y.__)("Connector Style","essential-blocks"),value:d,options:hV,onChange:function(e){return a({connectorStyle:e})}}),React.createElement(X.SelectControl,{label:(0,Y.__)("Connector Type","essential-blocks"),value:m,options:wV,onChange:function(e){return a({connectorType:e})}}),React.createElement(iW,{label:(0,Y.__)("Color","essential-blocks"),color:g,onChange:function(e){return a({connectorColor:e})}}),React.createElement(sW,{baseLabel:(0,Y.__)("Connector Width (PX)","essential-blocks"),controlName:xV,resRequiredProps:h,min:0,max:20,step:1,noUnits:!0})))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,null,React.createElement(bW,{resRequiredProps:h,controlName:jV,baseLabel:(0,Y.__)("Margin","essential-blocks")}),React.createElement(bW,{resRequiredProps:h,controlName:IV,baseLabel:(0,Y.__)("Padding","essential-blocks")})),React.createElement(X.PanelBody,{title:(0,Y.__)("Background","essential-blocks"),initialOpen:!1},React.createElement(uW,{controlName:FV,resRequiredProps:h})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border","essential-blocks"),initialOpen:!1},React.createElement(dW,{controlName:qV,resRequiredProps:h})),React.createElement(mW,{attributes:t,setAttributes:a})));var n}))))};var hW=window.EBControls,wW=hW.softMinifyCssStrings,kW=hW.generateDimensionsControlStyles,RW=hW.generateBackgroundControlStyles,_W=hW.generateBorderShadowStyles,EW=hW.generateTypographyStyles,CW=hW.generateResponsiveRangeStyles,xW=hW.StyleComponent;function SW(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=(t.blockMeta,t.resOption,t.featureListAlign,t.features,t.iconPosition,t.iconShape),c=t.shapeView,l=(t.titleTag,t.titleTextColor),i=t.titleTextHoverColor,s=t.descTextColor,b=t.iconGlobalColor,p=t.showContentVertical,u=(t.showConnector,t.connectorStyle,t.connectorType),d=t.connectorColor,m=(t.classHook,t.useInlineDesign),g=CW({controlName:OV,property:"margin-bottom",attributes:t,customUnit:"px"}),f=g.rangeStylesDesktop,y=g.rangeStylesTab,v=g.rangeStylesMobile,h=CW({controlName:xV,property:"border-width",attributes:t,customUnit:"px"}),w=h.rangeStylesDesktop,k=h.rangeStylesTab,R=h.rangeStylesMobile,_=CW({controlName:NV,property:"font-size",attributes:t,customUnit:"px"}),E=_.rangeStylesDesktop,C=_.rangeStylesTab,x=_.rangeStylesMobile,S=CW({controlName:SV,property:"padding-bottom",attributes:t,customUnit:"px"}),B=S.rangeStylesDesktop,T=S.rangeStylesTab,N=S.rangeStylesMobile,P=CW({controlName:BV,property:"padding-bottom",attributes:t,customUnit:"px"}),O=P.rangeStylesDesktop,M=P.rangeStylesTab,D=P.rangeStylesMobile,j=CW({controlName:TV,property:"",attributes:t,customUnit:"px"}),I=j.rangeStylesDesktop,A=j.rangeStylesTab,L=j.rangeStylesMobile,F=kW({controlName:MV,styleFor:"padding",attributes:t}),H=F.dimensionStylesDesktop,z=F.dimensionStylesTab,q=F.dimensionStylesMobile,U=CW({controlName:PV,property:"",attributes:t,customUnit:"px"}),V=U.rangeStylesDesktop,W=U.rangeStylesTab,G=U.rangeStylesMobile,Z=EW({attributes:t,prefixConstant:UV,defaultFontSize:18}),Y=Z.typoStylesDesktop,J=Z.typoStylesTab,Q=Z.typoStylesMobile,X=EW({attributes:t,prefixConstant:VV,defaultFontSize:14}),$=X.typoStylesDesktop,K=X.typoStylesTab,ee=X.typoStylesMobile,te=RW({attributes:t,controlName:AV,noOverlay:!0,noMainBgi:!0}),ae=te.backgroundStylesDesktop,ne=te.hoverBackgroundStylesDesktop,oe=(te.bgTransitionStyle,_W({controlName:HV,attributes:t})),re=oe.styesDesktop,ce=oe.styesTab,le=oe.styesMobile,ie=oe.stylesHoverDesktop,se=oe.stylesHoverTab,be=oe.stylesHoverMobile,pe=oe.transitionStyle,ue=kW({controlName:jV,styleFor:"margin",attributes:t}),de=ue.dimensionStylesDesktop,me=ue.dimensionStylesTab,ge=ue.dimensionStylesMobile,fe=kW({controlName:IV,styleFor:"padding",attributes:t}),ye=fe.dimensionStylesDesktop,ve=fe.dimensionStylesTab,he=fe.dimensionStylesMobile,we=kW({controlName:DV,styleFor:"padding",attributes:t}),ke=we.dimensionStylesDesktop,Re=we.dimensionStylesTab,_e=we.dimensionStylesMobile,Ee=RW({attributes:t,controlName:LV,noOverlay:!0,noMainBgi:!0}),Ce=Ee.backgroundStylesDesktop,xe=Ee.hoverBackgroundStylesDesktop,Se=Ee.bgTransitionStyle,Be=_W({controlName:zV,attributes:t}),Te=Be.styesDesktop,Ne=Be.styesTab,Pe=Be.styesMobile,Oe=Be.stylesHoverDesktop,Me=Be.stylesHoverTab,De=Be.stylesHoverMobile,je=Be.transitionStyle,Ie=RW({attributes:t,controlName:FV}),Ae=Ie.backgroundStylesDesktop,Le=Ie.hoverBackgroundStylesDesktop,Fe=Ie.backgroundStylesTab,He=Ie.hoverBackgroundStylesTab,ze=Ie.backgroundStylesMobile,qe=Ie.hoverBackgroundStylesMobile,Ue=Ie.overlayStylesDesktop,Ve=Ie.hoverOverlayStylesDesktop,We=Ie.overlayStylesTab,Ge=Ie.hoverOverlayStylesTab,Ze=Ie.overlayStylesMobile,Ye=Ie.hoverOverlayStylesMobile,Je=Ie.bgTransitionStyle,Qe=Ie.ovlTransitionStyle,Xe=_W({controlName:qV,attributes:t}),$e=Xe.styesDesktop,Ke=Xe.styesTab,et=Xe.styesMobile,tt=Xe.stylesHoverDesktop,at=Xe.stylesHoverTab,nt=Xe.stylesHoverMobile,ot=Xe.transitionStyle,rt="\n\t\t .".concat(o,".eb-feature-list-wrapper {\n\t\t\t ").concat(de,"\n\t\t\t ").concat(ye,"\n\t\t\t ").concat(Ae,"\n\t\t\t ").concat($e,"\n\t\t\t transition: all 0.3s, ").concat(Je,", ").concat(ot,";\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper:hover {\n\t\t\t").concat(Le,"\n\t\t\t").concat(tt,"\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper:before {\n\t\t\t").concat(Ue,"\n\t\t\ttransition: all 0.3s, ").concat(Qe,";\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper:before:hover {\n\t\t\t").concat(Ve,"\n\t\t }\n\n\t\t ").concat(p?"\n\t\t .".concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-item {\n\t\t\t align-items: center;\n\t\t }\n\t\t "):"","\n\n\t\t .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-item .eb-feature-list-title {\n\t\t\t ").concat(f,"\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-icon-box .eb-feature-list-icon {\n\t\t\t ").concat("none"!==r?"\n\t\t\t\t height: ".concat(I.replace(/\D/g,""),"px;\n\t\t\t\t width:").concat(I.replace(/\D/g,""),"px;\n\t\t\t\t "):"","\n\t\t\t ").concat(E,"\n\t\t\t ").concat(H,"\n\t\t\t color: ").concat(b,";\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-icon-box .eb-feature-list-icon img {\n\t\t\t height: ").concat(E.replace(/\D/g,""),"px;\n\t\t\t width: ").concat(E.replace(/\D/g,""),"px;\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-items .eb-feature-list-icon svg {\n\t\t\t color: ").concat(b,";\n\t\t }\n\n\t\t ").concat(m?"":".".concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-item:not(:last-child) {\n\t\t\tpadding-bottom: calc(").concat(B.replace(/\D/g,"")/2,"px);\n\t\t}\n\n\t\t.").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-item:not(:first-child) {\n\t\t\tpadding-top: calc(").concat(B.replace(/\D/g,"")/2,"px);\n\t\t}"),"\n\n\t\t .").concat(o,".eb-feature-list-wrapper.-icon-position-left .eb-feature-list-items .eb-feature-list-content-box, .").concat(o,".eb-feature-list-wrapper.-icon-position-right .eb-feature-list-items .eb-feature-list-content-box, .").concat(o,".eb-feature-list-wrapper.-icon-position-top .eb-feature-list-items .eb-feature-list-content-box {\n\t\t\t").concat(ke,"\n\t\t\t").concat(Ce,"\n\t\t\t").concat(Te,"\n\t\t\t margin: ").concat(V.replace(/\D/g,""),"px;\n\t\t\t transition: all 0.3s, ").concat(Se,", ").concat(je,";\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper.-icon-position-left .eb-feature-list-items .eb-feature-list-content-box:hover, .").concat(o,".eb-feature-list-wrapper.-icon-position-right .eb-feature-list-items .eb-feature-list-content-box:hover, .").concat(o,".eb-feature-list-wrapper.-icon-position-top .eb-feature-list-items .eb-feature-list-content-box:hover {\n\t\t\t").concat(xe,"\n\t\t\t").concat(Oe,"\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper.-mobile-icon-position-left .eb-feature-list-items .eb-feature-list-content-box {\n\t\t\t margin: 0 0 0 ").concat(V.replace(/\D/g,""),"px !important;\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper.-mobile-icon-position-right .eb-feature-list-items .eb-feature-list-content-box {\n\t\t\t margin: 0 ").concat(V.replace(/\D/g,""),"px 0 0 !important;\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-content-box .eb-feature-list-title,\n\t\t .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-content-box .eb-feature-list-title > a,\n\t\t .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-content-box .eb-feature-list-title:visited {\n\t\t\t color: ").concat(l,";\n\t\t }\n\t\t ").concat(i?" .".concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-content-box .eb-feature-list-title:hover,\n\t\t .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-content-box .eb-feature-list-title:hover > a {\n\t\t\t\tcolor: ").concat(i,";\n\t\t }"):"","\n\n\n\t\t .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-content-box .eb-feature-list-title, .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-content-box .eb-feature-list-title a {\n\t\t\t ").concat(Y,"\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-content-box .eb-feature-list-content {\n\t\t\t color: ").concat(s,";\n\t\t\t ").concat($,"\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-icon-box .eb-feature-list-icon-inner {\n\t\t\t ").concat(ae,"\n\t\t\t ").concat("framed"===c?re:"","\n\t\t\t transition: ").concat(pe,";\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper:hover .eb-feature-list-items .eb-feature-list-icon-box .eb-feature-list-icon-inner {\n\t\t\t ").concat(ne,"\n\t\t\t ").concat("framed"===c?ie:"","\n\t\t }\n\t\t .").concat(o,".eb-feature-list-wrapper.connector-style-1 .eb-feature-list-items .eb-feature-list-item .eb-feature-list-icon-box:before {\n\t\t\tborder-left: ").concat(u+" "+d,";\n\t\t\t").concat(w,"\n\t\t\ttop: ").concat(2*parseInt(t.iconPaddingTop),"px;\n\t\t\theight: calc(100% + ").concat(parseInt(t.listSpaceRange),"px);\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper.connector-style-2 .eb-feature-list-items .eb-feature-list-item:before {\n\t\t\tborder-left: ").concat(u+" "+d,";\n\t\t\t").concat(w,"\n\t\t }\n\t\t .").concat(o,".eb-feature-list-wrapper.connector-style-2 .eb-feature-list-items .eb-feature-list-icon-box:before {\n\t\t\tborder-top: ").concat(u+" "+d,";\n\t\t\t").concat(w,"\n\t\t }\n\n\t\t ").concat(m?"\n\n\t\t \t.".concat(o,".eb-feature-list-wrapper .eb-inline-feature-list {\n\t\t\t\tdisplay: inline-flex;\n\t\t\t\tflex-wrap: wrap;\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-feature-list-wrapper .eb-inline-feature-list li .eb-feature-list-title {\n\t\t\t\tmargin: 0 !important;\n\t\t\t}\n\n\n\t\t\t.").concat(o,".eb-feature-list-wrapper .eb-inline-feature-list li {\n\t\t\t\tpadding-right: ").concat(B.replace(/\D/g,""),"px;\n\t\t\t\tpadding-bottom: ").concat(O.replace(/\D/g,""),"px;\n\t\t\t}\n\t\t "):"","\n\t"),ct="\n\t\t .".concat(o,".eb-feature-list-wrapper {\n\t\t\t ").concat(me,"\n\t\t\t ").concat(ve,"\n\t\t\t ").concat(Fe,"\n\t\t\t ").concat(Ke,"\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper:hover {\n\t\t\t").concat(He,"\n\t\t\t").concat(at,"\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper:before {\n\t\t\t").concat(We,"\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper:before:hover {\n\t\t\t").concat(Ge,"\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-item .eb-feature-list-title {\n\t\t\t ").concat(y,"\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-icon-box .eb-feature-list-icon {\n\t\t\t ").concat("none"!==r?"\n\t\t\t\t height: ".concat(A.replace(/\D/g,""),"px;\n\t\t\t\t width:").concat(A.replace(/\D/g,""),"px;\n\t\t\t\t "):"","\n\t\t\t ").concat(C,"\n\t\t\t ").concat(z,"\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-icon-box .eb-feature-list-icon img {\n\t\t\t height: ").concat(C.replace(/\D/g,""),"px;\n\t\t\t width: ").concat(C.replace(/\D/g,""),"px;\n\t\t }\n\n\t\t ").concat(m?"":".".concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-item:not(:last-child) {\n\t\t\tpadding-bottom: calc(").concat(T.replace(/\D/g,"")/2,"px);\n\t\t}\n\n\t\t.").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-item:not(:first-child) {\n\t\t\tpadding-top: calc(").concat(T.replace(/\D/g,"")/2,"px);\n\t\t}"),"\n\n\t\t .").concat(o,".eb-feature-list-wrapper.-icon-position-left .eb-feature-list-items .eb-feature-list-content-box, .").concat(o,".eb-feature-list-wrapper.-icon-position-right .eb-feature-list-items .eb-feature-list-content-box, .").concat(o,".eb-feature-list-wrapper.-icon-position-top .eb-feature-list-items .eb-feature-list-content-box{\n\t\t\t").concat(Re,"\n\t\t\t").concat(Ne,"\n\t\t\t margin: ").concat(W.replace(/\D/g,""),"px;\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper.-icon-position-left .eb-feature-list-items .eb-feature-list-content-box:hover, .").concat(o,".eb-feature-list-wrapper.-icon-position-right .eb-feature-list-items .eb-feature-list-content-box:hover, .").concat(o,".eb-feature-list-wrapper.-icon-position-top .eb-feature-list-items .eb-feature-list-content-box:hover{\n\t\t\t").concat(Me,"\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper.-mobile-icon-position-left .eb-feature-list-items .eb-feature-list-content-box {\n\t\t\t margin: 0 0 0 ").concat(W.replace(/\D/g,""),"px !important;\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper.-mobile-icon-position-right .eb-feature-list-items .eb-feature-list-content-box {\n\t\t\t margin: 0 ").concat(W.replace(/\D/g,""),"px 0 0 !important;\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-content-box .eb-feature-list-title, .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-content-box .eb-feature-list-title a {\n\t\t\t ").concat(J,"\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-content-box .eb-feature-list-content {\n\t\t\t ").concat(K,"\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-icon-box .eb-feature-list-icon-inner {\n\t\t\t ").concat("framed"===c?ce:"","\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper:hover .eb-feature-list-items .eb-feature-list-icon-box .eb-feature-list-icon-inner {\n\t\t\t ").concat("framed"===c?se:"","\n\t\t }\n\t\t .").concat(o,".eb-feature-list-wrapper.connector-style-1 .eb-feature-list-items .eb-feature-list-item .eb-feature-list-icon-box:before {\n\t\t\t").concat(k,"\n\t\t\theight: calc(100% + ").concat(parseInt(t.TABlistSpaceRange?t.TABlistSpaceRange:t.listSpaceRange),"px);\n\t\t }\n\t\t .").concat(o,".eb-feature-list-wrapper.connector-style-2 .eb-feature-list-items .eb-feature-list-item:before {\n\t\t\t").concat(k,"\n\t\t }\n\t\t .").concat(o,".eb-feature-list-wrapper.connector-style-2 .eb-feature-list-items .eb-feature-list-icon-box:before {\n\t\t\t").concat(k,"\n\t\t }\n\n\t\t ").concat(m?"\n\t\t.".concat(o,".eb-feature-list-wrapper .eb-inline-feature-list li {\n\t\t\tpadding-right: ").concat(T.replace(/\D/g,""),"px;\n\t\t\tpadding-bottom: ").concat(M.replace(/\D/g,""),"px;\n\t\t}\n\t "):"","\n\t  "),lt="\n\t\t .".concat(o,".eb-feature-list-wrapper {\n\t\t\t ").concat(ge,"\n\t\t\t ").concat(he,"\n\t\t\t ").concat(ze,"\n\t\t\t ").concat(et,"\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper:hover {\n\t\t\t").concat(qe,"\n\t\t\t").concat(nt,"\n\t\t}\n\n\t\t.").concat(o,".eb-feature-list-wrapper:before {\n\t\t\t").concat(Ze,"\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper:before:hover {\n\t\t\t").concat(Ye,"\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-item .eb-feature-list-title {\n\t\t\t ").concat(v,"\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-icon-box .eb-feature-list-icon {\n\t\t\t ").concat("none"!==r?"\n\t\t\t\t height: ".concat(L.replace(/\D/g,""),"px;\n\t\t\t\t width:").concat(L.replace(/\D/g,""),"px;\n\t\t\t\t "):"","\n\t\t\t ").concat(x,"\n\t\t\t ").concat(q,"\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-icon-box .eb-feature-list-icon img {\n\t\t\t height: ").concat(x.replace(/\D/g,""),"px;\n\t\t\t width: ").concat(x.replace(/\D/g,""),"px;\n\t\t }\n\n\t\t ").concat(m?"":".".concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-item:not(:last-child) {\n\t\t\tpadding-bottom: calc(").concat(N.replace(/\D/g,"")/2,"px);\n\t\t}\n\n\t\t.").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-item:not(:first-child) {\n\t\t\tpadding-top: calc(").concat(N.replace(/\D/g,"")/2,"px);\n\t\t}"),"\n\n\t\t .").concat(o,".eb-feature-list-wrapper.-icon-position-left .eb-feature-list-items .eb-feature-list-content-box, .").concat(o,".eb-feature-list-wrapper.-icon-position-right .eb-feature-list-items .eb-feature-list-content-box, .").concat(o,".eb-feature-list-wrapper.-icon-position-top .eb-feature-list-items .eb-feature-list-content-box {\n\t\t\t").concat(_e,"\n\t\t\t").concat(Pe,"\n\t\t\t margin: ").concat(G.replace(/\D/g,""),"px;\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper.-icon-position-left .eb-feature-list-items .eb-feature-list-content-box:hover, .").concat(o,".eb-feature-list-wrapper.-icon-position-right .eb-feature-list-items .eb-feature-list-content-box:hover, .").concat(o,".eb-feature-list-wrapper.-icon-position-top .eb-feature-list-items .eb-feature-list-content-box:hover{\n\t\t\t").concat(De,"\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper.-mobile-icon-position-left .eb-feature-list-items .eb-feature-list-content-box {\n\t\t\t margin: 0 0 0 ").concat(G.replace(/\D/g,""),"px !important;\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper.-mobile-icon-position-right .eb-feature-list-items .eb-feature-list-content-box {\n\t\t\t margin: 0 ").concat(G.replace(/\D/g,""),"px 0 0 !important;\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-content-box .eb-feature-list-title, .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-content-box .eb-feature-list-title a {\n\t\t\t ").concat(Q,"\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-content-box .eb-feature-list-content {\n\t\t\t ").concat(ee,"\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-icon-box .eb-feature-list-icon-inner {\n\t\t\t ").concat("framed"===c?le:"","\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper:hover .eb-feature-list-items .eb-feature-list-icon-box .eb-feature-list-icon-inner {\n\t\t\t ").concat("framed"===c?be:"","\n\t\t }\n\t\t .").concat(o,".eb-feature-list-wrapper.connector-style-1 .eb-feature-list-items .eb-feature-list-item .eb-feature-list-icon-box:before {\n\t\t\t").concat(R,"\n\t\t\theight: calc(100% + ").concat(parseInt(t.MOBlistSpaceRange?t.MOBlistSpaceRange:t.listSpaceRange),"px);\n\t\t }\n\t\t .").concat(o,".eb-feature-list-wrapper.connector-style-2 .eb-feature-list-items .eb-feature-list-item:before {\n\t\t\t").concat(R,"\n\t\t }\n\t\t .").concat(o,".eb-feature-list-wrapper.connector-style-2 .eb-feature-list-items .eb-feature-list-icon-box:before {\n\t\t\t").concat(R,"\n\t\t }\n\t\t ").concat(m?"\n\t.".concat(o,".eb-feature-list-wrapper .eb-inline-feature-list li {\n\t\tpadding-right: ").concat(N.replace(/\D/g,""),"px;\n\t\tpadding-bottom: ").concat(D.replace(/\D/g,""),"px;\n\t}\n "):"","\n\t "),it=wW("\n\t\t   ".concat(rt,"\n\t   ")),st=wW("\n\t\t   ".concat(ct,"\n\t   ")),bt=wW("\n\t\t   ".concat(lt,"\n\t   "));return React.createElement(React.Fragment,null,React.createElement(xW,{attributes:t,setAttributes:a,desktopAllStyles:it,tabAllStyles:st,mobileAllStyles:bt,blockName:n}))}function BW(e){return BW="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},BW(e)}function TW(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function NW(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?TW(Object(a),!0).forEach((function(t){PW(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):TW(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function PW(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=BW(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=BW(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==BW(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var OW=window.EBControls,MW=OW.EBDisplayIcon,DW=OW.sanitizeURL,jW=OW.BlockProps;var IW=window.EBControls,AW=IW.EBDisplayIcon,LW=IW.sanitizeURL,FW=IW.BlockProps;function HW(e){return HW="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},HW(e)}function zW(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function qW(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?zW(Object(a),!0).forEach((function(t){UW(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):zW(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function UW(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=HW(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=HW(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==HW(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var VW=window.EBControls,WW=VW.sanitizeURL,GW=VW.EBDisplayIcon,ZW=[{attributes:qW({},tW),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.featureListAlign,o=t.features,r=t.iconPosition,c=t.iconShape,l=t.shapeView,i=t.showConnector,s=t.connectorStyle,b=t.classHook,p=t.useInlineDesign,u="center"===n?" eb-feature-list-center":"right"===n?" eb-feature-list-right":" eb-feature-list-left",d="none"!==c?" ".concat(c," ").concat(l):" none",m=p?" eb-inline-feature-list":"",g={};return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(b)},React.createElement("div",{className:"".concat(a," eb-feature-list-wrapper -icon-position-").concat(r," -tablet-icon-position-").concat(r," -mobile-icon-position-").concat(r).concat(u).concat(i?" connector-"+s:"")},React.createElement("ul",{className:"eb-feature-list-items".concat(d).concat(m)},o.map((function(e,a){var n=e.title,o=e.iconType,r=e.featureImage,c=e.featureImageId,l=e.featureImageAlt,i=e.featureImageTitle,s=e.icon,b=e.iconColor,u=e.iconBackgroundColor,d=e.content,m=e.link,f=e.linkOpenNewTab;return g={color:b,backgroundColor:u},React.createElement("li",{key:a,className:"eb-feature-list-item","data-new-tab":f?f.toString():"false","data-icon-type":o,"data-image":r,"data-image-id":c,"data-icon":s,"data-icon-color":b,"data-icon-background-color":u,"data-link":m,"data-alt":l,"data-title":i},"none"!==o&&React.createElement("div",{className:"eb-feature-list-icon-box"},React.createElement("div",{className:"eb-feature-list-icon-inner"},React.createElement("span",{className:"eb-feature-list-icon",style:g},"icon"===o&&React.createElement(GW,{icon:s}),"image"===o&&React.createElement("img",{className:"eb-feature-list-img",src:r,alt:l||i})))),React.createElement("div",{className:"eb-feature-list-content-box"},m?React.createElement(t.titleTag,{className:"eb-feature-list-title"},React.createElement("a",{href:m,target:"true"==f?"_blank":"_self",rel:"noopener"},n)):React.createElement(t.titleTag,{className:"eb-feature-list-title"},n),!p&&React.createElement("p",{className:"eb-feature-list-content"},d)))}))))))}},{attributes:qW({},tW),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.featureListAlign,o=t.features,r=t.iconPosition,c=t.iconShape,l=t.shapeView,i=t.showConnector,s=t.connectorStyle,b=t.classHook,p=t.useInlineDesign,u="center"===n?" eb-feature-list-center":"right"===n?" eb-feature-list-right":" eb-feature-list-left",d="none"!==c?" ".concat(c," ").concat(l):" none",m=p?" eb-inline-feature-list":"",g={};return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(b)},React.createElement("div",{className:"".concat(a," eb-feature-list-wrapper -icon-position-").concat(r," -tablet-icon-position-").concat(r," -mobile-icon-position-").concat(r).concat(u).concat(i?" connector-"+s:"")},React.createElement("ul",{className:"eb-feature-list-items".concat(d).concat(m)},o.map((function(e,a){var n=e.title,o=e.iconType,r=e.featureImage,c=e.featureImageId,l=e.featureImageAlt,i=e.featureImageTitle,s=e.icon,b=e.iconColor,u=e.iconBackgroundColor,d=e.content,m=e.link,f=e.linkOpenNewTab;return g={color:b,backgroundColor:u},React.createElement("li",{key:a,className:"eb-feature-list-item","data-new-tab":f?f.toString():"false","data-icon-type":o,"data-image":r,"data-image-id":c,"data-icon":s,"data-icon-color":b,"data-icon-background-color":u,"data-link":m,"data-alt":l,"data-title":i},"none"!==o&&React.createElement("div",{className:"eb-feature-list-icon-box"},React.createElement("div",{className:"eb-feature-list-icon-inner"},React.createElement("span",{className:"eb-feature-list-icon",style:g},"icon"===o&&React.createElement("i",{"aria-hidden":"true",className:s}),"image"===o&&React.createElement("img",{className:"eb-feature-list-img",src:r,alt:l||i})))),React.createElement("div",{className:"eb-feature-list-content-box"},m?React.createElement(t.titleTag,{className:"eb-feature-list-title"},React.createElement("a",{href:WW(m),target:"true"==f?"_blank":"_self",rel:"noopener"},n)):React.createElement(t.titleTag,{className:"eb-feature-list-title"},n),!p&&React.createElement("p",{className:"eb-feature-list-content"},d)))}))))))}},{attributes:qW({},(0,nt.omit)(qW({},tW),["inlineDesignClass"])),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.featureListAlign,o=t.features,r=t.iconPosition,c=t.iconShape,l=t.shapeView,i=t.classHook,s="center"===n?" eb-feature-list-center":"right"===n?" eb-feature-list-right":" eb-feature-list-left",b="none"!==c?" ".concat(c," ").concat(l):" none",p={};return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(i)},React.createElement("div",{className:"".concat(a," eb-feature-list-wrapper -icon-position-").concat(r," -tablet-icon-position-").concat(r," -mobile-icon-position-").concat(r).concat(s)},React.createElement("ul",{className:"eb-feature-list-items".concat(b)},o.map((function(e,a){var n=e.title,o=e.iconType,r=e.featureImage,c=e.featureImageId,l=e.icon,i=e.iconColor,s=e.iconBackgroundColor,b=e.content,u=e.link;return p={color:i,backgroundColor:s},React.createElement("li",{key:a,className:"eb-feature-list-item","data-icon-type":o,"data-image":r,"data-image-id":c,"data-icon":l,"data-icon-color":i,"data-icon-background-color":s,"data-link":u},"none"!==o&&React.createElement("div",{className:"eb-feature-list-icon-box"},React.createElement("div",{className:"eb-feature-list-icon-inner"},React.createElement("span",{className:"eb-feature-list-icon",style:p},"icon"===o&&React.createElement("i",{"aria-hidden":"true",className:l}),"image"===o&&React.createElement("img",{className:"eb-feature-list-img",src:r})))),React.createElement("div",{className:"eb-feature-list-content-box"},u?React.createElement(t.titleTag,{className:"eb-feature-list-title"},React.createElement("a",{href:WW(u)},n)):React.createElement(t.titleTag,{className:"eb-feature-list-title"},n),React.createElement("p",{className:"eb-feature-list-content"},b)))}))))))}},{attributes:qW({},tW),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.featureListAlign,o=t.features,r=t.iconPosition,c=t.iconShape,l=t.shapeView,i=t.classHook,s="center"===n?" eb-feature-list-center":"right"===n?" eb-feature-list-right":" eb-feature-list-left",b="none"!==c?" ".concat(c," ").concat(l):" none",p={};return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(i)},React.createElement("div",{className:"".concat(a," eb-feature-list-wrapper -icon-position-").concat(r," -tablet-icon-position-").concat(r," -mobile-icon-position-").concat(r).concat(s)},React.createElement("ul",{className:"eb-feature-list-items".concat(b)},o.map((function(e,a){var n=e.title,o=e.iconType,r=e.featureImage,c=e.featureImageId,l=e.icon,i=e.iconColor,s=e.iconBackgroundColor,b=e.content,u=e.link;return p={color:i,backgroundColor:s},React.createElement("li",{key:a,className:"eb-feature-list-item","data-icon-type":o,"data-image":r,"data-image-id":c,"data-icon":l,"data-icon-color":i,"data-icon-background-color":s,"data-link":u},"none"!==o&&React.createElement("div",{className:"eb-feature-list-icon-box"},React.createElement("div",{className:"eb-feature-list-icon-inner"},React.createElement("span",{className:"eb-feature-list-icon",style:p},"icon"===o&&React.createElement("i",{"aria-hidden":"true",className:l}),"image"===o&&React.createElement("img",{className:"eb-feature-list-img",src:r})))),React.createElement("div",{className:"eb-feature-list-content-box"},u?React.createElement(t.titleTag,{className:"eb-feature-list-title"},React.createElement("a",{href:WW(u)},n)):React.createElement(t.titleTag,{className:"eb-feature-list-title"},n),React.createElement("p",{className:"eb-feature-list-content"},b)))}))))))}},{attributes:qW({},tW),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.featureListAlign,o=t.features,r=t.iconPosition,c=t.iconShape,l=t.shapeView,i="center"===n?" eb-feature-list-center":"right"===n?" eb-feature-list-right":" eb-feature-list-left",s="none"!==c?" ".concat(c," ").concat(l):" none",b={};return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"".concat(a," eb-feature-list-wrapper -icon-position-").concat(r," -tablet-icon-position-").concat(r," -mobile-icon-position-").concat(r).concat(i)},React.createElement("ul",{className:"eb-feature-list-items".concat(s)},o.map((function(e,a){var n=e.title,o=e.iconType,r=e.featureImage,c=e.featureImageId,l=e.icon,i=e.iconColor,s=e.iconBackgroundColor,p=e.content,u=e.link;return b={color:i,backgroundColor:s},React.createElement("li",{key:a,className:"eb-feature-list-item","data-icon-type":o,"data-image":r,"data-image-id":c,"data-icon":l,"data-icon-color":i,"data-icon-background-color":s,"data-link":u},"none"!==o&&React.createElement("div",{className:"eb-feature-list-icon-box"},React.createElement("div",{className:"eb-feature-list-icon-inner"},React.createElement("span",{className:"eb-feature-list-icon",style:b},"icon"===o&&React.createElement("i",{"aria-hidden":"true",className:l}),"image"===o&&React.createElement("img",{className:"eb-feature-list-img",src:r})))),React.createElement("div",{className:"eb-feature-list-content-box"},u?React.createElement(t.titleTag,{className:"eb-feature-list-title"},React.createElement("a",{href:WW(u)},n)):React.createElement(t.titleTag,{className:"eb-feature-list-title"},n),React.createElement("p",{className:"eb-feature-list-content"},p)))})))))}}];const YW=ZW,JW=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Feature List","name":"essential-blocks/feature-list","category":"essential-blocks","description":"Make your website interactive with feature list.","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');(0,EBControls.ebConditionalRegisterBlockType)(JW,{icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"60",fill:"none",viewBox:"0 0 60 60"},React.createElement("path",{fill:"#6C3BFF",d:"M27.9 19.125h11.775c.6 0 1.05-.375 1.05-1.05 0-.6-.375-1.05-1.05-1.05H27.9c-.6 0-1.05.375-1.05 1.05 0 .6.6 1.05 1.05 1.05zM47.4 22.125H31.725c-.6 0-1.05.375-1.05 1.05 0 .6.375 1.05 1.05 1.05H47.4c.6 0 1.05-.375 1.05-1.05-.075-.6-.45-1.05-1.05-1.05zM27.225 22.35c-.225.375-.225.6-.225.825 0 .225.225.375.225.6.225.225.375.225.6.225.225 0 .375-.225.6-.225.225-.225.225-.375.225-.6 0-.225-.225-.375-.225-.6-.15-.45-.75-.45-1.2-.225zM17.1 16.275c-2.625 0-4.875 2.25-4.875 4.875s2.25 4.875 4.875 4.875 4.875-2.25 4.875-4.875c.225-2.7-2.025-4.875-4.875-4.875zm0 7.875c-1.65 0-2.85-1.2-2.85-2.85 0-1.65 1.2-2.85 2.85-2.85 1.65 0 2.85 1.2 2.85 2.85.15 1.425-1.275 2.85-2.85 2.85zM27.9 38.025h10.575c.6 0 1.05-.375 1.05-1.05 0-.6-.375-1.05-1.05-1.05H27.9c-.6 0-1.05.375-1.05 1.05 0 .6.6 1.05 1.05 1.05zM47.4 41.025H31.725c-.6 0-1.05.375-1.05 1.05s.375 1.05 1.05 1.05H47.4c.6 0 1.05-.375 1.05-1.05s-.45-1.05-1.05-1.05zM27.225 41.25c-.225.375-.225.6-.225.825 0 .225.225.375.225.6.225.225.375.225.6.225.225 0 .375-.225.6-.225.225-.225.225-.375.225-.6 0-.225-.15-.375-.15-.6-.225-.45-.825-.45-1.275-.225zM17.1 35.175c-2.625 0-4.875 2.25-4.875 4.875s2.25 4.875 4.875 4.875 4.875-2.25 4.875-4.875-2.025-4.875-4.875-4.875zm0 7.95c-1.65 0-2.85-1.2-2.85-2.85 0-1.65 1.2-2.85 2.85-2.85 1.65 0 2.85 1.2 2.85 2.85.15 1.425-1.275 2.85-2.85 2.85z"}),React.createElement("path",{fill:"#6C3BFF",d:"M0 52.425c0 2.625 2.025 4.65 4.65 4.65h50.625c2.625 0 4.65-2.025 4.65-4.65V6.45c0-2.625-2.025-4.65-4.65-4.65H4.65C2.025 1.8 0 3.825 0 6.45v45.975zM2.475 6.45c0-1.2 1.05-2.475 2.475-2.475H55.5c1.2 0 2.475 1.05 2.475 2.475v45.975c0 1.2-1.05 2.475-2.475 2.475H4.65c-1.2 0-2.475-1.05-2.475-2.475l.3-45.975z"}))},keywords:[(0,Y.__)("Feature list","essential-blocks"),(0,Y.__)("Feature box","essential-blocks"),(0,Y.__)("eb feature","essential-blocks")],attributes:tW,edit:function(e){var t=e.attributes,a=e.isSelected,n=e.setAttributes,o=t.blockId,r=(t.blockMeta,t.resOption,t.featureListAlign),c=t.features,l=t.iconPosition,i=t.iconShape,s=t.shapeView,b=t.showConnector,p=t.connectorStyle,u=t.classHook,d=t.useInlineDesign,m="center"===r?" eb-feature-list-center":"right"===r?" eb-feature-list-right":" eb-feature-list-left",g=NW(NW({},e),{},{blockPrefix:"eb-feature-list",style:React.createElement(SW,e)}),f="none"!==i?" ".concat(i," ").concat(s):" none",y=d?" eb-inline-feature-list":"";(0,J.useEffect)((function(){c.length>0||n({features:[{iconType:"icon",icon:"fas fa-check",title:"Feature Item 1",content:"Lorem ipsum dolor sit amet, consectetur adipisi cing elit, sed do eiusmod tempor incididunt ut abore et dolore magna",iconColor:"",link:"",linkOpenNewTab:"false",iconBackgroundColor:""},{iconType:"icon",icon:"fas fa-times",title:"Feature Item 2",content:"Lorem ipsum dolor sit amet, consectetur adipisi cing elit, sed do eiusmod tempor incididunt ut abore et dolore magna",iconColor:"",link:"",linkOpenNewTab:"false",iconBackgroundColor:""},{iconType:"icon",icon:"fas fa-anchor",title:"Feature Item 3",content:"Lorem ipsum dolor sit amet, consectetur adipisi cing elit, sed do eiusmod tempor incididunt ut abore et dolore magna",iconColor:"",link:"",linkOpenNewTab:"false",iconBackgroundColor:""}]})}),[]);var v={};return React.createElement(React.Fragment,null,a&&React.createElement(vW,{attributes:t,setAttributes:n}),React.createElement(jW.Edit,g,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(o," ").concat(u)},React.createElement("div",{className:"".concat(o," eb-feature-list-wrapper -icon-position-").concat(l," -tablet-icon-position-").concat(l," -mobile-icon-position-").concat(l).concat(m," ").concat(!d&&b?"connector-"+p:"")},React.createElement("ul",{className:"eb-feature-list-items".concat(f).concat(y)},c.map((function(e,a){var n=e.title,o=e.iconType,r=e.featureImage,c=e.featureImageId,l=e.featureImageAlt,i=e.featureImageTitle,s=e.icon,b=e.iconColor,p=e.iconBackgroundColor,u=e.content,m=e.link,g=e.linkOpenNewTab;return v={color:b,backgroundColor:p},React.createElement("li",{key:a,className:"eb-feature-list-item","data-new-tab":g?g.toString():"false","data-icon-type":o,"data-image":r,"data-image-id":c,"data-alt":l,"data-title":i,"data-icon":s,"data-icon-color":b,"data-icon-background-color":p,"data-link":m},"none"!==o&&React.createElement("div",{className:"eb-feature-list-icon-box"},React.createElement("div",{className:"eb-feature-list-icon-inner"},React.createElement("span",{className:"eb-feature-list-icon",style:v},"icon"===o&&React.createElement(MW,{icon:s}),"image"===o&&React.createElement("img",{className:"eb-feature-list-img",src:r,alt:l||i})))),React.createElement("div",{className:"eb-feature-list-content-box"},m?React.createElement(t.titleTag,{className:"eb-feature-list-title"},React.createElement("a",{href:DW(m)},n)):React.createElement(t.titleTag,{className:"eb-feature-list-title"},n),!d&&React.createElement("p",{className:"eb-feature-list-content"},u)))})))))))},save:function(e){var t=e.attributes,a=t.blockId,n=t.featureListAlign,o=t.features,r=t.iconPosition,c=t.iconShape,l=t.shapeView,i=t.showConnector,s=t.connectorStyle,b=t.classHook,p=t.useInlineDesign,u="center"===n?" eb-feature-list-center":"right"===n?" eb-feature-list-right":" eb-feature-list-left",d="none"!==c?" ".concat(c," ").concat(l):" none",m=p?" eb-inline-feature-list":"",g={};return React.createElement(FW.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(b)},React.createElement("div",{className:"".concat(a," eb-feature-list-wrapper -icon-position-").concat(r," -tablet-icon-position-").concat(r," -mobile-icon-position-").concat(r).concat(u).concat(i?" connector-"+s:"")},React.createElement("ul",{className:"eb-feature-list-items".concat(d).concat(m)},o.map((function(e,a){var n=e.title,o=e.iconType,r=e.featureImage,c=e.featureImageId,l=e.featureImageAlt,i=e.featureImageTitle,s=e.icon,b=e.iconColor,u=e.iconBackgroundColor,d=e.content,m=e.link,f=e.linkOpenNewTab;return g={color:b,backgroundColor:u},React.createElement("li",{key:a,className:"eb-feature-list-item","data-new-tab":f?f.toString():"false","data-icon-type":o,"data-image":r,"data-image-id":c,"data-icon":s,"data-icon-color":b,"data-icon-background-color":u,"data-link":m,"data-alt":l,"data-title":i},"none"!==o&&React.createElement("div",{className:"eb-feature-list-icon-box"},React.createElement("div",{className:"eb-feature-list-icon-inner"},React.createElement("span",{className:"eb-feature-list-icon",style:g},"icon"===o&&React.createElement(AW,{icon:s}),"image"===o&&React.createElement("img",{className:"eb-feature-list-img",src:r,alt:l||i})))),React.createElement("div",{className:"eb-feature-list-content-box"},m?React.createElement(t.titleTag,{className:"eb-feature-list-title"},React.createElement("a",{href:LW(m),target:"true"==f?"_blank":"_self",rel:"noopener"},n)):React.createElement(t.titleTag,{className:"eb-feature-list-title"},n),!p&&React.createElement("p",{className:"eb-feature-list-content"},d)))}))))))},example:{attributes:{}},deprecated:YW});const QW=window.wp.serverSideRender;var XW=a.n(QW),$W=EssentialBlocksLocalize.fluent_form_lists&&JSON.parse(EssentialBlocksLocalize.fluent_form_lists),KW=$W&&$W.map((function(e,t){return{label:e.label,value:e.value}})),eG=[{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignleft"})),value:"left"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignright"})),value:"right"}],tG=[{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignleft"})),value:"left"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignright"})),value:"right"}],aG=[{label:"",value:"none"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignleft"})),value:"left"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignright"})),value:"right"}],nG=[{label:(0,Y.__)("Full Width","essential-blocks"),value:"full_width"},{label:(0,Y.__)("Custom","essential-blocks"),value:"custom"}],oG="inpTxtIndent",rG="inpWidth",cG="inpHeight",lG="txtWidth",iG="txtHeight",sG="inpTxtPadding",bG="inpTxtSpacing",pG="btnWidth",uG="btnHeight",dG="btnPadding",mG="btnMargin",gG="btnBorder",fG="htmlMargin",yG="htmlPadding",vG="inpTxtBorder",hG="secBrkPadding",wG="secBrkMargin",kG="secBrkDescPadding",RG="secBrkDescMargin",_G="successBrd",EG="errorPadding",CG="errorMargin",xG="checkSize",SG="checkBdr",BG="checkRad",TG="radioRad",NG="checkSpace",PG="formWidth",OG="formBorder",MG="formMargin",DG="formPadding",jG="btnPos",IG="label",AG="inpTxt",LG="sectionBreak",FG="sectionBreakDesc",HG="html",zG="subBtn",qG="success",UG="error";function VG(e){return VG="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},VG(e)}function WG(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function GG(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?WG(Object(a),!0).forEach((function(t){ZG(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):WG(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function ZG(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=VG(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=VG(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==VG(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var YG=EBControls,JG=YG.generateTypographyAttributes,QG=YG.generateResponsiveRangeAttributes,XG=YG.generateDimensionsAttributes,$G=YG.generateBorderShadowAttributes;const KG=GG(GG(GG(GG(GG(GG(GG(GG(GG(GG(GG(GG(GG(GG(GG(GG(GG(GG(GG(GG(GG(GG(GG(GG(GG(GG(GG(GG(GG(GG(GG(GG(GG({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},cover:{type:"string",default:""},formActive:{type:"boolean"},formId:{type:"string"},showLabels:{type:"boolean",default:!0},showPlaceholder:{type:"boolean",default:!0},showErrorMessage:{type:"boolean",default:!0},customCheckboxStyle:{type:"boolean",default:!1},labelColor:{type:"string",default:"var(--eb-global-heading-color)"},inputHoverType:{type:"string",default:"normal"},inputBackgroundColor:{type:"string",default:"var(--eb-global-background-color)"},inputFocusBackgroundColor:{type:"string"},inputTextColor:{type:"string",default:"var(--eb-global-text-color)"},placeholderColor:{type:"string",default:"var(--eb-global-text-color)"},sectionBreakContent:{type:"string",default:"center"},sectionBreakColor:{type:"string"},sectionBreakDescColor:{type:"string"},btnWidthType:{type:"string",default:"custom"},btnAlignment:{type:"string",default:"left"},btnBackgroundColor:{type:"string",default:"var(--eb-global-button-background-color)"},btnColor:{type:"string",default:"var(--eb-global-button-text-color)"},btnBackgroundHoverColor:{type:"string",default:"var(--eb-global-tertiary-color)"},btnHoverColor:{type:"string",default:"var(--eb-global-button-text-color)"},btnHoverType:{type:"string",default:"normal"},sectionBreakPosition:{type:"string",default:"center"},successColor:{type:"string"},successBackgroundColor:{type:"string"},checkboxSwitcher:{type:"string",default:"normal"},checkboxColor:{type:"string"},checkboxBorderColor:{type:"string"},checkboxCheckedColor:{type:"string"},formBackgroundColor:{type:"string"},formAlignment:{type:"string",default:"none"},customHtmlPosition:{type:"string",default:"left"},customHtmlColor:{type:"string"}},JG(Object.values(T))),QG(oG)),QG(rG)),QG(cG)),QG(lG)),QG(iG)),QG(bG)),QG(uG)),QG(pG)),QG(xG)),QG(SG,{noUnits:!0,defaultUnit:"px"})),QG(NG)),QG(PG)),QG(jG)),XG(sG)),XG(hG)),XG(wG)),XG(RG)),XG(kG)),XG(yG)),XG(fG)),XG(dG)),XG(mG)),XG(EG)),XG(CG)),XG(BG)),XG(TG)),XG(MG,{top:28,right:0,bottom:28,left:0,isLinked:!1})),XG(DG)),$G(vG)),$G(gG)),$G(_G)),$G(OG));var eZ=EBControls,tZ=eZ.ColorControl,aZ=eZ.ResponsiveRangeController,nZ=eZ.ResponsiveDimensionsControl,oZ=eZ.BorderShadowControl,rZ=eZ.TypographyDropdown,cZ=eZ.AdvancedControls;const lZ=function(e){var t=e.attributes,a=e.setAttributes,n=t.resOption,o=t.showLabels,r=t.showPlaceholder,c=t.showErrorMessage,l=t.labelColor,i=t.inputHoverType,s=t.inputBackgroundColor,b=t.inputTextColor,p=t.inputFocusBackgroundColor,u=t.placeholderColor,d=t.sectionBreakColor,m=t.sectionBreakPosition,g=t.sectionBreakDescColor,f=t.customHtmlPosition,y=t.customHtmlColor,v=t.btnWidthType,h=t.btnAlignment,w=t.btnHoverType,k=t.btnBackgroundColor,R=t.btnColor,_=t.btnBackgroundHoverColor,E=t.btnHoverColor,C=t.successBackgroundColor,x=t.successColor,S=t.errorColor,B=t.customCheckboxStyle,T=t.checkboxSwitcher,N=t.checkboxColor,P=t.checkboxBorderColor,O=t.checkboxCheckedColor,M=t.formBackgroundColor,D=t.formAlignment,j=t.formId,I={setAttributes:a,resOption:n,attributes:t,objAttributes:KG};return React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:(0,Y.__)("General","essential-blocks"),className:"eb-tab general"},{name:"styles",title:(0,Y.__)("Style","essential-blocks"),className:"eb-tab styles"},{name:"advance",title:(0,Y.__)("Advanced","essential-blocks"),className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls "+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Fluent Form","essential-blocks")},React.createElement(X.SelectControl,{label:(0,Y.__)("Select Form","essential-blocks"),value:j,options:(0,Qo.applyFilters)("eb_fluent_form_lists",KW),onChange:function(e){return a({formId:e})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Labels","essential-blocks"),checked:o,onChange:function(e){return a({showLabels:e})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Placeholder","essential-blocks"),checked:r,onChange:function(e){return a({showPlaceholder:e})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Error Message","essential-blocks"),checked:c,onChange:function(e){return a({showErrorMessage:e})}}))),"styles"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Labels","essential-blocks"),initialOpen:!0},React.createElement(React.Fragment,null,React.createElement(tZ,{label:(0,Y.__)("Color","essential-blocks"),color:l,onChange:function(e){return a({labelColor:e})}}),React.createElement(rZ,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:IG,resRequiredProps:I}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Input & Textarea","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(X.BaseControl,null,React.createElement(X.ButtonGroup,null,[{label:(0,Y.__)("NORMAL","essential-blocks"),value:"normal"},{label:(0,Y.__)("FOCUS","essential-blocks"),value:"focus"}].map((function(e,t){var n=e.value,o=e.label;return React.createElement(X.Button,{key:t,isPrimary:i===n,isSecondary:i!==n,onClick:function(){return a({inputHoverType:n})}},o)})))),"normal"===i&&React.createElement(React.Fragment,null,React.createElement(tZ,{label:(0,Y.__)("Background Color","essential-blocks"),color:s,onChange:function(e){return a({inputBackgroundColor:e})}}),React.createElement(tZ,{label:(0,Y.__)("Color","essential-blocks"),color:b,onChange:function(e){return a({inputTextColor:e})}})),"focus"===i&&React.createElement(React.Fragment,null,React.createElement(tZ,{label:(0,Y.__)("Background Color","essential-blocks"),color:p,onChange:function(e){return a({inputFocusBackgroundColor:e})}})),React.createElement(rZ,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:AG,resRequiredProps:I}),React.createElement(X.__experimentalDivider,null),React.createElement(aZ,{baseLabel:(0,Y.__)("Text Indent","essential-blocks"),controlName:oG,resRequiredProps:I,min:0,max:60,step:1}),React.createElement(aZ,{baseLabel:(0,Y.__)("Input Width","essential-blocks"),controlName:rG,resRequiredProps:I,min:0,max:1200,step:1}),React.createElement(aZ,{baseLabel:(0,Y.__)("Input Height","essential-blocks"),controlName:cG,resRequiredProps:I,min:0,max:200,step:1}),React.createElement(aZ,{baseLabel:(0,Y.__)("Textarea Width","essential-blocks"),controlName:lG,resRequiredProps:I,min:0,max:1200,step:1}),React.createElement(aZ,{baseLabel:(0,Y.__)("Textarea Height","essential-blocks"),controlName:iG,resRequiredProps:I,min:0,max:400,step:1}),React.createElement(X.__experimentalDivider,null),React.createElement(nZ,{resRequiredProps:I,controlName:sG,baseLabel:(0,Y.__)("Padding","essential-blocks")}),React.createElement(aZ,{baseLabel:(0,Y.__)("Spacing","essential-blocks"),controlName:bG,resRequiredProps:I,min:0,max:100,step:1})),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Border & Shadow","essential-blocks"))),React.createElement(oZ,{controlName:vG,resRequiredProps:I})),React.createElement(X.PanelBody,{title:(0,Y.__)("Placeholder","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(tZ,{label:(0,Y.__)("Color","essential-blocks"),color:u,onChange:function(e){return a({placeholderColor:e})}}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Radio & Checkbox","essential-blocks"),initialOpen:!1},React.createElement(X.ToggleControl,{label:(0,Y.__)("Custom Style","essential-blocks"),checked:B,onChange:function(e){return a({customCheckboxStyle:e})}}),B&&React.createElement(React.Fragment,null,React.createElement(aZ,{baseLabel:(0,Y.__)("Size","essential-blocks"),controlName:xG,resRequiredProps:I,min:0,max:80,step:1}),React.createElement(X.BaseControl,null,React.createElement(X.ButtonGroup,null,[{label:(0,Y.__)("NORMAL","essential-blocks"),value:"normal"},{label:(0,Y.__)("CHECKED","essential-blocks"),value:"checked"}].map((function(e,t){var n=e.value,o=e.label;return React.createElement(X.Button,{key:t,isPrimary:w===n,isSecondary:w!==n,onClick:function(){return a({checkboxSwitcher:n})}},o)})))),"normal"===T&&React.createElement(React.Fragment,null,React.createElement(tZ,{label:(0,Y.__)("Color","essential-blocks"),color:N,onChange:function(e){return a({checkboxColor:e})}}),React.createElement(aZ,{baseLabel:(0,Y.__)("Border Width","essential-blocks"),controlName:SG,resRequiredProps:I,min:0,max:15,step:1,noUnits:!0}),React.createElement(tZ,{label:(0,Y.__)("Border Color","essential-blocks"),color:P,onChange:function(e){return a({checkboxBorderColor:e})}}),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Checkbox","essential-blocks"))),React.createElement(nZ,{resRequiredProps:I,controlName:BG,baseLabel:(0,Y.__)("Border Radius","essential-blocks")}),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Radio Buttons","essential-blocks"))),React.createElement(nZ,{resRequiredProps:I,controlName:TG,baseLabel:(0,Y.__)("Border Radius","essential-blocks")})),"checked"===T&&React.createElement(tZ,{label:(0,Y.__)("Color","essential-blocks"),color:O,onChange:function(e){return a({checkboxCheckedColor:e})}}),React.createElement(aZ,{baseLabel:(0,Y.__)("Item Spacing","essential-blocks"),controlName:NG,resRequiredProps:I,min:0,max:100,step:1}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Section Break","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(X.BaseControl,{label:(0,Y.__)("Alignment","essential-blocks"),id:"eb-button-group-alignment"},React.createElement(X.ButtonGroup,{id:"eb-button-group-alignment"},eG.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:m===e.value,isSecondary:m!==e.value,onClick:function(){return a({sectionBreakPosition:e.value})}},e.label)})))),React.createElement(X.__experimentalDivider,null),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Label","essential-blocks"))),React.createElement(tZ,{label:(0,Y.__)("Color","essential-blocks"),color:d,onChange:function(e){return a({sectionBreakColor:e})}}),React.createElement(rZ,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:LG,resRequiredProps:I}),React.createElement(nZ,{resRequiredProps:I,controlName:hG,baseLabel:(0,Y.__)("Padding","essential-blocks")}),React.createElement(nZ,{resRequiredProps:I,controlName:wG,baseLabel:(0,Y.__)("Margin","essential-blocks")}),React.createElement(X.__experimentalDivider,null),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Description","essential-blocks"))),React.createElement(tZ,{label:(0,Y.__)("Color","essential-blocks"),color:g,onChange:function(e){return a({sectionBreakDescColor:e})}}),React.createElement(rZ,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:FG,resRequiredProps:I}),React.createElement(nZ,{resRequiredProps:I,controlName:kG,baseLabel:(0,Y.__)("Padding","essential-blocks")}),React.createElement(nZ,{resRequiredProps:I,controlName:RG,baseLabel:(0,Y.__)("Margin","essential-blocks")}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Custom HTML","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(X.BaseControl,{label:(0,Y.__)("Alignment","essential-blocks"),id:"eb-button-group-alignment"},React.createElement(X.ButtonGroup,{id:"eb-button-group-alignment"},eG.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:f===e.value,isSecondary:f!==e.value,onClick:function(){return a({customHtmlPosition:e.value})}},e.label)})))),React.createElement(tZ,{label:(0,Y.__)("Color","essential-blocks"),color:y,onChange:function(e){return a({customHtmlColor:e})}}),React.createElement(rZ,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:HG,resRequiredProps:I}),React.createElement(nZ,{resRequiredProps:I,controlName:yG,baseLabel:(0,Y.__)("Padding","essential-blocks")}),React.createElement(nZ,{resRequiredProps:I,controlName:fG,baseLabel:(0,Y.__)("Margin","essential-blocks")}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Submit","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,"custom"===v&&React.createElement(X.BaseControl,{label:(0,Y.__)("Alignment","essential-blocks"),id:"eb-button-group-alignment"},React.createElement(X.ButtonGroup,{id:"eb-button-group-alignment"},tG.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:h===e.value,isSecondary:h!==e.value,onClick:function(){return a({btnAlignment:e.value})}},e.label)})))),React.createElement(aZ,{baseLabel:(0,Y.__)("Height","essential-blocks"),controlName:uG,resRequiredProps:I,min:0,max:500,step:1}),React.createElement(X.SelectControl,{label:(0,Y.__)("Width","essential-blocks"),value:v,options:nG,onChange:function(e){return a({btnWidthType:e})}}),"custom"===v&&React.createElement(aZ,{baseLabel:(0,Y.__)("Width","essential-blocks"),controlName:pG,resRequiredProps:I,min:0,max:1200,step:1}),React.createElement(rZ,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:zG,resRequiredProps:I}),React.createElement(X.BaseControl,null,React.createElement(X.ButtonGroup,null,[{label:(0,Y.__)("NORMAL","essential-blocks"),value:"normal"},{label:(0,Y.__)("HOVER","essential-blocks"),value:"hover"}].map((function(e,t){var n=e.value,o=e.label;return React.createElement(X.Button,{key:t,isPrimary:w===n,isSecondary:w!==n,onClick:function(){return a({btnHoverType:n})}},o)})))),"normal"===w&&React.createElement(React.Fragment,null,React.createElement(tZ,{label:(0,Y.__)("Background Color","essential-blocks"),color:k,onChange:function(e){return a({btnBackgroundColor:e})}}),React.createElement(tZ,{label:(0,Y.__)("Color","essential-blocks"),color:R,onChange:function(e){return a({btnColor:e})}})),"hover"===w&&React.createElement(React.Fragment,null,React.createElement(tZ,{label:(0,Y.__)("Background Color","essential-blocks"),color:_,onChange:function(e){return a({btnBackgroundHoverColor:e})}}),React.createElement(tZ,{label:(0,Y.__)("Color","essential-blocks"),color:E,onChange:function(e){return a({btnHoverColor:e})}})),React.createElement(X.__experimentalDivider,null),React.createElement(nZ,{resRequiredProps:I,controlName:dG,baseLabel:(0,Y.__)("Padding","essential-blocks")}),React.createElement(nZ,{resRequiredProps:I,controlName:mG,baseLabel:(0,Y.__)("Margin","essential-blocks")}),React.createElement(aZ,{baseLabel:(0,Y.__)("Button Position","essential-blocks"),controlName:jG,resRequiredProps:I,min:-1e3,max:1e3,step:1}),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Border & Shadow","essential-blocks"))),React.createElement(oZ,{controlName:gG,resRequiredProps:I}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Success Message","essential-blocks"),initialOpen:!1},React.createElement(tZ,{label:(0,Y.__)("Background Color","essential-blocks"),color:C,onChange:function(e){return a({successBackgroundColor:e})}}),React.createElement(tZ,{label:(0,Y.__)("Color","essential-blocks"),color:x,onChange:function(e){return a({successColor:e})}}),React.createElement(rZ,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:qG,resRequiredProps:I}),React.createElement(oZ,{controlName:_G,resRequiredProps:I,noShadow:!0})),c&&React.createElement(X.PanelBody,{title:(0,Y.__)("Error Message","essential-blocks"),initialOpen:!1},React.createElement(tZ,{label:(0,Y.__)("Color","essential-blocks"),color:S,onChange:function(e){return a({errorColor:e})}}),React.createElement(rZ,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:UG,resRequiredProps:I}),React.createElement(nZ,{resRequiredProps:I,controlName:EG,baseLabel:(0,Y.__)("Padding","essential-blocks")}),React.createElement(nZ,{resRequiredProps:I,controlName:CG,baseLabel:(0,Y.__)("Margin","essential-blocks")}))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,null,React.createElement(React.Fragment,null,React.createElement(tZ,{label:(0,Y.__)("Background Color","essential-blocks"),color:M,onChange:function(e){return a({formBackgroundColor:e})}}),React.createElement(X.BaseControl,{label:(0,Y.__)("Alignment","essential-blocks"),id:"eb-button-group-alignment"},React.createElement(X.ButtonGroup,{id:"eb-button-group-alignment"},aG.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:D===e.value,isSecondary:D!==e.value,onClick:function(){return a({formAlignment:e.value})}},e.label)})))),React.createElement(aZ,{baseLabel:(0,Y.__)("Form Max Width","essential-blocks"),controlName:PG,resRequiredProps:I,min:0,max:1500,step:1}),React.createElement(nZ,{resRequiredProps:I,controlName:DG,baseLabel:(0,Y.__)("Padding","essential-blocks")}),React.createElement(nZ,{resRequiredProps:I,controlName:MG,baseLabel:(0,Y.__)("Margin","essential-blocks")}),React.createElement(X.__experimentalDivider,null),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Border & Shadow","essential-blocks"))),React.createElement(oZ,{controlName:OG,resRequiredProps:I}))),React.createElement(cZ,{attributes:t,setAttributes:a})))}))))};var iZ=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"66",height:"70",fill:"none",viewBox:"0 0 66 70"},React.createElement("path",{fill:"#6C3BFF",d:"M46.161 30H12.84c-1.15 0-1.839.91-1.839 1.818v11.364c0 1.136.92 1.818 1.838 1.818h33.323c1.15 0 1.839-.91 1.839-1.818V31.818C48 30.91 47.31 30 46.161 30zm0 13.41H12.84V32.045H46.16v11.363z"}),React.createElement("path",{fill:"#6C3BFF",d:"M58.087 6H7.913C5.61 6 4 7.841 4 9.913v50.174C4 62.39 5.841 64 7.913 64h50.174C60.39 64 62 62.159 62 60.087V9.913C62 7.61 60.159 6 58.087 6zM6.071 13.595V9.913c0-.92.921-1.842 1.842-1.842h50.174c.92 0 1.842.921 1.842 1.842v3.682H6.07zm0 2.072H59.93v44.19c0 .92-.921 1.841-1.842 1.841H7.913c-.92 0-1.842-.92-1.842-1.84V15.666z"}),React.createElement("path",{fill:"#6C3BFF",d:"M9.929 10H9.07C8.43 10 8 10.4 8 11s.429 1 1.071 1h.858C10.57 12 11 11.6 11 11s-.429-1-1.071-1zM14.929 10h-.858C13.43 10 13 10.4 13 11s.429 1 1.071 1h.858C15.57 12 16 11.6 16 11s-.429-1-1.071-1zM19.571 10H18.43C17.57 10 17 10.4 17 11s.571 1 1.429 1h1.142C20.43 12 21 11.6 21 11s-.571-1-1.429-1zM12.154 24h33.692C46.54 24 47 23.6 47 23s-.462-1-1.154-1H12.154C11.46 22 11 22.4 11 23s.692 1 1.154 1zM22.929 53H13.07C12.43 53 12 53.4 12 54s.429 1 1.071 1h9.858C23.57 55 24 54.6 24 54s-.429-1-1.071-1z"}))},sZ=EBControls,bZ=sZ.softMinifyCssStrings,pZ=sZ.generateDimensionsControlStyles,uZ=sZ.generateBorderShadowStyles,dZ=sZ.generateTypographyStyles,mZ=sZ.generateResponsiveRangeStyles,gZ=sZ.StyleComponent;function fZ(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=(t.blockMeta,t.resOption,t.formActive,t.formId,t.labelColor),c=t.inputBackgroundColor,l=t.inputTextColor,i=t.inputFocusBackgroundColor,s=t.placeholderColor,b=t.sectionBreakColor,p=t.sectionBreakDescColor,u=t.sectionBreakPosition,d=t.customHtmlColor,m=t.customHtmlPosition,g=t.btnAlignment,f=t.btnWidthType,y=t.btnBackgroundColor,v=t.btnColor,h=t.btnBackgroundHoverColor,w=t.btnHoverColor,k=t.successBackgroundColor,R=t.successColor,_=t.errorColor,E=(t.customCheckboxStyle,t.checkboxColor),C=t.checkboxBorderColor,x=t.checkboxCheckedColor,S=t.formBackgroundColor,B=(t.formAlignment,t.showLabels,t.showPlaceholder,t.showErrorMessage),T=(t.classHook,t.cover,dZ({attributes:t,prefixConstant:IG})),N=T.typoStylesDesktop,P=T.typoStylesTab,O=T.typoStylesMobile,M=dZ({attributes:t,prefixConstant:AG}),D=M.typoStylesDesktop,j=M.typoStylesTab,I=M.typoStylesMobile,A=mZ({controlName:oG,property:"text-indent",attributes:t}),L=A.rangeStylesDesktop,F=A.rangeStylesTab,H=A.rangeStylesMobile,z=mZ({controlName:rG,property:"width",attributes:t}),q=z.rangeStylesDesktop,U=z.rangeStylesTab,V=z.rangeStylesMobile,W=mZ({controlName:cG,property:"height",attributes:t}),G=W.rangeStylesDesktop,Z=W.rangeStylesTab,Y=W.rangeStylesMobile,J=mZ({controlName:lG,property:"width",attributes:t}),Q=J.rangeStylesDesktop,X=J.rangeStylesTab,$=J.rangeStylesMobile,K=mZ({controlName:iG,property:"height",attributes:t}),ee=K.rangeStylesDesktop,te=K.rangeStylesTab,ae=K.rangeStylesMobile,ne=pZ({controlName:sG,styleFor:"padding",attributes:t}),oe=ne.dimensionStylesDesktop,re=ne.dimensionStylesTab,ce=ne.dimensionStylesMobile,le=mZ({controlName:bG,property:"margin-bottom",attributes:t}),ie=le.rangeStylesDesktop,se=le.rangeStylesTab,be=le.rangeStylesMobile,pe=uZ({controlName:vG,attributes:t}),ue=pe.styesDesktop,de=pe.styesTab,me=pe.styesMobile,ge=pe.stylesHoverDesktop,fe=pe.stylesHoverTab,ye=pe.stylesHoverMobile,ve=pe.transitionStyle,he=dZ({attributes:t,prefixConstant:LG}),we=he.typoStylesDesktop,ke=he.typoStylesTab,Re=he.typoStylesMobile,_e=pZ({controlName:hG,styleFor:"padding",attributes:t}),Ee=_e.dimensionStylesDesktop,Ce=_e.dimensionStylesTab,xe=_e.dimensionStylesMobile,Se=pZ({controlName:wG,styleFor:"margin",attributes:t}),Be=Se.dimensionStylesDesktop,Te=Se.dimensionStylesTab,Ne=Se.dimensionStylesMobile,Pe=pZ({controlName:yG,styleFor:"padding",attributes:t}),Oe=Pe.dimensionStylesDesktop,Me=(Pe.dimensionStylesTab,Pe.dimensionStylesMobile,pZ({controlName:fG,styleFor:"margin",attributes:t})),De=Me.dimensionStylesDesktop,je=(Me.dimensionStylesTab,Me.dimensionStylesMobile,dZ({attributes:t,prefixConstant:HG})),Ie=je.typoStylesDesktop,Ae=(je.typoStylesTab,je.typoStylesMobile,dZ({attributes:t,prefixConstant:FG})),Le=Ae.typoStylesDesktop,Fe=Ae.typoStylesTab,He=Ae.typoStylesMobile,ze=pZ({controlName:kG,styleFor:"padding",attributes:t}),qe=ze.dimensionStylesDesktop,Ue=ze.dimensionStylesTab,Ve=ze.dimensionStylesMobile,We=pZ({controlName:RG,styleFor:"margin",attributes:t}),Ge=We.dimensionStylesDesktop,Ze=We.dimensionStylesTab,Ye=We.dimensionStylesMobile,Je=mZ({controlName:pG,property:"width",attributes:t}),Qe=Je.rangeStylesDesktop,Xe=Je.rangeStylesTab,$e=Je.rangeStylesMobile,Ke=mZ({controlName:uG,property:"height",attributes:t}),et=Ke.rangeStylesDesktop,tt=Ke.rangeStylesTab,at=Ke.rangeStylesMobile,nt=dZ({attributes:t,prefixConstant:zG}),ot=nt.typoStylesDesktop,rt=nt.typoStylesTab,ct=nt.typoStylesMobile,lt=pZ({controlName:dG,styleFor:"padding",attributes:t}),it=lt.dimensionStylesDesktop,st=lt.dimensionStylesTab,bt=lt.dimensionStylesMobile,pt=pZ({controlName:mG,styleFor:"margin",attributes:t}),ut=pt.dimensionStylesDesktop,dt=pt.dimensionStylesTab,mt=pt.dimensionStylesMobile,gt=mZ({controlName:jG,property:"right",attributes:t}),ft=gt.rangeStylesDesktop,yt=gt.rangeStylesTab,vt=gt.rangeStylesMobile,ht=uZ({controlName:gG,attributes:t}),wt=ht.styesDesktop,kt=ht.styesTab,Rt=ht.styesMobile,_t=ht.stylesHoverDesktop,Et=ht.stylesHoverTab,Ct=ht.stylesHoverMobile,xt=ht.transitionStyle,St=dZ({attributes:t,prefixConstant:qG}),Bt=St.typoStylesDesktop,Tt=St.typoStylesTab,Nt=St.typoStylesMobile,Pt=uZ({controlName:_G,attributes:t,noShadow:!0}),Ot=Pt.styesDesktop,Mt=Pt.styesTab,Dt=Pt.styesMobile,jt=Pt.stylesHoverDesktop,It=Pt.stylesHoverTab,At=Pt.stylesHoverMobile,Lt=Pt.transitionStyle,Ft=dZ({attributes:t,prefixConstant:UG}),Ht=Ft.typoStylesDesktop,zt=Ft.typoStylesTab,qt=Ft.typoStylesMobile,Ut=pZ({controlName:EG,styleFor:"padding",attributes:t}),Vt=Ut.dimensionStylesDesktop,Wt=Ut.dimensionStylesTab,Gt=Ut.dimensionStylesMobile,Zt=pZ({controlName:CG,styleFor:"margin",attributes:t}),Yt=Zt.dimensionStylesDesktop,Jt=Zt.dimensionStylesTab,Qt=Zt.dimensionStylesMobile,Xt=mZ({controlName:xG,property:"width",attributes:t}),$t=Xt.rangeStylesDesktop,Kt=Xt.rangeStylesTab,ea=Xt.rangeStylesMobile,ta=mZ({controlName:xG,property:"height",attributes:t}),aa=ta.rangeStylesDesktop,na=ta.rangeStylesTab,oa=ta.rangeStylesMobile,ra=mZ({controlName:SG,property:"border-width",attributes:t,customUnit:"px"}),ca=ra.rangeStylesDesktop,la=ra.rangeStylesTab,ia=ra.rangeStylesMobile,sa=pZ({controlName:BG,styleFor:"border-radius",attributes:t}),ba=sa.dimensionStylesDesktop,pa=sa.dimensionStylesTab,ua=sa.dimensionStylesMobile,da=pZ({controlName:TG,styleFor:"border-radius",attributes:t}),ma=da.dimensionStylesDesktop,ga=da.dimensionStylesTab,fa=da.dimensionStylesMobile,ya=mZ({controlName:NG,property:"margin-bottom",attributes:t}),va=ya.rangeStylesDesktop,ha=ya.rangeStylesTab,wa=ya.rangeStylesMobile,ka=mZ({controlName:PG,property:"width",attributes:t}),Ra=ka.rangeStylesDesktop,_a=ka.rangeStylesTab,Ea=ka.rangeStylesMobile,Ca=pZ({controlName:DG,styleFor:"padding",attributes:t}),xa=Ca.dimensionStylesDesktop,Sa=Ca.dimensionStylesTab,Ba=Ca.dimensionStylesMobile,Ta=pZ({controlName:MG,styleFor:"margin",attributes:t}),Na=Ta.dimensionStylesDesktop,Pa=Ta.dimensionStylesTab,Oa=Ta.dimensionStylesMobile,Ma=uZ({controlName:OG,attributes:t}),Da=Ma.styesDesktop,ja=Ma.styesTab,Ia=Ma.styesMobile,Aa=Ma.stylesHoverDesktop,La=Ma.stylesHoverTab,Fa=Ma.stylesHoverMobile,Ha=Ma.transitionStyle,za="\n\n\t\t.".concat(o,".eb-fluent-form-wrapper {\n\t\t\t").concat(S?"background: ".concat(S,";"):"","\n\t\t\t").concat(Ra,"\n\t\t\t").concat(xa,"\n\t\t\t").concat(Na,"\n\t\t\t").concat(Da,"\n\t\t\ttransition: ").concat(Ha,";\n            box-sizing: border-box;\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper:hover {\n\t\t\t").concat(Aa,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-el-group label {\n\t\t\t").concat(N,"\n\t\t\t").concat(r?"color: ".concat(r,";"):"","\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), .").concat(o,".eb-fluent-form-wrapper .ff-el-group textarea, .").concat(o,".eb-fluent-form-wrapper .ff-el-group select {\n\t\t\t").concat(D,"\n\t\t\t").concat(L||"","\n\t\t\t").concat(oe,"\n\t\t\t").concat(ue,"\n\t\t\t").concat(c?"background-color: ".concat(c,";"):"","\n\t\t\t").concat(l?"color: ".concat(l,";"):"","\n\t\t\ttransition: ").concat(ve,";\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]):hover,\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-el-group textarea:hover,\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-el-group select:hover {\n\t\t\t").concat(ge,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file])::focus, .").concat(o,".eb-fluent-form-wrapper .ff-el-group textarea::focus {\n\t\t\t").concat(i?"background-color: ".concat(i,";"):"","\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), .").concat(o,".eb-fluent-form-wrapper .ff-el-group select.ff-el-form-control {\n\t\t\t").concat(q||"","\n\t\t\t").concat(G||"","\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-el-group textarea {\n\t\t\t").concat(Q||"","\n\t\t\t").concat(ee||"","\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-el-group {\n\t\t\t").concat(ie||"","\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-el-group input::-webkit-input-placeholder, .").concat(o,".eb-fluent-form-wrapper .ff-el-group textarea::-webkit-input-placeholder {\n\t\t\t").concat(s?"color: ".concat(s,";"):"","\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-el-section-break, .").concat(o,".eb-fluent-form-wrapper .ff-el-section-break hr {\n\t\t\ttext-align: ").concat(u,";\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-el-section-break .ff-el-section-title{\n\t\t\t").concat(we,"\n\t\t\t").concat(Ee,"\n\t\t\t").concat(Be,"\n\t\t\t").concat(b?"color: ".concat(b,";"):"","\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-el-section-break div {\n\t\t\t").concat(Le,"\n\t\t\t").concat(qe,"\n\t\t\t").concat(Ge,"\n\t\t\t").concat(p?"color: ".concat(p,";"):"","\n\t\t}\n\t\t").concat("custom"===f?".".concat(o,".eb-fluent-form-wrapper .ff_submit_btn_wrapper.ff-text-left,\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff_submit_btn_wrapper.ff-text-center,\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff_submit_btn_wrapper.ff-text-right {\n\t\t\ttext-align: ").concat(g,";\n\t\t}\n\t\t"):"","\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff_submit_btn_wrapper .ff-btn-submit {\n\t\t\t").concat("custom"===f?Qe:"width: 100%;","\n\t\t\t").concat(0!=et.length?et:"height: auto;","\n\t\t\t").concat(ot,"\n\t\t\t").concat(it,"\n\t\t\t").concat(ut,"\n\t\t\t").concat(wt,"\n\t\t\t").concat(y?"background-color: ".concat(y,";"):"","\n\t\t\t").concat(v?"color: ".concat(v,";"):"","\n\t\t\ttransition: all 0.5s, ").concat(xt,";\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff_submit_btn_wrapper .ff-btn-submit:hover {\n\t\t\t").concat(_t,"\n\t\t\t").concat(h?"background-color: ".concat(h,";"):"","\n\t\t\t").concat(w?"color: ".concat(w,";"):"","\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-message-success {\n\t\t\t").concat(k?"background-color: ".concat(k,";"):"","\n\t\t\t").concat(R?"color: ".concat(R,";"):"","\n\t\t\t").concat(Bt,"\n\t\t\t").concat(Ot,"\n\t\t\ttransition: ").concat(Lt,";\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-message-success:hover {\n\t\t\t").concat(jt,"\n\t\t}\n\n\t\t").concat(B?"\n\t\t.".concat(o,".eb-fluent-form-wrapper .error.text-danger {\n\t\t\t").concat(Ht,"\n\t\t\t").concat(Vt,"\n\t\t\t").concat(Yt,"\n\t\t\t").concat(_?"color: ".concat(_,";"):"","\n\t\t}\n\t\t"):"","\n\n\t\t.").concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox .ff-el-input--content input[type="checkbox"], .').concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox .ff-el-input--content input[type="radio"] {\n\t\t\tappearance: none;\n\t\t\tposition: relative;\n\t\t\t').concat(E?"background: ".concat(E,";"):"","\n\t\t\t").concat(C?"border-color:".concat(C,";"):"","\n\t\t\t").concat($t,"\n\t\t\t").concat(aa,"\n\t\t\t").concat(ca,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox .ff-el-form-check:not(:last-child) {\n\t\t\t").concat(va,"\n\t\t}\n\n\t\t.").concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox input[type="checkbox"], .').concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox input[type="checkbox"]:before {\n\t\t\t').concat(ba,"\n\t\t}\n\n\t\t.").concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox input[type="radio"], .').concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox input[type="radio"]:before {\n\t\t\t').concat(ma,"\n\t\t}\n\n\t\t.").concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox input[type="checkbox"]:checked:before, .').concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox input[type="radio"]:checked:before {\n\t\t\tposition: absolute;\n\t\t\ttop: 50%;\n\t\t\tleft: 50%;\n\t\t\ttransform: translate(-50%,-50%);\n\t\t\tdisplay: block;\n\t\t\tmargin: 0;\n\t\t\t').concat(x?"background: ".concat(x,";"):"","\n\t\t\twidth: calc(").concat($t.replace(/\D/g,""),"px - ").concat(ca.replace(/\D/g,""),"px*2);\n\t\t\theight: calc(").concat(aa.replace(/\D/g,""),"px - ").concat(ca.replace(/\D/g,""),"px*2);\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper.eb-fluentform-alignment-center {\n\t\t\tmargin: 0 auto;\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper.eb-fluentform-alignment-right {\n\t\t\tmargin: 0 0 0 auto;\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper.eb-fluentform-hide-labels .ff-el-group label:not(.ff-el-form-check-label),\n\t\t.").concat(o,".eb-fluent-form-wrapper.eb-fluentform-hide-labels .ff-el-group .ff-el-input--label,\n\t\t.").concat(o,".eb-fluent-form-wrapper.eb-fluentform-hide-errormessage .error.text-danger {\n\t\t\tdisplay: none;\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper.eb-fluentform-hide-placeholder input::-webkit-input-placeholder,\n\t\t.").concat(o,".eb-fluent-form-wrapper.eb-fluentform-hide-placeholder textarea::-webkit-input-placeholder {\n\t\topacity: 0;\n\t\tvisibility: hidden;\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper.eb-fluentform-hide-placeholder input::-moz-placeholder,\n\t\t.").concat(o,".eb-fluent-form-wrapper.eb-fluentform-hide-placeholder textarea::-moz-placeholder {\n\t\topacity: 0;\n\t\tvisibility: hidden;\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper.eb-fluentform-hide-placeholder input:-ms-input-placeholder,\n\t\t.").concat(o,".eb-fluent-form-wrapper.eb-fluentform-hide-placeholder textarea:-ms-input-placeholder {\n\t\topacity: 0;\n\t\tvisibility: hidden;\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper.eb-fluentform-hide-placeholder input:-moz-placeholder,\n\t\t.").concat(o,".eb-fluent-form-wrapper.eb-fluentform-hide-placeholder textarea:-moz-placeholder {\n\t\topacity: 0;\n\t\tvisibility: hidden;\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper.eb-fluentform-default-subscription input {\n\t\t\tmax-width: unset !important;\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper.eb-fluentform-default-subscription .ff-el-input--content {\n\t\t\tposition: relative;\n\t\t\tz-index: 1;\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper.eb-fluentform-default-subscription .ff-el-group .ff-btn-submit {\n\t\t\t").concat(ft,"\n\t\t\tposition: relative;\n\t\t\tmin-width: inherit;\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-custom_html > * {\n\t\t\t").concat(De,"\n\t\t\t").concat(Oe,"\n\t\t\t").concat(Ie,"\n\t\t\t").concat(d?"color: ".concat(d,";"):"","\n\t\t\t").concat(m?"text-align: ".concat(m,";"):"","\n\t\t}\n\t"),qa="\n\t\t.".concat(o,".eb-fluent-form-wrapper {\n\t\t\t").concat(_a,"\n\t\t\t").concat(Sa,"\n\t\t\t").concat(Pa,"\n\t\t\t").concat(ja,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper:hover {\n\t\t\t").concat(La,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper:hover {\n\t\t\t").concat(La,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-el-group label {\n\t\t\t").concat(P,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), .").concat(o,".eb-fluent-form-wrapper .ff-el-group textarea, .").concat(o,".eb-fluent-form-wrapper .ff-el-group select.ff-el-form-control {\n\t\t\t").concat(j,"\n\t\t\t").concat(F,"\n\t\t\t").concat(re,"\n\t\t\t").concat(de,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]):hover, .").concat(o,".eb-fluent-form-wrapper .ff-el-group textarea:hover, .").concat(o,".eb-fluent-form-wrapper .ff-el-group select.ff-el-form-control:hover {\n\t\t\t").concat(fe,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), .").concat(o,".eb-fluent-form-wrapper .ff-el-group select.ff-el-form-control {\n\t\t\t").concat(U||"","\n\t\t\t").concat(Z||"","\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-el-group textarea {\n\t\t\t").concat(X||"","\n\t\t\t").concat(te||"","\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-el-group {\n\t\t\t").concat(se||"","\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-el-section-break .ff-el-section-title{\n\t\t\t").concat(ke,"\n\t\t\t").concat(Ce,"\n\t\t\t").concat(Te,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-el-section-break div {\n\t\t\t").concat(Fe,"\n\t\t\t").concat(Ue,"\n\t\t\t").concat(Ze,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff_submit_btn_wrapper .ff-btn-submit {\n\t\t\t").concat("custom"===f?Xe:"","\n\t\t\t").concat(tt,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff_submit_btn_wrapper .ff-btn-submit {\n\t\t\t").concat(rt,"\n\t\t\t").concat(st,"\n\t\t\t").concat(dt,"\n\t\t\t").concat(kt,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff_submit_btn_wrapper:hover .ff-btn-submit {\n\t\t\t").concat(Et,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-message-success {\n\t\t\t").concat(Tt,"\n\t\t\t").concat(Mt,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-message-success:hover {\n\t\t\t").concat(It,"\n\t\t}\n\n\t\t").concat(B?"\n\t\t.".concat(o,".eb-fluent-form-wrapper .error.text-danger {\n\t\t\t").concat(zt,"\n\t\t\t").concat(Wt,"\n\t\t\t").concat(Jt,"\n\t\t}\n\t\t"):"","\n\n\t\t.").concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox .ff-el-input--content input[type="checkbox"], .').concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox .ff-el-input--content input[type="radio"] {\n\t\t\t').concat(Kt,"\n\t\t\t").concat(na,"\n\t\t\t").concat(la,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox .ff-el-form-check:not(:last-child) {\n\t\t\t").concat(ha,"\n\t\t}\n\n\t\t.").concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox input[type="checkbox"], .').concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox input[type="checkbox"]:before {\n\t\t\t').concat(pa,"\n\t\t}\n\n\t\t.").concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox input[type="radio"], .').concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox input[type="radio"]:before {\n\t\t\t').concat(ga,"\n\t\t}\n\n\t\t.").concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox input[type="checkbox"]:checked:before, .').concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox input[type="radio"]:checked:before {\n\t\t\twidth: calc(').concat(Kt.replace(/\D/g,""),"px - ").concat(la.replace(/\D/g,""),"px*2);\n\t\t\theight: calc(").concat(na.replace(/\D/g,""),"px - ").concat(la.replace(/\D/g,""),"px*2);\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper {\n\t\t\t").concat(S?"background: ".concat(S,";"):"","\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper.eb-fluentform-default-subscription .ff-el-group .ff-btn-submit {\n\t\t\t").concat(yt,"\n\t\t}\n\t"),Ua="\n\t\t.".concat(o,".eb-fluent-form-wrapper {\n\t\t\t").concat(Ea,"\n\t\t\t").concat(Ba,"\n\t\t\t").concat(Oa,"\n\t\t\t").concat(Ia,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper:hover {\n\t\t\t").concat(Fa,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-el-group label {\n\t\t\t").concat(O,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), .").concat(o,".eb-fluent-form-wrapper .ff-el-group textarea, .").concat(o,".eb-fluent-form-wrapper .ff-el-group select.ff-el-form-control {\n\t\t\t").concat(I,"\n\t\t\t").concat(H,"\n\t\t\t").concat(ce,"\n\t\t\t").concat(me,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]):hover, .").concat(o,".eb-fluent-form-wrapper .ff-el-group textarea:hover, .").concat(o,".eb-fluent-form-wrapper .ff-el-group select.ff-el-form-control:hover {\n\t\t\t").concat(ye,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), .").concat(o,".eb-fluent-form-wrapper .ff-el-group select.ff-el-form-control {\n\t\t\t").concat(V||"","\n\t\t\t").concat(Y||"","\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-el-group textarea {\n\t\t\t").concat($||"","\n\t\t\t").concat(ae||"","\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-el-group {\n\t\t\t").concat(be||"","\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-el-section-break .ff-el-section-title{\n\t\t\t").concat(Re,"\n\t\t\t").concat(xe,"\n\t\t\t").concat(Ne,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-el-section-break div {\n\t\t\t").concat(He,"\n\t\t\t").concat(Ve,"\n\t\t\t").concat(Ye,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff_submit_btn_wrapper .ff-btn-submit {\n\t\t\t").concat("custom"===f?$e:"","\n\t\t\t").concat(at,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff_submit_btn_wrapper .ff-btn-submit {\n\t\t\t").concat(ct,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff_submit_btn_wrapper .ff-btn-submit {\n\t\t\t").concat(ct,"\n\t\t\t").concat(bt,"\n\t\t\t").concat(mt,"\n\t\t\t").concat(Rt,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff_submit_btn_wrapper:hover .ff-btn-submit {\n\t\t\t").concat(Ct,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-message-success {\n\t\t\t").concat(Nt,"\n\t\t\t").concat(Dt,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-message-success:hover {\n\t\t\t").concat(At,"\n\t\t}\n\n\t\t").concat(B?"\n\t\t.".concat(o,".eb-fluent-form-wrapper .error.text-danger {\n\t\t\t").concat(qt,"\n\t\t\t").concat(Gt,"\n\t\t\t").concat(Qt,"\n\t\t}\n\t\t"):"","\n\n\t\t.").concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox .ff-el-input--content input[type="checkbox"], .').concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox .ff-el-input--content input[type="radio"] {\n\t\t\t').concat(ea,"\n\t\t\t").concat(oa,"\n\t\t\t").concat(ia,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox .ff-el-form-check:not(:last-child) {\n\t\t\t").concat(wa,"\n\t\t}\n\n\t\t.").concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox input[type="checkbox"], .').concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox input[type="checkbox"]:before {\n\t\t\t').concat(ua,"\n\t\t}\n\n\t\t.").concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox input[type="radio"], .').concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox input[type="radio"]:before {\n\t\t\t').concat(fa,"\n\t\t}\n\n\t\t.").concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox input[type="checkbox"]:checked:before, .').concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox input[type="radio"]:checked:before {\n\t\t\twidth: calc(').concat(ea.replace(/\D/g,""),"px - ").concat(ia.replace(/\D/g,""),"px*2);\n\t\t\theight: calc(").concat(oa.replace(/\D/g,""),"px - ").concat(ia.replace(/\D/g,""),"px*2);\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper.eb-fluentform-default-subscription .ff-el-group .ff-btn-submit {\n\t\t\t").concat(vt,"\n\t\t}\n\t"),Va=bZ("\n\t\t".concat(za,"\n\t")),Wa=bZ("\n\t\t".concat(qa,"\n\t")),Ga=bZ("\n\t\t".concat(Ua,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(gZ,{attributes:t,setAttributes:a,desktopAllStyles:Va,tabAllStyles:Wa,mobileAllStyles:Ga,blockName:n}))}function yZ(e){return yZ="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yZ(e)}function vZ(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function hZ(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?vZ(Object(a),!0).forEach((function(t){wZ(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):vZ(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function wZ(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=yZ(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=yZ(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==yZ(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var kZ=EBControls,RZ=(kZ.duplicateBlockIdFix,kZ.NoticeComponent),_Z=kZ.BlockProps;const EZ=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Fluent Forms","name":"essential-blocks/fluent-forms","category":"essential-blocks","description":"Design your Forms container, fields and choose preferred form layout to style Fluent Forms","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');var CZ;function xZ(e){return xZ="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xZ(e)}function SZ(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function BZ(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=xZ(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=xZ(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==xZ(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var TZ=EZ.name;(0,EBControls.ebConditionalRegisterBlockType)(function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?SZ(Object(a),!0).forEach((function(t){BZ(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):SZ(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}({name:TZ},EZ),{icon:iZ,attributes:KG,keywords:[(0,Y.__)("Fluent Form","essential-blocks"),(0,Y.__)("EB Fluent Form","essential-blocks"),(0,Y.__)("Form","essential-blocks")],edit:function(e){var t,a=e.attributes,n=e.setAttributes,o=(e.className,e.clientId,e.isSelected),r=(e.name,a.blockId),c=(a.blockMeta,a.resOption,a.formId),l=a.customCheckboxStyle,i=a.formAlignment,s=a.showLabels,b=a.showPlaceholder,p=a.showErrorMessage,u=a.classHook,d=a.cover,m=null===(t=EssentialBlocksLocalize)||void 0===t||null===(t=t.get_plugins["fluentform/fluentform.php"])||void 0===t?void 0:t.active,g=hZ(hZ({},e),{},{blockPrefix:"eb-fluent-form",style:React.createElement(fZ,e)}),f=$W&&$W.map((function(e){return{attr:e.attr}})),y=["eb-fluent-form-wrapper"];l&&y.push("eb-fluent-custom-radio-checkbox");var v={left:"eb-fluentform-alignment-left",center:"eb-fluentform-alignment-center",right:"eb-fluentform-alignment-right"};return i in v&&y.push(v[i]),s||y.push("eb-fluentform-hide-labels"),b||y.push("eb-fluentform-hide-placeholder"),p||y.push("eb-fluentform-hide-errormessage"),f&&c in f&&"inline_subscription"===f[c].attr&&y.push("eb-fluentform-default-subscription"),d.length?React.createElement("div",null,React.createElement("img",{src:d,alt:"Fluent Forms",style:{maxWidth:"100%"}})):React.createElement(React.Fragment,null,o&&React.createElement(lZ,{key:"inspector",attributes:a,setAttributes:n}),React.createElement(_Z.Edit,g,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(r," ").concat(u)},React.createElement("div",{className:"".concat(r," ").concat(y.join(" "))},!m&&React.createElement(RZ,{Icon:iZ,title:"Fluent Forms",description:React.createElement(React.Fragment,null,React.createElement("strong",null,"Fluent Form")," is not installed/activated on your site. Please install and activate"," ",React.createElement("a",{href:EssentialBlocksLocalize.eb_admin_url+"plugin-install.php?s=fluentform&tab=search&type=term",target:"_blank"},"Fluent Form")," ","first.")}),m&&!c&&React.createElement(X.Placeholder,{className:"eb-fluent-form-choose-placeholder",label:(0,Y.__)("Fluent Form","essential-blocks")},React.createElement(X.SelectControl,{value:c,options:KW,onChange:function(e){return n({formId:e})}})),m&&c&&React.createElement(XW(),{className:"eb-fluent-form-rendered",block:"fluentfom/guten-block",attributes:{formId:c}})))))},save:function(){return null},example:{attributes:{cover:"".concat(null===(CZ=EssentialBlocksLocalize)||void 0===CZ?void 0:CZ.image_url,"/block-preview/fluent-forms.jpeg")}}});var NZ="titleText",PZ="productPrice",OZ="saleText",MZ="descText",DZ="btnText",jZ="ebwg_load_more",IZ="soldText",AZ="ebwpg_filter_item",LZ=[{label:(0,Y.__)("Grid"),value:"grid"},{label:(0,Y.__)("List"),value:"list"}],FZ=[{label:(0,Y.__)("Top","essential-blocks"),value:"align-top"},{label:(0,Y.__)("Left","essential-blocks"),value:"align-left"},{label:(0,Y.__)("Right","essential-blocks"),value:"align-right"}],HZ=[{label:(0,Y.__)("Left","essential-blocks"),value:"left"},{label:(0,Y.__)("Center","essential-blocks"),value:"center"},{label:(0,Y.__)("Right","essential-blocks"),value:"right"}],zZ=[{label:(0,Y.__)("Star"),value:"star"},{label:(0,Y.__)("Number"),value:"number"}],qZ="ratingIcon",UZ="gridSpace",VZ="columns",WZ="imgGap",GZ="imgWidth",ZZ="imgHeight",YZ="btnBorder",JZ="saleBorder",QZ="imgBorder",XZ="wrpMargin",$Z="wrpPadding",KZ="wrpBackground",eY="contentPadding",tY="imagePadding",aY="titleMargin",nY="priceMargin",oY="ratingMargin",rY="btnMargin",cY="descMargin",lY="loadMorePadding",iY="loadMoreMargin",sY="loadMoreBorderShadow",bY="wrpBorderShadow",pY="productBorderShadow",uY=[{label:"Normal",value:"normal"},{label:"Hover",value:"hover"}],dY=[{label:"Normal",value:"normal"},{label:"Hover",value:"hover"},{label:"Active",value:"active"}],mY=window.EBControls,gY=mY.softMinifyCssStrings,fY=mY.generateTypographyStyles,yY=mY.generateResponsiveRangeStyles,vY=mY.generateDimensionsControlStyles,hY=mY.generateBorderShadowStyles,wY=mY.generateBackgroundControlStyles,kY=mY.StyleComponent;function RY(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=e.isContentEnabled,r=(t.resOption,t.blockId),c=(t.blockMeta,t.layout),l=t.gridPreset,i=t.titleColor,s=t.titleHoverColor,b=t.priceColor,p=t.salePriceColor,u=t.ratingColor,d=t.btnColor,m=t.btnHoverColor,g=t.btnBackgroundColor,f=t.btnBackgroundHoverColor,y=t.saleTextColor,v=t.saleTextBackgroundColor,h=t.contentAlignment,w=t.contentBackgroundColor,k=t.imageBackgroundColor,R=t.imageOverlayColor,_=t.descColor,E=t.autoHeight,C=t.backgroundOverlayColor,x=t.loadMoreOptions,S=(t.classHook,t.loadMoreColor),B=t.loadMoreBgColor,T=t.loadMoreHoverColor,N=t.loadMoreHoverBgColor,P=t.loadMoreActiveColor,O=t.loadMoreActiveBgColor,M=t.enableContents,D="left"===h?"flex-start":"right"===h?"flex-end":"center",j=fY({attributes:t,prefixConstant:NZ}),I=j.typoStylesDesktop,A=j.typoStylesTab,L=j.typoStylesMobile,F=vY({controlName:aY,styleFor:"margin",attributes:t}),H=F.dimensionStylesDesktop,z=F.dimensionStylesTab,q=F.dimensionStylesMobile,U=fY({attributes:t,prefixConstant:PZ}),V=U.typoStylesDesktop,W=U.typoStylesTab,G=U.typoStylesMobile,Z=vY({controlName:nY,styleFor:"margin",attributes:t}),Y=Z.dimensionStylesDesktop,J=Z.dimensionStylesTab,Q=Z.dimensionStylesMobile,X=yY({controlName:qZ,property:"font-size",attributes:t}),$=X.rangeStylesDesktop,K=X.rangeStylesTab,ee=X.rangeStylesMobile,te=vY({controlName:oY,styleFor:"margin",attributes:t}),ae=te.dimensionStylesDesktop,ne=te.dimensionStylesTab,oe=te.dimensionStylesMobile,re=hY({controlName:YZ,attributes:t}),ce=re.styesDesktop,le=re.styesTab,ie=re.styesMobile,se=re.stylesHoverDesktop,be=re.stylesHoverTab,pe=re.stylesHoverMobile,ue=re.transitionStyle,de=vY({controlName:rY,styleFor:"margin",attributes:t}),me=de.dimensionStylesDesktop,ge=de.dimensionStylesTab,fe=de.dimensionStylesMobile,ye=fY({attributes:t,prefixConstant:OZ}),ve=ye.typoStylesDesktop,he=ye.typoStylesTab,we=ye.typoStylesMobile,ke=hY({controlName:JZ,attributes:t}),Re=ke.styesDesktop,_e=ke.styesTab,Ee=ke.styesMobile,Ce=vY({controlName:XZ,styleFor:"margin",attributes:t}),xe=Ce.dimensionStylesDesktop,Se=Ce.dimensionStylesTab,Be=Ce.dimensionStylesMobile,Te=vY({controlName:$Z,styleFor:"padding",attributes:t}),Ne=Te.dimensionStylesDesktop,Pe=Te.dimensionStylesTab,Oe=Te.dimensionStylesMobile,Me=hY({controlName:bY,attributes:t}),De=Me.styesDesktop,je=Me.styesTab,Ie=Me.styesMobile,Ae=Me.stylesHoverDesktop,Le=Me.stylesHoverTab,Fe=Me.stylesHoverMobile,He=Me.transitionStyle,ze=wY({attributes:t,controlName:KZ}),qe=ze.backgroundStylesDesktop,Ue=ze.hoverBackgroundStylesDesktop,Ve=ze.backgroundStylesTab,We=ze.hoverBackgroundStylesTab,Ge=ze.backgroundStylesMobile,Ze=ze.hoverBackgroundStylesMobile,Ye=ze.overlayStylesDesktop,Je=ze.hoverOverlayStylesDesktop,Qe=ze.overlayStylesTab,Xe=ze.hoverOverlayStylesTab,$e=ze.overlayStylesMobile,Ke=ze.hoverOverlayStylesMobile,et=ze.bgTransitionStyle,tt=ze.ovlTransitionStyle,at=vY({controlName:eY,styleFor:"padding",attributes:t}),nt=at.dimensionStylesDesktop,ot=at.dimensionStylesTab,rt=at.dimensionStylesMobile,ct=vY({controlName:tY,styleFor:"padding",attributes:t}),lt=ct.dimensionStylesDesktop,it=ct.dimensionStylesTab,st=ct.dimensionStylesMobile,bt=hY({controlName:pY,attributes:t}),pt=bt.styesDesktop,ut=bt.styesTab,dt=bt.styesMobile,mt=bt.stylesHoverDesktop,gt=bt.stylesHoverTab,ft=bt.stylesHoverMobile,yt=bt.transitionStyle,vt=yY({controlName:UZ,property:"",attributes:t}),ht=vt.rangeStylesDesktop,wt=vt.rangeStylesTab,kt=vt.rangeStylesMobile,Rt=yY({controlName:VZ,property:"",attributes:t}),_t=Rt.rangeStylesDesktop,Et=Rt.rangeStylesTab,Ct=Rt.rangeStylesMobile,xt=fY({attributes:t,prefixConstant:MZ}),St=xt.typoStylesDesktop,Bt=xt.typoStylesTab,Tt=xt.typoStylesMobile,Nt=vY({controlName:cY,styleFor:"margin",attributes:t}),Pt=Nt.dimensionStylesDesktop,Ot=Nt.dimensionStylesTab,Mt=Nt.dimensionStylesMobile,Dt=yY({controlName:WZ,property:"margin-right",attributes:t}),jt=Dt.rangeStylesDesktop,It=Dt.rangeStylesTab,At=Dt.rangeStylesMobile,Lt=yY({controlName:ZZ,property:"height",attributes:t}),Ft=Lt.rangeStylesDesktop,Ht=Lt.rangeStylesTab,zt=Lt.rangeStylesMobile,qt=yY({controlName:GZ,property:"width",attributes:t}),Ut=qt.rangeStylesDesktop,Vt=qt.rangeStylesTab,Wt=qt.rangeStylesMobile,Gt=fY({attributes:t,prefixConstant:DZ}),Zt=Gt.typoStylesDesktop,Yt=Gt.typoStylesTab,Jt=Gt.typoStylesMobile,Qt=hY({controlName:QZ,attributes:t}),Xt=Qt.styesDesktop,$t=Qt.styesTab,Kt=Qt.styesMobile,ea=Qt.stylesHoverDesktop,ta=Qt.stylesHoverTab,aa=Qt.stylesHoverMobile,na=Qt.transitionStyle,oa=vY({controlName:lY,styleFor:"padding",attributes:t}),ra=oa.dimensionStylesDesktop,ca=oa.dimensionStylesTab,la=oa.dimensionStylesMobile,ia=vY({controlName:iY,styleFor:"margin",attributes:t}),sa=ia.dimensionStylesDesktop,ba=ia.dimensionStylesTab,pa=ia.dimensionStylesMobile,ua=fY({attributes:t,prefixConstant:jZ,defaultFontSize:14}),da=ua.typoStylesDesktop,ma=ua.typoStylesTab,ga=ua.typoStylesMobile,fa=hY({controlName:sY,attributes:t,noShadow:!0}),ya=fa.styesDesktop,va=fa.styesTab,ha=fa.styesMobile,wa=fa.stylesHoverDesktop,ka=fa.stylesHoverTab,Ra=fa.stylesHoverMobile,_a=fa.transitionStyle,Ea="\n\t\t.eb-woo-products-wrapper.".concat(r," {\n\t\t\t").concat(xe,"\n\t\t\t").concat(Ne,"\n\t\t\t").concat(De,"\n\t\t\t").concat(qe,"\n\t\t\t").concat(De.trim().length>0?"overflow: hidden;":"","\n\t\t\ttransition: ").concat(He,", ").concat(et,";\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r,":hover {\n\t\t\t").concat(Ae,"\n\t\t\t").concat(Ue,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r,":before{\n\t\t\t").concat(Ye,"\n\t\t\ttransition:").concat(tt,";\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r,":hover:before{\n\t\t\t").concat(Je,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-content-wrapper .eb-woo-product-content {\n\t\t\t").concat(nt,"\n\t\t\talign-items: ").concat(D,";\n\t\t\ttext-align: ").concat(h,";\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col,\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col {\n\t\t\tflex: 0 0 ").concat(100/_t.replace(/\D/g,""),"%;\n\t\t\tmax-width: ").concat(100/_t.replace(/\D/g,""),"%;\n\t\t}\n\n        .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title {\n            ").concat(o("title")?"order: ".concat(M.indexOf("title")+1,";"):"","\n        }\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title,\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title a {\n\t\t\t").concat(I,"\n\t\t\t").concat(H,"\n\t\t\t").concat(i?"color: ".concat(i,";"):"","\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title:hover,\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title:hover a {\n\t\t\t").concat(s?"color: ".concat(s,";"):"","\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product-content-wrapper .eb-woo-product-content .eb-woo-product-price {\n            ").concat(o("price")?"order: ".concat(M.indexOf("price")+1,";"):"","\n\t\t\t").concat(V,"\n\t\t\t").concat(Y,"\n\t\t\t").concat(b?"color: ".concat(b,";"):"","\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-price ins {\n\t\t\t").concat(p?"color: ".concat(p,";"):"","\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product-content-wrapper .eb-woo-product-content .eb-woo-product-rating-wrapper {\n            ").concat(o("rating")?"order: ".concat(M.indexOf("rating")+1,";"):"","\n\t\t\t").concat(ae,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product-content-wrapper .eb-woo-product-content .eb-woo-product-rating-wrapper .eb-woo-product-rating {\n\t\t\t").concat($,"\n\t\t\t").concat(u?"color: ".concat(u,";"):"","\n\t\t}\n\n        .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.list-preset-1 .eb-woo-product .eb-woo-product-button-list {\n            ").concat(o("button")?"order: ".concat(M.indexOf("button")+1,";"):"","\n        }\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button,.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.added_to_cart, .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.button, .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.added_to_cart {\n\t\t\t").concat(ce,"\n\t\t\t").concat(me,"\n\t\t\t").concat(Zt,"\n\t\t\t").concat(d?"color: ".concat(d,";"):"","\n\t\t\t").concat(g?"background: ".concat(g,";"):"","\n\t\t\ttransition: all 0.3s, ").concat(ue,";\n\t\t}\n\t\t").concat("grid-preset-3"!==l?".eb-woo-products-wrapper.".concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button:hover,.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.added_to_cart:hover, .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product  .eb-woo-product-button-list a.button:hover,.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product  .eb-woo-product-button-list a.added_to_cart:hover {\n\t\t\t").concat(se,"\n\t\t\t").concat(m?"color: ".concat(m,";"):"","\n\t\t\t").concat(f?"background: ".concat(f,";"):"","\n\t\t}"):"","\n\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.grid-preset-3 .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button:hover, .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.grid-preset-3 .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.added_to_cart:hover {\n\t\t\t").concat(se,"\n\t\t\t").concat(m?"color: ".concat(m,";"):"","\n\t\t\t").concat(f?"background: ".concat(f,";"):"","\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image .eb-woo-product-ribbon {\n\t\t\t").concat(ve,"\n\t\t\t").concat(Re,"\n\t\t\t").concat(y?"color: ".concat(y,";"):"","\n\t\t\t").concat(v?"background: ".concat(v,";"):"","\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-content-wrapper,\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.list-preset-1 .eb-woo-product .eb-woo-product-content-wrapper {\n\t\t\t").concat(w?"background: ".concat(w,";"):"","\n\t\t}\n\n\t\t").concat(C?"\n\t\t.eb-woo-products-wrapper.".concat(r," .eb-woo-products-gallery.grid-preset-3 .eb-woo-product .eb-woo-product-content-wrapper {\n\t\t\tbackground: ").concat(C,";\n\t\t}"):"","\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image {\n\t\t\t").concat(k?"background-color: ".concat(k,";"):"","\n\t\t\t").concat(lt,"\n\t\t\t").concat("grid-preset-3"!==l?Xt:"","\n\t\t\ttransition: ").concat(na,";\n\t\t\toverflow: hidden;\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image:hover {\n\t\t\t").concat("grid-preset-3"!==l?ea:"","\n\t\t}\n\n\t\t").concat("grid"===c&&"grid-preset-3"===l&&".eb-woo-products-wrapper.".concat(r," .eb-woo-products-gallery.grid-preset-3 .eb-woo-product {\n\t\t\t").concat(Xt,"\n\t\t\ttransition: ").concat(na,";\n\t\t\toverflow: hidden;\n\t\t}\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.grid-preset-3 .eb-woo-product:hover {\n\t\t\t").concat(ea,"\n\t\t}"),"\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image a:after {\n\t\t\tbackground: ").concat(R,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image img {\n\t\t\t").concat(Ut,"\n\t\t\t").concat(E?"height: auto;":Ft,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.list-preset-1 .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image {\n\t\t\t").concat(Ut,"\n\t\t\t").concat(E||""===Ft?"height: 100%;":Ft,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product {\n\t\t\t").concat(pt,"\n\t\t\t").concat(pt.trim().length>0?"overflow: hidden;":"","\n\t\t\ttransition: ").concat(yt,";\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product:hover {\n\t\t\t").concat(mt,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery {\n\t\t\tmargin-left: -").concat(ht.replace(/\D/g,"")/2,"px;\n\t\t\tmargin-right: -").concat(ht.replace(/\D/g,"")/2,"px;\n\t\t\tmargin-bottom: -").concat(ht.replace(/\D/g,""),"px;\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col, .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col {\n\t\t\tpadding-left: ").concat(ht.replace(/\D/g,"")/2,"px;\n\t\t\tpadding-right: ").concat(ht.replace(/\D/g,"")/2,"px;\n\t\t\tmargin-bottom: ").concat(ht.replace(/\D/g,""),"px;\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.list-preset-1 .eb-woo-products-col {\n\t\t\tmargin-bottom: ").concat(ht.replace(/\D/g,""),"px;\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.list-preset-1 .eb-woo-product .eb-woo-product-content-wrapper .eb-woo-product-content .eb-woo-product-details {\n            ").concat(o("description")?"order: ".concat(M.indexOf("description")+1,";"):"","\n\t\t\t").concat(St,"\n\t\t\t").concat(Pt,"\n\t\t\t").concat(_?"color: ".concat(_,";"):"","\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.list-preset-1 .eb-woo-product-image-wrapper {\n\t\t\t").concat(jt,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .ebpg-pagination {\n\t\t\ttext-align: ").concat(x?x.alignment:"center",";\n\t\t}\n\t\t.eb-woo-products-wrapper.").concat(r," .ebpg-pagination button {\n\t\t\tcolor: ").concat(S,";\n\t\t\tbackground-color: ").concat(B,";\n\t\t\t").concat(ra,"\n\t\t\t").concat(sa,"\n\t\t\t").concat(da,"\n\t\t\t").concat(ya,"\n\t\t\ttransition: ").concat(_a,";\n\t\t}\n\t\t.eb-woo-products-wrapper.").concat(r," .ebpg-pagination button:hover {\n\t\t\tcolor: ").concat(T,";\n\t\t\tbackground-color: ").concat(N,";\n\t\t\t").concat(wa,"\n\t\t}\n\t\t.eb-woo-products-wrapper.").concat(r," .ebpg-pagination button.ebpg-pagination-item.active {\n\t\t\tcolor: ").concat(P,";\n\t\t\tbackground-color: ").concat(O,";\n\t\t}\n\t"),Ca="\n\t\t.eb-woo-products-wrapper.".concat(r," {\n\t\t\t").concat(Se,"\n\t\t\t").concat(Pe,"\n\t\t\t").concat(je,"\n\t\t\t").concat(Ve,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r,":hover {\n\t\t\t").concat(Le,"\n\t\t\t").concat(We,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r,":before{\n\t\t\t").concat(Qe,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r,":hover:before{\n\t\t\t").concat(Xe,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .ebpg-pagination button {\n\t\t\t").concat(ca,"\n\t\t\t").concat(ba,"\n\t\t\t").concat(ma,"\n\t\t\t").concat(va,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .ebpg-pagination button:hover {\n\t\t\t").concat(ka,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery {\n\t\t\tmargin-left: -").concat(wt.replace(/\D/g,"")/2,"px;\n\t\t\tmargin-right: -").concat(wt.replace(/\D/g,"")/2,"px;\n\t\t\tmargin-bottom: -").concat(wt.replace(/\D/g,""),"px;\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col,\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col {\n\t\t\tflex: 0 0 ").concat(100/Et.replace(/\D/g,""),"%;\n\t\t\tmax-width: ").concat(100/Et.replace(/\D/g,""),"%;\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title,\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title a {\n\t\t\t").concat(A,"\n\t\t\t").concat(z,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product-content-wrapper .eb-woo-product-content .eb-woo-product-price {\n\t\t\t").concat(W,"\n\t\t\t").concat(J,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-rating-wrapper {\n\t\t\t").concat(ne,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product-content-wrapper .eb-woo-product-content .eb-woo-product-rating-wrapper .eb-woo-product-rating {\n\t\t\t").concat(K,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-content-wrapper .eb-woo-product-content {\n\t\t\t").concat(ot,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button,.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.added_to_cart, .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.button, .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.added_to_cart {\n\t\t\t").concat(le,"\n\t\t\t").concat(ge,"\n\t\t\t").concat(Yt,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button:hover,.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.added_to_cart:hover, .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product  .eb-woo-product-button-list a.button:hover,.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product  .eb-woo-product-button-list a.added_to_cart:hover {\n\t\t\t").concat(be,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image .eb-woo-product-ribbon {\n\t\t\t").concat(_e,"\n\t\t\t").concat(he,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product {\n\t\t\t").concat(ut,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product:hover {\n\t\t\t").concat(gt,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image {\n\t\t\t").concat(it,"\n\t\t\t").concat("grid-preset-3"!==l?$t:"","\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image:hover {\n\t\t\t").concat("grid-preset-3"!==l?ta:"","\n\t\t}\n\n\t\t").concat("grid"===c&&"grid-preset-3"===l&&".eb-woo-products-wrapper.".concat(r," .eb-woo-products-gallery.grid-preset-3 .eb-woo-product {\n\t\t\t").concat($t,"\n\t\t}\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.grid-preset-3 .eb-woo-product:hover {\n\t\t\t").concat(ta,"\n\t\t}"),"\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.list-preset-1 .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image {\n        {\n\t\t\t").concat(Vt,"\n\t\t\t").concat(Ht,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery {\n\t\t\tmargin-left: -").concat(wt.replace(/\D/g,"")/2,"px;\n\t\t\tmargin-right: -").concat(wt.replace(/\D/g,"")/2,"px;\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col, .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col {\n\t\t\tpadding-left: ").concat(wt.replace(/\D/g,"")/2,"px;\n\t\t\tpadding-right: ").concat(wt.replace(/\D/g,"")/2,"px;\n\t\t\tmargin-bottom: ").concat(wt.replace(/\D/g,""),"px;\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.list-preset-1 .eb-woo-products-col {\n\t\t\tmargin-bottom: ").concat(wt.replace(/\D/g,""),"px;\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.list-preset-1 .eb-woo-product .eb-woo-product-content-wrapper .eb-woo-product-content .eb-woo-product-details {\n\t\t\t").concat(Bt,"\n\t\t\t").concat(Ot,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.list-preset-1 .eb-woo-product-image-wrapper {\n\t\t\t").concat(It,"\n\t\t}\n\t"),xa="\n\t\t.eb-woo-products-wrapper.".concat(r," {\n\t\t\t").concat(Be,"\n\t\t\t").concat(Oe,"\n\t\t\t").concat(Ie,"\n\t\t\t").concat(Ge,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r,":hover {\n\t\t\t").concat(Fe,"\n\t\t\t").concat(Ze,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r,":before{\n\t\t\t").concat($e,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r,":hover:before{\n\t\t\t").concat(Ke,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .ebpg-pagination button {\n\t\t\t").concat(la,"\n\t\t\t").concat(pa,"\n\t\t\t").concat(ga,"\n\t\t\t").concat(ha,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .ebpg-pagination button:hover {\n\t\t\t").concat(Ra,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery {\n\t\t\tmargin-left: -").concat(kt.replace(/\D/g,"")/2,"px;\n\t\t\tmargin-right: -").concat(kt.replace(/\D/g,"")/2,"px;\n\t\t\tmargin-bottom: -").concat(kt.replace(/\D/g,""),"px;\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col,\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col {\n\t\t\tflex: 0 0 ").concat(100/Ct.replace(/\D/g,""),"%;\n\t\t\tmax-width: ").concat(100/Ct.replace(/\D/g,""),"%;\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title,\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title a {\n\t\t\t").concat(L,"\n\t\t\t").concat(q,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product-content-wrapper .eb-woo-product-content .eb-woo-product-price {\n\t\t\t").concat(G,"\n\t\t\t").concat(Q,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-rating-wrapper {\n\t\t\t").concat(oe,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product-content-wrapper .eb-woo-product-content .eb-woo-product-rating-wrapper .eb-woo-product-rating {\n\t\t\t").concat(ee,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-content-wrapper .eb-woo-product-content {\n\t\t\t").concat(rt,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button,.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.added_to_cart, .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.button, .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.added_to_cart {\n\t\t\t").concat(ie,"\n\t\t\t").concat(fe,"\n\t\t\t").concat(Jt,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button:hover,.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.added_to_cart:hover, .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product  .eb-woo-product-button-list a.button:hover,.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product  .eb-woo-product-button-list a.added_to_cart:hover {\n\t\t\t").concat(pe,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image .eb-woo-product-ribbon {\n\t\t\t").concat(Ee,"\n\t\t\t").concat(we,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product {\n\t\t\t").concat(dt,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product:hover {\n\t\t\t").concat(ft,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image {\n\t\t\t").concat(st,"\n\t\t\t").concat("grid-preset-3"!==l?Kt:"","\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image:hover {\n\t\t\t").concat("grid-preset-3"!==l?aa:"","\n\t\t}\n\n\t\t").concat("grid"===c&&"grid-preset-3"===l&&".eb-woo-products-wrapper.".concat(r," .eb-woo-products-gallery.grid-preset-3 .eb-woo-product {\n\t\t\t").concat(Kt,"\n\t\t}\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.grid-preset-3 .eb-woo-product:hover {\n\t\t\t").concat(aa,"\n\t\t}"),"\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.list-preset-1 .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image {\n\t\t\t").concat(Wt,"\n\t\t\t").concat(zt,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col, .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col {\n\t\t\tpadding-left: ").concat(kt.replace(/\D/g,"")/2,"px;\n\t\t\tpadding-right: ").concat(kt.replace(/\D/g,"")/2,"px;\n\t\t\tmargin-bottom: ").concat(kt.replace(/\D/g,""),"px;\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.list-preset-1 .eb-woo-products-col {\n\t\t\tmargin-bottom: ").concat(kt.replace(/\D/g,""),"px;\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.list-preset-1 .eb-woo-product .eb-woo-product-content-wrapper .eb-woo-product-content .eb-woo-product-details {\n\t\t\t").concat(Tt,"\n\t\t\t").concat(Mt,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.list-preset-1 .eb-woo-product-image-wrapper {\n\t\t\t").concat(At,"\n\t\t}\n\t"),Sa=gY("".concat(Ea)),Ba=gY("".concat(Ca)),Ta=gY("".concat(xa));return React.createElement(React.Fragment,null,React.createElement(kY,{attributes:t,setAttributes:a,desktopAllStyles:Sa,tabAllStyles:Ba,mobileAllStyles:Ta,blockName:n}))}function _Y(e){return _Y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_Y(e)}function EY(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function CY(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?EY(Object(a),!0).forEach((function(t){xY(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):EY(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function xY(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=_Y(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=_Y(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==_Y(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var SY=window.EBControls,BY=SY.generateTypographyAttributes,TY=SY.generateResponsiveRangeAttributes,NY=SY.generateDimensionsAttributes,PY=SY.generateBackgroundAttributes,OY=SY.generateBorderShadowAttributes;const MY=CY(CY(CY(CY(CY(CY(CY(CY(CY(CY(CY(CY(CY(CY(CY(CY(CY(CY(CY(CY(CY(CY(CY(CY(CY(CY(CY(CY(CY(CY(CY({resOption:{type:"string",default:"Desktop"},uniqueIdNumber:{type:"number"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},cover:{type:"string",default:""},queryData:{type:"object"},queryResults:{type:"array"},layout:{type:"string",default:"grid"},gridPreset:{type:"string",default:"grid-preset-1"},gridColumns:{type:"string",default:"4"},showRating:{type:"boolean",default:!0},showPrice:{type:"boolean",default:!0},showSaleBadge:{type:"boolean",default:!0},listPreset:{type:"string",default:"list-preset-1"},titleColor:{type:"string",default:"var(--eb-global-heading-color)"},titleHoverColor:{type:"string",default:"var(--eb-global-link-color)"},priceColor:{type:"string",default:"var(--eb-global-primary-color)"},salePriceColor:{type:"string",default:"var(--eb-global-primary-color)"},ratingColor:{type:"string"},saleBadgeAlign:{type:"string",default:"align-left"},saleText:{type:"string",default:"Sale"},saleTextColor:{type:"string",default:"var(--eb-global-button-text-color)"},saleTextBackgroundColor:{type:"string",default:"var(--eb-global-button-background-color)"},contentAlignment:{type:"string",default:"center"},contentBackgroundColor:{type:"string"},imageBackgroundColor:{type:"string"},btnColor:{type:"string",default:"var(--eb-global-button-text-color)"},btnHoverColor:{type:"string"},btnBackgroundColor:{type:"string",default:"var(--eb-global-button-background-color)"},btnBackgroundHoverColor:{type:"string",default:"var(--eb-global-tertiary-color)"},descColor:{type:"string",default:"var(--eb-global-text-color)"},autoHeight:{type:"boolean",default:!1},backgroundOverlayColor:{type:"string"},isCustomCartBtn:{type:"boolean",default:!1},simpleCartText:{type:"string",default:"Buy Now"},variableCartText:{type:"string",default:"Select options"},groupedCartText:{type:"string",default:"View products"},externalCartText:{type:"string",default:"Buy now"},defaultCartText:{type:"string",default:"Read more"},imageOverlayColor:{type:"string",default:"rgb(0 0 0 / 25%)"},productDescLength:{type:"string",default:"5"},loadMoreOptions:{type:"object"},loadMoreColorType:{type:"string",default:"normal"},loadMoreColor:{type:"string",default:"var(--eb-global-button-text-color)"},loadMoreBgColor:{type:"string",default:"var(--eb-global-button-background-color)"},loadMoreHoverColor:{type:"string",default:"var(--eb-global-button-text-color)"},loadMoreHoverBgColor:{type:"string",default:"var(--eb-global-tertiary-color)"},loadMoreActiveColor:{type:"string",default:"var(--eb-global-button-text-color)"},loadMoreActiveBgColor:{type:"string",default:"var(--eb-global-primary-color)"},ratingStyle:{type:"string",default:"star"},showSoldCount:{type:"boolean",default:!1},showSoldCountBar:{type:"boolean",default:!1},soldCountPrefix:{type:"string",default:"Sold "},soldCountSuffix:{type:"string",default:"+"},stockPercent:{type:"number",default:50},soldCountColor:{type:"string"},progressbarBackgroundColor:{type:"string"},progressbarFillColor:{type:"string"},showTaxonomyFilter:{type:"boolean",default:!1},selectedTaxonomy:{type:"string"},selectedTaxonomyItems:{type:"string",default:'[{"value":"all","label":"All"}]'},filterColorStyle:{type:"stroing",default:"normal"},filterBgColor:{type:"string",default:"var(--eb-global-background-color)"},filterTextColor:{type:"string",default:"var(--eb-global-text-color)"},filterActiveBgColor:{type:"string",default:"var(--eb-global-button-background-color)"},filterActiveTextColor:{type:"string",default:"var(--eb-global-button-text-color)"},filterHoverBgColor:{type:"string",default:"var(--eb-global-primary-color)"},filterHoverTextColor:{type:"string",default:"var(--eb-global-tertiary-color)"},contentLists:{type:"array",default:["rating","title","price","sold_count"]},enableContents:{type:"array",default:["rating","title","price"]}},BY(Object.values(N))),TY(qZ)),TY(WZ,{defaultRange:10})),TY(GZ)),TY(ZZ,{defaultRange:200})),TY(UZ,{defaultRange:15})),TY(VZ,{defaultRange:4})),OY(YZ)),OY(JZ,{noShadow:!0,noBdrHover:!0})),OY(bY,{bdrDefaults:{top:0,bottom:0,right:0,left:0}})),OY(pY)),OY(QZ)),PY(KZ,{defaultBgGradient:"linear-gradient(45deg,#ffffff,#ffffff)"})),NY(XZ)),NY($Z)),NY(eY)),NY(tY)),NY(aY)),NY(oY)),NY(nY)),NY(rY)),NY(cY)),{},{TABcolumnsRange:{type:"number",default:3},TABgridSpaceRange:{type:"number",default:10},MOBcolumnsRange:{type:"number",default:1},MOBgridSpaceRange:{type:"number",default:0}},NY(lY,{top:5,bottom:5,right:10,left:10,isLinked:!1})),NY(iY,{top:10,bottom:10,right:5,left:5,isLinked:!1})),NY("soldMargin")),OY(sY,{noShadow:!0,defaultBdrColor:"#c3c3c3",defaultBdrStyle:"solid",bdrDefaults:{top:1,right:1,bottom:1,left:1},rdsDefaults:{top:4,right:4,bottom:4,left:4}})),TY("filterItemGap",{defaultRange:10})),NY("filterMargin",{top:0,bottom:20,right:0,left:0,isLinked:!1})),NY("filterItmPadding",{top:10,bottom:10,right:20,left:20,isLinked:!1})),OY("filterItmBdrShdw",{defaultBdrColor:"var(--eb-global-primary-color)",defaultBdrStyle:"solid"})),TY("barHeight",{defaultRange:10,noUnits:!0}));function DY(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}var jY=window.EBControls,IY=jY.ResponsiveDimensionsControl,AY=jY.ResponsiveRangeController,LY=jY.TypographyDropdown,FY=jY.ColorControl,HY=jY.BorderShadowControl,zY=jY.BackgroundControl,qY=jY.WoocommerceQuery,UY=jY.MorePosts,VY=jY.AdvancedControls,WY=jY.SortControl;const GY=function(e){var t=e.attributes,a=e.setAttributes,n=e.setQueryResults,o=t.resOption,r=t.queryData,c=t.queryResults,l=t.layout,i=t.gridPreset,s=t.showRating,b=t.showPrice,p=t.showSaleBadge,u=t.listPreset,d=t.titleColor,m=t.titleHoverColor,g=t.priceColor,f=t.salePriceColor,y=t.ratingColor,v=t.btnColor,h=t.btnHoverColor,w=t.btnBackgroundColor,k=t.btnBackgroundHoverColor,R=t.saleBadgeAlign,_=t.saleText,E=t.saleTextColor,C=t.saleTextBackgroundColor,x=t.contentAlignment,S=t.contentBackgroundColor,B=t.imageBackgroundColor,T=t.descColor,N=t.autoHeight,P=t.backgroundOverlayColor,O=t.isCustomCartBtn,M=t.simpleCartText,D=t.variableCartText,j=t.groupedCartText,I=t.externalCartText,A=t.defaultCartText,L=t.imageOverlayColor,F=t.productDescLength,H=t.loadMoreOptions,z=t.loadMoreColorType,q=t.loadMoreColor,U=t.loadMoreBgColor,V=t.loadMoreHoverColor,W=(t.loadMoreHoverBgColor,t.loadMoreActiveColor),G=t.loadMoreActiveBgColor,Z=t.ratingStyle,$=t.enableContents,K={setAttributes:a,resOption:o,attributes:t,objAttributes:MY},ee=function(e,t){var n,o=function(e){if(Array.isArray(e))return DY(e)}(n=$)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||function(e,t){if(e){if("string"==typeof e)return DY(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?DY(e,t):void 0}}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();1==e?o.includes(t)||o.push(t):o.includes(t)&&(o=o.filter((function(e){return e!==t}))),a({enableContents:o})};return(0,J.useEffect)((function(){H&&(H.alignment||(H.alignment="center"),H.loadMoreType||(H.loadMoreType="1"),H.loadMoreButtonTxt||(H.loadMoreButtonTxt="Load More"),H.nextTxt||(H.nextTxt=">"),H.prevTxt||(H.prevTxt="<"))}),[H]),React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:(0,Y.__)("General","essential-blocks"),className:"eb-tab general"},{name:"styles",title:(0,Y.__)("Style","essential-blocks"),className:"eb-tab styles"},{name:"advanced",title:(0,Y.__)("Advanced","essential-blocks"),className:"eb-tab styles"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls"+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{initialOpen:!0,title:(0,Y.__)("Layout","essential-blocks")},React.createElement(React.Fragment,null,React.createElement(X.BaseControl,{label:(0,Y.__)("Layouts","essential-blocks")},React.createElement(X.ButtonGroup,{id:"eb-woo-products-layout"},LZ.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:l===e.value,isSecondary:l!==e.value,onClick:function(){return a((t=e.value,a({layout:t}),void("grid"===t?changeGridPreset(i):changeListPreset(u))));var t}},e.label)})))),"grid"===l&&React.createElement(React.Fragment,null,React.createElement(AY,{baseLabel:(0,Y.__)("Columns","essential-blocks"),controlName:VZ,resRequiredProps:K,min:0,max:6,step:1,noUnits:!0})),"list"===l&&React.createElement(React.Fragment,null),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Rating","essential-blocks"),checked:s,onChange:function(){a({showRating:!s}),ee(!s,"rating")}}),s&&React.createElement(X.SelectControl,{label:(0,Y.__)("Rating Style","essential-blocks"),value:Z,options:(0,Qo.applyFilters)("eb_woo_product_grid_rating_style",zZ),onChange:function(e){return a({ratingStyle:e})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Price","essential-blocks"),checked:b,onChange:function(){a({showPrice:!b}),ee(!b,"price")}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Sale Badge","essential-blocks"),checked:p,onChange:function(){return a({showSaleBadge:!p})}}),(0,Qo.applyFilters)("eb_woo_product_grid_general_toggle","",t,a,K,ee))),React.createElement(qY,{title:"Product Query",initialOpen:!1,queryData:r,queryResults:c,setAttributes:a,setQueryResults:n}),React.createElement(X.PanelBody,{title:(0,Y.__)("Cart Text","essential-blocks"),initialOpen:!1},React.createElement(X.ToggleControl,{label:(0,Y.__)("Use Custom Cart Button Text","essential-blocks"),checked:O,onChange:function(){return a({isCustomCartBtn:!O})}}),O&&React.createElement(React.Fragment,null,React.createElement(X.TextControl,{label:(0,Y.__)("Simple Product","essential-blocks"),value:M,onChange:function(e){return a({simpleCartText:e})}}),React.createElement(X.TextControl,{label:(0,Y.__)("Variable Product","essential-blocks"),value:D,onChange:function(e){return a({variableCartText:e})}}),React.createElement(X.TextControl,{label:(0,Y.__)("Grouped Product","essential-blocks"),value:j,onChange:function(e){return a({groupedCartText:e})}}),React.createElement(X.TextControl,{label:(0,Y.__)("External Product","essential-blocks"),value:I,onChange:function(e){return a({externalCartText:e})}}),React.createElement(X.TextControl,{label:(0,Y.__)("Default Product","essential-blocks"),value:A,onChange:function(e){return a({defaultCartText:e})}}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Sale Badge","essential-blocks"),initialOpen:!1},React.createElement(X.BaseControl,{label:(0,Y.__)("Alignment","essential-blocks"),id:"eb-woo-products-alignment"},React.createElement(X.ButtonGroup,null,FZ.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:R===e.value,isSecondary:R!==e.value,onClick:function(){return a({saleBadgeAlign:e.value})}},e.label)})))),React.createElement(X.TextControl,{label:(0,Y.__)("Sale Text","essential-blocks"),value:_,onChange:function(e){return a({saleText:e})}})),React.createElement(UY,{loadMoreOptions:H,queryData:r,setAttributes:a,initialOpen:!1}),React.createElement(X.PanelBody,{title:(0,Y.__)("Sorting Content","essential-blocks-pro"),initialOpen:!1},React.createElement(WY,{items:$,labelKey:"",onSortEnd:function(e){return a({enableContents:e})},hasSettings:!1,hasAddButton:!1,hasDelete:!1})),(0,Qo.applyFilters)("eb_woo_product_grid_general_tab","",t,a,K)),"styles"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Products","essential-blocks"),initialOpen:!0},React.createElement(React.Fragment,null,React.createElement(X.BaseControl,{label:(0,Y.__)("Content Alignment","essential-blocks"),id:"eb-woo-products-content-alignment"},React.createElement(X.ButtonGroup,null,HZ.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:x===e.value,isSecondary:x!==e.value,onClick:function(){return a({contentAlignment:e.value})}},e.label)})))),React.createElement(FY,{label:(0,Y.__)("Content Background Color","essential-blocks"),color:S,onChange:function(e){return a({contentBackgroundColor:e})}}),"grid"===l&&"grid-preset-3"===i&&React.createElement(FY,{label:(0,Y.__)("Background Overlay Color","essential-blocks"),color:P,onChange:function(e){return a({backgroundOverlayColor:e})}}),React.createElement(IY,{resRequiredProps:K,controlName:eY,baseLabel:(0,Y.__)("Padding","essential-blocks")}),React.createElement(AY,{baseLabel:(0,Y.__)("Spacing","essential-blocks"),controlName:UZ,resRequiredProps:K,min:0,max:200,step:1,noUnits:!0}),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(HY,{controlName:pY,resRequiredProps:K})))),React.createElement(X.PanelBody,{title:(0,Y.__)("Image","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(AY,{baseLabel:(0,Y.__)("Width","essential-blocks"),controlName:GZ,resRequiredProps:K,min:0,max:1200}),!N&&React.createElement(AY,{baseLabel:(0,Y.__)("Height","essential-blocks"),controlName:ZZ,resRequiredProps:K,min:0,max:1200}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Auto Height","essential-blocks"),checked:N,onChange:function(){return a({autoHeight:!N})}}),React.createElement(X.__experimentalDivider,null),React.createElement(FY,{label:(0,Y.__)("Image Wrapper Background","essential-blocks"),color:B,onChange:function(e){return a({imageBackgroundColor:e})}}),"list"===l&&React.createElement(React.Fragment,null,React.createElement(FY,{label:(0,Y.__)("Image Overlay Color","essential-blocks"),color:L,onChange:function(e){return a({imageOverlayColor:e})}}),React.createElement(AY,{baseLabel:(0,Y.__)("Image Space","essential-blocks"),controlName:WZ,resRequiredProps:K,min:0,max:500,step:1,noUnits:!0})),React.createElement(IY,{resRequiredProps:K,controlName:tY,baseLabel:(0,Y.__)("Padding","essential-blocks")}),React.createElement(HY,{controlName:QZ,resRequiredProps:K}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Product Title","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(LY,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:NZ,resRequiredProps:K}),React.createElement(FY,{label:(0,Y.__)("Color","essential-blocks"),color:d,onChange:function(e){return a({titleColor:e})}}),React.createElement(FY,{label:(0,Y.__)("Hover Color","essential-blocks"),color:m,onChange:function(e){return a({titleHoverColor:e})}}),React.createElement(IY,{resRequiredProps:K,controlName:aY,baseLabel:(0,Y.__)("Space","essential-blocks")}))),"list"===l&&React.createElement(X.PanelBody,{title:(0,Y.__)("Product Description","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(LY,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:MZ,resRequiredProps:K}),React.createElement(FY,{label:(0,Y.__)("Color","essential-blocks"),color:T,onChange:function(e){return a({descColor:e})}}),React.createElement(X.TextControl,{label:(0,Y.__)("Description length","essential-blocks"),value:F,type:"number",onChange:function(e){return function(e){a(e<0?{productDescLength:0}:{productDescLength:e})}(e)}}),React.createElement(IY,{resRequiredProps:K,controlName:cY,baseLabel:(0,Y.__)("Space","essential-blocks")}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Product Price","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(LY,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:PZ,resRequiredProps:K}),React.createElement(FY,{label:(0,Y.__)("Price Color","essential-blocks"),color:g,onChange:function(e){return a({priceColor:e})}}),React.createElement(FY,{label:(0,Y.__)("Sale Price Color","essential-blocks"),color:f,onChange:function(e){return a({salePriceColor:e})}}),React.createElement(IY,{resRequiredProps:K,controlName:nY,baseLabel:(0,Y.__)("Space","essential-blocks")}))),s&&React.createElement(X.PanelBody,{title:(0,Y.__)("Product Rating","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(FY,{label:(0,Y.__)("Rating Color","essential-blocks"),color:y,onChange:function(e){return a({ratingColor:e})}}),React.createElement(AY,{baseLabel:(0,Y.__)("Icon Size","essential-blocks"),controlName:qZ,resRequiredProps:K,min:0,max:50,step:1}),React.createElement(IY,{resRequiredProps:K,controlName:oY,baseLabel:(0,Y.__)("Space","essential-blocks")}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Button","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(LY,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:DZ,resRequiredProps:K}),React.createElement(FY,{label:(0,Y.__)("Text Color","essential-blocks"),color:v,onChange:function(e){return a({btnColor:e})}}),React.createElement(FY,{label:(0,Y.__)("Text Hover Color","essential-blocks"),color:h,onChange:function(e){return a({btnHoverColor:e})}}),React.createElement(FY,{label:(0,Y.__)("Background Color","essential-blocks"),color:w,onChange:function(e){return a({btnBackgroundColor:e})}}),React.createElement(FY,{label:(0,Y.__)("Background Hover Color","essential-blocks"),color:k,onChange:function(e){return a({btnBackgroundHoverColor:e})}}),React.createElement(IY,{resRequiredProps:K,controlName:rY,baseLabel:(0,Y.__)("Space","essential-blocks")}),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Border","essential-blocks"))),React.createElement(HY,{controlName:YZ,resRequiredProps:K}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Sale Badge Style","essential-blocks"),initialOpen:!1},React.createElement(LY,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:OZ,resRequiredProps:K}),React.createElement(FY,{label:(0,Y.__)("Sale Text Color","essential-blocks"),color:E,onChange:function(e){return a({saleTextColor:e})}}),React.createElement(FY,{label:(0,Y.__)("Sale Text Background Color","essential-blocks"),color:C,onChange:function(e){return a({saleTextBackgroundColor:e})}}),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Border","essential-blocks"))),React.createElement(HY,{controlName:JZ,noShadow:!0,noBdrHover:!0,resRequiredProps:K})),H.enableMorePosts&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Load More Styles"),initialOpen:!1},"1"===H.loadMoreType&&React.createElement(X.ButtonGroup,{id:"essential-blocks",className:"eb-inspector-btn-group"},uY.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:z===e.value,isSecondary:z!==e.value,onClick:function(){return a({loadMoreColorType:e.value})}},e.label)}))),"2"===H.loadMoreType&&React.createElement(X.BaseControl,{label:(0,Y.__)("","essential-blocks"),id:"eb-advance-heading-alignment"},React.createElement(X.ButtonGroup,{id:"eb-advance-heading-alignment"},dY.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:z===e.value,isSecondary:z!==e.value,onClick:function(){return a({loadMoreColorType:e.value})}},e.label)})))),"normal"===z&&React.createElement(React.Fragment,null,React.createElement(FY,{label:(0,Y.__)("Color","essential-blocks"),color:q,onChange:function(e){return a({loadMoreColor:e})}}),React.createElement(FY,{label:(0,Y.__)("Background Color","essential-blocks"),color:U,onChange:function(e){return a({loadMoreBgColor:e})}})),"hover"===z&&React.createElement(React.Fragment,null,React.createElement(FY,{label:(0,Y.__)("Color","essential-blocks"),color:V,onChange:function(e){return a({loadMoreHoverColor:e})}}),React.createElement(FY,{label:(0,Y.__)("Background Color","essential-blocks"),color:V,onChange:function(e){return a({loadMoreHoverBgColor:e})}})),"active"===z&&React.createElement(React.Fragment,null,React.createElement(FY,{label:(0,Y.__)("Color","essential-blocks"),color:W,onChange:function(e){return a({loadMoreActiveColor:e})}}),React.createElement(FY,{label:(0,Y.__)("Background Color","essential-blocks"),color:G,onChange:function(e){return a({loadMoreActiveBgColor:e})}})),React.createElement(LY,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:jZ,resRequiredProps:K}),React.createElement(X.PanelBody,null,React.createElement(IY,{resRequiredProps:K,controlName:iY,baseLabel:"Margin"}),React.createElement(IY,{resRequiredProps:K,controlName:lY,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(HY,{controlName:sY,resRequiredProps:K,noShadow:!0})))),(0,Qo.applyFilters)("eb_woo_product_grid_style_tab","",t,a,K)),"advanced"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,null,React.createElement(IY,{resRequiredProps:K,controlName:XZ,baseLabel:"Margin"}),React.createElement(IY,{resRequiredProps:K,controlName:$Z,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Background","essential-blocks"),initialOpen:!1},React.createElement(zY,{controlName:KZ,resRequiredProps:K})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(HY,{controlName:bY,resRequiredProps:K})),React.createElement(VY,{attributes:t,setAttributes:a})))}))))},ZY=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"60",fill:"none",viewBox:"0 0 60 60"},React.createElement("path",{fill:"#6C3BFF",d:"M51.506 47.99c.518 0 .944.411.944.93a.948.948 0 01-.944.943H2.75a2.744 2.744 0 01-1.94-.81 2.7 2.7 0 01-.81-1.94V2.75C0 1.993.306 1.315.81.81A2.722 2.722 0 012.75 0h54.486c.758 0 1.448.306 1.954.81.491.505.81 1.183.81 1.94v44.363c0 .757-.319 1.448-.81 1.94a2.752 2.752 0 01-1.954.81h-5.353a.947.947 0 01-.944-.944c0-.518.425-.93.944-.93h5.353a.877.877 0 00.625-.265.863.863 0 00.265-.611V10.217H1.874v36.896c0 .24.106.452.265.61v.014c.16.16.372.252.61.252h48.757zM53.237 4.17c.518 0 .93.412.93.93a.936.936 0 01-.93.944h-31.9a.947.947 0 01-.943-.944c0-.518.425-.93.944-.93h31.9zm4.89 4.173V2.75a.867.867 0 00-.265-.611.876.876 0 00-.626-.266H2.75c-.24 0-.451.107-.61.266a.864.864 0 00-.266.611v5.594h56.253z"}),React.createElement("path",{fill:"#6C3BFF",fillRule:"evenodd",d:"M5.58 4.198c.505 0 .904.412.904.904a.908.908 0 01-.904.917.907.907 0 01-.903-.917c0-.492.398-.904.903-.904zm7.92 0c.503 0 .902.412.902.904a.908.908 0 01-.903.917.919.919 0 01-.917-.917c0-.492.412-.904.917-.904zm-3.96 0c.504 0 .903.412.903.904a.908.908 0 01-.903.917.919.919 0 01-.917-.917c0-.492.411-.904.917-.904z",clipRule:"evenodd"}),React.createElement("path",{fill:"#6C3BFF",d:"M13.723 14.521h9.22c.518 0 .983.213 1.329.545.345.345.545.81.545 1.329v9.233c0 .505-.226 1.063-.612 1.382a1.873 1.873 0 01-1.262.491h-9.22a1.891 1.891 0 01-1.887-1.873v-9.233c0-1.036.85-1.874 1.887-1.874zm9.22 1.874h-9.22v9.234h9.22v-9.234zM35.954 14.521h9.233c1.037 0 1.874.838 1.874 1.874v9.234c0 .505-.226 1.063-.625 1.381a1.842 1.842 0 01-1.248.492h-9.234a1.888 1.888 0 01-1.874-1.873v-9.234a1.88 1.88 0 011.874-1.874zm9.233 1.874h-9.233v9.234h9.233v-9.234z"}),React.createElement("path",{fill:"#6C3BFF",d:"M41.25 18.047h-2.93a.586.586 0 00-.586.586v.469c0 .323.263.585.586.585h2.93a.586.586 0 00.586-.585v-.47a.586.586 0 00-.586-.585zM41.25 35.39h-2.93a.586.586 0 00-.586.587v.468c0 .324.263.586.586.586h2.93a.586.586 0 00.586-.586v-.468a.586.586 0 00-.586-.586zM19.336 35.39h-2.93a.586.586 0 00-.586.587v.468c0 .324.263.586.586.586h2.93a.586.586 0 00.586-.586v-.468a.586.586 0 00-.586-.586z"}),React.createElement("path",{fill:"#6C3BFF",d:"M35.954 32.11h9.233c1.037 0 1.874.837 1.874 1.873v9.234c0 .505-.226 1.063-.625 1.381a1.842 1.842 0 01-1.248.492h-9.234a1.888 1.888 0 01-1.874-1.873v-9.234a1.88 1.88 0 011.874-1.874zm9.233 1.873h-9.233v9.234h9.233v-9.234zM13.723 32.073h9.22c1.036 0 1.874.837 1.874 1.873v9.22a1.883 1.883 0 01-1.874 1.887h-9.22a1.894 1.894 0 01-1.887-1.886v-9.22c0-1.037.85-1.874 1.887-1.874zm0 1.873v9.22h9.22v-9.22h-9.22zM19.336 18.047h-2.93a.586.586 0 00-.586.586v.469c0 .323.263.585.586.585h2.93a.586.586 0 00.586-.585v-.47a.586.586 0 00-.586-.585z"}))};var YY,JY,QY,XY,$Y=[{title:"Trendy Layout",templatePreview:!0,preview:"".concat(null===(YY=EssentialBlocksLocalize)||void 0===YY?void 0:YY.image_url,"/templates/product-grid/preset-1.svg"),content:'\x3c!-- wp:essential-blocks/woo-product-grid {"blockId":"eb-woo-product-vof5y","blockMeta":{"desktop":".eb-woo-products-wrapper.eb-woo-product-vof5y { transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s, background 0.5s }.eb-woo-products-wrapper.eb-woo-product-vof5y:before { transition:background 0.5s, opacity 0.5s, filter 0.5s }.eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery .eb-woo-product .eb-woo-product-content-wrapper .eb-woo-product-content { align-items:center; text-align:center }.eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col { flex:0 0 25%; max-width:25% }.eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title { order:2 }.eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title,.eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title a { color:#444444 }.eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title:hover,.eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title:hover a { color:var(\\u002d\\u002deb-global-link-color) }.eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery .eb-woo-product-content-wrapper .eb-woo-product-content .eb-woo-product-price { order:3; color:#3f05e9 }.eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-price ins { color:var(\\u002d\\u002deb-global-primary-color) }.eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery .eb-woo-product-content-wrapper .eb-woo-product-content .eb-woo-product-rating-wrapper { order:1 }.eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button,.eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.added_to_cart, .eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.button, .eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.added_to_cart { color:var(\\u002d\\u002deb-global-button-text-color); background:var(\\u002d\\u002deb-global-button-background-color); transition:all 0.3s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button:hover,.eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.added_to_cart:hover, .eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery .eb-woo-product  .eb-woo-product-button-list a.button:hover,.eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery .eb-woo-product  .eb-woo-product-button-list a.added_to_cart:hover { background:var(\\u002d\\u002deb-global-tertiary-color) }.eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery.grid-preset-3 .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button:hover, .eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery.grid-preset-3 .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.added_to_cart:hover { background:var(\\u002d\\u002deb-global-tertiary-color) }.eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image .eb-woo-product-ribbon { color:var(\\u002d\\u002deb-global-secondary-color); background:var(\\u002d\\u002deb-global-primary-color) }.eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image { transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s; overflow:hidden }false.eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image a:after { background:rgb(0 0 0 / 25%) }.eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image { height:200px }.eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery.list-preset-1 .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image { height:200px }.eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery .eb-woo-product { transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery { margin-left:-7.5px; margin-right:-7.5px; margin-bottom:-15px }.eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col, .eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col { padding-left:7.5px; padding-right:7.5px; margin-bottom:15px }.eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery.list-preset-1 .eb-woo-products-col { margin-bottom:15px }.eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery.list-preset-1 .eb-woo-product .eb-woo-product-content-wrapper .eb-woo-product-content .eb-woo-product-details { color:var(\\u002d\\u002deb-global-text-color) }.eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery.list-preset-1 .eb-woo-product-image-wrapper { margin-right:10px }.eb-woo-products-wrapper.eb-woo-product-vof5y .ebpg-pagination { text-align:center }.eb-woo-products-wrapper.eb-woo-product-vof5y .ebpg-pagination button { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-button-background-color); padding-top:5px; padding-right:10px; padding-left:10px; padding-bottom:5px; margin-top:10px; margin-right:5px; margin-left:5px; margin-bottom:10px; font-size:14px; border-width:1px; border-color:#c3c3c3; border-style:solid; border-radius:4px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-woo-products-wrapper.eb-woo-product-vof5y .ebpg-pagination button:hover { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-tertiary-color) }.eb-woo-products-wrapper.eb-woo-product-vof5y .ebpg-pagination button.ebpg-pagination-item.active { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-primary-color) }\\n\\t\\t\\n\\t    .eb-woo-product-vof5y.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper {\\n\\t\\t\\t\\n\\t\\t}\\n\\t\\t.eb-woo-product-vof5y.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper .eb-woo-product-sold-count {\\n\\t\\t\\t\\n               \\n               \\n               \\n               \\n               \\n               \\n               \\n               \\n          \\n\\t\\t\\t\\n             \\n        \\n            \\n\\t\\t\\t\\n\\t\\t}\\n\\n\\t\\t.eb-woo-product-vof5y.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper .eb-woo-product-sold-container {\\n\\t\\t\\theight:10px;\\n\\t\\t\\t\\n\\t\\t}\\n\\n\\t\\t.eb-woo-product-vof5y.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper .eb-woo-product-sold-bar {\\n\\t\\t\\theight:10px;\\n\\t\\t\\t\\n\\t\\t}\\n\\t\\n\\t\\t\\n\\t\\t\\n\\t\\n\\t","tab":".eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery { margin-left:-5px; margin-right:-5px; margin-bottom:-10px }.eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col { flex:0 0 33.333333333333336%; max-width:33.333333333333336% }.eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery { margin-left:-5px; margin-right:-5px }.eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col, .eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col { padding-left:5px; padding-right:5px; margin-bottom:10px }.eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery.list-preset-1 .eb-woo-products-col { margin-bottom:10px }\\n\\t\\t\\n\\t\\t.eb-woo-product-vof5y.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper .eb-woo-product-sold-count {\\n\\t\\t\\t\\n               \\n               \\n               \\n          \\n\\t\\t\\t\\n                 \\n    \\n            \\n\\t\\t}\\n\\n\\t\\t.eb-woo-product-vof5y.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper .eb-woo-product-sold-container {\\n\\t\\t\\t\\n\\t\\t}\\n\\n\\t\\t.eb-woo-product-vof5y.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper .eb-woo-product-sold-bar {\\n\\t\\t\\t\\n\\t\\t}\\n\\t\\n\\t\\t\\n\\t\\t\\n\\t\\n\\t","mobile":".eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery { margin-left:-0px; margin-right:-0px; margin-bottom:-0px }.eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col { flex:0 0 100%; max-width:100% }.eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col, .eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col { padding-left:0px; padding-right:0px; margin-bottom:0px }.eb-woo-products-wrapper.eb-woo-product-vof5y .eb-woo-products-gallery.list-preset-1 .eb-woo-products-col { margin-bottom:0px }\\n\\t\\t\\n\\t\\t.eb-woo-product-vof5y.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper .eb-woo-product-sold-count {\\n\\t\\t\\t\\n               \\n               \\n               \\n          \\n\\t\\t\\t\\n                 \\n    \\n            \\n\\t\\t}\\n\\t\\t.eb-woo-product-vof5y.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper .eb-woo-product-sold-container {\\n\\t\\t\\t\\n\\t\\t}\\n\\t\\t.eb-woo-product-vof5y.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper .eb-woo-product-sold-bar {\\n\\t\\t\\t\\n\\t\\t}\\n\\t\\n\\t\\t\\n\\t\\t\\n\\t\\n\\t"},"queryData":{"source":"products","rest_base":"products","rest_namespace":"wc/v3","category":"","tag":"","per_page":"4","offset":"0","orderby":"[{\\u0022label\\u0022:\\u0022Date\\u0022,\\u0022value\\u0022:\\u0022date\\u0022}]","order":"[{\\u0022label\\u0022:\\u0022Descending\\u0022,\\u0022value\\u0022:\\u0022desc\\u0022}]"},"titleColor":"#444444","priceColor":"#3f05e9","contentBackgroundColor":"","loadMoreOptions":{"enableMorePosts":false,"loadMoreType":"1","loadMoreButtonTxt":"Load More","alignment":"center","prevTxt":"\\u003c","nextTxt":"\\u003e","totalPosts":"18"},"commonStyles":{"desktop":".wp-admin .eb-parent-eb-woo-product-vof5y { display:block; opacity:1 }.eb-parent-eb-woo-product-vof5y { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-woo-product-vof5y { display:block; opacity:1 }.eb-parent-eb-woo-product-vof5y { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-woo-product-vof5y { display:block; opacity:1 }.eb-parent-eb-woo-product-vof5y { display:block }"}} /--\x3e'},{title:"Dynamic Layout",templatePreview:!0,preview:"".concat(null===(JY=EssentialBlocksLocalize)||void 0===JY?void 0:JY.image_url,"/templates/product-grid/preset-2.svg"),content:'\x3c!-- wp:essential-blocks/woo-product-grid {"blockId":"eb-woo-product-mkqol","blockMeta":{"desktop":".eb-woo-products-wrapper.eb-woo-product-mkqol { transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s, background 0.5s }.eb-woo-products-wrapper.eb-woo-product-mkqol:before { transition:background 0.5s, opacity 0.5s, filter 0.5s }.eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery .eb-woo-product .eb-woo-product-content-wrapper .eb-woo-product-content { align-items:flex-start; text-align:left }.eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col { flex:0 0 25%; max-width:25% }.eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title { order:1 }.eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title,.eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title a { color:#444444 }.eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title:hover,.eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title:hover a { color:var(\\u002d\\u002deb-global-link-color) }.eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery .eb-woo-product-content-wrapper .eb-woo-product-content .eb-woo-product-price { order:2; color:#3f05e9 }.eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-price ins { color:var(\\u002d\\u002deb-global-primary-color) }.eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button,.eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.added_to_cart, .eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.button, .eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.added_to_cart { color:var(\\u002d\\u002deb-global-button-text-color); background:var(\\u002d\\u002deb-global-button-background-color); transition:all 0.3s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button:hover,.eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.added_to_cart:hover, .eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery .eb-woo-product  .eb-woo-product-button-list a.button:hover,.eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery .eb-woo-product  .eb-woo-product-button-list a.added_to_cart:hover { background:var(\\u002d\\u002deb-global-tertiary-color) }.eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery.grid-preset-3 .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button:hover, .eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery.grid-preset-3 .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.added_to_cart:hover { background:var(\\u002d\\u002deb-global-tertiary-color) }.eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image .eb-woo-product-ribbon { color:var(\\u002d\\u002deb-global-button-text-color); background:var(\\u002d\\u002deb-global-button-background-color) }.eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery .eb-woo-product .eb-woo-product-content-wrapper,.eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery.list-preset-1 .eb-woo-product .eb-woo-product-content-wrapper { background:#ffffff }.eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image { transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s; overflow:hidden }false.eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image a:after { background:rgb(0 0 0 / 25%) }.eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image { height:200px }.eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery.list-preset-1 .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image { height:200px }.eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery .eb-woo-product { transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery { margin-left:-7.5px; margin-right:-7.5px; margin-bottom:-15px }.eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col, .eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col { padding-left:7.5px; padding-right:7.5px; margin-bottom:15px }.eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery.list-preset-1 .eb-woo-products-col { margin-bottom:15px }.eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery.list-preset-1 .eb-woo-product .eb-woo-product-content-wrapper .eb-woo-product-content .eb-woo-product-details { color:var(\\u002d\\u002deb-global-text-color) }.eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery.list-preset-1 .eb-woo-product-image-wrapper { margin-right:10px }.eb-woo-products-wrapper.eb-woo-product-mkqol .ebpg-pagination { text-align:center }.eb-woo-products-wrapper.eb-woo-product-mkqol .ebpg-pagination button { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-button-background-color); padding-top:5px; padding-right:10px; padding-left:10px; padding-bottom:5px; margin-top:10px; margin-right:5px; margin-left:5px; margin-bottom:10px; font-size:14px; border-width:1px; border-color:#c3c3c3; border-style:solid; border-radius:4px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-woo-products-wrapper.eb-woo-product-mkqol .ebpg-pagination button:hover { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-tertiary-color) }.eb-woo-products-wrapper.eb-woo-product-mkqol .ebpg-pagination button.ebpg-pagination-item.active { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-primary-color) }\\n\\t\\t\\n\\t    .eb-woo-product-mkqol.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper {\\n\\t\\t\\t\\n\\t\\t}\\n\\t\\t.eb-woo-product-mkqol.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper .eb-woo-product-sold-count {\\n\\t\\t\\t\\n               \\n               \\n               \\n               \\n               \\n               \\n               \\n               \\n          \\n\\t\\t\\t\\n             \\n        \\n            \\n\\t\\t\\t\\n\\t\\t}\\n\\n\\t\\t.eb-woo-product-mkqol.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper .eb-woo-product-sold-container {\\n\\t\\t\\theight:10px;\\n\\t\\t\\t\\n\\t\\t}\\n\\n\\t\\t.eb-woo-product-mkqol.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper .eb-woo-product-sold-bar {\\n\\t\\t\\theight:10px;\\n\\t\\t\\t\\n\\t\\t}\\n\\t\\n\\t\\t\\n\\t\\t\\n\\t\\n\\t","tab":".eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery { margin-left:-5px; margin-right:-5px; margin-bottom:-10px }.eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col { flex:0 0 33.333333333333336%; max-width:33.333333333333336% }.eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery { margin-left:-5px; margin-right:-5px }.eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col, .eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col { padding-left:5px; padding-right:5px; margin-bottom:10px }.eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery.list-preset-1 .eb-woo-products-col { margin-bottom:10px }\\n\\t\\t\\n\\t\\t.eb-woo-product-mkqol.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper .eb-woo-product-sold-count {\\n\\t\\t\\t\\n               \\n               \\n               \\n          \\n\\t\\t\\t\\n                 \\n    \\n            \\n\\t\\t}\\n\\n\\t\\t.eb-woo-product-mkqol.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper .eb-woo-product-sold-container {\\n\\t\\t\\t\\n\\t\\t}\\n\\n\\t\\t.eb-woo-product-mkqol.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper .eb-woo-product-sold-bar {\\n\\t\\t\\t\\n\\t\\t}\\n\\t\\n\\t\\t\\n\\t\\t\\n\\t\\n\\t","mobile":".eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery { margin-left:-0px; margin-right:-0px; margin-bottom:-0px }.eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col { flex:0 0 100%; max-width:100% }.eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col, .eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col { padding-left:0px; padding-right:0px; margin-bottom:0px }.eb-woo-products-wrapper.eb-woo-product-mkqol .eb-woo-products-gallery.list-preset-1 .eb-woo-products-col { margin-bottom:0px }\\n\\t\\t\\n\\t\\t.eb-woo-product-mkqol.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper .eb-woo-product-sold-count {\\n\\t\\t\\t\\n               \\n               \\n               \\n          \\n\\t\\t\\t\\n                 \\n    \\n            \\n\\t\\t}\\n\\t\\t.eb-woo-product-mkqol.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper .eb-woo-product-sold-container {\\n\\t\\t\\t\\n\\t\\t}\\n\\t\\t.eb-woo-product-mkqol.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper .eb-woo-product-sold-bar {\\n\\t\\t\\t\\n\\t\\t}\\n\\t\\n\\t\\t\\n\\t\\t\\n\\t\\n\\t"},"queryData":{"source":"products","rest_base":"products","rest_namespace":"wc/v3","category":"","tag":"","per_page":"4","offset":"0","orderby":"[{\\u0022label\\u0022:\\u0022Date\\u0022,\\u0022value\\u0022:\\u0022date\\u0022}]","order":"[{\\u0022label\\u0022:\\u0022Descending\\u0022,\\u0022value\\u0022:\\u0022desc\\u0022}]"},"gridPreset":"grid-preset-2","showRating":false,"titleColor":"#444444","priceColor":"#3f05e9","contentAlignment":"left","contentBackgroundColor":"#ffffff","loadMoreOptions":{"enableMorePosts":false,"loadMoreType":"1","loadMoreButtonTxt":"Load More","alignment":"center","prevTxt":"\\u003c","nextTxt":"\\u003e","totalPosts":"18"},"enableContents":["title","price"],"commonStyles":{"desktop":".wp-admin .eb-parent-eb-woo-product-mkqol { display:block; opacity:1 }.eb-parent-eb-woo-product-mkqol { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-woo-product-mkqol { display:block; opacity:1 }.eb-parent-eb-woo-product-mkqol { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-woo-product-mkqol { display:block; opacity:1 }.eb-parent-eb-woo-product-mkqol { display:block }"}} /--\x3e'},{title:"Elegant Layout",templatePreview:!0,preview:"".concat(null===(QY=EssentialBlocksLocalize)||void 0===QY?void 0:QY.image_url,"/templates/product-grid/preset-3.svg"),content:'\x3c!-- wp:essential-blocks/woo-product-grid {"blockId":"eb-woo-product-pjoc0","blockMeta":{"desktop":".eb-woo-products-wrapper.eb-woo-product-pjoc0 { transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s, background 0.5s }.eb-woo-products-wrapper.eb-woo-product-pjoc0:before { transition:background 0.5s, opacity 0.5s, filter 0.5s }.eb-woo-products-wrapper.eb-woo-product-pjoc0 .eb-woo-products-gallery .eb-woo-product .eb-woo-product-content-wrapper .eb-woo-product-content { align-items:center; text-align:center }.eb-woo-products-wrapper.eb-woo-product-pjoc0 .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-pjoc0 .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-pjoc0 .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col { flex:0 0 25%; max-width:25% }.eb-woo-products-wrapper.eb-woo-product-pjoc0 .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title { order:1 }.eb-woo-products-wrapper.eb-woo-product-pjoc0 .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title,.eb-woo-products-wrapper.eb-woo-product-pjoc0 .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title a { color:#ffffff }.eb-woo-products-wrapper.eb-woo-product-pjoc0 .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title:hover,.eb-woo-products-wrapper.eb-woo-product-pjoc0 .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title:hover a { color:var(\\u002d\\u002deb-global-link-color) }.eb-woo-products-wrapper.eb-woo-product-pjoc0 .eb-woo-products-gallery .eb-woo-product-content-wrapper .eb-woo-product-content .eb-woo-product-price { order:2; color:#f1f1f1 }.eb-woo-products-wrapper.eb-woo-product-pjoc0 .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-price ins { color:var(\\u002d\\u002deb-global-primary-color) }.eb-woo-products-wrapper.eb-woo-product-pjoc0 .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button,.eb-woo-products-wrapper.eb-woo-product-pjoc0 .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.added_to_cart, .eb-woo-products-wrapper.eb-woo-product-pjoc0 .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.button, .eb-woo-products-wrapper.eb-woo-product-pjoc0 .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.added_to_cart { color:var(\\u002d\\u002deb-global-button-text-color); background:var(\\u002d\\u002deb-global-button-background-color); transition:all 0.3s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-woo-products-wrapper.eb-woo-product-pjoc0 .eb-woo-products-gallery.grid-preset-3 .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button:hover, .eb-woo-products-wrapper.eb-woo-product-pjoc0 .eb-woo-products-gallery.grid-preset-3 .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.added_to_cart:hover { background:var(\\u002d\\u002deb-global-tertiary-color) }.eb-woo-products-wrapper.eb-woo-product-pjoc0 .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image .eb-woo-product-ribbon { color:var(\\u002d\\u002deb-global-button-text-color); background:var(\\u002d\\u002deb-global-button-background-color) }.eb-woo-products-wrapper.eb-woo-product-pjoc0 .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image { transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s; overflow:hidden }.eb-woo-products-wrapper.eb-woo-product-pjoc0 .eb-woo-products-gallery.grid-preset-3 .eb-woo-product { transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s; overflow:hidden }.eb-woo-products-wrapper.eb-woo-product-pjoc0 .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image a:after { background:rgb(0 0 0 / 25%) }.eb-woo-products-wrapper.eb-woo-product-pjoc0 .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image { height:200px }.eb-woo-products-wrapper.eb-woo-product-pjoc0 .eb-woo-products-gallery.list-preset-1 .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image { height:200px }.eb-woo-products-wrapper.eb-woo-product-pjoc0 .eb-woo-products-gallery .eb-woo-product { transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-woo-products-wrapper.eb-woo-product-pjoc0 .eb-woo-products-gallery { margin-left:-7.5px; margin-right:-7.5px; margin-bottom:-15px }.eb-woo-products-wrapper.eb-woo-product-pjoc0 .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col, .eb-woo-products-wrapper.eb-woo-product-pjoc0 .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-pjoc0 .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col { padding-left:7.5px; padding-right:7.5px; margin-bottom:15px }.eb-woo-products-wrapper.eb-woo-product-pjoc0 .eb-woo-products-gallery.list-preset-1 .eb-woo-products-col { margin-bottom:15px }.eb-woo-products-wrapper.eb-woo-product-pjoc0 .eb-woo-products-gallery.list-preset-1 .eb-woo-product .eb-woo-product-content-wrapper .eb-woo-product-content .eb-woo-product-details { color:var(\\u002d\\u002deb-global-text-color) }.eb-woo-products-wrapper.eb-woo-product-pjoc0 .eb-woo-products-gallery.list-preset-1 .eb-woo-product-image-wrapper { margin-right:10px }.eb-woo-products-wrapper.eb-woo-product-pjoc0 .ebpg-pagination { text-align:center }.eb-woo-products-wrapper.eb-woo-product-pjoc0 .ebpg-pagination button { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-button-background-color); padding-top:5px; padding-right:10px; padding-left:10px; padding-bottom:5px; margin-top:10px; margin-right:5px; margin-left:5px; margin-bottom:10px; font-size:14px; border-width:1px; border-color:#c3c3c3; border-style:solid; border-radius:4px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-woo-products-wrapper.eb-woo-product-pjoc0 .ebpg-pagination button:hover { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-tertiary-color) }.eb-woo-products-wrapper.eb-woo-product-pjoc0 .ebpg-pagination button.ebpg-pagination-item.active { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-primary-color) }\\n\\t\\t\\n\\t    .eb-woo-product-pjoc0.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper {\\n\\t\\t\\t\\n\\t\\t}\\n\\t\\t.eb-woo-product-pjoc0.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper .eb-woo-product-sold-count {\\n\\t\\t\\t\\n               \\n               \\n               \\n               \\n               \\n               \\n               \\n               \\n          \\n\\t\\t\\t\\n             \\n        \\n            \\n\\t\\t\\t\\n\\t\\t}\\n\\n\\t\\t.eb-woo-product-pjoc0.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper .eb-woo-product-sold-container {\\n\\t\\t\\theight:10px;\\n\\t\\t\\t\\n\\t\\t}\\n\\n\\t\\t.eb-woo-product-pjoc0.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper .eb-woo-product-sold-bar {\\n\\t\\t\\theight:10px;\\n\\t\\t\\t\\n\\t\\t}\\n\\t\\n\\t\\t\\n\\t\\t\\n\\t\\n\\t","tab":".eb-woo-products-wrapper.eb-woo-product-pjoc0 .eb-woo-products-gallery { margin-left:-5px; margin-right:-5px; margin-bottom:-10px }.eb-woo-products-wrapper.eb-woo-product-pjoc0 .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-pjoc0 .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-pjoc0 .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col { flex:0 0 33.333333333333336%; max-width:33.333333333333336% }.eb-woo-products-wrapper.eb-woo-product-pjoc0 .eb-woo-products-gallery { margin-left:-5px; margin-right:-5px }.eb-woo-products-wrapper.eb-woo-product-pjoc0 .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col, .eb-woo-products-wrapper.eb-woo-product-pjoc0 .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-pjoc0 .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col { padding-left:5px; padding-right:5px; margin-bottom:10px }.eb-woo-products-wrapper.eb-woo-product-pjoc0 .eb-woo-products-gallery.list-preset-1 .eb-woo-products-col { margin-bottom:10px }\\n\\t\\t\\n\\t\\t.eb-woo-product-pjoc0.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper .eb-woo-product-sold-count {\\n\\t\\t\\t\\n               \\n               \\n               \\n          \\n\\t\\t\\t\\n                 \\n    \\n            \\n\\t\\t}\\n\\n\\t\\t.eb-woo-product-pjoc0.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper .eb-woo-product-sold-container {\\n\\t\\t\\t\\n\\t\\t}\\n\\n\\t\\t.eb-woo-product-pjoc0.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper .eb-woo-product-sold-bar {\\n\\t\\t\\t\\n\\t\\t}\\n\\t\\n\\t\\t\\n\\t\\t\\n\\t\\n\\t","mobile":".eb-woo-products-wrapper.eb-woo-product-pjoc0 .eb-woo-products-gallery { margin-left:-0px; margin-right:-0px; margin-bottom:-0px }.eb-woo-products-wrapper.eb-woo-product-pjoc0 .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-pjoc0 .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-pjoc0 .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col { flex:0 0 100%; max-width:100% }.eb-woo-products-wrapper.eb-woo-product-pjoc0 .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col, .eb-woo-products-wrapper.eb-woo-product-pjoc0 .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col { padding-left:0px; padding-right:0px; margin-bottom:0px }.eb-woo-products-wrapper.eb-woo-product-pjoc0 .eb-woo-products-gallery.list-preset-1 .eb-woo-products-col { margin-bottom:0px }\\n\\t\\t\\n\\t\\t.eb-woo-product-pjoc0.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper .eb-woo-product-sold-count {\\n\\t\\t\\t\\n               \\n               \\n               \\n          \\n\\t\\t\\t\\n                 \\n    \\n            \\n\\t\\t}\\n\\t\\t.eb-woo-product-pjoc0.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper .eb-woo-product-sold-container {\\n\\t\\t\\t\\n\\t\\t}\\n\\t\\t.eb-woo-product-pjoc0.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper .eb-woo-product-sold-bar {\\n\\t\\t\\t\\n\\t\\t}\\n\\t\\n\\t\\t\\n\\t\\t\\n\\t\\n\\t"},"queryData":{"source":"products","rest_base":"products","rest_namespace":"wc/v3","category":"","tag":"","per_page":"4","offset":"0","orderby":"[{\\u0022label\\u0022:\\u0022Date\\u0022,\\u0022value\\u0022:\\u0022date\\u0022}]","order":"[{\\u0022label\\u0022:\\u0022Descending\\u0022,\\u0022value\\u0022:\\u0022desc\\u0022}]"},"gridPreset":"grid-preset-3","showRating":false,"titleColor":"#ffffff","priceColor":"#f1f1f1","contentBackgroundColor":"","loadMoreOptions":{"enableMorePosts":false,"loadMoreType":"1","loadMoreButtonTxt":"Load More","alignment":"center","prevTxt":"\\u003c","nextTxt":"\\u003e","totalPosts":"18"},"enableContents":["title","price"],"commonStyles":{"desktop":".wp-admin .eb-parent-eb-woo-product-pjoc0 { display:block; opacity:1 }.eb-parent-eb-woo-product-pjoc0 { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-woo-product-pjoc0 { display:block; opacity:1 }.eb-parent-eb-woo-product-pjoc0 { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-woo-product-pjoc0 { display:block; opacity:1 }.eb-parent-eb-woo-product-pjoc0 { display:block }"}} /--\x3e'},{title:"Radiant Layout",templatePreview:!0,preview:"".concat(null===(XY=EssentialBlocksLocalize)||void 0===XY?void 0:XY.image_url,"/templates/product-grid/preset-list.svg"),content:'\x3c!-- wp:essential-blocks/woo-product-grid {"blockId":"eb-woo-product-jvj3a","blockMeta":{"desktop":".eb-woo-products-wrapper.eb-woo-product-jvj3a { transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s, background 0.5s }.eb-woo-products-wrapper.eb-woo-product-jvj3a:before { transition:background 0.5s, opacity 0.5s, filter 0.5s }.eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery .eb-woo-product .eb-woo-product-content-wrapper .eb-woo-product-content { align-items:flex-start; text-align:left }.eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col { flex:0 0 25%; max-width:25% }.eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title { order:1 }.eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title,.eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title a { color:#444444 }.eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title:hover,.eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title:hover a { color:var(\\u002d\\u002deb-global-link-color) }.eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery .eb-woo-product-content-wrapper .eb-woo-product-content .eb-woo-product-price { order:2; color:#3f05e9 }.eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-price ins { color:var(\\u002d\\u002deb-global-primary-color) }.eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery .eb-woo-product-content-wrapper .eb-woo-product-content .eb-woo-product-rating-wrapper { order:3 }.eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery.list-preset-1 .eb-woo-product .eb-woo-product-button-list { order:5 }.eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button,.eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.added_to_cart, .eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.button, .eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.added_to_cart { color:var(\\u002d\\u002deb-global-button-text-color); background:var(\\u002d\\u002deb-global-button-background-color); transition:all 0.3s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button:hover,.eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.added_to_cart:hover, .eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery .eb-woo-product  .eb-woo-product-button-list a.button:hover,.eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery .eb-woo-product  .eb-woo-product-button-list a.added_to_cart:hover { background:var(\\u002d\\u002deb-global-tertiary-color) }.eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery.grid-preset-3 .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button:hover, .eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery.grid-preset-3 .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.added_to_cart:hover { background:var(\\u002d\\u002deb-global-tertiary-color) }.eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image .eb-woo-product-ribbon { color:var(\\u002d\\u002deb-global-button-text-color); background:var(\\u002d\\u002deb-global-button-background-color) }.eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery .eb-woo-product .eb-woo-product-content-wrapper,.eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery.list-preset-1 .eb-woo-product .eb-woo-product-content-wrapper { background:#f3f3ff }.eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image { transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s; overflow:hidden }false.eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image a:after { background:rgb(0 0 0 / 25%) }.eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image { height:auto }.eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery.list-preset-1 .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image { height:100% }.eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery .eb-woo-product { transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery { margin-left:-7.5px; margin-right:-7.5px; margin-bottom:-15px }.eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col, .eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col { padding-left:7.5px; padding-right:7.5px; margin-bottom:15px }.eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery.list-preset-1 .eb-woo-products-col { margin-bottom:15px }.eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery.list-preset-1 .eb-woo-product .eb-woo-product-content-wrapper .eb-woo-product-content .eb-woo-product-details { order:4; color:var(\\u002d\\u002deb-global-text-color) }.eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery.list-preset-1 .eb-woo-product-image-wrapper { margin-right:10px }.eb-woo-products-wrapper.eb-woo-product-jvj3a .ebpg-pagination { text-align:center }.eb-woo-products-wrapper.eb-woo-product-jvj3a .ebpg-pagination button { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-button-background-color); padding-top:5px; padding-right:10px; padding-left:10px; padding-bottom:5px; margin-top:10px; margin-right:5px; margin-left:5px; margin-bottom:10px; font-size:14px; border-width:1px; border-color:#c3c3c3; border-style:solid; border-radius:4px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-woo-products-wrapper.eb-woo-product-jvj3a .ebpg-pagination button:hover { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-tertiary-color) }.eb-woo-products-wrapper.eb-woo-product-jvj3a .ebpg-pagination button.ebpg-pagination-item.active { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-primary-color) }\\n\\t\\t\\n\\t    .eb-woo-product-jvj3a.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper {\\n\\t\\t\\t\\n\\t\\t}\\n\\t\\t.eb-woo-product-jvj3a.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper .eb-woo-product-sold-count {\\n\\t\\t\\t\\n               \\n               \\n               \\n               \\n               \\n               \\n               \\n               \\n          \\n\\t\\t\\t\\n             \\n        \\n            \\n\\t\\t\\t\\n\\t\\t}\\n\\n\\t\\t.eb-woo-product-jvj3a.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper .eb-woo-product-sold-container {\\n\\t\\t\\theight:10px;\\n\\t\\t\\t\\n\\t\\t}\\n\\n\\t\\t.eb-woo-product-jvj3a.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper .eb-woo-product-sold-bar {\\n\\t\\t\\theight:10px;\\n\\t\\t\\t\\n\\t\\t}\\n\\t\\n\\t\\t\\n\\t\\t\\n\\t\\n\\t","tab":".eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery { margin-left:-5px; margin-right:-5px; margin-bottom:-10px }.eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col { flex:0 0 33.333333333333336%; max-width:33.333333333333336% }.eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery { margin-left:-5px; margin-right:-5px }.eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col, .eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col { padding-left:5px; padding-right:5px; margin-bottom:10px }.eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery.list-preset-1 .eb-woo-products-col { margin-bottom:10px }\\n\\t\\t\\n\\t\\t.eb-woo-product-jvj3a.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper .eb-woo-product-sold-count {\\n\\t\\t\\t\\n               \\n               \\n               \\n          \\n\\t\\t\\t\\n                 \\n    \\n            \\n\\t\\t}\\n\\n\\t\\t.eb-woo-product-jvj3a.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper .eb-woo-product-sold-container {\\n\\t\\t\\t\\n\\t\\t}\\n\\n\\t\\t.eb-woo-product-jvj3a.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper .eb-woo-product-sold-bar {\\n\\t\\t\\t\\n\\t\\t}\\n\\t\\n\\t\\t\\n\\t\\t\\n\\t\\n\\t","mobile":".eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery { margin-left:-0px; margin-right:-0px; margin-bottom:-0px }.eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col { flex:0 0 100%; max-width:100% }.eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col, .eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col { padding-left:0px; padding-right:0px; margin-bottom:0px }.eb-woo-products-wrapper.eb-woo-product-jvj3a .eb-woo-products-gallery.list-preset-1 .eb-woo-products-col { margin-bottom:0px }\\n\\t\\t\\n\\t\\t.eb-woo-product-jvj3a.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper .eb-woo-product-sold-count {\\n\\t\\t\\t\\n               \\n               \\n               \\n          \\n\\t\\t\\t\\n                 \\n    \\n            \\n\\t\\t}\\n\\t\\t.eb-woo-product-jvj3a.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper .eb-woo-product-sold-container {\\n\\t\\t\\t\\n\\t\\t}\\n\\t\\t.eb-woo-product-jvj3a.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper .eb-woo-product-sold-bar {\\n\\t\\t\\t\\n\\t\\t}\\n\\t\\n\\t\\t\\n\\t\\t\\n\\t\\n\\t"},"queryData":{"source":"products","rest_base":"products","rest_namespace":"wc/v3","category":"","tag":"","per_page":"4","offset":"0","orderby":"[{\\u0022label\\u0022:\\u0022Date\\u0022,\\u0022value\\u0022:\\u0022date\\u0022}]","order":"[{\\u0022label\\u0022:\\u0022Descending\\u0022,\\u0022value\\u0022:\\u0022desc\\u0022}]"},"layout":"list","titleColor":"#444444","priceColor":"#3f05e9","contentAlignment":"left","contentBackgroundColor":"#f3f3ff","autoHeight":true,"loadMoreOptions":{"enableMorePosts":false,"loadMoreType":"1","loadMoreButtonTxt":"Load More","alignment":"center","prevTxt":"\\u003c","nextTxt":"\\u003e","totalPosts":"18"},"enableContents":["title","price","rating","description","button"],"commonStyles":{"desktop":".wp-admin .eb-parent-eb-woo-product-jvj3a { display:block; opacity:1 }.eb-parent-eb-woo-product-jvj3a { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-woo-product-jvj3a { display:block; opacity:1 }.eb-parent-eb-woo-product-jvj3a { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-woo-product-jvj3a { display:block; opacity:1 }.eb-parent-eb-woo-product-jvj3a { display:block }"}} /--\x3e'}];function KY(e){return KY="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},KY(e)}function eJ(){return eJ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},eJ.apply(null,arguments)}function tJ(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function aJ(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?tJ(Object(a),!0).forEach((function(t){nJ(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):tJ(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function nJ(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=KY(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=KY(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==KY(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function oJ(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,r,c,l=[],i=!0,s=!1;try{if(r=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;i=!1}else for(;!(i=(n=r.call(a)).done)&&(l.push(n.value),l.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{if(!i&&null!=a.return&&(c=a.return(),Object(c)!==c))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return rJ(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?rJ(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function rJ(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}var cJ=window.EBControls,lJ=cJ.WoocommerceQuery,iJ=cJ.BlockProps,sJ=cJ.BrowseTemplate;const bJ=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Woo Product Grid","name":"essential-blocks/woo-product-grid","category":"essential-blocks","description":"Display WooCommerce products in a stunning, organized layout & help customers with EB Woo Product Grid.","apiVersion":2,"textdomain":"essential-blocks","editorScript":"essential-blocks-editor-script","supports":{"anchor":true,"align":["wide","full"]}}');var pJ;(0,EBControls.ebConditionalRegisterBlockType)(bJ,{icon:ZY,attributes:MY,keywords:[(0,Y.__)("WooCommerce Product","essential-blocks"),(0,Y.__)("Grid","essential-blocks"),(0,Y.__)("List","essential-blocks")],edit:function(e){var t,a,n=e.attributes,o=e.setAttributes,r=(e.className,e.clientId,e.isSelected),c=n.blockId,l=n.queryData,i=n.layout,s=n.gridPreset,b=n.listPreset,p=n.saleBadgeAlign,u=n.saleText,d=n.showRating,m=n.showPrice,g=n.showSaleBadge,f=n.isCustomCartBtn,y=n.simpleCartText,v=n.variableCartText,h=n.groupedCartText,w=n.externalCartText,k=n.defaultCartText,R=n.productDescLength,_=n.loadMoreOptions,E=n.classHook,C=n.cover,x=n.ratingStyle,S=n.enableContents,B=n.showBlockContent,T=oJ((0,J.useState)(!1),2),N=T[0],P=T[1],O=oJ((0,J.useState)(!1),2),M=O[0],D=O[1],j=null===(t=EssentialBlocksLocalize)||void 0===t||null===(t=t.get_plugins["woocommerce/woocommerce.php"])||void 0===t?void 0:t.active,I=function(e){return S.includes(e)},A=aJ(aJ({},e),{},{blockPrefix:"eb-woo-product",style:React.createElement(RY,eJ({},e,{isContentEnabled:I}))});(0,J.useEffect)((function(){setTimeout((function(){D(!0)}),1500)}),[]);var L=function(e){switch(e){case"external":return w;case"grouped":return h;case"simple":return y;case"variable":return v;default:return k}},F=function(e){for(var t="",a=1;a<=5;a++)t+=a<=e?'<span class="eb-woo-product-rating filled"><i class="fas fa-star"></i></span>':'<span class="eb-woo-product-rating"><i class="far fa-star"></i></span>';return t},H="grid"===i?s:b;return C.length?React.createElement("div",null,React.createElement("img",{src:C,alt:"woo product grid",style:{maxWidth:"100%"}})):React.createElement(React.Fragment,null,r&&B&&React.createElement(GY,{attributes:n,setAttributes:o,setQueryResults:P}),B&&!1===M&&React.createElement(React.Fragment,null,!1===N&&React.createElement("div",{className:"eb-loading"},React.createElement("img",{src:"".concat(null===(a=EssentialBlocksLocalize)||void 0===a?void 0:a.image_url,"/ajax-loader.gif"),alt:"Loading..."})),React.createElement(lJ,{isEdit:!0,title:"Product Query",initialOpen:!1,queryData:l,setQueryResults:P,setAttributes:o})),React.createElement(iJ.Edit,A,!j&&React.createElement("div",null,React.createElement("strong",null,"WooCommerce")," is not installed/activated on your site. Please install and activate"," ",React.createElement("a",{href:EssentialBlocksLocalize.eb_admin_url+"plugin-install.php?s=woocommerce&tab=search&type=term",target:"_blank"},"WooCommerce")," ","first."),j&&React.createElement(React.Fragment,null,React.createElement(RY,eJ({},e,{isContentEnabled:I})),React.createElement(sJ,eJ({},e,{Icon:ZY,title:"Woo Product Grid",description:"Choose a template for the Woo Product Grid or start blank.",patterns:$Y})),B&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(c," ").concat(E)},!1!==N&&React.createElement("div",{className:"eb-woo-products-wrapper ".concat(c),"data-id":c},(0,Qo.applyFilters)("eb_woo_product_grid_pro_taxonomy_filter_html","",n,o),React.createElement("div",{className:"eb-woo-products-gallery ".concat(H)},"object"===KY(N)&&N.length>0&&N.map((function(e,t){var a;return React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-woo-products-col",key:t},React.createElement("div",{className:"eb-woo-product"},React.createElement("div",{className:"eb-woo-product-image-wrapper"},React.createElement("div",{className:"eb-woo-product-image"},e.image?React.createElement("a",{href:"#"},React.createElement("img",{src:e.image.large})):React.createElement("a",{href:"#"},React.createElement("img",{src:null===(a=EssentialBlocksLocalize)||void 0===a?void 0:a.placeholder_image,alt:"No preview available"})),g&&e.sale&&React.createElement("span",{className:"eb-woo-product-ribbon ".concat(p)},u)),"grid"===i&&React.createElement("div",{className:"eb-woo-product-overlay"},React.createElement("div",{className:"eb-woo-product-button-list"},React.createElement("a",{className:"eb-woo-product-button button"},f?L(e.type):e.add_to_cart_text)))),"grid"===i&&React.createElement("div",{className:"eb-woo-product-content-wrapper","data-rating":Math.round(e.rating_average)},React.createElement("div",{className:"eb-woo-product-content"},d&&e.rating_average&&"star"===x&&React.createElement("div",{className:"eb-woo-product-rating-wrapper",dangerouslySetInnerHTML:{__html:F(parseInt(e.rating_average))}}),d&&e.rating_average&&"number"===x&&React.createElement("div",{className:"eb-woo-product-rating-wrapper"},React.createElement("span",{class:"eb-woo-product-rating filled"},React.createElement("i",{class:"fas fa-star"})," ",e.rating_average)),React.createElement("h3",{className:"eb-woo-product-title",dangerouslySetInnerHTML:{__html:e.title}}),m&&React.createElement("p",{className:"eb-woo-product-price",dangerouslySetInnerHTML:{__html:e.price_html}}),(0,Qo.applyFilters)("eb_woo_product_grid_pro_sold_count_html","",n,o,e))),"list"===i&&React.createElement("div",{className:"eb-woo-product-content-wrapper","data-rating":Math.round(e.rating_average)},React.createElement("div",{className:"eb-woo-product-content"},React.createElement("h3",{className:"eb-woo-product-title",dangerouslySetInnerHTML:{__html:e.title}}),m&&React.createElement("p",{className:"eb-woo-product-price",dangerouslySetInnerHTML:{__html:e.price_html}}),d&&e.rating_average&&"star"===x&&React.createElement("div",{className:"eb-woo-product-rating-wrapper",dangerouslySetInnerHTML:{__html:F(parseInt(e.rating_average))}}),d&&e.rating_average&&"number"===x&&React.createElement("div",{className:"eb-woo-product-rating-wrapper"},React.createElement("span",{class:"eb-woo-product-rating filled"},React.createElement("i",{class:"fas fa-star"})," ",e.rating_average)),(0,Qo.applyFilters)("eb_woo_product_grid_pro_sold_count_html","",n,o,e),React.createElement("p",{className:"eb-woo-product-details"},e.excerpt.split(" ").slice(0,Math.abs(parseInt(R))).join(" ")),React.createElement("div",{className:"eb-woo-product-button-list"},React.createElement("a",{className:"eb-woo-product-button button"},f?L(e.type):e.add_to_cart_text)))))))})),"object"===KY(N)&&N.length<=0&&React.createElement(React.Fragment,null,React.createElement("p",null,(0,Y.__)("No product found","essential-blocks")))),void 0!==N&&N.length>0&&void 0!==_&&_.enableMorePosts&&React.createElement("div",{className:"ebpg-pagination ".concat("3"===_.loadMoreType?"prev-next-btn":"")},"1"===_.loadMoreType&&React.createElement("button",{className:"btn ebpg-pagination-button"},_.loadMoreButtonTxt),("2"===_.loadMoreType||"3"===_.loadMoreType)&&React.createElement("div",{className:"btn ebpg-pagination-page",dangerouslySetInnerHTML:{__html:function(e,t){var a=Math.floor(e.totalPosts/t),n="";n+='<button class="ebpg-pagination-item-previous">'.concat(e.prevTxt,"</button>");for(var o=1;o<=a;o++)1===o?n+='<button class="ebpg-pagination-item active">'.concat(o,"</button>"):o<=3?n+='<button class="ebpg-pagination-item">'.concat(o,"</button>"):o===a?(n+='<button class="ebpg-pagination-item-separator">...</button>',n+='<button class="ebpg-pagination-item">'.concat(o,"</button>")):n+="";return n+'<button class="ebpg-pagination-item-next">'.concat(e.nextTxt,"</button>")}(_,l.per_page)}}))))))))},save:function(){return null},example:{attributes:{cover:"".concat(null===(pJ=EssentialBlocksLocalize)||void 0===pJ?void 0:pJ.image_url,"/block-preview/woo-product-grid.jpg")}}});var uJ=a(3803),dJ=a(2642);const mJ=window.wp.notices;var gJ="wrprBg",fJ="wrpMargin",yJ="wrpPadding",vJ="wrpBorderShadow",hJ="width",wJ="height",kJ="imgBorderShadow",RJ="captionMargin",_J="captionPadding",EJ="captionTypo",CJ="captionWidth",xJ="textAlign",SJ="imageAlign",BJ=[{label:(0,Y.__)("Top","essential-blocks"),value:"top"},{label:(0,Y.__)("Middle","essential-blocks"),value:"middle"},{label:(0,Y.__)("Bottom","essential-blocks"),value:"bottom"}],TJ=[{label:(0,Y.__)("Top","essential-blocks"),value:"top"},{label:(0,Y.__)("Bottom","essential-blocks"),value:"bottom"}],NJ=[{label:(0,Y.__)("Left","essential-blocks"),value:"left"},{label:(0,Y.__)("Center","essential-blocks"),value:"center"},{label:(0,Y.__)("Right","essential-blocks"),value:"right"}],PJ=[{label:(0,Y.__)("Left","essential-blocks"),value:"left"},{label:(0,Y.__)("Right","essential-blocks"),value:"right"},{label:(0,Y.__)("Center","essential-blocks"),value:"center"},{label:(0,Y.__)("Justify","essential-blocks"),value:"justify"}],OJ=[{label:(0,Y.__)("Left","essential-blocks"),value:"0"},{label:(0,Y.__)("Center","essential-blocks"),value:"0 auto"},{label:(0,Y.__)("Right","essential-blocks"),value:"0 0 0 auto"}],MJ=[{label:(0,Y.__)("No Effect","essential-blocks"),value:"no-effect"},{label:(0,Y.__)("Zoom In","essential-blocks"),value:"zoom-in"},{label:(0,Y.__)("Zoom Out","essential-blocks"),value:"zoom-out"},{label:(0,Y.__)("Slide","essential-blocks"),value:"slide"},{label:(0,Y.__)("Blur","essential-blocks"),value:"blur"}],DJ=[{label:"px",value:"px"},{label:"%",value:"%"}],jJ=[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"}],IJ=[{label:(0,Y.__)("Rounded","essential-blocks"),value:"rounded"},{label:(0,Y.__)("Square","essential-blocks"),value:"square"},{label:(0,Y.__)("Circle","essential-blocks"),value:"circle"},{label:(0,Y.__)("Octagon","essential-blocks"),value:"octagon"},{label:(0,Y.__)("Rhombus","essential-blocks"),value:"rhombus"},{label:(0,Y.__)("Triangle","essential-blocks"),value:"triangle"}],AJ=[{label:(0,Y.__)("Style 1","essential-blocks"),value:"caption-style-1"},{label:(0,Y.__)("Style 2","essential-blocks"),value:"caption-style-2"}],LJ=[{label:(0,Y.__)("Fill","essential-blocks"),value:"fill"},{label:(0,Y.__)("Contain","essential-blocks"),value:"contain"},{label:(0,Y.__)("Cover","essential-blocks"),value:"cover"}],FJ=[{label:(0,Y.__)("Site Logo","essential-blocks"),value:"site-logo"},{label:(0,Y.__)("Featured Image","essential-blocks"),value:"featured-img"},{label:(0,Y.__)("Custom","essential-blocks"),value:"custom"}],HJ="captionTypo";function zJ(e){return zJ="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},zJ(e)}function qJ(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function UJ(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?qJ(Object(a),!0).forEach((function(t){VJ(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):qJ(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function VJ(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=zJ(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=zJ(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==zJ(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var WJ=window.EBControls,GJ=WJ.generateDimensionsAttributes,ZJ=WJ.generateTypographyAttributes,YJ=WJ.generateBackgroundAttributes,JJ=WJ.generateBorderShadowAttributes,QJ=WJ.generateResponsiveRangeAttributes,XJ=WJ.generateResponsiveAlignAttributes;const $J=UJ(UJ(UJ(UJ(UJ(UJ(UJ(UJ(UJ(UJ(UJ(UJ(UJ({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},image:{type:"object",default:{id:"",url:"",alt:""}},imageSize:{type:"string"},imageCaption:{type:"string"},selectedImgIndex:{type:"number"},displayCaption:{type:"boolean",default:!1},captionColor:{type:"string",default:"var(--eb-global-primary-color)"},captionBGColor:{type:"string",default:"var(--eb-global-background-color)"},horizontalAlign:{type:"string",default:"center"},verticalAlign:{type:"string",default:"bottom"},verticalAlignCap2:{type:"string",default:"bottom"},hoverEffect:{type:"string",default:"no-effect"},stylePreset:{type:"string",default:"rounded"},complexStyle:{type:"boolean",default:!1},captionStyle:{type:"string",default:"caption-style-1"},autoFit:{type:"boolean",default:!0},fitStyles:{type:"string",default:"cover"},enableLink:{type:"boolean",default:!1},imageLink:{type:"string",default:""},openInNewTab:{type:"boolean",default:!1},autoHeight:{type:"boolean",default:!0},imgSource:{type:"string"},logoUrl:{type:"string",default:""},shouldSyncIcon:{type:"boolean",default:!1},rel:{type:"string",attribute:"rel",default:""},imagePostId:{type:"number",default:0}},ZJ(Object.values(P))),GJ(fJ)),GJ(yJ)),GJ(RJ,{top:0,bottom:0,right:0,left:0,isLinked:!1})),GJ(_J,{top:15,bottom:15,right:10,left:10,isLinked:!1})),JJ(vJ,{bdrDefaults:{top:0,bottom:0,right:0,left:0}})),JJ(kJ,{defaultBdrColor:"#AE62D1",bdrDefaults:{top:0,bottom:0,right:0,left:0},rdsDefaults:{top:15,bottom:15,right:15,left:15}})),YJ(gJ,{defaultBgGradient:"linear-gradient(45deg,#ffffff,#ffffff)",noOverlay:!0})),QJ(hJ,{})),QJ(wJ,{})),QJ(CJ)),XJ(xJ,{defaultAlign:"center",defaultTabAlign:"center",defaultMobileAlign:"center"})),XJ(SJ,{defaultAlign:"0 auto",defaultTabAlign:"0 auto",defaultMobileAlign:"0 auto"}));var KJ=window.EBControls,eQ=KJ.ResponsiveDimensionsControl,tQ=KJ.TypographyDropdown,aQ=KJ.BorderShadowControl,nQ=KJ.ResponsiveRangeController,oQ=KJ.BackgroundControl,rQ=KJ.ColorControl,cQ=KJ.EbImageSizeSelector,lQ=KJ.AdvancedControls,iQ=KJ.DynamicInputControl,sQ=KJ.ResponsiveAlignControl;const bQ=function(e){var t=e.attributes,a=e.setAttributes,n=t.resOption,o=t.displayCaption,r=t.captionColor,c=t.captionBGColor,l=t.horizontalAlign,i=t.verticalAlign,s=t.verticalAlignCap2,b=(t.textAlign,t.stylePreset),p=t.enableLink,u=t.openInNewTab,d=t.imageLink,m=t.captionStyle,g=t.hoverEffect,f=t.complexStyle,y=t.autoFit,v=(t.imageSize,t.fitStyles),h=t.autoHeight,w=t.imgSource,k={setAttributes:a,resOption:n,attributes:t,objAttributes:$J};return React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:"General",className:"eb-tab general"},{name:"styles",title:"Style",className:"eb-tab styles"},{name:"advance",title:"Advanced",className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls"+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("General","essential-blocks"),initialOpen:!0},React.createElement(X.SelectControl,{label:(0,Y.__)("Source","essential-blocks"),value:w,options:FJ,onChange:function(e){return function(e){switch(e){case"site-logo":a({imgSource:e,displayCaption:!1,enableLink:!0,widthRange:120,widthUnit:"px",imgBorderShadowborderStyle:"none",imgBorderShadowRds_Bottom:"0",imgBorderShadowRds_Left:"0",imgBorderShadowRds_Right:"0",imgBorderShadowRds_Top:"0",hoverEffect:"no-effect"});break;case"featured-img":a({imgSource:e,displayCaption:!1,enableLink:!0,widthRange:"",imgBorderShadowborderStyle:"solid",imgBorderShadowRds_Bottom:"15",imgBorderShadowRds_Left:"15",imgBorderShadowRds_Right:"15",imgBorderShadowRds_Top:"15",hoverEffect:"no-effect"});break;case"custom":a({imgSource:e,displayCaption:!0,enableLink:!1,widthRange:"",imgBorderShadowborderStyle:"solid",imgBorderShadowRds_Bottom:"15",imgBorderShadowRds_Left:"15",imgBorderShadowRds_Right:"15",imgBorderShadowRds_Top:"15",hoverEffect:"zoom-in"});break;default:return!1}}(e)}}),"site-logo"!==w&&React.createElement(X.SelectControl,{label:(0,Y.__)("Styles","essential-blocks"),description:(0,Y.__)("Border won't work","essential-blocks"),value:b,options:IJ,onChange:function(e){return function(e){switch(a({stylePreset:e}),["octagon","rhombus","triangle"].includes(e)?a({complexStyle:!0}):a({complexStyle:!1}),e){case"rounded":a({imgBorderShadowRds_Bottom:"15",imgBorderShadowRds_Top:"15",imgBorderShadowRds_Left:"15",imgBorderShadowRds_Right:"15",imgBorderShadowRds_Unit:"px"});break;case"square":a({imgBorderShadowRds_Bottom:"0",imgBorderShadowRds_Top:"0",imgBorderShadowRds_Left:"0",imgBorderShadowRds_Right:"0",imgBorderShadowRds_Unit:"px"});break;case"circle":a({imgBorderShadowRds_Bottom:"50",imgBorderShadowRds_Top:"50",imgBorderShadowRds_Left:"50",imgBorderShadowRds_Right:"50",imgBorderShadowRds_Unit:"%"});break;default:return!1}}(e)}}),"circle"===b&&React.createElement(X.PanelRow,null,React.createElement("em",null,'Please use equal "Height" & "Width" for perfect Circle shape.')),"custom"===w&&React.createElement(X.ToggleControl,{label:(0,Y.__)("Display Caption","essential-blocks"),checked:o,onChange:function(){return a({displayCaption:!o})}}),o&&React.createElement(X.SelectControl,{label:(0,Y.__)("Caption Styles","essential-blocks"),value:m,options:AJ,onChange:function(e){return function(e){switch(e){case"caption-style-1":a({captionStyle:e,captionColor:"#ffffff"});break;case"caption-style-2":a({captionStyle:e,captionColor:"#000000"});break;default:a({captionStyle:e})}}(e)}}),"site-logo"!==w&&React.createElement(cQ,{attrName:"imageSize",resRequiredProps:k,label:"Image Size"}),React.createElement(nQ,{baseLabel:(0,Y.__)("Width","essential-blocks"),controlName:hJ,resRequiredProps:k,min:1,max:2e3,step:1,units:jJ}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Auto Height","essential-blocks"),checked:h,onChange:function(e){return a({autoHeight:e})}}),!h&&React.createElement(nQ,{baseLabel:(0,Y.__)("Height","essential-blocks"),controlName:wJ,resRequiredProps:k,min:0,max:1e3,step:1,units:jJ}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Auto Fit Image?","essential-blocks"),checked:y,onChange:function(e){return a({autoFit:e})}}),"site-logo"!==w&&y&&React.createElement(X.SelectControl,{label:(0,Y.__)("Image Fit Options","essential-blocks"),value:v,options:LJ,onChange:function(e){return a({fitStyles:e})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Enable Link?","essential-blocks"),checked:p,onChange:function(e){return a({enableLink:e})}}),"custom"===w&&p&&React.createElement(React.Fragment,null,React.createElement(iQ,{label:(0,Y.__)("Link","essential-blocks"),attrName:"imageLink",inputValue:d,setAttributes:a,onChange:function(e){return a({imageLink:e})}})),p&&React.createElement(X.ToggleControl,{label:(0,Y.__)("Open in New Tab","essential-blocks"),checked:u,onChange:function(e){return a({openInNewTab:e})}}),React.createElement(X.SelectControl,{label:(0,Y.__)("Hover Effect","essential-blocks"),value:g,options:MJ,onChange:function(e){return a({hoverEffect:e})}}))),"styles"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Image Settings","essential-blocks")},React.createElement(sQ,{baseLabel:(0,Y.__)("Image Align","essential-blocks"),controlName:SJ,resRequiredProps:k,options:OJ,resOption:n}),!f&&React.createElement(React.Fragment,null,React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Border","essential-blocks"))),React.createElement(aQ,{controlName:kJ,resRequiredProps:k})),f&&React.createElement(X.PanelRow,null,React.createElement("em",null,"Border Style doesn't support for \"",b,' style".'))),o&&React.createElement(X.PanelBody,{title:(0,Y.__)("Caption Styles","essential-blocks")},React.createElement(rQ,{label:(0,Y.__)("Text Color","essential-blocks"),color:r,onChange:function(e){return a({captionColor:e})}}),o&&"caption-style-2"!=m&&React.createElement(rQ,{label:(0,Y.__)("Background Color","essential-blocks"),color:c,onChange:function(e){return a({captionBGColor:e})},isGradient:!0}),React.createElement(tQ,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:EJ,resRequiredProps:k}),React.createElement(nQ,{baseLabel:(0,Y.__)("Width","essential-blocks"),controlName:CJ,resRequiredProps:k,units:DJ,min:0,max:300,step:1}),o&&React.createElement(React.Fragment,null,React.createElement(sQ,{baseLabel:(0,Y.__)("Text Align","essential-blocks"),controlName:xJ,resRequiredProps:k,options:PJ,resOption:n}),"caption-style-1"===m&&React.createElement(React.Fragment,null,React.createElement(X.BaseControl,{label:(0,Y.__)("Horizontal Align","essential-blocks")},React.createElement(X.ButtonGroup,null,NJ.map((function(e){return React.createElement(X.Button,{isPrimary:l===e.value,isSecondary:l!==e.value,onClick:function(){return a({horizontalAlign:e.value})}},e.label)})))),React.createElement(X.BaseControl,{label:(0,Y.__)("Vertical Align","essential-blocks")},React.createElement(X.ButtonGroup,null,BJ.map((function(e){return React.createElement(X.Button,{isPrimary:i===e.value,isSecondary:i!==e.value,onClick:function(){return a({verticalAlign:e.value})}},e.label)}))))),"caption-style-2"===m&&React.createElement(X.BaseControl,{label:(0,Y.__)("Vertical Align","essential-blocks")},React.createElement(X.ButtonGroup,null,TJ.map((function(e){return React.createElement(X.Button,{isPrimary:s===e.value,isSecondary:s!==e.value,onClick:function(){return a({verticalAlignCap2:e.value})}},e.label)})))),React.createElement(eQ,{resRequiredProps:k,controlName:RJ,baseLabel:"Margin"}),React.createElement(eQ,{resRequiredProps:k,controlName:_J,baseLabel:"Padding"})))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,null,React.createElement(eQ,{resRequiredProps:k,controlName:fJ,baseLabel:"Margin"}),React.createElement(eQ,{resRequiredProps:k,controlName:yJ,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Background","essential-blocks"),initialOpen:!1},React.createElement(oQ,{controlName:gJ,resRequiredProps:k,noOverlay:!0})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(aQ,{controlName:vJ,resRequiredProps:k})),React.createElement(lQ,{attributes:t,setAttributes:a})))}))))};var pQ=window.EBControls,uQ=pQ.softMinifyCssStrings,dQ=pQ.generateTypographyStyles,mQ=pQ.generateDimensionsControlStyles,gQ=pQ.generateBorderShadowStyles,fQ=pQ.generateResponsiveRangeStyles,yQ=pQ.generateBackgroundControlStyles,vQ=pQ.generateResponsiveAlignStyles,hQ=pQ.StyleComponent;function wQ(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=(t.resOption,t.blockId),r=(t.blockMeta,t.image),c=t.displayCaption,l=t.captionColor,i=t.captionBGColor,s=t.complexStyle,b=t.autoFit,p=t.fitStyles,u=t.autoHeight,d=r.url;(0,J.useEffect)((function(){d&&0==j.length&&a({widthRange:r.width,widthUnit:"px",heightRange:r.height,heightUnit:"px"})}),[d]);var m=dQ({attributes:t,prefixConstant:EJ,defaultFontSize:13}),g=m.typoStylesDesktop,f=m.typoStylesTab,y=m.typoStylesMobile,v=mQ({controlName:fJ,styleFor:"margin",attributes:t}),h=v.dimensionStylesDesktop,w=v.dimensionStylesTab,k=v.dimensionStylesMobile,R=mQ({controlName:yJ,styleFor:"padding",attributes:t}),_=R.dimensionStylesDesktop,E=R.dimensionStylesTab,C=R.dimensionStylesMobile,x=mQ({controlName:RJ,styleFor:"margin",attributes:t}),S=x.dimensionStylesDesktop,B=x.dimensionStylesTab,T=x.dimensionStylesMobile,N=mQ({controlName:_J,styleFor:"padding",attributes:t}),P=N.dimensionStylesDesktop,O=N.dimensionStylesTab,M=N.dimensionStylesMobile,D=fQ({controlName:hJ,property:"",attributes:t}),j=D.rangeStylesDesktop,I=D.rangeStylesTab,A=D.rangeStylesMobile,L=vQ({controlName:SJ,property:"margin",attributes:t}),F=L.alignStylesDesktop,H=L.alignStylesTab,z=L.alignStylesMobile,q=vQ({controlName:xJ,property:"text-align",attributes:t}),U=q.alignStylesDesktop,V=q.alignStylesTab,W=q.alignStylesMobile,G=fQ({controlName:wJ,property:"",attributes:t}),Z=G.rangeStylesDesktop,Y=G.rangeStylesTab,Q=G.rangeStylesMobile,X=fQ({controlName:CJ,property:"width",attributes:t}),$=X.rangeStylesDesktop,K=X.rangeStylesTab,ee=X.rangeStylesMobile,te=yQ({attributes:t,controlName:gJ,noOverlay:!0}),ae=te.backgroundStylesDesktop,ne=te.hoverBackgroundStylesDesktop,oe=te.backgroundStylesTab,re=te.hoverBackgroundStylesTab,ce=te.backgroundStylesMobile,le=te.hoverBackgroundStylesMobile,ie=te.bgTransitionStyle,se=gQ({controlName:vJ,attributes:t}),be=se.styesDesktop,pe=se.styesTab,ue=se.styesMobile,de=se.stylesHoverDesktop,me=se.stylesHoverTab,ge=se.stylesHoverMobile,fe=se.transitionStyle,ye=gQ({controlName:kJ,attributes:t}),ve=ye.styesDesktop,he=ye.styesTab,we=ye.styesMobile,ke=ye.stylesHoverDesktop,Re=ye.stylesHoverTab,_e=ye.stylesHoverMobile,Ee=ye.transitionStyle,Ce="\n\t\t.eb-advanced-image-wrapper.".concat(o,"{\n\t\t\t").concat(h,"\n\t\t\t").concat(_,"\n\t\t\t").concat(be,"\n\t\t\t").concat(ae,"\n\t\t\ttransition:").concat(ie,", ").concat(fe,";\n\t\t}\n\t\t.eb-advanced-image-wrapper.").concat(o,":hover {\n\t\t\t").concat(de,"\n\t\t\t").concat(ne,"\n\t\t}\n\t"),xe="\n\t\t.eb-advanced-image-wrapper.".concat(o,"{\n\t\t\t").concat(w,"\n\t\t\t").concat(E,"\n\t\t\t").concat(pe,"\n\t\t\t").concat(oe,"\n\t\t}\n\t\t.eb-advanced-image-wrapper.").concat(o,":hover {\n\t\t\t").concat(me,"\n\t\t\t").concat(re,"\n\t\t}\n\t"),Se="\n\t\t.eb-advanced-image-wrapper.".concat(o,"{\n\t\t\t").concat(k,"\n\t\t\t").concat(C,"\n\t\t\t").concat(ue,"\n\t\t\t").concat(ce,"\n\t\t}\n\t\t.eb-advanced-image-wrapper.").concat(o,":hover {\n\t\t\t").concat(ge,"\n\t\t\t").concat(le,"\n\t\t}\n\t"),Be="\n\t\t.eb-advanced-image-wrapper.".concat(o," .image-wrapper{\n\t\t\twidth").concat(j,";\n\t\t\t").concat(u?"height: auto;":"height".concat(Z),";\n\t\t\t").concat(s?"":ve,"\n\t\t\ttransition: transform 0.5s, ").concat(Ee,";\n\t\t\t").concat(F,"\n\t\t}\n\n\t\t.eb-advanced-image-wrapper.").concat(o," .image-wrapper img{\n\t\t\ttransition: transform 0.5s, ").concat(Ee,";\n\t\t\t").concat(b?"object-fit: ".concat(p,";"):"","\n            ").concat(j?"width: 100%":"","\n\t\t}\n\n\t\t.eb-advanced-image-wrapper.").concat(o," figcaption{\n\t\t\tcolor: ").concat(l,";\n\t\t\t").concat(U,"\n\t\t\t").concat(S,"\n\t\t\t").concat(P,"\n\t\t\t").concat(g,"\n\t\t\t").concat($,"\n\t\t}\n\t\t.eb-advanced-image-wrapper.").concat(o,".caption-style-1 figcaption {\n\t\t\tbackground: ").concat(i,";\n\t\t}\n\t\t.eb-advanced-image-wrapper.").concat(o," .image-wrapper:hover {\n\t\t\t").concat(s?"":ke,"\n\t\t}\n\t\t").concat(c?"":" .eb-advanced-image-wrapper.".concat(o," figcaption {display:none;} "),"\n\t"),Te="\n\t\t.eb-advanced-image-wrapper.".concat(o," .image-wrapper{\n\t\t\twidth").concat(I||j,";\n\t\t\theight").concat(Y||Z,";\n            ").concat(H,"\n\t\t}\n\t\t.eb-advanced-image-wrapper.").concat(o," .image-wrapper img{\n\t\t\t").concat(s?"":he,"\n            ").concat(I?"width: 100%":"","\n\t\t}\n\t\t.eb-advanced-image-wrapper.").concat(o," .image-wrapper:hover {\n\t\t\t").concat(s?"":Re,"\n\t\t}\n\t\t.eb-advanced-image-wrapper.").concat(o," figcaption {\n            ").concat(V,"\n\t\t\t").concat(B,"\n\t\t\t").concat(O,"\n\t\t\t").concat(f,"\n\t\t\t").concat(K,"\n\t\t}\n\t"),Ne="\n        .eb-advanced-image-wrapper.".concat(o," .image-wrapper{\n\t\t\twidth").concat(A||j,";\n\t\t\theight").concat(Q||Z,";\n            ").concat(z,"\n\t\t}\n\t\t.eb-advanced-image-wrapper.").concat(o," .image-wrapper img{\n\t\t\t").concat(s?"":we,"\n            ").concat(A?"width: 100%":"","\n\t\t}\n\t\t.eb-advanced-image-wrapper.").concat(o," .image-wrapper:hover {\n\t\t\t").concat(s?"":_e,"\n\t\t}\n\t\t.eb-advanced-image-wrapper.").concat(o," .image-wrapper figcaption {\n\t\t\t").concat(W,"\n            ").concat(T,"\n\t\t\t").concat(M,"\n\t\t\t").concat(y,"\n\t\t\t").concat(ee,"\n\t\t}\n\t"),Pe=uQ("\n\t\t".concat(Ce,"\n\t\t").concat(Be,"\n\t")),Oe=uQ("\n\t\t".concat(xe,"\n\t\t").concat(Te,"\n\t")),Me=uQ("\n\t\t".concat(Se,"\n\t\t").concat(Ne,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(hQ,{attributes:t,setAttributes:a,desktopAllStyles:Pe,tabAllStyles:Oe,mobileAllStyles:Me,blockName:n}))}var kQ=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"60",fill:"none",viewBox:"0 0 60 60"},React.createElement("g",{fill:"#6C3BFF",clipPath:"url(#clip0_2_22605)"},React.createElement("path",{d:"M30.384 22.561a6.12 6.12 0 100 12.24 6.12 6.12 0 000-12.24zm0 9.326a3.206 3.206 0 110-6.412 3.206 3.206 0 010 6.412z"}),React.createElement("path",{d:"M54.793 8.572L15.011 4.054a5.464 5.464 0 00-4.298 1.24A5.537 5.537 0 008.6 9.081l-.729 5.974H5.612c-3.206 0-5.61 2.842-5.61 6.048v29.8a5.538 5.538 0 005.61 5.683h40c3.207 0 6.121-2.477 6.121-5.683v-1.166a7.285 7.285 0 002.769-1.166 6.048 6.048 0 002.113-3.934l3.351-29.582a5.902 5.902 0 00-5.173-6.484zM48.82 50.904c0 1.603-1.603 2.768-3.206 2.768h-40a2.623 2.623 0 01-2.697-2.768v-5.392l11.294-8.306a3.497 3.497 0 014.517.219l7.942 6.994a6.85 6.85 0 004.299 1.603 6.63 6.63 0 003.497-.947l14.354-8.306v14.135zm0-17.56l-15.884 9.254a3.716 3.716 0 01-4.299-.365l-8.014-7.067a6.485 6.485 0 00-8.088-.292L2.916 41.87V21.104c0-1.603 1.093-3.133 2.696-3.133h40a3.352 3.352 0 013.207 3.133v12.24zm8.236-18.681l-.003.029-3.425 29.581a2.477 2.477 0 01-.947 1.968c-.291.291-.947.437-.947.583v-25.72a6.266 6.266 0 00-6.12-6.048H10.785l.656-5.683a3.352 3.352 0 011.093-1.894 3.351 3.351 0 012.186-.583l39.71 4.59a2.914 2.914 0 012.625 3.177z"})),React.createElement("defs",null,React.createElement("clipPath",{id:"clip0_2_22605"},React.createElement("path",{fill:"#fff",d:"M0 0H60V60H0z"}))))};const RQ=window.wp.blob;var _Q=["onRemoveLogo"];function EQ(){return EQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},EQ.apply(null,arguments)}function CQ(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}var xQ=function(e){var t,a,n,o=e.alt,r=e.attributes,c=r.align,l=r.shouldSyncIcon,i=r.blockId,s=r.hoverEffect,b=r.classHook,p=r.enableLink,u=e.setAttributes,d=(e.setLogo,e.logoUrl),m=e.siteUrl,g=e.logoId,f=e.iconId,y=(e.setIcon,e.canUserEdit,(0,jq.useViewportMatch)("medium")),v=!["wide","full"].includes(c)&&y,h=(a=(0,J.useState)({}),n=2,function(e){if(Array.isArray(e))return e}(a)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,r,c,l=[],i=!0,s=!1;try{if(r=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;i=!1}else for(;!(i=(n=r.call(a)).done)&&(l.push(n.value),l.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{if(!i&&null!=a.return&&(c=a.return(),Object(c)!==c))return}finally{if(s)throw o}}return l}}(a,n)||function(e,t){if(e){if("string"==typeof e)return CQ(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?CQ(e,t):void 0}}(a,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),w=h[0],k=w.naturalWidth,R=w.naturalHeight,_=h[1],E=((0,$.useDispatch)(Q.store).toggleSelection,te()("custom-logo-link",{"is-transient":(0,RQ.isBlobURL)(d)})),C=(0,$.useSelect)((function(e){var t=e(Q.store).getSettings(),a=e(cp.store).getEntityRecord("root","__unstableBase");return{title:null==a?void 0:a.name,imageEditing:t.imageEditing,maxWidth:t.maxWidth}}),[]),x=(C.imageEditing,C.maxWidth,C.title);(0,J.useEffect)((function(){l&&g!==f&&u({shouldSyncIcon:!1})}),[]);var S,B=React.createElement("img",{className:"custom-logo",src:d,alt:o,onLoad:function(e){_({naturalWidth:e.target.naturalWidth,naturalHeight:e.target.naturalHeight})}}),T=B;if(p&&(T=React.createElement("a",{href:m,className:E,rel:"home",title:x,onClick:function(e){return e.preventDefault()}},B)),k&&R&&(S=k>120?120:k),!v||!S)return React.createElement("div",{className:"test-wrap"},T);var N=React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(i," ").concat(b)},React.createElement("figure",{className:"eb-advanced-image-wrapper ".concat(i," ").concat(s),"data-id":i},React.createElement("div",{className:"image-wrapper"},T))),P=null!==(t=window)&&void 0!==t&&t.__experimentalUseCustomizerSiteLogoUrl?m+"/wp-admin/customize.php?autofocus[section]=title_tagline":m+"/wp-admin/options-general.php";return(0,J.createInterpolateElement)((0,Y.__)("Site Icons are what you see in browser tabs, bookmark bars, and within the WordPress mobile apps. To use a custom icon that is different from your site logo, use the <a>Site Icon settings</a>."),{a:React.createElement("a",{href:P,target:"_blank",rel:"noopener noreferrer"})}),React.createElement(React.Fragment,null,N)};function SQ(e){var t=e.onRemoveLogo,a=function(e,t){if(null==e)return{};var a,n,o=function(e,t){if(null==e)return{};var a={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;a[n]=e[n]}return a}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n<r.length;n++)a=r[n],t.indexOf(a)>=0||{}.propertyIsEnumerable.call(e,a)&&(o[a]=e[a])}return o}(e,_Q);return React.createElement(Q.MediaReplaceFlow,EQ({},a,{accept:"image/*",allowedTypes:["image"]}),React.createElement(X.MenuItem,{onClick:t},(0,Y.__)("Reset")))}var BQ={onClick:function(e){return e.preventDefault()},"aria-disabled":!0};function TQ(){var e;return React.createElement("div",{className:"eb-loading"},React.createElement("img",{src:"".concat(null===(e=EssentialBlocksLocalize)||void 0===e?void 0:e.image_url,"/ajax-loader.gif"),alt:"Loading..."}))}var NQ=function(){return React.createElement("svg",{width:"129",height:"90",viewBox:"0 0 129 90",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("rect",{width:"129",height:"90",rx:"4.27251",fill:"#F5F7FA"}),React.createElement("path",{d:"M77.6599 28.7519C76.7718 27.43 74.8404 27.3922 73.9013 28.6782L55.5987 53.7423C54.728 54.9346 52.9742 55.0066 52.0088 53.8895L44.3175 44.9904C43.3305 43.8484 41.5287 43.9538 40.6815 45.2032L23.4296 70.6464C22.3962 72.1703 23.4879 74.2295 25.3291 74.2295H103.906C105.743 74.2295 106.836 72.1792 105.811 70.6545L77.6599 28.7519Z",fill:"#DEE2ED"}),React.createElement("path",{d:"M54.1104 28.5914L52.2118 27.1068C52.2359 26.8778 52.2565 26.6102 52.2565 26.327C52.2565 26.0439 52.2367 25.7762 52.2118 25.5473L54.1121 24.0618C54.465 23.7829 54.5614 23.288 54.3368 22.8758L52.3624 19.4598C52.1515 19.0743 51.6894 18.8763 51.2203 19.0493L48.98 19.9487C48.5506 19.6388 48.1004 19.3772 47.6348 19.1681L47.294 16.7918C47.238 16.3408 46.8456 16 46.3817 16H42.4227C41.9588 16 41.5672 16.3408 41.5121 16.7849L41.1705 19.1698C40.7195 19.3729 40.2762 19.6311 39.8278 19.9504L37.5815 19.0485C37.1606 18.8858 36.6571 19.0682 36.448 19.4521L34.4711 22.8723C34.2379 23.2665 34.3343 23.7786 34.6949 24.0644L36.5935 25.549C36.5633 25.839 36.5487 26.0912 36.5487 26.3279C36.5487 26.5646 36.5634 26.8167 36.5935 27.1077L34.6931 28.5931C34.3403 28.8728 34.2447 29.3677 34.4694 29.7791L36.4437 33.1951C36.6546 33.5798 37.1124 33.7794 37.5858 33.6056L39.8261 32.7062C40.2547 33.0152 40.7048 33.2768 41.1705 33.4868L41.5113 35.8622C41.5672 36.3149 41.9588 36.6557 42.4236 36.6557H46.3826C46.8465 36.6557 47.2389 36.3149 47.294 35.8708L47.6357 33.4868C48.0867 33.2828 48.529 33.0255 48.9783 32.7053L51.2246 33.6073C51.333 33.6494 51.4458 33.671 51.562 33.671C51.8959 33.671 52.2032 33.4885 52.3581 33.2045L54.341 29.7705C54.5614 29.3677 54.465 28.8728 54.1104 28.5914ZM44.4022 29.7705C42.5036 29.7705 40.9596 28.2265 40.9596 26.3279C40.9596 24.4293 42.5036 22.8853 44.4022 22.8853C46.3008 22.8853 47.8448 24.4293 47.8448 26.3279C47.8448 28.2265 46.3008 29.7705 44.4022 29.7705Z",fill:"#CBD0DD"}))},PQ=function(){return React.createElement("svg",{width:"129",height:"90",viewBox:"0 0 129 90",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("rect",{width:"129",height:"90",rx:"4.27251",fill:"#F5F7FA"}),React.createElement("rect",{x:"33",y:"18",width:"30",height:"4",rx:"2",fill:"#CBD0DD"}),React.createElement("rect",{x:"69",y:"18",width:"40",height:"4",rx:"2",fill:"#CBD0DD"}),React.createElement("rect",{x:"8.03278",y:"40.7869",width:"111.311",height:"4.59016",rx:"2.29508",fill:"#DEE2ED"}),React.createElement("rect",{x:"8.03278",y:"52.2623",width:"111.311",height:"4.59016",rx:"2.29508",fill:"#DEE2ED"}),React.createElement("rect",{x:"8.03278",y:"63.7377",width:"76.8853",height:"4.59016",rx:"2.29508",fill:"#DEE2ED"}),React.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.19149 20.6281C9.23506 21.2983 9.30834 21.8283 9.49305 22.512C9.54316 22.6975 9.70561 22.8219 9.89774 22.8219H12.473C12.723 22.8219 12.9158 22.6081 12.89 22.3595C12.7379 20.8946 12.7216 19.3711 12.8427 17.8934C12.8628 17.6478 12.6713 17.44 12.425 17.44H9.89778C9.70569 17.44 9.5432 17.5644 9.49309 17.7499C9.36846 18.2114 9.2785 18.6871 9.22848 19.1739C9.18347 19.6107 9.17845 19.8943 9.1808 20.3256L9.19149 20.6281ZM13.1183 15.7531C13.2878 14.8035 13.5151 13.8946 13.7953 13.0458C13.9206 12.6663 13.4881 12.3424 13.1592 12.5694C12.0621 13.3264 11.1367 14.3157 10.4554 15.4658C10.2894 15.746 10.4904 16.0986 10.8161 16.0986H12.7057C12.9106 16.0986 13.0823 15.9548 13.1183 15.7531ZM22.2071 15.598C21.8963 14.03 21.4158 12.6012 20.7892 11.419C20.731 11.3091 20.6383 11.2371 20.5175 11.2079C19.1023 10.865 17.6146 10.8653 16.2003 11.2079C16.0795 11.2371 15.9868 11.3091 15.9286 11.419C15.3021 12.6012 14.8215 14.03 14.5108 15.598C14.4592 15.8585 14.6564 16.0986 14.922 16.0986H21.7959C22.0615 16.0986 22.2587 15.8585 22.2071 15.598ZM24.0122 16.0986H25.9018C26.2275 16.0986 26.4284 15.7461 26.2625 15.4658C25.5812 14.3156 24.6557 13.3259 23.5585 12.5691C23.2296 12.3422 22.7971 12.6661 22.9224 13.0456C23.2026 13.8944 23.43 14.8034 23.5995 15.7531C23.6355 15.9548 23.8073 16.0986 24.0122 16.0986ZM24.2449 22.8219H26.8202C27.0123 22.8219 27.1747 22.6976 27.2248 22.5121C27.3495 22.0507 27.4394 21.575 27.4894 21.088C27.5382 20.6108 27.537 20.3923 27.537 19.9179C27.537 19.7278 27.5063 19.3377 27.4894 19.1739C27.4394 18.6871 27.3494 18.2114 27.2248 17.7499C27.1747 17.5644 27.0122 17.44 26.8201 17.44H24.2929C24.0466 17.44 23.8551 17.6478 23.8752 17.8934C23.9963 19.3711 23.98 20.8945 23.8279 22.3595C23.8021 22.6082 23.9949 22.8219 24.2449 22.8219ZM23.5021 24.4981C23.3016 25.475 23.0281 26.4524 22.6801 27.3638C22.5361 27.7408 22.9581 28.084 23.2978 27.8663C24.5095 27.0898 25.5273 26.0364 26.2622 24.7961C26.4282 24.5159 26.2273 24.1632 25.9016 24.1632H23.9127C23.7116 24.1633 23.5426 24.3011 23.5021 24.4981ZM14.0377 27.3636C13.6897 26.4521 13.4163 25.475 13.2157 24.4982C13.1753 24.3011 13.0063 24.1633 12.8052 24.1633H10.8163C10.4906 24.1633 10.2897 24.5159 10.4557 24.7962C11.1906 26.0363 12.2083 27.0895 13.42 27.8661C13.7597 28.0838 14.1817 27.7406 14.0377 27.3636ZM21.6789 24.1633H15.039C14.7685 24.1633 14.5701 24.4122 14.6304 24.6759C15.0074 26.3241 15.5751 27.7949 16.298 28.9476C16.3616 29.0491 16.4541 29.1128 16.5716 29.1361C17.7516 29.3698 18.9653 29.37 20.1462 29.1361C20.2637 29.1128 20.3562 29.0491 20.4199 28.9476C21.1428 27.7949 21.7105 26.3244 22.0875 24.6759C22.1478 24.4122 21.9494 24.1633 21.6789 24.1633ZM14.1041 19.8622C14.1041 20.7417 14.1559 21.6094 14.2529 22.4508C14.2775 22.6634 14.4553 22.8219 14.6693 22.8219H22.0486C22.2626 22.8219 22.4405 22.6634 22.465 22.4508C22.6413 20.9229 22.6615 19.3611 22.5226 17.8215C22.503 17.6047 22.3227 17.44 22.1051 17.44H14.6128C14.3951 17.44 14.2149 17.6047 14.1953 17.8215C14.135 18.4899 14.1041 19.1724 14.1041 19.8622Z",fill:"#CBD0DD"}))},OQ=function(){return React.createElement("svg",{width:"129",height:"90",viewBox:"0 0 129 90",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("rect",{width:"129",height:"90",rx:"4.27251",fill:"#F5F7FA"}),React.createElement("rect",{x:"8.03278",y:"64",width:"111.311",height:"4.59016",rx:"2.29508",fill:"#DEE2ED"}),React.createElement("rect",{x:"8",y:"75",width:"91",height:"5",rx:"2.5",fill:"#DEE2ED"}),React.createElement("rect",{x:"8",y:"8",width:"111",height:"51",rx:"4.27251",fill:"#DEE2ED"}),React.createElement("path",{d:"M72.0127 18.2375C71.6274 17.6446 70.7652 17.6279 70.3573 18.2055L57.873 35.8832C57.4942 36.4196 56.7101 36.4515 56.2889 35.9477L50.5803 29.1179C50.15 28.603 49.3448 28.6497 48.9768 29.2108L37.0153 47.4516C36.5793 48.1167 37.0563 49 37.8516 49H90.1577C90.9511 49 91.4285 48.1204 90.9963 47.4552L72.0127 18.2375Z",fill:"#F6F8FA"}))};function MQ(e){return MQ="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},MQ(e)}function DQ(){return DQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},DQ.apply(null,arguments)}function jQ(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}function IQ(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function AQ(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?IQ(Object(a),!0).forEach((function(t){LQ(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):IQ(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function LQ(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=MQ(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=MQ(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==MQ(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var FQ=window.EBControls,HQ=FQ.BlockProps,zQ=FQ.NoticeComponent,qQ=window.EBControls,UQ=qQ.sanitizeURL,VQ=qQ.BlockProps;var WQ;const GQ={attributes:{image:{url:(null===(WQ=EssentialBlocksLocalize)||void 0===WQ?void 0:WQ.image_url)+"/gallery-images/hongkong.jpg"},displayCaption:!0,imageCaption:"Style images in Gutenberg with advanced options.",captionColor:"#000000",widthRange:"100",widthUnit:"%",heightRange:"340"}};function ZQ(e){return ZQ="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ZQ(e)}function YQ(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function JQ(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?YQ(Object(a),!0).forEach((function(t){QQ(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):YQ(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function QQ(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=ZQ(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=ZQ(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ZQ(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var XQ=window.EBControls.sanitizeURL,$Q=lodash.omit;const KQ=[{attributes:JQ({},$J),supports:{anchor:!0,color:{__experimentalDuotone:"img",text:!1,background:!1}},save:function(e){var t=e.attributes,a=t.blockId,n=t.image,o=t.imageCaption,r=t.horizontalAlign,c=t.verticalAlign,l=t.verticalAlignCap2,i=t.stylePreset,s=t.captionStyle,b=t.hoverEffect,p=t.openInNewTab,u=t.imageLink,d=t.enableLink,m=t.classHook;if("custom"!==t.imgSource)return null;var g=n.url,f=p?"_blank":void 0;return""===g?null:React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(m)},React.createElement("figure",{className:"eb-advanced-image-wrapper ".concat(a," img-style-").concat(i," ").concat(s," caption-horizontal-").concat(r," caption-vertical-").concat(c," ").concat(l," ").concat(b),"data-id":a},React.createElement("div",{className:"image-wrapper"},d&&React.createElement("a",{className:"eb-advimg-link",href:u,target:f,rel:"_blank"===f?"noopener":void 0}),React.createElement("img",{src:g,alt:n.alt}),!Q.RichText.isEmpty(o)&&"caption-style-2"!=s&&React.createElement(Q.RichText.Content,{tagName:"figcaption",value:o})),!Q.RichText.isEmpty(o)&&"caption-style-2"==s&&React.createElement(Q.RichText.Content,{tagName:"figcaption",value:o}))))}},{attributes:JQ({},$Q(JQ({},$J),["imgSource"])),supports:{anchor:!0,color:{__experimentalDuotone:"img",text:!1,background:!1}},save:function(e){var t=e.attributes,a=t.blockId,n=t.image,o=t.imageCaption,r=t.horizontalAlign,c=t.verticalAlign,l=t.verticalAlignCap2,i=t.stylePreset,s=t.captionStyle,b=t.hoverEffect,p=t.openInNewTab,u=t.imageLink,d=t.enableLink,m=t.classHook,g=n.url,f=p?"_blank":void 0;return""===g?null:React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(m)},React.createElement("figure",{className:"eb-advanced-image-wrapper ".concat(a," img-style-").concat(i," ").concat(s," caption-horizontal-").concat(r," caption-vertical-").concat(c," ").concat(l," ").concat(b),"data-id":a},React.createElement("div",{className:"image-wrapper"},d&&React.createElement("a",{className:"eb-advimg-link",href:XQ(u),target:f,rel:"_blank"===f?"noopener":void 0}),React.createElement("img",{src:g,alt:n.alt}),!Q.RichText.isEmpty(o)&&"caption-style-2"!=s&&React.createElement(Q.RichText.Content,{tagName:"figcaption",value:o})),!Q.RichText.isEmpty(o)&&"caption-style-2"==s&&React.createElement(Q.RichText.Content,{tagName:"figcaption",value:o}))))}},{attributes:JQ({},$J),supports:{anchor:!0,color:{__experimentalDuotone:"img",text:!1,background:!1}},save:function(e){var t=e.attributes,a=t.blockId,n=t.image,o=t.imageCaption,r=t.horizontalAlign,c=t.verticalAlign,l=t.verticalAlignCap2,i=t.stylePreset,s=t.captionStyle,b=t.hoverEffect,p=t.openInNewTab,u=t.imageLink,d=t.enableLink,m=n.url,g=p?"_blank":void 0;return""===m?null:React.createElement("div",Q.useBlockProps.save(),React.createElement("figure",{className:"eb-advanced-image-wrapper ".concat(a," img-style-").concat(i," ").concat(s," caption-horizontal-").concat(r," caption-vertical-").concat(c," ").concat(l," ").concat(b),"data-id":a},React.createElement("div",{className:"image-wrapper"},d&&React.createElement("a",{className:"eb-advimg-link",href:XQ(u),target:g,rel:"_blank"===g?"noopener":void 0}),React.createElement("img",{src:m,alt:n.alt}),!Q.RichText.isEmpty(o)&&"caption-style-2"!=s&&React.createElement(Q.RichText.Content,{tagName:"figcaption",value:o})),!Q.RichText.isEmpty(o)&&"caption-style-2"==s&&React.createElement(Q.RichText.Content,{tagName:"figcaption",value:o})))}}],eX=JSON.parse('{"title":"Advanced Image","name":"essential-blocks/advanced-image","category":"essential-blocks","description":"Customise images in Gutenberg to fit your exact needs.","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"],"color":{"__experimentalDuotone":"img","text":false,"background":false}},"editorScript":"essential-blocks-editor-script"}');var tX=EBControls.ebConditionalRegisterBlockType;eX.name,eX.category,tX(eX,{keywords:[(0,Y.__)("Image","essential-blocks"),(0,Y.__)("Image block","essential-blocks"),(0,Y.__)("Advanced Image","essential-blocks"),(0,Y.__)("Single image","essential-blocks"),(0,Y.__)("Site Logo","essential-blocks"),(0,Y.__)("Featued image","essential-blocks"),(0,Y.__)("custom image","essential-blocks")],icon:kQ,attributes:$J,edit:function(e){var t,a=e.attributes,n=e.setAttributes,o=e.isSelected,r=(a.resOption,a.blockId),c=(a.blockMeta,a.image),l=a.imageCaption,i=a.displayCaption,s=a.horizontalAlign,b=a.verticalAlign,p=a.verticalAlignCap2,u=a.stylePreset,d=a.captionStyle,m=a.hoverEffect,g=a.classHook,f=a.imageSize,y=a.widthRange,v=a.heightRange,h=(a.fitStyles,a.autoHeight),w=a.imgSource,k=a.shouldSyncIcon,R=(a.rel,a.imagePostId),_=a.enableLink,E=AQ(AQ({},e),{},{blockPrefix:"eb-advanced-image",style:React.createElement(wQ,e)}),C=c.url;(0,J.useEffect)((function(){void 0===w&&c.url.length>0&&n({imgSource:"custom"})}),[]);var x,S=wp.data.select("core").getMedia(c.id),B=(0,J.useRef)(f),T=(0,J.useRef)(),N=(0,$.useSelect)((function(e){var t=e(cp.store),a=t.canUser,n=t.getEntityRecord,o=t.getEditedEntityRecord,r=a("update","settings"),c=r?o("root","site"):void 0,l=n("root","__unstableBase"),i=r?null==c?void 0:c.site_logo:null==l?void 0:l.site_logo,s=null==c?void 0:c.site_icon,b=i&&e(cp.store).getMedia(i,{context:"view"}),p=i&&!e(cp.store).hasFinishedResolution("getMedia",[i,{context:"view"}]);return{siteLogoId:i,canUserEdit:r,url:null==l?void 0:l.home,mediaItemData:b,isRequestingMediaItem:p,siteIconId:s}}),[]),P=N.siteLogoId,O=N.canUserEdit,M=N.url,D=N.siteIconId,j=N.mediaItemData,I=N.isRequestingMediaItem,A=(0,$.useDispatch)(cp.store).editEntityRecord,L=function(e){(k||arguments.length>1&&void 0!==arguments[1]&&arguments[1])&&F(e),A("root","site",void 0,{site_logo:e})},F=function(e){return A("root","site",void 0,{site_icon:null!=e?e:null})},H=null!=j?j:{},z=H.alt_text,q=H.source_url,U=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e&&(e.id||!e.url?L(e.id,t):L(void 0))},V=(0,$.useDispatch)(mJ.store).createErrorNotice,W={mediaURL:q,onSelect:U,onError:function(e){V(e,{type:"snackbar"})},onRemoveLogo:function(){L(null),n({width:void 0})}},G=O&&q&&React.createElement(Q.BlockControls,{group:"other"},React.createElement(SQ,W)),Z=void 0===P||I;Z&&(x=TQ()),q&&(x=React.createElement(xQ,{alt:z,attributes:a,containerRef:T,isSelected:o,setAttributes:n,logoUrl:q,setLogo:L,logoId:(null==j?void 0:j.id)||P,siteUrl:M,setIcon:F,iconId:D,canUserEdit:O}));var K=(0,$.select)("core/editor").getCurrentPostId(),ee=(0,$.select)("core/editor").getCurrentPostType();(0,J.useEffect)((function(){n({imagePostId:K})}),[K]);var ae,ne,oe,re,ce=(oe=(0,cp.useEntityProp)("postType",ee,"featured_media",K),re=2,function(e){if(Array.isArray(e))return e}(oe)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,r,c,l=[],i=!0,s=!1;try{if(r=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;i=!1}else for(;!(i=(n=r.call(a)).done)&&(l.push(n.value),l.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{if(!i&&null!=a.return&&(c=a.return(),Object(c)!==c))return}finally{if(s)throw o}}return l}}(oe,re)||function(e,t){if(e){if("string"==typeof e)return jQ(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?jQ(e,t):void 0}}(oe,re)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),le=ce[0],ie=(ce[1],le),se=(0,$.useSelect)((function(e){var t,a=e(cp.store),n=a.getMedia,o=a.getPostType,r=a.getEditedEntityRecord;return{media:ie&&n(ie,{context:"view"}),postType:ee&&o(ee),postPermalink:null===(t=r("postType",ee,K))||void 0===t?void 0:t.link}}),[ie,ee,K]),be=se.media,pe=(se.postType,se.postPermalink),ue=function(e,t){var a;return(null==e||null===(a=e.media_details)||void 0===a||null===(a=a.sizes)||void 0===a||null===(a=a[t])||void 0===a?void 0:a.source_url)||(null==e?void 0:e.source_url)}(be,f);return ae=ie?be?function(e,t){return React.createElement("img",{src:e,alt:null!=t&&t.alt_text?(0,Y.sprintf)((0,Y.__)("Featured image: %s"),null==t?void 0:t.alt_text):(0,Y.__)("Featured image")})}(ue,be):React.createElement(X.Placeholder,{className:te()("block-editor-media-placeholder"),withIllustration:!0},undefined):(0,Y.__)("Seems like you haven't added a Featured Image for this post. Please make sure to add a Featured Image and try again."),(0,J.useEffect)((function(){var e;if("custom"===w)if(c.sizes&&f&&f.length>0){var t,o;c.sizes[f]?(c.url=c.sizes[f]?c.sizes[f].url:c.url,t=c.sizes[f].width?c.sizes[f].width:c.width,o=c.sizes[f].height?c.sizes[f].height:c.height):(c.url=c.sizes.full.url,t=c.width,o=c.height),c.url=c.url,n({image:c,widthRange:B.current===f&&y?y:t||"",widthUnit:B.current===f&&a.widthUnit?a.widthUnit:"px",heightRange:B.current===f&&v?v:o||"",heightUnit:B.current===f&&a.heightUnit?a.heightUnit:"px"})}else{var r,l="",i="";if(c&&!f)l=y||(null!=c&&c.width?c.width:""),i=!h&&null!=c&&c.height?c.height:"";else if(null!=S&&null!==(r=S.media_details)&&void 0!==r&&r.sizes){var s,b,p,u,d,m,g;null!==(s=S.media_details.sizes)&&void 0!==s&&s[f]?c.url=null!==(m=S.media_details.sizes)&&void 0!==m&&null!==(m=m[f])&&void 0!==m&&m.source_url?null===(g=S.media_details.sizes)||void 0===g||null===(g=g[f])||void 0===g?void 0:g.source_url:S.source_url:c.url=S.source_url,c.url=c.url,l=null!==(b=S.media_details.sizes)&&void 0!==b&&null!==(b=b[f])&&void 0!==b&&b.width?null===(p=S.media_details.sizes)||void 0===p||null===(p=p[f])||void 0===p?void 0:p.width:S.width,i=null!==(u=S.media_details.sizes)&&void 0!==u&&null!==(u=u[f])&&void 0!==u&&u.height?null===(d=S.media_details.sizes)||void 0===d||null===(d=d[f])||void 0===d?void 0:d.height:S.height}n({image:c,widthRange:l||"",widthUnit:a.widthUnit?a.widthUnit:"px",heightRange:i||"",heightUnit:a.heightUnit?a.heightUnit:"px"})}if("featured-img"===w&&null!=be&&null!==(e=be.media_details)&&void 0!==e&&e.sizes){var k,R,_,E,C=null!==(k=be.media_details.sizes)&&void 0!==k&&null!==(k=k[f])&&void 0!==k&&k.width?null===(R=be.media_details.sizes)||void 0===R||null===(R=R[f])||void 0===R?void 0:R.width:be.width,x=null!==(_=be.media_details.sizes)&&void 0!==_&&null!==(_=_[f])&&void 0!==_&&_.height?null===(E=be.media_details.sizes)||void 0===E||null===(E=E[f])||void 0===E?void 0:E.height:be.height;n({widthRange:C||"",widthUnit:a.widthUnit?a.widthUnit:"px",heightRange:x||"",heightUnit:a.heightUnit?a.heightUnit:"px"})}B.current=f}),[f]),"featured-img"!==w||be||0!=ae.length?React.createElement(React.Fragment,null,o&&w&&React.createElement(bQ,{attributes:a,setAttributes:n}),React.createElement(HQ.Edit,E,!w&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-adv-img-editor-source-select"},React.createElement("h2",null,"Please Select an Image Source"),React.createElement("div",{className:"eb-adv-img-editor-source-item",onClick:function(){return n({imgSource:"custom"})}},React.createElement("div",{className:"eb-adv-img-editor-source-icon"},React.createElement(NQ,null)),React.createElement("span",null,"Custom Image")),React.createElement("div",{className:"eb-adv-img-editor-source-item",onClick:function(){return n({imgSource:"site-logo",displayCaption:!1,enableLink:!0,widthRange:120,widthUnit:"px",imgBorderShadowborderStyle:"none",imgBorderShadowRds_Bottom:"0",imgBorderShadowRds_Left:"0",imgBorderShadowRds_Right:"0",imgBorderShadowRds_Top:"0",hoverEffect:"no-effect"})}},React.createElement("div",{className:"eb-adv-img-editor-source-icon"},React.createElement(PQ,null)),React.createElement("span",null,"Site Logo")),React.createElement("div",{className:"eb-adv-img-editor-source-item",onClick:function(){return n({imgSource:"featured-img",displayCaption:!1,enableLink:!0,hoverEffect:"no-effect"})}},React.createElement("div",{className:"eb-adv-img-editor-source-icon"},React.createElement(OQ,null)),React.createElement("span",null,"Featured Image")))),w&&React.createElement(React.Fragment,null,React.createElement(React.Fragment,null,"custom"===w&&0==C.length&&React.createElement(React.Fragment,null,""===c.url&&React.createElement(Q.MediaPlaceholder,{onSelect:function(e){n({image:e,imageCaption:e.caption})},accept:"image/*",allowedTypes:["image"],mediaLibraryButton:function(e){var t=e.open;return React.createElement(X.Button,{icon:dJ.A,variant:"primary",label:(0,Y.__)("Add image from media"),showTooltip:!0,tooltipPosition:"top center",onClick:function(){t()}})},labels:{title:"Upload Image",instructions:"Drag media file, upload or select image from your library."}})),"site-logo"===w&&React.createElement(React.Fragment,null,G,!!q&&x,!q&&!!Z&&React.createElement(X.Placeholder,{className:"eb-adv-img-site-logo-placeholder"},TQ()),!q&&!Z&&React.createElement(Q.MediaPlaceholder,{onSelect:function(e){if(void 0===k){var t=!D;return n({shouldSyncIcon:t}),void U(e,t)}U(e)},accept:"image/*",allowedTypes:["image"],mediaLibraryButton:function(e){var t=e.open;return React.createElement(X.Button,{icon:dJ.A,variant:"primary",label:(0,Y.__)("Add a site logo"),showTooltip:!0,tooltipPosition:"top center",onClick:function(){t()}})},labels:{title:"Site Logo Upload",instructions:"Drag media file, upload or select image from your library."}}))),("custom"===w&&C.length>0||"featured-img"===w&&"number"==typeof R&&0!=ie)&&React.createElement(React.Fragment,null,React.createElement(Q.BlockControls,null,React.createElement(X.ToolbarGroup,null,React.createElement(X.ToolbarItem,null,(function(){return React.createElement(Q.MediaUpload,{value:c.id,onSelect:function(e){n({image:{id:e.id,url:e.url,alt:e.alt}})},accept:"image/*",allowedTypes:["image"],render:function(e){var t=e.open;return React.createElement(X.ToolbarButton,{className:"components-toolbar__control",label:(0,Y.__)("Replace Image","essential-blocks"),icon:uJ.A,onClick:t})}})})))),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(r," ").concat(g)},React.createElement("figure",{className:"eb-advanced-image-wrapper ".concat(r," img-style-").concat(u," ").concat(d," caption-horizontal-").concat(s," caption-vertical-").concat(b," ").concat(p," ").concat(m),"data-id":r},React.createElement("div",{className:"image-wrapper"},"custom"===w&&React.createElement(React.Fragment,null,React.createElement("img",{src:C,alt:c.alt}),(!Q.RichText.isEmpty(l)||o)&&i&&"caption-style-2"!=d&&React.createElement(Q.RichText,{tagName:"figcaption","aria-label":(0,Y.__)("Image Caption Text"),placeholder:(0,Y.__)("Add Caption"),value:l,onChange:function(e){return n({imageCaption:e})},inlineToolbar:!0,__unstableOnSplitAtEnd:function(){return insertBlocksAfter(createBlock("core/paragraph"))}})),"featured-img"===w&&React.createElement(React.Fragment,null,_?React.createElement("a",DQ({href:pe},BQ),ae):ae)),"custom"===w&&React.createElement(React.Fragment,null,(!Q.RichText.isEmpty(l)||o)&&i&&"caption-style-2"==d&&React.createElement(Q.RichText,{tagName:"figcaption","aria-label":(0,Y.__)("Image Caption Text"),placeholder:(0,Y.__)("Add Caption"),value:l,onChange:function(e){return n({imageCaption:e})},inlineToolbar:!0,__unstableOnSplitAtEnd:function(){return insertBlocksAfter(createBlock("core/paragraph"))}}))))),"featured-img"===w&&"number"==typeof R&&!ie&&React.createElement(zQ,{Icon:kQ,title:"Advanced Image",description:ae}),"featured-img"===w&&"string"==typeof R&&React.createElement("div",{className:"feature-image-placeholder"},React.createElement("img",{src:(null===(t=EssentialBlocksLocalize)||void 0===t?void 0:t.eb_plugins_url)+"assets/images/user.jpg",alt:"featured image"}))))):React.createElement("div",{className:"eb-loading"},React.createElement("img",{src:"".concat(null===(ne=EssentialBlocksLocalize)||void 0===ne?void 0:ne.image_url,"/ajax-loader.gif"),alt:"Loading..."}))},save:function(e){var t=e.attributes,a=t.blockId,n=t.image,o=t.imageCaption,r=t.horizontalAlign,c=t.verticalAlign,l=t.verticalAlignCap2,i=t.stylePreset,s=t.captionStyle,b=t.hoverEffect,p=t.openInNewTab,u=t.imageLink,d=t.enableLink,m=t.classHook;if("custom"!==t.imgSource)return null;var g=n.url,f=p?"_blank":void 0;return""===g?null:React.createElement(VQ.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(m)},React.createElement("figure",{className:"eb-advanced-image-wrapper ".concat(a," img-style-").concat(i," ").concat(s," caption-horizontal-").concat(r," caption-vertical-").concat(c," ").concat(l," ").concat(b),"data-id":a},React.createElement("div",{className:"image-wrapper"},d&&React.createElement("a",{className:"eb-advimg-link",href:UQ(u),target:f,rel:"_blank"===f?"noopener":void 0}),React.createElement("img",{src:g,alt:n.alt}),!Q.RichText.isEmpty(o)&&"caption-style-2"!=s&&React.createElement(Q.RichText.Content,{tagName:"figcaption",value:o})),!Q.RichText.isEmpty(o)&&"caption-style-2"==s&&React.createElement(Q.RichText.Content,{tagName:"figcaption",value:o}))))},example:GQ,deprecated:KQ});var aX=EssentialBlocksLocalize.wpforms_lists&&JSON.parse(EssentialBlocksLocalize.wpforms_lists),nX=aX&&aX.map((function(e,t){return{label:e.label,value:e.value}})),oX=[{label:React.createElement(X.Dashicon,{icon:"editor-alignleft"}),value:"left"},{label:React.createElement(X.Dashicon,{icon:"editor-aligncenter"}),value:"center"},{label:React.createElement(X.Dashicon,{icon:"editor-alignright"}),value:"right"}],rX=[{label:React.createElement(X.Dashicon,{icon:"remove"}),value:"none"},{label:React.createElement(X.Dashicon,{icon:"editor-alignleft"}),value:"left"},{label:React.createElement(X.Dashicon,{icon:"editor-aligncenter"}),value:"center"},{label:React.createElement(X.Dashicon,{icon:"editor-alignright"}),value:"right"}],cX=[{label:(0,Y.__)("Full Width","essential-blocks"),value:"full_width"},{label:(0,Y.__)("Custom","essential-blocks"),value:"custom"}],lX="inpTxtIndent",iX="inpWidth",sX="inpHeight",bX="txtWidth",pX="txtHeight",uX="inpTxtPadding",dX="inpTxtSpacing",mX="lblSpacing",gX="btnWidth",fX="btnPadding",yX="btnMargin",vX="btnBorder",hX="inpTxtBorder",wX="successBrd",kX="errorPadding",RX="errorMargin",_X="checkSize",EX="checkBdr",CX="checkRad",xX="radioRad",SX="formWidth",BX="formBorder",TX="formMargin",NX="formPadding",PX="label",OX="inpTxt",MX="subBtn",DX="success",jX="error";function IX(e){return IX="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},IX(e)}function AX(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function LX(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?AX(Object(a),!0).forEach((function(t){FX(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):AX(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function FX(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=IX(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=IX(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==IX(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var HX=EBControls,zX=HX.generateTypographyAttributes,qX=HX.generateResponsiveRangeAttributes,UX=HX.generateDimensionsAttributes,VX=HX.generateBorderShadowAttributes;const WX=LX(LX(LX(LX(LX(LX(LX(LX(LX(LX(LX(LX(LX(LX(LX(LX(LX(LX(LX(LX(LX(LX(LX(LX(LX({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},cover:{type:"string",default:""},formActive:{type:"string"},formId:{type:"string"},showLabels:{type:"boolean",default:!0},showPlaceholder:{type:"boolean",default:!0},showErrorMessage:{type:"boolean",default:!0},customCheckboxStyle:{type:"boolean",default:!1},labelColor:{type:"string",default:"var(--eb-global-heading-color)"},inputHoverType:{type:"string",default:"normal"},inputBackgroundColor:{type:"string",default:"var(--eb-global-background-color)"},inputFocusBackgroundColor:{type:"string"},inputTextColor:{type:"string",default:"var(--eb-global-text-color)"},placeholderColor:{type:"string"},sectionBreakContent:{type:"string",default:"center"},sectionBreakColor:{type:"string"},sectionBreakDescColor:{type:"string"},btnWidthType:{type:"string",default:"custom"},btnAlignment:{type:"string",default:"left"},btnBackgroundColor:{type:"string",default:"var(--eb-global-button-background-color)"},btnColor:{type:"string",default:"var(--eb-global-button-text-color)"},btnBackgroundHoverColor:{type:"string",default:"var(--eb-global-tertiary-color)"},btnHoverColor:{type:"string",default:"var(--eb-global-button-text-color)"},btnHoverType:{type:"string",default:"normal"},sectionBreakPosition:{type:"string",default:"center"},successColor:{type:"string"},successBackgroundColor:{type:"string"},errorColor:{type:"string"},checkboxSwitcher:{type:"string",default:"normal"},checkboxColor:{type:"string"},checkboxBorderColor:{type:"string"},checkboxCheckedColor:{type:"string"},formBackgroundColor:{type:"string"},formAlignment:{type:"string",default:"none"}},zX(Object.values(O))),qX(lX)),qX(iX)),qX(sX)),qX(bX)),qX(pX)),qX(dX)),qX(gX)),qX(_X)),qX(EX,{noUnits:!0,defaultUnit:"px"})),qX(SX)),UX(mX)),UX(uX)),UX(fX)),UX(yX)),UX(kX)),UX(RX)),UX(CX)),UX(xX)),UX(TX,{top:28,right:0,bottom:28,left:0,isLinked:!1})),UX(NX,{top:0,right:15,bottom:0,left:15,isLinked:!1})),VX(hX)),VX(vX)),VX(wX)),VX(BX));var GX=EBControls,ZX=GX.ColorControl,YX=GX.ResponsiveRangeController,JX=GX.ResponsiveDimensionsControl,QX=GX.BorderShadowControl,XX=GX.TypographyDropdown,$X=GX.AdvancedControls;const KX=function(e){var t=e.attributes,a=e.setAttributes,n=t.resOption,o=t.showLabels,r=t.showPlaceholder,c=t.showErrorMessage,l=t.labelColor,i=t.inputHoverType,s=t.inputBackgroundColor,b=t.inputTextColor,p=t.inputFocusBackgroundColor,u=t.placeHolderColor,d=t.btnWidthType,m=t.btnAlignment,g=t.btnHoverType,f=t.btnBackgroundColor,y=t.btnColor,v=t.btnBackgroundHoverColor,h=t.btnHoverColor,w=t.successBackgroundColor,k=t.successColor,R=t.errorColor,_=t.customCheckboxStyle,E=t.checkboxSwitcher,C=t.checkboxColor,x=t.checkboxBorderColor,S=t.checkboxCheckedColor,B=t.formBackgroundColor,T=t.formAlignment,N={setAttributes:a,resOption:n,attributes:t,objAttributes:WX};return React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:(0,Y.__)("General","essential-blocks"),className:"eb-tab general"},{name:"styles",title:(0,Y.__)("Style","essential-blocks"),className:"eb-tab styles"},{name:"advance",title:(0,Y.__)("Advanced","essential-blocks"),className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls "+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("WPForms","essential-blocks")},React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Labels","essential-blocks"),checked:o,onChange:function(e){return a({showLabels:e})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Placeholder","essential-blocks"),checked:r,onChange:function(e){return a({showPlaceholder:e})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Error Message","essential-blocks"),checked:c,onChange:function(e){return a({showErrorMessage:e})}}))),"styles"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Labels","essential-blocks"),initialOpen:!0},React.createElement(React.Fragment,null,React.createElement(JX,{resRequiredProps:N,controlName:mX,baseLabel:(0,Y.__)("Margin","essential-blocks")}),React.createElement(ZX,{label:(0,Y.__)("Color","essential-blocks"),color:l,onChange:function(e){return a({labelColor:e})}}),React.createElement(XX,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:PX,resRequiredProps:N}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Input & Textarea","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(X.BaseControl,null,React.createElement(X.ButtonGroup,null,[{label:(0,Y.__)("NORMAL","essential-blocks"),value:"normal"},{label:(0,Y.__)("FOCUS","essential-blocks"),value:"focus"}].map((function(e,t){var n=e.value,o=e.label;return React.createElement(X.Button,{key:t,isPrimary:i===n,isSecondary:i!==n,onClick:function(){return a({inputHoverType:n})}},o)})))),"normal"===i&&React.createElement(React.Fragment,null,React.createElement(ZX,{label:(0,Y.__)("Background Color","essential-blocks"),color:s,onChange:function(e){return a({inputBackgroundColor:e})}}),React.createElement(ZX,{label:(0,Y.__)("Color","essential-blocks"),color:b,onChange:function(e){return a({inputTextColor:e})}})),"focus"===i&&React.createElement(React.Fragment,null,React.createElement(ZX,{label:(0,Y.__)("Background Color","essential-blocks"),color:p,onChange:function(e){return a({inputFocusBackgroundColor:e})}})),React.createElement(XX,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:OX,resRequiredProps:N}),React.createElement(X.__experimentalDivider,null),React.createElement(YX,{baseLabel:(0,Y.__)("Text Indent","essential-blocks"),controlName:lX,resRequiredProps:N,min:0,max:60,step:1}),React.createElement(YX,{baseLabel:(0,Y.__)("Input Width","essential-blocks"),controlName:iX,resRequiredProps:N,min:0,max:1200,step:1}),React.createElement(YX,{baseLabel:(0,Y.__)("Input Height","essential-blocks"),controlName:sX,resRequiredProps:N,min:0,max:200,step:1}),React.createElement(YX,{baseLabel:(0,Y.__)("Textarea Width","essential-blocks"),controlName:bX,resRequiredProps:N,min:0,max:1200,step:1}),React.createElement(YX,{baseLabel:(0,Y.__)("Textarea Height","essential-blocks"),controlName:pX,resRequiredProps:N,min:0,max:400,step:1}),React.createElement(X.__experimentalDivider,null),React.createElement(JX,{resRequiredProps:N,controlName:uX,baseLabel:(0,Y.__)("Padding","essential-blocks")}),React.createElement(YX,{baseLabel:(0,Y.__)("Spacing","essential-blocks"),controlName:dX,resRequiredProps:N,min:0,max:100,step:1})),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Border & Shadow","essential-blocks"))),React.createElement(QX,{controlName:hX,resRequiredProps:N})),React.createElement(X.PanelBody,{title:(0,Y.__)("Placeholder","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(ZX,{label:(0,Y.__)("Color","essential-blocks"),color:u,onChange:function(e){return a({placeHolderColor:e})}}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Radio & Checkbox","essential-blocks"),initialOpen:!1},React.createElement(X.ToggleControl,{label:(0,Y.__)("Custom Style","essential-blocks"),checked:_,onChange:function(e){return a({customCheckboxStyle:e})}}),_&&React.createElement(React.Fragment,null,React.createElement(YX,{baseLabel:(0,Y.__)("Size","essential-blocks"),controlName:_X,resRequiredProps:N,min:0,max:80,step:1}),React.createElement(X.BaseControl,null,React.createElement(X.ButtonGroup,null,[{label:(0,Y.__)("NORMAL","essential-blocks"),value:"normal"},{label:(0,Y.__)("CHECKED","essential-blocks"),value:"checked"}].map((function(e,t){var n=e.value,o=e.label;return React.createElement(X.Button,{key:t,isPrimary:g===n,isSecondary:g!==n,onClick:function(){return a({checkboxSwitcher:n})}},o)})))),"normal"===E&&React.createElement(React.Fragment,null,React.createElement(ZX,{label:(0,Y.__)("Color","essential-blocks"),color:C,onChange:function(e){return a({checkboxColor:e})}}),React.createElement(YX,{baseLabel:(0,Y.__)("Border Width","essential-blocks"),controlName:EX,resRequiredProps:N,min:0,max:15,step:1,noUnits:!0}),React.createElement(ZX,{label:(0,Y.__)("Border Color","essential-blocks"),color:x,onChange:function(e){return a({checkboxBorderColor:e})}}),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Checkbox","essential-blocks"))),React.createElement(JX,{resRequiredProps:N,controlName:CX,baseLabel:(0,Y.__)("Border Radius","essential-blocks")}),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Radio Buttons","essential-blocks"))),React.createElement(JX,{resRequiredProps:N,controlName:xX,baseLabel:(0,Y.__)("Border Radius","essential-blocks")})),"checked"===E&&React.createElement(ZX,{label:(0,Y.__)("Color","essential-blocks"),color:S,onChange:function(e){return a({checkboxCheckedColor:e})}}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Submit","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,"custom"===d&&React.createElement(X.BaseControl,{label:(0,Y.__)("Alignment","essential-blocks"),id:"eb-button-group-alignment"},React.createElement(X.ButtonGroup,{id:"eb-button-group-alignment"},oX.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:m===e.value,isSecondary:m!==e.value,onClick:function(){return a({btnAlignment:e.value})}},e.label)})))),React.createElement(X.SelectControl,{label:(0,Y.__)("Width","essential-blocks"),value:d,options:cX,onChange:function(e){return a({btnWidthType:e})}}),"custom"===d&&React.createElement(YX,{baseLabel:(0,Y.__)("Width","essential-blocks"),controlName:gX,resRequiredProps:N,min:0,max:1200,step:1}),React.createElement(XX,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:MX,resRequiredProps:N}),React.createElement(X.BaseControl,null,React.createElement(X.ButtonGroup,null,[{label:(0,Y.__)("NORMAL","essential-blocks"),value:"normal"},{label:(0,Y.__)("HOVER","essential-blocks"),value:"hover"}].map((function(e,t){var n=e.value,o=e.label;return React.createElement(X.Button,{key:t,isPrimary:g===n,isSecondary:g!==n,onClick:function(){return a({btnHoverType:n})}},o)})))),"normal"===g&&React.createElement(React.Fragment,null,React.createElement(ZX,{label:(0,Y.__)("Background Color","essential-blocks"),color:f,onChange:function(e){return a({btnBackgroundColor:e})}}),React.createElement(ZX,{label:(0,Y.__)("Color","essential-blocks"),color:y,onChange:function(e){return a({btnColor:e})}})),"hover"===g&&React.createElement(React.Fragment,null,React.createElement(ZX,{label:(0,Y.__)("Background Color","essential-blocks"),color:v,onChange:function(e){return a({btnBackgroundHoverColor:e})}}),React.createElement(ZX,{label:(0,Y.__)("Color","essential-blocks"),color:h,onChange:function(e){return a({btnHoverColor:e})}})),React.createElement(X.__experimentalDivider,null),React.createElement(JX,{resRequiredProps:N,controlName:fX,baseLabel:(0,Y.__)("Padding","essential-blocks")}),React.createElement(JX,{resRequiredProps:N,controlName:yX,baseLabel:(0,Y.__)("Margin","essential-blocks")}),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Border & Shadow","essential-blocks"))),React.createElement(QX,{controlName:vX,resRequiredProps:N}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Success Message","essential-blocks"),initialOpen:!1},React.createElement(ZX,{label:(0,Y.__)("Background Color","essential-blocks"),color:w,onChange:function(e){return a({successBackgroundColor:e})}}),React.createElement(ZX,{label:(0,Y.__)("Color","essential-blocks"),color:k,onChange:function(e){return a({successColor:e})}}),React.createElement(XX,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:DX,resRequiredProps:N}),React.createElement(QX,{controlName:wX,resRequiredProps:N,noShadow:!0})),c&&React.createElement(X.PanelBody,{title:(0,Y.__)("Error Message","essential-blocks"),initialOpen:!1},React.createElement(ZX,{label:(0,Y.__)("Color","essential-blocks"),color:R,onChange:function(e){return a({errorColor:e})}}),React.createElement(XX,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:jX,resRequiredProps:N}),React.createElement(JX,{resRequiredProps:N,controlName:kX,baseLabel:(0,Y.__)("Padding","essential-blocks")}),React.createElement(JX,{resRequiredProps:N,controlName:RX,baseLabel:(0,Y.__)("Margin","essential-blocks")}))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,null,React.createElement(React.Fragment,null,React.createElement(ZX,{label:(0,Y.__)("Background Color","essential-blocks"),color:B,onChange:function(e){return a({formBackgroundColor:e})}}),React.createElement(X.BaseControl,{label:(0,Y.__)("Alignment","essential-blocks"),id:"eb-button-group-alignment"},React.createElement(X.ButtonGroup,{id:"eb-button-group-alignment"},rX.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:T===e.value,isSecondary:T!==e.value,onClick:function(){return a({formAlignment:e.value})}},e.label)})))),React.createElement(YX,{baseLabel:(0,Y.__)("Form Max Width","essential-blocks"),controlName:SX,resRequiredProps:N,min:0,max:1500,step:1}),React.createElement(JX,{resRequiredProps:N,controlName:NX,baseLabel:(0,Y.__)("Padding","essential-blocks")}),React.createElement(JX,{resRequiredProps:N,controlName:TX,baseLabel:(0,Y.__)("Margin","essential-blocks")}),React.createElement(X.__experimentalDivider,null),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Border & Shadow","essential-blocks"))),React.createElement(QX,{controlName:BX,resRequiredProps:N}))),React.createElement($X,{attributes:t,setAttributes:a})))}))))};var e$=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"57",height:"60",fill:"none",viewBox:"0 0 57 60"},React.createElement("g",{fill:"#6C3BFF",clipPath:"url(#clip0_2_22917)"},React.createElement("path",{d:"M52.714 0H3.857C1.8 0 0 1.8 0 3.857V52.8c0 1.971 1.8 3.771 3.857 3.771H52.8c2.057 0 3.857-1.8 3.857-3.857V3.857C56.571 1.8 54.771 0 52.714 0zM2.057 3.857c0-1.114.857-1.8 1.8-1.8H52.8c1.114 0 1.8.857 1.8 1.8v3.857H1.886V3.857h.171zm50.657 50.657H3.857c-1.114 0-1.8-.857-1.8-1.8V9.43h52.457v43.285c0 .943-.857 1.8-1.8 1.8z"}),React.createElement("path",{d:"M41.571 27.857H9c-1.114 0-1.8.857-1.8 1.8v11.229c0 1.114.857 1.8 1.8 1.8h32.571c1.115 0 1.8-.857 1.8-1.8V29.657c0-.943-.685-1.8-1.8-1.8zm0 13.2H9V29.83h32.571v11.228zM5.657 3.857H4.8c-.429 0-.857.429-.857.857 0 .429.428.857.857.857h.857c.429 0 .857-.428.857-.857 0-.428-.257-.857-.857-.857zm4.714 0h-.857c-.428 0-.857.429-.857.857 0 .429.429.857.857.857h.857c.429 0 .858-.428.858-.857 0-.428-.258-.857-.858-.857zm4.715 0h-.857c-.429 0-.858.429-.858.857 0 .429.429.857.858.857h.857c.428 0 .857-.428.857-.857 0-.428-.257-.857-.857-.857zM8.057 17.486h14.486c.428 0 .857-.429.857-.857 0-.429-.429-.858-.857-.858H8.057c-.428 0-.857.429-.857.858 0 .428.429.857.857.857zm19.8 0h14.486c.428 0 .857-.429.857-.857 0-.429-.428-.858-.857-.858H27.857c-.428 0-.857.429-.857.858-.086.428.429.857.857.857zm-9 30.514H8.83c-.429 0-.858.429-.858.857 0 .429.429.857.858.857h10.028c.429 0 .857-.428.857-.857.086-.343-.171-.857-.857-.857z"}),React.createElement("path",{d:"M52.714 0H3.857C1.543 0 0 1.8 0 3.857V52.8c0 2.229 1.8 3.771 3.857 3.771H52.8c2.229 0 3.857-1.8 3.857-3.857V3.857C56.571 1.543 54.771 0 52.714 0zm1.8 52.714c0 .857-.857 1.8-1.8 1.8H3.857c-.857 0-1.8-.857-1.8-1.8V9.43H54.6v43.285h-.086zm0-45.343H2.057V3.857c0-.857.857-1.8 1.8-1.8H52.8c.857 0 1.8.857 1.8 1.8v3.514h-.086z"}),React.createElement("path",{d:"M9 43.114h32.571c1.115 0 2.058-.857 2.058-2.057V29.83c0-1.115-.858-2.058-2.058-2.058H9c-1.114 0-2.057.858-2.057 2.058v11.228c0 1.114.943 2.057 2.057 2.057zm.257-13.285h32.314V40.8H9.257V29.829zM5.657 3.6H4.8c-.686 0-1.114.429-1.114 1.114 0 .686.428 1.115 1.114 1.115h.857c.686 0 1.114-.429 1.114-1.115 0-.685-.514-1.114-1.114-1.114zm4.714 0h-.857C8.83 3.6 8.4 4.029 8.4 4.714c0 .686.429 1.115 1.114 1.115h.857c.686 0 1.115-.429 1.115-1.115 0-.685-.515-1.114-1.115-1.114zm4.715 0h-.857c-.686 0-1.115.429-1.115 1.114 0 .686.429 1.115 1.115 1.115h.857c.685 0 1.114-.429 1.114-1.115 0-.685-.514-1.114-1.114-1.114zM8.057 17.486h14.829c.685 0 1.114-.429 1.114-1.115 0-.685-.429-1.114-1.114-1.114H8.057c-.686 0-1.114.429-1.114 1.114 0 .686.686 1.115 1.114 1.115zm19.8 0h14.829c.685 0 1.114-.429 1.114-1.115 0-.685-.429-1.114-1.114-1.114H27.857c-.686 0-1.114.429-1.114 1.114.171.686.686 1.115 1.114 1.115zm-9 30.343H8.571c-.685 0-1.114.428-1.114 1.114 0 .686.429 1.114 1.114 1.114h10.286c.686 0 1.114-.428 1.114-1.114 0-.686-.428-1.114-1.114-1.114zm-10.8-24h34.8c.686 0 1.114-.429 1.114-1.115 0-.685-.428-1.114-1.114-1.114h-34.8c-.686 0-1.114.429-1.114 1.114 0 .6.686 1.115 1.114 1.115z"}),React.createElement("path",{d:"M42.857 21.771h-34.8c-.428 0-.857.429-.857.858 0 .428.429.857.857.857h34.457c.429 0 .857-.429.857-.857.6-.429.172-.858-.514-.858z"})),React.createElement("defs",null,React.createElement("clipPath",{id:"clip0_2_22917"},React.createElement("path",{fill:"#fff",d:"M0 0H56.571V60H0z"}))))},t$=window.EBControls,a$=t$.softMinifyCssStrings,n$=t$.generateDimensionsControlStyles,o$=t$.generateBorderShadowStyles,r$=t$.generateTypographyStyles,c$=t$.generateResponsiveRangeStyles,l$=t$.StyleComponent;function i$(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=(t.blockMeta,t.resOption,t.formActive,t.formId,t.labelColor),c=t.inputBackgroundColor,l=t.inputTextColor,i=t.inputFocusBackgroundColor,s=t.placeHolderColor,b=t.btnAlignment,p=t.btnWidthType,u=t.btnBackgroundColor,d=t.btnColor,m=t.btnBackgroundHoverColor,g=t.btnHoverColor,f=t.successBackgroundColor,y=t.successColor,v=t.errorColor,h=(t.customCheckboxStyle,t.checkboxColor),w=t.checkboxBorderColor,k=t.checkboxCheckedColor,R=t.formBackgroundColor,_=(t.formAlignment,t.showLabels,t.showPlaceholder,t.showErrorMessage),E=(t.classHook,t.cover,n$({controlName:mX,styleFor:"margin",attributes:t})),C=E.dimensionStylesDesktop,x=E.dimensionStylesTab,S=E.dimensionStylesMobile,B=r$({attributes:t,prefixConstant:PX}),T=B.typoStylesDesktop,N=B.typoStylesTab,P=B.typoStylesMobile,O=r$({attributes:t,prefixConstant:OX}),M=O.typoStylesDesktop,D=O.typoStylesTab,j=O.typoStylesMobile,I=c$({controlName:lX,property:"text-indent",attributes:t}),A=I.rangeStylesDesktop,L=I.rangeStylesTab,F=I.rangeStylesMobile,H=c$({controlName:iX,property:"width",attributes:t}),z=H.rangeStylesDesktop,q=H.rangeStylesTab,U=H.rangeStylesMobile,V=c$({controlName:sX,property:"height",attributes:t}),W=V.rangeStylesDesktop,G=V.rangeStylesTab,Z=V.rangeStylesMobile,Y=c$({controlName:bX,property:"width",attributes:t}),J=Y.rangeStylesDesktop,Q=Y.rangeStylesTab,X=Y.rangeStylesMobile,$=c$({controlName:pX,property:"height",attributes:t}),K=$.rangeStylesDesktop,ee=$.rangeStylesTab,te=$.rangeStylesMobile,ae=n$({controlName:uX,styleFor:"padding",attributes:t}),ne=ae.dimensionStylesDesktop,oe=ae.dimensionStylesTab,re=ae.dimensionStylesMobile,ce=c$({controlName:dX,property:"margin-bottom",attributes:t}),le=ce.rangeStylesDesktop,ie=ce.rangeStylesTab,se=ce.rangeStylesMobile,be=o$({controlName:hX,attributes:t}),pe=be.styesDesktop,ue=be.styesTab,de=be.styesMobile,me=be.stylesHoverDesktop,ge=be.stylesHoverTab,fe=be.stylesHoverMobile,ye=be.transitionStyle,ve=c$({controlName:gX,property:"width",attributes:t}),he=ve.rangeStylesDesktop,we=ve.rangeStylesTab,ke=ve.rangeStylesMobile,Re=r$({attributes:t,prefixConstant:MX}),_e=Re.typoStylesDesktop,Ee=Re.typoStylesTab,Ce=Re.typoStylesMobile,xe=n$({controlName:fX,styleFor:"padding",attributes:t}),Se=xe.dimensionStylesDesktop,Be=xe.dimensionStylesTab,Te=xe.dimensionStylesMobile,Ne=n$({controlName:yX,styleFor:"margin",attributes:t}),Pe=Ne.dimensionStylesDesktop,Oe=Ne.dimensionStylesTab,Me=Ne.dimensionStylesMobile,De=o$({controlName:vX,attributes:t}),je=De.styesDesktop,Ie=De.styesTab,Ae=De.styesMobile,Le=De.stylesHoverDesktop,Fe=De.stylesHoverTab,He=De.stylesHoverMobile,ze=De.transitionStyle,qe=r$({attributes:t,prefixConstant:DX}),Ue=qe.typoStylesDesktop,Ve=qe.typoStylesTab,We=qe.typoStylesMobile,Ge=o$({controlName:wX,attributes:t,noShadow:!0}),Ze=Ge.styesDesktop,Ye=Ge.styesTab,Je=Ge.styesMobile,Qe=Ge.stylesHoverDesktop,Xe=Ge.stylesHoverTab,$e=Ge.stylesHoverMobile,Ke=Ge.transitionStyle,et=r$({attributes:t,prefixConstant:jX}),tt=et.typoStylesDesktop,at=et.typoStylesTab,nt=et.typoStylesMobile,ot=n$({controlName:kX,styleFor:"padding",attributes:t}),rt=ot.dimensionStylesDesktop,ct=ot.dimensionStylesTab,lt=ot.dimensionStylesMobile,it=n$({controlName:RX,styleFor:"margin",attributes:t}),st=it.dimensionStylesDesktop,bt=it.dimensionStylesTab,pt=it.dimensionStylesMobile,ut=c$({controlName:_X,property:"width",attributes:t}),dt=ut.rangeStylesDesktop,mt=ut.rangeStylesTab,gt=ut.rangeStylesMobile,ft=c$({controlName:_X,property:"height",attributes:t}),yt=ft.rangeStylesDesktop,vt=ft.rangeStylesTab,ht=ft.rangeStylesMobile,wt=c$({controlName:EX,property:"border-width",attributes:t,customUnit:"px"}),kt=wt.rangeStylesDesktop,Rt=wt.rangeStylesTab,_t=wt.rangeStylesMobile,Et=n$({controlName:CX,styleFor:"border-radius",attributes:t}),Ct=Et.dimensionStylesDesktop,xt=Et.dimensionStylesTab,St=Et.dimensionStylesMobile,Bt=n$({controlName:xX,styleFor:"border-radius",attributes:t}),Tt=Bt.dimensionStylesDesktop,Nt=Bt.dimensionStylesTab,Pt=Bt.dimensionStylesMobile,Ot=c$({controlName:SX,property:"max-width",attributes:t}),Mt=Ot.rangeStylesDesktop,Dt=Ot.rangeStylesTab,jt=Ot.rangeStylesMobile,It=n$({controlName:NX,styleFor:"padding",attributes:t}),At=It.dimensionStylesDesktop,Lt=It.dimensionStylesTab,Ft=It.dimensionStylesMobile,Ht=n$({controlName:TX,styleFor:"margin",attributes:t}),zt=Ht.dimensionStylesDesktop,qt=Ht.dimensionStylesTab,Ut=Ht.dimensionStylesMobile,Vt=o$({controlName:BX,attributes:t}),Wt=Vt.styesDesktop,Gt=Vt.styesTab,Zt=Vt.styesMobile,Yt=Vt.stylesHoverDesktop,Jt=Vt.stylesHoverTab,Qt=Vt.stylesHoverMobile,Xt=Vt.transitionStyle,$t="\n\n\t\t.".concat(o,".eb-wpforms-wrapper {\n\t\t\t").concat(R?"background: ".concat(R,";"):"","\n\t\t\t").concat(Mt,"\n\t\t\t").concat(At,"\n\t\t\t").concat(zt,"\n\t\t\t").concat(Wt,"\n\t\t\ttransition: ").concat(Xt,";\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper:hover {\n\t\t\t").concat(Yt,"\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-field label {\n\t\t\t").concat(T,"\n\t\t\t").concat(C,"\n\t\t\t").concat(r?"color: ".concat(r,";"):"","\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), .").concat(o,".eb-wpforms-wrapper .wpforms-form .wpforms-field textarea, .").concat(o,".eb-wpforms-wrapper .wpforms-gutenberg-form-selector.wpforms-render-modern.wpforms-container-full .wpforms-form textarea:disabled, .").concat(o,".eb-wpforms-wrapper .wpforms-form .wpforms-field select {\n\t\t\t").concat(M,"\n\t\t\t").concat(A||"","\n\t\t\t").concat(ne,"\n\t\t\t").concat(pe,"\n\t\t\t").concat(c?"background-color: ".concat(c,";"):"","\n\t\t\t").concat(l?"color: ".concat(l,";"):"","\n\t\t\ttransition: ").concat(ye,";\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]):hover,\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-field textarea:hover,\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-field select:hover {\n\t\t\t").concat(me,"\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file])::focus, .").concat(o,".eb-wpforms-wrapper .wpforms-field textarea::focus {\n\t\t\t").concat(i?"background-color: ".concat(i,";"):"","\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), .").concat(o,".eb-wpforms-wrapper .wpforms-field select {\n\t\t\t").concat(z||"","\n\t\t\t").concat(W||"","\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-form .wpforms-field textarea {\n\t\t\t").concat(J||"","\n\t\t\t").concat(K||"","\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-field {\n\t\t\t").concat(le||"","\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-field input::-webkit-input-placeholder, .").concat(o,".eb-wpforms-wrapper .wpforms-field textarea::-webkit-input-placeholder {\n\t\t\t").concat(s?"color: ".concat(s,";"):"","\n\t\t}\n\n\t\t").concat("custom"===p?".".concat(o,".eb-wpforms-wrapper .wpforms-submit-container {\n\t\t\ttext-align: ").concat(b,";\n\t\t}\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-submit-container .wpforms-submit {\n\t\t\t").concat(he,"\n\t\t}\n\t\t"):"\n\t\t\t\t.".concat(o,".eb-wpforms-wrapper .wpforms-submit-container .wpforms-submit {\n\t\t\t\t\twidth: 100%;\n\t\t\t\t}\n\t\t\t\t"),"\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-submit-container .wpforms-submit,\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-submit-container input[type=submit]:disabled,\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-submit-container button[type=submit]:disabled,\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-submit-container .wpforms-page-button:disabled,\n        .").concat(o,".eb-wpforms-wrapper .wpforms-gutenberg-form-selector.wpforms-render-modern.wpforms-container-full .wpforms-form .wpforms-submit,\n        .").concat(o,".eb-wpforms-wrapper .wpforms-gutenberg-form-selector.wpforms-render-modern.wpforms-container-full .wpforms-form input[type=submit]:disabled,\n        .").concat(o,".eb-wpforms-wrapper .wpforms-gutenberg-form-selector.wpforms-render-modern.wpforms-container-full .wpforms-form button[type=submit]:disabled,\n        .").concat(o,".eb-wpforms-wrapper .wpforms-gutenberg-form-selector.wpforms-render-modern.wpforms-container-full .wpforms-form .wpforms-page-button:disabled,\n        .").concat(o,".eb-wpforms-wrapper div.wpforms-container-full button[type=submit]:not(:hover):not(:active)\n\t\t {\n\t\t\t").concat(_e,"\n\t\t\t").concat(Se,"\n\t\t\t").concat(Pe,"\n\t\t\t").concat(je,"\n\t\t\t").concat(u?"background-color: ".concat(u,";"):"","\n\t\t\t").concat(d?"color: ".concat(d,";"):"","\n\t\t\ttransition: all 0.5s, ").concat(ze,";\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-submit-container .wpforms-submit:hover {\n\t\t\t").concat(Le,"\n\t\t\t").concat(m?"background-color: ".concat(m,";"):"","\n\t\t\t").concat(g?"color: ".concat(g,";"):"","\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-confirmation-container-full,\n\t\t.").concat(o,".eb-wpforms-wrapper div[submit-success]>.wpforms-confirmation-container-full:not(.wpforms-redirection-message) {\n\t\t\t").concat(f?"background-color: ".concat(f,";"):"","\n\t\t\t").concat(y?"color: ".concat(y,";"):"","\n\t\t\t").concat(Ue,"\n\t\t\t").concat(Ze,"\n\t\t\ttransition: ").concat(Ke,";\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-confirmation-container-full:hover {\n\t\t\t").concat(Qe,"\n\t\t}\n\n\t\t").concat(_?"\n\t\t.".concat(o,".eb-wpforms-wrapper .wpforms-form label.wpforms-error {\n\t\t\t").concat(tt,"\n\t\t\t").concat(rt,"\n\t\t\t").concat(st,"\n\t\t\t").concat(v?"color: ".concat(v,";"):"","\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-form .wpforms-field input.wpforms-error, .").concat(o,".eb-wpforms-wrapper .wpforms-form .wpforms-field input.user-invalid, .").concat(o,".eb-wpforms-wrapper .wpforms-form .wpforms-field textarea.wpforms-error, .").concat(o,".eb-wpforms-wrapper .wpforms-form .wpforms-field textarea.user-invalid, .").concat(o,".eb-wpforms-wrapper .wpforms-form .wpforms-field select.wpforms-error, .").concat(o,".eb-wpforms-wrapper .wpforms-form .wpforms-field select.user-invalid, .").concat(o,".eb-wpforms-wrapper .wpforms-form .wpforms-field.wpforms-has-error .choices__inner {\n\t\t\tborder-color: ").concat(v,";\n\t\t}\n\t\t"):"","\n\n\t\t.").concat(o,'.eb-wpforms-wrapper.eb-wpforms-custom-radio-checkbox input[type="checkbox"],\n\t\t.').concat(o,'.eb-wpforms-wrapper.eb-wpforms-custom-radio-checkbox input[type="radio"] {\n\t\t\t').concat(dt,"\n\t\t\t").concat(yt,"\n\t\t\t").concat(kt,"\n\t\t\t").concat(h?"background: ".concat(h,";"):"","\n\t\t\t").concat(w?"border-color: ".concat(w,";"):"","\n\t\t}\n\n\t\t.").concat(o,'.eb-wpforms-wrapper.eb-wpforms-custom-radio-checkbox input[type="checkbox"],\n\t\t.').concat(o,'.eb-wpforms-wrapper.eb-wpforms-custom-radio-checkbox input[type="checkbox"]:before {\n\t\t\t').concat(Ct,"\n\t\t}\n\n\t\t.").concat(o,'.eb-wpforms-wrapper.eb-wpforms-custom-radio-checkbox input[type="radio"],\n\t\t.').concat(o,'.eb-wpforms-wrapper.eb-wpforms-custom-radio-checkbox input[type="radio"]:before {\n\t\t\t').concat(Tt,"\n\t\t}\n\n\t\t").concat(k?"\n\t\t\t.".concat(o,'.eb-wpforms-wrapper.eb-wpforms-custom-radio-checkbox input[type="checkbox"]:checked:before,\n\t\t.').concat(o,'.eb-wpforms-wrapper.eb-wpforms-custom-radio-checkbox input[type="radio"]:checked:before {\nbackground: ').concat(k,";\n\t\t}\n\t\t\t"):"","\n\n\t\t.").concat(o,".eb-wpforms-wrapper.eb-wpforms-alignment-center {\n\t\t\tmargin: 0 auto;\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper.eb-wpforms-alignment-right {\n\t\t\tmargin: 0 0 0 auto;\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper.eb-wpforms-hide-labels .wpforms-field .wpforms-field-label,\n\t\t.").concat(o,".eb-wpforms-wrapper.eb-wpforms-hide-errormessage label.wpforms-error {\n\t\t\tdisplay: none !important;\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper.eb-wpforms-hide-labels .wpforms-field.wpforms-field-radio .wpforms-field-label,\n\t\t.").concat(o,".eb-wpforms-wrapper.eb-wpforms-hide-labels .wpforms-field.wpforms-field-checkbox .wpforms-field-label {\n\t\t\tdisplay: block !important;\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper.eb-wpforms-hide-placeholder input::-webkit-input-placeholder,\n\t\t.").concat(o,".eb-wpforms-wrapper.eb-wpforms-hide-placeholder textarea::-webkit-input-placeholder {\n\t\topacity: 0;\n\t\tvisibility: hidden;\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper.eb-wpforms-hide-placeholder input::-moz-placeholder,\n\t\t.").concat(o,".eb-wpforms-wrapper.eb-wpforms-hide-placeholder textarea::-moz-placeholder {\n\t\topacity: 0;\n\t\tvisibility: hidden;\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper.eb-wpforms-hide-placeholder input:-ms-input-placeholder,\n\t\t.").concat(o,".eb-wpforms-wrapper.eb-wpforms-hide-placeholder textarea:-ms-input-placeholder {\n\t\topacity: 0;\n\t\tvisibility: hidden;\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper.eb-wpforms-hide-placeholder input:-moz-placeholder,\n\t\t.").concat(o,".eb-wpforms-wrapper.eb-wpforms-hide-placeholder textarea:-moz-placeholder {\n\t\topacity: 0;\n\t\tvisibility: hidden;\n\t\t}\n\t"),Kt="\n\t\t.".concat(o,".eb-wpforms-wrapper {\n\t\t\t").concat(Dt,"\n\t\t\t").concat(Lt,"\n\t\t\t").concat(qt,"\n\t\t\t").concat(Gt,"\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper:hover {\n\t\t\t").concat(Jt,"\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-field label {\n\t\t\t").concat(N,"\n\t\t\t").concat(x,"\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), .").concat(o,".eb-wpforms-wrapper .wpforms-form .wpforms-field textarea, .").concat(o,".eb-wpforms-wrapper .wpforms-form .wpforms-field select {\n\t\t\t").concat(D,"\n\t\t\t").concat(L,"\n\t\t\t").concat(oe,"\n\t\t\t").concat(ue,"\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]):hover, .").concat(o,".eb-wpforms-wrapper .wpforms-field textarea:hover, .").concat(o,".eb-wpforms-wrapper .wpforms-field select:hover {\n\t\t\t").concat(ge,"\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), .").concat(o,".eb-wpforms-wrapper .wpforms-field select {\n\t\t\t").concat(q||"","\n\t\t\t").concat(G||"","\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-field textarea {\n\t\t\t").concat(Q||"","\n\t\t\t").concat(ee||"","\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-field {\n\t\t\t").concat(ie||"","\n\t\t}\n\n\t\t").concat("custom"===p?".".concat(o,".eb-wpforms-wrapper .wpforms-submit-container .wpforms-submit {\n\t\t\t").concat(we,"\n\t\t}\n\t\t"):"","\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-submit-container .wpforms-submit {\n\t\t\t").concat(Ee,"\n\t\t\t").concat(Be,"\n\t\t\t").concat(Oe,"\n\t\t\t").concat(Ie,"\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-submit-container:hover .wpforms-submit {\n\t\t\t").concat(Fe,"\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-confirmation-container-full,\n\t\t.").concat(o,".eb-wpforms-wrapper div[submit-success]>.wpforms-confirmation-container-full:not(.wpforms-redirection-message) {\n\t\t\t").concat(Ve,"\n\t\t\t").concat(Ye,"\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-confirmation-container-full:hover {\n\t\t\t").concat(Xe,"\n\t\t}\n\n\t\t").concat(_?"\n\t\t.".concat(o,".eb-wpforms-wrapper .wpforms-form label.wpforms-error {\n\t\t\t").concat(at,"\n\t\t\t").concat(ct,"\n\t\t\t").concat(bt,"\n\t\t}\n\t\t"):"","\n\n\t\t.").concat(o,'.eb-wpforms-wrapper.eb-wpforms-custom-radio-checkbox input[type="checkbox"],\n\t\t.').concat(o,'.eb-wpforms-wrapper.eb-wpforms-custom-radio-checkbox input[type="radio"] {\n\t\t\t').concat(mt,"\n\t\t\t").concat(vt,"\n\t\t\t").concat(Rt,"\n\t\t}\n\n\t\t.").concat(o,'.eb-wpforms-wrapper.eb-wpforms-custom-radio-checkbox input[type="checkbox"],\n\t\t.').concat(o,'.eb-wpforms-wrapper.eb-wpforms-custom-radio-checkbox input[type="checkbox"]:before {\n\t\t\t').concat(xt,"\n\t\t}\n\n\t\t.").concat(o,'.eb-wpforms-wrapper.eb-wpforms-custom-radio-checkbox input[type="radio"],\n\t\t.').concat(o,'.eb-wpforms-wrapper.eb-wpforms-custom-radio-checkbox input[type="radio"]:before {\n\t\t\t').concat(Nt,"\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper {\n\t\t\t").concat(R?"background: ".concat(R,";"):"","\n\t\t}\n\n\t"),ea="\n\t\t.".concat(o,".eb-wpforms-wrapper {\n\t\t\t").concat(jt,"\n\t\t\t").concat(Ft,"\n\t\t\t").concat(Ut,"\n\t\t\t").concat(Zt,"\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper:hover {\n\t\t\t").concat(Qt,"\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-field label {\n\t\t\t").concat(P,"\n\t\t\t").concat(S,"\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), .").concat(o,".eb-wpforms-wrapper .wpforms-form .wpforms-field textarea, .").concat(o,".eb-wpforms-wrapper .wpforms-form .wpforms-field select {\n\t\t\t").concat(j,"\n\t\t\t").concat(F,"\n\t\t\t").concat(re,"\n\t\t\t").concat(de,"\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]):hover, .").concat(o,".eb-wpforms-wrapper .wpforms-field textarea:hover, .").concat(o,".eb-wpforms-wrapper .wpforms-field select:hover {\n\t\t\t").concat(fe,"\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), .").concat(o,".eb-wpforms-wrapper .wpforms-field select {\n\t\t\t").concat(U||"","\n\t\t\t").concat(Z||"","\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-field textarea {\n\t\t\t").concat(X||"","\n\t\t\t").concat(te||"","\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-field {\n\t\t\t").concat(se||"","\n\t\t}\n\n\t\t").concat("custom"===p?".".concat(o,".eb-wpforms-wrapper .wpforms-submit-container .wpforms-submit {\n\t\t\t").concat(ke,"\n\t\t}\n\t\t"):"","\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-submit-container .wpforms-submit {\n\t\t\t").concat(Ce,"\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-submit-container .wpforms-submit {\n\t\t\t").concat(Ce,"\n\t\t\t").concat(Te,"\n\t\t\t").concat(Me,"\n\t\t\t").concat(Ae,"\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-submit-container:hover .wpforms-submit {\n\t\t\t").concat(He,"\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-confirmation-container-full,\n\t\t.").concat(o,".eb-wpforms-wrapper div[submit-success]>.wpforms-confirmation-container-full:not(.wpforms-redirection-message) {\n\t\t\t").concat(We,"\n\t\t\t").concat(Je,"\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-confirmation-container-full:hover {\n\t\t\t").concat($e,"\n\t\t}\n\n\t\t").concat(_?"\n\t\t.".concat(o,".eb-wpforms-wrapper .wpforms-form label.wpforms-error {\n\t\t\t").concat(nt,"\n\t\t\t").concat(lt,"\n\t\t\t").concat(pt,"\n\t\t}\n\t\t"):"","\n\n\t\t.").concat(o,'.eb-wpforms-wrapper.eb-wpforms-custom-radio-checkbox input[type="checkbox"],\n\t\t.').concat(o,'.eb-wpforms-wrapper.eb-wpforms-custom-radio-checkbox input[type="radio"] {\n\t\t\t').concat(gt,"\n\t\t\t").concat(ht,"\n\t\t\t").concat(_t,"\n\t\t}\n\n\t\t.").concat(o,'.eb-wpforms-wrapper.eb-wpforms-custom-radio-checkbox input[type="checkbox"],\n\t\t.').concat(o,'.eb-wpforms-wrapper.eb-wpforms-custom-radio-checkbox input[type="checkbox"]:before {\n\t\t\t').concat(St,"\n\t\t}\n\n\t\t.").concat(o,'.eb-wpforms-wrapper.eb-wpforms-custom-radio-checkbox input[type="radio"],\n\t\t.').concat(o,'.eb-wpforms-wrapper.eb-wpforms-custom-radio-checkbox input[type="radio"]:before {\n\t\t\t').concat(Pt,"\n\t\t}\n\t"),ta=a$("\n\t\t".concat($t,"\n\t")),aa=a$("\n\t\t".concat(Kt,"\n\t")),na=a$("\n\t\t".concat(ea,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(l$,{attributes:t,setAttributes:a,desktopAllStyles:ta,tabAllStyles:aa,mobileAllStyles:na,blockName:n}))}function s$(e){return s$="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s$(e)}function b$(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function p$(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?b$(Object(a),!0).forEach((function(t){u$(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):b$(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function u$(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=s$(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=s$(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==s$(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var d$=EBControls,m$=d$.BlockProps,g$=d$.NoticeComponent;const f$=JSON.parse('{"title":"WPForms","name":"essential-blocks/wpforms","category":"essential-blocks","description":"Design stunning WPForms in minutes with plenty of controls & styling options","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');var y$;function v$(e){return v$="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},v$(e)}function h$(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function w$(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=v$(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=v$(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==v$(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var k$=f$.name;(0,EBControls.ebConditionalRegisterBlockType)(function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?h$(Object(a),!0).forEach((function(t){w$(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):h$(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}({name:k$},f$),{icon:e$,attributes:WX,keywords:[(0,Y.__)("WPForms","essential-blocks"),(0,Y.__)("EB WPForms","essential-blocks"),(0,Y.__)("Form","essential-blocks")],edit:function(e){var t,a,n=e.attributes,o=e.setAttributes,r=(e.className,e.clientId,e.isSelected),c=(e.name,n.blockId),l=(n.blockMeta,n.resOption,n.formActive,n.formId),i=(n.labelColor,n.inputBackgroundColor,n.inputTextColor,n.inputFocusBackgroundColor,n.placeHolderColor,n.btnAlignment,n.btnWidthType,n.btnBackgroundColor,n.btnColor,n.btnBackgroundHoverColor,n.btnHoverColor,n.successBackgroundColor,n.successColor,n.errorColor,n.customCheckboxStyle),s=(n.checkboxColor,n.checkboxBorderColor,n.checkboxCheckedColor,n.formBackgroundColor,n.formAlignment),b=n.showLabels,p=n.showPlaceholder,u=n.showErrorMessage,d=n.classHook,m=n.cover,g=p$(p$({},e),{},{blockPrefix:"eb-wpforms",style:React.createElement(i$,e)}),f=(null===(t=EssentialBlocksLocalize)||void 0===t||null===(t=t.get_plugins["wpforms-lite/wpforms.php"])||void 0===t?void 0:t.active)||(null===(a=EssentialBlocksLocalize)||void 0===a||null===(a=a.get_plugins["wpforms/wpforms.php"])||void 0===a?void 0:a.active),y=["eb-wpforms-wrapper"];i&&y.push("eb-wpforms-custom-radio-checkbox");var v={left:"eb-wpforms-alignment-left",center:"eb-wpforms-alignment-center",right:"eb-wpforms-alignment-right"};return s in v&&y.push(v[s]),b||y.push("eb-wpforms-hide-labels"),p||y.push("eb-wpforms-hide-placeholder"),u||y.push("eb-wpforms-hide-errormessage"),m.length?React.createElement("div",null,React.createElement("img",{src:m,alt:"wpforms",style:{maxWidth:"100%"}})):React.createElement(React.Fragment,null,r&&React.createElement(KX,{key:"inspector",attributes:n,setAttributes:o}),React.createElement(m$.Edit,g,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(c," ").concat(d)},React.createElement("div",{className:"".concat(c," ").concat(y.join(" "))},!f&&React.createElement(g$,{Icon:e$,title:"WPForms",description:React.createElement(React.Fragment,null,React.createElement("strong",null,"WPForms")," is not installed/activated on your site. Please install and activate"," ",React.createElement("a",{href:EssentialBlocksLocalize.eb_admin_url+"plugin-install.php?s=wpforms&tab=search&type=term",target:"_blank"},"WPForms")," ","first.")}),f&&!l&&React.createElement(X.Placeholder,{className:"eb-wpforms-choose-placeholder",label:(0,Y.__)("WPForms","essential-blocks")},React.createElement(X.SelectControl,{value:l,options:nX,onChange:function(e){return o({formId:e})}})),f&&l&&React.createElement(XW(),{className:"eb-wpforms-rendered",block:"wpforms/form-selector",attributes:{formId:l}})))))},save:function(){return null},example:{attributes:{cover:"".concat(null===(y$=EssentialBlocksLocalize)||void 0===y$?void 0:y$.image_url,"/block-preview/wpforms.jpeg")}}});var R$,_$,E$,C$,x$=a(3554),S$="wrprBg",B$="wrpMargin",T$="wrpPadding",N$="wrpBorderShadow",P$="videoBorderShadow",O$="width",M$="playIconWidth",D$="lightboxWidth",j$="lightboxHeight",I$="lightboxBorderShadow",A$="closeIconWidth",L$="stickyVideoWidth",F$="stickyVideoHeight",H$="placeholderImageWidth",z$="placeholderImageHeight",q$="placeholderPlayIconWidth",U$="stickyVisibility",V$=((0,Y.__)("YouTube","essential-blocks"),(0,Y.__)("Vimeo","essential-blocks"),(0,Y.__)("Self Hosted","essential-blocks"),[{label:(0,Y.__)("None","essential-blocks"),value:"none"},{label:(0,Y.__)("Sticky","essential-blocks"),value:"eb-sticky"},{label:(0,Y.__)("Lightbox","essential-blocks"),value:"lightbox"}]),W$=((0,Y.__)("None","essential-blocks"),(0,Y.__)("Custom","essential-blocks"),[{label:(0,Y.__)("Left","essential-blocks"),value:"left"},{label:(0,Y.__)("Right","essential-blocks"),value:"right"}]),G$=[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"}],Z$=[{label:"px",value:"px"},{label:"%",value:"%"},{label:"vh",value:"vh"}],Y$=[{label:"Left",value:"left"},{label:"Center",value:"center"},{label:"Right",value:"right"}],J$=[{label:"Image",value:"image"},{label:"Icon",value:"icon"}],Q$=[{label:(0,Y.__)("Visible","essential-blocks"),value:"visible"},{label:(0,Y.__)("Hidden","essential-blocks"),value:"hidden"}];function X$(e){return X$="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},X$(e)}function $$(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function K$(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?$$(Object(a),!0).forEach((function(t){eK(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):$$(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function eK(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=X$(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=X$(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==X$(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var tK=window.EBControls,aK=tK.generateDimensionsAttributes,nK=(tK.generateTypographyAttributes,tK.generateBackgroundAttributes),oK=tK.generateBorderShadowAttributes,rK=tK.generateResponsiveRangeAttributes,cK=tK.generateResponsiveSelectControlAttributes;const lK=K$(K$(K$(K$(K$(K$(K$(K$(K$(K$(K$(K$(K$(K$(K$(K$(K$({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},videoURL:{type:"string",default:"https://www.youtube.com/watch?v=PnZx4ZOMyzI"},videoLinkYoutube:{type:"string",default:""},videoLinkVimeo:{type:"string",default:""},videoLinkHtml:{type:"string",default:""},showBar:{type:"boolean",default:!1},showDownload:{type:"boolean",default:!1},videoConfig:{type:"object",default:{autoplay:!1,muted:!1,loop:!1}},imageOverlay:{type:"boolean",default:!1},previewImage:{type:"string",default:"".concat(null===(R$=EssentialBlocksLocalize)||void 0===R$?void 0:R$.image_url,"/adv-video-placeholder.png")},previewImageId:{type:"string",default:null},placeholderImage:{type:"string",default:"".concat(null===(_$=EssentialBlocksLocalize)||void 0===_$?void 0:_$.image_url,"/adv-video-placeholder.png")},placeholderImageId:{type:"string",default:null},customPlayIcon:{type:"boolean",default:!0},placeholderCustomPlayIconType:{type:"string",default:"image"},customPlayIconlib:{type:"string",default:"fas fa-play-circle"},customPlayIconlibColor:{type:"string",default:"#fff"},customPlayIconURL:{type:"string",default:(null===(E$=EssentialBlocksLocalize)||void 0===E$?void 0:E$.eb_plugins_url)+"assets/images/adv-video-playicon.svg"},customPlayIconId:{type:"string",default:null},placeholderPlayIconURL:{type:"string",default:(null===(C$=EssentialBlocksLocalize)||void 0===C$?void 0:C$.eb_plugins_url)+"assets/images/adv-video-playicon.svg"},lightboxPlayIcon:{type:"boolean",default:!0},lightboxPlayIconType:{type:"string",default:"image"},lightboxPlayIconlib:{type:"string",default:"fas fa-play-circle"},lightboxPlayIconlibColor:{type:"string",default:"#fff"},placeholderPlayIconId:{type:"string",default:""},videoOptions:{type:"string",default:"none"},image:{type:"object",default:{id:"",url:"",alt:""}},selectedImgIndex:{type:"number"},closeIconColor:{type:"string",default:"#000000"},closeIconBgColor:{type:"string",default:"#ffffff"},lightboxBGColor:{type:"string",default:"rgba(0 0 0 / 0.4)"},textAlign:{type:"string",default:"center"},stickyPosition:{type:"string",default:"right"},videoAlignment:{type:"string",default:"center"}},aK(B$)),aK(T$)),oK(N$,{bdrDefaults:{top:0,bottom:0,right:0,left:0}})),oK(P$,{defaultBdrColor:"#AE62D1",bdrDefaults:{top:0,bottom:0,right:0,left:0},rdsDefaults:{top:10,bottom:10,right:10,left:10}})),oK(I$,{defaultBdrColor:"#AE62D1",bdrDefaults:{top:0,bottom:0,right:0,left:0},rdsDefaults:{top:10,bottom:10,right:10,left:10}})),nK(S$,{defaultBgGradient:"linear-gradient(45deg,#ffffff,#ffffff)",noOverlay:!0})),rK(O$,{})),rK(M$,{defaultRange:60})),rK(L$,{})),rK(F$,{})),rK(H$,{})),rK(z$,{defaultRange:400})),rK(q$,{defaultRange:60})),rK(D$,{defaultRange:60,defaultUnit:"%"})),rK(j$,{defaultRange:70,defaultUnit:"vh"})),rK(A$,{defaultRange:30})),cK(U$));function iK(e){return iK="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},iK(e)}function sK(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function bK(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?sK(Object(a),!0).forEach((function(t){pK(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):sK(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function pK(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=iK(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=iK(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==iK(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function uK(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}var dK=window.EBControls,mK=(dK.faIcons,dK.ResponsiveDimensionsControl),gK=dK.BorderShadowControl,fK=dK.ImageAvatar,yK=dK.ResponsiveRangeController,vK=dK.BackgroundControl,hK=dK.ColorControl,wK=dK.AdvancedControls,kK=dK.ResponsiveSelectController,RK=dK.EBIconPicker;const _K=function(e){var t=e.attributes,a=e.setAttributes,n=t.resOption,o=t.showBar,r=t.videoConfig,c=t.videoOptions,l=t.imageOverlay,i=t.videoURL,s=t.previewImage,b=t.previewImageId,p=t.customPlayIcon,u=t.lightboxPlayIcon,d=t.customPlayIconId,m=t.customPlayIconURL,g=t.lightboxBGColor,f=t.closeIconColor,y=t.closeIconBgColor,v=t.placeholderImage,h=t.placeholderImageId,w=t.placeholderPlayIconURL,k=t.placeholderPlayIconId,R=t.stickyPosition,_=t.videoAlignment,E=t.customPlayIconlib,C=t.placeholderCustomPlayIconType,x=t.customPlayIconlibColor,S=t.lightboxPlayIconType,B=t.lightboxPlayIconlib,T=t.lightboxPlayIconlibColor,N=t.showDownload;(0,J.useEffect)((function(){"lightbox"===c&&a({imageOverlay:!1})}),[c]);var P,O,M={setAttributes:a,resOption:n,attributes:t,objAttributes:lK},D=(P=(0,J.useState)(!1),O=2,function(e){if(Array.isArray(e))return e}(P)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,r,c,l=[],i=!0,s=!1;try{if(r=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;i=!1}else for(;!(i=(n=r.call(a)).done)&&(l.push(n.value),l.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{if(!i&&null!=a.return&&(c=a.return(),Object(c)!==c))return}finally{if(s)throw o}}return l}}(P,O)||function(e,t){if(e){if("string"==typeof e)return uK(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?uK(e,t):void 0}}(P,O)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),j=D[0],I=D[1];return(0,J.useEffect)((function(){if(i){var e=i.split(".").pop();-1===["mp4","webm","ogg"].indexOf(e)?I(!1):I(!0)}}),[i]),React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:"General",className:"eb-tab general"},{name:"styles",title:"Style",className:"eb-tab styles"},{name:"advance",title:"Advanced",className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls"+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("General","essential-blocks"),initialOpen:!0},React.createElement(X.TextControl,{label:(0,Y.__)("URL","essential-blocks"),value:i,onChange:function(e){return a({videoURL:e})}}),React.createElement(X.__experimentalDivider,null),React.createElement(X.PanelRow,null," ",(0,Y.__)("Video Options","essential-blocks")," "),"lightbox"!=c&&React.createElement(React.Fragment,null,React.createElement(X.ToggleControl,{label:(0,Y.__)("Autoplay","essential-blocks"),checked:r.autoplay,onChange:function(e){return a({videoConfig:bK(bK({},r),{},{autoplay:e})})}}),r.autoplay&&React.createElement(X.PanelRow,null,React.createElement("em",null,"Audio will be muted by default if autoplay is enabled.")),React.createElement(X.ToggleControl,{label:(0,Y.__)("Mute","essential-blocks"),checked:r.muted,onChange:function(e){return a({videoConfig:bK(bK({},r),{},{muted:e})})}})),React.createElement(X.ToggleControl,{label:(0,Y.__)("Loop","essential-blocks"),checked:r.loop,onChange:function(e){return a({videoConfig:bK(bK({},r),{},{loop:e})})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Controls","essential-blocks"),checked:o,onChange:function(e){return a({showBar:e})}}),o&&j&&React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Download","essential-blocks"),checked:N,onChange:function(e){return a({showDownload:e})}}),"lightbox"!=c&&React.createElement(React.Fragment,null,React.createElement(X.__experimentalDivider,null),React.createElement(X.ToggleControl,{label:(0,Y.__)("Image Overlay","essential-blocks"),checked:l,onChange:function(e){return a({imageOverlay:e})}}),l&&React.createElement(React.Fragment,null,!s&&React.createElement(Q.MediaUpload,{onSelect:function(e){var t=e.id,n=e.url;return a({previewImage:n,previewImageId:t})},type:"image",value:b,render:function(e){var t=e.open;return React.createElement(X.Button,{className:"eb-background-control-inspector-panel-img-btn components-button",label:(0,Y.__)("Upload Image","essential-blocks"),icon:"format-image",onClick:t})}}),s&&React.createElement(fK,{imageUrl:s,onDeleteImage:function(){return a({previewImage:null})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Custom Play Icon","essential-blocks"),checked:p,onChange:function(e){return a({customPlayIcon:e})}}),p&&React.createElement(React.Fragment,null,React.createElement(X.BaseControl,{label:(0,Y.__)("Icon Type","essential-blocks")},React.createElement(X.ButtonGroup,null,J$.map((function(e){return React.createElement(X.Button,{isPrimary:C===e.value,isSecondary:C!==e.value,onClick:function(){return a({placeholderCustomPlayIconType:e.value})}},e.label)})))),"icon"===C&&React.createElement(X.BaseControl,null,React.createElement(RK,{value:E,onChange:function(e){return a({customPlayIconlib:e})}})),"image"===C&&React.createElement(React.Fragment,null,!m&&React.createElement(Q.MediaUpload,{onSelect:function(e){var t=e.id,n=e.url;return a({customPlayIconURL:n,customPlayIconId:t})},type:"image",value:d,render:function(e){var t=e.open;return React.createElement(X.Button,{className:"eb-background-control-inspector-panel-img-btn components-button",label:(0,Y.__)("Upload Image","essential-blocks"),icon:"format-image",onClick:t})}}),m&&React.createElement(fK,{imageUrl:m,onDeleteImage:function(){return a({customPlayIconURL:null})}}))))),React.createElement(X.__experimentalDivider,null),React.createElement(X.SelectControl,{label:(0,Y.__)("Additional Option","essential-blocks"),value:c,options:V$,onChange:function(e){return a({videoOptions:e})}}),"eb-sticky"==c&&React.createElement(React.Fragment,null,React.createElement(X.BaseControl,{label:(0,Y.__)("Sticky Position","essential-blocks")},React.createElement(X.ButtonGroup,null,W$.map((function(e){return React.createElement(X.Button,{isPrimary:R===e.value,isSecondary:R!==e.value,onClick:function(){return a({stickyPosition:e.value})}},e.label)})))),React.createElement(kK,{baseLabel:"Visibility",controlName:U$,resRequiredProps:M,options:Q$,resOption:n})),"lightbox"==c&&React.createElement(React.Fragment,null,React.createElement(X.PanelRow,null,"Placeholder Image"),!v&&React.createElement(Q.MediaUpload,{onSelect:function(e){var t=e.id,n=e.url;return a({placeholderImage:n,placeholderImageId:t})},type:"image",value:h,render:function(e){var t=e.open;return React.createElement(X.Button,{className:"eb-background-control-inspector-panel-img-btn components-button",label:(0,Y.__)("Upload Image","essential-blocks"),icon:"format-image",onClick:t})}}),v&&React.createElement(fK,{imageUrl:v,onDeleteImage:function(){return a({placeholderImage:null})}}),React.createElement(X.PanelRow,null,"Play Icon"),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Play Icon","essential-blocks"),checked:u,onChange:function(e){return a({lightboxPlayIcon:e})}}),u&&React.createElement(React.Fragment,null,React.createElement(X.BaseControl,{label:(0,Y.__)("Icon Type","essential-blocks")},React.createElement(X.ButtonGroup,null,J$.map((function(e){return React.createElement(X.Button,{isPrimary:S===e.value,isSecondary:S!==e.value,onClick:function(){return a({lightboxPlayIconType:e.value})}},e.label)})))),"icon"===S&&React.createElement(X.BaseControl,null,React.createElement(RK,{value:B,onChange:function(e){return a({lightboxPlayIconlib:e})}})),"image"===S&&React.createElement(React.Fragment,null,!w&&React.createElement(Q.MediaUpload,{onSelect:function(e){var t=e.id,n=e.url;return a({placeholderPlayIconURL:n,placeholderPlayIconId:t})},type:"image",value:k,render:function(e){var t=e.open;return React.createElement(X.Button,{className:"eb-background-control-inspector-panel-img-btn components-button",label:(0,Y.__)("Upload Image","essential-blocks"),icon:"format-image",onClick:t})}}),w&&React.createElement(fK,{imageUrl:w,onDeleteImage:function(){return a({placeholderPlayIconURL:null})}})))))),"styles"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Video Styles","essential-blocks")},"lightbox"!=c&&React.createElement(React.Fragment,null,React.createElement(yK,{baseLabel:(0,Y.__)("Width","essential-blocks"),controlName:O$,resRequiredProps:M,min:1,max:1e3,step:1,units:G$}),React.createElement(X.BaseControl,{label:(0,Y.__)("Alignment","essential-blocks")},React.createElement(X.ButtonGroup,null,Y$.map((function(e){return React.createElement(X.Button,{isPrimary:_===e.value,isSecondary:_!==e.value,onClick:function(){return a({videoAlignment:e.value})}},e.label)}))))),"lightbox"==c&&React.createElement(React.Fragment,null,u&&React.createElement(React.Fragment,null,React.createElement(X.PanelRow,null,"Play Icon"),"icon"==S&&React.createElement(React.Fragment,null,React.createElement(hK,{label:(0,Y.__)("Icon Color","essential-blocks"),color:T,onChange:function(e){return a({lightboxPlayIconlibColor:e})}})),React.createElement(yK,{baseLabel:(0,Y.__)("Size","essential-blocks"),controlName:q$,resRequiredProps:M,min:1,max:400,step:1,units:G$})),React.createElement(X.PanelRow,null,"Placeholder Image"),React.createElement(yK,{baseLabel:(0,Y.__)("Width","essential-blocks"),controlName:H$,resRequiredProps:M,min:1,max:1e3,step:1,units:G$}),React.createElement(yK,{baseLabel:(0,Y.__)("Height","essential-blocks"),controlName:z$,resRequiredProps:M,min:1,max:1e3,step:1,units:G$}),React.createElement(X.__experimentalDivider,null)),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Border","essential-blocks"))),React.createElement(gK,{controlName:P$,resRequiredProps:M})),l&&p&&React.createElement(X.PanelBody,{title:(0,Y.__)("Image Overlay","essential-blocks"),initialOpen:!1},React.createElement(yK,{baseLabel:(0,Y.__)("Play Icon Size","essential-blocks"),controlName:M$,resRequiredProps:M,min:1,max:400,step:1,units:G$}),"icon"==C&&React.createElement(React.Fragment,null,React.createElement(hK,{label:(0,Y.__)("Icon Color","essential-blocks"),color:x,onChange:function(e){return a({customPlayIconlibColor:e})}}))),"lightbox"==c&&React.createElement(X.PanelBody,{title:(0,Y.__)("Lightbox","essential-blocks")},React.createElement(X.PanelRow,null,"Lightbox"),React.createElement(hK,{label:(0,Y.__)("Overlay Color","essential-blocks"),color:g,onChange:function(e){return a({lightboxBGColor:e})}}),React.createElement(yK,{baseLabel:(0,Y.__)("Content Width","essential-blocks"),controlName:D$,resRequiredProps:M,min:1,max:1e3,step:1,units:G$}),React.createElement(yK,{baseLabel:(0,Y.__)("Content Height","essential-blocks"),controlName:j$,resRequiredProps:M,min:1,max:1e3,step:1,units:Z$}),React.createElement(gK,{controlName:I$,resRequiredProps:M,noShadow:!0,noBdrHover:!0}),React.createElement(X.PanelRow,null,"Close Icon"),React.createElement(hK,{label:(0,Y.__)("Background Color","essential-blocks"),color:y,onChange:function(e){return a({closeIconBgColor:e})}}),React.createElement(hK,{label:(0,Y.__)("Color","essential-blocks"),color:f,onChange:function(e){return a({closeIconColor:e})}}),React.createElement(yK,{baseLabel:(0,Y.__)("Size (PX)","essential-blocks"),controlName:A$,resRequiredProps:M,min:1,max:100,step:1,noUnits:!0})),"eb-sticky"==c&&React.createElement(X.PanelBody,{title:(0,Y.__)("Sticky","essential-blocks"),initialOpen:!1},React.createElement(yK,{baseLabel:(0,Y.__)("Width","essential-blocks"),controlName:L$,resRequiredProps:M,min:1,max:1e3,step:1,units:G$}),React.createElement(yK,{baseLabel:(0,Y.__)("Height","essential-blocks"),controlName:F$,resRequiredProps:M,min:1,max:1e3,step:1,units:G$}),React.createElement(X.PanelRow,null,"Close Icon"),React.createElement(hK,{label:(0,Y.__)("Color","essential-blocks"),color:f,onChange:function(e){return a({closeIconColor:e})}}),React.createElement(yK,{baseLabel:(0,Y.__)("Size","essential-blocks"),controlName:A$,resRequiredProps:M,min:1,max:1e3,step:1,units:G$}))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,null,React.createElement(mK,{resRequiredProps:M,controlName:B$,baseLabel:"Margin"}),React.createElement(mK,{resRequiredProps:M,controlName:T$,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Background","essential-blocks"),initialOpen:!1},React.createElement(vK,{controlName:S$,resRequiredProps:M,noOverlay:!0})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(gK,{controlName:N$,resRequiredProps:M})),React.createElement(wK,{attributes:t,setAttributes:a})))}))))};var EK=window.EBControls,CK=EK.softMinifyCssStrings,xK=(EK.generateTypographyStyles,EK.generateDimensionsControlStyles),SK=EK.generateBorderShadowStyles,BK=EK.generateResponsiveRangeStyles,TK=EK.generateBackgroundControlStyles,NK=EK.StyleComponent;function PK(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=(t.resOption,t.blockId),r=(t.blockMeta,t.lightboxBGColor),c=t.closeIconColor,l=(t.closeIconWidthRange,t.closeIconBgColor),i=t.videoAlignment,s=t.customPlayIconlibColor,b=t.lightboxPlayIconlibColor,p=xK({controlName:B$,styleFor:"margin",attributes:t}),u=p.dimensionStylesDesktop,d=p.dimensionStylesTab,m=p.dimensionStylesMobile,g=xK({controlName:T$,styleFor:"padding",attributes:t}),f=g.dimensionStylesDesktop,y=g.dimensionStylesTab,v=g.dimensionStylesMobile,h=BK({controlName:O$,property:"",attributes:t}),w=h.rangeStylesDesktop,k=h.rangeStylesTab,R=h.rangeStylesMobile,_=BK({controlName:M$,property:"",attributes:t}),E=_.rangeStylesDesktop,C=_.rangeStylesTab,x=_.rangeStylesMobile,S=BK({controlName:L$,property:"",attributes:t}),B=S.rangeStylesDesktop,T=S.rangeStylesTab,N=S.rangeStylesMobile,P=BK({controlName:F$,property:"",attributes:t}),O=P.rangeStylesDesktop,M=P.rangeStylesTab,D=P.rangeStylesMobile,j=BK({controlName:H$,property:"",attributes:t}),I=j.rangeStylesDesktop,A=j.rangeStylesTab,L=j.rangeStylesMobile,F=BK({controlName:z$,property:"",attributes:t}),H=F.rangeStylesDesktop,z=F.rangeStylesTab,q=F.rangeStylesMobile,U=BK({controlName:q$,property:"",attributes:t}),V=U.rangeStylesDesktop,W=U.rangeStylesTab,G=U.rangeStylesMobile,Z=BK({controlName:D$,property:"",attributes:t}),Y=Z.rangeStylesDesktop,J=Z.rangeStylesTab,Q=Z.rangeStylesMobile,X=BK({controlName:j$,property:"",attributes:t}),$=X.rangeStylesDesktop,K=X.rangeStylesTab,ee=X.rangeStylesMobile,te=SK({controlName:I$,attributes:t}),ae=te.styesDesktop,ne=te.styesTab,oe=te.styesMobile,re=(te.stylesHoverDesktop,te.stylesHoverTab,te.stylesHoverMobile,te.transitionStyle,BK({controlName:A$,property:"",attributes:t})),ce=re.rangeStylesDesktop,le=re.rangeStylesTab,ie=re.rangeStylesMobile,se=TK({attributes:t,controlName:S$,noOverlay:!0}),be=se.backgroundStylesDesktop,pe=se.hoverBackgroundStylesDesktop,ue=se.backgroundStylesTab,de=se.hoverBackgroundStylesTab,me=se.backgroundStylesMobile,ge=se.hoverBackgroundStylesMobile,fe=se.bgTransitionStyle,ye=SK({controlName:N$,attributes:t}),ve=ye.styesDesktop,he=ye.styesTab,we=ye.styesMobile,ke=ye.stylesHoverDesktop,Re=ye.stylesHoverTab,_e=ye.stylesHoverMobile,Ee=ye.transitionStyle,Ce=SK({controlName:P$,attributes:t}),xe=Ce.styesDesktop,Se=Ce.styesTab,Be=Ce.styesMobile,Te=Ce.stylesHoverDesktop,Ne=Ce.stylesHoverTab,Pe=Ce.stylesHoverMobile,Oe=Ce.transitionStyle,Me="\n\t\t.eb-advanced-video-wrapper.".concat(o,"{\n\t\t\t").concat(u,"\n\t\t\t").concat(f,"\n\t\t\t").concat(ve,"\n\t\t\t").concat(be,"\n\t\t\ttransition:").concat(fe,", ").concat(Ee,";\n\t\t}\n\t\t.eb-advanced-video-wrapper.").concat(o,":hover {\n\t\t\t").concat(ke,"\n\t\t\t").concat(pe,"\n\t\t}\n        .eb-advanced-video-wrapper.").concat(o," .eb-player-wrapper {\n            ").concat("left"==i?"margin: 0 auto 0 0;":"","\n            ").concat("center"==i?"margin: 0 auto;":"","\n            ").concat("right"==i?"margin: 0 0 0 auto;":"","\n        }\n\t"),De="\n\t\t.eb-advanced-video-wrapper.".concat(o,"{\n\t\t\t").concat(d,"\n\t\t\t").concat(y,"\n\t\t\t").concat(he,"\n\t\t\t").concat(ue,"\n\t\t}\n\t\t.eb-advanced-video-wrapper.").concat(o,":hover {\n\t\t\t").concat(Re,"\n\t\t\t").concat(de,"\n\t\t}\n\t"),je="\n\t\t.eb-advanced-video-wrapper.".concat(o,"{\n\t\t\t").concat(m,"\n\t\t\t").concat(v,"\n\t\t\t").concat(we,"\n\t\t\t").concat(me,"\n\t\t}\n\t\t.eb-advanced-video-wrapper.").concat(o,":hover {\n\t\t\t").concat(_e,"\n\t\t\t").concat(ge,"\n\t\t}\n\t"),Ie="\n\t\t.eb-advanced-video-wrapper.".concat(o," .eb-player-wrapper{\n\t\t\twidth").concat(w||": auto",";\n\t\t\ttransition: transform 0.5s, ").concat(Oe,";\n\t\t}\n\n\t\t.eb-advanced-video-wrapper.").concat(o," .eb-react-player iframe {\n\t\t\t").concat(xe,"\n\t\t}\n\n\t\t.eb-advanced-video-wrapper.").concat(o," .eb-react-player iframe:hover {\n\t\t\t").concat(Te,"\n\t\t}\n\n\t\t.eb-advanced-video-wrapper.").concat(o," .react-player__preview {\n\t\t\t").concat(xe,"\n\t\t}\n\n\t\t.eb-advanced-video-wrapper.").concat(o," .eb-react-player .react-player__preview:hover {\n\t\t\t").concat(Te,"\n\t\t}\n\n\t\t.eb-advanced-video-wrapper.").concat(o," .eb-react-player .react-player__preview img {\n\t\t\twidth").concat(E||": auto",";\n\t\t}\n\t\t.eb-advanced-video-wrapper.").concat(o," .eb-react-player .react-player__preview i {\n\t\t\tfont-size").concat(E||": 60px",";\n            color: ").concat(s,"\n\t\t}\n\n\t\t.eb-advanced-video-wrapper.").concat(o," .eb-player-option.sticky.stuck {\n\t\t\twidth").concat(B,";\n\t\t\theight").concat(O,";\n\t\t}\n\n\t\t.eb-advanced-video-wrapper.").concat(o," .player-placeholder{\n\t\t\twidth").concat(I,";\n\t\t\theight").concat(H,";\n\t\t\t").concat(xe,"\n\t\t}\n\t\t.eb-advanced-video-wrapper.").concat(o," .player-placeholder:hover {\n\t\t\t").concat(Te,"\n\t\t}\n\t\t.eb-advanced-video-wrapper.").concat(o," .player-placeholder img{\n\t\t\twidth").concat(V,";\n\t\t}\n\t\t.eb-advanced-video-wrapper.").concat(o," .player-placeholder i{\n\t\t\tfont-size").concat(V,";\n            color: ").concat(b,"\n\t\t}\n\n\t\t.eb-advanced-video-wrapper.").concat(o,".lightbox .eb-player-wrapper {\n\t\t\twidth").concat(Y,";\n\n\t\t}\n\t\t.eb-advanced-video-wrapper.").concat(o," .eb-player-option.lightbox {\n\t\t\twidth: 100%;\n\t\t\theight").concat($,";\n\t\t\t").concat(ae,"\n\t\t}\n\t\t.eb-advanced-video-wrapper.").concat(o," .eb-modal-player {\n\t\t\tbackground-color: ").concat(r,";\n\t\t}\n\t\t.eb-advanced-video-wrapper.").concat(o," .eb-modal-player .eb-modal-close {\n\t\t\tfont-size").concat(ce,";\n\t\t\tline-height").concat(ce,";\n\t\t\twidth").concat(ce,";\n\t\t\theight").concat(ce,";\n\t\t\tcolor: ").concat(c,";\n\t\t\tbackground-color: ").concat(l,";\n\t\t}\n\t"),Ae="\n\t\t.eb-advanced-video-wrapper.".concat(o," .eb-player-wrapper{\n\t\t\twidth").concat(k||": auto",";\n\t\t}\n\n\t\t.eb-advanced-video-wrapper.").concat(o," .eb-react-player iframe {\n\t\t\t").concat(Se,"\n\t\t}\n\n\t\t.eb-advanced-video-wrapper.").concat(o," .eb-react-player iframe:hover {\n\t\t\t").concat(Ne,"\n\t\t}\n\t\t.eb-advanced-video-wrapper.").concat(o," .react-player__preview {\n\t\t\t").concat(Se,"\n\t\t}\n\n\t\t.eb-advanced-video-wrapper.").concat(o," .eb-react-player .react-player__preview:hover {\n\t\t\t").concat(Ne,"\n\t\t}\n\n\t\t.eb-advanced-video-wrapper.").concat(o," .eb-react-player .react-player__preview img {\n\t\t\twidth").concat(C||E,";\n\t\t}\n        .eb-advanced-video-wrapper.").concat(o," .eb-react-player .react-player__preview i {\n\t\t\tfont-size").concat(C||E,";\n\t\t}\n\n\t\t.eb-advanced-video-wrapper.").concat(o," .eb-player-option.sticky.stuck {\n\t\t\twidth").concat(T,";\n\t\t\theight").concat(M,";\n\t\t}\n\n\t\t.eb-advanced-video-wrapper.").concat(o," .player-placeholder{\n\t\t\twidth").concat(A,";\n\t\t\theight").concat(z,";\n\t\t\t").concat(Se,"\n\t\t}\n\t\t.eb-advanced-video-wrapper.").concat(o," .player-placeholder:hover {\n\t\t\t").concat(Ne,"\n\t\t}\n\t\t.eb-advanced-video-wrapper.").concat(o," .player-placeholder img{\n\t\t\twidth").concat(W,";\n\t\t}\n        .eb-advanced-video-wrapper.").concat(o," .player-placeholder i{\n\t\t\tfont-size").concat(W,";\n\t\t}\n\n\t\t.eb-advanced-video-wrapper.").concat(o,".lightbox .eb-player-wrapper {\n\t\t\twidth").concat(J,";\n\n\t\t}\n\t\t.eb-advanced-video-wrapper.").concat(o," .eb-player-option.lightbox {\n\t\t\theight").concat(K,";\n\t\t\t").concat(ne,"\n\t\t}\n\t\t.eb-advanced-video-wrapper.").concat(o," .eb-modal-player .eb-modal-close {\n\t\t\tfont-size").concat(le,";\n\t\t\tline-height").concat(le,";\n\t\t\twidth").concat(le,";\n\t\t\theight").concat(le,";\n\t\t}\n\n\t"),Le="\n\t\t.eb-advanced-video-wrapper.".concat(o," .eb-player-wrapper{\n\t\t\twidth").concat(R||": auto",";\n\t\t}\n\n\t\t.eb-advanced-video-wrapper.").concat(o," .eb-react-player iframe {\n\t\t\t").concat(Be,"\n\t\t}\n\n\t\t.eb-advanced-video-wrapper.").concat(o," .eb-react-player iframe:hover {\n\t\t\t").concat(Pe,"\n\t\t}\n\t\t.eb-advanced-video-wrapper.").concat(o," .react-player__preview {\n\t\t\t").concat(Be,"\n\t\t}\n\n\t\t.eb-advanced-video-wrapper.").concat(o," .eb-react-player .react-player__preview:hover {\n\t\t\t").concat(Pe,"\n\t\t}\n\n\t\t.eb-advanced-video-wrapper.").concat(o," .eb-react-player .react-player__preview img {\n\t\t\twidth").concat(x||C,";\n\t\t}\n        .eb-advanced-video-wrapper.").concat(o," .eb-react-player .react-player__preview i {\n\t\t\tfont-size").concat(x||x,";\n\t\t}\n\n\t\t.eb-advanced-video-wrapper.").concat(o," .eb-player-option.sticky.stuck {\n\t\t\twidth").concat(N,";\n\t\t\theight").concat(D,";\n\t\t}\n\n\t\t.eb-advanced-video-wrapper.").concat(o," .player-placeholder{\n\t\t\twidth").concat(L,";\n\t\t\theight").concat(q,";\n\t\t\t").concat(Be,"\n\t\t}\n\t\t.eb-advanced-video-wrapper.").concat(o," .player-placeholder:hover {\n\t\t\t").concat(Pe,"\n\t\t}\n\t\t.eb-advanced-video-wrapper.").concat(o," .player-placeholder img{\n\t\t\twidth").concat(G,";\n\t\t}\n        .eb-advanced-video-wrapper.").concat(o," .player-placeholder i{\n\t\t\tfont-size").concat(G,";\n\t\t}\n\n\t\t.eb-advanced-video-wrapper.").concat(o,".lightbox .eb-player-wrapper {\n\t\t\twidth").concat(Q,";\n\n\t\t}\n\t\t.eb-advanced-video-wrapper.").concat(o," .eb-player-option.lightbox {\n\t\t\theight").concat(ee,";\n\t\t\t").concat(oe,"\n\t\t}\n\t\t.eb-advanced-video-wrapper.").concat(o," .eb-modal-player .eb-modal-close {\n\t\t\tfont-size").concat(ie,";\n\t\t\tline-height").concat(ie,";\n\t\t\twidth").concat(ie,";\n\t\t\theight").concat(ie,";\n\t\t}\n\t"),Fe=CK("\n\t\t".concat(Me,"\n\t\t").concat(Ie,"\n\t")),He=CK("\n\t\t".concat(De,"\n\t\t").concat(Ae,"\n\t")),ze=CK("\n\t\t".concat(je,"\n\t\t").concat(Le,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(NK,{attributes:t,setAttributes:a,desktopAllStyles:Fe,tabAllStyles:He,mobileAllStyles:ze,blockName:n}))}function OK(e){return OK="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},OK(e)}function MK(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function DK(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?MK(Object(a),!0).forEach((function(t){jK(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):MK(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function jK(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=OK(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=OK(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==OK(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function IK(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,r,c,l=[],i=!0,s=!1;try{if(r=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;i=!1}else for(;!(i=(n=r.call(a)).done)&&(l.push(n.value),l.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{if(!i&&null!=a.return&&(c=a.return(),Object(c)!==c))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return AK(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?AK(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function AK(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}var LK=window.EBControls,FK=LK.EBDisplayIcon,HK=LK.BlockProps,zK=window.EBControls.BlockProps;function qK(e){return qK="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qK(e)}function UK(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function VK(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?UK(Object(a),!0).forEach((function(t){WK(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):UK(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function WK(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=qK(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=qK(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==qK(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const GK=[{attributes:VK({},lK),supports:{anchor:!0},save:function(e){var t=e.attributes,a=(t.resOption,t.blockId),n=(t.blockMeta,t.videoConfig),o=t.showBar,r=t.videoURL,c=t.videoOptions,l=t.placeholderImage,i=t.placeholderPlayIconURL,s=t.stickyPosition,b=t.imageOverlay,p=t.previewImage,u=t.lightboxPlayIcon,d=t.customPlayIcon,m=t.customPlayIconURL,g=t.classHook,f=t.lightboxPlayIconType,y=t.lightboxPlayIconlib,v=t.customPlayIconlib,h=t.placeholderCustomPlayIconType,w=t.stickyVisibilityOption,k=t.TABstickyVisibilityOption,R=t.MOBstickyVisibilityOption,_=t.showDownload;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(g)},React.createElement("div",{className:"eb-advanced-video-wrapper ".concat(a," ").concat(c),"data-id":a},"lightbox"!=c&&React.createElement("div",{className:"eb-player-wrapper ".concat(a)},React.createElement("div",{className:"eb-player-option ".concat(c," ").concat(s),"data-id":a,"data-url":r,"data-option":c,"data-controls":o,"data-loop":n.loop,"data-muted":n.muted,"data-playing":n.autoplay,"data-overlay":b,"data-light":!!(p&&p.length>0)&&p,"data-customPlayIconType":h,"data-customPlayIconLib":v,"data-customPlayIcon":d,"data-playicon":m&&m.length>0?m:null,"data-stickyVisibility":w,"data-stickyVisibilityTAB":k,"data-stickyVisibilityMOB":R,"data-download":_})),"lightbox"===c&&React.createElement(React.Fragment,null,React.createElement("div",{id:"myBtn-".concat(a),className:"player-placeholder",style:{backgroundImage:"url( "+l+")"}},u&&React.createElement(React.Fragment,null,"icon"==f&&React.createElement("i",{className:y}),"image"==f&&i&&React.createElement("img",{src:i,alt:""}))),React.createElement("div",{id:"eb-modal-".concat(a),className:"eb-modal-player"},React.createElement("div",{className:"eb-player-wrapper"},React.createElement("span",{id:"close-".concat(a),className:"eb-modal-close"},"×"),React.createElement("div",{className:"eb-player-option ".concat(c),"data-id":a,"data-url":r,"data-option":c,"data-loop":n.loop,"data-muted":n.muted,"data-playing":!1,"data-overlay":b,"data-controls":o,"data-autoplay":"true"})))))))}},{attributes:VK({},lK),supports:{anchor:!0},save:function(e){var t=e.attributes,a=(t.resOption,t.blockId),n=(t.blockMeta,t.videoConfig),o=t.showBar,r=t.videoURL,c=t.videoOptions,l=t.placeholderImage,i=t.placeholderPlayIconURL,s=t.stickyPosition,b=t.imageOverlay,p=t.previewImage,u=t.lightboxPlayIcon,d=t.customPlayIcon,m=t.customPlayIconURL,g=t.classHook,f=t.lightboxPlayIconType,y=t.lightboxPlayIconlib,v=t.customPlayIconlib,h=t.placeholderCustomPlayIconType;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(g)},React.createElement("div",{className:"eb-advanced-video-wrapper ".concat(a," ").concat(c),"data-id":a},"lightbox"!=c&&React.createElement("div",{className:"eb-player-wrapper ".concat(a)},React.createElement("div",{className:"eb-player-option ".concat(c," ").concat(s),"data-id":a,"data-url":r,"data-option":c,"data-controls":o,"data-loop":n.loop,"data-muted":n.muted,"data-playing":n.autoplay,"data-overlay":b,"data-light":!!(p&&p.length>0)&&p,"data-customPlayIconType":h,"data-customPlayIconLib":v,"data-customPlayIcon":d,"data-playicon":m&&m.length>0?m:null})),"lightbox"===c&&React.createElement(React.Fragment,null,React.createElement("div",{id:"myBtn-".concat(a),className:"player-placeholder",style:{backgroundImage:"url( "+l+")"}},u&&React.createElement(React.Fragment,null,"icon"==f&&React.createElement("i",{className:y}),"image"==f&&i&&React.createElement("img",{src:i,alt:""}))),React.createElement("div",{id:"eb-modal-".concat(a),className:"eb-modal-player"},React.createElement("div",{className:"eb-player-wrapper"},React.createElement("span",{id:"close-".concat(a),className:"eb-modal-close"},"×"),React.createElement("div",{className:"eb-player-option ".concat(c),"data-id":a,"data-url":r,"data-option":c,"data-loop":n.loop,"data-muted":n.muted,"data-playing":!1,"data-overlay":b,"data-controls":o,"data-autoplay":"true"})))))))}},{attributes:VK({},lK),supports:{anchor:!0},save:function(e){var t=e.attributes,a=(t.resOption,t.blockId),n=(t.blockMeta,t.videoConfig),o=t.showBar,r=t.videoURL,c=t.videoOptions,l=t.placeholderImage,i=t.placeholderPlayIconURL,s=t.stickyPosition,b=t.imageOverlay,p=t.previewImage,u=t.lightboxPlayIcon,d=t.customPlayIcon,m=t.customPlayIconURL,g=t.classHook,f=t.lightboxPlayIconType,y=t.lightboxPlayIconlib,v=t.customPlayIconlib,h=t.placeholderCustomPlayIconType;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(g)},React.createElement("div",{className:"eb-advanced-video-wrapper ".concat(a," ").concat(c),"data-id":a},"lightbox"!=c&&React.createElement("div",{className:"eb-player-wrapper ".concat(a)},React.createElement("div",{className:"eb-player-option ".concat(c," ").concat(s),"data-id":a,"data-url":r,"data-option":c,"data-controls":o,"data-loop":n.loop,"data-muted":n.muted,"data-playing":n.autoplay,"data-overlay":b,"data-light":!!(p&&p.length>0)&&p,"data-customPlayIconType":h,"data-customPlayIconLib":v,"data-customPlayIcon":d,"data-playicon":m&&m.length>0?m:null})),"lightbox"===c&&React.createElement(React.Fragment,null,React.createElement("div",{id:"myBtn-".concat(a),className:"player-placeholder",style:{backgroundImage:"url( "+l+")"}},u&&React.createElement(React.Fragment,null,"icon"==f&&React.createElement("i",{className:y}),"image"==f&&i&&React.createElement("img",{src:i,alt:""}))),React.createElement("div",{id:"eb-modal-".concat(a),className:"eb-modal-player"},React.createElement("div",{className:"eb-player-wrapper"},React.createElement("span",{id:"close-".concat(a),className:"eb-modal-close"},"×"),React.createElement("div",{className:"eb-player-option ".concat(c),"data-id":a,"data-url":r,"data-option":c,"data-loop":n.loop,"data-muted":n.muted,"data-playing":!1,"data-overlay":b,"data-controls":o,"data-autoplay":"true"})))))))}},{attributes:VK(VK({},lK),{},{videoURL:{type:"string",default:"http://www.youtube.com/watch?v=PnZx4ZOMyzI"},previewImage:{type:"string",default:"https://essential-blocks.com/wp-content/uploads/2022/05/adv-video-placeholder.png"},placeholderImage:{type:"string",default:"https://essential-blocks.com/wp-content/uploads/2022/05/adv-video-placeholder.png"},customPlayIconURL:{type:"string",default:"https://essential-blocks.com/wp-content/uploads/2022/05/adv-video-playicon.svg"},placeholderPlayIconURL:{type:"string",default:"https://essential-blocks.com/wp-content/uploads/2022/05/adv-video-playicon.svg"}}),supports:{anchor:!0},save:function(e){var t=e.attributes,a=(t.resOption,t.blockId),n=(t.blockMeta,t.videoConfig),o=t.showBar,r=t.videoURL,c=t.videoOptions,l=t.placeholderImage,i=t.placeholderPlayIconURL,s=t.stickyPosition,b=t.imageOverlay,p=t.previewImage,u=t.lightboxPlayIcon,d=t.customPlayIcon,m=t.customPlayIconURL,g=t.classHook,f=t.lightboxPlayIconType,y=t.lightboxPlayIconlib,v=t.customPlayIconlib,h=t.placeholderCustomPlayIconType;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(g)},React.createElement("div",{className:"eb-advanced-video-wrapper ".concat(a," ").concat(c),"data-id":a},"lightbox"!=c&&React.createElement("div",{className:"eb-player-wrapper ".concat(a)},React.createElement("div",{className:"eb-player-option ".concat(c," ").concat(s),"data-id":a,"data-url":r,"data-option":c,"data-controls":o,"data-loop":n.loop,"data-muted":n.muted,"data-playing":n.autoplay,"data-overlay":b,"data-light":!!(p&&p.length>0)&&p,"data-customPlayIconType":h,"data-customPlayIconLib":v,"data-customPlayIcon":d,"data-playicon":m&&m.length>0?m:null})),"lightbox"===c&&React.createElement(React.Fragment,null,React.createElement("div",{id:"myBtn-".concat(a),className:"player-placeholder",style:{backgroundImage:"url( "+l+")"}},u&&React.createElement(React.Fragment,null,"icon"==f&&React.createElement("i",{className:y}),"image"==f&&i&&React.createElement("img",{src:i,alt:""}))),React.createElement("div",{id:"eb-modal-".concat(a),className:"eb-modal-player"},React.createElement("div",{className:"eb-player-wrapper"},React.createElement("span",{id:"close-".concat(a),className:"eb-modal-close"},"×"),React.createElement("div",{className:"eb-player-option ".concat(c),"data-id":a,"data-url":r,"data-option":c,"data-loop":n.loop,"data-muted":n.muted,"data-playing":!1,"data-overlay":b,"data-controls":o,"data-autoplay":"true"})))))))}}],ZK=JSON.parse('{"title":"Advanced Video","name":"essential-blocks/advanced-video","category":"essential-blocks","description":"Portray any attractive video content on your website and grow engagement","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');var YK=EBControls.ebConditionalRegisterBlockType;ZK.name,ZK.category,YK(ZK,{keywords:[(0,Y.__)("Video","essential-blocks"),(0,Y.__)("Advanced Video","essential-blocks"),(0,Y.__)("Video block","essential-blocks"),(0,Y.__)("Advanced","essential-blocks")],icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"60",fill:"none",viewBox:"0 0 60 60"},React.createElement("path",{fill:"#6C3BFF",d:"M54.14 4.688H35.29a1.172 1.172 0 000 2.343h18.85a3.52 3.52 0 013.516 3.516v28.36H2.344v-28.36A3.52 3.52 0 015.859 7.03h18.883a1.172 1.172 0 000-2.343H5.86A5.866 5.866 0 000 10.546v38.906c0 3.231 2.629 5.86 5.86 5.86h48.28c3.231 0 5.86-2.629 5.86-5.86V10.547c0-3.231-2.629-5.86-5.86-5.86zm0 48.28H5.86a3.52 3.52 0 01-3.516-3.515V41.25h55.312v8.203a3.52 3.52 0 01-3.515 3.516z"}),React.createElement("path",{fill:"#6C3BFF",d:"M11.71 43.594a3.52 3.52 0 00-3.516 3.515 3.52 3.52 0 003.516 3.516 3.52 3.52 0 003.516-3.516 3.52 3.52 0 00-3.516-3.515zm0 4.687a1.173 1.173 0 01-1.172-1.172c0-.646.526-1.172 1.172-1.172.646 0 1.172.526 1.172 1.172 0 .646-.526 1.172-1.172 1.172zM50.634 45.938h-29.19a1.172 1.172 0 100 2.343h29.19a1.172 1.172 0 000-2.343zM24.01 19.415v7.107c0 1.209.625 2.29 1.671 2.895a3.335 3.335 0 001.671.453c.574 0 1.148-.151 1.671-.453l6.155-3.554a3.308 3.308 0 001.671-2.894c0-1.208-.624-2.29-1.67-2.895l-6.156-3.553a3.308 3.308 0 00-3.342 0 3.308 3.308 0 00-1.671 2.894zm2.344 0c0-.52.349-.778.499-.864a.977.977 0 01.998 0l6.155 3.553c.45.26.5.692.5.865a.98.98 0 01-.5.864l-6.154 3.554a.981.981 0 01-.999 0 .981.981 0 01-.5-.865v-7.107zM30.015 7.031c.308 0 .61-.125.829-.343.218-.218.343-.52.343-.829 0-.308-.125-.61-.343-.828a1.18 1.18 0 00-.829-.343c-.308 0-.61.125-.83.343a1.18 1.18 0 00-.342.828c0 .309.125.61.343.829.219.218.521.343.83.343z"}))},attributes:lK,edit:function(e){var t=e.attributes,a=e.setAttributes,n=(e.className,e.clientId),o=e.isSelected,r=(e.name,t.resOption,t.blockId),c=(t.blockMeta,t.videoConfig),l=t.showBar,i=t.videoURL,s=t.previewImage,b=t.imageOverlay,p=t.customPlayIcon,u=t.customPlayIconURL,d=t.videoOptions,m=t.placeholderImage,g=t.placeholderPlayIconURL,f=t.stickyPosition,y=t.classHook,v=t.lightboxPlayIcon,h=t.placeholderCustomPlayIconType,w=t.customPlayIconlib,k=t.lightboxPlayIconType,R=t.lightboxPlayIconlib,_=IK((0,J.useState)(!1),2),E=_[0],C=_[1],x=DK(DK({},e),{},{blockPrefix:"eb-advanced-video",style:React.createElement(PK,e)});(0,J.useEffect)((function(){C(!0)}),[]),(0,J.useEffect)((function(){if(E){var e=i;a({videoURL:"",showBar:l}),setTimeout((function(){a({videoURL:e})}),100)}}),[l]);var S=IK((0,J.useState)(!1),2),B=S[0],T=S[1];(0,J.useEffect)((function(){T(!(!b||!s)&&s)}),[b,s]);var N=IK((0,J.useState)(null),2),P=N[0],O=N[1];return(0,J.useEffect)((function(){O(p?"image"==h?React.createElement("img",{src:u}):React.createElement(FK,{icon:w}):null)}),[p,u,h,w]),(0,J.useEffect)((function(){var e=document.querySelector("#block-".concat(n," .eb-selector-overlay"));e&&(o?e.classList.add("selected"):e.classList.remove("selected"))}),[o]),(0,J.useEffect)((function(){c.autoplay&&!1===B&&a({videoConfig:DK(DK({},c),{},{muted:c.autoplay})})}),[c.autoplay]),React.createElement(React.Fragment,null,o&&React.createElement(_K,{attributes:t,setAttributes:a}),React.createElement(HK.Edit,x,React.createElement("div",{className:"eb-selector-overlay"})," ",React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(r," ").concat(y)},React.createElement("div",{className:"eb-advanced-video-wrapper ".concat(r," ").concat(d),"data-id":r},"lightbox"!=d&&React.createElement("div",{className:"eb-player-wrapper"},React.createElement("div",{className:"eb-player-option ".concat(d," ").concat(f)},React.createElement(x$.A,{url:i,loop:c.loop,muted:c.muted,playing:c.autoplay,controls:l,light:B,playIcon:P,onClickPreview:function(){a({videoConfig:DK(DK({},c),{},{autoplay:!0})})},className:"eb-react-player",width:"100%",height:"100%"}))),"lightbox"===d&&React.createElement(React.Fragment,null,React.createElement("div",{id:"myBtn",className:"player-placeholder",style:{backgroundImage:"url( "+m+")"}},v&&React.createElement(React.Fragment,null,"icon"==k&&React.createElement(FK,{icon:R}),"image"==k&&g&&React.createElement("img",{src:g,alt:""}))),React.createElement("div",{id:"eb-modal",className:"eb-modal-player"},React.createElement("span",{className:"eb-modal-close"},"×"),React.createElement("div",{className:"eb-player-wrapper"},React.createElement("div",{className:"eb-player-option ".concat(d),"data-url":i,"data-option":d,"data-loop":c.loop,"data-muted":c.muted,"data-playing":c.autoplay,"data-overlay":b,"data-light":B,"data-customPlayIcon":p,"data-playicon":u}))))))))},save:function(e){var t=e.attributes,a=(t.resOption,t.blockId),n=(t.blockMeta,t.videoConfig),o=t.showBar,r=t.videoURL,c=t.videoOptions,l=t.placeholderImage,i=t.placeholderPlayIconURL,s=t.stickyPosition,b=t.imageOverlay,p=t.previewImage,u=t.lightboxPlayIcon,d=t.customPlayIcon,m=t.customPlayIconURL,g=t.classHook,f=t.lightboxPlayIconType,y=t.lightboxPlayIconlib,v=t.customPlayIconlib,h=t.placeholderCustomPlayIconType,w=t.stickyVisibilityOption,k=t.TABstickyVisibilityOption,R=t.MOBstickyVisibilityOption,_=t.showDownload;return React.createElement(zK.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(g)},React.createElement("div",{className:"eb-advanced-video-wrapper ".concat(a," ").concat(c),"data-id":a},"lightbox"!=c&&React.createElement("div",{className:"eb-player-wrapper ".concat(a)},React.createElement("div",{className:"eb-player-option ".concat(c," ").concat(s),"data-id":a,"data-url":r,"data-option":c,"data-controls":o,"data-loop":n.loop,"data-muted":n.muted,"data-playing":n.autoplay,"data-overlay":b,"data-light":!!(p&&p.length>0)&&p,"data-customPlayIconType":h,"data-customPlayIconLib":v,"data-customPlayIcon":d,"data-playicon":m&&m.length>0?m:null,"data-stickyVisibility":w,"data-stickyVisibilityTAB":k,"data-stickyVisibilityMOB":R,"data-download":_})),"lightbox"===c&&React.createElement(React.Fragment,null,React.createElement("div",{id:"myBtn-".concat(a),className:"player-placeholder",style:{backgroundImage:"url( "+l+")"}},u&&React.createElement(React.Fragment,null,"icon"==f&&React.createElement("i",{className:y}),"image"==f&&i&&React.createElement("img",{src:i,alt:""}))),React.createElement("div",{id:"eb-modal-".concat(a),className:"eb-modal-player"},React.createElement("div",{className:"eb-player-wrapper"},React.createElement("span",{id:"close-".concat(a),className:"eb-modal-close"},"×"),React.createElement("div",{className:"eb-player-option ".concat(c),"data-id":a,"data-url":r,"data-option":c,"data-loop":n.loop,"data-muted":n.muted,"data-playing":!1,"data-overlay":b,"data-controls":o,"data-autoplay":"true"})))))))},deprecated:GK,example:{}});var JK="wrpMargin",QK="wrpPadding",XK="wrpBorderShadow",$K="wrpBG",KK="columnPadding",e0="columnMediaWidth",t0="columnBG",a0="columnBorderShadow",n0="thumbnailImageSize",o0="thumbnailBDR",r0="thumbnailMargin",c0="titleMargin",l0="contentMargin",i0="readmoreMargin",s0="readmorePadding",b0="headerMetaMargin",p0="footerMetaMargin",u0="headerMetaSpace",d0="footerMetaSpace",m0="avatarBDR",g0="slideToShow",f0="dotsGap",y0="arrowPosition",v0="dotsPosition",h0="arrowSize",w0="dotsSize",k0="slidesGap",R0="readmoreBorder",_0=[{label:"px",value:"px"},{label:"em",value:"em"},{label:"%",value:"%"}],E0=[{label:"px",value:"px"},{label:"em",value:"em"},{label:"vh",value:"vh"}],C0=[{label:"Normal",value:"normal"},{label:"Hover",value:"hover"}],x0=[{label:"H1",value:"h1"},{label:"H2",value:"h2"},{label:"H3",value:"h3"},{label:"H4",value:"h4"},{label:"H5",value:"h5"},{label:"H6",value:"h6"},{label:"P",value:"p"}],S0=((0,Y.__)("Style 1","essential-blocks"),(0,Y.__)("Style 2","essential-blocks"),(0,Y.__)("Style 3 (List View)","essential-blocks"),(0,Y.__)("Style 4 (Content Overlay)","essential-blocks"),[{label:(0,Y.__)("Style 1","essential-blocks"),value:"dot-style-1"},{label:(0,Y.__)("Style 2","essential-blocks"),value:"dot-style-2"},{label:(0,Y.__)("Style 3","essential-blocks"),value:"dot-style-3"},{label:(0,Y.__)("Style 4","essential-blocks"),value:"dot-style-4"},{label:(0,Y.__)("Modern 1","essential-blocks"),value:"eb-dot-style-modern-1"},{label:(0,Y.__)("Modern 2","essential-blocks"),value:"eb-dot-style-modern-2"},{label:(0,Y.__)("Modern 3","essential-blocks"),value:"eb-dot-style-modern-3"}]),B0=[{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignleft"})),value:"left"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignright"})),value:"right"}],T0=[{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignleft"})),value:"flex-start"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignright"})),value:"flex-end"}],N0=[{label:"Top",value:"flex-start"},{label:"Middle",value:"center"},{label:"Bottom",value:"flex-end"}],P0=[{label:"px",value:"px"},{label:"em",value:"em"}],O0="ebpg_title",M0="ebpg_content",D0="ebpg_readmore",j0="ebpg_meta";function I0(e){return I0="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},I0(e)}function A0(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function L0(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?A0(Object(a),!0).forEach((function(t){F0(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):A0(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function F0(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=I0(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=I0(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==I0(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var H0=window.EBControls,z0=H0.generateDimensionsAttributes,q0=H0.generateTypographyAttributes,U0=H0.generateBackgroundAttributes,V0=H0.generateBorderShadowAttributes,W0=H0.generateResponsiveRangeAttributes;const G0=L0(L0(L0(L0(L0(L0(L0(L0(L0(L0(L0(L0(L0(L0(L0(L0(L0(L0(L0(L0(L0(L0(L0(L0(L0(L0(L0(L0(L0(L0(L0(L0({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},queryData:{type:"object"},queryResults:{type:"array"},postTerms:{type:"object",default:{}},preset:{type:"string",default:"style-1"},showThumbnail:{type:"boolean",default:!0},thumbnailOverlayColor:{type:"string",default:"rgba(0 0 0 / 0)"},thumbnailOverlayHoverColor:{type:"string",default:"rgba(0 0 0 / 0.5)"},styleVerticalAlignment:{type:"string",default:"flex-start"},showTitle:{type:"boolean",default:!0},titleColor:{type:"string",default:"var(--eb-global-heading-color)"},titleHoverColor:{type:"string",default:"var(--eb-global-link-color)"},titleColorStyle:{type:"string",default:"normal"},titleLength:{type:"number"},titleTextAlign:{type:"string",default:"left"},titleTag:{type:"string",default:"h2"},showContent:{type:"boolean",default:!0},contentColor:{type:"string",default:"var(--eb-global-text-color)"},contentTextAlign:{type:"string",default:"left"},contentLength:{type:"number",default:20},expansionIndicator:{type:"string",default:"..."},showReadMore:{type:"boolean",default:!1},readmoreText:{type:"string",default:"Read More"},readmoreColor:{type:"string",default:"var(--eb-global-tertiary-color)"},readmoreBGColor:{type:"string"},readmoreTextAlign:{type:"string",default:"left"},readmoreHoverColor:{type:"string",default:"var(--eb-global-secondary-color)"},readmoreBGHoverColor:{type:"string"},readmoreColorType:{type:"string",default:"normal"},dynamicMetaColor:{type:"string",default:"#333333"},dynamicMetaBgColor:{type:"string"},showMeta:{type:"boolean",default:!0},headerMeta:{type:"string",default:'[{"value":"categories","label":"Categories"}]'},footerMeta:{type:"string",default:'[{"value":"avatar","label":"Author Avatar"},{"value":"author","label":"Author Name"},{"value":"date","label":"Published Date"}]'},authorPrefix:{type:"string",default:"by"},datePrefix:{type:"string",default:"on"},headerMetaTextAlign:{type:"string",default:"left"},footerMetaTextAlign:{type:"string",default:"left"},authorMetaColor:{type:"string",default:"var(--eb-global-secondary-color)"},authorMetaHoverColor:{type:"string",default:"var(--eb-global-primary-color)"},metaColorType:{type:"string",default:"normal"},commonMetaColor:{type:"string",default:"var(--eb-global-text-color)"},commonMetaHoverColor:{type:"string",default:"var(--eb-global-text-color)"},commonMetaDividerColor:{type:"string",default:"#9e9e9e"},categoryMetaColor:{type:"string",default:"var(--eb-global-tertiary-color)"},categoryMetaHoverColor:{type:"string",default:"var(--eb-global-secondary-text-color)"},categoryMetaDividerColor:{type:"string",default:"var(--eb-global-tertiary-color)"},tagMetaColor:{type:"string",default:"var(--eb-global-tertiary-color)"},tagMetaHoverColor:{type:"string",default:"var(--eb-global-secondary-text-color)"},tagMetaBgColor:{type:"string",default:"var(--eb-global-tertiary-color)"},tagMetaBgHoverColor:{type:"string",default:"var(--eb-global-secondary-color)"},tagMetaDividerColor:{type:"string",default:"var(--eb-global-secondary-color)"},dateMetaColor:{type:"string",default:"var(--eb-global-tertiary-color)"},arrows:{type:"boolean",default:!0},adaptiveHeight:{type:"boolean",default:!0},autoplay:{type:"bolean",default:!0},autoplaySpeed:{type:"number",default:3e3},dots:{type:"boolean",default:!0},infinite:{type:"boolean",default:!0},pauseOnHover:{type:"boolean",default:!0},slidesToShow:{type:"number",default:3},speed:{type:"number",default:500},leftArrowIcon:{type:"string",default:"fas fa-chevron-circle-left"},rightArrowIcon:{type:"string",default:"fas fa-chevron-circle-right"},arrowColorType:{type:"string",default:"normal"},arrowColor:{type:"string",default:"var(--eb-global-secondary-color)"},arrowHoverColor:{type:"string",default:"var(--eb-global-primary-color)"},dotsColor:{type:"string",default:"var(--eb-global-secondary-color)"},dotsActiveColor:{type:"string",default:"var(--eb-global-primary-color)"},dotPreset:{type:"string",default:"dot-circle"}},q0(Object.values(M))),z0(JK)),z0(QK,{top:0,bottom:50,right:0,left:0,isLinked:!1})),z0(KK)),z0(c0,{top:0,bottom:10,right:0,left:0,isLinked:!1})),z0(l0,{top:0,bottom:10,right:0,left:0,isLinked:!1})),z0(i0,{top:0,bottom:10,right:0,left:0,isLinked:!1})),z0(s0,{top:0,bottom:0,right:0,left:0,isLinked:!1})),z0(b0,{top:0,bottom:10,right:0,left:0,isLinked:!1})),z0(p0,{top:0,bottom:10,right:0,left:0,isLinked:!1})),z0(r0,{top:0,bottom:10,right:0,left:0,isLinked:!1})),z0(o0,{top:5,bottom:5,right:5,left:5,isLinked:!0})),z0(m0,{top:50,bottom:50,right:50,left:50,isLinked:!0})),V0(XK,{})),V0(a0,{noShadow:!0,rdsDefaults:{top:10,bottom:10,right:10,left:10}})),U0($K,{noOverlay:!0})),U0(t0)),W0("columns",{defaultRange:3})),W0("columnGap",{defaultRange:10})),W0(u0,{defaultRange:10})),W0(d0,{defaultRange:10})),W0(n0,{defaultRange:250})),W0(e0,{defaultRange:40,defaultUnit:"%"})),W0(g0,{defaultRange:3})),W0("sliderHeight",{defaultRange:400})),W0(f0,{defaultRange:10})),W0(y0,{defaultRange:-25})),W0(v0,{defaultRange:-35})),W0(h0,{defaultRange:20})),W0(w0,{defaultRange:15})),W0(k0,{defaultRange:25})),{},{cover:{type:"string",default:""}},V0(R0,{noShadow:!0,defaultBdrColor:"#F445FF",defaultBdrStyle:"none",bdrDefaults:{top:1,right:1,bottom:1,left:1},rdsDefaults:{top:0,right:0,bottom:0,left:0}}));function Z0(e){return Z0="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Z0(e)}function Y0(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}var J0=window.EBControls,Q0=J0.ColorControl,X0=J0.ResponsiveDimensionsControl,$0=J0.TypographyDropdown,K0=J0.BorderShadowControl,e1=J0.ResponsiveRangeController,t1=J0.BackgroundControl,a1=J0.CustomQuery,n1=(J0.MorePosts,J0.AdvancedControls),o1=J0.faArrowIcons,r1=J0.DynamicInputControl,c1=J0.EBIconPicker;const l1=function(e){var t,a,n=e.attributes,o=e.setAttributes,r=e.slider,c=e.setQueryResults,l=n.resOption,i=n.preset,s=n.queryData,b=n.postTerms,p=n.showThumbnail,u=n.thumbnailOverlayColor,d=n.thumbnailOverlayHoverColor,m=n.showTitle,g=n.titleColor,f=n.titleHoverColor,y=n.titleColorStyle,v=n.titleLength,h=n.titleTextAlign,w=n.titleTag,k=n.showContent,R=n.contentColor,_=n.contentTextAlign,E=n.contentLength,C=n.expansionIndicator,x=n.showReadMore,S=n.readmoreText,B=n.readmoreColor,T=n.readmoreBGColor,N=n.readmoreTextAlign,P=n.readmoreHoverColor,O=n.readmoreBGHoverColor,M=n.readmoreColorType,D=n.showMeta,j=n.headerMeta,I=n.footerMeta,A=n.authorPrefix,L=n.datePrefix,F=n.headerMetaTextAlign,H=n.footerMetaTextAlign,z=n.metaColorType,q=n.authorMetaColor,U=n.authorMetaHoverColor,V=n.commonMetaColor,W=n.commonMetaHoverColor,G=n.commonMetaDividerColor,Z=n.categoryMetaColor,$=n.categoryMetaHoverColor,K=n.categoryMetaDividerColor,ee=n.tagMetaDividerColor,te=n.tagMetaColor,ae=n.tagMetaHoverColor,ne=n.tagMetaBgColor,oe=n.tagMetaBgHoverColor,re=n.dateMetaColor,ce=n.dynamicMetaColor,le=n.dynamicMetaBgColor,ie=n.styleVerticalAlignment,se=n.leftArrowIcon,be=n.rightArrowIcon,pe=n.arrowColorType,ue=n.arrowColor,de=n.arrowHoverColor,me=n.dotsColor,ge=n.dotsActiveColor,fe=(n.initialSlide,n.speed),ye=(n.slidesToShow,n.isCustomHeight,n.pauseOnHover),ve=(n.vertical,n.infinite),he=(n.fade,n.dots),we=n.autoplaySpeed,ke=n.autoplay,Re=n.adaptiveHeight,_e=n.arrows,Ee=n.dotPreset,Ce=(t=(0,J.useState)([]),a=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,r,c,l=[],i=!0,s=!1;try{if(r=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;i=!1}else for(;!(i=(n=r.call(a)).done)&&(l.push(n.value),l.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{if(!i&&null!=a.return&&(c=a.return(),Object(c)!==c))return}finally{if(s)throw o}}return l}}(t,a)||function(e,t){if(e){if("string"==typeof e)return Y0(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?Y0(e,t):void 0}}(t,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),xe=Ce[0],Se=Ce[1];(0,J.useEffect)((function(){var e=[{value:"date",label:"Published Date"},{value:"author",label:"Author Name"},{value:"avatar",label:"Author Avatar"}];b&&Object.keys(b).length>0&&Object.keys(b).map((function(t){e.push(b[t])}));var t=(0,Qo.applyFilters)("essential_blocks_post_carousel_meta",e,null==s?void 0:s.source);t.then?t.then((function(e){Se(e)})):Se(t)}),[b]);var Be=(0,J.useRef)(null==s?void 0:s.source),Te=(0,J.useRef)(b);(0,J.useEffect)((function(){if(s&&s.source&&s.source!=Be.current){var e=Te.current&&"object"===Z0(Te.current)?Object.keys(Te.current):[],t=j.length>0?JSON.parse(j):[];t=t.length>0&&t.filter((function(t){return!e.includes(t.value)}));var a=I.length>0?JSON.parse(I):[];a=a.length>0&&a.filter((function(t){return!e.includes(t.value)})),o({headerMeta:JSON.stringify(t),footerMeta:JSON.stringify(a)}),Be.current=s.source}}),[null==s?void 0:s.source]);var Ne={setAttributes:o,resOption:l,attributes:n,objAttributes:G0};return React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:"General",className:"eb-tab general"},{name:"styles",title:"Styles",className:"eb-tab styles"},{name:"advance",title:"Advanced",className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls"+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Carousel","essential-blocks"),initialOpen:!0},React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Arrows","essential-blocks"),checked:_e,onChange:function(){o({arrows:!_e})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Equal Height","essential-blocks"),checked:Re,onChange:function(){o({adaptiveHeight:!Re})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Autoplay","essential-blocks"),checked:ke,onChange:function(){ke?r.current.slickPlay():r.current.slickPause(),o({autoplay:!ke})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Dots","essential-blocks"),checked:he,onChange:function(){return o({dots:!he})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Infinite","essential-blocks"),checked:ve,onChange:function(){return o({infinite:!ve})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Pause on Hover","essential-blocks"),checked:ye,onChange:function(){return o({pauseOnHover:!ye})}}),React.createElement(e1,{baseLabel:(0,Y.__)("Slides to Show","essential-blocks"),controlName:g0,resRequiredProps:Ne,units:[],min:1,max:8,step:1}),ke&&React.createElement(X.RangeControl,{label:(0,Y.__)("Autoplay Speed","essential-blocks"),value:we,onChange:function(e){return o({autoplaySpeed:e})},min:0,max:8e3}),React.createElement(X.RangeControl,{label:(0,Y.__)("Animation Speed","essential-blocks"),value:fe,onChange:function(e){return o({speed:e})},min:0,max:3e3}),he&&React.createElement(X.SelectControl,{label:(0,Y.__)("Dot Preset","essential-blocks"),value:Ee,options:S0,onChange:function(e){return o({dotPreset:e})}})),React.createElement(X.PanelBody,{title:(0,Y.__)("Layout","essential-blocks"),initialOpen:!1},React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Thumbnail?"),checked:p,onChange:function(){o({showThumbnail:!p})}}),p&&React.createElement(React.Fragment,null,React.createElement(e1,{baseLabel:(0,Y.__)("Thumbnail Height","essential-blocks"),controlName:n0,resRequiredProps:Ne,units:E0,min:1,max:500,step:1}),"style-3"===i&&React.createElement(e1,{baseLabel:(0,Y.__)("Thumbnail Width","essential-blocks"),controlName:e0,resRequiredProps:Ne,units:[{label:"%",value:"%"}],min:0,max:100,step:1})),"style-4"===i&&"pro-style-5"===i&&React.createElement(X.BaseControl,{label:(0,Y.__)("Content Vertical Alignment","essential-blocks"),id:"essential-blocks"},React.createElement(X.ButtonGroup,{id:"essential-blocks"},N0.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:ie===e.value,isSecondary:ie!==e.value,onClick:function(){return o({styleVerticalAlignment:e.value})}},e.label)})))),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Title?"),checked:m,onChange:function(){o({showTitle:!m})}}),m&&React.createElement(React.Fragment,null,React.createElement(X.SelectControl,{label:(0,Y.__)("Title Tag","essential-blocks"),value:w,options:x0,onChange:function(e){o({titleTag:e})}}),React.createElement(X.RangeControl,{label:"Title Words",value:v,onChange:function(e){return o({titleLength:e})},min:-1,max:100})),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Excerpt?"),checked:k,onChange:function(){o({showContent:!k})}}),k&&React.createElement(React.Fragment,null,React.createElement(X.RangeControl,{label:"Excerpt Words",value:E,onChange:function(e){return o({contentLength:e})},min:-1,max:100}),React.createElement(X.TextControl,{label:"Expansion Indicator",type:"text",value:C,onChange:function(e){return o({expansionIndicator:e})}})),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Read More Button?"),checked:x,onChange:function(){o({showReadMore:!x})}}),x&&React.createElement(React.Fragment,null,React.createElement(X.TextControl,{label:"Button Text",type:"text",value:S,onChange:function(e){return o({readmoreText:e})}})),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Meta?"),checked:D,onChange:function(){o({showMeta:!D})}}),D&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-control-item-wrapper"},React.createElement(X.PanelRow,null,"Header Meta"),React.createElement(vf.Ay,{name:"select-header-meta",value:j.length>0?JSON.parse(j):"",onChange:function(e){return o({headerMeta:JSON.stringify(e)})},options:xe,isMulti:"true"})),React.createElement("div",{className:"eb-control-item-wrapper"},React.createElement(X.PanelRow,null,"Footer Meta"),React.createElement(vf.Ay,{name:"select-footer-meta",value:I.length>0?JSON.parse(I):"",onChange:function(e){return o({footerMeta:JSON.stringify(e)})},options:xe,isMulti:"true"})),React.createElement(r1,{label:(0,Y.__)("Author Prefix","essential-blocks"),help:(0,Y.__)("Example: by John Doe","essential-blocks"),attrName:"authorPrefix",inputValue:A,setAttributes:o,onChange:function(e){return o({authorPrefix:e})}}),React.createElement(r1,{label:(0,Y.__)("Published Date Prefix","essential-blocks"),help:(0,Y.__)("Example: on 01/01/2023","essential-blocks"),attrName:"datePrefix",inputValue:L,setAttributes:o,onChange:function(e){return o({datePrefix:e})}}))),React.createElement(a1,{attributes:n,setAttributes:o,setQueryResults:c})),"styles"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Carousel","essential-blocks"),initialOpen:!0},React.createElement(e1,{baseLabel:(0,Y.__)("Slides Gap","essential-blocks"),controlName:k0,resRequiredProps:Ne,units:[],min:0,max:100,step:1})),React.createElement(X.PanelBody,{title:(0,Y.__)("Columns","essential-blocks"),initialOpen:!1},React.createElement(X0,{resRequiredProps:Ne,controlName:KK,baseLabel:"Padding"}),React.createElement(X.PanelBody,{title:(0,Y.__)("Background","essential-blocks"),initialOpen:!1},React.createElement(t1,{controlName:t0,resRequiredProps:Ne,noOverlay:!0})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border"),initialOpen:!1},React.createElement(K0,{controlName:a0,resRequiredProps:Ne,noShadow:!0}))),p&&React.createElement(X.PanelBody,{title:(0,Y.__)("Thumbnail","essential-blocks"),initialOpen:!1},"style-4"!=i||"pro-style-5"!=i&&React.createElement(React.Fragment,null,React.createElement(X0,{resRequiredProps:Ne,controlName:o0,baseLabel:"Border Radius"}),React.createElement(X0,{resRequiredProps:Ne,controlName:r0,baseLabel:"Margin"})),React.createElement(Q0,{label:(0,Y.__)("Overlay Color","essential-blocks"),color:u,onChange:function(e){return o({thumbnailOverlayColor:e})}}),React.createElement(Q0,{label:(0,Y.__)("Overlay Hover Color","essential-blocks"),color:d,onChange:function(e){return o({thumbnailOverlayHoverColor:e})}})),m&&React.createElement(X.PanelBody,{title:(0,Y.__)("Title","essential-blocks"),initialOpen:!1},React.createElement(X.ButtonGroup,{className:"eb-inspector-btn-group"},C0.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:y===e.value,isSecondary:y!==e.value,onClick:function(){return o({titleColorStyle:e.value})}},e.label)}))),"normal"===y&&React.createElement(Q0,{label:(0,Y.__)("Color","essential-blocks"),color:g,onChange:function(e){return o({titleColor:e})}}),"hover"===y&&React.createElement(Q0,{label:(0,Y.__)("Hover Color","essential-blocks"),color:f,onChange:function(e){return o({titleHoverColor:e})}}),React.createElement(X.BaseControl,{label:(0,Y.__)("Alignment","essential-blocks"),id:"essential-blocks"},React.createElement(X.ButtonGroup,{id:"essential-blocks"},B0.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:h===e.value,isSecondary:h!==e.value,onClick:function(){return o({titleTextAlign:e.value})}},e.label)})))),React.createElement($0,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:O0,resRequiredProps:Ne}),React.createElement(X0,{resRequiredProps:Ne,controlName:c0,baseLabel:"Margin"})),k&&React.createElement(X.PanelBody,{title:(0,Y.__)("Excerpt","essential-blocks"),initialOpen:!1},React.createElement(Q0,{label:(0,Y.__)("Color","essential-blocks"),color:R,onChange:function(e){return o({contentColor:e})}}),React.createElement(X.BaseControl,{label:(0,Y.__)("Alignment","essential-blocks"),id:"essential-blocks"},React.createElement(X.ButtonGroup,{id:"essential-blocks"},B0.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:_===e.value,isSecondary:_!==e.value,onClick:function(){return o({contentTextAlign:e.value})}},e.label)})))),React.createElement($0,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:M0,resRequiredProps:Ne}),React.createElement(X0,{resRequiredProps:Ne,controlName:l0,baseLabel:"Margin"})),("style-4"!=i||"pro-style-5"!=i)&&x&&React.createElement(X.PanelBody,{title:(0,Y.__)("Read More Button","essential-blocks"),initialOpen:!1},React.createElement(X.ButtonGroup,{className:"eb-inspector-btn-group"},C0.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:M===e.value,isSecondary:M!==e.value,onClick:function(){return o({readmoreColorType:e.value})}},e.label)}))),"normal"===M&&React.createElement(React.Fragment,null,React.createElement(Q0,{label:(0,Y.__)("Color","essential-blocks"),color:B,onChange:function(e){return o({readmoreColor:e})}}),React.createElement(Q0,{label:(0,Y.__)("Background Color","essential-blocks"),color:T,onChange:function(e){return o({readmoreBGColor:e})}})),"hover"===M&&React.createElement(React.Fragment,null,React.createElement(Q0,{label:(0,Y.__)("Hover Color","essential-blocks"),color:P,onChange:function(e){return o({readmoreHoverColor:e})}}),React.createElement(Q0,{label:(0,Y.__)("Hover Background Color","essential-blocks"),color:O,onChange:function(e){return o({readmoreBGHoverColor:e})}})),React.createElement(X.BaseControl,{label:(0,Y.__)("Alignment","essential-blocks"),id:"essential-blocks"},React.createElement(X.ButtonGroup,{id:"essential-blocks"},B0.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:N===e.value,isSecondary:N!==e.value,onClick:function(){return o({readmoreTextAlign:e.value})}},e.label)})))),React.createElement($0,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:D0,resRequiredProps:Ne}),React.createElement(X0,{resRequiredProps:Ne,controlName:i0,baseLabel:"Margin"}),React.createElement(X0,{resRequiredProps:Ne,controlName:s0,baseLabel:"Padding"}),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(K0,{controlName:R0,resRequiredProps:Ne,noShadow:!0}))),D&&React.createElement(X.PanelBody,{title:(0,Y.__)("Meta","essential-blocks"),initialOpen:!1},React.createElement(X.BaseControl,{label:(0,Y.__)("Header Meta Alignment","essential-blocks"),id:"essential-blocks"},React.createElement(X.ButtonGroup,{id:"essential-blocks"},T0.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:F===e.value,isSecondary:F!==e.value,onClick:function(){return o({headerMetaTextAlign:e.value})}},e.label)})))),React.createElement(e1,{baseLabel:(0,Y.__)("Header Meta Gap","essential-blocks"),controlName:u0,resRequiredProps:Ne,units:_0,min:1,max:100,step:1}),React.createElement(X0,{resRequiredProps:Ne,controlName:b0,baseLabel:"Header Meta Margin"}),React.createElement(X.BaseControl,{label:(0,Y.__)("Footer Meta Alignment","essential-blocks"),id:"essential-blocks"},React.createElement(X.ButtonGroup,{id:"essential-blocks"},T0.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:H===e.value,isSecondary:H!==e.value,onClick:function(){return o({footerMetaTextAlign:e.value})}},e.label)})))),React.createElement(e1,{baseLabel:(0,Y.__)("Footer Meta Gap","essential-blocks"),controlName:d0,resRequiredProps:Ne,units:_0,min:1,max:100,step:1}),React.createElement(X0,{resRequiredProps:Ne,controlName:p0,baseLabel:"Footer Meta Margin"}),React.createElement(X.ButtonGroup,{className:"eb-inspector-btn-group"},C0.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:z===e.value,isSecondary:z!==e.value,onClick:function(){return o({metaColorType:e.value})}},e.label)}))),"normal"===z&&React.createElement(React.Fragment,null,React.createElement(Q0,{label:(0,Y.__)("Author Color","essential-blocks"),color:q,onChange:function(e){return o({authorMetaColor:e})}}),React.createElement(Q0,{label:(0,Y.__)("Date Color","essential-blocks"),color:re,onChange:function(e){return o({dateMetaColor:e})}}),React.createElement(Q0,{label:(0,Y.__)("Common Color","essential-blocks"),color:V,onChange:function(e){return o({commonMetaColor:e})}}),React.createElement(Q0,{label:(0,Y.__)("Common Divider Color","essential-blocks"),color:G,onChange:function(e){return o({commonMetaDividerColor:e})}}),React.createElement(Q0,{label:(0,Y.__)("Category Color","essential-blocks"),color:Z,onChange:function(e){return o({categoryMetaColor:e})}}),React.createElement(Q0,{label:(0,Y.__)("Category Divider Color","essential-blocks"),color:K,onChange:function(e){return o({categoryMetaDividerColor:e})}}),React.createElement(Q0,{label:(0,Y.__)("Tag Color","essential-blocks"),color:te,onChange:function(e){return o({tagMetaColor:e})}}),React.createElement(Q0,{label:(0,Y.__)("Tag BG Color","essential-blocks"),color:ne,onChange:function(e){return o({tagMetaBgColor:e})}}),React.createElement(Q0,{label:(0,Y.__)("Tag Divider Color","essential-blocks"),color:ee,onChange:function(e){return o({tagMetaDividerColor:e})}}),React.createElement(Q0,{label:(0,Y.__)("Dynamic Data Color","essential-blocks"),color:ce,onChange:function(e){return o({dynamicMetaColor:e})}}),React.createElement(Q0,{label:(0,Y.__)("Dynamic Data BG Color","essential-blocks"),color:le,onChange:function(e){return o({dynamicMetaBgColor:e})}})),"hover"===z&&React.createElement(React.Fragment,null,React.createElement(Q0,{label:(0,Y.__)("Author Hover Color","essential-blocks"),color:U,onChange:function(e){return o({authorMetaHoverColor:e})}}),React.createElement(Q0,{label:(0,Y.__)("Common Hover Color","essential-blocks"),color:W,onChange:function(e){return o({commonMetaHoverColor:e})}}),React.createElement(Q0,{label:(0,Y.__)("Category Hover Color","essential-blocks"),color:$,onChange:function(e){return o({categoryMetaHoverColor:e})}}),React.createElement(Q0,{label:(0,Y.__)("Tag Hover Color","essential-blocks"),color:ae,onChange:function(e){return o({tagMetaHoverColor:e})}}),React.createElement(Q0,{label:(0,Y.__)("Tag BG Hover Color","essential-blocks"),color:oe,onChange:function(e){return o({tagMetaBgHoverColor:e})}})),React.createElement($0,{baseLabel:(0,Y.__)("Meta Typography","essential-blocks"),typographyPrefixConstant:j0,resRequiredProps:Ne}),React.createElement(X0,{resRequiredProps:Ne,controlName:m0,baseLabel:"Avatar Border Radius"})),_e&&React.createElement(X.PanelBody,{title:(0,Y.__)("Arrow","essential-blocks"),initialOpen:!1},React.createElement(c1,{value:se,onChange:function(e){return o({leftArrowIcon:e})},title:(0,Y.__)("Left Arrow Icon","essential-blocks"),icons:{fontAwesome:o1},disableDashicon:!0}),React.createElement(c1,{value:be,onChange:function(e){return o({rightArrowIcon:e})},title:(0,Y.__)("Right Arrow Icon","essential-blocks"),icons:{fontAwesome:o1},disableDashicon:!0}),React.createElement(X.ButtonGroup,{className:"eb-inspector-btn-group"},C0.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:pe===e.value,isSecondary:pe!==e.value,onClick:function(){return o({arrowColorType:e.value})}},e.label)}))),"normal"===pe&&React.createElement(Q0,{label:(0,Y.__)("Color","essential-blocks"),color:ue,onChange:function(e){return o({arrowColor:e})}}),"hover"===pe&&React.createElement(Q0,{label:(0,Y.__)("Color","essential-blocks"),color:de,onChange:function(e){return o({arrowHoverColor:e})}}),React.createElement(e1,{baseLabel:(0,Y.__)("Arrow Size","essential-blocks"),controlName:h0,resRequiredProps:Ne,units:P0,min:1,max:50,step:1}),React.createElement(e1,{baseLabel:(0,Y.__)("Arrow Position","essential-blocks"),controlName:y0,resRequiredProps:Ne,units:_0,min:-100,max:100,step:1})),he&&React.createElement(X.PanelBody,{title:(0,Y.__)("Dot","essential-blocks"),initialOpen:!1},React.createElement(Q0,{label:(0,Y.__)("Color","essential-blocks"),color:me,onChange:function(e){return o({dotsColor:e})}}),React.createElement(Q0,{label:(0,Y.__)("Active Color","essential-blocks"),color:ge,onChange:function(e){return o({dotsActiveColor:e})}}),React.createElement(e1,{baseLabel:(0,Y.__)("Dots Size","essential-blocks"),controlName:w0,resRequiredProps:Ne,units:P0,min:1,max:50,step:1}),React.createElement(e1,{baseLabel:(0,Y.__)("Dots Gap","essential-blocks"),controlName:f0,resRequiredProps:Ne,units:_0,min:0,max:50,step:1}),React.createElement(e1,{baseLabel:(0,Y.__)("Dots Size","essential-blocks"),controlName:w0,resRequiredProps:Ne,units:P0,min:1,max:50,step:1}),React.createElement(e1,{baseLabel:(0,Y.__)("Dots Gap","essential-blocks"),controlName:f0,resRequiredProps:Ne,units:_0,min:0,max:50,step:1}),React.createElement(e1,{baseLabel:(0,Y.__)("Dots Position (PX)","essential-blocks"),controlName:v0,resRequiredProps:Ne,min:-100,max:100,step:1,noUnits:!0}))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,null,React.createElement(X0,{resRequiredProps:Ne,controlName:JK,baseLabel:"Margin"}),React.createElement(X0,{resRequiredProps:Ne,controlName:QK,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Background","essential-blocks"),initialOpen:!1},React.createElement(t1,{controlName:$K,resRequiredProps:Ne,noOverlay:!0})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(K0,{controlName:XK,resRequiredProps:Ne})),React.createElement(n1,{attributes:n,setAttributes:o})))}))))};var i1=window.EBControls,s1=i1.softMinifyCssStrings,b1=i1.generateTypographyStyles,p1=i1.generateDimensionsControlStyles,u1=i1.generateBorderShadowStyles,d1=i1.generateResponsiveRangeStyles,m1=i1.generateBackgroundControlStyles,g1=i1.StyleComponent;function f1(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=(t.blockMeta,t.resOption,t.preset),c=(t.arrows,t.thumbnailOverlayColor),l=t.thumbnailOverlayHoverColor,i=t.titleColor,s=t.titleHoverColor,b=t.titleTextAlign,p=t.contentColor,u=t.contentTextAlign,d=t.readmoreColor,m=t.readmoreBGColor,g=t.readmoreTextAlign,f=t.readmoreHoverColor,y=t.readmoreBGHoverColor,v=t.dynamicMetaColor,h=t.dynamicMetaBgColor,w=t.headerMetaTextAlign,k=t.footerMetaTextAlign,R=t.authorMetaColor,_=t.authorMetaHoverColor,E=t.commonMetaColor,C=t.commonMetaHoverColor,x=t.commonMetaDividerColor,S=t.categoryMetaColor,B=t.categoryMetaHoverColor,T=(t.categoryMetaBgColor,t.categoryMetaBgHoverColor),N=t.tagMetaColor,P=t.tagMetaHoverColor,O=t.tagMetaBgColor,M=t.tagMetaBgHoverColor,D=t.dateMetaColor,j=t.styleVerticalAlignment,I=(t.leftArrowIcon,t.rightArrowIcon,t.arrowColor),A=t.arrowHoverColor,L=t.dotsColor,F=t.dotsActiveColor,H=(t.textAlign,t.verticalAlign,t.slidesGapRange),z=t.TABslidesGapRange,q=t.MOBslidesGapRange,U=t.slidesGapUnit,V=t.TABslidesGapUnit,W=t.MOBslidesGapUnit,G=t.dotsSizeRange,Z=t.dotsSizeUnit,Y=t.TABdotsSizeUnit,J=t.MOBdotsSizeUnit,Q=t.TABdotsSizeRange,X=t.MOBdotsSizeRange,$=t.categoryMetaDividerColor,K=t.tagMetaDividerColor,ee=t.dotsPositionRange,te=t.TABdotsPositionRange,ae=t.MOBdotsPositionRange,ne=b1({attributes:t,prefixConstant:O0,defaultFontSize:18}),oe=ne.typoStylesDesktop,re=ne.typoStylesTab,ce=ne.typoStylesMobile,le=b1({attributes:t,prefixConstant:M0,defaultFontSize:14}),ie=le.typoStylesDesktop,se=le.typoStylesTab,be=le.typoStylesMobile,pe=b1({attributes:t,prefixConstant:D0,defaultFontSize:13}),ue=pe.typoStylesDesktop,de=pe.typoStylesTab,me=pe.typoStylesMobile,ge=b1({attributes:t,prefixConstant:j0,defaultFontSize:13}),fe=ge.typoStylesDesktop,ye=ge.typoStylesTab,ve=ge.typoStylesMobile,he=p1({controlName:JK,styleFor:"margin",attributes:t}),we=he.dimensionStylesDesktop,ke=he.dimensionStylesTab,Re=he.dimensionStylesMobile,_e=p1({controlName:QK,styleFor:"padding",attributes:t}),Ee=_e.dimensionStylesDesktop,Ce=_e.dimensionStylesTab,xe=_e.dimensionStylesMobile,Se=p1({controlName:KK,styleFor:"padding",attributes:t}),Be=Se.dimensionStylesDesktop,Te=Se.dimensionStylesTab,Ne=Se.dimensionStylesMobile,Pe=p1({controlName:c0,styleFor:"margin",attributes:t}),Oe=Pe.dimensionStylesDesktop,Me=Pe.dimensionStylesTab,De=Pe.dimensionStylesMobile,je=p1({controlName:l0,styleFor:"margin",attributes:t}),Ie=je.dimensionStylesDesktop,Ae=je.dimensionStylesTab,Le=je.dimensionStylesMobile,Fe=p1({controlName:i0,styleFor:"margin",attributes:t}),He=Fe.dimensionStylesDesktop,ze=Fe.dimensionStylesTab,qe=Fe.dimensionStylesMobile,Ue=p1({controlName:s0,styleFor:"padding",attributes:t}),Ve=Ue.dimensionStylesDesktop,We=Ue.dimensionStylesTab,Ge=Ue.dimensionStylesMobile,Ze=p1({controlName:b0,styleFor:"margin",attributes:t}),Ye=Ze.dimensionStylesDesktop,Je=Ze.dimensionStylesTab,Qe=Ze.dimensionStylesMobile,Xe=p1({controlName:p0,styleFor:"margin",attributes:t}),$e=Xe.dimensionStylesDesktop,Ke=Xe.dimensionStylesTab,et=Xe.dimensionStylesMobile,tt=p1({controlName:r0,styleFor:"margin",attributes:t}),at=tt.dimensionStylesDesktop,nt=tt.dimensionStylesTab,ot=tt.dimensionStylesMobile,rt=p1({controlName:o0,styleFor:"border-radius",attributes:t}),ct=rt.dimensionStylesDesktop,lt=rt.dimensionStylesTab,it=rt.dimensionStylesMobile,st=p1({controlName:m0,styleFor:"border-radius",attributes:t}),bt=st.dimensionStylesDesktop,pt=st.dimensionStylesTab,ut=st.dimensionStylesMobile,dt=u1({controlName:XK,attributes:t}),mt=dt.styesDesktop,gt=dt.styesTab,ft=dt.styesMobile,yt=dt.stylesHoverDesktop,vt=dt.stylesHoverTab,ht=dt.stylesHoverMobile,wt=dt.transitionStyle,kt=u1({controlName:a0,attributes:t}),Rt=kt.styesDesktop,_t=kt.styesTab,Et=kt.styesMobile,Ct=kt.stylesHoverDesktop,xt=kt.stylesHoverTab,St=kt.stylesHoverMobile,Bt=kt.transitionStyle,Tt=d1({controlName:n0,property:"height",attributes:t}),Nt=Tt.rangeStylesDesktop,Pt=Tt.rangeStylesTab,Ot=Tt.rangeStylesMobile,Mt=d1({controlName:u0,property:"margin-right",attributes:t}),Dt=Mt.rangeStylesDesktop,jt=Mt.rangeStylesTab,It=Mt.rangeStylesMobile,At=d1({controlName:d0,property:"margin-right",attributes:t}),Lt=At.rangeStylesDesktop,Ft=At.rangeStylesTab,Ht=At.rangeStylesMobile,zt=d1({controlName:e0,property:"width",attributes:t}),qt=zt.rangeStylesDesktop,Ut=zt.rangeStylesTab,Vt=zt.rangeStylesMobile,Wt=m1({attributes:t,controlName:$K,noOverlay:!0}),Gt=Wt.backgroundStylesDesktop,Zt=Wt.hoverBackgroundStylesDesktop,Yt=Wt.backgroundStylesTab,Jt=Wt.hoverBackgroundStylesTab,Qt=Wt.backgroundStylesMobile,Xt=Wt.hoverBackgroundStylesMobile,$t=Wt.bgTransitionStyle,Kt=m1({attributes:t,controlName:t0,noOverlay:!0}),ea=Kt.backgroundStylesDesktop,ta=Kt.hoverBackgroundStylesDesktop,aa=Kt.backgroundStylesTab,na=Kt.hoverBackgroundStylesTab,oa=Kt.backgroundStylesMobile,ra=Kt.hoverBackgroundStylesMobile,ca=Kt.bgTransitionStyle,la=d1({controlName:g0,property:"",attributes:t}),ia=(la.rangeStylesDesktop,la.rangeStylesTab,la.rangeStylesMobile,d1({controlName:f0,property:"margin-right",attributes:t})),sa=ia.rangeStylesDesktop,ba=ia.rangeStylesTab,pa=ia.rangeStylesMobile,ua=d1({controlName:y0,property:"left",attributes:t}),da=ua.rangeStylesDesktop,ma=ua.rangeStylesTab,ga=ua.rangeStylesMobile,fa=d1({controlName:y0,property:"right",attributes:t}),ya=fa.rangeStylesDesktop,va=fa.rangeStylesTab,ha=fa.rangeStylesMobile,wa=d1({controlName:h0,property:"font-size",attributes:t}),ka=wa.rangeStylesDesktop,Ra=wa.rangeStylesTab,_a=wa.rangeStylesMobile,Ea=d1({controlName:w0,property:"font-size",attributes:t}),Ca=Ea.rangeStylesDesktop,xa=Ea.rangeStylesTab,Sa=Ea.rangeStylesMobile,Ba=d1({controlName:k0,property:"padding",attributes:t}),Ta=(Ba.rangeStylesDesktop,Ba.rangeStylesTab,Ba.rangeStylesMobile,d1({controlName:v0,property:"bottom",attributes:t})),Na=Ta.rangeStylesDesktop,Pa=Ta.rangeStylesTab,Oa=Ta.rangeStylesMobile,Ma=u1({controlName:R0,attributes:t,noShadow:!0}),Da=Ma.styesDesktop,ja=Ma.styesTab,Ia=Ma.styesMobile,Aa=Ma.stylesHoverDesktop,La=Ma.stylesHoverTab,Fa=Ma.stylesHoverMobile,Ha=Ma.transitionStyle,za=H+U,qa=z+V,Ua=q+W,Va=Math.abs(ee),Wa=Math.abs(te),Ga=Math.abs(ae),Za="\n\t\t.eb-post-carousel-wrapper.".concat(o,"{\n\t\t\tdisplay: block;\n\t\t\tposition: relative;\n\t\t\t").concat(we,"\n\t\t\t").concat(Ee,"\n\t\t\t").concat(Gt,"\n\t\t\t").concat(mt,"\n\t\t\ttransition: ").concat($t,", ").concat(wt,";\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o,":hover {\n\t\t\t").concat(Zt,"\n\t\t\t").concat(yt,"\n\t\t}\n\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-list {\n\t\t\tmargin: calc(-").concat(H).concat(U,"/2);\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-slide .ebpg-carousel-post-holder {\n\t\t\tmargin: calc(").concat(H).concat(U,"/2);\n\t\t\theight: calc(100% - ").concat(za,");\n\t\t}\n\t"),Ya="\n\t\t.eb-post-carousel-wrapper.".concat(o,"{\n\t\t\t").concat(ke,"\n\t\t\t").concat(Ce,"\n\t\t\t").concat(Yt,"\n\t\t\t").concat(gt,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o,":hover {\n\t\t\t").concat(Jt,"\n\t\t\t").concat(vt,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-list {\n\t\t\tmargin: calc(-").concat(z).concat(V,"/2);\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-slide .ebpg-carousel-post-holder {\n\t\t\tmargin: calc(").concat(z).concat(V,"/2);\n\t\t\theight: calc(100% - ").concat(qa,");\n\t\t}\n\t"),Ja="\n\t\t.eb-post-carousel-wrapper.".concat(o,"{\n\t\t\t").concat(Re,"\n\t\t\t").concat(xe,"\n\t\t\t").concat(Qt,"\n\t\t\t").concat(ft,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o,":hover {\n\t\t\t").concat(Xt,"\n\t\t\t").concat(ht,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-list {\n\t\t\tmargin: calc(-").concat(q).concat(W,"/2);\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-slide .ebpg-carousel-post-holder {\n\t\t\tmargin: calc(").concat(q).concat(W,"/2);\n\t\t\theight: calc(100% - ").concat(Ua,");\n\t\t}\n\t"),Qa=qt.replace(/\D/g,""),Xa="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-post-carousel-column {\n\t\t\ttransition: ").concat(ca,", ").concat(Bt,";\n\t\t}\n\t\t// .eb-post-carousel-wrapper.").concat(o," .ebpg-post-carousel-column:hover {\n\t\t// \t").concat(ta,"\n\t\t// \t").concat(Ct,"\n\t\t// }\n\n\t\t").concat("style-1"===r?"\n\t\t\t\t.eb-post-carousel-wrapper.".concat(o,".style-1 .ebpg-carousel-post-holder::after {\n\t\t\t\t\t").concat(ea,"\n\t\t\t\t\t").concat(Be,"\n\t\t\t\t\t").concat(Rt,"\n\t\t\t\t}\n\t\t\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-post-carousel-column:hover .ebpg-carousel-post-holder::after {\n\t\t\t\t\t").concat(ta,"\n\t\t\t\t\t").concat(Ct,"\n\t\t\t\t}\n\t\t\t"):"","\n\n\t\t").concat("style-2"===r?"\n\t\t\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-carousel-post-holder {\n\t\t\t\t\t").concat(ea,"\n\t\t\t\t\t").concat(Rt,"\n\t\t\t\t}\n\t\t\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-entry-wrapper {\n\t\t\t\t\t").concat(ea,"\n\t\t\t\t\t").concat(Be,"\n\t\t\t\t\tborder-bottom-right-radius: inherit;\n\t\t\t\t\tborder-bottom-left-radius: inherit;\n\t\t\t\t}\n\n\t\t\t"):"","\n\n\t\t").concat("style-3"===r?"\n\t\t\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-carousel-post-holder {\n\t\t\t\t\t").concat(ea,"\n\t\t\t\t\t").concat(Rt,"\n\t\t\t\t}\n\t\t\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-entry-wrapper {\n\t\t\t\t\t").concat(ea,"\n\t\t\t\t\t").concat(Be,"\n\t\t\t\t\tborder-bottom-right-radius: inherit;\n\t\t\t\t\tborder-top-right-radius: inherit;\n\t\t\t\t}\n\n\t\t\t"):"","\n\n\t\t").concat("style-3"===r&&qt?"\n\t\t\t.eb-post-carousel-wrapper.".concat(o,".style-3 .ebpg-carousel-post-holder {\n\t\t\t\talign-items: ").concat(j,";\n\t\t\t}\n\t\t\t").concat("0"===Qa?".eb-post-carousel-wrapper.".concat(o,".style-3 .ebpg-carousel-post-holder .ebpg-entry-media {\n\t\t\t\t\tdisplay: none;\n\t\t\t\t}\n\t\t\t\t.eb-post-carousel-wrapper.").concat(o,".style-3 .ebpg-carousel-post-holder .ebpg-entry-wrapper {\n\t\t\t\t\twidth: ").concat(100-Qa,"%;\n\t\t\t\t}"):"100"===Qa?".eb-post-carousel-wrapper.".concat(o,".style-3 .ebpg-carousel-post-holder {\n\t\t\t\t\t\tflex-wrap: wrap;\n\t\t\t\t\t}\n\t\t\t\t\t.eb-post-carousel-wrapper.").concat(o,".style-3 .ebpg-carousel-post-holder .ebpg-entry-media {\n\t\t\t\t\t\twidth: ").concat(Qa,"%;\n\t\t\t\t\t}\n\t\t\t\t\t.eb-post-carousel-wrapper.").concat(o,".style-3 .ebpg-carousel-post-holder .ebpg-entry-wrapper {\n\t\t\t\t\t\twidth: ").concat(Qa,"%;\n\t\t\t\t\t}"):".eb-post-carousel-wrapper.".concat(o,".style-3 .ebpg-carousel-post-holder .ebpg-entry-media {\n\t\t\t\t\twidth: ").concat(Qa,"%;\n\t\t\t\t}\n\t\t\t\t.eb-post-carousel-wrapper.").concat(o,".style-3 .ebpg-carousel-post-holder .ebpg-entry-wrapper {\n\t\t\t\t\twidth: ").concat(100-Qa,"%;\n\t\t\t\t}")):"","\n\t\t").concat("style-4"===r?"\n\n\t\t\t.eb-post-carousel-wrapper.".concat(o,".style-4 .ebpg-carousel-post-holder .ebpg-entry-wrapper {\n\t\t\t\tjustify-content: ").concat(j,";\n\t\t\t\t").concat(Be,"\n\t\t\t}\n\t\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-entry-thumbnail {\n\t\t\t\t").concat(Rt,"\n\t\t\t}\n\t\t\t.eb-post-carousel-wrapper.").concat(o,".style-4 .ebpg-entry-thumbnail img, .eb-post-carousel-wrapper.").concat(o,".style-4 .ebpg-entry-thumbnail:after {\n\t\t\t\t").concat(Rt,"\n\t\t\t\tborder-width: 0px !important;\n\t\t\t}\n\t\t\t"):"","\n\n\t"),$a=Ut.replace(/\D/g,""),Ka="\n\t\t".concat("style-1"===r?"\n\t\t\t\t.eb-post-carousel-wrapper.".concat(o,".style-1 .ebpg-carousel-post-holder::after {\n\t\t\t\t\t").concat(aa,"\n\t\t\t\t\t").concat(Te,"\n\t\t\t\t\t").concat(_t,"\n\t\t\t\t}\n\t\t\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-post-carousel-column:hover .ebpg-carousel-post-holder::after {\n\t\t\t\t\t").concat(na,"\n\t\t\t\t\t").concat(xt,"\n\t\t\t\t}\n\t\t\t"):"","\n\n\t\t").concat("style-2"===r?"\n\t\t\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-carousel-post-holder {\n\t\t\t\t\t").concat(aa,"\n\t\t\t\t\t").concat(Rt,"\n\t\t\t\t}\n\t\t\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-entry-wrapper {\n\t\t\t\t\t").concat(aa,"\n\t\t\t\t\t").concat(Te,"\n\t\t\t\t\tborder-bottom-right-radius: inherit;\n\t\t\t\t\tborder-bottom-left-radius: inherit;\n\t\t\t\t}\n\n\t\t\t"):"","\n\n\t\t").concat("style-3"===r?"\n\t\t\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-carousel-post-holder {\n\t\t\t\t\t").concat(aa,"\n\t\t\t\t\t").concat(Rt,"\n\t\t\t\t}\n\t\t\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-entry-wrapper {\n\t\t\t\t\t").concat(aa,"\n\t\t\t\t\t").concat(Te,"\n\t\t\t\t}\n\n\t\t\t"):"","\n\n\t\t").concat("style-3"===r&&Ut?"\n\t\t\t.eb-post-carousel-wrapper.".concat(o,".style-3 .ebpg-carousel-post-holder {\n\t\t\t\talign-items: ").concat(j,";\n\t\t\t}\n\t\t\t").concat("0"===$a?".eb-post-carousel-wrapper.".concat(o,".style-3 .ebpg-carousel-post-holder .ebpg-entry-media {\n\t\t\t\t\tdisplay: none;\n\t\t\t\t}\n\t\t\t\t.eb-post-carousel-wrapper.").concat(o,".style-3 .ebpg-carousel-post-holder .ebpg-entry-wrapper {\n\t\t\t\t\twidth: ").concat(100-$a,"%;\n\t\t\t\t}"):"100"===$a?".eb-post-carousel-wrapper.".concat(o,".style-3 .ebpg-carousel-post-holder {\n\t\t\t\t\t\tflex-wrap: wrap;\n\t\t\t\t\t}\n\t\t\t\t\t.eb-post-carousel-wrapper.").concat(o,".style-3 .ebpg-carousel-post-holder .ebpg-entry-media {\n\t\t\t\t\t\twidth: ").concat($a,"%;\n\t\t\t\t\t}\n\t\t\t\t\t.eb-post-carousel-wrapper.").concat(o,".style-3 .ebpg-carousel-post-holder .ebpg-entry-wrapper {\n\t\t\t\t\t\twidth: ").concat($a,"%;\n\t\t\t\t\t}"):".eb-post-carousel-wrapper.".concat(o,".style-3 .ebpg-carousel-post-holder .ebpg-entry-media {\n\t\t\t\t\twidth: ").concat($a,"%;\n\t\t\t\t}\n\t\t\t\t.eb-post-carousel-wrapper.").concat(o,".style-3 .ebpg-carousel-post-holder .ebpg-entry-wrapper {\n\t\t\t\t\twidth: ").concat(100-$a,"%;\n\t\t\t\t}")):"","\n\t\t").concat("style-4"===r?"\n\n\t\t\t.eb-post-carousel-wrapper.".concat(o,".style-4 .ebpg-carousel-post-holder .ebpg-entry-wrapper {\n\t\t\t\t").concat(Te,"\n\t\t\t}\n\t\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-entry-thumbnail {\n\t\t\t\t").concat(_t,"\n\t\t\t}\n\t\t\t.eb-post-carousel-wrapper.").concat(o,".style-4 .ebpg-entry-thumbnail img, .eb-post-carousel-wrapper.").concat(o,".style-4 .ebpg-entry-thumbnail:after {\n\t\t\t\t").concat(_t,"\n\t\t\t}\n\t\t\t"):"","\n\t"),en=Vt.replace(/\D/g,""),tn="\n\t\t".concat("style-1"===r?"\n\t\t\t\t.eb-post-carousel-wrapper.".concat(o,".style-1 .ebpg-carousel-post-holder::after {\n\t\t\t\t\t").concat(oa,"\n\t\t\t\t\t").concat(Ne,"\n\t\t\t\t\t").concat(Et,"\n\t\t\t\t}\n\t\t\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-post-carousel-column:hover .ebpg-carousel-post-holder::after {\n\t\t\t\t\t").concat(ra,"\n\t\t\t\t\t").concat(St,"\n\t\t\t\t}\n\t\t\t"):"","\n\n\t\t").concat("style-2"===r?"\n\t\t\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-carousel-post-holder {\n\t\t\t\t\t").concat(oa,"\n\t\t\t\t\t").concat(Et,"\n\t\t\t\t}\n\t\t\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-entry-wrapper {\n\t\t\t\t\t").concat(oa,"\n\t\t\t\t\t").concat(Ne,"\n\t\t\t\t}\n\n\t\t\t"):"","\n\n\t\t").concat("style-3"===r?"\n\t\t\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-carousel-post-holder {\n\t\t\t\t\t").concat(oa,"\n\t\t\t\t\t").concat(Rt,"\n\t\t\t\t}\n\t\t\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-entry-wrapper {\n\t\t\t\t\t").concat(oa,"\n\t\t\t\t\t").concat(Ne,"\n\t\t\t\t}\n\n\t\t\t"):"","\n\t\t").concat("style-3"===r&&Vt?"\n\t\t\t.eb-post-carousel-wrapper.".concat(o,".style-3 .ebpg-carousel-post-holder {\n\t\t\t\talign-items: ").concat(j,";\n\t\t\t}\n\t\t\t").concat("0"===en?".eb-post-carousel-wrapper.".concat(o,".style-3 .ebpg-carousel-post-holder .ebpg-entry-media {\n\t\t\t\t\tdisplay: none;\n\t\t\t\t}\n\t\t\t\t.eb-post-carousel-wrapper.").concat(o,".style-3 .ebpg-carousel-post-holder .ebpg-entry-wrapper {\n\t\t\t\t\twidth: ").concat(100-en,"%;\n\t\t\t\t}"):"100"===en?".eb-post-carousel-wrapper.".concat(o,".style-3 .ebpg-carousel-post-holder {\n\t\t\t\t\t\tflex-wrap: wrap;\n\t\t\t\t\t}\n\t\t\t\t\t.eb-post-carousel-wrapper.").concat(o,".style-3 .ebpg-carousel-post-holder .ebpg-entry-media {\n\t\t\t\t\t\twidth: ").concat(en,"%;\n\t\t\t\t\t}\n\t\t\t\t\t.eb-post-carousel-wrapper.").concat(o,".style-3 .ebpg-carousel-post-holder .ebpg-entry-wrapper {\n\t\t\t\t\t\twidth: ").concat(en,"%;\n\t\t\t\t\t}"):".eb-post-carousel-wrapper.".concat(o,".style-3 .ebpg-carousel-post-holder .ebpg-entry-media {\n\t\t\t\t\twidth: ").concat(en,"%;\n\t\t\t\t}\n\t\t\t\t.eb-post-carousel-wrapper.").concat(o,".style-3 .ebpg-carousel-post-holder .ebpg-entry-wrapper {\n\t\t\t\t\twidth: ").concat(100-en,"%;\n\t\t\t\t}")):"","\n\t\t").concat("style-4"===r?"\n\n\t\t\t.eb-post-carousel-wrapper.".concat(o,".style-4 .ebpg-carousel-post-holder .ebpg-entry-wrapper {\n\t\t\t\t").concat(Ne,"\n\t\t\t}\n\t\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-entry-thumbnail {\n\t\t\t\t").concat(Et,"\n\t\t\t}\n\t\t\t.eb-post-carousel-wrapper.").concat(o,".style-4 .ebpg-entry-thumbnail img, .eb-post-carousel-wrapper.").concat(o,".style-4 .ebpg-entry-thumbnail:after {\n\t\t\t\t").concat(Et,"\n\t\t\t}\n\t\t\t"):"","\n\t"),an="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-entry-thumbnail {\n\t\t\t").concat(at,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-entry-thumbnail img {\n\t\t\t").concat(Nt,"\n\t\t\t").concat(ct,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-carousel-post-holder .ebpg-entry-thumbnail:after {\n\t\t\tbackground-color: ").concat(c,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-carousel-post-holder .ebpg-entry-thumbnail:hover:after,\n\t\t.eb-post-carousel-wrapper.").concat(o,".style-4 .ebpg-carousel-post-holder:hover .ebpg-entry-thumbnail:after {\n\t\t\tbackground-color: ").concat(l,";\n\t\t\t").concat(ct,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o,".style-4 .ebpg-carousel-post-holder:hover .ebpg-entry-thumbnail:after {\n\t\t\tborder-radius: inherit;\n\t\t}\n\t"),nn="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-entry-thumbnail {\n\t\t\t").concat(nt,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-entry-thumbnail img {\n\t\t\t").concat(Pt,"\n\t\t\t").concat(lt,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-carousel-post-holder .ebpg-entry-thumbnail:hover:after,\n\t\t.eb-post-carousel-wrapper.").concat(o,".style-4 .ebpg-carousel-post-holder:hover .ebpg-entry-thumbnail:after {\n\t\t\t").concat(lt,"\n\t\t}\n\t"),on="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-entry-thumbnail img {\n\t\t\t").concat(ot,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-entry-thumbnail img {\n\t\t\t").concat(Ot,"\n\t\t\t").concat(it,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-carousel-post-holder .ebpg-entry-thumbnail:hover:after,\n\t\t.eb-post-carousel-wrapper.").concat(o,".style-4 .ebpg-carousel-post-holder:hover .ebpg-entry-thumbnail:after {\n\t\t\t").concat(it,"\n\t\t}\n\t"),rn="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-entry-title {\n\t\t\ttext-align: ").concat(b,";\n\t\t\t").concat(oe,"\n\t\t\t").concat(Oe,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-entry-title a {\n\t\t\tcolor: ").concat(i,";\n\t\t\t").concat(oe,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-entry-title a:hover {\n\t\t\tcolor: ").concat(s,";\n\t\t}\n\t"),cn="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-entry-title {\n\t\t\t").concat(re,"\n\t\t\t").concat(Me,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-entry-title a {\n\t\t\t").concat(re,"\n\t\t}\n\t"),ln="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-entry-title {\n\t\t\t").concat(ce,"\n\t\t\t").concat(De,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-entry-title a {\n\t\t\t").concat(ce,"\n\t\t}\n\t"),sn="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-carousel-post-excerpt p {\n\t\t\tcolor: ").concat(p,";\n\t\t\ttext-align: ").concat(u,";\n\t\t\t").concat(ie,"\n\t\t\t").concat(Ie,"\n\t\t}\n\t"),bn="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-carousel-post-excerpt p {\n\t\t\t").concat(se,"\n\t\t\t").concat(Ae,"\n\t\t}\n\t"),pn="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-carousel-post-excerpt p {\n\t\t\t").concat(be,"\n\t\t\t").concat(Le,"\n\t\t}\n\t"),un="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-readmore-btn {\n\t\t\ttext-align: ").concat(g,";\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-readmore-btn a {\n\t\t\tcolor: ").concat(d,";\n\t\t\tbackground-color: ").concat(m,";\n\t\t\t").concat(ue,"\n\t\t\t").concat(He,"\n\t\t\t").concat(Ve,"\n            ").concat(Da,"\n\t\t\ttransition: ").concat(Ha,";\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-readmore-btn a:hover {\n\t\t\tcolor: ").concat(f,";\n\t\t\tbackground-color: ").concat(y,";\n            ").concat(Aa,"\n\t\t}\n\t"),dn="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-readmore-btn a {\n\t\t\t").concat(de,"\n\t\t\t").concat(ze,"\n\t\t\t").concat(We,"\n            ").concat(ja,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-readmore-btn a:hover {\n\t\t\t").concat(La,"\n\t\t}\n\t"),mn="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-readmore-btn a {\n\t\t\t").concat(me,"\n\t\t\t").concat(qe,"\n\t\t\t").concat(Ge,"\n            ").concat(Ia,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-readmore-btn a:hover {\n\t\t\t").concat(Fa,"\n\t\t}\n\t"),gn="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-author-avatar img {\n\t\t\t").concat(bt,"\n\t\t}\n\t"),fn="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-author-avatar img {\n\t\t\t").concat(pt,"\n\t\t}\n\t"),yn="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-author-avatar img {\n\t\t\t").concat(ut,"\n\t\t}\n\t"),vn="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-posted-on {\n\t\t\tcolor: ").concat(D,";\n\t\t\t").concat(fe,"\n\t\t}\n\t"),hn="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-posted-on {\n\t\t\t").concat(ye,"\n\t\t}\n\t"),wn="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-posted-on {\n\t\t\t").concat(ve,"\n\t\t}\n\t"),kn="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-posted-by {\n\t\t\tcolor: ").concat(R,";\n\t\t\t").concat(fe,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-posted-by a {\n\t\t\tcolor: ").concat(R,";\n\t\t\t").concat(fe,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-posted-by a:hover {\n\t\t\tcolor: ").concat(_,";\n\t\t}\n\t"),Rn="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-posted-by {\n\t\t\t").concat(ye,"\n\t\t}\n\t"),_n="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-posted-by {\n\t\t\t").concat(ve,"\n\t\t}\n\t"),En="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-meta a {\n\t\t\tcolor: ").concat(E,";\n\t\t\t").concat(fe,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-meta a:not(:first-child)::before {\n\t\t\tbackground-color: ").concat(x,";\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-meta a:hover {\n\t\t\tcolor: ").concat(C,";\n\t\t}\n\t"),Cn="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-meta a {\n\t\t\t").concat(ye,"\n\t\t}\n\t"),xn="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-meta a {\n\t\t\t").concat(ve,"\n\t\t}\n\t"),Sn="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-meta.ebpg-dynamic-values {\n\t\t\tcolor: ").concat(v,";\n\t\t\tbackground-color: ").concat(h,";\n\t\t\t").concat(fe,"\n\t\t}\n\t"),Bn="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-meta.ebpg-dynamic-values  {\n\t\t\t").concat(ye,"\n\t\t}\n\t"),Tn="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-meta.ebpg-dynamic-values  {\n\t\t\t").concat(ve,"\n\t\t}\n\t"),Nn="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-categories-meta a {\n\t\t\tcolor: ").concat(S,";\n\t\t\t").concat(fe,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-categories-meta a:not(:first-child)::before {\n\t\t\tbackground-color: ").concat($,";\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-categories-meta a:hover {\n\t\t\tcolor: ").concat(B,";\n\t\t\t// background-color: ").concat(T,";\n\t\t}\n\t"),Pn="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-categories-meta a {\n\t\t\t").concat(ye,"\n\t\t}\n\t"),On="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-categories-meta a {\n\t\t\t").concat(ve,"\n\t\t}\n\t"),Mn="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-tags-meta a {\n\t\t\tcolor: ").concat(N,";\n\t\t\tbackground-color: ").concat(O,";\n\t\t\t").concat(fe,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-tags-meta a:not(:first-child)::before {\n\t\t\tbackground-color: ").concat(K,";\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-tags-meta a:hover {\n\t\t\tcolor: ").concat(P,";\n\t\t\tbackground-color: ").concat(M,";\n\t\t}\n\t"),Dn="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-tags-meta a {\n\t\t\t").concat(ye,"\n\t\t}\n\t"),jn="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-tags-meta a {\n\t\t\t").concat(ve,"\n\t\t}\n\t"),In="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-header-meta {\n\t\t\tjustify-content: ").concat(w,";\n\t\t\t").concat(Ye,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-header-meta .ebpg-entry-meta-items {\n\t\t\tjustify-content: ").concat(w,";\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-header-meta .ebpg-author-avatar,\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-header-meta .ebpg-entry-meta-items > * {\n\t\t\t").concat(Dt,"\n\t\t}\n\t"),An="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-header-meta {\n\t\t\t").concat(Je,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-header-meta .ebpg-author-avatar,\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-header-meta .ebpg-entry-meta-items > * {\n\t\t\t").concat(jt,"\n\t\t}\n\t"),Ln="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-header-meta {\n\t\t\t").concat(Qe,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-header-meta .ebpg-author-avatar,\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-header-meta .ebpg-entry-meta-items > * {\n\t\t\t").concat(It,"\n\t\t}\n\t"),Fn="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-footer-meta {\n\t\t\tjustify-content: ").concat(k,";\n\t\t\t").concat($e,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-footer-meta .ebpg-entry-meta-items {\n\t\t\tjustify-content: ").concat(k,";\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-footer-meta .ebpg-author-avatar,\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-footer-meta .ebpg-entry-meta-items > * {\n\t\t\t").concat(Lt,"\n\t\t}\n\t"),Hn="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-footer-meta {\n\t\t\t").concat(Ke,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-footer-meta .ebpg-author-avatar,\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-footer-meta .ebpg-entry-meta-items > * {\n\t\t\t").concat(Ft,"\n\t\t}\n\t"),zn="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-footer-meta {\n\t\t\t").concat(et,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-footer-meta .ebpg-author-avatar,\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-footer-meta .ebpg-entry-meta-items > * {\n\t\t\t").concat(Ht,"\n\t\t}\n\t"),qn="\n\t\t.eb-post-carousel-wrapper.".concat(o," .slick-prev {\n\t\t\t").concat(da,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-next {\n\t\t\t").concat(ya,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-prev i,\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-next i {\n\t\t\tcolor: ").concat(I," !important;\n\t\t\t").concat(ka,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-prev:hover i,\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-next:hover i {\n\t\t\tcolor: ").concat(A," !important;\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o,".eb-slider-dots,\n\t\t.eb-post-carousel-wrapper.").concat(o,".slick-dotted.slick-slider{\n\t\t\tmargin-bottom: calc(").concat(Va,"px + 20px);\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-dots {\n\t\t\t").concat(Na,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-dots li {\n\t\t\t").concat(sa,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-dots li button:before {\n\t\t\tcolor: ").concat(L," !important;\n\t\t\t").concat(Ca,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o,".dot-style-2 .slick-dots li button:before {\n\t\t\tbackground-color: ").concat(L," !important;\n\t\t\tfont-size: 0;\n\t\t\twidth: ").concat(G).concat(Z,";\n\t\t\theight: ").concat(G).concat(Z,";\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o,".dot-style-3 .slick-dots li button:before {\n\t\t\tbackground-color: ").concat(L," !important;\n\t\t\tfont-size: 0;\n\t\t\twidth: ").concat(G).concat(Z,";\n\t\t\theight: ").concat(G).concat(Z,";\n\t\t}\n\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-dots li.slick-active button:before {\n\t\t\tcolor: ").concat(F," !important;\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o,".dot-style-2 .slick-dots li.slick-active button:before {\n\t\t\tbackground-color: ").concat(F," !important;\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o,".dot-style-3 .slick-dots li.slick-active button:before {\n\t\t\tbackground-color: ").concat(F," !important;\n\t\t\twidth: calc(").concat(G).concat(Z,"* 2);\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o,".dot-style-3 .slick-dots li.slick-active {\n\t\t\twidth: calc(").concat(G).concat(Z,"* 2);\n\t\t}\n\n\t\t.eb-post-carousel-wrapper.").concat(o,".dot-style-4 .slick-dots li button:before {\n\t\t\tbackground-color: ").concat(L," !important;\n\t\t\tfont-size: 0;\n\t\t\twidth: ").concat(G).concat(Z,";\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o,".dot-style-4 .slick-dots li.slick-active button:before {\n\t\t\tbackground-color: ").concat(F," !important;\n\t\t\twidth: calc(").concat(G).concat(Z,");\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o,".dot-style-4 .slick-dots li.slick-active {\n\t\t\twidth: calc(").concat(G).concat(Z,");\n\t\t}\n\t"),Un="\n\t\t.eb-post-carousel-wrapper.".concat(o," .slick-prev {\n\t\t\t").concat(ma,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-next {\n\t\t\t").concat(va,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-prev i,\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-next i {\n\t\t\t").concat(Ra,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o,".eb-slider-dots,\n\t\t.eb-post-carousel-wrapper.").concat(o,".slick-dotted.slick-slider{\n\t\t\tmargin-bottom: calc(").concat(Wa,"px + 20px);\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-dots {\n\t\t\t").concat(Pa,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-dots li {\n\t\t\t").concat(ba,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-dots li button:before {\n\t\t\t").concat(xa,"\n\t\t}\n\n\t\t.eb-post-carousel-wrapper.").concat(o,".dot-style-2 .slick-dots li button:before {\n\t\t\twidth: ").concat(Q).concat(Y,";\n\t\t\theight: ").concat(Q).concat(Y,";\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o,".dot-style-3 .slick-dots li button:before {\n\t\t\twidth: ").concat(Q).concat(Y,";\n\t\t\theight: ").concat(Q).concat(Y,";\n\t\t}\n\n\t\t.eb-post-carousel-wrapper.").concat(o,".dot-style-3 .slick-dots li.slick-active button:before {\n\t\t\twidth: calc(").concat(Q).concat(Y,"* 2);\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o,".dot-style-3 .slick-dots li.slick-active {\n\t\t\twidth: calc(").concat(Q).concat(Y,"* 2);\n\t\t}\n\t"),Vn="\n\t\t.eb-post-carousel-wrapper.".concat(o," .slick-prev {\n\t\t\t").concat(ga,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-next {\n\t\t\t").concat(ha,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-prev i,\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-next i {\n\t\t\t").concat(_a,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o,".eb-slider-dots,\n\t\t.eb-post-carousel-wrapper.").concat(o,".slick-dotted.slick-slider{\n\t\t\tmargin-bottom: calc(").concat(Ga,"px + 20px);\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-dots {\n\t\t\t").concat(Oa,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-dots li {\n\t\t\t").concat(pa,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-dots li button:before {\n\t\t\t").concat(Sa,"\n\t\t}\n\n\t\t.eb-post-carousel-wrapper.").concat(o,".dot-style-2 .slick-dots li button:before {\n\t\t\twidth: ").concat(X).concat(J,";\n\t\t\theight: ").concat(X).concat(J,";\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o,".dot-style-3 .slick-dots li button:before {\n\t\t\twidth: ").concat(X).concat(Y,";\n\t\t\theight: ").concat(X).concat(J,";\n\t\t}\n\n\t\t.eb-post-carousel-wrapper.").concat(o,".dot-style-3 .slick-dots li.slick-active button:before {\n\t\t\twidth: calc(").concat(X).concat(J,"* 2);\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o,".dot-style-3 .slick-dots li.slick-active {\n\t\t\twidth: calc(").concat(X).concat(J,"* 2);\n\t\t}\n\n\t\t.eb-post-carousel-wrapper.").concat(o,".eb-dot-style-modern-1 .slick-dots li button:before,\n        .eb-post-carousel-wrapper.").concat(o,".eb-dot-style-modern-2 .slick-dots li button:before,\n        .eb-post-carousel-wrapper.").concat(o,".eb-dot-style-modern-3 .slick-dots li button:before {\n\t\t\tbackground-color: ").concat(L," !important;\n\t\t\tfont-size: 0;\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o,".eb-dot-style-modern-1 .slick-dots li.slick-active button:before,\n\t\t.eb-post-carousel-wrapper.").concat(o,".eb-dot-style-modern-2 .slick-dots li.slick-active button:before,\n        .eb-post-carousel-wrapper.").concat(o,".eb-dot-style-modern-3 .slick-dots li.slick-active button:before {\n\t\t\tbackground-color: ").concat(F," !important;\n\t\t}\n\t"),Wn=s1("\n\t\t".concat(Za,"\n\t\t").concat(Xa,"\n\t\t").concat(an,"\n\t\t").concat(rn,"\n\t\t").concat(sn,"\n\t\t").concat(un,"\n\t\t").concat(gn,"\n\t\t").concat(vn,"\n\t\t").concat(kn,"\n\t\t").concat(En,"\n\t\t").concat(Sn,"\n\t\t").concat(Nn,"\n\t\t").concat(Mn,"\n\t\t").concat(In,"\n\t\t").concat(Fn,"\n\t\t").concat(qn,"\n\t")),Gn=s1("\n\t\t".concat(Ya,"\n\t\t").concat(Ka,"\n\t\t").concat(nn,"\n\t\t").concat(cn,"\n\t\t").concat(bn,"\n\t\t").concat(dn,"\n\t\t").concat(fn,"\n\t\t").concat(hn,"\n\t\t").concat(Rn,"\n\t\t").concat(Cn,"\n\t\t").concat(Bn,"\n\t\t").concat(Pn,"\n\t\t").concat(Dn,"\n\t\t").concat(An,"\n\t\t").concat(Hn,"\n\t\t").concat(Un,"\n\t")),Zn=s1("\n\t\t".concat(Ja,"\n\t\t").concat(tn,"\n\t\t").concat(on,"\n\t\t").concat(ln,"\n\t\t").concat(pn,"\n\t\t").concat(mn,"\n\t\t").concat(yn,"\n\t\t").concat(wn,"\n\t\t").concat(_n,"\n\t\t").concat(xn,"\n\t\t").concat(Tn,"\n\t\t").concat(On,"\n\t\t").concat(jn,"\n\t\t").concat(Ln,"\n\t\t").concat(zn,"\n\t\t").concat(Vn,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(g1,{attributes:t,setAttributes:a,desktopAllStyles:Wn,tabAllStyles:Gn,mobileAllStyles:Zn,blockName:n}))}const y1=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"60",fill:"none",viewBox:"0 0 60 60"},React.createElement("path",{fill:"#6C3BFF",d:"M54.375 4.688H5.625A5.631 5.631 0 000 10.313v39.374a5.631 5.631 0 005.625 5.626h48.75A5.631 5.631 0 0060 49.687V10.313a5.631 5.631 0 00-5.625-5.626zm-52.5 5.625a3.754 3.754 0 013.75-3.75h48.75a3.754 3.754 0 013.75 3.75v5.624H1.875v-5.624zm52.5 43.124H5.625a3.754 3.754 0 01-3.75-3.75V17.814h56.25v31.875a3.754 3.754 0 01-3.75 3.75z"}),React.createElement("path",{fill:"#6C3BFF",d:"M6.563 8.438a2.812 2.812 0 100 5.624 2.812 2.812 0 000-5.624zm0 3.75a.938.938 0 110-1.876.938.938 0 010 1.876zM13.125 8.438a2.812 2.812 0 100 5.624 2.812 2.812 0 000-5.624zm0 3.75a.937.937 0 110-1.875.937.937 0 010 1.874zM19.688 8.438a2.812 2.812 0 100 5.624 2.812 2.812 0 000-5.624zm0 3.75a.937.937 0 110-1.875.937.937 0 010 1.874zM54.375 10.313H37.5a.938.938 0 000 1.874h16.875a.938.938 0 000-1.874zM19.77 22.734H9.79a1 1 0 00-1 1v8.662a1 1 0 001 1h9.98a1 1 0 001-1v-8.662a1 1 0 00-1-1z"}),React.createElement("path",{fill:"#C5B1FF",d:"M15.936 28.065l-5.152 5.21-.122.121h8.611c1.498 0 1.498-.38 1.498-1.523l-4.835-3.808z",opacity:"0.75"}),React.createElement("path",{fill:"#C5B1FF",d:"M14.78 26.904a1.123 1.123 0 00-2.247 0v.038a1.123 1.123 0 102.247 0v-.038z"}),React.createElement("path",{fill:"#6C3BFF",d:"M19.94 34.919H9.62a.83.83 0 100 1.661h10.32a.83.83 0 100-1.661zM18.85 38.242H9.62a.83.83 0 100 1.662h9.23a.83.83 0 100-1.662zM35.02 22.734h-9.981a1 1 0 00-1 1v8.662a1 1 0 001 1h9.981a1 1 0 001-1v-8.662a1 1 0 00-1-1z"}),React.createElement("path",{fill:"#C5B1FF",d:"M31.185 28.065l-5.152 5.21-.122.121h8.611c1.498 0 1.498-.38 1.498-1.523l-4.835-3.808z",opacity:"0.75"}),React.createElement("path",{fill:"#C5B1FF",d:"M30.029 26.904a1.123 1.123 0 00-2.247 0v.038a1.123 1.123 0 102.247 0v-.038z"}),React.createElement("path",{fill:"#6C3BFF",d:"M35.189 34.919h-10.32a.83.83 0 100 1.661h10.32a.83.83 0 100-1.661zM34.1 38.242h-9.231a.83.83 0 100 1.662h9.23a.83.83 0 100-1.662zM50.269 22.734h-9.981a1 1 0 00-1 1v8.662a1 1 0 001 1h9.981a1 1 0 001-1v-8.662a1 1 0 00-1-1z"}),React.createElement("path",{fill:"#C5B1FF",d:"M46.435 28.065l-5.152 5.21-.123.121h8.612c1.498 0 1.498-.38 1.498-1.523l-4.835-3.808z",opacity:"0.75"}),React.createElement("path",{fill:"#C5B1FF",d:"M45.278 26.904a1.123 1.123 0 00-2.246 0v.038a1.123 1.123 0 102.246 0v-.038z"}),React.createElement("path",{fill:"#6C3BFF",d:"M50.439 34.919h-10.32a.83.83 0 100 1.661h10.32a.83.83 0 100-1.661zM49.35 38.242h-9.231a.83.83 0 100 1.662h9.23a.83.83 0 100-1.662zM18.88 43.105c-1.69 0-3.064 1.398-3.064 3.116 0 1.718 1.374 3.115 3.063 3.115 1.69 0 3.064-1.398 3.064-3.115 0-1.718-1.374-3.116-3.064-3.116zm0 4.5c-.751 0-1.362-.621-1.362-1.384 0-.764.61-1.385 1.361-1.385s1.362.621 1.362 1.385c0 .763-.61 1.384-1.362 1.384zM29.484 43.105c-1.689 0-3.063 1.398-3.063 3.116 0 1.718 1.374 3.115 3.063 3.115 1.69 0 3.064-1.398 3.064-3.115 0-1.718-1.374-3.116-3.064-3.116zm0 4.5c-.75 0-1.361-.621-1.361-1.384 0-.764.61-1.385 1.361-1.385.75 0 1.362.621 1.362 1.385 0 .763-.611 1.384-1.362 1.384zM40.09 43.105c-1.69 0-3.064 1.398-3.064 3.116 0 1.718 1.374 3.115 3.063 3.115 1.69 0 3.064-1.398 3.064-3.115 0-1.718-1.374-3.116-3.064-3.116zm0 4.5c-.752 0-1.362-.621-1.362-1.384 0-.764.61-1.385 1.361-1.385.75 0 1.362.621 1.362 1.385 0 .763-.611 1.384-1.362 1.384z"}))};var v1,h1,w1,k1,R1=[{title:"Classic Layout",templatePreview:!0,preview:"".concat(null===(v1=EssentialBlocksLocalize)||void 0===v1?void 0:v1.image_url,"/templates/post-carousel/preset-1.svg"),content:'\x3c!-- wp:essential-blocks/post-carousel {"blockId":"eb-post-carousel-15gwf","blockMeta":{"desktop":".eb-post-carousel-wrapper.eb-post-carousel-15gwf { display:block; position:relative; padding-top:0px; padding-right:0px; padding-left:0px; padding-bottom:50px; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-list { margin:calc(-25px/2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-slide .ebpg-carousel-post-holder { margin:calc(25px/2); height:calc(100% - 25px) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-post-carousel-column { transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.style-1 .ebpg-carousel-post-holder::after { border-radius:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-thumbnail { margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-thumbnail img { height:250px; border-radius:5px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-carousel-post-holder .ebpg-entry-thumbnail:after { background-color:rgba(0 0 0 / 0) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-carousel-post-holder .ebpg-entry-thumbnail:hover:after,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.style-4 .ebpg-carousel-post-holder:hover .ebpg-entry-thumbnail:after { background-color:rgba(0 0 0 / 0.5); border-radius:5px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.style-4 .ebpg-carousel-post-holder:hover .ebpg-entry-thumbnail:after { border-radius:inherit }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-title { text-align:left; font-size:18px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-title a { color:var(\\u002d\\u002deb-global-heading-color); font-size:18px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-title a:hover { color:var(\\u002d\\u002deb-global-link-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-carousel-post-excerpt p { color:var(\\u002d\\u002deb-global-text-color); text-align:left; font-size:14px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-readmore-btn { text-align:left }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-readmore-btn a { color:var(\\u002d\\u002deb-global-tertiary-color); font-size:13px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px; padding-top:0px; padding-right:0px; padding-left:0px; padding-bottom:0px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-readmore-btn a:hover { color:var(\\u002d\\u002deb-global-secondary-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-author-avatar img { border-radius:50px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-posted-on { color:var(\\u002d\\u002deb-global-tertiary-color); font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-posted-by { color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-posted-by a { color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-posted-by a:hover { color:var(\\u002d\\u002deb-global-primary-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-meta a { color:var(\\u002d\\u002deb-global-text-color); font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-meta a:not(:first-child)::before { background-color:#9e9e9e }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-meta a:hover { color:var(\\u002d\\u002deb-global-text-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-meta.ebpg-dynamic-values { color:#333333; font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-categories-meta a { color:var(\\u002d\\u002deb-global-button-text-color); font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-categories-meta a:not(:first-child)::before { background-color:var(\\u002d\\u002deb-global-secondary-text-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-categories-meta a:hover { color:var(\\u002d\\u002deb-global-button-text-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-tags-meta a { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-tertiary-color); font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-tags-meta a:not(:first-child)::before { background-color:var(\\u002d\\u002deb-global-secondary-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-tags-meta a:hover { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-secondary-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-header-meta { justify-content:left; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-header-meta .ebpg-entry-meta-items { justify-content:left }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-header-meta .ebpg-author-avatar,.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-header-meta .ebpg-entry-meta-items \\u003e * { margin-right:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-footer-meta { justify-content:left; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-footer-meta .ebpg-entry-meta-items { justify-content:left }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-footer-meta .ebpg-author-avatar,.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-footer-meta .ebpg-entry-meta-items \\u003e * { margin-right:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-prev { left:-25px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-next { right:-25px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-prev i,.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-next i { color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:20px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-prev:hover i,.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-next:hover i { color:var(\\u002d\\u002deb-global-primary-color) !important }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-slider-dots,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.slick-dotted.slick-slider { margin-bottom:calc(35px + 20px) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-dots { bottom:-35px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-dots li { margin-right:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-dots li button:before { color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:15px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-2 .slick-dots li button:before { background-color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:0; width:15px; height:15px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li button:before { background-color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:0; width:15px; height:15px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-dots li.slick-active button:before { color:var(\\u002d\\u002deb-global-primary-color) !important }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-2 .slick-dots li.slick-active button:before { background-color:var(\\u002d\\u002deb-global-primary-color) !important }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active button:before { background-color:var(\\u002d\\u002deb-global-primary-color) !important; width:calc(15px* 2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active { width:calc(15px* 2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-4 .slick-dots li button:before { background-color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:0; width:15px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-4 .slick-dots li.slick-active button:before { background-color:var(\\u002d\\u002deb-global-primary-color) !important; width:calc(15px) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-4 .slick-dots li.slick-active { width:calc(15px) }","tab":".eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-list { margin:calc(-undefinedpx/2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-slide .ebpg-carousel-post-holder { margin:calc(undefinedpx/2); height:calc(100% - undefinedpx) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-slider-dots,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.slick-dotted.slick-slider { margin-bottom:calc(NaNpx + 20px) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active button:before { width:calc(undefinedpx* 2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active { width:calc(undefinedpx* 2) }","mobile":".eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-list { margin:calc(-undefinedpx/2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-slide .ebpg-carousel-post-holder { margin:calc(undefinedpx/2); height:calc(100% - undefinedpx) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-slider-dots,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.slick-dotted.slick-slider { margin-bottom:calc(NaNpx + 20px) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active button:before { width:calc(undefinedpx* 2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active { width:calc(undefinedpx* 2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-1 .slick-dots li button:before,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-2 .slick-dots li button:before,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-3 .slick-dots li button:before { background-color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:0 }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-1 .slick-dots li.slick-active button:before,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-2 .slick-dots li.slick-active button:before,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-3 .slick-dots li.slick-active button:before { background-color:var(\\u002d\\u002deb-global-primary-color) !important }"},"queryData":{"source":"post","sourceIndex":0,"rest_base":"posts","rest_namespace":"wp/v2","author":"","taxonomies":{},"per_page":"6","offset":"0","orderby":"date","order":"desc","include":"","exclude":"","exclude_current":false},"postTerms":{"category":{"label":"Categories","value":"category"},"post_tag":{"label":"Tags","value":"post_tag"}},"commonStyles":{"desktop":".wp-admin .eb-parent-eb-post-carousel-15gwf { display:block; opacity:1 }.eb-parent-eb-post-carousel-15gwf { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-post-carousel-15gwf { display:block; opacity:1 }.eb-parent-eb-post-carousel-15gwf { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-post-carousel-15gwf { display:block; opacity:1 }.eb-parent-eb-post-carousel-15gwf { display:block }"}} /--\x3e'},{title:"Modern Layout",templatePreview:!0,preview:"".concat(null===(h1=EssentialBlocksLocalize)||void 0===h1?void 0:h1.image_url,"/templates/post-carousel/preset-2.svg"),content:'\x3c!-- wp:essential-blocks/post-carousel {"blockId":"eb-post-carousel-15gwf","blockMeta":{"desktop":".eb-post-carousel-wrapper.eb-post-carousel-15gwf { display:block; position:relative; padding-top:0px; padding-right:0px; padding-left:0px; padding-bottom:50px; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-list { margin:calc(-25px/2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-slide .ebpg-carousel-post-holder { margin:calc(25px/2); height:calc(100% - 25px) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-post-carousel-column { transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }// .eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-post-carousel-column:hover { // \\t// \\tbox-shadow:rgba(197,197,197,1) 0px 0px 0px 0px   }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-carousel-post-holder { border-radius:9px; box-shadow:rgba(197,197,197,1) 0px 0px 0px 0px  }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-wrapper { padding:20px; border-bottom-right-radius:inherit; border-bottom-left-radius:inherit }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-thumbnail { margin-top:0px; margin-right:0px; margin-left:0px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-thumbnail img { height:200px; border-top-left-radius:9px; border-top-right-radius:9px; border-bottom-left-radius:0px; border-bottom-right-radius:0px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-carousel-post-holder .ebpg-entry-thumbnail:after { background-color:rgba(0 0 0 / 0) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-carousel-post-holder .ebpg-entry-thumbnail:hover:after,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.style-4 .ebpg-carousel-post-holder:hover .ebpg-entry-thumbnail:after { background-color:rgba(0 0 0 / 0.5); border-top-left-radius:9px; border-top-right-radius:9px; border-bottom-left-radius:0px; border-bottom-right-radius:0px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.style-4 .ebpg-carousel-post-holder:hover .ebpg-entry-thumbnail:after { border-radius:inherit }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-title { text-align:left; font-size:18px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-title a { color:#333333; font-size:18px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-title a:hover { color:var(\\u002d\\u002deb-global-link-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-carousel-post-excerpt p { color:#333333; text-align:left; font-size:14px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-readmore-btn { text-align:left }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-readmore-btn a { color:var(\\u002d\\u002deb-global-tertiary-color); font-size:13px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px; padding-top:0px; padding-right:0px; padding-left:0px; padding-bottom:0px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-readmore-btn a:hover { color:var(\\u002d\\u002deb-global-secondary-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-author-avatar img { border-radius:50px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-posted-on { color:#d18df1; font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-posted-by { color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-posted-by a { color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-posted-by a:hover { color:var(\\u002d\\u002deb-global-primary-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-meta a { color:var(\\u002d\\u002deb-global-text-color); font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-meta a:not(:first-child)::before { background-color:#9e9e9e }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-meta a:hover { color:var(\\u002d\\u002deb-global-text-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-meta.ebpg-dynamic-values { color:#333333; font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-categories-meta a { color:var(\\u002d\\u002deb-global-button-text-color); font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-categories-meta a:not(:first-child)::before { background-color:var(\\u002d\\u002deb-global-secondary-text-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-categories-meta a:hover { color:var(\\u002d\\u002deb-global-button-text-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-tags-meta a { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-tertiary-color); font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-tags-meta a:not(:first-child)::before { background-color:var(\\u002d\\u002deb-global-secondary-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-tags-meta a:hover { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-secondary-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-header-meta { justify-content:left; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-header-meta .ebpg-entry-meta-items { justify-content:left }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-header-meta .ebpg-author-avatar,.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-header-meta .ebpg-entry-meta-items \\u003e * { margin-right:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-footer-meta { justify-content:left; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:0px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-footer-meta .ebpg-entry-meta-items { justify-content:left }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-footer-meta .ebpg-author-avatar,.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-footer-meta .ebpg-entry-meta-items \\u003e * { margin-right:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-prev { left:-25px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-next { right:-25px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-prev i,.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-next i { color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:20px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-prev:hover i,.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-next:hover i { color:var(\\u002d\\u002deb-global-primary-color) !important }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-slider-dots,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.slick-dotted.slick-slider { margin-bottom:calc(35px + 20px) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-dots { bottom:-35px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-dots li { margin-right:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-dots li button:before { color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:15px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-2 .slick-dots li button:before { background-color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:0; width:15px; height:15px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li button:before { background-color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:0; width:15px; height:15px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-dots li.slick-active button:before { color:var(\\u002d\\u002deb-global-primary-color) !important }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-2 .slick-dots li.slick-active button:before { background-color:var(\\u002d\\u002deb-global-primary-color) !important }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active button:before { background-color:var(\\u002d\\u002deb-global-primary-color) !important; width:calc(15px* 2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active { width:calc(15px* 2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-4 .slick-dots li button:before { background-color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:0; width:15px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-4 .slick-dots li.slick-active button:before { background-color:var(\\u002d\\u002deb-global-primary-color) !important; width:calc(15px) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-4 .slick-dots li.slick-active { width:calc(15px) }","tab":".eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-list { margin:calc(-undefinedpx/2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-slide .ebpg-carousel-post-holder { margin:calc(undefinedpx/2); height:calc(100% - undefinedpx) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-carousel-post-holder { border-radius:9px; box-shadow:rgba(197,197,197,1) 0px 0px 0px 0px  }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-wrapper { border-bottom-right-radius:inherit; border-bottom-left-radius:inherit }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-slider-dots,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.slick-dotted.slick-slider { margin-bottom:calc(NaNpx + 20px) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active button:before { width:calc(undefinedpx* 2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active { width:calc(undefinedpx* 2) }","mobile":".eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-list { margin:calc(-undefinedpx/2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-slide .ebpg-carousel-post-holder { margin:calc(undefinedpx/2); height:calc(100% - undefinedpx) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-slider-dots,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.slick-dotted.slick-slider { margin-bottom:calc(NaNpx + 20px) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active button:before { width:calc(undefinedpx* 2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active { width:calc(undefinedpx* 2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-1 .slick-dots li button:before,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-2 .slick-dots li button:before,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-3 .slick-dots li button:before { background-color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:0 }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-1 .slick-dots li.slick-active button:before,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-2 .slick-dots li.slick-active button:before,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-3 .slick-dots li.slick-active button:before { background-color:var(\\u002d\\u002deb-global-primary-color) !important }"},"queryData":{"source":"post","sourceIndex":0,"rest_base":"posts","rest_namespace":"wp/v2","author":"","taxonomies":{},"per_page":"6","offset":"0","orderby":"date","order":"desc","include":"","exclude":"","exclude_current":false},"postTerms":{"category":{"label":"Categories","value":"category"},"post_tag":{"label":"Tags","value":"post_tag"}},"preset":"style-2","titleColor":"#333333","contentColor":"#333333","headerMeta":"[{\\u0022value\\u0022:\\u0022date\\u0022,\\u0022label\\u0022:\\u0022Published Date\\u0022}]","footerMeta":"[{\\u0022value\\u0022:\\u0022avatar\\u0022,\\u0022label\\u0022:\\u0022Author Avatar\\u0022},{\\u0022value\\u0022:\\u0022author\\u0022,\\u0022label\\u0022:\\u0022Author Name\\u0022}]","dateMetaColor":"#d18df1","dotPreset":"dot-style-1","columnPaddingTop":"20","columnPaddingRight":"20","columnPaddingBottom":"20","columnPaddingLeft":"20","footerMetaMarginBottom":"0","thumbnailMarginBottom":0,"thumbnailBDRisLinked":false,"thumbnailBDRTop":"9","thumbnailBDRRight":"9","thumbnailBDRBottom":"0","thumbnailBDRLeft":"0","columnBorderShadowborderColor":"#000000","columnBorderShadowRds_Top":"9","columnBorderShadowRds_Right":"9","columnBorderShadowRds_Bottom":"9","columnBorderShadowRds_Left":"9","thumbnailImageSizeRange":200,"commonStyles":{"desktop":".wp-admin .eb-parent-eb-post-carousel-15gwf { display:block; opacity:1 }.eb-parent-eb-post-carousel-15gwf { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-post-carousel-15gwf { display:block; opacity:1 }.eb-parent-eb-post-carousel-15gwf { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-post-carousel-15gwf { display:block; opacity:1 }.eb-parent-eb-post-carousel-15gwf { display:block }"}} /--\x3e'},{title:"Vintage Layout",templatePreview:!0,preview:"".concat(null===(w1=EssentialBlocksLocalize)||void 0===w1?void 0:w1.image_url,"/templates/post-carousel/preset-3.svg"),content:'\x3c!-- wp:essential-blocks/post-carousel {"blockId":"eb-post-carousel-15gwf","blockMeta":{"desktop":".eb-post-carousel-wrapper.eb-post-carousel-15gwf { display:block; position:relative; padding-top:0px; padding-right:0px; padding-left:0px; padding-bottom:50px; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-list { margin:calc(-25px/2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-slide .ebpg-carousel-post-holder { margin:calc(25px/2); height:calc(100% - 25px) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-post-carousel-column { transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }// .eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-post-carousel-column:hover { // \\t// \\tbox-shadow:rgba(197,197,197,1) 0px 0px 0px 0px   }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-carousel-post-holder { border-radius:0px; box-shadow:rgba(197,197,197,1) 0px 0px 0px 0px  }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-wrapper { padding:0px; border-bottom-right-radius:inherit; border-top-right-radius:inherit }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.style-3 .ebpg-carousel-post-holder { align-items:flex-start }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.style-3 .ebpg-carousel-post-holder .ebpg-entry-media { width:40% }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.style-3 .ebpg-carousel-post-holder .ebpg-entry-wrapper { width:60% }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-thumbnail { margin-top:0px; margin-right:0px; margin-left:0px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-thumbnail img { height:165px; border-radius:5px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-carousel-post-holder .ebpg-entry-thumbnail:after { background-color:rgba(0 0 0 / 0) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-carousel-post-holder .ebpg-entry-thumbnail:hover:after,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.style-4 .ebpg-carousel-post-holder:hover .ebpg-entry-thumbnail:after { background-color:rgba(0 0 0 / 0.5); border-radius:5px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.style-4 .ebpg-carousel-post-holder:hover .ebpg-entry-thumbnail:after { border-radius:inherit }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-title { text-align:left; font-size:18px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-title a { color:#333333; font-size:18px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-title a:hover { color:var(\\u002d\\u002deb-global-link-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-carousel-post-excerpt p { color:#333333; text-align:left; font-size:14px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-readmore-btn { text-align:left }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-readmore-btn a { color:var(\\u002d\\u002deb-global-tertiary-color); font-size:13px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px; padding-top:0px; padding-right:0px; padding-left:0px; padding-bottom:0px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-readmore-btn a:hover { color:var(\\u002d\\u002deb-global-secondary-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-author-avatar img { border-radius:50px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-posted-on { color:#d18df1; font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-posted-by { color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-posted-by a { color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-posted-by a:hover { color:var(\\u002d\\u002deb-global-primary-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-meta a { color:var(\\u002d\\u002deb-global-text-color); font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-meta a:not(:first-child)::before { background-color:#9e9e9e }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-meta a:hover { color:var(\\u002d\\u002deb-global-text-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-meta.ebpg-dynamic-values { color:#333333; font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-categories-meta a { color:var(\\u002d\\u002deb-global-button-text-color); font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-categories-meta a:not(:first-child)::before { background-color:var(\\u002d\\u002deb-global-secondary-text-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-categories-meta a:hover { color:var(\\u002d\\u002deb-global-button-text-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-tags-meta a { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-tertiary-color); font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-tags-meta a:not(:first-child)::before { background-color:var(\\u002d\\u002deb-global-secondary-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-tags-meta a:hover { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-secondary-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-header-meta { justify-content:left; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-header-meta .ebpg-entry-meta-items { justify-content:left }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-header-meta .ebpg-author-avatar,.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-header-meta .ebpg-entry-meta-items \\u003e * { margin-right:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-footer-meta { justify-content:left; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:0px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-footer-meta .ebpg-entry-meta-items { justify-content:left }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-footer-meta .ebpg-author-avatar,.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-footer-meta .ebpg-entry-meta-items \\u003e * { margin-right:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-prev { left:-25px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-next { right:-25px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-prev i,.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-next i { color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:20px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-prev:hover i,.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-next:hover i { color:var(\\u002d\\u002deb-global-primary-color) !important }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-slider-dots,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.slick-dotted.slick-slider { margin-bottom:calc(35px + 20px) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-dots { bottom:-35px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-dots li { margin-right:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-dots li button:before { color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:15px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-2 .slick-dots li button:before { background-color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:0; width:15px; height:15px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li button:before { background-color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:0; width:15px; height:15px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-dots li.slick-active button:before { color:var(\\u002d\\u002deb-global-primary-color) !important }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-2 .slick-dots li.slick-active button:before { background-color:var(\\u002d\\u002deb-global-primary-color) !important }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active button:before { background-color:var(\\u002d\\u002deb-global-primary-color) !important; width:calc(15px* 2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active { width:calc(15px* 2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-4 .slick-dots li button:before { background-color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:0; width:15px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-4 .slick-dots li.slick-active button:before { background-color:var(\\u002d\\u002deb-global-primary-color) !important; width:calc(15px) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-4 .slick-dots li.slick-active { width:calc(15px) }","tab":".eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-list { margin:calc(-undefinedpx/2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-slide .ebpg-carousel-post-holder { margin:calc(undefinedpx/2); height:calc(100% - undefinedpx) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-carousel-post-holder { border-radius:0px; box-shadow:rgba(197,197,197,1) 0px 0px 0px 0px  }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-slider-dots,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.slick-dotted.slick-slider { margin-bottom:calc(NaNpx + 20px) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active button:before { width:calc(undefinedpx* 2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active { width:calc(undefinedpx* 2) }","mobile":".eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-list { margin:calc(-undefinedpx/2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-slide .ebpg-carousel-post-holder { margin:calc(undefinedpx/2); height:calc(100% - undefinedpx) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-carousel-post-holder { border-radius:0px; box-shadow:rgba(197,197,197,1) 0px 0px 0px 0px  }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-slider-dots,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.slick-dotted.slick-slider { margin-bottom:calc(NaNpx + 20px) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active button:before { width:calc(undefinedpx* 2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active { width:calc(undefinedpx* 2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-1 .slick-dots li button:before,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-2 .slick-dots li button:before,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-3 .slick-dots li button:before { background-color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:0 }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-1 .slick-dots li.slick-active button:before,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-2 .slick-dots li.slick-active button:before,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-3 .slick-dots li.slick-active button:before { background-color:var(\\u002d\\u002deb-global-primary-color) !important }"},"queryData":{"source":"post","sourceIndex":0,"rest_base":"posts","rest_namespace":"wp/v2","author":"","taxonomies":{},"per_page":"6","offset":"0","orderby":"date","order":"desc","include":"","exclude":"","exclude_current":false},"postTerms":{"category":{"label":"Categories","value":"category"},"post_tag":{"label":"Tags","value":"post_tag"}},"preset":"style-3","titleColor":"#333333","contentColor":"#333333","headerMeta":"[{\\u0022value\\u0022:\\u0022date\\u0022,\\u0022label\\u0022:\\u0022Published Date\\u0022}]","footerMeta":"[]","dateMetaColor":"#d18df1","dotPreset":"dot-style-1","columnPaddingTop":"0","columnPaddingRight":"0","columnPaddingBottom":"0","columnPaddingLeft":"0","footerMetaMarginBottom":"0","thumbnailMarginBottom":0,"columnBorderShadowborderColor":"#000000","columnBorderShadowRds_Top":"0","columnBorderShadowRds_Right":"0","columnBorderShadowRds_Bottom":"0","columnBorderShadowRds_Left":"0","thumbnailImageSizeRange":165,"slideToShowRange":1,"commonStyles":{"desktop":".wp-admin .eb-parent-eb-post-carousel-15gwf { display:block; opacity:1 }.eb-parent-eb-post-carousel-15gwf { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-post-carousel-15gwf { display:block; opacity:1 }.eb-parent-eb-post-carousel-15gwf { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-post-carousel-15gwf { display:block; opacity:1 }.eb-parent-eb-post-carousel-15gwf { display:block }"}} /--\x3e'},{title:"Minimal Layout",templatePreview:!0,preview:"".concat(null===(k1=EssentialBlocksLocalize)||void 0===k1?void 0:k1.image_url,"/templates/post-carousel/preset-4.svg"),content:'\x3c!-- wp:essential-blocks/post-carousel {"blockId":"eb-post-carousel-15gwf","blockMeta":{"desktop":".eb-post-carousel-wrapper.eb-post-carousel-15gwf { display:block; position:relative; padding-top:0px; padding-right:0px; padding-left:0px; padding-bottom:50px; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-list { margin:calc(-25px/2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-slide .ebpg-carousel-post-holder { margin:calc(25px/2); height:calc(100% - 25px) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-post-carousel-column { transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }// .eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-post-carousel-column:hover { // \\t// \\tbox-shadow:rgba(197,197,197,1) 0px 0px 0px 0px   }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.style-4 .ebpg-carousel-post-holder .ebpg-entry-wrapper { justify-content:flex-end; padding:30px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-thumbnail { border-radius:15px; box-shadow:rgba(197,197,197,1) 0px 0px 0px 0px  }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.style-4 .ebpg-entry-thumbnail img, .eb-post-carousel-wrapper.eb-post-carousel-15gwf.style-4 .ebpg-entry-thumbnail:after { border-radius:15px; box-shadow:rgba(197,197,197,1) 0px 0px 0px 0px ; border-width:0px !important }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-thumbnail { margin-top:0px; margin-right:0px; margin-left:0px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-thumbnail img { height:350px; border-radius:0px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-carousel-post-holder .ebpg-entry-thumbnail:after { background-color:rgba(0 0 0 / 0.45) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-carousel-post-holder .ebpg-entry-thumbnail:hover:after,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.style-4 .ebpg-carousel-post-holder:hover .ebpg-entry-thumbnail:after { background-color:rgba(0 0 0 / 0.65); border-radius:0px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.style-4 .ebpg-carousel-post-holder:hover .ebpg-entry-thumbnail:after { border-radius:inherit }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-title { text-align:left; font-size:18px; margin-top:0px; margin-left:0px; margin-bottom:15px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-title a { color:#ffffff; font-size:18px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-title a:hover { color:var(\\u002d\\u002deb-global-link-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-carousel-post-excerpt p { color:#ffffff; text-align:left; font-size:14px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-readmore-btn { text-align:left }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-readmore-btn a { color:var(\\u002d\\u002deb-global-tertiary-color); font-size:13px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px; padding-top:0px; padding-right:0px; padding-left:0px; padding-bottom:0px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-readmore-btn a:hover { color:var(\\u002d\\u002deb-global-secondary-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-author-avatar img { border-radius:50px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-posted-on { color:#FAFAFA; font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-posted-by { color:#d18df1; font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-posted-by a { color:#d18df1; font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-posted-by a:hover { color:var(\\u002d\\u002deb-global-primary-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-meta a { color:var(\\u002d\\u002deb-global-text-color); font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-meta a:not(:first-child)::before { background-color:#9e9e9e }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-meta a:hover { color:var(\\u002d\\u002deb-global-text-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-meta.ebpg-dynamic-values { color:#333333; font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-categories-meta a { color:var(\\u002d\\u002deb-global-button-text-color); font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-categories-meta a:not(:first-child)::before { background-color:var(\\u002d\\u002deb-global-secondary-text-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-categories-meta a:hover { color:var(\\u002d\\u002deb-global-button-text-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-tags-meta a { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-tertiary-color); font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-tags-meta a:not(:first-child)::before { background-color:var(\\u002d\\u002deb-global-secondary-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-tags-meta a:hover { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-secondary-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-header-meta { justify-content:left; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:15px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-header-meta .ebpg-entry-meta-items { justify-content:left }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-header-meta .ebpg-author-avatar,.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-header-meta .ebpg-entry-meta-items \\u003e * { margin-right:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-footer-meta { justify-content:left; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:0px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-footer-meta .ebpg-entry-meta-items { justify-content:left }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-footer-meta .ebpg-author-avatar,.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-footer-meta .ebpg-entry-meta-items \\u003e * { margin-right:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-prev { left:-25px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-next { right:-25px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-prev i,.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-next i { color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:20px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-prev:hover i,.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-next:hover i { color:var(\\u002d\\u002deb-global-primary-color) !important }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-slider-dots,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.slick-dotted.slick-slider { margin-bottom:calc(35px + 20px) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-dots { bottom:-35px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-dots li { margin-right:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-dots li button:before { color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:15px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-2 .slick-dots li button:before { background-color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:0; width:15px; height:15px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li button:before { background-color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:0; width:15px; height:15px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-dots li.slick-active button:before { color:var(\\u002d\\u002deb-global-primary-color) !important }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-2 .slick-dots li.slick-active button:before { background-color:var(\\u002d\\u002deb-global-primary-color) !important }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active button:before { background-color:var(\\u002d\\u002deb-global-primary-color) !important; width:calc(15px* 2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active { width:calc(15px* 2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-4 .slick-dots li button:before { background-color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:0; width:15px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-4 .slick-dots li.slick-active button:before { background-color:var(\\u002d\\u002deb-global-primary-color) !important; width:calc(15px) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-4 .slick-dots li.slick-active { width:calc(15px) }","tab":".eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-list { margin:calc(-undefinedpx/2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-slide .ebpg-carousel-post-holder { margin:calc(undefinedpx/2); height:calc(100% - undefinedpx) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-slider-dots,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.slick-dotted.slick-slider { margin-bottom:calc(NaNpx + 20px) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active button:before { width:calc(undefinedpx* 2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active { width:calc(undefinedpx* 2) }","mobile":".eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-list { margin:calc(-undefinedpx/2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-slide .ebpg-carousel-post-holder { margin:calc(undefinedpx/2); height:calc(100% - undefinedpx) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-slider-dots,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.slick-dotted.slick-slider { margin-bottom:calc(NaNpx + 20px) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active button:before { width:calc(undefinedpx* 2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active { width:calc(undefinedpx* 2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-1 .slick-dots li button:before,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-2 .slick-dots li button:before,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-3 .slick-dots li button:before { background-color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:0 }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-1 .slick-dots li.slick-active button:before,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-2 .slick-dots li.slick-active button:before,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-3 .slick-dots li.slick-active button:before { background-color:var(\\u002d\\u002deb-global-primary-color) !important }"},"queryData":{"source":"post","sourceIndex":0,"rest_base":"posts","rest_namespace":"wp/v2","author":"","taxonomies":{},"per_page":"6","offset":"0","orderby":"date","order":"desc","include":"","exclude":"","exclude_current":false},"postTerms":{"category":{"label":"Categories","value":"category"},"post_tag":{"label":"Tags","value":"post_tag"}},"preset":"style-4","thumbnailOverlayColor":"rgba(0 0 0 / 0.45)","thumbnailOverlayHoverColor":"rgba(0 0 0 / 0.65)","styleVerticalAlignment":"flex-end","titleColor":"#ffffff","showContent":false,"contentColor":"#ffffff","headerMeta":"[{\\u0022value\\u0022:\\u0022avatar\\u0022,\\u0022label\\u0022:\\u0022Author Avatar\\u0022}]","footerMeta":"[{\\u0022value\\u0022:\\u0022date\\u0022,\\u0022label\\u0022:\\u0022Published Date\\u0022}]","authorMetaColor":"#d18df1","dateMetaColor":"#FAFAFA","arrows":false,"leftArrowIcon":"fas fa-caret-left","rightArrowIcon":"fas fa-caret-right","dotPreset":"dot-style-4","columnPaddingTop":"30","columnPaddingRight":"30","columnPaddingBottom":"30","columnPaddingLeft":"30","titleMarginRight":"","titleMarginBottom":"15","headerMetaMarginBottom":"15","footerMetaMarginBottom":"0","thumbnailMarginBottom":0,"thumbnailBDRTop":"0","thumbnailBDRRight":"0","thumbnailBDRBottom":"0","thumbnailBDRLeft":"0","columnBorderShadowborderColor":"#000000","columnBorderShadowRds_Top":"15","columnBorderShadowRds_Right":"15","columnBorderShadowRds_Bottom":"15","columnBorderShadowRds_Left":"15","thumbnailImageSizeRange":350,"commonStyles":{"desktop":".wp-admin .eb-parent-eb-post-carousel-15gwf { display:block; opacity:1 }.eb-parent-eb-post-carousel-15gwf { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-post-carousel-15gwf { display:block; opacity:1 }.eb-parent-eb-post-carousel-15gwf { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-post-carousel-15gwf { display:block; opacity:1 }.eb-parent-eb-post-carousel-15gwf { display:block }"}} /--\x3e'}];function _1(){return _1=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},_1.apply(null,arguments)}function E1(e){return E1="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},E1(e)}function C1(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,r,c,l=[],i=!0,s=!1;try{if(r=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;i=!1}else for(;!(i=(n=r.call(a)).done)&&(l.push(n.value),l.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{if(!i&&null!=a.return&&(c=a.return(),Object(c)!==c))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return x1(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?x1(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function x1(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}function S1(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function B1(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?S1(Object(a),!0).forEach((function(t){T1(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):S1(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function T1(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=E1(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=E1(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==E1(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var N1=window.EBControls,P1=(N1.duplicateBlockIdFix,N1.ebJsonStringCheck),O1=N1.CustomQuery,M1=N1.DynamicInputValueHandler,D1=N1.BrowseTemplate,j1=N1.BlockProps,I1=function(e){var t=e.className,a=e.style,n=e.onClick,o=e.faClass;return React.createElement("div",{className:t,style:B1({},a),onClick:n},React.createElement("i",{className:o}))};const A1=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Post Carousel","name":"essential-blocks/post-carousel","description":"Showcase your posts & blogs in a stylish way on your website and make it more engaging","category":"essential-blocks","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');var L1;(0,EBControls.ebConditionalRegisterBlockType)(A1,{keywords:[(0,Y.__)("posts","essential-blocks"),(0,Y.__)("post carousel","essential-blocks"),(0,Y.__)("posts block","essential-blocks"),(0,Y.__)("carousel","essential-blocks"),(0,Y.__)("slider","essential-blocks"),(0,Y.__)("post slider","essential-blocks")],icon:y1,attributes:G0,edit:function(e){var t,a=e.attributes,n=e.setAttributes,o=(e.className,e.clientId,e.isSelected),r=(e.name,a.blockId),c=(a.blockMeta,a.resOption,a.preset),l=(a.queryData,a.showThumbnail),i=a.showTitle,s=a.titleLength,b=(a.titleTextAlign,a.titleTag),p=a.showContent,u=a.contentLength,d=a.expansionIndicator,m=a.showReadMore,g=a.readmoreText,f=a.showMeta,y=a.headerMeta,v=a.footerMeta,h=a.authorPrefix,w=a.datePrefix,k=a.classHook,R=a.arrows,_=a.adaptiveHeight,E=a.autoplay,C=a.autoplaySpeed,x=a.dots,S=a.infinite,B=a.pauseOnHover,T=a.speed,N=a.slideToShowRange,P=a.TABslideToShowRange,O=a.MOBslideToShowRange,M=a.dotPreset,D=a.leftArrowIcon,j=a.rightArrowIcon,I=a.cover,A=a.showBlockContent,L=C1((0,J.useState)(!1),2),F=L[0],H=L[1],z=C1((0,J.useState)(!1),2),q=z[0],U=z[1],V=(0,wH.getSettings)().formats.date,W=B1(B1({},e),{},{blockPrefix:"eb-post-carousel",style:React.createElement(f1,e)});(0,J.useEffect)((function(){setTimeout((function(){U(!0)}),1500)}),[]);var G=P||2,Z=O||1,Q=function(e,t){return"object"===E1(t)&&Object.keys(t).length<e?Object.keys(t).length:e},X={arrows:R,autoplay:E,autoplaySpeed:C,dots:x,infinite:S,pauseOnHover:B,slidesToShow:Q(N,F),speed:T,prevArrow:React.createElement(I1,{faClass:D}),nextArrow:React.createElement(I1,{faClass:j}),responsive:[{breakpoint:1024,settings:{slidesToShow:Q(G,F)}},{breakpoint:767,settings:{slidesToShow:Q(Z,F)}}]},$=(0,J.createRef)();return I.length?React.createElement("div",null,React.createElement("img",{src:I,alt:"post carousel",style:{maxWidth:"100%"}})):React.createElement(React.Fragment,null,o&&A&&React.createElement(l1,_1({},e,{slider:$,setQueryResults:H})),A&&!1===q&&React.createElement(React.Fragment,null,!1===F&&React.createElement("div",{className:"eb-loading"},React.createElement("img",{src:"".concat(null===(t=EssentialBlocksLocalize)||void 0===t?void 0:t.image_url,"/ajax-loader.gif"),alt:"Loading..."})),React.createElement(O1,{isEdit:!0,attributes:a,setAttributes:n,setQueryResults:H})),React.createElement(j1.Edit,W,React.createElement(D1,_1({},e,{Icon:y1,title:"Post Carousel",description:"Choose a template for the Post Carousel or start blank.",patterns:R1})),A&&React.createElement(React.Fragment,null,!1!==F&&React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(r," ").concat(k)},React.createElement("div",{className:"eb-post-carousel-wrapper ".concat(r," ").concat(M," ").concat(c," ").concat(x?"eb-slider-dots":""," ").concat(_?"equal-height":""),"data-id":r},React.createElement(JS.A,_1({},X,{ref:$}),"object"===E1(F)&&F.length>0&&F.map((function(e,t){var a,o,r,k,R,_=e.featuredImageInfo,E=void 0===_?{}:_,C=(E.url,E.alt,null==e||null===(a=e.title)||void 0===a?void 0:a.rendered),x=s>=0?C.trim().split(" ",s).join(" "):C,S=(0,Hj.safeHTML)("\n\t\t\t\t\t\t<".concat(b,' class="ebpg-entry-title">\n\t\t\t\t\t\t\t<a class="ebpg-carousel-post-link" href="#" title="').concat(x,'">\n\t\t\t\t\t\t\t\t').concat(x,"\n\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t</").concat(b,">\n\t\t\t\t\t")),B=null!=e&&e.excerpt?null==e||null===(o=e.excerpt)||void 0===o?void 0:o.rendered:null==e||null===(r=e.content)||void 0===r?void 0:r.rendered,T=document.createElement("div");T.innerHTML=B||"",B=T.textContent||T.innerText||"";var N=u>=0?B.trim().split(" ",u).join(" "):B,P=e._embedded&&e._embedded.author?React.createElement("div",{className:"ebpg-author-avatar"},React.createElement("a",{href:e._embedded.author[0].link},React.createElement("img",{alt:e._embedded.author[0].name?e._embedded.author[0].name:e._embedded.author[0].slug,src:function(e){return e.avatar_urls&&e.avatar_urls[96]?e.avatar_urls[96]:"http://1.gravatar.com/avatar/467ceabf70aaa0e555b7dd11c9729241?s=96&d=mm&r=g"}(e._embedded.author[0])}))):"",O=React.createElement("span",{className:"ebpg-posted-on"},React.createElement(M1,{value:w,tagName:"span",onChange:function(e){return n({datePrefix:e})},readOnly:!0})," ",React.createElement("time",{dateTime:(0,wH.format)("c",e.date_gmt)},(0,wH.dateI18n)(V,e.date_gmt))),M=e._embedded&&e._embedded.author?React.createElement("span",{className:"ebpg-posted-by"},React.createElement(M1,{value:h,tagName:"span",onChange:function(e){return n({frontTitle:e})},readOnly:!0})," ",React.createElement("a",{href:"#",title:e._embedded.author[0].name?e._embedded.author[0].name:e._embedded.author[0].slug,rel:"author"},e._embedded.author[0].name?e._embedded.author[0].name:e._embedded.author[0].slug)):"",D={};e._embedded&&e._embedded["wp:term"]&&e._embedded["wp:term"].length>0&&e._embedded["wp:term"].map((function(e){var t={},a="";e.length>0&&e.map((function(e){a=e.taxonomy,t[e.slug]={name:e.name,id:e.id,link:e.link,slug:e.slug}})),D[a]=t}));var j={};Object.keys(D).length>0&&Object.keys(D).map((function(e){var t=e;"category"===e?t="categories":"post_tag"===e&&(t="tags");var a='<div className="ebpg-meta ebpg-'.concat(t,'-meta">');Object.keys(D[e]).length>0&&Object.keys(D[e]).map((function(t,n){a+="\n\t\t\t\t\t\t\t\t\t\t\t\t\t<a\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tkey=".concat(n,"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\thref=").concat(D[e][t].link,"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\ttitle=").concat(D[e][t].name,"\n\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t").concat(D[e][t].name,"\n\t\t\t\t\t\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t\t\t\t\t\t")})),a+="</div>",j[e]=a}));var I=D.category?React.createElement("div",{className:"ebpg-meta ebpg-categories-meta"},Object.keys(D.category).map((function(e,t){return React.createElement("a",{key:t,href:D.category[e].link,title:D.category[e].name},D.category[e].name)}))):"",A={date:O,author:M,categories:I,tags:D.post_tag?React.createElement("div",{className:"ebpg-meta ebpg-tags-meta"},Object.keys(D.post_tag).map((function(e){return React.createElement("a",{href:D.post_tag[e].link,title:D.post_tag[e].name},D.post_tag[e].name)}))):""},L=P1(y)?JSON.parse(y).map((function(e){return e.value})):[],F=f?React.createElement("div",{className:"ebpg-entry-meta ebpg-header-meta"},L.includes("avatar")&&P,React.createElement("div",{className:"ebpg-entry-meta-items"},L.map((function(e){return A.hasOwnProperty(e)?A[e]:j.hasOwnProperty(e)?(0,kH.Ay)(j[e]):"avatar"!==e?(0,Qo.applyFilters)("essential_blocks_post_carousel_dynamic_fields_markup","",e):void 0})))):"",H=P1(v)?JSON.parse(v).map((function(e){return e.value})):[],z=f?React.createElement("div",{className:"ebpg-entry-meta ebpg-footer-meta"},H.includes("avatar")&&P,React.createElement("div",{className:"ebpg-entry-meta-items"},H.map((function(e){return A.hasOwnProperty(e)?A[e]:j.hasOwnProperty(e)?(0,kH.Ay)(j[e]):"avatar"!==e?(0,Qo.applyFilters)("essential_blocks_post_carousel_dynamic_fields_markup","",e):void 0})))):"";return React.createElement("article",{className:"ebpg-carousel-post ebpg-post-carousel-column","data-id":e.id},React.createElement("div",{className:"ebpg-carousel-post-holder"},"style-4"===c&&React.createElement("a",{className:"ebpg-post-link-wrapper",href:"#"}),React.createElement("div",{className:"ebpg-entry-media"},l&&React.createElement("div",{className:"ebpg-entry-thumbnail"},"style-4"!==c&&React.createElement("a",{className:"ebpg-post-link-wrapper",href:"#"}),e._embedded&&e._embedded["wp:featuredmedia"]&&e._embedded["wp:featuredmedia"].length>0&&React.createElement("img",{src:e._embedded["wp:featuredmedia"][0].source_url,alt:null==e||null===(k=e.title)||void 0===k?void 0:k.alt_text}),e._embedded&&!e._embedded["wp:featuredmedia"]&&React.createElement("img",{src:null===(R=EssentialBlocksLocalize)||void 0===R?void 0:R.placeholder_image,alt:"No Thumbnail Available"}))),React.createElement("div",{className:"ebpg-entry-wrapper"},f&&F,i&&React.createElement("header",{className:"ebpg-entry-header",dangerouslySetInnerHTML:{__html:S}}),React.createElement("div",{className:"ebpg-entry-content"},p&&N&&React.createElement("div",{className:"ebpg-carousel-post-excerpt"},React.createElement("p",null,N,(0,Y.__)(d))),m&&React.createElement("div",{className:"ebpg-readmore-btn"},React.createElement("a",{href:"#"},(0,Y.__)(g)))),f&&z)))})),void 0!==F&&F.length<1&&React.createElement("p",null,"No Posts Found")))))))},save:function(){return null},example:{attributes:{cover:"".concat(null===(L1=EssentialBlocksLocalize)||void 0===L1?void 0:L1.image_url,"/block-preview/post-carousel.jpeg")}}});var F1="btnText",H1="closeText",z1=[{label:(0,Y.__)("Left","essential-blocks"),value:"left"},{label:(0,Y.__)("Right","essential-blocks"),value:"right"}],q1=[{label:(0,Y.__)("Left","essential-blocks"),value:"left"},{label:(0,Y.__)("Center","essential-blocks"),value:"center"},{label:(0,Y.__)("Right","essential-blocks"),value:"right"}],U1="popupWidth",V1="popupHeight",W1="popupMargin",G1="popupPadding",Z1="popupBack",Y1="popupBorder",J1="closeBorder",Q1="closePadding",X1="containerPadding",$1="btnBack",K1="btnBorder",e2="btnPadding",t2="closeTop",a2="closeRight",n2="closeLeft",o2="wrpMrg_",r2="wrpPad_",c2=window.EBControls,l2=c2.softMinifyCssStrings,i2=c2.generateBackgroundControlStyles,s2=c2.generateDimensionsControlStyles,b2=c2.generateTypographyStyles,p2=c2.generateBorderShadowStyles,u2=c2.generateResponsiveRangeStyles,d2=c2.StyleComponent;function m2(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=(t.resOption,t.blockId),r=(t.blockMeta,t.classHook,t.autoHeight),c=t.btnTextColor,l=t.btnHoverTextColor,i=t.popupFullWidth,s=t.closeBtnColor,b=t.closeBtnHoverColor,p=t.closeBtnBackColor,u=t.closeBtnBackHoverColor,d=t.overlayColor,m=u2({controlName:U1,property:"width",attributes:t}),g=m.rangeStylesDesktop,f=m.rangeStylesTab,y=m.rangeStylesMobile,v=u2({controlName:V1,property:"height",attributes:t}),h=v.rangeStylesDesktop,w=v.rangeStylesTab,k=v.rangeStylesMobile,R=b2({attributes:t,prefixConstant:F1,defaultFontSize:18}),_=R.typoStylesDesktop,E=R.typoStylesTab,C=R.typoStylesMobile,x=b2({attributes:t,prefixConstant:H1}),S=x.typoStylesDesktop,B=x.typoStylesTab,T=x.typoStylesMobile,N=s2({attributes:t,controlName:e2,styleFor:"padding"}),P=N.dimensionStylesDesktop,O=N.dimensionStylesTab,M=N.dimensionStylesMobile,D=i2({attributes:t,controlName:$1}),j=D.backgroundStylesDesktop,I=D.hoverBackgroundStylesDesktop,A=D.bgTransitionStyle,L=p2({controlName:K1,attributes:t}),F=L.styesDesktop,H=L.styesTab,z=L.styesMobile,q=L.stylesHoverDesktop,U=L.stylesHoverTab,V=L.stylesHoverMobile,W=L.transitionStyle,G=s2({attributes:t,controlName:G1,styleFor:"padding"}),Z=G.dimensionStylesDesktop,Y=G.dimensionStylesTab,J=G.dimensionStylesMobile,Q=s2({attributes:t,controlName:W1,styleFor:"margin"}),X=Q.dimensionStylesDesktop,$=Q.dimensionStylesTab,K=Q.dimensionStylesMobile,ee=i2({attributes:t,controlName:Z1}),te=ee.backgroundStylesDesktop,ae=ee.hoverBackgroundStylesDesktop,ne=ee.backgroundStylesTab,oe=ee.hoverBackgroundStylesTab,re=ee.backgroundStylesMobile,ce=ee.hoverBackgroundStylesMobile,le=ee.overlayStylesDesktop,ie=ee.hoverOverlayStylesDesktop,se=ee.overlayStylesTab,be=ee.hoverOverlayStylesTab,pe=ee.overlayStylesMobile,ue=ee.hoverOverlayStylesMobile,de=ee.bgTransitionStyle,me=ee.ovlTransitionStyle,ge=p2({controlName:Y1,attributes:t}),fe=ge.styesDesktop,ye=ge.styesTab,ve=ge.styesMobile,he=ge.stylesHoverDesktop,we=ge.stylesHoverTab,ke=ge.stylesHoverMobile,Re=ge.transitionStyle,_e=p2({controlName:J1,attributes:t,noShadow:!0}),Ee=_e.styesDesktop,Ce=_e.styesTab,xe=_e.styesMobile,Se=_e.stylesHoverDesktop,Be=_e.stylesHoverTab,Te=_e.stylesHoverMobile,Ne=_e.transitionStyle,Pe=s2({attributes:t,controlName:Q1,styleFor:"padding"}),Oe=Pe.dimensionStylesDesktop,Me=Pe.dimensionStylesTab,De=Pe.dimensionStylesMobile,je=s2({attributes:t,controlName:X1,styleFor:"padding"}),Ie=je.dimensionStylesDesktop,Ae=je.dimensionStylesTab,Le=je.dimensionStylesMobile,Fe=u2({controlName:t2,property:"top",attributes:t}),He=Fe.rangeStylesDesktop,ze=Fe.rangeStylesTab,qe=Fe.rangeStylesMobile,Ue=u2({controlName:a2,property:"right",attributes:t}),Ve=Ue.rangeStylesDesktop,We=Ue.rangeStylesTab,Ge=Ue.rangeStylesMobile,Ze=u2({controlName:n2,property:"left",attributes:t}),Ye=Ze.rangeStylesDesktop,Je=Ze.rangeStylesTab,Qe=Ze.rangeStylesMobile,Xe=s2({attributes:t,controlName:o2,styleFor:"margin"}),$e=Xe.dimensionStylesDesktop,Ke=Xe.dimensionStylesTab,et=Xe.dimensionStylesMobile,tt=s2({attributes:t,controlName:r2,styleFor:"padding"}),at=tt.dimensionStylesDesktop,nt=tt.dimensionStylesTab,ot=tt.dimensionStylesMobile,rt="\n\t\t.".concat(o,".eb-popup-container {\n\t\t\t").concat($e,"\n\t\t\t").concat(at,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-content {\n\t\t\t").concat(i?"width: 100%;":g,"\n\t\t\t").concat(r?"":h,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-button a.eb-popup-button-anchor {\n\t\t\t").concat(_,"\n\t\t\t").concat(P,"\n\t\t\t").concat(j,"\n\t\t\t").concat(F,"\n\t\t\t").concat(c?"color: ".concat(c,";"):"","\n\t\t\ttransition: ").concat(A,", ").concat(W,";\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-button a.eb-popup-button-anchor:hover {\n\t\t\t").concat(l?"color: ".concat(l,";"):"","\n\t\t\t").concat(I,"\n\t\t\t").concat(q,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-content-editor,\n\t\t.").concat(o,".eb-popup-container .eb-popup-content {\n\t\t\t").concat(Z,"\n\t\t\t").concat(X,"\n\t\t\t").concat(te,"\n\t\t\t").concat(fe,"\n\t\t\ttransition: ").concat(Re,";\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-content-editor:hover,\n\t\t.").concat(o,".eb-popup-container .eb-popup-content:hover {\n\t\t\t").concat(ae,"\n\t\t\t").concat(he,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-content-editor:before,\n\t\t.").concat(o,".eb-popup-container .eb-popup-content:before {\n\t\t\t").concat(le,"\n\t\t\ttransition: ").concat(de,";\n\t\t\tz-index: -1;\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-content-editor:hover:before,\n\t\t.").concat(o,".eb-popup-container .eb-popup-content:hover:before {\n\t\t\t").concat(ie,"\n\t\t\ttransition: ").concat(me,";\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-close-icon {\n\t\t\t").concat(Ee,"\n\t\t\t").concat(Oe,"\n\t\t\t").concat(S,"\n\t\t\t").concat(He,"\n\t\t\t").concat(Ve,"\n\t\t\t").concat(Ye,"\n\t\t\t").concat(s?"color: ".concat(s,";"):"","\n\t\t\t").concat(p?"background-color: ".concat(p,";"):"","\n\t\t\ttransition: ").concat(Ne,";\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-close-icon:hover {\n\t\t\t").concat(Se,"\n\t\t\t").concat(b?"color: ".concat(b,";"):"","\n\t\t\t").concat(u?"background-color: ".concat(u,";"):"","\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-modal-container {\n\t\t\t").concat(Ie,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-overlay {\n\t\t\t").concat(d?"background: ".concat(d,";"):"","\n\t\t}\n\t"),ct="\n\t\t.".concat(o,".eb-popup-container {\n\t\t\t").concat(Ke,"\n\t\t\t").concat(nt,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-content {\n\t\t\t").concat(i?"width: 100%;":f,"\n\t\t\t").concat(r?"":w,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-button a.eb-popup-button-anchor {\n\t\t\t").concat(E,"\n\t\t\t").concat(O,"\n\t\t\t").concat(H,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-button a.eb-popup-button-anchor:hover {\n\t\t\t").concat(U,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-content-editor,\n\t\t.").concat(o,".eb-popup-container .eb-popup-content {\n\t\t\t").concat(Y,"\n\t\t\t").concat($,"\n\t\t\t").concat(ne,"\n\t\t\t").concat(ye,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-content-editor:hover,\n\t\t.").concat(o,".eb-popup-container .eb-popup-content:hover {\n\t\t\t").concat(oe,"\n\t\t\t").concat(we,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-content-editor:before,\n\t\t.").concat(o,".eb-popup-container .eb-popup-content:before {\n\t\t\t").concat(se,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-content-editor:before:hover,\n\t\t.").concat(o,".eb-popup-container .eb-popup-content:before:hover {\n\t\t\t").concat(be,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-close-icon {\n\t\t\t").concat(Ce,"\n\t\t\t").concat(Me,"\n\t\t\t").concat(B,"\n\t\t\t").concat(ze,"\n\t\t\t").concat(We,"\n\t\t\t").concat(Je,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-close-icon:hover {\n\t\t\t").concat(Be,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-modal-container {\n\t\t\t").concat(Ae,"\n\t\t}\n\t"),lt="\n\t\t.".concat(o,".eb-popup-container {\n\t\t\t").concat(et,"\n\t\t\t").concat(ot,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-content {\n\t\t\t").concat(i?"width: 100%;":y,"\n\t\t\t").concat(r?"":k,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-button a.eb-popup-button-anchor {\n\t\t\t").concat(C,"\n\t\t\t").concat(M,"\n\t\t\t").concat(z,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-button a.eb-popup-button-anchor:hover {\n\t\t\t").concat(V,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-content-editor,\n\t\t.").concat(o,".eb-popup-container .eb-popup-content {\n\t\t\t").concat(J,"\n\t\t\t").concat(K,"\n\t\t\t").concat(re,"\n\t\t\t").concat(ve,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-content-editor:hover,\n\t\t.").concat(o,".eb-popup-container .eb-popup-content:hover {\n\t\t\t").concat(ce,"\n\t\t\t").concat(ke,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-content-editor:before,\n\t\t.").concat(o,".eb-popup-container .eb-popup-content:before {\n\t\t\t").concat(pe,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-content-editor:before:hover,\n\t\t.").concat(o,".eb-popup-container .eb-popup-content:before:hover {\n\t\t\t").concat(ue,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-close-icon {\n\t\t\t").concat(xe,"\n\t\t\t").concat(De,"\n\t\t\t").concat(T,"\n\t\t\t").concat(qe,"\n\t\t\t").concat(Ge,"\n\t\t\t").concat(Qe,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-close-icon:hover {\n\t\t\t").concat(Te,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-modal-container {\n\t\t\t").concat(Le,"\n\t\t}\n\t"),it=l2("\n\t\t".concat(rt,"\n\t")),st=l2("\n\t\t".concat(ct,"\n\t")),bt=l2("\n\t\t".concat(lt,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(d2,{attributes:t,setAttributes:a,desktopAllStyles:it,tabAllStyles:st,mobileAllStyles:bt,blockName:n}))}function g2(e){return g2="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},g2(e)}function f2(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function y2(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?f2(Object(a),!0).forEach((function(t){v2(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):f2(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function v2(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=g2(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=g2(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==g2(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var h2=window.EBControls,w2=h2.generateDimensionsAttributes,k2=h2.generateTypographyAttributes,R2=h2.generateBackgroundAttributes,_2=h2.generateBorderShadowAttributes,E2=h2.generateResponsiveRangeAttributes;const C2=y2(y2(y2(y2(y2(y2(y2(y2(y2(y2(y2(y2(y2(y2(y2(y2(y2(y2({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},trigger:{type:"string",default:"btn_click"},btnType:{type:"string",default:"button"},btnText:{type:"string",default:"Open Popup"},btnIcon:{type:"string"},iconPosition:{type:"string",default:"left"},btnAlignment:{type:"string",default:"center"},triggerIcon:{type:"string",default:"fas fa-bullhorn"},displayCloseIcon:{type:"boolean",default:!0},escToExit:{type:"boolean",default:!0},clickToExit:{type:"boolean",default:!0},autoExit:{type:"boolean",default:!1},autoExitTime:{type:"string",default:"3"},autoHeight:{type:"boolean",default:!0},position:{type:"string",default:"middle_center"},pageLoadDelay:{type:"string",default:"1"},eleIdentifier:{type:"string",default:"#open-popup"},btnTextColor:{type:"string",default:"var(--eb-global-button-text-color)"},btnHoverTextColor:{type:"string",default:"var(--eb-global-button-text-color)"},popupFullWidth:{type:"boolean",default:!1},useCloseIcon:{type:"boolean",default:!1},closeBtnText:{type:"string",default:"X"},closeBtnColor:{type:"string",default:"var(--eb-global-button-background-color)"},closeBtnHoverColor:{type:"string"},closeBtnBackColor:{type:"string"},closeBtnBackHoverColor:{type:"string"},overlayColor:{type:"string"},useCookies:{type:"boolean",default:!0},cookieExpireTime:{type:"string",default:""}},E2(V1)),E2(U1,{defaultRange:650})),E2(n2,{defaultRange:0})),E2(a2,{defaultRange:10})),E2(t2,{defaultRange:10})),R2($1,{defaultFillColor:"var(--eb-global-button-background-color)",defaultHovFillColor:"var(--eb-global-tertiary-color)",noOverlay:!0,noMainBgi:!0})),_2(K1)),w2(e2,{top:15,right:30,bottom:15,left:30,isLinked:!1})),w2(Q1)),w2(X1)),w2(o2)),w2(r2)),k2(Object.values(D))),w2(W1)),w2(G1)),R2(Z1,{defaultFillColor:"var(--eb-global-background-color)"})),_2(Y1)),_2(J1,{noShadow:!0}));var x2=window.EBControls,S2=(x2.faIcons,x2.ColorControl),B2=x2.TypographyDropdown,T2=x2.ResponsiveDimensionsControl,N2=x2.ResponsiveRangeController,P2=x2.BorderShadowControl,O2=x2.BackgroundControl,M2=x2.AdvancedControls,D2=x2.DynamicInputControl,j2=x2.EBIconPicker;const I2=function(e){var t=e.attributes,a=e.setAttributes,n=t.resOption,o=t.trigger,r=t.btnType,c=t.btnText,l=t.btnIcon,i=t.btnAlignment,s=t.triggerIcon,b=t.displayCloseIcon,p=t.escToExit,u=t.clickToExit,d=t.autoExit,m=t.autoExitTime,g=t.autoHeight,f=t.position,y=t.pageLoadDelay,v=t.eleIdentifier,h=t.btnTextColor,w=t.btnHoverTextColor,k=t.popupFullWidth,R=t.iconPosition,_=t.useCloseIcon,E=t.closeBtnText,C=t.closeBtnColor,x=t.closeBtnHoverColor,S=t.closeBtnBackColor,B=t.closeBtnBackHoverColor,T=t.overlayColor,N=t.useCookies,P=t.cookieExpireTime,O={setAttributes:a,resOption:n,attributes:t,objAttributes:C2};return React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:"General",className:"eb-tab general"},{name:"styles",title:"Style",className:"eb-tab styles"},{name:"advance",title:"Advanced",className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls "+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Settings","essential-blocks")},React.createElement(X.SelectControl,{label:(0,Y.__)("Trigger","essential-blocks"),value:o,options:[{label:(0,Y.__)("Button Click","essential-blocks"),value:"btn_click"},{label:(0,Y.__)("Page Load","essential-blocks"),value:"page_load"},{label:(0,Y.__)("External Element","essential-blocks"),value:"external"},{label:(0,Y.__)("Exit Intent","essential-blocks"),value:"exit_intent"}],onChange:function(e){return a({trigger:e})}}),"btn_click"===o&&React.createElement(React.Fragment,null,React.createElement(X.BaseControl,{label:(0,Y.__)("Button Settings","essential-blocks")},React.createElement(X.SelectControl,{label:(0,Y.__)("Type","essential-blocks"),value:r,options:[{label:(0,Y.__)("Button","essential-blocks"),value:"button"},{label:(0,Y.__)("Icon","essential-blocks"),value:"icon"}],onChange:function(e){return a({btnType:e})}})),"button"===r&&React.createElement(React.Fragment,null,React.createElement(D2,{label:(0,Y.__)("Button Text","essential-blocks"),attrName:"btnText",inputValue:c,setAttributes:a,onChange:function(e){return a({btnText:e})}}),React.createElement(j2,{value:l,onChange:function(e){return a({btnIcon:e})},title:(0,Y.__)("Button Icon","essential-blocks")}),React.createElement(X.BaseControl,{label:(0,Y.__)("Icon Position","essential-blocks"),id:"eb-button-icon-position"},React.createElement(X.ButtonGroup,{id:"eb-icon-position-btgrp"},z1.map((function(e,t){return React.createElement(X.Button,{key:t,isSecondary:R!==e.value,isPrimary:R===e.value,onClick:function(){return a({iconPosition:e.value})}},e.label)}))))),"icon"===r&&React.createElement(React.Fragment,null,React.createElement(j2,{value:s,onChange:function(e){return a({triggerIcon:e})},title:(0,Y.__)("Trigger Icon","essential-blocks")})),React.createElement(X.BaseControl,{label:(0,Y.__)("Alignment ","essential-blocks"),id:"eb-popup-button-alignment"},React.createElement(X.ButtonGroup,null,q1.map((function(e,t){return React.createElement(X.Button,{key:t,isSecondary:i!==e.value,isPrimary:i===e.value,onClick:function(){return a({btnAlignment:e.value})}},e.label)}))))),"page_load"===o&&React.createElement(React.Fragment,null,React.createElement(X.BaseControl,null,React.createElement("h3",null,(0,Y.__)("Page Load Settings","essential-blocks"))),React.createElement(X.TextControl,{label:(0,Y.__)("Delay(Seconds)","essential-blocks"),value:y,onChange:function(e){return a({pageLoadDelay:e})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Use Cookies","essential-blocks"),checked:N,onChange:function(){return a({useCookies:!N})}}),N&&React.createElement(X.TextControl,{label:(0,Y.__)("Cookie Expire(In days)","essential-blocks"),value:P,onChange:function(e){return a({cookieExpireTime:e})},help:(0,Y.__)("Leave blank if you want to delete cookie after browser closed.","essential-blocks")})),"external"===o&&React.createElement(React.Fragment,null,React.createElement(X.TextControl,{label:(0,Y.__)("Identifier","essential-blocks"),value:v,onChange:function(e){return a({eleIdentifier:e})},help:(0,Y.__)("You can also use class identifier such as .open-popup","essential-blocks")})),"exit_intent"===o&&React.createElement(React.Fragment,null,React.createElement(X.BaseControl,null,React.createElement("h3",null,(0,Y.__)("Exit Intent Settings","essential-blocks"))),React.createElement(X.ToggleControl,{label:(0,Y.__)("Use Cookies","essential-blocks"),checked:N,onChange:function(){return a({useCookies:!N})}}),N&&React.createElement(X.TextControl,{label:(0,Y.__)("Cookie Expire(In days)","essential-blocks"),value:P,onChange:function(e){return a({cookieExpireTime:e})},help:(0,Y.__)("Leave blank if you want to delete cookie after browser closed.","essential-blocks")})),React.createElement(X.__experimentalDivider,null),React.createElement(X.BaseControl,null,React.createElement("h3",null,(0,Y.__)("Exit Settings","essential-blocks"))),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Close Button","essential-blocks"),checked:b,onChange:function(){return a({displayCloseIcon:!b})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Esc to Exit","essential-blocks"),checked:p,onChange:function(){return a({escToExit:!p})},help:(0,Y.__)("Close the modal box by pressing the Esc key","essential-blocks")}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Click to Exit","essential-blocks"),checked:u,onChange:function(){return a({clickToExit:!u})},help:(0,Y.__)("Close the modal box by clicking anywhere outside the modal window","essential-blocks")}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Auto Exit","essential-blocks"),checked:d,onChange:function(){return a({autoExit:!d})}}),d&&React.createElement(X.TextControl,{label:(0,Y.__)("Auto Exit Delay (Seconds)","essential-blocks"),value:m,onChange:function(e){return a({autoExitTime:e})}})),React.createElement(X.PanelBody,{title:(0,Y.__)("Size & Position","essential-blocks"),initialOpen:!1},React.createElement(X.ToggleControl,{label:(0,Y.__)("Full Width","essential-blocks"),checked:k,onChange:function(){return a({popupFullWidth:!k})}}),!k&&React.createElement(React.Fragment,null,React.createElement(N2,{baseLabel:(0,Y.__)("Width","essential-blocks"),controlName:U1,resRequiredProps:O,min:0,max:1920,step:1})),React.createElement(X.ToggleControl,{label:(0,Y.__)("Auto Height","essential-blocks"),checked:g,onChange:function(){return a({autoHeight:!g})}}),!g&&React.createElement(React.Fragment,null,React.createElement(N2,{baseLabel:(0,Y.__)("Height","essential-blocks"),controlName:V1,resRequiredProps:O,min:0,max:1e3,step:1})),React.createElement(X.SelectControl,{label:(0,Y.__)("Position","essential-blocks"),value:f,options:[{label:(0,Y.__)("Top Left","essential-blocks"),value:"top_left"},{label:(0,Y.__)("Top Center","essential-blocks"),value:"top_center"},{label:(0,Y.__)("Top Right","essential-blocks"),value:"top_right"},{label:(0,Y.__)("Middle Left","essential-blocks"),value:"middle_left"},{label:(0,Y.__)("Middle Center","essential-blocks"),value:"middle_center"},{label:(0,Y.__)("Middle Right","essential-blocks"),value:"middle_right"},{label:(0,Y.__)("Bottom Left","essential-blocks"),value:"bottom_left"},{label:(0,Y.__)("Bottom Center","essential-blocks"),value:"bottom_center"},{label:(0,Y.__)("Bottom Right","essential-blocks"),value:"bottom_right"}],onChange:function(e){return a({position:e})}})),React.createElement(X.PanelBody,{title:(0,Y.__)("Close Button","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(X.ToggleControl,{label:(0,Y.__)("Use close Icon","essential-blocks"),checked:_,onChange:function(){return a({useCloseIcon:!_})}}),!_&&React.createElement(X.TextControl,{label:(0,Y.__)("Text","essential-blocks"),value:E,onChange:function(e){return a({closeBtnText:e})}}),React.createElement(X.__experimentalDivider,null),React.createElement(X.BaseControl,null,React.createElement("h3",null,(0,Y.__)("Icon Position","essential-blocks"))),React.createElement(N2,{baseLabel:(0,Y.__)("Top","essential-blocks"),controlName:t2,resRequiredProps:O,min:-500,max:500,step:1}),React.createElement(N2,{baseLabel:(0,Y.__)("Right","essential-blocks"),controlName:a2,resRequiredProps:O,min:-500,max:500,step:1}),React.createElement(N2,{baseLabel:(0,Y.__)("Left","essential-blocks"),controlName:n2,resRequiredProps:O,min:-500,max:500,step:1})))),"styles"===e.name&&React.createElement(React.Fragment,null,"btn_click"==o&&React.createElement(X.PanelBody,{title:(0,Y.__)("Button/Icon Styles","essential-blocks"),initialOpen:!0},React.createElement(React.Fragment,null,React.createElement(B2,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:F1,resRequiredProps:O}),React.createElement(S2,{label:(0,Y.__)("Color","essential-blocks"),color:h,onChange:function(e){return a({btnTextColor:e})}}),React.createElement(S2,{label:(0,Y.__)("Hover Color","essential-blocks"),color:w,onChange:function(e){return a({btnHoverTextColor:e})}}),React.createElement(X.__experimentalDivider,null),React.createElement(T2,{resRequiredProps:O,controlName:e2,baseLabel:(0,Y.__)("Padding","essential-blocks")}),React.createElement(X.PanelBody,{title:(0,Y.__)("Background","essential-blocks"),initialOpen:!1},React.createElement(O2,{controlName:$1,resRequiredProps:O,noOverlay:!0,noMainBgi:!0})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border","essential-blocks"),initialOpen:!1},React.createElement(P2,{controlName:K1,resRequiredProps:O})))),React.createElement(X.PanelBody,{title:(0,Y.__)("Popup Design","essential-blocks"),initialOpen:!1},React.createElement(S2,{label:(0,Y.__)("Overlay Color","essential-blocks"),color:T,onChange:function(e){return a({overlayColor:e})}}),React.createElement(X.PanelBody,{title:(0,Y.__)("Margin & Padding","essential-blocks"),initialOpen:!1},React.createElement(T2,{resRequiredProps:O,controlName:W1,baseLabel:"Margin"}),React.createElement(T2,{resRequiredProps:O,controlName:G1,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Background ","essential-blocks"),initialOpen:!1},React.createElement(O2,{controlName:Z1,resRequiredProps:O})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow","essential-blocks"),initialOpen:!1},React.createElement(P2,{controlName:Y1,resRequiredProps:O})),React.createElement(X.PanelBody,{title:(0,Y.__)("Container Padding","essential-blocks"),initialOpen:!1},React.createElement(T2,{resRequiredProps:O,controlName:X1,baseLabel:"Padding"}))),b&&React.createElement(X.PanelBody,{title:(0,Y.__)("Close Button","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,!_&&React.createElement(B2,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:H1,resRequiredProps:O}),React.createElement(S2,{label:(0,Y.__)("Color","essential-blocks"),color:C,onChange:function(e){return a({closeBtnColor:e})}}),React.createElement(S2,{label:(0,Y.__)("Hover Color","essential-blocks"),color:x,onChange:function(e){return a({closeBtnHoverColor:e})}}),React.createElement(S2,{label:(0,Y.__)("Background Color","essential-blocks"),color:S,onChange:function(e){return a({closeBtnBackColor:e})}}),React.createElement(S2,{label:(0,Y.__)("Background Hover Color","essential-blocks"),color:B,onChange:function(e){return a({closeBtnBackHoverColor:e})}}),React.createElement(T2,{resRequiredProps:O,controlName:Q1,baseLabel:(0,Y.__)("Padding","essential-blocks")}),React.createElement(X.PanelBody,{title:(0,Y.__)("Border","essential-blocks"),initialOpen:!1},React.createElement(P2,{controlName:J1,resRequiredProps:O,noShadow:!0}))))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Margin & Padding","essential-blocks")},React.createElement(T2,{resRequiredProps:O,controlName:o2,baseLabel:"Margin"}),React.createElement(T2,{resRequiredProps:O,controlName:r2,baseLabel:"Padding"})),React.createElement(M2,{attributes:t,setAttributes:a})))}))))};function A2(e){return A2="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},A2(e)}function L2(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function F2(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?L2(Object(a),!0).forEach((function(t){H2(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):L2(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function H2(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=A2(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=A2(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==A2(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var z2=window.EBControls,q2=(z2.duplicateBlockIdFix,z2.DynamicInputValueHandler),U2=z2.EBDisplayIcon,V2=z2.BlockProps;var W2=window.EBControls,G2=W2.EBDisplayIcon,Z2=W2.BlockProps;const Y2=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Popup","apiVersion":2,"name":"essential-blocks/popup","category":"essential-blocks","description":"Showcase your videos, images or other content with popup & trigger actions.","textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');function J2(e){return J2="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},J2(e)}function Q2(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function X2(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Q2(Object(a),!0).forEach((function(t){$2(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Q2(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function $2(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=J2(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=J2(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==J2(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var K2=window.EBControls.EBDisplayIcon;const e3=[{attributes:X2({},C2),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.trigger,r=t.btnText,c=t.btnIcon,l=t.iconPosition,i=t.btnAlignment,s=t.displayCloseIcon,b=t.escToExit,p=t.clickToExit,u=t.position,d=t.btnType,m=t.triggerIcon,g=t.pageLoadDelay,f=t.eleIdentifier,y=t.useCloseIcon,v=t.closeBtnText,h=t.autoExit,w=t.autoExitTime,k=t.useCookies,R=t.cookieExpireTime,_="left"===i?" alignment-left":"right"===i?" alignment-right":" alignment-center";return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper"},React.createElement("div",{id:a,className:"eb-popup-container ".concat(a),"data-block-id":a,"data-popup-type":o,"data-popup-delay":"page_load"==o?g:void 0,"data-external-identifier":"external"==o?f:void 0,"data-close-btn":s,"data-esc-btn":b,"data-click-exit":p,"data-auto-exit":h,"data-auto-exit-time":w,"data-use-cookie":k,"data-cookie-expire-time":R},React.createElement("div",{className:"eb-popup-btn-wrapper eb-parent-".concat(a," ").concat(n)},"btn_click"===o&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-popup-button".concat(_)},React.createElement("a",{className:"eb-popup-button-anchor"},"button"===d&&React.createElement(React.Fragment,null,c&&"left"===l&&React.createElement(React.Fragment,null,React.createElement(K2,{classNam:"eb-popup-button-icon eb-popup-button-icon-left",icon:c})),React.createElement(Q.RichText.Content,{value:r,tagName:"p"}),c&&"right"===l&&React.createElement(React.Fragment,null,React.createElement(K2,{classNam:"eb-popup-button-icon eb-popup-button-icon-right",icon:c}))),"icon"===d&&React.createElement(React.Fragment,null,React.createElement(K2,{classNam:"eb-popup-icon",icon:m})))))),React.createElement("div",{className:"eb-popup-overlay"}),React.createElement("div",{className:"modal-main-wrap"},React.createElement("div",{className:"eb-modal-container eb_popup_".concat(u)},React.createElement("div",{className:"eb-popup-content"},s&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-popup-close-icon"},y?React.createElement("span",{className:"dashicons dashicons-no-alt"}):v)),React.createElement(Q.InnerBlocks.Content,null)))))))}},{attributes:X2({},C2),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.trigger,r=t.btnText,c=t.btnIcon,l=t.iconPosition,i=t.btnAlignment,s=t.displayCloseIcon,b=t.escToExit,p=t.clickToExit,u=t.position,d=t.btnType,m=t.triggerIcon,g=t.pageLoadDelay,f=t.eleIdentifier,y=t.useCloseIcon,v=t.closeBtnText,h=t.autoExit,w=t.autoExitTime,k=t.useCookies,R=t.cookieExpireTime,_="left"===i?" alignment-left":"right"===i?" alignment-right":" alignment-center";return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper"},React.createElement("div",{id:a,className:"eb-popup-container ".concat(a),"data-block-id":a,"data-popup-type":o,"data-popup-delay":"page_load"==o?g:void 0,"data-external-identifier":"external"==o?f:void 0,"data-close-btn":s,"data-esc-btn":b,"data-click-exit":p,"data-auto-exit":h,"data-auto-exit-time":w,"data-use-cookie":k,"data-cookie-expire-time":R},React.createElement("div",{className:"eb-popup-btn-wrapper eb-parent-".concat(a," ").concat(n)},"btn_click"===o&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-popup-button".concat(_)},React.createElement("a",{className:"eb-popup-button-anchor"},"button"===d&&React.createElement(React.Fragment,null,c&&"left"===l&&React.createElement(React.Fragment,null,React.createElement("i",{className:"".concat(c," eb-popup-button-icon eb-popup-button-icon-left")})),React.createElement(Q.RichText.Content,{value:r,tagName:"p"}),c&&"right"===l&&React.createElement(React.Fragment,null,React.createElement("i",{className:"".concat(c," eb-popup-button-icon eb-popup-button-icon-right")}))),"icon"===d&&React.createElement(React.Fragment,null,React.createElement("i",{className:"".concat(m," eb-popup-icon")})))))),React.createElement("div",{className:"eb-popup-overlay"}),React.createElement("div",{className:"modal-main-wrap"},React.createElement("div",{className:"eb-modal-container eb_popup_".concat(u)},React.createElement("div",{className:"eb-popup-content"},s&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-popup-close-icon"},y?React.createElement("span",{className:"dashicons dashicons-no-alt"}):v)),React.createElement(Q.InnerBlocks.Content,null)))))))}},{attributes:(0,nt.omit)(X2({},C2),["autoExit","autoExitTime","useCloseIcon","useCookies","cookieExpireTime"]),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.trigger,r=t.btnText,c=t.btnIcon,l=t.iconPosition,i=t.btnAlignment,s=t.displayCloseIcon,b=t.escToExit,p=t.clickToExit,u=t.position,d=t.btnType,m=t.triggerIcon,g=t.pageLoadDelay,f=t.eleIdentifier,y=t.closeBtnText,v="left"===i?" alignment-left":"right"===i?" alignment-right":" alignment-center";return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper"},React.createElement("div",{id:a,className:"eb-popup-container ".concat(a),"data-block-id":a,"data-popup-type":o,"data-popup-delay":"page_load"==o?g:void 0,"data-external-identifier":"external"==o?f:void 0,"data-close-btn":s,"data-esc-btn":b,"data-click-exit":p},React.createElement("div",{className:"eb-popup-btn-wrapper eb-parent-".concat(a," ").concat(n)},"btn_click"===o&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-popup-button".concat(v)},React.createElement("a",{className:"eb-popup-button-anchor"},"button"===d&&React.createElement(React.Fragment,null,c&&"left"===l&&React.createElement(React.Fragment,null,React.createElement("i",{className:"".concat(c," eb-popup-button-icon eb-popup-button-icon-left")})),React.createElement(Q.RichText.Content,{value:r,tagName:"p"}),c&&"right"===l&&React.createElement(React.Fragment,null,React.createElement("i",{className:"".concat(c," eb-popup-button-icon eb-popup-button-icon-right")}))),"icon"===d&&React.createElement(React.Fragment,null,React.createElement("i",{className:"".concat(m," eb-popup-icon")})))))),React.createElement("div",{className:"eb-popup-overlay"}),React.createElement("div",{className:"modal-main-wrap"},React.createElement("div",{className:"eb-modal-container eb_popup_".concat(u)},React.createElement("div",{className:"eb-popup-content"},s&&React.createElement("div",{className:"eb-popup-close-icon"},y),React.createElement(Q.InnerBlocks.Content,null)))))))}}];(0,EBControls.ebConditionalRegisterBlockType)(Y2,{icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"60",fill:"none",viewBox:"0 0 60 60"},React.createElement("path",{fill:"#6C3BFF",d:"M6.25 7.5a1.25 1.25 0 100-2.5 1.25 1.25 0 000 2.5zM10 7.5A1.25 1.25 0 1010 5a1.25 1.25 0 000 2.5zM13.75 7.5a1.25 1.25 0 100-2.5 1.25 1.25 0 000 2.5zM50 41.594V19.656c0-.97-.395-1.9-1.098-2.585A3.799 3.799 0 0046.25 16h-32.5a3.8 3.8 0 00-2.652 1.07A3.61 3.61 0 0010 19.657v21.938c0 .97.395 1.9 1.098 2.585a3.8 3.8 0 002.652 1.071h15c.331 0 .65-.128.884-.357.234-.228.366-.538.366-.862 0-.323-.132-.633-.366-.861a1.267 1.267 0 00-.884-.357h-15c-.332 0-.65-.129-.884-.357a1.203 1.203 0 01-.366-.862V25.75h31.25c.331 0 .65-.128.884-.357.234-.229.366-.538.366-.862 0-.323-.132-.633-.366-.861a1.267 1.267 0 00-.884-.358H12.5v-3.656c0-.323.132-.633.366-.861.235-.23.553-.358.884-.358h32.5c.331 0 .65.129.884.357.234.229.366.539.366.862v21.938c0 .323-.132.633-.366.862a1.266 1.266 0 01-.884.357h-3.233l2.867-2.795a1.19 1.19 0 00.27-1.328 1.226 1.226 0 00-.46-.547 1.273 1.273 0 00-.694-.205H33.75c-.331 0-.65.128-.884.357a1.204 1.204 0 00-.366.861v10.97c0 .24.073.476.21.676.138.2.333.357.562.449a1.28 1.28 0 001.362-.264l2.866-2.795 6.616 6.451c.235.229.553.357.884.357.331 0 .65-.128.884-.357l3.75-3.656c.234-.229.366-.539.366-.862 0-.323-.132-.633-.366-.861l-4.117-4.014h.733c.995 0 1.948-.385 2.652-1.07A3.61 3.61 0 0050 41.593zm-5 10.464l-6.616-6.45a1.267 1.267 0 00-.884-.357c-.331 0-.65.128-.884.356L35 47.183v-6.808h6.983l-1.617 1.576a1.204 1.204 0 00-.366.862c0 .323.132.633.366.861l1.25 1.22 5.367 5.231L45 52.058z"}),React.createElement("path",{fill:"#6C3BFF",d:"M26.25 35h7.5c.22 0 .435.057.625.167a1.25 1.25 0 101.25-2.166 3.757 3.757 0 00-1.875-.501h-7.5a3.75 3.75 0 000 7.5h2.5a1.25 1.25 0 000-2.5h-2.5a1.25 1.25 0 010-2.5zM15.25 20a1.25 1.25 0 000 2.5h2.5a1.25 1.25 0 000-2.5h-2.5z"}),React.createElement("path",{fill:"#6C3BFF",d:"M56.25 0H3.75A3.75 3.75 0 000 3.75v7.5a1.25 1.25 0 001.25 1.25h52.5a1.25 1.25 0 000-2.5H2.5V3.75A1.25 1.25 0 013.75 2.5h52.5a1.25 1.25 0 011.25 1.25v52.5a1.25 1.25 0 01-1.25 1.25H3.75a1.25 1.25 0 01-1.25-1.25v-40a1.25 1.25 0 00-2.5 0v40A3.75 3.75 0 003.75 60h52.5A3.75 3.75 0 0060 56.25V3.75A3.75 3.75 0 0056.25 0z"}))},attributes:C2,keywords:[(0,Y.__)("popup","essential-blocks"),(0,Y.__)("modal","essential-blocks"),(0,Y.__)("eb essential","essential-blocks")],edit:function(e){var t=e.attributes,a=e.setAttributes,n=(e.className,e.isSelected),o=e.clientId,r=(e.name,t.resOption,t.blockId),c=(t.blockMeta,t.classHook),l=t.trigger,i=t.btnText,s=t.btnIcon,b=t.iconPosition,p=t.btnAlignment,u=t.btnType,d=t.triggerIcon,m=t.useCloseIcon,g=t.displayCloseIcon,f=t.closeBtnText,y=F2(F2({},e),{},{blockPrefix:"eb-popup",style:React.createElement(m2,e)}),v="left"===p?" alignment-left":"right"===p?" alignment-right":" alignment-center";return React.createElement(React.Fragment,null,n&&React.createElement(I2,e),React.createElement(V2.Edit,y,React.createElement("div",{className:"eb-parent-wrapper"},React.createElement("div",{className:"".concat(r," eb-popup-container"),"data-block-id":r},React.createElement("div",{className:"eb-popup-btn-wrapper eb-parent-".concat(r," ").concat(c)},"btn_click"===l&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-popup-button".concat(v)},React.createElement("a",{className:"eb-popup-button-anchor"},"button"===u&&React.createElement(React.Fragment,null,s&&"left"===b&&React.createElement(React.Fragment,null,React.createElement(U2,{classNam:"eb-popup-button-icon eb-popup-button-icon-left",icon:s})),React.createElement(q2,{value:i,className:"eb-popup-button-text",placeholder:(0,Y.__)("Add Text..","essential-blocks"),allowedFormats:["core/bold","core/italic","core/strikethrough"],onChange:function(e){return a({btnText:e})},readOnly:!0}),s&&"right"===b&&React.createElement(React.Fragment,null,React.createElement(U2,{classNam:"eb-popup-button-icon eb-popup-button-icon-right",icon:s}))),"icon"===u&&React.createElement(React.Fragment,null,React.createElement(U2,{classNam:"eb-popup-icon",icon:d})))))),React.createElement("div",{className:"eb-popup-before-content"},React.createElement("p",null,React.createElement("strong",null,"Essential Blocks Popup:")," Design your popup content below using blocks")),React.createElement("div",{className:"eb-popup-content-editor"},g&&React.createElement("div",{className:"eb-popup-close-icon"},m?React.createElement("span",{className:"dashicons dashicons-no-alt"}):f),React.createElement(Q.InnerBlocks,{orientation:"vertical",templateLock:!1,renderAppender:(0,$.select)("core/block-editor").getBlockOrder(o).length>0?void 0:Q.InnerBlocks.ButtonBlockAppender}))))))},save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.trigger,r=t.btnText,c=t.btnIcon,l=t.iconPosition,i=t.btnAlignment,s=t.displayCloseIcon,b=t.escToExit,p=t.clickToExit,u=t.position,d=t.btnType,m=t.triggerIcon,g=t.pageLoadDelay,f=t.eleIdentifier,y=t.useCloseIcon,v=t.closeBtnText,h=t.autoExit,w=t.autoExitTime,k=t.useCookies,R=t.cookieExpireTime,_="left"===i?" alignment-left":"right"===i?" alignment-right":" alignment-center";return React.createElement(Z2.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper"},React.createElement("div",{id:a,className:"eb-popup-container ".concat(a),"data-block-id":a,"data-popup-type":o,"data-popup-delay":"page_load"==o?g:void 0,"data-external-identifier":"external"==o?f:void 0,"data-close-btn":s,"data-esc-btn":b,"data-click-exit":p,"data-auto-exit":h,"data-auto-exit-time":w,"data-use-cookie":k,"data-cookie-expire-time":R},React.createElement("div",{className:"eb-popup-btn-wrapper eb-parent-".concat(a," ").concat(n)},"btn_click"===o&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-popup-button".concat(_)},React.createElement("a",{className:"eb-popup-button-anchor",role:"button"},"button"===d&&React.createElement(React.Fragment,null,c&&"left"===l&&React.createElement(React.Fragment,null,React.createElement(G2,{classNam:"eb-popup-button-icon eb-popup-button-icon-left",icon:c})),React.createElement(Q.RichText.Content,{value:r,tagName:"p"}),c&&"right"===l&&React.createElement(React.Fragment,null,React.createElement(G2,{classNam:"eb-popup-button-icon eb-popup-button-icon-right",icon:c}))),"icon"===d&&React.createElement(React.Fragment,null,React.createElement(G2,{classNam:"eb-popup-icon",icon:m})))))),React.createElement("div",{className:"eb-popup-overlay"}),React.createElement("div",{className:"modal-main-wrap"},React.createElement("div",{className:"eb-modal-container eb_popup_".concat(u)},React.createElement("div",{className:"eb-popup-content"},s&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-popup-close-icon"},y?React.createElement("span",{className:"dashicons dashicons-no-alt"}):v)),React.createElement(Q.InnerBlocks.Content,null)))))))},example:{attributes:{accordions:[{title:"Accordion Tab Title 1",content:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."},{title:"Accordion Tab Title 2",content:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."}],displayIcon:!0,tabIcon:"fas fa-angle-right"}},deprecated:e3});var t3="title",a3="owner",n3="price",o3="button",r3="wrp_",c3="wrp_",l3="margin",i3="padding",s3="rowNum",b3="colGap",p3="rowGap",u3="imgMargin",d3="imgRadius",m3="imgMaxHeight",g3="imgMaxWidth",f3="titleMargin",y3="creatorMargin",v3="creatorImgHeight",h3="creatorImgWidth",w3="creatorImgBorder",k3="priceMargin",R3="btnMargin",_3="btnPadding",E3="btnBdrSdw",C3="itemBg",x3="itemBdrSdw",S3="itemPadding",B3=[{label:(0,Y.__)("Grid","essential-blocks"),value:"grid"},{label:(0,Y.__)("List","essential-blocks"),value:"list"}],T3=[{label:(0,Y.__)("PX","essential-blocks"),value:"px"},{label:(0,Y.__)("EM","essential-blocks"),value:"em"},{label:(0,Y.__)("%","essential-blocks"),value:"%"}],N3=[{label:(0,Y.__)("Preset 1","essential-blocks"),value:"preset-1"},{label:(0,Y.__)("Preset 2","essential-blocks"),value:"preset-2"},{label:(0,Y.__)("Preset 3","essential-blocks"),value:"preset-3"}],P3=[{label:(0,Y.__)("Preset 1","essential-blocks"),value:"preset-1"}],O3=((0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignleft"})),(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-aligncenter"})),(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignright"})),[{label:(0,Y.__)("Top","essential-blocks"),value:"flex-start"},{label:(0,Y.__)("Middle","essential-blocks"),value:"center"},{label:(0,Y.__)("Bottom","essential-blocks"),value:"flex-end"}]);function M3(e){return M3="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},M3(e)}function D3(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function j3(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?D3(Object(a),!0).forEach((function(t){I3(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):D3(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function I3(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=M3(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=M3(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==M3(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var A3=window.EBControls,L3=A3.generateTypographyAttributes,F3=A3.generateResponsiveRangeAttributes,H3=A3.generateDimensionsAttributes,z3=A3.generateBackgroundAttributes,q3=A3.generateBorderShadowAttributes;const U3=j3(j3(j3(j3(j3(j3(j3(j3(j3(j3(j3(j3(j3(j3(j3(j3(j3(j3(j3(j3(j3(j3(j3(j3(j3({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},source:{type:"string",default:"opensea"},settings:{type:"object"},layout:{type:"string",default:"grid"},displayImage:{type:"boolean",default:!0},displayTitle:{type:"boolean",default:!0},displayCreator:{type:"boolean",default:!0},displayOwner:{type:"boolean",default:!1},displayPrice:{type:"boolean",default:!0},displayLastSale:{type:"boolean",default:!1},displayButton:{type:"boolean",default:!0},titleColor:{type:"string",default:"var(--eb-global-heading-color)"},ownerTextColor:{type:"string",default:"var(--eb-global-text-color)"},ownerLinkColor:{type:"string",default:"var(--eb-global-link-color)"},showOwnerImage:{type:"boolean",default:!0},showOwnerText:{type:"boolean",default:!0},creatorLabel:{type:"string",default:"Created by"},ownerLabel:{type:"string",default:"Owned by"},priceColor:{type:"string",default:"#333333"},buttonTextColor:{type:"string",default:"var(--eb-global-button-text-color)"},buttonBgColor:{type:"string",default:"var(--eb-global-button-background-color)"},buttonHoverTextColor:{type:"string",default:"var(--eb-global-button-text-color)"},buttonHoverBgColor:{type:"string",default:"var(--eb-global-tertiary-color)"},buttonText:{type:"string",default:"See Details"},gridPreset:{type:"string",default:"preset-1"},listPreset:{type:"string",default:"preset-1"},gridOverlayBg:{type:"string",default:"#edecf6e6"},listHorizontalAlignment:{type:"string",default:"flex-start"},listVerticalAlignment:{type:"string",default:"flex-start"}},F3(s3,{defaultRange:3,noUnits:!0})),F3(b3,{defaultRange:15})),F3(p3,{defaultRange:15})),F3(m3,{defaultRange:300})),F3(g3,{})),F3(v3,{defaultRange:30})),F3(h3,{defaultRange:30})),L3(Object.values(j))),H3(l3)),H3(i3,{top:15,bottom:15,right:15,left:15,isLinked:!1})),H3(f3,{top:0,bottom:15,right:0,left:0,isLinked:!1})),H3(u3,{top:0,bottom:15,right:0,left:0,isLinked:!1})),H3(d3,{top:5,bottom:5,right:5,left:5,isLinked:!0})),H3(y3,{top:0,bottom:20,right:0,left:0,isLinked:!1})),H3(k3,{top:0,bottom:0,right:0,left:0,isLinked:!1})),H3(R3,{top:0,bottom:0,right:0,left:0,isLinked:!1})),H3(_3,{top:15,bottom:15,right:20,left:20,isLinked:!1})),H3(w3,{top:50,bottom:50,right:50,left:50,isLinked:!0,defaultUnit:"%"})),H3(S3,{top:15,bottom:15,right:15,left:15,isLinked:!1})),q3(c3,{})),q3(E3,{bdrDefaults:{top:0,bottom:0,right:0,left:0}})),q3(x3,{bdrDefaults:{top:0,bottom:0,right:0,left:0},rdsDefaults:{top:10,bottom:10,right:10,left:10}})),z3(r3,{defaultBgGradient:"linear-gradient(45deg,#7967ff,#c277f2)"})),z3(C3,{defaultFillColor:"#ffffff",defaultBgGradient:"linear-gradient(45deg,#7967ff,#c277f2)"})),{},{cover:{type:"string",default:""}});function V3(e){return V3="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},V3(e)}function W3(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function G3(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?W3(Object(a),!0).forEach((function(t){Z3(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):W3(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Z3(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=V3(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=V3(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==V3(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function Y3(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}var J3=window.EBControls,Q3=J3.ResponsiveDimensionsControl,X3=J3.TypographyDropdown,$3=J3.BorderShadowControl,K3=J3.ColorControl,e5=J3.BackgroundControl,t5=J3.AdvancedControls,a5=J3.ResponsiveRangeController;const n5=function(e){var t,a,n=e.attributes,o=e.setAttributes,r=e.setLoading,c=n.resOption,l=n.source,i=n.settings,s=n.layout,b=n.displayImage,p=n.displayTitle,u=n.displayCreator,d=n.displayOwner,m=n.displayPrice,g=n.displayLastSale,f=n.displayButton,y=n.titleColor,v=n.ownerTextColor,h=n.ownerLinkColor,w=n.showOwnerImage,k=n.showOwnerText,R=n.creatorLabel,_=n.ownerLabel,E=n.priceColor,C=n.buttonTextColor,x=n.buttonBgColor,S=n.buttonHoverTextColor,B=n.buttonHoverBgColor,T=n.buttonText,N=n.gridPreset,P=n.listPreset,O=n.gridOverlayBg,M=(n.listHorizontalAlignment,n.listVerticalAlignment),D=(t=(0,Fr.useState)(""),a=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,r,c,l=[],i=!0,s=!1;try{if(r=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;i=!1}else for(;!(i=(n=r.call(a)).done)&&(l.push(n.value),l.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{if(!i&&null!=a.return&&(c=a.return(),Object(c)!==c))return}finally{if(s)throw o}}return l}}(t,a)||function(e,t){if(e){if("string"==typeof e)return Y3(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?Y3(e,t):void 0}}(t,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),j=D[0],I=D[1];(0,J.useEffect)((function(){i||o({settings:{opensea:{apiKey:"",type:"items",filterBy:"",itemLimit:6,collectionLimit:6,orderBy:"desc"}}});var e=new FormData;e.append("action","opensea_api_key"),e.append("admin_nonce",EssentialBlocksLocalize.admin_nonce),fetch(EssentialBlocksLocalize.ajax_url,{method:"POST",body:e}).then((function(e){return e.text()})).then((function(e){var t=JSON.parse(e);t.success&&t.data&&I(t.data)})).catch((function(e){return console.log(e)}))}),[]);var A=function(e,t,a){var n=G3({},i[e]);n[t]=a,o({settings:G3(G3({},i),{},Z3({},e,n))}),r(!0)},L={setAttributes:o,resOption:c,attributes:n,objAttributes:U3};return React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:"General",className:"eb-tab general"},{name:"styles",title:"Style",className:"eb-tab styles"},{name:"advance",title:"Advanced",className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls"+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("General","essential-blocks"),initialOpen:!0},"opensea"===l&&React.createElement(React.Fragment,null,!j&&React.createElement(X.Card,null,React.createElement(X.CardBody,null,React.createElement("p",null,(0,Y.__)("Please add your own Opensea API ","essential-blocks")," ",React.createElement(X.ExternalLink,{href:"".concat(EssentialBlocksLocalize.eb_admin_url,"admin.php?page=essential-blocks&tab=options")},(0,Y.__)("here."))))),React.createElement(X.SelectControl,{label:(0,Y.__)("Type","essential-blocks"),value:i.opensea.type,options:[{label:(0,Y.__)("Items","essential-blocks"),value:"items"},{label:(0,Y.__)("Collections","essential-blocks"),value:"collections"}],onChange:function(e){return A("opensea","type",e)}}),"items"===i.opensea.type&&React.createElement(React.Fragment,null,React.createElement(X.SelectControl,{label:(0,Y.__)("Filter By","essential-blocks"),value:i.opensea.filterBy,options:[{label:(0,Y.__)("None","essential-blocks"),value:""},{label:(0,Y.__)("Collection Slug","essential-blocks"),value:"slug"},{label:(0,Y.__)("Wallet Address","essential-blocks"),value:"wallet"}],onChange:function(e){return A("opensea","filterBy",e)}}),"slug"===i.opensea.filterBy&&React.createElement(X.TextControl,{label:(0,Y.__)("Collection Slug","essential-blocks"),placeholder:(0,Y.__)("cryptopunks","essential-blocks"),value:i.opensea.collectionSlug,onChange:function(e){return A("opensea","collectionSlug",e)}}),"wallet"===i.opensea.filterBy&&React.createElement(X.TextControl,{label:(0,Y.__)("Wallet Address","essential-blocks"),placeholder:(0,Y.__)("0x1......","essential-blocks"),value:i.opensea.itemWalletId,onChange:function(e){return A("opensea","itemWalletId",e)}}),React.createElement(X.RangeControl,{label:"Limit",value:i.opensea.itemLimit,onChange:function(e){return A("opensea","itemLimit",e)},min:1,max:100,step:1,allowReset:!0}),React.createElement(X.SelectControl,{label:(0,Y.__)("Order By","essential-blocks"),value:i.opensea.orderBy,options:[{label:(0,Y.__)("DESC","essential-blocks"),value:"desc"},{label:(0,Y.__)("ASC","essential-blocks"),value:"asc"}],onChange:function(e){return A("opensea","orderBy",e)}})),"collections"===i.opensea.type&&React.createElement(React.Fragment,null,React.createElement(X.TextControl,{label:(0,Y.__)("Wallet Address","essential-blocks"),value:i.opensea.collectionWalletId,onChange:function(e){return A("opensea","collectionWalletId",e)}}),React.createElement(X.RangeControl,{label:"Limit",value:i.opensea.collectionLimit,onChange:function(e){return A("opensea","collectionLimit",e)},min:1,max:100,step:1,allowReset:!0})))),React.createElement(X.PanelBody,{title:(0,Y.__)("Layout","essential-blocks"),initialOpen:!0},React.createElement(X.SelectControl,{label:(0,Y.__)("Layout Type","essential-blocks"),value:s,options:B3,onChange:function(e){return function(e){switch(o({layout:e}),e){case"grid":o({rowNumRange:3,imgMaxWidthRange:100,imgMaxWidthUnit:"%",imgMarginBottom:15});break;case"list":o({rowNumRange:1,imgMaxWidthRange:250,imgMaxWidthUnit:"px",imgMarginBottom:0});break;default:return!1}}(e)}}),"grid"===s&&React.createElement(X.SelectControl,{label:(0,Y.__)("Grid Preset","essential-blocks"),value:N,options:N3,onChange:function(e){return o({gridPreset:e})}}),"list"===s&&React.createElement(X.SelectControl,{label:(0,Y.__)("List Preset","essential-blocks"),value:P,options:P3,onChange:function(e){return o({listPreset:e})}}),React.createElement(a5,{baseLabel:(0,Y.__)("Items per row","essential-blocks"),controlName:s3,resRequiredProps:L,min:1,max:10,step:1,noUnits:!0}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show NFT Image?","essential-blocks"),checked:b,onChange:function(){return o({displayImage:!b})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Title?","essential-blocks"),checked:p,onChange:function(){return o({displayTitle:!p})}}),"items"===i.opensea.type&&React.createElement(React.Fragment,null,React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Current Owner?","essential-blocks"),checked:d,onChange:function(){return o({displayOwner:!d})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Creator?","essential-blocks"),checked:u,onChange:function(){return o({displayCreator:!u})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Price?","essential-blocks"),checked:m,onChange:function(){return o({displayPrice:!m})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Last Sale?","essential-blocks"),checked:g,onChange:function(){return o({displayLastSale:!g})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Button?","essential-blocks"),checked:f,onChange:function(){return o({displayButton:!f})}})))),"styles"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Layout Styles","essential-blocks"),initialOpen:!0},React.createElement(a5,{baseLabel:(0,Y.__)("Columns Gap","essential-blocks"),controlName:b3,resRequiredProps:L,min:0,max:100,step:1,units:T3}),React.createElement(a5,{baseLabel:(0,Y.__)("Row Gap","essential-blocks"),controlName:p3,resRequiredProps:L,min:0,max:100,step:1,units:T3})),React.createElement(X.PanelBody,{title:(0,Y.__)("Item Box Styles","essential-blocks"),initialOpen:!1},"list"===s&&React.createElement(React.Fragment,null,React.createElement(X.BaseControl,{label:(0,Y.__)("Vertical Alignment","essential-blocks"),id:"eb-button-group-alignment"},React.createElement(X.ButtonGroup,{id:"eb-button-group-alignment"},O3.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:M===e.value,isSecondary:M!==e.value,onClick:function(){return o({listVerticalAlignment:e.value})}},e.label)}))))),React.createElement(X.PanelBody,{title:(0,Y.__)("Background"),initialOpen:!0},React.createElement(e5,{controlName:C3,resRequiredProps:L,noOverlay:!0,noOverlayBgi:!0})),"grid"===s&&"preset-3"===N&&React.createElement(React.Fragment,null,React.createElement(K3,{label:(0,Y.__)("Overlay Color","essential-blocks"),color:O,onChange:function(e){return o({gridOverlayBg:e})}})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!0},React.createElement($3,{controlName:x3,resRequiredProps:L})),React.createElement(Q3,{resRequiredProps:L,controlName:S3,baseLabel:"Padding"})),b&&React.createElement(X.PanelBody,{title:(0,Y.__)("Image","essential-blocks"),initialOpen:!1},React.createElement(a5,{baseLabel:(0,Y.__)("Height","essential-blocks"),controlName:m3,resRequiredProps:L,min:0,max:500,step:1,units:T3}),React.createElement(a5,{baseLabel:(0,Y.__)("Width","essential-blocks"),controlName:g3,resRequiredProps:L,min:0,max:500,step:1,units:T3}),React.createElement(Q3,{resRequiredProps:L,controlName:u3,baseLabel:"Margin"}),React.createElement(Q3,{resRequiredProps:L,controlName:d3,baseLabel:"Border Radius"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Title","essential-blocks"),initialOpen:!1},React.createElement(X3,{baseLabel:"Typography",typographyPrefixConstant:t3,resRequiredProps:L}),React.createElement(K3,{label:(0,Y.__)("Color","essential-blocks"),color:y,onChange:function(e){return o({titleColor:e})}}),React.createElement(Q3,{resRequiredProps:L,controlName:f3,baseLabel:"Margin"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Creator/Owner","essential-blocks"),initialOpen:!1},React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Name?","essential-blocks"),checked:k,onChange:function(){return o({showOwnerText:!k})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Image?","essential-blocks"),checked:w,onChange:function(){return o({showOwnerImage:!w})}}),React.createElement(X3,{baseLabel:"Typography",typographyPrefixConstant:a3,resRequiredProps:L}),u&&React.createElement(X.TextControl,{label:(0,Y.__)("Creator Label","essential-blocks"),value:R,onChange:function(e){return o({creatorLabel:e})}}),d&&React.createElement(X.TextControl,{label:(0,Y.__)("Owner Label","essential-blocks"),value:_,onChange:function(e){return o({ownerLabel:e})}}),React.createElement(K3,{label:(0,Y.__)("Label Color","essential-blocks"),color:v,onChange:function(e){return o({ownerTextColor:e})}}),React.createElement(K3,{label:(0,Y.__)("Link Color","essential-blocks"),color:h,onChange:function(e){return o({ownerLinkColor:e})}}),React.createElement(a5,{baseLabel:(0,Y.__)("Image Height","essential-blocks"),controlName:v3,resRequiredProps:L,min:0,max:500,step:1,units:T3}),React.createElement(a5,{baseLabel:(0,Y.__)("Image Width","essential-blocks"),controlName:h3,resRequiredProps:L,min:0,max:500,step:1,units:T3}),React.createElement(Q3,{resRequiredProps:L,controlName:w3,baseLabel:"Image Border Radius"}),React.createElement(Q3,{resRequiredProps:L,controlName:y3,baseLabel:"Margin"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Price","essential-blocks"),initialOpen:!1},React.createElement(X3,{baseLabel:"Typography",typographyPrefixConstant:n3,resRequiredProps:L}),React.createElement(K3,{label:(0,Y.__)("Color","essential-blocks"),color:E,onChange:function(e){return o({priceColor:e})}}),React.createElement(Q3,{resRequiredProps:L,controlName:k3,baseLabel:"Margin"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Button","essential-blocks"),initialOpen:!1},React.createElement(X.TextControl,{label:(0,Y.__)("Button Text","essential-blocks"),value:T,onChange:function(e){return o({buttonText:e})}}),React.createElement(X3,{baseLabel:"Typography",typographyPrefixConstant:o3,resRequiredProps:L}),React.createElement(K3,{label:(0,Y.__)("Text Color","essential-blocks"),color:C,onChange:function(e){return o({buttonTextColor:e})}}),React.createElement(K3,{label:(0,Y.__)("Background Color","essential-blocks"),color:x,onChange:function(e){return o({buttonBgColor:e})}}),React.createElement(K3,{label:(0,Y.__)("Hover Text Color","essential-blocks"),color:S,onChange:function(e){return o({buttonHoverTextColor:e})}}),React.createElement(K3,{label:(0,Y.__)("Hover Background Color","essential-blocks"),color:B,onChange:function(e){return o({buttonHoverBgColor:e})}}),React.createElement(Q3,{resRequiredProps:L,controlName:R3,baseLabel:"Margin"}),React.createElement(Q3,{resRequiredProps:L,controlName:_3,baseLabel:"Padding"}),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!0},React.createElement($3,{controlName:E3,resRequiredProps:L})))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Margin & Padding")},React.createElement(Q3,{resRequiredProps:L,controlName:l3,baseLabel:"Margin"}),React.createElement(Q3,{resRequiredProps:L,controlName:i3,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Background","essential-blocks"),initialOpen:!1},React.createElement(e5,{controlName:r3,resRequiredProps:L,noOverlay:!0,noOverlayBgi:!0})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement($3,{controlName:c3,resRequiredProps:L})),React.createElement(t5,{attributes:n,setAttributes:o})))}))))};var o5=window.EBControls,r5=o5.softMinifyCssStrings,c5=o5.generateDimensionsControlStyles,l5=o5.generateBackgroundControlStyles,i5=o5.generateBorderShadowStyles,s5=o5.generateResponsiveRangeStyles,b5=o5.generateTypographyStyles,p5=o5.StyleComponent;function u5(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=(t.blockMeta,t.resOption,t.source,t.settings,t.layout,t.gridPreset),c=t.displayImage,l=t.displayTitle,i=t.displayCreator,s=t.displayOwner,b=t.displayPrice,p=t.displayLastSale,u=t.displayButton,d=t.titleColor,m=t.ownerTextColor,g=t.ownerLinkColor,f=t.showOwnerImage,y=t.showOwnerText,v=t.priceColor,h=t.buttonTextColor,w=t.buttonBgColor,k=t.buttonHoverTextColor,R=t.buttonHoverBgColor,_=t.gridOverlayBg,E=t.listHorizontalAlignment,C=t.listVerticalAlignment,x=c5({controlName:l3,styleFor:"margin",attributes:t}),S=x.dimensionStylesDesktop,B=x.dimensionStylesTab,T=x.dimensionStylesMobile,N=c5({controlName:i3,styleFor:"padding",attributes:t}),P=N.dimensionStylesDesktop,O=N.dimensionStylesTab,M=N.dimensionStylesMobile,D=c5({controlName:u3,styleFor:"margin",attributes:t}),j=D.dimensionStylesDesktop,I=D.dimensionStylesTab,A=D.dimensionStylesMobile,L=c5({controlName:d3,styleFor:"border-radius",attributes:t}),F=L.dimensionStylesDesktop,H=L.dimensionStylesTab,z=L.dimensionStylesMobile,q=c5({controlName:f3,styleFor:"margin",attributes:t}),U=q.dimensionStylesDesktop,V=q.dimensionStylesTab,W=q.dimensionStylesMobile,G=c5({controlName:y3,styleFor:"margin",attributes:t}),Z=G.dimensionStylesDesktop,Y=G.dimensionStylesTab,J=G.dimensionStylesMobile,Q=c5({controlName:k3,styleFor:"margin",attributes:t}),X=Q.dimensionStylesDesktop,$=Q.dimensionStylesTab,K=Q.dimensionStylesMobile,ee=c5({controlName:R3,styleFor:"margin",attributes:t}),te=ee.dimensionStylesDesktop,ae=ee.dimensionStylesTab,ne=ee.dimensionStylesMobile,oe=c5({controlName:_3,styleFor:"padding",attributes:t}),re=oe.dimensionStylesDesktop,ce=oe.dimensionStylesTab,le=oe.dimensionStylesMobile,ie=c5({controlName:S3,styleFor:"padding",attributes:t}),se=ie.dimensionStylesDesktop,be=ie.dimensionStylesTab,pe=ie.dimensionStylesMobile,ue=c5({controlName:w3,styleFor:"border-radius",attributes:t}),de=ue.dimensionStylesDesktop,me=ue.dimensionStylesTab,ge=ue.dimensionStylesMobile,fe=l5({attributes:t,controlName:r3}),ye=fe.backgroundStylesDesktop,ve=fe.hoverBackgroundStylesDesktop,he=fe.backgroundStylesTab,we=fe.hoverBackgroundStylesTab,ke=fe.backgroundStylesMobile,Re=fe.hoverBackgroundStylesMobile,_e=fe.bgTransitionStyle,Ee=l5({attributes:t,controlName:C3}),Ce=Ee.backgroundStylesDesktop,xe=Ee.hoverBackgroundStylesDesktop,Se=Ee.backgroundStylesTab,Be=Ee.hoverBackgroundStylesTab,Te=Ee.backgroundStylesMobile,Ne=Ee.hoverBackgroundStylesMobile,Pe=Ee.bgTransitionStyle,Oe=i5({controlName:c3,attributes:t}),Me=Oe.styesDesktop,De=Oe.styesTab,je=Oe.styesMobile,Ie=Oe.stylesHoverDesktop,Ae=Oe.stylesHoverTab,Le=Oe.stylesHoverMobile,Fe=Oe.transitionStyle,He=i5({controlName:E3,attributes:t}),ze=He.styesDesktop,qe=He.styesTab,Ue=He.styesMobile,Ve=He.stylesHoverDesktop,We=He.stylesHoverTab,Ge=He.stylesHoverMobile,Ze=He.transitionStyle,Ye=i5({controlName:x3,attributes:t}),Je=Ye.styesDesktop,Qe=Ye.styesTab,Xe=Ye.styesMobile,$e=Ye.stylesHoverDesktop,Ke=Ye.stylesHoverTab,et=Ye.stylesHoverMobile,tt=Ye.transitionStyle,at=s5({controlName:s3,property:null,attributes:t,noUnits:!0}),nt=at.rangeStylesDesktop,ot=at.rangeStylesTab,rt=at.rangeStylesMobile,ct=s5({controlName:b3,property:"grid-column-gap",attributes:t}),lt=ct.rangeStylesDesktop,it=ct.rangeStylesTab,st=ct.rangeStylesMobile,bt=s5({controlName:p3,property:"grid-row-gap",attributes:t}),pt=bt.rangeStylesDesktop,ut=bt.rangeStylesTab,dt=bt.rangeStylesMobile,mt=s5({controlName:m3,property:"height",attributes:t}),gt=mt.rangeStylesDesktop,ft=mt.rangeStylesTab,yt=mt.rangeStylesMobile,vt=s5({controlName:g3,property:"width",attributes:t}),ht=vt.rangeStylesDesktop,wt=vt.rangeStylesTab,kt=vt.rangeStylesMobile,Rt=s5({controlName:v3,property:"height",attributes:t}),_t=Rt.rangeStylesDesktop,Et=Rt.rangeStylesTab,Ct=Rt.rangeStylesMobile,xt=s5({controlName:h3,property:"width",attributes:t}),St=xt.rangeStylesDesktop,Bt=xt.rangeStylesTab,Tt=xt.rangeStylesMobile,Nt=b5({attributes:t,prefixConstant:t3,defaultFontSize:16}),Pt=Nt.typoStylesDesktop,Ot=Nt.typoStylesTab,Mt=Nt.typoStylesMobile,Dt=b5({attributes:t,prefixConstant:a3,defaultFontSize:14}),jt=Dt.typoStylesDesktop,It=Dt.typoStylesTab,At=Dt.typoStylesMobile,Lt=b5({attributes:t,prefixConstant:n3,defaultFontSize:14}),Ft=Lt.typoStylesDesktop,Ht=Lt.typoStylesTab,zt=Lt.typoStylesMobile,qt=b5({attributes:t,prefixConstant:o3,defaultFontSize:14}),Ut=qt.typoStylesDesktop,Vt=qt.typoStylesTab,Wt=qt.typoStylesMobile,Gt="\n        .eb-nft-gallery-wrapper.".concat(o," {\n            ").concat(S,"\n            ").concat(P,"\n            ").concat(ye,"\n            ").concat(Me,"\n            transition:").concat(_e,", ").concat(Fe,";\n        }\n        .eb-nft-gallery-wrapper.").concat(o,":hover {\n            ").concat(Ie,"\n            ").concat(ve,"\n        }\n\t"),Zt="\n        .eb-nft-gallery-wrapper.".concat(o," {\n            ").concat(B,"\n            ").concat(O,"\n            ").concat(he,"\n            ").concat(De,"\n        }\n        .eb-nft-gallery-wrapper.").concat(o,":hover {\n            ").concat(Ae,"\n            ").concat(we,"\n        }\n\t"),Yt="\n        .eb-nft-gallery-wrapper.".concat(o," {\n            ").concat(T,"\n            ").concat(M,"\n            ").concat(ke,"\n            ").concat(je,"\n        }\n        .eb-nft-gallery-wrapper.").concat(o,":hover {\n            ").concat(Le,"\n            ").concat(Re,"\n        }\n\t"),Jt="\n        .eb-nft-gallery-wrapper.".concat(o," .eb_nft_content_wrap.eb_nft_grid,\n        .eb-nft-gallery-wrapper.").concat(o," .eb_nft_content_wrap.eb_nft_list {\n            grid-template-columns: repeat(").concat(nt,", 1fr);\n            ").concat(lt,"\n            ").concat(pt,"\n        }\n\t"),Qt="\n        .eb-nft-gallery-wrapper.".concat(o," .eb_nft_content_wrap.eb_nft_grid,\n        .eb-nft-gallery-wrapper.").concat(o," .eb_nft_content_wrap.eb_nft_list {\n            grid-template-columns: repeat(").concat(ot,", 1fr);\n            ").concat(it,"\n            ").concat(ut,"\n        }\n\t"),Xt="\n        .eb-nft-gallery-wrapper.".concat(o," .eb_nft_content_wrap.eb_nft_grid,\n        .eb-nft-gallery-wrapper.").concat(o," .eb_nft_content_wrap.eb_nft_list {\n            grid-template-columns: repeat(").concat(rt,", 1fr);\n            ").concat(st,"\n            ").concat(dt,"\n        }\n\t"),$t="\n        .eb-nft-gallery-wrapper.".concat(o," .eb_nft_content_wrap .eb_nft_item {\n            ").concat(se,"\n            ").concat(Ce,"\n            ").concat(Je,"\n            transition:").concat(Pe,", ").concat(tt,";\n        }\n        .eb-nft-gallery-wrapper.").concat(o," .eb_nft_content_wrap .eb_nft_item:hover {\n            ").concat(xe,"\n            ").concat($e,"\n        }\n        .eb-nft-gallery-wrapper.").concat(o," .eb_nft_content_wrap.eb_nft_list .eb_nft_item {\n            justify-content: ").concat(E,";\n            align-items: ").concat(C,";\n        }\n        .eb-nft-gallery-wrapper.").concat(o," .eb_nft_content_wrap.eb_nft_grid.preset-3 .eb_nft_item .eb_nft_content {\n            background-color: ").concat(_,";\n        }\n        ").concat(c?".eb-nft-gallery-wrapper.".concat(o," .eb_nft_content_wrap .eb_nft_thumbnail {\n                ").concat(j,"\n                ").concat(F,"\n            }\n            .eb-nft-gallery-wrapper.").concat(o," .eb_nft_content_wrap .eb_nft_thumbnail img {\n                ").concat(gt,"\n                ").concat(ht,"\n                ").concat(F,"\n            }"):"","\n\n        ").concat(l?".eb-nft-gallery-wrapper.".concat(o," .eb_nft_content .eb_nft_title {\n                color: ").concat(d,";\n                ").concat(Pt,"\n                ").concat(U,"\n            }"):"","\n\n        ").concat(b||p?".eb-nft-gallery-wrapper.".concat(o," .eb_nft_content .eb_nft_price {\n                color: ").concat(v,";\n                ").concat(Ft,"\n                ").concat(X,"\n            }"):"","\n        ").concat("preset-1"===r?".eb-nft-gallery-wrapper.".concat(o," .eb_nft_content .eb_nft_price_wrapper {\n                min-height: 20px;\n            }"):"","\n        ").concat(i||s?".eb-nft-gallery-wrapper.".concat(o," .eb_nft_content .eb_nft_creator {\n                color: ").concat(m,";\n                ").concat(jt,"\n                ").concat(Z,"\n            }\n            ").concat(y?".eb-nft-gallery-wrapper.".concat(o," .eb_nft_content .eb_nft_creator a {\n                    color: ").concat(g,";\n                    ").concat(jt,"\n                }"):"","\n\n            ").concat(f?".eb-nft-gallery-wrapper.".concat(o," .eb_nft_content .eb_nft_creator img {\n                    ").concat(_t,"\n                    ").concat(St,"\n                    ").concat(de,"\n                }"):""):"","\n\n        ").concat(u?".eb-nft-gallery-wrapper.".concat(o," .eb_nft_item .eb_nft_content .eb_nft_button button {\n                ").concat(te,"\n            }\n            .eb-nft-gallery-wrapper.").concat(o," .eb_nft_item .eb_nft_content .eb_nft_button button a {\n                background-color: ").concat(w,";\n                color: ").concat(h,";\n                ").concat(Ut,"\n                ").concat(re,"\n                ").concat(ze,"\n                transition: ").concat(Ze,";\n            }\n            .eb-nft-gallery-wrapper.").concat(o," .eb_nft_item .eb_nft_content .eb_nft_button button:hover a {\n                background-color: ").concat(R,";\n                color: ").concat(k,";\n                ").concat(Ve,"\n            }"):"","\n\t"),Kt="\n        .eb-nft-gallery-wrapper.".concat(o," .eb_nft_content_wrap .eb_nft_item {\n            ").concat(be,"\n            ").concat(Se,"\n            ").concat(Qe,"\n        }\n        .eb-nft-gallery-wrapper.").concat(o," .eb_nft_content_wrap .eb_nft_item:hover {\n            ").concat(Be,"\n            ").concat(Ke,"\n        }\n        ").concat(c?".eb-nft-gallery-wrapper.".concat(o," .eb_nft_content_wrap .eb_nft_thumbnail {\n                ").concat(I,"\n                ").concat(H,"\n            }\n            .eb-nft-gallery-wrapper.").concat(o," .eb_nft_content_wrap .eb_nft_thumbnail img {\n                ").concat(ft,"\n                ").concat(wt,"\n                ").concat(H,"\n            }"):"","\n\n        ").concat(l?".eb-nft-gallery-wrapper.".concat(o," .eb_nft_content .eb_nft_title {\n                ").concat(Ot,"\n                ").concat(V,"\n            }"):"","\n\n        ").concat(b||p?".eb-nft-gallery-wrapper.".concat(o," .eb_nft_content .eb_nft_price {\n                ").concat(Ht,"\n                ").concat($,"\n            }"):"","\n        ").concat(i||s?".eb-nft-gallery-wrapper.".concat(o," .eb_nft_content .eb_nft_creator {\n                ").concat(It,"\n                ").concat(Y,"\n            }\n            ").concat(y?".eb-nft-gallery-wrapper.".concat(o," .eb_nft_content .eb_nft_creator a {\n                    ").concat(It,"\n                }"):"","\n\n            ").concat(f?".eb-nft-gallery-wrapper.".concat(o," .eb_nft_content .eb_nft_creator img {\n                    ").concat(Et,"\n                    ").concat(Bt,"\n                    ").concat(me,"\n                }"):""):"","\n\n        ").concat(u?".eb-nft-gallery-wrapper.".concat(o," .eb_nft_item .eb_nft_content .eb_nft_button button {\n                ").concat(ae,"\n            }\n            .eb-nft-gallery-wrapper.").concat(o," .eb_nft_item .eb_nft_content .eb_nft_button button a {\n                ").concat(Vt,"\n                ").concat(ce,"\n                ").concat(qe,"\n            }\n            .eb-nft-gallery-wrapper.").concat(o," .eb_nft_item .eb_nft_content .eb_nft_button button:hover a {\n                ").concat(We,"\n            }"):"","\n\t"),ea="\n        .eb-nft-gallery-wrapper.".concat(o," .eb_nft_content_wrap .eb_nft_item {\n            ").concat(pe,"\n            ").concat(Te,"\n            ").concat(Xe,"\n        }\n        .eb-nft-gallery-wrapper.").concat(o," .eb_nft_content_wrap .eb_nft_item:hover {\n            ").concat(Ne,"\n            ").concat(et,"\n        }\n        ").concat(c?".eb-nft-gallery-wrapper.".concat(o," .eb_nft_content_wrap .eb_nft_thumbnail {\n                ").concat(A,"\n                ").concat(z,"\n            }\n            .eb-nft-gallery-wrapper.").concat(o," .eb_nft_content_wrap .eb_nft_thumbnail img {\n                ").concat(yt,"\n                ").concat(kt,"\n                ").concat(z,"\n            }"):"","\n\n        ").concat(l?".eb-nft-gallery-wrapper.".concat(o," .eb_nft_content .eb_nft_title {\n                ").concat(Mt,"\n                ").concat(W,"\n            }"):"","\n\n        ").concat(b||p?".eb-nft-gallery-wrapper.".concat(o," .eb_nft_content .eb_nft_price {\n                ").concat(zt,"\n                ").concat(K,"\n            }"):"","\n        ").concat(i||s?".eb-nft-gallery-wrapper.".concat(o," .eb_nft_content .eb_nft_creator {\n                ").concat(At,"\n                ").concat(J,"\n            }\n            ").concat(y?".eb-nft-gallery-wrapper.".concat(o," .eb_nft_content .eb_nft_creator a {\n                    ").concat(At,"\n                }"):"","\n\n            ").concat(f?".eb-nft-gallery-wrapper.".concat(o," .eb_nft_content .eb_nft_creator img {\n                    ").concat(Ct,"\n                    ").concat(Tt,"\n                    ").concat(ge,"\n                }"):""):"","\n\n        ").concat(u?".eb-nft-gallery-wrapper.".concat(o," .eb_nft_item .eb_nft_content .eb_nft_button button {\n                ").concat(ne,"\n            }\n            .eb-nft-gallery-wrapper.").concat(o," .eb_nft_item .eb_nft_content .eb_nft_button button a {\n                ").concat(Wt,"\n                ").concat(le,"\n                ").concat(Ue,"\n            }\n            .eb-nft-gallery-wrapper.").concat(o," .eb_nft_item .eb_nft_content .eb_nft_button button:hover a {\n                ").concat(Ge,"\n            }"):"","\n\t"),ta=r5("\n\t\t".concat(Gt,"\n\t\t").concat(Jt,"\n\t\t").concat($t,"\n\t")),aa=r5("\n        ".concat(Zt,"\n        ").concat(Qt,"\n        ").concat(Kt,"\n\t")),na=r5("\n        ".concat(Yt,"\n        ").concat(Xt,"\n        ").concat(ea,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(p5,{attributes:t,setAttributes:a,desktopAllStyles:ta,tabAllStyles:aa,mobileAllStyles:na,blockName:n}))}function d5(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,r,c,l=[],i=!0,s=!1;try{if(r=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;i=!1}else for(;!(i=(n=r.call(a)).done)&&(l.push(n.value),l.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{if(!i&&null!=a.return&&(c=a.return(),Object(c)!==c))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return m5(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?m5(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m5(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}function g5(e){var t=e.attributes,a=e.creator,n=e.label,o=t.showOwnerText,r=t.showOwnerImage,c=d5((0,J.useState)("Unknown"),2),l=c[0],i=c[1],s=d5((0,J.useState)(),2),b=s[0],p=s[1],u=d5((0,J.useState)(),2),d=u[0],m=u[1];return(0,J.useEffect)((function(){if(a||null!==a){var e=a.user,t=a.address,n=(a.config,a.profile_img_url);e&&e.username?i(e.username):t&&i("#"+t.slice(-4)),p(n),m(t)}}),[]),React.createElement("div",{className:"eb_nft_creator"},r&&b&&React.createElement("img",{src:b,alt:l}),React.createElement("span",null,o&&React.createElement(React.Fragment,null,n," ",React.createElement("a",{target:"_blank",href:"https://opensea.io/".concat(d)},l))))}var f5=function(){return React.createElement("svg",{viewBox:"0 0 320 330",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M0 0H320V330H0V0Z",fill:"url(#paint0_linear_16_5)"}),React.createElement("g",{opacity:"0.15",clipPath:"url(#clip0_16_5)"},React.createElement("path",{d:"M136.04 172.213C129.37 172.213 123.436 167.942 121.282 161.584L121.136 161.105C120.628 159.421 120.415 158.005 120.415 156.588V128.178L110.306 161.921C109.006 166.884 111.969 172.029 116.94 173.4L181.371 190.655C182.175 190.864 182.979 190.964 183.771 190.964C187.921 190.964 191.713 188.209 192.775 184.15L196.529 172.213H136.04Z",fill:"white"}),React.createElement("path",{d:"M147.499 128.462C152.095 128.462 155.832 124.724 155.832 120.128C155.832 115.532 152.095 111.795 147.499 111.795C142.903 111.795 139.165 115.532 139.165 120.128C139.165 124.724 142.903 128.462 147.499 128.462Z",fill:"white"}),React.createElement("path",{opacity:"0.5",d:"M199.583 99.2943H137.081C131.34 99.2943 126.665 103.97 126.665 109.712V155.546C126.665 161.288 131.34 165.963 137.081 165.963H199.583C205.325 165.963 210 161.288 210 155.546V109.712C210 103.97 205.325 99.2943 199.583 99.2943ZM137.081 107.628H199.583C200.733 107.628 201.666 108.561 201.666 109.712V139.292L188.504 123.932C187.108 122.295 185.087 121.42 182.916 121.37C180.758 121.383 178.733 122.341 177.349 124L161.874 142.575L156.832 137.545C153.982 134.696 149.344 134.696 146.498 137.545L134.998 149.041V109.712C134.998 108.561 135.931 107.628 137.081 107.628Z",fill:"white"})),React.createElement("path",{d:"M60.746 217.336H62.798V229H60.746V217.336ZM64.9331 220.036H66.9311V229H64.9331V220.036ZM70.7111 219.838C71.2271 219.838 71.7011 219.91 72.1331 220.054C72.5771 220.198 72.9551 220.42 73.2671 220.72C73.5911 221.008 73.8371 221.368 74.0051 221.8C74.1851 222.232 74.2751 222.742 74.2751 223.33V229H72.2771V223.726C72.2771 222.994 72.0971 222.454 71.7371 222.106C71.3891 221.746 70.8371 221.566 70.0811 221.566C69.5051 221.566 68.9771 221.692 68.4971 221.944C68.0291 222.184 67.6451 222.502 67.3451 222.898C67.0451 223.282 66.8711 223.708 66.8231 224.176L66.8051 223.204C66.8651 222.76 66.9971 222.34 67.2011 221.944C67.4051 221.536 67.6751 221.176 68.0111 220.864C68.3471 220.54 68.7431 220.288 69.1991 220.108C69.6551 219.928 70.1591 219.838 70.7111 219.838ZM77.8571 219.838C78.3851 219.838 78.8651 219.91 79.2971 220.054C79.7291 220.198 80.1011 220.42 80.4131 220.72C80.7371 221.008 80.9891 221.368 81.1691 221.8C81.3491 222.232 81.4391 222.742 81.4391 223.33V229H79.4231V223.726C79.4231 222.994 79.2431 222.454 78.8831 222.106C78.5351 221.746 77.9831 221.566 77.2271 221.566C76.6511 221.566 76.1231 221.692 75.6431 221.944C75.1751 222.184 74.7911 222.502 74.4911 222.898C74.2031 223.282 74.0351 223.708 73.9871 224.176L73.9511 223.168C74.0111 222.736 74.1491 222.322 74.3651 221.926C74.5811 221.518 74.8571 221.158 75.1931 220.846C75.5291 220.534 75.9191 220.288 76.3631 220.108C76.8191 219.928 77.3171 219.838 77.8571 219.838ZM86.9122 229.198C86.0962 229.198 85.3462 229 84.6622 228.604C83.9902 228.208 83.4502 227.662 83.0422 226.966C82.6462 226.258 82.4482 225.448 82.4482 224.536C82.4482 223.6 82.6522 222.784 83.0602 222.088C83.4682 221.38 84.0202 220.828 84.7162 220.432C85.4122 220.036 86.1922 219.838 87.0562 219.838C88.0162 219.838 88.7782 220.048 89.3422 220.468C89.9062 220.888 90.3082 221.452 90.5482 222.16C90.7882 222.868 90.9082 223.66 90.9082 224.536C90.9082 225.028 90.8362 225.55 90.6922 226.102C90.5482 226.642 90.3202 227.146 90.0082 227.614C89.7082 228.082 89.3002 228.466 88.7842 228.766C88.2802 229.054 87.6562 229.198 86.9122 229.198ZM87.5242 227.542C88.1962 227.542 88.7662 227.416 89.2342 227.164C89.7142 226.9 90.0742 226.54 90.3142 226.084C90.5662 225.628 90.6922 225.112 90.6922 224.536C90.6922 223.9 90.5662 223.36 90.3142 222.916C90.0622 222.46 89.7022 222.112 89.2342 221.872C88.7662 221.62 88.1962 221.494 87.5242 221.494C86.5642 221.494 85.8202 221.776 85.2922 222.34C84.7642 222.904 84.5002 223.636 84.5002 224.536C84.5002 225.124 84.6262 225.646 84.8782 226.102C85.1422 226.558 85.5022 226.912 85.9582 227.164C86.4142 227.416 86.9362 227.542 87.5242 227.542ZM90.6922 220.036H92.7082V229H90.8362C90.8362 229 90.8242 228.886 90.8002 228.658C90.7762 228.43 90.7522 228.154 90.7282 227.83C90.7042 227.494 90.6922 227.176 90.6922 226.876V220.036ZM98.1805 227.614C97.3405 227.614 96.5785 227.464 95.8945 227.164C95.2225 226.864 94.6885 226.426 94.2925 225.85C93.9085 225.274 93.7165 224.584 93.7165 223.78C93.7165 222.976 93.9025 222.28 94.2745 221.692C94.6585 221.104 95.1865 220.648 95.8585 220.324C96.5425 220 97.3165 219.838 98.1805 219.838C98.4325 219.838 98.6725 219.856 98.9005 219.892C99.1405 219.928 99.3685 219.976 99.5845 220.036L103.779 220.054V221.728C103.203 221.74 102.621 221.662 102.033 221.494C101.457 221.314 100.947 221.128 100.503 220.936L100.449 220.828C100.857 221.032 101.223 221.284 101.547 221.584C101.883 221.872 102.147 222.202 102.339 222.574C102.531 222.946 102.627 223.366 102.627 223.834C102.627 224.626 102.435 225.304 102.051 225.868C101.679 226.432 101.157 226.864 100.485 227.164C99.8245 227.464 99.0565 227.614 98.1805 227.614ZM101.061 232.654V232.24C101.061 231.652 100.887 231.238 100.539 230.998C100.191 230.758 99.7045 230.638 99.0805 230.638H96.6505C96.1705 230.638 95.7565 230.596 95.4085 230.512C95.0725 230.44 94.8025 230.326 94.5985 230.17C94.3945 230.026 94.2445 229.852 94.1485 229.648C94.0525 229.456 94.0045 229.24 94.0045 229C94.0045 228.52 94.1485 228.16 94.4365 227.92C94.7365 227.68 95.1265 227.524 95.6065 227.452C96.0985 227.38 96.6145 227.368 97.1545 227.416L98.1805 227.614C97.4725 227.638 96.9325 227.704 96.5605 227.812C96.2005 227.908 96.0205 228.106 96.0205 228.406C96.0205 228.586 96.0925 228.73 96.2365 228.838C96.3805 228.946 96.5845 229 96.8485 229H99.4045C100.137 229 100.779 229.084 101.331 229.252C101.883 229.432 102.309 229.726 102.609 230.134C102.921 230.554 103.077 231.124 103.077 231.844V232.654H101.061ZM98.1805 226.048C98.6605 226.048 99.0865 225.958 99.4585 225.778C99.8305 225.598 100.125 225.34 100.341 225.004C100.557 224.668 100.665 224.26 100.665 223.78C100.665 223.3 100.557 222.886 100.341 222.538C100.125 222.19 99.8305 221.926 99.4585 221.746C99.0865 221.566 98.6605 221.476 98.1805 221.476C97.7125 221.476 97.2865 221.566 96.9025 221.746C96.5305 221.926 96.2365 222.19 96.0205 222.538C95.8045 222.874 95.6965 223.288 95.6965 223.78C95.6965 224.26 95.8045 224.668 96.0205 225.004C96.2365 225.34 96.5305 225.598 96.9025 225.778C97.2745 225.958 97.7005 226.048 98.1805 226.048ZM112.044 226.048H113.97C113.874 226.66 113.634 227.206 113.25 227.686C112.878 228.154 112.368 228.526 111.72 228.802C111.072 229.066 110.298 229.198 109.398 229.198C108.378 229.198 107.466 229.012 106.662 228.64C105.858 228.256 105.228 227.716 104.772 227.02C104.316 226.324 104.088 225.496 104.088 224.536C104.088 223.588 104.31 222.76 104.754 222.052C105.198 221.344 105.81 220.798 106.59 220.414C107.382 220.03 108.294 219.838 109.326 219.838C110.394 219.838 111.282 220.03 111.99 220.414C112.71 220.786 113.244 221.35 113.592 222.106C113.94 222.85 114.084 223.792 114.024 224.932H106.122C106.182 225.436 106.344 225.892 106.608 226.3C106.884 226.696 107.256 227.008 107.724 227.236C108.192 227.452 108.738 227.56 109.362 227.56C110.058 227.56 110.64 227.422 111.108 227.146C111.588 226.87 111.9 226.504 112.044 226.048ZM109.272 221.458C108.456 221.458 107.784 221.662 107.256 222.07C106.728 222.466 106.386 222.976 106.23 223.6H112.008C111.96 222.928 111.69 222.406 111.198 222.034C110.706 221.65 110.064 221.458 109.272 221.458ZM129.585 226.876L128.973 227.11V217.336H131.007V229H128.973L120.225 219.514L120.855 219.28V229H118.803V217.336H120.855L129.585 226.876ZM137.576 229.198C136.58 229.198 135.686 229.018 134.894 228.658C134.102 228.298 133.478 227.77 133.022 227.074C132.566 226.378 132.338 225.532 132.338 224.536C132.338 223.552 132.566 222.712 133.022 222.016C133.478 221.308 134.102 220.768 134.894 220.396C135.686 220.024 136.58 219.838 137.576 219.838C138.572 219.838 139.46 220.024 140.24 220.396C141.02 220.768 141.632 221.308 142.076 222.016C142.532 222.712 142.76 223.552 142.76 224.536C142.76 225.532 142.532 226.378 142.076 227.074C141.632 227.77 141.02 228.298 140.24 228.658C139.46 229.018 138.572 229.198 137.576 229.198ZM137.576 227.56C138.152 227.56 138.68 227.446 139.16 227.218C139.64 226.99 140.018 226.648 140.294 226.192C140.582 225.736 140.726 225.184 140.726 224.536C140.726 223.888 140.582 223.336 140.294 222.88C140.018 222.424 139.64 222.076 139.16 221.836C138.692 221.584 138.164 221.458 137.576 221.458C136.988 221.458 136.454 221.578 135.974 221.818C135.494 222.058 135.104 222.406 134.804 222.862C134.516 223.318 134.372 223.876 134.372 224.536C134.372 225.184 134.516 225.736 134.804 226.192C135.092 226.648 135.476 226.99 135.956 227.218C136.448 227.446 136.988 227.56 137.576 227.56ZM143.058 220.036H149.394V221.674H143.058V220.036ZM145.218 217.624H147.234V229H145.218V217.624ZM155.582 226.264V224.518H162.53V226.264H155.582ZM152.882 229L157.976 217.336H160.172L165.302 229H163.088L158.624 218.47H159.524L155.078 229H152.882ZM169.668 227.578H168.966L172.062 220.036H174.24L170.28 229H168.372L164.466 220.036H166.662L169.668 227.578ZM178.607 229.198C177.791 229.198 177.041 229 176.357 228.604C175.685 228.208 175.145 227.662 174.737 226.966C174.341 226.258 174.143 225.448 174.143 224.536C174.143 223.6 174.347 222.784 174.755 222.088C175.163 221.38 175.715 220.828 176.411 220.432C177.107 220.036 177.887 219.838 178.751 219.838C179.711 219.838 180.473 220.048 181.037 220.468C181.601 220.888 182.003 221.452 182.243 222.16C182.483 222.868 182.603 223.66 182.603 224.536C182.603 225.028 182.531 225.55 182.387 226.102C182.243 226.642 182.015 227.146 181.703 227.614C181.403 228.082 180.995 228.466 180.479 228.766C179.975 229.054 179.351 229.198 178.607 229.198ZM179.219 227.542C179.891 227.542 180.461 227.416 180.929 227.164C181.409 226.9 181.769 226.54 182.009 226.084C182.261 225.628 182.387 225.112 182.387 224.536C182.387 223.9 182.261 223.36 182.009 222.916C181.757 222.46 181.397 222.112 180.929 221.872C180.461 221.62 179.891 221.494 179.219 221.494C178.259 221.494 177.515 221.776 176.987 222.34C176.459 222.904 176.195 223.636 176.195 224.536C176.195 225.124 176.321 225.646 176.573 226.102C176.837 226.558 177.197 226.912 177.653 227.164C178.109 227.416 178.631 227.542 179.219 227.542ZM182.387 220.036H184.403V229H182.531C182.531 229 182.519 228.886 182.495 228.658C182.471 228.43 182.447 228.154 182.423 227.83C182.399 227.494 182.387 227.176 182.387 226.876V220.036ZM188.219 216.238V218.164H185.825V216.238H188.219ZM186.005 220.036H188.021V229H186.005V220.036ZM189.874 216.436H191.872V229H189.874V216.436ZM197.576 229.198C196.76 229.198 196.01 229 195.326 228.604C194.654 228.208 194.114 227.662 193.706 226.966C193.31 226.258 193.112 225.448 193.112 224.536C193.112 223.6 193.316 222.784 193.724 222.088C194.132 221.38 194.684 220.828 195.38 220.432C196.076 220.036 196.856 219.838 197.72 219.838C198.68 219.838 199.442 220.048 200.006 220.468C200.57 220.888 200.972 221.452 201.212 222.16C201.452 222.868 201.572 223.66 201.572 224.536C201.572 225.028 201.5 225.55 201.356 226.102C201.212 226.642 200.984 227.146 200.672 227.614C200.372 228.082 199.964 228.466 199.448 228.766C198.944 229.054 198.32 229.198 197.576 229.198ZM198.188 227.542C198.86 227.542 199.43 227.416 199.898 227.164C200.378 226.9 200.738 226.54 200.978 226.084C201.23 225.628 201.356 225.112 201.356 224.536C201.356 223.9 201.23 223.36 200.978 222.916C200.726 222.46 200.366 222.112 199.898 221.872C199.43 221.62 198.86 221.494 198.188 221.494C197.228 221.494 196.484 221.776 195.956 222.34C195.428 222.904 195.164 223.636 195.164 224.536C195.164 225.124 195.29 225.646 195.542 226.102C195.806 226.558 196.166 226.912 196.622 227.164C197.078 227.416 197.6 227.542 198.188 227.542ZM201.356 220.036H203.372V229H201.5C201.5 229 201.488 228.886 201.464 228.658C201.44 228.43 201.416 228.154 201.392 227.83C201.368 227.494 201.356 227.176 201.356 226.876V220.036ZM210.774 229.198C210.03 229.198 209.4 229.054 208.884 228.766C208.38 228.466 207.972 228.082 207.66 227.614C207.36 227.146 207.138 226.642 206.994 226.102C206.862 225.55 206.796 225.028 206.796 224.536C206.796 223.876 206.862 223.264 206.994 222.7C207.126 222.136 207.342 221.644 207.642 221.224C207.954 220.792 208.362 220.456 208.866 220.216C209.382 219.964 210.018 219.838 210.774 219.838C211.638 219.838 212.4 220.036 213.06 220.432C213.732 220.828 214.26 221.38 214.644 222.088C215.04 222.784 215.238 223.6 215.238 224.536C215.238 225.448 215.04 226.258 214.644 226.966C214.248 227.662 213.714 228.208 213.042 228.604C212.37 229 211.614 229.198 210.774 229.198ZM210.162 227.542C210.774 227.542 211.302 227.416 211.746 227.164C212.202 226.912 212.556 226.558 212.808 226.102C213.06 225.646 213.186 225.124 213.186 224.536C213.186 223.636 212.922 222.904 212.394 222.34C211.866 221.764 211.122 221.476 210.162 221.476C209.502 221.476 208.932 221.602 208.452 221.854C207.984 222.106 207.624 222.46 207.372 222.916C207.132 223.36 207.012 223.9 207.012 224.536C207.012 225.112 207.132 225.628 207.372 226.084C207.624 226.54 207.984 226.9 208.452 227.164C208.92 227.416 209.49 227.542 210.162 227.542ZM207.012 216.436V226.876C207.012 227.2 206.994 227.566 206.958 227.974C206.922 228.382 206.886 228.724 206.85 229H204.996V216.436H207.012ZM216.454 216.436H218.452V229H216.454V216.436ZM227.648 226.048H229.574C229.478 226.66 229.238 227.206 228.854 227.686C228.482 228.154 227.972 228.526 227.324 228.802C226.676 229.066 225.902 229.198 225.002 229.198C223.982 229.198 223.07 229.012 222.266 228.64C221.462 228.256 220.832 227.716 220.376 227.02C219.92 226.324 219.692 225.496 219.692 224.536C219.692 223.588 219.914 222.76 220.358 222.052C220.802 221.344 221.414 220.798 222.194 220.414C222.986 220.03 223.898 219.838 224.93 219.838C225.998 219.838 226.886 220.03 227.594 220.414C228.314 220.786 228.848 221.35 229.196 222.106C229.544 222.85 229.688 223.792 229.628 224.932H221.726C221.786 225.436 221.948 225.892 222.212 226.3C222.488 226.696 222.86 227.008 223.328 227.236C223.796 227.452 224.342 227.56 224.966 227.56C225.662 227.56 226.244 227.422 226.712 227.146C227.192 226.87 227.504 226.504 227.648 226.048ZM224.876 221.458C224.06 221.458 223.388 221.662 222.86 222.07C222.332 222.466 221.99 222.976 221.834 223.6H227.612C227.564 222.928 227.294 222.406 226.802 222.034C226.31 221.65 225.668 221.458 224.876 221.458ZM244.936 217.336L240.184 225.202V229H238.132V225.202L233.38 217.336H235.738L239.752 224.212H238.636L242.596 217.336H244.936ZM251.486 226.048H253.412C253.316 226.66 253.076 227.206 252.692 227.686C252.32 228.154 251.81 228.526 251.162 228.802C250.514 229.066 249.74 229.198 248.84 229.198C247.82 229.198 246.908 229.012 246.104 228.64C245.3 228.256 244.67 227.716 244.214 227.02C243.758 226.324 243.53 225.496 243.53 224.536C243.53 223.588 243.752 222.76 244.196 222.052C244.64 221.344 245.252 220.798 246.032 220.414C246.824 220.03 247.736 219.838 248.768 219.838C249.836 219.838 250.724 220.03 251.432 220.414C252.152 220.786 252.686 221.35 253.034 222.106C253.382 222.85 253.526 223.792 253.466 224.932H245.564C245.624 225.436 245.786 225.892 246.05 226.3C246.326 226.696 246.698 227.008 247.166 227.236C247.634 227.452 248.18 227.56 248.804 227.56C249.5 227.56 250.082 227.422 250.55 227.146C251.03 226.87 251.342 226.504 251.486 226.048ZM248.714 221.458C247.898 221.458 247.226 221.662 246.698 222.07C246.17 222.466 245.828 222.976 245.672 223.6H251.45C251.402 222.928 251.132 222.406 250.64 222.034C250.148 221.65 249.506 221.458 248.714 221.458ZM253.757 220.036H260.093V221.674H253.757V220.036ZM255.917 217.624H257.933V229H255.917V217.624Z",fill:"white"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"paint0_linear_16_5",x1:"326.4",y1:"1.29268e-05",x2:"-63.6095",y2:"214.16",gradientUnits:"userSpaceOnUse"},React.createElement("stop",{"stop-color":"#275EFF"}),React.createElement("stop",{offset:"1","stop-color":"#A913FF"})),React.createElement("clipPath",{id:"clip0_16_5"},React.createElement("rect",{width:"100",height:"100",fill:"white",transform:"translate(110 95)"}))))};function y5(e){var t=e.item,a=t.name,n=t.token_id,o=t.image_url,r=t.image_thumbnail_url,c=t.image_preview_url,l=t.image_original_url,i=o||r||c||l;return React.createElement(React.Fragment,null,i&&React.createElement("img",{src:i,alt:a||n}),!i&&React.createElement(f5,null))}var v5=function(){return React.createElement("svg",{width:1535,height:2500,viewBox:"0 0 256 417",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},React.createElement("path",{fill:"#343434",d:"m127.961 0-2.795 9.5v275.668l2.795 2.79 127.962-75.638z"}),React.createElement("path",{fill:"#8C8C8C",d:"M127.962 0 0 212.32l127.962 75.639V154.158z"}),React.createElement("path",{fill:"#3C3C3B",d:"m127.961 312.187-1.575 1.92v98.199l1.575 4.6L256 236.587z"}),React.createElement("path",{fill:"#8C8C8C",d:"M127.962 416.905v-104.72L0 236.585z"}),React.createElement("path",{fill:"#141414",d:"m127.961 287.958 127.96-75.637-127.96-58.162z"}),React.createElement("path",{fill:"#393939",d:"m0 212.32 127.96 75.638v-133.8z"}))};function h5(e){return h5="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h5(e)}function w5(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,r,c,l=[],i=!0,s=!1;try{if(r=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;i=!1}else for(;!(i=(n=r.call(a)).done)&&(l.push(n.value),l.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{if(!i&&null!=a.return&&(c=a.return(),Object(c)!==c))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return k5(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?k5(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function k5(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}function R5(e){var t=e.item,a=(t.name,t.num_sales,t.last_sale),n=w5((0,J.useState)(0),2),o=n[0],r=n[1],c=w5((0,J.useState)(!1),2),l=c[0],i=c[1];return(0,J.useEffect)((function(){"object"===h5(a)&&null!==a&&(r(parseFloat(a.total_price/1e18).toFixed(2).replace(/(\.0+|0+)$/,"")),i(!0))}),[]),React.createElement(React.Fragment,null,l&&React.createElement("div",{className:"eb_nft_price"},React.createElement("span",{className:"ebnft_label"},"Last Sale:"),React.createElement("span",{className:"ebnft_currency"},React.createElement(v5,null)),React.createElement("span",{className:"ebnft_price"},o)))}function _5(e){return _5="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_5(e)}function E5(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,r,c,l=[],i=!0,s=!1;try{if(r=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;i=!1}else for(;!(i=(n=r.call(a)).done)&&(l.push(n.value),l.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{if(!i&&null!=a.return&&(c=a.return(),Object(c)!==c))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return C5(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?C5(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function C5(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}function x5(e){var t=e.item.seaport_sell_orders,a=E5((0,J.useState)(0),2),n=a[0],o=a[1],r=E5((0,J.useState)(!1),2),c=r[0],l=r[1];return(0,J.useEffect)((function(){if("object"===_5(t)&&null!==t&&t[0].current_price){var e=parseFloat(t[0].current_price/1e18).toFixed(2).replace(/(\.0+|0+)$/,"");o(e),l(!0)}}),[]),React.createElement(React.Fragment,null,c&&React.createElement("div",{className:"eb_nft_price"},React.createElement("span",{className:"ebnft_label"},"Price:"),React.createElement("span",{className:"ebnft_currency"},React.createElement(v5,null)),React.createElement("span",{className:"ebnft_price"},n)))}function S5(e){return S5="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},S5(e)}function B5(e){var t=e.data,a=e.attributes,n=a.layout,o=a.displayImage,r=a.displayTitle,c=a.displayCreator,l=a.displayOwner,i=a.displayPrice,s=a.displayLastSale,b=a.displayButton,p=a.creatorLabel,u=a.ownerLabel,d=a.buttonText,m=a.gridPreset,g=a.listPreset;return React.createElement("div",{className:"eb_nft_content_wrap eb_nft_".concat(n," nft_items ").concat("grid"===n?m:g)},"object"===S5(t)&&t.length>0&&React.createElement(React.Fragment,null,t.map((function(e,t){return React.createElement("div",{className:"eb_nft_item"},o&&React.createElement("div",{className:"eb_nft_thumbnail"},React.createElement(y5,{item:e})),React.createElement("div",{className:"eb_nft_content"},r&&React.createElement("h3",{className:"eb_nft_title"},e.name||"#"+e.token_id),React.createElement("div",{className:"eb_nft_content_body"},(c||l)&&React.createElement("div",{className:"eb_nft_owner_wrapper"},c&&React.createElement(g5,{attributes:a,creator:e.creator,label:p}),l&&React.createElement(g5,{attributes:a,creator:e.owner,label:u})),React.createElement("div",{className:"eb_nft_price_wrapper"},i&&React.createElement(x5,{item:e}),s&&React.createElement(R5,{item:e}))),b&&React.createElement("div",{className:"eb_nft_button"},React.createElement("button",null,React.createElement("a",{target:"_blank",href:e.permalink},d)))))}))),"object"===S5(t)&&0===t.length&&React.createElement("p",null,"No Items Found!"))}function T5(e){return T5="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},T5(e)}function N5(e){var t=e.data,a=e.attributes,n=a.layout,o=a.displayImage,r=a.displayTitle,c=(a.displayCreator,a.displayOwner,a.displayPrice,a.displayLastSale,a.displayButton),l=(a.creatorLabel,a.ownerLabel,a.buttonText),i=a.gridPreset,s=a.listPreset;return React.createElement("div",{className:"eb_nft_content_wrap eb_nft_".concat(n," nft_collections ").concat("grid"===n?i:s)},"object"===T5(t)&&t.map((function(e,t){return React.createElement("div",{className:"eb_nft_item"},o&&React.createElement("div",{className:"eb_nft_thumbnail"},React.createElement(y5,{item:e})),React.createElement("div",{className:"eb_nft_content"},r&&React.createElement("h3",{className:"eb_nft_title"},e.name),c&&React.createElement("div",{className:"eb_nft_button"},React.createElement("button",null,React.createElement("a",{target:"_blank",href:"https://opensea.io/collection/".concat(e.slug)},l)))))})))}var P5=function(){return React.createElement("svg",{id:"eusqnc6va491",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 605 189",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision"},React.createElement("defs",null,React.createElement("linearGradient",{id:"eusqnc6va499-fill",x1:0,y1:.5,x2:.5,y2:.5,spreadMethod:"reflect",gradientUnits:"objectBoundingBox"},React.createElement("stop",{id:"eusqnc6va499-fill-0",offset:"0%",stopColor:"rgba(213,224,249,0)"}),React.createElement("stop",{id:"eusqnc6va499-fill-1",offset:"100%",stopColor:"rgba(213,224,249,0.52)"}))),React.createElement("rect",{width:320,height:189,rx:3,ry:3,fill:"#e8efff"}),React.createElement("rect",{width:255,height:20,rx:3,ry:3,transform:"translate(350)",fill:"#e8efff"}),React.createElement("rect",{width:217,height:20,rx:3,ry:3,transform:"translate(350 30)",fill:"#e8efff"}),React.createElement("rect",{width:130,height:46,rx:3,ry:3,transform:"translate(350 80)",fill:"#e8efff"}),React.createElement("rect",{width:80,height:12,rx:3,ry:3,transform:"translate(375 97)",fill:"#cfdaf2"}),React.createElement("g",{mask:"url(#eusqnc6va4910)"},React.createElement("rect",{id:"eusqnc6va499",width:79.455,height:419.975,rx:0,ry:0,transform:"matrix(2.73387 -.01692 .00802 1.29573 -196.132 -156.803)",fill:"url(#eusqnc6va499-fill)",strokeWidth:0}),React.createElement("mask",{id:"eusqnc6va4910",maskType:"luminance"},React.createElement("rect",{width:320,height:189,rx:3,ry:3,fill:"#e8efff"}),React.createElement("rect",{width:255,height:20,rx:3,ry:3,transform:"translate(350)",fill:"#e8efff"}),React.createElement("rect",{width:217,height:20,rx:3,ry:3,transform:"translate(350 30)",fill:"#e8efff"}),React.createElement("rect",{width:130,height:46,rx:3,ry:3,transform:"translate(350 80)",fill:"#e8efff"}),React.createElement("rect",{width:80,height:12,rx:3,ry:3,transform:"translate(375 97)",fill:"#cfdaf2"}))),React.createElement("script",null))},O5=function(e){return React.createElement("svg",{id:"ejvt20hDbyT1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 345",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision"},React.createElement("defs",null,React.createElement("linearGradient",{id:"ejvt20hDbyT9-fill",x1:-.245,y1:.501,x2:.5,y2:.5,spreadMethod:"reflect",gradientUnits:"objectBoundingBox"},React.createElement("stop",{id:"ejvt20hDbyT9-fill-0",offset:"0%",stopColor:"rgba(213,224,249,0)"}),React.createElement("stop",{id:"ejvt20hDbyT9-fill-1",offset:"100%",stopColor:"rgba(213,224,249,0.52)"})),React.createElement("linearGradient",{id:"ejvt20hDbyT10-fill",x1:-.245,y1:.501,x2:.5,y2:.5,spreadMethod:"reflect",gradientUnits:"objectBoundingBox"},React.createElement("stop",{id:"ejvt20hDbyT10-fill-0",offset:"0%",stopColor:"rgba(213,224,249,0)"}),React.createElement("stop",{id:"ejvt20hDbyT10-fill-1",offset:"100%",stopColor:"rgba(213,224,249,0.52)"})),React.createElement("linearGradient",{id:"ejvt20hDbyT11-fill",x1:-.245,y1:.501,x2:.5,y2:.5,spreadMethod:"reflect",gradientUnits:"objectBoundingBox"},React.createElement("stop",{id:"ejvt20hDbyT11-fill-0",offset:"0%",stopColor:"rgba(213,224,249,0)"}),React.createElement("stop",{id:"ejvt20hDbyT11-fill-1",offset:"100%",stopColor:"rgba(213,224,249,0.52)"}))),React.createElement("rect",{width:320,height:189,rx:3,ry:3,fill:"#e8efff"}),React.createElement("rect",{width:320,height:20,rx:3,ry:3,transform:"translate(0 219)",fill:"#e8efff"}),React.createElement("rect",{width:271,height:20,rx:3,ry:3,transform:"translate(0 249)",fill:"#e8efff"}),React.createElement("rect",{width:130,height:46,rx:3,ry:3,transform:"translate(0 299)",fill:"#e8efff"}),React.createElement("rect",{width:80,height:12,rx:3,ry:3,transform:"translate(25 316)",fill:"#ced9f0"}),React.createElement("g",{mask:"url(#ejvt20hDbyT12)"},React.createElement("rect",{id:"ejvt20hDbyT9",width:79.455,height:58.345,rx:0,ry:0,transform:"matrix(2.7339 .00871 -.00413 1.29575 -195.005 288.679)",fill:"url(#ejvt20hDbyT9-fill)",strokeWidth:0}),React.createElement("rect",{id:"ejvt20hDbyT10",width:79.455,height:57.876,rx:0,ry:0,transform:"matrix(2.7339 .00871 -.00413 1.29575 -194.736 204.238)",fill:"url(#ejvt20hDbyT10-fill)",strokeWidth:0}),React.createElement("rect",{id:"ejvt20hDbyT11",width:79.455,height:164.549,rx:0,ry:0,transform:"matrix(2.7339 .00871 -.00413 1.29574 -194.029 -17.716)",fill:"url(#ejvt20hDbyT11-fill)",strokeWidth:0}),React.createElement("mask",{id:"ejvt20hDbyT12",maskType:"luminance"},React.createElement("rect",{width:320,height:189,rx:3,ry:3,fill:"#e8efff"}),React.createElement("rect",{width:320,height:20,rx:3,ry:3,transform:"translate(0 219)",fill:"#e8efff"}),React.createElement("rect",{width:271,height:20,rx:3,ry:3,transform:"translate(0 249)",fill:"#e8efff"}),React.createElement("rect",{width:130,height:46,rx:3,ry:3,transform:"translate(0 299)",fill:"#e8efff"}),React.createElement("rect",{width:80,height:12,rx:3,ry:3,transform:"translate(25 316)",fill:"#ced9f0"}))),React.createElement("script",null))};function M5(e){var t,a=e.attributes,n=a.layout,o=a.settings,r=null==o||null===(t=o.opensea)||void 0===t?void 0:t.itemLimit;return React.createElement("div",{className:"eb_nft_content_wrap eb_nft_".concat(n," nft_items nft_loading")},(0,nt.times)(r,(function(e){return"grid"===n?React.createElement("div",{className:"eb_nft_item"},React.createElement(O5,null)):"list"===n?React.createElement("div",{className:"eb_nft_item"},React.createElement(P5,null)):void 0})))}var D5=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"60",fill:"none",viewBox:"0 0 60 60"},React.createElement("path",{fill:"#6C3BFF",fillRule:"evenodd",d:"M7.234 46.476l19.301 11.146a6.421 6.421 0 003.228.868c1.115 0 2.23-.29 3.224-.867l19.3-11.146a6.451 6.451 0 003.237-5.585v-2.809a.898.898 0 00-1.796 0v2.809a4.652 4.652 0 01-2.336 4.028L32.086 56.069a4.633 4.633 0 01-4.65-.002L8.129 44.918a4.651 4.651 0 01-2.333-4.026V18.597c0-1.658.894-3.201 2.336-4.027L27.438 3.42a4.634 4.634 0 014.65.001l19.307 11.15a4.651 4.651 0 012.333 4.026v3.808a.898.898 0 001.796 0v-3.808a6.45 6.45 0 00-3.233-5.584L32.989 1.867a6.435 6.435 0 00-6.451 0L7.236 13.011A6.451 6.451 0 004 18.597v22.295a6.45 6.45 0 003.234 5.584zM53.728 26.51a.898.898 0 011.797 0v.467a.898.898 0 01-1.797 0v-.467zm0 4a.898.898 0 011.797 0v3.467a.898.898 0 01-1.797 0v-3.467zM29.732 10.745l-15.97 9 31-.9-15.03-8.1zm16.03 27l-15.97 9-15.03-8.1 31-.9zm3.306-13.998l-10.522-.002v1.805h4.072v9.48h2.19v-9.479h4.26v-1.804zm-13.05-.002v1.911h-7.617v2.996h5.705v1.79H28.4v4.443h-2.29v-11.14h9.908zM20.44 31.609v-7.864h2.295v10.972H20.44l-6.382-7.42v7.42h-2.295V23.745h2.295l6.382 7.864z",clipRule:"evenodd"}))};function j5(){return j5=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},j5.apply(null,arguments)}function I5(e){return I5="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},I5(e)}function A5(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function L5(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?A5(Object(a),!0).forEach((function(t){F5(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):A5(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function F5(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=I5(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=I5(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==I5(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function H5(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,r,c,l=[],i=!0,s=!1;try{if(r=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;i=!1}else for(;!(i=(n=r.call(a)).done)&&(l.push(n.value),l.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{if(!i&&null!=a.return&&(c=a.return(),Object(c)!==c))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return z5(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?z5(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function z5(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}var q5=window.EBControls,U5=q5.NoticeComponent,V5=q5.BlockProps,W5=window.EBControls.BlockProps;const G5=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"NFT Gallery","name":"essential-blocks/nft-gallery","category":"essential-blocks","description":"Display your NFT items & collections in a stunning gallery view without any coding","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');function Z5(e){return Z5="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Z5(e)}function Y5(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function J5(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=Z5(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=Z5(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Z5(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const Q5=[{attributes:function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Y5(Object(a),!0).forEach((function(t){J5(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Y5(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}({},U3),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.settings,o=t.source,r=t.layout,c=t.displayImage,l=t.displayTitle,i=t.displayCreator,s=t.displayOwner,b=t.displayPrice,p=t.displayLastSale,u=t.displayButton,d=t.creatorLabel,m=t.ownerLabel,g=t.buttonText,f=t.showOwnerText,y=t.showOwnerImage,v=t.gridPreset,h=t.listPreset,w=t.classHook,k={settings:n,layout:r,displayImage:c,displayTitle:l,displayCreator:i,displayOwner:s,displayPrice:b,displayLastSale:p,displayButton:u,creatorLabel:d,ownerLabel:m,buttonText:g,showOwnerText:f,showOwnerImage:y,gridPreset:v,listPreset:h};return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(w)},React.createElement("div",{className:"eb-nft-gallery-wrapper ".concat(a),"data-id":a,"data-source":o,"data-attributes":JSON.stringify(k)})))}}];var X5;(0,EBControls.ebConditionalRegisterBlockType)(G5,{icon:D5,attributes:U3,keywords:[(0,Y.__)("NFT","essential-blocks"),(0,Y.__)("NFT Gallery","essential-blocks"),(0,Y.__)("NFT Collection ","essential-blocks")],edit:function(e){var t,a=e.attributes,n=e.isSelected,o=a.blockId,r=(a.blockMeta,a.resOption,a.source),c=a.settings,l=a.classHook,i=a.cover,s=H5((0,J.useState)({}),2),b=s[0],p=s[1],u=H5((0,J.useState)({status:!1}),2),d=u[0],m=u[1],g=H5((0,J.useState)(""),2),f=g[0],y=g[1],v=H5((0,J.useState)(!0),2),h=v[0],w=v[1],k=L5(L5({},e),{},{blockPrefix:"eb-nft-gallery",style:React.createElement(u5,e)});return(0,J.useEffect)((function(){w(!0);var e=new FormData;if(e.append("action","opensea_nft_collections"),e.append("nft_nonce",EssentialBlocksLocalize.nft_nonce),e.append("nft_source",r),"opensea"===r&&c){if("items"===c.opensea.type&&""!==c.opensea.filterBy){if("slug"===c.opensea.filterBy&&!c.opensea.collectionSlug)return m({status:!0,message:"Please insert a valid collection slug."}),y("slug"),void w(!1);if("wallet"===c.opensea.filterBy&&!c.opensea.itemWalletId)return m({status:!0,message:"Please insert a valid wallet Address."}),y("wallet"),void w(!1);y("")}if("collections"===c.opensea.type&&(!c.opensea.collectionWalletId||0===c.opensea.collectionWalletId.length))return m({status:!0,message:"Please insert a valid wallet Address."}),y("wallet"),void w(!1);e.append("openseaType",c.opensea.type),c.opensea.apiKey&&c.opensea.apiKey.trim().length>0&&e.append("openseaApiKey",c.opensea.apiKey),e.append("openseaItemFilterBy",c.opensea.filterBy),e.append("openseaCollectionSlug",c.opensea.collectionSlug),e.append("openseaItemWalletId",c.opensea.itemWalletId),e.append("openseaCollectionmWalletId",c.opensea.collectionWalletId),e.append("openseaItemLimit",c.opensea.itemLimit),e.append("openseaItemOrderBy",c.opensea.orderBy),e.append("openseaCollectionLimit",c.opensea.collectionLimit),fetch(EssentialBlocksLocalize.ajax_url,{method:"POST",body:e}).then((function(e){return e.text()})).then((function(e){var t=JSON.parse(e);if(t.success)p(JSON.parse(t.data)),w(!1),m({status:!1}),y("");else{var a="object"===I5(t.data)?t.data:function(e){try{JSON.parse(e)}catch(e){return!1}return!0}(t.data)?JSON.parse(t.data):t.data;m({status:!0,message:"string"==typeof a?a:"Invalid Wallet Address/Collection Slug"}),y(""),w(!1)}})).catch((function(e){return console.log(e)}))}}),[c]),i.length?React.createElement("div",null,React.createElement("img",{src:i,alt:"nft gallery",style:{maxWidth:"100%"}})):React.createElement(React.Fragment,null,n&&React.createElement(n5,j5({},e,{setLoading:w})),React.createElement(V5.Edit,k,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(o," ").concat(l)},React.createElement("div",{className:"eb-nft-gallery-wrapper ".concat(o),"data-id":o},h&&React.createElement(M5,{attributes:a}),!h&&React.createElement(React.Fragment,null,d.status&&React.createElement(React.Fragment,null,React.createElement(U5,{Icon:D5,title:(0,Y.__)("NFT Gallery","essential-blocks"),description:React.createElement(React.Fragment,null,React.createElement("span",{style:{color:"#cc1818"}},React.createElement(X.Dashicon,{icon:"warning"})," ",React.createElement("strong",null,"Error: ",d.message,".")),React.createElement("br",null),""==f&&React.createElement("span",null,"Please add proper NFT API ",React.createElement("a",{target:"_blank",href:"".concat(null===(t=EssentialBlocksLocalize)||void 0===t?void 0:t.eb_admin_url,"admin.php?page=essential-blocks&tab=options")},"Here")," to display NFT Gallery Block"),""!==f&&React.createElement("span",null,"To add ",React.createElement("strong",null,"collection slug/wallet.")," Go to General Tab of block settings.")),externalDocLink:"https://essential-blocks.com/docs/retrieve-opensea-nft-api/",externalDocText:React.createElement(React.Fragment,null,"Learn more about NFT Gallery Block ",React.createElement(X.Dashicon,{icon:"external"}))})),!d.status&&React.createElement(React.Fragment,null,"items"===c.opensea.type&&React.createElement(B5,{data:b.assets,attributes:a}),"collections"===c.opensea.type&&React.createElement(N5,{data:c.opensea.collectionWalletId?b:null==b?void 0:b.collections,attributes:a})))))))},save:function(e){var t=e.attributes,a=t.blockId,n=t.settings,o=t.source,r=t.layout,c=t.displayImage,l=t.displayTitle,i=t.displayCreator,s=t.displayOwner,b=t.displayPrice,p=t.displayLastSale,u=t.displayButton,d=t.creatorLabel,m=t.ownerLabel,g=t.buttonText,f=t.showOwnerText,y=t.showOwnerImage,v=t.gridPreset,h=t.listPreset,w=t.classHook,k={settings:n,layout:r,displayImage:c,displayTitle:l,displayCreator:i,displayOwner:s,displayPrice:b,displayLastSale:p,displayButton:u,creatorLabel:d,ownerLabel:m,buttonText:g,showOwnerText:f,showOwnerImage:y,gridPreset:v,listPreset:h};return React.createElement(W5.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(w)},React.createElement("div",{className:"eb-nft-gallery-wrapper ".concat(a),"data-id":a,"data-source":o,"data-attributes":JSON.stringify(k)})))},deprecated:Q5,example:{attributes:{cover:"".concat(null===(X5=EssentialBlocksLocalize)||void 0===X5?void 0:X5.image_url,"/block-preview/nft-gallery.jpeg")}}});var $5=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"60",fill:"none",viewBox:"0 0 60 60"},React.createElement("path",{fill:"#6C3BFF",fillRule:"evenodd",d:"M24.036 30.495c0 3.56 2.904 6.463 6.463 6.463s6.463-2.904 6.463-6.463-2.904-6.462-6.463-6.462-6.463 2.903-6.463 6.462zm6.463 4.463a4.476 4.476 0 01-4.463-4.463 4.476 4.476 0 014.463-4.462 4.476 4.476 0 014.463 4.462 4.476 4.476 0 01-4.463 4.463z",clipRule:"evenodd"}),React.createElement("path",{fill:"#6C3BFF",fillRule:"evenodd",d:"M30.499 51.202c1.071 0 2.053-.491 2.767-1.295 3.704-4.507 9.951-12.986 9.728-19.456C42.771 23.444 37.282 18 30.5 18c-6.783 0-12.272 5.444-12.495 12.45-.179 6.471 6.024 14.995 9.728 19.457a3.632 3.632 0 002.767 1.295zm10.496-20.688v.006c.092 2.655-1.173 5.984-3.128 9.402-1.907 3.335-4.3 6.467-6.118 8.681-.375.41-.822.599-1.25.599-.472 0-.936-.223-1.23-.574-1.812-2.184-4.208-5.33-6.119-8.685-1.948-3.422-3.22-6.768-3.147-9.433C20.195 24.535 24.846 20 30.499 20c5.654 0 10.306 4.537 10.496 10.514z",clipRule:"evenodd"}),React.createElement("path",{fill:"#6C3BFF",d:"M6.25 7.5a1.25 1.25 0 100-2.5 1.25 1.25 0 000 2.5zM10 7.5A1.25 1.25 0 1010 5a1.25 1.25 0 000 2.5zM15 6.25a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0z"}),React.createElement("path",{fill:"#6C3BFF",fillRule:"evenodd",d:"M56.25 0H3.75A3.75 3.75 0 000 3.75v52.5A3.75 3.75 0 003.75 60h52.5A3.75 3.75 0 0060 56.25V3.75A3.75 3.75 0 0056.25 0zM2.5 56.25V12.5h55v43.75a1.25 1.25 0 01-1.25 1.25H3.75a1.25 1.25 0 01-1.25-1.25zm55-52.5V10h-55V3.75A1.25 1.25 0 013.75 2.5h52.5a1.25 1.25 0 011.25 1.25z",clipRule:"evenodd"}))},K5="WrpBg_",e4="wrpBdSd_",t4="wrpMrg_",a4="wrpPad_",n4=[{label:(0,Y.__)("Standard","essential-blocks"),value:"standard"},{label:(0,Y.__)("Silver","essential-blocks"),value:"silver"},{label:(0,Y.__)("Retro","essential-blocks"),value:"retro"},{label:(0,Y.__)("Dark","essential-blocks"),value:"dark"},{label:(0,Y.__)("Night","essential-blocks"),value:"night"},{label:(0,Y.__)("Aubergine","essential-blocks"),value:"aubergine"}],o4=[{label:(0,Y.__)("Default","essential-blocks"),value:"default"},{label:(0,Y.__)("Simple","essential-blocks"),value:"simple"},{label:(0,Y.__)("Colorful","essential-blocks"),value:"colorful"},{label:(0,Y.__)("Complex","essential-blocks"),value:"complex"},{label:(0,Y.__)("Dark","essential-blocks"),value:"dark"},{label:(0,Y.__)("Greyscale","essential-blocks"),value:"greyscale"},{label:(0,Y.__)("Light","essential-blocks"),value:"light"},{label:(0,Y.__)("Monochrome","essential-blocks"),value:"monochrome"},{label:(0,Y.__)("No Labels","essential-blocks"),value:"nolabels"},{label:(0,Y.__)("Two Tone","essential-blocks"),value:"twotone"}],r4={standard:[],silver:[{elementType:"geometry",stylers:[{color:"#f5f5f5"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f5f5"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#bdbdbd"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#ffffff"}]},{featureType:"road.arterial",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#dadada"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#c9c9c9"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]}],retro:[{elementType:"geometry",stylers:[{color:"#ebe3cd"}]},{elementType:"labels.text.fill",stylers:[{color:"#523735"}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f1e6"}]},{featureType:"administrative",elementType:"geometry.stroke",stylers:[{color:"#c9b2a6"}]},{featureType:"administrative.land_parcel",elementType:"geometry.stroke",stylers:[{color:"#dcd2be"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#ae9e90"}]},{featureType:"landscape.natural",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#93817c"}]},{featureType:"poi.park",elementType:"geometry.fill",stylers:[{color:"#a5b076"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#447530"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#f5f1e6"}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#fdfcf8"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#f8c967"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#e9bc62"}]},{featureType:"road.highway.controlled_access",elementType:"geometry",stylers:[{color:"#e98d58"}]},{featureType:"road.highway.controlled_access",elementType:"geometry.stroke",stylers:[{color:"#db8555"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#806b63"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"transit.line",elementType:"labels.text.fill",stylers:[{color:"#8f7d77"}]},{featureType:"transit.line",elementType:"labels.text.stroke",stylers:[{color:"#ebe3cd"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"water",elementType:"geometry.fill",stylers:[{color:"#b9d3c2"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#92998d"}]}],dark:[{elementType:"geometry",stylers:[{color:"#212121"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{elementType:"labels.text.stroke",stylers:[{color:"#212121"}]},{featureType:"administrative",elementType:"geometry",stylers:[{color:"#757575"}]},{featureType:"administrative.country",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"administrative.land_parcel",stylers:[{visibility:"off"}]},{featureType:"administrative.locality",elementType:"labels.text.fill",stylers:[{color:"#bdbdbd"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#181818"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"poi.park",elementType:"labels.text.stroke",stylers:[{color:"#1b1b1b"}]},{featureType:"road",elementType:"geometry.fill",stylers:[{color:"#2c2c2c"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#8a8a8a"}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#373737"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#3c3c3c"}]},{featureType:"road.highway.controlled_access",elementType:"geometry",stylers:[{color:"#4e4e4e"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"transit",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#000000"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#3d3d3d"}]}],night:[{elementType:"geometry",stylers:[{color:"#242f3e"}]},{elementType:"labels.text.fill",stylers:[{color:"#746855"}]},{elementType:"labels.text.stroke",stylers:[{color:"#242f3e"}]},{featureType:"administrative.locality",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#263c3f"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#6b9a76"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#38414e"}]},{featureType:"road",elementType:"geometry.stroke",stylers:[{color:"#212a37"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#9ca5b3"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#746855"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#1f2835"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#f3d19c"}]},{featureType:"transit",elementType:"geometry",stylers:[{color:"#2f3948"}]},{featureType:"transit.station",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#17263c"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#515c6d"}]},{featureType:"water",elementType:"labels.text.stroke",stylers:[{color:"#17263c"}]}],aubergine:[{elementType:"geometry",stylers:[{color:"#1d2c4d"}]},{elementType:"labels.text.fill",stylers:[{color:"#8ec3b9"}]},{elementType:"labels.text.stroke",stylers:[{color:"#1a3646"}]},{featureType:"administrative.country",elementType:"geometry.stroke",stylers:[{color:"#4b6878"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#64779e"}]},{featureType:"administrative.province",elementType:"geometry.stroke",stylers:[{color:"#4b6878"}]},{featureType:"landscape.man_made",elementType:"geometry.stroke",stylers:[{color:"#334e87"}]},{featureType:"landscape.natural",elementType:"geometry",stylers:[{color:"#023e58"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#283d6a"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#6f9ba5"}]},{featureType:"poi",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"poi.park",elementType:"geometry.fill",stylers:[{color:"#023e58"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#3C7680"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#304a7d"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#98a5be"}]},{featureType:"road",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#2c6675"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#255763"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#b0d5ce"}]},{featureType:"road.highway",elementType:"labels.text.stroke",stylers:[{color:"#023e58"}]},{featureType:"transit",elementType:"labels.text.fill",stylers:[{color:"#98a5be"}]},{featureType:"transit",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"transit.line",elementType:"geometry.fill",stylers:[{color:"#283d6a"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#3a4762"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#0e1626"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#4e6d70"}]}]},c4={default:[],simple:[{featureType:"administrative",elementType:"labels.text.fill",stylers:[{color:"#6195a0"}]},{featureType:"administrative.province",elementType:"geometry.stroke",stylers:[{visibility:"off"}]},{featureType:"landscape",elementType:"geometry",stylers:[{lightness:"0"},{saturation:"0"},{color:"#f5f5f2"},{gamma:"1"}]},{featureType:"landscape.man_made",elementType:"all",stylers:[{lightness:"-3"},{gamma:"1.00"}]},{featureType:"landscape.natural.terrain",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"poi",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"poi.park",elementType:"geometry.fill",stylers:[{color:"#bae5ce"},{visibility:"on"}]},{featureType:"road",elementType:"all",stylers:[{saturation:-100},{lightness:45},{visibility:"simplified"}]},{featureType:"road.highway",elementType:"all",stylers:[{visibility:"simplified"}]},{featureType:"road.highway",elementType:"geometry.fill",stylers:[{color:"#fac9a9"},{visibility:"simplified"}]},{featureType:"road.highway",elementType:"labels.text",stylers:[{color:"#4e4e4e"}]},{featureType:"road.arterial",elementType:"labels.text.fill",stylers:[{color:"#787878"}]},{featureType:"road.arterial",elementType:"labels.icon",stylers:[{visibility:"off"}]},{featureType:"transit",elementType:"all",stylers:[{visibility:"simplified"}]},{featureType:"transit.station.airport",elementType:"labels.icon",stylers:[{hue:"#0a00ff"},{saturation:"-77"},{gamma:"0.57"},{lightness:"0"}]},{featureType:"transit.station.rail",elementType:"labels.text.fill",stylers:[{color:"#43321e"}]},{featureType:"transit.station.rail",elementType:"labels.icon",stylers:[{hue:"#ff6c00"},{lightness:"4"},{gamma:"0.75"},{saturation:"-68"}]},{featureType:"water",elementType:"all",stylers:[{color:"#eaf6f8"},{visibility:"on"}]},{featureType:"water",elementType:"geometry.fill",stylers:[{color:"#c7eced"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{lightness:"-49"},{saturation:"-53"},{gamma:"0.79"}]}],colorful:[{featureType:"all",elementType:"all",stylers:[{color:"#ff7000"},{lightness:"69"},{saturation:"100"},{weight:"1.17"},{gamma:"2.04"}]},{featureType:"all",elementType:"geometry",stylers:[{color:"#cb8536"}]},{featureType:"all",elementType:"labels",stylers:[{color:"#ffb471"},{lightness:"66"},{saturation:"100"}]},{featureType:"all",elementType:"labels.text.fill",stylers:[{gamma:.01},{lightness:20}]},{featureType:"all",elementType:"labels.text.stroke",stylers:[{saturation:-31},{lightness:-33},{weight:2},{gamma:.8}]},{featureType:"all",elementType:"labels.icon",stylers:[{visibility:"off"}]},{featureType:"landscape",elementType:"all",stylers:[{lightness:"-8"},{gamma:"0.98"},{weight:"2.45"},{saturation:"26"}]},{featureType:"landscape",elementType:"geometry",stylers:[{lightness:30},{saturation:30}]},{featureType:"poi",elementType:"geometry",stylers:[{saturation:20}]},{featureType:"poi.park",elementType:"geometry",stylers:[{lightness:20},{saturation:-20}]},{featureType:"road",elementType:"geometry",stylers:[{lightness:10},{saturation:-30}]},{featureType:"road",elementType:"geometry.stroke",stylers:[{saturation:25},{lightness:25}]},{featureType:"water",elementType:"all",stylers:[{lightness:-20},{color:"#ecc080"}]}],complex:[{elementType:"geometry",stylers:[{hue:"#ff4400"},{saturation:-68},{lightness:-4},{gamma:.72}]},{featureType:"road",elementType:"labels.icon"},{featureType:"landscape.man_made",elementType:"geometry",stylers:[{hue:"#0077ff"},{gamma:3.1}]},{featureType:"water",stylers:[{hue:"#00ccff"},{gamma:.44},{saturation:-33}]},{featureType:"poi.park",stylers:[{hue:"#44ff00"},{saturation:-23}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{hue:"#007fff"},{gamma:.77},{saturation:65},{lightness:99}]},{featureType:"water",elementType:"labels.text.stroke",stylers:[{gamma:.11},{weight:5.6},{saturation:99},{hue:"#0091ff"},{lightness:-86}]},{featureType:"transit.line",elementType:"geometry",stylers:[{lightness:-48},{hue:"#ff5e00"},{gamma:1.2},{saturation:-23}]},{featureType:"transit",elementType:"labels.text.stroke",stylers:[{saturation:-64},{hue:"#ff9100"},{lightness:16},{gamma:.47},{weight:2.7}]}],dark:[{stylers:[{hue:"#ff1a00"},{invert_lightness:!0},{saturation:-100},{lightness:33},{gamma:.5}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#2D333C"}]}],greyscale:[{featureType:"administrative",elementType:"all",stylers:[{saturation:"-100"}]},{featureType:"administrative.province",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"landscape",elementType:"all",stylers:[{saturation:-100},{lightness:65},{visibility:"on"}]},{featureType:"poi",elementType:"all",stylers:[{saturation:-100},{lightness:"50"},{visibility:"simplified"}]},{featureType:"road",elementType:"all",stylers:[{saturation:"-100"}]},{featureType:"road.highway",elementType:"all",stylers:[{visibility:"simplified"}]},{featureType:"road.arterial",elementType:"all",stylers:[{lightness:"30"}]},{featureType:"road.local",elementType:"all",stylers:[{lightness:"40"}]},{featureType:"transit",elementType:"all",stylers:[{saturation:-100},{visibility:"simplified"}]},{featureType:"water",elementType:"geometry",stylers:[{hue:"#ffff00"},{lightness:-25},{saturation:-97}]},{featureType:"water",elementType:"labels",stylers:[{lightness:-25},{saturation:-100}]}],light:[{featureType:"administrative",elementType:"labels.text.fill",stylers:[{color:"#6195a0"}]},{featureType:"landscape",elementType:"all",stylers:[{color:"#f2f2f2"}]},{featureType:"landscape",elementType:"geometry.fill",stylers:[{color:"#ffffff"}]},{featureType:"poi",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"poi.park",elementType:"geometry.fill",stylers:[{color:"#e6f3d6"},{visibility:"on"}]},{featureType:"road",elementType:"all",stylers:[{saturation:-100},{lightness:45},{visibility:"simplified"}]},{featureType:"road.highway",elementType:"all",stylers:[{visibility:"simplified"}]},{featureType:"road.highway",elementType:"geometry.fill",stylers:[{color:"#f4d2c5"},{visibility:"simplified"}]},{featureType:"road.highway",elementType:"labels.text",stylers:[{color:"#4e4e4e"}]},{featureType:"road.arterial",elementType:"geometry.fill",stylers:[{color:"#f4f4f4"}]},{featureType:"road.arterial",elementType:"labels.text.fill",stylers:[{color:"#787878"}]},{featureType:"road.arterial",elementType:"labels.icon",stylers:[{visibility:"off"}]},{featureType:"transit",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"water",elementType:"all",stylers:[{color:"#eaf6f8"},{visibility:"on"}]},{featureType:"water",elementType:"geometry.fill",stylers:[{color:"#eaf6f8"}]}],monochrome:[{featureType:"administrative.locality",elementType:"all",stylers:[{hue:"#2c2e33"},{saturation:7},{lightness:19},{visibility:"on"}]},{featureType:"landscape",elementType:"all",stylers:[{hue:"#ffffff"},{saturation:-100},{lightness:100},{visibility:"simplified"}]},{featureType:"poi",elementType:"all",stylers:[{hue:"#ffffff"},{saturation:-100},{lightness:100},{visibility:"off"}]},{featureType:"road",elementType:"geometry",stylers:[{hue:"#bbc0c4"},{saturation:-93},{lightness:31},{visibility:"simplified"}]},{featureType:"road",elementType:"labels",stylers:[{hue:"#bbc0c4"},{saturation:-93},{lightness:31},{visibility:"on"}]},{featureType:"road.arterial",elementType:"labels",stylers:[{hue:"#bbc0c4"},{saturation:-93},{lightness:-2},{visibility:"simplified"}]},{featureType:"road.local",elementType:"geometry",stylers:[{hue:"#e9ebed"},{saturation:-90},{lightness:-8},{visibility:"simplified"}]},{featureType:"transit",elementType:"all",stylers:[{hue:"#e9ebed"},{saturation:10},{lightness:69},{visibility:"on"}]},{featureType:"water",elementType:"all",stylers:[{hue:"#e9ebed"},{saturation:-78},{lightness:67},{visibility:"simplified"}]}],nolabels:[{elementType:"labels",stylers:[{visibility:"off"},{color:"#f49f53"}]},{featureType:"landscape",stylers:[{color:"#f9ddc5"},{lightness:-7}]},{featureType:"road",stylers:[{color:"#813033"},{lightness:43}]},{featureType:"poi.business",stylers:[{color:"#645c20"},{lightness:38}]},{featureType:"water",stylers:[{color:"#1994bf"},{saturation:-69},{gamma:.99},{lightness:43}]},{featureType:"road.local",elementType:"geometry.fill",stylers:[{color:"#f19f53"},{weight:1.3},{visibility:"on"},{lightness:16}]},{featureType:"poi.business"},{featureType:"poi.park",stylers:[{color:"#645c20"},{lightness:39}]},{featureType:"poi.school",stylers:[{color:"#a95521"},{lightness:35}]},{},{featureType:"poi.medical",elementType:"geometry.fill",stylers:[{color:"#813033"},{lightness:38},{visibility:"off"}]},{},{},{},{},{},{},{},{},{},{},{},{elementType:"labels"},{featureType:"poi.sports_complex",stylers:[{color:"#9e5916"},{lightness:32}]},{},{featureType:"poi.government",stylers:[{color:"#9e5916"},{lightness:46}]},{featureType:"transit.station",stylers:[{visibility:"off"}]},{featureType:"transit.line",stylers:[{color:"#813033"},{lightness:22}]},{featureType:"transit",stylers:[{lightness:38}]},{featureType:"road.local",elementType:"geometry.stroke",stylers:[{color:"#f19f53"},{lightness:-10}]},{},{},{}],twotone:[{stylers:[{hue:"#007fff"},{saturation:89}]},{featureType:"water",stylers:[{color:"#ffffff"}]},{featureType:"administrative.country",elementType:"labels",stylers:[{visibility:"off"}]}]},l4=[{label:(0,Y.__)("Google Themes","essential-blocks"),value:"google_theme"},{label:(0,Y.__)("Snazzy Maps Themes","essential-blocks"),value:"snazzy_theme"}],i4="typTl_",s4="typCn_";function b4(e){return b4="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},b4(e)}function p4(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function u4(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?p4(Object(a),!0).forEach((function(t){d4(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):p4(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function d4(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=b4(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=b4(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==b4(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var m4=window.EBControls,g4=m4.generateDimensionsAttributes,f4=m4.generateTypographyAttributes,y4=m4.generateBackgroundAttributes,v4=m4.generateBorderShadowAttributes;m4.generateResponsiveRangeAttributes;const h4=u4(u4(u4(u4(u4(u4({resOption:{type:"string",default:"Desktop"},uniqueIdNumber:{type:"number"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},searchAddress:{type:"string",default:"New York, NY, USA"},latitude:{type:"string",default:"40.7127753"},longitude:{type:"string",default:"-74.0059728"},mapType:{type:"string",default:"roadmap"},mapZoom:{type:"string",default:"13"},mapHeight:{type:"string",default:"400"},marker:{type:"array",default:[]},titleColor:{type:"string",default:"var(--eb-global-heading-color)"},titleHoverColor:{type:"string",default:"var(--eb-global-link-color)"},descColor:{type:"string",default:"var(--eb-global-text-color)"},descHoverColor:{type:"string"},imageSize:{type:"number",default:32},googlemMapStyle:{type:"string",default:"standard"},googleMapStyle:{type:"string",default:"standard"},snazzyMapStyle:{type:"string",default:"default"},themeSource:{type:"string",default:"google_theme"}},g4(t4)),g4(a4)),y4(K5)),v4(e4)),f4(Object.values(I))),{},{cover:{type:"string",default:""}});function w4(e){return w4="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},w4(e)}function k4(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function R4(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=w4(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=w4(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==w4(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function _4(e){return function(e){if(Array.isArray(e))return C4(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||E4(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E4(e,t){if(e){if("string"==typeof e)return C4(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?C4(e,t):void 0}}function C4(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}var x4=window.EBControls.ImageAvatar,S4={fontSize:14,borderLeft:"1px solid #b4b4cb",lineHeight:"2.5em",flex:2,textAlign:"center",display:"flex",justifyContent:"center"},B4=function(e){var t=e.position,a=e.onDeleteItem;return React.createElement("span",{className:"eb-social-delete-icon",style:S4,onClick:function(){return a(t)}},React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0",y:"0",enableBackground:"new 0 0 512 512",version:"1.1",viewBox:"0 0 512 512",xmlSpace:"preserve",style:{width:14}},React.createElement("path",{d:"M423.3 86.6H89c-16.8.1-32.2 9.3-40.1 24.1-7.9 14.8-7.1 32.7 2.2 46.8l37.2 55.6V456c0 30.9 25.1 56 56 56h223.9c30.9 0 56-25.1 56-56V213.1l37.2-56c9.1-14 9.8-31.8 1.9-46.5-8.1-14.7-23.4-23.9-40-24zm-198 347c0 13.9-11.3 25.2-25.2 25.2-13.9 0-25.2-11.3-25.2-25.2V220.9c0-13.9 11.3-25.2 25.2-25.2 13.9 0 25.2 11.3 25.2 25.2v212.7zm112 0c0 13.9-11.3 25.2-25.2 25.2-13.9 0-25.2-11.3-25.2-25.2V220.9c0-13.9 11.3-25.2 25.2-25.2 13.9 0 25.2 11.3 25.2 25.2v212.7zM325.8 19.4C309.9 7.1 290.2 0 269.3 0h-26.4c-20.9 0-40.6 7.1-56.5 19.4-11.2 8.7-20.5 20.1-26.9 33.4h193.1c-6.3-13.3-15.6-24.7-26.8-33.4z",style:{fill:"#FF6464"}})))},T4=function(e){var t=e.marker,a=e.map,n=e.position,o=e.onTitleClick,r=e.clickedIndex,c=e.onDeleteItem,l=e.onMarkerChange,i=(0,J.useRef)(null);return React.createElement("li",{className:"drag-helper"},React.createElement("span",{className:"eb-sortable-item"},React.createElement("span",{className:"eb-sortable-title",onClick:function(){return o(n)}},t.title),React.createElement(B4,{position:n,onDeleteItem:c})),r===n&&React.createElement("div",{className:"eb-google-map-marker-wrapper"},React.createElement(X.TextControl,{label:(0,Y.__)("Location","essential-blocks"),value:t.location,onChange:function(e){return l("location",e,n)},ref:i,onFocus:function(){var e=new window.google.maps.places.SearchBox(i.current);e.addListener("places_changed",(function(){var t=e.getPlaces();t&&0<t.length&&t.forEach((function(e){var t=e.geometry.location.lat(),o=e.geometry.location.lng(),r=new window.google.maps.LatLng(t,o);a.setCenter(r),l("location",e.formatted_address||e.name,n),l("latitude",t.toString(),n),l("longitude",o.toString(),n)}))}))}}),React.createElement(X.TextControl,{label:(0,Y.__)("Latitude","essential-blocks"),value:t.latitude,onChange:function(e){return l("latitude",e,n)}}),React.createElement(X.TextControl,{label:(0,Y.__)("Longitude","essential-blocks"),value:t.longitude,onChange:function(e){return l("longitude",e,n)}}),React.createElement(X.TextControl,{label:(0,Y.__)("Title","essential-blocks"),value:t.title,onChange:function(e){return l("title",e,n)}}),React.createElement(X.TextareaControl,{label:(0,Y.__)("Description","essential-blocks"),value:t.content,onChange:function(e){return l("content",e,n)}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Use Custom Marker Image","essentail-blocks"),checked:"true"===t.showCustomIcon,onChange:function(e){l("showCustomIcon",e.toString(),n)}}),"true"===t.showCustomIcon&&React.createElement(React.Fragment,null,React.createElement(Q.MediaUpload,{onSelect:function(e){e.id;var t=e.url;return l("imageUrl",t,n)},type:"image",value:t.url,render:function(e){var a=e.open;return t.imageUrl?React.createElement(x4,{imageUrl:t.imageUrl,onDeleteImage:function(e){return l("imageUrl",null,n)}}):React.createElement(X.Button,{className:"eb-background-control-inspector-panel-img-btn components-button",label:(0,Y.__)("Upload Image","essential-blocks"),icon:"format-image",onClick:a})}})),"true"!==t.showCustomIcon&&React.createElement(X.SelectControl,{label:(0,Y.__)("Map Marker","essential-blocks"),value:t.icon||"https://maps.google.com/mapfiles/ms/icons/red-dot.png",options:[{label:(0,Y.__)("Red","essential-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/red-dot.png"},{label:(0,Y.__)("Blue","essential-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/blue-dot.png"},{label:(0,Y.__)("Yellow","essential-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/yellow-dot.png"},{label:(0,Y.__)("Green","essential-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/green-dot.png"},{label:(0,Y.__)("Orange","essential-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/orange-dot.png"}],onChange:function(e){return l("icon",e,n)}})))};const N4=function(e){var t,a,n=e.marker,o=e.map,r=e.setAttributes,c=(t=(0,J.useState)(0),a=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,r,c,l=[],i=!0,s=!1;try{if(r=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;i=!1}else for(;!(i=(n=r.call(a)).done)&&(l.push(n.value),l.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{if(!i&&null!=a.return&&(c=a.return(),Object(c)!==c))return}finally{if(s)throw o}}return l}}(t,a)||E4(t,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),l=c[0],i=c[1],s=function(e){var t=_4(n).filter((function(t,a){return e!==a}));r({marker:t})},b=function(e,t,a){var o=function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?k4(Object(a),!0).forEach((function(t){R4(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):k4(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}({},n[a]),c=_4(n);c[a]=o,c[a][e]=t,r({marker:c})},p=function(e){i(l===e?null:e)};return React.createElement("ul",{className:"eb-sortable-google-map-marker"},n.map((function(e,t){return React.createElement(T4,{key:"item-".concat(t),map:o,index:t,position:t,onTitleClick:p,onMarkerChange:b,marker:e,clickedIndex:l,onDeleteItem:s})})))};function P4(e,t){if(e){if("string"==typeof e)return O4(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?O4(e,t):void 0}}function O4(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}var M4=EBControls,D4=M4.ColorControl,j4=M4.ResponsiveDimensionsControl,I4=M4.BorderShadowControl,A4=M4.TypographyDropdown,L4=M4.BackgroundControl,F4=M4.AdvancedControls;const H4=function(e){var t,a,n=e.attributes,o=e.setAttributes,r=e.map,c=n.resOption,l=n.mapType,i=n.mapZoom,s=n.mapHeight,b=n.marker,p=n.titleColor,u=n.titleHoverColor,d=n.descColor,m=n.imageSize,g=n.googleMapStyle,f=n.snazzyMapStyle,y=n.themeSource,v={setAttributes:o,resOption:c,attributes:n,objAttributes:h4},h=(t=(0,J.useState)(""),a=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,r,c,l=[],i=!0,s=!1;try{if(r=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;i=!1}else for(;!(i=(n=r.call(a)).done)&&(l.push(n.value),l.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{if(!i&&null!=a.return&&(c=a.return(),Object(c)!==c))return}finally{if(s)throw o}}return l}}(t,a)||P4(t,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),w=h[0],k=h[1];return(0,J.useEffect)((function(){var e=new FormData;e.append("action","google_map_api_key"),e.append("admin_nonce",EssentialBlocksLocalize.admin_nonce),fetch(EssentialBlocksLocalize.ajax_url,{method:"POST",body:e}).then((function(e){return e.text()})).then((function(e){var t=JSON.parse(e);t.success&&t.data&&k(t.data)})).catch((function(e){return console.log(e)}))}),[]),(0,J.useRef)(null),React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:(0,Y.__)("General","essential-blocks"),className:"eb-tab general"},{name:"styles",title:(0,Y.__)("Style","essential-blocks"),className:"eb-tab styles"},{name:"advance",title:(0,Y.__)("Advanced","essential-blocks"),className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls "+e.name},"general"===e.name&&React.createElement(React.Fragment,null,!w&&React.createElement(X.PanelBody,{title:(0,Y.__)("Google Map","essential-blocks"),initialOpen:!0},React.createElement(X.Card,null,React.createElement(X.CardBody,null,React.createElement("p",null,(0,Y.__)("Please add your own Google Map API ","essential-blocks")," ",React.createElement(X.ExternalLink,{href:"".concat(EssentialBlocksLocalize.eb_admin_url,"admin.php?page=essential-blocks&tab=options")},(0,Y.__)("here.")))))),React.createElement(X.PanelBody,{title:(0,Y.__)("Addresses","essential-blocks")},React.createElement(N4,{marker:b,setAttributes:o,map:r}),React.createElement("hr",null),React.createElement(X.Button,{className:"is-default eb-google-map-marker-add-wrapper",label:(0,Y.__)("Add Address","essential-blocks"),icon:"plus-alt",onClick:function(){var e=[].concat(function(e){return function(e){if(Array.isArray(e))return O4(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||P4(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(b),[{title:"Address ".concat(b.length+1)}]);o({marker:e})}},React.createElement("span",{className:"eb-google-map-marker-button"},"Add Address"))),React.createElement(X.PanelBody,{title:(0,Y.__)("Map Settings","essential-blocks")},React.createElement(X.SelectControl,{label:(0,Y.__)("Map Type","essential-blocks"),value:l,options:[{label:(0,Y.__)("Road Map","essential-blocks"),value:"roadmap"},{label:(0,Y.__)("Satellite View","essential-blocks"),value:"satellite"},{label:(0,Y.__)("Hybrid","essential-blocks"),value:"hybrid"},{label:(0,Y.__)("Terrain","essential-blocks"),value:"terrain"}],onChange:function(e){return function(e){e&&(o({mapType:e}),r.setMapTypeId(window.google.maps.MapTypeId[l.toUpperCase()]))}(e)}}),b.length<=1&&React.createElement(X.RangeControl,{label:(0,Y.__)("Map Zoom Level","essential-blocks"),value:parseInt(i),onChange:function(e){return function(e){e?(o({mapZoom:e.toString()}),r.setZoom(parseInt(i))):o({mapZoom:"13"})}(e)},min:0,max:20,allowReset:!0}),React.createElement(X.RangeControl,{label:(0,Y.__)("Map Height","essential-blocks"),value:parseInt(s),onChange:function(e){o({mapHeight:e?e.toString():"400"})},min:100,max:1400,allowReset:!0}),React.createElement(X.RangeControl,{label:(0,Y.__)("Marker Size","essential-blocks"),value:m,onChange:function(e){o({imageSize:e})},min:0,max:200,allowReset:!0}),React.createElement(X.__experimentalDivider,null),React.createElement(X.BaseControl,{label:(0,Y.__)("Theme Source","essential-blocks"),id:"eb-advance-heading-alignment"},React.createElement(X.ButtonGroup,{id:"eb-advance-heading-alignment"},l4.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:y===e.value,isSecondary:y!==e.value,onClick:function(){return o({themeSource:e.value})}},e.label)})))),"google_theme"===y&&React.createElement(X.SelectControl,{label:(0,Y.__)("Google Themes","essential-blocks"),value:g,options:(0,Qo.applyFilters)("eb_google_theme_style",n4),onChange:function(e){return o({googleMapStyle:e})}}),"snazzy_theme"===y&&React.createElement(X.SelectControl,{label:(0,Y.__)("Snazzy Themes","essential-blocks"),value:f,options:(0,Qo.applyFilters)("eb_snazzy_theme_style",o4),onChange:function(e){return o({snazzyMapStyle:e})}}))),"styles"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Info Card","essential-blocks"),initialOpen:!0},React.createElement(React.Fragment,null,React.createElement(D4,{label:(0,Y.__)("Title Color","essential-blocks"),color:p,onChange:function(e){return o({titleColor:e})}}),React.createElement(D4,{label:(0,Y.__)("Title Hover Color","essential-blocks"),color:u,onChange:function(e){return o({titleHoverColor:e})}}),React.createElement(A4,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:i4,resRequiredProps:v}),React.createElement(X.__experimentalDivider,null),React.createElement(D4,{label:(0,Y.__)("Description Color","essential-blocks"),color:d,onChange:function(e){return o({descColor:e})}}),React.createElement(A4,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:s4,resRequiredProps:v})))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Margin & Padding","essential-blocks")},React.createElement(j4,{resRequiredProps:v,controlName:t4,baseLabel:"Margin"}),React.createElement(j4,{resRequiredProps:v,controlName:a4,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Background ","essential-blocks"),initialOpen:!1},React.createElement(L4,{controlName:K5,resRequiredProps:v})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(I4,{controlName:e4,resRequiredProps:v})),React.createElement(F4,{attributes:n,setAttributes:o})))}))))};var z4=EBControls,q4=z4.softMinifyCssStrings,U4=z4.generateDimensionsControlStyles,V4=z4.generateBorderShadowStyles,W4=z4.generateTypographyStyles,G4=z4.generateBackgroundControlStyles,Z4=z4.StyleComponent;function Y4(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=(t.blockMeta,t.resOption,t.classHook,t.mapType,t.mapZoom,t.mapHeight,t.latitude,t.longitude,t.searchAddress,t.marker,t.titleColor),c=t.titleHoverColor,l=t.descColor,i=(t.imageSize,t.cover,t.themeSource,t.googleMapStyle,t.snazzyMapStyle,U4({attributes:t,controlName:t4,styleFor:"margin"})),s=i.dimensionStylesDesktop,b=i.dimensionStylesTab,p=i.dimensionStylesMobile,u=U4({attributes:t,controlName:a4,styleFor:"padding"}),d=u.dimensionStylesDesktop,m=u.dimensionStylesTab,g=u.dimensionStylesMobile,f=G4({attributes:t,controlName:K5}),y=f.backgroundStylesDesktop,v=f.hoverBackgroundStylesDesktop,h=f.backgroundStylesTab,w=f.hoverBackgroundStylesTab,k=f.backgroundStylesMobile,R=f.hoverBackgroundStylesMobile,_=f.overlayStylesDesktop,E=f.hoverOverlayStylesDesktop,C=f.overlayStylesTab,x=f.hoverOverlayStylesTab,S=f.overlayStylesMobile,B=f.hoverOverlayStylesMobile,T=f.bgTransitionStyle,N=f.ovlTransitionStyle,P=V4({controlName:e4,attributes:t}),O=P.styesDesktop,M=P.styesTab,D=P.styesMobile,j=P.stylesHoverDesktop,I=P.stylesHoverTab,A=P.stylesHoverMobile,L=P.transitionStyle,F=W4({attributes:t,prefixConstant:i4,defaultFontSize:"14"}),H=F.typoStylesDesktop,z=F.typoStylesTab,q=F.typoStylesMobile,U=W4({attributes:t,prefixConstant:s4,defaultFontSize:"13"}),V=U.typoStylesDesktop,W=U.typoStylesTab,G=U.typoStylesMobile,Z="\n\t.".concat(o,".eb-google-map-wrapper {\n\t\t").concat(s,"\n\t\t").concat(d,"\n\t\t").concat(y,"\n\t\t").concat(O,"\n\t\ttransition:").concat(T,", ").concat(L,";\n\t}\n\t.").concat(o,".eb-google-map-wrapper:hover{\n\t\t").concat(v,"\n\t\t").concat(j,"\n\t}\n\t.").concat(o,".eb-google-map-wrapper:before{\n\t\t").concat(_,"\n\t\ttransition:").concat(N,";\n\t}\n\t.").concat(o,".eb-google-map-wrapper:hover:before{\n\t\t").concat(E,"\n\t}\n\t.").concat(o,".eb-google-map-wrapper .eb-google-map-overview  .eb-google-map-overview-title {\n\t\tcolor: ").concat(r,";\n\t\t").concat(H,";\n\t}\n\t.").concat(o,".eb-google-map-wrapper .eb-google-map-overview  .eb-google-map-overview-title:hover {\n\t\tcolor: ").concat(c,";\n\t}\n\t.").concat(o,".eb-google-map-wrapper .eb-google-map-overview  .eb-google-map-overview-content {\n\t\tcolor: ").concat(l,";\n\t\t").concat(V,";\n\t}\n\t"),Y="\n\t.".concat(o,".eb-google-map-wrapper {\n\t\t").concat(b,"\n\t\t").concat(m,"\n\t\t").concat(h,"\n\t\t").concat(M,"\n\t}\n\t.").concat(o,".eb-google-map-wrapper:hover{\n\t\t").concat(w,"\n\t\t").concat(I,"\n\t}\n\t.").concat(o,".eb-google-map-wrapper:hover{\n\t\t").concat(R,"\n\t\t").concat(A,"\n\t}\n\t.").concat(o,".eb-google-map-wrapper:before{\n\t\t").concat(C,"\n\t}\n\t.").concat(o,".eb-google-map-wrapper:hover:before{\n\t\t").concat(x,"\n\t}\n\t.").concat(o,".eb-google-map-wrapper .eb-google-map-overview  .eb-google-map-overview-title {\n\t\t").concat(z,";\n\t}\n\t.").concat(o,".eb-google-map-wrapper .eb-google-map-overview  .eb-google-map-overview-content {\n\t\t").concat(W,";\n\t}\n\t"),J="\n\t.".concat(o,".eb-google-map-wrapper {\n\t\t").concat(p,"\n\t\t").concat(g,"\n\t\t").concat(k,"\n\t\t").concat(D,"\n\t}\n\t.").concat(o,".eb-google-map-wrapper:before{\n\t\t").concat(S,"\n\t}\n\n\t.").concat(o,".eb-google-map-wrapper:hover:before{\n\t\t").concat(B,"\n\t}\n\t.").concat(o,".eb-google-map-wrapper .eb-google-map-overview  .eb-google-map-overview-title {\n\t\t").concat(q,";\n\t}\n\t.").concat(o,".eb-google-map-wrapper .eb-google-map-overview  .eb-google-map-overview-content {\n\t\t").concat(G,";\n\t}\n\t"),Q=q4("\n\t\t".concat(Z,"\n\t")),X=q4("\n\t\t".concat(Y,"\n\t")),$=q4("\n\t\t".concat(J,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(Z4,{attributes:t,setAttributes:a,desktopAllStyles:Q,tabAllStyles:X,mobileAllStyles:$,blockName:n}))}function J4(e){return J4="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},J4(e)}function Q4(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function X4(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Q4(Object(a),!0).forEach((function(t){$4(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Q4(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function $4(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=J4(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=J4(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==J4(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function K4(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}var e6=EBControls,t6=(e6.duplicateBlockIdFix,e6.NoticeComponent),a6=e6.BlockProps;var n6=window.EBControls.BlockProps;const o6=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Google Maps","name":"essential-blocks/google-map","category":"essential-blocks","description":"Display locations from Google Maps seamlessly and style how they look to match your site design.","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');function r6(e){return r6="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r6(e)}function c6(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function l6(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?c6(Object(a),!0).forEach((function(t){i6(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):c6(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function i6(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=r6(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=r6(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==r6(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var s6=lodash.omit;const b6=[{attributes:l6({},h4),save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.mapType,r=t.mapZoom,c=t.mapHeight,l=t.latitude,i=t.longitude,s=t.searchAddress,b=t.imageSize,p=t.marker,u=t.googleMapStyle,d=t.snazzyMapStyle,m=t.themeSource;return React.createElement(React.Fragment,null,React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{id:a,className:"".concat(a," eb-google-map-wrapper"),"data-map-type":o,"data-map-zoom":r,"data-latitude":l,"data-longitude":i,"data-search-address":s,"data-marker":JSON.stringify(p),"data-image-size":b||32,"data-theme-source":m,"data-google-style":u,"data-snazzy-style":d,style:{height:"".concat(c,"px")}}))))}},{attributes:s6(l6({},h4),["googleMapStyle","snazzyMapStyle","themeSource"]),save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.mapType,r=t.mapZoom,c=t.mapHeight,l=t.latitude,i=t.longitude,s=t.searchAddress,b=t.imageSize,p=t.marker;return React.createElement(React.Fragment,null,React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{id:a,className:"".concat(a," eb-google-map-wrapper"),"data-map-type":o,"data-map-zoom":r,"data-latitude":l,"data-longitude":i,"data-search-address":s,"data-marker":JSON.stringify(p),"data-image-size":b||32,style:{height:"".concat(c,"px")}}))))}}];var p6;(0,EBControls.ebConditionalRegisterBlockType)(o6,{icon:$5,category:"essential-blocks",attributes:h4,keywords:[(0,Y.__)("eb google map","essential-blocks"),(0,Y.__)("essential","essential-blocks"),(0,Y.__)("map","essential-blocks")],edit:function(e){var t,a,n,o=e.attributes,r=e.setAttributes,c=(e.className,e.clientId,e.isSelected),l=(e.name,o.blockId),i=(o.blockMeta,o.resOption,o.classHook),s=o.mapType,b=o.mapZoom,p=o.mapHeight,u=o.latitude,d=o.longitude,m=o.searchAddress,g=o.marker,f=o.imageSize,y=o.cover,v=o.themeSource,h=o.googleMapStyle,w=o.snazzyMapStyle,k=(a=(0,J.useState)(!0),n=2,function(e){if(Array.isArray(e))return e}(a)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,r,c,l=[],i=!0,s=!1;try{if(r=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;i=!1}else for(;!(i=(n=r.call(a)).done)&&(l.push(n.value),l.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{if(!i&&null!=a.return&&(c=a.return(),Object(c)!==c))return}finally{if(s)throw o}}return l}}(a,n)||function(e,t){if(e){if("string"==typeof e)return K4(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?K4(e,t):void 0}}(a,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),R=k[0],_=k[1],E=X4(X4({},e),{},{blockPrefix:"eb-google-map",style:React.createElement(Y4,e)}),C=(0,J.useRef)(null),x=(0,J.useRef)(null);(0,J.useEffect)((function(){return x.current=!0,function(){x.current=!1}}),[]),(0,J.useEffect)((function(){x.current&&l&&S()}),[b,s,m,d,u,g,x,f,l,v,h,w]),(0,J.useEffect)((function(){if(!(g.length>0)){var e=[{title:m||(0,Y.__)("Marker 1","essential-block"),latitude:u,longitude:d,location:m}];r({marker:e})}}),[]);var S=function(){var e,t,a,n,o,r=null!==(e=null===(t=document.querySelector('iframe[name^="editor-canvas"]'))||void 0===t||null===(t=t.contentWindow)||void 0===t?void 0:t.document)&&void 0!==e?e:document;window.google&&r.getElementById(l)?(C.current=(null===(a=window)||void 0===a||null===(a=a.google)||void 0===a?void 0:a.maps)&&new window.google.maps.Map(r.getElementById(l),{center:{lat:Number(null===(n=g[0])||void 0===n?void 0:n.latitude)||Number(u),lng:Number(null===(o=g[0])||void 0===o?void 0:o.longitude)||Number(d)},gestureHandling:"cooperative",zoom:1===g.length?parseInt(b)||"13":0,mapTypeId:s,styles:"google_theme"===v?r4[h]:c4[w]}),g.length>0&&B(g)):_(!1)},B=function(e){if(Object.keys(e).length>0){var t,a,n=new google.maps.InfoWindow,o=f||32,r=new google.maps.LatLngBounds,c=function(){var c={url:("true"==e[a].showCustomIcon?e[a].imageUrl:e[a].icon)||"https://maps.google.com/mapfiles/ms/icons/red-dot.png",scaledSize:new google.maps.Size(o,o)};t=new google.maps.Marker({position:new google.maps.LatLng(e[a].latitude||u,e[a].longitude||d),title:e[a].title,icon:c,map:C.current});var l='<div class="eb-google-map-overview"><h6 class="eb-google-map-overview-title">'.concat(e[a].title,'</h6><div class="eb-google-map-overview-content">').concat(e[a].content?"<p>".concat(e[a].content,"</p>"):"","</div></div>");r.extend(t.getPosition()),0==a&&(n.setContent(l),n.open(C.current,t)),google.maps.event.addListener(t,"click",function(e,t){return function(){n.setContent(l),n.open(C.current,e)}}(t))};for(a=0;a<e.length;a++)c();e.length>1&&C.current.fitBounds(r)}};return y.length?React.createElement("div",null,React.createElement("img",{src:y,alt:"google map",style:{maxWidth:"100%"}})):React.createElement(React.Fragment,null,c&&React.createElement(H4,{key:"inspector",attributes:o,setAttributes:r,map:C.current}),React.createElement(a6.Edit,E,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(l," ").concat(i)},!R&&React.createElement(t6,{Icon:$5,title:"Google Maps",description:React.createElement(React.Fragment,null,"Please add your Google Map API ",React.createElement("a",{target:"_blank",href:"".concat(null===(t=EssentialBlocksLocalize)||void 0===t?void 0:t.eb_admin_url,"admin.php?page=essential-blocks&tab=options")},"Here")," to display Google Maps Block"),externalDocLink:"https://essential-blocks.com/docs/retrieve-google-maps-api",externalDocText:React.createElement(React.Fragment,null,"Learn more about Google Map API ",React.createElement(X.Dashicon,{icon:"external"}))}),R&&React.createElement("div",{id:l,className:"".concat(l," eb-google-map-wrapper"),style:{height:"".concat(p||400,"px")}}))))},save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.mapType,r=t.mapZoom,c=t.mapHeight,l=t.latitude,i=t.longitude,s=t.searchAddress,b=t.imageSize,p=t.marker,u=t.googleMapStyle,d=t.snazzyMapStyle,m=t.themeSource;return React.createElement(React.Fragment,null,React.createElement(n6.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{id:a,className:"".concat(a," eb-google-map-wrapper"),"data-map-type":o,"data-map-zoom":r,"data-latitude":l,"data-longitude":i,"data-search-address":s,"data-marker":JSON.stringify(p),"data-image-size":b||32,"data-theme-source":m,"data-google-style":u,"data-snazzy-style":d,style:{height:"".concat(c,"px")}}))))},example:{attributes:{cover:"".concat(null===(p6=EssentialBlocksLocalize)||void 0===p6?void 0:p6.image_url,"/block-preview/google-map.jpeg")}},deprecated:b6});var u6="wrprBg",d6="wrpMargin",m6="wrpPadding",g6="wrpBorderShadow",f6="width",y6="height",v6="imgBorderShadow",h6="captionMargin",w6="captionPadding",k6="captionTypo",R6="captionWidth",_6=((0,Y.__)("Top","eb-openverse-block"),(0,Y.__)("Middle","eb-openverse-block"),(0,Y.__)("Bottom","eb-openverse-block"),(0,Y.__)("Top","eb-openverse-block"),(0,Y.__)("Bottom","eb-openverse-block"),(0,Y.__)("Left","eb-openverse-block"),(0,Y.__)("Center","eb-openverse-block"),(0,Y.__)("Right","eb-openverse-block"),[{label:(0,Y.__)("Left","eb-openverse-block"),value:"left"},{label:(0,Y.__)("Center","eb-openverse-block"),value:"center"},{label:(0,Y.__)("Right","eb-openverse-block"),value:"right"}]),E6=[{label:(0,Y.__)("No Effect","eb-openverse-block"),value:"no-effect"},{label:(0,Y.__)("Zoom In","eb-openverse-block"),value:"zoom-in"},{label:(0,Y.__)("Zoom Out","eb-openverse-block"),value:"zoom-out"},{label:(0,Y.__)("Slide","eb-openverse-block"),value:"slide"},{label:(0,Y.__)("Blur","eb-openverse-block"),value:"blur"}],C6=[{label:"px",value:"px"},{label:"%",value:"%"}],x6=[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"}],S6=[{label:(0,Y.__)("Rounded","eb-openverse-block"),value:"rounded"},{label:(0,Y.__)("Square","eb-openverse-block"),value:"square"},{label:(0,Y.__)("Circle","eb-openverse-block"),value:"circle"},{label:(0,Y.__)("Octagon","eb-openverse-block"),value:"octagon"},{label:(0,Y.__)("Rhombus","eb-openverse-block"),value:"rhombus"},{label:(0,Y.__)("Triangle","eb-openverse-block"),value:"triangle"}],B6=[{label:(0,Y.__)("Style 1","eb-openverse-block"),value:"attribution-style-1"},{label:(0,Y.__)("Style 2","eb-openverse-block"),value:"attribution-style-2"}],T6=[{icon:[React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},React.createElement("g",{id:"icon",fill:"currentColor"},React.createElement("path",{d:"M15 0C6.716 0 0 6.716 0 15c0 8.283 6.716 15 15 15 8.284 0 15-6.717 15-15 0-8.284-6.716-15-15-15zm0 27.187C8.28 27.187 2.812 21.72 2.812 15c0-1.407.243-2.758.683-4.015l4.767 2.122a10.081 10.081 0 00-.198 1.991c0 5.988 4.47 7.675 7.282 7.675a7.314 7.314 0 004.217-1.32c.214-.153.407-.307.585-.464l-2.187-2.657a2.496 2.496 0 01-.2.206c-.85.806-1.785.806-1.994.806-2.288 0-3.246-2.414-3.258-4.348l13.137 5.85c.015.002.028.002.041.005-2.073 3.774-6.086 6.336-10.687 6.336zm11.745-9.073l-13.55-6.048c.489-.885 1.267-1.55 2.431-1.55.675 0 1.21.223 1.632.506.175.126.327.252.456.38l2.442-2.514c-1.64-1.41-3.505-1.663-4.725-1.663-2.866 0-4.895 1.24-6.09 3.121L4.81 8.326C6.99 5.007 10.743 2.811 15 2.811c6.72 0 12.188 5.467 12.188 12.188 0 1.088-.145 2.14-.414 3.145-.011-.01-.018-.02-.03-.03z"})))],label:(0,Y.__)("Public Domain Mark","eb-openverse-block"),value:"pdm"},{icon:[React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},React.createElement("g",{id:"icon",fill:"currentColor"},React.createElement("path",{d:"M14.972 0c4.196 0 7.769 1.465 10.715 4.393A14.426 14.426 0 0128.9 9.228C29.633 11.04 30 12.964 30 15c0 2.054-.363 3.978-1.085 5.772a13.77 13.77 0 01-3.2 4.754 15.417 15.417 0 01-4.983 3.322A14.932 14.932 0 0114.973 30c-1.982 0-3.88-.38-5.692-1.14a15.087 15.087 0 01-4.875-3.293c-1.437-1.437-2.531-3.058-3.281-4.862A14.71 14.71 0 010 15c0-1.982.38-3.888 1.138-5.719a15.062 15.062 0 013.308-4.915C7.303 1.456 10.812 0 14.972 0zm.055 2.706c-3.429 0-6.313 1.196-8.652 3.589a12.896 12.896 0 00-2.72 4.031 11.814 11.814 0 00-.95 4.675c0 1.607.316 3.156.95 4.646a12.428 12.428 0 002.72 3.992 12.362 12.362 0 003.99 2.679c1.483.616 3.037.924 4.662.924 1.607 0 3.164-.312 4.675-.937a12.954 12.954 0 004.084-2.705c2.339-2.286 3.508-5.152 3.508-8.6 0-1.66-.304-3.231-.91-4.713a11.994 11.994 0 00-2.651-3.965c-2.412-2.41-5.314-3.616-8.706-3.616zm-.188 9.803l-2.01 1.045c-.215-.445-.477-.758-.79-.937-.312-.178-.602-.268-.87-.268-1.34 0-2.01.884-2.01 2.652 0 .803.17 1.446.509 1.928.34.482.84.724 1.5.724.876 0 1.492-.43 1.85-1.286l1.847.937a4.407 4.407 0 01-1.634 1.728c-.696.42-1.464.63-2.303.63-1.34 0-2.42-.41-3.242-1.233-.821-.82-1.232-1.964-1.232-3.428 0-1.428.416-2.562 1.246-3.401.83-.84 1.879-1.26 3.147-1.26 1.858 0 3.188.723 3.992 2.17zm8.652 0l-1.983 1.045c-.214-.445-.478-.758-.79-.937-.313-.178-.613-.268-.897-.268-1.34 0-2.01.884-2.01 2.652 0 .803.17 1.446.51 1.928.338.482.838.724 1.5.724.874 0 1.49-.43 1.847-1.286l1.875.937a4.606 4.606 0 01-1.66 1.728c-.696.42-1.455.63-2.277.63-1.357 0-2.441-.41-3.253-1.233-.814-.82-1.22-1.964-1.22-3.428 0-1.428.415-2.562 1.246-3.401.83-.84 1.879-1.26 3.147-1.26 1.857 0 3.18.723 3.965 2.17z"}))),React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},React.createElement("g",{id:"icon",fill:"currentColor"},React.createElement("path",{d:"M4.443 4.36C7.3 1.447 10.807 0 14.97 0c4.196 0 7.777 1.462 10.725 4.39a14.365 14.365 0 013.214 4.843C29.639 11.037 30 12.964 30 15c0 2.055-.36 3.984-1.093 5.788-.714 1.785-1.781 3.362-3.193 4.737a15.399 15.399 0 01-4.978 3.32A14.972 14.972 0 0114.969 30c-1.983 0-3.883-.374-5.705-1.125-1.804-.767-3.428-1.869-4.874-3.298-1.428-1.446-2.516-3.069-3.266-4.873A14.701 14.701 0 010 15c0-1.982.374-3.882 1.124-5.704a15.224 15.224 0 013.32-4.937zM23.73 6.312C21.319 3.903 18.424 2.7 15.03 2.7c-3.429 0-6.316 1.2-8.655 3.591a13.054 13.054 0 00-2.731 4.044A11.899 11.899 0 002.7 15c0 1.607.32 3.154.945 4.653a12.806 12.806 0 002.73 3.992 12.651 12.651 0 003.993 2.68c1.482.607 3.038.913 4.663.913 1.608 0 3.154-.31 4.654-.935a12.9 12.9 0 004.097-2.71C26.12 21.307 27.3 18.447 27.3 15c0-1.66-.306-3.234-.914-4.716a12.033 12.033 0 00-2.657-3.97zM8.802 15c0-3.961 1.246-8.634 6.198-8.634s6.197 4.673 6.197 8.634c0 3.962-1.245 8.634-6.197 8.634-4.953 0-6.198-4.672-6.198-8.634zm6.755-5.305A2.291 2.291 0 0015 9.622c-2.547 0-2.668 3.633-2.668 5.377 0 .562.014 1.313.116 2.08l3.298-6.06c.342-.592.168-1.016-.19-1.324zM17.668 15c0-.683-.025-1.654-.2-2.584l-3.686 6.366c-.514.772-.157 1.209.41 1.45.05.02.105.037.157.052l.095.031c.172.043.356.064.557.064 2.546 0 2.667-3.634 2.667-5.379z"})))],label:(0,Y.__)("CC0","eb-openverse-block"),value:"cc0"},{icon:[React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},React.createElement("g",{id:"icon",fill:"currentColor"},React.createElement("path",{d:"M14.972 0c4.196 0 7.769 1.465 10.715 4.393A14.426 14.426 0 0128.9 9.228C29.633 11.04 30 12.964 30 15c0 2.054-.363 3.978-1.085 5.772a13.77 13.77 0 01-3.2 4.754 15.417 15.417 0 01-4.983 3.322A14.932 14.932 0 0114.973 30c-1.982 0-3.88-.38-5.692-1.14a15.087 15.087 0 01-4.875-3.293c-1.437-1.437-2.531-3.058-3.281-4.862A14.71 14.71 0 010 15c0-1.982.38-3.888 1.138-5.719a15.062 15.062 0 013.308-4.915C7.303 1.456 10.812 0 14.972 0zm.055 2.706c-3.429 0-6.313 1.196-8.652 3.589a12.896 12.896 0 00-2.72 4.031 11.814 11.814 0 00-.95 4.675c0 1.607.316 3.156.95 4.646a12.428 12.428 0 002.72 3.992 12.362 12.362 0 003.99 2.679c1.483.616 3.037.924 4.662.924 1.607 0 3.164-.312 4.675-.937a12.954 12.954 0 004.084-2.705c2.339-2.286 3.508-5.152 3.508-8.6 0-1.66-.304-3.231-.91-4.713a11.994 11.994 0 00-2.651-3.965c-2.412-2.41-5.314-3.616-8.706-3.616zm-.188 9.803l-2.01 1.045c-.215-.445-.477-.758-.79-.937-.312-.178-.602-.268-.87-.268-1.34 0-2.01.884-2.01 2.652 0 .803.17 1.446.509 1.928.34.482.84.724 1.5.724.876 0 1.492-.43 1.85-1.286l1.847.937a4.407 4.407 0 01-1.634 1.728c-.696.42-1.464.63-2.303.63-1.34 0-2.42-.41-3.242-1.233-.821-.82-1.232-1.964-1.232-3.428 0-1.428.416-2.562 1.246-3.401.83-.84 1.879-1.26 3.147-1.26 1.858 0 3.188.723 3.992 2.17zm8.652 0l-1.983 1.045c-.214-.445-.478-.758-.79-.937-.313-.178-.613-.268-.897-.268-1.34 0-2.01.884-2.01 2.652 0 .803.17 1.446.51 1.928.338.482.838.724 1.5.724.874 0 1.49-.43 1.847-1.286l1.875.937a4.606 4.606 0 01-1.66 1.728c-.696.42-1.455.63-2.277.63-1.357 0-2.441-.41-3.253-1.233-.814-.82-1.22-1.964-1.22-3.428 0-1.428.415-2.562 1.246-3.401.83-.84 1.879-1.26 3.147-1.26 1.857 0 3.18.723 3.965 2.17z"}))),React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},React.createElement("g",{id:"icon",fill:"currentColor"},React.createElement("path",{d:"M14.973 0c4.213 0 7.768 1.446 10.66 4.34C28.544 7.25 30 10.803 30 15c0 4.215-1.43 7.723-4.287 10.526C22.678 28.51 19.098 30 14.973 30c-4.054 0-7.571-1.474-10.553-4.42C1.474 22.633 0 19.107 0 15S1.474 7.34 4.42 4.34C7.313 1.446 10.83 0 14.973 0zm.054 2.706c-3.41 0-6.295 1.196-8.652 3.589-2.447 2.5-3.67 5.402-3.67 8.706 0 3.321 1.214 6.196 3.642 8.624 2.429 2.429 5.322 3.642 8.679 3.642 3.339 0 6.25-1.222 8.732-3.67 2.358-2.267 3.536-5.133 3.536-8.598 0-3.41-1.197-6.311-3.589-8.705-2.392-2.392-5.285-3.588-8.678-3.588zm4.018 8.57v6.134H17.33v7.286h-4.66V17.41h-1.714v-6.134a.93.93 0 01.28-.683.933.933 0 01.684-.281h6.161c.25 0 .474.093.67.28a.912.912 0 01.294.684zM12.91 7.42c0-1.41.696-2.116 2.09-2.116s2.09.705 2.09 2.116c0 1.393-.697 2.09-2.09 2.09-1.393 0-2.09-.697-2.09-2.09z"})))],label:(0,Y.__)("CC BY","eb-openverse-block"),value:"by"},{icon:[React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},React.createElement("g",{id:"icon",fill:"currentColor"},React.createElement("path",{d:"M14.972 0c4.196 0 7.769 1.465 10.715 4.393A14.426 14.426 0 0128.9 9.228C29.633 11.04 30 12.964 30 15c0 2.054-.363 3.978-1.085 5.772a13.77 13.77 0 01-3.2 4.754 15.417 15.417 0 01-4.983 3.322A14.932 14.932 0 0114.973 30c-1.982 0-3.88-.38-5.692-1.14a15.087 15.087 0 01-4.875-3.293c-1.437-1.437-2.531-3.058-3.281-4.862A14.71 14.71 0 010 15c0-1.982.38-3.888 1.138-5.719a15.062 15.062 0 013.308-4.915C7.303 1.456 10.812 0 14.972 0zm.055 2.706c-3.429 0-6.313 1.196-8.652 3.589a12.896 12.896 0 00-2.72 4.031 11.814 11.814 0 00-.95 4.675c0 1.607.316 3.156.95 4.646a12.428 12.428 0 002.72 3.992 12.362 12.362 0 003.99 2.679c1.483.616 3.037.924 4.662.924 1.607 0 3.164-.312 4.675-.937a12.954 12.954 0 004.084-2.705c2.339-2.286 3.508-5.152 3.508-8.6 0-1.66-.304-3.231-.91-4.713a11.994 11.994 0 00-2.651-3.965c-2.412-2.41-5.314-3.616-8.706-3.616zm-.188 9.803l-2.01 1.045c-.215-.445-.477-.758-.79-.937-.312-.178-.602-.268-.87-.268-1.34 0-2.01.884-2.01 2.652 0 .803.17 1.446.509 1.928.34.482.84.724 1.5.724.876 0 1.492-.43 1.85-1.286l1.847.937a4.407 4.407 0 01-1.634 1.728c-.696.42-1.464.63-2.303.63-1.34 0-2.42-.41-3.242-1.233-.821-.82-1.232-1.964-1.232-3.428 0-1.428.416-2.562 1.246-3.401.83-.84 1.879-1.26 3.147-1.26 1.858 0 3.188.723 3.992 2.17zm8.652 0l-1.983 1.045c-.214-.445-.478-.758-.79-.937-.313-.178-.613-.268-.897-.268-1.34 0-2.01.884-2.01 2.652 0 .803.17 1.446.51 1.928.338.482.838.724 1.5.724.874 0 1.49-.43 1.847-1.286l1.875.937a4.606 4.606 0 01-1.66 1.728c-.696.42-1.455.63-2.277.63-1.357 0-2.441-.41-3.253-1.233-.814-.82-1.22-1.964-1.22-3.428 0-1.428.415-2.562 1.246-3.401.83-.84 1.879-1.26 3.147-1.26 1.857 0 3.18.723 3.965 2.17z"}))),React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},React.createElement("g",{id:"icon",fill:"currentColor"},React.createElement("path",{d:"M14.973 0c4.213 0 7.768 1.446 10.66 4.34C28.544 7.25 30 10.803 30 15c0 4.215-1.43 7.723-4.287 10.526C22.678 28.51 19.098 30 14.973 30c-4.054 0-7.571-1.474-10.553-4.42C1.474 22.633 0 19.107 0 15S1.474 7.34 4.42 4.34C7.313 1.446 10.83 0 14.973 0zm.054 2.706c-3.41 0-6.295 1.196-8.652 3.589-2.447 2.5-3.67 5.402-3.67 8.706 0 3.321 1.214 6.196 3.642 8.624 2.429 2.429 5.322 3.642 8.679 3.642 3.339 0 6.25-1.222 8.732-3.67 2.358-2.267 3.536-5.133 3.536-8.598 0-3.41-1.197-6.311-3.589-8.705-2.392-2.392-5.285-3.588-8.678-3.588zm4.018 8.57v6.134H17.33v7.286h-4.66V17.41h-1.714v-6.134a.93.93 0 01.28-.683.933.933 0 01.684-.281h6.161c.25 0 .474.093.67.28a.912.912 0 01.294.684zM12.91 7.42c0-1.41.696-2.116 2.09-2.116s2.09.705 2.09 2.116c0 1.393-.697 2.09-2.09 2.09-1.393 0-2.09-.697-2.09-2.09z"}))),React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},React.createElement("g",{id:"icon",fill:"currentColor"},React.createElement("path",{d:"M14.973 0c4.196 0 7.75 1.455 10.66 4.366C28.544 7.26 30 10.804 30 15c0 4.197-1.43 7.714-4.287 10.553C22.696 28.518 19.115 30 14.973 30c-4.054 0-7.571-1.473-10.553-4.42C1.474 22.634 0 19.108 0 15c0-4.088 1.474-7.633 4.42-10.633C7.33 1.455 10.848 0 14.973 0zm.054 2.706c-3.41 0-6.295 1.205-8.652 3.616-2.447 2.483-3.67 5.375-3.67 8.678 0 3.34 1.214 6.214 3.642 8.625 2.429 2.43 5.322 3.643 8.679 3.643 3.339 0 6.25-1.223 8.732-3.67 2.358-2.285 3.536-5.151 3.536-8.598 0-3.428-1.197-6.321-3.589-8.678-2.375-2.412-5.268-3.616-8.678-3.616zM8.33 12.884c.286-1.84 1.026-3.264 2.223-4.273 1.196-1.008 2.651-1.513 4.366-1.513 2.356 0 4.232.76 5.625 2.277 1.393 1.517 2.09 3.464 2.09 5.839 0 2.304-.724 4.219-2.17 5.745-1.447 1.526-3.321 2.29-5.626 2.29-1.696 0-3.16-.508-4.392-1.527-1.233-1.018-1.973-2.464-2.224-4.339H12c.09 1.822 1.187 2.733 3.295 2.733 1.053 0 1.902-.456 2.544-1.366.644-.91.965-2.126.965-3.643 0-1.59-.294-2.799-.883-3.63-.59-.83-1.437-1.245-2.545-1.245-2.001 0-3.126.884-3.375 2.651h1.098l-2.973 2.973-2.973-2.973H8.33z"})))],label:(0,Y.__)("CC BY-SA","eb-openverse-block"),value:"by-sa"},{icon:[React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},React.createElement("g",{id:"icon",fill:"currentColor"},React.createElement("path",{d:"M14.972 0c4.196 0 7.769 1.465 10.715 4.393A14.426 14.426 0 0128.9 9.228C29.633 11.04 30 12.964 30 15c0 2.054-.363 3.978-1.085 5.772a13.77 13.77 0 01-3.2 4.754 15.417 15.417 0 01-4.983 3.322A14.932 14.932 0 0114.973 30c-1.982 0-3.88-.38-5.692-1.14a15.087 15.087 0 01-4.875-3.293c-1.437-1.437-2.531-3.058-3.281-4.862A14.71 14.71 0 010 15c0-1.982.38-3.888 1.138-5.719a15.062 15.062 0 013.308-4.915C7.303 1.456 10.812 0 14.972 0zm.055 2.706c-3.429 0-6.313 1.196-8.652 3.589a12.896 12.896 0 00-2.72 4.031 11.814 11.814 0 00-.95 4.675c0 1.607.316 3.156.95 4.646a12.428 12.428 0 002.72 3.992 12.362 12.362 0 003.99 2.679c1.483.616 3.037.924 4.662.924 1.607 0 3.164-.312 4.675-.937a12.954 12.954 0 004.084-2.705c2.339-2.286 3.508-5.152 3.508-8.6 0-1.66-.304-3.231-.91-4.713a11.994 11.994 0 00-2.651-3.965c-2.412-2.41-5.314-3.616-8.706-3.616zm-.188 9.803l-2.01 1.045c-.215-.445-.477-.758-.79-.937-.312-.178-.602-.268-.87-.268-1.34 0-2.01.884-2.01 2.652 0 .803.17 1.446.509 1.928.34.482.84.724 1.5.724.876 0 1.492-.43 1.85-1.286l1.847.937a4.407 4.407 0 01-1.634 1.728c-.696.42-1.464.63-2.303.63-1.34 0-2.42-.41-3.242-1.233-.821-.82-1.232-1.964-1.232-3.428 0-1.428.416-2.562 1.246-3.401.83-.84 1.879-1.26 3.147-1.26 1.858 0 3.188.723 3.992 2.17zm8.652 0l-1.983 1.045c-.214-.445-.478-.758-.79-.937-.313-.178-.613-.268-.897-.268-1.34 0-2.01.884-2.01 2.652 0 .803.17 1.446.51 1.928.338.482.838.724 1.5.724.874 0 1.49-.43 1.847-1.286l1.875.937a4.606 4.606 0 01-1.66 1.728c-.696.42-1.455.63-2.277.63-1.357 0-2.441-.41-3.253-1.233-.814-.82-1.22-1.964-1.22-3.428 0-1.428.415-2.562 1.246-3.401.83-.84 1.879-1.26 3.147-1.26 1.857 0 3.18.723 3.965 2.17z"}))),React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},React.createElement("g",{id:"icon",fill:"currentColor"},React.createElement("path",{d:"M14.973 0c4.213 0 7.768 1.446 10.66 4.34C28.544 7.25 30 10.803 30 15c0 4.215-1.43 7.723-4.287 10.526C22.678 28.51 19.098 30 14.973 30c-4.054 0-7.571-1.474-10.553-4.42C1.474 22.633 0 19.107 0 15S1.474 7.34 4.42 4.34C7.313 1.446 10.83 0 14.973 0zm.054 2.706c-3.41 0-6.295 1.196-8.652 3.589-2.447 2.5-3.67 5.402-3.67 8.706 0 3.321 1.214 6.196 3.642 8.624 2.429 2.429 5.322 3.642 8.679 3.642 3.339 0 6.25-1.222 8.732-3.67 2.358-2.267 3.536-5.133 3.536-8.598 0-3.41-1.197-6.311-3.589-8.705-2.392-2.392-5.285-3.588-8.678-3.588zm4.018 8.57v6.134H17.33v7.286h-4.66V17.41h-1.714v-6.134a.93.93 0 01.28-.683.933.933 0 01.684-.281h6.161c.25 0 .474.093.67.28a.912.912 0 01.294.684zM12.91 7.42c0-1.41.696-2.116 2.09-2.116s2.09.705 2.09 2.116c0 1.393-.697 2.09-2.09 2.09-1.393 0-2.09-.697-2.09-2.09z"}))),React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},React.createElement("g",{id:"icon",fill:"currentColor"},React.createElement("path",{d:"M14.973 0c4.196 0 7.75 1.455 10.66 4.366C28.544 7.26 30 10.804 30 15c0 4.197-1.43 7.714-4.287 10.553C22.696 28.518 19.115 30 14.973 30c-4.054 0-7.571-1.473-10.553-4.42C1.474 22.634 0 19.108 0 15c0-4.088 1.474-7.633 4.42-10.633C7.33 1.455 10.848 0 14.973 0zm.054 2.706c-3.41 0-6.295 1.205-8.652 3.616-2.447 2.483-3.67 5.375-3.67 8.678 0 3.34 1.214 6.214 3.642 8.625 2.429 2.43 5.322 3.643 8.679 3.643 3.339 0 6.25-1.223 8.732-3.67 2.358-2.285 3.536-5.15 3.536-8.598 0-3.428-1.197-6.321-3.589-8.678-2.375-2.412-5.268-3.616-8.678-3.616zm5.652 8.758v2.571H9.777v-2.571H20.68zm0 4.822v2.57H9.777v-2.57H20.68z"})))],label:(0,Y.__)("CC BY-ND","eb-openverse-block"),value:"by-nd"},{icon:[React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},React.createElement("g",{id:"icon",fill:"currentColor"},React.createElement("path",{d:"M14.972 0c4.196 0 7.769 1.465 10.715 4.393A14.426 14.426 0 0128.9 9.228C29.633 11.04 30 12.964 30 15c0 2.054-.363 3.978-1.085 5.772a13.77 13.77 0 01-3.2 4.754 15.417 15.417 0 01-4.983 3.322A14.932 14.932 0 0114.973 30c-1.982 0-3.88-.38-5.692-1.14a15.087 15.087 0 01-4.875-3.293c-1.437-1.437-2.531-3.058-3.281-4.862A14.71 14.71 0 010 15c0-1.982.38-3.888 1.138-5.719a15.062 15.062 0 013.308-4.915C7.303 1.456 10.812 0 14.972 0zm.055 2.706c-3.429 0-6.313 1.196-8.652 3.589a12.896 12.896 0 00-2.72 4.031 11.814 11.814 0 00-.95 4.675c0 1.607.316 3.156.95 4.646a12.428 12.428 0 002.72 3.992 12.362 12.362 0 003.99 2.679c1.483.616 3.037.924 4.662.924 1.607 0 3.164-.312 4.675-.937a12.954 12.954 0 004.084-2.705c2.339-2.286 3.508-5.152 3.508-8.6 0-1.66-.304-3.231-.91-4.713a11.994 11.994 0 00-2.651-3.965c-2.412-2.41-5.314-3.616-8.706-3.616zm-.188 9.803l-2.01 1.045c-.215-.445-.477-.758-.79-.937-.312-.178-.602-.268-.87-.268-1.34 0-2.01.884-2.01 2.652 0 .803.17 1.446.509 1.928.34.482.84.724 1.5.724.876 0 1.492-.43 1.85-1.286l1.847.937a4.407 4.407 0 01-1.634 1.728c-.696.42-1.464.63-2.303.63-1.34 0-2.42-.41-3.242-1.233-.821-.82-1.232-1.964-1.232-3.428 0-1.428.416-2.562 1.246-3.401.83-.84 1.879-1.26 3.147-1.26 1.858 0 3.188.723 3.992 2.17zm8.652 0l-1.983 1.045c-.214-.445-.478-.758-.79-.937-.313-.178-.613-.268-.897-.268-1.34 0-2.01.884-2.01 2.652 0 .803.17 1.446.51 1.928.338.482.838.724 1.5.724.874 0 1.49-.43 1.847-1.286l1.875.937a4.606 4.606 0 01-1.66 1.728c-.696.42-1.455.63-2.277.63-1.357 0-2.441-.41-3.253-1.233-.814-.82-1.22-1.964-1.22-3.428 0-1.428.415-2.562 1.246-3.401.83-.84 1.879-1.26 3.147-1.26 1.857 0 3.18.723 3.965 2.17z"}))),React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},React.createElement("g",{id:"icon",fill:"currentColor"},React.createElement("path",{d:"M14.973 0c4.213 0 7.768 1.446 10.66 4.34C28.544 7.25 30 10.803 30 15c0 4.215-1.43 7.723-4.287 10.526C22.678 28.51 19.098 30 14.973 30c-4.054 0-7.571-1.474-10.553-4.42C1.474 22.633 0 19.107 0 15S1.474 7.34 4.42 4.34C7.313 1.446 10.83 0 14.973 0zm.054 2.706c-3.41 0-6.295 1.196-8.652 3.589-2.447 2.5-3.67 5.402-3.67 8.706 0 3.321 1.214 6.196 3.642 8.624 2.429 2.429 5.322 3.642 8.679 3.642 3.339 0 6.25-1.222 8.732-3.67 2.358-2.267 3.536-5.133 3.536-8.598 0-3.41-1.197-6.311-3.589-8.705-2.392-2.392-5.285-3.588-8.678-3.588zm4.018 8.57v6.134H17.33v7.286h-4.66V17.41h-1.714v-6.134a.93.93 0 01.28-.683.933.933 0 01.684-.281h6.161c.25 0 .474.093.67.28a.912.912 0 01.294.684zM12.91 7.42c0-1.41.696-2.116 2.09-2.116s2.09.705 2.09 2.116c0 1.393-.697 2.09-2.09 2.09-1.393 0-2.09-.697-2.09-2.09z"}))),React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},React.createElement("g",{id:"icon",fill:"currentColor"},React.createElement("path",{d:"M14.973 0c4.214 0 7.768 1.446 10.66 4.339C28.544 7.232 30 10.786 30 15c0 4.215-1.429 7.723-4.287 10.527C22.678 28.51 19.097 30 14.973 30c-4.072 0-7.59-1.482-10.553-4.446C1.474 22.607 0 19.09 0 15c0-4.107 1.474-7.66 4.42-10.66C7.313 1.446 10.83 0 14.973 0zM3.375 10.956c-.446 1.232-.67 2.58-.67 4.045 0 3.321 1.214 6.196 3.642 8.624 2.447 2.412 5.34 3.617 8.679 3.617 3.375 0 6.285-1.223 8.733-3.67.875-.839 1.561-1.714 2.061-2.626l-5.651-2.518a3.866 3.866 0 01-1.433 2.317c-.76.598-1.657.943-2.693 1.031v2.304h-1.74v-2.304c-1.661-.017-3.18-.615-4.554-1.794l2.063-2.089c.981.91 2.098 1.366 3.348 1.366.517 0 .96-.116 1.326-.349.366-.231.55-.615.55-1.151 0-.376-.135-.68-.402-.911l-1.447-.617-1.767-.804-2.384-1.044-7.661-3.427zm11.652-8.278c-3.41 0-6.295 1.206-8.652 3.616-.59.59-1.143 1.26-1.66 2.01l5.732 2.571a3.513 3.513 0 011.42-1.888c.695-.473 1.508-.737 2.437-.79V5.893h1.741v2.304c1.376.071 2.625.535 3.75 1.392L17.84 11.6c-.84-.59-1.697-.884-2.572-.884-.464 0-.88.09-1.245.267-.366.179-.55.483-.55.911 0 .125.045.25.134.375l1.902.858 1.313.59 2.41 1.07 7.687 3.429c.25-1.054.375-2.125.375-3.214 0-3.447-1.196-6.349-3.588-8.707-2.375-2.41-5.27-3.616-8.68-3.616z"})))],label:(0,Y.__)("CC BY-NC","eb-openverse-block"),value:"by-nc"},{icon:[React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},React.createElement("g",{id:"icon",fill:"currentColor"},React.createElement("path",{d:"M14.972 0c4.196 0 7.769 1.465 10.715 4.393A14.426 14.426 0 0128.9 9.228C29.633 11.04 30 12.964 30 15c0 2.054-.363 3.978-1.085 5.772a13.77 13.77 0 01-3.2 4.754 15.417 15.417 0 01-4.983 3.322A14.932 14.932 0 0114.973 30c-1.982 0-3.88-.38-5.692-1.14a15.087 15.087 0 01-4.875-3.293c-1.437-1.437-2.531-3.058-3.281-4.862A14.71 14.71 0 010 15c0-1.982.38-3.888 1.138-5.719a15.062 15.062 0 013.308-4.915C7.303 1.456 10.812 0 14.972 0zm.055 2.706c-3.429 0-6.313 1.196-8.652 3.589a12.896 12.896 0 00-2.72 4.031 11.814 11.814 0 00-.95 4.675c0 1.607.316 3.156.95 4.646a12.428 12.428 0 002.72 3.992 12.362 12.362 0 003.99 2.679c1.483.616 3.037.924 4.662.924 1.607 0 3.164-.312 4.675-.937a12.954 12.954 0 004.084-2.705c2.339-2.286 3.508-5.152 3.508-8.6 0-1.66-.304-3.231-.91-4.713a11.994 11.994 0 00-2.651-3.965c-2.412-2.41-5.314-3.616-8.706-3.616zm-.188 9.803l-2.01 1.045c-.215-.445-.477-.758-.79-.937-.312-.178-.602-.268-.87-.268-1.34 0-2.01.884-2.01 2.652 0 .803.17 1.446.509 1.928.34.482.84.724 1.5.724.876 0 1.492-.43 1.85-1.286l1.847.937a4.407 4.407 0 01-1.634 1.728c-.696.42-1.464.63-2.303.63-1.34 0-2.42-.41-3.242-1.233-.821-.82-1.232-1.964-1.232-3.428 0-1.428.416-2.562 1.246-3.401.83-.84 1.879-1.26 3.147-1.26 1.858 0 3.188.723 3.992 2.17zm8.652 0l-1.983 1.045c-.214-.445-.478-.758-.79-.937-.313-.178-.613-.268-.897-.268-1.34 0-2.01.884-2.01 2.652 0 .803.17 1.446.51 1.928.338.482.838.724 1.5.724.874 0 1.49-.43 1.847-1.286l1.875.937a4.606 4.606 0 01-1.66 1.728c-.696.42-1.455.63-2.277.63-1.357 0-2.441-.41-3.253-1.233-.814-.82-1.22-1.964-1.22-3.428 0-1.428.415-2.562 1.246-3.401.83-.84 1.879-1.26 3.147-1.26 1.857 0 3.18.723 3.965 2.17z"}))),React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},React.createElement("g",{id:"icon",fill:"currentColor"},React.createElement("path",{d:"M14.973 0c4.213 0 7.768 1.446 10.66 4.34C28.544 7.25 30 10.803 30 15c0 4.215-1.43 7.723-4.287 10.526C22.678 28.51 19.098 30 14.973 30c-4.054 0-7.571-1.474-10.553-4.42C1.474 22.633 0 19.107 0 15S1.474 7.34 4.42 4.34C7.313 1.446 10.83 0 14.973 0zm.054 2.706c-3.41 0-6.295 1.196-8.652 3.589-2.447 2.5-3.67 5.402-3.67 8.706 0 3.321 1.214 6.196 3.642 8.624 2.429 2.429 5.322 3.642 8.679 3.642 3.339 0 6.25-1.222 8.732-3.67 2.358-2.267 3.536-5.133 3.536-8.598 0-3.41-1.197-6.311-3.589-8.705-2.392-2.392-5.285-3.588-8.678-3.588zm4.018 8.57v6.134H17.33v7.286h-4.66V17.41h-1.714v-6.134a.93.93 0 01.28-.683.933.933 0 01.684-.281h6.161c.25 0 .474.093.67.28a.912.912 0 01.294.684zM12.91 7.42c0-1.41.696-2.116 2.09-2.116s2.09.705 2.09 2.116c0 1.393-.697 2.09-2.09 2.09-1.393 0-2.09-.697-2.09-2.09z"}))),React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},React.createElement("g",{id:"icon",fill:"currentColor"},React.createElement("path",{d:"M14.973 0c4.214 0 7.768 1.446 10.66 4.339C28.544 7.232 30 10.786 30 15c0 4.215-1.429 7.723-4.287 10.527C22.678 28.51 19.097 30 14.973 30c-4.072 0-7.59-1.482-10.553-4.446C1.474 22.607 0 19.09 0 15c0-4.107 1.474-7.66 4.42-10.66C7.313 1.446 10.83 0 14.973 0zM3.375 10.956c-.446 1.232-.67 2.58-.67 4.045 0 3.321 1.214 6.196 3.642 8.624 2.447 2.412 5.34 3.617 8.679 3.617 3.375 0 6.285-1.223 8.733-3.67.875-.839 1.561-1.714 2.061-2.626l-5.651-2.518a3.866 3.866 0 01-1.433 2.317c-.76.598-1.657.943-2.693 1.031v2.304h-1.74v-2.304c-1.661-.017-3.18-.615-4.554-1.794l2.063-2.089c.981.91 2.098 1.366 3.348 1.366.517 0 .96-.116 1.326-.349.366-.231.55-.615.55-1.151 0-.376-.135-.68-.402-.911l-1.447-.617-1.767-.804-2.384-1.044-7.661-3.427zm11.652-8.278c-3.41 0-6.295 1.206-8.652 3.616-.59.59-1.143 1.26-1.66 2.01l5.732 2.571a3.513 3.513 0 011.42-1.888c.695-.473 1.508-.737 2.437-.79V5.893h1.741v2.304c1.376.071 2.625.535 3.75 1.392L17.84 11.6c-.84-.59-1.697-.884-2.572-.884-.464 0-.88.09-1.245.267-.366.179-.55.483-.55.911 0 .125.045.25.134.375l1.902.858 1.313.59 2.41 1.07 7.687 3.429c.25-1.054.375-2.125.375-3.214 0-3.447-1.196-6.349-3.588-8.707-2.375-2.41-5.27-3.616-8.68-3.616z"}))),React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},React.createElement("g",{id:"icon",fill:"currentColor"},React.createElement("path",{d:"M14.973 0c4.196 0 7.75 1.455 10.66 4.366C28.544 7.26 30 10.804 30 15c0 4.197-1.43 7.714-4.287 10.553C22.696 28.518 19.115 30 14.973 30c-4.054 0-7.571-1.473-10.553-4.42C1.474 22.634 0 19.108 0 15c0-4.088 1.474-7.633 4.42-10.633C7.33 1.455 10.848 0 14.973 0zm.054 2.706c-3.41 0-6.295 1.205-8.652 3.616-2.447 2.483-3.67 5.375-3.67 8.678 0 3.34 1.214 6.214 3.642 8.625 2.429 2.43 5.322 3.643 8.679 3.643 3.339 0 6.25-1.223 8.732-3.67 2.358-2.285 3.536-5.151 3.536-8.598 0-3.428-1.197-6.321-3.589-8.678-2.375-2.412-5.268-3.616-8.678-3.616zM8.33 12.884c.286-1.84 1.026-3.264 2.223-4.273 1.196-1.008 2.651-1.513 4.366-1.513 2.356 0 4.232.76 5.625 2.277 1.393 1.517 2.09 3.464 2.09 5.839 0 2.304-.724 4.219-2.17 5.745-1.447 1.526-3.321 2.29-5.626 2.29-1.696 0-3.16-.508-4.392-1.527-1.233-1.018-1.973-2.464-2.224-4.339H12c.09 1.822 1.187 2.733 3.295 2.733 1.053 0 1.902-.456 2.544-1.366.644-.91.965-2.126.965-3.643 0-1.59-.294-2.799-.883-3.63-.59-.83-1.437-1.245-2.545-1.245-2.001 0-3.126.884-3.375 2.651h1.098l-2.973 2.973-2.973-2.973H8.33z"})))],label:(0,Y.__)("CC BY-NC-SA","eb-openverse-block"),value:"by-nc-sa"},{icon:[React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},React.createElement("g",{id:"icon",fill:"currentColor"},React.createElement("path",{d:"M14.972 0c4.196 0 7.769 1.465 10.715 4.393A14.426 14.426 0 0128.9 9.228C29.633 11.04 30 12.964 30 15c0 2.054-.363 3.978-1.085 5.772a13.77 13.77 0 01-3.2 4.754 15.417 15.417 0 01-4.983 3.322A14.932 14.932 0 0114.973 30c-1.982 0-3.88-.38-5.692-1.14a15.087 15.087 0 01-4.875-3.293c-1.437-1.437-2.531-3.058-3.281-4.862A14.71 14.71 0 010 15c0-1.982.38-3.888 1.138-5.719a15.062 15.062 0 013.308-4.915C7.303 1.456 10.812 0 14.972 0zm.055 2.706c-3.429 0-6.313 1.196-8.652 3.589a12.896 12.896 0 00-2.72 4.031 11.814 11.814 0 00-.95 4.675c0 1.607.316 3.156.95 4.646a12.428 12.428 0 002.72 3.992 12.362 12.362 0 003.99 2.679c1.483.616 3.037.924 4.662.924 1.607 0 3.164-.312 4.675-.937a12.954 12.954 0 004.084-2.705c2.339-2.286 3.508-5.152 3.508-8.6 0-1.66-.304-3.231-.91-4.713a11.994 11.994 0 00-2.651-3.965c-2.412-2.41-5.314-3.616-8.706-3.616zm-.188 9.803l-2.01 1.045c-.215-.445-.477-.758-.79-.937-.312-.178-.602-.268-.87-.268-1.34 0-2.01.884-2.01 2.652 0 .803.17 1.446.509 1.928.34.482.84.724 1.5.724.876 0 1.492-.43 1.85-1.286l1.847.937a4.407 4.407 0 01-1.634 1.728c-.696.42-1.464.63-2.303.63-1.34 0-2.42-.41-3.242-1.233-.821-.82-1.232-1.964-1.232-3.428 0-1.428.416-2.562 1.246-3.401.83-.84 1.879-1.26 3.147-1.26 1.858 0 3.188.723 3.992 2.17zm8.652 0l-1.983 1.045c-.214-.445-.478-.758-.79-.937-.313-.178-.613-.268-.897-.268-1.34 0-2.01.884-2.01 2.652 0 .803.17 1.446.51 1.928.338.482.838.724 1.5.724.874 0 1.49-.43 1.847-1.286l1.875.937a4.606 4.606 0 01-1.66 1.728c-.696.42-1.455.63-2.277.63-1.357 0-2.441-.41-3.253-1.233-.814-.82-1.22-1.964-1.22-3.428 0-1.428.415-2.562 1.246-3.401.83-.84 1.879-1.26 3.147-1.26 1.857 0 3.18.723 3.965 2.17z"}))),React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},React.createElement("g",{id:"icon",fill:"currentColor"},React.createElement("path",{d:"M14.973 0c4.213 0 7.768 1.446 10.66 4.34C28.544 7.25 30 10.803 30 15c0 4.215-1.43 7.723-4.287 10.526C22.678 28.51 19.098 30 14.973 30c-4.054 0-7.571-1.474-10.553-4.42C1.474 22.633 0 19.107 0 15S1.474 7.34 4.42 4.34C7.313 1.446 10.83 0 14.973 0zm.054 2.706c-3.41 0-6.295 1.196-8.652 3.589-2.447 2.5-3.67 5.402-3.67 8.706 0 3.321 1.214 6.196 3.642 8.624 2.429 2.429 5.322 3.642 8.679 3.642 3.339 0 6.25-1.222 8.732-3.67 2.358-2.267 3.536-5.133 3.536-8.598 0-3.41-1.197-6.311-3.589-8.705-2.392-2.392-5.285-3.588-8.678-3.588zm4.018 8.57v6.134H17.33v7.286h-4.66V17.41h-1.714v-6.134a.93.93 0 01.28-.683.933.933 0 01.684-.281h6.161c.25 0 .474.093.67.28a.912.912 0 01.294.684zM12.91 7.42c0-1.41.696-2.116 2.09-2.116s2.09.705 2.09 2.116c0 1.393-.697 2.09-2.09 2.09-1.393 0-2.09-.697-2.09-2.09z"}))),React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},React.createElement("g",{id:"icon",fill:"currentColor"},React.createElement("path",{d:"M14.973 0c4.214 0 7.768 1.446 10.66 4.339C28.544 7.232 30 10.786 30 15c0 4.215-1.429 7.723-4.287 10.527C22.678 28.51 19.097 30 14.973 30c-4.072 0-7.59-1.482-10.553-4.446C1.474 22.607 0 19.09 0 15c0-4.107 1.474-7.66 4.42-10.66C7.313 1.446 10.83 0 14.973 0zM3.375 10.956c-.446 1.232-.67 2.58-.67 4.045 0 3.321 1.214 6.196 3.642 8.624 2.447 2.412 5.34 3.617 8.679 3.617 3.375 0 6.285-1.223 8.733-3.67.875-.839 1.561-1.714 2.061-2.626l-5.651-2.518a3.866 3.866 0 01-1.433 2.317c-.76.598-1.657.943-2.693 1.031v2.304h-1.74v-2.304c-1.661-.017-3.18-.615-4.554-1.794l2.063-2.089c.981.91 2.098 1.366 3.348 1.366.517 0 .96-.116 1.326-.349.366-.231.55-.615.55-1.151 0-.376-.135-.68-.402-.911l-1.447-.617-1.767-.804-2.384-1.044-7.661-3.427zm11.652-8.278c-3.41 0-6.295 1.206-8.652 3.616-.59.59-1.143 1.26-1.66 2.01l5.732 2.571a3.513 3.513 0 011.42-1.888c.695-.473 1.508-.737 2.437-.79V5.893h1.741v2.304c1.376.071 2.625.535 3.75 1.392L17.84 11.6c-.84-.59-1.697-.884-2.572-.884-.464 0-.88.09-1.245.267-.366.179-.55.483-.55.911 0 .125.045.25.134.375l1.902.858 1.313.59 2.41 1.07 7.687 3.429c.25-1.054.375-2.125.375-3.214 0-3.447-1.196-6.349-3.588-8.707-2.375-2.41-5.27-3.616-8.68-3.616z"}))),React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},React.createElement("g",{id:"icon",fill:"currentColor"},React.createElement("path",{d:"M14.973 0c4.196 0 7.75 1.455 10.66 4.366C28.544 7.26 30 10.804 30 15c0 4.197-1.43 7.714-4.287 10.553C22.696 28.518 19.115 30 14.973 30c-4.054 0-7.571-1.473-10.553-4.42C1.474 22.634 0 19.108 0 15c0-4.088 1.474-7.633 4.42-10.633C7.33 1.455 10.848 0 14.973 0zm.054 2.706c-3.41 0-6.295 1.205-8.652 3.616-2.447 2.483-3.67 5.375-3.67 8.678 0 3.34 1.214 6.214 3.642 8.625 2.429 2.43 5.322 3.643 8.679 3.643 3.339 0 6.25-1.223 8.732-3.67 2.358-2.285 3.536-5.15 3.536-8.598 0-3.428-1.197-6.321-3.589-8.678-2.375-2.412-5.268-3.616-8.678-3.616zm5.652 8.758v2.571H9.777v-2.571H20.68zm0 4.822v2.57H9.777v-2.57H20.68z"})))],label:(0,Y.__)("CC BY-NC-ND","eb-openverse-block"),value:"by-nc-nd"}],N6=[{label:(0,Y.__)("Use commercially","eb-openverse-block"),value:"commercial"},{label:(0,Y.__)("Modify or adapt","eb-openverse-block"),value:"modification"}],P6=[{label:(0,Y.__)("Photographs","eb-openverse-block"),value:"photograph"},{label:(0,Y.__)("Illustrations","eb-openverse-block"),value:"illustration"},{label:(0,Y.__)("Digitized Artworks","eb-openverse-block"),value:"digitized_artwork"}],O6=[{label:(0,Y.__)("Small","eb-openverse-block"),value:"small"},{label:(0,Y.__)("Medium","eb-openverse-block"),value:"medium"},{label:(0,Y.__)("Large","eb-openverse-block"),value:"large"}],M6=[{label:(0,Y.__)("JPEG","eb-openverse-block"),value:"jpg"},{label:(0,Y.__)("SVG","eb-openverse-block"),value:"svg"},{label:(0,Y.__)("PNG","eb-openverse-block"),value:"png"},{label:(0,Y.__)("GIF","eb-openverse-block"),value:"gif"}],D6=[{label:(0,Y.__)("Tall","eb-openverse-block"),value:"tall"},{label:(0,Y.__)("Wide","eb-openverse-block"),value:"wide"},{label:(0,Y.__)("Square","eb-openverse-block"),value:"square"}],j6="captionTypo";function I6(e){return I6="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},I6(e)}function A6(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function L6(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?A6(Object(a),!0).forEach((function(t){F6(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):A6(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function F6(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=I6(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=I6(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==I6(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var H6=window.EBControls,z6=H6.generateDimensionsAttributes,q6=H6.generateTypographyAttributes,U6=H6.generateBackgroundAttributes,V6=H6.generateBorderShadowAttributes,W6=H6.generateResponsiveRangeAttributes;const G6=L6(L6(L6(L6(L6(L6(L6(L6(L6(L6(L6(L6({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},searchQ:{type:"string",default:""},apiKey:{type:"string"},apiInfo:{type:"object",default:{email:"",name:""}},imageurl:{type:"string"},imageAttr:{type:"object",default:{title:"",foreignUrl:"",creator:"",creatorUrl:"",license:"",licenseUrl:"",licenseVersion:""}},selectedImgIndex:{type:"number"},displayAttribution:{type:"boolean",default:!0},attributionColor:{type:"string",default:"var(--eb-global-text-color)"},attributionBGColor:{type:"string",default:""},horizontalAlign:{type:"string",default:"center"},verticalAlign:{type:"string",default:"bottom"},imageAlign:{type:"string",default:"0 auto"},textAlign:{type:"string",default:"left"},hoverEffect:{type:"string",default:"no-effect"},stylePreset:{type:"string",default:"rounded"},complexStyle:{type:"boolean",default:!1},attributionStyle:{type:"string",default:"attribution-style-1"},autoFit:{type:"boolean",default:!0},enableLink:{type:"boolean",default:!1},imageLink:{type:"string",default:""},openInNewTab:{type:"boolean",default:!1}},q6(Object.values(A))),z6(d6)),z6(m6,{top:15,bottom:15,right:15,left:15,isLinked:!1})),z6(h6,{top:0,bottom:0,right:0,left:0,isLinked:!1})),z6(w6,{top:20,bottom:0,right:10,left:10,isLinked:!1})),V6(g6,{bdrDefaults:{top:1,bottom:1,right:1,left:1},defaultBdrColor:"var(--eb-global-secondary-color)",defaultBdrStyle:"solid",rdsDefaults:{top:15,bottom:15,right:15,left:15}})),V6(v6,{defaultBdrColor:"var(--eb-global-tertiary-color)",bdrDefaults:{top:0,bottom:0,right:0,left:0},rdsDefaults:{top:15,bottom:15,right:15,left:15}})),U6(u6,{defaultBgGradient:"var(--eb-gradient-background-color)",noOverlay:!0})),W6(f6,{})),W6(y6,{})),W6(R6)),{},{cover:{type:"string",default:""}});var Z6=window.EBControls,Y6=Z6.ResponsiveDimensionsControl,J6=Z6.TypographyDropdown,Q6=Z6.BorderShadowControl,X6=Z6.ResponsiveRangeController,$6=Z6.BackgroundControl,K6=Z6.ColorControl,e8=Z6.AdvancedControls;const t8=function(e){var t=e.attributes,a=e.setAttributes,n=t.resOption,o=t.displayAttribution,r=t.attributionColor,c=t.textAlign,l=t.stylePreset,i=t.attributionStyle,s=t.hoverEffect,b=t.complexStyle,p=t.autoFit,u={setAttributes:a,resOption:n,attributes:t,objAttributes:G6};return React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:"General",className:"eb-tab general"},{name:"styles",title:"Style",className:"eb-tab styles"},{name:"advance",title:"Advanced",className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls"+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("General","essential-blocks"),initialOpen:!0},React.createElement(X.SelectControl,{label:(0,Y.__)("Styles","essential-blocks"),description:(0,Y.__)("Border won't work","essential-blocks"),value:l,options:S6,onChange:function(e){return function(e){switch(a({stylePreset:e}),["octagon","rhombus","triangle"].includes(e)?a({complexStyle:!0}):a({complexStyle:!1}),e){case"rounded":a({imgBorderShadowRds_Bottom:"15",imgBorderShadowRds_Top:"15",imgBorderShadowRds_Left:"15",imgBorderShadowRds_Right:"15",imgBorderShadowRds_Unit:"px"});break;case"square":a({imgBorderShadowRds_Bottom:"0",imgBorderShadowRds_Top:"0",imgBorderShadowRds_Left:"0",imgBorderShadowRds_Right:"0",imgBorderShadowRds_Unit:"px"});break;case"circle":a({imgBorderShadowRds_Bottom:"50",imgBorderShadowRds_Top:"50",imgBorderShadowRds_Left:"50",imgBorderShadowRds_Right:"50",imgBorderShadowRds_Unit:"%"});break;default:return!1}}(e)}}),"circle"===l&&React.createElement(X.PanelRow,null,React.createElement("em",null,'Please use equal "Height" & "Width" for perfect Circle shape.')),React.createElement(X6,{baseLabel:(0,Y.__)("Width","essential-blocks"),controlName:f6,resRequiredProps:u,min:1,max:1e3,step:1,units:x6}),React.createElement(X6,{baseLabel:(0,Y.__)("Height","essential-blocks"),controlName:y6,resRequiredProps:u,min:0,max:1e3,step:1,units:x6}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Auto Fit Image?","essential-blocks"),checked:p,onChange:function(e){return a({autoFit:e})}}),React.createElement(X.SelectControl,{label:(0,Y.__)("Hover Effect","essential-blocks"),value:s,options:E6,onChange:function(e){return a({hoverEffect:e})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Display Attribution","essential-blocks"),checked:o,onChange:function(){var e;a((e=!o)?{displayAttribution:e,wrpBorderShadowBdr_Bottom:"1",wrpBorderShadowBdr_Left:"1",wrpBorderShadowBdr_Right:"1",wrpBorderShadowBdr_Top:"1",wrpBorderShadowBdr_Unit:"px",wrpBorderShadowBdr_isLinked:!0,wrpBorderShadowborderColor:"#C1CDE1",wrpBorderShadowborderStyle:"solid",wrpBorderShadowRds_Bottom:"15",wrpBorderShadowRds_Left:"15",wrpBorderShadowRds_Right:"15",wrpBorderShadowRds_Top:"15",wrpBorderShadowRds_Unit:"px",wrpBorderShadowRds_isLinked:!0}:{displayAttribution:e,wrpBorderShadowBdr_Bottom:"0",wrpBorderShadowBdr_Left:"0",wrpBorderShadowBdr_Right:"0",wrpBorderShadowBdr_Top:"0",wrpBorderShadowBdr_Unit:"px",wrpBorderShadowBdr_isLinked:!0,wrpBorderShadowborderColor:"#C1CDE1",wrpBorderShadowborderStyle:"none",wrpBorderShadowRds_Bottom:"0",wrpBorderShadowRds_Left:"0",wrpBorderShadowRds_Right:"0",wrpBorderShadowRds_Top:"0",wrpBorderShadowRds_Unit:"px",wrpBorderShadowRds_isLinked:!0})}}),o&&React.createElement(X.SelectControl,{label:(0,Y.__)("Attribution Styles","essential-blocks"),value:i,options:B6,onChange:function(e){return function(e){switch(e){case"attribution-style-1":a({attributionStyle:e,textAlign:"left",attributionColor:"#211C70",captionPaddingBottom:"",captionPaddingLeft:"10",captionPaddingRight:"10",captionPaddingTop:"20",captionPaddingUnit:"px",captionPaddingisLinked:!1,wrpBorderShadowBdr_Bottom:"1",wrpBorderShadowBdr_Left:"1",wrpBorderShadowBdr_Right:"1",wrpBorderShadowBdr_Top:"1",wrpBorderShadowBdr_Unit:"px",wrpBorderShadowBdr_isLinked:!0,wrpBorderShadowborderColor:"#C1CDE1",wrpBorderShadowborderStyle:"solid",wrpBorderShadowRds_Bottom:"15",wrpBorderShadowRds_Left:"15",wrpBorderShadowRds_Right:"15",wrpBorderShadowRds_Top:"15",wrpBorderShadowRds_Unit:"px",wrpBorderShadowRds_isLinked:!0,wrpPaddingBottom:"15",wrpPaddingLeft:"15",wrpPaddingRight:"15",wrpPaddingTop:"15",wrpPaddingUnit:"px",wrpPaddingisLinked:!1});break;case"attribution-style-2":a({attributionStyle:e,textAlign:"center",attributionColor:"#2673FF",captionPaddingBottom:"15",captionPaddingLeft:"10",captionPaddingRight:"10",captionPaddingTop:"15",captionPaddingUnit:"px",captionPaddingisLinked:!1,wrpBorderShadowBdr_Bottom:"0",wrpBorderShadowBdr_Left:"0",wrpBorderShadowBdr_Right:"0",wrpBorderShadowBdr_Top:"0",wrpBorderShadowBdr_Unit:"px",wrpBorderShadowBdr_isLinked:!0,wrpBorderShadowborderColor:"#C1CDE1",wrpBorderShadowborderStyle:"none",wrpBorderShadowRds_Bottom:"0",wrpBorderShadowRds_Left:"0",wrpBorderShadowRds_Right:"0",wrpBorderShadowRds_Top:"0",wrpBorderShadowRds_Unit:"px",wrpBorderShadowRds_isLinked:!0,wrpPaddingBottom:"0",wrpPaddingLeft:"0",wrpPaddingRight:"0",wrpPaddingTop:"0",wrpPaddingUnit:"px",wrpPaddingisLinked:!1});break;default:a({attributionStyle:e})}}(e)}}))),"styles"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Image Settings","essential-blocks")},!b&&React.createElement(React.Fragment,null,React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Border","essential-blocks"))),React.createElement(Q6,{controlName:v6,resRequiredProps:u})),b&&React.createElement(X.PanelRow,null,React.createElement("em",null,"Border Style doesn't support for \"",l,' style".'))),o&&React.createElement(X.PanelBody,{title:(0,Y.__)("Caption Styles","essential-blocks")},React.createElement(K6,{label:(0,Y.__)("Text Color","essential-blocks"),color:r,onChange:function(e){return a({attributionColor:e})}}),React.createElement(J6,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:k6,resRequiredProps:u}),React.createElement(X6,{baseLabel:(0,Y.__)("Width","essential-blocks"),controlName:R6,resRequiredProps:u,units:C6,min:0,max:300,step:1}),o&&React.createElement(React.Fragment,null,React.createElement(X.BaseControl,{label:(0,Y.__)("Text Align","essential-blocks")},React.createElement(X.ButtonGroup,null,_6.map((function(e){return React.createElement(X.Button,{isPrimary:c===e.value,isSecondary:c!==e.value,onClick:function(){return a({textAlign:e.value})}},e.label)})))),React.createElement(Y6,{resRequiredProps:u,controlName:h6,baseLabel:"Margin"}),React.createElement(Y6,{resRequiredProps:u,controlName:w6,baseLabel:"Padding"})))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,null,React.createElement(Y6,{resRequiredProps:u,controlName:d6,baseLabel:"Margin"}),React.createElement(Y6,{resRequiredProps:u,controlName:m6,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Background","essential-blocks"),initialOpen:!1},React.createElement($6,{controlName:u6,resRequiredProps:u,noOverlay:!0})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(Q6,{controlName:g6,resRequiredProps:u})),React.createElement(e8,{attributes:t,setAttributes:a})))}))))};var a8=window.EBControls,n8=a8.softMinifyCssStrings,o8=a8.generateTypographyStyles,r8=a8.generateDimensionsControlStyles,c8=a8.generateBorderShadowStyles,l8=a8.generateResponsiveRangeStyles,i8=a8.generateBackgroundControlStyles,s8=a8.StyleComponent;function b8(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=(t.resOption,t.blockId),r=(t.blockMeta,t.displayAttribution),c=t.attributionColor,l=(t.attributionBGColor,t.horizontalAlign,t.verticalAlign,t.verticalAlignCap2,t.textAlign),i=(t.stylePreset,t.attributionStyle,t.hoverEffect,t.imageAlign),s=t.complexStyle,b=t.autoFit,p=(t.classHook,t.imageurl,o8({attributes:t,prefixConstant:k6,defaultFontSize:16})),u=p.typoStylesDesktop,d=p.typoStylesTab,m=p.typoStylesMobile,g=r8({controlName:d6,styleFor:"margin",attributes:t}),f=g.dimensionStylesDesktop,y=g.dimensionStylesTab,v=g.dimensionStylesMobile,h=r8({controlName:m6,styleFor:"padding",attributes:t}),w=h.dimensionStylesDesktop,k=h.dimensionStylesTab,R=h.dimensionStylesMobile,_=r8({controlName:h6,styleFor:"margin",attributes:t}),E=_.dimensionStylesDesktop,C=_.dimensionStylesTab,x=_.dimensionStylesMobile,S=r8({controlName:w6,styleFor:"padding",attributes:t}),B=S.dimensionStylesDesktop,T=S.dimensionStylesTab,N=S.dimensionStylesMobile,P=l8({controlName:f6,property:"",attributes:t}),O=P.rangeStylesDesktop,M=P.rangeStylesTab,D=P.rangeStylesMobile,j=l8({controlName:y6,property:"",attributes:t}),I=j.rangeStylesDesktop,A=j.rangeStylesTab,L=j.rangeStylesMobile,F=l8({controlName:R6,property:"width",attributes:t}),H=F.rangeStylesDesktop,z=F.rangeStylesTab,q=F.rangeStylesMobile,U=i8({attributes:t,controlName:u6,noOverlay:!0}),V=U.backgroundStylesDesktop,W=U.hoverBackgroundStylesDesktop,G=U.backgroundStylesTab,Z=U.hoverBackgroundStylesTab,Y=U.backgroundStylesMobile,J=U.hoverBackgroundStylesMobile,Q=U.bgTransitionStyle,X=c8({controlName:g6,attributes:t}),$=X.styesDesktop,K=X.styesTab,ee=X.styesMobile,te=X.stylesHoverDesktop,ae=X.stylesHoverTab,ne=X.stylesHoverMobile,oe=X.transitionStyle,re=c8({controlName:v6,attributes:t}),ce=re.styesDesktop,le=(re.styesTab,re.styesMobile),ie=re.stylesHoverDesktop,se=re.stylesHoverTab,be=re.stylesHoverMobile,pe=re.transitionStyle,ue="\n\t\t.eb-openverse-wrapper.".concat(o,"{\n\t\t\t").concat(f,"\n\t\t\t").concat(w,"\n\t\t\t").concat($,"\n\t\t\t").concat(V,"\n\t\t\ttransition:").concat(Q,", ").concat(oe,";\n\t\t}\n\t\t.eb-openverse-wrapper.").concat(o,":hover {\n\t\t\t").concat(te,"\n\t\t\t").concat(W,"\n\t\t}\n\t"),de="\n\t\t.eb-openverse-wrapper.".concat(o,"{\n\t\t\t").concat(y,"\n\t\t\t").concat(k,"\n\t\t\t").concat(K,"\n\t\t\t").concat(G,"\n\t\t}\n\t\t.eb-openverse-wrapper.").concat(o,":hover {\n\t\t\t").concat(ae,"\n\t\t\t").concat(Z,"\n\t\t}\n\t"),me="\n\t\t.eb-openverse-wrapper.".concat(o,"{\n\t\t\t").concat(v,"\n\t\t\t").concat(R,"\n\t\t\t").concat(ee,"\n\t\t\t").concat(Y,"\n\t\t}\n\t\t.eb-openverse-wrapper.").concat(o,":hover {\n\t\t\t").concat(ne,"\n\t\t\t").concat(J,"\n\t\t}\n\t"),ge="\n\t\t.eb-openverse-wrapper.".concat(o," .image-wrapper{\n\t\t\twidth").concat(O||": auto",";\n\t\t\theight").concat(I||": auto",";\n\t\t\t").concat(s?"":ce,"\n\t\t\ttransition: transform 0.5s, ").concat(pe,";\n\t\t\tmargin: ").concat(i,";\n\t\t}\n\n\t\t.eb-openverse-wrapper.").concat(o," .image-wrapper img{\n\t\t\ttransition: transform 0.5s, ").concat(pe,";\n\t\t\t").concat(b?"object-fit: cover;":"","\n\t\t}\n\n\t\t.eb-openverse-wrapper.").concat(o," .image-attribution{\n\t\t\tcolor: ").concat(c,";\n\t\t\ttext-align: ").concat(l,";\n\t\t\t").concat(E,"\n\t\t\t").concat(B,"\n\t\t\t").concat(u,"\n\t\t\t").concat(H,"\n\t\t}\n\n\t\t.eb-openverse-wrapper.").concat(o," .image-wrapper:hover {\n\t\t\t").concat(s?"":ie,"\n\t\t}\n\t\t").concat(r?"":" .eb-openverse-wrapper.".concat(o," .image-attribution {display:none;} "),"\n\t"),fe="\n\t\t.eb-openverse-wrapper.".concat(o," .image-wrapper{\n\t\t\twidth").concat(M||": auto",";\n\t\t\theight").concat(A||": auto",";\n\t\t}\n\t\t.eb-openverse-wrapper.").concat(o," .image-wrapper:hover {\n\t\t\t").concat(s?"":se,"\n\t\t}\n\t\t.eb-openverse-wrapper.").concat(o," .image-attribution {\n\t\t\t").concat(C,"\n\t\t\t").concat(T,"\n\t\t\t").concat(d,"\n\t\t\t").concat(z,"\n\t\t}\n\t"),ye="\n\t\t.eb-openverse-wrapper.".concat(o," .image-wrapper img{\n\t\t\t").concat(s?"":le,"\n\t\t}\n\t\t.eb-openverse-wrapper.").concat(o," .image-wrapper:hover {\n\t\t\t").concat(s?"":be,"\n\t\t}\n\t\t.eb-openverse-wrapper.").concat(o," .image-wrapper .image-attribution {\n\t\t\t").concat(x,"\n\t\t\t").concat(N,"\n\t\t\t").concat(m,"\n\t\t\t").concat(q,"\n\t\t}\n\t\t.eb-openverse-wrapper.").concat(o," .image-wrapper{\n\t\t\twidth").concat(D||": auto",";\n\t\t\theight").concat(L||": auto",";\n\t\t}\n\t"),ve=n8("\n\t\t".concat("\n\t.eb-openverse-grid {\n\t\tdisplay: grid;\n\t\tgrid-template-columns: repeat(4, minmax(0, 1fr));\n\t\talign-items: stretch;\n\t\t--size: calc(50vw / 4);\n\t\t--gap: 10px;\n\t\tgap: var(--gap);\n   }\n\t.eb-openverse-grid .eb-openverse-grid-item {\n\t\tcursor: pointer;\n\t\tborder: 3px solid transparent;\n   }\n\n   .eb_openverse_item_thumbnail {\n\t\theight: calc(var(--size) - var(--gap));\n   }\n\n   .eb_openverse_item_thumbnail img {\n\t\tmax-width: 100%;\n\t\tobject-fit: cover;\n   }\n\t.eb-openverse-grid .eb-openverse-grid-item.selected {\n\t\tborder-color: #007cba;\n   }\n\t.openverse-modal-open #adminmenumain, .openverse-modal-open .interface-interface-skeleton__header, .openverse-modal-open .interface-interface-skeleton__footer {\n\t\t// visibility: hidden;\n   }\n\t.openverse-placheholderbox {\n\t\tpadding: 20px;\n\t\tborder: 1px solid;\n   }\n\t.openverse-placheholderbox .openverse-placheholderbox__label {\n\t\tfont-size: 25px;\n\t\tfont-weight: 400;\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tmargin-bottom: 15px;\n   }\n\t.openverse-placheholderbox .openverse-placheholderbox__label svg {\n\t\tmargin-right: 10px;\n   }\n\t.openverse-placheholderbox__description {\n\t\tfont-size: 15px;\n\t\tfont-weight: 400;\n\t\tpadding: 0;\n\t\tmargin-bottom: 10px;\n   }\n   .openverse-placheholderbox__note {\n\t\tfont-size: 13px;\n\t}\n\n\t.openverse-modal {\n\t\tposition: fixed;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tright: 0;\n\t\tbottom: 0;\n\t\tbackground-color: rgba(0, 0, 0, 0.2);\n\t\tz-index: 160000;\n\t\tdisplay: flex;\n\t\tjustify-content: center;\n\t\talign-items: center;\n   }\n\t.openverse-modal__inner {\n\t\toverflow: hidden;\n\t\tposition: relative;\n        top: 25px;\n\t\tleft: -60px;\n\t\twidth: 72%;\n\t\theight: 70vh;\n\t\tbackground-color: #fff;\n   }\n\t.openverse-modal__header {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tright: 0;\n\t\theight: 60px;\n\t\tz-index: 200;\n\t\tpadding: 15px;\n\t\tbox-sizing: border-box;\n   }\n\t.title-section {\n\t\tpadding: 0;\n\t\tmargin: 0;\n\t\tfont-size: 19px;\n\t\tfont-weight: 500;\n\t\tline-height: 1.2rem;\n\t\tdisplay: inline-block;\n   }\n\t.close-btn {\n\t\tposition: absolute;\n\t\ttop: 16px;\n\t\tright: 16px;\n\t\tcursor: pointer;\n\t\tmargin: 0;\n\t\tpadding: 0;\n\t\tborder: 1px solid transparent;\n\t\tbackground: 0 0;\n\t\tcolor: #646970;\n\t\tz-index: 1000;\n\t\tcursor: pointer;\n\t\toutline: 0;\n\t\ttransition: color 0.1s ease-in-out, background 0.1s ease-in-out;\n   }\n\t.openverse-modal__content {\n\t\tposition: absolute;\n\t\ttop: 61px;\n\t\tleft: 0;\n\t\tright: 0;\n\t\tbottom: 61px;\n\t\theight: auto;\n\t\twidth: auto;\n\t\tmargin: 0;\n\t\toverflow: auto;\n\t\tbackground: #fff;\n\t\tborder-top: 1px solid #dcdcde;\n   }\n\t.search-section {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tright: 0;\n\t\tz-index: 100;\n\t\theight: 75px;\n\t\tpadding: 15px;\n\t\tbox-sizing: border-box;\n\t\tborder: 0 solid #dcdcde;\n\t\toverflow: hidden;\n\t\tborder-bottom: 1px solid #dcdcde;\n\t\tdisplay: flex;\n\n   }\n\t.search-section .openverse-search-input, .search-section .openverse-search-btn {\n\t\theight: 45px;\n   }\n\n\t.search-result-section {\n\t\tposition: absolute;\n\t\ttop: 75px;\n\t\tleft: 0;\n\t\tbottom: 0;\n\t\toverflow: auto;\n\t\toutline: 0;\n\t\twidth: 100%;\n\t\tdisplay: grid;\n\t\tgrid-template-columns: 75% 25%;\n   }\n\t.search-content {\n\t\tpadding: 15px;\n   }\n\t.search-filter {\n\t\tbackground-color: #f3f2f2;\n\t\tborder-left: 1px solid #dcdcde;\n\t\tpadding: 15px;\n   }\n\t.openverse-modal__footer {\n\t\ttop: auto;\n\t\tbottom: 0;\n\t\theight: auto;\n\t\toverflow: visible;\n\t\tborder-top: 1px solid #dcdcde;\n\t\tposition: absolute;\n\t\tleft: 0;\n\t\tright: 0;\n\t\tz-index: 100;\n\t\theight: 61px;\n\t\tpadding: 15px;\n\t\tbox-sizing: border-box;\n\t\tborder-top: 1px solid #dcdcde;\n\t\ttext-align: right;\n   }\n\t.openverse-modal__footer button {\n\t\tfont-size: 13px;\n\t\tbackground: #2673FF;\n\t\tcolor: #fff;\n\t\toutline: 1px solid #000 0;\n\t\ttext-decoration: none;\n\t\ttext-shadow: none;\n\t\twhite-space: nowrap;\n\t\talign-items: center;\n\t\t-webkit-appearance: none;\n\t\tborder: 0;\n\t\tborder-radius: 0;\n\t\tbox-sizing: border-box;\n\t\tcursor: pointer;\n\t\tfont-family: inherit;\n\t\tfont-weight: 400;\n\t\ttext-align: center;\n\t\theight: 35px;\n\t\tmargin: 0;\n\t\tpadding: 3px 20px;\n\t\ttext-decoration: none;\n\t\ttransition: box-shadow 0.1s linear;\n   }\n\t.openverse-modal__footer button:disabled {\n\t\tcolor: #a7aaad !important;\n\t\tbackground: #f6f7f7 !important;\n\t\tborder: 1px solid #dcdcde !important;\n\t\tbox-shadow: none !important;\n\t\ttext-shadow: none !important;\n\t\tcursor: default;\n   }\n\n\t","\n\t")),he=n8("\n\t\t".concat(ue,"\n\t\t").concat(ge,"\n\t")),we=n8("\n\t\t".concat(de,"\n\t\t").concat(fe,"\n\t")),ke=n8("\n\t\t".concat(me,"\n\t\t").concat(ye,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(s8,{attributes:t,setAttributes:a,desktopAllStyles:he,tabAllStyles:we,mobileAllStyles:ke,blockName:n}),React.createElement("style",null,"\n                ".concat(ve,"\n                ")))}function p8(e){return p8="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p8(e)}function u8(e){var t=e.data,a=e.selectItem,n=e.setSelectItem;return React.createElement("div",{className:"eb-openverse-grid"},"object"===p8(t)&&t.map((function(e){return React.createElement("div",{className:"eb-openverse-grid-item ".concat(a==e?"selected":""),onClick:function(){return n(e)}},React.createElement("div",{className:"eb_openverse_item_thumbnail"},React.createElement("img",{src:e.url})))})))}var d8=function(e){return React.createElement("svg",{id:"eSVi1URbIc71",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 150 150",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision"},React.createElement("defs",null,React.createElement("linearGradient",{id:"eSVi1URbIc712-fill",x1:"0",y1:"0.5",x2:"0.5",y2:"0.5",spreadMethod:"reflect",gradientUnits:"objectBoundingBox",gradientTransform:"translate(0 0)"},React.createElement("stop",{id:"eSVi1URbIc712-fill-0",offset:"0%",stopColor:"rgba(213,224,249,0)"}),React.createElement("stop",{id:"eSVi1URbIc712-fill-1",offset:"100%",stopColor:"rgba(213,224,249,0.6)"}))),React.createElement("g",null,React.createElement("rect",{width:"150",height:"150",rx:"3",ry:"3",fill:"#dee6f7"}),React.createElement("g",{clipPath:"url(#eSVi1URbIc79)"},React.createElement("g",null,React.createElement("path",{d:"M54.6132,97.0869c-5.5366,0-10.4614-3.5449-12.2497-8.8225l-.121-.3976c-.4217-1.3976-.5984-2.573-.5984-3.7489v-23.5799l-8.39,28.0063c-1.079,4.1194,1.3799,8.39,5.5055,9.528L92.2374,112.394c.6675.173,1.3349.256,1.9922.256c3.4443,0,6.5914-2.286,7.4734-5.655l3.116-9.9081h-50.2058Z",fill:"#eef3ff"}),React.createElement("path",{d:"M64.1239,60.7736c3.8147,0,6.9164-3.1024,6.9164-6.9171s-3.1017-6.917-6.9164-6.917c-3.8148,0-6.9171,3.1023-6.9171,6.917s3.1023,6.9171,6.9171,6.9171Z",fill:"#eef3ff"}),React.createElement("path",{d:"M107.354,36.5642h-51.8766c-4.7652,0-8.6458,3.8806-8.6458,8.6465v38.0421c0,4.7659,3.8806,8.6465,8.6458,8.6465h51.8766c4.766,0,8.646-3.8806,8.646-8.6465v-38.0421c0-4.7659-3.88-8.6465-8.646-8.6465ZM55.4774,43.4813h51.8766c.955,0,1.729.7744,1.729,1.7294v24.5513L98.1582,57.0139c-1.1589-1.3589-2.8364-2.0853-4.638-2.1265-1.7915.0102-3.4721.8055-4.6202,2.1822L76.055,72.4869l-4.1845-4.1744c-2.3652-2.3652-6.2148-2.3652-8.5768,0l-9.5451,9.5419v-32.6437c0-.955.7745-1.7294,1.7288-1.7294Z",fill:"#eef3ff"})),React.createElement("clipPath",{id:"eSVi1URbIc79"},React.createElement("rect",{width:"83",height:"83",rx:"0",ry:"0",transform:"translate(33 33)",fill:"#fff"})))),React.createElement("g",{mask:"url(#eSVi1URbIc713)"},React.createElement("rect",{id:"eSVi1URbIc712",width:"29.308378",height:"162.528513",rx:"0",ry:"0",transform:"matrix(1.965405 0 0 1.965405-67.486136-83.387994)",fill:"url(#eSVi1URbIc712-fill)",strokeWidth:"0"}),React.createElement("mask",{id:"eSVi1URbIc713","mask-type":"luminance"},React.createElement("g",null,React.createElement("rect",{width:"150",height:"150",rx:"3",ry:"3",fill:"#dee6f7"}),React.createElement("g",{clipPath:"url(#eSVi1URbIc721)"},React.createElement("g",null,React.createElement("path",{d:"M54.6132,97.0869c-5.5366,0-10.4614-3.5449-12.2497-8.8225l-.121-.3976c-.4217-1.3976-.5984-2.573-.5984-3.7489v-23.5799l-8.39,28.0063c-1.079,4.1194,1.3799,8.39,5.5055,9.528L92.2374,112.394c.6675.173,1.3349.256,1.9922.256c3.4443,0,6.5914-2.286,7.4734-5.655l3.116-9.9081h-50.2058Z",fill:"#eef3ff"}),React.createElement("path",{d:"M64.1239,60.7736c3.8147,0,6.9164-3.1024,6.9164-6.9171s-3.1017-6.917-6.9164-6.917c-3.8148,0-6.9171,3.1023-6.9171,6.917s3.1023,6.9171,6.9171,6.9171Z",fill:"#eef3ff"}),React.createElement("path",{d:"M107.354,36.5642h-51.8766c-4.7652,0-8.6458,3.8806-8.6458,8.6465v38.0421c0,4.7659,3.8806,8.6465,8.6458,8.6465h51.8766c4.766,0,8.646-3.8806,8.646-8.6465v-38.0421c0-4.7659-3.88-8.6465-8.646-8.6465ZM55.4774,43.4813h51.8766c.955,0,1.729.7744,1.729,1.7294v24.5513L98.1582,57.0139c-1.1589-1.3589-2.8364-2.0853-4.638-2.1265-1.7915.0102-3.4721.8055-4.6202,2.1822L76.055,72.4869l-4.1845-4.1744c-2.3652-2.3652-6.2148-2.3652-8.5768,0l-9.5451,9.5419v-32.6437c0-.955.7745-1.7294,1.7288-1.7294Z",fill:"#eef3ff"})),React.createElement("clipPath",{id:"eSVi1URbIc721"},React.createElement("rect",{width:"83",height:"83",rx:"0",ry:"0",transform:"translate(33 33)",fill:"#fff"})))))))};function m8(e){var t=e.limit;return React.createElement("div",{className:"eb-openverse-grid openverse_loading"},(0,nt.times)(t,(function(e){return React.createElement("div",{className:"eb-openverse-grid-item"},React.createElement(d8,null))})))}function g8(e){var t=e.setOpenverseModal,a=e.componentClassName,n=e.openverseDataFetch,o=e.openverseDataCount,r=e.loading,c=e.searchQ,l=e.setAttributes;return React.createElement("div",{className:a},React.createElement("input",{type:"search",name:"search-form",id:"search-form",className:"openverse-search-input",placeholder:(0,Y.__)("Search for content","eb-openverse-block"),value:c,onChange:function(e){return l({searchQ:e.target.value})},onKeyPress:function(e){"Enter"===e.key&&0!=e.target.value.length&&(l({searchQ:e.target.value}),n(!0),t(!0))}}),!r&&o>0&&React.createElement("span",{className:"search-result-count"},"Over ",o," restults"),r&&o>0&&React.createElement("span",{className:"search-result-count"},"Loading ..."),React.createElement("button",{className:"openverse-search-btn",onClick:function(e){0!=c.length&&(n(!0),t(!0))}},(0,Y.__)("Search","eb-openverse-block")))}var f8=function(e){return React.createElement("svg",{width:"301",height:"170",viewBox:"0 0 301 170",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M216.63 143.584H77.1725C76.4512 143.584 75.8662 142.999 75.8662 142.277V58.5242C75.8662 54.1166 79.4484 50.5344 83.84 50.5344H209.955C214.354 50.5344 217.937 54.1166 217.937 58.5242V142.277C217.937 142.999 217.352 143.584 216.63 143.584V143.584Z",fill:"#F2F2F2"}),React.createElement("path",{d:"M183.076 40.2365C183.397 38.9783 184.182 37.9285 185.296 37.2633C186.201 36.7264 187.227 36.502 188.253 36.6062C188.493 36.6303 188.726 36.6703 188.958 36.7344C191.547 37.3916 193.117 40.0281 192.468 42.6166C191.811 45.2051 189.175 46.7758 186.586 46.1267C183.998 45.4696 182.427 42.833 183.076 40.2445V40.2365Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M160.18 38.2651V44.548C160.18 44.7323 160.293 44.8926 160.469 44.9567L165.421 46.6637C165.99 49.1159 166.96 51.4159 168.25 53.4995L165.95 58.2117C165.87 58.38 165.902 58.5723 166.031 58.7085L170.47 63.1563C170.598 63.2845 170.799 63.3165 170.959 63.2364L175.671 60.9444C177.747 62.2347 180.047 63.2043 182.499 63.7813L184.206 68.7339C184.262 68.9102 184.43 69.0224 184.615 69.0224H190.898C191.082 69.0224 191.242 68.9102 191.306 68.7339L193.013 63.7813C195.466 63.2124 197.766 62.2427 199.849 60.9524L204.561 63.2524C204.73 63.3326 204.922 63.3005 205.058 63.1723L209.506 58.7326C209.634 58.6044 209.666 58.404 209.586 58.2357L207.294 53.5235C208.584 51.4479 209.554 49.148 210.131 46.6957L215.084 44.9887C215.26 44.9327 215.372 44.7644 215.372 44.58V38.2971C215.372 38.1128 215.26 37.9525 215.084 37.8884L210.131 36.1815C209.562 33.7292 208.592 31.4292 207.302 29.3456L209.602 24.6334C209.682 24.4652 209.65 24.2728 209.522 24.1366L205.082 19.6889C204.954 19.5607 204.754 19.5286 204.585 19.6087L199.873 21.9007C197.798 20.6105 195.498 19.6408 193.045 19.0638L191.338 14.1112C191.282 13.9349 191.114 13.8227 190.93 13.8227H184.647C184.462 13.8227 184.302 13.9349 184.238 14.1112L182.531 19.0638C180.079 19.6328 177.779 20.6025 175.695 21.8927L170.983 19.5927C170.815 19.5126 170.622 19.5446 170.486 19.6728L166.039 24.1125C165.91 24.2408 165.878 24.4411 165.958 24.6014L168.25 29.3136C166.96 31.3892 165.99 33.6892 165.413 36.1414L160.461 37.8484C160.285 37.9045 160.172 38.0728 160.172 38.2571L160.18 38.2651ZM176.713 30.3313C179.646 27.3982 183.549 25.7875 187.7 25.7875C196.259 25.7875 203.231 32.7676 203.223 41.3344C203.223 41.8633 203.199 42.3922 203.143 42.9132C202.91 45.1731 202.189 47.3609 201.019 49.3082C200.915 49.4845 200.691 49.5406 200.514 49.4365C200.386 49.3643 200.322 49.2201 200.338 49.0839C200.338 49.0278 200.362 48.9797 200.386 48.9316C201.5 47.0724 202.189 44.9887 202.414 42.833C202.462 42.3361 202.494 41.8313 202.494 41.3344C202.494 33.1763 195.874 26.5327 187.708 26.5247C183.757 26.5247 180.039 28.0554 177.242 30.8522C174.806 33.2804 173.323 36.4139 172.979 39.7877C172.93 40.2926 172.898 40.7975 172.898 41.3104C172.898 44.2274 173.74 46.9522 175.206 49.2441C177.835 53.3713 182.443 56.112 187.684 56.1201C188.742 56.1201 189.792 56.0079 190.818 55.7915C191.018 55.7514 191.21 55.8716 191.258 56.072C191.266 56.112 191.266 56.1521 191.258 56.1842C191.242 56.3364 191.13 56.4727 190.97 56.5047C190.906 56.5207 190.85 56.5288 190.785 56.5448C190.753 56.5448 190.721 56.5608 190.689 56.5608H190.657C189.848 56.7211 189.014 56.8173 188.189 56.8413C188.021 56.8413 187.852 56.8413 187.684 56.8413C187.147 56.8413 186.618 56.8173 186.089 56.7612C182.539 56.4005 179.253 54.8458 176.705 52.2894C173.772 49.3563 172.161 45.4536 172.161 41.3024C172.161 40.7654 172.185 40.2365 172.241 39.7076C172.602 36.1654 174.165 32.8798 176.713 30.3233V30.3313ZM187.139 47.7135C186.835 47.6814 186.53 47.6253 186.226 47.5532C182.852 46.6957 180.8 43.2577 181.65 39.8759C182.066 38.241 183.092 36.8627 184.543 35.9972C185.993 35.1317 187.692 34.8832 189.327 35.2999C192.701 36.1574 194.752 39.5954 193.903 42.9773C193.126 46.0466 190.208 48.026 187.139 47.7135V47.7135Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M210.948 65.4082V69.6155C210.948 69.7357 211.02 69.8479 211.141 69.8879L214.45 71.0339C214.835 72.6768 215.476 74.2154 216.342 75.6098L214.803 78.7593C214.747 78.8715 214.771 78.9997 214.859 79.0879L217.832 82.061C217.92 82.1492 218.049 82.1732 218.161 82.1171L221.31 80.5865C222.705 81.452 224.235 82.1011 225.878 82.4858L227.016 85.7955C227.056 85.9077 227.168 85.9878 227.289 85.9878H231.496C231.616 85.9878 231.728 85.9157 231.768 85.7955L232.914 82.4858C234.557 82.1011 236.096 81.46 237.49 80.5945L240.64 82.1332C240.752 82.1893 240.88 82.1652 240.968 82.0771L243.941 79.1039C244.03 79.0157 244.054 78.8875 243.998 78.7753L242.467 75.6259C243.332 74.2315 243.982 72.7008 244.366 71.058L247.676 69.92C247.796 69.8799 247.868 69.7677 247.868 69.6475V65.4402C247.868 65.32 247.796 65.2078 247.676 65.1677L244.366 64.0218C243.982 62.3789 243.34 60.8402 242.475 59.4458L244.014 56.2964C244.07 56.1842 244.046 56.0559 243.957 55.9678L240.984 52.9946C240.896 52.9065 240.768 52.8824 240.656 52.9385L237.506 54.4692C236.112 53.6037 234.581 52.9546 232.938 52.5699L231.8 49.2601C231.76 49.148 231.648 49.0678 231.528 49.0678H227.321C227.2 49.0678 227.088 49.1399 227.048 49.2601L225.902 52.5699C224.259 52.9546 222.721 53.5957 221.326 54.4612L218.177 52.9225C218.065 52.8664 217.936 52.8904 217.848 52.9786L214.875 55.9518C214.787 56.0399 214.763 56.1681 214.819 56.2803L216.35 59.4298C215.484 60.8242 214.835 62.3549 214.45 63.9977L211.141 65.1357C211.02 65.1757 210.948 65.2879 210.948 65.4082ZM221.783 59.8706C223.811 57.851 226.503 56.7371 229.364 56.7371C232.225 56.7371 234.918 57.8591 236.937 59.8786C238.957 61.9061 240.071 64.5987 240.071 67.4597C240.071 67.8203 240.055 68.189 240.015 68.5496C239.854 70.1123 239.358 71.6189 238.548 72.9653C238.388 73.2377 238.035 73.3179 237.771 73.1576C237.578 73.0374 237.474 72.821 237.498 72.6126C237.498 72.5325 237.53 72.4524 237.578 72.3802C238.3 71.1782 238.748 69.8318 238.893 68.4374C238.925 68.1169 238.941 67.7883 238.941 67.4677C238.941 64.9113 237.947 62.5071 236.144 60.696C234.333 58.8848 231.929 57.8911 229.372 57.8831C226.816 57.8831 224.412 58.8768 222.6 60.68C221.022 62.2507 220.06 64.2782 219.844 66.466C219.812 66.7946 219.796 67.1231 219.796 67.4517C219.796 70.0081 220.789 72.4123 222.592 74.2234C222.608 74.2395 222.624 74.2555 222.641 74.2715L222.657 74.2876C223.282 74.9046 223.971 75.3053 224.716 75.722C226.086 76.4914 227.641 76.8119 229.252 76.8119C229.292 76.8119 228.779 76.8119 228.779 76.8119V77.0043C229.917 77.0043 230.438 76.9482 231.103 76.8119C231.408 76.7478 231.856 76.9482 231.929 77.2607C231.945 77.3168 232.017 77.3889 232.009 77.445C231.985 77.6854 231.849 77.8938 231.6 77.9419C231.568 77.9419 231.552 77.9579 231.52 77.9659C230.807 78.1102 230.085 78.1823 229.356 78.1823C228.988 78.1823 228.627 78.1663 228.274 78.1262C222.873 77.5733 218.65 72.9973 218.658 67.4597C218.658 67.0911 218.682 66.7224 218.714 66.3618C218.962 63.9176 220.036 61.6496 221.799 59.8866L221.783 59.8706ZM231.616 71.2182C230.815 71.6991 229.901 71.8994 228.988 71.8032C228.779 71.7792 228.571 71.7471 228.362 71.691C227.249 71.4106 226.311 70.7134 225.718 69.7196C225.133 68.7339 224.965 67.5719 225.245 66.458C225.83 64.158 228.17 62.7636 230.47 63.3406C232.77 63.9256 234.165 66.2656 233.588 68.5656C233.307 69.6796 232.61 70.6172 231.616 71.2022V71.2182Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M226.695 69.1426C226.263 68.4134 226.142 67.5639 226.343 66.7465C226.735 65.2078 228.194 64.2141 229.733 64.3744C229.885 64.3904 230.037 64.4144 230.189 64.4545C231.88 64.8872 232.906 66.6102 232.481 68.3012C232.273 69.1186 231.76 69.8078 231.031 70.2405C230.302 70.6733 229.452 70.7935 228.635 70.5931C227.817 70.3848 227.128 69.8719 226.695 69.1426Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M77.1723 147.446C74.2873 147.446 71.5386 145.162 71.5386 142.277V58.5242C71.5386 51.9608 77.2845 47.1846 83.8399 47.1846H209.955C216.518 47.1846 221.919 51.9608 221.919 58.5242V142.277C221.919 145.162 219.507 147.446 216.622 147.446H77.1723Z",fill:"white"}),React.createElement("path",{d:"M135.152 20.1136H110.301C109.636 20.1136 109.099 19.5767 109.099 18.9115V5.36002C109.099 4.69487 109.636 4.15794 110.301 4.15794H135.152C135.817 4.15794 136.354 4.69487 136.354 5.36002V18.9115C136.354 19.5767 135.817 20.1136 135.152 20.1136V20.1136ZM110.301 4.67083C109.925 4.67083 109.612 4.97536 109.612 5.36002V18.9115C109.612 19.2882 109.917 19.6007 110.301 19.6007H135.152C135.529 19.6007 135.833 19.2962 135.833 18.9115V5.36002C135.833 4.98337 135.529 4.67083 135.152 4.67083H110.301V4.67083Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M136.09 9.7837H109.356C109.211 9.7837 109.099 9.6715 109.099 9.52725V7.45967C109.099 7.31542 109.211 7.20322 109.356 7.20322H136.09C136.234 7.20322 136.346 7.31542 136.346 7.45967V9.52725C136.346 9.6715 136.234 9.7837 136.09 9.7837V9.7837ZM109.612 9.27081H135.833V7.71611H109.612V9.27081Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M128.918 16.7077C127.868 16.7077 127.011 15.8502 127.011 14.8004C127.011 13.7506 127.868 12.9011 128.918 12.9011C129.415 12.9011 129.88 13.0934 130.232 13.43C130.28 13.4781 130.312 13.5422 130.312 13.6143C130.312 13.6865 130.28 13.7506 130.232 13.7987C129.96 14.0551 129.808 14.4237 129.808 14.8004C129.808 15.177 129.96 15.5377 130.232 15.8021C130.28 15.8502 130.312 15.9143 130.312 15.9865C130.312 16.0586 130.28 16.1227 130.232 16.1708C129.88 16.5154 129.407 16.6997 128.918 16.6997V16.7077ZM128.918 13.414C128.149 13.414 127.532 14.0391 127.532 14.8004C127.532 15.5617 128.157 16.1948 128.918 16.1948C129.199 16.1948 129.463 16.1147 129.687 15.9624C129.431 15.6338 129.295 15.2251 129.295 14.8004C129.295 14.3757 129.439 13.9669 129.687 13.6384C129.463 13.4861 129.199 13.406 128.918 13.406V13.414Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M131.193 16.7077C130.144 16.7077 129.286 15.8502 129.286 14.8004C129.286 13.7506 130.144 12.9011 131.193 12.9011C132.243 12.9011 133.101 13.7586 133.101 14.8004C133.101 15.8422 132.243 16.7077 131.193 16.7077ZM131.193 13.414C130.424 13.414 129.807 14.0391 129.807 14.8004C129.807 15.5617 130.432 16.1948 131.193 16.1948C131.955 16.1948 132.58 15.5697 132.58 14.8004C132.58 14.0311 131.955 13.414 131.193 13.414Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M121.882 12.9171H110.775C110.63 12.9171 110.518 12.8049 110.518 12.6607C110.518 12.5164 110.63 12.4042 110.775 12.4042H121.882C122.026 12.4042 122.138 12.5164 122.138 12.6607C122.138 12.8049 122.026 12.9171 121.882 12.9171V12.9171Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M121.882 16.0185H110.775C110.63 16.0185 110.518 15.9063 110.518 15.7621C110.518 15.6178 110.63 15.5056 110.775 15.5056H121.882C122.026 15.5056 122.138 15.6178 122.138 15.7621C122.138 15.9063 122.026 16.0185 121.882 16.0185V16.0185Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M112.569 6.19347H111.167C111.022 6.19347 110.91 6.08127 110.91 5.93702C110.91 5.79277 111.022 5.68058 111.167 5.68058H112.569C112.713 5.68058 112.825 5.79277 112.825 5.93702C112.825 6.08127 112.713 6.19347 112.569 6.19347Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M115.463 6.19347H114.06C113.916 6.19347 113.804 6.08127 113.804 5.93702C113.804 5.79277 113.916 5.68058 114.06 5.68058H115.463C115.607 5.68058 115.719 5.79277 115.719 5.93702C115.719 6.08127 115.607 6.19347 115.463 6.19347Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M118.347 6.19347H116.945C116.801 6.19347 116.688 6.08127 116.688 5.93702C116.688 5.79277 116.801 5.68058 116.945 5.68058H118.347C118.492 5.68058 118.604 5.79277 118.604 5.93702C118.604 6.08127 118.492 6.19347 118.347 6.19347Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M109.356 16.1387H106.247C105.589 16.1387 105.044 15.6018 105.044 14.9446V1.39315C105.044 0.736006 105.581 0.199074 106.247 0.199074H131.098C131.755 0.199074 132.292 0.736006 132.292 1.39315V4.4224C132.292 4.56665 132.179 4.67884 132.035 4.67884H110.294C109.917 4.67884 109.604 4.98337 109.604 5.36804V15.8903C109.604 16.0345 109.492 16.1467 109.348 16.1467L109.356 16.1387ZM106.247 0.703949C105.87 0.703949 105.565 1.00848 105.565 1.38513V14.9446C105.565 15.3213 105.87 15.6258 106.247 15.6258H109.091V5.36002C109.091 4.69487 109.628 4.15794 110.294 4.15794H131.779V1.38513C131.779 1.00848 131.474 0.703949 131.098 0.703949H106.247V0.703949Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M51.3519 117.186C49.9975 117.186 48.8916 116.08 48.8916 114.726C48.8916 113.371 49.9975 112.265 51.3519 112.265C52.7062 112.265 53.8121 113.371 53.8121 114.726C53.8121 116.08 52.7062 117.186 51.3519 117.186ZM51.3519 113.163C50.4944 113.163 49.7892 113.86 49.7892 114.726C49.7892 115.591 50.4864 116.28 51.3519 116.28C52.2174 116.28 52.9146 115.583 52.9146 114.726C52.9146 113.868 52.2174 113.163 51.3519 113.163Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M24.754 141.989C24.5055 141.989 24.3052 141.789 24.3052 141.54V135.313C24.3052 135.065 24.5055 134.865 24.754 134.865C25.0024 134.865 25.2027 135.065 25.2027 135.313V141.54C25.2027 141.789 25.0024 141.989 24.754 141.989Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M27.8631 138.88H21.6363C21.3879 138.88 21.1875 138.679 21.1875 138.431C21.1875 138.182 21.3879 137.982 21.6363 137.982H27.8631C28.1115 137.982 28.3119 138.182 28.3119 138.431C28.3119 138.679 28.1115 138.88 27.8631 138.88Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M10.8179 51.3758C10.5695 51.3758 10.3691 51.1755 10.3691 50.927V44.7002C10.3691 44.4518 10.5695 44.2515 10.8179 44.2515C11.0664 44.2515 11.2667 44.4518 11.2667 44.7002V50.927C11.2667 51.1755 11.0664 51.3758 10.8179 51.3758Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M13.927 48.2664H7.70025C7.45182 48.2664 7.25146 48.0661 7.25146 47.8177C7.25146 47.5692 7.45182 47.3689 7.70025 47.3689H13.927C14.1755 47.3689 14.3758 47.5692 14.3758 47.8177C14.3758 48.0661 14.1755 48.2664 13.927 48.2664Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M54.309 81.6443H31.285C30.7401 81.6443 30.2993 81.2036 30.2993 80.6586C30.2993 80.1137 30.7401 79.6729 31.285 79.6729H54.309C54.8539 79.6729 55.2947 80.1137 55.2947 80.6586C55.2947 81.2036 54.8539 81.6443 54.309 81.6443Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M19.256 100.725H1.64147C1.09653 100.725 0.655762 100.285 0.655762 99.7397C0.655762 99.1948 1.09653 98.754 1.64147 98.754H19.256C19.801 98.754 20.2417 99.1948 20.2417 99.7397C20.2417 100.285 19.801 100.725 19.256 100.725Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M57.554 48.2183C57.3938 48.2183 57.2495 48.0821 57.2495 47.9218V41.3825C57.2495 41.2222 57.3857 41.086 57.546 41.086H64.0533C64.1415 41.086 64.2216 41.1261 64.2777 41.1902C64.3819 41.3104 64.3819 41.4947 64.2777 41.5989L57.7704 48.1302C57.7143 48.1863 57.6422 48.2183 57.5621 48.2183H57.554ZM57.8425 41.679V47.2166L63.3641 41.679H57.8425Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M57.5464 48.2184H38.0245C37.8643 48.2184 37.728 48.0821 37.728 47.9218V12.5164C37.728 12.3562 37.8643 12.2199 38.0245 12.2199H64.0537C64.214 12.2199 64.3502 12.3562 64.3502 12.5164V41.3825C64.3502 41.5428 64.214 41.679 64.0537 41.679H57.8429V47.9218C57.8429 48.0821 57.7067 48.2184 57.5464 48.2184V48.2184ZM38.3211 47.6253H57.2499V41.3825C57.2499 41.2222 57.3861 41.086 57.5464 41.086H63.7572V12.8049H38.3211V47.6173V47.6253ZM45.3012 41.4226C44.8444 41.4226 44.3956 41.1902 44.1472 40.7734L43.2095 39.2187C43.0252 38.9142 42.9691 38.5536 43.0573 38.201C43.1454 37.8484 43.3618 37.5519 43.6663 37.3675L54.5572 30.7721C54.6133 30.74 54.6774 30.724 54.7415 30.732L57.7788 31.0526C57.867 31.0606 57.9471 31.1087 57.9952 31.1888C58.0433 31.2609 58.0513 31.3571 58.0272 31.4453L57.0175 34.4745C56.9934 34.5386 56.9534 34.5947 56.8893 34.6348L46.928 40.6693C46.928 40.6693 46.9039 40.6773 46.8959 40.6853L45.9984 41.2382C45.782 41.3665 45.5416 41.4306 45.3012 41.4306V41.4226ZM54.7736 31.3251L43.9628 37.8724C43.7945 37.9766 43.6743 38.1369 43.6182 38.3372C43.5702 38.5376 43.6022 38.7379 43.7064 38.9062L44.644 40.4609C44.8604 40.8215 45.3252 40.9337 45.6858 40.7173L46.6074 40.1484C46.6074 40.1484 46.6315 40.1323 46.6475 40.1323L56.4886 34.17L57.346 31.5975L54.7736 31.3251V31.3251Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M56.745 34.6669C56.6408 34.6669 56.5446 34.6108 56.4885 34.5226L54.461 31.1728C54.4049 31.0766 54.4049 30.9564 54.461 30.8602C54.5251 30.7641 54.6293 30.716 54.7415 30.724L57.7788 31.0446C57.8669 31.0526 57.9471 31.1007 57.9951 31.1808C58.0432 31.2529 58.0512 31.3491 58.0272 31.4373L57.0175 34.4665C56.9774 34.5787 56.8812 34.6508 56.769 34.6669C56.761 34.6669 56.745 34.6669 56.737 34.6669H56.745ZM55.2784 31.3812L56.6648 33.6731L57.354 31.6055L55.2784 31.3812V31.3812Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M46.7841 40.7013C46.6799 40.7013 46.5837 40.6452 46.5276 40.5571L45.5098 38.8822C45.4537 38.794 45.4537 38.6738 45.5098 38.5856C45.5419 38.5296 45.59 38.4895 45.6461 38.4574L55.5833 32.439C55.6474 32.3989 55.7276 32.3829 55.8077 32.4069C55.8878 32.423 55.952 32.471 55.992 32.5432L57.0018 34.2181C57.0899 34.3543 57.0418 34.5386 56.9056 34.6268L46.9443 40.6613C46.8963 40.6853 46.8482 40.7013 46.7921 40.7013H46.7841ZM46.167 38.8341L46.8802 39.9961L56.3366 34.2662L55.6314 33.0961L46.167 38.8261V38.8341Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M45.7658 39.0344C45.6616 39.0344 45.5574 38.9783 45.5093 38.8902L44.5076 37.2233C44.4675 37.1672 44.4515 37.0951 44.4595 37.0229C44.4675 36.9348 44.5236 36.8546 44.5958 36.8066L54.565 30.7721C54.7013 30.6839 54.8856 30.732 54.9738 30.8683L55.9915 32.5432C56.0316 32.6073 56.0476 32.6874 56.0236 32.7676C56.0075 32.8477 55.9595 32.9118 55.8873 32.9519L45.9261 38.9863C45.878 39.0104 45.8299 39.0264 45.7738 39.0264L45.7658 39.0344ZM45.1567 37.1592L45.862 38.3372L55.3264 32.6073L54.6131 31.4373L45.1567 37.1672V37.1592Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M45.3014 41.4226C44.8446 41.4226 44.3958 41.1902 44.1474 40.7734L43.2097 39.2187C43.0254 38.9142 42.9693 38.5536 43.0575 38.201C43.1456 37.8484 43.362 37.5519 43.6665 37.3675L44.5961 36.8066C44.7164 36.7344 44.8686 36.7585 44.9648 36.8546C44.9808 36.8707 44.9968 36.8947 45.0049 36.9107L47.0324 40.2525C47.1205 40.3888 47.0724 40.5731 46.9362 40.6612L46.0066 41.2302C45.7902 41.3585 45.5498 41.4226 45.3094 41.4226H45.3014ZM44.6442 37.4637L43.9711 37.8724C43.8028 37.9766 43.6826 38.1369 43.6265 38.3372C43.5784 38.5376 43.6104 38.7379 43.7146 38.9062L44.6522 40.4609C44.8686 40.8215 45.3334 40.9337 45.694 40.7173L46.3672 40.3086L45.5819 39.0104L44.6442 37.4557V37.4637Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M57.5464 48.2184H38.0245C37.8643 48.2184 37.728 48.0821 37.728 47.9218V12.5164C37.728 12.3562 37.8643 12.2199 38.0245 12.2199H64.0537C64.214 12.2199 64.3502 12.3562 64.3502 12.5164V41.3825C64.3502 41.5428 64.214 41.679 64.0537 41.679H57.8429V47.9218C57.8429 48.0821 57.7067 48.2184 57.5464 48.2184V48.2184ZM38.3211 47.6253H57.2499V41.3825C57.2499 41.2222 57.3861 41.086 57.5464 41.086H63.7572V12.8049H38.3211V47.6173V47.6253Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M57.5542 48.2183C57.4821 48.2183 57.402 48.1863 57.3459 48.1302C57.2337 48.018 57.2337 47.8257 57.3459 47.7135L63.8532 41.1821C63.9653 41.0699 64.1577 41.0699 64.2699 41.1821C64.3821 41.2943 64.3821 41.4867 64.2699 41.5989L57.7626 48.1302C57.7065 48.1863 57.6263 48.2183 57.5542 48.2183Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M59.654 19.3283H42.1276C41.9673 19.3283 41.8311 19.192 41.8311 19.0317C41.8311 18.8715 41.9673 18.7352 42.1276 18.7352H59.654C59.8142 18.7352 59.9505 18.8715 59.9505 19.0317C59.9505 19.192 59.8142 19.3283 59.654 19.3283Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M59.654 24.0324H42.1276C41.9673 24.0324 41.8311 23.8962 41.8311 23.7359C41.8311 23.5756 41.9673 23.4394 42.1276 23.4394H59.654C59.8142 23.4394 59.9505 23.5756 59.9505 23.7359C59.9505 23.8962 59.8142 24.0324 59.654 24.0324Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M59.654 28.7285H42.1276C41.9673 28.7285 41.8311 28.5923 41.8311 28.432C41.8311 28.2718 41.9673 28.1355 42.1276 28.1355H59.654C59.8142 28.1355 59.9505 28.2718 59.9505 28.432C59.9505 28.5923 59.8142 28.7285 59.654 28.7285Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M45.3014 41.4226C44.8446 41.4226 44.3958 41.1902 44.1474 40.7734L43.2097 39.2187C43.0254 38.9142 42.9693 38.5536 43.0575 38.201C43.1456 37.8484 43.362 37.5519 43.6665 37.3675L54.5574 30.7721C54.6135 30.74 54.6776 30.724 54.7417 30.732L57.779 31.0526C57.8672 31.0606 57.9473 31.1087 57.9954 31.1888C58.0435 31.2609 58.0515 31.3571 58.0274 31.4453L57.0177 34.4745C56.9936 34.5386 56.9536 34.5947 56.8895 34.6348L46.9282 40.6693C46.9282 40.6693 46.9041 40.6773 46.8961 40.6853L45.9986 41.2382C45.7822 41.3665 45.5418 41.4306 45.3014 41.4306V41.4226ZM54.7738 31.3251L43.963 37.8724C43.7948 37.9766 43.6745 38.1369 43.6184 38.3372C43.5704 38.5376 43.6024 38.7379 43.7066 38.9062L44.6442 40.4609C44.8606 40.8215 45.3254 40.9337 45.686 40.7173L46.6076 40.1484C46.6076 40.1484 46.6317 40.1323 46.6477 40.1323L56.4888 34.17L57.3463 31.5975L54.7738 31.3251V31.3251Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M46.7838 40.7093C46.7116 40.7093 46.6395 40.6853 46.5914 40.6372C46.5674 40.6132 46.5434 40.5891 46.5273 40.5651L44.4998 37.2153C44.4117 37.079 44.4597 36.8947 44.604 36.8066C44.7402 36.7184 44.9245 36.7665 45.0127 36.9107L47.0162 40.2205C47.0562 40.2686 47.0803 40.3327 47.0803 40.4048C47.0803 40.5651 46.944 40.7013 46.7838 40.7013V40.7093Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M56.745 34.6669C56.6489 34.6669 56.5447 34.6188 56.4886 34.5226L54.4611 31.1728C54.3729 31.0366 54.421 30.8522 54.5572 30.7641C54.6935 30.6839 54.8778 30.724 54.9659 30.8602L56.9935 34.2101C57.0816 34.3463 57.0335 34.5306 56.8973 34.6188C56.8492 34.6508 56.7931 34.6588 56.745 34.6588V34.6669Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M45.7659 39.0344C45.6697 39.0344 45.5655 38.9863 45.5094 38.8902C45.4213 38.7539 45.4693 38.5696 45.6056 38.4815L55.5669 32.447C55.7031 32.3589 55.8874 32.4069 55.9756 32.5432C56.0637 32.6794 56.0156 32.8637 55.8794 32.9519L45.9181 38.9863C45.87 39.0184 45.8139 39.0264 45.7659 39.0264V39.0344Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M244.543 96.1254C243.188 96.1254 242.083 95.0195 242.083 93.6652C242.083 92.3108 243.188 91.2049 244.543 91.2049C245.897 91.2049 247.003 92.3108 247.003 93.6652C247.003 95.0195 245.897 96.1254 244.543 96.1254ZM244.543 92.1025C243.685 92.1025 242.98 92.7997 242.98 93.6652C242.98 94.5307 243.677 95.2279 244.543 95.2279C245.408 95.2279 246.106 94.5307 246.106 93.6652C246.106 92.7997 245.408 92.1025 244.543 92.1025Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M285.718 69.0304C285.469 69.0304 285.269 68.8301 285.269 68.5817V62.3549C285.269 62.1064 285.469 61.9061 285.718 61.9061C285.966 61.9061 286.167 62.1064 286.167 62.3549V68.5817C286.167 68.8301 285.966 69.0304 285.718 69.0304Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M288.827 65.921H282.601C282.352 65.921 282.152 65.7207 282.152 65.4723C282.152 65.2238 282.352 65.0235 282.601 65.0235H288.827C289.076 65.0235 289.276 65.2238 289.276 65.4723C289.276 65.7207 289.076 65.921 288.827 65.921Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M284.668 28.961C284.42 28.961 284.219 28.7606 284.219 28.5122V22.2854C284.219 22.0369 284.42 21.8366 284.668 21.8366C284.916 21.8366 285.117 22.0369 285.117 22.2854V28.5122C285.117 28.7606 284.916 28.961 284.668 28.961Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M257.573 25.9397H251.346C251.098 25.9397 250.897 25.7394 250.897 25.4909C250.897 25.2425 251.098 25.0422 251.346 25.0422H257.573C257.821 25.0422 258.022 25.2425 258.022 25.4909C258.022 25.7394 257.821 25.9397 257.573 25.9397Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M299.052 116.369H259.641C258.794 116.369 258.11 115.286 258.11 113.964C258.11 112.643 258.799 111.56 259.641 111.56H299.052C299.899 111.56 300.584 112.643 300.584 113.964C300.584 115.286 299.894 116.369 299.052 116.369ZM259.641 112.452C259.109 112.452 258.678 113.128 258.678 113.964C258.678 114.8 259.109 115.477 259.641 115.477H299.052C299.585 115.477 300.016 114.8 300.016 113.964C300.016 113.128 299.585 112.452 299.052 112.452H259.641Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M299.67 98.3373H282.056C281.511 98.3373 281.07 97.8965 281.07 97.3516C281.07 96.8066 281.511 96.3658 282.056 96.3658H299.67C300.215 96.3658 300.656 96.8066 300.656 97.3516C300.656 97.8965 300.215 98.3373 299.67 98.3373Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M278.353 163.987H249.847C249.102 163.987 248.493 163.378 248.493 162.625V143.407C248.493 142.654 249.102 142.045 249.847 142.045H278.353C279.098 142.045 279.707 142.654 279.707 143.407V162.625C279.707 163.378 279.098 163.987 278.353 163.987ZM249.847 142.558C249.383 142.558 249.006 142.935 249.006 143.407V162.625C249.006 163.09 249.383 163.474 249.847 163.474H278.353C278.818 163.474 279.194 163.098 279.194 162.625V143.407C279.194 142.943 278.818 142.558 278.353 142.558H249.847Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M279.459 146.485H248.758C248.614 146.485 248.501 146.373 248.501 146.228C248.501 146.084 248.614 145.972 248.758 145.972H279.459C279.603 145.972 279.716 146.084 279.716 146.228C279.716 146.373 279.603 146.485 279.459 146.485Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M251.675 145.339H250.048C249.904 145.339 249.792 145.227 249.792 145.082V143.455C249.792 143.311 249.904 143.199 250.048 143.199H251.675C251.82 143.199 251.932 143.311 251.932 143.455V145.082C251.932 145.227 251.82 145.339 251.675 145.339ZM250.305 144.826H251.419V143.712H250.305V144.826Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M254.832 145.339H253.206C253.061 145.339 252.949 145.227 252.949 145.082V143.455C252.949 143.311 253.061 143.199 253.206 143.199H254.832C254.977 143.199 255.089 143.311 255.089 143.455V145.082C255.089 145.227 254.977 145.339 254.832 145.339ZM253.47 144.826H254.576V143.712H253.47V144.826Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M257.99 145.339H256.363C256.219 145.339 256.107 145.227 256.107 145.082V143.455C256.107 143.311 256.219 143.199 256.363 143.199H257.99C258.134 143.199 258.247 143.311 258.247 143.455V145.082C258.247 145.227 258.134 145.339 257.99 145.339ZM256.62 144.826H257.734V143.712H256.62V144.826Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M260.138 160.445C260.082 160.445 260.026 160.429 259.978 160.389L253.542 155.036C253.486 154.987 253.446 154.915 253.446 154.835C253.446 154.755 253.478 154.683 253.542 154.635L259.633 149.57C259.745 149.482 259.905 149.498 259.994 149.602C260.082 149.714 260.066 149.875 259.962 149.963L254.103 154.835L260.306 159.988C260.418 160.076 260.426 160.237 260.338 160.349C260.29 160.413 260.218 160.445 260.138 160.445V160.445Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M268.071 160.445C267.999 160.445 267.927 160.413 267.871 160.349C267.783 160.237 267.799 160.076 267.903 159.988L274.106 154.835L268.247 149.963C268.135 149.875 268.127 149.714 268.215 149.602C268.303 149.49 268.464 149.482 268.576 149.57L274.666 154.635C274.723 154.683 274.763 154.755 274.763 154.835C274.763 154.915 274.731 154.987 274.666 155.036L268.231 160.389C268.183 160.429 268.127 160.445 268.071 160.445V160.445Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M260.883 161.599C260.883 161.599 260.802 161.591 260.77 161.575C260.642 161.511 260.594 161.359 260.658 161.23L267.037 148.512C267.101 148.384 267.254 148.336 267.382 148.4C267.51 148.464 267.558 148.616 267.494 148.745L261.115 161.463C261.067 161.551 260.979 161.607 260.883 161.607V161.599Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M209.963 50.6065H83.8481C79.4484 50.6065 76.0986 54.1246 76.0986 58.5242V142.277C76.0986 142.999 76.4512 144.025 77.1725 144.025H216.63C217.352 144.025 218.506 142.999 218.506 142.277V58.5242C218.506 54.1166 214.354 50.6065 209.955 50.6065H209.963ZM215.092 141.749H78.3746V58.5242C78.3746 55.5591 80.8829 54.0204 83.84 54.0204H209.955C212.912 54.0204 215.084 55.5591 215.084 58.5242V141.749H215.092Z",fill:"#F2F2F2"}),React.createElement("path",{d:"M85.7633 59.1173H208.055C208.777 59.1173 209.362 59.7023 209.362 60.4235V133.703C209.362 134.424 208.777 135.009 208.055 135.009H85.7633C85.042 135.009 84.457 134.424 84.457 133.703V60.4235C84.457 59.7023 85.042 59.1173 85.7633 59.1173Z",fill:"#F2F2F2"}),React.createElement("g",{filter:"url(#filter0_d_14_1273)"},React.createElement("mask",{id:"path-56-outside-1_14_1273",maskUnits:"userSpaceOnUse",x:"110.656",y:"81.2442",width:"62",height:"23",fill:"black"},React.createElement("rect",{fill:"white",x:"110.656",y:"81.2442",width:"62",height:"23"}),React.createElement("path",{d:"M119.471 98.3641C117.913 98.3641 116.547 98.0227 115.375 97.3399C114.217 96.6572 113.304 95.7146 112.636 94.5123C111.983 93.2951 111.656 91.8924 111.656 90.3042C111.656 88.7159 111.983 87.3207 112.636 86.1183C113.304 84.9012 114.217 83.9512 115.375 83.2684C116.547 82.5856 117.913 82.2442 119.471 82.2442C121.015 82.2442 122.373 82.5856 123.546 83.2684C124.718 83.9512 125.631 84.9012 126.284 86.1183C126.938 87.3207 127.264 88.7159 127.264 90.3042C127.264 91.8924 126.938 93.2951 126.284 94.5123C125.631 95.7146 124.718 96.6572 123.546 97.3399C122.373 98.0227 121.015 98.3641 119.471 98.3641ZM119.471 95.8037C120.956 95.8037 122.136 95.3138 123.011 94.3342C123.902 93.3545 124.347 92.0112 124.347 90.3042C124.347 88.5972 123.902 87.2539 123.011 86.2742C122.136 85.2945 120.956 84.8047 119.471 84.8047C117.987 84.8047 116.799 85.2945 115.909 86.2742C115.018 87.2539 114.573 88.5972 114.573 90.3042C114.573 92.0112 115.018 93.3545 115.909 94.3342C116.799 95.3138 117.987 95.8037 119.471 95.8037Z"}),React.createElement("path",{d:"M134.567 98.3641C133.499 98.3641 132.534 98.1192 131.673 97.6294C130.827 97.1396 130.151 96.4642 129.647 95.6033C129.157 94.7275 128.912 93.7182 128.912 92.5752C128.912 91.4323 129.164 90.4303 129.669 89.5694C130.174 88.6937 130.849 88.0109 131.695 87.521C132.556 87.0312 133.521 86.7863 134.59 86.7863C135.644 86.7863 136.594 87.0312 137.44 87.521C138.3 88.0109 138.976 88.6937 139.466 89.5694C139.97 90.4303 140.223 91.4323 140.223 92.5752C140.223 93.7182 139.97 94.7275 139.466 95.6033C138.976 96.4642 138.3 97.1396 137.44 97.6294C136.579 98.1192 135.621 98.3641 134.567 98.3641ZM134.567 95.8927C135.31 95.8927 135.955 95.6181 136.504 95.0689C137.054 94.5049 137.328 93.6736 137.328 92.5752C137.328 91.4768 137.054 90.653 136.504 90.1038C135.955 89.5397 135.317 89.2577 134.59 89.2577C133.833 89.2577 133.18 89.5397 132.63 90.1038C132.096 90.653 131.829 91.4768 131.829 92.5752C131.829 93.6736 132.096 94.5049 132.63 95.0689C133.18 95.6181 133.825 95.8927 134.567 95.8927Z"}),React.createElement("path",{d:"M142.326 102.995V87.0535H144.864L145.175 88.6343C145.532 88.1445 145.999 87.714 146.578 87.3429C147.172 86.9718 147.936 86.7863 148.871 86.7863C149.911 86.7863 150.838 87.0386 151.655 87.5433C152.471 88.048 153.117 88.7382 153.592 89.614C154.067 90.4897 154.304 91.4842 154.304 92.5975C154.304 93.7107 154.067 94.7052 153.592 95.581C153.117 96.4419 152.471 97.1247 151.655 97.6294C150.838 98.1192 149.911 98.3641 148.871 98.3641C148.04 98.3641 147.313 98.2083 146.69 97.8966C146.066 97.5849 145.561 97.147 145.175 96.5829V102.995H142.326ZM148.27 95.8705C149.176 95.8705 149.925 95.5662 150.519 94.9576C151.113 94.349 151.41 93.5623 151.41 92.5975C151.41 91.6327 151.113 90.8385 150.519 90.2151C149.925 89.5917 149.176 89.28 148.27 89.28C147.35 89.28 146.593 89.5917 145.999 90.2151C145.42 90.8237 145.131 91.6104 145.131 92.5752C145.131 93.54 145.42 94.3342 145.999 94.9576C146.593 95.5662 147.35 95.8705 148.27 95.8705Z"}),React.createElement("path",{d:"M160.969 98.3641C159.989 98.3641 159.129 98.2083 158.386 97.8966C157.644 97.57 157.05 97.1247 156.605 96.5607C156.16 95.9966 155.893 95.3435 155.804 94.6013H158.676C158.765 95.0318 159.002 95.4029 159.388 95.7146C159.789 96.0115 160.301 96.1599 160.925 96.1599C161.548 96.1599 162.001 96.0337 162.283 95.7814C162.58 95.5291 162.728 95.2396 162.728 94.9131C162.728 94.4381 162.52 94.1189 162.105 93.9557C161.689 93.7775 161.11 93.6068 160.368 93.4436C159.893 93.3397 159.411 93.2135 158.921 93.0651C158.431 92.9166 157.978 92.7311 157.563 92.5084C157.162 92.2709 156.835 91.9741 156.583 91.6178C156.331 91.2467 156.204 90.794 156.204 90.2597C156.204 89.28 156.59 88.4562 157.362 87.7882C158.149 87.1203 159.247 86.7863 160.657 86.7863C161.964 86.7863 163.003 87.0906 163.774 87.6992C164.561 88.3077 165.029 89.1464 165.177 90.2151H162.483C162.32 89.3987 161.704 88.9905 160.635 88.9905C160.101 88.9905 159.685 89.0944 159.388 89.3023C159.106 89.5101 158.965 89.7698 158.965 90.0815C158.965 90.4081 159.18 90.6678 159.611 90.8608C160.041 91.0538 160.613 91.2319 161.325 91.3952C162.097 91.5733 162.802 91.7737 163.441 91.9963C164.094 92.2041 164.613 92.5233 164.999 92.9537C165.385 93.3693 165.578 93.9705 165.578 94.7572C165.593 95.44 165.415 96.056 165.044 96.6052C164.673 97.1544 164.138 97.5849 163.441 97.8966C162.743 98.2083 161.919 98.3641 160.969 98.3641Z"}),React.createElement("path",{d:"M168.258 93.1764L167.947 82.5114H170.997L170.663 93.1764H168.258ZM169.528 98.2528C168.993 98.2528 168.555 98.0895 168.214 97.763C167.887 97.4364 167.724 97.0431 167.724 96.5829C167.724 96.1079 167.887 95.7072 168.214 95.3806C168.555 95.0541 168.993 94.8908 169.528 94.8908C170.032 94.8908 170.448 95.0541 170.774 95.3806C171.116 95.7072 171.287 96.1079 171.287 96.5829C171.287 97.0431 171.116 97.4364 170.774 97.763C170.448 98.0895 170.032 98.2528 169.528 98.2528Z"})),React.createElement("path",{d:"M119.471 98.3641C117.913 98.3641 116.547 98.0227 115.375 97.3399C114.217 96.6572 113.304 95.7146 112.636 94.5123C111.983 93.2951 111.656 91.8924 111.656 90.3042C111.656 88.7159 111.983 87.3207 112.636 86.1183C113.304 84.9012 114.217 83.9512 115.375 83.2684C116.547 82.5856 117.913 82.2442 119.471 82.2442C121.015 82.2442 122.373 82.5856 123.546 83.2684C124.718 83.9512 125.631 84.9012 126.284 86.1183C126.938 87.3207 127.264 88.7159 127.264 90.3042C127.264 91.8924 126.938 93.2951 126.284 94.5123C125.631 95.7146 124.718 96.6572 123.546 97.3399C122.373 98.0227 121.015 98.3641 119.471 98.3641ZM119.471 95.8037C120.956 95.8037 122.136 95.3138 123.011 94.3342C123.902 93.3545 124.347 92.0112 124.347 90.3042C124.347 88.5972 123.902 87.2539 123.011 86.2742C122.136 85.2945 120.956 84.8047 119.471 84.8047C117.987 84.8047 116.799 85.2945 115.909 86.2742C115.018 87.2539 114.573 88.5972 114.573 90.3042C114.573 92.0112 115.018 93.3545 115.909 94.3342C116.799 95.3138 117.987 95.8037 119.471 95.8037Z",fill:"#2673FF"}),React.createElement("path",{d:"M134.567 98.3641C133.499 98.3641 132.534 98.1192 131.673 97.6294C130.827 97.1396 130.151 96.4642 129.647 95.6033C129.157 94.7275 128.912 93.7182 128.912 92.5752C128.912 91.4323 129.164 90.4303 129.669 89.5694C130.174 88.6937 130.849 88.0109 131.695 87.521C132.556 87.0312 133.521 86.7863 134.59 86.7863C135.644 86.7863 136.594 87.0312 137.44 87.521C138.3 88.0109 138.976 88.6937 139.466 89.5694C139.97 90.4303 140.223 91.4323 140.223 92.5752C140.223 93.7182 139.97 94.7275 139.466 95.6033C138.976 96.4642 138.3 97.1396 137.44 97.6294C136.579 98.1192 135.621 98.3641 134.567 98.3641ZM134.567 95.8927C135.31 95.8927 135.955 95.6181 136.504 95.0689C137.054 94.5049 137.328 93.6736 137.328 92.5752C137.328 91.4768 137.054 90.653 136.504 90.1038C135.955 89.5397 135.317 89.2577 134.59 89.2577C133.833 89.2577 133.18 89.5397 132.63 90.1038C132.096 90.653 131.829 91.4768 131.829 92.5752C131.829 93.6736 132.096 94.5049 132.63 95.0689C133.18 95.6181 133.825 95.8927 134.567 95.8927Z",fill:"#2673FF"}),React.createElement("path",{d:"M142.326 102.995V87.0535H144.864L145.175 88.6343C145.532 88.1445 145.999 87.714 146.578 87.3429C147.172 86.9718 147.936 86.7863 148.871 86.7863C149.911 86.7863 150.838 87.0386 151.655 87.5433C152.471 88.048 153.117 88.7382 153.592 89.614C154.067 90.4897 154.304 91.4842 154.304 92.5975C154.304 93.7107 154.067 94.7052 153.592 95.581C153.117 96.4419 152.471 97.1247 151.655 97.6294C150.838 98.1192 149.911 98.3641 148.871 98.3641C148.04 98.3641 147.313 98.2083 146.69 97.8966C146.066 97.5849 145.561 97.147 145.175 96.5829V102.995H142.326ZM148.27 95.8705C149.176 95.8705 149.925 95.5662 150.519 94.9576C151.113 94.349 151.41 93.5623 151.41 92.5975C151.41 91.6327 151.113 90.8385 150.519 90.2151C149.925 89.5917 149.176 89.28 148.27 89.28C147.35 89.28 146.593 89.5917 145.999 90.2151C145.42 90.8237 145.131 91.6104 145.131 92.5752C145.131 93.54 145.42 94.3342 145.999 94.9576C146.593 95.5662 147.35 95.8705 148.27 95.8705Z",fill:"#2673FF"}),React.createElement("path",{d:"M160.969 98.3641C159.989 98.3641 159.129 98.2083 158.386 97.8966C157.644 97.57 157.05 97.1247 156.605 96.5607C156.16 95.9966 155.893 95.3435 155.804 94.6013H158.676C158.765 95.0318 159.002 95.4029 159.388 95.7146C159.789 96.0115 160.301 96.1599 160.925 96.1599C161.548 96.1599 162.001 96.0337 162.283 95.7814C162.58 95.5291 162.728 95.2396 162.728 94.9131C162.728 94.4381 162.52 94.1189 162.105 93.9557C161.689 93.7775 161.11 93.6068 160.368 93.4436C159.893 93.3397 159.411 93.2135 158.921 93.0651C158.431 92.9166 157.978 92.7311 157.563 92.5084C157.162 92.2709 156.835 91.9741 156.583 91.6178C156.331 91.2467 156.204 90.794 156.204 90.2597C156.204 89.28 156.59 88.4562 157.362 87.7882C158.149 87.1203 159.247 86.7863 160.657 86.7863C161.964 86.7863 163.003 87.0906 163.774 87.6992C164.561 88.3077 165.029 89.1464 165.177 90.2151H162.483C162.32 89.3987 161.704 88.9905 160.635 88.9905C160.101 88.9905 159.685 89.0944 159.388 89.3023C159.106 89.5101 158.965 89.7698 158.965 90.0815C158.965 90.4081 159.18 90.6678 159.611 90.8608C160.041 91.0538 160.613 91.2319 161.325 91.3952C162.097 91.5733 162.802 91.7737 163.441 91.9963C164.094 92.2041 164.613 92.5233 164.999 92.9537C165.385 93.3693 165.578 93.9705 165.578 94.7572C165.593 95.44 165.415 96.056 165.044 96.6052C164.673 97.1544 164.138 97.5849 163.441 97.8966C162.743 98.2083 161.919 98.3641 160.969 98.3641Z",fill:"#2673FF"}),React.createElement("path",{d:"M168.258 93.1764L167.947 82.5114H170.997L170.663 93.1764H168.258ZM169.528 98.2528C168.993 98.2528 168.555 98.0895 168.214 97.763C167.887 97.4364 167.724 97.0431 167.724 96.5829C167.724 96.1079 167.887 95.7072 168.214 95.3806C168.555 95.0541 168.993 94.8908 169.528 94.8908C170.032 94.8908 170.448 95.0541 170.774 95.3806C171.116 95.7072 171.287 96.1079 171.287 96.5829C171.287 97.0431 171.116 97.4364 170.774 97.763C170.448 98.0895 170.032 98.2528 169.528 98.2528Z",fill:"#2673FF"}),React.createElement("path",{d:"M119.471 98.3641C117.913 98.3641 116.547 98.0227 115.375 97.3399C114.217 96.6572 113.304 95.7146 112.636 94.5123C111.983 93.2951 111.656 91.8924 111.656 90.3042C111.656 88.7159 111.983 87.3207 112.636 86.1183C113.304 84.9012 114.217 83.9512 115.375 83.2684C116.547 82.5856 117.913 82.2442 119.471 82.2442C121.015 82.2442 122.373 82.5856 123.546 83.2684C124.718 83.9512 125.631 84.9012 126.284 86.1183C126.938 87.3207 127.264 88.7159 127.264 90.3042C127.264 91.8924 126.938 93.2951 126.284 94.5123C125.631 95.7146 124.718 96.6572 123.546 97.3399C122.373 98.0227 121.015 98.3641 119.471 98.3641ZM119.471 95.8037C120.956 95.8037 122.136 95.3138 123.011 94.3342C123.902 93.3545 124.347 92.0112 124.347 90.3042C124.347 88.5972 123.902 87.2539 123.011 86.2742C122.136 85.2945 120.956 84.8047 119.471 84.8047C117.987 84.8047 116.799 85.2945 115.909 86.2742C115.018 87.2539 114.573 88.5972 114.573 90.3042C114.573 92.0112 115.018 93.3545 115.909 94.3342C116.799 95.3138 117.987 95.8037 119.471 95.8037Z",stroke:"white",strokeWidth:"2",mask:"url(#path-56-outside-1_14_1273)"}),React.createElement("path",{d:"M134.567 98.3641C133.499 98.3641 132.534 98.1192 131.673 97.6294C130.827 97.1396 130.151 96.4642 129.647 95.6033C129.157 94.7275 128.912 93.7182 128.912 92.5752C128.912 91.4323 129.164 90.4303 129.669 89.5694C130.174 88.6937 130.849 88.0109 131.695 87.521C132.556 87.0312 133.521 86.7863 134.59 86.7863C135.644 86.7863 136.594 87.0312 137.44 87.521C138.3 88.0109 138.976 88.6937 139.466 89.5694C139.97 90.4303 140.223 91.4323 140.223 92.5752C140.223 93.7182 139.97 94.7275 139.466 95.6033C138.976 96.4642 138.3 97.1396 137.44 97.6294C136.579 98.1192 135.621 98.3641 134.567 98.3641ZM134.567 95.8927C135.31 95.8927 135.955 95.6181 136.504 95.0689C137.054 94.5049 137.328 93.6736 137.328 92.5752C137.328 91.4768 137.054 90.653 136.504 90.1038C135.955 89.5397 135.317 89.2577 134.59 89.2577C133.833 89.2577 133.18 89.5397 132.63 90.1038C132.096 90.653 131.829 91.4768 131.829 92.5752C131.829 93.6736 132.096 94.5049 132.63 95.0689C133.18 95.6181 133.825 95.8927 134.567 95.8927Z",stroke:"white",strokeWidth:"2",mask:"url(#path-56-outside-1_14_1273)"}),React.createElement("path",{d:"M142.326 102.995V87.0535H144.864L145.175 88.6343C145.532 88.1445 145.999 87.714 146.578 87.3429C147.172 86.9718 147.936 86.7863 148.871 86.7863C149.911 86.7863 150.838 87.0386 151.655 87.5433C152.471 88.048 153.117 88.7382 153.592 89.614C154.067 90.4897 154.304 91.4842 154.304 92.5975C154.304 93.7107 154.067 94.7052 153.592 95.581C153.117 96.4419 152.471 97.1247 151.655 97.6294C150.838 98.1192 149.911 98.3641 148.871 98.3641C148.04 98.3641 147.313 98.2083 146.69 97.8966C146.066 97.5849 145.561 97.147 145.175 96.5829V102.995H142.326ZM148.27 95.8705C149.176 95.8705 149.925 95.5662 150.519 94.9576C151.113 94.349 151.41 93.5623 151.41 92.5975C151.41 91.6327 151.113 90.8385 150.519 90.2151C149.925 89.5917 149.176 89.28 148.27 89.28C147.35 89.28 146.593 89.5917 145.999 90.2151C145.42 90.8237 145.131 91.6104 145.131 92.5752C145.131 93.54 145.42 94.3342 145.999 94.9576C146.593 95.5662 147.35 95.8705 148.27 95.8705Z",stroke:"white",strokeWidth:"2",mask:"url(#path-56-outside-1_14_1273)"}),React.createElement("path",{d:"M160.969 98.3641C159.989 98.3641 159.129 98.2083 158.386 97.8966C157.644 97.57 157.05 97.1247 156.605 96.5607C156.16 95.9966 155.893 95.3435 155.804 94.6013H158.676C158.765 95.0318 159.002 95.4029 159.388 95.7146C159.789 96.0115 160.301 96.1599 160.925 96.1599C161.548 96.1599 162.001 96.0337 162.283 95.7814C162.58 95.5291 162.728 95.2396 162.728 94.9131C162.728 94.4381 162.52 94.1189 162.105 93.9557C161.689 93.7775 161.11 93.6068 160.368 93.4436C159.893 93.3397 159.411 93.2135 158.921 93.0651C158.431 92.9166 157.978 92.7311 157.563 92.5084C157.162 92.2709 156.835 91.9741 156.583 91.6178C156.331 91.2467 156.204 90.794 156.204 90.2597C156.204 89.28 156.59 88.4562 157.362 87.7882C158.149 87.1203 159.247 86.7863 160.657 86.7863C161.964 86.7863 163.003 87.0906 163.774 87.6992C164.561 88.3077 165.029 89.1464 165.177 90.2151H162.483C162.32 89.3987 161.704 88.9905 160.635 88.9905C160.101 88.9905 159.685 89.0944 159.388 89.3023C159.106 89.5101 158.965 89.7698 158.965 90.0815C158.965 90.4081 159.18 90.6678 159.611 90.8608C160.041 91.0538 160.613 91.2319 161.325 91.3952C162.097 91.5733 162.802 91.7737 163.441 91.9963C164.094 92.2041 164.613 92.5233 164.999 92.9537C165.385 93.3693 165.578 93.9705 165.578 94.7572C165.593 95.44 165.415 96.056 165.044 96.6052C164.673 97.1544 164.138 97.5849 163.441 97.8966C162.743 98.2083 161.919 98.3641 160.969 98.3641Z",stroke:"white",strokeWidth:"2",mask:"url(#path-56-outside-1_14_1273)"}),React.createElement("path",{d:"M168.258 93.1764L167.947 82.5114H170.997L170.663 93.1764H168.258ZM169.528 98.2528C168.993 98.2528 168.555 98.0895 168.214 97.763C167.887 97.4364 167.724 97.0431 167.724 96.5829C167.724 96.1079 167.887 95.7072 168.214 95.3806C168.555 95.0541 168.993 94.8908 169.528 94.8908C170.032 94.8908 170.448 95.0541 170.774 95.3806C171.116 95.7072 171.287 96.1079 171.287 96.5829C171.287 97.0431 171.116 97.4364 170.774 97.763C170.448 98.0895 170.032 98.2528 169.528 98.2528Z",stroke:"white",strokeWidth:"2",mask:"url(#path-56-outside-1_14_1273)"})),React.createElement("path",{d:"M216.638 156.398H77.1722C71.8109 156.398 67.4434 152.936 67.4434 148.681V142.277C67.4434 141.556 68.0284 140.971 68.7496 140.971H225.053C225.774 140.971 226.359 141.556 226.359 142.277V148.681C226.359 152.936 221.999 156.398 216.638 156.398ZM70.0559 143.584V148.681C70.0559 151.445 73.3175 153.785 77.1722 153.785H216.638C220.493 153.785 223.746 151.445 223.746 148.681V143.584H70.0559Z",fill:"#F2F2F2"}),React.createElement("path",{d:"M146.901 152.792C144.641 152.792 142.798 150.949 142.798 148.681C142.798 146.413 144.641 144.577 146.901 144.577C149.161 144.577 151.012 146.421 151.012 148.681C151.012 150.941 149.169 152.792 146.901 152.792ZM146.901 147.198C146.084 147.198 145.41 147.863 145.41 148.689C145.41 149.514 146.076 150.187 146.901 150.187C147.726 150.187 148.4 149.514 148.4 148.689C148.4 147.863 147.726 147.198 146.901 147.198Z",fill:"#F2F2F2"}),React.createElement("g",{filter:"url(#filter1_d_14_1273)"},React.createElement("path",{d:"M109.205 116.489C102.449 109.252 91.0614 108.851 83.8169 115.615C76.5803 122.371 76.1796 133.759 82.9434 141.003C89.6991 148.24 101.087 148.64 108.331 141.877C115.568 135.121 115.969 123.733 109.205 116.489ZM105.19 138.511C99.8046 143.535 91.3339 143.247 86.3092 137.862C81.2845 132.476 81.573 124.006 86.9583 118.981C92.3437 113.956 100.814 114.245 105.839 119.63C110.864 125.015 110.575 133.486 105.19 138.511Z",fill:"white"}),React.createElement("path",{d:"M110.542 128.739C110.642 120.852 104.331 114.378 96.4443 114.277C88.5579 114.177 82.0832 120.489 81.9827 128.375C81.8822 136.261 88.194 142.736 96.0804 142.836C103.967 142.937 110.441 136.625 110.542 128.739Z",fill:"#F2F2F2"}),React.createElement("path",{opacity:"0.35",d:"M87.0466 129.455C87.8566 129.455 88.5132 128.798 88.5132 127.989C88.5132 127.179 87.8566 126.522 87.0466 126.522C86.2367 126.522 85.5801 127.179 85.5801 127.989C85.5801 128.798 86.2367 129.455 87.0466 129.455Z",fill:"white"}),React.createElement("path",{d:"M108.46 116.665C101.888 109.925 91.1018 109.789 84.3621 116.36C77.6224 122.932 77.4862 133.718 84.0576 140.458C90.629 147.198 101.416 147.334 108.155 140.763C114.895 134.191 115.031 123.405 108.46 116.665ZM86.037 138.527C80.5314 132.877 80.6436 123.837 86.2934 118.332C91.9432 112.826 100.983 112.938 106.488 118.588C111.994 124.238 111.882 133.278 106.232 138.783C100.582 144.289 91.5425 144.177 86.037 138.527Z",fill:"#CCCCCC"}),React.createElement("path",{d:"M63.7582 160.244C62.1474 158.594 62.1794 155.957 63.8303 154.346L76.1477 142.341L81.9738 148.32L69.6564 160.325C68.0055 161.935 65.369 161.903 63.7582 160.252V160.244Z",fill:"#CCCCCC"}),React.createElement("path",{d:"M85.8366 142.869L81.6802 138.605C80.8337 137.737 79.4435 137.719 78.5751 138.566L76.2166 140.865C75.3483 141.711 75.3306 143.101 76.1771 143.97L80.3334 148.234C81.18 149.102 82.5702 149.12 83.4385 148.273L85.797 145.974C86.6654 145.127 86.6831 143.737 85.8366 142.869Z",fill:"#FFFFFD"})),React.createElement("defs",null,React.createElement("filter",{id:"filter0_d_14_1273",x:"110.656",y:"81.2442",width:"62.6304",height:"24.7511",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"},React.createElement("feFlood",{"flood-opacity":"0",result:"BackgroundImageFix"}),React.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),React.createElement("feOffset",{dx:"1",dy:"2"}),React.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),React.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.757726 0 0 0 0 0.795391 0 0 0 0 0.895833 0 0 0 1 0"}),React.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_14_1273"}),React.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_14_1273",result:"shape"})),React.createElement("filter",{id:"filter1_d_14_1273",x:"58.5708",y:"106.791",width:"63.4585",height:"62.7211",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"},React.createElement("feFlood",{"flood-opacity":"0",result:"BackgroundImageFix"}),React.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),React.createElement("feOffset",{dx:"2",dy:"2"}),React.createElement("feGaussianBlur",{stdDeviation:"3"}),React.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),React.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_14_1273"}),React.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_14_1273",result:"shape"}))))};function y8(e){return React.createElement("div",{className:"eb-openverse-no-data"},React.createElement(f8,null),React.createElement("p",null,(0,Y.__)("We couldn't find anything","essential-blocks")),React.createElement("span",null,(0,Y.__)("Try a different query or use one of the external sources to expand your search.","essential-blocks")))}function v8(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,r,c,l=[],i=!0,s=!1;try{if(r=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;i=!1}else for(;!(i=(n=r.call(a)).done)&&(l.push(n.value),l.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{if(!i&&null!=a.return&&(c=a.return(),Object(c)!==c))return}finally{if(s)throw o}}return l}}(e,t)||w8(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h8(e){return function(e){if(Array.isArray(e))return k8(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||w8(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w8(e,t){if(e){if("string"==typeof e)return k8(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?k8(e,t):void 0}}function k8(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}function R8(e){e.data;var t=e.loading,a=e.openverseData,n=(e.q,e.setQ,e.filterData),o=e.setFilterData,r=e.setOpenverseImage,c=e.attributes,l=e.setAttributes,i=e.pagination,s=e.setPagination,b=e.totalPages,p=e.openverseError,u=e.setOpenverseModal,d=e.openverseDataFetch,m=e.openverseDataCount,g=c.searchQ,f=function(e){var t=e.target,a=t.value,r=t.checked,c=t.name,l=n.licenses,i=n.licenseType,s=n.category,b=n.extension,p=n.aspectRatio,u=n.size;if(r)switch(c){case"licenses":o({licenseType:h8(i),licenses:[].concat(h8(l),[a]),category:h8(s),extension:h8(b),aspectRatio:h8(p),size:h8(u)});break;case"licenseType":o({licenseType:[].concat(h8(i),[a]),licenses:h8(l),category:h8(s),extension:h8(b),aspectRatio:h8(p),size:h8(u)});break;case"category":o({licenseType:h8(i),licenses:h8(l),category:[].concat(h8(s),[a]),extension:h8(b),aspectRatio:h8(p),size:h8(u)});break;case"extension":o({licenseType:h8(i),licenses:h8(l),category:h8(s),extension:[].concat(h8(b),[a]),aspectRatio:h8(p),size:h8(u)});break;case"aspectRatio":o({licenseType:h8(i),licenses:h8(l),category:h8(s),extension:h8(b),aspectRatio:[].concat(h8(p),[a]),size:h8(u)});break;case"size":o({licenseType:h8(i),licenses:h8(l),category:h8(s),extension:h8(b),aspectRatio:h8(p),size:[].concat(h8(u),[a])});break;default:return!1}else switch(c){case"licenses":o({licenseType:h8(i),licenses:l.filter((function(e){return e!==a})),category:h8(s),extension:h8(b),aspectRatio:h8(p),size:h8(u)});break;case"licenseType":o({licenseType:i.filter((function(e){return e!==a})),licenses:h8(l),category:h8(s),extension:h8(b),aspectRatio:h8(p),size:h8(u)});break;case"category":o({licenseType:h8(i),licenses:h8(l),category:s.filter((function(e){return e!==a})),extension:h8(b),aspectRatio:h8(p),size:h8(u)});break;case"extension":o({licenseType:h8(i),licenses:h8(l),category:h8(s),extension:b.filter((function(e){return e!==a})),aspectRatio:h8(p),size:h8(u)});break;case"aspectRatio":o({licenseType:h8(i),licenses:h8(l),category:h8(s),extension:h8(b),aspectRatio:p.filter((function(e){return e!==a})),size:h8(u)});break;case"size":o({licenseType:h8(i),licenses:h8(l),category:h8(s),extension:h8(b),aspectRatio:h8(p),size:u.filter((function(e){return e!==a}))});break;default:return!1}},y=v8((0,J.useState)(null),2),v=y[0],h=y[1],w=v8((0,J.useState)(12),2),k=w[0],R=w[1],_=v8((0,J.useState)(!1),2),E=(_[0],_[1]);return e.trigger?React.createElement("div",{className:"openverse-modal"},React.createElement("div",{className:"openverse-modal__inner"},React.createElement("div",{className:"openverse-modal__header"},React.createElement("div",{className:"title-section"},(0,Y.__)("Select Media","essential-blocks")),React.createElement("button",{className:"close-btn",onClick:function(){return e.setTrigger(!1)}},React.createElement("span",{className:"dashicons dashicons-no"}))),React.createElement("div",{className:"openverse-modal__content"},React.createElement(g8,{setOpenverseModal:u,openverseDataFetch:d,openverseDataCount:m,loading:t,searchQ:g,setAttributes:l,componentClassName:"search-section openverse-search-section"}),React.createElement("div",{className:"search-result-section"},React.createElement("div",{className:"search-content"},React.createElement("p",{className:"search-key"},React.createElement("span",null,(0,Y.__)("Search Key:","essential-blocks")," "),g),t&&React.createElement(m8,{limit:k}),!t&&React.createElement(React.Fragment,null,p.status&&React.createElement("span",{className:"openverse-error"},React.createElement(y8,null)),!p.status&&React.createElement(u8,{data:a,selectItem:v,setSelectItem:h})),b>i&&React.createElement("button",{className:"loadmore-btn",onClick:function(){E(!0),i<b?(s((function(e){return e+1})),R((function(e){return e+12}))):console.log("Load more not working")}},t?(0,Y.__)("Loading ...","essential-blocks"):(0,Y.__)("Load More","essential-blocks"))),React.createElement("div",{className:"search-filter"},React.createElement("h4",null,(0,Y.__)("FILTER BY","essential-blocks")),React.createElement("form",{className:"filters-form"},React.createElement("div",{className:"filter-item"},React.createElement("h5",null,(0,Y.__)("LICENSES","essential-blocks")),T6.map((function(e,t){var a=e.icon,n=e.label,o=e.value;return React.createElement("div",{className:"filter-item-inner",key:t},React.createElement("input",{className:"form-check-input",type:"checkbox",name:"licenses",value:o,id:"licenses-".concat(t),onChange:f}),React.createElement("label",{className:"form-check-label",htmlFor:"licenses-".concat(t)},a.map((function(e){return e})),n))}))),React.createElement("div",{className:"filter-item"},React.createElement("h5",null,(0,Y.__)("LICENSE TYPE","essential-blocks")),N6.map((function(e,t){var a=e.label,n=e.value;return React.createElement("div",{className:"filter-item-inner",key:t},React.createElement("input",{className:"form-check-input",type:"checkbox",name:"licenseType",value:n,id:"licenseType-".concat(t),onChange:f}),React.createElement("label",{className:"form-check-label",htmlFor:"licenseType-".concat(t)},a))}))),React.createElement("div",{className:"filter-item"},React.createElement("h5",null,(0,Y.__)("Image Type","essential-blocks")),P6.map((function(e,t){var a=e.label,n=e.value;return React.createElement("div",{className:"filter-item-inner",key:t},React.createElement("input",{className:"form-check-input",type:"checkbox",name:"category",value:n,id:"category-".concat(t),onChange:f}),React.createElement("label",{className:"form-check-label",htmlFor:"category-".concat(t)},a))}))),React.createElement("div",{className:"filter-item"},React.createElement("h5",null,(0,Y.__)("Extension","essential-blocks")),M6.map((function(e,t){var a=e.label,n=e.value;return React.createElement("div",{className:"filter-item-inner",key:t},React.createElement("input",{className:"form-check-input",type:"checkbox",name:"extension",value:n,id:"extension-".concat(t),onChange:f}),React.createElement("label",{className:"form-check-label",htmlFor:"extension-".concat(t)},a))}))),React.createElement("div",{className:"filter-item"},React.createElement("h5",null,(0,Y.__)("Aspect ratio","essential-blocks")),D6.map((function(e,t){var a=e.label,n=e.value;return React.createElement("div",{className:"filter-item-inner",key:t},React.createElement("input",{className:"form-check-input",type:"checkbox",name:"aspectRatio",value:n,id:"aspectRatio-".concat(t),onChange:f}),React.createElement("label",{className:"form-check-label",htmlFor:"aspectRatio-".concat(t)},a))}))),React.createElement("div",{className:"filter-item"},React.createElement("h5",null,(0,Y.__)("Image Size","essential-blocks")),O6.map((function(e,t){var a=e.label,n=e.value;return React.createElement("div",{className:"filter-item-inner",key:t},React.createElement("input",{className:"form-check-input",type:"checkbox",name:"size",value:n,id:"size-".concat(t),onChange:f}),React.createElement("label",{className:"form-check-label",htmlFor:"size-".concat(t)},a))}))))))),React.createElement("div",{className:"openverse-modal__footer"},React.createElement("button",{className:"select-btn",disabled:!v,onClick:function(t){if(v){var a=new FormData;a.append("action","eb_get_item"),a.append("admin_nonce",EssentialBlocksLocalize.admin_nonce),a.append("image_url",v.url),fetch(EssentialBlocksLocalize.ajax_url,{method:"POST",body:a}).then((function(e){return e.text()})).then((function(t){l({imageurl:t,imageAttr:{title:v.title,foreignUrl:v.foreign_landing_url,creator:v.creator,creatorUrl:v.creator_url,license:v.license,licenseUrl:v.license_url,licenseVersion:v.license_version}}),r(t),e.setTrigger(!1)})).catch((function(e){return console.log(e)}))}}},(0,Y.__)("Select","essential-blocks"))))):""}function _8(e){var t=e.attributes,a=t.imageurl,n=t.imageAttr,o=t.displayAttribution;return React.createElement(React.Fragment,null,React.createElement("div",{className:"image-wrapper"},React.createElement("img",{src:a,alt:n.title})),o&&React.createElement(React.Fragment,null,React.createElement("div",{className:"image-attribution"},n.title&&React.createElement("span",null,n.foreignUrl&&React.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:n.foreignUrl},n.title),!n.foreignUrl&&n.title),n.creator&&React.createElement("span",null,(0,Y.__)(" By ","essential-blocks"),n.creatorUrl&&React.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:n.creatorUrl},n.creator),!n.creatorUrl&&n.creator),n.license&&React.createElement("span",null,n.licenseUrl&&React.createElement(React.Fragment,null,(0,Y.__)(" Is licensed under ","essential-blocks"),React.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:n.licenseUrl,className:"licensed-wrap"},n.license+" "+n.licenseVersion)),!n.licenseUrl&&n.license+" "+n.licenseVersion,(0,Y.__)(" .","essential-blocks")))))}var E8=function(e){return React.createElement("svg",{width:"185",height:"34",viewBox:"0 0 226 34",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",{id:"logo",fill:"currentColor"},React.createElement("path",{className:"text",d:"M71.8823 17.2666C71.8823 22.7198 67.4908 27.1406 62.0737 27.1406C56.6565 27.1406 52.265 22.7198 52.265 17.2666C52.265 11.8133 56.6565 7.39258 62.0737 7.39258C67.4908 7.39258 71.8823 11.8133 71.8823 17.2666ZM65.997 17.2666C65.997 19.4479 64.2404 21.2162 62.0735 21.2162C59.9067 21.2162 58.1501 19.4479 58.1501 17.2666C58.1501 15.0853 59.9067 13.317 62.0735 13.317C64.2404 13.317 65.997 15.0853 65.997 17.2666ZM80.1463 33.6428H73.4168V7.72354H80.0975V11.0125H80.2438C80.9753 9.09804 82.7308 7.47809 85.5104 7.47809C89.2165 7.47809 92.8251 10.3253 92.8251 17.1487C92.8251 23.6776 89.4603 26.8194 85.4616 26.8194C82.8284 26.8194 81.0241 25.3958 80.2438 23.4813H80.1463V33.6428ZM82.9746 12.6816C81.1216 12.6816 80 14.3506 80 17.1487C80 19.8977 81.1216 21.6159 82.9746 21.6159C84.8277 21.6159 85.9005 19.9468 85.9005 17.1487C85.9005 14.3506 84.8277 12.6816 82.9746 12.6816ZM112.755 20.4868C112.121 24.414 108.78 26.9175 103.587 26.9175C97.589 26.9175 93.9317 23.2972 93.9317 17.1978C93.9317 11.3562 97.6378 7.47809 103.441 7.47809C109.097 7.47809 112.755 11.1475 112.755 17.1487V18.7196H100.564V19.0141C100.564 20.8304 101.734 22.1559 103.733 22.1559C105.111 22.1559 106.22 21.5545 106.61 20.4868H112.755ZM103.587 12.2398C101.941 12.2398 100.6 13.3566 100.564 14.9888H106.562C106.525 13.3688 105.257 12.2398 103.587 12.2398ZM121.2 15.9706C121.213 14.1052 122.261 12.9761 123.931 12.9761C125.626 12.9761 126.626 14.1052 126.613 15.9706V26.5739H133.343V14.547C133.355 10.448 130.783 7.47809 126.808 7.47809C124.053 7.47809 121.871 8.92623 121.054 11.3071H120.859V7.72354H114.471V26.5739H121.2V15.9706ZM146.766 7.72354H153.836L147.546 26.5739H139.743L133.453 7.72354H140.524L143.547 20.1923H143.742L146.766 7.72354ZM163.123 26.9175C168.317 26.9175 171.657 24.414 172.291 20.4868H166.147C165.757 21.5545 164.647 22.1559 163.27 22.1559C161.27 22.1559 160.1 20.8304 160.1 19.0141V18.7196H172.291V17.1487C172.291 11.1475 168.634 7.47809 162.977 7.47809C157.174 7.47809 153.468 11.3562 153.468 17.1978C153.468 23.2972 157.125 26.9175 163.123 26.9175ZM160.1 14.9888C160.136 13.3566 161.477 12.2398 163.123 12.2398C164.793 12.2398 166.061 13.3688 166.098 14.9888H160.1ZM180.737 26.5739H174.007V7.72354H180.542V11.3071H180.737C181.419 8.65624 182.98 7.47809 184.979 7.47809C185.564 7.47809 186.15 7.57627 186.686 7.73581V13.5161C186.015 13.2829 184.894 13.1725 184.199 13.1725C182.212 13.1725 180.737 14.5961 180.737 16.756V26.5739ZM204.979 13.8597C204.808 9.8712 201.517 7.47809 196.104 7.47809C190.752 7.47809 187.448 9.68712 187.472 13.6143C187.448 16.5842 189.362 18.4864 193.178 19.1614L196.494 19.7505C197.957 20.0205 198.615 20.4132 198.64 21.125C198.615 21.9104 197.725 22.3522 196.494 22.3522C194.97 22.3522 193.897 21.6895 193.714 20.4868H187.034C187.399 24.3526 190.715 26.9175 196.445 26.9175C201.626 26.9175 205.442 24.3772 205.467 20.3395C205.442 17.5537 203.589 15.9338 199.761 15.2342L195.958 14.547C194.531 14.2893 194.129 13.7738 194.153 13.2216C194.129 12.4361 195.092 11.9943 196.25 11.9943C197.579 11.9943 198.688 12.7061 198.786 13.8597H204.979ZM225.156 20.4868C224.522 24.414 221.181 26.9175 215.988 26.9175C209.99 26.9175 206.332 23.2972 206.332 17.1978C206.332 11.3562 210.039 7.47809 215.842 7.47809C221.498 7.47809 225.156 11.1475 225.156 17.1487V18.7196H212.964V19.0141C212.964 20.8304 214.135 22.1559 216.134 22.1559C217.512 22.1559 218.621 21.5545 219.011 20.4868H225.156ZM215.988 12.2398C214.342 12.2398 213.001 13.3566 212.964 14.9888H218.962C218.926 13.3688 217.658 12.2398 215.988 12.2398Z",fillRule:"evenodd"}),React.createElement("path",{className:"1-1",d:"M0.0856323 7.6075C0.0856323 11.7937 3.46313 15.215 7.64278 15.215V0C3.46313 0 0.0856323 3.4 0.0856323 7.6075Z"}),React.createElement("path",{className:"1-2",d:"M11.1047 7.6075C11.1047 11.7937 14.4822 15.215 18.6619 15.215V0C14.5033 0 11.1047 3.4 11.1047 7.6075Z"}),React.createElement("path",{className:"1-3",d:"M29.6809 15.215C33.8546 15.215 37.2381 11.809 37.2381 7.6075C37.2381 3.40599 33.8546 0 29.6809 0C25.5072 0 22.1238 3.40599 22.1238 7.6075C22.1238 11.809 25.5072 15.215 29.6809 15.215Z"}),React.createElement("path",{className:"2-1",d:"M0.0856323 26.3924C0.0856323 30.6 3.46313 34 7.64278 34V18.8062C3.46313 18.8062 0.0856323 22.2062 0.0856323 26.3924Z"}),React.createElement("path",{className:"2-2",d:"M11.1047 26.3288C11.1047 30.515 14.4822 33.9363 18.6619 33.9363V18.7425C14.5033 18.7425 11.1047 22.1425 11.1047 26.3288Z"}),React.createElement("path",{className:"2-3",d:"M29.6809 33.9362C33.8546 33.9362 37.2381 30.5302 37.2381 26.3287C37.2381 22.1272 33.8546 18.7212 29.6809 18.7212C25.5072 18.7212 22.1238 22.1272 22.1238 26.3287C22.1238 30.5302 25.5072 33.9362 29.6809 33.9362Z"})))};function C8(e){return C8="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},C8(e)}function x8(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function S8(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?x8(Object(a),!0).forEach((function(t){B8(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):x8(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function B8(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=C8(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=C8(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==C8(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function T8(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}var N8=function(e){var t,a,n=e.attributes,o=e.setAttributes,r=e.loadingApi,c=e.setLoadingApi,l=e.openverseRegError,i=e.setOpenverseRegError,s=e.setShowForm,b=n.apiInfo,p=(t=(0,J.useState)(""),a=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,r,c,l=[],i=!0,s=!1;try{if(r=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;i=!1}else for(;!(i=(n=r.call(a)).done)&&(l.push(n.value),l.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{if(!i&&null!=a.return&&(c=a.return(),Object(c)!==c))return}finally{if(s)throw o}}return l}}(t,a)||function(e,t){if(e){if("string"==typeof e)return T8(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?T8(e,t):void 0}}(t,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=p[0],d=p[1];return(0,J.useEffect)((function(){var e;e=b.email,/\S+@\S+\.\S+/.test(e)?d(""):d("Email is invalid")}),[b.email]),React.createElement("div",{className:"api-info"},React.createElement("input",{type:"mail",name:"mail-form",id:"mail-form",className:"openverse-input",placeholder:(0,Y.__)("user@example.com","essential-blocks"),defaultValue:b.email?b.email:"",onChange:function(e){return function(e){var t=e.target.value;o({apiInfo:S8(S8({},b),{},{email:t})})}(e)}}),b.email&&u&&React.createElement("span",{className:"eb-alert-error"},u),React.createElement("input",{type:"text",id:"name",className:"openverse-input",placeholder:(0,Y.__)("My amazing project","essential-blocks"),defaultValue:b.name?b.name:"",onChange:function(e){return function(e){var t=e.target.value;o({apiInfo:S8(S8({},b),{},{name:t})})}(e)}}),l.status&&"Error"==l.type&&React.createElement("span",{className:"eb-alert-error"},l.message),React.createElement("button",{className:"openverse-api-btn",disabled:!(b.email&&!u&&b.name),onClick:function(){c(!0);var e=new FormData;e.append("action","eb_get_registration"),e.append("admin_nonce",EssentialBlocksLocalize.admin_nonce),e.append("openverseEmail",b.email),e.append("openverseName",b.name),fetch(EssentialBlocksLocalize.ajax_url,{method:"POST",body:e}).then((function(e){return e.json()})).then((function(e){if(e.hasOwnProperty("client_id")){i({status:!0,type:"Success",message:e.msg});var t=new FormData;return t.append("action","eb_openverse_token"),t.append("admin_nonce",EssentialBlocksLocalize.admin_nonce),fetch(EssentialBlocksLocalize.ajax_url,{method:"POST",body:t})}c(!1),i({status:!0,type:"Error",message:e.name[0]})})).then((function(e){return e.json()})).then((function(e){s(!1),c(!1)})).catch((function(e){return console.log(e)}))}},r?(0,Y.__)("Generating ........","essential-blocks"):(0,Y.__)("Generate API","essential-blocks")))};function P8(e){return P8="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},P8(e)}function O8(e){return function(e){if(Array.isArray(e))return L8(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||A8(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function M8(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function D8(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?M8(Object(a),!0).forEach((function(t){j8(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):M8(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function j8(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=P8(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=P8(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==P8(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function I8(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,r,c,l=[],i=!0,s=!1;try{if(r=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;i=!1}else for(;!(i=(n=r.call(a)).done)&&(l.push(n.value),l.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{if(!i&&null!=a.return&&(c=a.return(),Object(c)!==c))return}finally{if(s)throw o}}return l}}(e,t)||A8(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function A8(e,t){if(e){if("string"==typeof e)return L8(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?L8(e,t):void 0}}function L8(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}var F8=window.EBControls,H8=(F8.duplicateBlockIdFix,F8.BlockProps),z8=window.EBControls.BlockProps;function q8(e){return q8="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},q8(e)}function U8(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function V8(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=q8(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=q8(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==q8(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const W8=[{attributes:function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?U8(Object(a),!0).forEach((function(t){V8(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):U8(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}({},G6),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=(t.horizontalAlign,t.verticalAlign,t.verticalAlignCap2,t.stylePreset),o=t.displayAttribution,r=t.attributionStyle,c=t.hoverEffect,l=t.classHook,i=t.imageurl,s=t.imageAttr;return React.createElement("div",Q.useBlockProps.save(),i&&React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(l)},React.createElement("figure",{className:"eb-openverse-wrapper ".concat(a," img-style-").concat(n," ").concat(r,"  ").concat(c),"data-id":a},React.createElement("div",{className:"image-wrapper"},React.createElement("img",{src:i,alt:s.title})),o&&React.createElement(React.Fragment,null,React.createElement("div",{className:"image-attribution"},s.title&&React.createElement("span",null,s.foreignUrl&&React.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:s.foreignUrl},s.title),!s.foreignUrl&&s.title),s.creator&&React.createElement("span",null,(0,Y.__)(" By ","essential-blocks"),s.creatorUrl&&React.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:s.creatorUrl},s.creator),!s.creatorUrl&&s.creator),s.license&&React.createElement("span",null,s.licenseUrl&&React.createElement(React.Fragment,null,(0,Y.__)(" Is licensed under ","essential-blocks"),React.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:s.licenseUrl,className:"licensed-wrap"},s.license+" "+s.licenseVersion)),!s.licenseUrl&&s.license+" "+s.licenseVersion,(0,Y.__)(" .","essential-blocks")))))))}}],G8=JSON.parse('{"title":"Openverse","name":"essential-blocks/openverse","category":"essential-blocks","description":"Easily search & use royalty free images, stock photos, CC-licensed images from Openverse for your website","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');var Z8,Y8=EBControls.ebConditionalRegisterBlockType;G8.name,G8.category,Y8(G8,{keywords:[(0,Y.__)("Openverse","essential-blocks"),(0,Y.__)("Openverse block","essential-blocks"),(0,Y.__)("Openverse image","essential-blocks"),(0,Y.__)("EB Openverse block","essential-blocks"),(0,Y.__)("eb openverse block","essential-blocks"),(0,Y.__)("essential blocks","essential-blocks")],icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"60",fill:"none",viewBox:"0 0 60 60"},React.createElement("path",{fill:"#6C3BFF",d:"M6.25 7.5a1.25 1.25 0 100-2.5 1.25 1.25 0 000 2.5zM10 7.5A1.25 1.25 0 1010 5a1.25 1.25 0 000 2.5zM13.75 7.5a1.25 1.25 0 100-2.5 1.25 1.25 0 000 2.5z"}),React.createElement("path",{fill:"#6C3BFF",d:"M56.25 0H3.75A3.75 3.75 0 000 3.75v7.5a1.25 1.25 0 001.25 1.25h52.5a1.25 1.25 0 000-2.5H2.5V3.75A1.25 1.25 0 013.75 2.5h52.5a1.25 1.25 0 011.25 1.25v52.5a1.25 1.25 0 01-1.25 1.25H3.75a1.25 1.25 0 01-1.25-1.25v-40a1.25 1.25 0 00-2.5 0v40A3.75 3.75 0 003.75 60h52.5A3.75 3.75 0 0060 56.25V3.75A3.75 3.75 0 0056.25 0z"}),React.createElement("path",{fill:"#6C3BFF",d:"M32 24a2 2 0 012-2h8a2 2 0 012 2v8a2 2 0 01-2 2h-8a2 2 0 01-2-2v-8zM24 24a2 2 0 012-2h4v12h-4a2 2 0 01-2-2v-8zM16 24a2 2 0 012-2h4v12h-4a2 2 0 01-2-2v-8zM24 38a2 2 0 012-2h4v12h-4a2 2 0 01-2-2v-8zM16 38a2 2 0 012-2h4v12h-4a2 2 0 01-2-2v-8zM32 38a2 2 0 012-2h8a2 2 0 012 2v8a2 2 0 01-2 2h-8a2 2 0 01-2-2v-8z"}))},attributes:G6,edit:function(e){var t=e.attributes,a=e.setAttributes,n=(e.className,e.clientId,e.isSelected),o=(e.name,t.resOption,t.blockId),r=(t.blockMeta,t.horizontalAlign,t.verticalAlign,t.stylePreset),c=t.attributionStyle,l=t.hoverEffect,i=t.imageAlign,s=t.classHook,b=t.imageurl,p=t.apiInfo,u=t.searchQ,d=t.cover,m=I8((0,J.useState)(!1),2),g=m[0],f=m[1],y=I8((0,J.useState)({status:!1}),2),v=y[0],h=y[1],w=I8((0,J.useState)(!1),2),k=w[0],R=w[1],_=I8((0,J.useState)([]),2),E=_[0],C=_[1],x=I8((0,J.useState)(0),2),S=x[0],B=x[1],T=I8((0,J.useState)(!0),2),N=T[0],P=T[1],O=I8((0,J.useState)(""),2),M=(O[0],O[1]),D=I8((0,J.useState)({status:!1,type:""}),2),j=D[0],I=D[1],A=I8((0,J.useState)(!1),2),L=A[0],F=A[1],H=I8((0,J.useState)(1),2),z=H[0],q=H[1],U=I8((0,J.useState)(1),2),V=U[0],W=U[1],G=I8((0,J.useState)({licenseType:[],licenses:[],category:[],extension:[],aspectRatio:[],size:[]}),2),Z=G[0],$=G[1],K=D8(D8({},e),{},{blockPrefix:"eb-openverse",style:React.createElement(b8,e)});(0,J.useEffect)((function(){f(!0);var e=new FormData;e.append("action","openverse_email_name_DB"),e.append("admin_nonce",EssentialBlocksLocalize.admin_nonce),fetch(EssentialBlocksLocalize.ajax_url,{method:"POST",body:e}).then((function(e){return e.text()})).then((function(e){var t=JSON.parse(e);t.success&&t.data&&(t.data.client_id?R(!1):R(!0),a({apiInfo:D8(D8({},p),{},{email:t.data.email,name:t.data.name})}),f(!1))})).catch((function(e){return console.log(e)}))}),[]);var ee=function(e){if(e){P(!0);var t=new FormData;t.append("action","eb_get_collections"),t.append("admin_nonce",EssentialBlocksLocalize.admin_nonce),t.append("openverseQ",u),t.append("openverseFilterLicensesType",Z.licenseType),t.append("openverseFilterLicenses",Z.licenses),t.append("openverseFilterImgtype",Z.category),t.append("openverseFilterExtension",Z.extension),t.append("openverseFilterRatio",Z.aspectRatio),t.append("openverseFilterSize",Z.size),t.append("openversePage",z),fetch(EssentialBlocksLocalize.ajax_url,{method:"POST",body:t}).then((function(e){return e.text()})).then((function(e){var t=JSON.parse(e);if(t.success){var a=JSON.parse(t.data);if(0==a.result_count)I({status:!0,message:"We couldn't find anything."});else{var n=a.results;B(a.result_count),C(n),I({status:!1})}W(a.page_count),P(!1)}else{var o=t.data||"Invalid Data";console.log(o),I({status:!0,message:"string"==typeof o?o:"Request was throttled."}),P(!1)}})).catch((function(e){return console.log(e)}))}};return(0,J.useEffect)((function(){(0,nt.isEmpty)(u)||ee(!0)}),[Z]),(0,J.useEffect)((function(){if(z>1){P(!0);var e=new FormData;e.append("action","eb_get_collections"),e.append("admin_nonce",EssentialBlocksLocalize.admin_nonce),e.append("openverseQ",u),e.append("openverseFilterLicensesType",Z.licenseType),e.append("openverseFilterLicenses",Z.licenses),e.append("openverseFilterImgtype",Z.category),e.append("openverseFilterExtension",Z.extension),e.append("openverseFilterRatio",Z.aspectRatio),e.append("openverseFilterSize",Z.size),e.append("openversePage",z),fetch(EssentialBlocksLocalize.ajax_url,{method:"POST",body:e}).then((function(e){return e.text()})).then((function(e){var t=JSON.parse(e);if(t.success){var a=JSON.parse(t.data),n=a.results;W(a.page_count),C([].concat(O8(E),O8(n))),P(!1),I({status:!1})}else{var o="object"===P8(t.data)?t.data:JSON.parse(t.data);I({status:!0,message:"string"==typeof o?o:"Request was throttled."}),P(!1)}})).catch((function(e){return console.log(e)}))}}),[z]),d.length?React.createElement("div",null,React.createElement("img",{src:d,alt:"openverse",style:{maxWidth:"100%"}})):React.createElement(React.Fragment,null,n&&b&&React.createElement(t8,e),React.createElement(Q.BlockControls,null,React.createElement(Q.AlignmentToolbar,{value:i,onChange:function(e){return function(e){switch(e){case"left":a({imageAlign:"0"});break;case"right":a({imageAlign:"0 0 0 auto"});break;default:a({imageAlign:"0 auto"})}}(e)},controls:["left","center","right"]})),React.createElement(H8.Edit,K,b&&React.createElement(React.Fragment,null,React.createElement(Q.BlockControls,null,React.createElement(X.ToolbarGroup,null,React.createElement(X.ToolbarItem,null,(function(){return React.createElement(X.ToolbarButton,{className:"components-toolbar__control",label:(0,Y.__)("Replace Image","essential-blocks"),icon:uJ.A,onClick:function(){return F(!0)}})}))))),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(o," ").concat(s)},React.createElement("div",{className:"eb-openverse-wrapper ".concat(o," img-style-").concat(r," ").concat(c," ").concat(l," ").concat(b?"":"no-image"),"data-id":o},b&&React.createElement(_8,{attributes:t}),!b&&React.createElement(React.Fragment,null,React.createElement("div",{className:"openverse-placheholderbox"},React.createElement("div",{className:"openverse-placheholderbox__label"},React.createElement(E8,null)),React.createElement("div",{className:"eb-openverse-form-wrapper ".concat(g?"loading-circle":"")},k&&React.createElement(React.Fragment,null,React.createElement("div",{className:"openverse-placheholderbox__description"},(0,Y.__)("Provide your Email ID & unique project Name to get access to Openverse  using API, these are required field","essential-blocks"),React.createElement("span",{style:{color:"#ff0000"}},"*")),React.createElement(N8,{attributes:t,setAttributes:a,loadingApi:g,setLoadingApi:f,openverseRegError:v,setOpenverseRegError:h,setShowForm:R})),!k&&!g&&React.createElement(React.Fragment,null,v.status&&"Success"==v.type&&React.createElement("div",{className:"eb-alert eb-alert-success"},React.createElement("strong",null,"Hurray!")," You have generated an API successfully! Please verify your email to enjoy uninterrupted access to Openverse",React.createElement("span",{className:"eb-alert-warning"},"Without verifying your email you can get access to Openverse as anonymous and your search limit will be 100 requests/ day and 5 requests/ hr.")),React.createElement("div",{className:"openverse-placheholderbox__description"},(0,Y.__)("Explore more than 600 million creative works","essential-blocks")),React.createElement(g8,{setOpenverseModal:F,openverseDataFetch:ee,searchQ:u,setAttributes:a,componentClassName:"openverse-search-section"}),React.createElement("p",{className:"openverse-placheholderbox__note"},"All Openverse content is under a"," ",React.createElement("a",{href:"https://creativecommons.org/licenses/"}," ","Creative Commons license")," ","or is in the public domain."))))),React.createElement(R8,{trigger:L,setTrigger:F,loading:N,openverseData:E,filterData:Z,setFilterData:$,setOpenverseImage:M,attributes:t,setAttributes:a,pagination:z,setPagination:q,totalPages:V,openverseError:j,setOpenverseModal:F,openverseDataFetch:ee,openverseDataCount:S})))))},save:function(e){var t=e.attributes,a=t.blockId,n=(t.horizontalAlign,t.verticalAlign,t.verticalAlignCap2,t.stylePreset),o=t.displayAttribution,r=t.attributionStyle,c=t.hoverEffect,l=t.classHook,i=t.imageurl,s=t.imageAttr;return React.createElement(z8.Save,{attributes:t},i&&React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(l)},React.createElement("figure",{className:"eb-openverse-wrapper ".concat(a," img-style-").concat(n," ").concat(r,"  ").concat(c),"data-id":a},React.createElement("div",{className:"image-wrapper"},React.createElement("img",{src:i,alt:s.title})),o&&React.createElement(React.Fragment,null,React.createElement("div",{className:"image-attribution"},s.title&&React.createElement("span",null,s.foreignUrl&&React.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:s.foreignUrl},s.title),!s.foreignUrl&&s.title),s.creator&&React.createElement("span",null,(0,Y.__)(" By ","essential-blocks"),s.creatorUrl&&React.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:s.creatorUrl},s.creator),!s.creatorUrl&&s.creator),s.license&&React.createElement("span",null,s.licenseUrl&&React.createElement(React.Fragment,null,(0,Y.__)(" Is licensed under ","essential-blocks"),React.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:s.licenseUrl,className:"licensed-wrap"},s.license+" "+s.licenseVersion)),!s.licenseUrl&&s.license+" "+s.licenseVersion,(0,Y.__)(" .","essential-blocks")))))))},deprecated:W8,example:{attributes:{cover:"".concat(null===(Z8=EssentialBlocksLocalize)||void 0===Z8?void 0:Z8.image_url,"/block-preview/openverse.jpeg")}}});var J8,Q8="wrpBg_",X8="wrpBds_",$8="navBds_",K8="navDropdownBds_",e7="navHamburgerItemBds_",t7="dropdownItemBds_",a7="wrpM_",n7="wrpP_",o7="navP_",r7="navM_",c7="hamburgerP_",l7="hamburgerItemP_",i7="dropdownP_",s7="dropdownItemP_",b7="hamburgerBtnP_",p7="carZ_",u7="dropdownW_",d7="hamburgerBtnZ_",m7="nav_",g7="navDropdown_",f7="navHamburger_",y7="navHamburgerBtn_";function v7(e){return v7="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},v7(e)}function h7(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function w7(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?h7(Object(a),!0).forEach((function(t){k7(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):h7(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function k7(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=v7(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=v7(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==v7(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var R7=EBControls,_7=R7.generateDimensionsAttributes,E7=R7.generateTypographyAttributes,C7=R7.generateBackgroundAttributes,x7=R7.generateBorderShadowAttributes,S7=R7.generateResponsiveRangeAttributes;const B7=w7(w7(w7(w7(w7(w7(w7(w7(w7(w7(w7(w7(w7(w7(w7(w7(w7(w7(w7(w7(w7(w7(w7(w7(w7(w7(w7(w7(w7(w7((k7(k7(k7(k7(k7(k7(k7(k7(k7(k7(J8={resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},layout:{type:"string",default:"is-horizontal"},preset:{type:"string",default:"preset-1"},verticalPreset:{type:"string",default:"vertical-preset-1"},navAlign:{type:"string",default:"items-justified-left"},dropdownOpenOnClick:{type:"boolean",default:!1},showDropdownIcon:{type:"boolean",default:!0},navBtnType:{type:"boolean",default:!0},navTextColor:{type:"string",default:"var(--eb-global-secondary-color)"},hvNavTextColor:{type:"string",default:"var(--eb-global-primary-color)"},actNavTextColor:{type:"string",default:"var(--eb-global-primary-color)"},actHvNavTextColor:{type:"string",default:"var(--eb-global-primary-color)"},navBgColor:{type:"string",default:"var(--eb-global-secondary-color)"},hvNavBgColor:{type:"string",default:"var(--eb-global-primary-color)"},actNavBgColor:{type:"string",default:"var(--eb-global-primary-color)"},actHvNavBgColor:{type:"string",default:"var(--eb-global-primary-color)"},iconColor:{type:"string",default:"var(--eb-global-primary-color)"},hvIconColor:{type:"string"},actIconColor:{type:"string",default:"var(--eb-global-primary-color)"},actHvIconColor:{type:"string"},colorTransition:{type:"number"},actColorTransition:{type:"number"},navDropdownTextColor:{type:"string",default:"var(--eb-global-text-color)"},hvNavDropdownTextColor:{type:"string",default:"var(--eb-global-primary-color)"},actNavDropdownTextColor:{type:"string",default:"var(--eb-global-primary-color)"},actHvNavDropdownTextColor:{type:"string",default:"var(--eb-global-primary-color)"},navDropdownBgColor:{type:"string",default:"var(--eb-global-background-color)"},hvNavDropdownBgColor:{type:"string",default:"var(--eb-global-background-color)"},actNavDropdownBgColor:{type:"string",default:"var(--eb-global-primary-color)"},actHvNavDropdownBgColor:{type:"string",default:"var(--eb-global-primary-color)"},dropdownItemBgColor:{type:"string",default:"var(--eb-global-secondary-color)"},hvDropdownItemBgColor:{type:"string",default:"var(--eb-global-secondary-color)"},actDropdownItemBgColor:{type:"string",default:"var(--eb-global-secondary-color)"},actHvDropdownItemBgColor:{type:"string",default:"var(--eb-global-secondary-color)"}},"actColorTransition",{type:"number"}),"navDividerColor",{type:"string",default:"var(--eb-global-secondary-color)"}),"verticalNavDividerColor",{type:"string",default:"var(--eb-global-secondary-color)"}),"navDropdownDividerColor",{type:"string",default:"var(--eb-global-secondary-color)"}),"navHamburgerBgColor",{type:"string",default:"var(--eb-global-background-color)"}),"navHamburgerTextColor",{type:"string",default:"var(--eb-global-text-color)"}),"hvNavHamburgerTextColor",{type:"string",default:"var(--eb-global-primary-color)"}),"hamburgerItemBgColor",{type:"string",default:"var(--eb-global-background-color)"}),"hvHamburgerItemBgColor",{type:"string",default:""}),"actNavHamburgerTextColor",{type:"string",default:"var(--eb-global-primary-color)"}),k7(k7(k7(k7(k7(k7(k7(k7(k7(k7(J8,"actHamburgerItemBgColor",{type:"string",default:"var(--eb-global-background-color)"}),"actHvNavHamburgerTextColor",{type:"string",default:"var(--eb-global-primary-color)"}),"actHvHamburgerItemBgColor",{type:"string",default:"var(--eb-global-background-color)"}),"hamburgerCloseIconColor",{type:"string",default:"var(--eb-global-primary-color)"}),"navHamburgerBtnColor",{type:"string",default:"var(--eb-global-primary-color)"}),"flexWrap",{type:"boolean",default:!1}),"hamburgerMenu",{type:"string",default:"mobile"}),"navVerticalAlign",{type:"string",default:"items-justified-left"}),"showCaret",{type:"boolean",default:!0}),"caretColor",{type:"string",default:"var(--eb-global-secondary-color)"}),k7(k7(J8,"hvCaretColor",{type:"string",default:"var(--eb-global-primary-color)"}),"hamburgerCloseIconAlign",{type:"string",default:"close-icon-right"})),E7(Object.values(L))),S7("ttlMinW_",{})),S7("iconZ_",{defaultRange:18,noUnits:!0})),S7("iconGap_",{defaultRange:10,noUnits:!0})),S7(p7,{defaultRange:15,noUnits:!0})),S7(u7,{defaultRange:200,noUnits:!0})),S7(d7,{defaultRange:30,noUnits:!0})),C7(Q8,{defaultFillColor:"var(--eb-global-background-color)",defaultBgGradient:"linear-gradient(45deg,#ffffff,#ffffff)"})),C7("actNavBg_",{defaultFillColor:"#7967ff",noOverlay:!0,defaultBgGradient:"linear-gradient(45deg,#7967ff,#c277f2)"})),C7("conBg_",{noOverlay:!0,defaultBgGradient:"linear-gradient(45deg,#7967ff,#c277f2)"})),C7("ttlWBg_",{noOverlay:!0,defaultBgGradient:"linear-gradient(45deg,#7967ff,#c277f2)"})),x7(X8,{bdrDefaults:{top:0,bottom:0,right:0,left:0},rdsDefaults:{top:5,bottom:5,right:5,left:5}})),x7(K8,{rdsDefaults:{top:5,bottom:5,right:5,left:5}})),x7(t7,{rdsDefaults:{top:3,bottom:3,right:3,left:3}})),x7($8,{rdsDefaults:{top:3,bottom:3,right:3,left:3}})),x7("actNavBds_")),x7("conBds_",{bdrDefaults:{top:1,bottom:1,right:1,left:1},defaultBdrColor:"var(--eb-global-background-color)",defaultBdrStyle:"solid"})),x7(e7)),_7(a7,{})),_7(n7)),_7(o7,{top:20,bottom:20,left:10,right:10})),_7(r7)),_7("dropdownM_")),_7(s7,{top:10,bottom:10,left:10,right:10,isLinked:!1})),_7(i7,{top:5,bottom:5,left:5,right:5,isLinked:!1})),_7("ttlWM_")),_7("ttlWP_")),_7(c7,{top:5,bottom:5,left:5,right:5,isLinked:!1})),_7(l7,{top:15,bottom:15,left:15,right:15,isLinked:!1})),_7(b7,{top:10,bottom:10,left:10,right:10,isLinked:!1}));(0,Y.__)("Preset 1"),(0,Y.__)("Preset 2"),(0,Y.__)("Preset 3"),(0,Y.__)("Preset 4");var T7=[{label:(0,Y.__)("Preset 1"),value:"preset-1"},{label:(0,Y.__)("Preset 2"),value:"preset-2"},{label:(0,Y.__)("Preset 3"),value:"preset-3"},{label:(0,Y.__)("Preset 4"),value:"preset-4"}],N7=[{label:(0,Y.__)("Preset 1"),value:"vertical-preset-1"},{label:(0,Y.__)("Preset 2"),value:"vertical-preset-2"}],P7=((0,Y.__)("Fade"),[{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignleft"})),value:"items-justified-left"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-aligncenter"})),value:"items-justified-center"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignright"})),value:"items-justified-right"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-justify"})),value:"items-justified-space-between"}]),O7=[{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignleft"})),value:"items-justified-left"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-aligncenter"})),value:"items-justified-center"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignright"})),value:"items-justified-right"}],M7=[{label:(0,Y.__)("Text"),value:!1},{label:(0,Y.__)("Icon"),value:!0}],D7=[{label:(0,Y.__)("OFF"),value:"never"},{label:(0,Y.__)("MOBILE"),value:"mobile"},{label:(0,Y.__)("ALWAYS"),value:"always"}],j7=[{label:(0,Y.__)("Left"),value:"close-icon-left"},{label:(0,Y.__)("Center"),value:"close-icon-center"},{label:(0,Y.__)("Right"),value:"close-icon-right"}];function I7(e){return I7="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},I7(e)}function A7(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=I7(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=I7(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==I7(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function L7(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,r,c,l=[],i=!0,s=!1;try{if(r=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;i=!1}else for(;!(i=(n=r.call(a)).done)&&(l.push(n.value),l.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{if(!i&&null!=a.return&&(c=a.return(),Object(c)!==c))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return F7(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?F7(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function F7(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}(0,Y.__)("Left"),(0,Y.__)("Center"),(0,Y.__)("Right"),(0,Y.__)("Top"),(0,Y.__)("Middle"),(0,Y.__)("Bottom"),(0,Y.__)("Fill"),(0,Y.__)("Gradient"),(0,Y.__)("Image"),(0,Y.__)("Auto"),(0,Y.__)("Cover"),(0,Y.__)("Contain"),(0,Y.__)("None"),(0,Y.__)("Dashed"),(0,Y.__)("Solid"),(0,Y.__)("Dotted"),(0,Y.__)("Double"),(0,Y.__)("Groove"),(0,Y.__)("Inset"),(0,Y.__)("Outset"),(0,Y.__)("Ridge"),(0,Y.__)("Select Hover Effect","essential-blocks"),(0,Y.__)("Grow","essential-blocks"),(0,Y.__)("Shrink","essential-blocks"),(0,Y.__)("Pulse","essential-blocks"),(0,Y.__)("Pulse Grow","essential-blocks"),(0,Y.__)("Pulse Shrink","essential-blocks"),(0,Y.__)("Push","essential-blocks"),(0,Y.__)("Pop","essential-blocks"),(0,Y.__)("Bounce In","essential-blocks"),(0,Y.__)("Bounce Out","essential-blocks"),(0,Y.__)("Rotate","essential-blocks"),(0,Y.__)("Grow Rotate","essential-blocks"),(0,Y.__)("Float","essential-blocks"),(0,Y.__)("Sink","essential-blocks"),(0,Y.__)("Bob","essential-blocks"),(0,Y.__)("Hang","essential-blocks"),(0,Y.__)("Skew","essential-blocks"),(0,Y.__)("Skew Forward","essential-blocks"),(0,Y.__)("Skew Backward","essential-blocks"),(0,Y.__)("Wobble Horizontal","essential-blocks"),(0,Y.__)("Wobble Vertical","essential-blocks"),(0,Y.__)("Wobble To Bottom Right","essential-blocks"),(0,Y.__)("Wobble To Top Right","essential-blocks"),(0,Y.__)("Wobble Top","essential-blocks"),(0,Y.__)("Wobble Bottom","essential-blocks"),(0,Y.__)("Wobble Skew","essential-blocks"),(0,Y.__)("Buzz","essential-blocks"),(0,Y.__)("Buzz Out","essential-blocks"),(0,Y.__)("Forward","essential-blocks"),(0,Y.__)("Fade","essential-blocks"),(0,Y.__)("Back Pulse","essential-blocks"),(0,Y.__)("Sweep To Right","essential-blocks"),(0,Y.__)("Sweep To Left","essential-blocks"),(0,Y.__)("Sweep To Bottom","essential-blocks"),(0,Y.__)("Sweep To Top","essential-blocks"),(0,Y.__)("Bounce To Right","essential-blocks"),(0,Y.__)("Bounce To Left","essential-blocks"),(0,Y.__)("Bounce To Bottom","essential-blocks"),(0,Y.__)("Bounce To Top","essential-blocks"),(0,Y.__)("Radial Out","essential-blocks"),(0,Y.__)("Radial In","essential-blocks"),(0,Y.__)("Rectangle In","essential-blocks"),(0,Y.__)("Rectangle Out","essential-blocks"),(0,Y.__)("Shutter In Horizontal","essential-blocks"),(0,Y.__)("Shutter Out Horizontal","essential-blocks"),(0,Y.__)("Shutter In Vertical","essential-blocks"),(0,Y.__)("Shutter Out Vertical","essential-blocks"),(0,Y.__)("Curl Top Left","essential-blocks"),(0,Y.__)("Curl Top Right","essential-blocks"),(0,Y.__)("Curl Bottom Right","essential-blocks"),(0,Y.__)("Curl Bottom Left","essential-blocks");var H7=EBControls,z7=H7.BackgroundControl,q7=H7.BorderShadowControl,U7=H7.ColorControl,V7=H7.ResponsiveRangeController,W7=H7.ResponsiveDimensionsControl,G7=H7.TypographyDropdown,Z7=H7.AdvancedControls;H7.EBIconPicker;const Y7=function(e){var t=e.attributes,a=e.setAttributes,n=(e.clientId,e.handleTabTitleClick,t.blockId,t.resOption),o=t.layout,r=t.navTextColor,c=t.hvNavTextColor,l=t.actNavTextColor,i=t.actHvNavTextColor,s=t.colorTransition,b=t.actColorTransition,p=t.caretColor,u=t.preset,d=t.navAlign,m=t.hvNavBgColor,g=t.actNavBgColor,f=t.actHvNavBgColor,y=t.navDropdownTextColor,v=t.hvNavDropdownTextColor,h=t.actNavDropdownTextColor,w=t.actHvNavDropdownTextColor,k=t.navDropdownBgColor,R=(t.hvNavDropdownBgColor,t.actNavDropdownBgColor,t.actHvNavDropdownBgColor,t.dropdownOpenOnClick),_=t.showDropdownIcon,E=t.navBtnType,C=t.dropdownItemBgColor,x=t.hvDropdownItemBgColor,S=t.actDropdownItemBgColor,B=t.actHvDropdownItemBgColor,T=t.hvCaretColor,N=t.verticalPreset,P=t.navHamburgerBgColor,O=t.navHamburgerTextColor,M=t.hamburgerItemBgColor,D=t.hvNavHamburgerTextColor,j=t.hvHamburgerItemBgColor,I=(t.actNavHamburgerTextColor,t.actHamburgerItemBgColor,t.actHvNavHamburgerTextColor,t.actHvHamburgerItemBgColor,t.hamburgerCloseIconColor),A=t.navDividerColor,L=t.navDropdownDividerColor,F=t.flexWrap,H=t.navVerticalAlign,z=t.hamburgerMenu,q=t.navHamburgerBtnColor,U=t.hamburgerCloseIconAlign,V=t.verticalNavDividerColor,W=L7((0,J.useState)("normal"),2),G=W[0],Z=W[1],$=L7((0,J.useState)("normal"),2),K=$[0],ee=$[1],te={setAttributes:a,resOption:n,attributes:t,objAttributes:B7},ae=function(e){var t,n;switch(a({preset:e}),e){case"preset-1":a((A7(A7(A7(A7(A7(A7(A7(A7(A7(A7(t={wrpBg_backgroundColor:"#ffffff",navTextColor:"#6A72A5",hvNavTextColor:"#2673FF",caretColor:"#6A72A5",hvCaretColor:"#2673FF",navHamburgerBtnColor:"#2673FF",actNavTextColor:"#2673FF",actHvNavTextColor:"#2673FF",hvNavDropdownTextColor:"#2673FF",hvNavBgColor:"#ffffff",actNavBgColor:"#ffffff",actHvNavBgColor:"#ffffff",navDropdownBgColor:"#ffffff",navDropdownTextColor:"#6A72A5"},"hvNavDropdownTextColor","#2673FF"),"dropdownItemBgColor","#ffffff"),"hvDropdownItemBgColor","#ffffff"),"dropdownP_Bottom","10"),"dropdownP_Left","10"),"dropdownP_Right","10"),"dropdownP_Top","10"),"dropdownP_Unit","px"),"dropdownP_isLinked",!0),"dropdownItemP_Bottom","10"),A7(A7(A7(A7(A7(A7(A7(A7(A7(A7(t,"dropdownItemP_Left","10"),"dropdownItemP_Right","10"),"dropdownItemP_Top","10"),"dropdownItemP_Unit","px"),"dropdownItemP_isLinked",!0),"wrpBds_Rds_Bottom","5"),"wrpBds_Rds_Left","5"),"wrpBds_Rds_Right","5"),"wrpBds_Rds_Top","5"),"navDropdownBds_Rds_Bottom","5"),A7(A7(A7(A7(A7(A7(A7(A7(A7(A7(t,"navDropdownBds_Rds_Left","5"),"navDropdownBds_Rds_Right","5"),"navDropdownBds_Rds_Top","5"),"wrpBds_BorderType","normal"),"wrpBds_borderStyle","none"),"wrpBds_borderColor","#2673FF"),"wrpBds_Bdr_Bottom","1"),"wrpBds_Bdr_Left","1"),"wrpBds_Bdr_Right","1"),"wrpBds_Bdr_Top","1"),A7(A7(A7(A7(A7(A7(A7(A7(A7(A7(t,"wrpBds_Bdr_Unit","px"),"wrpBds_Bdr_isLinked",!0),"navDropdownBds_BorderType","normal"),"navDropdownBds_borderStyle","none"),"navDropdownBds_borderColor","#6C63FF"),"navDropdownBds_Bdr_Bottom","1"),"navDropdownBds_Bdr_Left","1"),"navDropdownBds_Bdr_Right","1"),"navDropdownBds_Bdr_Top","1"),"navDropdownBds_Bdr_Unit","px"),A7(t,"navDropdownBds_Bdr_isLinked",!0)));break;case"preset-2":a({wrpBg_backgroundColor:"#6C63FF",navTextColor:"#ffffff",hvNavTextColor:"#6C63FF",navHamburgerBtnColor:"#ffffff",caretColor:"#ffffff",hvCaretColor:"#6C63FF",actNavTextColor:"#6C63FF",actHvNavTextColor:"#6C63FF",hvNavBgColor:"#ffffff",actNavBgColor:"#ffffff",actHvNavBgColor:"#ffffff",navDropdownBgColor:"#6C63FF",navDropdownTextColor:"#ffffff",hvNavDropdownTextColor:"#6C63FF",dropdownItemBgColor:"#6C63FF",hvDropdownItemBgColor:"#ffffff",dropdownP_Bottom:"0",dropdownP_Left:"0",dropdownP_Right:"0",dropdownP_Top:"0",dropdownP_Unit:"px",dropdownP_isLinked:!0,wrpBds_Rds_Bottom:"0",wrpBds_Rds_Left:"0",wrpBds_Rds_Right:"0",wrpBds_Rds_Top:"0",navDropdownBds_Rds_Bottom:"0",navDropdownBds_Rds_Left:"0",navDropdownBds_Rds_Right:"0",navDropdownBds_Rds_Top:"0",wrpBds_BorderType:"normal",wrpBds_borderStyle:"none",wrpBds_borderColor:"#6C63FF",wrpBds_Bdr_Bottom:"1",wrpBds_Bdr_Left:"1",wrpBds_Bdr_Right:"1",wrpBds_Bdr_Top:"1",wrpBds_Bdr_Unit:"px",wrpBds_Bdr_isLinked:!0,navDropdownBds_BorderType:"normal",navDropdownBds_borderStyle:"none",navDropdownBds_borderColor:"#6C63FF",navDropdownBds_Bdr_Bottom:"1",navDropdownBds_Bdr_Left:"1",navDropdownBds_Bdr_Right:"1",navDropdownBds_Bdr_Top:"1",navDropdownBds_Bdr_Unit:"px",navDropdownBds_Bdr_isLinked:!0});break;case"preset-3":a((A7(A7(A7(A7(A7(A7(A7(A7(A7(A7(n={wrpBg_backgroundColor:"#2673FF",navTextColor:"#ffffff",hvNavTextColor:"#ffffff",caretColor:"#ffffff",hvCaretColor:"#ffffff",navHamburgerBtnColor:"#ffffff",actNavTextColor:"#ffffff",actHvNavTextColor:"#ffffff",hvNavBgColor:"#0059FC",actNavBgColor:"#0059FC",actHvNavBgColor:"#0059FC",navDropdownBgColor:"#2673FF",navDropdownTextColor:"#ffffff",hvNavDropdownTextColor:"#ffffff",dropdownItemBgColor:"#2673FF",hvDropdownItemBgColor:"#0059FC",dropdownP_Bottom:"10",dropdownP_Left:"10",dropdownP_Right:"10",dropdownP_Top:"10",dropdownP_Unit:"px",dropdownP_isLinked:!0},"hvCaretColor","#ffffff"),"dropdownItemBds_Rds_Bottom","0"),"dropdownItemBds_Rds_Left","0"),"dropdownItemBds_Rds_Right","0"),"dropdownItemBds_Rds_Top","0"),"wrpBds_Rds_Bottom","0"),"wrpBds_Rds_Left","0"),"wrpBds_Rds_Right","0"),"wrpBds_Rds_Top","0"),"navDropdownBds_Rds_Bottom","0"),A7(A7(A7(A7(A7(A7(A7(A7(A7(A7(n,"navDropdownBds_Rds_Left","0"),"navDropdownBds_Rds_Right","0"),"navDropdownBds_Rds_Top","0"),"wrpBds_BorderType","normal"),"wrpBds_borderStyle","none"),"wrpBds_borderColor","#6C63FF"),"wrpBds_Bdr_Bottom","1"),"wrpBds_Bdr_Left","1"),"wrpBds_Bdr_Right","1"),"wrpBds_Bdr_Top","1"),A7(A7(A7(A7(A7(A7(A7(A7(A7(A7(n,"wrpBds_Bdr_Unit","px"),"wrpBds_Bdr_isLinked",!0),"navDropdownBds_BorderType","normal"),"navDropdownBds_borderStyle","none"),"navDropdownBds_borderColor","#6C63FF"),"navDropdownBds_Bdr_Bottom","1"),"navDropdownBds_Bdr_Left","1"),"navDropdownBds_Bdr_Right","1"),"navDropdownBds_Bdr_Top","1"),"navDropdownBds_Bdr_Unit","px"),A7(n,"navDropdownBds_Bdr_isLinked",!0)));break;case"preset-4":a({wrpBg_backgroundColor:"#ffffff",navTextColor:"#6A72A5",hvNavTextColor:"#2673FF",caretColor:"#6A72A5",hvCaretColor:"#2673FF",navHamburgerBtnColor:"#2673FF",actNavTextColor:"#2673FF",actHvNavTextColor:"#2673FF",navDropdownBgColor:"#ffffff",navDropdownTextColor:"#6A72A5",hvNavDropdownTextColor:"#2673FF",dropdownP_Bottom:"0",dropdownP_Left:"0",dropdownP_Right:"0",dropdownP_Top:"0",dropdownP_Unit:"px",dropdownP_isLinked:!0,wrpBds_Rds_Bottom:"5",wrpBds_Rds_Left:"5",wrpBds_Rds_Right:"5",wrpBds_Rds_Top:"5",navDropdownBds_Rds_Bottom:"5",navDropdownBds_Rds_Left:"5",navDropdownBds_Rds_Right:"5",navDropdownBds_Rds_Top:"5",wrpBds_BorderType:"normal",wrpBds_borderStyle:"solid",wrpBds_borderColor:"#2673FF",wrpBds_Bdr_Bottom:"1",wrpBds_Bdr_Left:"1",wrpBds_Bdr_Right:"1",wrpBds_Bdr_Top:"1",wrpBds_Bdr_Unit:"px",wrpBds_Bdr_isLinked:!0,navDropdownBds_BorderType:"normal",navDropdownBds_borderStyle:"solid",navDropdownBds_borderColor:"#2673FF",navDropdownBds_Bdr_Bottom:"1",navDropdownBds_Bdr_Left:"1",navDropdownBds_Bdr_Right:"1",navDropdownBds_Bdr_Top:"1",navDropdownBds_Bdr_Unit:"px",navDropdownBds_Bdr_isLinked:!0});break;default:return!1}},ne=function(e){var t;switch(a({verticalPreset:e}),e){case"vertical-preset-1":a((A7(A7(A7(A7(A7(A7(A7(A7(A7(A7(t={wrpBg_backgroundColor:"#ffffff",navTextColor:"#6A72A5",hvNavTextColor:"#2673FF",caretColor:"#6A72A5",hvCaretColor:"#2673FF",navHamburgerBtnColor:"#2673FF",actNavTextColor:"#2673FF",actHvNavTextColor:"#2673FF",navDropdownBgColor:"#ffffff",navDropdownTextColor:"#6A72A5",hvNavDropdownTextColor:"#2673FF",dropdownP_Bottom:"0",dropdownP_Left:"0",dropdownP_Right:"0",dropdownP_Top:"0",dropdownP_Unit:"px",dropdownP_isLinked:!0,dropdownItemP_Bottom:"10",dropdownItemP_Left:"10",dropdownItemP_Right:"10",dropdownItemP_Top:"10",dropdownItemP_Unit:"px",dropdownItemP_isLinked:!0},"actNavTextColor","#2673FF"),"hvNavTextColor","#2673FF"),"hvCaretColor","#2673FF"),"wrpBds_Rds_Bottom","5"),"wrpBds_Rds_Left","5"),"wrpBds_Rds_Right","5"),"wrpBds_Rds_Top","5"),"navDropdownBds_Rds_Bottom","5"),"navDropdownBds_Rds_Left","5"),"navDropdownBds_Rds_Right","5"),A7(A7(A7(A7(A7(A7(A7(A7(A7(A7(t,"navDropdownBds_Rds_Top","5"),"wrpBds_BorderType","normal"),"wrpBds_borderStyle","none"),"wrpBds_borderColor","#ffffff"),"wrpBds_Bdr_Bottom","0"),"wrpBds_Bdr_Left","0"),"wrpBds_Bdr_Right","0"),"wrpBds_Bdr_Top","0"),"wrpBds_Bdr_Unit","px"),"wrpBds_Bdr_isLinked",!0),A7(A7(A7(A7(A7(A7(A7(A7(A7(t,"navDropdownBds_BorderType","normal"),"navDropdownBds_borderStyle","none"),"navDropdownBds_borderColor","#ffffff"),"navDropdownBds_Bdr_Bottom","0"),"navDropdownBds_Bdr_Left","0"),"navDropdownBds_Bdr_Right","0"),"navDropdownBds_Bdr_Top","0"),"navDropdownBds_Bdr_Unit","px"),"navDropdownBds_Bdr_isLinked",!0)));break;case"vertical-preset-2":a({wrpBg_backgroundColor:"#2673FF",navTextColor:"#ffffff",hvNavTextColor:"#ffffff",caretColor:"#ffffff",hvCaretColor:"#ffffff",navHamburgerBtnColor:"#ffffff",actNavTextColor:"#ffffff",actHvNavTextColor:"#ffffff",hvNavBgColor:"#0059FC",actNavBgColor:"#0053EB",actHvNavBgColor:"#0053EB",navDropdownBgColor:"#0059FC",navDropdownTextColor:"#ffffff",hvNavDropdownTextColor:"#ffffff",dropdownItemBgColor:"#0059FC",hvDropdownItemBgColor:"#0053EB",dropdownP_Bottom:"0",dropdownP_Left:"0",dropdownP_Right:"0",dropdownP_Top:"0",dropdownP_Unit:"px",dropdownP_isLinked:!0,wrpBds_Rds_Bottom:"5",wrpBds_Rds_Left:"5",wrpBds_Rds_Right:"5",wrpBds_Rds_Top:"5",navDropdownBds_Rds_Bottom:"5",navDropdownBds_Rds_Left:"5",navDropdownBds_Rds_Right:"5",navDropdownBds_Rds_Top:"5",wrpBds_BorderType:"normal",wrpBds_borderStyle:"solid",wrpBds_borderColor:"#2673FF",wrpBds_Bdr_Bottom:"1",wrpBds_Bdr_Left:"1",wrpBds_Bdr_Right:"1",wrpBds_Bdr_Top:"1",wrpBds_Bdr_Unit:"px",wrpBds_Bdr_isLinked:!0,navDropdownBds_BorderType:"normal",navDropdownBds_borderStyle:"none",navDropdownBds_borderColor:"#2673FF",navDropdownBds_Bdr_Bottom:"1",navDropdownBds_Bdr_Left:"1",navDropdownBds_Bdr_Right:"1",navDropdownBds_Bdr_Top:"1",navDropdownBds_Bdr_Unit:"px",navDropdownBds_Bdr_isLinked:!0});break;default:return!1}};return React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:"General",className:"eb-tab general"},{name:"styles",title:"Style",className:"eb-tab styles"},{name:"advance",title:"Advanced",className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls"+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("General","essential-blocks")},React.createElement(X.PanelRow,null,(0,Y.__)("Layout","essential-blocks")),React.createElement(X.SelectControl,{label:(0,Y.__)("Orientation","essential-blocks"),value:o,options:[{label:(0,Y.__)("Horizontal","essential-blocks"),value:"is-horizontal"},{label:(0,Y.__)("Vertical","essential-blocks"),value:"is-vertical"}],onChange:function(e){return function(e){a({layout:e}),"is-horizontal"===e?ae(e):ne(N)}(e)}}),"is-horizontal"==o&&React.createElement(React.Fragment,null,React.createElement(X.SelectControl,{label:(0,Y.__)("Preset","essential-blocks"),value:u,options:T7,onChange:function(e){return ae(e)}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Allow to wrap to multiple lines","essential-blocks"),checked:F,onChange:function(e){return a({flexWrap:e})}}),React.createElement(X.BaseControl,{label:(0,Y.__)("Alignment","essential-blocks")},React.createElement(X.ButtonGroup,{id:"eb-button-group-alignment"},P7.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:d===e.value,isSecondary:d!==e.value,onClick:function(){return a({navAlign:e.value})}},e.label)}))))),"is-vertical"==o&&React.createElement(React.Fragment,null,React.createElement(X.SelectControl,{label:(0,Y.__)("Preset","essential-blocks"),value:N,options:N7,onChange:function(e){return ne(e)}}),React.createElement(X.BaseControl,{label:(0,Y.__)("Alignment","essential-blocks")},React.createElement(X.ButtonGroup,{id:"eb-button-group-alignment"},O7.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:H===e.value,isSecondary:H!==e.value,onClick:function(){return a({navVerticalAlign:e.value})}},e.label)}))))),React.createElement(X.__experimentalDivider,null),React.createElement(X.PanelRow,null,(0,Y.__)("Dropdown Menus","essential-blocks")),React.createElement(X.ToggleControl,{label:(0,Y.__)("Open on Click","essential-blocks"),checked:R,onChange:function(e){return a({dropdownOpenOnClick:e})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Dropdown Menu Icon?","essential-blocks"),checked:_,onChange:function(e){return a({showDropdownIcon:e})}})),React.createElement(X.PanelBody,{title:(0,Y.__)("Hamburger Menu","essential-blocks")},React.createElement(X.BaseControl,{label:(0,Y.__)("Button Type","essential-blocks")},React.createElement(X.ButtonGroup,{id:"eb-button-group-alignment"},M7.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:E===e.value,isSecondary:E!==e.value,onClick:function(){return a({navBtnType:e.value})}},e.label)})))),React.createElement(X.BaseControl,{label:(0,Y.__)("Display Hamburger Menu","essential-blocks")},React.createElement(X.ButtonGroup,{id:"eb-button-group-alignment"},D7.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:z===e.value,isSecondary:z!==e.value,onClick:function(){return a({hamburgerMenu:e.value})}},e.label)})))))),"styles"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Navigation","essential-blocks")},React.createElement(G7,{baseLabel:"Typography",typographyPrefixConstant:m7,resRequiredProps:te}),React.createElement(W7,{resRequiredProps:te,controlName:o7,baseLabel:"Padding"}),React.createElement(W7,{resRequiredProps:te,controlName:r7,baseLabel:"Margin"}),"is-horizontal"==o&&"preset-4"==u&&React.createElement(U7,{label:(0,Y.__)("Divider Color","essential-blocks"),defaultColor:B7.navDividerColor.default,color:A,onChange:function(e){return a({navDividerColor:e})}}),"is-vertical"==o&&"preset-1"==u&&React.createElement(U7,{label:(0,Y.__)("Divider Color","essential-blocks"),defaultColor:B7.verticalNavDividerColor.default,color:V,onChange:function(e){return a({verticalNavDividerColor:e})}}),React.createElement(X.PanelBody,{title:(0,Y.__)("Colors","essential-blocks"),initialOpen:!1},React.createElement(X.BaseControl,null,React.createElement(X.ButtonGroup,null,[{label:(0,Y.__)("Normal","essential-blocks"),value:"normal"},{label:(0,Y.__)("Hover","essential-blocks"),value:"hover"}].map((function(e,t){var a=e.value,n=e.label;return React.createElement(X.Button,{key:t,isPrimary:G===a,isSecondary:G!==a,onClick:function(){return Z(a)}},n)})))),"normal"===G&&React.createElement(React.Fragment,null,React.createElement(U7,{label:(0,Y.__)("Text","essential-blocks"),defaultColor:B7.navTextColor.default,color:r,onChange:function(e){return a({navTextColor:e})}})),"hover"===G&&React.createElement(React.Fragment,null,React.createElement(U7,{label:(0,Y.__)("Text","essential-blocks"),defaultColor:B7.hvNavTextColor.default,color:c,onChange:function(e){return a({hvNavTextColor:e})}}),"is-horizontal"==o&&("preset-2"==u||"preset-3"==u)&&React.createElement(U7,{label:(0,Y.__)("Background","essential-blocks"),defaultColor:B7.hvNavBgColor.default,color:m,onChange:function(e){return a({hvNavBgColor:e})}}),"is-vertical"==o&&"vertical-preset-2"==N&&React.createElement(U7,{label:(0,Y.__)("Background","essential-blocks"),defaultColor:B7.hvNavBgColor.default,color:m,onChange:function(e){return a({hvNavBgColor:e})}}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Active Colors","essential-blocks"),initialOpen:!1},React.createElement(X.BaseControl,null,React.createElement(X.ButtonGroup,null,[{label:(0,Y.__)("Normal","essential-blocks"),value:"normal"},{label:(0,Y.__)("Hover","essential-blocks"),value:"hover"}].map((function(e,t){var a=e.value,n=e.label;return React.createElement(X.Button,{key:t,isPrimary:K===a,isSecondary:K!==a,onClick:function(){return ee(a)}},n)})))),"normal"===K&&React.createElement(React.Fragment,null,React.createElement(U7,{label:(0,Y.__)("Text","essential-blocks"),defaultColor:B7.actNavTextColor.default,color:l,onChange:function(e){return a({actNavTextColor:e})}}),"is-horizontal"==o&&("preset-2"==u||"preset-3"==u)&&React.createElement(U7,{label:(0,Y.__)("Background","essential-blocks"),defaultColor:B7.actNavBgColor.default,color:g,onChange:function(e){return a({actNavBgColor:e})}}),"is-vertical"==o&&"vertical-preset-2"==N&&React.createElement(U7,{label:(0,Y.__)("Background","essential-blocks"),defaultColor:B7.actNavBgColor.default,color:g,onChange:function(e){return a({actNavBgColor:e})}})),"hover"===K&&React.createElement(React.Fragment,null,React.createElement(U7,{label:(0,Y.__)("Text","essential-blocks"),defaultColor:B7.actHvNavTextColor.default,color:i,onChange:function(e){return a({actHvNavTextColor:e})}}),"is-horizontal"==o&&("preset-2"==u||"preset-3"==u)&&React.createElement(U7,{label:(0,Y.__)("Backgound","essential-blocks"),defaultColor:B7.actHvNavBgColor.default,color:f,onChange:function(e){return a({actHvNavBgColor:e})}}),"is-vertical"==o&&"vertical-preset-2"==N&&React.createElement(U7,{label:(0,Y.__)("Backgound","essential-blocks"),defaultColor:B7.actHvNavBgColor.default,color:f,onChange:function(e){return a({actHvNavBgColor:e})}}),React.createElement(X.BaseControl,{label:(0,Y.__)("Transition","essential-blocks")},React.createElement(X.RangeControl,{value:b,onChange:function(e){return a({actColorTransition:e})},step:.1,min:0,max:5})))),"preset-3"===u&&React.createElement(X.PanelBody,{title:(0,Y.__)("Active & Hover Border"),initialOpen:!1},React.createElement(q7,{controlName:$8,resRequiredProps:te,noShadow:!0,noBdrHover:!0}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Dropdown Menu","essential-blocks"),initialOpen:!1},React.createElement(X.PanelRow,null,(0,Y.__)("Container","essential-blocks")),React.createElement(V7,{baseLabel:(0,Y.__)("Min Width (PX)","essential-blocks"),controlName:u7,resRequiredProps:te,min:100,max:500,step:1,noUnits:!0}),React.createElement(U7,{label:(0,Y.__)("Background","essential-blocks"),defaultColor:B7.navDropdownBgColor.default,color:k,onChange:function(e){return a({navDropdownBgColor:e})}}),React.createElement(W7,{resRequiredProps:te,controlName:i7,baseLabel:"Padding"}),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(q7,{controlName:K8,resRequiredProps:te,noBdrHover:!0})),React.createElement(X.__experimentalDivider,null),React.createElement(X.PanelRow,null,(0,Y.__)("Items","essential-blocks")),React.createElement(G7,{baseLabel:"Typography",typographyPrefixConstant:g7,resRequiredProps:te}),React.createElement(W7,{resRequiredProps:te,controlName:s7,baseLabel:"Padding"}),"preset-4"==u&&React.createElement(U7,{label:(0,Y.__)("Divider Color","essential-blocks"),defaultColor:B7.navDropdownDividerColor.default,color:L,onChange:function(e){return a({navDropdownDividerColor:e})}}),React.createElement(X.PanelBody,{title:(0,Y.__)("Colors","essential-blocks"),initialOpen:!1},React.createElement(X.BaseControl,null,React.createElement(X.ButtonGroup,null,[{label:(0,Y.__)("Normal","essential-blocks"),value:"normal"},{label:(0,Y.__)("Hover","essential-blocks"),value:"hover"}].map((function(e,t){var a=e.value,n=e.label;return React.createElement(X.Button,{key:t,isPrimary:G===a,isSecondary:G!==a,onClick:function(){return Z(a)}},n)})))),"normal"===G&&React.createElement(React.Fragment,null,React.createElement(U7,{label:(0,Y.__)("Text","essential-blocks"),defaultColor:B7.navDropdownTextColor.default,color:y,onChange:function(e){return a({navDropdownTextColor:e})}}),("preset-2"==u||"preset-3"==u)&&React.createElement(U7,{label:(0,Y.__)("Background","essential-blocks"),defaultColor:B7.dropdownItemBgColor.default,color:C,onChange:function(e){return a({dropdownItemBgColor:e})}})),"hover"===G&&React.createElement(React.Fragment,null,React.createElement(U7,{label:(0,Y.__)("Text","essential-blocks"),defaultColor:B7.hvNavDropdownTextColor.default,color:v,onChange:function(e){return a({hvNavDropdownTextColor:e})}}),"is-horizontal"==o&&("preset-2"==u||"preset-3"==u)&&React.createElement(U7,{label:(0,Y.__)("Background","essential-blocks"),defaultColor:B7.hvDropdownItemBgColor.default,color:x,onChange:function(e){return a({hvDropdownItemBgColor:e})}}),"is-vertical"==o&&"vertical-preset-2"==N&&React.createElement(U7,{label:(0,Y.__)("Background","essential-blocks"),defaultColor:B7.hvDropdownItemBgColor.default,color:x,onChange:function(e){return a({hvDropdownItemBgColor:e})}}),React.createElement(X.RangeControl,{value:s,onChange:function(e){return a({colorTransition:e})},step:.1,min:0,max:5}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Active Colors","essential-blocks"),initialOpen:!1},React.createElement(X.BaseControl,null,React.createElement(X.ButtonGroup,null,[{label:(0,Y.__)("Normal","essential-blocks"),value:"normal"},{label:(0,Y.__)("Hover","essential-blocks"),value:"hover"}].map((function(e,t){var a=e.value,n=e.label;return React.createElement(X.Button,{key:t,isPrimary:K===a,isSecondary:K!==a,onClick:function(){return ee(a)}},n)})))),"normal"===K&&React.createElement(React.Fragment,null,React.createElement(U7,{label:(0,Y.__)("Text","essential-blocks"),defaultColor:B7.actNavDropdownTextColor.default,color:h,onChange:function(e){return a({actNavDropdownTextColor:e})}}),("preset-2"==u||"preset-3"==u)&&React.createElement(U7,{label:(0,Y.__)("Background","essential-blocks"),defaultColor:B7.actDropdownItemBgColor.default,color:S,onChange:function(e){return a({actDropdownItemBgColor:e})}})),"hover"===K&&React.createElement(React.Fragment,null,React.createElement(U7,{label:(0,Y.__)("Text","essential-blocks"),defaultColor:B7.actHvNavDropdownTextColor.default,color:w,onChange:function(e){return a({actHvNavDropdownTextColor:e})}}),("preset-2"==u||"preset-3"==u)&&React.createElement(U7,{label:(0,Y.__)("Background","essential-blocks"),defaultColor:B7.actHvDropdownItemBgColor.default,color:B,onChange:function(e){return a({actHvDropdownItemBgColor:e})}}))),"preset-3"==u&&React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(q7,{controlName:t7,resRequiredProps:te,noShadow:!0}))),_&&React.createElement(X.PanelBody,{title:(0,Y.__)("Caret","essential-blocks"),initialOpen:!1},React.createElement(V7,{baseLabel:(0,Y.__)("Caret Size","essential-blocks"),controlName:p7,resRequiredProps:te,min:0,max:100,step:1,noUnits:!0}),React.createElement(U7,{label:(0,Y.__)("Caret Color","essential-blocks"),defaultColor:B7.caretColor.default,color:p,onChange:function(e){return a({caretColor:e})}}),React.createElement(U7,{label:(0,Y.__)("Hover Caret Color","essential-blocks"),defaultColor:B7.hvCaretColor.default,color:T,onChange:function(e){return a({hvCaretColor:e})}})),React.createElement(X.PanelBody,{title:(0,Y.__)("Hamburger Menu","essential-blocks"),initialOpen:!1},React.createElement(X.PanelRow,null,(0,Y.__)("Button","essential-blocks")),E&&React.createElement(V7,{baseLabel:(0,Y.__)("Icon Size(PX)","essential-blocks"),controlName:d7,resRequiredProps:te,min:0,max:100,step:1,noUnits:!0}),!E&&React.createElement(G7,{baseLabel:"Typography",typographyPrefixConstant:y7,resRequiredProps:te}),React.createElement(U7,{label:(0,Y.__)("Color","essential-blocks"),defaultColor:B7.navHamburgerBtnColor.default,color:q,onChange:function(e){return a({navHamburgerBtnColor:e})}}),React.createElement(W7,{resRequiredProps:te,controlName:b7,baseLabel:"Padding"}),React.createElement(X.PanelRow,null,(0,Y.__)("Container","essential-blocks")),React.createElement(U7,{label:(0,Y.__)("Background","essential-blocks"),defaultColor:B7.navHamburgerBgColor.default,color:P,onChange:function(e){return a({navHamburgerBgColor:e})}}),React.createElement(W7,{resRequiredProps:te,controlName:c7,baseLabel:"Padding"}),React.createElement(X.__experimentalDivider,null),React.createElement(X.PanelRow,null,(0,Y.__)("Items","essential-blocks")),React.createElement(G7,{baseLabel:"Typography",typographyPrefixConstant:f7,resRequiredProps:te}),React.createElement(W7,{resRequiredProps:te,controlName:l7,baseLabel:"Padding"}),React.createElement(X.PanelBody,{title:(0,Y.__)("Colors","essential-blocks"),initialOpen:!1},React.createElement(X.BaseControl,null,React.createElement(X.ButtonGroup,null,[{label:(0,Y.__)("Normal","essential-blocks"),value:"normal"},{label:(0,Y.__)("Hover","essential-blocks"),value:"hover"}].map((function(e,t){var a=e.value,n=e.label;return React.createElement(X.Button,{key:t,isPrimary:G===a,isSecondary:G!==a,onClick:function(){return Z(a)}},n)})))),"normal"===G&&React.createElement(React.Fragment,null,React.createElement(U7,{label:(0,Y.__)("Text","essential-blocks"),defaultColor:B7.navHamburgerTextColor.default,color:O,onChange:function(e){return a({navHamburgerTextColor:e})}}),React.createElement(U7,{label:(0,Y.__)("Background","essential-blocks"),defaultColor:B7.hamburgerItemBgColor.default,color:M,onChange:function(e){return a({hamburgerItemBgColor:e})}})),"hover"===G&&React.createElement(React.Fragment,null,React.createElement(U7,{label:(0,Y.__)("Text","essential-blocks"),defaultColor:B7.hvNavHamburgerTextColor.default,color:D,onChange:function(e){return a({hvNavHamburgerTextColor:e})}}),React.createElement(U7,{label:(0,Y.__)("Background","essential-blocks"),defaultColor:B7.hvHamburgerItemBgColor.default,color:j,onChange:function(e){return a({hvHamburgerItemBgColor:e})}}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Border"),initialOpen:!1},React.createElement(q7,{controlName:e7,resRequiredProps:te,noShadow:!0,noBdrHover:!0})),React.createElement(X.__experimentalDivider,null),React.createElement(X.PanelRow,null,(0,Y.__)("Close Icon","essential-blocks")),React.createElement(U7,{label:(0,Y.__)("Color","essential-blocks"),defaultColor:B7.hamburgerCloseIconColor.default,color:I,onChange:function(e){return a({hamburgerCloseIconColor:e})}}),React.createElement(X.BaseControl,{label:(0,Y.__)("Alignment","essential-blocks")},React.createElement(X.ButtonGroup,{id:"eb-button-group-alignment"},j7.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:U===e.value,isSecondary:U!==e.value,onClick:function(){return a({hamburgerCloseIconAlign:e.value})}},e.label)})))))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Margin & Padding","essential-blocks")},React.createElement(W7,{resRequiredProps:te,controlName:a7,baseLabel:"Margin"}),React.createElement(W7,{resRequiredProps:te,controlName:n7,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Background","essential-blocks"),initialOpen:!1},React.createElement(z7,{controlName:Q8,resRequiredProps:te})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(q7,{controlName:X8,resRequiredProps:te})),React.createElement(Z7,{attributes:t,setAttributes:a})))}))))};var J7=window.EBControls,Q7=J7.softMinifyCssStrings,X7=J7.generateTypographyStyles,$7=J7.generateDimensionsControlStyles,K7=J7.generateBorderShadowStyles,e9=J7.generateBackgroundControlStyles,t9=J7.StyleComponent;function a9(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=(t.resOption,t.blockMeta,t.blockId),r=t.layout,c=t.navTextColor,l=t.hvNavTextColor,i=t.actNavTextColor,s=t.actHvNavTextColor,b=t.caretColor,p=t.carZ_Range,u=t.TABcarZ_Range,d=t.MOBcarZ_Range,m=(t.navAlign,t.hvNavBgColor),g=t.actNavBgColor,f=t.actHvNavBgColor,y=t.navDropdownTextColor,v=t.hvNavDropdownTextColor,h=(t.actNavDropdownTextColor,t.actHvNavDropdownTextColor,t.navDropdownBgColor),w=(t.hvNavDropdownBgColor,t.actNavDropdownBgColor,t.actHvNavDropdownBgColor,t.preset),k=t.dropdownItemBgColor,R=t.hvDropdownItemBgColor,_=(t.actDropdownItemBgColor,t.actHvDropdownItemBgColor,t.dropdownW_Range),E=t.TABdropdownW_Range,C=t.MOBdropdownW_Range,x=t.hvCaretColor,S=t.verticalPreset,B=(t.dropdownOpenOnClick,t.navBtnType),T=(t.showDropdownIcon,t.navHamburgerBgColor),N=t.navHamburgerTextColor,P=t.hamburgerItemBgColor,O=t.hvNavHamburgerTextColor,M=t.hvHamburgerItemBgColor,D=(t.actNavHamburgerTextColor,t.actHamburgerItemBgColor,t.actHvNavHamburgerTextColor,t.actHvHamburgerItemBgColor,t.hamburgerCloseIconColor),j=t.navDividerColor,I=t.navDropdownDividerColor,A=(t.flexWrap,t.navVerticalAlign,t.hamburgerMenu,t.navHamburgerBtnColor),L=t.hamburgerBtnZ_Range,F=t.TABhamburgerBtnZ_Range,H=t.MOBhamburgerBtnZ_Range,z=(t.hamburgerCloseIconAlign,t.verticalNavDividerColor),q=(t.classHook,X7({attributes:t,prefixConstant:m7,defaultFontSize:16})),U=q.typoStylesDesktop,V=q.typoStylesTab,W=q.typoStylesMobile,G=X7({attributes:t,prefixConstant:g7,defaultFontSize:16}),Z=G.typoStylesDesktop,Y=G.typoStylesTab,J=G.typoStylesMobile,Q=X7({attributes:t,prefixConstant:f7,defaultFontSize:16}),X=Q.typoStylesDesktop,$=Q.typoStylesTab,K=Q.typoStylesMobile,ee=X7({attributes:t,prefixConstant:y7,defaultFontSize:16}),te=ee.typoStylesDesktop,ae=ee.typoStylesTab,ne=ee.typoStylesMobile,oe=e9({attributes:t,controlName:Q8}),re=oe.backgroundStylesDesktop,ce=oe.hoverBackgroundStylesDesktop,le=oe.backgroundStylesTab,ie=oe.hoverBackgroundStylesTab,se=oe.backgroundStylesMobile,be=oe.hoverBackgroundStylesMobile,pe=oe.overlayStylesDesktop,ue=oe.hoverOverlayStylesDesktop,de=oe.overlayStylesTab,me=oe.hoverOverlayStylesTab,ge=oe.overlayStylesMobile,fe=oe.hoverOverlayStylesMobile,ye=oe.bgTransitionStyle,ve=oe.ovlTransitionStyle,he=$7({attributes:t,controlName:a7,styleFor:"margin"}),we=he.dimensionStylesDesktop,ke=he.dimensionStylesTab,Re=he.dimensionStylesMobile,_e=$7({attributes:t,controlName:n7,styleFor:"padding"}),Ee=_e.dimensionStylesDesktop,Ce=_e.dimensionStylesTab,xe=_e.dimensionStylesMobile,Se=$7({attributes:t,controlName:r7,styleFor:"margin"}),Be=Se.dimensionStylesDesktop,Te=Se.dimensionStylesTab,Ne=Se.dimensionStylesMobile,Pe=$7({attributes:t,controlName:o7,styleFor:"padding"}),Oe=Pe.dimensionStylesDesktop,Me=Pe.dimensionStylesTab,De=Pe.dimensionStylesMobile,je=$7({attributes:t,controlName:i7,styleFor:"padding"}),Ie=je.dimensionStylesDesktop,Ae=je.dimensionStylesTab,Le=je.dimensionStylesMobile,Fe=$7({attributes:t,controlName:s7,styleFor:"padding"}),He=Fe.dimensionStylesDesktop,ze=Fe.dimensionStylesTab,qe=Fe.dimensionStylesMobile,Ue=$7({attributes:t,controlName:c7,styleFor:"padding"}),Ve=Ue.dimensionStylesDesktop,We=Ue.dimensionStylesTab,Ge=Ue.dimensionStylesMobile,Ze=$7({attributes:t,controlName:l7,styleFor:"padding"}),Ye=Ze.dimensionStylesDesktop,Je=Ze.dimensionStylesTab,Qe=Ze.dimensionStylesMobile,Xe=$7({attributes:t,controlName:b7,styleFor:"padding"}),$e=Xe.dimensionStylesDesktop,Ke=Xe.dimensionStylesTab,et=Xe.dimensionStylesMobile,tt=K7({controlName:X8,attributes:t}),at=tt.styesDesktop,nt=tt.styesTab,ot=tt.styesMobile,rt=tt.stylesHoverDesktop,ct=tt.stylesHoverTab,lt=tt.stylesHoverMobile,it=tt.transitionStyle,st=K7({controlName:$8,attributes:t}),bt=st.styesDesktop,pt=st.styesTab,ut=st.styesMobile,dt=st.transitionStyle,mt=K7({controlName:K8,attributes:t}),gt=mt.styesDesktop,ft=mt.styesTab,yt=mt.styesMobile,vt=K7({controlName:e7,attributes:t}),ht=vt.styesDesktop,wt=vt.styesTab,kt=vt.styesMobile,Rt=K7({controlName:t7,attributes:t}),_t=Rt.styesDesktop,Et=Rt.styesTab,Ct=Rt.styesMobile,xt=(Rt.stylesHoverDesktop,Rt.stylesHoverTab,Rt.stylesHoverMobile,Rt.transitionStyle,Q7("\n\n\t\t.".concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation{\n\t\t\t").concat(we,"\n\t\t\t").concat(Ee,"\n\t\t\t").concat(re,"\n\t\t\t").concat(at,"\n\t\t\ttransition: all .5s, ").concat(ye,", ").concat(it,";\n\t\t}\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation:hover{\n\t\t\t").concat(ce,"\n\t\t\t").concat(rt,"\n\t\t}\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation:before{\n\t\t\t").concat(pe,"\n\t\t\ttransition: all .5s, ").concat(ve,";\n\t\t}\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation:hover:before{\n\t\t\t").concat(ue,"\n\t\t}\n\n\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation-item{\n\t\t\t").concat(Be,"\n\t\t\t").concat(Oe,"\n\t\t\ttransition: all .5s, ").concat(dt,";\n\t\t}\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation-item__content {\n\t\t\t").concat(c?"color:".concat(c," !important;"):"","\n\t\t\t").concat(U,"\n\t\t}\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation-item:hover >.wp-block-navigation-item__content {\n\t\t\t").concat(l?"color:".concat(l," !important;"):"","\n\t\t}\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .current-menu-item .wp-block-navigation-item__content {\n\t\t\t").concat(i?"color:".concat(i," !important;"):"","\n\t\t}\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .current-menu-item:hover >.wp-block-navigation-item__content {\n\t\t\t").concat("color:".concat(s||l," !important;"),"\n\t\t}\n\n\t\t").concat("preset-2"===w&&"is-horizontal"==r?"\n\t\t\t\t.".concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation-item:hover {\n\t\t\t\t\t").concat(m?"background-color:".concat(m,";"):"","\n\t\t\t\t}\n\n\t\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .current-menu-item {\n\t\t\t\t\t").concat(g?"background-color:".concat(g,";"):"","\n\t\t\t\t}\n\t\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .current-menu-item:hover {\n\t\t\t\t\t").concat(f?"background-color:".concat(f,";"):"","\n\t\t\t\t}\n\n\t\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__submenu-container .wp-block-navigation-item__content {\n\t\t\t\t\t").concat(k?"background-color:".concat(k,";"):"","\n\n\t\t\t\t}\n\n\t\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__submenu-container .wp-block-navigation-item:hover > .wp-block-navigation-item__content,\n\t\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container .wp-block-navigation-item:hover > .wp-block-navigation-item__content {\n\t\t\t\t\t").concat(R?"background-color:".concat(R,";"):"","\n\t\t\t\t}\n\n\t\t\t\t"):"","\n\n\t\t").concat("preset-3"===w&&"is-horizontal"==r?"\n\t\t\t\t// .".concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation-item__content{\n\n\t\t\t\t// \tborder-color: transparent;\n\t\t\t\t// }\n\t\t\t\t// .").concat(o,".eb-advanced-navigation-wrapper.preset-3 .current-menu-item .wp-block-navigation-item__content,\n\t\t\t\t// .").concat(o,".eb-advanced-navigation-wrapper.preset-3 .wp-block-navigation-item:hover .wp-block-navigation-item__content {\n\t\t\t\t// \t").concat(bt,"\n\t\t\t\t// }\n\n\n\t\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__container > .wp-block-navigation-item.current-menu-item::before {\n\t\t\t\t\t").concat(g?"background-color:".concat(g,";"):"","\n\t\t\t\t\t").concat(bt,"\n\t\t\t\t}\n\t\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__container > .wp-block-navigation-item:hover::before {\n\t\t\t\t\t").concat(m?"background-color:".concat(m,";"):"","\n\t\t\t\t\t").concat(bt,"\n\t\t\t\t}\n\n\n\t\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation-item:hover::before {\n\t\t\t\t\t").concat(m?"background-color:".concat(m,";"):"","\n\t\t\t\t\t").concat(bt,"\n\t\t\t\t}\n\n\t\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation-item.current-menu-item::before {\n\t\t\t\t\t").concat(g?"background-color:".concat(g,";"):"","\n\t\t\t\t\t").concat(bt,"\n\n\t\t\t\t}\n\t\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation-item.current-menu-item:hover::before  {\n\t\t\t\t\t").concat(f?"background-color:".concat(f,";"):"","\n\t\t\t\t}\n\n\t\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__submenu-container .wp-block-navigation-item__content {\n\t\t\t\t\t").concat(k?"background-color:".concat(k,";"):"","\n\n\t\t\t\t}\n\n\t\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__submenu-container .wp-block-navigation-item:hover > .wp-block-navigation-item__content,\n\t\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container .wp-block-navigation-item:hover > .wp-block-navigation-item__content {\n\t\t\t\t\t").concat(R?"background-color:".concat(R,";"):"","\n\t\t\t\t}\n\n\t\t\t\t"):"","\n\n\n\t\t").concat("preset-4"===w&&"is-horizontal"==r?"\n\t\t\t\t.".concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > .wp-block-navigation-item:not(:last-child)::after {\n\t\t\t\t\t").concat(j?"background-color:".concat(j,";"):"","\n\t\t\t\t}\n\n\t\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__submenu-container .wp-block-navigation-item {\n\t\t\t\t\t").concat(I?"border-color:".concat(I,";"):"","\n\t\t\t\t}\n\n\t\t\t\t"):"","\n\n\t\t").concat("is-vertical"==r&&"vertical-preset-1"===S?"\n\t\t\t\t.".concat(o,".eb-advanced-navigation-wrapper.is-vertical.vertical-preset-1 .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item:not(:last-child) {\n\t\t\t\t\tborder-bottom: 1px solid ").concat(z,";\n\n\t\t\t\t}\n\n\t\t\t"):"","\n\n\t\t").concat("is-vertical"==r&&"vertical-preset-2"===S?"\n\t\t\t\t.".concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation-item:hover {\n\t\t\t\t\t").concat(m?"background-color:".concat(m,";"):"","\n\t\t\t\t}\n\n\t\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .current-menu-item {\n\t\t\t\t\t").concat(g?"background-color:".concat(g,";"):"","\n\t\t\t\t}\n\t\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .current-menu-item:hover {\n\t\t\t\t\t").concat(f?"background-color:".concat(f,";"):"","\n\t\t\t\t}\n\n\t\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__submenu-container > .wp-block-navigation-item:hover,\n\t\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container >.wp-block-navigation-item:hover {\n\t\t\t\t\t").concat(R?"background-color:".concat(R,";"):"","\n\t\t\t\t}\n\n\t\t\t"):"","\n\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__submenu-container {\n\t\t\t").concat(Ie,"\n\t\t\t").concat(h?"background-color:".concat(h,";"):"","\n\t\t\t").concat(gt,"\n\t\t\tmin-width: ").concat(_,"px !important;\n\t\t\twidth: max-content!important;\n\t\t\tmax-width: max-content!important;\n\t\t}\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__submenu-container .wp-block-navigation-item {\n\t\t\tpadding: 0;\n\t\t}\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__submenu-container .wp-block-navigation-item__content {\n\t\t\t").concat(Z,"\n\t\t\t").concat(y?"color:".concat(y," !important;"):"","\n\t\t\t").concat(He,"\n\t\t\t").concat(_t,"\n\t\t}\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__submenu-container .wp-block-navigation-item:hover > .wp-block-navigation-item__content,\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container .wp-block-navigation-item:hover >.wp-block-navigation-item__content {\n\t\t\t").concat(v?"color:".concat(v,";"):"","\n\t\t}\n\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__submenu-icon {\n\t\t\twidth: ").concat(p,"px;\n\t\t\theight: ").concat(p,"px;\n\t\t\t").concat("color:".concat(b||c,";"),"\n\t\t}\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation-item:hover .wp-block-navigation__submenu-icon {\n\t\t\t").concat("color:".concat(x||l,";"),"\n\t\t}\n\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__responsive-container-open {\n\t\t\t").concat(A?"color:".concat(A,";"):"","\n\t\t\t").concat($e,"\n\t\t\t").concat(B?"":te,"\n\t\t}\n\n\t\t").concat(B?"\n\t\t\t\t.".concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__responsive-container-open svg{\n\t\t\t\t\twidth: ").concat(L,"px;\n\t\t\t\t\theight: ").concat(L,"px;\n\t\t\t\t}\n\n\t\t\t"):"","\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__responsive-container.is-menu-open,\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open {\n\t\t\tbackground-color: ").concat(T,";\n\t\t\t").concat(Ve,"\n\t\t}\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {\n\t\t\twidth: 100%;\n            box-sizing: border-box;\n            padding: 0;\n\t\t}\n\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content{\n\t\t\tcolor: ").concat(N," !important;\n\t\t\tbackground-color: ").concat(P," !important;\n            width: 100%;\n            box-sizing: border-box;\n\t\t\t").concat(Ye,"\n\t\t\t").concat(X,"\n\t\t\t").concat(ht,"\n\t\t}\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item > .wp-block-navigation-item__content:hover,\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item .wp-block-navigation__submenu-container .wp-block-navigation-item .wp-block-navigation-item__content:hover  {\n\t\t\tcolor: ").concat(O," !important;\n            background-color: ").concat(M," !important;\n\t\t}\n\n\t\t// .").concat(o,".eb-advanced-navigation-wrapper .is-menu-open .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {\n\t\t// \twidth: auto !Important;\n\t\t// }\n\n\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .is-menu-open .wp-block-navigation__responsive-container-close {\n\t\t\tcolor: ").concat(D,";\n\t\t}\n\n\n\t"))),St=Q7("\n\n\t\t.".concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation{\n\t\t\t").concat(ke,"\n\t\t\t").concat(Ce,"\n\t\t\t").concat(le,"\n\t\t\t").concat(nt,"\n\t\t}\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation:hover{\n\t\t\t").concat(ie,"\n\t\t\t").concat(ct,"\n\t\t}\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation:before{\n\t\t\t").concat(de,"\n\t\t}\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation:hover:before{\n\t\t\t").concat(me,"\n\t\t}\n\n\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation-item{\n\t\t\t").concat(Te,"\n\t\t\t").concat(Me,"\n\t\t}\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation-item__content {\n\t\t\t").concat(V,"\n\n\t\t}\n\n\n\t\t").concat("preset-3"===w&&"is-horizontal"==r?"\n\n\n\t\t\t\t.".concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__container > .wp-block-navigation-item.current-menu-item::before {\n\t\t\t\t\t").concat(pt,"\n\t\t\t\t}\n\t\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__container > .wp-block-navigation-item:hover::before {\n\t\t\t\t\t").concat(pt,"\n\t\t\t\t}\n\n\n\t\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation-item:hover::before {\n\t\t\t\t\t").concat(pt,"\n\t\t\t\t}\n\n\t\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .current-menu-item::before {\n\t\t\t\t\t").concat(pt,"\n\n\t\t\t\t}\n\n\n\t\t\t\t"):"","\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__submenu-container {\n\t\t\t").concat(Ae,"\n\t\t\t").concat(ft,"\n\t\t\tmin-width: ").concat(E||_,"px !important;\n\t\t}\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__submenu-container .wp-block-navigation-item__content {\n\t\t\t").concat(Y,"\n\t\t\t").concat(ze,"\n\t\t\t").concat(Et,"\n\n\t\t}\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__responsive-container-open {\n\t\t\t").concat(Ke,"\n\t\t\t").concat(B?"":ae,"\n\t\t}\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__submenu-icon {\n\t\t\twidth: ").concat(u,"px;\n\t\t\theight: ").concat(u,"px;\n\t\t}\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content{\n\t\t\t").concat(Je,"\n\t\t\t").concat($,"\n\t\t\t").concat(wt,"\n\t\t}\n\n\t\t").concat(B?"\n\t\t\t\t.".concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__responsive-container-open svg{\n\t\t\t\t\twidth: ").concat(F,"px;\n\t\t\t\t\theight: ").concat(F,"px;\n\t\t\t\t}\n\n\t\t\t"):"","\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__responsive-container.is-menu-open {\n\t\t\tbackground-color: ").concat(T,";\n\t\t\t").concat(We,"\n\t\t}\n\n\t")),Bt=Q7("\n\t.".concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation{\n\t\t").concat(Re,"\n\t\t").concat(xe,"\n\t\t").concat(se,"\n\t\t").concat(ot,"\n\t}\n\n\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation:hover{\n\t\t").concat(be,"\n\t\t").concat(lt,"\n\t}\n\n\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation:before{\n\t\t").concat(ge,"\n\t}\n\n\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation:hover:before{\n\t\t").concat(fe,"\n\t}\n\n\n\n\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation-item{\n\t\t").concat(Ne,"\n\t\t").concat(De,"\n\t}\n\n\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation-item__content {\n\t\t").concat(W,"\n\n\t}\n\n\n\t").concat("preset-3"===w&&"is-horizontal"==r?"\n\n\n\t\t\t.".concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__container > .wp-block-navigation-item.current-menu-item::before {\n\t\t\t\t").concat(ut,"\n\t\t\t}\n\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__container > .wp-block-navigation-item:hover::before {\n\t\t\t\t").concat(ut,"\n\t\t\t}\n\n\n\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation-item:hover::before {\n\t\t\t\t").concat(ut,"\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .current-menu-item::before {\n\t\t\t\t").concat(ut,"\n\n\t\t\t}\n\n\t\t\t"):"","\n\n\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__submenu-container {\n\t\t").concat(Le,"\n\t\t").concat(yt,"\n\t\tmin-width: ").concat(C||200,"px !important;\n\t}\n\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__submenu-container .wp-block-navigation-item__content {\n\t\t").concat(J,"\n\t\t").concat(qe,"\n\t\t").concat(Ct,"\n\t}\n\n\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__responsive-container-open {\n\t\t").concat(et,"\n\t\t").concat(B?"":ne,"\n\t}\n\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__submenu-icon {\n\t\twidth: ").concat(d,"px;\n\t\theight: ").concat(d,"px;\n\t}\n\n\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content{\n\t\t").concat(Qe,"\n\t\t").concat(K,"\n\t\t").concat(kt,"\n\t}\n\n\t").concat(B?"\n\t\t\t.".concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__responsive-container-open svg{\n\t\t\t\twidth: ").concat(H,"px;\n\t\t\t\theight: ").concat(H,"px;\n\t\t\t}\n\n\t\t"):"","\n\n\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__responsive-container.is-menu-open {\n\t\tbackground-color: ").concat(T,";\n\t\t").concat(Ge,"\n\t}\n\n\t")),Tt=Q7("\n\t\t".concat(xt,"\n\n\t")),Nt=Q7("\n\t\t".concat(St,"\n\n\t")),Pt=Q7("\n\t\t".concat(Bt,"\n\n\t"));return React.createElement(React.Fragment,null,React.createElement(t9,{attributes:t,setAttributes:a,desktopAllStyles:Tt,tabAllStyles:Nt,mobileAllStyles:Pt,blockName:n}))}function n9(e){return n9="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n9(e)}function o9(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function r9(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?o9(Object(a),!0).forEach((function(t){c9(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):o9(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function c9(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=n9(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=n9(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n9(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var l9=lodash.times,i9=EBControls.BlockProps,s9=(0,jq.createHigherOrderComponent)((function(e){return function(t){t.attributes;var a=t.name,n=t.clientId,o=t.isSelected;if(t.setAttributes,a&&"core/navigation"!=a)return React.createElement(e,t);var r,c=(0,$.select)("core/block-editor").getBlockParents(n),l=!1;return c.map((function(e){var t=(0,$.select)("core/block-editor").getBlock(e);t&&"essential-blocks/advanced-navigation"==t.name&&(l=!0,r9({},t.attributes))})),l&&o?(setTimeout((function(){if(r=document.querySelector(".block-editor-block-inspector")){var e=r.querySelector(".block-editor-block-inspector__tabs");if(e){var t=e.querySelectorAll('[aria-label="Settings"], [aria-label="Styles"]');t&&t.forEach((function(e){e.style.display="none"}))}}}),200),r?(setTimeout((function(){var e=r.children;r.querySelector(".block-editor-block-inspector__tabs").querySelectorAll('[aria-label="Settings"], [aria-label="Styles"]').forEach((function(e){e.style.display="none"}));for(var t=0;t<=e.length-1;t++){var a=e[t].classList.contains("block-editor-block-card"),n=e[t].classList.contains("block-editor-block-inspector__tabs"),o=e[t].children;if(!a&&!n)for(var c=0;c<=o.length-1;c++)o[c].querySelector(".wp-block-navigation__navigation-selector")||(o[c].style.display="none")}}),200),React.createElement(J.Fragment,null,React.createElement(e,t))):React.createElement(e,t)):((r=document.querySelector(".block-editor-block-inspector"))&&setTimeout((function(){r.querySelector(".block-editor-block-card").style.display="block";for(var e=r.children,t=0;t<=e.length-1;t++)for(var a=e[t].children,n=0;n<=a.length-1;n++)a[n].style.display="block"}),200),React.createElement(e,t))}}),"withInspectorControl");wp.hooks.addFilter("editor.BlockEdit","essential-blocks/advanced-navigation",s9);var b9=window.EBControls.BlockProps;function p9(e){return p9="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p9(e)}function u9(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function d9(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=p9(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=p9(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==p9(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const m9=[{attributes:function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?u9(Object(a),!0).forEach((function(t){d9(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):u9(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}({},B7),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.classHook,n=t.blockId,o=t.layout,r=t.preset,c=t.verticalPreset,l=t.showDropdownIcon,i=t.navBtnType,s=t.hamburgerCloseIconAlign,b=t.navAlign,p=t.navVerticalAlign;if("is-horizontal"==o)var u=r;else u=c;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(n," ").concat(a)},React.createElement("div",{className:"".concat(n," eb-advanced-navigation-wrapper ").concat(o," ").concat(u," ").concat("is-horizontal"==o?b:p).concat(l?"":"remove-dropdown-icon"," ").concat(!0===i?"responsive-icon":"responsive-text"," ").concat(s)},React.createElement("div",{className:"eb-nav-contents"},React.createElement(Q.InnerBlocks.Content,null)))))}}],g9=JSON.parse('{"title":"Advanced Navigation","apiVersion":2,"name":"essential-blocks/advanced-navigation","description":"Display pages & posts with easy navigation in your website with stunning & organised appearance.","category":"essential-blocks","textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');(0,EBControls.ebConditionalRegisterBlockType)(g9,{keywords:[(0,Y.__)("Menu","essential-blocks"),(0,Y.__)("Navigation","essential-blocks"),(0,Y.__)("EB Navigation","essential-blocks"),(0,Y.__)("EB Advanced Navigation","essential-blocks"),(0,Y.__)("Advanced Navigation Block","essential-blocks"),(0,Y.__)("Advanced Navigation","essential-blocks")],icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"46",fill:"none",viewBox:"0 0 60 46"},React.createElement("path",{fill:"#6C3BFF",fillRule:"evenodd",d:"M54 .2H6c-3.3 0-6 2.7-6 6v33.6c0 3.3 2.7 6 6 6h48c3.3 0 6-2.7 6-6V6.2c0-3.3-2.7-6-6-6zM38.4 43.4H6a3.61 3.61 0 01-3.6-3.6V6.2c0-1.98 1.62-3.6 3.6-3.6h32.4v40.8zm19.2-3.6c0 1.98-1.62 3.6-3.6 3.6H40.8V2.6H54c1.98 0 3.6 1.62 3.6 3.6v33.6zM7.2 9.2h1.2c.66 0 1.2-.54 1.2-1.2 0-.66-.54-1.2-1.2-1.2H7.2C6.54 6.8 6 7.34 6 8c0 .66.54 1.2 1.2 1.2zm6.6 0h-1.2c-.66 0-1.2-.54-1.2-1.2 0-.66.54-1.2 1.2-1.2h1.2c.66 0 1.2.54 1.2 1.2 0 .66-.54 1.2-1.2 1.2zm4.2 0h1.2c.66 0 1.2-.54 1.2-1.2 0-.66-.54-1.2-1.2-1.2H18c-.66 0-1.2.54-1.2 1.2 0 .66.54 1.2 1.2 1.2zm28.8 1.2H51c.66 0 1.2.54 1.2 1.2 0 .66-.54 1.2-1.2 1.2h-4.2c-.66 0-1.2-.54-1.2-1.2 0-.66.54-1.2 1.2-1.2zm4.2 6h-4.2c-.66 0-1.2.54-1.2 1.2 0 .66.54 1.2 1.2 1.2H51c.66 0 1.2-.54 1.2-1.2 0-.66-.54-1.2-1.2-1.2zm-4.2 6H51c.66 0 1.2.54 1.2 1.2 0 .66-.54 1.2-1.2 1.2h-4.2c-.66 0-1.2-.54-1.2-1.2 0-.66.54-1.2 1.2-1.2zM8.3 14.95v22.4h24.05v-22.4H8.3zm-.35-2A1.65 1.65 0 006.3 14.6v23.1c0 .911.739 1.65 1.65 1.65H32.7a1.65 1.65 0 001.65-1.65V14.6a1.65 1.65 0 00-1.65-1.65H7.95zm5.85 7.45h-1.2c-.66 0-1.2-.54-1.2-1.2 0-.66.54-1.2 1.2-1.2h1.2c.66 0 1.2.54 1.2 1.2 0 .66-.54 1.2-1.2 1.2zm4.2 0h1.2c.66 0 1.2-.54 1.2-1.2 0-.66-.54-1.2-1.2-1.2H18c-.66 0-1.2.54-1.2 1.2 0 .66.54 1.2 1.2 1.2zm6.4 0h-1.2c-.66 0-1.2-.54-1.2-1.2 0-.66.54-1.2 1.2-1.2h1.2c.66 0 1.2.54 1.2 1.2 0 .66-.54 1.2-1.2 1.2z",clipRule:"evenodd"}))},attributes:B7,edit:function(e){var t,a=e.attributes,n=e.setAttributes,o=(e.className,e.clientId),r=e.isSelected,c=(e.name,a.resOption,a.blockMeta,a.blockId),l=a.layout,i=a.navAlign,s=a.preset,b=a.verticalPreset,p=a.dropdownOpenOnClick,u=a.navBtnType,d=a.showDropdownIcon,m=a.flexWrap,g=a.navVerticalAlign,f=a.hamburgerMenu,y=a.hamburgerCloseIconAlign,v=a.classHook,h=r9(r9({},e),{},{blockPrefix:"eb-advanced-navigation",style:React.createElement(a9,e)});if((0,J.useEffect)((function(){var e=(0,$.select)("core/block-editor").getBlocksByClientId(o)[0],t=null==e?void 0:e.innerBlocks,a=(0,$.dispatch)("core/block-editor"),n=(a.replaceInnerBlocks,a.updateBlockAttributes);t&&l9(t.length,(function(e){n(t[e].clientId,{className:"".concat(l," ").concat("is-horizontal"==l?i:g," ").concat(!0===m?"no-wrap":"")})}))}),[l,i,m,g]),(0,J.useEffect)((function(){var e=(0,$.select)("core/block-editor").getBlocksByClientId(o)[0],t=null==e?void 0:e.innerBlocks,a=(0,$.dispatch)("core/block-editor"),n=(a.replaceInnerBlocks,a.updateBlockAttributes);t&&l9(t.length,(function(e){n(t[e].clientId,{openSubmenusOnClick:p})}))}),[p]),(0,J.useEffect)((function(){var e=(0,$.select)("core/block-editor").getBlocksByClientId(o)[0],t=null==e?void 0:e.innerBlocks,a=(0,$.dispatch)("core/block-editor"),n=(a.replaceInnerBlocks,a.updateBlockAttributes);t&&l9(t.length,(function(e){n(t[e].clientId,{showSubmenuIcon:d})}))}),[d]),(0,J.useEffect)((function(){var e=(0,$.select)("core/block-editor").getBlocksByClientId(o)[0],t=null==e?void 0:e.innerBlocks,a=(0,$.dispatch)("core/block-editor"),n=(a.replaceInnerBlocks,a.updateBlockAttributes);t&&l9(t.length,(function(e){n(t[e].clientId,{hasIcon:u})}))}),[u]),(0,J.useEffect)((function(){var e=(0,$.select)("core/block-editor").getBlocksByClientId(o)[0],t=null==e?void 0:e.innerBlocks,a=(0,$.dispatch)("core/block-editor"),n=(a.replaceInnerBlocks,a.updateBlockAttributes);t&&l9(t.length,(function(e){n(t[e].clientId,{overlayMenu:f})}))}),[f]),"is-horizontal"==l)var w=s;else w=b;return React.createElement(React.Fragment,null,r&&React.createElement(Y7,{clientId:o,attributes:a,setAttributes:n}),React.createElement(i9.Edit,h,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(c," ").concat(v)},React.createElement("div",{className:"".concat(c," eb-advanced-navigation-wrapper ").concat(l," ").concat(w," ").concat("is-horizontal"==l?i:g," ").concat(d?"":"remove-dropdown-icon"," ").concat(!0===u?"responsive-icon":"responsive-text"," ").concat(y)},React.createElement("div",{className:"eb-nav-contents"},React.createElement(Q.InnerBlocks,{templateLock:!1,template:[["core/navigation",{className:"".concat(l," ").concat(i)}]],allowedBlocks:["core/navigation"],renderAppender:(null===(t=(0,$.select)("core/block-editor").getBlock(o))||void 0===t?void 0:t.innerBlocks.length)<1&&Q.InnerBlocks.ButtonBlockAppender}))))))},save:function(e){var t=e.attributes,a=t.classHook,n=t.blockId,o=t.layout,r=t.preset,c=t.verticalPreset,l=t.showDropdownIcon,i=t.navBtnType,s=t.hamburgerCloseIconAlign,b=t.navAlign,p=t.navVerticalAlign;if("is-horizontal"==o)var u=r;else u=c;return React.createElement(b9.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(n," ").concat(a)},React.createElement("div",{className:"".concat(n," eb-advanced-navigation-wrapper ").concat(o," ").concat(u," ").concat("is-horizontal"==o?b:p).concat(l?"":"remove-dropdown-icon"," ").concat(!0===i?"responsive-icon":"responsive-text"," ").concat(s)},React.createElement("div",{className:"eb-nav-contents"},React.createElement(Q.InnerBlocks.Content,null)))))},example:{},deprecated:m9});var f9=[{label:(0,Y.__)("Top","essential-blocks"),value:"top"},{label:(0,Y.__)("Bottom","essential-blocks"),value:"bottom"}],y9="wrpMargin",v9="wrpPadding",h9="wrpBorderShadow",w9="wrpBG",k9="shapeDivider";function R9(e){return R9="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},R9(e)}function _9(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function E9(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?_9(Object(a),!0).forEach((function(t){C9(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):_9(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function C9(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=R9(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=R9(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==R9(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var x9=window.EBControls,S9=x9.generateDimensionsAttributes,B9=x9.generateBackgroundAttributes,T9=x9.generateBorderShadowAttributes,N9=x9.generateShapeDividerAttributes;const P9=E9(E9(E9(E9(E9(E9({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"}},S9(y9)),S9(v9)),T9(h9,{})),B9(w9,{noOverlay:!0})),N9(k9,{dividerType:"style_1",defaultColor:"var(--eb-global-primary-color)"})),{},{shapeDividerPosition:{type:"string",default:"top"}});var O9=window.EBControls,M9=O9.ResponsiveDimensionsControl,D9=O9.BorderShadowControl,j9=O9.BackgroundControl,I9=O9.AdvancedControls,A9=O9.ShapeDividerControl;const L9=function(e){var t=e.attributes,a=e.setAttributes,n=t.resOption,o=t.shapeDividerPosition,r={setAttributes:a,resOption:n,attributes:t,objAttributes:P9};return React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:"General",className:"eb-tab general"},{name:"advance",title:"Advanced",className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls"+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Options","essential-blocks"),initialOpen:!0},React.createElement(X.SelectControl,{label:(0,Y.__)("Position","essential-blocks"),value:o,options:f9,onChange:function(e){return a({shapeDividerPosition:e})}}),React.createElement(A9,{controlName:k9,position:o,resRequiredProps:r}))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,null,React.createElement(M9,{resRequiredProps:r,controlName:y9,baseLabel:"Margin"}),React.createElement(M9,{resRequiredProps:r,controlName:v9,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Background","essential-blocks"),initialOpen:!1},React.createElement(j9,{controlName:w9,resRequiredProps:r,noOverlay:!0})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(D9,{controlName:h9,resRequiredProps:r})),React.createElement(I9,{attributes:t,setAttributes:a})))}))))};var F9=window.EBControls,H9=F9.softMinifyCssStrings,z9=F9.generateShapeDividerStyles,q9=F9.generateDimensionsControlStyles,U9=F9.generateBackgroundControlStyles,V9=F9.generateBorderShadowStyles,W9=F9.StyleComponent;function G9(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=(t.blockMeta,t.resOption,t.shapeDividerPosition),c=z9({controlName:k9,position:r,attributes:t}),l=c.desktopShapeStyle,i=c.tabShapeStyle,s=c.mobShapeStyle,b=q9({controlName:y9,styleFor:"margin",attributes:t}),p=b.dimensionStylesDesktop,u=b.dimensionStylesTab,d=b.dimensionStylesMobile,m=q9({controlName:v9,styleFor:"padding",attributes:t}),g=m.dimensionStylesDesktop,f=m.dimensionStylesTab,y=m.dimensionStylesMobile,v=U9({attributes:t,controlName:w9,noOverlay:!0}),h=v.backgroundStylesDesktop,w=v.hoverBackgroundStylesDesktop,k=v.backgroundStylesTab,R=v.hoverBackgroundStylesTab,_=v.backgroundStylesMobile,E=v.hoverBackgroundStylesMobile,C=v.bgTransitionStyle,x=V9({controlName:h9,attributes:t}),S=x.styesDesktop,B=x.styesTab,T=x.styesMobile,N=x.stylesHoverDesktop,P=x.stylesHoverTab,O=x.stylesHoverMobile,M=x.transitionStyle,D="\n        .eb-shape-divider-wrapper.".concat(o,"{\n    \t\tdisplay: block;\n    \t\tposition: relative;\n    \t\t").concat(p,"\n    \t\t").concat(g,"\n    \t\t").concat(h,"\n    \t\t").concat(S,"\n    \t\ttransition: ").concat(C,", ").concat(M,";\n    \t}\n    \t.eb-shape-divider-wrapper.").concat(o,":hover {\n    \t\t").concat(w,"\n    \t\t").concat(N,"\n    \t}\n    "),j="\n    \t.eb-shape-divider-wrapper.".concat(o,"{\n    \t\t").concat(u,"\n    \t\t").concat(f,"\n    \t\t").concat(k,"\n    \t\t").concat(B,"\n    \t}\n    \t.eb-shape-divider-wrapper.").concat(o,":hover {\n    \t\t").concat(R,"\n    \t\t").concat(P,"\n    \t}\n    "),I="\n    \t.eb-shape-divider-wrapper.".concat(o,"{\n    \t\t").concat(d,"\n    \t\t").concat(y,"\n    \t\t").concat(_,"\n    \t\t").concat(T,"\n    \t}\n    \t.eb-shape-divider-wrapper.").concat(o,":hover {\n    \t\t").concat(E,"\n    \t\t").concat(O,"\n    \t}\n    "),A="\n        .eb-shape-divider-wrapper.".concat(o," .eb-shape-divider-bottom {\n            z-index: unset;\n        }\n        ").concat(l,"\n    "),L="\n        ".concat(i,"\n    "),F="\n        ".concat(s,"\n    "),H=H9("\n\t\t".concat(D,"\n\t\t").concat(A,"\n\t")),z=H9("\n\t\t".concat(j,"\n\t\t").concat(L,"\n\t")),q=H9("\n\t\t".concat(I,"\n\t\t").concat(F,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(W9,{attributes:t,setAttributes:a,desktopAllStyles:H,tabAllStyles:z,mobileAllStyles:q,blockName:n}))}function Z9(e){return Z9="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Z9(e)}function Y9(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function J9(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Y9(Object(a),!0).forEach((function(t){Q9(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Y9(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Q9(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=Z9(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=Z9(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Z9(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var X9=window.EBControls,$9=(X9.duplicateBlockIdFix,X9.ShapeDividerContent),K9=X9.BlockProps,eee=window.EBControls,tee=eee.ShapeDividerContent,aee=eee.BlockProps;function nee(e){return nee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},nee(e)}function oee(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function ree(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=nee(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=nee(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==nee(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var cee=window.EBControls.ShapeDividerContent;const lee=[{attributes:function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?oee(Object(a),!0).forEach((function(t){ree(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):oee(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}({},P9),save:function(e){var t=e.attributes,a=t.blockId,n=t.shapeDividerPosition,o=t.shapeDividerInvert,r=t.classHook;return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(r)},React.createElement("div",{className:"eb-shape-divider-wrapper ".concat(a)},React.createElement(cee,{position:n,style:t["".concat(k9,"Type")],negative:o}))))}}],iee=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Shape Divider","name":"essential-blocks/shape-divider","description":"Make your website designs stand out by showcasing different sections with stunning shape dividers","category":"essential-blocks","apiVersion":2,"textdomain":"essential-blocks","editorScript":"essential-blocks-editor-script","supports":{"anchor":true,"align":["wide","full"]}}');function see(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function bee(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?see(Object(a),!0).forEach((function(t){pee(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):see(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function pee(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=uee(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=uee(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==uee(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function uee(e){return uee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},uee(e)}function dee(e,t){var a="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!a){if(Array.isArray(e)||(a=function(e,t){if(e){if("string"==typeof e)return mee(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?mee(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){a&&(e=a);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,c=!0,l=!1;return{s:function(){a=a.call(e)},n:function(){var e=a.next();return c=e.done,e},e:function(e){l=!0,r=e},f:function(){try{c||null==a.return||a.return()}finally{if(l)throw r}}}}function mee(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}(0,EBControls.ebConditionalRegisterBlockType)(iee,{keywords:[(0,Y.__)("Shape Divider","essential-blocks"),(0,Y.__)("Shape","essential-blocks"),(0,Y.__)("Divider","essential-blocks"),(0,Y.__)("EB shape divider","essential-blocks")],icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"60",fill:"none",viewBox:"0 0 60 60"},React.createElement("path",{fill:"#6C3BFF",d:"M59.2 44.2c-.4 0-.8-.3-.8-.8 0-1.9-.7-3.6-2.1-5-1.3-1.3-3.1-2.1-5-2.1-.4 0-.9 0-1.3.1s-.7-.1-.8-.5c-1.1-3.3-4.2-5.4-7.6-5.5-1.2 0-2.4.3-3.4.8-.3.2-.7.1-.9-.2-4.1-5.1-11.6-5.9-16.7-1.9-1.6 1.3-2.9 3-3.6 4.9-.1.2-.2.3-.4.4-.2.1-.4.1-.6 0-2.4-1.2-5.1-1.4-7.6-.6-2.5.8-4.6 2.6-5.8 5-.7 1.4-1.1 2.9-1.1 4.5 0 .4-.3.8-.7.8-.4 0-.7-.3-.8-.7V15.9c0-.4.3-.8.8-.8h58.3c.4 0 .8.3.8.8v27.5c0 .4-.3.8-.7.8zm-7.8-9.3c2.3 0 4.4.9 6 2.5.4.4.7.8 1 1.2V16.7H1.6v21.1C3 35.3 5.2 33.5 8 32.6c2.6-.9 5.5-.8 8 .3.9-1.8 2.2-3.5 3.8-4.8 5.6-4.5 13.7-3.7 18.4 1.6 1.1-.5 2.3-.7 3.5-.7 3.9 0 7.3 2.4 8.8 5.9h.9z"}))},attributes:P9,edit:function(e){var t=e.attributes,a=e.setAttributes,n=(e.className,e.clientId,e.isSelected),o=(e.name,t.blockId),r=(t.blockMeta,t.resOption,t.shapeDividerPosition),c=t.shapeDividerInvert,l=(t.shapeDividerType,t.classHook),i=J9(J9({},e),{},{blockPrefix:"eb-shape-divider",style:React.createElement(G9,e)});return(0,J.useEffect)((function(){a({shapeDividerInvert:!1})}),[r,t["".concat(k9,"Type")]]),React.createElement(React.Fragment,null,n&&React.createElement(L9,e),React.createElement(K9.Edit,i,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(o," ").concat(l)},React.createElement("div",{className:"eb-shape-divider-wrapper ".concat(o),"data-id":o},React.createElement($9,{position:r,style:""!=t["".concat(k9,"Type")]?t["".concat(k9,"Type")]:"style_1",negative:c})))))},save:function(e){var t=e.attributes,a=t.blockId,n=t.shapeDividerPosition,o=t.shapeDividerInvert,r=t.classHook;return React.createElement(aee.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(r)},React.createElement("div",{className:"eb-shape-divider-wrapper ".concat(a)},React.createElement(tee,{position:n,style:t["".concat(k9,"Type")],negative:o}))))},deprecated:lee,example:{}});var gee,fee=function e(t){var a,n={};if(null!=t&&t.attributes&&null!=t&&null!==(a=t.attributes)&&void 0!==a&&a.validationRules){var o=Object.keys(t.attributes.validationRules)[0];n[o]=t.attributes.validationRules[o]}if(null!=t&&t.innerBlocks&&(null==t?void 0:t.innerBlocks.length)>0){var r,c=dee(t.innerBlocks);try{for(c.s();!(r=c.n()).done;){var l=e(r.value);"object"===uee(l)&&Object.keys(l).length>0&&(n=bee(bee({},n),l))}}catch(e){c.e(e)}finally{c.f()}}return n["g-recaptcha-response"]&&delete n["g-recaptcha-response"],n},yee=function e(t){var a,n,o,r,c={};if(null!=t&&t.attributes&&null!=t&&null!==(a=t.attributes)&&void 0!==a&&a.fieldName&&(c[t.attributes.fieldName]=bee({type:vee(t.name),label:(null==t||null===(n=t.attributes)||void 0===n?void 0:n.labelText)||(null==t||null===(o=t.attributes)||void 0===o?void 0:o.fieldName)},(null==t||null===(r=t.attributes)||void 0===r?void 0:r.options)&&{options:t.attributes.options})),null!=t&&t.innerBlocks&&(null==t?void 0:t.innerBlocks.length)>0){var l,i=dee(t.innerBlocks);try{for(i.s();!(l=i.n()).done;){var s=e(l.value);"object"===uee(s)&&Object.keys(s).length>0&&(c=bee(bee({},c),s))}}catch(e){i.e(e)}finally{i.f()}}return c["g-recaptcha-response"]&&delete c["g-recaptcha-response"],c},vee=function(e){switch(e){case"essential-blocks/form-text-field":return"text";case"essential-blocks/form-textarea-field":return"textarea";case"essential-blocks/form-email-field":return"email";case"essential-blocks/form-number-field":return"number";case"essential-blocks/form-select-field":return"select";case"essential-blocks/form-checkbox-field":return"checkbox";case"essential-blocks/form-radio-field":return"radio";case"essential-blocks/pro-form-datetime-picker":return"datetime";case"essential-blocks/pro-form-recaptcha":return"recaptcha";default:return"input"}},hee={formStyle:"form-style-classic",formLayout:"block",inlineFormWidthRange:80,rowsGapRange:"15",showLabel:!0,labelColor:"#1D2939",requiredColor:"#D92D20",showInputIcon:!0,inputIconColor:"#CBCBCB",fieldAlign:"left",fields_FontFamily:"Poppins",fields_FontSize:14,fields_FontStyle:"normal",fields_FontTransform:"uppercase",fields_FontWeight:"400",fields_LetterSpacingUnit:"px",fields_LineHeightUnit:"em",fields_SizeUnit:"px",fieldsBorderRds_Top:"4",fieldsBorderRds_Left:"4",fieldsBorderRds_Bottom:"4",fieldsBorderRds_Right:"4",fieldsBorderRds_isLinked:!0,fieldsBorderBdr_Top:"1",fieldsBorderBdr_Left:"1",fieldsBorderBdr_Bottom:"1",fieldsBorderBdr_Right:"1",fieldsBorderBdr_isLinked:!1,fieldsPaddingLeft:"15",fieldsPaddingRight:"15",fieldsPaddingTop:"15",fieldsPaddingBottom:"15",fieldsPaddingisLinked:!1,buttonText:"Submit",btnColor:"#fff",btnBgColor:"#475467",btnText_FontFamily:"",btnText_FontSize:16,btnText_FontWeight:"400",btnText_LetterSpacingUnit:"px",btnText_LineHeightUnit:"em",btnText_SizeUnit:"px",btnText_TextTransform:"capitalize",buttonWidth:"full",btnHorizontalPositionRange:"",btnVerticalPositionRange:"",btnAddIcon:!1,btnBorderRds_Bottom:"4",btnBorderRds_Left:"4",btnBorderRds_Right:"4",btnBorderRds_Top:"4",btnBorderBdr_Bottom:"0",btnBorderBdr_Left:"0",btnBorderBdr_Right:"0",btnBorderBdr_Top:"0",btnTopSpecingRange:"20",wrpPaddingisLinked:!0,wrpPaddingUnit:"px",wrpPaddingTop:"0",wrpPaddingBottom:"0",wrpPaddingLeft:"0",wrpPaddingRight:"0",wrpBorderShadowRds_Bottom:"0",wrpBorderShadowRds_Left:"0",wrpBorderShadowRds_Right:"0",wrpBorderShadowRds_Top:"0",wrpBorderShadowRds_Unit:"px",wrpBorderShadowRds_isLinked:!0,wrpBorderShadowblur:0,wrpBorderShadowvOffset:0,wrpBorderShadowhOffset:0,wrpBorderShadowshadowColor:"rgba(111, 159, 140, 0.00)",wrprBgbackgroundColor:"#FFFFFF",wrprBgbackgroundType:"classic"},wee={formLayout:"block",formStyle:"form-style-modern",inlineFormWidthRange:100,rowsGapRange:"15",showLabel:!0,labelColor:"#C2C6C8",requiredColor:"#6E6C6C",fieldAlign:"left",fieldsBorderRds_Bottom:"0",fieldsBorderRds_Left:"0",fieldsBorderRds_Right:"0",fieldsBorderRds_Top:"0",fieldsBorderRds_Unit:"px",buttonText:"Send",btnText_FontFamily:"Manrope",btnText_FontSize:18,btnText_FontWeight:"500",btnText_LetterSpacingUnit:"px",btnText_LineHeightUnit:"em",btnText_SizeUnit:"px",btnText_TextTransform:"capitalize",buttonWidth:"full",btnAddIcon:!1,iconSize:"12px",btnBorderRds_Bottom:"0",btnBorderRds_Left:"0",btnBorderRds_Right:"0",btnBorderRds_Top:"0",btnBorderRds_Unit:"px",btnTopSpecingRange:"20",wrpPaddingisLinked:!1,wrpPaddingUnit:"px",wrpPaddingTop:"30",wrpPaddingBottom:"30",wrpPaddingLeft:"0",wrpPaddingRight:"0",wrpBorderShadowRds_Bottom:"0",wrpBorderShadowRds_Left:"0",wrpBorderShadowRds_Right:"0",wrpBorderShadowRds_Top:"0",wrpBorderShadowRds_Unit:"px",wrpBorderShadowRds_isLinked:!0,wrpBorderShadowblur:0,wrpBorderShadowvOffset:0,wrpBorderShadowhOffset:0,wrpBorderShadowshadowColor:"rgba(111, 159, 140, 0.09)",wrprBgbackgroundColor:"#fff",wrprBgbackgroundType:"classic"},kee={formStyle:"form-style-classic",formLayout:"inline",inlineFormWidthRange:100,showInputIcon:!1,showLabel:!1,fieldAlign:"left",requiredColor:"#D92D20",fieldsBgColor:"#fff",fieldsColor:"#787878",fields_FontFamily:"Manrope",fields_FontSize:18,fields_FontStyle:"normal",fields_FontWeight:"400",fields_LineHeight:1.2,fields_LineHeightUnit:"em",fieldsPaddingLeft:"20",fieldsPaddingRight:"220",fieldsPaddingTop:"25",fieldsPaddingBottom:"25",fieldsPaddingisLinked:!1,fieldsBorderBdr_Top:"1",fieldsBorderBdr_Left:"1",fieldsBorderBdr_Bottom:"1",fieldsBorderBdr_Right:"1",fieldsBorderBdr_isLinked:!1,fieldsBorderRds_Top:"4",fieldsBorderRds_Left:"4",fieldsBorderRds_Bottom:"4",fieldsBorderRds_Right:"4",fieldsBorderRds_isLinked:!0,buttonText:"Subscribe",btnColor:"#fff",btnBgColor:"#475467",btnText_FontFamily:"Manrope",btnText_FontSize:18,btnText_FontWeight:"500",btnText_LetterSpacingUnit:"px",btnText_LineHeightUnit:"em",btnText_SizeUnit:"px",btnText_TextTransform:"capitalize",btnBorderRds_Top:"4",btnBorderRds_Left:"4",btnBorderRds_Bottom:"4",btnBorderRds_Right:"4",btnBorderRds_isLinked:!0,buttonWidth:"fixed",btnWidthRange:"200",btnHorizontalPositionRange:210,btnVerticalPositionRange:10,btnAddIcon:!1,iconSize:"12px",btnTopSpecingRange:"",rowsGapRange:"30",wrpPaddingisLinked:!1,wrpPaddingUnit:"%",wrpPaddingTop:"10",wrpPaddingBottom:"10",wrpPaddingLeft:"15",wrpPaddingRight:"15",wrpBorderShadowRds_Bottom:"0",wrpBorderShadowRds_Left:"0",wrpBorderShadowRds_Right:"0",wrpBorderShadowRds_Top:"0",wrpBorderShadowRds_Unit:"px",wrpBorderShadowRds_isLinked:!0,wrpBorderShadowblur:0,wrpBorderShadowvOffset:0,wrpBorderShadowhOffset:0,wrpBorderShadowshadowColor:"rgba(111, 159, 140, 0.09)",wrprBgbackgroundColor:"#eaeaea",wrprBgbackgroundType:"classic"},Ree={formStyle:"form-style-classic",formLayout:"block",inlineFormWidthRange:80,showLabel:!1,requiredColor:"#D92D20",fieldAlign:"center",fields_FontFamily:"Poppins",fields_FontSize:20,fields_FontStyle:"normal",fields_FontWeight:"400",fields_LetterSpacingUnit:"px",fields_LineHeightUnit:"em",fields_SizeUnit:"px",fieldsBorderRds_Top:"4",fieldsBorderRds_Left:"4",fieldsBorderRds_Bottom:"4",fieldsBorderRds_Right:"4",fieldsBorderRds_isLinked:!0,buttonText:"Subscribe",btnText_FontFamily:"Poppins",btnText_FontSize:24,btnText_FontWeight:"500",btnText_LetterSpacingUnit:"px",btnText_LineHeightUnit:"em",btnText_SizeUnit:"px",btnText_TextTransform:"uppercase",buttonWidth:"full",btnHorizontalPositionRange:"",btnVerticalPositionRange:"",btnAddIcon:!1,btnTopSpecingRange:"25",wrpPaddingisLinked:!1,wrpPaddingUnit:"%",wrpPaddingTop:"10",wrpPaddingBottom:"10",wrpPaddingLeft:"20",wrpPaddingRight:"20",wrpBorderShadowRds_Bottom:"15",wrpBorderShadowRds_Left:"15",wrpBorderShadowRds_Right:"15",wrpBorderShadowRds_Top:"15",wrpBorderShadowRds_Unit:"px",wrpBorderShadowRds_isLinked:!0,wrpBorderShadowblur:45,wrpBorderShadowvOffset:0,wrpBorderShadowhOffset:0,wrpBorderShadowshadowColor:"rgba(111, 159, 140, 0.09)",wrprBgbackgroundColor:"#FFFFFF",wrprBgbackgroundType:"classic"},_ee={formStyle:"form-style-classic",showInputIcon:!1,formLayout:"block",inlineFormWidthRange:80,rowsGapRange:"15",showLabel:!1,requiredColor:"#D92D20",fieldAlign:"left",fields_FontFamily:"Poppins",fields_FontSize:20,fields_FontStyle:"normal",fields_FontTransform:"uppercase",fields_FontWeight:"400",fields_LetterSpacingUnit:"px",fields_LineHeightUnit:"em",fields_SizeUnit:"px",fieldsBorderRds_Top:"0",fieldsBorderRds_Left:"0",fieldsBorderRds_Bottom:"0",fieldsBorderRds_Right:"0",fieldsBorderRds_isLinked:!0,fieldsBorderBdr_Top:"0",fieldsBorderBdr_Left:"0",fieldsBorderBdr_Bottom:"1",fieldsBorderBdr_Right:"0",fieldsBorderBdr_isLinked:!1,fieldsPaddingLeft:"0",fieldsPaddingRight:"0",fieldsPaddingisLinked:!1,buttonText:"Send RSVP",btnColor:"#475467",btnBgColor:"#fff",btnText_FontFamily:"Poppins",btnText_FontSize:18,btnText_FontWeight:"500",btnText_LetterSpacingUnit:"px",btnText_LineHeightUnit:"em",btnText_SizeUnit:"px",btnText_TextTransform:"uppercase",buttonWidth:"full",btnHorizontalPositionRange:"",btnVerticalPositionRange:"",btnAddIcon:!1,btnBorderRds_Bottom:"0",btnBorderRds_Left:"0",btnBorderRds_Right:"0",btnBorderRds_Top:"0",btnBorderBdr_Bottom:"1",btnBorderBdr_Left:"1",btnBorderBdr_Right:"1",btnBorderBdr_Top:"1",btnTopSpecingRange:"40",wrpPaddingisLinked:!1,wrpPaddingUnit:"%",wrpPaddingTop:"10",wrpPaddingBottom:"10",wrpPaddingLeft:"20",wrpPaddingRight:"20",wrpBorderShadowRds_Bottom:"15",wrpBorderShadowRds_Left:"15",wrpBorderShadowRds_Right:"15",wrpBorderShadowRds_Top:"15",wrpBorderShadowRds_Unit:"px",wrpBorderShadowRds_isLinked:!0,wrpBorderShadowblur:45,wrpBorderShadowvOffset:0,wrpBorderShadowhOffset:0,wrpBorderShadowshadowColor:"rgba(111, 159, 140, 0.09)",wrprBgbackgroundColor:"#FFFFFF",wrprBgbackgroundType:"classic"},Eee={formStyle:"form-style-classic",showInputIcon:!1,formLayout:"block",inlineFormWidthRange:80,rowsGapRange:"15",showLabel:!0,labelColor:"#1D2939",requiredColor:"#D92D20",fieldAlign:"left",fields_FontFamily:"Poppins",fields_FontSize:14,fields_FontStyle:"normal",fields_FontTransform:"uppercase",fields_FontWeight:"400",fields_LetterSpacingUnit:"px",fields_LineHeightUnit:"em",fields_SizeUnit:"px",fieldsBorderRds_Top:"4",fieldsBorderRds_Left:"4",fieldsBorderRds_Bottom:"4",fieldsBorderRds_Right:"4",fieldsBorderRds_isLinked:!0,fieldsBorderBdr_Top:"1",fieldsBorderBdr_Left:"1",fieldsBorderBdr_Bottom:"1",fieldsBorderBdr_Right:"1",fieldsBorderBdr_isLinked:!1,fieldsPaddingLeft:"15",fieldsPaddingRight:"15",fieldsPaddingTop:"15",fieldsPaddingBottom:"15",fieldsPaddingisLinked:!1,buttonText:"Submit",btnColor:"#fff",btnBgColor:"#475467",btnText_FontFamily:"",btnText_FontSize:16,btnText_FontWeight:"400",btnText_LetterSpacingUnit:"px",btnText_LineHeightUnit:"em",btnText_SizeUnit:"px",btnText_TextTransform:"capitalize",buttonWidth:"full",btnHorizontalPositionRange:"",btnVerticalPositionRange:"",btnAddIcon:!1,btnBorderRds_Bottom:"4",btnBorderRds_Left:"4",btnBorderRds_Right:"4",btnBorderRds_Top:"4",btnBorderBdr_Bottom:"0",btnBorderBdr_Left:"0",btnBorderBdr_Right:"0",btnBorderBdr_Top:"0",btnTopSpecingRange:"20",wrpPaddingisLinked:!0,wrpPaddingUnit:"px",wrpPaddingTop:"0",wrpPaddingBottom:"0",wrpPaddingLeft:"0",wrpPaddingRight:"0",wrpBorderShadowRds_Bottom:"0",wrpBorderShadowRds_Left:"0",wrpBorderShadowRds_Right:"0",wrpBorderShadowRds_Top:"0",wrpBorderShadowRds_Unit:"px",wrpBorderShadowRds_isLinked:!0,wrpBorderShadowblur:0,wrpBorderShadowvOffset:0,wrpBorderShadowhOffset:0,wrpBorderShadowshadowColor:"rgba(111, 159, 140, 0.00)",wrprBgbackgroundColor:"#FFFFFF",wrprBgbackgroundType:"classic"},Cee=[["essential-blocks/row",{isLayoutSelected:!0,rowWidthName:"full"},[["essential-blocks/column",{cw_Range:50},[["essential-blocks/form-text-field",{labelText:"First Name",fieldName:"first-name",placeholderText:"Enter your first name here..."}]]],["essential-blocks/column",{cw_Range:50},[["essential-blocks/form-text-field",{labelText:"Last Name",fieldName:"last-name",placeholderText:"Enter your last name here..."}]]]]],["essential-blocks/form-text-field",{labelText:"Subject",fieldName:"subject",placeholderText:"Enter your subject here..."}],["essential-blocks/form-email-field",{labelText:"Email",fieldName:"email"}],["essential-blocks/form-textarea-field",{labelText:"Message",fieldName:"message"}]],xee=[["essential-blocks/row",{isLayoutSelected:!0,rowWidthName:"full"},[["essential-blocks/column",{cw_Range:50},[["essential-blocks/form-text-field",{labelText:"First Name",fieldName:"first-name",placeholderText:"Enter your first name here..."}]]],["essential-blocks/column",{cw_Range:50},[["essential-blocks/form-text-field",{labelText:"Last Name",fieldName:"last-name",placeholderText:"Enter your last name here..."}]]]]],["essential-blocks/form-email-field",{labelText:"Email",fieldName:"email"}],["essential-blocks/form-number-field",{labelText:"Phone",fieldName:"phone"}],["essential-blocks/form-textarea-field",{labelText:"Describe Your Issue",fieldName:"message"}]],See=[["essential-blocks/advanced-heading",{preset:"preset-2",align:"center",displaySubtitle:!0,displaySeperator:!1,subtitleTagName:"h3",subtitleText:"Through Our Newsletter",subtitleColor:"#000",subtitleFontFamily:"Manrope",subtitleFontSize:40,subtitleFontStyle:"normal",subtitleFontWeight:"600",subtitleLineHeight:1.2,subtitleLineHeightUnit:"em",tagName:"p",titleText:"Get The Latest Updates",titleColor:"#6b6b6b",titleFontFamily:"Manrope",titleFontSize:32,titleFontStyle:"normal",titleFontWeight:"500",titleLineHeight:1.2,titleLineHeightUnit:"em"}],["essential-blocks/form-email-field",{labelText:"Email",fieldName:"email",placeholderText:"email@example.com"}]],Bee=[["essential-blocks/advanced-heading",{titleText:"Subscribe To Our Newsletters",titleColor:"#4D3E81",tagName:"h3",align:"center",titleFontFamily:"Playfair Display",titleFontSize:50,titleFontStyle:"normal",titleFontWeight:"600",titleLineHeight:1.2,titleLineHeightUnit:"em"}],["essential-blocks/form-email-field",{labelText:"Email",fieldName:"email"}]],Tee=[["essential-blocks/advanced-heading",{preset:"preset-2",align:"center",displaySubtitle:!0,displaySeperator:!1,subtitleTagName:"h3",subtitleText:"AUG 20, 2023",subtitleColor:"#000",subtitleFontFamily:"Abhaya Libre",subtitleFontSize:60,subtitleFontStyle:"normal",subtitleFontTransform:"uppercase",subtitleFontWeight:"600",subtitleLineHeight:1.2,subtitleLineHeightUnit:"em",subtitleMarginLeft:"0",subtitleMarginTop:"0",subtitleMarginRight:"0",subtitleMarginBottom:"0",tagName:"p",titleText:"Save the date and RSVP",titleColor:"#6b6b6b",titleFontFamily:"Manrope",titleFontTransform:"uppercase",titleFontSize:15,titleFontStyle:"normal",titleFontWeight:"700",titleLineHeight:1.2,titleLineHeightUnit:"em"}],["essential-blocks/form-text-field",{labelText:"Full Name",fieldName:"full-name",placeholderText:"Full Name",showLabel:!1,isIcon:!1}],["essential-blocks/form-email-field",{labelText:"Email Address",fieldName:"email",isIcon:!1,showLabel:!1,placeholderText:"Email Address"}],["essential-blocks/row",{isLayoutSelected:!0,rowWidthName:"full"},[["essential-blocks/column",{cw_Range:50},[["essential-blocks/form-number-field",{labelText:"# of Guests",fieldName:"guests",placeholderText:"# of Guests",isIcon:!1,showLabel:!1}]]],["essential-blocks/column",{cw_Range:50},[["essential-blocks/form-text-field",{labelText:"Suggest a song",fieldName:"suggest-song",placeholderText:"Suggest a song",isIcon:!1,showLabel:!1}]]]]]],Nee="wrprBg",Pee="wrpMargin",Oee="wrpPadding",Mee="wrpBorderShadow",Dee="rowsGap",jee="labelMargin",Iee="btnPadding",Aee="btnBorder",Lee="btnTopSpecing",Fee="inputWidth",Hee="fieldsBorder",zee="fieldsPadding",qee="messageBorder",Uee="messagePadding",Vee="errorBorder",Wee="errorPadding",Gee="radioSize",Zee="radioSpacing",Yee="checkboxSize",Jee="checkboxSpacing",Qee="btnWidth",Xee="iconSize",$ee="iconGap",Kee="formWidth",ete="inlineFormWidth",tte="btnVerticalPosition",ate="btnHorizontalPosition",nte="inputIconSize",ote=[{label:(0,Y.__)("Contact Form"),value:"contact_form"},{label:(0,Y.__)("Subscription Form"),value:"subscription_form"},{label:(0,Y.__)("RSVP Form"),value:"rsvp_form"},{label:(0,Y.__)("Blank"),value:"blank"}],rte=[{label:(0,Y.__)("Contact Form (Basic)"),value:"contact_form_1"},{label:(0,Y.__)("Contact From Modern"),value:"contact_form_2"}],cte=[{label:(0,Y.__)("Subscription Form 1"),value:"subscription_form_1"},{label:(0,Y.__)("Subscription From 2"),value:"subscription_form_2"}],lte=[{label:(0,Y.__)("None"),value:""},{label:(0,Y.__)("MailChimp (Pro)"),value:"mailchimp",isPro:!0}],ite=[{label:(0,Y.__)("Send Email"),value:"email"},{label:(0,Y.__)("Send Email & Save Response (Pro)"),value:"emailsave",isPro:!0},{label:(0,Y.__)("Only Save Response (Pro)"),value:"save",isPro:!0}],ste=[{label:(0,Y.__)("Message in the Same Page"),value:"message"},{label:(0,Y.__)("Redirect (Pro)"),value:"redirect",isPro:!0}],bte=[{label:(0,Y.__)("Left"),value:"left"},{label:(0,Y.__)("Center"),value:"center"},{label:(0,Y.__)("Right"),value:"right"}],pte=[{label:(0,Y.__)("px"),value:"px"},{label:(0,Y.__)("%"),value:"%"},{label:(0,Y.__)("em"),value:"em"}],ute=[{label:(0,Y.__)("Normal"),value:"normal"},{label:(0,Y.__)("Hover"),value:"hover"}],dte=[{label:(0,Y.__)("Normal"),value:"normal"},{label:(0,Y.__)("Checked"),value:"checked"}],mte=[{label:(0,Y.__)("Full"),value:"full"},{label:(0,Y.__)("Fixed"),value:"fixed"}],gte=[{label:(0,Y.__)("Auto"),value:"auto"},{label:(0,Y.__)("Full"),value:"full"},{label:(0,Y.__)("Fixed"),value:"fixed"}],fte=[{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignleft"})),value:"left"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignright"})),value:"right"}],yte=[{label:(0,Y.__)("Success"),value:"success"},{label:(0,Y.__)("Error"),value:"error"}],vte=[{label:(0,Y.__)("Block"),value:"block"},{label:(0,Y.__)("Inline with Input Field"),value:"inline"}],hte=[{label:(0,Y.__)("Top","essential-blocks"),value:"flex-start"},{label:(0,Y.__)("Middle","essential-blocks"),value:"center"},{label:(0,Y.__)("Bottom","essential-blocks"),value:"flex-end"}],wte=[{label:(0,Y.__)("Classic","essential-blocks"),value:"form-style-classic"},{label:(0,Y.__)("Modern","essential-blocks"),value:"form-style-modern"}],kte="fields_",Rte="label_",_te="btnText_",Ete="successText_",Cte="errorText_",xte="radioText_",Ste="checkboxText_",Bte="validationText_";function Tte(e){return Tte="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Tte(e)}function Nte(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Pte(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Nte(Object(a),!0).forEach((function(t){Ote(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Nte(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Ote(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=Tte(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=Tte(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Tte(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var Mte=EBControls,Dte=Mte.generateDimensionsAttributes,jte=Mte.generateTypographyAttributes,Ite=Mte.generateBackgroundAttributes,Ate=Mte.generateBorderShadowAttributes,Lte=Mte.generateResponsiveRangeAttributes;const Fte=Pte(Pte(Pte(Pte(Pte(Pte(Pte(Pte(Pte(Pte(Pte(Pte(Pte(Pte(Pte(Pte(Pte(Pte(Pte(Pte(Pte(Pte(Pte(Pte(Pte(Pte(Pte(Pte(Pte({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},cover:{type:"string",default:""},formType:{type:"string"},formStyle:{type:"string",default:"form-style-classic"},template:{type:"string",default:"contact_form_1"},formId:{type:"string"},formTitle:{type:"string"},integrations:{type:"object",default:{}},mailTo:{type:"string"},mailCc:{type:"string"},mailBcc:{type:"string"},mailSubject:{type:"string"},mailBody:{type:"string"},notificationType:{type:"string",default:"true"===(null===(gee=EssentialBlocksLocalize)||void 0===gee?void 0:gee.is_pro_active)?"emailsave":"email"},confirmationType:{type:"string",default:"message"},redirectUrl:{type:"string"},successMessage:{type:"string",default:"Your form has been submitted Successfully!"},errorMessage:{type:"string",default:"Your form couldn't been submitted! Please try again."},validationErrorMessage:{type:"string",default:"Validation Failed! Please check the error messages."},formWidth:{type:"string",default:"full"},formAlign:{type:"string",default:"left"},labelColor:{type:"string",default:"var(--eb-global-heading-color)"},labelAlign:{type:"string",default:"left"},requiredColor:{type:"string",default:"#D92D20"},fieldsColor:{type:"string",default:"var(--eb-global-text-color)"},fieldsPlaceholderColor:{type:"string",default:"var(--eb-global-tertiary-color)"},fieldsBgColor:{type:"string",default:"var(--eb-global-background-color)"},buttonType:{type:"string",default:"normal"},btnColor:{type:"string",default:"var(--eb-global-button-text-color)"},btnHvColor:{type:"string",default:"var(--eb-global-button-text-color)"},btnBgColor:{type:"string",default:"var(--eb-global-button-background-color)"},btnBgHvColor:{type:"string",default:"var(--eb-global-tertiary-color)"},buttonText:{type:"string",default:"Submit"},buttonAlign:{type:"string",default:"left"},btnVerticalAlign:{type:"string",default:"flex-end"},buttonWidth:{type:"string",default:"full"},btnAddIcon:{type:"boolean",default:!1},icon:{type:"string",default:"fas fa-chevron-right"},iconPosition:{type:"string",default:"right"},iconSize:{type:"string"},iconSpace:{type:"string",default:"5px"},messageAlign:{type:"string",default:"left"},messageType:{type:"string",default:"success"},successColor:{type:"string",default:"#4E4E4E"},successBgColor:{type:"string",default:"#EDFFF5"},errorColor:{type:"string",default:"#4E4E4E"},errorBgColor:{type:"string",default:"var(--eb-global-background-color)"},radioType:{type:"string",default:"normal"},radioColor:{type:"string",default:"var(--eb-global-primary-color)"},radioBgColor:{type:"string",default:""},radioBrColor:{type:"string",default:"var(--eb-global-primary-color)"},radioBrCheckedColor:{type:"string",default:"var(--eb-global-primary-color)"},radioBorder:{type:"number",default:1},checkboxType:{type:"string",default:"normal"},checkboxColor:{type:"string",default:"var(--eb-global-primary-color)"},checkboxBgColor:{type:"string",default:""},checkboxBrColor:{type:"string",default:"var(--eb-global-primary-color)"},checkboxBrCheckedColor:{type:"string",default:"var(--eb-global-primary-color)"},checkboxBorder:{type:"number",default:1},dateBgColor:{type:"string",default:"var(--eb-global-background-color)"},dateSelectedColor:{type:"string",default:"#fff"},fieldAlign:{type:"string",default:"left"},fieldsValidationColor:{type:"string",default:"var(--eb-global-secondary-color)"},fieldsValidationBorderColor:{type:"string",default:"#dc072f"},validationAlign:{type:"string",default:"left"},formLayout:{type:"string",default:"block"},showLabel:{type:"boolean",default:!0},showInputIcon:{type:"boolean",default:!1},inputIconColor:{type:"string",default:"var(--eb-global-primary-color)"}},jte(Object.values(F))),Dte(Pee)),Dte(Oee,{top:30,bottom:30,right:0,left:0,isLinked:!1})),Ite(Nee)),Ate(Mee)),Dte(Iee)),Ate(Aee,{defaultBdrColor:"var(--eb-global-tertiary-color)",defaultBdrStyle:"solid",bdrDefaults:{top:0,bottom:0,right:0,left:0},rdsDefaults:{top:4,bottom:4,right:4,left:4}})),Lte(Qee,{defaultRange:200})),Lte(Kee,{defaultRange:500})),Lte(Fee,{defaultRange:100,defaultUnit:"%"})),Lte(Xee,{noUnits:!0})),Lte($ee,{defaultRange:8,noUnits:!0})),Lte(Dee,{defaultRange:15})),Dte(jee,{top:0,bottom:10,left:0,right:0,isLinked:!1})),Dte(zee,{top:15,bottom:15,left:15,right:15,isLinked:!0})),Ate(Hee,{defaultBdrColor:"var(--eb-global-tertiary-color)",defaultBdrStyle:"solid",bdrDefaults:{top:1,bottom:1,right:1,left:1},rdsDefaults:{top:4,bottom:4,right:4,left:4}})),Dte(Uee)),Ate(qee)),Dte(Wee)),Ate(Vee)),Lte(Gee,{defaultRange:16})),Lte(Zee,{defaultRange:10})),Lte(Yee,{defaultRange:18})),Lte(Jee,{defaultRange:10})),Lte(ate,{defaultRange:0})),Lte(tte,{defaultRange:0})),Lte(Lee,{defaultRange:20})),Lte(ete,{defaultRange:80})),Lte(nte,{defaultRange:15}));function Hte(e){return Hte="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Hte(e)}function zte(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function qte(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?zte(Object(a),!0).forEach((function(t){Ute(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):zte(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Ute(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=Hte(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=Hte(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Hte(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function Vte(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}var Wte=EBControls,Gte=Wte.BackgroundControl,Zte=Wte.BorderShadowControl,Yte=Wte.ColorControl,Jte=Wte.ResponsiveRangeController,Qte=Wte.ResponsiveDimensionsControl,Xte=Wte.TypographyDropdown,$te=Wte.AdvancedControls,Kte=Wte.ProSelectControl,eae=Wte.DynamicInputControl,tae=(Wte.faIcons,Wte.EBIconPicker);const aae=function(e){e.clientId;var t,a,n=e.attributes,o=e.setAttributes,r=e.formSettings,c=e.setFormSettings,l=(n.blockId,n.resOption),i=(n.formId,n.formTitle),s=n.formType,b=n.template,p=n.integrations,u=(n.mailBody,n.notificationType),d=n.confirmationType,m=n.successMessage,g=n.errorMessage,f=n.validationErrorMessage,y=n.labelColor,v=n.buttonType,h=n.btnColor,w=n.btnHvColor,k=n.btnBgColor,R=n.btnBgHvColor,_=n.formWidth,E=n.formAlign,C=n.fieldsColor,x=n.fieldsPlaceholderColor,S=n.fieldsBgColor,B=n.messageType,T=n.messageAlign,N=n.successColor,P=n.successBgColor,O=n.errorColor,M=n.errorBgColor,D=n.radioType,j=n.radioColor,I=n.radioBgColor,A=n.radioBrColor,L=n.radioBrCheckedColor,F=n.radioBorder,H=n.checkboxType,z=n.checkboxColor,q=n.checkboxBgColor,U=n.checkboxBrColor,V=n.checkboxBrCheckedColor,W=n.checkboxBorder,G=n.dateBgColor,Z=n.dateSelectedColor,K=n.fieldsValidationBorderColor,ee=n.fieldsValidationColor,te=n.requiredColor,ae=n.buttonAlign,ne=n.buttonText,oe=n.buttonWidth,re=n.btnAddIcon,ce=n.icon,le=n.iconPosition,ie=n.labelAlign,se=n.validationAlign,be=n.fieldAlign,pe=n.formLayout,ue=n.btnVerticalAlign,de=n.showInputIcon,me=n.showLabel,ge=n.inputIconColor,fe=n.formStyle,ye={setAttributes:o,resOption:l,attributes:n,objAttributes:Fte},ve=(t=(0,J.useState)([]),a=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,r,c,l=[],i=!0,s=!1;try{if(r=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;i=!1}else for(;!(i=(n=r.call(a)).done)&&(l.push(n.value),l.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{if(!i&&null!=a.return&&(c=a.return(),Object(c)!==c))return}finally{if(s)throw o}}return l}}(t,a)||function(e,t){if(e){if("string"==typeof e)return Vte(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?Vte(e,t):void 0}}(t,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),he=ve[0],we=ve[1],ke=(0,J.useRef)(s);(0,J.useEffect)((function(){"contact_form"===s?we(rte):"subscription_form"===s&&we(cte)}),[]),(0,J.useEffect)((function(){ke.current!==s&&(ke.current=s,"contact_form"===s?(we(rte),o({template:"contact_form_1"})):"subscription_form"===s&&(we(cte),o({template:"subscription_form_1"})))}),[s]);var Re=function(e,t){var a;return"contact_form"===e?"contact_form_1"===t?a=hee:"contact_form_2"===t&&(a=wee):"subscription_form"===e?"subscription_form_1"===t?a=kee:"subscription_form_2"===t&&(a=Ree):"rsvp_form"===e?a=_ee:"blank"===e&&(a=Eee),a};return React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:"General",className:"eb-tab general"},{name:"styles",title:"Style",className:"eb-tab styles"},{name:"advance",title:"Advanced",className:"eb-tab advance"}]},(function(e){var t,a;return React.createElement("div",{className:"eb-tab-controls"+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("General","essential-blocks"),initialOpen:!0},React.createElement(eae,{label:(0,Y.__)("Form Title","essential-blocks"),help:(0,Y.__)("Use Title to recognize in Form Response","essential-blocks"),attrName:"formTitle",inputValue:i,setAttributes:o,onChange:function(e){return o({formTitle:e})}}),React.createElement(Kte,{label:(0,Y.__)("Form Type","essential-blocks"),value:s,options:ote,onChange:function(e){return function(e){o({formType:e}),o(Re(s,b))}(e)}}),["contact_form","subscription_form"].includes(s)&&React.createElement(Kte,{label:(0,Y.__)("Template","essential-blocks"),value:b,options:he,onChange:function(e){return function(e){o({template:e}),o(Re(s,b))}(e)}}),"Desktop"===l&&React.createElement(React.Fragment,null,React.createElement(Kte,{label:(0,Y.__)("Form Styles","essential-blocks"),value:fe,options:wte,onChange:function(e){return function(e){o({formStyle:e}),"form-style-modern"===fe?(o({inputIconSizeRange:"20",fieldsBorderHBdr_Bottom:"1",fieldsBorderHBdr_Left:"1",fieldsBorderHBdr_Right:"1",fieldsBorderHBdr_Top:"1",fieldsBorderHBdr_Unit:"px",fieldsBorderHborderColor:"#000",fieldsBorderHborderStyle:"solid",fieldsPaddingisLinked:!1,fieldsPaddingUnit:"px",fieldsPaddingTop:"25",fieldsPaddingBottom:"15",fieldsPaddingLeft:"15",fieldsPaddingRight:"15"}),"subscription_form"===s&&"subscription_form_1"===b&&o({inputIconSizeRange:"15",fieldsPaddingLeft:"20",fieldsPaddingRight:"220",fieldsPaddingTop:"25",fieldsPaddingBottom:"25",fieldsPaddingisLinked:!1})):"form-style-classic"===fe&&(o({inputIconSizeRange:"15",fieldsBorderHBdr_Bottom:"1",fieldsBorderHBdr_Left:"1",fieldsBorderHBdr_Right:"1",fieldsBorderHBdr_Top:"1",fieldsBorderHBdr_Unit:"px",fieldsBorderHborderColor:"",fieldsBorderHborderStyle:"none"}),o("subscription_form"===s&&"subscription_form_1"===b?{fieldsPaddingLeft:"20",fieldsPaddingRight:"220",fieldsPaddingTop:"25",fieldsPaddingBottom:"25",fieldsPaddingisLinked:!1}:{fieldsPaddingisLinked:!0,fieldsPaddingUnit:"px",fieldsPaddingTop:"15",fieldsPaddingBottom:"15",fieldsPaddingLeft:"15",fieldsPaddingRight:"15"}))}(e)}})),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Field Labels?","essential-blocks"),checked:me,onChange:function(){return o({showLabel:!me})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Field Icons?","essential-blocks"),checked:de,onChange:function(){return o({showInputIcon:!de})}}),React.createElement(Kte,{label:(0,Y.__)("Integrations","essential-blocks"),value:Object.keys(p)[0],options:lte,onChange:function(e){return function(e){e&&e.length>0?o({integrations:Ute({},e,!0)}):o({integrations:{}})}(e)}}),(0,Qo.applyFilters)("eb_form_block_control_after_form_type","",n,o)),React.createElement(X.PanelBody,{title:(0,Y.__)("Form Settings","essential-blocks"),initialOpen:!0},React.createElement(Kte,{label:(0,Y.__)("Notification Type","essential-blocks"),value:u,options:ite,onChange:function(e){return o({notificationType:e})}}),React.createElement(X.TextControl,{label:(0,Y.__)("Email To","essential-blocks"),value:r.mailTo,placeholder:(null===(t=(0,$.select)("core"))||void 0===t||null===(t=t.getSite())||void 0===t?void 0:t.email)||(0,Y.__)("Default is to Admin Email","essential-blocks"),onChange:function(e){c(qte(qte({},r),{},{mailTo:e}))},help:(0,Y.__)("Use commas to separate emails","essential-blocks")}),React.createElement(X.TextControl,{label:(0,Y.__)("Email Cc (Optional)","essential-blocks"),placeholder:(0,Y.__)("Recipient Email Address","essential-blocks"),value:r.mailCc,onChange:function(e){return c(qte(qte({},r),{},{mailCc:e}))},help:(0,Y.__)("Use commas to separate emails","essential-blocks")}),React.createElement(X.TextControl,{label:(0,Y.__)("Email Bcc (Optional)","essential-blocks"),value:r.mailBcc,placeholder:(0,Y.__)("Recipient Email Address","essential-blocks"),onChange:function(e){return c(qte(qte({},r),{},{mailBcc:e}))},help:(0,Y.__)("Use commas to separate emails","essential-blocks")}),React.createElement(X.TextControl,{label:(0,Y.__)("Email Subject","essential-blocks"),attrName:"mailSubject",value:r.mailSubject,placeholder:"New Form Submission ["+(null===(a=(0,$.select)("core"))||void 0===a||null===(a=a.getSite())||void 0===a?void 0:a.url)+"]",onChange:function(e){return c(qte(qte({},r),{},{mailSubject:e}))}})),React.createElement(X.PanelBody,{title:(0,Y.__)("Confirmation Settings","essential-blocks"),initialOpen:!0},React.createElement(Kte,{label:(0,Y.__)("Confirmation Type","essential-blocks"),value:d,options:ste,onChange:function(e){return o({confirmationType:e})}}),(0,Qo.applyFilters)("eb_form_block_control_after_confirmation_type","",n,o),"message"===d&&React.createElement(React.Fragment,null,React.createElement(eae,{label:(0,Y.__)("Success Message","essential-blocks"),attrName:"successMessage",inputValue:m,setAttributes:o,onChange:function(e){return o({successMessage:e})},isTextarea:!0}),React.createElement(eae,{label:(0,Y.__)("Default Error Message","essential-blocks"),attrName:"errorMessage",inputValue:g,setAttributes:o,onChange:function(e){return o({errorMessage:e})},isTextarea:!0})),React.createElement(eae,{label:(0,Y.__)("Validation Error Message","essential-blocks"),attrName:"validationErrorMessage",inputValue:f,setAttributes:o,onChange:function(e){return o({validationErrorMessage:e})},isTextarea:!0})),React.createElement(X.PanelBody,{title:(0,Y.__)("Button","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(Kte,{label:(0,Y.__)("Button Type","essential-blocks"),value:pe,options:vte,onChange:function(e){return function(e){switch(o({formLayout:e}),e){case"inline":o({buttonAlign:"right"});break;case"block":o({buttonAlign:"left"});break;default:return!1}}(e)}}),"inline"==pe&&React.createElement(React.Fragment,null,React.createElement(Jte,{baseLabel:(0,Y.__)("Fields Width (%)","essential-blocks"),controlName:ete,resRequiredProps:ye,min:1,max:100,step:1,noUnits:!0})),React.createElement(eae,{label:(0,Y.__)("Text","essential-blocks"),attrName:"buttonText",inputValue:ne,setAttributes:o,onChange:function(e){return o({buttonText:e})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Add icon","essential-blocks"),checked:re,onChange:function(){return o({btnAddIcon:!re})}}),re&&React.createElement(React.Fragment,null,React.createElement(tae,{value:ce,onChange:function(e){return o({icon:e})}}))))),"styles"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Form","essential-blocks"),initialOpen:!0},React.createElement(Jte,{baseLabel:(0,Y.__)("Fields Gap (PX)","essential-blocks"),controlName:Dee,resRequiredProps:ye,min:0,max:100,step:1,noUnits:!0}),React.createElement(X.BaseControl,{label:(0,Y.__)("Width","essential-blocks")},React.createElement(X.ButtonGroup,{id:"eb-button-group-alignment"},mte.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:_===e.value,isSecondary:_!==e.value,onClick:function(){return o({formWidth:e.value})}},e.label)})))),"fixed"===_&&React.createElement(React.Fragment,null,React.createElement(Jte,{baseLabel:(0,Y.__)("Fixed Width","essential-blocks"),controlName:Kee,resRequiredProps:ye,min:200,max:2e3,step:10}),React.createElement(X.BaseControl,{label:(0,Y.__)("Alignment","essential-blocks")},React.createElement(X.ButtonGroup,{id:"eb-button-group-alignment"},bte.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:E===e.value,isSecondary:E!==e.value,onClick:function(){return o({formAlign:e.value})}},e.label)})))))),me&&React.createElement(X.PanelBody,{title:(0,Y.__)("Labels","essential-blocks"),initialOpen:!1},React.createElement(Xte,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:Rte,resRequiredProps:ye}),React.createElement(Yte,{label:(0,Y.__)("Color","essential-blocks"),color:y,onChange:function(e){return o({labelColor:e})}}),React.createElement(Yte,{label:(0,Y.__)("Requied Color","essential-blocks"),color:te,onChange:function(e){return o({requiredColor:e})}}),React.createElement(X.BaseControl,{label:(0,Y.__)("Alignment","essential-blocks")},React.createElement(X.ButtonGroup,{id:"eb-button-group-alignment"},bte.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:ie===e.value,isSecondary:ie!==e.value,onClick:function(){return o({labelAlign:e.value})}},e.label)})))),React.createElement(Qte,{resRequiredProps:ye,controlName:jee,baseLabel:(0,Y.__)("Margin","essential-blocks")})),de&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Fields Icon","essential-blocks"),initialOpen:!1},React.createElement(Yte,{label:(0,Y.__)("Color","essential-blocks"),color:ge,onChange:function(e){return o({inputIconColor:e})}}),React.createElement(Jte,{baseLabel:(0,Y.__)("Size (PX)","essential-blocks"),controlName:nte,resRequiredProps:ye,min:1,max:100,step:1,noUnits:!0}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Input Fields","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(Xte,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:kte,resRequiredProps:ye}),React.createElement(Yte,{label:(0,Y.__)("Color","essential-blocks"),color:C,onChange:function(e){return o({fieldsColor:e})}}),React.createElement(Yte,{label:(0,Y.__)("Placeholder Color","essential-blocks"),color:x,onChange:function(e){return o({fieldsPlaceholderColor:e})}}),React.createElement(Yte,{label:(0,Y.__)("Background","essential-blocks"),color:S,onChange:function(e){return o({fieldsBgColor:e})}}),React.createElement(Jte,{baseLabel:(0,Y.__)("Width (%)","essential-blocks"),controlName:Fee,resRequiredProps:ye,min:1,max:100,step:1,units:pte}),React.createElement(X.BaseControl,{label:(0,Y.__)("Alignment","essential-blocks")},React.createElement(X.ButtonGroup,{id:"eb-button-group-alignment"},bte.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:be===e.value,isSecondary:be!==e.value,onClick:function(){return o({fieldAlign:e.value})}},e.label)})))),React.createElement(Qte,{resRequiredProps:ye,controlName:zee,baseLabel:(0,Y.__)("Padding","essential-blocks")}),React.createElement(X.PanelBody,{title:(0,Y.__)("Border","essential-blocks"),initialOpen:!1},React.createElement(Zte,{controlName:Hee,resRequiredProps:ye})))),React.createElement(X.PanelBody,{title:(0,Y.__)("Checkbox Fields","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(Xte,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:Ste,resRequiredProps:ye}),React.createElement(Yte,{label:(0,Y.__)("Color","essential-blocks"),color:z,onChange:function(e){return o({checkboxColor:e})}}),React.createElement(Yte,{label:(0,Y.__)("Background","essential-blocks"),color:q,onChange:function(e){return o({checkboxBgColor:e})}}),React.createElement(Jte,{baseLabel:(0,Y.__)("Size (PX)","essential-blocks"),controlName:Yee,resRequiredProps:ye,min:1,max:100,step:1,noUnits:!0}),React.createElement(X.RangeControl,{label:(0,Y.__)("Border Width","essential-blocks"),value:W,onChange:function(e){return o({checkboxBorder:e})},min:1,max:5,step:1,allowReset:!0}),React.createElement(X.ButtonGroup,{className:"eb-inspector-btn-group"},dte.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:H===e.value,isSecondary:H!==e.value,onClick:function(){return o({checkboxType:e.value})}},e.label)}))),"normal"===H&&React.createElement(React.Fragment,null,React.createElement(Yte,{label:(0,Y.__)("Border Color","essential-blocks"),color:U,onChange:function(e){return o({checkboxBrColor:e})}})),"checked"===H&&React.createElement(React.Fragment,null,React.createElement(Yte,{label:(0,Y.__)("Border Color","essential-blocks"),color:V,onChange:function(e){return o({checkboxBrCheckedColor:e})}})),React.createElement(Jte,{baseLabel:(0,Y.__)("Spacing (PX)","essential-blocks"),controlName:Jee,resRequiredProps:ye,min:1,max:100,step:1,noUnits:!0}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Radio Fields","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(Xte,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:xte,resRequiredProps:ye}),React.createElement(Yte,{label:(0,Y.__)("Color","essential-blocks"),color:j,onChange:function(e){return o({radioColor:e})}}),React.createElement(Yte,{label:(0,Y.__)("Background","essential-blocks"),color:I,onChange:function(e){return o({radioBgColor:e})}}),React.createElement(Jte,{baseLabel:(0,Y.__)("Size (PX)","essential-blocks"),controlName:Gee,resRequiredProps:ye,min:1,max:100,step:1,noUnits:!0}),React.createElement(X.RangeControl,{label:(0,Y.__)("Border Width","essential-blocks"),value:F,onChange:function(e){return o({radioBorder:e})},min:1,max:5,step:1,allowReset:!0}),React.createElement(X.ButtonGroup,{className:"eb-inspector-btn-group"},dte.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:D===e.value,isSecondary:D!==e.value,onClick:function(){return o({radioType:e.value})}},e.label)}))),"normal"===D&&React.createElement(React.Fragment,null,React.createElement(Yte,{label:(0,Y.__)("Border Color","essential-blocks"),color:A,onChange:function(e){return o({radioBrColor:e})}})),"checked"===D&&React.createElement(React.Fragment,null,React.createElement(Yte,{label:(0,Y.__)("Border Color","essential-blocks"),color:L,onChange:function(e){return o({radioBrCheckedColor:e})}})),React.createElement(Jte,{baseLabel:(0,Y.__)("Spacing (PX)","essential-blocks"),controlName:Zee,resRequiredProps:ye,min:1,max:100,step:1,noUnits:!0}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Date Fields","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(Yte,{label:(0,Y.__)("Selected Color","essential-blocks"),color:Z,onChange:function(e){return o({dateSelectedColor:e})}}),React.createElement(Yte,{label:(0,Y.__)("Selected Background","essential-blocks"),color:G,onChange:function(e){return o({dateBgColor:e})}}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Button","essential-blocks"),initialOpen:!1},React.createElement(X.BaseControl,{label:(0,Y.__)("Alignment","essential-blocks")},React.createElement(X.ButtonGroup,{id:"eb-button-group-alignment"},bte.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:ae===e.value,isSecondary:ae!==e.value,onClick:function(){return o({buttonAlign:e.value})}},e.label)})))),"inline"==pe&&React.createElement(React.Fragment,null,React.createElement(X.BaseControl,{label:(0,Y.__)("Vertical Align","essential-blocks")},React.createElement(X.ButtonGroup,null,hte.map((function(e){return React.createElement(X.Button,{isPrimary:ue===e.value,isSecondary:ue!==e.value,onClick:function(){return o({btnVerticalAlign:e.value})}},e.label)})))),React.createElement(X.__experimentalDivider,null),React.createElement(Jte,{baseLabel:(0,Y.__)("Vertical Position","essential-blocks"),controlName:tte,resRequiredProps:ye,min:-500,max:500,step:1}),React.createElement(Jte,{baseLabel:(0,Y.__)("Horizontal Position","essential-blocks"),controlName:ate,resRequiredProps:ye,min:0,max:500,step:1})),React.createElement(X.BaseControl,{label:(0,Y.__)("Width","essential-blocks")},React.createElement(X.ButtonGroup,{id:"eb-button-group-alignment"},gte.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:oe===e.value,isSecondary:oe!==e.value,onClick:function(){return o({buttonWidth:e.value})}},e.label)})))),"fixed"===oe&&React.createElement(Jte,{baseLabel:(0,Y.__)("Fixed Width","essential-blocks"),controlName:Qee,resRequiredProps:ye,min:100,max:900,step:1}),React.createElement(React.Fragment,null,React.createElement(Xte,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:_te,resRequiredProps:ye}),React.createElement(X.ButtonGroup,{className:"eb-inspector-btn-group"},ute.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:v===e.value,isSecondary:v!==e.value,onClick:function(){return o({buttonType:e.value})}},e.label)}))),"normal"===v&&React.createElement(React.Fragment,null,React.createElement(Yte,{label:(0,Y.__)("Color","essential-blocks"),color:h,onChange:function(e){return o({btnColor:e})}}),React.createElement(Yte,{label:(0,Y.__)("Background","essential-blocks"),color:k,onChange:function(e){return o({btnBgColor:e})}})),"hover"===v&&React.createElement(React.Fragment,null,React.createElement(Yte,{label:(0,Y.__)("Color","essential-blocks"),color:w,onChange:function(e){return o({btnHvColor:e})}}),React.createElement(Yte,{label:(0,Y.__)("Background","essential-blocks"),color:R,onChange:function(e){return o({btnBgHvColor:e})}})),React.createElement(Qte,{resRequiredProps:ye,controlName:Iee,baseLabel:(0,Y.__)("Padding","essential-blocks")}),"block"==pe&&React.createElement(Jte,{baseLabel:(0,Y.__)("Margin Top (PX)","essential-blocks"),controlName:Lee,resRequiredProps:ye,min:0,max:500,step:1,noUnits:!0}),React.createElement(X.PanelBody,{title:(0,Y.__)("Border","essential-blocks"),initialOpen:!1},React.createElement(Zte,{controlName:Aee,resRequiredProps:ye}))),re&&React.createElement(React.Fragment,null,React.createElement(X.__experimentalDivider,null),React.createElement(X.BaseControl,{label:(0,Y.__)("Icon Postion","essential-blocks")},React.createElement(X.ButtonGroup,{id:"eb-button-group-alignment"},fte.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:le===e.value,isSecondary:le!==e.value,onClick:function(){return o({iconPosition:e.value})}},e.label)})))),React.createElement(Jte,{baseLabel:(0,Y.__)("Size","essential-blocks"),controlName:Xee,resRequiredProps:ye,noUnits:!0}),React.createElement(Jte,{baseLabel:(0,Y.__)("Gap","essential-blocks"),controlName:$ee,resRequiredProps:ye,noUnits:!0}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Validation","essential-blocks"),initialOpen:!1},React.createElement(Xte,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:Bte,resRequiredProps:ye}),React.createElement(Yte,{label:(0,Y.__)("Color","essential-blocks"),color:ee,onChange:function(e){return o({fieldsValidationColor:e})}}),React.createElement(Yte,{label:(0,Y.__)("Fields Border Color","essential-blocks"),color:K,onChange:function(e){return o({fieldsValidationBorderColor:e})}}),React.createElement(X.BaseControl,{label:(0,Y.__)("Alignment","essential-blocks")},React.createElement(X.ButtonGroup,{id:"eb-button-group-alignment"},bte.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:se===e.value,isSecondary:se!==e.value,onClick:function(){return o({validationAlign:e.value})}},e.label)}))))),React.createElement(X.PanelBody,{title:(0,Y.__)("Message","essential-blocks"),initialOpen:!1},React.createElement(X.BaseControl,{label:(0,Y.__)("Alignment","essential-blocks")},React.createElement(X.ButtonGroup,{id:"eb-button-group-alignment"},bte.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:T===e.value,isSecondary:T!==e.value,onClick:function(){return o({messageAlign:e.value})}},e.label)})))),React.createElement(X.ButtonGroup,{className:"eb-inspector-btn-group"},yte.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:B===e.value,isSecondary:B!==e.value,onClick:function(){return o({messageType:e.value})}},e.label)}))),"success"==B&&React.createElement(React.Fragment,null,React.createElement(Xte,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:Ete,resRequiredProps:ye}),React.createElement(Yte,{label:(0,Y.__)("Color","essential-blocks"),color:N,onChange:function(e){return o({successColor:e})}}),React.createElement(Yte,{label:(0,Y.__)("Background","essential-blocks"),color:P,onChange:function(e){return o({successBgColor:e})}}),React.createElement(Qte,{resRequiredProps:ye,controlName:Uee,baseLabel:(0,Y.__)("Padding","essential-blocks")}),React.createElement(X.PanelBody,{title:(0,Y.__)("Border","essential-blocks"),initialOpen:!1},React.createElement(Zte,{controlName:qee,resRequiredProps:ye}))),"error"==B&&React.createElement(React.Fragment,null,React.createElement(Xte,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:Cte,resRequiredProps:ye}),React.createElement(Yte,{label:(0,Y.__)("Color","essential-blocks"),color:O,onChange:function(e){return o({errorColor:e})}}),React.createElement(Yte,{label:(0,Y.__)("Background","essential-blocks"),color:M,onChange:function(e){return o({errorBgColor:e})}}),React.createElement(Qte,{resRequiredProps:ye,controlName:Wee,baseLabel:(0,Y.__)("Padding","essential-blocks")}),React.createElement(X.PanelBody,{title:(0,Y.__)("Border","essential-blocks"),initialOpen:!1},React.createElement(Zte,{controlName:Vee,resRequiredProps:ye}))))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Margin Padding","essential-blocks")},React.createElement(Qte,{resRequiredProps:ye,controlName:Pee,baseLabel:"Margin"}),React.createElement(Qte,{resRequiredProps:ye,controlName:Oee,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Background","essential-blocks"),initialOpen:!1},React.createElement(Gte,{controlName:Nee,resRequiredProps:ye})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(Zte,{controlName:Mee,resRequiredProps:ye})),React.createElement($te,{attributes:n,setAttributes:o})))}))))};var nae=window.EBControls,oae=nae.softMinifyCssStrings,rae=nae.generateTypographyStyles,cae=nae.generateDimensionsControlStyles,lae=nae.generateBorderShadowStyles,iae=nae.generateResponsiveRangeStyles,sae=nae.generateBackgroundControlStyles,bae=nae.StyleComponent;function pae(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=(t.blockMeta,t.resOption,t.btnColor),c=t.btnHvColor,l=t.btnBgColor,i=t.btnBgHvColor,s=t.labelColor,b=t.fieldsColor,p=t.fieldsPlaceholderColor,u=t.fieldsBgColor,d=t.successColor,m=t.successBgColor,g=t.errorColor,f=t.errorBgColor,y=t.radioColor,v=t.radioBgColor,h=t.radioBrColor,w=t.radioBrCheckedColor,k=t.radioSizeRange,R=t.TABradioSizeRange,_=t.MOBradioSizeRange,E=(t.radioBorderborderColor,t.radioBorder),C=t.checkboxColor,x=t.checkboxBgColor,S=t.checkboxBrColor,B=t.checkboxBrCheckedColor,T=t.checkboxSizeRange,N=t.TABcheckboxSizeRange,P=t.MOBcheckboxSizeRange,O=(t.checkboxBorderborderColor,t.checkboxBorder),M=t.dateSelectedColor,D=t.dateBgColor,j=t.fieldsValidationBorderColor,I=t.fieldsValidationColor,A=t.requiredColor,L=t.buttonAlign,F=t.buttonWidth,H=t.btnAddIcon,z=t.iconPosition,q=t.formWidth,U=t.formAlign,V=t.labelAlign,W=t.validationAlign,G=t.messageAlign,Z=t.fieldAlign,Y=t.btnVerticalAlign,J=t.formLayout,Q=t.btnHorizontalPositionRange,X=(t.TABbtnHorizontalPositionRange,t.MOBbtnHorizontalPositionRange,t.btnHorizontalPositionUnit),$=t.btnVerticalPositionRange,K=t.btnVerticalPositionUnit,ee=t.inlineFormWidthRange,te=t.TABinlineFormWidthRange,ae=(t.MOBinlineFormWidthRange,t.inputIconColor),ne=t.fieldsPaddingLeft,oe=(t.TABfieldsPaddingLeft,t.MOBfieldsPaddingLeft,t.fieldsPaddingUnit),re=t.inputIconSizeRange,ce=(t.TABinputIconSizeRange,t.MOBinputIconSizeRange,t.showInputIcon),le=t.fieldsPaddingTop,ie=t.formStyle,se=cae({controlName:Pee,styleFor:"margin",attributes:t}),be=se.dimensionStylesDesktop,pe=se.dimensionStylesTab,ue=se.dimensionStylesMobile,de=cae({controlName:Oee,styleFor:"padding",attributes:t}),me=de.dimensionStylesDesktop,ge=de.dimensionStylesTab,fe=de.dimensionStylesMobile,ye=lae({controlName:Mee,attributes:t}),ve=ye.styesDesktop,he=ye.styesTab,we=ye.styesMobile,ke=ye.stylesHoverDesktop,Re=ye.stylesHoverTab,_e=ye.stylesHoverMobile,Ee=ye.transitionStyle,Ce=sae({attributes:t,controlName:Nee,noOverlay:!0}),xe=Ce.backgroundStylesDesktop,Se=Ce.hoverBackgroundStylesDesktop,Be=Ce.backgroundStylesTab,Te=Ce.hoverBackgroundStylesTab,Ne=Ce.backgroundStylesMobile,Pe=Ce.hoverBackgroundStylesMobile,Oe=Ce.bgTransitionStyle,Me=iae({controlName:Dee,property:"gap",attributes:t,customUnit:"px"}),De=Me.rangeStylesDesktop,je=Me.rangeStylesTab,Ie=Me.rangeStylesMobile,Ae=rae({attributes:t,prefixConstant:_te,defaultFontSize:16}),Le=Ae.typoStylesDesktop,Fe=Ae.typoStylesTab,He=Ae.typoStylesMobile,ze=cae({controlName:Iee,styleFor:"padding",attributes:t}),qe=ze.dimensionStylesDesktop,Ue=ze.dimensionStylesTab,Ve=ze.dimensionStylesMobile,We=lae({controlName:Aee,attributes:t}),Ge=We.styesDesktop,Ze=We.styesTab,Ye=We.styesMobile,Je=We.stylesHoverDesktop,Qe=We.stylesHoverTab,Xe=We.stylesHoverMobile,$e=(We.transitionStyle,iae({controlName:Kee,property:"width",attributes:t})),Ke=$e.rangeStylesDesktop,et=$e.rangeStylesTab,tt=$e.rangeStylesMobile,at=iae({controlName:Fee,property:"width",attributes:t}),nt=at.rangeStylesDesktop,ot=at.rangeStylesTab,rt=at.rangeStylesMobile,ct=iae({controlName:Qee,property:"width",attributes:t}),lt=ct.rangeStylesDesktop,it=ct.rangeStylesTab,st=ct.rangeStylesMobile,bt=iae({controlName:Xee,property:"font-size",attributes:t,customUnit:"px"}),pt=bt.rangeStylesDesktop,ut=bt.rangeStylesTab,dt=bt.rangeStylesMobile,mt=iae({controlName:Lee,property:"margin-top",attributes:t,customUnit:"px"}),gt=mt.rangeStylesDesktop,ft=mt.rangeStylesTab,yt=mt.rangeStylesMobile,vt=iae({controlName:ate,property:"right",attributes:t}),ht=(vt.rangeStylesDesktop,vt.rangeStylesTab,vt.rangeStylesMobile,iae({controlName:tte,property:"marign-top",attributes:t})),wt=(ht.rangeStylesDesktop,ht.rangeStylesTab,ht.rangeStylesMobile,iae({controlName:$ee,property:"margin-left",attributes:t,customUnit:"px"})),kt=wt.rangeStylesDesktop,Rt=wt.rangeStylesTab,_t=wt.rangeStylesMobile,Et=iae({controlName:$ee,property:"margin-right",attributes:t,customUnit:"px"}),Ct=Et.rangeStylesDesktop,xt=Et.rangeStylesTab,St=Et.rangeStylesMobile,Bt=rae({attributes:t,prefixConstant:Rte,defaultFontSize:15}),Tt=Bt.typoStylesDesktop,Nt=Bt.typoStylesTab,Pt=Bt.typoStylesMobile,Ot=cae({controlName:jee,styleFor:"margin",attributes:t}),Mt=Ot.dimensionStylesDesktop,Dt=Ot.dimensionStylesTab,jt=Ot.dimensionStylesMobile,It=rae({attributes:t,prefixConstant:Ete,defaultFontSize:20}),At=It.typoStylesDesktop,Lt=It.typoStylesTab,Ft=It.typoStylesMobile,Ht=cae({controlName:Uee,styleFor:"padding",attributes:t}),zt=Ht.dimensionStylesDesktop,qt=Ht.dimensionStylesTab,Ut=Ht.dimensionStylesMobile,Vt=lae({controlName:qee,attributes:t}),Wt=Vt.styesDesktop,Gt=Vt.styesTab,Zt=Vt.styesMobile,Yt=Vt.stylesHoverDesktop,Jt=Vt.stylesHoverTab,Qt=Vt.stylesHoverMobile,Xt=Vt.transitionStyle,$t=rae({attributes:t,prefixConstant:Cte,defaultFontSize:20}),Kt=$t.typoStylesDesktop,ea=$t.typoStylesTab,ta=$t.typoStylesMobile,aa=cae({controlName:Wee,styleFor:"padding",attributes:t}),na=aa.dimensionStylesDesktop,oa=aa.dimensionStylesTab,ra=aa.dimensionStylesMobile,ca=lae({controlName:Vee,attributes:t}),la=ca.styesDesktop,ia=ca.styesTab,sa=ca.styesMobile,ba=ca.stylesHoverDesktop,pa=ca.stylesHoverTab,ua=ca.stylesHoverMobile,da=ca.transitionStyle,ma=rae({attributes:t,prefixConstant:kte,defaultFontSize:14}),ga=ma.typoStylesDesktop,fa=ma.typoStylesTab,ya=ma.typoStylesMobile,va=rae({attributes:t,prefixConstant:Bte,defaultFontSize:14}),ha=va.typoStylesDesktop,wa=va.typoStylesTab,ka=va.typoStylesMobile,Ra=cae({controlName:zee,styleFor:"padding",attributes:t}),_a=Ra.dimensionStylesDesktop,Ea=Ra.dimensionStylesTab,Ca=Ra.dimensionStylesMobile,xa=lae({controlName:Hee,attributes:t}),Sa=xa.styesDesktop,Ba=xa.styesTab,Ta=xa.styesMobile,Na=xa.stylesHoverDesktop,Pa=(xa.stylesHoverTab,xa.stylesHoverMobile,xa.transitionStyle,rae({attributes:t,prefixConstant:xte,defaultFontSize:14})),Oa=Pa.typoStylesDesktop,Ma=Pa.typoStylesTab,Da=Pa.typoStylesMobile,ja=iae({controlName:Gee,property:"Width",attributes:t,customUnit:"px"}),Ia=ja.rangeStylesDesktop,Aa=ja.rangeStylesTab,La=ja.rangeStylesMobile,Fa=iae({controlName:Zee,property:"margin-bottom",attributes:t,customUnit:"px"}),Ha=Fa.rangeStylesDesktop,za=Fa.rangeStylesTab,qa=Fa.rangeStylesMobile,Ua=rae({attributes:t,prefixConstant:Ste,defaultFontSize:14}),Va=Ua.typoStylesDesktop,Wa=Ua.typoStylesTab,Ga=Ua.typoStylesMobile,Za=iae({controlName:Yee,property:"Width",attributes:t,customUnit:"px"}),Ya=Za.rangeStylesDesktop,Ja=Za.rangeStylesTab,Qa=Za.rangeStylesMobile,Xa=iae({controlName:Jee,property:"margin-bottom",attributes:t,customUnit:"px"}),$a=Xa.rangeStylesDesktop,Ka=Xa.rangeStylesTab,en=Xa.rangeStylesMobile,tn=iae({controlName:nte,property:"font-size",attributes:t,customUnit:"px"}),an=tn.rangeStylesDesktop,nn=(tn.rangeStylesTab,tn.rangeStylesMobile,"\n\t\t.eb-form-wrapper.".concat(o,"{\n\t\t\t").concat(be,"\n\t\t\t").concat(me,"\n\t\t\t").concat(xe,"\n\t\t\t").concat(ve,"\n\t\t\ttransition: ").concat(Oe,", ").concat(Ee,";\n\t\t}\n\t\t.eb-form-wrapper.").concat(o,":hover {\n\t\t\t").concat(Se,"\n\t\t\t").concat(ke,"\n\t\t}\n\t")),on="\n\t\t.eb-form-wrapper.".concat(o,"{\n\t\t\t").concat(pe,"\n\t\t\t").concat(ge,"\n\t\t\t").concat(Be,"\n\t\t\t").concat(he,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(o,":hover {\n\t\t\t").concat(Te,"\n\t\t\t").concat(Re,"\n\t\t}\n\n\t"),rn="\n\t\t.eb-form-wrapper.".concat(o,"{\n\t\t\t").concat(ue,"\n\t\t\t").concat(fe,"\n\t\t\t").concat(Ne,"\n\t\t\t").concat(we,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(o,":hover {\n\t\t\t").concat(Pe,"\n\t\t\t").concat(_e,"\n\t\t}\n\n\t"),cn="\n        ".concat("full"===q?"\n                .eb-parent-".concat(o," {\n                    width: 100%;\n                }"):".eb-parent-".concat(o," {\n                        ").concat(Ke,"\n                    }"),"\n\n        ").concat("left"===U?".eb-parent-".concat(o,"{\n                        justify-content: left;\n                    }"):"","\n        ").concat("center"===U?".eb-parent-".concat(o,"{\n                        justify-content: center;\n                    }"):"","\n        ").concat("right"===U?".eb-parent-".concat(o,"{\n                        justify-content: right;\n                    }"):"","\n\t"),ln="\n\n        ".concat("full"===q?"\n                .eb-form-wrapper.".concat(o," {\n                    width: 100%;\n                }"):".eb-form-wrapper.".concat(o," {\n                        ").concat(et,"\n                    }"),"\n\t"),sn="\n\n        ".concat("full"===q?"\n                .eb-form-wrapper.".concat(o," {\n                    width: 100%;\n                }"):".eb-form-wrapper.".concat(o," {\n                        ").concat(tt,"\n                    }"),"\n\t"),bn="\n\t\t.eb-form-wrapper.".concat(o," .eb-field-wrapper > label,\n        .eb-form-wrapper.").concat(o," .eb-radio-inputarea,\n        .eb-form-wrapper.").concat(o," .eb-field-wrapper input ~ label,\n        .eb-form-wrapper.").concat(o," .eb-field-wrapper textarea ~ label {\n\t\t\tcolor: ").concat(s,";\n            text-align: ").concat(V,";\n            ").concat(Tt,"\n            ").concat(Mt,"\n\t\t}\n        .eb-form-wrapper.").concat(o," .eb-radio-inputarea label {\n            margin-bottom: 0;\n        }\n        .eb-form-wrapper.").concat(o," .eb-required{\n            color: ").concat(A,";\n        }\n\n        ").concat("form-style-modern"==ie?"\n                .eb-form-wrapper.".concat(o," .eb-field-input-wrap label,\n                .eb-form-wrapper.").concat(o," .eb-form.form-style-modern input:focus ~ label,\n                .eb-form-wrapper.").concat(o," .eb-form.form-style-modern input:valid ~ label,\n                .eb-form-wrapper.").concat(o," .eb-form.form-style-modern textarea:focus ~ label {\n                    left: calc(").concat(re,"px + (").concat(ne).concat(oe," * 1.6));\n                }\n\n                .eb-form-wrapper.").concat(o," .eb-form.form-style-modern .eb-field-input-wrap textarea ~ label {\n                    top: calc(").concat(le).concat(oe," + 7px);\n                }\n\n                "):"","\n\t"),pn="\n\t\t.eb-form-wrapper.".concat(o," .eb-field-wrapper > label {\n            ").concat(Nt,"\n            ").concat(Dt,"\n\t\t}\n\t"),un="\n\t\t.eb-form-wrapper.".concat(o," .eb-field-wrapper > label {\n            ").concat(Pt,"\n            ").concat(jt,"\n\t\t}\n\t"),dn="\n        .wp-admin .eb-form-wrapper.".concat(o," .block-editor-block-list__layout,\n        .eb-form-wrapper.").concat(o," .eb-form-fields {\n            ").concat(De,"\n        }\n\t\t.eb-form-wrapper.").concat(o," .eb-field-wrapper .eb-field-input {\n\t\t\tcolor: ").concat(b,";\n\t\t\tbackground-color: ").concat(u,";\n            text-align: ").concat(Z,";\n            ").concat(ga,"\n            ").concat(_a,"\n            ").concat(Sa,"\n            ").concat(nt,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(o," .eb-field-wrapper .eb-field-input:hover,\n        .eb-form-wrapper.").concat(o," .eb-field-wrapper .eb-field-input:focus {\n            ").concat(Na,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(o," .eb-field-wrapper .eb-field-input::placeholder {\n\t\t\tcolor: ").concat(p,";\n\t\t}\n\n\t\t.eb-form-wrapper.").concat(o," .eb-field-wrapper.eb-validation-error .eb-form-validation {\n            ").concat(ha,"\n\t\t\tcolor: ").concat(I,";\n            text-align: ").concat(W,";\n\t\t}\n\t\t.eb-form-wrapper.").concat(o," .eb-field-wrapper.eb-validation-error .eb-field-input {\n\t\t\tborder-color: ").concat(j,";\n\t\t}\n\n\n\n        ").concat(ce?"\n                .eb-form-wrapper.".concat(o," .eb-field-wrapper .eb-input-icon {\n                    ").concat(an,"\n                    color: ").concat(ae,";\n                    left: ").concat(ne).concat(oe,";\n                }\n                .eb-form-wrapper.").concat(o," .eb-field-wrapper.eb-textarea-field-wrapper .eb-input-icon {top: ").concat(le).concat(oe,";}\n                .eb-form-wrapper.").concat(o," .eb-field-wrapper .eb-field-input {\n                    padding-left: calc(").concat(re,"px + (").concat(ne).concat(oe," * 1.6));\n                }"):"","\n\n\n\t"),mn="\n        .wp-admin .eb-form-wrapper.".concat(o," .block-editor-block-list__layout,\n        .eb-form-wrapper.").concat(o," .eb-form-fields {\n            ").concat(je||De,"\n        }\n\t\t.eb-form-wrapper.").concat(o," .eb-field-wrapper .eb-field-input {\n            ").concat(fa,"\n            ").concat(Ea,"\n            ").concat(Ba,"\n            ").concat(ot,"\n\t\t}\n        .eb-form-wrapper.").concat(o," .eb-form-validation {\n            ").concat(wa,"\n\t\t}\n\t"),gn="\n        .wp-admin .eb-form-wrapper.".concat(o," .block-editor-block-list__layout,\n        .eb-form-wrapper.").concat(o," .eb-form-fields {\n            ").concat(Ie||De,"\n        }\n\t\t.eb-form-wrapper.").concat(o," .eb-field-wrapper .eb-field-input {\n            ").concat(ya,"\n            ").concat(Ca,"\n            ").concat(Ta,"\n            ").concat(rt,"\n\t\t}\n        .eb-form-wrapper.").concat(o," .eb-form-validation {\n            ").concat(ka,"\n\t\t}\n\t"),fn="\n\t\t.eb-form-wrapper.".concat(o," .eb-form-field input[type=radio] {\n\t\t\tbackground-color: ").concat(v,";\n\t\t\tborder-color: ").concat(h,";\n\t\t\tborder-width: ").concat(E,"px;\n            height: ").concat(k,"px;\n            ").concat(Ia,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(o," .eb-form-field input[type=radio]:checked {\n\t\t\tborder-color: ").concat(w,";\n\t\t}\n\t\t.eb-form-wrapper.").concat(o," .eb-radio-inputarea label {\n            ").concat(Oa,"\n            color: ").concat(y,"\n\t\t}\n        .eb-form-wrapper.").concat(o," .eb-radio-field-wrapper .eb-radio-inputarea {\n            ").concat(Ha,"\n        }\n\n        .eb-form-wrapper.").concat(o," .eb-form-field input[type=radio]::before {\n            width: calc(").concat(k,"px / 2);\n            height: calc(").concat(k,"px / 2);\n            background-color: ").concat(w,";\n        }\n\t"),yn="\n\t\t.eb-form-wrapper.".concat(o," .eb-form-field input[type=radio] {\n            height: ").concat(R,"px;\n            ").concat(Aa,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(o," .eb-radio-inputarea label {\n            ").concat(Ma,"\n\t\t}\n        .eb-form-wrapper.").concat(o," .eb-radio-field-wrapper .eb-radio-inputarea {\n            ").concat(za,"\n        }\n        .eb-form-wrapper.").concat(o," .eb-form-field input[type=radio]::before {\n            width: calc(").concat(R,"px / 2);\n            height: calc(").concat(R,"px / 2);\n        }\n\t"),vn="\n\t\t.eb-form-wrapper.".concat(o," .eb-form-field input[type=radio] {\n            height: ").concat(_,"px;\n            ").concat(La,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(o," .eb-radio-inputarea label {\n            ").concat(Da,"\n\t\t}\n        .eb-form-wrapper.").concat(o," .eb-radio-field-wrapper .eb-radio-inputarea {\n            ").concat(qa,"\n        }\n        .eb-form-wrapper.").concat(o," .eb-form-field input[type=radio]::before {\n            width: calc(").concat(_,"px / 2);\n            height: calc(").concat(_,"px / 2);\n        }\n\t"),hn="\n\t\t.eb-form-wrapper.".concat(o," .eb-field-wrapper input[type=checkbox] {\n\t\t\tbackground-color: ").concat(x,";\n\t\t\tborder-color: ").concat(S,";\n\t\t\tborder-width: ").concat(O,"px;\n            height: ").concat(T,"px;\n            ").concat(Ya,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(o," .eb-field-wrapper input[type=checkbox]:checked {\n\t\t\tborder-color: ").concat(B,";\n\t\t}\n\t\t.eb-form-wrapper.").concat(o," .eb-checkbox-inputarea label {\n            ").concat(Va,"\n            color: ").concat(C,"\n\t\t}\n        .eb-form-wrapper.").concat(o," .eb-checkbox-field-wrapper .eb-checkbox-inputarea {\n            ").concat($a,"\n        }\n        .eb-form-wrapper.").concat(o," .eb-field-wrapper input[type=checkbox]::before {\n            color: ").concat(B,";\n            font-size: calc(").concat(T,"px /2);\n        }\n\t"),wn="\n\t\t.eb-form-wrapper.".concat(o," .eb-form-field input[type=checkbox] {\n            height: ").concat(N,"px;\n            ").concat(Ja,"\n\t\t}\n\n\t\t.eb-form-wrapper.").concat(o," .eb-checkbox-inputarea label {\n            ").concat(Wa,"\n\t\t}\n        .eb-form-wrapper.").concat(o," .eb-checkbox-field-wrapper .eb-checkbox-inputarea {\n            ").concat(Ka,"\n        }\n        .eb-form-wrapper.").concat(o," .eb-field-wrapper input[type=checkbox]::before {\n            font-size: calc(").concat(N,"px /1.4);\n        }\n\t"),kn="\n\t\t.eb-form-wrapper.".concat(o," .eb-form-field input[type=checkbox] {\n            height: ").concat(P,"px;\n            ").concat(Qa,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(o," .eb-checkbox-inputarea label {\n            ").concat(Ga,"\n\t\t}\n        .eb-form-wrapper.").concat(o," .eb-checkbox-field-wrapper .eb-checkbox-inputarea {\n            ").concat(en,"\n        }\n        .eb-form-wrapper.").concat(o," .eb-field-wrapper input[type=checkbox]::before {\n            font-size: calc(").concat(P,"px /1.4);\n        }\n\t"),Rn="\n\t\t.eb-form-wrapper.".concat(o," .eb-datetime-field-wrapper .react-datepicker .react-datepicker__day--selected {\n\t\t\tbackground-color: ").concat(D,";\n\t\t\tcolor: ").concat(M,";\n\t\t}\n\t"),_n="\n        ".concat("left"===L?".eb-form-wrapper.".concat(o," .eb-form-submit {\n                        justify-content: left;\n                    }"):"","\n        ").concat("center"===L?".eb-form-wrapper.".concat(o," .eb-form-submit {\n                        justify-content: center;\n                    }"):"","\n        ").concat("right"===L?".eb-form-wrapper.".concat(o," .eb-form-submit {\n                        justify-content: right;\n                    }"):"","\n        ").concat("inline"===J?".eb-form-wrapper.".concat(o," .eb-form-submit {\n                        align-items: ").concat(Y,";\n                    }\n                    .eb-form-wrapper.").concat(o," .eb-form.form-layout-inline .eb-form-fields {\n                        flex-basis: ").concat(ee,"%;\n                    }\n                    .eb-form-wrapper.").concat(o," .eb-form.form-layout-inline .eb-form-submit {\n                        flex-basis: calc(100% - ").concat(ee,"%);\n                    }\n\n                    ").concat("undefined"!==Q?".eb-form-wrapper.".concat(o," .eb-form-submit .eb-form-submit-button{\n                                    position: relative;\n                                    right: ").concat(Q).concat(X,";\n                                }"):"","\n                    ").concat("flex-start"===Y?".eb-form-wrapper.".concat(o," .eb-form-submit .eb-form-submit-button{\n                                    margin-top: ").concat($).concat(K,";\n                                }"):"","\n                    ").concat("flex-end"===Y?".eb-form-wrapper.".concat(o," .eb-form-submit .eb-form-submit-button{\n                                    margin-bottom: ").concat($).concat(K,";\n                                }"):"","\n                    "):"","\n        ").concat("block"===J?".eb-form-wrapper.".concat(o," .eb-form-submit{\n                        ").concat(gt,";\n                    }\n                    .eb-form-wrapper.").concat(o,"{\n                        flex-direction: column;\n                    }\n                    "):"","\n\n\n\t\t.eb-form-wrapper.").concat(o," .eb-form-submit .eb-form-submit-button {\n\t\t\tcolor: ").concat(r,";\n\t\t\tbackground-color: ").concat(l,";\n            ").concat(Le,"\n            ").concat(qe,"\n            ").concat(Ge,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(o," .eb-form-submit .eb-form-submit-button:hover {\n\t\t\tcolor: ").concat(c,";\n\t\t\tbackground-color: ").concat(i,";\n            ").concat(Je,"\n\t\t}\n\n        ").concat("auto"!==F?"full"===F?"\n\t\t\t\t\t.eb-form-wrapper.".concat(o," .eb-form-submit .eb-form-submit-button {\n\t\t\t\t\t\twidth: 100%;\n\t\t\t\t\t}"):".eb-form-wrapper.".concat(o," .eb-form-submit .eb-form-submit-button{\n\t\t\t\t\t\t\t").concat(lt,"\n\t\t\t\t\t\t}"):"","\n\n        ").concat(H?".eb-form-wrapper.".concat(o," .eb-form-submit .eb-form-submit-button .eb-button-icon {\n\t\t\t\t\t").concat(pt,"\n\t\t\t\t\t").concat("left"===z?Ct:kt,"\n\t\t\t\t}"):"","\n\n\t"),En="\n        ".concat("inline"===J?"\n                        .eb-form-wrapper.".concat(o," .eb-form.form-layout-inline .eb-form-fields {\n                            flex-basis: ").concat(te,"%;\n                        }\n                        .eb-form-wrapper.").concat(o," .eb-form.form-layout-inline .eb-form-submit {\n                            flex-basis: calc(100% - ").concat(te,"%);\n                        }\n\n                        ").concat("undefined"!==Q?".eb-form-wrapper.".concat(o," .eb-form-submit .eb-form-submit-button{\n                                        position: relative;\n                                        right: ").concat(Q).concat(X,";\n                                    }"):"","\n                        ").concat("flex-start"===Y?".eb-form-wrapper.".concat(o," .eb-form-submit .eb-form-submit-button{\n                                        margin-top: ").concat($).concat(K,";\n                                    }"):"","\n                        ").concat("flex-end"===Y?".eb-form-wrapper.".concat(o," .eb-form-submit .eb-form-submit-button{\n                                        margin-bottom: ").concat($).concat(K,";\n                                    }"):"","\n                        "):"","\n        ").concat("block"===J?".eb-form-wrapper.".concat(o," .eb-form-submit {\n                            ").concat(ft,";\n                        }\n                        "):"","\n\t\t.eb-form-wrapper.").concat(o," .eb-form-submit .eb-form-submit-button {\n            ").concat(Fe,"\n            ").concat(Ue,"\n            ").concat(Ze,"\n\t\t}\n        .eb-form-wrapper.").concat(o," .eb-form-submit .eb-form-submit-button:hover {\n            ").concat(Qe,"\n\t\t}\n\n        ").concat("auto"!==F?"full"===F?"\n\t\t\t\t\t.eb-form-wrapper.".concat(o," .eb-form-submit .eb-form-submit-button {\n\t\t\t\t\t\twidth: 100%;\n\t\t\t\t\t}"):".eb-form-wrapper.".concat(o," .eb-form-submit .eb-form-submit-button{\n\t\t\t\t\t\t\t").concat(it,"\n\t\t\t\t\t\t}"):"","\n\n        ").concat(H?".eb-form-wrapper.".concat(o," .eb-form-submit .eb-form-submit-button .eb-button-icon {\n\t\t\t\t\t").concat(ut,"\n\t\t\t\t\t").concat("left"===z?xt:Rt,"\n\t\t\t\t}"):"","\n\t"),Cn="\n        ".concat("block"===J?".eb-form-wrapper.".concat(o," .eb-form-submit {\n                                ").concat(yt,";\n                            }\n                            "):"","\n\t\t.eb-form-wrapper.").concat(o," .eb-form-submit .eb-form-submit-button {\n            ").concat(He,"\n            ").concat(Ve,"\n            ").concat(Ye,"\n\t\t}\n        .eb-form-wrapper.").concat(o," .eb-form-submit .eb-form-submit-button:hover {\n            ").concat(Xe,"\n\t\t}\n\n        ").concat("auto"!==F?"full"===F?"\n\t\t\t\t\t.eb-form-wrapper.".concat(o," .eb-form-submit .eb-form-submit-button {\n\t\t\t\t\t\twidth: 100%;\n\t\t\t\t\t}"):".eb-form-wrapper.".concat(o," .eb-form-submit .eb-form-submit-button{\n\t\t\t\t\t\t\t").concat(st,"\n\t\t\t\t\t\t}"):"","\n\n        ").concat(H?".eb-form-wrapper.".concat(o," .eb-form-submit .eb-form-submit-button .eb-button-icon {\n\t\t\t\t\t").concat(dt,"\n\t\t\t\t\t").concat("left"===z?St:_t,"\n\t\t\t\t}"):"","\n\t"),xn="\n\t\t.eb-form-wrapper.".concat(o," .eb_form_submit_response {\n            text-align: ").concat(G,";\n        }\n\t\t.eb-form-wrapper.").concat(o," .eb_form_submit_response.success {\n\t\t\tcolor: ").concat(d,";\n\t\t\tbackground-color: ").concat(m,";\n            ").concat(At,"\n            ").concat(zt,"\n            ").concat(Wt,"\n            ").concat(Xt,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(o," .eb_form_submit_response.success:hover {\n            ").concat(Yt,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(o," .eb_form_submit_response.error {\n\t\t\tcolor: ").concat(g,";\n\t\t\tbackground-color: ").concat(f,";\n            ").concat(Kt,"\n            ").concat(na,"\n            ").concat(la,"\n            ").concat(da,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(o," .eb_form_submit_response.error:hover {\n            ").concat(ba,"\n\t\t}\n\t"),Sn="\n\t\t.eb-form-wrapper.".concat(o," .eb_form_submit_response.success {\n            ").concat(Lt,"\n            ").concat(qt,"\n            ").concat(Gt,"\n\t\t}\n        .eb-form-wrapper.").concat(o," .eb_form_submit_response.success:hover {\n            ").concat(Jt,"\n\t\t}\n        .eb-form-wrapper.").concat(o," .eb_form_submit_response.error {\n            ").concat(ea,"\n            ").concat(oa,"\n            ").concat(ia,"\n\t\t}\n        .eb-form-wrapper.").concat(o," .eb_form_submit_response.error:hover {\n             ").concat(pa,"\n\t\t}\n\t"),Bn="\n\t\t.eb-form-wrapper.".concat(o," .eb_form_submit_response.success {\n            ").concat(Ft,"\n            ").concat(Ut,"\n            ").concat(Zt,"\n\t\t}\n        .eb-form-wrapper.").concat(o," .eb_form_submit_response.success:hover {\n            ").concat(Qt,"\n\t\t}\n        .eb-form-wrapper.").concat(o," .eb_form_submit_response.error {\n            ").concat(ta,"\n            ").concat(ra,"\n            ").concat(sa,"\n\t\t}\n        .eb-form-wrapper.").concat(o," .eb_form_submit_response.error:hover {\n            ").concat(ua,"\n\t\t}\n\t"),Tn=oae("\n\t\t".concat(nn,"\n\t\t").concat(cn,"\n\t\t").concat(bn,"\n\t\t").concat(dn,"\n\t\t").concat(fn,"\n\t\t").concat(hn,"\n\t\t").concat(Rn,"\n\t\t").concat(_n,"\n\t\t").concat(xn,"\n\t")),Nn=oae("\n\t\t".concat(on,"\n\t\t").concat(ln,"\n\t\t").concat(pn,"\n        ").concat(mn,"\n\t\t").concat(yn,"\n\t\t").concat(wn,"\n\t\t").concat(En,"\n\t\t").concat(Sn,"\n\t")),Pn=oae("\n\t\t".concat(rn,"\n\t\t").concat(un,"\n\t\t").concat(sn,"\n\t\t").concat(gn,"\n\t\t").concat(vn,"\n\t\t").concat(kn,"\n\t\t").concat(Cn,"\n\t\t").concat(Bn,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(bae,{attributes:t,setAttributes:a,desktopAllStyles:Tn,tabAllStyles:Nn,mobileAllStyles:Pn,blockName:n}))}function uae(e,t){var a="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!a){if(Array.isArray(e)||(a=hae(e))||t&&e&&"number"==typeof e.length){a&&(e=a);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,c=!0,l=!1;return{s:function(){a=a.call(e)},n:function(){var e=a.next();return c=e.done,e},e:function(e){l=!0,r=e},f:function(){try{c||null==a.return||a.return()}finally{if(l)throw r}}}}function dae(e){return dae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},dae(e)}function mae(){mae=function(){return t};var e,t={},a=Object.prototype,n=a.hasOwnProperty,o=Object.defineProperty||function(e,t,a){e[t]=a.value},r="function"==typeof Symbol?Symbol:{},c=r.iterator||"@@iterator",l=r.asyncIterator||"@@asyncIterator",i=r.toStringTag||"@@toStringTag";function s(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,a){return e[t]=a}}function b(e,t,a,n){var r=t&&t.prototype instanceof y?t:y,c=Object.create(r.prototype),l=new N(n||[]);return o(c,"_invoke",{value:x(e,a,l)}),c}function p(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(e){return{type:"throw",arg:e}}}t.wrap=b;var u="suspendedStart",d="suspendedYield",m="executing",g="completed",f={};function y(){}function v(){}function h(){}var w={};s(w,c,(function(){return this}));var k=Object.getPrototypeOf,R=k&&k(k(P([])));R&&R!==a&&n.call(R,c)&&(w=R);var _=h.prototype=y.prototype=Object.create(w);function E(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function C(e,t){function a(o,r,c,l){var i=p(e[o],e,r);if("throw"!==i.type){var s=i.arg,b=s.value;return b&&"object"==dae(b)&&n.call(b,"__await")?t.resolve(b.__await).then((function(e){a("next",e,c,l)}),(function(e){a("throw",e,c,l)})):t.resolve(b).then((function(e){s.value=e,c(s)}),(function(e){return a("throw",e,c,l)}))}l(i.arg)}var r;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){a(e,n,t,o)}))}return r=r?r.then(o,o):o()}})}function x(t,a,n){var o=u;return function(r,c){if(o===m)throw Error("Generator is already running");if(o===g){if("throw"===r)throw c;return{value:e,done:!0}}for(n.method=r,n.arg=c;;){var l=n.delegate;if(l){var i=S(l,n);if(i){if(i===f)continue;return i}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===u)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=m;var s=p(t,a,n);if("normal"===s.type){if(o=n.done?g:d,s.arg===f)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=g,n.method="throw",n.arg=s.arg)}}}function S(t,a){var n=a.method,o=t.iterator[n];if(o===e)return a.delegate=null,"throw"===n&&t.iterator.return&&(a.method="return",a.arg=e,S(t,a),"throw"===a.method)||"return"!==n&&(a.method="throw",a.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var r=p(o,t.iterator,a.arg);if("throw"===r.type)return a.method="throw",a.arg=r.arg,a.delegate=null,f;var c=r.arg;return c?c.done?(a[t.resultName]=c.value,a.next=t.nextLoc,"return"!==a.method&&(a.method="next",a.arg=e),a.delegate=null,f):c:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,f)}function B(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function N(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(B,this),this.reset(!0)}function P(t){if(t||""===t){var a=t[c];if(a)return a.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,r=function a(){for(;++o<t.length;)if(n.call(t,o))return a.value=t[o],a.done=!1,a;return a.value=e,a.done=!0,a};return r.next=r}}throw new TypeError(dae(t)+" is not iterable")}return v.prototype=h,o(_,"constructor",{value:h,configurable:!0}),o(h,"constructor",{value:v,configurable:!0}),v.displayName=s(h,i,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,s(e,i,"GeneratorFunction")),e.prototype=Object.create(_),e},t.awrap=function(e){return{__await:e}},E(C.prototype),s(C.prototype,l,(function(){return this})),t.AsyncIterator=C,t.async=function(e,a,n,o,r){void 0===r&&(r=Promise);var c=new C(b(e,a,n,o),r);return t.isGeneratorFunction(a)?c:c.next().then((function(e){return e.done?e.value:c.next()}))},E(_),s(_,i,"Generator"),s(_,c,(function(){return this})),s(_,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),a=[];for(var n in t)a.push(n);return a.reverse(),function e(){for(;a.length;){var n=a.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=P,N.prototype={constructor:N,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(T),!t)for(var a in this)"t"===a.charAt(0)&&n.call(this,a)&&!isNaN(+a.slice(1))&&(this[a]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var a=this;function o(n,o){return l.type="throw",l.arg=t,a.next=n,o&&(a.method="next",a.arg=e),!!o}for(var r=this.tryEntries.length-1;r>=0;--r){var c=this.tryEntries[r],l=c.completion;if("root"===c.tryLoc)return o("end");if(c.tryLoc<=this.prev){var i=n.call(c,"catchLoc"),s=n.call(c,"finallyLoc");if(i&&s){if(this.prev<c.catchLoc)return o(c.catchLoc,!0);if(this.prev<c.finallyLoc)return o(c.finallyLoc)}else if(i){if(this.prev<c.catchLoc)return o(c.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<c.finallyLoc)return o(c.finallyLoc)}}}},abrupt:function(e,t){for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var r=o;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var c=r?r.completion:{};return c.type=e,c.arg=t,r?(this.method="next",this.next=r.finallyLoc,f):this.complete(c)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),T(a),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc===e){var n=a.completion;if("throw"===n.type){var o=n.arg;T(a)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,a,n){return this.delegate={iterator:P(t),resultName:a,nextLoc:n},"next"===this.method&&(this.arg=e),f}},t}function gae(e,t,a,n,o,r,c){try{var l=e[r](c),i=l.value}catch(e){return void a(e)}l.done?t(i):Promise.resolve(i).then(n,o)}function fae(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function yae(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?fae(Object(a),!0).forEach((function(t){vae(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):fae(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function vae(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=dae(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=dae(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==dae(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function hae(e,t){if(e){if("string"==typeof e)return wae(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?wae(e,t):void 0}}function wae(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}var kae=EBControls,Rae=kae.fetchFormBlockData,_ae=kae.saveFormBlockData,Eae=kae.DynamicInputValueHandler,Cae=kae.getAllBlockClientIds,xae=kae.EBDisplayIcon,Sae=kae.BlockProps;const Bae=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Form","apiVersion":2,"name":"essential-blocks/form","description":"Create Beautiful and Professional Contact, Subscription or any other custom Forms easily with a few clicks.","category":"essential-blocks","textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');var Tae,Nae=EBControls.ebConditionalRegisterBlockType;eb_conditional_localize&&"edit-widgets"!==eb_conditional_localize.editor_type&&Nae(Bae,{keywords:[(0,Y.__)("EB Form","essential-blocks"),(0,Y.__)("Form Block","essential-blocks"),(0,Y.__)("Contact Form","essential-blocks"),(0,Y.__)("Subscription Form","essential-blocks")],icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"60",fill:"none",viewBox:"0 0 60 60"},React.createElement("path",{fill:"#6C3BFF",fillRule:"evenodd",d:"M57.036 17.285H2.964A2.968 2.968 0 010 14.295V2.99C0 1.337 1.339 0 2.964 0h54.072A2.968 2.968 0 0160 2.99v11.305c0 1.653-1.339 2.99-2.964 2.99zM2.964 2.042a.988.988 0 00-.98.973v11.304c0 .535.43.973.98.973h54.072c.526 0 .98-.438.98-.973V2.99a.972.972 0 00-.98-.972H2.964v.024zm0 57.958h54.072C58.66 60 60 58.639 60 56.937V45.778c0-1.678-1.315-3.063-2.964-3.063H2.964C1.34 42.715 0 44.076 0 45.778v11.159C0 58.614 1.315 60 2.964 60zm-.98-14.198c0-.583.454-1.045.98-1.045h54.072c.55 0 .98.462.98 1.045v11.16c0 .583-.454 1.044-.98 1.044H2.964c-.55 0-.98-.461-.98-1.045V45.802zm26.534 8.218c.215.194.454.291.717.291l-.048.025c.263 0 .526-.098.717-.292l3.849-3.914a1.04 1.04 0 000-1.435.998.998 0 00-1.41 0L29.21 51.88l-1.219-1.24a.998.998 0 00-1.41 0 1.04 1.04 0 000 1.434l1.936 1.946zM16.159 7.123h33.466c.55 0 1.005-.462 1.005-1.02 0-.56-.455-1.022-1.005-1.022H16.16c-.55 0-1.004.462-1.004 1.021 0 .56.455 1.021 1.004 1.021zm20.63 5.081h-20.63c-.55 0-1.004-.462-1.004-1.02 0-.56.455-1.022 1.004-1.022h20.63c.55 0 1.004.462 1.004 1.021 0 .56-.454 1.021-1.004 1.021zm-20.63 16.289h33.466c.55 0 1.005-.462 1.005-1.021 0-.56-.455-1.021-1.005-1.021H16.16c-.55 0-1.004.462-1.004 1.02 0 .56.455 1.022 1.004 1.022zm20.63 5.186h-20.63c-.55 0-1.004-.462-1.004-1.021 0-.56.455-1.021 1.004-1.021h20.63c.55 0 1.004.462 1.004 1.021 0 .56-.454 1.021-1.004 1.021zM2.964 38.655h54.072c1.625 0 2.964-1.337 2.964-2.99V24.36a2.968 2.968 0 00-2.964-2.99H2.964C1.34 21.37 0 22.706 0 24.36v11.304a2.968 2.968 0 002.964 2.99zm-.98-14.295c0-.535.454-.973.98-.973h54.072c.55 0 .98.438.98.973v11.304a.988.988 0 01-.98.973H2.964a.972.972 0 01-.98-.973V24.36zm8.82-20.324H7.196c-1.506 0-2.701 1.24-2.701 2.747v3.67c0 1.532 1.22 2.748 2.701 2.748h3.61c1.506 0 2.701-1.24 2.701-2.747V6.783c0-1.532-1.22-2.747-2.701-2.747zm.91 6.442c0 .51-.407.924-.91.924H7.196a.916.916 0 01-.908-.924v-3.67c0-.511.406-.925.908-.925h3.61c.502 0 .908.414.908.924v3.671zM7.194 25h3.61c1.482 0 2.701 1.216 2.701 2.747v3.671c0 1.508-1.195 2.747-2.701 2.747h-3.61c-1.482 0-2.701-1.215-2.701-2.747v-3.67C4.494 26.24 5.689 25 7.195 25zm3.61 7.366a.916.916 0 00.908-.924v-3.67a.916.916 0 00-.908-.924h-3.61a.916.916 0 00-.908.924v3.67c0 .511.406.924.908.924h3.61z",clipRule:"evenodd"}))},attributes:Fte,edit:function(e){var t,a,n,o,r=e.attributes,c=e.setAttributes,l=(e.className,e.clientId),i=e.isSelected,s=(e.name,r.resOption),b=(r.blockMeta,r.cover),p=r.blockId,u=r.classHook,d=r.formId,m=r.notificationType,g=r.formTitle,f=r.formType,y=r.template,v=r.integrations,h=r.buttonText,w=r.btnAddIcon,k=r.icon,R=r.iconPosition,_=r.formLayout,E=r.showLabel,C=r.showInputIcon,x=(r.inlineFormWidthRange,r.btnVerticalPositionRange,r.btnHorizontalPositionRange,r.successMessage),S=r.errorMessage,B=r.validationErrorMessage,T=r.formStyle,N=(n=(0,J.useState)({}),o=2,function(e){if(Array.isArray(e))return e}(n)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,r,c,l=[],i=!0,s=!1;try{if(r=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;i=!1}else for(;!(i=(n=r.call(a)).done)&&(l.push(n.value),l.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{if(!i&&null!=a.return&&(c=a.return(),Object(c)!==c))return}finally{if(s)throw o}}return l}}(n,o)||hae(n,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),P=N[0],O=N[1],M=(0,$.useDispatch)(Q.store).replaceInnerBlocks,D=(0,J.useRef)(E),j=(0,J.useRef)(C),I=(0,J.useRef)(T),A=(0,J.useRef)(f),L=(0,J.useRef)(y),F=(0,Qo.applyFilters)("eb-form-block-allowed-blocks",["essential-blocks/form-text-field","essential-blocks/form-textarea-field","essential-blocks/form-email-field","essential-blocks/form-number-field","essential-blocks/form-select-field","essential-blocks/form-checkbox-field","essential-blocks/form-radio-field","essential-blocks/advanced-heading","essential-blocks/advanced-image","essential-blocks/row","core/image","core/heading","core/paragraph"]),H="eb-form",z=yae(yae({},e),{},{blockPrefix:H,style:React.createElement(pae,e)}),q=null===(t=(0,$.select)("core/block-editor").getBlock(l))||void 0===t?void 0:t.innerBlocks;(0,J.useEffect)((function(){var e=l.substr(l.length-6);p&&p.startsWith(H)&&(e=p.replace(H+"-","")),d&&0!==d.length||c({formId:"ebf-".concat(e)});var t=function(){var e,t=(e=mae().mark((function e(){return mae().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Rae(p,"form_options");case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})),function(){var t=this,a=arguments;return new Promise((function(n,o){var r=e.apply(t,a);function c(e){gae(r,n,o,c,l,"next",e)}function l(e){gae(r,n,o,c,l,"throw",e)}c(void 0)}))});return function(){return t.apply(this,arguments)}}();t().then((function(e){var t=null==e?void 0:e.form_options;!t||"object"===dae(t)&&0===Object.keys(t).length?O({mailTo:"",mailCc:"",mailBcc:"",mailSubject:""}):(O(t),t.notification&&c({notificationType:t.notification}))}))}),[]);var U=function e(t,a){if("object"!==dae(t)||"object"!==dae(a))return[];if(t.length>0&&Object.keys(a).length>0){var n,o=uae(t);try{for(o.s();!(n=o.n()).done;){var r=n.value;r.attributes&&"object"===dae(r.attributes)&&(r.attributes=yae(yae({},r.attributes),a)),r.innerBlocks&&e(r.innerBlocks,a)}}catch(e){o.e(e)}finally{o.f()}}};(0,J.useEffect)((function(){if(E!==D.current||C!==j.current||T!==I.current){D.current=E,j.current=C,I.current=T;var e=(0,$.select)("core/block-editor").getBlock(l).innerBlocks;U(e,{showLabel:E,isIcon:C,formStyle:T}),M(l,e)}}),[E,C,T]),(0,J.useEffect)((function(){if("Desktop"===s&&"form-style-modern"===T){var e=document.querySelector(".".concat(p));if(e){var t,a=uae(e.getElementsByClassName("eb-field-input"));try{var n=function(){var e,a=t.value;a.value&&(null===(e=a.nextSibling)||void 0===e||e.classList.add("active")),a.addEventListener("focus",(function(e){var t,n;null!==(t=a.nextSibling)&&void 0!==t&&t.classList.contains("active")||null===(n=a.nextSibling)||void 0===n||n.classList.add("active")})),a.addEventListener("blur",(function(){var e;a.value||null===(e=a.nextSibling)||void 0===e||e.classList.remove("active")}))};for(a.s();!(t=a.n()).done;)n()}catch(e){a.e(e)}finally{a.f()}}}}),[T]),(0,J.useEffect)((function(){A.current===f&&L.current===y||(A.current=f,L.current=y,"contact_form"===f?(g||c({formTitle:"Contact Form"}),"contact_form_1"===y?(M(l,(0,K.createBlocksFromInnerBlocksTemplate)(Cee)),c({showInputIcon:!0})):"contact_form_2"===y&&M(l,(0,K.createBlocksFromInnerBlocksTemplate)(xee))):"subscription_form"===f?(g||c({formTitle:"Subscription Form"}),"subscription_form_1"===y?(M(l,(0,K.createBlocksFromInnerBlocksTemplate)(See)),c({showInputIcon:!1})):"subscription_form_2"===y&&M(l,(0,K.createBlocksFromInnerBlocksTemplate)(Bee))):"rsvp_form"===f?(g||c({formTitle:"RSVP Form"}),M(l,(0,K.createBlocksFromInnerBlocksTemplate)(Tee)),c({showInputIcon:!1})):"blank"===f&&(g||c({formTitle:"New Form"}),c({showInputIcon:!1})))}),[f,y]),(0,J.useEffect)((function(){var e=(0,$.select)("core/editor").isEditedPostPublishable();void 0!==e&&!1===e&&(0,$.dispatch)("core/editor").editPost({isPublishable:!0})}),[P]);var V=(0,J.useCallback)((function(){var e=(0,$.select)("core/editor").isSavingPost(),t=(0,$.select)("core/editor").isAutosavingPost(),a=(0,$.select)("core/editor").isSavingNonPostEntityChanges();if((e&&!t||a)&&Cae().includes(l)&&"object"===dae(P)&&Object.keys(P).length>0){var n=(0,$.select)("core/block-editor").getBlock(l),o=fee(n),r=yee(n),c={validationRules:yae({},o),messages:{success:x,error:S,validationError:B}};Object.keys(v).length>0&&(c.integrations=v);var i=yae(yae({},P),{},{notification:m});_ae(p,g||"Form ID: "+p,r,i,c),W()}}),[p,g,m,P,x,S,B,v]),W=(0,$.subscribe)(V);return b.length?React.createElement("div",null,React.createElement("img",{src:b,alt:"data table",style:{maxWidth:"100%"}})):React.createElement(React.Fragment,null,i&&React.createElement(aae,{clientId:l,attributes:r,setAttributes:c,formSettings:P,setFormSettings:O}),React.createElement(Sae.Edit,z,(null===(a=EssentialBlocksLocalize)||void 0===a?void 0:a.unfilter_capability)&&"false"===EssentialBlocksLocalize.unfilter_capability&&React.createElement("div",{style:{marginLeft:"0",marginRight:"0"},className:"notice notice-error"},React.createElement("p",null,"You don't have permission to add/edit the Form Block. Any changes you make won't work in the frontend properly.")),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(p," ").concat(u)},React.createElement("div",{id:p,className:"".concat(p," eb-form-wrapper")},!f&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-editor-formtype-select"},React.createElement("h2",null,"Please Select a Form Type"),React.createElement("div",{className:"eb-form-editor-formtype-item",onClick:function(){return c({formType:"contact_form"})}},React.createElement("div",{className:"eb-form-editor-formtype-icon"},React.createElement("img",{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgdmlld0JveD0iMCAwIDEwMCAxMDAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGNsaXBQYXRoPSJ1cmwoI2NsaXAwXzI2OF8xNykiPgo8cGF0aCBkPSJNOTIuNDYxMiA1SDcuMjA1NDRDNC45MTE1NiA1IDMgNi45MTE1NiAzIDkuMjA1NDRWMTYuMjc4MkMzIDE4LjU3MjEgNC45MTE1NiAyMC40ODM3IDcuMjA1NDQgMjAuNDgzN0g5Mi40NjEyQzk0Ljc1NTEgMjAuNDgzNyA5Ni42NjY3IDE4LjU3MjEgOTYuNjY2NyAxNi4yNzgyVjkuMjA1NDRDOTYuNjY2NyA2LjkxMTU2IDk0Ljc1NTEgNSA5Mi40NjEyIDVaIiBmaWxsPSIjRUFFQUVFIi8+CjxwYXRoIGQ9Ik05Mi40NjEyIDc4Ljk3NzZINjQuNjA5N0M2Mi4zMTU5IDc4Ljk3NzYgNjAuNDA0MyA4MC44ODkxIDYwLjQwNDMgODMuMTgzVjkwLjI1NThDNjAuNDA0MyA5Mi41NDk3IDYyLjMxNTkgOTQuNDYxMiA2NC42MDk3IDk0LjQ2MTJIOTIuNDYxMkM5NC43NTUxIDk0LjQ2MTIgOTYuNjY2NyA5Mi41NDk3IDk2LjY2NjcgOTAuMjU1OFY4My4xODNDOTYuNjY2NyA4MC44ODkxIDk0Ljc1NTEgNzguOTc3NiA5Mi40NjEyIDc4Ljk3NzZaIiBmaWxsPSIjRTZFNkU4Ii8+CjxwYXRoIGQ9Ik05Mi40NjEyIDQ1LjUyNTJINy4yMDU0NEM0LjkxMTU2IDQ1LjUyNTIgMyA0Ny40MzY4IDMgNDkuNzMwNlY2OS45OTMyQzMgNzIuMjg3MSA0LjkxMTU2IDc0LjE5ODcgNy4yMDU0NCA3NC4xOTg3SDkyLjQ2MTJDOTQuNzU1MSA3NC4xOTg3IDk2LjY2NjcgNzIuMjg3MSA5Ni42NjY3IDY5Ljk5MzJWNDkuNzMwNkM5Ni42NjY3IDQ3LjQzNjggOTQuNzU1MSA0NS41MjUyIDkyLjQ2MTIgNDUuNTI1MloiIGZpbGw9IiNFQUVBRUUiLz4KPHBhdGggZD0iTTkyLjQ2MTIgMjUuMjYyNkg3LjIwNTQ0QzQuODgyODQgMjUuMjYyNiAzIDI3LjE0NTQgMyAyOS40NjhWMzYuNTQwOEMzIDM4Ljg2MzQgNC44ODI4NCA0MC43NDYyIDcuMjA1NDQgNDAuNzQ2Mkg5Mi40NjEyQzk0Ljc4MzggNDAuNzQ2MiA5Ni42NjY3IDM4Ljg2MzQgOTYuNjY2NyAzNi41NDA4VjI5LjQ2OEM5Ni42NjY3IDI3LjE0NTQgOTQuNzgzOCAyNS4yNjI2IDkyLjQ2MTIgMjUuMjYyNloiIGZpbGw9IiNFQUVBRUUiLz4KPC9nPgo8ZGVmcz4KPGNsaXBQYXRoIGlkPSJjbGlwMF8yNjhfMTciPgo8cmVjdCB3aWR0aD0iOTMuNjY2NyIgaGVpZ2h0PSI4OS40NjEyIiBmaWxsPSJ3aGl0ZSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMyA1KSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo=",alt:"conact form icon"})),React.createElement("span",null,"Contact Form")),React.createElement("div",{className:"eb-form-editor-formtype-item",onClick:function(){return c({formType:"subscription_form"})}},React.createElement("div",{className:"eb-form-editor-formtype-icon"},React.createElement("img",{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgdmlld0JveD0iMCAwIDEwMCAxMDAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGNsaXBQYXRoPSJ1cmwoI2NsaXAwXzI2OF8xMCkiPgo8cGF0aCBkPSJNNjcuODE1MyA0Mi4yMzg3SDQuMzQxOTRDMi43OTIzOSA0Mi4yMzg3IDEuNTMzMzkgNDMuNDk3NyAxLjUzMzM5IDQ1LjA0NzNWNTUuMTE5M0MxLjUzMzM5IDU2LjY2ODkgMi43OTIzOSA1Ny45Mjc5IDQuMzQxOTQgNTcuOTI3OUg2Ny44MTUzVjQyLjIzODdaIiBmaWxsPSIjRUFFQUVFIi8+CjxwYXRoIGQ9Ik05Ni4xOTE0IDQyLjIzODdINzAuOTMzN1Y1Ny45Mjc5SDk2LjE5MTRDOTcuNzQwOSA1Ny45Mjc5IDk4Ljk5OTkgNTYuNjY4OSA5OC45OTk5IDU1LjExOTRWNDUuMDQ3M0M5OC45OTk5IDQzLjQ5NzcgOTcuNzQwOSA0Mi4yMzg3IDk2LjE5MTQgNDIuMjM4N1oiIGZpbGw9IiNFNkU2RTgiLz4KPC9nPgo8ZGVmcz4KPGNsaXBQYXRoIGlkPSJjbGlwMF8yNjhfMTAiPgo8cmVjdCB3aWR0aD0iOTcuNDY2NiIgaGVpZ2h0PSIxNS42ODkyIiBmaWxsPSJ3aGl0ZSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMS41MzMzOSA0Mi4yMzg3KSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo=",alt:"subscription form icon"})),React.createElement("span",null,"Subscription Form")),React.createElement("div",{className:"eb-form-editor-formtype-item",onClick:function(){return c({formType:"rsvp_form"})}},React.createElement("div",{className:"eb-form-editor-formtype-icon"},React.createElement("img",{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgdmlld0JveD0iMCAwIDEwMCAxMDAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGNsaXBQYXRoPSJ1cmwoI2NsaXAwXzI3Ml8xMikiPgo8cGF0aCBkPSJNODggMy4zMzMzNEgxMy42NjY3QzExLjY2NjcgMy4zMzMzNCAxMCA1IDEwIDdWMTMuMTY2N0MxMCAxNS4xNjY3IDExLjY2NjcgMTYuODMzMyAxMy42NjY3IDE2LjgzMzNIODhDOTAgMTYuODMzMyA5MS42NjY3IDE1LjE2NjcgOTEuNjY2NyAxMy4xNjY3VjdDOTEuNjY2NyA1IDkwIDMuMzMzMzQgODggMy4zMzMzNFoiIGZpbGw9IiNFQUVBRUUiLz4KPHBhdGggZD0iTTg4IDIyLjgxNjdIMTMuNjY2N0MxMS42NDE2IDIyLjgxNjcgMTAgMjQuNDU4MyAxMCAyNi40ODMzVjMyLjY1QzEwIDM0LjY3NSAxMS42NDE2IDM2LjMxNjcgMTMuNjY2NyAzNi4zMTY3SDg4QzkwLjAyNSAzNi4zMTY3IDkxLjY2NjcgMzQuNjc1IDkxLjY2NjcgMzIuNjVWMjYuNDgzM0M5MS42NjY3IDI0LjQ1ODMgOTAuMDI1IDIyLjgxNjcgODggMjIuODE2N1oiIGZpbGw9IiNFQUVBRUUiLz4KPHBhdGggZD0iTTQ0LjMzMzMgODcuMTgzM0gxMy42NjY3QzExLjY0MTYgODcuMTgzMyAxMCA4OC44MjUgMTAgOTAuODVWOTUuMjgzM0MxMCA5Ny4zMDg0IDExLjY0MTYgOTguOTUgMTMuNjY2NyA5OC45NUg0NC4zMzMzQzQ2LjM1ODQgOTguOTUgNDggOTcuMzA4NCA0OCA5NS4yODMzVjkwLjg1QzQ4IDg4LjgyNSA0Ni4zNTg0IDg3LjE4MzMgNDQuMzMzMyA4Ny4xODMzWiIgZmlsbD0iI0VBRUFFRSIvPgo8cGF0aCBkPSJNMTQuOTMzMyA1MS41QzE3LjY1NzkgNTEuNSAxOS44NjY3IDQ5LjI5MTIgMTkuODY2NyA0Ni41NjY2QzE5Ljg2NjcgNDMuODQyIDE3LjY1NzkgNDEuNjMzMyAxNC45MzMzIDQxLjYzMzNDMTIuMjA4NyA0MS42MzMzIDEwIDQzLjg0MiAxMCA0Ni41NjY2QzEwIDQ5LjI5MTIgMTIuMjA4NyA1MS41IDE0LjkzMzMgNTEuNVoiIGZpbGw9IiNFNkU2RTgiLz4KPHBhdGggZD0iTTE1LjE2NjcgNjYuNkMxMi4zMTY3IDY2LjYgMTAgNjQuMjgzNCAxMCA2MS40MzM0QzEwIDU4LjU4MzQgMTIuMzE2NyA1Ni4yNjY3IDE1LjE2NjcgNTYuMjY2N0MxOC4wMTY3IDU2LjI2NjcgMjAuMzMzMyA1OC41ODM0IDIwLjMzMzMgNjEuNDMzNEMyMC4zMzMzIDY0LjI4MzQgMTguMDE2NyA2Ni42IDE1LjE2NjcgNjYuNlpNMTUuMTY2NyA1Ny45MzM0QzEzLjIzMzMgNTcuOTMzNCAxMS42NjY3IDU5LjUgMTEuNjY2NyA2MS40MzM0QzExLjY2NjcgNjMuMzY2NyAxMy4yMzMzIDY0LjkzMzQgMTUuMTY2NyA2NC45MzM0QzE3LjEgNjQuOTMzNCAxOC42NjY3IDYzLjM2NjcgMTguNjY2NyA2MS40MzM0QzE4LjY2NjcgNTkuNSAxNy4xIDU3LjkzMzQgMTUuMTY2NyA1Ny45MzM0WiIgZmlsbD0iI0U2RTZFOCIvPgo8cGF0aCBkPSJNMTUuMTY2NyA4MS40NjY3QzEyLjMxNjcgODEuNDY2NyAxMCA3OS4xNSAxMCA3Ni4zQzEwIDczLjQ1IDEyLjMxNjcgNzEuMTMzMyAxNS4xNjY3IDcxLjEzMzNDMTguMDE2NyA3MS4xMzMzIDIwLjMzMzMgNzMuNDUgMjAuMzMzMyA3Ni4zQzIwLjMzMzMgNzkuMTUgMTguMDE2NyA4MS40NjY3IDE1LjE2NjcgODEuNDY2N1pNMTUuMTY2NyA3Mi44QzEzLjIzMzMgNzIuOCAxMS42NjY3IDc0LjM2NjcgMTEuNjY2NyA3Ni4zQzExLjY2NjcgNzguMjMzMyAxMy4yMzMzIDc5LjggMTUuMTY2NyA3OS44QzE3LjEgNzkuOCAxOC42NjY3IDc4LjIzMzMgMTguNjY2NyA3Ni4zQzE4LjY2NjcgNzQuMzY2NyAxNy4xIDcyLjggMTUuMTY2NyA3Mi44WiIgZmlsbD0iI0U2RTZFOCIvPgo8cGF0aCBkPSJNNTkuOTMzNCA0Ny42SDI2LjA2NjdDMjUuMDUwMSA0Ny42IDI0LjIzMzQgNDYuNzgzMyAyNC4yMzM0IDQ1Ljc2NjZDMjQuMjMzNCA0NC43NSAyNS4wNTAxIDQzLjkzMzMgMjYuMDY2NyA0My45MzMzSDU5LjkzMzRDNjAuOTUwMSA0My45MzMzIDYxLjc2NjcgNDQuNzUgNjEuNzY2NyA0NS43NjY2QzYxLjc2NjcgNDYuNzgzMyA2MC45NTAxIDQ3LjYgNTkuOTMzNCA0Ny42WiIgZmlsbD0iI0VBRUFFRSIvPgo8cGF0aCBkPSJNNTkuOTMzNCA2Mi42MTY3SDI2LjA2NjdDMjUuMDUwMSA2Mi42MTY3IDI0LjIzMzQgNjEuOCAyNC4yMzM0IDYwLjc4MzNDMjQuMjMzNCA1OS43NjY3IDI1LjA1MDEgNTguOTUgMjYuMDY2NyA1OC45NUg1OS45MzM0QzYwLjk1MDEgNTguOTUgNjEuNzY2NyA1OS43NjY3IDYxLjc2NjcgNjAuNzgzM0M2MS43NjY3IDYxLjggNjAuOTUwMSA2Mi42MTY3IDU5LjkzMzQgNjIuNjE2N1oiIGZpbGw9IiNFQUVBRUUiLz4KPHBhdGggZD0iTTU5LjkzMzQgNzcuNjMzM0gyNi4wNjY3QzI1LjA1MDEgNzcuNjMzMyAyNC4yMzM0IDc2LjgxNjcgMjQuMjMzNCA3NS44QzI0LjIzMzQgNzQuNzgzMyAyNS4wNTAxIDczLjk2NjcgMjYuMDY2NyA3My45NjY3SDU5LjkzMzRDNjAuOTUwMSA3My45NjY3IDYxLjc2NjcgNzQuNzgzMyA2MS43NjY3IDc1LjhDNjEuNzY2NyA3Ni44MTY3IDYwLjk1MDEgNzcuNjMzMyA1OS45MzM0IDc3LjYzMzNaIiBmaWxsPSIjRUFFQUVFIi8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfMjcyXzEyIj4KPHJlY3Qgd2lkdGg9IjgxLjY2NjciIGhlaWdodD0iOTUiIGZpbGw9IndoaXRlIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMCAzLjMzMzM0KSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo=",alt:"rsvp form icon"})),React.createElement("span",null,"RSVP Form")),React.createElement("div",{className:"eb-form-editor-formtype-item",onClick:function(){return c({formType:"blank"})}},React.createElement("div",{className:"eb-form-editor-formtype-icon"},React.createElement("img",{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgdmlld0JveD0iMCAwIDEwMCAxMDAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGNsaXBQYXRoPSJ1cmwoI2NsaXAwXzI2OF82KSI+CjxwYXRoIGQ9Ik05MS44MjYxIDc1Ljc1ODRINi45ODE0QzQuOTY5MzQgNzUuNzU4NCAzLjMzMzM3IDc3LjM5NDMgMy4zMzMzNyA3OS40MDY0Vjg1LjM4NjFDMy4zMzMzNyA4Ny4zOTgyIDQuOTY5MzQgODkuMDM0MiA2Ljk4MTQgODkuMDM0Mkg5MS44MjYxQzkzLjgzODIgODkuMDM0MiA5NS40NzQyIDg3LjM5ODIgOTUuNDc0MiA4NS4zODYxVjc5LjQwNjRDOTUuNDc0MiA3Ny4zOTQzIDkzLjgzODIgNzUuNzU4NCA5MS44MjYxIDc1Ljc1ODRaIiBmaWxsPSIjRTZFNkU4Ii8+CjxwYXRoIGQ9Ik05MS44MDczIDEwSDcuMDAwMkM0Ljk4ODE1IDEwIDMuMzMzMzcgMTEuNjU0OCAzLjMzMzM3IDEzLjY2NjhWNjcuNzI5QzMuMzMzMzcgNjkuNzQxMSA0Ljk4ODE1IDcxLjM5NTkgNy4wMDAyIDcxLjM5NTlIOTEuODA3M0M5My44MTk0IDcxLjM5NTkgOTUuNDc0MiA2OS43NDExIDk1LjQ3NDIgNjcuNzI5VjEzLjY2NjhDOTUuNDc0MiAxMS42NTQ4IDkzLjgxOTQgMTAgOTEuODA3MyAxMFoiIGZpbGw9IiNFQUVBRUUiLz4KPHBhdGggZD0iTTQ3LjUyMzQgMzguODI2OVYyNy41NDQzSDUxLjI4NDJWMzguODI2OUg2Mi41NjY4VjQyLjU4NzdINTEuMjg0MlY1My44NzAzSDQ3LjUyMzRWNDIuNTg3N0gzNi4yNDA4VjM4LjgyNjlINDcuNTIzNFoiIGZpbGw9IndoaXRlIi8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfMjY4XzYiPgo8cmVjdCB3aWR0aD0iOTIuMTQwOCIgaGVpZ2h0PSI3OS4wNTMiIGZpbGw9IndoaXRlIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzLjMzMzM3IDEwKSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo=",alt:"blank form icon"})),React.createElement("span",null,"Blank")))),f&&f.length>0&&React.createElement(React.Fragment,null,q&&0==q.length&&React.createElement("div",{className:"eb-popup-before-content"},React.createElement("p",null,React.createElement("strong",null,"Add Form Field"))),React.createElement("form",{id:d,className:"eb-form form-layout-".concat(_," ").concat(T),action:""},React.createElement("div",{className:"eb-form-fields"},React.createElement(Q.InnerBlocks,{template:[],renderAppender:(0,$.select)("core/block-editor").getBlockOrder(l).length>0?void 0:Q.InnerBlocks.ButtonBlockAppender,allowedBlocks:F})),(null==q?void 0:q.length)>0&&React.createElement("div",{className:"eb-form-submit"},React.createElement("button",{"data-id":p,type:"button",className:"btn btn-primary eb-form-submit-button"},w&&"left"===R?React.createElement(xae,{className:"eb-button-icon",icon:k}):"",React.createElement(Eae,{value:h,onChange:function(e){return c({buttonText:e})},readOnly:!0}),w&&"right"===R?React.createElement(xae,{className:"eb-button-icon",icon:k}):""))))))))},save:function(e){var t=e.attributes;return t.blockId,t.classHook,React.createElement(React.Fragment,null,React.createElement(Q.InnerBlocks.Content,null))},example:{attributes:{cover:"".concat(null===(Tae=EssentialBlocksLocalize)||void 0===Tae?void 0:Tae.image_url,"/block-preview/form-block.jpeg")}}});var Pae="wrprBg",Oae="wrpMargin",Mae="wrpPadding",Dae="wrpBorderShadow",jae="labelMargin",Iae="fieldBorder",Aae="fieldPadding",Lae="iconSize",Fae=((0,Y.__)("Preset 1"),(0,Y.__)("Preset 2"),(0,Y.__)("Preset 3"),(0,Y.__)("Preset 4"),(0,Y.__)("Left"),(0,Y.__)("Center"),(0,Y.__)("Right"),(0,Y.__)("Left"),(0,Y.__)("Center"),(0,Y.__)("Right"),(0,Y.__)("Top"),(0,Y.__)("Middle"),(0,Y.__)("Bottom"),(0,Y.__)("H1","essential-blocks"),(0,Y.__)("H2","essential-blocks"),(0,Y.__)("H3","essential-blocks"),(0,Y.__)("H4","essential-blocks"),(0,Y.__)("H5","essential-blocks"),(0,Y.__)("H6","essential-blocks"),(0,Y.__)("P","essential-blocks"),(0,Y.__)("DIV","essential-blocks"),(0,Y.__)("SPAN","essential-blocks"),(0,Y.__)("Fill"),(0,Y.__)("Gradient"),(0,Y.__)("Image"),(0,Y.__)("Auto"),(0,Y.__)("Cover"),(0,Y.__)("Contain"),(0,Y.__)("None"),(0,Y.__)("Dashed"),(0,Y.__)("Solid"),(0,Y.__)("Dotted"),(0,Y.__)("Double"),(0,Y.__)("Groove"),(0,Y.__)("Inset"),(0,Y.__)("Outset"),(0,Y.__)("Ridge"),(0,Y.__)("Select Hover Effect","essential-blocks"),(0,Y.__)("Grow","essential-blocks"),(0,Y.__)("Shrink","essential-blocks"),(0,Y.__)("Pulse","essential-blocks"),(0,Y.__)("Pulse Grow","essential-blocks"),(0,Y.__)("Pulse Shrink","essential-blocks"),(0,Y.__)("Push","essential-blocks"),(0,Y.__)("Pop","essential-blocks"),(0,Y.__)("Bounce In","essential-blocks"),(0,Y.__)("Bounce Out","essential-blocks"),(0,Y.__)("Rotate","essential-blocks"),(0,Y.__)("Grow Rotate","essential-blocks"),(0,Y.__)("Float","essential-blocks"),(0,Y.__)("Sink","essential-blocks"),(0,Y.__)("Bob","essential-blocks"),(0,Y.__)("Hang","essential-blocks"),(0,Y.__)("Skew","essential-blocks"),(0,Y.__)("Skew Forward","essential-blocks"),(0,Y.__)("Skew Backward","essential-blocks"),(0,Y.__)("Wobble Horizontal","essential-blocks"),(0,Y.__)("Wobble Vertical","essential-blocks"),(0,Y.__)("Wobble To Bottom Right","essential-blocks"),(0,Y.__)("Wobble To Top Right","essential-blocks"),(0,Y.__)("Wobble Top","essential-blocks"),(0,Y.__)("Wobble Bottom","essential-blocks"),(0,Y.__)("Wobble Skew","essential-blocks"),(0,Y.__)("Buzz","essential-blocks"),(0,Y.__)("Buzz Out","essential-blocks"),(0,Y.__)("Forward","essential-blocks"),(0,Y.__)("Fade","essential-blocks"),(0,Y.__)("Back Pulse","essential-blocks"),(0,Y.__)("Sweep To Right","essential-blocks"),(0,Y.__)("Sweep To Left","essential-blocks"),(0,Y.__)("Sweep To Bottom","essential-blocks"),(0,Y.__)("Sweep To Top","essential-blocks"),(0,Y.__)("Bounce To Right","essential-blocks"),(0,Y.__)("Bounce To Left","essential-blocks"),(0,Y.__)("Bounce To Bottom","essential-blocks"),(0,Y.__)("Bounce To Top","essential-blocks"),(0,Y.__)("Radial Out","essential-blocks"),(0,Y.__)("Radial In","essential-blocks"),(0,Y.__)("Rectangle In","essential-blocks"),(0,Y.__)("Rectangle Out","essential-blocks"),(0,Y.__)("Shutter In Horizontal","essential-blocks"),(0,Y.__)("Shutter Out Horizontal","essential-blocks"),(0,Y.__)("Shutter In Vertical","essential-blocks"),(0,Y.__)("Shutter Out Vertical","essential-blocks"),(0,Y.__)("Curl Top Left","essential-blocks"),(0,Y.__)("Curl Top Right","essential-blocks"),(0,Y.__)("Curl Bottom Right","essential-blocks"),(0,Y.__)("Curl Bottom Left","essential-blocks"),"text_"),Hae="label_",zae="validationText_",qae="field_";function Uae(e){return Uae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Uae(e)}function Vae(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Wae(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Vae(Object(a),!0).forEach((function(t){Gae(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Vae(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Gae(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=Uae(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=Uae(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Uae(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var Zae=EBControls,Yae=Zae.generateDimensionsAttributes,Jae=Zae.generateTypographyAttributes,Qae=Zae.generateBackgroundAttributes,Xae=Zae.generateBorderShadowAttributes,$ae=Zae.generateResponsiveRangeAttributes;const Kae=Wae(Wae(Wae(Wae(Wae(Wae(Wae(Wae(Wae(Wae(Wae({resOption:{type:"string",default:"Desktop"},parentBlockId:{type:"string"},parentBlockPaddingLeft:{type:"string"},parentBlockPaddingUnit:{type:"string"},parentBlockIconSize:{type:"string"},parentIconColor:{type:"string"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},formStyle:{type:"string"},showLabel:{type:"boolean",default:!0},labelText:{type:"string",default:"Field Title"},fieldName:{type:"string"},placeholderText:{type:"string",default:"Enter your text here..."},defaultValue:{type:"string"},isRequired:{type:"boolean",default:!0},isHidden:{type:"boolean",default:!1},validationRules:{type:"object"},validationMessage:{type:"string",default:"This field is required."},labelColor:{type:"string"},requiredColor:{type:"string"},fieldColor:{type:"string"},fieldPlaceholderColor:{type:"string"},fieldBgColor:{type:"string"},fieldValidationColor:{type:"string"},fieldValidationBorderColor:{type:"string"},isIcon:{type:"boolean",default:!1},icon:{type:"string",default:"fas fa-user"},iconColor:{type:"string"}},Jae(Object.values(H))),Yae(Oae)),Yae(Mae)),Qae(Pae)),Xae(Dae)),Yae("wrpPadding")),Xae("wrpBorder")),Yae(Aae)),Xae(Iae)),Yae(jae)),$ae(Lae));var ene=EBControls,tne=ene.BackgroundControl,ane=ene.BorderShadowControl,nne=ene.ColorControl,one=ene.ResponsiveRangeController,rne=ene.ResponsiveDimensionsControl,cne=ene.TypographyDropdown,lne=ene.AdvancedControls,ine=ene.EBIconPicker,sne=ene.DynamicInputControl;const bne=function(e){var t=e.attributes,a=e.setAttributes,n=(e.clientId,t.blockId,t.resOption),o=t.showLabel,r=t.labelText,c=t.fieldName,l=t.defaultValue,i=t.placeholderText,s=t.isRequired,b=t.isHidden,p=t.validationMessage,u=(t.TextColor,t.TextBgColor,t.labelColor),d=t.requiredColor,m=t.fieldColor,g=t.fieldPlaceholderColor,f=t.fieldBgColor,y=t.fieldValidationColor,v=t.fieldValidationBorderColor,h=t.isIcon,w=t.icon,k=t.iconColor,R={setAttributes:a,resOption:n,attributes:t,objAttributes:Kae};return React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:"General",className:"eb-tab general"},{name:"styles",title:"Style",className:"eb-tab styles"},{name:"advance",title:"Advanced",className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls"+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("General","essential-blocks"),initialOpen:!0},React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Label?","essential-blocks"),checked:o,onChange:function(){return a({showLabel:!o})}}),o&&React.createElement(sne,{label:(0,Y.__)("Label Text","essential-blocks"),attrName:"labelText",inputValue:r,setAttributes:a,onChange:function(e){return a({labelText:e})}}),React.createElement(X.TextControl,{label:(0,Y.__)("Placeholder Text","essential-blocks"),value:i,onChange:function(e){return a({placeholderText:e})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Required?","essential-blocks"),checked:s,onChange:function(){return a({isRequired:!s})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Hidden Field?","essential-blocks"),checked:b,onChange:function(){a({isHidden:!b,showLabel:!1,isRequired:!1})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Icon?","essential-blocks"),checked:h,onChange:function(){return a({isIcon:!h})}}),h&&React.createElement(React.Fragment,null,React.createElement(ine,{value:w,onChange:function(e){return a({icon:e})}}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Advanced Settings","essential-blocks"),initialOpen:!0},React.createElement(X.TextControl,{label:(0,Y.__)("Default Value","essential-blocks"),value:l,onChange:function(e){return a({defaultValue:e})},help:"Leave empty if no default value."}),React.createElement(X.TextControl,{label:(0,Y.__)("Field Custom Name Attribute","essential-blocks"),value:c,onChange:function(e){return a({fieldName:e})},help:"This is for the name attributes which is used to submit form data, Name must be unique."}),s&&React.createElement(X.TextControl,{label:(0,Y.__)("Custom Validation Message","essential-blocks"),value:p,onChange:function(e){return a({validationMessage:e})}}))),"styles"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Label","essential-blocks"),initialOpen:!0},React.createElement(cne,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:Hae,resRequiredProps:R}),React.createElement(nne,{label:(0,Y.__)("Color","essential-blocks"),color:u,onChange:function(e){return a({labelColor:e})}}),React.createElement(nne,{label:(0,Y.__)("Requied Color","essential-blocks"),color:d,onChange:function(e){return a({requiredColor:e})}}),React.createElement(rne,{resRequiredProps:R,controlName:jae,baseLabel:(0,Y.__)("Margin","essential-blocks")})),React.createElement(X.PanelBody,{title:(0,Y.__)("Field","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(cne,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:qae,resRequiredProps:R}),React.createElement(nne,{label:(0,Y.__)("Color","essential-blocks"),color:m,onChange:function(e){return a({fieldColor:e})}}),React.createElement(nne,{label:(0,Y.__)("Placeholder Color","essential-blocks"),color:g,onChange:function(e){return a({fieldPlaceholderColor:e})}}),React.createElement(nne,{label:(0,Y.__)("Background","essential-blocks"),color:f,onChange:function(e){return a({fieldBgColor:e})}}),React.createElement(rne,{resRequiredProps:R,controlName:Aae,baseLabel:(0,Y.__)("Padding","essential-blocks")}),React.createElement(X.PanelBody,{title:(0,Y.__)("Border","essential-blocks"),initialOpen:!1},React.createElement(ane,{controlName:Iae,resRequiredProps:R})),React.createElement(X.PanelBody,{title:(0,Y.__)("Validation","essential-blocks"),initialOpen:!1},React.createElement(cne,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:zae,resRequiredProps:R}),React.createElement(nne,{label:(0,Y.__)("Color","essential-blocks"),color:y,onChange:function(e){return a({fieldValidationColor:e})}}),React.createElement(nne,{label:(0,Y.__)("Fields Border Color","essential-blocks"),color:v,onChange:function(e){return a({fieldValidationBorderColor:e})}})))),h&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Icon","essential-blocks"),initialOpen:!1},React.createElement(nne,{label:(0,Y.__)("Color","essential-blocks"),color:k,onChange:function(e){return a({iconColor:e})}}),React.createElement(one,{baseLabel:(0,Y.__)("Size (PX)","essential-blocks"),controlName:Lae,resRequiredProps:R,min:1,max:100,step:1,noUnits:!0})))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Margin Padding","essential-blocks")},React.createElement(rne,{resRequiredProps:R,controlName:Oae,baseLabel:"Margin"}),React.createElement(rne,{resRequiredProps:R,controlName:Mae,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Background","essential-blocks"),initialOpen:!1},React.createElement(tne,{controlName:Pae,resRequiredProps:R})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(ane,{controlName:Dae,resRequiredProps:R})),React.createElement(lne,{attributes:t,setAttributes:a})))}))))};var pne=window.EBControls,une=pne.softMinifyCssStrings,dne=pne.generateTypographyStyles,mne=pne.generateDimensionsControlStyles,gne=pne.generateBorderShadowStyles,fne=pne.generateResponsiveRangeStyles,yne=pne.generateBackgroundControlStyles,vne=pne.StyleComponent;function hne(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=(t.blockMeta,t.resOption,t.TextColor,t.TextBgColor,t.parentBlockId),c=t.labelColor,l=t.requiredColor,i=t.fieldColor,s=t.fieldPlaceholderColor,b=t.fieldBgColor,p=t.fieldValidationColor,u=t.fieldValidationBorderColor,d=t.iconColor,m=t.fieldPaddingLeft,g=t.fieldPaddingUnit,f=t.iconSizeRange,y=t.isIcon,v=t.parentIconColor,h=t.parentBlockPaddingLeft,w=t.parentBlockPaddingUnit,k=t.parentBlockIconSize,R=mne({controlName:Oae,styleFor:"margin",attributes:t}),_=R.dimensionStylesDesktop,E=R.dimensionStylesTab,C=R.dimensionStylesMobile,x=mne({controlName:Mae,styleFor:"padding",attributes:t}),S=x.dimensionStylesDesktop,B=x.dimensionStylesTab,T=x.dimensionStylesMobile,N=gne({controlName:Dae,attributes:t}),P=N.styesDesktop,O=N.styesTab,M=N.styesMobile,D=N.stylesHoverDesktop,j=N.stylesHoverTab,I=N.stylesHoverMobile,A=N.transitionStyle,L=yne({attributes:t,controlName:Pae,noOverlay:!0}),F=L.backgroundStylesDesktop,H=L.hoverBackgroundStylesDesktop,z=L.backgroundStylesTab,q=L.hoverBackgroundStylesTab,U=L.backgroundStylesMobile,V=L.hoverBackgroundStylesMobile,W=L.bgTransitionStyle,G=dne({attributes:t,prefixConstant:Hae}),Z=G.typoStylesDesktop,Y=G.typoStylesTab,J=G.typoStylesMobile,Q=mne({controlName:jae,styleFor:"margin",attributes:t}),X=Q.dimensionStylesDesktop,$=Q.dimensionStylesTab,K=Q.dimensionStylesMobile,ee=dne({attributes:t,prefixConstant:qae}),te=ee.typoStylesDesktop,ae=ee.typoStylesTab,ne=ee.typoStylesMobile,oe=dne({attributes:t,prefixConstant:zae}),re=oe.typoStylesDesktop,ce=oe.typoStylesTab,le=oe.typoStylesMobile,ie=mne({controlName:Aae,styleFor:"padding",attributes:t}),se=ie.dimensionStylesDesktop,be=ie.dimensionStylesTab,pe=ie.dimensionStylesMobile,ue=gne({controlName:Iae,attributes:t}),de=ue.styesDesktop,me=ue.styesTab,ge=ue.styesMobile,fe=(ue.stylesHoverDesktop,ue.stylesHoverTab,ue.stylesHoverMobile,ue.transitionStyle,fne({controlName:Lae,property:"font-size",attributes:t,customUnit:"px"})),ye=fe.rangeStylesDesktop,ve=(fe.rangeStylesTab,fe.rangeStylesMobile,"\n\t\t.eb-text-field-wrapper.".concat(o,"{\n\t\t\t").concat(_,"\n\t\t\t").concat(S,"\n\t\t\t").concat(F,"\n\t\t\t").concat(P,"\n\t\t\ttransition: ").concat(W,", ").concat(A,";\n\t\t}\n\t\t.eb-text-field-wrapper.").concat(o,":hover {\n\t\t\t").concat(H,"\n\t\t\t").concat(D,"\n\t\t}\n\t")),he="\n\t\t.eb-text-field-wrapper.".concat(o,"{\n\t\t\t").concat(E,"\n\t\t\t").concat(B,"\n\t\t\t").concat(z,"\n\t\t\t").concat(O,"\n\t\t}\n\t\t.eb-text-field-wrapper.").concat(o,":hover {\n\t\t\t").concat(q,"\n\t\t\t").concat(j,"\n\t\t}\n\n\t"),we="\n\t\t.eb-text-field-wrapper.".concat(o,"{\n\t\t\t").concat(C,"\n\t\t\t").concat(T,"\n\t\t\t").concat(U,"\n\t\t\t").concat(M,"\n\t\t}\n\t\t.eb-text-field-wrapper.").concat(o,":hover {\n\t\t\t").concat(V,"\n\t\t\t").concat(I,"\n\t\t}\n\n\t"),ke="\n        .eb-form-wrapper.".concat(r," .eb-text-field-wrapper.").concat(o," > label {\n\t\t\tcolor: ").concat(c,";\n            ").concat(Z,"\n            ").concat(X,"\n\t\t}\n        .eb-form-wrapper.").concat(r," .eb-text-field-wrapper.").concat(o," .eb-required{\n            color: ").concat(l,";\n        }\n\t"),Re="\n        .eb-form-wrapper.".concat(r," .eb-text-field-wrapper.").concat(o," > label {\n\t\t\t").concat(Y,"\n            ").concat($,"\n\t\t}\n\t"),_e="\n\t\t.eb-form-wrapper.".concat(r," .eb-text-field-wrapper.").concat(o," > label {\n            ").concat(J,"\n            ").concat(K,"\n\t\t}\n\t"),Ee="\n\t\t.eb-form-wrapper.".concat(r," .eb-text-field-wrapper.").concat(o," .eb-field-input {\n\t\t\tcolor: ").concat(i,";\n\t\t\tbackground-color: ").concat(b,";\n            ").concat(te,"\n            ").concat(se,"\n            ").concat(de,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(r," .eb-text-field-wrapper.").concat(o," .eb-field-input::placeholder {\n\t\t\tcolor: ").concat(s,";\n\t\t}\n\n\t\t.eb-form-wrapper.").concat(r," .eb-text-field-wrapper.").concat(o,".eb-validation-error .eb-form-validation {\n            ").concat(re,"\n\t\t\tcolor: ").concat(p,";\n\t\t}\n\t\t.eb-form-wrapper.").concat(r," .eb-text-field-wrapper.").concat(o,".eb-validation-error .eb-field-input {\n\t\t\tborder-color: ").concat(u,";\n\t\t}\n\t"),Ce="\n\t\t.eb-form-wrapper.".concat(r," .eb-text-field-wrapper.").concat(o," .eb-field-input {\n            ").concat(ae,"\n            ").concat(be,"\n            ").concat(me,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(r," .eb-text-field-wrapper.").concat(o,".eb-validation-error .eb-form-validation {\n            ").concat(ce,"\n\t\t}\n\t"),xe="\n\t\t.eb-form-wrapper.".concat(r," .eb-text-field-wrapper.").concat(o," .eb-field-input {\n            ").concat(ne,"\n            ").concat(pe,"\n            ").concat(ge,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(r," .eb-text-field-wrapper.").concat(o,".eb-validation-error .eb-form-validation {\n            ").concat(le,"\n\t\t}\n\t"),Se="\n    \t.eb-form-wrapper.".concat(r," .eb-text-field-wrapper.").concat(o," .eb-input-icon {\n            ").concat(ye,"\n            color: ").concat(d||v,";\n    \t}\n\n        ").concat(y?"\n                .eb-form-wrapper.".concat(r," .eb-text-field-wrapper.").concat(o," .eb-input-icon {\n                    left: ").concat(m||h).concat(g,";\n                }\n                .eb-form-wrapper.").concat(r," .eb-text-field-wrapper.").concat(o," .eb-field-input {\n                    padding-left: calc(").concat(f||k,"px + (").concat(m||(0==h?8:h)).concat(g||w," * 1.6));\n                }"):"","\n    "),Be=une("\n\t\t".concat(ve,"\n\t\t").concat(ke,"\n\t\t").concat(Ee,"\n\t\t").concat(Se,"\n\t")),Te=une("\n\t\t".concat(he,"\n\t\t").concat(Re,"\n\t\t").concat(Ce,"\n\t")),Ne=une("\n\t\t".concat(we,"\n\t\t").concat(_e,"\n\t\t").concat(xe,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(vne,{attributes:t,setAttributes:a,desktopAllStyles:Be,tabAllStyles:Te,mobileAllStyles:Ne,blockName:n}))}function wne(e){return wne="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},wne(e)}function kne(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Rne(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?kne(Object(a),!0).forEach((function(t){_ne(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):kne(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function _ne(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=wne(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=wne(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==wne(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var Ene=EBControls,Cne=(Ene.duplicateBlockIdFix,Ene.filterBlocksByName,Ene.getBlockParentClientId,Ene.EBDisplayIcon),xne=Ene.DynamicInputValueHandler,Sne=Ene.BlockProps,Bne=window.EBControls,Tne=Bne.EBDisplayIcon,Nne=Bne.BlockProps;function Pne(e){return Pne="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pne(e)}function One(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Mne(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?One(Object(a),!0).forEach((function(t){Dne(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):One(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Dne(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=Pne(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=Pne(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Pne(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var jne=window.EBControls.EBDisplayIcon,Ine=[{attributes:Mne({},Kae),supports:{align:["full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.showLabel,r=t.labelText,c=t.fieldName,l=t.defaultValue,i=t.placeholderText,s=t.isRequired,b=t.isHidden,p=t.validationMessage,u=t.isIcon,d=t.icon,m=t.formStyle,g=Q.useBlockProps.save({className:"eb-form-field"});return React.createElement("div",g,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"".concat(a," eb-text-field-wrapper eb-field-wrapper")},o&&"form-style-modern"!=m&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:c},r," ",s&&React.createElement("span",{className:"eb-required"},"*"))),React.createElement("div",{className:"eb-field-input-wrap"},u&&d&&React.createElement(jne,{icon:d,className:"eb-input-icon"}),React.createElement("input",{type:b?"hidden":"text",id:c,name:c,className:"eb-field-input",value:l,placeholder:i,required:s}),"form-style-modern"==m&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:c},r," ",s&&React.createElement("span",{className:"eb-required"},"*")))),s&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(c)},p)))))}},{attributes:Mne({},Kae),supports:{align:["full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.showLabel,r=t.labelText,c=t.fieldName,l=t.defaultValue,i=t.placeholderText,s=t.isRequired,b=t.isHidden,p=t.validationMessage,u=t.isIcon,d=t.icon,m=t.formStyle,g=Q.useBlockProps.save({className:"eb-form-field"});return React.createElement("div",g,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"".concat(a," eb-text-field-wrapper eb-field-wrapper")},o&&"form-style-modern"!=m&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:c},r," ",s&&React.createElement("span",{className:"eb-required"},"*"))),React.createElement("div",{className:"eb-field-input-wrap"},u&&d&&React.createElement("i",{className:"".concat(d," eb-input-icon")}),React.createElement("input",{type:b?"hidden":"text",id:c,name:c,className:"eb-field-input",value:l,placeholder:i,required:s}),"form-style-modern"==m&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:c},r," ",s&&React.createElement("span",{className:"eb-required"},"*")))),s&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(c)},p)))))}}];const Ane=Ine,Lne=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Text Field","apiVersion":2,"name":"essential-blocks/form-text-field","description":"Form Block Text Field","category":"essential-blocks","textdomain":"essential-blocks","ancestor":["essential-blocks/form"],"supports":{"anchor":true},"editorScript":"essential-blocks-editor-script"}');(0,EBControls.ebConditionalRegisterBlockType)(Lne,{keywords:[(0,Y.__)("EB Form","essential-blocks"),(0,Y.__)("Form Block","essential-blocks"),(0,Y.__)("Contact Form","essential-blocks"),(0,Y.__)("Subscription Form","essential-blocks")],icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"51",height:"51",fill:"none",viewBox:"0 0 51 51"},React.createElement("g",{fill:"#6C3BFF",clipPath:"url(#clip0_2_22398)"},React.createElement("path",{d:"M13.05 34.64c-.61 0-1.1-.49-1.1-1.1 0-.61.49-1.1 1.1-1.1h3.72V17.76h-1.49c-1.13 0-1.8 0-2.31.07-.33.04-.55.1-.7.2l-.08.05-.16.17-.04.07c-.09.15-.14.36-.18.68-.07.51-.07 1.18-.07 2.31 0 .61-.49 1.1-1.1 1.1-.61 0-1.1-.49-1.1-1.1 0-1.01 0-1.89.08-2.58.11-.87.36-1.48.8-1.98.09-.11.19-.2.29-.29.5-.45 1.11-.69 1.98-.8.69-.08 1.58-.08 2.45-.08h5.31c1 0 1.9 0 2.58.08.87.11 1.48.36 1.98.8.11.09.2.19.3.3.45.5.69 1.11.8 1.98.08.68.08 1.56.08 2.5 0 .69-.49 1.19-1.1 1.19-.61 0-1.1-.49-1.1-1.1 0-1.17 0-1.8-.07-2.31-.05-.43-.13-.6-.2-.7l-.05-.08-.16-.15-.06-.04c-.1-.06-.27-.14-.7-.19-.51-.07-1.17-.07-2.31-.07h-1.49v14.68h3.72c.61 0 1.1.49 1.1 1.1 0 .61-.49 1.1-1.1 1.1h-9.64l.02-.03z"}),React.createElement("path",{d:"M32.33 50.2c-.55 0-.99-.44-.99-.99V.99c0-.55.44-.99.99-.99s.99.44.99.99v3.83c6.67.04 10.97.32 13.76 3.11 3.12 3.11 3.12 7.81 3.12 17.16 0 9.35 0 14.05-3.12 17.16-2.79 2.79-7.09 3.07-13.76 3.11v3.83c0 .55-.44.99-.99.99v.02zm.99-43.39v36.58c6.72-.05 10.21-.38 12.36-2.53 2.54-2.53 2.54-6.95 2.54-15.76 0-8.81 0-13.23-2.53-15.76-2.15-2.15-5.64-2.48-12.36-2.53h-.01zM25.1 45.38h-4.82c-9.35 0-14.05 0-17.16-3.11C0 39.16 0 34.46 0 25.11c0-9.35 0-14.06 3.12-17.17 3.11-3.12 7.81-3.12 17.16-3.12h4.82c.55 0 .99.44.99.99s-.44.99-.99.99h-4.82c-8.81 0-13.23 0-15.76 2.53-2.53 2.53-2.53 6.95-2.53 15.76 0 8.81 0 13.23 2.53 15.76 2.53 2.53 6.95 2.53 15.76 2.53h4.82c.55 0 .99.44.99.99s-.44.99-.99.99v.02z"})),React.createElement("defs",null,React.createElement("clipPath",{id:"clip0_2_22398"},React.createElement("path",{fill:"#fff",d:"M0 0H50.2V50.2H0z"}))))},attributes:Kae,edit:function(e){var t=e.attributes,a=e.setAttributes,n=e.isSelected,o=e.clientId,r=(e.className,e.name,t.resOption,t.blockMeta,t.parentBlockId,t.blockId),c=t.classHook,l=t.showLabel,i=t.labelText,s=t.fieldName,b=t.defaultValue,p=t.placeholderText,u=t.isRequired,d=t.isHidden,m=t.validationMessage,g=(t.validationRules,t.isIcon),f=t.icon,y=t.formStyle,v=(t.parentIconColor,t.parentBlockPaddingLeft,t.parentBlockPaddingUnit,t.parentBlockIconSize,Rne(Rne({},e),{},{blockPrefix:"eb-text-field",rootClass:"eb-guten-block-main-parent-wrapper eb-form-field",style:React.createElement(hne,e)}));return(0,J.useEffect)((function(){var e=_ne({},s,{isRequired:{status:u,message:m}});a({validationRules:e})}),[u,s,m]),React.createElement(React.Fragment,null,n&&React.createElement(bne,{clientId:o,attributes:t,setAttributes:a}),React.createElement(Sne.Edit,v,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(r," ").concat(c)},React.createElement("div",{className:"".concat(r," eb-text-field-wrapper eb-field-wrapper")},l&&"form-style-modern"!=y&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:s},React.createElement(xne,{value:i,onChange:function(e){return a({labelText:e})},readOnly:!0})," ",u&&React.createElement("span",{className:"eb-required"},"*"))),React.createElement("div",{className:"eb-field-input-wrap"},g&&f&&React.createElement(Cne,{icon:f,className:"eb-input-icon"}),React.createElement("input",{type:d?"hidden":"text",id:s,name:s,className:"eb-field-input",value:b,placeholder:p,required:u}),"form-style-modern"==y&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:s},i," ",u&&React.createElement("span",{className:"eb-required"},"*")))),u&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(s)},m))))))},save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.showLabel,r=t.labelText,c=t.fieldName,l=t.defaultValue,i=t.placeholderText,s=t.isRequired,b=t.isHidden,p=t.validationMessage,u=t.isIcon,d=t.icon,m=t.formStyle;return Q.useBlockProps.save({className:"eb-form-field"}),React.createElement(Nne.Save,{attributes:t,rootClass:"eb-form-field"},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"".concat(a," eb-text-field-wrapper eb-field-wrapper")},o&&"form-style-modern"!=m&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:c},r," ",s&&React.createElement("span",{className:"eb-required"},"*"))),React.createElement("div",{className:"eb-field-input-wrap"},u&&d&&React.createElement(Tne,{icon:d,className:"eb-input-icon"}),React.createElement("input",{type:b?"hidden":"text",id:c,name:c,className:"eb-field-input",value:l,placeholder:i,required:s}),"form-style-modern"==m&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:c},r," ",s&&React.createElement("span",{className:"eb-required"},"*")))),s&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(c)},p)))))},example:{},deprecated:Ane});var Fne="wrprBg",Hne="wrpMargin",zne="wrpPadding",qne="wrpBorderShadow",Une="labelMargin",Vne="fieldBorder",Wne="fieldPadding",Gne="iconSize",Zne=((0,Y.__)("Preset 1"),(0,Y.__)("Preset 2"),(0,Y.__)("Preset 3"),(0,Y.__)("Preset 4"),(0,Y.__)("Left"),(0,Y.__)("Center"),(0,Y.__)("Right"),(0,Y.__)("Left"),(0,Y.__)("Center"),(0,Y.__)("Right"),(0,Y.__)("Top"),(0,Y.__)("Middle"),(0,Y.__)("Bottom"),(0,Y.__)("H1","essential-blocks"),(0,Y.__)("H2","essential-blocks"),(0,Y.__)("H3","essential-blocks"),(0,Y.__)("H4","essential-blocks"),(0,Y.__)("H5","essential-blocks"),(0,Y.__)("H6","essential-blocks"),(0,Y.__)("P","essential-blocks"),(0,Y.__)("DIV","essential-blocks"),(0,Y.__)("SPAN","essential-blocks"),(0,Y.__)("Fill"),(0,Y.__)("Gradient"),(0,Y.__)("Image"),(0,Y.__)("Auto"),(0,Y.__)("Cover"),(0,Y.__)("Contain"),(0,Y.__)("None"),(0,Y.__)("Dashed"),(0,Y.__)("Solid"),(0,Y.__)("Dotted"),(0,Y.__)("Double"),(0,Y.__)("Groove"),(0,Y.__)("Inset"),(0,Y.__)("Outset"),(0,Y.__)("Ridge"),(0,Y.__)("Select Hover Effect","essential-blocks"),(0,Y.__)("Grow","essential-blocks"),(0,Y.__)("Shrink","essential-blocks"),(0,Y.__)("Pulse","essential-blocks"),(0,Y.__)("Pulse Grow","essential-blocks"),(0,Y.__)("Pulse Shrink","essential-blocks"),(0,Y.__)("Push","essential-blocks"),(0,Y.__)("Pop","essential-blocks"),(0,Y.__)("Bounce In","essential-blocks"),(0,Y.__)("Bounce Out","essential-blocks"),(0,Y.__)("Rotate","essential-blocks"),(0,Y.__)("Grow Rotate","essential-blocks"),(0,Y.__)("Float","essential-blocks"),(0,Y.__)("Sink","essential-blocks"),(0,Y.__)("Bob","essential-blocks"),(0,Y.__)("Hang","essential-blocks"),(0,Y.__)("Skew","essential-blocks"),(0,Y.__)("Skew Forward","essential-blocks"),(0,Y.__)("Skew Backward","essential-blocks"),(0,Y.__)("Wobble Horizontal","essential-blocks"),(0,Y.__)("Wobble Vertical","essential-blocks"),(0,Y.__)("Wobble To Bottom Right","essential-blocks"),(0,Y.__)("Wobble To Top Right","essential-blocks"),(0,Y.__)("Wobble Top","essential-blocks"),(0,Y.__)("Wobble Bottom","essential-blocks"),(0,Y.__)("Wobble Skew","essential-blocks"),(0,Y.__)("Buzz","essential-blocks"),(0,Y.__)("Buzz Out","essential-blocks"),(0,Y.__)("Forward","essential-blocks"),(0,Y.__)("Fade","essential-blocks"),(0,Y.__)("Back Pulse","essential-blocks"),(0,Y.__)("Sweep To Right","essential-blocks"),(0,Y.__)("Sweep To Left","essential-blocks"),(0,Y.__)("Sweep To Bottom","essential-blocks"),(0,Y.__)("Sweep To Top","essential-blocks"),(0,Y.__)("Bounce To Right","essential-blocks"),(0,Y.__)("Bounce To Left","essential-blocks"),(0,Y.__)("Bounce To Bottom","essential-blocks"),(0,Y.__)("Bounce To Top","essential-blocks"),(0,Y.__)("Radial Out","essential-blocks"),(0,Y.__)("Radial In","essential-blocks"),(0,Y.__)("Rectangle In","essential-blocks"),(0,Y.__)("Rectangle Out","essential-blocks"),(0,Y.__)("Shutter In Horizontal","essential-blocks"),(0,Y.__)("Shutter Out Horizontal","essential-blocks"),(0,Y.__)("Shutter In Vertical","essential-blocks"),(0,Y.__)("Shutter Out Vertical","essential-blocks"),(0,Y.__)("Curl Top Left","essential-blocks"),(0,Y.__)("Curl Top Right","essential-blocks"),(0,Y.__)("Curl Bottom Right","essential-blocks"),(0,Y.__)("Curl Bottom Left","essential-blocks"),"label_"),Yne="validationText_",Jne="field_";function Qne(e){return Qne="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Qne(e)}function Xne(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function $ne(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Xne(Object(a),!0).forEach((function(t){Kne(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Xne(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Kne(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=Qne(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=Qne(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Qne(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var eoe=EBControls,toe=eoe.generateDimensionsAttributes,aoe=eoe.generateTypographyAttributes,noe=eoe.generateBackgroundAttributes,ooe=eoe.generateBorderShadowAttributes,roe=eoe.generateResponsiveRangeAttributes;const coe=$ne($ne($ne($ne($ne($ne($ne($ne($ne({resOption:{type:"string",default:"Desktop"},parentBlockId:{type:"string"},parentBlockPaddingLeft:{type:"string"},parentBlockPaddingUnit:{type:"string"},parentBlockIconSize:{type:"string"},parentIconColor:{type:"string"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},formStyle:{type:"string"},showLabel:{type:"boolean",default:!0},labelText:{type:"string",default:"Message"},fieldName:{type:"string"},textareaRows:{type:"number",default:4},placeholderText:{type:"string",default:"Enter your message here..."},defaultValue:{type:"string"},isRequired:{type:"boolean",default:!1},validationRules:{type:"object"},validationMessage:{type:"string",default:"This field is required."},labelColor:{type:"string"},requiredColor:{type:"string"},fieldColor:{type:"string"},fieldPlaceholderColor:{type:"string"},fieldBgColor:{type:"string"},fieldValidationColor:{type:"string"},fieldValidationBorderColor:{type:"string"},isIcon:{type:"boolean",default:!0},icon:{type:"string",default:"far fa-edit"},iconColor:{type:"string"}},aoe(Object.values(z))),toe(Hne)),toe(zne)),noe(Fne)),ooe(qne)),toe(Wne)),ooe(Vne)),toe(Une)),roe(Gne));var loe=EBControls,ioe=loe.BackgroundControl,soe=loe.BorderShadowControl,boe=loe.ColorControl,poe=loe.ResponsiveRangeController,uoe=loe.ResponsiveDimensionsControl,doe=loe.TypographyDropdown,moe=loe.AdvancedControls,goe=loe.EBIconPicker,foe=loe.DynamicInputControl;const yoe=function(e){var t=e.attributes,a=e.setAttributes,n=(e.clientId,t.blockId,t.resOption),o=t.showLabel,r=t.labelText,c=t.fieldName,l=t.textareaRows,i=t.defaultValue,s=t.placeholderText,b=t.isRequired,p=t.validationMessage,u=t.labelColor,d=t.requiredColor,m=t.fieldColor,g=t.fieldPlaceholderColor,f=t.fieldBgColor,y=t.fieldValidationColor,v=t.fieldValidationBorderColor,h=t.isIcon,w=t.icon,k=t.iconColor,R={setAttributes:a,resOption:n,attributes:t,objAttributes:coe};return React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:"General",className:"eb-tab general"},{name:"styles",title:"Style",className:"eb-tab styles"},{name:"advance",title:"Advanced",className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls"+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("General","essential-blocks"),initialOpen:!0},React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Label?","essential-blocks"),checked:o,onChange:function(){return a({showLabel:!o})}}),o&&React.createElement(foe,{label:(0,Y.__)("Label Text","essential-blocks"),attrName:"labelText",inputValue:r,setAttributes:a,onChange:function(e){return a({labelText:e})}}),React.createElement(X.TextControl,{label:(0,Y.__)("Placeholder Text","essential-blocks"),value:s,onChange:function(e){return a({placeholderText:e})}}),React.createElement(X.RangeControl,{label:"Rows",value:l,onChange:function(e){return a({textareaRows:e})},min:1,max:20}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Required?","essential-blocks"),checked:b,onChange:function(){return a({isRequired:!b})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Icon?","essential-blocks"),checked:h,onChange:function(){return a({isIcon:!h})}}),h&&React.createElement(React.Fragment,null,React.createElement(goe,{value:w,onChange:function(e){return a({icon:e})}}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Advanced Settings","essential-blocks"),initialOpen:!0},React.createElement(X.TextControl,{label:(0,Y.__)("Default Value","essential-blocks"),value:i,onChange:function(e){return a({defaultValue:e})},help:"Leave empty if no default value."}),React.createElement(X.TextControl,{label:(0,Y.__)("Field Custom Name Attribute","essential-blocks"),value:c,onChange:function(e){return a({fieldName:e})},help:"This is for the name attributes which is used to submit form data, Name must be unique."}),b&&React.createElement(X.TextControl,{label:(0,Y.__)("Custom Validation Message","essential-blocks"),value:p,onChange:function(e){return a({validationMessage:e})}}))),"styles"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Label","essential-blocks"),initialOpen:!0},React.createElement(doe,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:Zne,resRequiredProps:R}),React.createElement(boe,{label:(0,Y.__)("Color","essential-blocks"),color:u,onChange:function(e){return a({labelColor:e})}}),React.createElement(boe,{label:(0,Y.__)("Requied Color","essential-blocks"),color:d,onChange:function(e){return a({requiredColor:e})}}),React.createElement(uoe,{resRequiredProps:R,controlName:Une,baseLabel:(0,Y.__)("Margin","essential-blocks")})),React.createElement(X.PanelBody,{title:(0,Y.__)("Field","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(doe,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:Jne,resRequiredProps:R}),React.createElement(boe,{label:(0,Y.__)("Color","essential-blocks"),color:m,onChange:function(e){return a({fieldColor:e})}}),React.createElement(boe,{label:(0,Y.__)("Placeholder Color","essential-blocks"),color:g,onChange:function(e){return a({fieldPlaceholderColor:e})}}),React.createElement(boe,{label:(0,Y.__)("Background","essential-blocks"),color:f,onChange:function(e){return a({fieldBgColor:e})}}),React.createElement(uoe,{resRequiredProps:R,controlName:Wne,baseLabel:(0,Y.__)("Padding","essential-blocks")}),React.createElement(X.PanelBody,{title:(0,Y.__)("Border","essential-blocks"),initialOpen:!1},React.createElement(soe,{controlName:Vne,resRequiredProps:R})),React.createElement(X.PanelBody,{title:(0,Y.__)("Validation","essential-blocks"),initialOpen:!1},React.createElement(doe,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:Yne,resRequiredProps:R}),React.createElement(boe,{label:(0,Y.__)("Color","essential-blocks"),color:y,onChange:function(e){return a({fieldValidationColor:e})}}),React.createElement(boe,{label:(0,Y.__)("Fields Border Color","essential-blocks"),color:v,onChange:function(e){return a({fieldValidationBorderColor:e})}})))),h&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Icon","essential-blocks"),initialOpen:!1},React.createElement(boe,{label:(0,Y.__)("Color","essential-blocks"),color:k,onChange:function(e){return a({iconColor:e})}}),React.createElement(poe,{baseLabel:(0,Y.__)("Size (PX)","essential-blocks"),controlName:Gne,resRequiredProps:R,min:1,max:100,step:1,noUnits:!0})))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Margin Padding","essential-blocks")},React.createElement(uoe,{resRequiredProps:R,controlName:Hne,baseLabel:"Margin"}),React.createElement(uoe,{resRequiredProps:R,controlName:zne,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Background","essential-blocks"),initialOpen:!1},React.createElement(ioe,{controlName:Fne,resRequiredProps:R})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(soe,{controlName:qne,resRequiredProps:R})),React.createElement(moe,{attributes:t,setAttributes:a})))}))))};var voe=window.EBControls,hoe=voe.softMinifyCssStrings,woe=voe.generateTypographyStyles,koe=voe.generateDimensionsControlStyles,Roe=voe.generateBorderShadowStyles,_oe=voe.generateResponsiveRangeStyles,Eoe=voe.generateBackgroundControlStyles,Coe=voe.StyleComponent;function xoe(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=(t.blockMeta,t.resOption,t.parentBlockId),c=t.labelColor,l=t.requiredColor,i=t.fieldColor,s=t.fieldPlaceholderColor,b=t.fieldBgColor,p=t.fieldValidationColor,u=t.fieldValidationBorderColor,d=t.iconColor,m=t.fieldPaddingLeft,g=t.fieldPaddingUnit,f=t.iconSizeRange,y=t.parentBlockPaddingLeft,v=t.parentBlockPaddingUnit,h=t.parentBlockIconSize,w=t.isIcon,k=t.parentIconColor,R=koe({controlName:Hne,styleFor:"margin",attributes:t}),_=R.dimensionStylesDesktop,E=R.dimensionStylesTab,C=R.dimensionStylesMobile,x=koe({controlName:zne,styleFor:"padding",attributes:t}),S=x.dimensionStylesDesktop,B=x.dimensionStylesTab,T=x.dimensionStylesMobile,N=Roe({controlName:qne,attributes:t}),P=N.styesDesktop,O=N.styesTab,M=N.styesMobile,D=N.stylesHoverDesktop,j=N.stylesHoverTab,I=N.stylesHoverMobile,A=N.transitionStyle,L=Eoe({attributes:t,controlName:Fne,noOverlay:!0}),F=L.backgroundStylesDesktop,H=L.hoverBackgroundStylesDesktop,z=L.backgroundStylesTab,q=L.hoverBackgroundStylesTab,U=L.backgroundStylesMobile,V=L.hoverBackgroundStylesMobile,W=L.bgTransitionStyle,G=woe({attributes:t,prefixConstant:Zne}),Z=G.typoStylesDesktop,Y=G.typoStylesTab,J=G.typoStylesMobile,Q=koe({controlName:Une,styleFor:"margin",attributes:t}),X=Q.dimensionStylesDesktop,$=Q.dimensionStylesTab,K=Q.dimensionStylesMobile,ee=woe({attributes:t,prefixConstant:Jne}),te=ee.typoStylesDesktop,ae=ee.typoStylesTab,ne=ee.typoStylesMobile,oe=woe({attributes:t,prefixConstant:Yne}),re=oe.typoStylesDesktop,ce=oe.typoStylesTab,le=oe.typoStylesMobile,ie=koe({controlName:Wne,styleFor:"padding",attributes:t}),se=ie.dimensionStylesDesktop,be=ie.dimensionStylesTab,pe=ie.dimensionStylesMobile,ue=Roe({controlName:Vne,attributes:t}),de=ue.styesDesktop,me=ue.styesTab,ge=ue.styesMobile,fe=(ue.stylesHoverDesktop,ue.stylesHoverTab,ue.stylesHoverMobile,ue.transitionStyle,_oe({controlName:Gne,property:"font-size",attributes:t,customUnit:"px"})),ye=fe.rangeStylesDesktop,ve=(fe.rangeStylesTab,fe.rangeStylesMobile,"\n\t\t.eb-textarea-field-wrapper.".concat(o,"{\n\t\t\t").concat(_,"\n\t\t\t").concat(S,"\n\t\t\t").concat(F,"\n\t\t\t").concat(P,"\n\t\t\ttransition: ").concat(W,", ").concat(A,";\n\t\t}\n\t\t.eb-textarea-field-wrapper.").concat(o,":hover {\n\t\t\t").concat(H,"\n\t\t\t").concat(D,"\n\t\t}\n\t")),he="\n\t\t.eb-textarea-field-wrapper.".concat(o,"{\n\t\t\t").concat(E,"\n\t\t\t").concat(B,"\n\t\t\t").concat(z,"\n\t\t\t").concat(O,"\n\t\t}\n\t\t.eb-textarea-field-wrapper.").concat(o,":hover {\n\t\t\t").concat(q,"\n\t\t\t").concat(j,"\n\t\t}\n\n\t"),we="\n\t\t.eb-textarea-field-wrapper.".concat(o,"{\n\t\t\t").concat(C,"\n\t\t\t").concat(T,"\n\t\t\t").concat(U,"\n\t\t\t").concat(M,"\n\t\t}\n\t\t.eb-textarea-field-wrapper.").concat(o,":hover {\n\t\t\t").concat(V,"\n\t\t\t").concat(I,"\n\t\t}\n\n\t"),ke="\n        .eb-form-wrapper.".concat(r," .eb-textarea-field-wrapper.").concat(o," > label {\n\t\t\tcolor: ").concat(c,";\n            ").concat(Z,"\n            ").concat(X,"\n\t\t}\n        .eb-form-wrapper.").concat(r," .eb-textarea-field-wrapper.").concat(o," .eb-required{\n            color: ").concat(l,";\n        }\n\t"),Re="\n        .eb-form-wrapper.".concat(r," .eb-textarea-field-wrapper.").concat(o," > label {\n\t\t\t").concat(Y,"\n            ").concat($,"\n\t\t}\n\t"),_e="\n\t\t.eb-form-wrapper.".concat(r," .eb-textarea-field-wrapper.").concat(o," > label {\n            ").concat(J,"\n            ").concat(K,"\n\t\t}\n\t"),Ee="\n\t\t.eb-form-wrapper.".concat(r," .eb-textarea-field-wrapper.").concat(o," .eb-field-input {\n\t\t\tcolor: ").concat(i,";\n\t\t\tbackground-color: ").concat(b,";\n            ").concat(te,"\n            ").concat(se,"\n            ").concat(de,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(r," .eb-textarea-field-wrapper.").concat(o," .eb-field-input::placeholder {\n\t\t\tcolor: ").concat(s,";\n\t\t}\n\n\t\t.eb-form-wrapper.").concat(r," .eb-textarea-field-wrapper.").concat(o,".eb-validation-error .eb-form-validation {\n            ").concat(re,"\n\t\t\tcolor: ").concat(p,";\n\t\t}\n\t\t.eb-form-wrapper.").concat(r," .eb-textarea-field-wrapper.").concat(o,".eb-validation-error .eb-field-input {\n\t\t\tborder-color: ").concat(u,";\n\t\t}\n\t"),Ce="\n\t\t.eb-form-wrapper.".concat(r," .eb-textarea-field-wrapper.").concat(o," .eb-field-input {\n            ").concat(ae,"\n            ").concat(be,"\n            ").concat(me,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(r," .eb-textarea-field-wrapper.").concat(o,".eb-validation-error .eb-form-validation {\n            ").concat(ce,"\n\t\t}\n\t"),xe="\n\t\t.eb-form-wrapper.".concat(r," .eb-textarea-field-wrapper.").concat(o," .eb-field-input {\n            ").concat(ne,"\n            ").concat(pe,"\n            ").concat(ge,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(r," .eb-textarea-field-wrapper.").concat(o,".eb-validation-error .eb-form-validation {\n            ").concat(le,"\n\t\t}\n\t"),Se="\n\t\t.eb-form-wrapper.".concat(r," .eb-textarea-field-wrapper.").concat(o," .eb-input-icon {\n            ").concat(ye,"\n            color: ").concat(d||k,";\n\t\t}\n\n        ").concat(w?"\n                .eb-form-wrapper.".concat(r," .eb-textarea-field-wrapper.").concat(o," .eb-input-icon {\n                    left: ").concat(m||y).concat(g,";\n                }\n                .eb-form-wrapper.").concat(r," .eb-textarea-field-wrapper.").concat(o," .eb-field-input {\n                    padding-left: calc(").concat(f||h,"px + (").concat(m||(0==y?8:y)).concat(g||v," * 1.6));\n                }"):"","\n\t"),Be=hoe("\n\t\t".concat(ve,"\n\t\t").concat(ke,"\n\t\t").concat(Ee,"\n\t\t").concat(Se,"\n\t")),Te=hoe("\n\t\t".concat(he,"\n\t\t").concat(Re,"\n\t\t").concat(Ce,"\n\t")),Ne=hoe("\n\t\t".concat(we,"\n\t\t").concat(_e,"\n\t\t").concat(xe,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(Coe,{attributes:t,setAttributes:a,desktopAllStyles:Be,tabAllStyles:Te,mobileAllStyles:Ne,blockName:n}))}function Soe(e){return Soe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Soe(e)}function Boe(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Toe(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Boe(Object(a),!0).forEach((function(t){Noe(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Boe(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Noe(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=Soe(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=Soe(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Soe(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var Poe=EBControls,Ooe=(Poe.duplicateBlockIdFix,Poe.filterBlocksByName,Poe.getBlockParentClientId,Poe.EBDisplayIcon),Moe=Poe.DynamicInputValueHandler,Doe=Poe.BlockProps,joe=window.EBControls,Ioe=joe.EBDisplayIcon,Aoe=joe.BlockProps;function Loe(e){return Loe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Loe(e)}function Foe(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Hoe(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Foe(Object(a),!0).forEach((function(t){zoe(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Foe(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function zoe(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=Loe(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=Loe(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Loe(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var qoe=window.EBControls.EBDisplayIcon,Uoe=[{attributes:Hoe({},coe),supports:{align:["full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.showLabel,r=t.labelText,c=t.fieldName,l=t.textareaRows,i=t.defaultValue,s=t.placeholderText,b=t.isRequired,p=t.validationMessage,u=t.isIcon,d=t.icon,m=t.formStyle,g=Q.useBlockProps.save({className:"eb-form-field"});return React.createElement("div",g,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"".concat(a," eb-textarea-field-wrapper eb-field-wrapper")},o&&"form-style-modern"!=m&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:c},r," ",b&&React.createElement("span",{className:"eb-required"},"*"))),React.createElement("div",{className:"eb-field-input-wrap"},u&&d&&React.createElement(qoe,{icon:d,className:"eb-input-icon"}),React.createElement("textarea",{rows:l,cols:"100",id:c,className:"eb-field-input",name:c,placeholder:s},i),"form-style-modern"==m&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:c},r," ",b&&React.createElement("span",{className:"eb-required"},"*")))),b&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(c)},p)))))}},{attributes:Hoe({},coe),supports:{align:["full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.showLabel,r=t.labelText,c=t.fieldName,l=t.textareaRows,i=t.defaultValue,s=t.placeholderText,b=t.isRequired,p=t.validationMessage,u=t.isIcon,d=t.icon,m=t.formStyle,g=Q.useBlockProps.save({className:"eb-form-field"});return React.createElement("div",g,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"".concat(a," eb-textarea-field-wrapper eb-field-wrapper")},o&&"form-style-modern"!=m&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:c},r," ",b&&React.createElement("span",{className:"eb-required"},"*"))),React.createElement("div",{className:"eb-field-input-wrap"},u&&d&&React.createElement("i",{className:"".concat(d," eb-input-icon")}),React.createElement("textarea",{rows:l,cols:"100",id:c,className:"eb-field-input",name:c,placeholder:s},i),"form-style-modern"==m&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:c},r," ",b&&React.createElement("span",{className:"eb-required"},"*")))),b&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(c)},p)))))}}];const Voe=Uoe,Woe=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Textarea Field","apiVersion":2,"name":"essential-blocks/form-textarea-field","description":"Form Block Textarea Field","category":"essential-blocks","textdomain":"essential-blocks","ancestor":["essential-blocks/form"],"supports":{"anchor":true},"editorScript":"essential-blocks-editor-script"}');(0,EBControls.ebConditionalRegisterBlockType)(Woe,{keywords:[(0,Y.__)("EB Form","essential-blocks"),(0,Y.__)("Form Block","essential-blocks"),(0,Y.__)("Contact Form","essential-blocks"),(0,Y.__)("Subscription Form","essential-blocks")],icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"42",height:"39",fill:"none",viewBox:"0 0 42 39"},React.createElement("g",{fill:"#6C3BFF",clipPath:"url(#clip0_2_22411)"},React.createElement("path",{d:"M20.88 30.35a.92.92 0 01-.93-.92V10.4h-7.63c-.52 0-.92-.41-.92-.93s.41-.93.92-.93h17.1c.52 0 .92.41.92.93s-.41.93-.92.93h-7.63v19.03c0 .52-.41.92-.93.92h.02z"}),React.createElement("path",{d:"M6.63 38.9c-1.3 0-2.35-1.05-2.35-2.35V24.57l-.37-.1c-2.3-.6-3.9-2.67-3.9-5.03 0-2.36 1.6-4.43 3.9-5.03l.37-.1V2.35C4.28 1.05 5.33 0 6.63 0h28.5c1.3 0 2.35 1.05 2.35 2.35v11.98l.37.1c2.3.6 3.9 2.67 3.9 5.03 0 2.36-1.6 4.43-3.9 5.03l-.37.1v11.98c0 1.3-1.05 2.35-2.35 2.35H6.63v-.02zm-.5-24.58l.37.1c2.3.6 3.9 2.67 3.9 5.03 0 2.36-1.6 4.43-3.9 5.03l-.37.1v12.48h29.5V24.58l-.37-.1c-2.3-.6-3.9-2.67-3.9-5.03 0-2.36 1.6-4.43 3.9-5.03l.37-.1V1.85H6.13v12.48-.01zm30.43 1.77a3.35 3.35 0 100 6.7 3.35 3.35 0 000-6.7zm-31.35 0a3.35 3.35 0 100 6.7 3.35 3.35 0 000-6.7z"})),React.createElement("defs",null,React.createElement("clipPath",{id:"clip0_2_22411"},React.createElement("path",{fill:"#fff",d:"M0 0H41.75V38.9H0z"}))))},attributes:coe,edit:function(e){var t=e.attributes,a=e.setAttributes,n=e.isSelected,o=e.clientId,r=(e.className,e.name,t.resOption,t.blockMeta,t.parentBlockId,t.blockId),c=t.classHook,l=t.showLabel,i=t.labelText,s=t.fieldName,b=t.textareaRows,p=t.defaultValue,u=t.placeholderText,d=t.isRequired,m=(t.validationRules,t.validationMessage),g=t.isIcon,f=t.icon,y=t.formStyle,v=(t.parentBlockPaddingLeft,t.parentBlockPaddingUnit,t.parentBlockIconSize,t.parentIconColor,Toe(Toe({},e),{},{blockPrefix:"eb-textarea-field",rootClass:"eb-guten-block-main-parent-wrapper eb-form-field",style:React.createElement(xoe,e)}));return(0,J.useEffect)((function(){var e=Noe({},s,{isRequired:{status:d,message:m}});a({validationRules:e})}),[d,s,m]),React.createElement(React.Fragment,null,n&&React.createElement(yoe,{clientId:o,attributes:t,setAttributes:a}),React.createElement(Doe.Edit,v,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(r," ").concat(c)},React.createElement("div",{className:"".concat(r," eb-textarea-field-wrapper eb-field-wrapper")},l&&"form-style-modern"!=y&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:s},React.createElement(Moe,{value:i,onChange:function(e){return a({labelText:e})},readOnly:!0})," ",d&&React.createElement("span",{className:"eb-required"},"*"))),React.createElement("div",{className:"eb-field-input-wrap"},g&&f&&React.createElement(Ooe,{icon:f,className:"eb-input-icon"}),React.createElement("textarea",{rows:b,cols:"100",id:s,className:"eb-field-input",name:s,placeholder:u},p),"form-style-modern"==y&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:s},i," ",d&&React.createElement("span",{className:"eb-required"},"*")))),d&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(s)},m))))))},save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.showLabel,r=t.labelText,c=t.fieldName,l=t.textareaRows,i=t.defaultValue,s=t.placeholderText,b=t.isRequired,p=t.validationMessage,u=t.isIcon,d=t.icon,m=t.formStyle;return Q.useBlockProps.save({className:"eb-form-field"}),React.createElement(Aoe.Save,{attributes:t,rootClass:"eb-form-field"},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"".concat(a," eb-textarea-field-wrapper eb-field-wrapper")},o&&"form-style-modern"!=m&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:c},r," ",b&&React.createElement("span",{className:"eb-required"},"*"))),React.createElement("div",{className:"eb-field-input-wrap"},u&&d&&React.createElement(Ioe,{icon:d,className:"eb-input-icon"}),React.createElement("textarea",{rows:l,cols:"100",id:c,className:"eb-field-input",name:c,placeholder:s},i),"form-style-modern"==m&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:c},r," ",b&&React.createElement("span",{className:"eb-required"},"*")))),b&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(c)},p)))))},example:{},deprecated:Voe});var Goe="wrprBg",Zoe="wrpMargin",Yoe="wrpPadding",Joe="wrpBorderShadow",Qoe="labelMargin",Xoe="fieldBorder",$oe="fieldPadding",Koe="iconSize",ere=((0,Y.__)("Preset 1"),(0,Y.__)("Preset 2"),(0,Y.__)("Preset 3"),(0,Y.__)("Preset 4"),(0,Y.__)("Left"),(0,Y.__)("Center"),(0,Y.__)("Right"),(0,Y.__)("Left"),(0,Y.__)("Center"),(0,Y.__)("Right"),(0,Y.__)("Top"),(0,Y.__)("Middle"),(0,Y.__)("Bottom"),(0,Y.__)("H1","essential-blocks"),(0,Y.__)("H2","essential-blocks"),(0,Y.__)("H3","essential-blocks"),(0,Y.__)("H4","essential-blocks"),(0,Y.__)("H5","essential-blocks"),(0,Y.__)("H6","essential-blocks"),(0,Y.__)("P","essential-blocks"),(0,Y.__)("DIV","essential-blocks"),(0,Y.__)("SPAN","essential-blocks"),(0,Y.__)("Fill"),(0,Y.__)("Gradient"),(0,Y.__)("Image"),(0,Y.__)("Auto"),(0,Y.__)("Cover"),(0,Y.__)("Contain"),(0,Y.__)("None"),(0,Y.__)("Dashed"),(0,Y.__)("Solid"),(0,Y.__)("Dotted"),(0,Y.__)("Double"),(0,Y.__)("Groove"),(0,Y.__)("Inset"),(0,Y.__)("Outset"),(0,Y.__)("Ridge"),(0,Y.__)("Select Hover Effect","essential-blocks"),(0,Y.__)("Grow","essential-blocks"),(0,Y.__)("Shrink","essential-blocks"),(0,Y.__)("Pulse","essential-blocks"),(0,Y.__)("Pulse Grow","essential-blocks"),(0,Y.__)("Pulse Shrink","essential-blocks"),(0,Y.__)("Push","essential-blocks"),(0,Y.__)("Pop","essential-blocks"),(0,Y.__)("Bounce In","essential-blocks"),(0,Y.__)("Bounce Out","essential-blocks"),(0,Y.__)("Rotate","essential-blocks"),(0,Y.__)("Grow Rotate","essential-blocks"),(0,Y.__)("Float","essential-blocks"),(0,Y.__)("Sink","essential-blocks"),(0,Y.__)("Bob","essential-blocks"),(0,Y.__)("Hang","essential-blocks"),(0,Y.__)("Skew","essential-blocks"),(0,Y.__)("Skew Forward","essential-blocks"),(0,Y.__)("Skew Backward","essential-blocks"),(0,Y.__)("Wobble Horizontal","essential-blocks"),(0,Y.__)("Wobble Vertical","essential-blocks"),(0,Y.__)("Wobble To Bottom Right","essential-blocks"),(0,Y.__)("Wobble To Top Right","essential-blocks"),(0,Y.__)("Wobble Top","essential-blocks"),(0,Y.__)("Wobble Bottom","essential-blocks"),(0,Y.__)("Wobble Skew","essential-blocks"),(0,Y.__)("Buzz","essential-blocks"),(0,Y.__)("Buzz Out","essential-blocks"),(0,Y.__)("Forward","essential-blocks"),(0,Y.__)("Fade","essential-blocks"),(0,Y.__)("Back Pulse","essential-blocks"),(0,Y.__)("Sweep To Right","essential-blocks"),(0,Y.__)("Sweep To Left","essential-blocks"),(0,Y.__)("Sweep To Bottom","essential-blocks"),(0,Y.__)("Sweep To Top","essential-blocks"),(0,Y.__)("Bounce To Right","essential-blocks"),(0,Y.__)("Bounce To Left","essential-blocks"),(0,Y.__)("Bounce To Bottom","essential-blocks"),(0,Y.__)("Bounce To Top","essential-blocks"),(0,Y.__)("Radial Out","essential-blocks"),(0,Y.__)("Radial In","essential-blocks"),(0,Y.__)("Rectangle In","essential-blocks"),(0,Y.__)("Rectangle Out","essential-blocks"),(0,Y.__)("Shutter In Horizontal","essential-blocks"),(0,Y.__)("Shutter Out Horizontal","essential-blocks"),(0,Y.__)("Shutter In Vertical","essential-blocks"),(0,Y.__)("Shutter Out Vertical","essential-blocks"),(0,Y.__)("Curl Top Left","essential-blocks"),(0,Y.__)("Curl Top Right","essential-blocks"),(0,Y.__)("Curl Bottom Right","essential-blocks"),(0,Y.__)("Curl Bottom Left","essential-blocks"),"label_"),tre="validationText_",are="field_";function nre(e){return nre="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},nre(e)}function ore(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function rre(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ore(Object(a),!0).forEach((function(t){cre(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ore(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function cre(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=nre(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=nre(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==nre(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var lre=EBControls,ire=lre.generateDimensionsAttributes,sre=lre.generateTypographyAttributes,bre=lre.generateBackgroundAttributes,pre=lre.generateBorderShadowAttributes,ure=lre.generateResponsiveRangeAttributes;const dre=rre(rre(rre(rre(rre(rre(rre(rre(rre({resOption:{type:"string",default:"Desktop"},parentBlockId:{type:"string"},parentBlockPaddingLeft:{type:"string"},parentBlockPaddingUnit:{type:"string"},parentBlockIconSize:{type:"string"},parentIconColor:{type:"string"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},formStyle:{type:"string"},showLabel:{type:"boolean",default:!0},labelText:{type:"string",default:"Email"},fieldName:{type:"string"},placeholderText:{type:"string",default:"Enter your email here..."},defaultValue:{type:"string"},isRequired:{type:"boolean",default:!0},validationRules:{type:"object"},validationMessage:{type:"string",default:"This field is required."},emailValidationMessage:{type:"string",default:"The email address isn't valid"},labelColor:{type:"string"},requiredColor:{type:"string"},fieldColor:{type:"string"},fieldPlaceholderColor:{type:"string"},fieldBgColor:{type:"string"},fieldValidationColor:{type:"string"},fieldValidationBorderColor:{type:"string"},isIcon:{type:"boolean",default:!1},icon:{type:"string",default:"far fa-envelope"},iconColor:{type:"string"}},sre(Object.values(q))),ire(Zoe)),ire(Yoe)),bre(Goe)),pre(Joe)),ire($oe)),pre(Xoe)),ire(Qoe)),ure(Koe));var mre=EBControls,gre=mre.BackgroundControl,fre=mre.BorderShadowControl,yre=mre.ColorControl,vre=mre.ResponsiveRangeController,hre=mre.ResponsiveDimensionsControl,wre=mre.TypographyDropdown,kre=mre.AdvancedControls,Rre=mre.EBIconPicker,_re=mre.DynamicInputControl;const Ere=function(e){var t=e.attributes,a=e.setAttributes,n=(e.clientId,t.blockId,t.resOption),o=t.showLabel,r=t.labelText,c=t.fieldName,l=t.defaultValue,i=t.placeholderText,s=t.isRequired,b=t.validationMessage,p=t.emailValidationMessage,u=t.labelColor,d=t.requiredColor,m=t.fieldColor,g=t.fieldPlaceholderColor,f=t.fieldBgColor,y=t.fieldValidationColor,v=t.fieldValidationBorderColor,h=t.isIcon,w=t.icon,k=t.iconColor,R={setAttributes:a,resOption:n,attributes:t,objAttributes:dre};return React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:"General",className:"eb-tab general"},{name:"styles",title:"Style",className:"eb-tab styles"},{name:"advance",title:"Advanced",className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls"+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("General","essential-blocks"),initialOpen:!0},React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Label?","essential-blocks"),checked:o,onChange:function(){return a({showLabel:!o})}}),o&&React.createElement(_re,{label:(0,Y.__)("Label Text","essential-blocks"),attrName:"labelText",inputValue:r,setAttributes:a,onChange:function(e){return a({labelText:e})}}),React.createElement(_re,{label:(0,Y.__)("Placeholder Text","essential-blocks"),attrName:"placeholderText",inputValue:i,setAttributes:a,onChange:function(e){return a({placeholderText:e})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Required?","essential-blocks"),checked:s,onChange:function(){return a({isRequired:!s})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Icon?","essential-blocks"),checked:h,onChange:function(){return a({isIcon:!h})}}),h&&React.createElement(React.Fragment,null,React.createElement(Rre,{value:w,onChange:function(e){return a({icon:e})}}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Advanced Settings","essential-blocks"),initialOpen:!0},React.createElement(X.TextControl,{label:(0,Y.__)("Default Value","essential-blocks"),value:l,onChange:function(e){return a({defaultValue:e})},help:"Leave empty if no default value."}),React.createElement(X.TextControl,{label:(0,Y.__)("Field Custom Name Attribute","essential-blocks"),value:c,onChange:function(e){return a({fieldName:e})},help:"This is for the name attributes which is used to submit form data, Name must be unique."}),s&&React.createElement(X.TextControl,{label:(0,Y.__)("Custom Validation Message","essential-blocks"),value:b,onChange:function(e){return a({validationMessage:e})}}),React.createElement(X.TextControl,{label:(0,Y.__)("Invalid Email Validation Message","essential-blocks"),value:p,onChange:function(e){return a({emailValidationMessage:e})}}))),"styles"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Label","essential-blocks"),initialOpen:!0},React.createElement(wre,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:ere,resRequiredProps:R}),React.createElement(yre,{label:(0,Y.__)("Color","essential-blocks"),color:u,onChange:function(e){return a({labelColor:e})}}),React.createElement(yre,{label:(0,Y.__)("Requied Color","essential-blocks"),color:d,onChange:function(e){return a({requiredColor:e})}}),React.createElement(hre,{resRequiredProps:R,controlName:Qoe,baseLabel:(0,Y.__)("Margin","essential-blocks")})),React.createElement(X.PanelBody,{title:(0,Y.__)("Field","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(wre,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:are,resRequiredProps:R}),React.createElement(yre,{label:(0,Y.__)("Color","essential-blocks"),color:m,onChange:function(e){return a({fieldColor:e})}}),React.createElement(yre,{label:(0,Y.__)("Placeholder Color","essential-blocks"),color:g,onChange:function(e){return a({fieldPlaceholderColor:e})}}),React.createElement(yre,{label:(0,Y.__)("Background","essential-blocks"),color:f,onChange:function(e){return a({fieldBgColor:e})}}),React.createElement(hre,{resRequiredProps:R,controlName:$oe,baseLabel:(0,Y.__)("Padding","essential-blocks")}),React.createElement(X.PanelBody,{title:(0,Y.__)("Border","essential-blocks"),initialOpen:!1},React.createElement(fre,{controlName:Xoe,resRequiredProps:R})),React.createElement(X.PanelBody,{title:(0,Y.__)("Validation","essential-blocks"),initialOpen:!1},React.createElement(wre,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:tre,resRequiredProps:R}),React.createElement(yre,{label:(0,Y.__)("Color","essential-blocks"),color:y,onChange:function(e){return a({fieldValidationColor:e})}}),React.createElement(yre,{label:(0,Y.__)("Fields Border Color","essential-blocks"),color:v,onChange:function(e){return a({fieldValidationBorderColor:e})}})))),h&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Icon","essential-blocks"),initialOpen:!1},React.createElement(yre,{label:(0,Y.__)("Color","essential-blocks"),color:k,onChange:function(e){return a({iconColor:e})}}),React.createElement(vre,{baseLabel:(0,Y.__)("Size (PX)","essential-blocks"),controlName:Koe,resRequiredProps:R,min:1,max:100,step:1,noUnits:!0})))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Margin Padding","essential-blocks")},React.createElement(hre,{resRequiredProps:R,controlName:Zoe,baseLabel:"Margin"}),React.createElement(hre,{resRequiredProps:R,controlName:Yoe,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Background","essential-blocks"),initialOpen:!1},React.createElement(gre,{controlName:Goe,resRequiredProps:R})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(fre,{controlName:Joe,resRequiredProps:R})),React.createElement(kre,{attributes:t,setAttributes:a})))}))))};var Cre=window.EBControls,xre=Cre.softMinifyCssStrings,Sre=Cre.generateTypographyStyles,Bre=Cre.generateDimensionsControlStyles,Tre=Cre.generateBorderShadowStyles,Nre=Cre.generateResponsiveRangeStyles,Pre=Cre.generateBackgroundControlStyles,Ore=Cre.StyleComponent;function Mre(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.parentBlockId,r=t.blockId,c=(t.blockMeta,t.resOption,t.labelColor),l=t.requiredColor,i=t.fieldColor,s=t.fieldPlaceholderColor,b=t.fieldBgColor,p=t.fieldValidationColor,u=t.fieldValidationBorderColor,d=t.iconColor,m=t.fieldPaddingLeft,g=t.fieldPaddingUnit,f=t.iconSizeRange,y=t.parentBlockPaddingLeft,v=t.parentBlockPaddingUnit,h=t.parentBlockIconSize,w=t.isIcon,k=t.parentIconColor,R=Bre({controlName:Zoe,styleFor:"margin",attributes:t}),_=R.dimensionStylesDesktop,E=R.dimensionStylesTab,C=R.dimensionStylesMobile,x=Bre({controlName:Yoe,styleFor:"padding",attributes:t}),S=x.dimensionStylesDesktop,B=x.dimensionStylesTab,T=x.dimensionStylesMobile,N=Tre({controlName:Joe,attributes:t}),P=N.styesDesktop,O=N.styesTab,M=N.styesMobile,D=N.stylesHoverDesktop,j=N.stylesHoverTab,I=N.stylesHoverMobile,A=N.transitionStyle,L=Pre({attributes:t,controlName:Goe,noOverlay:!0}),F=L.backgroundStylesDesktop,H=L.hoverBackgroundStylesDesktop,z=L.backgroundStylesTab,q=L.hoverBackgroundStylesTab,U=L.backgroundStylesMobile,V=L.hoverBackgroundStylesMobile,W=L.bgTransitionStyle,G=Sre({attributes:t,prefixConstant:ere}),Z=G.typoStylesDesktop,Y=G.typoStylesTab,J=G.typoStylesMobile,Q=Bre({controlName:Qoe,styleFor:"margin",attributes:t}),X=Q.dimensionStylesDesktop,$=Q.dimensionStylesTab,K=Q.dimensionStylesMobile,ee=Sre({attributes:t,prefixConstant:are}),te=ee.typoStylesDesktop,ae=ee.typoStylesTab,ne=(ee.typoStylesMobile,Sre({attributes:t,prefixConstant:tre})),oe=ne.typoStylesDesktop,re=ne.typoStylesTab,ce=(ne.typoStylesMobile,Bre({controlName:$oe,styleFor:"padding",attributes:t})),le=ce.dimensionStylesDesktop,ie=ce.dimensionStylesTab,se=(ce.dimensionStylesMobile,Tre({controlName:Xoe,attributes:t})),be=se.styesDesktop,pe=se.styesTab,ue=(se.styesMobile,se.stylesHoverDesktop,se.stylesHoverTab,se.stylesHoverMobile,se.transitionStyle,Nre({controlName:Koe,property:"font-size",attributes:t,customUnit:"px"})),de=ue.rangeStylesDesktop,me=(ue.rangeStylesTab,ue.rangeStylesMobile,"\n\t\t.eb-email-field-wrapper.".concat(r,"{\n\t\t\t").concat(_,"\n\t\t\t").concat(S,"\n\t\t\t").concat(F,"\n\t\t\t").concat(P,"\n\t\t\ttransition: ").concat(W,", ").concat(A,";\n\t\t}\n\t\t.eb-email-field-wrapper.").concat(r,":hover {\n\t\t\t").concat(H,"\n\t\t\t").concat(D,"\n\t\t}\n\t")),ge="\n\t\t.eb-email-field-wrapper.".concat(r,"{\n\t\t\t").concat(E,"\n\t\t\t").concat(B,"\n\t\t\t").concat(z,"\n\t\t\t").concat(O,"\n\t\t}\n\t\t.eb-email-field-wrapper.").concat(r,":hover {\n\t\t\t").concat(q,"\n\t\t\t").concat(j,"\n\t\t}\n\n\t"),fe="\n\t\t.eb-email-field-wrapper.".concat(r,"{\n\t\t\t").concat(C,"\n\t\t\t").concat(T,"\n\t\t\t").concat(U,"\n\t\t\t").concat(M,"\n\t\t}\n\t\t.eb-email-field-wrapper.").concat(r,":hover {\n\t\t\t").concat(V,"\n\t\t\t").concat(I,"\n\t\t}\n\n\t"),ye="\n        .eb-form-wrapper.".concat(o," .eb-email-field-wrapper.").concat(r," > label {\n\t\t\tcolor: ").concat(c,";\n            ").concat(Z,"\n            ").concat(X,"\n\t\t}\n        .eb-form-wrapper.").concat(o," .eb-email-field-wrapper.").concat(r," .eb-required{\n            color: ").concat(l,";\n        }\n\t"),ve="\n        .eb-form-wrapper.".concat(o," .eb-email-field-wrapper.").concat(r," > label {\n\t\t\t").concat(Y,"\n            ").concat($,"\n\t\t}\n\t"),he="\n\t\t.eb-form-wrapper.".concat(o," .eb-email-field-wrapper.").concat(r," > label {\n            ").concat(J,"\n            ").concat(K,"\n\t\t}\n\t"),we="\n\t\t.eb-form-wrapper.".concat(o," .eb-email-field-wrapper.").concat(r," .eb-field-input {\n\t\t\tcolor: ").concat(i,";\n\t\t\tbackground-color: ").concat(b,";\n            ").concat(te,"\n            ").concat(le,"\n            ").concat(be,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(o," .eb-email-field-wrapper.").concat(r," .eb-field-input::placeholder {\n\t\t\tcolor: ").concat(s,";\n\t\t}\n\n\t\t.eb-form-wrapper.").concat(o," .eb-email-field-wrapper.").concat(r,".eb-validation-error .eb-form-validation {\n            ").concat(oe,"\n\t\t\tcolor: ").concat(p,";\n\t\t}\n\t\t.eb-form-wrapper.").concat(o," .eb-email-field-wrapper.").concat(r,".eb-validation-error .eb-field-input {\n\t\t\tborder-color: ").concat(u,";\n\t\t}\n\t"),ke="\n\t\t.eb-form-wrapper.".concat(o," .eb-email-field-wrapper.").concat(r," .eb-field-input {\n            ").concat(ae,"\n            ").concat(ie,"\n            ").concat(pe,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(o," .eb-email-field-wrapper.").concat(r,".eb-validation-error .eb-form-validation {\n            ").concat(re,"\n\t\t}\n\t"),Re="\n\t\t.eb-form-wrapper.".concat(o," .eb-email-field-wrapper.").concat(r," .eb-field-input {\n            ").concat(ae,"\n            ").concat(ie,"\n            ").concat(pe,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(o," .eb-email-field-wrapper.").concat(r,".eb-validation-error .eb-form-validation {\n            ").concat(re,"\n\t\t}\n\t"),_e="\n\t\t.eb-form-wrapper.".concat(o," .eb-email-field-wrapper.").concat(r," .eb-input-icon {\n            ").concat(de,"\n            color: ").concat(d||k,";\n\t\t}\n\n        ").concat(w?"\n                .eb-form-wrapper.".concat(o," .eb-email-field-wrapper.").concat(r," .eb-input-icon {\n                    left: ").concat(m||y).concat(g,";\n                }\n                .eb-form-wrapper.").concat(o," .eb-email-field-wrapper.").concat(r," .eb-field-input {\n                    padding-left: calc(").concat(f||h,"px + (").concat(m||(0==y?8:y)).concat(g||v," * 1.6));\n                }"):"","\n\t"),Ee=xre("\n\t\t".concat(me,"\n\t\t").concat(ye,"\n\t\t").concat(we,"\n\t\t").concat(_e,"\n\t")),Ce=xre("\n\t\t".concat(ge,"\n\t\t").concat(ve,"\n\t\t").concat(ke,"\n\t")),xe=xre("\n\t\t".concat(fe,"\n\t\t").concat(he,"\n\t\t").concat(Re,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(Ore,{attributes:t,setAttributes:a,desktopAllStyles:Ee,tabAllStyles:Ce,mobileAllStyles:xe,blockName:n}))}function Dre(e){return Dre="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Dre(e)}function jre(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Ire(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?jre(Object(a),!0).forEach((function(t){Are(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):jre(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Are(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=Dre(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=Dre(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Dre(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var Lre=EBControls,Fre=(Lre.duplicateBlockIdFix,Lre.filterBlocksByName,Lre.getBlockParentClientId,Lre.EBDisplayIcon),Hre=Lre.DynamicInputValueHandler,zre=Lre.BlockProps,qre=window.EBControls,Ure=qre.EBDisplayIcon,Vre=qre.BlockProps;function Wre(e){return Wre="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Wre(e)}function Gre(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Zre(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Gre(Object(a),!0).forEach((function(t){Yre(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Gre(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Yre(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=Wre(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=Wre(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Wre(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var Jre=window.EBControls.EBDisplayIcon,Qre=[{attributes:Zre({},dre),supports:{align:["full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.showLabel,r=t.labelText,c=t.fieldName,l=t.defaultValue,i=t.placeholderText,s=t.isRequired,b=t.validationMessage,p=t.isIcon,u=t.icon,d=t.formStyle,m=Q.useBlockProps.save({className:"eb-form-field"});return React.createElement("div",m,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"".concat(a," eb-email-field-wrapper eb-field-wrapper")},o&&"form-style-modern"!=d&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:c},r," ",s&&React.createElement("span",{className:"eb-required"},"*"))),React.createElement("div",{className:"eb-field-input-wrap"},p&&u&&React.createElement(Jre,{icon:u,className:"eb-input-icon"}),React.createElement("input",{type:"email",id:c,name:c,className:"eb-field-input",value:l,placeholder:i,required:s}),"form-style-modern"==d&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:c,className:"eb-field-label"},r," ",s&&React.createElement("span",{className:"eb-required"},"*")))),s&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(c)},b)))))}},{attributes:Zre({},dre),supports:{align:["full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.showLabel,r=t.labelText,c=t.fieldName,l=t.defaultValue,i=t.placeholderText,s=t.isRequired,b=t.validationMessage,p=t.isIcon,u=t.icon,d=t.formStyle,m=Q.useBlockProps.save({className:"eb-form-field"});return React.createElement("div",m,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"".concat(a," eb-email-field-wrapper eb-field-wrapper")},o&&"form-style-modern"!=d&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:c},r," ",s&&React.createElement("span",{className:"eb-required"},"*"))),React.createElement("div",{className:"eb-field-input-wrap"},p&&u&&React.createElement("i",{className:"".concat(u," eb-input-icon")}),React.createElement("input",{type:"email",id:c,name:c,className:"eb-field-input",value:l,placeholder:i,required:s}),"form-style-modern"==d&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:c,className:"eb-field-label"},r," ",s&&React.createElement("span",{className:"eb-required"},"*")))),s&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(c)},b)))))}}];const Xre=Qre,$re=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Email Field","apiVersion":2,"name":"essential-blocks/form-email-field","description":"Form Block Text Field","category":"essential-blocks","textdomain":"essential-blocks","ancestor":["essential-blocks/form"],"supports":{"anchor":true},"editorScript":"essential-blocks-editor-script"}');(0,EBControls.ebConditionalRegisterBlockType)($re,{keywords:[(0,Y.__)("EB Form","essential-blocks"),(0,Y.__)("Form Block","essential-blocks"),(0,Y.__)("Contact Form","essential-blocks"),(0,Y.__)("Subscription Form","essential-blocks")],icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"51",height:"36",fill:"none",viewBox:"0 0 51 36"},React.createElement("g",{fill:"#6C3BFF",clipPath:"url(#clip0_2_22403)"},React.createElement("path",{d:"M48.9 1.1C48.22.42 47.28 0 46.24 0H3.78A3.79 3.79 0 000 3.78v27.46c0 2.08 1.7 3.78 3.78 3.78h42.46c2.08 0 3.78-1.7 3.78-3.78V3.78c0-1.05-.43-1.99-1.12-2.68zm-.78 2.68v27.46c0 1.04-.84 1.88-1.88 1.88H3.78c-1.04 0-1.88-.84-1.88-1.88V3.78c0-.21.04-.41.11-.6l19.44 17.47c.98.88 2.25 1.37 3.56 1.37s2.58-.49 3.56-1.37L48.01 3.18c.07.19.11.39.11.6zM27.3 19.24a3.417 3.417 0 01-4.58 0L3.46 1.93c.1-.02.21-.03.32-.03h42.46c.11 0 .21.01.32.03L27.3 19.24z"}),React.createElement("path",{d:"M31.82 7.09H18.2c-.52 0-.95.43-.95.95s.43.95.95.95h13.62c.52 0 .95-.43.95-.95s-.43-.95-.95-.95z"})),React.createElement("defs",null,React.createElement("clipPath",{id:"clip0_2_22403"},React.createElement("path",{fill:"#fff",d:"M0 0H50.02V35.02H0z"}))))},attributes:dre,edit:function(e){var t=e.attributes,a=e.setAttributes,n=e.isSelected,o=e.clientId,r=(e.className,e.name,t.resOption,t.blockMeta,t.parentBlockId,t.blockId),c=t.classHook,l=t.showLabel,i=t.labelText,s=t.fieldName,b=t.defaultValue,p=t.placeholderText,u=t.isRequired,d=t.validationMessage,m=(t.validationRules,t.emailValidationMessage),g=t.isIcon,f=t.icon,y=t.formStyle,v=(t.parentBlockPaddingLeft,t.parentBlockPaddingUnit,t.parentBlockIconSize,t.parentIconColor,Ire(Ire({},e),{},{blockPrefix:"eb-email-field",rootClass:"eb-guten-block-main-parent-wrapper eb-form-field",style:React.createElement(Mre,e)}));return(0,J.useEffect)((function(){var e=Are({},s,{isRequired:{status:u,message:d},isEmail:{message:m}});a({validationRules:e})}),[u,s,d,m]),React.createElement(React.Fragment,null,n&&React.createElement(Ere,{clientId:o,attributes:t,setAttributes:a}),React.createElement(zre.Edit,v,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(r," ").concat(c)},React.createElement("div",{className:"".concat(r," eb-email-field-wrapper eb-field-wrapper")},l&&"form-style-modern"!=y&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:s},React.createElement(Hre,{value:i,onChange:function(e){return a({labelText:e})},readOnly:!0})," ",u&&React.createElement("span",{className:"eb-required"},"*"))),React.createElement("div",{className:"eb-field-input-wrap"},g&&f&&React.createElement(Fre,{icon:f,className:"eb-input-icon"}),React.createElement("input",{type:"email",id:s,name:s,className:"eb-field-input",value:b,placeholder:p,required:u}),"form-style-modern"==y&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:s},React.createElement(Hre,{value:i,onChange:function(e){return a({labelText:e})},readOnly:!0})," ",u&&React.createElement("span",{className:"eb-required"},"*")))),u&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(s)},d))))))},save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.showLabel,r=t.labelText,c=t.fieldName,l=t.defaultValue,i=t.placeholderText,s=t.isRequired,b=t.validationMessage,p=t.isIcon,u=t.icon,d=t.formStyle;return React.createElement(Vre.Save,{attributes:t,rootClass:"eb-form-field"},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"".concat(a," eb-email-field-wrapper eb-field-wrapper")},o&&"form-style-modern"!=d&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:c},r," ",s&&React.createElement("span",{className:"eb-required"},"*"))),React.createElement("div",{className:"eb-field-input-wrap"},p&&u&&React.createElement(Ure,{icon:u,className:"eb-input-icon"}),React.createElement("input",{type:"email",id:c,name:c,className:"eb-field-input",value:l,placeholder:i,required:s}),"form-style-modern"==d&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:c,className:"eb-field-label"},r," ",s&&React.createElement("span",{className:"eb-required"},"*")))),s&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(c)},b)))))},example:{},deprecated:Xre});var Kre="wrprBg",ece="wrpMargin",tce="wrpPadding",ace="wrpBorderShadow",nce="labelMargin",oce="fieldBorder",rce="fieldPadding",cce="iconSize",lce=((0,Y.__)("Preset 1"),(0,Y.__)("Preset 2"),(0,Y.__)("Preset 3"),(0,Y.__)("Preset 4"),(0,Y.__)("Left"),(0,Y.__)("Center"),(0,Y.__)("Right"),(0,Y.__)("Left"),(0,Y.__)("Center"),(0,Y.__)("Right"),(0,Y.__)("Top"),(0,Y.__)("Middle"),(0,Y.__)("Bottom"),(0,Y.__)("H1","essential-blocks"),(0,Y.__)("H2","essential-blocks"),(0,Y.__)("H3","essential-blocks"),(0,Y.__)("H4","essential-blocks"),(0,Y.__)("H5","essential-blocks"),(0,Y.__)("H6","essential-blocks"),(0,Y.__)("P","essential-blocks"),(0,Y.__)("DIV","essential-blocks"),(0,Y.__)("SPAN","essential-blocks"),(0,Y.__)("Fill"),(0,Y.__)("Gradient"),(0,Y.__)("Image"),(0,Y.__)("Auto"),(0,Y.__)("Cover"),(0,Y.__)("Contain"),(0,Y.__)("None"),(0,Y.__)("Dashed"),(0,Y.__)("Solid"),(0,Y.__)("Dotted"),(0,Y.__)("Double"),(0,Y.__)("Groove"),(0,Y.__)("Inset"),(0,Y.__)("Outset"),(0,Y.__)("Ridge"),(0,Y.__)("Select Hover Effect","essential-blocks"),(0,Y.__)("Grow","essential-blocks"),(0,Y.__)("Shrink","essential-blocks"),(0,Y.__)("Pulse","essential-blocks"),(0,Y.__)("Pulse Grow","essential-blocks"),(0,Y.__)("Pulse Shrink","essential-blocks"),(0,Y.__)("Push","essential-blocks"),(0,Y.__)("Pop","essential-blocks"),(0,Y.__)("Bounce In","essential-blocks"),(0,Y.__)("Bounce Out","essential-blocks"),(0,Y.__)("Rotate","essential-blocks"),(0,Y.__)("Grow Rotate","essential-blocks"),(0,Y.__)("Float","essential-blocks"),(0,Y.__)("Sink","essential-blocks"),(0,Y.__)("Bob","essential-blocks"),(0,Y.__)("Hang","essential-blocks"),(0,Y.__)("Skew","essential-blocks"),(0,Y.__)("Skew Forward","essential-blocks"),(0,Y.__)("Skew Backward","essential-blocks"),(0,Y.__)("Wobble Horizontal","essential-blocks"),(0,Y.__)("Wobble Vertical","essential-blocks"),(0,Y.__)("Wobble To Bottom Right","essential-blocks"),(0,Y.__)("Wobble To Top Right","essential-blocks"),(0,Y.__)("Wobble Top","essential-blocks"),(0,Y.__)("Wobble Bottom","essential-blocks"),(0,Y.__)("Wobble Skew","essential-blocks"),(0,Y.__)("Buzz","essential-blocks"),(0,Y.__)("Buzz Out","essential-blocks"),(0,Y.__)("Forward","essential-blocks"),(0,Y.__)("Fade","essential-blocks"),(0,Y.__)("Back Pulse","essential-blocks"),(0,Y.__)("Sweep To Right","essential-blocks"),(0,Y.__)("Sweep To Left","essential-blocks"),(0,Y.__)("Sweep To Bottom","essential-blocks"),(0,Y.__)("Sweep To Top","essential-blocks"),(0,Y.__)("Bounce To Right","essential-blocks"),(0,Y.__)("Bounce To Left","essential-blocks"),(0,Y.__)("Bounce To Bottom","essential-blocks"),(0,Y.__)("Bounce To Top","essential-blocks"),(0,Y.__)("Radial Out","essential-blocks"),(0,Y.__)("Radial In","essential-blocks"),(0,Y.__)("Rectangle In","essential-blocks"),(0,Y.__)("Rectangle Out","essential-blocks"),(0,Y.__)("Shutter In Horizontal","essential-blocks"),(0,Y.__)("Shutter Out Horizontal","essential-blocks"),(0,Y.__)("Shutter In Vertical","essential-blocks"),(0,Y.__)("Shutter Out Vertical","essential-blocks"),(0,Y.__)("Curl Top Left","essential-blocks"),(0,Y.__)("Curl Top Right","essential-blocks"),(0,Y.__)("Curl Bottom Right","essential-blocks"),(0,Y.__)("Curl Bottom Left","essential-blocks"),"label_"),ice="validationText_",sce="field_";function bce(e){return bce="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},bce(e)}function pce(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function uce(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?pce(Object(a),!0).forEach((function(t){dce(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):pce(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function dce(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=bce(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=bce(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==bce(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var mce=EBControls,gce=mce.generateDimensionsAttributes,fce=mce.generateTypographyAttributes,yce=mce.generateBackgroundAttributes,vce=mce.generateBorderShadowAttributes,hce=mce.generateResponsiveRangeAttributes;const wce=uce(uce(uce(uce(uce(uce(uce(uce(uce({resOption:{type:"string",default:"Desktop"},parentBlockId:{type:"string"},parentBlockPaddingLeft:{type:"string"},parentBlockPaddingUnit:{type:"string"},parentBlockIconSize:{type:"string"},parentIconColor:{type:"string"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},formStyle:{type:"string"},showLabel:{type:"boolean",default:!0},labelText:{type:"string",default:"Field Title"},fieldName:{type:"string"},placeholderText:{type:"string",default:"Enter your number here..."},defaultValue:{type:"string"},isRequired:{type:"boolean",default:!0},validationRules:{type:"object"},validationMessage:{type:"string",default:"This field is required."},numberValidationMessage:{type:"string",default:"Invalid Number"},labelColor:{type:"string"},requiredColor:{type:"string"},fieldColor:{type:"string"},fieldPlaceholderColor:{type:"string"},fieldBgColor:{type:"string"},fieldValidationColor:{type:"string"},fieldValidationBorderColor:{type:"string"},isIcon:{type:"boolean",default:!0},icon:{type:"string",default:"fas fa-phone"},iconColor:{type:"string"}},fce(Object.values(U))),gce(ece)),gce(tce)),yce(Kre)),vce(ace)),gce(rce)),vce(oce)),gce(nce)),hce(cce));var kce=EBControls,Rce=kce.BackgroundControl,_ce=kce.BorderShadowControl,Ece=kce.ColorControl,Cce=kce.ResponsiveRangeController,xce=kce.ResponsiveDimensionsControl,Sce=kce.TypographyDropdown,Bce=kce.AdvancedControls,Tce=kce.EBIconPicker,Nce=kce.DynamicInputControl;const Pce=function(e){var t=e.attributes,a=e.setAttributes,n=(e.clientId,t.blockId,t.resOption),o=t.showLabel,r=t.labelText,c=t.fieldName,l=t.defaultValue,i=t.placeholderText,s=t.isRequired,b=t.validationMessage,p=t.numberValidationMessage,u=t.labelColor,d=t.requiredColor,m=t.fieldColor,g=t.fieldPlaceholderColor,f=t.fieldBgColor,y=t.fieldValidationColor,v=t.fieldValidationBorderColor,h=t.isIcon,w=t.icon,k=t.iconColor,R={setAttributes:a,resOption:n,attributes:t,objAttributes:wce};return React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:"General",className:"eb-tab general"},{name:"styles",title:"Style",className:"eb-tab styles"},{name:"advance",title:"Advanced",className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls"+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("General","essential-blocks"),initialOpen:!0},React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Label?","essential-blocks"),checked:o,onChange:function(){return a({showLabel:!o})}}),o&&React.createElement(Nce,{label:(0,Y.__)("Label Text","essential-blocks"),attrName:"labelText",inputValue:r,setAttributes:a,onChange:function(e){return a({labelText:e})}}),React.createElement(X.TextControl,{label:(0,Y.__)("Placeholder Text","essential-blocks"),value:i,onChange:function(e){return a({placeholderText:e})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Required?","essential-blocks"),checked:s,onChange:function(){return a({isRequired:!s})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Icon?","essential-blocks"),checked:h,onChange:function(){return a({isIcon:!h})}}),React.createElement(Tce,{value:w,onChange:function(e){return a({icon:e})}})),React.createElement(X.PanelBody,{title:(0,Y.__)("Advanced Settings","essential-blocks"),initialOpen:!0},React.createElement(X.TextControl,{label:(0,Y.__)("Default Value","essential-blocks"),value:l,onChange:function(e){return a({defaultValue:e})},help:"Leave empty if no default value."}),React.createElement(X.TextControl,{label:(0,Y.__)("Field Custom Name Attribute","essential-blocks"),value:c,onChange:function(e){return a({fieldName:e})},help:"This is for the name attributes which is used to submit form data, Name must be unique."}),s&&React.createElement(X.TextControl,{label:(0,Y.__)("Custom Validation Message","essential-blocks"),value:b,onChange:function(e){return a({validationMessage:e})}}),React.createElement(X.TextControl,{label:(0,Y.__)("Invalid Email Validation Message","essential-blocks"),value:p,onChange:function(e){return a({numberValidationMessage:e})}}))),"styles"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Label","essential-blocks"),initialOpen:!0},React.createElement(Sce,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:lce,resRequiredProps:R}),React.createElement(Ece,{label:(0,Y.__)("Color","essential-blocks"),color:u,onChange:function(e){return a({labelColor:e})}}),React.createElement(Ece,{label:(0,Y.__)("Requied Color","essential-blocks"),color:d,onChange:function(e){return a({requiredColor:e})}}),React.createElement(xce,{resRequiredProps:R,controlName:nce,baseLabel:(0,Y.__)("Margin","essential-blocks")})),React.createElement(X.PanelBody,{title:(0,Y.__)("Field","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(Sce,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:sce,resRequiredProps:R}),React.createElement(Ece,{label:(0,Y.__)("Color","essential-blocks"),color:m,onChange:function(e){return a({fieldColor:e})}}),React.createElement(Ece,{label:(0,Y.__)("Placeholder Color","essential-blocks"),color:g,onChange:function(e){return a({fieldPlaceholderColor:e})}}),React.createElement(Ece,{label:(0,Y.__)("Background","essential-blocks"),color:f,onChange:function(e){return a({fieldBgColor:e})}}),React.createElement(xce,{resRequiredProps:R,controlName:rce,baseLabel:(0,Y.__)("Padding","essential-blocks")}),React.createElement(X.PanelBody,{title:(0,Y.__)("Border","essential-blocks"),initialOpen:!1},React.createElement(_ce,{controlName:oce,resRequiredProps:R})),React.createElement(X.PanelBody,{title:(0,Y.__)("Validation","essential-blocks"),initialOpen:!1},React.createElement(Sce,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:ice,resRequiredProps:R}),React.createElement(Ece,{label:(0,Y.__)("Color","essential-blocks"),color:y,onChange:function(e){return a({fieldValidationColor:e})}}),React.createElement(Ece,{label:(0,Y.__)("Fields Border Color","essential-blocks"),color:v,onChange:function(e){return a({fieldValidationBorderColor:e})}})))),h&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Icon","essential-blocks"),initialOpen:!1},React.createElement(Ece,{label:(0,Y.__)("Color","essential-blocks"),color:k,onChange:function(e){return a({iconColor:e})}}),React.createElement(Cce,{baseLabel:(0,Y.__)("Size (PX)","essential-blocks"),controlName:cce,resRequiredProps:R,min:1,max:100,step:1,noUnits:!0})))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Margin Padding","essential-blocks")},React.createElement(xce,{resRequiredProps:R,controlName:ece,baseLabel:"Margin"}),React.createElement(xce,{resRequiredProps:R,controlName:tce,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Background","essential-blocks"),initialOpen:!1},React.createElement(Rce,{controlName:Kre,resRequiredProps:R})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(_ce,{controlName:ace,resRequiredProps:R})),React.createElement(Bce,{attributes:t,setAttributes:a})))}))))};var Oce=window.EBControls,Mce=Oce.softMinifyCssStrings,Dce=Oce.generateTypographyStyles,jce=Oce.generateDimensionsControlStyles,Ice=Oce.generateBorderShadowStyles,Ace=Oce.generateResponsiveRangeStyles,Lce=Oce.generateBackgroundControlStyles,Fce=Oce.StyleComponent;function Hce(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=(t.blockMeta,t.resOption,t.parentBlockId),c=t.labelColor,l=t.requiredColor,i=t.fieldColor,s=t.fieldPlaceholderColor,b=t.fieldBgColor,p=t.fieldValidationColor,u=t.fieldValidationBorderColor,d=t.iconColor,m=t.fieldPaddingLeft,g=t.fieldPaddingUnit,f=t.iconSizeRange,y=t.parentBlockPaddingLeft,v=t.parentBlockPaddingUnit,h=t.parentBlockIconSize,w=t.isIcon,k=t.parentIconColor,R=jce({controlName:ece,styleFor:"margin",attributes:t}),_=R.dimensionStylesDesktop,E=R.dimensionStylesTab,C=R.dimensionStylesMobile,x=jce({controlName:tce,styleFor:"padding",attributes:t}),S=x.dimensionStylesDesktop,B=x.dimensionStylesTab,T=x.dimensionStylesMobile,N=Ice({controlName:ace,attributes:t}),P=N.styesDesktop,O=N.styesTab,M=N.styesMobile,D=N.stylesHoverDesktop,j=N.stylesHoverTab,I=N.stylesHoverMobile,A=N.transitionStyle,L=Lce({attributes:t,controlName:Kre,noOverlay:!0}),F=L.backgroundStylesDesktop,H=L.hoverBackgroundStylesDesktop,z=L.backgroundStylesTab,q=L.hoverBackgroundStylesTab,U=L.backgroundStylesMobile,V=L.hoverBackgroundStylesMobile,W=L.bgTransitionStyle,G=Dce({attributes:t,prefixConstant:lce}),Z=G.typoStylesDesktop,Y=G.typoStylesTab,J=G.typoStylesMobile,Q=jce({controlName:nce,styleFor:"margin",attributes:t}),X=Q.dimensionStylesDesktop,$=Q.dimensionStylesTab,K=Q.dimensionStylesMobile,ee=Dce({attributes:t,prefixConstant:sce}),te=ee.typoStylesDesktop,ae=ee.typoStylesTab,ne=ee.typoStylesMobile,oe=Dce({attributes:t,prefixConstant:ice}),re=oe.typoStylesDesktop,ce=oe.typoStylesTab,le=oe.typoStylesMobile,ie=jce({controlName:rce,styleFor:"padding",attributes:t}),se=ie.dimensionStylesDesktop,be=ie.dimensionStylesTab,pe=ie.dimensionStylesMobile,ue=Ice({controlName:oce,attributes:t}),de=ue.styesDesktop,me=ue.styesTab,ge=ue.styesMobile,fe=(ue.stylesHoverDesktop,ue.stylesHoverTab,ue.stylesHoverMobile,ue.transitionStyle,Ace({controlName:cce,property:"font-size",attributes:t,customUnit:"px"})),ye=fe.rangeStylesDesktop,ve=(fe.rangeStylesTab,fe.rangeStylesMobile,"\n\t\t.eb-number-field-wrapper.".concat(o,"{\n\t\t\t").concat(_,"\n\t\t\t").concat(S,"\n\t\t\t").concat(F,"\n\t\t\t").concat(P,"\n\t\t\ttransition: ").concat(W,", ").concat(A,";\n\t\t}\n\t\t.eb-number-field-wrapper.").concat(o,":hover {\n\t\t\t").concat(H,"\n\t\t\t").concat(D,"\n\t\t}\n\t")),he="\n\t\t.eb-number-field-wrapper.".concat(o,"{\n\t\t\t").concat(E,"\n\t\t\t").concat(B,"\n\t\t\t").concat(z,"\n\t\t\t").concat(O,"\n\t\t}\n\t\t.eb-number-field-wrapper.").concat(o,":hover {\n\t\t\t").concat(q,"\n\t\t\t").concat(j,"\n\t\t}\n\n\t"),we="\n\t\t.eb-number-field-wrapper.".concat(o,"{\n\t\t\t").concat(C,"\n\t\t\t").concat(T,"\n\t\t\t").concat(U,"\n\t\t\t").concat(M,"\n\t\t}\n\t\t.eb-number-field-wrapper.").concat(o,":hover {\n\t\t\t").concat(V,"\n\t\t\t").concat(I,"\n\t\t}\n\n\t"),ke="\n        .eb-form-wrapper.".concat(r," .eb-number-field-wrapper.").concat(o," > label {\n\t\t\tcolor: ").concat(c,";\n            ").concat(Z,"\n            ").concat(X,"\n\t\t}\n        .eb-form-wrapper.").concat(r," .eb-number-field-wrapper.").concat(o," .eb-required{\n            color: ").concat(l,";\n        }\n\t"),Re="\n        .eb-form-wrapper.".concat(r," .eb-number-field-wrapper.").concat(o," > label {\n\t\t\t").concat(Y,"\n            ").concat($,"\n\t\t}\n\t"),_e="\n\t\t.eb-form-wrapper.".concat(r," .eb-number-field-wrapper.").concat(o," > label {\n            ").concat(J,"\n            ").concat(K,"\n\t\t}\n\t"),Ee="\n\t\t.eb-form-wrapper.".concat(r," .eb-number-field-wrapper.").concat(o," .eb-field-input {\n\t\t\tcolor: ").concat(i,";\n\t\t\tbackground-color: ").concat(b,";\n            ").concat(te,"\n            ").concat(se,"\n            ").concat(de,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(r," .eb-number-field-wrapper.").concat(o," .eb-field-input::placeholder {\n\t\t\tcolor: ").concat(s,";\n\t\t}\n\n\t\t.eb-form-wrapper.").concat(r," .eb-number-field-wrapper.").concat(o,".eb-validation-error .eb-form-validation {\n            ").concat(re,"\n\t\t\tcolor: ").concat(p,";\n\t\t}\n\t\t.eb-form-wrapper.").concat(r," .eb-number-field-wrapper.").concat(o,".eb-validation-error .eb-field-input {\n\t\t\tborder-color: ").concat(u,";\n\t\t}\n\t"),Ce="\n\t\t.eb-form-wrapper.".concat(r," .eb-number-field-wrapper.").concat(o," .eb-field-input {\n            ").concat(ae,"\n            ").concat(be,"\n            ").concat(me,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(r," .eb-number-field-wrapper.").concat(o,".eb-validation-error .eb-form-validation {\n            ").concat(ce,"\n\t\t}\n\t"),xe="\n\t\t.eb-form-wrapper.".concat(r," .eb-number-field-wrapper.").concat(o," .eb-field-input {\n            ").concat(ne,"\n            ").concat(pe,"\n            ").concat(ge,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(r," .eb-number-field-wrapper.").concat(o,".eb-validation-error .eb-form-validation {\n            ").concat(le,"\n\t\t}\n\t"),Se="\n\t\t.eb-form-wrapper.".concat(r," .eb-number-field-wrapper.").concat(o," .eb-input-icon {\n            ").concat(ye,"\n            color: ").concat(d||k,";\n\t\t}\n\n        ").concat(w?"\n                .eb-form-wrapper.".concat(r," .eb-number-field-wrapper.").concat(o," .eb-input-icon {\n                    left: ").concat(m||y).concat(g,";\n                }\n                .eb-form-wrapper.").concat(r," .eb-number-field-wrapper.").concat(o," .eb-field-input {\n                    padding-left: calc(").concat(f||h,"px + (").concat(m||(0==y?8:y)).concat(g||v," * 1.6));\n                }"):"","\n\t"),Be=Mce("\n\t\t".concat(ve,"\n\t\t").concat(ke,"\n\t\t").concat(Ee,"\n\t\t").concat(Se,"\n\t")),Te=Mce("\n\t\t".concat(he,"\n\t\t").concat(Re,"\n\t\t").concat(Ce,"\n\t")),Ne=Mce("\n\t\t".concat(we,"\n\t\t").concat(_e,"\n\t\t").concat(xe,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(Fce,{attributes:t,setAttributes:a,desktopAllStyles:Be,tabAllStyles:Te,mobileAllStyles:Ne,blockName:n}))}function zce(e){return zce="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},zce(e)}function qce(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Uce(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?qce(Object(a),!0).forEach((function(t){Vce(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):qce(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Vce(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=zce(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=zce(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==zce(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var Wce=EBControls,Gce=(Wce.duplicateBlockIdFix,Wce.filterBlocksByName,Wce.getBlockParentClientId,Wce.EBDisplayIcon),Zce=Wce.DynamicInputValueHandler,Yce=Wce.BlockProps,Jce=window.EBControls,Qce=Jce.EBDisplayIcon,Xce=Jce.BlockProps;function $ce(e){return $ce="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},$ce(e)}function Kce(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function ele(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Kce(Object(a),!0).forEach((function(t){tle(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Kce(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function tle(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=$ce(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=$ce(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==$ce(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var ale=window.EBControls.EBDisplayIcon,nle=[{attributes:ele({},wce),supports:{align:["full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.showLabel,r=t.labelText,c=t.fieldName,l=t.defaultValue,i=t.placeholderText,s=t.isRequired,b=t.validationMessage,p=t.isIcon,u=t.icon,d=t.formStyle,m=Q.useBlockProps.save({className:"eb-form-field"});return React.createElement("div",m,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"".concat(a," eb-number-field-wrapper eb-field-wrapper")},o&&"form-style-modern"!=d&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:c},r," ",s&&React.createElement("span",{className:"eb-required"},"*"))),React.createElement("div",{className:"eb-field-input-wrap"},p&&u&&React.createElement(ale,{icon:u,className:"eb-input-icon"}),React.createElement("input",{type:"number",id:c,name:c,className:"eb-field-input",value:l,placeholder:i,required:s}),"form-style-modern"==d&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:c},r," ",s&&React.createElement("span",{className:"eb-required"},"*")))),s&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(c)},b)))))}},{attributes:ele({},wce),supports:{align:["full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.showLabel,r=t.labelText,c=t.fieldName,l=t.defaultValue,i=t.placeholderText,s=t.isRequired,b=t.validationMessage,p=t.isIcon,u=t.icon,d=t.formStyle,m=Q.useBlockProps.save({className:"eb-form-field"});return React.createElement("div",m,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"".concat(a," eb-number-field-wrapper eb-field-wrapper")},o&&"form-style-modern"!=d&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:c},r," ",s&&React.createElement("span",{className:"eb-required"},"*"))),React.createElement("div",{className:"eb-field-input-wrap"},p&&u&&React.createElement("i",{className:"".concat(u," eb-input-icon")}),React.createElement("input",{type:"number",id:c,name:c,className:"eb-field-input",value:l,placeholder:i,required:s}),"form-style-modern"==d&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:c},r," ",s&&React.createElement("span",{className:"eb-required"},"*")))),s&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(c)},b)))))}}];const ole=nle,rle=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Number Field","apiVersion":2,"name":"essential-blocks/form-number-field","description":"Form Block Number Field","category":"essential-blocks","textdomain":"essential-blocks","ancestor":["essential-blocks/form"],"supports":{"anchor":true},"editorScript":"essential-blocks-editor-script"}');(0,EBControls.ebConditionalRegisterBlockType)(rle,{keywords:[(0,Y.__)("EB Form","essential-blocks"),(0,Y.__)("Form Block","essential-blocks"),(0,Y.__)("Contact Form","essential-blocks"),(0,Y.__)("Subscription Form","essential-blocks")],icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"37",fill:"none",viewBox:"0 0 48 37"},React.createElement("g",{fill:"#6C3BFF",clipPath:"url(#clip0_2_22406)"},React.createElement("path",{d:"M41.39 0H5.76C2.58 0 0 2.58 0 5.76v24.57c0 3.17 2.58 5.76 5.76 5.76h35.63c3.17 0 5.76-2.58 5.76-5.76V5.76c0-3.17-2.58-5.76-5.76-5.76zm3.86 30.33c0 2.13-1.73 3.86-3.86 3.86H5.76c-2.13 0-3.86-1.73-3.86-3.86V5.76c0-2.13 1.73-3.86 3.86-3.86h35.63c2.13 0 3.86 1.73 3.86 3.86v24.57z"}),React.createElement("path",{d:"M6.78 13.56v2.09l3.27-2.16v11.3h1.99V11.3h-1.85l-3.41 2.26zM20.85 20.07c.75-.8 1.34-1.5 1.77-2.06.43-.57.74-1.1.92-1.58.18-.48.27-.98.27-1.48 0-.71-.18-1.36-.53-1.94-.35-.58-.85-1.04-1.47-1.38-.62-.34-1.34-.51-2.13-.51-.79 0-1.52.17-2.15.51-.64.34-1.15.82-1.52 1.43-.37.61-.56 1.32-.56 2.12v.2h1.91v-.2c0-.46.09-.87.28-1.21.19-.34.44-.6.78-.79.34-.19.75-.29 1.22-.29.44 0 .84.09 1.19.26.34.17.62.4.82.71.2.3.3.67.3 1.09 0 .37-.08.73-.22 1.07-.15.35-.39.72-.71 1.12-.33.41-.74.89-1.24 1.44l-4.37 4.79v1.43h8.66v-1.81h-5.92l2.72-2.91-.02-.01zM33.22 17.8c.49-.23.89-.55 1.21-.98.41-.55.62-1.23.62-2 0-.65-.17-1.27-.49-1.83-.33-.56-.8-1.02-1.41-1.36-.61-.34-1.34-.51-2.18-.51-.78 0-1.51.15-2.16.45-.66.3-1.19.73-1.6 1.27-.41.55-.63 1.19-.66 1.92v.21h1.92v-.19c.03-.39.15-.72.37-1 .23-.28.53-.5.9-.65.37-.15.78-.23 1.2-.23.45 0 .84.08 1.16.25.32.17.57.4.75.69.18.29.27.65.27 1.05s-.1.79-.3 1.09c-.2.31-.49.55-.85.72-.37.17-.8.26-1.29.26h-1.25v1.81h1.25c.63 0 1.17.1 1.6.3.42.19.75.46.96.79.22.33.33.73.33 1.17 0 .42-.11.79-.33 1.1-.23.32-.54.57-.94.75-.41.18-.88.28-1.41.28-.47 0-.91-.08-1.3-.23-.38-.15-.69-.37-.92-.65-.23-.27-.36-.59-.39-.98v-.18h-2.02v.21c.05.72.27 1.37.68 1.92.4.54.96.97 1.65 1.27.68.3 1.47.45 2.33.45.86 0 1.67-.17 2.36-.51.69-.34 1.25-.81 1.65-1.4.41-.6.61-1.28.61-2.03 0-.88-.25-1.62-.74-2.22-.4-.48-.92-.82-1.57-1.01h-.01z"})),React.createElement("defs",null,React.createElement("clipPath",{id:"clip0_2_22406"},React.createElement("path",{fill:"#fff",d:"M0 0H47.15V36.08H0z"}))))},attributes:wce,edit:function(e){var t=e.attributes,a=e.setAttributes,n=e.isSelected,o=e.clientId,r=(e.className,e.name,t.resOption,t.blockMeta,t.parentBlockId,t.blockId),c=t.classHook,l=t.showLabel,i=t.labelText,s=t.fieldName,b=t.defaultValue,p=t.placeholderText,u=t.isRequired,d=t.validationMessage,m=(t.validationRules,t.numberValidationMessage),g=t.isIcon,f=t.icon,y=t.formStyle,v=(t.parentBlockPaddingLeft,t.parentBlockPaddingUnit,t.parentBlockIconSize,t.parentIconColor,Uce(Uce({},e),{},{blockPrefix:"eb-number-field",rootClass:"eb-guten-block-main-parent-wrapper eb-form-field",style:React.createElement(Hce,e)}));return(0,J.useEffect)((function(){var e=Vce({},s,{isRequired:{status:u,message:d},isNumber:{message:m}});a({validationRules:e})}),[u,s,d]),React.createElement(React.Fragment,null,n&&React.createElement(Pce,{clientId:o,attributes:t,setAttributes:a}),React.createElement(Yce.Edit,v,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(r," ").concat(c)},React.createElement("div",{className:"".concat(r," eb-number-field-wrapper eb-field-wrapper")},l&&"form-style-modern"!=y&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:s},React.createElement(Zce,{value:i,onChange:function(e){return a({labelText:e})},readOnly:!0})," ",u&&React.createElement("span",{className:"eb-required"},"*"))),React.createElement("div",{className:"eb-field-input-wrap"},g&&f&&React.createElement(Gce,{icon:f,className:"eb-input-icon"}),React.createElement("input",{type:"number",id:s,name:s,className:"eb-field-input",value:b,placeholder:p,required:u}),"form-style-modern"==y&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:s},i," ",u&&React.createElement("span",{className:"eb-required"},"*")))),u&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(s)},d))))))},save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.showLabel,r=t.labelText,c=t.fieldName,l=t.defaultValue,i=t.placeholderText,s=t.isRequired,b=t.validationMessage,p=t.isIcon,u=t.icon,d=t.formStyle;return React.createElement(Xce.Save,{attributes:t,rootClass:"eb-form-field"},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"".concat(a," eb-number-field-wrapper eb-field-wrapper")},o&&"form-style-modern"!=d&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:c},r," ",s&&React.createElement("span",{className:"eb-required"},"*"))),React.createElement("div",{className:"eb-field-input-wrap"},p&&u&&React.createElement(Qce,{icon:u,className:"eb-input-icon"}),React.createElement("input",{type:"number",id:c,name:c,className:"eb-field-input",value:l,placeholder:i,required:s}),"form-style-modern"==d&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:c},r," ",s&&React.createElement("span",{className:"eb-required"},"*")))),s&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(c)},b)))))},example:{},deprecated:ole});var cle="wrprBg",lle="wrpMargin",ile="wrpPadding",sle="wrpBorderShadow",ble="labelMargin",ple="fieldBorder",ule="fieldPadding",dle="iconSize",mle=((0,Y.__)("Left"),(0,Y.__)("Center"),(0,Y.__)("Right"),(0,Y.__)("Normal"),(0,Y.__)("Advanced"),"label_"),gle="validationText_",fle="field_";function yle(e){return yle="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yle(e)}function vle(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function hle(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?vle(Object(a),!0).forEach((function(t){wle(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):vle(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function wle(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=yle(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=yle(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==yle(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var kle=EBControls,Rle=kle.generateDimensionsAttributes,_le=kle.generateTypographyAttributes,Ele=kle.generateBackgroundAttributes,Cle=kle.generateBorderShadowAttributes,xle=kle.generateResponsiveRangeAttributes;const Sle=hle(hle(hle(hle(hle(hle(hle(hle(hle({resOption:{type:"string",default:"Desktop"},parentBlockId:{type:"string"},parentBlockPaddingLeft:{type:"string"},parentBlockPaddingUnit:{type:"string"},parentBlockIconSize:{type:"string"},parentIconColor:{type:"string"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},formStyle:{type:"string"},showLabel:{type:"boolean",default:!0},labelText:{type:"string",default:"Field Title"},options:{type:"array",default:[{name:"Select Item",value:""},{name:"Option 1",value:"option_1"},{name:"Option 2",value:"option_2"},{name:"Option 3",value:"option_3"}]},fieldType:{type:"string",default:"select"},dynamicValue:{type:"string"},dynamicOptionType:{type:"string",default:"normal"},dynamicValueLoader:{type:"boolean",default:!1},fieldName:{type:"string"},defaultValue:{type:"string"},isRequired:{type:"boolean",default:!0},validationRules:{type:"object"},validationMessage:{type:"string",default:"This field is required."},labelColor:{type:"string"},requiredColor:{type:"string"},fieldColor:{type:"string"},fieldPlaceholderColor:{type:"string"},fieldBgColor:{type:"string"},fieldValidationColor:{type:"string"},fieldValidationBorderColor:{type:"string"},isIcon:{type:"boolean",default:!0},icon:{type:"string",default:"far fa-list-alt"},iconColor:{type:"string"}},_le(Object.values(V))),Rle(lle)),Rle(ile)),Ele(cle)),Cle(sle)),Rle(ule)),Cle(ple)),Rle(ble)),xle(dle));function Ble(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,r,c,l=[],i=!0,s=!1;try{if(r=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;i=!1}else for(;!(i=(n=r.call(a)).done)&&(l.push(n.value),l.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{if(!i&&null!=a.return&&(c=a.return(),Object(c)!==c))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Tle(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?Tle(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Tle(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}var Nle=EBControls,Ple=Nle.BackgroundControl,Ole=Nle.BorderShadowControl,Mle=Nle.ColorControl,Dle=Nle.ResponsiveRangeController,jle=Nle.ResponsiveDimensionsControl,Ile=Nle.TypographyDropdown,Ale=Nle.AdvancedControls,Lle=Nle.EBIconPicker,Fle=Nle.DynamicInputControl,Hle=Nle.DynamicFormFieldControl;Nle.SortControl;const zle=function(e){var t=e.attributes,a=e.setAttributes,n=(e.clientId,t.blockId,t.resOption),o=t.showLabel,r=t.labelText,c=t.options,l=t.dynamicValue,i=t.dynamicOptionType,s=t.dynamicValueLoader,b=t.fieldName,p=t.defaultValue,u=(t.placeholderText,t.isRequired),d=t.validationMessage,m=t.labelColor,g=t.requiredColor,f=t.fieldColor,y=t.fieldPlaceholderColor,v=t.fieldBgColor,h=t.fieldValidationColor,w=t.fieldValidationBorderColor,k=t.isIcon,R=t.icon,_=t.iconColor,E=Ble((0,J.useState)("normal"),2),C=(E[0],E[1],{setAttributes:a,resOption:n,attributes:t,objAttributes:Sle});return React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:"General",className:"eb-tab general"},{name:"styles",title:"Style",className:"eb-tab styles"},{name:"advance",title:"Advanced",className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls"+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("General","essential-blocks"),initialOpen:!0},React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Label?","essential-blocks"),checked:o,onChange:function(){return a({showLabel:!o})}}),o&&React.createElement(Fle,{label:(0,Y.__)("Label Text","essential-blocks"),attrName:"labelText",inputValue:r,setAttributes:a,onChange:function(e){return a({labelText:e})}}),React.createElement(Hle,{type:"select",options:c,dynamicValue:l,dynamicOptionType:i,dynamicValueLoader:s,setAttributes:a}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Required?","essential-blocks"),checked:u,onChange:function(){return a({isRequired:!u})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Icon?","essential-blocks"),checked:k,onChange:function(){return a({isIcon:!k})}}),k&&React.createElement(React.Fragment,null,React.createElement(Lle,{value:R,onChange:function(e){return a({icon:e})}}))),React.createElement(X.PanelBody,{title:(0,Y.__)("Advanced Settings","essential-blocks"),initialOpen:!0},React.createElement(X.TextControl,{label:(0,Y.__)("Default Value","essential-blocks"),value:p,onChange:function(e){return a({defaultValue:e})},help:"Leave empty if no default value."}),React.createElement(X.TextControl,{label:(0,Y.__)("Field Custom Name Attribute","essential-blocks"),value:b,onChange:function(e){return a({fieldName:e})},help:"This is for the name attributes which is used to submit form data, Name must be unique."}),u&&React.createElement(X.TextControl,{label:(0,Y.__)("Custom Validation Message","essential-blocks"),value:d,onChange:function(e){return a({validationMessage:e})}}))),"styles"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Label","essential-blocks"),initialOpen:!0},React.createElement(Ile,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:mle,resRequiredProps:C}),React.createElement(Mle,{label:(0,Y.__)("Color","essential-blocks"),color:m,onChange:function(e){return a({labelColor:e})}}),React.createElement(Mle,{label:(0,Y.__)("Requied Color","essential-blocks"),color:g,onChange:function(e){return a({requiredColor:e})}}),React.createElement(jle,{resRequiredProps:C,controlName:ble,baseLabel:(0,Y.__)("Margin","essential-blocks")})),React.createElement(X.PanelBody,{title:(0,Y.__)("Field","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(Ile,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:fle,resRequiredProps:C}),React.createElement(Mle,{label:(0,Y.__)("Color","essential-blocks"),color:f,onChange:function(e){return a({fieldColor:e})}}),React.createElement(Mle,{label:(0,Y.__)("Placeholder Color","essential-blocks"),color:y,onChange:function(e){return a({fieldPlaceholderColor:e})}}),React.createElement(Mle,{label:(0,Y.__)("Background","essential-blocks"),color:v,onChange:function(e){return a({fieldBgColor:e})}}),React.createElement(jle,{resRequiredProps:C,controlName:ule,baseLabel:(0,Y.__)("Padding","essential-blocks")}),React.createElement(X.PanelBody,{title:(0,Y.__)("Border","essential-blocks"),initialOpen:!1},React.createElement(Ole,{controlName:ple,resRequiredProps:C})),React.createElement(X.PanelBody,{title:(0,Y.__)("Validation","essential-blocks"),initialOpen:!1},React.createElement(Ile,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:gle,resRequiredProps:C}),React.createElement(Mle,{label:(0,Y.__)("Color","essential-blocks"),color:h,onChange:function(e){return a({fieldValidationColor:e})}}),React.createElement(Mle,{label:(0,Y.__)("Fields Border Color","essential-blocks"),color:w,onChange:function(e){return a({fieldValidationBorderColor:e})}})))),k&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Icon","essential-blocks"),initialOpen:!1},React.createElement(Mle,{label:(0,Y.__)("Color","essential-blocks"),color:_,onChange:function(e){return a({iconColor:e})}}),React.createElement(Dle,{baseLabel:(0,Y.__)("Size (PX)","essential-blocks"),controlName:dle,resRequiredProps:C,min:1,max:100,step:1,noUnits:!0})))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Margin Padding","essential-blocks")},React.createElement(jle,{resRequiredProps:C,controlName:lle,baseLabel:"Margin"}),React.createElement(jle,{resRequiredProps:C,controlName:ile,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Background","essential-blocks"),initialOpen:!1},React.createElement(Ple,{controlName:cle,resRequiredProps:C})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(Ole,{controlName:sle,resRequiredProps:C})),React.createElement(Ale,{attributes:t,setAttributes:a})))}))))};var qle=window.EBControls,Ule=qle.softMinifyCssStrings,Vle=qle.generateTypographyStyles,Wle=qle.generateDimensionsControlStyles,Gle=qle.generateBorderShadowStyles,Zle=qle.generateResponsiveRangeStyles,Yle=qle.generateBackgroundControlStyles,Jle=qle.StyleComponent;function Qle(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=(t.blockMeta,t.resOption,t.parentBlockId),c=t.labelColor,l=t.requiredColor,i=t.fieldColor,s=t.fieldPlaceholderColor,b=t.fieldBgColor,p=t.fieldValidationColor,u=t.fieldValidationBorderColor,d=t.iconColor,m=t.fieldPaddingLeft,g=t.fieldPaddingUnit,f=t.iconSizeRange,y=t.parentBlockPaddingLeft,v=t.parentBlockPaddingUnit,h=t.parentBlockIconSize,w=t.isIcon,k=t.parentIconColor,R=Wle({controlName:lle,styleFor:"margin",attributes:t}),_=R.dimensionStylesDesktop,E=R.dimensionStylesTab,C=R.dimensionStylesMobile,x=Wle({controlName:ile,styleFor:"padding",attributes:t}),S=x.dimensionStylesDesktop,B=x.dimensionStylesTab,T=x.dimensionStylesMobile,N=Gle({controlName:sle,attributes:t}),P=N.styesDesktop,O=N.styesTab,M=N.styesMobile,D=N.stylesHoverDesktop,j=N.stylesHoverTab,I=N.stylesHoverMobile,A=N.transitionStyle,L=Yle({attributes:t,controlName:cle,noOverlay:!0}),F=L.backgroundStylesDesktop,H=L.hoverBackgroundStylesDesktop,z=L.backgroundStylesTab,q=L.hoverBackgroundStylesTab,U=L.backgroundStylesMobile,V=L.hoverBackgroundStylesMobile,W=L.bgTransitionStyle,G=Vle({attributes:t,prefixConstant:mle}),Z=G.typoStylesDesktop,Y=G.typoStylesTab,J=G.typoStylesMobile,Q=Wle({controlName:ble,styleFor:"margin",attributes:t}),X=Q.dimensionStylesDesktop,$=Q.dimensionStylesTab,K=Q.dimensionStylesMobile,ee=Vle({attributes:t,prefixConstant:fle}),te=ee.typoStylesDesktop,ae=ee.typoStylesTab,ne=ee.typoStylesMobile,oe=Vle({attributes:t,prefixConstant:gle}),re=oe.typoStylesDesktop,ce=oe.typoStylesTab,le=oe.typoStylesMobile,ie=Wle({controlName:ule,styleFor:"padding",attributes:t}),se=ie.dimensionStylesDesktop,be=ie.dimensionStylesTab,pe=ie.dimensionStylesMobile,ue=Gle({controlName:ple,attributes:t}),de=ue.styesDesktop,me=ue.styesTab,ge=ue.styesMobile,fe=(ue.stylesHoverDesktop,ue.stylesHoverTab,ue.stylesHoverMobile,ue.transitionStyle,Zle({controlName:dle,property:"font-size",attributes:t,customUnit:"px"})),ye=fe.rangeStylesDesktop,ve=(fe.rangeStylesTab,fe.rangeStylesMobile,"\n\t\t.eb-select-field-wrapper.".concat(o,"{\n\t\t\t").concat(_,"\n\t\t\t").concat(S,"\n\t\t\t").concat(F,"\n\t\t\t").concat(P,"\n\t\t\ttransition: ").concat(W,", ").concat(A,";\n\t\t}\n\t\t.eb-select-field-wrapper.").concat(o,":hover {\n\t\t\t").concat(H,"\n\t\t\t").concat(D,"\n\t\t}\n\t")),he="\n\t\t.eb-select-field-wrapper.".concat(o,"{\n\t\t\t").concat(E,"\n\t\t\t").concat(B,"\n\t\t\t").concat(z,"\n\t\t\t").concat(O,"\n\t\t}\n\t\t.eb-select-field-wrapper.").concat(o,":hover {\n\t\t\t").concat(q,"\n\t\t\t").concat(j,"\n\t\t}\n\n\t"),we="\n\t\t.eb-select-field-wrapper.".concat(o,"{\n\t\t\t").concat(C,"\n\t\t\t").concat(T,"\n\t\t\t").concat(U,"\n\t\t\t").concat(M,"\n\t\t}\n\t\t.eb-select-field-wrapper.").concat(o,":hover {\n\t\t\t").concat(V,"\n\t\t\t").concat(I,"\n\t\t}\n\n\t"),ke="\n        .eb-form-wrapper.".concat(r," .eb-select-field-wrapper.").concat(o," > label {\n\t\t\tcolor: ").concat(c,";\n            ").concat(Z,"\n            ").concat(X,"\n\t\t}\n        .eb-form-wrapper.").concat(r," .eb-select-field-wrapper.").concat(o," .eb-required{\n            color: ").concat(l,";\n        }\n\t"),Re="\n        .eb-form-wrapper.".concat(r," .eb-select-field-wrapper.").concat(o," > label {\n\t\t\t").concat(Y,"\n            ").concat($,"\n\t\t}\n\t"),_e="\n\t\t.eb-form-wrapper.".concat(r," .eb-select-field-wrapper.").concat(o," > label {\n            ").concat(J,"\n            ").concat(K,"\n\t\t}\n\t"),Ee="\n\t\t.eb-form-wrapper.".concat(r," .eb-select-field-wrapper.").concat(o," .eb-field-input {\n\t\t\tcolor: ").concat(i,";\n\t\t\tbackground-color: ").concat(b,";\n            ").concat(te,"\n            ").concat(se,"\n            ").concat(de,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(r," .eb-select-field-wrapper.").concat(o," .eb-field-input::placeholder {\n\t\t\tcolor: ").concat(s,";\n\t\t}\n\n\t\t.eb-form-wrapper.").concat(r," .eb-select-field-wrapper.").concat(o,".eb-validation-error .eb-form-validation {\n            ").concat(re,"\n\t\t\tcolor: ").concat(p,";\n\t\t}\n\t\t.eb-form-wrapper.").concat(r," .eb-select-field-wrapper.").concat(o,".eb-validation-error .eb-field-input {\n\t\t\tborder-color: ").concat(u,";\n\t\t}\n\t"),Ce="\n\t\t.eb-form-wrapper.".concat(r," .eb-select-field-wrapper.").concat(o," .eb-field-input {\n            ").concat(ae,"\n            ").concat(be,"\n            ").concat(me,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(r," .eb-validation-error .eb-form-validation {\n            ").concat(ce,"\n\t\t}\n\t"),xe="\n\t\t.eb-form-wrapper.".concat(r," .eb-select-field-wrapper.").concat(o," .eb-field-input {\n            ").concat(ne,"\n            ").concat(pe,"\n            ").concat(ge,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(r," .eb-validation-error .eb-form-validation {\n            ").concat(le,"\n\t\t}\n\t"),Se="\n\t\t.eb-form-wrapper.".concat(r," .eb-select-field-wrapper.").concat(o," .eb-input-icon {\n            ").concat(ye,"\n            color: ").concat(d||k,";\n\t\t}\n\n        ").concat(w?"\n                .eb-form-wrapper.".concat(r," .eb-select-field-wrapper.").concat(o," .eb-input-icon {\n                    left: ").concat(m||y).concat(g,";\n                }\n                .eb-form-wrapper.").concat(r," .eb-select-field-wrapper.").concat(o," .eb-field-input {\n                    padding-left: calc(").concat(f||h,"px + (").concat(m||(0==y?8:y)).concat(g||v," * 1.6));\n                }"):"","\n\t"),Be=Ule("\n\t\t".concat(ve,"\n\t\t").concat(ke,"\n\t\t").concat(Ee,"\n\t\t").concat(Se,"\n\t")),Te=Ule("\n\t\t".concat(he,"\n\t\t").concat(Re,"\n\t\t").concat(Ce,"\n\t")),Ne=Ule("\n\t\t".concat(we,"\n\t\t").concat(_e,"\n\t\t").concat(xe,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(Jle,{attributes:t,setAttributes:a,desktopAllStyles:Be,tabAllStyles:Te,mobileAllStyles:Ne,blockName:n}))}function Xle(e){return Xle="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Xle(e)}function $le(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Kle(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?$le(Object(a),!0).forEach((function(t){eie(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):$le(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function eie(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=Xle(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=Xle(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Xle(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var tie=EBControls,aie=(tie.duplicateBlockIdFix,tie.filterBlocksByName),nie=tie.getBlockParentClientId,oie=tie.EBDisplayIcon,rie=tie.DynamicInputValueHandler,cie=tie.DynamicFormFieldValueHandler,lie=tie.BlockProps,iie=window.EBControls,sie=iie.EBDisplayIcon,bie=iie.BlockProps;function pie(e){return pie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pie(e)}function uie(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function die(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?uie(Object(a),!0).forEach((function(t){mie(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):uie(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function mie(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=pie(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=pie(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==pie(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var gie=window.EBControls.EBDisplayIcon,fie=[{attributes:die({},Sle),supports:{align:["full"]},save:function(e){var t=e.attributes,a=(t.resOption,t.blockMeta,t.blockId),n=t.classHook,o=t.showLabel,r=t.labelText,c=t.options,l=t.fieldName,i=t.defaultValue,s=t.isRequired,b=t.validationMessage,p=t.isIcon,u=t.icon,d=t.formStyle,m=Q.useBlockProps.save({className:"eb-form-field"});return React.createElement("div",m,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"".concat(a," eb-select-field-wrapper eb-field-wrapper")},o&&"form-style-modern"!=d&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:l},r," ",s&&React.createElement("span",{className:"eb-required"},"*"))),React.createElement("div",{className:"eb-field-input-wrap"},p&&u&&React.createElement(gie,{icon:u,className:"eb-input-icon"}),React.createElement("select",{id:l,name:l,className:"eb-field-input",value:i},c.length>0&&c.map((function(e){return React.createElement(React.Fragment,null,React.createElement("option",{selected:e.value===i,value:null==e?void 0:e.value},null==e?void 0:e.name))}))),"form-style-modern"==d&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:l},r," ",s&&React.createElement("span",{className:"eb-required"},"*")))),s&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(l)},b)))))}},{attributes:die({},Sle),supports:{align:["full"]},save:function(e){var t=e.attributes,a=(t.resOption,t.blockMeta,t.blockId),n=t.classHook,o=t.showLabel,r=t.labelText,c=t.options,l=t.fieldName,i=t.defaultValue,s=t.isRequired,b=t.validationMessage,p=t.isIcon,u=t.icon,d=t.formStyle,m=Q.useBlockProps.save({className:"eb-form-field"});return React.createElement("div",m,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"".concat(a," eb-select-field-wrapper eb-field-wrapper")},o&&"form-style-modern"!=d&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:l},r," ",s&&React.createElement("span",{className:"eb-required"},"*"))),React.createElement("div",{className:"eb-field-input-wrap"},p&&u&&React.createElement("i",{className:"".concat(u," eb-input-icon")}),React.createElement("select",{id:l,name:l,className:"eb-field-input",value:i},c.length>0&&c.map((function(e){return React.createElement(React.Fragment,null,React.createElement("option",{selected:e.value===i,value:null==e?void 0:e.value},null==e?void 0:e.name))}))),"form-style-modern"==d&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:l},r," ",s&&React.createElement("span",{className:"eb-required"},"*")))),s&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(l)},b)))))}}];const yie=fie,vie=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Select Field","apiVersion":2,"name":"essential-blocks/form-select-field","description":"Form Block Select Field","category":"essential-blocks","textdomain":"essential-blocks","ancestor":["essential-blocks/form"],"supports":{"anchor":true},"editorScript":"essential-blocks-editor-script"}');(0,EBControls.ebConditionalRegisterBlockType)(vie,{keywords:[(0,Y.__)("EB Form","essential-blocks"),(0,Y.__)("Form Block","essential-blocks"),(0,Y.__)("Contact Form","essential-blocks"),(0,Y.__)("Subscription Form","essential-blocks")],icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"56",height:"54",fill:"none",viewBox:"0 0 56 54"},React.createElement("path",{fill:"#6C3BFF",d:"M37.364 18.086c.252.252.596.401.963.401.366 0 .699-.137.962-.401l6.705-6.705a1.356 1.356 0 000-1.914 1.361 1.361 0 00-.963-.401c-.366 0-.699.137-.962.401l-5.754 5.754-5.753-5.754a1.362 1.362 0 00-.963-.401c-.367 0-.7.137-.963.401a1.356 1.356 0 000 1.914l6.705 6.705h.023z"}),React.createElement("path",{fill:"#6C3BFF",d:"M51.278 0H4.722A4.73 4.73 0 000 4.722v44.195a4.73 4.73 0 004.722 4.722h46.556A4.73 4.73 0 0056 48.917V4.722A4.73 4.73 0 0051.278 0zm0 51.22H4.722a2.316 2.316 0 01-2.315-2.315V26.636h51.186v22.27a2.316 2.316 0 01-2.315 2.315zM4.722 2.407h46.556a2.316 2.316 0 012.315 2.315v19.519H2.407V4.722a2.316 2.316 0 012.315-2.315z"}),React.createElement("path",{fill:"#6C3BFF",d:"M42.991 33.456H13.788a1.203 1.203 0 100 2.406h29.215a1.203 1.203 0 100-2.407h-.012zM42.991 41.708H13.788a1.203 1.203 0 100 2.407h29.215a1.203 1.203 0 100-2.407h-.012z"}))},attributes:Sle,edit:function(e){var t=e.attributes,a=e.setAttributes,n=e.isSelected,o=e.clientId,r=t.blockId,c=t.classHook,l=t.showLabel,i=t.labelText,s=t.options,b=t.fieldName,p=t.defaultValue,u=t.isRequired,d=t.validationMessage,m=t.isIcon,g=t.icon,f=t.formStyle,y=(t.parentBlockPaddingLeft,t.parentBlockPaddingUnit,t.parentBlockIconSize,t.parentIconColor,t.dynamicValue),v=t.dynamicOptionType,h=t.dynamicValueLoader;(0,J.useEffect)((function(){var e,t,n,r,c,l,i,s,p=nie(o,"essential-blocks/form"),u=(0,$.select)("core/block-editor").getBlock(p),d=null==u||null===(e=u.attributes)||void 0===e?void 0:e.blockId,m=null==u||null===(t=u.attributes)||void 0===t?void 0:t.inputIconColor,g=null==u||null===(n=u.attributes)||void 0===n?void 0:n.inputIconSizeRange,f=null==u||null===(r=u.attributes)||void 0===r?void 0:r.fieldsPaddingLeft,y=null==u||null===(c=u.attributes)||void 0===c?void 0:c.fieldsPaddingUnit;d&&a({parentBlockId:d,parentBlockPaddingLeft:f,parentBlockPaddingUnit:y,parentBlockIconSize:g,parentIconColor:m});var v=(0,$.select)("core/block-editor").wasBlockJustInserted(o),h=null==u||null===(l=u.attributes)||void 0===l?void 0:l.showLabel,w=null==u||null===(i=u.attributes)||void 0===i?void 0:i.showInputIcon;v&&void 0!==h&&void 0!==w&&a({showLabel:h,isIcon:w});var k=null==u||null===(s=u.attributes)||void 0===s?void 0:s.formStyle;if(k&&a({formStyle:k}),!b&&p){var R=(0,$.select)("core/block-editor").getBlocksByClientId(p),_=aie(R,name),E=_.indexOf(o);-1!==E&&(1===_.length?a({fieldName:"select-field"}):a({fieldName:"select-field-".concat(E+1)}))}}),[]);var w=Kle(Kle({},e),{},{blockPrefix:"eb-select-field",rootClass:"eb-guten-block-main-parent-wrapper eb-form-field",style:React.createElement(Qle,e)});return(0,J.useEffect)((function(){var e=eie({},b,{isRequired:{status:u,message:d}});a({validationRules:e})}),[u,b,d]),React.createElement(React.Fragment,null,n&&React.createElement(zle,{clientId:o,attributes:t,setAttributes:a}),React.createElement(lie.Edit,w,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(r," ").concat(c)},React.createElement("div",{className:"".concat(r," eb-select-field-wrapper eb-field-wrapper")},l&&"form-style-modern"!=f&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:b},React.createElement(rie,{value:i,onChange:function(e){return a({labelText:e})},readOnly:!0})," ",u&&React.createElement("span",{className:"eb-required"},"*"))),React.createElement("div",{className:"eb-field-input-wrap"},m&&g&&React.createElement(oie,{icon:g,className:"eb-input-icon"}),React.createElement(cie,{type:"select",fieldName:b,defaultValue:p,options:s,dynamicValue:y,dynamicOptionType:v,dynamicValueLoader:h,setAttributes:a}),"form-style-modern"==f&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:b},i," ",u&&React.createElement("span",{className:"eb-required"},"*")))),u&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(b)},d))))))},save:function(e){var t=e.attributes,a=(t.resOption,t.blockMeta,t.blockId),n=t.classHook,o=t.showLabel,r=t.labelText,c=t.options,l=t.fieldName,i=t.defaultValue,s=t.isRequired,b=t.validationMessage,p=t.isIcon,u=t.icon,d=t.formStyle;return React.createElement(bie.Save,{attributes:t,rootClass:"eb-form-field"},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"".concat(a," eb-select-field-wrapper eb-field-wrapper")},o&&"form-style-modern"!=d&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:l},r," ",s&&React.createElement("span",{className:"eb-required"},"*"))),React.createElement("div",{className:"eb-field-input-wrap"},p&&u&&React.createElement(sie,{icon:u,className:"eb-input-icon"}),React.createElement("select",{id:l,name:l,className:"eb-field-input",value:i},c.length>0&&c.map((function(e){return React.createElement(React.Fragment,null,React.createElement("option",{selected:e.value===i,value:null==e?void 0:e.value},null==e?void 0:e.name))}))),"form-style-modern"==d&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:l},r," ",s&&React.createElement("span",{className:"eb-required"},"*")))),s&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(l)},b)))))},example:{},deprecated:yie});var hie="wrprBg",wie="wrpMargin",kie="wrpPadding",Rie="wrpBorderShadow",_ie="labelMargin",Eie="checkboxSize",Cie="checkboxSpacing",xie=((0,Y.__)("Left"),(0,Y.__)("Center"),(0,Y.__)("Right"),(0,Y.__)("Normal"),(0,Y.__)("Advanced"),[{label:(0,Y.__)("Normal"),value:"normal"},{label:(0,Y.__)("Checked"),value:"checked"}]),Sie="label_",Bie="checkboxText_";function Tie(e){return Tie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Tie(e)}function Nie(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Pie(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Nie(Object(a),!0).forEach((function(t){Oie(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Nie(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Oie(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=Tie(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=Tie(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Tie(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var Mie=EBControls,Die=Mie.generateDimensionsAttributes,jie=Mie.generateTypographyAttributes,Iie=Mie.generateBackgroundAttributes,Aie=Mie.generateBorderShadowAttributes,Lie=Mie.generateResponsiveRangeAttributes;const Fie=Pie(Pie(Pie(Pie(Pie(Pie(Pie(Pie({resOption:{type:"string",default:"Desktop"},parentBlockId:{type:"string"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},showLabel:{type:"boolean",default:!0},labelText:{type:"string",default:"Field Title"},dynamicValue:{type:"string"},dynamicOptionType:{type:"string",default:"normal"},dynamicValueLoader:{type:"boolean",default:!1},options:{type:"array",default:[{name:"Option 1",value:"checkbox_1"},{name:"Option 2",value:"checkbox_2"},{name:"Option 3",value:"checkbox_3"}]},fieldName:{type:"string"},defaultValue:{type:"string"},isRequired:{type:"boolean",default:!0},validationRules:{type:"object"},validationMessage:{type:"string",default:"This field is required."},labelColor:{type:"string"},requiredColor:{type:"string"},checkboxType:{type:"string",default:"normal"},checkboxColor:{type:"string"},checkboxBgColor:{type:"string"},checkboxBrColor:{type:"string"},checkboxBrCheckedColor:{type:"string"},checkboxBorder:{type:"number"}},jie(Object.values(W))),Die(wie)),Die(kie)),Iie(hie)),Aie(Rie)),Die(_ie)),Lie(Eie)),Lie(Cie));function Hie(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,r,c,l=[],i=!0,s=!1;try{if(r=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;i=!1}else for(;!(i=(n=r.call(a)).done)&&(l.push(n.value),l.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{if(!i&&null!=a.return&&(c=a.return(),Object(c)!==c))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return zie(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?zie(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function zie(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}var qie=EBControls,Uie=qie.BackgroundControl,Vie=qie.BorderShadowControl,Wie=qie.ColorControl,Gie=qie.ResponsiveRangeController,Zie=qie.ResponsiveDimensionsControl,Yie=qie.TypographyDropdown,Jie=qie.AdvancedControls,Qie=(qie.SortableControl,qie.DynamicInputControl),Xie=qie.DynamicFormFieldControl;qie.SortControl;const $ie=function(e){var t=e.attributes,a=e.setAttributes,n=(e.clientId,t.blockId,t.resOption),o=t.showLabel,r=t.labelText,c=t.options,l=t.fieldName,i=t.defaultValue,s=(t.placeholderText,t.isRequired),b=t.validationMessage,p=t.labelColor,u=t.requiredColor,d=t.checkboxType,m=t.checkboxColor,g=t.checkboxBgColor,f=t.checkboxBrColor,y=t.checkboxBrCheckedColor,v=t.checkboxBorder,h=t.dynamicValue,w=t.dynamicOptionType,k=t.dynamicValueLoader,R=Hie((0,J.useState)("normal"),2),_=(R[0],R[1],{setAttributes:a,resOption:n,attributes:t,objAttributes:Fie});return React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:"General",className:"eb-tab general"},{name:"styles",title:"Style",className:"eb-tab styles"},{name:"advance",title:"Advanced",className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls"+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("General","essential-blocks"),initialOpen:!0},React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Label?","essential-blocks"),checked:o,onChange:function(){return a({showLabel:!o})}}),o&&React.createElement(Qie,{label:(0,Y.__)("Label Text","essential-blocks"),attrName:"labelText",inputValue:r,setAttributes:a,onChange:function(e){return a({labelText:e})}}),React.createElement(Xie,{type:"checkbox",options:c,dynamicValue:h,dynamicOptionType:w,dynamicValueLoader:k,setAttributes:a}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Required?","essential-blocks"),checked:s,onChange:function(){return a({isRequired:!s})}})),React.createElement(X.PanelBody,{title:(0,Y.__)("Advanced Settings","essential-blocks"),initialOpen:!0},React.createElement(X.TextControl,{label:(0,Y.__)("Default Value","essential-blocks"),value:i,onChange:function(e){return a({defaultValue:e})},help:"Leave empty if no default value."}),React.createElement(X.TextControl,{label:(0,Y.__)("Field Custom Name Attribute","essential-blocks"),value:l,onChange:function(e){return a({fieldName:e})},help:"This is for the name attributes which is used to submit form data, Name must be unique."}),s&&React.createElement(X.TextControl,{label:(0,Y.__)("Custom Validation Message","essential-blocks"),value:b,onChange:function(e){return a({validationMessage:e})}}))),"styles"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Label","essential-blocks"),initialOpen:!0},React.createElement(Yie,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:Sie,resRequiredProps:_}),React.createElement(Wie,{label:(0,Y.__)("Color","essential-blocks"),color:p,onChange:function(e){return a({labelColor:e})}}),React.createElement(Wie,{label:(0,Y.__)("Requied Color","essential-blocks"),color:u,onChange:function(e){return a({requiredColor:e})}}),React.createElement(Zie,{resRequiredProps:_,controlName:_ie,baseLabel:(0,Y.__)("Margin","essential-blocks")})),React.createElement(X.PanelBody,{title:(0,Y.__)("Checkbox","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(Yie,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:Bie,resRequiredProps:_}),React.createElement(Wie,{label:(0,Y.__)("Color","essential-blocks"),color:m,onChange:function(e){return a({checkboxColor:e})}}),React.createElement(Wie,{label:(0,Y.__)("Background","essential-blocks"),color:g,onChange:function(e){return a({checkboxBgColor:e})}}),React.createElement(Gie,{baseLabel:(0,Y.__)("Size (PX)","essential-blocks"),controlName:Eie,resRequiredProps:_,min:1,max:100,step:1,noUnits:!0}),React.createElement(X.RangeControl,{label:(0,Y.__)("Border Width","essential-blocks"),value:v,onChange:function(e){return a({checkboxBorder:e})},min:1,max:5,step:1,allowReset:!0}),React.createElement(X.ButtonGroup,{className:"eb-inspector-btn-group"},xie.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:d===e.value,isSecondary:d!==e.value,onClick:function(){return a({checkboxType:e.value})}},e.label)}))),"normal"===d&&React.createElement(React.Fragment,null,React.createElement(Wie,{label:(0,Y.__)("Border Color","essential-blocks"),color:f,onChange:function(e){return a({checkboxBrColor:e})}})),"checked"===d&&React.createElement(React.Fragment,null,React.createElement(Wie,{label:(0,Y.__)("Border Color","essential-blocks"),color:y,onChange:function(e){return a({checkboxBrCheckedColor:e})}})),React.createElement(Gie,{baseLabel:(0,Y.__)("Spacing (PX)","essential-blocks"),controlName:Cie,resRequiredProps:_,min:1,max:100,step:1,noUnits:!0})))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Margin Padding","essential-blocks")},React.createElement(Zie,{resRequiredProps:_,controlName:wie,baseLabel:"Margin"}),React.createElement(Zie,{resRequiredProps:_,controlName:kie,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Background","essential-blocks"),initialOpen:!1},React.createElement(Uie,{controlName:hie,resRequiredProps:_})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(Vie,{controlName:Rie,resRequiredProps:_})),React.createElement(Jie,{attributes:t,setAttributes:a})))}))))};var Kie=window.EBControls,ese=Kie.softMinifyCssStrings,tse=Kie.generateTypographyStyles,ase=Kie.generateDimensionsControlStyles,nse=Kie.generateBorderShadowStyles,ose=Kie.generateResponsiveRangeStyles,rse=Kie.generateBackgroundControlStyles,cse=Kie.StyleComponent;function lse(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.parentBlockId,r=t.blockId,c=(t.blockMeta,t.resOption,t.labelColor),l=t.requiredColor,i=t.checkboxColor,s=t.checkboxBgColor,b=t.checkboxBrColor,p=t.checkboxBrCheckedColor,u=t.checkboxSizeRange,d=t.TABcheckboxSizeRange,m=t.MOBcheckboxSizeRange,g=(t.checkboxBorderborderColor,t.checkboxBorder),f=ase({controlName:wie,styleFor:"margin",attributes:t}),y=f.dimensionStylesDesktop,v=f.dimensionStylesTab,h=f.dimensionStylesMobile,w=ase({controlName:kie,styleFor:"padding",attributes:t}),k=w.dimensionStylesDesktop,R=w.dimensionStylesTab,_=w.dimensionStylesMobile,E=nse({controlName:Rie,attributes:t}),C=E.styesDesktop,x=E.styesTab,S=E.styesMobile,B=E.stylesHoverDesktop,T=E.stylesHoverTab,N=E.stylesHoverMobile,P=E.transitionStyle,O=rse({attributes:t,controlName:hie,noOverlay:!0}),M=O.backgroundStylesDesktop,D=O.hoverBackgroundStylesDesktop,j=O.backgroundStylesTab,I=O.hoverBackgroundStylesTab,A=O.backgroundStylesMobile,L=O.hoverBackgroundStylesMobile,F=O.bgTransitionStyle,H=tse({attributes:t,prefixConstant:Sie}),z=H.typoStylesDesktop,q=H.typoStylesTab,U=H.typoStylesMobile,V=ase({controlName:_ie,styleFor:"margin",attributes:t}),W=V.dimensionStylesDesktop,G=V.dimensionStylesTab,Z=V.dimensionStylesMobile,Y=tse({attributes:t,prefixConstant:Bie}),J=Y.typoStylesDesktop,Q=Y.typoStylesTab,X=Y.typoStylesMobile,$=ose({controlName:Eie,property:"Width",attributes:t,customUnit:"px"}),K=$.rangeStylesDesktop,ee=$.rangeStylesTab,te=$.rangeStylesMobile,ae=ose({controlName:Cie,property:"margin-bottom",attributes:t,customUnit:"px"}),ne=ae.rangeStylesDesktop,oe=ae.rangeStylesTab,re=ae.rangeStylesMobile,ce="\n\t\t.eb-checkbox-field-wrapper.".concat(r,"{\n\t\t\t").concat(y,"\n\t\t\t").concat(k,"\n\t\t\t").concat(M,"\n\t\t\t").concat(C,"\n\t\t\ttransition: ").concat(F,", ").concat(P,";\n\t\t}\n\t\t.eb-checkbox-field-wrapper.").concat(r,":hover {\n\t\t\t").concat(D,"\n\t\t\t").concat(B,"\n\t\t}\n\t"),le="\n\t\t.eb-checkbox-field-wrapper.".concat(r,"{\n\t\t\t").concat(v,"\n\t\t\t").concat(R,"\n\t\t\t").concat(j,"\n\t\t\t").concat(x,"\n\t\t}\n\t\t.eb-checkbox-field-wrapper.").concat(r,":hover {\n\t\t\t").concat(I,"\n\t\t\t").concat(T,"\n\t\t}\n\n\t"),ie="\n\t\t.eb-checkbox-field-wrapper.".concat(r,"{\n\t\t\t").concat(h,"\n\t\t\t").concat(_,"\n\t\t\t").concat(A,"\n\t\t\t").concat(S,"\n\t\t}\n\t\t.eb-checkbox-field-wrapper.").concat(r,":hover {\n\t\t\t").concat(L,"\n\t\t\t").concat(N,"\n\t\t}\n\n\t"),se="\n        .eb-form-wrapper.".concat(o," .eb-checkbox-field-wrapper.").concat(r," > label {\n\t\t\tcolor: ").concat(c,";\n            ").concat(z,"\n            ").concat(W,"\n\t\t}\n        .eb-form-wrapper.").concat(o," .eb-checkbox-field-wrapper.").concat(r," .eb-required{\n            color: ").concat(l,";\n        }\n\t"),be="\n        .eb-form-wrapper.".concat(o," .eb-checkbox-field-wrapper.").concat(r," > label {\n\t\t\t").concat(q,"\n            ").concat(G,"\n\t\t}\n\t"),pe="\n\t\t.eb-form-wrapper.".concat(o," .eb-checkbox-field-wrapper.").concat(r," > label {\n            ").concat(U,"\n            ").concat(Z,"\n\t\t}\n\t"),ue="\n        .eb-form-wrapper.".concat(o," .eb-checkbox-field-wrapper.").concat(r," input[type=checkbox] {\n\t\t\tbackground-color: ").concat(s,";\n\t\t\tborder-color: ").concat(b,";\n\t\t\tborder-width: ").concat(g,"px;\n            height: ").concat(u,"px;\n            ").concat(K,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(o," .eb-checkbox-field-wrapper.").concat(r," input[type=checkbox]:checked {\n\t\t\tborder-color: ").concat(p,";\n\t\t}\n\t\t.eb-form-wrapper.").concat(o," .eb-checkbox-field-wrapper.").concat(r," .eb-checkbox-inputarea label {\n            ").concat(J,"\n            color: ").concat(i,"\n\t\t}\n        .eb-form-wrapper.").concat(o," .eb-checkbox-field-wrapper.").concat(r," .eb-checkbox-inputarea {\n            ").concat(ne,"\n        }\n\n        .eb-form-wrapper.").concat(o," .eb-checkbox-field-wrapper.").concat(r," input[type=checkbox]::before {\n            color: ").concat(p,";\n            font-size: calc(").concat(u,"px /2);\n        }\n\t"),de="\n        .eb-form-wrapper.".concat(o," .eb-checkbox-field-wrapper.").concat(r," input[type=checkbox] {\n            height: ").concat(d,"px;\n            ").concat(ee,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(o," .eb-checkbox-field-wrapper.").concat(r," .eb-checkbox-inputarea label {\n            ").concat(Q,"\n\t\t}\n        .eb-form-wrapper.").concat(o," .eb-checkbox-field-wrapper.").concat(r," .eb-checkbox-inputarea {\n            ").concat(oe,"\n        }\n        .eb-form-wrapper.").concat(o," .eb-checkbox-field-wrapper.").concat(r," input[type=checkbox]::before {\n            font-size: calc(").concat(d,"px /2);\n        }\n\t"),me="\n        .eb-form-wrapper.".concat(o," .eb-checkbox-field-wrapper.").concat(r," input[type=checkbox] {\n            height: ").concat(m,"px;\n            ").concat(te,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(o," .eb-checkbox-field-wrapper.").concat(r," .eb-checkbox-inputarea label {\n            ").concat(X,"\n\t\t}\n        .eb-form-wrapper.").concat(o," .eb-checkbox-field-wrapper.").concat(r," .eb-checkbox-inputarea {\n            ").concat(re,"\n        }\n        .eb-form-wrapper.").concat(o," .eb-checkbox-field-wrapper.").concat(r," input[type=checkbox]::before {\n            font-size: calc(").concat(m,"px /2);\n        }\n\t"),ge=ese("\n\t\t".concat(ce,"\n\t\t").concat(se,"\n\t\t").concat(ue,"\n\t")),fe=ese("\n\t\t".concat(le,"\n\t\t").concat(be,"\n\t\t").concat(de,"\n\t")),ye=ese("\n\t\t".concat(ie,"\n\t\t").concat(pe,"\n\t\t").concat(me,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(cse,{attributes:t,setAttributes:a,desktopAllStyles:ge,tabAllStyles:fe,mobileAllStyles:ye,blockName:n}))}function ise(e){return ise="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ise(e)}function sse(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function bse(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?sse(Object(a),!0).forEach((function(t){pse(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):sse(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function pse(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=ise(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=ise(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ise(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var use=EBControls,dse=(use.duplicateBlockIdFix,use.filterBlocksByName,use.getBlockParentClientId,use.DynamicInputValueHandler),mse=use.DynamicFormFieldValueHandler,gse=use.BlockProps,fse=window.EBControls.BlockProps;function yse(e){return yse="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yse(e)}function vse(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function hse(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=yse(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=yse(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==yse(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const wse=[{attributes:function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?vse(Object(a),!0).forEach((function(t){hse(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):vse(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}({},Fie),supports:{anchor:!0},save:function(e){var t=e.attributes,a=(t.resOption,t.blockMeta,t.blockId),n=t.classHook,o=t.showLabel,r=t.labelText,c=t.options,l=t.fieldName,i=t.defaultValue,s=t.isRequired,b=t.validationMessage,p=Q.useBlockProps.save({className:"eb-form-field"});return React.createElement("div",p,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"".concat(a," eb-checkbox-field-wrapper eb-field-wrapper")},o&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:l,className:"eb-field-label"},r," ",s&&React.createElement("span",{className:"eb-required"},"*"))),c.length>0&&c.map((function(e){return React.createElement("div",{className:"eb-checkbox-inputarea"},React.createElement("label",{htmlFor:e.value},React.createElement("input",{id:e.value,name:l,value:e.value,checked:i===e.value,type:"checkbox"})," ",e.name))})),s&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(l)},b)))))}}],kse=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Checkbox Field","apiVersion":2,"name":"essential-blocks/form-checkbox-field","description":"Form Block Checkbox Field","category":"essential-blocks","textdomain":"essential-blocks","ancestor":["essential-blocks/form"],"supports":{"anchor":true},"editorScript":"essential-blocks-editor-script"}');(0,EBControls.ebConditionalRegisterBlockType)(kse,{keywords:[(0,Y.__)("EB Form","essential-blocks"),(0,Y.__)("Form Block","essential-blocks"),(0,Y.__)("Contact Form","essential-blocks"),(0,Y.__)("Subscription Form","essential-blocks")],icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"26",height:"27",fill:"none",viewBox:"0 0 26 27"},React.createElement("g",{clipPath:"url(#clip0_2_22414)"},React.createElement("path",{fill:"#6C3BFF",fillRule:"evenodd",d:"M2.057 27C.924 27 0 26.04 0 24.864V2.136C0 .959.924 0 2.057 0H23.93c1.133 0 2.057.96 2.057 2.136V24.85c0 1.177-.924 2.136-2.057 2.136H2.057V27zm-.37-1.752H24.3V1.752H1.687V25.248zM11 20.643a.818.818 0 01-.653-.32l-4.533-5.678a.92.92 0 01.111-1.228.842.842 0 01.542-.205c.246 0 .493.115.653.307l3.818 4.784 7.291-11.025a.835.835 0 011.183-.23c.381.268.48.818.221 1.227l-7.92 11.985a1.09 1.09 0 01-.16.179.842.842 0 01-.541.204h-.012z",clipRule:"evenodd"})),React.createElement("defs",null,React.createElement("clipPath",{id:"clip0_2_22414"},React.createElement("path",{fill:"#fff",d:"M0 0H26V27H0z"}))))},attributes:Fie,edit:function(e){var t=e.attributes,a=e.setAttributes,n=e.isSelected,o=e.clientId,r=e.className,c=(e.name,t.resOption,t.blockMeta,t.blockId),l=(t.parentBlockId,t.classHook),i=t.showLabel,s=t.labelText,b=t.options,p=t.fieldName,u=t.defaultValue,d=t.isRequired,m=(t.validationRules,t.validationMessage),g=t.dynamicValue,f=t.dynamicOptionType,y=t.dynamicValueLoader,v=bse(bse({},e),{},{blockPrefix:"eb-checkbox-field",rootClass:"eb-guten-block-main-parent-wrapper eb-form-field",style:React.createElement(lse,e)});return(0,J.useEffect)((function(){var e=pse({},p,{isRequired:{status:d,message:m}});a({validationRules:e})}),[d,p,m]),(0,Q.useBlockProps)({className:te()(r,"eb-guten-block-main-parent-wrapper eb-form-field")}),React.createElement(React.Fragment,null,n&&React.createElement($ie,{clientId:o,attributes:t,setAttributes:a}),React.createElement(gse.Edit,v,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(c," ").concat(l)},React.createElement("div",{className:"".concat(c," eb-checkbox-field-wrapper eb-field-wrapper")},i&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:p,className:"eb-field-label"},React.createElement(dse,{value:s,onChange:function(e){return a({labelText:e})},readOnly:!0})," ",d&&React.createElement("span",{className:"eb-required"},"*"))),React.createElement(mse,{type:"checkbox",fieldName:p,defaultValue:u,options:b,dynamicValue:g,dynamicOptionType:f,dynamicValueLoader:y,setAttributes:a}),d&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(p)},React.createElement(dse,{value:m,onChange:function(e){return a({validationMessage:e})},readOnly:!0})))))))},save:function(e){var t=e.attributes,a=(t.resOption,t.blockMeta,t.blockId),n=t.classHook,o=t.showLabel,r=t.labelText,c=t.options,l=t.fieldName,i=t.defaultValue,s=t.isRequired,b=t.validationMessage;return React.createElement(fse.Save,{attributes:t,rootClass:"eb-form-field"},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"".concat(a," eb-checkbox-field-wrapper eb-field-wrapper")},o&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:l,className:"eb-field-label"},r," ",s&&React.createElement("span",{className:"eb-required"},"*"))),c.length>0&&c.map((function(e){return React.createElement("div",{className:"eb-checkbox-inputarea"},React.createElement("label",{htmlFor:e.value},React.createElement("input",{id:e.value,name:l,value:e.value,checked:i===e.value,type:"checkbox"})," ",e.name))})),s&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(l)},b)))))},deprecated:wse,example:{}});var Rse="wrprBg",_se="wrpMargin",Ese="wrpPadding",Cse="wrpBorderShadow",xse="labelMargin",Sse="radioSize",Bse="radioSpacing",Tse=((0,Y.__)("Left"),(0,Y.__)("Center"),(0,Y.__)("Right"),(0,Y.__)("Normal"),(0,Y.__)("Advanced"),[{label:(0,Y.__)("Normal"),value:"normal"},{label:(0,Y.__)("Checked"),value:"checked"}]),Nse="label_",Pse="validationText_",Ose="radioText_";function Mse(e){return Mse="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Mse(e)}function Dse(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function jse(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Dse(Object(a),!0).forEach((function(t){Ise(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Dse(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Ise(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=Mse(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=Mse(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Mse(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var Ase=EBControls,Lse=Ase.generateDimensionsAttributes,Fse=Ase.generateTypographyAttributes,Hse=Ase.generateBackgroundAttributes,zse=Ase.generateBorderShadowAttributes;Ase.generateResponsiveRangeAttributes;const qse=jse(jse(jse(jse(jse(jse(jse(jse({resOption:{type:"string",default:"Desktop"},parentBlockId:{type:"string"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},showLabel:{type:"boolean",default:!0},labelText:{type:"string",default:"Field Title"},dynamicValue:{type:"string"},dynamicOptionType:{type:"string",default:"normal"},dynamicValueLoader:{type:"boolean",default:!1},options:{type:"array",default:[{name:"Option 1",value:"radio_1"},{name:"Option 2",value:"radio_2"},{name:"Option 3",value:"radio_3"}]},fieldName:{type:"string"},defaultValue:{type:"string"},isRequired:{type:"boolean",default:!0},validationRules:{type:"object"},validationMessage:{type:"string",default:"This field is required."},labelColor:{type:"string"},requiredColor:{type:"string"},fieldValidationColor:{type:"string"},fieldValidationBorderColor:{type:"string"},radioType:{type:"string",default:"normal"},radioColor:{type:"string"},radioBgColor:{type:"string"},radioBrColor:{type:"string"},radioBrCheckedColor:{type:"string"},radioBorder:{type:"number"}},Fse(Object.values(G))),Lse(_se)),Lse(Ese)),Hse(Rse)),zse(Cse)),Lse("fieldPadding")),zse("fieldBorder")),Lse(xse));function Use(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,r,c,l=[],i=!0,s=!1;try{if(r=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;i=!1}else for(;!(i=(n=r.call(a)).done)&&(l.push(n.value),l.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{if(!i&&null!=a.return&&(c=a.return(),Object(c)!==c))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Vse(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?Vse(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Vse(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}var Wse=EBControls,Gse=Wse.BackgroundControl,Zse=Wse.BorderShadowControl,Yse=Wse.ColorControl,Jse=Wse.ResponsiveRangeController,Qse=Wse.ResponsiveDimensionsControl,Xse=Wse.TypographyDropdown,$se=Wse.AdvancedControls,Kse=(Wse.SortableControl,Wse.DynamicInputControl),ebe=Wse.DynamicFormFieldControl;Wse.SortControl;const tbe=function(e){var t=e.attributes,a=e.setAttributes,n=(e.clientId,t.blockId,t.resOption),o=t.showLabel,r=t.labelText,c=t.options,l=t.fieldName,i=t.defaultValue,s=(t.placeholderText,t.isRequired),b=t.validationMessage,p=t.labelColor,u=t.requiredColor,d=t.radioType,m=t.radioColor,g=t.radioBgColor,f=t.radioBrColor,y=t.radioBrCheckedColor,v=t.radioBorder,h=t.dynamicValue,w=t.dynamicOptionType,k=t.dynamicValueLoader,R=Use((0,J.useState)("normal"),2),_=(R[0],R[1],{setAttributes:a,resOption:n,attributes:t,objAttributes:qse});return React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:"General",className:"eb-tab general"},{name:"styles",title:"Style",className:"eb-tab styles"},{name:"advance",title:"Advanced",className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls"+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("General","essential-blocks"),initialOpen:!0},React.createElement(X.ToggleControl,{label:(0,Y.__)("Show Label?","essential-blocks"),checked:o,onChange:function(){return a({showLabel:!o})}}),o&&React.createElement(Kse,{label:(0,Y.__)("Label Text","essential-blocks"),attrName:"labelText",inputValue:r,setAttributes:a,onChange:function(e){return a({labelText:e})}}),React.createElement(ebe,{type:"radio",options:c,dynamicValue:h,dynamicOptionType:w,dynamicValueLoader:k,setAttributes:a}),React.createElement(X.ToggleControl,{label:(0,Y.__)("Required?","essential-blocks"),checked:s,onChange:function(){return a({isRequired:!s})}})),React.createElement(X.PanelBody,{title:(0,Y.__)("Advanced Settings","essential-blocks"),initialOpen:!0},React.createElement(X.TextControl,{label:(0,Y.__)("Default Value","essential-blocks"),value:i,onChange:function(e){return a({defaultValue:e})},help:"Leave empty if no default value."}),React.createElement(X.TextControl,{label:(0,Y.__)("Field Custom Name Attribute","essential-blocks"),value:l,onChange:function(e){return a({fieldName:e})},help:"This is for the name attributes which is used to submit form data, Name must be unique."}),s&&React.createElement(X.TextControl,{label:(0,Y.__)("Custom Validation Message","essential-blocks"),value:b,onChange:function(e){return a({validationMessage:e})}}))),"styles"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Label","essential-blocks"),initialOpen:!0},React.createElement(Xse,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:Nse,resRequiredProps:_}),React.createElement(Yse,{label:(0,Y.__)("Color","essential-blocks"),color:p,onChange:function(e){return a({labelColor:e})}}),React.createElement(Yse,{label:(0,Y.__)("Requied Color","essential-blocks"),color:u,onChange:function(e){return a({requiredColor:e})}}),React.createElement(Qse,{resRequiredProps:_,controlName:xse,baseLabel:(0,Y.__)("Margin","essential-blocks")})),React.createElement(X.PanelBody,{title:(0,Y.__)("Radio Fields","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(Xse,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:Ose,resRequiredProps:_}),React.createElement(Yse,{label:(0,Y.__)("Color","essential-blocks"),color:m,onChange:function(e){return a({radioColor:e})}}),React.createElement(Yse,{label:(0,Y.__)("Background","essential-blocks"),color:g,onChange:function(e){return a({radioBgColor:e})}}),React.createElement(Jse,{baseLabel:(0,Y.__)("Size (PX)","essential-blocks"),controlName:Sse,resRequiredProps:_,min:1,max:100,step:1,noUnits:!0}),React.createElement(X.RangeControl,{label:(0,Y.__)("Border Width","essential-blocks"),value:v,onChange:function(e){return a({radioBorder:e})},min:1,max:5,step:1,allowReset:!0}),React.createElement(X.ButtonGroup,{className:"eb-inspector-btn-group"},Tse.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:d===e.value,isSecondary:d!==e.value,onClick:function(){return a({radioType:e.value})}},e.label)}))),"normal"===d&&React.createElement(React.Fragment,null,React.createElement(Yse,{label:(0,Y.__)("Border Color","essential-blocks"),color:f,onChange:function(e){return a({radioBrColor:e})}})),"checked"===d&&React.createElement(React.Fragment,null,React.createElement(Yse,{label:(0,Y.__)("Border Color","essential-blocks"),color:y,onChange:function(e){return a({radioBrCheckedColor:e})}})),React.createElement(Jse,{baseLabel:(0,Y.__)("Spacing (PX)","essential-blocks"),controlName:Bse,resRequiredProps:_,min:1,max:100,step:1,noUnits:!0})))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Margin Padding","essential-blocks")},React.createElement(Qse,{resRequiredProps:_,controlName:_se,baseLabel:"Margin"}),React.createElement(Qse,{resRequiredProps:_,controlName:Ese,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Background","essential-blocks"),initialOpen:!1},React.createElement(Gse,{controlName:Rse,resRequiredProps:_})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(Zse,{controlName:Cse,resRequiredProps:_})),React.createElement($se,{attributes:t,setAttributes:a})))}))))};var abe=window.EBControls,nbe=abe.softMinifyCssStrings,obe=abe.generateTypographyStyles,rbe=abe.generateDimensionsControlStyles,cbe=abe.generateBorderShadowStyles,lbe=abe.generateResponsiveRangeStyles,ibe=abe.generateBackgroundControlStyles,sbe=abe.StyleComponent;function bbe(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=(t.blockMeta,t.resOption,t.parentBlockId),c=t.labelColor,l=t.requiredColor,i=t.radioColor,s=t.radioBgColor,b=t.radioBrColor,p=t.radioBrCheckedColor,u=t.radioSizeRange,d=t.TABradioSizeRange,m=t.MOBradioSizeRange,g=(t.radioBorderborderColor,t.radioBorder),f=rbe({controlName:_se,styleFor:"margin",attributes:t}),y=f.dimensionStylesDesktop,v=f.dimensionStylesTab,h=f.dimensionStylesMobile,w=rbe({controlName:Ese,styleFor:"padding",attributes:t}),k=w.dimensionStylesDesktop,R=w.dimensionStylesTab,_=w.dimensionStylesMobile,E=cbe({controlName:Cse,attributes:t}),C=E.styesDesktop,x=E.styesTab,S=E.styesMobile,B=E.stylesHoverDesktop,T=E.stylesHoverTab,N=E.stylesHoverMobile,P=E.transitionStyle,O=ibe({attributes:t,controlName:Rse,noOverlay:!0}),M=O.backgroundStylesDesktop,D=O.hoverBackgroundStylesDesktop,j=O.backgroundStylesTab,I=O.hoverBackgroundStylesTab,A=O.backgroundStylesMobile,L=O.hoverBackgroundStylesMobile,F=O.bgTransitionStyle,H=obe({attributes:t,prefixConstant:Nse}),z=H.typoStylesDesktop,q=H.typoStylesTab,U=H.typoStylesMobile,V=rbe({controlName:xse,styleFor:"margin",attributes:t}),W=V.dimensionStylesDesktop,G=V.dimensionStylesTab,Z=V.dimensionStylesMobile,Y=obe({attributes:t,prefixConstant:Ose}),J=Y.typoStylesDesktop,Q=Y.typoStylesTab,X=Y.typoStylesMobile,$=lbe({controlName:Sse,property:"Width",attributes:t,customUnit:"px"}),K=$.rangeStylesDesktop,ee=$.rangeStylesTab,te=$.rangeStylesMobile,ae=lbe({controlName:Bse,property:"margin-bottom",attributes:t,customUnit:"px"}),ne=ae.rangeStylesDesktop,oe=ae.rangeStylesTab,re=ae.rangeStylesMobile,ce="\n\t\t.eb-radio-field-wrapper.".concat(o,"{\n\t\t\t").concat(y,"\n\t\t\t").concat(k,"\n\t\t\t").concat(M,"\n\t\t\t").concat(C,"\n\t\t\ttransition: ").concat(F,", ").concat(P,";\n\t\t}\n\t\t.eb-radio-field-wrapper.").concat(o,":hover {\n\t\t\t").concat(D,"\n\t\t\t").concat(B,"\n\t\t}\n\t"),le="\n\t\t.eb-radio-field-wrapper.".concat(o,"{\n\t\t\t").concat(v,"\n\t\t\t").concat(R,"\n\t\t\t").concat(j,"\n\t\t\t").concat(x,"\n\t\t}\n\t\t.eb-radio-field-wrapper.").concat(o,":hover {\n\t\t\t").concat(I,"\n\t\t\t").concat(T,"\n\t\t}\n\n\t"),ie="\n\t\t.eb-radio-field-wrapper.".concat(o,"{\n\t\t\t").concat(h,"\n\t\t\t").concat(_,"\n\t\t\t").concat(A,"\n\t\t\t").concat(S,"\n\t\t}\n\t\t.eb-radio-field-wrapper.").concat(o,":hover {\n\t\t\t").concat(L,"\n\t\t\t").concat(N,"\n\t\t}\n\n\t"),se="\n        .eb-form-wrapper.".concat(r," .eb-radio-field-wrapper.").concat(o," > label {\n\t\t\tcolor: ").concat(c,";\n            ").concat(z,"\n            ").concat(W,"\n\t\t}\n        .eb-form-wrapper.").concat(r," .eb-radio-field-wrapper.").concat(o," .eb-required{\n            color: ").concat(l,";\n        }\n\t"),be="\n        .eb-form-wrapper.".concat(r," .eb-radio-field-wrapper.").concat(o," > label {\n\t\t\t").concat(q,"\n            ").concat(G,"\n\t\t}\n\t"),pe="\n\t\t.eb-form-wrapper.".concat(r," .eb-radio-field-wrapper.").concat(o," > label {\n            ").concat(U,"\n            ").concat(Z,"\n\t\t}\n\t"),ue="\n\t\t.eb-form-wrapper.".concat(r," .eb-form-field .eb-radio-field-wrapper.").concat(o," input[type=radio] {\n\t\t\tbackground-color: ").concat(s,";\n\t\t\tborder-color: ").concat(b,";\n\t\t\tborder-width: ").concat(g,"px;\n            height: ").concat(u,"px;\n            ").concat(K,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(r," .eb-form-field .eb-radio-field-wrapper.").concat(o," input[type=radio]:checked {\n\t\t\tborder-color: ").concat(p,";\n\t\t}\n\t\t.eb-form-wrapper.").concat(r," .eb-radio-field-wrapper.").concat(o," .eb-radio-inputarea label {\n            ").concat(J,"\n            color: ").concat(i,"\n\t\t}\n        .eb-form-wrapper.").concat(r," .eb-radio-field-wrapper.").concat(o," .eb-radio-inputarea {\n            ").concat(ne,"\n        }\n\n        .eb-form-wrapper.").concat(r," .eb-form-field .eb-radio-field-wrapper.").concat(o," input[type=radio]::before {\n            width: calc(").concat(u,"px / 2);\n            height: calc(").concat(u,"px / 2);\n            background-color: ").concat(p,";\n        }\n\t"),de="\n\t\t.eb-form-wrapper.".concat(r," .eb-form-field .eb-radio-field-wrapper.").concat(o," input[type=radio] {\n            height: ").concat(d,"px;\n            ").concat(ee,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(r," .eb-radio-field-wrapper.").concat(o," .eb-radio-inputarea label {\n            ").concat(Q,"\n\t\t}\n        .eb-form-wrapper.").concat(r," .eb-radio-field-wrapper.").concat(o," .eb-radio-inputarea {\n            ").concat(oe,"\n        }\n        .eb-form-wrapper.").concat(r," .eb-form-field .eb-radio-field-wrapper.").concat(o," input[type=radio]::before {\n            width: calc(").concat(d,"px / 2);\n            height: calc(").concat(d,"px / 2);\n        }\n\t"),me="\n\t\t.eb-form-wrapper.".concat(r," .eb-form-field .eb-radio-field-wrapper.").concat(o," input[type=radio] {\n            height: ").concat(m,"px;\n            ").concat(te,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(r," .eb-radio-field-wrapper.").concat(o," .eb-radio-inputarea label {\n            ").concat(X,"\n\t\t}\n        .eb-form-wrapper.").concat(r," .eb-radio-field-wrapper.").concat(o," .eb-radio-inputarea {\n            ").concat(re,"\n        }\n        .eb-form-wrapper.").concat(r," .eb-form-field .eb-radio-field-wrapper.").concat(o," input[type=radio]::before {\n            width: calc(").concat(m,"px / 2);\n            height: calc(").concat(m,"px / 2);\n        }\n\t"),ge=nbe("\n\t\t".concat(ce,"\n\t\t").concat(se,"\n\t\t").concat(ue,"\n\t")),fe=nbe("\n\t\t".concat(le,"\n\t\t").concat(be,"\n\t\t").concat(de,"\n\t")),ye=nbe("\n\t\t".concat(ie,"\n\t\t").concat(pe,"\n\t\t").concat(me,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(sbe,{attributes:t,setAttributes:a,desktopAllStyles:ge,tabAllStyles:fe,mobileAllStyles:ye,blockName:n}))}function pbe(e){return pbe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pbe(e)}function ube(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function dbe(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ube(Object(a),!0).forEach((function(t){mbe(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ube(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function mbe(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=pbe(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=pbe(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==pbe(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var gbe=EBControls,fbe=(gbe.duplicateBlockIdFix,gbe.filterBlocksByName,gbe.getBlockParentClientId,gbe.DynamicInputValueHandler),ybe=gbe.DynamicFormFieldValueHandler,vbe=gbe.BlockProps,hbe=window.EBControls.BlockProps;function wbe(e){return wbe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},wbe(e)}function kbe(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Rbe(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?kbe(Object(a),!0).forEach((function(t){_be(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):kbe(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function _be(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=wbe(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=wbe(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==wbe(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}window.EBControls.EBDisplayIcon;var Ebe=[{attributes:Rbe({},qse),supports:{align:["full"]},save:function(e){var t=e.attributes,a=(t.resOption,t.blockMeta,t.blockId),n=t.classHook,o=t.showLabel,r=t.labelText,c=t.options,l=t.fieldName,i=t.defaultValue,s=t.isRequired,b=t.validationMessage,p=Q.useBlockProps.save({className:"eb-form-field"});return React.createElement("div",p,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"".concat(a," eb-radio-field-wrapper eb-field-wrapper")},o&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:l},r," ",s&&React.createElement("span",{className:"eb-required"},"*"))),c.length>0&&c.map((function(e){return React.createElement("div",{className:"eb-radio-inputarea"},React.createElement("label",{htmlFor:e.value},React.createElement("input",{id:e.value,name:l,value:e.value,checked:i===e.value,type:"radio"})," ",e.name))})),s&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(l)},b)))))}},{attributes:Rbe({},qse),supports:{align:["full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.showLabel,r=t.labelText,c=t.fieldName,l=t.defaultValue,i=t.placeholderText,s=t.isRequired,b=t.validationMessage,p=t.isIcon,u=t.icon,d=t.formStyle,m=Q.useBlockProps.save({className:"eb-form-field"});return React.createElement("div",m,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"".concat(a," eb-number-field-wrapper eb-field-wrapper")},o&&"form-style-modern"!=d&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:c},r," ",s&&React.createElement("span",{className:"eb-required"},"*"))),React.createElement("div",{className:"eb-field-input-wrap"},p&&u&&React.createElement("i",{className:"".concat(u," eb-input-icon")}),React.createElement("input",{type:"number",id:c,name:c,className:"eb-field-input",value:l,placeholder:i,required:s}),"form-style-modern"==d&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:c},r," ",s&&React.createElement("span",{className:"eb-required"},"*")))),s&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(c)},b)))))}}];const Cbe=Ebe,xbe=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Radio Field","apiVersion":2,"name":"essential-blocks/form-radio-field","description":"Form Block Radio Field","category":"essential-blocks","textdomain":"essential-blocks","ancestor":["essential-blocks/form"],"supports":{"anchor":true},"editorScript":"essential-blocks-editor-script"}');(0,EBControls.ebConditionalRegisterBlockType)(xbe,{keywords:[(0,Y.__)("EB Form","essential-blocks"),(0,Y.__)("Form Block","essential-blocks"),(0,Y.__)("Contact Form","essential-blocks"),(0,Y.__)("Subscription Form","essential-blocks")],icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"34",height:"34",fill:"none",viewBox:"0 0 34 34"},React.createElement("g",{clipPath:"url(#clip0_2_22421)"},React.createElement("path",{fill:"#6C3BFF",fillRule:"evenodd",d:"M17 34C7.62 34 0 26.372 0 17S7.628 0 17 0s17 7.628 17 17c0 4.537-1.765 8.812-4.977 12.023A16.892 16.892 0 0117 34.007V34zm0-32.093c-4.034 0-7.82 1.574-10.67 4.424A14.994 14.994 0 001.915 17c0 8.323 6.77 15.086 15.086 15.086S32.093 25.316 32.093 17c0-8.323-6.77-15.093-15.086-15.093H17zm0 20.027A4.938 4.938 0 0112.066 17 4.938 4.938 0 0117 12.066 4.938 4.938 0 0121.934 17 4.938 4.938 0 0117 21.934z",clipRule:"evenodd"})),React.createElement("defs",null,React.createElement("clipPath",{id:"clip0_2_22421"},React.createElement("path",{fill:"#fff",d:"M0 0H34V34H0z"}))))},attributes:qse,edit:function(e){var t=e.attributes,a=e.setAttributes,n=e.isSelected,o=e.clientId,r=(e.className,e.name,t.resOption,t.blockMeta,t.parentBlockId,t.blockId),c=t.classHook,l=t.showLabel,i=t.labelText,s=t.options,b=t.fieldName,p=t.defaultValue,u=t.isRequired,d=t.validationMessage,m=(t.validationRules,t.dynamicValue),g=t.dynamicOptionType,f=t.dynamicValueLoader,y=dbe(dbe({},e),{},{blockPrefix:"eb-radio-field",rootClass:"eb-guten-block-main-parent-wrapper eb-form-field",style:React.createElement(bbe,e)});return(0,J.useEffect)((function(){var e=mbe({},b,{isRequired:{status:u,message:d}});a({validationRules:e})}),[u,b,d]),React.createElement(React.Fragment,null,n&&React.createElement(tbe,{clientId:o,attributes:t,setAttributes:a}),React.createElement(vbe.Edit,y,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(r," ").concat(c)},React.createElement("div",{className:"".concat(r," eb-radio-field-wrapper eb-field-wrapper")},l&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:b},React.createElement(fbe,{value:i,onChange:function(e){return a({labelText:e})},readOnly:!0})," ",u&&React.createElement("span",{className:"eb-required"},"*"))),React.createElement(ybe,{type:"radio",fieldName:b,defaultValue:p,options:s,dynamicValue:m,dynamicOptionType:g,dynamicValueLoader:f,setAttributes:a}),u&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(b)},d))))))},save:function(e){var t=e.attributes,a=(t.resOption,t.blockMeta,t.blockId),n=t.classHook,o=t.showLabel,r=t.labelText,c=t.options,l=t.fieldName,i=t.defaultValue,s=t.isRequired,b=t.validationMessage;return React.createElement(hbe.Save,{attributes:t,rootClass:"eb-form-field"},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"".concat(a," eb-radio-field-wrapper eb-field-wrapper")},o&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:l},r," ",s&&React.createElement("span",{className:"eb-required"},"*"))),c.length>0&&c.map((function(e){return React.createElement("div",{className:"eb-radio-inputarea"},React.createElement("label",{htmlFor:e.value},React.createElement("input",{id:e.value,name:l,value:e.value,checked:i===e.value,type:"radio"})," ",e.name))})),s&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(l)},b)))))},deprecated:Cbe,example:{}});var Sbe="wrprBg",Bbe="wrpMargin",Tbe="wrpPadding",Nbe="wrpBorderShadow",Pbe="iconBrd",Obe="iconBrdWidth",Mbe="iconSize",Dbe=[{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignleft"})),value:"left"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignright"})),value:"right"}],jbe=[{label:(0,Y.__)("Circle","essential-blocks"),value:"circle"},{label:(0,Y.__)("Square","essential-blocks"),value:"square"}],Ibe=[{label:(0,Y.__)("Default","essential-blocks"),value:"default"},{label:(0,Y.__)("Framed","essential-blocks"),value:"framed"},{label:(0,Y.__)("Stacked","essential-blocks"),value:"stacked"}],Abe=[{label:"Normal",value:"normal"},{label:"Hover",value:"hover"}],Lbe=window.EBControls,Fbe=Lbe.softMinifyCssStrings,Hbe=(Lbe.generateTypographyStyles,Lbe.generateResponsiveRangeStyles),zbe=Lbe.generateDimensionsControlStyles,qbe=Lbe.generateBorderShadowStyles,Ube=Lbe.generateBackgroundControlStyles,Vbe=Lbe.StyleComponent;function Wbe(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=(t.resOption,t.blockMeta,t.blockId),r=t.iconAlign,c=t.iconPadding,l=t.iconPrimaryColor,i=t.iconPrimaryHoverColor,s=t.iconSecondaryColor,b=t.iconSecondaryHoverColor,p=zbe({controlName:Bbe,styleFor:"margin",attributes:t}),u=p.dimensionStylesDesktop,d=p.dimensionStylesTab,m=p.dimensionStylesMobile,g=zbe({controlName:Tbe,styleFor:"padding",attributes:t}),f=g.dimensionStylesDesktop,y=g.dimensionStylesTab,v=g.dimensionStylesMobile,h=Ube({attributes:t,controlName:Sbe}),w=h.backgroundStylesDesktop,k=(h.hoverBackgroundStylesDesktop,h.backgroundStylesTab),R=(h.hoverBackgroundStylesTab,h.backgroundStylesMobile),_=(h.hoverBackgroundStylesMobile,h.overlayStylesDesktop,h.hoverOverlayStylesDesktop,h.overlayStylesTab,h.hoverOverlayStylesTab,h.overlayStylesMobile,h.hoverOverlayStylesMobile,h.bgTransitionStyle),E=(h.ovlTransitionStyle,qbe({controlName:Nbe,attributes:t})),C=E.styesDesktop,x=E.styesTab,S=E.styesMobile,B=E.stylesHoverDesktop,T=E.stylesHoverTab,N=E.stylesHoverMobile,P=E.transitionStyle,O=Hbe({controlName:Mbe,property:"font-size",attributes:t}),M=O.rangeStylesDesktop,D=O.rangeStylesTab,j=O.rangeStylesMobile,I=zbe({controlName:Pbe,styleFor:"border-radius",attributes:t}),A=I.dimensionStylesDesktop,L=I.dimensionStylesTab,F=I.dimensionStylesMobile,H=zbe({controlName:Obe,styleFor:"border",attributes:t}),z=H.dimensionStylesDesktop,q=H.dimensionStylesTab,U=H.dimensionStylesMobile,V="\n\t\t.".concat(o,".eb-icon-wrapper {\n            text-align: ").concat(r,";\n\t\t\t").concat(u,"\n\t\t\t").concat(f,"\n\t\t\t").concat(C,"\n\t\t\t").concat(w,"\n\t\t\ttransition:").concat(_,", ").concat(P,";\n\t\t}\n\n\t\t.").concat(o,".eb-icon-wrapper:hover {\n\t\t\t").concat(B,"\n\t\t}\n\t"),W="\n        .".concat(o,".eb-icon-wrapper.eb-icon-view-framed .eb-icon-container,\n        .").concat(o,".eb-icon-wrapper.eb-icon-view-default .eb-icon-container {\n            ").concat(l?"color: ".concat(l,";"):"","\n\n        }\n        .").concat(o,".eb-icon-wrapper.eb-icon-view-framed .eb-icon-container {\n             ").concat(s?"background-color: ".concat(s,";"):"","\n             ").concat(l?"border-color: ".concat(l,";"):"","\n        }\n        .").concat(o,".eb-icon-wrapper.eb-icon-view-framed .eb-icon-container:hover {\n             ").concat(i?"color: ".concat(i,";"):"","\n             ").concat(i?"border-color: ".concat(i,";"):"","\n             ").concat(b?"background-color: ".concat(b,";"):"","\n        }\n        .").concat(o,".eb-icon-wrapper.eb-icon-view-stacked .eb-icon-container {\n            ").concat(l?"background-color: ".concat(l,";"):"","\n            ").concat(s?"color: ".concat(s,";"):"","\n        }\n\n        .").concat(o,".eb-icon-wrapper.eb-icon-view-stacked .eb-icon-container:hover {\n            ").concat(i?"background-color: ".concat(i,";"):"","\n            ").concat(b?"color: ".concat(b,";"):"","\n        }\n\n        .").concat(o,".eb-icon-wrapper .eb-icon-container {\n            ").concat(M,"\n            ").concat(c?"padding: ".concat(c,"px;"):"","\n            ").concat(A,"\n            ").concat(z,"\n         }\n    "),G="\n\t\t.".concat(o,".eb-icon-wrapper{\n\t\t\t").concat(d,"\n\t\t\t").concat(y,"\n\t\t\t").concat(x,"\n\t\t\t").concat(k,"\n\t\t}\n\n\t\t.").concat(o,".eb-icon-wrapper:hover {\n\t\t\t").concat(T,"\n\t\t}\n\t"),Z="\n        .".concat(o,".eb-icon-wrapper .eb-icon-container {\n            ").concat(D,"\n            ").concat(L,"\n            ").concat(q,"\n        }\n    "),Y="\n        .eb-parent-".concat(o," {\n            line-height: 0;\n        }\n\n\t\t.").concat(o,".eb-icon-wrapper {\n\t\t\t").concat(m,"\n\t\t\t").concat(v,"\n\t\t\t").concat(S,"\n\t\t\t").concat(R,"\n\t\t}\n\n\t\t.").concat(o,".eb-icon-wrapper:hover {\n\t\t\t").concat(N,"\n\t\t}\n\t"),J="\n        .".concat(o,".eb-icon-wrapper .eb-icon-container {\n            ").concat(j,"\n            ").concat(F,"\n            ").concat(U,"\n        }\n    "),Q=Fbe("\n\t\t".concat(V,"\n        ").concat(W,"\n\t")),X=Fbe("\n\t\t".concat(G,"\n        ").concat(Z,"\n\t")),$=Fbe("\n\t\t".concat(Y,"\n        ").concat(J,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(Vbe,{attributes:t,setAttributes:a,desktopAllStyles:Q,tabAllStyles:X,mobileAllStyles:$,blockName:n}))}function Gbe(e){return Gbe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Gbe(e)}function Zbe(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Ybe(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Zbe(Object(a),!0).forEach((function(t){Jbe(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Zbe(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Jbe(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=Gbe(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=Gbe(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Gbe(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var Qbe=window.EBControls,Xbe=Qbe.generateDimensionsAttributes,$be=(Qbe.generateTypographyAttributes,Qbe.generateBackgroundAttributes),Kbe=Qbe.generateBorderShadowAttributes,epe=Qbe.generateResponsiveRangeAttributes;const tpe=Ybe(Ybe(Ybe(Ybe(Ybe(Ybe(Ybe(Ybe({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},iconAlign:{type:"string",default:"center"},icon:{type:"string",default:"far fa-check-circle"},iconPrimaryColor:{type:"string",default:"var(--eb-global-primary-color)"},iconPrimaryHoverColor:{type:"string",default:"var(--eb-global-secondary-color)"},iconSecondaryColor:{type:"string",default:"var(--eb-global-secondary-color)"},iconSecondaryHoverColor:{type:"string",default:"var(--eb-global-primary-color)"},iconView:{type:"string",default:"default"},iconShape:{type:"string",default:"circle"},iconLink:{type:"string"},linkNewTab:{type:"boolean",default:!1},linkNoFollow:{type:"boolean",default:!1},iconPadding:{type:"number"},iconColorType:{type:"string",default:"normal"}},Xbe(Bbe)),Xbe(Tbe)),Xbe(Pbe,{styleFor:"border-radius"})),Xbe(Obe)),Kbe(Nbe,{bdrDefaults:{top:0,bottom:0,right:0,left:0}})),$be(Sbe,{defaultBgGradient:"linear-gradient(45deg,#ffffff,#ffffff)"})),$be("iconBg",{noOverlay:!0,noMainBgi:!0})),epe(Mbe,{defaultRange:32}));var ape=window.EBControls,npe=(ape.faIcons,ape.ResponsiveDimensionsControl),ope=(ape.TypographyDropdown,ape.BorderShadowControl),rpe=ape.ResponsiveRangeController,cpe=ape.BackgroundControl,lpe=ape.ColorControl,ipe=ape.AdvancedControls,spe=ape.EBIconPicker;const bpe=function(e){var t=e.attributes,a=e.setAttributes,n=t.resOption,o=t.icon,r=t.iconAlign,c=t.iconPrimaryColor,l=t.iconPrimaryHoverColor,i=t.iconSecondaryColor,s=t.iconSecondaryHoverColor,b=t.iconShape,p=t.iconView,u=t.iconPadding,d=t.iconColorType,m={setAttributes:a,resOption:n,attributes:t,objAttributes:tpe};return React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:"General",className:"eb-tab general"},{name:"styles",title:"Style",className:"eb-tab styles"},{name:"advance",title:"Advanced",className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls"+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("General","essential-blocks"),initialOpen:!0},React.createElement(spe,{value:o,onChange:function(e){return a({icon:e})}}),React.createElement(X.SelectControl,{label:(0,Y.__)("Icon View","essential-blocks"),value:p,options:Ibe,onChange:function(e){return a({iconView:e})}}),"default"!==p&&React.createElement(X.SelectControl,{label:(0,Y.__)("Icon Shape","essential-blocks"),value:b,options:jbe,onChange:function(e){return a({iconShape:e})}}),React.createElement(X.BaseControl,{label:(0,Y.__)("Alignment","essential-blocks"),id:"eb-advance-heading-alignment"},React.createElement(X.ButtonGroup,{id:"eb-advance-heading-alignment"},Dbe.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:r===e.value,isSecondary:r!==e.value,onClick:function(){return a({iconAlign:e.value})}},e.label)})))))),"styles"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,null,React.createElement(X.ButtonGroup,{className:"eb-inspector-btn-group"},Abe.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:d===e.value,isSecondary:d!==e.value,onClick:function(){return a({iconColorType:e.value})}},e.label)}))),"normal"===d&&React.createElement(React.Fragment,null,React.createElement(lpe,{label:(0,Y.__)("Primary Color","essential-blocks"),color:c,onChange:function(e){return a({iconPrimaryColor:e})}}),"default"!=p&&React.createElement(lpe,{label:(0,Y.__)("Secondary Color","essential-blocks"),color:i,onChange:function(e){return a({iconSecondaryColor:e})}})),"hover"===d&&React.createElement(React.Fragment,null,React.createElement(lpe,{label:(0,Y.__)("Primary Color","essential-blocks"),color:l,onChange:function(e){return a({iconPrimaryHoverColor:e})}}),"default"!=p&&React.createElement(lpe,{label:(0,Y.__)("Secondary Color","essential-blocks"),color:s,onChange:function(e){return a({iconSecondaryHoverColor:e})}})),React.createElement(rpe,{baseLabel:(0,Y.__)("Icon Size","essential-blocks"),controlName:Mbe,resRequiredProps:m,min:10,max:400,step:1}),React.createElement(X.RangeControl,{label:(0,Y.__)("Padding","essential-blocks"),value:u,onChange:function(e){return a({iconPadding:e})},min:0,max:100,step:1,allowReset:!0}),"framed"===p&&React.createElement(npe,{resRequiredProps:m,controlName:Obe,baseLabel:"Border Width"}),React.createElement(npe,{forBorderRadius:!0,resRequiredProps:m,controlName:Pbe,baseLabel:"Border Radius"}))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,null,React.createElement(npe,{resRequiredProps:m,controlName:Bbe,baseLabel:"Margin"}),React.createElement(npe,{resRequiredProps:m,controlName:Tbe,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Background","essential-blocks"),initialOpen:!1},React.createElement(cpe,{controlName:Sbe,resRequiredProps:m})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(ope,{controlName:Nbe,resRequiredProps:m})),React.createElement(ipe,{attributes:t,setAttributes:a})))}))))};function ppe(e){return ppe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ppe(e)}function upe(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function dpe(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?upe(Object(a),!0).forEach((function(t){mpe(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):upe(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function mpe(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=ppe(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=ppe(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ppe(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var gpe=window.EBControls,fpe=gpe.EBDisplayIcon,ype=gpe.BlockProps,vpe=window.EBControls,hpe=vpe.EBDisplayIcon,wpe=vpe.BlockProps;function kpe(e){return kpe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},kpe(e)}function Rpe(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function _pe(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Rpe(Object(a),!0).forEach((function(t){Epe(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Rpe(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Epe(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=kpe(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=kpe(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==kpe(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var Cpe=window.EBControls.EBDisplayIcon,xpe=[{attributes:_pe({},tpe),supports:{align:["full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.icon,o=t.iconView,r=t.iconShape,c=t.classHook,l="default"!==o?" eb-icon-shape-"+r:"";return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(c)},React.createElement("div",{className:"eb-icon-wrapper ".concat(a," eb-icon-view-".concat(o)).concat(l),"data-id":a},React.createElement("div",{className:"eb-icon-container"},React.createElement(Cpe,{icon:n})))))}},{attributes:_pe({},tpe),supports:{align:["full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.icon,o=t.iconView,r=t.iconShape,c=t.classHook,l="default"!==o?" eb-icon-shape-"+r:"";return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(c)},React.createElement("div",{className:"eb-icon-wrapper ".concat(a," eb-icon-view-".concat(o)).concat(l),"data-id":a},React.createElement("div",{className:"eb-icon-container"},React.createElement("i",{className:n})))))}}];const Spe=xpe,Bpe=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Icon Picker","name":"essential-blocks/icon","category":"essential-blocks","description":"Icon Picker Block lets you choose any Font Awesome icon to customize your design as per your preference.","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');(0,EBControls.ebConditionalRegisterBlockType)(Bpe,{keywords:[(0,Y.__)("Icon","essential-blocks"),(0,Y.__)("eb icon","essential-blocks")],icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"60",fill:"none",viewBox:"0 0 60 60"},React.createElement("path",{fill:"#6C3BFF",d:"M59.397 45.985c-1.329-4.835-2.659-9.671-3.977-14.51-.917-3.366-1.787-6.742-3.313-9.91-.97-2.013-2.834-3.29-4.945-3.16-1.714.106-2.999.978-3.955 2.442-2.893-1.846-4.922-1.482-7.44 1.292-2.515-1.687-4.845-1.432-7.002.751-.12-.267-.217-.472-.306-.68-1.293-3.017-2.573-6.039-3.88-9.05a5.46 5.46 0 00-1.883-2.323v-9.37A.466.466 0 0022.23 1H7.976a.466.466 0 00-.466.466v5.121a8.138 8.138 0 108.703 11.99c2.752 6.455 5.517 12.905 8.276 19.357.092.215.17.437.292.751-1.756-.515-3.36-1.026-4.989-1.454-2.62-.69-5.298.744-6.134 3.237-.85 2.532.394 5.183 2.911 6.286 4.064 1.78 8.07 3.701 12.192 5.334 2.736 1.084 4.937 2.638 6.669 5.023 1.52 2.095 3.828 2.4 6.228 1.148 4.67-2.436 9.539-4.449 14.504-6.209 2.82-1 4.005-3.269 3.237-6.063l-.002-.002zM10.145 3.17h9.916c.257 0 .466.208.466.466v6.358a4.661 4.661 0 00-1.887.143 4.994 4.994 0 00-2.054 1.158 8.135 8.135 0 00-6.91-4.852V3.637c0-.257.21-.466.466-.466l.003-.001zM9.136 20.527a5.968 5.968 0 010-11.934c3.296 0 5.822 2.528 5.96 5.701-.03.273-.037.551-.02.832a5.967 5.967 0 01-5.94 5.401zm46.518 29.036c-4.615 1.965-9.22 3.948-13.831 5.924-.574.247-1.147.492-1.724.73-1.144.476-1.93.299-2.722-.63-.752-.88-1.431-1.832-2.25-2.642-.678-.668-1.441-1.336-2.294-1.723-5.03-2.284-10.096-4.486-15.15-6.716-1.472-.648-2.112-1.943-1.629-3.294.463-1.297 1.872-1.933 3.382-1.496 2.308.668 4.613 1.35 6.913 2.044.596.18 1.148.223 1.596-.282.45-.505.34-1.058.098-1.624-3.362-7.842-6.724-15.682-10.067-23.532-.221-.52-.413-1.112-.388-1.66.047-1.036.647-1.773 1.651-2.092 1.016-.323 1.878.018 2.557.79.253.288.427.659.58 1.016 2.463 5.737 4.917 11.477 7.373 17.216.072.17.146.34.226.506.36.762 1.015 1.05 1.688.748.672-.302.91-.976.584-1.758-.578-1.387-1.195-2.758-1.763-4.15-.604-1.48.186-3.001 1.704-3.345 1.09-.248 2.263.4 2.79 1.584.59 1.331 1.138 2.681 1.72 4.016.292.666.81.964 1.42.858.771-.133 1.223-.92.926-1.696-.35-.906-.76-1.787-1.128-2.686-.54-1.327-.057-2.669 1.151-3.231 1.205-.56 2.632-.008 3.252 1.295.387.814.71 1.658 1.073 2.483.378.859 1.051 1.177 1.765.849.675-.31.878-1.005.533-1.838-.114-.279-.243-.55-.358-.828-.565-1.364-.087-2.727 1.15-3.291 1.247-.57 2.691-.02 3.256 1.37.816 2.008 1.662 4.02 2.257 6.1 1.729 6.021 3.339 12.078 4.994 18.121.072.266.118.54.154.706-.03 1.135-.568 1.763-1.492 2.157l.003.001z"}))},attributes:tpe,edit:function(e){var t=e.attributes,a=e.setAttributes,n=e.isSelected,o=(t.resOption,t.blockId),r=t.icon,c=t.iconView,l=t.iconShape,i=t.classHook,s=dpe(dpe({},e),{},{blockPrefix:"eb-icon",style:React.createElement(Wbe,e)}),b="default"!==c?" eb-icon-shape-"+l:"";return React.createElement(React.Fragment,null,n&&React.createElement(React.Fragment,null,React.createElement(bpe,{attributes:t,setAttributes:a})),React.createElement(ype.Edit,s,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(o," ").concat(i)},React.createElement("div",{className:"eb-icon-wrapper ".concat(o," eb-icon-view-".concat(c)).concat(b),"data-id":o},React.createElement("div",{className:"eb-icon-container"},React.createElement(fpe,{icon:r}))))))},save:function(e){var t=e.attributes,a=t.blockId,n=t.icon,o=t.iconView,r=t.iconShape,c=t.classHook,l="default"!==o?" eb-icon-shape-"+r:"";return React.createElement(wpe.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(c)},React.createElement("div",{className:"eb-icon-wrapper ".concat(a," eb-icon-view-".concat(o)).concat(l),"data-id":a},React.createElement("div",{className:"eb-icon-container"},React.createElement(hpe,{icon:n})))))},example:{attributes:{}},deprecated:Spe});var Tpe="wrprBg",Npe="wrpMargin",Ppe="wrpPadding",Ope="wrpBorderShadow",Mpe=[{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignleft"})),value:"left"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,Y.__)(React.createElement(X.Dashicon,{icon:"editor-alignright"})),value:"right"}],Dpe=[{label:(0,Y.__)("Inline","essential-blocks"),value:"inline"},{label:(0,Y.__)("Stacked","essential-blocks"),value:"stacked"}],jpe="originalPrice",Ipe="salepriceText",Ape="salePricePeriod",Lpe="pricingPeriodText",Fpe=window.EBControls,Hpe=Fpe.softMinifyCssStrings,zpe=Fpe.generateTypographyStyles,qpe=Fpe.generateDimensionsControlStyles,Upe=Fpe.generateBorderShadowStyles,Vpe=Fpe.generateBackgroundControlStyles,Wpe=Fpe.StyleComponent;function Gpe(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=(t.resOption,t.blockMeta,t.blockId),r=t.priceTextColor,c=t.priceAlignment,l=t.pricingPeriodTextColor,i=t.salePriceTextColor,s=t.salePricingPeriodTextColor,b=qpe({controlName:Npe,styleFor:"margin",attributes:t}),p=b.dimensionStylesDesktop,u=b.dimensionStylesTab,d=b.dimensionStylesMobile,m=qpe({controlName:Ppe,styleFor:"padding",attributes:t}),g=m.dimensionStylesDesktop,f=m.dimensionStylesTab,y=m.dimensionStylesMobile,v=Vpe({attributes:t,controlName:Tpe}),h=v.backgroundStylesDesktop,w=(v.hoverBackgroundStylesDesktop,v.backgroundStylesTab),k=(v.hoverBackgroundStylesTab,v.backgroundStylesMobile),R=(v.hoverBackgroundStylesMobile,v.overlayStylesDesktop,v.hoverOverlayStylesDesktop,v.overlayStylesTab,v.hoverOverlayStylesTab,v.overlayStylesMobile,v.hoverOverlayStylesMobile,v.bgTransitionStyle),_=(v.ovlTransitionStyle,Upe({controlName:Ope,attributes:t})),E=_.styesDesktop,C=_.styesTab,x=_.styesMobile,S=_.stylesHoverDesktop,B=_.stylesHoverTab,T=_.stylesHoverMobile,N=_.transitionStyle,P=zpe({attributes:t,prefixConstant:jpe}),O=P.typoStylesDesktop,M=(P.typoStylesTab,P.typoStylesMobile,zpe({attributes:t,prefixConstant:Lpe})),D=M.typoStylesDesktop,j=(M.typoStylesTab,M.typoStylesMobile,zpe({attributes:t,prefixConstant:Ipe})),I=j.typoStylesDesktop,A=(j.typoStylesTab,j.typoStylesMobile,zpe({attributes:t,prefixConstant:Ape})),L=A.typoStylesDesktop,F=(A.typoStylesTab,A.typoStylesMobile,"\n\t\t.".concat(o,".eb-price-wrapper {\n\t\t\t").concat(p,"\n\t\t\t").concat(g,"\n\t\t\t").concat(E,"\n\t\t\t").concat(h,"\n\t\t\ttransition:").concat(R,", ").concat(N,";\n\t\t}\n\n        .").concat(o,".eb-price-wrapper .eb-price-container {\n            text-align: ").concat(c,";\n        }\n\n        .").concat(o,".eb-price-wrapper .eb-price-container .eb-original-price-wrapper,\n        .").concat(o,".eb-price-wrapper .eb-price-container .eb-original-price-wrapper.eb-line-through {\n            ").concat(r?"color: ".concat(r,";"):"","\n            ").concat(O,"\n        }\n\n        .").concat(o,".eb-price-wrapper .eb-price-container .eb-original-price-wrapper .eb-price-period {\n            ").concat(l?"color: ".concat(l,";"):"","\n            ").concat(D,"\n        }\n\n        .").concat(o,".eb-price-wrapper .eb-price-container .eb-sale-price-wrapper {\n            ").concat(i?"color: ".concat(i,";"):"","\n            ").concat(I,"\n        }\n\n        .").concat(o,".eb-price-wrapper .eb-price-container .eb-sale-price-wrapper .eb-sale-price-period {\n            ").concat(s?"color: ".concat(s,";"):"","\n            ").concat(L,"\n        }\n\n\n\t\t.").concat(o,".eb-price-wrapper:hover {\n\t\t\t").concat(S,"\n\t\t}\n\t")),H="\n\t\t.".concat(o,".eb-price-wrapper{\n\t\t\t").concat(u,"\n\t\t\t").concat(f,"\n\t\t\t").concat(C,"\n\t\t\t").concat(w,"\n\t\t}\n\n\t\t.").concat(o,".eb-price-wrapper:hover {\n\t\t\t").concat(B,"\n\t\t}\n\t"),z="\n\t\t.".concat(o,".eb-icon-wrapper {\n\t\t\t").concat(d,"\n\t\t\t").concat(y,"\n\t\t\t").concat(x,"\n\t\t\t").concat(k,"\n\t\t}\n\n\t\t.").concat(o,".eb-icon-wrapper:hover {\n\t\t\t").concat(T,"\n\t\t}\n\t"),q=Hpe("\n\t\t".concat(F,"\n\t")),U=Hpe("\n\t\t".concat(H,"\n\t")),V=Hpe("\n\t\t".concat(z,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(Wpe,{attributes:t,setAttributes:a,desktopAllStyles:q,tabAllStyles:U,mobileAllStyles:V,blockName:n}))}function Zpe(e){return Zpe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Zpe(e)}function Ype(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Jpe(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Ype(Object(a),!0).forEach((function(t){Qpe(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Ype(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Qpe(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=Zpe(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=Zpe(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Zpe(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var Xpe=window.EBControls,$pe=Xpe.generateDimensionsAttributes,Kpe=Xpe.generateTypographyAttributes,eue=Xpe.generateBackgroundAttributes,tue=Xpe.generateBorderShadowAttributes;Xpe.generateResponsiveRangeAttributes;const aue=Jpe(Jpe(Jpe(Jpe(Jpe({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},mainPrice:{type:"string",default:"99"},showOnSale:{type:"boolean",default:!1},salePrice:{type:"string",default:"89"},priceCurrency:{type:"string",default:"$"},currencyPlacement:{type:"string",default:"left"},pricePeriod:{type:"string",default:"/month"},priceAlignment:{type:"string",default:"center"},priceTextColor:{type:"string"},priceCurrencyTextColor:{type:"string"},salePriceTextColor:{type:"string"},salepriceCurrencyTextColor:{type:"string"},pricingPeriodTextColor:{type:"string"},salePricePeriod:{type:"string",default:"/month"},priceView:{type:"string",default:"inline"},salePricingPeriodTextColor:{type:"string"}},Kpe(Object.values(Z))),$pe(Npe)),$pe(Ppe)),tue(Ope,{bdrDefaults:{top:0,bottom:0,right:0,left:0}})),eue(Tpe,{defaultBgGradient:"linear-gradient(45deg,#ffffff,#ffffff)"}));var nue=window.EBControls,oue=(nue.faIcons,nue.ResponsiveDimensionsControl),rue=nue.TypographyDropdown,cue=nue.BorderShadowControl,lue=(nue.ResponsiveRangeController,nue.BackgroundControl),iue=nue.ColorControl,sue=nue.AdvancedControls;const bue=function(e){var t=e.attributes,a=e.setAttributes,n=t.resOption,o=(t.icon,t.iconAlign,t.iconPrimaryColor,t.iconPrimaryHoverColor,t.iconSecondaryColor,t.iconSecondaryHoverColor,t.iconShape,t.iconView,t.iconPadding,t.iconColorType,t.mainPrice),r=t.showOnSale,c=t.salePrice,l=t.priceCurrency,i=t.currencyPlacement,s=t.pricePeriod,b=t.priceAlignment,p=t.priceTextColor,u=t.salePriceTextColor,d=t.pricingPeriodTextColor,m=t.salePricePeriod,g=t.priceView,f=t.salePricingPeriodTextColor,y={setAttributes:a,resOption:n,attributes:t,objAttributes:aue};return React.createElement(Q.InspectorControls,{key:"controls"},React.createElement("div",{className:"eb-panel-control"},React.createElement(X.TabPanel,{className:"eb-parent-tab-panel",activeClass:"active-tab",tabs:[{name:"general",title:"General",className:"eb-tab general"},{name:"styles",title:"Style",className:"eb-tab styles"},{name:"advance",title:"Advanced",className:"eb-tab advance"}]},(function(e){return React.createElement("div",{className:"eb-tab-controls"+e.name},"general"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Settings","essential-blocks"),initialOpen:!0},React.createElement(X.TextControl,{label:(0,Y.__)("Price","essential-blocks"),value:o,onChange:function(e){return a({mainPrice:e})}}),React.createElement(X.TextControl,{label:(0,Y.__)("Price Period (per)"),value:s,onChange:function(e){return a({pricePeriod:e})}}),React.createElement(X.ToggleControl,{label:(0,Y.__)("On Sale?"),checked:r,onChange:function(){a({showOnSale:!r})}}),r&&React.createElement(React.Fragment,null,React.createElement(X.TextControl,{label:(0,Y.__)("Sale Price","essential-blocks"),value:c,onChange:function(e){return a({salePrice:e})}}),React.createElement(X.TextControl,{label:(0,Y.__)("Sale Price Period (per)"),value:m,onChange:function(e){return a({salePricePeriod:e})}}),React.createElement(X.__experimentalDivider,null)),React.createElement(X.TextControl,{label:(0,Y.__)("Price Currency","essential-blocks"),value:l,onChange:function(e){return a({priceCurrency:e})}}),React.createElement(X.SelectControl,{label:(0,Y.__)("Currency Placement","essential-blocks"),value:i,options:[{label:"Left",value:"left"},{label:"Right",value:"right"}],onChange:function(e){a({currencyPlacement:e})}}),React.createElement(X.__experimentalDivider,null),React.createElement(X.SelectControl,{label:(0,Y.__)("Price View","essential-blocks"),value:g,options:Dpe,onChange:function(e){return a({priceView:e})}}))),"styles"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,{title:(0,Y.__)("Styles","essential-blocks"),initialOpen:!0},React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Alignment","essential-blocks")),React.createElement(X.ButtonGroup,null,Mpe.map((function(e,t){return React.createElement(X.Button,{key:t,isPrimary:b===e.value,isSecondary:b!==e.value,onClick:function(){return a({priceAlignment:e.value})}},e.label)})))),React.createElement(X.__experimentalDivider,null),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Original Price","essential-blocks"))),React.createElement(iue,{label:(0,Y.__)("Color","essential-blocks"),color:p,onChange:function(e){return a({priceTextColor:e})}}),React.createElement(rue,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:jpe,resRequiredProps:y}),React.createElement(X.__experimentalDivider,null),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Pricing Period","essential-blocks"))),React.createElement(iue,{label:(0,Y.__)("Color","essential-blocks"),color:d,F:!0,onChange:function(e){return a({pricingPeriodTextColor:e})}}),React.createElement(rue,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:Lpe,resRequiredProps:y}),r&&React.createElement(React.Fragment,null,React.createElement(X.__experimentalDivider,null),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Sale Price","essential-blocks"))),React.createElement(iue,{label:(0,Y.__)("Color","essential-blocks"),color:u,onChange:function(e){return a({salePriceTextColor:e})}}),React.createElement(rue,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:Ipe,resRequiredProps:y}),React.createElement(X.__experimentalDivider,null),React.createElement(X.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,Y.__)("Sale Pricing Period","essential-blocks"))),React.createElement(iue,{label:(0,Y.__)("Color","essential-blocks"),color:f,F:!0,onChange:function(e){return a({salePricingPeriodTextColor:e})}}),React.createElement(rue,{baseLabel:(0,Y.__)("Typography","essential-blocks"),typographyPrefixConstant:Ape,resRequiredProps:y})))),"advance"===e.name&&React.createElement(React.Fragment,null,React.createElement(X.PanelBody,null,React.createElement(oue,{resRequiredProps:y,controlName:Npe,baseLabel:"Margin"}),React.createElement(oue,{resRequiredProps:y,controlName:Ppe,baseLabel:"Padding"})),React.createElement(X.PanelBody,{title:(0,Y.__)("Background","essential-blocks"),initialOpen:!1},React.createElement(lue,{controlName:Tpe,resRequiredProps:y})),React.createElement(X.PanelBody,{title:(0,Y.__)("Border & Shadow"),initialOpen:!1},React.createElement(cue,{controlName:Ope,resRequiredProps:y})),React.createElement(sue,{attributes:t,setAttributes:a})))}))))};function pue(e){return pue="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pue(e)}function uue(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function due(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?uue(Object(a),!0).forEach((function(t){mue(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):uue(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function mue(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=pue(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,"string");if("object"!=pue(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==pue(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var gue=window.EBControls,fue=(gue.duplicateBlockIdFix,gue.BlockProps),yue=window.EBControls.BlockProps;const vue=[{attributes:aue,supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.mainPrice,o=t.showOnSale,r=t.salePrice,c=t.priceCurrency,l=t.currencyPlacement,i=t.pricePeriod,s=t.periodSeparator,b=t.salePricePeriod,p=t.salePeriodSeparator,u=t.priceView,d=t.classHook,m="inline"===u?"eb-price-view-inline":"eb-price-view-stacked";return React.createElement("div",Q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(d)},React.createElement("div",{className:"eb-price-wrapper ".concat(a," ").concat(m),"data-id":a},React.createElement("div",{className:"eb-price-container"},o&&React.createElement(React.Fragment,null,React.createElement("h3",{className:"eb-sale-price-wrapper"},React.createElement("span",{className:"eb-sale-price","data-sale-price":r},"left"===l&&React.createElement("span",{className:"eb-price-currency"},c),r,"right"===l&&React.createElement("span",{className:"eb-price-currency"},c)),React.createElement("span",{className:"eb-sale-price-period"},p,b))," "),React.createElement("h3",{className:"eb-original-price-wrapper".concat(!0===o?" eb-line-through":"")},React.createElement("span",{className:"eb-original-price"},"left"===l&&React.createElement("span",{className:"eb-price-currency"},c),n,"right"===l&&React.createElement("span",{className:"eb-price-currency"},c)),React.createElement("span",{className:"eb-price-period"},s,i))))))}}],hue=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Price","name":"essential-blocks/price","category":"essential-blocks","description":"Price Block lets you add both the regular price and a discounted price for your pricing package.","apiVersion":2,"textdomain":"essential-blocks","parent":["essential-blocks/pro-pricing-cell"],"supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');(0,EBControls.ebConditionalRegisterBlockType)(hue,{keywords:[(0,Y.__)("Price","essential-blocks"),(0,Y.__)("eb price","essential-blocks")],icon:function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"20",viewBox:"0 0 60 60",fill:"none"},React.createElement("path",{d:"M56.7199 18.711C55.2594 15.2575 53.1681 12.1561 50.506 9.49314C47.8439 6.83017 44.7416 4.73979 41.2882 3.27925C37.7125 1.76659 33.9146 1 29.9996 1C26.0846 1 22.2875 1.76659 18.711 3.27925C15.2575 4.73979 12.1561 6.83102 9.49314 9.49314C6.83017 12.1561 4.73979 15.2575 3.27925 18.711C1.76659 22.2875 1 26.0854 1 29.9996C1 33.9137 1.76659 37.7116 3.27925 41.2882C4.73979 44.7416 6.83102 47.843 9.49314 50.506C12.1561 53.169 15.2575 55.2594 18.711 56.7199C22.2875 58.2326 26.0854 58.9991 29.9996 58.9991C33.9137 58.9991 37.7116 58.2326 41.2882 56.7199C44.7416 55.2594 47.843 53.1681 50.506 50.506C53.169 47.843 55.2594 44.7416 56.7199 41.2882C58.2326 37.7116 58.9991 33.9137 58.9991 29.9996C58.9991 26.0854 58.2326 22.2875 56.7199 18.711ZM48.3302 48.3302C43.4341 53.2262 36.9236 55.9225 29.9996 55.9225C23.0755 55.9225 16.5651 53.2262 11.669 48.3302C6.77291 43.4341 4.07661 36.9236 4.07661 29.9996C4.07661 23.0755 6.77291 16.5651 11.669 11.669C16.5651 6.77291 23.0755 4.07661 29.9996 4.07661C36.9236 4.07661 43.4341 6.77291 48.3302 11.669C53.2262 16.5651 55.9225 23.0755 55.9225 29.9996C55.9225 36.9236 53.2262 43.4341 48.3302 48.3302Z",fill:"#6C3BFF"}),React.createElement("path",{d:"M31.6929 28.4778H28.0309C25.8508 28.4778 24.0766 26.7045 24.0766 24.5235C24.0766 22.3425 25.8499 20.5692 28.0309 20.5692H35.3541C36.2036 20.5692 36.8924 19.8804 36.8924 19.0309C36.8924 18.1814 36.2036 17.4926 35.3541 17.4926H31.3998V13.5383C31.3998 12.6888 30.711 12 29.8615 12C29.012 12 28.3232 12.6888 28.3232 13.5383V17.4926H28.0309C24.1544 17.4926 21 20.6461 21 24.5235C21 28.4009 24.1535 31.5544 28.0309 31.5544H31.6929C33.873 31.5544 35.6472 33.3286 35.6472 35.5087C35.6472 37.6888 33.8739 39.463 31.6929 39.463H24.3697C23.5203 39.463 22.8314 40.1518 22.8314 41.0013C22.8314 41.8508 23.5203 42.5396 24.3697 42.5396H28.324V46.4939C28.324 47.3434 29.0128 48.0322 29.8623 48.0322C30.7118 48.0322 31.4006 47.3434 31.4006 46.4939V42.5396H31.6929C35.5694 42.5396 38.7238 39.3861 38.7238 35.5087C38.7238 31.6313 35.5703 28.4778 31.6929 28.4778Z",fill:"#6C3BFF"}))},attributes:aue,edit:function(e){var t=e.attributes,a=e.setAttributes,n=(e.className,e.clientId,e.isSelected),o=(e.name,t.blockId),r=t.mainPrice,c=t.showOnSale,l=t.salePrice,i=t.priceCurrency,s=t.currencyPlacement,b=t.pricePeriod,p=t.periodSeparator,u=t.salePricePeriod,d=t.salePeriodSeparator,m=t.priceView,g=t.classHook,f=due(due({},e),{},{blockPrefix:"eb-price",style:React.createElement(Gpe,e)}),y="inline"===m?"eb-price-view-inline":"eb-price-view-stacked";return React.createElement(React.Fragment,null,n&&React.createElement(React.Fragment,null,React.createElement(bue,{attributes:t,setAttributes:a})),React.createElement(fue.Edit,f,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(o," ").concat(g)},React.createElement("div",{className:"eb-price-wrapper ".concat(o," ").concat(y),"data-id":o},React.createElement("div",{className:"eb-price-container"},c&&React.createElement(React.Fragment,null,React.createElement("h3",{className:"eb-sale-price-wrapper"},React.createElement("span",{className:"eb-sale-price","data-sale-price":l},"left"===s&&React.createElement("span",{className:"eb-price-currency"},i),l,"right"===s&&React.createElement("span",{className:"eb-price-currency"},i)),React.createElement("span",{className:"eb-sale-price-period"},d,u))," "),React.createElement("h3",{className:"eb-original-price-wrapper".concat(!0===c?" eb-line-through":"")},React.createElement("span",{className:"eb-original-price"},"left"===s&&React.createElement("span",{className:"eb-price-currency"},i),r,"right"===s&&React.createElement("span",{className:"eb-price-currency"},i)),React.createElement("span",{className:"eb-price-period"},p,b)))))))},save:function(e){var t=e.attributes,a=t.blockId,n=t.mainPrice,o=t.showOnSale,r=t.salePrice,c=t.priceCurrency,l=t.currencyPlacement,i=t.pricePeriod,s=t.periodSeparator,b=t.salePricePeriod,p=t.salePeriodSeparator,u=t.priceView,d=t.classHook,m="inline"===u?"eb-price-view-inline":"eb-price-view-stacked";return React.createElement(yue.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(d)},React.createElement("div",{className:"eb-price-wrapper ".concat(a," ").concat(m),"data-id":a},React.createElement("div",{className:"eb-price-container"},o&&React.createElement(React.Fragment,null,React.createElement("h3",{className:"eb-sale-price-wrapper"},React.createElement("span",{className:"eb-sale-price","data-sale-price":r},"left"===l&&React.createElement("span",{className:"eb-price-currency"},c),r,"right"===l&&React.createElement("span",{className:"eb-price-currency"},c)),React.createElement("span",{className:"eb-sale-price-period"},p,b))," "),React.createElement("h3",{className:"eb-original-price-wrapper".concat(!0===o?" eb-line-through":"")},React.createElement("span",{className:"eb-original-price"},"left"===l&&React.createElement("span",{className:"eb-price-currency"},c),n,"right"===l&&React.createElement("span",{className:"eb-price-currency"},c)),React.createElement("span",{className:"eb-price-period"},s,i))))))},deprecated:vue,example:{attributes:{}}})},1609:e=>{e.exports=window.React},5795:e=>{e.exports=window.ReactDOM},5573:e=>{e.exports=window.wp.primitives}},a={};function n(e){var o=a[e];if(void 0!==o)return o.exports;var r=a[e]={exports:{}};return t[e].call(r.exports,r,r.exports,n),r.exports}n.m=t,e=[],n.O=(t,a,o,r)=>{if(!a){var c=1/0;for(b=0;b<e.length;b++){for(var[a,o,r]=e[b],l=!0,i=0;i<a.length;i++)(!1&r||c>=r)&&Object.keys(n.O).every((e=>n.O[e](a[i])))?a.splice(i--,1):(l=!1,r<c&&(c=r));if(l){e.splice(b--,1);var s=o();void 0!==s&&(t=s)}}return t}r=r||0;for(var b=e.length;b>0&&e[b-1][2]>r;b--)e[b]=e[b-1];e[b]=[a,o,r]},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.j=555,(()=>{var e={555:0};n.O.j=t=>0===e[t];var t=(t,a)=>{var o,r,[c,l,i]=a,s=0;if(c.some((t=>0!==e[t]))){for(o in l)n.o(l,o)&&(n.m[o]=l[o]);if(i)var b=i(n)}for(t&&t(a);s<c.length;s++)r=c[s],n.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return n.O(b)},a=globalThis.webpackChunkessential_blocks=globalThis.webpackChunkessential_blocks||[];a.forEach(t.bind(null,0)),a.push=t.bind(null,a.push.bind(a))})(),n.nc=void 0;var o=n.O(void 0,[774],(()=>n(6544)));o=n.O(o)})();