| @@ -1 +1,3 @@ | ||
| 1 | -(()=>{var e,t={485:(e,t)=>{var o;!function(){"use strict";var l={}.hasOwnProperty;function n(){for(var e=[],t=0;t<arguments.length;t++){var o=arguments[t];if(o){var s=typeof o;if("string"===s||"number"===s)e.push(o);else if(Array.isArray(o)){if(o.length){var i=n.apply(null,o);i&&e.push(i)}}else if("object"===s){if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]")){e.push(o.toString());continue}for(var r in o)l.call(o,r)&&o[r]&&e.push(r)}}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):void 0===(o=function(){return n}.apply(t,[]))||(e.exports=o)}()},917:(e,t,o)=>{"use strict";var l={};o.r(l),o.d(l,{zc:()=>Q,tP:()=>K,o8:()=>te,$C:()=>ee,xj:()=>ne,M6:()=>a,OV:()=>c,rX:()=>b,Qi:()=>d,ki:()=>g,cZ:()=>i,ZX:()=>r,is:()=>T,f1:()=>P,nF:()=>I,ip:()=>L,pU:()=>A,o9:()=>B,G:()=>f,ZS:()=>S,ow:()=>j,Hg:()=>$,je:()=>oe,XB:()=>D,Hj:()=>H,v5:()=>W,MJ:()=>E,WT:()=>q,Vw:()=>z,Dv:()=>V,mr:()=>J,Gw:()=>U,F$:()=>X,og:()=>Y,Gs:()=>Z,_$:()=>G,yb:()=>M,vv:()=>O,MC:()=>R,P9:()=>F,ND:()=>le,Lp:()=>p,he:()=>m,iW:()=>y,$f:()=>u,xo:()=>x,C4:()=>w,jD:()=>_,gp:()=>C,bI:()=>k,yo:()=>N,xP:()=>v,oL:()=>h});const n=window.wp.blocks,s=window.wp.i18n,i="columns",r="columnsGap",a="btnBorder",d="btnRadius",c="btnMargin",b="btnPadding",g="btnTypo",p="secondaryBtnBorder",u="secondaryBtnRadius",m="secondaryBtnMargin",y="secondaryBtnPadding",x="secondaryBtnTypo",v="titleSpacing",h="titleTypo",k="subtitleSpacing",N="subtitleTypo",j="descSpacing",$="descTypo",w="slideHeight",C="slidePadding",_="slideMargin",S="contentWidth",f="contentVPosition",T="contentAlign",L="contentHAlign",B="contentPadding",P="contentBorder",I="contentBorderRadius",A="contentMargin",F="photoSize",G="photoBorder",R="photoBorderRadius",O="photoPadding",M="photoMargin",D="navBorder",H="navBorderRadius",V="navWidth",E="navHeight",z="navMargin",W="navGap",q="navIconSize",J="pagBorder",U="pagBorderRadius",Z="pagWidth",X="pagHeight",Y="pagMargin",Q="apagBorder",K="apagBorderRadius",ee="apagWidth",te="apagHeight",oe="fracSize",le="progSize",ne=[{label:(0,s.__)("Classic","slider-blocks"),value:"classic"},{label:(0,s.__)("Gradient","slider-blocks"),value:"gradient"},{label:(0,s.__)("Video (Pro)","slider-blocks"),value:"video",disabled:!0}],{generateResBoxControlAttributes:se,generateBorderAttributes:ie,generateTypographyAttributes:re,generateResRangeAttributes:ae,generateAlignmentAttributes:de,generateResBtnsAttributes:ce}=window.gutSliderModules,be={uniqueId:{type:"string"},preview:{type:"boolean",default:!1},blockStyle:{type:"object"},patternMode:{type:"boolean",default:!0},openModal:{type:"boolean",default:!1},showImage:{type:"boolean",default:!1},showSubTitle:{type:"boolean",default:!0},showTitle:{type:"boolean",default:!0},showDescription:{type:"boolean",default:!0},showButton:{type:"boolean",default:!0},enableGlobalLink:{type:"boolean",default:!1},imgPosition:{type:"string",default:"column"},sliderType:{type:"string",default:"slider"},infiniteLoop:{type:"boolean",default:!0},autoplay:{type:"boolean",default:!1},autoplayDelay:{type:"number"},pauseOnHover:{type:"boolean",default:!0},reverseDirection:{type:"boolean",default:!1},stopOnLastSlide:{type:"boolean",default:!1},speed:{type:"number"},centerMode:{type:"boolean",default:!1},showNavigation:{type:"boolean",default:!0},showPagination:{type:"boolean",default:!0},paginationType:{type:"string",default:"bullets"},dynamicBullets:{type:"boolean",default:!1},keyboardControl:{type:"boolean",default:!1},mousewheelControl:{type:"boolean",default:!1},slideEffect:{type:"string",default:"creative"},carouselEffect:{type:"string",default:"slide"},creativeEffectStyle:{type:"string",default:"style-3"},sliderOptions:{type:"object",default:{}},enableRemoteNav:{type:"boolean",default:!1},remotePrevSelector:{type:"string"},remoteNextSelector:{type:"string"},navColor:{type:"string"},navBgColor:{type:"string"},navHoverColor:{type:"string"},navHoverBgColor:{type:"string"},navContainerPosition:{type:"string",default:"nav_inside"},navPosition:{type:"string",default:"nav_cc"},customNavIcon:{type:"boolean",default:!1},navIconSource:{type:"string",default:"library"},navPrevIcon:{type:"string",default:"arrowLeft"},navNextIcon:{type:"string",default:"arrowRight"},customPrevSVG:{type:"string"},customNextSVG:{type:"string"},pagColor:{type:"string"},activePagColor:{type:"string"},pagFracColor:{type:"string"},pagFracCurrentColor:{type:"string"},fracDividerColor:{type:"string"},progressColor:{type:"string"},activeProgressColor:{type:"string"},slideItems:{type:"array",default:[]},addNewSlide:{type:"boolean",default:!1},subtitleTag:{type:"string",default:"h3"},subtitleColor:{type:"string"},titleTag:{type:"string",default:"h2"},titleColor:{type:"string"},descriptionTag:{type:"string",default:"p"},descriptionColor:{type:"string"},btnColors:{type:"object",default:{btnTextColor:"",btnBgColor:"",btnHoverTextColor:"",btnHoverBgColor:""}},sbtnColors:{type:"object",default:{btnTextColor:"",btnBgColor:"",btnHoverTextColor:"",btnHoverBgColor:""}},titleAnimation:{type:"string",default:""},subtitleAnimation:{type:"string",default:""},descAnimation:{type:"string",default:""},btnAnimation:{type:"string",default:""},sbtnAnimation:{type:"string",default:""},titleDelay:{type:"number"},subtitleDelay:{type:"number"},descDelay:{type:"number"},btnDelay:{type:"number"},sbtnDelay:{type:"number"},contentBgColor:{type:"string"},...ae({controlName:i}),...ae({controlName:r}),...ae({controlName:w}),...se({controlName:C}),...se({controlName:_}),...se({controlName:B}),...ae({controlName:S}),...de({controlName:f}),...de({controlName:T}),...ce({controlName:L}),...ie({controlName:P}),...se({controlName:I}),...se({controlName:A}),...ae({controlName:F}),...se({controlName:O}),...ie({controlName:G}),...se({controlName:R}),...se({controlName:M}),...se({controlName:d}),...se({controlName:c}),...se({controlName:b}),...ie({controlName:a}),...re({controlName:g}),...se({controlName:u}),...se({controlName:m}),...se({controlName:y}),...ie({controlName:p}),...re({controlName:x}),...se({controlName:v}),...re({controlName:h}),...se({controlName:k}),...re({controlName:N}),...se({controlName:j}),...re({controlName:$}),...ie({controlName:D}),...se({controlName:H}),...ae({controlName:V}),...ae({controlName:E}),...ae({controlName:q}),...se({controlName:z}),...ae({controlName:W}),...ie({controlName:J}),...se({controlName:U}),...ae({controlName:Z}),...ae({controlName:X}),...se({controlName:Y}),...ie({controlName:Q}),...se({controlName:K}),...ae({controlName:ee}),...ae({controlName:te}),...ae({controlName:oe}),...ae({controlName:le})},ge=JSON.parse('{"apiVersion":3,"name":"gutsliders/content-slider","version":"0.1.0","title":"Static","category":"slider-blocks","description":"Show custom static content in sliding or carousel mode.","supports":{"html":false,"anchor":true,"align":["wide","full"]},"example":{"attributes":{"preview":true},"viewportWidth":432},"textdomain":"slider-blocks","editorScript":["file:./index.js","gutslider-swiper-script","gutslider-blocks-global-script"],"editorStyle":["file:./index.css","gutslider-swiper-style","gutslider-blocks-global-style"],"style":["file:./style-index.css","gutslider-swiper-style"],"viewScript":["file:./frontend.js","gutslider-swiper-script"]}'),pe=window.wp.blockEditor;var ue=o(485),me=o.n(ue);const ye=window.lodash,xe=window.wp.components,ve=window.wp.data,he=window.wp.element,ke=window.wp.hooks,Ne=window.ReactJSXRuntime,{SLIDER_TYPES:je,OVERLAY_TYPES:$e,HEADING_TAGS:we,ANIMATION_TYPES:Ce,GRADIENT_PALETTES:_e,SLIDE_EFFECTS:Se,CREATIVE_STYLES:fe,CAROUSEL_EFFECTS:Te,PAGINATION_TYPES:Le,NAV_CONTAINER_POSITIONS:Be,NAV_POSITIONS:Pe,HALIGNS:Ie}=window.gutSliderModules.GlobalConstants,{HeaderTabs:Ae,PopoverControl:Fe,SortableItem:Ge,SortableControl:Re,ResRangeControl:Oe,SingleRangeControl:Me,ResBoxControl:De,ColorControl:He,AlignmentControl:Ve,TypographyControl:Ee,BorderControl:ze,LinkControl:We,ButtonsGroupControl:qe,SwitcherControl:Je,FooterNotice:Ue,IconPickerControl:Ze,TipControl:Xe,Preview:Ye,UploadBtn:Qe,ProLink:Ke,ResButtonsGroup:et,ProLock:tt,ResponsiveControl:ot,NativeRangeControl:lt,NativeSelectControl:nt}=window?.gutSliderModules,{cZ:st,ZX:it,C4:rt,gp:at,jD:dt,ZS:ct,G:bt,is:gt,o9:pt,ip:ut,f1:mt,nF:yt,pU:xt,M6:vt,Qi:ht,OV:kt,rX:Nt,ki:jt,Lp:$t,$f:wt,he:Ct,iW:_t,xo:St,xP:ft,oL:Tt,P9:Lt,_$:Bt,MC:Pt,vv:It,yb:At,bI:Ft,yo:Gt,ow:Rt,Hg:Ot,XB:Mt,Hj:Dt,MJ:Ht,Dv:Vt,WT:Et,Vw:zt,v5:Wt,mr:qt,Gw:Jt,F$:Ut,Gs:Zt,og:Xt,zc:Yt,tP:Qt,o8:Kt,$C:eo,je:to,ND:oo,xj:lo}=l,no=({attributes:e,setAttributes:t})=>{const{resMode:o,showImage:l,showSubTitle:n,showTitle:i,showDescription:r,showButton:a,imgPosition:d,sliderType:c,slideItems:b,addNewSlide:g,subtitleTag:p,subtitleColor:u,titleTag:m,titleColor:y,descriptionTag:x,descriptionColor:v,btnColors:h,sbtnColors:k,titleAnimation:N,subtitleAnimation:j,descAnimation:$,btnAnimation:w,sbtnAnimation:C,infiniteLoop:_,autoplay:S,autoplayDelay:f,stopOnLastSlide:T,reverseDirection:L,pauseOnHover:B,speed:P,showNavigation:I,centerMode:A,navColor:F,navHoverColor:G,navBgColor:R,navHoverBgColor:O,navContainerPosition:M,navPosition:D,customNavIcon:H,navIconSource:V,navPrevIcon:E,navNextIcon:z,customPrevSVG:W,customNextSVG:q,showPagination:J,paginationType:U,dynamicBullets:Z,pagColor:X,activePagColor:Y,pagFracColor:Q,pagFracCurrentColor:K,fracDividerColor:ee,progressColor:te,activeProgressColor:oe,keyboardControl:le,mousewheelControl:ne,slideEffect:se,carouselEffect:ie,creativeEffectStyle:re,titleDelay:ae,subtitleDelay:de,descDelay:ce,btnDelay:ge,sbtnDelay:ue,contentBgColor:me,enableGlobalLink:ve,enableRemoteNav:no,remotePrevSelector:so,remoteNextSelector:io}=e,ro={attributes:e,setAttributes:t,objAttributes:be},ao=(0,ye.cloneDeep)(b);return(0,Ne.jsxs)(pe.InspectorControls,{children:[(0,Ne.jsx)(Ae,{settingTabContent:(0,Ne.jsxs)(he.Fragment,{children:[(0,Ne.jsxs)(xe.PanelBody,{title:(0,s.__)("General","slider-blocks"),initialOpen:!0,children:[(0,Ne.jsx)(xe.ToggleControl,{label:(0,s.__)("Show Image","slider-blocks"),checked:l,onChange:()=>t({showImage:!l}),__nextHasNoMarginBottom:!0}),(0,Ne.jsx)(xe.ToggleControl,{label:(0,s.__)("Show SubTitle","slider-blocks"),checked:n,onChange:()=>t({showSubTitle:!n}),__nextHasNoMarginBottom:!0}),(0,Ne.jsx)(xe.ToggleControl,{label:(0,s.__)("Show Title","slider-blocks"),checked:i,onChange:()=>t({showTitle:!i}),__nextHasNoMarginBottom:!0}),(0,Ne.jsx)(xe.ToggleControl,{label:(0,s.__)("Show Description","slider-blocks"),checked:r,onChange:()=>t({showDescription:!r}),__nextHasNoMarginBottom:!0}),(0,Ne.jsx)(xe.ToggleControl,{label:(0,s.__)("Show Buttons","slider-blocks"),checked:a,onChange:()=>t({showButton:!a}),__nextHasNoMarginBottom:!0}),(0,Ne.jsx)(tt,{children:(0,Ne.jsx)(xe.ToggleControl,{label:(0,s.__)("Enable Wrapper Link","slider-blocks"),checked:ve,onChange:()=>t({enableGlobalLink:!ve}),__nextHasNoMarginBottom:!0})}),ve&&(0,Ne.jsx)("p",{className:"gutslider-note",children:(0,s.__)("Enable this option to add a global link to all slides. You can set the link in the individual item settings. Buttons link will be ignored.","slider-blocks")}),(0,Ne.jsx)(tt,{children:(0,Ne.jsx)(xe.ToggleControl,{label:(0,s.__)("Enable Remote Navigation","slider-blocks"),checked:no,onChange:()=>t({enableRemoteNav:!no}),__nextHasNoMarginBottom:!0})})]}),(0,Ne.jsxs)(xe.PanelBody,{title:(0,s.__)("Slide Items","slider-blocks"),initialOpen:!1,children:[(0,Ne.jsx)(Re,{defaultItems:b,attributeName:"slideItems",setAttributes:t,children:ao&&ao.map(((e,d)=>(0,Ne.jsxs)("div",{className:"dnd-container",children:[(0,Ne.jsx)(xe.Button,{className:"dnd-trash",icon:"trash",onClick:()=>{const e=[...ao];e.splice(d,1),t({slideItems:e}),t({addNewSlide:!g})}}),(0,Ne.jsx)(xe.Button,{className:"duplicate-btn",icon:"admin-page",onClick:()=>{t({addNewSlide:!g});const o=JSON.parse(JSON.stringify(b)),l=Math.max(0,...b.map((e=>Number(e.id)||0)))+1,n={...e,id:l};o.push(n),t({slideItems:o})}}),(0,Ne.jsx)(Ge,{id:`gs-item-${d}`,children:(0,Ne.jsxs)(xe.PanelBody,{title:e.panelTitle||(0,s.__)("Panel Title","slider-blocks"),initialOpen:!1,children:[(0,Ne.jsx)(xe.TextControl,{label:(0,s.__)("Panel Title","slider-blocks"),value:e.panelTitle&&e.panelTitle,onChange:e=>{const o=[...ao];o[d].panelTitle=e,t({slideItems:o})}}),ve&&(0,Ne.jsx)(Ne.Fragment,{children:(0,Ne.jsx)(We,{label:(0,s.__)("Wrapper Link","slider-blocks"),value:e.globalLink&&e.globalLink,onChange:e=>{const o=[...ao];o[d].globalLink=e,t({slideItems:o})}})}),(0,Ne.jsxs)(Fe,{label:(0,s.__)("Slide Content","slider-blocks"),children:[l&&(0,Ne.jsxs)(Ne.Fragment,{children:[e.photo&&e.photo.url?(0,Ne.jsx)(he.Fragment,{children:(0,Ne.jsx)(Ye,{url:e.photo.url,id:e.photo.id,alt:e.photo.alt,onSelect:e=>{const o=[...ao];o[d].photo=e,t({slideItems:o})},onClick:()=>{const e=[...ao];e[d].photo="",t({slideItems:e})}})}):(0,Ne.jsx)(Qe,{title:(0,s.__)("Upload Photo","slider-blocks"),onSelect:e=>{const o=[...ao];o[d].photo=e,t({slideItems:o})},id:e.photo&&e.photo.id}),e.photo?.url&&(0,Ne.jsx)(nt,{label:(0,s.__)("Photo Resolution","slider-blocks"),options:[{label:"Full",value:"full"},{label:"Thumbnail",value:"thumbnail"},{label:"Medium",value:"medium"}],onChange:e=>{const o=[...ao];o[d].photoSize=e,t({slideItems:o})},value:e.photoSize})]}),n&&(0,Ne.jsx)(xe.TextControl,{label:(0,s.__)("Subtitle","slider-blocks"),value:e.subtitle,onChange:e=>{const o=[...ao];o[d].subtitle=e,t({slideItems:o})},help:(0,s.__)("Skip to hide subtitle","slider-blocks"),placeholder:(0,s.__)("Enter subtitle here…","slider-blocks")}),i&&(0,Ne.jsx)(xe.TextareaControl,{label:(0,s.__)("Title","slider-blocks"),value:e.title,onChange:e=>{const o=[...ao];o[d].title=e,t({slideItems:o})},help:(0,s.__)("Skip to hide title","slider-blocks"),placeholder:(0,s.__)("Enter title here…","slider-blocks"),rows:"3"}),r&&(0,Ne.jsx)(xe.TextareaControl,{label:(0,s.__)("Description","slider-blocks"),value:e.description,onChange:e=>{const o=[...ao];o[d].description=e,t({slideItems:o})},help:(0,s.__)("Skip to hide description","slider-blocks"),placeholder:(0,s.__)("Enter description here…","slider-blocks"),rows:"6"}),a&&(0,Ne.jsxs)(Ne.Fragment,{children:[(0,Ne.jsx)(xe.TextControl,{label:(0,s.__)("Primary Button Label","slider-blocks"),value:e.btnLabel&&e.btnLabel,onChange:e=>{const o=[...ao];o[d].btnLabel=e,t({slideItems:o})},help:(0,s.__)("Skip to hide button","slider-blocks")}),(0,Ne.jsx)(We,{label:(0,s.__)("Primary Button Link","slider-blocks"),value:e.btnLinks&&e.btnLinks,onChange:e=>{const o=[...ao];o[d].btnLinks=e,t({slideItems:o})}}),(0,Ne.jsx)(xe.ToggleControl,{label:(0,s.__)("Show Secondary Button","slider-blocks"),checked:e.showSbtnLinks,onChange:()=>{const o=[...ao];o[d].showSbtnLinks=!e.showSbtnLinks,t({slideItems:o})}}),e?.showSbtnLinks&&(0,Ne.jsxs)(Ne.Fragment,{children:[(0,Ne.jsx)(xe.TextControl,{label:(0,s.__)("Secondary Button Label","slider-blocks"),value:e.sbtnLabel&&e.sbtnLabel,onChange:e=>{const o=[...ao];o[d].sbtnLabel=e,t({slideItems:o})},help:(0,s.__)("Skip to hide button","slider-blocks")}),(0,Ne.jsx)(We,{label:(0,s.__)("Secondary Button Link","slider-blocks"),value:e.sbtnLinks&&e.sbtnLinks,onChange:e=>{const o=[...ao];o[d].sbtnLinks=e,t({slideItems:o})}})]})]})]}),(0,Ne.jsxs)(Fe,{label:(0,s.__)("Background","slider-blocks"),children:[(0,Ne.jsx)(qe,{label:(0,s.__)("Background Type","slider-blocks"),value:e.bgType&&e.bgType,options:(0,ke.applyFilters)("gutslider.slideBgTypes",lo),onChange:e=>{const o=[...ao];o[d].bgType=e,t({slideItems:o})}}),"classic"===e.bgType&&(0,Ne.jsxs)(he.Fragment,{children:[(0,Ne.jsx)(He,{label:(0,s.__)("Background Color","slider-blocks"),color:e.bgColor,onChange:e=>{const o=[...ao];o[d].bgColor=e,t({slideItems:o})}}),(0,Ne.jsx)(tt,{children:(0,Ne.jsx)(xe.ToggleControl,{label:(0,s.__)("Responsive Background Image","slider-blocks"),checked:e?.enableResponsiveBg&&e?.enableResponsiveBg,onChange:()=>{const o=[...ao];o[d].enableResponsiveBg=!e.enableResponsiveBg,t({slideItems:o})}})}),e?.enableResponsiveBg&&(0,Ne.jsx)(ot,{label:(0,s.__)("Background","slider-blocks"),setAttributes:t,children:e[`${o}Bg`]?.url?(0,Ne.jsx)(Ye,{url:e[`${o}Bg`]?.url,id:e[`${o}Bg`]?.id,alt:e[`${o}Bg`]?.alt,onSelect:e=>{const l=[...ao];l[d][`${o}Bg`]={id:e.id,url:e.url,alt:e.alt},t({slideItems:l})},onClick:()=>{const e=[...ao];e[d][`${o}Bg`]={id:"",url:"",alt:""},t({slideItems:e})},focalPoint:!0,focalValue:e?.[`${o}FocalPoint`],onFocalPointChange:e=>{const l=[...ao];l[d][`${o}FocalPoint`]=e,t({slideItems:l})}}):(0,Ne.jsx)(Qe,{title:(0,s.__)("Upload Image","slider-blocks"),onSelect:e=>{const l=[...ao];l[d][`${o}Bg`]={id:e.id,url:e.url,alt:e.alt},t({slideItems:l})},id:e[`${o}Bg`]&&e[`${o}Bg`].id})}),(0,Ne.jsx)(Ne.Fragment,{children:!e?.enableResponsiveBg&&(0,Ne.jsx)(Ne.Fragment,{children:e.image&&e.image.url?(0,Ne.jsx)(he.Fragment,{children:(0,Ne.jsx)(Ye,{url:e.image.url,id:e.image.id,alt:e.image.alt,onSelect:e=>{const o=[...ao];o[d].image={id:e.id,url:e.url,alt:e.alt},t({slideItems:o})},onClick:()=>{const e=[...ao];e[d].image={id:"",url:"",alt:""},t({slideItems:e})},focalPoint:!0,focalValue:e?.focusPoint,onFocalPointChange:e=>{const o=[...ao];o[d].focusPoint=e,t({slideItems:o})}})}):(0,Ne.jsx)(Qe,{title:(0,s.__)("Upload Image","slider-blocks"),onSelect:e=>{const o=[...ao];o[d].image={id:e.id,url:e.url,alt:e.alt},t({slideItems:o})},id:e.image&&e.image.id})})})]}),"gradient"===e.bgType&&(0,Ne.jsx)(xe.GradientPicker,{__nextHasNoMargin:!0,value:e.bgGradient&&e.bgGradient,onChange:e=>{const o=[...ao];o[d].bgGradient=e,t({slideItems:o})},gradients:_e}),"video"===e.bgType&&(0,Ne.jsx)(he.Fragment,{children:e.bgVideo&&e.bgVideo.url?(0,Ne.jsx)(Ye,{url:e.bgVideo.url,id:e.bgVideo.id,onSelect:e=>{const o=[...ao];o[d].bgVideo={id:e.id,url:e.url},t({slideItems:o})},onClick:()=>{const e=[...ao];e[d].bgVideo={id:"",url:""},t({slideItems:e})},videoType:!0}):(0,Ne.jsx)(Qe,{title:(0,s.__)("Upload Video","slider-blocks"),onSelect:e=>{const o=[...ao];o[d].bgVideo={id:e.id,url:e.url},t({slideItems:o})},id:e.bgVideo&&e.bgVideo.id,videoType:!0})}),("classic"===e.bgType||"video"===e.bgType)&&(0,Ne.jsxs)(Ne.Fragment,{children:[(0,Ne.jsx)(xe.ToggleControl,{label:(0,s.__)("Enable Overlay","slider-blocks"),checked:e.enableOverlay&&e.enableOverlay,onChange:()=>{const o=[...ao];o[d].enableOverlay=!e.enableOverlay,t({slideItems:o})}}),e.enableOverlay&&(0,Ne.jsxs)(Ne.Fragment,{children:[(0,Ne.jsx)(qe,{label:(0,s.__)("Overlay Type","slider-blocks"),value:e.overlayType&&e.overlayType,options:$e,onChange:e=>{const o=[...ao];o[d].overlayType=e,t({slideItems:o})}}),"classic"===e.overlayType&&(0,Ne.jsx)(He,{label:(0,s.__)("Overlay Color","slider-blocks"),color:e.overlayColor&&e.overlayColor,onChange:e=>{const o=[...ao];o[d].overlayColor=e,t({slideItems:o})}}),"gradient"===e.overlayType&&(0,Ne.jsx)(xe.GradientPicker,{__nextHasNoMargin:!0,value:e.overlayGradient&&e.overlayGradient,onChange:e=>{const o=[...ao];o[d].overlayGradient=e,t({slideItems:o})},gradients:_e}),(0,Ne.jsx)(lt,{label:(0,s.__)("Overlay Opacity","slider-blocks"),value:e.overlayOpacity&&e.overlayOpacity,onChange:e=>{const o=[...ao];o[d].overlayOpacity=e,t({slideItems:o})},min:.01,max:1,step:.01})]})]})]})]})},d)]},d)))}),(0,Ne.jsxs)(xe.Button,{variant:"primary",style:{marginTop:"10px"},onClick:()=>{t({addNewSlide:!g}),t({slideItems:[...b,{id:Math.max(0,...b.map((e=>Number(e.id)||0)))+1,panelTitle:"Gutslider Item",subtitle:"Gutslider Block",title:"#1 Best Gutenberg Slider Block",description:"Gutslider is a Gutenberg Slider Block that is easy to use and has many features. It is a great alternative to other slider blocks that are not as easy to use and have less features.",bgType:"classic",bgColor:"#efefef",enableOverlay:!1,overlayType:"classic",overlayColor:"#000000",overlayGradient:"linear-gradient(135deg,#12c2e9 0%,#c471ed 50%,#f64f59 100%)",overlayOpacity:.5,bgGradient:"linear-gradient(135deg,#12c2e9 0%,#c471ed 50%,#f64f59 100%)",bgVideo:{},image:{id:b.length+1,url:"",alt:"Gutslider Logo"},photo:{},photoSize:"thumbnail",focusPoint:{x:.5,y:.5},btnLabel:"Get Gutslider",btnLinks:{url:"https://gutenbergkits.com",openInNewTab:!0,addNoFollow:!1,addSponsored:!1},showSbtnLinks:!1,sbtnLabel:"",sbtnLinks:{url:"",openInNewTab:!0,addNoFollow:!1,addSponsored:!1},globalLink:{url:"",openInNewTab:!1,addNoFollow:!1,addSponsored:!1}}]})},children:[(0,s.__)("Add Slide Item","slider-blocks"),(0,Ne.jsxs)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"#fff",xmlns:"http://www.w3.org/2000/svg",children:[(0,Ne.jsx)("path",{d:"M12 8V16",stroke:"#fff",strokeWidth:"1.5",strokeLinecap:"round"}),(0,Ne.jsx)("path",{d:"M16 12H8",stroke:"#fff",strokeWidth:"1.5",strokeLinecap:"round"})]})]})]}),l&&(0,Ne.jsx)(xe.PanelBody,{title:(0,s.__)("Image","slider-blocks"),initialOpen:!1,children:(0,Ne.jsx)(nt,{label:(0,s.__)("Image Position","slider-blocks"),options:[{label:"Top",value:"column"},{label:"Bottom",value:"column-reverse"},{label:"Left",value:"row"},{label:"Right",value:"row-reverse"}],onChange:e=>t({imgPosition:e}),value:d})}),(0,Ne.jsx)(xe.PanelBody,{title:(0,s.__)("Slider Layout","slider-blocks"),initialOpen:!1,children:(0,Ne.jsx)(qe,{label:(0,s.__)("Slider Type","slider-blocks"),value:c,options:je,onChange:e=>{t({sliderType:e})}})}),(0,Ne.jsx)(xe.PanelBody,{title:(0,s.__)("Container","slider-blocks"),initialOpen:!1,children:(0,Ne.jsx)(Oe,{label:(0,s.__)("Height","slider-blocks"),controlName:rt,objAttrs:ro,min:1,max:1e3,units:["px","em","vh"]})}),(0,Ne.jsxs)(xe.PanelBody,{title:(0,s.__)("Content","slider-blocks"),initialOpen:!1,children:[(0,Ne.jsx)(Oe,{label:(0,s.__)("Max Width","slider-blocks"),controlName:ct,objAttrs:ro,min:1,max:2e3,units:["px","em","%"]}),(0,Ne.jsx)(Ve,{label:(0,s.__)("V. Position","slider-blocks"),controlName:bt,objAttrs:ro,flexAlign:!0,flexVerticle:!0}),(0,Ne.jsx)(et,{label:(0,s.__)("H. Position","slider-blocks"),controlName:ut,objAttrs:ro,options:Ie}),(0,Ne.jsx)(Ve,{label:(0,s.__)("Text Align","slider-blocks"),controlName:gt,objAttrs:ro,flexAlign:!1,flexVerticle:!1}),(0,Ne.jsx)(nt,{label:(0,s.__)("Subtitle Tag","slider-blocks"),value:p,options:we,onChange:e=>{t({subtitleTag:e})}}),(0,Ne.jsx)(nt,{label:(0,s.__)("Title Tag","slider-blocks"),value:m,options:we,onChange:e=>{t({titleTag:e})}}),(0,Ne.jsx)(nt,{label:(0,s.__)("Description Tag","slider-blocks"),value:x,options:we,onChange:e=>{t({descriptionTag:e})}})]}),"carousel"===c&&(0,Ne.jsxs)(xe.PanelBody,{title:(0,s.__)("Carousel Options","slider-blocks"),initialOpen:!1,children:[(0,Ne.jsx)(Oe,{label:(0,s.__)("Columns","slider-blocks"),controlName:st,objAttrs:ro,min:1,max:5,noUnits:!0}),(0,Ne.jsx)(Oe,{label:(0,s.__)("Columns Gap","slider-blocks"),controlName:it,objAttrs:ro,min:0,max:100})]}),(0,Ne.jsxs)(xe.PanelBody,{title:(0,s.__)("Slider Options","slider-blocks"),initialOpen:!1,children:[(0,Ne.jsx)(Me,{label:(0,s.__)("Speed","slider-blocks"),value:P,onChange:e=>t({speed:e}),min:1,max:100,onClickReset:()=>t({speed:null})}),(0,Ne.jsx)(xe.ToggleControl,{label:(0,s.__)("Enable Infinite Loop","slider-blocks"),checked:_,onChange:()=>{t({infiniteLoop:!_,stopOnLastSlide:!1})}}),(0,Ne.jsx)(xe.ToggleControl,{label:(0,s.__)("Enable Autoplay","slider-blocks"),checked:S,onChange:()=>t({autoplay:!S})}),S&&(0,Ne.jsxs)(he.Fragment,{children:[(0,Ne.jsx)(Me,{label:(0,s.__)("Autoplay Delay","slider-blocks"),value:f,onChange:e=>t({autoplayDelay:e}),min:1,max:100,step:1,onClickReset:()=>t({autoplayDelay:""})}),(0,Ne.jsx)(xe.ToggleControl,{label:(0,s.__)("Pause on Hover","slider-blocks"),checked:B,onChange:()=>t({pauseOnHover:!B})}),(0,Ne.jsx)(xe.ToggleControl,{label:(0,s.__)("Stop on Last Slide","slider-blocks"),checked:T,onChange:()=>{t({stopOnLastSlide:!T,infiniteLoop:!1})}}),(0,Ne.jsx)(xe.ToggleControl,{label:(0,s.__)("Reverse Direction","slider-blocks"),checked:L,onChange:()=>t({reverseDirection:!L})})]}),"carousel"===c&&(0,Ne.jsx)(xe.ToggleControl,{label:(0,s.__)("Enable Center Mode","slider-blocks"),checked:A,onChange:()=>t({centerMode:!A})}),(0,Ne.jsx)(xe.ToggleControl,{label:(0,s.__)("Enable Keyboard Control","slider-blocks"),checked:le,onChange:()=>t({keyboardControl:!le})}),(0,Ne.jsx)(xe.ToggleControl,{label:(0,s.__)("Enable Mouse Wheel Control","slider-blocks"),checked:ne,onChange:()=>t({mousewheelControl:!ne})}),(0,Ne.jsx)(xe.ToggleControl,{label:(0,s.__)("Show Navigation","slider-blocks"),checked:I,onChange:()=>t({showNavigation:!I})}),(0,Ne.jsx)(xe.ToggleControl,{label:(0,s.__)("Show Pagination","slider-blocks"),checked:J,onChange:()=>t({showPagination:!J})})]}),(0,Ne.jsxs)(xe.PanelBody,{title:(0,s.__)("Effects","slider-blocks"),initialOpen:!1,children:["slider"===c&&(0,Ne.jsxs)(he.Fragment,{children:[(0,Ne.jsx)(nt,{label:(0,s.__)("Slide Effect","slider-blocks"),value:se,options:Se,onChange:e=>t({slideEffect:e}),help:(0,s.__)("Use background to see the effects properly.","slider-blocks")}),"creative"===se&&(0,Ne.jsx)(nt,{label:(0,s.__)("Creative Styles","slider-blocks"),value:re,options:fe,onChange:e=>t({creativeEffectStyle:e})})]}),"carousel"===c&&(0,Ne.jsx)(nt,{label:(0,s.__)("Carousel Effect","slider-blocks"),value:ie,options:Te,onChange:e=>t({carouselEffect:e}),help:(0,s.__)("Save & reload to see the effect.","slider-blocks")})]}),no&&(0,Ne.jsxs)(xe.PanelBody,{title:(0,s.__)("Remote Navigation","slider-blocks"),initialOpen:!1,children:[(0,Ne.jsx)(xe.TextControl,{label:(0,s.__)("Previous Selector","slider-blocks"),value:so,onChange:e=>t({remotePrevSelector:e}),help:(0,s.__)("Add the selector class to navigate to the previous slide.","slider-blocks")}),(0,Ne.jsx)(xe.TextControl,{label:(0,s.__)("Next Selector","slider-blocks"),value:io,onChange:e=>t({remoteNextSelector:e}),help:(0,s.__)("Add the selector class to navigate to the next slide.","slider-blocks")}),(0,Ne.jsxs)("p",{className:"gutslider-note",children:[(0,Ne.jsxs)("strong",{children:[(0,s.__)("Note:","slider-blocks")," "]}),(0,s.__)("Save and refresh the page to see the changes in the editor.","slider-blocks")]})," "]}),I&&!no&&(0,Ne.jsxs)(xe.PanelBody,{title:(0,s.__)("Navigation","slider-blocks"),initialOpen:!1,children:[(0,Ne.jsx)(qe,{label:(0,s.__)("Position Type","slider-blocks"),value:M,options:Be,onChange:e=>{t({navContainerPosition:e})}}),(0,Ne.jsx)(nt,{label:(0,s.__)("Position","slider-blocks"),value:D,options:Pe,onChange:e=>{t({navPosition:e})}}),(0,Ne.jsx)(xe.ToggleControl,{label:(0,s.__)("Custom Navigation Icon","slider-blocks"),checked:H,onChange:()=>t({customNavIcon:!H})}),H&&(0,Ne.jsxs)(he.Fragment,{children:[(0,Ne.jsx)(qe,{label:(0,s.__)("Icon Source","slider-blocks"),value:V,options:[{label:(0,s.__)("Library","slider-blocks"),value:"library"},{label:(0,s.__)("Custom SVG","slider-blocks"),value:"custom"}],onChange:e=>{t({navIconSource:e})}}),"library"===V&&(0,Ne.jsxs)(he.Fragment,{children:[(0,Ne.jsx)(Ze,{label:(0,s.__)("Prev Icon","slider-blocks"),value:E,onChange:e=>{t({navPrevIcon:e})}}),(0,Ne.jsx)(Ze,{label:(0,s.__)("Next Icon","slider-blocks"),value:z,onChange:e=>{t({navNextIcon:e})}})]}),"custom"===V&&(0,Ne.jsxs)(he.Fragment,{children:[(0,Ne.jsx)(xe.TextareaControl,{label:(0,s.__)("Prev SVG Code","slider-blocks"),help:(0,s.__)("Paste your custom SVG codes here","slider-blocks"),value:W,onChange:e=>t({customPrevSVG:e})}),(0,Ne.jsx)(xe.TextareaControl,{label:(0,s.__)("Next SVG Code","slider-blocks"),help:(0,s.__)("Paste your custom SVG codes here","slider-blocks"),value:q,onChange:e=>t({customNextSVG:e})})]})]})]}),J&&(0,Ne.jsxs)(xe.PanelBody,{title:(0,s.__)("Pagination","slider-blocks"),initialOpen:!1,children:[(0,Ne.jsxs)(he.Fragment,{children:[(0,Ne.jsx)(qe,{label:(0,s.__)("Pagination Type","slider-blocks"),value:U,options:Le,onChange:e=>{t({paginationType:e})}}),"bullets"===U&&(0,Ne.jsx)(xe.ToggleControl,{label:(0,s.__)("Dynamic Bullets","slider-blocks"),checked:Z,onChange:()=>t({dynamicBullets:!Z})})]}),(0,Ne.jsx)(Xe,{message:(0,s.__)("Changes not visible? save & reload to see the changes.","slider-blocks")})]})]}),designTabContent:(0,Ne.jsxs)(he.Fragment,{children:[(0,Ne.jsxs)(xe.PanelBody,{title:(0,s.__)("Container","slider-blocks"),initialOpen:!0,children:[(0,Ne.jsx)(De,{label:(0,s.__)("Padding","slider-blocks"),controlName:at,objAttrs:ro,min:0,max:500}),(0,Ne.jsx)(De,{label:(0,s.__)("Margin","slider-blocks"),controlName:dt,objAttrs:ro,min:-500,max:500})]}),(0,Ne.jsxs)(xe.PanelBody,{title:(0,s.__)("Content","slider-blocks"),initialOpen:!1,children:[(0,Ne.jsx)(He,{label:(0,s.__)("Background Color","slider-blocks"),color:me,onChange:e=>{t({contentBgColor:e})}}),(0,Ne.jsx)(ze,{controlName:mt,objAttrs:ro,noHover:!0}),(0,Ne.jsx)(De,{label:(0,s.__)("Border Radius","slider-blocks"),controlName:yt,objAttrs:ro,min:0,max:500}),(0,Ne.jsx)(De,{label:(0,s.__)("Padding","slider-blocks"),controlName:pt,objAttrs:ro,min:0,max:500}),(0,Ne.jsx)(De,{label:(0,s.__)("Margin","slider-blocks"),controlName:xt,objAttrs:ro,min:-500,max:500})]}),ao.map((e=>e.photo?.url&&l&&(0,Ne.jsxs)(xe.PanelBody,{title:(0,s.__)("Image","slider-blocks"),initialOpen:!1,children:[(0,Ne.jsx)(Oe,{label:(0,s.__)("Image Size","slider-blocks"),controlName:Lt,objAttrs:ro,min:0,max:500}),(0,Ne.jsx)(ze,{controlName:Bt,objAttrs:ro,noHover:!0}),(0,Ne.jsx)(De,{label:(0,s.__)("Border Radius","slider-blocks"),controlName:Pt,objAttrs:ro,min:0,max:500}),(0,Ne.jsx)(De,{label:(0,s.__)("Padding","slider-blocks"),controlName:It,objAttrs:ro,min:0,max:500}),(0,Ne.jsx)(De,{label:(0,s.__)("Margin","slider-blocks"),controlName:At,objAttrs:ro,min:-500,max:500})]}))),(0,Ne.jsxs)(xe.PanelBody,{title:(0,s.__)("Subtitle","slider-blocks"),initialOpen:!1,children:["slider"===c&&(0,Ne.jsxs)(he.Fragment,{children:[(0,Ne.jsx)(nt,{label:(0,s.__)("Animation","slider-blocks"),value:j,options:Ce,onChange:e=>{t({subtitleAnimation:e})}}),"none"!==j&&""!==j&&(0,Ne.jsx)(Me,{label:(0,s.__)("Transition Delay","slider-blocks"),value:de,onChange:e=>t({subtitleDelay:e}),min:0,max:2,step:.01,onClickReset:()=>t({subtitleDelay:null})})]}),(0,Ne.jsx)(He,{label:(0,s.__)("Color","slider-blocks"),color:u,onChange:e=>{t({subtitleColor:e})}}),(0,Ne.jsx)(Ee,{label:(0,s.__)("Typography","slider-blocks"),controlName:Gt,objAttrs:ro}),(0,Ne.jsx)(De,{label:(0,s.__)("Spacing","slider-blocks"),controlName:Ft,objAttrs:ro,min:-200,max:200})]}),(0,Ne.jsxs)(xe.PanelBody,{title:(0,s.__)("Title","slider-blocks"),initialOpen:!1,children:["slider"===c&&(0,Ne.jsxs)(he.Fragment,{children:[(0,Ne.jsx)(nt,{label:(0,s.__)("Animation","slider-blocks"),value:N,options:Ce,onChange:e=>{t({titleAnimation:e})}}),"none"!==N&&""!==N&&(0,Ne.jsx)(Me,{label:(0,s.__)("Transition Delay","slider-blocks"),value:ae,onChange:e=>t({titleDelay:e}),min:0,max:2,step:.01,onClickReset:()=>t({titleDelay:null})})]}),(0,Ne.jsx)(He,{label:(0,s.__)("Color","slider-blocks"),color:y,onChange:e=>{t({titleColor:e})}}),(0,Ne.jsx)(Ee,{label:(0,s.__)("Typography","slider-blocks"),controlName:Tt,objAttrs:ro}),(0,Ne.jsx)(De,{label:(0,s.__)("Spacing","slider-blocks"),controlName:ft,objAttrs:ro,min:-200,max:200})]}),(0,Ne.jsxs)(xe.PanelBody,{title:(0,s.__)("Description","slider-blocks"),initialOpen:!1,children:["slider"===c&&(0,Ne.jsxs)(he.Fragment,{children:[(0,Ne.jsx)(nt,{label:(0,s.__)("Animation","slider-blocks"),value:$,options:Ce,onChange:e=>{t({descAnimation:e})}}),"none"!==$&&""!==$&&(0,Ne.jsx)(Me,{label:(0,s.__)("Transition Delay","slider-blocks"),value:ce,onChange:e=>t({descDelay:e}),min:0,max:2,step:.01,onClickReset:()=>t({descDelay:null})})]}),(0,Ne.jsx)(He,{label:(0,s.__)("Color","slider-blocks"),color:v,onChange:e=>{t({descriptionColor:e})}}),(0,Ne.jsx)(Ee,{label:(0,s.__)("Typography","slider-blocks"),controlName:Ot,objAttrs:ro}),(0,Ne.jsx)(De,{label:(0,s.__)("Spacing","slider-blocks"),controlName:Rt,objAttrs:ro,min:-200,max:200})]}),(0,Ne.jsxs)(xe.PanelBody,{title:(0,s.__)("Primary Button","slider-blocks"),initialOpen:!1,children:["slider"===c&&(0,Ne.jsxs)(he.Fragment,{children:[(0,Ne.jsx)(nt,{label:(0,s.__)("Animation","slider-blocks"),value:w,options:Ce,onChange:e=>{t({btnAnimation:e})}}),"none"!==C&&""!==w&&(0,Ne.jsx)(Me,{label:(0,s.__)("Transition Delay","slider-blocks"),value:ge,onChange:e=>t({btnDelay:e}),min:0,max:2,step:.01,onClickReset:()=>t({btnDelay:null})})]}),(0,Ne.jsx)(Ee,{label:(0,s.__)("Typography","slider-blocks"),controlName:jt,objAttrs:ro}),(0,Ne.jsx)(ze,{controlName:vt,objAttrs:ro}),(0,Ne.jsx)(De,{label:(0,s.__)("Border Radius","slider-blocks"),controlName:ht,objAttrs:ro,min:0,max:100}),(0,Ne.jsx)(De,{label:(0,s.__)("Padding","slider-blocks"),controlName:Nt,objAttrs:ro,min:0,max:100}),(0,Ne.jsx)(De,{label:(0,s.__)("Margin","slider-blocks"),controlName:kt,objAttrs:ro,min:0,max:100}),(0,Ne.jsx)(Je,{normal:(0,Ne.jsxs)(he.Fragment,{children:[(0,Ne.jsx)(He,{label:(0,s.__)("Color","slider-blocks"),color:h&&h.btnTextColor,onChange:e=>{const o={...h,btnTextColor:e};t({btnColors:o})}}),(0,Ne.jsx)(He,{label:(0,s.__)("Background","slider-blocks"),color:h&&h.btnBgColor,onChange:e=>{const o={...h,btnBgColor:e};t({btnColors:o})}})]}),hover:(0,Ne.jsxs)(he.Fragment,{children:[(0,Ne.jsx)(He,{label:(0,s.__)("Color","slider-blocks"),color:h&&h.btnHoverTextColor,onChange:e=>{const o={...h,btnHoverTextColor:e};t({btnColors:o})}}),(0,Ne.jsx)(He,{label:(0,s.__)("Background","slider-blocks"),color:h&&h.btnHoverBgColor,onChange:e=>{const o={...h,btnHoverBgColor:e};t({btnColors:o})}})]})})]}),ao.map((e=>e.showSbtnLinks&&(0,Ne.jsxs)(xe.PanelBody,{title:(0,s.__)("Secondary Button","slider-blocks"),initialOpen:!1,children:["slider"===c&&(0,Ne.jsxs)(he.Fragment,{children:[(0,Ne.jsx)(nt,{label:(0,s.__)("Animation","slider-blocks"),value:C,options:Ce,onChange:e=>{t({sbtnAnimation:e})}}),"none"!==C&&""!==C&&(0,Ne.jsx)(Me,{label:(0,s.__)("Transition Delay","slider-blocks"),value:ue,onChange:e=>t({sbtnDelay:e}),min:0,max:2,step:.01,onClickReset:()=>t({sbtnDelay:null})})]}),(0,Ne.jsx)(Ee,{label:(0,s.__)("Typography","slider-blocks"),controlName:St,objAttrs:ro}),(0,Ne.jsx)(ze,{controlName:$t,objAttrs:ro}),(0,Ne.jsx)(De,{label:(0,s.__)("Border Radius","slider-blocks"),controlName:wt,objAttrs:ro,min:0,max:100}),(0,Ne.jsx)(De,{label:(0,s.__)("Padding","slider-blocks"),controlName:_t,objAttrs:ro,min:0,max:100}),(0,Ne.jsx)(De,{label:(0,s.__)("Margin","slider-blocks"),controlName:Ct,objAttrs:ro,min:0,max:100}),(0,Ne.jsx)(Je,{normal:(0,Ne.jsxs)(he.Fragment,{children:[(0,Ne.jsx)(He,{label:(0,s.__)("Color","slider-blocks"),color:k&&k.btnTextColor,onChange:e=>{const o={...k,btnTextColor:e};t({sbtnColors:o})}}),(0,Ne.jsx)(He,{label:(0,s.__)("Background","slider-blocks"),color:k&&k.btnBgColor,onChange:e=>{const o={...k,btnBgColor:e};t({sbtnColors:o})}})]}),hover:(0,Ne.jsxs)(he.Fragment,{children:[(0,Ne.jsx)(He,{label:(0,s.__)("Color","slider-blocks"),color:k&&k.btnHoverTextColor,onChange:e=>{const o={...k,btnHoverTextColor:e};t({sbtnColors:o})}}),(0,Ne.jsx)(He,{label:(0,s.__)("Background","slider-blocks"),color:k&&k.btnHoverBgColor,onChange:e=>{const o={...k,btnHoverBgColor:e};t({sbtnColors:o})}})]})})]}))),I&&(0,Ne.jsxs)(xe.PanelBody,{title:(0,s.__)("Navigation","slider-blocks"),initialOpen:!1,children:[(0,Ne.jsx)(Oe,{label:(0,s.__)("Width","slider-blocks"),controlName:Vt,objAttrs:ro,min:1,max:100,units:["px","em","rem"]}),(0,Ne.jsx)(Oe,{label:(0,s.__)("Height","slider-blocks"),controlName:Ht,objAttrs:ro,min:1,max:100,units:["px","em","rem"]}),(0,Ne.jsx)(Oe,{label:(0,s.__)("Icon Size","slider-blocks"),controlName:Et,objAttrs:ro,min:1,max:100,units:["px","em","rem"]}),(0,Ne.jsx)(Oe,{label:(0,s.__)("Icon Gap","gutslider-pro"),controlName:Wt,objAttrs:ro,min:0,max:100,units:["px","em","rem"]}),(0,Ne.jsx)(ze,{controlName:Mt,objAttrs:ro}),(0,Ne.jsx)(De,{label:(0,s.__)("Border Radius","slider-blocks"),controlName:Dt,objAttrs:ro,min:0,max:100}),(0,Ne.jsx)(De,{label:(0,s.__)("Margin","slider-blocks"),controlName:zt,objAttrs:ro,min:-500,max:500}),(0,Ne.jsx)(Je,{normal:(0,Ne.jsxs)(he.Fragment,{children:[(0,Ne.jsx)(He,{label:(0,s.__)("Color","slider-blocks"),color:F,onChange:e=>{t({navColor:e})}}),(0,Ne.jsx)(He,{label:(0,s.__)("Background","slider-blocks"),color:R,onChange:e=>{t({navBgColor:e})}})]}),hover:(0,Ne.jsxs)(he.Fragment,{children:[(0,Ne.jsx)(He,{label:(0,s.__)("Color","slider-blocks"),color:G,onChange:e=>{t({navHoverColor:e})}}),(0,Ne.jsx)(He,{label:(0,s.__)("Background","slider-blocks"),color:O,onChange:e=>{t({navHoverBgColor:e})}})]})})]}),J&&(0,Ne.jsxs)(xe.PanelBody,{title:(0,s.__)("Pagination","slider-blocks"),initialOpen:!1,children:["fraction"===U&&(0,Ne.jsx)(Oe,{label:(0,s.__)("Size","slider-blocks"),controlName:to,objAttrs:ro,min:1,max:100,units:["px","em","rem"]}),"progressbar"===U&&(0,Ne.jsx)(Oe,{label:(0,s.__)("Size","slider-blocks"),controlName:oo,objAttrs:ro,min:1,max:100,units:["px","em","rem"]}),(0,Ne.jsx)(De,{label:(0,s.__)("Margin","slider-blocks"),controlName:Xt,objAttrs:ro,min:-500,max:500}),(0,Ne.jsx)(Je,{options:[{label:(0,s.__)("Normal","slider-blocks"),value:"normal"},{label:(0,s.__)("Active","slider-blocks"),value:"hover"}],normal:(0,Ne.jsxs)(he.Fragment,{children:["bullets"===U&&(0,Ne.jsxs)(he.Fragment,{children:[(0,Ne.jsx)(Oe,{label:(0,s.__)("Width","slider-blocks"),controlName:Zt,objAttrs:ro,min:1,max:100,units:["px","em","rem"]}),(0,Ne.jsx)(Oe,{label:(0,s.__)("Height","slider-blocks"),controlName:Ut,objAttrs:ro,min:1,max:100,units:["px","em","rem"]}),(0,Ne.jsx)(He,{label:(0,s.__)("Color","slider-blocks"),color:X,onChange:e=>{t({pagColor:e})}}),(0,Ne.jsx)(ze,{controlName:qt,objAttrs:ro}),(0,Ne.jsx)(De,{label:(0,s.__)("Border Radius","slider-blocks"),controlName:Jt,objAttrs:ro,min:0,max:100})]}),"fraction"===U&&(0,Ne.jsxs)(he.Fragment,{children:[(0,Ne.jsx)(He,{label:(0,s.__)("Color","slider-blocks"),color:Q,onChange:e=>{t({pagFracColor:e})}}),(0,Ne.jsx)(He,{label:(0,s.__)("Divider Color","slider-blocks"),color:ee,onChange:e=>{t({fracDividerColor:e})}})]}),"progressbar"===U&&(0,Ne.jsx)(he.Fragment,{children:(0,Ne.jsx)(He,{label:(0,s.__)("Color","slider-blocks"),color:te,onChange:e=>{t({progressColor:e})}})})]}),hover:(0,Ne.jsxs)(he.Fragment,{children:["bullets"===U&&(0,Ne.jsxs)(he.Fragment,{children:[(0,Ne.jsx)(Oe,{label:(0,s.__)("Width","slider-blocks"),controlName:eo,objAttrs:ro,min:1,max:100,units:["px","em","rem"]}),(0,Ne.jsx)(Oe,{label:(0,s.__)("Height","slider-blocks"),controlName:Kt,objAttrs:ro,min:1,max:100,units:["px","em","rem"]}),(0,Ne.jsx)(He,{label:(0,s.__)("Color","slider-blocks"),color:Y,onChange:e=>{t({activePagColor:e})}}),(0,Ne.jsx)(ze,{controlName:Yt,objAttrs:ro}),(0,Ne.jsx)(De,{label:(0,s.__)("Border Radius","slider-blocks"),controlName:Qt,objAttrs:ro,min:0,max:100})]}),"fraction"===U&&(0,Ne.jsx)(he.Fragment,{children:(0,Ne.jsx)(He,{label:(0,s.__)("Color","slider-blocks"),color:K,onChange:e=>{t({pagFracCurrentColor:e})}})}),"progressbar"===U&&(0,Ne.jsx)(he.Fragment,{children:(0,Ne.jsx)(He,{label:(0,s.__)("Color","slider-blocks"),color:oe,onChange:e=>{t({activeProgressColor:e})}})})]})})]})]})}),(0,Ne.jsx)(Ke,{message:(0,s.__)("GutSlider Pro","slider-blocks")}),(0,Ne.jsx)(Ue,{})]})},{useEffect:so}=wp.element,{softMinifyCssStrings:io}=window.gutSliderModules.Helper,{generateRangeStyles:ro,generateBorderStyles:ao,generateResBoxStyles:co,generateTypographyStyles:bo,generateAlignmentStyles:go,generateResBtnsStyles:po}=window.gutSliderModules,{C4:uo,gp:mo,jD:yo,ZS:xo,G:vo,is:ho,o9:ko,ip:No,f1:jo,nF:$o,pU:wo,M6:Co,Qi:_o,rX:So,OV:fo,ki:To,Lp:Lo,$f:Bo,he:Po,iW:Io,xo:Ao,xP:Fo,oL:Go,P9:Ro,_$:Oo,MC:Mo,vv:Do,yb:Ho,bI:Vo,yo:Eo,ow:zo,Hg:Wo,XB:qo,Hj:Jo,MJ:Uo,Dv:Zo,WT:Xo,Vw:Yo,v5:Qo,mr:Ko,Gw:el,Gs:tl,F$:ol,og:ll,zc:nl,tP:sl,$C:il,o8:rl,je:al,ND:dl}=l,cl=({attributes:e,setAttributes:t})=>{const{uniqueId:o,blockStyle:l,imgPosition:n,subtitleColor:s,titleColor:i,descriptionColor:r,btnColors:a,sbtnColors:d,showNavigation:c,navColor:b,navHoverColor:g,navBgColor:p,navHoverBgColor:u,navContainerPosition:m,navPosition:y,showPagination:x,paginationType:v,pagColor:h,pagFracColor:k,pagFracCurrentColor:N,fracDividerColor:j,activePagColor:$,progressColor:w,activeProgressColor:C,subtitleDelay:_,titleDelay:S,descDelay:f,btnDelay:T,sbtnDelay:L,contentBgColor:B}=e,{deskStyle:P,tabStyle:I,mobStyle:A}=ro({controlName:uo,attributes:e,propertyName:"height"}),{boxDeskStyles:F,boxTabStyles:G,boxMobStyles:R}=co({controlName:mo,attributes:e,propertyName:"padding"}),{boxDeskStyles:O,boxTabStyles:M,boxMobStyles:D}=co({controlName:yo,attributes:e,propertyName:"margin"}),{boxDeskStyles:H,boxTabStyles:V,boxMobStyles:E}=co({controlName:ko,attributes:e,propertyName:"padding"}),{deskStyle:z,tabStyle:W,mobStyle:q}=ro({controlName:xo,attributes:e,propertyName:"max-width"}),{deskAlign:J,tabAlign:U,mobAlign:Z}=go({controlName:vo,attributes:e,propertyName:"justify-content"}),{deskAlign:X,tabAlign:Y,mobAlign:Q}=po({controlName:No,attributes:e,noProperty:!0}),{deskAlign:K,tabAlign:ee,mobAlign:te}=go({controlName:ho,attributes:e,propertyName:"text-align"}),{desktopStyles:oe,tabletStyles:le,mobileStyles:ne}=ao({controlName:jo,attributes:e}),{boxDeskStyles:se,boxTabStyles:ie,boxMobStyles:re}=co({controlName:$o,attributes:e,propertyName:"border-radius",forRadius:!0}),{boxDeskStyles:ae,boxTabStyles:de,boxMobStyles:ce}=co({controlName:wo,attributes:e,propertyName:"margin"}),{deskStyle:be,tabStyle:ge,mobStyle:pe}=ro({controlName:Ro,attributes:e,propertyName:"width"}),{deskStyle:ue,tabStyle:me,mobStyle:ye}=ro({controlName:Ro,attributes:e,propertyName:"height"}),{desktopStyles:xe,tabletStyles:ve,mobileStyles:he}=ao({controlName:Oo,attributes:e}),{boxDeskStyles:ke,boxTabStyles:je,boxMobStyles:$e}=co({controlName:Mo,attributes:e,propertyName:"border-radius",forRadius:!0}),{boxDeskStyles:we,boxTabStyles:Ce,boxMobStyles:_e}=co({controlName:Do,attributes:e,propertyName:"padding"}),{boxDeskStyles:Se,boxTabStyles:fe,boxMobStyles:Te}=co({controlName:Ho,attributes:e,propertyName:"margin"}),{desktopStyles:Le,tabletStyles:Be,mobileStyles:Pe,hoverColor:Ie}=ao({controlName:Co,attributes:e}),{boxDeskStyles:Ae,boxTabStyles:Fe,boxMobStyles:Ge}=co({controlName:_o,attributes:e,propertyName:"border-radius",forRadius:!0}),{boxDeskStyles:Re,boxTabStyles:Oe,boxMobStyles:Me}=co({controlName:So,attributes:e,propertyName:"padding"}),{boxDeskStyles:De,boxTabStyles:He,boxMobStyles:Ve}=co({controlName:fo,attributes:e,propertyName:"margin"}),{desktopStyles:Ee,tabletStyles:ze,mobileStyles:We}=bo({controlName:To,attributes:e}),{desktopStyles:qe,tabletStyles:Je,mobileStyles:Ue,hoverColor:Ze}=ao({controlName:Lo,attributes:e}),{boxDeskStyles:Xe,boxTabStyles:Ye,boxMobStyles:Qe}=co({controlName:Bo,attributes:e,propertyName:"border-radius",forRadius:!0}),{boxDeskStyles:Ke,boxTabStyles:et,boxMobStyles:tt}=co({controlName:Io,attributes:e,propertyName:"padding"}),{boxDeskStyles:ot,boxTabStyles:lt,boxMobStyles:nt}=co({controlName:Po,attributes:e,propertyName:"margin"}),{desktopStyles:st,tabletStyles:it,mobileStyles:rt}=bo({controlName:Ao,attributes:e}),{boxDeskStyles:at,boxTabStyles:dt,boxMobStyles:ct}=co({controlName:Fo,attributes:e,propertyName:"margin"}),{desktopStyles:bt,tabletStyles:gt,mobileStyles:pt}=bo({controlName:Go,attributes:e}),{boxDeskStyles:ut,boxTabStyles:mt,boxMobStyles:yt}=co({controlName:Vo,attributes:e,propertyName:"margin"}),{desktopStyles:xt,tabletStyles:vt,mobileStyles:ht}=bo({controlName:Eo,attributes:e}),{boxDeskStyles:kt,boxTabStyles:Nt,boxMobStyles:jt}=co({controlName:zo,attributes:e,propertyName:"margin"}),{desktopStyles:$t,tabletStyles:wt,mobileStyles:Ct}=bo({controlName:Wo,attributes:e}),{boxDeskStyles:_t,boxTabStyles:St,boxMobStyles:ft}=co({controlName:Yo,attributes:e,propertyName:"margin"}),{desktopStyles:Tt,tabletStyles:Lt,mobileStyles:Bt,hoverColor:Pt}=ao({controlName:qo,attributes:e}),{boxDeskStyles:It,boxTabStyles:At,boxMobStyles:Ft}=co({controlName:Jo,attributes:e,propertyName:"border-radius",forRadius:!0}),{deskStyle:Gt,tabStyle:Rt,mobStyle:Ot}=ro({controlName:Uo,attributes:e,propertyName:"height"}),{deskStyle:Mt,tabStyle:Dt,mobStyle:Ht}=ro({controlName:Zo,attributes:e,propertyName:"width"}),{deskStyle:Vt,tabStyle:Et,mobStyle:zt}=ro({controlName:Xo,attributes:e,propertyName:"font-size"}),{deskStyle:Wt,tabStyle:qt,mobStyle:Jt}=ro({controlName:Xo,attributes:e,propertyName:"width"}),{deskStyle:Ut,tabStyle:Zt,mobStyle:Xt}=ro({controlName:Xo,attributes:e,propertyName:"height"}),{deskStyle:Yt,tabStyle:Qt,mobStyle:Kt}=ro({controlName:Qo,attributes:e,propertyName:"gap"}),{boxDeskStyles:eo,boxTabStyles:to,boxMobStyles:oo}=co({controlName:ll,attributes:e,propertyName:"margin"}),{desktopStyles:lo,tabletStyles:no,mobileStyles:cl,hoverColor:bl}=ao({controlName:Ko,attributes:e}),{boxDeskStyles:gl,boxTabStyles:pl,boxMobStyles:ul}=co({controlName:el,attributes:e,propertyName:"border-radius",forRadius:!0}),{deskStyle:ml,tabStyle:yl,mobStyle:xl}=ro({controlName:ol,attributes:e,propertyName:"height"}),{deskStyle:vl,tabStyle:hl,mobStyle:kl}=ro({controlName:tl,attributes:e,propertyName:"width"}),{desktopStyles:Nl,tabletStyles:jl,mobileStyles:$l,hoverColor:wl}=ao({controlName:nl,attributes:e}),{boxDeskStyles:Cl,boxTabStyles:_l,boxMobStyles:Sl}=co({controlName:sl,attributes:e,propertyName:"border-radius",forRadius:!0}),{deskStyle:fl,tabStyle:Tl,mobStyle:Ll}=ro({controlName:rl,attributes:e,propertyName:"height"}),{deskStyle:Bl,tabStyle:Pl,mobStyle:Il}=ro({controlName:il,attributes:e,propertyName:"width"}),{deskStyle:Al,tabStyle:Fl,mobStyle:Gl}=ro({controlName:al,attributes:e,propertyName:"font-size"}),{deskStyle:Rl,tabStyle:Ol,mobStyle:Ml}=ro({controlName:dl,attributes:e,propertyName:"height"}),Dl=`\n\t\t${O?`.${o}.wp-block-gutsliders-content-slider {\n\t\t\t\t\t${O||""}\n\t\t\t\t}`:""}\n\t\t${F?`.${o}.wp-block-gutsliders-content-slider.${m}.${y} {\n ${F||""}\n\t\t\t\t}`:""}\n\t\t${P||J?`.${o} .gutslider-content-wrapper {\n\t\t\t\t\t${P||""}\n\t\t\t\t\t${J||""}\n\t\t\t\t}`:""}\n\t\t${z||K||X||H||ae||oe||se||B?`.${o} .gutslider-content-inner {\n\t\t\t\t\t${z||""}\n\t\t\t\t\t${K||""}\n ${X||""}\n ${H||""}\n ${ae||""}\n ${oe||""}\n ${se||""}\n ${B?`background-color: ${B};`:""}\n }\n\t\t\t\t}`:""}\n ${n?`.${o} .gutslider-content-position {\n ${"row"===n||"row-reverse"===n?"margin-top:65px;":""}\n ${n?`flex-direction: ${n};`:""}\n \n\t\t\t\t}`:""}\n \n ${xe||ke||we||Se||be||ue?`.${o} .gutslider-content-image img {\n ${be||""}\n ${ue||""}\n ${xe||""}\n ${ke||""}\n ${we||""}\n ${Se||""}\n }`:""}\n\t\t${s||ut||xt||_?`.${o} .gutslider-content-wrapper .gutslider-subtitle { \n\t\t\t\t\t${s?`color: ${s};`:""}\n\t\t\t\t\t${ut||""}\n\t\t\t\t\t${xt||""}\n ${_?`transition-delay: ${_}s !important;`:""}\n\t\t\t\t}`:""}\n\t\t${i||at||bt||S?`.${o} .gutslider-content-wrapper .gutslider-title { \n\t\t\t\t\t${i?`color: ${i};`:""}\n\t\t\t\t\t${at||""}\n\t\t\t\t\t${bt||""}\n ${S?`transition-delay: ${S}s !important;`:""}\n\t\t\t\t}`:""}\n\t\t${r||kt||$t||f?`.${o} .gutslider-content-wrapper .gutslider-description {\n\t\t\t\t\t${r?`color: ${r};`:""}\n\t\t\t\t\t${kt||""}\n\t\t\t\t\t${$t||""}\n ${f?`transition-delay: ${f}s !important;`:""}\n\t\t\t\t}`:""}\n\t\t\n\t\t${Ae||Re||De||a.btnTextColor||a.btnBgColor||Le||Ee||T?`.${o} .gutslider-cta { \n\t\t\t\t\t\t${Ae||""}\n\t\t\t\t\t\t${Re||""} \n\t\t\t\t\t\t${De||""} \n\t\t\t\t\t\t${a.btnTextColor?`color: ${a.btnTextColor};`:""}\n\t\t\t\t\t\t${a.btnBgColor?`background-color: ${a.btnBgColor};`:""}\n\t\t\t\t\t\t${Le||""}\n ${Ee||""}\n ${T?`transition-delay: ${T}s !important;`:""}\n\t\t\t\t\t}`:""}\n ${a.btnHoverTextColor||a.btnHoverBgColor||Ie?` \n\t\t\t\t.${o} .gutslider-cta:hover {\n\t\t\t\t\t${a.btnHoverTextColor?`color: ${a.btnHoverTextColor};`:""}\n\t\t\t\t\t${a.btnHoverBgColor?`background-color: ${a.btnHoverBgColor};`:""}\n\t\t\t\t\t${Ie||""}\n\t\t\t\t}\n\t\t\t`:""}\n\n \t${Xe||Ke||ot||d.btnTextColor||d.btnBgColor||qe||st||L?`.${o} .gutslider-cta-secondary { \n\t\t\t\t\t\t${Xe||""}\n\t\t\t\t\t\t${Ke||""} \n\t\t\t\t\t\t${ot||""} \n\t\t\t\t\t\t${d.btnTextColor?`color: ${d.btnTextColor};`:""}\n\t\t\t\t\t\t${d.btnBgColor?`background-color: ${d.btnBgColor};`:""}\n\t\t\t\t\t\t${qe||""}\n ${st||""}\n ${L?`transition-delay: ${L}s !important;`:""}\n\t\t\t\t\t}`:""}\n\n ${d.btnHoverTextColor||d.btnHoverBgColor||Ze?` \n\t\t\t\t.${o} .gutslider-cta-secondary:hover {\n\t\t\t\t\t${d.btnHoverTextColor?`color: ${d.btnHoverTextColor};`:""}\n\t\t\t\t\t${d.btnHoverBgColor?`background-color: ${d.btnHoverBgColor};`:""}\n\t\t\t\t\t${Ze||""}\n\t\t\t\t}\n\t\t\t`:""}\n\t\t\n ${c&&(_t||Yt)?`.${o}.wp-block-gutsliders-content-slider .gutslider-nav{\n ${_t||""}\n ${Yt||""}\n }`:""}\n ${c&&(b||p||Tt||It||Gt||Mt)?`.${o}.wp-block-gutsliders-content-slider .swiper-button-prev, .${o}.wp-block-gutsliders-content-slider .gutslider-prev, .${o}.wp-block-gutsliders-content-slider .swiper-button-next, .${o}.wp-block-gutsliders-content-slider .gutslider-next {\n ${b?`color: ${b};`:""}\n ${b?`fill: ${b};`:""}\n ${p?`background-color: ${p};`:""}\n ${Tt||""}\n ${It||""}\n ${Gt||""}\n ${Mt||""}\n\n\t\t\t\t}`:""}\n\t\t${c&&(g||u||Pt)?`.${o}.wp-block-gutsliders-content-slider .swiper-button-prev:hover, .${o}.wp-block-gutsliders-content-slider .gutslider-prev:hover, .${o}.wp-block-gutsliders-content-slider .swiper-button-next:hover, .${o}.wp-block-gutsliders-content-slider .gutslider-next:hover {\n ${g?`color: ${g};`:""}\n ${g?`fill: ${g};`:""}\n ${u?`background-color: ${u};`:""}\n ${Pt||""}\n\t\t\t\t}`:""}\n ${c&&Vt?`.${o}.wp-block-gutsliders-content-slider .swiper-button-prev::after, .${o}.wp-block-gutsliders-content-slider .gutslider-prev svg, .${o}.wp-block-gutsliders-content-slider .swiper-button-next::after, .${o}.wp-block-gutsliders-content-slider .gutslider-next svg {\n ${Vt||""}\n }`:""}\n ${c&&Wt&&Ut?`.${o}.wp-block-gutsliders-content-slider .gutslider-prev svg, .${o}.wp-block-gutsliders-content-slider .gutslider-next svg {\n ${Wt||""}\n ${Ut||""}\n }`:""}\n ${x&&eo?`.${o}.wp-block-gutsliders-content-slider .swiper-pagination {\n ${eo||""}\n }`:""}\n ${x&&"bullets"===v&&(lo||gl||ml||vl||h)?`.${o}.wp-block-gutsliders-content-slider .swiper-pagination-bullet {\n ${lo||""}\n ${gl||""}\n ${ml||""}\n ${vl||""}\n ${h?`background-color: ${h};`:""}\n }`:""}\n ${x&&"bullets"===v&&bl?`.${o}.wp-block-gutsliders-content-slider .swiper-pagination-bullet:hover {\n ${bl||""}\n }`:""}\n ${x&&"bullets"===v&&(Nl||Cl||fl||Bl||$)?`.${o}.wp-block-gutsliders-content-slider .swiper-pagination-bullet-active {\n ${Nl||""}\n ${Cl||""}\n ${fl||""}\n ${Bl||""}\n ${$?`background-color: ${$};`:""}\n }`:""}\n ${x&&"bullets"===v&&wl?`.${o}.wp-block-gutsliders-content-slider .swiper-pagination-bullet-active:hover {\n ${wl||""}\n }`:""}\n ${x&&"fraction"===v&&(j||Al)?`.${o}.wp-block-gutsliders-content-slider .swiper-pagination-fraction {\n ${j?`color: ${j};`:""}\n ${Al||""}\n }`:""}\n ${x&&"fraction"===v&&k?`.${o}.wp-block-gutsliders-content-slider .swiper-pagination-total {\n ${k?`color: ${k};`:""}\n }`:""}\n ${x&&"fraction"===v&&N?`.${o}.wp-block-gutsliders-content-slider .swiper-pagination-current {\n ${N?`color: ${N};`:""}\n }`:""}\n ${x&&"progressbar"===v&&(w||Rl)?`.${o}.wp-block-gutsliders-content-slider .swiper-pagination-progressbar {\n ${w?`background: ${w};`:""}\n ${Rl||""}\n }`:""}\n ${x&&"progressbar"===v&&C?`.${o}.wp-block-gutsliders-content-slider .swiper-pagination-progressbar .swiper-pagination-progressbar-fill {\n ${C?`background: ${C};`:""}\n }`:""}\n\t`,Hl=`\n\t\t${M?`.${o}.wp-block-gutsliders-content-slider {\n\t\t\t\t\t${M||""}\n\t\t\t\t}`:""}\n ${G?`.${o}.wp-block-gutsliders-content-slider.${m}.${y} {\n ${G||""}\n\t\t\t\t}`:""}\n\t\t${I||U?`.${o} .gutslider-content-wrapper {\n\t\t\t\t\t${I||""}\n\t\t\t\t\t${U||""}\n\t\t\t\t}`:""}\n\t\t${W||ee||Y||V||de||le||ie?`.${o} .gutslider-content-inner {\n\t\t\t\t\t${W||""}\n\t\t\t\t\t${ee||""}\n ${Y||""}\n ${V||""}\n ${de||""}\n ${le||""}\n ${ie||""}\n\t\t\t\t}`:""}\n\t\t${ve||je||Ce||fe||ge||me?`.${o} .gutslider-content-image img {\n ${ge||""}\n ${me||""}\n ${ve||""}\n ${je||""}\n ${Ce||""}\n ${fe||""}\n }`:""}\n \n ${mt||vt?`.${o} .gutslider-content-wrapper .gutslider-subtitle { \n\t\t\t\t\t${mt||""}\n\t\t\t\t\t${vt||""}\n\t\t\t\t}`:""}\n\t\t${dt||gt?`.${o} .gutslider-content-wrapper .gutslider-title { \n\t\t\t\t${dt||""}\n\t\t\t\t${gt||""}\n\t\t\t}`:""}\n\t\t${Nt||wt?`.${o} .gutslider-content-wrapper .gutslider-description {\n\t\t\t\t\t${Nt||""}\n\t\t\t\t\t${wt||""}\n\t\t\t\t}`:""}\n\t\t${Fe||Oe||He||Be||ze?`.${o} .gutslider-cta { \n\t\t\t\t\t${Fe||""} \n\t\t\t\t\t${Oe||""} \n\t\t\t\t\t${He||""}\n\t\t\t\t\t${Be||""}\n ${ze||""}\n\t\t\t\t}`:""}\n\t ${Ye||et||lt||Je||it?`.${o} .gutslider-cta-secondary { \n\t\t\t\t\t${Ye||""} \n\t\t\t\t\t${et||""} \n\t\t\t\t\t${lt||""}\n\t\t\t\t\t${Je||""}\n ${it||""}\n\t\t\t\t}`:""}\n \t\n ${c&&(St||Qt)?`.${o}.wp-block-gutsliders-content-slider .gutslider-nav{\n ${St||""}\n ${Qt||""}\n }`:""}\n ${c&&(Lt||At||Rt||Dt)?`.${o}.wp-block-gutsliders-content-slider .swiper-button-prev, .${o}.wp-block-gutsliders-content-slider .gutslider-prev, .${o}.wp-block-gutsliders-content-slider .swiper-button-next, .${o}.wp-block-gutsliders-content-slider .gutslider-next {\n ${Lt||""}\n ${At||""}\n ${Rt||""}\n ${Dt||""}\n\n\t\t\t\t}`:""}\n ${c&&Et?`.${o}.wp-block-gutsliders-content-slider .swiper-button-prev::after, .${o}.wp-block-gutsliders-content-slider .swiper-button-next::after {\n ${Et||""}\n }`:""}\n ${x&&to?`.${o}.wp-block-gutsliders-content-slider .swiper-pagination {\n ${to||""}\n }`:""}\n ${c&&qt&&Zt?`.${o}.wp-block-gutsliders-content-slider .gutslider-prev svg, .${o}.wp-block-gutsliders-content-slider .gutslider-next svg {\n ${qt||""}\n ${Zt||""}\n }`:""}\n ${x&&"bullets"===v&&(no||pl||yl||hl)?`.${o}.wp-block-gutsliders-content-slider .swiper-pagination-bullet {\n ${no||""}\n ${pl||""}\n ${yl||""}\n ${hl||""}\n }`:""}\n ${x&&"bullets"===v&&(jl||_l||Tl||Pl)?`.${o}.wp-block-gutsliders-content-slider .swiper-pagination-bullet-active {\n ${jl||""}\n ${_l||""}\n ${Tl||""}\n ${Pl||""}\n }`:""}\n ${x&&"fraction"===v&&Fl?`.${o}.wp-block-gutsliders-content-slider .swiper-pagination-fraction {\n ${Fl||""}\n }`:""}\n ${x&&"progressbar"===v&&Ol?`.${o}.wp-block-gutsliders-content-slider .swiper-pagination-progressbar {\n ${Ol||""}\n }`:""}\n\t`,Vl=`\n\t\t${D?`.${o}.wp-block-gutsliders-content-slider {\n\t\t\t\t\t${D||""}\n\t\t\t\t}`:""}\n ${R?`.${o}.wp-block-gutsliders-content-slider.${m}.${y} {\n ${R||""}\n\t\t\t\t}`:""}\n\t\t${A||Z?`.${o} .gutslider-content-wrapper {\n\t\t\t\t\t${A||""}\n\t\t\t\t\t${Z||""}\n\t\t\t\t}`:""}\n\t\t${q||te||Q||E||ce||ne||re?`.${o} .gutslider-content-inner {\n\t\t\t\t\t${q||""}\n\t\t\t\t\t${te||""}\n ${Q||""}\n ${E||""}\n ${ce||""}\n ${ne||""}\n ${re||""}\n\t\t\t\t}`:""}\n\t\t\n \t${he||$e||_e||Te||pe||ye?`.${o} .gutslider-content-image img {\n ${pe||""}\n ${ye||""}\n ${he||""}\n ${$e||""}\n ${_e||""}\n ${Te||""}\n }`:""}\n ${yt||ht?`.${o} .gutslider-content-wrapper .gutslider-subtitle { \n\t\t\t\t\t${yt||""}\n\t\t\t\t\t${ht||""}\n\t\t\t\t}`:""}\n\t\t${ct||pt?`.${o} .gutslider-content-wrapper .gutslider-title { \n\t\t\t\t${ct||""}\n\t\t\t\t${pt||""}\n\t\t\t}`:""}\n\t\t${jt||Ct?`.${o} .gutslider-content-wrapper .gutslider-description {\n\t\t\t\t\t${jt||""}\n\t\t\t\t\t${Ct||""}\n\t\t\t\t}`:""}\n\t\t${Ge||Me||Ve||Pe||We?`.${o} .gutslider-cta { \n\t\t\t\t\t${Ge||""} \n\t\t\t\t\t${Me||""} \n\t\t\t\t\t${Ve||""} \n\t\t\t\t\t${Pe||""}\n ${We||""}\n\t\t\t\t}`:""}\n ${Qe||tt||nt||Ue||rt?`.${o} .gutslider-cta-secondary { \n\t\t\t\t\t${Qe||""} \n\t\t\t\t\t${tt||""} \n\t\t\t\t\t${nt||""} \n\t\t\t\t\t${Ue||""}\n ${rt||""}\n\t\t\t\t}`:""}\n ${c&&(ft||Kt)?`.${o}.wp-block-gutsliders-content-slider .gutslider-nav{\n ${ft||""}\n ${Kt||""}\n }`:""}\n ${c&&(Bt||Ft||Ot||Ht)?`.${o}.wp-block-gutsliders-content-slider .swiper-button-prev, .${o}.wp-block-gutsliders-content-slider .gutslider-prev, .${o}.wp-block-gutsliders-content-slider .swiper-button-next, .${o}.wp-block-gutsliders-content-slider .gutslider-next {\n ${Bt||""}\n ${Ft||""}\n ${Ot||""}\n ${Ht||""}\n\n\t\t\t\t}`:""}\n ${c&&zt?`.${o}.wp-block-gutsliders-content-slider .swiper-button-prev::after, .${o}.wp-block-gutsliders-content-slider .swiper-button-next::after {\n ${zt||""}\n }`:""}\n ${c&&Jt&&Xt?`.${o}.wp-block-gutsliders-content-slider .gutslider-prev svg, .${o}.wp-block-gutsliders-content-slider .gutslider-next svg {\n ${Jt||""}\n ${Xt||""}\n }`:""}\n ${x&&oo?`.${o}.wp-block-gutsliders-content-slider .swiper-pagination {\n ${oo||""}\n }`:""}\n ${x&&"bullets"===v&&(cl||ul||xl||kl||h)?`.${o}.wp-block-gutsliders-content-slider .swiper-pagination-bullet {\n ${cl||""}\n ${ul||""}\n ${xl||""}\n ${kl||""}\n ${h?`background-color: ${h};`:""}\n }`:""}\n ${x&&"bullets"===v&&bl?`.${o}.wp-block-gutsliders-content-slider .swiper-pagination-bullet:hover {\n ${bl||""}\n }`:""}\n ${x&&"bullets"===v&&($l||Sl||Ll||Il||$)?`.${o}.wp-block-gutsliders-content-slider .swiper-pagination-bullet-active {\n ${$l||""}\n ${Sl||""}\n ${Ll||""}\n ${Il||""}\n ${$?`background-color: ${$};`:""}\n }`:""}\n ${x&&"bullets"===v&&wl?`.${o}.wp-block-gutsliders-content-slider .swiper-pagination-bullet-active:hover {\n ${wl||""}\n }`:""}\n ${x&&"fraction"===v&&(Gl||j)?`.${o}.wp-block-gutsliders-content-slider .swiper-pagination-fraction {\n ${j?`color: ${j};`:""}\n ${Gl||""}\n }`:""}\n ${x&&"progressbar"===v&&Ml?`.${o}.wp-block-gutsliders-content-slider .swiper-pagination-progressbar {\n ${Ml||""}\n }`:""}\n\t`,El=`\n ${Dl.replace(/\s/g,"").length>0?`${Dl}`:""}\n ${Hl.replace(/\s/g,"").length>0?`@media (max-width: 1024px) {\n ${Hl}\n }`:""}\n ${Vl.replace(/\s/g,"").length>0?`@media (max-width: 767px) {\n ${Vl}\n }`:""}\n\t`;return so((()=>{JSON.stringify(l)!==JSON.stringify(El)&&t({blockStyle:El})}),[e]),(0,Ne.jsx)("style",{children:`${io(El)}`})},{Fragment:bl,RawHTML:gl,useEffect:pl,useRef:ul}=wp.element,{__}=wp.i18n,{DisplayIcon:ml,generateRangeStyles:yl,SidebarOpener:xl,DynamicTag:vl,Patterns:hl}=window?.gutSliderModules,{cZ:kl,ZX:Nl}=l,{CE_STYLES:jl}=window.gutSliderModules.GlobalConstants,{DisplayIcon:$l,DynamicTag:wl}=window?.gutSliderModules,{DisplayIcon:Cl}=window.gutSliderModules,{generateResBoxControlAttributes:_l,generateBorderAttributes:Sl,generateTypographyAttributes:fl,generateResRangeAttributes:Tl,generateAlignmentAttributes:Ll}=window.gutSliderModules,{cZ:Bl,ZX:Pl,C4:Il,gp:Al,jD:Fl,ZS:Gl,G:Rl,is:Ol,M6:Ml,Qi:Dl,OV:Hl,rX:Vl,ki:El,xP:zl,oL:Wl,bI:ql,yo:Jl,ow:Ul,Hg:Zl,XB:Xl,Hj:Yl,Dv:Ql,MJ:Kl,WT:en,mr:tn,Gw:on,Gs:ln,F$:nn,zc:sn,tP:rn,$C:an,o8:dn,je:cn,ND:bn}=l,gn=[{attributes:be,save({attributes:e}){const{uniqueId:t,sliderType:o,slideItems:l,sliderOptions:n,titleTag:s,subtitleTag:i,descriptionTag:r,titleAnimation:a,subtitleAnimation:d,descAnimation:c,btnAnimation:b,showPagination:g,showNavigation:p}=e,u=pe.useBlockProps.save({className:me()(t,"swiper")});return(0,Ne.jsxs)("div",{...u,"data-swiper-options":JSON.stringify(n),children:[(0,Ne.jsx)("div",{className:"swiper-wrapper",children:l&&l.map(((e,t)=>{const l={backgroundColor:e.bgColor?e.bgColor:"",backgroundImage:"classic"===e.bgType?`url(${e.image.url})`:e.bgGradient,backgroundSize:"cover",backgroundPosition:"center center",backgroundRepeat:"no-repeat"},n={background:"classic"===e.overlayType?e.overlayColor:e.overlayGradient,opacity:e.overlayOpacity?e.overlayOpacity:""};return(0,Ne.jsx)("div",{className:me()("swiper-slide",{"slide-mode":"slider"===o}),children:(0,Ne.jsxs)("div",{className:"swiper-container-outer",style:l,children:[e.enableOverlay&&(0,Ne.jsx)("div",{className:"gutslider-overlay",style:n}),(0,Ne.jsx)("div",{className:"gutslider-content-wrapper",children:(0,Ne.jsxs)("div",{className:"gutslider-content-inner",children:[e.subtitle&&(0,Ne.jsx)(pe.RichText.Content,{tagName:i,value:e.subtitle,className:`gutslider-subtitle ${d&&d}`}),e.title&&(0,Ne.jsx)(pe.RichText.Content,{tagName:s,value:e.title,className:`gutslider-title ${a&&a}`}),e.description&&(0,Ne.jsx)(pe.RichText.Content,{tagName:r,value:e.description,className:`gutslider-description ${c&&c}`}),e.btnLabel&&e.btnLinks&&e.btnLinks.url&&(0,Ne.jsx)("a",{className:`gutslider-cta ${b&&b}`,href:e.btnLinks&&e.btnLinks.url,target:e.btnLinks&&e.btnLinks.openInNewTab&&"_blank",...e.btnLinks&&(e.btnLinks.openInNewTab||e.btnLinks.addNoFollow||e.btnLinks.addSponsored)&&{rel:[e.btnLinks.openInNewTab&&"noopener noreferrer",e.btnLinks.addNoFollow&&"nofollow",e.btnLinks.addSponsored&&"sponsored"].filter(Boolean).join(" ")},children:e.btnLabel})]})})]})},t)}))}),p&&(0,Ne.jsxs)(he.Fragment,{children:[(0,Ne.jsx)("div",{className:"swiper-button-prev"}),(0,Ne.jsx)("div",{className:"swiper-button-next"})]}),g&&(0,Ne.jsx)("div",{className:"swiper-pagination"})]})}},{attributes:be,save:({attributes:e})=>{const{uniqueId:t,sliderType:o,slideItems:l,sliderOptions:n,titleTag:s,subtitleTag:i,descriptionTag:r,titleAnimation:a,subtitleAnimation:d,descAnimation:c,btnAnimation:b,showPagination:g,showNavigation:p,navContainerPosition:u,navPosition:m,customNavIcon:y,navIconSource:x,navPrevIcon:v,navNextIcon:h,customPrevSVG:k,customNextSVG:N}=e,j=pe.useBlockProps.save({className:me()(t,u,m)});return(0,Ne.jsxs)("div",{...j,"data-swiper-options":JSON.stringify(n),children:[(0,Ne.jsxs)("div",{className:"swiper",children:[(0,Ne.jsx)("div",{className:"swiper-wrapper",children:l&&l.map(((e,t)=>{const l={backgroundColor:e.bgColor?e.bgColor:"",backgroundImage:"classic"===e.bgType?`url(${e.image.url})`:e.bgGradient,backgroundSize:"cover",backgroundPosition:"center center",backgroundRepeat:"no-repeat"},n={background:"classic"===e.overlayType?e.overlayColor:e.overlayGradient,opacity:e.overlayOpacity?e.overlayOpacity:""};return(0,Ne.jsx)("div",{className:me()("swiper-slide",{"slide-mode":"slider"===o}),children:(0,Ne.jsxs)("div",{className:"swiper-container-outer",style:l,children:[e.enableOverlay&&(0,Ne.jsx)("div",{className:"gutslider-overlay",style:n}),(0,Ne.jsx)("div",{className:"gutslider-content-wrapper",children:(0,Ne.jsxs)("div",{className:"gutslider-content-inner",children:[e.subtitle&&(0,Ne.jsx)(pe.RichText.Content,{tagName:i,value:e.subtitle,className:`gutslider-subtitle ${d&&d}`}),e.title&&(0,Ne.jsx)(pe.RichText.Content,{tagName:s,value:e.title,className:`gutslider-title ${a&&a}`}),e.description&&(0,Ne.jsx)(pe.RichText.Content,{tagName:r,value:e.description,className:`gutslider-description ${c&&c}`}),e.btnLabel&&e.btnLinks&&e.btnLinks.url&&(0,Ne.jsx)("a",{className:`gutslider-cta ${b&&b}`,href:e.btnLinks&&e.btnLinks.url,target:e.btnLinks&&e.btnLinks.openInNewTab&&"_blank",...e.btnLinks&&(e.btnLinks.openInNewTab||e.btnLinks.addNoFollow||e.btnLinks.addSponsored)&&{rel:[e.btnLinks.openInNewTab&&"noopener noreferrer",e.btnLinks.addNoFollow&&"nofollow",e.btnLinks.addSponsored&&"sponsored"].filter(Boolean).join(" ")},children:e.btnLabel})]})})]})},t)}))}),p&&"nav_inside"===u&&(0,Ne.jsx)(he.Fragment,{children:(0,Ne.jsx)("div",{className:`gutslider-nav nav_inside ${m}`,children:y?(0,Ne.jsxs)(he.Fragment,{children:[(0,Ne.jsxs)("div",{className:"gutslider-prev",children:["library"===x&&(0,Ne.jsx)(Cl,{icon:v}),"custom"===x&&(0,Ne.jsx)(he.RawHTML,{children:k})]}),(0,Ne.jsxs)("div",{className:"gutslider-next",children:["library"===x&&(0,Ne.jsx)(Cl,{icon:h}),"custom"===x&&(0,Ne.jsx)(he.RawHTML,{children:N})]})]}):(0,Ne.jsxs)(he.Fragment,{children:[(0,Ne.jsx)("div",{className:"swiper-button-prev"}),(0,Ne.jsx)("div",{className:"swiper-button-next"})]})})}),g&&(0,Ne.jsx)("div",{className:"swiper-pagination"})]}),p&&"nav_outside"===u&&(0,Ne.jsx)(he.Fragment,{children:(0,Ne.jsx)("div",{className:`gutslider-nav nav_outside ${m}`,children:y?(0,Ne.jsxs)(he.Fragment,{children:[(0,Ne.jsxs)("div",{className:"gutslider-prev",children:["library"===x&&(0,Ne.jsx)(Cl,{icon:v}),"custom"===x&&(0,Ne.jsx)(he.RawHTML,{children:k})]}),(0,Ne.jsxs)("div",{className:"gutslider-next",children:["library"===x&&(0,Ne.jsx)(Cl,{icon:h}),"custom"===x&&(0,Ne.jsx)(he.RawHTML,{children:N})]})]}):(0,Ne.jsxs)(he.Fragment,{children:[(0,Ne.jsx)("div",{className:"swiper-button-prev"}),(0,Ne.jsx)("div",{className:"swiper-button-next"})]})})})]})}},{attributes:{uniqueId:{type:"string"},blockStyle:{type:"object"},sliderType:{type:"string",default:"slider"},infiniteLoop:{type:"boolean",default:!0},autoplay:{type:"boolean",default:!1},autoplayDelay:{type:"number"},pauseOnHover:{type:"boolean",default:!0},reverseDirection:{type:"boolean",default:!1},stopOnLastSlide:{type:"boolean",default:!1},speed:{type:"number"},showNavigation:{type:"boolean",default:!0},showPagination:{type:"boolean",default:!0},paginationType:{type:"string",default:"bullets"},dynamicBullets:{type:"boolean",default:!1},keyboardControl:{type:"boolean",default:!1},mousewheelControl:{type:"boolean",default:!1},slideEffect:{type:"string",default:"creative"},carouselEffect:{type:"string",default:"slide"},creativeEffectStyle:{type:"string",default:"style-3"},sliderOptions:{type:"object",default:{}},navColor:{type:"string"},navBgColor:{type:"string"},navHoverColor:{type:"string"},navHoverBgColor:{type:"string"},navContainerPosition:{type:"string",default:"nav_inside"},navPosition:{type:"string",default:"nav_cc"},customNavIcon:{type:"boolean",default:!1},navIconSource:{type:"string",default:"library"},navPrevIcon:{type:"string",default:"arrowLeft"},navNextIcon:{type:"string",default:"arrowRight"},customPrevSVG:{type:"string"},customNextSVG:{type:"string"},pagColor:{type:"string"},activePagColor:{type:"string"},pagFracColor:{type:"string"},pagFracCurrentColor:{type:"string"},fracDividerColor:{type:"string"},progressColor:{type:"string"},activeProgressColor:{type:"string"},slideItems:{type:"array",default:[{id:0,panelTitle:"Gutslider Item",subtitle:"Gutslider Block",title:"#1 Best Gutenberg Slider Block",description:"Gutslider is a Gutenberg Slider Block that is easy to use and has many features. It is a great alternative to other slider blocks that are not as easy to use and have less features.",bgType:"classic",bgColor:"#efefef",bgGradient:"linear-gradient(135deg,#12c2e9 0%,#c471ed 50%,#f64f59 100%)",enableOverlay:!1,overlayType:"classic",overlayColor:"#000000",overlayGradient:"linear-gradient(135deg,#12c2e9 0%,#c471ed 50%,#f64f59 100%)",overlayOpacity:.5,image:{id:"",url:"",alt:"Gutslider Logo"},btnLabel:"Get Gutslider",btnLinks:{url:"https://gutenbergkits.com",openInNewTab:!0,addNoFollow:!1,addSponsored:!1}},{id:1,panelTitle:"Gutslider Item #2",subtitle:"Custom Content Slider",title:"#2 Easily Build Custom Slider",description:"Gutslider is a Gutenberg Slider Block that is easy to use and has many features. It is a great alternative to other slider blocks that are not as easy to use and have less features.",bgType:"classic",bgColor:"#efefef",bgGradient:"linear-gradient(135deg,#12c2e9 0%,#c471ed 50%,#f64f59 100%)",enableOverlay:!1,overlayType:"classic",overlayColor:"#000000",overlayGradient:"linear-gradient(135deg,#12c2e9 0%,#c471ed 50%,#f64f59 100%)",overlayOpacity:.5,image:{id:"",url:"",alt:"Gutslider Logo"},btnLabel:"Get Gutslider",btnLinks:{url:"https://gutenbergkits.com",openInNewTab:!0,addNoFollow:!1,addSponsored:!1}},{id:2,panelTitle:"Gutslider Item #3",subtitle:"Custom Content Slider",title:"#3 Easily Build Custom Slider",description:"Gutslider is a Gutenberg Slider Block that is easy to use and has many features. It is a great alternative to other slider blocks that are not as easy to use and have less features.",bgType:"classic",bgColor:"#efefef",bgGradient:"linear-gradient(135deg,#12c2e9 0%,#c471ed 50%,#f64f59 100%)",enableOverlay:!1,overlayType:"classic",overlayColor:"#000000",overlayGradient:"linear-gradient(135deg,#12c2e9 0%,#c471ed 50%,#f64f59 100%)",overlayOpacity:.5,image:{id:"",url:"",alt:"Gutslider Logo"},btnLabel:"Get Gutslider",btnLinks:{url:"https://gutenbergkits.com",openInNewTab:!0,addNoFollow:!1,addSponsored:!1}}]},addNewSlide:{type:"boolean",default:!1},subtitleTag:{type:"string",default:"h3"},subtitleColor:{type:"string"},titleTag:{type:"string",default:"h2"},titleColor:{type:"string"},descriptionTag:{type:"string",default:"p"},descriptionColor:{type:"string"},btnColors:{type:"object",default:{btnTextColor:"",btnBgColor:"",btnHoverTextColor:"",btnHoverBgColor:""}},titleAnimation:{type:"string",default:""},subtitleAnimation:{type:"string",default:""},descAnimation:{type:"string",default:""},btnAnimation:{type:"string",default:""},...Tl({controlName:Bl}),...Tl({controlName:Pl}),...Tl({controlName:Il}),..._l({controlName:Al}),..._l({controlName:Fl}),...Tl({controlName:Gl}),...Ll({controlName:Rl}),...Ll({controlName:Ol}),..._l({controlName:Dl}),..._l({controlName:Hl}),..._l({controlName:Vl}),...Sl({controlName:Ml}),...fl({controlName:El}),..._l({controlName:zl}),...fl({controlName:Wl}),..._l({controlName:ql}),...fl({controlName:Jl}),..._l({controlName:Ul}),...fl({controlName:Zl}),...Sl({controlName:Xl}),..._l({controlName:Yl}),...Tl({controlName:Ql}),...Tl({controlName:Kl}),...Tl({controlName:en}),...Sl({controlName:tn}),..._l({controlName:on}),...Tl({controlName:ln}),...Tl({controlName:nn}),...Sl({controlName:sn}),..._l({controlName:rn}),...Tl({controlName:an}),...Tl({controlName:dn}),...Tl({controlName:cn}),...Tl({controlName:bn})},save:({attributes:e})=>{const{uniqueId:t,sliderType:o,slideItems:l,sliderOptions:n,titleTag:s,subtitleTag:i,descriptionTag:r,titleAnimation:a,subtitleAnimation:d,descAnimation:c,btnAnimation:b,showPagination:g,showNavigation:p,navContainerPosition:u,navPosition:m,customNavIcon:y,navIconSource:x,navPrevIcon:v,navNextIcon:h,customPrevSVG:k,customNextSVG:N}=e,j=pe.useBlockProps.save({className:me()(t,u,m)});return(0,Ne.jsxs)("div",{...j,"data-swiper-options":JSON.stringify(n),children:[(0,Ne.jsxs)("div",{className:"swiper",children:[(0,Ne.jsx)("div",{className:"swiper-wrapper",children:l&&l.map(((e,t)=>{const l={backgroundColor:e.bgColor?e.bgColor:"",backgroundImage:"classic"===e.bgType?`url(${e.image.url})`:e.bgGradient,backgroundSize:"cover",backgroundPosition:"center center",backgroundRepeat:"no-repeat"},n={background:"classic"===e.overlayType?e.overlayColor:e.overlayGradient,opacity:e.overlayOpacity?e.overlayOpacity:""};return(0,Ne.jsx)("div",{className:me()("swiper-slide",{"slide-mode":"slider"===o}),children:(0,Ne.jsxs)("div",{className:"swiper-container-outer",style:l,children:[e.enableOverlay&&"classic"===e.bgType&&(0,Ne.jsx)("div",{className:"gutslider-overlay",style:n}),(0,Ne.jsx)("div",{className:"gutslider-content-wrapper",children:(0,Ne.jsxs)("div",{className:"gutslider-content-inner",children:[e.subtitle&&(0,Ne.jsx)(pe.RichText.Content,{tagName:i,value:e.subtitle,className:`gutslider-subtitle ${d&&d}`}),e.title&&(0,Ne.jsx)(pe.RichText.Content,{tagName:s,value:e.title,className:`gutslider-title ${a&&a}`}),e.description&&(0,Ne.jsx)(pe.RichText.Content,{tagName:r,value:e.description,className:`gutslider-description ${c&&c}`}),e.btnLabel&&e.btnLinks&&e.btnLinks.url&&(0,Ne.jsx)("a",{className:`gutslider-cta ${b&&b}`,href:e.btnLinks&&e.btnLinks.url,target:e.btnLinks&&e.btnLinks.openInNewTab&&"_blank",...e.btnLinks&&(e.btnLinks.openInNewTab||e.btnLinks.addNoFollow||e.btnLinks.addSponsored)&&{rel:[e.btnLinks.openInNewTab&&"noopener noreferrer",e.btnLinks.addNoFollow&&"nofollow",e.btnLinks.addSponsored&&"sponsored"].filter(Boolean).join(" ")},children:e.btnLabel})]})})]})},t)}))}),p&&"nav_inside"===u&&(0,Ne.jsx)(he.Fragment,{children:(0,Ne.jsx)("div",{className:`gutslider-nav nav_inside ${m}`,children:y?(0,Ne.jsxs)(he.Fragment,{children:[(0,Ne.jsxs)("div",{className:"gutslider-prev",children:["library"===x&&(0,Ne.jsx)(Cl,{icon:v}),"custom"===x&&(0,Ne.jsx)(he.RawHTML,{children:k})]}),(0,Ne.jsxs)("div",{className:"gutslider-next",children:["library"===x&&(0,Ne.jsx)(Cl,{icon:h}),"custom"===x&&(0,Ne.jsx)(he.RawHTML,{children:N})]})]}):(0,Ne.jsxs)(he.Fragment,{children:[(0,Ne.jsx)("div",{className:"swiper-button-prev"}),(0,Ne.jsx)("div",{className:"swiper-button-next"})]})})}),g&&(0,Ne.jsx)("div",{className:"swiper-pagination"})]}),p&&"nav_outside"===u&&(0,Ne.jsx)(he.Fragment,{children:(0,Ne.jsx)("div",{className:`gutslider-nav nav_outside ${m}`,children:y?(0,Ne.jsxs)(he.Fragment,{children:[(0,Ne.jsxs)("div",{className:"gutslider-prev",children:["library"===x&&(0,Ne.jsx)(Cl,{icon:v}),"custom"===x&&(0,Ne.jsx)(he.RawHTML,{children:k})]}),(0,Ne.jsxs)("div",{className:"gutslider-next",children:["library"===x&&(0,Ne.jsx)(Cl,{icon:h}),"custom"===x&&(0,Ne.jsx)(he.RawHTML,{children:N})]})]}):(0,Ne.jsxs)(he.Fragment,{children:[(0,Ne.jsx)("div",{className:"swiper-button-prev"}),(0,Ne.jsx)("div",{className:"swiper-button-next"})]})})})]})}}];(0,n.registerBlockType)(ge,{icon:{src:(0,Ne.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24",viewBox:"0 -960 960 960",width:"24",fill:"#1f1f1f",children:(0,Ne.jsx)("path",{d:"M280-280h280v-80H280zm0-160h400v-80H280zm0-160h400v-80H280zm-80 480q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120zm0-80h560v-560H200zm0-560v560z"})})},attributes:be,edit:function(e){const{attributes:t,setAttributes:o,clientId:l}=e,{uniqueId:n,preview:s,showImage:i,showSubTitle:r,showTitle:a,showDescription:d,showButton:c,sliderType:b,slideItems:g,addNewSlide:p,subtitleTag:u,titleTag:m,descriptionTag:y,titleAnimation:x,subtitleAnimation:v,descAnimation:h,btnAnimation:k,sbtnAnimation:N,infiniteLoop:j,autoplay:$,autoplayDelay:w,stopOnLastSlide:C,reverseDirection:_,pauseOnHover:S,speed:f,centerMode:T,showNavigation:L,navContainerPosition:B,navPosition:P,customNavIcon:I,navIconSource:A,navPrevIcon:F,navNextIcon:G,customPrevSVG:R,customNextSVG:O,showPagination:M,paginationType:D,dynamicBullets:H,pagColor:V,activePagColor:E,keyboardControl:z,mousewheelControl:W,slideEffect:q,carouselEffect:J,creativeEffectStyle:U,enableGlobalLink:Z,enableRemoteNav:X,remotePrevSelector:Y,remoteNextSelector:Q,patternMode:K,openModal:ee}=t;if(pl((()=>{o({uniqueId:"gutslider-"+l.slice(0,8)}),K||0!==g.length||o({slideItems:[{id:0,panelTitle:"Gutslider Item",subtitle:"Gutslider Block",title:"#1 Best Gutenberg Slider Block",description:"Gutslider is a Gutenberg Slider Block that is easy to use and has many features. It is a great alternative to other slider blocks that are not as easy to use and have less features.",bgType:"classic",bgColor:"#efefef",bgGradient:"linear-gradient(135deg,#12c2e9 0%,#c471ed 50%,#f64f59 100%)",bgVideo:{},enableOverlay:!1,overlayType:"classic",overlayColor:"#000000",overlayGradient:"linear-gradient(135deg,#12c2e9 0%,#c471ed 50%,#f64f59 100%)",overlayOpacity:.5,image:{id:"",url:"",alt:"Gutslider Logo"},photo:{},photoSize:"thumbnail",focusPoint:{x:.5,y:.5},btnLabel:"Get Gutslider",btnLinks:{url:"https://gutenbergkits.com",openInNewTab:!0,addNoFollow:!1,addSponsored:!1},showSbtnLinks:!1,sbtnLabel:"",sbtnLinks:{url:"",openInNewTab:!0,addNoFollow:!1,addSponsored:!1},globalLink:{url:"",openInNewTab:!1,addNoFollow:!1,addSponsored:!1},enableResponsiveBg:!1,DesktopBg:{url:"",id:"",alt:""},TabletBg:{url:"",id:"",alt:""},MobileBg:{url:"",id:"",alt:""},DesktopFocalPoint:{x:.5,y:.5},TabletFocalPoint:{x:.5,y:.5},MobileFocalPoint:{x:.5,y:.5}},{id:1,panelTitle:"Gutslider Item #2",subtitle:"Custom Content Slider",title:"#2 Easily Build Custom Slider",description:"Gutslider is a Gutenberg Slider Block that is easy to use and has many features. It is a great alternative to other slider blocks that are not as easy to use and have less features.",bgType:"classic",bgColor:"#efefef",bgGradient:"linear-gradient(135deg,#12c2e9 0%,#c471ed 50%,#f64f59 100%)",bgVideo:{},enableOverlay:!1,overlayType:"classic",overlayColor:"#000000",overlayGradient:"linear-gradient(135deg,#12c2e9 0%,#c471ed 50%,#f64f59 100%)",overlayOpacity:.5,image:{id:"",url:"",alt:"Gutslider Logo"},photo:{},photoSize:"thumbnail",focusPoint:{x:.5,y:.5},btnLabel:"Get Gutslider",btnLinks:{url:"https://gutenbergkits.com",openInNewTab:!0,addNoFollow:!1,addSponsored:!1},showSbtnLinks:!1,sbtnLabel:"",sbtnLinks:{url:"",openInNewTab:!0,addNoFollow:!1,addSponsored:!1},globalLink:{url:"",openInNewTab:!1,addNoFollow:!1,addSponsored:!1},enableResponsiveBg:!1,DesktopBg:{url:"",id:"",alt:""},TabletBg:{url:"",id:"",alt:""},MobileBg:{url:"",id:"",alt:""},DesktopFocalPoint:{x:.5,y:.5},TabletFocalPoint:{x:.5,y:.5},MobileFocalPoint:{x:.5,y:.5}},{id:2,panelTitle:"Gutslider Item #3",subtitle:"Custom Content Slider",title:"#3 Easily Build Custom Slider",description:"Gutslider is a Gutenberg Slider Block that is easy to use and has many features. It is a great alternative to other slider blocks that are not as easy to use and have less features.",bgType:"classic",bgColor:"#efefef",bgGradient:"linear-gradient(135deg,#12c2e9 0%,#c471ed 50%,#f64f59 100%)",bgVideo:{},enableOverlay:!1,overlayType:"classic",overlayColor:"#000000",overlayGradient:"linear-gradient(135deg,#12c2e9 0%,#c471ed 50%,#f64f59 100%)",overlayOpacity:.5,image:{id:"",url:"",alt:"Gutslider Logo"},photo:{},photoSize:"thumbnail",focusPoint:{x:.5,y:.5},btnLabel:"Get Gutslider",btnLinks:{url:"https://gutenbergkits.com",openInNewTab:!0,addNoFollow:!1,addSponsored:!1},showSbtnLinks:!1,sbtnLabel:"",sbtnLinks:{url:"",openInNewTab:!0,addNoFollow:!1,addSponsored:!1},globalLink:{url:"",openInNewTab:!1,addNoFollow:!1,addSponsored:!1},enableResponsiveBg:!1,DesktopBg:{url:"",id:"",alt:""},TabletBg:{url:"",id:"",alt:""},MobileBg:{url:"",id:"",alt:""},DesktopFocalPoint:{x:.5,y:.5},TabletFocalPoint:{x:.5,y:.5},MobileFocalPoint:{x:.5,y:.5}}]})}),[K]),s)return(0,Ne.jsx)("div",{className:"gutslider-preview",children:(0,Ne.jsx)("img",{src:gutslider_preview.content,alt:"content slider preview"})});const te=(0,pe.useBlockProps)({className:me()(n,B,P)}),{deskStyle:oe,tabStyle:le,mobStyle:ne}=yl({controlName:kl,attributes:t,noProperty:!0,noUnits:!0}),{deskStyle:se,tabStyle:ie,mobStyle:re}=yl({controlName:Nl,attributes:t,noProperty:!0,noUnits:!0}),ae={breakpoints:{320:{slidesPerView:ne||1,spaceBetween:parseInt(re)||0},768:{slidesPerView:le||2,spaceBetween:parseInt(ie)||15},1025:{slidesPerView:oe||2,spaceBetween:parseInt(se)||15}}},de="carousel"===b?ae:{},ce=ul(null);ce.current&&ce.current.addEventListener("click",(function(){(0,ve.dispatch)("core/block-editor").selectBlock(l),(0,ve.dispatch)("core/edit-post")?.openGeneralSidebar("edit-post/block")})),pl((()=>{const e={slidesPerView:1,spaceBetween:0,loop:j,autoplay:!!$&&{delay:100*w||1e3,pauseOnMouseEnter:S,stopOnLastSlide:C,reverseDirection:_},speed:100*f||800,effect:"carousel"===b?J:q,creativeEffect:jl[U],keyboard:{enabled:z},mousewheel:W,...T&&{centeredSlides:!0},...de},t={...e,navigation:!(!L||X)&&{nextEl:I?`.${n} .gutslider-next`:`.${n} .swiper-button-next`,prevEl:I?`.${n} .gutslider-prev`:`.${n} .swiper-button-prev`},pagination:!!M&&{el:`.${n} .swiper-pagination`,type:D,dynamicBullets:H,clickable:!0}};if(o({sliderOptions:t}),!ce.current)return;const l=ce.current?.querySelector(".swiper-pagination"),s="nav_outside"===B?ce.current?.parentNode:ce.current,i=I?s?.querySelector(".gutslider-prev"):s?.querySelector(".swiper-button-prev"),r=I?s?.querySelector(".gutslider-next"):s?.querySelector(".swiper-button-next");!function(e,t){if(e?.swiper&&e?.swiper.destroy(),new Swiper(e,t),X&&Y&&Q){const t=document.querySelector(`.${Y}`),o=document.querySelector(`.${Q}`);t&&t.addEventListener("click",(()=>{e.swiper.slidePrev()})),o&&o.addEventListener("click",(()=>{e.swiper.slideNext()}))}}(ce.current,{...e,navigation:!(!L||X)&&{nextEl:r,prevEl:i},pagination:!!M&&{el:l,type:D,dynamicBullets:H,clickable:!0}})}),[j,$,w,S,C,_,f,T,L,M,D,H,V,E,q,J,U,p,b,oe,le,ne,se,ie,re,z,W,I,B,Z,g,X,Y,Q,n]);const be=(0,ye.cloneDeep)(g);return(0,Ne.jsxs)(bl,{children:[(0,Ne.jsx)(cl,{attributes:t,setAttributes:o}),(0,Ne.jsx)(no,{attributes:t,setAttributes:o}),ee&&(0,Ne.jsx)(hl,{...e}),(0,Ne.jsx)(pe.BlockControls,{children:(0,Ne.jsx)(xe.ToolbarGroup,{className:"gutslider-toolbar-group",children:(0,Ne.jsx)(xe.ToolbarButton,{className:"gutslider-toolbar-button",title:__("Add Slide","slider-blocks"),onClick:()=>{o({addNewSlide:!p}),o({slideItems:[...g,{id:g.length+1,panelTitle:"Gutslider Item",subtitle:"Gutslider Block",title:"#1 Best Gutenberg Slider Block",description:"Gutslider is a Gutenberg Slider Block that is easy to use and has many features. It is a great alternative to other slider blocks that are not as easy to use and have less features.",bgType:"classic",bgColor:"#efefef",enableOverlay:!1,overlayType:"classic",overlayColor:"#000000",overlayGradient:"linear-gradient(135deg,#12c2e9 0%,#c471ed 50%,#f64f59 100%)",overlayOpacity:.5,bgGradient:"linear-gradient(135deg,#12c2e9 0%,#c471ed 50%,#f64f59 100%)",bgVideo:{},image:{id:g.length+1,url:"",alt:"Gutslider Logo"},photo:{},photoSize:"thumbnail",btnLabel:"Get Gutslider",btnLinks:{url:"https://gutenbergkits.com",openInNewTab:!0,addNoFollow:!1,addSponsored:!1},showSbtnLinks:!1,sbtnLabel:"",sbtnLinks:{url:"",openInNewTab:!0,addNoFollow:!1,addSponsored:!1},focusPoint:{x:.5,y:.5},globalLink:{url:"",openInNewTab:!1,addNoFollow:!1,addSponsored:!1},enableResponsiveBg:!1,DesktopBg:{url:"",id:"",alt:""},TabletBg:{url:"",id:"",alt:""},MobileBg:{url:"",id:"",alt:""},DesktopFocalPoint:{x:.5,y:.5},TabletFocalPoint:{x:.5,y:.5},MobileFocalPoint:{x:.5,y:.5}}]})},children:(0,Ne.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24",children:(0,Ne.jsx)("path",{d:"M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 11H7V13H11V17H13V13H17V11H13V7H11V11Z",fill:"rgba(0,124,186,1)"})})})})}),(0,Ne.jsx)("div",{...te,children:K&&0===g.length?(0,Ne.jsxs)(xe.Placeholder,{className:"gutslider-pattern-placeholder",icon:"wordpress-alt",label:__("Select a Pattern","slider-blocks"),children:[(0,Ne.jsx)("button",{className:"gutslider__skip-btn",onClick:()=>{o({patternMode:!1,openModal:!1})},children:__("Skip","slider-blocks")}),(0,Ne.jsx)("button",{className:"gutslider__use-pattern-btn",onClick:()=>{o({openModal:!0})},children:(0,Ne.jsx)("span",{className:"text",children:__("Use Pattern","slider-blocks")})})]}):(0,Ne.jsxs)(Ne.Fragment,{children:[(0,Ne.jsx)(xl,{}),(0,Ne.jsxs)("div",{className:"swiper",ref:ce,children:[(0,Ne.jsx)("div",{className:"swiper-wrapper",children:be&&be.map(((e,t)=>{const l={backgroundColor:e.bgColor?e.bgColor:"",..."classic"===e.bgType&&!e.enableResponsiveBg&&e.image?.url&&{backgroundImage:`url(${e.image.url})`},..."gradient"===e.bgType&&e.bgGradient&&{backgroundImage:e.bgGradient?e.bgGradient:""},...e.enableResponsiveBg&&"classic"===e.bgType&&{"--gut-desktop-bg-image":`url(${e.DesktopBg?.url})`,"--gut-tablet-bg-image":`url(${e.TabletBg?.url})`,"--gut-mobile-bg-image":`url(${e.MobileBg?.url})`},...e.enableResponsiveBg&&"classic"===e.bgType&&e?.DesktopBg?.url&&e?.DesktopFocalPoint&&{"--gut-desktop-focal-point":`${100*e?.DesktopFocalPoint?.x}% ${100*e?.DesktopFocalPoint?.y}%`},...e.enableResponsiveBg&&"classic"===e.bgType&&e?.TabletBg?.url&&e?.TabletFocalPoint&&{"--gut-tablet-focal-point":`${100*e?.TabletFocalPoint?.x}% ${100*e?.TabletFocalPoint?.y}%`},...e.enableResponsiveBg&&"classic"===e.bgType&&e?.MobileBg?.url&&e?.MobileFocalPoint&&{"--gut-mobile-focal-point":`${100*e?.MobileFocalPoint?.x}% ${100*e?.MobileFocalPoint?.y}%`},...e?.focusPoint&&"video"!==e.bgType&&!e.enableResponsiveBg&&{backgroundPosition:`${100*e?.focusPoint?.x}% ${100*e?.focusPoint?.y}%`}},s={background:"classic"===e.overlayType?e.overlayColor:e.overlayGradient,opacity:e.overlayOpacity?e.overlayOpacity:""};return(0,Ne.jsx)("div",{className:me()("swiper-slide",{"slide-mode":"slider"===b}),children:(0,Ne.jsxs)(vl,{tagName:Z?"a":"div",className:me()("swiper-container-outer",{"responsive-image":e.enableResponsiveBg}),style:l,children:["video"===e.bgType&&e.bgVideo?.url&&(0,Ne.jsx)("div",{className:"gutslider-video-wrapper",children:(0,Ne.jsx)("video",{className:"gutslider-video",autoPlay:!0,muted:!0,playsInline:!0,loop:!0,preload:"metadata",children:(0,Ne.jsx)("source",{src:e.bgVideo?.url,type:"video/mp4"})})}),e.enableOverlay&&("classic"===e.bgType||"video"===e.bgType)&&(0,Ne.jsx)("div",{className:"gutslider-overlay",style:s}),(0,Ne.jsx)("div",{className:"gutslider-content-wrapper",children:i?(0,Ne.jsxs)("div",{className:"gutslider-content-inner",children:[(0,Ne.jsxs)("div",{className:"gutslider-content-position",children:[e.photo&&e.photo.url?(0,Ne.jsx)("div",{className:"gutslider-content-image",children:(0,Ne.jsx)("img",{src:e.photo.sizes[e.photoSize].url,alt:e.photo.alt})}):null,(0,Ne.jsxs)("div",{className:"gutslider-content",children:[r&&(0,Ne.jsx)(pe.RichText,{tagName:u,className:`gutslider-subtitle ${v&&v}`,value:e.subtitle&&e.subtitle,placeholder:__("subtitle…","slider-blocks"),onChange:e=>{const l=[...be];l[t].subtitle=e,o({slideItems:l})}}),a&&(0,Ne.jsx)(pe.RichText,{tagName:m,className:`gutslider-title ${x&&x}`,value:e.title&&e.title,placeholder:__("title…","slider-blocks"),onChange:e=>{const l=[...be];l[t].title=e,o({slideItems:l})}}),d&&(0,Ne.jsx)(pe.RichText,{tagName:y,className:`gutslider-description ${h&&h}`,value:e.description&&e.description,placeholder:__("description…","slider-blocks"),onChange:e=>{const l=[...be];l[t].description=e,o({slideItems:l})}})]})]}),c&&e?.showSbtnLinks?(0,Ne.jsxs)("div",{className:"gutslider-btn-flex",children:[(0,Ne.jsx)("div",{className:me()(`gutslider-cta ${k&&k}`),children:(0,Ne.jsx)(pe.RichText,{tagName:"span",value:e.btnLabel&&e.btnLabel,placeholder:__("Button Label","slider-blocks"),onChange:e=>{const l=[...be];l[t].btnLabel=e,o({slideItems:l})}})}),(0,Ne.jsx)("div",{className:me()(`gutslider-cta-secondary ${N&&N}`),children:(0,Ne.jsx)(pe.RichText,{tagName:"span",value:e.sbtnLabel&&e.sbtnLabel,placeholder:__("Button Label","slider-blocks"),onChange:e=>{const l=[...be];l[t].sbtnLabel=e,o({slideItems:l})}})})]}):c&&(0,Ne.jsx)("div",{className:me()(`gutslider-cta ${k&&k}`),children:(0,Ne.jsx)(pe.RichText,{tagName:"span",value:e.btnLabel&&e.btnLabel,placeholder:__("Button Label","slider-blocks"),onChange:e=>{const l=[...be];l[t].btnLabel=e,o({slideItems:l})}})})]}):(0,Ne.jsxs)("div",{className:"gutslider-content-inner",children:[r&&(0,Ne.jsx)(pe.RichText,{tagName:u,className:`gutslider-subtitle ${v&&v}`,value:e.subtitle&&e.subtitle,placeholder:__("subtitle…","slider-blocks"),onChange:e=>{const l=[...be];l[t].subtitle=e,o({slideItems:l})}}),a&&(0,Ne.jsx)(pe.RichText,{tagName:m,className:`gutslider-title ${x&&x}`,value:e.title&&e.title,placeholder:__("title…","slider-blocks"),onChange:e=>{const l=[...be];l[t].title=e,o({slideItems:l})}}),d&&(0,Ne.jsx)(pe.RichText,{tagName:y,className:`gutslider-description ${h&&h}`,value:e.description&&e.description,placeholder:__("description…","slider-blocks"),onChange:e=>{const l=[...be];l[t].description=e,o({slideItems:l})}}),c&&e?.showSbtnLinks?(0,Ne.jsxs)("div",{className:"gutslider-btn-flex",children:[(0,Ne.jsx)("div",{className:me()(`gutslider-cta ${k&&k}`),children:(0,Ne.jsx)(pe.RichText,{tagName:"span",value:e.btnLabel&&e.btnLabel,placeholder:__("Button Label","slider-blocks"),onChange:e=>{const l=[...be];l[t].btnLabel=e,o({slideItems:l})}})}),(0,Ne.jsx)("div",{className:me()(`gutslider-cta-secondary ${N&&N}`),children:(0,Ne.jsx)(pe.RichText,{tagName:"span",value:e.sbtnLabel&&e.sbtnLabel,placeholder:__("Button Label","slider-blocks"),onChange:e=>{const l=[...be];l[t].sbtnLabel=e,o({slideItems:l})}})})]}):c&&(0,Ne.jsx)("div",{className:me()(`gutslider-cta ${k&&k}`),children:(0,Ne.jsx)(pe.RichText,{tagName:"span",value:e.btnLabel&&e.btnLabel,placeholder:__("Button Label","slider-blocks"),onChange:e=>{const l=[...be];l[t].btnLabel=e,o({slideItems:l})}})})]})})]})},`${n}-${t}`)}))}),L&&"nav_inside"===B&&!X&&(0,Ne.jsx)(bl,{children:(0,Ne.jsx)("div",{className:`gutslider-nav nav_inside ${P}`,children:I?(0,Ne.jsxs)(bl,{children:[(0,Ne.jsxs)("div",{className:"gutslider-prev",children:["library"===A&&(0,Ne.jsx)(ml,{icon:F}),"custom"===A&&(0,Ne.jsx)(gl,{children:R})]}),(0,Ne.jsxs)("div",{className:"gutslider-next",children:["library"===A&&(0,Ne.jsx)(ml,{icon:G}),"custom"===A&&(0,Ne.jsx)(gl,{children:O})]})]}):(0,Ne.jsxs)(bl,{children:[(0,Ne.jsx)("div",{className:"swiper-button-prev"}),(0,Ne.jsx)("div",{className:"swiper-button-next"})]})})}),M&&(0,Ne.jsx)("div",{className:"swiper-pagination"})]}),L&&"nav_outside"===B&&!X&&(0,Ne.jsx)(bl,{children:(0,Ne.jsx)("div",{className:`gutslider-nav nav_outside ${P}`,children:I?(0,Ne.jsxs)(bl,{children:[(0,Ne.jsxs)("div",{className:"gutslider-prev",children:["library"===A&&(0,Ne.jsx)(ml,{icon:F}),"custom"===A&&(0,Ne.jsx)(gl,{children:R})]}),(0,Ne.jsxs)("div",{className:"gutslider-next",children:["library"===A&&(0,Ne.jsx)(ml,{icon:G}),"custom"===A&&(0,Ne.jsx)(gl,{children:O})]})]}):(0,Ne.jsxs)(bl,{children:[(0,Ne.jsx)("div",{className:"swiper-button-prev"}),(0,Ne.jsx)("div",{className:"swiper-button-next"})]})})})]})})]})},save:function({attributes:e}){const{uniqueId:t,showImage:o,showSubTitle:l,showTitle:n,showDescription:s,showButton:i,sliderType:r,slideItems:a,sliderOptions:d,titleTag:c,subtitleTag:b,descriptionTag:g,titleAnimation:p,subtitleAnimation:u,descAnimation:m,btnAnimation:y,sbtnAnimation:x,showPagination:v,showNavigation:h,navContainerPosition:k,navPosition:N,customNavIcon:j,navIconSource:$,navPrevIcon:w,navNextIcon:C,customPrevSVG:_,customNextSVG:S,enableGlobalLink:f,enableRemoteNav:T,remotePrevSelector:L,remoteNextSelector:B}=e,P=pe.useBlockProps.save({className:me()(t,k,N)});return(0,Ne.jsxs)("div",{...P,"data-swiper-options":JSON.stringify(d),...T&&{"data-rprev":L,"data-rnext":B},children:[(0,Ne.jsxs)("div",{className:"swiper",children:[(0,Ne.jsx)("div",{className:"swiper-wrapper",children:a&&a.map(((e,t)=>{const a={backgroundColor:e.bgColor?e.bgColor:"",..."video"!==e.bgType&&!e.enableResponsiveBg&&{backgroundImage:"classic"===e.bgType?`url(${e.image.url})`:e.bgGradient},..."video"!==e.bgType&&e.enableResponsiveBg&&"classic"===e.bgType&&{"--gut-desktop-bg-image":`url(${e.DesktopBg?.url})`,"--gut-tablet-bg-image":`url(${e.TabletBg?.url})`,"--gut-mobile-bg-image":`url(${e.MobileBg?.url})`},...e.enableResponsiveBg&&"classic"===e.bgType&&e?.DesktopBg?.url&&e?.DesktopFocalPoint&&{"--gut-desktop-focal-point":`${100*e?.DesktopFocalPoint?.x}% ${100*e?.DesktopFocalPoint?.y}%`},...e.enableResponsiveBg&&"classic"===e.bgType&&e?.TabletBg?.url&&e?.TabletFocalPoint&&{"--gut-tablet-focal-point":`${100*e?.TabletFocalPoint?.x}% ${100*e?.TabletFocalPoint?.y}%`},...e.enableResponsiveBg&&"classic"===e.bgType&&e?.MobileBg?.url&&e?.MobileFocalPoint&&{"--gut-mobile-focal-point":`${100*e?.MobileFocalPoint?.x}% ${100*e?.MobileFocalPoint?.y}%`},...e?.focusPoint&&"video"!==e.bgType&&!e.enableResponsiveBg&&{backgroundPosition:`${100*e?.focusPoint?.x}% ${100*e?.focusPoint?.y}%`}},d={background:"classic"===e.overlayType?e.overlayColor:e.overlayGradient,opacity:e.overlayOpacity?e.overlayOpacity:""};return(0,Ne.jsx)("div",{className:me()("swiper-slide",{"slide-mode":"slider"===r}),children:(0,Ne.jsxs)(wl,{tagName:f?"a":"div",...f&&{...e.globalLink?.url&&{href:e.globalLink.url},...e.globalLink?.openInNewTab&&{target:"_blank",rel:[e.globalLink.addNoFollow&&"nofollow",e.globalLink.addSponsored&&"sponsored",e.globalLink.openInNewTab&&"noopener noreferrer"].filter(Boolean).join(" ")}},className:me()("swiper-container-outer",{"responsive-image":e.enableResponsiveBg}),style:a,children:["video"===e.bgType&&e.bgVideo?.url&&(0,Ne.jsx)("div",{className:"gutslider-video-wrapper",children:(0,Ne.jsx)("video",{className:"gutslider-video",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,preload:"metadata",children:(0,Ne.jsx)("source",{src:e.bgVideo?.url,type:"video/mp4"})})}),e.enableOverlay&&("classic"===e.bgType||"video"===e.bgType)&&(0,Ne.jsx)("div",{className:"gutslider-overlay",style:d}),(0,Ne.jsx)("div",{className:"gutslider-content-wrapper",children:o?(0,Ne.jsxs)("div",{className:"gutslider-content-inner",children:[(0,Ne.jsxs)("div",{className:"gutslider-content-position",children:[e.photo&&e.photo.url?(0,Ne.jsx)("div",{className:"gutslider-content-image",children:(0,Ne.jsx)("img",{src:e.photo.sizes[e.photoSize].url,alt:e.photo.alt,className:me()(`wp-image-${e.photo.id}`)})}):null,(0,Ne.jsxs)("div",{className:"guslider-content",children:[l&&e.subtitle&&(0,Ne.jsx)(pe.RichText.Content,{tagName:b,value:e.subtitle,className:`gutslider-subtitle ${u&&u}`}),n&&e.title&&(0,Ne.jsx)(pe.RichText.Content,{tagName:c,value:e.title,className:`gutslider-title ${p&&p}`}),s&&e.description&&(0,Ne.jsx)(pe.RichText.Content,{tagName:g,value:e.description,className:`gutslider-description ${m&&m}`})]})]}),e.btnLabel&&e.btnLinks&&e.btnLinks.url&&(0,Ne.jsx)(wl,{tagName:f?"span":"a",className:me()(`gutslider-cta ${y&&y}`),...!f&&{href:e.btnLinks&&e.btnLinks.url,target:e.btnLinks.openInNewTab&&"_blank"},...e.btnLinks&&!f&&(e.btnLinks.openInNewTab||e.btnLinks.addNoFollow||e.btnLinks.addSponsored)&&{rel:[e.btnLinks.openInNewTab&&"noopener noreferrer",e.btnLinks.addNoFollow&&"nofollow",e.btnLinks.addSponsored&&"sponsored"].filter(Boolean).join(" ")},children:e.btnLabel}),i&&e?.showSbtnLinks?(0,Ne.jsx)("div",{className:"gutslider-btn-flex",children:e.sbtnLabel&&e.sbtnLinks&&e.sbtnLinks.url&&(0,Ne.jsx)(wl,{tagName:f?"span":"a",className:me()(`gutslider-cta-secondary ${x&&x}`),...!f&&{href:e.sbtnLinks&&e.sbtnLinks.url,target:e.sbtnLinks.openInNewTab&&"_blank"},...e.sbtnLinks&&!f&&(e.sbtnLinks.openInNewTab||e.sbtnLinks.addNoFollow||e.sbtnLinks.addSponsored)&&{rel:[e.sbtnLinks.openInNewTab&&"noopener noreferrer",e.sbtnLinks.addNoFollow&&"nofollow",e.sbtnLinks.addSponsored&&"sponsored"].filter(Boolean).join(" ")},children:e.sbtnLabel})}):e.btnLabel&&e.btnLinks&&e.btnLinks.url&&(0,Ne.jsx)(wl,{tagName:f?"span":"a",className:me()(`gutslider-cta ${y&&y}`),...!f&&{href:e.btnLinks&&e.btnLinks.url,target:e.btnLinks&&e.btnLinks.openInNewTab&&"_blank"},...e.btnLinks&&!f&&(e.btnLinks.openInNewTab||e.btnLinks.addNoFollow||e.btnLinks.addSponsored)&&{rel:[e.btnLinks.openInNewTab&&"noopener noreferrer",e.btnLinks.addNoFollow&&"nofollow",e.btnLinks.addSponsored&&"sponsored"].filter(Boolean).join(" ")},children:e.btnLabel})]}):(0,Ne.jsxs)("div",{className:"gutslider-content-inner",children:[l&&e.subtitle&&(0,Ne.jsx)(pe.RichText.Content,{tagName:b,value:e.subtitle,className:`gutslider-subtitle ${u&&u}`}),n&&e.title&&(0,Ne.jsx)(pe.RichText.Content,{tagName:c,value:e.title,className:`gutslider-title ${p&&p}`}),s&&e.description&&(0,Ne.jsx)(pe.RichText.Content,{tagName:g,value:e.description,className:`gutslider-description ${m&&m}`}),i&&e?.showSbtnLinks?(0,Ne.jsxs)("div",{className:"gutslider-btn-flex",children:[e.btnLabel&&e.btnLinks&&e.btnLinks.url&&(0,Ne.jsx)(wl,{tagName:f?"span":"a",className:me()(`gutslider-cta ${y&&y}`),...!f&&{href:e.btnLinks&&e.btnLinks.url,target:e.btnLinks.openInNewTab&&"_blank"},...e.btnLinks&&(e.btnLinks.openInNewTab||e.btnLinks.addNoFollow||e.btnLinks.addSponsored)&&{rel:[e.btnLinks.openInNewTab&&"noopener noreferrer",e.btnLinks.addNoFollow&&"nofollow",e.btnLinks.addSponsored&&"sponsored"].filter(Boolean).join(" ")},children:e.btnLabel}),e.sbtnLabel&&e.sbtnLinks&&e.sbtnLinks.url&&(0,Ne.jsx)(wl,{tagName:f?"span":"a",className:me()(`gutslider-cta-secondary ${x&&x}`),...!f&&{href:e.sbtnLinks&&e.sbtnLinks.url,target:e.sbtnLinks.openInNewTab&&"_blank"},...e.sbtnLinks&&(e.sbtnLinks.openInNewTab||e.sbtnLinks.addNoFollow||e.sbtnLinks.addSponsored)&&{rel:[e.sbtnLinks.openInNewTab&&"noopener noreferrer",e.sbtnLinks.addNoFollow&&"nofollow",e.sbtnLinks.addSponsored&&"sponsored"].filter(Boolean).join(" ")},children:e.sbtnLabel})]}):i&&e.btnLabel&&e.btnLinks&&e.btnLinks.url&&(0,Ne.jsx)(wl,{tagName:f?"span":"a",className:me()(`gutslider-cta ${y&&y}`),...!f&&{href:e.btnLinks&&e.btnLinks.url,target:e.btnLinks.openInNewTab&&"_blank"},...e.btnLinks&&(e.btnLinks.openInNewTab||e.btnLinks.addNoFollow||e.btnLinks.addSponsored)&&{rel:[e.btnLinks.openInNewTab&&"noopener noreferrer",e.btnLinks.addNoFollow&&"nofollow",e.btnLinks.addSponsored&&"sponsored"].filter(Boolean).join(" ")},children:e.btnLabel})]})})]})},t)}))}),h&&"nav_inside"===k&&!T&&(0,Ne.jsx)(he.Fragment,{children:(0,Ne.jsx)("div",{className:`gutslider-nav nav_inside ${N}`,children:j?(0,Ne.jsxs)(he.Fragment,{children:[(0,Ne.jsxs)("div",{className:"gutslider-prev",children:["library"===$&&(0,Ne.jsx)($l,{icon:w}),"custom"===$&&(0,Ne.jsx)(he.RawHTML,{children:_})]}),(0,Ne.jsxs)("div",{className:"gutslider-next",children:["library"===$&&(0,Ne.jsx)($l,{icon:C}),"custom"===$&&(0,Ne.jsx)(he.RawHTML,{children:S})]})]}):(0,Ne.jsxs)(he.Fragment,{children:[(0,Ne.jsx)("div",{className:"swiper-button-prev"}),(0,Ne.jsx)("div",{className:"swiper-button-next"})]})})}),v&&(0,Ne.jsx)("div",{className:"swiper-pagination"})]}),h&&"nav_outside"===k&&!T&&(0,Ne.jsx)(he.Fragment,{children:(0,Ne.jsx)("div",{className:`gutslider-nav nav_outside ${N}`,children:j?(0,Ne.jsxs)(he.Fragment,{children:[(0,Ne.jsxs)("div",{className:"gutslider-prev",children:["library"===$&&(0,Ne.jsx)($l,{icon:w}),"custom"===$&&(0,Ne.jsx)(he.RawHTML,{children:_})]}),(0,Ne.jsxs)("div",{className:"gutslider-next",children:["library"===$&&(0,Ne.jsx)($l,{icon:C}),"custom"===$&&(0,Ne.jsx)(he.RawHTML,{children:S})]})]}):(0,Ne.jsxs)(he.Fragment,{children:[(0,Ne.jsx)("div",{className:"swiper-button-prev"}),(0,Ne.jsx)("div",{className:"swiper-button-next"})]})})})]})},deprecated:gn})}},o={};function l(e){var n=o[e];if(void 0!==n)return n.exports;var s=o[e]={exports:{}};return t[e](s,s.exports,l),s.exports}l.m=t,e=[],l.O=(t,o,n,s)=>{if(!o){var i=1/0;for(c=0;c<e.length;c++){for(var[o,n,s]=e[c],r=!0,a=0;a<o.length;a++)(!1&s||i>=s)&&Object.keys(l.O).every((e=>l.O[e](o[a])))?o.splice(a--,1):(r=!1,s<i&&(i=s));if(r){e.splice(c--,1);var d=n();void 0!==d&&(t=d)}}return t}s=s||0;for(var c=e.length;c>0&&e[c-1][2]>s;c--)e[c]=e[c-1];e[c]=[o,n,s]},l.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return l.d(t,{a:t}),t},l.d=(e,t)=>{for(var o in t)l.o(t,o)&&!l.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),l.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={26:0,566:0};l.O.j=t=>0===e[t];var t=(t,o)=>{var n,s,[i,r,a]=o,d=0;if(i.some((t=>0!==e[t]))){for(n in r)l.o(r,n)&&(l.m[n]=r[n]);if(a)var c=a(l)}for(t&&t(o);d<i.length;d++)s=i[d],l.o(e,s)&&e[s]&&e[s][0](),e[s]=0;return l.O(c)},o=globalThis.webpackChunkgutenberg_boilerplate=globalThis.webpackChunkgutenberg_boilerplate||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})();var n=l.O(void 0,[566],(()=>l(917)));n=l.O(n)})(); | |
| 1 | +(()=>{var e={384(e,t,l){"use strict";var o={};l.r(o),l.d(o,{zc:()=>te,tP:()=>le,o8:()=>se,$C:()=>oe,xj:()=>re,M6:()=>a,OV:()=>c,rX:()=>b,Qi:()=>d,ki:()=>u,cZ:()=>i,ZX:()=>r,MA:()=>S,tB:()=>f,nc:()=>T,is:()=>P,f1:()=>F,nF:()=>R,ip:()=>I,pU:()=>D,o9:()=>A,r3:()=>ae,G:()=>B,ZS:()=>L,ow:()=>_,Hg:()=>j,je:()=>ne,XB:()=>V,Hj:()=>z,v5:()=>J,MJ:()=>W,WT:()=>U,Vw:()=>Z,Dv:()=>q,mr:()=>X,Gw:()=>Y,F$:()=>K,og:()=>ee,Gs:()=>Q,_$:()=>M,yb:()=>E,vv:()=>H,MC:()=>O,P9:()=>G,ND:()=>ie,Lp:()=>p,he:()=>m,iW:()=>h,$f:()=>g,xo:()=>x,C4:()=>w,jD:()=>C,gp:()=>$,bI:()=>v,yo:()=>N,xP:()=>y,oL:()=>k});const s=window.wp.blocks,n=window.wp.i18n,i="columns",r="columnsGap",a="btnBorder",d="btnRadius",c="btnMargin",b="btnPadding",u="btnTypo",p="secondaryBtnBorder",g="secondaryBtnRadius",m="secondaryBtnMargin",h="secondaryBtnPadding",x="secondaryBtnTypo",y="titleSpacing",k="titleTypo",v="subtitleSpacing",N="subtitleTypo",_="descSpacing",j="descTypo",w="slideHeight",$="slidePadding",C="slideMargin",S="container",f="containerBorder",T="containerBorderRadius",L="contentWidth",B="contentVPosition",P="contentAlign",I="contentHAlign",A="contentPadding",F="contentBorder",R="contentBorderRadius",D="contentMargin",G="photoSize",M="photoBorder",O="photoBorderRadius",H="photoPadding",E="photoMargin",V="navBorder",z="navBorderRadius",q="navWidth",W="navHeight",Z="navMargin",J="navGap",U="navIconSize",X="pagBorder",Y="pagBorderRadius",Q="pagWidth",K="pagHeight",ee="pagMargin",te="apagBorder",le="apagBorderRadius",oe="apagWidth",se="apagHeight",ne="fracSize",ie="progSize",re=[{label:(0,n.__)("Classic","slider-blocks"),value:"classic"},{label:(0,n.__)("Gradient","slider-blocks"),value:"gradient"},{label:(0,n.__)("Video (Pro)","slider-blocks"),value:"video",disabled:!0}],ae=[{value:"",label:(0,n.__)("Classic","slider-blocks"),description:(0,n.__)("Centered text over the image","slider-blocks")},{value:"split",pro:!0,label:(0,n.__)("Split Hero","slider-blocks"),description:(0,n.__)("Text panel beside the image","slider-blocks")},{value:"glass",pro:!0,label:(0,n.__)("Glass Card","slider-blocks"),description:(0,n.__)("Frosted card on a full image","slider-blocks")},{value:"editorial",label:(0,n.__)("Editorial","slider-blocks"),description:(0,n.__)("Bold headline, magazine style","slider-blocks")},{value:"cards",pro:!0,label:(0,n.__)("Card Carousel","slider-blocks"),description:(0,n.__)("Several cards side by side","slider-blocks")}],{generateResBoxControlAttributes:de,generateBorderAttributes:ce,generateBackgroundAttributes:be,generateTypographyAttributes:ue,generateResRangeAttributes:pe,generateAlignmentAttributes:ge,generateResBtnsAttributes:me,generateThumbsAttributes:he}=window.gutSliderModules,xe={uniqueId:{type:"string"},preview:{type:"boolean",default:!1},blockStyle:{type:"string"},patternMode:{type:"boolean",default:!0},openModal:{type:"boolean",default:!1},showImage:{type:"boolean",default:!1},showSubTitle:{type:"boolean",default:!0},showTitle:{type:"boolean",default:!0},showDescription:{type:"boolean",default:!0},showButton:{type:"boolean",default:!0},enableGlobalLink:{type:"boolean",default:!1},imgPosition:{type:"string",default:"column"},preset:{type:"string",default:""},paginationStyle:{type:"string",default:""},sliderType:{type:"string",default:"slider"},infiniteLoop:{type:"boolean",default:!0},autoplay:{type:"boolean",default:!1},autoplayDelay:{type:"number"},pauseOnHover:{type:"boolean",default:!0},reverseDirection:{type:"boolean",default:!1},stopOnLastSlide:{type:"boolean",default:!1},speed:{type:"number"},centerMode:{type:"boolean",default:!1},showNavigation:{type:"boolean",default:!0},showPagination:{type:"boolean",default:!0},paginationType:{type:"string",default:"bullets"},dynamicBullets:{type:"boolean",default:!1},keyboardControl:{type:"boolean",default:!1},mousewheelControl:{type:"boolean",default:!1},slideEffect:{type:"string",default:"creative"},carouselEffect:{type:"string",default:"slide"},creativeEffectStyle:{type:"string",default:"style-3"},sliderOptions:{type:"object",default:{}},enableRemoteNav:{type:"boolean",default:!1},remotePrevSelector:{type:"string"},remoteNextSelector:{type:"string"},navColor:{type:"string"},navBgColor:{type:"string"},navHoverColor:{type:"string"},navHoverBgColor:{type:"string"},navContainerPosition:{type:"string",default:"nav_inside"},navPosition:{type:"string",default:"nav_cc"},customNavIcon:{type:"boolean",default:!1},navIconSource:{type:"string",default:"library"},navPrevIcon:{type:"string",default:"arrowLeft"},navNextIcon:{type:"string",default:"arrowRight"},customPrevSVG:{type:"string"},customNextSVG:{type:"string"},pagColor:{type:"string"},activePagColor:{type:"string"},pagFracColor:{type:"string"},pagFracCurrentColor:{type:"string"},fracDividerColor:{type:"string"},progressColor:{type:"string"},activeProgressColor:{type:"string"},slideItems:{type:"array",default:[]},addNewSlide:{type:"boolean",default:!1},subtitleTag:{type:"string",default:"h3"},subtitleColor:{type:"string"},titleTag:{type:"string",default:"h2"},titleColor:{type:"string"},descriptionTag:{type:"string",default:"p"},descriptionColor:{type:"string"},btnColors:{type:"object",default:{btnTextColor:"",btnBgColor:"",btnHoverTextColor:"",btnHoverBgColor:""}},sbtnColors:{type:"object",default:{btnTextColor:"",btnBgColor:"",btnHoverTextColor:"",btnHoverBgColor:""}},textReveal:{type:"string",default:""},revealSpeed:{type:"string",default:""},pointerEffect:{type:"string",default:""},magneticButtons:{type:"boolean",default:!1},titleAnimation:{type:"string",default:""},subtitleAnimation:{type:"string",default:""},descAnimation:{type:"string",default:""},btnAnimation:{type:"string",default:""},sbtnAnimation:{type:"string",default:""},titleDelay:{type:"number"},subtitleDelay:{type:"number"},descDelay:{type:"number"},btnDelay:{type:"number"},sbtnDelay:{type:"number"},contentBgColor:{type:"string"},...pe({controlName:i}),...pe({controlName:r}),...pe({controlName:w}),...de({controlName:$}),...de({controlName:C}),...be({controlName:S}),...ce({controlName:f}),...de({controlName:T}),...de({controlName:A}),...pe({controlName:L}),...ge({controlName:B}),...ge({controlName:P}),...me({controlName:I}),...ce({controlName:F}),...de({controlName:R}),...de({controlName:D}),...pe({controlName:G}),...de({controlName:H}),...ce({controlName:M}),...de({controlName:O}),...de({controlName:E}),...de({controlName:d}),...de({controlName:c}),...de({controlName:b}),...ce({controlName:a}),...ue({controlName:u}),...de({controlName:g}),...de({controlName:m}),...de({controlName:h}),...ce({controlName:p}),...ue({controlName:x}),...de({controlName:y}),...ue({controlName:k}),...de({controlName:v}),...ue({controlName:N}),...de({controlName:_}),...ue({controlName:j}),...ce({controlName:V}),...de({controlName:z}),...pe({controlName:q}),...pe({controlName:W}),...pe({controlName:U}),...de({controlName:Z}),...pe({controlName:J}),...ce({controlName:X}),...de({controlName:Y}),...pe({controlName:Q}),...pe({controlName:K}),...de({controlName:ee}),...ce({controlName:te}),...de({controlName:le}),...pe({controlName:oe}),...pe({controlName:se}),...pe({controlName:ne}),...pe({controlName:ie}),...he()},ye=JSON.parse('{"apiVersion":3,"name":"gutsliders/content-slider","version":"3.2.0","title":"Static","category":"slider-blocks","description":"Show custom static content in sliding or carousel mode.","supports":{"html":false,"anchor":true,"align":["wide","full"]},"example":{"attributes":{"preview":true},"viewportWidth":432},"textdomain":"slider-blocks","editorScript":["file:./index.js","gutslider-swiper-script","gutslider-blocks-global-script"],"editorStyle":["file:./index.css","gutslider-swiper-style","gutslider-blocks-global-style"],"style":["file:./style-index.css","gutslider-swiper-style"],"viewScript":["file:./frontend.js","gutslider-swiper-script"]}'),ke=window.wp.blockEditor;var ve=l(485),Ne=l.n(ve);const _e=window.lodash,je=window.wp.components,we=window.wp.data,$e=window.wp.element,Ce=window.ReactJSXRuntime,Se=()=>(0,Ce.jsx)("svg",{viewBox:"0 0 24 24",width:"12",height:"12","aria-hidden":"true",focusable:"false",children:(0,Ce.jsx)("path",{d:"M3 7.5 7.5 11 12 4l4.5 7L21 7.5 19.2 18H4.8L3 7.5Zm2 12.5h14v1.5H5V20Z",fill:"currentColor"})}),fe=({preset:e})=>(0,Ce.jsx)("span",{className:`gutslider-preset-thumb is-${e||"classic"}`,"aria-hidden":"true",children:"cards"===e?(0,Ce.jsxs)(Ce.Fragment,{children:[(0,Ce.jsx)("span",{className:"gs-thumb-card"}),(0,Ce.jsx)("span",{className:"gs-thumb-card"}),(0,Ce.jsx)("span",{className:"gs-thumb-card is-peek"})]}):(0,Ce.jsx)(Ce.Fragment,{children:(0,Ce.jsxs)("span",{className:"panel",children:[(0,Ce.jsx)("span",{className:"line is-kicker"}),(0,Ce.jsx)("span",{className:"line is-title"}),(0,Ce.jsx)("span",{className:"line"}),(0,Ce.jsx)("span",{className:"btn"})]})})}),Te=({value:e="",onChange:t})=>{const[l,o]=(0,$e.useState)(null),s=""!==window.gutslider_preview?.is_pro;return(0,Ce.jsxs)("div",{className:"gutslider-preset-picker-wrap",children:[(0,Ce.jsx)("div",{className:"gutslider-preset-picker",role:"radiogroup","aria-label":(0,n.__)("Design","slider-blocks"),children:ae.map(((l,i)=>{const r=e===l.value,a=l.pro&&!s;return(0,Ce.jsxs)("button",{type:"button",role:"radio","aria-checked":r,"aria-disabled":a&&!r,className:`gutslider-preset-picker__option ${r?"is-selected":""} ${a?"is-locked":""}`,onClick:()=>{r||(a?o(l):(o(null),t(l.value)))},title:a?(0,n.__)("Available in GutSlider Pro","slider-blocks"):l.description,children:[(0,Ce.jsx)(fe,{preset:l.value}),l.pro&&(0,Ce.jsxs)("span",{className:"gutslider-preset-picker__pro",children:[(0,Ce.jsx)(Se,{}),(0,n.__)("Pro","slider-blocks")]}),(0,Ce.jsxs)("span",{className:"gutslider-preset-picker__label",children:[(0,Ce.jsx)("span",{className:"gutslider-preset-picker__number",children:i+1}),l.label]})]},l.value||"classic")}))}),l&&(0,Ce.jsxs)("p",{className:"gutslider-preset-picker__notice",role:"status",children:[(0,n.sprintf)(/* translators: %s: design name, e.g. "Split Hero". */ /* translators: %s: design name, e.g. "Split Hero". */ | |
| 2 | +(0,n.__)("%s is a Pro design.","slider-blocks"),l.label)," ",(0,Ce.jsxs)("a",{href:"https://gutslider.com/pricing",target:"_blank",rel:"noopener noreferrer",children:[(0,n.__)("Upgrade to unlock it","slider-blocks"),(0,Ce.jsx)("span",{className:"screen-reader-text",children:(0,n.__)("(opens in a new tab)","slider-blocks")})]})]})]})},Le=window.wp.hooks,Be=window.wp.primitives;var Pe=(0,Ce.jsx)(Be.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,Ce.jsx)(Be.Path,{d:"m19 7-3-3-8.5 8.5-1 4 4-1L19 7Zm-7 11.5H5V20h7v-1.5Z"})}),Ie=(0,Ce.jsx)(Be.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,Ce.jsx)(Be.Path,{d:"M17.2 10.9c-.5-1-1.2-2.1-2.1-3.2-.6-.9-1.3-1.7-2.1-2.6L12 4l-1 1.1c-.6.9-1.3 1.7-2 2.6-.8 1.2-1.5 2.3-2 3.2-.6 1.2-1 2.2-1 3 0 3.4 2.7 6.1 6.1 6.1s6.1-2.7 6.1-6.1c0-.8-.3-1.8-1-3zm-5.1 7.6c-2.5 0-4.6-2.1-4.6-4.6 0-.3.1-1 .8-2.3.5-.9 1.1-1.9 2-3.1.7-.9 1.3-1.7 1.8-2.3.7.8 1.3 1.6 1.8 2.3.8 1.1 1.5 2.2 2 3.1.7 1.3.8 2 .8 2.3 0 2.5-2.1 4.6-4.6 4.6z"})});const{BackgroundEditor:Ae,BackgroundPreview:Fe,EditorSection:Re,LinkControl:De,NativeSelectControl:Ge,Preview:Me,UploadBtn:Oe,plainText:He}=window.gutSliderModules,Ee=[{label:(0,n.__)("Full","slider-blocks"),value:"full"},{label:(0,n.__)("Medium","slider-blocks"),value:"medium"},{label:(0,n.__)("Thumbnail","slider-blocks"),value:"thumbnail"}],Ve="linear-gradient(135deg,#12c2e9 0%,#c471ed 50%,#f64f59 100%)",ze=()=>({panelTitle:"",subtitle:(0,n.__)("Your subtitle","slider-blocks"),title:(0,n.__)("Add a clear, catchy headline","slider-blocks"),description:(0,n.__)("Say what this slide is about in a sentence or two.","slider-blocks"),bgType:"classic",bgColor:"#efefef",enableOverlay:!1,overlayType:"classic",overlayColor:"#000000",overlayGradient:Ve,overlayOpacity:.5,bgGradient:Ve,bgVideo:{},image:{id:"",url:"",alt:""},photo:{},photoSize:"thumbnail",focusPoint:{x:.5,y:.5},btnLabel:(0,n.__)("Learn more","slider-blocks"),btnLinks:{url:"#",openInNewTab:!1,addNoFollow:!1,addSponsored:!1},showSbtnLinks:!1,sbtnLabel:"",sbtnLinks:{url:"",openInNewTab:!1,addNoFollow:!1,addSponsored:!1},globalLink:{url:"",openInNewTab:!1,addNoFollow:!1,addSponsored:!1}}),qe=e=>e?.panelTitle||He(e?.title)||He(e?.subtitle),We=({slide:e})=>(0,Ce.jsx)(Fe,{item:e,compact:!0}),Ze=({item:e,update:t,attributes:l,setAttributes:o})=>{const{preset:s,showImage:i,showSubTitle:r,showTitle:a,showDescription:d,showButton:c,enableGlobalLink:b,showThumbs:u,thumbContent:p}=l,g=[!i&&{key:"showImage",label:(0,n.__)("Image","slider-blocks")},!r&&{key:"showSubTitle",label:(0,n.__)("Subtitle","slider-blocks")},!a&&{key:"showTitle",label:(0,n.__)("Title","slider-blocks")},!d&&{key:"showDescription",label:(0,n.__)("Description","slider-blocks")},!c&&{key:"showButton",label:(0,n.__)("Buttons","slider-blocks")}].filter(Boolean);return(0,Ce.jsxs)(Ce.Fragment,{children:[g.length>0&&(0,Ce.jsxs)(je.Notice,{status:"info",isDismissible:!1,className:"gkits-item-editor__notice",children:[(0,Ce.jsx)("span",{children:(0,n.__)("Hidden on every slide:","slider-blocks")}),g.map((({key:e,label:t})=>(0,Ce.jsx)(je.Button,{variant:"secondary",size:"small",onClick:()=>o({[e]:!0}),children:(0,n.sprintf)(/* translators: %s: element name, e.g. "Subtitle". */ /* translators: %s: element name, e.g. "Subtitle". */ | |
| 3 | +(0,n.__)("Show %s","slider-blocks"),t)},e)))]}),(0,Ce.jsxs)(Re,{title:(0,n.__)("Slide","slider-blocks"),children:[(0,Ce.jsx)(je.TextControl,{label:(0,n.__)("Slide name","slider-blocks"),help:(0,n.__)("Only shown in the editor, to tell slides apart.","slider-blocks"),value:e.panelTitle||"",onChange:e=>t({panelTitle:e}),placeholder:He(e.title)||(0,n.__)("e.g. Summer sale","slider-blocks"),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),b&&(0,Ce.jsx)(De,{label:(0,n.__)("Wrapper link","slider-blocks"),help:(0,n.__)("Makes the whole slide clickable. Button links are ignored.","slider-blocks"),value:e.globalLink,onChange:e=>t({globalLink:e}),allowCustomAttributes:!0})]}),i&&(0,Ce.jsx)(Re,{title:(0,n.__)("Image","slider-blocks"),children:e.photo?.url?(0,Ce.jsxs)(Ce.Fragment,{children:[(0,Ce.jsx)(Me,{url:e.photo.url,id:e.photo.id,alt:e.photo.alt,onSelect:e=>t({photo:e}),onClick:()=>t({photo:""})}),(0,Ce.jsx)(Ge,{label:(0,n.__)("Image size","slider-blocks"),options:Ee,value:e.photoSize||"full",onChange:e=>t({photoSize:e})})]}):(0,Ce.jsx)(Oe,{title:(0,n.__)("Upload Photo","slider-blocks"),onSelect:e=>t({photo:e}),id:e.photo?.id})}),(s||r||a||d)&&(0,Ce.jsxs)(Re,{title:(0,n.__)("Text","slider-blocks"),children:[s&&(0,Ce.jsx)(je.TextControl,{label:(0,n.__)("Badge","slider-blocks"),help:(0,n.__)("A short label shown as a pill, e.g. New, -30% or Case study.","slider-blocks"),value:e.badge||"",onChange:e=>t({badge:e}),placeholder:(0,n.__)("Leave empty to hide","slider-blocks"),maxLength:30,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),r&&(0,Ce.jsx)(je.TextControl,{label:(0,n.__)("Subtitle","slider-blocks"),value:e.subtitle||"",onChange:e=>t({subtitle:e}),placeholder:(0,n.__)("Leave empty to hide","slider-blocks"),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),a&&(0,Ce.jsx)(je.TextareaControl,{label:(0,n.__)("Title","slider-blocks"),value:e.title||"",onChange:e=>t({title:e}),placeholder:(0,n.__)("Leave empty to hide","slider-blocks"),rows:2,__nextHasNoMarginBottom:!0}),d&&(0,Ce.jsx)(je.TextareaControl,{label:(0,n.__)("Description","slider-blocks"),value:e.description||"",onChange:e=>t({description:e}),placeholder:(0,n.__)("Leave empty to hide","slider-blocks"),rows:4,__nextHasNoMarginBottom:!0})]}),c&&(0,Ce.jsxs)(Re,{title:(0,n.__)("Buttons","slider-blocks"),children:[(0,Ce.jsxs)("div",{className:"gkits-item-editor__pair",children:[(0,Ce.jsx)(je.TextControl,{label:(0,n.__)("Primary button text","slider-blocks"),value:e.btnLabel||"",onChange:e=>t({btnLabel:e}),placeholder:(0,n.__)("Leave empty to hide","slider-blocks"),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,Ce.jsx)(De,{label:(0,n.__)("Primary button link","slider-blocks"),value:e.btnLinks,onChange:e=>t({btnLinks:e}),allowCustomAttributes:!0})]}),(0,Ce.jsx)(je.ToggleControl,{label:(0,n.__)("Add a secondary button","slider-blocks"),checked:!!e.showSbtnLinks,onChange:()=>t({showSbtnLinks:!e.showSbtnLinks}),__nextHasNoMarginBottom:!0}),e.showSbtnLinks&&(0,Ce.jsxs)("div",{className:"gkits-item-editor__pair",children:[(0,Ce.jsx)(je.TextControl,{label:(0,n.__)("Secondary button text","slider-blocks"),value:e.sbtnLabel||"",onChange:e=>t({sbtnLabel:e}),placeholder:(0,n.__)("Leave empty to hide","slider-blocks"),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),(0,Ce.jsx)(De,{label:(0,n.__)("Secondary button link","slider-blocks"),value:e.sbtnLinks,onChange:e=>t({sbtnLinks:e}),allowCustomAttributes:!0})]})]}),u&&(0,Ce.jsxs)(Re,{title:(0,n.__)("Thumbnail","slider-blocks"),children:["image"!==p&&(0,Ce.jsx)(je.TextControl,{label:(0,n.__)("Thumbnail title","slider-blocks"),value:e.thumbTitle||"",onChange:e=>t({thumbTitle:e}),placeholder:He(e.title)||(0,n.__)("Short title…","slider-blocks"),help:(0,n.__)("Optional. Falls back to the slide title.","slider-blocks"),__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0}),"title"!==p&&(0,Ce.jsxs)(Ce.Fragment,{children:[e.thumb?.url?(0,Ce.jsx)(Me,{url:e.thumb.url,id:e.thumb.id,alt:e.thumb.alt,onSelect:e=>t({thumb:e}),onClick:()=>t({thumb:{}})}):(0,Ce.jsx)(Oe,{title:(0,n.__)("Upload Thumbnail","slider-blocks"),onSelect:e=>t({thumb:e}),id:e.thumb?.id}),(0,Ce.jsx)("p",{className:"gkits-item-editor__hint",children:(0,n.__)("Optional. Falls back to the content image, then the background image.","slider-blocks")})]})]})]})},Je=(e,t)=>[{name:"content",label:(0,n.__)("Content","slider-blocks"),icon:Pe,render:(l,o)=>(0,Ce.jsx)(Ze,{item:l,update:o,attributes:e,setAttributes:t})},{name:"background",label:(0,n.__)("Background","slider-blocks"),icon:Ie,render:(e,t)=>(0,Ce.jsx)(Ae,{item:e,update:t,types:(0,Le.applyFilters)("gutslider.slideBgTypes",re),allowResponsive:!0})}],{PaginationStyleControl:Ue}=window.gutSliderModules,{SLIDER_TYPES:Xe,HEADING_TAGS:Ye,ANIMATION_TYPES:Qe,SLIDE_EFFECTS:Ke,CREATIVE_STYLES:et,CAROUSEL_EFFECTS:tt,PAGINATION_TYPES:lt,NAV_CONTAINER_POSITIONS:ot,NAV_POSITIONS:st,HALIGNS:nt}=window.gutSliderModules.GlobalConstants,it=[{label:(0,n.__)("Slow","slider-blocks"),value:"slow"},{label:(0,n.__)("Normal","slider-blocks"),value:""},{label:(0,n.__)("Fast","slider-blocks"),value:"fast"}],rt=[{label:(0,n.__)("None","slider-blocks"),value:""},{label:(0,n.__)("Words rise","slider-blocks"),value:"words"},{label:(0,n.__)("Letters flip","slider-blocks"),value:"letters"},{label:(0,n.__)("Blur in","slider-blocks"),value:"blur"},{label:(0,n.__)("Mask reveal","slider-blocks"),value:"mask"}],at=[{label:(0,n.__)("None","slider-blocks"),value:""},{label:(0,n.__)("Depth (layers drift apart)","slider-blocks"),value:"depth"},{label:(0,n.__)("3D tilt","slider-blocks"),value:"tilt"},{label:(0,n.__)("Spotlight","slider-blocks"),value:"spotlight"}],{HeaderTabs:dt,ItemList:ct,ResRangeControl:bt,SingleRangeControl:ut,ResBoxControl:pt,ColorControl:gt,AlignmentControl:mt,TypographyControl:ht,BorderControl:xt,BackgroundControl:yt,ButtonsGroupControl:kt,SwitcherControl:vt,FooterNotice:Nt,IconPickerControl:_t,ProLink:jt,ResButtonsGroup:wt,ProLock:$t,NativeSelectControl:Ct,ThumbsSettingsPanel:St,ThumbsDesignPanel:ft}=window?.gutSliderModules,{cZ:Tt,ZX:Lt,C4:Bt,gp:Pt,jD:It,MA:At,tB:Ft,nc:Rt,ZS:Dt,G:Gt,is:Mt,o9:Ot,ip:Ht,f1:Et,nF:Vt,pU:zt,M6:qt,Qi:Wt,OV:Zt,rX:Jt,ki:Ut,Lp:Xt,$f:Yt,he:Qt,iW:Kt,xo:el,xP:tl,oL:ll,P9:ol,_$:sl,MC:nl,vv:il,yb:rl,bI:al,yo:dl,ow:cl,Hg:bl,XB:ul,Hj:pl,MJ:gl,Dv:ml,WT:hl,Vw:xl,v5:yl,mr:kl,Gw:vl,F$:Nl,Gs:_l,og:jl,zc:wl,tP:$l,o8:Cl,$C:Sl,je:fl,ND:Tl}=o,Ll=({attributes:e,setAttributes:t})=>{const{preset:l,showImage:o,showSubTitle:s,showTitle:i,showDescription:r,showButton:a,imgPosition:d,sliderType:c,slideItems:b,addNewSlide:u,subtitleTag:p,subtitleColor:g,titleTag:m,titleColor:h,descriptionTag:x,descriptionColor:y,btnColors:k,sbtnColors:v,titleAnimation:N,subtitleAnimation:_,descAnimation:j,btnAnimation:w,sbtnAnimation:$,infiniteLoop:C,autoplay:S,autoplayDelay:f,stopOnLastSlide:T,reverseDirection:L,pauseOnHover:B,speed:P,showNavigation:I,centerMode:A,navColor:F,navHoverColor:R,navBgColor:D,navHoverBgColor:G,navContainerPosition:M,navPosition:O,customNavIcon:H,navIconSource:E,navPrevIcon:V,navNextIcon:z,customPrevSVG:q,customNextSVG:W,showPagination:Z,paginationType:J,dynamicBullets:U,paginationStyle:X,thumbSizing:Y,thumbTitlePosition:Q,thumbTitleColor:K,activeThumbTitleColor:ee,thumbTitleBgColor:te,thumbOpacity:le,activeThumbOpacity:oe,pagColor:se,activePagColor:ne,pagFracColor:ie,pagFracCurrentColor:re,fracDividerColor:ae,progressColor:de,activeProgressColor:ce,keyboardControl:be,mousewheelControl:ue,slideEffect:pe,carouselEffect:ge,creativeEffectStyle:me,titleDelay:he,subtitleDelay:ye,descDelay:ve,btnDelay:Ne,sbtnDelay:we,contentBgColor:Se,enableGlobalLink:fe,enableRemoteNav:Le,remotePrevSelector:Be,remoteNextSelector:Pe}=e,Ie=(0,Ce.jsx)("p",{className:"gs-motion-note gs-motion-note--panel",children:(0,n.__)("Animated by Content reveal (Settings → Motion Effects).","slider-blocks")}),Ae={attributes:e,setAttributes:t,objAttributes:xe},Fe=(0,_e.cloneDeep)(b);return(0,Ce.jsxs)(ke.InspectorControls,{children:[(0,Ce.jsx)(dt,{settingTabContent:(0,Ce.jsxs)($e.Fragment,{children:[(0,Ce.jsxs)(je.PanelBody,{title:(0,n.__)("General","slider-blocks"),initialOpen:!0,children:[(0,Ce.jsxs)("div",{className:"gkits-control-container",children:[(0,Ce.jsx)("span",{className:"gkits-label gkits-mb-8 gkits-block",children:(0,n.__)("Design","slider-blocks")}),(0,Ce.jsx)(Te,{value:l,onChange:e=>t(((e,t)=>{const l={preset:e};return"editorial"===t&&"editorial"!==e&&(l.paginationType="bullets"),"cards"===e?{...l,paginationType:"bullets",sliderType:"carousel",carouselEffect:"slide",columnsRanges:{desk:3,tab:2,mob:1},columnsGapRanges:{desk:24,tab:20,mob:16}}:("cards"===t&&(l.sliderType="slider"),"editorial"===e&&(l.paginationType="fraction"),l)})(e,l))})]}),(0,Ce.jsx)(je.ToggleControl,{label:(0,n.__)("Show Image","slider-blocks"),checked:o,onChange:()=>t({showImage:!o}),__nextHasNoMarginBottom:!0}),(0,Ce.jsx)(je.ToggleControl,{label:(0,n.__)("Show SubTitle","slider-blocks"),checked:s,onChange:()=>t({showSubTitle:!s}),__nextHasNoMarginBottom:!0}),(0,Ce.jsx)(je.ToggleControl,{label:(0,n.__)("Show Title","slider-blocks"),checked:i,onChange:()=>t({showTitle:!i}),__nextHasNoMarginBottom:!0}),(0,Ce.jsx)(je.ToggleControl,{label:(0,n.__)("Show Description","slider-blocks"),checked:r,onChange:()=>t({showDescription:!r}),__nextHasNoMarginBottom:!0}),(0,Ce.jsx)(je.ToggleControl,{label:(0,n.__)("Show Buttons","slider-blocks"),checked:a,onChange:()=>t({showButton:!a}),__nextHasNoMarginBottom:!0}),(0,Ce.jsx)($t,{children:(0,Ce.jsx)(je.ToggleControl,{label:(0,n.__)("Enable Wrapper Link","slider-blocks"),checked:fe,onChange:()=>t({enableGlobalLink:!fe}),__nextHasNoMarginBottom:!0})}),fe&&(0,Ce.jsx)("p",{className:"gutslider-note",children:(0,n.__)("Enable this option to add a global link to all slides. You can set the link in the individual item settings. Buttons link will be ignored.","slider-blocks")}),(0,Ce.jsx)($t,{children:(0,Ce.jsx)(je.ToggleControl,{label:(0,n.__)("Enable Remote Navigation","slider-blocks"),checked:Le,onChange:()=>t({enableRemoteNav:!Le}),__nextHasNoMarginBottom:!0})})]}),(0,Ce.jsx)(je.PanelBody,{title:(0,n.__)("Slide Items","slider-blocks"),initialOpen:!1,children:(0,Ce.jsx)(ct,{items:b,onChange:e=>t({slideItems:e,addNewSlide:!u}),createItem:ze,getTitle:qe,getThumbnail:e=>(0,Ce.jsx)(We,{slide:e}),editors:Je(e,t),itemLabel:(0,n.__)("slide","slider-blocks"),addLabel:(0,n.__)("Add slide","slider-blocks"),uniqueId:e.uniqueId})}),o&&(0,Ce.jsx)(je.PanelBody,{title:(0,n.__)("Image","slider-blocks"),initialOpen:!1,children:(0,Ce.jsx)(Ct,{label:(0,n.__)("Image Position","slider-blocks"),options:[{label:"Top",value:"column"},{label:"Bottom",value:"column-reverse"},{label:"Left",value:"row"},{label:"Right",value:"row-reverse"}],onChange:e=>t({imgPosition:e}),value:d})}),(0,Ce.jsx)(je.PanelBody,{title:(0,n.__)("Slider Layout","slider-blocks"),initialOpen:!1,children:(0,Ce.jsx)(kt,{label:(0,n.__)("Slider Type","slider-blocks"),value:c,options:Xe,onChange:e=>{t({sliderType:e})}})}),(0,Ce.jsx)(je.PanelBody,{title:(0,n.__)("Container","slider-blocks"),initialOpen:!1,children:(0,Ce.jsx)(bt,{label:(0,n.__)("Height","slider-blocks"),controlName:Bt,objAttrs:Ae,min:1,max:1e3,units:["px","em","vh"]})}),(0,Ce.jsxs)(je.PanelBody,{title:(0,n.__)("Content","slider-blocks"),initialOpen:!1,children:[(0,Ce.jsx)(bt,{label:(0,n.__)("Max Width","slider-blocks"),controlName:Dt,objAttrs:Ae,min:1,max:2e3,units:["px","em","%"]}),(0,Ce.jsx)(mt,{label:(0,n.__)("V. Position","slider-blocks"),controlName:Gt,objAttrs:Ae,flexAlign:!0,flexVerticle:!0}),(0,Ce.jsx)(wt,{label:(0,n.__)("H. Position","slider-blocks"),controlName:Ht,objAttrs:Ae,options:nt}),(0,Ce.jsx)(mt,{label:(0,n.__)("Text Align","slider-blocks"),controlName:Mt,objAttrs:Ae,flexAlign:!1,flexVerticle:!1}),(0,Ce.jsx)(Ct,{label:(0,n.__)("Subtitle Tag","slider-blocks"),value:p,options:Ye,onChange:e=>{t({subtitleTag:e})}}),(0,Ce.jsx)(Ct,{label:(0,n.__)("Title Tag","slider-blocks"),value:m,options:Ye,onChange:e=>{t({titleTag:e})}}),(0,Ce.jsx)(Ct,{label:(0,n.__)("Description Tag","slider-blocks"),value:x,options:Ye,onChange:e=>{t({descriptionTag:e})}})]}),"carousel"===c&&(0,Ce.jsxs)(je.PanelBody,{title:(0,n.__)("Carousel Options","slider-blocks"),initialOpen:!1,children:[(0,Ce.jsx)(bt,{label:(0,n.__)("Columns","slider-blocks"),controlName:Tt,objAttrs:Ae,min:1,max:5,noUnits:!0}),(0,Ce.jsx)(bt,{label:(0,n.__)("Columns Gap","slider-blocks"),controlName:Lt,objAttrs:Ae,min:0,max:100})]}),(0,Ce.jsxs)(je.PanelBody,{title:(0,n.__)("Slider Options","slider-blocks"),initialOpen:!1,children:[(0,Ce.jsx)(ut,{label:(0,n.__)("Speed","slider-blocks"),value:P,onChange:e=>t({speed:e}),min:1,max:100,onClickReset:()=>t({speed:null})}),(0,Ce.jsx)(je.ToggleControl,{label:(0,n.__)("Enable Infinite Loop","slider-blocks"),checked:C,onChange:()=>{t({infiniteLoop:!C,stopOnLastSlide:!1})}}),(0,Ce.jsx)(je.ToggleControl,{label:(0,n.__)("Enable Autoplay","slider-blocks"),checked:S,onChange:()=>t({autoplay:!S})}),S&&(0,Ce.jsxs)($e.Fragment,{children:[(0,Ce.jsx)(ut,{label:(0,n.__)("Autoplay Delay","slider-blocks"),value:f,onChange:e=>t({autoplayDelay:e}),min:1,max:100,step:1,onClickReset:()=>t({autoplayDelay:""})}),(0,Ce.jsx)(je.ToggleControl,{label:(0,n.__)("Pause on Hover","slider-blocks"),checked:B,onChange:()=>t({pauseOnHover:!B})}),(0,Ce.jsx)(je.ToggleControl,{label:(0,n.__)("Stop on Last Slide","slider-blocks"),checked:T,onChange:()=>{t({stopOnLastSlide:!T,infiniteLoop:!1})}}),(0,Ce.jsx)(je.ToggleControl,{label:(0,n.__)("Reverse Direction","slider-blocks"),checked:L,onChange:()=>t({reverseDirection:!L})})]}),"carousel"===c&&(0,Ce.jsx)(je.ToggleControl,{label:(0,n.__)("Enable Center Mode","slider-blocks"),checked:A,onChange:()=>t({centerMode:!A})}),(0,Ce.jsx)(je.ToggleControl,{label:(0,n.__)("Enable Keyboard Control","slider-blocks"),checked:be,onChange:()=>t({keyboardControl:!be})}),(0,Ce.jsx)(je.ToggleControl,{label:(0,n.__)("Enable Mouse Wheel Control","slider-blocks"),checked:ue,onChange:()=>t({mousewheelControl:!ue})}),(0,Ce.jsx)(je.ToggleControl,{label:(0,n.__)("Show Navigation","slider-blocks"),checked:I,onChange:()=>t({showNavigation:!I})}),(0,Ce.jsx)(je.ToggleControl,{label:(0,n.__)("Show Pagination","slider-blocks"),checked:Z,onChange:()=>t({showPagination:!Z})})]}),(0,Ce.jsxs)(je.PanelBody,{title:(0,n.__)("Effects","slider-blocks"),initialOpen:!1,children:["slider"===c&&(0,Ce.jsxs)($e.Fragment,{children:[(0,Ce.jsx)(Ct,{label:(0,n.__)("Slide Effect","slider-blocks"),value:pe,options:Ke,onChange:e=>t({slideEffect:e}),help:(0,n.__)("Use background to see the effects properly.","slider-blocks")}),"creative"===pe&&(0,Ce.jsx)(Ct,{label:(0,n.__)("Creative Styles","slider-blocks"),value:me,options:et,onChange:e=>t({creativeEffectStyle:e})})]}),"carousel"===c&&(0,Ce.jsx)(Ct,{label:(0,n.__)("Carousel Effect","slider-blocks"),value:ge,options:tt,onChange:e=>t({carouselEffect:e}),help:(0,n.__)("Save & reload to see the effect.","slider-blocks")})]}),(0,Ce.jsxs)(je.PanelBody,{title:(0,n.__)("Motion Effects","slider-blocks"),initialOpen:!1,children:[(0,Ce.jsxs)($t,{children:[(0,Ce.jsx)(Ct,{label:(0,n.__)("Content reveal","slider-blocks"),value:e.textReveal||"",options:rt,onChange:e=>t({textReveal:e}),help:"carousel"===c?(0,n.__)("The content of every slide plays in sequence when the carousel comes into view: subtitle, title, description, then buttons.","slider-blocks"):(0,n.__)("Each slide that comes in plays in sequence: subtitle, title piece by piece, description word by word, then buttons.","slider-blocks")}),e.textReveal&&(0,Ce.jsx)("div",{className:"gs-reveal-speed",children:(0,Ce.jsx)(kt,{label:(0,n.__)("Reveal speed","slider-blocks"),value:e.revealSpeed||"",options:it,onChange:e=>t({revealSpeed:e})})})]}),(0,Ce.jsx)(Ct,{label:(0,n.__)("Pointer effect","slider-blocks"),value:e.pointerEffect||"",options:at,onChange:e=>t({pointerEffect:e}),help:(0,n.__)("The slide follows the mouse. Not used on touch screens.","slider-blocks")}),(0,Ce.jsx)(je.ToggleControl,{label:(0,n.__)("Magnetic buttons","slider-blocks"),help:(0,n.__)("Buttons lean towards the mouse as it comes close.","slider-blocks"),checked:!!e.magneticButtons,onChange:e=>t({magneticButtons:e})}),(0,Ce.jsx)("p",{className:"gs-motion-note",children:(0,n.__)("These play on the published page and in Preview, and stay still for visitors who prefer reduced motion.","slider-blocks")})]}),Le&&(0,Ce.jsxs)(je.PanelBody,{title:(0,n.__)("Remote Navigation","slider-blocks"),initialOpen:!1,children:[(0,Ce.jsx)(je.TextControl,{label:(0,n.__)("Previous Selector","slider-blocks"),value:Be,onChange:e=>t({remotePrevSelector:e}),help:(0,n.__)("Add the selector class to navigate to the previous slide.","slider-blocks")}),(0,Ce.jsx)(je.TextControl,{label:(0,n.__)("Next Selector","slider-blocks"),value:Pe,onChange:e=>t({remoteNextSelector:e}),help:(0,n.__)("Add the selector class to navigate to the next slide.","slider-blocks")}),(0,Ce.jsxs)("p",{className:"gutslider-note",children:[(0,Ce.jsxs)("strong",{children:[(0,n.__)("Note:","slider-blocks")," "]}),(0,n.__)("Save and refresh the page to see the changes in the editor.","slider-blocks")]})," "]}),I&&!Le&&(0,Ce.jsxs)(je.PanelBody,{title:(0,n.__)("Navigation","slider-blocks"),initialOpen:!1,children:[(0,Ce.jsx)(kt,{label:(0,n.__)("Position Type","slider-blocks"),value:M,options:ot,onChange:e=>{t({navContainerPosition:e})}}),(0,Ce.jsx)(Ct,{label:(0,n.__)("Position","slider-blocks"),value:O,options:st,onChange:e=>{t({navPosition:e})}}),(0,Ce.jsx)(je.ToggleControl,{label:(0,n.__)("Custom Navigation Icon","slider-blocks"),checked:H,onChange:()=>t({customNavIcon:!H})}),H&&(0,Ce.jsxs)($e.Fragment,{children:[(0,Ce.jsx)(kt,{label:(0,n.__)("Icon Source","slider-blocks"),value:E,options:[{label:(0,n.__)("Library","slider-blocks"),value:"library"},{label:(0,n.__)("Custom SVG","slider-blocks"),value:"custom"}],onChange:e=>{t({navIconSource:e})}}),"library"===E&&(0,Ce.jsxs)($e.Fragment,{children:[(0,Ce.jsx)(_t,{label:(0,n.__)("Prev Icon","slider-blocks"),value:V,onChange:e=>{t({navPrevIcon:e})}}),(0,Ce.jsx)(_t,{label:(0,n.__)("Next Icon","slider-blocks"),value:z,onChange:e=>{t({navNextIcon:e})}})]}),"custom"===E&&(0,Ce.jsxs)($e.Fragment,{children:[(0,Ce.jsx)(je.TextareaControl,{label:(0,n.__)("Prev SVG Code","slider-blocks"),help:(0,n.__)("Paste your custom SVG codes here","slider-blocks"),value:q,onChange:e=>t({customPrevSVG:e})}),(0,Ce.jsx)(je.TextareaControl,{label:(0,n.__)("Next SVG Code","slider-blocks"),help:(0,n.__)("Paste your custom SVG codes here","slider-blocks"),value:W,onChange:e=>t({customNextSVG:e})})]})]})]}),Z&&(0,Ce.jsx)(je.PanelBody,{title:(0,n.__)("Pagination","slider-blocks"),initialOpen:!1,children:(0,Ce.jsxs)($e.Fragment,{children:[(0,Ce.jsx)(kt,{label:(0,n.__)("Pagination Type","slider-blocks"),value:J,options:lt,onChange:e=>{t({paginationType:e})}}),(0,Ce.jsx)(Ue,{attributes:e,setAttributes:t}),"bullets"===J&&!X&&(0,Ce.jsx)(je.ToggleControl,{label:(0,n.__)("Dynamic Bullets","slider-blocks"),checked:U,onChange:()=>t({dynamicBullets:!U})})]})}),(0,Ce.jsx)(St,{attributes:e,setAttributes:t,imageNote:(0,n.__)("Each thumbnail uses the slide thumbnail image if set, otherwise the content image, otherwise the background image. Set a custom thumbnail per slide in the Slide Items panel.","slider-blocks"),titleNote:(0,n.__)("Each thumbnail uses the slide thumbnail title if set, otherwise the slide title. Set a shorter title per slide in the Slide Items panel.","slider-blocks")})]}),designTabContent:(0,Ce.jsxs)($e.Fragment,{children:[(0,Ce.jsxs)(je.PanelBody,{title:(0,n.__)("Container","slider-blocks"),initialOpen:!0,children:[(0,Ce.jsx)(yt,{label:(0,n.__)("Background","slider-blocks"),controlName:At,objAttrs:Ae}),(0,Ce.jsx)("p",{className:"gs-motion-note gs-container-note",children:(0,n.__)("Shows around the slides: add Padding below to see it. To colour the text area, use Content → Background Color.","slider-blocks")}),(0,Ce.jsx)(xt,{controlName:Ft,objAttrs:Ae}),(0,Ce.jsx)(pt,{label:(0,n.__)("Border Radius","slider-blocks"),controlName:Rt,objAttrs:Ae,min:0,max:500}),(0,Ce.jsx)(pt,{label:(0,n.__)("Padding","slider-blocks"),controlName:Pt,objAttrs:Ae,min:0,max:500}),(0,Ce.jsx)(pt,{label:(0,n.__)("Margin","slider-blocks"),controlName:It,objAttrs:Ae,min:-500,max:500})]}),(0,Ce.jsxs)(je.PanelBody,{title:(0,n.__)("Content","slider-blocks"),initialOpen:!1,children:[(0,Ce.jsx)(gt,{label:(0,n.__)("Background Color","slider-blocks"),color:Se,onChange:e=>{t({contentBgColor:e})}}),(0,Ce.jsx)(xt,{controlName:Et,objAttrs:Ae,noHover:!0}),(0,Ce.jsx)(pt,{label:(0,n.__)("Border Radius","slider-blocks"),controlName:Vt,objAttrs:Ae,min:0,max:500}),(0,Ce.jsx)(pt,{label:(0,n.__)("Padding","slider-blocks"),controlName:Ot,objAttrs:Ae,min:0,max:500}),(0,Ce.jsx)(pt,{label:(0,n.__)("Margin","slider-blocks"),controlName:zt,objAttrs:Ae,min:-500,max:500})]}),Fe.map((e=>e.photo?.url&&o&&(0,Ce.jsxs)(je.PanelBody,{title:(0,n.__)("Image","slider-blocks"),initialOpen:!1,children:[(0,Ce.jsx)(bt,{label:(0,n.__)("Image Size","slider-blocks"),controlName:ol,objAttrs:Ae,min:0,max:500}),(0,Ce.jsx)(xt,{controlName:sl,objAttrs:Ae,noHover:!0}),(0,Ce.jsx)(pt,{label:(0,n.__)("Border Radius","slider-blocks"),controlName:nl,objAttrs:Ae,min:0,max:500}),(0,Ce.jsx)(pt,{label:(0,n.__)("Padding","slider-blocks"),controlName:il,objAttrs:Ae,min:0,max:500}),(0,Ce.jsx)(pt,{label:(0,n.__)("Margin","slider-blocks"),controlName:rl,objAttrs:Ae,min:-500,max:500})]}))),(0,Ce.jsxs)(je.PanelBody,{title:(0,n.__)("Subtitle","slider-blocks"),initialOpen:!1,children:["slider"===c&&e.textReveal&&Ie,"slider"===c&&!e.textReveal&&(0,Ce.jsxs)($e.Fragment,{children:[(0,Ce.jsx)(Ct,{label:(0,n.__)("Animation","slider-blocks"),value:_,options:Qe,onChange:e=>{t({subtitleAnimation:e})}}),"none"!==_&&""!==_&&(0,Ce.jsx)(ut,{label:(0,n.__)("Transition Delay","slider-blocks"),value:ye,onChange:e=>t({subtitleDelay:e}),min:0,max:2,step:.01,onClickReset:()=>t({subtitleDelay:null})})]}),(0,Ce.jsx)(gt,{label:(0,n.__)("Color","slider-blocks"),color:g,onChange:e=>{t({subtitleColor:e})}}),(0,Ce.jsx)(ht,{label:(0,n.__)("Typography","slider-blocks"),controlName:dl,objAttrs:Ae}),(0,Ce.jsx)(pt,{label:(0,n.__)("Spacing","slider-blocks"),controlName:al,objAttrs:Ae,min:-200,max:200})]}),(0,Ce.jsxs)(je.PanelBody,{title:(0,n.__)("Title","slider-blocks"),initialOpen:!1,children:["slider"===c&&e.textReveal&&Ie,"slider"===c&&!e.textReveal&&(0,Ce.jsxs)($e.Fragment,{children:[(0,Ce.jsx)(Ct,{label:(0,n.__)("Animation","slider-blocks"),value:N,options:Qe,onChange:e=>{t({titleAnimation:e})}}),"none"!==N&&""!==N&&(0,Ce.jsx)(ut,{label:(0,n.__)("Transition Delay","slider-blocks"),value:he,onChange:e=>t({titleDelay:e}),min:0,max:2,step:.01,onClickReset:()=>t({titleDelay:null})})]}),(0,Ce.jsx)(gt,{label:(0,n.__)("Color","slider-blocks"),color:h,onChange:e=>{t({titleColor:e})}}),(0,Ce.jsx)(ht,{label:(0,n.__)("Typography","slider-blocks"),controlName:ll,objAttrs:Ae}),(0,Ce.jsx)(pt,{label:(0,n.__)("Spacing","slider-blocks"),controlName:tl,objAttrs:Ae,min:-200,max:200})]}),(0,Ce.jsxs)(je.PanelBody,{title:(0,n.__)("Description","slider-blocks"),initialOpen:!1,children:["slider"===c&&e.textReveal&&Ie,"slider"===c&&!e.textReveal&&(0,Ce.jsxs)($e.Fragment,{children:[(0,Ce.jsx)(Ct,{label:(0,n.__)("Animation","slider-blocks"),value:j,options:Qe,onChange:e=>{t({descAnimation:e})}}),"none"!==j&&""!==j&&(0,Ce.jsx)(ut,{label:(0,n.__)("Transition Delay","slider-blocks"),value:ve,onChange:e=>t({descDelay:e}),min:0,max:2,step:.01,onClickReset:()=>t({descDelay:null})})]}),(0,Ce.jsx)(gt,{label:(0,n.__)("Color","slider-blocks"),color:y,onChange:e=>{t({descriptionColor:e})}}),(0,Ce.jsx)(ht,{label:(0,n.__)("Typography","slider-blocks"),controlName:bl,objAttrs:Ae}),(0,Ce.jsx)(pt,{label:(0,n.__)("Spacing","slider-blocks"),controlName:cl,objAttrs:Ae,min:-200,max:200})]}),(0,Ce.jsxs)(je.PanelBody,{title:(0,n.__)("Primary Button","slider-blocks"),initialOpen:!1,children:["slider"===c&&e.textReveal&&Ie,"slider"===c&&!e.textReveal&&(0,Ce.jsxs)($e.Fragment,{children:[(0,Ce.jsx)(Ct,{label:(0,n.__)("Animation","slider-blocks"),value:w,options:Qe,onChange:e=>{t({btnAnimation:e})}}),"none"!==w&&""!==w&&(0,Ce.jsx)(ut,{label:(0,n.__)("Transition Delay","slider-blocks"),value:Ne,onChange:e=>t({btnDelay:e}),min:0,max:2,step:.01,onClickReset:()=>t({btnDelay:null})})]}),(0,Ce.jsx)(ht,{label:(0,n.__)("Typography","slider-blocks"),controlName:Ut,objAttrs:Ae}),(0,Ce.jsx)(xt,{controlName:qt,objAttrs:Ae}),(0,Ce.jsx)(pt,{label:(0,n.__)("Border Radius","slider-blocks"),controlName:Wt,objAttrs:Ae,min:0,max:100}),(0,Ce.jsx)(pt,{label:(0,n.__)("Padding","slider-blocks"),controlName:Jt,objAttrs:Ae,min:0,max:100}),(0,Ce.jsx)(pt,{label:(0,n.__)("Margin","slider-blocks"),controlName:Zt,objAttrs:Ae,min:0,max:100}),(0,Ce.jsx)(vt,{normal:(0,Ce.jsxs)($e.Fragment,{children:[(0,Ce.jsx)(gt,{label:(0,n.__)("Color","slider-blocks"),color:k&&k.btnTextColor,onChange:e=>{const l={...k,btnTextColor:e};t({btnColors:l})}}),(0,Ce.jsx)(gt,{label:(0,n.__)("Background","slider-blocks"),color:k&&k.btnBgColor,onChange:e=>{const l={...k,btnBgColor:e};t({btnColors:l})}})]}),hover:(0,Ce.jsxs)($e.Fragment,{children:[(0,Ce.jsx)(gt,{label:(0,n.__)("Color","slider-blocks"),color:k&&k.btnHoverTextColor,onChange:e=>{const l={...k,btnHoverTextColor:e};t({btnColors:l})}}),(0,Ce.jsx)(gt,{label:(0,n.__)("Background","slider-blocks"),color:k&&k.btnHoverBgColor,onChange:e=>{const l={...k,btnHoverBgColor:e};t({btnColors:l})}})]})})]}),Fe.map((l=>l.showSbtnLinks&&(0,Ce.jsxs)(je.PanelBody,{title:(0,n.__)("Secondary Button","slider-blocks"),initialOpen:!1,children:["slider"===c&&e.textReveal&&Ie,"slider"===c&&!e.textReveal&&(0,Ce.jsxs)($e.Fragment,{children:[(0,Ce.jsx)(Ct,{label:(0,n.__)("Animation","slider-blocks"),value:$,options:Qe,onChange:e=>{t({sbtnAnimation:e})}}),"none"!==$&&""!==$&&(0,Ce.jsx)(ut,{label:(0,n.__)("Transition Delay","slider-blocks"),value:we,onChange:e=>t({sbtnDelay:e}),min:0,max:2,step:.01,onClickReset:()=>t({sbtnDelay:null})})]}),(0,Ce.jsx)(ht,{label:(0,n.__)("Typography","slider-blocks"),controlName:el,objAttrs:Ae}),(0,Ce.jsx)(xt,{controlName:Xt,objAttrs:Ae}),(0,Ce.jsx)(pt,{label:(0,n.__)("Border Radius","slider-blocks"),controlName:Yt,objAttrs:Ae,min:0,max:100}),(0,Ce.jsx)(pt,{label:(0,n.__)("Padding","slider-blocks"),controlName:Kt,objAttrs:Ae,min:0,max:100}),(0,Ce.jsx)(pt,{label:(0,n.__)("Margin","slider-blocks"),controlName:Qt,objAttrs:Ae,min:0,max:100}),(0,Ce.jsx)(vt,{normal:(0,Ce.jsxs)($e.Fragment,{children:[(0,Ce.jsx)(gt,{label:(0,n.__)("Color","slider-blocks"),color:v&&v.btnTextColor,onChange:e=>{const l={...v,btnTextColor:e};t({sbtnColors:l})}}),(0,Ce.jsx)(gt,{label:(0,n.__)("Background","slider-blocks"),color:v&&v.btnBgColor,onChange:e=>{const l={...v,btnBgColor:e};t({sbtnColors:l})}})]}),hover:(0,Ce.jsxs)($e.Fragment,{children:[(0,Ce.jsx)(gt,{label:(0,n.__)("Color","slider-blocks"),color:v&&v.btnHoverTextColor,onChange:e=>{const l={...v,btnHoverTextColor:e};t({sbtnColors:l})}}),(0,Ce.jsx)(gt,{label:(0,n.__)("Background","slider-blocks"),color:v&&v.btnHoverBgColor,onChange:e=>{const l={...v,btnHoverBgColor:e};t({sbtnColors:l})}})]})})]}))),I&&(0,Ce.jsxs)(je.PanelBody,{title:(0,n.__)("Navigation","slider-blocks"),initialOpen:!1,children:[(0,Ce.jsx)(bt,{label:(0,n.__)("Width","slider-blocks"),controlName:ml,objAttrs:Ae,min:1,max:100,units:["px","em","rem"]}),(0,Ce.jsx)(bt,{label:(0,n.__)("Height","slider-blocks"),controlName:gl,objAttrs:Ae,min:1,max:100,units:["px","em","rem"]}),(0,Ce.jsx)(bt,{label:(0,n.__)("Icon Size","slider-blocks"),controlName:hl,objAttrs:Ae,min:1,max:100,units:["px","em","rem"]}),(0,Ce.jsx)(bt,{label:(0,n.__)("Icon Gap","gutslider-pro"),controlName:yl,objAttrs:Ae,min:0,max:100,units:["px","em","rem"]}),(0,Ce.jsx)(xt,{controlName:ul,objAttrs:Ae}),(0,Ce.jsx)(pt,{label:(0,n.__)("Border Radius","slider-blocks"),controlName:pl,objAttrs:Ae,min:0,max:100}),(0,Ce.jsx)(pt,{label:(0,n.__)("Margin","slider-blocks"),controlName:xl,objAttrs:Ae,min:-500,max:500}),(0,Ce.jsx)(vt,{normal:(0,Ce.jsxs)($e.Fragment,{children:[(0,Ce.jsx)(gt,{label:(0,n.__)("Color","slider-blocks"),color:F,onChange:e=>{t({navColor:e})}}),(0,Ce.jsx)(gt,{label:(0,n.__)("Background","slider-blocks"),color:D,onChange:e=>{t({navBgColor:e})}})]}),hover:(0,Ce.jsxs)($e.Fragment,{children:[(0,Ce.jsx)(gt,{label:(0,n.__)("Color","slider-blocks"),color:R,onChange:e=>{t({navHoverColor:e})}}),(0,Ce.jsx)(gt,{label:(0,n.__)("Background","slider-blocks"),color:G,onChange:e=>{t({navHoverBgColor:e})}})]})})]}),Z&&(0,Ce.jsxs)(je.PanelBody,{title:(0,n.__)("Pagination","slider-blocks"),initialOpen:!1,children:["fraction"===J&&(0,Ce.jsx)(bt,{label:(0,n.__)("Size","slider-blocks"),controlName:fl,objAttrs:Ae,min:1,max:100,units:["px","em","rem"]}),"progressbar"===J&&(0,Ce.jsx)(bt,{label:(0,n.__)("Size","slider-blocks"),controlName:Tl,objAttrs:Ae,min:1,max:100,units:["px","em","rem"]}),(0,Ce.jsx)(pt,{label:(0,n.__)("Margin","slider-blocks"),controlName:jl,objAttrs:Ae,min:-500,max:500}),(0,Ce.jsx)(vt,{options:[{label:(0,n.__)("Normal","slider-blocks"),value:"normal"},{label:(0,n.__)("Active","slider-blocks"),value:"hover"}],normal:(0,Ce.jsxs)($e.Fragment,{children:["bullets"===J&&(0,Ce.jsxs)($e.Fragment,{children:[(0,Ce.jsx)(bt,{label:(0,n.__)("Width","slider-blocks"),controlName:_l,objAttrs:Ae,min:1,max:100,units:["px","em","rem"]}),(0,Ce.jsx)(bt,{label:(0,n.__)("Height","slider-blocks"),controlName:Nl,objAttrs:Ae,min:1,max:100,units:["px","em","rem"]}),(0,Ce.jsx)(gt,{label:(0,n.__)("Color","slider-blocks"),color:se,onChange:e=>{t({pagColor:e})}}),(0,Ce.jsx)(xt,{controlName:kl,objAttrs:Ae}),(0,Ce.jsx)(pt,{label:(0,n.__)("Border Radius","slider-blocks"),controlName:vl,objAttrs:Ae,min:0,max:100})]}),"fraction"===J&&(0,Ce.jsxs)($e.Fragment,{children:[(0,Ce.jsx)(gt,{label:(0,n.__)("Color","slider-blocks"),color:ie,onChange:e=>{t({pagFracColor:e})}}),(0,Ce.jsx)(gt,{label:(0,n.__)("Divider Color","slider-blocks"),color:ae,onChange:e=>{t({fracDividerColor:e})}})]}),"progressbar"===J&&(0,Ce.jsx)($e.Fragment,{children:(0,Ce.jsx)(gt,{label:(0,n.__)("Color","slider-blocks"),color:de,onChange:e=>{t({progressColor:e})}})})]}),hover:(0,Ce.jsxs)($e.Fragment,{children:["bullets"===J&&(0,Ce.jsxs)($e.Fragment,{children:[(0,Ce.jsx)(bt,{label:(0,n.__)("Width","slider-blocks"),controlName:Sl,objAttrs:Ae,min:1,max:100,units:["px","em","rem"]}),(0,Ce.jsx)(bt,{label:(0,n.__)("Height","slider-blocks"),controlName:Cl,objAttrs:Ae,min:1,max:100,units:["px","em","rem"]}),(0,Ce.jsx)(gt,{label:(0,n.__)("Color","slider-blocks"),color:ne,onChange:e=>{t({activePagColor:e})}}),(0,Ce.jsx)(xt,{controlName:wl,objAttrs:Ae}),(0,Ce.jsx)(pt,{label:(0,n.__)("Border Radius","slider-blocks"),controlName:$l,objAttrs:Ae,min:0,max:100})]}),"fraction"===J&&(0,Ce.jsx)($e.Fragment,{children:(0,Ce.jsx)(gt,{label:(0,n.__)("Color","slider-blocks"),color:re,onChange:e=>{t({pagFracCurrentColor:e})}})}),"progressbar"===J&&(0,Ce.jsx)($e.Fragment,{children:(0,Ce.jsx)(gt,{label:(0,n.__)("Color","slider-blocks"),color:ce,onChange:e=>{t({activeProgressColor:e})}})})]})})]}),(0,Ce.jsx)(ft,{attributes:e,setAttributes:t,objAttrs:Ae})]})}),(0,Ce.jsx)(jt,{message:(0,n.__)("GutSlider Pro","slider-blocks")}),(0,Ce.jsx)(Nt,{})]})},Bl=(e=[])=>(e||[]).map((e=>({src:e?.thumb?.url||e?.photo?.url||e?.image?.url||gutslider_swiper?.placeholder||"",alt:e?.thumb?.alt||e?.photo?.alt||e?.image?.alt||"",title:e?.thumbTitle||e?.title||e?.panelTitle||""}))),{useEffect:Pl}=wp.element,{softMinifyCssStrings:Il}=window.gutSliderModules.Helper,{generateRangeStyles:Al,generateBorderStyles:Fl,generateBgStyles:Rl,generateResBoxStyles:Dl,generateTypographyStyles:Gl,generateAlignmentStyles:Ml,generateResBtnsStyles:Ol,generateThumbsStyles:Hl,generatePaginationStyles:El}=window.gutSliderModules,{C4:Vl,gp:zl,jD:ql,MA:Wl,tB:Zl,nc:Jl,ZS:Ul,G:Xl,is:Yl,o9:Ql,ip:Kl,f1:eo,nF:to,pU:lo,M6:oo,Qi:so,rX:no,OV:io,ki:ro,Lp:ao,$f:co,he:bo,iW:uo,xo:po,xP:go,oL:mo,P9:ho,_$:xo,MC:yo,vv:ko,yb:vo,bI:No,yo:_o,ow:jo,Hg:wo,XB:$o,Hj:Co,MJ:So,Dv:fo,WT:To,Vw:Lo,v5:Bo,mr:Po,Gw:Io,Gs:Ao,F$:Fo,og:Ro,zc:Do,tP:Go,$C:Mo,o8:Oo,je:Ho,ND:Eo}=o,Vo=({attributes:e,setAttributes:t})=>{const{uniqueId:l,blockStyle:o,imgPosition:s,subtitleColor:n,titleColor:i,descriptionColor:r,btnColors:a,sbtnColors:d,showNavigation:c,navColor:b,navHoverColor:u,navBgColor:p,navHoverBgColor:g,navContainerPosition:m,navPosition:h,showPagination:x,paginationType:y,paginationStyle:k,autoplay:v,autoplayDelay:N,pauseOnHover:_,pagColor:j,pagFracColor:w,pagFracCurrentColor:$,fracDividerColor:C,activePagColor:S,progressColor:f,activeProgressColor:T,subtitleDelay:L,titleDelay:B,descDelay:P,btnDelay:I,sbtnDelay:A,contentBgColor:F,showThumbs:R,thumbSizing:D,thumbContent:G,thumbTitlePosition:M,thumbTitleColor:O,activeThumbTitleColor:H,thumbTitleBgColor:E,thumbOpacity:V,activeThumbOpacity:z}=e,{deskStyle:q,tabStyle:W,mobStyle:Z}=Al({controlName:Vl,attributes:e,propertyName:"height"}),{boxDeskStyles:J,boxTabStyles:U,boxMobStyles:X}=Dl({controlName:zl,attributes:e,propertyName:"padding"}),{boxDeskStyles:Y,boxTabStyles:Q,boxMobStyles:K}=Dl({controlName:ql,attributes:e,propertyName:"margin"}),{bgStyle:ee}=Rl({controlName:Wl,attributes:e}),{desktopStyles:te,tabletStyles:le,mobileStyles:oe,hoverColor:se}=Fl({controlName:Zl,attributes:e}),{boxDeskStyles:ne,boxTabStyles:ie,boxMobStyles:re}=Dl({controlName:Jl,attributes:e,propertyName:"border-radius",forRadius:!0}),{boxDeskStyles:ae,boxTabStyles:de,boxMobStyles:ce}=Dl({controlName:Ql,attributes:e,propertyName:"padding"}),{deskStyle:be,tabStyle:ue,mobStyle:pe}=Al({controlName:Ul,attributes:e,propertyName:"max-width"}),{deskAlign:ge,tabAlign:me,mobAlign:he}=Ml({controlName:Xl,attributes:e,propertyName:"justify-content"}),{deskAlign:xe,tabAlign:ye,mobAlign:ke}=Ol({controlName:Kl,attributes:e,noProperty:!0}),{deskAlign:ve,tabAlign:Ne,mobAlign:_e}=Ml({controlName:Yl,attributes:e,propertyName:"text-align"}),{desktopStyles:je,tabletStyles:we,mobileStyles:$e}=Fl({controlName:eo,attributes:e}),{boxDeskStyles:Se,boxTabStyles:fe,boxMobStyles:Te}=Dl({controlName:to,attributes:e,propertyName:"border-radius",forRadius:!0}),{boxDeskStyles:Le,boxTabStyles:Be,boxMobStyles:Pe}=Dl({controlName:lo,attributes:e,propertyName:"margin"}),{deskStyle:Ie,tabStyle:Ae,mobStyle:Fe}=Al({controlName:ho,attributes:e,propertyName:"width"}),{deskStyle:Re,tabStyle:De,mobStyle:Ge}=Al({controlName:ho,attributes:e,propertyName:"height"}),{desktopStyles:Me,tabletStyles:Oe,mobileStyles:He}=Fl({controlName:xo,attributes:e}),{boxDeskStyles:Ee,boxTabStyles:Ve,boxMobStyles:ze}=Dl({controlName:yo,attributes:e,propertyName:"border-radius",forRadius:!0}),{boxDeskStyles:qe,boxTabStyles:We,boxMobStyles:Ze}=Dl({controlName:ko,attributes:e,propertyName:"padding"}),{boxDeskStyles:Je,boxTabStyles:Ue,boxMobStyles:Xe}=Dl({controlName:vo,attributes:e,propertyName:"margin"}),{desktopStyles:Ye,tabletStyles:Qe,mobileStyles:Ke,hoverColor:et}=Fl({controlName:oo,attributes:e}),{boxDeskStyles:tt,boxTabStyles:lt,boxMobStyles:ot}=Dl({controlName:so,attributes:e,propertyName:"border-radius",forRadius:!0}),{boxDeskStyles:st,boxTabStyles:nt,boxMobStyles:it}=Dl({controlName:no,attributes:e,propertyName:"padding"}),{boxDeskStyles:rt,boxTabStyles:at,boxMobStyles:dt}=Dl({controlName:io,attributes:e,propertyName:"margin"}),{desktopStyles:ct,tabletStyles:bt,mobileStyles:ut}=Gl({controlName:ro,attributes:e}),{desktopStyles:pt,tabletStyles:gt,mobileStyles:mt,hoverColor:ht}=Fl({controlName:ao,attributes:e}),{boxDeskStyles:xt,boxTabStyles:yt,boxMobStyles:kt}=Dl({controlName:co,attributes:e,propertyName:"border-radius",forRadius:!0}),{boxDeskStyles:vt,boxTabStyles:Nt,boxMobStyles:_t}=Dl({controlName:uo,attributes:e,propertyName:"padding"}),{boxDeskStyles:jt,boxTabStyles:wt,boxMobStyles:$t}=Dl({controlName:bo,attributes:e,propertyName:"margin"}),{desktopStyles:Ct,tabletStyles:St,mobileStyles:ft}=Gl({controlName:po,attributes:e}),{boxDeskStyles:Tt,boxTabStyles:Lt,boxMobStyles:Bt}=Dl({controlName:go,attributes:e,propertyName:"margin"}),{desktopStyles:Pt,tabletStyles:It,mobileStyles:At}=Gl({controlName:mo,attributes:e}),{boxDeskStyles:Ft,boxTabStyles:Rt,boxMobStyles:Dt}=Dl({controlName:No,attributes:e,propertyName:"margin"}),{desktopStyles:Gt,tabletStyles:Mt,mobileStyles:Ot}=Gl({controlName:_o,attributes:e}),{boxDeskStyles:Ht,boxTabStyles:Et,boxMobStyles:Vt}=Dl({controlName:jo,attributes:e,propertyName:"margin"}),{desktopStyles:zt,tabletStyles:qt,mobileStyles:Wt}=Gl({controlName:wo,attributes:e}),{boxDeskStyles:Zt,boxTabStyles:Jt,boxMobStyles:Ut}=Dl({controlName:Lo,attributes:e,propertyName:"margin"}),{desktopStyles:Xt,tabletStyles:Yt,mobileStyles:Qt,hoverColor:Kt}=Fl({controlName:$o,attributes:e}),{boxDeskStyles:el,boxTabStyles:tl,boxMobStyles:ll}=Dl({controlName:Co,attributes:e,propertyName:"border-radius",forRadius:!0}),{deskStyle:ol,tabStyle:sl,mobStyle:nl}=Al({controlName:So,attributes:e,propertyName:"height"}),{deskStyle:il,tabStyle:rl,mobStyle:al}=Al({controlName:fo,attributes:e,propertyName:"width"}),{deskStyle:dl,tabStyle:cl,mobStyle:bl}=Al({controlName:To,attributes:e,propertyName:"font-size"}),{deskStyle:ul,tabStyle:pl,mobStyle:gl}=Al({controlName:To,attributes:e,propertyName:"width"}),{deskStyle:ml,tabStyle:hl,mobStyle:xl}=Al({controlName:To,attributes:e,propertyName:"height"}),{deskStyle:yl,tabStyle:kl,mobStyle:vl}=Al({controlName:Bo,attributes:e,propertyName:"gap"}),{boxDeskStyles:Nl,boxTabStyles:_l,boxMobStyles:jl}=Dl({controlName:Ro,attributes:e,propertyName:"margin"}),{desktopStyles:wl,tabletStyles:$l,mobileStyles:Cl,hoverColor:Sl}=Fl({controlName:Po,attributes:e}),{boxDeskStyles:fl,boxTabStyles:Tl,boxMobStyles:Ll}=Dl({controlName:Io,attributes:e,propertyName:"border-radius",forRadius:!0}),{deskStyle:Bl,tabStyle:Vo,mobStyle:zo}=Al({controlName:Fo,attributes:e,propertyName:"height"}),{deskStyle:qo,tabStyle:Wo,mobStyle:Zo}=Al({controlName:Ao,attributes:e,propertyName:"width"}),{desktopStyles:Jo,tabletStyles:Uo,mobileStyles:Xo,hoverColor:Yo}=Fl({controlName:Do,attributes:e}),{boxDeskStyles:Qo,boxTabStyles:Ko,boxMobStyles:es}=Dl({controlName:Go,attributes:e,propertyName:"border-radius",forRadius:!0}),{deskStyle:ts,tabStyle:ls,mobStyle:os}=Al({controlName:Oo,attributes:e,propertyName:"height"}),{deskStyle:ss,tabStyle:ns,mobStyle:is}=Al({controlName:Mo,attributes:e,propertyName:"width"}),{deskStyle:rs,tabStyle:as,mobStyle:ds}=Al({controlName:Ho,attributes:e,propertyName:"font-size"}),{deskStyle:cs,tabStyle:bs,mobStyle:us}=Al({controlName:Eo,attributes:e,propertyName:"height"}),{thumbDeskStyles:ps,thumbTabStyles:gs,thumbMobStyles:ms}=Hl({attributes:e,uniqueId:l,blockClass:"wp-block-gutsliders-content-slider"}),hs=`\n\t\t${F?`.${l}.wp-block-gutsliders-content-slider {\n\t\t\t\t\t--gs-content-bg: ${F};\n\t\t\t\t}`:""}\n\t\t${ee||te||ne?`.${l}.wp-block-gutsliders-content-slider {\n\t\t\t\t\t${ee||""}\n\t\t\t\t\t${te||""}\n\t\t\t\t\t${ne||""}\n\t\t\t\t}`:""}\n\t\t${se?`.${l}.wp-block-gutsliders-content-slider:hover {\n\t\t\t\t\t${se}\n\t\t\t\t}`:""}\n\t\t${ne?`.${l}.wp-block-gutsliders-content-slider .swiper:not(.gutslider-thumbs) {\n\t\t\t\t\t${ne}\n\t\t\t\t}`:""}\n\t\t${Y?`.${l}.wp-block-gutsliders-content-slider {\n\t\t\t\t\t${Y||""}\n\t\t\t\t}`:""}\n\t\t${J?`.${l}.wp-block-gutsliders-content-slider.${m}.${h} {\n ${J||""}\n\t\t\t\t}`:""}\n\t\t${q||ge?`.${l}.wp-block-gutsliders-content-slider .gutslider-content-wrapper {\n\t\t\t\t\t${q||""}\n\t\t\t\t\t${ge||""}\n\t\t\t\t}`:""}\n\t\t${be||ve||xe||ae||Le||je||Se||F?`.${l}.wp-block-gutsliders-content-slider .gutslider-content-inner {\n\t\t\t\t\t${be||""}\n\t\t\t\t\t${ve||""}\n ${xe||""}\n ${ae||""}\n ${Le||""}\n ${je||""}\n ${Se||""}\n ${F?`background-color: ${F};`:""}\n\t\t\t\t}`:""}\n ${s?`.${l}.wp-block-gutsliders-content-slider .gutslider-content-position {\n ${"row"===s||"row-reverse"===s?"margin-top:65px;":""}\n ${s?`flex-direction: ${s};`:""}\n \n\t\t\t\t}`:""}\n \n ${Me||Ee||qe||Je||Ie||Re?`.${l}.wp-block-gutsliders-content-slider .gutslider-content-image img {\n ${Ie||""}\n ${Re||""}\n ${Me||""}\n ${Ee||""}\n ${qe||""}\n ${Je||""}\n }`:""}\n\t\t${n||Ft||Gt||L?`.${l}.wp-block-gutsliders-content-slider .gutslider-content-wrapper .gutslider-subtitle { \n\t\t\t\t\t${n?`color: ${n};`:""}\n\t\t\t\t\t${Ft||""}\n\t\t\t\t\t${Gt||""}\n ${L?`transition-delay: ${L}s, ${L}s, 0s, 0s !important;`:""}\n\t\t\t\t}`:""}\n\t\t${i||Tt||Pt||B?`.${l}.wp-block-gutsliders-content-slider .gutslider-content-wrapper .gutslider-title { \n\t\t\t\t\t${i?`color: ${i};`:""}\n\t\t\t\t\t${Tt||""}\n\t\t\t\t\t${Pt||""}\n ${B?`transition-delay: ${B}s, ${B}s, 0s, 0s !important;`:""}\n\t\t\t\t}`:""}\n\t\t${r||Ht||zt||P?`.${l}.wp-block-gutsliders-content-slider .gutslider-content-wrapper .gutslider-description {\n\t\t\t\t\t${r?`color: ${r};`:""}\n\t\t\t\t\t${Ht||""}\n\t\t\t\t\t${zt||""}\n ${P?`transition-delay: ${P}s, ${P}s, 0s, 0s !important;`:""}\n\t\t\t\t}`:""}\n\t\t\n\t\t${tt||st||rt||a.btnTextColor||a.btnBgColor||Ye||ct||I?`.${l}.wp-block-gutsliders-content-slider .gutslider-cta { \n\t\t\t\t\t\t${tt||""}\n\t\t\t\t\t\t${st||""} \n\t\t\t\t\t\t${rt||""} \n\t\t\t\t\t\t${a.btnTextColor?`color: ${a.btnTextColor};`:""}\n\t\t\t\t\t\t${a.btnBgColor?`background-color: ${a.btnBgColor};`:""}\n\t\t\t\t\t\t${Ye||""}\n ${ct||""}\n ${I?`transition-delay: ${I}s, ${I}s, 0s, 0s !important;`:""}\n\t\t\t\t\t}`:""}\n ${a.btnHoverTextColor||a.btnHoverBgColor||et?` \n\t\t\t\t.${l}.wp-block-gutsliders-content-slider .gutslider-cta:hover {\n\t\t\t\t\t${a.btnHoverTextColor?`color: ${a.btnHoverTextColor};`:""}\n\t\t\t\t\t${a.btnHoverBgColor?`background-color: ${a.btnHoverBgColor};`:""}\n\t\t\t\t\t${et||""}\n\t\t\t\t}\n\t\t\t`:""}\n\n \t${xt||vt||jt||d.btnTextColor||d.btnBgColor||pt||Ct||A?`.${l}.wp-block-gutsliders-content-slider .gutslider-cta-secondary { \n\t\t\t\t\t\t${xt||""}\n\t\t\t\t\t\t${vt||""} \n\t\t\t\t\t\t${jt||""} \n\t\t\t\t\t\t${d.btnTextColor?`color: ${d.btnTextColor};`:""}\n\t\t\t\t\t\t${d.btnBgColor?`background-color: ${d.btnBgColor};`:""}\n\t\t\t\t\t\t${pt||""}\n ${Ct||""}\n ${A?`transition-delay: ${A}s, ${A}s, 0s, 0s !important;`:""}\n\t\t\t\t\t}`:""}\n\n ${d.btnHoverTextColor||d.btnHoverBgColor||ht?` \n\t\t\t\t.${l}.wp-block-gutsliders-content-slider .gutslider-cta-secondary:hover {\n\t\t\t\t\t${d.btnHoverTextColor?`color: ${d.btnHoverTextColor};`:""}\n\t\t\t\t\t${d.btnHoverBgColor?`background-color: ${d.btnHoverBgColor};`:""}\n\t\t\t\t\t${ht||""}\n\t\t\t\t}\n\t\t\t`:""}\n\t\t\n ${c&&(Zt||yl)?`.${l}.wp-block-gutsliders-content-slider .gutslider-nav{\n ${Zt||""}\n ${yl||""}\n }`:""}\n ${c&&(b||p||Xt||el||ol||il)?`.${l}.wp-block-gutsliders-content-slider .swiper-button-prev, .${l}.wp-block-gutsliders-content-slider .gutslider-prev, .${l}.wp-block-gutsliders-content-slider .swiper-button-next, .${l}.wp-block-gutsliders-content-slider .gutslider-next {\n ${b?`color: ${b};`:""}\n ${b?`fill: ${b};`:""}\n ${p?`background-color: ${p};`:""}\n ${Xt||""}\n ${el||""}\n ${ol||""}\n ${il||""}\n\n\t\t\t\t}`:""}\n\t\t${c&&(u||g||Kt)?`.${l}.wp-block-gutsliders-content-slider .swiper-button-prev:hover, .${l}.wp-block-gutsliders-content-slider .gutslider-prev:hover, .${l}.wp-block-gutsliders-content-slider .swiper-button-next:hover, .${l}.wp-block-gutsliders-content-slider .gutslider-next:hover {\n ${u?`color: ${u};`:""}\n ${u?`fill: ${u};`:""}\n ${g?`background-color: ${g};`:""}\n ${Kt||""}\n\t\t\t\t}`:""}\n ${c&&dl?`.${l}.wp-block-gutsliders-content-slider .swiper-button-prev::after, .${l}.wp-block-gutsliders-content-slider .gutslider-prev svg, .${l}.wp-block-gutsliders-content-slider .swiper-button-next::after, .${l}.wp-block-gutsliders-content-slider .gutslider-next svg {\n ${dl||""}\n }`:""}\n ${c&&ul&&ml?`.${l}.wp-block-gutsliders-content-slider .gutslider-prev svg, .${l}.wp-block-gutsliders-content-slider .gutslider-next svg {\n ${ul||""}\n ${ml||""}\n }`:""}\n ${x&&Nl?`.${l}.wp-block-gutsliders-content-slider .swiper-pagination {\n ${Nl||""}\n }`:""}\n ${x&&"bullets"===y&&(wl||fl||Bl||qo||j)?`.${l}.wp-block-gutsliders-content-slider .swiper-pagination-bullet {\n ${wl||""}\n ${fl||""}\n ${Bl||""}\n ${qo||""}\n ${j?`background-color: ${j};`:""}\n }`:""}\n ${x&&"bullets"===y&&Sl?`.${l}.wp-block-gutsliders-content-slider .swiper-pagination-bullet:hover {\n ${Sl||""}\n }`:""}\n ${x&&"bullets"===y&&(Jo||Qo||ts||ss||S)?`.${l}.wp-block-gutsliders-content-slider .swiper-pagination-bullet-active {\n ${Jo||""}\n ${Qo||""}\n ${ts||""}\n ${ss||""}\n ${S?`background-color: ${S};`:""}\n }`:""}\n ${x&&"bullets"===y&&Yo?`.${l}.wp-block-gutsliders-content-slider .swiper-pagination-bullet-active:hover {\n ${Yo||""}\n }`:""}\n ${x&&"fraction"===y&&(C||rs)?`.${l}.wp-block-gutsliders-content-slider .swiper-pagination-fraction {\n ${C?`color: ${C};`:""}\n ${rs||""}\n }`:""}\n ${x&&"fraction"===y&&w?`.${l}.wp-block-gutsliders-content-slider .swiper-pagination-total {\n ${w?`color: ${w};`:""}\n }`:""}\n ${x&&"fraction"===y&&$?`.${l}.wp-block-gutsliders-content-slider .swiper-pagination-current {\n ${$?`color: ${$};`:""}\n }`:""}\n ${x&&"progressbar"===y&&(f||cs)?`.${l}.wp-block-gutsliders-content-slider .swiper-pagination-progressbar {\n ${f?`background: ${f};`:""}\n ${cs||""}\n }`:""}\n ${x&&"progressbar"===y&&T?`.${l}.wp-block-gutsliders-content-slider .swiper-pagination-progressbar .swiper-pagination-progressbar-fill {\n ${T?`background: ${T};`:""}\n }`:""}\n ${ps}\n\t`,xs=`\n\t\t${le||ie?`.${l}.wp-block-gutsliders-content-slider {\n\t\t\t\t\t${le||""}\n\t\t\t\t\t${ie||""}\n\t\t\t\t}`:""}\n\t\t${ie?`.${l}.wp-block-gutsliders-content-slider .swiper:not(.gutslider-thumbs) {\n\t\t\t\t\t${ie}\n\t\t\t\t}`:""}\n\t\t${Q?`.${l}.wp-block-gutsliders-content-slider {\n\t\t\t\t\t${Q||""}\n\t\t\t\t}`:""}\n ${U?`.${l}.wp-block-gutsliders-content-slider.${m}.${h} {\n ${U||""}\n\t\t\t\t}`:""}\n\t\t${W||me?`.${l}.wp-block-gutsliders-content-slider .gutslider-content-wrapper {\n\t\t\t\t\t${W||""}\n\t\t\t\t\t${me||""}\n\t\t\t\t}`:""}\n\t\t${ue||Ne||ye||de||Be||we||fe?`.${l}.wp-block-gutsliders-content-slider .gutslider-content-inner {\n\t\t\t\t\t${ue||""}\n\t\t\t\t\t${Ne||""}\n ${ye||""}\n ${de||""}\n ${Be||""}\n ${we||""}\n ${fe||""}\n\t\t\t\t}`:""}\n\t\t${Oe||Ve||We||Ue||Ae||De?`.${l}.wp-block-gutsliders-content-slider .gutslider-content-image img {\n ${Ae||""}\n ${De||""}\n ${Oe||""}\n ${Ve||""}\n ${We||""}\n ${Ue||""}\n }`:""}\n \n ${Rt||Mt?`.${l}.wp-block-gutsliders-content-slider .gutslider-content-wrapper .gutslider-subtitle { \n\t\t\t\t\t${Rt||""}\n\t\t\t\t\t${Mt||""}\n\t\t\t\t}`:""}\n\t\t${Lt||It?`.${l}.wp-block-gutsliders-content-slider .gutslider-content-wrapper .gutslider-title { \n\t\t\t\t${Lt||""}\n\t\t\t\t${It||""}\n\t\t\t}`:""}\n\t\t${Et||qt?`.${l}.wp-block-gutsliders-content-slider .gutslider-content-wrapper .gutslider-description {\n\t\t\t\t\t${Et||""}\n\t\t\t\t\t${qt||""}\n\t\t\t\t}`:""}\n\t\t${lt||nt||at||Qe||bt?`.${l}.wp-block-gutsliders-content-slider .gutslider-cta { \n\t\t\t\t\t${lt||""} \n\t\t\t\t\t${nt||""} \n\t\t\t\t\t${at||""}\n\t\t\t\t\t${Qe||""}\n ${bt||""}\n\t\t\t\t}`:""}\n\t ${yt||Nt||wt||gt||St?`.${l}.wp-block-gutsliders-content-slider .gutslider-cta-secondary { \n\t\t\t\t\t${yt||""} \n\t\t\t\t\t${Nt||""} \n\t\t\t\t\t${wt||""}\n\t\t\t\t\t${gt||""}\n ${St||""}\n\t\t\t\t}`:""}\n \t\n ${c&&(Jt||kl)?`.${l}.wp-block-gutsliders-content-slider .gutslider-nav{\n ${Jt||""}\n ${kl||""}\n }`:""}\n ${c&&(Yt||tl||sl||rl)?`.${l}.wp-block-gutsliders-content-slider .swiper-button-prev, .${l}.wp-block-gutsliders-content-slider .gutslider-prev, .${l}.wp-block-gutsliders-content-slider .swiper-button-next, .${l}.wp-block-gutsliders-content-slider .gutslider-next {\n ${Yt||""}\n ${tl||""}\n ${sl||""}\n ${rl||""}\n\n\t\t\t\t}`:""}\n ${c&&cl?`.${l}.wp-block-gutsliders-content-slider .swiper-button-prev::after, .${l}.wp-block-gutsliders-content-slider .swiper-button-next::after {\n ${cl||""}\n }`:""}\n ${x&&_l?`.${l}.wp-block-gutsliders-content-slider .swiper-pagination {\n ${_l||""}\n }`:""}\n ${c&&pl&&hl?`.${l}.wp-block-gutsliders-content-slider .gutslider-prev svg, .${l}.wp-block-gutsliders-content-slider .gutslider-next svg {\n ${pl||""}\n ${hl||""}\n }`:""}\n ${x&&"bullets"===y&&($l||Tl||Vo||Wo)?`.${l}.wp-block-gutsliders-content-slider .swiper-pagination-bullet {\n ${$l||""}\n ${Tl||""}\n ${Vo||""}\n ${Wo||""}\n }`:""}\n ${x&&"bullets"===y&&(Uo||Ko||ls||ns)?`.${l}.wp-block-gutsliders-content-slider .swiper-pagination-bullet-active {\n ${Uo||""}\n ${Ko||""}\n ${ls||""}\n ${ns||""}\n }`:""}\n ${x&&"fraction"===y&&as?`.${l}.wp-block-gutsliders-content-slider .swiper-pagination-fraction {\n ${as||""}\n }`:""}\n ${x&&"progressbar"===y&&bs?`.${l}.wp-block-gutsliders-content-slider .swiper-pagination-progressbar {\n ${bs||""}\n }`:""}\n ${gs}\n\t`,ys=`\n\t\t${oe||re?`.${l}.wp-block-gutsliders-content-slider {\n\t\t\t\t\t${oe||""}\n\t\t\t\t\t${re||""}\n\t\t\t\t}`:""}\n\t\t${re?`.${l}.wp-block-gutsliders-content-slider .swiper:not(.gutslider-thumbs) {\n\t\t\t\t\t${re}\n\t\t\t\t}`:""}\n\t\t${K?`.${l}.wp-block-gutsliders-content-slider {\n\t\t\t\t\t${K||""}\n\t\t\t\t}`:""}\n ${X?`.${l}.wp-block-gutsliders-content-slider.${m}.${h} {\n ${X||""}\n\t\t\t\t}`:""}\n\t\t${Z||he?`.${l}.wp-block-gutsliders-content-slider .gutslider-content-wrapper {\n\t\t\t\t\t${Z||""}\n\t\t\t\t\t${he||""}\n\t\t\t\t}`:""}\n\t\t${pe||_e||ke||ce||Pe||$e||Te?`.${l}.wp-block-gutsliders-content-slider .gutslider-content-inner {\n\t\t\t\t\t${pe||""}\n\t\t\t\t\t${_e||""}\n ${ke||""}\n ${ce||""}\n ${Pe||""}\n ${$e||""}\n ${Te||""}\n\t\t\t\t}`:""}\n\t\t\n \t${He||ze||Ze||Xe||Fe||Ge?`.${l}.wp-block-gutsliders-content-slider .gutslider-content-image img {\n ${Fe||""}\n ${Ge||""}\n ${He||""}\n ${ze||""}\n ${Ze||""}\n ${Xe||""}\n }`:""}\n ${Dt||Ot?`.${l}.wp-block-gutsliders-content-slider .gutslider-content-wrapper .gutslider-subtitle { \n\t\t\t\t\t${Dt||""}\n\t\t\t\t\t${Ot||""}\n\t\t\t\t}`:""}\n\t\t${Bt||At?`.${l}.wp-block-gutsliders-content-slider .gutslider-content-wrapper .gutslider-title { \n\t\t\t\t${Bt||""}\n\t\t\t\t${At||""}\n\t\t\t}`:""}\n\t\t${Vt||Wt?`.${l}.wp-block-gutsliders-content-slider .gutslider-content-wrapper .gutslider-description {\n\t\t\t\t\t${Vt||""}\n\t\t\t\t\t${Wt||""}\n\t\t\t\t}`:""}\n\t\t${ot||it||dt||Ke||ut?`.${l}.wp-block-gutsliders-content-slider .gutslider-cta { \n\t\t\t\t\t${ot||""} \n\t\t\t\t\t${it||""} \n\t\t\t\t\t${dt||""} \n\t\t\t\t\t${Ke||""}\n ${ut||""}\n\t\t\t\t}`:""}\n ${kt||_t||$t||mt||ft?`.${l}.wp-block-gutsliders-content-slider .gutslider-cta-secondary { \n\t\t\t\t\t${kt||""} \n\t\t\t\t\t${_t||""} \n\t\t\t\t\t${$t||""} \n\t\t\t\t\t${mt||""}\n ${ft||""}\n\t\t\t\t}`:""}\n ${c&&(Ut||vl)?`.${l}.wp-block-gutsliders-content-slider .gutslider-nav{\n ${Ut||""}\n ${vl||""}\n }`:""}\n ${c&&(Qt||ll||nl||al)?`.${l}.wp-block-gutsliders-content-slider .swiper-button-prev, .${l}.wp-block-gutsliders-content-slider .gutslider-prev, .${l}.wp-block-gutsliders-content-slider .swiper-button-next, .${l}.wp-block-gutsliders-content-slider .gutslider-next {\n ${Qt||""}\n ${ll||""}\n ${nl||""}\n ${al||""}\n\n\t\t\t\t}`:""}\n ${c&&bl?`.${l}.wp-block-gutsliders-content-slider .swiper-button-prev::after, .${l}.wp-block-gutsliders-content-slider .swiper-button-next::after {\n ${bl||""}\n }`:""}\n ${c&&gl&&xl?`.${l}.wp-block-gutsliders-content-slider .gutslider-prev svg, .${l}.wp-block-gutsliders-content-slider .gutslider-next svg {\n ${gl||""}\n ${xl||""}\n }`:""}\n ${x&&jl?`.${l}.wp-block-gutsliders-content-slider .swiper-pagination {\n ${jl||""}\n }`:""}\n ${x&&"bullets"===y&&(Cl||Ll||zo||Zo||j)?`.${l}.wp-block-gutsliders-content-slider .swiper-pagination-bullet {\n ${Cl||""}\n ${Ll||""}\n ${zo||""}\n ${Zo||""}\n ${j?`background-color: ${j};`:""}\n }`:""}\n ${x&&"bullets"===y&&Sl?`.${l}.wp-block-gutsliders-content-slider .swiper-pagination-bullet:hover {\n ${Sl||""}\n }`:""}\n ${x&&"bullets"===y&&(Xo||es||os||is||S)?`.${l}.wp-block-gutsliders-content-slider .swiper-pagination-bullet-active {\n ${Xo||""}\n ${es||""}\n ${os||""}\n ${is||""}\n ${S?`background-color: ${S};`:""}\n }`:""}\n ${x&&"bullets"===y&&Yo?`.${l}.wp-block-gutsliders-content-slider .swiper-pagination-bullet-active:hover {\n ${Yo||""}\n }`:""}\n ${x&&"fraction"===y&&(ds||C)?`.${l}.wp-block-gutsliders-content-slider .swiper-pagination-fraction {\n ${C?`color: ${C};`:""}\n ${ds||""}\n }`:""}\n ${x&&"progressbar"===y&&us?`.${l}.wp-block-gutsliders-content-slider .swiper-pagination-progressbar {\n ${us||""}\n }`:""}\n ${ms}\n\t`,ks=`\n ${hs.replace(/\s/g,"").length>0?`${hs}`:""}\n ${xs.replace(/\s/g,"").length>0?`@media (max-width: 1024px) {\n ${xs}\n }`:""}\n ${ys.replace(/\s/g,"").length>0?`@media (max-width: 767px) {\n ${ys}\n }`:""}\n ${El({attributes:e,selector:`.${l}`,defaultDelay:1e3})}\n\t`;return Pl((()=>{JSON.stringify(o)!==JSON.stringify(ks)&&t({blockStyle:ks})}),[e]),(0,Ce.jsx)("style",{children:`${Il(ks)}`})},{Fragment:zo,RawHTML:qo,useEffect:Wo,useRef:Zo}=wp.element,{__}=wp.i18n,{PatternPlaceholder:Jo,DisplayIcon:Uo,generateRangeStyles:Xo,SidebarOpener:Yo,DynamicTag:Qo,Patterns:Ko,ThumbsStrip:es,getThumbsOptions:ts}=window?.gutSliderModules,{cZ:ls,ZX:os}=o,{CE_STYLES:ss}=window.gutSliderModules.GlobalConstants,{DisplayIcon:ns,DynamicTag:is,ThumbsStrip:rs}=window?.gutSliderModules,{getCustomLinkAttributes:as}=window.gutSliderModules.Helper,{DisplayIcon:ds}=window.gutSliderModules,{generateResBoxControlAttributes:cs,generateBorderAttributes:bs,generateTypographyAttributes:us,generateResRangeAttributes:ps,generateAlignmentAttributes:gs}=window.gutSliderModules,{cZ:ms,ZX:hs,C4:xs,gp:ys,jD:ks,ZS:vs,G:Ns,is:_s,M6:js,Qi:ws,OV:$s,rX:Cs,ki:Ss,xP:fs,oL:Ts,bI:Ls,yo:Bs,ow:Ps,Hg:Is,XB:As,Hj:Fs,Dv:Rs,MJ:Ds,WT:Gs,mr:Ms,Gw:Os,Gs:Hs,F$:Es,zc:Vs,tP:zs,$C:qs,o8:Ws,je:Zs,ND:Js}=o,Us=[{attributes:xe,save({attributes:e}){const{uniqueId:t,sliderType:l,slideItems:o,sliderOptions:s,titleTag:n,subtitleTag:i,descriptionTag:r,titleAnimation:a,subtitleAnimation:d,descAnimation:c,btnAnimation:b,showPagination:u,showNavigation:p}=e,g=ke.useBlockProps.save({className:Ne()(t,"swiper")});return(0,Ce.jsxs)("div",{...g,"data-swiper-options":JSON.stringify(s),children:[(0,Ce.jsx)("div",{className:"swiper-wrapper",children:o&&o.map(((e,t)=>{const o={backgroundColor:e.bgColor?e.bgColor:"",backgroundImage:"classic"===e.bgType?`url(${e.image.url})`:e.bgGradient,backgroundSize:"cover",backgroundPosition:"center center",backgroundRepeat:"no-repeat"},s={background:"classic"===e.overlayType?e.overlayColor:e.overlayGradient,opacity:e.overlayOpacity?e.overlayOpacity:""};return(0,Ce.jsx)("div",{className:Ne()("swiper-slide",{"slide-mode":"slider"===l}),children:(0,Ce.jsxs)("div",{className:"swiper-container-outer",style:o,children:[e.enableOverlay&&(0,Ce.jsx)("div",{className:"gutslider-overlay",style:s}),(0,Ce.jsx)("div",{className:"gutslider-content-wrapper",children:(0,Ce.jsxs)("div",{className:"gutslider-content-inner",children:[e.subtitle&&(0,Ce.jsx)(ke.RichText.Content,{tagName:i,value:e.subtitle,className:`gutslider-subtitle ${d&&d}`}),e.title&&(0,Ce.jsx)(ke.RichText.Content,{tagName:n,value:e.title,className:`gutslider-title ${a&&a}`}),e.description&&(0,Ce.jsx)(ke.RichText.Content,{tagName:r,value:e.description,className:`gutslider-description ${c&&c}`}),e.btnLabel&&e.btnLinks&&e.btnLinks.url&&(0,Ce.jsx)("a",{className:`gutslider-cta ${b&&b}`,href:e.btnLinks&&e.btnLinks.url,target:e.btnLinks&&e.btnLinks.openInNewTab&&"_blank",...e.btnLinks&&(e.btnLinks.openInNewTab||e.btnLinks.addNoFollow||e.btnLinks.addSponsored)&&{rel:[e.btnLinks.openInNewTab&&"noopener noreferrer",e.btnLinks.addNoFollow&&"nofollow",e.btnLinks.addSponsored&&"sponsored"].filter(Boolean).join(" ")},children:e.btnLabel})]})})]})},t)}))}),p&&(0,Ce.jsxs)($e.Fragment,{children:[(0,Ce.jsx)("div",{className:"swiper-button-prev"}),(0,Ce.jsx)("div",{className:"swiper-button-next"})]}),u&&(0,Ce.jsx)("div",{className:"swiper-pagination"})]})}},{attributes:xe,save:({attributes:e})=>{const{uniqueId:t,sliderType:l,slideItems:o,sliderOptions:s,titleTag:n,subtitleTag:i,descriptionTag:r,titleAnimation:a,subtitleAnimation:d,descAnimation:c,btnAnimation:b,showPagination:u,showNavigation:p,navContainerPosition:g,navPosition:m,customNavIcon:h,navIconSource:x,navPrevIcon:y,navNextIcon:k,customPrevSVG:v,customNextSVG:N}=e,_=ke.useBlockProps.save({className:Ne()(t,g,m)});return(0,Ce.jsxs)("div",{..._,"data-swiper-options":JSON.stringify(s),children:[(0,Ce.jsxs)("div",{className:"swiper",children:[(0,Ce.jsx)("div",{className:"swiper-wrapper",children:o&&o.map(((e,t)=>{const o={backgroundColor:e.bgColor?e.bgColor:"",backgroundImage:"classic"===e.bgType?`url(${e.image.url})`:e.bgGradient,backgroundSize:"cover",backgroundPosition:"center center",backgroundRepeat:"no-repeat"},s={background:"classic"===e.overlayType?e.overlayColor:e.overlayGradient,opacity:e.overlayOpacity?e.overlayOpacity:""};return(0,Ce.jsx)("div",{className:Ne()("swiper-slide",{"slide-mode":"slider"===l}),children:(0,Ce.jsxs)("div",{className:"swiper-container-outer",style:o,children:[e.enableOverlay&&(0,Ce.jsx)("div",{className:"gutslider-overlay",style:s}),(0,Ce.jsx)("div",{className:"gutslider-content-wrapper",children:(0,Ce.jsxs)("div",{className:"gutslider-content-inner",children:[e.subtitle&&(0,Ce.jsx)(ke.RichText.Content,{tagName:i,value:e.subtitle,className:`gutslider-subtitle ${d&&d}`}),e.title&&(0,Ce.jsx)(ke.RichText.Content,{tagName:n,value:e.title,className:`gutslider-title ${a&&a}`}),e.description&&(0,Ce.jsx)(ke.RichText.Content,{tagName:r,value:e.description,className:`gutslider-description ${c&&c}`}),e.btnLabel&&e.btnLinks&&e.btnLinks.url&&(0,Ce.jsx)("a",{className:`gutslider-cta ${b&&b}`,href:e.btnLinks&&e.btnLinks.url,target:e.btnLinks&&e.btnLinks.openInNewTab&&"_blank",...e.btnLinks&&(e.btnLinks.openInNewTab||e.btnLinks.addNoFollow||e.btnLinks.addSponsored)&&{rel:[e.btnLinks.openInNewTab&&"noopener noreferrer",e.btnLinks.addNoFollow&&"nofollow",e.btnLinks.addSponsored&&"sponsored"].filter(Boolean).join(" ")},children:e.btnLabel})]})})]})},t)}))}),p&&"nav_inside"===g&&(0,Ce.jsx)($e.Fragment,{children:(0,Ce.jsx)("div",{className:`gutslider-nav nav_inside ${m}`,children:h?(0,Ce.jsxs)($e.Fragment,{children:[(0,Ce.jsxs)("div",{className:"gutslider-prev",children:["library"===x&&(0,Ce.jsx)(ds,{icon:y}),"custom"===x&&(0,Ce.jsx)($e.RawHTML,{children:v})]}),(0,Ce.jsxs)("div",{className:"gutslider-next",children:["library"===x&&(0,Ce.jsx)(ds,{icon:k}),"custom"===x&&(0,Ce.jsx)($e.RawHTML,{children:N})]})]}):(0,Ce.jsxs)($e.Fragment,{children:[(0,Ce.jsx)("div",{className:"swiper-button-prev"}),(0,Ce.jsx)("div",{className:"swiper-button-next"})]})})}),u&&(0,Ce.jsx)("div",{className:"swiper-pagination"})]}),p&&"nav_outside"===g&&(0,Ce.jsx)($e.Fragment,{children:(0,Ce.jsx)("div",{className:`gutslider-nav nav_outside ${m}`,children:h?(0,Ce.jsxs)($e.Fragment,{children:[(0,Ce.jsxs)("div",{className:"gutslider-prev",children:["library"===x&&(0,Ce.jsx)(ds,{icon:y}),"custom"===x&&(0,Ce.jsx)($e.RawHTML,{children:v})]}),(0,Ce.jsxs)("div",{className:"gutslider-next",children:["library"===x&&(0,Ce.jsx)(ds,{icon:k}),"custom"===x&&(0,Ce.jsx)($e.RawHTML,{children:N})]})]}):(0,Ce.jsxs)($e.Fragment,{children:[(0,Ce.jsx)("div",{className:"swiper-button-prev"}),(0,Ce.jsx)("div",{className:"swiper-button-next"})]})})})]})}},{attributes:{uniqueId:{type:"string"},blockStyle:{type:"object"},sliderType:{type:"string",default:"slider"},infiniteLoop:{type:"boolean",default:!0},autoplay:{type:"boolean",default:!1},autoplayDelay:{type:"number"},pauseOnHover:{type:"boolean",default:!0},reverseDirection:{type:"boolean",default:!1},stopOnLastSlide:{type:"boolean",default:!1},speed:{type:"number"},showNavigation:{type:"boolean",default:!0},showPagination:{type:"boolean",default:!0},paginationType:{type:"string",default:"bullets"},dynamicBullets:{type:"boolean",default:!1},keyboardControl:{type:"boolean",default:!1},mousewheelControl:{type:"boolean",default:!1},slideEffect:{type:"string",default:"creative"},carouselEffect:{type:"string",default:"slide"},creativeEffectStyle:{type:"string",default:"style-3"},sliderOptions:{type:"object",default:{}},navColor:{type:"string"},navBgColor:{type:"string"},navHoverColor:{type:"string"},navHoverBgColor:{type:"string"},navContainerPosition:{type:"string",default:"nav_inside"},navPosition:{type:"string",default:"nav_cc"},customNavIcon:{type:"boolean",default:!1},navIconSource:{type:"string",default:"library"},navPrevIcon:{type:"string",default:"arrowLeft"},navNextIcon:{type:"string",default:"arrowRight"},customPrevSVG:{type:"string"},customNextSVG:{type:"string"},pagColor:{type:"string"},activePagColor:{type:"string"},pagFracColor:{type:"string"},pagFracCurrentColor:{type:"string"},fracDividerColor:{type:"string"},progressColor:{type:"string"},activeProgressColor:{type:"string"},slideItems:{type:"array",default:[{id:0,panelTitle:"Gutslider Item",subtitle:"Gutslider Block",title:"#1 Best Gutenberg Slider Block",description:"Gutslider is a Gutenberg Slider Block that is easy to use and has many features. It is a great alternative to other slider blocks that are not as easy to use and have less features.",bgType:"classic",bgColor:"#efefef",bgGradient:"linear-gradient(135deg,#12c2e9 0%,#c471ed 50%,#f64f59 100%)",enableOverlay:!1,overlayType:"classic",overlayColor:"#000000",overlayGradient:"linear-gradient(135deg,#12c2e9 0%,#c471ed 50%,#f64f59 100%)",overlayOpacity:.5,image:{id:"",url:"",alt:"Gutslider Logo"},btnLabel:"Get Gutslider",btnLinks:{url:"https://gutenbergkits.com",openInNewTab:!0,addNoFollow:!1,addSponsored:!1}},{id:1,panelTitle:"Gutslider Item #2",subtitle:"Custom Content Slider",title:"#2 Easily Build Custom Slider",description:"Gutslider is a Gutenberg Slider Block that is easy to use and has many features. It is a great alternative to other slider blocks that are not as easy to use and have less features.",bgType:"classic",bgColor:"#efefef",bgGradient:"linear-gradient(135deg,#12c2e9 0%,#c471ed 50%,#f64f59 100%)",enableOverlay:!1,overlayType:"classic",overlayColor:"#000000",overlayGradient:"linear-gradient(135deg,#12c2e9 0%,#c471ed 50%,#f64f59 100%)",overlayOpacity:.5,image:{id:"",url:"",alt:"Gutslider Logo"},btnLabel:"Get Gutslider",btnLinks:{url:"https://gutenbergkits.com",openInNewTab:!0,addNoFollow:!1,addSponsored:!1}},{id:2,panelTitle:"Gutslider Item #3",subtitle:"Custom Content Slider",title:"#3 Easily Build Custom Slider",description:"Gutslider is a Gutenberg Slider Block that is easy to use and has many features. It is a great alternative to other slider blocks that are not as easy to use and have less features.",bgType:"classic",bgColor:"#efefef",bgGradient:"linear-gradient(135deg,#12c2e9 0%,#c471ed 50%,#f64f59 100%)",enableOverlay:!1,overlayType:"classic",overlayColor:"#000000",overlayGradient:"linear-gradient(135deg,#12c2e9 0%,#c471ed 50%,#f64f59 100%)",overlayOpacity:.5,image:{id:"",url:"",alt:"Gutslider Logo"},btnLabel:"Get Gutslider",btnLinks:{url:"https://gutenbergkits.com",openInNewTab:!0,addNoFollow:!1,addSponsored:!1}}]},addNewSlide:{type:"boolean",default:!1},subtitleTag:{type:"string",default:"h3"},subtitleColor:{type:"string"},titleTag:{type:"string",default:"h2"},titleColor:{type:"string"},descriptionTag:{type:"string",default:"p"},descriptionColor:{type:"string"},btnColors:{type:"object",default:{btnTextColor:"",btnBgColor:"",btnHoverTextColor:"",btnHoverBgColor:""}},titleAnimation:{type:"string",default:""},subtitleAnimation:{type:"string",default:""},descAnimation:{type:"string",default:""},btnAnimation:{type:"string",default:""},...ps({controlName:ms}),...ps({controlName:hs}),...ps({controlName:xs}),...cs({controlName:ys}),...cs({controlName:ks}),...ps({controlName:vs}),...gs({controlName:Ns}),...gs({controlName:_s}),...cs({controlName:ws}),...cs({controlName:$s}),...cs({controlName:Cs}),...bs({controlName:js}),...us({controlName:Ss}),...cs({controlName:fs}),...us({controlName:Ts}),...cs({controlName:Ls}),...us({controlName:Bs}),...cs({controlName:Ps}),...us({controlName:Is}),...bs({controlName:As}),...cs({controlName:Fs}),...ps({controlName:Rs}),...ps({controlName:Ds}),...ps({controlName:Gs}),...bs({controlName:Ms}),...cs({controlName:Os}),...ps({controlName:Hs}),...ps({controlName:Es}),...bs({controlName:Vs}),...cs({controlName:zs}),...ps({controlName:qs}),...ps({controlName:Ws}),...ps({controlName:Zs}),...ps({controlName:Js})},save:({attributes:e})=>{const{uniqueId:t,sliderType:l,slideItems:o,sliderOptions:s,titleTag:n,subtitleTag:i,descriptionTag:r,titleAnimation:a,subtitleAnimation:d,descAnimation:c,btnAnimation:b,showPagination:u,showNavigation:p,navContainerPosition:g,navPosition:m,customNavIcon:h,navIconSource:x,navPrevIcon:y,navNextIcon:k,customPrevSVG:v,customNextSVG:N}=e,_=ke.useBlockProps.save({className:Ne()(t,g,m)});return(0,Ce.jsxs)("div",{..._,"data-swiper-options":JSON.stringify(s),children:[(0,Ce.jsxs)("div",{className:"swiper",children:[(0,Ce.jsx)("div",{className:"swiper-wrapper",children:o&&o.map(((e,t)=>{const o={backgroundColor:e.bgColor?e.bgColor:"",backgroundImage:"classic"===e.bgType?`url(${e.image.url})`:e.bgGradient,backgroundSize:"cover",backgroundPosition:"center center",backgroundRepeat:"no-repeat"},s={background:"classic"===e.overlayType?e.overlayColor:e.overlayGradient,opacity:e.overlayOpacity?e.overlayOpacity:""};return(0,Ce.jsx)("div",{className:Ne()("swiper-slide",{"slide-mode":"slider"===l}),children:(0,Ce.jsxs)("div",{className:"swiper-container-outer",style:o,children:[e.enableOverlay&&"classic"===e.bgType&&(0,Ce.jsx)("div",{className:"gutslider-overlay",style:s}),(0,Ce.jsx)("div",{className:"gutslider-content-wrapper",children:(0,Ce.jsxs)("div",{className:"gutslider-content-inner",children:[e.subtitle&&(0,Ce.jsx)(ke.RichText.Content,{tagName:i,value:e.subtitle,className:`gutslider-subtitle ${d&&d}`}),e.title&&(0,Ce.jsx)(ke.RichText.Content,{tagName:n,value:e.title,className:`gutslider-title ${a&&a}`}),e.description&&(0,Ce.jsx)(ke.RichText.Content,{tagName:r,value:e.description,className:`gutslider-description ${c&&c}`}),e.btnLabel&&e.btnLinks&&e.btnLinks.url&&(0,Ce.jsx)("a",{className:`gutslider-cta ${b&&b}`,href:e.btnLinks&&e.btnLinks.url,target:e.btnLinks&&e.btnLinks.openInNewTab&&"_blank",...e.btnLinks&&(e.btnLinks.openInNewTab||e.btnLinks.addNoFollow||e.btnLinks.addSponsored)&&{rel:[e.btnLinks.openInNewTab&&"noopener noreferrer",e.btnLinks.addNoFollow&&"nofollow",e.btnLinks.addSponsored&&"sponsored"].filter(Boolean).join(" ")},children:e.btnLabel})]})})]})},t)}))}),p&&"nav_inside"===g&&(0,Ce.jsx)($e.Fragment,{children:(0,Ce.jsx)("div",{className:`gutslider-nav nav_inside ${m}`,children:h?(0,Ce.jsxs)($e.Fragment,{children:[(0,Ce.jsxs)("div",{className:"gutslider-prev",children:["library"===x&&(0,Ce.jsx)(ds,{icon:y}),"custom"===x&&(0,Ce.jsx)($e.RawHTML,{children:v})]}),(0,Ce.jsxs)("div",{className:"gutslider-next",children:["library"===x&&(0,Ce.jsx)(ds,{icon:k}),"custom"===x&&(0,Ce.jsx)($e.RawHTML,{children:N})]})]}):(0,Ce.jsxs)($e.Fragment,{children:[(0,Ce.jsx)("div",{className:"swiper-button-prev"}),(0,Ce.jsx)("div",{className:"swiper-button-next"})]})})}),u&&(0,Ce.jsx)("div",{className:"swiper-pagination"})]}),p&&"nav_outside"===g&&(0,Ce.jsx)($e.Fragment,{children:(0,Ce.jsx)("div",{className:`gutslider-nav nav_outside ${m}`,children:h?(0,Ce.jsxs)($e.Fragment,{children:[(0,Ce.jsxs)("div",{className:"gutslider-prev",children:["library"===x&&(0,Ce.jsx)(ds,{icon:y}),"custom"===x&&(0,Ce.jsx)($e.RawHTML,{children:v})]}),(0,Ce.jsxs)("div",{className:"gutslider-next",children:["library"===x&&(0,Ce.jsx)(ds,{icon:k}),"custom"===x&&(0,Ce.jsx)($e.RawHTML,{children:N})]})]}):(0,Ce.jsxs)($e.Fragment,{children:[(0,Ce.jsx)("div",{className:"swiper-button-prev"}),(0,Ce.jsx)("div",{className:"swiper-button-next"})]})})})]})}}];(0,s.registerBlockType)(ye,{icon:{src:(0,Ce.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24",viewBox:"0 -960 960 960",width:"24",fill:"#1f1f1f",children:(0,Ce.jsx)("path",{d:"M280-280h280v-80H280zm0-160h400v-80H280zm0-160h400v-80H280zm-80 480q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120zm0-80h560v-560H200zm0-560v560z"})})},attributes:xe,edit:function(e){const{attributes:t,setAttributes:l,clientId:o}=e,{uniqueId:s,preview:n,showImage:i,showSubTitle:r,showTitle:a,showDescription:d,showButton:c,sliderType:b,preset:u,paginationStyle:p,slideItems:g,addNewSlide:m,subtitleTag:h,titleTag:x,descriptionTag:y,titleAnimation:k,subtitleAnimation:v,descAnimation:N,btnAnimation:_,sbtnAnimation:j,infiniteLoop:w,autoplay:$,autoplayDelay:C,stopOnLastSlide:S,reverseDirection:f,pauseOnHover:T,speed:L,centerMode:B,showNavigation:P,navContainerPosition:I,navPosition:A,customNavIcon:F,navIconSource:R,navPrevIcon:D,navNextIcon:G,customPrevSVG:M,customNextSVG:O,showPagination:H,paginationType:E,dynamicBullets:V,showThumbs:z,thumbSizing:q,thumbContent:W,thumbTitlePosition:Z,pagColor:J,activePagColor:U,keyboardControl:X,mousewheelControl:Y,slideEffect:Q,carouselEffect:K,creativeEffectStyle:ee,enableGlobalLink:te,enableRemoteNav:le,remotePrevSelector:oe,remoteNextSelector:se,patternMode:ne,openModal:ie}=t;if(Wo((()=>{const{getClientIdsWithDescendants:e,getBlockAttributes:t}=(0,we.select)("core/block-editor"),n=!!s&&e().some((e=>e!==o&&t(e)?.uniqueId===s));s&&!n||l({uniqueId:"gutslider-"+o.slice(0,8)}),ne||0!==g.length||l({slideItems:[{id:0,panelTitle:"Gutslider Item",subtitle:"Gutslider Block",title:"#1 Best Gutenberg Slider Block",description:"Gutslider is a Gutenberg Slider Block that is easy to use and has many features. It is a great alternative to other slider blocks that are not as easy to use and have less features.",bgType:"classic",bgColor:"#efefef",bgGradient:"linear-gradient(135deg,#12c2e9 0%,#c471ed 50%,#f64f59 100%)",bgVideo:{},enableOverlay:!1,overlayType:"classic",overlayColor:"#000000",overlayGradient:"linear-gradient(135deg,#12c2e9 0%,#c471ed 50%,#f64f59 100%)",overlayOpacity:.5,image:{id:"",url:"",alt:"Gutslider Logo"},photo:{},photoSize:"thumbnail",thumb:{},focusPoint:{x:.5,y:.5},btnLabel:"Get Gutslider",btnLinks:{url:"https://gutenbergkits.com",openInNewTab:!0,addNoFollow:!1,addSponsored:!1},showSbtnLinks:!1,sbtnLabel:"",sbtnLinks:{url:"",openInNewTab:!0,addNoFollow:!1,addSponsored:!1},globalLink:{url:"",openInNewTab:!1,addNoFollow:!1,addSponsored:!1},enableResponsiveBg:!1,DesktopBg:{url:"",id:"",alt:""},TabletBg:{url:"",id:"",alt:""},MobileBg:{url:"",id:"",alt:""},DesktopFocalPoint:{x:.5,y:.5},TabletFocalPoint:{x:.5,y:.5},MobileFocalPoint:{x:.5,y:.5}},{id:1,panelTitle:"Gutslider Item #2",subtitle:"Custom Content Slider",title:"#2 Easily Build Custom Slider",description:"Gutslider is a Gutenberg Slider Block that is easy to use and has many features. It is a great alternative to other slider blocks that are not as easy to use and have less features.",bgType:"classic",bgColor:"#efefef",bgGradient:"linear-gradient(135deg,#12c2e9 0%,#c471ed 50%,#f64f59 100%)",bgVideo:{},enableOverlay:!1,overlayType:"classic",overlayColor:"#000000",overlayGradient:"linear-gradient(135deg,#12c2e9 0%,#c471ed 50%,#f64f59 100%)",overlayOpacity:.5,image:{id:"",url:"",alt:"Gutslider Logo"},photo:{},photoSize:"thumbnail",thumb:{},focusPoint:{x:.5,y:.5},btnLabel:"Get Gutslider",btnLinks:{url:"https://gutenbergkits.com",openInNewTab:!0,addNoFollow:!1,addSponsored:!1},showSbtnLinks:!1,sbtnLabel:"",sbtnLinks:{url:"",openInNewTab:!0,addNoFollow:!1,addSponsored:!1},globalLink:{url:"",openInNewTab:!1,addNoFollow:!1,addSponsored:!1},enableResponsiveBg:!1,DesktopBg:{url:"",id:"",alt:""},TabletBg:{url:"",id:"",alt:""},MobileBg:{url:"",id:"",alt:""},DesktopFocalPoint:{x:.5,y:.5},TabletFocalPoint:{x:.5,y:.5},MobileFocalPoint:{x:.5,y:.5}},{id:2,panelTitle:"Gutslider Item #3",subtitle:"Custom Content Slider",title:"#3 Easily Build Custom Slider",description:"Gutslider is a Gutenberg Slider Block that is easy to use and has many features. It is a great alternative to other slider blocks that are not as easy to use and have less features.",bgType:"classic",bgColor:"#efefef",bgGradient:"linear-gradient(135deg,#12c2e9 0%,#c471ed 50%,#f64f59 100%)",bgVideo:{},enableOverlay:!1,overlayType:"classic",overlayColor:"#000000",overlayGradient:"linear-gradient(135deg,#12c2e9 0%,#c471ed 50%,#f64f59 100%)",overlayOpacity:.5,image:{id:"",url:"",alt:"Gutslider Logo"},photo:{},photoSize:"thumbnail",thumb:{},focusPoint:{x:.5,y:.5},btnLabel:"Get Gutslider",btnLinks:{url:"https://gutenbergkits.com",openInNewTab:!0,addNoFollow:!1,addSponsored:!1},showSbtnLinks:!1,sbtnLabel:"",sbtnLinks:{url:"",openInNewTab:!0,addNoFollow:!1,addSponsored:!1},globalLink:{url:"",openInNewTab:!1,addNoFollow:!1,addSponsored:!1},enableResponsiveBg:!1,DesktopBg:{url:"",id:"",alt:""},TabletBg:{url:"",id:"",alt:""},MobileBg:{url:"",id:"",alt:""},DesktopFocalPoint:{x:.5,y:.5},TabletFocalPoint:{x:.5,y:.5},MobileFocalPoint:{x:.5,y:.5}}]})}),[ne]),n)return(0,Ce.jsx)("div",{className:"gutslider-preview",children:(0,Ce.jsx)("img",{src:gutslider_preview.content,alt:"content slider preview"})});const re=(0,ke.useBlockProps)({className:Ne()(s,I,A,u&&`gutslider-preset-${u}`,p&&`gutslider-pag-${p}`)}),{deskStyle:ae,tabStyle:de,mobStyle:ce}=Xo({controlName:ls,attributes:t,noProperty:!0,noUnits:!0}),{deskStyle:be,tabStyle:ue,mobStyle:pe}=Xo({controlName:os,attributes:t,noProperty:!0,noUnits:!0}),ge={breakpoints:{320:{slidesPerView:ce||1,spaceBetween:parseInt(pe)||0},768:{slidesPerView:de||2,spaceBetween:parseInt(ue)||15},1025:{slidesPerView:ae||2,spaceBetween:parseInt(be)||15}}},me="carousel"===b?ge:{},{deskStyle:he,tabStyle:xe,mobStyle:ye}=Xo({controlName:"thumbGap",attributes:t,noProperty:!0,noUnits:!0}),ve=ts({thumbSizing:q,count:g.length,deskGap:he,tabGap:xe,mobGap:ye}),$e=Zo(null),Se=Zo(null);$e.current&&$e.current.addEventListener("click",(function(){(0,we.dispatch)("core/block-editor").selectBlock(o),(0,we.dispatch)("core/edit-post")?.openGeneralSidebar("edit-post/block")})),Wo((()=>{const e={slidesPerView:1,spaceBetween:0,loop:w,autoplay:!!$&&{delay:100*C||1e3,pauseOnMouseEnter:T,stopOnLastSlide:S,reverseDirection:f},speed:100*L||800,effect:"carousel"===b?K:Q,creativeEffect:ss[ee],keyboard:{enabled:X},mousewheel:Y,...B&&{centeredSlides:!0},...me},o={...e,navigation:!(!P||le)&&{nextEl:F?`.${s} .gutslider-next`:`.${s} .swiper-button-next`,prevEl:F?`.${s} .gutslider-prev`:`.${s} .swiper-button-prev`},pagination:!!H&&{el:`.${s} .swiper-pagination`,type:E,dynamicBullets:V,clickable:!0}};if(JSON.stringify(t.sliderOptions)===JSON.stringify(o)&&JSON.stringify(t.thumbsOptions)===JSON.stringify(ve)||l({sliderOptions:o,thumbsOptions:ve}),!$e.current)return;let n=null;z&&Se.current&&(Se.current.swiper&&Se.current.swiper.destroy(),n=new Swiper(Se.current,ve));const i=$e.current?.querySelector(".swiper-pagination"),r="nav_outside"===I?$e.current?.parentNode:$e.current,a=F?r?.querySelector(".gutslider-prev"):r?.querySelector(".swiper-button-prev"),d=F?r?.querySelector(".gutslider-next"):r?.querySelector(".swiper-button-next");!function(e,t){if(e?.swiper&&e?.swiper.destroy(),new Swiper(e,t),le&&oe&&se){const t=document.querySelector(`.${oe}`),l=document.querySelector(`.${se}`);t&&t.addEventListener("click",(()=>{e.swiper.slidePrev()})),l&&l.addEventListener("click",(()=>{e.swiper.slideNext()}))}}($e.current,{...e,navigation:!(!P||le)&&{nextEl:d,prevEl:a},pagination:!!H&&{el:i,type:E,dynamicBullets:V,clickable:!0},...n&&{thumbs:{swiper:n}}})}),[w,$,C,T,S,f,L,B,P,H,E,V,J,U,Q,K,ee,m,b,ae,de,ce,be,ue,pe,X,Y,F,I,te,g,le,oe,se,s,z,q,W,Z,he,xe,ye]);const fe=(0,_e.cloneDeep)(g);return(0,Ce.jsxs)(zo,{children:[(0,Ce.jsx)(Vo,{attributes:t,setAttributes:l}),(0,Ce.jsx)(Ll,{attributes:t,setAttributes:l}),ie&&(0,Ce.jsx)(Ko,{...e}),(0,Ce.jsx)(ke.BlockControls,{children:(0,Ce.jsx)(je.ToolbarGroup,{className:"gutslider-toolbar-group",children:(0,Ce.jsx)(je.ToolbarButton,{className:"gutslider-toolbar-button",title:__("Add Slide","slider-blocks"),onClick:()=>{l({addNewSlide:!m}),l({slideItems:[...g,{id:g.length+1,panelTitle:"Gutslider Item",subtitle:"Gutslider Block",title:"#1 Best Gutenberg Slider Block",description:"Gutslider is a Gutenberg Slider Block that is easy to use and has many features. It is a great alternative to other slider blocks that are not as easy to use and have less features.",bgType:"classic",bgColor:"#efefef",enableOverlay:!1,overlayType:"classic",overlayColor:"#000000",overlayGradient:"linear-gradient(135deg,#12c2e9 0%,#c471ed 50%,#f64f59 100%)",overlayOpacity:.5,bgGradient:"linear-gradient(135deg,#12c2e9 0%,#c471ed 50%,#f64f59 100%)",bgVideo:{},image:{id:g.length+1,url:"",alt:"Gutslider Logo"},photo:{},photoSize:"thumbnail",thumb:{},btnLabel:"Get Gutslider",btnLinks:{url:"https://gutenbergkits.com",openInNewTab:!0,addNoFollow:!1,addSponsored:!1},showSbtnLinks:!1,sbtnLabel:"",sbtnLinks:{url:"",openInNewTab:!0,addNoFollow:!1,addSponsored:!1},focusPoint:{x:.5,y:.5},globalLink:{url:"",openInNewTab:!1,addNoFollow:!1,addSponsored:!1},enableResponsiveBg:!1,DesktopBg:{url:"",id:"",alt:""},TabletBg:{url:"",id:"",alt:""},MobileBg:{url:"",id:"",alt:""},DesktopFocalPoint:{x:.5,y:.5},TabletFocalPoint:{x:.5,y:.5},MobileFocalPoint:{x:.5,y:.5}}]})},children:(0,Ce.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24",children:(0,Ce.jsx)("path",{d:"M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 11H7V13H11V17H13V13H17V11H13V7H11V11Z",fill:"rgba(0,124,186,1)"})})})})}),(0,Ce.jsx)("div",{...re,children:ne&&0===g.length?(0,Ce.jsx)(Jo,{clientId:o,setAttributes:l}):(0,Ce.jsxs)(Ce.Fragment,{children:[(0,Ce.jsx)(Yo,{}),(0,Ce.jsxs)("div",{className:"swiper",ref:$e,children:[(0,Ce.jsx)("div",{className:"swiper-wrapper",children:fe&&fe.map(((e,t)=>{const o={backgroundColor:e.bgColor?e.bgColor:"",..."classic"===e.bgType&&!e.enableResponsiveBg&&e.image?.url&&{backgroundImage:`url(${e.image.url})`},..."gradient"===e.bgType&&e.bgGradient&&{backgroundImage:e.bgGradient?e.bgGradient:""},...e.enableResponsiveBg&&"classic"===e.bgType&&{"--gut-desktop-bg-image":`url(${e.DesktopBg?.url})`,"--gut-tablet-bg-image":`url(${e.TabletBg?.url})`,"--gut-mobile-bg-image":`url(${e.MobileBg?.url})`},...e.enableResponsiveBg&&"classic"===e.bgType&&e?.DesktopBg?.url&&e?.DesktopFocalPoint&&{"--gut-desktop-focal-point":`${100*e?.DesktopFocalPoint?.x}% ${100*e?.DesktopFocalPoint?.y}%`},...e.enableResponsiveBg&&"classic"===e.bgType&&e?.TabletBg?.url&&e?.TabletFocalPoint&&{"--gut-tablet-focal-point":`${100*e?.TabletFocalPoint?.x}% ${100*e?.TabletFocalPoint?.y}%`},...e.enableResponsiveBg&&"classic"===e.bgType&&e?.MobileBg?.url&&e?.MobileFocalPoint&&{"--gut-mobile-focal-point":`${100*e?.MobileFocalPoint?.x}% ${100*e?.MobileFocalPoint?.y}%`},...e?.focusPoint&&"video"!==e.bgType&&!e.enableResponsiveBg&&{backgroundPosition:`${100*e?.focusPoint?.x}% ${100*e?.focusPoint?.y}%`}},n={background:"classic"===e.overlayType?e.overlayColor:e.overlayGradient,opacity:e.overlayOpacity?e.overlayOpacity:""};return(0,Ce.jsx)("div",{className:Ne()("swiper-slide",{"slide-mode":"slider"===b}),children:(0,Ce.jsxs)(Qo,{tagName:te?"a":"div",className:Ne()("swiper-container-outer",{"responsive-image":e.enableResponsiveBg}),style:"cards"===u?void 0:o,children:["cards"===u&&(0,Ce.jsx)("div",{className:"gutslider-card-media",style:o}),"video"===e.bgType&&e.bgVideo?.url&&(0,Ce.jsx)("div",{className:"gutslider-video-wrapper",children:(0,Ce.jsx)("video",{className:"gutslider-video",autoPlay:!0,muted:!0,playsInline:!0,loop:!0,preload:"metadata",children:(0,Ce.jsx)("source",{src:e.bgVideo?.url,type:"video/mp4"})})}),e.enableOverlay&&("classic"===e.bgType||"video"===e.bgType)&&(0,Ce.jsx)("div",{className:"gutslider-overlay",style:n}),(0,Ce.jsx)("div",{className:"gutslider-content-wrapper",children:i?(0,Ce.jsxs)("div",{className:"gutslider-content-inner",children:[(0,Ce.jsxs)("div",{className:"gutslider-content-position",children:[e.photo&&e.photo.url?(0,Ce.jsx)("div",{className:"gutslider-content-image",children:(0,Ce.jsx)("img",{src:e.photo.sizes[e.photoSize].url,alt:e.photo.alt})}):null,(0,Ce.jsxs)("div",{className:"gutslider-content",children:[u&&e.badge&&(0,Ce.jsx)("span",{className:"gutslider-badge",children:e.badge}),r&&(0,Ce.jsx)(ke.RichText,{tagName:h,className:`gutslider-subtitle ${v&&v}`,value:e.subtitle&&e.subtitle,placeholder:__("subtitle…","slider-blocks"),onChange:e=>{const o=[...fe];o[t].subtitle=e,l({slideItems:o})}}),a&&(0,Ce.jsx)(ke.RichText,{tagName:x,className:`gutslider-title ${k&&k}`,value:e.title&&e.title,placeholder:__("title…","slider-blocks"),onChange:e=>{const o=[...fe];o[t].title=e,l({slideItems:o})}}),d&&(0,Ce.jsx)(ke.RichText,{tagName:y,className:`gutslider-description ${N&&N}`,value:e.description&&e.description,placeholder:__("description…","slider-blocks"),onChange:e=>{const o=[...fe];o[t].description=e,l({slideItems:o})}})]})]}),c&&e?.showSbtnLinks?(0,Ce.jsxs)("div",{className:"gutslider-btn-flex",children:[(0,Ce.jsx)("div",{className:Ne()(`gutslider-cta ${_&&_}`),children:(0,Ce.jsx)(ke.RichText,{tagName:"span",value:e.btnLabel&&e.btnLabel,placeholder:__("Button Label","slider-blocks"),onChange:e=>{const o=[...fe];o[t].btnLabel=e,l({slideItems:o})}})}),(0,Ce.jsx)("div",{className:Ne()(`gutslider-cta-secondary ${j&&j}`),children:(0,Ce.jsx)(ke.RichText,{tagName:"span",value:e.sbtnLabel&&e.sbtnLabel,placeholder:__("Button Label","slider-blocks"),onChange:e=>{const o=[...fe];o[t].sbtnLabel=e,l({slideItems:o})}})})]}):c&&(0,Ce.jsx)("div",{className:Ne()(`gutslider-cta ${_&&_}`),children:(0,Ce.jsx)(ke.RichText,{tagName:"span",value:e.btnLabel&&e.btnLabel,placeholder:__("Button Label","slider-blocks"),onChange:e=>{const o=[...fe];o[t].btnLabel=e,l({slideItems:o})}})})]}):(0,Ce.jsxs)("div",{className:"gutslider-content-inner",children:[u&&e.badge&&(0,Ce.jsx)("span",{className:"gutslider-badge",children:e.badge}),r&&(0,Ce.jsx)(ke.RichText,{tagName:h,className:`gutslider-subtitle ${v&&v}`,value:e.subtitle&&e.subtitle,placeholder:__("subtitle…","slider-blocks"),onChange:e=>{const o=[...fe];o[t].subtitle=e,l({slideItems:o})}}),a&&(0,Ce.jsx)(ke.RichText,{tagName:x,className:`gutslider-title ${k&&k}`,value:e.title&&e.title,placeholder:__("title…","slider-blocks"),onChange:e=>{const o=[...fe];o[t].title=e,l({slideItems:o})}}),d&&(0,Ce.jsx)(ke.RichText,{tagName:y,className:`gutslider-description ${N&&N}`,value:e.description&&e.description,placeholder:__("description…","slider-blocks"),onChange:e=>{const o=[...fe];o[t].description=e,l({slideItems:o})}}),c&&e?.showSbtnLinks?(0,Ce.jsxs)("div",{className:"gutslider-btn-flex",children:[(0,Ce.jsx)("div",{className:Ne()(`gutslider-cta ${_&&_}`),children:(0,Ce.jsx)(ke.RichText,{tagName:"span",value:e.btnLabel&&e.btnLabel,placeholder:__("Button Label","slider-blocks"),onChange:e=>{const o=[...fe];o[t].btnLabel=e,l({slideItems:o})}})}),(0,Ce.jsx)("div",{className:Ne()(`gutslider-cta-secondary ${j&&j}`),children:(0,Ce.jsx)(ke.RichText,{tagName:"span",value:e.sbtnLabel&&e.sbtnLabel,placeholder:__("Button Label","slider-blocks"),onChange:e=>{const o=[...fe];o[t].sbtnLabel=e,l({slideItems:o})}})})]}):c&&(0,Ce.jsx)("div",{className:Ne()(`gutslider-cta ${_&&_}`),children:(0,Ce.jsx)(ke.RichText,{tagName:"span",value:e.btnLabel&&e.btnLabel,placeholder:__("Button Label","slider-blocks"),onChange:e=>{const o=[...fe];o[t].btnLabel=e,l({slideItems:o})}})})]})})]})},`${s}-${t}`)}))}),P&&"nav_inside"===I&&!le&&(0,Ce.jsx)(zo,{children:(0,Ce.jsx)("div",{className:`gutslider-nav nav_inside ${A}`,children:F?(0,Ce.jsxs)(zo,{children:[(0,Ce.jsxs)("div",{className:"gutslider-prev",children:["library"===R&&(0,Ce.jsx)(Uo,{icon:D}),"custom"===R&&(0,Ce.jsx)(qo,{children:M})]}),(0,Ce.jsxs)("div",{className:"gutslider-next",children:["library"===R&&(0,Ce.jsx)(Uo,{icon:G}),"custom"===R&&(0,Ce.jsx)(qo,{children:O})]})]}):(0,Ce.jsxs)(zo,{children:[(0,Ce.jsx)("div",{className:"swiper-button-prev"}),(0,Ce.jsx)("div",{className:"swiper-button-next"})]})})}),H&&(0,Ce.jsx)("div",{className:"swiper-pagination"},`pagination-${E}-${V}`)]}),P&&"nav_outside"===I&&!le&&(0,Ce.jsx)(zo,{children:(0,Ce.jsx)("div",{className:`gutslider-nav nav_outside ${A}`,children:F?(0,Ce.jsxs)(zo,{children:[(0,Ce.jsxs)("div",{className:"gutslider-prev",children:["library"===R&&(0,Ce.jsx)(Uo,{icon:D}),"custom"===R&&(0,Ce.jsx)(qo,{children:M})]}),(0,Ce.jsxs)("div",{className:"gutslider-next",children:["library"===R&&(0,Ce.jsx)(Uo,{icon:G}),"custom"===R&&(0,Ce.jsx)(qo,{children:O})]})]}):(0,Ce.jsxs)(zo,{children:[(0,Ce.jsx)("div",{className:"swiper-button-prev"}),(0,Ce.jsx)("div",{className:"swiper-button-next"})]})})}),z&&(0,Ce.jsx)(es,{items:Bl(fe),thumbContent:W,thumbTitlePosition:Z,elRef:Se,onThumbClick:e=>{const t=$e.current?.swiper;t&&(t.params.loop?t.slideToLoop(e):t.slideTo(e))}})]})})]})},save:function({attributes:e}){const{uniqueId:t,showImage:l,showSubTitle:o,showTitle:s,showDescription:n,showButton:i,sliderType:r,preset:a,paginationStyle:d,slideItems:c,sliderOptions:b,titleTag:u,subtitleTag:p,descriptionTag:g,titleAnimation:m,subtitleAnimation:h,descAnimation:x,btnAnimation:y,sbtnAnimation:k,showPagination:v,showNavigation:N,showThumbs:_,thumbsOptions:j,thumbContent:w,thumbTitlePosition:$,navContainerPosition:C,navPosition:S,customNavIcon:f,navIconSource:T,navPrevIcon:L,navNextIcon:B,customPrevSVG:P,customNextSVG:I,enableGlobalLink:A,enableRemoteNav:F,remotePrevSelector:R,remoteNextSelector:D}=e,G=ke.useBlockProps.save({className:Ne()(t,C,S,a&&`gutslider-preset-${a}`,d&&`gutslider-pag-${d}`)});return(0,Ce.jsxs)("div",{...G,"data-swiper-options":JSON.stringify(b),..._&&{"data-thumbs-options":JSON.stringify(j)},...F&&{"data-rprev":R,"data-rnext":D},children:[(0,Ce.jsxs)("div",{className:"swiper",children:[(0,Ce.jsx)("div",{className:"swiper-wrapper",children:c&&c.map(((e,t)=>{const d={backgroundColor:e.bgColor?e.bgColor:"",..."video"!==e.bgType&&!e.enableResponsiveBg&&{backgroundImage:"classic"===e.bgType?`url(${e.image.url})`:e.bgGradient},..."video"!==e.bgType&&e.enableResponsiveBg&&"classic"===e.bgType&&{"--gut-desktop-bg-image":`url(${e.DesktopBg?.url})`,"--gut-tablet-bg-image":`url(${e.TabletBg?.url})`,"--gut-mobile-bg-image":`url(${e.MobileBg?.url})`},...e.enableResponsiveBg&&"classic"===e.bgType&&e?.DesktopBg?.url&&e?.DesktopFocalPoint&&{"--gut-desktop-focal-point":`${100*e?.DesktopFocalPoint?.x}% ${100*e?.DesktopFocalPoint?.y}%`},...e.enableResponsiveBg&&"classic"===e.bgType&&e?.TabletBg?.url&&e?.TabletFocalPoint&&{"--gut-tablet-focal-point":`${100*e?.TabletFocalPoint?.x}% ${100*e?.TabletFocalPoint?.y}%`},...e.enableResponsiveBg&&"classic"===e.bgType&&e?.MobileBg?.url&&e?.MobileFocalPoint&&{"--gut-mobile-focal-point":`${100*e?.MobileFocalPoint?.x}% ${100*e?.MobileFocalPoint?.y}%`},...e?.focusPoint&&"video"!==e.bgType&&!e.enableResponsiveBg&&{backgroundPosition:`${100*e?.focusPoint?.x}% ${100*e?.focusPoint?.y}%`}},c={background:"classic"===e.overlayType?e.overlayColor:e.overlayGradient,opacity:e.overlayOpacity?e.overlayOpacity:""};return(0,Ce.jsx)("div",{className:Ne()("swiper-slide",{"slide-mode":"slider"===r}),children:(0,Ce.jsxs)(is,{tagName:A?"a":"div",...A&&{...as(e.globalLink),...e.globalLink?.url&&{href:e.globalLink.url},...e.globalLink?.openInNewTab&&{target:"_blank",rel:[e.globalLink.addNoFollow&&"nofollow",e.globalLink.addSponsored&&"sponsored",e.globalLink.openInNewTab&&"noopener noreferrer"].filter(Boolean).join(" ")}},className:Ne()("swiper-container-outer",{"responsive-image":e.enableResponsiveBg}),style:"cards"===a?void 0:d,children:["cards"===a&&(0,Ce.jsx)("div",{className:"gutslider-card-media",style:d}),"video"===e.bgType&&e.bgVideo?.url&&(0,Ce.jsx)("div",{className:"gutslider-video-wrapper",children:(0,Ce.jsx)("video",{className:"gutslider-video",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,preload:"metadata",children:(0,Ce.jsx)("source",{src:e.bgVideo?.url,type:"video/mp4"})})}),e.enableOverlay&&("classic"===e.bgType||"video"===e.bgType)&&(0,Ce.jsx)("div",{className:"gutslider-overlay",style:c}),(0,Ce.jsx)("div",{className:"gutslider-content-wrapper",children:l?(0,Ce.jsxs)("div",{className:"gutslider-content-inner",children:[(0,Ce.jsxs)("div",{className:"gutslider-content-position",children:[e.photo&&e.photo.url?(0,Ce.jsx)("div",{className:"gutslider-content-image",children:(0,Ce.jsx)("img",{src:e.photo.sizes[e.photoSize].url,alt:e.photo.alt,className:Ne()(`wp-image-${e.photo.id}`)})}):null,(0,Ce.jsxs)("div",{className:"guslider-content",children:[a&&e.badge&&(0,Ce.jsx)("span",{className:"gutslider-badge",children:e.badge}),o&&e.subtitle&&(0,Ce.jsx)(ke.RichText.Content,{tagName:p,value:e.subtitle,className:`gutslider-subtitle ${h&&h}`}),s&&e.title&&(0,Ce.jsx)(ke.RichText.Content,{tagName:u,value:e.title,className:`gutslider-title ${m&&m}`}),n&&e.description&&(0,Ce.jsx)(ke.RichText.Content,{tagName:g,value:e.description,className:`gutslider-description ${x&&x}`})]})]}),e.btnLabel&&e.btnLinks&&e.btnLinks.url&&(0,Ce.jsx)(is,{tagName:A?"span":"a",className:Ne()(`gutslider-cta ${y&&y}`),...!A&&{href:e.btnLinks&&e.btnLinks.url,...as(e.btnLinks),target:e.btnLinks.openInNewTab&&"_blank"},...e.btnLinks&&!A&&(e.btnLinks.openInNewTab||e.btnLinks.addNoFollow||e.btnLinks.addSponsored)&&{rel:[e.btnLinks.openInNewTab&&"noopener noreferrer",e.btnLinks.addNoFollow&&"nofollow",e.btnLinks.addSponsored&&"sponsored"].filter(Boolean).join(" ")},children:e.btnLabel}),i&&e?.showSbtnLinks?(0,Ce.jsx)("div",{className:"gutslider-btn-flex",children:e.sbtnLabel&&e.sbtnLinks&&e.sbtnLinks.url&&(0,Ce.jsx)(is,{tagName:A?"span":"a",className:Ne()(`gutslider-cta-secondary ${k&&k}`),...!A&&{href:e.sbtnLinks&&e.sbtnLinks.url,...as(e.sbtnLinks),target:e.sbtnLinks.openInNewTab&&"_blank"},...e.sbtnLinks&&!A&&(e.sbtnLinks.openInNewTab||e.sbtnLinks.addNoFollow||e.sbtnLinks.addSponsored)&&{rel:[e.sbtnLinks.openInNewTab&&"noopener noreferrer",e.sbtnLinks.addNoFollow&&"nofollow",e.sbtnLinks.addSponsored&&"sponsored"].filter(Boolean).join(" ")},children:e.sbtnLabel})}):e.btnLabel&&e.btnLinks&&e.btnLinks.url&&(0,Ce.jsx)(is,{tagName:A?"span":"a",className:Ne()(`gutslider-cta ${y&&y}`),...!A&&{href:e.btnLinks&&e.btnLinks.url,...as(e.btnLinks),target:e.btnLinks&&e.btnLinks.openInNewTab&&"_blank"},...e.btnLinks&&!A&&(e.btnLinks.openInNewTab||e.btnLinks.addNoFollow||e.btnLinks.addSponsored)&&{rel:[e.btnLinks.openInNewTab&&"noopener noreferrer",e.btnLinks.addNoFollow&&"nofollow",e.btnLinks.addSponsored&&"sponsored"].filter(Boolean).join(" ")},children:e.btnLabel})]}):(0,Ce.jsxs)("div",{className:"gutslider-content-inner",children:[a&&e.badge&&(0,Ce.jsx)("span",{className:"gutslider-badge",children:e.badge}),o&&e.subtitle&&(0,Ce.jsx)(ke.RichText.Content,{tagName:p,value:e.subtitle,className:`gutslider-subtitle ${h&&h}`}),s&&e.title&&(0,Ce.jsx)(ke.RichText.Content,{tagName:u,value:e.title,className:`gutslider-title ${m&&m}`}),n&&e.description&&(0,Ce.jsx)(ke.RichText.Content,{tagName:g,value:e.description,className:`gutslider-description ${x&&x}`}),i&&e?.showSbtnLinks?(0,Ce.jsxs)("div",{className:"gutslider-btn-flex",children:[e.btnLabel&&e.btnLinks&&e.btnLinks.url&&(0,Ce.jsx)(is,{tagName:A?"span":"a",className:Ne()(`gutslider-cta ${y&&y}`),...!A&&{href:e.btnLinks&&e.btnLinks.url,...as(e.btnLinks),target:e.btnLinks.openInNewTab&&"_blank"},...e.btnLinks&&(e.btnLinks.openInNewTab||e.btnLinks.addNoFollow||e.btnLinks.addSponsored)&&{rel:[e.btnLinks.openInNewTab&&"noopener noreferrer",e.btnLinks.addNoFollow&&"nofollow",e.btnLinks.addSponsored&&"sponsored"].filter(Boolean).join(" ")},children:e.btnLabel}),e.sbtnLabel&&e.sbtnLinks&&e.sbtnLinks.url&&(0,Ce.jsx)(is,{tagName:A?"span":"a",className:Ne()(`gutslider-cta-secondary ${k&&k}`),...!A&&{href:e.sbtnLinks&&e.sbtnLinks.url,...as(e.sbtnLinks),target:e.sbtnLinks.openInNewTab&&"_blank"},...e.sbtnLinks&&(e.sbtnLinks.openInNewTab||e.sbtnLinks.addNoFollow||e.sbtnLinks.addSponsored)&&{rel:[e.sbtnLinks.openInNewTab&&"noopener noreferrer",e.sbtnLinks.addNoFollow&&"nofollow",e.sbtnLinks.addSponsored&&"sponsored"].filter(Boolean).join(" ")},children:e.sbtnLabel})]}):i&&e.btnLabel&&e.btnLinks&&e.btnLinks.url&&(0,Ce.jsx)(is,{tagName:A?"span":"a",className:Ne()(`gutslider-cta ${y&&y}`),...!A&&{href:e.btnLinks&&e.btnLinks.url,...as(e.btnLinks),target:e.btnLinks.openInNewTab&&"_blank"},...e.btnLinks&&(e.btnLinks.openInNewTab||e.btnLinks.addNoFollow||e.btnLinks.addSponsored)&&{rel:[e.btnLinks.openInNewTab&&"noopener noreferrer",e.btnLinks.addNoFollow&&"nofollow",e.btnLinks.addSponsored&&"sponsored"].filter(Boolean).join(" ")},children:e.btnLabel})]})})]})},t)}))}),N&&"nav_inside"===C&&!F&&(0,Ce.jsx)($e.Fragment,{children:(0,Ce.jsx)("div",{className:`gutslider-nav nav_inside ${S}`,children:f?(0,Ce.jsxs)($e.Fragment,{children:[(0,Ce.jsxs)("div",{className:"gutslider-prev",children:["library"===T&&(0,Ce.jsx)(ns,{icon:L}),"custom"===T&&(0,Ce.jsx)($e.RawHTML,{children:P})]}),(0,Ce.jsxs)("div",{className:"gutslider-next",children:["library"===T&&(0,Ce.jsx)(ns,{icon:B}),"custom"===T&&(0,Ce.jsx)($e.RawHTML,{children:I})]})]}):(0,Ce.jsxs)($e.Fragment,{children:[(0,Ce.jsx)("div",{className:"swiper-button-prev"}),(0,Ce.jsx)("div",{className:"swiper-button-next"})]})})}),v&&(0,Ce.jsx)("div",{className:"swiper-pagination"})]}),N&&"nav_outside"===C&&!F&&(0,Ce.jsx)($e.Fragment,{children:(0,Ce.jsx)("div",{className:`gutslider-nav nav_outside ${S}`,children:f?(0,Ce.jsxs)($e.Fragment,{children:[(0,Ce.jsxs)("div",{className:"gutslider-prev",children:["library"===T&&(0,Ce.jsx)(ns,{icon:L}),"custom"===T&&(0,Ce.jsx)($e.RawHTML,{children:P})]}),(0,Ce.jsxs)("div",{className:"gutslider-next",children:["library"===T&&(0,Ce.jsx)(ns,{icon:B}),"custom"===T&&(0,Ce.jsx)($e.RawHTML,{children:I})]})]}):(0,Ce.jsxs)($e.Fragment,{children:[(0,Ce.jsx)("div",{className:"swiper-button-prev"}),(0,Ce.jsx)("div",{className:"swiper-button-next"})]})})}),_&&(0,Ce.jsx)(rs,{items:Bl(c),thumbContent:w,thumbTitlePosition:$})]})},deprecated:Us})},485(e,t){var l;!function(){"use strict";var o={}.hasOwnProperty;function s(){for(var e=[],t=0;t<arguments.length;t++){var l=arguments[t];if(l){var n=typeof l;if("string"===n||"number"===n)e.push(l);else if(Array.isArray(l)){if(l.length){var i=s.apply(null,l);i&&e.push(i)}}else if("object"===n){if(l.toString!==Object.prototype.toString&&!l.toString.toString().includes("[native code]")){e.push(l.toString());continue}for(var r in l)o.call(l,r)&&l[r]&&e.push(r)}}}return e.join(" ")}e.exports?(s.default=s,e.exports=s):void 0===(l=function(){return s}.apply(t,[]))||(e.exports=l)}()}};const t={};function l(o){const s=t[o];if(void 0!==s)return s.exports;const n=t[o]={exports:{}};return e[o](n,n.exports,l),n.exports}l.m=e,(()=>{const e=[];l.O=(t,o,s,n)=>{if(o){n=n||0;for(var i=e.length;i>0&&e[i-1][2]>n;i--)e[i]=e[i-1];return void(e[i]=[o,s,n])}let r=1/0;for(i=0;i<e.length;i++){let[o,s,n]=e[i],d=!0;for(var a=0;a<o.length;a++)(!1&n||r>=n)&&Object.keys(l.O).every((e=>l.O[e](o[a])))?o.splice(a--,1):(d=!1,n<r&&(r=n));if(d){e.splice(i--,1);const l=s();void 0!==l&&(t=l)}}return t}})(),l.n=e=>{const t=e&&e.__esModule?()=>e.default:()=>e;return l.d(t,{a:t}),t},l.d=(e,t)=>{if(Array.isArray(t))for(var o=0;o<t.length;){var s=t[o++],n=t[o++];l.o(e,s)?0===n&&o++:0===n?Object.defineProperty(e,s,{enumerable:!0,value:t[o++]}):Object.defineProperty(e,s,{enumerable:!0,get:n})}else for(var s in t)l.o(t,s)&&!l.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},l.o=(e,t)=>Object.hasOwn(e,t),l.r=e=>{Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{const e={26:0,566:0};l.O.j=t=>0===e[t];const t=(t,o)=>{let[s,n,i]=o;var r,a,d=0;if(s.some((t=>0!==e[t]))){for(r in n)l.o(n,r)&&(l.m[r]=n[r]);if(i)var c=i(l)}for(t&&t(o);d<s.length;d++)a=s[d],l.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return l.O(c)},o=globalThis.webpackChunkgutenberg_boilerplate||=[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})();let o=l.O(void 0,[566],(()=>l(384)));o=l.O(o)})(); | |