Файловый менеджер - Редактировать - /home/admin/domains/octawebtools.com/public_html/wp-content/plugins/gutenverse/assets/js/blocks.js
�азад
/*! For license information please see blocks.js.LICENSE.txt */ (()=>{var e={17:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>ie,name:()=>se,settings:()=>le});var n={};o.r(n),o.d(n,{divider_arrows:()=>k,divider_curly:()=>w,divider_curved:()=>S,divider_fir:()=>B,divider_halfrounds:()=>A,divider_leaves:()=>H,divider_multiple:()=>C,divider_parallelogram:()=>E,divider_pluses:()=>P,divider_rectangles:()=>D,divider_rhombus:()=>N,divider_slashed:()=>_,divider_squared:()=>j,divider_squares:()=>I,divider_stripes:()=>R,divider_trees:()=>M,divider_tribal:()=>L,divider_wavy:()=>T,divider_x:()=>z,divider_zigzag:()=>O});var r=o(8930),i=o(6065),a=o(9491),s=o(7723),l=o(6087),c=o(4715),p=o(3482),u=o(596),d=o(790),y=function(e){var t=e.elementId;return[{id:"type",label:(0,s.__)("Type","gutenverse"),component:u.SelectControl,options:[{label:(0,s.__)("Default"),value:"default"},{label:(0,s.__)("Double"),value:"double"},{label:(0,s.__)("Dotted"),value:"dotted"},{label:(0,s.__)("Dashed"),value:"dashed"},{label:(0,s.__)("Curly"),value:"curly"},{label:(0,s.__)("Curved"),value:"curved"},{label:(0,s.__)("Slashed"),value:"slashed"},{label:(0,s.__)("Squared"),value:"squared"},{label:(0,s.__)("Wavy"),value:"wavy"},{label:(0,s.__)("Zigzag"),value:"zigzag"},{label:(0,s.__)("Multiple"),value:"multiple"},{label:(0,s.__)("Arrows"),value:"arrows"},{label:(0,s.__)("Pluses"),value:"pluses"},{label:(0,s.__)("Rhombus"),value:"rhombus"},{label:(0,s.__)("Parallelogram"),value:"parallelogram"},{label:(0,s.__)("Rectangles"),value:"rectangles"},{label:(0,s.__)("Fir Trees"),value:"fir"},{label:(0,s.__)("Half Round"),value:"halfrounds"},{label:(0,s.__)("Leaves"),value:"leaves"},{label:(0,s.__)("Stripes"),value:"stripes"},{label:(0,s.__)("Squares"),value:"squares"},{label:(0,s.__)("Trees"),value:"trees"},{label:(0,s.__)("Tribal"),value:"tribal"},{label:(0,s.__)("X"),value:"x"}]},{id:"width",label:(0,s.__)("Width","gutenverse"),component:u.RangeControl,allowDeviceControl:!0,unit:"%",min:10,max:100,step:1,liveStyle:[{type:"plain",id:"width",selector:".".concat(t," .guten-divider-wrapper"),responsive:!0,properties:[{name:"width",valueType:"pattern",pattern:"{value}%",patternValues:{value:{type:"direct"}}}]}]},{id:"size",label:(0,s.__)("Size","gutenverse"),component:u.RangeControl,allowDeviceControl:!0,unit:"px",min:1,max:100,step:.1,liveStyle:[{type:"plain",id:"size",selector:".".concat(t," .guten-divider-style"),responsive:!0,properties:[{name:"--divider-pattern-height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]},{type:"plain",id:"size",selector:".".concat(t," .guten-divider-line"),responsive:!0,properties:[{name:"border-width",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"gap",label:(0,s.__)("Gap","gutenverse"),component:u.RangeControl,allowDeviceControl:!0,unit:"px",min:1,max:50,step:1,liveStyle:[{type:"plain",id:"gap",selector:".".concat(t," .guten-divider-wrapper"),responsive:!0,properties:[{name:"padding",valueType:"pattern",pattern:"{value}px 0",patternValues:{value:{type:"direct"}}}]}]},{id:"dividerColor",label:(0,s.__)("Color","gutenverse"),component:u.ColorControl,liveStyle:[{type:"color",id:"dividerColor",selector:".".concat(t," .guten-divider-line"),properties:[{name:"border-color",valueType:"direct"}]},{type:"color",id:"dividerColor",selector:".".concat(t," .guten-divider-style"),properties:[{name:"background-color",valueType:"direct"}]}]},{id:"dividerAlign",label:(0,s.__)("Alignment","gutenverse"),component:u.IconRadioControl,allowDeviceControl:!0,options:[{label:(0,s.__)("Align Left","gutenverse"),value:"left",icon:(0,d.jsx)(p.AlignLeft,{})},{label:(0,s.__)("Align Center","gutenverse"),value:"center",icon:(0,d.jsx)(p.AlignCenter,{})},{label:(0,s.__)("Align Right","gutenverse"),value:"right",icon:(0,d.jsx)(p.AlignRight,{})}]}]},g=function(e){var t=e.elementId,o=e.content;return[{id:"content",label:(0,s.__)("Add Content","gutenverse"),component:u.SelectControl,options:[{label:(0,s.__)("None"),value:"none"},{label:(0,s.__)("Text"),value:"text"},{label:(0,s.__)("Icon"),value:"icon"}]},{id:"contentAlign",label:(0,s.__)(" Content Alignment","gutenverse"),show:["text","icon"].includes(o),component:u.IconRadioControl,options:[{label:(0,s.__)("Align Left","gutenverse"),value:"left",icon:(0,d.jsx)(p.AlignLeft,{})},{label:(0,s.__)("Align Center","gutenverse"),value:"center",icon:(0,d.jsx)(p.AlignCenter,{})},{label:(0,s.__)("Align Right","gutenverse"),value:"right",icon:(0,d.jsx)(p.AlignRight,{})}]},{id:"contentColor",label:(0,s.__)("Color","gutenverse"),show:["text","icon"].includes(o),component:u.ColorControl,liveStyle:[{type:"color",id:"contentColor",selector:".".concat(t," .guten-divider-content span, .").concat(t," .guten-divider-content i"),properties:[{name:"color",valueType:"direct"}]}]},{id:"contentSpacing",label:(0,s.__)("Spacing","gutenverse"),show:["text","icon"].includes(o),component:u.RangeControl,allowDeviceControl:!0,unit:"px",min:1,max:50,step:1,liveStyle:[{type:"plain",id:"contentSpacing",responsive:!0,selector:".".concat(t," .guten-divider-content span, .").concat(t," .guten-divider-content i"),properties:[{name:"margin",valueType:"pattern",pattern:"0 {value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"typography",label:(0,s.__)("Typography","gutenverse"),show:"text"===o,component:u.TypographyControl},{id:"icon",label:(0,s.__)("Divider Icon","gutenverse"),show:"icon"===o,component:u.IconControl},{id:"iconSize",label:(0,s.__)("Icon Size","gutenverse"),show:"icon"===o,component:u.SizeControl,allowDeviceControl:!0,units:{px:{text:"px",min:10,max:100,step:1},em:{text:"em",min:.6,max:6,step:.1}},liveStyle:[{type:"unitPoint",id:"iconSize",selector:".".concat(t," .guten-divider-content i"),responsive:!0,properties:[{name:"font-size",valueType:"direct"}]}]}]};function m(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function v(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?m(Object(o),!0).forEach((function(t){(0,i.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):m(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var h=function(){return[{title:(0,s.__)("Divider General","gutenverse"),panelArray:y,tabRole:u.TabStyle},{title:(0,s.__)("Divider Content","gutenverse"),initialOpen:!1,panelArray:g,tabRole:u.TabStyle},{title:(0,s.__)("Background","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,u.backgroundPanel)(v(v({},e),{},{styleId:"divider-background",normalOptions:["default","gradient"],hoverOptions:["default","gradient"]}))},tabRole:u.TabStyle},{title:(0,s.__)("Border","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,u.borderPanel)(v(v({},e),{},{styleId:"divider-border"}))},tabRole:u.TabStyle},{title:(0,s.__)("Masking","gutenverse"),initialOpen:!1,panelArray:u.maskPanel,tabRole:u.TabStyle},{title:(0,s.__)("Display","gutenverse"),initialOpen:!1,panelArray:u.responsivePanel,tabRole:u.TabSetting},{title:(0,s.__)("Positioning","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,u.positioningPanel)(v(v({},e),{},{options:[{value:"default",label:"Default"},{value:"full",label:"Full Width (100%)"},{value:"custom",label:"Custom"}]}))},tabRole:u.TabSetting},{title:(0,s.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,u.animationPanel)(v(v({},e),{},{styleId:"divider-animation"}))},tabRole:u.TabSetting},{title:(0,s.__)("Transform","gutenverse"),initialOpen:!1,panelArray:u.transformPanel,pro:!0},{title:(0,s.__)("Mouse Move Effect","gutenverse"),initialOpen:!1,panelArray:u.mouseMoveEffectPanel,tabRole:u.TabSetting,pro:!0},{title:(0,s.__)("Advanced Animation","gutenverse"),initialOpen:!1,panelAdvance:!0,panelArray:function(e){return(0,u.advanceAnimationPanel)(v(v({},e),{},{blockType:"divider"}))},pro:!0},{title:(0,s.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,u.advancePanel)(v(v({},e),{},{styleId:"divider-advance"}))},tabRole:u.TabSetting},{title:(0,s.__)("Condition","gutenverse"),panelArray:u.conditionPanel,initialOpen:!1,pro:!0}]},b=o(5795),f=o(6427),x=o(8558),w="url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' overflow='visible' height='100%' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1' stroke-linecap='square' stroke-miterlimit='10'%3E%3Cpath d='M0,21c3.3,0,8.3-0.9,15.7-7.1c6.6-5.4,4.4-9.3,2.4-10.3c-3.4-1.8-7.7,1.3-7.3,8.8C11.2,20,17.1,21,24,21'/%3E%3C/svg%3E\")",S="url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' overflow='visible' height='100%' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1' stroke-linecap='square' stroke-miterlimit='10'%3E%3Cpath d='M0,6c6,0,6,13,12,13S18,6,24,6'/%3E%3C/svg%3E\")",_="url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' overflow='visible' height='100%' viewBox='0 0 20 16' fill='none' stroke='black' stroke-width='1' stroke-linecap='square' stroke-miterlimit='10'%3E%3Cg transform='translate(-12.000000, 0)'%3E%3Cpath d='M28,0L10,18'/%3E%3Cpath d='M18,0L0,18'/%3E%3Cpath d='M48,0L30,18'/%3E%3Cpath d='M38,0L20,18'/%3E%3C/g%3E%3C/svg%3E\")",j="url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' overflow='visible' height='100%' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1' stroke-linecap='square' stroke-miterlimit='10'%3E%3Cpolyline points='0,6 6,6 6,18 18,18 18,6 24,6 \t'/%3E%3C/svg%3E\")",T="url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' overflow='visible' height='100%' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1' stroke-linecap='square' stroke-miterlimit='10'%3E%3Cpath d='M0,6c6,0,0.9,11.1,6.9,11.1S18,6,24,6'/%3E%3C/svg%3E\")",O="url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' overflow='visible' height='100%' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1' stroke-linecap='square' stroke-miterlimit='10'%3E%3Cpolyline points='0,18 12,6 24,18 '/%3E%3C/svg%3E\")",C="url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' overflow='visible' height='100%' viewBox='0 0 24 24' fill='black' stroke='none'%3E%3Cpath d='M24,8v12H0V8H24z M24,4v1H0V4H24z'/%3E%3C/svg%3E\")",k="url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='xMidYMid meet' overflow='visible' height='100%' viewBox='0 0 24 24' fill='black' stroke='none'%3E%3Cpath d='M14.2,4c0.3,0,0.5,0.1,0.7,0.3l7.9,7.2c0.2,0.2,0.3,0.4,0.3,0.7s-0.1,0.5-0.3,0.7l-7.9,7.2c-0.2,0.2-0.4,0.3-0.7,0.3s-0.5-0.1-0.7-0.3s-0.3-0.4-0.3-0.7l0-2.9l-11.5,0c-0.4,0-0.7-0.3-0.7-0.7V9.4C1,9,1.3,8.7,1.7,8.7l11.5,0l0-3.6c0-0.3,0.1-0.5,0.3-0.7S13.9,4,14.2,4z'/%3E%3C/svg%3E\")",P="url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='xMidYMid meet' overflow='visible' height='100%' viewBox='0 0 24 24' fill='black' stroke='none'%3E%3Cpath d='M21.4,9.6h-7.1V2.6c0-0.9-0.7-1.6-1.6-1.6h-1.6c-0.9,0-1.6,0.7-1.6,1.6v7.1H2.6C1.7,9.6,1,10.3,1,11.2v1.6c0,0.9,0.7,1.6,1.6,1.6h7.1v7.1c0,0.9,0.7,1.6,1.6,1.6h1.6c0.9,0,1.6-0.7,1.6-1.6v-7.1h7.1c0.9,0,1.6-0.7,1.6-1.6v-1.6C23,10.3,22.3,9.6,21.4,9.6z'/%3E%3C/svg%3E\")",N="url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' overflow='visible' height='100%' viewBox='0 0 24 24' fill='black' stroke='none'%3E%3Cpath d='M12.7,2.3c-0.4-0.4-1.1-0.4-1.5,0l-8,9.1c-0.3,0.4-0.3,0.9,0,1.2l8,9.1c0.4,0.4,1.1,0.4,1.5,0l8-9.1c0.3-0.4,0.3-0.9,0-1.2L12.7,2.3z'/%3E%3C/svg%3E\")",E="url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' overflow='visible' height='100%' viewBox='0 0 24 24' fill='black' stroke='none'%3E%3Cpolygon points='9.4,2 24,2 14.6,21.6 0,21.6'/%3E%3C/svg%3E\")",D="url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' overflow='visible' height='100%' viewBox='0 0 60 30' fill='black' stroke='none'%3E%3Crect x='15' y='0' width='30' height='30'/%3E%3C/svg%3E\")",B="url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='xMidYMid meet' overflow='visible' height='100%' viewBox='0 0 126 26' fill='black' stroke='none'%3E%3Cpath d='M111.9,18.3v3.4H109v-3.4H111.9z M90.8,18.3v3.4H88v-3.4H90.8z M69.8,18.3v3.4h-2.9v-3.4H69.8z M48.8,18.3v3.4h-2.9v-3.4H48.8z M27.7,18.3v3.4h-2.9v-3.4H27.7z M6.7,18.3v3.4H3.8v-3.4H6.7z M46.4,4l4.3,4.8l-1.8,0l3.5,4.4l-2.2-0.1l3,3.3l-11,0.4l3.6-3.8l-2.9-0.1l3.1-4.2l-1.9,0L46.4,4z M111.4,4l2.4,4.8l-1.8,0l3.5,4.4l-2.5-0.1l3.3,3.3h-11l3.1-3.4l-2.5-0.1l3.1-4.2l-1.9,0L111.4,4z M89.9,4l2.9,4.8l-1.9,0l3.2,4.2l-2.5,0l3.5,3.5l-11-0.4l3-3.1l-2.4,0L88,8.8l-1.9,0L89.9,4z M68.6,4l3,4.4l-1.9,0.1l3.4,4.1l-2.7,0.1l3.8,3.7H63.8l2.9-3.6l-2.9,0.1L67,8.7l-2,0.1L68.6,4z M26.5,4l3,4.4l-1.9,0.1l3.7,4.7l-2.5-0.1l3.3,3.3H21l3.1-3.4l-2.5-0.1l3.2-4.3l-2,0.1L26.5,4z M4.9,4l3.7,4.8l-1.5,0l3.1,4.2L7.6,13l3.4,3.4H0l3-3.3l-2.3,0.1l3.5-4.4l-2.3,0L4.9,4z'/%3E%3C/svg%3E\")",A="url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='xMidYMid meet' overflow='visible' height='100%' viewBox='0 0 120 26' fill='black' stroke='none'%3E%3Cpath d='M11.9,15.9L11.9,15.9L0,16c-0.2-3.7,1.5-5.7,4.9-6C10,9.6,12.4,14.2,11.9,15.9zM26.9,15.9L26.9,15.9L15,16c0.5-3.7,2.5-5.7,5.9-6C26,9.6,27.4,14.2,26.9,15.9z M37.1,10c3.4,0.3,5.1,2.3,4.9,6H30.1C29.5,14.4,31.9,9.6,37.1,10z M57,15.9L57,15.9L45,16c0-3.4,1.6-5.4,4.9-5.9C54.8,9.3,57.4,14.2,57,15.9z M71.9,15.9L71.9,15.9L60,16c-0.2-3.7,1.5-5.7,4.9-6C70,9.6,72.4,14.2,71.9,15.9z M82.2,10c3.4,0.3,5,2.3,4.8,6H75.3C74,13,77.1,9.6,82.2,10zM101.9,15.9L101.9,15.9L90,16c-0.2-3.7,1.5-5.7,4.9-6C100,9.6,102.4,14.2,101.9,15.9z M112.1,10.1c2.7,0.5,4.3,2.5,4.9,5.9h-11.9l0,0C104.5,14.4,108,9.3,112.1,10.1z'/%3E%3C/svg%3E\")",H="url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='xMidYMid meet' overflow='visible' height='100%' viewBox='0 0 117 26' fill='black' stroke='none'%3E%3Cpath d='M3,1.5C5,4.9,6,8.8,6,13s-1.7,8.1-5,11.5C0.3,21.1,0,17.2,0,13S1,4.9,3,1.5z M16,1.5c2,3.4,3,7.3,3,11.5s-1,8.1-3,11.5c-2-4.1-3-8.3-3-12.5S14,4.3,16,1.5z M29,1.5c2,4.8,3,9.3,3,13.5s-1,7.4-3,9.5c-2-3.4-3-7.3-3-11.5S27,4.9,29,1.5z M41.1,1.5C43.7,4.9,45,8.8,45,13s-1,8.1-3,11.5c-2-3.4-3-7.3-3-11.5S39.7,4.9,41.1,1.5zM55,1.5c2,2.8,3,6.3,3,10.5s-1.3,8.4-4,12.5c-1.3-3.4-2-7.3-2-11.5S53,4.9,55,1.5z M68,1.5c2,3.4,3,7.3,3,11.5s-0.7,8.1-2,11.5c-2.7-4.8-4-9.3-4-13.5S66,3.6,68,1.5z M82,1.5c1.3,4.8,2,9.3,2,13.5s-1,7.4-3,9.5c-2-3.4-3-7.3-3-11.5S79.3,4.9,82,1.5z M94,1.5c2,3.4,3,7.3,3,11.5s-1.3,8.1-4,11.5c-1.3-1.4-2-4.3-2-8.5S92,6.9,94,1.5z M107,1.5c2,2.1,3,5.3,3,9.5s-0.7,8.7-2,13.5c-2.7-3.4-4-7.3-4-11.5S105,4.9,107,1.5z'/%3E%3C/svg%3E\")",R="url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='xMidYMid meet' overflow='visible' height='100%' viewBox='0 0 120 26' fill='black' stroke='none'%3E%3Cpath d='M54,1.6V26h-9V2.5L54,1.6z M69,1.6v23.3L60,26V1.6H69z M24,1.6v23.5l-9-0.6V1.6H24z M30,0l9,0.7v24.5h-9V0z M9,2.5v22H0V3.7L9,2.5z M75,1.6l9,0.9v22h-9V1.6z M99,2.7v21.7h-9V3.8L99,2.7z M114,3.8v20.7l-9-0.5V3.8L114,3.8z'/%3E%3C/svg%3E\")",I="url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='xMidYMid meet' overflow='visible' height='100%' viewBox='0 0 126 26' fill='black' stroke='none'%3E%3Cpath d='M46.8,7.8v11.5L36,18.6V7.8H46.8z M82.4,7.8L84,18.6l-12,0.7L70.4,7.8H82.4z M0,7.8l12,0.9v9.9H1.3L0,7.8z M30,7.8v10.8H19L18,7.8H30z M63.7,7.8L66,18.6H54V9.5L63.7,7.8z M89.8,7L102,7.8v10.8H91.2L89.8,7zM108,7.8l12,0.9v8.9l-12,1V7.8z'/%3E%3C/svg%3E\")",M="url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='xMidYMid meet' overflow='visible' height='100%' viewBox='0 0 123 26' fill='black' stroke='none'%3E%3Cpath d='M6.4,2l4.2,5.7H7.7v2.7l3.8,5.2l-3.8,0v7.8H4.8v-7.8H0l4.8-5.2V7.7H1.1L6.4,2z M25.6,2L31,7.7h-3.7v2.7l4.8,5.2h-4.8v7.8h-2.8v-7.8l-3.8,0l3.8-5.2V7.7h-2.9L25.6,2z M47.5,2l4.2,5.7h-3.3v2.7l3.8,5.2l-3.8,0l0.4,7.8h-2.8v-7.8H41l4.8-5.2V7.7h-3.7L47.5,2z M66.2,2l5.4,5.7h-3.7v2.7l4.8,5.2h-4.8v7.8H65v-7.8l-3.8,0l3.8-5.2V7.7h-2.9L66.2,2zM87.4,2l4.8,5.7h-2.9v3.1l3.8,4.8l-3.8,0v7.8h-2.8v-7.8h-4.8l4.8-4.8V7.7h-3.7L87.4,2z M107.3,2l5.4,5.7h-3.7v2.7l4.8,5.2h-4.8v7.8H106v-7.8l-3.8,0l3.8-5.2V7.7h-2.9L107.3,2z'/%3E%3C/svg%3E\")",L="url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='xMidYMid meet' overflow='visible' height='100%' viewBox='0 0 121 26' fill='black' stroke='none'%3E%3Cpath d='M29.6,10.3l2.1,2.2l-3.6,3.3h7v2.9h-7l3.6,3.5l-2.1,1.7l-5.2-5.2h-5.8v-2.9h5.8L29.6,10.3z M70.9,9.6l2.1,1.7l-3.6,3.5h7v2.9h-7l3.6,3.3l-2.1,2.2l-5.2-5.5h-5.8v-2.9h5.8L70.9,9.6z M111.5,9.6l2.1,1.7l-3.6,3.5h7v2.9h-7l3.6,3.3l-2.1,2.2l-5.2-5.5h-5.8v-2.9h5.8L111.5,9.6z M50.2,2.7l2.1,1.7l-3.6,3.5h7v2.9h-7l3.6,3.3l-2.1,2.2L45,10.7h-5.8V7.9H45L50.2,2.7z M11,2l2.1,1.7L9.6,7.2h7V10h-7l3.6,3.3L11,15.5L5.8,10H0V7.2h5.8L11,2z M91.5,2l2.1,2.2l-3.6,3.3h7v2.9h-7l3.6,3.5l-2.1,1.7l-5.2-5.2h-5.8V7.5h5.8L91.5,2z'/%3E%3C/svg%3E\")",z="url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='xMidYMid meet' overflow='visible' height='100%' viewBox='0 0 126 26' fill='black' stroke='none'%3E%3Cpath d='M10.7,6l2.5,2.6l-4,4.3l4,5.4l-2.5,1.9l-4.5-5.2l-3.9,4.2L0.7,17L4,13.1L0,8.6l2.3-1.3l3.9,3.9L10.7,6z M23.9,6.6l4.2,4.5L32,7.2l2.3,1.3l-4,4.5l3.2,3.9L32,19.1l-3.9-3.3l-4.5,4.3l-2.5-1.9l4.4-5.1l-4.2-3.9L23.9,6.6zM73.5,6L76,8.6l-4,4.3l4,5.4l-2.5,1.9l-4.5-5.2l-3.9,4.2L63.5,17l4.1-4.7L63.5,8l2.3-1.3l4.1,3.6L73.5,6z M94,6l2.5,2.6l-4,4.3l4,5.4L94,20.1l-3.9-5l-3.9,4.2L84,17l3.2-3.9L84,8.6l2.3-1.3l3.2,3.9L94,6z M106.9,6l4.5,5.1l3.9-3.9l2.3,1.3l-4,4.5l3.2,3.9l-1.6,2.1l-3.9-4.2l-4.5,5.2l-2.5-1.9l4-5.4l-4-4.3L106.9,6z M53.1,6l2.5,2.6l-4,4.3l4,4.6l-2.5,1.9l-4.5-4.5l-3.5,4.5L43.1,17l3.2-3.9l-4-4.5l2.3-1.3l3.9,3.9L53.1,6z'/%3E%3C/svg%3E\")",F=o(1222),V=o(6504),W=o(2188),G=o(6826),U=o(4320),q=o(4404),$=o(2619);const Y=function(e,t){var o=[];return o=(0,u.backgroundStyle)({attributes:t,data:o,elementId:e}),(0,F.isNotEmpty)(t.contentColor)&&o.push({type:"color",id:"contentColor",selector:".".concat(e," .guten-divider-content span, .").concat(e," .guten-divider-content i"),properties:[{name:"color",valueType:"direct"}]}),(0,F.isNotEmpty)(t.contentSpacing)&&o.push({type:"plain",id:"contentSpacing",responsive:!0,selector:".".concat(e," .guten-divider-content span, .").concat(e," .guten-divider-content i"),properties:[{name:"margin",valueType:"pattern",pattern:"0 {value}px",patternValues:{value:{type:"direct"}}}]}),(0,F.isNotEmpty)(t.typography)&&o.push({type:"typography",id:"typography",selector:".".concat(e," .guten-divider-content span")}),(0,F.isNotEmpty)(t.iconSize)&&o.push({type:"unitPoint",id:"iconSize",selector:".".concat(e," .guten-divider-content i"),responsive:!0,properties:[{name:"font-size",valueType:"direct"}]}),(0,F.isNotEmpty)(t.width)&&o.push({type:"plain",id:"width",selector:".".concat(e," .guten-divider-wrapper"),responsive:!0,properties:[{name:"width",valueType:"pattern",pattern:"{value}%",patternValues:{value:{type:"direct"}}}]}),(0,F.isNotEmpty)(t.size)&&o.push({type:"plain",id:"size",selector:".".concat(e," .guten-divider-style"),responsive:!0,properties:[{name:"--divider-pattern-height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,F.isNotEmpty)(t.size)&&o.push({type:"plain",id:"size",selector:".".concat(e," .guten-divider-line"),responsive:!0,properties:[{name:"border-width",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,F.isNotEmpty)(t.gap)&&o.push({type:"plain",id:"gap",selector:".".concat(e," .guten-divider-wrapper"),responsive:!0,properties:[{name:"padding",valueType:"pattern",pattern:"{value}px 0",patternValues:{value:{type:"direct"}}}]}),(0,F.isNotEmpty)(t.dividerColor)&&o.push({type:"color",id:"dividerColor",selector:".".concat(e," .guten-divider-line"),properties:[{name:"border-color",valueType:"direct"}]}),(0,F.isNotEmpty)(t.dividerColor)&&o.push({type:"color",id:"dividerColor",selector:".".concat(e," .guten-divider-style"),properties:[{name:"background-color",valueType:"direct"}]}),(0,F.isNotEmpty)(t.dividerAlign)&&o.push({type:"plain",id:"dividerAlign",selector:".".concat(e,".wp-block-gutenverse-divider"),responsive:!0,properties:[{name:"justify-content",valueType:"direct"}]}),(0,F.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,F.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,F.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,F.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,F.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,F.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,F.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,F.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,F.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,F.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,F.isNotEmpty)(t.animation)&&(0,F.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,F.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,F.isNotEmpty)(t.positioningType)&&(0,F.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,F.isNotEmpty)(t.positioningWidth)&&(0,F.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,F.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,F.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,F.isNotEmpty)(t.positioningLeft)&&(0,F.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,F.isNotEmpty)(t.positioningRight)&&(0,F.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,F.isNotEmpty)(t.positioningTop)&&(0,F.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,F.isNotEmpty)(t.positioningBottom)&&(0,F.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),[].concat((0,q.A)(o),(0,q.A)((0,$.applyFilters)("gutenverse.divider.blockStyle",[],{elementId:e,attributes:t})))};function X(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function J(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?X(Object(o),!0).forEach((function(t){(0,i.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):X(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var Q=function(e){var t=e.dividerClass,o=e.dividerStyle;return(0,d.jsx)("div",{className:"guten-divider-wrapper",style:o,children:(0,d.jsx)("div",J({},t))})},Z=function(e){var t=e.attributes,o=e.setAttributes,n=e.dividerClass,r=e.dividerStyle,i=e.openIconLibrary,a=e.setOpenIconLibrary,s=t.contentAlign,l=t.content,p=t.text,y=t.icon;return(0,d.jsxs)("div",{className:"guten-divider-wrapper",style:r,children:["icon"===l&&i&&(0,b.createPortal)((0,d.jsx)(u.IconLibrary,{closeLibrary:function(){return a(!1)},value:y,onChange:function(e){return o({icon:e})}}),F.gutenverseRoot),"left"!==s&&(0,d.jsx)("div",J({},n)),(0,d.jsx)("span",{className:"guten-divider-content",children:function(){switch(l){case"text":return(0,d.jsx)(c.RichText,{tagName:"span",value:p,placeholder:"Divider Text",onChange:function(e){return o({text:e})},multiline:!1,withoutInteractiveFormatting:!0,identifier:"text"});case"icon":return(0,d.jsx)("i",{className:"".concat(y),onClick:function(){return a(!0)}});default:return null}}()}),"right"!==s&&(0,d.jsx)("div",J({},n))]})};const K=(0,a.compose)(W.withPartialRender,W.withPassRef,(0,W.withAnimationAdvanceV2)("divider"),W.withMouseMoveEffect)((function(e){var t=e.attributes,o=e.clientId,a=e.setBlockRef,y=t.elementId,g=t.content,m=t.type,v=(0,l.useRef)(null),b=(0,G.useAnimationEditor)(t),w=(0,G.useDisplayEditor)(t),S=(0,l.useState)(null),_=(0,r.A)(S,2),j=_[0],T=_[1],O=(0,l.useState)(!1),C=(0,r.A)(O,2),k=C[0],P=C[1],N=["default","double","dotted","dashed"].includes(m),E=["fir","halfrounds","leaves","stripes","squares","trees","tribal","x"].includes(m);(0,U.useGenerateElementId)(o,y,v),(0,U.useDynamicStyle)(y,t,Y,v),(0,U.useDynamicScript)(v);var D=(0,c.useBlockProps)({className:(0,p.classnames)("guten-element","no-margin",y,b,w,(0,i.A)({},"guten-divider-tribal",m&&E)),ref:v}),B={className:(0,p.classnames)("guten-divider-line","guten-divider-".concat(m),{"guten-divider-regular":m&&N,"guten-divider-style":m&&!N})};(0,l.useEffect)((function(){n["divider_".concat(m)]?T((0,i.A)({},"--divider-pattern-url",n["divider_".concat(m)])):T(null)}),[m]),(0,l.useEffect)((function(){v&&a(v)}),[v]);var A=g&&"none"!==g?Z:Q,H=J(J({},e),{},{dividerClass:B,dividerStyle:j,openIconLibrary:k,setOpenIconLibrary:P});return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(p.CopyElementToolbar,J({},e)),(0,d.jsx)(u.BlockPanelController,{panelList:h,props:e,elementRef:v}),"icon"===g&&(0,d.jsx)(c.BlockControls,{children:(0,d.jsx)(f.ToolbarGroup,{children:(0,d.jsx)(f.ToolbarButton,{name:"icon",icon:(0,d.jsx)(V.LogoCircleColor24SVG,{}),title:(0,s.__)("Choose Icon","gutenverse"),shortcut:x.displayShortcut.primary("i"),onClick:function(){return P(!0)}})})}),(0,d.jsx)("div",J(J({},D),{},{children:(0,d.jsx)(A,J({},H))}))]})}));function ee(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function te(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ee(Object(o),!0).forEach((function(t){(0,i.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ee(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var oe=function(e){var t=e.dividerClass,o=e.dividerStyle;return(0,d.jsx)("div",{className:"guten-divider-wrapper",style:o,children:(0,d.jsx)("div",te({},t))})},ne=function(e){var t=e.attributes,o=e.dividerClass,n=e.dividerStyle,r=t.contentAlign,i=t.content,a=t.text,s=t.icon;return(0,d.jsxs)("div",{className:"guten-divider-wrapper",style:n,children:["left"!==r&&(0,d.jsx)("div",te({},o)),(0,d.jsx)("span",{className:"guten-divider-content",children:function(){switch(i){case"text":return(0,d.jsx)("span",{children:(0,d.jsx)(c.RichText.Content,{value:a})});case"icon":return(0,d.jsx)("i",{className:"".concat(s)});default:return null}}()}),"right"!==r&&(0,d.jsx)("div",te({},o))]})};const re=(0,a.compose)((0,W.withAnimationAdvanceScript)("divider"),W.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,r=t.content,a=t.type,s=(0,G.useAnimationAdvanceData)(t),l=(0,G.useAnimationFrontend)(t),u=(0,G.useDisplayFrontend)(t),y=n["divider_".concat(a)]&&(0,i.A)({},"--divider-pattern-url",n["divider_".concat(a)]),g=["default","double","dotted","dashed"].includes(a),m=["fir","halfrounds","leaves","stripes","squares","trees","tribal","x"].includes(a),v=c.useBlockProps.save(te(te({},s),{},{className:(0,p.classnames)("guten-element","guten-divider",o,l,u,(0,i.A)({},"guten-divider-tribal",a&&m))})),h={className:(0,p.classnames)("guten-divider-".concat(a),"guten-divider-line",{"guten-divider-regular":a&&g,"guten-divider-style":a&&!g})},b=r&&"none"!==r?ne:oe,f=te(te({},e),{},{dividerClass:h,dividerStyle:y});return(0,d.jsx)("div",te(te({},v),{},{children:(0,d.jsx)(b,te({},f))}))})),ie=JSON.parse('{"apiVersion":2,"name":"gutenverse/divider","title":"Divider","description":"Split your content with a customizable divider.","category":"gutenverse-element","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"mouseMoveEffect":{"type":"object","copyStyle":true},"type":{"type":"string","default":"default","copyStyle":true},"width":{"type":"object","copyStyle":true},"content":{"type":"string","default":"none"},"dividerColor":{"type":"object","copyStyle":true},"size":{"type":"object","copyStyle":true},"gap":{"type":"object","copyStyle":true},"text":{"type":"string"},"contentColor":{"type":"object","copyStyle":true},"contentSpacing":{"type":"object","copyStyle":true},"typography":{"type":"object","copyStyle":true},"icon":{"type":"string","default":"fab fa-wordpress"},"iconSize":{"type":"object","copyStyle":true},"dividerAlign":{"type":"object","copyStyle":true},"contentAlign":{"type":"string","copyStyle":true},"background":{"type":"object","copyStyle":true},"backgroundHover":{"type":"object","copyStyle":true},"backgroundTransition":{"type":"object","copyStyle":true,"default":{}},"border":{"type":"object","copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"borderHover":{"type":"object","copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadowHover":{"type":"object","copyStyle":true},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"animation":{"type":"object","copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"positioningType":{"type":"object","copyStyle":true},"positioningWidth":{"type":"object","copyStyle":true},"positioningAlign":{"type":"object","copyStyle":true},"positioningLocation":{"type":"string","copyStyle":true},"positioningLeft":{"type":"object","copyStyle":true},"positioningRight":{"type":"object","copyStyle":true},"positioningTop":{"type":"object","copyStyle":true},"positioningBottom":{"type":"object","copyStyle":true},"advanceAnimation":{"type":"object","default":{},"copyStyle":true},"transform":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"condition":{"type":"object","default":{}}},"keywords":["divider","line","separator"]}');var ae=o(4889),se=ie.name,le={icon:(0,d.jsx)(ae.Pz,{}),example:{attributes:{type:"double",width:{Desktop:"90"},content:"icon",dividerColor:{r:94,g:129,b:244,a:1},size:"",text:"Gutenverse Divider",contentColor:{r:19,g:41,b:120,a:1},contentSpacing:"",typography:{font:{label:"Roboto",value:"Roboto",type:"google"},weight:"600",size:{Desktop:{point:"18",unit:"px"}}},iconSize:{point:"40",unit:"px"},margin:{Desktop:{unit:"px",dimension:{top:"40"}}},padding:{Desktop:{}}}},edit:K,save:re}},77:(e,t,o)=>{var n=o(5364),r=o(6615),i=o(3676),a=o(2489),s=o(2039),l=o(6624),c=o(1513),p="[object Map]",u="[object Promise]",d="[object Set]",y="[object WeakMap]",g="[object DataView]",m=c(n),v=c(r),h=c(i),b=c(a),f=c(s),x=l;(n&&x(new n(new ArrayBuffer(1)))!=g||r&&x(new r)!=p||i&&x(i.resolve())!=u||a&&x(new a)!=d||s&&x(new s)!=y)&&(x=function(e){var t=l(e),o="[object Object]"==t?e.constructor:void 0,n=o?c(o):"";if(n)switch(n){case m:return g;case v:return p;case h:return u;case b:return d;case f:return y}return t}),e.exports=x},154:(e,t,o)=>{"use strict";o.d(t,{A:()=>Se});var n=o(3438),r=o(6087);function i(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function a(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach((o=>{void 0===e[o]?e[o]=t[o]:i(t[o])&&i(e[o])&&Object.keys(t[o]).length>0&&a(e[o],t[o])}))}const s={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function l(){const e="undefined"!=typeof document?document:{};return a(e,s),e}const c={document:s,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function p(){const e="undefined"!=typeof window?window:{};return a(e,c),e}function u(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function d(){return Date.now()}function y(e,t){void 0===t&&(t="x");const o=p();let n,r,i;const a=function(e){const t=p();let o;return t.getComputedStyle&&(o=t.getComputedStyle(e,null)),!o&&e.currentStyle&&(o=e.currentStyle),o||(o=e.style),o}(e);return o.WebKitCSSMatrix?(r=a.transform||a.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map((e=>e.replace(",","."))).join(", ")),i=new o.WebKitCSSMatrix("none"===r?"":r)):(i=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=i.toString().split(",")),"x"===t&&(r=o.WebKitCSSMatrix?i.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===t&&(r=o.WebKitCSSMatrix?i.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),r||0}function g(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function m(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let n=1;n<arguments.length;n+=1){const r=n<0||arguments.length<=n?void 0:arguments[n];if(null!=r&&(o=r,!("undefined"!=typeof window&&void 0!==window.HTMLElement?o instanceof HTMLElement:o&&(1===o.nodeType||11===o.nodeType)))){const o=Object.keys(Object(r)).filter((e=>t.indexOf(e)<0));for(let t=0,n=o.length;t<n;t+=1){const n=o[t],i=Object.getOwnPropertyDescriptor(r,n);void 0!==i&&i.enumerable&&(g(e[n])&&g(r[n])?r[n].__swiper__?e[n]=r[n]:m(e[n],r[n]):!g(e[n])&&g(r[n])?(e[n]={},r[n].__swiper__?e[n]=r[n]:m(e[n],r[n])):e[n]=r[n])}}}var o;return e}function v(e,t,o){e.style.setProperty(t,o)}function h(e){let{swiper:t,targetPosition:o,side:n}=e;const r=p(),i=-t.translate;let a,s=null;const l=t.params.speed;t.wrapperEl.style.scrollSnapType="none",r.cancelAnimationFrame(t.cssModeFrameID);const c=o>i?"next":"prev",u=(e,t)=>"next"===c&&e>=t||"prev"===c&&e<=t,d=()=>{a=(new Date).getTime(),null===s&&(s=a);const e=Math.max(Math.min((a-s)/l,1),0),c=.5-Math.cos(e*Math.PI)/2;let p=i+c*(o-i);if(u(p,o)&&(p=o),t.wrapperEl.scrollTo({[n]:p}),u(p,o))return t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout((()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[n]:p})})),void r.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=r.requestAnimationFrame(d)};d()}function b(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function f(e,t){void 0===t&&(t="");const o=[...e.children];return e instanceof HTMLSlotElement&&o.push(...e.assignedElements()),t?o.filter((e=>e.matches(t))):o}function x(e){try{return void console.warn(e)}catch(e){}}function w(e,t){void 0===t&&(t=[]);const o=document.createElement(e);return o.classList.add(...Array.isArray(t)?t:function(e){return void 0===e&&(e=""),e.trim().split(" ").filter((e=>!!e.trim()))}(t)),o}function S(e){const t=p(),o=l(),n=e.getBoundingClientRect(),r=o.body,i=e.clientTop||r.clientTop||0,a=e.clientLeft||r.clientLeft||0,s=e===t?t.scrollY:e.scrollTop,c=e===t?t.scrollX:e.scrollLeft;return{top:n.top+s-i,left:n.left+c-a}}function _(e,t){return p().getComputedStyle(e,null).getPropertyValue(t)}function j(e){let t,o=e;if(o){for(t=0;null!==(o=o.previousSibling);)1===o.nodeType&&(t+=1);return t}}function T(e,t){const o=[];let n=e.parentElement;for(;n;)t?n.matches(t)&&o.push(n):o.push(n),n=n.parentElement;return o}function O(e,t,o){const n=p();return o?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(n.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(n.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}function C(e){return(Array.isArray(e)?e:[e]).filter((e=>!!e))}function k(e){return t=>Math.abs(t)>0&&e.browser&&e.browser.need3dFix&&Math.abs(t)%90==0?t+.001:t}let P,N,E;function D(){return P||(P=function(){const e=p(),t=l();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),P}function B(e){return void 0===e&&(e={}),N||(N=function(e){let{userAgent:t}=void 0===e?{}:e;const o=D(),n=p(),r=n.navigator.platform,i=t||n.navigator.userAgent,a={ios:!1,android:!1},s=n.screen.width,l=n.screen.height,c=i.match(/(Android);?[\s\/]+([\d.]+)?/);let u=i.match(/(iPad).*OS\s([\d_]+)/);const d=i.match(/(iPod)(.*OS\s([\d_]+))?/),y=!u&&i.match(/(iPhone\sOS|iOS)\s([\d_]+)/),g="Win32"===r;let m="MacIntel"===r;return!u&&m&&o.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${s}x${l}`)>=0&&(u=i.match(/(Version)\/([\d.]+)/),u||(u=[0,1,"13_0_0"]),m=!1),c&&!g&&(a.os="android",a.android=!0),(u||y||d)&&(a.os="ios",a.ios=!0),a}(e)),N}var A={on(e,t,o){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof t)return n;const r=o?"unshift":"push";return e.split(" ").forEach((e=>{n.eventsListeners[e]||(n.eventsListeners[e]=[]),n.eventsListeners[e][r](t)})),n},once(e,t,o){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof t)return n;function r(){n.off(e,r),r.__emitterProxy&&delete r.__emitterProxy;for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];t.apply(n,i)}return r.__emitterProxy=t,n.on(e,r,o)},onAny(e,t){const o=this;if(!o.eventsListeners||o.destroyed)return o;if("function"!=typeof e)return o;const n=t?"unshift":"push";return o.eventsAnyListeners.indexOf(e)<0&&o.eventsAnyListeners[n](e),o},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const o=t.eventsAnyListeners.indexOf(e);return o>=0&&t.eventsAnyListeners.splice(o,1),t},off(e,t){const o=this;return!o.eventsListeners||o.destroyed?o:o.eventsListeners?(e.split(" ").forEach((e=>{void 0===t?o.eventsListeners[e]=[]:o.eventsListeners[e]&&o.eventsListeners[e].forEach(((n,r)=>{(n===t||n.__emitterProxy&&n.__emitterProxy===t)&&o.eventsListeners[e].splice(r,1)}))})),o):o},emit(){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsListeners)return e;let t,o,n;for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return"string"==typeof i[0]||Array.isArray(i[0])?(t=i[0],o=i.slice(1,i.length),n=e):(t=i[0].events,o=i[0].data,n=i[0].context||e),o.unshift(n),(Array.isArray(t)?t:t.split(" ")).forEach((t=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach((e=>{e.apply(n,[t,...o])})),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach((e=>{e.apply(n,o)}))})),e}};const H=(e,t,o)=>{t&&!e.classList.contains(o)?e.classList.add(o):!t&&e.classList.contains(o)&&e.classList.remove(o)},R=(e,t,o)=>{t&&!e.classList.contains(o)?e.classList.add(o):!t&&e.classList.contains(o)&&e.classList.remove(o)},I=(e,t)=>{if(!e||e.destroyed||!e.params)return;const o=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(o){let t=o.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(o.shadowRoot?t=o.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame((()=>{o.shadowRoot&&(t=o.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),t&&t.remove())}))),t&&t.remove()}},M=(e,t)=>{if(!e.slides[t])return;const o=e.slides[t].querySelector('[loading="lazy"]');o&&o.removeAttribute("loading")},L=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const o=e.slides.length;if(!o||!t||t<0)return;t=Math.min(t,o);const n="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),r=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const o=r,i=[o-t];return i.push(...Array.from({length:t}).map(((e,t)=>o+n+t))),void e.slides.forEach(((t,o)=>{i.includes(t.column)&&M(e,o)}))}const i=r+n-1;if(e.params.rewind||e.params.loop)for(let n=r-t;n<=i+t;n+=1){const t=(n%o+o)%o;(t<r||t>i)&&M(e,t)}else for(let n=Math.max(r-t,0);n<=Math.min(i+t,o-1);n+=1)n!==r&&(n>i||n<r)&&M(e,n)};var z={updateSize:function(){const e=this;let t,o;const n=e.el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:n.clientWidth,o=void 0!==e.params.height&&null!==e.params.height?e.params.height:n.clientHeight,0===t&&e.isHorizontal()||0===o&&e.isVertical()||(t=t-parseInt(_(n,"padding-left")||0,10)-parseInt(_(n,"padding-right")||0,10),o=o-parseInt(_(n,"padding-top")||0,10)-parseInt(_(n,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(o)&&(o=0),Object.assign(e,{width:t,height:o,size:e.isHorizontal()?t:o}))},updateSlides:function(){const e=this;function t(t,o){return parseFloat(t.getPropertyValue(e.getDirectionLabel(o))||0)}const o=e.params,{wrapperEl:n,slidesEl:r,size:i,rtlTranslate:a,wrongRTL:s}=e,l=e.virtual&&o.virtual.enabled,c=l?e.virtual.slides.length:e.slides.length,p=f(r,`.${e.params.slideClass}, swiper-slide`),u=l?e.virtual.slides.length:p.length;let d=[];const y=[],g=[];let m=o.slidesOffsetBefore;"function"==typeof m&&(m=o.slidesOffsetBefore.call(e));let h=o.slidesOffsetAfter;"function"==typeof h&&(h=o.slidesOffsetAfter.call(e));const b=e.snapGrid.length,x=e.slidesGrid.length;let w=o.spaceBetween,S=-m,j=0,T=0;if(void 0===i)return;"string"==typeof w&&w.indexOf("%")>=0?w=parseFloat(w.replace("%",""))/100*i:"string"==typeof w&&(w=parseFloat(w)),e.virtualSize=-w,p.forEach((e=>{a?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""})),o.centeredSlides&&o.cssMode&&(v(n,"--swiper-centered-offset-before",""),v(n,"--swiper-centered-offset-after",""));const C=o.grid&&o.grid.rows>1&&e.grid;let k;C?e.grid.initSlides(p):e.grid&&e.grid.unsetSlides();const P="auto"===o.slidesPerView&&o.breakpoints&&Object.keys(o.breakpoints).filter((e=>void 0!==o.breakpoints[e].slidesPerView)).length>0;for(let n=0;n<u;n+=1){let r;if(k=0,p[n]&&(r=p[n]),C&&e.grid.updateSlide(n,r,p),!p[n]||"none"!==_(r,"display")){if("auto"===o.slidesPerView){P&&(p[n].style[e.getDirectionLabel("width")]="");const i=getComputedStyle(r),a=r.style.transform,s=r.style.webkitTransform;if(a&&(r.style.transform="none"),s&&(r.style.webkitTransform="none"),o.roundLengths)k=e.isHorizontal()?O(r,"width",!0):O(r,"height",!0);else{const e=t(i,"width"),o=t(i,"padding-left"),n=t(i,"padding-right"),a=t(i,"margin-left"),s=t(i,"margin-right"),l=i.getPropertyValue("box-sizing");if(l&&"border-box"===l)k=e+a+s;else{const{clientWidth:t,offsetWidth:i}=r;k=e+o+n+a+s+(i-t)}}a&&(r.style.transform=a),s&&(r.style.webkitTransform=s),o.roundLengths&&(k=Math.floor(k))}else k=(i-(o.slidesPerView-1)*w)/o.slidesPerView,o.roundLengths&&(k=Math.floor(k)),p[n]&&(p[n].style[e.getDirectionLabel("width")]=`${k}px`);p[n]&&(p[n].swiperSlideSize=k),g.push(k),o.centeredSlides?(S=S+k/2+j/2+w,0===j&&0!==n&&(S=S-i/2-w),0===n&&(S=S-i/2-w),Math.abs(S)<.001&&(S=0),o.roundLengths&&(S=Math.floor(S)),T%o.slidesPerGroup===0&&d.push(S),y.push(S)):(o.roundLengths&&(S=Math.floor(S)),(T-Math.min(e.params.slidesPerGroupSkip,T))%e.params.slidesPerGroup===0&&d.push(S),y.push(S),S=S+k+w),e.virtualSize+=k+w,j=k,T+=1}}if(e.virtualSize=Math.max(e.virtualSize,i)+h,a&&s&&("slide"===o.effect||"coverflow"===o.effect)&&(n.style.width=`${e.virtualSize+w}px`),o.setWrapperSize&&(n.style[e.getDirectionLabel("width")]=`${e.virtualSize+w}px`),C&&e.grid.updateWrapperSize(k,d),!o.centeredSlides){const t=[];for(let n=0;n<d.length;n+=1){let r=d[n];o.roundLengths&&(r=Math.floor(r)),d[n]<=e.virtualSize-i&&t.push(r)}d=t,Math.floor(e.virtualSize-i)-Math.floor(d[d.length-1])>1&&d.push(e.virtualSize-i)}if(l&&o.loop){const t=g[0]+w;if(o.slidesPerGroup>1){const n=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/o.slidesPerGroup),r=t*o.slidesPerGroup;for(let e=0;e<n;e+=1)d.push(d[d.length-1]+r)}for(let n=0;n<e.virtual.slidesBefore+e.virtual.slidesAfter;n+=1)1===o.slidesPerGroup&&d.push(d[d.length-1]+t),y.push(y[y.length-1]+t),e.virtualSize+=t}if(0===d.length&&(d=[0]),0!==w){const t=e.isHorizontal()&&a?"marginLeft":e.getDirectionLabel("marginRight");p.filter(((e,t)=>!(o.cssMode&&!o.loop)||t!==p.length-1)).forEach((e=>{e.style[t]=`${w}px`}))}if(o.centeredSlides&&o.centeredSlidesBounds){let e=0;g.forEach((t=>{e+=t+(w||0)})),e-=w;const t=e-i;d=d.map((e=>e<=0?-m:e>t?t+h:e))}if(o.centerInsufficientSlides){let e=0;g.forEach((t=>{e+=t+(w||0)})),e-=w;const t=(o.slidesOffsetBefore||0)+(o.slidesOffsetAfter||0);if(e+t<i){const o=(i-e-t)/2;d.forEach(((e,t)=>{d[t]=e-o})),y.forEach(((e,t)=>{y[t]=e+o}))}}if(Object.assign(e,{slides:p,snapGrid:d,slidesGrid:y,slidesSizesGrid:g}),o.centeredSlides&&o.cssMode&&!o.centeredSlidesBounds){v(n,"--swiper-centered-offset-before",-d[0]+"px"),v(n,"--swiper-centered-offset-after",e.size/2-g[g.length-1]/2+"px");const t=-e.snapGrid[0],o=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+o))}if(u!==c&&e.emit("slidesLengthChange"),d.length!==b&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),y.length!==x&&e.emit("slidesGridLengthChange"),o.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!(l||o.cssMode||"slide"!==o.effect&&"fade"!==o.effect)){const t=`${o.containerModifierClass}backface-hidden`,n=e.el.classList.contains(t);u<=o.maxBackfaceHiddenSlides?n||e.el.classList.add(t):n&&e.el.classList.remove(t)}},updateAutoHeight:function(e){const t=this,o=[],n=t.virtual&&t.params.virtual.enabled;let r,i=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const a=e=>n?t.slides[t.getSlideIndexByData(e)]:t.slides[e];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach((e=>{o.push(e)}));else for(r=0;r<Math.ceil(t.params.slidesPerView);r+=1){const e=t.activeIndex+r;if(e>t.slides.length&&!n)break;o.push(a(e))}else o.push(a(t.activeIndex));for(r=0;r<o.length;r+=1)if(void 0!==o[r]){const e=o[r].offsetHeight;i=e>i?e:i}(i||0===i)&&(t.wrapperEl.style.height=`${i}px`)},updateSlidesOffset:function(){const e=this,t=e.slides,o=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let n=0;n<t.length;n+=1)t[n].swiperSlideOffset=(e.isHorizontal()?t[n].offsetLeft:t[n].offsetTop)-o-e.cssOverflowAdjustment()},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);const t=this,o=t.params,{slides:n,rtlTranslate:r,snapGrid:i}=t;if(0===n.length)return;void 0===n[0].swiperSlideOffset&&t.updateSlidesOffset();let a=-e;r&&(a=e),t.visibleSlidesIndexes=[],t.visibleSlides=[];let s=o.spaceBetween;"string"==typeof s&&s.indexOf("%")>=0?s=parseFloat(s.replace("%",""))/100*t.size:"string"==typeof s&&(s=parseFloat(s));for(let e=0;e<n.length;e+=1){const l=n[e];let c=l.swiperSlideOffset;o.cssMode&&o.centeredSlides&&(c-=n[0].swiperSlideOffset);const p=(a+(o.centeredSlides?t.minTranslate():0)-c)/(l.swiperSlideSize+s),u=(a-i[0]+(o.centeredSlides?t.minTranslate():0)-c)/(l.swiperSlideSize+s),d=-(a-c),y=d+t.slidesSizesGrid[e],g=d>=0&&d<=t.size-t.slidesSizesGrid[e],m=d>=0&&d<t.size-1||y>1&&y<=t.size||d<=0&&y>=t.size;m&&(t.visibleSlides.push(l),t.visibleSlidesIndexes.push(e)),H(l,m,o.slideVisibleClass),H(l,g,o.slideFullyVisibleClass),l.progress=r?-p:p,l.originalProgress=r?-u:u}},updateProgress:function(e){const t=this;if(void 0===e){const o=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*o||0}const o=t.params,n=t.maxTranslate()-t.minTranslate();let{progress:r,isBeginning:i,isEnd:a,progressLoop:s}=t;const l=i,c=a;if(0===n)r=0,i=!0,a=!0;else{r=(e-t.minTranslate())/n;const o=Math.abs(e-t.minTranslate())<1,s=Math.abs(e-t.maxTranslate())<1;i=o||r<=0,a=s||r>=1,o&&(r=0),s&&(r=1)}if(o.loop){const o=t.getSlideIndexByData(0),n=t.getSlideIndexByData(t.slides.length-1),r=t.slidesGrid[o],i=t.slidesGrid[n],a=t.slidesGrid[t.slidesGrid.length-1],l=Math.abs(e);s=l>=r?(l-r)/a:(l+a-i)/a,s>1&&(s-=1)}Object.assign(t,{progress:r,progressLoop:s,isBeginning:i,isEnd:a}),(o.watchSlidesProgress||o.centeredSlides&&o.autoHeight)&&t.updateSlidesProgress(e),i&&!l&&t.emit("reachBeginning toEdge"),a&&!c&&t.emit("reachEnd toEdge"),(l&&!i||c&&!a)&&t.emit("fromEdge"),t.emit("progress",r)},updateSlidesClasses:function(){const e=this,{slides:t,params:o,slidesEl:n,activeIndex:r}=e,i=e.virtual&&o.virtual.enabled,a=e.grid&&o.grid&&o.grid.rows>1,s=e=>f(n,`.${o.slideClass}${e}, swiper-slide${e}`)[0];let l,c,p;if(i)if(o.loop){let t=r-e.virtual.slidesBefore;t<0&&(t=e.virtual.slides.length+t),t>=e.virtual.slides.length&&(t-=e.virtual.slides.length),l=s(`[data-swiper-slide-index="${t}"]`)}else l=s(`[data-swiper-slide-index="${r}"]`);else a?(l=t.filter((e=>e.column===r))[0],p=t.filter((e=>e.column===r+1))[0],c=t.filter((e=>e.column===r-1))[0]):l=t[r];l&&(a||(p=function(e,t){const o=[];for(;e.nextElementSibling;){const n=e.nextElementSibling;t?n.matches(t)&&o.push(n):o.push(n),e=n}return o}(l,`.${o.slideClass}, swiper-slide`)[0],o.loop&&!p&&(p=t[0]),c=function(e,t){const o=[];for(;e.previousElementSibling;){const n=e.previousElementSibling;t?n.matches(t)&&o.push(n):o.push(n),e=n}return o}(l,`.${o.slideClass}, swiper-slide`)[0],o.loop&&0===!c&&(c=t[t.length-1]))),t.forEach((e=>{R(e,e===l,o.slideActiveClass),R(e,e===p,o.slideNextClass),R(e,e===c,o.slidePrevClass)})),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,o=t.rtlTranslate?t.translate:-t.translate,{snapGrid:n,params:r,activeIndex:i,realIndex:a,snapIndex:s}=t;let l,c=e;const p=e=>{let o=e-t.virtual.slidesBefore;return o<0&&(o=t.virtual.slides.length+o),o>=t.virtual.slides.length&&(o-=t.virtual.slides.length),o};if(void 0===c&&(c=function(e){const{slidesGrid:t,params:o}=e,n=e.rtlTranslate?e.translate:-e.translate;let r;for(let e=0;e<t.length;e+=1)void 0!==t[e+1]?n>=t[e]&&n<t[e+1]-(t[e+1]-t[e])/2?r=e:n>=t[e]&&n<t[e+1]&&(r=e+1):n>=t[e]&&(r=e);return o.normalizeSlideIndex&&(r<0||void 0===r)&&(r=0),r}(t)),n.indexOf(o)>=0)l=n.indexOf(o);else{const e=Math.min(r.slidesPerGroupSkip,c);l=e+Math.floor((c-e)/r.slidesPerGroup)}if(l>=n.length&&(l=n.length-1),c===i&&!t.params.loop)return void(l!==s&&(t.snapIndex=l,t.emit("snapIndexChange")));if(c===i&&t.params.loop&&t.virtual&&t.params.virtual.enabled)return void(t.realIndex=p(c));const u=t.grid&&r.grid&&r.grid.rows>1;let d;if(t.virtual&&r.virtual.enabled&&r.loop)d=p(c);else if(u){const e=t.slides.filter((e=>e.column===c))[0];let o=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(o)&&(o=Math.max(t.slides.indexOf(e),0)),d=Math.floor(o/r.grid.rows)}else if(t.slides[c]){const e=t.slides[c].getAttribute("data-swiper-slide-index");d=e?parseInt(e,10):c}else d=c;Object.assign(t,{previousSnapIndex:s,snapIndex:l,previousRealIndex:a,realIndex:d,previousIndex:i,activeIndex:c}),t.initialized&&L(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(a!==d&&t.emit("realIndexChange"),t.emit("slideChange"))},updateClickedSlide:function(e,t){const o=this,n=o.params;let r=e.closest(`.${n.slideClass}, swiper-slide`);!r&&o.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach((e=>{!r&&e.matches&&e.matches(`.${n.slideClass}, swiper-slide`)&&(r=e)}));let i,a=!1;if(r)for(let e=0;e<o.slides.length;e+=1)if(o.slides[e]===r){a=!0,i=e;break}if(!r||!a)return o.clickedSlide=void 0,void(o.clickedIndex=void 0);o.clickedSlide=r,o.virtual&&o.params.virtual.enabled?o.clickedIndex=parseInt(r.getAttribute("data-swiper-slide-index"),10):o.clickedIndex=i,n.slideToClickedSlide&&void 0!==o.clickedIndex&&o.clickedIndex!==o.activeIndex&&o.slideToClickedSlide()}};function F(e){let{swiper:t,runCallbacks:o,direction:n,step:r}=e;const{activeIndex:i,previousIndex:a}=t;let s=n;if(s||(s=i>a?"next":i<a?"prev":"reset"),t.emit(`transition${r}`),o&&i!==a){if("reset"===s)return void t.emit(`slideResetTransition${r}`);t.emit(`slideChangeTransition${r}`),"next"===s?t.emit(`slideNextTransition${r}`):t.emit(`slidePrevTransition${r}`)}}var V={slideTo:function(e,t,o,n,r){void 0===e&&(e=0),void 0===o&&(o=!0),"string"==typeof e&&(e=parseInt(e,10));const i=this;let a=e;a<0&&(a=0);const{params:s,snapGrid:l,slidesGrid:c,previousIndex:p,activeIndex:u,rtlTranslate:d,wrapperEl:y,enabled:g}=i;if(!g&&!n&&!r||i.destroyed||i.animating&&s.preventInteractionOnTransition)return!1;if(void 0===t&&(t=i.params.speed),void 0===i.params.slidesPerGroupSkip)return!1;const m=Math.min(i.params.slidesPerGroupSkip,a);let v=m+Math.floor((a-m)/i.params.slidesPerGroup);v>=l.length&&(v=l.length-1);const b=-l[v];if(s.normalizeSlideIndex)for(let e=0;e<c.length;e+=1){const t=-Math.floor(100*b),o=Math.floor(100*c[e]),n=Math.floor(100*c[e+1]);void 0!==c[e+1]?t>=o&&t<n-(n-o)/2?a=e:t>=o&&t<n&&(a=e+1):t>=o&&(a=e)}if(i.initialized&&a!==u){if(!i.allowSlideNext&&(d?b>i.translate&&b>i.minTranslate():b<i.translate&&b<i.minTranslate()))return!1;if(!i.allowSlidePrev&&b>i.translate&&b>i.maxTranslate()&&(u||0)!==a)return!1}let f;if(a!==(p||0)&&o&&i.emit("beforeSlideChangeStart"),i.updateProgress(b),f=a>u?"next":a<u?"prev":"reset",d&&-b===i.translate||!d&&b===i.translate)return i.updateActiveIndex(a),s.autoHeight&&i.updateAutoHeight(),i.updateSlidesClasses(),"slide"!==s.effect&&i.setTranslate(b),"reset"!==f&&(i.transitionStart(o,f),i.transitionEnd(o,f)),!1;if(s.cssMode){const e=i.isHorizontal(),o=d?b:-b;if(0===t){const t=i.virtual&&i.params.virtual.enabled;t&&(i.wrapperEl.style.scrollSnapType="none",i._immediateVirtual=!0),t&&!i._cssModeVirtualInitialSet&&i.params.initialSlide>0?(i._cssModeVirtualInitialSet=!0,requestAnimationFrame((()=>{y[e?"scrollLeft":"scrollTop"]=o}))):y[e?"scrollLeft":"scrollTop"]=o,t&&requestAnimationFrame((()=>{i.wrapperEl.style.scrollSnapType="",i._immediateVirtual=!1}))}else{if(!i.support.smoothScroll)return h({swiper:i,targetPosition:o,side:e?"left":"top"}),!0;y.scrollTo({[e?"left":"top"]:o,behavior:"smooth"})}return!0}return i.setTransition(t),i.setTranslate(b),i.updateActiveIndex(a),i.updateSlidesClasses(),i.emit("beforeTransitionStart",t,n),i.transitionStart(o,f),0===t?i.transitionEnd(o,f):i.animating||(i.animating=!0,i.onSlideToWrapperTransitionEnd||(i.onSlideToWrapperTransitionEnd=function(e){i&&!i.destroyed&&e.target===this&&(i.wrapperEl.removeEventListener("transitionend",i.onSlideToWrapperTransitionEnd),i.onSlideToWrapperTransitionEnd=null,delete i.onSlideToWrapperTransitionEnd,i.transitionEnd(o,f))}),i.wrapperEl.addEventListener("transitionend",i.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,o,n){void 0===e&&(e=0),void 0===o&&(o=!0),"string"==typeof e&&(e=parseInt(e,10));const r=this;if(r.destroyed)return;void 0===t&&(t=r.params.speed);const i=r.grid&&r.params.grid&&r.params.grid.rows>1;let a=e;if(r.params.loop)if(r.virtual&&r.params.virtual.enabled)a+=r.virtual.slidesBefore;else{let e;if(i){const t=a*r.params.grid.rows;e=r.slides.filter((e=>1*e.getAttribute("data-swiper-slide-index")===t))[0].column}else e=r.getSlideIndexByData(a);const t=i?Math.ceil(r.slides.length/r.params.grid.rows):r.slides.length,{centeredSlides:o}=r.params;let s=r.params.slidesPerView;"auto"===s?s=r.slidesPerViewDynamic():(s=Math.ceil(parseFloat(r.params.slidesPerView,10)),o&&s%2==0&&(s+=1));let l=t-e<s;if(o&&(l=l||e<Math.ceil(s/2)),n&&o&&"auto"!==r.params.slidesPerView&&!i&&(l=!1),l){const n=o?e<r.activeIndex?"prev":"next":e-r.activeIndex-1<r.params.slidesPerView?"next":"prev";r.loopFix({direction:n,slideTo:!0,activeSlideIndex:"next"===n?e+1:e-t+1,slideRealIndex:"next"===n?r.realIndex:void 0})}if(i){const e=a*r.params.grid.rows;a=r.slides.filter((t=>1*t.getAttribute("data-swiper-slide-index")===e))[0].column}else a=r.getSlideIndexByData(a)}return requestAnimationFrame((()=>{r.slideTo(a,t,o,n)})),r},slideNext:function(e,t,o){void 0===t&&(t=!0);const n=this,{enabled:r,params:i,animating:a}=n;if(!r||n.destroyed)return n;void 0===e&&(e=n.params.speed);let s=i.slidesPerGroup;"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(s=Math.max(n.slidesPerViewDynamic("current",!0),1));const l=n.activeIndex<i.slidesPerGroupSkip?1:s,c=n.virtual&&i.virtual.enabled;if(i.loop){if(a&&!c&&i.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&i.cssMode)return requestAnimationFrame((()=>{n.slideTo(n.activeIndex+l,e,t,o)})),!0}return i.rewind&&n.isEnd?n.slideTo(0,e,t,o):n.slideTo(n.activeIndex+l,e,t,o)},slidePrev:function(e,t,o){void 0===t&&(t=!0);const n=this,{params:r,snapGrid:i,slidesGrid:a,rtlTranslate:s,enabled:l,animating:c}=n;if(!l||n.destroyed)return n;void 0===e&&(e=n.params.speed);const p=n.virtual&&r.virtual.enabled;if(r.loop){if(c&&!p&&r.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}function u(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const d=u(s?n.translate:-n.translate),y=i.map((e=>u(e)));let g=i[y.indexOf(d)-1];if(void 0===g&&r.cssMode){let e;i.forEach(((t,o)=>{d>=t&&(e=o)})),void 0!==e&&(g=i[e>0?e-1:e])}let m=0;if(void 0!==g&&(m=a.indexOf(g),m<0&&(m=n.activeIndex-1),"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(m=m-n.slidesPerViewDynamic("previous",!0)+1,m=Math.max(m,0))),r.rewind&&n.isBeginning){const r=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(r,e,t,o)}return r.loop&&0===n.activeIndex&&r.cssMode?(requestAnimationFrame((()=>{n.slideTo(m,e,t,o)})),!0):n.slideTo(m,e,t,o)},slideReset:function(e,t,o){void 0===t&&(t=!0);const n=this;if(!n.destroyed)return void 0===e&&(e=n.params.speed),n.slideTo(n.activeIndex,e,t,o)},slideToClosest:function(e,t,o,n){void 0===t&&(t=!0),void 0===n&&(n=.5);const r=this;if(r.destroyed)return;void 0===e&&(e=r.params.speed);let i=r.activeIndex;const a=Math.min(r.params.slidesPerGroupSkip,i),s=a+Math.floor((i-a)/r.params.slidesPerGroup),l=r.rtlTranslate?r.translate:-r.translate;if(l>=r.snapGrid[s]){const e=r.snapGrid[s];l-e>(r.snapGrid[s+1]-e)*n&&(i+=r.params.slidesPerGroup)}else{const e=r.snapGrid[s-1];l-e<=(r.snapGrid[s]-e)*n&&(i-=r.params.slidesPerGroup)}return i=Math.max(i,0),i=Math.min(i,r.slidesGrid.length-1),r.slideTo(i,e,t,o)},slideToClickedSlide:function(){const e=this;if(e.destroyed)return;const{params:t,slidesEl:o}=e,n="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let r,i=e.clickedIndex;const a=e.isElement?"swiper-slide":`.${t.slideClass}`;if(t.loop){if(e.animating)return;r=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?i<e.loopedSlides-n/2||i>e.slides.length-e.loopedSlides+n/2?(e.loopFix(),i=e.getSlideIndex(f(o,`${a}[data-swiper-slide-index="${r}"]`)[0]),u((()=>{e.slideTo(i)}))):e.slideTo(i):i>e.slides.length-n?(e.loopFix(),i=e.getSlideIndex(f(o,`${a}[data-swiper-slide-index="${r}"]`)[0]),u((()=>{e.slideTo(i)}))):e.slideTo(i)}else e.slideTo(i)}},W={loopCreate:function(e){const t=this,{params:o,slidesEl:n}=t;if(!o.loop||t.virtual&&t.params.virtual.enabled)return;const r=()=>{f(n,`.${o.slideClass}, swiper-slide`).forEach(((e,t)=>{e.setAttribute("data-swiper-slide-index",t)}))},i=t.grid&&o.grid&&o.grid.rows>1,a=o.slidesPerGroup*(i?o.grid.rows:1),s=t.slides.length%a!==0,l=i&&t.slides.length%o.grid.rows!==0,c=e=>{for(let n=0;n<e;n+=1){const e=t.isElement?w("swiper-slide",[o.slideBlankClass]):w("div",[o.slideClass,o.slideBlankClass]);t.slidesEl.append(e)}};s?(o.loopAddBlankSlides?(c(a-t.slides.length%a),t.recalcSlides(),t.updateSlides()):x("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)"),r()):l?(o.loopAddBlankSlides?(c(o.grid.rows-t.slides.length%o.grid.rows),t.recalcSlides(),t.updateSlides()):x("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)"),r()):r(),t.loopFix({slideRealIndex:e,direction:o.centeredSlides?void 0:"next"})},loopFix:function(e){let{slideRealIndex:t,slideTo:o=!0,direction:n,setTranslate:r,activeSlideIndex:i,byController:a,byMousewheel:s}=void 0===e?{}:e;const l=this;if(!l.params.loop)return;l.emit("beforeLoopFix");const{slides:c,allowSlidePrev:p,allowSlideNext:u,slidesEl:d,params:y}=l,{centeredSlides:g}=y;if(l.allowSlidePrev=!0,l.allowSlideNext=!0,l.virtual&&y.virtual.enabled)return o&&(y.centeredSlides||0!==l.snapIndex?y.centeredSlides&&l.snapIndex<y.slidesPerView?l.slideTo(l.virtual.slides.length+l.snapIndex,0,!1,!0):l.snapIndex===l.snapGrid.length-1&&l.slideTo(l.virtual.slidesBefore,0,!1,!0):l.slideTo(l.virtual.slides.length,0,!1,!0)),l.allowSlidePrev=p,l.allowSlideNext=u,void l.emit("loopFix");let m=y.slidesPerView;"auto"===m?m=l.slidesPerViewDynamic():(m=Math.ceil(parseFloat(y.slidesPerView,10)),g&&m%2==0&&(m+=1));const v=y.slidesPerGroupAuto?m:y.slidesPerGroup;let h=v;h%v!==0&&(h+=v-h%v),h+=y.loopAdditionalSlides,l.loopedSlides=h;const b=l.grid&&y.grid&&y.grid.rows>1;c.length<m+h?x("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):b&&"row"===y.grid.fill&&x("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const f=[],w=[];let S=l.activeIndex;void 0===i?i=l.getSlideIndex(c.filter((e=>e.classList.contains(y.slideActiveClass)))[0]):S=i;const _="next"===n||!n,j="prev"===n||!n;let T=0,O=0;const C=b?Math.ceil(c.length/y.grid.rows):c.length,k=(b?c[i].column:i)+(g&&void 0===r?-m/2+.5:0);if(k<h){T=Math.max(h-k,v);for(let e=0;e<h-k;e+=1){const t=e-Math.floor(e/C)*C;if(b){const e=C-t-1;for(let t=c.length-1;t>=0;t-=1)c[t].column===e&&f.push(t)}else f.push(C-t-1)}}else if(k+m>C-h){O=Math.max(k-(C-2*h),v);for(let e=0;e<O;e+=1){const t=e-Math.floor(e/C)*C;b?c.forEach(((e,o)=>{e.column===t&&w.push(o)})):w.push(t)}}if(l.__preventObserver__=!0,requestAnimationFrame((()=>{l.__preventObserver__=!1})),j&&f.forEach((e=>{c[e].swiperLoopMoveDOM=!0,d.prepend(c[e]),c[e].swiperLoopMoveDOM=!1})),_&&w.forEach((e=>{c[e].swiperLoopMoveDOM=!0,d.append(c[e]),c[e].swiperLoopMoveDOM=!1})),l.recalcSlides(),"auto"===y.slidesPerView?l.updateSlides():b&&(f.length>0&&j||w.length>0&&_)&&l.slides.forEach(((e,t)=>{l.grid.updateSlide(t,e,l.slides)})),y.watchSlidesProgress&&l.updateSlidesOffset(),o)if(f.length>0&&j){if(void 0===t){const e=l.slidesGrid[S],t=l.slidesGrid[S+T]-e;s?l.setTranslate(l.translate-t):(l.slideTo(S+Math.ceil(T),0,!1,!0),r&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-t,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-t))}else if(r){const e=b?f.length/y.grid.rows:f.length;l.slideTo(l.activeIndex+e,0,!1,!0),l.touchEventsData.currentTranslate=l.translate}}else if(w.length>0&&_)if(void 0===t){const e=l.slidesGrid[S],t=l.slidesGrid[S-O]-e;s?l.setTranslate(l.translate-t):(l.slideTo(S-O,0,!1,!0),r&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-t,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-t))}else{const e=b?w.length/y.grid.rows:w.length;l.slideTo(l.activeIndex-e,0,!1,!0)}if(l.allowSlidePrev=p,l.allowSlideNext=u,l.controller&&l.controller.control&&!a){const e={slideRealIndex:t,direction:n,setTranslate:r,activeSlideIndex:i,byController:!0};Array.isArray(l.controller.control)?l.controller.control.forEach((t=>{!t.destroyed&&t.params.loop&&t.loopFix({...e,slideTo:t.params.slidesPerView===y.slidesPerView&&o})})):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix({...e,slideTo:l.controller.control.params.slidesPerView===y.slidesPerView&&o})}l.emit("loopFix")},loopDestroy:function(){const e=this,{params:t,slidesEl:o}=e;if(!t.loop||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const n=[];e.slides.forEach((e=>{const t=void 0===e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;n[t]=e})),e.slides.forEach((e=>{e.removeAttribute("data-swiper-slide-index")})),n.forEach((e=>{o.append(e)})),e.recalcSlides(),e.slideTo(e.realIndex,0)}};function G(e,t,o){const n=p(),{params:r}=e,i=r.edgeSwipeDetection,a=r.edgeSwipeThreshold;return!i||!(o<=a||o>=n.innerWidth-a)||"prevent"===i&&(t.preventDefault(),!0)}function U(e){const t=this,o=l();let n=e;n.originalEvent&&(n=n.originalEvent);const r=t.touchEventsData;if("pointerdown"===n.type){if(null!==r.pointerId&&r.pointerId!==n.pointerId)return;r.pointerId=n.pointerId}else"touchstart"===n.type&&1===n.targetTouches.length&&(r.touchId=n.targetTouches[0].identifier);if("touchstart"===n.type)return void G(t,n,n.targetTouches[0].pageX);const{params:i,touches:a,enabled:s}=t;if(!s)return;if(!i.simulateTouch&&"mouse"===n.pointerType)return;if(t.animating&&i.preventInteractionOnTransition)return;!t.animating&&i.cssMode&&i.loop&&t.loopFix();let c=n.target;if("wrapper"===i.touchEventsTarget&&!function(e,t){const o=t.contains(e);return!o&&t instanceof HTMLSlotElement?[...t.assignedElements()].includes(e):o}(c,t.wrapperEl))return;if("which"in n&&3===n.which)return;if("button"in n&&n.button>0)return;if(r.isTouched&&r.isMoved)return;const u=!!i.noSwipingClass&&""!==i.noSwipingClass,y=n.composedPath?n.composedPath():n.path;u&&n.target&&n.target.shadowRoot&&y&&(c=y[0]);const g=i.noSwipingSelector?i.noSwipingSelector:`.${i.noSwipingClass}`,m=!(!n.target||!n.target.shadowRoot);if(i.noSwiping&&(m?function(e,t){return void 0===t&&(t=this),function t(o){if(!o||o===l()||o===p())return null;o.assignedSlot&&(o=o.assignedSlot);const n=o.closest(e);return n||o.getRootNode?n||t(o.getRootNode().host):null}(t)}(g,c):c.closest(g)))return void(t.allowClick=!0);if(i.swipeHandler&&!c.closest(i.swipeHandler))return;a.currentX=n.pageX,a.currentY=n.pageY;const v=a.currentX,h=a.currentY;if(!G(t,n,v))return;Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=v,a.startY=h,r.touchStartTime=d(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,i.threshold>0&&(r.allowThresholdMove=!1);let b=!0;c.matches(r.focusableElements)&&(b=!1,"SELECT"===c.nodeName&&(r.isTouched=!1)),o.activeElement&&o.activeElement.matches(r.focusableElements)&&o.activeElement!==c&&o.activeElement.blur();const f=b&&t.allowTouchMove&&i.touchStartPreventDefault;!i.touchStartForcePreventDefault&&!f||c.isContentEditable||n.preventDefault(),i.freeMode&&i.freeMode.enabled&&t.freeMode&&t.animating&&!i.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",n)}function q(e){const t=this,{el:o}=t,n=o.ownerDocument,r=t.touchEventsData,{params:i,touches:a,rtlTranslate:s,enabled:l}=t;if(!l)return;if(!i.simulateTouch&&"mouse"===e.pointerType)return;let c,p=e;if(p.originalEvent&&(p=p.originalEvent),"pointermove"===p.type){if(null!==r.touchId)return;if(p.pointerId!==r.pointerId)return}if("touchmove"===p.type){if(c=[...p.changedTouches].filter((e=>e.identifier===r.touchId))[0],!c||c.identifier!==r.touchId)return}else c=p;if(!r.isTouched)return void(r.startMoving&&r.isScrolling&&t.emit("touchMoveOpposite",p));const u=c.pageX,y=c.pageY;if(p.preventedByNestedSwiper)return a.startX=u,void(a.startY=y);if(!t.allowTouchMove)return p.target.matches(r.focusableElements)||(t.allowClick=!1),void(r.isTouched&&(Object.assign(a,{startX:u,startY:y,currentX:u,currentY:y}),r.touchStartTime=d()));if(i.touchReleaseOnEdges&&!i.loop)if(t.isVertical()){if(y<a.startY&&t.translate<=t.maxTranslate()||y>a.startY&&t.translate>=t.minTranslate())return r.isTouched=!1,void(r.isMoved=!1)}else if(u<a.startX&&t.translate<=t.maxTranslate()||u>a.startX&&t.translate>=t.minTranslate())return;if(n.activeElement&&p.target===n.activeElement&&p.target.matches(r.focusableElements))return r.isMoved=!0,void(t.allowClick=!1);r.allowTouchCallbacks&&t.emit("touchMove",p),a.previousX=a.currentX,a.previousY=a.currentY,a.currentX=u,a.currentY=y;const g=a.currentX-a.startX,m=a.currentY-a.startY;if(t.params.threshold&&Math.sqrt(g**2+m**2)<t.params.threshold)return;if(void 0===r.isScrolling){let e;t.isHorizontal()&&a.currentY===a.startY||t.isVertical()&&a.currentX===a.startX?r.isScrolling=!1:g*g+m*m>=25&&(e=180*Math.atan2(Math.abs(m),Math.abs(g))/Math.PI,r.isScrolling=t.isHorizontal()?e>i.touchAngle:90-e>i.touchAngle)}if(r.isScrolling&&t.emit("touchMoveOpposite",p),void 0===r.startMoving&&(a.currentX===a.startX&&a.currentY===a.startY||(r.startMoving=!0)),r.isScrolling||"touchmove"===p.type&&r.preventTouchMoveFromPointerMove)return void(r.isTouched=!1);if(!r.startMoving)return;t.allowClick=!1,!i.cssMode&&p.cancelable&&p.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&p.stopPropagation();let v=t.isHorizontal()?g:m,h=t.isHorizontal()?a.currentX-a.previousX:a.currentY-a.previousY;i.oneWayMovement&&(v=Math.abs(v)*(s?1:-1),h=Math.abs(h)*(s?1:-1)),a.diff=v,v*=i.touchRatio,s&&(v=-v,h=-h);const b=t.touchesDirection;t.swipeDirection=v>0?"prev":"next",t.touchesDirection=h>0?"prev":"next";const f=t.params.loop&&!i.cssMode,x="next"===t.touchesDirection&&t.allowSlideNext||"prev"===t.touchesDirection&&t.allowSlidePrev;if(!r.isMoved){if(f&&x&&t.loopFix({direction:t.swipeDirection}),r.startTranslate=t.getTranslate(),t.setTransition(0),t.animating){const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});t.wrapperEl.dispatchEvent(e)}r.allowMomentumBounce=!1,!i.grabCursor||!0!==t.allowSlideNext&&!0!==t.allowSlidePrev||t.setGrabCursor(!0),t.emit("sliderFirstMove",p)}if((new Date).getTime(),r.isMoved&&r.allowThresholdMove&&b!==t.touchesDirection&&f&&x&&Math.abs(v)>=1)return Object.assign(a,{startX:u,startY:y,currentX:u,currentY:y,startTranslate:r.currentTranslate}),r.loopSwapReset=!0,void(r.startTranslate=r.currentTranslate);t.emit("sliderMove",p),r.isMoved=!0,r.currentTranslate=v+r.startTranslate;let w=!0,S=i.resistanceRatio;if(i.touchReleaseOnEdges&&(S=0),v>0?(f&&x&&r.allowThresholdMove&&r.currentTranslate>(i.centeredSlides?t.minTranslate()-t.slidesSizesGrid[t.activeIndex+1]:t.minTranslate())&&t.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),r.currentTranslate>t.minTranslate()&&(w=!1,i.resistance&&(r.currentTranslate=t.minTranslate()-1+(-t.minTranslate()+r.startTranslate+v)**S))):v<0&&(f&&x&&r.allowThresholdMove&&r.currentTranslate<(i.centeredSlides?t.maxTranslate()+t.slidesSizesGrid[t.slidesSizesGrid.length-1]:t.maxTranslate())&&t.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:t.slides.length-("auto"===i.slidesPerView?t.slidesPerViewDynamic():Math.ceil(parseFloat(i.slidesPerView,10)))}),r.currentTranslate<t.maxTranslate()&&(w=!1,i.resistance&&(r.currentTranslate=t.maxTranslate()+1-(t.maxTranslate()-r.startTranslate-v)**S))),w&&(p.preventedByNestedSwiper=!0),!t.allowSlideNext&&"next"===t.swipeDirection&&r.currentTranslate<r.startTranslate&&(r.currentTranslate=r.startTranslate),!t.allowSlidePrev&&"prev"===t.swipeDirection&&r.currentTranslate>r.startTranslate&&(r.currentTranslate=r.startTranslate),t.allowSlidePrev||t.allowSlideNext||(r.currentTranslate=r.startTranslate),i.threshold>0){if(!(Math.abs(v)>i.threshold||r.allowThresholdMove))return void(r.currentTranslate=r.startTranslate);if(!r.allowThresholdMove)return r.allowThresholdMove=!0,a.startX=a.currentX,a.startY=a.currentY,r.currentTranslate=r.startTranslate,void(a.diff=t.isHorizontal()?a.currentX-a.startX:a.currentY-a.startY)}i.followFinger&&!i.cssMode&&((i.freeMode&&i.freeMode.enabled&&t.freeMode||i.watchSlidesProgress)&&(t.updateActiveIndex(),t.updateSlidesClasses()),i.freeMode&&i.freeMode.enabled&&t.freeMode&&t.freeMode.onTouchMove(),t.updateProgress(r.currentTranslate),t.setTranslate(r.currentTranslate))}function $(e){const t=this,o=t.touchEventsData;let n,r=e;if(r.originalEvent&&(r=r.originalEvent),"touchend"===r.type||"touchcancel"===r.type){if(n=[...r.changedTouches].filter((e=>e.identifier===o.touchId))[0],!n||n.identifier!==o.touchId)return}else{if(null!==o.touchId)return;if(r.pointerId!==o.pointerId)return;n=r}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(r.type)&&(!["pointercancel","contextmenu"].includes(r.type)||!t.browser.isSafari&&!t.browser.isWebView))return;o.pointerId=null,o.touchId=null;const{params:i,touches:a,rtlTranslate:s,slidesGrid:l,enabled:c}=t;if(!c)return;if(!i.simulateTouch&&"mouse"===r.pointerType)return;if(o.allowTouchCallbacks&&t.emit("touchEnd",r),o.allowTouchCallbacks=!1,!o.isTouched)return o.isMoved&&i.grabCursor&&t.setGrabCursor(!1),o.isMoved=!1,void(o.startMoving=!1);i.grabCursor&&o.isMoved&&o.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const p=d(),y=p-o.touchStartTime;if(t.allowClick){const e=r.path||r.composedPath&&r.composedPath();t.updateClickedSlide(e&&e[0]||r.target,e),t.emit("tap click",r),y<300&&p-o.lastClickTime<300&&t.emit("doubleTap doubleClick",r)}if(o.lastClickTime=d(),u((()=>{t.destroyed||(t.allowClick=!0)})),!o.isTouched||!o.isMoved||!t.swipeDirection||0===a.diff&&!o.loopSwapReset||o.currentTranslate===o.startTranslate&&!o.loopSwapReset)return o.isTouched=!1,o.isMoved=!1,void(o.startMoving=!1);let g;if(o.isTouched=!1,o.isMoved=!1,o.startMoving=!1,g=i.followFinger?s?t.translate:-t.translate:-o.currentTranslate,i.cssMode)return;if(i.freeMode&&i.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:g});const m=g>=-t.maxTranslate()&&!t.params.loop;let v=0,h=t.slidesSizesGrid[0];for(let e=0;e<l.length;e+=e<i.slidesPerGroupSkip?1:i.slidesPerGroup){const t=e<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;void 0!==l[e+t]?(m||g>=l[e]&&g<l[e+t])&&(v=e,h=l[e+t]-l[e]):(m||g>=l[e])&&(v=e,h=l[l.length-1]-l[l.length-2])}let b=null,f=null;i.rewind&&(t.isBeginning?f=i.virtual&&i.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(b=0));const x=(g-l[v])/h,w=v<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;if(y>i.longSwipesMs){if(!i.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(x>=i.longSwipesRatio?t.slideTo(i.rewind&&t.isEnd?b:v+w):t.slideTo(v)),"prev"===t.swipeDirection&&(x>1-i.longSwipesRatio?t.slideTo(v+w):null!==f&&x<0&&Math.abs(x)>i.longSwipesRatio?t.slideTo(f):t.slideTo(v))}else{if(!i.shortSwipes)return void t.slideTo(t.activeIndex);!t.navigation||r.target!==t.navigation.nextEl&&r.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(null!==b?b:v+w),"prev"===t.swipeDirection&&t.slideTo(null!==f?f:v)):r.target===t.navigation.nextEl?t.slideTo(v+w):t.slideTo(v)}}function Y(){const e=this,{params:t,el:o}=e;if(o&&0===o.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:r,snapGrid:i}=e,a=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const s=a&&t.loop;!("auto"===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||s?e.params.loop&&!a?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout((()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()}),500)),e.allowSlidePrev=r,e.allowSlideNext=n,e.params.watchOverflow&&i!==e.snapGrid&&e.checkOverflow()}function X(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function J(){const e=this,{wrapperEl:t,rtlTranslate:o,enabled:n}=e;if(!n)return;let r;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const i=e.maxTranslate()-e.minTranslate();r=0===i?0:(e.translate-e.minTranslate())/i,r!==e.progress&&e.updateProgress(o?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function Q(e){const t=this;I(t,e.target),t.params.cssMode||"auto"!==t.params.slidesPerView&&!t.params.autoHeight||t.update()}function Z(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const K=(e,t)=>{const{params:o,el:n,wrapperEl:r,device:i}=e,a=n.ownerDocument,s=!!o.nested,l="on"===t?"addEventListener":"removeEventListener",c=t;n&&"string"!=typeof n&&(a[l]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:s}),n[l]("touchstart",e.onTouchStart,{passive:!1}),n[l]("pointerdown",e.onTouchStart,{passive:!1}),a[l]("touchmove",e.onTouchMove,{passive:!1,capture:s}),a[l]("pointermove",e.onTouchMove,{passive:!1,capture:s}),a[l]("touchend",e.onTouchEnd,{passive:!0}),a[l]("pointerup",e.onTouchEnd,{passive:!0}),a[l]("pointercancel",e.onTouchEnd,{passive:!0}),a[l]("touchcancel",e.onTouchEnd,{passive:!0}),a[l]("pointerout",e.onTouchEnd,{passive:!0}),a[l]("pointerleave",e.onTouchEnd,{passive:!0}),a[l]("contextmenu",e.onTouchEnd,{passive:!0}),(o.preventClicks||o.preventClicksPropagation)&&n[l]("click",e.onClick,!0),o.cssMode&&r[l]("scroll",e.onScroll),o.updateOnWindowResize?e[c](i.ios||i.android?"resize orientationchange observerUpdate":"resize observerUpdate",Y,!0):e[c]("observerUpdate",Y,!0),n[l]("load",e.onLoad,{capture:!0}))},ee=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var te={addClasses:function(){const e=this,{classNames:t,params:o,rtl:n,el:r,device:i}=e,a=function(e,t){const o=[];return e.forEach((e=>{"object"==typeof e?Object.keys(e).forEach((n=>{e[n]&&o.push(t+n)})):"string"==typeof e&&o.push(t+e)})),o}(["initialized",o.direction,{"free-mode":e.params.freeMode&&o.freeMode.enabled},{autoheight:o.autoHeight},{rtl:n},{grid:o.grid&&o.grid.rows>1},{"grid-column":o.grid&&o.grid.rows>1&&"column"===o.grid.fill},{android:i.android},{ios:i.ios},{"css-mode":o.cssMode},{centered:o.cssMode&&o.centeredSlides},{"watch-progress":o.watchSlidesProgress}],o.containerModifierClass);t.push(...a),r.classList.add(...t),e.emitContainerClasses()},removeClasses:function(){const{el:e,classNames:t}=this;e&&"string"!=typeof e&&(e.classList.remove(...t),this.emitContainerClasses())}},oe={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function ne(e,t){return function(o){void 0===o&&(o={});const n=Object.keys(o)[0],r=o[n];"object"==typeof r&&null!==r?(!0===e[n]&&(e[n]={enabled:!0}),"navigation"===n&&e[n]&&e[n].enabled&&!e[n].prevEl&&!e[n].nextEl&&(e[n].auto=!0),["pagination","scrollbar"].indexOf(n)>=0&&e[n]&&e[n].enabled&&!e[n].el&&(e[n].auto=!0),n in e&&"enabled"in r?("object"!=typeof e[n]||"enabled"in e[n]||(e[n].enabled=!0),e[n]||(e[n]={enabled:!1}),m(t,o)):m(t,o)):m(t,o)}}const re={eventsEmitter:A,update:z,translate:{getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");const{params:t,rtlTranslate:o,translate:n,wrapperEl:r}=this;if(t.virtualTranslate)return o?-n:n;if(t.cssMode)return n;let i=y(r,e);return i+=this.cssOverflowAdjustment(),o&&(i=-i),i||0},setTranslate:function(e,t){const o=this,{rtlTranslate:n,params:r,wrapperEl:i,progress:a}=o;let s,l=0,c=0;o.isHorizontal()?l=n?-e:e:c=e,r.roundLengths&&(l=Math.floor(l),c=Math.floor(c)),o.previousTranslate=o.translate,o.translate=o.isHorizontal()?l:c,r.cssMode?i[o.isHorizontal()?"scrollLeft":"scrollTop"]=o.isHorizontal()?-l:-c:r.virtualTranslate||(o.isHorizontal()?l-=o.cssOverflowAdjustment():c-=o.cssOverflowAdjustment(),i.style.transform=`translate3d(${l}px, ${c}px, 0px)`);const p=o.maxTranslate()-o.minTranslate();s=0===p?0:(e-o.minTranslate())/p,s!==a&&o.updateProgress(e),o.emit("setTranslate",o.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,o,n,r){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===o&&(o=!0),void 0===n&&(n=!0);const i=this,{params:a,wrapperEl:s}=i;if(i.animating&&a.preventInteractionOnTransition)return!1;const l=i.minTranslate(),c=i.maxTranslate();let p;if(p=n&&e>l?l:n&&e<c?c:e,i.updateProgress(p),a.cssMode){const e=i.isHorizontal();if(0===t)s[e?"scrollLeft":"scrollTop"]=-p;else{if(!i.support.smoothScroll)return h({swiper:i,targetPosition:-p,side:e?"left":"top"}),!0;s.scrollTo({[e?"left":"top"]:-p,behavior:"smooth"})}return!0}return 0===t?(i.setTransition(0),i.setTranslate(p),o&&(i.emit("beforeTransitionStart",t,r),i.emit("transitionEnd"))):(i.setTransition(t),i.setTranslate(p),o&&(i.emit("beforeTransitionStart",t,r),i.emit("transitionStart")),i.animating||(i.animating=!0,i.onTranslateToWrapperTransitionEnd||(i.onTranslateToWrapperTransitionEnd=function(e){i&&!i.destroyed&&e.target===this&&(i.wrapperEl.removeEventListener("transitionend",i.onTranslateToWrapperTransitionEnd),i.onTranslateToWrapperTransitionEnd=null,delete i.onTranslateToWrapperTransitionEnd,i.animating=!1,o&&i.emit("transitionEnd"))}),i.wrapperEl.addEventListener("transitionend",i.onTranslateToWrapperTransitionEnd))),!0}},transition:{setTransition:function(e,t){const o=this;o.params.cssMode||(o.wrapperEl.style.transitionDuration=`${e}ms`,o.wrapperEl.style.transitionDelay=0===e?"0ms":""),o.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);const o=this,{params:n}=o;n.cssMode||(n.autoHeight&&o.updateAutoHeight(),F({swiper:o,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);const o=this,{params:n}=o;o.animating=!1,n.cssMode||(o.setTransition(0),F({swiper:o,runCallbacks:e,direction:t,step:"End"}))}},slide:V,loop:W,grabCursor:{setGrabCursor:function(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const o="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),o.style.cursor="move",o.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame((()=>{t.__preventObserver__=!1}))},unsetGrabCursor:function(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame((()=>{e.__preventObserver__=!1})))}},events:{attachEvents:function(){const e=this,{params:t}=e;e.onTouchStart=U.bind(e),e.onTouchMove=q.bind(e),e.onTouchEnd=$.bind(e),e.onDocumentTouchStart=Z.bind(e),t.cssMode&&(e.onScroll=J.bind(e)),e.onClick=X.bind(e),e.onLoad=Q.bind(e),K(e,"on")},detachEvents:function(){K(this,"off")}},breakpoints:{setBreakpoint:function(){const e=this,{realIndex:t,initialized:o,params:n,el:r}=e,i=n.breakpoints;if(!i||i&&0===Object.keys(i).length)return;const a=e.getBreakpoint(i,e.params.breakpointsBase,e.el);if(!a||e.currentBreakpoint===a)return;const s=(a in i?i[a]:void 0)||e.originalParams,l=ee(e,n),c=ee(e,s),p=e.params.grabCursor,u=s.grabCursor,d=n.enabled;l&&!c?(r.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),e.emitContainerClasses()):!l&&c&&(r.classList.add(`${n.containerModifierClass}grid`),(s.grid.fill&&"column"===s.grid.fill||!s.grid.fill&&"column"===n.grid.fill)&&r.classList.add(`${n.containerModifierClass}grid-column`),e.emitContainerClasses()),p&&!u?e.unsetGrabCursor():!p&&u&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach((t=>{if(void 0===s[t])return;const o=n[t]&&n[t].enabled,r=s[t]&&s[t].enabled;o&&!r&&e[t].disable(),!o&&r&&e[t].enable()}));const y=s.direction&&s.direction!==n.direction,g=n.loop&&(s.slidesPerView!==n.slidesPerView||y),v=n.loop;y&&o&&e.changeDirection(),m(e.params,s);const h=e.params.enabled,b=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),d&&!h?e.disable():!d&&h&&e.enable(),e.currentBreakpoint=a,e.emit("_beforeBreakpoint",s),o&&(g?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!v&&b?(e.loopCreate(t),e.updateSlides()):v&&!b&&e.loopDestroy()),e.emit("breakpoint",s)},getBreakpoint:function(e,t,o){if(void 0===t&&(t="window"),!e||"container"===t&&!o)return;let n=!1;const r=p(),i="window"===t?r.innerHeight:o.clientHeight,a=Object.keys(e).map((e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:i*t,point:e}}return{value:e,point:e}}));a.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let e=0;e<a.length;e+=1){const{point:i,value:s}=a[e];"window"===t?r.matchMedia(`(min-width: ${s}px)`).matches&&(n=i):s<=o.clientWidth&&(n=i)}return n||"max"}},checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:o}=e,{slidesOffsetBefore:n}=o;if(n){const t=e.slides.length-1,o=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*n;e.isLocked=e.size>o}else e.isLocked=1===e.snapGrid.length;!0===o.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===o.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:te},ie={};class ae{constructor(){let e,t;for(var o=arguments.length,n=new Array(o),r=0;r<o;r++)n[r]=arguments[r];1===n.length&&n[0].constructor&&"Object"===Object.prototype.toString.call(n[0]).slice(8,-1)?t=n[0]:[e,t]=n,t||(t={}),t=m({},t),e&&!t.el&&(t.el=e);const i=l();if(t.el&&"string"==typeof t.el&&i.querySelectorAll(t.el).length>1){const e=[];return i.querySelectorAll(t.el).forEach((o=>{const n=m({},t,{el:o});e.push(new ae(n))})),e}const a=this;a.__swiper__=!0,a.support=D(),a.device=B({userAgent:t.userAgent}),a.browser=(E||(E=function(){const e=p(),t=B();let o=!1;function n(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}if(n()){const t=String(e.navigator.userAgent);if(t.includes("Version/")){const[e,n]=t.split("Version/")[1].split(" ")[0].split(".").map((e=>Number(e)));o=e<16||16===e&&n<2}}const r=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),i=n();return{isSafari:o||i,needPerspectiveFix:o,need3dFix:i||r&&t.ios,isWebView:r}}()),E),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],t.modules&&Array.isArray(t.modules)&&a.modules.push(...t.modules);const s={};a.modules.forEach((e=>{e({params:t,swiper:a,extendParams:ne(t,s),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})}));const c=m({},oe,s);return a.params=m({},c,ie,t),a.originalParams=m({},a.params),a.passedParams=m({},t),a.params&&a.params.on&&Object.keys(a.params.on).forEach((e=>{a.on(e,a.params.on[e])})),a.params&&a.params.onAny&&a.onAny(a.params.onAny),Object.assign(a,{enabled:a.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===a.params.direction,isVertical:()=>"vertical"===a.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:a.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:t,params:o}=this,n=j(f(t,`.${o.slideClass}, swiper-slide`)[0]);return j(e)-n}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter((t=>1*t.getAttribute("data-swiper-slide-index")===e))[0])}recalcSlides(){const{slidesEl:e,params:t}=this;this.slides=f(e,`.${t.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const o=this;e=Math.min(Math.max(e,0),1);const n=o.minTranslate(),r=(o.maxTranslate()-n)*e+n;o.translateTo(r,void 0===t?0:t),o.updateActiveIndex(),o.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter((t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter((e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass))).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach((o=>{const n=e.getSlideClasses(o);t.push({slideEl:o,classNames:n}),e.emit("_slideClass",o,n)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);const{params:o,slides:n,slidesGrid:r,slidesSizesGrid:i,size:a,activeIndex:s}=this;let l=1;if("number"==typeof o.slidesPerView)return o.slidesPerView;if(o.centeredSlides){let e,t=n[s]?Math.ceil(n[s].swiperSlideSize):0;for(let o=s+1;o<n.length;o+=1)n[o]&&!e&&(t+=Math.ceil(n[o].swiperSlideSize),l+=1,t>a&&(e=!0));for(let o=s-1;o>=0;o-=1)n[o]&&!e&&(t+=n[o].swiperSlideSize,l+=1,t>a&&(e=!0))}else if("current"===e)for(let e=s+1;e<n.length;e+=1)(t?r[e]+i[e]-r[s]<a:r[e]-r[s]<a)&&(l+=1);else for(let e=s-1;e>=0;e-=1)r[s]-r[e]<a&&(l+=1);return l}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:o}=e;function n(){const t=e.rtlTranslate?-1*e.translate:e.translate,o=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(o),e.updateActiveIndex(),e.updateSlidesClasses()}let r;if(o.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach((t=>{t.complete&&I(e,t)})),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),o.freeMode&&o.freeMode.enabled&&!o.cssMode)n(),o.autoHeight&&e.updateAutoHeight();else{if(("auto"===o.slidesPerView||o.slidesPerView>1)&&e.isEnd&&!o.centeredSlides){const t=e.virtual&&o.virtual.enabled?e.virtual.slides:e.slides;r=e.slideTo(t.length-1,0,!1,!0)}else r=e.slideTo(e.activeIndex,0,!1,!0);r||n()}o.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){void 0===t&&(t=!0);const o=this,n=o.params.direction;return e||(e="horizontal"===n?"vertical":"horizontal"),e===n||"horizontal"!==e&&"vertical"!==e||(o.el.classList.remove(`${o.params.containerModifierClass}${n}`),o.el.classList.add(`${o.params.containerModifierClass}${e}`),o.emitContainerClasses(),o.params.direction=e,o.slides.forEach((t=>{"vertical"===e?t.style.width="":t.style.height=""})),o.emit("changeDirection"),t&&o.update()),o}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;let o=e||t.params.el;if("string"==typeof o&&(o=document.querySelector(o)),!o)return!1;o.swiper=t,o.parentNode&&o.parentNode.host&&o.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const n=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let r=o&&o.shadowRoot&&o.shadowRoot.querySelector?o.shadowRoot.querySelector(n()):f(o,n())[0];return!r&&t.params.createElements&&(r=w("div",t.params.wrapperClass),o.append(r),f(o,`.${t.params.slideClass}`).forEach((e=>{r.append(e)}))),Object.assign(t,{el:o,wrapperEl:r,slidesEl:t.isElement&&!o.parentNode.host.slideSlots?o.parentNode.host:r,hostEl:t.isElement?o.parentNode.host:o,mounted:!0,rtl:"rtl"===o.dir.toLowerCase()||"rtl"===_(o,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===o.dir.toLowerCase()||"rtl"===_(o,"direction")),wrongRTL:"-webkit-box"===_(r,"display")}),!0}init(e){const t=this;if(t.initialized)return t;if(!1===t.mount(e))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),t.attachEvents();const o=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&o.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),o.forEach((e=>{e.complete?I(t,e):e.addEventListener("load",(e=>{I(t,e.target)}))})),L(t),t.initialized=!0,L(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);const o=this,{params:n,el:r,wrapperEl:i,slides:a}=o;return void 0===o.params||o.destroyed||(o.emit("beforeDestroy"),o.initialized=!1,o.detachEvents(),n.loop&&o.loopDestroy(),t&&(o.removeClasses(),r&&"string"!=typeof r&&r.removeAttribute("style"),i&&i.removeAttribute("style"),a&&a.length&&a.forEach((e=>{e.classList.remove(n.slideVisibleClass,n.slideFullyVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")}))),o.emit("destroy"),Object.keys(o.eventsListeners).forEach((e=>{o.off(e)})),!1!==e&&(o.el&&"string"!=typeof o.el&&(o.el.swiper=null),function(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}(o)),o.destroyed=!0),null}static extendDefaults(e){m(ie,e)}static get extendedDefaults(){return ie}static get defaults(){return oe}static installModule(e){ae.prototype.__modules__||(ae.prototype.__modules__=[]);const t=ae.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>ae.installModule(e))),ae):(ae.installModule(e),ae)}}function se(e,t,o,n){return e.params.createElements&&Object.keys(n).forEach((r=>{if(!o[r]&&!0===o.auto){let i=f(e.el,`.${n[r]}`)[0];i||(i=w("div",n[r]),i.className=n[r],e.el.append(i)),o[r]=i,t[r]=i}})),o}function le(e){return void 0===e&&(e=""),`.${e.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function ce(e,t){const o=b(t);return o!==t&&(o.style.backfaceVisibility="hidden",o.style["-webkit-backface-visibility"]="hidden"),o}function pe(e){let{swiper:t,duration:o,transformElements:n,allSlides:r}=e;const{activeIndex:i}=t;if(t.params.virtualTranslate&&0!==o){let e,o=!1;e=r?n:n.filter((e=>{const o=e.classList.contains("swiper-slide-transform")?(e=>e.parentElement?e.parentElement:t.slides.filter((t=>t.shadowRoot&&t.shadowRoot===e.parentNode))[0])(e):e;return t.getSlideIndex(o)===i})),e.forEach((e=>{!function(e,t){t&&e.addEventListener("transitionend",(function o(n){n.target===e&&(t.call(e,n),e.removeEventListener("transitionend",o))}))}(e,(()=>{if(o)return;if(!t||t.destroyed)return;o=!0,t.animating=!1;const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});t.wrapperEl.dispatchEvent(e)}))}))}}function ue(e){const{effect:t,swiper:o,on:n,setTranslate:r,setTransition:i,overwriteParams:a,perspective:s,recreateShadows:l,getEffectParams:c}=e;let p;n("beforeInit",(()=>{if(o.params.effect!==t)return;o.classNames.push(`${o.params.containerModifierClass}${t}`),s&&s()&&o.classNames.push(`${o.params.containerModifierClass}3d`);const e=a?a():{};Object.assign(o.params,e),Object.assign(o.originalParams,e)})),n("setTranslate",(()=>{o.params.effect===t&&r()})),n("setTransition",((e,n)=>{o.params.effect===t&&i(n)})),n("transitionEnd",(()=>{if(o.params.effect===t&&l){if(!c||!c().slideShadows)return;o.slides.forEach((e=>{e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((e=>e.remove()))})),l()}})),n("virtualUpdate",(()=>{o.params.effect===t&&(o.slides.length||(p=!0),requestAnimationFrame((()=>{p&&o.slides&&o.slides.length&&(r(),p=!1)})))}))}function de(e,t,o){const n=`swiper-slide-shadow${o?`-${o}`:""}${e?` swiper-slide-shadow-${e}`:""}`,r=b(t);let i=r.querySelector(`.${n.split(" ").join(".")}`);return i||(i=w("div",n.split(" ")),r.append(i)),i}Object.keys(re).forEach((e=>{Object.keys(re[e]).forEach((t=>{ae.prototype[t]=re[e][t]}))})),ae.use([function(e){let{swiper:t,on:o,emit:n}=e;const r=p();let i=null,a=null;const s=()=>{t&&!t.destroyed&&t.initialized&&(n("beforeResize"),n("resize"))},l=()=>{t&&!t.destroyed&&t.initialized&&n("orientationchange")};o("init",(()=>{t.params.resizeObserver&&void 0!==r.ResizeObserver?t&&!t.destroyed&&t.initialized&&(i=new ResizeObserver((e=>{a=r.requestAnimationFrame((()=>{const{width:o,height:n}=t;let r=o,i=n;e.forEach((e=>{let{contentBoxSize:o,contentRect:n,target:a}=e;a&&a!==t.el||(r=n?n.width:(o[0]||o).inlineSize,i=n?n.height:(o[0]||o).blockSize)})),r===o&&i===n||s()}))})),i.observe(t.el)):(r.addEventListener("resize",s),r.addEventListener("orientationchange",l))})),o("destroy",(()=>{a&&r.cancelAnimationFrame(a),i&&i.unobserve&&t.el&&(i.unobserve(t.el),i=null),r.removeEventListener("resize",s),r.removeEventListener("orientationchange",l)}))},function(e){let{swiper:t,extendParams:o,on:n,emit:r}=e;const i=[],a=p(),s=function(e,o){void 0===o&&(o={});const n=new(a.MutationObserver||a.WebkitMutationObserver)((e=>{if(t.__preventObserver__)return;if(1===e.length)return void r("observerUpdate",e[0]);const o=function(){r("observerUpdate",e[0])};a.requestAnimationFrame?a.requestAnimationFrame(o):a.setTimeout(o,0)}));n.observe(e,{attributes:void 0===o.attributes||o.attributes,childList:t.isElement||(void 0===o.childList||o).childList,characterData:void 0===o.characterData||o.characterData}),i.push(n)};o({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",(()=>{if(t.params.observer){if(t.params.observeParents){const e=T(t.hostEl);for(let t=0;t<e.length;t+=1)s(e[t])}s(t.hostEl,{childList:t.params.observeSlideChildren}),s(t.wrapperEl,{attributes:!1})}})),n("destroy",(()=>{i.forEach((e=>{e.disconnect()})),i.splice(0,i.length)}))}]);var ye=o(4059),ge=o.n(ye),me=o(790);ae.use([function(e){let t,o,{swiper:n,extendParams:r,on:i,emit:a,params:s}=e;n.autoplay={running:!1,paused:!1,timeLeft:0},r({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let c,p,u,d,y,g,m,v,h=s&&s.autoplay?s.autoplay.delay:3e3,b=s&&s.autoplay?s.autoplay.delay:3e3,f=(new Date).getTime();function x(e){n&&!n.destroyed&&n.wrapperEl&&e.target===n.wrapperEl&&(n.wrapperEl.removeEventListener("transitionend",x),v||e.detail&&e.detail.bySwiperTouchMove||O())}const w=()=>{if(n.destroyed||!n.autoplay.running)return;n.autoplay.paused?p=!0:p&&(b=c,p=!1);const e=n.autoplay.paused?c:f+b-(new Date).getTime();n.autoplay.timeLeft=e,a("autoplayTimeLeft",e,e/h),o=requestAnimationFrame((()=>{w()}))},S=e=>{if(n.destroyed||!n.autoplay.running)return;cancelAnimationFrame(o),w();let r=void 0===e?n.params.autoplay.delay:e;h=n.params.autoplay.delay,b=n.params.autoplay.delay;const i=(()=>{let e;if(e=n.virtual&&n.params.virtual.enabled?n.slides.filter((e=>e.classList.contains("swiper-slide-active")))[0]:n.slides[n.activeIndex],e)return parseInt(e.getAttribute("data-swiper-autoplay"),10)})();!Number.isNaN(i)&&i>0&&void 0===e&&(r=i,h=i,b=i),c=r;const s=n.params.speed,l=()=>{n&&!n.destroyed&&(n.params.autoplay.reverseDirection?!n.isBeginning||n.params.loop||n.params.rewind?(n.slidePrev(s,!0,!0),a("autoplay")):n.params.autoplay.stopOnLastSlide||(n.slideTo(n.slides.length-1,s,!0,!0),a("autoplay")):!n.isEnd||n.params.loop||n.params.rewind?(n.slideNext(s,!0,!0),a("autoplay")):n.params.autoplay.stopOnLastSlide||(n.slideTo(0,s,!0,!0),a("autoplay")),n.params.cssMode&&(f=(new Date).getTime(),requestAnimationFrame((()=>{S()}))))};return r>0?(clearTimeout(t),t=setTimeout((()=>{l()}),r)):requestAnimationFrame((()=>{l()})),r},_=()=>{f=(new Date).getTime(),n.autoplay.running=!0,S(),a("autoplayStart")},j=()=>{n.autoplay.running=!1,clearTimeout(t),cancelAnimationFrame(o),a("autoplayStop")},T=(e,o)=>{if(n.destroyed||!n.autoplay.running)return;clearTimeout(t),e||(m=!0);const r=()=>{a("autoplayPause"),n.params.autoplay.waitForTransition?n.wrapperEl.addEventListener("transitionend",x):O()};if(n.autoplay.paused=!0,o)return g&&(c=n.params.autoplay.delay),g=!1,void r();const i=c||n.params.autoplay.delay;c=i-((new Date).getTime()-f),n.isEnd&&c<0&&!n.params.loop||(c<0&&(c=0),r())},O=()=>{n.isEnd&&c<0&&!n.params.loop||n.destroyed||!n.autoplay.running||(f=(new Date).getTime(),m?(m=!1,S(c)):S(),n.autoplay.paused=!1,a("autoplayResume"))},C=()=>{if(n.destroyed||!n.autoplay.running)return;const e=l();"hidden"===e.visibilityState&&(m=!0,T(!0)),"visible"===e.visibilityState&&O()},k=e=>{"mouse"===e.pointerType&&(m=!0,v=!0,n.animating||n.autoplay.paused||T(!0))},P=e=>{"mouse"===e.pointerType&&(v=!1,n.autoplay.paused&&O())};i("init",(()=>{n.params.autoplay.enabled&&(n.params.autoplay.pauseOnMouseEnter&&(n.el.addEventListener("pointerenter",k),n.el.addEventListener("pointerleave",P)),l().addEventListener("visibilitychange",C),_())})),i("destroy",(()=>{n.el&&"string"!=typeof n.el&&(n.el.removeEventListener("pointerenter",k),n.el.removeEventListener("pointerleave",P)),l().removeEventListener("visibilitychange",C),n.autoplay.running&&j()})),i("_freeModeStaticRelease",(()=>{(d||m)&&O()})),i("_freeModeNoMomentumRelease",(()=>{n.params.autoplay.disableOnInteraction?j():T(!0,!0)})),i("beforeTransitionStart",((e,t,o)=>{!n.destroyed&&n.autoplay.running&&(o||!n.params.autoplay.disableOnInteraction?T(!0,!0):j())})),i("sliderFirstMove",(()=>{!n.destroyed&&n.autoplay.running&&(n.params.autoplay.disableOnInteraction?j():(u=!0,d=!1,m=!1,y=setTimeout((()=>{m=!0,d=!0,T(!0)}),200)))})),i("touchEnd",(()=>{if(!n.destroyed&&n.autoplay.running&&u){if(clearTimeout(y),clearTimeout(t),n.params.autoplay.disableOnInteraction)return d=!1,void(u=!1);d&&n.params.cssMode&&O(),d=!1,u=!1}})),i("slideChange",(()=>{!n.destroyed&&n.autoplay.running&&(g=!0)})),Object.assign(n.autoplay,{start:_,stop:j,pause:T,resume:O})},function(e){let{swiper:t,extendParams:o,on:n,emit:r}=e;function i(e){const{el:o}=t,n=o.ownerDocument;let r;return e&&"string"==typeof e&&t.isElement&&(r=t.el.querySelector(e),r)?r:(e&&("string"==typeof e&&(r=[...n.querySelectorAll(e)]),t.params.uniqueNavElements&&"string"==typeof e&&r&&r.length>1&&1===t.el.querySelectorAll(e).length?r=t.el.querySelector(e):r&&1===r.length&&(r=r[0])),e&&!r?e:r)}function a(e,o){const n=t.params.navigation;(e=C(e)).forEach((e=>{e&&(e.classList[o?"add":"remove"](...n.disabledClass.split(" ")),"BUTTON"===e.tagName&&(e.disabled=o),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](n.lockClass))}))}function s(){const{nextEl:e,prevEl:o}=t.navigation;if(t.params.loop)return a(o,!1),void a(e,!1);a(o,t.isBeginning&&!t.params.rewind),a(e,t.isEnd&&!t.params.rewind)}function l(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),r("navigationPrev"))}function c(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),r("navigationNext"))}function p(){const e=t.params.navigation;if(t.params.navigation=se(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!e.nextEl&&!e.prevEl)return;let o=i(e.nextEl),n=i(e.prevEl);Object.assign(t.navigation,{nextEl:o,prevEl:n}),o=C(o),n=C(n);const r=(o,n)=>{o&&o.addEventListener("click","next"===n?c:l),!t.enabled&&o&&o.classList.add(...e.lockClass.split(" "))};o.forEach((e=>r(e,"next"))),n.forEach((e=>r(e,"prev")))}function u(){let{nextEl:e,prevEl:o}=t.navigation;e=C(e),o=C(o);const n=(e,o)=>{e.removeEventListener("click","next"===o?c:l),e.classList.remove(...t.params.navigation.disabledClass.split(" "))};e.forEach((e=>n(e,"next"))),o.forEach((e=>n(e,"prev")))}o({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,prevEl:null},n("init",(()=>{!1===t.params.navigation.enabled?d():(p(),s())})),n("toEdge fromEdge lock unlock",(()=>{s()})),n("destroy",(()=>{u()})),n("enable disable",(()=>{let{nextEl:e,prevEl:o}=t.navigation;e=C(e),o=C(o),t.enabled?s():[...e,...o].filter((e=>!!e)).forEach((e=>e.classList.add(t.params.navigation.lockClass)))})),n("click",((e,o)=>{let{nextEl:n,prevEl:i}=t.navigation;n=C(n),i=C(i);const a=o.target;let s=i.includes(a)||n.includes(a);if(t.isElement&&!s){const e=o.path||o.composedPath&&o.composedPath();e&&(s=e.find((e=>n.includes(e)||i.includes(e))))}if(t.params.navigation.hideOnClick&&!s){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===a||t.pagination.el.contains(a)))return;let e;n.length?e=n[0].classList.contains(t.params.navigation.hiddenClass):i.length&&(e=i[0].classList.contains(t.params.navigation.hiddenClass)),r(!0===e?"navigationShow":"navigationHide"),[...n,...i].filter((e=>!!e)).forEach((e=>e.classList.toggle(t.params.navigation.hiddenClass)))}}));const d=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),u()};Object.assign(t.navigation,{enable:()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),p(),s()},disable:d,update:s,init:p,destroy:u})},function(e){let{swiper:t,extendParams:o,on:n,emit:r}=e;const i="swiper-pagination";let a;o({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${i}-bullet`,bulletActiveClass:`${i}-bullet-active`,modifierClass:`${i}-`,currentClass:`${i}-current`,totalClass:`${i}-total`,hiddenClass:`${i}-hidden`,progressbarFillClass:`${i}-progressbar-fill`,progressbarOppositeClass:`${i}-progressbar-opposite`,clickableClass:`${i}-clickable`,lockClass:`${i}-lock`,horizontalClass:`${i}-horizontal`,verticalClass:`${i}-vertical`,paginationDisabledClass:`${i}-disabled`}}),t.pagination={el:null,bullets:[]};let s=0;function l(){return!t.params.pagination.el||!t.pagination.el||Array.isArray(t.pagination.el)&&0===t.pagination.el.length}function c(e,o){const{bulletActiveClass:n}=t.params.pagination;e&&(e=e[("prev"===o?"previous":"next")+"ElementSibling"])&&(e.classList.add(`${n}-${o}`),(e=e[("prev"===o?"previous":"next")+"ElementSibling"])&&e.classList.add(`${n}-${o}-${o}`))}function p(e){const o=e.target.closest(le(t.params.pagination.bulletClass));if(!o)return;e.preventDefault();const n=j(o)*t.params.slidesPerGroup;if(t.params.loop){if(t.realIndex===n)return;t.slideToLoop(n)}else t.slideTo(n)}function u(){const e=t.rtl,o=t.params.pagination;if(l())return;let n,i,p=t.pagination.el;p=C(p);const u=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,d=t.params.loop?Math.ceil(u/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(i=t.previousRealIndex||0,n=t.params.slidesPerGroup>1?Math.floor(t.realIndex/t.params.slidesPerGroup):t.realIndex):void 0!==t.snapIndex?(n=t.snapIndex,i=t.previousSnapIndex):(i=t.previousIndex||0,n=t.activeIndex||0),"bullets"===o.type&&t.pagination.bullets&&t.pagination.bullets.length>0){const r=t.pagination.bullets;let l,u,d;if(o.dynamicBullets&&(a=O(r[0],t.isHorizontal()?"width":"height",!0),p.forEach((e=>{e.style[t.isHorizontal()?"width":"height"]=a*(o.dynamicMainBullets+4)+"px"})),o.dynamicMainBullets>1&&void 0!==i&&(s+=n-(i||0),s>o.dynamicMainBullets-1?s=o.dynamicMainBullets-1:s<0&&(s=0)),l=Math.max(n-s,0),u=l+(Math.min(r.length,o.dynamicMainBullets)-1),d=(u+l)/2),r.forEach((e=>{const t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map((e=>`${o.bulletActiveClass}${e}`))].map((e=>"string"==typeof e&&e.includes(" ")?e.split(" "):e)).flat();e.classList.remove(...t)})),p.length>1)r.forEach((e=>{const r=j(e);r===n?e.classList.add(...o.bulletActiveClass.split(" ")):t.isElement&&e.setAttribute("part","bullet"),o.dynamicBullets&&(r>=l&&r<=u&&e.classList.add(...`${o.bulletActiveClass}-main`.split(" ")),r===l&&c(e,"prev"),r===u&&c(e,"next"))}));else{const e=r[n];if(e&&e.classList.add(...o.bulletActiveClass.split(" ")),t.isElement&&r.forEach(((e,t)=>{e.setAttribute("part",t===n?"bullet-active":"bullet")})),o.dynamicBullets){const e=r[l],t=r[u];for(let e=l;e<=u;e+=1)r[e]&&r[e].classList.add(...`${o.bulletActiveClass}-main`.split(" "));c(e,"prev"),c(t,"next")}}if(o.dynamicBullets){const n=Math.min(r.length,o.dynamicMainBullets+4),i=(a*n-a)/2-d*a,s=e?"right":"left";r.forEach((e=>{e.style[t.isHorizontal()?s:"top"]=`${i}px`}))}}p.forEach(((e,i)=>{if("fraction"===o.type&&(e.querySelectorAll(le(o.currentClass)).forEach((e=>{e.textContent=o.formatFractionCurrent(n+1)})),e.querySelectorAll(le(o.totalClass)).forEach((e=>{e.textContent=o.formatFractionTotal(d)}))),"progressbar"===o.type){let r;r=o.progressbarOpposite?t.isHorizontal()?"vertical":"horizontal":t.isHorizontal()?"horizontal":"vertical";const i=(n+1)/d;let a=1,s=1;"horizontal"===r?a=i:s=i,e.querySelectorAll(le(o.progressbarFillClass)).forEach((e=>{e.style.transform=`translate3d(0,0,0) scaleX(${a}) scaleY(${s})`,e.style.transitionDuration=`${t.params.speed}ms`}))}"custom"===o.type&&o.renderCustom?(e.innerHTML=o.renderCustom(t,n+1,d),0===i&&r("paginationRender",e)):(0===i&&r("paginationRender",e),r("paginationUpdate",e)),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](o.lockClass)}))}function d(){const e=t.params.pagination;if(l())return;const o=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.grid&&t.params.grid.rows>1?t.slides.length/Math.ceil(t.params.grid.rows):t.slides.length;let n=t.pagination.el;n=C(n);let i="";if("bullets"===e.type){let n=t.params.loop?Math.ceil(o/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&n>o&&(n=o);for(let o=0;o<n;o+=1)e.renderBullet?i+=e.renderBullet.call(t,o,e.bulletClass):i+=`<${e.bulletElement} ${t.isElement?'part="bullet"':""} class="${e.bulletClass}"></${e.bulletElement}>`}"fraction"===e.type&&(i=e.renderFraction?e.renderFraction.call(t,e.currentClass,e.totalClass):`<span class="${e.currentClass}"></span> / <span class="${e.totalClass}"></span>`),"progressbar"===e.type&&(i=e.renderProgressbar?e.renderProgressbar.call(t,e.progressbarFillClass):`<span class="${e.progressbarFillClass}"></span>`),t.pagination.bullets=[],n.forEach((o=>{"custom"!==e.type&&(o.innerHTML=i||""),"bullets"===e.type&&t.pagination.bullets.push(...o.querySelectorAll(le(e.bulletClass)))})),"custom"!==e.type&&r("paginationRender",n[0])}function y(){const{el:e}=t,o=e.ownerDocument;t.params.pagination=se(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const n=t.params.pagination;if(!n.el)return;let r;"string"==typeof n.el&&t.isElement&&(r=t.el.querySelector(n.el)),r||"string"!=typeof n.el||(r=[...o.querySelectorAll(n.el)]),r||(r=n.el),r&&0!==r.length&&(t.params.uniqueNavElements&&"string"==typeof n.el&&Array.isArray(r)&&r.length>1&&(r=[...t.el.querySelectorAll(n.el)],r.length>1&&(r=r.filter((e=>T(e,".swiper")[0]===t.el))[0])),Array.isArray(r)&&1===r.length&&(r=r[0]),Object.assign(t.pagination,{el:r}),r=C(r),r.forEach((e=>{"bullets"===n.type&&n.clickable&&e.classList.add(...(n.clickableClass||"").split(" ")),e.classList.add(n.modifierClass+n.type),e.classList.add(t.isHorizontal()?n.horizontalClass:n.verticalClass),"bullets"===n.type&&n.dynamicBullets&&(e.classList.add(`${n.modifierClass}${n.type}-dynamic`),s=0,n.dynamicMainBullets<1&&(n.dynamicMainBullets=1)),"progressbar"===n.type&&n.progressbarOpposite&&e.classList.add(n.progressbarOppositeClass),n.clickable&&e.addEventListener("click",p),t.enabled||e.classList.add(n.lockClass)})))}function g(){const e=t.params.pagination;if(l())return;let o=t.pagination.el;o&&(o=C(o),o.forEach((o=>{o.classList.remove(e.hiddenClass),o.classList.remove(e.modifierClass+e.type),o.classList.remove(t.isHorizontal()?e.horizontalClass:e.verticalClass),e.clickable&&(o.classList.remove(...(e.clickableClass||"").split(" ")),o.removeEventListener("click",p))}))),t.pagination.bullets&&t.pagination.bullets.forEach((t=>t.classList.remove(...e.bulletActiveClass.split(" "))))}n("changeDirection",(()=>{if(!t.pagination||!t.pagination.el)return;const e=t.params.pagination;let{el:o}=t.pagination;o=C(o),o.forEach((o=>{o.classList.remove(e.horizontalClass,e.verticalClass),o.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass)}))})),n("init",(()=>{!1===t.params.pagination.enabled?m():(y(),d(),u())})),n("activeIndexChange",(()=>{void 0===t.snapIndex&&u()})),n("snapIndexChange",(()=>{u()})),n("snapGridLengthChange",(()=>{d(),u()})),n("destroy",(()=>{g()})),n("enable disable",(()=>{let{el:e}=t.pagination;e&&(e=C(e),e.forEach((e=>e.classList[t.enabled?"remove":"add"](t.params.pagination.lockClass))))})),n("lock unlock",(()=>{u()})),n("click",((e,o)=>{const n=o.target,i=C(t.pagination.el);if(t.params.pagination.el&&t.params.pagination.hideOnClick&&i&&i.length>0&&!n.classList.contains(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&n===t.navigation.nextEl||t.navigation.prevEl&&n===t.navigation.prevEl))return;const e=i[0].classList.contains(t.params.pagination.hiddenClass);r(!0===e?"paginationShow":"paginationHide"),i.forEach((e=>e.classList.toggle(t.params.pagination.hiddenClass)))}}));const m=()=>{t.el.classList.add(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=C(e),e.forEach((e=>e.classList.add(t.params.pagination.paginationDisabledClass)))),g()};Object.assign(t.pagination,{enable:()=>{t.el.classList.remove(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=C(e),e.forEach((e=>e.classList.remove(t.params.pagination.paginationDisabledClass)))),y(),d(),u()},disable:m,render:d,update:u,init:y,destroy:g})},function(e){let{swiper:t,extendParams:o,on:n,emit:r}=e;const i=p();o({zoom:{enabled:!1,limitToOriginalSize:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),t.zoom={enabled:!1};let a,s,l=1,c=!1;const u=[],d={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},g={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},m={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let v,h=1;function b(){if(u.length<2)return 1;const e=u[0].pageX,t=u[0].pageY,o=u[1].pageX,n=u[1].pageY;return Math.sqrt((o-e)**2+(n-t)**2)}function x(){const e=t.params.zoom,o=d.imageWrapEl.getAttribute("data-swiper-zoom")||e.maxRatio;if(e.limitToOriginalSize&&d.imageEl&&d.imageEl.naturalWidth){const e=d.imageEl.naturalWidth/d.imageEl.offsetWidth;return Math.min(e,o)}return o}function w(e){const o=t.isElement?"swiper-slide":`.${t.params.slideClass}`;return!!e.target.matches(o)||t.slides.filter((t=>t.contains(e.target))).length>0}function _(e){if("mouse"===e.pointerType&&u.splice(0,u.length),!w(e))return;const o=t.params.zoom;if(a=!1,s=!1,u.push(e),!(u.length<2)){if(a=!0,d.scaleStart=b(),!d.slideEl){d.slideEl=e.target.closest(`.${t.params.slideClass}, swiper-slide`),d.slideEl||(d.slideEl=t.slides[t.activeIndex]);let n=d.slideEl.querySelector(`.${o.containerClass}`);if(n&&(n=n.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),d.imageEl=n,d.imageWrapEl=n?T(d.imageEl,`.${o.containerClass}`)[0]:void 0,!d.imageWrapEl)return void(d.imageEl=void 0);d.maxRatio=x()}if(d.imageEl){const[e,t]=function(){if(u.length<2)return{x:null,y:null};const e=d.imageEl.getBoundingClientRect();return[(u[0].pageX+(u[1].pageX-u[0].pageX)/2-e.x-i.scrollX)/l,(u[0].pageY+(u[1].pageY-u[0].pageY)/2-e.y-i.scrollY)/l]}();d.originX=e,d.originY=t,d.imageEl.style.transitionDuration="0ms"}c=!0}}function j(e){if(!w(e))return;const o=t.params.zoom,n=t.zoom,r=u.findIndex((t=>t.pointerId===e.pointerId));r>=0&&(u[r]=e),u.length<2||(s=!0,d.scaleMove=b(),d.imageEl&&(n.scale=d.scaleMove/d.scaleStart*l,n.scale>d.maxRatio&&(n.scale=d.maxRatio-1+(n.scale-d.maxRatio+1)**.5),n.scale<o.minRatio&&(n.scale=o.minRatio+1-(o.minRatio-n.scale+1)**.5),d.imageEl.style.transform=`translate3d(0,0,0) scale(${n.scale})`))}function O(e){if(!w(e))return;if("mouse"===e.pointerType&&"pointerout"===e.type)return;const o=t.params.zoom,n=t.zoom,r=u.findIndex((t=>t.pointerId===e.pointerId));r>=0&&u.splice(r,1),a&&s&&(a=!1,s=!1,d.imageEl&&(n.scale=Math.max(Math.min(n.scale,d.maxRatio),o.minRatio),d.imageEl.style.transitionDuration=`${t.params.speed}ms`,d.imageEl.style.transform=`translate3d(0,0,0) scale(${n.scale})`,l=n.scale,c=!1,n.scale>1&&d.slideEl?d.slideEl.classList.add(`${o.zoomedSlideClass}`):n.scale<=1&&d.slideEl&&d.slideEl.classList.remove(`${o.zoomedSlideClass}`),1===n.scale&&(d.originX=0,d.originY=0,d.slideEl=void 0)))}function C(){t.touchEventsData.preventTouchMoveFromPointerMove=!1}function k(e){if(!w(e)||!function(e){const o=`.${t.params.zoom.containerClass}`;return!!e.target.matches(o)||[...t.hostEl.querySelectorAll(o)].filter((t=>t.contains(e.target))).length>0}(e))return;const o=t.zoom;if(!d.imageEl)return;if(!g.isTouched||!d.slideEl)return;g.isMoved||(g.width=d.imageEl.offsetWidth||d.imageEl.clientWidth,g.height=d.imageEl.offsetHeight||d.imageEl.clientHeight,g.startX=y(d.imageWrapEl,"x")||0,g.startY=y(d.imageWrapEl,"y")||0,d.slideWidth=d.slideEl.offsetWidth,d.slideHeight=d.slideEl.offsetHeight,d.imageWrapEl.style.transitionDuration="0ms");const n=g.width*o.scale,r=g.height*o.scale;if(g.minX=Math.min(d.slideWidth/2-n/2,0),g.maxX=-g.minX,g.minY=Math.min(d.slideHeight/2-r/2,0),g.maxY=-g.minY,g.touchesCurrent.x=u.length>0?u[0].pageX:e.pageX,g.touchesCurrent.y=u.length>0?u[0].pageY:e.pageY,Math.max(Math.abs(g.touchesCurrent.x-g.touchesStart.x),Math.abs(g.touchesCurrent.y-g.touchesStart.y))>5&&(t.allowClick=!1),!g.isMoved&&!c){if(t.isHorizontal()&&(Math.floor(g.minX)===Math.floor(g.startX)&&g.touchesCurrent.x<g.touchesStart.x||Math.floor(g.maxX)===Math.floor(g.startX)&&g.touchesCurrent.x>g.touchesStart.x))return g.isTouched=!1,void C();if(!t.isHorizontal()&&(Math.floor(g.minY)===Math.floor(g.startY)&&g.touchesCurrent.y<g.touchesStart.y||Math.floor(g.maxY)===Math.floor(g.startY)&&g.touchesCurrent.y>g.touchesStart.y))return g.isTouched=!1,void C()}e.cancelable&&e.preventDefault(),e.stopPropagation(),clearTimeout(v),t.touchEventsData.preventTouchMoveFromPointerMove=!0,v=setTimeout((()=>{C()})),g.isMoved=!0;const i=(o.scale-l)/(d.maxRatio-t.params.zoom.minRatio),{originX:a,originY:s}=d;g.currentX=g.touchesCurrent.x-g.touchesStart.x+g.startX+i*(g.width-2*a),g.currentY=g.touchesCurrent.y-g.touchesStart.y+g.startY+i*(g.height-2*s),g.currentX<g.minX&&(g.currentX=g.minX+1-(g.minX-g.currentX+1)**.8),g.currentX>g.maxX&&(g.currentX=g.maxX-1+(g.currentX-g.maxX+1)**.8),g.currentY<g.minY&&(g.currentY=g.minY+1-(g.minY-g.currentY+1)**.8),g.currentY>g.maxY&&(g.currentY=g.maxY-1+(g.currentY-g.maxY+1)**.8),m.prevPositionX||(m.prevPositionX=g.touchesCurrent.x),m.prevPositionY||(m.prevPositionY=g.touchesCurrent.y),m.prevTime||(m.prevTime=Date.now()),m.x=(g.touchesCurrent.x-m.prevPositionX)/(Date.now()-m.prevTime)/2,m.y=(g.touchesCurrent.y-m.prevPositionY)/(Date.now()-m.prevTime)/2,Math.abs(g.touchesCurrent.x-m.prevPositionX)<2&&(m.x=0),Math.abs(g.touchesCurrent.y-m.prevPositionY)<2&&(m.y=0),m.prevPositionX=g.touchesCurrent.x,m.prevPositionY=g.touchesCurrent.y,m.prevTime=Date.now(),d.imageWrapEl.style.transform=`translate3d(${g.currentX}px, ${g.currentY}px,0)`}function P(){const e=t.zoom;d.slideEl&&t.activeIndex!==t.slides.indexOf(d.slideEl)&&(d.imageEl&&(d.imageEl.style.transform="translate3d(0,0,0) scale(1)"),d.imageWrapEl&&(d.imageWrapEl.style.transform="translate3d(0,0,0)"),d.slideEl.classList.remove(`${t.params.zoom.zoomedSlideClass}`),e.scale=1,l=1,d.slideEl=void 0,d.imageEl=void 0,d.imageWrapEl=void 0,d.originX=0,d.originY=0)}function N(e){const o=t.zoom,n=t.params.zoom;if(!d.slideEl){e&&e.target&&(d.slideEl=e.target.closest(`.${t.params.slideClass}, swiper-slide`)),d.slideEl||(t.params.virtual&&t.params.virtual.enabled&&t.virtual?d.slideEl=f(t.slidesEl,`.${t.params.slideActiveClass}`)[0]:d.slideEl=t.slides[t.activeIndex]);let o=d.slideEl.querySelector(`.${n.containerClass}`);o&&(o=o.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),d.imageEl=o,d.imageWrapEl=o?T(d.imageEl,`.${n.containerClass}`)[0]:void 0}if(!d.imageEl||!d.imageWrapEl)return;let r,a,s,c,p,u,y,m,v,h,b,w,_,j,O,C,k,P;t.params.cssMode&&(t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.touchAction="none"),d.slideEl.classList.add(`${n.zoomedSlideClass}`),void 0===g.touchesStart.x&&e?(r=e.pageX,a=e.pageY):(r=g.touchesStart.x,a=g.touchesStart.y);const N="number"==typeof e?e:null;1===l&&N&&(r=void 0,a=void 0);const E=x();o.scale=N||E,l=N||E,!e||1===l&&N?(y=0,m=0):(k=d.slideEl.offsetWidth,P=d.slideEl.offsetHeight,s=S(d.slideEl).left+i.scrollX,c=S(d.slideEl).top+i.scrollY,p=s+k/2-r,u=c+P/2-a,v=d.imageEl.offsetWidth||d.imageEl.clientWidth,h=d.imageEl.offsetHeight||d.imageEl.clientHeight,b=v*o.scale,w=h*o.scale,_=Math.min(k/2-b/2,0),j=Math.min(P/2-w/2,0),O=-_,C=-j,y=p*o.scale,m=u*o.scale,y<_&&(y=_),y>O&&(y=O),m<j&&(m=j),m>C&&(m=C)),N&&1===o.scale&&(d.originX=0,d.originY=0),d.imageWrapEl.style.transitionDuration="300ms",d.imageWrapEl.style.transform=`translate3d(${y}px, ${m}px,0)`,d.imageEl.style.transitionDuration="300ms",d.imageEl.style.transform=`translate3d(0,0,0) scale(${o.scale})`}function E(){const e=t.zoom,o=t.params.zoom;if(!d.slideEl){t.params.virtual&&t.params.virtual.enabled&&t.virtual?d.slideEl=f(t.slidesEl,`.${t.params.slideActiveClass}`)[0]:d.slideEl=t.slides[t.activeIndex];let e=d.slideEl.querySelector(`.${o.containerClass}`);e&&(e=e.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),d.imageEl=e,d.imageWrapEl=e?T(d.imageEl,`.${o.containerClass}`)[0]:void 0}d.imageEl&&d.imageWrapEl&&(t.params.cssMode&&(t.wrapperEl.style.overflow="",t.wrapperEl.style.touchAction=""),e.scale=1,l=1,d.imageWrapEl.style.transitionDuration="300ms",d.imageWrapEl.style.transform="translate3d(0,0,0)",d.imageEl.style.transitionDuration="300ms",d.imageEl.style.transform="translate3d(0,0,0) scale(1)",d.slideEl.classList.remove(`${o.zoomedSlideClass}`),d.slideEl=void 0,d.originX=0,d.originY=0)}function D(e){const o=t.zoom;o.scale&&1!==o.scale?E():N(e)}function B(){return{passiveListener:!!t.params.passiveListeners&&{passive:!0,capture:!1},activeListenerWithCapture:!t.params.passiveListeners||{passive:!1,capture:!0}}}function A(){const e=t.zoom;if(e.enabled)return;e.enabled=!0;const{passiveListener:o,activeListenerWithCapture:n}=B();t.wrapperEl.addEventListener("pointerdown",_,o),t.wrapperEl.addEventListener("pointermove",j,n),["pointerup","pointercancel","pointerout"].forEach((e=>{t.wrapperEl.addEventListener(e,O,o)})),t.wrapperEl.addEventListener("pointermove",k,n)}function H(){const e=t.zoom;if(!e.enabled)return;e.enabled=!1;const{passiveListener:o,activeListenerWithCapture:n}=B();t.wrapperEl.removeEventListener("pointerdown",_,o),t.wrapperEl.removeEventListener("pointermove",j,n),["pointerup","pointercancel","pointerout"].forEach((e=>{t.wrapperEl.removeEventListener(e,O,o)})),t.wrapperEl.removeEventListener("pointermove",k,n)}Object.defineProperty(t.zoom,"scale",{get:()=>h,set(e){if(h!==e){const t=d.imageEl,o=d.slideEl;r("zoomChange",e,t,o)}h=e}}),n("init",(()=>{t.params.zoom.enabled&&A()})),n("destroy",(()=>{H()})),n("touchStart",((e,o)=>{t.zoom.enabled&&function(e){const o=t.device;if(!d.imageEl)return;if(g.isTouched)return;o.android&&e.cancelable&&e.preventDefault(),g.isTouched=!0;const n=u.length>0?u[0]:e;g.touchesStart.x=n.pageX,g.touchesStart.y=n.pageY}(o)})),n("touchEnd",((e,o)=>{t.zoom.enabled&&function(){const e=t.zoom;if(!d.imageEl)return;if(!g.isTouched||!g.isMoved)return g.isTouched=!1,void(g.isMoved=!1);g.isTouched=!1,g.isMoved=!1;let o=300,n=300;const r=m.x*o,i=g.currentX+r,a=m.y*n,s=g.currentY+a;0!==m.x&&(o=Math.abs((i-g.currentX)/m.x)),0!==m.y&&(n=Math.abs((s-g.currentY)/m.y));const l=Math.max(o,n);g.currentX=i,g.currentY=s;const c=g.width*e.scale,p=g.height*e.scale;g.minX=Math.min(d.slideWidth/2-c/2,0),g.maxX=-g.minX,g.minY=Math.min(d.slideHeight/2-p/2,0),g.maxY=-g.minY,g.currentX=Math.max(Math.min(g.currentX,g.maxX),g.minX),g.currentY=Math.max(Math.min(g.currentY,g.maxY),g.minY),d.imageWrapEl.style.transitionDuration=`${l}ms`,d.imageWrapEl.style.transform=`translate3d(${g.currentX}px, ${g.currentY}px,0)`}()})),n("doubleTap",((e,o)=>{!t.animating&&t.params.zoom.enabled&&t.zoom.enabled&&t.params.zoom.toggle&&D(o)})),n("transitionEnd",(()=>{t.zoom.enabled&&t.params.zoom.enabled&&P()})),n("slideChange",(()=>{t.zoom.enabled&&t.params.zoom.enabled&&t.params.cssMode&&P()})),Object.assign(t.zoom,{enable:A,disable:H,in:N,out:E,toggle:D})},function(e){let{swiper:t,extendParams:o,on:n}=e;o({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),ue({effect:"cards",swiper:t,on:n,setTranslate:()=>{const{slides:e,activeIndex:o,rtlTranslate:n}=t,r=t.params.cardsEffect,{startTranslate:i,isTouched:a}=t.touchEventsData,s=n?-t.translate:t.translate;for(let l=0;l<e.length;l+=1){const c=e[l],p=c.progress,u=Math.min(Math.max(p,-4),4);let d=c.swiperSlideOffset;t.params.centeredSlides&&!t.params.cssMode&&(t.wrapperEl.style.transform=`translateX(${t.minTranslate()}px)`),t.params.centeredSlides&&t.params.cssMode&&(d-=e[0].swiperSlideOffset);let y=t.params.cssMode?-d-t.translate:-d,g=0;const m=-100*Math.abs(u);let v=1,h=-r.perSlideRotate*u,b=r.perSlideOffset-.75*Math.abs(u);const f=t.virtual&&t.params.virtual.enabled?t.virtual.from+l:l,x=(f===o||f===o-1)&&u>0&&u<1&&(a||t.params.cssMode)&&s<i,w=(f===o||f===o+1)&&u<0&&u>-1&&(a||t.params.cssMode)&&s>i;if(x||w){const e=(1-Math.abs((Math.abs(u)-.5)/.5))**.5;h+=-28*u*e,v+=-.5*e,b+=96*e,g=-25*e*Math.abs(u)+"%"}if(y=u<0?`calc(${y}px ${n?"-":"+"} (${b*Math.abs(u)}%))`:u>0?`calc(${y}px ${n?"-":"+"} (-${b*Math.abs(u)}%))`:`${y}px`,!t.isHorizontal()){const e=g;g=y,y=e}const S=u<0?""+(1+(1-v)*u):""+(1-(1-v)*u),_=`\n translate3d(${y}, ${g}, ${m}px)\n rotateZ(${r.rotate?n?-h:h:0}deg)\n scale(${S})\n `;if(r.slideShadows){let e=c.querySelector(".swiper-slide-shadow");e||(e=de("cards",c)),e&&(e.style.opacity=Math.min(Math.max((Math.abs(u)-.5)/.5,0),1))}c.style.zIndex=-Math.abs(Math.round(p))+e.length,ce(0,c).style.transform=_}},setTransition:e=>{const o=t.slides.map((e=>b(e)));o.forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow").forEach((t=>{t.style.transitionDuration=`${e}ms`}))})),pe({swiper:t,duration:e,transformElements:o})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!t.params.cssMode})})},function(e){let{swiper:t,extendParams:o,on:n}=e;o({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const r=(e,t,o)=>{let n=o?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),r=o?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");n||(n=w("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(o?"left":"top")).split(" ")),e.append(n)),r||(r=w("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(o?"right":"bottom")).split(" ")),e.append(r)),n&&(n.style.opacity=Math.max(-t,0)),r&&(r.style.opacity=Math.max(t,0))};ue({effect:"cube",swiper:t,on:n,setTranslate:()=>{const{el:e,wrapperEl:o,slides:n,width:i,height:a,rtlTranslate:s,size:l,browser:c}=t,p=k(t),u=t.params.cubeEffect,d=t.isHorizontal(),y=t.virtual&&t.params.virtual.enabled;let g,m=0;u.shadow&&(d?(g=t.wrapperEl.querySelector(".swiper-cube-shadow"),g||(g=w("div","swiper-cube-shadow"),t.wrapperEl.append(g)),g.style.height=`${i}px`):(g=e.querySelector(".swiper-cube-shadow"),g||(g=w("div","swiper-cube-shadow"),e.append(g))));for(let e=0;e<n.length;e+=1){const t=n[e];let o=e;y&&(o=parseInt(t.getAttribute("data-swiper-slide-index"),10));let i=90*o,a=Math.floor(i/360);s&&(i=-i,a=Math.floor(-i/360));const c=Math.max(Math.min(t.progress,1),-1);let g=0,v=0,h=0;o%4==0?(g=4*-a*l,h=0):(o-1)%4==0?(g=0,h=4*-a*l):(o-2)%4==0?(g=l+4*a*l,h=l):(o-3)%4==0&&(g=-l,h=3*l+4*l*a),s&&(g=-g),d||(v=g,g=0);const b=`rotateX(${p(d?0:-i)}deg) rotateY(${p(d?i:0)}deg) translate3d(${g}px, ${v}px, ${h}px)`;c<=1&&c>-1&&(m=90*o+90*c,s&&(m=90*-o-90*c)),t.style.transform=b,u.slideShadows&&r(t,c,d)}if(o.style.transformOrigin=`50% 50% -${l/2}px`,o.style["-webkit-transform-origin"]=`50% 50% -${l/2}px`,u.shadow)if(d)g.style.transform=`translate3d(0px, ${i/2+u.shadowOffset}px, ${-i/2}px) rotateX(89.99deg) rotateZ(0deg) scale(${u.shadowScale})`;else{const e=Math.abs(m)-90*Math.floor(Math.abs(m)/90),t=1.5-(Math.sin(2*e*Math.PI/360)/2+Math.cos(2*e*Math.PI/360)/2),o=u.shadowScale,n=u.shadowScale/t,r=u.shadowOffset;g.style.transform=`scale3d(${o}, 1, ${n}) translate3d(0px, ${a/2+r}px, ${-a/2/n}px) rotateX(-89.99deg)`}const v=(c.isSafari||c.isWebView)&&c.needPerspectiveFix?-l/2:0;o.style.transform=`translate3d(0px,0,${v}px) rotateX(${p(t.isHorizontal()?0:m)}deg) rotateY(${p(t.isHorizontal()?-m:0)}deg)`,o.style.setProperty("--swiper-cube-translate-z",`${v}px`)},setTransition:e=>{const{el:o,slides:n}=t;if(n.forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((t=>{t.style.transitionDuration=`${e}ms`}))})),t.params.cubeEffect.shadow&&!t.isHorizontal()){const t=o.querySelector(".swiper-cube-shadow");t&&(t.style.transitionDuration=`${e}ms`)}},recreateShadows:()=>{const e=t.isHorizontal();t.slides.forEach((t=>{const o=Math.max(Math.min(t.progress,1),-1);r(t,o,e)}))},getEffectParams:()=>t.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})},function(e){let{swiper:t,extendParams:o,on:n}=e;o({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),ue({effect:"coverflow",swiper:t,on:n,setTranslate:()=>{const{width:e,height:o,slides:n,slidesSizesGrid:r}=t,i=t.params.coverflowEffect,a=t.isHorizontal(),s=t.translate,l=a?e/2-s:o/2-s,c=a?i.rotate:-i.rotate,p=i.depth,u=k(t);for(let e=0,t=n.length;e<t;e+=1){const t=n[e],o=r[e],s=(l-t.swiperSlideOffset-o/2)/o,d="function"==typeof i.modifier?i.modifier(s):s*i.modifier;let y=a?c*d:0,g=a?0:c*d,m=-p*Math.abs(d),v=i.stretch;"string"==typeof v&&-1!==v.indexOf("%")&&(v=parseFloat(i.stretch)/100*o);let h=a?0:v*d,b=a?v*d:0,f=1-(1-i.scale)*Math.abs(d);Math.abs(b)<.001&&(b=0),Math.abs(h)<.001&&(h=0),Math.abs(m)<.001&&(m=0),Math.abs(y)<.001&&(y=0),Math.abs(g)<.001&&(g=0),Math.abs(f)<.001&&(f=0);const x=`translate3d(${b}px,${h}px,${m}px) rotateX(${u(g)}deg) rotateY(${u(y)}deg) scale(${f})`;if(ce(0,t).style.transform=x,t.style.zIndex=1-Math.abs(Math.round(d)),i.slideShadows){let e=a?t.querySelector(".swiper-slide-shadow-left"):t.querySelector(".swiper-slide-shadow-top"),o=a?t.querySelector(".swiper-slide-shadow-right"):t.querySelector(".swiper-slide-shadow-bottom");e||(e=de("coverflow",t,a?"left":"top")),o||(o=de("coverflow",t,a?"right":"bottom")),e&&(e.style.opacity=d>0?d:0),o&&(o.style.opacity=-d>0?-d:0)}}},setTransition:e=>{t.slides.map((e=>b(e))).forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((t=>{t.style.transitionDuration=`${e}ms`}))}))},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})},function(e){let{swiper:t,extendParams:o,on:n}=e;o({flipEffect:{slideShadows:!0,limitRotation:!0}});const r=(e,o)=>{let n=t.isHorizontal()?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),r=t.isHorizontal()?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");n||(n=de("flip",e,t.isHorizontal()?"left":"top")),r||(r=de("flip",e,t.isHorizontal()?"right":"bottom")),n&&(n.style.opacity=Math.max(-o,0)),r&&(r.style.opacity=Math.max(o,0))};ue({effect:"flip",swiper:t,on:n,setTranslate:()=>{const{slides:e,rtlTranslate:o}=t,n=t.params.flipEffect,i=k(t);for(let a=0;a<e.length;a+=1){const s=e[a];let l=s.progress;t.params.flipEffect.limitRotation&&(l=Math.max(Math.min(s.progress,1),-1));const c=s.swiperSlideOffset;let p=-180*l,u=0,d=t.params.cssMode?-c-t.translate:-c,y=0;t.isHorizontal()?o&&(p=-p):(y=d,d=0,u=-p,p=0),s.style.zIndex=-Math.abs(Math.round(l))+e.length,n.slideShadows&&r(s,l);const g=`translate3d(${d}px, ${y}px, 0px) rotateX(${i(u)}deg) rotateY(${i(p)}deg)`;ce(0,s).style.transform=g}},setTransition:e=>{const o=t.slides.map((e=>b(e)));o.forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((t=>{t.style.transitionDuration=`${e}ms`}))})),pe({swiper:t,duration:e,transformElements:o})},recreateShadows:()=>{t.params.flipEffect,t.slides.forEach((e=>{let o=e.progress;t.params.flipEffect.limitRotation&&(o=Math.max(Math.min(e.progress,1),-1)),r(e,o)}))},getEffectParams:()=>t.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})}]);var ve=(0,r.forwardRef)((function(e,t){var o=e.activeSlideKey,n=e.ContainerEl,i=void 0===n?"div":n,a=e.children,s=e.containerClass,l=void 0===s?"swiper-container":s,c=e.navigation,p=e.noSwiping,u=e.pagination,d=e.parallax,y=e.parallaxEl,g=e.WrapperEl,m=void 0===g?"div":g,v=e.wrapperClass,h=void 0===v?"swiper-wrapper":v,b=e.rebuildOnUpdate,f=e.renderScrollbar,x=void 0===f?function(e){var t=e.scrollbar;return t?(0,r.createElement)("div",{className:xe(t.el)}):null}:f,w=e.renderPagination,S=void 0===w?function(e){var t=e.pagination;return t?(0,r.createElement)("div",{className:xe(t.el)}):null}:w,_=e.renderPrevButton,j=void 0===_?function(e){var t=e.navigation;return t?(0,r.createElement)("div",{className:xe(t.prevEl)}):null}:_,T=e.renderNextButton,O=void 0===T?function(e){var t=e.navigation;return t?(0,r.createElement)("div",{className:xe(t.nextEl)}):null}:T,C=e.renderParallax,k=void 0===C?function(e){var t=e.parallaxEl;return t?(0,r.createElement)("div",{className:xe(t.el),"data-swiper-parallax":t.value}):null}:C,P=e.rtl,N=e.scrollbar,E=e.shouldSwiperUpdate,D=e.slideClass,B=void 0===D?"swiper-slide":D,A=e.loop,H=(0,r.useRef)(null),R=(0,r.useRef)(null),I=he(R,t),M=(0,r.useCallback)((function(){if(!o)return null;var e=0,t=A?1:0;return r.Children.forEach(a,(function(n){(0,r.isValidElement)(n)&&(n.key===o&&(e=t),t+=1)})),e}),[o,a,A]),L=function(){null!==H.current&&(H.current.destroy(!0,!0),be(H,null))},z=(0,r.useCallback)((function(){R.current&&null===H.current&&be(H,new ae(R.current,ge()({},e)))}),[e]);return(0,r.useEffect)((function(){z();var e=H.current.slides.length;if(e<=H.current.activeIndex){var t=Math.max(e-1,0);H.current.slideTo(t)}var o=M();return null!==o&&H.current.slideTo(o),function(){L()}}),[L,M,b,E,z]),a&&i&&m&&fe(a)?(0,me.jsxs)(i,{className:l,ref:I,dir:P&&"rtl",children:[d&&y&&k&&k(e),(0,me.jsx)(m,{className:h,children:r.Children.map(a,(function(e){if(!we(e))return null;var t=[B,e.props.className];return p&&t.push("swiper-no-swiping"),(0,r.cloneElement)(e,Object.assign(Object.assign({},e.props),{className:t.join(" ").trim()}))}))}),u&&(0,me.jsx)("div",{className:"swiper-pagination-wrapper",children:u.el&&S&&S(e)}),N&&(0,me.jsx)("div",{className:"swiper-scrollbar-wrapper",children:N.el&&x&&x(e)}),c&&(0,me.jsxs)("div",{className:"swiper-navigation-wrapper",children:[c.nextEl&&O&&O(e),c.prevEl&&j&&j(e)]})]}):null})),he=function(e,t){return(0,r.useMemo)((function(){return null==e&&null==t?null:function(o){be(e,o),be(t,o)}}),[e,t])},be=function(e,t){"function"==typeof e?e(t):e&&(e.current=t)},fe=function(e){var t=!0;return Array.isArray(e)?r.Children.forEach(e,(function(e){(0,r.isValidElement)(e)||(t=!1)})):t=(0,r.isValidElement)(e),t},xe=function(e){return"string"==typeof e?e.split(".").join(" ").trim():e instanceof HTMLElement?e.className:""},we=function(e){return(0,r.isValidElement)(e)&&("string"==typeof e.type||"function"==typeof e.type||"object"===(0,n.A)(e.type))};const Se=ve},234:(e,t,o)=>{"use strict";o.d(t,{A:()=>c});var n=o(1609),r=o.n(n),i=o(2736),a=o.n(i);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},s.apply(this,arguments)}var l=(0,n.forwardRef)((function(e,t){var o=e.color,n=void 0===o?"currentColor":o,i=e.size,a=void 0===i?24:i,l=function(e,t){if(null==e)return{};var o,n,r=function(e,t){if(null==e)return{};var o,n,r={},i=Object.keys(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||(r[o]=e[o]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}(e,["color","size"]);return r().createElement("svg",s({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},l),r().createElement("line",{x1:"18",y1:"10",x2:"6",y2:"10"}),r().createElement("line",{x1:"21",y1:"6",x2:"3",y2:"6"}),r().createElement("line",{x1:"21",y1:"14",x2:"3",y2:"14"}),r().createElement("line",{x1:"18",y1:"18",x2:"6",y2:"18"}))}));l.propTypes={color:a().string,size:a().oneOfType([a().string,a().number])},l.displayName="AlignCenter";const c=l},385:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>L,name:()=>F,settings:()=>V});var n=o(6065),r=o(8930),i=o(9491),a=o(6087),s=o(2188),l=o(3482),c=o(596),p=o(7723),u=function(){return[{id:"inheritLayout",label:(0,p.__)("Inherit Theme Layout","gutenverse"),description:(0,p.__)("The Post Content's width will inherit your theme layout content size.","gutenverse"),component:c.CheckboxControl}]},d=o(790);function y(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function g(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?y(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):y(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var m=function(e){var t=e.elementId,o=e.switcher,n=e.setSwitcher;return[{id:"alignment",label:(0,p.__)("Alignment","gutenverse"),component:c.IconRadioControl,allowDeviceControl:!0,options:[{label:(0,p.__)("Align Left","gutenverse"),value:"flex-start",icon:(0,d.jsx)(l.AlignLeft,{})},{label:(0,p.__)("Align Center","gutenverse"),value:"center",icon:(0,d.jsx)(l.AlignCenter,{})},{label:(0,p.__)("Align Right","gutenverse"),value:"flex-end",icon:(0,d.jsx)(l.AlignRight,{})},{label:(0,p.__)("Align Right","gutenverse"),value:"space-between",icon:(0,d.jsx)(l.AlignJustify,{})}]},{id:"typography",label:(0,p.__)("Typography","gutenverse"),component:c.TypographyControl},{id:"__styleHover",component:c.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__styleHover;return n(g(g({},o),{},{styleHover:t}))}},{id:"color",show:!o.styleHover||"normal"===o.styleHover,label:(0,p.__)("Text color","gutenverse"),component:c.ColorControl,liveStyle:[{type:"color",id:"color",selector:".".concat(t," > *"),properties:[{name:"color",valueType:"direct"}]}]},{id:"textShadow",show:!o.styleHover||"normal"===o.styleHover,label:(0,p.__)("Text Shadow","gutenverse"),component:c.TextShadowControl,liveStyle:[{type:"textShadow",id:"textShadow",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(t," > *")}]},{id:"colorHover",show:"hover"===o.styleHover,label:(0,p.__)("Hover Text color","gutenverse"),component:c.ColorControl,liveStyle:[{type:"color",id:"colorHover",selector:".".concat(t,":hover > *"),properties:[{name:"color",valueType:"direct"}]}]},{id:"textShadowHover",show:"hover"===o.styleHover,label:(0,p.__)("Hover Text Shadow","gutenverse"),component:c.TextShadowControl,liveStyle:[{type:"textShadow",id:"textShadowHover",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(t,":hover > *")}]}]};function v(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function h(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?v(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):v(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var b=function(){return[{title:(0,p.__)("Setting","gutenverse"),panelArray:u,tabRole:c.TabSetting},{title:(0,p.__)("Style","gutenverse"),initialOpen:!1,panelArray:m,tabRole:c.TabStyle},{title:(0,p.__)("Background","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,c.backgroundPanel)(h(h({},e),{},{styleId:"post-content-background",normalOptions:["default","gradient"],hoverOptions:["default","gradient"]}))},tabRole:c.TabStyle},{title:(0,p.__)("Border","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,c.borderPanel)(h(h({},e),{},{styleId:"post-content-border"}))},tabRole:c.TabStyle},{title:(0,p.__)("Masking","gutenverse"),initialOpen:!1,panelArray:c.maskPanel,tabRole:c.TabStyle},{title:(0,p.__)("Display","gutenverse"),initialOpen:!1,panelArray:c.responsivePanel,tabRole:c.TabSetting},{title:(0,p.__)("Positioning","gutenverse"),initialOpen:!1,panelArray:c.positioningPanel,tabRole:c.TabSetting},{title:(0,p.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,c.animationPanel)(h(h({},e),{},{styleId:"post-content-animation"}))},tabRole:c.TabSetting},{title:(0,p.__)("Transform","gutenverse"),initialOpen:!1,panelArray:c.transformPanel,pro:!0},{title:(0,p.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,c.advancePanel)(h(h({},e),{},{styleId:"post-content-advance"}))},tabRole:c.TabSetting},{title:(0,p.__)("Condition","gutenverse"),panelArray:c.conditionPanel,initialOpen:!1,pro:!0}]},f=o(6826),x=o(4715),w=o(7143),S=o(1222),_=o(3582),j=o(3656),T=o(4997),O=o(4320),C=o(4404),k=o(2619);const P=function(e,t){var o=[];return o=(0,c.backgroundStyle)({attributes:t,data:o,elementId:e}),(0,S.isNotEmpty)(t.alignment)&&o.push({type:"plain",id:"alignment",responsive:!0,selector:".".concat(e," > *"),properties:[{name:"justify-content",valueType:"direct"},{name:"text-align",valueType:"function",functionName:"handleAlign"}]}),(0,S.isNotEmpty)(t.typography)&&o.push({type:"typography",id:"typography",selector:".".concat(e," > *")}),(0,S.isNotEmpty)(t.color)&&o.push({type:"color",id:"color",selector:".".concat(e," > *"),properties:[{name:"color",valueType:"direct"}]}),(0,S.isNotEmpty)(t.textShadow)&&o.push({type:"textShadow",id:"textShadow",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(e," > *")}),(0,S.isNotEmpty)(t.colorHover)&&o.push({type:"color",id:"colorHover",selector:".".concat(e," > *"),properties:[{name:"color",valueType:"direct"}]}),(0,S.isNotEmpty)(t.textShadowHover)&&o.push({type:"textShadow",id:"textShadowHover",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(e," > *")}),(0,S.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,S.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,S.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,S.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,S.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,S.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,S.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,S.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,S.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,S.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,S.isNotEmpty)(t.animation)&&(0,S.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,S.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,S.isNotEmpty)(t.positioningType)&&(0,S.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,S.isNotEmpty)(t.positioningWidth)&&(0,S.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,S.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,S.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,S.isNotEmpty)(t.positioningLeft)&&(0,S.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,S.isNotEmpty)(t.positioningRight)&&(0,S.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,S.isNotEmpty)(t.positioningTop)&&(0,S.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,S.isNotEmpty)(t.positioningBottom)&&(0,S.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),[].concat((0,C.A)(o),(0,C.A)((0,k.applyFilters)("gutenverse.post-content.blockStyle",[],{elementId:e,attributes:t})))};function N(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function E(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?N(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):N(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var D=function(){return(0,d.jsxs)("div",{className:"post-content",children:[(0,d.jsx)("p",{children:(0,p.__)("This will be your post's content block, it will display all the blocks in any single post or page.","gutenverse")}),(0,d.jsx)("p",{children:(0,p.__)("That might be a simple arrangement like consecutive paragraphs in a blog post, or a more elaborate composition that includes image galleries, videos, tables, columns, and any other block types.","gutenverse")})]})},B=function(e){var t=e.setEditorWarn,o=(0,w.useDispatch)(j.store).setRenderingMode;return(0,d.jsx)(l.Notice,{icon:(0,d.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,d.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.83268 5.83464C5.83268 3.53297 7.69768 1.66797 9.99935 1.66797C12.301 1.66797 14.166 3.53297 14.166 5.83464V8.33464H14.4993C15.2327 8.33464 15.8327 8.93464 15.8327 9.66797V15.5013C15.8327 16.6013 14.9327 17.5013 13.8327 17.5013H6.16602C5.06602 17.5013 4.16602 16.6013 4.16602 15.5013V9.66797C4.16602 8.93464 4.76602 8.33464 5.49935 8.33464H5.83268V5.83464ZM12.4993 5.83464V8.33464H7.49935V5.83464C7.49935 4.45297 8.61768 3.33464 9.99935 3.33464C11.381 3.33464 12.4993 4.45297 12.4993 5.83464ZM9.99935 10.2096C9.66796 10.2093 9.34634 10.3218 9.08746 10.5287C8.82858 10.7356 8.64787 11.0244 8.5751 11.3477C8.50232 11.671 8.54183 12.0095 8.68711 12.3073C8.83239 12.6051 9.07478 12.8446 9.37435 12.9863V15.0013C9.37435 15.1671 9.4402 15.326 9.55741 15.4432C9.67462 15.5605 9.83359 15.6263 9.99935 15.6263C10.1651 15.6263 10.3241 15.5605 10.4413 15.4432C10.5585 15.326 10.6243 15.1671 10.6243 15.0013V12.9863C10.9239 12.8446 11.1663 12.6051 11.3116 12.3073C11.4569 12.0095 11.4964 11.671 11.4236 11.3477C11.3508 11.0244 11.1701 10.7356 10.9112 10.5287C10.6524 10.3218 10.3307 10.2093 9.99935 10.2096Z",fill:"#FFB200"})}),title:(0,p.__)("Gutenverse Post Content is Locked","--gctd--"),description:(0,p.__)('On "Show Template" mode, the post content cannot be edited. Please switch to Content Editing mode to edit the content.',"--gctd--"),buttonText:(0,p.__)("Switch Mode","--gctd--"),onClick:function(){t(!1),o("post-only")},onClose:function(){t(!1)}})},A=function(e){var t=e.userCanEdit,o=e.layoutClassNames,n=e.parentLayout,i=e.postType,s=e.postId,l=(0,_.useEntityProp)("postType",i,"content",s),c=(0,r.A)(l,3)[2],u=(0,x.useBlockProps)({className:o}),y=(0,a.useMemo)((function(){return null!=c&&c.raw?(0,T.parse)(c.raw):[]}),[null==c?void 0:c.raw]),g=(0,x.__experimentalUseBlockPreview)({blocks:y,props:u,layout:n});return t?(0,d.jsx)("div",E({},g)):null!=c&&c.protected?(0,d.jsx)("div",E(E({},u),{},{children:(0,d.jsx)(x.Warning,{children:(0,p.__)("This content is password protected.")})})):(0,d.jsx)("div",E(E({},u),{},{dangerouslySetInnerHTML:{__html:null==c?void 0:c.rendered}}))},H=function(e){var t=e.context,o=void 0===t?{}:t,n=o.postType,r=o.postId,i=e.layoutClassNames,a=(0,w.useSelect)((function(e){return e(_.store).canUser("update",{kind:"postType",name:n,id:r})}),[n,r]);return void 0===a?null:(0,d.jsx)(A,{parentLayout:e.parentLayout,layoutClassNames:i,userCanEdit:a,postType:n,postId:r})},R=function(){var e=(0,x.useBlockProps)();return(0,d.jsx)("div",E(E({},e),{},{children:(0,d.jsx)(x.Warning,{children:(0,p.__)("Block cannot be rendered inside itself.")})}))};const I=(0,i.compose)(s.withPartialRender)((function(e){var t=e.clientId,o=e.attributes,n=e.context,i=e.__unstableLayoutClassNames,s=e.__unstableParentLayout,u=(0,a.useState)(!1),y=(0,r.A)(u,2),g=y[0],m=y[1],v=window.GutenverseConfig.wordpressVersion,h=(0,w.useDispatch)(x.store),_=h.setBlockEditingMode,T=h.unsetBlockEditingMode;(0,a.useEffect)((function(){return(0,S.versionCompare)(v,"6.7.0",">")&&"template-locked"===(0,w.select)(j.store).getRenderingMode()&&_(t,"contentOnly"),function(){T(t)}}),[t,_,T]);var C=o.elementId,k=o.inheritLayout,N=n.postId,A=n.postType,I=(0,x.useHasRecursion)(N);if(N&&A&&I)return(0,d.jsx)(R,{});var M=(0,f.useAnimationEditor)(o),L=(0,f.useDisplayEditor)(o),z=(0,a.useRef)(),F=(0,S.useSettingFallback)("layout"),V=(0,x.useBlockProps)({className:(0,l.classnames)("guten-element","guten-post-content",C,M,L),ref:z,onClick:function(){"template-locked"===(0,w.select)(j.store).getRenderingMode()&&m(!0)}});return(0,O.useGenerateElementId)(t,C,z),(0,O.useDynamicStyle)(C,o,P,z),(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(l.CopyElementToolbar,E({},e)),(0,d.jsx)(x.InspectorControls,{children:(0,d.jsx)(c.PanelTutorial,{title:(0,p.__)("How Post Content works?","gutenverse"),list:[{title:(0,p.__)("On Frontend","gutenverse"),description:(0,p.__)("Post content data will be fetched automatically based on the current post/loop.","gutenverse")},{title:(0,p.__)("Inside Page/Post Editor and Inside Site Editor","gutenverse"),description:(0,p.__)("It will load placeholder data.","gutenverse")}]})}),(0,d.jsx)(c.BlockPanelController,{panelList:b,props:e,elementRef:z}),k&&F&&F.contentSize&&(0,d.jsx)("style",{children:".".concat(C," > .post-content > * { max-width: ").concat(F.contentSize,"; margin-left:auto; margin-right: auto; }")}),(0,d.jsx)("div",E(E({},V),{},{children:(0,d.jsx)(x.RecursionProvider,{uniqueId:N,children:N&&A?(0,d.jsx)(H,{context:n,parentLayout:s,layoutClassNames:i}):(0,d.jsx)(D,{layoutClassNames:i})})})),g&&(0,a.createPortal)((0,d.jsx)(B,{setEditorWarn:m}),document.getElementById("gutenverse-root"))]})}));function M(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}const L=JSON.parse('{"apiVersion":2,"name":"gutenverse/post-content","class_callback":"\\\\Gutenverse\\\\Block\\\\Post_Content","title":"Post Content","description":"Show the content of a single post.","category":"gutenverse-post","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"inheritLayout":{"type":"boolean","default":false},"postId":{"type":"string","default":0},"backendPostId":{"type":"string"},"noContentText":{"type":"string","default":"No Content"},"alignment":{"type":"object","copyStyle":true},"typography":{"type":"object","copyStyle":true},"color":{"type":"object","copyStyle":true},"textShadow":{"type":"object","default":{},"copyStyle":true},"colorHover":{"type":"object","copyStyle":true},"textShadowHover":{"type":"object","default":{},"copyStyle":true},"background":{"type":"object","default":{},"copyStyle":true},"backgroundHover":{"type":"object","default":{},"copyStyle":true},"backgroundTransition":{"type":"object","copyStyle":true,"default":{}},"border":{"type":"object","copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"borderHover":{"type":"object","copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadowHover":{"type":"object","copyStyle":true},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"animation":{"type":"object","default":{},"copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"positioningType":{"type":"object","copyStyle":true},"positioningWidth":{"type":"object","copyStyle":true},"positioningAlign":{"type":"object","copyStyle":true},"positioningLocation":{"type":"string","copyStyle":true},"positioningLeft":{"type":"object","copyStyle":true},"positioningRight":{"type":"object","copyStyle":true},"positioningTop":{"type":"object","copyStyle":true},"positioningBottom":{"type":"object","copyStyle":true},"transform":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"condition":{"type":"object","default":{}}},"usesContext":["postId","postType","queryId"],"supports":{"className":false},"keywords":["post","title"]}');var z=o(4889),F=L.name,V={icon:(0,d.jsx)(z.kP,{}),edit:I,save:function(e){var t=e.attributes,o=t.elementId,r=(0,f.useAnimationFrontend)(t),i=(0,f.useDisplayFrontend)(t),a=(0,l.classnames)("guten-element","guten-post-content",o,r,i);return(0,d.jsx)("div",function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?M(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):M(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},x.useBlockProps.save({className:a})))}}},552:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>ie,name:()=>se,settings:()=>le});var n=o(6065),r=o(8930),i=o(9491),a=o(6087),s=o(2188),l=o(4715),c=o(596),p=o(7723),u=o(3482),d=o(790),y=function(){return[{id:"alignment",label:(0,p.__)("Alignment","gutenverse"),component:c.IconRadioControl,allowDeviceControl:!0,options:[{label:(0,p.__)("Align Left","gutenverse"),value:"flex-start",icon:(0,d.jsx)(u.AlignLeft,{})},{label:(0,p.__)("Align Center","gutenverse"),value:"center",icon:(0,d.jsx)(u.AlignCenter,{})},{label:(0,p.__)("Align Right","gutenverse"),value:"flex-end",icon:(0,d.jsx)(u.AlignRight,{})},{label:(0,p.__)("Align Right","gutenverse"),value:"space-between",icon:(0,d.jsx)(u.AlignJustify,{})}]},{id:"breakpoint",label:(0,p.__)("Responsive Breakpoint","gutenverse"),component:c.SelectControl,options:[{label:(0,p.__)("Tablet","gutenverse"),value:"tablet"},{label:(0,p.__)("Mobile","gutenverse"),value:"mobile"}]}]},g=function(e){var t=e.mobileMenuLink;return[{id:"mobileMenuLogo",label:(0,p.__)("Menu Logo","gutenverse"),component:c.ImageSizeControl},{id:"mobileMenuLink",label:(0,p.__)("Menu Link","gutenverse"),component:c.SelectControl,options:[{label:(0,p.__)("Custom URL"),value:"custom"},{label:(0,p.__)("Default (Home)"),value:"home"}]},{id:"mobileMenuURL",show:"custom"===t,label:(0,p.__)("Mobile Menu URL","gutenverse"),component:c.TextControl},{id:"mobileIcon",label:(0,p.__)("Mobile Icon","gutenverse"),component:c.IconControl},{id:"mobileCloseIcon",label:(0,p.__)("Close Icon","gutenverse"),component:c.IconControl},{id:"mobileSubmenuClick",label:(0,p.__)("Sub Menu on Text Click","gutenverse"),component:c.CheckboxControl},{id:"mobileCloseOnClick",label:(0,p.__)("Close Drawer on Click","gutenverse"),component:c.CheckboxControl},{id:"mobileEnableOverlay",label:(0,p.__)("Enable Overlay","gutenverse"),component:c.CheckboxControl}]},m=o(5255),v=function(e){var t=e.elementId,o=(0,m.getDeviceType)();return[{id:"menuHeight",label:(0,p.__)("Menu Height","gutenverse"),component:c.RangeControl,allowDeviceControl:!0,unit:"px",min:30,max:300,step:1,liveStyle:[{type:"plain",id:"menuHeight",selector:".".concat(t,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > li > a,\n .").concat(t,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > ul > li > a"),responsive:!0,properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"menuBackground",component:c.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{id:"menuBackground",type:"background",selector:".".concat(t,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-menu-wrapper, .").concat(t,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu.break-point-tablet .gutenverse-menu-wrapper, .").concat(t,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu.break-point-mobile .gutenverse-menu-wrapper")}]},{id:"mobileWrapperBackground",show:"Tablet"===o||"Mobile"===o,label:(0,p.__)("Mobile Wrapper Color","gutenverse"),allowDeviceControl:!0,component:c.ColorControl,liveStyle:[{type:"color",id:"mobileWrapperBackground",responsive:!0,selector:".".concat(t,".guten-element.wp-block-gutenverse-nav-menu .break-point-mobile.guten-nav-menu .gutenverse-menu-wrapper, .").concat(t,".guten-element.wp-block-gutenverse-nav-menu .break-point-tablet.guten-nav-menu .gutenverse-menu-wrapper"),properties:[{name:"color",valueType:"direct"}]}]},{id:"menuPadding",label:(0,p.__)("Padding","gutenverse"),component:c.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"menuMargin",label:(0,p.__)("Margin","gutenverse"),component:c.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"menuRadius",label:(0,p.__)("Border Radius","gutenverse"),component:c.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:{px:{text:"px",unit:"px"},"%":{text:"%",unit:"%"}}},{id:"menuBoxShadow",label:(0,p.__)("Box Shadow","gutenverse"),allowDeviceControl:!0,component:c.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"menuBoxShadow",responsive:!0,properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper")}]}]};function h(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function b(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?h(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):h(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var f=function(e){var t=e.elementId,o=e.switcher,n=e.setSwitcher;return[{id:"itemTypography",label:(0,p.__)("Typography","gutenverse"),component:c.TypographyControl},{id:"itemSpacing",label:(0,p.__)("Item Padding","gutenverse"),allowDeviceControl:!0,component:c.DimensionControl,position:["top","right","bottom","left"],units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}}},{id:"itemMargin",label:(0,p.__)("Item Margin","gutenverse"),allowDeviceControl:!0,component:c.DimensionControl,position:["top","right","bottom","left"],units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}}},{id:"__itemState",component:c.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"},{value:"active",label:"Active"}],onChange:function(e){var t=e.__itemState;return n(b(b({},o),{},{itemState:t}))}},{id:"itemTextNormalColor",show:void 0===o.itemState||"normal"===o.itemState,label:(0,p.__)("Item Text Normal Color","gutenverse"),allowDeviceControl:!0,component:c.ColorControl,liveStyle:[{type:"color",id:"itemTextNormalColor",responsive:!0,selector:".".concat(t,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > li > a, .").concat(t,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > ul > li > a"),properties:[{name:"color",valueType:"direct"}]}]},{id:"itemTextNormalBg",show:void 0===o.itemState||"normal"===o.itemState,component:c.BackgroundControl,label:(0,p.__)("Item Text Normal Background","gutenverse"),options:["default","gradient"],liveStyle:[{id:"itemTextNormalBg",type:"background",selector:".".concat(t,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > li > a, .").concat(t,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > ul > li > a")}]},{id:"itemTextHoverColor",show:"hover"===o.itemState,label:(0,p.__)("Item Text Hover Color","gutenverse"),allowDeviceControl:!0,component:c.ColorControl,liveStyle:[{type:"color",id:"itemTextHoverColor",responsive:!0,selector:".".concat(t,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > li:hover > a, .").concat(t,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > ul > li:hover > a"),properties:[{name:"color",valueType:"direct"}]}]},{id:"itemTextHoverBg",show:"hover"===o.itemState,component:c.BackgroundControl,options:["default","gradient"],liveStyle:[{id:"itemTextHoverBg",type:"background",responsive:!0,selector:".".concat(t,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > li:hover > a, .").concat(t,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > ul > li:hover > a")}]},{id:"itemTextActiveColor",show:"active"===o.itemState,label:(0,p.__)("Item Text Active Color","gutenverse"),allowDeviceControl:!0,component:c.ColorControl,liveStyle:[{type:"color",id:"itemTextActiveColor",responsive:!0,selector:".".concat(t,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > li.current-menu-item > a,\n .").concat(t,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > ul > li.current-menu-item > a, \n .").concat(t,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > li.current-menu-ancestor > a,\n .").concat(t,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > ul > li.current-menu-ancestor > a"),properties:[{name:"color",valueType:"direct"}]}]},{id:"itemTextActiveBg",show:"active"===o.itemState,component:c.BackgroundControl,options:["default","gradient"],liveStyle:[{id:"itemTextActiveBg",type:"background",selector:".".concat(t,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > li.current-menu-item > a,\n .").concat(t,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > ul > li.current-menu-item > a,\n .").concat(t,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > li.current-menu-ancestor > a,\n .").concat(t,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > ul > li.current-menu-ancestor > a")}]},{id:"itemMenuBorderNormal",show:void 0===o.itemState||"normal"===o.itemState,label:(0,p.__)("Border","gutenverse"),component:c.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{id:"itemMenuBorderNormal",type:"borderResponsive",responsive:!0,selector:".".concat(t,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > li > a, .").concat(t,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > ul > li > a")}]},{id:"itemMenuBorderHover",show:"hover"===o.itemState,label:(0,p.__)("Border","gutenverse"),component:c.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{id:"itemMenuBorderHover",type:"borderResponsive",responsive:!0,selector:".".concat(t,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > li:hover > a,\n .").concat(t,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > ul > li:hover > a")}]},{id:"itemMenuBorderActive",show:"active"===o.itemState,label:(0,p.__)("Border","gutenverse"),component:c.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{id:"itemMenuBorderActive",type:"borderResponsive",responsive:!0,selector:".".concat(t,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > li.current-menu-ancestor > a,\n .").concat(t,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > ul > li.current-menu-ancestor > a")}]}]};function x(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function w(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?x(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):x(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var S=function(e){var t=e.elementId,o=e.switcher,r=e.setSwitcher,i=(0,m.getDeviceType)();return[{id:"submenuItemIndicator",label:(0,p.__)("Indicator Item","gutenverse"),component:c.IconControl},{id:"SubmenuIndicatorSize",label:(0,p.__)("Icon Indicator Size","gutenverse"),component:c.RangeControl,min:5,max:300,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"SubmenuIndicatorSize",responsive:!0,selector:".".concat(t,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > li > a > i, .").concat(t,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > ul > li > a > i"),properties:[{name:"font-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"submenuIndicatorMargin",label:(0,p.__)("Indicator Margin","gutenverse"),component:c.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"submenuIndicatorPadding",label:(0,p.__)("Indicator Padding","gutenverse"),component:c.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"submenuIndicatorBorder",show:"Desktop"===i,label:(0,p.__)("Border","gutenverse"),component:c.BorderControl,liveStyle:[{type:"border",id:"submenuIndicatorBorder",selector:".".concat(t,".guten-element .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-menu li.menu-item-has-children > a i")}]},{id:"submenuIndicatorBorderResponsive",show:"Desktop"!==i,label:(0,p.__)("Border","gutenverse"),component:c.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"submenuIndicatorBorderResponsive",responsive:!0,selector:".".concat(t,".guten-element .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-menu li.menu-item-has-children > a i")}]},{id:"submenuTypography",label:(0,p.__)("Submenu Typography","gutenverse"),component:c.TypographyControl},{id:"submenuSpacing",label:(0,p.__)("Submenu Padding","gutenverse"),component:c.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}}},{id:"submenuMargin",label:(0,p.__)("Submenu Margin","gutenverse"),component:c.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}}},{id:"__submenuState",component:c.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"},{value:"active",label:"Active"}],onChange:function(e){var t=e.__submenuState;return r(w(w({},o),{},{itemState:t}))}},{id:"submenuTextNormalColor",show:void 0===o.itemState||"normal"===o.itemState,label:(0,p.__)("Submenu Text Normal Color","gutenverse"),allowDeviceControl:!0,component:c.ColorControl,liveStyle:[{type:"color",id:"submenuTextNormalColor",responsive:!0,selector:".".concat(t,".guten-element .gutenverse-menu-wrapper .gutenverse-menu .sub-menu li > a"),properties:[{name:"color",valueType:"direct"}]}]},{id:"submenuIndicatorColor",show:void 0===o.itemState||"normal"===o.itemState,label:(0,p.__)("Indicator Color","gutenverse"),allowDeviceControl:!0,component:c.ColorControl,liveStyle:[{type:"color",id:"submenuIndicatorColor",responsive:!0,selector:".".concat(t,".guten-element .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-menu li.menu-item-has-children > a > i"),properties:[{name:"color",valueType:"direct"}]}]},{id:"submenuTextNormalBg",show:void 0===o.itemState||"normal"===o.itemState,component:c.BackgroundControl,label:(0,p.__)("Submenu Text Normal Background","gutenverse"),options:["default","gradient"],liveStyle:[{id:"submenuTextNormalBg",type:"background",selector:".".concat(t,".guten-element .gutenverse-menu-wrapper .gutenverse-menu .sub-menu li > a")}]},{id:"submenuTextHoverColor",show:"hover"===o.itemState,label:(0,p.__)("Submenu Text Hover Color","gutenverse"),allowDeviceControl:!0,component:c.ColorControl,liveStyle:[{type:"color",id:"submenuTextHoverColor",responsive:!0,selector:".".concat(t,".guten-element .gutenverse-menu-wrapper .gutenverse-menu .sub-menu li:hover > a"),properties:[{name:"color",valueType:"direct"}]}]},{id:"submenuIndicatorHoverColor",show:"hover"===o.itemState,label:(0,p.__)("Indicator Color","gutenverse"),allowDeviceControl:!0,component:c.ColorControl,liveStyle:[{type:"color",id:"submenuIndicatorHoverColor",responsive:!0,selector:".".concat(t,".guten-element .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-menu li.menu-item-has-children:hover > a > i"),properties:[{name:"color",valueType:"direct"}]}]},{id:"submenuTextHoverBg",show:"hover"===o.itemState,component:c.BackgroundControl,options:["default","gradient"],liveStyle:[{id:"submenuTextHoverBg",type:"background",selector:".".concat(t,".guten-element .gutenverse-menu-wrapper .gutenverse-menu .sub-menu li:hover > a")}]},{id:"submenuTextActiveColor",show:"active"===o.itemState,label:(0,p.__)("Submenu Text Active Color","gutenverse"),allowDeviceControl:!0,component:c.ColorControl,liveStyle:[{type:"color",id:"submenuTextActiveColor",responsive:!0,selector:".".concat(t,".guten-element .gutenverse-menu-wrapper .gutenverse-menu .sub-menu > li.current-menu-item > a"),properties:[{name:"color",valueType:"direct"}]}]},{id:"submenuIndicatorActiveColor",show:"active"===o.itemState,label:(0,p.__)("Indicator Color","gutenverse"),allowDeviceControl:!0,component:c.ColorControl,liveStyle:[{type:"color",id:"submenuIndicatorActiveColor",responsive:!0,selector:".".concat(t,".guten-element .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-menu li.menu-item-has-children.current-menu-parent > a > i"),properties:[{name:"color",valueType:"direct"}]}]},{id:"submenuTextActiveBg",show:"active"===o.itemState,component:c.BackgroundControl,options:["default","gradient"],liveStyle:[{id:"submenuTextActiveBg",type:"background",selector:".".concat(t,".guten-element .gutenverse-menu-wrapper .gutenverse-menu .sub-menu > li.current-menu-item > a")}]},{id:"submenuItemBorderHeadingResponsive",component:c.HeadingControl,label:(0,p.__)("Submenu Border")},{id:"submenuItemBorder",show:"Desktop"===i,label:(0,p.__)("Border","gutenverse"),component:c.BorderControl,liveStyle:[{type:"border",id:"submenuItemBorder",selector:".".concat(t,".guten-element .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-menu .sub-menu li > a")}]},{id:"submenuItemBorderResponsive",show:"Desktop"!==i,label:(0,p.__)("Border","gutenverse"),component:c.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"submenuItemBorderResponsive",responsive:!0,selector:".".concat(t,".guten-element .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-menu .sub-menu li > a")}]},{id:"submenuFirstItemBorderHeading",component:c.HeadingControl,label:(0,p.__)("Submenu First Child Border")},{id:"submenuFirstItemBorder",show:"Desktop"===i,label:(0,p.__)("Border","gutenverse"),component:c.BorderControl,liveStyle:[{type:"border",id:"submenuFirstItemBorder",selector:".".concat(t,".guten-element .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-menu .sub-menu li:first-child > a")}]},{id:"submenuFirstItemBorderResponsive",show:"Desktop"!==i,label:(0,p.__)("Border","gutenverse"),component:c.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"submenuFirstItemBorderResponsive",responsive:!0,selector:".".concat(t,".guten-element .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-menu .sub-menu li:first-child > a")}]},{id:"submenuLastItemBorderHeading",component:c.HeadingControl,label:(0,p.__)("Submenu Last Child Border")},{id:"submenuLastItemBorder",show:"Desktop"===i,label:(0,p.__)("Border","gutenverse"),component:c.BorderControl,liveStyle:[{type:"border",id:"submenuLastItemBorder",selector:".".concat(t,".guten-element .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-menu .sub-menu li:last-child > a")}]},{id:"submenuLastItemBorderResponsive",show:"Desktop"!==i,label:(0,p.__)("Border","gutenverse"),component:c.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"submenuLastItemBorderResponsive",responsive:!0,selector:".".concat(t,".guten-element .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-menu .sub-menu li:last-child > a")}]}]},_=function(e){var t=e.elementId,o=(0,m.getDeviceType)();return[{id:"submenuPanelPadding",label:(0,p.__)("Padding","gutenverse"),component:c.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}}},{id:"submenuPanelMargin",label:(0,p.__)("Margin","gutenverse"),component:c.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}}},{id:"submenuPanelBorder",show:"Desktop"===o,label:(0,p.__)("Border","gutenverse"),component:c.BorderControl,liveStyle:[{type:"border",id:"submenuPanelBorder",selector:".".concat(t,".guten-element.wp-block-gutenverse-nav-menu.guten-element .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-menu li.menu-item-has-children .sub-menu")}]},{id:"submenuPanelBorderResponsive",show:"Desktop"!==o,label:(0,p.__)("Border","gutenverse"),component:c.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"submenuPanelBorderResponsive",responsive:!0,selector:".".concat(t,".guten-element.wp-block-gutenverse-nav-menu.guten-element .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-menu li.menu-item-has-children .sub-menu")}]},{id:"submenuPanelBackground",component:c.BackgroundControl,label:(0,p.__)("Submenu Panel Background","gutenverse"),options:["default","gradient"],liveStyle:[{id:"submenuPanelBackground",type:"background",selector:".".concat(t,".guten-element.wp-block-gutenverse-nav-menu.guten-element .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-menu li.menu-item-has-children .sub-menu")}]},{id:"submenuPanelWidth",label:(0,p.__)("Submenu Panel Width","gutenverse"),component:c.RangeControl,allowDeviceControl:!0,unit:"px",min:1,max:1e3,step:1,liveStyle:[{type:"plain",id:"submenuPanelWidth",selector:".".concat(t,".guten-element.wp-block-gutenverse-nav-menu.guten-element .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-menu li.menu-item-has-children .sub-menu"),responsive:!0,properties:[{name:"width",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"submenuPanelShadow",label:(0,p.__)("Box Shadow","gutenverse"),component:c.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"submenuPanelShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t,".guten-element.wp-block-gutenverse-nav-menu.guten-element .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-menu li.menu-item-has-children .sub-menu")}]}]};function j(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function T(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?j(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):j(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var O=function(e){var t=e.elementId,o=e.setSwitcher,r=e.switcher,i=(0,m.getDeviceType)();return[{id:"hamburgerAlignment",label:(0,p.__)("Hamburger Alignment","gutenverse"),component:c.IconRadioControl,allowDeviceControl:!0,options:[{label:(0,p.__)("Align Left","gutenverse"),value:"flex-start",icon:(0,d.jsx)(u.AlignLeft,{})},{label:(0,p.__)("Align Right","gutenverse"),value:"flex-end",icon:(0,d.jsx)(u.AlignRight,{})}]},{id:"hamburgerWidth",label:(0,p.__)("Width","gutenverse"),component:c.SizeControl,allowDeviceControl:!0,units:{px:{text:"px",min:1,max:1e3,step:1},"%":{text:"%",min:1,max:100,step:.1}},liveStyle:[{type:"unitPoint",id:"minutesWidth",responsive:!0,properties:[{name:"width",valueType:"direct"}],selector:".".concat(t,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-hamburger-menu")}]},{id:"hamburgerSize",label:(0,p.__)("Icon Size","gutenverse"),component:c.RangeControl,min:5,max:300,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"hamburgerSize",responsive:!0,selector:".".concat(t,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-hamburger-menu i"),properties:[{name:"font-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"hamburgerPadding",label:(0,p.__)("Padding","gutenverse"),component:c.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"hamburgerMargin",label:(0,p.__)("Margin","gutenverse"),component:c.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"__hamburgerState",component:c.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__hamburgerState;return o(T(T({},r),{},{hamburgerState:t}))}},{id:"hamburgerColorNormal",show:void 0===r.hamburgerState||"normal"===r.hamburgerState,label:(0,p.__)("Icon Color","gutenverse"),allowDeviceControl:!0,component:c.ColorControl,liveStyle:[{type:"color",id:"hamburgerColorNormal",responsive:!0,selector:".".concat(t,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-hamburger-menu"),properties:[{name:"color",valueType:"direct"}]}]},{id:"hamburgerBgNormal",show:void 0===r.hamburgerState||"normal"===r.hamburgerState,component:c.BackgroundControl,label:(0,p.__)("Normal Background","gutenverse"),options:["default","gradient"],liveStyle:[{id:"hamburgerBgNormal",type:"background",selector:".".concat(t,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-hamburger-menu")}]},{id:"hamburgerBorderNormal",show:(void 0===r.hamburgerState||"normal"===r.hamburgerState)&&"Desktop"===i,label:(0,p.__)("Border","gutenverse"),component:c.BorderControl,liveStyle:[{type:"border",id:"hamburgerBorderNormal",selector:".".concat(t,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-hamburger-menu")}]},{id:"hamburgerBorderNormalResponsive",show:(void 0===r.hamburgerState||"normal"===r.hamburgerState)&&"Desktop"!==i,label:(0,p.__)("Border","gutenverse"),component:c.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"hamburgerBorderNormalResponsive",responsive:!0,selector:".".concat(t,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-hamburger-menu")}]},{id:"hamburgerColorHover",show:"hover"===r.hamburgerState,label:(0,p.__)("Hover Icon Color","gutenverse"),allowDeviceControl:!0,component:c.ColorControl,liveStyle:[{type:"color",id:"hamburgerColorHover",responsive:!0,selector:".".concat(t,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-hamburger-menu:hover"),properties:[{name:"color",valueType:"direct"}]}]},{id:"hamburgerBgHover",show:"hover"===r.hamburgerState,component:c.BackgroundControl,label:(0,p.__)("Hover Background","gutenverse"),options:["default","gradient"],liveStyle:[{id:"hamburgerBgHover",type:"background",selector:".".concat(t,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-hamburger-menu:hover")}]},{id:"hamburgerBorderHover",show:"hover"===r.hamburgerState&&"Desktop"===i,label:(0,p.__)("Border","gutenverse"),component:c.BorderControl,liveStyle:[{type:"border",id:"hamburgerBorderHover",selector:".".concat(t,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-hamburger-menu:hover")}]},{id:"hamburgerBorderHoverResponsive",show:"hover"===r.hamburgerState&&"Desktop"!==i,label:(0,p.__)("Border","gutenverse"),component:c.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"hamburgerBorderHoverResponsive",responsive:!0,selector:".".concat(t,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-hamburger-menu:hover")}]},{id:"closeIconHeading",component:c.HeadingControl,label:(0,p.__)("Close Icon")},{id:"closeWidth",label:(0,p.__)("Width","gutenverse"),component:c.SizeControl,allowDeviceControl:!0,units:{px:{text:"px",min:1,max:1e3,step:1},"%":{text:"%",min:1,max:100,step:.1}},liveStyle:[{type:"unitPoint",id:"closeWidth",responsive:!0,properties:[{name:"width",valueType:"direct"}],selector:".".concat(t,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-nav-identity-panel .gutenverse-close-menu")}]},{id:"closeSize",label:(0,p.__)("Icon Size","gutenverse"),component:c.RangeControl,min:5,max:300,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"closeSize",selector:".".concat(t,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-nav-identity-panel .gutenverse-close-menu i"),responsive:!0,properties:[{name:"font-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"closePadding",label:(0,p.__)("Padding","gutenverse"),component:c.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"closeMargin",label:(0,p.__)("Margin","gutenverse"),component:c.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"__closeState",component:c.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__closeState;return o(T(T({},r),{},{closeState:t}))}},{id:"closeColorNormal",show:void 0===r.closeState||"normal"===r.closeState,label:(0,p.__)("Icon Color","gutenverse"),allowDeviceControl:!0,component:c.ColorControl,liveStyle:[{type:"color",id:"closeColorNormal",responsive:!0,selector:".".concat(t,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-nav-identity-panel .gutenverse-close-menu"),properties:[{name:"color",valueType:"direct"}]}]},{id:"closeBgNormal",show:void 0===r.closeState||"normal"===r.closeState,component:c.BackgroundControl,label:(0,p.__)("Normal Background","gutenverse"),options:["default","gradient"],liveStyle:[{id:"closeBgNormal",type:"background",selector:".".concat(t,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-nav-identity-panel .gutenverse-close-menu")}]},{id:"closeBorderNormal",show:(void 0===r.closeState||"normal"===r.closeState)&&"Desktop"===i,label:(0,p.__)("Border","gutenverse"),component:c.BorderControl,liveStyle:[{type:"border",id:"closeBorderNormal",selector:".".concat(t,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-nav-identity-panel .gutenverse-close-menu")}]},{id:"closeBorderNormalResponsive",show:(void 0===r.closeState||"normal"===r.closeState)&&"Desktop"!==i,label:(0,p.__)("Border","gutenverse"),component:c.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"closeBorderNormalResponsive",responsive:!0,selector:".".concat(t,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-nav-identity-panel .gutenverse-close-menu")}]},{id:"closeColorHover",show:"hover"===r.closeState,label:(0,p.__)("Hover Icon Color","gutenverse"),allowDeviceControl:!0,component:c.ColorControl,liveStyle:[{type:"color",id:"closeColorHover",responsive:!0,selector:".".concat(t,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-nav-identity-panel .gutenverse-close-menu:hover"),properties:[{name:"color",valueType:"direct"}]}]},{id:"closeBgHover",show:"hover"===r.closeState,component:c.BackgroundControl,label:(0,p.__)("Hover Background","gutenverse"),options:["default","gradient"],liveStyle:[{id:"closeBgHover",type:"background",selector:".".concat(t,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-nav-identity-panel .gutenverse-close-menu:hover")}]},{id:"closeBorderHover",show:"hover"===r.closeState&&"Desktop"===i,label:(0,p.__)("Border","gutenverse"),component:c.BorderControl,liveStyle:[{type:"border",id:"closeBorderHover",selector:".".concat(t,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-nav-identity-panel .gutenverse-close-menu:hover")}]},{id:"closeBorderHoverResponsive",show:"hover"===r.closeState&&"Desktop"!==i,label:(0,p.__)("Border","gutenverse"),component:c.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"closeBorderHoverResponsive",responsive:!0,selector:".".concat(t,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-nav-identity-panel .gutenverse-close-menu:hover")}]}]},C=function(e){var t=e.elementId;return[{id:"mobileLogoWidth",label:(0,p.__)("Width","gutenverse"),component:c.RangeControl,min:1,max:200,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"mobileLogoWidth",responsive:!0,selector:".".concat(t,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-nav-identity-panel .gutenverse-nav-site-title .gutenverse-nav-logo img"),properties:[{name:"width",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"mobileLogoHeight",label:(0,p.__)("Height","gutenverse"),component:c.RangeControl,min:1,max:200,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"mobileLogoHeight",responsive:!0,selector:".".concat(t,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-nav-identity-panel .gutenverse-nav-site-title .gutenverse-nav-logo img"),properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"mobileLogoFit",label:(0,p.__)("Logo Fit","gutenverse"),component:c.SelectControl,allowDeviceControl:!0,options:[{label:(0,p.__)("Cover"),value:"cover"},{label:(0,p.__)("Contain"),value:"contain"},{label:(0,p.__)("Fill"),value:"fill"},{label:(0,p.__)("Scale Down"),value:"scale-down"},{label:(0,p.__)("None"),value:"none"}]},{id:"mobileMenuMargin",label:(0,p.__)("Margin","gutenverse"),component:c.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"mobileMenuPadding",label:(0,p.__)("Padding","gutenverse"),component:c.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})}]},k=o(1455),P=o.n(k),N=o(3832),E=o(1222);function D(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function B(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?D(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):D(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var A=function(e){var t=e.label,o=e.allowDeviceControl,n=e.value,s=void 0===n?o?{}:void 0:n,l=e.onValueChange,y=e.description,g=void 0===y?"":y,m=e.noOptionsText,v=e.proLabel,h=(0,a.useState)([]),b=(0,r.A)(h,2),f=b[0],x=b[1];(0,a.useEffect)((function(){(0,E.isOnEditor)()&&P()({path:(0,N.addQueryArgs)("/gutenverse-client/v1/menu")}).then((function(e){x(e)}))}),[]);var w={input:function(){return{padding:0,margin:0}},control:function(e){return B(B({},e),{},{borderRadius:"1px"})},menu:function(e){return B(B({},e),{},{zIndex:99999})}},S=(0,i.useInstanceId)(A,"inspector-select-menu-control"),_=(0,a.useState)(null),j=(0,r.A)(_,2),T=j[0],O=j[1];return(0,a.useEffect)((function(){s?f.map((function(e){e.value===s&&O(e)})):O(null)}),[s,f]),(0,d.jsxs)("div",{id:S,className:"gutenverse-control-wrapper gutenverse-control-select",children:[(0,d.jsx)(c.ControlHeadingSimple,{id:"".concat(S,"-select"),label:t,description:g,proLabel:v,allowDeviceControl:o}),(0,d.jsx)("div",{className:"control-body",children:(0,d.jsx)("div",{className:"control-select",children:(0,d.jsx)(u.Select,{id:"".concat(S,"-select"),styles:w,value:T,onChange:function(e){return function(e){l(e)}(e.value)},options:f,noOptionsMessage:function(){return m||(0,p.__)("No Option","gutenverse")},formatOptionLabel:function(e){var t=e.label,o=e.pro;return(0,d.jsxs)("div",{className:"select-option".concat(o&&" pro"),children:[(0,d.jsx)("div",{children:t}),o&&(0,d.jsx)(c.ProLock,{})]})},isOptionDisabled:function(e){return e.disabled||e.pro},isDisabled:v})})})]})};const H=(0,i.compose)(s.withParentControl,s.withDeviceControl)(A);var R=function(){return[{id:"menuId",label:(0,p.__)("Menu","gutenverse"),component:H}]},I=function(e){var t=e.elementId,o=e.mobileEnableOverlay;return[{id:"activate-notice",component:c.AlertControl,show:!o,children:(0,d.jsx)(d.Fragment,{children:(0,d.jsx)("span",{children:(0,p.__)('You need to enable the overlay first in the "Mobile Menu" panel to use this setting!',"gutenverse")})})},{id:"overlayBackground",component:c.BackgroundControl,label:(0,p.__)("Overlay Background","gutenverse"),show:o,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{id:"overlayBackground",type:"background",responsive:!0,selector:".".concat(t,".guten-element.wp-block-gutenverse-nav-menu.mobile.tablet-breakpoint .guten-nav-menu .guten-nav-overlay, \n .").concat(t,".guten-element.wp-block-gutenverse-nav-menu.tablet.tablet-breakpoint .guten-nav-menu .guten-nav-overlay")}]},{id:"overlayOpacity",label:(0,p.__)("Overlay Opacity","gutenverse"),show:o,component:c.RangeControl,min:0,max:100,step:1,allowDeviceControl:!0,liveStyle:[{type:"plain",id:"overlayOpacity",responsive:!0,selector:".".concat(t,".guten-element.wp-block-gutenverse-nav-menu.mobile.tablet-breakpoint .guten-nav-menu .guten-nav-overlay, \n .").concat(t,".guten-element.wp-block-gutenverse-nav-menu.tablet.tablet-breakpoint .guten-nav-menu .guten-nav-overlay"),properties:[{name:"opacity",valueType:"pattern",pattern:"calc({value}/100)",patternValues:{value:{type:"direct"}}}]}]},{id:"overlayPointer",label:(0,p.__)("Overlay Pointer Event","gutenverse"),show:o,component:c.SelectControl,options:[{label:(0,p.__)("None"),value:"none"},{label:(0,p.__)("Auto"),value:"auto"}]},{id:"blur-notice",component:c.AlertControl,show:o,children:(0,d.jsx)(d.Fragment,{children:(0,d.jsx)("span",{children:(0,p.__)("This option will blur background and anything behind this element","gutenverse")})})},{id:"overlayBlur",label:(0,p.__)("Overlay Blur","gutenverse"),show:o,component:c.RangeControl,min:0,max:100,allowDeviceControl:!0,liveStyle:[{type:"plain",id:"overlayBlur",responsive:!0,selector:".".concat(t,".guten-element.wp-block-gutenverse-nav-menu.mobile.tablet-breakpoint .guten-nav-menu .guten-nav-overlay, \n .").concat(t,".guten-element.wp-block-gutenverse-nav-menu.tablet.tablet-breakpoint .guten-nav-menu .guten-nav-overlay"),properties:[{name:"-webkit-backdrop-filter",valueType:"pattern",pattern:"blur({value}px)",patternValues:{value:{type:"direct"}}},{name:"backdrop-filter",valueType:"pattern",pattern:"blur({value}px)",patternValues:{value:{type:"direct"}}}]}]}]};function M(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function L(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?M(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):M(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var z=function(){return[{title:(0,p.__)("Menu","gutenverse"),panelArray:R,initialOpen:!1,tabRole:c.TabSetting},{title:(0,p.__)("Content","gutenverse"),panelArray:y,initialOpen:!1,tabRole:c.TabSetting},{title:(0,p.__)("Mobile Menu","gutenverse"),panelArray:g,initialOpen:!1,tabRole:c.TabSetting},{title:(0,p.__)("Display","gutenverse"),initialOpen:!1,panelArray:c.responsivePanel,tabRole:c.TabSetting},{title:(0,p.__)("Positioning","gutenverse"),initialOpen:!1,panelArray:c.positioningPanel,tabRole:c.TabSetting},{title:(0,p.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,c.animationPanel)(L(L({},e),{},{styleId:"nav-menu-animation"}))},tabRole:c.TabSetting},{title:(0,p.__)("Transform","gutenverse"),initialOpen:!1,panelArray:c.transformPanel,pro:!0},{title:(0,p.__)("Mouse Move Effect","gutenverse"),initialOpen:!1,panelArray:c.mouseMoveEffectPanel,tabRole:c.TabSetting,pro:!0},{title:(0,p.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,c.advancePanel)(L(L({},e),{},{styleId:"nav-menu-advance"}))},tabRole:c.TabSetting},{title:(0,p.__)("Condition","gutenverse"),panelArray:c.conditionPanel,initialOpen:!1,pro:!0},{title:(0,p.__)("Menu Wrapper Style","gutenverse"),panelArray:v,initialOpen:!1,tabRole:c.TabStyle},{title:(0,p.__)("Item Menu Style","gutenverse"),panelArray:f,initialOpen:!1,tabRole:c.TabStyle},{title:(0,p.__)("Submenu Item Style","gutenverse"),panelArray:S,initialOpen:!1,tabRole:c.TabStyle},{title:(0,p.__)("Submenu Panel Style","gutenverse"),panelArray:_,initialOpen:!1,tabRole:c.TabStyle},{title:(0,p.__)("Hamburger Style","gutenverse"),panelArray:O,initialOpen:!1,tabRole:c.TabStyle},{title:(0,p.__)("Mobile Menu Logo","gutenverse"),panelArray:C,initialOpen:!1,tabRole:c.TabStyle},{title:(0,p.__)("Overlay Style","gutenverse"),panelArray:I,initialOpen:!1,tabRole:c.TabStyle},{title:(0,p.__)("Background","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,c.backgroundPanel)(L(L({},e),{},{styleId:"nav-menu-background",normalOptions:["default","gradient"],hoverOptions:["default","gradient"]}))},tabRole:c.TabStyle},{title:(0,p.__)("Border","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,c.borderPanel)(L(L({},e),{},{styleId:"nav-menu-border"}))},tabRole:c.TabStyle},{title:(0,p.__)("Masking","gutenverse"),initialOpen:!1,panelArray:c.maskPanel,tabRole:c.TabStyle}]},F=o(5882);function V(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,(0,F.A)(n.key),n)}}var W=o(3438);function G(e){return G=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},G(e)}function U(e,t){return U=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},U(e,t)}const q=gutenverseCoreFrontend;function $(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return($=function(){return!!e})()}const Y=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),e=this,n=arguments,o=G(o=t),function(e,t){if(t&&("object"==(0,W.A)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,$()?Reflect.construct(o,n||[],G(e).constructor):o.apply(e,n));var e,o,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&U(e,t)}(t,e),o=t,n=[{key:"init",value:function(){var e=this;this._elements.map((function(t){e._init(t)}))}},{key:"_init",value:function(e){var t=(0,q.u)(e),o={wrapper:t,openToggle:t.find(".gutenverse-hamburger-menu"),closeToggle:t.find(".gutenverse-close-menu"),container:t.find(".gutenverse-menu-wrapper"),menuDropdown:t.find("li.menu-item-has-children > a"),singleMenu:t.find("li.menu-item:not(.menu-item-has-children)"),overlay:t.find(".guten-nav-overlay")};this.__handleAnchor(e),this._firstLoad(o)}},{key:"_firstLoad",value:function(e){this._addBodyClass(),this._addDropdownIcon(e),this._toggleMenu(e)}},{key:"_addBodyClass",value:function(){(0,q.u)("html").addClass("gutenverse-nav-menu-loaded")}},{key:"_addDropdownIcon",value:function(e){var t=e.wrapper.data("item-indicator");e.menuDropdown.each((function(e){(0,q.u)(e).find("i").remove(),(0,q.u)(e).append("<i class='".concat(t,"'></i>"))}))}},{key:"_toggleMenu",value:function(e){function t(e){e.toggleClass("dropdown-open")}e.openToggle.off("click").on("click",(function(){e.container.hasClass("active")?e.container.removeClass("active"):e.container.addClass("active"),e.overlay.hasClass("active")?(e.overlay.removeClass("active"),e.overlay.addClass("exiting")):(e.overlay.addClass("active"),e.overlay.removeClass("exiting"))})),e.closeToggle.on("click",(function(){e.container.removeClass("active"),e.overlay.hasClass("active")&&e.overlay.addClass("exiting"),e.overlay.removeClass("active")})),e.wrapper.hasClass("submenu-click-title")&&e.menuDropdown.on("click",(function(o){var n=window.innerWidth;(e.wrapper.hasClass("break-point-mobile")&&n<=425||e.wrapper.hasClass("break-point-tablet")&&n<=780)&&o.preventDefault(),t((0,q.u)(this).siblings(".sub-menu"))})),e.wrapper.find("li.menu-item-has-children > a i").on("click",(function(e){e.preventDefault(),e.stopPropagation(),t((0,q.u)(this).parent("a").siblings(".sub-menu"))})),1===parseInt(e.wrapper.data("close-on-click"))&&e.singleMenu.on("click",(function(){e.container.removeClass("active"),e.overlay.removeClass("active")}))}},{key:"__normalizeUrl",value:function(e){return e.endsWith("/")?e.slice(0,-1):e}},{key:"__removingClass",value:function(e,t){var o=this;(0,q.u)(e).find(".gutenverse-menu a").each((function(e){var n=(0,q.u)(e).closest("li");o.__normalizeUrl(e.href)!==t?n.removeClass("current-menu-item"):n.addClass("current-menu-item")}))}},{key:"__handleAnchor",value:function(e){var t=this,o=this.__normalizeUrl(window.location.href);this.__removingClass(e,o),window.addEventListener("popstate",(function(n){o=t.__normalizeUrl(window.location.href),t.__removingClass(e,o)}))}}],n&&V(o.prototype,n),Object.defineProperty(o,"prototype",{writable:!1}),o;var o,n}(q.Default);var X=o(6826),J=o(4320),Q=o(4404),Z=o(2619);const K=function(e,t){var o=[];o=(0,c.backgroundStyle)({attributes:t,data:o,backgroundSelector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element.wp-block-gutenverse-nav-menu"),backgroundHoverSelector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element.wp-block-gutenverse-nav-menu:hover")});var n=(0,m.getDeviceType)();return(0,E.isNotEmpty)(t.alignment)&&o.push({type:"plain",id:"alignment",selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu"),properties:[{name:"justify-content",valueType:"direct"}],responsive:!0}),(0,E.isNotEmpty)(t.menuHeight)&&o.push({type:"plain",id:"menuHeight",responsive:!0,selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > li > a, .").concat(e,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > ul > li > a"),properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,E.isNotEmpty)(t.menuBackground)&&o.push({type:"background",id:"menuBackground",selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-menu-wrapper, .").concat(e,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu.break-point-tablet .gutenverse-menu-wrapper, .").concat(e,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu.break-point-mobile .gutenverse-menu-wrapper")}),(0,E.isNotEmpty)(t.mobileWrapperBackground)&&o.push({type:"color",id:"mobileWrapperBackground",responsive:!0,selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .break-point-mobile.guten-nav-menu .gutenverse-menu-wrapper, .").concat(e,".guten-element.wp-block-gutenverse-nav-menu .break-point-tablet.guten-nav-menu .gutenverse-menu-wrapper"),properties:[{name:"background-color",valueType:"direct"}]}),(0,E.isNotEmpty)(t.menuPadding)&&o.push({type:"dimension",id:"menuPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper")}),(0,E.isNotEmpty)(t.menuMargin)&&o.push({type:"dimension",id:"menuMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper > div")}),(0,E.isNotEmpty)(t.menuRadius)&&o.push({type:"dimension",id:"menuRadius",responsive:!0,properties:[{name:"border-radius",valueType:"direct",multiDimension:!1}],selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper")}),(0,E.isNotEmpty)(t.menuBoxShadow)&&o.push({type:"boxShadow",id:"menuBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper")}),(0,E.isNotEmpty)(t.itemTypography)&&o.push({type:"typography",id:"itemTypography",selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > li > a, .").concat(e,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > ul > li > a")}),(0,E.isNotEmpty)(t.itemSpacing)&&o.push({type:"dimension",id:"itemSpacing",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > li > a, .").concat(e,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > ul > li > a")}),(0,E.isNotEmpty)(t.itemMargin)&&o.push({type:"dimension",id:"itemMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > li > a, .").concat(e,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > ul > li > a")}),(0,E.isNotEmpty)(t.itemTextNormalColor)&&o.push({type:"color",id:"itemTextNormalColor",responsive:!0,selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > li > a, .").concat(e,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > ul > li > a"),properties:[{name:"color",valueType:"direct"}]}),(0,E.isNotEmpty)(t.itemTextNormalBg)&&o.push({type:"background",id:"itemTextNormalBg",selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > li > a, .").concat(e,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > ul > li > a")}),(0,E.isNotEmpty)(t.itemTextHoverColor)&&o.push({type:"color",id:"itemTextHoverColor",responsive:!0,selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > li:hover > a, .").concat(e,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > ul > li:hover > a"),properties:[{name:"color",valueType:"direct"}]}),(0,E.isNotEmpty)(t.itemTextHoverBg)&&o.push({type:"background",id:"itemTextHoverBg",selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > li:hover > a, .").concat(e,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > ul > li:hover > a")}),(0,E.isNotEmpty)(t.itemTextActiveColor)&&o.push({type:"color",id:"itemTextActiveColor",responsive:!0,selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > li.current-menu-item > a, .").concat(e,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > ul > li.current-menu-item > a, .").concat(e,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > li.current-menu-ancestor > a, .").concat(e,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > ul > li.current-menu-ancestor > a"),properties:[{name:"color",valueType:"direct"}]}),(0,E.isNotEmpty)(t.itemTextActiveBg)&&o.push({type:"background",id:"itemTextActiveBg",selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > li.current-menu-item > a, .").concat(e,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > ul > li.current-menu-item > a, .").concat(e,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > li.current-menu-ancestor > a, .").concat(e,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > ul > li.current-menu-ancestor > a")}),(0,E.isNotEmpty)(t.itemMenuBorderNormal)&&o.push({type:"borderResponsive",id:"itemMenuBorderNormal",selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > li > a, .").concat(e,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > ul > li > a")}),(0,E.isNotEmpty)(t.itemMenuBorderHover)&&o.push({type:"borderResponsive",id:"itemMenuBorderHover",selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > li:hover > a, .").concat(e,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > ul > li:hover > a")}),(0,E.isNotEmpty)(t.itemMenuBorderActive)&&o.push({type:"borderResponsive",id:"itemMenuBorderActive",selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > li.current-menu-ancestor > a, .").concat(e,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > ul > li.current-menu-ancestor > a")}),(0,E.isNotEmpty)(t.SubmenuIndicatorSize)&&o.push({type:"plain",id:"SubmenuIndicatorSize",responsive:!0,selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > li > a > i, .").concat(e,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-menu-wrapper .gutenverse-menu > ul > li > a > i"),properties:[{name:"font-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,E.isNotEmpty)(t.submenuIndicatorPadding)&&o.push({type:"dimension",id:"submenuIndicatorPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e,".guten-element .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-menu li.menu-item-has-children > a > i")}),(0,E.isNotEmpty)(t.submenuIndicatorMargin)&&o.push({type:"dimension",id:"submenuIndicatorMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e,".guten-element .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-menu li.menu-item-has-children > a i")}),(0,E.isNotEmpty)(t.submenuIndicatorBorder)&&o.push({type:"border",id:"submenuIndicatorBorder",selector:".".concat(e,".guten-element .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-menu li.menu-item-has-children > a i")}),(0,E.isNotEmpty)(t.submenuIndicatorBorderResponsive)&&"Desktop"!==n&&o.push({type:"borderResponsive",id:"submenuIndicatorBorderResponsive",selector:".".concat(e,".guten-element .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-menu li.menu-item-has-children > a i")}),(0,E.isNotEmpty)(t.submenuTypography)&&o.push({type:"typography",id:"submenuTypography",selector:".".concat(e,".guten-element .gutenverse-menu-wrapper .gutenverse-menu .sub-menu li a")}),(0,E.isNotEmpty)(t.submenuSpacing)&&o.push({type:"dimension",id:"submenuSpacing",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e,".guten-element .gutenverse-menu-wrapper .gutenverse-menu .sub-menu li a")}),(0,E.isNotEmpty)(t.submenuMargin)&&o.push({type:"dimension",id:"submenuMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e,".guten-element .gutenverse-menu-wrapper .gutenverse-menu .sub-menu li a")}),(0,E.isNotEmpty)(t.submenuTextNormalColor)&&o.push({type:"color",id:"submenuTextNormalColor",responsive:!0,selector:".".concat(e,".guten-element .gutenverse-menu-wrapper .gutenverse-menu .sub-menu li > a"),properties:[{name:"color",valueType:"direct"}]}),(0,E.isNotEmpty)(t.submenuIndicatorColor)&&o.push({type:"color",id:"submenuIndicatorColor",responsive:!0,selector:".".concat(e,".guten-element .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-menu li.menu-item-has-children > a > i"),properties:[{name:"color",valueType:"direct"}]}),(0,E.isNotEmpty)(t.submenuTextNormalBg)&&o.push({type:"background",id:"submenuTextNormalBg",selector:".".concat(e,".guten-element .gutenverse-menu-wrapper .gutenverse-menu .sub-menu li > a")}),(0,E.isNotEmpty)(t.submenuTextHoverColor)&&o.push({type:"color",id:"submenuTextHoverColor",responsive:!0,selector:".".concat(e,".guten-element .gutenverse-menu-wrapper .gutenverse-menu .sub-menu li:hover > a"),properties:[{name:"color",valueType:"direct"}]}),(0,E.isNotEmpty)(t.submenuIndicatorHoverColor)&&o.push({type:"color",id:"submenuIndicatorHoverColor",responsive:!0,selector:".".concat(e,".guten-element .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-menu li.menu-item-has-children:hover > a > i"),properties:[{name:"color",valueType:"direct"}]}),(0,E.isNotEmpty)(t.submenuTextNormalBg)&&o.push({id:"submenuTextHoverBg",type:"background",selector:".".concat(e,".guten-element .gutenverse-menu-wrapper .gutenverse-menu .sub-menu li:hover > a")}),(0,E.isNotEmpty)(t.submenuTextActiveColor)&&o.push({type:"color",id:"submenuTextActiveColor",responsive:!0,selector:".".concat(e,".guten-element .gutenverse-menu-wrapper .gutenverse-menu .sub-menu > li.current-menu-item > a"),properties:[{name:"color",valueType:"direct"}]}),(0,E.isNotEmpty)(t.submenuIndicatorActiveColor)&&o.push({type:"color",id:"submenuIndicatorActiveColor",responsive:!0,selector:".".concat(e,".guten-element .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-menu li.menu-item-has-children.current-menu-parent > a > i"),properties:[{name:"color",valueType:"direct"}]}),(0,E.isNotEmpty)(t.submenuTextActiveBg)&&o.push({type:"background",id:"submenuTextActiveBg",selector:".".concat(e,".guten-element .gutenverse-menu-wrapper .gutenverse-menu .sub-menu > li.current-menu-item > a")}),(0,E.isNotEmpty)(t.submenuItemBorder)&&o.push({type:"border",id:"submenuItemBorder",selector:".".concat(e,".guten-element .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-menu .sub-menu li > a")}),(0,E.isNotEmpty)(t.submenuItemBorderResponsive)&&o.push({type:"borderResponsive",id:"submenuItemBorderResponsive",selector:".".concat(e,".guten-element .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-menu .sub-menu li > a")}),(0,E.isNotEmpty)(t.submenuFirstItemBorder)&&o.push({type:"border",id:"submenuFirstItemBorder",selector:".".concat(e,".guten-element .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-menu .sub-menu li:first-child > a")}),(0,E.isNotEmpty)(t.submenuFirstItemBorderResponsive)&&o.push({type:"borderResponsive",id:"submenuFirstItemBorderResponsive",selector:".".concat(e,".guten-element .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-menu .sub-menu li:first-child > a")}),(0,E.isNotEmpty)(t.submenuLastItemBorder)&&o.push({type:"border",id:"submenuLastItemBorder",selector:".".concat(e,".guten-element .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-menu .sub-menu li:last-child > a")}),(0,E.isNotEmpty)(t.submenuLastItemBorderResponsive)&&o.push({type:"borderResponsive",id:"submenuLastItemBorderResponsive",selector:".".concat(e,".guten-element .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-menu .sub-menu li:last-child > a")}),(0,E.isNotEmpty)(t.submenuPanelPadding)&&o.push({type:"dimension",id:"submenuPanelPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e,".guten-element .gutenverse-menu-wrapper .gutenverse-menu li.menu-item-has-children .sub-menu")}),(0,E.isNotEmpty)(t.submenuPanelMargin)&&o.push({type:"dimension",id:"submenuPanelMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e,".guten-element .gutenverse-menu-wrapper .gutenverse-menu li.menu-item-has-children .sub-menu")}),(0,E.isNotEmpty)(t.submenuPanelBorder)&&o.push({type:"border",id:"submenuPanelBorder",selector:".".concat(e,".guten-element .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-menu li.menu-item-has-children .sub-menu")}),(0,E.isNotEmpty)(t.submenuPanelBorderResponsive)&&"Desktop"!==n&&o.push({type:"borderResponsive",id:"submenuPanelBorderResponsive",selector:".".concat(e,".guten-element .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-menu li.menu-item-has-children .sub-menu")}),(0,E.isNotEmpty)(t.submenuPanelBackground)&&o.push({type:"background",id:"submenuPanelBackground",selector:".".concat(e,".guten-element .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-menu li.menu-item-has-children .sub-menu")}),(0,E.isNotEmpty)(t.submenuPanelWidth)&&o.push({type:"plain",id:"submenuPanelWidth",responsive:!0,selector:".".concat(e,".guten-element .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-menu li.menu-item-has-children .sub-menu"),properties:[{name:"width",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,E.isNotEmpty)(t.submenuPanelShadow)&&o.push({type:"boxShadow",id:"submenuPanelShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e,".guten-element .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-menu li.menu-item-has-children .sub-menu")}),(0,E.isNotEmpty)(t.hamburgerAlignment)&&o.push({type:"plain",id:"hamburgerAlignment",responsive:!0,selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .gutenverse-hamburger-wrapper"),properties:[{name:"justify-content",valueType:"direct"}]}),(0,E.isNotEmpty)(t.hamburgerWidth)&&o.push({type:"unitPoint",id:"hamburgerWidth",responsive:!0,selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-hamburger-menu"),properties:[{name:"width",valueType:"direct"}]}),(0,E.isNotEmpty)(t.hamburgerSize)&&o.push({type:"plain",id:"hamburgerSize",responsive:!0,selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-hamburger-menu i"),properties:[{name:"font-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,E.isNotEmpty)(t.hamburgerPadding)&&o.push({type:"dimension",id:"hamburgerPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-hamburger-menu")}),(0,E.isNotEmpty)(t.hamburgerMargin)&&o.push({type:"dimension",id:"hamburgerMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-hamburger-menu")}),(0,E.isNotEmpty)(t.hamburgerColorNormal)&&o.push({type:"color",id:"hamburgerColorNormal",responsive:!0,selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-hamburger-menu"),properties:[{name:"color",valueType:"direct"}]}),(0,E.isNotEmpty)(t.hamburgerBgNormal)&&o.push({type:"background",id:"hamburgerBgNormal",selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-hamburger-menu")}),(0,E.isNotEmpty)(t.hamburgerBorderNormal)&&o.push({type:"border",id:"hamburgerBorderNormal",selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-hamburger-menu")}),(0,E.isNotEmpty)(t.hamburgerBorderNormalResponsive)&&o.push({type:"borderResponsive",id:"hamburgerBorderNormalResponsive",selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-hamburger-menu")}),(0,E.isNotEmpty)(t.hamburgerColorHover)&&o.push({type:"color",id:"hamburgerColorHover",responsive:!0,selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-hamburger-menu:hover"),properties:[{name:"color",valueType:"direct"}]}),(0,E.isNotEmpty)(t.hamburgerBgHover)&&o.push({type:"background",id:"hamburgerBgHover",selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-hamburger-menu:hover")}),(0,E.isNotEmpty)(t.hamburgerBorderHover)&&o.push({type:"border",id:"hamburgerBorderHover",selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-hamburger-menu:hover")}),(0,E.isNotEmpty)(t.hamburgerBorderHoverResponsive)&&o.push({type:"borderResponsive",id:"hamburgerBorderHoverResponsive",selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-hamburger-menu:hover")}),(0,E.isNotEmpty)(t.closeWidth)&&o.push({type:"unitPoint",id:"closeWidth",responsive:!0,selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-nav-identity-panel .gutenverse-close-menu"),properties:[{name:"width",valueType:"direct"}]}),(0,E.isNotEmpty)(t.closeSize)&&o.push({type:"plain",id:"closeSize",responsive:!0,selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-nav-identity-panel .gutenverse-close-menu i"),properties:[{name:"font-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,E.isNotEmpty)(t.closePadding)&&o.push({type:"dimension",id:"closePadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-nav-identity-panel .gutenverse-close-menu")}),(0,E.isNotEmpty)(t.closeMargin)&&o.push({type:"dimension",id:"closeMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-nav-identity-panel .gutenverse-close-menu")}),(0,E.isNotEmpty)(t.closeColorNormal)&&o.push({type:"color",id:"closeColorNormal",responsive:!0,selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-nav-identity-panel .gutenverse-close-menu"),properties:[{name:"color",valueType:"direct"}]}),(0,E.isNotEmpty)(t.closeBgNormal)&&o.push({type:"background",id:"closeBgNormal",selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-nav-identity-panel .gutenverse-close-menu")}),(0,E.isNotEmpty)(t.closeBorderNormal)&&o.push({type:"border",id:"closeBorderNormal",selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-nav-identity-panel .gutenverse-close-menu")}),(0,E.isNotEmpty)(t.closeBorderNormalResponsive)&&o.push({type:"borderResponsive",id:"closeBorderNormalResponsive",selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-nav-identity-panel .gutenverse-close-menu")}),(0,E.isNotEmpty)(t.closeColorHover)&&o.push({type:"color",id:"closeColorHover",responsive:!0,selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-nav-identity-panel .gutenverse-close-menu:hover"),properties:[{name:"color",valueType:"direct"}]}),(0,E.isNotEmpty)(t.closeBgHover)&&o.push({type:"background",id:"closeBgHover",selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-nav-identity-panel .gutenverse-close-menu:hover")}),(0,E.isNotEmpty)(t.closeBorderHover)&&o.push({type:"border",id:"closeBorderHover",selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-nav-identity-panel .gutenverse-close-menu:hover")}),(0,E.isNotEmpty)(t.closeBorderHoverResponsive)&&o.push({type:"borderResponsive",id:"closeBorderHoverResponsive",selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-nav-identity-panel .gutenverse-close-menu:hover")}),(0,E.isNotEmpty)(t.mobileLogoWidth)&&o.push({type:"plain",id:"mobileLogoWidth",responsive:!0,selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-nav-identity-panel .gutenverse-nav-site-title .gutenverse-nav-logo img"),properties:[{name:"width",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,E.isNotEmpty)(t.mobileLogoHeight)&&o.push({type:"plain",id:"mobileLogoHeight",responsive:!0,selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-nav-identity-panel .gutenverse-nav-site-title .gutenverse-nav-logo img"),properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,E.isNotEmpty)(t.mobileLogoFit)&&o.push({type:"plain",id:"mobileLogoFit",selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-nav-identity-panel .gutenverse-nav-site-title .gutenverse-nav-logo img"),properties:[{name:"object-fit",valueType:"direct"}]}),(0,E.isNotEmpty)(t.mobileMenuMargin)&&o.push({type:"dimension",id:"mobileMenuMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-nav-identity-panel .gutenverse-nav-site-title .gutenverse-nav-logo")}),(0,E.isNotEmpty)(t.mobileMenuPadding)&&o.push({type:"dimension",id:"mobileMenuPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu .guten-nav-menu .gutenverse-menu-wrapper .gutenverse-nav-identity-panel .gutenverse-nav-site-title .gutenverse-nav-logo")}),(0,E.isNotEmpty)(t.overlayBackground)&&o.push({type:"background",id:"overlayBackground",selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu.mobile.tablet-breakpoint .guten-nav-menu .guten-nav-overlay, .").concat(e,".guten-element.wp-block-gutenverse-nav-menu.tablet.tablet-breakpoint .guten-nav-menu .guten-nav-overlay")}),(0,E.isNotEmpty)(t.overlayOpacity)&&o.push({type:"plain",id:"overlayOpacity",responsive:!0,selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu.mobile.tablet-breakpoint .guten-nav-menu .guten-nav-overlay, .").concat(e,".guten-element.wp-block-gutenverse-nav-menu.tablet.tablet-breakpoint .guten-nav-menu .guten-nav-overlay"),properties:[{name:"opacity",valueType:"pattern",pattern:"calc({value}/100)",patternValues:{value:{type:"direct"}}}]}),(0,E.isNotEmpty)(t.overlayPointer)&&o.push({type:"plain",id:"overlayPointer",selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu.mobile.tablet-breakpoint .guten-nav-menu .guten-nav-overlay, .").concat(e,".guten-element.wp-block-gutenverse-nav-menu.tablet.tablet-breakpoint .guten-nav-menu .guten-nav-overlay"),properties:[{name:"pointer-events",valueType:"pattern",pattern:"{value} !important",patternValues:{value:{type:"direct"}}}]}),(0,E.isNotEmpty)(t.overlayBlur)&&o.push({type:"overlayBlur",id:"blur",responsive:!0,selector:".".concat(e,".guten-element.wp-block-gutenverse-nav-menu.mobile.tablet-breakpoint .guten-nav-menu .guten-nav-overlay, .").concat(e,".guten-element.wp-block-gutenverse-nav-menu.tablet.tablet-breakpoint .guten-nav-menu .guten-nav-overlay"),properties:[{name:"-webkit-backdrop-filter",valueType:"pattern",pattern:"blur({value}px)",patternValues:{value:{type:"direct"}}},{name:"backdrop-filter",valueType:"pattern",pattern:"blur({value}px)",patternValues:{value:{type:"direct"}}}]}),(0,E.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element.wp-block-gutenverse-nav-menu")}),(0,E.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element.wp-block-gutenverse-nav-menu:hover")}),(0,E.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element.wp-block-gutenverse-nav-menu")}),(0,E.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element.wp-block-gutenverse-nav-menu:hover")}),(0,E.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element.wp-block-gutenverse-nav-menu")}),(0,E.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element.wp-block-gutenverse-nav-menu:hover")}),(0,E.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element.wp-block-gutenverse-nav-menu")}),(0,E.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element.wp-block-gutenverse-nav-menu")}),(0,E.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element.wp-block-gutenverse-nav-menu")}),(0,E.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element.wp-block-gutenverse-nav-menu")}),(0,E.isNotEmpty)(t.animation)&&(0,E.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element.wp-block-gutenverse-nav-menu")}),(0,E.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,E.isNotEmpty)(t.positioningType)&&(0,E.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,E.isNotEmpty)(t.positioningWidth)&&(0,E.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,E.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,E.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,E.isNotEmpty)(t.positioningLeft)&&(0,E.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,E.isNotEmpty)(t.positioningRight)&&(0,E.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,E.isNotEmpty)(t.positioningTop)&&(0,E.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,E.isNotEmpty)(t.positioningBottom)&&(0,E.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),[].concat((0,Q.A)(o),(0,Q.A)((0,Z.applyFilters)("gutenverse.nav-menu.blockStyle",[],{elementId:e,attributes:t})))};function ee(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function te(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ee(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ee(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const oe=(0,i.compose)(s.withPartialRender,s.withMouseMoveEffect)((function(e){var t=e.attributes,o=e.deviceType,i=e.clientId,s=t.elementId,p=t.menuId,y=t.breakpoint,g=t.mobileMenuLogo,m=t.mobileMenuLink,v=t.mobileMenuURL,h=t.mobileIcon,b=t.mobileCloseIcon,f=t.submenuClick,x=t.mobileSubmenuClick,w=t.mobileCloseOnClick,S=t.submenuItemIndicator,_=t.transform,j=t.mobileEnableOverlay,T=(0,X.useAnimationEditor)(t),O=(0,X.useDisplayEditor)(t),C=(0,a.useRef)(),k=(0,a.useRef)(),D=(0,a.useState)(null),B=(0,r.A)(D,2),A=B[0],H=B[1],R=(0,a.useState)(!0),I=(0,r.A)(R,2),M=I[0],L=I[1];(0,a.useEffect)((function(){(0,E.isOnEditor)()?(L(!0),P()({path:(0,N.addQueryArgs)("/wp/v2/block-renderer/gutenverse/nav-menu",{context:"edit",attributes:{elementId:s,menuId:p,breakpoint:y,mobileMenuLogo:g,mobileMenuLink:m,mobileMenuURL:v,mobileIcon:h,mobileCloseIcon:b,submenuClick:f,mobileSubmenuClick:x,mobileCloseOnClick:w,submenuItemIndicator:S,transform:_,mobileEnableOverlay:j}})}).then((function(e){H(e.rendered),k.current&&setTimeout((function(){var e=k.current.querySelectorAll(".gutenverse-menu li");e&&e.forEach((function(e){e.querySelector("a").addEventListener("click",(function(e){e.preventDefault(),e.stopPropagation()}))}))}),1)})).catch((function(){H("<h1>Error</h1>")})).finally((function(){return L(!1)}))):(H('<div id="'.concat(s,'" class="guten-element guten-nav-menu nav-menu break-point-tablet submenu-click-title " data-item-indicator="gtn gtn-angle-down-solid" data-close-on-click="1">\n <div class="gutenverse-hamburger-wrapper">\n <button class="gutenverse-hamburger-menu">\n <i aria-hidden="true" class="gtn gtn-burger-menu-light"></i>\n </button>\n </div>\n <div class="gutenverse-menu-wrapper">\n <div class="gutenverse-menu">\n <ul>\n <li class="page_item"><a href="javascript:void(0);">Menu 1</a></li>\n <li class="page_item"><a href="javascript:void(0);">Menu 2</a></li>\n <li class="menu-item"><a href="javascript:void(0);">Menu 3<i class="gtn gtn-angle-down-solid"></i></a></li>\n </ul>\n </div>\n </div>\n </div>')),L(!1))}),[p,y,g,m,v,h,b,f,x,w,S,_,j]),(0,a.useEffect)((function(){setTimeout((function(){var e=k.current;e&&(e.classList.add("injected"),new Y([k.current]))}),1e3)}),[A,k]),(0,a.useEffect)((function(){return C.current=!0,function(){C.current=!1}}),[]);var F=(0,l.useBlockProps)((0,n.A)({ref:k,className:(0,u.classnames)("guten-element","no-margin",s,T,O,null==o?void 0:o.toLowerCase(),"".concat(y,"-breakpoint"))},"data-item-indicator",S));return(0,J.useGenerateElementId)(i,s,k),(0,J.useDynamicStyle)(s,t,K,k),(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(u.CopyElementToolbar,te({},e)),(0,d.jsx)(c.BlockPanelController,{panelList:z,props:e,elementRef:k}),(0,d.jsx)("div",te(te({},F),{},{children:p?M?(0,d.jsx)(u.NavSkeleton,{}):(0,d.jsx)(a.RawHTML,{children:A},"html"):(0,d.jsx)(u.NavSkeletonNormal,{})}))]})}));function ne(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}const re=(0,i.compose)(s.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,r=(0,X.useAnimationFrontend)(t),i=(0,X.useDisplayFrontend)(t),a=(0,u.classnames)("guten-element","guten-nav-menu",o,r,i);return(0,d.jsx)("div",function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ne(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ne(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},l.useBlockProps.save({className:a})))})),ie=JSON.parse('{"apiVersion":2,"name":"gutenverse/nav-menu","class_callback":"\\\\Gutenverse\\\\Block\\\\Nav_Menu","title":"Nav Menu","description":"Create a navigation menu for your visitor to explore your website.","category":"gutenverse-element","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"mouseMoveEffect":{"type":"object","copyStyle":true},"menuId":{"type":"integer","default":0},"alignment":{"type":"object","copyStyle":true},"breakpoint":{"type":"string","default":"tablet"},"mobileMenuLogo":{"type":"object"},"mobileMenuLink":{"type":"string","default":"home"},"mobileMenuURL":{"type":"string"},"mobileIcon":{"type":"string","default":"fas fa-bars"},"mobileCloseIcon":{"type":"string","default":"fas fa-times"},"mobileSubmenuClick":{"type":"boolean","default":true},"mobileCloseOnClick":{"type":"boolean","default":true},"mobileEnableOverlay":{"type":"boolean","default":false},"overlayOpacity":{"type":"object","copyStyle":true},"overlayPointer":{"type":"string","default":"none","copyStyle":true},"overlayBackground":{"type":"object","copyStyle":true},"overlayBlur":{"type":"object","copyStyle":true},"mobileLogoWidth":{"type":"object","copyStyle":true},"mobileLogoHeight":{"type":"object","copyStyle":true},"mobileLogoFit":{"type":"object","copyStyle":true},"mobileMenuMargin":{"type":"object","copyStyle":true},"mobileMenuPadding":{"type":"object","copyStyle":true},"menuHeight":{"type":"object","copyStyle":true},"menuBackground":{"type":"object","copyStyle":true},"mobileWrapperBackground":{"type":"object","copyStyle":true},"menuPadding":{"type":"object","copyStyle":true},"menuMargin":{"type":"object","copyStyle":true},"menuRadius":{"type":"object","copyStyle":true},"menuBoxShadow":{"type":"object","copyStyle":true},"itemTypography":{"type":"object","copyStyle":true},"itemSpacing":{"type":"object","copyStyle":true},"itemMargin":{"type":"object","copyStyle":true},"itemTextNormalColor":{"type":"object","copyStyle":true},"itemTextNormalBg":{"type":"object","copyStyle":true},"itemTextHoverColor":{"type":"object","copyStyle":true},"itemTextHoverBg":{"type":"object","copyStyle":true},"itemTextActiveColor":{"type":"object","copyStyle":true},"itemTextActiveBg":{"type":"object","copyStyle":true},"submenuItemIndicator":{"type":"string","default":"fas fa-angle-down"},"SubmenuIndicatorSize":{"type":"object","copyStyle":true},"submenuIndicatorColor":{"type":"object","copyStyle":true},"submenuIndicatorHoverColor":{"type":"object","copyStyle":true},"submenuIndicatorActiveColor":{"type":"object","copyStyle":true},"submenuIndicatorMargin":{"type":"object","copyStyle":true},"submenuIndicatorPadding":{"type":"object","copyStyle":true},"submenuIndicatorBorder":{"type":"object","copyStyle":true},"submenuIndicatorBorderResponsive":{"type":"object","migrate":{"attr":"submenuIndicatorBorder","type":"border"},"copyStyle":true},"submenuTypography":{"type":"object","copyStyle":true},"submenuSpacing":{"type":"object","copyStyle":true},"submenuTextNormalColor":{"type":"object","copyStyle":true},"submenuTextNormalBg":{"type":"object","copyStyle":true},"submenuTextHoverColor":{"type":"object","copyStyle":true},"submenuTextHoverBg":{"type":"object","copyStyle":true},"submenuTextActiveColor":{"type":"object","copyStyle":true},"submenuTextActiveBg":{"type":"object","copyStyle":true},"submenuItemBorder":{"type":"object","copyStyle":true},"submenuItemBorderResponsive":{"type":"object","migrate":{"attr":"submenuItemBorder","type":"border"},"copyStyle":true},"submenuFirstItemBorder":{"type":"object","copyStyle":true},"submenuFirstItemBorderResponsive":{"type":"object","migrate":{"attr":"submenuFirstItemBorder","type":"border"},"copyStyle":true},"submenuLastItemBorder":{"type":"object","copyStyle":true},"submenuLastItemBorderResponsive":{"type":"object","migrate":{"attr":"submenuLastItemBorder","type":"border"},"copyStyle":true},"submenuPanelPadding":{"type":"object","copyStyle":true},"submenuPanelBorder":{"type":"object","copyStyle":true},"submenuPanelBorderResponsive":{"type":"object","migrate":{"attr":"submenuPanelBorder","type":"border"},"copyStyle":true},"submenuPanelBackground":{"type":"object","copyStyle":true},"submenuPanelShadow":{"type":"object","copyStyle":true},"submenuPanelWidth":{"type":"object","copyStyle":true},"hamburgerAlignment":{"type":"object","default":{"Desktop":"right"},"copyStyle":true},"hamburgerWidth":{"type":"object","copyStyle":true},"hamburgerSize":{"type":"object","copyStyle":true},"hamburgerPadding":{"type":"object","copyStyle":true},"hamburgerMargin":{"type":"object","copyStyle":true},"hamburgerColorNormal":{"type":"object","copyStyle":true},"hamburgerBgNormal":{"type":"object","copyStyle":true},"hamburgerBorderNormal":{"type":"object","copyStyle":true},"hamburgerBorderNormalResponsive":{"type":"object","migrate":{"attr":"hamburgerBorderNormal","type":"border"},"copyStyle":true},"hamburgerColorHover":{"type":"object","copyStyle":true},"hamburgerBgHover":{"type":"object","copyStyle":true},"hamburgerBorderHover":{"type":"object","copyStyle":true},"hamburgerBorderHoverResponsive":{"type":"object","migrate":{"attr":"hamburgerBorderHover","type":"border"},"copyStyle":true},"closeWidth":{"type":"object","copyStyle":true},"closeSize":{"type":"object","copyStyle":true},"closePadding":{"type":"object","copyStyle":true},"closeMargin":{"type":"object","copyStyle":true},"closeColorNormal":{"type":"object","copyStyle":true},"closeBgNormal":{"type":"object","copyStyle":true},"closeBorderNormal":{"type":"object","copyStyle":true},"closeBorderNormalResponsive":{"type":"object","migrate":{"attr":"closeBorderNormal","type":"border"},"copyStyle":true},"closeColorHover":{"type":"object","copyStyle":true},"closeBgHover":{"type":"object","copyStyle":true},"closeBorderHover":{"type":"object","copyStyle":true},"closeBorderHoverResponsive":{"type":"object","migrate":{"attr":"closeBorderHover","type":"border"},"copyStyle":true},"background":{"type":"object","copyStyle":true},"backgroundHover":{"type":"object","copyStyle":true},"backgroundTransition":{"type":"object","copyStyle":true,"default":{}},"border":{"type":"object","copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"borderHover":{"type":"object","copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadowHover":{"type":"object","copyStyle":true},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"animation":{"type":"object","copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"positioningType":{"type":"object","copyStyle":true},"positioningWidth":{"type":"object","copyStyle":true},"positioningAlign":{"type":"object","copyStyle":true},"positioningLocation":{"type":"string","copyStyle":true},"positioningLeft":{"type":"object","copyStyle":true},"positioningRight":{"type":"object","copyStyle":true},"positioningTop":{"type":"object","copyStyle":true},"positioningBottom":{"type":"object","copyStyle":true},"transform":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"itemMenuBorderActive":{"type":"object","copyStyle":true},"itemMenuBorderHover":{"type":"object","copyStyle":true},"itemMenuBorderNormal":{"type":"object","copyStyle":true},"submenuMargin":{"type":"object","copyStyle":true},"submenuPanelMargin":{"type":"object","copyStyle":true},"condition":{"type":"object","default":{}}},"supports":{"className":false},"keywords":["navigation","menu"]}');var ae=o(4889);var se=ie.name,le={icon:(0,d.jsx)(ae.ie,{}),example:{attributes:{},viewportWidth:650},edit:oe,save:re}},589:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>U,name:()=>Q,settings:()=>K});var n=o(6065),r=o(8930),i=o(7723),a=o(6087),s=o(9491),l=o(4715),c=o(3482),p=o(596),u=function(e){var t=e.elementId,o=e.forceHideText,n=e.addStyle,r=e.removeStyle;return[{id:"icon",label:(0,i.__)("Icon","gutenverse"),component:p.IconControl},{id:"iconSize",label:(0,i.__)("Icon Size","gutenverse"),component:p.SizeControl,allowDeviceControl:!0,units:{px:{text:"px",min:1,max:100,step:1},em:{text:"em",min:.1,max:3,step:.1}},liveStyle:[{type:"unitPoint",id:"iconSize",responsive:!0,properties:[{name:"font-size",valueType:"direct"}],selector:".guten-social-icon #".concat(t," i")}]},{id:"forceHideText",label:(0,i.__)("Force hide text","gutenverse"),component:p.CheckboxControl,onChange:function(e){if(e.forceHideText){var o=".guten-social-icon #".concat(t," span"),i="".concat(o," { display: none; }");n("forceHideText",i)}else r("forceHideText")}},{id:"typography",label:(0,i.__)("Typography","gutenverse"),show:!o,component:p.TypographyControl},{id:"borderRadius",label:(0,i.__)("Border Radius","gutenverse"),component:p.DimensionControl,position:["top","right","bottom","left"],units:{px:{text:"px",unit:"px"},"%":{text:"%",unit:"%"}}},{id:"ariaLabel",label:(0,i.__)("Aria Label","gutenverse"),component:p.TextControl}]};function d(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function y(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?d(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):d(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var g=function(e){var t=e.elementId,o=e.switcher,n=e.setSwitcher;return[{id:"__socialIconHover",component:p.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__socialIconHover;return n(y(y({},o),{},{socialIconHover:t}))}},{id:"iconColor",show:!o.socialIconHover||"normal"===o.socialIconHover,label:(0,i.__)("Icon Color","gutenverse"),component:p.ColorControl,liveStyle:[{type:"color",id:"iconColor",selector:".guten-social-icons.fill .guten-social-icon #".concat(t," i, .guten-social-icons.border .guten-social-icon #").concat(t," i, .guten-social-icons.custom .guten-social-icon #").concat(t," i"),properties:[{name:"color",valueType:"direct"}]},{type:"color",id:"iconColor",selector:".guten-social-icons.border .guten-social-icon #".concat(t),properties:[{name:"border-color",valueType:"direct"}]}]},{id:"textColor",show:!o.socialIconHover||"normal"===o.socialIconHover,label:(0,i.__)("Text Color","gutenverse"),component:p.ColorControl,liveStyle:[{type:"color",id:"textColor",selector:".guten-social-icons .guten-social-icon #".concat(t," span"),properties:[{name:"color",valueType:"direct"}]}]},{id:"hoverIconColor",show:"hover"===o.socialIconHover,label:(0,i.__)("Hover Icon Color","gutenverse"),component:p.ColorControl,liveStyle:[{type:"color",id:"hoverIconColor",selector:".guten-social-icons.fill .guten-social-icon #".concat(t,":hover i, .guten-social-icons.border .guten-social-icon #").concat(t,":hover i, .guten-social-icons.custom .guten-social-icon #").concat(t,":hover i"),properties:[{name:"color",valueType:"direct"}]},{type:"color",id:"hoverIconColor",selector:".guten-social-icons.border .guten-social-icon #".concat(t,":hover"),properties:[{name:"border-color",valueType:"direct"}]}]},{id:"hoverTextColor",show:"hover"===o.socialIconHover,label:(0,i.__)("Hover Text Color","gutenverse"),component:p.ColorControl,liveStyle:[{type:"color",id:"hoverTextColor",selector:".guten-social-icons .guten-social-icon #".concat(t,":hover span"),properties:[{name:"color",valueType:"direct"}]}]},{id:"__bgIconType",component:p.SwitchControl,options:[{value:"color",label:"Color"},{value:"gradient",label:"Gradient"}],onChange:function(e){var t=e.__bgIconType;return n(y(y({},o),{},{bgIconType:t}))}},{id:"bgColor",show:!(o.socialIconHover&&"normal"!==o.socialIconHover||o.bgIconType&&"color"!==o.bgIconType),label:(0,i.__)("Background Color","gutenverse"),component:p.ColorControl,liveStyle:[{type:"color",id:"bgColor",selector:".guten-social-icons.fill .guten-social-icon #".concat(t,", .guten-social-icons.border .guten-social-icon #").concat(t,", .guten-social-icons.custom .guten-social-icon #").concat(t),properties:[{name:"background-color",valueType:"direct"}]}]},{id:"hoverBgColor",show:"hover"===o.socialIconHover&&(!o.bgIconType||"color"===o.bgIconType),label:(0,i.__)("Hover Background Color","gutenverse"),component:p.ColorControl,liveStyle:[{type:"color",id:"hoverBgColor",selector:".guten-social-icons.fill .guten-social-icon #".concat(t,":hover, .guten-social-icons.border .guten-social-icon #").concat(t,":hover, .guten-social-icons.custom .guten-social-icon #").concat(t,":hover"),properties:[{name:"background-color",valueType:"direct"}]}]},{id:"bgGradient",show:(!o.socialIconHover||"normal"===o.socialIconHover)&&"gradient"===o.bgIconType,label:(0,i.__)("Background Gradient","gutenverse"),component:p.BackgroundControl,options:["gradient"],liveStyle:[{type:"background",id:"bgGradient",selector:".guten-social-icons.fill .guten-social-icon #".concat(t,", .guten-social-icons.border .guten-social-icon #").concat(t,", .guten-social-icons.custom .guten-social-icon #").concat(t)}]},{id:"hoverBgGradient",show:"hover"===o.socialIconHover&&"gradient"===o.bgIconType,label:(0,i.__)("Hover Background Gradient","gutenverse"),component:p.BackgroundControl,options:["gradient"],liveStyle:[{type:"background",id:"hoverBgGradient",selector:".guten-social-icons.fill .guten-social-icon #".concat(t,":hover, .guten-social-icons.border .guten-social-icon #").concat(t,":hover, .guten-social-icons.custom .guten-social-icon #").concat(t,":hover")}]}]},m=o(2619);function v(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function h(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?v(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):v(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var b=function(e){return(0,m.applyFilters)("gutenverse.dynamic-content-options",[{component:p.LockedDynamicContentControl}],h(h({},e),{},{blockType:"icon"}))};function f(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function x(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?f(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):f(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var w=function(){return[{title:(0,i.__)("Content","gutenverse"),panelArray:u,initialOpen:!0,tabRole:p.TabSetting},{title:(0,i.__)("Dynamic Item Url","gutenverse"),panelArray:b,initialOpen:!1,tabRole:p.TabSetting,pro:!0},{title:(0,i.__)("Color","gutenverse"),panelArray:g,initialOpen:!1,tabRole:p.TabStyle},{title:(0,i.__)("Display","gutenverse"),initialOpen:!1,panelArray:p.responsivePanel,tabRole:p.TabSetting},{title:(0,i.__)("Border","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,p.borderPanel)(x(x({},e),{},{selector:"#".concat(e.elementId),styleId:"social-icon-border"}))},tabRole:p.TabStyle},{title:(0,i.__)("Masking","gutenverse"),initialOpen:!1,panelArray:p.maskPanel,tabRole:p.TabStyle},{title:(0,i.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,p.animationPanel)(x(x({},e),{},{styleId:"social-icon-animation"}))},tabRole:p.TabSetting},{title:(0,i.__)("Advanced Animation","gutenverse"),initialOpen:!1,panelAdvance:!0,panelArray:function(e){return(0,p.advanceAnimationPanel)(x(x({},e),{},{blockType:"social-icon"}))},pro:!0},{title:(0,i.__)("Condition","gutenverse"),panelArray:p.conditionPanel,initialOpen:!1,pro:!0}]},S=o(5795),_=o(1222),j=o(6427),T=o(8558),O=o(2774),C=o(6504),k=o(2188),P=o(6826),N=o(4633),E=o.n(N),D=o(4320),B=o(4404);const A=function(e,t){var o=[];return o=function(e,t,o){return(0,_.isNotEmpty)(t.iconColor)&&o.push({type:"color",id:"iconColor",selector:".guten-social-icons.fill .guten-social-icon #".concat(e," i, .guten-social-icons.border .guten-social-icon #").concat(e," i, .guten-social-icons.custom .guten-social-icon #").concat(e," i"),properties:[{name:"color",valueType:"direct"}]}),(0,_.isNotEmpty)(t.iconColor)&&o.push({type:"color",id:"iconColor",selector:".guten-social-icons.border .guten-social-icon #".concat(e),properties:[{name:"border-color",valueType:"direct"}]}),(0,_.isNotEmpty)(t.textColor)&&o.push({type:"color",id:"textColor",selector:".guten-social-icons .guten-social-icon #".concat(e," span"),properties:[{name:"color",valueType:"direct"}]}),(0,_.isNotEmpty)(t.hoverIconColor)&&o.push({type:"color",id:"hoverIconColor",selector:".guten-social-icons.fill .guten-social-icon #".concat(e,":hover i, .guten-social-icons.border .guten-social-icon #").concat(e,":hover i, .guten-social-icons.custom .guten-social-icon #").concat(e,":hover i"),properties:[{name:"color",valueType:"direct"}]}),(0,_.isNotEmpty)(t.hoverIconColor)&&o.push({type:"color",id:"hoverIconColor",selector:".guten-social-icons.border .guten-social-icon #".concat(e,":hover"),properties:[{name:"border-color",valueType:"direct"}]}),(0,_.isNotEmpty)(t.hoverTextColor)&&o.push({type:"color",id:"hoverTextColor",selector:".guten-social-icons .guten-social-icon #".concat(e,":hover span"),properties:[{name:"color",valueType:"direct"}]}),(0,_.isNotEmpty)(t.bgColor)&&o.push({type:"color",id:"bgColor",selector:".guten-social-icons.fill .guten-social-icon #".concat(e,", .guten-social-icons.border .guten-social-icon #").concat(e,", .guten-social-icons.custom .guten-social-icon #").concat(e),properties:[{name:"background-color",valueType:"direct"}]}),(0,_.isNotEmpty)(t.hoverBgColor)&&o.push({type:"color",id:"hoverBgColor",selector:".guten-social-icons.fill .guten-social-icon #".concat(e,":hover, .guten-social-icons.border .guten-social-icon #").concat(e,":hover, .guten-social-icons.custom .guten-social-icon #").concat(e,":hover"),properties:[{name:"background-color",valueType:"direct"}]}),(0,_.isNotEmpty)(t.bgGradient)&&o.push({type:"background",id:"bgGradient",selector:".guten-social-icons.fill .guten-social-icon #".concat(e,", .guten-social-icons.border .guten-social-icon #").concat(e,", .guten-social-icons.custom .guten-social-icon #").concat(e)}),(0,_.isNotEmpty)(t.hoverBgGradient)&&o.push({type:"background",id:"hoverBgGradient",selector:".guten-social-icons.fill .guten-social-icon #".concat(e,":hover, .guten-social-icons.border .guten-social-icon #").concat(e,":hover, .guten-social-icons.custom .guten-social-icon #").concat(e,":hover")}),o}(e,t,o),o=function(e,t,o){return(0,_.isNotEmpty)(t.iconSize)&&o.push({type:"unitPoint",id:"iconSize",responsive:!0,properties:[{name:"font-size",valueType:"direct"}],selector:".guten-social-icon #".concat(e," i")}),(0,_.isNotEmpty)(t.typography)&&o.push({type:"typography",id:"typography",selector:".guten-social-icon #".concat(e," span")}),(0,_.isNotEmpty)(t.borderRadius)&&o.push({type:"dimension",id:"borderRadius",properties:[{name:"border-radius",valueType:"direct",multiDimension:!1}],selector:".guten-social-icons .guten-social-icon a#".concat(e)}),o}(e,t,o),(0,_.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,_.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,_.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,_.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,_.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,_.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,_.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,_.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,_.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,_.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,_.isNotEmpty)(t.animation)&&(0,_.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,_.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,_.isNotEmpty)(t.positioningType)&&(0,_.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,_.isNotEmpty)(t.positioningWidth)&&(0,_.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,_.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,_.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,_.isNotEmpty)(t.positioningLeft)&&(0,_.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,_.isNotEmpty)(t.positioningRight)&&(0,_.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,_.isNotEmpty)(t.positioningTop)&&(0,_.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,_.isNotEmpty)(t.positioningBottom)&&(0,_.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),[].concat((0,B.A)(o),(0,B.A)((0,m.applyFilters)("gutenverse.social-icon.blockStyle",[],{elementId:e,attributes:t})))};var H=o(790);function R(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function I(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?R(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):R(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var M="noreferrer noopener",L=(0,s.compose)(k.withPartialRender,k.withPassRef,(0,k.withAnimationAdvanceV2)("social-icon"))((function(e){var t=(0,a.useState)(!1),o=(0,r.A)(t,2),n=o[0],s=o[1],u=e.attributes,d=e.setAttributes,y=e.isSelected,g=e.clientId,v=e.setBlockRef,h=u.elementId,b=u.icon,f=u.text,x=u.url,k=u.linkTarget,N=u.rel,B=u.dynamicUrl,R=(0,_.useRichTextParameter)(),L=R.panelState,z=R.setPanelState,F=R.setPanelIsClicked,V=R.panelIsClicked,W=(0,P.useDisplayEditor)(u),G=(0,P.useAnimationEditor)(u),U=(0,_.getSocialType)(b),q=(0,a.useRef)(),$=(0,a.useState)(),Y=(0,r.A)($,2),X=Y[0],J=Y[1],Q=(0,l.useBlockProps)({className:(0,c.classnames)("guten-element","guten-social-icon","no-margin",h,U,G,W),ref:q}),Z=(0,a.useCallback)((function(e){var t=e?"_blank":void 0,o=N;t&&!N?o=M:t||N!==M||(o=void 0),d({linkTarget:t,rel:o})}),[N,d]),K={panel:"setting",section:1};return(0,D.useGenerateElementId)(g,h,q),(0,D.useDynamicStyle)(h,u,A,q),(0,D.useDynamicScript)(q),(0,a.useEffect)((function(){var e=E()(B)||!(0,_.isOnEditor)()?B:(0,m.applyFilters)("gutenverse.dynamic.fetch-url",B);"function"==typeof e.then&&!E()(B)&&e.then((function(e){(!Array.isArray(e)||e.length>0)&&void 0!==e&&e!==X?J(e):e!==X&&J(void 0)})).catch((function(){})),d(void 0!==X?{url:X,isDynamic:!0}:{url:x})}),[B,X]),(0,a.useEffect)((function(){q&&v(q)}),[q]),(0,H.jsxs)(H.Fragment,{children:[(0,H.jsx)(c.CopyElementToolbar,I({},e)),(0,H.jsx)(l.InspectorControls,{children:(0,H.jsx)(c.SelectParent,I(I({},e),{},{children:(0,i.__)("Modify Icon Group","gutenverse")}))}),(0,H.jsx)(p.BlockPanelController,{panelList:w,props:e,elementRef:q,panelState:L,setPanelIsClicked:F}),n&&(0,S.createPortal)((0,H.jsx)(p.IconLibrary,{closeLibrary:function(){return s(!1)},value:b,onChange:function(e){return d({icon:e})}}),_.gutenverseRoot),(0,H.jsx)(l.BlockControls,{children:(0,H.jsxs)(j.ToolbarGroup,{children:[(0,m.applyFilters)("gutenverse.button.url-toolbar",(0,H.jsx)(O.URLToolbar,{url:x,setAttributes:d,isSelected:y,opensInNewTab:"_blank"===k,onToggleOpenInNewTab:Z,anchorRef:Q.ref,usingDynamic:!0,setPanelState:z,panelState:K,title:"Item Link",panelIsClicked:V,setPanelIsClicked:F}),e,K),(0,H.jsx)(j.ToolbarButton,{name:"icon",icon:(0,H.jsx)(C.LogoCircleColor24SVG,{}),title:(0,i.__)("Choose Icon","gutenverse"),shortcut:T.displayShortcut.primary("i"),onClick:function(){return s(!0)}})]})}),(0,H.jsx)("div",I(I({},Q),{},{children:(0,H.jsxs)("a",{id:h,children:[(0,H.jsx)("i",{className:b}),(0,H.jsx)(l.RichText,{tagName:"span","aria-label":(0,i.__)("Button text"),placeholder:(0,i.__)("Add text…"),value:f,onChange:function(e){return d({text:e})},withoutInteractiveFormatting:!0,identifier:"text"})]})}))]})}));const z=L;function F(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function V(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?F(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):F(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var W=(0,s.compose)((0,k.withAnimationAdvanceScript)("social-icon"))((function(e){var t=e.attributes,o=t.elementId,n=t.icon,r=t.text,i=t.url,a=t.linkTarget,s=t.rel,p=t.ariaLabel,u=(0,P.useAnimationAdvanceData)(t),d=(0,P.useAnimationFrontend)(t),y=(0,P.useDisplayFrontend)(t),g=(0,_.getSocialType)(n),v=(0,c.classnames)("guten-element","guten-social-icon",o,g,d,y),h=(0,m.applyFilters)("gutenverse.dynamic.generate-url",i,"dynamicUrl",t,o);return(0,H.jsx)("div",V(V({},l.useBlockProps.save(V({className:v},u))),{},{children:(0,H.jsxs)("a",{id:o,href:h,target:a,rel:s,"aria-label":p,children:[(0,H.jsx)("i",{className:n}),r&&(0,H.jsx)(l.RichText.Content,{value:r,tagName:"span"})]})}))}));const G=W,U=JSON.parse('{"apiVersion":2,"name":"gutenverse/social-icon","title":"Social Icon Item","parent":["gutenverse/social-icons"],"description":"Show social networks link to your website visitors.","category":"gutenverse-element","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"url":{"type":"string","source":"attribute","selector":"a","attribute":"href"},"dynamicUrl":{"type":"object","default":{}},"isDynamic":{"type":"boolean","default":false},"linkTarget":{"type":"string","source":"attribute","selector":"a","attribute":"target"},"rel":{"type":"string","source":"attribute","selector":"a","attribute":"rel"},"ariaLabel":{"type":"string","copyStyle":true},"icon":{"type":"string","source":"attribute","selector":"i","attribute":"class","default":"fab fa-wordpress"},"text":{"type":"string","source":"html","selector":"span"},"iconColor":{"type":"object","copyStyle":true},"bgColor":{"type":"object","copyStyle":true},"textColor":{"type":"object","copyStyle":true},"border":{"type":"object","copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"borderHover":{"type":"object","copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"hoverIconColor":{"type":"object","copyStyle":true},"hoverBgColor":{"type":"object","copyStyle":true},"hoverTextColor":{"type":"object","copyStyle":true},"hoverBorderColor":{"type":"object","copyStyle":true},"forceHideText":{"type":"boolean","default":false,"copyStyle":true},"iconSize":{"type":"object","copyStyle":true},"typography":{"type":"object","copyStyle":true},"animation":{"type":"object","default":{},"copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"advanceAnimation":{"type":"object","default":{},"copyStyle":true},"mask":{"type":"object","copyStyle":true},"condition":{"type":"object","default":{}},"bgGradient":{"type":"object","copyStyle":true},"hoverBgGradient":{"type":"object","copyStyle":true}},"supports":{"className":false},"keywords":["social","icon","gutenverse"]}');var q=o(4889);function $(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Y(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?$(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):$(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var X=(0,s.compose)((0,k.withAnimationAdvanceScript)("social-icon"))((function(e){var t=e.attributes,o=t.elementId,n=t.icon,r=t.text,i=t.url,a=t.linkTarget,s=t.rel,p=(0,P.useAnimationAdvanceData)(t),u=(0,P.useAnimationFrontend)(t),d=(0,P.useDisplayFrontend)(t),y=(0,_.getSocialType)(n),g=(0,c.classnames)("guten-element","guten-social-icon",o,y,u,d);return(0,H.jsx)("div",Y(Y({className:g},p),{},{children:(0,H.jsxs)("a",{id:o,href:i,target:a,rel:s,children:[(0,H.jsx)("i",{className:n}),(0,H.jsx)(l.RichText.Content,{value:r,tagName:"span"})]})}))}));const J=X;var Q=U.name,Z=U.attributes,K={icon:(0,H.jsx)(q.Vn,{}),edit:z,save:G,deprecated:[{attributes:Z,save:J}]}},596:e=>{"use strict";e.exports=gutenverseCore.controls},688:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>h,name:()=>v,settings:()=>b});var n=o(4404),r=o(6065),i=o(7723),a=o(4597),s=o(9491),l=o(2188),c=o(9984),p=o(2449),u=o(4889),d=o(790);function y(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function g(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?y(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):y(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var m=(0,s.compose)(l.withPartialRender,(0,l.withCustomStyle)(a.d))((function(e){var t=g(g({},e),{},{shareType:"pinterest",serverPath:"gutenverse/social-share-pinterest"});return(0,d.jsx)(c.A,g({},t))})),v="gutenverse/social-share-pinterest",h=g(g({},p),{},{title:(0,i.__)("Gutenverse Social Share Pinterest","gutenverse"),description:(0,i.__)("Gutenverse Social Share Pinterest","gutenverse"),attributes:g(g({},p.attributes),{},{text:{type:"string",default:(0,i.__)("Share on Pinterest","gutenverse")}}),keywords:[].concat((0,n.A)(p.keywords),[(0,i.__)("pinterest","gutenverse")])}),b={icon:(0,d.jsx)(u.Pm,{}),edit:m}},790:e=>{"use strict";e.exports=window.ReactJSXRuntime},864:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>q,name:()=>Z,settings:()=>ee});var n=o(6065),r=o(8930),i=o(9491),a=o(7723),s=o(6087),l=o(4715),c=o(3482),p=o(596),u=o(5795),d=o(4320);function y(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function g(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?y(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):y(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var m=function(e){var t=e.elementId,o=e.switcher,n=e.setSwitcher;return[{id:"__iconClr",component:p.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__iconClr;return n(g(g({},o),{},{iconClr:t}))}},{id:"iconColorTwo",show:!o.iconClr||"normal"===o.iconClr,label:(0,a.__)("Normal Color","gutenverse"),component:p.ColorControl,liveStyle:[{id:"iconColorTwo",type:"color",selector:".".concat(t," .guten-icon-wrapper.stacked i"),properties:[{name:"color",valueType:"direct"}]},{id:"iconColorTwo",type:"color",selector:".".concat(t," .guten-icon-wrapper.framed"),properties:[{name:"background-color",valueType:"direct"}]}]},{id:"iconColorOne",show:!o.iconClr||"normal"===o.iconClr,label:(0,a.__)("Normal Background Color","gutenverse"),component:p.ColorControl,liveStyle:[{id:"iconColorOne",type:"color",selector:".".concat(t," .guten-icon-wrapper.framed i"),properties:[{name:"color",valueType:"direct"}]},{id:"iconColorOne",type:"color",selector:".".concat(t," .guten-icon-wrapper.framed"),properties:[{name:"border-color",valueType:"direct"}]},{id:"iconColorOne",type:"color",selector:".".concat(t," .guten-icon-wrapper.stacked"),properties:[{name:"background-color",valueType:"direct"}]}]},{id:"iconColorHoverTwo",show:"hover"===o.iconClr,label:(0,a.__)("Hover Color","gutenverse"),component:p.ColorControl,liveStyle:[{id:"iconColorHoverTwo",type:"color",selector:".".concat(t," .guten-icon-wrapper.stacked:hover i"),properties:[{name:"color",valueType:"direct"}]},{id:"iconColorHoverTwo",type:"color",selector:".".concat(t," .guten-icon-wrapper.framed:hover"),properties:[{name:"background-color",valueType:"direct"}]}]},{id:"iconColorHoverOne",show:"hover"===o.iconClr,label:(0,a.__)("Hover Background Color","gutenverse"),component:p.ColorControl,liveStyle:[{id:"iconColorHoverOne",type:"color",selector:".".concat(t," .guten-icon-wrapper.framed:hover i"),properties:[{name:"color",valueType:"direct"}]},{id:"iconColorHoverOne",type:"color",selector:".".concat(t," .guten-icon-wrapper.framed:hover"),properties:[{name:"border-color",valueType:"direct"}]},{id:"iconColorHoverOne",type:"color",selector:".".concat(t," .guten-icon-wrapper.stacked:hover"),properties:[{name:"background-color",valueType:"direct"}]}]}]},v=o(790),h=function(e){var t=e.elementId,o=e.iconView,r=(e.iconBorderWidth,e.iconBorderRadius,e.iconShape),i=e.removeStyle;return[{id:"iconAlign",label:(0,a.__)("Icon Alignment","gutenverse"),component:p.IconRadioControl,allowDeviceControl:!0,options:[{label:(0,a.__)("Align Left","gutenverse"),value:"left",icon:(0,v.jsx)(c.AlignLeft,{})},{label:(0,a.__)("Align Center","gutenverse"),value:"center",icon:(0,v.jsx)(c.AlignCenter,{})},{label:(0,a.__)("Align Right","gutenverse"),value:"right",icon:(0,v.jsx)(c.AlignRight,{})}]},{id:"iconSize",label:(0,a.__)("Size","gutenverse"),component:p.SizeControl,allowDeviceControl:!0,units:{px:{text:"px",min:10,max:100,step:1},em:{text:"em",min:.6,max:6,step:.1}},liveStyle:[{type:"unitPoint",id:"iconSize",responsive:!0,properties:[{name:"font-size",valueType:"direct"}],selector:".".concat(t," i")}]},{id:"iconPadding",label:(0,a.__)("Padding","gutenverse"),component:p.RangeControl,allowDeviceControl:!0,unit:"px",min:0,max:100,step:1,liveStyle:[{type:"plain",id:"iconPadding",responsive:!0,properties:[{name:"padding",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}],selector:".".concat(t," .guten-icon-wrapper")}]},{id:"iconRotate",label:(0,a.__)("Rotate","gutenverse"),component:p.RangeControl,allowDeviceControl:!0,unit:"deg",min:0,max:360,step:1,liveStyle:[{type:"plain",id:"iconRotate",responsive:!0,properties:[{name:"transform",valueType:"pattern",pattern:"rotate({value}deg)",patternValues:{value:{type:"direct"}}}],selector:".".concat(t," .guten-icon-wrapper i")}]},{id:"iconView",label:(0,a.__)("Icon View","gutenverse"),component:p.SelectControl,options:[{label:"Framed",value:"framed"},{label:"Stacked",value:"stacked"}]},{id:"iconShape",label:(0,a.__)("Icon Shape","gutenverse"),component:p.SelectControl,onChange:function(e){"custom"!==e.iconShape&&(i("iconBorderWidth-style-0"),i("iconBorderRadius-style-0"))},options:[{label:"Square",value:"square"},{label:"Rounded",value:"rounded"},{label:"Circle",value:"circle"},{label:"Custom",value:"custom"}]},{id:"iconBorderWidth",label:(0,a.__)("Border Width","gutenverse"),component:p.DimensionControl,show:"custom"===r&&"framed"===o,position:["top","right","bottom","left"],units:(0,n.A)({px:{text:"px",unit:"px"}},"%",{text:"%",unit:"%"})},{id:"iconBorderRadius",label:(0,a.__)("Border Radius","gutenverse"),component:p.DimensionControl,show:"custom"===r,position:["top","right","bottom","left"],units:(0,n.A)({px:{text:"px",unit:"px"}},"%",{text:"%",unit:"%"})},{id:"ariaLabel",label:(0,a.__)("Aria Label","gutenverse"),component:p.TextControl}]},b=o(2619);function f(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function x(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?f(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):f(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var w=function(e){return(0,b.applyFilters)("gutenverse.dynamic-content-options",[{component:p.LockedDynamicContentControl}],x(x({},e),{},{blockType:"icon"}))};function S(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function _(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?S(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):S(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var j=function(){return[{title:(0,a.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,p.animationPanel)(_(_({},e),{},{styleId:"heading-animation"}))},tabRole:p.TabSetting},{title:(0,a.__)("Mouse Move Effect","gutenverse"),initialOpen:!1,panelArray:p.mouseMoveEffectPanel,tabRole:p.TabSetting,pro:!0},{title:(0,a.__)("Dynamic Data","gutenverse"),panelArray:w,initialOpen:!1,tabRole:p.TabSetting,pro:!0},{title:(0,a.__)("Advanced Animation","gutenverse"),initialOpen:!1,panelAdvance:!0,panelArray:function(e){return(0,p.advanceAnimationPanel)(_(_({},e),{},{blockType:"icon"}))},pro:!0},{title:(0,a.__)("Display","gutenverse"),initialOpen:!1,panelArray:p.responsivePanel,tabRole:p.TabSetting},{title:(0,a.__)("Positioning","gutenverse"),initialOpen:!1,panelArray:p.positioningPanel,tabRole:p.TabSetting},{title:(0,a.__)("Transform","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,p.transformPanel)(_(_({},e),{},{selector:".".concat(e.elementId," .guten-icon-wrapper"),hoverSelector:".".concat(e.elementId," .guten-icon-wrapper:hover")}))},pro:!0},{title:(0,a.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:p.advancePanel,tabRole:p.TabSetting},{title:(0,a.__)("Condition","gutenverse"),panelArray:p.conditionPanel,initialOpen:!1,pro:!0},{title:(0,a.__)("Icon","gutenverse"),panelArray:h,tabRole:p.TabStyle},{title:(0,a.__)("Icon Color","gutenverse"),initialOpen:!1,panelArray:m,tabRole:p.TabStyle},{title:(0,a.__)("Background","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,p.backgroundPanel)(_(_({},e),{},{styleId:"heading-background",normalOptions:["default","gradient"],hoverOptions:["default","gradient"]}))},tabRole:p.TabStyle},{title:(0,a.__)("Border","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,p.borderPanel)(_(_({},e),{},{styleId:"heading-border"}))},tabRole:p.TabStyle},{title:(0,a.__)("Masking","gutenverse"),initialOpen:!1,panelArray:p.maskPanel,tabRole:p.TabStyle}]},T=o(6427),O=o(2774),C=o(8558),k=o(1222),P=o(6504),N=o(2188),E=o(6826),D=o(4633),B=o.n(D),A=o(4404);const H=function(e,t){var o=[];return o=(0,p.backgroundStyle)({attributes:t,data:o,elementId:e}),(0,k.isNotEmpty)(t.iconAlign)&&o.push({type:"plain",id:"iconAlign",responsive:!0,selector:".".concat(e),properties:[{name:"text-align",valueType:"direct"}]}),(0,k.isNotEmpty)(t.iconSize)&&o.push({type:"unitPoint",id:"iconSize",properties:[{name:"font-size",valueType:"direct"}],selector:".".concat(e," i"),responsive:!0}),(0,k.isNotEmpty)(t.iconPadding)&&o.push({type:"plain",id:"iconPadding",responsive:!0,selector:".".concat(e," .guten-icon-wrapper"),properties:[{name:"padding",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,k.isNotEmpty)(t.iconRotate)&&o.push({type:"plain",id:"iconRotate",responsive:!0,selector:".".concat(e," .guten-icon-wrapper i"),properties:[{name:"transform",valueType:"pattern",pattern:"rotate({value}deg)",patternValues:{value:{type:"direct"}}}]}),(0,k.isNotEmpty)(t.iconShape)&&(0,k.isNotEmpty)(t.iconBorderWidth)&&"framed"===t.iconView&&"custom"===t.iconShape&&o.push({type:"dimension",id:"iconShape",properties:[{name:"border-width",valueType:"direct",multiDimension:!1,minimumValue:2}],selector:".".concat(e," .guten-icon-wrapper")}),(0,k.isNotEmpty)(t.iconShape)&&(0,k.isNotEmpty)(t.iconBorderRadius)&&"custom"===t.iconShape&&o.push({type:"dimension",id:"iconShape",properties:[{name:"border-radius",valueType:"direct",multiDimension:!1}],selector:".".concat(e," .guten-icon-wrapper")}),(0,k.isNotEmpty)(t.iconBorderWidth)&&"framed"===t.iconView&&"custom"===t.iconShape&&o.push({type:"dimension",id:"margin",properties:[{name:"border-width",valueType:"direct",multiDimension:!1,minimumValue:2}],selector:".".concat(e," .guten-icon-wrapper")}),(0,k.isNotEmpty)(t.iconBorderRadius)&&"custom"===t.iconShape&&o.push({type:"dimension",id:"iconBorderRadius",properties:[{name:"border-radius",valueType:"direct",multiDimension:!1}],selector:".".concat(e," .guten-icon-wrapper")}),(0,k.isNotEmpty)(t.iconColorOne)&&o.push({type:"color",id:"iconColorOne",selector:".".concat(e," .guten-icon-wrapper.framed i"),properties:[{name:"color",valueType:"direct"}]},{type:"color",id:"iconColorOne",selector:".".concat(e," .guten-icon-wrapper.framed"),properties:[{name:"border-color",valueType:"direct"}]},{type:"color",id:"iconColorOne",selector:".".concat(e," .guten-icon-wrapper.stacked"),properties:[{name:"background-color",valueType:"direct"}]}),(0,k.isNotEmpty)(t.iconColorTwo)&&o.push({type:"color",id:"iconColorTwo",selector:".".concat(e," .guten-icon-wrapper.stacked i"),properties:[{name:"color",valueType:"direct"}]},{type:"color",id:"iconColorTwo",selector:".".concat(e," .guten-icon-wrapper.framed"),properties:[{name:"background-color",valueType:"direct"}]}),(0,k.isNotEmpty)(t.iconColorHoverOne)&&o.push({type:"color",id:"iconColorHoverOne",selector:".".concat(e," .guten-icon-wrapper.framed:hover i"),properties:[{name:"color",valueType:"direct"}]},{type:"color",id:"iconColorHoverOne",selector:".".concat(e," .guten-icon-wrapper.framed:hover"),properties:[{name:"border-color",valueType:"direct"}]},{type:"color",id:"iconColorHoverOne",selector:".".concat(e," .guten-icon-wrapper.stacked:hover"),properties:[{name:"background-color",valueType:"direct"}]}),(0,k.isNotEmpty)(t.iconColorHoverTwo)&&o.push({type:"color",id:"iconColorHoverTwo",selector:".".concat(e," .guten-icon-wrapper.stacked:hover i"),properties:[{name:"color",valueType:"direct"}]},{type:"color",id:"iconColorHoverTwo",selector:".".concat(e," .guten-icon-wrapper.framed:hover"),properties:[{name:"background-color",valueType:"direct"}]}),(0,k.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,k.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,k.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,k.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,k.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,k.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,k.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,k.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,k.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,k.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,k.isNotEmpty)(t.animation)&&(0,k.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,k.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,k.isNotEmpty)(t.positioningType)&&(0,k.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,k.isNotEmpty)(t.positioningWidth)&&(0,k.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,k.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,k.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,k.isNotEmpty)(t.positioningLeft)&&(0,k.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,k.isNotEmpty)(t.positioningRight)&&(0,k.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,k.isNotEmpty)(t.positioningTop)&&(0,k.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,k.isNotEmpty)(t.positioningBottom)&&(0,k.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),[].concat((0,A.A)(o),(0,A.A)((0,b.applyFilters)("gutenverse.icon.blockStyle",[],{elementId:e,attributes:t})))};function R(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function I(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?R(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):R(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var M="noreferrer noopener",L=(0,i.compose)(N.withPartialRender,N.withPassRef,(0,N.withAnimationAdvanceV2)("icon"),N.withMouseMoveEffect)((function(e){var t=e.attributes,o=e.setAttributes,n=e.isSelected,i=e.clientId,y=e.setBlockRef,g=t.elementId,m=t.icon,h=t.iconShape,f=t.iconView,x=t.url,w=t.rel,S=t.linkTarget,_=t.dynamicUrl,N=(0,k.useRichTextParameter)(),D=N.panelState,A=N.setPanelState,R=N.setPanelIsClicked,L=N.panelIsClicked,z=(0,s.useState)(!1),F=(0,r.A)(z,2),V=F[0],W=F[1],G=(0,s.useRef)(),U=(0,E.useAnimationEditor)(t),q=(0,E.useDisplayEditor)(t),$=(0,s.useState)(),Y=(0,r.A)($,2),X=Y[0],J=Y[1],Q=(0,l.useBlockProps)({className:(0,c.classnames)("guten-element","guten-icon","no-margin",g,U,q),ref:G}),Z={className:(0,c.classnames)("guten-icon-wrapper",h,f)},K=(0,s.useCallback)((function(e){var t=e?"_blank":void 0,n=w;t&&!w?n=M:t||w!==M||(n=void 0),o({linkTarget:t,rel:n})}),[w,o]),ee={panel:"setting",section:2};return(0,d.useGenerateElementId)(i,g,G),(0,d.useDynamicStyle)(g,t,H,G),(0,d.useDynamicScript)(G),(0,s.useEffect)((function(){var e=B()(_)||!(0,k.isOnEditor)()?_:(0,b.applyFilters)("gutenverse.dynamic.fetch-url",_);"function"==typeof e.then&&!B()(_)&&e.then((function(e){(!Array.isArray(e)||e.length>0)&&void 0!==e&&e!==X?J(e):e!==X&&J(void 0)})).catch((function(){})),o(void 0!==X?{url:X,isDynamic:!0}:{url:x})}),[_,X]),(0,s.useEffect)((function(){G&&y(G)}),[G]),(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(c.CopyElementToolbar,I({},e)),(0,v.jsx)(p.BlockPanelController,{panelList:j,props:e,elementRef:G,panelState:D,setPanelIsClicked:R}),(0,v.jsx)(l.BlockControls,{children:(0,v.jsxs)(T.ToolbarGroup,{children:[(0,b.applyFilters)("gutenverse.button.url-toolbar",(0,v.jsx)(O.URLToolbar,{url:x,setAttributes:o,isSelected:n,opensInNewTab:"_blank"===S,onToggleOpenInNewTab:K,anchorRef:Q.ref,usingDynamic:!0,setPanelState:A,panelState:ee,panelIsClicked:L,setPanelIsClicked:R}),e,ee),(0,v.jsx)(T.ToolbarButton,{name:"icon",icon:(0,v.jsx)(P.LogoCircleColor24SVG,{}),title:(0,a.__)("Choose Icon","gutenverse"),shortcut:C.displayShortcut.primary("i"),onClick:function(){return W(!0)}})]})}),(0,v.jsxs)("div",I(I({},Q),{},{children:[V&&(0,u.createPortal)((0,v.jsx)(p.IconLibrary,{closeLibrary:function(){return W(!1)},value:m,onChange:function(e){return o({icon:e})}}),k.gutenverseRoot),(0,v.jsx)("div",I(I({},Z),{},{children:(0,v.jsx)("i",{className:"".concat(m),onClick:function(){return W(!0)}})}))]}))]})}));const z=L;var F=o(8468);function V(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function W(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?V(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):V(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var G=(0,i.compose)((0,N.withAnimationAdvanceScript)("icon"),N.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,n=t.icon,r=t.url,i=t.ariaLabel,a=t.linkTarget,s=t.rel,p=t.iconShape,u=t.iconView,d=(0,E.useAnimationAdvanceData)(t),y=(0,E.useAnimationFrontend)(t),g=(0,E.useDisplayFrontend)(t),m=(0,c.classnames)("guten-element",o,"guten-icon",y,g),h=(0,c.classnames)("guten-icon-wrapper",p,u),f=function(){var e=(0,b.applyFilters)("gutenverse.dynamic.generate-url",r,"dynamicUrl",t,o);return(0,F.isEmpty)(r)?(0,v.jsx)("span",{className:h,children:(0,v.jsx)("i",{className:"".concat(n)})}):(0,v.jsx)("a",{className:h,href:e,target:a,rel:s,"aria-label":i,children:(0,v.jsx)("i",{className:"".concat(n)})})};return(0,v.jsx)("div",W(W({},l.useBlockProps.save(W({className:m},d))),{},{children:(0,v.jsx)(f,{})}))}));const U=G,q=JSON.parse('{"apiVersion":2,"name":"gutenverse/icon","title":"Icon","description":"Add a beautiful icon with more than 100 icon options","category":"gutenverse-element","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"mouseMoveEffect":{"type":"object","copyStyle":true},"icon":{"type":"string","default":"fab fa-wordpress"},"iconAlign":{"type":"object","copyStyle":true},"ariaLabel":{"type":"string","copyStyle":true},"iconColorOne":{"type":"object","copyStyle":true},"iconSize":{"type":"object","copyStyle":true},"iconPadding":{"type":"object","copyStyle":true},"iconRotate":{"type":"object","copyStyle":true},"iconColorTwo":{"type":"object","copyStyle":true},"iconColorHoverOne":{"type":"object","copyStyle":true},"iconColorHoverTwo":{"type":"object","copyStyle":true},"iconView":{"type":"string","default":"stacked","copyStyle":true},"iconShape":{"type":"string","default":"rounded","copyStyle":true},"iconBorderWidth":{"type":"object","copyStyle":true},"iconBorderRadius":{"type":"object","copyStyle":true},"url":{"type":"string"},"dynamicUrl":{"type":"object","default":{}},"isDynamic":{"type":"boolean","default":false},"linkTarget":{"type":"string","source":"attribute","selector":"a","attribute":"target"},"rel":{"type":"string","source":"attribute","selector":"a","attribute":"rel"},"animation":{"type":"object","default":{},"copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"background":{"type":"object","default":{},"copyStyle":true},"backgroundHover":{"type":"object","default":{},"copyStyle":true},"backgroundTransition":{"type":"object","copyStyle":true,"default":{}},"border":{"type":"object","default":{},"copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"borderHover":{"type":"object","default":{},"copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadowHover":{"type":"object","copyStyle":true},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"positioningType":{"type":"object","copyStyle":true},"positioningWidth":{"type":"object","copyStyle":true},"positioningAlign":{"type":"object","copyStyle":true},"positioningLocation":{"type":"string","copyStyle":true},"positioningLeft":{"type":"object","copyStyle":true},"positioningRight":{"type":"object","copyStyle":true},"positioningTop":{"type":"object","copyStyle":true},"positioningBottom":{"type":"object","copyStyle":true},"advanceAnimation":{"type":"object","default":{},"copyStyle":true},"transform":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"condition":{"type":"object","default":{}}},"keywords":["icon"]}');var $=o(4889);function Y(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function X(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Y(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Y(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var J=(0,i.compose)((0,N.withAnimationAdvanceScript)("icon"),N.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,n=t.icon,r=t.url,i=t.ariaLabel,a=t.linkTarget,s=t.rel,p=t.iconShape,u=t.iconView,d=(0,E.useAnimationAdvanceData)(t),y=(0,E.useAnimationFrontend)(t),g=(0,E.useDisplayFrontend)(t),m=(0,c.classnames)("guten-element",o,"guten-icon",y,g),h=(0,c.classnames)("guten-icon-wrapper",p,u),f=function(){var e=(0,b.applyFilters)("gutenverse.dynamic.generate-url",r,"dynamicUrl",t,o);return(0,F.isEmpty)(r)?(0,v.jsx)("a",{className:h,href:"#",children:(0,v.jsx)("i",{className:"".concat(n)})}):(0,v.jsx)("a",{className:h,href:e,target:a,rel:s,"aria-label":i,children:(0,v.jsx)("i",{className:"".concat(n)})})};return(0,v.jsx)("div",X(X({},l.useBlockProps.save(X({className:m},d))),{},{children:(0,v.jsx)(f,{})}))}));const Q=J;var Z=q.name,K=q.attributes,ee={icon:(0,v.jsx)($.Iu,{}),example:{attributes:{iconAlign:{Desktop:"center"},iconColorOne:{r:64,g:107,b:247,a:1},iconSize:{Desktop:{point:"54",unit:"px"}},iconColorTwo:{r:255,g:255,b:255,a:1},iconView:"framed",iconShape:"circle",iconBorderRadius:{unit:"px"},boxShadow:{position:"outline"},boxShadowHover:{position:"outline"}}},edit:z,save:U,deprecated:[{attributes:K,save:Q}]}},869:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>P,name:()=>E,settings:()=>D});var n=o(6065),r=o(9491),i=o(4715),a=o(3482),s=o(596),l=o(7723),c=function(e){var t=e.elementId;return[{id:"location",label:(0,l.__)("Location","gutenverse"),component:s.TextControl},{id:"zoom",label:(0,l.__)("Map Zoom","gutenverse"),component:s.RangeControl,min:1,max:22,allowDeviceControl:!1},{id:"height",label:(0,l.__)("Map Height","gutenverse"),component:s.RangeControl,min:40,max:1440,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"height",responsive:!0,properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}],selector:".".concat(t,".gutenverse-maps iframe")}]}]},p=o(1222);function u(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function d(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?u(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):u(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var y=function(e){var t=e.switcher,o=e.setSwitcher;return[{id:"__mapHover",component:s.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var n=e.__mapHover;return o(d(d({},t),{},{mapType:n}))}},{id:"mapFilter",show:!t.mapType||"normal"===t.mapType,label:(0,l.__)("Map Filter","gutenverse"),component:s.ImageFilterControl},{id:"mapFilterHover",show:"hover"===t.mapType,label:(0,l.__)("Map Hover Filter","gutenverse"),component:s.ImageFilterControl}]};function g(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function m(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?g(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):g(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var v=function(){return[{title:(0,l.__)("Content","gutenverse"),panelArray:c,initialOpen:!0,tabRole:s.TabSetting},{title:(0,l.__)("Display","gutenverse"),initialOpen:!1,panelArray:s.responsivePanel,tabRole:s.TabSetting},{title:(0,l.__)("Positioning","gutenverse"),initialOpen:!1,panelArray:s.positioningPanel,tabRole:s.TabSetting},{title:(0,l.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,s.animationPanel)(m(m({},e),{},{styleId:"google-maps-animation"}))},tabRole:s.TabSetting},{title:(0,l.__)("Transform","gutenverse"),initialOpen:!1,panelArray:s.transformPanel,pro:!0},{title:(0,l.__)("Mouse Move Effect","gutenverse"),initialOpen:!1,panelArray:s.mouseMoveEffectPanel,tabRole:s.TabSetting,pro:!0},{title:(0,l.__)("Advanced Animation","gutenverse"),initialOpen:!1,panelAdvance:!0,panelArray:function(e){return(0,s.advanceAnimationPanel)(m(m({},e),{},{blockType:"google-maps"}))},pro:!0},{title:(0,l.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,s.advancePanel)(m(m({},e),{},{styleId:"google-maps-advance"}))},tabRole:s.TabSetting},{title:(0,l.__)("Condition","gutenverse"),panelArray:s.conditionPanel,initialOpen:!1,pro:!0},{title:(0,l.__)("Style","gutenverse"),panelArray:y,initialOpen:!0,tabRole:s.TabStyle},{title:(0,l.__)("Background","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,s.backgroundPanel)(m(m({},e),{},{styleId:"google-maps-background",normalOptions:["default","gradient"],hoverOptions:["default","gradient"]}))},tabRole:s.TabStyle},{title:(0,l.__)("Border","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,s.borderPanel)(m(m({},e),{},{styleId:"google-maps-border"}))},tabRole:s.TabStyle},{title:(0,l.__)("Masking","gutenverse"),initialOpen:!1,panelArray:s.maskPanel,tabRole:s.TabStyle}]},h=o(6087),b=o(2188),f=o(6826),x=o(4320);const w=function(e,t){var o=[];return o=(0,s.backgroundStyle)({attributes:t,data:o,elementId:e}),(0,p.isNotEmpty)(t.height)&&o.push({type:"plain",id:"height",responsive:!0,selector:".".concat(e,".gutenverse-maps iframe"),properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,p.isNotEmpty)(t.mapFilter)&&o.push({type:"plain",id:"mapFilter",selector:".".concat(e,".gutenverse-maps iframe"),properties:[{name:"filter",valueType:"function",functionName:"handleFilterImage"}]}),(0,p.isNotEmpty)(t.mapFilterHover)&&o.push({type:"plain",id:"mapFilterHover",selector:".".concat(e,".gutenverse-maps iframe:hover"),properties:[{name:"filter",valueType:"function",functionName:"handleFilterImage"}]}),(0,p.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,p.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,p.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,p.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,p.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,p.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,p.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,p.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,p.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,p.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,p.isNotEmpty)(t.animation)&&(0,p.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,p.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,p.isNotEmpty)(t.positioningType)&&(0,p.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,p.isNotEmpty)(t.positioningWidth)&&(0,p.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,p.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,p.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,p.isNotEmpty)(t.positioningLeft)&&(0,p.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,p.isNotEmpty)(t.positioningRight)&&(0,p.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,p.isNotEmpty)(t.positioningTop)&&(0,p.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,p.isNotEmpty)(t.positioningBottom)&&(0,p.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),o};var S=o(790);function _(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function j(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?_(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):_(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const T=(0,r.compose)(b.withPartialRender,b.withPassRef,(0,b.withAnimationAdvanceV2)("google-maps"),b.withMouseMoveEffect)((function(e){var t=e.attributes,o=e.isSelected,n=e.clientId,r=e.setBlockRef,l=t.elementId,c=t.location,u=t.zoom,d=(0,h.useRef)(),y=(0,f.useAnimationEditor)(t),g=(0,f.useDisplayEditor)(t),m=(0,i.useBlockProps)({className:(0,a.classnames)("guten-element","gutenverse-maps","no-margin",!o&&["select-handler"],l,g,y),ref:d});(0,x.useGenerateElementId)(n,l,d),(0,x.useDynamicStyle)(l,t,w,d),(0,x.useDynamicScript)(d);var b={q:c,z:u,t:"m",output:"embed",iwloc:"near"},_={frameBorder:0,scrolling:"no",marginHeight:0,marginWidth:0,src:"https://maps.google.com/maps?"+(0,p.encodeDataToURL)(b),title:b.q};return(0,h.useEffect)((function(){d&&r(d)}),[d]),(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(a.CopyElementToolbar,j({},e)),(0,S.jsx)(s.BlockPanelController,{panelList:v,props:e,elementRef:d}),(0,S.jsx)("div",j(j({},m),{},{children:(0,S.jsx)("iframe",j({},_))}))]})}));function O(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function C(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?O(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):O(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const k=(0,r.compose)((0,b.withAnimationAdvanceScript)("google-maps"),b.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,n=t.location,r=t.zoom,s=(0,f.useAnimationAdvanceData)(t),l=(0,f.useAnimationFrontend)(t),c=(0,f.useDisplayFrontend)(t),u=(0,a.classnames)("guten-element","gutenverse-maps",o,l,c),d={q:n,z:r,t:"m",output:"embed",iwloc:"near"},y={frameBorder:0,scrolling:"no",marginHeight:0,marginWidth:0,src:"https://maps.google.com/maps?"+(0,p.encodeDataToURL)(d),title:d.q};return(0,S.jsx)("div",C(C({},i.useBlockProps.save(C({className:u},s))),{},{children:(0,S.jsx)("iframe",C({},y))}))})),P=JSON.parse('{"apiVersion":2,"name":"gutenverse/google-maps","title":"Google Maps","description":"Display a location you want to share to your website visitor.","category":"gutenverse-element","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"mouseMoveEffect":{"type":"object","copyStyle":true},"location":{"type":"string","default":"New York"},"zoom":{"type":"string","default":"13"},"height":{"type":"object","copyStyle":true},"mapFilter":{"type":"object","copyStyle":true},"mapFilterHover":{"type":"object","copyStyle":true},"background":{"type":"object","default":{},"copyStyle":true},"backgroundHover":{"type":"object","default":{},"copyStyle":true},"backgroundTransition":{"type":"object","copyStyle":true,"default":{}},"border":{"type":"object","default":{},"copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"borderHover":{"type":"object","default":{},"copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"boxShadowHover":{"type":"object","copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"animation":{"type":"object","default":{},"copyStyle":true},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"positioningType":{"type":"object","copyStyle":true},"positioningWidth":{"type":"object","copyStyle":true},"positioningAlign":{"type":"object","copyStyle":true},"positioningLocation":{"type":"string","copyStyle":true},"positioningLeft":{"type":"object","copyStyle":true},"positioningRight":{"type":"object","copyStyle":true},"positioningTop":{"type":"object","copyStyle":true},"positioningBottom":{"type":"object","copyStyle":true},"advanceAnimation":{"type":"object","default":{},"copyStyle":true},"transform":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"condition":{"type":"object","default":{}}},"supports":{"className":false},"keywords":["google","map","direction","path"]}');var N=o(4889);var E=P.name,D={icon:(0,S.jsx)(N.ET,{}),example:{attributes:{}},edit:T,save:k}},951:e=>{e.exports=function(e,t){return function(o){return e(t(o))}}},995:(e,t,o)=>{"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=Array(t);o<t;o++)n[o]=e[o];return n}o.d(t,{A:()=>n})},1004:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>U,name:()=>Q,settings:()=>ee});var n=o(6065),r=o(9491),i=o(4715),a=o(3482),s=o(596),l=o(7723),c=function(e){var t=e.elementId;return[{id:"featureList",component:s.RepeaterControl,titleFormat:'<strong><%= value.title ? value.title : "Feature List" %></strong>',repeaterDefault:{type:"icon"},options:[{id:"title",label:(0,l.__)("Title","gutenverse"),component:s.TextControl},{id:"content",label:(0,l.__)("Content","gutenverse"),component:s.TextareaControl},{id:"link",label:(0,l.__)("Link","gutenverse"),component:s.TextControl},{id:"type",label:(0,l.__)("Icon Type","gutenverse"),component:s.SelectControl,options:[{value:"icon",label:"Icon"},{value:"image",label:"Image"},{value:"number",label:"Number"}]},{id:"image",label:(0,l.__)("Image","gutenverse"),show:function(e){return"image"===e.type},component:s.ImageControl},{id:"lazyLoad",label:(0,l.__)("Set Lazy Load","gutenverse"),show:function(e){return"image"===e.type},component:s.CheckboxControl},{id:"icon",label:(0,l.__)("Icon","gutenverse"),show:function(e){return"icon"===e.type},component:s.IconControl},{id:"number",label:(0,l.__)("Number","gutenverse"),show:function(e){return"number"===e.type},component:s.NumberControl}]},{id:"iconWrapperShape",label:(0,l.__)("Icon Wrapper Shape","gutenverse"),component:s.SelectControl,options:[{value:"square",label:"Square"},{value:"rhombus",label:"Rhombus"}]},{id:"iconPosition",label:(0,l.__)("Icon Wrapper Shape","gutenverse"),component:s.SelectControl,options:[{value:"left",label:"Left"},{value:"right",label:"Right"}]},{id:"showConnector",label:(0,l.__)("Show Connector","gutenverse"),component:s.CheckboxControl},{id:"listSpace",component:s.RangeControl,label:(0,l.__)("List Space","gutenverse"),allowDeviceControl:!0,unit:"px",min:1,max:100,step:1,liveStyle:[{type:"plain",id:"listSpace",selector:".".concat(t,".guten-feature-list"),responsive:!0,properties:[{name:"--space-between",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]},{type:"plain",id:"listSpace",responsive:!0,selector:".".concat(t,".guten-feature-list .feature-list-wrapper"),properties:[{name:"gap",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]}]},p=o(790),u=function(e){var t=e.elementId,o=e.showConnector;return[{id:"connector-notice",component:s.AlertControl,children:(0,p.jsx)(p.Fragment,{children:(0,p.jsx)("span",{children:(0,l.__)('This Panel Option Only Show If You Turn On "Show Connector" Option')})})},{id:"connectorStyle",label:(0,l.__)("Connector Style","gutenverse"),show:o,component:s.SelectControl,options:[{label:(0,l.__)("Default/Solid"),value:"solid"},{label:(0,l.__)("Dotted"),value:"dotted"},{label:(0,l.__)("Dashed"),value:"dashed"},{label:(0,l.__)("Double"),value:"double"}]},{id:"connectorColor",label:(0,l.__)("Connector Color","gutenverse"),component:s.ColorControl,show:o,liveStyle:[{type:"color",id:"connectorColor",selector:".".concat(t,".guten-feature-list .feature-list-wrapper .feature-list-item .connector-top, .").concat(t,".guten-feature-list .feature-list-wrapper .feature-list-item .connector-bottom"),properties:[{name:"border-color",valueType:"direct"}]}]},{id:"connectorWidth",label:(0,l.__)("Connector Width","gutenverse"),component:s.RangeControl,show:o,allowDeviceControl:!0,liveStyle:[{type:"plain",id:"connectorWidth",responsive:!0,selector:".".concat(t,".guten-feature-list .feature-list-wrapper .feature-list-item .connector-top, .").concat(t,".guten-feature-list .feature-list-wrapper .feature-list-item .connector-bottom"),properties:[{name:"border-width",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]},{type:"plain",id:"connectorWidth",selector:".".concat(t,".guten-feature-list"),responsive:!0,properties:[{name:"--connector-width",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]}]},d=o(4404),y=o(1222),g=o(2619),m=function(e,t){return t.map((function(t,o){var n=[];return(0,y.isNotEmpty)(t.iconSize)&&n.push({type:"unitPoint",id:"iconSize",responsive:!0,selector:".".concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item:nth-child(").concat(o+1,") .icon i"),properties:[{name:"font-size",valueType:"direct"}]},{type:"unitPoint",id:"iconSize",responsive:!0,selector:".".concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item:nth-child(").concat(o+1,") .icon img"),properties:[{name:"width",valueType:"direct"}]}),(0,y.isNotEmpty)(t.numberColor)&&n.push({type:"color",id:"numberColor",selector:".".concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item:nth-child(").concat(o+1,") .icon .icon-number"),properties:[{name:"color",valueType:"direct"}]}),(0,y.isNotEmpty)(t.numberColorHover)&&n.push({type:"color",id:"numberColorHover",selector:".".concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item:nth-child(").concat(o+1,"):hover .icon .icon-number"),properties:[{name:"color",valueType:"direct"}]}),(0,y.isNotEmpty)(t.numberTypography)&&n.push({type:"typography",id:"numberTypography",selector:".".concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item:nth-child(").concat(o+1,") .icon .icon-number")}),(0,y.isNotEmpty)(t.iconColor)&&n.push({type:"color",id:"iconColor",selector:".".concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item:nth-child(").concat(o+1,") .icon i"),properties:[{name:"color",valueType:"direct"}]}),(0,y.isNotEmpty)(t.iconColorHover)&&n.push({type:"color",id:"iconColorHover",selector:".".concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item:nth-child(").concat(o+1,"):hover .icon i"),properties:[{name:"color",valueType:"direct"}]}),(0,y.isNotEmpty)(t.iconBackground)&&n.push({type:"background",id:"iconBackground",selector:".".concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item:nth-child(").concat(o+1,") .icon")}),(0,y.isNotEmpty)(t.iconBackgroundHover)&&n.push({type:"background",id:"iconBackgroundHover",selector:".".concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item:nth-child(").concat(o+1,"):hover .icon")}),(0,y.isNotEmpty)(t.iconBorder)&&n.push({type:"borderResponsive",id:"iconBorder",selector:".".concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item:nth-child(").concat(o+1,") .icon")}),(0,y.isNotEmpty)(t.iconBorderHover)&&n.push({type:"borderResponsive",id:"iconBorderHover",selector:".".concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item:nth-child(").concat(o+1,"):hover .icon")}),n}))};const v=function(e,t){var o=[];if(o=(0,s.backgroundStyle)({attributes:t,data:o,elementId:e}),(0,y.isNotEmpty)(t.connectorStyle)&&o.push({type:"plain",id:"connectorStyle",selector:".".concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item .connector"),properties:[{name:"border-style",valueType:"direct"}]}),(0,y.isNotEmpty)(t.connectorStyle)&&o.push({type:"plain",id:"connectorStyle",selector:".".concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item .connector-top, .").concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item .connector-bottom"),properties:[{name:"border-style",valueType:"direct"}]}),(0,y.isNotEmpty)(t.connectorStyle)&&"solid"!=t.connectorStyle&&"double"!=t.connectorStyle&&"center"==t.contentPosition&&o.push({type:"plain",id:"connectorStyle",selector:".".concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item .connector-top"),properties:[{name:"top",valueType:"static",staticValue:"var(--connector-width)"}]}),(0,y.isNotEmpty)(t.connectorColor)&&o.push({type:"color",id:"connectorColor",selector:".".concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item .connector"),properties:[{name:"border-color",valueType:"direct"}]}),(0,y.isNotEmpty)(t.connectorColor)&&o.push({type:"color",id:"connectorColor",selector:".".concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item .connector-top, .").concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item .connector-bottom"),properties:[{name:"border-color",valueType:"direct"}]}),(0,y.isNotEmpty)(t.connectorWidth)&&o.push({type:"plain",id:"connectorWidth",responsive:!0,selector:".".concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item .connector"),properties:[{name:"border-width",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,y.isNotEmpty)(t.connectorWidth)&&o.push({type:"plain",id:"connectorWidth",responsive:!0,selector:".".concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item .connector-top, .").concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item .connector-bottom"),properties:[{name:"border-width",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,y.isNotEmpty)(t.connectorWidth)&&o.push({type:"plain",id:"connectorWidth",selector:".".concat(e,".guten-feature-list"),responsive:!0,properties:[{name:"--connector-width",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,y.isNotEmpty)(t.contentPosition)&&o.push({type:"plain",id:"contentPosition",selector:".".concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item"),properties:[{name:"align-items",valueType:"direct"}]}),(0,y.isNotEmpty)(t.contentPosition)&&"start"===t.contentPosition&&o.push({type:"plain",id:"contentPosition",selector:".".concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item .connector-top"),properties:[{name:"display",valueType:"static",staticValue:"none !important"}]}),(0,y.isNotEmpty)(t.contentPosition)&&"start"===t.contentPosition&&o.push({type:"plain",id:"contentPosition",selector:".".concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item .connector-bottom"),properties:[{name:"top",valueType:"static",staticValue:"calc(var(--icon-size)) !important"}]}),(0,y.isNotEmpty)(t.contentPosition)&&"start"===t.contentPosition&&o.push({type:"plain",id:"contentPosition",selector:".".concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item .connector-bottom"),properties:[{name:"height",valueType:"static",staticValue:"calc(100% + var(--space-between) - var(--icon-size) ) !important"}]}),(0,y.isNotEmpty)(t.contentPosition)&&"end"===t.contentPosition&&o.push({type:"plain",id:"contentPosition",selector:".".concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item .connector-bottom"),properties:[{name:"display",valueType:"static",staticValue:"none !important"}]}),(0,y.isNotEmpty)(t.contentPosition)&&"end"===t.contentPosition&&o.push({type:"plain",id:"contentPosition",selector:".".concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item .connector-top"),properties:[{name:"top",valueType:"static",staticValue:"calc(var(--space-between) * -1) !important"}]}),(0,y.isNotEmpty)(t.contentPosition)&&"end"===t.contentPosition&&o.push({type:"plain",id:"contentPosition",selector:".".concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item .connector-top"),properties:[{name:"height",valueType:"static",staticValue:"calc(100% + var(--space-between) - var(--icon-size)) !important"}]}),(0,y.isNotEmpty)(t.contentSpace)&&o.push({type:"unitPoint",id:"contentSpace",responsive:!0,selector:".".concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item .feature-list-content .feature-list-title"),properties:[{name:"margin-bottom",valueType:"direct"}]}),(0,y.isNotEmpty)(t.titleTypography)&&o.push({type:"typography",id:"titleTypography",selector:".".concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item .feature-list-content .feature-list-title")}),(0,y.isNotEmpty)(t.descTypography)&&o.push({type:"typography",id:"descTypography",selector:".".concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item .feature-list-content .feature-list-desc")}),(0,y.isNotEmpty)(t.titleColor)&&o.push({type:"color",id:"titleColor",selector:".".concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item .feature-list-content .feature-list-title"),properties:[{name:"color",valueType:"direct"}]}),(0,y.isNotEmpty)(t.descColor)&&o.push({type:"color",id:"descColor",selector:".".concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item .feature-list-content .feature-list-desc"),properties:[{name:"color",valueType:"direct"}]}),(0,y.isNotEmpty)(t.titleColorHover)&&o.push({type:"color",id:"titleColorHover",selector:".".concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item:hover .feature-list-content .feature-list-title"),properties:[{name:"color",valueType:"direct"}]}),(0,y.isNotEmpty)(t.descColorHover)&&o.push({type:"color",id:"descColorHover",selector:".".concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item:hover .feature-list-content .feature-list-desc"),properties:[{name:"color",valueType:"direct"}]}),(0,y.isNotEmpty)(t.iconWrapperSize)&&o.push({type:"plain",id:"iconWrapperSize",responsive:!0,selector:".".concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item .icon-wrapper .icon"),properties:[{name:"width",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}},{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,y.isNotEmpty)(t.iconWrapperSize)&&o.push({type:"plain",id:"iconWrapperSize",selector:".".concat(e,".guten-feature-list"),responsive:!0,properties:[{name:"--icon-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,y.isNotEmpty)(t.iconContentSpacing)&&o.push({type:"unitPoint",id:"iconContentSpacing",responsive:!0,selector:".".concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item"),properties:[{name:"gap",valueType:"direct"}]}),(0,y.isNotEmpty)(t.iconSize)&&o.push({type:"unitPoint",id:"iconSize",responsive:!0,selector:".".concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item .icon i"),properties:[{name:"font-size",valueType:"direct"}]},{type:"unitPoint",id:"iconSize",responsive:!0,selector:".".concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item .icon img"),properties:[{name:"width",valueType:"direct"}]}),(0,y.isNotEmpty)(t.iconColor)&&o.push({type:"color",id:"iconColor",selector:".".concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item .icon i"),properties:[{name:"color",valueType:"direct"}]}),(0,y.isNotEmpty)(t.iconColorHover)&&o.push({type:"color",id:"iconColorHover",selector:".".concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item:hover .icon i"),properties:[{name:"color",valueType:"direct"}]}),(0,y.isNotEmpty)(t.numberColor)&&o.push({type:"color",id:"numberColor",selector:".".concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item .icon .icon-number"),properties:[{name:"color",valueType:"direct"}]}),(0,y.isNotEmpty)(t.numberColorHover)&&o.push({type:"color",id:"numberColorHover",selector:".".concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item:hover .icon .icon-number"),properties:[{name:"color",valueType:"direct"}]}),(0,y.isNotEmpty)(t.numberTypography)&&o.push({type:"typography",id:"numberTypography",selector:".".concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item .icon .icon-number")}),(0,y.isNotEmpty)(t.iconBackground)&&o.push({type:"background",id:"iconBackground",selector:".".concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item .icon")}),(0,y.isNotEmpty)(t.iconBackgroundHover)&&o.push({type:"background",id:"iconBackgroundHover",selector:".".concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item:hover .icon")}),(0,y.isNotEmpty)(t.iconBorder)&&o.push({type:"borderResponsive",id:"iconBorder",selector:".".concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item .icon")}),(0,y.isNotEmpty)(t.iconBorderHover)&&o.push({type:"borderResponsive",id:"iconBorderHover",selector:".".concat(e,".guten-feature-list .feature-list-wrapper .feature-list-item:hover .icon")}),(0,y.isNotEmpty)(t.featureList)){var n=m(e,t.featureList);o.push({type:"repeater",id:"featureList",repeaterOpt:n})}if((0,y.isNotEmpty)(t.iconWrapperShape)){var r="";r="rhombus"===t.iconWrapperShape?"rotate(45deg);":"rotate(0deg);",o.push({type:"plain",id:"iconWrapperShape",selector:".".concat(e,".guten-feature-list .feature-list-wrapper .icon-wrapper .icon"),properties:[{name:"transform",valueType:"pattern",pattern:r}]});var i="";i="rhombus"===t.iconWrapperShape?"rotate(-45deg);":"rotate(0deg);",o.push({type:"plain",id:"iconWrapperShape",selector:".".concat(e,".guten-feature-list .feature-list-wrapper .icon-wrapper .icon > *"),properties:[{name:"transform",valueType:"pattern",pattern:i}]})}return(0,y.isNotEmpty)(t.listSpace)&&o.push({type:"plain",id:"listSpace",responsive:!0,selector:".".concat(e,".guten-feature-list .feature-list-wrapper"),properties:[{name:"gap",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]},{type:"plain",id:"listSpace",selector:".".concat(e,".guten-feature-list"),responsive:!0,properties:[{name:"--space-between",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,y.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,y.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,y.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,y.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,y.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,y.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,y.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,y.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,y.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,y.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,y.isNotEmpty)(t.animation)&&(0,y.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,y.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,y.isNotEmpty)(t.positioningType)&&(0,y.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,y.isNotEmpty)(t.positioningWidth)&&(0,y.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,y.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,y.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,y.isNotEmpty)(t.positioningLeft)&&(0,y.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,y.isNotEmpty)(t.positioningRight)&&(0,y.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,y.isNotEmpty)(t.positioningTop)&&(0,y.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,y.isNotEmpty)(t.positioningBottom)&&(0,y.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),[].concat((0,d.A)(o),(0,d.A)((0,g.applyFilters)("gutenverse.feature-list.blockStyle",[],{elementId:e,attributes:t})))};function h(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function b(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?h(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):h(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var f=function(e){var t=e.elementId,o=e.switcher,n=e.setSwitcher,r=e.featureList;return[{id:"__iconStyleSwitch",component:s.SwitchControl,options:[{value:"all",label:"All"},{value:"single",label:"Single"}],onChange:function(e){var t=e.__iconStyleSwitch;return n(b(b({},o),{},{iconStyleSwitch:t}))}},{id:"iconSize",component:s.SizeControl,label:(0,l.__)("Size","gutenverse"),show:"all"===o.iconStyleSwitch||!o.iconStyleSwitch,allowDeviceControl:!0,liveStyle:[{type:"unitPoint",id:"iconSize",responsive:!0,selector:".".concat(t,".guten-feature-list .feature-list-wrapper .feature-list-item .icon i"),properties:[{name:"font-size",valueType:"direct"}]},{type:"unitPoint",id:"iconSize",responsive:!0,selector:".".concat(t,".guten-feature-list .feature-list-wrapper .feature-list-item .icon img"),properties:[{name:"width",valueType:"direct"}]}]},{id:"__allIconStyleSwitch",component:s.SwitchControl,show:"all"===o.iconStyleSwitch||!o.iconStyleSwitch,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__allIconStyleSwitch;return n(b(b({},o),{},{allIconStyleSwitch:t}))}},{id:"iconColor",label:(0,l.__)("Icon Color","gutenverse"),component:s.ColorControl,show:!("all"!==o.iconStyleSwitch&&o.iconStyleSwitch||"normal"!==o.allIconStyleSwitch&&o.allIconStyleSwitch),liveStyle:[{type:"color",id:"iconColor",selector:".".concat(t,".guten-feature-list .feature-list-wrapper .feature-list-item .icon i"),properties:[{name:"color",valueType:"direct"}]}]},{id:"iconColorHover",label:(0,l.__)("Icon Color","gutenverse"),component:s.ColorControl,show:("all"===o.iconStyleSwitch||!o.iconStyleSwitch)&&"hover"===o.allIconStyleSwitch,liveStyle:[{type:"color",id:"iconColorHover",selector:".".concat(t,".guten-feature-list .feature-list-wrapper .feature-list-item:hover .icon i"),properties:[{name:"color",valueType:"direct"}]}]},{id:"featureList",component:s.RepeaterControl,titleFormat:'<strong><%= value.title ? value.title : "Feature List" %></strong>',isAddNew:!1,show:"single"===o.iconStyleSwitch,options:[{id:"iconSize",component:s.SizeControl,label:(0,l.__)("Size","gutenverse"),allowDeviceControl:!0},{id:"__singleIconStyleSwitch",component:s.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__singleIconStyleSwitch;return n(b(b({},o),{},{singleIconStyleSwitch:t}))}},{id:"iconColor",label:(0,l.__)("Icon Color","gutenverse"),component:s.ColorControl,show:function(){return"normal"===o.singleIconStyleSwitch||!o.singleIconStyleSwitch}},{id:"iconColorHover",label:(0,l.__)("Icon Color","gutenverse"),component:s.ColorControl,show:function(){return"hover"===o.singleIconStyleSwitch}}],liveStyle:[{type:"repeater",id:"featureList",repeaterOpt:m(t,r)}]}]};function x(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function w(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?x(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):x(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var S=function(e){var t=e.switcher,o=e.setSwitcher,r=e.elementId;return[{id:"contentPosition",label:(0,l.__)("Content Position","gutenverse"),component:s.SelectControl,options:[{label:(0,l.__)("Top"),value:"start"},{label:(0,l.__)("Middle"),value:"center"},{label:(0,l.__)("Bottom"),value:"end"}]},{id:"contentSpace",label:(0,l.__)("Title Bottom Space","gutenverse"),component:s.SizeControl,allowDeviceControl:!0,units:(0,n.A)({px:{text:"px",min:1,max:200,step:1,unit:"px"},em:{text:"em",min:.1,max:10,step:.1,unit:"em"},rem:{text:"rem",min:.1,max:10,step:.1,unit:"rem"}},"%",{text:"%",min:1,max:100,step:1,unit:"%"}),liveStyle:[{type:"unitPoint",id:"contentSpace",responsive:!0,selector:".".concat(r,".guten-feature-list .feature-list-wrapper .feature-list-item .feature-list-content .feature-list-title"),properties:[{name:"margin-bottom",valueType:"direct"}]}]},{id:"titleTypography",label:(0,l.__)("Title Typography","gutenverse"),component:s.TypographyControl},{id:"descTypography",label:(0,l.__)("Description Typography","gutenverse"),component:s.TypographyControl},{id:"__colorSwitch",component:s.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var n=e.__colorSwitch;return o(w(w({},t),{},{colorSwitch:n}))}},{id:"titleColor",label:(0,l.__)("Title Color","gutenverse"),component:s.ColorControl,show:"normal"===t.colorSwitch||!t.colorSwitch,liveStyle:[{type:"color",id:"titleColor",selector:".".concat(r,".guten-feature-list .feature-list-wrapper .feature-list-item .feature-list-content .feature-list-title"),properties:[{name:"color",valueType:"direct"}]}]},{id:"descColor",label:(0,l.__)("Description Color","gutenverse"),component:s.ColorControl,show:"normal"===t.colorSwitch||!t.colorSwitch,liveStyle:[{type:"color",id:"descColor",selector:".".concat(r,".guten-feature-list .feature-list-wrapper .feature-list-item .feature-list-content .feature-list-desc"),properties:[{name:"color",valueType:"direct"}]}]},{id:"titleColorHover",label:(0,l.__)("Title Color","gutenverse"),component:s.ColorControl,show:"hover"===t.colorSwitch,liveStyle:[{type:"color",id:"titleColorHover",selector:".".concat(r,".guten-feature-list .feature-list-wrapper .feature-list-item:hover .feature-list-content .feature-list-title"),properties:[{name:"color",valueType:"direct"}]}]},{id:"descColorHover",label:(0,l.__)("Description Color","gutenverse"),component:s.ColorControl,show:"hover"===t.colorSwitch,liveStyle:[{type:"color",id:"descColorHover",selector:".".concat(r,".guten-feature-list .feature-list-wrapper .feature-list-item:hover .feature-list-content .feature-list-desc"),properties:[{name:"color",valueType:"direct"}]}]}]};function _(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function j(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?_(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):_(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var T=function(e){var t=e.elementId,o=e.switcher,r=e.setSwitcher,i=e.featureList;return[{id:"__iconWrapperStyleSwitch",component:s.SwitchControl,options:[{value:"all",label:"All"},{value:"single",label:"Single"}],onChange:function(e){var t=e.__iconWrapperStyleSwitch;return r(j(j({},o),{},{iconWrapperStyleSwitch:t}))}},{id:"iconWrapperSize",label:(0,l.__)("Size","gutenverse"),show:"all"===o.iconWrapperStyleSwitch||!o.iconWrapperStyleSwitch,component:s.RangeControl,min:10,max:500,allowDeviceControl:!0,liveStyle:[{type:"plain",id:"iconWrapperSize",responsive:!0,selector:".".concat(t,".guten-feature-list .feature-list-wrapper .feature-list-item .icon-wrapper .icon"),properties:[{name:"width",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}},{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]},{type:"plain",id:"iconWrapperSize",selector:".".concat(t,".guten-feature-list"),responsive:!0,properties:[{name:"--icon-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"iconContentSpacing",component:s.SizeControl,label:(0,l.__)("Content Spacing","gutenverse"),allowDeviceControl:!0,show:"all"===o.iconWrapperStyleSwitch||!o.iconWrapperStyleSwitch,units:(0,n.A)((0,n.A)({px:{text:"px",min:1,max:1e3,step:1,unit:"px"}},"%",{text:"%",min:1,max:100,step:1,unit:"%"}),"vh",{text:"vh",min:1,max:100,step:1,unit:"vh"}),liveStyle:[{type:"unitPoint",id:"iconContentSpacing",responsive:!0,selector:".".concat(t,".guten-feature-list .feature-list-wrapper .feature-list-item"),properties:[{name:"gap",valueType:"direct"}]}]},{id:"__allIconWrapperStyleSwitch",component:s.SwitchControl,show:"all"===o.iconWrapperStyleSwitch||!o.iconWrapperStyleSwitch,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__allIconWrapperStyleSwitch;return r(j(j({},o),{},{allIconWrapperStyleSwitch:t}))}},{id:"iconBackground",component:s.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],show:!("all"!==o.iconWrapperStyleSwitch&&o.iconWrapperStyleSwitch||"normal"!==o.allIconWrapperStyleSwitch&&o.allIconWrapperStyleSwitch),liveStyle:[{type:"background",id:"iconBackground",selector:".".concat(t,".guten-feature-list .feature-list-wrapper .feature-list-item .icon")}]},{id:"iconBackgroundHover",component:s.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],show:("all"===o.iconWrapperStyleSwitch||!o.iconWrapperStyleSwitch)&&"hover"===o.allIconWrapperStyleSwitch,liveStyle:[{type:"background",id:"iconBackgroundHover",selector:".".concat(t,".guten-feature-list .feature-list-wrapper .feature-list-item:hover .icon")}]},{id:"iconBorder",show:!("all"!==o.iconWrapperStyleSwitch&&o.iconWrapperStyleSwitch||"normal"!==o.allIconWrapperStyleSwitch&&o.allIconWrapperStyleSwitch),label:(0,l.__)("Border","gutenverse"),component:s.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"iconBorder",selector:".".concat(t,".guten-feature-list .feature-list-wrapper .feature-list-item .icon")}]},{id:"iconBorderHover",show:("all"===o.iconWrapperStyleSwitch||!o.iconWrapperStyleSwitch)&&"hover"===o.allIconWrapperStyleSwitch,label:(0,l.__)("Border","gutenverse"),component:s.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"iconBorderHover",selector:".".concat(t,".guten-feature-list .feature-list-wrapper .feature-list-item:hover .icon")}]},{id:"featureList",component:s.RepeaterControl,titleFormat:'<strong><%= value.title ? value.title : "Feature List" %></strong>',isAddNew:!1,show:"single"===o.iconWrapperStyleSwitch,options:[{id:"__singleIconWrapperStyleSwitch",component:s.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__singleIconWrapperStyleSwitch;return r(j(j({},o),{},{singleIconWrapperStyleSwitch:t}))}},{id:"iconBackground",component:s.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],show:function(){return"normal"===o.singleIconWrapperStyleSwitch||!o.singleIconWrapperStyleSwitch}},{id:"iconBackgroundHover",component:s.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],show:function(){return"hover"===o.singleIconWrapperStyleSwitch}},{id:"iconBorder",show:function(){return"normal"===o.singleIconWrapperStyleSwitch||!o.singleIconWrapperStyleSwitch},label:(0,l.__)("Border","gutenverse"),component:s.BorderResponsiveControl,allowDeviceControl:!0},{id:"iconBorderHover",show:function(){return"hover"===o.singleIconWrapperStyleSwitch},label:(0,l.__)("Border","gutenverse"),component:s.BorderResponsiveControl,allowDeviceControl:!0}],liveStyle:[{type:"repeater",id:"featureList",repeaterOpt:m(t,i)}]}]};function O(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function C(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?O(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):O(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var k=function(e){var t=e.elementId,o=e.switcher,n=e.setSwitcher,r=e.featureList;return[{id:"__numberStyleSwitch",component:s.SwitchControl,options:[{value:"all",label:"All"},{value:"single",label:"Single"}],onChange:function(e){var t=e.__numberStyleSwitch;return n(C(C({},o),{},{numberStyleSwitch:t}))}},{id:"numberTypography",component:s.TypographyControl,label:(0,l.__)("Typography","gutenverse"),show:"all"===o.numberStyleSwitch||!o.numberStyleSwitch},{id:"__allNumberStyleSwitch",component:s.SwitchControl,show:"all"===o.numberStyleSwitch||!o.numberStyleSwitch,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__allNumberStyleSwitch;return n(C(C({},o),{},{allNumberStyleSwitch:t}))}},{id:"numberColor",label:(0,l.__)("Color","gutenverse"),component:s.ColorControl,show:!("all"!==o.numberStyleSwitch&&o.numberStyleSwitch||"normal"!==o.allNumberStyleSwitch&&o.allNumberStyleSwitch),liveStyle:[{type:"color",id:"numberColor",selector:".".concat(t,".guten-feature-list .feature-list-wrapper .feature-list-item .icon .icon-number"),properties:[{name:"color",valueType:"direct"}]}]},{id:"numberColorHover",label:(0,l.__)("Color","gutenverse"),component:s.ColorControl,show:("all"===o.numberStyleSwitch||!o.numberStyleSwitch)&&"hover"===o.allNumberStyleSwitch,liveStyle:[{type:"color",id:"numberColorHover",selector:".".concat(t,".guten-feature-list .feature-list-wrapper .feature-list-item:hover .icon .icon-number"),properties:[{name:"color",valueType:"direct"}]}]},{id:"featureList",component:s.RepeaterControl,titleFormat:'<strong><%= value.title ? value.title : "Feature List" %></strong>',isAddNew:!1,show:"single"===o.numberStyleSwitch,options:[{id:"numberTypography",component:s.TypographyControl,label:(0,l.__)("Typography","gutenverse")},{id:"__singleNumberStyleSwitch",component:s.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__singleNumberStyleSwitch;return n(C(C({},o),{},{singleNumberStyleSwitch:t}))}},{id:"numberColor",label:(0,l.__)("Color","gutenverse"),component:s.ColorControl,show:function(){return"normal"===o.singleNumberStyleSwitch||!o.singleNumberStyleSwitch}},{id:"numberColorHover",label:(0,l.__)("Color","gutenverse"),component:s.ColorControl,show:function(){return"hover"===o.singleNumberStyleSwitch}}],liveStyle:[{type:"repeater",id:"featureList",repeaterOpt:m(t,r)}]}]};function P(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function N(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?P(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):P(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var E=function(){return[{title:(0,l.__)("Setting","gutenverse"),initialOpen:!0,panelArray:c,tabRole:s.TabSetting},{title:(0,l.__)("Connector Style","gutenverse"),initialOpen:!0,panelArray:u,tabRole:s.TabStyle},{title:(0,l.__)("Icon Wrapper Style","gutenverse"),initialOpen:!1,panelArray:T,tabRole:s.TabStyle},{title:(0,l.__)("Icon/Image Style","gutenverse"),initialOpen:!1,panelArray:f,tabRole:s.TabStyle},{title:(0,l.__)("Number Style","gutenverse"),initialOpen:!1,panelArray:k,tabRole:s.TabStyle},{title:(0,l.__)("Content Style","gutenverse"),initialOpen:!1,panelArray:S,tabRole:s.TabStyle},{title:(0,l.__)("Background","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,s.backgroundPanel)(N(N({},e),{},{styleId:"icon-box-background",normalOptions:["default","gradient"],hoverOptions:["default","gradient"]}))},tabRole:s.TabStyle},{title:(0,l.__)("Border","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,s.borderPanel)(N(N({},e),{},{styleId:"icon-box-border"}))},tabRole:s.TabStyle},{title:(0,l.__)("Masking","gutenverse"),initialOpen:!1,panelArray:s.maskPanel,tabRole:s.TabStyle},{title:(0,l.__)("Display","gutenverse"),initialOpen:!1,panelArray:s.responsivePanel,tabRole:s.TabSetting},{title:(0,l.__)("Positioning","gutenverse"),initialOpen:!1,panelArray:s.positioningPanel,tabRole:s.TabSetting},{title:(0,l.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,s.animationPanel)(N(N({},e),{},{styleId:"icon-box-animation"}))},tabRole:s.TabSetting},{title:(0,l.__)("Transform","gutenverse"),initialOpen:!1,panelArray:s.transformPanel,pro:!0},{title:(0,l.__)("Mouse Move Effect","gutenverse"),initialOpen:!1,panelArray:s.mouseMoveEffectPanel,tabRole:s.TabSetting,pro:!0},{title:(0,l.__)("Advanced Animation","gutenverse"),initialOpen:!1,panelAdvance:!0,panelArray:function(e){return(0,s.advanceAnimationPanel)(N(N({},e),{},{blockType:"icon-box"}))},pro:!0},{title:(0,l.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,s.advancePanel)(N(N({},e),{},{styleId:"icon-box-advance"}))},tabRole:s.TabSetting},{title:(0,l.__)("Condition","gutenverse"),panelArray:s.conditionPanel,initialOpen:!1,pro:!0}]},D=o(6087),B=o(5255),A=o(2188),H=o(6826),R=o(4320);function I(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function M(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?I(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):I(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var L=(0,r.compose)(A.withPartialRender,A.withPassRef,(0,A.withAnimationAdvanceV2)("feature-list"),A.withMouseMoveEffect)((function(e){var t=e.attributes,o=e.clientId,n=e.setBlockRef,r=t.elementId,l=t.iconPosition,c=t.featureList,u=t.showConnector,d=(0,H.useAnimationEditor)(t),y=(0,H.useDisplayEditor)(t),g=(0,D.useRef)(null),m=(0,B.getDeviceType)();(0,R.useGenerateElementId)(o,r,g),(0,R.useDynamicStyle)(r,t,v,g),(0,R.useDynamicScript)(g);var h=(0,i.useBlockProps)({className:(0,a.classnames)("guten-element","guten-feature-list","no-margin",r,d,y),ref:g}),b=function(e,t){switch(e.type){case"icon":return(0,p.jsx)("div",{className:"icon-wrapper",children:(0,p.jsx)("div",{className:"icon",children:(0,p.jsx)("i",{className:e.icon})})});case"image":return(0,p.jsx)("div",{className:"icon-wrapper",children:(0,p.jsx)("div",{className:"icon",children:(0,p.jsx)("img",M({src:(0,B.getImageSrc)(e.image),alt:e.title},e.lazyLoad&&{loading:"lazy"}))})});case"number":return(0,p.jsx)("div",{className:"icon-wrapper",children:(0,p.jsx)("div",{className:"icon",children:(0,p.jsx)("span",{className:"icon-number",children:"number"!=typeof e.number||Number.isNaN(e.number)?t+1:e.number})})});default:return null}};return(0,D.useEffect)((function(){g&&n(g)}),[g]),(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(a.CopyElementToolbar,M({},e)),(0,p.jsx)(s.BlockPanelController,{panelList:E,props:e,deviceType:m,elementRef:g}),(0,p.jsx)("div",M(M({},h),{},{children:(0,p.jsx)("div",{className:"feature-list-wrapper",children:c.map((function(e,t){return(0,p.jsxs)("div",{className:"icon-position-".concat(l," feature-list-item"),children:[u&&0!=t&&(0,p.jsx)("span",{className:"connector-top icon-position-".concat(l)}),u&&t!=c.length-1&&(0,p.jsx)("span",{className:"connector-bottom icon-position-".concat(l)}),b(e,t),(0,p.jsxs)("div",{className:"feature-list-content",children:[e.link?(0,p.jsx)("a",{href:e.link,target:"_blank",rel:"noreferrer","aria-label":e.title,children:(0,p.jsx)("h2",{className:"feature-list-title",children:e.title})}):(0,p.jsx)("h2",{className:"feature-list-title",children:e.title}),(0,p.jsx)("p",{className:"feature-list-desc",children:e.content})]})]},t)}))})}))]})}));const z=L;function F(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function V(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?F(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):F(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var W=(0,r.compose)((0,A.withAnimationAdvanceScript)("icon-box"),A.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,n=t.iconPosition,r=t.featureList,s=t.showConnector,l=(0,H.useAnimationAdvanceData)(t),c=(0,H.useAnimationFrontend)(t),u=(0,H.useDisplayFrontend)(t),d=(0,a.classnames)("guten-element",o,c,u,"guten-feature-list"),y=function(e,t){switch(e.type){case"icon":return(0,p.jsx)("div",{className:"icon-wrapper",children:(0,p.jsx)("div",{className:"icon",children:(0,p.jsx)("i",{className:e.icon})})});case"image":return(0,p.jsx)("div",{className:"icon-wrapper",children:(0,p.jsx)("div",{className:"icon",children:(0,p.jsx)("img",V({src:(0,B.getImageSrc)(e.image),alt:e.title},e.lazyLoad&&{loading:"lazy"}))})});case"number":return(0,p.jsx)("div",{className:"icon-wrapper",children:(0,p.jsx)("div",{className:"icon",children:(0,p.jsx)("span",{className:"icon-number",children:"number"!=typeof e.number||Number.isNaN(e.number)?t+1:e.number})})});default:return null}};return(0,p.jsx)("div",V(V({},i.useBlockProps.save(V({className:d},l))),{},{children:(0,p.jsx)("div",{className:"feature-list-wrapper",children:r.map((function(e,t){return(0,p.jsxs)("div",{className:"icon-position-".concat(n," feature-list-item"),children:[s&&0!=t&&(0,p.jsx)("span",{className:"connector-top icon-position-".concat(n)}),s&&t!=r.length-1&&(0,p.jsx)("span",{className:"connector-bottom icon-position-".concat(n)}),y(e,t),(0,p.jsxs)("div",{className:"feature-list-content",children:[e.link?(0,p.jsx)("a",{href:e.link,target:"_blank",rel:"noreferrer","aria-label":e.title,children:(0,p.jsx)("h2",{className:"feature-list-title",children:e.title})}):(0,p.jsx)("h2",{className:"feature-list-title",children:e.title}),(0,p.jsx)("p",{className:"feature-list-desc",children:e.content})]})]},t)}))})}))}));const G=W,U=JSON.parse('{"apiVersion":2,"name":"gutenverse/feature-list","title":"Feature List","description":"Add an information section with icon box.","category":"gutenverse-element","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"featureList":{"type":"array","default":[{"title":"One","type":"icon","icon":"fas fa-check","content":"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s."},{"title":"Two","type":"icon","icon":"fas fa-check","content":"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s."},{"title":"Three","type":"icon","icon":"fas fa-check","content":"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s."}]},"iconWrapperShape":{"type":"string","default":"square","copyStyle":true},"iconPosition":{"type":"string","default":"left","copyStyle":true},"showConnector":{"type":"boolean","default":false,"copyStyle":true},"listSpace":{"type":"object","copyStyle":true},"connectorStyle":{"type":"string","default":"solid","copyStyle":true},"connectorColor":{"type":"object","copyStyle":true},"connectorWidth":{"type":"object","copyStyle":true},"numberTypography":{"type":"object","copyStyle":true},"numberColor":{"type":"object","copyStyle":true},"numberColorHover":{"type":"object","copyStyle":true},"iconWrapperSize":{"type":"object","copyStyle":true},"iconColor":{"type":"object","copyStyle":true},"iconBackground":{"type":"object","copyStyle":true},"iconBorder":{"type":"object","copyStyle":true},"iconColorHover":{"type":"object","copyStyle":true},"iconBackgroundHover":{"type":"object","copyStyle":true},"iconBorderHover":{"type":"object","copyStyle":true},"iconSize":{"type":"object","copyStyle":true},"iconContentSpacing":{"type":"object","copyStyle":true},"contentSpace":{"type":"object","copyStyle":true},"titleTypography":{"type":"object","copyStyle":true},"titleColor":{"type":"object","copyStyle":true},"descTypography":{"type":"object","copyStyle":true},"descColor":{"type":"object","copyStyle":true},"titleColorHover":{"type":"object","copyStyle":true},"descColorHover":{"type":"object","copyStyle":true},"contentPosition":{"type":"string","copyStyle":true},"mouseMoveEffect":{"type":"object","copyStyle":true},"background":{"type":"object","default":{},"copyStyle":true},"backgroundHover":{"type":"object","default":{},"copyStyle":true},"backgroundTransition":{"type":"object","copyStyle":true,"default":{}},"border":{"type":"object","default":{},"copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"borderHover":{"type":"object","default":{},"copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadowHover":{"type":"object","copyStyle":true},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"animation":{"type":"object","default":{},"copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"positioningType":{"type":"object","copyStyle":true},"positioningWidth":{"type":"object","copyStyle":true},"positioningAlign":{"type":"object","copyStyle":true},"positioningLocation":{"type":"string","copyStyle":true},"positioningLeft":{"type":"object","copyStyle":true},"positioningRight":{"type":"object","copyStyle":true},"positioningTop":{"type":"object","copyStyle":true},"positioningBottom":{"type":"object","copyStyle":true},"advanceAnimation":{"type":"object","default":{},"copyStyle":true},"transform":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"lazyLoad":{"type":"boolean","copyStyle":true},"condition":{"type":"object","default":{}},"hoverWithParent":{"type":"boolean","default":false,"copyStyle":true},"parentSelector":{"type":"string","copyStyle":true},"hasInnerBlocks":{"type":"boolean","default":false}},"supports":{"className":false},"keywords":["feature","list"]}');var q=o(4889);function $(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Y(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?$(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):$(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var X=(0,r.compose)((0,A.withAnimationAdvanceScript)("icon-box"),A.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,n=t.iconPosition,r=t.featureList,s=t.showConnector,l=(0,H.useAnimationAdvanceData)(t),c=(0,H.useAnimationFrontend)(t),u=(0,H.useDisplayFrontend)(t),d=(0,a.classnames)("guten-element",o,c,u,"guten-feature-list"),y=function(e){switch(e.type){case"icon":return(0,p.jsx)("div",{className:"icon-wrapper",children:(0,p.jsx)("div",{className:"icon",children:(0,p.jsx)("i",{className:e.icon})})});case"image":return(0,p.jsx)("div",{className:"icon-wrapper",children:(0,p.jsx)("div",{className:"icon",children:(0,p.jsx)("img",{src:(0,B.getImageSrc)(e.image),alt:e.title,loading:e.lazyLoad})})});default:return null}};return(0,p.jsx)("div",Y(Y({},i.useBlockProps.save(Y({className:d},l))),{},{children:(0,p.jsx)("div",{className:"feature-list-wrapper",children:r.map((function(e,t){return(0,p.jsxs)("div",{className:"icon-position-".concat(n," feature-list-item"),children:[s&&(0,p.jsx)("span",{className:"connector icon-position-".concat(n)}),y(e),(0,p.jsxs)("div",{className:"feature-list-content",children:[e.link?(0,p.jsx)("a",{href:e.link,target:"_blank",rel:"noreferrer","aria-label":e.title,children:(0,p.jsx)("h2",{className:"feature-list-title",children:e.title})}):(0,p.jsx)("h2",{className:"feature-list-title",children:e.title}),(0,p.jsx)("p",{className:"feature-list-desc",children:e.content})]})]},t)}))})}))}));const J=X;var Q=U.name,Z=U.attributes,K=U.supports,ee={icon:(0,p.jsx)(q.ID,{}),edit:z,save:G,deprecated:[{attributes:Z,supports:K,save:J}]}},1085:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>q,name:()=>$,settings:()=>Y});var n=o(4889),r=o(6065),i=o(6087),a=o(3482),s=o(7723),l=o(4715),c=o(6427),p=o(9491),u=o(2188),d=o(6826),y=o(596),g=o(790),m=function(){return[{id:"type",label:(0,s.__)("Heading Type","gutenverse"),component:y.SelectControl,options:[{label:(0,s.__)("H1"),value:1},{label:(0,s.__)("H2"),value:2},{label:(0,s.__)("H3"),value:3},{label:(0,s.__)("H4"),value:4},{label:(0,s.__)("H5"),value:5},{label:(0,s.__)("H6"),value:6}]},{id:"textAlign",label:(0,s.__)("Text Alignment","gutenverse"),component:y.IconRadioControl,allowDeviceControl:!0,options:[{label:(0,s.__)("Align Left","gutenverse"),value:"left",icon:(0,g.jsx)(a.AlignLeft,{})},{label:(0,s.__)("Align Center","gutenverse"),value:"center",icon:(0,g.jsx)(a.AlignCenter,{})},{label:(0,s.__)("Align Right","gutenverse"),value:"right",icon:(0,g.jsx)(a.AlignRight,{})},{label:(0,s.__)("Align Justify","gutenverse"),value:"justify",icon:(0,g.jsx)(a.AlignJustify,{})}]}]};function v(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function h(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?v(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):v(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var b=function(e){var t=e.elementId,o=e.containsAnchorTag,n=e.switcher,r=e.setSwitcher;return[{id:"color",label:(0,s.__)("Text color","gutenverse"),component:y.ColorControl,liveStyle:[{type:"color",id:"color",selector:"h1.guten-element.".concat(t,",h2.guten-element.").concat(t,",h3.guten-element.").concat(t,",h4.guten-element.").concat(t,",h5.guten-element.").concat(t,",h6.guten-element.").concat(t),properties:[{name:"color",valueType:"direct"}]}]},{id:"typography",label:(0,s.__)("Typography","gutenverse"),component:y.TypographyControl},{id:"textShadow",label:(0,s.__)("Text Shadow","gutenverse"),component:y.TextShadowControl,liveStyle:[{type:"textShadow",id:"textShadow",properties:[{name:"text-shadow",valueType:"direct"}],selector:"h1.guten-element.".concat(t,",h2.guten-element.").concat(t,",h3.guten-element.").concat(t,",h4.guten-element.").concat(t,",h5.guten-element.").concat(t,",h6.guten-element.").concat(t)}]},{id:"textStroke",label:(0,s.__)("Text Stroke","gutenverse"),component:y.TextStrokeControl,liveStyle:[{type:"textStroke",id:"textStroke",selector:"h1.guten-element.".concat(t,",h2.guten-element.").concat(t,",h3.guten-element.").concat(t,",h4.guten-element.").concat(t,",h5.guten-element.").concat(t,",h6.guten-element.").concat(t)}]},{id:"overflowWrap",label:(0,s.__)("Text Overflow Wrap","gutenverse"),description:(0,s.__)("If a word is longer than the container, choose whether to break it into a new line or not.","gutenverse"),allowDeviceControl:!0,component:y.SelectControl,options:[{label:(0,s.__)("Break Word","gutenverse"),value:"break-word"},{label:(0,s.__)("Normal","gutenverse"),value:"normal"}]},{id:"linkHeader",component:y.HeadingControl,label:(0,s.__)("Link","gutenverse"),show:o},{id:"__linkHover",component:y.SwitchControl,show:o,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__linkHover;return r(h(h({},n),{},{state:t}))}},{id:"linkColor",label:(0,s.__)("Link Color","gutenverse"),component:y.ColorControl,show:(!n.state||"normal"===n.state)&&o,liveStyle:[{type:"color",id:"linkColor",selector:".".concat(t," a"),properties:[{name:"color",valueType:"direct"}]}]},{id:"linkTypography",label:(0,s.__)("Link Typography","gutenverse"),component:y.TypographyControl,show:(!n.state||"normal"===n.state)&&o},{id:"linkColorHover",label:(0,s.__)("Link Color Hover","gutenverse"),component:y.ColorControl,show:"hover"===n.state&&o,liveStyle:[{type:"color",id:"linkColorHover",selector:".".concat(t," a:hover"),properties:[{name:"color",valueType:"direct"}]}]},{id:"linkTypographyHover",label:(0,s.__)("Link Typography Hover","gutenverse"),component:y.TypographyControl,show:"hover"===n.state&&o}]};function f(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function x(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?f(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):f(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var w=function(){return[{title:(0,s.__)("Content","gutenverse"),panelArray:m,tabRole:y.TabSetting},{title:(0,s.__)("Dynamic Data","gutenverse"),panelArray:function(e){return(0,y.dynamicContentPanel)(x(x({},e),{},{blockType:"text",arrOfTextChilds:["dynamicDataList"]}))},initialOpen:!1,tabRole:y.TabSetting,pro:!0},{title:(0,s.__)("Display","gutenverse"),initialOpen:!1,panelArray:y.responsivePanel,tabRole:y.TabSetting},{title:(0,s.__)("Positioning","gutenverse"),initialOpen:!1,panelArray:y.positioningPanel,tabRole:y.TabSetting},{title:(0,s.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,y.animationPanel)(x(x({},e),{},{styleId:"heading-animation"}))},tabRole:y.TabSetting},{title:(0,s.__)("Style","gutenverse"),panelArray:b,initialOpen:!1,tabRole:y.TabStyle},{title:(0,s.__)("Background","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,y.backgroundPanel)(x(x({},e),{},{normalOptions:["default","gradient"],hoverOptions:["default","gradient"]}))},tabRole:y.TabStyle},{title:(0,s.__)("Border","gutenverse"),initialOpen:!1,panelArray:y.borderPanel,tabRole:y.TabStyle},{title:(0,s.__)("Masking","gutenverse"),initialOpen:!1,panelArray:y.maskPanel,tabRole:y.TabStyle},{title:(0,s.__)("Text Clip","gutenverse"),initialOpen:!1,panelAdvance:!0,panelArray:function(e){var t=e.elementId;return(0,y.textClipPanel)(x(x({},e),{},{textClipSelector:".".concat(t),textClipId:"textClip"}))},pro:!0,tabRole:y.TabStyle},{title:(0,s.__)("Highlight Style","gutenverse"),panelArray:function(e){return(0,y.childStylePanel)(x(x({},e),{},{arrOfTextChilds:["textChilds"]}))},initialOpen:!1,tabRole:y.TabStyle,pro:!0},{title:(0,s.__)("Transform","gutenverse"),initialOpen:!1,panelArray:y.transformPanel,pro:!0},{title:(0,s.__)("Mouse Move Effect","gutenverse"),initialOpen:!1,panelArray:y.mouseMoveEffectPanel,tabRole:y.TabSetting,pro:!0},{title:(0,s.__)("Advance Animation","gutenverse"),initialOpen:!1,panelAdvance:!0,panelArray:function(e){return(0,y.advanceAnimationPanel)(x(x({},e),{},{blockType:"heading"}))},pro:!0},{title:(0,s.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:y.advancePanel,tabRole:y.TabSetting},{title:(0,s.__)("Condition","gutenverse"),panelArray:y.conditionPanel,initialOpen:!1,pro:!0}]},S=o(8558),_=o(2774),j=[1,2,3,4,5,6],T={className:"block-library-heading-level-dropdown",isAlternate:!0},O={1:"M9 5h2v10H9v-4H5v4H3V5h2v4h4V5zm6.6 0c-.6.9-1.5 1.7-2.6 2v1h2v7h2V5h-1.4z",2:"M7 5h2v10H7v-4H3v4H1V5h2v4h4V5zm8 8c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6V15h8v-2H15z",3:"M12.1 12.2c.4.3.8.5 1.2.7.4.2.9.3 1.4.3.5 0 1-.1 1.4-.3.3-.1.5-.5.5-.8 0-.2 0-.4-.1-.6-.1-.2-.3-.3-.5-.4-.3-.1-.7-.2-1-.3-.5-.1-1-.1-1.5-.1V9.1c.7.1 1.5-.1 2.2-.4.4-.2.6-.5.6-.9 0-.3-.1-.6-.4-.8-.3-.2-.7-.3-1.1-.3-.4 0-.8.1-1.1.3-.4.2-.7.4-1.1.6l-1.2-1.4c.5-.4 1.1-.7 1.6-.9.5-.2 1.2-.3 1.8-.3.5 0 1 .1 1.6.2.4.1.8.3 1.2.5.3.2.6.5.8.8.2.3.3.7.3 1.1 0 .5-.2.9-.5 1.3-.4.4-.9.7-1.5.9v.1c.6.1 1.2.4 1.6.8.4.4.7.9.7 1.5 0 .4-.1.8-.3 1.2-.2.4-.5.7-.9.9-.4.3-.9.4-1.3.5-.5.1-1 .2-1.6.2-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1l1.1-1.4zM7 9H3V5H1v10h2v-4h4v4h2V5H7v4z",4:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm10-2h-1v2h-2v-2h-5v-2l4-6h3v6h1v2zm-3-2V7l-2.8 4H16z",5:"M12.1 12.2c.4.3.7.5 1.1.7.4.2.9.3 1.3.3.5 0 1-.1 1.4-.4.4-.3.6-.7.6-1.1 0-.4-.2-.9-.6-1.1-.4-.3-.9-.4-1.4-.4H14c-.1 0-.3 0-.4.1l-.4.1-.5.2-1-.6.3-5h6.4v1.9h-4.3L14 8.8c.2-.1.5-.1.7-.2.2 0 .5-.1.7-.1.5 0 .9.1 1.4.2.4.1.8.3 1.1.6.3.2.6.6.8.9.2.4.3.9.3 1.4 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.1-.4.3-.8.5-1.3.7-.5.2-1 .3-1.5.3-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1-.1-.1 1-1.5 1-1.5zM9 15H7v-4H3v4H1V5h2v4h4V5h2v10z",6:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm8.6-7.5c-.2-.2-.5-.4-.8-.5-.6-.2-1.3-.2-1.9 0-.3.1-.6.3-.8.5l-.6.9c-.2.5-.2.9-.2 1.4.4-.3.8-.6 1.2-.8.4-.2.8-.3 1.3-.3.4 0 .8 0 1.2.2.4.1.7.3 1 .6.3.3.5.6.7.9.2.4.3.8.3 1.3s-.1.9-.3 1.4c-.2.4-.5.7-.8 1-.4.3-.8.5-1.2.6-1 .3-2 .3-3 0-.5-.2-1-.5-1.4-.9-.4-.4-.8-.9-1-1.5-.2-.6-.3-1.3-.3-2.1s.1-1.6.4-2.3c.2-.6.6-1.2 1-1.6.4-.4.9-.7 1.4-.9.6-.3 1.1-.4 1.7-.4.7 0 1.4.1 2 .3.5.2 1 .5 1.4.8 0 .1-1.3 1.4-1.3 1.4zm-2.4 5.8c.2 0 .4 0 .6-.1.2 0 .4-.1.5-.2.1-.1.3-.3.4-.5.1-.2.1-.5.1-.7 0-.4-.1-.8-.4-1.1-.3-.2-.7-.3-1.1-.3-.3 0-.7.1-1 .2-.4.2-.7.4-1 .7 0 .3.1.7.3 1 .1.2.3.4.4.6.2.1.3.3.5.3.2.1.5.2.7.1z"},C=function(e){var t=e.level,o=e.isPressed,n=void 0!==o&&o;return(0,g.jsx)(c.SVG,{width:"24",height:"24",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",isPressed:n,children:(0,g.jsx)(c.Path,{d:O[t]})})};const k=function(e){var t=e.type,o=e.onChange;return(0,g.jsx)(c.Dropdown,{popoverProps:T,renderToggle:function(e){var o=e.onToggle,n=e.isOpen;return(0,g.jsx)(c.ToolbarButton,{"aria-expanded":n,"aria-haspopup":"true",icon:(0,g.jsx)(C,{level:t}),label:(0,s.__)("Change heading level"),onClick:o,onKeyDown:function(e){n||e.keyCode!==S.DOWN||(e.preventDefault(),e.stopPropagation(),o())},showTooltip:!0})},renderContent:function(){return(0,g.jsx)(c.Toolbar,{className:"block-library-heading-level-toolbar",label:(0,s.__)("Change heading level"),children:(0,g.jsx)(c.ToolbarGroup,{isCollapsed:!1,controls:j.map((function(e){var n=e===t;return{icon:(0,g.jsx)(C,{level:e,isPressed:n}),title:(0,s.sprintf)((0,s.__)("Heading %d"),e),isActive:n,onClick:function(){o(e)}}}))})})}})};var P=o(4404),N=o(1222),E=o(2619);const D=function(e,t){var o=[];return o=(0,y.backgroundStyle)({attributes:t,data:o,elementId:e}),(0,N.isNotEmpty)(t.textAlign)&&o.push({type:"plain",id:"textAlign",selector:"h1.guten-element.".concat(e,",h2.guten-element.").concat(e,",h3.guten-element.").concat(e,",h4.guten-element.").concat(e,",h5.guten-element.").concat(e,",h6.guten-element.").concat(e),properties:[{name:"text-align",valueType:"direct"}],responsive:!0}),(0,N.isNotEmpty)(t.color)&&o.push({type:"color",id:"color",selector:"h1.guten-element.".concat(e,",h2.guten-element.").concat(e,",h3.guten-element.").concat(e,",h4.guten-element.").concat(e,",h5.guten-element.").concat(e,",h6.guten-element.").concat(e),properties:[{name:"color",valueType:"direct"}]}),(0,N.isNotEmpty)(t.typography)&&o.push({type:"typography",id:"typography",selector:"h1.guten-element.".concat(e,",h2.guten-element.").concat(e,",h3.guten-element.").concat(e,",h4.guten-element.").concat(e,",h5.guten-element.").concat(e,",h6.guten-element.").concat(e)}),(0,N.isNotEmpty)(t.textShadow)&&o.push({type:"textShadow",id:"textShadow",properties:[{name:"text-shadow",valueType:"direct"}],selector:"h1.guten-element.".concat(e,",h2.guten-element.").concat(e,",h3.guten-element.").concat(e,",h4.guten-element.").concat(e,",h5.guten-element.").concat(e,",h6.guten-element.").concat(e)}),(0,N.isNotEmpty)(t.textStroke)&&o.push({type:"textStroke",id:"textStroke",selector:"h1.guten-element.".concat(e,",h2.guten-element.").concat(e,",h3.guten-element.").concat(e,",h4.guten-element.").concat(e,",h5.guten-element.").concat(e,",h6.guten-element.").concat(e)}),(0,N.isNotEmpty)(t.overflowWrap)&&o.push({type:"plain",id:"overflowWrap",responsive:!0,properties:[{name:"overflow-wrap",valueType:"direct"},{name:"word-break",valueType:"direct"}],selector:"h1.guten-element.".concat(e,",h2.guten-element.").concat(e,",h3.guten-element.").concat(e,",h4.guten-element.").concat(e,",h5.guten-element.").concat(e,",h6.guten-element.").concat(e)}),(0,N.isNotEmpty)(t.linkColor)&&o.push({type:"color",id:"linkColor",selector:".".concat(e," a"),properties:[{name:"color",valueType:"direct"}]}),(0,N.isNotEmpty)(t.linkTypography)&&o.push({type:"typography",id:"linkTypography",selector:".".concat(e," a")}),(0,N.isNotEmpty)(t.linkColorHover)&&o.push({type:"color",id:"linkColorHover",selector:".".concat(e," a:hover"),properties:[{name:"color",valueType:"direct"}]}),(0,N.isNotEmpty)(t.linkTypographyHover)&&o.push({type:"typography",id:"linkTypographyHover",selector:".".concat(e," a:hover")}),(0,N.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,N.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,N.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,N.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,N.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,N.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,N.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,N.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,N.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,N.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,N.isNotEmpty)(t.animation)&&(0,N.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",selector:".editor-styles-wrapper .is-root-container .".concat(e),properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}]}),(0,N.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,N.isNotEmpty)(t.positioningType)&&(0,N.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,N.isNotEmpty)(t.positioningWidth)&&(0,N.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,N.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,N.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,N.isNotEmpty)(t.positioningLeft)&&(0,N.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,N.isNotEmpty)(t.positioningRight)&&(0,N.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,N.isNotEmpty)(t.positioningTop)&&(0,N.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,N.isNotEmpty)(t.positioningBottom)&&(0,N.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),[].concat((0,P.A)(o),(0,P.A)((0,E.applyFilters)("gutenverse.heading.blockStyle",[],{elementId:e,attributes:t})))};var B=o(4320);function A(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function H(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?A(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):A(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var R=function(e){var t=e.attributes,o=e.setAttributes,n=t.type;return(0,_.FilterDynamic)(e),(0,_.HighLightToolbar)(e),(0,g.jsx)(l.BlockControls,{children:(0,g.jsx)(c.ToolbarGroup,{children:(0,g.jsx)(k,{type:n,onChange:function(e){return o({type:e})}})})})},I=function(e){var t=e.panelProps,o=e.isSelected,n=e.setAttributes,r=e.elementRef,i=H(H(H({},t),e.attributes),{},{setAttributes:n});return(0,g.jsx)(y.PanelController,H({panelList:w,panelProps:i,isSelected:o,elementRef:r},e))};const M=(0,p.compose)(u.withPartialRender,u.withPassRef,(0,u.withAnimationAdvanceV2)("heading"),u.withMouseMoveEffect)((function(e){var t=e.attributes,o=e.setAttributes,n=e.clientId,r=e.setBlockRef,c=t.elementId,p=t.type,u=t.content,y=(0,N.useRichTextParameter)(),m=y.panelState,v=y.setPanelState,h=(0,i.useRef)(null);(0,B.useGenerateElementId)(n,c,h),(0,B.useDynamicStyle)(c,t,D,h),(0,B.useDynamicScript)(h);var b="h"+p,f=(0,d.useAnimationEditor)(t),x=(0,d.useDisplayEditor)(t),w=(0,l.useBlockProps)({className:(0,a.classnames)("guten-element",c,f,x)});return(0,i.useEffect)((function(){h&&r(h)}),[h]),(0,i.useEffect)((function(){var e=null!==(new DOMParser).parseFromString(u,"text/html").querySelector("a");e!==t.containsAnchorTag&&o({containsAnchorTag:e})}),[u]),(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(a.CopyElementToolbar,H({},e)),(0,g.jsx)(I,H(H({},e),{},{elementRef:h,panelState:m})),(0,g.jsx)(R,H({},e)),(0,g.jsx)("span",{ref:h,style:{display:"none"}}),(0,g.jsx)(a.RichTextComponent,{isBlockProps:!0,blockProps:w,tagName:b,onChange:function(e){return o({content:e})},placeholder:(0,s.__)("Write heading…"),ariaLabel:(0,s.__)("Heading Paragraph"),multiline:!1,setAttributes:o,attributes:t,clientId:n,setPanelState:v,panelPosition:{panel:"style",section:5},panelDynamic:{panel:"setting",section:1},contentAttribute:"content",textChilds:"textChilds",dynamicList:"dynamicDataList",isUseDinamic:!0,isUseHighlight:!0})]})}));function L(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function z(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?L(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):L(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const F=(0,p.compose)((0,u.withAnimationAdvanceScript)("heading"),u.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,n=t.content,r=t.type,i=(0,d.useAnimationAdvanceData)(t),s=(0,d.useAnimationFrontend)(t),c=(0,d.useDisplayFrontend)(t),p="h"+r,u=(0,a.classnames)("guten-element",o,s,c);return(0,g.jsx)(p,z(z({},l.useBlockProps.save(z({className:u},i))),{},{children:(0,g.jsx)(l.RichText.Content,{value:n})}))}));function V(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function W(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?V(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):V(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const G=(0,p.compose)((0,u.withAnimationAdvanceScript)("heading"),u.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,n=t.content,r=t.type,i=t.anchor,s=(0,d.useAnimationAdvanceData)(t),c=(0,d.useAnimationFrontend)(t),p=(0,d.useDisplayFrontend)(t),u="h"+r,y=(0,a.classnames)("guten-element",o,c,p);return(0,g.jsx)(u,W(W({},l.useBlockProps.save(W({className:y,id:i},s))),{},{children:(0,g.jsx)(l.RichText.Content,{value:n})}))})),U=JSON.parse('{"elementId":{"type":"string"},"mouseMoveEffect":{"type":"object","copyStyle":true},"content":{"type":"string","source":"html","selector":"h1,h2,h3,h4,h5,h6","default":""},"dynamicDataList":{"type":"array","default":[]},"openDynamic":{"type":"string"},"type":{"type":"number","default":2},"textAlign":{"type":"object","copyStyle":true},"color":{"type":"object","copyStyle":true},"typography":{"type":"object","copyStyle":true},"textShadow":{"type":"object","default":{},"copyStyle":true},"background":{"type":"object","default":{},"copyStyle":true},"backgroundHover":{"type":"object","default":{},"copyStyle":true},"border":{"type":"object","copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"borderHover":{"type":"object","copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadowHover":{"type":"object","copyStyle":true},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"animation":{"type":"object","default":{},"copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"positioningType":{"type":"object","copyStyle":true},"positioningWidth":{"type":"object","copyStyle":true},"positioningAlign":{"type":"object","copyStyle":true},"positioningLocation":{"type":"string","copyStyle":true},"positioningLeft":{"type":"object","copyStyle":true},"positioningRight":{"type":"object","copyStyle":true},"positioningTop":{"type":"object","copyStyle":true},"positioningBottom":{"type":"object","copyStyle":true},"advanceAnimation":{"type":"object","default":{},"copyStyle":true},"transform":{"type":"object","copyStyle":true},"textChilds":{"type":"array","default":[]},"openChild":{"type":"string"},"mask":{"type":"object","copyStyle":true},"textClip":{"type":"object","default":{},"copyStyle":true},"condition":{"type":"object","default":{}},"anchor":{"type":"string"}}'),q=JSON.parse('{"apiVersion":2,"name":"gutenverse/heading","title":"Heading","description":"Create Title/Heading on your page.","category":"gutenverse-element","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"mouseMoveEffect":{"type":"object","copyStyle":true},"content":{"type":"string","source":"html","selector":"h1,h2,h3,h4,h5,h6","default":""},"dynamicDataList":{"type":"array","default":[]},"openDynamic":{"type":"string"},"dynamicTextContent":{"type":"array","copyStyle":true},"dynamicUrlContent":{"type":"array","copyStyle":true},"type":{"type":"number","default":2},"textAlign":{"type":"object","copyStyle":true},"color":{"type":"object","copyStyle":true},"typography":{"type":"object","copyStyle":true},"containsAnchorTag":{"type":"boolean","copyStyle":true},"linkColor":{"type":"object","copyStyle":true},"linkTypography":{"type":"object","copyStyle":true},"linkColorHover":{"type":"object","copyStyle":true},"linkTypographyHover":{"type":"object","copyStyle":true},"textShadow":{"type":"object","default":{},"copyStyle":true},"textStroke":{"type":"object","copyStyle":true},"overflowWrap":{"type":"object","default":{"Desktop":"break-word"},"copyStyle":true},"useStyleInLink":{"type":"boolean","copyStyle":true},"background":{"type":"object","default":{},"copyStyle":true},"backgroundHover":{"type":"object","default":{},"copyStyle":true},"backgroundTransition":{"type":"object","copyStyle":true,"default":{}},"border":{"type":"object","copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"borderHover":{"type":"object","copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadowHover":{"type":"object","copyStyle":true},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"animation":{"type":"object","default":{},"copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"positioningType":{"type":"object","copyStyle":true},"positioningWidth":{"type":"object","copyStyle":true},"positioningAlign":{"type":"object","copyStyle":true},"positioningLocation":{"type":"string","copyStyle":true},"positioningLeft":{"type":"object","copyStyle":true},"positioningRight":{"type":"object","copyStyle":true},"positioningTop":{"type":"object","copyStyle":true},"positioningBottom":{"type":"object","copyStyle":true},"advanceAnimation":{"type":"object","default":{},"copyStyle":true},"transform":{"type":"object","copyStyle":true},"textChilds":{"type":"array","default":[]},"openChild":{"type":"string"},"mask":{"type":"object","copyStyle":true},"textClip":{"type":"object","default":{},"copyStyle":true},"condition":{"type":"object","default":{}}},"supports":{"anchor":true,"reusable":false,"html":false},"keywords":["heading","text","title"]}');var $=q.name,Y={icon:(0,g.jsx)(n.AN,{}),example:{attributes:{content:"Gutenverse Heading",textAlign:{Desktop:"center"},color:{r:19,g:41,b:120,a:1},typography:{font:{label:"Roboto",value:"Roboto",type:"google"},weight:"600",size:{Desktop:{point:"28",unit:"px"}}},textShadow:{horizontal:"1",color:{r:94,g:129,b:244,a:1},vertical:"0"}}},edit:M,save:F,deprecated:[{attributes:U,save:G}]}},1187:(e,t,o)=>{var n=o(1330),r=o(1992),i=o(7717),a=o(1513),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,p=l.toString,u=c.hasOwnProperty,d=RegExp("^"+p.call(u).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||r(e))&&(n(e)?d:s).test(a(e))}},1205:(e,t,o)=>{"use strict";o.d(t,{A:()=>c});var n=o(1609),r=o.n(n),i=o(2736),a=o.n(i);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},s.apply(this,arguments)}var l=(0,n.forwardRef)((function(e,t){var o=e.color,n=void 0===o?"currentColor":o,i=e.size,a=void 0===i?24:i,l=function(e,t){if(null==e)return{};var o,n,r=function(e,t){if(null==e)return{};var o,n,r={},i=Object.keys(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||(r[o]=e[o]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}(e,["color","size"]);return r().createElement("svg",s({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},l),r().createElement("line",{x1:"21",y1:"10",x2:"7",y2:"10"}),r().createElement("line",{x1:"21",y1:"6",x2:"3",y2:"6"}),r().createElement("line",{x1:"21",y1:"14",x2:"3",y2:"14"}),r().createElement("line",{x1:"21",y1:"18",x2:"7",y2:"18"}))}));l.propTypes={color:a().string,size:a().oneOfType([a().string,a().number])},l.displayName="AlignRight";const c=l},1222:e=>{"use strict";e.exports=gutenverseCore.helper},1289:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>I,name:()=>L,settings:()=>F});var n=o(6065),r=o(9491),i=o(2188),a=o(4715),s=o(3482),l=o(7723),c=o(596),p=o(790),u=function(e){var t=e.elementId;return[{id:"alignment",label:(0,l.__)("Alignment","gutenverse"),component:c.IconRadioControl,allowDeviceControl:!0,options:[{label:(0,l.__)("Align Left","gutenverse"),value:"flex-start",icon:(0,p.jsx)(s.AlignLeft,{})},{label:(0,l.__)("Align Center","gutenverse"),value:"center",icon:(0,p.jsx)(s.AlignCenter,{})},{label:(0,l.__)("Align Right","gutenverse"),value:"flex-end",icon:(0,p.jsx)(s.AlignRight,{})}]},{id:"gap",label:(0,l.__)("Social Icon Gap","gutenverse"),component:c.RangeControl,default:10,min:1,max:100,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"gap",responsive:!0,properties:[{name:"margin-left",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}],selector:".editor-styles-wrapper .".concat(t,".horizontal > div:not(:first-of-type)")},{type:"plain",id:"gap",responsive:!0,properties:[{name:"margin-top",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}],selector:".editor-styles-wrapper .".concat(t,".vertical > div:not(:first-of-type)")}]}]},d=o(5255);function y(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function g(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?y(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):y(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var m=function(e){var t=e.elementId,o=e.switcher,n=e.setSwitcher,r=(0,d.getDeviceType)();return[{id:"typography",label:(0,l.__)("Typography","gutenverse"),component:c.TypographyControl},{id:"iconSize",label:(0,l.__)("Icon Size","gutenverse"),component:c.SizeControl,allowDeviceControl:!0,units:{px:{text:"px",min:1,max:100,step:1},em:{text:"em",min:.1,max:3,step:.1}},liveStyle:[{type:"unitPoint",id:"iconSize",responsive:!0,properties:[{name:"font-size",valueType:"direct"},{name:"width",valueType:"direct"}],selector:".editor-styles-wrapper .".concat(t," .gutenverse-share-item i")}]},{id:"__socialHover",component:c.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__socialHover;return n(g(g({},o),{},{socialHover:t}))}},{id:"iconColor",show:!o.socialHover||"normal"===o.socialHover,label:(0,l.__)("Icon Color","gutenverse"),component:c.ColorControl,liveStyle:[{type:"color",id:"iconColor",selector:".editor-styles-wrapper .".concat(t," .gutenverse-share-item .gutenverse-share-icon i"),properties:[{name:"color",valueType:"direct"}]}]},{id:"iconBackgroundColor",show:!o.socialHover||"normal"===o.socialHover,label:(0,l.__)("Icon Background Color","gutenverse"),component:c.ColorControl,liveStyle:[{type:"color",id:"iconBackgroundColor",selector:".editor-styles-wrapper .".concat(t," .gutenverse-share-item .gutenverse-share-icon"),properties:[{name:"background-color",valueType:"direct"}]}]},{id:"backgroundColor",show:!o.socialHover||"normal"===o.socialHover,label:(0,l.__)("Text Background Color","gutenverse"),component:c.ColorControl,liveStyle:[{type:"color",id:"backgroundColor",selector:".editor-styles-wrapper .".concat(t," .gutenverse-share-item .gutenverse-share-text"),properties:[{name:"background-color",valueType:"direct"}]}]},{id:"textColor",show:!o.socialHover||"normal"===o.socialHover,label:(0,l.__)("Text Color","gutenverse"),component:c.ColorControl,liveStyle:[{type:"color",id:"textColor",selector:".editor-styles-wrapper .".concat(t," .gutenverse-share-item .gutenverse-share-text"),properties:[{name:"color",valueType:"direct"}]}]},{id:"borderType",show:(!o.socialHover||"normal"===o.socialHover)&&"Desktop"===r,label:(0,l.__)("Border","gutenverse"),component:c.BorderControl,liveStyle:[{type:"border",id:"borderType",selector:".editor-styles-wrapper .".concat(t," .gutenverse-share-item")}]},{id:"borderTypeResponsive",show:(!o.socialHover||"normal"===o.socialHover)&&"Desktop"!==r,label:(0,l.__)("Border","gutenverse"),component:c.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"borderTypeResponsive",selector:".editor-styles-wrapper .".concat(t," .gutenverse-share-item")}]},{id:"iconColorHover",show:"hover"===o.socialHover,label:(0,l.__)("Icon Color","gutenverse"),component:c.ColorControl,liveStyle:[{type:"color",id:"iconColorHover",selector:".editor-styles-wrapper .".concat(t," .gutenverse-share-item:hover .gutenverse-share-icon i"),properties:[{name:"color",valueType:"direct"}]}]},{id:"iconBackgroundColorHover",show:"hover"===o.socialHover,label:(0,l.__)("Icon Background Color","gutenverse"),component:c.ColorControl,liveStyle:[{type:"color",id:"iconBackgroundColorHover",selector:".editor-styles-wrapper .".concat(t," .gutenverse-share-item:hover .gutenverse-share-icon"),properties:[{name:"background-color",valueType:"direct"}]}]},{id:"backgroundColorHover",show:"hover"===o.socialHover,label:(0,l.__)("Text Background Color","gutenverse"),component:c.ColorControl,liveStyle:[{type:"color",id:"backgroundColorHover",selector:".editor-styles-wrapper .".concat(t," .gutenverse-share-item:hover .gutenverse-share-text"),properties:[{name:"background-color",valueType:"direct"}]}]},{id:"textColorHover",show:"hover"===o.socialHover,label:(0,l.__)("Text Color","gutenverse"),component:c.ColorControl,liveStyle:[{type:"color",id:"textColorHover",selector:".editor-styles-wrapper .".concat(t," .gutenverse-share-item:hover .gutenverse-share-text"),properties:[{name:"color",valueType:"direct"}]}]},{id:"borderTypeHover",show:"hover"===o.socialHover&&"Desktop"===r,label:(0,l.__)("Border","gutenverse"),component:c.BorderControl,liveStyle:[{type:"border",id:"borderTypeHover",selector:".editor-styles-wrapper .".concat(t," .gutenverse-share-item:hover")}]},{id:"borderTypeHoverResponsive",show:"hover"===o.socialHover&&"Desktop"!==r,label:(0,l.__)("Border","gutenverse"),component:c.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"borderTypeHoverResponsive",selector:".editor-styles-wrapper .".concat(t," .gutenverse-share-item:hover")}]}]},v=function(){return[{id:"iconPading",label:(0,l.__)("Icon Padding","gutenverse"),component:c.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:{px:{text:"px",unit:"px"},"%":{text:"%",unit:"%"}}},{id:"textPading",label:(0,l.__)("Text Padding","gutenverse"),component:c.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:{px:{text:"px",unit:"px"},"%":{text:"%",unit:"%"}}}]};function h(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function b(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?h(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):h(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var f=function(){return[{title:(0,l.__)("Style","gutenverse"),panelArray:u,initialOpen:!0,tabRole:c.TabStyle},{title:(0,l.__)("Item Style","gutenverse"),panelArray:m,initialOpen:!1,tabRole:c.TabStyle},{title:(0,l.__)("Item Spacing","gutenverse"),panelArray:v,initialOpen:!1,tabRole:c.TabStyle},{title:(0,l.__)("Background","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,c.backgroundPanel)(b(b({},e),{},{styleId:"social-share",normalOptions:["default","gradient"],hoverOptions:["default","gradient"]}))},tabRole:c.TabStyle},{title:(0,l.__)("Border","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,c.borderPanel)(b(b({},e),{},{styleId:"social-share-border"}))},tabRole:c.TabStyle},{title:(0,l.__)("Masking","gutenverse"),initialOpen:!1,panelArray:c.maskPanel,tabRole:c.TabStyle},{title:(0,l.__)("Display","gutenverse"),initialOpen:!1,panelArray:c.responsivePanel,tabRole:c.TabSetting},{title:(0,l.__)("Positioning","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,c.positioningPanel)(b(b({},e),{},{selector:".".concat(e.elementId,".guten-element, .").concat(e.elementId,".guten-element.horizontal ")}))},tabRole:c.TabSetting},{title:(0,l.__)("Transform","gutenverse"),initialOpen:!1,panelArray:c.transformPanel,pro:!0},{title:(0,l.__)("Mouse Move Effect","gutenverse"),initialOpen:!1,panelArray:c.mouseMoveEffectPanel,tabRole:c.TabSetting,pro:!0},{title:(0,l.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,c.animationPanel)(b(b({},e),{},{styleId:"social-share-animation"}))},tabRole:c.TabSetting},{title:(0,l.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,c.advancePanel)(b(b({},e),{},{styleId:"social-share-advance"}))},tabRole:c.TabSetting},{title:(0,l.__)("Condition","gutenverse"),panelArray:c.conditionPanel,initialOpen:!1,pro:!0}]},x=o(6087),w=o(6826),S=o(4320),_=o(4404),j=o(1222),T=o(2619);const O=function(e,t){var o=[];return o=function(e,t,o){return(0,j.isNotEmpty)(t.typography)&&o.push({type:"typography",id:"typography",selector:".editor-styles-wrapper .".concat(e," .gutenverse-share-item .gutenverse-share-text")}),(0,j.isNotEmpty)(t.iconSize)&&o.push({type:"unitPoint",id:"iconSize",responsive:!0,properties:[{name:"font-size",valueType:"direct"},{name:"width",valueType:"direct"}],selector:".editor-styles-wrapper .".concat(e," .gutenverse-share-item i")}),(0,j.isNotEmpty)(t.iconColor)&&o.push({type:"color",id:"iconColor",selector:".editor-styles-wrapper .".concat(e," .gutenverse-share-item .gutenverse-share-icon i"),properties:[{name:"color",valueType:"direct"}]}),(0,j.isNotEmpty)(t.iconBackgroundColor)&&o.push({type:"color",id:"iconBackgroundColor",selector:".editor-styles-wrapper .".concat(e," .gutenverse-share-item .gutenverse-share-icon"),properties:[{name:"background-color",valueType:"direct"}]}),(0,j.isNotEmpty)(t.backgroundColor)&&o.push({type:"color",id:"backgroundColor",selector:".editor-styles-wrapper .".concat(e," .gutenverse-share-item .gutenverse-share-text"),properties:[{name:"background-color",valueType:"direct"}]}),(0,j.isNotEmpty)(t.textColor)&&o.push({type:"color",id:"textColor",selector:".editor-styles-wrapper .".concat(e," .gutenverse-share-item .gutenverse-share-text"),properties:[{name:"color",valueType:"direct"}]}),(0,j.isNotEmpty)(t.borderType)&&o.push({type:"border",id:"borderType",selector:".editor-styles-wrapper .".concat(e," .gutenverse-share-item")}),(0,j.isNotEmpty)(t.borderTypeResponsive)&&o.push({type:"borderResponsive",id:"borderTypeResponsive",selector:".editor-styles-wrapper .".concat(e," .gutenverse-share-item")}),(0,j.isNotEmpty)(t.iconColorHover)&&o.push({type:"color",id:"iconColorHover",selector:".editor-styles-wrapper .".concat(e," .gutenverse-share-item:hover .gutenverse-share-icon i"),properties:[{name:"color",valueType:"direct"}]}),(0,j.isNotEmpty)(t.iconBackgroundColorHover)&&o.push({type:"color",id:"iconBackgroundColorHover",selector:".editor-styles-wrapper .".concat(e," .gutenverse-share-item:hover .gutenverse-share-icon"),properties:[{name:"background-color",valueType:"direct"}]}),(0,j.isNotEmpty)(t.backgroundColorHover)&&o.push({type:"color",id:"backgroundColorHover",selector:".editor-styles-wrapper .".concat(e," .gutenverse-share-item:hover .gutenverse-share-text"),properties:[{name:"background-color",valueType:"direct"}]}),(0,j.isNotEmpty)(t.textColorHover)&&o.push({type:"color",id:"textColorHover",selector:".editor-styles-wrapper .".concat(e," .gutenverse-share-item:hover .gutenverse-share-text"),properties:[{name:"color",valueType:"direct"}]}),(0,j.isNotEmpty)(t.borderTypeHover)&&o.push({type:"border",id:"borderTypeHover",selector:".editor-styles-wrapper .".concat(e," .gutenverse-share-item:hover")}),(0,j.isNotEmpty)(t.borderTypeHoverResponsive)&&o.push({type:"borderResponsive",id:"borderTypeHoverResponsive",selector:".editor-styles-wrapper .".concat(e," .gutenverse-share-item:hover")}),o}(e,t,o),o=function(e,t,o){return(0,j.isNotEmpty)(t.alignment)&&o.push({type:"plain",id:"alignment",responsive:!0,selector:".editor-styles-wrapper .".concat(e,", .editor-styles-wrapper .").concat(e,".vertical > div"),properties:[{name:"justify-content",valueType:"direct"},{name:"align-items",valueType:"direct"}]}),(0,j.isNotEmpty)(t.alignment)&&o.push({type:"plain",id:"alignment",responsive:!0,selector:".editor-styles-wrapper .".concat(e,".horizontal"),properties:[{name:"text-align",valueType:"function",functionName:"handleAlign"}]}),(0,j.isNotEmpty)(t.gap)&&o.push({type:"plain",id:"gap",responsive:!0,properties:[{name:"margin-left",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}],selector:".editor-styles-wrapper .".concat(e,".horizontal > div:not(:first-of-type)")}),(0,j.isNotEmpty)(t.gap)&&o.push({type:"plain",id:"gap",responsive:!0,properties:[{name:"margin-top",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}],selector:".editor-styles-wrapper .".concat(e,".vertical > div:not(:first-of-type)")}),o}(e,t,o),o=function(e,t,o){return(0,j.isNotEmpty)(t.iconPading)&&o.push({type:"dimension",id:"iconPading",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .".concat(e," .gutenverse-share-item .gutenverse-share-icon")}),(0,j.isNotEmpty)(t.textPading)&&o.push({type:"dimension",id:"textPading",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .".concat(e," .gutenverse-share-item .gutenverse-share-text")}),o}(e,t,o),o=(0,c.backgroundStyle)({attributes:t,data:o,elementId:e}),(0,j.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,j.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,j.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,j.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.animation)&&(0,j.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,j.isNotEmpty)(t.positioningType)&&(0,j.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,j.isNotEmpty)(t.positioningWidth)&&(0,j.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,j.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.positioningLeft)&&(0,j.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,j.isNotEmpty)(t.positioningRight)&&(0,j.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,j.isNotEmpty)(t.positioningTop)&&(0,j.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,j.isNotEmpty)(t.positioningBottom)&&(0,j.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),[].concat((0,_.A)(o),(0,_.A)((0,T.applyFilters)("gutenverse.social-share.blockStyle",[],{elementId:e,attributes:t})))};function C(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function k(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?C(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):C(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var P=(0,r.compose)(i.withPartialRender,i.withMouseMoveEffect)((function(e){var t=e.attributes,o=e.clientId,n=t.elementId,r=t.orientation,i=void 0===r?"horizontal":r,l=t.shape,u=t.color,d=t.showText,y=(0,x.useRef)(),g=(0,w.useAnimationEditor)(t),m=(0,w.useDisplayEditor)(t),v=(0,a.useBlockProps)({className:(0,s.classnames)("guten-element","guten-social-share","no-margin",n,l,i,u,g,m,{"show-text":d}),ref:y}),h=(0,a.useInnerBlocksProps)(v,{template:[["gutenverse/social-share-facebook"]],allowedBlocks:["gutenverse/social-share-facebook","gutenverse/social-share-twitter","gutenverse/social-share-pinterest","gutenverse/social-share-stumbleupon","gutenverse/social-share-linkedin","gutenverse/social-share-reddit","gutenverse/social-share-tumblr","gutenverse/social-share-vk","gutenverse/social-share-whatsapp","gutenverse/social-share-telegram","gutenverse/social-share-wechat","gutenverse/social-share-line","gutenverse/social-share-email"],orientation:i,__experimentalAppenderTagName:"div"});return(0,S.useGenerateElementId)(o,n,y),(0,S.useDynamicStyle)(n,t,O,y),(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(s.CopyElementToolbar,k({},e)),(0,p.jsx)(c.BlockPanelController,{panelList:f,props:e,elementRef:y}),(0,p.jsx)("div",k({},h))]})}));const N=P;function E(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function D(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?E(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):E(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var B=(0,r.compose)(i.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,n=t.orientation,r=void 0===n?"horizontal":n,i=(0,w.useAnimationFrontend)(t),l=(0,w.useDisplayFrontend)(t),c=(0,s.classnames)("guten-element","guten-social-share",o,r,i,l);return(0,p.jsx)("div",D(D({},a.useBlockProps.save({className:c})),{},{children:(0,p.jsx)(a.InnerBlocks.Content,{})}))}));const A=B;var H=(0,r.compose)(i.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,n=(0,w.useAnimationFrontend)(t),r=(0,w.useDisplayFrontend)(t),i=(0,s.classnames)("guten-element","guten-social-share",o,n,r,"guten-social-share");return(0,p.jsx)("div",{className:i,children:(0,p.jsx)(a.InnerBlocks.Content,{})})}));const R=H,I=JSON.parse('{"apiVersion":2,"name":"gutenverse/social-share","title":"Social Share","description":"Allow your visitor to share the current page","category":"gutenverse-element","allowCopyStyle":true,"example":{"innerBlocks":[{"name":"gutenverse/social-share-facebook"},{"name":"gutenverse/social-share-twitter"}]},"attributes":{"elementId":{"type":"string"},"mouseMoveEffect":{"type":"object","copyStyle":true},"orientation":{"type":"string","default":"horizontal","copyStyle":true},"iconPading":{"type":"object","copyStyle":true},"textPading":{"type":"object","copyStyle":true},"iconColor":{"type":"object","copyStyle":true},"iconBackgroundColor":{"type":"object","copyStyle":true},"backgroundColor":{"type":"object","copyStyle":true},"textColor":{"type":"object","copyStyle":true},"borderType":{"type":"object","copyStyle":true},"borderTypeResponsive":{"type":"object","migrate":{"attr":"borderType","type":"border"},"copyStyle":true},"iconColorHover":{"type":"object","copyStyle":true},"iconBackgroundColorHover":{"type":"object","copyStyle":true},"backgroundColorHover":{"type":"object","copyStyle":true},"textColorHover":{"type":"object","copyStyle":true},"borderTypeHover":{"type":"object","copyStyle":true},"borderTypeHoverResponsive":{"type":"object","migrate":{"attr":"borderTypeHover","type":"border"},"copyStyle":true},"iconSize":{"type":"object","copyStyle":true},"typography":{"type":"object","copyStyle":true},"alignment":{"type":"object","default":{"Desktop":"center"},"copyStyle":true},"gap":{"type":"object","default":{"Desktop":"10"},"copyStyle":true},"background":{"type":"object","default":{},"copyStyle":true},"backgroundHover":{"type":"object","default":{},"copyStyle":true},"backgroundTransition":{"type":"object","copyStyle":true,"default":{}},"border":{"type":"object","copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"borderHover":{"type":"object","copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadowHover":{"type":"object","copyStyle":true},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"animation":{"type":"object","default":{},"copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"positioningType":{"type":"object","copyStyle":true},"positioningWidth":{"type":"object","copyStyle":true},"positioningAlign":{"type":"object","copyStyle":true},"positioningLocation":{"type":"string","copyStyle":true},"positioningLeft":{"type":"object","copyStyle":true},"positioningRight":{"type":"object","copyStyle":true},"positioningTop":{"type":"object","copyStyle":true},"positioningBottom":{"type":"object","copyStyle":true},"transform":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"condition":{"type":"object","default":{}}},"variations":[{"name":"social-share-horizontal","isDefault":true,"title":"Horizontal","description":"Social share shown in a row.","attributes":{"orientation":"horizontal"},"scope":["transform"]},{"name":"social-share-vertical","title":"Vertical","description":"Social share shown in a column.","attributes":{"orientation":"vertical"},"scope":["transform"]}],"supports":{"className":false},"keywords":["social","share"]}');var M=o(4889),L=I.name,z=I.attributes,F={icon:(0,p.jsx)(M.PA,{}),edit:N,save:A,deprecated:[{attributes:z,save:R}]}},1327:e=>{var t=Object.prototype;e.exports=function(e){var o=e&&e.constructor;return e===("function"==typeof o&&o.prototype||t)}},1330:(e,t,o)=>{var n=o(6624),r=o(7717);e.exports=function(e){if(!r(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1447:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>h,name:()=>v,settings:()=>b});var n=o(4404),r=o(6065),i=o(7723),a=o(4597),s=o(9491),l=o(2188),c=o(9984),p=o(2449),u=o(4889),d=o(790);function y(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function g(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?y(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):y(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var m=(0,s.compose)(l.withPartialRender,(0,l.withCustomStyle)(a.d))((function(e){var t=g(g({},e),{},{shareType:"vk",serverPath:"gutenverse/social-share-vk"});return(0,d.jsx)(c.A,g({},t))})),v="gutenverse/social-share-vk",h=g(g({},p),{},{title:(0,i.__)("Gutenverse Social Share Vk","gutenverse"),description:(0,i.__)("Gutenverse Social Share Vk","gutenverse"),attributes:g(g({},p.attributes),{},{text:{type:"string",default:(0,i.__)("Share on Vk","gutenverse")}}),keywords:[].concat((0,n.A)(p.keywords),[(0,i.__)("vk","gutenverse")])}),b={icon:(0,d.jsx)(u.Yk,{}),edit:m}},1455:e=>{"use strict";e.exports=window.wp.apiFetch},1502:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>h,name:()=>v,settings:()=>b});var n=o(4404),r=o(6065),i=o(7723),a=o(4597),s=o(9491),l=o(2188),c=o(9984),p=o(2449),u=o(4889),d=o(790);function y(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function g(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?y(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):y(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var m=(0,s.compose)(l.withPartialRender,(0,l.withCustomStyle)(a.d))((function(e){var t=g(g({},e),{},{shareType:"tumblr",serverPath:"gutenverse/social-share-tumblr"});return(0,d.jsx)(c.A,g({},t))})),v="gutenverse/social-share-tumblr",h=g(g({},p),{},{title:(0,i.__)("Gutenverse Social Share Tumblr","gutenverse"),description:(0,i.__)("Gutenverse Social Share Tumblr","gutenverse"),attributes:g(g({},p.attributes),{},{text:{type:"string",default:(0,i.__)("Share on Tumblr","gutenverse")}}),keywords:[].concat((0,n.A)(p.keywords),[(0,i.__)("tumblr","gutenverse")])}),b={icon:(0,d.jsx)(u.PL,{}),edit:m}},1503:()=>{},1513:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},1609:e=>{"use strict";e.exports=window.React},1613:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>z,name:()=>V,settings:()=>W});var n=o(6065),r=o(8930),i=o(9491),a=o(2188),s=o(4715),l=o(3482),c=o(596),p=o(7723),u=o(3832),d=o(1455),y=o.n(d),g=o(1222),m=function(){var e=(0,g.isOnEditor)()?function(e){return new Promise((function(t){y()({path:(0,u.addQueryArgs)("/wp/v2/categories",{search:e})}).then((function(e){var o=e.map((function(e){return{label:e.name,value:e.id}}));t(o)})).catch((function(){t([])}))}))}:function(){return{label:"",value:""}},t=(0,g.isOnEditor)()?function(e){return new Promise((function(t){y()({path:(0,u.addQueryArgs)("/wp/v2/taxonomies",{search:e})}).then((function(e){var o=Object.keys(e).map((function(t){return{label:e[t].name,value:e[t].slug}}));t(o)})).catch((function(){t([])}))}))}:function(){return{label:"",value:""}};return[{id:"taxonomyType",label:(0,p.__)("Taxonomy Type","gutenverse"),component:c.SelectSearchControl,isMulti:!1,onSearch:t},{id:"qty",label:(0,p.__)("Number of Category","gutenverse"),component:c.RangeControl,min:1,max:100,isParseFloat:!0},{id:"sortType",label:(0,p.__)("Sort Type","gutenverse"),component:c.SelectControl,options:[{label:(0,p.__)("Ascending","gutenverse"),value:"ASC"},{label:(0,p.__)("Descending","gutenverse"),value:"DESC"}]},{id:"sortBy",label:(0,p.__)("Sort By","gutenverse"),component:c.SelectControl,options:[{label:(0,p.__)("Post Count","gutenverse"),value:"count"},{label:(0,p.__)("Name","gutenverse"),value:"name"}]},{id:"hideEmpty",label:(0,p.__)("Hide Empty Category","gutenverse"),component:c.CheckboxControl},{id:"includedCategory",label:(0,p.__)("Included Categories","gutenverse"),component:c.SelectSearchControl,isMulti:!0,onSearch:e},{id:"layout",label:(0,p.__)("Layout","gutenverse"),component:c.SelectControl,options:[{label:(0,p.__)("Vertical","gutenverse"),value:"column"},{label:(0,p.__)("Horizontal","gutenverse"),value:"row"}]},{id:"showIcon",label:(0,p.__)("Show Icon","gutenverse"),component:c.CheckboxControl},{id:"showDivider",label:(0,p.__)("Show Divider","gutenverse"),component:c.CheckboxControl}]},v=o(790);function h(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function b(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?h(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):h(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var f=function(e){var t=e.elementId,o=e.layout,n=e.switcher,r=e.setSwitcher;return[{id:"contentAlignment",label:(0,p.__)("Content Alignment","gutenverse"),allowDeviceControl:!0,component:c.IconRadioControl,options:"column"===o?[{label:(0,p.__)("Align Left","gutenverse"),value:"flex-start",icon:(0,v.jsx)(l.AlignLeft,{})},{label:(0,p.__)("Align Center","gutenverse"),value:"center",icon:(0,v.jsx)(l.AlignCenter,{})},{label:(0,p.__)("Align Right","gutenverse"),value:"flex-end",icon:(0,v.jsx)(l.AlignRight,{})}]:[{label:(0,p.__)("Align Left","gutenverse"),value:"flex-start",icon:(0,v.jsx)(l.AlignLeft,{})},{label:(0,p.__)("Align Center","gutenverse"),value:"center",icon:(0,v.jsx)(l.AlignCenter,{})},{label:(0,p.__)("Align Right","gutenverse"),value:"flex-end",icon:(0,v.jsx)(l.AlignRight,{})},{label:(0,p.__)("Space Between","gutenverse"),value:"space-between",icon:(0,v.jsx)(l.AlignJustify,{})}]},{id:"contentSpacing",label:(0,p.__)("Content Spacing","gutenverse"),component:c.SizeControl,allowDeviceControl:!0,liveStyle:[{type:"unitPoint",id:"contentSpacing",responsive:!0,selector:".".concat(t," .taxonomy-list-wrapper .taxonomy-list-item"),properties:[{name:"padding",valueType:"pattern",pattern:"column"===o?"calc({value}/2) 0":"0 calc({value}/2)",patternValues:{value:{type:"direct"}}}]}]},{id:"contentTypography",label:(0,p.__)("Content Typography","gutenverse"),component:c.TypographyControl},{id:"__contentSwitch",component:c.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__contentSwitch;return r(b(b({},n),{},{contentSwitch:t}))}},{id:"contentColor",label:(0,p.__)("Content Color","gutenverse"),component:c.ColorControl,show:!n.contentSwitch||"normal"===n.contentSwitch,liveStyle:[{type:"color",id:"contentColor",selector:".".concat(t," .taxonomy-list-wrapper .taxonomy-list-item a"),properties:[{name:"color",valueType:"direct"}]}]},{id:"contentColorHover",label:(0,p.__)("Content Color","gutenverse"),component:c.ColorControl,show:"hover"===n.contentSwitch,liveStyle:[{type:"color",id:"contentColorHover",selector:".".concat(t," .taxonomy-list-wrapper .taxonomy-list-item a:hover"),properties:[{name:"color",valueType:"direct"}]}]}]};function x(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function w(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?x(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):x(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var S=function(e){var t=e.elementId,o=e.showIcon,r=e.switcher,i=e.setSwitcher;return[{id:"icon-notice",component:c.AlertControl,children:(0,v.jsx)(v.Fragment,{children:(0,v.jsx)("span",{children:(0,p.__)('This Panel Option Only Show If You Turn On "Show Icon" Option')})})},{id:"icon",show:o,label:(0,p.__)("Icon","gutenverse"),component:c.IconControl},{id:"iconSpace",component:c.SizeControl,show:o,label:(0,p.__)("Icon Space","gutenverse"),allowDeviceControl:!0,units:(0,n.A)((0,n.A)({px:{text:"px",min:1,max:1e3,step:1,unit:"px"}},"%",{text:"%",min:1,max:100,step:1,unit:"%"}),"vh",{text:"vh",min:1,max:100,step:1,unit:"vh"}),liveStyle:[{type:"unitPoint",id:"iconSpace",responsive:!0,selector:".".concat(t," .taxonomy-list-wrapper .icon-list"),properties:[{name:"margin-right",valueType:"direct"}]}]},{id:"iconSize",component:c.SizeControl,show:o,label:(0,p.__)("Icon Size","gutenverse"),allowDeviceControl:!0,units:(0,n.A)((0,n.A)({px:{text:"px",min:1,max:1e3,step:1,unit:"px"}},"%",{text:"%",min:1,max:100,step:1,unit:"%"}),"vh",{text:"vh",min:1,max:100,step:1,unit:"vh"}),liveStyle:[{type:"unitPoint",id:"iconSize",responsive:!0,selector:".".concat(t," .taxonomy-list-wrapper .icon-list i"),properties:[{name:"font-size",valueType:"direct"}]}]},{id:"__iconSwitch",component:c.SwitchControl,show:o,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__iconSwitch;return i(w(w({},r),{},{iconSwitch:t}))}},{id:"iconColor",label:(0,p.__)("Icon Color","gutenverse"),component:c.ColorControl,show:(!r.iconSwitch||"normal"===r.iconSwitch)&&o,liveStyle:[{type:"color",id:"iconColor",selector:".".concat(t," .taxonomy-list-wrapper .taxonomy-list-item a .icon-list"),properties:[{name:"color",valueType:"direct"}]}]},{id:"iconColorHover",label:(0,p.__)("Icon Color","gutenverse"),component:c.ColorControl,show:"hover"===r.iconSwitch&&o,liveStyle:[{type:"color",id:"iconColorHover",selector:".".concat(t," .taxonomy-list-wrapper .taxonomy-list-item a:hover .icon-list"),properties:[{name:"color",valueType:"direct"}]}]}]},_=function(e){var t=e.elementId,o=e.showDivider,n=e.layout;return[{id:"divider-notice",component:c.AlertControl,children:(0,v.jsx)(v.Fragment,{children:(0,v.jsx)("span",{children:(0,p.__)('This Panel Option Only Show If You Turn On "Show Divider" Option')})})},{id:"colorDivider",label:(0,p.__)("Color Divider","gutenverse"),show:o,component:c.ColorControl,liveStyle:[{type:"color",id:"colorDivider",selector:".".concat(t," .taxonomy-list-item:not(:first-child))"),properties:[{name:"border-color",valueType:"direct"}]}]},{id:"typeDivider",label:(0,p.__)("Type Divider","gutenverse"),show:o,component:c.SelectControl,options:[{label:(0,p.__)("Solid","gutenverse"),value:"solid"},{label:(0,p.__)("Double","gutenverse"),value:"double"},{label:(0,p.__)("Dotted","gutenverse"),value:"dotted"},{label:(0,p.__)("Dashed","gutenverse"),value:"dashed"}]},{id:"widthDivider",label:(0,p.__)("Width Divider","gutenverse"),show:o,component:c.SizeControl,liveStyle:[{type:"unitPoint",id:"widthDivider",selector:".".concat(t," .taxonomy-list-item"),properties:[{name:"column"===n?"width":"height",valueType:"direct"}]}]},{id:"sizeDivider",label:(0,p.__)("Size Divider","gutenverse"),show:o,component:c.SizeControl,liveStyle:[{type:"unitPoint",id:"sizeDivider",selector:".".concat(t," .taxonomy-list-item"),properties:[{name:"border-width",valueType:"direct"}]}]}]};function j(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function T(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?j(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):j(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var O=function(){return[{title:(0,p.__)("Settings","gutenverse"),initialOpen:!0,panelArray:m,tabRole:c.TabSetting},{title:(0,p.__)("Content Style","gutenverse"),initialOpen:!0,panelArray:f,tabRole:c.TabStyle},{title:(0,p.__)("Icon Style","gutenverse"),initialOpen:!1,panelArray:S,tabRole:c.TabStyle},{title:(0,p.__)("Divider Style","gutenverse"),initialOpen:!1,panelArray:_,tabRole:c.TabStyle},{title:(0,p.__)("Background","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,c.backgroundPanel)(T(T({},e),{},{styleId:"icon-list-background",normalOptions:["default","gradient"],hoverOptions:["default","gradient"]}))},tabRole:c.TabStyle},{title:(0,p.__)("Border","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,c.borderPanel)(T(T({},e),{},{styleId:"icon-list-border"}))},tabRole:c.TabStyle},{title:(0,p.__)("Masking","gutenverse"),initialOpen:!1,panelArray:c.maskPanel,tabRole:c.TabStyle},{title:(0,p.__)("Display","gutenverse"),initialOpen:!1,panelArray:c.responsivePanel,tabRole:c.TabSetting},{title:(0,p.__)("Positioning","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,c.positioningPanel)(T(T({},e),{},{selector:".".concat(e.elementId,".guten-element, .").concat(e.elementId,".guten-element.inline-icon-list > ul")}))},tabRole:c.TabSetting},{title:(0,p.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,c.animationPanel)(T(T({},e),{},{styleId:"icon-list-animation"}))},tabRole:c.TabSetting},{title:(0,p.__)("Transform","gutenverse"),initialOpen:!1,panelArray:c.transformPanel,pro:!0},{title:(0,p.__)("Mouse Move Effect","gutenverse"),initialOpen:!1,panelArray:c.mouseMoveEffectPanel,tabRole:c.TabSetting,pro:!0},{title:(0,p.__)("Advanced Animation","gutenverse"),initialOpen:!1,panelAdvance:!0,panelArray:function(e){return(0,c.advanceAnimationPanel)(T(T({},e),{},{blockType:"icon-list"}))},pro:!0},{title:(0,p.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,c.advancePanel)(T(T({},e),{},{styleId:"icon-list-advance"}))},tabRole:c.TabSetting},{title:(0,p.__)("Condition","gutenverse"),panelArray:c.conditionPanel,initialOpen:!1,pro:!0}]},C=o(6087),k=o(6826),P=o(4320),N=o(4404),E=o(2619);const D=function(e,t){var o=[];return o=function(e,t,o){return(0,g.isNotEmpty)(t.contentAlignment)&&o.push({type:"plain",id:"contentAlignment",responsive:!0,selector:".".concat(e," .taxonomy-list-item"),properties:[{name:"justify-content",valueType:"direct"}]}),(0,g.isNotEmpty)(t.contentSpacing)&&o.push({type:"unitPoint",id:"contentSpacing",responsive:!0,selector:".".concat(e," .taxonomy-list-wrapper .taxonomy-list-item"),properties:[{name:"padding",valueType:"pattern",pattern:"column"===t.layout?"calc({value}/2) 0":"0 calc({value}/2)",patternValues:{value:{type:"direct"}}}]}),(0,g.isNotEmpty)(t.contentTypography)&&o.push({type:"typography",id:"contentTypography",selector:".".concat(e," .taxonomy-list-wrapper .taxonomy-list-item a .taxonomy-list-content")}),(0,g.isNotEmpty)(t.contentColor)&&o.push({type:"color",id:"contentColor",selector:".".concat(e," .taxonomy-list-wrapper .taxonomy-list-item a"),properties:[{name:"color",valueType:"direct"}]}),(0,g.isNotEmpty)(t.contentColorHover)&&o.push({type:"color",id:"contentColorHover",selector:".".concat(e," .taxonomy-list-wrapper .taxonomy-list-item a:hover"),properties:[{name:"color",valueType:"direct"}]}),o}(e,t,o),o=function(e,t,o){return(0,g.isNotEmpty)(t.colorDivider)&&t.showDivider&&o.push({type:"color",id:"colorDivider",selector:".".concat(e," .taxonomy-list-item:not(:first-child)"),properties:[{name:"border-color",valueType:"direct"}]}),(0,g.isNotEmpty)(t.typeDivider)&&t.showDivider&&o.push({type:"plain",id:"typeDivider",selector:".".concat(e," .taxonomy-list-item:not(:first-child)"),properties:[{name:"column"===t.layout?"border-top-style":"border-left-style",valueType:"direct"}]}),(0,g.isNotEmpty)(t.widthDivider)&&t.showDivider&&o.push({type:"unitPoint",id:"widthDivider",selector:".".concat(e," .taxonomy-list-item"),properties:[{name:"column"===t.layout?"width":"height",valueType:"direct"}]}),(0,g.isNotEmpty)(t.sizeDivider)&&t.showDivider&&o.push({type:"unitPoint",id:"sizeDivider",selector:".".concat(e," .taxonomy-list-item"),properties:[{name:"border-width",valueType:"direct"}]}),o}(e,t,o),o=function(e,t,o){return(0,g.isNotEmpty)(t.iconSpace)&&o.push({type:"unitPoint",id:"iconSpace",responsive:!0,selector:".".concat(e," .taxonomy-list-wrapper .icon-list"),properties:[{name:"margin-right",valueType:"direct"}]}),(0,g.isNotEmpty)(t.iconSize)&&o.push({type:"unitPoint",id:"iconSize",responsive:!0,selector:".".concat(e," .taxonomy-list-wrapper .icon-list i"),properties:[{name:"font-size",valueType:"direct"}]}),(0,g.isNotEmpty)(t.iconColor)&&o.push({type:"color",id:"iconColor",selector:".".concat(e," .taxonomy-list-wrapper .taxonomy-list-item a .icon-list"),properties:[{name:"color",valueType:"direct"}]}),(0,g.isNotEmpty)(t.iconColorHover)&&o.push({type:"color",id:"iconColorHover",selector:".".concat(e," .taxonomy-list-wrapper .taxonomy-list-item a:hover .icon-list"),properties:[{name:"color",valueType:"direct"}]}),o}(e,t,o),o=function(e,t,o){return(0,g.isNotEmpty)(t.layout)&&o.push({type:"plain",id:"layout",selector:".".concat(e," .taxonomy-list-wrapper"),properties:[{name:"flex-direction",valueType:"direct"}]}),o}(e,t,o),o=(0,c.backgroundStyle)({attributes:t,data:o,elementId:e}),(0,g.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,g.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,g.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,g.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,g.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,g.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,g.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,g.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,g.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,g.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,g.isNotEmpty)(t.animation)&&(0,g.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,g.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,g.isNotEmpty)(t.positioningType)&&(0,g.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,g.isNotEmpty)(t.positioningWidth)&&(0,g.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,g.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,g.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,g.isNotEmpty)(t.positioningLeft)&&(0,g.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,g.isNotEmpty)(t.positioningRight)&&(0,g.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,g.isNotEmpty)(t.positioningTop)&&(0,g.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,g.isNotEmpty)(t.positioningBottom)&&(0,g.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),[].concat((0,N.A)(o),(0,N.A)((0,E.applyFilters)("gutenverse.taxonomy-list.blockStyle",[],{elementId:e,attributes:t})))};function B(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function A(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?B(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):B(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var H=(0,i.compose)(a.withPartialRender,a.withMouseMoveEffect)((function(e){var t=e.attributes,o=e.clientId,n=t.elementId,i=t.includedCategory,a=t.sortBy,p=t.qty,d=t.icon,m=t.sortType,h=t.hideEmpty,b=t.showIcon,f=t.taxonomyType,x=t.showDivider,w=(0,C.useRef)(),S=(0,k.useAnimationEditor)(t),_=(0,k.useDisplayEditor)(t),j=(0,C.useState)(!0),T=(0,r.A)(j,2),N=T[0],E=T[1],B=(0,C.useState)(null),H=(0,r.A)(B,2),R=H[0],I=H[1],M=(0,s.useBlockProps)({className:(0,l.classnames)("guten-element","guten-taxonomy-list","no-margin",n,S,_),ref:w});return(0,C.useEffect)((function(){(0,g.isOnEditor)()?(E(!0),n&&y()({path:(0,u.addQueryArgs)("/wp/v2/block-renderer/gutenverse/taxonomy-list",{context:"edit",attributes:{elementId:n,sortBy:a,sortType:m,includedCategory:i,qty:p,icon:d,hideEmpty:h,showIcon:b,showDivider:x,taxonomyType:f}})}).then((function(e){I(e.rendered)})).catch((function(){I("<span>Error</span>")})).finally((function(){return E(!1)}))):(I('<div class="taxonomy-list-wrapper">\n <div class="taxonomy-list-item">\n\t\t\t\t\t\t<a href="#">\n\t\t\t\t\t\t\t<span class="icon-list"><i aria-hidden="true" class="'.concat(d,'"></i></span>\n\t\t\t\t\t\t\t<div class="taxonomy-list-content">').concat((0,g.dummyText)(5,10),'</div>\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</div>\n <div class="taxonomy-list-item">\n\t\t\t\t\t\t<a href="#">\n\t\t\t\t\t\t\t<span class="icon-list"><i aria-hidden="true" class="').concat(d,'"></i></span>\n\t\t\t\t\t\t\t<div class="taxonomy-list-content">').concat((0,g.dummyText)(5,10),'</div>\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</div>\n <div class="taxonomy-list-item">\n\t\t\t\t\t\t<a href="#">\n\t\t\t\t\t\t\t<span class="icon-list"><i aria-hidden="true" class="').concat(d,'"></i></span>\n\t\t\t\t\t\t\t<div class="taxonomy-list-content">').concat((0,g.dummyText)(5,10),"</div>\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</div>\n </div>\n ")),E(!1))}),[n,a,m,i,p,d,h,b,f]),(0,P.useGenerateElementId)(o,n,w),(0,P.useDynamicStyle)(n,t,D,w),(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(l.CopyElementToolbar,A({},e)),(0,v.jsx)(c.BlockPanelController,{panelList:O,props:e,elementRef:w}),(0,v.jsx)("div",A(A({},M),{},{children:N?(0,v.jsx)(l.PostListSkeleton,{}):(0,v.jsx)(C.RawHTML,{className:"guten-raw-wrapper",children:R},"html")}))]})}));const R=H;function I(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function M(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?I(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):I(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const L=(0,i.compose)((0,a.withAnimationAdvanceScript)("taxonomy-list"),a.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,n=(0,k.useAnimationAdvanceData)(t),r=(0,k.useAnimationFrontend)(t),i=(0,k.useDisplayFrontend)(t),a=(0,l.classnames)("guten-element","guten-taxonomy-list",o,r,i);return(0,v.jsx)("div",M({},s.useBlockProps.save(M({className:a},n))))})),z=JSON.parse('{"apiVersion":2,"name":"gutenverse/taxonomy-list","title":"Taxonomy List","description":"Create a list of categories","class_callback":"\\\\Gutenverse\\\\Block\\\\Taxonomy_List","category":"gutenverse-post","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"qty":{"type":"integer","default":3},"includedCategory":{"type":"array","default":[]},"sortType":{"type":"string","default":"ASC"},"sortBy":{"type":"string","default":"count"},"hideEmpty":{"type":"boolean","default":false},"taxonomyType":{"type":"object","default":{"label":"Categories","value":"category"}},"showIcon":{"type":"boolean","default":false},"icon":{"type":"string","default":"fab fa-wordpress"},"iconColor":{"type":"object","copyStyle":true},"iconColorHover":{"type":"object","copyStyle":true},"iconSize":{"type":"object","copyStyle":true},"iconSpace":{"type":"object","copyStyle":true},"contentColor":{"type":"object","copyStyle":true},"contentColorHover":{"type":"object","copyStyle":true},"contentTypography":{"type":"object","copyStyle":true},"contentAlignment":{"type":"object","copyStyle":true},"contentSpacing":{"type":"object","copyStyle":true},"layout":{"type":"string","default":"column","copyStyle":true},"showDivider":{"type":"boolean","default":false,"copyStyle":true},"colorDivider":{"type":"object","copyStyle":true},"typeDivider":{"type":"string","default":"solid","copyStyle":true},"widthDivider":{"type":"object","copyStyle":true},"sizeDivider":{"type":"object","copyStyle":true},"mouseMoveEffect":{"type":"object","copyStyle":true},"background":{"type":"object","default":{},"copyStyle":true},"backgroundHover":{"type":"object","default":{},"copyStyle":true},"backgroundTransition":{"type":"object","copyStyle":true,"default":{}},"border":{"type":"object","default":{},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"borderHover":{"type":"object","default":{},"copyStyle":true},"boxShadowHover":{"type":"object","copyStyle":true},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"animation":{"type":"object","default":{},"copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"positioningType":{"type":"object","copyStyle":true},"positioningWidth":{"type":"object","copyStyle":true},"positioningAlign":{"type":"object","copyStyle":true},"positioningLocation":{"type":"string","copyStyle":true},"positioningLeft":{"type":"object","copyStyle":true},"positioningRight":{"type":"object","copyStyle":true},"positioningTop":{"type":"object","copyStyle":true},"positioningBottom":{"type":"object","copyStyle":true},"advanceAnimation":{"type":"object","default":{},"copyStyle":true},"transform":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"condition":{"type":"object","default":{}}},"supports":{"className":false},"keywords":["categories","list"]}');var F=o(4889),V=z.name,W={icon:(0,v.jsx)(F.MQ,{}),edit:R,save:L}},1814:(e,t,o)=>{var n=o(8825);e.exports=function(e){return"number"==typeof e&&e==n(e)}},1822:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>A,name:()=>R,settings:()=>I});var n=o(6065),r=o(9491),i=o(4715),a=o(3482),s=o(596),l=o(7723),c=o(790);function p(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function u(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?p(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):p(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var d=function(e){var t=e.elementId,o=e.containsAnchorTag,r=e.switcher,i=e.setSwitcher;return[{id:"textIndent",label:(0,l.__)("Text Indent","gutenverse"),component:s.SizeControl,units:(0,n.A)((0,n.A)({px:{text:"px",min:1,max:200,step:1}},"%",{text:"%",min:1,max:100,step:1,unit:"%"}),"em",{text:"em",min:.1,max:3,step:.1}),allowDeviceControl:!0,liveStyle:[{type:"unitPoint",id:"textIndent",responsive:!0,selector:"p.gutenverse-text.".concat(t),properties:[{name:"text-indent",valueType:"direct",important:!0}]}]},{id:"columns",label:(0,l.__)("Columns","gutenverse"),component:s.RangeControl,min:1,max:10,step:1,allowDeviceControl:!0,liveStyle:[{type:"plain",id:"columns",selector:".".concat(t),responsive:!0,properties:[{name:"columns",valueType:"direct"}]}]},{id:"gap",label:(0,l.__)("Column Gap","gutenverse"),component:s.SizeControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:{px:{text:"px",min:1,max:200,step:1},em:{text:"em",min:.1,max:3,step:.1}},liveStyle:[{type:"unitPoint",id:"gap",selector:".".concat(t),responsive:!0,properties:[{name:"column-gap",valueType:"direct"}]}]},{id:"alignment",label:(0,l.__)("Alignment","gutenverse"),component:s.IconRadioControl,allowDeviceControl:!0,options:[{label:(0,l.__)("Align Left","gutenverse"),value:"left",icon:(0,c.jsx)(a.AlignLeft,{})},{label:(0,l.__)("Align Center","gutenverse"),value:"center",icon:(0,c.jsx)(a.AlignCenter,{})},{label:(0,l.__)("Align Right","gutenverse"),value:"right",icon:(0,c.jsx)(a.AlignRight,{})},{label:(0,l.__)("Align Justify","gutenverse"),value:"justify",icon:(0,c.jsx)(a.AlignJustify,{})}]},{id:"textColor",label:(0,l.__)("Text Color","gutenverse"),component:s.ColorControl,liveStyle:[{type:"color",id:"textColor",selector:".".concat(t),properties:[{name:"color",valueType:"direct"}]}]},{id:"typography",label:(0,l.__)("Typography","gutenverse"),component:s.TypographyControl},{id:"linkHeader",component:s.HeadingControl,label:(0,l.__)("Link","gutenverse"),show:o},{id:"__linkHover",component:s.SwitchControl,show:o,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__linkHover;return i(u(u({},r),{},{state:t}))}},{id:"linkColor",label:(0,l.__)("Link Color","gutenverse"),component:s.ColorControl,show:(!r.state||"normal"===r.state)&&o,liveStyle:[{type:"color",id:"linkColor",properties:[{name:"color",valueType:"direct"}],selector:".".concat(t," a")}]},{id:"linkTypography",label:(0,l.__)("Link Typography","gutenverse"),component:s.TypographyControl,show:(!r.state||"normal"===r.state)&&o},{id:"linkColorHover",label:(0,l.__)("Link Color Hover","gutenverse"),component:s.ColorControl,show:"hover"===r.state&&o,liveStyle:[{type:"color",id:"linkColorHover",properties:[{name:"color",valueType:"direct"}],selector:".".concat(t," a:hover")}]},{id:"linkTypographyHover",label:(0,l.__)("Link Typography Hover","gutenverse"),component:s.TypographyControl,show:"hover"===r.state&&o}]};function y(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function g(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?y(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):y(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var m=function(){return[{title:(0,l.__)("Content","gutenverse"),panelArray:d,initialOpen:!0,tabRole:s.TabStyle},{title:(0,l.__)("Highlight Style","gutenverse"),panelArray:function(e){return(0,s.childStylePanel)(g(g({},e),{},{arrOfTextChilds:["textChilds"]}))},initialOpen:!1,tabRole:s.TabStyle,pro:!0},{title:(0,l.__)("Dynamic Data","gutenverse"),panelArray:function(e){return(0,s.dynamicContentPanel)(g(g({},e),{},{blockType:"text",arrOfTextChilds:["dynamicDataList"]}))},initialOpen:!1,tabRole:s.TabSetting,pro:!0},{title:(0,l.__)("Background","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,s.backgroundPanel)(g(g({},e),{},{styleId:"text-background",normalOptions:["default","gradient"],hoverOptions:["default","gradient"]}))},tabRole:s.TabStyle},{title:(0,l.__)("Border","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,s.borderPanel)(g(g({},e),{},{styleId:"text-border"}))},tabRole:s.TabStyle},{title:(0,l.__)("Masking","gutenverse"),initialOpen:!1,panelArray:s.maskPanel,tabRole:s.TabStyle},{title:(0,l.__)("Display","gutenverse"),initialOpen:!1,panelArray:s.responsivePanel,tabRole:s.TabSetting},{title:(0,l.__)("Positioning","gutenverse"),initialOpen:!1,panelArray:s.positioningPanel,tabRole:s.TabSetting},{title:(0,l.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,s.animationPanel)(g(g({},e),{},{styleId:"text-animation"}))},tabRole:s.TabSetting},{title:(0,l.__)("Transform","gutenverse"),initialOpen:!1,panelArray:s.transformPanel,pro:!0},{title:(0,l.__)("Mouse Move Effect","gutenverse"),initialOpen:!1,panelArray:s.mouseMoveEffectPanel,tabRole:s.TabSetting,pro:!0},{title:(0,l.__)("Advanced Animation","gutenverse"),initialOpen:!1,panelAdvance:!0,panelArray:function(e){return(0,s.advanceAnimationPanel)(g(g({},e),{},{blockType:"text"}))},pro:!0},{title:(0,l.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,s.advancePanel)(g(g({},e),{},{styleId:"text-advance"}))},tabRole:s.TabSetting},{title:(0,l.__)("Condition","gutenverse"),panelArray:s.conditionPanel,initialOpen:!1,pro:!0}]},v=o(2188),h=o(6826),b=o(4997),f=o(7143),x=o(2774),w=o(6087),S=o(2619),_=o(4320),j=o(4404),T=o(1222);const O=function(e,t){var o=[];return o=(0,s.backgroundStyle)({attributes:t,data:o,elementId:e}),(0,T.isNotEmpty)(t.textIndent)&&o.push({type:"unitPoint",id:"textIndent",responsive:!0,selector:"p.gutenverse-text.".concat(e),properties:[{name:"text-indent",valueType:"direct",important:!0}]}),(0,T.isNotEmpty)(t.columns)&&o.push({type:"plain",id:"columns",selector:".".concat(e),responsive:!0,properties:[{name:"columns",valueType:"direct"}]}),(0,T.isNotEmpty)(t.gap)&&o.push({type:"unitPoint",id:"gap",selector:".".concat(e),responsive:!0,properties:[{name:"column-gap",valueType:"direct"}]}),(0,T.isNotEmpty)(t.alignment)&&o.push({type:"plain",id:"alignment",selector:".".concat(e),responsive:!0,properties:[{name:"text-align",valueType:"direct"}]}),(0,T.isNotEmpty)(t.textColor)&&o.push({type:"color",id:"textColor",selector:".".concat(e),properties:[{name:"color",valueType:"direct"}]}),(0,T.isNotEmpty)(t.typography)&&o.push({type:"typography",id:"typography",selector:".".concat(e)}),(0,T.isNotEmpty)(t.linkColor)&&o.push({type:"color",id:"linkColor",properties:[{name:"color",valueType:"direct"}],selector:".".concat(e," a")}),(0,T.isNotEmpty)(t.linkTypography)&&o.push({type:"typography",id:"linkTypography",selector:".".concat(e," a")}),(0,T.isNotEmpty)(t.linkColorHover)&&o.push({type:"color",id:"linkColorHover",properties:[{name:"color",valueType:"direct"}],selector:".".concat(e," a:hover")}),(0,T.isNotEmpty)(t.linkTypographyHover)&&o.push({type:"typography",id:"linkTypographyHover",selector:".".concat(e," a:hover")}),(0,T.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,T.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,T.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,T.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,T.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,T.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,T.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,T.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,T.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,T.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,T.isNotEmpty)(t.animation)&&(0,T.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,T.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,T.isNotEmpty)(t.positioningType)&&(0,T.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,T.isNotEmpty)(t.positioningWidth)&&(0,T.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,T.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,T.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,T.isNotEmpty)(t.positioningLeft)&&(0,T.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,T.isNotEmpty)(t.positioningRight)&&(0,T.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,T.isNotEmpty)(t.positioningTop)&&(0,T.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,T.isNotEmpty)(t.positioningBottom)&&(0,T.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),[].concat((0,j.A)(o),(0,j.A)((0,S.applyFilters)("gutenverse.text-paragraph.blockStyle",[],{elementId:e,attributes:t})))};function C(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function k(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?C(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):C(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var P=function(e){(0,x.HighLightToolbar)(e),(0,x.FilterDynamic)(e)};const N=(0,r.compose)(v.withPartialRender,v.withPassRef,(0,v.withAnimationAdvanceV2)("text-paragraph"),v.withMouseMoveEffect)((function(e){var t=e.attributes,o=e.clientId,n=e.setAttributes,r=e.setBlockRef,p=t.elementId,u=t.paragraph,d=(0,T.useRichTextParameter)(),y=d.panelState,g=d.setPanelState,v=(0,f.useSelect)((function(e){return e("core/block-editor")}),[]).getBlocks,x=(0,w.useRef)(),j=v(),C=(0,h.useAnimationEditor)(t),N=(0,h.useDisplayEditor)(t),E=(0,f.dispatch)("core/block-editor"),D=E.insertBlock,B=E.replaceBlock;(0,_.useGenerateElementId)(o,p,x),(0,_.useDynamicStyle)(p,t,O,x),(0,_.useDynamicScript)(x);var A=(0,i.useBlockProps)({className:(0,a.classnames)("guten-element","gutenverse-text","no-margin",p,C,N),ref:x});return(0,S.applyFilters)("gutenverse.pro.dynamic.toolbar",g,{panel:"setting",section:0}),(0,w.useEffect)((function(){x&&r(x)}),[x]),(0,w.useEffect)((function(){var e=null!==(new DOMParser).parseFromString(u,"text/html").querySelector("a");e!==t.containsAnchorTag&&n({containsAnchorTag:e})}),[u]),(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(a.CopyElementToolbar,k({},e)),(0,c.jsx)(s.BlockPanelController,{panelList:m,props:e,elementRef:x,panelState:y}),(0,c.jsx)(P,k({},e)),(0,c.jsx)(a.RichTextComponent,{isBlockProps:!0,blockProps:A,tagName:"p",onChange:function(e){return n({paragraph:e})},"aria-label":(0,l.__)("Text Paragraph","gutenverse"),placeholder:(0,l.__)("Text Paragraph Placeholder","gutenverse"),multiline:!1,setAttributes:n,attributes:t,clientId:o,panelDynamic:{panel:"setting",section:0},panelPosition:{panel:"style",section:1},contentAttribute:"paragraph",setPanelState:g,isOnSplit:!0,onSplit:function(e,t){return function(e,t){var n=(0,b.createBlock)("gutenverse/text-paragraph",{paragraph:e});if(t)B(o,n);else{var r=v().findIndex((function(e,t){return e.clientId!==j[t].clientId}));D(n,r+1)}}(e,t)},onReplace:function(){},textChilds:"textChilds",dynamicList:"dynamicDataList",isUseDinamic:!0,isUseHighlight:!0})]})}));function E(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function D(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?E(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):E(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const B=(0,r.compose)((0,v.withAnimationAdvanceScript)("text-paragraph"),v.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,n=t.paragraph,r=(0,h.useAnimationAdvanceData)(t),s=(0,h.useAnimationFrontend)(t),p=(0,h.useDisplayFrontend)(t),u=(0,a.classnames)("guten-element","gutenverse-text",o,s,p);return(0,c.jsx)(i.RichText.Content,D({tagName:"p","aria-label":(0,l.__)("Text Paragraph","gutenverse"),value:n},i.useBlockProps.save(D({className:u},r))))})),A=JSON.parse('{"apiVersion":2,"name":"gutenverse/text-paragraph","title":"Text Paragraph","description":"Paragraph Block Gutenverse ","category":"gutenverse-element","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"mouseMoveEffect":{"type":"object","copyStyle":true},"textChilds":{"type":"array","default":[]},"openChild":{"type":"string"},"dynamicDataList":{"type":"array","default":[]},"openDynamic":{"type":"string"},"paragraph":{"type":"string","default":""},"columns":{"type":"object","default":{"Desktop":"1"}},"gap":{"type":"object","copyStyle":true},"textIndent":{"type":"object","copyStyle":true},"alignment":{"type":"object","copyStyle":true},"textColor":{"type":"object","copyStyle":true},"containsAnchorTag":{"type":"boolean","copyStyle":true},"linkColor":{"type":"object","copyStyle":true},"linkTypography":{"type":"object","copyStyle":true},"linkColorHover":{"type":"object","copyStyle":true},"linkTypographyHover":{"type":"object","copyStyle":true},"typography":{"type":"object","copyStyle":true},"background":{"type":"object","default":{},"copyStyle":true},"backgroundHover":{"type":"object","default":{},"copyStyle":true},"backgroundTransition":{"type":"object","copyStyle":true,"default":{}},"border":{"type":"object","default":{},"copyStyle":true},"dynamicTextContent":{"type":"array","copyStyle":true},"dynamicUrlContent":{"type":"array","copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"borderHover":{"type":"object","default":{},"copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadowHover":{"type":"object","copyStyle":true},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"animation":{"type":"object","default":{},"copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"positioningType":{"type":"object","copyStyle":true},"positioningWidth":{"type":"object","copyStyle":true},"positioningAlign":{"type":"object","copyStyle":true},"positioningLocation":{"type":"string","copyStyle":true},"positioningLeft":{"type":"object","copyStyle":true},"positioningRight":{"type":"object","copyStyle":true},"positioningTop":{"type":"object","copyStyle":true},"positioningBottom":{"type":"object","copyStyle":true},"advanceAnimation":{"type":"object","default":{},"copyStyle":true},"transform":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"condition":{"type":"object","default":{}}},"supports":{"className":false},"keywords":["text","text-paragraph","editor","textarea"]}');var H=o(4889),R=A.name,I={icon:(0,c.jsx)(H.$S,{}),example:{attributes:{paragraph:"Maecenas nec convallis urna, non fermentum lectus. Integer fringilla felis nisl, id sollicitudin mauris consectetur vel. Cras et convallis enim. Nulla tempus tincidunt imperdiet. Donec luctus auctor urna ullamcorper ornare. Mauris vestibulum a odio sit amet dapibus."}},edit:N,save:B}},1938:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>P,name:()=>E,settings:()=>D});var n=o(6065),r=o(9491),i=o(4715),a=o(3482),s=o(596),l=o(7723),c=function(e){return[{id:"htmlTag",label:(0,l.__)("HTML Tag","gutenverse"),component:s.SelectControl,options:[{label:(0,l.__)("H1"),value:"h1"},{label:(0,l.__)("H2"),value:"h2"},{label:(0,l.__)("H3"),value:"h3"},{label:(0,l.__)("H4"),value:"h4"},{label:(0,l.__)("H5"),value:"h5"},{label:(0,l.__)("H6"),value:"h6"},{label:(0,l.__)("P"),value:"p"}]},{id:"staticText",label:(0,l.__)("Static Text","gutenverse"),component:s.TextControl}]},p=o(790);function u(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function d(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?u(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):u(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var y=function(e){var t=e.elementId,o=e.switcher,n=e.setSwitcher;return[{id:"alignment",label:(0,l.__)("Alignment","gutenverse"),component:s.IconRadioControl,allowDeviceControl:!0,options:[{label:(0,l.__)("Align Left","gutenverse"),value:"flex-start",icon:(0,p.jsx)(a.AlignLeft,{})},{label:(0,l.__)("Align Center","gutenverse"),value:"center",icon:(0,p.jsx)(a.AlignCenter,{})},{label:(0,l.__)("Align Right","gutenverse"),value:"flex-end",icon:(0,p.jsx)(a.AlignRight,{})},{label:(0,l.__)("Align Right","gutenverse"),value:"space-between",icon:(0,p.jsx)(a.AlignJustify,{})}]},{id:"typography",label:(0,l.__)("Typography","gutenverse"),component:s.TypographyControl},{id:"__styleHover",component:s.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__styleHover;return n(d(d({},o),{},{styleHover:t}))}},{id:"color",show:!o.styleHover||"normal"===o.styleHover,label:(0,l.__)("Text color","gutenverse"),component:s.ColorControl,liveStyle:[{type:"color",id:"color",selector:".".concat(t," h1, .").concat(t," h2, .").concat(t," h3, .").concat(t," h4, .").concat(t," h5, .").concat(t," h6, .").concat(t," span, .").concat(t," a"),properties:[{name:"color",valueType:"direct"}]}]},{id:"textShadow",show:!o.styleHover||"normal"===o.styleHover,label:(0,l.__)("Text Shadow","gutenverse"),component:s.TextShadowControl,liveStyle:[{type:"textShadow",id:"textShadow",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(t," h1, .").concat(t," h2, .").concat(t," h3, .").concat(t," h4, .").concat(t," h5, .").concat(t," h6, .").concat(t," span, .").concat(t," a")}]},{id:"textStroke",show:!o.styleHover||"normal"===o.styleHover,label:(0,l.__)("Text Stroke","gutenverse"),component:s.TextStrokeControl,liveStyle:[{type:"textStroke",id:"textStroke",selector:".".concat(t," h1, .").concat(t," h2, .").concat(t," h3, .").concat(t," h4, .").concat(t," h5, .").concat(t," h6, .").concat(t," span, .").concat(t," a")}]},{id:"colorHover",show:"hover"===o.styleHover,label:(0,l.__)("Hover Text color","gutenverse"),component:s.ColorControl,liveStyle:[{type:"color",id:"colorHover",selector:".".concat(t,":hover h1, .").concat(t,":hover h2, .").concat(t,":hover h3, .").concat(t,":hover h4, .").concat(t,":hover h5, .").concat(t,":hover h6, .").concat(t,":hover span, .").concat(t,":hover a"),properties:[{name:"color",valueType:"direct"}]}]},{id:"textShadowHover",show:"hover"===o.styleHover,label:(0,l.__)("Hover Text Shadow","gutenverse"),component:s.TextShadowControl,liveStyle:[{type:"textShadow",id:"textShadowHover",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(t,":hover h1 , .").concat(t,":hover h2 , .").concat(t,":hover h3 , .").concat(t,":hover h4 , .").concat(t,":hover h5 , .").concat(t,":hover h6")}]},{id:"textStrokeHover",show:"hover"===o.styleHover,label:(0,l.__)("Hover Text Stroke","gutenverse"),component:s.TextStrokeControl,liveStyle:[{type:"textStroke",id:"textStrokeHover",selector:".".concat(t,":hover h1 , .").concat(t,":hover h2 , .").concat(t,":hover h3 , .").concat(t,":hover h4 , .").concat(t,":hover h5 , .").concat(t,":hover h6")}]},{id:"searchTextColor",show:!o.styleHover||"normal"===o.styleHover,label:(0,l.__)("Search Text color","gutenverse"),component:s.ColorControl,liveStyle:[{type:"color",id:"searchTextColor",selector:".".concat(t," h1 .search-input-text, .").concat(t," h2 .search-input-text, .").concat(t," h3 .search-input-text, .").concat(t," h4 .search-input-text, .").concat(t," h5 .search-input-text, .").concat(t," h6 .search-input-text"),properties:[{name:"color",valueType:"direct"}]}]},{id:"searchTextShadow",show:!o.styleHover||"normal"===o.styleHover,label:(0,l.__)("Search Text Shadow","gutenverse"),component:s.TextShadowControl,liveStyle:[{type:"textShadow",id:"searchTextShadow",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(t," h1 .search-input-text, .").concat(t," h2 .search-input-text, .").concat(t," h3 .search-input-text, .").concat(t," h4 .search-input-text, .").concat(t," h5 .search-input-text, .").concat(t," h6 .search-input-text")}]},{id:"searchTextStroke",show:!o.styleHover||"normal"===o.styleHover,label:(0,l.__)("Search Text Stroke","gutenverse"),component:s.TextStrokeControl,liveStyle:[{type:"textStroke",id:"searchTextStroke",selector:".".concat(t," h1 .search-input-text, .").concat(t," h2 .search-input-text, .").concat(t," h3 .search-input-text, .").concat(t," h4 .search-input-text, .").concat(t," h5 .search-input-text, .").concat(t," h6 .search-input-text")}]},{id:"searchTextColorHover",show:"hover"===o.styleHover,label:(0,l.__)("Hover Search Text color","gutenverse"),component:s.ColorControl,liveStyle:[{type:"color",id:"searchTextColorHover",selector:".".concat(t,":hover h1 .search-input-text, .").concat(t,":hover h2 .search-input-text, .").concat(t,":hover h3 .search-input-text, .").concat(t,":hover h4 .search-input-text, .").concat(t,":hover h5 .search-input-text, .").concat(t,":hover h6 .search-input-text"),properties:[{name:"color",valueType:"direct"}]}]},{id:"searchTextShadowHover",show:"hover"===o.styleHover,label:(0,l.__)("Hover Search Text Shadow","gutenverse"),component:s.TextShadowControl,liveStyle:[{type:"textShadow",id:"searchTextShadowHover",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(t,":hover h1 .search-input-text, .").concat(t,":hover h2 .search-input-text, .").concat(t,":hover h3 .search-input-text, .").concat(t,":hover h4 .search-input-text, .").concat(t,":hover h5 .search-input-text, .").concat(t,":hover h6 .search-input-text")}]},{id:"searchTextStrokeHover",show:"hover"===o.styleHover,label:(0,l.__)("Hover Search Text Stroke","gutenverse"),component:s.TextStrokeControl,liveStyle:[{type:"textStroke",id:"searchTextStrokeHover",selector:".".concat(t,":hover h1 .search-input-text, .").concat(t,":hover h2 .search-input-text, .").concat(t,":hover h3 .search-input-text, .").concat(t,":hover h4 .search-input-text, .").concat(t,":hover h5 .search-input-text, .").concat(t,":hover h6 .search-input-text")}]}]};function g(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function m(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?g(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):g(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var v=function(){return[{title:(0,l.__)("Setting","gutenverse"),panelArray:c,tabRole:s.TabSetting},{title:(0,l.__)("Style","gutenverse"),initialOpen:!1,panelArray:y,tabRole:s.TabStyle},{title:(0,l.__)("Background","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,s.backgroundPanel)(m(m({},e),{},{styleId:"archive-title-background",normalOptions:["default","gradient"],hoverOptions:["default","gradient"]}))},tabRole:s.TabStyle},{title:(0,l.__)("Border","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,s.borderPanel)(m(m({},e),{},{styleId:"archive-title-border"}))},tabRole:s.TabStyle},{title:(0,l.__)("Masking","gutenverse"),initialOpen:!1,panelArray:s.maskPanel,tabRole:s.TabStyle},{title:(0,l.__)("Display","gutenverse"),initialOpen:!1,panelArray:s.responsivePanel,tabRole:s.TabSetting},{title:(0,l.__)("Positioning","gutenverse"),initialOpen:!1,panelArray:s.positioningPanel,tabRole:s.TabSetting},{title:(0,l.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,s.animationPanel)(m(m({},e),{},{styleId:"archive-title-animation"}))},tabRole:s.TabSetting},{title:(0,l.__)("Transform","gutenverse"),initialOpen:!1,panelArray:s.transformPanel,pro:!0},{title:(0,l.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,s.advancePanel)(m(m({},e),{},{styleId:"archive-title-advance"}))},tabRole:s.TabSetting},{title:(0,l.__)("Condition","gutenverse"),panelArray:s.conditionPanel,initialOpen:!1,pro:!0}]},h=o(6087),b=o(2188),f=o(6826),x=o(4320),w=o(4404),S=o(1222),_=o(2619);const j=function(e,t){var o=[];return o=(0,s.backgroundStyle)({attributes:t,data:o,elementId:e}),(0,S.isNotEmpty)(t.alignment)&&o.push({type:"plain",id:"alignment",selector:".".concat(e," h1, .").concat(e," h2, .").concat(e," h3, .").concat(e," h4, .").concat(e," h5, .").concat(e," h6, .").concat(e," span, .").concat(e," a"),properties:[{name:"text-align",valueType:"function",functionName:"handleAlign"}],responsive:!0}),(0,S.isNotEmpty)(t.typography)&&o.push({type:"typography",id:"typography",selector:".".concat(e," h1, .").concat(e," h2, .").concat(e," h3, .").concat(e," h4, .").concat(e," h5, .").concat(e," h6, .").concat(e," span, .").concat(e," a")}),(0,S.isNotEmpty)(t.color)&&o.push({type:"color",id:"color",selector:".".concat(e," h1, .").concat(e," h2, .").concat(e," h3, .").concat(e," h4, .").concat(e," h5, .").concat(e," h6, .").concat(e," span, .").concat(e," a"),properties:[{name:"color",valueType:"direct"}]}),(0,S.isNotEmpty)(t.textShadow)&&o.push({type:"textShadow",id:"textShadow",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(e," h1, .").concat(e," h2, .").concat(e," h3, .").concat(e," h4, .").concat(e," h5, .").concat(e," h6, .").concat(e," span, .").concat(e," a")}),(0,S.isNotEmpty)(t.textStroke)&&o.push({type:"textStroke",id:"textStroke",selector:".".concat(e," h1, .").concat(e," h2, .").concat(e," h3, .").concat(e," h4, .").concat(e," h5, .").concat(e," h6, .").concat(e," span, .").concat(e," a")}),(0,S.isNotEmpty)(t.colorHover)&&o.push({type:"color",id:"colorHover",selector:".".concat(e,":hover h1, .").concat(e,":hover h2, .").concat(e,":hover h3, .").concat(e,":hover h4, .").concat(e,":hover h5, .").concat(e,":hover h6, .").concat(e,":hover span, .").concat(e,":hover a"),properties:[{name:"color",valueType:"direct"}]}),(0,S.isNotEmpty)(t.textShadowHover)&&o.push({type:"textShadow",id:"textShadowHover",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(e,":hover h1 , .").concat(e,":hover h2 , .").concat(e,":hover h3 , .").concat(e,":hover h4 , .").concat(e,":hover h5 , .").concat(e,":hover h6")}),(0,S.isNotEmpty)(t.textStrokeHover)&&o.push({type:"textStroke",id:"textStrokeHover",selector:".".concat(e,":hover h1 , .").concat(e,":hover h2 , .").concat(e,":hover h3 , .").concat(e,":hover h4 , .").concat(e,":hover h5 , .").concat(e,":hover h6")}),(0,S.isNotEmpty)(t.searchTextColor)&&o.push({type:"color",id:"searchTextColor",selector:".".concat(e," h1 .search-input-text, .").concat(e," h2 .search-input-text, .").concat(e," h3 .search-input-text, .").concat(e," h4 .search-input-text, .").concat(e," h5 .search-input-text, .").concat(e," h6 .search-input-text"),properties:[{name:"color",valueType:"direct"}]}),(0,S.isNotEmpty)(t.searchTextShadow)&&o.push({type:"textShadow",id:"searchTextShadow",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(e," h1 .search-input-text, .").concat(e," h2 .search-input-text, .").concat(e," h3 .search-input-text, .").concat(e," h4 .search-input-text, .").concat(e," h5 .search-input-text, .").concat(e," h6 .search-input-text")}),(0,S.isNotEmpty)(t.searchTextStroke)&&o.push({type:"textStroke",id:"searchTextStroke",selector:".".concat(e," h1 .search-input-text, .").concat(e," h2 .search-input-text, .").concat(e," h3 .search-input-text, .").concat(e," h4 .search-input-text, .").concat(e," h5 .search-input-text, .").concat(e," h6 .search-input-text")}),(0,S.isNotEmpty)(t.searchTextColorHover)&&o.push({type:"color",id:"searchTextColorHover",selector:".".concat(e,":hover h1 .search-input-text, .").concat(e,":hover h2 .search-input-text, .").concat(e,":hover h3 .search-input-text, .").concat(e,":hover h4 .search-input-text, .").concat(e,":hover h5 .search-input-text, .").concat(e,":hover h6 .search-input-text"),properties:[{name:"color",valueType:"direct"}]}),(0,S.isNotEmpty)(t.searchTextShadowHover)&&o.push({type:"textShadow",id:"searchTextShadowHover",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(e,":hover h1 .search-input-text, .").concat(e,":hover h2 .search-input-text, .").concat(e,":hover h3 .search-input-text, .").concat(e,":hover h4 .search-input-text, .").concat(e,":hover h5 .search-input-text, .").concat(e,":hover h6 .search-input-text")}),(0,S.isNotEmpty)(t.searchTextStrokeHover)&&o.push({type:"textStroke",id:"searchTextStrokeHover",selector:".".concat(e,":hover h1 .search-input-text, .").concat(e,":hover h2 .search-input-text, .").concat(e,":hover h3 .search-input-text, .").concat(e,":hover h4 .search-input-text, .").concat(e,":hover h5 .search-input-text, .").concat(e,":hover h6 .search-input-text")}),(0,S.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,S.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,S.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,S.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,S.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,S.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,S.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,S.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,S.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,S.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,S.isNotEmpty)(t.animation)&&(0,S.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,S.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,S.isNotEmpty)(t.positioningType)&&(0,S.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,S.isNotEmpty)(t.positioningWidth)&&(0,S.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,S.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,S.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,S.isNotEmpty)(t.positioningLeft)&&(0,S.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,S.isNotEmpty)(t.positioningRight)&&(0,S.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,S.isNotEmpty)(t.positioningTop)&&(0,S.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,S.isNotEmpty)(t.positioningBottom)&&(0,S.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),[].concat((0,w.A)(o),(0,w.A)((0,_.applyFilters)("gutenverse.search-title.blockStyle",[],{elementId:e,attributes:t})))};function T(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function O(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?T(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):T(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const C=(0,r.compose)(b.withPartialRender)((function(e){var t=e.attributes,o=e.clientId,n=t.elementId,r=t.htmlTag,c=t.staticText,u=(0,f.useAnimationEditor)(t),d=(0,f.useDisplayEditor)(t),y=(0,h.useRef)(),g=(0,i.useBlockProps)({className:(0,a.classnames)("guten-element","guten-search-result-title",n,u,d),ref:y});return(0,x.useGenerateElementId)(o,n,y),(0,x.useDynamicStyle)(n,t,j,y),(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(a.CopyElementToolbar,O({},e)),(0,p.jsx)(i.InspectorControls,{children:(0,p.jsx)(s.PanelTutorial,{title:(0,l.__)("How Search Result Title works?","gutenverse"),list:[{title:(0,l.__)("In Frontend","gutenverse"),description:(0,l.__)("Search Input will be replaced by the data user inputed in search form","gutenverse")},{title:(0,l.__)("Inside Editor","gutenverse"),description:(0,l.__)("It will load placeholder data.","gutenverse")}]})}),(0,p.jsx)(s.BlockPanelController,{panelList:v,props:e,elementRef:y}),(0,p.jsx)("div",O(O({},g),{},{children:(0,p.jsxs)(r,{children:[c," ",(0,p.jsx)("span",{className:"search-input-text",children:(0,l.__)("<Search Input>","gutenverse")})]})}))]})}));function k(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}const P=JSON.parse('{"apiVersion":2,"name":"gutenverse/search-result-title","class_callback":"\\\\Gutenverse\\\\Block\\\\Search_Result_Title","title":"Search Result Title","description":"Show the search result title.","category":"gutenverse-post","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"backendArchiveId":{"type":"string"},"htmlTag":{"type":"string","default":"h1"},"staticText":{"type":"string","default":"Search Result For:"},"alignment":{"type":"object","copyStyle":true},"typography":{"type":"object","copyStyle":true},"color":{"type":"object","copyStyle":true},"textShadow":{"type":"object","default":{},"copyStyle":true},"textStroke":{"type":"object","copyStyle":true},"colorHover":{"type":"object","copyStyle":true},"textShadowHover":{"type":"object","default":{},"copyStyle":true},"textStrokeHover":{"type":"object","copyStyle":true},"searchTextColor":{"type":"object","copyStyle":true},"searchTextShadow":{"type":"object","default":{},"copyStyle":true},"searchTextStroke":{"type":"object","copyStyle":true},"searchTextColorHover":{"type":"object","copyStyle":true},"searchTextShadowHover":{"type":"object","default":{},"copyStyle":true},"searchTextStrokeHover":{"type":"object","copyStyle":true},"background":{"type":"object","default":{},"copyStyle":true},"backgroundHover":{"type":"object","default":{},"copyStyle":true},"backgroundTransition":{"type":"object","copyStyle":true,"default":{}},"border":{"type":"object","copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"borderHover":{"type":"object","copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadowHover":{"type":"object","copyStyle":true},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"animation":{"type":"object","default":{},"copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"positioningType":{"type":"object","copyStyle":true},"positioningWidth":{"type":"object","copyStyle":true},"positioningAlign":{"type":"object","copyStyle":true},"positioningLocation":{"type":"string","copyStyle":true},"positioningLeft":{"type":"object","copyStyle":true},"positioningRight":{"type":"object","copyStyle":true},"positioningTop":{"type":"object","copyStyle":true},"positioningBottom":{"type":"object","copyStyle":true},"transform":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"condition":{"type":"object","default":{}}},"usesContext":["archiveId","archiveType","queryId"],"supports":{"className":false},"keywords":["archive","title"]}');var N=o(4889),E=P.name,D={icon:(0,p.jsx)(N.Ve,{}),edit:C,save:function(e){var t=e.attributes,o=t.elementId,r=(0,f.useAnimationFrontend)(t),s=(0,f.useDisplayFrontend)(t),l=(0,a.classnames)("guten-element","guten-search-result-title",o,r,s);return(0,p.jsx)("div",function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?k(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):k(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},i.useBlockProps.save({className:l})))}}},1992:(e,t,o)=>{var n,r=o(2353),i=(n=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!i&&i in e}},2039:(e,t,o)=>{var n=o(2310)(o(8453),"WeakMap");e.exports=n},2050:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},2055:e=>{e.exports=function(){return!1}},2064:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>E,name:()=>B,settings:()=>A});var n=o(6065),r=o(8930),i=o(9491),a=o(4715),s=o(3482),l=o(596),c=o(7723),p=function(e){var t=e.postLink;return[{id:"htmlTag",label:(0,c.__)("HTML Tag","gutenverse"),component:l.SelectControl,options:[{label:(0,c.__)("H1"),value:"h1"},{label:(0,c.__)("H2"),value:"h2"},{label:(0,c.__)("H3"),value:"h3"},{label:(0,c.__)("H4"),value:"h4"},{label:(0,c.__)("H5"),value:"h5"},{label:(0,c.__)("H6"),value:"h6"},{label:(0,c.__)("P"),value:"p"}]},{id:"postLink",label:(0,c.__)("Make Title a Link","gutenverse"),component:l.CheckboxControl},{id:"postLinkTarget",show:!!t,label:(0,c.__)("Open in A New Tab","gutenverse"),component:l.CheckboxControl},{id:"postLinkRel",show:!!t,label:(0,c.__)("Link Rel","gutenverse"),component:l.TextControl}]},u=o(790);function d(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function y(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?d(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):d(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var g=function(e){var t=e.elementId,o=e.switcher,n=e.setSwitcher;return[{id:"alignment",label:(0,c.__)("Alignment","gutenverse"),component:l.IconRadioControl,allowDeviceControl:!0,options:[{label:(0,c.__)("Align Left","gutenverse"),value:"flex-start",icon:(0,u.jsx)(s.AlignLeft,{})},{label:(0,c.__)("Align Center","gutenverse"),value:"center",icon:(0,u.jsx)(s.AlignCenter,{})},{label:(0,c.__)("Align Right","gutenverse"),value:"flex-end",icon:(0,u.jsx)(s.AlignRight,{})},{label:(0,c.__)("Align Right","gutenverse"),value:"space-between",icon:(0,u.jsx)(s.AlignJustify,{})}]},{id:"typography",label:(0,c.__)("Typography","gutenverse"),component:l.TypographyControl},{id:"__styleHover",component:l.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__styleHover;return n(y(y({},o),{},{styleHover:t}))}},{id:"color",show:!o.styleHover||"normal"===o.styleHover,label:(0,c.__)("Text color","gutenverse"),component:l.ColorControl,liveStyle:[{type:"color",id:"color",selector:".".concat(t," h1, .").concat(t," h2, .").concat(t," h3, .").concat(t," h4, .").concat(t," h5, .").concat(t," h6, .").concat(t," span, .").concat(t," a"),properties:[{name:"color",valueType:"direct"}]}]},{id:"textShadow",show:!o.styleHover||"normal"===o.styleHover,label:(0,c.__)("Text Shadow","gutenverse"),component:l.TextShadowControl,liveStyle:[{type:"textShadow",id:"textShadow",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(t," h1, .").concat(t," h2, .").concat(t," h3, .").concat(t," h4, .").concat(t," h5, .").concat(t," h6, .").concat(t," span, .").concat(t," a")}]},{id:"textStroke",show:!o.styleHover||"normal"===o.styleHover,label:(0,c.__)("Text Stroke","gutenverse"),component:l.TextStrokeControl,liveStyle:[{type:"textStroke",id:"textStroke",selector:".".concat(t," h1, .").concat(t," h2, .").concat(t," h3, .").concat(t," h4, .").concat(t," h5, .").concat(t," h6, .").concat(t," span, .").concat(t," a")}]},{id:"colorHover",show:"hover"===o.styleHover,label:(0,c.__)("Hover Text color","gutenverse"),component:l.ColorControl,liveStyle:[{type:"color",id:"colorHover",selector:".".concat(t,":hover h1, .").concat(t,":hover h2, .").concat(t,":hover h3, .").concat(t,":hover h4, .").concat(t,":hover h5, .").concat(t,":hover h6, .").concat(t,":hover span, .").concat(t,":hover a"),properties:[{name:"color",valueType:"direct"}]}]},{id:"textShadowHover",show:"hover"===o.styleHover,label:(0,c.__)("Hover Text Shadow","gutenverse"),component:l.TextShadowControl,liveStyle:[{type:"textShadow",id:"textShadowHover",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(t,":hover h1, .").concat(t,":hover h2, .").concat(t,":hover h3, .").concat(t,":hover h4, .").concat(t,":hover h5, .").concat(t,":hover h6, .").concat(t,":hover span, .").concat(t,":hover a")}]},{id:"textStrokeHover",show:"hover"===o.styleHover,label:(0,c.__)("Hover Text Stroke","gutenverse"),component:l.TextStrokeControl,liveStyle:[{type:"textStroke",id:"textStroke",selector:".".concat(t,":hover h1, .").concat(t,":hover h2, .").concat(t,":hover h3, .").concat(t,":hover h4, .").concat(t,":hover h5, .").concat(t,":hover h6, .").concat(t,":hover span, .").concat(t,":hover a")}]}]};function m(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function v(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?m(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):m(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var h=function(){return[{title:(0,c.__)("Setting","gutenverse"),panelArray:p,tabRole:l.TabSetting},{title:(0,c.__)("Style","gutenverse"),initialOpen:!1,panelArray:g,tabRole:l.TabStyle},{title:(0,c.__)("Background","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.backgroundPanel)(v(v({},e),{},{styleId:"post-title-background",normalOptions:["default","gradient"],hoverOptions:["default","gradient"]}))},tabRole:l.TabStyle},{title:(0,c.__)("Border","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.borderPanel)(v(v({},e),{},{styleId:"post-title-border"}))},tabRole:l.TabStyle},{title:(0,c.__)("Masking","gutenverse"),initialOpen:!1,panelArray:l.maskPanel,tabRole:l.TabStyle},{title:(0,c.__)("Display","gutenverse"),initialOpen:!1,panelArray:l.responsivePanel,tabRole:l.TabSetting},{title:(0,c.__)("Positioning","gutenverse"),initialOpen:!1,panelArray:l.positioningPanel,tabRole:l.TabSetting},{title:(0,c.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.animationPanel)(v(v({},e),{},{styleId:"post-title-animation"}))},tabRole:l.TabSetting},{title:(0,c.__)("Transform","gutenverse"),initialOpen:!1,panelArray:l.transformPanel,pro:!0},{title:(0,c.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.advancePanel)(v(v({},e),{},{styleId:"post-title-advance"}))},tabRole:l.TabSetting},{title:(0,c.__)("Condition","gutenverse"),panelArray:l.conditionPanel,initialOpen:!1,pro:!0}]},b=o(3582),f=o(6087),x=o(2188),w=o(6826),S=o(4320),_=o(4404),j=o(1222),T=o(2619);const O=function(e,t){var o=[];return o=(0,l.backgroundStyle)({attributes:t,data:o,elementId:e}),(0,j.isNotEmpty)(t.alignment)&&o.push({type:"plain",id:"alignment",responsive:!0,selector:".".concat(e," h1, .").concat(e," h2, .").concat(e," h3, .").concat(e," h4, .").concat(e," h5, .").concat(e," h6, .").concat(e," span, .").concat(e," a"),properties:[{name:"justify-content",valueType:"direct"},{name:"text-align",valueType:"function",functionName:"handleAlign"}]}),(0,j.isNotEmpty)(t.typography)&&o.push({type:"typography",id:"typography",selector:".".concat(e," h1, .").concat(e," h2, .").concat(e," h3, .").concat(e," h4, .").concat(e," h5, .").concat(e," h6, .").concat(e," span, .").concat(e," a")}),(0,j.isNotEmpty)(t.color)&&o.push({type:"color",id:"color",selector:".".concat(e," h1, .").concat(e," h2, .").concat(e," h3, .").concat(e," h4, .").concat(e," h5, .").concat(e," h6, .").concat(e," span, .").concat(e," a"),properties:[{name:"color",valueType:"direct"}]}),(0,j.isNotEmpty)(t.textShadow)&&o.push({type:"textShadow",id:"textShadow",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(e," h1, .").concat(e," h2, .").concat(e," h3, .").concat(e," h4, .").concat(e," h5, .").concat(e," h6, .").concat(e," span, .").concat(e," a")}),(0,j.isNotEmpty)(t.textStroke)&&o.push({type:"textStroke",id:"textStroke",selector:".".concat(e," h1, .").concat(e," h2, .").concat(e," h3, .").concat(e," h4, .").concat(e," h5, .").concat(e," h6, .").concat(e," span, .").concat(e," a")}),(0,j.isNotEmpty)(t.colorHover)&&o.push({type:"color",id:"colorHover",selector:".".concat(e,":hover h1, .").concat(e,":hover h2, .").concat(e,":hover h3, .").concat(e,":hover h4, .").concat(e,":hover h5, .").concat(e,":hover h6, .").concat(e,":hover span, .").concat(e,":hover a"),properties:[{name:"color",valueType:"direct"}]}),(0,j.isNotEmpty)(t.textShadowHover)&&o.push({type:"textShadow",id:"textShadowHover",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(e,":hover h1, .").concat(e,":hover h2, .").concat(e,":hover h3, .").concat(e,":hover h4, .").concat(e,":hover h5, .").concat(e,":hover h6, .").concat(e,":hover span, .").concat(e,":hover a")}),(0,j.isNotEmpty)(t.textStrokeHover)&&o.push({type:"textStroke",id:"textStrokeHover",selector:".".concat(e,":hover h1, .").concat(e,":hover h2, .").concat(e,":hover h3, .").concat(e,":hover h4, .").concat(e,":hover h5, .").concat(e,":hover h6, .").concat(e,":hover span, .").concat(e,":hover a")}),(0,j.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,j.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,j.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,j.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.animation)&&(0,j.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,j.isNotEmpty)(t.positioningType)&&(0,j.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,j.isNotEmpty)(t.positioningWidth)&&(0,j.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,j.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.positioningLeft)&&(0,j.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,j.isNotEmpty)(t.positioningRight)&&(0,j.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,j.isNotEmpty)(t.positioningTop)&&(0,j.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,j.isNotEmpty)(t.positioningBottom)&&(0,j.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),[].concat((0,_.A)(o),(0,_.A)((0,T.applyFilters)("gutenverse.post-title.blockStyle",[],{elementId:e,attributes:t})))};function C(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function k(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?C(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):C(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const P=(0,i.compose)(x.withPartialRender)((function(e){var t=e.attributes,o=e.clientId,n=e.context,i=n.postId,p=n.postType,d=t.elementId,y=t.postLink,g=t.postLinkTarget,m=t.postLinkRel,v=void 0===m?"noreferrer":m,x=t.htmlTag,_=(0,w.useAnimationEditor)(t),j=(0,w.useDisplayEditor)(t),T=(0,f.useRef)(),C=g?"_blank":"_self",P=(0,b.useEntityProp)("postType",p,"title",i),N=(0,r.A)(P,1)[0],E=void 0===N?"Post Title":N,D=(0,b.useEntityProp)("postType",p,"link",i),B=(0,r.A)(D,1)[0],A=(0,a.useBlockProps)({className:(0,s.classnames)("guten-element","guten-post-title",d,_,j),ref:T});return(0,S.useGenerateElementId)(o,d,T),(0,S.useDynamicStyle)(d,t,O,T),(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(s.CopyElementToolbar,k({},e)),(0,u.jsx)(a.InspectorControls,{children:(0,u.jsx)(l.PanelTutorial,{title:(0,c.__)("How Post Title works?","gutenverse"),list:[{title:(0,c.__)("Inside Page Editor, Query Loop Block, and on Frontend","gutenverse"),description:(0,c.__)("Title data will be fetched automatically based on the current post/loop.","gutenverse")},{title:(0,c.__)("Inside Site Editor","gutenverse"),description:(0,c.__)("It will load placeholder data.","gutenverse")}]})}),(0,u.jsx)(l.BlockPanelController,{panelList:h,props:e,elementRef:T}),(0,u.jsx)("div",k(k({},A),{},{children:(0,u.jsx)(x,{children:y?(0,u.jsx)("a",{href:B,target:C,rel:v,onClick:function(e){return e.preventDefault()},children:E}):E})}))]})}));function N(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}const E=JSON.parse('{"apiVersion":2,"name":"gutenverse/post-title","class_callback":"\\\\Gutenverse\\\\Block\\\\Post_Title","title":"Post Title","description":"Show the title of a single post.","category":"gutenverse-post","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"postId":{"type":"string","default":0},"backendPostId":{"type":"string"},"noContentText":{"type":"string","default":"No Content"},"htmlTag":{"type":"string","default":"h1"},"postLink":{"type":"boolean"},"postLinkTarget":{"type":"boolean"},"postLinkRel":{"type":"string"},"linkTo":{"type":"string","default":"none"},"customURL":{"type":"string"},"alignment":{"type":"object","copyStyle":true},"typography":{"type":"object","copyStyle":true},"color":{"type":"object","copyStyle":true},"textShadow":{"type":"object","default":{},"copyStyle":true},"colorHover":{"type":"object","copyStyle":true},"textShadowHover":{"type":"object","default":{},"copyStyle":true},"textStroke":{"type":"object","copyStyle":true},"textStrokeHover":{"type":"object","copyStyle":true},"background":{"type":"object","default":{},"copyStyle":true},"backgroundHover":{"type":"object","default":{},"copyStyle":true},"backgroundTransition":{"type":"object","copyStyle":true,"default":{}},"border":{"type":"object","copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"borderHover":{"type":"object","copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadowHover":{"type":"object","copyStyle":true},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"animation":{"type":"object","default":{},"copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"positioningType":{"type":"object","copyStyle":true},"positioningWidth":{"type":"object","copyStyle":true},"positioningAlign":{"type":"object","copyStyle":true},"positioningLocation":{"type":"string","copyStyle":true},"positioningLeft":{"type":"object","copyStyle":true},"positioningRight":{"type":"object","copyStyle":true},"positioningTop":{"type":"object","copyStyle":true},"positioningBottom":{"type":"object","copyStyle":true},"transform":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"condition":{"type":"object","default":{}}},"usesContext":["postId","postType","queryId"],"supports":{"className":false},"keywords":["post","title"]}');var D=o(4889),B=E.name,A={icon:(0,u.jsx)(D.U0,{}),edit:P,save:function(e){var t=e.attributes,o=t.elementId,r=(0,w.useAnimationFrontend)(t),i=(0,w.useDisplayFrontend)(t),l=(0,s.classnames)("guten-element","guten-post-title",o,r,i);return(0,u.jsx)("div",function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?N(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):N(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},a.useBlockProps.save({className:l})))}}},2069:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>d,name:()=>g,settings:()=>m});var n=o(6065),r=o(596),i=function(){return[]},a=o(4715),s=o(3482),l=o(790);function c(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function p(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?c(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):c(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const u=(0,o(9491).compose)()((function(e){var t=e.attributes.position,o=(0,s.classnames)("guten-element","guten-popup-content-inner",t);return(0,l.jsx)("div",{className:o,children:(0,l.jsx)("div",{className:"guten-popup-content-wrapper",children:(0,l.jsx)(a.InnerBlocks.Content,{})})})})),d=JSON.parse('{"apiVersion":2,"name":"gutenverse/popup-container","title":"Popup Container","description":"Build Popup using gutenverse popup container.","category":"gutenverse-structure","parent":["gutenverse/popup-builder"],"attributes":{"elementId":{"type":"string"},"position":{"type":"string"},"condition":{"type":"object","default":{}}},"supports":{"className":false},"keywords":["popup","builder"]}');var y=o(4889),g=d.name,m={icon:(0,l.jsx)(y.jJ,{}),example:{innerBlocks:[]},edit:function(e){var t=e.clientId,o=e.attributes.position;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(s.CopyElementToolbar,p({},e)),(0,l.jsx)(r.BlockPanelController,{panelList:i,props:e}),(0,l.jsx)("div",{className:(0,s.classnames)("guten-element","guten-popup-content-inner",o),children:(0,l.jsx)("div",{className:"guten-popup-content-wrapper",children:(0,l.jsx)(a.InnerBlocks,{renderAppender:a.InnerBlocks.DefaultBlockAppender,clientId:t})})})]})},save:u}},2188:e=>{"use strict";e.exports=gutenverseCore.hoc},2310:(e,t,o)=>{var n=o(1187),r=o(3584);e.exports=function(e,t){var o=r(e,t);return n(o)?o:void 0}},2353:(e,t,o)=>{var n=o(8453)["__core-js_shared__"];e.exports=n},2379:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>D,name:()=>A,settings:()=>H});var n=o(6065),r=o(9491),i=o(4715),a=o(3482),s=o(596),l=o(7723),c=o(790);function p(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function u(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?p(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):p(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var d=function(e){var t=e.elementId,o=e.containsAnchorTag,r=e.switcher,i=e.setSwitcher;return[{id:"enableHeading",label:(0,l.__)("Enable Heading Block","gutenverse"),component:s.CheckboxControl},{id:"textIndent",label:(0,l.__)("Text Indent","gutenverse"),component:s.SizeControl,units:(0,n.A)((0,n.A)({px:{text:"px",min:1,max:200,step:1}},"%",{text:"%",min:1,max:100,step:1,unit:"%"}),"em",{text:"em",min:.1,max:3,step:.1}),allowDeviceControl:!0,liveStyle:[{type:"unitPoint",id:"textIndent",responsive:!0,selector:".".concat(t,":not(.dropcap) p, .").concat(t,".dropcap p:not(:first-child)"),properties:[{name:"text-indent",valueType:"direct"}]}]},{id:"columns",label:(0,l.__)("Columns","gutenverse"),component:s.RangeControl,min:1,max:10,step:1,allowDeviceControl:!0,liveStyle:[{type:"plain",id:"columns",responsive:!0,selector:".".concat(t),properties:[{name:"columns",valueType:"direct"}]}]},{id:"gap",label:(0,l.__)("Column Gap","gutenverse"),component:s.SizeControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:{px:{text:"px",min:1,max:200,step:1},em:{text:"em",min:.1,max:3,step:.1}},liveStyle:[{type:"unitPoint",id:"gap",responsive:!0,selector:".".concat(t),properties:[{name:"column-gap",valueType:"direct"}]}]},{id:"alignment",label:(0,l.__)("Alignment","gutenverse"),component:s.IconRadioControl,allowDeviceControl:!0,options:[{label:(0,l.__)("Align Left","gutenverse"),value:"left",icon:(0,c.jsx)(a.AlignLeft,{})},{label:(0,l.__)("Align Center","gutenverse"),value:"center",icon:(0,c.jsx)(a.AlignCenter,{})},{label:(0,l.__)("Align Right","gutenverse"),value:"right",icon:(0,c.jsx)(a.AlignRight,{})},{label:(0,l.__)("Align Justify","gutenverse"),value:"justify",icon:(0,c.jsx)(a.AlignJustify,{})}]},{id:"textColor",label:(0,l.__)("Text Color","gutenverse"),component:s.ColorControl,liveStyle:[{type:"color",id:"textColor",properties:[{name:"color",valueType:"direct"}],selector:".".concat(t)}]},{id:"typography",label:(0,l.__)("Typography","gutenverse"),component:s.TypographyControl},{id:"linkHeader",component:s.HeadingControl,label:(0,l.__)("Link","gutenverse"),show:o},{id:"__linkHover",component:s.SwitchControl,show:o,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__linkHover;return i(u(u({},r),{},{state:t}))}},{id:"linkColor",label:(0,l.__)("Link Color","gutenverse"),component:s.ColorControl,show:(!r.state||"normal"===r.state)&&o,liveStyle:[{type:"color",id:"linkColor",properties:[{name:"color",valueType:"direct"}],selector:".".concat(t," a")}]},{id:"linkTypography",label:(0,l.__)("Link Typography","gutenverse"),component:s.TypographyControl,show:(!r.state||"normal"===r.state)&&o},{id:"linkColorHover",label:(0,l.__)("Link Color Hover","gutenverse"),component:s.ColorControl,show:"hover"===r.state&&o,liveStyle:[{type:"color",id:"linkColorHover",properties:[{name:"color",valueType:"direct"}],selector:".".concat(t," a:hover")}]},{id:"linkTypographyHover",label:(0,l.__)("Link Typography Hover","gutenverse"),component:s.TypographyControl,show:"hover"===r.state&&o}]},y=function(e){var t=e.elementId,o=e.dropcap,n=e.dropcapBorderType;return[{id:"dropcap",label:(0,l.__)("Drop Cap","gutenverse"),component:s.CheckboxControl},{id:"dropcapTypography",show:o,label:(0,l.__)("Typography","gutenverse"),component:s.TypographyControl},{id:"dropcapColor",show:o,label:(0,l.__)("Dropcap Color","gutenverse"),component:s.ColorControl,liveStyle:[{type:"color",id:"dropcapColor",properties:[{name:"color",valueType:"direct"}],selector:".gutenverse-text-editor.".concat(t,".dropcap > div > p:first-child:first-letter, .gutenverse-text-editor.").concat(t,".dropcap > div > div > p:first-child:first-letter")}]},{id:"dropcapBgColor",show:o,label:(0,l.__)("Dropcap Background Color","gutenverse"),component:s.ColorControl,liveStyle:[{type:"color",id:"dropcapBgColor",properties:[{name:"background-color",valueType:"direct"}],selector:".gutenverse-text-editor.".concat(t,".dropcap > div > p:first-child:first-letter, .gutenverse-text-editor.").concat(t,".dropcap > div > div > p:first-child:first-letter")}]},{id:"dropcapMargin",label:(0,l.__)("Margin","gutenverse"),component:s.DimensionControl,position:["top","right","bottom","left"],units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}}},{id:"dropcapPadding",label:(0,l.__)("Padding","gutenverse"),component:s.DimensionControl,position:["top","right","bottom","left"],units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}}},{id:"dropcapBorderType",show:o,label:(0,l.__)("Border Type","gutenverse"),component:s.SelectControl,options:[{label:(0,l.__)("Default"),value:"default"},{label:(0,l.__)("None"),value:"none"},{label:(0,l.__)("Solid"),value:"solid"},{label:(0,l.__)("Double"),value:"double"},{label:(0,l.__)("Dotted"),value:"dotted"},{label:(0,l.__)("Dashed"),value:"dashed"},{label:(0,l.__)("Groove"),value:"groove"}]},{id:"dropcapBorderColor",label:(0,l.__)("Border Color","gutenverse"),show:!["default","none"].includes(n)&&o,component:s.ColorControl,liveStyle:[{type:"color",id:"dropcapBorderColor",properties:[{name:"border-color",valueType:"direct"}],selector:".gutenverse-text-editor.".concat(t,".dropcap > div > p:first-child:first-letter, .gutenverse-text-editor.").concat(t,".dropcap > div > div > p:first-child:first-letter")}]},{id:"dropcapBorderWidth",label:(0,l.__)("Border Width","gutenverse"),component:s.DimensionControl,show:!["default","none"].includes(n)&&o,position:["top","right","bottom","left"],units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}}},{id:"dropcapBorderRadius",label:(0,l.__)("Border radius","gutenverse"),component:s.DimensionControl,show:!["default","none"].includes(n)&&o,position:["top","right","bottom","left"],units:{px:{text:"px",unit:"px"},"%":{text:"%",unit:"%"}}}]};function g(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function m(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?g(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):g(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var v=function(){return[{title:(0,l.__)("Content","gutenverse"),panelArray:d,initialOpen:!0,tabRole:s.TabStyle},{title:(0,l.__)("Dropcap","gutenverse"),panelArray:y,initialOpen:!1,tabRole:s.TabStyle},{title:(0,l.__)("Background","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,s.backgroundPanel)(m(m({},e),{},{styleId:"text-editor-background",normalOptions:["default","gradient"],hoverOptions:["default","gradient"]}))},tabRole:s.TabStyle},{title:(0,l.__)("Border","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,s.borderPanel)(m(m({},e),{},{styleId:"text-editor-border"}))},tabRole:s.TabStyle},{title:(0,l.__)("Masking","gutenverse"),initialOpen:!1,panelArray:s.maskPanel,tabRole:s.TabStyle},{title:(0,l.__)("Display","gutenverse"),initialOpen:!1,panelArray:s.responsivePanel,tabRole:s.TabSetting},{title:(0,l.__)("Positioning","gutenverse"),initialOpen:!1,panelArray:s.positioningPanel,tabRole:s.TabSetting},{title:(0,l.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,s.animationPanel)(m(m({},e),{},{styleId:"text-editor-animation"}))},tabRole:s.TabSetting},{title:(0,l.__)("Transform","gutenverse"),initialOpen:!1,panelArray:s.transformPanel,pro:!0},{title:(0,l.__)("Mouse Move Effect","gutenverse"),initialOpen:!1,panelArray:s.mouseMoveEffectPanel,tabRole:s.TabSetting,pro:!0},{title:(0,l.__)("Advanced Animation","gutenverse"),initialOpen:!1,panelAdvance:!0,panelArray:function(e){return(0,s.advanceAnimationPanel)(m(m({},e),{},{blockType:"text-editor"}))},pro:!0},{title:(0,l.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,s.advancePanel)(m(m({},e),{},{styleId:"text-editor-advance"}))},tabRole:s.TabSetting},{title:(0,l.__)("Condition","gutenverse"),panelArray:s.conditionPanel,initialOpen:!1,pro:!0}]},h=o(6087),b=o(2188),f=o(6826),x=o(4320),w=o(4404),S=o(1222),_=o(2619);const j=function(e,t){var o=[];return o=function(e,t,o){return(0,S.isNotEmpty)(t.columns)&&o.push({type:"plain",id:"columns",responsive:!0,selector:".".concat(e),properties:[{name:"columns",valueType:"direct"}]}),(0,S.isNotEmpty)(t.textIndent)&&o.push({type:"unitPoint",id:"textIndent",responsive:!0,selector:".".concat(e,":not(.dropcap) p, .").concat(e,".dropcap p:not(:first-child)"),properties:[{name:"text-indent",valueType:"direct"}]}),(0,S.isNotEmpty)(t.gap)&&o.push({type:"unitPoint",id:"gap",responsive:!0,selector:".".concat(e),properties:[{name:"column-gap",valueType:"direct"}]}),(0,S.isNotEmpty)(t.alignment)&&o.push({type:"plain",id:"alignment",responsive:!0,selector:".".concat(e),properties:[{name:"text-align",valueType:"direct"}]}),(0,S.isNotEmpty)(t.textColor)&&o.push({type:"color",id:"textColor",properties:[{name:"color",valueType:"direct"}],selector:".".concat(e)}),(0,S.isNotEmpty)(t.typography)&&o.push({type:"typography",id:"typography",selector:".".concat(e)}),(0,S.isNotEmpty)(t.linkColor)&&o.push({type:"color",id:"linkColor",properties:[{name:"color",valueType:"direct"}],selector:".".concat(e," a")}),(0,S.isNotEmpty)(t.linkTypography)&&o.push({type:"typography",id:"linkTypography",selector:".".concat(e," a")}),(0,S.isNotEmpty)(t.linkColorHover)&&o.push({type:"color",id:"linkColorHover",properties:[{name:"color",valueType:"direct"}],selector:".".concat(e," a:hover")}),(0,S.isNotEmpty)(t.linkTypographyHover)&&o.push({type:"typography",id:"linkTypographyHover",selector:".".concat(e," a:hover")}),o}(e,t,o),o=function(e,t,o){return(0,S.isNotEmpty)(t.dropcapTypography)&&o.push({type:"typography",id:"dropcapTypography",selector:".gutenverse-text-editor.".concat(e,".dropcap > div > p:first-child:first-letter, .gutenverse-text-editor.").concat(e,".dropcap > div > div > p:first-child:first-letter")}),(0,S.isNotEmpty)(t.dropcapColor)&&o.push({type:"color",id:"dropcapColor",properties:[{name:"color",valueType:"direct"}],selector:".gutenverse-text-editor.".concat(e,".dropcap > div > p:first-child:first-letter, .gutenverse-text-editor.").concat(e,".dropcap > div > div > p:first-child:first-letter")}),(0,S.isNotEmpty)(t.dropcapBgColor)&&o.push({type:"color",id:"dropcapBgColor",properties:[{name:"background-color",valueType:"direct"}],selector:".gutenverse-text-editor.".concat(e,".dropcap > div > p:first-child:first-letter, .gutenverse-text-editor.").concat(e,".dropcap > div > div > p:first-child:first-letter")}),(0,S.isNotEmpty)(t.dropcapMargin)&&o.push({type:"dimension",id:"dropcapMargin",properties:[{name:"margin",valueType:"direct"}],selector:".gutenverse-text-editor.".concat(e,".dropcap > div > p:first-child:first-letter, .gutenverse-text-editor.").concat(e,".dropcap > div > div > p:first-child:first-letter")}),(0,S.isNotEmpty)(t.dropcapPadding)&&o.push({type:"dimension",id:"dropcapPadding",properties:[{name:"padding",valueType:"direct"}],selector:".gutenverse-text-editor.".concat(e,".dropcap > div > p:first-child:first-letter, .gutenverse-text-editor.").concat(e,".dropcap > div > div > p:first-child:first-letter")}),(0,S.isNotEmpty)(t.dropcapBorderType)&&o.push({type:"plain",id:"dropcapBorderType",properties:[{name:"border-style",valueType:"direct"}],selector:".gutenverse-text-editor.".concat(e,".dropcap > div > p:first-child:first-letter, .gutenverse-text-editor.").concat(e,".dropcap > div > div > p:first-child:first-letter")}),(0,S.isNotEmpty)(t.dropcapBorderColor)&&o.push({type:"color",id:"dropcapBorderColor",properties:[{name:"border-color",valueType:"direct"}],selector:".gutenverse-text-editor.".concat(e,".dropcap > div > p:first-child:first-letter, .gutenverse-text-editor.").concat(e,".dropcap > div > div > p:first-child:first-letter")}),(0,S.isNotEmpty)(t.dropcapBorderWidth)&&o.push({type:"dimension",id:"dropcapBorderWidth",properties:[{name:"border-width",valueType:"direct",multiDimension:!1}],selector:".gutenverse-text-editor.".concat(e,".dropcap > div > p:first-child:first-letter, .gutenverse-text-editor.").concat(e,".dropcap > div > div > p:first-child:first-letter")}),(0,S.isNotEmpty)(t.dropcapBorderRadius)&&o.push({type:"dimension",id:"dropcapBorderRadius",properties:[{name:"border-radius",valueType:"direct",multiDimension:!1}],selector:".gutenverse-text-editor.".concat(e,".dropcap > div > p:first-child:first-letter, .gutenverse-text-editor.").concat(e,".dropcap > div > div > p:first-child:first-letter")}),o}(e,t,o),o=(0,s.backgroundStyle)({attributes:t,data:o,elementId:e}),(0,S.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,S.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,S.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,S.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,S.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,S.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,S.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,S.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,S.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,S.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,S.isNotEmpty)(t.animation)&&(0,S.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,S.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,S.isNotEmpty)(t.positioningType)&&(0,S.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,S.isNotEmpty)(t.positioningWidth)&&(0,S.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,S.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,S.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,S.isNotEmpty)(t.positioningLeft)&&(0,S.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,S.isNotEmpty)(t.positioningRight)&&(0,S.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,S.isNotEmpty)(t.positioningTop)&&(0,S.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,S.isNotEmpty)(t.positioningBottom)&&(0,S.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),[].concat((0,w.A)(o),(0,w.A)((0,_.applyFilters)("gutenverse.text-editor.blockStyle",[],{elementId:e,attributes:t})))};var T=o(7143);function O(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function C(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?O(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):O(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const k=(0,r.compose)(b.withPartialRender,b.withPassRef,(0,b.withAnimationAdvanceV2)("text-editor"),b.withMouseMoveEffect)((function(e){var t=e.attributes,o=e.clientId,n=e.setBlockRef,r=e.setAttributes,l=t.elementId,p=t.dropcap,u=t.enableHeading,d=(0,f.useAnimationEditor)(t),y=(0,f.useDisplayEditor)(t),g=(0,h.useRef)();(0,x.useGenerateElementId)(o,l,g),(0,x.useDynamicStyle)(l,t,j,g),(0,x.useDynamicScript)(g);var m=(0,i.useBlockProps)({className:(0,a.classnames)("guten-element","gutenverse-text-editor","no-margin",l,d,y,{dropcap:p}),ref:g}),b=u?(0,i.useInnerBlocksProps)({template:[["gutenverse/text-paragraph"]]},{allowedBlocks:["gutenverse/text-paragraph","core/paragraph","core/post-content","core/heading","gutenverse/heading"]}):(0,i.useInnerBlocksProps)({template:[["gutenverse/text-paragraph"]]},{allowedBlocks:["gutenverse/text-paragraph","core/paragraph","core/post-content"]}),w=(0,T.useSelect)((function(t){var o=(0,t("core/block-editor").getBlock)(e.clientId);return(null==o?void 0:o.innerBlocks)||[]}),[e.clientId]);return(0,h.useEffect)((function(){var e=w.some((function(e){var t,o,n;return n=(null===(t=e.attributes)||void 0===t?void 0:t.content)||(null===(o=e.attributes)||void 0===o?void 0:o.paragraph)||"",null!==(new DOMParser).parseFromString(n,"text/html").querySelector("a")}));e!==t.containsAnchorTag&&r({containsAnchorTag:e})}),[w]),(0,h.useEffect)((function(){g&&n(g)}),[g]),(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(a.CopyElementToolbar,C({},e)),(0,c.jsx)(s.BlockPanelController,{panelList:v,props:e,elementRef:g}),(0,c.jsx)("div",C(C({},m),{},{children:(0,c.jsx)("div",C({},b))}))]})}));function P(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function N(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?P(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):P(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const E=(0,r.compose)((0,b.withAnimationAdvanceScript)("text-editor"),b.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,n=t.dropcap,r=(0,f.useAnimationAdvanceData)(t),s=(0,f.useAnimationFrontend)(t),l=(0,f.useDisplayFrontend)(t),p=(0,a.classnames)("guten-element","gutenverse-text-editor",o,s,l,{dropcap:n});return(0,c.jsx)("div",N(N({},i.useBlockProps.save(N({className:p},r))),{},{children:(0,c.jsx)("div",{className:"text-content-inner",children:(0,c.jsx)(i.InnerBlocks.Content,{})})}))})),D=JSON.parse('{"apiVersion":2,"name":"gutenverse/text-editor","title":"Text Editor","description":"A place to create a text content.","category":"gutenverse-element","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"mouseMoveEffect":{"type":"object","copyStyle":true},"dropcap":{"type":"boolean","default":false},"enableHeading":{"type":"boolean","default":false},"dropcapTypography":{"type":"object","copyStyle":true},"dropcapColor":{"type":"object","copyStyle":true},"dropcapBgColor":{"type":"object","copyStyle":true},"dropcapMargin":{"type":"object","copyStyle":true},"dropcapPadding":{"type":"object","copyStyle":true},"dropcapBorderType":{"type":"string","copyStyle":true},"dropcapBorderColor":{"type":"object","copyStyle":true},"dropcapBorderWidth":{"type":"object","copyStyle":true},"dropcapBorderRadius":{"type":"object","copyStyle":true},"columns":{"type":"object","default":{"Desktop":"1"}},"gap":{"type":"object","copyStyle":true},"textIndent":{"type":"object","copyStyle":true},"alignment":{"type":"object","copyStyle":true},"textColor":{"type":"object","copyStyle":true},"typography":{"type":"object","copyStyle":true},"containsAnchorTag":{"type":"boolean","copyStyle":true},"linkColor":{"type":"object","copyStyle":true},"linkTypography":{"type":"object","copyStyle":true},"linkColorHover":{"type":"object","copyStyle":true},"linkTypographyHover":{"type":"object","copyStyle":true},"background":{"type":"object","default":{},"copyStyle":true},"backgroundHover":{"type":"object","default":{},"copyStyle":true},"backgroundTransition":{"type":"object","copyStyle":true,"default":{}},"border":{"type":"object","default":{},"copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"borderHover":{"type":"object","default":{},"copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadowHover":{"type":"object","copyStyle":true},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"animation":{"type":"object","default":{},"copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"positioningType":{"type":"object","copyStyle":true},"positioningWidth":{"type":"object","copyStyle":true},"positioningAlign":{"type":"object","copyStyle":true},"positioningLocation":{"type":"string","copyStyle":true},"positioningLeft":{"type":"object","copyStyle":true},"positioningRight":{"type":"object","copyStyle":true},"positioningTop":{"type":"object","copyStyle":true},"positioningBottom":{"type":"object","copyStyle":true},"advanceAnimation":{"type":"object","default":{},"copyStyle":true},"transform":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"condition":{"type":"object","default":{}}},"supports":{"className":false},"keywords":["text","editor","textarea"]}');var B=o(4889),A=D.name,H={icon:(0,c.jsx)(B.kP,{}),example:{attributes:{columns:{Desktop:"3",Tablet:"1",Mobile:"1"},gap:{Desktop:{point:"22",unit:"px"}}},innerBlocks:[{name:"core/paragraph",attributes:{content:"Maecenas nec convallis urna, non fermentum lectus. Integer fringilla felis nisl, id sollicitudin mauris consectetur vel. Cras et convallis enim. Nulla tempus tincidunt imperdiet. Donec luctus auctor urna ullamcorper ornare. Mauris vestibulum a odio sit amet dapibus."}},{name:"core/paragraph",attributes:{content:"In blandit risus accumsan, vulputate nunc sit amet, dignissim dolor. Nullam vehicula molestie fermentum. Etiam arcu urna, pulvinar ut ante a, pellentesque suscipit nulla. Donec vitae accumsan eros."}}]},edit:k,save:E}},2449:e=>{"use strict";e.exports=JSON.parse('{"apiVersion":2,"category":"gutenverse-element","allowCopyStyle":true,"parent":["gutenverse/social-share"],"attributes":{"elementId":{"type":"string"},"selectedIcon":{"type":"string","copyStyle":true},"iconPading":{"type":"object","copyStyle":true},"textPading":{"type":"object","copyStyle":true},"showText":{"type":"boolean","default":true},"iconColor":{"type":"object","copyStyle":true},"iconBackgroundColor":{"type":"object","copyStyle":true},"backgroundColor":{"type":"object","copyStyle":true},"textColor":{"type":"object","copyStyle":true},"border":{"type":"object","copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"iconColorHover":{"type":"object","copyStyle":true},"iconBackgroundColorHover":{"type":"object","copyStyle":true},"backgroundColorHover":{"type":"object","copyStyle":true},"textColorHover":{"type":"object","copyStyle":true},"borderHover":{"type":"object","copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"boxShadowHover":{"type":"object","migrate":{"attr":"boxShadow","type":"boxShadow"},"copyStyle":true},"iconSize":{"type":"object","copyStyle":true},"typography":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"condition":{"type":"object","default":{}}},"keywords":["social","share","gutenverse"]}')},2489:(e,t,o)=>{var n=o(2310)(o(8453),"Set");e.exports=n},2581:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>E,name:()=>B,settings:()=>A});var n=o(6065),r=o(8930),i=o(9491),a=o(4715),s=o(3482),l=o(596),c=o(7723),p=function(){return[{id:"showReadmore",label:(0,c.__)("Show Readmore","gutenverse"),component:l.CheckboxControl},{id:"readmoreText",label:(0,c.__)("Readmore Text","gutenverse"),component:l.TextControl},{id:"htmlTag",label:(0,c.__)("Excerpt Tag","gutenverse"),component:l.SelectControl,options:[{label:(0,c.__)("P"),value:"p"}]},{id:"noContentText",label:(0,c.__)("No Content Text","gutenverse"),description:(0,c.__)("Text to show if there is no content. You can leave this empty","gutenverse"),component:l.TextControl}]},u=o(790);function d(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function y(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?d(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):d(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var g=function(e){var t=e.elementId,o=e.switcher,n=e.setSwitcher;return[{id:"alignment",label:(0,c.__)("Alignment","gutenverse"),component:l.IconRadioControl,allowDeviceControl:!0,options:[{label:(0,c.__)("Align Left","gutenverse"),value:"flex-start",icon:(0,u.jsx)(s.AlignLeft,{})},{label:(0,c.__)("Align Center","gutenverse"),value:"center",icon:(0,u.jsx)(s.AlignCenter,{})},{label:(0,c.__)("Align Right","gutenverse"),value:"flex-end",icon:(0,u.jsx)(s.AlignRight,{})},{label:(0,c.__)("Align Right","gutenverse"),value:"space-between",icon:(0,u.jsx)(s.AlignJustify,{})}]},{id:"typography",label:(0,c.__)("Typography","gutenverse"),component:l.TypographyControl},{id:"__styleHover",component:l.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__styleHover;return n(y(y({},o),{},{styleHover:t}))}},{id:"color",show:!o.styleHover||"normal"===o.styleHover,label:(0,c.__)("Text color","gutenverse"),component:l.ColorControl,liveStyle:[{type:"color",id:"color",selector:".".concat(t," *"),properties:[{name:"color",valueType:"direct"}]}]},{id:"textShadow",show:!o.styleHover||"normal"===o.styleHover,label:(0,c.__)("Text Shadow","gutenverse"),component:l.TextShadowControl,liveStyle:[{type:"textShadow",id:"textShadow",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(t," *")}]},{id:"colorHover",show:"hover"===o.styleHover,label:(0,c.__)("Hover Text color","gutenverse"),component:l.ColorControl,liveStyle:[{type:"color",id:"colorHover",selector:".".concat(t,":hover *"),properties:[{name:"color",valueType:"direct"}]}]},{id:"textShadowHover",show:"hover"===o.styleHover,label:(0,c.__)("Hover Text Shadow","gutenverse"),component:l.TextShadowControl,liveStyle:[{type:"textShadow",id:"textShadowHover",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(t,":hover *")}]}]};function m(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function v(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?m(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):m(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var h=function(){return[{title:(0,c.__)("Setting","gutenverse"),panelArray:p,tabRole:l.TabSetting},{title:(0,c.__)("Style","gutenverse"),initialOpen:!1,panelArray:g,tabRole:l.TabStyle},{title:(0,c.__)("Background","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.backgroundPanel)(v(v({},e),{},{styleId:"post-excerpt-background",normalOptions:["default","gradient"],hoverOptions:["default","gradient"]}))},tabRole:l.TabStyle},{title:(0,c.__)("Border","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.borderPanel)(v(v({},e),{},{styleId:"post-excerpt-border"}))},tabRole:l.TabStyle},{title:(0,c.__)("Masking","gutenverse"),initialOpen:!1,panelArray:l.maskPanel,tabRole:l.TabStyle},{title:(0,c.__)("Display","gutenverse"),initialOpen:!1,panelArray:l.responsivePanel,tabRole:l.TabSetting},{title:(0,c.__)("Positioning","gutenverse"),initialOpen:!1,panelArray:l.positioningPanel,tabRole:l.TabSetting},{title:(0,c.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.animationPanel)(v(v({},e),{},{styleId:"post-excerpt-animation"}))},tabRole:l.TabSetting},{title:(0,c.__)("Transform","gutenverse"),initialOpen:!1,panelArray:l.transformPanel,pro:!0},{title:(0,c.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.advancePanel)(v(v({},e),{},{styleId:"post-excerpt-advance"}))},tabRole:l.TabSetting},{title:(0,c.__)("Condition","gutenverse"),panelArray:l.conditionPanel,initialOpen:!1,pro:!0}]},b=o(3582),f=o(6087),x=o(2188),w=o(6826),S=o(4320),_=o(4404),j=o(1222),T=o(2619);const O=function(e,t){var o=[];return o=(0,l.backgroundStyle)({attributes:t,data:o,elementId:e}),(0,j.isNotEmpty)(t.alignment)&&o.push({type:"plain",id:"alignment",responsive:!0,selector:".".concat(e),properties:[{name:"justify-content",valueType:"direct"}]}),(0,j.isNotEmpty)(t.typography)&&o.push({type:"typography",id:"typography",selector:".".concat(e," *")}),(0,j.isNotEmpty)(t.color)&&o.push({type:"color",id:"color",selector:".".concat(e," *"),properties:[{name:"color",valueType:"direct"}]}),(0,j.isNotEmpty)(t.textShadow)&&o.push({type:"textShadow",id:"textShadow",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(e," *")}),(0,j.isNotEmpty)(t.colorHover)&&o.push({type:"color",id:"colorHover",selector:".".concat(e,":hover *"),properties:[{name:"color",valueType:"direct"}]}),(0,j.isNotEmpty)(t.textShadowHover)&&o.push({type:"textShadow",id:"textShadowHover",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(e,":hover *")}),(0,j.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,j.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,j.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,j.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.animation)&&(0,j.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,j.isNotEmpty)(t.positioningType)&&(0,j.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,j.isNotEmpty)(t.positioningWidth)&&(0,j.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,j.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.positioningLeft)&&(0,j.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,j.isNotEmpty)(t.positioningRight)&&(0,j.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,j.isNotEmpty)(t.positioningTop)&&(0,j.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,j.isNotEmpty)(t.positioningBottom)&&(0,j.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),[].concat((0,_.A)(o),(0,_.A)((0,T.applyFilters)("gutenverse.post-excerpt.blockStyle",[],{elementId:e,attributes:t})))};function C(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function k(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?C(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):C(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const P=(0,i.compose)(x.withPartialRender)((function(e){var t=e.attributes,o=e.clientId,n=e.context,i=n.postId,p=n.postType,d=t.elementId,y=t.htmlTag,g=t.showReadmore,m=t.readmoreText,v=(0,w.useAnimationEditor)(t),x=(0,w.useDisplayEditor)(t),_=(0,f.useRef)(),j=(0,a.useBlockProps)({className:(0,s.classnames)("guten-element","guten-post-excerpt","no-margin",d,v,x),ref:_}),T=(0,b.useEntityProp)("postType",p,"excerpt",i),C=(0,r.A)(T,1)[0],P=void 0===C?{}:C,N=P.rendered,E=P.protected,D=(0,f.useMemo)((function(){if(!N)return"";var e=(new window.DOMParser).parseFromString(N,"text/html");return e.body.textContent||e.body.innerText||""}),[N]),B=(0,s.classnames)("wp-block-post-excerpt__excerpt",{"is-inline":!0});return(0,S.useGenerateElementId)(o,d,_),(0,S.useDynamicStyle)(d,t,O,_),(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(s.CopyElementToolbar,k({},e)),(0,u.jsx)(a.InspectorControls,{children:(0,u.jsx)(l.PanelTutorial,{title:(0,c.__)("How Post Excerpt works?","gutenverse"),list:[{title:(0,c.__)("Inside Page Editor, Query Loop Block, and on Frontend","gutenverse"),description:(0,c.__)("Excerpt data will be fetched automatically based on the current post/loop.","gutenverse")},{title:(0,c.__)("Inside Site Editor","gutenverse"),description:(0,c.__)("It will load placeholder data.","gutenverse")}]})}),(0,u.jsx)(l.BlockPanelController,{panelList:h,props:e,elementRef:_}),(0,u.jsx)("div",k(k({},j),{},{children:p&&i?E?(0,u.jsx)(u.Fragment,{children:(0,u.jsx)("div",{children:(0,c.__)("There is no excerpt because this is a protected post.")})}):(0,u.jsxs)(y,{className:B,children:[D||(0,c.__)("No post excerpt found"),g&&(0,u.jsx)("a",{href:"#link-disabled-in-editor",onClick:function(e){return e.preventDefault()},children:m})]}):(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("p",{children:(0,c.__)("This is the Post Excerpt block, it will display the excerpt from single posts.")}),(0,u.jsx)("p",{children:(0,c.__)("If there are any Custom Post Types with support for excerpts, the Post Excerpt block can display the excerpts of those entries as well.")})]})}))]})}));function N(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}const E=JSON.parse('{"apiVersion":2,"name":"gutenverse/post-excerpt","class_callback":"\\\\Gutenverse\\\\Block\\\\Post_Excerpt","title":"Post Excerpt","description":"Show the short summary of a single post.","category":"gutenverse-post","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"postId":{"type":"string","default":0},"backendPostId":{"type":"string"},"noContentText":{"type":"string","default":"No Content"},"showReadmore":{"type":"boolean"},"readmoreText":{"type":"string","default":"Read More"},"htmlTag":{"type":"string","default":"p"},"linkTo":{"type":"string","default":"none"},"customURL":{"type":"string"},"alignment":{"type":"object","copyStyle":true},"typography":{"type":"object","copyStyle":true},"color":{"type":"object","copyStyle":true},"textShadow":{"type":"object","default":{},"copyStyle":true},"colorHover":{"type":"object","copyStyle":true},"textShadowHover":{"type":"object","default":{},"copyStyle":true},"background":{"type":"object","default":{},"copyStyle":true},"backgroundHover":{"type":"object","default":{},"copyStyle":true},"backgroundTransition":{"type":"object","copyStyle":true,"default":{}},"border":{"type":"object","copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"borderHover":{"type":"object","copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadowHover":{"type":"object","copyStyle":true},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"animation":{"type":"object","default":{},"copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"positioningType":{"type":"object","copyStyle":true},"positioningWidth":{"type":"object","copyStyle":true},"positioningAlign":{"type":"object","copyStyle":true},"positioningLocation":{"type":"string","copyStyle":true},"positioningLeft":{"type":"object","copyStyle":true},"positioningRight":{"type":"object","copyStyle":true},"positioningTop":{"type":"object","copyStyle":true},"positioningBottom":{"type":"object","copyStyle":true},"transform":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"condition":{"type":"object","default":{}}},"usesContext":["postId","postType","queryId"],"supports":{"className":false},"keywords":["post","excerpt"]}');var D=o(4889),B=E.name,A={icon:(0,u.jsx)(D.Lk,{}),edit:P,save:function(e){var t=e.attributes,o=t.elementId,r=(0,w.useAnimationFrontend)(t),i=(0,w.useDisplayFrontend)(t),l=(0,s.classnames)("guten-element","guten-post-excerpt",o,r,i);return(0,u.jsx)("div",function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?N(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):N(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},a.useBlockProps.save({className:l})))}}},2619:e=>{"use strict";e.exports=window.wp.hooks},2624:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>h,name:()=>v,settings:()=>b});var n=o(4404),r=o(6065),i=o(7723),a=o(4597),s=o(9491),l=o(2188),c=o(9984),p=o(2449),u=o(4889),d=o(790);function y(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function g(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?y(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):y(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var m=(0,s.compose)(l.withPartialRender,(0,l.withCustomStyle)(a.d))((function(e){var t=g(g({},e),{},{shareType:"stumbleupon",serverPath:"gutenverse/social-share-stumbleupon"});return(0,d.jsx)(c.A,g({},t))})),v="gutenverse/social-share-stumbleupon",h=g(g({},p),{},{title:(0,i.__)("Gutenverse Social Share Stumbleupon","gutenverse"),description:(0,i.__)("Gutenverse Social Share Stumbleupon","gutenverse"),attributes:g(g({},p.attributes),{},{text:{type:"string",default:(0,i.__)("Share on Stumbleupon","gutenverse")}}),keywords:[].concat((0,n.A)(p.keywords),[(0,i.__)("stumbleupon","gutenverse")])}),b={icon:(0,d.jsx)(u.jm,{}),edit:m}},2650:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>I,name:()=>L,settings:()=>V});var n=o(6065),r=o(8930),i=o(6087),a=o(4715),s=o(3482),l=o(7723),c=o(596),p=function(){return[{id:"hideIcon",label:(0,l.__)("Hide Icon","gutenverse"),component:c.CheckboxControl}]},u=function(e){var t=e.elementId;return[{id:"iconLineHeight",label:(0,l.__)("Icon line height","gutenverse"),component:c.RangeControl,allowDeviceControl:!0,unit:"px",min:1,max:100,step:1,liveStyle:[{type:"plain",id:"iconLineHeight",responsive:!0,properties:[{name:"line-height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}],selector:".".concat(t,".guten-icon-list-item i")}]},{id:"ariaLabel",label:(0,l.__)("Aria Label","gutenverse"),component:c.TextControl}]},d=o(2619);function y(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function g(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?y(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):y(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var m=function(e){return(0,d.applyFilters)("gutenverse.dynamic-content-options",[{component:c.LockedDynamicContentControl}],g(g({},e),{},{blockType:"icon"}))};function v(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function h(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?v(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):v(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var b=function(){return[{title:(0,l.__)("Dynamic Item Url","gutenverse"),panelArray:m,initialOpen:!1,tabRole:c.TabSetting,pro:!0},{title:(0,l.__)("Dynamic Data","gutenverse"),panelArray:function(e){return(0,c.dynamicContentPanel)(h(h({},e),{},{blockType:"text",arrOfTextChilds:["dynamicDataList"]}))},initialOpen:!1,tabRole:c.TabSetting,pro:!0},{title:(0,l.__)("Icon","gutenverse"),panelArray:u},{title:(0,l.__)("General","gutenverse"),panelArray:p},{title:(0,l.__)("Display","gutenverse"),initialOpen:!1,panelArray:c.responsivePanel},{title:(0,l.__)("Transform","gutenverse"),initialOpen:!1,panelArray:c.transformPanel,pro:!0},{title:(0,l.__)("Masking","gutenverse"),initialOpen:!1,panelArray:c.maskPanel,tabRole:c.TabStyle},{title:(0,l.__)("Highlight Style","gutenverse"),panelArray:function(e){return(0,c.childStylePanel)(h(h({},e),{},{arrOfTextChilds:["textChilds"]}))},tabRole:c.TabStyle,pro:!0},{title:(0,l.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,c.advancePanel)(h(h({},e),{},{styleId:"icon-list-item-advance"}))}},{title:(0,l.__)("Condition","gutenverse"),panelArray:c.conditionPanel,initialOpen:!1,pro:!0}]},f=o(6427),x=o(8558),w=o(5795),S=o(2774),_=o(1222),j=o(6504),T=o(6826),O=o(4633),C=o.n(O),k=o(4320),P=o(4404);const N=function(e,t){var o=[];return o=(0,c.backgroundStyle)({attributes:t,data:o,elementId:e}),(0,_.isNotEmpty)(t.iconLineHeight)&&o.push({type:"plain",id:"iconLineHeight",responsive:!0,properties:[{name:"line-height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}],selector:".".concat(e," i")}),(0,_.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,_.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,_.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,_.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,_.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,_.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,_.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,_.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,_.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,_.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,_.isNotEmpty)(t.animation)&&(0,_.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,_.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,_.isNotEmpty)(t.positioningType)&&(0,_.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,_.isNotEmpty)(t.positioningWidth)&&(0,_.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,_.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,_.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,_.isNotEmpty)(t.positioningLeft)&&(0,_.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,_.isNotEmpty)(t.positioningRight)&&(0,_.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,_.isNotEmpty)(t.positioningTop)&&(0,_.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,_.isNotEmpty)(t.positioningBottom)&&(0,_.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),[].concat((0,P.A)(o),(0,P.A)((0,d.applyFilters)("gutenverse.icon-list-item.blockStyle",[],{elementId:e,attributes:t})))};var E=o(790);function D(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function B(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?D(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):D(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var A="noreferrer noopener";function H(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function R(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?H(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):H(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const I=JSON.parse('{"apiVersion":2,"name":"gutenverse/icon-list-item","title":"Icon List Item","description":"Show an icon list.","parent":["gutenverse/icon-list"],"category":"gutenverse-element","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"url":{"type":"string","source":"attribute","selector":"a","attribute":"href"},"dynamicUrl":{"type":"object","default":{}},"isDynamic":{"type":"boolean","default":false},"dynamicTextContent":{"type":"array","copyStyle":true},"dynamicUrlContent":{"type":"array","copyStyle":true},"hasGlobalLink":{"type":"boolean","default":false},"dynamicDataList":{"type":"array","default":[]},"openDynamic":{"type":"string"},"linkTarget":{"type":"string","source":"attribute","selector":"a","attribute":"target"},"rel":{"type":"string","source":"attribute","selector":"a","attribute":"rel"},"ariaLabel":{"type":"string","copyStyle":true},"icon":{"type":"string","source":"attribute","selector":"i","attribute":"class","default":""},"hideIcon":{"type":"boolean","default":false,"copyStyle":true},"text":{"type":"string","source":"html","selector":"span","default":"List item"},"textChilds":{"type":"array","default":[]},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"transform":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"iconLineHeight":{"type":"object","copyStyle":true},"condition":{"type":"object","default":{}}},"supports":{"className":false},"keywords":[]}');var M=o(4889),L=I.name,z=I.attributes,F=I.supports,V={icon:(0,E.jsx)(M.RP,{}),edit:function(e){var t=(0,i.useState)(!1),o=(0,r.A)(t,2),n=o[0],p=o[1],u=e.attributes,y=e.setAttributes,g=e.isSelected,m=e.clientId,v=u.elementId,h=u.icon,O=u.rel,P=u.url,D=u.linkTarget,H=u.hideIcon,R=u.dynamicUrl,I=(0,_.useRichTextParameter)(),M=I.panelState,L=I.setPanelState,z=I.setPanelIsClicked,F=I.panelIsClicked,V=(0,i.useRef)(null),W=(0,T.useAnimationEditor)(u),G=(0,T.useDisplayEditor)(u),U=(0,i.useState)(),q=(0,r.A)(U,2),$=q[0],Y=q[1],X=void 0!==P&&""!==P;(0,k.useGenerateElementId)(m,v,V),(0,k.useDynamicStyle)(v,u,N,V),(0,i.useEffect)((function(){y({hasGlobalLink:X||!1})}),[X]);var J=(0,a.useBlockProps)({className:(0,s.classnames)("guten-element","guten-icon-list-item",v,W,G),ref:V}),Q=(0,i.useCallback)((function(e){var t=e?"_blank":void 0,o=O;t&&!O?o=A:t||O!==A||(o=void 0),y({linkTarget:t,rel:o})}),[O,y]);(0,S.FilterDynamic)(e),(0,S.HighLightToolbar)(e);var Z={panel:"setting",section:0};return(0,i.useEffect)((function(){var e=C()(R)||!(0,_.isOnEditor)()?R:(0,d.applyFilters)("gutenverse.dynamic.fetch-url",R);"function"==typeof e.then&&!C()(R)&&e.then((function(e){(!Array.isArray(e)||e.length>0)&&void 0!==e&&e!==$?Y(e):e!==$&&Y(void 0)})).catch((function(){})),y(void 0!==$?{url:$,isDynamic:!0}:{url:P})}),[R,$]),(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(s.CopyElementToolbar,B({},e)),(0,E.jsx)(a.InspectorControls,{children:(0,E.jsx)(s.SelectParent,B(B({},e),{},{children:(0,l.__)("Modify Icon Group","gutenverse")}))}),(0,E.jsx)(c.BlockPanelController,{panelList:b,props:e,elementRef:V,panelState:M,setPanelIsClicked:z}),n&&(0,w.createPortal)((0,E.jsx)(c.IconLibrary,{closeLibrary:function(){return p(!1)},value:h,onChange:function(e){return y({icon:e})}}),_.gutenverseRoot),(0,E.jsx)(a.BlockControls,{children:(0,E.jsxs)(f.ToolbarGroup,{children:[(0,d.applyFilters)("gutenverse.button.url-toolbar",(0,E.jsx)(S.URLToolbar,{url:P,setAttributes:y,isSelected:g,opensInNewTab:"_blank"===D,onToggleOpenInNewTab:Q,anchorRef:J.ref,usingDynamic:!0,setPanelState:L,panelState:Z,title:"Item Link",panelIsClicked:F,setPanelIsClicked:z}),e,Z),(0,E.jsx)(f.ToolbarButton,{name:"icon",icon:(0,E.jsx)(j.LogoCircleColor24SVG,{}),title:(0,l.__)("Choose Icon","gutenverse"),shortcut:x.displayShortcut.primary("i"),onClick:function(){return p(!0)}})]})}),(0,E.jsxs)("li",B(B({},J),{},{children:[(0,E.jsx)("div",{className:"list-divider"}),(0,E.jsxs)("a",{id:v,children:[!H&&(0,E.jsx)("i",{className:h}),(0,E.jsx)(s.RichTextComponent,{classNames:"list-text ".concat(H?"no-icon":""),tagName:"span","aria-label":(0,l.__)("List text"),placeholder:(0,l.__)("Add text…"),onChange:function(e){return y({text:e})},multiline:!1,setAttributes:y,attributes:u,clientId:m,panelDynamic:{panel:"setting",section:1},panelPosition:{panel:"style",section:1},contentAttribute:"text",setPanelState:L,textChilds:"textChilds",dynamicList:"dynamicDataList",isUseDinamic:!0,isUseHighlight:!0,parentHasLink:X})]})]}))]})},save:function(e){var t=e.attributes,o=t.elementId,n=t.icon,r=t.hideIcon,i=t.rel,l=t.ariaLabel,c=t.url,p=t.linkTarget,u=t.text,y=(0,T.useAnimationFrontend)(t),g=(0,T.useDisplayFrontend)(t),m=(0,s.classnames)("guten-element","guten-icon-list-item",o,y,g),v=(0,d.applyFilters)("gutenverse.dynamic.generate-url",c,"dynamicUrl",t,o);return(0,E.jsxs)("div",R(R({},a.useBlockProps.save({className:m})),{},{children:[(0,E.jsx)("div",{className:"list-divider"}),(0,E.jsxs)("a",{id:o,href:v,target:p,rel:i,"aria-label":l,children:[!r&&(0,E.jsx)("i",{className:n}),(0,E.jsx)(a.RichText.Content,{className:"list-text ".concat(r?"no-icon":""),value:u,tagName:"span"})]})]}))},deprecated:[{attributes:z,supports:F,save:function(e){var t=e.attributes,o=t.elementId,n=t.icon,r=t.hideIcon,i=t.rel,l=t.ariaLabel,c=t.url,p=t.linkTarget,u=t.text,y=(0,T.useAnimationFrontend)(t),g=(0,T.useDisplayFrontend)(t),m=(0,s.classnames)("guten-element","guten-icon-list-item",o,y,g),v=(0,d.applyFilters)("gutenverse.dynamic.generate-url",c,"dynamicUrl",t,o);return(0,E.jsx)("div",{className:m,children:(0,E.jsxs)("a",{id:o,href:v,target:p,rel:i,"aria-label":l,children:[!r&&(0,E.jsx)("i",{className:n}),(0,E.jsx)(a.RichText.Content,{className:"list-text ".concat(r?"no-icon":""),value:u,tagName:"span"})]})})}}]}},2736:(e,t,o)=>{e.exports=o(6186)()},2774:e=>{"use strict";e.exports=gutenverseCore.toolbars},2802:(e,t,o)=>{"use strict";o.d(t,{A:()=>c});var n=o(1609),r=o.n(n),i=o(2736),a=o.n(i);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},s.apply(this,arguments)}var l=(0,n.forwardRef)((function(e,t){var o=e.color,n=void 0===o?"currentColor":o,i=e.size,a=void 0===i?24:i,l=function(e,t){if(null==e)return{};var o,n,r=function(e,t){if(null==e)return{};var o,n,r={},i=Object.keys(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||(r[o]=e[o]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}(e,["color","size"]);return r().createElement("svg",s({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},l),r().createElement("line",{x1:"17",y1:"10",x2:"3",y2:"10"}),r().createElement("line",{x1:"21",y1:"6",x2:"3",y2:"6"}),r().createElement("line",{x1:"21",y1:"14",x2:"3",y2:"14"}),r().createElement("line",{x1:"17",y1:"18",x2:"3",y2:"18"}))}));l.propTypes={color:a().string,size:a().oneOfType([a().string,a().number])},l.displayName="AlignLeft";const c=l},2834:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>k,name:()=>N,settings:()=>E});var n=o(6065),r=o(8930),i=o(4715),a=o(3482),s=o(596),l=o(7723),c=function(e){var t=e.archiveLink;return[{id:"htmlTag",label:(0,l.__)("HTML Tag","gutenverse"),component:s.SelectControl,options:[{label:(0,l.__)("H1"),value:"h1"},{label:(0,l.__)("H2"),value:"h2"},{label:(0,l.__)("H3"),value:"h3"},{label:(0,l.__)("H4"),value:"h4"},{label:(0,l.__)("H5"),value:"h5"},{label:(0,l.__)("H6"),value:"h6"},{label:(0,l.__)("P"),value:"p"}]},{id:"archiveLink",label:(0,l.__)("Make Title a Link","gutenverse"),component:s.CheckboxControl},{id:"archiveLinkTarget",show:!!t,label:(0,l.__)("Open in A New Tab","gutenverse"),component:s.CheckboxControl},{id:"archiveLinkRel",show:!!t,label:(0,l.__)("Link Rel","gutenverse"),component:s.TextControl}]},p=o(790);function u(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function d(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?u(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):u(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var y=function(e){var t=e.elementId,o=e.switcher,n=e.setSwitcher;return[{id:"alignment",label:(0,l.__)("Alignment","gutenverse"),component:s.IconRadioControl,allowDeviceControl:!0,options:[{label:(0,l.__)("Align Left","gutenverse"),value:"flex-start",icon:(0,p.jsx)(a.AlignLeft,{})},{label:(0,l.__)("Align Center","gutenverse"),value:"center",icon:(0,p.jsx)(a.AlignCenter,{})},{label:(0,l.__)("Align Right","gutenverse"),value:"flex-end",icon:(0,p.jsx)(a.AlignRight,{})},{label:(0,l.__)("Align Right","gutenverse"),value:"space-between",icon:(0,p.jsx)(a.AlignJustify,{})}]},{id:"typography",label:(0,l.__)("Typography","gutenverse"),component:s.TypographyControl},{id:"__styleHover",component:s.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__styleHover;return n(d(d({},o),{},{styleHover:t}))}},{id:"color",show:!o.styleHover||"normal"===o.styleHover,label:(0,l.__)("Text color","gutenverse"),component:s.ColorControl,liveStyle:[{type:"color",id:"color",selector:".".concat(t," h1, .").concat(t," h2, .").concat(t," h3, .").concat(t," h4, .").concat(t," h5, .").concat(t," h6, .").concat(t," span, .").concat(t," a"),properties:[{name:"color",valueType:"direct"}]}]},{id:"textShadow",show:!o.styleHover||"normal"===o.styleHover,label:(0,l.__)("Text Shadow","gutenverse"),component:s.TextShadowControl,liveStyle:[{type:"textShadow",id:"textShadow",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(t," h1, .").concat(t," h2, .").concat(t," h3, .").concat(t," h4, .").concat(t," h5, .").concat(t," h6, .").concat(t," span, .").concat(t," a")}]},{id:"textStroke",show:!o.styleHover||"normal"===o.styleHover,label:(0,l.__)("Text Stroke","gutenverse"),component:s.TextStrokeControl,liveStyle:[{type:"textStroke",id:"textStroke",selector:".".concat(t," h1, .").concat(t," h2, .").concat(t," h3, .").concat(t," h4, .").concat(t," h5, .").concat(t," h6, .").concat(t," span, .").concat(t," a")}]},{id:"colorHover",show:"hover"===o.styleHover,label:(0,l.__)("Hover Text color","gutenverse"),component:s.ColorControl,liveStyle:[{type:"color",id:"colorHover",selector:".".concat(t,":hover h1, .").concat(t,":hover h2, .").concat(t,":hover h3, .").concat(t,":hover h4, .").concat(t,":hover h5, .").concat(t,":hover h6, .").concat(t,":hover span, .").concat(t,":hover a"),properties:[{name:"color",valueType:"direct"}]}]},{id:"textShadowHover",show:"hover"===o.styleHover,label:(0,l.__)("Hover Text Shadow","gutenverse"),component:s.TextShadowControl,liveStyle:[{type:"textShadow",id:"textShadowHover",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(t,":hover h1, .").concat(t,":hover h2, .").concat(t,":hover h3, .").concat(t,":hover h4, .").concat(t,":hover h5, .").concat(t,":hover h6, .").concat(t,":hover span, .").concat(t,":hover a")}]},{id:"textStrokeHover",show:"hover"===o.styleHover,label:(0,l.__)("Hover Text Stroke","gutenverse"),component:s.TextStrokeControl,liveStyle:[{type:"textStroke",id:"textStrokeHover",selector:".".concat(t,":hover h1, .").concat(t,":hover h2, .").concat(t,":hover h3, .").concat(t,":hover h4, .").concat(t,":hover h5, .").concat(t,":hover h6, .").concat(t,":hover span, .").concat(t,":hover a")}]}]};function g(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function m(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?g(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):g(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var v=function(){return[{title:(0,l.__)("Setting","gutenverse"),panelArray:c,tabRole:s.TabSetting},{title:(0,l.__)("Style","gutenverse"),initialOpen:!1,panelArray:y,tabRole:s.TabStyle},{title:(0,l.__)("Background","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,s.backgroundPanel)(m(m({},e),{},{styleId:"archive-title-background",normalOptions:["default","gradient"],hoverOptions:["default","gradient"]}))},tabRole:s.TabStyle},{title:(0,l.__)("Border","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,s.borderPanel)(m(m({},e),{},{styleId:"archive-title-border"}))},tabRole:s.TabStyle},{title:(0,l.__)("Masking","gutenverse"),initialOpen:!1,panelArray:s.maskPanel,tabRole:s.TabStyle},{title:(0,l.__)("Display","gutenverse"),initialOpen:!1,panelArray:s.responsivePanel,tabRole:s.TabSetting},{title:(0,l.__)("Positioning","gutenverse"),initialOpen:!1,panelArray:s.positioningPanel,tabRole:s.TabSetting},{title:(0,l.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,s.animationPanel)(m(m({},e),{},{styleId:"archive-title-animation"}))},tabRole:s.TabSetting},{title:(0,l.__)("Transform","gutenverse"),initialOpen:!1,panelArray:s.transformPanel,pro:!0},{title:(0,l.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,s.advancePanel)(m(m({},e),{},{styleId:"archive-title-advance"}))},tabRole:s.TabSetting},{title:(0,l.__)("Condition","gutenverse"),panelArray:s.conditionPanel,initialOpen:!1,pro:!0}]},h=o(3582),b=o(6087),f=o(6826),x=o(4320),w=o(4404),S=o(1222),_=o(2619);const j=function(e,t){var o=[];return o=(0,s.backgroundStyle)({attributes:t,data:o,elementId:e}),(0,S.isNotEmpty)(t.alignment)&&o.push({type:"plain",id:"alignment",selector:".".concat(e," h1, .").concat(e," h2, .").concat(e," h3, .").concat(e," h4, .").concat(e," h5, .").concat(e," h6, .").concat(e," span, .").concat(e," a"),properties:[{name:"justify-content",valueType:"direct"},{name:"text-align",valueType:"function",functionName:"handleAlign"}],responsive:!0}),(0,S.isNotEmpty)(t.typography)&&o.push({type:"typography",id:"typography",selector:".".concat(e," h1, .").concat(e," h2, .").concat(e," h3, .").concat(e," h4, .").concat(e," h5, .").concat(e," h6, .").concat(e," span, .").concat(e," a")}),(0,S.isNotEmpty)(t.color)&&o.push({type:"color",id:"color",selector:".".concat(e," h1, .").concat(e," h2, .").concat(e," h3, .").concat(e," h4, .").concat(e," h5, .").concat(e," h6, .").concat(e," span, .").concat(e," a"),properties:[{name:"color",valueType:"direct"}]}),(0,S.isNotEmpty)(t.textShadow)&&o.push({type:"textShadow",id:"textShadow",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(e," h1, .").concat(e," h2, .").concat(e," h3, .").concat(e," h4, .").concat(e," h5, .").concat(e," h6, .").concat(e," span, .").concat(e," a")}),(0,S.isNotEmpty)(t.textStroke)&&o.push({type:"textStroke",id:"textStroke",selector:".".concat(e," h1, .").concat(e," h2, .").concat(e," h3, .").concat(e," h4, .").concat(e," h5, .").concat(e," h6, .").concat(e," span, .").concat(e," a")}),(0,S.isNotEmpty)(t.colorHover)&&o.push({type:"color",id:"colorHover",selector:".".concat(e,":hover h1, .").concat(e,":hover h2, .").concat(e,":hover h3, .").concat(e,":hover h4, .").concat(e,":hover h5, .").concat(e,":hover h6, .").concat(e,":hover span, .").concat(e,":hover a"),properties:[{name:"color",valueType:"direct"}]}),(0,S.isNotEmpty)(t.textShadowHover)&&o.push({type:"textShadow",id:"textShadowHover",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(e,":hover h1, .").concat(e,":hover h2, .").concat(e,":hover h3, .").concat(e,":hover h4, .").concat(e,":hover h5, .").concat(e,":hover h6, .").concat(e,":hover span, .").concat(e,":hover a")}),(0,S.isNotEmpty)(t.textStrokeHover)&&o.push({type:"textStroke",id:"textStrokeHover",selector:".".concat(e,":hover h1, .").concat(e,":hover h2, .").concat(e,":hover h3, .").concat(e,":hover h4, .").concat(e,":hover h5, .").concat(e,":hover h6, .").concat(e,":hover span, .").concat(e,":hover a")}),(0,S.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,S.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,S.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,S.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,S.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,S.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,S.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,S.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,S.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,S.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,S.isNotEmpty)(t.animation)&&(0,S.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,S.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,S.isNotEmpty)(t.positioningType)&&(0,S.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,S.isNotEmpty)(t.positioningWidth)&&(0,S.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,S.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,S.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,S.isNotEmpty)(t.positioningLeft)&&(0,S.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,S.isNotEmpty)(t.positioningRight)&&(0,S.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,S.isNotEmpty)(t.positioningTop)&&(0,S.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,S.isNotEmpty)(t.positioningBottom)&&(0,S.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),[].concat((0,w.A)(o),(0,w.A)((0,_.applyFilters)("gutenverse.archive-title.blockStyle",[],{elementId:e,attributes:t})))};function T(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function O(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?T(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):T(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function C(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}const k=JSON.parse('{"apiVersion":2,"name":"gutenverse/archive-title","class_callback":"\\\\Gutenverse\\\\Block\\\\Archive_Title","title":"Archive Title","description":"Show the title of an archive.","category":"gutenverse-post","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"archiveId":{"type":"string","default":0},"backendArchiveId":{"type":"string"},"noContentText":{"type":"string","default":"No Content"},"htmlTag":{"type":"string","default":"h1"},"archiveLink":{"type":"boolean"},"archiveLinkTarget":{"type":"boolean"},"archiveLinkRel":{"type":"string"},"linkTo":{"type":"string","default":"none"},"customURL":{"type":"string"},"alignment":{"type":"object","copyStyle":true},"typography":{"type":"object","copyStyle":true},"color":{"type":"object","copyStyle":true},"textShadow":{"type":"object","default":{},"copyStyle":true},"textStroke":{"type":"object","copyStyle":true},"textStrokeHover":{"type":"object","copyStyle":true},"colorHover":{"type":"object","copyStyle":true},"textShadowHover":{"type":"object","default":{},"copyStyle":true},"background":{"type":"object","default":{},"copyStyle":true},"backgroundTransition":{"type":"object","copyStyle":true,"default":{}},"backgroundHover":{"type":"object","default":{},"copyStyle":true},"border":{"type":"object","copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"borderHover":{"type":"object","copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadowHover":{"type":"object","copyStyle":true},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"animation":{"type":"object","default":{},"copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"positioningType":{"type":"object","copyStyle":true},"positioningWidth":{"type":"object","copyStyle":true},"positioningAlign":{"type":"object","copyStyle":true},"positioningLocation":{"type":"string","copyStyle":true},"positioningLeft":{"type":"object","copyStyle":true},"positioningRight":{"type":"object","copyStyle":true},"positioningTop":{"type":"object","copyStyle":true},"positioningBottom":{"type":"object","copyStyle":true},"transform":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"condition":{"type":"object","default":{}}},"usesContext":["archiveId","archiveType","queryId"],"supports":{"className":false},"keywords":["archive","title"]}');var P=o(4889),N=k.name,E={icon:(0,p.jsx)(P.yp,{}),edit:function(e){var t=e.attributes,o=e.clientId,n=e.context,c=n.archiveId,u=n.archiveType,d=t.elementId,y=t.archiveLink,g=t.archiveLinkTarget,m=t.archiveLinkRel,w=void 0===m?"noreferrer":m,S=t.htmlTag,_=(0,f.useAnimationEditor)(t),T=(0,f.useDisplayEditor)(t),C=(0,b.useRef)(),k=g?"_blank":"_self",P=(0,h.useEntityProp)("postType",u,"title",c),N=(0,r.A)(P,1)[0],E=void 0===N?"Archive Title":N,D=(0,h.useEntityProp)("postType",u,"link",c),B=(0,r.A)(D,1)[0];(0,x.useGenerateElementId)(o,d,C),(0,x.useDynamicStyle)(d,t,j,C);var A=(0,i.useBlockProps)({className:(0,a.classnames)("guten-element","guten-archive-title",d,_,T),ref:C});return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(a.CopyElementToolbar,O({},e)),(0,p.jsx)(i.InspectorControls,{children:(0,p.jsx)(s.PanelTutorial,{title:(0,l.__)("How Archive Title works?","gutenverse"),list:[{title:(0,l.__)("Inside Page Editor, Query Loop Block, and on Frontend","gutenverse"),description:(0,l.__)("Title data will be fetched automatically based on the current archive/loop.","gutenverse")},{title:(0,l.__)("Inside Site Editor","gutenverse"),description:(0,l.__)("It will load placeholder data.","gutenverse")}]})}),(0,p.jsx)(s.BlockPanelController,{panelList:v,props:e,elementRef:C}),(0,p.jsx)("div",O(O({},A),{},{children:(0,p.jsx)(S,{children:y?(0,p.jsx)("a",{href:B,target:k,rel:w,onClick:function(e){return e.preventDefault()},children:E}):E})}))]})},save:function(e){var t=e.attributes,o=t.elementId,r=(0,f.useAnimationFrontend)(t),s=(0,f.useDisplayFrontend)(t),l=(0,a.classnames)("guten-element","guten-archive-title",o,r,s);return(0,p.jsx)("div",function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?C(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):C(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},i.useBlockProps.save({className:l})))}}},2985:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},3014:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>h,name:()=>v,settings:()=>b});var n=o(4404),r=o(6065),i=o(7723),a=o(4597),s=o(9491),l=o(2188),c=o(9984),p=o(2449),u=o(4889),d=o(790);function y(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function g(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?y(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):y(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var m=(0,s.compose)(l.withPartialRender,(0,l.withCustomStyle)(a.d))((function(e){var t=g(g({},e),{},{shareType:"linkedin",serverPath:"gutenverse/social-share-linkedin"});return(0,d.jsx)(c.A,g({},t))})),v="gutenverse/social-share-linkedin",h=g(g({},p),{},{title:(0,i.__)("Gutenverse Social Share Linkedin","gutenverse"),description:(0,i.__)("Gutenverse Social Share Linkedin","gutenverse"),attributes:g(g({},p.attributes),{},{text:{type:"string",default:(0,i.__)("Share on Linkedin","gutenverse")}}),keywords:[].concat((0,n.A)(p.keywords),[(0,i.__)("linkedin","gutenverse")])}),b={icon:(0,d.jsx)(u.zb,{}),edit:m}},3119:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>Z,name:()=>ee,settings:()=>oe});var n=o(8930),r=o(6065),i=o(6087),a=o(9491),s=o(7723),l=o(3482),c=o(4715),p=o(6427),u=o(7143),d=o(596),y=function(e){var t=e.altType;return[{id:"lazyLoad",label:(0,s.__)("Set Lazy Load","gutenverse"),component:d.CheckboxControl},{id:"altType",label:(0,s.__)("Alt Type","gutenverse"),component:d.SelectControl,options:[{label:"None",value:"none"},{label:"Alt from Image",value:"original"},{label:"Custom Alt",value:"custom"}]},{id:"altCustom",show:"custom"===t,label:(0,s.__)("Custom Caption","gutenverse"),component:d.TextControl},{id:"ariaLabel",label:(0,s.__)("Aria Label","gutenverse"),component:d.TextControl}]},g=function(e){var t=e.elementId,o=e.captionType;return[{id:"captionType",label:(0,s.__)("Show Caption","gutenverse"),component:d.SelectControl,options:[{label:"None",value:"none"},{label:"Caption from Image",value:"original"},{label:"Custom Caption",value:"custom"}]},{id:"captionCustom",show:"custom"===o,label:(0,s.__)("Custom Caption","gutenverse"),component:d.TextControl},{id:"captionSpace",label:(0,s.__)("Caption Space","gutenverse"),component:d.RangeControl,min:0,max:100,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"captionSpace",responsive:!0,selector:".".concat(t," .guten-caption"),properties:[{name:"margin-top",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"typography",label:(0,s.__)("Typography","gutenverse"),component:d.TypographyControl},{id:"captionColor",label:(0,s.__)("Caption Color","gutenverse"),component:d.ColorControl,liveStyle:[{type:"color",id:"captionColor",selector:".".concat(t," .guten-caption"),properties:[{name:"color",valueType:"direct"}]}]}]},m=o(5255),v=o(790);function h(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function b(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?h(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):h(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var f=function(e){var t=e.elementId,o=e.switcher,n=e.setSwitcher,i=(0,m.getDeviceType)();return[{id:"align",label:(0,s.__)("Alignment","gutenverse"),component:d.IconRadioControl,allowDeviceControl:!0,options:[{label:(0,s.__)("Align Left","gutenverse"),value:"left",icon:(0,v.jsx)(l.AlignLeft,{})},{label:(0,s.__)("Align Center","gutenverse"),value:"center",icon:(0,v.jsx)(l.AlignCenter,{})},{label:(0,s.__)("Align Right","gutenverse"),value:"right",icon:(0,v.jsx)(l.AlignRight,{})}]},{id:"width",label:(0,s.__)("Width","gutenverse"),component:d.SizeControl,allowDeviceControl:!0,units:(0,r.A)((0,r.A)({px:{text:"px",min:1,max:1e3,step:1}},"%",{text:"%",min:1,max:100,step:1}),"vw",{text:"vw",min:1,max:100,step:1}),liveStyle:[{type:"unitPoint",id:"width",responsive:!0,selector:".".concat(t,".guten-image img"),properties:[{name:"width",valueType:"direct"}]}]},{id:"height",label:(0,s.__)("Height","gutenverse"),component:d.SizeControl,allowDeviceControl:!0,units:{px:{text:"px",min:1,max:500,step:1},vh:{text:"vh",min:1,max:100,step:1}},liveStyle:[{type:"unitPoint",id:"height",responsive:!0,selector:".".concat(t,".guten-image img"),properties:[{name:"height",valueType:"direct"}]}]},{id:"__imageHover",component:d.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__imageHover;return n(b(b({},o),{},{imageHover:t}))}},{id:"opacity",label:(0,s.__)("Opacity normal","gutenverse"),show:!o.imageHover||"normal"===o.imageHover,component:d.RangeControl,min:.1,max:1,step:.1,isParseFloat:!1,liveStyle:[{type:"plain",id:"opacity",selector:".".concat(t,".guten-image img"),properties:[{name:"opacity",valueType:"direct"}]}]},{id:"imgFilter",label:(0,s.__)("Image Filter Normal","gutenverse"),show:!o.imageHover||"normal"===o.imageHover,component:d.ImageFilterControl,liveStyle:[{type:"plain",id:"imgFilter",selector:".".concat(t,".guten-image img"),properties:[{name:"filter",valueType:"function",functionName:"handleFilterImage"}]}]},{id:"opacityHover",label:(0,s.__)("Opacity Hover","gutenverse"),show:"hover"===o.imageHover,component:d.RangeControl,min:.1,max:1,step:.1,isParseFloat:!1,liveStyle:[{type:"plain",id:"opacityHover",selector:".".concat(t,".guten-image:hover img"),properties:[{name:"opacity",valueType:"direct"}]}]},{id:"imgFilterHover",label:(0,s.__)("Image Filter Hover","gutenverse"),show:"hover"===o.imageHover,component:d.ImageFilterControl,liveStyle:[{type:"plain",id:"imgFilterHover",selector:".".concat(t,".guten-image:hover img"),properties:[{name:"filter",valueType:"function",functionName:"handleFilterImage"}]}]},{id:"hoverDivider",component:d.HeadingControl,label:(0,s.__)("","gutenverse")},{id:"imageFit",label:(0,s.__)("Image Fit","gutenverse"),component:d.SelectControl,allowDeviceControl:!0,options:[{label:"Default",value:"default"},{label:"Fill",value:"fill"},{label:"Cover",value:"cover"},{label:"Contain",value:"contain"}]},{id:"imgBorder",show:"Desktop"===i,label:(0,s.__)("Border","gutenverse"),component:d.BorderControl,liveStyle:[{type:"border",id:"imgBorder",selector:".".concat(t,".guten-image img")}]},{id:"imgBorderResponsive",show:"Desktop"!==i,label:(0,s.__)("Border","gutenverse"),component:d.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"imgBorderResponsive",selector:".".concat(t,".guten-image img")}]},{id:"imgShadow",label:(0,s.__)("Box Shadow","gutenverse"),component:d.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"imgShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t,".guten-image img")}]}]},x=o(2619);function w(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function S(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?w(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):w(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var _=function(e){return(0,x.applyFilters)("gutenverse.dynamic-content-options",[{component:d.LockedDynamicContentControl}],S(S({},e),{},{blockType:"image"}))};function j(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function T(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?j(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):j(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var O=function(){return[{title:(0,s.__)("Image","gutenverse"),panelArray:f,tabRole:d.TabStyle},{title:(0,s.__)("Image Setting","gutenverse"),initialOpen:!1,panelArray:y,tabRole:d.TabSetting},{title:(0,s.__)("Caption","gutenverse"),initialOpen:!1,panelArray:g,tabRole:d.TabSetting},{title:(0,s.__)("Dynamic Image Data","gutenverse"),panelArray:_,initialOpen:!1,tabRole:d.TabSetting,pro:!0},{title:(0,s.__)("Border","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,d.borderPanel)(T(T({},e),{},{styleId:"heading-border"}))},tabRole:d.TabStyle},{title:(0,s.__)("Masking","gutenverse"),initialOpen:!1,panelArray:d.maskPanel,tabRole:d.TabStyle},{title:(0,s.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,d.animationPanel)(T(T({},e),{},{styleId:"heading-animation"}))},tabRole:d.TabSetting},{title:(0,s.__)("Transform","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,d.transformPanel)(T(T({},e),{},{selector:".".concat(e.elementId," img"),hoverSelector:".".concat(e.elementId," img:hover")}))},pro:!0},{title:(0,s.__)("Mouse Move Effect","gutenverse"),initialOpen:!1,panelArray:d.mouseMoveEffectPanel,tabRole:d.TabSetting,pro:!0},{title:(0,s.__)("Advanced Animation","gutenverse"),initialOpen:!1,panelAdvance:!0,panelArray:function(e){return(0,d.advanceAnimationPanel)(T(T({},e),{},{blockType:"image"}))},pro:!0},{title:(0,s.__)("Display","gutenverse"),initialOpen:!1,panelArray:d.responsivePanel,tabRole:d.TabSetting},{title:(0,s.__)("Positioning","gutenverse"),initialOpen:!1,panelArray:d.positioningPanel,tabRole:d.TabSetting},{title:(0,s.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:d.advancePanel,tabRole:d.TabSetting},{title:(0,s.__)("Background","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,d.backgroundPanel)(T(T({},e),{},{styleId:"image-background",normalOptions:["default","gradient"],hoverOptions:["default","gradient"]}))},tabRole:d.TabStyle},{title:(0,s.__)("Condition","gutenverse"),panelArray:d.conditionPanel,initialOpen:!1,pro:!0}]},C=o(2774),k=o(4968),P=o(8468),N=o(2188),E=o(6826),D=o(1222),B=o(4320),A=o(4404);const H=function(e,t){var o=[];return o=function(e,t,o){return(0,D.isNotEmpty)(t.captionSpace)&&o.push({type:"plain",id:"captionSpace",responsive:!0,selector:".".concat(e," .guten-caption"),properties:[{name:"margin-top",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,D.isNotEmpty)(t.typography)&&o.push({type:"typography",id:"typography",selector:".".concat(e," .guten-caption")}),(0,D.isNotEmpty)(t.captionColor)&&o.push({type:"color",id:"captionColor",selector:".".concat(e," .guten-caption"),properties:[{name:"color",valueType:"direct"}]}),o}(e,t,o),o=function(e,t,o){return(0,D.isNotEmpty)(t.align)&&o.push({type:"plain",id:"align",responsive:!0,properties:[{name:"justify-content",valueType:"function",functionName:"handleAlignReverse"}],selector:".".concat(e,".guten-image .guten-image-wrapper")}),(0,D.isNotEmpty)(t.width)&&o.push({type:"unitPoint",id:"width",responsive:!0,selector:".".concat(e,".guten-image img"),properties:[{name:"width",valueType:"direct"}]}),(0,D.isNotEmpty)(t.height)&&o.push({type:"unitPoint",id:"height",responsive:!0,selector:".".concat(e,".guten-image img"),properties:[{name:"height",valueType:"direct"}]}),(0,D.isNotEmpty)(t.opacity)&&o.push({type:"plain",id:"opacity",selector:".".concat(e,".guten-image img"),properties:[{name:"opacity",valueType:"direct"}]}),(0,D.isNotEmpty)(t.imgFilter)&&o.push({type:"plain",id:"imgFilter",selector:".".concat(e,".guten-image img"),properties:[{name:"filter",valueType:"function",functionName:"handleFilterImage"}]}),(0,D.isNotEmpty)(t.opacityHover)&&o.push({type:"plain",id:"opacityHover",selector:".".concat(e,".guten-image:hover img"),properties:[{name:"opacity",valueType:"direct"}]}),(0,D.isNotEmpty)(t.imgFilterHover)&&o.push({type:"plain",id:"imgFilterHover",selector:".".concat(e,".guten-image:hover img"),properties:[{name:"filter",valueType:"function",functionName:"handleFilterImage"}]}),(0,D.isNotEmpty)(t.imageFit)&&o.push({type:"plain",id:"imageFit",responsive:!0,selector:".".concat(e,".guten-image img"),properties:[{name:"object-fit",valueType:"function",functionName:"handleDefaultValue"}]}),(0,D.isNotEmpty)(t.imgBorder)&&o.push({type:"border",id:"imgBorder",selector:".".concat(e,".guten-image img")}),(0,D.isNotEmpty)(t.imgBorderResponsive)&&o.push({type:"borderResponsive",id:"imgBorderResponsive",selector:".".concat(e,".guten-image img")}),(0,D.isNotEmpty)(t.imgShadow)&&o.push({type:"boxShadow",id:"imgShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e,".guten-image img")}),o}(e,t,o),o=(0,d.backgroundStyle)({attributes:t,data:o,elementId:e}),(0,D.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,D.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,D.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,D.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,D.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,D.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,D.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,D.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,D.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,D.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,D.isNotEmpty)(t.animation)&&(0,D.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,D.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,D.isNotEmpty)(t.positioningType)&&(0,D.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,D.isNotEmpty)(t.positioningWidth)&&(0,D.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,D.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,D.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,D.isNotEmpty)(t.positioningLeft)&&(0,D.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,D.isNotEmpty)(t.positioningRight)&&(0,D.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,D.isNotEmpty)(t.positioningTop)&&(0,D.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,D.isNotEmpty)(t.positioningBottom)&&(0,D.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),[].concat((0,A.A)(o),(0,A.A)((0,x.applyFilters)("gutenverse.image.blockStyle",[],{elementId:e,attributes:t})))};function R(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function I(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?R(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):R(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var M="noreferrer noopener",L=function(e){var t=e.imgSrc,o=e.altType,n=e.altOriginal,r=e.altCustom,i=e.lazyLoad,a=t||{},s=a.media,l=void 0===s?{}:s,c=a.size,p=l||{},u=p.imageId,d=p.sizes,y=void 0===d?{}:d,g=null;switch(o){case"original":g=n;break;case"custom":g=r}var m=function(){return(0,v.jsx)("img",I({className:"gutenverse-image-box-empty",src:k.imagePlaceholder,alt:g},i&&{loading:"lazy"}))};if((0,P.isEmpty)(y))return m();var h=y[c];if((0,P.isEmpty)(h)){if((0,P.isEmpty)(y.full))return m();h=y.full}return u&&h?(0,v.jsx)("img",I({className:"gutenverse-image-box-filled",src:h.url,height:h.height,width:h.width,alt:g},i&&{loading:"lazy"})):m()},z=function(e){var t=e.attributes,o=void 0===t?{}:t,n=e.setAttributes,r=e.children,i=o.imgSrc,a=(void 0===i?{}:i).media,s=(void 0===a?{}:a).imageId;return(0,v.jsx)(c.MediaUploadCheck,{children:(0,v.jsx)(c.MediaUpload,{onSelect:function(e){n({imgSrc:{media:{imageId:e.id,sizes:e.sizes},size:"full"},altOriginal:e.alt,captionOriginal:e.caption})},allowedTypes:["image"],value:s,render:r})})},F=(0,a.compose)(N.withPartialRender,N.withPassRef,(0,N.withAnimationAdvanceV2)("image"),N.withMouseMoveEffect)((function(e){var t=(0,u.useSelect)((function(e){return e("core/block-editor")}),[]),o=t.getBlock,r=t.getBlockRootClientId,a=e.clientId,y=e.attributes,g=e.setAttributes,m=e.isSelected,h=e.setBlockRef,b=y.elementId,f=y.imgSrc,w=y.url,S=y.linkTarget,_=y.rel,j=y.captionType,T=y.captionOriginal,N=y.captionCustom,A=y.ariaLabel,R=y.dynamicUrl,F=(0,D.useRichTextParameter)(),V=F.panelState,W=F.setPanelState,G=F.setPanelIsClicked,U=F.panelIsClicked,q=k.imagePlaceholder,$=r(a),Y=$?o($):null,X=(0,E.useAnimationEditor)(y),J=(0,E.useDisplayEditor)(y),Q=(0,i.useRef)(null),Z=(0,i.useState)(),K=(0,n.A)(Z,2),ee=K[0],te=K[1];(0,B.useGenerateElementId)(a,b,Q),(0,B.useDynamicStyle)(b,y,H,Q),(0,B.useDynamicScript)(Q);var oe=(0,c.useBlockProps)({className:(0,l.classnames)("guten-element","guten-image","no-margin",b,X,J,{"select-image":!f}),ref:Q}),ne=(0,i.useCallback)((function(e){var t=e?"_blank":void 0,o=_;t&&!_?o=M:t||_!==M||(o=void 0),g({linkTarget:t,rel:o})}),[_,g]),re=(0,v.jsxs)("div",I(I({},oe),{},{children:[(0,P.isEmpty)(f)?(0,v.jsx)(z,I(I({},e),{},{children:function(e){var t=e.open;return(0,v.jsx)("img",{src:q,onClick:t})}})):A?(0,v.jsx)("a",{className:"guten-image-wrapper","aria-label":A,href:w,target:S,rel:_,children:(0,v.jsx)(L,I({},y))}):(0,v.jsx)("a",{className:"guten-image-wrapper",href:w,target:S,rel:_,children:(0,v.jsx)(L,I({},y))}),function(){switch(j){case"original":return(0,v.jsx)("span",{className:"guten-caption",children:T});case"custom":return(0,v.jsx)("span",{className:"guten-caption",children:N});default:return null}}()]})),ie={panel:"setting",section:2};(0,i.useEffect)((function(){var e=(0,P.isEmpty)(R)||!(0,D.isOnEditor)()?R:(0,x.applyFilters)("gutenverse.dynamic.fetch-url",R);"function"==typeof e.then&&!(0,P.isEmpty)(R)&&e.then((function(e){(!Array.isArray(e)||e.length>0)&&void 0!==e&&e!==ee?te(e):e!==ee&&te(void 0)})).catch((function(){})),g(void 0!==ee?{url:ee,isDynamic:!0}:{url:w})}),[R,ee]),(0,i.useEffect)((function(){Q&&h(Q)}),[Q]);var ae=function(){return(0,x.applyFilters)("gutenverse.button.url-toolbar",(0,v.jsx)(C.URLToolbar,{url:w,setAttributes:g,isSelected:m,opensInNewTab:"_blank"===S,onToggleOpenInNewTab:ne,anchorRef:oe.ref,usingDynamic:!0,setPanelState:W,panelState:ie,title:"Item Link",panelIsClicked:U,setPanelIsClicked:G}),e,ie)};return(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(l.CopyElementToolbar,I({},e)),(0,v.jsx)(d.BlockPanelController,{panelList:O,props:e,elementRef:Q,panelState:V,setPanelIsClicked:G}),f&&(0,v.jsx)(c.BlockControls,{children:(0,v.jsxs)(p.ToolbarGroup,{children:[(0,v.jsx)(z,I(I({},e),{},{children:function(e){var t=e.open;return(0,v.jsx)(p.ToolbarButton,{name:"pick",icon:(0,v.jsx)(l.Image,{style:{color:"#000",fill:"#fff"}}),title:(0,s.__)("Change Image","gutenverse"),onClick:t})}})),(0,v.jsx)(ae,{})]})}),Y&&"gutenverse/client-logo"===Y.name?(0,v.jsx)("div",{id:b,children:re}):re]})}));const V=F;function W(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function G(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?W(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):W(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var U=(0,a.compose)((0,N.withAnimationAdvanceScript)("image"),N.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,n=t.url,r=t.linkTarget,i=t.rel,a=t.captionType,s=t.captionOriginal,p=t.captionCustom,u=t.ariaLabel,d=(0,E.useAnimationAdvanceData)(t),y=(0,E.useAnimationFrontend)(t),g=(0,E.useDisplayFrontend)(t),m=c.useBlockProps.save(G(G({},d),{},{className:(0,l.classnames)("guten-element","guten-image",o,y,g)})),h=(0,x.applyFilters)("gutenverse.dynamic.generate-url",n,"dynamicUrl",t,o),b=n?(0,v.jsx)("a",{className:"guten-image-wrapper",href:h,target:r,rel:i,"aria-label":u,children:(0,v.jsx)(L,G({},t))}):(0,v.jsx)("div",{className:"guten-image-wrapper",children:(0,v.jsx)(L,G({},t))});return(0,v.jsxs)("div",G(G({},m),{},{children:[b,function(){switch(a){case"original":return(0,v.jsx)("span",{className:"guten-caption",children:s});case"custom":return(0,v.jsx)("span",{className:"guten-caption",children:p});default:return null}}()]}))}));const q=U;var $=function(e){var t=e.imgSrc,o=e.altType,n=e.altOriginal,r=e.altCustom,i=e.lazyLoad,a=t||{},s=a.media,l=void 0===s?{}:s,c=a.size,p=l||{},u=p.imageId,d=p.sizes,y=void 0===d?{}:d,g=null;switch(o){case"original":g=n;break;case"custom":g=r}var m=function(){return i?(0,v.jsx)("img",{className:"gutenverse-image-box-empty",src:k.oldImagePlaceholder,alt:g,loading:"lazy"}):(0,v.jsx)("img",{className:"gutenverse-image-box-empty",src:k.oldImagePlaceholder,alt:g})};if((0,P.isEmpty)(y))return m();var h=y[c];if((0,P.isEmpty)(h)){if((0,P.isEmpty)(y.full))return m();h=y.full}return u&&h?i?(0,v.jsx)("img",{className:"gutenverse-image-box-filled",src:h.url,height:h.height,width:h.width,alt:g,loading:"lazy"}):(0,v.jsx)("img",{className:"gutenverse-image-box-filled",src:h.url,height:h.height,width:h.width,alt:g}):m()};function Y(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function X(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Y(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Y(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var J=(0,a.compose)((0,N.withAnimationAdvanceScript)("image"),N.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,n=t.url,r=t.linkTarget,i=t.rel,a=t.captionType,s=t.captionOriginal,p=t.captionCustom,u=t.ariaLabel,d=(0,E.useAnimationAdvanceData)(t),y=(0,E.useAnimationFrontend)(t),g=(0,E.useDisplayFrontend)(t),m=c.useBlockProps.save(X(X({},d),{},{className:(0,l.classnames)("guten-element","guten-image",o,y,g)}));return(0,v.jsxs)("div",X(X({},m),{},{children:[(0,v.jsx)("a",{className:"guten-image-wrapper",href:n,target:r,rel:i,"aria-label":u,children:(0,v.jsx)($,X({},t))}),function(){switch(a){case"original":return(0,v.jsx)("span",{className:"guten-caption",children:s});case"custom":return(0,v.jsx)("span",{className:"guten-caption",children:p});default:return null}}()]}))}));const Q=J,Z=JSON.parse('{"apiVersion":2,"name":"gutenverse/image","title":"Image","description":"Edit, crop, and showcase your image.","category":"gutenverse-element","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"mouseMoveEffect":{"type":"object","copyStyle":true},"imgSrc":{"type":"object"},"captionColor":{"type":"object","copyStyle":true},"ratio":{"type":"integer","default":0},"altType":{"type":"string","default":"none"},"altOriginal":{"type":"string"},"altCustom":{"type":"string"},"captionType":{"type":"string","default":"none"},"captionOriginal":{"type":"string"},"captionCustom":{"type":"string"},"typography":{"type":"object","copyStyle":true},"width":{"type":"object","copyStyle":true},"height":{"type":"object","copyStyle":true},"imgFilter":{"type":"object","copyStyle":true},"opacityHover":{"type":"string","copyStyle":true},"imgFilterHover":{"type":"object","copyStyle":true},"imgFit":{"type":"object","copyStyle":true},"url":{"type":"string"},"dynamicUrl":{"type":"object","default":{}},"isDynamic":{"type":"boolean","default":false},"linkTarget":{"type":"string","source":"attribute","selector":"a","attribute":"target"},"rel":{"type":"string","source":"attribute","selector":"a","attribute":"rel"},"imgBorder":{"type":"object","copyStyle":true},"imgBorderResponsive":{"type":"object","migrate":{"attr":"imgBorder","type":"border"},"copyStyle":true},"imgShadow":{"type":"object","copyStyle":true},"align":{"type":"object","copyStyle":true},"opacity":{"type":"string","copyStyle":true},"imageFit":{"type":"object","copyStyle":true},"animation":{"type":"object","default":{},"copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"border":{"type":"object","default":{},"copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"borderHover":{"type":"object","default":{},"copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadowHover":{"type":"object","copyStyle":true},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"positioningType":{"type":"object","copyStyle":true},"positioningWidth":{"type":"object","copyStyle":true},"positioningAlign":{"type":"object","copyStyle":true},"positioningLocation":{"type":"string","copyStyle":true},"positioningLeft":{"type":"object","copyStyle":true},"positioningRight":{"type":"object","copyStyle":true},"positioningTop":{"type":"object","copyStyle":true},"positioningBottom":{"type":"object","copyStyle":true},"captionSpace":{"type":"object","copyStyle":true},"advanceAnimation":{"type":"object","default":{},"copyStyle":true},"transform":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"background":{"type":"object","default":{},"copyStyle":true},"backgroundHover":{"type":"object","default":{},"copyStyle":true},"backgroundTransition":{"type":"object","copyStyle":true,"default":{}},"lazyLoad":{"type":"boolean","copyStyle":true},"ariaLabel":{"type":"string","copyStyle":true},"condition":{"type":"object","default":{}}},"keywords":["image"]}');var K=o(4889);var ee=Z.name,te=Z.attributes,oe={icon:(0,v.jsx)(K.Xx,{}),example:{attributes:{imgSrc:"https://picsum.photos/id/10/1000/600",captionType:"custom",captionCustom:"Gutenverse Image",typography:{font:{label:"Linden Hill",value:"Linden Hill",type:"google"},size:{Desktop:{point:"17",unit:"px"}}},width:{Desktop:{unit:"%",point:"100"}}}},edit:V,save:q,deprecated:[{attributes:te,save:Q}]}},3149:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>h,name:()=>v,settings:()=>b});var n=o(4404),r=o(6065),i=o(7723),a=o(4597),s=o(9491),l=o(2188),c=o(9984),p=o(2449),u=o(4889),d=o(790);function y(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function g(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?y(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):y(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var m=(0,s.compose)(l.withPartialRender,(0,l.withCustomStyle)(a.d))((function(e){var t=g(g({},e),{},{shareType:"twitter",serverPath:"gutenverse/social-share-twitter"});return(0,d.jsx)(c.A,g({},t))})),v="gutenverse/social-share-twitter",h=g(g({},p),{},{title:(0,i.__)("Gutenverse Social Share Twitter","gutenverse"),description:(0,i.__)("Gutenverse Social Share Twitter","gutenverse"),attributes:g(g({},p.attributes),{},{text:{type:"string",default:(0,i.__)("Share on Twitter","gutenverse")},type:{type:"string",default:(0,i.__)("twitter","gutenverse")},selectedIcon:{type:"string",default:(0,i.__)("twitter","gutenverse")}}),keywords:[].concat((0,n.A)(p.keywords),[(0,i.__)("twitter","gutenverse")])}),b={icon:(0,d.jsx)(u.e0,{}),edit:m}},3258:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>U,name:()=>$,settings:()=>X});var n=o(6065),r=o(9491),i=o(6087),a=o(4715),s=o(3482),l=o(596),c=o(7723),p=function(e){var t=e.showSupper;return[{id:"prefix",label:(0,c.__)("Number Prefix","gutenverse"),component:l.TextControl},{id:"number",label:(0,c.__)("Number Value","gutenverse"),component:l.TextControl},{id:"suffix",label:(0,c.__)("Number Suffix","gutenverse"),component:l.TextControl},{id:"duration",label:(0,c.__)("Animation Duration (ms)","gutenverse"),component:l.NumberControl},{id:"title",label:(0,c.__)("Title","gutenverse"),component:l.TextControl},{id:"showSupper",label:(0,c.__)("Enable Supper","gutenverse"),component:l.CheckboxControl},{id:"supper",show:t,label:(0,c.__)("Supper","gutenverse"),component:l.TextControl}]},u=function(e){var t=e.elementId;return[{id:"numberColor",label:(0,c.__)("Number Color","gutenverse"),component:l.ColorControl,allowDeviceControl:!0,liveStyle:[{type:"color",id:"numberColor",responsive:!0,selector:".".concat(t,".guten-fun-fact .fun-fact-inner .content .number-wrapper"),properties:[{name:"color",valueType:"direct"}]}]},{id:"titleColor",label:(0,c.__)("Title Color","gutenverse"),component:l.ColorControl,allowDeviceControl:!0,liveStyle:[{type:"color",id:"titleColor",responsive:!0,selector:".".concat(t,".guten-fun-fact .fun-fact-inner .content .title"),properties:[{name:"color",valueType:"direct"}]}]},{id:"numberTypography",label:(0,c.__)("Number Typography","gutenverse"),component:l.TypographyControl},{id:"titleTypography",label:(0,c.__)("Title Typography","gutenverse"),component:l.TypographyControl},{id:"numberBottomSpace",label:(0,c.__)("Number Bottom Space","gutenverse"),component:l.RangeControl,allowDeviceControl:!0,unit:"px",min:0,max:300,step:1,liveStyle:[{type:"plain",id:"numberBottomSpace",responsive:!0,selector:".".concat(t,".guten-fun-fact .fun-fact-inner .content .number-wrapper "),properties:[{name:"margin-bottom",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"numberRightSpace",label:(0,c.__)("Number Right Space","gutenverse"),component:l.RangeControl,allowDeviceControl:!0,unit:"px",min:0,max:300,step:1,liveStyle:[{type:"plain",id:"numberRightSpace",responsive:!0,selector:".".concat(t," .fun-fact-inner .content .number-wrapper .number.loaded"),properties:[{name:"margin-right",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"titleBottomSpace",label:(0,c.__)("Title Bottom Space","gutenverse"),component:l.RangeControl,allowDeviceControl:!0,unit:"px",min:0,max:300,step:1,liveStyle:[{type:"plain",id:"titleBottomSpace",responsive:!0,selector:".".concat(t,".guten-fun-fact .fun-fact-inner .content .title "),properties:[{name:"margin-bottom",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"contentPadding",label:(0,c.__)("Content Padding","gutenverse"),component:l.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}}]},d=o(790),y=function(e){var t=e.elementId,o=e.hoverBottom;return[{id:"alignButtons",label:(0,c.__)("Alignment","gutenverse"),component:l.IconRadioControl,allowDeviceControl:!0,options:[{label:(0,c.__)("Align Left","gutenverse"),value:"left",icon:(0,d.jsx)(s.AlignLeft,{})},{label:(0,c.__)("Align Center","gutenverse"),value:"center",icon:(0,d.jsx)(s.AlignCenter,{})},{label:(0,c.__)("Align Right","gutenverse"),value:"right",icon:(0,d.jsx)(s.AlignRight,{})}]},{id:"iconPosition",label:(0,c.__)("Icon Position","gutenverse"),component:l.SelectControl,allowDeviceControl:!0,options:[{value:"top",label:"Top"},{value:"left",label:"Left"},{value:"right",label:"Right"},{value:"bottom",label:"Bottom"}]},{id:"titleTag",label:(0,c.__)("Title HTML Tag","gutenverse"),component:l.SelectControl,options:[{value:"h1",label:"H1"},{value:"h2",label:"H2"},{value:"h3",label:"H3"},{value:"h4",label:"H4"},{value:"h5",label:"H5"},{value:"h6",label:"H6"},{value:"div",label:"Div"},{value:"span",label:"Span"},{value:"p",label:"P"}]},{id:"hoverBottom",label:(0,c.__)("Enable Hover Border Bottom","gutenverse"),component:l.CheckboxControl},{id:"hoverBottomColor",show:o,label:(0,c.__)("Border Bottom Color","gutenverse"),component:l.ColorControl,liveStyle:[{type:"color",id:"hoverBottomColor",selector:".".concat(t,".guten-fun-fact .border-bottom .animated"),properties:[{name:"background-color",valueType:"direct"}]}]},{id:"hoverBottomDirection",show:o,label:(0,c.__)("Hover Direction","gutenverse"),component:l.SelectControl,options:[{value:"left",label:"From Left"},{value:"right",label:"From Right"}]}]},g=o(5255),m=o(1222),v=function(e){var t=e.elementId,o=e.iconType,n=(e.imageSize,e.imageSizeResponsive,(0,g.getDeviceType)());return[{id:"iconType",label:(0,c.__)("Icon Type","gutenverse"),component:l.SelectControl,options:[{value:"none",label:"None"},{value:"icon",label:"Icon"},{value:"image",label:"Image"}]},{id:"icon",show:"icon"===o,label:(0,c.__)("Select Icon","gutenverse"),component:l.IconControl},{id:"image",show:"image"===o,label:(0,c.__)("Select Image","gutenverse"),component:l.ImageControl},{id:"imageAlt",show:"image"===o,label:(0,c.__)("Image Alt","gutenverse"),component:l.TextControl},{id:"lazyLoad",show:"image"===o,label:(0,c.__)("Set Lazy Load","gutenverse"),component:l.CheckboxControl},{id:"imageSize",show:"image"===o&&"Desktop"===n,label:(0,c.__)("Image Size","gutenverse"),component:l.RangeControl,min:1,max:1e3,step:1,isParseFloat:!0,showDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"imageSize",selector:".".concat(t,".guten-fun-fact .fun-fact-inner .icon img"),properties:[{name:"width",valueType:"pattern",pattern:"{value}px; height: {value}px; object-fit: cover;",patternValues:{value:{type:"direct"}}}]}]},{id:"imageSizeResponsive",show:"image"===o&&"Desktop"!==n,label:(0,c.__)("Image Size","gutenverse"),component:l.RangeControl,min:1,max:1e3,step:1,isParseFloat:!0,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"imageSizeResponsive",responsive:!0,selector:".".concat(t,".guten-fun-fact .fun-fact-inner .icon img"),properties:[{name:"width",valueType:"pattern",pattern:"{value}px; height: {value}px; object-fit: cover;",patternValues:{value:{type:"direct"}}}]}]}]};function h(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function b(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?h(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):h(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var f=function(e){var t=e.elementId,o=e.switcher,n=e.setSwitcher,r=(0,g.getDeviceType)();return[{id:"iconSize",label:(0,c.__)("Icon Size","gutenverse"),component:l.RangeControl,min:10,max:300,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"iconSize",responsive:!0,selector:".".concat(t,".guten-fun-fact .fun-fact-inner .icon "),properties:[{name:"font-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"iconRotate",label:(0,c.__)("Icon Rotate","gutenverse"),component:l.RangeControl,min:1,max:360,step:1,allowDeviceControl:!0,unit:"deg",liveStyle:[{type:"plain",id:"iconRotate",responsive:!0,selector:".".concat(t,".guten-fun-fact .fun-fact-inner .icon "),properties:[{name:"transform",valueType:"pattern",pattern:"rotate({value}deg)",patternValues:{value:{type:"direct"}}}]}]},{id:"iconPadding",label:(0,c.__)("Padding","gutenverse"),component:l.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"iconMargin",label:(0,c.__)("Margin","gutenverse"),component:l.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"__iconHover",component:l.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__iconHover;return n(b(b({},o),{},{iconStyle:t}))}},{id:"iconColor",show:!o.iconStyle||"normal"===o.iconStyle,label:(0,c.__)("Normal Color","gutenverse"),component:l.ColorControl,allowDeviceControl:!0,liveStyle:[{type:"color",id:"iconColor",responsive:!0,selector:".".concat(t,".guten-fun-fact .fun-fact-inner .icon"),properties:[{name:"color",valueType:"direct"}]}]},{id:"iconBgColor",show:!o.iconStyle||"normal"===o.iconStyle,label:(0,c.__)("Normal Background Color","gutenverse"),component:l.ColorControl,allowDeviceControl:!0,liveStyle:[{type:"color",id:"iconBgColor",responsive:!0,selector:".".concat(t,".guten-fun-fact .fun-fact-inner .icon"),properties:[{name:"background-color",valueType:"direct"}]}]},{id:"iconBorder",show:(!o.iconStyle||"normal"===o.iconStyle)&&"Desktop"===r,label:(0,c.__)("Border","gutenverse"),component:l.BorderControl,liveStyle:[{type:"border",id:"iconBorder",selector:".".concat(t," .fun-fact-inner .icon")}]},{id:"iconBorderResponsive",show:(!o.iconStyle||"normal"===o.iconStyle)&&"Desktop"!==r,label:(0,c.__)("Border","gutenverse"),component:l.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"iconBorderResponsive",selector:".".concat(t," .fun-fact-inner .icon")}]},{id:"iconColorHover",show:"hover"===o.iconStyle,label:(0,c.__)("Hover Color","gutenverse"),component:l.ColorControl,allowDeviceControl:!0,liveStyle:[{type:"color",id:"iconColorHover",responsive:!0,selector:".".concat(t,".guten-fun-fact .fun-fact-inner:hover .icon"),properties:[{name:"color",valueType:"direct"}]}]},{id:"iconBgColorHover",show:"hover"===o.iconStyle,label:(0,c.__)("Hover Background Color","gutenverse"),component:l.ColorControl,allowDeviceControl:!0,liveStyle:[{type:"color",id:"iconBgColorHover",responsive:!0,selector:".".concat(t,".guten-fun-fact .fun-fact-inner:hover .icon"),properties:[{name:"background-color",valueType:"direct"}]}]},{id:"iconBorderHover",show:"hover"===o.iconStyle&&"Desktop"===r,label:(0,c.__)("Border","gutenverse"),component:l.BorderControl,liveStyle:[{type:"border",id:"iconBorderHover",selector:".".concat(t," .fun-fact-inner:hover .icon")}]},{id:"iconBorderHoverResponsive",show:"hover"===o.iconStyle&&"Desktop"!==r,label:(0,c.__)("Border","gutenverse"),component:l.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"iconBorderHoverResponsive",selector:".".concat(t," .fun-fact-inner:hover .icon")}]}]},x=function(e){var t=e.elementId;return[{id:"superColor",label:(0,c.__)("Color","gutenverse"),component:l.ColorControl,liveStyle:[{type:"color",id:"superColor",selector:".".concat(t,".guten-fun-fact .fun-fact-inner .content .number-wrapper .super"),properties:[{name:"color",valueType:"direct"}]}]},{id:"superTypography",label:(0,c.__)("Typography","gutenverse"),component:l.TypographyControl},{id:"superTop",label:(0,c.__)("Top","gutenverse"),component:l.RangeControl,allowDeviceControl:!0,unit:"px",min:-100,max:100,step:1,liveStyle:[{type:"plain",id:"superTop",responsive:!0,selector:".".concat(t,".guten-fun-fact .fun-fact-inner .content .number-wrapper .super"),properties:[{name:"top",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"superSpace",label:(0,c.__)("Horizontal Space","gutenverse"),component:l.RangeControl,allowDeviceControl:!0,unit:"px",min:-5,max:20,step:1,liveStyle:[{type:"plain",id:"superSpace",responsive:!0,selector:".".concat(t,".guten-fun-fact .fun-fact-inner .content .number-wrapper .super"),properties:[{name:"left",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"superAlign",label:(0,c.__)("Vertical Position","gutenverse"),component:l.SelectControl,allowDeviceControl:!0,options:[{value:"super",label:"Top"},{value:"baseline",label:"Middle"},{value:"sub",label:"Bottom"}]}]};function w(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function S(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?w(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):w(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var _=function(){return[{title:(0,c.__)("General","gutenverse"),panelArray:y,tabRole:l.TabSetting},{title:(0,c.__)("Icon","gutenverse"),initialOpen:!1,panelArray:v,tabRole:l.TabSetting},{title:(0,c.__)("Content","gutenverse"),initialOpen:!1,panelArray:p,tabRole:l.TabSetting},{title:(0,c.__)("Icon Styling","gutenverse"),initialOpen:!1,panelArray:f,tabRole:l.TabStyle},{title:(0,c.__)("Content Styling","gutenverse"),initialOpen:!1,panelArray:u,tabRole:l.TabStyle},{title:(0,c.__)("Super","gutenverse"),initialOpen:!1,panelArray:x,tabRole:l.TabStyle},{title:(0,c.__)("Background","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.backgroundPanel)(S(S({},e),{},{styleId:"fun-fact-background",normalOptions:["default","gradient"],hoverOptions:["default","gradient"]}))},tabRole:l.TabStyle},{title:(0,c.__)("Border","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.borderPanel)(S(S({},e),{},{styleId:"fun-fact-border"}))},tabRole:l.TabStyle},{title:(0,c.__)("Masking","gutenverse"),initialOpen:!1,panelArray:l.maskPanel,tabRole:l.TabStyle},{title:(0,c.__)("Display","gutenverse"),initialOpen:!1,panelArray:l.responsivePanel,tabRole:l.TabSetting},{title:(0,c.__)("Positioning","gutenverse"),initialOpen:!1,panelArray:l.positioningPanel,tabRole:l.TabSetting},{title:(0,c.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.animationPanel)(S(S({},e),{},{styleId:"fun-fact-animation"}))},tabRole:l.TabSetting},{title:(0,c.__)("Transform","gutenverse"),initialOpen:!1,panelArray:l.transformPanel,pro:!0},{title:(0,c.__)("Mouse Move Effect","gutenverse"),initialOpen:!1,panelArray:l.mouseMoveEffectPanel,tabRole:l.TabSetting,pro:!0},{title:(0,c.__)("Advanced Animation","gutenverse"),initialOpen:!1,panelAdvance:!0,panelArray:function(e){return(0,l.advanceAnimationPanel)(S(S({},e),{},{blockType:"fun-fact"}))},pro:!0},{title:(0,c.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.advancePanel)(S(S({},e),{},{styleId:"fun-fact-advance"}))},tabRole:l.TabSetting},{title:(0,c.__)("Condition","gutenverse"),panelArray:l.conditionPanel,initialOpen:!1,pro:!0}]},j=o(5032),T=o(2188),O=o(6826),C=o(4320),k=o(4404),P=o(2619);function N(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function E(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?N(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):N(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const D=function(e,t){var o=[];return o=(0,l.backgroundStyle)({attributes:t,data:o,elementId:e}),(0,m.isNotEmpty)(t.numberColor)&&o.push({type:"color",id:"numberColor",responsive:!0,selector:".".concat(e,".guten-fun-fact .fun-fact-inner .content .number-wrapper"),properties:[{name:"color",valueType:"direct"}]}),(0,m.isNotEmpty)(t.titleColor)&&o.push({type:"color",id:"titleColor",responsive:!0,selector:".".concat(e,".guten-fun-fact .fun-fact-inner .content .title"),properties:[{name:"color",valueType:"direct"}]}),(0,m.isNotEmpty)(t.titleTypography)&&o.push({type:"typography",id:"titleTypography",selector:".".concat(e,".guten-fun-fact .fun-fact-inner .content .title")}),(0,m.isNotEmpty)(t.titleBottomSpace)&&o.push({type:"plain",id:"titleBottomSpace",responsive:!0,selector:".".concat(e,".guten-fun-fact .fun-fact-inner .content .title "),properties:[{name:"margin-bottom",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,m.isNotEmpty)(t.numberTypography)&&o.push({type:"typography",id:"numberTypography",selector:".".concat(e,".guten-fun-fact .fun-fact-inner .content .number-wrapper")}),(0,m.isNotEmpty)(t.numberBottomSpace)&&o.push({type:"plain",id:"numberBottomSpace",responsive:!0,selector:".".concat(e,".guten-fun-fact .fun-fact-inner .content .number-wrapper "),properties:[{name:"margin-bottom",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,m.isNotEmpty)(t.numberRightSpace)&&o.push({type:"plain",id:"numberRightSpace",responsive:!0,selector:".".concat(e," .fun-fact-inner .content .number-wrapper .number.loaded"),properties:[{name:"margin-right",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,m.isNotEmpty)(t.contentPadding)&&o.push({type:"dimension",id:"contentPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e,".guten-fun-fact .fun-fact-inner .content")}),(0,m.isNotEmpty)(t.alignButtons)&&o.push({type:"plain",id:"alignButtons",responsive:!0,selector:".".concat(e,".guten-fun-fact"),properties:[{name:"text-align",valueType:"direct"}]}),(0,m.isNotEmpty)(t.hoverBottomColor)&&t.hoverBottom&&o.push({type:"color",id:"hoverBottomColor",selector:".".concat(e,".guten-fun-fact .border-bottom .animated"),properties:[{name:"background-color",valueType:"direct"}]}),(0,m.isNotEmpty)(t.iconSize)&&o.push({type:"plain",id:"iconSize",responsive:!0,selector:".".concat(e,".guten-fun-fact .fun-fact-inner .icon "),properties:[{name:"font-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,m.isNotEmpty)(t.iconRotate)&&o.push({type:"plain",id:"iconRotate",responsive:!0,selector:".".concat(e,".guten-fun-fact .fun-fact-inner .icon "),properties:[{name:"transform",valueType:"pattern",pattern:"rotate({value}deg)",patternValues:{value:{type:"direct"}}}]}),(0,m.isNotEmpty)(t.iconMargin)&&o.push({type:"dimension",id:"iconMargin",responsive:!0,selector:".".concat(e,".guten-fun-fact .fun-fact-inner .icon "),properties:[{name:"margin",valueType:"direct"}]}),(0,m.isNotEmpty)(t.iconPadding)&&o.push({type:"dimension",id:"iconPadding",responsive:!0,selector:".".concat(e,".guten-fun-fact .fun-fact-inner .icon "),properties:[{name:"padding",valueType:"direct"}]}),(0,m.isNotEmpty)(t.iconColor)&&o.push({type:"color",id:"iconColor",responsive:!0,selector:".".concat(e,".guten-fun-fact .fun-fact-inner .icon"),properties:[{name:"color",valueType:"direct"}]}),(0,m.isNotEmpty)(t.iconBgColor)&&o.push({type:"color",id:"iconBgColor",responsive:!0,selector:".".concat(e,".guten-fun-fact .fun-fact-inner .icon"),properties:[{name:"background-color",valueType:"direct"}]}),(0,m.isNotEmpty)(t.iconBorder)&&o.push({type:"border",id:"iconBorder",selector:".".concat(e," .fun-fact-inner .icon")}),(0,m.isNotEmpty)(t.iconBorderResponsive)&&o.push({type:"borderResponsive",id:"iconBorderResponsive",selector:".".concat(e," .fun-fact-inner .icon")}),(0,m.isNotEmpty)(t.iconColorHover)&&o.push({type:"color",id:"iconColorHover",responsive:!0,selector:".".concat(e,".guten-fun-fact .fun-fact-inner:hover .icon"),properties:[{name:"color",valueType:"direct"}]}),(0,m.isNotEmpty)(t.iconBgColorHover)&&o.push({type:"color",id:"iconBgColorHover",responsive:!0,selector:".".concat(e,".guten-fun-fact .fun-fact-inner:hover .icon"),properties:[{name:"background-color",valueType:"direct"}]}),(0,m.isNotEmpty)(t.iconBorderHover)&&o.push({type:"border",id:"iconBorderHover",selector:".".concat(e," .fun-fact-inner:hover .icon")}),(0,m.isNotEmpty)(t.iconBorderHoverResponsive)&&o.push({type:"borderResponsive",id:"iconBorderHoverResponsive",selector:".".concat(e," .fun-fact-inner:hover .icon")}),(0,m.isNotEmpty)(t.iconType)&&"image"===t.iconType&&((0,m.isNotEmpty)(t.imageSize)||(0,m.isNotEmpty)(t.imageSizeResponsive))&&o.push({type:"plain",id:"iconType",responsive:!!t.imageSizeResponsive,selector:".".concat(e,".guten-fun-fact .fun-fact-inner .icon img"),properties:[{name:"width",valueType:"pattern",pattern:"{value}px; height: {value}px; object-fit: cover;",patternValues:{value:{type:"direct"}}}],multiAttr:{imageSize:t.imageSizeResponsive?E({Desktop:t.imageSize},t.imageSizeResponsive):t.imageSize}}),(0,m.isNotEmpty)(t.superColor)&&o.push({type:"color",id:"superColor",selector:".".concat(e,".guten-fun-fact .fun-fact-inner .content .number-wrapper .super"),properties:[{name:"color",valueType:"direct"}]}),(0,m.isNotEmpty)(t.superTypography)&&o.push({type:"typography",id:"superTypography",selector:".".concat(e,".guten-fun-fact .fun-fact-inner .content .number-wrapper .super")}),(0,m.isNotEmpty)(t.superTop)&&o.push({type:"plain",id:"superTop",responsive:!0,selector:".".concat(e,".guten-fun-fact .fun-fact-inner .content .number-wrapper .super"),properties:[{name:"top",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,m.isNotEmpty)(t.superSpace)&&o.push({type:"plain",id:"superSpace",responsive:!0,selector:".".concat(e,".guten-fun-fact .fun-fact-inner .content .number-wrapper .super"),properties:[{name:"left",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,m.isNotEmpty)(t.superAlign)&&o.push({type:"plain",id:"superAlign",responsive:!0,selector:".".concat(e,".guten-fun-fact .fun-fact-inner .content .number-wrapper .super"),properties:[{name:"vertical-align",valueType:"direct"}]}),(0,m.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,m.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,m.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,m.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,m.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,m.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,m.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,m.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,m.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,m.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,m.isNotEmpty)(t.animation)&&(0,m.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,m.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,m.isNotEmpty)(t.positioningType)&&(0,m.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,m.isNotEmpty)(t.positioningWidth)&&(0,m.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,m.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,m.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,m.isNotEmpty)(t.positioningLeft)&&(0,m.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,m.isNotEmpty)(t.positioningRight)&&(0,m.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,m.isNotEmpty)(t.positioningTop)&&(0,m.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,m.isNotEmpty)(t.positioningBottom)&&(0,m.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),[].concat((0,k.A)(o),(0,k.A)((0,P.applyFilters)("gutenverse.fun-fact.blockStyle",[],{elementId:e,attributes:t})))};function B(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function A(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?B(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):B(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var H=(0,r.compose)(T.withPartialRender,T.withPassRef,(0,T.withAnimationAdvanceV2)("fun-fact"),T.withMouseMoveEffect)((function(e){var t=e.attributes,o=e.clientId,n=e.setBlockRef,r=e.setAttributes,c=t.elementId,p=t.icon,u=t.prefix,y=t.suffix,m=t.title,v=t.supper,h=t.showSupper,b=t.number,f=t.duration,x=t.titleTag,w=t.hoverBottom,S=t.hoverBottomDirection,T=t.iconType,k=t.image,P=t.imageAlt,N=t.lazyLoad,E=t.iconPosition,B=t.contentDisplay,H=P||null,R=(0,i.useRef)(null),I=(0,O.useAnimationEditor)(t),M=(0,O.useDisplayEditor)(t),L=(0,g.getDeviceType)();(0,C.useGenerateElementId)(o,c,R),(0,C.useDynamicStyle)(c,t,D,R),(0,C.useDynamicScript)(R),(0,i.useEffect)((function(){return R.current&&(R.current.querySelector(".number").innerHTML=0,(0,j.A)({targets:R.current.querySelector(".number"),innerHTML:b,easing:"easeInOutQuart",round:1,duration:f})),function(){var e;return j.A.remove(null===(e=R.current)||void 0===e?void 0:e.querySelector(".number"))}}),[b,f]),(0,i.useEffect)((function(){R&&n(R)}),[R]);var z=function(){switch(T){case"icon":return(0,d.jsx)("div",{className:"icon-box",children:(0,d.jsx)("div",{className:"icon",children:(0,d.jsx)("i",{className:p})})});case"image":return(0,d.jsx)("div",{className:"icon-box",children:(0,d.jsx)("div",{className:"icon",children:(0,d.jsx)("img",A({src:(0,g.getImageSrc)(k),alt:H},N&&{loading:"lazy"}))})});default:return null}};(0,i.useEffect)((function(){"left"==E[L]||"right"==E[L]?r({contentDisplay:"inline-block"}):r({contentDisplay:"block"}),"left"==E[L]||"top"==E[L]?r({topIconContent:!0,bottomIconContent:!1}):r({topIconContent:!1,bottomIconContent:!0})}),[E]);var F=(0,a.useBlockProps)({className:(0,s.classnames)("guten-element","guten-fun-fact","no-margin",c,I,M,"align-center","hover-from-left"),ref:R});return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(s.CopyElementToolbar,A({},e)),(0,d.jsx)(l.BlockPanelController,{panelList:_,props:e,elementRef:R}),(0,d.jsxs)("div",A(A({},F),{},{children:[(0,d.jsxs)("div",{className:"fun-fact-inner",children:[("top"===E[L]||"left"===E[L]||null==E[L])&&z(),(0,d.jsxs)("div",{className:"content ".concat(B),children:[(0,d.jsxs)("div",{className:"number-wrapper",children:[(0,d.jsx)("span",{className:"prefix",children:"".concat(u," ")}),(0,d.jsx)("span",{className:"number loaded","data-number":b,"data-duration":f}),(0,d.jsx)("span",{className:"suffix",children:y}),h&&(0,d.jsx)("sup",{className:"super",children:v})]}),(0,d.jsx)(x,{className:"title",children:m})]}),("bottom"===E[L]||"right"===E[L])&&z()]}),w&&(0,d.jsx)("div",{className:"border-bottom",children:(0,d.jsx)("div",{className:"animated ".concat(S)})})]}))]})}));const R=H;function I(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function M(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?I(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):I(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var L=(0,r.compose)((0,T.withAnimationAdvanceScript)("fun-fact"),T.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,n=t.icon,r=t.iconType,i=t.prefix,l=t.suffix,c=t.title,p=t.supper,u=t.showSupper,y=t.number,m=t.duration,v=t.titleTag,h=t.hoverBottom,b=t.hoverBottomDirection,f=t.image,x=t.imageAlt,w=t.lazyLoad,S=t.contentDisplay,_=t.topIconContent,j=t.bottomIconContent,T=(0,O.useAnimationAdvanceData)(t),C=x||null,k=(0,O.useAnimationFrontend)(t),P=(0,O.useDisplayFrontend)(t),N=(0,s.classnames)("guten-element",o,k,P,"guten-fun-fact","align-center","hover-from-left"),E=function(){switch(r){case"icon":return(0,d.jsx)("div",{className:"icon-box",children:(0,d.jsx)("div",{className:"icon",children:(0,d.jsx)("i",{className:n})})});case"image":return(0,d.jsx)("div",{className:"icon-box",children:(0,d.jsx)("div",{className:"icon",children:(0,d.jsx)("img",M({src:(0,g.getImageSrc)(f),alt:C},w&&{loading:"lazy"}))})});default:return null}};return(0,d.jsxs)("div",M(M({},a.useBlockProps.save(M({className:N},T))),{},{children:[(0,d.jsxs)("div",{className:"fun-fact-inner",children:[_&&E(),(0,d.jsxs)("div",{className:"content ".concat(S),children:[(0,d.jsxs)("div",{className:"number-wrapper",children:[(0,d.jsx)("span",{className:"prefix",children:"".concat(i)}),(0,d.jsx)("span",{className:"number loaded","data-number":y,"data-duration":m}),(0,d.jsx)("span",{className:"suffix",children:l}),u&&(0,d.jsx)("sup",{className:"super",children:p})]}),(0,d.jsx)(v,{className:"title",children:c})]}),j&&E()]}),h&&(0,d.jsx)("div",{className:"border-bottom",children:(0,d.jsx)("div",{className:"animated ".concat(b)})})]}))}));const z=L;function F(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function V(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?F(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):F(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var W=(0,r.compose)((0,T.withAnimationAdvanceScript)("fun-fact"),T.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,n=t.icon,r=t.iconType,i=t.prefix,a=t.suffix,l=t.title,c=t.supper,p=t.showSupper,u=t.number,y=t.duration,m=t.titleTag,v=t.hoverBottom,h=t.hoverBottomDirection,b=t.image,f=t.imageAlt,x=t.lazyLoad,w=(0,O.useAnimationAdvanceData)(t),S=f||null,_=(0,O.useAnimationFrontend)(t),j=(0,O.useDisplayFrontend)(t),T=(0,s.classnames)("guten-element",o,_,j,"guten-fun-fact","align-center","hover-from-left");return(0,d.jsxs)("div",V(V({className:T},w),{},{children:[(0,d.jsxs)("div",{className:"fun-fact-inner",children:[function(){switch(r){case"icon":return(0,d.jsx)("div",{className:"icon",children:(0,d.jsx)("i",{className:n})});case"image":return(0,d.jsx)("div",{className:"icon",children:(0,d.jsx)("img",V({src:(0,g.getImageSrc)(b),alt:S},x&&{loading:"lazy"}))});default:return null}}(),(0,d.jsxs)("div",{className:"content",children:[(0,d.jsxs)("div",{className:"number-wrapper",children:[(0,d.jsx)("span",{className:"prefix",children:"".concat(i)}),(0,d.jsx)("span",{className:"number loaded","data-number":u,"data-duration":y}),(0,d.jsx)("span",{className:"suffix",children:a}),p&&(0,d.jsx)("sup",{className:"super",children:c})]}),(0,d.jsx)(m,{className:"title",children:l})]})]}),v&&(0,d.jsx)("div",{className:"border-bottom",children:(0,d.jsx)("div",{className:"animated ".concat(h)})})]}))}));const G=W,U=JSON.parse('{"apiVersion":2,"name":"gutenverse/fun-fact","title":"Fun Fact","description":"Create an interesting fact about your website or something you achieved.","category":"gutenverse-element","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"mouseMoveEffect":{"type":"object","copyStyle":true},"iconType":{"type":"string","default":"icon"},"iconPosition":{"type":"object","copyStyle":true,"default":{"Desktop":"top"}},"topIconContent":{"type":"boolean","default":true},"bottomIconContent":{"type":"boolean","default":false},"contentDisplay":{"type":"string","default":"block"},"icon":{"type":"string","default":"fas fa-grip-horizontal"},"iconColor":{"type":"object","copyStyle":true},"iconBgColor":{"type":"object","copyStyle":true},"iconBorder":{"type":"object","copyStyle":true},"iconBorderResponsive":{"type":"object","migrate":{"attr":"iconBorder","type":"border"},"copyStyle":true},"iconColorHover":{"type":"object","copyStyle":true},"iconBgColorHover":{"type":"object","copyStyle":true},"iconBorderHover":{"type":"object","copyStyle":true},"iconBorderHoverResponsive":{"type":"object","migrate":{"attr":"iconBorderHover","type":"border"},"copyStyle":true},"iconSize":{"type":"object","copyStyle":true},"iconRotate":{"type":"object","copyStyle":true},"iconPadding":{"type":"object","copyStyle":true},"iconMargin":{"type":"object","copyStyle":true},"image":{"type":"object"},"imageAlt":{"type":"string"},"imageSize":{"type":"integer","default":150},"imageSizeResponsive":{"type":"object","migrate":{"attr":"imageSizeResponsive","type":"size"},"copyStyle":true},"prefix":{"type":"string","default":"$"},"number":{"type":"string","default":"789"},"suffix":{"type":"string","default":"M"},"title":{"type":"string","default":"Fun Fact"},"titleTag":{"type":"string","default":"span"},"showSupper":{"type":"boolean","default":false},"supper":{"type":"string","default":"+"},"superColor":{"type":"object","copyStyle":true},"superTypography":{"type":"object","copyStyle":true},"superTop":{"type":"object","copyStyle":true},"superSpace":{"type":"object","copyStyle":true},"superAlign":{"type":"object","copyStyle":true},"alignButtons":{"type":"object","copyStyle":true},"duration":{"type":"integer","default":3500},"numberColor":{"type":"object","copyStyle":true},"titleColor":{"type":"object","copyStyle":true},"numberTypography":{"type":"object","copyStyle":true},"titleTypography":{"type":"object","copyStyle":true},"numberBottomSpace":{"type":"object","copyStyle":true},"titleBottomSpace":{"type":"object","copyStyle":true},"numberRightSpace":{"type":"object"},"contentPadding":{"type":"object","copyStyle":true},"background":{"type":"object","default":{},"copyStyle":true},"backgroundHover":{"type":"object","default":{},"copyStyle":true},"backgroundTransition":{"type":"object","copyStyle":true,"default":{}},"border":{"type":"object","default":{},"copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"borderHover":{"type":"object","default":{},"copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadowHover":{"type":"object","copyStyle":true},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"animation":{"type":"object","default":{},"copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"hoverBottom":{"type":"boolean","default":false,"copyStyle":true},"hoverBottomColor":{"type":"object","copyStyle":true},"hoverBottomDirection":{"type":"string","default":"left","copyStyle":true},"positioningType":{"type":"object","copyStyle":true},"positioningWidth":{"type":"object","copyStyle":true},"positioningAlign":{"type":"object","copyStyle":true},"positioningLocation":{"type":"string","copyStyle":true},"positioningLeft":{"type":"object","copyStyle":true},"positioningRight":{"type":"object","copyStyle":true},"positioningTop":{"type":"object","copyStyle":true},"positioningBottom":{"type":"object","copyStyle":true},"advanceAnimation":{"type":"object","default":{},"copyStyle":true},"transform":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"lazyLoad":{"type":"boolean","copyStyle":true},"condition":{"type":"object","default":{}}},"supports":{"className":false},"keywords":["fun","fact","count","number"]}');var q=o(4889);var $=U.name,Y=U.attributes,X={icon:(0,d.jsx)(q.rg,{}),example:{attributes:{icon:"fab fa-wordpress",iconColor:{Desktop:{r:94,g:129,b:244,a:1}},iconBorder:{radius:{Desktop:{}}},iconSize:{Desktop:"55"},iconPadding:{Desktop:{}},iconMargin:{Desktop:{unit:"px",dimension:{top:"0",right:"0",bottom:"0",left:"0"}}},number:"1250",suffix:"",title:"Fun Fact",showSupper:!0,superColor:{r:94,g:129,b:244,a:1},superTop:{Desktop:"7"},alignButtons:{Desktop:"center"},numberColor:{Desktop:{r:19,g:41,b:120,a:1}},titleColor:{Desktop:{r:129,g:129,b:165,a:1}},numberTypography:{font:{label:"Roboto",value:"Roboto",type:"google"},weight:"600",size:{Desktop:{point:"34",unit:"px"}}},numberBottomSpace:{Desktop:""},titleBottomSpace:{Desktop:""},numberRightSpace:{Desktop:""},contentPadding:{Desktop:{}}}},edit:R,save:z,deprecated:[{attributes:Y,save:G}]}},3408:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>h,name:()=>v,settings:()=>b});var n=o(4404),r=o(6065),i=o(7723),a=o(4597),s=o(9491),l=o(2188),c=o(9984),p=o(2449),u=o(4889),d=o(790);function y(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function g(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?y(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):y(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var m=(0,s.compose)(l.withPartialRender,(0,l.withCustomStyle)(a.d))((function(e){var t=g(g({},e),{},{shareType:"reddit",serverPath:"gutenverse/social-share-reddit"});return(0,d.jsx)(c.A,g({},t))})),v="gutenverse/social-share-reddit",h=g(g({},p),{},{title:(0,i.__)("Gutenverse Social Share Reddit","gutenverse"),description:(0,i.__)("Gutenverse Social Share Reddit","gutenverse"),attributes:g(g({},p.attributes),{},{text:{type:"string",default:(0,i.__)("Share on Reddit","gutenverse")}}),keywords:[].concat((0,n.A)(p.keywords),[(0,i.__)("reddit","gutenverse")])}),b={icon:(0,d.jsx)(u.fA,{}),edit:m}},3438:(e,t,o)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}o.d(t,{A:()=>n})},3480:(e,t,o)=>{var n=o(8976),r=/^\s+/;e.exports=function(e){return e?e.slice(0,n(e)+1).replace(r,""):e}},3482:e=>{"use strict";e.exports=gutenverseCore.components},3582:e=>{"use strict";e.exports=window.wp.coreData},3584:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},3656:e=>{"use strict";e.exports=window.wp.editor},3676:(e,t,o)=>{var n=o(2310)(o(8453),"Promise");e.exports=n},3832:e=>{"use strict";e.exports=window.wp.url},4059:e=>{"use strict";var t=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},o=0;o<10;o++)t["_"+String.fromCharCode(o)]=o;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,r){for(var i,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l<arguments.length;l++){for(var c in i=Object(arguments[l]))o.call(i,c)&&(s[c]=i[c]);if(t){a=t(i);for(var p=0;p<a.length;p++)n.call(i,a[p])&&(s[a[p]]=i[a[p]])}}return s}},4061:(e,t,o)=>{var n=o(6624),r=o(9358),i=o(2050),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&r(e.length)&&!!a[n(e)]}},4073:(e,t,o)=>{var n=o(8453).Symbol;e.exports=n},4167:(e,t,o)=>{var n=o(4061),r=o(8877),i=o(6273),a=i&&i.isTypedArray,s=a?r(a):n;e.exports=s},4224:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>ce,name:()=>he,settings:()=>xe});var n=o(6065),r=o(9491),i=o(6087),a=o(4715),s=o(3482),l=o(596),c=o(7723),p=o(790),u=function(e){var t,o=e.elementId,n=e.textType,r=e.style,i=function(){return["swirl","blinds","wave"].includes(r)};return[{id:"textType",label:(0,c.__)("Text Type","gutenverse"),component:l.SelectControl,options:[{label:(0,c.__)("Default","none"),value:"default"},{label:(0,c.__)("Rotation"),value:"rotation"},{label:(0,c.__)("Highlighted"),value:"highlighted"}]},{id:"titleTag",label:(0,c.__)("Title Tag","gutenverse"),component:l.SelectControl,options:[{label:(0,c.__)("H1"),value:"h1"},{label:(0,c.__)("H2"),value:"h2"},{label:(0,c.__)("H3"),value:"h3"},{label:(0,c.__)("H4"),value:"h4"},{label:(0,c.__)("H5"),value:"h5"},{label:(0,c.__)("H6"),value:"h6"},{label:(0,c.__)("SPAN"),value:"span"}]},{id:"style",show:"highlighted"!==n,label:(0,c.__)("Animation Style","gutenverse"),component:l.SelectControl,options:(t=[{value:"bend",label:(0,c.__)("Bend")},{value:"blinds",label:(0,c.__)("Blinds")},{value:"bounce",label:(0,c.__)("Bounce")},{value:"drop",label:(0,c.__)("Drop")},{value:"fade",label:(0,c.__)("Fade")},{value:"fall",label:(0,c.__)("Fall")},{value:"flip",label:(0,c.__)("Flip")},{value:"jump",label:(0,c.__)("Jump")},{value:"pop",label:(0,c.__)("Pop")},{value:"rising",label:(0,c.__)("Rising")},{value:"rubber-band",label:(0,c.__)("Rubber Band")},{value:"slide-down",label:(0,c.__)("Slide Down")},{value:"slide-left",label:(0,c.__)("Slide Left")},{value:"slide-right",label:(0,c.__)("Slide Right")},{value:"slide-up",label:(0,c.__)("Slide Up")},{value:"swing",label:(0,c.__)("Swing")},{value:"swirl",label:(0,c.__)("Swirl")},{value:"wave",label:(0,c.__)("Wave")},{value:"zoom",label:(0,c.__)("Zoom")}],"default"==n&&t.unshift({value:"none",label:(0,c.__)("None")}),t)},{id:"highlightedStyle",show:"highlighted"===n,label:(0,c.__)("Highlighted Style","gutenverse"),component:l.SelectControl,options:[{label:(0,c.__)("Circle","gutenverse"),value:"circle"},{label:(0,c.__)("Curly","gutenverse"),value:"curly"},{label:(0,c.__)("Underline","gutenverse"),value:"underline"},{label:(0,c.__)("Double","gutenverse"),value:"double"},{label:(0,c.__)("Double Underline","gutenverse"),value:"double-underline"},{label:(0,c.__)("Underline Zigzag","gutenverse"),value:"underline-zigzag"},{label:(0,c.__)("Diagonal","gutenverse"),value:"diagonal"},{label:(0,c.__)("Strikethrough","gutenverse"),value:"strikethrough"},{label:(0,c.__)("X","gutenverse"),value:"x"}]},{id:"beforeTextAnimated",label:(0,c.__)("Before Text Animated","gutenverse"),component:l.TextControl},{id:"text",show:"default"===n||"highlighted"===n,label:(0,c.__)("Animated Text","gutenverse"),component:l.TextControl},{id:"rotationTexts",show:"rotation"===n,label:(0,c.__)("Text Rotation","gutenverse"),component:l.RepeaterControl,titleFormat:"<strong><%= value.rotationText%></strong>",options:[{id:"rotationText",label:(0,c.__)("Title","gutenverse"),component:l.TextControl}]},{id:"afterTextAnimated",label:(0,c.__)("After Text Animated","gutenverse"),component:l.TextControl},{id:"alignText",label:(0,c.__)("Alignment","gutenverse"),component:l.IconRadioControl,allowDeviceControl:!0,options:[{label:(0,c.__)("Align Left","gutenverse"),value:"flex-start",icon:(0,p.jsx)(s.AlignLeft,{})},{label:(0,c.__)("Align Center","gutenverse"),value:"center",icon:(0,p.jsx)(s.AlignCenter,{})},{label:(0,c.__)("Align Right","gutenverse"),value:"flex-end",icon:(0,p.jsx)(s.AlignRight,{})}]},{id:"displayDuration",show:"none"!==r,label:(0,c.__)("Display Duration","gutenverse"),component:l.RangeControl,min:0,max:1e4,step:100,unit:"ms"},{id:"animationDuration",show:"none"!==r,label:i()&&"highlighted"===!n?(0,c.__)("Letter Speed In"):(0,c.__)("Animation Duration","gutenverse"),component:l.RangeControl,min:0,max:1e4,step:100,unit:"ms"},{id:"transitionDuration",show:"none"!==r,label:i()&&"highlighted"===!n?(0,c.__)("Letter Speed Out"):(0,c.__)("Transition Duration","gutenverse"),component:l.RangeControl,min:0,max:1e4,step:100,unit:"ms"},{id:"splitByWord",show:"highlighted"!==n,label:(0,c.__)("Split By Word","gutenverse"),component:l.CheckboxControl},{id:"loop",label:(0,c.__)("Loop","gutenverse"),component:l.CheckboxControl},{id:"height",label:(0,c.__)("Height","gutenverse"),component:l.SizeControl,allowDeviceControl:!0,units:{px:{text:"px",min:1,max:500,step:1},vh:{text:"vh",min:1,max:100,step:1}},liveStyle:[{type:"unitPoint",id:"height",properties:[{name:"min-height",valueType:"direct"}],selector:".".concat(o),responsive:!0}]},{id:"verticalAlign",label:(0,c.__)("Vertical Align","gutenverse"),component:l.SelectControl,allowDeviceControl:!0,options:[{label:(0,c.__)("Top"),value:"flex-start"},{label:(0,c.__)("Middle"),value:"center"},{label:(0,c.__)("Bottom"),value:"flex-end"}]}]};function d(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function y(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?d(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):d(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var g=function(e){var t=e.elementId,o=e.switcher,n=e.setSwitcher,r=e.animatedColorType;return[{id:"textAnimatedTypography",label:(0,c.__)("Typography","gutenverse"),component:l.TypographyControl},{id:"animatedColorType",label:(0,c.__)("Color Type"),component:l.SelectControl,options:[{label:(0,c.__)("Color","gutenverse"),value:"color"},{label:(0,c.__)("Gradient","gutenverse"),value:"gradient"}]},{id:"__colorHover",component:l.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__colorHover;return n(y(y({},o),{},{color:t}))}},{id:"textAnimatedColor",show:(!o.color||"normal"===o.color)&&"color"===r,label:(0,c.__)("Text color","gutenverse"),component:l.ColorControl,liveStyle:[{type:"color",id:"textAnimatedColor",selector:".editor-styles-wrapper .".concat(t," .text-content .text-wrapper"),properties:[{name:"color",valueType:"direct"}]}]},{id:"textAnimatedColorHover",show:"hover"===o.color&&"color"===r,label:(0,c.__)("Text color","gutenverse"),component:l.ColorControl,liveStyle:[{type:"color",id:"textAnimatedColorHover",selector:".editor-styles-wrapper .".concat(t,":hover .text-content .text-wrapper"),properties:[{name:"color",valueType:"direct"}]}]},{id:"textAnimatedGradient",show:(!o.color||"normal"===o.color)&&"gradient"===r,label:(0,c.__)("Text Gradient","gutenverse"),component:l.GradientWithAngleControl,liveStyle:[{type:"plain",id:"textAnimatedGradient",selector:".editor-styles-wrapper .".concat(t," .text-content .text-wrapper .letter"),properties:[{name:"background",valueType:"function",functionName:"customHandleBackground"},{name:"background-clip",valueType:"pattern",pattern:"text"},{name:"-webkit-text-fill-color",valueType:"pattern",pattern:"transparent"}]}]},{id:"textAnimatedGradientHover",show:"hover"===o.color&&"gradient"===r,label:(0,c.__)("Text Gradient","gutenverse"),component:l.GradientWithAngleControl,liveStyle:[{type:"plain",id:"textAnimatedGradientHover",selector:".editor-styles-wrapper .".concat(t,":hover .text-content .text-wrapper .letter"),properties:[{name:"background",valueType:"function",functionName:"customHandleBackground"},{name:"background-clip",valueType:"pattern",pattern:"text"},{name:"-webkit-text-fill-color",valueType:"pattern",pattern:"transparent"}]}]},{id:"textAnimatedShadow",label:(0,c.__)("Text Shadow","gutenverse"),component:l.TextShadowControl,liveStyle:[{type:"textShadow",id:"textAnimatedShadow",properties:[{name:"text-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .".concat(t," .text-content .text-wrapper")}]},{id:"textAnimatedStroke",label:(0,c.__)("Text Stroke","gutenverse"),component:l.TextStrokeControl,liveStyle:[{type:"textStroke",id:"textAnimatedStroke",selector:".editor-styles-wrapper .".concat(t," .text-content .text-wrapper")}]}]};function m(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function v(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?m(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):m(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var h=function(e){var t=e.elementId,o=e.switcher,n=e.setSwitcher,r=e.normalColorType;return[{id:"textNormalTypography",label:(0,c.__)("Typography","gutenverse"),component:l.TypographyControl},{id:"normalColorType",label:(0,c.__)("Color Type"),component:l.SelectControl,options:[{label:(0,c.__)("Color","gutenverse"),value:"color"},{label:(0,c.__)("Gradient","gutenverse"),value:"gradient"}]},{id:"__colorHover",component:l.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__colorHover;return n(v(v({},o),{},{color:t}))}},{id:"textNormalColor",show:(!o.color||"normal"===o.color)&&"color"===r,label:(0,c.__)("Text color","gutenverse"),component:l.ColorControl,liveStyle:[{type:"color",id:"textNormalColor",selector:".editor-styles-wrapper .".concat(t," .non-animated-text"),properties:[{name:"color",valueType:"direct"}]}]},{id:"textNormalColorHover",show:"hover"===o.color&&"color"===r,label:(0,c.__)("Text color","gutenverse"),component:l.ColorControl,liveStyle:[{type:"color",id:"textNormalColorHover",selector:".editor-styles-wrapper .".concat(t,":hover .non-animated-text"),properties:[{name:"color",valueType:"direct"}]}]},{id:"textNormalGradient",show:(!o.color||"normal"===o.color)&&"gradient"===r,label:(0,c.__)("Text Gradient","gutenverse"),component:l.GradientWithAngleControl,liveStyle:[{type:"plain",id:"textNormalGradient",selector:".editor-styles-wrapper .".concat(t," .non-animated-text"),properties:[{name:"background",valueType:"function",functionName:"customHandleBackground"},{name:"background-clip",valueType:"pattern",pattern:"text"},{name:"-webkit-text-fill-color",valueType:"pattern",pattern:"transparent"}]}]},{id:"textNormalGradientHover",show:"hover"===o.color&&"gradient"===r,label:(0,c.__)("Text Gradient","gutenverse"),component:l.GradientWithAngleControl,liveStyle:[{type:"plain",id:"textNormalGradientHover",selector:".editor-styles-wrapper .".concat(t,":hover .non-animated-text"),properties:[{name:"background",valueType:"function",functionName:"customHandleBackground"},{name:"background-clip",valueType:"pattern",pattern:"text"},{name:"-webkit-text-fill-color",valueType:"pattern",pattern:"transparent"}]}]},{id:"textNormalShadow",label:(0,c.__)("Text Shadow","gutenverse"),component:l.TextShadowControl,liveStyle:[{type:"textShadow",id:"textNormalShadow",properties:[{name:"text-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .".concat(t," .non-animated-text")}]},{id:"textNormalStroke",label:(0,c.__)("Text Stroke","gutenverse"),component:l.TextStrokeControl,liveStyle:[{type:"textStroke",id:"textNormalStroke",selector:".editor-styles-wrapper .".concat(t," .non-animated-text")}]}]},b=function(e){var t=e.elementId,o=e.highlightColorType;return[{id:"highlightColorType",label:(0,c.__)("Color Type"),component:l.SelectControl,options:[{label:(0,c.__)("Color","gutenverse"),value:"color"},{label:(0,c.__)("Gradient","gutenverse"),value:"gradient"}]},{id:"highlightColor",show:"color"===o,label:(0,c.__)("Highlight color","gutenverse"),component:l.ColorControl,liveStyle:[{type:"color",id:"highlightColor",selector:".editor-styles-wrapper .".concat(t," .text-content svg path"),properties:[{name:"stroke",valueType:"direct"}]}]},{id:"highlightGradient",show:"gradient"===o,label:(0,c.__)("Highlight Gradient","gutenverse"),component:l.GradientControl},{id:"highlightWidth",label:(0,c.__)("Highlight Width","gutenverse"),component:l.RangeControl,liveStyle:[{type:"plain",id:"highlightWidth",selector:".editor-styles-wrapper .".concat(t," .text-content svg path"),properties:[{name:"stroke-width",valueType:"direct"}]}]},{id:"highlightRoundedEdges",label:(0,c.__)("Rounded Edges"),component:l.CheckboxControl},{id:"highlightInFront",label:(0,c.__)("Bring to Front"),component:l.CheckboxControl}]};function f(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function x(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?f(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):f(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var w=function(){return[{title:(0,c.__)("Setting","gutenverse"),panelArray:u,tabRole:l.TabSetting},{title:(0,c.__)("Normal Text","gutenverse"),initialOpen:!1,panelArray:h,tabRole:l.TabStyle},{title:(0,c.__)("Animated Text","gutenverse"),initialOpen:!1,panelArray:g,tabRole:l.TabStyle},{title:(0,c.__)("Highlight","gutenverse"),initialOpen:!1,panelArray:b,tabRole:l.TabStyle},{title:(0,c.__)("Text Clip","gutenverse"),initialOpen:!1,panelAdvance:!0,panelArray:function(e){var t=e.elementId;return(0,l.textClipPanel)(x(x({},e),{},{textClipSelector:".editor-styles-wrapper .".concat(t," .text-content .letter, .editor-styles-wrapper .").concat(t," .text-content"),textClipId:"textClip"}))},pro:!0,tabRole:l.TabStyle},{title:(0,c.__)("Background","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.backgroundPanel)(x(x({},e),{},{styleId:"animated-text-background",normalOptions:["default","gradient"],hoverOptions:["default","gradient"]}))},tabRole:l.TabStyle},{title:(0,c.__)("Border","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.borderPanel)(x(x({},e),{},{styleId:"animated-text-border"}))},tabRole:l.TabStyle},{title:(0,c.__)("Masking","gutenverse"),initialOpen:!1,panelArray:l.maskPanel,tabRole:l.TabStyle},{title:(0,c.__)("Display","gutenverse"),initialOpen:!1,panelArray:l.responsivePanel,tabRole:l.TabSetting},{title:(0,c.__)("Positioning","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.positioningPanel)(x(x({},e),{},{inBlock:!1}))},tabRole:l.TabSetting},{title:(0,c.__)("Transform","gutenverse"),initialOpen:!1,panelArray:l.transformPanel,pro:!0},{title:(0,c.__)("Mouse Move Effect","gutenverse"),initialOpen:!1,panelArray:l.mouseMoveEffectPanel,tabRole:l.TabSetting,pro:!0},{title:(0,c.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.advancePanel)(x(x({},e),{},{styleId:"animated-text-advance"}))},tabRole:l.TabSetting},{title:(0,c.__)("Condition","gutenverse"),panelArray:l.conditionPanel,initialOpen:!1,pro:!0}]},S=o(2188),_=o(6826),j=o(4320),T=o(4404),O=o(1222),C=o(2619);const k=function(e,t){var o=[];return o=function(e){var t=e.elementId,o=e.data,n=e.attributes;return(0,O.isNotEmpty)(n.textAnimatedColor)&&o.push({type:"color",id:"textAnimatedColor",selector:".editor-styles-wrapper .".concat(t," .text-content .text-wrapper"),properties:[{name:"color",valueType:"direct"}]}),(0,O.isNotEmpty)(n.textAnimatedColorHover)&&o.push({type:"color",id:"textAnimatedColorHover",selector:".editor-styles-wrapper .".concat(t,":hover .text-content .text-wrapper"),properties:[{name:"color",valueType:"direct"}]}),(0,O.isNotEmpty)(n.animatedColorType)&&"gradient"===n.animatedColorType&&((0,O.isNotEmpty)(n.textAnimatedGradient)&&o.push({type:"plain",id:"textAnimatedGradient",selector:".editor-styles-wrapper .".concat(t," .text-content .text-wrapper .letter"),properties:[{name:"background",valueType:"function",functionName:"customHandleBackground"},{name:"background-clip",valueType:"pattern",pattern:"text"},{name:"-webkit-text-fill-color",valueType:"pattern",pattern:"transparent"}]}),(0,O.isNotEmpty)(n.textAnimatedGradientHover)&&o.push({type:"plain",id:"textAnimatedGradientHover",selector:".editor-styles-wrapper .".concat(t,":hover .text-content .text-wrapper .letter"),properties:[{name:"background",valueType:"function",functionName:"customHandleBackground"},{name:"background-clip",valueType:"pattern",pattern:"text"},{name:"-webkit-text-fill-color",valueType:"pattern",pattern:"transparent"}]})),(0,O.isNotEmpty)(n.textAnimatedTypography)&&o.push({type:"typography",id:"textAnimatedTypography",selector:".editor-styles-wrapper .".concat(t," .text-content .text-wrapper")}),(0,O.isNotEmpty)(n.textAnimatedShadow)&&o.push({type:"textShadow",id:"textAnimatedShadow",properties:[{name:"text-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .".concat(t," .text-content .text-wrapper")}),(0,O.isNotEmpty)(n.textAnimatedStroke)&&o.push({type:"textStroke",id:"textAnimatedStroke",selector:".editor-styles-wrapper .".concat(t," .text-content .text-wrapper")}),o}({elementId:e,attributes:t,data:o}),o=function(e){var t=e.elementId,o=e.data,n=e.attributes;return(0,O.isNotEmpty)(n.textNormalColor)&&o.push({type:"color",id:"textNormalColor",selector:".editor-styles-wrapper .".concat(t," .non-animated-text"),properties:[{name:"color",valueType:"direct"}]}),(0,O.isNotEmpty)(n.textNormalColorHover)&&o.push({type:"color",id:"textNormalColorHover",selector:".editor-styles-wrapper .".concat(t,":hover .non-animated-text"),properties:[{name:"color",valueType:"direct"}]}),(0,O.isNotEmpty)(n.normalColorType)&&"gradient"===n.normalColorType&&((0,O.isNotEmpty)(n.textNormalGradient)&&o.push({type:"plain",id:"textNormalGradient",selector:".editor-styles-wrapper .".concat(t," .non-animated-text"),properties:[{name:"background",valueType:"function",functionName:"customHandleBackground"},{name:"background-clip",valueType:"pattern",pattern:"text"},{name:"-webkit-text-fill-color",valueType:"pattern",pattern:"transparent"}]}),(0,O.isNotEmpty)(n.textNormalGradientHover)&&o.push({type:"plain",id:"textNormalGradientHover",selector:".editor-styles-wrapper .".concat(t,":hover .non-animated-text"),properties:[{name:"background",valueType:"function",functionName:"customHandleBackground"},{name:"background-clip",valueType:"pattern",pattern:"text"},{name:"-webkit-text-fill-color",valueType:"pattern",pattern:"transparent"}]})),(0,O.isNotEmpty)(n.textNormalTypography)&&o.push({type:"typography",id:"textNormalTypography",selector:".editor-styles-wrapper .".concat(t," .non-animated-text")}),(0,O.isNotEmpty)(n.textNormalShadow)&&o.push({type:"textShadow",id:"textNormalShadow",properties:[{name:"text-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .".concat(t," .non-animated-text")}),(0,O.isNotEmpty)(n.textNormalStroke)&&o.push({type:"textStroke",id:"textNormalStroke",selector:".editor-styles-wrapper .".concat(t," .non-animated-text")}),o}({elementId:e,attributes:t,data:o}),o=function(e){var t=e.elementId,o=e.data,n=e.attributes;return(0,O.isNotEmpty)(n.highlightColor)&&"color"===n.highlightColorType&&o.push({type:"color",id:"highlightColor",selector:".editor-styles-wrapper .".concat(t," .text-content svg path"),properties:[{name:"stroke",valueType:"direct"}]}),(0,O.isNotEmpty)(n.highlightWidth)&&o.push({type:"plain",id:"highlightWidth",selector:".editor-styles-wrapper .".concat(t," .text-content svg path"),properties:[{name:"stroke-width",valueType:"direct"}]}),(0,O.isNotEmpty)(n.highlightRoundedEdges)&&o.push({type:"plain",id:"highlightRoundedEdges",selector:".editor-styles-wrapper .".concat(t," .text-content svg path"),properties:[{name:"stroke-linecap",valueType:"pattern",pattern:"round"},{name:"stroke-linejoin",valueType:"pattern",pattern:"round"}]}),n.highlightInFront&&(o.push({type:"plain",id:"highlightInFront",selector:".editor-styles-wrapper .".concat(t," .text-content .text-wrapper"),properties:[{name:"z-index",valueType:"pattern",pattern:"1"}]}),o.push({type:"plain",id:"highlightInFront",selector:".editor-styles-wrapper .".concat(t," .text-content svg"),properties:[{name:"z-index",valueType:"pattern",pattern:"2"}]})),o}({elementId:e,attributes:t,data:o}),o=(0,l.backgroundStyle)({attributes:t,data:o,elementId:e}),(0,O.isNotEmpty)(t.alignText)&&o.push({type:"plain",id:"alignText",selector:".".concat(e),properties:[{name:"justify-content",valueType:"direct"},{name:"text-align",valueType:"function",functionName:"handleAlign"}],responsive:!0}),(0,O.isNotEmpty)(t.height)&&o.push({type:"unitPoint",id:"height",properties:[{name:"min-height",valueType:"direct"}],selector:".".concat(e),responsive:!0}),(0,O.isNotEmpty)(t.verticalAlign)&&o.push({type:"plain",id:"verticalAlign",properties:[{name:"align-items",valueType:"direct"}],selector:".".concat(e),responsive:!0}),(0,O.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,O.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,O.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,O.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,O.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,O.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,O.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,O.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,O.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,O.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,O.isNotEmpty)(t.animation)&&(0,O.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,O.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,O.isNotEmpty)(t.positioningType)&&(0,O.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,O.isNotEmpty)(t.positioningWidth)&&(0,O.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,O.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,O.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,O.isNotEmpty)(t.positioningLeft)&&(0,O.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,O.isNotEmpty)(t.positioningRight)&&(0,O.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,O.isNotEmpty)(t.positioningTop)&&(0,O.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,O.isNotEmpty)(t.positioningBottom)&&(0,O.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,O.isNotEmpty)(t.color)&&!(0,O.isNotEmpty)(t.textAnimatedColor)&&o.push({type:"color",id:"color",selector:".editor-styles-wrapper .".concat(e," .text-content .text-wrapper"),properties:[{name:"color",valueType:"direct"}]}),(0,O.isNotEmpty)(t.typography)&&!(0,O.isNotEmpty)(t.textAnimatedTypography)&&o.push({type:"typography",id:"typography",selector:".editor-styles-wrapper .".concat(e," .text-content .text-wrapper")}),(0,O.isNotEmpty)(t.textShadow)&&!(0,O.isNotEmpty)(t.textAnimatedShadow)&&o.push({type:"textShadow",id:"textAnimatedShadow",properties:[{name:"text-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .".concat(e," .text-content .text-wrapper")}),(0,O.isNotEmpty)(t.textStroke)&&!(0,O.isNotEmpty)(t.textAnimatedStroke)&&o.push({type:"textStroke",id:"textAnimatedStroke",selector:".editor-styles-wrapper .".concat(e," .text-content .text-wrapper")}),[].concat((0,T.A)(o),(0,T.A)((0,C.applyFilters)("gutenverse.animated-text.blockStyle",[],{elementId:e,attributes:t})))};var P=o(5032);const N={bend:function(e){return o=(t=e).loop,n=t.animationRef,r=t.targetRef,i=t.animationDuration,a=t.displayDuration,s=t.transitionDuration,l=t.isRotationType,c=t.stopRotating,p=t.nextRotationText,n.current.add({targets:r.current,translateY:["1.1em",0],translateX:["0.55em",0],translateZ:0,rotateZ:[180,0],duration:i,opacity:[0,1],easing:"easeOutExpo",delay:function(e,t){return 50*t}}),void((o||l&&!c())&&n.current.add({targets:r.current,opacity:0,duration:s,easing:"easeOutExpo",delay:a,complete:function(){l&&p()}}));var t,o,n,r,i,a,s,l,c,p},blinds:function(e){return o=(t=e).loop,n=t.animationRef,r=t.targetRef,i=t.animationDuration,a=t.displayDuration,s=t.transitionDuration,l=t.isRotationType,c=t.stopRotating,p=t.nextRotationText,n.current.add({targets:r.current,rotateY:[-90,0],opacity:[0,1],delay:function(e,t){return i*t}}),void((o||l&&!c())&&(n.current.add({targets:r.current,delay:a}),n.current.add({targets:r.current,rotateY:[0,90],opacity:[1,0],easing:"easeOutExpo",delay:function(e,t){return s*t},complete:function(){l&&p()}})));var t,o,n,r,i,a,s,l,c,p},bounce:function(e){return o=(t=e).loop,n=t.animationRef,r=t.targetRef,i=t.animationDuration,a=t.displayDuration,s=t.transitionDuration,l=t.isRotationType,c=t.stopRotating,p=t.nextRotationText,n.current.add({targets:r.current,scale:[.3,1.4,.7,1],easing:"easeOutQuad",duration:i,delay:function(e,t){return 50*t}}),void((o||l&&!c())&&(n.current.add({targets:r.current,delay:a}),n.current.add({targets:r.current,scale:[1,.7,1.4,.3],duration:s,easing:"easeInQuad",delay:function(e,t){return 50*t},complete:function(){l&&p()}})));var t,o,n,r,i,a,s,l,c,p},drop:function(e){return o=(t=e).loop,n=t.animationRef,r=t.targetRef,i=t.animationDuration,a=t.displayDuration,s=t.transitionDuration,l=t.isRotationType,c=t.stopRotating,p=t.nextRotationText,n.current.add({targets:r.current,scale:[0,1],opacity:[0,1],duration:i,elasticity:600,delay:function(e,t){return 45*(t+1)}}),void((o||l&&!c())&&n.current.add({targets:r.current,opacity:0,duration:s,easing:"easeOutExpo",delay:a,complete:function(){l&&p()}}));var t,o,n,r,i,a,s,l,c,p},fade:function(e){return o=(t=e).loop,n=t.animationRef,r=t.targetRef,i=t.animationDuration,a=t.displayDuration,s=t.transitionDuration,l=t.isRotationType,c=t.stopRotating,p=t.nextRotationText,n.current.add({targets:r.current,opacity:[0,1],easing:"easeInOutQuad",duration:i,delay:function(e,t){return 70*t}}),void((o||l&&!c())&&(n.current.add({targets:r.current,delay:a}),n.current.add({targets:r.current,opacity:[1,0],easing:"easeOutInQuad",duration:s,delay:function(e,t){return 70*t},complete:function(){l&&p()}})));var t,o,n,r,i,a,s,l,c,p},fall:function(e){return o=(t=e).loop,n=t.animationRef,r=t.targetRef,i=t.animationDuration,a=t.displayDuration,s=t.transitionDuration,l=t.isRotationType,c=t.stopRotating,p=t.nextRotationText,n.current.add({targets:r.current,translateY:[-100,0],easing:"easeOutExpo",duration:i,opacity:[0,1],delay:function(e,t){return 30*t}}),void((o||l&&!c())&&(n.current.add({targets:r.current,delay:a}),n.current.add({targets:r.current,translateY:[0,100],easing:"easeInExpo",duration:s,opacity:[1,0],delay:function(e,t){return 30*t},complete:function(){l&&p()}})));var t,o,n,r,i,a,s,l,c,p},flip:function(e){return o=(t=e).loop,n=t.animationRef,r=t.targetRef,i=t.animationDuration,a=t.displayDuration,s=t.transitionDuration,l=t.isRotationType,c=t.stopRotating,p=t.nextRotationText,n.current.add({targets:r.current,rotateY:[-90,0],opacity:[0,1],duration:i,delay:function(e,t){return 45*t}}),void((o||l&&!c())&&(n.current.add({targets:r.current,delay:a}),n.current.add({targets:r.current,rotateY:[0,90],opacity:[1,0],duration:s,easing:"easeOutExpo",delay:function(e,t){return 45*t},complete:function(){l&&p()}})));var t,o,n,r,i,a,s,l,c,p},jump:function(e){return o=(t=e).loop,n=t.animationRef,r=t.targetRef,i=t.animationDuration,a=t.displayDuration,s=t.transitionDuration,l=t.isRotationType,c=t.stopRotating,p=t.nextRotationText,n.current.add({targets:r.current,translateY:["1.1em",0],translateZ:0,duration:i,opacity:[0,1],delay:function(e,t){return 50*t}}),void((o||l&&!c())&&n.current.add({targets:r.current,opacity:0,duration:s,easing:"easeOutExpo",delay:a,complete:function(){l&&p()}}));var t,o,n,r,i,a,s,l,c,p},pop:function(e){return o=(t=e).loop,n=t.animationRef,r=t.targetRef,i=t.animationDuration,a=t.displayDuration,s=t.transitionDuration,l=t.isRotationType,c=t.stopRotating,p=t.nextRotationText,n.current.add({targets:r.current,scale:[.3,1],opacity:[0,1],translateZ:0,easing:"easeOutExpo",duration:i,delay:function(e,t){return 70*t}}),void((o||l&&!c())&&(n.current.add({targets:r.current,delay:a}),n.current.add({targets:r.current,scale:[1,.3],opacity:[1,0],duration:s,easing:"easeOutExpo",delay:function(e,t){return 70*t},complete:function(){l&&p()}})));var t,o,n,r,i,a,s,l,c,p},rising:function(e){return o=(t=e).loop,n=t.animationRef,r=t.targetRef,i=t.animationDuration,a=t.displayDuration,s=t.transitionDuration,l=t.isRotationType,c=t.stopRotating,p=t.nextRotationText,n.current.add({targets:r.current,translateY:[100,0],translateZ:0,opacity:[0,1],easing:"easeOutExpo",duration:i,delay:function(e,t){return 300+30*t}}),void((o||l&&!c())&&(n.current.add({targets:r.current,delay:a}),n.current.add({targets:r.current,translateY:[0,-100],opacity:[1,0],easing:"easeInExpo",duration:s,delay:function(e,t){return 100+30*t},complete:function(){l&&p()}})));var t,o,n,r,i,a,s,l,c,p},"rubber-band":function(e){return o=(t=e).loop,n=t.animationRef,r=t.targetRef,i=t.animationDuration,a=t.displayDuration,s=t.transitionDuration,l=t.isRotationType,c=t.stopRotating,p=t.nextRotationText,n.current.add({targets:r.current,scaleX:[{value:1.25},{value:.75},{value:1.15},{value:.95},{value:1.05},{value:1}],scaleY:[{value:.75},{value:1.25},{value:.85},{value:1.05},{value:.95},{value:1}],opacity:[0,1],duration:i,easing:"easeOutQuad",delay:function(e,t){return 50*t}}),void((o||l&&!c())&&(n.current.add({targets:r.current,delay:a}),n.current.add({targets:r.current,scaleX:[{value:1.05},{value:.95},{value:1.15},{value:.75},{value:1.25},{value:1}],scaleY:[{value:.95},{value:1.05},{value:.85},{value:1.25},{value:.75},{value:1}],opacity:[1,0],easing:"easeInQuad",duration:s,delay:function(e,t){return 50*t},complete:function(){l&&p()}})));var t,o,n,r,i,a,s,l,c,p},"slide-down":function(e){return o=(t=e).loop,n=t.animationRef,r=t.targetRef,i=t.animationDuration,a=t.displayDuration,s=t.transitionDuration,l=t.isRotationType,c=t.stopRotating,p=t.nextRotationText,n.current.add({targets:r.current,translateY:[-40,0],translateZ:0,opacity:[0,1],easing:"easeOutExpo",duration:i}),void((o||l&&!c())&&(n.current.add({targets:r.current,delay:a}),n.current.add({targets:r.current,translateY:[0,40],opacity:[1,0],easing:"easeInExpo",duration:s,complete:function(){l&&p()}})));var t,o,n,r,i,a,s,l,c,p},"slide-left":function(e){return o=(t=e).loop,n=t.animationRef,r=t.targetRef,i=t.animationDuration,a=t.displayDuration,s=t.transitionDuration,l=t.isRotationType,c=t.stopRotating,p=t.nextRotationText,n.current.add({targets:r.current,translateX:[-40,0],translateZ:0,opacity:[0,1],easing:"easeOutExpo",duration:i,delay:function(e,t){return 500+30*t}}),void((o||l&&!c())&&(n.current.add({targets:r.current,delay:a}),n.current.add({targets:r.current,translateX:[0,40],opacity:[1,0],easing:"easeInExpo",duration:s,delay:function(e,t){return 100+30*t},complete:function(){l&&p()}})));var t,o,n,r,i,a,s,l,c,p},"slide-right":function(e){return o=(t=e).loop,n=t.animationRef,r=t.targetRef,i=t.animationDuration,a=t.displayDuration,s=t.transitionDuration,l=t.isRotationType,c=t.stopRotating,p=t.nextRotationText,n.current.add({targets:r.current,translateX:[40,0],translateZ:0,opacity:[0,1],easing:"easeOutExpo",duration:i,delay:function(e,t){return 500+30*t}}),void((o||l&&!c())&&(n.current.add({targets:r.current,delay:a}),n.current.add({targets:r.current,translateX:[0,-40],opacity:[1,0],easing:"easeInExpo",duration:s,delay:function(e,t){return 100+30*t},complete:function(){l&&p()}})));var t,o,n,r,i,a,s,l,c,p},"slide-up":function(e){return o=(t=e).loop,n=t.animationRef,r=t.targetRef,i=t.animationDuration,a=t.displayDuration,s=t.transitionDuration,l=t.isRotationType,c=t.stopRotating,p=t.nextRotationText,n.current.add({targets:r.current,translateY:[40,0],translateZ:0,opacity:[0,1],easing:"easeOutExpo",duration:i}),void((o||l&&!c())&&(n.current.add({targets:r.current,delay:a}),n.current.add({targets:r.current,translateY:[0,-40],opacity:[1,0],easing:"easeInExpo",duration:s,complete:function(){l&&p()}})));var t,o,n,r,i,a,s,l,c,p},swing:function(e){return o=(t=e).loop,n=t.animationRef,r=t.targetRef,i=t.animationDuration,a=t.displayDuration,s=t.transitionDuration,l=t.isRotationType,c=t.stopRotating,p=t.nextRotationText,n.current.add({targets:r.current,rotate:[{value:15},{value:-10},{value:5},{value:-5},{value:0}],opacity:[0,1],duration:i,easing:"easeOutSine",delay:function(e,t){return 50*t}}),void((o||l&&!c())&&(n.current.add({targets:r.current,delay:a}),n.current.add({targets:r.current,rotate:[{value:0},{value:-5},{value:10},{value:-15},{value:15}],opacity:0,easing:"easeInSine",duration:s,delay:function(e,t){return 50*t},complete:function(){l&&p()}})));var t,o,n,r,i,a,s,l,c,p},swirl:function(e){return o=(t=e).loop,n=t.animationRef,r=t.targetRef,i=t.animationDuration,a=t.displayDuration,s=t.transitionDuration,l=t.isRotationType,c=t.stopRotating,p=t.nextRotationText,n.current.add({targets:r.current,rotateX:[-90,0],opacity:[0,1],delay:function(e,t){return i*t}}),void((o||l&&!c())&&(n.current.add({targets:r.current,delay:a}),n.current.add({targets:r.current,rotateX:[0,90],opacity:[1,0],delay:function(e,t){return s*t},complete:function(){l&&p()}})));var t,o,n,r,i,a,s,l,c,p},wave:function(e){return o=(t=e).loop,n=t.animationRef,r=t.targetRef,i=t.animationDuration,a=t.displayDuration,s=t.transitionDuration,l=t.isRotationType,c=t.stopRotating,p=t.nextRotationText,n.current.add({targets:r.current,scale:[.3,1],opacity:[0,1],translateZ:0,delay:function(e,t){return i*t}}),void((o||l&&!c())&&(n.current.add({targets:r.current,delay:a}),n.current.add({targets:r.current,scale:[1,.3],opacity:[1,0],translateZ:0,delay:function(e,t){return s*t},complete:function(){l&&p()}})));var t,o,n,r,i,a,s,l,c,p},zoom:function(e){return o=(t=e).loop,n=t.animationRef,r=t.targetRef,i=t.animationDuration,a=t.displayDuration,s=t.transitionDuration,l=t.isRotationType,c=t.stopRotating,p=t.nextRotationText,n.current.add({targets:r.current,scale:[4,1],opacity:[0,1],translateZ:0,easing:"easeOutExpo",duration:i,delay:function(e,t){return 70*t}}),void((o||l&&!c())&&(n.current.add({targets:r.current,delay:a}),n.current.add({targets:r.current,scale:[1,0],opacity:[1,0],translateZ:0,easing:"easeInExpo",duration:s,delay:function(e,t){return 70*t},complete:function(){l&&p()}})));var t,o,n,r,i,a,s,l,c,p}};function E(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function D(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?E(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):E(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const B=function(e){var t=e.text,o=void 0===t?"":t,n=e.loop,r=e.animatedTextRef,a=e.splitByWord,l=e.style,c=e.textType,u=e.animationDuration,d=e.displayDuration,y=e.transitionDuration,g=e.rotationTexts,m=(0,i.useRef)(null),v=(0,i.useRef)(null),h=(0,i.useRef)(null),b=(0,i.useRef)(null),f=(0,i.useRef)(0),x=N[l],w=function(){var e=f.current+1>=g.length;return!n&&e},S=function(e,t){e.html(t),e.html(e.text().replace(a?/\b\w+\b/g:/\S/g,(function(e){return"<span class='letter'>".concat(e,"</span>")})))},_=function(e,t){f.current===t&&(0,s.u)(e).addClass("active")},j=function(){v.current="rotation"===c?(0,T.A)((0,s.u)(r.current).find(".rotation-text.active").find(".letter").nodes):(0,T.A)((0,s.u)(r.current).find(".letter").nodes)},O=function(){var e;m.current.remove(v.current),f.current+1>=g.length?f.current=0:f.current++,(e=(0,s.u)(r.current).find(".rotation-text")).removeClass("active"),e.each((function(e,t){_(e,t)})),j(),k(),C()},C=function(){m.current=P.A.timeline({loop:n});var t=D(D({},e),{},{animationRef:m,targetRef:v,isRotationType:"rotation"==c&&0!=g.length,stopRotating:w,nextRotationText:O});x(t)},k=function(){null!=h.current&&h.current.remove(b.current);var e=(0,s.u)(r.current).find(".rotation-text.active").first().offsetWidth;b.current=(0,s.u)(r.current).find(".text-wrapper").nodes,h.current=(0,P.A)({targets:b.current,width:e+"px",duration:300,easing:"easeInOutQuad"})};return(0,i.useEffect)((function(){return f.current=0,function(){var e=(0,s.u)(r.current).find(".text-wrapper");if(e.html(""),"rotation"==c){g.forEach((function(t,o){var n=(0,s.u)("<span>").addClass("rotation-text");_(n,o),S(n,t.rotationText),e.append(n)}));var t=(0,s.u)(r.current).find(".rotation-text.active").first();e.attr({style:"width: ".concat(t.offsetWidth,"px;")})}else S(e,o),e.attr({style:""})}(),j(),x&&C(),function(){m.current&&m.current.remove(v.current)}}),[n,a,l,c,u,d,y,o,g]),(0,p.jsx)(p.Fragment,{children:(0,p.jsx)("span",{className:"text-content",children:(0,p.jsx)("span",{className:"text-wrapper",children:(0,p.jsx)("span",{className:"letter"})})})})};var A=o(8930);function H(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function R(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?H(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):H(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function I(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function M(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?I(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):I(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function L(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function z(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?L(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):L(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function F(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function V(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?F(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):F(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function W(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function G(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?W(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):W(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function U(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function q(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?U(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):U(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function $(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Y(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?$(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):$(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function X(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function J(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?X(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):X(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Q(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Z(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Q(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const K={circle:function(e){return function(e){var t=e.svgProps,o=e.gradientSvg,n=e.commonPathProps;return(0,p.jsx)(p.Fragment,{children:(0,p.jsxs)("svg",R(R({},t),{},{className:"svg-circle",children:[(0,p.jsx)("defs",{children:o}),(0,p.jsx)("path",R(R({},n),{},{d:"M281.68,15.89S135.3,14.19,22.05,81.45s331.78,76.17,441,35.68S363.86-35.6,178.77,26.39",transform:"translate(0.75 -3.61)"}))]}))})}(e)},x:function(e){return function(e){var t=e.svgProps,o=e.gradientSvg,n=e.commonPathProps;return(0,p.jsx)(p.Fragment,{children:(0,p.jsxs)("svg",M(M({},t),{},{className:"svg-cross",children:[(0,p.jsx)("defs",{children:o}),(0,p.jsx)("path",M(M({},n),{},{d:"M7.5,6.5s257,84,483,136",transform:"translate(-6.1 -2.22)"})),(0,p.jsx)("path",M(M({},n),{},{d:"M490.5,6.5s-310,103-483,136",transform:"translate(-6.1 -2.22)"}))]}))})}(e)},curly:function(e){return function(e){var t=e.svgProps,o=e.gradientSvg,n=e.commonPathProps;return(0,p.jsx)(p.Fragment,{children:(0,p.jsxs)("svg",z(z({},t),{},{className:"svg-curly",children:[(0,p.jsx)("defs",{children:o}),(0,p.jsx)("path",z(z({},n),{},{d:"M6.5,75.5s25-29,50,0,50,0,50,0,25-32,50,0,50-1,50-1,25-30,50,1,50,0,50,0,27-28,50,0,50,0,50,0,26-25,50,0,36,7,36,7",transform:"translate(-3.09 -56.78)"}))]}))})}(e)},diagonal:function(e){return function(e){var t=e.svgProps,o=e.gradientSvg,n=e.commonPathProps;return(0,p.jsx)(p.Fragment,{children:(0,p.jsxs)("svg",V(V({},t),{},{className:"svg-diagonal",children:[(0,p.jsx)("defs",{children:o}),(0,p.jsx)("path",V(V({},n),{},{d:"M7.5,6.5s257,84,483,136",transform:"translate(-6.1 -2.22)"}))]}))})}(e)},"double-underline":function(e){return function(e){var t=e.svgProps,o=e.gradientSvg,n=e.commonPathProps;return(0,p.jsx)(p.Fragment,{children:(0,p.jsxs)("svg",q(q({},t),{},{className:"svg-double-underline",children:[(0,p.jsx)("defs",{children:o}),(0,p.jsx)("path",q(q({},n),{},{d:"M3,59.5s152.5-13,493-3",transform:"translate(-2.62 -48.22)"})),(0,p.jsx)("path",q(q({},n),{},{d:"M3,83.5s200.54-11,493,0",transform:"translate(-2.62 -48.22)"}))]}))})}(e)},double:function(e){return function(e){var t=e.svgProps,o=e.gradientSvg,n=e.commonPathProps;return(0,p.jsx)(p.Fragment,{children:(0,p.jsxs)("svg",G(G({},t),{},{className:"svg-double",children:[(0,p.jsx)("defs",{children:o}),(0,p.jsx)("path",G(G({},n),{},{d:"M3.69,18.7s240.11-30,492.31,0",transform:"translate(-3.14 -0.87)"})),(0,p.jsx)("path",G(G({},n),{},{d:"M3.65,144S248.43,128,496,144",transform:"translate(-3.14 -0.87)"}))]}))})}(e)},strikethrough:function(e){return function(e){var t=e.svgProps,o=e.gradientSvg,n=e.commonPathProps;return(0,p.jsx)(p.Fragment,{children:(0,p.jsxs)("svg",Y(Y({},t),{},{className:"svg-strikethrough",children:[(0,p.jsx)("defs",{children:o}),(0,p.jsx)("path",Y(Y({},n),{},{d:"M7.5,75.5s200,10,485,0",transform:"translate(-7.28 -71)"}))]}))})}(e)},"underline-zigzag":function(e){return function(e){var t=e.svgProps,o=e.gradientSvg,n=e.commonPathProps;return(0,p.jsx)(p.Fragment,{children:(0,p.jsxs)("svg",Z(Z({},t),{},{className:"svg-underline-zigzag",children:[(0,p.jsx)("defs",{children:o}),(0,p.jsx)("path",Z(Z({},n),{},{d:"M9.5,52.5s361-31,478,0",transform:"translate(-9.11 -34.22)"})),(0,p.jsx)("path",Z(Z({},n),{},{d:"M484.5,55.5s-386-2-432,15c0,0,317-12,358,5,0,0-177-4-227,11",transform:"translate(-9.11 -34.22)"}))]}))})}(e)},underline:function(e){return function(e){var t=e.svgProps,o=e.gradientSvg,n=e.commonPathProps;return(0,p.jsx)(p.Fragment,{children:(0,p.jsxs)("svg",J(J({},t),{},{className:"svg-underline",children:[(0,p.jsx)("defs",{children:o}),(0,p.jsx)("path",J(J({},n),{},{d:"M3,77.5s200.54-11,493,0",transform:"translate(-2.75 -68.11)"}))]}))})}(e)}},ee=function(e){var t=e.elementId,o=e.animatedTextRef,n=e.text,r=e.loop,a=e.highlightedStyle,s=e.textType,l=e.animationDuration,c=e.displayDuration,u=e.highlightGradient,d=e.highlightColorType,y=e.highlightColor,g=e.transitionDuration,m=(0,i.useState)(null),v=(0,A.A)(m,2),h=v[0],b=v[1],f=(0,i.useRef)(null),x=(0,i.useRef)(null);return(0,i.useEffect)((function(){K[a]&&function(){var e=null,o="";"gradient"===d&&(e=(0,p.jsx)("linearGradient",{x1:"0",y1:"0",x2:"100%",y2:"100%",id:"".concat(t,"-highlight-gradient"),children:u?u.map((function(e,t){return(0,p.jsx)("stop",{offset:e.offset,style:{stopColor:e.color,stopOpacity:e.opacity||1}},t)})):null}),o="url(#".concat(t,"-highlight-gradient)"));var n={className:"style-".concat(d),stroke:o||void 0},r=K[a]({svgProps:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 150",preserveAspectRatio:"none"},gradientSvg:e,commonPathProps:n});b(r)}()}),[n,a,s,d,u,y]),(0,i.useEffect)((function(){if(h&&null!=o&&o.current)return function(){for(var e=(0,T.A)(o.current.getElementsByTagName("path")),t=0;t<e.length;t++){var n=e[t].getTotalLength();e[t].setAttribute("stroke-dasharray",n),e[t].setAttribute("stroke-dashoffset",n)}f.current=e,x.current=P.A.timeline({loop:r}).add({targets:f.current,strokeDashoffset:function(e){return[e.getTotalLength(),0]},opacity:[0,1],easing:"easeInOutSine",duration:l}),r&&x.current.add({targets:f.current,opacity:[1,0],delay:c,duration:g,easing:"easeInOutSine"})}(),function(){x.current&&x.current.remove(f.current)}}),[h,r,l,c,g]),(0,p.jsxs)("span",{className:"text-content",children:[(0,p.jsx)("span",{className:"text-wrapper",children:(0,p.jsx)("span",{className:"letter",children:n})}),(0,p.jsx)("span",{className:"highlighted",children:h},a)]})};function te(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function oe(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?te(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):te(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var ne=(0,r.compose)(S.withPartialRender,S.withMouseMoveEffect)((function(e){var t=e.attributes,o=e.clientId,r=t.elementId,c=t.style,u=t.titleTag,d=t.beforeTextAnimated,y=t.afterTextAnimated,g=t.textType,m=(0,i.useRef)(null),v=(0,_.useDisplayEditor)(t);(0,j.useGenerateElementId)(o,r,m),(0,j.useDynamicStyle)(r,t,k,m);var h=(0,a.useBlockProps)({className:(0,s.classnames)("guten-element","guten-animated-text","no-margin",r,v,(0,n.A)({},"style-".concat(c),c&&"none"!==c)),ref:m}),b=oe(oe({},t),{},{animatedTextRef:m,animationDuration:parseInt(t.animationDuration),displayDuration:parseInt(t.displayDuration),transitionDuration:parseInt(t.transitionDuration)});return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(s.CopyElementToolbar,oe({},e)),(0,p.jsx)(l.BlockPanelController,{panelList:w,props:e,elementRef:m}),(0,p.jsx)("div",oe(oe({},h),{},{children:(0,p.jsxs)(u,{children:[(0,p.jsx)("span",{className:"non-animated-text before-text",children:d}),"highlighted"==g?(0,p.jsx)(ee,oe({},b)):(0,p.jsx)(B,oe({},b)),(0,p.jsx)("span",{className:"non-animated-text after-text",children:y})]})}))]})}));const re=ne;function ie(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function ae(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ie(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ie(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var se=(0,r.compose)(S.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,r=t.style,i=t.text,l=t.titleTag,c=t.loop,u=t.splitByWord,d=t.beforeTextAnimated,y=t.afterTextAnimated,g=t.textType,m=t.rotationTexts,v=t.highlightedStyle,h=t.highlightGradient,b=t.highlightColorType,f=t.highlightColor,x=(0,_.useAnimationFrontend)(t),w=(0,_.useDisplayFrontend)(t),S=(0,s.classnames)("guten-element","guten-animated-text",o,x,w,(0,n.A)({},"style-".concat(r),r&&"none"!==r)),j={loop:c,splitByWord:u,style:r,textType:g,text:i,elementId:o,rotationTexts:m,highlightedStyle:v,highlightGradient:h,highlightColorType:b,highlightColor:f,animationDuration:parseInt(t.animationDuration),displayDuration:parseInt(t.displayDuration),transitionDuration:parseInt(t.transitionDuration)};return(0,p.jsx)("div",ae(ae({},a.useBlockProps.save({className:S})),{},{"data-animation":JSON.stringify(j),children:(0,p.jsxs)(l,{children:[(0,p.jsx)("span",{className:"non-animated-text before-text",children:d}),(0,p.jsxs)("span",{className:"text-content",children:[(0,p.jsx)("span",{className:"text-wrapper",children:(0,p.jsx)("span",{className:"letter",children:i})}),(0,p.jsx)("span",{className:"highlighted"})]}),(0,p.jsx)("span",{className:"non-animated-text after-text",children:y})]})}))}));const le=se,ce=JSON.parse('{"apiVersion":2,"name":"gutenverse/animated-text","title":"Animated Text","description":"Create text with beautiful animation flow.","category":"gutenverse-element","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"mouseMoveEffect":{"type":"object","copyStyle":true},"textType":{"type":"string","default":"default"},"titleTag":{"type":"string","default":"h2"},"style":{"type":"string","default":"zoom","copyStyle":true},"highlightedStyle":{"type":"string","default":"circle","copyStyle":true},"text":{"type":"string","default":"Placeholder Text"},"rotationTexts":{"type":"array","default":[{"rotationText":"Three"},{"rotationText":"Two"},{"rotationText":"One"}]},"beforeTextAnimated":{"type":"string","default":"Before "},"afterTextAnimated":{"type":"string","default":" After"},"displayDuration":{"type":"string","default":"1000"},"animationDuration":{"type":"string","default":"600"},"transitionDuration":{"type":"string","default":"500"},"splitByWord":{"type":"boolean"},"alignText":{"type":"object","copyStyle":true},"loop":{"type":"boolean","default":true,"copyStyle":true},"animatedColorType":{"type":"string","default":"color"},"textAnimatedColor":{"type":"object","copyStyle":true},"textAnimatedColorHover":{"type":"object","copyStyle":true},"textAnimatedGradient":{"type":"object","copyStyle":true,"default":{}},"textAnimatedGradientHover":{"type":"object","copyStyle":true,"default":{}},"textAnimatedTypography":{"type":"object","copyStyle":true},"textAnimatedShadow":{"type":"object","default":{},"copyStyle":true},"textAnimatedStroke":{"type":"object","copyStyle":true},"normalColorType":{"type":"string","default":"color"},"textNormalColor":{"type":"object","copyStyle":true},"textNormalColorHover":{"type":"object","copyStyle":true},"textNormalGradient":{"type":"object","copyStyle":true,"default":{}},"textNormalGradientHover":{"type":"object","copyStyle":true,"default":{}},"textNormalTypography":{"type":"object","copyStyle":true},"textNormalShadow":{"type":"object","default":{},"copyStyle":true},"textNormalStroke":{"type":"object","copyStyle":true},"highlightColorType":{"type":"string","default":"color"},"highlightColor":{"type":"object","default":{}},"highlightGradient":{"type":"array"},"highlightWidth":{"type":"string","default":"10"},"highlightRoundedEdges":{"type":"boolean","default":true},"highlightInFront":{"type":"boolean","default":true},"height":{"type":"object","copyStyle":true},"verticalAlign":{"type":"object","copyStyle":true},"background":{"type":"object","default":{},"copyStyle":true},"backgroundHover":{"type":"object","default":{},"copyStyle":true},"backgroundTransition":{"type":"object","copyStyle":true,"default":{}},"border":{"type":"object","copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"borderHover":{"type":"object","copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadowHover":{"type":"object","copyStyle":true},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"positioningType":{"type":"object","copyStyle":true},"positioningWidth":{"type":"object","copyStyle":true},"positioningAlign":{"type":"object","copyStyle":true},"positioningLocation":{"type":"string","copyStyle":true},"positioningLeft":{"type":"object","copyStyle":true},"positioningRight":{"type":"object","copyStyle":true},"positioningTop":{"type":"object","copyStyle":true},"positioningBottom":{"type":"object","copyStyle":true},"textClip":{"type":"object","default":{},"copyStyle":true},"transform":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"condition":{"type":"object","default":{}},"color":{"copyStyle":true,"type":"object"},"textShadow":{"copyStyle":true,"default":{},"type":"object"},"textStroke":{"copyStyle":true,"type":"object"},"typography":{"copyStyle":true,"type":"object"}},"supports":{"className":false},"keywords":["heading","animated","animation","text"]}');var pe=o(4889);function ue(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function de(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ue(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ue(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var ye=(0,r.compose)(S.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,r=t.style,i=t.text,l=t.titleTag,c=t.loop,u=(0,_.useAnimationFrontend)(t),d=(0,_.useDisplayFrontend)(t),y=(0,s.classnames)("guten-element","guten-animated-text",o,u,d,(0,n.A)({},"style-".concat(r),r&&"none"!==r));return(0,p.jsx)("div",de(de({},a.useBlockProps.save({className:y})),{},{"data-animation":r,"data-loop":c,children:function(){switch(r){case"jump":case"bend":case"drop":case"flip":case"pop":return(0,p.jsx)(l,{className:"text-content",children:(0,p.jsx)("span",{className:"text-wrapper",children:(0,p.jsx)("span",{className:"letters",children:i})})});default:return(0,p.jsx)(l,{className:"text-content",children:i})}}()}))}));const ge=ye;var me=(0,r.compose)(S.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,r=t.style,i=t.text,a=t.titleTag,l=t.loop,c=t.splitByWord,u=(0,_.useAnimationFrontend)(t),d=(0,_.useDisplayFrontend)(t),y=(0,s.classnames)("guten-element","guten-animated-text",o,u,d,(0,n.A)({},"style-".concat(r),r&&"none"!==r));return(0,p.jsx)("div",{className:y,"data-animation":r,"data-loop":l,"data-wordsplit":c,children:function(){switch(r){case"jump":case"bend":case"drop":case"flip":case"pop":return(0,p.jsx)(a,{className:"text-content",children:(0,p.jsx)("span",{className:"text-wrapper",children:(0,p.jsx)("span",{className:"letters",children:i})})});default:return(0,p.jsx)(a,{className:"text-content",children:i})}}()})}));const ve=me;var he=ce.name,be=ce.attributes,fe=ce.supports,xe={icon:(0,p.jsx)(pe.sT,{}),example:{attributes:{style:"zoom",text:"Gutenverse Animated Text",alignText:{Desktop:"center"},color:{r:19,g:41,b:120,a:1},typography:{font:{label:"Roboto",value:"Roboto",type:"google"},size:{Desktop:{point:"28",unit:"px"}},weight:"600"},textShadow:{color:{r:94,g:129,b:244,a:1},horizontal:"1",vertical:"0"}}},edit:re,save:le,deprecated:[{attributes:be,supports:fe,save:ge},{attributes:be,supports:fe,save:ve}]}},4320:e=>{"use strict";e.exports=gutenverseCore.styling},4404:(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var n=o(995),r=o(9246);function i(e){return function(e){if(Array.isArray(e))return(0,n.A)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,r.A)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},4478:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},4548:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>A,name:()=>R,settings:()=>I});var n=o(6065),r=o(8930),i=o(9491),a=o(4715),s=o(3482),l=o(596),c=o(7723),p=function(e){var t=e.linkTo,o=e.dateFormat;return[{id:"dateFormat",label:(0,c.__)("Date Format","gutenverse"),component:l.SelectControl,options:[{label:(0,c.__)("Relative Date/Time Format (ago)","gutenverse"),value:"ago"},{label:(0,c.__)("Default Format From Setting","gutenverse"),value:"default"},{label:(0,c.__)("December 31, 2022","gutenverse"),value:"F j, Y"},{label:(0,c.__)("2022-12-31","gutenverse"),value:"Y-m-d"},{label:(0,c.__)("12/31/2022","gutenverse"),value:"m/d/Y"},{label:(0,c.__)("31/12/2022","gutenverse"),value:"d/m/Y"},{label:(0,c.__)("December 31, 2022 4:00 AM","gutenverse"),value:"F j, Y g:i A"},{label:(0,c.__)("12/31/2022 4:00 AM","gutenverse"),value:"m/d/Y g:i A"},{label:(0,c.__)("Custom Format","gutenverse"),value:"custom"}]},{id:"customFormat",show:"custom"===o,label:(0,c.__)("Custom Format","gutenverse"),component:l.TextControl},{id:"dateType",label:(0,c.__)("Date Type","gutenverse"),component:l.SelectControl,options:[{label:(0,c.__)("Published Date","gutenverse"),value:"published"},{label:(0,c.__)("Modified Date","gutenverse"),value:"modified"},{label:(0,c.__)("Both Dates","gutenverse"),value:"both"}]},{id:"htmlTag",label:(0,c.__)("HTML Tag","gutenverse"),component:l.SelectControl,options:[{label:(0,c.__)("H1"),value:"h1"},{label:(0,c.__)("H2"),value:"h2"},{label:(0,c.__)("H3"),value:"h3"},{label:(0,c.__)("H4"),value:"h4"},{label:(0,c.__)("H5"),value:"h5"},{label:(0,c.__)("H6"),value:"h6"},{label:(0,c.__)("P"),value:"p"}]},{id:"linkTo",label:(0,c.__)("Link To","gutenverse"),component:l.SelectControl,options:[{label:(0,c.__)("None"),value:"none"},{label:(0,c.__)("Home URL"),value:"home"},{label:(0,c.__)("Post URL"),value:"post"},{label:(0,c.__)("Custom URL"),value:"custom"}]},{id:"customURL",show:"custom"===t,label:(0,c.__)("Custom URL","gutenverse"),component:l.TextControl}]},u=o(790);function d(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function y(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?d(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):d(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var g=function(e){var t=e.elementId,o=e.switcher,n=e.setSwitcher;return[{id:"alignment",label:(0,c.__)("Alignment","gutenverse"),component:l.IconRadioControl,allowDeviceControl:!0,options:[{label:(0,c.__)("Align Left","gutenverse"),value:"flex-start",icon:(0,u.jsx)(s.AlignLeft,{})},{label:(0,c.__)("Align Center","gutenverse"),value:"center",icon:(0,u.jsx)(s.AlignCenter,{})},{label:(0,c.__)("Align Right","gutenverse"),value:"flex-end",icon:(0,u.jsx)(s.AlignRight,{})},{label:(0,c.__)("Align Right","gutenverse"),value:"space-between",icon:(0,u.jsx)(s.AlignJustify,{})}]},{id:"typography",label:(0,c.__)("Typography","gutenverse"),component:l.TypographyControl},{id:"__styleHover",component:l.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__styleHover;return n(y(y({},o),{},{styleHover:t}))}},{id:"color",show:!o.styleHover||"normal"===o.styleHover,label:(0,c.__)("Text color","gutenverse"),component:l.ColorControl,liveStyle:[{type:"color",id:"color",selector:".editor-styles-wrapper .".concat(t," *"),properties:[{name:"color",valueType:"direct"}]}]},{id:"textShadow",show:!o.styleHover||"normal"===o.styleHover,label:(0,c.__)("Text Shadow","gutenverse"),component:l.TextShadowControl,liveStyle:[{type:"textShadow",id:"textShadow",properties:[{name:"text-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .".concat(t," *")}]},{id:"colorHover",show:"hover"===o.styleHover,label:(0,c.__)("Hover Text color","gutenverse"),component:l.ColorControl,liveStyle:[{type:"color",id:"colorHover",selector:".editor-styles-wrapper .".concat(t,":hover *"),properties:[{name:"color",valueType:"direct"}]}]},{id:"textShadowHover",show:"hover"===o.styleHover,label:(0,c.__)("Hover Text Shadow","gutenverse"),component:l.TextShadowControl,liveStyle:[{type:"textShadow",id:"textShadowHover",properties:[{name:"text-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .".concat(t,":hover *")}]}]};function m(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function v(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?m(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):m(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var h=function(){return[{title:(0,c.__)("Setting","gutenverse"),panelArray:p,tabRole:l.TabSetting},{title:(0,c.__)("Style","gutenverse"),initialOpen:!1,panelArray:g,tabRole:l.TabStyle},{title:(0,c.__)("Background","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.backgroundPanel)(v(v({},e),{},{styleId:"post-date-background",normalOptions:["default","gradient"],hoverOptions:["default","gradient"]}))},tabRole:l.TabStyle},{title:(0,c.__)("Border","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.borderPanel)(v(v({},e),{},{styleId:"post-date-border"}))},tabRole:l.TabStyle},{title:(0,c.__)("Masking","gutenverse"),initialOpen:!1,panelArray:l.maskPanel,tabRole:l.TabStyle},{title:(0,c.__)("Display","gutenverse"),initialOpen:!1,panelArray:l.responsivePanel,tabRole:l.TabSetting},{title:(0,c.__)("Positioning","gutenverse"),initialOpen:!1,panelArray:l.positioningPanel,tabRole:l.TabSetting},{title:(0,c.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.animationPanel)(v(v({},e),{},{styleId:"post-date-animation"}))},tabRole:l.TabSetting},{title:(0,c.__)("Transform","gutenverse"),initialOpen:!1,panelArray:l.transformPanel,pro:!0},{title:(0,c.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.advancePanel)(v(v({},e),{},{styleId:"post-date-advance"}))},tabRole:l.TabSetting},{title:(0,c.__)("Condition","gutenverse"),panelArray:l.conditionPanel,initialOpen:!1,pro:!0}]},b=o(6826),f=o(5255),x=o(8468),w=o(6087),S=o(2188),_=o(3582);const j=window.wp.date;var T=o(4320),O=o(4404),C=o(1222),k=o(2619);const P=function(e,t){var o=[];return o=(0,l.backgroundStyle)({attributes:t,data:o,elementId:e}),(0,C.isNotEmpty)(t.alignment)&&o.push({type:"plain",id:"alignment",responsive:!0,selector:".editor-styles-wrapper .".concat(e),properties:[{name:"justify-content",valueType:"direct"}]}),(0,C.isNotEmpty)(t.typography)&&o.push({type:"typography",id:"typography",selector:".editor-styles-wrapper .".concat(e," *")}),(0,C.isNotEmpty)(t.color)&&o.push({type:"color",id:"color",selector:".editor-styles-wrapper .".concat(e," *"),properties:[{name:"color",valueType:"direct"}]}),(0,C.isNotEmpty)(t.textShadow)&&o.push({type:"textShadow",id:"textShadow",properties:[{name:"text-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .".concat(e," *")}),(0,C.isNotEmpty)(t.colorHover)&&o.push({type:"color",id:"colorHover",selector:".editor-styles-wrapper .".concat(e,":hover *"),properties:[{name:"color",valueType:"direct"}]}),(0,C.isNotEmpty)(t.textShadowHover)&&o.push({type:"textShadow",id:"textShadowHover",properties:[{name:"text-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .".concat(e,":hover *")}),(0,C.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,C.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,C.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,C.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,C.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,C.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,C.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,C.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,C.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,C.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,C.isNotEmpty)(t.animation)&&(0,C.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,C.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,C.isNotEmpty)(t.positioningType)&&(0,C.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,C.isNotEmpty)(t.positioningWidth)&&(0,C.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,C.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,C.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,C.isNotEmpty)(t.positioningLeft)&&(0,C.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,C.isNotEmpty)(t.positioningRight)&&(0,C.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,C.isNotEmpty)(t.positioningTop)&&(0,C.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,C.isNotEmpty)(t.positioningBottom)&&(0,C.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),[].concat((0,O.A)(o),(0,O.A)((0,k.applyFilters)("gutenverse.post-date.blockStyle",[],{elementId:e,attributes:t})))};function N(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function E(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?N(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):N(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const D=(0,i.compose)(S.withPartialRender)((function(e){var t=e.attributes,o=e.context,n=o.postId,i=o.postType,p=e.clientId,d=t.elementId,y=t.dateFormat,g=t.dateType,m=t.customFormat,v=t.linkTo,S=t.customURL,O=t.htmlTag,C=(0,b.useAnimationEditor)(t),k=(0,b.useDisplayEditor)(t),N=(0,w.useRef)(),D=(0,a.useBlockProps)({className:(0,s.classnames)("guten-element","guten-post-date","no-margin",d,C,k),ref:N}),B=(0,_.useEntityProp)("root","site","date_format"),A=(0,r.A)(B,1)[0],H=(0,_.useEntityProp)("postType",i,"date",n),R=(0,r.A)(H,1)[0],I=(0,_.useEntityProp)("postType",i,"modified",n),M=(0,r.A)(I,1)[0],L=function(e){return!(0,x.isEmpty)(v)&&!["none","custom"].includes(v)||"custom"===v&&!(0,x.isEmpty)(S)?(0,u.jsx)("a",{href:"#link-disabled-in-editor",onClick:function(e){return e.preventDefault()},children:e}):e};return(0,T.useGenerateElementId)(p,d,N),(0,T.useDynamicStyle)(d,t,P,N),(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(s.CopyElementToolbar,E({},e)),(0,u.jsx)(a.InspectorControls,{children:(0,u.jsx)(l.PanelTutorial,{title:(0,c.__)("How Post Date works?","gutenverse"),list:[{title:(0,c.__)("Inside Page Editor, Query Loop Block, and on Frontend","gutenverse"),description:(0,c.__)("Date data will be fetched automatically based on the current post/loop.","gutenverse")},{title:(0,c.__)("Inside Site Editor","gutenverse"),description:(0,c.__)("It will load placeholder data.","gutenverse")}]})}),(0,u.jsx)(l.BlockPanelController,{panelList:h,props:e,elementRef:N}),(0,u.jsx)("div",E(E({},D),{},{children:(0,u.jsx)(O,{children:function(){var e,t=null;switch(y){case"custom":m&&(t=m);break;case"F j, Y":case"Y-m-d":case"m/d/Y":case"d/m/Y":case"F j, Y g:i A":case"m/d/Y g:i A":t=y;break;case"ago":t="ago";break;default:t=A||(null===(e=(0,j.getSettings)())||void 0===e?void 0:e.formats.date)}switch(g){case"both":var o=(0,f.getDate)(t,R),n=(0,f.getDate)(t,M);return L(o===n?(0,f.getDate)(t,R):"".concat((0,f.getDate)(t,R)," - Updated on ").concat((0,f.getDate)(t,M)));case"modified":return L((0,f.getDate)(t,M));default:return L((0,f.getDate)(t,R))}}()})}))]})}));function B(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}const A=JSON.parse('{"apiVersion":2,"name":"gutenverse/post-date","class_callback":"\\\\Gutenverse\\\\Block\\\\Post_Date","title":"Post Date","description":"Show the published/modified date of a single post.","category":"gutenverse-post","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"postId":{"type":"string","default":0},"backendPostId":{"type":"string"},"noContentText":{"type":"string","default":"No Content"},"htmlTag":{"type":"string","default":"span"},"dateType":{"type":"string","default":"published"},"dateFormat":{"type":"string","default":"default"},"customFormat":{"type":"string","default":"j F Y"},"linkTo":{"type":"string","default":"none"},"customURL":{"type":"string"},"alignment":{"type":"object","copyStyle":true},"typography":{"type":"object","copyStyle":true},"color":{"type":"object","copyStyle":true},"textShadow":{"type":"object","copyStyle":true,"default":{}},"colorHover":{"type":"object","copyStyle":true},"textShadowHover":{"type":"object","default":{},"copyStyle":true},"background":{"type":"object","copyStyle":true},"backgroundHover":{"type":"object","copyStyle":true},"backgroundTransition":{"type":"object","copyStyle":true,"default":{}},"border":{"type":"object","copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"borderHover":{"type":"object","copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadowHover":{"type":"object","copyStyle":true},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"animation":{"type":"object","copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"positioningType":{"type":"object","copyStyle":true},"positioningWidth":{"type":"object","copyStyle":true},"positioningAlign":{"type":"object","copyStyle":true},"positioningLocation":{"type":"string","copyStyle":true},"positioningLeft":{"type":"object","copyStyle":true},"positioningRight":{"type":"object","copyStyle":true},"positioningTop":{"type":"object","copyStyle":true},"positioningBottom":{"type":"object","copyStyle":true},"transform":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"condition":{"type":"object","default":{}}},"usesContext":["postId","postType","queryId"],"supports":{"className":false},"keywords":["post","date"]}');var H=o(4889),R=A.name,I={icon:(0,u.jsx)(H.UH,{}),edit:D,save:function(e){var t=e.attributes,o=t.elementId,r=(0,b.useAnimationFrontend)(t),i=(0,b.useDisplayFrontend)(t),l=(0,s.classnames)("guten-element","guten-post-date",o,r,i);return(0,u.jsx)("div",function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?B(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):B(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},a.useBlockProps.save({className:l})))}}},4597:(e,t,o)=>{"use strict";o.d(t,{d:()=>d});var n=o(7723),r=o(596),i=function(e){var t=e.showText,o=e.type;return[{id:"showText",label:(0,n.__)("Show Share Text","gutenverse"),description:(0,n.__)("Display custom text beside icon","gutenverse"),component:r.CheckboxControl},{id:"text",show:t,label:(0,n.__)("Share Text","gutenverse"),component:r.TextControl},{id:"selectedIcon",show:"twitter"===o,label:(0,n.__)("Version","gutenverse"),component:r.SelectControl,options:[{label:(0,n.__)("Twitter Bird","gutenverse"),value:"twitter"},{label:(0,n.__)("Twitter X","gutenverse"),value:"x-twitter"}]}]},a=o(6065),s=o(5255);function l(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function c(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?l(Object(o),!0).forEach((function(t){(0,a.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):l(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var p=function(e){var t=e.elementId,o=e.showText,i=e.switcher,a=e.setSwitcher,l=(0,s.getDeviceType)();return[{id:"typography",label:(0,n.__)("Typography","gutenverse"),show:o,component:r.TypographyControl},{id:"iconSize",label:(0,n.__)("Icon Size","gutenverse"),component:r.SizeControl,allowDeviceControl:!0,units:{px:{text:"px",min:1,max:100,step:1},em:{text:"em",min:.1,max:3,step:.1}},liveStyle:[{type:"unitPoint",id:"iconSize",responsive:!0,properties:[{name:"font-size",valueType:"direct"},{name:"width",valueType:"direct"}],selector:".editor-styles-wrapper #".concat(t,".gutenverse-share-item i")}]},{id:"__socialHover",component:r.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__socialHover;return a(c(c({},i),{},{socialHover:t}))}},{id:"iconColor",show:!i.socialHover||"normal"===i.socialHover,label:(0,n.__)("Icon Color","gutenverse"),component:r.ColorControl,liveStyle:[{type:"color",id:"iconColor",selector:".editor-styles-wrapper #".concat(t,".gutenverse-share-item .gutenverse-share-icon i"),properties:[{name:"color",valueType:"direct"}]}]},{id:"iconBackgroundColor",show:!i.socialHover||"normal"===i.socialHover,label:(0,n.__)("Icon Background Color","gutenverse"),component:r.ColorControl,liveStyle:[{type:"color",id:"iconBackgroundColor",selector:".editor-styles-wrapper #".concat(t,".gutenverse-share-item .gutenverse-share-icon"),properties:[{name:"background-color",valueType:"direct"}]}]},{id:"backgroundColor",show:!i.socialHover||"normal"===i.socialHover,label:(0,n.__)("Text Background Color","gutenverse"),component:r.ColorControl,liveStyle:[{type:"color",id:"backgroundColor",selector:".editor-styles-wrapper #".concat(t,".gutenverse-share-item .gutenverse-share-text"),properties:[{name:"background-color",valueType:"direct"}]}]},{id:"textColor",show:!i.socialHover||"normal"===i.socialHover,label:(0,n.__)("Text Color","gutenverse"),component:r.ColorControl,liveStyle:[{type:"color",id:"textColor",selector:".editor-styles-wrapper #".concat(t,".gutenverse-share-item .gutenverse-share-text"),properties:[{name:"color",valueType:"direct"}]}]},{id:"border",show:(!i.socialHover||"normal"===i.socialHover)&&"Desktop"===l,label:(0,n.__)("Border","gutenverse"),component:r.BorderControl,liveStyle:[{type:"border",id:"border",selector:".editor-styles-wrapper #".concat(t,".gutenverse-share-item")}]},{id:"borderResponsive",show:(!i.socialHover||"normal"===i.socialHover)&&"Desktop"!==l,label:(0,n.__)("Border","gutenverse"),component:r.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper #".concat(t,".gutenverse-share-item")}]},{id:"iconColorHover",show:"hover"===i.socialHover,label:(0,n.__)("Icon Color","gutenverse"),component:r.ColorControl,liveStyle:[{type:"color",id:"iconColorHover",selector:".editor-styles-wrapper #".concat(t,".gutenverse-share-item:hover .gutenverse-share-icon i"),properties:[{name:"color",valueType:"direct"}]}]},{id:"iconBackgroundColorHover",show:"hover"===i.socialHover,label:(0,n.__)("Icon Background Color","gutenverse"),component:r.ColorControl,liveStyle:[{type:"color",id:"iconBackgroundColorHover",selector:".editor-styles-wrapper #".concat(t,".gutenverse-share-item:hover .gutenverse-share-icon"),properties:[{name:"background-color",valueType:"direct"}]}]},{id:"backgroundColorHover",show:"hover"===i.socialHover,label:(0,n.__)("Text Background Color","gutenverse"),component:r.ColorControl,liveStyle:[{type:"color",id:"backgroundColorHover",selector:".editor-styles-wrapper #".concat(t,".gutenverse-share-item:hover .gutenverse-share-text"),properties:[{name:"background-color",valueType:"direct"}]}]},{id:"textColorHover",show:"hover"===i.socialHover,label:(0,n.__)("Text Color","gutenverse"),component:r.ColorControl,liveStyle:[{type:"color",id:"textColorHover",selector:".editor-styles-wrapper #".concat(t,".gutenverse-share-item:hover .gutenverse-share-text"),properties:[{name:"color",valueType:"direct"}]}]},{id:"borderHover",show:"hover"===i.socialHover&&"Desktop"===l,label:(0,n.__)("Border","gutenverse"),component:r.BorderControl,liveStyle:[{type:"border",id:"borderHover",selector:".editor-styles-wrapper #".concat(t,".gutenverse-share-item:hover")}]},{id:"borderHoverResponsive",show:"hover"===i.socialHover&&"Desktop"!==l,label:(0,n.__)("Border","gutenverse"),component:r.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"borderHoverResponsive",selector:".editor-styles-wrapper #".concat(t,".gutenverse-share-item:hover")}]},{id:"boxShadow",show:!i.socialHover||"normal"===i.socialHover,label:(0,n.__)("Box Shadow","--gctd--"),component:r.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper #".concat(t,".gutenverse-share-item")}]},{id:"boxShadowHover",show:"hover"===i.socialHover,label:(0,n.__)("Box Shadow","--gctd--"),component:r.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper #".concat(t,".gutenverse-share-item:hover")}]}]},u=function(){return[{id:"iconPading",label:(0,n.__)("Icon Padding","gutenverse"),component:r.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:{px:{text:"px",unit:"px"},"%":{text:"%",unit:"%"}}},{id:"textPading",label:(0,n.__)("Text Padding","gutenverse"),component:r.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:{px:{text:"px",unit:"px"},"%":{text:"%",unit:"%"}}}]},d=function(){return[{title:(0,n.__)("Content","gutenverse"),panelArray:i,initialOpen:!0,tabRole:r.TabSetting},{title:(0,n.__)("Spacing","gutenverse"),panelArray:u,initialOpen:!1,tabRole:r.TabSetting},{title:(0,n.__)("Style","gutenverse"),panelArray:p,initialOpen:!1,tabRole:r.TabStyle},{title:(0,n.__)("Masking","gutenverse"),initialOpen:!1,panelArray:r.maskPanel,tabRole:r.TabStyle},{title:(0,n.__)("Condition","gutenverse"),panelArray:r.conditionPanel,initialOpen:!1,pro:!0}]}},4599:(e,t,o)=>{var n={"./accordion/index.js":5263,"./accordions/index.js":5593,"./advanced-heading/index.js":6109,"./animated-text/index.js":4224,"./archive-title/index.js":2834,"./button/index.js":5069,"./buttons/index.js":6953,"./chart/index.js":7292,"./countdown/index.js":6959,"./divider/index.js":17,"./feature-list/index.js":1004,"./fun-fact/index.js":3258,"./gallery/index.js":8680,"./google-maps/index.js":869,"./heading/index.js":1085,"./icon-box/index.js":9644,"./icon-list-item/index.js":2650,"./icon-list/index.js":9778,"./icon/index.js":864,"./image-box/index.js":4781,"./image/index.js":3119,"./logo-slider/index.js":8675,"./nav-menu/index.js":552,"./popup-builder/index.js":6813,"./popup-container/index.js":2069,"./portfolio-gallery/index.js":4873,"./post-author/index.js":5247,"./post-block/index.js":9682,"./post-comment/index.js":6202,"./post-content/index.js":385,"./post-date/index.js":4548,"./post-excerpt/index.js":2581,"./post-featured-image/index.js":9960,"./post-list/index.js":8449,"./post-terms/index.js":8367,"./post-title/index.js":2064,"./progress-bar/index.js":7761,"./search-result-title/index.js":1938,"./search/index.js":7519,"./social-icon/index.js":589,"./social-icons/index.js":8728,"./social-share/index.js":1289,"./spacer/index.js":8408,"./star-rating/index.js":5157,"./tab/index.js":6689,"./tabs/index.js":4848,"./taxonomy-list/index.js":1613,"./team/index.js":5007,"./testimonials/index.js":8756,"./text-editor/index.js":2379,"./text-paragraph/index.js":1822,"./video/index.js":9826};function r(e){var t=i(e);return o(t)}function i(e){if(!o.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}r.keys=function(){return Object.keys(n)},r.resolve=i,e.exports=r,r.id=4599},4633:(e,t,o)=>{var n=o(5152),r=o(77),i=o(6356),a=o(6521),s=o(8710),l=o(9232),c=o(1327),p=o(4167),u=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(s(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||l(e)||p(e)||i(e)))return!e.length;var t=r(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(c(e))return!n(e).length;for(var o in e)if(u.call(e,o))return!1;return!0}},4715:e=>{"use strict";e.exports=window.wp.blockEditor},4781:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>je,name:()=>Oe,settings:()=>ke});var n=o(8930),r=o(6065),i=o(9491),a=o(6087),s=o(4715),l=o(3482),c=o(7723),p=o(596),u=function(){return[{id:"image",label:(0,c.__)("Image","gutenverse"),component:p.ImageSizeControl},{id:"lazyLoad",label:(0,c.__)("Set Lazy Load","gutenverse"),component:p.CheckboxControl},{id:"imageAlt",label:(0,c.__)("Image Alt","gutenverse"),component:p.TextControl},{id:"ariaLabel",label:(0,c.__)("Aria Label","gutenverse"),component:p.TextControl},{id:"contentStyle",label:(0,c.__)("Content Style","gutenverse"),component:p.SelectControl,options:[{label:(0,c.__)("Default"),value:"default"},{label:(0,c.__)("Floating"),value:"floating"}]}]},d=o(790),y=function(e){var t=e.elementId,o=e.hoverBottom,n=e.titleIcon;return[{id:"titleTag",label:(0,c.__)("Title Tag","gutenverse"),component:p.SelectControl,options:[{label:(0,c.__)("H1"),value:"h1"},{label:(0,c.__)("H2"),value:"h2"},{label:(0,c.__)("H3"),value:"h3"},{label:(0,c.__)("H4"),value:"h4"},{label:(0,c.__)("H5"),value:"h5"},{label:(0,c.__)("H6"),value:"h6"}]},{id:"titleIcon",label:(0,c.__)("Title Icon","gutenverse"),component:p.IconControl},{id:"titleIconPosition",show:void 0!==n&&""!==n,label:(0,c.__)("Title Icon Position","gutenverse"),component:p.SelectControl,options:[{label:(0,c.__)("Before"),value:"before"},{label:(0,c.__)("After"),value:"after"}]},{id:"bodyAlignment",label:(0,c.__)("Body Alignment","gutenverse"),component:p.IconRadioControl,allowDeviceControl:!0,options:[{label:(0,c.__)("Align Left","gutenverse"),value:"left",icon:(0,d.jsx)(l.AlignLeft,{})},{label:(0,c.__)("Align Center","gutenverse"),value:"center",icon:(0,d.jsx)(l.AlignCenter,{})},{label:(0,c.__)("Align Right","gutenverse"),value:"right",icon:(0,d.jsx)(l.AlignRight,{})}]},{id:"hoverBottom",label:(0,c.__)("Enable Hover Border Bottom","gutenverse"),component:p.CheckboxControl},{id:"hoverBottomColor",show:o,label:(0,c.__)("Border Bottom Color","gutenverse"),component:p.ColorControl,liveStyle:[{type:"color",id:"hoverBottomColor",selector:".".concat(t,".gutenverse-image-box .inner-container .border-bottom .animated"),properties:[{name:"background-color",valueType:"direct"}]}]},{id:"hoverBottomDirection",show:o,label:(0,c.__)("Hover Direction","gutenverse"),component:p.SelectControl,options:[{value:"left",label:"From Left"},{value:"right",label:"From Right"}]},{id:"hoverBottomHeight",show:o,label:(0,c.__)("Hover Border Bottom Height","gutenverse"),component:p.SizeControl,allowDeviceControl:!0,units:{px:{text:"px",min:1,max:1e3,step:1},em:{text:"em",min:.1,max:10,step:.1}},liveStyle:[{type:"unitPoint",id:"hoverBottomHeight",responsive:!0,selector:".".concat(t,".gutenverse-image-box .border-bottom, .").concat(t,".gutenverse-image-box .border-bottom .animated "),properties:[{name:"height",valueType:"direct"}]}]}]};function g(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function m(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?g(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):g(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var v=function(e){var t=e.elementId,o=e.switcher,n=e.setSwitcher;return[{id:"imageMargin",label:(0,c.__)("Image Margin","gutenverse"),component:p.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"imagePadding",label:(0,c.__)("Image Padding","gutenverse"),component:p.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"imageBorderRadius",label:(0,c.__)("Border Radius","gutenverse"),component:p.DimensionControl,position:["top","right","bottom","left"],units:(0,r.A)({px:{text:"px",unit:"px"}},"%",{text:"%",unit:"%"})},{id:"imageBoxShadow",label:(0,c.__)("Box Shadow","gutenverse"),component:p.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"imageBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t,".gutenverse-image-box .inner-container .image-box-header")}]},{id:"imageHeight",label:(0,c.__)("Image Height","gutenverse"),component:p.SizeControl,allowDeviceControl:!0,units:{px:{text:"px",min:1,max:1e3,step:1},em:{text:"em",min:.1,max:10,step:.1}},liveStyle:[{type:"unitPoint",id:"imageHeight",responsive:!0,selector:".".concat(t,".gutenverse-image-box .inner-container .image-box-header img"),properties:[{name:"height",valueType:"direct"}]}]},{id:"imageFit",label:(0,c.__)("Image Fit","gutenverse"),component:p.SelectControl,options:[{label:(0,c.__)("Cover","gutenverse"),value:"cover"},{label:(0,c.__)("Contain","gutenverse"),value:"contain"},{label:(0,c.__)("Fil","gutenverse"),value:"fill"},{label:(0,c.__)("Scale Down","gutenverse"),value:"scale-down"},{label:(0,c.__)("None","gutenverse"),value:"none"}]},{id:"__imageHover",component:p.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__imageHover;return n(m(m({},o),{},{imageHover:t}))}},{id:"imageOpacity",show:!o.imageHover||"normal"===o.imageHover,label:(0,c.__)("Image Opacity","gutenverse"),component:p.RangeControl,min:.1,max:1,step:.1,allowDeviceControl:!0,liveStyle:[{type:"plain",id:"imageOpacity",responsive:!0,properties:[{name:"opacity",valueType:"function",functionName:"handleOpacity"}],selector:".".concat(t,".gutenverse-image-box .inner-container .image-box-header img")}]},{id:"imageHoverOpacity",show:"hover"===o.imageHover,label:(0,c.__)("Image Hover Opacity","gutenverse"),component:p.RangeControl,min:.1,max:1,step:.1,allowDeviceControl:!0,liveStyle:[{type:"plain",id:"imageHoverOpacity",responsive:!0,properties:[{name:"opacity",valueType:"function",functionName:"handleOpacity"}],selector:".".concat(t,".gutenverse-image-box:hover .inner-container .image-box-header img")}]},{id:"imageHoverScale",show:"hover"===o.imageHover,label:(0,c.__)("Image Hover Scale","gutenverse"),component:p.RangeControl,min:1,max:2,step:.1,allowDeviceControl:!0,liveStyle:[{type:"plain",id:"imageHoverScale",responsive:!0,properties:[{name:"transform",valueType:"pattern",pattern:" scale({value});\n -webkit-transform: scale({value}); \n -o-transform: scale({value}); \n -moz-transform: scale({value}); \n -ms-transform: scale({value});",patternValues:{value:{type:"direct"}}}],selector:".".concat(t,".gutenverse-image-box:hover .inner-container .image-box-header img")}]},{id:"imageFilter",label:(0,c.__)("Image Filter","gutenverse"),show:!o.imageHover||"normal"===o.imageHover,component:p.ImageFilterControl,liveStyle:[{type:"plain",id:"imageFilter",selector:".".concat(t,".gutenverse-image-box .inner-container .image-box-header img"),properties:[{name:"filter",valueType:"function",functionName:"handleFilterImage"}]}]},{id:"imageFilterHover",label:(0,c.__)("Image Hover Filter","gutenverse"),show:"hover"===o.imageHover,component:p.ImageFilterControl,liveStyle:[{type:"plain",id:"imageFilterHover",selector:".".concat(t,".gutenverse-image-box:hover .inner-container .image-box-header img"),properties:[{name:"filter",valueType:"function",functionName:"handleFilterImage"}]}]}]},h=o(5255),b=function(e){var t=e.elementId,o=(0,h.getDeviceType)();return[{id:"bodyBackground",component:p.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"bodyBackground",selector:".".concat(t,".gutenverse-image-box .inner-container .image-box-body .body-inner")}]},{id:"containerBorder",show:"Desktop"===o,label:(0,c.__)("Border","gutenverse"),component:p.BorderControl,liveStyle:[{type:"border",id:"containerBorder",selector:".".concat(t,".gutenverse-image-box .inner-container .image-box-body .body-inner")}]},{id:"containerBorderResponsive",show:"Desktop"!==o,label:(0,c.__)("Border","gutenverse"),component:p.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"containerBorderResponsive",selector:".".concat(t,".gutenverse-image-box .inner-container .image-box-body .body-inner")}]},{id:"containerPadding",label:(0,c.__)("Padding","gutenverse"),component:p.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,r.A)((0,r.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"}),"rem",{text:"rem",unit:"rem"})},{id:"containerMargin",label:(0,c.__)("Margin","gutenverse"),component:p.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,r.A)((0,r.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"}),"rem",{text:"rem",unit:"rem"})},{id:"containerBoxShadow",label:(0,c.__)("Box Shadow","gutenverse"),component:p.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"containerBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t,".gutenverse-image-box .inner-container .image-box-body .body-inner")}]}]};function f(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function x(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?f(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):f(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var w=function(e){var t=e.elementId,o=e.switcher,n=e.setSwitcher;return[{id:"titleMargin",label:(0,c.__)("Title Margin","gutenverse"),component:p.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"titleTypography",label:(0,c.__)("Title Typography","gutenverse"),component:p.TypographyControl},{id:"titleIconSize",label:(0,c.__)("Icon Font Size","gutenverse"),component:p.RangeControl,min:0,max:200,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"titleIconSize",responsive:!0,selector:".".concat(t,".gutenverse-image-box .inner-container .image-box-body .body-title i"),properties:[{name:"font-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"titleIconSpacing",label:(0,c.__)("Icon Spacing","gutenverse"),component:p.RangeControl,min:0,max:200,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"titleIconSpacing",responsive:!0,selector:".".concat(t,".gutenverse-image-box .inner-container .image-box-body .body-title.icon-position-before i"),properties:[{name:"margin-right",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]},{type:"plain",id:"titleIconSpacing",responsive:!0,selector:".".concat(t,".gutenverse-image-box .inner-container .image-box-body .body-title.icon-position-after i"),properties:[{name:"margin-left",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"__titleHover",component:p.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__titleHover;return n(x(x({},o),{},{titleHover:t}))}},{id:"titleNormalColor",show:!o.titleHover||"normal"===o.titleHover,label:(0,c.__)("Title Color","gutenverse"),component:p.ColorControl,liveStyle:[{type:"color",id:"titleNormalColor",selector:".".concat(t,".gutenverse-image-box .inner-container .image-box-body .body-title, .").concat(t,".gutenverse-image-box .image-box-body .body-title a"),properties:[{name:"color",valueType:"direct"}]}]},{id:"titleNormalIconColor",show:!o.titleHover||"normal"===o.titleHover,label:(0,c.__)("Icon Color","gutenverse"),component:p.ColorControl,liveStyle:[{type:"color",id:"titleNormalIconColor",selector:".".concat(t,".gutenverse-image-box .inner-container .image-box-body .body-title i"),properties:[{name:"color",valueType:"direct"}]}]},{id:"titleHoverColor",show:"hover"===o.titleHover,label:(0,c.__)("Title Hover Color","gutenverse"),component:p.ColorControl,liveStyle:[{type:"color",id:"titleHoverColor",selector:".".concat(t,".gutenverse-image-box:hover .inner-container .image-box-body .body-title, .").concat(t,".gutenverse-image-box:hover .image-box-body .body-title a"),properties:[{name:"color",valueType:"direct"}]}]},{id:"titleHoverIconColor",show:"hover"===o.titleHover,label:(0,c.__)("Icon Hover Color","gutenverse"),component:p.ColorControl,liveStyle:[{type:"color",id:"titleHoverIconColor",selector:".".concat(t,".gutenverse-image-box:hover .inner-container .image-box-body .body-title i"),properties:[{name:"color",valueType:"direct"}]}]}]};function S(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function _(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?S(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):S(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var j=function(e){var t=e.elementId,o=e.switcher,n=e.setSwitcher;return[{id:"descriptionMargin",label:(0,c.__)("Description Margin","gutenverse"),component:p.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"descriptionTypography",label:(0,c.__)("Description Typography","gutenverse"),component:p.TypographyControl},{id:"__descriptionHover",component:p.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__descriptionHover;return n(_(_({},o),{},{descriptionHover:t}))}},{id:"descriptionNormalColor",show:!o.descriptionHover||"normal"===o.descriptionHover,label:(0,c.__)("Description Color","gutenverse"),component:p.ColorControl,liveStyle:[{type:"color",id:"descriptionNormalColor",selector:".".concat(t,".gutenverse-image-box .inner-container .image-box-body .body-inner .body-description"),properties:[{name:"color",valueType:"direct"}]}]},{id:"descriptionHoverColor",show:"hover"===o.descriptionHover,label:(0,c.__)("Description Hover Color","gutenverse"),component:p.ColorControl,liveStyle:[{type:"color",id:"descriptionHoverColor",selector:".".concat(t,".gutenverse-image-box:hover .inner-container .image-box-body .body-inner .body-description"),properties:[{name:"color",valueType:"direct"}]}]}]};function T(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function O(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?T(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):T(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var C=function(e){var t=e.elementId,o=e.switcher,n=e.setSwitcher,r=e.contentStyle;return[{id:"term-notice",show:"floating"!==r,component:p.AlertControl,children:(0,d.jsx)(d.Fragment,{children:(0,d.jsx)("span",{children:(0,c.__)('This Panel Option Only Show If You Choose Image Content Style "Floating"')})})},{id:"floatMarginTop",label:(0,c.__)("Margin Top","gutenverse"),show:"floating"===r,component:p.RangeControl,min:-100,max:100,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"floatMarginTop",responsive:!0,selector:".".concat(t,".gutenverse-image-box.style-floating .inner-container .image-box-body .body-inner"),properties:[{name:"margin-top",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"floatWidth",label:(0,c.__)("Width","gutenverse"),show:"floating"===r,component:p.RangeControl,min:1,max:100,step:1,allowDeviceControl:!0,unit:"%",liveStyle:[{type:"plain",id:"floatWidth",responsive:!0,selector:".".concat(t,".gutenverse-image-box.style-floating .inner-container .image-box-body"),properties:[{name:"width",valueType:"pattern",pattern:"{value}%",patternValues:{value:{type:"direct"}}}]}]},{id:"__imageBoxFloat",component:p.SwitchControl,show:"floating"===r,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__imageBoxFloat;return n(O(O({},o),{},{imageBoxFloat:t}))}},{id:"floatHeight",show:(!o.imageBoxFloat||"normal"===o.imageBoxFloat)&&"floating"===r,label:(0,c.__)("Normal Height","gutenverse"),component:p.RangeControl,min:1,max:500,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"floatHeight",responsive:!0,selector:".".concat(t,".gutenverse-image-box.style-floating .inner-container .image-box-body .body-inner"),properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"floatHeightHover",show:"hover"===o.imageBoxFloat&&"floating"===r,label:(0,c.__)("Hover Height","gutenverse"),component:p.RangeControl,min:1,max:500,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"floatHeightHover",responsive:!0,selector:".".concat(t,".gutenverse-image-box.style-floating:hover .inner-container .image-box-body .body-inner"),properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]}]},k=function(){return[{id:"childNotice",component:p.AlertControl,children:(0,d.jsx)(d.Fragment,{children:(0,d.jsx)("span",{children:(0,c.__)("If you include a button within this block, the body link feature will be disabled. This is because you cannot have a link inside another link.")})})},{id:"includeButton",label:(0,c.__)("Enable button","gutenverse"),description:(0,c.__)("Add button on the image body, the body link feature will be disabled."),component:p.CheckboxControl},{id:"imagePosition",label:(0,c.__)("Image Position","gutenverse"),component:p.SelectControl,allowDeviceControl:!0,options:[{label:"Top",value:"column"},{label:"Bottom",value:"column-reverse"},{label:"Left",value:"row"},{label:"Right",value:"row-reverse"}]}]},P=o(2619);function N(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function E(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?N(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):N(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var D=function(e){return(0,P.applyFilters)("gutenverse.dynamic-content-options",[{component:p.LockedDynamicContentControl}],E(E({},e),{},{blockType:"image"}))};function B(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function A(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?B(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):B(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var H=function(){return[{title:(0,c.__)("Wrapper","gutenverse"),panelArray:k,initialOpen:!1,tabRole:p.TabSetting},{title:(0,c.__)("Image","gutenverse"),panelArray:u,initialOpen:!1,tabRole:p.TabSetting},{title:(0,c.__)("Body","gutenverse"),panelArray:y,initialOpen:!1,tabRole:p.TabSetting},{title:(0,c.__)("Dynamic Image Data","gutenverse"),panelArray:D,initialOpen:!1,tabRole:p.TabSetting,pro:!0},{title:(0,c.__)("Dynamic Data","gutenverse"),panelArray:function(e){return(0,p.dynamicContentPanel)(A(A({},e),{},{blockType:"text",arrOfTextChilds:["titleDynamicList","descriptionDynamicList"]}))},initialOpen:!1,tabRole:p.TabSetting,pro:!0},{title:(0,c.__)("Image Style","gutenverse"),panelArray:v,initialOpen:!1,tabRole:p.TabStyle},{title:(0,c.__)("Highlight Style","gutenverse"),panelArray:function(e){return(0,p.childStylePanel)(A(A({},e),{},{arrOfTextChilds:["titleChilds","descriptionChilds"]}))},tabRole:p.TabStyle,pro:!0},{title:(0,c.__)("Body Style","gutenverse"),panelArray:b,initialOpen:!1,tabRole:p.TabStyle},{title:(0,c.__)("Title Style","gutenverse"),panelArray:w,initialOpen:!1,tabRole:p.TabStyle},{title:(0,c.__)("Description Style","gutenverse"),panelArray:j,initialOpen:!1,tabRole:p.TabStyle},{title:(0,c.__)("Floating","gutenverse"),panelArray:C,initialOpen:!1,tabRole:p.TabStyle},{title:(0,c.__)("Background","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,p.backgroundPanel)(A(A({},e),{},{styleId:"image-box-background",normalOptions:["default","gradient"],hoverOptions:["default","gradient"]}))},tabRole:p.TabStyle},{title:(0,c.__)("Border","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,p.borderPanel)(A(A({},e),{},{styleId:"image-box-border"}))},tabRole:p.TabStyle},{title:(0,c.__)("Masking","gutenverse"),initialOpen:!1,panelArray:p.maskPanel,tabRole:p.TabStyle},{title:(0,c.__)("Display","gutenverse"),initialOpen:!1,panelArray:p.responsivePanel,tabRole:p.TabSetting},{title:(0,c.__)("Positioning","gutenverse"),initialOpen:!1,panelArray:p.positioningPanel,tabRole:p.TabSetting},{title:(0,c.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,p.animationPanel)(A(A({},e),{},{styleId:"image-box-animation"}))},tabRole:p.TabSetting},{title:(0,c.__)("Transform","gutenverse"),initialOpen:!1,panelArray:p.transformPanel,pro:!0},{title:(0,c.__)("Mouse Move Effect","gutenverse"),initialOpen:!1,panelArray:p.mouseMoveEffectPanel,tabRole:p.TabSetting,pro:!0},{title:(0,c.__)("Advanced Animation","gutenverse"),initialOpen:!1,panelAdvance:!0,panelArray:function(e){return(0,p.advanceAnimationPanel)(A(A({},e),{},{blockType:"image-box"}))},pro:!0},{title:(0,c.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,p.advancePanel)(A(A({},e),{},{styleId:"image-box-advance"}))},tabRole:p.TabSetting},{title:(0,c.__)("Condition","gutenverse"),panelArray:p.conditionPanel,initialOpen:!1,pro:!0}]},R=o(6427),I=o(2774),M=o(4968),L=o(2188),z=o(6826),F=o(7143),V=o(8468),W=o(1222),G=o(4320),U=o(4404);const q=function(e,t){var o=[];return o=function(e,t,o){return(0,W.isNotEmpty)(t.bodyBackground)&&o.push({type:"background",id:"bodyBackground",selector:".".concat(e,".gutenverse-image-box .inner-container .image-box-body .body-inner")}),(0,W.isNotEmpty)(t.containerBorder)&&o.push({type:"border",id:"containerBorder",selector:".".concat(e,".gutenverse-image-box .inner-container .image-box-body .body-inner")}),(0,W.isNotEmpty)(t.containerBorderResponsive)&&o.push({type:"borderResponsive",id:"containerBorderResponsive",selector:".".concat(e,".gutenverse-image-box .inner-container .image-box-body .body-inner")}),(0,W.isNotEmpty)(t.containerMargin)&&o.push({type:"dimension",id:"containerMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e,".gutenverse-image-box .inner-container .image-box-body .body-inner")}),(0,W.isNotEmpty)(t.containerPadding)&&o.push({type:"dimension",id:"containerPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e,".gutenverse-image-box .inner-container .image-box-body .body-inner")}),(0,W.isNotEmpty)(t.containerBoxShadow)&&o.push({type:"boxShadow",id:"containerBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e,".gutenverse-image-box .inner-container .image-box-body .body-inner")}),(0,W.isNotEmpty)(t.bodyAlignment)&&o.push({type:"plain",id:"bodyAlignment",responsive:!0,properties:[{name:"text-align",valueType:"direct"}],selector:".".concat(e,".gutenverse-image-box .inner-container .image-box-body .body-inner")}),(0,W.isNotEmpty)(t.hoverBottomColor)&&o.push({type:"color",id:"hoverBottomColor",selector:".".concat(e,".gutenverse-image-box .inner-container .border-bottom .animated"),properties:[{name:"background-color",valueType:"direct"}]}),(0,W.isNotEmpty)(t.hoverBottomHeight)&&o.push({type:"unitPoint",id:"hoverBottomHeight",responsive:!0,selector:".".concat(e,".gutenverse-image-box .border-bottom, .").concat(e,".gutenverse-image-box .border-bottom .animated "),properties:[{name:"height",valueType:"direct"}]}),o}(e,t,o),o=function(e,t,o){return(0,W.isNotEmpty)(t.descriptionMargin)&&o.push({type:"dimension",id:"descriptionMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e,".gutenverse-image-box .inner-container .image-box-body .body-inner .body-description")}),(0,W.isNotEmpty)(t.descriptionTypography)&&o.push({type:"typography",id:"descriptionTypography",selector:".".concat(e,".gutenverse-image-box .inner-container .image-box-body .body-inner .body-description")}),(0,W.isNotEmpty)(t.descriptionNormalColor)&&o.push({type:"color",id:"descriptionNormalColor",selector:".".concat(e,".gutenverse-image-box .inner-container .image-box-body .body-inner .body-description"),properties:[{name:"color",valueType:"direct"}]}),(0,W.isNotEmpty)(t.descriptionHoverColor)&&o.push({type:"color",id:"descriptionHoverColor",selector:".".concat(e,".gutenverse-image-box:hover .inner-container .image-box-body .body-inner .body-description"),properties:[{name:"color",valueType:"direct"}]}),o}(e,t,o),o=function(e,t,o){return(0,W.isNotEmpty)(t.floatMarginTop)&&o.push({type:"plain",id:"floatMarginTop",responsive:!0,selector:".".concat(e,".gutenverse-image-box.style-floating .inner-container .image-box-body .body-inner"),properties:[{name:"margin-top",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,W.isNotEmpty)(t.floatWidth)&&o.push({type:"plain",id:"floatWidth",responsive:!0,selector:".".concat(e,".gutenverse-image-box.style-floating .inner-container .image-box-body"),properties:[{name:"width",valueType:"pattern",pattern:"{value}%",patternValues:{value:{type:"direct"}}}]}),(0,W.isNotEmpty)(t.floatHeight)&&o.push({type:"plain",id:"floatHeight",responsive:!0,selector:".".concat(e,".gutenverse-image-box.style-floating .inner-container .image-box-body .body-inner"),properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,W.isNotEmpty)(t.floatHeightHover)&&o.push({type:"plain",id:"floatHeightHover",responsive:!0,selector:".".concat(e,".gutenverse-image-box.style-floating:hover .inner-container .image-box-body .body-inner"),properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),o}(e,t,o),o=function(e,t,o){return(0,W.isNotEmpty)(t.imageMargin)&&o.push({type:"dimension",id:"imageMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e,".gutenverse-image-box .inner-container .image-box-header")}),(0,W.isNotEmpty)(t.imagePadding)&&o.push({type:"dimension",id:"imagePadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e,".gutenverse-image-box .inner-container .image-box-header")}),(0,W.isNotEmpty)(t.imageBorderRadius)&&o.push({type:"dimension",id:"imageBorderRadius",properties:[{name:"border-radius",valueType:"direct",multiDimension:!1}],selector:".".concat(e,".gutenverse-image-box .inner-container .image-box-header")}),(0,W.isNotEmpty)(t.imageBoxShadow)&&o.push({type:"boxShadow",id:"imageBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e,".gutenverse-image-box .inner-container .image-box-header")}),(0,W.isNotEmpty)(t.imageHeight)&&o.push({type:"unitPoint",id:"imageHeight",responsive:!0,selector:".".concat(e,".gutenverse-image-box .inner-container .image-box-header img"),properties:[{name:"height",valueType:"direct"}]}),(0,W.isNotEmpty)(t.imageFit)&&o.push({type:"plain",id:"imageFit",properties:[{name:"object-fit",valueType:"direct"}],selector:".".concat(e,".gutenverse-image-box .inner-container .image-box-header img")}),(0,W.isNotEmpty)(t.imageOpacity)&&o.push({type:"plain",id:"imageOpacity",responsive:!0,properties:[{name:"opacity",valueType:"function",functionName:"handleOpacity"}],selector:".".concat(e,".gutenverse-image-box .inner-container .image-box-header img")}),(0,W.isNotEmpty)(t.imageHoverOpacity)&&o.push({type:"plain",id:"imageHoverOpacity",responsive:!0,properties:[{name:"opacity",valueType:"function",functionName:"handleOpacity"}],selector:".".concat(e,".gutenverse-image-box:hover .inner-container .image-box-header img")}),(0,W.isNotEmpty)(t.imageHoverScale)&&o.push({type:"plain",id:"imageHoverScale",responsive:!0,properties:[{name:"transform",valueType:"pattern",pattern:" scale({value});\n -webkit-transform: scale({value}); \n -o-transform: scale({value}); \n -moz-transform: scale({value}); \n -ms-transform: scale({value});",patternValues:{value:{type:"direct"}}}],selector:".".concat(e,".gutenverse-image-box:hover .inner-container .image-box-header img")}),(0,W.isNotEmpty)(t.imageFilter)&&o.push({type:"plain",id:"imageFilter",selector:".".concat(e,".gutenverse-image-box .inner-container .image-box-header img"),properties:[{name:"filter",valueType:"function",functionName:"handleFilterImage"}]}),(0,W.isNotEmpty)(t.imageFilterHover)&&o.push({type:"plain",id:"imageFilterHover",selector:".".concat(e,".gutenverse-image-box:hover .inner-container .image-box-header img"),properties:[{name:"filter",valueType:"function",functionName:"handleFilterImage"}]}),o}(e,t,o),o=function(e,t,o){return(0,W.isNotEmpty)(t.titleMargin)&&o.push({type:"dimension",id:"titleMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e,".gutenverse-image-box .inner-container .image-box-body .body-title")}),(0,W.isNotEmpty)(t.titleTypography)&&o.push({type:"typography",id:"titleTypography",selector:".".concat(e,".gutenverse-image-box .inner-container .image-box-body .body-title")}),(0,W.isNotEmpty)(t.titleIconSize)&&o.push({type:"plain",id:"titleIconSize",responsive:!0,selector:".".concat(e,".gutenverse-image-box .inner-container .image-box-body .body-title i"),properties:[{name:"font-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,W.isNotEmpty)(t.titleIconSpacing)&&o.push({type:"plain",id:"titleIconSpacing",responsive:!0,selector:".".concat(e,".gutenverse-image-box .inner-container .image-box-body .body-title.icon-position-before i"),properties:[{name:"margin-right",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,W.isNotEmpty)(t.titleIconSpacing)&&o.push({type:"plain",id:"titleIconSpacing",responsive:!0,selector:".".concat(e,".gutenverse-image-box .inner-container .image-box-body .body-title.icon-position-after i"),properties:[{name:"margin-left",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,W.isNotEmpty)(t.titleNormalColor)&&o.push({type:"color",id:"titleNormalColor",selector:".".concat(e,".gutenverse-image-box .inner-container .image-box-body .body-title, .").concat(e,".gutenverse-image-box .image-box-body .body-title a"),properties:[{name:"color",valueType:"direct"}]}),(0,W.isNotEmpty)(t.titleNormalIconColor)&&o.push({type:"color",id:"titleNormalIconColor",selector:".".concat(e,".gutenverse-image-box .inner-container .image-box-body .body-title i"),properties:[{name:"color",valueType:"direct"}]}),(0,W.isNotEmpty)(t.titleHoverColor)&&o.push({type:"color",id:"titleHoverColor",selector:".".concat(e,".gutenverse-image-box:hover .inner-container .image-box-body .body-title, .").concat(e,".gutenverse-image-box:hover .image-box-body .body-title a"),properties:[{name:"color",valueType:"direct"}]}),(0,W.isNotEmpty)(t.titleHoverIconColor)&&o.push({type:"color",id:"titleHoverIconColor",selector:".".concat(e,".gutenverse-image-box:hover .inner-container .image-box-body .body-title i"),properties:[{name:"color",valueType:"direct"}]}),o}(e,t,o),o=function(e,t,o){return(0,W.isNotEmpty)(t.imagePosition)&&o.push({type:"plain",id:"imagePosition",responsive:!0,properties:[{name:"flex-direction",valueType:"direct"}],selector:".".concat(e,".gutenverse-image-box .inner-container")}),o}(e,t,o),o=(0,p.backgroundStyle)({attributes:t,data:o,elementId:e}),(0,W.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,W.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,W.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,W.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,W.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,W.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,W.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,W.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,W.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,W.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,W.isNotEmpty)(t.animation)&&(0,W.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,W.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,W.isNotEmpty)(t.positioningType)&&(0,W.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,W.isNotEmpty)(t.positioningWidth)&&(0,W.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,W.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,W.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,W.isNotEmpty)(t.positioningLeft)&&(0,W.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,W.isNotEmpty)(t.positioningRight)&&(0,W.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,W.isNotEmpty)(t.positioningTop)&&(0,W.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,W.isNotEmpty)(t.positioningBottom)&&(0,W.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),[].concat((0,U.A)(o),(0,U.A)((0,P.applyFilters)("gutenverse.image-box.blockStyle",[],{elementId:e,attributes:t})))};function $(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Y(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?$(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):$(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var X="noreferrer noopener",J=function(e){var t=e.image,o=e.imageAlt,n=e.lazyLoad,r=t||{},i=r.media,a=void 0===i?{}:i,s=r.size,l=a||{},c=l.imageId,p=l.sizes,u=void 0===p?{}:p,y=o||null,g=function(){return(0,d.jsx)("img",Y({className:"gutenverse-image-box-empty",src:M.imagePlaceholder,alt:y},n&&{loading:"lazy"}))};if((0,V.isEmpty)(u))return g();var m=u[s];if((0,V.isEmpty)(m)){if((0,V.isEmpty)(u.full))return g();m=u.full}return c&&m?(0,d.jsx)("img",Y({className:"gutenverse-image-box-filled",src:m.url,height:m.height,width:m.width,alt:y},n&&{loading:"lazy"})):g()},Q=function(e){var t=e.attributes,o=void 0===t?{}:t,n=e.setAttributes,r=e.children,i=o.image,a=(void 0===i?{}:i).media,l=(void 0===a?{}:a).imageId;return(0,d.jsx)(s.MediaUploadCheck,{children:(0,d.jsx)(s.MediaUpload,{onSelect:function(e){n({image:{media:{imageId:e.id,sizes:e.sizes},size:"full"}})},allowedTypes:["image"],value:l,render:r})})},Z=function(e){var t=e.setAttributes,o=e.attributes,n=e.clientId,r=e.setPanelState,i=(0,F.useSelect)((function(e){return e("core/block-editor")}),[]).getBlocks,p=(0,F.dispatch)("core/block-editor").updateBlockAttributes,u=o.titleTag,y=o.titleIconPosition,g=o.titleIcon,m=o.hoverBottom,v=o.hoverBottomDirection,h=o.url,b=o.rel,f=o.linkTarget,x=o.separateButtonLink,w=o.includeButton,S=void 0!==h&&""!==h,_=(0,F.useSelect)((function(e){var t=e("core/block-editor").getBlock(n);return t&&t.innerBlocks.length>0}),[n]),j=(0,F.useSelect)((function(e){var t,o=e("core/block-editor").getBlock(n);return o&&(null===(t=o.innerBlocks[0])||void 0===t?void 0:t.attributes.url)}),[n]);(0,a.useEffect)((function(){t({hasInnerBlocks:_,separateButtonLink:_,buttonUrl:j,hasGlobalLink:S||!1})}),[_,j,S]);var T=(0,s.useBlockProps)({className:(0,l.classnames)("button-wrapper")}),O=(0,s.useInnerBlocksProps)(T,{template:[["gutenverse/button"]],allowedBlocks:["gutenverse/button"]});return(0,a.useEffect)((function(){!x&&i(n).map((function(e){p(e.clientId,{url:h,rel:b,linkTarget:f})}))}),[h,b,f,x]),(0,d.jsx)("div",{className:"image-box-body",children:(0,d.jsxs)("div",{className:"body-inner",children:[(0,d.jsxs)(u,{className:(0,l.classnames)("body-title","icon-position-".concat(y)),children:["before"===y&&""!==g&&(0,d.jsx)("i",{className:g}),(0,d.jsx)(l.RichTextComponent,{tagName:"span","aria-label":(0,c.__)("Image Box Title","gutenverse"),placeholder:(0,c.__)("Image Box Title","gutenverse"),onChange:function(e){return t({title:e})},multiline:!1,setAttributes:t,attributes:o,clientId:n,panelDynamic:{panel:"setting",section:4},panelPosition:{panel:"style",section:1},contentAttribute:"title",setPanelState:r,textChilds:"titleChilds",dynamicList:"titleDynamicList",isUseDinamic:!0,isUseHighlight:!0,parentHasLink:S}),"after"===y&&""!==g&&(0,d.jsx)("i",{className:g})]}),(0,d.jsx)(l.RichTextComponent,{classNames:"body-description",tagName:"p","aria-label":(0,c.__)("Image Box Description","gutenverse"),placeholder:(0,c.__)("Image Box Description","gutenverse"),onChange:function(e){return t({description:e})},multiline:!1,setAttributes:t,attributes:o,clientId:n,panelDynamic:{panel:"setting",section:4},panelPosition:{panel:"style",section:1},contentAttribute:"description",setPanelState:r,textChilds:"descriptionChilds",dynamicList:"descriptionDynamicList",isUseDinamic:!0,isUseHighlight:!0,parentHasLink:S}),w&&(0,d.jsx)("div",Y({},O)),m&&(0,d.jsx)("div",{className:"border-bottom",children:(0,d.jsx)("div",{className:"animated ".concat(v)})})]})})},K=(0,i.compose)(L.withPartialRender,L.withPassRef,(0,L.withAnimationAdvanceV2)("image-box"),L.withMouseMoveEffect)((function(e){var t=e.attributes,o=e.setAttributes,r=e.isSelected,i=e.clientId,u=e.setBlockRef,y=t.elementId,g=t.url,m=t.rel,v=t.linkTarget,h=t.contentStyle,b=t.dynamicUrl,f=(0,W.useRichTextParameter)(),x=f.panelState,w=f.setPanelState,S=f.setPanelIsClicked,_=f.panelIsClicked;(0,I.FilterDynamic)(e),(0,I.HighLightToolbar)(e);var j=(0,a.useRef)(),T=(0,z.useAnimationEditor)(t),O=(0,z.useDisplayEditor)(t),C=(0,a.useState)(),k=(0,n.A)(C,2),N=k[0],E=k[1];(0,P.applyFilters)("gutenverse.pro.dynamic.toolbar"),(0,G.useGenerateElementId)(i,y,j),(0,G.useDynamicStyle)(y,t,q,j),(0,G.useDynamicScript)(j);var D=(0,s.useBlockProps)({className:(0,l.classnames)(y,T,O,"gutenverse-image-box","guten-element","no-margin","style-".concat(h)),ref:j}),B=(0,a.useCallback)((function(e){var t=e?"_blank":void 0,n=m;t&&!m?n=X:t||m!==X||(n=void 0),o({linkTarget:t,rel:n})}),[m,o]),A={panel:"setting",section:3};return(0,a.useEffect)((function(){var e=(0,V.isEmpty)(b)||!(0,W.isOnEditor)()?b:(0,P.applyFilters)("gutenverse.dynamic.fetch-url",b);"function"==typeof e.then&&!(0,V.isEmpty)(b)&&e.then((function(e){(!Array.isArray(e)||e.length>0)&&void 0!==e&&e!==N?E(e):e!==N&&E(void 0)})).catch((function(){})),o(void 0!==N?{url:N,isDynamic:!0}:{url:g})}),[b,N]),(0,a.useEffect)((function(){j&&u(j)}),[j]),(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(l.CopyElementToolbar,Y({},e)),(0,d.jsx)(s.BlockControls,{children:(0,d.jsxs)(R.ToolbarGroup,{children:[(0,P.applyFilters)("gutenverse.button.url-toolbar",(0,d.jsx)(I.URLToolbar,{url:g,setAttributes:o,isSelected:r,opensInNewTab:"_blank"===v,onToggleOpenInNewTab:B,anchorRef:D.ref,usingDynamic:!0,setPanelState:w,panelState:A,title:"Item Link",panelIsClicked:_,setPanelIsClicked:S}),e,A),(0,d.jsx)(Q,Y(Y({},e),{},{children:function(e){var t=e.open;return(0,d.jsx)(R.ToolbarButton,{name:"pick",icon:(0,d.jsx)(l.Image,{style:{color:"#000",fill:"#fff"}}),title:(0,c.__)("Change Image","gutenverse"),onClick:t})}}))]})}),(0,d.jsx)(p.BlockPanelController,{panelList:H,props:e,elementRef:j,panelState:x,setPanelIsClicked:S}),(0,d.jsx)("div",Y(Y({},D),{},{children:(0,d.jsxs)("div",{className:"inner-container",children:[(0,d.jsx)("div",{className:"image-box-header",children:(0,d.jsx)(J,Y({},t))}),(0,d.jsx)(Z,Y(Y({},e),{},{setPanelState:w}))]})}))]})}));const ee=K;function te(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function oe(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?te(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):te(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var ne=function(e){var t=e.attributes,o=e.children,n=t.url,r=t.linkTarget,i=t.rel,a=t.buttonClass,s=void 0===a?"":a,l=t.ariaLabel,c=t.elementId;if(void 0!==n&&""!==n){var p=(0,P.applyFilters)("gutenverse.dynamic.generate-url",n,"dynamicUrl",t,c);return(0,d.jsx)("a",{className:s,href:p,target:r,"aria-label":l,rel:i,children:o})}return o},re=(0,i.compose)((0,L.withAnimationAdvanceScript)("image-box"),L.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,n=t.contentStyle,r=t.titleTag,i=t.title,a=t.titleIconPosition,c=t.description,p=t.titleIcon,u=t.hoverBottom,y=t.hoverBottomDirection,g=t.hasInnerBlocks,m=t.includeButton,v=t.buttonUrl,h=(0,z.useAnimationAdvanceData)(t),b=(0,z.useAnimationFrontend)(t),f=(0,z.useDisplayFrontend)(t),x=(0,l.classnames)(o,b,f,"guten-image-box","guten-element","style-".concat(n)),w=function(){return(0,d.jsxs)("div",{className:"inner-container",children:[(0,d.jsx)("div",{className:"image-box-header",children:v?(0,d.jsx)("a",{href:v,children:(0,d.jsx)(J,oe({},t))}):(0,d.jsx)(J,oe({},t))}),(0,d.jsx)("div",{className:"image-box-body",children:(0,d.jsxs)("div",{className:"body-inner",children:[i&&(0,d.jsxs)(r,{className:(0,l.classnames)("body-title","icon-position-".concat(a)),children:["before"===a&&""!==p&&(0,d.jsx)("i",{className:p}),(0,d.jsx)(s.RichText.Content,{value:i,tagName:"span"}),"after"===a&&""!==p&&(0,d.jsx)("i",{className:p})]}),c&&(0,d.jsx)(s.RichText.Content,{className:"body-description",value:c,tagName:"p"}),m&&(0,d.jsx)(s.InnerBlocks.Content,{}),u&&(0,d.jsx)("div",{className:"border-bottom",children:(0,d.jsx)("div",{className:"animated ".concat(y)})})]})})]})};return(0,d.jsx)("div",oe(oe({},s.useBlockProps.save(oe({className:x},h))),{},{children:g&&m?(0,d.jsx)(w,{}):(0,d.jsx)(ne,oe(oe({},e),{},{children:(0,d.jsx)(w,{})}))}))}));const ie=re;function ae(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function se(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ae(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ae(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var le=function(e){var t=e.image,o=e.imageAlt,n=e.lazyLoad,r=t||{},i=r.media,a=void 0===i?{}:i,s=r.size,l=a||{},c=l.imageId,p=l.sizes,u=void 0===p?{}:p,y=o||null,g=function(){return n?(0,d.jsx)("img",{className:"gutenverse-image-box-empty",src:M.oldImagePlaceholder,alt:y,loading:"lazy"}):(0,d.jsx)("img",{className:"gutenverse-image-box-empty",src:M.oldImagePlaceholder,alt:y})};if((0,V.isEmpty)(u))return g();var m=u[s];if((0,V.isEmpty)(m)){if((0,V.isEmpty)(u.full))return g();m=u.full}return c&&m?n?(0,d.jsx)("img",{className:"gutenverse-image-box-filled",src:m.url,height:m.height,width:m.width,alt:y,loading:"lazy"}):(0,d.jsx)("img",{className:"gutenverse-image-box-filled",src:m.url,height:m.height,width:m.width,alt:y}):g()},ce=function(e){var t=e.attributes,o=e.children,n=t.url,r=t.linkTarget,i=t.rel,a=t.buttonClass,s=void 0===a?"":a,l=t.ariaLabel;return void 0!==n&&""!==n?(0,d.jsx)("a",{className:s,href:n,target:r,rel:i,"aria-label":l,children:o}):o},pe=(0,i.compose)((0,L.withAnimationAdvanceScript)("image-box"))((function(e){var t=e.attributes,o=t.elementId,n=t.contentStyle,r=t.titleTag,i=t.title,a=t.titleIconPosition,c=t.description,p=t.titleIcon,u=t.hoverBottom,y=t.hoverBottomDirection,g=(0,z.useAnimationAdvanceData)(t),m=(0,z.useAnimationFrontend)(t),v=(0,z.useDisplayFrontend)(t),h=(0,l.classnames)(o,m,v,"gutenverse-image-box","guten-element","style-".concat(n));return(0,d.jsxs)("div",se(se({className:h},g),{},{children:[(0,d.jsx)("div",{className:"image-box-header",children:(0,d.jsx)(ce,se(se({},e),{},{children:(0,d.jsx)(le,se({},t))}))}),(0,d.jsx)("div",{className:"image-box-body",children:(0,d.jsxs)("div",{className:"body-inner",children:[(0,d.jsx)(r,{className:(0,l.classnames)("body-title","icon-position-".concat(a)),children:(0,d.jsxs)(ce,se(se({},e),{},{children:["before"===a&&""!==p&&(0,d.jsx)("i",{className:p}),(0,d.jsx)(s.RichText.Content,{value:i,tagName:"span"}),"after"===a&&""!==p&&(0,d.jsx)("i",{className:p})]}))}),(0,d.jsx)(s.RichText.Content,{className:"body-description",value:c,tagName:"p"}),(0,d.jsx)(s.InnerBlocks.Content,{}),u&&(0,d.jsx)("div",{className:"border-bottom",children:(0,d.jsx)("div",{className:"animated ".concat(y)})})]})})]}))}));const ue=pe;function de(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function ye(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?de(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):de(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var ge=function(e){var t=e.image,o=e.imageAlt,n=e.lazyLoad,r=t||{},i=r.media,a=void 0===i?{}:i,s=r.size,l=a||{},c=l.imageId,p=l.sizes,u=void 0===p?{}:p,y=o||null,g=function(){return n?(0,d.jsx)("img",{className:"gutenverse-image-box-empty",src:M.oldImagePlaceholder,alt:y,loading:"lazy"}):(0,d.jsx)("img",{className:"gutenverse-image-box-empty",src:M.oldImagePlaceholder,alt:y})};if((0,V.isEmpty)(u))return g();var m=u[s];if((0,V.isEmpty)(m)){if((0,V.isEmpty)(u.full))return g();m=u.full}return c&&m?n?(0,d.jsx)("img",{className:"gutenverse-image-box-filled",src:m.url,height:m.height,width:m.width,alt:y,loading:"lazy"}):(0,d.jsx)("img",{className:"gutenverse-image-box-filled",src:m.url,height:m.height,width:m.width,alt:y}):g()},me=function(e){var t=e.attributes,o=e.children,n=t.url,r=t.linkTarget,i=t.rel,a=t.buttonClass,s=void 0===a?"":a,l=t.ariaLabel,c=t.elementId;if(void 0!==n&&""!==n){var p=(0,P.applyFilters)("gutenverse.dynamic.generate-url",n,"dynamicUrl",t,c);return(0,d.jsx)("a",{className:s,href:p,target:r,"aria-label":l,rel:i,children:o})}return o},ve=(0,i.compose)((0,L.withAnimationAdvanceScript)("image-box"),L.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,n=t.contentStyle,r=t.titleTag,i=t.title,a=t.titleIconPosition,c=t.description,p=t.titleIcon,u=t.hoverBottom,y=t.hoverBottomDirection,g=(0,z.useAnimationAdvanceData)(t),m=(0,z.useAnimationFrontend)(t),v=(0,z.useDisplayFrontend)(t),h=(0,l.classnames)(o,m,v,"gutenverse-image-box","guten-element","style-".concat(n));return(0,d.jsx)("div",ye(ye({className:h},g),{},{children:(0,d.jsxs)("div",{className:"inner-container",children:[(0,d.jsx)("div",{className:"image-box-header",children:(0,d.jsx)(me,ye(ye({},e),{},{children:(0,d.jsx)(ge,ye({},t))}))}),(0,d.jsx)("div",{className:"image-box-body",children:(0,d.jsxs)("div",{className:"body-inner",children:[i&&(0,d.jsx)(r,{className:(0,l.classnames)("body-title","icon-position-".concat(a)),children:(0,d.jsxs)(me,ye(ye({},e),{},{children:["before"===a&&""!==p&&(0,d.jsx)("i",{className:p}),(0,d.jsx)(s.RichText.Content,{value:i,tagName:"span"}),"after"===a&&""!==p&&(0,d.jsx)("i",{className:p})]}))}),c&&(0,d.jsx)(s.RichText.Content,{className:"body-description",value:c,tagName:"p"}),(0,d.jsx)(s.InnerBlocks.Content,{}),u&&(0,d.jsx)("div",{className:"border-bottom",children:(0,d.jsx)("div",{className:"animated ".concat(y)})})]})})]})}))}));const he=ve;function be(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function fe(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?be(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):be(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var xe=function(e){var t=e.image,o=e.imageAlt,n=e.lazyLoad,r=t||{},i=r.media,a=void 0===i?{}:i,s=r.size,l=a||{},c=l.imageId,p=l.sizes,u=void 0===p?{}:p,y=o||null,g=function(){return n?(0,d.jsx)("img",{className:"gutenverse-image-box-empty",src:M.imagePlaceholder,alt:y,loading:"lazy"}):(0,d.jsx)("img",{className:"gutenverse-image-box-empty",src:M.imagePlaceholder,alt:y})};if((0,V.isEmpty)(u))return g();var m=u[s];if((0,V.isEmpty)(m)){if((0,V.isEmpty)(u.full))return g();m=u.full}return c&&m?n?(0,d.jsx)("img",{className:"gutenverse-image-box-filled",src:m.url,height:m.height,width:m.width,alt:y,loading:"lazy"}):(0,d.jsx)("img",{className:"gutenverse-image-box-filled",src:m.url,height:m.height,width:m.width,alt:y}):g()},we=function(e){var t=e.attributes,o=e.children,n=t.url,r=t.linkTarget,i=t.rel,a=t.buttonClass,s=void 0===a?"":a,l=t.ariaLabel,c=t.elementId;if(void 0!==n&&""!==n){var p=(0,P.applyFilters)("gutenverse.dynamic.generate-url",n,"dynamicUrl",t,c);return(0,d.jsx)("a",{className:s,href:p,target:r,"aria-label":l,rel:i,children:o})}return o},Se=(0,i.compose)((0,L.withAnimationAdvanceScript)("image-box"),L.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,n=t.contentStyle,r=t.titleTag,i=t.title,a=t.titleIconPosition,c=t.description,p=t.titleIcon,u=t.hoverBottom,y=t.hoverBottomDirection,g=t.hasInnerBlocks,m=t.includeButton,v=(0,z.useAnimationAdvanceData)(t),h=(0,z.useAnimationFrontend)(t),b=(0,z.useDisplayFrontend)(t),f=(0,l.classnames)(o,h,b,"guten-image-box","guten-element","style-".concat(n)),x=function(){return(0,d.jsxs)("div",{className:"inner-container",children:[(0,d.jsx)("div",{className:"image-box-header",children:(0,d.jsx)(xe,fe({},t))}),(0,d.jsx)("div",{className:"image-box-body",children:(0,d.jsxs)("div",{className:"body-inner",children:[i&&(0,d.jsxs)(r,{className:(0,l.classnames)("body-title","icon-position-".concat(a)),children:["before"===a&&""!==p&&(0,d.jsx)("i",{className:p}),(0,d.jsx)(s.RichText.Content,{value:i,tagName:"span"}),"after"===a&&""!==p&&(0,d.jsx)("i",{className:p})]}),c&&(0,d.jsx)(s.RichText.Content,{className:"body-description",value:c,tagName:"p"}),m&&(0,d.jsx)(s.InnerBlocks.Content,{}),u&&(0,d.jsx)("div",{className:"border-bottom",children:(0,d.jsx)("div",{className:"animated ".concat(y)})})]})})]})};return(0,d.jsx)("div",fe(fe({className:f},v),{},{children:g&&m?(0,d.jsx)(x,{}):(0,d.jsx)(we,fe(fe({},e),{},{children:(0,d.jsx)(x,{})}))}))}));const _e=Se,je=JSON.parse('{"apiVersion":2,"name":"gutenverse/image-box","title":"Image Box","description":"Add an information section with image box.","category":"gutenverse-element","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"mouseMoveEffect":{"type":"object","copyStyle":true},"includeButton":{"type":"boolean","default":true},"url":{"type":"string"},"dynamicUrl":{"type":"object","default":{}},"isDynamic":{"type":"boolean","default":false},"dynamicTextContent":{"type":"array","copyStyle":true},"dynamicUrlContent":{"type":"array","copyStyle":true},"separateButtonLink":{"type":"boolean","default":true},"linkTarget":{"type":"string","source":"attribute","selector":"a","attribute":"target"},"rel":{"type":"string","source":"attribute","selector":"a","attribute":"rel"},"openDynamic":{"type":"string"},"title":{"type":"string","default":"Image Box Heading"},"titleChilds":{"type":"array","default":[]},"titleDynamicList":{"type":"array","default":[]},"description":{"type":"string","default":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo."},"descriptionChilds":{"type":"array","default":[]},"descriptionDynamicList":{"type":"array","default":[]},"dynamicAttributes":{"type":"array","default":["titleDynamicList","descriptionDynamicList"]},"hasGlobalLink":{"type":"boolean","default":false},"image":{"type":"object"},"imageAlt":{"type":"string"},"contentStyle":{"type":"string","default":"default","copyStyle":true},"equalHeight":{"type":"string","copyStyle":true},"titleTag":{"type":"string","default":"h3"},"titleIcon":{"type":"string"},"titleIconPosition":{"type":"string","default":"before"},"bodyAlignment":{"type":"object","copyStyle":true},"hoverBottom":{"type":"boolean","default":false,"copyStyle":true},"hoverBottomColor":{"type":"object","copyStyle":true},"hoverBottomDirection":{"type":"string","default":"left","copyStyle":true},"imagePadding":{"type":"object","copyStyle":true},"imageMargin":{"type":"object","copyStyle":true},"imageBorderRadius":{"type":"object","copyStyle":true},"imageBoxShadow":{"type":"object","copyStyle":true},"imageHeight":{"type":"object","copyStyle":true},"imageFit":{"type":"string","copyStyle":true},"imageOpacity":{"type":"object","copyStyle":true},"imageHoverOpacity":{"type":"object","copyStyle":true},"imageHoverScale":{"type":"object","copyStyle":true},"imageFilter":{"type":"object","copyStyle":true},"imageFilterHover":{"type":"object","copyStyle":true},"bodyBackground":{"type":"object","copyStyle":true},"containerBorder":{"type":"object","copyStyle":true},"containerBorderResponsive":{"type":"object","migrate":{"attr":"containerBorder","type":"border"},"copyStyle":true},"containerPadding":{"type":"object","copyStyle":true},"containerMargin":{"type":"object","copyStyle":true},"containerBoxShadow":{"type":"object","copyStyle":true},"titleMargin":{"type":"object","copyStyle":true},"titleTypography":{"type":"object","copyStyle":true},"titleIconSize":{"type":"object","copyStyle":true},"titleIconSpacing":{"type":"object","copyStyle":true},"titleNormalColor":{"type":"object","copyStyle":true},"titleNormalIconColor":{"type":"object","copyStyle":true},"titleHoverColor":{"type":"object","copyStyle":true},"titleHoverIconColor":{"type":"object","copyStyle":true},"descriptionMargin":{"type":"object","copyStyle":true},"descriptionTypography":{"type":"object","copyStyle":true},"descriptionNormalColor":{"type":"object","copyStyle":true},"descriptionHoverColor":{"type":"object","copyStyle":true},"background":{"type":"object","default":{},"copyStyle":true},"backgroundHover":{"type":"object","default":{},"copyStyle":true},"backgroundTransition":{"type":"object","copyStyle":true,"default":{}},"border":{"type":"object","default":{},"copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"borderHover":{"type":"object","default":{},"copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadowHover":{"type":"object","copyStyle":true},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"animation":{"type":"object","default":{},"copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"positioningType":{"type":"object","copyStyle":true},"positioningWidth":{"type":"object","copyStyle":true},"positioningAlign":{"type":"object","copyStyle":true},"positioningLocation":{"type":"string","copyStyle":true},"positioningLeft":{"type":"object","copyStyle":true},"positioningRight":{"type":"object","copyStyle":true},"positioningTop":{"type":"object","copyStyle":true},"positioningBottom":{"type":"object","copyStyle":true},"floatMarginTop":{"type":"object","copyStyle":true},"floatWidth":{"type":"object","copyStyle":true},"floatHeight":{"type":"object","copyStyle":true},"floatHeightHover":{"type":"object","copyStyle":true},"advanceAnimation":{"type":"object","default":{},"copyStyle":true},"transform":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"imagePosition":{"type":"object","copyStyle":true},"lazyLoad":{"type":"boolean","copyStyle":true},"ariaLabel":{"type":"string","copyStyle":true},"condition":{"type":"object","default":{}},"hoverBottomHeight":{"type":"object","copyStyle":true},"hasInnerBlocks":{"type":"boolean","default":false},"buttonUrl":{"type":"string","copyStyle":true}},"supports":{"className":false},"keywords":["image","box"]}');var Te=o(4889);var Oe=je.name,Ce=je.attributes,ke={icon:(0,d.jsx)(Te.QX,{}),example:{attributes:{image:{media:{imageId:1,sizes:{thumbnail:{height:150,width:150,url:"https://picsum.photos/id/1/150/150",orientation:"landscape"},medium:{height:300,width:200,url:"https://picsum.photos/id/1/200/300",orientation:"portrait"},large:{height:683,width:1024,url:"https://picsum.photos/id/1/1024/683",orientation:"portrait"},full:{url:"https://picsum.photos/id/1/1024/683",height:683,width:1024,orientation:"portrait"}}},size:"full"},bodyBackground:{type:"default",color:{r:255,g:255,b:255,a:1}}},innerBlocks:[{name:"gutenverse/button",attributes:{content:"Button"}}]},edit:ee,save:ie,deprecated:[{attributes:Ce,save:ue},{attributes:Ce,save:he},{attributes:Ce,save:_e}]}},4848:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>L,name:()=>F,settings:()=>V});var n=o(4404),r=o(6065),i=o(8930),a=o(6087),s=o(4997),l=o(7723),c=o(9491),p=o(2188),u=o(596),d=function(){return[{id:"orientation",label:(0,l.__)("Tab Orientation","gutenverse"),component:u.SelectControl,options:[{label:(0,l.__)("Horizontal"),value:"horizontal"},{label:(0,l.__)("Vertical"),value:"vertical"},{label:(0,l.__)("Horizontal Center Align"),value:"horizontal-center"},{label:(0,l.__)("Horizontal Right Align"),value:"horizontal-right"}]}]},y=function(e){var t=e.elementId;return[{id:"borderWidth",label:(0,l.__)("Border Width","gutenverse"),component:u.RangeControl,unit:"px",min:0,max:100,liveStyle:[{type:"plain",id:"borderWidth",selector:".guten-tabs.".concat(t," .tab-heading-item, \n .guten-tabs.").concat(t," .tab-heading-item:after,\n .guten-tabs.").concat(t," .tab-heading-item:before,\n .guten-tabs.").concat(t," .tab-body,\n .guten-tabs.").concat(t," .tab-heading-mobile,\n .guten-tabs.").concat(t," .tab-heading-mobile .tab-option"),properties:[{name:"border-width",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"borderColor",label:(0,l.__)("Border Color","gutenverse"),component:u.ColorControl,liveStyle:[{type:"color",id:"borderColor",selector:".guten-tabs.".concat(t," .tab-heading-item.active,\n .guten-tabs.").concat(t,".vertical .tab-heading-item.active, \n .guten-tabs.").concat(t," .tab-heading-item.active:after,\n .guten-tabs.").concat(t," .tab-heading-item.active:before,\n .guten-tabs.").concat(t," .tab-body, \n .guten-tabs.").concat(t," .tab-heading-mobile,\n .guten-tabs.").concat(t," .tab-heading-mobile .tab-option"),properties:[{name:"border-color",valueType:"direct"}]}]},{id:"backgroundColor",label:(0,l.__)("Background Color","gutenverse"),component:u.ColorControl,liveStyle:[{type:"color",id:"backgroundColor",selector:".guten-tabs.".concat(t," .tab-heading-item.active,\n .guten-tabs.").concat(t," .tab-body, \n .guten-tabs.").concat(t," .tab-heading-mobile, \n .guten-tabs.").concat(t," .tab-heading-mobile .tab-option"),properties:[{name:"background-color",valueType:"direct"}]}]},{id:"titleColor",label:(0,l.__)("Title Text Color","gutenverse"),component:u.ColorControl,liveStyle:[{type:"color",id:"titleColor",selector:".guten-tabs.".concat(t," .tab-heading-item, \n .guten-tabs.").concat(t," .tab-heading-item svg"),properties:[{name:"color",valueType:"direct"}]}]},{id:"titleActiveColor",label:(0,l.__)("Title Active Text Color","gutenverse"),component:u.ColorControl,liveStyle:[{type:"color",id:"titleActiveColor",selector:".guten-tabs.".concat(t," .tab-heading-item.active, \n .guten-tabs.").concat(t," .tab-heading-item.active svg,\n .guten-tabs.").concat(t," .tab-heading-mobile .tab-title,\n .guten-tabs.").concat(t," .tab-heading-mobile .tab-option .tab-option-item"),properties:[{name:"color",valueType:"direct"}]}]},{id:"titleTypography",label:(0,l.__)("Title Typography","gutenverse"),component:u.TypographyControl},{id:"contentColor",label:(0,l.__)("Content Text Color","gutenverse"),component:u.ColorControl,liveStyle:[{type:"color",id:"contentColor",selector:".guten-tabs.".concat(t," .tab-body"),properties:[{name:"color",valueType:"direct"}]}]},{id:"contentTypography",label:(0,l.__)("Content Typography","gutenverse"),component:u.TypographyControl},{id:"contentPadding",label:(0,l.__)("Content Padding","gutenverse"),component:u.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}}]};function g(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function m(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?g(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):g(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var v=function(){return[{title:(0,l.__)("Content","gutenverse"),panelArray:d,initialOpen:!0,tabRole:u.TabSetting},{title:(0,l.__)("Style","gutenverse"),panelArray:y,initialOpen:!1,tabRole:u.TabStyle},{title:(0,l.__)("Border","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,u.borderPanel)(m(m({},e),{},{styleId:"tab-border"}))},tabRole:u.TabStyle},{title:(0,l.__)("Masking","gutenverse"),initialOpen:!1,panelArray:u.maskPanel,tabRole:u.TabStyle},{title:(0,l.__)("Display","gutenverse"),initialOpen:!1,panelArray:u.responsivePanel,tabRole:u.TabSetting},{title:(0,l.__)("Positioning","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,u.positioningPanel)(m(m({},e),{},{inBlock:"vertical"!==e.orientation,options:[{value:"default",label:"Default"},{value:"full",label:"Full Width (100%)"},{value:"custom",label:"Custom"}]}))},tabRole:u.TabSetting},{title:(0,l.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,u.animationPanel)(m(m({},e),{},{styleId:"tab-animation"}))},tabRole:u.TabSetting},{title:(0,l.__)("Transform","gutenverse"),initialOpen:!1,panelArray:u.transformPanel,pro:!0},{title:(0,l.__)("Mouse Move Effect","gutenverse"),initialOpen:!1,panelArray:u.mouseMoveEffectPanel,tabRole:u.TabSetting,pro:!0},{title:(0,l.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,u.advancePanel)(m(m({},e),{},{styleId:"tab-advance"}))},tabRole:u.TabSetting},{title:(0,l.__)("Condition","gutenverse"),panelArray:u.conditionPanel,initialOpen:!1,pro:!0}]},h=o(4715),b=o(3482),f=o(6427),x=o(8558),w=o(1222),S=o(5255),_=o(6826),j=o(7143),T=o(4320),O=o(2619);const C=function(e,t){var o=[];return(0,w.isNotEmpty)(t.orientation)&&"horizontal"===t.orientation&&o.push({type:"plain",id:"orientation",selector:".guten-element.".concat(e),properties:[{name:"display",valueType:"pattern",pattern:"block"}]}),(0,w.isNotEmpty)(t.orientation)&&"vertical"===t.orientation&&o.push({type:"plain",id:"orientation",selector:".guten-element.".concat(e),properties:[{name:"display",valueType:"pattern",pattern:"flex"}]}),(0,w.isNotEmpty)(t.orientation)&&"horizontal-center"===t.orientation&&o.push({type:"plain",id:"orientation",selector:".guten-element.".concat(e," .tab-heading-item"),properties:[{name:"justify-content",valueType:"pattern",pattern:"center"}]}),(0,w.isNotEmpty)(t.orientation)&&"horizontal-right"===t.orientation&&o.push({type:"plain",id:"orientation",selector:".guten-element.".concat(e," .tab-heading-item"),properties:[{name:"justify-content",valueType:"pattern",pattern:"end"}]}),(0,w.isNotEmpty)(t.borderWidth)&&o.push({type:"plain",id:"borderWidth",selector:".guten-tabs.".concat(e," .tab-heading-item, \n .guten-tabs.").concat(e," .tab-heading-item:after,\n .guten-tabs.").concat(e," .tab-heading-item:before,\n .guten-tabs.").concat(e," .tab-body,\n .guten-tabs.").concat(e," .tab-heading-mobile,\n .guten-tabs.").concat(e," .tab-heading-mobile .tab-option"),properties:[{name:"border-width",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,w.isNotEmpty)(t.borderColor)&&o.push({type:"color",id:"borderColor",selector:".guten-tabs.".concat(e," .tab-heading-item.active,\n .guten-tabs.").concat(e,".vertical .tab-heading-item.active, \n .guten-tabs.").concat(e," .tab-heading-item.active:after,\n .guten-tabs.").concat(e," .tab-heading-item.active:before,\n .guten-tabs.").concat(e," .tab-body, \n .guten-tabs.").concat(e," .tab-heading-mobile,\n .guten-tabs.").concat(e," .tab-heading-mobile .tab-option"),properties:[{name:"border-color",valueType:"direct"}]}),(0,w.isNotEmpty)(t.backgroundColor)&&o.push({type:"color",id:"backgroundColor",selector:".guten-tabs.".concat(e," .tab-heading-item.active,\n .guten-tabs.").concat(e," .tab-body, \n .guten-tabs.").concat(e," .tab-heading-mobile, \n .guten-tabs.").concat(e," .tab-heading-mobile .tab-option"),properties:[{name:"background-color",valueType:"direct"}]}),(0,w.isNotEmpty)(t.titleColor)&&o.push({type:"color",id:"titleColor",selector:".guten-tabs.".concat(e," .tab-heading-item, \n .guten-tabs.").concat(e," .tab-heading-item svg"),properties:[{name:"color",valueType:"direct"}]}),(0,w.isNotEmpty)(t.titleActiveColor)&&o.push({type:"color",id:"titleActiveColor",selector:".guten-tabs.".concat(e," .tab-heading-item.active, \n .guten-tabs.").concat(e," .tab-heading-item.active svg,\n .guten-tabs.").concat(e," .tab-heading-mobile .tab-title,\n .guten-tabs.").concat(e," .tab-heading-mobile .tab-option .tab-option-item"),properties:[{name:"color",valueType:"direct"}]}),(0,w.isNotEmpty)(t.titleTypography)&&o.push({type:"typography",id:"titleTypography",selector:".guten-tabs.".concat(e," .tab-heading-item, .guten-tabs.").concat(e," .tab-heading-mobile")}),(0,w.isNotEmpty)(t.contentColor)&&o.push({type:"color",id:"contentColor",selector:".guten-tabs.".concat(e," .tab-body"),properties:[{name:"color",valueType:"direct"}]}),(0,w.isNotEmpty)(t.contentTypography)&&o.push({type:"typography",id:"contentTypography",selector:".guten-tabs.".concat(e," .tab-body, \n .guten-tabs.").concat(e," .tab-body p, \n .guten-tabs.").concat(e," .tab-body a")}),(0,w.isNotEmpty)(t.contentPadding)&&o.push({type:"dimension",id:"contentPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e," .tab-body")}),(0,w.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,w.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,w.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,w.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,w.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,w.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,w.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,w.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,w.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,w.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,w.isNotEmpty)(t.animation)&&(0,w.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,w.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,w.isNotEmpty)(t.positioningType)&&(0,w.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,w.isNotEmpty)(t.positioningWidth)&&(0,w.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,w.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,w.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,w.isNotEmpty)(t.positioningLeft)&&(0,w.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,w.isNotEmpty)(t.positioningRight)&&(0,w.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,w.isNotEmpty)(t.positioningTop)&&(0,w.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,w.isNotEmpty)(t.positioningBottom)&&(0,w.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),[].concat(o,(0,n.A)((0,O.applyFilters)("gutenverse.tabs.blockStyle",[],{elementId:e,attributes:t})))};var k=o(790),P=["tabs","changeActiveTab","editTabHeading","onChangeSequence"];function N(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function E(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?N(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):N(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var D=function(e){var t=e.tab,o=e.index,n=e.total,r=e.changeActiveTab,i=e.editTabHeading,a=e.headingTag,s=e.activeTab,c=e.onChangeSequence,p=e.orientation,u=(0,b.classnames)("tab-heading-item",{active:s===t.tabId}),d=function(){c({source:o,destination:o-1})},y=function(){c({source:o,destination:o+1})};return(0,k.jsxs)("div",{className:u,"data-id":t.tabId,onClick:function(){return r(t.tabId)},children:["horizontal"===p&&o>0&&(0,k.jsx)(f.Tooltip,{text:(0,l.__)("Click to move tab left","gutenverse"),children:(0,k.jsx)("div",{className:"tab-shift tab-shift-left",onClick:d,children:(0,k.jsx)(b.ChevronLeft,{})})}),(0,k.jsx)(h.RichText,{tagName:a,"aria-label":(0,l.__)("Tab text"),placeholder:(0,l.__)("Add text…"),value:t.text,onChange:function(e){return i(e,o)},withoutInteractiveFormatting:!0,identifier:"heading-".concat(t.tabId)}),"horizontal"===p&&o<n-1&&(0,k.jsx)(f.Tooltip,{text:(0,l.__)("Click to move tab right","gutenverse"),children:(0,k.jsx)("div",{className:"tab-shift tab-shift-right",onClick:y,children:(0,k.jsx)(b.ChevronRight,{})})}),"vertical"===p&&(0,k.jsxs)("div",{className:"heading-navigation",children:[o>0&&(0,k.jsx)(f.Tooltip,{text:(0,l.__)("Click to move tab up","gutenverse"),children:(0,k.jsx)("div",{className:"tab-shift-vertical tab-shift-up",onClick:d,children:(0,k.jsx)(b.ChevronUp,{})})}),o<n-1&&(0,k.jsx)(f.Tooltip,{text:(0,l.__)("Click to move tab down","gutenverse"),children:(0,k.jsx)("div",{className:"tab-shift-vertical tab-shift-down",onClick:y,children:(0,k.jsx)(b.ChevronDown,{})})})]})]},t.tabId)},B=function(e){var t=e.tabs,o=e.changeActiveTab,n=e.activeTab,r=(0,a.useState)(!1),s=(0,i.A)(r,2),l=s[0],c=s[1],p=t.filter((function(e){return e.tabId===n})),u=function(){c((function(e){return!e}))};return(0,k.jsxs)("div",{className:(0,b.classnames)("tab-heading-mobile",{open:l}),children:[(0,k.jsxs)("div",{className:"tab-title",onClick:u,children:[p.length>0&&(0,k.jsx)(h.RichText.Content,{value:p[0].text,tagName:"span"}),(0,k.jsx)("i",{className:"tab-dropdown-icon fas"})]}),(0,k.jsx)("div",{className:"tab-option",children:t.map((function(e){var t=(0,b.classnames)("tab-option-item",{active:e.tabId===n});return(0,k.jsx)("div",{"data-id":e.tabId,className:t,onClick:function(){return t=e.tabId,u(),void o(t);var t},children:(0,k.jsx)(h.RichText.Content,{value:e.text,tagName:"span"})},e.tabId)}))})]})},A=function(e){var t=e.tabs,o=e.changeActiveTab,n=e.editTabHeading,r=e.onChangeSequence,i=function(e,t){if(null==e)return{};var o,n,r=function(e,t){if(null==e)return{};var o={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;o[n]=e[n]}return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)o=i[n],-1===t.indexOf(o)&&{}.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}(e,P),a=(0,b.classnames)("tab-heading"),s=t.map((function(e,a){return(0,k.jsx)(D,E({tab:e,index:a,total:t.length,changeActiveTab:o,editTabHeading:n,onChangeSequence:r},i),e.tabId)}));return(0,k.jsx)("div",{className:a,children:s})};const H=(0,c.compose)(p.withPartialRender,p.withMouseMoveEffect)((function(e){var t=(0,j.dispatch)("core/block-editor"),o=t.insertBlock,r=t.removeBlocks,c=t.replaceInnerBlocks,p=(0,j.useSelect)((function(e){return e("core/block-editor")}),[]).getBlocks,d=e.clientId,y=e.attributes,g=e.setAttributes,m=y.elementId,O=y.tabs,P=y.orientation,N=(0,_.useAnimationEditor)(y),D=(0,_.useDisplayEditor)(y),H=(0,S.getDeviceType)(),R=(0,a.useState)(0),I=(0,i.A)(R,2),M=I[0],L=I[1],z=(0,a.useRef)();(0,T.useGenerateElementId)(d,m,z),(0,T.useDynamicStyle)(m,y,C,z),(0,a.useEffect)((function(){if(void 0===O){var e=[{tabId:"tab-"+(0,b.cryptoRandomString)({length:6,type:"alphanumeric"}),text:"Tab 1"},{tabId:"tab-"+(0,b.cryptoRandomString)({length:6,type:"alphanumeric"}),text:"Tab 2"},{tabId:"tab-"+(0,b.cryptoRandomString)({length:6,type:"alphanumeric"}),text:"Tab 3"}];g({tabs:e});var t=e.map((function(e){return["gutenverse/tab",{key:e.tabId,tabId:e.tabId}]})),o=(0,s.createBlocksFromInnerBlocksTemplate)(t);c(d,o,!0),W(e[0].tabId)}else W(O[0].tabId)}),[]);var F=(0,h.useBlockProps)({className:(0,b.classnames)("guten-element","guten-tabs","no-margin",m,P,N,D,H),ref:z}),V=(0,h.useInnerBlocksProps)({className:"tab-body"},{template:[["gutenverse/tab"]],allowedBlocks:["gutenverse/tab"],__experimentalAppenderTagName:"div"}),W=function(e){L(e),z.current&&(z.current.querySelectorAll(".tab-body-item.active").forEach((function(e){e.classList.remove("active")})),z.current.querySelectorAll('.tab-body-item[data-id="'.concat(e,'"]')).forEach((function(e){e.classList.add("active")})))},G=E({changeActiveTab:W,onChangeSequence:function(e){var t=e.destination,o=e.source,n=(0,w.reorder)(O,o,t);g({tabs:n})},editTabHeading:function(e,t){var o=O.map((function(o,n){return t===n?E(E({},o),{},{text:e}):o}));g({tabs:o})},activeTab:M},y);return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(b.CopyElementToolbar,E({},e)),(0,k.jsx)(u.BlockPanelController,{panelList:v,props:e,elementRef:z}),(0,k.jsx)(h.BlockControls,{children:(0,k.jsxs)(f.ToolbarGroup,{children:[(0,k.jsx)(f.ToolbarButton,{name:"add",icon:b.plus,title:(0,l.__)("Add New Tab","gutenverse"),shortcut:x.displayShortcut.primary("a"),onClick:function(){return e=(0,b.cryptoRandomString)({length:6,type:"alphanumeric"}),t=(0,s.createBlock)("gutenverse/tab",{key:e,tabId:e}),o(t,p(d).length+1,d),g({tabs:[].concat((0,n.A)(O),[{tabId:e,text:(0,l.__)("New Tab","gutenverse")}])}),void W(e);var e,t}}),(0,k.jsx)(f.ToolbarButton,{name:"delete",icon:b.trash,title:(0,l.__)("Delete Tab","gutenverse"),shortcut:x.displayShortcut.primary("d"),onClick:function(){return e=O.filter((function(e){return e.tabId!==M})),t=p(d).filter((function(e){return e.attributes.tabId===M}))[0],g({tabs:e}),r(t.clientId,!1),void W(e[0].tabId);var e,t},disabled:void 0!==O&&O.length<=1})]})}),(0,k.jsxs)("div",E(E({},F),{},{children:[void 0!==O&&(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(A,E({},G)),(0,k.jsx)(B,E({},G))]}),(0,k.jsx)("div",E({},V))]}))]})}));function R(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function I(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?R(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):R(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const M=(0,c.compose)(p.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,n=t.tabs,r=t.orientation,i=(0,_.useAnimationFrontend)(t),a=(0,_.useDisplayFrontend)(t),s=(0,b.classnames)("guten-element","guten-tabs",o,r,i,a);return n&&(0,k.jsxs)("div",I(I({},h.useBlockProps.save({className:s})),{},{children:[(0,k.jsx)("div",{className:"tab-heading",children:n.map((function(e,t){return(0,k.jsx)("div",{className:(0,b.classnames)("tab-heading-item",{active:0===t}),id:e.tabId,"data-id":e.tabId,children:(0,k.jsx)(h.RichText.Content,{value:e.text,tagName:"span"})},e.tabId)}))}),(0,k.jsxs)("div",{className:"tab-heading-mobile",children:[(0,k.jsxs)("div",{className:"tab-title",children:[(0,k.jsx)(h.RichText.Content,{value:n[0].text,tagName:"span"}),(0,k.jsx)("i",{className:"tab-dropdown-icon fas"})]}),(0,k.jsx)("div",{className:"tab-option",children:n.map((function(e,t){var o=(0,b.classnames)("tab-option-item",{active:0===t});return(0,k.jsx)("div",{"data-id":e.tabId,className:o,children:(0,k.jsx)(h.RichText.Content,{value:e.text,tagName:"span"})},e.tabId)}))})]}),(0,k.jsx)("div",{className:"tab-body",children:(0,k.jsx)(h.InnerBlocks.Content,{})})]}))})),L=JSON.parse('{"apiVersion":2,"name":"gutenverse/tabs","title":"Tabs","description":"Create content inside a tab block.","category":"gutenverse-element","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"mouseMoveEffect":{"type":"object","copyStyle":true},"borderWidth":{"type":"string","default":"2","copyStyle":true},"borderColor":{"type":"object","copyStyle":true},"backgroundColor":{"type":"object","copyStyle":true},"titleColor":{"type":"object","copyStyle":true},"titleActiveColor":{"type":"object","copyStyle":true},"titleTypography":{"type":"object","copyStyle":true},"contentColor":{"type":"object","copyStyle":true},"contentTypography":{"type":"object","copyStyle":true},"contentPadding":{"type":"object","copyStyle":true},"headingTag":{"type":"string","default":"span"},"orientation":{"type":"string","default":"horizontal","copyStyle":true},"tabs":{"type":"array","source":"query","selector":".tab-heading-item","query":{"tabId":{"type":"string","source":"attribute","attribute":"data-id"},"text":{"type":"string","source":"html","selector":"span"}}},"border":{"type":"object","copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"borderHover":{"type":"object","copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadowHover":{"type":"object","copyStyle":true},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"animation":{"type":"object","default":{},"copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"positioningType":{"type":"object","copyStyle":true},"positioningWidth":{"type":"object","default":{"Desktop":false,"Tablet":false,"Mobile":true},"copyStyle":true},"positioningAlign":{"type":"object","copyStyle":true},"positioningLocation":{"type":"string","copyStyle":true},"positioningLeft":{"type":"object","copyStyle":true},"positioningRight":{"type":"object","copyStyle":true},"positioningTop":{"type":"object","copyStyle":true},"positioningBottom":{"type":"object","copyStyle":true},"transform":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"condition":{"type":"object","default":{}}},"supports":{"className":false,"html":false},"keywords":["tabs","accordion","gutenverse"]}');var z=o(4889);var F=L.name,V={icon:(0,k.jsx)(z.av,{}),example:{viewportWidth:800,attributes:{tabs:[{tabId:"tab-a",text:"Gutenverse Tab"},{tabId:"tab-b",text:"Second Tab"},{tabId:"tab-c",text:"Third Tab"}],backgroundColor:{r:255,g:255,b:255,a:1}},innerBlocks:[{name:"gutenverse/tab",attributes:{active:!0,first:!0,tabId:"tab-a"},innerBlocks:[{name:"core/paragraph",attributes:{content:"Maecenas nec convallis urna, non fermentum lectus. Integer fringilla felis nisl, id sollicitudin mauris consectetur vel. Cras et convallis enim. Nulla tempus tincidunt imperdiet. Donec luctus auctor urna ullamcorper ornare. Mauris vestibulum a odio sit amet dapibus."}},{name:"core/paragraph",attributes:{content:"In blandit risus accumsan, vulputate nunc sit amet, dignissim dolor. Nullam vehicula molestie fermentum. Etiam arcu urna, pulvinar ut ante a, pellentesque suscipit nulla. Donec vitae accumsan eros."}}]},{name:"gutenverse/tab",attributes:{tabId:"tab-b"},innerBlocks:[{name:"core/paragraph",attributes:{content:"Maecenas nec convallis urna, non fermentum lectus. Integer fringilla felis nisl, id sollicitudin mauris consectetur vel. Cras et convallis enim. Nulla tempus tincidunt imperdiet. Donec luctus auctor urna ullamcorper ornare. Mauris vestibulum a odio sit amet dapibus."}},{name:"core/paragraph",attributes:{content:"In blandit risus accumsan, vulputate nunc sit amet, dignissim dolor. Nullam vehicula molestie fermentum. Etiam arcu urna, pulvinar ut ante a, pellentesque suscipit nulla. Donec vitae accumsan eros."}}]},{name:"gutenverse/tab",attributes:{tabId:"tab-c"},innerBlocks:[{name:"core/paragraph",attributes:{content:"Maecenas nec convallis urna, non fermentum lectus. Integer fringilla felis nisl, id sollicitudin mauris consectetur vel. Cras et convallis enim. Nulla tempus tincidunt imperdiet. Donec luctus auctor urna ullamcorper ornare. Mauris vestibulum a odio sit amet dapibus."}},{name:"core/paragraph",attributes:{content:"In blandit risus accumsan, vulputate nunc sit amet, dignissim dolor. Nullam vehicula molestie fermentum. Etiam arcu urna, pulvinar ut ante a, pellentesque suscipit nulla. Donec vitae accumsan eros."}}]}]},edit:H,save:M}},4873:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>I,name:()=>L,settings:()=>z});var n=o(6065),r=o(8930),i=o(6087),a=o(3482),s=o(4715),l=o(9491),c=o(2188),p=o(6826),u=o(7723),d=o(596),y=function(e){var t=e.elementId,o=e.showLink;return[{id:"behavior",label:(0,u.__)("Active Behavior","gutenverse"),component:d.SelectControl,options:[{value:"onhover",label:(0,u.__)("On Hover")},{value:"onclick",label:(0,u.__)("On Click")}]},{id:"column",label:(0,u.__)("Column","gutenverse"),component:d.RangeControl,min:1,max:10,step:1,allowDeviceControl:!0,isParseFloat:!0,liveStyle:[{type:"plain",id:"column",responsive:!0,selector:".".concat(t,".guten-portfolio-gallery .portfolio-gallery-container .content-items .row-item"),properties:[{name:"flex",valueType:"pattern",pattern:"calc(100% / {value}); max-width: calc(100% / {value})",patternValues:{value:{type:"direct"}}}]}]},{id:"rowHeight",label:(0,u.__)("Row Height","gutenverse"),component:d.SizeControl,allowDeviceControl:!0,liveStyle:[{type:"unitPoint",id:"rowHeight",responsive:!0,properties:[{name:"height",valueType:"direct"}],selector:".".concat(t,".guten-portfolio-gallery .portfolio-gallery-container .content-items .row-item")}]},{id:"reversePosition",label:(0,u.__)("Reverse Position","gutenverse"),component:d.CheckboxControl},{id:"showLink",label:(0,u.__)("Show Link","gutenverse"),component:d.CheckboxControl},{id:"linkText",show:o,label:(0,u.__)("Link Text","gutenverse"),component:d.TextControl},{id:"linkIcon",show:o,label:(0,u.__)("Link Icon","gutenverse"),component:d.IconControl},{id:"linkIconPosition",show:o,label:(0,u.__)("Link Icon Position","gutenverse"),component:d.SelectControl,options:[{value:"row-reverse",label:(0,u.__)("Left")},{value:"row",label:(0,u.__)("Right")}]}]},g=function(e){return[{id:"images",component:d.RepeaterControl,titleFormat:'<strong><%= value.title ? value.title : "Gallery Item" %></strong>',repeaterDefault:{id:"",current:!1},options:[{id:"src",label:(0,u.__)("Image","gutenverse"),component:d.ImageControl},{id:"title",label:(0,u.__)("Title","gutenverse"),component:d.TextControl},{id:"subtitle",label:(0,u.__)("Sub Title","gutenverse"),component:d.TextControl},{id:"link",show:function(e){return!e.disableLink},label:(0,u.__)("Link","gutenverse"),component:d.TextControl},{id:"current",label:(0,u.__)("Set as Current Item","gutenverse"),component:d.CheckboxControl}]}]},m=o(790);function v(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function h(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?v(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):v(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var b=function(e){var t=e.elementId,o=e.setSwitcher,n=e.switcher;return[{id:"activeBackground",label:(0,u.__)("Active Background","gutenverse"),component:d.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"activeBackground",selector:".".concat(t,".guten-portfolio-gallery .portfolio-gallery-container .row-item.current-item")}]},{id:"contentAlignment",label:(0,u.__)("Content Alignment","gutenverse"),component:d.IconRadioControl,options:[{label:(0,u.__)("Align Left","gutenverse"),value:"start",icon:(0,m.jsx)(a.AlignLeft,{})},{label:(0,u.__)("Align Center","gutenver se"),value:"center",icon:(0,m.jsx)(a.AlignCenter,{})},{label:(0,u.__)("Align Right","gutenverse"),value:"end",icon:(0,m.jsx)(a.AlignRight,{})}]},{id:"contentPadding",label:(0,u.__)("Content Padding","gutenverse"),component:d.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"contentBackground",label:(0,u.__)("Title Background","gutenverse"),component:d.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"contentBackground",selector:".".concat(t,".guten-portfolio-gallery .portfolio-gallery-container .row-item .row-item-info::after")}]},{id:"titleTypography",label:(0,u.__)("Title Typography","gutenverse"),component:d.TypographyControl},{id:"subTitleTypography",label:(0,u.__)("Sub Title Typography","gutenverse"),component:d.TypographyControl},{id:"__hoverSwitch",component:d.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__hoverSwitch;return o(h(h({},n),{},{hoverSwitch:t}))}},{id:"titleColor",label:(0,u.__)("Title Color","gutenverse"),show:"normal"===n.hoverSwitch||!n.hoverSwitch,component:d.ColorControl,liveStyle:[{type:"color",id:"titleColor",selector:".".concat(t,".guten-portfolio-gallery .portfolio-gallery-container .row-item .row-item-info .info-title"),properties:[{name:"color",valueType:"direct"}]}]},{id:"subTitleColor",label:(0,u.__)("Sub Title Color","gutenverse"),show:"normal"===n.hoverSwitch||!n.hoverSwitch,component:d.ColorControl,liveStyle:[{type:"color",id:"subTitleColor",selector:".".concat(t,".guten-portfolio-gallery .portfolio-gallery-container .row-item .row-item-info .info-subtitle"),properties:[{name:"color",valueType:"direct"}]}]},{id:"titleTextShadow",label:(0,u.__)("Title Text Shadow","gutenverse"),show:"normal"===n.hoverSwitch||!n.hoverSwitch,component:d.TextShadowControl,liveStyle:[{type:"textShadow",id:"titleTextShadow",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(t,".guten-portfolio-gallery .portfolio-gallery-container .row-item .row-item-info .info-title")}]},{id:"subTitleTextShadow",label:(0,u.__)("Sub Title Text Shadow","gutenverse"),show:"normal"===n.hoverSwitch||!n.hoverSwitch,component:d.TextShadowControl,liveStyle:[{type:"textShadow",id:"subTitleTextShadow",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(t,".guten-portfolio-gallery .portfolio-gallery-container .row-item .row-item-info .info-subtitle")}]},{id:"titleColorHover",label:(0,u.__)("Title Color","gutenverse"),show:"hover"===n.hoverSwitch,component:d.ColorControl,liveStyle:[{type:"color",id:"titleColorHover",selector:".".concat(t,".guten-portfolio-gallery .portfolio-gallery-container .row-item:hover .row-item-info .info-title"),properties:[{name:"color",valueType:"direct"}]}]},{id:"subTitleColorHover",label:(0,u.__)("Sub Title Color","gutenverse"),show:"hover"===n.hoverSwitch,component:d.ColorControl,liveStyle:[{type:"color",id:"subTitleColorHover",selector:".".concat(t,".guten-portfolio-gallery .portfolio-gallery-container .row-item:hover .row-item-info .info-subtitle"),properties:[{name:"color",valueType:"direct"}]}]},{id:"titleTextShadowHover",label:(0,u.__)("Title Text Shadow","gutenverse"),show:"hover"===n.hoverSwitch,component:d.TextShadowControl,liveStyle:[{type:"textShadow",id:"titleTextShadowHover",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(t,".guten-portfolio-gallery .portfolio-gallery-container .row-item:hover .row-item-info .info-title")}]},{id:"subTitleTextShadowHover",label:(0,u.__)("Sub Title Text Shadow","gutenverse"),show:"hover"===n.hoverSwitch,component:d.TextShadowControl,liveStyle:[{type:"textShadow",id:"subTitleTextShadowHover",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(t,".guten-portfolio-gallery .portfolio-gallery-container .row-item:hover .row-item-info .info-subtitle")}]}]};function f(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function x(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?f(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):f(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var w=function(e){var t=e.elementId,o=e.setSwitcher,r=e.switcher;return[{id:"linkAlignment",label:(0,u.__)("Content Alignment","gutenverse"),component:d.IconRadioControl,options:[{label:(0,u.__)("Align Left","gutenverse"),value:"start",icon:(0,m.jsx)(a.AlignLeft,{})},{label:(0,u.__)("Align Center","gutenver se"),value:"center",icon:(0,m.jsx)(a.AlignCenter,{})},{label:(0,u.__)("Align Right","gutenverse"),value:"end",icon:(0,m.jsx)(a.AlignRight,{})}]},{id:"linkPadding",label:(0,u.__)("Link Padding","gutenverse"),component:d.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"linkMargin",label:(0,u.__)("Link Margin","gutenverse"),component:d.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"linkBackground",label:(0,u.__)("Link Background","gutenverse"),component:d.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"linkBackground",selector:".".concat(t,".guten-portfolio-gallery .portfolio-gallery-container .row-item .row-link-wrapper a")}]},{id:"linkBorder",label:(0,u.__)("Link Border","gutenverse"),component:d.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"linkBorder",selector:".".concat(t,".guten-portfolio-gallery .portfolio-gallery-container .row-item .row-link-wrapper a")}]},{id:"linkTypography",label:(0,u.__)("Link Typography","gutenverse"),component:d.TypographyControl},{id:"linkIconSpace",component:d.SizeControl,label:(0,u.__)("Icon Text Space","gutenverse"),allowDeviceControl:!0,units:(0,n.A)((0,n.A)({px:{text:"px",min:1,max:100,step:1,unit:"px"}},"%",{text:"%",min:1,max:100,step:1,unit:"%"}),"vh",{text:"vh",min:1,max:100,step:1,unit:"vh"}),liveStyle:[{type:"unitPoint",id:"linkIconSpace",responsive:!0,properties:[{name:"gap",valueType:"direct"}],selector:".".concat(t,".guten-portfolio-gallery .portfolio-gallery-container .row-item .row-link-wrapper a")}]},{id:"linkIconSize",component:d.SizeControl,label:(0,u.__)("Icon Size","gutenverse"),allowDeviceControl:!0,units:(0,n.A)((0,n.A)({px:{text:"px",min:1,max:100,step:1,unit:"px"}},"%",{text:"%",min:1,max:100,step:1,unit:"%"}),"vh",{text:"vh",min:1,max:100,step:1,unit:"vh"}),liveStyle:[{type:"unitPoint",id:"linkIconSize",responsive:!0,properties:[{name:"font-size",valueType:"direct"}],selector:".".concat(t,".guten-portfolio-gallery .portfolio-gallery-container .row-item .row-link-wrapper a i")}]},{id:"__hoverSwitch",component:d.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__hoverSwitch;return o(x(x({},r),{},{hoverSwitch:t}))}},{id:"linkColor",label:(0,u.__)("Link Color","gutenverse"),show:"normal"===r.hoverSwitch||!r.hoverSwitch,component:d.ColorControl,liveStyle:[{type:"color",id:"linkColor",selector:".".concat(t,".guten-portfolio-gallery .portfolio-gallery-container .row-item .row-link-wrapper a"),properties:[{name:"color",valueType:"direct"}]}]},{id:"linkIconColor",label:(0,u.__)("Icon Color","gutenverse"),show:"normal"===r.hoverSwitch||!r.hoverSwitch,component:d.ColorControl,liveStyle:[{type:"color",id:"linkIconColor",selector:".".concat(t,".guten-portfolio-gallery .portfolio-gallery-container .row-item .row-link-wrapper a i"),properties:[{name:"color",valueType:"direct"}]}]},{id:"linkTextShadow",label:(0,u.__)("Link Text Shadow","gutenverse"),show:"normal"===r.hoverSwitch||!r.hoverSwitch,component:d.TextShadowControl,liveStyle:[{type:"textShadow",id:"linkTextShadow",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(t,".guten-portfolio-gallery .portfolio-gallery-container .row-item .row-link-wrapper a")}]},{id:"linkColorHover",label:(0,u.__)("Link Color","gutenverse"),show:"hover"===r.hoverSwitch,component:d.ColorControl,liveStyle:[{type:"color",id:"linkColorHover",selector:".".concat(t,".guten-portfolio-gallery .portfolio-gallery-container .row-item .row-link-wrapper:hover a"),properties:[{name:"color",valueType:"direct"}]}]},{id:"linkIconColorHover",label:(0,u.__)("Icon Color","gutenverse"),show:"hover"===r.hoverSwitch,component:d.ColorControl,liveStyle:[{type:"color",id:"linkIconColorHover",selector:".".concat(t,".guten-portfolio-gallery .portfolio-gallery-container .row-item .row-link-wrapper:hover a i"),properties:[{name:"color",valueType:"direct"}]}]},{id:"linkTextShadowHover",label:(0,u.__)("Link Text Shadow","gutenverse"),show:"hover"===r.hoverSwitch,component:d.TextShadowControl,liveStyle:[{type:"textShadow",id:"linkTextShadowHover",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(t,".guten-portfolio-gallery .portfolio-gallery-container .row-item .row-link-wrapper:hover a")}]}]};function S(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function _(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?S(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):S(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var j=function(){return[{title:(0,u.__)("Settings","gutenverse"),initialOpen:!0,panelArray:y,tabRole:d.TabSetting},{title:(0,u.__)("Gallery","gutenverse"),initialOpen:!0,panelArray:g,tabRole:d.TabSetting},{title:(0,u.__)("Content Style","gutenverse"),initialOpen:!0,panelArray:b,tabRole:d.TabStyle},{title:(0,u.__)("Link Style","gutenverse"),initialOpen:!1,panelArray:w,tabRole:d.TabStyle},{title:(0,u.__)("Background","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,d.backgroundPanel)(_(_({},e),{},{styleId:"gallery-background",normalOptions:["default","gradient"],hoverOptions:["default","gradient"]}))},tabRole:d.TabStyle},{title:(0,u.__)("Border","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,d.borderPanel)(_(_({},e),{},{styleId:"gallery-border"}))},tabRole:d.TabStyle},{title:(0,u.__)("Masking","gutenverse"),initialOpen:!1,panelArray:d.maskPanel,tabRole:d.TabStyle},{title:(0,u.__)("Display","gutenverse"),initialOpen:!1,panelArray:d.responsivePanel,tabRole:d.TabSetting},{title:(0,u.__)("Positioning","gutenverse"),initialOpen:!1,panelArray:d.positioningPanel,tabRole:d.TabSetting},{title:(0,u.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,d.animationPanel)(_(_({},e),{},{styleId:"gallery-animation"}))},tabRole:d.TabSetting},{title:(0,u.__)("Transform","gutenverse"),initialOpen:!1,panelArray:d.transformPanel,pro:!0},{title:(0,u.__)("Mouse Move Effect","gutenverse"),initialOpen:!1,panelArray:d.mouseMoveEffectPanel,tabRole:d.TabSetting,pro:!0},{title:(0,u.__)("Advanced Animation","gutenverse"),initialOpen:!1,panelAdvance:!0,panelArray:function(e){return(0,d.advanceAnimationPanel)(_(_({},e),{},{blockType:"gallery"}))},pro:!0},{title:(0,u.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,d.advancePanel)(_(_({},e),{},{styleId:"gallery-advance"}))},tabRole:d.TabSetting},{title:(0,u.__)("Condition","gutenverse"),panelArray:d.conditionPanel,initialOpen:!1,pro:!0}]},T=o(5255),O=o(4320),C=o(4404),k=o(1222),P=o(2619);const N=function(e,t){var o=[];return o=function(e,t,o){return(0,k.isNotEmpty)(t.activeBackground)&&o.push({type:"background",id:"activeBackground",selector:".".concat(e,".guten-portfolio-gallery .portfolio-gallery-container .row-item.current-item")}),(0,k.isNotEmpty)(t.contentAlignment)&&o.push({type:"plain",id:"contentAlignment",selector:".".concat(e,".guten-portfolio-gallery .portfolio-gallery-container .row-item .row-item-info"),properties:[{name:"text-align",valueType:"direct"}]}),(0,k.isNotEmpty)(t.contentPadding)&&o.push({type:"dimension",id:"contentPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e,".guten-portfolio-gallery .portfolio-gallery-container .row-item .row-item-info")}),(0,k.isNotEmpty)(t.contentBackground)&&o.push({type:"background",id:"contentBackground",selector:".".concat(e,".guten-portfolio-gallery .portfolio-gallery-container .row-item .row-item-info::after")}),(0,k.isNotEmpty)(t.titleTypography)&&o.push({type:"typography",id:"titleTypography",selector:".".concat(e,".guten-portfolio-gallery .portfolio-gallery-container .row-item .row-item-info .info-title")}),(0,k.isNotEmpty)(t.subTitleTypography)&&o.push({type:"typography",id:"subTitleTypography",selector:".".concat(e,".guten-portfolio-gallery .portfolio-gallery-container .row-item .row-item-info .info-subtitle")}),(0,k.isNotEmpty)(t.titleColor)&&o.push({type:"color",id:"titleColor",selector:".".concat(e,".guten-portfolio-gallery .portfolio-gallery-container .row-item .row-item-info .info-title"),properties:[{name:"color",valueType:"direct"}]}),(0,k.isNotEmpty)(t.subTitleColor)&&o.push({type:"color",id:"subTitleColor",selector:".".concat(e,".guten-portfolio-gallery .portfolio-gallery-container .row-item .row-item-info .info-subtitle"),properties:[{name:"color",valueType:"direct"}]}),(0,k.isNotEmpty)(t.titleTextShadow)&&o.push({type:"textShadow",id:"titleTextShadow",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(e,".guten-portfolio-gallery .portfolio-gallery-container .row-item .row-item-info .info-title")}),(0,k.isNotEmpty)(t.subTitleTextShadow)&&o.push({type:"textShadow",id:"subTitleTextShadow",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(e,".guten-portfolio-gallery .portfolio-gallery-container .row-item .row-item-info .info-subtitle")}),(0,k.isNotEmpty)(t.titleColorHover)&&o.push({type:"color",id:"titleColorHover",selector:".".concat(e,".guten-portfolio-gallery .portfolio-gallery-container .row-item:hover .row-item-info .info-title"),properties:[{name:"color",valueType:"direct"}]}),(0,k.isNotEmpty)(t.subTitleColorHover)&&o.push({type:"color",id:"subTitleColorHover",selector:".".concat(e,".guten-portfolio-gallery .portfolio-gallery-container .row-item:hover .row-item-info .info-subtitle"),properties:[{name:"color",valueType:"direct"}]}),(0,k.isNotEmpty)(t.titleTextShadowHover)&&o.push({type:"textShadow",id:"titleTextShadowHover",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(e,".guten-portfolio-gallery .portfolio-gallery-container .row-item:hover .row-item-info .info-title")}),(0,k.isNotEmpty)(t.subTitleTextShadowHover)&&o.push({type:"textShadow",id:"subTitleTextShadowHover",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(e,".guten-portfolio-gallery .portfolio-gallery-container .row-item:hover .row-item-info .info-subtitle")}),o}(e,t,o),o=function(e,t,o){return(0,k.isNotEmpty)(t.linkAlignment)&&o.push({type:"plain",id:"linkAlignment",selector:".".concat(e,".guten-portfolio-gallery .portfolio-gallery-container .row-item .row-link-wrapper"),properties:[{name:"justify-content",valueType:"direct"}]}),(0,k.isNotEmpty)(t.linkPadding)&&o.push({type:"dimension",id:"linkPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e,".guten-portfolio-gallery .portfolio-gallery-container .row-item .row-link-wrapper a")}),(0,k.isNotEmpty)(t.linkMargin)&&o.push({type:"dimension",id:"linkMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e,".guten-portfolio-gallery .portfolio-gallery-container .row-item .row-link-wrapper a")}),(0,k.isNotEmpty)(t.linkBackground)&&o.push({type:"background",id:"linkBackground",selector:".".concat(e,".guten-portfolio-gallery .portfolio-gallery-container .row-item .row-link-wrapper a")}),(0,k.isNotEmpty)(t.linkBorder)&&o.push({type:"borderResponsive",id:"linkBorder",selector:".".concat(e,".guten-portfolio-gallery .portfolio-gallery-container .row-item .row-link-wrapper a")}),(0,k.isNotEmpty)(t.linkTypography)&&o.push({type:"typography",id:"linkTypography",selector:".".concat(e,".guten-portfolio-gallery .portfolio-gallery-container .row-item .row-link-wrapper a")}),(0,k.isNotEmpty)(t.linkIconSpace)&&o.push({type:"unitPoint",id:"linkIconSpace",responsive:!0,properties:[{name:"gap",valueType:"direct"}],selector:".".concat(e,".guten-portfolio-gallery .portfolio-gallery-container .row-item .row-link-wrapper a")}),(0,k.isNotEmpty)(t.linkIconSize)&&o.push({type:"unitPoint",id:"linkIconSize",responsive:!0,properties:[{name:"font-size",valueType:"direct"}],selector:".".concat(e,".guten-portfolio-gallery .portfolio-gallery-container .row-item .row-link-wrapper a i")}),(0,k.isNotEmpty)(t.linkColor)&&o.push({type:"color",id:"linkColor",selector:".".concat(e,".guten-portfolio-gallery .portfolio-gallery-container .row-item .row-link-wrapper a"),properties:[{name:"color",valueType:"direct"}]}),(0,k.isNotEmpty)(t.linkIconColor)&&o.push({type:"color",id:"linkIconColor",selector:".".concat(e,".guten-portfolio-gallery .portfolio-gallery-container .row-item .row-link-wrapper a i"),properties:[{name:"color",valueType:"direct"}]}),(0,k.isNotEmpty)(t.linkTextShadow)&&o.push({type:"textShadow",id:"linkTextShadow",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(e,".guten-portfolio-gallery .portfolio-gallery-container .row-item .row-link-wrapper a")}),(0,k.isNotEmpty)(t.linkColorHover)&&o.push({type:"color",id:"linkColorHover",selector:".".concat(e,".guten-portfolio-gallery .portfolio-gallery-container .row-item .row-link-wrapper:hover a"),properties:[{name:"color",valueType:"direct"}]}),(0,k.isNotEmpty)(t.linkIconColorHover)&&o.push({type:"color",id:"linkIconColorHover",selector:".".concat(e,".guten-portfolio-gallery .portfolio-gallery-container .row-item .row-link-wrapper:hover a i"),properties:[{name:"color",valueType:"direct"}]}),(0,k.isNotEmpty)(t.linkTextShadowHover)&&o.push({type:"textShadow",id:"linkTextShadowHover",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(e,".guten-portfolio-gallery .portfolio-gallery-container .row-item .row-link-wrapper:hover a")}),o}(e,t,o),o=function(e,t,o){return(0,k.isNotEmpty)(t.column)&&o.push({type:"plain",id:"column",responsive:!0,selector:".".concat(e,".guten-portfolio-gallery .portfolio-gallery-container .content-items .row-item"),properties:[{name:"flex",valueType:"pattern",pattern:"calc(100% / {value}); max-width: calc(100% / {value})",patternValues:{value:{type:"direct"}}}]}),(0,k.isNotEmpty)(t.rowHeight)&&o.push({type:"unitPoint",id:"rowHeight",responsive:!0,properties:[{name:"height",valueType:"direct"}],selector:".".concat(e,".guten-portfolio-gallery .portfolio-gallery-container .content-items .row-item")}),(0,k.isNotEmpty)(t.reversePosition)&&o.push({type:"plain",id:"reversePosition",properties:[{name:"flex-direction",valueType:"pattern",pattern:"column-reverse"}],selector:".".concat(e,".guten-portfolio-gallery .portfolio-gallery-container .content-items .row-item")}),(0,k.isNotEmpty)(t.reversePosition)&&o.push({type:"plain",id:"reversePosition",properties:[{name:"transform",valueType:"pattern",pattern:"translateY(-100%)"}],selector:".".concat(e,".guten-portfolio-gallery .portfolio-gallery-container .content-items .row-item .row-link-wrapper")}),(0,k.isNotEmpty)(t.reversePosition)&&o.push({type:"plain",id:"reversePosition",properties:[{name:"transform",valueType:"pattern",pattern:"translateY(0)"}],selector:".".concat(e,".guten-portfolio-gallery .portfolio-gallery-container .content-items .row-item:hover .row-link-wrapper")}),(0,k.isNotEmpty)(t.reversePosition)&&o.push({type:"plain",id:"reversePosition",properties:[{name:"transform-origin",valueType:"pattern",pattern:"0 100%"}],selector:".".concat(e,".guten-portfolio-gallery .portfolio-gallery-container .content-items .row-item .row-item-info::after")}),(0,k.isNotEmpty)(t.linkIconPosition)&&o.push({type:"plain",id:"linkIconPosition",properties:[{name:"flex-direction",valueType:"direct"}],selector:".".concat(e,".guten-portfolio-gallery .portfolio-gallery-container .content-items .row-item .row-link-wrapper a")}),o}(e,t,o),o=(0,d.backgroundStyle)({attributes:t,data:o,elementId:e}),(0,k.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,k.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,k.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,k.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,k.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,k.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,k.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,k.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,k.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,k.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,k.isNotEmpty)(t.animation)&&(0,k.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,k.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,k.isNotEmpty)(t.positioningType)&&(0,k.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,k.isNotEmpty)(t.positioningWidth)&&(0,k.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,k.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,k.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,k.isNotEmpty)(t.positioningLeft)&&(0,k.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,k.isNotEmpty)(t.positioningRight)&&(0,k.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,k.isNotEmpty)(t.positioningTop)&&(0,k.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,k.isNotEmpty)(t.positioningBottom)&&(0,k.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),[].concat((0,C.A)(o),(0,C.A)((0,P.applyFilters)("gutenverse.portfolio-gallery.blockStyle",[],{elementId:e,attributes:t})))};function E(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function D(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?E(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):E(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const B=(0,l.compose)(c.withPartialRender,c.withPassRef,(0,c.withAnimationAdvanceV2)("portfolio-gallery"),c.withMouseMoveEffect)((function(e){var t=e.attributes,o=e.setAttributes,n=e.clientId,l=e.setBlockRef,c=t.elementId,u=t.images,y=t.showLink,g=t.linkText,v=t.linkIcon,h=t.behavior,b=window.GutenverseConfig.gutenverseImgPlaceholder,f=(0,i.useRef)(),x=(0,p.useAnimationEditor)(t),w=(0,p.useDisplayEditor)(t);(0,O.useGenerateElementId)(n,c,f),(0,O.useDynamicStyle)(c,t,N,f),(0,O.useDynamicScript)(f);var S=(0,i.useState)(0),_=(0,r.A)(S,2),C=_[0],k=_[1],P=(0,s.useBlockProps)({className:(0,a.classnames)("guten-element",c,x,w,"guten-portfolio-gallery"),ref:f});return(0,i.useEffect)((function(){var e=u,t=u.findIndex((function(e){return e.current}));-1===t?(e[0].current=!0,o({images:e})):k(t)}),[u]),(0,i.useEffect)((function(){f&&l(f)}),[f]),(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(a.CopyElementToolbar,D({},e)),(0,m.jsx)(d.BlockPanelController,{panelList:j,props:e,elementRef:f}),(0,m.jsx)("div",D(D({},P),{},{children:(0,m.jsxs)("div",{className:"portfolio-gallery-container ".concat(h),children:[(0,m.jsx)("div",{className:"content-items",children:u.map((function(e,t){return(0,m.jsxs)("div",{className:"row-item ".concat(C===t?"current-item":""),"data-tab":"portfolio-gallery-tab-".concat(t),onClick:function(){return function(e){"onclick"===h&&k(e)}(t)},onMouseEnter:function(){return function(e){"onhover"===h&&k(e)}(t)},children:[(0,m.jsxs)("div",{className:"row-item-info",children:[e.subtitle&&(0,m.jsx)("p",{className:"info-subtitle",children:e.subtitle}),e.title&&(0,m.jsx)("h2",{className:"info-title",children:e.title})]}),y&&e.link&&(0,m.jsx)("div",{className:"row-link-wrapper",children:(0,m.jsxs)("a",{href:e.link,"aria-label":e.title,target:"_blank",rel:"noreferrer",children:[g,(0,m.jsx)("i",{className:"".concat(v),"aria-hidden":"true"})]})})]},e._key)}))}),(0,m.jsx)("div",{className:"image-items",children:u.map((function(e,t){return(0,m.jsx)("div",{id:"portfolio-gallery-tab-".concat(t),className:"image-item ".concat(C===t?"current-item":""),style:{backgroundImage:"url(".concat((0,T.getImageSrc)(e.src,b),")")}},t)}))})]})}))]})}));function A(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function H(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?A(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):A(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const R=(0,l.compose)((0,c.withAnimationAdvanceScript)("portfolio-gallery"),c.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,n=t.behavior,r=t.images,i=t.showLink,l=t.linkText,c=t.linkIcon,u=(0,p.useAnimationFrontend)(t),d=(0,p.useDisplayFrontend)(t),y=(0,a.classnames)("guten-element","guten-portfolio-gallery",o,u,d);return(0,m.jsx)("div",H(H({},s.useBlockProps.save({className:y})),{},{"data-behavior":n,children:(0,m.jsxs)("div",{className:"portfolio-gallery-container ".concat(n),children:[(0,m.jsx)("div",{className:"content-items",children:r.map((function(e,t){return(0,m.jsxs)("div",{className:"row-item ".concat(e.current?"current-item":""),"data-tab":"portfolio-gallery-tab-".concat(t),children:[(0,m.jsxs)("div",{className:"row-item-info",children:[e.subtitle&&(0,m.jsx)("p",{className:"info-subtitle",children:e.subtitle}),e.title&&(0,m.jsx)("h2",{className:"info-title",children:e.title})]}),i&&e.link&&(0,m.jsx)("div",{className:"row-link-wrapper",children:(0,m.jsxs)("a",{href:e.link,"aria-label":e.title,target:"_blank",rel:"noreferrer",children:[l,(0,m.jsx)("i",{className:"".concat(c),"aria-hidden":"true"})]})})]},e._key)}))}),(0,m.jsx)("div",{className:"image-items",children:r.map((function(e,t){return(0,m.jsx)("div",{id:"portfolio-gallery-tab-".concat(t),className:"image-item ".concat(e.current?"current-item":""),style:{backgroundImage:"url(".concat((0,T.getImageSrc)(e.src),")")}},t)}))})]})}))})),I=JSON.parse('{"apiVersion":2,"name":"gutenverse/portfolio-gallery","title":"Portfolio Gallery","description":"Showcase your portfolio in image tab gallery","category":"gutenverse-element","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"mouseMoveEffect":{"type":"object","copyStyle":true},"column":{"type":"object","copyStyle":true,"default":{"Desktop":4}},"images":{"type":"array","default":[{"id":"One","title":"One","subtitle":"Sub Title","current":true,"link":"#"},{"id":"Two","title":"Two","subtitle":"Sub Title","current":false,"link":"#"},{"id":"Three","title":"Three","subtitle":"Sub Title","current":false,"link":"#"},{"id":"Four","title":"Four","subtitle":"Sub Title","current":false,"link":"#"}]},"behavior":{"type":"string","default":"onhover","copyStyle":true},"showLink":{"type":"boolean","default":true,"copyStyle":true},"reversePosition":{"type":"boolean","default":false,"copyStyle":true},"linkText":{"type":"string","default":"View More","copyStyle":true},"linkIcon":{"type":"string","default":"gtn gtn-right-arrow-light","copyStyle":true},"linkIconPosition":{"type":"string","default":"right","copyStyle":true},"rowHeight":{"type":"object","copyStyle":true},"contentAlignment":{"type":"string","default":"center","copyStyle":true},"contentPadding":{"type":"object","copyStyle":true},"contentBackground":{"type":"object","copyStyle":true},"activeBackground":{"type":"object","copyStyle":true},"titleTypography":{"type":"object","copyStyle":true},"titleColor":{"type":"object","copyStyle":true},"titleColorHover":{"type":"object","copyStyle":true},"titleTextShadow":{"type":"object","default":{},"copyStyle":true},"titleTextShadowHover":{"type":"object","default":{},"copyStyle":true},"subTitleTypography":{"type":"object","copyStyle":true},"subTitleColor":{"type":"object","copyStyle":true},"subTitleColorHover":{"type":"object","copyStyle":true},"subTitleTextShadow":{"type":"object","default":{},"copyStyle":true},"subTitleTextShadowHover":{"type":"object","default":{},"copyStyle":true},"linkAlignment":{"type":"string","default":"center","copyStyle":true},"linkPadding":{"type":"object","copyStyle":true},"linkMargin":{"type":"object","copyStyle":true},"linkBackground":{"type":"object","copyStyle":true},"linkBorder":{"type":"object","copyStyle":true},"linkTypography":{"type":"object","copyStyle":true},"linkIconSpace":{"type":"object","copyStyle":true},"linkIconSize":{"type":"object","copyStyle":true},"linkColor":{"type":"object","copyStyle":true},"linkColorHover":{"type":"object","copyStyle":true},"linkIconColor":{"type":"object","copyStyle":true},"linkIconColorHover":{"type":"object","copyStyle":true},"linkTextShadow":{"type":"object","copyStyle":true},"linkTextShadowHover":{"type":"object","copyStyle":true},"background":{"type":"object","default":{},"copyStyle":true},"backgroundHover":{"type":"object","default":{},"copyStyle":true},"backgroundTransition":{"type":"object","copyStyle":true,"default":{}},"border":{"type":"object","copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"borderHover":{"type":"object","copyStyle":true},"boxShadowHover":{"type":"object"},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"animation":{"type":"object","default":{},"copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"positioningType":{"type":"object","copyStyle":true},"positioningWidth":{"type":"object","copyStyle":true},"positioningAlign":{"type":"object","copyStyle":true},"positioningLocation":{"type":"string","copyStyle":true},"positioningLeft":{"type":"object","copyStyle":true},"positioningRight":{"type":"object","copyStyle":true},"positioningTop":{"type":"object","copyStyle":true},"positioningBottom":{"type":"object","copyStyle":true},"advanceAnimation":{"type":"object","default":{},"copyStyle":true},"transform":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"condition":{"type":"object","default":{}}},"supports":{"className":false},"keywords":["gallery","image","tab","portofolio"]}');var M=o(4889),L=I.name,z=(I.attributes,{icon:(0,m.jsx)(M.mC,{}),edit:B,save:R})},4889:(e,t,o)=>{"use strict";o.d(t,{Qb:()=>No,uR:()=>Eo,sT:()=>Do,yp:()=>Cn,nh:()=>Bo,EW:()=>Ao,Wd:()=>An,_H:()=>Ho,l$:()=>En,Pz:()=>Ro,SO:()=>Io,ID:()=>Dn,rg:()=>Mo,uG:()=>Lo,ET:()=>zo,AN:()=>Fo,QX:()=>Vo,Xx:()=>Wo,RP:()=>nn,MQ:()=>Go,ze:()=>Po,Rs:()=>ko,ie:()=>Uo,jJ:()=>Pn,mC:()=>Bn,BO:()=>fn,RT:()=>xn,pZ:()=>wn,UH:()=>Sn,Lk:()=>_n,ov:()=>jn,Xb:()=>Tn,U0:()=>On,q5:()=>qo,Iu:()=>on,Ve:()=>Co,GP:()=>kn,v7:()=>an,NN:()=>sn,py:()=>ln,zb:()=>cn,Pm:()=>pn,fA:()=>un,PA:()=>$o,jm:()=>dn,OL:()=>yn,PL:()=>gn,e0:()=>mn,Yk:()=>vn,nT:()=>hn,p6:()=>bn,Vn:()=>Yo,mV:()=>Xo,NI:()=>Jo,jI:()=>rn,av:()=>Qo,Vm:()=>Zo,lr:()=>Ko,kP:()=>en,$S:()=>Nn,FT:()=>tn});var n=o(6065),r=(o(1609),o(790));function i(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function a(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?i(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):i(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const s=function(e){return(0,r.jsxs)("svg",a(a({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-accordion_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-accordion_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-accordion_svg__SVGID_1_",x1:12,x2:12,y1:0,y2:24,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"M19.5 2.25H21v1.5h-1.5zM14.163 24H0V0h24v16.435l-1.5-2.598V6h-21v10.5h11.569l-.866 1.5H1.5v1.5h10.064l.866 1.5H1.5v1.5h11.797zM1.5 4.5h21v-3h-21z",style:{fill:"url(#icon-accordion_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m16.005 19.281 1.271 2.203h2.543l-1.271-2.203z",className:"icon-accordion_svg__st1"}),(0,r.jsx)("path",{d:"M21.264 14.608h-5.422l-2.71 4.695 2.71 4.695h5.422l2.71-4.695zm-.81 7.977h-3.813l-1.907-3.303.635-1.102h3.815l1.907 3.304zm1.272-2.203L19.82 17.08h-3.814l.636-1.1h3.814l1.907 3.302z",className:"icon-accordion_svg__st1"})]}))};function l(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function c(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?l(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):l(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const p=function(e){return(0,r.jsxs)("svg",c(c({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-advance-heading_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-advance-heading_svg__st7{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-advance-heading_svg__SVGID_1_",x1:12,x2:12,y1:0,y2:23.875,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"M4.375 12.875h15.25v.231h1.75v-.231H22.4v-1.75h-1.025V1.75H23.1V0h-5.2v1.75h1.725v9.375H4.375v-9.35H6.1V.025H.9v1.75h1.725v9.35H1.6v1.75h1.025v9.25H.9v1.75h5.2v-1.75H4.375z",style:{fill:"url(#icon-advance-heading_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m16.04 19.236 1.27 2.202h2.543l-1.271-2.202z",className:"icon-advance-heading_svg__st7"}),(0,r.jsx)("path",{d:"M21.298 14.562h-5.421l-2.711 4.695 2.71 4.695h5.422l2.71-4.695zm-.809 7.977h-3.814l-1.907-3.303.636-1.101h3.814l1.907 3.303zm1.271-2.202-1.907-3.303H16.04l.636-1.101h3.814l1.907 3.303z",className:"icon-advance-heading_svg__st7"})]}))};function u(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function d(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?u(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):u(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const y=function(e){return(0,r.jsxs)("svg",d(d({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-animated-text_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-animated-text_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-animated-text_svg__SVGID_1_",x1:12,x2:12,y1:3.099,y2:19.709,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"M18.08 10.36a3.2 3.2 0 0 1-.45-1.69 3.2 3.2 0 0 1 .45-1.68 3.14 3.14 0 0 1 1.26-1.16 3.9 3.9 0 0 1 1.82-.42 3.5 3.5 0 0 1 1.75.42c.487.267.87.689 1.09 1.2l-1.39.76a1.54 1.54 0 0 0-1.42-.87 1.62 1.62 0 0 0-1.19.47 1.74 1.74 0 0 0-.47 1.28A1.76 1.76 0 0 0 20 9.96c.306.303.72.472 1.15.47a1.53 1.53 0 0 0 1.42-.87l1.43.77a2.5 2.5 0 0 1-1.09 1.18 3.5 3.5 0 0 1-.448.203l-.336-.583h-3.348c-.27-.22-.514-.47-.698-.77m-6.32 1.48H10V3.1h1.81v3.12a2.45 2.45 0 0 1 1.91-.81 3.27 3.27 0 0 1 1.61.41c.492.258.898.654 1.17 1.14.288.522.433 1.112.42 1.71a3.4 3.4 0 0 1-.42 1.72 2.9 2.9 0 0 1-.603.74h-.874l-.402.697c-.28.074-.569.115-.861.113a2.43 2.43 0 0 1-2-.83zm.03-3.17c-.025.469.137.929.45 1.28.641.64 1.68.64 2.32 0A1.78 1.78 0 0 0 15 8.67a1.76 1.76 0 0 0-.44-1.27v-.001a1.64 1.64 0 0 0-2.32 0 1.76 1.76 0 0 0-.45 1.27M2 11.84H0L3.67 3.6h1.89l3.68 8.24h-2l-.73-1.76H2.69zm1.3-3.21h2.61L4.6 5.47zm6.92 9.5c-.4.16-.94.33-1.39.45l.18.726q.737-.206 1.45-.487c.43-.16.86-.35 1.4-.61l-.324-.668c-.53.25-.916.428-1.316.588m-1.21 1.18v-.004L9 19.31zM3 18.74c-.444-.036-.93-.16-1.43-.26l-.14.67-.01.07c.5.11.997.23 1.45.26H3l.12-.74s-.09.002-.12 0m4.41.11q-.702.092-1.41.11h-.11q-.7.034-1.4 0v.75H6c.52 0 1 0 1.54-.1l-.09-.74z",style:{fill:"url(#icon-animated-text_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m16.027 17.26 1.27 2.202h2.543l-1.27-2.202z",className:"icon-animated-text_svg__st1"}),(0,r.jsx)("path",{d:"M21.285 12.586h-5.421l-2.711 4.695 2.71 4.695h5.422l2.711-4.695zm-.809 7.977h-3.814l-1.907-3.303.636-1.102h3.814l1.907 3.304zm1.271-2.203-1.906-3.303h-3.815l.636-1.1h3.814l1.907 3.302z",className:"icon-animated-text_svg__st1"})]}))};function g(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function m(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?g(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):g(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const v=function(e){return(0,r.jsxs)("svg",m(m({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-box_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-box_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-box_svg__SVGID_1_",x1:9.289,x2:9.289,y1:.658,y2:22.418,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"M10.882 19.418H1.039v-1.5h9.818l-.42.729zm-1.423-9.85 2.08-1.32 2.08 1.32-.61-2.39 1.86-1.58-2.42-.16-.91-2.29-.91 2.29-2.42.16 1.86 1.58zm2.289 11.35H3.289v1.5h9.325zm.841-6H5.54v1.5h6.184zm-7.05-8.26a6 6 0 1 1 12 0 6 6 0 0 1-12 0m1.5 0a4.5 4.5 0 1 0 4.5-4.5 4.51 4.51 0 0 0-4.5 4.5",style:{fill:"url(#icon-box_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m14.991 18.625 1.271 2.203h2.543l-1.271-2.203z",className:"icon-box_svg__st1"}),(0,r.jsx)("path",{d:"M20.25 13.952h-5.421l-2.711 4.695 2.71 4.695h5.422l2.71-4.695zm-.81 7.977h-3.813l-1.907-3.303.636-1.102h3.814l1.907 3.304zm1.272-2.203-1.907-3.303h-3.814l.636-1.1h3.814l1.907 3.302z",className:"icon-box_svg__st1"})]}))};function h(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function b(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?h(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):h(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const f=function(e){return(0,r.jsxs)("svg",b(b({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-button_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-button_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-button_svg__SVGID_1_",x1:12,x2:12,y1:3.66,y2:17.16,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"M12.272 17.16H0V3.66h24v9.209l-1.5-2.598V5.16h-21v10.5h9.906zM6 9.66v1.5h7.987l.866-1.5z",style:{fill:"url(#icon-button_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m15.952 15.624 1.271 2.202h2.543l-1.271-2.203z",className:"icon-button_svg__st1"}),(0,r.jsx)("path",{d:"M21.21 10.95h-5.42l-2.711 4.695 2.71 4.695h5.422l2.71-4.695zm-.808 7.977h-3.814l-1.907-3.303.635-1.102h3.815l1.907 3.304zm1.271-2.203-1.907-3.303h-3.814l.636-1.1h3.814l1.907 3.302z",className:"icon-button_svg__st1"})]}))};function x(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function w(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?x(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):x(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const S=function(e){return(0,r.jsxs)("svg",w(w({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-client-logo_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-client-logo_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-client-logo_svg__SVGID_1_",x1:10.988,x2:10.988,y1:3.675,y2:14.175,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"m15.056 9.479 3.288-5.694 3.288 5.694h-1.733l-1.555-2.694-1.555 2.694zM.344 3.675h10.5v10.5H.344zm1.5 9h7.5v-7.5h-7.5z",style:{fill:"url(#icon-client-logo_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m15.687 15.609 1.27 2.202h2.544l-1.272-2.203z",className:"icon-client-logo_svg__st1"}),(0,r.jsx)("path",{d:"M20.945 10.935h-5.421l-2.711 4.695 2.71 4.695h5.422l2.711-4.695zm-.809 7.977h-3.814l-1.907-3.303.636-1.102h3.814l1.907 3.304zm1.272-2.203L19.5 13.406h-3.815l.636-1.1h3.815l1.906 3.302z",className:"icon-client-logo_svg__st1"})]}))};function _(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function j(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?_(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):_(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const T=function(e){return(0,r.jsxs)("svg",j(j({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-divider_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-divider_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-divider_svg__SVGID_1_",x1:12,x2:12,y1:2.623,y2:18.789,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"M14.25 6.513h-4.5L12 2.623zm9.75 3.68H0v1.5h24zm-10.302 5.18H9.75l1.976 3.416z",style:{fill:"url(#icon-divider_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m16.006 19.242 1.271 2.202h2.543l-1.271-2.202z",className:"icon-divider_svg__st1"}),(0,r.jsx)("path",{d:"M21.265 14.568h-5.422l-2.71 4.695 2.71 4.695h5.422l2.71-4.695zm-.81 7.977h-3.813l-1.907-3.303.636-1.101h3.814l1.907 3.303zm1.272-2.202L19.82 17.04h-3.814l.636-1.101h3.814l1.907 3.303z",className:"icon-divider_svg__st1"})]}))};function O(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function C(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?O(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):O(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const k=function(e){return(0,r.jsxs)("svg",C(C({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-dualbutton_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-dualbutton_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-dualbutton_svg__SVGID_1_",x1:12,x2:12,y1:0,y2:24,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"m12.18 18-.739 1.279.128.221H6V18zM24 10.5H0V0h24zm-1.5-9h-21V9h21zm-9.199 21H1.5V15h12.412l.866-1.5H0V24h14.167zM18 4.5H6V6h12z",style:{fill:"url(#icon-dualbutton_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m15.996 19.257 1.271 2.202h2.543l-1.271-2.202z",className:"icon-dualbutton_svg__st1"}),(0,r.jsx)("path",{d:"M21.255 14.583h-5.422l-2.71 4.695 2.71 4.696h5.422l2.71-4.695zm-.81 7.978h-3.813l-1.907-3.304.635-1.101h3.815l1.907 3.303zm1.272-2.203-1.907-3.303h-3.814l.636-1.101h3.814l1.907 3.303z",className:"icon-dualbutton_svg__st1"})]}))};function P(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function N(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?P(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):P(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const E=function(e){return(0,r.jsxs)("svg",N(N({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-funfacts_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-funfacts_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-funfacts_svg__SVGID_1_",x1:10.745,x2:10.745,y1:26,y2:2.04,gradientTransform:"matrix(1 0 0 -1 0 26)",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"M3.014 8.046a8.046 8.046 0 1 1 14.285 5.077h-2.105a6.549 6.549 0 1 0-4.134 1.472 6.5 6.5 0 0 0 3.814-1.232l-1.353 2.343a8.046 8.046 0 0 1-10.507-7.66m6.928 10.552v.998h1.717l-.192-.332.384-.666zM12.278 6.41 11.06 3.334 9.832 6.41l-3.235.21 2.486 2.116-.819 3.205 2.796-1.768 2.785 1.767-.809-3.204 2.486-2.116zm-.43 13.517-.788.898v.799h.569c.669 0 .998.22.998.649a.56.56 0 0 1-.26.489c-.216.13-.466.192-.718.18-.274 0-.547-.04-.809-.12a2.5 2.5 0 0 1-.689-.35l-.479.929c.275.191.583.33.908.41q.539.148 1.099.149c.41.01.82-.069 1.197-.23.299-.13.552-.346.73-.619.015-.025.02-.054.035-.08zm-3.454 1.817c.283-.241.52-.532.699-.859.12-.249.182-.522.18-.798.008-.293-.08-.58-.25-.819a1.6 1.6 0 0 0-.679-.54 2.5 2.5 0 0 0-.998-.189 2.86 2.86 0 0 0-1.238.26c-.34.157-.633.401-.848.709l.888.579c.115-.172.274-.31.46-.4.193-.09.405-.134.618-.13a1 1 0 0 1 .629.17.57.57 0 0 1 .21.48.9.9 0 0 1-.16.449q-.17.301-.43.529L5.48 23.09v.79h3.993v-1H7.216zm-6.01-2.147h1.049v4.273H4.64v-5.24l-2.256-.03z",style:{fill:"url(#icon-funfacts_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m16.023 19.234 1.27 2.202h2.543l-1.271-2.202z",className:"icon-funfacts_svg__st1"}),(0,r.jsx)("path",{d:"M21.281 14.56H15.86l-2.711 4.695 2.71 4.696h5.422l2.71-4.696zm-.809 7.978h-3.814l-1.907-3.304.636-1.101H19.2l1.907 3.303zm1.271-2.203-1.906-3.303h-3.815l.636-1.101h3.814l1.907 3.303z",className:"icon-funfacts_svg__st1"})]}))};function D(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function B(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?D(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):D(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const A=function(e){return(0,r.jsxs)("svg",B(B({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-gallery_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-gallery_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-gallery_svg__SVGID_1_",x1:12,x2:12,y1:0,y2:24,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"M17 13.144V0h7v15.5h-.515l-.985-1.706V1.5h-4v11.644zM15.5 7h-7V0h7zM14 1.5h-4v4h4zm-7 14H0v-7h7zM5.5 10h-4v4h4zm7.822 12.5H1.5v-4h10.43l.866-1.5H0v7h14.188zm.34-7H8.5v-7h7v4.644h-.477zM10 14h4v-4h-4zM7 7H0V0h7zM5.5 1.5h-4v4h4z",style:{fill:"url(#icon-gallery_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m16.026 19.274 1.271 2.202h2.543l-1.272-2.202z",className:"icon-gallery_svg__st1"}),(0,r.jsx)("path",{d:"M21.285 14.6h-5.422l-2.71 4.695 2.71 4.695h5.422l2.71-4.695zm-.81 7.977h-3.814l-1.907-3.303.636-1.101h3.815l1.906 3.303zm1.272-2.202-1.907-3.303h-3.814l.636-1.101h3.814l1.907 3.303z",className:"icon-gallery_svg__st1"})]}))};function H(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function R(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?H(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):H(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const I=function(e){return(0,r.jsxs)("svg",R(R({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-gmaps_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-gmaps_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-gmaps_svg__SVGID_1_",x1:12.004,x2:12.004,y1:0,y2:24,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"M7.13 5.25H5a2 2 0 1 0 .1 4h.049c.014.039.042.075.061.115-1.75.32-2.66 1.005-2.66 1.885a2.26 2.26 0 0 0 2.492 2h.008c1.3 0 2.5-.24 2.5-2a2.46 2.46 0 0 0-1-1.73 2.1 2.1 0 0 1-.5-.57 2 2 0 0 0 1-1.69 2 2 0 0 0-.27-1h.27a.51.51 0 0 0 .58-.51.51.51 0 0 0-.5-.5m-.5 5.99c0 .66-.06 1-1.49 1-1.23 0-1.5-.79-1.5-1s.63-.75 2.38-1c.37.4.61.65.61 1m-1.49-3a1 1 0 1 1 0-2 1 1 0 0 1 .99 1.01c0 .552-.438.99-.99.99m12.15-.07a2 2 0 0 1-.79-.27A2.15 2.15 0 0 1 15.41 6 2.28 2.28 0 0 1 16 4.51a2.25 2.25 0 0 1 1.58-.75 2.28 2.28 0 0 1 1.42.51l.28.24q.137.164.24.35c.16.245.265.521.31.81q.015.165 0 .33a2.21 2.21 0 0 1-2.21 2.17q-.165.022-.33 0m-3.975 14.31H3l7.22-7.22 2.395 2.054.757-1.31-2.092-1.794 2.31-2.31c.332.646.686 1.28 1.05 1.908l.385-.668h.889c-.344-.592-.68-1.19-.994-1.8l-.27-.53-.34-.73c-.1-.24-.21-.47-.3-.7A12 12 0 0 1 13.25 7a4 4 0 0 1-.08-.53c-.01-.146-.004-.293 0-.44.033-1.104.397-2.173 1.13-3A4.48 4.48 0 0 1 21 3q.211.225.37.49A4.4 4.4 0 0 1 22.11 6s.008.33 0 .44c-.01.134-.05.34-.09.53A11.5 11.5 0 0 1 21.36 9q-.18.48-.42 1c-.19.41-.4.85-.63 1.3-.14.3-.31.58-.45.87v.02c-.164.305-.357.63-.543.95h2.073v-.59a21.3 21.3 0 0 0 2.06-5.08c.05-.172.05-.15.075-.3.026-.158.076-.39.085-.64q.015-.28 0-.56A6 6 0 0 0 17.62 0a6 6 0 0 0-5.21 3H.39v21h13.802zM1.86 4.53h9.92c-.111.482-.136.976-.15 1.47a8 8 0 0 0 0 .56c.008.2.047.378.08.6.022.145.027.171.07.34.262 1.024.565 2.037 1 3l-11 11z",style:{fill:"url(#icon-gmaps_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m16.029 19.27 1.27 2.202h2.544L18.57 19.27z",className:"icon-gmaps_svg__st1"}),(0,r.jsx)("path",{d:"M21.287 14.596h-5.421l-2.711 4.695 2.71 4.695h5.422l2.711-4.695zm-.809 7.977h-3.814l-1.907-3.303.636-1.101h3.814l1.907 3.303zm1.271-2.202-1.906-3.303h-3.815l.636-1.101h3.814l1.907 3.303z",className:"icon-gmaps_svg__st1"})]}))};function M(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function L(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?M(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):M(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const z=function(e){return(0,r.jsxs)("svg",L(L({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-heading_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-heading_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-heading_svg__SVGID_1_",x1:12,x2:12,y1:0,y2:24,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"M13.268 22.5H12.8v-.81l-1.372-2.377 1.372-2.377V1.5H21v2.6h1.5V0h-21v4.1H3V1.5h8.2v21h-5V24h7.934z",style:{fill:"url(#icon-heading_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"M18.573 19.291h-2.542l1.27 2.203h2.544z",className:"icon-heading_svg__st1"}),(0,r.jsx)("path",{d:"M21.29 14.618h-5.422l-2.711 4.695 2.71 4.695h5.422L24 19.313zm-.81 7.977h-3.814l-1.907-3.303.636-1.102h3.814l1.907 3.303zm1.272-2.203-1.907-3.303H16.03l.636-1.1h3.814l1.907 3.302z",className:"icon-heading_svg__st1"})]}))};function F(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function V(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?F(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):F(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const W=function(e){return(0,r.jsxs)("svg",V(V({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-image-box_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-image-box_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-image-box_svg__SVGID_1_",x1:12,x2:12,y1:0,y2:23.25,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"M6 15.75h7.528l-.866 1.5H6zM5.25 3a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3m6.225 16.305.32-.555H1.5v1.5h10.52zM0 13.5V0h24v13.5zm22.5-4.07-6.72-3.91L6.2 12h16.3zM3.52 12l12.2-8.25 6.78 3.94V1.5h-21L1.52 12zm9.367 9.75H3.75v1.5h10.003z",style:{fill:"url(#icon-image-box_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m16.03 19.284 1.27 2.202h2.544l-1.272-2.202z",className:"icon-image-box_svg__st1"}),(0,r.jsx)("path",{d:"M21.288 14.61h-5.421l-2.711 4.695L15.866 24h5.422L24 19.305zm-.809 7.977h-3.814l-1.907-3.303.636-1.101h3.814l1.907 3.303zm1.272-2.203-1.907-3.303h-3.815l.636-1.1h3.815l1.906 3.302z",className:"icon-image-box_svg__st1"})]}))};function G(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function U(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?G(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):G(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const q=function(e){return(0,r.jsxs)("svg",U(U({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-image_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-image_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-image_svg__SVGID_1_",x1:12,x2:12,y1:0,y2:24,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"M4.5 6.36v.02a2.63 2.63 0 1 0 0-.02m3.76.01A1.13 1.13 0 1 1 6 6.39v-.01a1.12 1.12 0 0 1 1.11-1.13h.01a1.13 1.13 0 0 1 1.14 1.12m5.058 16.13H5.13L15.81 9.37l3.767 3.767h2.12L15.69 7.13 3.19 22.5H1.5v-21h21v12.3l1.5 2.598V0H0v24h14.184z",style:{fill:"url(#icon-image_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m16.018 19.267 1.271 2.202h2.543l-1.271-2.202z",className:"icon-image_svg__st1"}),(0,r.jsx)("path",{d:"M21.277 14.593h-5.421l-2.711 4.695 2.71 4.695h5.422l2.71-4.695zm-.81 7.977h-3.813l-1.907-3.303.636-1.101h3.814l1.907 3.303zm1.272-2.202-1.907-3.303h-3.814l.636-1.101h3.814l1.907 3.303z",className:"icon-image_svg__st1"})]}))};function $(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Y(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?$(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):$(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const X=function(e){return(0,r.jsxs)("svg",Y(Y({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-list_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-list_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-list_svg__SVGID_1_",x1:12,x2:12,y1:3.75,y2:20.25,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"M13.313 12.75H6.75v-1.5h7.429zM24 5.25H6.75v1.5H24zM4.5 18A2.25 2.25 0 1 1 0 18a2.25 2.25 0 0 1 4.5 0M3 18a.76.76 0 0 0-.75-.75A.75.75 0 1 0 3 18m9.305-.75H6.75v1.5h6.42zM4.5 12A2.25 2.25 0 1 1 0 12a2.25 2.25 0 0 1 4.5 0M3 12a.76.76 0 0 0-.75-.75A.75.75 0 1 0 3 12m1.5-6A2.25 2.25 0 1 1 0 6a2.25 2.25 0 0 1 4.5 0M3 6a.76.76 0 0 0-.75-.75A.75.75 0 1 0 3 6",style:{fill:"url(#icon-list_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"M17.336 18.054h2.542l-1.271-2.202h-2.543",className:"icon-list_svg__st1"}),(0,r.jsx)("path",{d:"M21.288 11.268h-5.421l-2.711 4.696 2.71 4.695h5.422L24 15.964zm-.774 7.887H16.7l-1.907-3.303.636-1.101h3.814l1.907 3.303zm1.271-2.202-1.907-3.303h-3.814l.636-1.101h3.814l1.907 3.303z",className:"icon-list_svg__st1"})]}))};function J(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Q(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?J(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):J(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Z=function(e){return(0,r.jsxs)("svg",Q(Q({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-nav_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-nav_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-nav_svg__SVGID_1_",x1:12,x2:12,y1:23.12,y2:5.12,gradientTransform:"matrix(1 0 0 -1 0 26)",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"M9 17.88H3v-1.5h6zm0-7.5H3v1.5h6zm0 3H3v1.5h6zM7.5 5.13H3v1.5h4.5zM24 2.88v6H12v12H0v-18zm-13.5 6h-9v10.5h9zm12-4.5h-21v3h21zm-8.25.75h-4.5v1.5h4.5zm6.75 0h-4.5v1.5H21z",style:{fill:"url(#icon-nav_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m15.965 16.177 1.271 2.202h2.543l-1.272-2.202z",className:"icon-nav_svg__st1"}),(0,r.jsx)("path",{d:"M21.224 11.503h-5.422l-2.71 4.695 2.71 4.695h5.422l2.71-4.695zm-.81 7.977H16.6l-1.907-3.303.636-1.101h3.815l1.906 3.303zm1.272-2.203-1.907-3.303h-3.815l.636-1.1h3.815l1.907 3.302z",className:"icon-nav_svg__st1"})]}))};function K(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function ee(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?K(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):K(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const te=function(e){return(0,r.jsxs)("svg",ee(ee({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-progressbar_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-progressbar_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-progressbar_svg__SVGID_1_",x1:12,x2:12,y1:2.979,y2:19.479,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"M24 2.979H0v4.5h24zm-1.5 3h-8.25v-1.5h8.25zm-9.457 13.5H0v-4.5h12.433l-.994 1.722zm.256-6H0v-4.5h24v4.875l-1.498-2.594-.002-.548v-.233H9.75v1.5h4.415z",style:{fill:"url(#icon-progressbar_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m15.993 16.68 1.271 2.201h2.543l-1.271-2.202z",className:"icon-progressbar_svg__st1"}),(0,r.jsx)("path",{d:"M21.252 12.006H15.83L13.12 16.7l2.71 4.695h5.422l2.71-4.695zm-.81 7.977H16.63l-1.907-3.303.635-1.102h3.815l1.907 3.304zm1.272-2.203-1.907-3.303h-3.814l.636-1.1h3.814l1.907 3.302z",className:"icon-progressbar_svg__st1"})]}))};function oe(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function ne(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?oe(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):oe(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const re=function(e){return(0,r.jsxs)("svg",ne(ne({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-share_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-share_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-share_svg__SVGID_1_",x1:11.614,x2:11.614,y1:.641,y2:17.138,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"M13.455 15.833 8.5 13.07c.093-.362.13-.736.11-1.11 0-.38-.057-.757-.17-1.12l7.07-4a3.71 3.71 0 0 0 2.83 1.3 3.75 3.75 0 1 0-3.73-3.77v.03c-.001.384.06.766.18 1.13l-7.06 4a3.72 3.72 0 0 0-2.86-1.32 3.75 3.75 0 1 0 0 7.5 3.71 3.71 0 0 0 2.85-1.33l4.983 2.757zM16.14 4.4a2.25 2.25 0 0 1 2.21-2.25 2.27 2.27 0 1 1-2.21 2.62 1.5 1.5 0 0 1 0-.37m-9.03 7.56q.005.18-.02.36a2.5 2.5 0 0 1-.24.72 2.1 2.1 0 0 1-.48.59 2.23 2.23 0 0 1-1.5.58 2.25 2.25 0 1 1 0-4.5 2.24 2.24 0 0 1 2.24 1.9q.015.176 0 .35",style:{fill:"url(#icon-share_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m16.003 19.289 1.27 2.202h2.543l-1.271-2.203z",className:"icon-share_svg__st1"}),(0,r.jsx)("path",{d:"M21.261 14.615H15.84l-2.711 4.695 2.71 4.695h5.422l2.71-4.695zm-.809 7.977h-3.814l-1.907-3.303.636-1.102h3.814l1.907 3.304zm1.271-2.203-1.906-3.303h-3.815l.636-1.1h3.814l1.907 3.302z",className:"icon-share_svg__st1"})]}))};function ie(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function ae(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ie(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ie(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const se=function(e){return(0,r.jsxs)("svg",ae(ae({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-social_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-social_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-social_svg__SVGID_1_",x1:12,x2:12,y1:0,y2:23.901,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"M11.64 16.44a4.46 4.46 0 0 1-3.4-2L4.5 16.23q.008.135 0 .27a2.25 2.25 0 1 1-.43-1.32l3.66-1.76A4.5 4.5 0 0 1 7.5 12a4.45 4.45 0 0 1 1.28-3.13L6.92 6.55a2.3 2.3 0 0 1-.92.2 2.25 2.25 0 1 1 1.8-.9l1.86 2.32A4.35 4.35 0 0 1 12 7.5a4.4 4.4 0 0 1 2.75.95l5.06-5.06a2.25 2.25 0 1 1 1.94 1.11 2.2 2.2 0 0 1-1.14-.27l-5.06 5.06a4.4 4.4 0 0 1 .931 3.07h-1.463l-.05.087c.012-.102.04-.332.032-.447a3 3 0 0 0-4.39-2.66 3.2 3.2 0 0 0-.89.71A3 3 0 0 0 9 12q-.022.416.08.82c.092.362.255.702.48 1a3 3 0 0 0 2 1.18c.147.01.293.026.44.026.263 0 .455-.02.68-.056a3 3 0 0 0 1.15-.553L11.704 18.1zm.098 2.54.022.58a2.22 2.22 0 1 0 1.312 4.242c.425-.132.78-.382 1.045-.7z",style:{fill:"url(#icon-social_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m16.021 18.49 1.271 2.201h2.543l-1.271-2.202z",className:"icon-social_svg__st1"}),(0,r.jsx)("path",{d:"M21.28 13.815h-5.422l-2.71 4.696 2.71 4.695h5.422l2.71-4.695zm-.81 7.978h-3.813l-1.907-3.304.635-1.1v-.001H19.2l1.907 3.303zm1.272-2.203-1.907-3.303h-3.814l.636-1.1h3.814l1.907 3.302z",className:"icon-social_svg__st1"})]}))};function le(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function ce(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?le(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):le(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const pe=function(e){return(0,r.jsxs)("svg",ce(ce({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-spacer_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-spacer_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-spacer_svg__SVGID_1_",x1:12,x2:12,y1:2.693,y2:19.193,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"M14.25 9.593h-4.5l2.25-3.9zM12 16.143l2.25-3.9h-4.5zm12-13.45H0v1.5h24zm-11.616 15H0v1.5h11.518z",style:{fill:"url(#icon-spacer_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m16.021 19.261 1.271 2.202h2.543l-1.271-2.202z",className:"icon-spacer_svg__st1"}),(0,r.jsx)("path",{d:"M21.28 14.588h-5.422l-2.71 4.695 2.71 4.695h5.422l2.71-4.695zm-.81 7.977h-3.813L14.75 19.26l.635-1.1v-.001H19.2l1.906 3.303zm1.272-2.203-1.907-3.303h-3.814l.636-1.1h3.814l1.907 3.302z",className:"icon-spacer_svg__st1"})]}))};function ue(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function de(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ue(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ue(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const ye=function(e){return(0,r.jsxs)("svg",de(de({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-star-rating_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-star-rating_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-star-rating_svg__SVGID_1_",x1:9.5,x2:9.5,y1:0,y2:24,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"M6.93 17.25 5.45 13.5 4 17.25l-4 .26 3 2.58L2 24l3.42-2.16L8.85 24l-1-3.91 3-2.58zm.15 1.98-.53.46.18.67.29 1.18-1-.65-.6-.38-.61.38-.99.65.3-1.18.18-.67-.54-.46-.92-.78L4 18.38l.7-.06.3-.66.46-1.12.44 1.12.26.66.71.06 1.13.07zm.54-5.76L12 10.72l4.359 2.736L15.1 8.47 19 5.16l-5.09-.34L12 0l-1.92 4.82L5 5.16l3.89 3.31zm1.17-7.06 1.39-.1.94-.06.36-.87.52-1.32.52 1.32.35.87.94.06 1.4.1-1.09.92-.71.6.23.91.36 1.37-1.2-.75L12 9l-.8.5-1.2.71.34-1.37.23-.91-.71-.6z",style:{fill:"url(#icon-star-rating_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m16.005 19.282 1.27 2.202h2.543l-1.271-2.202z",className:"icon-star-rating_svg__st1"}),(0,r.jsx)("path",{d:"M21.263 14.608h-5.421l-2.711 4.695 2.71 4.695h5.422l2.71-4.695zm-.809 7.977H16.64l-1.907-3.303.636-1.101h3.814l1.907 3.303zm1.271-2.202-1.907-3.303h-3.814l.636-1.101h3.814l1.907 3.303z",className:"icon-star-rating_svg__st1"})]}))};function ge(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function me(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ge(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ge(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const ve=function(e){return(0,r.jsxs)("svg",me(me({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-tabs_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-tabs_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-tabs_svg__SVGID_1_",x1:12,x2:12,y1:2.25,y2:21.75,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"M6 10.13h12v.84h-3.004l-.381.66H6zm0 4.5h6.883l.866-1.5H6zm8.118 7.12H0V2.25h24v12.013l-1.5-2.599V7.5h-15V3.75h-6v16.5h11.752zM16.5 6h6V3.75h-6zM9 6h6V3.75H9zM6 17.63h5.74l-.295-.51.572-.99H6z",style:{fill:"url(#icon-tabs_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m16 17.1 1.27 2.201h2.544L18.542 17.1z",className:"icon-tabs_svg__st1"}),(0,r.jsx)("path",{d:"M21.258 12.425h-5.421l-2.711 4.695 2.71 4.695h5.422l2.711-4.695zm-.809 7.977h-3.814L14.728 17.1l.636-1.101h3.814l1.907 3.303zM21.72 18.2l-1.906-3.303h-3.815l.636-1.101h3.814l1.907 3.303z",className:"icon-tabs_svg__st1"})]}))};function he(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function be(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?he(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):he(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const fe=function(e){return(0,r.jsxs)("svg",be(be({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-team_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-team_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-team_svg__SVGID_1_",x1:10.945,x2:10.945,y1:1.797,y2:17.507,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"M19.065 11.077a2.8 2.8 0 1 0-2.79-2.81v.02a2.8 2.8 0 0 0 2.79 2.79m-.02-4.08h.02a1.29 1.29 0 1 1-1.29 1.29 1.28 1.28 0 0 1 1.27-1.29m-6.712 9H7.017a5 5 0 0 1 1.268-2.65 5 5 0 0 1 6.179-1.04l.548-.95h.658c-2.38-1.628-5.632-1.548-7.923.418q-.378.324-.702.702a4.7 4.7 0 0 0-2.2-.54 4.83 4.83 0 0 0-4.83 4.82v.75H11.46zm-6.828.01h-3.89a3.35 3.35 0 0 1 4.6-2.3 6.4 6.4 0 0 0-.71 2.3m-.78-4.93a2.8 2.8 0 1 0-2.79-2.81v.02a2.8 2.8 0 0 0 2.79 2.79m0-4.08a1.29 1.29 0 1 1 0 2.58 1.29 1.29 0 0 1 0-2.58m7.11 2.12a3.66 3.66 0 1 0 0-7.32 3.66 3.66 0 0 0 0 7.32m-2.16-3.66a2.16 2.16 0 1 1 0 .01z",style:{fill:"url(#icon-team_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m16.016 17.486 1.27 2.202h2.544l-1.272-2.202z",className:"icon-team_svg__st1"}),(0,r.jsx)("path",{d:"M21.274 12.812h-5.421l-2.71 4.695 2.71 4.695h5.421l2.711-4.695zm-.809 7.977h-3.814l-1.907-3.303.636-1.101h3.814l1.907 3.303zm1.272-2.202-1.907-3.303h-3.815l.636-1.101h3.815l1.907 3.303z",className:"icon-team_svg__st1"})]}))};function xe(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function we(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?xe(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):xe(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Se=function(e){return(0,r.jsxs)("svg",we(we({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-testimonials_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-testimonials_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-testimonials_svg__SVGID_1_",x1:12,x2:12,y1:1.469,y2:17.259,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"M10.13 5.22h3v3h-1.5v-1.5h-1.5zm-4.5 1.5h1.5v1.5h1.5v-3h-3zm4.12 10.54v-4.5H7.62L5.27 15.1l-2.34-2.34H0V1.47h18.75v6.75l5.25.04v7.748l-1.469-2.544-.031-3.705h-3.75v3h-7.5v3h2.047l-.867 1.5zm7.5-6V2.97H1.56v8.25h2l.44.44 1.27 1.33 1.28-1.33.45-.4z",style:{fill:"url(#icon-testimonials_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m16.029 18.895 1.27 2.202h2.544l-1.272-2.202z",className:"icon-testimonials_svg__st1"}),(0,r.jsx)("path",{d:"M21.287 14.221h-5.421l-2.711 4.695 2.71 4.695h5.422l2.711-4.695zm-.809 7.977h-3.814l-1.907-3.303.636-1.101h3.814l1.907 3.303zm1.271-2.202-1.906-3.303h-3.815l.636-1.101h3.814l1.907 3.303z",className:"icon-testimonials_svg__st1"})]}))};function _e(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function je(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?_e(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):_e(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Te=function(e){return(0,r.jsxs)("svg",je(je({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-text-editor_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-text-editor_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-text-editor_svg__SVGID_1_",x1:12,x2:12,y1:22.25,y2:5.75,gradientTransform:"matrix(1 0 0 -1 0 26)",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"M24 8.25H0v-1.5h24zm-6 3v-1.5H0v1.5h18m0-7.5H0v1.5h18zm-3.882 9H0v1.5h13.252zm-1.907 6H0v1.5h13.077zm.175-3H0v1.5h11.52z",style:{fill:"url(#icon-text-editor_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m15.987 17.38 1.271 2.202h2.543L18.53 17.38z",className:"icon-text-editor_svg__st1"}),(0,r.jsx)("path",{d:"M21.246 12.706h-5.422l-2.71 4.695 2.71 4.695h5.422l2.71-4.695zm-.81 7.977h-3.813l-1.907-3.303.635-1.102h3.815l1.907 3.304zm1.272-2.203-1.907-3.303h-3.814l.636-1.1h3.814l1.907 3.302z",className:"icon-text-editor_svg__st1"})]}))};function Oe(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Ce(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Oe(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Oe(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const ke=function(e){return(0,r.jsxs)("svg",Ce(Ce({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-video_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-video_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-video_svg__SVGID_1_",x1:12,x2:12,y1:1.875,y2:18.375,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"m8.85 14.625 7.646-4.411.077-.133L8.85 5.625zm1.5-6.4 3.3 1.9-3.3 1.9zm1.665 10.15H0v-16.5h24l-.007 12.644-1.493-2.587V3.375h-21v13.5h10.29l-.321.555z",style:{fill:"url(#icon-video_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m16.024 17.409 1.27 2.202h2.544l-1.272-2.203z",className:"icon-video_svg__st1"}),(0,r.jsx)("path",{d:"M21.282 12.735h-5.421L13.15 17.43l2.71 4.695h5.422l2.711-4.695zm-.809 7.977H16.66l-1.907-3.303.636-1.102h3.814l1.907 3.304zm1.272-2.203-1.907-3.303h-3.815l.636-1.1h3.815l1.906 3.302z",className:"icon-video_svg__st1"})]}))};function Pe(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Ne(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Pe(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Pe(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Ee=function(e){return(0,r.jsxs)("svg",Ne(Ne({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon_svg__st2{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon_svg__SVGID_1_",x1:12,x2:12,y1:0,y2:24,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"M13.3 22.405a10 10 0 0 1-1.3.095C6.201 22.5 1.5 17.799 1.5 12 1.506 6.203 6.203 1.506 12 1.5c5.799 0 10.5 4.701 10.5 10.5 0 .521-.043 1.031-.118 1.532l1.098 1.9A11.8 11.8 0 0 0 24 12c0-6.627-5.373-12-12-12S0 5.373 0 12s5.373 12 12 12a12 12 0 0 0 2.109-.194z",style:{fill:"url(#icon_svg__SVGID_1_)"}}),(0,r.jsxs)("linearGradient",{id:"icon_svg__SVGID_2_",x1:12,x2:12,y1:4.88,y2:19.13,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"m16.113 13.104 3.277-2.784-5.37-.36L12 4.88 9.97 9.96l-5.36.36 4.12 3.5-1.35 5.31L12 16.2l.911.578 2.122-3.674z",style:{fill:"url(#icon_svg__SVGID_2_)"}}),(0,r.jsx)("path",{d:"m16.036 19.233 1.271 2.202h2.543l-1.272-2.202z",className:"icon_svg__st2"}),(0,r.jsx)("path",{d:"M21.295 14.56h-5.422l-2.71 4.695 2.71 4.695h5.422l2.71-4.695zm-.81 7.977h-3.814l-1.906-3.304.635-1.1v-.001h3.815l1.906 3.303zm1.272-2.203-1.907-3.303h-3.814l.636-1.1h3.814l1.907 3.302z",className:"icon_svg__st2"})]}))};function De(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Be(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?De(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):De(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Ae=function(e){return(0,r.jsxs)("svg",Be(Be({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-tabs-item_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-tabs-item_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-tabs-item_svg__SVGID_1_",x1:11.999,x2:11.999,y1:2.2,y2:21.7,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"m12.425 16.1-.866 1.5H6v-1.5zM6 11.6h12v-1.5h-12zm6.543 8.2H1.999V4.2h5V8h15v3.698h.07L24 15.041V6h-15V2.2h-9v19.5h13.64zm-6.543-5.2h7.292l.866-1.5H6z",style:{fill:"url(#icon-tabs-item_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m15.97 17.828 1.271 2.202h2.543l-1.271-2.202z",className:"icon-tabs-item_svg__st1"}),(0,r.jsx)("path",{d:"M21.229 13.154h-5.422l-2.71 4.695 2.71 4.695h5.422l2.71-4.695zm-.81 7.977h-3.814L14.7 17.828l.635-1.101h3.815l1.906 3.303zm1.272-2.203-1.907-3.303H15.97l.636-1.1h3.814l1.907 3.302z",className:"icon-tabs-item_svg__st1"})]}))};function He(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Re(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?He(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):He(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Ie=function(e){return(0,r.jsxs)("svg",Re(Re({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-list-item_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-list-item_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-list-item_svg__SVGID_1_",x1:12,x2:12,y1:5.314,y2:14.214,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"M11.492 14.214H6.8v-1.5h5.558zm10.567-6H24v-1.5H6.8v1.5h15.259M4.4 7.514c0 1.2-.9 2.2-2.2 2.2-1.2 0-2.2-1-2.2-2.2s1-2.2 2.2-2.2 2.2 1 2.2 2.2m-1.4 0c0-.5-.3-.8-.8-.8-.4 0-.7.3-.7.8s.3.8.8.8.7-.4.7-.8",style:{fill:"url(#icon-list-item_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m15.96 14.344 1.271 2.202h2.543l-1.272-2.202z",className:"icon-list-item_svg__st1"}),(0,r.jsx)("path",{d:"M21.219 9.67h-5.422l-2.71 4.695 2.71 4.695h5.422l2.71-4.695zm-.81 7.977h-3.814l-1.906-3.303.635-1.101h3.815l1.906 3.303zm1.272-2.202-1.907-3.303H15.96l.636-1.101h3.814l1.907 3.303z",className:"icon-list-item_svg__st1"})]}))};function Me(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Le(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Me(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Me(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const ze=function(e){return(0,r.jsxs)("svg",Le(Le({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-pop-up-builder_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-pop-up-builder_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-pop-up-builder_svg__SVGID_1_",x1:12,x2:12,y1:26,y2:2,gradientTransform:"matrix(1 0 0 -1 0 26)",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"M20.2 11.8v1.5h-7.4v-1.5zM12.8 17q-.15.15 0 0m-3.7-6.7h11.1V8.8H9.1zm4.2 12.2H1.5V11.9H3v-1.5H1.5V7H3V5.5H0V24h14.2zM5.1 20l4.2-4.2v2.7h1.5v-5.2H5.5v1.5h2.7L4 19zM19.4 4h1.5V2.5h-1.5zM5.5 11.8V0H24v16.4l-1.5-2.6V6.4H7v5.4zM7 4.9h15.5V1.5H7z",style:{fill:"url(#icon-pop-up-builder_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m16 19.2 1.3 2.3h2.5l-1.2-2.3z",className:"icon-pop-up-builder_svg__st1"}),(0,r.jsx)("path",{d:"M21.3 14.6h-5.4l-2.7 4.7 2.7 4.7h5.4l2.7-4.7zm-.8 8h-3.8l-1.9-3.3.6-1.1h3.8l1.9 3.3zm1.2-2.3L19.8 17H16l.6-1.1h3.8l1.9 3.3z",className:"icon-pop-up-builder_svg__st1"})]}))};function Fe(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Ve(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Fe(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Fe(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const We=function(e){return(0,r.jsxs)("svg",Ve(Ve({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),{},{children:[(0,r.jsx)("path",{fill:"#4579F0",d:"m15.977 19.2 1.3 2.2h2.5l-1.2-2.2z"}),(0,r.jsx)("path",{fill:"#4579F0",d:"M21.276 14.6h-5.4l-2.7 4.7 2.7 4.7h5.4l2.7-4.7zm-.8 7.9h-3.8l-1.9-3.3.6-1.1h3.8l1.9 3.3zm1.3-2.2-1.9-3.3h-3.9l.6-1.1h3.8l1.9 3.3z"}),(0,r.jsx)("path",{fill:"url(#icon-text-paragraph_svg__a)",d:"M5.25 11.243C2.35 11.243 0 9.396 0 7.118s2.35-4.124 5.25-4.124V2.99h6v1.5h-1.5v12.752h-1.5V4.493h-1.5v12.75h-1.5zm16.499-5.252h-8.25v1.5h8.25zm2.25-2.997H13.515v1.5H24zM11.557 19.49H2.25v1.5h10.168l-.542-.944zm1.942-5.998h6v-1.5h-6zm0-4.502v1.5H24v-1.5z"}),(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{id:"icon-text-paragraph_svg__a",x1:12,x2:12,y1:2.991,y2:20.991,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#2E54EB"}),(0,r.jsx)("stop",{offset:1,stopColor:"#66C6D2"})]})})]}))};function Ge(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Ue(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ge(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ge(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const qe=function(e){return(0,r.jsxs)("svg",Ue(Ue({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),{},{children:[(0,r.jsx)("path",{fill:"url(#icon-features-list_svg__a)",fillRule:"evenodd",d:"M1.875 7.336V8.46H0v5.25h1.875v1.544H0v5.25h5.25v-5.25H3.375v-1.544H5.25V8.46H3.375V7.336H5.25v-5.25H0v5.25zm-.375 9.42h2.25v2.25H1.5zm10.622.374H6.75v1.5h6.233zM1.5 9.96h2.25v2.25H1.5zm13.095.583.12-.207H6.75v1.5h7.102zM1.5 3.586h2.25v2.25H1.5zM6.75 5.46H24v-1.5H6.75z",clipRule:"evenodd"}),(0,r.jsx)("path",{fill:"#4579F0",d:"M21.286 11.295h-5.422l-2.71 4.695 2.71 4.695h5.422l2.71-4.695zm-.81 7.977h-3.813l-1.908-3.303.636-1.102h3.814l1.907 3.304zm-4.45-3.303 1.272 2.203h2.543l-1.271-2.203zm5.722 1.1-1.907-3.303h-3.814l.636-1.1h3.814l1.907 3.302z"}),(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{id:"icon-features-list_svg__a",x1:12,x2:12,y1:2.086,y2:20.505,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#3056EB"}),(0,r.jsx)("stop",{offset:1,stopColor:"#64C3D3"})]})})]}))};function $e(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Ye(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?$e(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):$e(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Xe=function(e){return(0,r.jsxs)("svg",Ye(Ye({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),{},{children:[(0,r.jsxs)("g",{clipPath:"url(#icon-portfolio-gallery_svg__a)",children:[(0,r.jsx)("path",{fill:"url(#icon-portfolio-gallery_svg__b)",fillRule:"evenodd",d:"M13.012 22.029H0V6.562h3.263V3.295h3.25V.045H24V15.51h-.473l-.949-1.65-.078-.136V1.545H8.013v1.75H20.75v9.813h-1.5V4.795H4.763v1.767h12.724v6.546h-1.5V8.062H1.5v8.772l6.355-6.118 2.803 3.271 1.617-1.616 2.005 2.006-.774 1.347-1.232-1.231-1.7 1.7L7.75 12.9 1.5 18.917v1.612h10.65zM4.202 9.22a1.119 1.119 0 0 1 0 2.237h-.007a1.12 1.12 0 0 1 0-2.238z",clipRule:"evenodd"}),(0,r.jsx)("path",{fill:"#3D72E5",d:"m15.878 14.608-2.7 4.7 2.695 4.693h5.409l2.696-4.692-2.7-4.7zm-1.1 4.6.6-1.1h3.8l1.9 3.3-.6 1.1h-3.8zm1.2 0 1.299 2.2h2.5l-1.2-2.2zm.6-3.3h3.8l1.9 3.3-.5 1.1-1.9-3.3h-3.9z"})]}),(0,r.jsxs)("defs",{children:[(0,r.jsxs)("linearGradient",{id:"icon-portfolio-gallery_svg__b",x1:12,x2:12,y1:.045,y2:22.029,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#2754DF"}),(0,r.jsx)("stop",{offset:1,stopColor:"#67B8CB"})]}),(0,r.jsx)("clipPath",{id:"icon-portfolio-gallery_svg__a",children:(0,r.jsx)("path",{fill:"#fff",d:"M0 0h24v24H0z"})})]})]}))};function Je(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Qe(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Je(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Je(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Ze=function(e){return(0,r.jsxs)("svg",Qe(Qe({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),{},{children:[(0,r.jsxs)("g",{clipPath:"url(#icon-countdown_svg__a)",children:[(0,r.jsx)("path",{fill:"url(#icon-countdown_svg__b)",fillRule:"evenodd",d:"M9.083.035a.7.7 0 0 1 .314-.03h5.323c.221 0 .442.045.602.203s.208.38.208.608v1.86c0 .218-.045.433-.2.59-.157.155-.372.2-.59.2h-1.97v.666a9.58 9.58 0 0 1 5.474 2.267l.37-.39-.163-.168a.71.71 0 0 1-.066-1.033.7.7 0 0 1 1.046-.004q.712.694 1.396 1.405a.7.7 0 0 1 .064 1.04.67.67 0 0 1-.517.227.88.88 0 0 1-.52-.204 2 2 0 0 1-.188-.166l-.359.364q.08.11.165.222c.199.266.41.549.597.837l.001.002a9.5 9.5 0 0 1 1.459 4.273l.003.03-.005.028v.004l-1.376.03A8.12 8.12 0 0 0 4.45 10.84v.117l-.008.03a.69.69 0 0 1-.92.473.7.7 0 0 1-.407-.932 8.8 8.8 0 0 1 1.118-2.303A9.38 9.38 0 0 1 11.38 4.12v-.613H9.36c-.212 0-.42-.047-.573-.2-.152-.151-.201-.36-.207-.573V.81a.73.73 0 0 1 .503-.776m3.037 21.74h-.042a7.98 7.98 0 0 1-5.012-1.725l-.086-.068a.73.73 0 0 0-1.065.016l-.008.008-.007.01a.72.72 0 0 0 .197 1.045 9.5 9.5 0 0 0 6.825 2.057zm-2.11-19.77v-.57h4.06v.57zM13 12.376l2.62-2.63a1.5 1.5 0 0 1 .19-.17.45.45 0 0 1 .58 0 .44.44 0 0 1 .05.58 1.5 1.5 0 0 1-.17.19l-2.59 2.58a.32.32 0 0 0-.09.32 1.54 1.54 0 1 1-2.67-.66 1.53 1.53 0 0 1 1.89-.33zm-.28 1.26a.64.64 0 1 0-.63.64.64.64 0 0 0 .6-.64zM.29 18.976h3.2l2.624.03h.539a.34.34 0 0 0 .15-.05.4.4 0 0 0 .118-.118.51.51 0 0 0 .074-.344c-.018-.283-.171-.44-.459-.44H.46a.8.8 0 0 0-.216 0 .44.44 0 0 0-.187.196.55.55 0 0 0-.055.286c0 .1.029.196.08.275s.125.137.207.164m3.774-2.566H1.7q-.125.015-.251 0a.38.38 0 0 1-.242-.156.5.5 0 0 1-.091-.305.53.53 0 0 1 .083-.316.4.4 0 0 1 .24-.176h5.187c.103.008.2.063.269.153s.104.208.1.329a.5.5 0 0 1-.027.173.5.5 0 0 1-.08.148.4.4 0 0 1-.124.101.34.34 0 0 1-.147.039H4.064zm-1.366-2.46h1.977v.01H6.59a.35.35 0 0 0 .156-.033.4.4 0 0 0 .133-.102.5.5 0 0 0 .087-.154q.03-.088.028-.182a.5.5 0 0 0-.018-.184.5.5 0 0 0-.082-.159.4.4 0 0 0-.13-.105.33.33 0 0 0-.156-.034H2.734a.37.37 0 0 0-.277.131.5.5 0 0 0-.119.32c-.005.12.03.237.096.329a.4.4 0 0 0 .264.162",clipRule:"evenodd"}),(0,r.jsx)("path",{fill:"#4579F0",d:"m15.056 18.846 1.351 2.282h2.704l-1.352-2.282z"}),(0,r.jsx)("path",{fill:"#4579F0",d:"M20.648 14h-5.765L12 18.868l2.883 4.867h5.765l2.882-4.867zm-.86 8.27h-4.056l-2.028-3.425.676-1.141h4.056l2.028 3.424zm1.351-2.283-2.028-3.425h-4.056l.677-1.141h4.056l2.027 3.424z"})]}),(0,r.jsxs)("defs",{children:[(0,r.jsxs)("linearGradient",{id:"icon-countdown_svg__b",x1:3.5,x2:3.5,y1:13.006,y2:19.006,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#2E54EB"}),(0,r.jsx)("stop",{offset:1,stopColor:"#64C0D2"})]}),(0,r.jsx)("clipPath",{id:"icon-countdown_svg__a",children:(0,r.jsx)("path",{fill:"#fff",d:"M0 0h24v24H0z"})})]})]}))};function Ke(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function et(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ke(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ke(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const tt=function(e){return(0,r.jsxs)("svg",et(et({xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none"},e),{},{children:[(0,r.jsxs)("g",{clipPath:"url(#icon-chart_svg__a)",children:[(0,r.jsx)("path",{fill:"url(#icon-chart_svg__b)",d:"M10.793 13.406h4.103l-.366.633-.497.867h-4.74V4.246c-4.413.717-7.781 4.545-7.781 9.16 0 5.122 4.158 9.28 9.28 9.28.79 0 1.554-.098 2.285-.283l.772 1.345c-.969.285-1.995.439-3.056.439-5.95 0-10.781-4.83-10.781-10.78 0-5.955 4.826-10.781 10.78-10.781z"}),(0,r.jsx)("path",{fill:"url(#icon-chart_svg__c)",fillRule:"evenodd",d:"M13.21.207c5.954 0 10.78 4.826 10.78 10.78H13.21zm1.5 9.28h7.66a9.29 9.29 0 0 0-7.66-7.66z",clipRule:"evenodd"}),(0,r.jsx)("path",{fill:"#2754DF",d:"m16.027 19.477 1.272 2.202h2.543l-1.271-2.202z"}),(0,r.jsx)("path",{fill:"#2754DF",d:"m21.747 20.578-1.907-3.303h-3.814l.636-1.101h3.814l1.907 3.303zm-1.27 2.203h-3.815l-1.907-3.304.635-1.101h3.814l1.907 3.303zm.808-7.978h-5.422l-2.71 4.695 2.71 4.695h5.422l2.71-4.695z"})]}),(0,r.jsxs)("defs",{children:[(0,r.jsxs)("linearGradient",{id:"icon-chart_svg__b",x1:12.001,x2:12.001,y1:.207,y2:24.187,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#2754DF"}),(0,r.jsx)("stop",{offset:1,stopColor:"#67B8CB"})]}),(0,r.jsxs)("linearGradient",{id:"icon-chart_svg__c",x1:12.001,x2:12.001,y1:.207,y2:24.187,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#2754DF"}),(0,r.jsx)("stop",{offset:1,stopColor:"#67B8CB"})]}),(0,r.jsx)("clipPath",{id:"icon-chart_svg__a",children:(0,r.jsx)("path",{fill:"#fff",d:"M0 .207h24v24H0z"})})]})]}))};function ot(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function nt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ot(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ot(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const rt=function(e){return(0,r.jsxs)("svg",nt(nt({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-share-email_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-share-email_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-share-email_svg__SVGID_1_",x1:12,x2:12,y1:2.607,y2:19.107,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"M11.945 17.607H1.5V5.027l10.5 7.5 10.5-7.5v6.258l1.5 2.598V2.607H0v16.5h12.811zm9.265-13.5L12 10.687l-9.21-6.58z",style:{fill:"url(#icon-share-email_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m15.975 16.677 1.27 2.202h2.544l-1.272-2.203z",className:"icon-share-email_svg__st1"}),(0,r.jsx)("path",{d:"M21.233 12.003h-5.421l-2.71 4.695 2.71 4.695h5.421l2.711-4.695zm-.809 7.977H16.61l-1.907-3.303.636-1.102h3.814l1.907 3.304zm1.272-2.203-1.907-3.303h-3.815l.636-1.1h3.815l1.907 3.302z",className:"icon-share-email_svg__st1"})]}))};function it(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function at(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?it(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):it(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const st=function(e){return(0,r.jsxs)("svg",at(at({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-share-facebook_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-share-facebook_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-share-facebook_svg__SVGID_1_",x1:11.552,x2:11.552,y1:0,y2:24,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"M9.382 22.5v-9h-3.37v-3h3.37V6.38a4.89 4.89 0 0 1 4.88-4.88h2.62v3h-2.62a1.88 1.88 0 0 0-1.88 1.88v4.12h4.29l-.659 2.637h1.505L18.552 9h-4.67V6.38c0-.21.17-.38.38-.38h4.12V0h-4.12a6.38 6.38 0 0 0-6.38 6.38V9h-3.33v6h3.33v9h3.604l-.866-1.5z",style:{fill:"url(#icon-share-facebook_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m13.423 19.266 1.27 2.203h2.543l-1.271-2.203z",className:"icon-share-facebook_svg__st1"}),(0,r.jsx)("path",{d:"M18.681 14.593H13.26l-2.711 4.695 2.71 4.695h5.422l2.71-4.695zm-.809 7.977h-3.814l-1.907-3.303.636-1.102H16.6l1.907 3.304zm1.271-2.203-1.907-3.303h-3.814l.636-1.1h3.814l1.907 3.302z",className:"icon-share-facebook_svg__st1"})]}))};function lt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function ct(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?lt(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):lt(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const pt=function(e){return(0,r.jsxs)("svg",ct(ct({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-share-line_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-share-line_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-share-line_svg__SVGID_1_",x1:11.995,x2:11.995,y1:.47,y2:23.53,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"M17.61 8.72v1.13l1.75.03a.64.64 0 0 1 0 1.27h-1.75v1.13h1.75a.64.64 0 0 1 0 1.27H17a.64.64 0 0 1-.63-.64V8.08a.63.63 0 0 1 .63-.63h2.39a.64.64 0 0 1 0 1.27zm-2.73-1.29a.63.63 0 0 0-.63.63v3l-2.46-3.35a.65.65 0 0 0-.5-.26h-.01a.62.62 0 0 0-.61.63v4.85a.63.63 0 1 0 1.26 0v-3l2.44 3.29a.63.63 0 0 0 .51.26.5.5 0 0 0 .2 0 .62.62 0 0 0 .43-.6V8.06a.64.64 0 0 0-.63-.63m-6.37.65v4.8a.63.63 0 1 0 1.26 0v-4.8a.63.63 0 1 0-1.26 0m-3.59-.63a.63.63 0 0 0-.63.63v4.8c0 .35.28.634.63.64H7.3a.64.64 0 0 0 0-1.27H5.55V8.08a.63.63 0 0 0-.63-.63m7.838 13.864c-.317.184-.625.382-.948.556l.12-.75a2.9 2.9 0 0 0-.084-1.36l-.068-.114c-.33-.53-.89-.877-1.518-.916-5.08-.68-8.76-4.18-8.76-8.32C1.5 5.76 6.21 2 12 2s10.5 3.76 10.5 8.39a7.34 7.34 0 0 1-.787 3.17h.47l.638 1.087A8.9 8.9 0 0 0 24 10.41C24 4.93 18.62.47 12 .47S0 4.93-.01 10.41c0 4.9 4.23 9.03 10 9.8q.24.045.46.15.045.285 0 .57l-.17 1a1.4 1.4 0 0 0 .39 1.37c.208.155.461.236.72.23.315-.01.625-.085.91-.22.416-.218.811-.469 1.217-.703z",style:{fill:"url(#icon-share-line_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m16.028 19.292 1.27 2.202h2.544l-1.272-2.202z",className:"icon-share-line_svg__st1"}),(0,r.jsx)("path",{d:"M21.286 14.618h-5.421l-2.711 4.695 2.71 4.695h5.422l2.711-4.695zm-.809 7.977h-3.814l-1.907-3.303.636-1.102h3.814l1.907 3.304zm1.271-2.203-1.906-3.303h-3.815l.636-1.1h3.814l1.907 3.302z",className:"icon-share-line_svg__st1"})]}))};function ut(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function dt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ut(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ut(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const yt=function(e){return(0,r.jsxs)("svg",dt(dt({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-share-linkedin_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-share-linkedin_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-share-linkedin_svg__SVGID_1_",x1:12,x2:12,y1:.56,y2:23.44,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"M18.97 13.114h-4.043l-1.427 2.47v-.774a3 3 0 0 1 3-3c1.027 0 1.93.517 2.47 1.304M0 8.44h6v15H0zm1.5 13.5h3v-12h-3zM6 3.56a3 3 0 1 1-6 0 3 3 0 0 1 6 0m-1.5 0a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0m8.42 18.38H10.5v-7.13a5.994 5.994 0 0 1 11.897-1.059L24 16.528V14.81a7.5 7.5 0 1 0-15 0v8.63h4.786z",style:{fill:"url(#icon-share-linkedin_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m15.93 19.243 1.271 2.202h2.543l-1.271-2.202z",className:"icon-share-linkedin_svg__st1"}),(0,r.jsx)("path",{d:"M21.189 14.57h-5.422l-2.71 4.695 2.71 4.695h5.422l2.71-4.695zm-.81 7.977h-3.814l-1.906-3.304.635-1.1v-.001h3.815l1.906 3.303zm1.272-2.203-1.907-3.303H15.93l.636-1.1h3.814l1.907 3.302z",className:"icon-share-linkedin_svg__st1"})]}))};function gt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function mt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?gt(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):gt(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const vt=function(e){return(0,r.jsxs)("svg",mt(mt({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-share-pinterest_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-share-pinterest_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-share-pinterest_svg__SVGID_1_",x1:11.709,x2:11.709,y1:26.006,y2:1.988,gradientTransform:"matrix(1 0 0 -1 0 26)",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"M13.03 16.515a3.53 3.53 0 0 1-1.998-.875.78.78 0 0 0-.73-.18.75.75 0 0 0-.52.54c-.23.89-.6 2.35-.7 2.73-.49 1.8-1.49 3.71-1.89 3.8-.39-.4-.21-2.99.11-4.34l1.55-6.73a.8.8 0 0 0 0-.46 4.6 4.6 0 0 1-.29-1.75c0-1.61.86-2.87 2-2.87.81 0 1.31.62 1.31 1.51a10.5 10.5 0 0 1-.59 2.6c-.18.58-.37 1.18-.51 1.78a2.29 2.29 0 0 0 .42 2 2.42 2.42 0 0 0 1.94.91c.253-.013.746-.083.976-.176.448-.18 1.021-.549 1.431-.917.299-.268.57-.612.75-.954.024-.045.052-.087.073-.133a10 10 0 0 0 1.15-4.92c0-3.16-2.21-5.21-5.62-5.21a6.36 6.36 0 0 0-6.58 6.42 4 4 0 0 0 .92 2.71q.043.098.07.2.007.09 0 .18l-.26 1v.07h-.08c-1.46-.6-2.33-2.26-2.33-4.45a7.2 7.2 0 0 1 2.14-5 8.75 8.75 0 0 1 6.43-2.5 7.9 7.9 0 0 1 5.52 2.1 6.6 6.6 0 0 1 2.09 4.72 9.64 9.64 0 0 1-1.123 4.813h1.666a11.15 11.15 0 0 0 .957-4.813 8.14 8.14 0 0 0-2.52-5.81A9.4 9.4 0 0 0 12.232 0a10.25 10.25 0 0 0-7.51 2.92 8.75 8.75 0 0 0-2.62 6.13c0 2.84 1.27 5 3.27 5.84a1.6 1.6 0 0 0 1.14 0l-.71 3c-.08.23-1.27 5.52.92 6.11q.205.024.41 0c1.95 0 3.16-4 3.39-4.87.07-.26.26-.98.44-1.7.4.216.83.363 1.27.467zm-6.213-7.52a4.89 4.89 0 0 1 5.115-4.655c2.58 0 4.12 1.38 4.12 3.7a8.43 8.43 0 0 1-1 4.15 2.41 2.41 0 0 1-1.92 1.43 1 1 0 0 1-.77-.34.85.85 0 0 1-.13-.72c.13-.54.31-1.12.48-1.68.359-.964.58-1.974.66-3q.01-.13.009-.259a2.78 2.78 0 0 0-2.819-2.741c-1.98 0-3.54 1.92-3.54 4.37a6.2 6.2 0 0 0 .2 1.58 2.62 2.62 0 0 1-.41-1.54q-.002-.148.005-.296",style:{fill:"url(#icon-share-pinterest_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m15.986 19.262 1.271 2.202H19.8l-1.271-2.202z",className:"icon-share-pinterest_svg__st1"}),(0,r.jsx)("path",{d:"M21.245 14.588h-5.422l-2.71 4.696 2.71 4.695h5.422l2.71-4.695zm-.81 7.978h-3.813l-1.907-3.304.635-1.101h3.815l1.907 3.303zm1.272-2.203L19.8 17.06h-3.814l.636-1.101h3.814l1.907 3.303z",className:"icon-share-pinterest_svg__st1"})]}))};function ht(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function bt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ht(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ht(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const ft=function(e){return(0,r.jsxs)("svg",bt(bt({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-share-reddit_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-share-reddit_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-share-reddit_svg__SVGID_1_",x1:12,x2:12,y1:0,y2:20.97,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"m13.201 16.32-.947 1.641c-.085.002-.17.012-.254.009a5.68 5.68 0 0 1-4.4-1.88.75.75 0 0 1 .1-1.05.76.76 0 0 1 1.06.1A4.26 4.26 0 0 0 12 16.47c.41.015.81-.05 1.201-.15M9.75 11.97a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0m7.394 0a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0m-4.722 8.977c-.142.004-.278.023-.422.023-5.35 0-9.76-2.98-10.26-6.78A4.08 4.08 0 0 1 0 10.85a4.13 4.13 0 0 1 4.12-4.13 4 4 0 0 1 2.07.57 12.9 12.9 0 0 1 5.18-1.31l1.4-4.69a.74.74 0 0 1 .9-.52l3.17.8A3 3 0 0 1 19.48 0a3 3 0 1 1-3 3L14 2.38 12.93 6a13 13 0 0 1 4.89 1.28 4.1 4.1 0 0 1 2.06-.56 4.11 4.11 0 0 1 2.864 7.067l-.177.128-.437-.757h-1.342c-.231-3.065-3.82-5.524-8.308-5.688h-1.57c-4.35.41-7.72 2.94-7.72 6 0 3.209 3.716 5.827 8.37 5.985zM19.41 8.26a7.1 7.1 0 0 1 2.73 3.88 2.5 2.5 0 0 0 .36-1.25 2.63 2.63 0 0 0-2.62-2.63 4 4 0 0 0-.47 0M18 2.97a1.5 1.5 0 1 0 1.5-1.5A1.52 1.52 0 0 0 18 2.61q.007.03 0 .06-.015.15 0 .3M1.86 12.14a7 7 0 0 1 2.73-3.87 2.4 2.4 0 0 0-.47-.05 2.6 2.6 0 0 0-2.26 3.92",style:{fill:"url(#icon-share-reddit_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m16.03 19.288 1.271 2.202h2.543l-1.271-2.202z",className:"icon-share-reddit_svg__st1"}),(0,r.jsx)("path",{d:"M21.289 14.614h-5.422l-2.71 4.695 2.71 4.695h5.422l2.71-4.695zm-.81 7.977h-3.813l-1.907-3.303.635-1.101h3.815l1.907 3.303zm1.272-2.202-1.907-3.303H16.03l.636-1.101h3.814l1.907 3.303z",className:"icon-share-reddit_svg__st1"})]}))};function xt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function wt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?xt(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):xt(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const St=function(e){return(0,r.jsxs)("svg",wt(wt({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-share-stumbleupon_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-share-stumbleupon_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-share-stumbleupon_svg__SVGID_1_",x1:11.998,x2:11.998,y1:0,y2:19.82,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"m13.953 14.927-.975 1.689a5.8 5.8 0 0 1-.643-2.626V9.46h5.49v3.591h-1.51V10.96h-2.48v3c0 .334.046.656.118.967m-2.298-.937a5.84 5.84 0 0 1-5.83 5.83 5.84 5.84 0 0 1-5.83-5.83V9.46h5.49v4.53a.34.34 0 0 0 .68 0V5.83a5.83 5.83 0 0 1 11.66 0v2.13h-5.49V5.83a.34.34 0 0 0-.68 0zm.34-10a1.84 1.84 0 0 1 1.84 1.84v.63h2.49v-.63a4.33 4.33 0 0 0-8.66 0v8.16a1.84 1.84 0 0 1-3.68 0v-3l-2.49-.03v3a4.33 4.33 0 0 0 8.66 0V5.83a1.84 1.84 0 0 1 1.84-1.84m8 9.061V10.96h2.5v2.708L24 16.274l-.005-6.814h-5.49v3.591z",style:{fill:"url(#icon-share-stumbleupon_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m16.04 19.18 1.271 2.203h2.543l-1.271-2.202z",className:"icon-share-stumbleupon_svg__st1"}),(0,r.jsx)("path",{d:"M21.299 14.507h-5.422l-2.71 4.695 2.71 4.695H21.3l2.71-4.695zm-.81 7.977h-3.814L14.77 19.18l.635-1.102h3.815l1.906 3.304zm1.272-2.203-1.907-3.303H16.04l.636-1.1h3.814l1.907 3.302z",className:"icon-share-stumbleupon_svg__st1"})]}))};function _t(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function jt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?_t(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):_t(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Tt=function(e){return(0,r.jsxs)("svg",jt(jt({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-share-telegram_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-share-telegram_svg__st2{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-share-telegram_svg__SVGID_1_",x1:10.97,x2:10.97,y1:6.255,y2:17.558,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"M9.33 14.67c.016.431.22.833.56 1.1.569.477 1.672 1.229 2.517 1.788l.769-1.332c-.755-.5-1.73-1.165-2.276-1.616l-.01-.02c1.24-1.14 2.75-2.58 3.67-3.49.49-.5.81-1.23.38-1.74-.6-.73-1.67-.01-2.23.38L7.87 13a1.45 1.45 0 0 1-1 0l-1.43-.47 7.93-3.28 3.47-1.47h.13c-.03.34-.18 1.33-.35 2.47l-.45 2.848h1.538l.432-2.618c.2-1.3.37-2.24.37-2.61A1.38 1.38 0 0 0 18 6.53a1.82 1.82 0 0 0-1.72-.11s-2.71 1.11-3.5 1.45L4.71 11.2c-.3.12-1.23.48-1.3 1.29-.03.455.198.887.59 1.12l.16.11s1.23.42 2.28.74a2.7 2.7 0 0 0 2.23-.13l1.36-.92-.12.11a1.51 1.51 0 0 0-.58 1.15",style:{fill:"url(#icon-share-telegram_svg__SVGID_1_)"}}),(0,r.jsxs)("linearGradient",{id:"icon-share-telegram_svg__SVGID_2_",x1:12,x2:12,y1:0,y2:24,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"M13.255 22.409A10 10 0 0 1 12 22.5C6.201 22.5 1.5 17.799 1.5 12 1.506 6.203 6.203 1.506 12 1.5c5.799 0 10.5 4.701 10.5 10.5 0 .545-.045 1.078-.126 1.6l1.089 1.886c.34-1.105.537-2.27.537-3.486 0-6.627-5.373-12-12-12S0 5.373 0 12s5.373 12 12 12c.706 0 1.395-.068 2.066-.186z",style:{fill:"url(#icon-share-telegram_svg__SVGID_2_)"}}),(0,r.jsx)("path",{d:"m15.985 19.228 1.271 2.202H19.8l-1.271-2.202z",className:"icon-share-telegram_svg__st2"}),(0,r.jsx)("path",{d:"M21.244 14.554h-5.422l-2.71 4.695 2.71 4.695h5.422l2.71-4.695zm-.81 7.977h-3.813l-1.907-3.303.635-1.102h3.815l1.907 3.304zm1.272-2.203-1.907-3.303h-3.814l.636-1.1h3.814l1.907 3.302z",className:"icon-share-telegram_svg__st2"})]}))};function Ot(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Ct(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ot(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ot(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const kt=function(e){return(0,r.jsxs)("svg",Ct(Ct({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-share-tumblr_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-share-tumblr_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-share-tumblr_svg__SVGID_1_",x1:9.384,x2:9.384,y1:0,y2:24,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"M12.254 22.5h-.17c-4.36-.01-5.94-3.15-5.94-5.26v-8.1h-2.3V7.5a7.48 7.48 0 0 0 4.41-6h2.09v5.73h4.58v1.91h-4.59v7.76a2.652 2.652 0 0 0 .821 2.253l.825-1.43c-.09-.206-.146-.473-.146-.833v-6.25h4.59V5.73h-4.58V0h-4.1a.92.92 0 0 0-.91.84 6.17 6.17 0 0 1-4 5.44l-.49.17v4.19h2.35v6.6c0 2.76 1.93 6.76 7.4 6.76l.17-.04a8.6 8.6 0 0 0 1.328-.136l-.79-1.369c-.182.019-.364.04-.548.045",style:{fill:"url(#icon-share-tumblr_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m15.631 19.268 1.271 2.202h2.543l-1.271-2.203z",className:"icon-share-tumblr_svg__st1"}),(0,r.jsx)("path",{d:"M20.89 14.594h-5.422l-2.71 4.695 2.71 4.695h5.422l2.71-4.695zm-.81 7.977h-3.813l-1.907-3.303.635-1.102h3.815l1.907 3.304zm1.272-2.203-1.907-3.303h-3.814l.636-1.1h3.814l1.907 3.302z",className:"icon-share-tumblr_svg__st1"})]}))};function Pt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Nt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Pt(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Pt(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Et=function(e){return(0,r.jsxs)("svg",Nt(Nt({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-share-twitter_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-share-twitter_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-share-twitter_svg__SVGID_1_",x1:12.002,x2:12.002,y1:2.046,y2:21.93,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"M12.839 19.48a12.97 12.97 0 0 1-9.099.21 12.6 12.6 0 0 0 4.55-1.99.75.75 0 0 0-.12-1.31C1.61 13.47 2.32 7.82 3.02 5.31a11.65 11.65 0 0 0 9 3.85.74.74 0 0 0 .73-.75v-1a3.84 3.84 0 0 1 1.32-2.94 3.83 3.83 0 0 1 5.4.37.75.75 0 0 0 .79.23 10.5 10.5 0 0 0 1.5-.57 7.4 7.4 0 0 1-1.16 1.51.73.73 0 0 0-.21.67q.058.353.07.71c0 1.24-.159 2.415-.427 3.53h1.542c.232-1.113.365-2.275.365-3.49v-.59A8.66 8.66 0 0 0 24 3a.75.75 0 0 0-1.19-.79 10 10 0 0 1-2.56 1.32 5.34 5.34 0 0 0-9 3.93v.27a10.15 10.15 0 0 1-7.84-4.31.78.78 0 0 0-.69-.32.76.76 0 0 0-.61.45c-.04.09-3.9 9.06 4.24 13.65a11.2 11.2 0 0 1-5.6 1.25A.72.72 0 0 0 0 19a.74.74 0 0 0 .39.85 16.05 16.05 0 0 0 7.79 2.08 13.8 13.8 0 0 0 5.439-1.1z",style:{fill:"url(#icon-share-twitter_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m16.003 17.05 1.27 2.201h2.543l-1.271-2.202z",className:"icon-share-twitter_svg__st1"}),(0,r.jsx)("path",{d:"M21.261 12.376H15.84l-2.711 4.695 2.71 4.695h5.422l2.71-4.695zm-.809 7.977h-3.814l-1.907-3.304.636-1.1h3.814l1.907 3.302zm1.271-2.203-1.906-3.303h-3.815l.636-1.1h3.814l1.907 3.302z",className:"icon-share-twitter_svg__st1"})]}))};function Dt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Bt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Dt(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Dt(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const At=function(e){return(0,r.jsxs)("svg",Bt(Bt({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-share-vk_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-share-vk_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-share-vk_svg__SVGID_1_",x1:11.776,x2:11.776,y1:4.557,y2:19.43,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"M11.908 17.911c-2.415-.097-4.887-1.626-6.658-4.171-2.87-4.02-3.66-6.96-3.74-7.67h2.54c.22 0 .25 0 .41.45.97 2.85 3.17 7.08 4.77 7.08 1.21 0 1.21-1.27 1.21-1.69V8.24a3.47 3.47 0 0 0-.8-2.17h3.51a.7.7 0 0 1 0 .15v4.88c0 .852.396 1.32.95 1.412 0 0 .62.043 1.144-.25.542-.302 1.204-1.302 1.204-1.302a21.3 21.3 0 0 0 2.712-4.68c.07-.18.14-.24.37-.24h2.55c-.208.933-2.003 3.666-2.87 4.92h1.785c.988-1.482 2.27-3.62 2.465-4.52a1.46 1.46 0 0 0-.16-1.33 1.53 1.53 0 0 0-1.3-.54h-2.47a1.81 1.81 0 0 0-1.76 1.16 20 20 0 0 1-2.86 4.79l-.26.25V6.22c0-1.44-.9-1.65-1.44-1.65H9.34A1.35 1.35 0 0 0 8 5.88c.009.392.158.768.42 1.06a2 2 0 0 1 .52 1.34v3.49A18.5 18.5 0 0 1 5.87 6a1.8 1.8 0 0 0-1.82-1.43H1.59A1.4 1.4 0 0 0 0 6c0 .94 1 4.39 4.03 8.61 2.13 3.02 5.13 4.82 8.13 4.82q.313 0 .61-.024z",style:{fill:"url(#icon-share-vk_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m16 17.09 1.271 2.201h2.543l-1.271-2.202z",className:"icon-share-vk_svg__st1"}),(0,r.jsx)("path",{d:"M21.259 12.416h-5.422l-2.71 4.695 2.71 4.695h5.422l2.71-4.695zm-.81 7.977h-3.814l-1.906-3.304.635-1.1h3.815l1.907 3.303zm1.272-2.203-1.907-3.303H16l.636-1.1h3.814l1.907 3.302z",className:"icon-share-vk_svg__st1"})]}))};function Ht(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Rt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ht(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ht(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const It=function(e){return(0,r.jsxs)("svg",Rt(Rt({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-share-wechat_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-share-wechat_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-share-wechat_svg__SVGID_1_",x1:12,x2:12,y1:.44,y2:18.453,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"M18.75 12.88a1.12 1.12 0 1 1 0-2.24 1.12 1.12 0 0 1 0 2.24m-4.5-2.24a1.12 1.12 0 1 0 0 2.24 1.12 1.12 0 0 0 0-2.24M6.38 5.01a1.12 1.12 0 1 0 0 2.24 1.12 1.12 0 0 0 0-2.24m5.25 2.24a1.12 1.12 0 1 0 0-2.24 1.12 1.12 0 0 0 0 2.24m.328 11.203c-1.262-.8-2.219-1.914-2.668-3.213H9c-.39 0-.8-.07-1.24-.07l-4.93 2.29a.64.64 0 0 1-.31.07.76.76 0 0 1-.43-.14.72.72 0 0 1-.31-.68l.35-4.1A6.72 6.72 0 0 1 0 7.81C0 3.72 4.17.44 9 .44s8.76 3.08 9 7c3.41.57 6 3.09 6 6.09a5.55 5.55 0 0 1-.44 2.113l-1.06-1.835c.013-.096.037-.19.04-.288 0-2.6-2.69-4.72-6-4.72s-6 2.12-6 4.72c0 1.456.856 2.747 2.18 3.61zM16.47 7.32C16.15 4.28 12.93 1.89 9 1.89c-4.13 0-7.5 2.65-7.5 5.92a5.3 5.3 0 0 0 1.91 3.94.77.77 0 0 1 .25.62l-.28 3.18 3.95-1.84a.7.7 0 0 1 .41-.06q.628.085 1.26.09v-.21c0-3.42 3.35-6.2 7.47-6.21",style:{fill:"url(#icon-share-wechat_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m16.022 19.28 1.271 2.202h2.543l-1.271-2.202z",className:"icon-share-wechat_svg__st1"}),(0,r.jsx)("path",{d:"M21.28 14.606h-5.42l-2.712 4.696 2.711 4.695h5.422l2.71-4.695zm-.808 7.978h-3.814L14.75 19.28l.635-1.101h3.815l1.907 3.303zm1.271-2.203-1.907-3.303h-3.814l.636-1.1h3.814l1.907 3.302z",className:"icon-share-wechat_svg__st1"})]}))};function Mt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Lt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Mt(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Mt(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const zt=function(e){return(0,r.jsxs)("svg",Lt(Lt({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-share-whatsapp_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-share-whatsapp_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-share-whatsapp_svg__SVGID_1_",x1:11.992,x2:11.992,y1:0,y2:24,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"m13.106 16.386-.755 1.308c-.137-.06-.277-.116-.411-.184-2.166-1.046-4.01-2.726-5.34-4.73-.82-1-1.31-2.23-1.4-3.52a4.06 4.06 0 0 1 1.18-2.94l.06-.05a1.83 1.83 0 0 1 1.34-.61h.62a1.31 1.31 0 0 1 1.31 1l.33.81c.24.58.5 1.22.56 1.35.2.368.2.812 0 1.18-.198.41-.462.785-.78 1.11a7.22 7.22 0 0 0 3.5 3c.25-.29.61-.73.74-.92a1.18 1.18 0 0 1 1.56-.44c.143.048.5.214.88.398h-1.525l-1.456 2.523a1.15 1.15 0 0 1-.739-.171 8.73 8.73 0 0 1-4.35-3.83 1.16 1.16 0 0 1 .28-1.54 3.2 3.2 0 0 0 .52-.69C9.16 9.25 9 8.87 8.65 8c0 0-.34-.84-.35-.85h-.46l-.06.01a.33.33 0 0 0-.24.13l-.06.06a2.53 2.53 0 0 0-.78 1.91 4.86 4.86 0 0 0 1 2.61l.09.12a11.9 11.9 0 0 0 4.7 4.14q.334.144.616.256m.115 6.026a10 10 0 0 1-1.19.088 10.5 10.5 0 0 1-5.271-1.41l-.54-.31-.6.16-3.5.94.94-3.5.16-.6-.31-.54C.01 12.224 1.726 5.808 6.742 2.908A10.5 10.5 0 0 1 12 1.5c5.799-.009 10.507 4.685 10.516 10.484q-.001.863-.137 1.687l1.072 1.856c1.616-5.23-.503-11.062-5.443-13.917A12 12 0 0 0 12 0C5.373.001.001 5.375.002 12.002A12 12 0 0 0 1.61 18L0 24l6-1.61c2.526 1.46 5.357 1.873 8.023 1.412z",style:{fill:"url(#icon-share-whatsapp_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m15.979 19.278 1.27 2.202h2.544l-1.272-2.202z",className:"icon-share-whatsapp_svg__st1"}),(0,r.jsx)("path",{d:"M21.237 14.604h-5.421L13.105 19.3l2.71 4.695h5.422l2.711-4.695zm-.809 7.977h-3.814l-1.907-3.303.636-1.101h3.814l1.907 3.303zM21.7 20.38l-1.907-3.303h-3.815l.636-1.101h3.815l1.907 3.303z",className:"icon-share-whatsapp_svg__st1"})]}))};function Ft(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Vt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ft(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ft(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Wt=function(e){return(0,r.jsxs)("svg",Vt(Vt({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-post-author_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-post-author_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-post-author_svg__SVGID_1_",x1:12,x2:12,y1:0,y2:24,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"M15 9.62a3 3 0 1 0-6 0 3 3 0 0 0 6 0m-4.49.01a1.49 1.49 0 1 1 2.98 0 1.49 1.49 0 0 1-2.98 0M3.75 22.5v-21H15v5.25h5.25v6.383h1.5V5.25L16.5 0H2.25v24h11.546l-.866-1.5zM16.5 2.12l3.13 3.13H16.5zM12 13.5c.895 0 1.73.234 2.463.633l-.754 1.307a3.7 3.7 0 0 0-.937-.348A3.76 3.76 0 0 0 8.32 18h3.91l-.74 1.284.124.216H6.75v-.75c0-2.9 2.35-5.25 5.25-5.25",style:{fill:"url(#icon-post-author_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m16.044 19.263 1.271 2.202h2.543l-1.271-2.202z",className:"icon-post-author_svg__st1"}),(0,r.jsx)("path",{d:"M21.303 14.589H15.88l-2.71 4.695 2.71 4.695h5.422l2.71-4.695zm-.81 7.977H16.68l-1.907-3.303.635-1.101h3.815l1.907 3.303zm1.272-2.202-1.907-3.303h-3.814l.636-1.101h3.814l1.907 3.303z",className:"icon-post-author_svg__st1"})]}))};function Gt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Ut(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Gt(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Gt(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const qt=function(e){return(0,r.jsxs)("svg",Ut(Ut({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-post-block_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-post-block_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-post-block_svg__SVGID_1_",x1:12,x2:12,y1:3,y2:21,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"M21.75 4.5h-9V3h9zm-8.137 9h-.863v1.495zM24 9H12.75v1.5H24zm0-3H12.75v1.5H24zM12.75 19.505V21h.863zM0 3h10.5v7.5H0zm1.5 6H9V4.5H1.5zM0 13.5h10.5V21H0zm1.5 6H9V15H1.5z",style:{fill:"url(#icon-post-block_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m16.003 17.229 1.27 2.202h2.543l-1.271-2.202z",className:"icon-post-block_svg__st1"}),(0,r.jsx)("path",{d:"M21.261 12.555H15.84l-2.711 4.695 2.71 4.695h5.422l2.71-4.695zm-.809 7.977h-3.814l-1.907-3.303.636-1.101h3.814l1.907 3.303zm1.271-2.203-1.906-3.303h-3.815l.636-1.1h3.814l1.907 3.302z",className:"icon-post-block_svg__st1"})]}))};function $t(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Yt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?$t(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):$t(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Xt=function(e){return(0,r.jsxs)("svg",Yt(Yt({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-post-comment_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-post-comment_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-post-comment_svg__SVGID_1_",x1:12,x2:12,y1:.206,y2:17.496,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"m12.341 17.496.866-1.5H11.25v-3h7.5v-3h3.75v3.66h.203L24 15.902V8.496l-5.25-.04V.206H0v12.79h2.93l.07 3.78 4.62-3.78h2.13v4.5zm-5.261-6-.41.34-2.23 1.82v-2.16H1.5v-9.79h15.75v9.79zM12 5.526H3.75v-1.5H12zm-8.25 1.5H15v1.5H3.75z",style:{fill:"url(#icon-post-comment_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m15.92 19.166 1.27 2.202h2.543l-1.271-2.202z",className:"icon-post-comment_svg__st1"}),(0,r.jsx)("path",{d:"M21.178 14.492h-5.421l-2.711 4.695 2.71 4.695h5.422l2.71-4.695zm-.809 7.977h-3.814l-1.907-3.303.636-1.101h3.814l1.907 3.303zm1.271-2.202-1.907-3.303H15.92l.636-1.101h3.814l1.907 3.303z",className:"icon-post-comment_svg__st1"})]}))};function Jt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Qt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Jt(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Jt(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Zt=function(e){return(0,r.jsxs)("svg",Qt(Qt({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-post-date_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-post-date_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-post-date_svg__SVGID_1_",x1:12,x2:12,y1:0,y2:24,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"M12.8 12.8h1.5v1.5h-1.5zm0 4.188.686-1.188H12.8zm0-5.688h1.5V9.8h-1.5zm3 0h1.5V9.8h-1.5zm0 1.847h1.5V12.8h-1.5zm3 0h1.5V12.8h-1.5zm0-1.847h1.5V9.8h-1.5zm-7.5 4.5H9.8v1.5h1.5zm2.88 8.2H0V1.5h3.8V0h1.4v1.5h13.5V0h1.5v1.5H24v14.904l-1.5-2.598V7.5h-21v15h11.815zM1.5 6h20.9V3h-2.2v1.5h-1.5V3H5.2v1.5H3.7V3H1.5zm3.8 9.8H3.8v1.5h1.5zm-1.5 4.5h1.5v-1.5H3.8zm1.5-7.5H3.8v1.5h1.5zm3 0H6.8v1.5h1.5zm0 3H6.8v1.5h1.5zm3-3H9.8v1.5h1.5zm-4.5 7.5h1.5v-1.5H6.8zm4.5-10.5H9.8v1.5h1.5zM9.8 20.3h1.5v-1.5H9.8z",style:{fill:"url(#icon-post-date_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m16.02 19.277 1.272 2.202h2.543l-1.272-2.202z",className:"icon-post-date_svg__st1"}),(0,r.jsx)("path",{d:"M21.28 14.603h-5.422l-2.71 4.695 2.71 4.696h5.421l2.711-4.696zm-.81 7.977h-3.814l-1.906-3.303.635-1.101H19.2l1.906 3.303zm1.272-2.202-1.907-3.303H16.02l.636-1.101h3.815l1.907 3.303z",className:"icon-post-date_svg__st1"})]}))};function Kt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function eo(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Kt(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Kt(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const to=function(e){return(0,r.jsxs)("svg",eo(eo({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-post-excerpt_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-post-excerpt_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-post-excerpt_svg__SVGID_1_",x1:11.95,x2:11.95,y1:0,y2:24,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"M13.27 22.5H3.8v-21H15v5.2h5.2v6.484h1.5V5.2L16.5 0H2.2v24h11.937zM16.5 2.1l3.1 3.1h-3.1zM13.946 15l-.866 1.5H6.8V15zM6.8 12h10.5v1.5H6.8zm6.8-3v1.5H6.8V9z",style:{fill:"url(#icon-post-excerpt_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m15.998 19.314 1.271 2.202h2.543l-1.271-2.202z",className:"icon-post-excerpt_svg__st1"}),(0,r.jsx)("path",{d:"M21.257 14.64h-5.422l-2.71 4.695 2.71 4.695h5.422l2.71-4.695zm-.81 7.977h-3.813l-1.907-3.303.635-1.102h3.815l1.907 3.304zm1.272-2.203-1.907-3.303h-3.814l.636-1.1h3.814l1.907 3.302z",className:"icon-post-excerpt_svg__st1"})]}))};function oo(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function no(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?oo(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):oo(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const ro=function(e){return(0,r.jsxs)("svg",no(no({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-post-list_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-post-list_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-post-list_svg__SVGID_1_",x1:12,x2:12,y1:3.19,y2:20.81,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"M7.13 10.31H0v-.75h7.13zM18 3.19H0v1.5h18zm6 3H0v1.5h24zM0 20.81h7.13v-.75H0zm11.47-3.808.18-.312H0v1.5h12.156zm1.912-3.312H0v1.5h12.516z",style:{fill:"url(#icon-post-list_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m16.025 16.98 1.27 2.203h2.544l-1.272-2.203z",className:"icon-post-list_svg__st1"}),(0,r.jsx)("path",{d:"M21.283 12.307h-5.421l-2.71 4.695 2.71 4.695h5.421l2.711-4.695zm-.809 7.977H16.66l-1.907-3.303.636-1.102h3.814l1.907 3.304zm1.272-2.203-1.907-3.303h-3.815l.636-1.1h3.815l1.907 3.302z",className:"icon-post-list_svg__st1"})]}))};function io(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function ao(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?io(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):io(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const so=function(e){return(0,r.jsxs)("svg",ao(ao({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-post-terms_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-post-terms_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-post-terms_svg__SVGID_1_",x1:12,x2:12,y1:0,y2:24,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"M5.25 18h6v-3.75h-6zm1.5-2.25h3v.75h-3zm5.627 6.75H3.75v-21H15v5.25h5.25v6.396h.932l.568.984V5.25L16.5 0H2.25v24h10.993zM16.5 2.12l3.13 3.13H16.5zm-3.75 10.63h6V9h-6zm1.5-2.25h3v.75h-3zm-3-1.5h-6v3.75h6zm-1.5 2.25h-3v-.75h3z",style:{fill:"url(#icon-post-terms_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m15.083 19.276 1.27 2.202h2.543l-1.27-2.203z",className:"icon-post-terms_svg__st1"}),(0,r.jsx)("path",{d:"M20.341 14.602H14.92l-2.711 4.695 2.71 4.695h5.422l2.711-4.695zm-.809 7.977h-3.814l-1.907-3.303.636-1.102h3.814l1.907 3.304zm1.271-2.203-1.906-3.303h-3.815l.636-1.1h3.814l1.907 3.302z",className:"icon-post-terms_svg__st1"})]}))};function lo(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function co(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?lo(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):lo(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const po=function(e){return(0,r.jsxs)("svg",co(co({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-post-title_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-post-title_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-post-title_svg__SVGID_1_",x1:10.877,x2:10.877,y1:0,y2:24,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"M11.627 17.25h.997l-.866 1.5H8.627v-1.5h1.5V10.5h-2.25v.75h-1.5V9h9v2.25h-1.5v-.75h-2.25zM14.192 24H1.127V0h14.25l5.25 5.25v7.866h-1.5V6.75h-5.25V1.5H2.627v21h10.7zm1.185-18.75h3.13l-3.13-3.13z",style:{fill:"url(#icon-post-title_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m16.014 19.245 1.271 2.203h2.543l-1.271-2.203z",className:"icon-post-title_svg__st1"}),(0,r.jsx)("path",{d:"M21.273 14.572h-5.421l-2.711 4.695 2.71 4.695h5.422l2.71-4.695zm-.81 7.977H16.65l-1.907-3.303.636-1.102h3.814l1.907 3.304zm1.272-2.203-1.907-3.303h-3.814l.636-1.1h3.814l1.907 3.302z",className:"icon-post-title_svg__st1"})]}))};function uo(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function yo(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?uo(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):uo(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const go=function(e){return(0,r.jsxs)("svg",yo(yo({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-search_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-search_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-search_svg__SVGID_1_",x1:12,x2:12,y1:0,y2:24,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"M15.167 3.346c1.466 0 2.844.571 3.88 1.608l-1.053 1.054a3.97 3.97 0 0 0-2.827-1.17 3.97 3.97 0 0 0-2.826 1.17l-1.054-1.054a5.45 5.45 0 0 1 3.88-1.608m7.254 10.502-.396-.689h-.947c2.111-2.866 1.88-6.93-.713-9.522a7.28 7.28 0 0 0-5.183-2.146A7.28 7.28 0 0 0 10 3.637c-2.858 2.858-2.858 7.508 0 10.365a7.3 7.3 0 0 0 3.351 1.909l-.763 1.329a8.8 8.8 0 0 1-3.089-1.683l-1.59 1.59 1.054 1.055L3.165 24 .002 20.838 5.8 15.04l1.054 1.054 1.591-1.591c-2.929-3.466-2.766-8.653.5-11.92A8.8 8.8 0 0 1 15.183 0c2.258 0 4.515.861 6.237 2.583 3.067 3.067 3.395 7.826 1.002 11.265M6.854 18.202 5.8 17.148l-3.69 3.69 1.055 1.054z",style:{fill:"url(#icon-search_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m15.928 19.31 1.264 2.189h2.527l-1.264-2.189z",className:"icon-search_svg__st1"}),(0,r.jsx)("path",{d:"M21.155 14.665h-5.389l-2.694 4.667 2.694 4.666h5.389l2.694-4.666zm-.805 7.928h-3.79l-1.895-3.283.631-1.094h3.791l1.896 3.283zm1.264-2.189-1.895-3.282h-3.791l.632-1.094h3.79l1.896 3.282z",className:"icon-search_svg__st1"})]}))};function mo(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function vo(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?mo(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):mo(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const ho=function(e){return(0,r.jsxs)("svg",vo(vo({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-archive-title_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-archive-title_svg__st1{fill:#4579f0}"}),(0,r.jsxs)("linearGradient",{id:"icon-archive-title_svg__SVGID_1_",x1:12,x2:12,y1:0,y2:24,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"M24.013 3.752v12.653l-1.476-2.57-.025-.044V5.254l-6.006.002h-.544l-.418-.348-4.088-3.406H1.488v20.996h11.75L14.1 24H-.013V0H12l4.505 3.754zM10.82 7.51H5.994v2.976h1.501V9.01h3.325v9.01H8.246v1.502h3.015l.563-.981.498-.866V9.01h3.433v1.475h1.501V7.509H10.82",style:{fill:"url(#icon-archive-title_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m15.963 19.24 1.273 2.205h2.545L18.51 19.24z",className:"icon-archive-title_svg__st1"}),(0,r.jsx)("path",{d:"M21.228 14.561H15.8l-2.714 4.7 2.714 4.7h5.428l2.714-4.7zm-.81 7.986H16.6l-1.91-3.307.637-1.102h3.819l1.909 3.307zm1.273-2.205-1.91-3.307h-3.818l.637-1.102h3.818l1.91 3.307h-.001z",className:"icon-archive-title_svg__st1"})]}))};function bo(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function fo(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?bo(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):bo(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const xo=function(e){return(0,r.jsxs)("svg",fo(fo({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),{},{children:[(0,r.jsxs)("g",{clipPath:"url(#icon-search-result-title_svg__a)",children:[(0,r.jsx)("path",{fill:"url(#icon-search-result-title_svg__b)",fillRule:"evenodd",d:"M8.322 14.617c-2.947-3.488-2.778-8.71.509-11.997a8.84 8.84 0 0 1 6.274-2.6c2.271 0 4.543.867 6.275 2.6 3.036 3.036 3.412 7.725 1.128 11.171l-.416-.724h-.904a7.3 7.3 0 0 0 1.291-4.172c0-1.97-.767-3.822-2.16-5.215a7.32 7.32 0 0 0-5.214-2.16c-1.97 0-3.822.768-5.214 2.16a7.32 7.32 0 0 0-2.16 5.215c0 1.969.767 3.821 2.16 5.214a7.3 7.3 0 0 0 3.36 1.926l-.769 1.34a8.8 8.8 0 0 1-3.1-1.698l-1.427 1.429 1.06 1.06L3.182 24 0 20.818l5.833-5.834 1.061 1.06zm-2.489 2.489 1.061 1.06-3.712 3.712-1.061-1.06zm8.575-10.633v5.5h-1.464v1.5h4.5v-1.5h-1.536v-5.5h1.786v.732h1.5V4.973h-8v2.232h1.5v-.732z",clipRule:"evenodd"}),(0,r.jsx)("path",{fill:"#4579F0",d:"m15.796 14.545-2.711 4.695 2.71 4.695h5.423l2.71-4.695-2.71-4.695zm-1.11 4.674.636-1.101h3.815l1.907 3.303-.636 1.1h-3.814zm1.273 0 1.27 2.202h2.543l-1.271-2.202zm.636-3.303h3.814l1.906 3.303-.636 1.1-1.907-3.303h-3.814z"})]}),(0,r.jsxs)("defs",{children:[(0,r.jsxs)("linearGradient",{id:"icon-search-result-title_svg__b",x1:11.989,x2:11.989,y1:.02,y2:24,gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#2E54EB"}),(0,r.jsx)("stop",{offset:1,stopColor:"#66C6D2"})]}),(0,r.jsx)("clipPath",{id:"icon-search-result-title_svg__a",children:(0,r.jsx)("path",{fill:"#fff",d:"M0 0h24v24H0z"})})]})]}))};function wo(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function So(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?wo(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):wo(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const _o=function(e){return(0,r.jsxs)("svg",So(So({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-mega-menu_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-mega-menu_svg__st1{fill:#ff808b}"}),(0,r.jsxs)("linearGradient",{id:"icon-mega-menu_svg__SVGID_1_",x1:11.998,x2:11.998,y1:25.444,y2:4.444,gradientTransform:"matrix(1 0 0 -1 0 26)",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54eb"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c6d2"}})]}),(0,r.jsx)("path",{d:"M16.5 2.8H21v1.5h-4.5zM9.8 4.3h4.5V2.8H9.8zm2.7 8.3h8.4v-1.5H11v7.5h.6l.9-1.6zM3 4.3h4.5V2.8H3zm6.1 9.8h-6v1.5h6zm0-3h-6v1.5h6zM1.5 6.6H0v-6h24v6H1.5m0-1.5h21v-3h-21zm1.6 13.5h6v-1.5h-6zm9.1 1.5H1.5V9.6h20.9v3.5l1.6 2.8V8.1H6.6L5.3 7 4 8.1H0v13.5h13.1z",style:{fill:"url(#icon-mega-menu_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m16 18.7 1.3 2.2h2.5l-1.2-2.2z",className:"icon-mega-menu_svg__st1"}),(0,r.jsx)("path",{d:"M21.3 14.1h-5.4l-2.7 4.7 2.7 4.7h5.4l2.7-4.7zm-.8 7.9h-3.8l-1.9-3.3.6-1.1h3.8l1.9 3.3zm1.3-2.2-1.9-3.3H16l.6-1.1h3.8l1.9 3.3z",className:"icon-mega-menu_svg__st1"})]}))};function jo(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function To(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?jo(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):jo(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Oo=function(e){return(0,r.jsxs)("svg",To(To({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"icon-lottie_svg__Layer_1",x:0,y:0,viewBox:"0 0 24 24"},e),{},{children:[(0,r.jsx)("style",{children:".icon-lottie_svg__st1{fill:#ff808b}"}),(0,r.jsxs)("linearGradient",{id:"icon-lottie_svg__SVGID_1_",x1:10.501,x2:10.501,y1:23.764,y2:2.777,gradientTransform:"matrix(1 0 0 -1 0 24)",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:0,style:{stopColor:"#2e54e9"}}),(0,r.jsx)("stop",{offset:1,style:{stopColor:"#66c4d0"}})]}),(0,r.jsx)("path",{d:"M16.988 5.987a1.04 1.04 0 0 1-1.041 1.04c-2.198 0-3.051 1.338-4.195 3.54l-.703 1.329c-1.079 2.076-2.42 4.661-6.042 4.661a1.04 1.04 0 0 1-.735-.305 1.04 1.04 0 0 1 .735-1.774c2.199 0 3.052-1.339 4.195-3.541l.704-1.329c1.08-2.076 2.42-4.661 6.04-4.661.575 0 1.041.465 1.042 1.04M.008.237v20.986h12.701l-.81-1.41-.051-.09H1.507V1.736h17.988v11.136h1.5V.236z",style:{fill:"url(#icon-lottie_svg__SVGID_1_)"}}),(0,r.jsx)("path",{d:"m15.998 18.967 1.299 2.199h2.498l-1.2-2.2z",className:"icon-lottie_svg__st1"}),(0,r.jsx)("path",{d:"M21.294 14.37h-5.396l-2.699 4.697 2.699 4.697h5.396l2.698-4.697zm-.8 7.895h-3.797l-1.899-3.298.6-1.1h3.798l1.898 3.299zm1.3-2.199-1.899-3.298h-3.898l.6-1.099h3.798l1.898 3.298z",className:"icon-lottie_svg__st1"})]}))};var Co=function(){return(0,r.jsx)(xo,{})},ko=function(){return(0,r.jsx)(_o,{})},Po=function(){return(0,r.jsx)(Oo,{})},No=function(){return(0,r.jsx)(s,{})},Eo=function(){return(0,r.jsx)(p,{})},Do=function(){return(0,r.jsx)(y,{})},Bo=function(){return(0,r.jsx)(v,{})},Ao=function(){return(0,r.jsx)(f,{})},Ho=function(){return(0,r.jsx)(S,{})},Ro=function(){return(0,r.jsx)(T,{})},Io=function(){return(0,r.jsx)(k,{})},Mo=function(){return(0,r.jsx)(E,{})},Lo=function(){return(0,r.jsx)(A,{})},zo=function(){return(0,r.jsx)(I,{})},Fo=function(){return(0,r.jsx)(z,{})},Vo=function(){return(0,r.jsx)(W,{})},Wo=function(){return(0,r.jsx)(q,{})},Go=function(){return(0,r.jsx)(X,{})},Uo=function(){return(0,r.jsx)(Z,{})},qo=function(){return(0,r.jsx)(te,{})},$o=function(){return(0,r.jsx)(re,{})},Yo=function(){return(0,r.jsx)(se,{})},Xo=function(){return(0,r.jsx)(pe,{})},Jo=function(){return(0,r.jsx)(ye,{})},Qo=function(){return(0,r.jsx)(ve,{})},Zo=function(){return(0,r.jsx)(fe,{})},Ko=function(){return(0,r.jsx)(Se,{})},en=function(){return(0,r.jsx)(Te,{})},tn=function(){return(0,r.jsx)(ke,{})},on=function(){return(0,r.jsx)(Ee,{})},nn=function(){return(0,r.jsx)(Ie,{})},rn=function(){return(0,r.jsx)(Ae,{})},an=function(){return(0,r.jsx)(rt,{})},sn=function(){return(0,r.jsx)(st,{})},ln=function(){return(0,r.jsx)(pt,{})},cn=function(){return(0,r.jsx)(yt,{})},pn=function(){return(0,r.jsx)(vt,{})},un=function(){return(0,r.jsx)(ft,{})},dn=function(){return(0,r.jsx)(St,{})},yn=function(){return(0,r.jsx)(Tt,{})},gn=function(){return(0,r.jsx)(kt,{})},mn=function(){return(0,r.jsx)(Et,{})},vn=function(){return(0,r.jsx)(At,{})},hn=function(){return(0,r.jsx)(It,{})},bn=function(){return(0,r.jsx)(zt,{})},fn=function(){return(0,r.jsx)(Wt,{})},xn=function(){return(0,r.jsx)(qt,{})},wn=function(){return(0,r.jsx)(Xt,{})},Sn=function(){return(0,r.jsx)(Zt,{})},_n=function(){return(0,r.jsx)(to,{})},jn=function(){return(0,r.jsx)(ro,{})},Tn=function(){return(0,r.jsx)(so,{})},On=function(){return(0,r.jsx)(po,{})},Cn=function(){return(0,r.jsx)(ho,{})},kn=function(){return(0,r.jsx)(go,{})},Pn=function(){return(0,r.jsx)(ze,{})},Nn=function(){return(0,r.jsx)(We,{})},En=function(){return(0,r.jsx)(Ze,{})},Dn=function(){return(0,r.jsx)(qe,{})},Bn=function(){return(0,r.jsx)(Xe,{})},An=function(){return(0,r.jsx)(tt,{})}},4968:e=>{"use strict";e.exports=gutenverseCore.config},4997:e=>{"use strict";e.exports=window.wp.blocks},5007:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>q,name:()=>oe,settings:()=>re});var n=o(6065),r=o(9491),i=o(3482),a=o(596),s=o(7723);function l(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function c(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?l(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):l(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var p=function(e){var t=e.showDesc,o=e.elementId,r=e.hoverBottom,i=e.profileType,l=e.setSwitcher,p=e.switcher;return[{id:"src",label:(0,s.__)("Profile Picture","gutenverse"),component:a.ImageControl},{id:"lazy",label:(0,s.__)("Set Lazy Load","gutenverse"),component:a.CheckboxControl},{id:"nameTag",label:(0,s.__)("Name HTML tag","gutenverse"),component:a.SelectControl,options:[{value:"h1",label:"H1"},{value:"h2",label:"H2"},{value:"h3",label:"H3"},{value:"h4",label:"H4"},{value:"h5",label:"H5"},{value:"h6",label:"H6"},{value:"div",label:"Div"},{value:"span",label:"Span"},{value:"p",label:"P"}]},{id:"profileType",label:(0,s.__)("Style","gutenverse"),component:a.SelectControl,options:[{value:"default",label:"Default"},{value:"overlay",label:"Overlay Profile"},{value:"hover",label:"Social Hover"},{value:"titleSocialHorizontal",label:"Title & Social Horizontal"}]},{id:"overlayType",show:"overlay"===i,label:(0,s.__)("Overlay Style","gutenverse"),component:a.SelectControl,options:[{value:"default",label:"Default"},{value:"scale",label:"Scale"}]},{id:"overlayPosition",show:"overlay"===i,label:(0,s.__)("Overlay Content Position","gutenverse"),component:a.SelectControl,options:[{value:"center",label:"Center"},{value:"bottom",label:"Bottom"}]},{id:"overlayProfilePosition",label:(0,s.__)("Overlay Content Position","--gctd--"),show:"overlay"===i,component:a.SizeControl,allowDeviceControl:!0,units:{px:{text:"px",min:58,max:1440,step:1},vh:{text:"vh",min:5,max:100,step:1},vw:{text:"vw",min:5,max:100,step:1},"%":{text:"%",min:0,max:100,step:1}},liveStyle:[{type:"unitPoint",id:"overlayProfilePosition",responsive:!0,selector:".".concat(o,".guten-team .profile-box .profile-card.card-overlay:hover .profile-body "),properties:[{name:"margin-bottom",valueType:"direct"}]}]},{id:"name",label:(0,s.__)("Name","gutenverse"),component:a.TextControl},{id:"job",label:(0,s.__)("Job","gutenverse"),component:a.TextControl},{id:"showDesc",label:(0,s.__)("Show Description","gutenverse"),component:a.CheckboxControl},{id:"description",show:t,label:(0,s.__)("Description","gutenverse"),component:a.TextareaControl},{id:"titleSocialSeparator",component:a.HeadingControl,label:(0,s.__)("Title Social Settings","gutenverse"),show:"titleSocialHorizontal"===i},{id:"__titleSocial",component:a.SwitchControl,show:"titleSocialHorizontal"===i,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__titleSocial;return l(c(c({},p),{},{titleSocial:t}))}},{id:"titleSeparatorPosition",component:a.HeadingControl,label:(0,s.__)("Title Positions","gutenverse"),show:"titleSocialHorizontal"===i},{id:"titleHorizontal",label:(0,s.__)("Title Horizontal Orientation","--gctd--"),show:"titleSocialHorizontal"===i&&("normal"===p.titleSocial||!p.titleSocial),component:a.SizeControl,allowDeviceControl:!0,units:(0,n.A)((0,n.A)({px:{text:"px",min:-1e3,max:1e3,step:1,unit:"px"}},"%",{text:"%",min:-200,max:200,step:1,unit:"%"}),"vw",{text:"vw",min:-200,max:200,step:1,unit:"vw"}),liveStyle:[{type:"unitPoint",id:"titleHorizontal",responsive:!0,selector:".".concat(o,".guten-team .profile-box .profile-card.card-title-social-horizontal .profile-title"),properties:[{name:"left",valueType:"direct"}]}]},{id:"titleVertical",label:(0,s.__)("Title Vertical Orientation","--gctd--"),show:"titleSocialHorizontal"===i&&("normal"===p.titleSocial||!p.titleSocial),component:a.SizeControl,allowDeviceControl:!0,units:(0,n.A)((0,n.A)({px:{text:"px",min:-1e3,max:1e3,step:1,unit:"px"}},"%",{text:"%",min:-200,max:200,step:1,unit:"%"}),"vh",{text:"vh",min:-200,max:200,step:1,unit:"vh"}),liveStyle:[{type:"unitPoint",id:"titleVertical",responsive:!0,selector:".".concat(o,".guten-team .profile-box .profile-card.card-title-social-horizontal .profile-title"),properties:[{name:"bottom",valueType:"direct"}]}]},{id:"titleOpacity",label:(0,s.__)("Title Opacity","gutenverse"),component:a.RangeControl,show:"titleSocialHorizontal"===i&&("normal"===p.titleSocial||!p.titleSocial),min:.1,max:1,step:.1,isParseFloat:!1,liveStyle:[{type:"plain",id:"titleOpacity",responsive:!0,selector:".".concat(o,".guten-team .profile-box .profile-card.card-title-social-horizontal .profile-title"),properties:[{name:"opacity",valueType:"direct"}]}]},{id:"titleHorizontalHover",label:(0,s.__)("Title Horizontal Orientation","--gctd--"),show:"titleSocialHorizontal"===i&&"hover"===p.titleSocial,component:a.SizeControl,allowDeviceControl:!0,units:(0,n.A)((0,n.A)({px:{text:"px",min:-1e3,max:1e3,step:1,unit:"px"}},"%",{text:"%",min:-200,max:200,step:1,unit:"%"}),"vw",{text:"vw",min:-200,max:200,step:1,unit:"vw"}),liveStyle:[{type:"unitPoint",id:"titleHorizontalHover",responsive:!0,selector:".".concat(o,".guten-team .profile-box .profile-card.card-title-social-horizontal:hover .profile-title"),properties:[{name:"left",valueType:"direct"}]}]},{id:"titleVerticalHover",label:(0,s.__)("Title Vertical Orientation","--gctd--"),show:"titleSocialHorizontal"===i&&"hover"===p.titleSocial,component:a.SizeControl,allowDeviceControl:!0,units:(0,n.A)((0,n.A)({px:{text:"px",min:-1e3,max:1e3,step:1,unit:"px"}},"%",{text:"%",min:-200,max:200,step:1,unit:"%"}),"vh",{text:"vh",min:-200,max:200,step:1,unit:"vh"}),liveStyle:[{type:"unitPoint",id:"titleVerticalHover",responsive:!0,selector:".".concat(o,".guten-team .profile-box .profile-card.card-title-social-horizontal:hover .profile-title"),properties:[{name:"bottom",valueType:"direct"}]}]},{id:"titleOpacityHover",label:(0,s.__)("Title Opacity","gutenverse"),component:a.RangeControl,show:"titleSocialHorizontal"===i&&"hover"===p.titleSocial,min:.1,max:1,step:.1,isParseFloat:!1,liveStyle:[{type:"plain",id:"titleOpacityHover",responsive:!0,selector:".".concat(o,".guten-team .profile-box .profile-card.card-title-social-horizontal:hover .profile-title"),properties:[{name:"opacity",valueType:"direct"}]}]},{id:"jobSeparatorPosition",component:a.HeadingControl,label:(0,s.__)("Job Positions","gutenverse"),show:"titleSocialHorizontal"===i},{id:"jobHorizontal",label:(0,s.__)("Job Horizontal Orientation","--gctd--"),show:"titleSocialHorizontal"===i&&("normal"===p.titleSocial||!p.titleSocial),component:a.SizeControl,allowDeviceControl:!0,units:(0,n.A)((0,n.A)({px:{text:"px",min:-1e3,max:1e3,step:1,unit:"px"}},"%",{text:"%",min:-200,max:200,step:1,unit:"%"}),"vw",{text:"vw",min:-200,max:200,step:1,unit:"vw"}),liveStyle:[{type:"unitPoint",id:"jobHorizontal",responsive:!0,selector:".".concat(o,".guten-team .profile-box .profile-card.card-title-social-horizontal .profile-sub"),properties:[{name:"right",valueType:"direct"}]}]},{id:"jobVertical",label:(0,s.__)("Job Vertical Orientation","--gctd--"),show:"titleSocialHorizontal"===i&&("normal"===p.titleSocial||!p.titleSocial),component:a.SizeControl,allowDeviceControl:!0,units:(0,n.A)((0,n.A)({px:{text:"px",min:-1e3,max:1e3,step:1,unit:"px"}},"%",{text:"%",min:-200,max:200,step:1,unit:"%"}),"vh",{text:"vh",min:-200,max:200,step:1,unit:"vh"}),liveStyle:[{type:"unitPoint",id:"jobVertical",responsive:!0,selector:".".concat(o,".guten-team .profile-box .profile-card.card-title-social-horizontal .profile-sub"),properties:[{name:"top",valueType:"direct"}]}]},{id:"jobOpacity",label:(0,s.__)("Job Opacity","gutenverse"),component:a.RangeControl,show:"titleSocialHorizontal"===i&&("normal"===p.titleSocial||!p.titleSocial),min:.1,max:1,step:.1,isParseFloat:!1,liveStyle:[{type:"plain",id:"jobOpacity",responsive:!0,selector:".".concat(o,".guten-team .profile-box .profile-card.card-title-social-horizontal .profile-sub"),properties:[{name:"opacity",valueType:"direct"}]}]},{id:"jobHorizontalHover",label:(0,s.__)("Job Horizontal Orientation","--gctd--"),show:"titleSocialHorizontal"===i&&"hover"===p.titleSocial,component:a.SizeControl,allowDeviceControl:!0,units:(0,n.A)((0,n.A)({px:{text:"px",min:-1e3,max:1e3,step:1,unit:"px"}},"%",{text:"%",min:-200,max:200,step:1,unit:"%"}),"vw",{text:"vw",min:-200,max:200,step:1,unit:"vw"}),liveStyle:[{type:"unitPoint",id:"jobHorizontalHover",responsive:!0,selector:".".concat(o,".guten-team .profile-box .profile-card.card-title-social-horizontal:hover .profile-sub"),properties:[{name:"right",valueType:"direct"}]}]},{id:"jobVerticalHover",label:(0,s.__)("Job Vertical Orientation","--gctd--"),show:"titleSocialHorizontal"===i&&"hover"===p.titleSocial,component:a.SizeControl,allowDeviceControl:!0,units:(0,n.A)((0,n.A)({px:{text:"px",min:-1e3,max:1e3,step:1,unit:"px"}},"%",{text:"%",min:-200,max:200,step:1,unit:"%"}),"vh",{text:"vh",min:-200,max:200,step:1,unit:"vh"}),liveStyle:[{type:"unitPoint",id:"jobVerticalHover",responsive:!0,selector:".".concat(o,".guten-team .profile-box .profile-card.card-title-social-horizontal:hover .profile-sub"),properties:[{name:"top",valueType:"direct"}]}]},{id:"jobOpacityHover",label:(0,s.__)("Job Opacity","gutenverse"),component:a.RangeControl,show:"titleSocialHorizontal"===i&&"hover"===p.titleSocial,min:.1,max:1,step:.1,isParseFloat:!1,liveStyle:[{type:"plain",id:"jobOpacityHover",responsive:!0,selector:".".concat(o,".guten-team .profile-box .profile-card.card-title-social-horizontal:hover .profile-sub"),properties:[{name:"opacity",valueType:"direct"}]}]},{id:"descSeparatorPosition",component:a.HeadingControl,label:(0,s.__)("Description Positions","gutenverse"),show:"titleSocialHorizontal"===i},{id:"descHorizontal",label:(0,s.__)("Description Horizontal Orientation","--gctd--"),show:"titleSocialHorizontal"===i&&("normal"===p.titleSocial||!p.titleSocial),component:a.SizeControl,allowDeviceControl:!0,units:(0,n.A)((0,n.A)({px:{text:"px",min:-1e3,max:1e3,step:1,unit:"px"}},"%",{text:"%",min:-200,max:200,step:1,unit:"%"}),"vw",{text:"vw",min:-200,max:200,step:1,unit:"vw"}),liveStyle:[{type:"unitPoint",id:"descHorizontal",responsive:!0,selector:".".concat(o,".guten-team .profile-box .profile-card.card-title-social-horizontal .profile-desc"),properties:[{name:"left",valueType:"direct"}]}]},{id:"descVertical",label:(0,s.__)("Description Vertical Orientation","--gctd--"),show:"titleSocialHorizontal"===i&&("normal"===p.titleSocial||!p.titleSocial),component:a.SizeControl,allowDeviceControl:!0,units:(0,n.A)((0,n.A)({px:{text:"px",min:-1e3,max:1e3,step:1,unit:"px"}},"%",{text:"%",min:-200,max:200,step:1,unit:"%"}),"vh",{text:"vh",min:-200,max:200,step:1,unit:"vh"}),liveStyle:[{type:"unitPoint",id:"descVertical",responsive:!0,selector:".".concat(o,".guten-team .profile-box .profile-card.card-title-social-horizontal .profile-desc"),properties:[{name:"top",valueType:"direct"}]}]},{id:"descOpacity",label:(0,s.__)("Description Opacity","gutenverse"),component:a.RangeControl,show:"titleSocialHorizontal"===i&&("normal"===p.titleSocial||!p.titleSocial),min:.1,max:1,step:.1,isParseFloat:!1,liveStyle:[{type:"plain",id:"descOpacity",responsive:!0,selector:".".concat(o,".guten-team .profile-box .profile-card.card-title-social-horizontal .profile-desc"),properties:[{name:"opacity",valueType:"direct"}]}]},{id:"descHorizontalHover",label:(0,s.__)("Description Horizontal Orientation","--gctd--"),show:"titleSocialHorizontal"===i&&"hover"===p.titleSocial,component:a.SizeControl,allowDeviceControl:!0,units:(0,n.A)((0,n.A)({px:{text:"px",min:-1e3,max:1e3,step:1,unit:"px"}},"%",{text:"%",min:-200,max:200,step:1,unit:"%"}),"vw",{text:"vw",min:-200,max:200,step:1,unit:"vw"}),liveStyle:[{type:"unitPoint",id:"descHorizontalHover",responsive:!0,selector:".".concat(o,".guten-team .profile-box .profile-card.card-title-social-horizontal:hover .profile-desc"),properties:[{name:"left",valueType:"direct"}]}]},{id:"descVerticalHover",label:(0,s.__)("Description Vertical Orientation","--gctd--"),show:"titleSocialHorizontal"===i&&"hover"===p.titleSocial,component:a.SizeControl,allowDeviceControl:!0,units:(0,n.A)((0,n.A)({px:{text:"px",min:-1e3,max:1e3,step:1,unit:"px"}},"%",{text:"%",min:-200,max:200,step:1,unit:"%"}),"vh",{text:"vh",min:-200,max:200,step:1,unit:"vh"}),liveStyle:[{type:"unitPoint",id:"descVerticalHover",responsive:!0,selector:".".concat(o,".guten-team .profile-box .profile-card.card-title-social-horizontal:hover .profile-desc"),properties:[{name:"top",valueType:"direct"}]}]},{id:"descOpacityHover",label:(0,s.__)("Description Opacity","gutenverse"),component:a.RangeControl,show:"titleSocialHorizontal"===i&&"hover"===p.titleSocial,min:.1,max:1,step:.1,isParseFloat:!1,liveStyle:[{type:"plain",id:"descOpacityHover",responsive:!0,selector:".".concat(o,".guten-team .profile-box .profile-card.card-title-social-horizontal:hover .profile-desc"),properties:[{name:"opacity",valueType:"direct"}]}]},{id:"socialSeparatorPosition",component:a.HeadingControl,label:(0,s.__)("Social Icons Positions","gutenverse"),show:"titleSocialHorizontal"===i},{id:"socialHorizontal",label:(0,s.__)("Social Icons Horizontal Orientation","--gctd--"),show:"titleSocialHorizontal"===i&&("normal"===p.titleSocial||!p.titleSocial),component:a.SizeControl,allowDeviceControl:!0,units:(0,n.A)((0,n.A)({px:{text:"px",min:-1e3,max:1e3,step:1,unit:"px"}},"%",{text:"%",min:-200,max:200,step:1,unit:"%"}),"vh",{text:"vh",min:-200,max:200,step:1,unit:"vh"}),liveStyle:[{type:"unitPoint",id:"socialHorizontal",responsive:!0,selector:".".concat(o,".guten-team .profile-box .profile-card.card-title-social-horizontal .socials-wrapper"),properties:[{name:"right",valueType:"direct"}]}]},{id:"socialVertical",label:(0,s.__)("Social Icons Vertical Orientation","--gctd--"),show:"titleSocialHorizontal"===i&&("normal"===p.titleSocial||!p.titleSocial),component:a.SizeControl,allowDeviceControl:!0,units:(0,n.A)((0,n.A)({px:{text:"px",min:-1e3,max:1e3,step:1,unit:"px"}},"%",{text:"%",min:-200,max:200,step:1,unit:"%"}),"vh",{text:"vh",min:-200,max:200,step:1,unit:"vh"}),liveStyle:[{type:"unitPoint",id:"socialVertical",responsive:!0,selector:".".concat(o,".guten-team .profile-box .profile-card.card-title-social-horizontal .socials-wrapper"),properties:[{name:"bottom",valueType:"direct"}]}]},{id:"socialOpacity",label:(0,s.__)("Social Icons Opacity","gutenverse"),component:a.RangeControl,show:"titleSocialHorizontal"===i&&("normal"===p.titleSocial||!p.titleSocial),min:.1,max:1,step:.1,isParseFloat:!1,liveStyle:[{type:"plain",id:"socialOpacity",responsive:!0,selector:".".concat(o,".guten-team .profile-box .profile-card.card-title-social-horizontal .socials-wrapper"),properties:[{name:"opacity",valueType:"direct"}]}]},{id:"socialHorizontalHover",label:(0,s.__)("Social Icons Horizontal Orientation","--gctd--"),show:"titleSocialHorizontal"===i&&"hover"===p.titleSocial,component:a.SizeControl,allowDeviceControl:!0,units:(0,n.A)((0,n.A)({px:{text:"px",min:-1e3,max:1e3,step:1,unit:"px"}},"%",{text:"%",min:-200,max:200,step:1,unit:"%"}),"vh",{text:"vh",min:-200,max:200,step:1,unit:"vh"}),liveStyle:[{type:"unitPoint",id:"socialHorizontalHover",responsive:!0,selector:".".concat(o,".guten-team .profile-box .profile-card.card-title-social-horizontal:hover .socials-wrapper"),properties:[{name:"right",valueType:"direct"}]}]},{id:"socialVerticalHover",label:(0,s.__)("Social Icons Vertical Orientation","--gctd--"),show:"titleSocialHorizontal"===i&&"hover"===p.titleSocial,component:a.SizeControl,allowDeviceControl:!0,units:(0,n.A)((0,n.A)({px:{text:"px",min:-1e3,max:1e3,step:1,unit:"px"}},"%",{text:"%",min:-200,max:200,step:1,unit:"%"}),"vh",{text:"vh",min:-200,max:200,step:1,unit:"vh"}),liveStyle:[{type:"unitPoint",id:"socialVerticalHover",responsive:!0,selector:".".concat(o,".guten-team .profile-box .profile-card.card-title-social-horizontal:hover .socials-wrapper"),properties:[{name:"bottom",valueType:"direct"}]}]},{id:"socialOpacityHover",label:(0,s.__)("Social Icons Opacity","gutenverse"),component:a.RangeControl,show:"titleSocialHorizontal"===i&&"hover"===p.titleSocial,min:.1,max:1,step:.1,isParseFloat:!1,liveStyle:[{type:"plain",id:"socialOpacityHover",responsive:!0,selector:".".concat(o,".guten-team .profile-box .profile-card.card-title-social-horizontal:hover .socials-wrapper"),properties:[{name:"opacity",valueType:"direct"}]}]},{id:"hoverBottom",show:["default","hover"].includes(i),label:(0,s.__)("Enable Hover Border Bottom","gutenverse"),component:a.CheckboxControl},{id:"hoverBottomColor",show:r&&["default","hover"].includes(i),label:(0,s.__)("Border Bottom Color","gutenverse"),component:a.ColorControl,liveStyle:[{type:"color",id:"hoverBottomColor",selector:".".concat(o," .border-bottom .animated"),properties:[{name:"background-color",valueType:"direct"}]}]},{id:"hoverBottomHeight",show:r,label:(0,s.__)("Hover Border Bottom Height","gutenverse"),component:a.SizeControl,allowDeviceControl:!0,units:{px:{text:"px",min:1,max:1e3,step:1},em:{text:"em",min:.1,max:10,step:.1}},liveStyle:[{type:"unitPoint",id:"hoverBottomHeight",responsive:!0,selector:".".concat(o," .border-bottom, .").concat(o," .border-bottom .animated "),properties:[{name:"height",valueType:"direct"}]}]},{id:"hoverBottomDirection",show:r&&["default","hover"].includes(i),label:(0,s.__)("Hover Direction","gutenverse"),component:a.SelectControl,options:[{value:"left",label:"From Left"},{value:"right",label:"From Right"}]},{id:"showSocial",label:(0,s.__)("Show Social Icons","gutenverse"),component:a.CheckboxControl}]},u=function(e){var t=e.elementId;return[{id:"nameSpace",label:(0,s.__)("Text Space","gutenverse"),component:a.RangeControl,min:0,max:100,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"nameSpace",responsive:!0,selector:".".concat(t," .profile-title, #").concat(t," .profile-title, .").concat(t," .profile-box .profile-card.card-overlay .profile-body .profile-title"),properties:[{name:"margin-bottom",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"nameColor",label:(0,s.__)("Text color","gutenverse"),component:a.ColorControl,liveStyle:[{type:"color",id:"nameColor",selector:".".concat(t," .profile-title, #").concat(t," .profile-title, .").concat(t," .profile-box .profile-card.card-overlay .profile-body .profile-title,\n .").concat(t," .profile-title> a, #").concat(t," .profile-title> a, .").concat(t," .profile-box .profile-card.card-overlay .profile-body .profile-title> a"),properties:[{name:"color",valueType:"direct"}]}]},{id:"nameColorHover",label:(0,s.__)("Hover Text Color","gutenverse"),component:a.ColorControl},{id:"nameTypography",label:(0,s.__)("Typography","gutenverse"),component:a.TypographyControl},{id:"nameTextShadow",label:(0,s.__)("Text Shadow","gutenverse"),component:a.TextShadowControl,liveStyle:[{type:"textShadow",id:"nameTextShadow",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(t," .profile-title, #").concat(t," .profile-title, .").concat(t," .profile-box .profile-card.card-overlay .profile-body .profile-title")}]}]},d=function(e){var t=e.elementId;return[{id:"jobSpace",label:(0,s.__)("Text Space","gutenverse"),component:a.RangeControl,min:0,max:100,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"jobSpace",responsive:!0,selector:".".concat(t," .profile-sub, #").concat(t," .profile-sub, .").concat(t," .profile-box .profile-card.card-overlay .profile-body .profile-sub"),properties:[{name:"margin-bottom",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"jobColor",label:(0,s.__)("Text color","gutenverse"),component:a.ColorControl,liveStyle:[{type:"color",id:"jobColor",selector:".".concat(t," .profile-sub, #").concat(t," .profile-sub, .").concat(t," .profile-box .profile-card.card-overlay .profile-body .profile-sub,\n .").concat(t," .profile-sub> a, #").concat(t," .profile-sub> a, .").concat(t," .profile-box .profile-card.card-overlay .profile-body .profile-sub> a"),properties:[{name:"color",valueType:"direct"}]}]},{id:"jobColorHover",label:(0,s.__)("Hover Text Color","gutenverse"),component:a.ColorControl},{id:"jobTypography",label:(0,s.__)("Typography","gutenverse"),component:a.TypographyControl},{id:"jobTextShadow",label:(0,s.__)("Text Shadow","gutenverse"),component:a.TextShadowControl,liveStyle:[{type:"textShadow",id:"jobTextShadow",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(t," .profile-sub, #").concat(t," .profile-sub, .").concat(t," .profile-box .profile-card.card-overlay .profile-body .profile-sub")}]}]},y=function(e){var t=e.elementId;return[{id:"descSpace",label:(0,s.__)("Text Space","gutenverse"),component:a.RangeControl,min:0,max:100,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"descSpace",responsive:!0,selector:".".concat(t," .profile-desc, #").concat(t," .profile-desc, #").concat(t," .profile-phone, #").concat(t," .profile-email, .").concat(t," .profile-box .profile-card.card-overlay .profile-body .profile-desc"),properties:[{name:"margin-bottom",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"descColor",label:(0,s.__)("Text color","gutenverse"),component:a.ColorControl,liveStyle:[{type:"color",id:"descColor",properties:[{name:"color",valueType:"direct"}],selector:".".concat(t," .profile-desc, #").concat(t," .profile-desc, #").concat(t," .profile-phone, #").concat(t," .profile-email, .").concat(t," .profile-box .profile-card.card-overlay .profile-body .profile-desc,\n .").concat(t," .profile-desc> a, #").concat(t," .profile-desc> a, #").concat(t," .profile-phone> a, #").concat(t," .profile-email> a, .").concat(t," .profile-box .profile-card.card-overlay .profile-body .profile-desc> a")}]},{id:"descColorHover",label:(0,s.__)("Hover Text Color","gutenverse"),component:a.ColorControl,liveStyle:[{type:"color",id:"descColorHover",properties:[{name:"color",valueType:"direct"}],selector:".".concat(t,":hover .profile-desc, #").concat(t,":hover .profile-desc, #").concat(t,":hover .profile-phone, #").concat(t,":hover .profile-email, .").concat(t,":hover .profile-box .profile-card.card-overlay .profile-body .profile-desc,\n .").concat(t,":hover .profile-desc> a, #").concat(t,":hover .profile-desc> a, #").concat(t,":hover .profile-phone> a, #").concat(t,":hover .profile-email> a, .").concat(t,":hover .profile-box .profile-card.card-overlay .profile-body .profile-desc> a")}]},{id:"descTypography",label:(0,s.__)("Typography","gutenverse"),component:a.TypographyControl},{id:"descTextShadow",label:(0,s.__)("Text Shadow","gutenverse"),component:a.TextShadowControl,liveStyle:[{type:"textShadow",id:"descTextShadow",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(t," .profile-desc, #").concat(t," .profile-desc, #").concat(t," .profile-phone, #").concat(t," .profile-email, .").concat(t," .profile-box .profile-card.card-overlay .profile-body .profile-desc,\n .").concat(t," .profile-desc> a, #").concat(t," .profile-desc> a, #").concat(t," .profile-phone> a, #").concat(t," .profile-email> a, .").concat(t," .profile-box .profile-card.card-overlay .profile-body .profile-desc> a")}]}]},g=o(5255),m=o(790);function v(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function h(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?v(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):v(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var b=function(e){var t=e.switcher,o=e.setSwitcher,r=e.elementId,l=(0,g.getDeviceType)();return[{id:"alignment",label:(0,s.__)("Content Alignment","gutenverse"),component:a.IconRadioControl,allowDeviceControl:!0,options:[{label:(0,s.__)("Align Left","gutenverse"),value:"left",icon:(0,m.jsx)(i.AlignLeft,{})},{label:(0,s.__)("Align Center","gutenverse"),value:"center",icon:(0,m.jsx)(i.AlignCenter,{})},{label:(0,s.__)("Align Right","gutenverse"),value:"right",icon:(0,m.jsx)(i.AlignRight,{})}]},{id:"profilePadding",label:(0,s.__)("Profile Padding","gutenverse"),component:a.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,n.A)((0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"}),"rem",{text:"rem",unit:"rem"})},{id:"detailsPadding",label:(0,s.__)("Content Padding","gutenverse"),component:a.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,n.A)((0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"}),"rem",{text:"rem",unit:"rem"})},{id:"profileBorderRadius",label:(0,s.__)("Profile Border Radius","gutenverse"),component:a.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,n.A)((0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"}),"rem",{text:"rem",unit:"rem"})},{id:"hoverBgColor",label:(0,s.__)("Overlay Background","gutenverse"),component:a.BackgroundControl,options:["default","gradient"],allowDeviceControl:!0,liveStyle:[{type:"background",id:"hoverBgColor",selector:".".concat(r,".guten-team .profile-box .profile-card.card-overlay:before, .").concat(r,".guten-team .profile-box .profile-card.card-title-social-horizontal:before")}]},{id:"__profileHover",component:a.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var n=e.__profileHover;return o(h(h({},t),{},{profileHover:n}))}},{id:"profileBackground",show:!t.profileHover||"normal"===t.profileHover,component:a.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"profileBackground",selector:".".concat(r," .profile-box .profile-card")}]},{id:"profileBackgroundHover",show:"hover"===t.profileHover,component:a.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"]},{id:"profileBorder",show:(!t.profileHover||"normal"===t.profileHover)&&"Desktop"===l,label:(0,s.__)("Border","gutenverse"),component:a.BorderControl,liveStyle:[{type:"border",id:"profileBorder",selector:".".concat(r," .profile-box .profile-card")}]},{id:"profileBorderResponsive",show:(!t.profileHover||"normal"===t.profileHover)&&"Desktop"!==l,label:(0,s.__)("Border","gutenverse"),component:a.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"profileBorderResponsive",selector:".".concat(r," .profile-box .profile-card")}]},{id:"profileBoxShadow",show:!t.profileHover||"normal"===t.profileHover,label:(0,s.__)("Box Shadow","gutenverse"),component:a.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"profileBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(r," .profile-box .profile-card")}]},{id:"profileBorderHover",show:"hover"===t.profileHover&&"Desktop"===l,label:(0,s.__)("Border","gutenverse"),component:a.BorderControl},{id:"profileBorderHoverResponsive",show:"hover"===t.profileHover&&"Desktop"!==l,label:(0,s.__)("Border","gutenverse"),component:a.BorderResponsiveControl,allowDeviceControl:!0},{id:"profileBoxShadowHover",show:"hover"===t.profileHover,label:(0,s.__)("Box Shadow","gutenverse"),component:a.BoxShadowControl}]};function f(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function x(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?f(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):f(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var w=function(e){var t=e.elementId,o=e.switcher,r=e.setSwitcher,i=(0,g.getDeviceType)();return[{id:"imgWidth",label:(0,s.__)("Image Width","gutenverse"),component:a.SizeControl,allowDeviceControl:!0,units:(0,n.A)({px:{text:"px",min:1,max:1e3,step:1,unit:"px"},em:{text:"em",min:1,max:100,step:1,unit:"em"}},"%",{text:"%",min:1,max:100,step:1,unit:"%"}),liveStyle:[{type:"unitPoint",id:"imgWidth",responsive:!0,selector:".".concat(t," .profile-box .profile-card.card-default img,\n .").concat(t," .profile-box .profile-card.card-overlay img,\n .").concat(t," .profile-box .profile-card.card-hover img,\n .").concat(t," .profile-box .profile-card.card-default .profile-header img,\n .").concat(t," .profile-box .profile-card.card-overlay .profile-header img,\n .").concat(t," .profile-box .profile-card.card-hover .profile-header img,\n .").concat(t," .profile-box .profile-card.card-title-social-horizontal img,\n .").concat(t," .profile-box .profile-card.card-title-social-horizontal,\n .").concat(t," .profile-box .profile-card.card-overlay"),properties:[{name:"width",valueType:"direct"}]}]},{id:"imgHeight",label:(0,s.__)("Image Height","gutenverse"),component:a.SizeControl,allowDeviceControl:!0,units:(0,n.A)({px:{text:"px",min:1,max:1e3,step:1,unit:"px"},em:{text:"em",min:1,max:100,step:1,unit:"em"}},"%",{text:"%",min:1,max:100,step:1,unit:"%"}),liveStyle:[{type:"unitPoint",id:"imgHeight",responsive:!0,selector:".".concat(t," .profile-box .profile-card.card-default img,\n .").concat(t," .profile-box .profile-card.card-overlay img,\n .").concat(t," .profile-box .profile-card.card-hover img,\n .").concat(t," .profile-box .profile-card.card-default .profile-header img,\n .").concat(t," .profile-box .profile-card.card-overlay .profile-header img,\n .").concat(t," .profile-box .profile-card.card-title-social-horizontal img,\n .").concat(t," .profile-box .profile-card.card-hover .profile-header img"),properties:[{name:"height",valueType:"direct"}]}]},{id:"imgRotate",label:(0,s.__)("Image Rotate","gutenverse"),component:a.RangeControl,allowDeviceControl:!0,unit:"deg",min:1,max:360,step:1,liveStyle:[{type:"plain",id:"imgRotate",responsive:!0,selector:".".concat(t," .profile-box .profile-card.card-default img,\n .").concat(t," .profile-box .profile-card.card-overlay img,\n .").concat(t," .profile-box .profile-card.card-title-social-horizontal img,\n .").concat(t," .profile-box .profile-card.card-hover img,\n .").concat(t," .profile-box .profile-card.card-default .profile-header img,\n .").concat(t," .profile-box .profile-card.card-overlay .profile-header img,\n .").concat(t," .profile-box .profile-card.card-hover .profile-header img"),properties:[{name:"transform",valueType:"pattern",pattern:"rotate({value}deg)",patternValues:{value:{type:"direct"}}}]}]},{id:"imgSpacing",label:(0,s.__)("Image Spacing","gutenverse"),component:a.RangeControl,allowDeviceControl:!0,unit:"px",min:0,max:500,step:1,liveStyle:[{type:"plain",id:"imgSpacing",responsive:!0,selector:".".concat(t," .profile-box .profile-card.card-default .profile-header,\n .").concat(t," .profile-box .profile-card.card-hover .profile-header"),properties:[{name:"margin-bottom",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"__imageHover",component:a.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__imageHover;return r(x(x({},o),{},{imageHover:t}))}},{id:"imageBackground",show:!o.imageHover||"normal"===o.imageHover,label:(0,s.__)("Background","gutenverse"),component:a.BackgroundControl,options:["default","gradient"],liveStyle:[{type:"background",id:"imageBackground",selector:".".concat(t," .profile-box .profile-card img")}]},{id:"imageBackgroundHover",show:"hover"===o.imageHover,label:(0,s.__)("Background Hover","gutenverse"),component:a.BackgroundControl,options:["default","gradient"]},{id:"imageBorder",show:(!o.imageHover||"normal"===o.imageHover)&&"Desktop"===i,label:(0,s.__)("Border","gutenverse"),component:a.BorderControl,liveStyle:[{type:"border",id:"imageBorder",selector:".".concat(t," .profile-box .profile-card img")}]},{id:"imageBorderResponsive",show:(!o.imageHover||"normal"===o.imageHover)&&"Desktop"!==i,label:(0,s.__)("Border","gutenverse"),component:a.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"imageBorderResponsive",selector:".".concat(t," .profile-box .profile-card img")}]},{id:"imageBoxShadow",show:!o.imageHover||"normal"===o.imageHover,label:(0,s.__)("Box Shadow","gutenverse"),component:a.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"imageBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t," .profile-box .profile-card img")}]},{id:"imageBorderHover",show:"hover"===o.imageHover&&"Desktop"===i,label:(0,s.__)("Border","gutenverse"),component:a.BorderControl},{id:"imageBorderHoverResponsive",show:"hover"===o.imageHover&&"Desktop"!==i,label:(0,s.__)("Border","gutenverse"),component:a.BorderResponsiveControl,allowDeviceControl:!0},{id:"imageBoxShadowHover",show:"hover"===o.imageHover,label:(0,s.__)("Box Shadow","gutenverse"),component:a.BoxShadowControl}]},S=function(e){var t=e.elementId,o=(0,g.getDeviceType)();return[{id:"hoverPadding",label:(0,s.__)("Hover Padding","gutenverse"),component:a.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,n.A)((0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"}),"rem",{text:"rem",unit:"rem"})},{id:"hoverMargin",label:(0,s.__)("Hover Margin","gutenverse"),component:a.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,n.A)((0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"}),"rem",{text:"rem",unit:"rem"})},{id:"hoverContentBgColor",component:a.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"hoverContentBgColor",selector:".".concat(t,".guten-team .profile-box .profile-card.card-hover .profile-body:before")}]},{id:"hoverContentBorder",show:"Desktop"===o,label:(0,s.__)("Border","gutenverse"),component:a.BorderControl,liveStyle:[{type:"border",id:"hoverContentBorder",selector:".".concat(t,".guten-team .profile-box .profile-card.card-hover .profile-body:before")}]},{id:"hoverContentBorderResponsive",show:"Desktop"!==o,label:(0,s.__)("Border","gutenverse"),component:a.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"hoverContentBorderResponsive",selector:".".concat(t,".guten-team .profile-box .profile-card.card-hover .profile-body:before")}]},{id:"hoverContentShadow",label:(0,s.__)("Box Shadow","gutenverse"),component:a.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"hoverContentShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t,".guten-team .profile-box .profile-card.card-hover .profile-body:before")}]}]};function _(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function j(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?_(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):_(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var T=function(){return[{title:(0,s.__)("Team Details","gutenverse"),panelArray:p,tabRole:a.TabSetting},{title:(0,s.__)("Dynamic Data","gutenverse"),panelArray:function(e){return(0,a.dynamicContentPanel)(j(j({},e),{},{blockType:"text",arrOfTextChilds:["nameDynamicList","jobDynamicList","descriptionDynamicList"]}))},initialOpen:!1,tabRole:a.TabSetting,pro:!0},{title:(0,s.__)("Content","gutenverse"),initialOpen:!1,panelArray:b,tabRole:a.TabStyle},{title:(0,s.__)("Highlight Style","gutenverse"),panelArray:function(e){return(0,a.childStylePanel)(j(j({},e),{},{arrOfTextChilds:["nameChilds","jobChilds","descriptionChilds"]}))},tabRole:a.TabStyle,pro:!0},{title:(0,s.__)("Image","gutenverse"),initialOpen:!1,panelArray:w,tabRole:a.TabStyle},{title:(0,s.__)("Name Typography","gutenverse"),initialOpen:!1,panelArray:u,tabRole:a.TabStyle},{title:(0,s.__)("Job Typography","gutenverse"),initialOpen:!1,panelArray:d,tabRole:a.TabStyle},{title:(0,s.__)("Description Typography","gutenverse"),initialOpen:!1,panelArray:y,tabRole:a.TabStyle},{title:(0,s.__)("Social Hover","gutenverse"),initialOpen:!1,panelArray:S,tabRole:a.TabStyle},{title:(0,s.__)("Background","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,a.backgroundPanel)(j(j({},e),{},{styleId:"team-background",normalOptions:["default","gradient"],hoverOptions:["default","gradient"]}))},tabRole:a.TabStyle},{title:(0,s.__)("Border","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,a.borderPanel)(j(j({},e),{},{styleId:"team-border"}))},tabRole:a.TabStyle},{title:(0,s.__)("Masking","gutenverse"),initialOpen:!1,panelArray:a.maskPanel,tabRole:a.TabStyle},{title:(0,s.__)("Display","gutenverse"),initialOpen:!1,panelArray:a.responsivePanel,tabRole:a.TabSetting},{title:(0,s.__)("Positioning","gutenverse"),initialOpen:!1,panelArray:a.positioningPanel,tabRole:a.TabSetting},{title:(0,s.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,a.animationPanel)(j(j({},e),{},{styleId:"team-animation"}))},tabRole:a.TabSetting},{title:(0,s.__)("Transform","gutenverse"),initialOpen:!1,panelArray:a.transformPanel,pro:!0},{title:(0,s.__)("Mouse Move Effect","gutenverse"),initialOpen:!1,panelArray:a.mouseMoveEffectPanel,tabRole:a.TabSetting,pro:!0},{title:(0,s.__)("Advanced Animation","gutenverse"),initialOpen:!1,panelAdvance:!0,panelArray:function(e){return(0,a.advanceAnimationPanel)(j(j({},e),{},{blockType:"team"}))},pro:!0},{title:(0,s.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,a.advancePanel)(j(j({},e),{},{styleId:"team-advance"}))},tabRole:a.TabSetting},{title:(0,s.__)("Condition","gutenverse"),panelArray:a.conditionPanel,initialOpen:!1,pro:!0}]},O=o(4715);function C(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}const k=function(e){var t=e.socialComponent,o=e.attributes,r=e.setAttributes,a=e.setPanelState,l=e.frontEnd,c=e.clientId,p=o.profileType,u=o.src,d=o.lazy,y=o.addPopup,v=o.overlayType,h=o.overlayPosition,b=o.name,f=o.job,x=o.description,w=o.showDesc,S=o.showSocial,_=o.nameTag,j=o.hoverBottom,T=o.hoverBottomDirection,k=function(){return(0,m.jsx)("img",function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?C(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):C(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({src:(0,g.getImageSrc)(u),alt:b},d&&{loading:"lazy"}))},P=function(e,t,s,p,u){return w?l?(0,m.jsx)(O.RichText.Content,{className:e,tagName:u,"aria-label":t,value:p}):(0,m.jsx)(i.RichTextComponent,{classNames:e,tagName:u,onChange:function(e){return r((0,n.A)({},s,e))},"aria-label":t,multiline:!1,setAttributes:r,attributes:o,clientId:c,panelDynamic:{panel:"setting",section:1},panelPosition:{panel:"style",section:1},contentAttribute:s,setPanelState:a,textChilds:s+"Childs",dynamicList:s+"DynamicList",isUseDinamic:!0,isUseHighlight:!0}):w||"description"===s?void 0:l?(0,m.jsx)(O.RichText.Content,{className:e,tagName:u,"aria-label":t,value:p}):(0,m.jsx)(i.RichTextComponent,{classNames:e,tagName:u,onChange:function(e){return r((0,n.A)({},s,e))},"aria-label":t,multiline:!1,setAttributes:r,attributes:o,clientId:c,panelDynamic:{panel:"setting",section:1},panelPosition:{panel:"style",section:1},contentAttribute:s,setPanelState:a,textChilds:s+"Childs",dynamicList:s+"DynamicList",isUseDinamic:!0,isUseHighlight:!0})};return(0,m.jsx)("div",{className:"profile-box",children:function(){switch(p){case"overlay":return(0,m.jsxs)("div",{className:"profile-card card-overlay ".concat(v),children:[k(),(0,m.jsxs)("div",{className:"profile-body ".concat(h),children:[P("profile-title ".concat(y?"popup":""),(0,s.__)("Profile Name","gutenverse"),"name",b,_),P("profile-sub",(0,s.__)("Profile Job","gutenverse"),"job",f,"p"),P("profile-desc",(0,s.__)("Team Description","gutenverse"),"description",x,"p"),S&&(0,m.jsx)("div",{className:"socials-wrapper",children:t})]})]});case"hover":return(0,m.jsxs)("div",{className:"profile-card card-hover",children:[(0,m.jsx)("div",{className:"profile-header ".concat(y?"popup":""),children:k()}),(0,m.jsxs)("div",{className:"profile-body",children:[P("profile-title ".concat(y?"popup":""),(0,s.__)("Profile Name","gutenverse"),"name",b,_),P("profile-sub",(0,s.__)("Profile Job","gutenverse"),"job",f,"p"),P("profile-desc",(0,s.__)("Team Description","gutenverse"),"description",x,"p"),S&&(0,m.jsx)("div",{className:"socials-wrapper",children:t})]}),j&&(0,m.jsx)("div",{className:"border-bottom",children:(0,m.jsx)("div",{className:"animated ".concat(T)})})]});case"titleSocialHorizontal":return(0,m.jsxs)("div",{className:"profile-card card-title-social-horizontal",children:[k(),(0,m.jsxs)("div",{className:"profile-body",children:[P("profile-title ".concat(y?"popup":""),(0,s.__)("Profile Name","gutenverse"),"name",b,_),P("profile-sub",(0,s.__)("Profile Job","gutenverse"),"job",f,"p"),P("profile-desc",(0,s.__)("Team Description","gutenverse"),"description",x,"p"),S&&(0,m.jsx)("div",{className:"socials-wrapper",children:t})]})]});default:return(0,m.jsxs)("div",{className:"profile-card card-default",children:[(0,m.jsx)("div",{className:"profile-header ".concat(y?"popup":""),children:k()}),(0,m.jsxs)("div",{className:"profile-body",children:[P("profile-title ".concat(y?"popup":""),(0,s.__)("Profile Name","gutenverse"),"name",b,_),P("profile-sub",(0,s.__)("Profile Job","gutenverse"),"job",f,"p"),P("profile-desc",(0,s.__)("Team Description","gutenverse"),"description",x,"p")]}),S&&(0,m.jsx)("div",{className:"profile-footer",children:(0,m.jsx)("div",{className:"socials-wrapper",children:t})}),j&&(0,m.jsx)("div",{className:"border-bottom",children:(0,m.jsx)("div",{className:"animated ".concat(T)})})]})}}()})};var P=o(6087),N=o(2188),E=o(6826),D=o(2774),B=o(4320),A=o(4404),H=o(1222),R=o(2619);const I=function(e,t){var o=[];return o=function(e,t,o){return(0,H.isNotEmpty)(t.hoverPadding)&&o.push({type:"dimension",id:"hoverPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e,".guten-team .profile-box .profile-card.card-hover:hover .profile-body")}),(0,H.isNotEmpty)(t.hoverMargin)&&o.push({type:"dimension",id:"hoverMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e,".guten-team .profile-box .profile-card.card-hover:hover .profile-body")}),(0,H.isNotEmpty)(t.hoverContentBgColor)&&o.push({type:"background",id:"hoverContentBgColor",selector:".".concat(e,".guten-team .profile-box .profile-card.card-hover .profile-body:before")}),(0,H.isNotEmpty)(t.hoverContentBorder)&&o.push({type:"border",id:"hoverContentBorder",selector:".".concat(e,".guten-team .profile-box .profile-card.card-hover .profile-body:before")}),(0,H.isNotEmpty)(t.hoverContentBorderResponsive)&&o.push({type:"borderResponsive",id:"hoverContentBorderResponsive",selector:".".concat(e,".guten-team .profile-box .profile-card.card-hover .profile-body:before")}),(0,H.isNotEmpty)(t.hoverContentShadow)&&o.push({type:"boxShadow",id:"hoverContentShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e,".guten-team .profile-box .profile-card.card-hover .profile-body:before")}),o}(e,t,o),o=function(e,t,o){return(0,H.isNotEmpty)(t.hoverBgColor)&&o.push({type:"background",id:"hoverBgColor",selector:".".concat(e,".guten-team .profile-box .profile-card.card-overlay:before, .").concat(e,".guten-team .profile-box .profile-card.card-title-social-horizontal:before")}),o}(e,t,o),o=function(e,t,o){return(0,H.isNotEmpty)(t.alignment)&&o.push({type:"plain",id:"alignment",responsive:!0,selector:".".concat(e," .profile-box .profile-card"),properties:[{name:"text-align",valueType:"direct"}]}),(0,H.isNotEmpty)(t.profilePadding)&&o.push({type:"dimension",id:"profilePadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e," .profile-box .profile-card.card-default, \n .").concat(e," .profile-box .profile-card.card-overlay,\n .").concat(e," .profile-box .profile-card.card-hover")}),(0,H.isNotEmpty)(t.detailsPadding)&&o.push({type:"dimension",id:"detailsPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e," .profile-box .profile-card.card-default .profile-body,\n .").concat(e," .profile-box .profile-card.card-overlay .profile-body,\n .").concat(e," .profile-box .profile-card.card-hover .profile-body")}),(0,H.isNotEmpty)(t.profileBorderRadius)&&o.push({type:"dimension",id:"profileBorderRadius",responsive:!0,properties:[{name:"border-radius",valueType:"direct",multiDimension:!1}],selector:".".concat(e," .profile-box .profile-card.card-default,\n .").concat(e," .profile-box .profile-card.card-overlay,\n .").concat(e," .profile-box .profile-card.card-hover,\n .").concat(e," .profile-box .profile-card.card-overlay.scale:hover:before")}),(0,H.isNotEmpty)(t.profileBackground)&&o.push({type:"background",id:"profileBackground",selector:".".concat(e," .profile-box .profile-card")}),(0,H.isNotEmpty)(t.profileBackgroundHover)&&o.push({type:"background",id:"profileBackgroundHover",selector:".".concat(e," .profile-box .profile-card:hover")}),(0,H.isNotEmpty)(t.profileBorder)&&o.push({type:"border",id:"profileBorder",selector:".".concat(e," .profile-box .profile-card")}),(0,H.isNotEmpty)(t.profileBorderResponsive)&&o.push({type:"borderResponsive",id:"profileBorderResponsive",selector:".".concat(e," .profile-box .profile-card")}),(0,H.isNotEmpty)(t.profileBoxShadow)&&o.push({type:"boxShadow",id:"profileBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e," .profile-box .profile-card")}),(0,H.isNotEmpty)(t.profileBorderHover)&&o.push({type:"border",id:"profileBorderHover",selector:".".concat(e," .profile-box .profile-card:hover")}),(0,H.isNotEmpty)(t.profileBorderHoverResponsive)&&o.push({type:"borderResponsive",id:"profileBorderHoverResponsive",selector:".".concat(e," .profile-box .profile-card:hover")}),(0,H.isNotEmpty)(t.profileBoxShadowHover)&&o.push({type:"boxShadow",id:"profileBoxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e," .profile-box .profile-card:hover")}),o}(e,t,o),o=function(e,t,o){return(0,H.isNotEmpty)(t.descSpace)&&o.push({type:"plain",id:"descSpace",responsive:!0,selector:".".concat(e," .profile-desc, #").concat(e," .profile-desc, #").concat(e," .profile-phone, #").concat(e," .profile-email, .").concat(e," .profile-box .profile-card.card-overlay .profile-body .profile-desc"),properties:[{name:"margin-bottom",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,H.isNotEmpty)(t.descColor)&&o.push({type:"color",id:"descColor",properties:[{name:"color",valueType:"direct"}],selector:".".concat(e," .profile-desc, #").concat(e," .profile-desc, #").concat(e," .profile-phone, #").concat(e," .profile-email, .").concat(e," .profile-box .profile-card.card-overlay .profile-body .profile-desc, .").concat(e," .profile-box .profile-card.card-title-social-horizontal .profile-body .profile-desc,\n .").concat(e," .profile-desc> a, #").concat(e," .profile-desc> a, #").concat(e," .profile-phone> a, #").concat(e," .profile-email> a, .").concat(e," .profile-box .profile-card.card-overlay .profile-body .profile-desc> a, .").concat(e," .profile-box .profile-card.card-title-social-horizontal .profile-body .profile-desc> a")}),(0,H.isNotEmpty)(t.descColorHover)&&o.push({type:"color",id:"descColorHover",properties:[{name:"color",valueType:"direct"}],selector:".".concat(e,":hover .profile-desc, #").concat(e,":hover .profile-desc, #").concat(e,":hover .profile-phone, #").concat(e,":hover .profile-email, .").concat(e,":hover .profile-box .profile-card.card-overlay .profile-body .profile-desc, .").concat(e,":hover .profile-box .profile-card.card-title-social-horizontal .profile-body .profile-desc,\n .").concat(e,":hover .profile-desc> a, #").concat(e,":hover .profile-desc> a, #").concat(e,":hover .profile-phone> a, #").concat(e,":hover .profile-email> a, .").concat(e,":hover .profile-box .profile-card.card-overlay .profile-body .profile-desc> a, .").concat(e,":hover .profile-box .profile-card.card-title-social-horizontal .profile-body .profile-desc> a")}),(0,H.isNotEmpty)(t.descTypography)&&o.push({type:"typography",id:"descTypography",selector:".".concat(e," .profile-desc, #").concat(e," .profile-desc, #").concat(e," .profile-phone, #").concat(e," .profile-email, .").concat(e," .profile-box .profile-card.card-overlay .profile-body .profile-desc,\n .").concat(e," .profile-desc> a, #").concat(e," .profile-desc> a, #").concat(e," .profile-phone> a, #").concat(e," .profile-email> a, .").concat(e," .profile-box .profile-card.card-overlay .profile-body .profile-desc> a")}),(0,H.isNotEmpty)(t.descTextShadow)&&o.push({type:"textShadow",id:"descTextShadow",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(e," .profile-desc, #").concat(e," .profile-desc, #").concat(e," .profile-phone, #").concat(e," .profile-email, .").concat(e," .profile-box .profile-card.card-overlay .profile-body .profile-desc,\n .").concat(e," .profile-desc> a, #").concat(e," .profile-desc> a, #").concat(e," .profile-phone> a, #").concat(e," .profile-email> a, .").concat(e," .profile-box .profile-card.card-overlay .profile-body .profile-desc> a")}),o}(e,t,o),o=function(e,t,o){return(0,H.isNotEmpty)(t.imgWidth)&&o.push({type:"unitPoint",id:"imgWidth",responsive:!0,selector:".".concat(e," .profile-box .profile-card.card-default img,\n .").concat(e," .profile-box .profile-card.card-overlay img,\n .").concat(e," .profile-box .profile-card.card-title-social-horizontal img,\n .").concat(e," .profile-box .profile-card.card-hover img,\n .").concat(e," .profile-box .profile-card.card-default .profile-header img,\n .").concat(e," .profile-box .profile-card.card-overlay .profile-header img,\n .").concat(e," .profile-box .profile-card.card-hover .profile-header img,\n .").concat(e," .profile-box .profile-card.card-title-social-horizontal,\n .").concat(e," .profile-box .profile-card.card-overlay"),properties:[{name:"width",valueType:"direct"}]}),(0,H.isNotEmpty)(t.imgHeight)&&o.push({type:"unitPoint",id:"imgHeight",responsive:!0,selector:".".concat(e," .profile-box .profile-card.card-default img,\n .").concat(e," .profile-box .profile-card.card-overlay img,\n .").concat(e," .profile-box .profile-card.card-title-social-horizontal img,\n .").concat(e," .profile-box .profile-card.card-hover img,\n .").concat(e," .profile-box .profile-card.card-default .profile-header img,\n .").concat(e," .profile-box .profile-card.card-overlay .profile-header img,\n .").concat(e," .profile-box .profile-card.card-hover .profile-header img"),properties:[{name:"height",valueType:"direct"}]}),(0,H.isNotEmpty)(t.imgRotate)&&o.push({type:"plain",id:"imgRotate",responsive:!0,selector:".".concat(e," .profile-box .profile-card.card-default img,\n .").concat(e," .profile-box .profile-card.card-overlay img,\n .").concat(e," .profile-box .profile-card.card-title-social-horizontal img,\n .").concat(e," .profile-box .profile-card.card-hover img,\n .").concat(e," .profile-box .profile-card.card-default .profile-header img,\n .").concat(e," .profile-box .profile-card.card-overlay .profile-header img,\n .").concat(e," .profile-box .profile-card.card-hover .profile-header img"),properties:[{name:"transform",valueType:"pattern",pattern:"rotate({value}deg)",patternValues:{value:{type:"direct"}}}]}),(0,H.isNotEmpty)(t.imgSpacing)&&o.push({type:"plain",id:"imgSpacing",responsive:!0,selector:".".concat(e," .profile-box .profile-card.card-default .profile-header,\n .").concat(e," .profile-box .profile-card.card-hover .profile-header"),properties:[{name:"margin-bottom",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,H.isNotEmpty)(t.imageBackground)&&o.push({type:"background",id:"imageBackground",selector:".".concat(e," .profile-box .profile-card img")}),(0,H.isNotEmpty)(t.imageBackgroundHover)&&o.push({type:"background",id:"imageBackgroundHover",selector:".".concat(e," .profile-box .profile-card img:hover")}),(0,H.isNotEmpty)(t.imageBorder)&&o.push({type:"border",id:"imageBorder",selector:".".concat(e," .profile-box .profile-card img")}),(0,H.isNotEmpty)(t.imageBorderResponsive)&&o.push({type:"borderResponsive",id:"imageBorderResponsive",selector:".".concat(e," .profile-box .profile-card img")}),(0,H.isNotEmpty)(t.imageBoxShadow)&&o.push({type:"boxShadow",id:"imageBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e," .profile-box .profile-card img")}),(0,H.isNotEmpty)(t.imageBorderHover)&&o.push({type:"border",id:"imageBorderHover",selector:".".concat(e," .profile-box .profile-card img:hover")}),(0,H.isNotEmpty)(t.imageBorderHoverResponsive)&&o.push({type:"borderResponsive",id:"imageBorderHoverResponsive",selector:".".concat(e," .profile-box .profile-card img:hover")}),(0,H.isNotEmpty)(t.imageBoxShadowHover)&&o.push({type:"boxShadow",id:"imageBoxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e," .profile-box .profile-card img:hover")}),o}(e,t,o),o=function(e,t,o){return(0,H.isNotEmpty)(t.jobSpace)&&o.push({type:"plain",id:"jobSpace",responsive:!0,selector:".".concat(e," .profile-sub, #").concat(e," .profile-sub, .").concat(e," .profile-box .profile-card.card-overlay .profile-body .profile-sub"),properties:[{name:"margin-bottom",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,H.isNotEmpty)(t.jobColor)&&o.push({type:"color",id:"jobColor",selector:".".concat(e," .profile-sub, #").concat(e," .profile-sub, .").concat(e," .profile-box .profile-card.card-overlay .profile-body .profile-sub, .").concat(e," .profile-box .profile-card.card-title-social-horizontal .profile-body .profile-sub,\n .").concat(e," .profile-sub> a, #").concat(e," .profile-sub> a, .").concat(e," .profile-box .profile-card.card-overlay .profile-body .profile-sub> a, .").concat(e," .profile-box .profile-card.card-title-social-horizontal .profile-body .profile-sub> a"),properties:[{name:"color",valueType:"direct"}]}),(0,H.isNotEmpty)(t.jobColorHover)&&o.push({type:"color",id:"jobColorHover",selector:".".concat(e,":hover .profile-sub, #").concat(e,":hover .profile-sub, .").concat(e,":hover .profile-box .profile-card.card-overlay .profile-body .profile-sub, .").concat(e,":hover .profile-box .profile-card.card-title-social-horizontal .profile-body .profile-sub,\n .").concat(e,":hover .profile-sub> a, #").concat(e,":hover .profile-sub> a, .").concat(e,":hover .profile-box .profile-card.card-overlay .profile-body .profile-sub> a, .").concat(e,":hover .profile-box .profile-card.card-title-social-horizontal .profile-body .profile-sub> a"),properties:[{name:"color",valueType:"direct"}]}),(0,H.isNotEmpty)(t.jobTypography)&&o.push({type:"typography",id:"jobTypography",selector:".".concat(e," .profile-sub, #").concat(e," .profile-sub, .").concat(e," .profile-box .profile-card.card-overlay .profile-body .profile-sub,\n .").concat(e," .profile-sub> a, #").concat(e," .profile-sub> a, .").concat(e," .profile-box .profile-card.card-overlay .profile-body .profile-sub> a")}),(0,H.isNotEmpty)(t.jobTextShadow)&&o.push({type:"textShadow",id:"jobTextShadow",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(e," .profile-sub, #").concat(e," .profile-sub, .").concat(e," .profile-box .profile-card.card-overlay .profile-body .profile-sub")}),o}(e,t,o),o=function(e,t,o){return(0,H.isNotEmpty)(t.nameSpace)&&o.push({type:"plain",id:"nameSpace",responsive:!0,selector:".".concat(e," .profile-title, #").concat(e," .profile-title, .").concat(e," .profile-box .profile-card.card-overlay .profile-body .profile-title"),properties:[{name:"margin-bottom",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,H.isNotEmpty)(t.nameColor)&&o.push({type:"color",id:"nameColor",selector:".".concat(e," .profile-title, #").concat(e," .profile-title, .").concat(e," .profile-box .profile-card.card-overlay .profile-body .profile-title, .").concat(e," .profile-box .profile-card.card-title-social-horizontal .profile-body .profile-title,\n .").concat(e," .profile-title> a, #").concat(e," .profile-title> a, .").concat(e," .profile-box .profile-card.card-overlay .profile-body .profile-title> a, .").concat(e," .profile-box .profile-card.card-title-social-horizontal .profile-body .profile-title> a"),properties:[{name:"color",valueType:"direct"}]}),(0,H.isNotEmpty)(t.nameColorHover)&&o.push({type:"color",id:"nameColorHover",selector:".".concat(e,":hover .profile-title, #").concat(e,":hover .profile-title, .").concat(e,":hover .profile-box .profile-card.card-overlay .profile-body .profile-title, .").concat(e,":hover .profile-box .profile-card.card-title-social-horizontal .profile-body .profile-title,\n .").concat(e,":hover .profile-title> a, #").concat(e,":hover .profile-title> a, .").concat(e,":hover .profile-box .profile-card.card-overlay .profile-body .profile-title> a, .").concat(e,":hover .profile-box .profile-card.card-title-social-horizontal .profile-body .profile-title> a"),properties:[{name:"color",valueType:"direct"}]}),(0,H.isNotEmpty)(t.nameTypography)&&o.push({type:"typography",id:"nameTypography",selector:".".concat(e," .profile-title, #").concat(e," .profile-title, .").concat(e," .profile-box .profile-card.card-overlay .profile-body .profile-title,\n .").concat(e," .profile-title> a, #").concat(e," .profile-title> a, .").concat(e," .profile-box .profile-card.card-overlay .profile-body .profile-title> a")}),(0,H.isNotEmpty)(t.nameTextShadow)&&o.push({type:"textShadow",id:"nameTextShadow",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(e," .profile-title, #").concat(e," .profile-title, .").concat(e," .profile-box .profile-card.card-overlay .profile-body .profile-title")}),o}(e,t,o),o=function(e,t,o){return(0,H.isNotEmpty)(t.overlayProfilePosition)&&o.push({type:"unitPoint",id:"overlayProfilePosition",responsive:!0,selector:".".concat(e,".guten-team .profile-box .profile-card.card-overlay:hover .profile-body "),properties:[{name:"margin-bottom",valueType:"direct"}]}),(0,H.isNotEmpty)(t.titleHorizontal)&&o.push({type:"unitPoint",id:"titleHorizontal",responsive:!0,selector:".".concat(e,".guten-team .profile-box .profile-card.card-title-social-horizontal .profile-title"),properties:[{name:"left",valueType:"direct"}]}),(0,H.isNotEmpty)(t.titleVertical)&&o.push({type:"unitPoint",id:"titleVertical",responsive:!0,selector:".".concat(e,".guten-team .profile-box .profile-card.card-title-social-horizontal .profile-title"),properties:[{name:"bottom",valueType:"direct"}]}),(0,H.isNotEmpty)(t.titleOpacity)&&o.push({type:"plain",id:"titleOpacity",responsive:!0,selector:".".concat(e,".guten-team .profile-box .profile-card.card-title-social-horizontal .profile-title"),properties:[{name:"opacity",valueType:"direct"}]}),(0,H.isNotEmpty)(t.titleHorizontalHover)&&o.push({type:"unitPoint",id:"titleHorizontalHover",responsive:!0,selector:".".concat(e,".guten-team .profile-box .profile-card.card-title-social-horizontal:hover .profile-title"),properties:[{name:"left",valueType:"direct"}]}),(0,H.isNotEmpty)(t.titleVerticalHover)&&o.push({type:"unitPoint",id:"titleVerticalHover",responsive:!0,selector:".".concat(e,".guten-team .profile-box .profile-card.card-title-social-horizontal:hover .profile-title"),properties:[{name:"bottom",valueType:"direct"}]}),(0,H.isNotEmpty)(t.titleOpacityHover)&&o.push({type:"plain",id:"titleOpacityHover",responsive:!0,selector:".".concat(e,".guten-team .profile-box .profile-card.card-title-social-horizontal:hover .profile-title"),properties:[{name:"opacity",valueType:"direct"}]}),(0,H.isNotEmpty)(t.jobHorizontal)&&o.push({type:"unitPoint",id:"jobHorizontal",responsive:!0,selector:".".concat(e,".guten-team .profile-box .profile-card.card-title-social-horizontal .profile-sub"),properties:[{name:"right",valueType:"direct"}]}),(0,H.isNotEmpty)(t.jobVertical)&&o.push({type:"unitPoint",id:"jobVertical",responsive:!0,selector:".".concat(e,".guten-team .profile-box .profile-card.card-title-social-horizontal .profile-sub"),properties:[{name:"top",valueType:"direct"}]}),(0,H.isNotEmpty)(t.jobOpacity)&&o.push({type:"plain",id:"jobOpacity",responsive:!0,selector:".".concat(e,".guten-team .profile-box .profile-card.card-title-social-horizontal .profile-sub"),properties:[{name:"opacity",valueType:"direct"}]}),(0,H.isNotEmpty)(t.jobHorizontalHover)&&o.push({type:"unitPoint",id:"jobHorizontalHover",responsive:!0,selector:".".concat(e,".guten-team .profile-box .profile-card.card-title-social-horizontal:hover .profile-sub"),properties:[{name:"right",valueType:"direct"}]}),(0,H.isNotEmpty)(t.jobVerticalHover)&&o.push({type:"unitPoint",id:"jobVerticalHover",responsive:!0,selector:".".concat(e,".guten-team .profile-box .profile-card.card-title-social-horizontal:hover .profile-sub"),properties:[{name:"top",valueType:"direct"}]}),(0,H.isNotEmpty)(t.jobOpacityHover)&&o.push({type:"plain",id:"jobOpacityHover",responsive:!0,selector:".".concat(e,".guten-team .profile-box .profile-card.card-title-social-horizontal:hover .profile-sub"),properties:[{name:"opacity",valueType:"direct"}]}),(0,H.isNotEmpty)(t.descHorizontal)&&o.push({type:"unitPoint",id:"descHorizontal",responsive:!0,selector:".".concat(e,".guten-team .profile-box .profile-card.card-title-social-horizontal .profile-desc"),properties:[{name:"left",valueType:"direct"}]}),(0,H.isNotEmpty)(t.descVertical)&&o.push({type:"unitPoint",id:"descVertical",responsive:!0,selector:".".concat(e,".guten-team .profile-box .profile-card.card-title-social-horizontal .profile-desc"),properties:[{name:"top",valueType:"direct"}]}),(0,H.isNotEmpty)(t.descOpacity)&&o.push({type:"plain",id:"descOpacity",responsive:!0,selector:".".concat(e,".guten-team .profile-box .profile-card.card-title-social-horizontal .profile-desc"),properties:[{name:"opacity",valueType:"direct"}]}),(0,H.isNotEmpty)(t.descHorizontalHover)&&o.push({type:"unitPoint",id:"descHorizontalHover",responsive:!0,selector:".".concat(e,".guten-team .profile-box .profile-card.card-title-social-horizontal:hover .profile-desc"),properties:[{name:"left",valueType:"direct"}]}),(0,H.isNotEmpty)(t.descVerticalHover)&&o.push({type:"unitPoint",id:"descVerticalHover",responsive:!0,selector:".".concat(e,".guten-team .profile-box .profile-card.card-title-social-horizontal:hover .profile-desc"),properties:[{name:"top",valueType:"direct"}]}),(0,H.isNotEmpty)(t.descOpacityHover)&&o.push({type:"plain",id:"descOpacityHover",responsive:!0,selector:".".concat(e,".guten-team .profile-box .profile-card.card-title-social-horizontal:hover .profile-desc"),properties:[{name:"opacity",valueType:"direct"}]}),(0,H.isNotEmpty)(t.socialHorizontal)&&o.push({type:"unitPoint",id:"socialHorizontal",responsive:!0,selector:".".concat(e,".guten-team .profile-box .profile-card.card-title-social-horizontal .socials-wrapper"),properties:[{name:"right",valueType:"direct"}]}),(0,H.isNotEmpty)(t.socialVertical)&&o.push({type:"unitPoint",id:"socialVertical",responsive:!0,selector:".".concat(e,".guten-team .profile-box .profile-card.card-title-social-horizontal .socials-wrapper"),properties:[{name:"bottom",valueType:"direct"}]}),(0,H.isNotEmpty)(t.socialOpacity)&&o.push({type:"plain",id:"socialOpacity",responsive:!0,selector:".".concat(e,".guten-team .profile-box .profile-card.card-title-social-horizontal .socials-wrapper"),properties:[{name:"opacity",valueType:"direct"}]}),(0,H.isNotEmpty)(t.socialHorizontalHover)&&o.push({type:"unitPoint",id:"socialHorizontalHover",responsive:!0,selector:".".concat(e,".guten-team .profile-box .profile-card.card-title-social-horizontal:hover .socials-wrapper"),properties:[{name:"right",valueType:"direct"}]}),(0,H.isNotEmpty)(t.socialVerticalHover)&&o.push({type:"unitPoint",id:"socialVerticalHover",responsive:!0,selector:".".concat(e,".guten-team .profile-box .profile-card.card-title-social-horizontal:hover .socials-wrapper"),properties:[{name:"bottom",valueType:"direct"}]}),(0,H.isNotEmpty)(t.socialOpacityHover)&&o.push({type:"plain",id:"socialOpacityHover",responsive:!0,selector:".".concat(e,".guten-team .profile-box .profile-card.card-title-social-horizontal:hover .socials-wrapper"),properties:[{name:"opacity",valueType:"direct"}]}),(0,H.isNotEmpty)(t.hoverBottomColor)&&o.push({type:"color",id:"hoverBottomColor",selector:".".concat(e," .border-bottom .animated"),properties:[{name:"background-color",valueType:"direct"}]}),(0,H.isNotEmpty)(t.hoverBottomHeight)&&o.push({type:"unitPoint",id:"hoverBottomHeight",responsive:!0,selector:".".concat(e," .border-bottom, .").concat(e," .border-bottom .animated "),properties:[{name:"height",valueType:"direct"}]}),o}(e,t,o),o=(0,a.backgroundStyle)({attributes:t,data:o,elementId:e}),(0,H.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,H.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,H.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,H.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,H.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,H.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,H.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,H.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,H.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,H.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,H.isNotEmpty)(t.animation)&&(0,H.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,H.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,H.isNotEmpty)(t.positioningType)&&(0,H.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,H.isNotEmpty)(t.positioningWidth)&&(0,H.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,H.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,H.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,H.isNotEmpty)(t.positioningLeft)&&(0,H.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,H.isNotEmpty)(t.positioningRight)&&(0,H.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,H.isNotEmpty)(t.positioningTop)&&(0,H.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,H.isNotEmpty)(t.positioningBottom)&&(0,H.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),[].concat((0,A.A)(o),(0,A.A)((0,R.applyFilters)("gutenverse.team.blockStyle",[],{elementId:e,attributes:t})))};function M(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function L(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?M(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):M(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var z=(0,r.compose)(N.withPartialRender,N.withPassRef,(0,N.withAnimationAdvanceV2)("team"),N.withMouseMoveEffect)((function(e){var t=e.attributes,o=e.clientId,n=e.setBlockRef,r=t.elementId,s=(0,H.useRichTextParameter)(),l=s.panelState,c=s.setPanelState,p=(0,E.useAnimationEditor)(t),u=(0,E.useDisplayEditor)(t),d=(0,P.useRef)(),y=(0,P.useRef)(),g=(0,P.useRef)(),v=(0,P.useRef)(),h=(0,O.useBlockProps)({className:(0,i.classnames)("guten-element","guten-team","no-margin",r,u,p),ref:d});(0,B.useGenerateElementId)(o,r,d),(0,B.useDynamicStyle)(r,t,I,d),(0,B.useDynamicScript)(d);var b=(0,O.useInnerBlocksProps)({},{template:[["gutenverse/social-icons"]],allowedBlocks:["gutenverse/social-icons"],orientation:"horizontal",__experimentalAppenderTagName:"div"}),f=(0,m.jsx)("div",L({},b));return(0,D.HighLightToolbar)(e),(0,D.FilterDynamic)(e),(0,P.useEffect)((function(){d&&n(d)}),[d]),(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(i.CopyElementToolbar,L({},e)),(0,m.jsx)(a.BlockPanelController,{panelList:T,props:e,elementRef:d,panelState:l}),(0,m.jsx)("div",L(L({},h),{},{children:(0,m.jsx)(k,L({frontEnd:!1,socialComponent:f,descRef:g,jobRef:v,nameRef:y,setPanelState:c},e))}))]})}));const F=z;function V(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function W(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?V(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):V(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var G=(0,r.compose)((0,N.withAnimationAdvanceScript)("team"),N.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=(e.setAttributes,t.elementId),n=t.addPopup,r=t.name,a=t.job,s=t.src,l=t.description,c=t.phone,p=t.email,u=(0,E.useAnimationAdvanceData)(t),d=(0,E.useAnimationFrontend)(t),y=(0,E.useDisplayFrontend)(t),v=(0,i.classnames)("guten-element","guten-team",o,d,y),h=(0,m.jsx)(O.InnerBlocks.Content,{});return(0,m.jsxs)("div",W(W({},O.useBlockProps.save(W({className:v},u))),{},{children:[(0,m.jsx)(k,W(W({},e),{},{frontEnd:!0,socialComponent:h})),n&&(0,m.jsx)("div",{className:"profile-popup","data-name":r,"data-job":a,"data-img":(0,g.getImageSrc)(s),"data-desc":l,"data-phone":c,"data-email":p})]}))}));const U=G,q=JSON.parse('{"apiVersion":2,"name":"gutenverse/team","title":"Team","description":"Show your team details.","category":"gutenverse-element","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"mouseMoveEffect":{"type":"object","copyStyle":true},"profileType":{"type":"string","default":"default"},"overlayType":{"type":"string","default":"default"},"overlayPosition":{"type":"string","default":"center"},"overlayProfilePosition":{"type":"object"},"src":{"type":"object"},"openDynamic":{"type":"string"},"dynamicTextContent":{"type":"array","copyStyle":true},"dynamicUrlContent":{"type":"array","copyStyle":true},"nameTag":{"type":"string","default":"h3"},"lazy":{"type":"boolean","default":false},"name":{"type":"string","default":"John Doe"},"nameChilds":{"type":"array","default":[]},"nameDynamicList":{"type":"array","default":[]},"job":{"type":"string","default":"Designer"},"jobChilds":{"type":"array","default":[]},"jobDynamicList":{"type":"array","default":[]},"showDesc":{"type":"boolean","default":false},"description":{"type":"string","default":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi eget dignissim quam. Nam posuere velit vitae ultricies commodo."},"descriptionChilds":{"type":"array","default":[]},"descriptionDynamicList":{"type":"array","default":[]},"dynamicAttributes":{"type":"array","default":["nameDynamicList","jobDynamicList","descriptionDynamicList"]},"phone":{"type":"string","default":"+12 345 678 90"},"email":{"type":"string","default":"placeholder@email.com"},"addPopup":{"type":"boolean","default":false},"showSocial":{"type":"boolean","default":true},"nameColor":{"type":"object","copyStyle":true},"nameColorHover":{"type":"object","copyStyle":true},"nameTypography":{"type":"object","default":{},"copyStyle":true},"nameTextShadow":{"type":"object","default":{},"copyStyle":true},"jobColor":{"type":"object","copyStyle":true},"jobColorHover":{"type":"object","copyStyle":true},"jobTypography":{"type":"object","default":{},"copyStyle":true},"jobTextShadow":{"type":"object","default":{},"copyStyle":true},"descColor":{"type":"object","copyStyle":true},"descColorHover":{"type":"object","copyStyle":true},"descTypography":{"type":"object","default":{},"copyStyle":true},"descTextShadow":{"type":"object","default":{},"copyStyle":true},"alignment":{"type":"object","copyStyle":true},"profilePadding":{"type":"object","copyStyle":true},"detailsPadding":{"type":"object","copyStyle":true},"profileBorderRadius":{"type":"object","copyStyle":true},"profileBorderRadiusResponsive":{"type":"object","migrate":{"attr":"profileBorderRadius","type":"border"},"copyStyle":true},"background":{"type":"object","default":{},"copyStyle":true},"backgroundHover":{"type":"object","default":{},"copyStyle":true},"backgroundTransition":{"type":"object","copyStyle":true,"default":{}},"border":{"type":"object","default":{},"copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"borderHover":{"type":"object","default":{},"copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadowHover":{"type":"object","copyStyle":true},"profileBackground":{"type":"object","default":{},"copyStyle":true},"profileBackgroundHover":{"type":"object","default":{},"copyStyle":true},"profileBorder":{"type":"object","copyStyle":true},"profileBorderResponsive":{"type":"object","migrate":{"attr":"profileBorder","type":"border"},"copyStyle":true},"profileBoxShadow":{"type":"object","copyStyle":true},"profileBorderHover":{"type":"object","copyStyle":true},"profileBorderHoverResponsive":{"type":"object","migrate":{"attr":"profileBorderHover","type":"border"},"copyStyle":true},"profileBoxShadowHover":{"type":"object","copyStyle":true},"imageBackground":{"type":"object","copyStyle":true},"imageBackgroundHover":{"type":"object","copyStyle":true},"imageBorder":{"type":"object","copyStyle":true},"imageBorderResponsive":{"type":"object","migrate":{"attr":"imageBorder","type":"border"},"copyStyle":true},"imageBoxShadow":{"type":"object","copyStyle":true},"imageBorderHover":{"type":"object","copyStyle":true},"imageBorderHoverResponsive":{"type":"object","migrate":{"attr":"imageBorderHover","type":"border"},"copyStyle":true},"imageBoxShadowHover":{"type":"object","copyStyle":true},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"animation":{"type":"object","default":{},"copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"imgWidth":{"type":"object","copyStyle":true},"imgHeight":{"type":"object","copyStyle":true},"imgRotate":{"type":"object","copyStyle":true},"imgSpacing":{"type":"object","copyStyle":true},"hoverPadding":{"type":"object","copyStyle":true},"hoverMargin":{"type":"object","copyStyle":true},"hoverBottom":{"type":"boolean","default":false,"copyStyle":true},"hoverBottomColor":{"type":"object","copyStyle":true},"hoverBottomHeight":{"type":"object","copyStyle":true},"hoverBottomDirection":{"type":"string","default":"left","copyStyle":true},"positioningType":{"type":"object","copyStyle":true},"positioningWidth":{"type":"object","copyStyle":true},"positioningAlign":{"type":"object","copyStyle":true},"positioningLocation":{"type":"string","copyStyle":true},"positioningLeft":{"type":"object","copyStyle":true},"positioningRight":{"type":"object","copyStyle":true},"positioningTop":{"type":"object","copyStyle":true},"positioningBottom":{"type":"object","copyStyle":true},"hoverBgColor":{"type":"object","copyStyle":true},"nameSpace":{"type":"object","copyStyle":true},"jobSpace":{"type":"object","copyStyle":true},"descSpace":{"type":"object","copyStyle":true},"hoverContentBgColor":{"type":"object","copyStyle":true},"hoverContentBorder":{"type":"object","copyStyle":true},"hoverContentBorderResponsive":{"type":"object","migrate":{"attr":"hoverContentBorder","type":"border"},"copyStyle":true},"hoverContentShadow":{"type":"object","copyStyle":true},"advanceAnimation":{"type":"object","default":{},"copyStyle":true},"transform":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"condition":{"type":"object","default":{}},"titleHorizontal":{"type":"object","copyStyle":true},"titleVertical":{"type":"object","copyStyle":true},"titleOpacity":{"type":"string","copyStyle":true},"titleHorizontalHover":{"type":"object","copyStyle":true},"titleVerticalHover":{"type":"object","copyStyle":true},"titleOpacityHover":{"type":"string","copyStyle":true},"descHorizontal":{"type":"object","copyStyle":true},"descVertical":{"type":"object","copyStyle":true},"descOpacity":{"type":"string","copyStyle":true},"descHorizontalHover":{"type":"object","copyStyle":true},"descVerticalHover":{"type":"object","copyStyle":true},"descOpacityHover":{"type":"string","copyStyle":true},"jobHorizontal":{"type":"object","copyStyle":true},"jobVertical":{"type":"object","copyStyle":true},"jobOpacity":{"type":"string","copyStyle":true},"jobHorizontalHover":{"type":"object","copyStyle":true},"jobVerticalHover":{"type":"object","copyStyle":true},"jobOpacityHover":{"type":"string","copyStyle":true},"socialHorizontal":{"type":"object","copyStyle":true},"socialVertical":{"type":"object","copyStyle":true},"socialOpacity":{"type":"string","copyStyle":true},"socialHorizontalHover":{"type":"object","copyStyle":true},"socialVerticalHover":{"type":"object","copyStyle":true},"socialOpacityHover":{"type":"string","copyStyle":true}},"supports":{},"keywords":["team","member"]}');var $=o(4889),Y=o(4968);const X=function(e){var t=e.socialComponent,o=e.attributes,n=e.frontEnd,r=o.profileType,i=o.src,a=o.lazy,s=o.addPopup,l=o.overlayType,c=o.overlayPosition,p=o.name,u=o.job,d=o.description,y=o.showDesc,g=o.showSocial,v=o.nameTag,h=o.hoverBottom,b=o.hoverBottomDirection,f=function(){return a?(0,m.jsx)("img",{loading:"lazy",src:x(i),alt:p}):(0,m.jsx)("img",{src:x(i),alt:p})},x=function(e){return e&&e.image?e.image:Y.oldImagePlaceholder},w=function(e,t,o,r){if(y){if(n)return(0,m.jsx)(O.RichText.Content,{className:e,tagName:r,value:o})}else if(!y&&"description"!==t&&n)return(0,m.jsx)(O.RichText.Content,{className:e,tagName:r,value:o})};return(0,m.jsx)("div",{className:"profile-box",children:function(){switch(r){case"overlay":return(0,m.jsxs)("div",{className:"profile-card card-overlay ".concat(void 0===l?"undefined":l),children:[f(),(0,m.jsxs)("div",{className:"profile-body ".concat(void 0===c?"undefined":c),children:[w("profile-title ".concat(s?"popup":""),"name",p,v),w("profile-sub","job",u,"p"),w("profile-desc","description",d,"p"),g&&(0,m.jsx)("div",{className:"socials-wrapper",children:t})]})]});case"hover":return(0,m.jsxs)("div",{className:"profile-card card-hover",children:[(0,m.jsx)("div",{className:"profile-header ".concat(s?"popup":""),children:f()}),(0,m.jsxs)("div",{className:"profile-body",children:[w("profile-title ".concat(s?"popup":""),"name",p,v),w("profile-sub","job",u,"p"),w("profile-desc","description",d,"p"),g&&(0,m.jsx)("div",{className:"socials-wrapper",children:t})]}),h&&(0,m.jsx)("div",{className:"border-bottom",children:(0,m.jsx)("div",{className:"animated ".concat(b)})})]});default:return(0,m.jsxs)("div",{className:"profile-card card-default",children:[(0,m.jsx)("div",{className:"profile-header ".concat(s?"popup":""),children:f()}),(0,m.jsxs)("div",{className:"profile-body",children:[w("profile-title ".concat(s?"popup":""),"name",p,v),w("profile-sub","job",u,"p"),w("profile-desc","description",d,"p")]}),g&&(0,m.jsx)("div",{className:"profile-footer",children:(0,m.jsx)("div",{className:"socials-wrapper",children:t})}),h&&(0,m.jsx)("div",{className:"border-bottom",children:(0,m.jsx)("div",{className:"animated ".concat(b)})})]})}}()})};function J(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Q(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?J(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):J(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var Z=(0,r.compose)((0,N.withAnimationAdvanceScript)("team"),N.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,n=t.addPopup,r=t.name,a=t.job,s=t.src,l=t.description,c=t.phone,p=t.email,u=(0,E.useAnimationAdvanceData)(t),d=(0,E.useAnimationFrontend)(t),y=(0,E.useDisplayFrontend)(t),v=(0,i.classnames)("guten-element","guten-team",o,d,y),h=(0,m.jsx)(O.InnerBlocks.Content,{});return(0,m.jsxs)("div",Q(Q({},O.useBlockProps.save(Q({className:v},u))),{},{children:[(0,m.jsx)(X,Q(Q({},e),{},{frontEnd:!0,socialComponent:h})),n&&(0,m.jsx)("div",{className:"profile-popup","data-name":r,"data-job":a,"data-img":(0,g.getImageSrc)(s),"data-desc":l,"data-phone":c,"data-email":p})]}))}));const K=Z;function ee(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function te(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ee(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ee(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var oe=q.name,ne=q.attributes,re={icon:(0,m.jsx)($.Vm,{}),example:{attributes:{src:{image:"https://picsum.photos/id/1005/400/400"},showDesc:!0,profileBorderRadius:{Desktop:{unit:"px"}},imageBorder:{type:"solid",radius:{unit:"px",dimension:{top:"4",right:"4",bottom:"4",left:"4"}},width:{unit:"px",dimension:{top:"0",right:"0",bottom:"0",left:"0"}},color:null},imageBoxShadow:{position:"outline"},imageBoxShadowHover:{position:"outline"},imgWidth:{Desktop:{point:"250",unit:"px"}},imgHeight:{Desktop:{point:"250",unit:"px"}},description:"Cras vel malesuada eros, non ullamcorper eros. Curabitur sed urna tellus. Nullam mattis orci et dui semper ornare. Proin cursus nisl eu urna tincidunt, nec tincidunt odio volutpat."},innerBlocks:[{name:"gutenverse/social-icons",attributes:{iconSize:{Desktop:{point:"22",unit:"px"}},gap:{Desktop:"10",Tablet:"10",Mobile:"10"},alignment:{Desktop:"center",Tablet:"center",Mobile:"center"},showText:!1,boxShadow:{position:"outline"},boxShadowHover:{position:"outline"}},innerBlocks:[{name:"gutenverse/social-icon",attributes:{icon:"fab fa-facebook",text:"Facebook"}},{name:"gutenverse/social-icon",attributes:{icon:"fab fa-twitter",text:"Twitter"}},{name:"gutenverse/social-icon",attributes:{icon:"fab fa-instagram",text:"Instagram"}}]}]},edit:F,save:U,deprecated:[{attributes:te(te({},ne),{},{overlayType:{type:"string",deprecated:!0},overlayPosition:{type:"string",deprecated:!0}}),migrate:function(e){var t=e.overlayType,o=e.overlayPosition;return[te(te({},e),{},{overlayType:void 0===t?"default":t,overlayPosition:void 0===o?"center":o})]},save:K}]}},5032:(e,t,o)=>{"use strict";o.d(t,{A:()=>ne});var n={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:"normal",autoplay:!0,timelineOffset:0},r={duration:1e3,delay:0,endDelay:0,easing:"easeOutElastic(1, .5)",round:0},i=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective","matrix","matrix3d"],a={CSS:{},springs:{}};function s(e,t,o){return Math.min(Math.max(e,t),o)}function l(e,t){return e.indexOf(t)>-1}function c(e,t){return e.apply(null,t)}var p={arr:function(e){return Array.isArray(e)},obj:function(e){return l(Object.prototype.toString.call(e),"Object")},pth:function(e){return p.obj(e)&&e.hasOwnProperty("totalLength")},svg:function(e){return e instanceof SVGElement},inp:function(e){return e instanceof HTMLInputElement},dom:function(e){return e.nodeType||p.svg(e)},str:function(e){return"string"==typeof e},fnc:function(e){return"function"==typeof e},und:function(e){return void 0===e},nil:function(e){return p.und(e)||null===e},hex:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)},rgb:function(e){return/^rgb/.test(e)},hsl:function(e){return/^hsl/.test(e)},col:function(e){return p.hex(e)||p.rgb(e)||p.hsl(e)},key:function(e){return!n.hasOwnProperty(e)&&!r.hasOwnProperty(e)&&"targets"!==e&&"keyframes"!==e}};function u(e){var t=/\(([^)]+)\)/.exec(e);return t?t[1].split(",").map((function(e){return parseFloat(e)})):[]}function d(e,t){var o=u(e),n=s(p.und(o[0])?1:o[0],.1,100),r=s(p.und(o[1])?100:o[1],.1,100),i=s(p.und(o[2])?10:o[2],.1,100),l=s(p.und(o[3])?0:o[3],.1,100),c=Math.sqrt(r/n),d=i/(2*Math.sqrt(r*n)),y=d<1?c*Math.sqrt(1-d*d):0,g=d<1?(d*c-l)/y:-l+c;function m(e){var o=t?t*e/1e3:e;return o=d<1?Math.exp(-o*d*c)*(1*Math.cos(y*o)+g*Math.sin(y*o)):(1+g*o)*Math.exp(-o*c),0===e||1===e?e:1-o}return t?m:function(){var t=a.springs[e];if(t)return t;for(var o=1/6,n=0,r=0;;)if(1===m(n+=o)){if(++r>=16)break}else r=0;var i=n*o*1e3;return a.springs[e]=i,i}}function y(e){return void 0===e&&(e=10),function(t){return Math.ceil(s(t,1e-6,1)*e)*(1/e)}}var g,m,v=function(){var e=.1;function t(e,t){return 1-3*t+3*e}function o(e,t){return 3*t-6*e}function n(e){return 3*e}function r(e,r,i){return((t(r,i)*e+o(r,i))*e+n(r))*e}function i(e,r,i){return 3*t(r,i)*e*e+2*o(r,i)*e+n(r)}return function(t,o,n,a){if(0<=t&&t<=1&&0<=n&&n<=1){var s=new Float32Array(11);if(t!==o||n!==a)for(var l=0;l<11;++l)s[l]=r(l*e,t,n);return function(l){return t===o&&n===a||0===l||1===l?l:r(function(o){for(var a=0,l=1;10!==l&&s[l]<=o;++l)a+=e;--l;var c=a+(o-s[l])/(s[l+1]-s[l])*e,p=i(c,t,n);return p>=.001?function(e,t,o,n){for(var a=0;a<4;++a){var s=i(t,o,n);if(0===s)return t;t-=(r(t,o,n)-e)/s}return t}(o,c,t,n):0===p?c:function(e,t,o,n,i){var a,s,l=0;do{(a=r(s=t+(o-t)/2,n,i)-e)>0?o=s:t=s}while(Math.abs(a)>1e-7&&++l<10);return s}(o,a,a+e,t,n)}(l),o,a)}}}}(),h=(g={linear:function(){return function(e){return e}}},m={Sine:function(){return function(e){return 1-Math.cos(e*Math.PI/2)}},Expo:function(){return function(e){return e?Math.pow(2,10*e-10):0}},Circ:function(){return function(e){return 1-Math.sqrt(1-e*e)}},Back:function(){return function(e){return e*e*(3*e-2)}},Bounce:function(){return function(e){for(var t,o=4;e<((t=Math.pow(2,--o))-1)/11;);return 1/Math.pow(4,3-o)-7.5625*Math.pow((3*t-2)/22-e,2)}},Elastic:function(e,t){void 0===e&&(e=1),void 0===t&&(t=.5);var o=s(e,1,10),n=s(t,.1,2);return function(e){return 0===e||1===e?e:-o*Math.pow(2,10*(e-1))*Math.sin((e-1-n/(2*Math.PI)*Math.asin(1/o))*(2*Math.PI)/n)}}},["Quad","Cubic","Quart","Quint"].forEach((function(e,t){m[e]=function(){return function(e){return Math.pow(e,t+2)}}})),Object.keys(m).forEach((function(e){var t=m[e];g["easeIn"+e]=t,g["easeOut"+e]=function(e,o){return function(n){return 1-t(e,o)(1-n)}},g["easeInOut"+e]=function(e,o){return function(n){return n<.5?t(e,o)(2*n)/2:1-t(e,o)(-2*n+2)/2}},g["easeOutIn"+e]=function(e,o){return function(n){return n<.5?(1-t(e,o)(1-2*n))/2:(t(e,o)(2*n-1)+1)/2}}})),g);function b(e,t){if(p.fnc(e))return e;var o=e.split("(")[0],n=h[o],r=u(e);switch(o){case"spring":return d(e,t);case"cubicBezier":return c(v,r);case"steps":return c(y,r);default:return c(n,r)}}function f(e){try{return document.querySelectorAll(e)}catch(e){return}}function x(e,t){for(var o=e.length,n=arguments.length>=2?arguments[1]:void 0,r=[],i=0;i<o;i++)if(i in e){var a=e[i];t.call(n,a,i,e)&&r.push(a)}return r}function w(e){return e.reduce((function(e,t){return e.concat(p.arr(t)?w(t):t)}),[])}function S(e){return p.arr(e)?e:(p.str(e)&&(e=f(e)||e),e instanceof NodeList||e instanceof HTMLCollection?[].slice.call(e):[e])}function _(e,t){return e.some((function(e){return e===t}))}function j(e){var t={};for(var o in e)t[o]=e[o];return t}function T(e,t){var o=j(e);for(var n in e)o[n]=t.hasOwnProperty(n)?t[n]:e[n];return o}function O(e,t){var o=j(e);for(var n in t)o[n]=p.und(e[n])?t[n]:e[n];return o}function C(e){var t=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(e);if(t)return t[1]}function k(e,t){return p.fnc(e)?e(t.target,t.id,t.total):e}function P(e,t){return e.getAttribute(t)}function N(e,t,o){if(_([o,"deg","rad","turn"],C(t)))return t;var n=a.CSS[t+o];if(!p.und(n))return n;var r=document.createElement(e.tagName),i=e.parentNode&&e.parentNode!==document?e.parentNode:document.body;i.appendChild(r),r.style.position="absolute",r.style.width=100+o;var s=100/r.offsetWidth;i.removeChild(r);var l=s*parseFloat(t);return a.CSS[t+o]=l,l}function E(e,t,o){if(t in e.style){var n=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),r=e.style[t]||getComputedStyle(e).getPropertyValue(n)||"0";return o?N(e,r,o):r}}function D(e,t){return p.dom(e)&&!p.inp(e)&&(!p.nil(P(e,t))||p.svg(e)&&e[t])?"attribute":p.dom(e)&&_(i,t)?"transform":p.dom(e)&&"transform"!==t&&E(e,t)?"css":null!=e[t]?"object":void 0}function B(e){if(p.dom(e)){for(var t,o=e.style.transform||"",n=/(\w+)\(([^)]*)\)/g,r=new Map;t=n.exec(o);)r.set(t[1],t[2]);return r}}function A(e,t,o,n){switch(D(e,t)){case"transform":return function(e,t,o,n){var r=l(t,"scale")?1:0+function(e){return l(e,"translate")||"perspective"===e?"px":l(e,"rotate")||l(e,"skew")?"deg":void 0}(t),i=B(e).get(t)||r;return o&&(o.transforms.list.set(t,i),o.transforms.last=t),n?N(e,i,n):i}(e,t,n,o);case"css":return E(e,t,o);case"attribute":return P(e,t);default:return e[t]||0}}function H(e,t){var o=/^(\*=|\+=|-=)/.exec(e);if(!o)return e;var n=C(e)||0,r=parseFloat(t),i=parseFloat(e.replace(o[0],""));switch(o[0][0]){case"+":return r+i+n;case"-":return r-i+n;case"*":return r*i+n}}function R(e,t){if(p.col(e))return function(e){return p.rgb(e)?(o=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(t=e))?"rgba("+o[1]+",1)":t:p.hex(e)?function(e){var t=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(e,t,o,n){return t+t+o+o+n+n})),o=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return"rgba("+parseInt(o[1],16)+","+parseInt(o[2],16)+","+parseInt(o[3],16)+",1)"}(e):p.hsl(e)?function(e){var t,o,n,r=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(e)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(e),i=parseInt(r[1],10)/360,a=parseInt(r[2],10)/100,s=parseInt(r[3],10)/100,l=r[4]||1;function c(e,t,o){return o<0&&(o+=1),o>1&&(o-=1),o<1/6?e+6*(t-e)*o:o<.5?t:o<2/3?e+(t-e)*(2/3-o)*6:e}if(0==a)t=o=n=s;else{var p=s<.5?s*(1+a):s+a-s*a,u=2*s-p;t=c(u,p,i+1/3),o=c(u,p,i),n=c(u,p,i-1/3)}return"rgba("+255*t+","+255*o+","+255*n+","+l+")"}(e):void 0;var t,o}(e);if(/\s/g.test(e))return e;var o=C(e),n=o?e.substr(0,e.length-o.length):e;return t?n+t:n}function I(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function M(e){for(var t,o=e.points,n=0,r=0;r<o.numberOfItems;r++){var i=o.getItem(r);r>0&&(n+=I(t,i)),t=i}return n}function L(e){if(e.getTotalLength)return e.getTotalLength();switch(e.tagName.toLowerCase()){case"circle":return function(e){return 2*Math.PI*P(e,"r")}(e);case"rect":return function(e){return 2*P(e,"width")+2*P(e,"height")}(e);case"line":return function(e){return I({x:P(e,"x1"),y:P(e,"y1")},{x:P(e,"x2"),y:P(e,"y2")})}(e);case"polyline":return M(e);case"polygon":return function(e){var t=e.points;return M(e)+I(t.getItem(t.numberOfItems-1),t.getItem(0))}(e)}}function z(e,t){var o=t||{},n=o.el||function(e){for(var t=e.parentNode;p.svg(t)&&p.svg(t.parentNode);)t=t.parentNode;return t}(e),r=n.getBoundingClientRect(),i=P(n,"viewBox"),a=r.width,s=r.height,l=o.viewBox||(i?i.split(" "):[0,0,a,s]);return{el:n,viewBox:l,x:l[0]/1,y:l[1]/1,w:a,h:s,vW:l[2],vH:l[3]}}function F(e,t,o){function n(o){void 0===o&&(o=0);var n=t+o>=1?t+o:0;return e.el.getPointAtLength(n)}var r=z(e.el,e.svg),i=n(),a=n(-1),s=n(1),l=o?1:r.w/r.vW,c=o?1:r.h/r.vH;switch(e.property){case"x":return(i.x-r.x)*l;case"y":return(i.y-r.y)*c;case"angle":return 180*Math.atan2(s.y-a.y,s.x-a.x)/Math.PI}}function V(e,t){var o=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g,n=R(p.pth(e)?e.totalLength:e,t)+"";return{original:n,numbers:n.match(o)?n.match(o).map(Number):[0],strings:p.str(e)||t?n.split(o):[]}}function W(e){return x(e?w(p.arr(e)?e.map(S):S(e)):[],(function(e,t,o){return o.indexOf(e)===t}))}function G(e){var t=W(e);return t.map((function(e,o){return{target:e,id:o,total:t.length,transforms:{list:B(e)}}}))}function U(e,t){var o=j(t);if(/^spring/.test(o.easing)&&(o.duration=d(o.easing)),p.arr(e)){var n=e.length;2!==n||p.obj(e[0])?p.fnc(t.duration)||(o.duration=t.duration/n):e={value:e}}var r=p.arr(e)?e:[e];return r.map((function(e,o){var n=p.obj(e)&&!p.pth(e)?e:{value:e};return p.und(n.delay)&&(n.delay=o?0:t.delay),p.und(n.endDelay)&&(n.endDelay=o===r.length-1?t.endDelay:0),n})).map((function(e){return O(e,o)}))}var q={css:function(e,t,o){return e.style[t]=o},attribute:function(e,t,o){return e.setAttribute(t,o)},object:function(e,t,o){return e[t]=o},transform:function(e,t,o,n,r){if(n.list.set(t,o),t===n.last||r){var i="";n.list.forEach((function(e,t){i+=t+"("+e+") "})),e.style.transform=i}}};function $(e,t){G(e).forEach((function(e){for(var o in t){var n=k(t[o],e),r=e.target,i=C(n),a=A(r,o,i,e),s=H(R(n,i||C(a)),a),l=D(r,o);q[l](r,o,s,e.transforms,!0)}}))}function Y(e,t){return x(w(e.map((function(e){return t.map((function(t){return function(e,t){var o=D(e.target,t.name);if(o){var n=function(e,t){var o;return e.tweens.map((function(n){var r=function(e,t){var o={};for(var n in e){var r=k(e[n],t);p.arr(r)&&1===(r=r.map((function(e){return k(e,t)}))).length&&(r=r[0]),o[n]=r}return o.duration=parseFloat(o.duration),o.delay=parseFloat(o.delay),o}(n,t),i=r.value,a=p.arr(i)?i[1]:i,s=C(a),l=A(t.target,e.name,s,t),c=o?o.to.original:l,u=p.arr(i)?i[0]:c,d=C(u)||C(l),y=s||d;return p.und(a)&&(a=c),r.from=V(u,y),r.to=V(H(a,u),y),r.start=o?o.end:0,r.end=r.start+r.delay+r.duration+r.endDelay,r.easing=b(r.easing,r.duration),r.isPath=p.pth(i),r.isPathTargetInsideSVG=r.isPath&&p.svg(t.target),r.isColor=p.col(r.from.original),r.isColor&&(r.round=1),o=r,r}))}(t,e),r=n[n.length-1];return{type:o,property:t.name,animatable:e,tweens:n,duration:r.end,delay:n[0].delay,endDelay:r.endDelay}}}(e,t)}))}))),(function(e){return!p.und(e)}))}function X(e,t){var o=e.length,n=function(e){return e.timelineOffset?e.timelineOffset:0},r={};return r.duration=o?Math.max.apply(Math,e.map((function(e){return n(e)+e.duration}))):t.duration,r.delay=o?Math.min.apply(Math,e.map((function(e){return n(e)+e.delay}))):t.delay,r.endDelay=o?r.duration-Math.max.apply(Math,e.map((function(e){return n(e)+e.duration-e.endDelay}))):t.endDelay,r}var J=0,Q=[],Z=function(){var e;function t(o){for(var n=Q.length,r=0;r<n;){var i=Q[r];i.paused?(Q.splice(r,1),n--):(i.tick(o),r++)}e=r>0?requestAnimationFrame(t):void 0}return"undefined"!=typeof document&&document.addEventListener("visibilitychange",(function(){ee.suspendWhenDocumentHidden&&(K()?e=cancelAnimationFrame(e):(Q.forEach((function(e){return e._onDocumentVisibility()})),Z()))})),function(){e||K()&&ee.suspendWhenDocumentHidden||!(Q.length>0)||(e=requestAnimationFrame(t))}}();function K(){return!!document&&document.hidden}function ee(e){void 0===e&&(e={});var t,o=0,i=0,a=0,l=0,c=null;function u(e){var t=window.Promise&&new Promise((function(e){return c=e}));return e.finished=t,t}var d=function(e){var t=T(n,e),o=T(r,e),i=function(e,t){var o=[],n=t.keyframes;for(var r in n&&(t=O(function(e){for(var t=x(w(e.map((function(e){return Object.keys(e)}))),(function(e){return p.key(e)})).reduce((function(e,t){return e.indexOf(t)<0&&e.push(t),e}),[]),o={},n=function(n){var r=t[n];o[r]=e.map((function(e){var t={};for(var o in e)p.key(o)?o==r&&(t.value=e[o]):t[o]=e[o];return t}))},r=0;r<t.length;r++)n(r);return o}(n),t)),t)p.key(r)&&o.push({name:r,tweens:U(t[r],e)});return o}(o,e),a=G(e.targets),s=Y(a,i),l=X(s,o),c=J;return J++,O(t,{id:c,children:[],animatables:a,animations:s,duration:l.duration,delay:l.delay,endDelay:l.endDelay})}(e);function y(){var e=d.direction;"alternate"!==e&&(d.direction="normal"!==e?"normal":"reverse"),d.reversed=!d.reversed,t.forEach((function(e){return e.reversed=d.reversed}))}function g(e){return d.reversed?d.duration-e:e}function m(){o=0,i=g(d.currentTime)*(1/ee.speed)}function v(e,t){t&&t.seek(e-t.timelineOffset)}function h(e){for(var t=0,o=d.animations,n=o.length;t<n;){var r=o[t],i=r.animatable,a=r.tweens,l=a.length-1,c=a[l];l&&(c=x(a,(function(t){return e<t.end}))[0]||c);for(var p=s(e-c.start-c.delay,0,c.duration)/c.duration,u=isNaN(p)?1:c.easing(p),y=c.to.strings,g=c.round,m=[],v=c.to.numbers.length,h=void 0,b=0;b<v;b++){var f=void 0,w=c.to.numbers[b],S=c.from.numbers[b]||0;f=c.isPath?F(c.value,u*w,c.isPathTargetInsideSVG):S+u*(w-S),g&&(c.isColor&&b>2||(f=Math.round(f*g)/g)),m.push(f)}var _=y.length;if(_){h=y[0];for(var j=0;j<_;j++){y[j];var T=y[j+1],O=m[j];isNaN(O)||(h+=T?O+T:O+" ")}}else h=m[0];q[r.type](i.target,r.property,h,i.transforms),r.currentValue=h,t++}}function b(e){d[e]&&!d.passThrough&&d[e](d)}function f(e){var n=d.duration,r=d.delay,p=n-d.endDelay,m=g(e);d.progress=s(m/n*100,0,100),d.reversePlayback=m<d.currentTime,t&&function(e){if(d.reversePlayback)for(var o=l;o--;)v(e,t[o]);else for(var n=0;n<l;n++)v(e,t[n])}(m),!d.began&&d.currentTime>0&&(d.began=!0,b("begin")),!d.loopBegan&&d.currentTime>0&&(d.loopBegan=!0,b("loopBegin")),m<=r&&0!==d.currentTime&&h(0),(m>=p&&d.currentTime!==n||!n)&&h(n),m>r&&m<p?(d.changeBegan||(d.changeBegan=!0,d.changeCompleted=!1,b("changeBegin")),b("change"),h(m)):d.changeBegan&&(d.changeCompleted=!0,d.changeBegan=!1,b("changeComplete")),d.currentTime=s(m,0,n),d.began&&b("update"),e>=n&&(i=0,d.remaining&&!0!==d.remaining&&d.remaining--,d.remaining?(o=a,b("loopComplete"),d.loopBegan=!1,"alternate"===d.direction&&y()):(d.paused=!0,d.completed||(d.completed=!0,b("loopComplete"),b("complete"),!d.passThrough&&"Promise"in window&&(c(),u(d)))))}return u(d),d.reset=function(){var e=d.direction;d.passThrough=!1,d.currentTime=0,d.progress=0,d.paused=!0,d.began=!1,d.loopBegan=!1,d.changeBegan=!1,d.completed=!1,d.changeCompleted=!1,d.reversePlayback=!1,d.reversed="reverse"===e,d.remaining=d.loop,t=d.children;for(var o=l=t.length;o--;)d.children[o].reset();(d.reversed&&!0!==d.loop||"alternate"===e&&1===d.loop)&&d.remaining++,h(d.reversed?d.duration:0)},d._onDocumentVisibility=m,d.set=function(e,t){return $(e,t),d},d.tick=function(e){a=e,o||(o=a),f((a+(i-o))*ee.speed)},d.seek=function(e){f(g(e))},d.pause=function(){d.paused=!0,m()},d.play=function(){d.paused&&(d.completed&&d.reset(),d.paused=!1,Q.push(d),m(),Z())},d.reverse=function(){y(),d.completed=!d.reversed,m()},d.restart=function(){d.reset(),d.play()},d.remove=function(e){oe(W(e),d)},d.reset(),d.autoplay&&d.play(),d}function te(e,t){for(var o=t.length;o--;)_(e,t[o].animatable.target)&&t.splice(o,1)}function oe(e,t){var o=t.animations,n=t.children;te(e,o);for(var r=n.length;r--;){var i=n[r],a=i.animations;te(e,a),a.length||i.children.length||n.splice(r,1)}o.length||n.length||t.pause()}ee.version="3.2.1",ee.speed=1,ee.suspendWhenDocumentHidden=!0,ee.running=Q,ee.remove=function(e){for(var t=W(e),o=Q.length;o--;)oe(t,Q[o])},ee.get=A,ee.set=$,ee.convertPx=N,ee.path=function(e,t){var o=p.str(e)?f(e)[0]:e,n=t||100;return function(e){return{property:e,el:o,svg:z(o),totalLength:L(o)*(n/100)}}},ee.setDashoffset=function(e){var t=L(e);return e.setAttribute("stroke-dasharray",t),t},ee.stagger=function(e,t){void 0===t&&(t={});var o=t.direction||"normal",n=t.easing?b(t.easing):null,r=t.grid,i=t.axis,a=t.from||0,s="first"===a,l="center"===a,c="last"===a,u=p.arr(e),d=u?parseFloat(e[0]):parseFloat(e),y=u?parseFloat(e[1]):0,g=C(u?e[1]:e)||0,m=t.start||0+(u?d:0),v=[],h=0;return function(e,t,p){if(s&&(a=0),l&&(a=(p-1)/2),c&&(a=p-1),!v.length){for(var b=0;b<p;b++){if(r){var f=l?(r[0]-1)/2:a%r[0],x=l?(r[1]-1)/2:Math.floor(a/r[0]),w=f-b%r[0],S=x-Math.floor(b/r[0]),_=Math.sqrt(w*w+S*S);"x"===i&&(_=-w),"y"===i&&(_=-S),v.push(_)}else v.push(Math.abs(a-b));h=Math.max.apply(Math,v)}n&&(v=v.map((function(e){return n(e/h)*h}))),"reverse"===o&&(v=v.map((function(e){return i?e<0?-1*e:-e:Math.abs(h-e)})))}return m+(u?(y-d)/h:d)*(Math.round(100*v[t])/100)+g}},ee.timeline=function(e){void 0===e&&(e={});var t=ee(e);return t.duration=0,t.add=function(o,n){var i=Q.indexOf(t),a=t.children;function s(e){e.passThrough=!0}i>-1&&Q.splice(i,1);for(var l=0;l<a.length;l++)s(a[l]);var c=O(o,T(r,e));c.targets=c.targets||e.targets;var u=t.duration;c.autoplay=!1,c.direction=t.direction,c.timelineOffset=p.und(n)?u:H(n,u),s(t),t.seek(c.timelineOffset);var d=ee(c);s(d),a.push(d);var y=X(a,e);return t.delay=y.delay,t.endDelay=y.endDelay,t.duration=y.duration,t.seek(0),t.reset(),t.autoplay&&t.play(),t},t},ee.easing=b,ee.penner=h,ee.random=function(e,t){return Math.floor(Math.random()*(t-e+1))+e};const ne=ee},5066:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>h,name:()=>v,settings:()=>b});var n=o(4404),r=o(6065),i=o(7723),a=o(4597),s=o(9491),l=o(2188),c=o(9984),p=o(2449),u=o(4889),d=o(790);function y(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function g(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?y(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):y(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var m=(0,s.compose)(l.withPartialRender,(0,l.withCustomStyle)(a.d))((function(e){var t=g(g({},e),{},{shareType:"wechat",serverPath:"gutenverse/social-share-wechat"});return(0,d.jsx)(c.A,g({},t))})),v="gutenverse/social-share-wechat",h=g(g({},p),{},{title:(0,i.__)("Gutenverse Social Share Wechat","gutenverse"),description:(0,i.__)("Gutenverse Social Share Wechat","gutenverse"),attributes:g(g({},p.attributes),{},{text:{type:"string",default:(0,i.__)("Share on Wechat","gutenverse")}}),keywords:[].concat((0,n.A)(p.keywords),[(0,i.__)("wechat","gutenverse")])}),b={icon:(0,d.jsx)(u.nT,{}),edit:m}},5069:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>Z,name:()=>ee,settings:()=>te});var n=o(6065),r=o(8930),i=o(9491),a=o(6087),s=o(2188),l=o(4715),c=o(3482),p=o(7723),u=o(596),d=o(1222),y=o(790),g=function(e){var t=e.elementId,o=e.showIcon,r=e.iconPosition,i=e.iconSpacing,a=e.role;return[{id:"alignButton",label:(0,p.__)("Button Alignment","gutenverse"),component:u.IconRadioControl,allowDeviceControl:!0,options:[{label:(0,p.__)("Align Left","gutenverse"),value:"left",icon:(0,y.jsx)(c.AlignLeft,{})},{label:(0,p.__)("Align Center","gutenverse"),value:"center",icon:(0,y.jsx)(c.AlignCenter,{})},{label:(0,p.__)("Align Right","gutenverse"),value:"right",icon:(0,y.jsx)(c.AlignRight,{})}]},{id:"role",label:(0,p.__)("Button Role"),component:u.SelectControl,options:[{label:(0,p.__)("Link (Default)","gutenverse"),value:"link"},{label:(0,p.__)("Submit","gutenverse"),value:"submit"}]},{id:"ariaLabel",label:(0,p.__)("Aria Label","gutenverse"),show:"link"===a,component:u.TextControl},{id:"buttonType",label:(0,p.__)("Button Type"),component:u.SelectControl,options:[{label:(0,p.__)("Default","gutenverse"),value:"default"},{label:(0,p.__)("Info","gutenverse"),value:"info"},{label:(0,p.__)("Success","gutenverse"),value:"success"},{label:(0,p.__)("Warning","gutenverse"),value:"warning"},{label:(0,p.__)("Danger","gutenverse"),value:"danger"}]},{id:"buttonSize",label:(0,p.__)("Button Size"),component:u.SelectControl,options:[{label:(0,p.__)("Extra Small","gutenverse"),value:"xs"},{label:(0,p.__)("Small","gutenverse"),value:"sm"},{label:(0,p.__)("Medium","gutenverse"),value:"md"},{label:(0,p.__)("Large","gutenverse"),value:"lg"},{label:(0,p.__)("Extra Large","gutenverse"),value:"xl"}]},{id:"buttonWidth",label:(0,p.__)("Set Width","gutenverse"),component:u.RangeControl,allowDeviceControl:!0,unit:"%",min:0,max:100,step:1,liveStyle:[{type:"plain",id:"buttonWidth",responsive:!0,properties:[{name:"width",valueType:"pattern",pattern:"{value}%",patternValues:{value:{type:"direct",key:"buttonWidth"}}}],selector:".editor-styles-wrapper .".concat(t,".guten-button-wrapper .guten-button")}]},{id:"buttonHeight",label:(0,p.__)("Set Height","gutenverse"),component:u.RangeControl,allowDeviceControl:!0,unit:"px",min:1,max:1e3,step:1,liveStyle:[{type:"plain",id:"buttonHeight",responsive:!0,properties:[{name:"height",valueType:"pattern",pattern:"{value}px !important",patternValues:{value:{type:"direct"}}}],selector:".editor-styles-wrapper .".concat(t,".guten-button-wrapper .guten-button")}]},{id:"showIcon",label:(0,p.__)("Show Icon","gutenverse"),component:u.CheckboxControl},{id:"iconPosition",label:(0,p.__)("Icon Position"),show:o,component:u.SelectControl,options:[{label:(0,p.__)("Before","gutenverse"),value:"before"},{label:(0,p.__)("After","gutenverse"),value:"after"}]},{id:"iconSpacing",label:(0,p.__)("Icon Spacing","gutenverse"),show:o,component:u.RangeControl,allowDeviceControl:!0,unit:"px",min:0,max:50,step:1,liveStyle:[(0,d.isNotEmpty)(r)&&(0,d.isNotEmpty)(i)&&{type:"plain",id:"iconSpacing",responsive:!0,selector:".editor-styles-wrapper .".concat(t,".guten-button-wrapper .guten-button i"),properties:[{name:"after"===r?"margin-left":"margin-right",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"iconSize",label:(0,p.__)("Icon Size","gutenverse"),component:u.SizeControl,allowDeviceControl:!0,show:o,units:{px:{text:"px",min:1,max:100,step:1},em:{text:"em",min:.1,max:3,step:.1}},liveStyle:[{type:"unitPoint",id:"iconSize",responsive:!0,selector:".editor-styles-wrapper .".concat(t,".guten-button-wrapper .guten-button i"),properties:[{name:"font-size",valueType:"direct"}]}]},{id:"paddingButton",label:(0,p.__)("Button Padding","gutenverse"),component:u.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,n.A)((0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"}),"rem",{text:"rem",unit:"rem"})},{id:"iconLineHeight",label:(0,p.__)("Remove Icon Line Height","gutenverse"),component:u.CheckboxControl}]};function m(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function v(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?m(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):m(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var h=function(e){var t=e.elementId,o=e.switcher,n=e.setSwitcher,r=e.hoverWithParent,i=e.parentSelector;return[{id:"__styleHover",component:u.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__styleHover;return n(v(v({},o),{},{styleHover:t}))}},{id:"color",show:!o.styleHover||"normal"===o.styleHover,label:(0,p.__)("Text Color","gutenverse"),component:u.ColorControl,liveStyle:[{type:"color",id:"color",selector:".editor-styles-wrapper .".concat(t,".guten-button-wrapper .guten-button span"),properties:[{name:"color",valueType:"direct"}]}]},{id:"iconColor",show:!o.styleHover||"normal"===o.styleHover,label:(0,p.__)("Icon Color","gutenverse"),component:u.ColorControl,liveStyle:[{type:"color",id:"iconColor",selector:".editor-styles-wrapper .".concat(t,".guten-button-wrapper .guten-button i"),properties:[{name:"color",valueType:"direct"}]}]},{id:"hoverTextColor",show:"hover"===o.styleHover,label:(0,p.__)("Hover Text Color","gutenverse"),component:u.ColorControl,liveStyle:[{type:"color",id:"hoverTextColor",selector:r?i+" .".concat(t,".guten-button-wrapper .guten-button span"):".editor-styles-wrapper .".concat(t,".guten-button-wrapper .guten-button:hover span"),properties:[{name:"color",valueType:"direct"}]}]},{id:"hoverIconColor",show:"hover"===o.styleHover,label:(0,p.__)("Hover Icon Color","gutenverse"),component:u.ColorControl,liveStyle:[{type:"color",id:"hoverTextColor",selector:r?i+" .".concat(t,".guten-button-wrapper .guten-button i"):".editor-styles-wrapper .".concat(t,".guten-button-wrapper .guten-button:hover i"),properties:[{name:"color",valueType:"direct"}]}]},{id:"typography",label:(0,p.__)("Typography","gutenverse"),component:u.TypographyControl}]};function b(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function f(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?b(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):b(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var x=o(5255);function w(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function S(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?w(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):w(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var _=function(e){var t=e.elementId,o=e.switcher,n=e.setSwitcher,r=e.hoverWithParent,i=e.parentSelector,a=(0,x.getDeviceType)();return[{id:"__buttonBorderHover",component:u.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__buttonBorderHover;return n(S(S({},o),{},{buttonBorder:t}))}},{id:"buttonBorder",show:(!o.buttonBorder||"normal"===o.buttonBorder)&&"Desktop"===a,label:(0,p.__)("Border","gutenverse"),component:u.BorderControl,liveStyle:[{type:"border",id:"buttonBorder",selector:".editor-styles-wrapper .".concat(t,".guten-button-wrapper .guten-button")}]},{id:"buttonBorderResponsive",show:(!o.buttonBorder||"normal"===o.buttonBorder)&&"Desktop"!==a,label:(0,p.__)("Border","gutenverse"),component:u.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"buttonBorderResponsive",responsive:!0,selector:".editor-styles-wrapper .".concat(t,".guten-button-wrapper .guten-button")}]},{id:"buttonBorderHover",show:"hover"===o.buttonBorder&&"Desktop"===a,label:(0,p.__)("Border","gutenverse"),component:u.BorderControl,liveStyle:[{type:"border",id:"buttonBorderHover",selector:r?i+" .".concat(t,".guten-button-wrapper .guten-button"):".editor-styles-wrapper .".concat(t,".guten-button-wrapper .guten-button:hover")}]},{id:"buttonBorderHoverResponsive",show:"hover"===o.buttonBorder&&"Desktop"!==a,label:(0,p.__)("Border","gutenverse"),component:u.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"buttonBorderHoverResponsive",responsive:!0,selector:r?i+" .".concat(t,".guten-button-wrapper .guten-button"):".editor-styles-wrapper .".concat(t,".guten-button-wrapper .guten-button:hover")}]},{id:"buttonBoxShadow",show:!o.buttonBorder||"normal"===o.buttonBorder,label:(0,p.__)("Box Shadow","gutenverse"),component:u.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"buttonBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .".concat(t,".guten-button-wrapper .guten-button")}]},{id:"buttonBoxShadowHover",show:"hover"===o.buttonBorder,label:(0,p.__)("Box Shadow","gutenverse"),component:u.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"buttonBoxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:r?i+" .".concat(t,".guten-button-wrapper .guten-button"):".editor-styles-wrapper .".concat(t,".guten-button-wrapper .guten-button:hover")}]}]},j=o(2619);function T(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function O(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?T(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):T(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var C=function(e){return(0,j.applyFilters)("gutenverse.dynamic-content-options",[{component:u.LockedDynamicContentControl}],O(O({},e),{},{blockType:"button"}))};function k(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function P(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?k(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):k(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var N=function(){return[{title:(0,p.__)("Button","gutenverse"),panelArray:g,tabRole:u.TabSetting},{title:(0,p.__)("Dynamic Data","gutenverse"),panelArray:C,initialOpen:!1,tabRole:u.TabSetting,pro:!0},{title:(0,p.__)("Display","gutenverse"),initialOpen:!1,panelArray:u.responsivePanel,tabRole:u.TabSetting},{title:(0,p.__)("Positioning","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,u.positioningPanel)(P(P({},e),{},{inBlock:!1}))},tabRole:u.TabSetting},{title:(0,p.__)("Transform","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,u.transformPanel)(P(P({},e),{},{selector:".".concat(e.elementId," .guten-button"),hoverSelector:".".concat(e.elementId," .guten-button:hover")}))},pro:!0},{title:(0,p.__)("Mouse Move Effect","gutenverse"),initialOpen:!1,panelArray:u.mouseMoveEffectPanel,tabRole:u.TabSetting,pro:!0},{title:(0,p.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,u.animationPanel)(P(P({},e),{},{styleId:"element-animation",selector:".".concat(e.elementId," .guten-button")}))},tabRole:u.TabSetting},{title:(0,p.__)("Advanced Animation","gutenverse"),initialOpen:!1,panelAdvance:!0,panelArray:function(e){return(0,u.advanceAnimationPanel)(P(P({},e),{},{blockType:"column"}))},pro:!0},{title:(0,p.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,u.advancePanel)(P(P({},e),{},{styleId:"element-advance"}))},tabRole:u.TabSetting},{title:(0,p.__)("Condition","gutenverse"),panelArray:u.conditionPanel,initialOpen:!1,pro:!0},{title:(0,p.__)("Style","gutenverse"),panelArray:h,initialOpen:!1,tabRole:u.TabStyle},{title:(0,p.__)("Button Background","gutenverse"),initialOpen:!1,panelArray:function(e){return function(e){var t=e.elementId,o=e.normalOptions,n=e.hoverOptions,r=e.switcher,i=e.setSwitcher,a=e.hoverWithParent,s=e.parentSelector;return[{id:"__buttonBgHover",component:u.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__buttonBgHover;return i(f(f({},r),{},{buttonBg:t}))}},{id:"buttonBackground",show:!r.buttonBg||"normal"===r.buttonBg,component:u.BackgroundControl,allowDeviceControl:!0,options:o,liveStyle:[{id:"buttonBackground",type:"background",responsive:!0,selector:".editor-styles-wrapper .".concat(t,".guten-button-wrapper .guten-button")}]},{id:"buttonBackgroundHover",show:"hover"===r.buttonBg,component:u.BackgroundControl,allowDeviceControl:!0,options:n,liveStyle:[{id:"buttonBackground",type:"background",responsive:!0,selector:a?s+" .".concat(t,".guten-button-wrapper .guten-button"):".editor-styles-wrapper .".concat(t,".guten-button-wrapper .guten-button:hover")}]}]}(P(P({},e),{},{styleId:"button-background",normalOptions:["default","gradient"],hoverOptions:["default","gradient"]}))},tabRole:u.TabStyle},{title:(0,p.__)("Button Border","gutenverse"),initialOpen:!1,panelArray:_,tabRole:u.TabStyle},{title:(0,p.__)("Background","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,u.backgroundPanel)(P(P({},e),{},{styleId:"element-background",normalOptions:["default","gradient"],hoverOptions:["default","gradient"]}))},tabRole:u.TabStyle},{title:(0,p.__)("Border","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,u.borderPanel)(P(P({},e),{},{styleId:"element-border"}))},tabRole:u.TabStyle},{title:(0,p.__)("Masking","gutenverse"),initialOpen:!1,panelArray:u.maskPanel,tabRole:u.TabStyle}]},E=o(5795),D=o(6427),B=o(2774),A=o(8558),H=o(6504),R=o(6826),I=o(7143),M=o(4633),L=o.n(M),z=o(4404);const F=function(e,t){var o=[];o=(0,u.backgroundStyle)({attributes:t,data:o,elementId:e});var n=(0,x.getDeviceType)();return(0,d.isNotEmpty)(t.alignButton)&&o.push({type:"plain",id:"alignButton",selector:".editor-styles-wrapper .".concat(e,".guten-button-wrapper"),properties:[{name:"justify-content",valueType:"direct"}],responsive:!0}),(0,d.isNotEmpty)(t.buttonWidth)&&o.push({type:"plain",id:"buttonWidth",selector:".editor-styles-wrapper .".concat(e,".guten-button-wrapper .guten-button"),responsive:!0,properties:[{name:"width",valueType:"pattern",pattern:"{value}%",patternValues:{value:{type:"direct",key:"buttonWidth"}}}]}),(0,d.isNotEmpty)(t.buttonHeight)&&o.push({type:"plain",id:"buttonHeight",selector:".editor-styles-wrapper .".concat(e,".guten-button-wrapper .guten-button"),responsive:!0,properties:[{name:"height",valueType:"pattern",pattern:"{value}px!important",patternValues:{value:{type:"direct",key:"buttonHeight"}}}]}),(0,d.isNotEmpty)(t.iconPosition)&&(0,d.isNotEmpty)(t.iconSpacing)&&"before"===t.iconPosition&&(0,d.isNotEmpty)(t.showIcon)&&o.push({type:"plain",id:"iconPosition",responsive:!0,selector:".editor-styles-wrapper .".concat(e,".guten-button-wrapper .guten-button i"),properties:[{name:"margin-right",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct",key:"iconSpacing"}}}],multiAttr:{iconSpacing:t.iconSpacing}}),(0,d.isNotEmpty)(t.iconPosition)&&(0,d.isNotEmpty)(t.iconSpacing)&&"after"===t.iconPosition&&(0,d.isNotEmpty)(t.showIcon)&&o.push({type:"plain",id:"iconPosition",responsive:!0,selector:".editor-styles-wrapper .".concat(e,".guten-button-wrapper .guten-button i"),properties:[{name:"margin-left",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct",key:"iconSpacing"}}}],multiAttr:{iconSpacing:t.iconSpacing}}),(0,d.isNotEmpty)(t.iconSize)&&(0,d.isNotEmpty)(t.showIcon)&&o.push({type:"unitPoint",id:"iconSize",properties:[{name:"font-size",valueType:"direct"}],selector:".editor-styles-wrapper .".concat(e,".guten-button-wrapper .guten-button i"),responsive:!0}),(0,d.isNotEmpty)(t.paddingButton)&&o.push({type:"dimension",id:"paddingButton",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .".concat(e,".guten-button-wrapper .guten-button")}),(0,d.isNotEmpty)(t.iconLineHeight)&&o.push({type:"plain",id:"iconLineHeight",selector:".editor-styles-wrapper .".concat(e,".guten-button-wrapper .guten-button i"),properties:[{name:"line-height",valueType:"pattern",pattern:"normal"}]}),(0,d.isNotEmpty)(t.color)&&o.push({type:"color",id:"color",selector:".editor-styles-wrapper .".concat(e,".guten-button-wrapper .guten-button span"),properties:[{name:"color",valueType:"direct"}]}),(0,d.isNotEmpty)(t.iconColor)&&o.push({type:"color",id:"iconColor",selector:".editor-styles-wrapper .".concat(e,".guten-button-wrapper .guten-button i"),properties:[{name:"color",valueType:"direct"}]}),(0,d.isNotEmpty)(t.hoverWithParent)?((0,d.isNotEmpty)(t.hoverTextColor)&&o.push({type:"color",id:"hoverTextColor",selector:t.parentSelector+" .".concat(e,".guten-button-wrapper .guten-button span"),properties:[{name:"color",valueType:"direct"}]}),(0,d.isNotEmpty)(t.hoverIconColor)&&o.push({type:"color",id:"hoverIconColor",selector:t.parentSelector+" .".concat(e,".guten-button-wrapper .guten-button i"),properties:[{name:"color",valueType:"direct"}]})):((0,d.isNotEmpty)(t.hoverTextColor)&&o.push({type:"color",id:"hoverTextColor",selector:".editor-styles-wrapper .".concat(e,".guten-button-wrapper .guten-button:hover span"),properties:[{name:"color",valueType:"direct"}]}),(0,d.isNotEmpty)(t.hoverIconColor)&&o.push({type:"color",id:"hoverIconColor",selector:".editor-styles-wrapper .".concat(e,".guten-button-wrapper .guten-button:hover i"),properties:[{name:"color",valueType:"direct"}]})),(0,d.isNotEmpty)(t.typography)&&o.push({type:"typography",id:"typography",selector:".editor-styles-wrapper .".concat(e,".guten-button-wrapper .guten-button span")}),(0,d.isNotEmpty)(t.buttonBackground)&&o.push({type:"background",id:"buttonBackground",selector:".editor-styles-wrapper .".concat(e,".guten-button-wrapper .guten-button"),responsive:!0}),(0,d.isNotEmpty)(t.buttonBackgroundHover)&&o.push({type:"background",id:"buttonBackgroundHover",selector:t.hoverWithParent?t.parentSelector+" .".concat(e,".guten-button-wrapper .guten-button"):".editor-styles-wrapper .".concat(e,".guten-button-wrapper .guten-button:hover"),responsive:!0}),(0,d.isNotEmpty)(t.buttonBorder)&&o.push({type:"border",id:"buttonBorder",selector:".editor-styles-wrapper .".concat(e,".guten-button-wrapper .guten-button")}),(0,d.isNotEmpty)(t.buttonBorderResponsive)&&"Desktop"!==n&&o.push({type:"border",id:"buttonBorderResponsive",selector:".editor-styles-wrapper .".concat(e,".guten-button-wrapper .guten-button")}),(0,d.isNotEmpty)(t.buttonBorderHover)&&o.push({type:"border",id:"buttonBorderHover",selector:t.hoverWithParent?t.parentSelector+" .".concat(e,".guten-button-wrapper .guten-button"):".editor-styles-wrapper .".concat(e,".guten-button-wrapper .guten-button:hover")}),(0,d.isNotEmpty)(t.buttonBorderHover)&&"Desktop"!==n&&o.push({type:"borderResponsive",id:"buttonBorderHoverResponsive",responsive:!0,selector:t.hoverWithParent?t.parentSelector+" .".concat(e,".guten-button-wrapper .guten-button"):".editor-styles-wrapper .".concat(e,".guten-button-wrapper .guten-button:hover")}),(0,d.isNotEmpty)(t.buttonBoxShadow)&&o.push({type:"boxShadow",id:"buttonBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .".concat(e,".guten-button-wrapper .guten-button")}),(0,d.isNotEmpty)(t.buttonBoxShadowHover)&&!t.hoverWithParent&&o.push({type:"boxShadow",id:"buttonBoxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .".concat(e,".guten-button-wrapper .guten-button:hover")}),(0,d.isNotEmpty)(t.buttonBoxShadowHover)&&t.hoverWithParent&&o.push({type:"boxShadow",id:"buttonBoxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:t.parentSelector+" .".concat(e,".guten-button-wrapper .guten-button")}),(0,d.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,d.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,d.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,d.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,d.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,d.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,d.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,d.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,d.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,d.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,d.isNotEmpty)(t.animation)&&(0,d.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element"),properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}]}),(0,d.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,d.isNotEmpty)(t.positioningType)&&(0,d.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,d.isNotEmpty)(t.positioningWidth)&&(0,d.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,d.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,d.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,d.isNotEmpty)(t.positioningLeft)&&(0,d.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,d.isNotEmpty)(t.positioningRight)&&(0,d.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,d.isNotEmpty)(t.positioningTop)&&(0,d.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,d.isNotEmpty)(t.positioningBottom)&&(0,d.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),[].concat((0,z.A)(o),(0,z.A)((0,j.applyFilters)("gutenverse.button.blockStyle",[],{elementId:e,attributes:t})))};var V=o(4320);function W(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function G(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?W(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):W(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var U="noreferrer noopener",q=(0,i.compose)(s.withPartialRender,s.withPassRef,(0,s.withAnimationAdvanceV2)("button"),s.withMouseMoveEffect)((function(e){var t=e.attributes,o=e.setAttributes,i=e.isSelected,s=e.clientId,g=e.context,m=g.hoverWithParent,v=g.parentSelector,h=e.setBlockRef,b=(0,a.useRef)();(0,a.useEffect)((function(){t.hoverWithParent!==m&&b.current!==m&&o({hoverWithParent:m,parentSelector:v}),b.current=m}),[t.hoverWithParent,m,v]);var f=t.elementId,x=t.content,w=t.buttonType,S=t.buttonSize,_=t.showIcon,T=t.icon,O=t.url,C=t.rel,k=t.linkTarget,P=t.iconPosition,M=void 0===P?"before":P,z=t.role,W=t.ariaLabel,q=t.dynamicContent,$=t.dynamicUrl,Y=(0,d.useRichTextParameter)(),X=Y.panelState,J=Y.setPanelState,Q=Y.setPanelIsClicked,Z=Y.panelIsClicked,K=(0,I.useSelect)((function(e){return e("core/block-editor")}),[]),ee=K.getBlockRootClientId,te=K.getBlock,oe=(0,I.dispatch)("core/block-editor").selectBlock,ne=(0,a.useRef)(),re=(0,a.useRef)(null);(0,V.useGenerateElementId)(s,f,re),(0,V.useDynamicStyle)(f,t,F,re),(0,V.useDynamicScript)(re);var ie=(0,a.useState)(!1),ae=(0,r.A)(ie,2),se=ae[0],le=ae[1],ce=_?"":(0,p.__)("Button Text..."),pe=(0,R.useAnimationEditor)(t),ue=(0,R.useDisplayEditor)(t),de=(0,a.useState)(!0),ye=(0,r.A)(de,2),ge=ye[0],me=ye[1],ve=(0,a.useState)(),he=(0,r.A)(ve,2),be=he[0],fe=he[1],xe=(0,a.useState)(),we=(0,r.A)(xe,2),Se=we[0],_e=we[1],je=(0,l.useBlockProps)({className:(0,c.classnames)("guten-element","guten-button-wrapper","no-margin",f,ue),ref:re}),Te={className:(0,c.classnames)("guten-button",pe,(0,n.A)((0,n.A)({},"guten-button-".concat(w),w&&"default"!==w),"guten-button-".concat(S),S))},Oe=function(){var e=ee(s);if(e){var t,o=te(e);if(new Set(["gutenverse/icon-box","gutenverse/image-box"]).has(o.name)&&(null===(t=o.attributes)||void 0===t||!t.separateButtonLink))return!1}return!0};(0,a.useEffect)((function(){var e=Oe();me(e)}),[e]),(0,a.useEffect)((function(){if(!Oe()&&void 0===O){var e=ee(s),t=te(e).attributes,n=t.url,r=t.linkTarget,i=t.rel;o({url:n,linkTarget:r,rel:i})}}),[]),(0,a.useEffect)((function(){re&&h(re)}),[re]);var Ce=(0,a.useCallback)((function(e){var t=e?"_blank":void 0,n=C;t&&!C?n=U:t||C!==U||(n=void 0),o({linkTarget:t,rel:n})}),[C,o]),ke={panel:"setting",section:1},Pe=(0,y.jsxs)(y.Fragment,{children:[_&&"before"===M&&(0,y.jsx)("i",{className:"fa-lg ".concat(T),onClick:function(){return le(!0)}}),(0,y.jsx)(l.RichText,{tagName:"span",value:x,placeholder:ce,onChange:function(e){return o({content:e})},multiline:!1,withoutInteractiveFormatting:!0,identifier:"content",ref:ne}),_&&"after"===M&&(0,y.jsx)("i",{className:"fa-lg ".concat(T),onClick:function(){return le(!0)}})]}),Ne=function(){return ge&&"link"===z&&(0,y.jsx)(B.URLToolbar,{url:O,setAttributes:o,isSelected:i,opensInNewTab:"_blank"===k,onToggleOpenInNewTab:Ce,anchorRef:je.ref,usingDynamic:!0,setPanelState:J,panelState:ke,panelIsClicked:Z,setPanelIsClicked:Q})};return(0,a.useEffect)((function(){var e=L()($)||!(0,d.isOnEditor)()?$:(0,j.applyFilters)("gutenverse.dynamic.fetch-url",$),t=L()(q)||!(0,d.isOnEditor)()?q:(0,j.applyFilters)("gutenverse.dynamic.fetch-text",q);"function"==typeof e.then&&!L()($)&&e.then((function(e){(!Array.isArray(e)||e.length>0)&&void 0!==e&&e!==Se?_e(e):e!==Se&&_e(void 0)})).catch((function(){})),o(void 0!==Se?{url:Se,isDynamic:!0}:{url:O}),"function"==typeof t.then&&!L()(q)&&t.then((function(e){(!Array.isArray(e)||e.length>0)&&void 0!==e&&e!==be&&fe(e)})).catch((function(){})),void 0!==be&&o({content:be})}),[q,$,be,Se]),(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(c.CopyElementToolbar,G({},e)),(0,y.jsx)(u.BlockPanelController,{props:e,panelList:N,elementRef:re,panelState:X,setPanelIsClicked:Q}),se&&(0,E.createPortal)((0,y.jsx)(u.IconLibrary,{closeLibrary:function(){return le(!1)},value:T,onChange:function(e){return o({icon:e})}}),d.gutenverseRoot),(0,y.jsx)(l.BlockControls,{children:(0,y.jsxs)(D.ToolbarGroup,{children:[(0,j.applyFilters)("gutenverse.button.url-toolbar",(0,y.jsx)(Ne,{}),e,ke),!ge&&(0,y.jsx)(D.ToolbarButton,{name:"link",icon:c.link,title:(0,p.__)("Set link on parent","gutenverse"),onClick:function(){var t=ee(e.clientId);oe(t)}}),(0,y.jsx)(D.ToolbarButton,{name:"icon",icon:(0,y.jsx)(H.LogoCircleColor24SVG,{}),title:(0,p.__)("Choose Icon","gutenverse"),shortcut:A.displayShortcut.primary("i"),onClick:function(){return le(!0)}})]})}),(0,y.jsx)("span",{ref:re,style:{display:"none"}}),(0,y.jsx)("div",G(G({},je),{},{children:"link"===z?(0,y.jsx)("a",G(G({},Te),{},{onClick:function(){return ne.current.focus()},"aria-label":W,children:Pe})):(0,y.jsx)("button",G(G({},Te),{},{type:"submit",onSubmit:function(){return ne.current.focus()},children:Pe}))}))]})}));const $=q;function Y(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function X(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Y(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Y(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var J=(0,i.compose)((0,s.withAnimationAdvanceScript)("buttons"),s.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,r=t.content,i=t.url,a=void 0===i?"#":i,s=t.linkTarget,p=t.rel,u=t.buttonType,d=t.buttonSize,g=t.showIcon,m=t.icon,v=t.iconPosition,h=t.role,b=t.ariaLabel,f=(0,R.useAnimationAdvanceData)(t),x=(0,R.useAnimationFrontend)(t),w=(0,R.useDisplayFrontend)(t),S=(0,c.classnames)("guten-element","guten-button-wrapper",o,w),_=(0,c.classnames)("guten-button",x,(0,n.A)((0,n.A)({},"guten-button-".concat(u),u&&"default"!==u),"guten-button-".concat(d),d)),T=function(e){var n=e.children,r=(0,j.applyFilters)("gutenverse.dynamic.generate-url",a,"dynamicUrl",t,o),i=(0,j.applyFilters)("gutenverse.dynamic.generate-content",n,"dynamicContent",t,o);return"link"===h?(0,y.jsx)("a",{className:_,href:r,target:s,"aria-label":b,rel:p,children:i}):(0,y.jsx)("button",{className:_,type:"submit",children:i})};return(0,y.jsx)("div",X(X({},l.useBlockProps.save(X({className:S},f))),{},{children:(0,y.jsxs)(T,{children:[g&&"before"===v&&(0,y.jsx)("i",{className:"fa-lg ".concat(m)}),(0,y.jsx)("span",{children:(0,y.jsx)(l.RichText.Content,{value:r})}),g&&"after"===v&&(0,y.jsx)("i",{className:"fa-lg ".concat(m)})]})}))}));const Q=J,Z=JSON.parse('{"apiVersion":2,"name":"gutenverse/button","title":"Button","description":"Add beautiful and interactive action button.","category":"gutenverse-element","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"mouseMoveEffect":{"type":"object","copyStyle":true},"role":{"type":"string","default":"link"},"content":{"type":"string"},"dynamicContent":{"type":"object","default":{}},"url":{"type":"string"},"dynamicUrl":{"type":"object","default":{}},"isDynamic":{"type":"boolean","default":false},"linkTarget":{"type":"string","source":"attribute","selector":"a","attribute":"target"},"rel":{"type":"string","source":"attribute","selector":"a","attribute":"rel"},"buttonType":{"type":"string","default":"default","copyStyle":true},"buttonSize":{"type":"string","default":"sm","copyStyle":true},"buttonWidth":{"type":"object","copyStyle":true},"buttonHeight":{"type":"object"},"alignButton":{"type":"object","copyStyle":true},"paddingButton":{"type":"object","copyStyle":true},"buttonBackground":{"type":"object","copyStyle":true},"buttonBackgroundHover":{"type":"object","copyStyle":true},"buttonBorder":{"type":"object","copyStyle":true},"buttonBorderResponsive":{"type":"object","migrate":{"attr":"buttonBorder","type":"border"},"copyStyle":true},"buttonBoxShadow":{"type":"object","copyStyle":true},"buttonBorderHover":{"type":"object","copyStyle":true},"buttonBorderHoverResponsive":{"type":"object","migrate":{"attr":"buttonBorderHover","type":"border"},"copyStyle":true},"buttonBoxShadowHover":{"type":"object","copyStyle":true},"showIcon":{"type":"boolean","default":false,"copyStyle":true},"icon":{"type":"string","default":"fab fa-wordpress","copyStyle":true},"iconPosition":{"type":"string","default":"before","copyStyle":true},"iconSpacing":{"type":"object","copyStyle":true},"iconSize":{"type":"object","copyStyle":true},"background":{"type":"object","default":{},"copyStyle":true},"backgroundHover":{"type":"object","default":{},"copyStyle":true},"backgroundTransition":{"type":"object","copyStyle":true,"default":{}},"border":{"type":"object","copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"borderHover":{"type":"object","copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadowHover":{"type":"object","copyStyle":true},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"animation":{"type":"object","default":{},"copyStyle":true},"advanceAnimation":{"type":"object","default":{},"copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"color":{"type":"object","copyStyle":true},"iconColor":{"type":"object","copyStyle":true},"typography":{"type":"object","copyStyle":true},"hoverIconColor":{"type":"object","copyStyle":true},"hoverBgColor":{"type":"object","copyStyle":true},"hoverTextColor":{"type":"object","copyStyle":true},"hoverBorderColor":{"type":"object","copyStyle":true},"positioningType":{"type":"object","copyStyle":true},"positioningWidth":{"type":"object","copyStyle":true},"positioningAlign":{"type":"object","copyStyle":true},"positioningLocation":{"type":"string","copyStyle":true},"positioningLeft":{"type":"object","copyStyle":true},"positioningRight":{"type":"object","copyStyle":true},"positioningTop":{"type":"object","copyStyle":true},"positioningBottom":{"type":"object","copyStyle":true},"transform":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"ariaLabel":{"type":"string","copyStyle":true},"condition":{"type":"object","default":{}},"hoverWithParent":{"type":"boolean","default":false,"copyStyle":true},"parentSelector":{"type":"string","copyStyle":true},"iconLineHeight":{"type":"boolean","default":false}},"supports":{"className":false},"keywords":["button","url","action"]}');var K=o(4889);var ee=Z.name,te={icon:(0,y.jsx)(K.EW,{}),example:{attributes:{content:"Gutenverse Button",alignButton:{Desktop:"center"},paddingButton:{Desktop:{unit:"px",dimension:{top:"20",bottom:"20",right:"40",left:"40"}}},buttonBackground:{type:"gradient",gradientColor:[{color:"rgb(94, 129, 244)",active:!0,opacity:1,id:1,offset:"0.000"},{color:"rgb(126, 32, 207)",active:!1,id:2,offset:"1.000"}],gradientType:"linear",gradientAngle:95},buttonBorder:{radius:{Desktop:{unit:"px",dimension:{top:"50",right:"50",bottom:"50",left:"50"}}}},showIcon:!0,icon:"fas fa-arrow-right",iconPosition:"after",iconSpacing:"10",iconSize:{point:"15",unit:"px"},color:{r:255,g:255,b:255,a:1},iconColor:{r:255,g:255,b:255,a:1},typography:{font:{label:"Roboto",value:"Roboto",type:"google"},size:{Desktop:{point:"16",unit:"px"}},weight:"500"}}},edit:$,save:Q,usesContext:["hoverWithParent","parentSelector"]}},5152:(e,t,o)=>{var n=o(1327),r=o(5450),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return r(e);var t=[];for(var o in Object(e))i.call(e,o)&&"constructor"!=o&&t.push(o);return t}},5157:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>D,name:()=>F,settings:()=>W});var n=o(6065),r=o(9491),i=o(4715),a=o(3482),s=o(596),l=o(7723),c=o(790),p=function(){return[{id:"align",label:(0,l.__)("Alignment","gutenverse"),component:s.IconRadioControl,allowDeviceControl:!0,options:[{label:(0,l.__)("Align Left","gutenverse"),value:"flex-start",icon:(0,c.jsx)(a.AlignLeft,{})},{label:(0,l.__)("Align Center","gutenverse"),value:"center",icon:(0,c.jsx)(a.AlignCenter,{})},{label:(0,l.__)("Align Right","gutenverse"),value:"flex-end",icon:(0,c.jsx)(a.AlignRight,{})},{label:(0,l.__)("Align Justify","gutenverse"),value:"space-between",icon:(0,c.jsx)(a.AlignJustify,{})}]},{id:"title",label:(0,l.__)("Title","gutenverse"),component:s.TextControl},{id:"starIcon",label:(0,l.__)("Star Style","gutenverse"),component:s.SelectControl,options:[{label:"Default",value:"default"},{label:"Default Fill",value:"fill"},{label:"Rounded",value:"rounded"},{label:"Rounded Fill",value:"rounded-fill"},{label:"Thumbs Up",value:"thumbs"},{label:"Smiley Fill",value:"smile-2"}]},{id:"rating",label:(0,l.__)("Rating","gutenverse"),component:s.RangeControl,isParseFloat:!0,liveUpdate:!0,min:0,max:10,step:1},{id:"total",label:(0,l.__)("Total","gutenverse"),component:s.RangeControl,liveUpdate:!0,isParseFloat:!0,min:0,max:10,step:1}]},u=function(e){var t=e.elementId;return[{id:"titleColor",label:(0,l.__)("Title Color","gutenverse"),component:s.ColorControl,liveStyle:[{type:"color",id:"titleColor",selector:".".concat(t," .rating-title"),properties:[{name:"color",valueType:"direct"}]}]},{id:"titleTypography",label:(0,l.__)("Title Typography","gutenverse"),component:s.TypographyControl},{id:"gap",label:(0,l.__)("Content Gap","gutenverse"),component:s.RangeControl,allowDeviceControl:!0,unit:"px",min:1,max:50,step:1,liveStyle:[{type:"plain",id:"gap",selector:".".concat(t," .rating-title"),responsive:!0,properties:[{name:"margin-right",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"iconSize",label:(0,l.__)("Icon Size","gutenverse"),component:s.RangeControl,allowDeviceControl:!0,unit:"px",min:1,max:100,step:1,liveStyle:[{type:"plain",id:"iconSize",selector:".".concat(t," .rating-icons i"),responsive:!0,properties:[{name:"font-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"iconGap",label:(0,l.__)("Icon Gap","gutenverse"),component:s.RangeControl,allowDeviceControl:!0,unit:"px",min:1,max:50,step:1,liveStyle:[{type:"plain",id:"iconGap",selector:".".concat(t," .rating-icons i"),responsive:!0,properties:[{name:"margin-right",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"iconColorMarked",label:(0,l.__)("Icon Color (Marked)","gutenverse"),component:s.ColorControl,liveStyle:[{type:"color",id:"iconColorMarked",selector:".".concat(t," .rating-icons i.full"),properties:[{name:"color",valueType:"direct"}]}]},{id:"iconColorUnmarked",label:(0,l.__)("Icon Color (Unmarked)","gutenverse"),component:s.ColorControl,liveStyle:[{type:"color",id:"iconColorUnmarked",selector:".".concat(t," .rating-icons i.empty"),properties:[{name:"color",valueType:"direct"}]}]}]};function d(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function y(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?d(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):d(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var g=function(){return[{title:(0,l.__)("General","gutenverse"),panelArray:p,tabRole:s.TabSetting},{title:(0,l.__)("Style","gutenverse"),initialOpen:!1,panelArray:u,tabRole:s.TabStyle},{title:(0,l.__)("Background","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,s.backgroundPanel)(y(y({},e),{},{styleId:"star-rating-background",normalOptions:["default","gradient"],hoverOptions:["default","gradient"]}))},tabRole:s.TabStyle},{title:(0,l.__)("Border","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,s.borderPanel)(y(y({},e),{},{styleId:"star-rating-border"}))},tabRole:s.TabStyle},{title:(0,l.__)("Masking","gutenverse"),initialOpen:!1,panelArray:s.maskPanel,tabRole:s.TabStyle},{title:(0,l.__)("Display","gutenverse"),initialOpen:!1,panelArray:s.responsivePanel,tabRole:s.TabSetting},{title:(0,l.__)("Positioning","gutenverse"),initialOpen:!1,panelArray:s.positioningPanel,tabRole:s.TabSetting},{title:(0,l.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,s.animationPanel)(y(y({},e),{},{styleId:"star-rating-animation"}))},tabRole:s.TabSetting},{title:(0,l.__)("Transform","gutenverse"),initialOpen:!1,panelArray:s.transformPanel,pro:!0},{title:(0,l.__)("Mouse Move Effect","gutenverse"),initialOpen:!1,panelArray:s.mouseMoveEffectPanel,tabRole:s.TabSetting,pro:!0},{title:(0,l.__)("Advanced Animation","gutenverse"),initialOpen:!1,panelAdvance:!0,panelArray:function(e){return(0,s.advanceAnimationPanel)(y(y({},e),{},{blockType:"star-rating"}))},pro:!0},{title:(0,l.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,s.advancePanel)(y(y({},e),{},{styleId:"star-rating-advance"}))},tabRole:s.TabSetting},{title:(0,l.__)("Condition","gutenverse"),panelArray:s.conditionPanel,initialOpen:!1,pro:!0}]};const m=function(e){var t=e.starIcon,o=e.rating,n=e.total;o=parseFloat(o),n=parseFloat(n);for(var r=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch(t){case"rounded":return e?"full fas fa-star":"empty far fa-star";case"rounded-fill":return e?"full fas fa-star":"empty fas fa-star";case"fill":return e?"full fa fa-star":"empty fa fa-star";case"smile-2":return e?"full fas fa-smile":"empty fas fa-frown";case"thumbs":return e?"full fas fa-thumbs-up":"empty fas fa-thumbs-down";default:return e?"full fa fa-star":"empty far fa-star"}},i=[],a=0;a<n;a++){var s=a<o?r(!0):r();i.push((0,c.jsx)("i",{className:s}))}return(0,c.jsx)("div",{className:"rating-icons",children:i.map((function(e){return e}))})};var v=o(6087),h=o(2188),b=o(6826),f=o(4320),x=o(4404),w=o(1222),S=o(2619);const _=function(e,t){var o=[];return o=(0,s.backgroundStyle)({attributes:t,data:o,elementId:e}),(0,w.isNotEmpty)(t.align)&&o.push({type:"plain",id:"align",selector:".".concat(e," .rating-wrapper"),responsive:!0,properties:[{name:"justify-content",valueType:"direct"}]}),(0,w.isNotEmpty)(t.titleColor)&&o.push({type:"color",id:"titleColor",selector:".".concat(e," .rating-title"),properties:[{name:"color",valueType:"direct"}]}),(0,w.isNotEmpty)(t.titleTypography)&&o.push({type:"typography",id:"titleTypography",selector:".".concat(e," .rating-title")}),(0,w.isNotEmpty)(t.gap)&&o.push({type:"plain",id:"gap",selector:".".concat(e," .rating-title"),responsive:!0,properties:[{name:"margin-right",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,w.isNotEmpty)(t.iconSize)&&o.push({type:"plain",id:"iconSize",selector:".".concat(e," .rating-icons i"),responsive:!0,properties:[{name:"font-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,w.isNotEmpty)(t.iconGap)&&o.push({type:"plain",id:"iconGap",selector:".".concat(e," .rating-icons i"),responsive:!0,properties:[{name:"margin-right",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,w.isNotEmpty)(t.iconColorMarked)&&o.push({type:"color",id:"iconColorMarked",selector:".".concat(e," .rating-icons i.full"),properties:[{name:"color",valueType:"direct"}]}),(0,w.isNotEmpty)(t.iconColorUnmarked)&&o.push({type:"color",id:"iconColorUnmarked",selector:".".concat(e," .rating-icons i.empty"),properties:[{name:"color",valueType:"direct"}]}),(0,w.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,w.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,w.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,w.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,w.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,w.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,w.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,w.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,w.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,w.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,w.isNotEmpty)(t.animation)&&(0,w.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,w.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,w.isNotEmpty)(t.positioningType)&&(0,w.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,w.isNotEmpty)(t.positioningWidth)&&(0,w.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,w.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,w.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,w.isNotEmpty)(t.positioningLeft)&&(0,w.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,w.isNotEmpty)(t.positioningRight)&&(0,w.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,w.isNotEmpty)(t.positioningTop)&&(0,w.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,w.isNotEmpty)(t.positioningBottom)&&(0,w.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),[].concat((0,x.A)(o),(0,x.A)((0,S.applyFilters)("gutenverse.star-rating.blockStyle",[],{elementId:e,attributes:t})))};function j(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function T(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?j(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):j(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var O=(0,r.compose)(h.withPartialRender,h.withPassRef,(0,h.withAnimationAdvanceV2)("satr-rating"),h.withMouseMoveEffect)((function(e){var t=e.attributes,o=e.clientId,n=e.setBlockRef,r=t.elementId,l=t.title,p=(0,v.useRef)(),u=(0,b.useAnimationEditor)(t),d=(0,b.useDisplayEditor)(t);(0,f.useGenerateElementId)(o,r,p),(0,f.useDynamicStyle)(r,t,_,p),(0,f.useDynamicScript)(p);var y=(0,i.useBlockProps)({className:(0,a.classnames)("guten-element","guten-star-rating","no-margin",r,u,d),ref:p});return(0,v.useEffect)((function(){p&&n(p)}),[p]),(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(a.CopyElementToolbar,T({},e)),(0,c.jsx)(s.BlockPanelController,{panelList:g,props:e,elementRef:p}),(0,c.jsx)("div",T(T({},y),{},{children:(0,c.jsxs)("div",{className:"rating-wrapper",children:[(0,c.jsx)("span",{className:"rating-title",children:l}),(0,c.jsx)(m,T({},t))]})}))]})}));const C=O;function k(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function P(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?k(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):k(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var N=(0,r.compose)((0,h.withAnimationAdvanceScript)("star-rating"),h.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,n=t.title,r=(0,b.useAnimationAdvanceData)(t),s=(0,b.useAnimationFrontend)(t),l=(0,b.useDisplayFrontend)(t),p=(0,a.classnames)("guten-element","guten-star-rating",o,s,l);return(0,c.jsx)("div",P(P({},i.useBlockProps.save(P({className:p},r))),{},{children:(0,c.jsxs)("div",{className:"rating-wrapper",children:[(0,c.jsx)("span",{className:"rating-title",children:n}),(0,c.jsx)(m,P({},t))]})}))}));const E=N,D=JSON.parse('{"apiVersion":2,"name":"gutenverse/star-rating","title":"Star Rating","description":"Showcase ratings of anything you want to share.","category":"gutenverse-element","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"mouseMoveEffect":{"type":"object","copyStyle":true},"title":{"type":"string","default":"Lorem Ipsum"},"align":{"type":"object","copyStyle":true},"starIcon":{"type":"string"},"rating":{"type":"number","default":7},"total":{"type":"number","default":10},"titleColor":{"type":"object","copyStyle":true},"titleTypography":{"type":"object","copyStyle":true},"gap":{"type":"object","copyStyle":true},"iconSize":{"type":"object","copyStyle":true},"iconGap":{"type":"object","copyStyle":true},"iconColorMarked":{"type":"object","copyStyle":true},"iconColorUnmarked":{"type":"object","copyStyle":true},"background":{"type":"object","default":{},"copyStyle":true},"backgroundHover":{"type":"object","default":{},"copyStyle":true},"backgroundTransition":{"type":"object","copyStyle":true,"default":{}},"border":{"type":"object","default":{},"copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"borderHover":{"type":"object","default":{},"copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadowHover":{"type":"object","copyStyle":true},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"animation":{"type":"object","default":{},"copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"positioningType":{"type":"object","copyStyle":true},"positioningWidth":{"type":"object","copyStyle":true},"positioningAlign":{"type":"object","copyStyle":true},"positioningLocation":{"type":"string","copyStyle":true},"positioningLeft":{"type":"object","copyStyle":true},"positioningRight":{"type":"object","copyStyle":true},"positioningTop":{"type":"object","copyStyle":true},"positioningBottom":{"type":"object","copyStyle":true},"advanceAnimation":{"type":"object","default":{},"copyStyle":true},"transform":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"condition":{"type":"object","default":{}}},"supports":{"className":false},"keywords":["star","rating","review"]}');var B=o(4889);const A=function(e){for(var t=e.starIcon,o=e.rating,n=e.total,r=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch(t){case"rounded":return e?"full fas fa-star":"empty far fa-star";case"rounded-fill":return e?"full fas fa-star":"empty fas fa-star";case"fill":return e?"full fa fa-star":"empty fa fa-star";case"smile-2":return e?"full fas fa-smile":"empty fas fa-frown";case"thumbs":return e?"full fas fa-thumbs-up":"empty fas fa-thumbs-down";default:return e?"full fa fa-star":"empty fa fa-star-o"}},i=[],a=0;a<n;a++){var s=a<o?r(!0):r();i.push((0,c.jsx)("i",{className:s}))}return(0,c.jsx)("div",{className:"rating-icons",children:i.map((function(e){return e}))})};function H(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function R(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?H(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):H(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var I=(0,r.compose)((0,h.withAnimationAdvanceScript)("star-rating"),h.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,n=t.title,r=(0,b.useAnimationAdvanceData)(t),i=(0,b.useAnimationFrontend)(t),s=(0,b.useDisplayFrontend)(t),l=(0,a.classnames)("guten-element","guten-star-rating",o,i,s);return(0,c.jsx)("div",R(R({className:l},r),{},{children:(0,c.jsxs)("div",{className:"rating-wrapper",children:[(0,c.jsx)("span",{className:"rating-title",children:n}),(0,c.jsx)(A,R({},t))]})}))}));const M=I;function L(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function z(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?L(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):L(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var F=D.name,V=D.attributes,W={icon:(0,c.jsx)(B.NI,{}),example:{attributes:{title:"Rating",align:{Desktop:"center"},starIcon:"default",titleTypography:{font:{label:"Barlow",value:"Barlow",type:"google"}}}},edit:C,save:E,deprecated:[{attributes:z(z({},V),{},{rating:{type:"int",default:7,deprecated:!0},total:{type:"int",default:10,deprecated:!0}}),migrate:function(e){var t=e.rating,o=e.total;return[z(z({},e),{},{rating:parseFloat(t),total:parseFloat(o)})]},save:M}]}},5247:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>H,name:()=>I,settings:()=>M});var n=o(6065),r=o(8930),i=o(9491),a=o(6087),s=o(4715),l=o(3482),c=o(596),p=o(7723),u=function(e){var t=e.authorLink;return[{id:"authorType",label:(0,p.__)("Author Type","gutenverse"),component:c.SelectControl,options:[{label:(0,p.__)("First Name"),value:"first_name"},{label:(0,p.__)("Last Name"),value:"last_name"},{label:(0,p.__)("First + Last Name"),value:"first_last"},{label:(0,p.__)("Last + First Name"),value:"last_first"},{label:(0,p.__)("Nick Name"),value:"nick_name"},{label:(0,p.__)("Display Name"),value:"display_name"},{label:(0,p.__)("User Name"),value:"user_name"},{label:(0,p.__)("None"),value:"none"}]},{id:"htmlTag",label:(0,p.__)("HTML Tag","gutenverse"),component:c.SelectControl,options:[{label:(0,p.__)("H1"),value:"h1"},{label:(0,p.__)("H2"),value:"h2"},{label:(0,p.__)("H3"),value:"h3"},{label:(0,p.__)("H4"),value:"h4"},{label:(0,p.__)("H5"),value:"h5"},{label:(0,p.__)("H6"),value:"h6"},{label:(0,p.__)("P"),value:"p"}]},{id:"authorAvatar",label:(0,p.__)("Show Avatar","gutenverse"),component:c.CheckboxControl},{id:"authorLink",label:(0,p.__)("Make Author a Link","gutenverse"),component:c.CheckboxControl},{id:"authorLinkTarget",show:!!t,label:(0,p.__)("Open in A New Tab","gutenverse"),component:c.CheckboxControl},{id:"authorLinkRel",show:!!t,label:(0,p.__)("Link Rel","gutenverse"),component:c.TextControl}]},d=o(5255),y=o(790);function g(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function m(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?g(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):g(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var v=function(e){var t=e.elementId,o=e.authorType,r=e.authorAvatar,i=e.switcher,a=e.setSwitcher,s=(0,d.getDeviceType)();return[{id:"alignment",label:(0,p.__)("Alignment","gutenverse"),component:c.IconRadioControl,allowDeviceControl:!0,options:[{label:(0,p.__)("Align Left","gutenverse"),value:"flex-start",icon:(0,y.jsx)(l.AlignLeft,{})},{label:(0,p.__)("Align Center","gutenverse"),value:"center",icon:(0,y.jsx)(l.AlignCenter,{})},{label:(0,p.__)("Align Right","gutenverse"),value:"flex-end",icon:(0,y.jsx)(l.AlignRight,{})},{label:(0,p.__)("Align Right","gutenverse"),value:"space-between",icon:(0,y.jsx)(l.AlignJustify,{})}]},{id:"typography",show:o&&"user_image"!==o,label:(0,p.__)("Typography","gutenverse"),component:c.TypographyControl},{id:"__styleHover",show:o&&"user_image"!==o,component:c.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__styleHover;return a(m(m({},i),{},{styleHover:t}))}},{id:"color",show:(!i.styleHover||"normal"===i.styleHover)&&o&&"user_image"!==o,label:(0,p.__)("Text color","gutenverse"),component:c.ColorControl,liveStyle:[{type:"color",id:"color",selector:".".concat(t," h1, .").concat(t," h2, .").concat(t," h3, .").concat(t," h4, .").concat(t," h5, .").concat(t," h6, .").concat(t," span, .").concat(t," a"),properties:[{name:"color",valueType:"direct"}]}]},{id:"textShadow",show:(!i.styleHover||"normal"===i.styleHover)&&o&&"user_image"!==o,label:(0,p.__)("Text Shadow","gutenverse"),component:c.TextShadowControl,liveStyle:[{type:"textShadow",id:"textShadow",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(t," h1, .").concat(t," h2, .").concat(t," h3, .").concat(t," h4, .").concat(t," h5, .").concat(t," h6, .").concat(t," span, .").concat(t," a")}]},{id:"colorHover",show:"hover"===i.styleHover&&o&&"user_image"!==o,label:(0,p.__)("Hover Text color","gutenverse"),component:c.ColorControl,liveStyle:[{type:"color",id:"colorHover",selector:".".concat(t,":hover h1, .").concat(t,":hover h2, .").concat(t,":hover h3, .").concat(t,":hover h4, .").concat(t,":hover h5, .").concat(t,":hover h6, .").concat(t,":hover span, .").concat(t,":hover a"),properties:[{name:"color",valueType:"direct"}]}]},{id:"textShadowHover",show:"hover"===i.styleHover&&o&&"user_image"!==o,label:(0,p.__)("Hover Text Shadow","gutenverse"),component:c.TextShadowControl,liveStyle:[{type:"textShadow",id:"textShadowHover",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(t,":hover h1, .").concat(t,":hover h2, .").concat(t,":hover h3, .").concat(t,":hover h4, .").concat(t,":hover h5, .").concat(t,":hover h6, .").concat(t,":hover span, .").concat(t,":hover a")}]},{id:"size",show:r,label:(0,p.__)("Size","gutenverse"),component:c.SizeControl,allowDeviceControl:!0,units:(0,n.A)({px:{text:"px",min:1,max:1e3,step:1},em:{text:"em",min:1,max:100,step:.1}},"%",{text:"%",min:1,max:100,step:1}),liveStyle:[r&&{type:"unitPoint",id:"size",responsive:!0,properties:[{name:"width",valueType:"direct"}],selector:".".concat(t," img")}]},{id:"avatarGap",show:r,label:(0,p.__)("Gap","gutenverse"),component:c.RangeControl,allowDeviceControl:!0,unit:"px",min:1,max:100,step:1,liveStyle:[r&&{type:"plain",id:"avatarGap",responsive:!0,properties:[{name:"margin-right",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}],selector:".".concat(t," img")}]},{id:"opacity",show:r,label:(0,p.__)("Opacity","gutenverse"),component:c.RangeControl,allowDeviceControl:!0,min:1,max:100,step:1,liveStyle:[r&&{type:"plain",id:"opacity",responsive:!0,properties:[{name:"opacity",valueType:"pattern",pattern:"calc({value}/100)",patternValues:{value:{type:"direct"}}}],selector:".".concat(t," img")}]},{id:"rotate",show:r,label:(0,p.__)("Rotate","gutenverse"),component:c.RangeControl,allowDeviceControl:!0,unit:"deg",min:0,max:360,step:1,liveStyle:[r&&{type:"plain",id:"rotate",responsive:!0,properties:[{name:"transform",valueType:"pattern",pattern:"rotate({value}deg)",patternValues:{value:{type:"direct"}}}],selector:".".concat(t," img")}]},{id:"authorBorder",show:r&&"Desktop"===s,label:(0,p.__)("Border","gutenverse"),component:c.BorderControl,liveStyle:[r&&{type:"border",id:"authorBorder",selector:".".concat(t," img")}]},{id:"authorBorderResponsive",show:r&&"Desktop"!==s,label:(0,p.__)("Border","gutenverse"),component:c.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[r&&{type:"borderResponsive",id:"authorBorderResponsive",selector:".".concat(t," img")}]},{id:"authorBoxShadow",show:r,label:(0,p.__)("Box Shadow","gutenverse"),component:c.BoxShadowControl,liveStyle:[r&&{type:"boxShadow",id:"authorBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t," img")}]}]};function h(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function b(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?h(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):h(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var f=function(){return[{title:(0,p.__)("Setting","gutenverse"),panelArray:u,tabRole:c.TabSetting},{title:(0,p.__)("Style","gutenverse"),initialOpen:!1,panelArray:v,tabRole:c.TabStyle},{title:(0,p.__)("Background","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,c.backgroundPanel)(b(b({},e),{},{styleId:"post-author-background",normalOptions:["default","gradient"],hoverOptions:["default","gradient"]}))},tabRole:c.TabStyle},{title:(0,p.__)("Border","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,c.borderPanel)(b(b({},e),{},{styleId:"post-author-border"}))},tabRole:c.TabStyle},{title:(0,p.__)("Masking","gutenverse"),initialOpen:!1,panelArray:c.maskPanel,tabRole:c.TabStyle},{title:(0,p.__)("Display","gutenverse"),initialOpen:!1,panelArray:c.responsivePanel,tabRole:c.TabSetting},{title:(0,p.__)("Positioning","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,c.positioningPanel)(b(b({},e),{},{inBlock:!1}))},tabRole:c.TabSetting},{title:(0,p.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,c.animationPanel)(b(b({},e),{},{styleId:"post-author-animation"}))},tabRole:c.TabSetting},{title:(0,p.__)("Transform","gutenverse"),initialOpen:!1,panelArray:c.transformPanel,pro:!0},{title:(0,p.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,c.advancePanel)(b(b({},e),{},{styleId:"post-author-advance"}))},tabRole:c.TabSetting},{title:(0,p.__)("Condition","gutenverse"),panelArray:c.conditionPanel,initialOpen:!1,pro:!0}]},x=o(3582),w=o(3656),S=o(7143),_=o(8468),j=o(2188),T=o(6826),O=o(4320),C=o(4404),k=o(1222),P=o(2619);const N=function(e,t){var o=[];return o=(0,c.backgroundStyle)({attributes:t,data:o,elementId:e}),(0,k.isNotEmpty)(t.alignment)&&o.push({type:"plain",id:"alignment",responsive:!0,selector:".".concat(e),properties:[{name:"justify-content",valueType:"direct"}]}),(0,k.isNotEmpty)(t.typography)&&o.push({type:"typography",id:"typography",selector:".".concat(e," h1, .").concat(e," h2, .").concat(e," h3, .").concat(e," h4, .").concat(e," h5, .").concat(e," h6, .").concat(e," span, .").concat(e," a")}),(0,k.isNotEmpty)(t.color)&&o.push({type:"color",id:"color",selector:".".concat(e," h1, .").concat(e," h2, .").concat(e," h3, .").concat(e," h4, .").concat(e," h5, .").concat(e," h6, .").concat(e," span, .").concat(e," a"),properties:[{name:"color",valueType:"direct"}]}),(0,k.isNotEmpty)(t.textShadow)&&o.push({type:"textShadow",id:"textShadow",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(e," h1, .").concat(e," h2, .").concat(e," h3, .").concat(e," h4, .").concat(e," h5, .").concat(e," h6, .").concat(e," span, .").concat(e," a")}),(0,k.isNotEmpty)(t.colorHover)&&o.push({type:"color",id:"colorHover",selector:".".concat(e,":hover h1, .").concat(e,":hover h2, .").concat(e,":hover h3, .").concat(e,":hover h4, .").concat(e,":hover h5, .").concat(e,":hover h6, .").concat(e,":hover span, .").concat(e,":hover a"),properties:[{name:"color",valueType:"direct"}]}),(0,k.isNotEmpty)(t.textShadowHover)&&o.push({type:"textShadow",id:"textShadowHover",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(e,":hover h1, .").concat(e,":hover h2, .").concat(e,":hover h3, .").concat(e,":hover h4, .").concat(e,":hover h5, .").concat(e,":hover h6, .").concat(e,":hover span, .").concat(e,":hover a")}),(0,k.isNotEmpty)(t.size)&&t.authorAvatar&&o.push({type:"unitPoint",id:"size",responsive:!0,selector:".".concat(e," img"),properties:[{name:"width",valueType:"direct"}]}),(0,k.isNotEmpty)(t.avatarGap)&&t.authorAvatar&&o.push({type:"plain",id:"avatarGap",responsive:!0,properties:[{name:"margin-right",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}],selector:".".concat(e," img")}),(0,k.isNotEmpty)(t.opacity)&&t.authorAvatar&&o.push({type:"plain",id:"opacity",selector:".".concat(e," img"),responsive:!0,properties:[{name:"opacity",valueType:"pattern",pattern:"calc({value}/100)",patternValues:{value:{type:"direct"}}}]}),(0,k.isNotEmpty)(t.rotate)&&t.authorAvatar&&o.push({type:"plain",id:"rotate",selector:".".concat(e," img"),responsive:!0,properties:[{name:"transform",valueType:"pattern",pattern:"rotate({value}deg)",patternValues:{value:{type:"direct"}}}]}),(0,k.isNotEmpty)(t.authorBorder)&&t.authorAvatar&&o.push({type:"border",id:"authorBorder",selector:".".concat(e," img")}),(0,k.isNotEmpty)(t.authorBorderResponsive)&&t.authorAvatar&&o.push({type:"borderResponsive",id:"authorBorderResponsive",selector:".".concat(e," img")}),(0,k.isNotEmpty)(t.authorBoxShadow)&&t.authorAvatar&&o.push({type:"boxShadow",id:"authorBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e," img")}),(0,k.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,k.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,k.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,k.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,k.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,k.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,k.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,k.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,k.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,k.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,k.isNotEmpty)(t.animation)&&(0,k.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,k.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,k.isNotEmpty)(t.positioningType)&&(0,k.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,k.isNotEmpty)(t.positioningWidth)&&(0,k.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,k.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,k.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,k.isNotEmpty)(t.positioningLeft)&&(0,k.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,k.isNotEmpty)(t.positioningRight)&&(0,k.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,k.isNotEmpty)(t.positioningTop)&&(0,k.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,k.isNotEmpty)(t.positioningBottom)&&(0,k.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),[].concat((0,C.A)(o),(0,C.A)((0,P.applyFilters)("gutenverse.post-author.blockStyle",[],{elementId:e,attributes:t})))};function E(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function D(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?E(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):E(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const B=(0,i.compose)(j.withPartialRender)((function(e){var t=e.attributes,o=e.clientId,n=e.context,i=n.postId,u=n.postType,d=t.elementId,g=t.authorType,m=t.htmlTag,v=t.authorAvatar,h=t.authorLink,b=t.authorLinkTarget,j=t.authorLinkRel,C=(0,T.useAnimationEditor)(t),k=(0,T.useDisplayEditor)(t),P=(0,a.useRef)(),E=b?"_blank":"_self",B=(0,a.useState)("Post Author"),A=(0,r.A)(B,2),H=A[0],R=A[1],I=(0,S.useSelect)((function(e){var t=e(x.store),o=t.getEditedEntityRecord,n=t.getUser,r=t.getCurrentUser;if("post"===(0,e(w.store).getCurrentPostType)()){var a,s=null===(a=o("postType",u,i))||void 0===a?void 0:a.author;return s?n(s):null}return r()}),[u,i]);(0,a.useEffect)((function(){if(!(0,_.isEmpty)(I))switch(g){case"first_name":R(I.first_name);break;case"last_name":R(I.last_name);break;case"first_last":R("".concat(I.first_name," ").concat(I.last_name));break;case"last_first":R("".concat(I.last_name," ").concat(I.first_name));break;case"nick_name":R(I.nickname);break;case"display_name":R(I.name);break;case"user_name":R(I.username);break;case"none":R("")}}),[g,I]);var M=(0,s.useBlockProps)({className:(0,l.classnames)("guten-element","guten-post-author","no-margin",d,C,k),ref:P});return(0,O.useGenerateElementId)(o,d,P),(0,O.useDynamicStyle)(d,D(D({},t),{},{inBlock:!1}),N,P),(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(l.CopyElementToolbar,D({},e)),(0,y.jsx)(s.InspectorControls,{children:(0,y.jsx)(c.PanelTutorial,{title:(0,p.__)("How Post Author works?","gutenverse"),list:[{title:(0,p.__)("Inside Page Editor, Query Loop Block, and on Frontend","gutenverse"),description:(0,p.__)("Author data will be fetched automatically based on the current post/loop.","gutenverse")},{title:(0,p.__)("Inside Site Editor","gutenverse"),description:(0,p.__)("It will load placeholder data.","gutenverse")}]})}),(0,y.jsx)(c.BlockPanelController,{panelList:f,props:e,elementRef:P}),(0,y.jsxs)("div",D(D({},M),{},{children:[!(0,_.isEmpty)(I)&&v&&(0,y.jsx)("img",{className:"avatar photo",width:"48",src:I.avatar_urls[48],alt:I.name}),(0,y.jsx)(m,{children:!(0,_.isEmpty)(I)&&h?(0,y.jsx)("a",{href:I.link,target:E,rel:j,onClick:function(e){return e.preventDefault()},children:H}):H})]}))]})}));function A(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}const H=JSON.parse('{"apiVersion":2,"name":"gutenverse/post-author","class_callback":"\\\\Gutenverse\\\\Block\\\\Post_Author","title":"Post Author","description":"Show post author name.","category":"gutenverse-post","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"postId":{"type":"string","default":0},"backendPostId":{"type":"string"},"noContentText":{"type":"string","default":"No Content"},"authorType":{"type":"string","default":"display_name"},"htmlTag":{"type":"string","default":"span"},"authorAvatar":{"type":"boolean"},"authorLink":{"type":"boolean"},"authorLinkTarget":{"type":"boolean"},"authorLinkRel":{"type":"string"},"linkTo":{"type":"string","default":"none"},"customURL":{"type":"string"},"alignment":{"type":"object","copyStyle":true},"typography":{"type":"object","copyStyle":true},"color":{"type":"object","copyStyle":true},"textShadow":{"type":"object","default":{},"copyStyle":true},"colorHover":{"type":"object","copyStyle":true},"textShadowHover":{"type":"object","default":{},"copyStyle":true},"size":{"type":"object","copyStyle":true},"avatarGap":{"type":"object","copyStyle":true},"opacity":{"type":"object","copyStyle":true},"rotate":{"type":"object","copyStyle":true},"authorBorder":{"type":"object","copyStyle":true},"authorBorderResponsive":{"type":"object","migrate":{"attr":"authorBorder","type":"border"},"copyStyle":true},"authorBoxShadow":{"type":"object","copyStyle":true},"background":{"type":"object","copyStyle":true},"backgroundHover":{"type":"object","copyStyle":true},"backgroundTransition":{"type":"object","copyStyle":true,"default":{}},"border":{"type":"object","copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"borderHover":{"type":"object","copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadowHover":{"type":"object","copyStyle":true},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"animation":{"type":"object","copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"positioningType":{"type":"object","copyStyle":true},"positioningWidth":{"type":"object","copyStyle":true},"positioningAlign":{"type":"object","copyStyle":true},"positioningLocation":{"type":"string","copyStyle":true},"positioningLeft":{"type":"object","copyStyle":true},"positioningRight":{"type":"object","copyStyle":true},"positioningTop":{"type":"object","copyStyle":true},"positioningBottom":{"type":"object","copyStyle":true},"transform":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"condition":{"type":"object","default":{}}},"usesContext":["postId","postType","queryId"],"supports":{"className":false},"keywords":["post","author"]}');var R=o(4889),I=H.name,M={icon:(0,y.jsx)(R.BO,{}),edit:B,save:function(e){var t=e.attributes,o=t.elementId,r=(0,T.useAnimationFrontend)(t),i=(0,T.useDisplayFrontend)(t),a=(0,l.classnames)("guten-element","guten-post-author",o,r,i);return(0,y.jsx)("div",function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?A(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):A(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},s.useBlockProps.save({className:a})))}}},5255:e=>{"use strict";e.exports=gutenverseCore.editorHelper},5263:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>k,name:()=>E,settings:()=>A});var n=o(6065),r=o(7723),i=o(5032),a=o(6087),s=o(596);function l(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function c(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?l(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):l(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}o(5255);var p=function(e){var t=e.elementId,o=e.switcher,n=e.setSwitcher;return[{id:"__accordionItemBodyColor",component:s.SwitchControl,options:[{value:"open",label:"Open"},{value:"closed",label:"Closed"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__accordionItemBodyColor;return n(c(c({},o),{},{accordionItemBodyColor:t}))}},{id:"contentTextColor",label:(0,r.__)("Text Color","gutenverse"),component:s.ColorControl,show:!o.accordionItemBodyColor||"open"===o.accordionItemBodyColor,liveStyle:[{id:"contentTextColor",type:"color",selector:".".concat(t," .accordion-item .accordion-content"),properties:[{name:"color",valueType:"direct"}]}]},{id:"contentBackgroundColor",label:(0,r.__)("Background Color","gutenverse"),component:s.ColorControl,show:!o.accordionItemBodyColor||"open"===o.accordionItemBodyColor,liveStyle:[{type:"color",selector:".".concat(t," .accordion-item .accordion-content"),properties:[{name:"background-color",valueType:"direct"}]}]},{id:"contentBackgroundGradient",show:!o.accordionItemBodyColor||"open"===o.accordionItemBodyColor,type:(0,r.__)("Background Gradient","--gctd--"),component:s.BackgroundControl,allowDeviceControl:!1,options:["gradient"]},{id:"contentTextColorClosed",label:(0,r.__)("Text Color","gutenverse"),component:s.ColorControl,show:"closed"===o.accordionItemBodyColor},{id:"contentBackgroundColorClosed",label:(0,r.__)("Background Color","gutenverse"),component:s.ColorControl,show:"closed"===o.accordionItemBodyColor},{id:"contentTextColorHover",label:(0,r.__)("Text Color","gutenverse"),component:s.ColorControl,show:"hover"===o.accordionItemBodyColor},{id:"contentBackgroundColorHover",label:(0,r.__)("Background Color","gutenverse"),component:s.ColorControl,show:"hover"===o.accordionItemBodyColor},{id:"contentBackgroundGradientClosed",show:"closed"===o.accordionItemBodyColor,type:(0,r.__)("Background Gradient","--gctd--"),component:s.BackgroundControl,allowDeviceControl:!1,options:["gradient"]},{id:"contentBackgroundGradientHover",show:"hover"===o.accordionItemBodyColor,type:(0,r.__)("Background Gradient","--gctd--"),component:s.BackgroundControl,allowDeviceControl:!1,options:["gradient"]}]};function u(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function d(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?u(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):u(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var y=function(){return[{title:(0,r.__)("Dynamic Data","gutenverse"),panelArray:function(e){return(0,s.dynamicContentPanel)(d(d({},e),{},{blockType:"text",arrOfTextChilds:["dynamicDataList"]}))},initialOpen:!1,tabRole:s.TabSetting,pro:!0},{title:(0,r.__)("Body","gutenverse"),panelArray:p,tabRole:s.TabStyle,initialOpen:!0,pro:!1},{title:(0,r.__)("Highlight Style","gutenverse"),panelArray:function(e){return(0,s.childStylePanel)(d(d({},e),{},{arrOfTextChilds:["titleChilds"]}))},tabRole:s.TabStyle,pro:!0}]},g=o(4715),m=o(3482),v=o(6427),h=o(7143),b=o(2774),f=o(4320),x=o(4404),w=o(2619),S=o(1222);const _=function(e,t){var o=[];return(0,S.isNotEmpty)(t.contentBackgroundColor)&&o.push({type:"color",id:"contentBackgroundColor",selector:".guten-accordions .".concat(e,".accordion-item .accordion-content:first-child"),properties:[{name:"background",valueType:"direct"}]}),(0,S.isNotEmpty)(t.contentBackgroundColorClosed)&&o.push({type:"color",id:"contentBackgroundColorClosed",selector:".guten-accordions .".concat(e,".accordion-item .accordion-body.closed .accordion-content:first-child"),properties:[{name:"background",valueType:"direct",important:!0}]}),(0,S.isNotEmpty)(t.contentBackgroundColorHover)&&o.push({type:"color",id:"contentBackgroundColorHover",selector:".guten-accordions .".concat(e,".accordion-item .accordion-body:not(.closed) .accordion-content:first-child:hover"),properties:[{name:"background",valueType:"direct",important:!0}]}),(0,S.isNotEmpty)(t.contentTextColor)&&o.push({type:"color",id:"contentTextColor",selector:".".concat(e,".accordion-item .accordion-content:first-child"),properties:[{name:"color",valueType:"direct",important:!0}]}),(0,S.isNotEmpty)(t.contentTextColorClosed)&&o.push({type:"color",id:"contentTextColorClosed",selector:".".concat(e,".accordion-item .accordion-body.closed .accordion-content:first-child"),properties:[{name:"color",valueType:"direct",important:!0}]}),(0,S.isNotEmpty)(t.contentTextColorHover)&&o.push({type:"color",id:"contentTextColorHover",selector:".".concat(e,".accordion-item .accordion-body:not(.closed) .accordion-content:first-child:hover"),properties:[{name:"color",valueType:"direct",important:!0}]}),(0,S.isNotEmpty)(t.contentBackgroundGradient)&&o.push({type:"background",id:"contentBackgroundGradient",selector:".guten-accordions .".concat(e,".accordion-item .accordion-content:first-child")}),(0,S.isNotEmpty)(t.contentBackgroundGradientClosed)&&o.push({type:"background",id:"contentBackgroundGradientClosed",selector:".guten-accordions .".concat(e,".accordion-item .accordion-body.closed .accordion-content:first-child")}),(0,S.isNotEmpty)(t.contentBackgroundGradientHover)&&o.push({type:"background",id:"contentBackgroundGradientHover",selector:".guten-accordions .".concat(e,".accordion-item .accordion-body:not(.closed) .accordion-content:first-child:hover")}),[].concat(o,(0,x.A)((0,w.applyFilters)("gutenverse.accordion.blockStyle",[],{elementId:e,attributes:t})))};var j=o(790);function T(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function O(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?T(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):T(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var C=function(e){var t=e.iconOpen,o=e.iconClosed;return(0,j.jsxs)("div",{className:"accordion-icon",children:[(0,j.jsx)("span",{className:"accordion-icon-open",children:(0,j.jsx)("i",{className:t})}),(0,j.jsx)("span",{className:"accordion-icon-closed",children:(0,j.jsx)("i",{className:o})})]})};const k=JSON.parse('{"apiVersion":2,"name":"gutenverse/accordion","title":"Accordion Item","description":"Create content inside an accordion element.","category":"gutenverse-element","parent":["gutenverse/accordions"],"attributes":{"elementId":{"type":"string"},"title":{"type":"string","source":"html","selector":".accordion-heading .accordion-text","default":""},"titleChilds":{"type":"array","default":[]},"first":{"type":"boolean","default":false},"iconOpen":{"type":"string","default":"fas fa-minus"},"iconClosed":{"type":"string","default":"fas fa-plus"},"dynamicDataList":{"type":"array","default":[]},"openDynamic":{"type":"string"},"dynamicTextContent":{"type":"array","copyStyle":true},"dynamicUrlContent":{"type":"array","copyStyle":true},"iconPosition":{"type":"string","default":"left"},"titleTag":{"type":"string","default":"span"},"advanceAnimation":{"type":"object","default":{}},"contentBackgroundColor":{"type":"object","copyStyle":true},"contentBackgroundColorClosed":{"type":"object","copyStyle":true},"contentBackgroundColorHover":{"type":"object","copyStyle":true},"contentTextColor":{"type":"object","copyStyle":true},"contentTextColorClosed":{"type":"object","copyStyle":true},"contentTextColorHover":{"type":"object","copyStyle":true},"contentBackgroundGradient":{"type":"object","copyStyle":true},"contentBackgroundGradientClosed":{"type":"object","copyStyle":true},"contentBackgroundGradientHover":{"type":"object","copyStyle":true}},"supports":{"className":false,"html":false,"innerBlocks":true},"keywords":["tabs","accordion","gutenverse"]}');var P=o(4889),N=function(e){var t=e.iconOpen,o=e.iconClosed;return(0,j.jsxs)("div",{className:"accordion-icon",children:[(0,j.jsx)("span",{className:"accordion-icon-open",children:(0,j.jsx)("i",{className:t})}),(0,j.jsx)("span",{className:"accordion-icon-closed",children:(0,j.jsx)("i",{className:o})})]})};var E=k.name,D=k.attributes,B=k.supports,A={icon:(0,j.jsx)(P.Qb,{}),edit:function(e){var t=(0,h.useSelect)((function(e){return e("core/block-editor")}),[]),o=t.getBlocks,n=t.getBlock,l=t.getBlockRootClientId,c=(0,h.dispatch)("core/block-editor").updateBlockAttributes,p=e.attributes,u=e.setAttributes,d=e.clientId,x=p.iconPosition,w=p.iconOpen,T=p.iconClosed,k=p.titleTag,P=p.first,N=p.elementId,E=(0,S.useRichTextParameter)(),D=E.panelState,B=E.setPanelState,A=(0,a.useRef)(null);(0,f.useGenerateElementId)(d,N,A),(0,f.useDynamicStyle)(N,p,_,A);var H=(0,m.classnames)("accordion-content"),R=(0,g.useBlockProps)({className:(0,m.classnames)("accordion-item",N,P&&"active"),ref:A}),I=(0,g.useInnerBlocksProps)({className:H},{template:[["core/paragraph"]]}),M=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=function(){var o=e[n],r=(0,m.u)(o),a=r.find(".accordion-content").size();r.hasClass("active")?(0,i.A)({targets:r.first(),height:a.height,duration:500,easing:"easeOutCubic"}).finished.finally((function(){r.attr("style","")})):(t&&r.addClass("closed"),(0,i.A)({targets:r.first(),height:"0",duration:500,easing:"easeOutCubic"}).finished.finally((function(){t&&r.removeClass("closed"),r.attr("style","")})))},n=0;n<e.length;n++)o()},L=function(){var e=A.current.parentElement,t=e.getElementsByClassName("accordion-heading"),n=e.getElementsByClassName("accordion-body");M(n,!1);for(var r=0;r<t.length;r++)t[r].classList.remove("active"),n[r].classList.remove("active");if(!P){var i=A.current.getElementsByClassName("accordion-heading"),a=A.current.getElementsByClassName("accordion-body");i[0].classList.add("active"),a[0].classList.add("active")}M(n,!0),setTimeout((function(){var e=l(d);o(e).map((function(e){c(e.clientId,{first:!1})})),u({first:!P})}),1)};return(0,a.useEffect)((function(){if(P){var e=A.current.getElementsByClassName("accordion-heading"),t=A.current.getElementsByClassName("accordion-body");e[0].classList.add("active"),t[0].classList.add("active")}}),[]),(0,a.useEffect)((function(){var e=l(d),t=n(e),o=t.attributes,r=o,i=r.iconOpen,a=r.iconClosed,s=r.iconPosition,c=r.titleTag;return u({iconOpen:i,iconClosed:a,iconPosition:s,titleTag:c}),function(){e=null,t=null,o=null,i=null,a=null,s=null,c=null}}),[]),(0,b.FilterDynamic)(e),(0,b.HighLightToolbar)(e),(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(m.CopyElementToolbar,O({},e)),(0,j.jsxs)(g.InspectorControls,{children:[(0,j.jsx)(m.SelectParent,O(O({},e),{},{children:(0,r.__)("Select accordion parent","gutenverse")})),(0,j.jsx)(s.PanelTutorial,{title:(0,r.__)("How to use accordion","gutenverse"),list:[{title:(0,r.__)("Add new accordion child","gutenverse"),description:(0,r.__)("To add new accordion, Click above button (Select accordion parent), and click + button (Add accordion item) on bottom right of your accordion.","gutenverse")},{title:(0,r.__)("Change default active","gutenverse"),description:(0,r.__)("Last Accordin Open will be the active state when first time loaded on frontend.","gutenverse")}]})]}),(0,j.jsx)(g.BlockControls,{children:(0,j.jsx)(v.ToolbarGroup,{children:(0,j.jsx)(v.ToolbarButton,{name:"icon",icon:P?(0,j.jsx)(m.X,{style:{color:"#000",fill:"#fff"}}):(0,j.jsx)(m.Check,{style:{color:"#000",fill:"#fff"}}),title:(0,r.__)("Default Active","gutenverse"),onClick:L})})}),(0,j.jsx)(s.BlockPanelController,{panelList:y,props:e,elementRef:A,panelState:D}),(0,j.jsxs)("div",O(O({},R),{},{children:[(0,j.jsxs)("div",{className:"accordion-heading",onClick:L,children:["left"===x&&(0,j.jsx)(C,{iconClosed:T,iconOpen:w}),(0,j.jsx)(m.RichTextComponent,{classNames:"accordion-text",tagName:k,"aria-label":(0,r.__)("Accordion Title","gutenverse"),placeholder:(0,r.__)("Accordion Title","gutenverse"),onChange:function(e){return u({title:e})},multiline:!1,setAttributes:u,attributes:p,clientId:d,panelDynamic:{panel:"setting",section:0},panelPosition:{panel:"style",section:0},contentAttribute:"title",setPanelState:B,textChilds:"titleChilds",dynamicList:"dynamicDataList",isUseDinamic:!0,isUseHighlight:!0}),"right"===x&&(0,j.jsx)(C,{iconClosed:T,iconOpen:w})]}),(0,j.jsx)("div",{className:"accordion-body",children:(0,j.jsx)("div",O({},I))})]}))]})},save:function(e){var t=e.attributes,o=t.title,n=t.first,r=t.iconPosition,i=t.iconOpen,a=t.iconClosed,s=t.titleTag,l=t.elementId,c=(0,m.classnames)("accordion-item",l,{active:n});return(0,j.jsxs)("div",{className:c,children:[(0,j.jsxs)("div",{className:"accordion-heading",children:["left"===r&&(0,j.jsx)(C,{iconClosed:a,iconOpen:i}),(0,j.jsx)(g.RichText.Content,{className:"accordion-text",value:o,tagName:s}),"right"===r&&(0,j.jsx)(C,{iconClosed:a,iconOpen:i})]}),(0,j.jsx)("div",{className:"accordion-body",children:(0,j.jsx)("div",{className:"accordion-content",children:(0,j.jsx)(g.InnerBlocks.Content,{})})})]})},deprecated:[{attributes:D,supports:B,save:function(e){var t=e.attributes,o=t.title,n=t.first,r=t.iconPosition,i=t.iconOpen,a=t.iconClosed,s=t.titleTag,l=(0,m.classnames)("accordion-item",{active:n});return(0,j.jsxs)("div",{className:l,children:[(0,j.jsxs)("div",{className:"accordion-heading",children:["left"===r&&(0,j.jsx)(N,{iconClosed:a,iconOpen:i}),(0,j.jsx)(g.RichText.Content,{className:"accordion-text",value:o,tagName:s}),"right"===r&&(0,j.jsx)(N,{iconClosed:a,iconOpen:i})]}),(0,j.jsx)("div",{className:"accordion-body",children:(0,j.jsx)("div",{className:"accordion-content",children:(0,j.jsx)(g.InnerBlocks.Content,{})})})]})}}]}},5364:(e,t,o)=>{var n=o(2310)(o(8453),"DataView");e.exports=n},5450:(e,t,o)=>{var n=o(951)(Object.keys,Object);e.exports=n},5593:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>$,name:()=>X,settings:()=>J});var n=o(6065),r=o(6087),i=o(9491),a=o(2188),s=o(7723),l=o(596),c=o(1222),p=function(e){var t=e.iconPosition,o=e.elementId,n=e.iconSpacing;return[{id:"iconPosition",label:(0,s.__)("Icon Position"),component:l.SelectControl,options:[{label:(0,s.__)("Left","gutenverse"),value:"left"},{label:(0,s.__)("Right","gutenverse"),value:"right"}]},{id:"iconSpacing",label:(0,s.__)("Icon Spacing","gutenverse"),component:l.RangeControl,min:1,max:200,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[(0,c.isNotEmpty)(t)&&(0,c.isNotEmpty)(n)&&{type:"plain",id:"iconSpacing",responsive:!0,selector:".".concat(o," .accordion-item .accordion-icon"),properties:[{name:"left"===t?"margin-right":"margin-left",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]}]},u=o(5255),d=o(4633),y=o.n(d),g=o(3482),m=o(790);function v(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function h(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?v(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):v(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var b=function(e){var t=e.elementId,o=e.switcher,n=e.setSwitcher,r=e.setAttributes,i=e.titleBackgroundActiveColor,a=e.titleBackgroundColor,c=e.titleBackground,p=e.titleActiveBackground;!y()(a)&&y()(c)&&r({titleBackground:{color:a,type:"default"}}),!y()(i)&&y()(p)&&r({titleActiveBackground:{color:i,type:"default"}});var d=(0,u.getDeviceType)();return[{id:"titleAlign",label:(0,s.__)("Title Alignment","gutenverse"),component:l.IconRadioControl,allowDeviceControl:!0,options:[{label:(0,s.__)("Align Left","gutenverse"),value:"left",icon:(0,m.jsx)(g.AlignLeft,{})},{label:(0,s.__)("Align Center","gutenverse"),value:"center",icon:(0,m.jsx)(g.AlignCenter,{})},{label:(0,s.__)("Align Right","gutenverse"),value:"right",icon:(0,m.jsx)(g.AlignRight,{})}]},{id:"titleTag",label:(0,s.__)("Title Tag","gutenverse"),component:l.SelectControl,options:[{label:(0,s.__)("H1"),value:"h1"},{label:(0,s.__)("H2"),value:"h2"},{label:(0,s.__)("H3"),value:"h3"},{label:(0,s.__)("H4"),value:"h4"},{label:(0,s.__)("H5"),value:"h5"},{label:(0,s.__)("H6"),value:"h6"},{label:(0,s.__)("SPAN"),value:"span"}]},{id:"titleTypography",label:(0,s.__)("Typography","gutenverse"),component:l.TypographyControl},{id:"titlePadding",label:(0,s.__)("Padding","gutenverse"),component:l.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"__accTitleActive",component:l.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"active",label:"Active"}],onChange:function(e){var t=e.__accTitleActive;return n(h(h({},o),{},{accTitle:t}))}},{id:"titleTextColor",show:!o.accTitle||"normal"===o.accTitle,label:(0,s.__)("Text Color","gutenverse"),component:l.ColorControl,liveStyle:[{id:"titleTextColor",type:"color",selector:".".concat(t," .accordion-item .accordion-text"),properties:[{name:"color",valueType:"direct"}]}]},{id:"titleBackgroundColor",show:!1,label:(0,s.__)("Background Color","gutenverse"),component:l.ColorControl,liveStyle:[{id:"titleBackgroundColor",type:"color",selector:".".concat(t," .accordion-item .accordion-text"),properties:[{name:"background-color",valueType:"direct"}]}]},{id:"titleBackground",show:!o.accTitle||"normal"===o.accTitle,label:(0,s.__)("Background","gutenverse"),component:l.BackgroundControl,options:["default","gradient"],liveStyle:[{type:"background",id:"titleBackground",selector:".".concat(t," .accordion-item .accordion-heading")}]},{id:"titleBorder",show:(!o.accTitle||"normal"===o.accTitle)&&"Desktop"===d,label:(0,s.__)("Border","gutenverse"),component:l.BorderControl,liveStyle:[{id:"titleBorder",type:"border",selector:".".concat(t," .accordion-item .accordion-text")}]},{id:"titleBorderResponsive",show:(!o.accTitle||"normal"===o.accTitle)&&"Desktop"!==d,label:(0,s.__)("Border","gutenverse"),component:l.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{id:"titleBorderResponsive",type:"borderResponsive",responsive:!0,selector:".".concat(t," .accordion-item .accordion-text")}]},{id:"titleActiveColor",show:"active"===o.accTitle,label:(0,s.__)("Text Color","gutenverse"),component:l.ColorControl,liveStyle:[{id:"titleActiveColor",type:"color",selector:".".concat(t," .accordion-item.active .accordion-text"),properties:[{name:"color",valueType:"direct"}]}]},{id:"titleBackgroundActiveColor",show:!1,label:(0,s.__)("Background Color","gutenverse"),component:l.ColorControl,liveStyle:[{id:"titleBackgroundActiveColor",type:"color",selector:".".concat(t," .accordion-item.active .accordion-text"),properties:[{name:"background-color",valueType:"direct"}]}]},{id:"titleActiveBackground",show:"active"===o.accTitle,label:(0,s.__)("Active Background","gutenverse"),component:l.BackgroundControl,options:["default","gradient"],liveStyle:[{type:"background",id:"titleActiveBackground",selector:".".concat(t," .accordion-item.active .accordion-heading")}]},{id:"titleBorderActive",show:"active"===o.accTitle&&"Desktop"===d,label:(0,s.__)("Border","gutenverse"),component:l.BorderControl,liveStyle:[{id:"titleBorderActive",type:"border",selector:".".concat(t," .accordion-item.active .accordion-text")}]},{id:"titleBorderActiveResponsive",show:"active"===o.accTitle&&"Desktop"!==d,label:(0,s.__)("Border","gutenverse"),component:l.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{id:"titleBorderActiveResponsive",type:"borderResponsive",responsive:!0,selector:".".concat(t," .accordion-item.active .accordion-text")}]}]};function f(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function x(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?f(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):f(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var w=function(e){var t=e.switcher,o=e.setSwitcher,n=e.elementId,r=(0,u.getDeviceType)();return[{id:"accordionMargin",label:(0,s.__)("Margin","gutenverse"),component:l.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"__accBorderHover",component:l.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"active",label:"Active"}],onChange:function(e){var n=e.__accBorderHover;return o(x(x({},t),{},{accBorder:n}))}},{id:"accordionBorder",show:(!t.accBorder||"normal"===t.accBorder)&&"Desktop"===r,label:(0,s.__)("Border Type","gutenverse"),component:l.BorderControl,liveStyle:[{id:"accordionBorder",type:"border",selector:".".concat(n," .accordion-item")}]},{id:"accordionBorderResponsive",show:(!t.accBorder||"normal"===t.accBorder)&&"Desktop"!==r,label:(0,s.__)("Border Type","gutenverse"),component:l.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{id:"accordionBorderResponsive",type:"borderResponsive",responsive:!0,selector:".".concat(n," .accordion-item")}]},{id:"accordionBorderActive",show:"active"===t.accBorder&&"Desktop"===r,label:(0,s.__)("Border Type","gutenverse"),component:l.BorderControl,liveStyle:[{id:"accordionBorderActive",type:"border",selector:".".concat(n," .accordion-item.active")}]},{id:"accordionBorderActiveResponsive",show:"active"===t.accBorder&&"Desktop"!==r,label:(0,s.__)("Border Type","gutenverse"),component:l.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{id:"accordionBorderActiveResponsive",type:"borderResponsive",responsive:!0,selector:".".concat(n," .accordion-item.active")}]},{id:"accordionBoxShadow",show:!t.accBorder||"normal"===t.accBorder,label:(0,s.__)("Box Shadow","gutenverse"),component:l.BoxShadowControl,liveStyle:[{id:"accordionBoxShadow",type:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(n," .accordion-item")}]},{id:"accordionBoxShadowActive",show:"active"===t.accBorder,label:(0,s.__)("Box Shadow","gutenverse"),component:l.BoxShadowControl,liveStyle:[{id:"accordionBoxShadow",type:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(n," .accordion-item.active")}]}]};function S(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function _(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?S(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):S(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var j=function(e){var t=e.elementId,o=e.switcher,n=e.setSwitcher,r=(0,u.getDeviceType)();return[{id:"contentTypography",label:(0,s.__)("Typography","gutenverse"),component:l.TypographyControl},{id:"contentPadding",label:(0,s.__)("Padding","gutenverse"),component:l.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"contentBorder",show:"Desktop"===r,label:(0,s.__)("Border","gutenverse"),component:l.BorderControl,liveStyle:[{type:"border",selector:".".concat(t," .accordion-item .accordion-content")}]},{id:"contentBorderResponsive",show:"Desktop"!==r,label:(0,s.__)("Border","gutenverse"),component:l.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",responsive:!0,selector:".".concat(t," .accordion-item .accordion-content")}]},{id:"__accordionBodyColor",component:l.SwitchControl,options:[{value:"open",label:"Open"},{value:"closed",label:"Closed"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__accordionBodyColor;return n(_(_({},o),{},{accordionBodyColor:t}))}},{id:"contentTextColor",label:(0,s.__)("Text Color","gutenverse"),component:l.ColorControl,show:!o.accordionBodyColor||"open"===o.accordionBodyColor,liveStyle:[{id:"contentTextColor",type:"color",selector:".".concat(t," .accordion-item .accordion-content"),properties:[{name:"color",valueType:"direct"}]}]},{id:"contentBackgroundColor",label:(0,s.__)("Background Color","gutenverse"),component:l.ColorControl,show:!o.accordionBodyColor||"open"===o.accordionBodyColor,liveStyle:[{type:"color",selector:".".concat(t," .accordion-item .accordion-content"),properties:[{name:"background-color",valueType:"direct"}]}]},{id:"contentBackgroundGradient",show:!o.accordionBodyColor||"open"===o.accordionBodyColor,type:(0,s.__)("Background Gradient","--gctd--"),component:l.BackgroundControl,allowDeviceControl:!1,options:["gradient"],liveStyle:[{type:"background",selector:".".concat(t," .accordion-item .accordion-content"),responsive:!0}]},{id:"contentTextColorClosed",label:(0,s.__)("Text Color","gutenverse"),component:l.ColorControl,show:"closed"===o.accordionBodyColor},{id:"contentBackgroundColorClosed",label:(0,s.__)("Background Color","gutenverse"),component:l.ColorControl,show:"closed"===o.accordionBodyColor},{id:"contentTextColorHover",label:(0,s.__)("Text Color","gutenverse"),component:l.ColorControl,show:"hover"===o.accordionBodyColor},{id:"contentBackgroundColorHover",label:(0,s.__)("Background Color","gutenverse"),component:l.ColorControl,show:"hover"===o.accordionBodyColor},{id:"contentBackgroundGradientClosed",show:"closed"===o.accordionBodyColor,type:(0,s.__)("Background Gradient","--gctd--"),component:l.BackgroundControl,allowDeviceControl:!1,options:["gradient"]},{id:"contentBackgroundGradientHover",show:"hover"===o.accordionBodyColor,type:(0,s.__)("Background Gradient","--gctd--"),component:l.BackgroundControl,allowDeviceControl:!1,options:["gradient"]}]};function T(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function O(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?T(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):T(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var C=function(e){var t=e.elementId,o=e.switcher,n=e.setSwitcher,r=(0,u.getDeviceType)();return[{id:"iconMargin",label:(0,s.__)("Margin","gutenverse"),component:l.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"iconPadding",label:(0,s.__)("Padding","gutenverse"),component:l.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"__accIconActive",component:l.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"active",label:"Active"}],onChange:function(e){var t=e.__accIconActive;return n(O(O({},o),{},{accIcon:t}))}},{id:"iconSize",label:(0,s.__)("Icon Size","gutenverse"),component:l.RangeControl,show:!o.accIcon||"normal"===o.accIcon,unit:"px",min:1,max:200,step:1,allowDeviceControl:!0,liveStyle:[{type:"plain",id:"iconSize",responsive:!0,selector:".".concat(t," .accordion-item .accordion-icon"),properties:[{name:"font-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"iconClosed",show:!o.accIcon||"normal"===o.accIcon,label:(0,s.__)("Normal Icon","gutenverse"),component:l.IconControl},{id:"iconColor",show:!o.accIcon||"normal"===o.accIcon,label:(0,s.__)("Normal Icon Color","gutenverse"),component:l.ColorControl,liveStyle:[{type:"color",id:"iconColor",selector:".".concat(t," .accordion-item .accordion-icon i"),properties:[{name:"color",valueType:"direct"}]}]},{id:"iconBackground",show:!o.accIcon||"normal"===o.accIcon,label:(0,s.__)("Background","gutenverse"),component:l.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",selector:".".concat(t," .accordion-item .accordion-icon"),responsive:!0}]},{id:"iconBorder",show:(!o.accIcon||"normal"===o.accIcon)&&"Desktop"===r,label:(0,s.__)("Border","gutenverse"),component:l.BorderControl,liveStyle:[{type:"border",selector:".".concat(t," .accordion-item .accordion-icon")}]},{id:"iconBorderResponsive",show:(!o.accIcon||"normal"===o.accIcon)&&"Desktop"!==r,label:(0,s.__)("Border","gutenverse"),component:l.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",responsive:!0,selector:".".concat(t," .accordion-item .accordion-icon")}]},{id:"iconBoxShadow",show:!o.accIcon||"normal"===o.accIcon,label:(0,s.__)("Box Shadow","gutenverse"),component:l.BoxShadowControl,liveStyle:[{type:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t," .accordion-item .accordion-icon")}]},{id:"iconActiveSize",label:(0,s.__)("Icon Active Size","gutenverse"),component:l.RangeControl,min:1,max:200,step:1,allowDeviceControl:!0,unit:"px",show:"active"===o.accIcon,liveStyle:[{type:"plain",responsive:!0,selector:".".concat(t," .accordion-item.active .accordion-icon"),properties:[{name:"font-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"iconOpen",show:"active"===o.accIcon,label:(0,s.__)("Active Icon","gutenverse"),component:l.IconControl},{id:"iconActiveColor",show:"active"===o.accIcon,label:(0,s.__)("Active Icon Color","gutenverse"),component:l.ColorControl,liveStyle:[{type:"color",selector:".".concat(t," .accordion-item.active .accordion-icon i"),properties:[{name:"color",valueType:"direct"}]}]},{id:"iconActiveBackground",show:"active"===o.accIcon,label:(0,s.__)("Active Background","gutenverse"),component:l.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",selector:".".concat(t," .accordion-item.active .accordion-icon"),responsive:!0}]},{id:"iconActiveBorder",show:"active"===o.accIcon&&"Desktop"===r,label:(0,s.__)("Border","gutenverse"),component:l.BorderControl,liveStyle:[{type:"border",selector:".".concat(t," .accordion-item.active .accordion-icon")}]},{id:"iconActiveBorderResponsive",show:"active"===o.accIcon&&"Desktop"!==r,label:(0,s.__)("Border","gutenverse"),component:l.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",responsive:!0,selector:".".concat(t," .accordion-item.active .accordion-icon")}]},{id:"iconActiveBoxShadow",show:"active"===o.accIcon,label:(0,s.__)("Box Shadow","gutenverse"),component:l.BoxShadowControl,liveStyle:[{type:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t," .accordion-item.active .accordion-icon")}]}]};function k(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function P(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?k(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):k(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var N=function(){return[{title:(0,s.__)("Icon Style","gutenverse"),panelArray:C,initialOpen:!1,tabRole:l.TabStyle},{title:(0,s.__)("Accordion Item","gutenverse"),panelArray:w,initialOpen:!1,tabRole:l.TabStyle},{title:(0,s.__)("Icon","gutenverse"),panelArray:p,initialOpen:!1},{title:(0,s.__)("Title","gutenverse"),panelArray:b,initialOpen:!1,tabRole:l.TabStyle},{title:(0,s.__)("Body","gutenverse"),panelArray:j,initialOpen:!1,tabRole:l.TabStyle},{title:(0,s.__)("Background","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.backgroundPanel)(P(P({},e),{},{styleId:"accordions-background",normalOptions:["default","gradient"],hoverOptions:["default","gradient"]}))},tabRole:l.TabStyle},{title:(0,s.__)("Border","gutenverse"),initialOpen:!1,panelArray:l.borderPanel,tabRole:l.TabStyle},{title:(0,s.__)("Masking","gutenverse"),initialOpen:!1,panelArray:l.maskPanel,tabRole:l.TabStyle},{title:(0,s.__)("Display","gutenverse"),initialOpen:!1,panelArray:l.responsivePanel,tabRole:l.TabSetting},{title:(0,s.__)("Positioning","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.positioningPanel)(P(P({},e),{},{selector:".guten-accordions.".concat(e.elementId)}))},tabRole:l.TabSetting},{title:(0,s.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:l.animationPanel,tabRole:l.TabSetting},{title:(0,s.__)("Transform","gutenverse"),initialOpen:!1,panelArray:l.transformPanel,pro:!0},{title:(0,s.__)("Mouse Move Effect","gutenverse"),initialOpen:!1,panelArray:l.mouseMoveEffectPanel,tabRole:l.TabSetting,pro:!0},{title:(0,s.__)("Advanced Animation","gutenverse"),initialOpen:!1,panelAdvance:!0,panelArray:function(e){return(0,l.advanceAnimationPanel)(P(P({},e),{},{blockType:"column"}))},pro:!0},{title:(0,s.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.advancePanel)(P(P({},e),{},{styleId:"accordion-advance"}))},tabRole:l.TabSetting},{title:(0,s.__)("Condition","gutenverse"),panelArray:l.conditionPanel,initialOpen:!1,pro:!0}]},E=o(4715),D=o(6826),B=o(7143),A=o(6427),H=o(4997),R=o(8558),I=o(4320),M=o(4404),L=o(2619);const z=function(e,t){var o=[];return o=(0,l.backgroundStyle)({attributes:t,data:o,elementId:e,backgroundSelector:".editor-styles-wrapper .is-root-container .".concat(e),backgroundHoverSelector:".editor-styles-wrapper .is-root-container .".concat(e,":hover")}),(0,c.isNotEmpty)(t.accordionMargin)&&o.push({type:"dimension",id:"accordionMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e," .accordion-item, .guten-column .wp-block .").concat(e," .accordion-item")}),(0,c.isNotEmpty)(t.accordionBorder)&&o.push({type:"border",id:"accordionBorder",selector:".".concat(e," .accordion-item")}),(0,c.isNotEmpty)(t.accordionBorderResponsive)&&o.push({type:"borderResponsive",responsive:!0,id:"accordionBorderResponsive",selector:".".concat(e," .accordion-item")}),(0,c.isNotEmpty)(t.accordionBorderActive)&&o.push({type:"border",id:"accordionBorderActive",selector:".".concat(e," .accordion-item.active")}),(0,c.isNotEmpty)(t.accordionBorderActiveResponsive)&&o.push({type:"borderResponsive",responsive:!0,id:"accordionBorderActiveResponsive",selector:".".concat(e," .accordion-item.active")}),(0,c.isNotEmpty)(t.accordionBoxShadow)&&o.push({type:"boxShadow",id:"accordionBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e," .accordion-item")}),(0,c.isNotEmpty)(t.accordionBoxShadowActive)&&o.push({type:"boxShadow",id:"accordionBoxShadowActive",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e," .accordion-item.active")}),(0,c.isNotEmpty)(t.contentTypography)&&o.push({type:"typography",id:"contentTypography",selector:".".concat(e," .accordion-item .accordion-content")}),(0,c.isNotEmpty)(t.contentPadding)&&o.push({type:"dimension",id:"contentPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e," .accordion-item .accordion-content")}),(0,c.isNotEmpty)(t.contentTextColor)&&o.push({type:"color",id:"contentTextColor",selector:".".concat(e," .accordion-item .accordion-content"),properties:[{name:"color",valueType:"direct"}]}),(0,c.isNotEmpty)(t.contentTextColorClosed)&&o.push({type:"color",id:"contentTextColorClosed",selector:".".concat(e," .accordion-item .accordion-body.closed .accordion-content"),properties:[{name:"color",valueType:"direct"}]}),(0,c.isNotEmpty)(t.contentTextColorHover)&&o.push({type:"color",id:"contentTextColorHover",selector:".".concat(e," .accordion-item .accordion-body:not(.closed) .accordion-content:hover"),properties:[{name:"color",valueType:"direct"}]}),(0,c.isNotEmpty)(t.contentBackgroundColor)&&o.push({type:"color",id:"contentBackgroundColor",selector:".".concat(e," .accordion-item .accordion-content"),properties:[{name:"background-color",valueType:"direct"}]}),(0,c.isNotEmpty)(t.contentBackgroundColorClosed)&&o.push({type:"color",id:"contentBackgroundColorClosed",selector:".".concat(e," .accordion-item .accordion-body.closed .accordion-content"),properties:[{name:"background-color",valueType:"direct"}]}),(0,c.isNotEmpty)(t.contentBackgroundColorHover)&&o.push({type:"color",id:"contentBackgroundColorHover",selector:".".concat(e," .accordion-item .accordion-body:not(.closed) .accordion-content:hover"),properties:[{name:"background-color",valueType:"direct"}]}),(0,c.isNotEmpty)(t.contentBackgroundGradient)&&o.push({type:"background",id:"contentBackgroundGradient",selector:".".concat(e,".guten-accordions .accordion-item .accordion-content")}),(0,c.isNotEmpty)(t.contentBackgroundGradientClosed)&&o.push({type:"background",id:"contentBackgroundGradientClosed",selector:".".concat(e,".guten-accordions .accordion-item .accordion-body.closed .accordion-content")}),(0,c.isNotEmpty)(t.contentBackgroundGradientHover)&&o.push({type:"background",id:"contentBackgroundGradientHover",selector:".".concat(e,".guten-accordions .accordion-item .accordion-body:not(.closed) .accordion-content:hover")}),(0,c.isNotEmpty)(t.contentBorder)&&o.push({type:"border",id:"contentBorder",selector:".".concat(e," .accordion-item .accordion-content")}),(0,c.isNotEmpty)(t.contentBorderResponsive)&&o.push({type:"borderResponsive",responsive:!0,id:"contentBorderResponsive",selector:".".concat(e," .accordion-item .accordion-content")}),(0,c.isNotEmpty)(t.iconMargin)&&o.push({type:"dimension",id:"iconMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e," .accordion-item .accordion-icon")}),(0,c.isNotEmpty)(t.iconPadding)&&o.push({type:"dimension",id:"iconPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e," .accordion-item .accordion-icon")}),(0,c.isNotEmpty)(t.iconSize)&&o.push({type:"plain",id:"iconSize",responsive:!0,selector:".".concat(e," .accordion-item .accordion-icon"),properties:[{name:"font-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,c.isNotEmpty)(t.iconColor)&&o.push({type:"color",id:"iconColor",selector:".".concat(e," .accordion-item .accordion-icon i"),properties:[{name:"color",valueType:"direct"}]}),(0,c.isNotEmpty)(t.iconBackground)&&o.push({type:"background",id:"iconBackground",selector:".".concat(e," .accordion-item .accordion-icon"),responsive:!0}),(0,c.isNotEmpty)(t.iconBorder)&&o.push({type:"border",id:"iconBorder",selector:".".concat(e," .accordion-item .accordion-icon")}),(0,c.isNotEmpty)(t.iconBorderResponsive)&&o.push({type:"borderResponsive",responsive:!0,id:"iconBorderResponsive",selector:".".concat(e," .accordion-item .accordion-icon")}),(0,c.isNotEmpty)(t.iconBoxShadow)&&o.push({type:"boxShadow",id:"iconBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e," .accordion-item .accordion-icon")}),(0,c.isNotEmpty)(t.iconActiveSize)&&o.push({type:"plain",id:"iconActiveSize",responsive:!0,selector:".".concat(e," .accordion-item.active .accordion-icon"),properties:[{name:"font-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,c.isNotEmpty)(t.iconActiveColor)&&o.push({type:"color",id:"iconActiveColor",selector:".".concat(e," .accordion-item.active .accordion-icon i"),properties:[{name:"color",valueType:"direct"}]}),(0,c.isNotEmpty)(t.iconActiveBackground)&&o.push({type:"background",id:"iconActiveBackground",selector:".".concat(e," .accordion-item.active .accordion-icon"),responsive:!0}),(0,c.isNotEmpty)(t.iconActiveBorder)&&o.push({type:"border",id:"iconActiveBorder",selector:".".concat(e," .accordion-item.active .accordion-icon")}),(0,c.isNotEmpty)(t.iconActiveBorderResponsive)&&o.push({type:"borderResponsive",responsive:!0,id:"iconActiveBorderResponsive",selector:".".concat(e," .accordion-item.active .accordion-icon")}),(0,c.isNotEmpty)(t.iconActiveBoxShadow)&&o.push({type:"boxShadow",id:"iconActiveBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e," .accordion-item.active .accordion-icon")}),(0,c.isNotEmpty)(t.iconPosition)&&(0,c.isNotEmpty)(t.iconSpacing)&&"left"===t.iconPosition&&o.push({type:"plain",id:"iconPosition",responsive:!0,selector:".".concat(e," .accordion-item .accordion-icon"),properties:[{name:"margin-right",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}],multiAttr:{iconSpacing:t.iconSpacing}}),(0,c.isNotEmpty)(t.iconPosition)&&(0,c.isNotEmpty)(t.iconSpacing)&&"right"===t.iconPosition&&o.push({type:"plain",id:"iconPosition",responsive:!0,selector:".".concat(e," .accordion-item .accordion-icon"),properties:[{name:"margin-left",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}],multiAttr:{iconSpacing:t.iconSpacing}}),(0,c.isNotEmpty)(t.titleAlign)&&o.push({type:"plain",id:"titleAlign",selector:".".concat(e," .accordion-item .accordion-text"),properties:[{name:"text-align",valueType:"direct"}],responsive:!0}),(0,c.isNotEmpty)(t.titleTypography)&&o.push({type:"typography",id:"titleTypography",selector:".".concat(e," .accordion-item .accordion-text")}),(0,c.isNotEmpty)(t.titlePadding)&&o.push({type:"dimension",id:"titlePadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e," .accordion-item .accordion-heading")}),(0,c.isNotEmpty)(t.titleTextColor)&&o.push({type:"color",id:"titleTextColor",selector:".".concat(e," .accordion-item .accordion-text"),properties:[{name:"color",valueType:"direct"}]}),(0,c.isNotEmpty)(t.titleBackgroundColor)&&o.push({type:"color",id:"titleBackgroundColor",selector:".".concat(e," .accordion-item .accordion-heading"),properties:[{name:"background-color",valueType:"direct"}]}),(0,c.isNotEmpty)(t.titleBackground)&&o.push({type:"background",id:"titleBackground",selector:".".concat(e," .accordion-item .accordion-heading")}),(0,c.isNotEmpty)(t.titleBorder)&&o.push({type:"border",id:"titleBorder",selector:".".concat(e," .accordion-item .accordion-heading")}),(0,c.isNotEmpty)(t.titleBorderResponsive)&&o.push({type:"borderResponsive",responsive:!0,id:"titleBorderResponsive",selector:".".concat(e," .accordion-item .accordion-heading")}),(0,c.isNotEmpty)(t.titleActiveColor)&&o.push({type:"color",id:"titleActiveColor",selector:".".concat(e," .accordion-item.active .accordion-text"),properties:[{name:"color",valueType:"direct"}]}),(0,c.isNotEmpty)(t.titleBackgroundActiveColor)&&o.push({type:"color",id:"titleBackgroundActiveColor",selector:".".concat(e," .accordion-item.active .accordion-heading"),properties:[{name:"background-color",valueType:"direct"}]}),(0,c.isNotEmpty)(t.titleActiveBackground)&&o.push({type:"background",id:"titleActiveBackground",selector:".".concat(e," .accordion-item.active .accordion-heading")}),(0,c.isNotEmpty)(t.titleBorderActive)&&o.push({type:"border",id:"titleBorderActive",selector:".".concat(e," .accordion-item.active .accordion-heading")}),(0,c.isNotEmpty)(t.titleBorderActiveResponsive)&&o.push({type:"borderResponsive",responsive:!0,id:"titleBorderActiveResponsive",selector:".".concat(e," .accordion-item.active .accordion-heading")}),(0,c.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e)}),(0,c.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,":hover")}),(0,c.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e)}),(0,c.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,":hover")}),(0,c.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e)}),(0,c.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,":hover")}),(0,c.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e)}),(0,c.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e)}),(0,c.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e)}),(0,c.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e)}),(0,c.isNotEmpty)(t.animation)&&(0,c.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",selector:".editor-styles-wrapper .is-root-container .".concat(e),properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}]}),(0,c.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,c.isNotEmpty)(t.positioningType)&&(0,c.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,c.isNotEmpty)(t.positioningWidth)&&(0,c.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,c.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e)},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e)}),(0,c.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e)}),(0,c.isNotEmpty)(t.positioningLeft)&&(0,c.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e),attributeType:"custom"}),(0,c.isNotEmpty)(t.positioningRight)&&(0,c.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e),attributeType:"custom"}),(0,c.isNotEmpty)(t.positioningTop)&&(0,c.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e),attributeType:"custom"}),(0,c.isNotEmpty)(t.positioningBottom)&&(0,c.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e),attributeType:"custom"}),[].concat((0,M.A)(o),(0,M.A)((0,L.applyFilters)("gutenverse.accordions.blockStyle",[],{elementId:e,attributes:t})))};function F(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function V(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?F(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):F(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const W=(0,i.compose)(a.withPartialRender,a.withPassRef,(0,a.withAnimationAdvanceV2)("accordions"),a.withMouseMoveEffect)((function(e){var t=(0,B.useSelect)((function(e){return e("core/block-editor")}),[]).getBlocks,o=(0,B.dispatch)("core/block-editor"),n=o.insertBlock,i=o.updateBlockAttributes,a=e.attributes,c=e.clientId,p=e.setBlockRef,u=a.elementId,d=a.iconOpen,y=a.iconClosed,v=a.iconPosition,h=a.titleTag,b=(0,r.useRef)(null);(0,I.useGenerateElementId)(c,u,b),(0,I.useDynamicStyle)(u,a,z,b),(0,I.useDynamicScript)(b);var f=(0,D.useAnimationEditor)(a),x=(0,D.useDisplayEditor)(a);(0,r.useEffect)((function(){t(c).map((function(e){i(e.clientId,{iconOpen:d,iconClosed:y,iconPosition:v,titleTag:h})}))}),[d,y,v,h]),(0,r.useEffect)((function(){b&&p(b)}),[b]);var w=(0,E.useInnerBlocksProps)({className:(0,g.classnames)("guten-accordions",u)},{template:[["gutenverse/accordion"]],allowedBlocks:["gutenverse/accordion"],orientation:"vertical",__experimentalAppenderTagName:"div",ref:b}),S=(0,E.useBlockProps)({className:(0,g.classnames)("guten-element","guten-accordions-wrapper","no-margin",f,x),ref:b}),_=function(){var e=(0,H.createBlock)("gutenverse/accordion",{});n(e,t(c).length+1,c)};return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(g.CopyElementToolbar,V({},e)),(0,m.jsx)(E.InspectorControls,{children:(0,m.jsx)("div",{className:"parent-button",children:(0,m.jsx)(A.Button,{primary:!0,onClick:function(){return _()},children:(0,s.__)("Add Accordion Child","gutenverse")})})}),(0,m.jsx)(E.BlockControls,{children:(0,m.jsx)(A.ToolbarGroup,{children:(0,m.jsx)(A.ToolbarButton,{name:"add",icon:g.plus,title:(0,s.__)("Add Accordion Child","gutenverse"),shortcut:R.displayShortcut.primary("a"),onClick:function(){return _()}})})}),(0,m.jsx)(l.BlockPanelController,{panelList:N,props:e,elementRef:b}),(0,m.jsx)("div",V(V({},S),{},{children:(0,m.jsx)("div",V({},w))}))]})}));function G(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function U(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?G(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):G(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const q=(0,i.compose)((0,a.withAnimationAdvanceScript)("accordions"),a.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,n=(0,D.useAnimationAdvanceData)(t),r=(0,D.useAnimationFrontend)(t),i=(0,D.useDisplayFrontend)(t),a=(0,g.classnames)("guten-element","guten-accordions",o,r,i);return(0,m.jsx)("div",U(U({className:a},n),{},{children:(0,m.jsx)(E.InnerBlocks.Content,{})}))})),$=JSON.parse('{"apiVersion":2,"name":"gutenverse/accordions","title":"Accordions","description":"A vertically stacked list of expandable/collapsable item.","category":"gutenverse-element","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"mouseMoveEffect":{"type":"object","copyStyle":true},"iconOpen":{"type":"string","default":"fas fa-minus","copyStyle":true},"iconClosed":{"type":"string","default":"fas fa-plus","copyStyle":true},"iconPosition":{"type":"string","default":"left","copyStyle":true},"iconColor":{"type":"object","copyStyle":true},"iconActiveColor":{"type":"object","copyStyle":true},"iconSpacing":{"type":"object","copyStyle":true},"iconSize":{"type":"object","copyStyle":true},"titleAlign":{"type":"object","copyStyle":true},"titleTag":{"type":"string","default":"span"},"titleBackgroundColor":{"type":"object","copyStyle":true},"titleBackground":{"type":"object","default":{},"copyStyle":true},"titleTextColor":{"type":"object","copyStyle":true},"titleActiveColor":{"type":"object","copyStyle":true},"titleActiveBackground":{"type":"object","default":{},"copyStyle":true},"titleTypography":{"type":"object","copyStyle":true},"titlePadding":{"type":"object","copyStyle":true},"borderWidth":{"type":"object","copyStyle":true},"borderColor":{"type":"object","copyStyle":true},"contentBackgroundColor":{"type":"object","copyStyle":true},"contentBackgroundColorClosed":{"type":"object","copyStyle":true},"contentBackgroundColorHover":{"type":"object","copyStyle":true},"contentBackgroundGradient":{"type":"object","copyStyle":true},"contentBackgroundGradientClosed":{"type":"object","copyStyle":true},"contentBackgroundGradientHover":{"type":"object","copyStyle":true},"contentTextColor":{"type":"object","copyStyle":true},"contentTextColorClosed":{"type":"object","copyStyle":true},"contentTextColorHover":{"type":"object","copyStyle":true},"contentTypography":{"type":"object","copyStyle":true},"contentPadding":{"type":"object","copyStyle":true},"accordionBorder":{"type":"object","copyStyle":true},"accordionBorderResponsive":{"type":"object","migrate":{"attr":"accordionBorder","type":"border"},"copyStyle":true},"titleBorder":{"type":"object","copyStyle":true},"titleBorderResponsive":{"type":"object","migrate":{"attr":"titleBorder","type":"border"},"copyStyle":true},"contentBorder":{"type":"object","copyStyle":true},"contentBorderResponsive":{"type":"object","migrate":{"attr":"contentBorder","type":"border"},"copyStyle":true},"background":{"type":"object","default":{},"copyStyle":true},"backgroundHover":{"type":"object","default":{},"copyStyle":true},"backgroundTransition":{"type":"object","copyStyle":true,"default":{}},"border":{"type":"object","copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"borderHover":{"type":"object","copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadowHover":{"type":"object","copyStyle":true},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"animation":{"type":"object","default":{},"copyStyle":true},"advanceAnimation":{"type":"object","default":{},"copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"positioningType":{"type":"object","copyStyle":true},"positioningWidth":{"type":"object","copyStyle":true},"positioningAlign":{"type":"object","copyStyle":true},"positioningLocation":{"type":"string","copyStyle":true},"positioningLeft":{"type":"object","copyStyle":true},"positioningRight":{"type":"object","copyStyle":true},"positioningTop":{"type":"object","copyStyle":true},"positioningBottom":{"type":"object","copyStyle":true},"accordionBorderActive":{"type":"object","copyStyle":true},"accordionBorderActiveResponsive":{"type":"object","migrate":{"attr":"accordionBorderActive","type":"border"},"copyStyle":true},"accordionMargin":{"type":"object","copyStyle":true},"titleBackgroundActiveColor":{"type":"object","copyStyle":true},"titleBorderActive":{"type":"object","copyStyle":true},"titleBorderActiveResponsive":{"type":"object","migrate":{"attr":"titleBorderActive","type":"border"},"copyStyle":true},"accordionBoxShadow":{"type":"object","copyStyle":true},"accordionBoxShadowActive":{"type":"object","copyStyle":true},"transform":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"iconMargin":{"type":"object","copyStyle":true},"iconPadding":{"type":"object","copyStyle":true},"iconActiveSize":{"type":"object","copyStyle":true},"iconBackground":{"type":"object","default":{},"copyStyle":true},"iconBorder":{"type":"object","copyStyle":true},"iconBorderResponsive":{"type":"object","migrate":{"attr":"iconBorder","type":"border"},"copyStyle":true},"iconBoxShadow":{"type":"object","copyStyle":true},"iconActiveBackground":{"type":"object","default":{},"copyStyle":true},"iconActiveBorder":{"type":"object","copyStyle":true},"iconActiveBorderResponsive":{"type":"object","migrate":{"attr":"iconActiveBorder","type":"border"},"copyStyle":true},"iconActiveBoxShadow":{"type":"object","copyStyle":true},"condition":{"type":"object","default":{}}},"supports":{"className":false,"html":false},"keywords":["tabs","accordion"]}');var Y=o(4889);var X=$.name,J={icon:(0,m.jsx)(Y.Qb,{}),example:{attributes:{iconColor:{r:255,g:255,b:255,a:1},iconActiveColor:{r:255,g:255,b:255,a:1},titleTextColor:{r:255,g:255,b:255,a:1},titleTypography:{font:{label:"Roboto",value:"Roboto",type:"google"},weight:"600",size:{Desktop:{point:"16",unit:"px"}}},titlePadding:{Desktop:{}},contentBackgroundColor:{r:255,g:255,b:255,a:1},contentTextColor:{r:129,g:129,b:165,a:1},contentPadding:{Desktop:{}},accordionBorder:{radius:{Desktop:{}}},titleBorder:{radius:{Desktop:{}}},contentBorder:{radius:{Desktop:{}}},background:{type:"default",color:{r:94,g:129,b:244,a:1}},border:{radius:{Desktop:{}}},margin:{Desktop:{}},padding:{Desktop:{}}},innerBlocks:[{name:"gutenverse/accordion",attributes:{active:!0,first:!0,title:"Gutenverse Accordion"},innerBlocks:[{name:"core/paragraph",attributes:{content:"Maecenas nec convallis urna, non fermentum lectus. Integer fringilla felis nisl, id sollicitudin mauris consectetur vel. Cras et convallis enim. Nulla tempus tincidunt imperdiet. Donec luctus auctor urna ullamcorper ornare. Mauris vestibulum a odio sit amet dapibus."}},{name:"core/paragraph",attributes:{content:"In blandit risus accumsan, vulputate nunc sit amet, dignissim dolor. Nullam vehicula molestie fermentum. Etiam arcu urna, pulvinar ut ante a, pellentesque suscipit nulla. Donec vitae accumsan eros."}}]},{name:"gutenverse/accordion",attributes:{title:"Accordion 2"},innerBlocks:[{name:"core/paragraph",attributes:{content:"Maecenas nec convallis urna, non fermentum lectus. Integer fringilla felis nisl, id sollicitudin mauris consectetur vel. Cras et convallis enim. Nulla tempus tincidunt imperdiet. Donec luctus auctor urna ullamcorper ornare. Mauris vestibulum a odio sit amet dapibus."}},{name:"core/paragraph",attributes:{content:"In blandit risus accumsan, vulputate nunc sit amet, dignissim dolor. Nullam vehicula molestie fermentum. Etiam arcu urna, pulvinar ut ante a, pellentesque suscipit nulla. Donec vitae accumsan eros."}}]},{name:"gutenverse/accordion",attributes:{title:"Accordion 3"},innerBlocks:[{name:"core/paragraph",attributes:{content:"Maecenas nec convallis urna, non fermentum lectus. Integer fringilla felis nisl, id sollicitudin mauris consectetur vel. Cras et convallis enim. Nulla tempus tincidunt imperdiet. Donec luctus auctor urna ullamcorper ornare. Mauris vestibulum a odio sit amet dapibus."}},{name:"core/paragraph",attributes:{content:"In blandit risus accumsan, vulputate nunc sit amet, dignissim dolor. Nullam vehicula molestie fermentum. Etiam arcu urna, pulvinar ut ante a, pellentesque suscipit nulla. Donec vitae accumsan eros."}}]}]},edit:W,save:q}},5795:e=>{"use strict";e.exports=window.ReactDOM},5882:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(3438);function r(e){var t=function(e){if("object"!=(0,n.A)(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var o=t.call(e,"string");if("object"!=(0,n.A)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,n.A)(t)?t:t+""}},6065:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(5882);function r(e,t,o){return(t=(0,n.A)(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}},6086:(e,t,o)=>{var n=o(3480),r=o(7717),i=o(6770),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=n(e);var o=s.test(e);return o||l.test(e)?c(e.slice(2),o?2:8):a.test(e)?NaN:+e}},6087:e=>{"use strict";e.exports=window.wp.element},6109:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>H,name:()=>F,settings:()=>W});var n=o(6065),r=o(9491),i=o(6087),a=o(2188),s=o(4715),l=o(3482),c=o(596),p=o(7723),u=function(e){var t=e.elementId;return[{id:"focusColor",label:(0,p.__)("Focus Heading Color","gutenverse"),component:c.ColorControl,liveStyle:[{id:"focusColor",type:"color",selector:".editor-styles-wrapper .".concat(t,".guten-advanced-heading .heading-focus"),properties:[{name:"color",valueType:"direct"}]}]},{id:"focusTypography",label:(0,p.__)("Focus Heading Typography","gutenverse"),component:c.TypographyControl},{id:"focusTextStroke",label:(0,p.__)("Focus Text Stroke","gutenverse"),component:c.TextStrokeControl,liveStyle:[{id:"focusTextStroke",type:"textStroke",selector:".editor-styles-wrapper .".concat(t,".guten-advanced-heading .heading-focus")}]},{id:"focusBackground",component:c.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{id:"focusBackground",type:"background",responsive:!0,selector:".editor-styles-wrapper .".concat(t,".guten-advanced-heading .heading-focus")}]},{id:"focusMargin",label:(0,p.__)("Margin","gutenverse"),component:c.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"},rem:{text:"rem",unit:"rem"}}},{id:"focusPadding",label:(0,p.__)("Padding","gutenverse"),component:c.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"},rem:{text:"rem",unit:"rem"}}}]},d=o(1222),y=function(e){var t=e.elementId,o=e.showLine;return[{id:"showLine",label:(0,p.__)("Show Line","gutenverse"),component:c.SelectControl,options:[{label:(0,p.__)("None"),value:"none"},{label:(0,p.__)("Top"),value:"top"},{label:(0,p.__)("Bottom"),value:"bottom"},{label:(0,p.__)("Left of Title"),value:"before"},{label:(0,p.__)("Right of Title"),value:"after"},{label:(0,p.__)("Between Title and Subtitle"),value:"between"}]},{id:"lineColor",label:(0,p.__)("Line Color","gutenverse"),show:o&&"none"!==o,component:c.ColorControl,liveStyle:[{id:"lineColor",type:"color",selector:".editor-styles-wrapper .".concat(t,".guten-advanced-heading .heading-line"),properties:[{name:"border-color",valueType:"direct"}]}]},{id:"lineWidth",label:(0,p.__)("Line Width","gutenverse"),show:o&&"none"!==o,component:c.SizeControl,allowDeviceControl:!0,units:(0,n.A)({px:{text:"px",min:10,max:100,step:1}},"%",{text:"%",min:0,max:100,step:.1}),liveStyle:[(0,d.isNotEmpty)(o)&&"none"!==o&&{id:"lineWidth",type:"unitPoint",responsive:!0,selector:".editor-styles-wrapper .".concat(t,".guten-advanced-heading .heading-line"),properties:[{name:"width",valueType:"direct"}]}]},{id:"lineHeight",label:(0,p.__)("Line Height","gutenverse"),show:o&&"none"!==o,component:c.RangeControl,allowDeviceControl:!0,unit:"px",min:0,max:50,step:1,liveStyle:[(0,d.isNotEmpty)(o)&&"none"!==o&&{id:"lineWidth",type:"plain",properties:[{name:"border-top-width",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}],selector:".editor-styles-wrapper .".concat(t,".guten-advanced-heading .heading-line"),responsive:!0}]},{id:"lineStyle",label:(0,p.__)("Line Style","gutenverse"),show:o&&"none"!==o,component:c.SelectControl,options:[{label:(0,p.__)("Default/Solid"),value:"solid"},{label:(0,p.__)("Dotted"),value:"dotted"},{label:(0,p.__)("Dashed"),value:"dashed"},{label:(0,p.__)("Double"),value:"double"}]},{id:"lineMargin",label:(0,p.__)("Margin","gutenverse"),show:o&&"none"!==o,component:c.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"},rem:{text:"rem",unit:"rem"}}}]},g=function(e){var t=e.elementId;return[{id:"mainColor",label:(0,p.__)("Main Heading Color","gutenverse"),component:c.ColorControl,liveStyle:[{id:"mainColor",type:"color",selector:".editor-styles-wrapper .".concat(t,".guten-advanced-heading .heading-title"),properties:[{name:"color",valueType:"direct"}]}]},{id:"mainTypography",label:(0,p.__)("Main Heading Typography","gutenverse"),component:c.TypographyControl},{id:"mainTextStroke",label:(0,p.__)("Main Text Stroke","gutenverse"),component:c.TextStrokeControl,liveStyle:[{id:"mainTextStroke",type:"textStroke",selector:".editor-styles-wrapper .".concat(t,".guten-advanced-heading .heading-title")}]},{id:"mainBackground",component:c.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{id:"mainBackground",type:"background",responsive:!0,selector:".editor-styles-wrapper .".concat(t,".guten-advanced-heading .heading-title")}]},{id:"mainMargin",label:(0,p.__)("Margin","gutenverse"),component:c.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"},rem:{text:"rem",unit:"rem"}}},{id:"mainPadding",label:(0,p.__)("Padding","gutenverse"),component:c.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"},rem:{text:"rem",unit:"rem"}}}]},m=o(790),v=function(e){var t=e.showSub;return[{id:"alignText",label:(0,p.__)("Alignment","gutenverse"),component:c.IconRadioControl,allowDeviceControl:!0,options:[{label:(0,p.__)("Align Left","gutenverse"),value:"flex-start",icon:(0,m.jsx)(l.AlignLeft,{})},{label:(0,p.__)("Align Center","gutenverse"),value:"center",icon:(0,m.jsx)(l.AlignCenter,{})},{label:(0,p.__)("Align Right","gutenverse"),value:"flex-end",icon:(0,m.jsx)(l.AlignRight,{})}]},{id:"titleTag",label:(0,p.__)("Main Text Tag","gutenverse"),component:c.SelectControl,options:[{label:(0,p.__)("H1"),value:"h1"},{label:(0,p.__)("H2"),value:"h2"},{label:(0,p.__)("H3"),value:"h3"},{label:(0,p.__)("H4"),value:"h4"},{label:(0,p.__)("H5"),value:"h5"},{label:(0,p.__)("H6"),value:"h6"},{label:(0,p.__)("SPAN"),value:"span"}]},{id:"subTag",label:(0,p.__)("Sub Text Tag","gutenverse"),component:c.SelectControl,options:[{label:(0,p.__)("H1"),value:"h1"},{label:(0,p.__)("H2"),value:"h2"},{label:(0,p.__)("H3"),value:"h3"},{label:(0,p.__)("H4"),value:"h4"},{label:(0,p.__)("H5"),value:"h5"},{label:(0,p.__)("H6"),value:"h6"},{label:(0,p.__)("SPAN"),value:"span"}]},{id:"text",label:(0,p.__)("Main Text"),component:c.TextControl},{id:"focusText",label:(0,p.__)("Focus Text"),component:c.TextControl},{id:"subText",show:t&&"none"!==t,label:(0,p.__)("Subtitle Text"),component:c.TextControl},{id:"showSub",label:(0,p.__)("Show Subtitle","gutenverse"),component:c.SelectControl,options:[{label:(0,p.__)("None"),value:"none"},{label:(0,p.__)("Top"),value:"top"},{label:(0,p.__)("Bottom"),value:"bottom"}]}]},h=function(e){var t=e.elementId;return[{id:"subColor",label:(0,p.__)("Subtitle Color","gutenverse"),component:c.ColorControl,liveStyle:[{id:"subColor",type:"color",selector:".editor-styles-wrapper .".concat(t,".guten-advanced-heading .heading-subtitle"),properties:[{name:"color",valueType:"direct"}]}]},{id:"subTypography",label:(0,p.__)("Subtitle Typography","gutenverse"),component:c.TypographyControl},{id:"subBackground",component:c.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{id:"subBackground",type:"background",responsive:!0,selector:".editor-styles-wrapper .".concat(t,".guten-advanced-heading .heading-subtitle")}]},{id:"subMargin",label:(0,p.__)("Margin","gutenverse"),component:c.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"},rem:{text:"rem",unit:"rem"}}},{id:"subPadding",label:(0,p.__)("Padding","gutenverse"),component:c.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"},rem:{text:"rem",unit:"rem"}}}]};function b(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function f(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?b(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):b(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var x=function(){return[{title:(0,p.__)("Content","gutenverse"),panelArray:v,tabRole:c.TabSetting},{title:(0,p.__)("Dynamic Data","gutenverse"),panelArray:function(e){return(0,c.dynamicContentPanel)(f(f({},e),{},{blockType:"text",arrOfTextChilds:["textDynamicList","focusTextDynamicList","subTextDynamicList"]}))},initialOpen:!1,tabRole:c.TabSetting,pro:!0},{title:(0,p.__)("Line","gutenverse"),panelArray:y,tabRole:c.TabStyle},{title:(0,p.__)("Highlight Style","gutenverse"),panelArray:function(e){return(0,c.childStylePanel)(f(f({},e),{},{arrOfTextChilds:["textChilds","focusTextChilds","subTextChilds"]}))},tabRole:c.TabStyle,pro:!0},{title:(0,p.__)("Main Title","gutenverse"),panelArray:g,tabRole:c.TabStyle},{title:(0,p.__)("Main Title Text Clip","gutenverse"),initialOpen:!1,panelAdvance:!0,panelArray:function(e){var t=e.elementId;return(0,c.textClipPanel)(f(f({},e),{},{textClipSelector:".editor-styles-wrapper .".concat(t," .heading-title"),textClipId:"mainTextClip"}))},pro:!0,tabRole:c.TabStyle},{title:(0,p.__)("Focus Title","gutenverse"),panelArray:u,tabRole:c.TabStyle},{title:(0,p.__)("Focus Title Text Clip","gutenverse"),initialOpen:!1,panelAdvance:!0,panelArray:function(e){var t=e.elementId;return(0,c.textClipPanel)(f(f({},e),{},{textClipSelector:".editor-styles-wrapper .".concat(t," .heading-focus"),textClipId:"focusTextClip"}))},pro:!0,tabRole:c.TabStyle},{title:(0,p.__)("Sub Title","gutenverse"),panelArray:h,tabRole:c.TabStyle},{title:(0,p.__)("Background","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,c.backgroundPanel)(f(f({},e),{},{styleId:"advanced-heading-background",normalOptions:["default","gradient"],hoverOptions:["default","gradient"]}))},tabRole:c.TabStyle},{title:(0,p.__)("Border","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,c.borderPanel)(f(f({},e),{},{styleId:"advanced-heading-border"}))},tabRole:c.TabStyle},{title:(0,p.__)("Masking","gutenverse"),initialOpen:!1,panelArray:c.maskPanel,tabRole:c.TabStyle},{title:(0,p.__)("Display","gutenverse"),initialOpen:!1,panelArray:c.responsivePanel,tabRole:c.TabSetting},{title:(0,p.__)("Positioning","gutenverse"),initialOpen:!1,panelArray:c.positioningPanel,tabRole:c.TabSetting},{title:(0,p.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,c.animationPanel)(f(f({},e),{},{styleId:"advanced-heading-animation"}))},tabRole:c.TabSetting},{title:(0,p.__)("Transform","gutenverse"),initialOpen:!1,panelArray:c.transformPanel,pro:!0},{title:(0,p.__)("Mouse Move Effect","gutenverse"),initialOpen:!1,panelArray:c.mouseMoveEffectPanel,tabRole:c.TabSetting,pro:!0},{title:(0,p.__)("Advanced Animation","gutenverse"),initialOpen:!1,panelAdvance:!0,panelArray:function(e){return(0,c.advanceAnimationPanel)(f(f({},e),{},{blockType:"advance-heading"}))},pro:!0},{title:(0,p.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,c.advancePanel)(f(f({},e),{},{styleId:"advanced-heading-advance"}))},tabRole:c.TabSetting},{title:(0,p.__)("Condition","gutenverse"),panelArray:c.conditionPanel,initialOpen:!1,pro:!0}]},w=o(6826),S=o(2774),_=o(4320),j=o(4404),T=o(2619);const O=function(e,t){var o=[];return o=(0,c.backgroundStyle)({attributes:t,data:o,elementId:e}),(0,d.isNotEmpty)(t.focusColor)&&o.push({type:"color",id:"focusColor",selector:".editor-styles-wrapper .".concat(e,".guten-advanced-heading .heading-focus"),properties:[{name:"color",valueType:"direct"}]}),(0,d.isNotEmpty)(t.focusTypography)&&o.push({type:"typography",id:"focusTypography",selector:".editor-styles-wrapper .".concat(e,".guten-advanced-heading .heading-focus")}),(0,d.isNotEmpty)(t.focusTextStroke)&&o.push({type:"textStroke",id:"focusTextStroke",selector:".editor-styles-wrapper .".concat(e,".guten-advanced-heading .heading-focus")}),(0,d.isNotEmpty)(t.focusBackground)&&o.push({type:"background",id:"focusBackground",responsive:!0,selector:".editor-styles-wrapper .".concat(e,".guten-advanced-heading .heading-focus")}),(0,d.isNotEmpty)(t.focusMargin)&&o.push({type:"dimension",id:"focusMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .".concat(e,".guten-advanced-heading .heading-focus")}),(0,d.isNotEmpty)(t.focusPadding)&&o.push({type:"dimension",id:"focusPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .".concat(e,".guten-advanced-heading .heading-focus")}),(0,d.isNotEmpty)(t.lineColor)&&o.push({type:"color",id:"lineColor",selector:".editor-styles-wrapper .".concat(e,".guten-advanced-heading .heading-line"),properties:[{name:"border-color",valueType:"direct"}]}),(0,d.isNotEmpty)(t.lineWidth)&&(0,d.isNotEmpty)(t.showLine)&&"none"!==t.showLine&&o.push({type:"unitPoint",id:"lineWidth",responsive:!0,selector:".editor-styles-wrapper .".concat(e,".guten-advanced-heading .heading-line"),properties:[{name:"width",valueType:"direct"}]}),(0,d.isNotEmpty)(t.lineHeight)&&(0,d.isNotEmpty)(t.showLine)&&"none"!==t.showLine&&o.push({type:"plain",id:"lineHeight",properties:[{name:"border-top-width",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}],selector:".editor-styles-wrapper .".concat(e,".guten-advanced-heading .heading-line"),responsive:!0}),(0,d.isNotEmpty)(t.lineStyle)&&(0,d.isNotEmpty)(t.showLine)&&"none"!==t.showLine&&o.push({type:"plain",id:"lineStyle",properties:[{name:"border-top-style",valueType:"direct"}],selector:".editor-styles-wrapper .".concat(e,".guten-advanced-heading .heading-line")}),(0,d.isNotEmpty)(t.lineMargin)&&o.push({type:"dimension",id:"lineMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .".concat(e,".guten-advanced-heading.guten-advanced-heading .heading-line")}),(0,d.isNotEmpty)(t.mainColor)&&o.push({type:"color",id:"mainColor",selector:".editor-styles-wrapper .".concat(e,".guten-advanced-heading .heading-title"),properties:[{name:"color",valueType:"direct"}]}),(0,d.isNotEmpty)(t.mainTypography)&&o.push({type:"typography",id:"mainTypography",selector:".editor-styles-wrapper .".concat(e,".guten-advanced-heading .heading-title")}),(0,d.isNotEmpty)(t.mainTextStroke)&&o.push({type:"textStroke",id:"mainTextStroke",selector:".editor-styles-wrapper .".concat(e,".guten-advanced-heading .heading-title")}),(0,d.isNotEmpty)(t.mainBackground)&&o.push({type:"background",id:"mainBackground",responsive:!0,selector:".editor-styles-wrapper .".concat(e,".guten-advanced-heading .heading-title")}),(0,d.isNotEmpty)(t.mainMargin)&&o.push({type:"dimension",id:"mainMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .".concat(e,".guten-advanced-heading .heading-title")}),(0,d.isNotEmpty)(t.mainPadding)&&o.push({type:"dimension",id:"mainPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .".concat(e,".guten-advanced-heading .heading-title")}),(0,d.isNotEmpty)(t.alignText)&&o.push({type:"plain",id:"alignText",selector:".".concat(e,".guten-advanced-heading, .").concat(e,".guten-advanced-heading .heading-section"),properties:[{name:"justify-content",valueType:"direct"},{name:"text-align",valueType:"function",functionName:"handleAlign"}],responsive:!0}),(0,d.isNotEmpty)(t.subColor)&&o.push({type:"color",id:"subColor",selector:".editor-styles-wrapper .".concat(e,".guten-advanced-heading .heading-subtitle"),properties:[{name:"color",valueType:"direct"}]}),(0,d.isNotEmpty)(t.subTypography)&&o.push({type:"typography",id:"subTypography",selector:".editor-styles-wrapper .".concat(e,".guten-advanced-heading .heading-subtitle")}),(0,d.isNotEmpty)(t.subBackground)&&o.push({type:"background",id:"subBackground",responsive:!0,selector:".editor-styles-wrapper .".concat(e,".guten-advanced-heading .heading-subtitle")}),(0,d.isNotEmpty)(t.subMargin)&&o.push({type:"dimension",id:"subMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .".concat(e,".guten-advanced-heading .heading-subtitle")}),(0,d.isNotEmpty)(t.subPadding)&&o.push({type:"dimension",id:"subPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .".concat(e,".guten-advanced-heading .heading-subtitle")}),(0,d.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,d.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,d.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,d.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,d.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,d.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,d.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,d.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,d.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,d.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,d.isNotEmpty)(t.animation)&&(0,d.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,d.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,d.isNotEmpty)(t.positioningType)&&(0,d.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,d.isNotEmpty)(t.positioningWidth)&&(0,d.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,d.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,d.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,d.isNotEmpty)(t.positioningLeft)&&(0,d.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,d.isNotEmpty)(t.positioningRight)&&(0,d.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,d.isNotEmpty)(t.positioningTop)&&(0,d.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,d.isNotEmpty)(t.positioningBottom)&&(0,d.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),[].concat((0,j.A)(o),(0,j.A)((0,T.applyFilters)("gutenverse.advanced-heading.blockStyle",[],{elementId:e,attributes:t})))};function C(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function k(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?C(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):C(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var P=(0,r.compose)(a.withPartialRender,a.withPassRef,(0,a.withAnimationAdvanceV2)("advance-heading"),a.withMouseMoveEffect)((function(e){var t=e.attributes,o=e.setAttributes,r=e.clientId,a=e.setBlockRef,u=t.elementId,y=t.titleTag,g=t.subTag,v=(t.text,t.focusText,t.subText,t.showSub),h=t.showLine,b=(0,d.useRichTextParameter)(),f=b.panelState,j=b.setPanelState,T=(0,i.useRef)(null),C=(0,w.useAnimationEditor)(t),P=(0,w.useDisplayEditor)(t);(0,_.useGenerateElementId)(r,u,T),(0,_.useDynamicStyle)(u,t,O,T),(0,_.useDynamicScript)(T);var N=(0,s.useBlockProps)({className:(0,l.classnames)("guten-element","guten-advanced-heading",u,C,P),ref:T});(0,S.FilterDynamic)(e),(0,S.HighLightToolbar)(e);var E=function(e,i,a,s){return(0,m.jsx)(l.RichTextComponent,{classNames:a,tagName:i,"aria-label":(0,p.__)("Advanced Heading","gutenverse"),onChange:function(e){return o((0,n.A)({},s,e))},multiline:!1,setAttributes:o,attributes:t,clientId:r,panelDynamic:{panel:"setting",section:1},panelPosition:{panel:"style",section:1},contentAttribute:s,setPanelState:j,textChilds:s+"Childs",dynamicList:s+"DynamicList",isUseDinamic:!0,isUseHighlight:!0})};return(0,i.useEffect)((function(){T&&a(T)}),[T]),(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(l.CopyElementToolbar,k({},e)),(0,m.jsx)(c.BlockPanelController,{panelList:x,props:e,elementRef:T,panelState:f}),(0,m.jsxs)("div",k(k({},N),{},{children:["top"===h&&(0,m.jsx)("div",{className:"heading-line top"}),"top"===v&&E(0,g,"heading-subtitle","subText"),"top"===v&&"between"===h&&(0,m.jsx)("div",{className:"heading-line between"}),(0,m.jsxs)("div",{className:"heading-section ".concat(["top","bottom","between"].includes(h)?"outside-line":""),children:["before"===h&&(0,m.jsx)("div",{className:"heading-line before"}),(0,m.jsxs)(y,{className:"heading-title",children:[E(0,"span","heading-title","text"),E(0,"span","heading-focus","focusText")]}),"after"===h&&(0,m.jsx)("div",{className:"heading-line after"})]}),"bottom"===v&&"between"===h&&(0,m.jsx)("div",{className:"heading-line between"}),"bottom"===v&&E(0,g,"heading-subtitle","subText"),"bottom"===h&&(0,m.jsx)("div",{className:"heading-line bottom"})]}))]})}));const N=P;function E(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function D(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?E(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):E(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var B=(0,r.compose)((0,a.withAnimationAdvanceScript)("advance-heading"),a.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,n=t.titleTag,r=t.subTag,i=t.text,a=t.focusText,c=t.subText,p=t.showSub,u=t.showLine,d=(0,w.useAnimationAdvanceData)(t),y=(0,w.useAnimationFrontend)(t),g=(0,w.useDisplayFrontend)(t),v=(0,l.classnames)("guten-element","guten-advanced-heading",o,y,g),h=function(e,t,o){return(0,m.jsx)(l.RichText.Content,{tagName:t,value:e,multiline:!1,className:o})};return(0,m.jsxs)("div",D(D({},s.useBlockProps.save(D({className:v},d))),{},{children:["top"===u&&(0,m.jsx)("div",{className:"heading-line top"}),"top"===p&&h(c,r,"heading-subtitle"),"top"===p&&"between"===u&&(0,m.jsx)("div",{className:"heading-line between"}),(0,m.jsxs)("div",{className:"heading-section ".concat(["top","bottom","between"].includes(u)?"outside-line":""),children:["before"===u&&(0,m.jsx)("div",{className:"heading-line before"}),(0,m.jsxs)(n,{className:"heading-title",children:[h(i,"span","heading-title"),h(a,"span","heading-focus")]}),"after"===u&&(0,m.jsx)("div",{className:"heading-line after"})]}),"bottom"===p&&"between"===u&&(0,m.jsx)("div",{className:"heading-line between"}),"bottom"===p&&h(c,r,"heading-subtitle"),"bottom"===u&&(0,m.jsx)("div",{className:"heading-line bottom"})]}))}));const A=B,H=JSON.parse('{"apiVersion":2,"name":"gutenverse/advanced-heading","title":"Advanced Heading","description":"Create more Advanced Heading with multiple options.","category":"gutenverse-element","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"mouseMoveEffect":{"type":"object","copyStyle":true},"alignText":{"type":"object","copyStyle":true},"titleTag":{"type":"string","default":"h2"},"subTag":{"type":"string","default":"span"},"textDynamicList":{"type":"array","default":[]},"focusTextDynamicList":{"type":"array","default":[]},"subTextDynamicList":{"type":"array","default":[]},"dynamicAttributes":{"type":"array","default":["textDynamicList","focusTextDynamicList","subTextDynamicList"]},"openDynamic":{"type":"string"},"dynamicTextContent":{"type":"array","copyStyle":true},"dynamicUrlContent":{"type":"array","copyStyle":true},"text":{"type":"string","default":"Heading "},"textChilds":{"type":"array","default":[]},"focusText":{"type":"string","default":"Focused"},"focusTextChilds":{"type":"array","default":[]},"subText":{"type":"string","default":"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt"},"subTextChilds":{"type":"array","default":[]},"showSub":{"type":"string","default":"bottom","copyStyle":true},"showLine":{"type":"string","default":"before","copyStyle":true},"lineWidth":{"type":"object","copyStyle":true,"default":{"Desktop":{"unit":"%","point":"30"}}},"lineHeight":{"type":"object","copyStyle":true},"lineStyle":{"type":"string","default":"solid","copyStyle":true},"lineMargin":{"type":"object","copyStyle":true},"mainColor":{"type":"object","copyStyle":true},"mainTypography":{"type":"object","copyStyle":true},"mainTextStroke":{"type":"object","copyStyle":true},"mainBackground":{"type":"object","copyStyle":true},"mainMargin":{"type":"object","copyStyle":true},"mainPadding":{"type":"object","copyStyle":true},"focusColor":{"type":"object","copyStyle":true},"focusTypography":{"type":"object","copyStyle":true},"focusTextStroke":{"type":"object","copyStyle":true},"focusBackground":{"type":"object","copyStyle":true},"focusMargin":{"type":"object","copyStyle":true},"focusPadding":{"type":"object","copyStyle":true},"subColor":{"type":"object","copyStyle":true},"subTypography":{"type":"object","copyStyle":true},"subBackground":{"type":"object","copyStyle":true},"subMargin":{"type":"object","copyStyle":true},"subPadding":{"type":"object","copyStyle":true},"mainTextClip":{"type":"object","default":{},"copyStyle":true},"focusTextClip":{"type":"object","default":{},"copyStyle":true},"lineColor":{"type":"object","copyStyle":true},"background":{"type":"object","default":{},"copyStyle":true},"backgroundHover":{"type":"object","default":{},"copyStyle":true},"backgroundTransition":{"type":"object","copyStyle":true,"default":{}},"border":{"type":"object","copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"borderHover":{"type":"object","copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadowHover":{"type":"object","copyStyle":true},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"animation":{"type":"object","default":{},"copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"positioningType":{"type":"object","copyStyle":true},"positioningWidth":{"type":"object","copyStyle":true},"positioningAlign":{"type":"object","copyStyle":true},"positioningLocation":{"type":"string","copyStyle":true},"positioningLeft":{"type":"object","copyStyle":true},"positioningRight":{"type":"object","copyStyle":true},"positioningTop":{"type":"object","copyStyle":true},"positioningBottom":{"type":"object","copyStyle":true},"advanceAnimation":{"type":"object","default":{},"copyStyle":true},"transform":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"condition":{"type":"object","default":{}}},"supports":{"className":false},"keywords":[]}');var R=o(4889);function I(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function M(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?I(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):I(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var L=(0,r.compose)((0,a.withAnimationAdvanceScript)("advance-heading"),a.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,n=t.titleTag,r=t.subTag,i=t.text,a=t.focusText,s=t.subText,c=t.showSub,p=t.showLine,u=(0,w.useAnimationAdvanceData)(t),d=(0,w.useAnimationFrontend)(t),y=(0,w.useDisplayFrontend)(t),g=(0,l.classnames)("guten-element","guten-advanced-heading",o,d,y);return(0,m.jsxs)("div",M(M({className:g},u),{},{children:["top"===p&&(0,m.jsx)("div",{className:"heading-line top"}),"top"===c&&(0,m.jsx)(r,{className:"heading-subtitle",children:s}),"top"===c&&"between"===p&&(0,m.jsx)("div",{className:"heading-line between"}),(0,m.jsxs)("div",{className:"heading-section ".concat(["top","bottom","between"].includes(p)?"outside-line":""),children:["before"===p&&(0,m.jsx)("div",{className:"heading-line before"}),(0,m.jsxs)(n,{className:"heading-title",children:[i,(0,m.jsx)("span",{className:"heading-focus",children:a})]}),"after"===p&&(0,m.jsx)("div",{className:"heading-line after"})]}),"bottom"===c&&"between"===p&&(0,m.jsx)("div",{className:"heading-line between"}),"bottom"===c&&(0,m.jsx)(r,{className:"heading-subtitle",children:s}),"bottom"===p&&(0,m.jsx)("div",{className:"heading-line bottom"})]}))}));const z=L;var F=H.name,V=H.attributes,W={icon:(0,m.jsx)(R.uR,{}),example:{attributes:{alignText:{Desktop:"flex-start"},text:"Advanced",focusText:"Heading",subText:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore",lineWidth:{Desktop:"20",Tablet:"",Mobile:""},lineHeight:{Desktop:"5"},lineStyle:"solid",lineMargin:{Desktop:{unit:"px",dimension:{right:"",top:"",bottom:"",left:""}}},mainColor:{type:"variable",id:"secondary"},mainTypography:{font:{label:"Poppins",value:"Poppins",type:"google"},size:{Desktop:{point:"36",unit:"px"}}},mainBackground:{type:"default",gradientColor:[{color:"rgb(49, 207, 180)",id:1,offset:"0.132",active:!0},{color:"rgb(126, 32, 207)",id:2,offset:"1.000",active:!1}],color:""},mainMargin:{Desktop:{unit:"px",dimension:{right:"",bottom:"",top:""}}},mainPadding:{Desktop:{unit:"px",dimension:{top:"",right:"",bottom:"",left:""}}},focusColor:{type:"variable",id:"primary"},focusBackground:{type:"default",color:""},focusMargin:{Desktop:{unit:"px",dimension:{left:"",top:"",right:"",bottom:""}}},focusPadding:{Desktop:{unit:"px",dimension:{top:"3",right:"3",bottom:"3",left:"3"}}},subColor:{type:"variable",id:"meta"},subTypography:{font:{label:"Poppins",value:"Poppins",type:"google"},size:{Desktop:{point:"16",unit:"px"}},weight:"300",transform:"default"},subMargin:{Desktop:{unit:"px",dimension:{top:"20"}}},subPadding:{Desktop:{}},lineColor:{type:"variable",id:"primary"},background:{},backgroundHover:{},border:{},boxShadow:{position:"outline"},borderHover:{},boxShadowHover:{position:"outline"},animation:{}}},edit:N,save:A,deprecated:[{attributes:V,save:z}]}},6182:(e,t,o)=>{var n={"./social-share-email.js":8286,"./social-share-facebook.js":8064,"./social-share-line.js":8918,"./social-share-linkedin.js":3014,"./social-share-pinterest.js":688,"./social-share-reddit.js":3408,"./social-share-stumbleupon.js":2624,"./social-share-telegram.js":8303,"./social-share-tumblr.js":1502,"./social-share-twitter.js":3149,"./social-share-vk.js":1447,"./social-share-wechat.js":5066,"./social-share-whatsapp.js":6730};function r(e){var t=i(e);return o(t)}function i(e){if(!o.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}r.keys=function(){return Object.keys(n)},r.resolve=i,e.exports=r,r.id=6182},6186:(e,t,o)=>{"use strict";var n=o(2985);function r(){}function i(){}i.resetWarningCache=r,e.exports=function(){function e(e,t,o,r,i,a){if(a!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var o={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return o.PropTypes=o,o}},6202:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>$,name:()=>X,settings:()=>J});var n=o(6065),r=o(9491),i=o(4715),a=o(3482),s=o(596),l=o(7723),c=o(4320),p=o(5255),u=function(e){var t=e.elementId,o=(0,p.getDeviceType)();return[{id:"avatarMargin",label:(0,l.__)("Avatar Margin","gutenverse"),component:s.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"},rem:{text:"rem",unit:"rem"}}},{id:"avatarBorder",show:"Desktop"===o,label:(0,l.__)("Border","gutenverse"),component:s.BorderControl,liveStyle:{type:"border",id:"avatarBorder",selector:".".concat(t," .comment-author img.avatar")}},{id:"avatarBorderResponsive",show:"Desktop"!==o,label:(0,l.__)("Border","gutenverse"),component:s.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:{type:"borderResponsive",id:"avatarBorderResponsive",selector:".".concat(t," .comment-author img.avatar")}}]};function d(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function y(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?d(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):d(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var g=function(e){var t=e.elementId,o=e.switcher,n=e.setSwitcher,r=(0,p.getDeviceType)();return[{id:"typographyButton",label:(0,l.__)("Button Typography","gutenverse"),component:s.TypographyControl},{id:"__buttonHoverControl",component:s.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__buttonHoverControl;return n(y(y({},o),{},{buttonHoverControl:t}))}},{id:"colorButton",show:!o.buttonHoverControl||"normal"===o.buttonHoverControl,label:(0,l.__)("Button Color","gutenverse"),component:s.ColorControl,liveStyle:{type:"color",id:"colorButton",selector:".".concat(t,".guten-post-comment input[type=submit]"),properties:[{name:"color",valueType:"direct"}]}},{id:"bgcolorButton",show:!o.buttonHoverControl||"normal"===o.buttonHoverControl,label:(0,l.__)("Button Background","gutenverse"),component:s.ColorControl,liveStyle:{type:"color",id:"bgcolorButton",selector:".".concat(t,".guten-post-comment input[type=submit]"),properties:[{name:"background-color",valueType:"direct"}]}},{id:"bggradientButton",component:s.BackgroundControl,show:!o.buttonHoverControl||"normal"===o.buttonHoverControl,allowDeviceControl:!0,options:["gradient"],liveStyle:{type:"background",id:"bggradientButton",selector:".".concat(t,".guten-post-comment input[type=submit]")}},{id:"borderButton",show:(!o.buttonHoverControl||"normal"===o.buttonHoverControl)&&"Desktop"===r,label:(0,l.__)("Border","gutenverse"),component:s.BorderControl,liveStyle:{type:"border",id:"borderButton",selector:".".concat(t,".guten-post-comment input[type=submit]")}},{id:"borderButtonResponsive",show:(!o.buttonHoverControl||"normal"===o.buttonHoverControl)&&"Desktop"!==r,label:(0,l.__)("Border","gutenverse"),component:s.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:{type:"borderResponsive",id:"borderButtonResponsive",selector:".".concat(t,".guten-post-comment input[type=submit]")}},{id:"marginButton",label:(0,l.__)("Margin","gutenverse"),component:s.DimensionControl,show:!o.buttonHoverControl||"normal"===o.buttonHoverControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"paddingButton",label:(0,l.__)("Padding","gutenverse"),component:s.DimensionControl,show:!o.buttonHoverControl||"normal"===o.buttonHoverControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"colorButtonHover",show:"hover"===o.buttonHoverControl,label:(0,l.__)("Button Color Hover","gutenverse"),component:s.ColorControl,liveStyle:{type:"color",id:"colorButtonHover",selector:".".concat(t,".guten-post-comment input[type=submit]:hover"),properties:[{name:"color",valueType:"direct"}]}},{id:"bgcolorButtonHover",show:"hover"===o.buttonHoverControl,label:(0,l.__)("Button Background Hover","gutenverse"),component:s.ColorControl,liveStyle:{type:"color",id:"bgcolorButtonHover",selector:".".concat(t,".guten-post-comment input[type=submit]:hover"),properties:[{name:"background-color",valueType:"direct"}]}},{id:"bggradientButtonHover",component:s.BackgroundControl,show:"hover"===o.buttonHoverControl,allowDeviceControl:!0,options:["gradient"],liveStyle:{type:"background",id:"bggradientButtonHover",selector:".".concat(t,".guten-post-comment input[type=submit]:hover")}},{id:"borderButtonHover",show:"hover"===o.buttonHoverControl&&"Desktop"===r,label:(0,l.__)("Border","gutenverse"),component:s.BorderControl,liveStyle:{type:"border",id:"borderButtonHover",selector:".".concat(t,".guten-post-comment input[type=submit]:hover")}},{id:"borderButtonHoverResponsive",show:"hover"===o.buttonHoverControl&&"Desktop"!==r,label:(0,l.__)("Border","gutenverse"),component:s.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:{type:"borderResponsive",id:"borderButtonHoverResponsive",selector:".".concat(t,".guten-post-comment input[type=submit]:hover")}},{id:"marginButtonHover",label:(0,l.__)("Margin","gutenverse"),component:s.DimensionControl,show:"hover"===o.buttonHoverControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"paddingButtonHover",label:(0,l.__)("Padding","gutenverse"),component:s.DimensionControl,show:"hover"===o.buttonHoverControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}}]};function m(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function v(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?m(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):m(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var h=function(e){var t=e.elementId,o=e.setSwitcher,n=e.switcher,r=(0,p.getDeviceType)();return[{id:"inputTypography",label:(0,l.__)("Input Typography","gutenverse"),component:s.TypographyControl},{id:"inputMargin",label:(0,l.__)("Input Margin","gutenverse"),component:s.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"},rem:{text:"rem",unit:"rem"}}},{id:"inputPadding",label:(0,l.__)("Input Padding","gutenverse"),component:s.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"},rem:{text:"rem",unit:"rem"}}},{id:"__itemState",component:s.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"},{value:"focus",label:"Focus"}],onChange:function(e){var t=e.__itemState;return o(v(v({},n),{},{inputState:t}))}},{id:"inputBorder",show:"Desktop"===r&&(!n.inputState||"normal"===n.inputState),label:(0,l.__)("Border","gutenverse"),component:s.BorderControl,liveStyle:[{type:"border",id:"inputBorder",selector:".".concat(t," .comment-form input:not([type=submit]), .").concat(t," .comment-form textarea")}]},{id:"inputBorderResponsive",show:"Desktop"!==r&&(!n.inputState||"normal"===n.inputState),label:(0,l.__)("Border","gutenverse"),component:s.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"inputBorderResponsive",selector:".".concat(t," .comment-form input:not([type=submit]), .").concat(t," .comment-form textarea")}]},{id:"inputBorderHover",show:"Desktop"===r&&"hover"===n.inputState,label:(0,l.__)("Border","gutenverse"),component:s.BorderControl,liveStyle:[{type:"border",id:"inputBorderHover",selector:".".concat(t," .comment-form input:not([type=submit]):hover, .").concat(t," .comment-form textarea:hover")}]},{id:"inputBorderHoverResponsive",show:"Desktop"!==r&&"hover"===n.inputState,label:(0,l.__)("Border","gutenverse"),component:s.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"inputBorderHoverResponsive",selector:".".concat(t," .comment-form input:not([type=submit]):hover, .").concat(t," .comment-form textarea:hover")}]},{id:"inputBorderFocus",show:"Desktop"===r&&"focus"===n.inputState,label:(0,l.__)("Border Focus","gutenverse"),component:s.BorderControl,liveStyle:[{type:"border",id:"inputBorderFocus",selector:".".concat(t," .comment-form input:not([type=submit]):focus, .").concat(t," .comment-form textarea:focus")}]},{id:"inputBorderFocusResponsive",show:"Desktop"!==r&&"focus"===n.inputState,label:(0,l.__)("Border","gutenverse"),component:s.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"inputBorderFocusResponsive",selector:".".concat(t," .comment-form input:not([type=submit]):focus, .").concat(t," .comment-form textarea:focus")}]},{id:"inputColorNormal",show:!n.inputState||"normal"===n.inputState,label:(0,l.__)("Input Color Normal","gutenverse"),component:s.ColorControl,allowDeviceControl:!0,liveStyle:{type:"color",id:"inputColorNormal",responsive:!0,selector:".".concat(t," .comment-form input:not([type=submit]), .").concat(t," .comment-form textarea"),properties:[{name:"color",valueType:"direct"}]}},{id:"inputBgColorNormal",show:!n.inputState||"normal"===n.inputState,label:(0,l.__)("Input Background Color Normal","gutenverse"),component:s.ColorControl,allowDeviceControl:!0,liveStyle:{type:"color",id:"inputBgColorNormal",responsive:!0,selector:".".concat(t," .comment-form input:not([type=submit]), .").concat(t," .comment-form textarea"),properties:[{name:"background-color",valueType:"direct"}]}},{id:"inputColorHover",show:"hover"===n.inputState,label:(0,l.__)("Input Color Hover","gutenverse"),component:s.ColorControl,allowDeviceControl:!0,liveStyle:{type:"color",id:"inputColorHover",responsive:!0,selector:".".concat(t," .comment-form input:not([type=submit]):hover, .").concat(t," .comment-form textarea:hover"),properties:[{name:"color",valueType:"direct"}]}},{id:"inputBgColorHover",show:"hover"===n.inputState,label:(0,l.__)("Input Background Color Hover","gutenverse"),component:s.ColorControl,allowDeviceControl:!0,liveStyle:{type:"color",id:"inputBgColorHover",responsive:!0,selector:".".concat(t," .comment-form input:not([type=submit]):hover, .").concat(t," .comment-form textarea:hover"),properties:[{name:"background-color",valueType:"direct"}]}},{id:"inputColorFocus",show:"focus"===n.inputState,label:(0,l.__)("Input Color Focus","gutenverse"),component:s.ColorControl,allowDeviceControl:!0,liveStyle:{type:"color",id:"inputColorFocus",responsive:!0,selector:".".concat(t," .comment-form input:not([type=submit]):focus, .").concat(t," .comment-form textarea:focus, .").concat(t," .comment-form input:not([type=submit]):focus-visible, .").concat(t," .comment-form textarea:focus-visible"),properties:[{name:"color",valueType:"direct"}]}},{id:"inputBgColorFocus",show:"focus"===n.inputState,label:(0,l.__)("Input Background Color Focus","gutenverse"),component:s.ColorControl,allowDeviceControl:!0,liveStyle:{type:"color",id:"inputBgColorFocus",responsive:!0,selector:".".concat(t," .comment-form input:not([type=submit]):focus, .").concat(t," .comment-form textarea:focus, .").concat(t," .comment-form input:not([type=submit]):focus-visible, .").concat(t," .comment-form textarea:focus-visible"),properties:[{name:"background-color",valueType:"direct"}]}},{id:"__inputAreaHover",component:s.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__inputAreaHover;return o(v(v({},n),{},{inputAreaHover:t}))}},{id:"inputAreaBoxShadow",show:!n.inputAreaHover||"normal"===n.inputAreaHover,label:(0,l.__)("Box Shadow","gutenverse"),component:s.BoxShadowControl,liveStyle:{type:"boxShadow",id:"inputAreaBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t," .comment-form input:not([type=submit],[type=checkbox]), .").concat(t," .comment-form textarea")}},{id:"inputAreaBoxShadowHover",show:"hover"===n.inputAreaHover,label:(0,l.__)("Hover Box Shadow","gutenverse"),component:s.BoxShadowControl,liveStyle:{type:"boxShadow",id:"inputAreaBoxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t," .comment-form input:not([type=submit],[type=checkbox]):hover, .").concat(t," .comment-form textarea:hover")}}]},b=function(e){var t=e.elementId;return[{id:"replyBgColor",label:(0,l.__)("Reply Background Color","gutenverse"),component:s.ColorControl,allowDeviceControl:!0,liveStyle:{type:"color",id:"replyBgColor",responsive:!0,selector:".".concat(t," .commentlist .comment .children"),properties:[{name:"background-color",valueType:"direct"}]}},{id:"replyMargin",label:(0,l.__)("Reply Margin","gutenverse"),component:s.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"},rem:{text:"rem",unit:"rem"}}},{id:"replyPadding",label:(0,l.__)("Reply Padding","gutenverse"),component:s.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"},rem:{text:"rem",unit:"rem"}}},{id:"replyBorder",label:(0,l.__)("Reply Border","--gctd--"),component:s.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:{type:"borderResponsive",id:"replyBorder",responsive:!0,selector:".".concat(t," .commentlist .comment .children")}}]},f=function(e){var t=e.elementId;return[{id:"submenuSplitter1",component:s.HeadingControl,label:(0,l.__)("Comment Container")},{id:"mainContainerBgColor",label:(0,l.__)("Container Background Color","gutenverse"),component:s.ColorControl,allowDeviceControl:!0,liveStyle:{type:"color",id:"mainContainerBgColor",responsive:!0,selector:".".concat(t," .commentlist .comment.depth-1"),properties:[{name:"background-color",valueType:"direct"}]}},{id:"mainContainerMargin",label:(0,l.__)("Container Margin","gutenverse"),component:s.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"},rem:{text:"rem",unit:"rem"}}},{id:"mainContainerPadding",label:(0,l.__)("Container Padding","gutenverse"),component:s.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"},rem:{text:"rem",unit:"rem"}}},{id:"mainContainerBorder",label:(0,l.__)("Container Border","--gctd--"),component:s.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:{type:"borderResponsive",id:"mainContainerBorder",selector:".".concat(t," .commentlist .comment.depth-1")}},{id:"submenuSplitter2",component:s.HeadingControl,label:(0,l.__)("Comment Body")},{id:"mainBgColor",label:(0,l.__)("Comment Background Color","gutenverse"),component:s.ColorControl,allowDeviceControl:!0,liveStyle:{type:"color",id:"mainBgColor",responsive:!0,selector:".".concat(t," .commentlist .comment.depth-1 > .comment-body"),properties:[{name:"background-color",valueType:"direct"}]}},{id:"mainMargin",label:(0,l.__)("Comment Margin","gutenverse"),component:s.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"},rem:{text:"rem",unit:"rem"}}},{id:"mainPadding",label:(0,l.__)("Comment Padding","gutenverse"),component:s.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"},rem:{text:"rem",unit:"rem"}}},{id:"mainBorder",label:(0,l.__)("Comment Border","--gctd--"),component:s.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:{type:"borderResponsive",id:"mainBorder",selector:".".concat(t," .commentlist .comment.depth-1 > .comment-body")}}]},x=function(e){var t=e.enableSuffix,o=e.enableCommentTitle;return[{id:"showForm",label:(0,l.__)("Show Comment Form","gutenverse"),component:s.CheckboxControl},{id:"enableSuffix",label:(0,l.__)("Enable Suffix","gutenverse"),component:s.CheckboxControl},{id:"suffixMain",show:t,label:(0,l.__)("Main Comment Suffix","gutenverse"),component:s.TextControl},{id:"suffixReply",show:t,label:(0,l.__)("Reply Comment Suffix","gutenverse"),component:s.TextControl},{id:"enableCommentTitle",label:(0,l.__)("Enable Comment Title","gutenverse"),component:s.CheckboxControl},{id:"titleText",show:o,label:(0,l.__)("Title Text","gutenverse"),component:s.TextControl},{id:"enablePostTitle",show:o,label:(0,l.__)("Show Post Title ","gutenverse"),component:s.CheckboxControl},{id:"enableCommentCount",show:o,label:(0,l.__)("Show Comments Count","gutenverse"),component:s.CheckboxControl}]};function w(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function S(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?w(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):w(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var _=function(e){var t=e.elementId,o=e.switcher,n=e.setSwitcher;return[{id:"__commentType",component:s.SwitchControl,options:[{value:"formComment",label:"Form Heading"},{value:"titleComment",label:"Comment Title"}],onChange:function(e){var t=e.__commentType;return n(S(S({},o),{},{commentType:t}))}},{id:"typographyHeading",show:!o.commentType||"formComment"===o.commentType,label:(0,l.__)("Heading Typography","gutenverse"),component:s.TypographyControl},{id:"colorHeading",show:!o.commentType||"formComment"===o.commentType,label:(0,l.__)("Heading Color","gutenverse"),component:s.ColorControl,liveStyle:{type:"color",id:"colorHeading",selector:".".concat(t," h1, .").concat(t," h2, .").concat(t," h3, .").concat(t," h4, .").concat(t," h5, .").concat(t," h6"),properties:[{name:"color",valueType:"direct"}]}},{id:"marginHeading",show:!o.commentType||"formComment"===o.commentType,label:(0,l.__)("Margin","gutenverse"),component:s.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"},rem:{text:"rem",unit:"rem"}}},{id:"splitSubmenu3",component:s.HeadingControl,show:"titleComment"===o.commentType,label:(0,l.__)("Title Text")},{id:"typographyCommentTitle",label:(0,l.__)("Text Typography","gutenverse"),show:"titleComment"===o.commentType,component:s.TypographyControl},{id:"colorCommentTitle",label:(0,l.__)("Text Color","gutenverse"),show:"titleComment"===o.commentType,component:s.ColorControl,liveStyle:{type:"color",id:"colorCommentTitle",selector:".".concat(t," .guten-post-comment-title p"),properties:[{name:"color",valueType:"direct"}]}},{id:"marginCommentTitle",label:(0,l.__)("Text Container Margin","gutenverse"),show:"titleComment"===o.commentType,component:s.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"},rem:{text:"rem",unit:"rem"}}},{id:"splitSubmenu4",component:s.HeadingControl,show:"titleComment"===o.commentType,label:(0,l.__)("Comments Count")},{id:"commentCountTypography",label:(0,l.__)("Comment Count Typography","gutenverse"),show:"titleComment"===o.commentType,component:s.TypographyControl},{id:"commentCountColor",label:(0,l.__)("Comment Count Color","gutenverse"),show:"titleComment"===o.commentType,component:s.ColorControl,liveStyle:{type:"color",id:"commentCountColor",selector:".".concat(t," .guten-post-comment-title p span.comment-count"),properties:[{name:"color",valueType:"direct"}]}},{id:"splitSubmenu5",component:s.HeadingControl,show:"titleComment"===o.commentType,label:(0,l.__)("Post Title")},{id:"postTitleTypography",label:(0,l.__)("Post Title Typography","gutenverse"),show:"titleComment"===o.commentType,component:s.TypographyControl},{id:"postTitleColor",label:(0,l.__)("Post Title Color","gutenverse"),show:"titleComment"===o.commentType,component:s.ColorControl,liveStyle:{type:"color",id:"postTitleColor",selector:".".concat(t," .guten-post-comment-title p span.comment-post-title"),properties:[{name:"color",valueType:"direct"}]}}]};function j(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function T(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?j(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):j(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var O=function(e){var t=e.elementId,o=e.switcher,n=e.setSwitcher;return[{id:"__commentType",component:s.SwitchControl,options:[{value:"formComment",label:"Form Comment"},{value:"listComment",label:"List Comment"}],onChange:function(e){var t=e.__commentType;return n(T(T({},o),{},{commentType:t}))}},{id:"typographyText",label:(0,l.__)("Text Typography","gutenverse"),show:!o.commentType||"formComment"===o.commentType,component:s.TypographyControl},{id:"colorText",label:(0,l.__)("Text Color","gutenverse"),show:!o.commentType||"formComment"===o.commentType,component:s.ColorControl,liveStyle:{type:"color",id:"colorText",selector:".".concat(t," .comment-form p"),properties:[{name:"color",valueType:"direct"}]}},{id:"marginText",label:(0,l.__)("Margin","gutenverse"),show:!o.commentType||"formComment"===o.commentType,component:s.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"},rem:{text:"rem",unit:"rem"}}},{id:"splitSubmenu1",component:s.HeadingControl,show:"listComment"===o.commentType,label:(0,l.__)("Comment Text")},{id:"typographyTextList",label:(0,l.__)("Text Typography","gutenverse"),show:"listComment"===o.commentType,component:s.TypographyControl},{id:"colorTextList",label:(0,l.__)("Text Color","gutenverse"),show:"listComment"===o.commentType,component:s.ColorControl,liveStyle:{type:"color",id:"colorTextList",selector:".".concat(t," .commentlist p"),properties:[{name:"color",valueType:"direct"}]}},{id:"marginTextList",label:(0,l.__)("Text Margin","gutenverse"),show:"listComment"===o.commentType,component:s.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"},rem:{text:"rem",unit:"rem"}}},{id:"splitSubmenu2",component:s.HeadingControl,show:"listComment"===o.commentType,label:(0,l.__)("Username Suffix")},{id:"suffixTypography",label:(0,l.__)("Suffix Typography","gutenverse"),show:"listComment"===o.commentType,component:s.TypographyControl},{id:"suffixColor",label:(0,l.__)("Suffix Color","gutenverse"),show:"listComment"===o.commentType,component:s.ColorControl,liveStyle:{type:"color",id:"suffixColor",selector:".".concat(t," span.says"),properties:[{name:"color",valueType:"direct"}]}},{id:"suffixMargin",label:(0,l.__)("Suffix Margin","gutenverse"),show:"listComment"===o.commentType,component:s.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"},rem:{text:"rem",unit:"rem"}}}]};function C(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function k(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?C(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):C(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var P=function(e){var t=e.elementId,o=e.switcher,n=e.setSwitcher;return[{id:"linkHeader1",component:s.HeadingControl,label:(0,l.__)("Form Comment Link","gutenverse")},{id:"typographyLink",label:(0,l.__)("Link Typography","gutenverse"),component:s.TypographyControl},{id:"colorLink",label:(0,l.__)("Link Color","gutenverse"),component:s.ColorControl,liveStyle:{type:"color",id:"colorLink",selector:".".concat(t," .comment-form a"),properties:[{name:"color",valueType:"direct"}]}},{id:"marginLink",label:(0,l.__)("Link Margin","gutenverse"),component:s.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"},rem:{text:"rem",unit:"rem"}}},{id:"linkHeader2",component:s.HeadingControl,label:(0,l.__)("List Comment Link","gutenverse")},{id:"__linkType",component:s.SwitchControl,options:[{value:"userName",label:"User"},{value:"date",label:"Date"},{value:"reply",label:"Reply"}],onChange:function(e){var t=e.__linkType;return n(k(k({},o),{},{linkType:t}))}},{id:"userNameTypography",label:(0,l.__)("User Name Typography","gutenverse"),show:!o.linkType||"userName"===o.linkType,component:s.TypographyControl},{id:"userNameColor",label:(0,l.__)("User Name Color","gutenverse"),show:!o.linkType||"userName"===o.linkType,component:s.ColorControl,liveStyle:{type:"color",id:"userNameColor",selector:".".concat(t," .commentlist b.fn a.url"),properties:[{name:"color",valueType:"direct"}]}},{id:"dateTypography",label:(0,l.__)("Date Typography","gutenverse"),show:"date"===o.linkType,component:s.TypographyControl},{id:"dateColor",label:(0,l.__)("Date Color","gutenverse"),show:"date"===o.linkType,component:s.ColorControl,liveStyle:{type:"color",id:"dateColor",selector:".".concat(t," .commentlist .comment-metadata a time"),properties:[{name:"color",valueType:"direct"}]}},{id:"replyLinkTypography",label:(0,l.__)("Reply Typography","gutenverse"),show:"reply"===o.linkType,component:s.TypographyControl},{id:"replyLinkColor",label:(0,l.__)("Reply Color","gutenverse"),show:"reply"===o.linkType,component:s.ColorControl,liveStyle:{type:"color",id:"replyLinkColor",selector:".".concat(t," .commentlist .reply .comment-reply-link"),properties:[{name:"color",valueType:"direct"}]}}]},N=function(e){var t=e.elementId;return[{id:"typographyLabel",label:(0,l.__)("Label Typography","gutenverse"),component:s.TypographyControl},{id:"colorLabel",label:(0,l.__)("Label Color","gutenverse"),component:s.ColorControl,liveStyle:{type:"color",id:"colorLabel",selector:".".concat(t," label"),properties:[{name:"color",valueType:"direct"}]}},{id:"colorRequired",label:(0,l.__)("Required Indicator Color","gutenverse"),component:s.ColorControl,liveStyle:{type:"color",id:"colorRequired",selector:".".concat(t," label span"),properties:[{name:"color",valueType:"direct"}]}},{id:"marginLabel",label:(0,l.__)("Margin","gutenverse"),component:s.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"},rem:{text:"rem",unit:"rem"}}}]};function E(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function D(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?E(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):E(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var B=function(){return[{title:(0,l.__)("Setting","gutenverse"),panelArray:x,tabRole:s.TabSetting},{title:(0,l.__)("Heading Typography","gutenverse"),panelArray:_,tabRole:s.TabStyle},{title:(0,l.__)("Text Typography","gutenverse"),panelArray:O,tabRole:s.TabStyle},{title:(0,l.__)("Link Typography","gutenverse"),panelArray:P,tabRole:s.TabStyle},{title:(0,l.__)("Label Typography","gutenverse"),panelArray:N,tabRole:s.TabStyle},{title:(0,l.__)("Comment Inputs","gutenverse"),panelArray:h,tabRole:s.TabStyle},{title:(0,l.__)("Comment Main","gutenverse"),panelArray:f,tabRole:s.TabStyle},{title:(0,l.__)("Comment Reply","gutenverse"),panelArray:b,tabRole:s.TabStyle},{title:(0,l.__)("Avatar","gutenverse"),panelArray:u,tabRole:s.TabStyle},{title:(0,l.__)("Submit Button","gutenverse"),panelArray:g,tabRole:s.TabStyle},{title:(0,l.__)("Background","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,s.backgroundPanel)(D(D({},e),{},{styleId:"post-comment-background",normalOptions:["default","gradient"],hoverOptions:["default","gradient"]}))},tabRole:s.TabStyle},{title:(0,l.__)("Border","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,s.borderPanel)(D(D({},e),{},{styleId:"post-comment-border"}))},tabRole:s.TabStyle},{title:(0,l.__)("Masking","gutenverse"),initialOpen:!1,panelArray:s.maskPanel,tabRole:s.TabStyle},{title:(0,l.__)("Display","gutenverse"),initialOpen:!1,panelArray:s.responsivePanel,tabRole:s.TabSetting},{title:(0,l.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,s.animationPanel)(D(D({},e),{},{styleId:"post-comment-animation"}))},tabRole:s.TabSetting},{title:(0,l.__)("Transform","gutenverse"),initialOpen:!1,panelArray:s.transformPanel,pro:!0},{title:(0,l.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,s.advancePanel)(D(D({},e),{},{styleId:"post-comment-advance"}))},tabRole:s.TabSetting},{title:(0,l.__)("Condition","gutenverse"),panelArray:s.conditionPanel,initialOpen:!1,pro:!0}]},A=o(6087),H=o(2188),R=o(6826),I=o(790);const M=function(e){var t=e.showForm,o=void 0===t||t,n=e.enableSuffix,r=void 0===n||n,i=e.suffixMain,a=void 0===i?"says:":i,s=e.suffixReply,l=void 0===s?"relplied:":s,c=e.titleText,p=void 0===c?" Comments On ":c,u=e.enableCommentTitle,d=void 0===u||u,y=e.enableCommentCount,g=e.enablePostTitle;return(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)("div",{children:(0,I.jsx)("span",{children:"Below is an example view of the post comment if user is not logged in."})}),d&&(0,I.jsx)("div",{className:"guten-post-comment-title comment-title",children:(0,I.jsxs)("p",{className:"title-text",children:[y&&(0,I.jsx)("span",{className:"comment-count",children:"1"}),p,g&&(0,I.jsx)("span",{className:"comment-post-title",children:'`"`Post Title`"`'})]})}),(0,I.jsx)("ol",{className:"commentlist",children:(0,I.jsxs)("li",{id:"comment-1",className:"comment byuser comment-author-admin bypostauthor even thread-even depth-1",children:[(0,I.jsxs)("article",{id:"div-comment-2",className:"comment-body",children:[(0,I.jsxs)("footer",{className:"comment-meta",children:[(0,I.jsxs)("div",{className:"comment-author vcard",children:[(0,I.jsx)("img",{src:"https://secure.gravatar.com/avatar/436d1f5d097f14a6dd6f3bcf25f65a56?s=32&d=mm&r=g",srcSet:"https://secure.gravatar.com/avatar/436d1f5d097f14a6dd6f3bcf25f65a56?s=64&d=mm&r=g 2x",className:"avatar avatar-32 photo",height:"32",width:"32",loading:"lazy",decoding:"async"}),(0,I.jsx)("b",{className:"fn",children:(0,I.jsx)("a",{href:"#",onClick:function(e){return e.preventDefault()},rel:"external nofollow ugc",className:"url",children:"User"})}),r&&(0,I.jsxs)("span",{className:"says",children:[" ",a]})]}),(0,I.jsx)("div",{className:"comment-metadata",children:(0,I.jsx)("a",{href:"#",onClick:function(e){return e.preventDefault()},children:(0,I.jsx)("time",{dateTime:"2022-07-11T05:42:20+00:00",children:"01 January 2022 at 9:00 am"})})})]}),(0,I.jsx)("div",{className:"comment-content",children:(0,I.jsx)("p",{children:"This is my first comment"})}),(0,I.jsx)("div",{className:"reply",children:(0,I.jsx)("a",{rel:"nofollow",className:"comment-reply-link",href:"#",onClick:function(e){return e.preventDefault()},"data-commentid":"2","data-postid":"1","data-belowelement":"div-comment-2","data-respondelement":"respond","data-replyto":"Reply to admin","aria-label":"Reply to admin",children:"Reply"})})]}),(0,I.jsx)("ul",{className:"children",children:(0,I.jsx)("li",{id:"comment-40",className:"comment byuser comment-author-user bypostauthor odd alt depth-2",children:(0,I.jsxs)("article",{id:"div-comment-40",className:"comment-body",children:[(0,I.jsxs)("footer",{className:"comment-meta",children:[(0,I.jsxs)("div",{className:"comment-author vcard",children:[(0,I.jsx)("img",{src:"https://secure.gravatar.com/avatar/436d1f5d097f14a6dd6f3bcf25f65a56?s=32&d=mm&r=g",srcSet:"https://secure.gravatar.com/avatar/436d1f5d097f14a6dd6f3bcf25f65a56?s=64&d=mm&r=g 2x",className:"avatar avatar-32 photo",height:"32",width:"32",loading:"lazy",decoding:"async"}),(0,I.jsx)("b",{className:"fn",children:(0,I.jsx)("a",{href:"#",onClick:function(e){return e.preventDefault()},className:"url",rel:"ugc",children:"User"})}),r&&(0,I.jsxs)("span",{className:"says",children:[" ",l]})]}),(0,I.jsx)("div",{className:"comment-metadata",children:(0,I.jsx)("a",{href:"#",onClick:function(e){return e.preventDefault()},children:(0,I.jsx)("time",{dateTime:"2024-09-20T02:20:38+00:00",children:"01 January 2022 at 10:00 am"})})})]}),(0,I.jsx)("div",{className:"comment-content",children:(0,I.jsx)("p",{children:"this is my replay"})}),(0,I.jsx)("div",{className:"reply",children:(0,I.jsx)("a",{rel:"nofollow",className:"comment-reply-link",href:"#comment-40","data-commentid":"40","data-postid":"2175","data-belowelement":"div-comment-40","data-respondelement":"respond","data-replyto":"Reply to user","aria-label":"Reply to user",children:"Reply"})})]})})})]})}),o&&(0,I.jsx)("div",{className:"comment-form",children:(0,I.jsxs)("div",{id:"respond",className:"comment-respond",children:[(0,I.jsxs)("h3",{id:"reply-title",className:"comment-reply-title",children:["Leave a Reply ",(0,I.jsx)("small",{children:(0,I.jsx)("a",{rel:"nofollow",id:"cancel-comment-reply-link",href:"#",onClick:function(e){return e.preventDefault()},style:{display:"none"},children:"Cancel reply"})})]}),(0,I.jsxs)("div",{children:[(0,I.jsxs)("p",{className:"comment-notes",children:[(0,I.jsx)("span",{id:"email-notes",children:"Your email address will not be published."}),(0,I.jsxs)("span",{className:"required-field-message","aria-hidden":"true",children:["Required fields are marked",(0,I.jsx)("span",{className:"required","aria-hidden":"true",children:"*"})]})]}),(0,I.jsxs)("p",{className:"logged-in-as",children:["Logged in as admin. ",(0,I.jsx)("a",{href:"#",onClick:function(e){return e.preventDefault()},children:"Edit your profile"}),". ",(0,I.jsx)("a",{href:"#",onClick:function(e){return e.preventDefault()},children:"Log out?"}),(0,I.jsxs)("span",{className:"required-field-message",children:["Required fields are marked ",(0,I.jsx)("span",{className:"required",children:"*"})]})]}),(0,I.jsxs)("p",{className:"comment-form-comment",children:[(0,I.jsxs)("label",{htmlFor:"comment",children:["Comment",(0,I.jsx)("span",{className:"required","aria-hidden":"true",children:"*"})]}),(0,I.jsx)("textarea",{id:"comment",name:"comment",cols:"45",rows:"8",maxLength:"65525",required:""})]}),(0,I.jsxs)("p",{className:"comment-form-author",children:[(0,I.jsxs)("label",{htmlFor:"author",children:["Name",(0,I.jsx)("span",{className:"required","aria-hidden":"true",children:"*"})]}),(0,I.jsx)("input",{id:"author",name:"author",type:"text",defaultValue:"",size:"30",maxLength:"245",required:""})]}),(0,I.jsxs)("p",{className:"comment-form-email",children:[(0,I.jsxs)("label",{htmlFor:"email",children:["Email",(0,I.jsx)("span",{className:"required","aria-hidden":"true",children:"*"})]}),(0,I.jsx)("input",{id:"email",name:"email",type:"email",defaultValue:"",size:"30",maxLength:"100","aria-describedby":"email-notes",required:""})]}),(0,I.jsxs)("p",{className:"comment-form-url",children:[(0,I.jsx)("label",{htmlFor:"url",children:"Website"}),(0,I.jsx)("input",{id:"url",name:"url",type:"url",defaultValue:"",size:"30",maxLength:"200"})]}),(0,I.jsxs)("p",{className:"comment-form-cookies-consent",children:[(0,I.jsx)("input",{id:"wp-comment-cookies-consent",name:"wp-comment-cookies-consent",type:"checkbox",defaultValue:"yes"}),(0,I.jsx)("label",{htmlFor:"wp-comment-cookies-consent",children:"Save my name, email, and website in this browser for the next time I comment."})]}),(0,I.jsxs)("p",{className:"form-submit wp-block-button",children:[(0,I.jsx)("input",{name:"submit",type:"submit",id:"submit",value:"Post Comment"}),(0,I.jsx)("input",{type:"hidden",name:"comment_post_ID",defaultValue:"1",id:"comment_post_ID"}),(0,I.jsx)("input",{type:"hidden",name:"comment_parent",id:"comment_parent",defaultValue:"0"})]})]})]})})]})};var L=o(4404),z=o(1222),F=o(2619);const V=function(e,t){var o=[];return o=function(e,t,o){return(0,z.isNotEmpty)(t.avatarMargin)&&o.push({type:"dimension",id:"avatarMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e," .comment-author img.avatar")}),(0,z.isNotEmpty)(t.avatarBorder)&&o.push({type:"border",id:"avatarBorder",selector:".".concat(e," .comment-author img.avatar")}),(0,z.isNotEmpty)(t.avatarBorderResponsive)&&o.push({type:"borderResponsive",id:"avatarBorderResponsive",selector:".".concat(e," .comment-author img.avatar")}),o}(e,t,o),o=function(e,t,o){return(0,z.isNotEmpty)(t.typographyButton)&&o.push({type:"typography",id:"typographyButton",selector:".".concat(e,".guten-post-comment input[type=submit]")}),(0,z.isNotEmpty)(t.colorButton)&&o.push({type:"color",id:"colorButton",selector:".".concat(e,".guten-post-comment input[type=submit]"),properties:[{name:"color",valueType:"direct"}]}),(0,z.isNotEmpty)(t.bgcolorButton)&&o.push({type:"color",id:"bgcolorButton",selector:".".concat(e,".guten-post-comment input[type=submit]"),properties:[{name:"background-color",valueType:"direct"}]}),(0,z.isNotEmpty)(t.bggradientButton)&&o.push({type:"background",id:"bggradientButton",selector:".".concat(e,".guten-post-comment input[type=submit]")}),(0,z.isNotEmpty)(t.borderButton)&&o.push({type:"border",id:"borderButton",selector:".".concat(e,".guten-post-comment input[type=submit]")}),(0,z.isNotEmpty)(t.borderButtonResponsive)&&o.push({type:"borderResponsive",id:"borderButtonResponsive",selector:".".concat(e,".guten-post-comment input[type=submit]")}),(0,z.isNotEmpty)(t.marginButton)&&o.push({type:"dimension",id:"marginButton",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e,".guten-post-comment input[type=submit]")}),(0,z.isNotEmpty)(t.paddingButton)&&o.push({type:"dimension",id:"paddingButton",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e,".guten-post-comment input[type=submit]")}),(0,z.isNotEmpty)(t.colorButtonHover)&&o.push({type:"color",id:"colorButtonHover",selector:".".concat(e,".guten-post-comment input[type=submit]:hover"),properties:[{name:"color",valueType:"direct"}]}),(0,z.isNotEmpty)(t.bgcolorButtonHover)&&o.push({type:"color",id:"bgcolorButtonHover",selector:".".concat(e,".guten-post-comment input[type=submit]:hover"),properties:[{name:"background-color",valueType:"direct"}]}),(0,z.isNotEmpty)(t.bggradientButtonHover)&&o.push({type:"background",id:"bggradientButtonHover",selector:".".concat(e,".guten-post-comment input[type=submit]:hover")}),(0,z.isNotEmpty)(t.borderButtonHover)&&o.push({type:"border",id:"borderButtonHover",selector:".".concat(e,".guten-post-comment input[type=submit]:hover")}),(0,z.isNotEmpty)(t.borderButtonHoverResponsive)&&o.push({type:"borderResponsive",id:"borderButtonHoverResponsive",selector:".".concat(e,".guten-post-comment input[type=submit]:hover")}),(0,z.isNotEmpty)(t.marginButtonHover)&&o.push({type:"dimension",id:"marginButtonHover",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e,".guten-post-comment input[type=submit]:hover")}),(0,z.isNotEmpty)(t.paddingButtonHover)&&o.push({type:"dimension",id:"paddingButtonHover",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e,".guten-post-comment input[type=submit]:hover")}),o}(e,t,o),o=function(e,t,o){return(0,z.isNotEmpty)(t.inputTypography)&&o.push({type:"typography",id:"inputTypography",selector:".".concat(e," .comment-form input:not([type=submit]), .").concat(e," .comment-form textarea")}),(0,z.isNotEmpty)(t.inputBorder)&&o.push({type:"border",id:"inputBorder",selector:".".concat(e," .comment-form input:not([type=submit]), .").concat(e," .comment-form textarea")}),(0,z.isNotEmpty)(t.inputBorderResponsive)&&o.push({type:"borderResponsive",id:"inputBorderResponsive",selector:".".concat(e," .comment-form input:not([type=submit]), .").concat(e," .comment-form textarea")}),(0,z.isNotEmpty)(t.inputBorderHover)&&o.push({type:"border",id:"inputBorderHover",selector:".".concat(e," .comment-form input:not([type=submit]):hover, .").concat(e," .comment-form textarea:hover")}),(0,z.isNotEmpty)(t.inputBorderHoverResponsive)&&o.push({type:"borderResponsive",id:"inputBorderHoverResponsive",selector:".".concat(e," .comment-form input:not([type=submit]):hover, .").concat(e," .comment-form textarea:hover")}),(0,z.isNotEmpty)(t.inputBorderFocus)&&o.push({type:"border",id:"inputBorderFocus",selector:".".concat(e," .comment-form input:not([type=submit]):focus, .").concat(e," .comment-form textarea:focus")}),(0,z.isNotEmpty)(t.inputBorderFocusResponsive)&&o.push({type:"borderResponsive",id:"inputBorderFocusResponsive",selector:".".concat(e," .comment-form input:not([type=submit]):focus, .").concat(e," .comment-form textarea:focus")}),(0,z.isNotEmpty)(t.inputMargin)&&o.push({type:"dimension",id:"inputMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e," .comment-form input:not([type=submit]), .").concat(e," .comment-form textarea")}),(0,z.isNotEmpty)(t.inputPadding)&&o.push({type:"dimension",id:"inputPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e," .comment-form input:not([type=submit]), .").concat(e," .comment-form textarea")}),(0,z.isNotEmpty)(t.inputColorNormal)&&o.push({type:"color",id:"inputColorNormal",responsive:!0,selector:".".concat(e," .comment-form input:not([type=submit]), .").concat(e," .comment-form textarea"),properties:[{name:"color",valueType:"direct"}]}),(0,z.isNotEmpty)(t.inputBgColorNormal)&&o.push({type:"color",id:"inputBgColorNormal",responsive:!0,selector:".".concat(e," .comment-form input:not([type=submit]), .").concat(e," .comment-form textarea"),properties:[{name:"background-color",valueType:"direct"}]}),(0,z.isNotEmpty)(t.inputColorHover)&&o.push({type:"color",id:"inputColorHover",responsive:!0,selector:".".concat(e," .comment-form input:not([type=submit]):hover, .").concat(e," .comment-form textarea:hover"),properties:[{name:"color",valueType:"direct"}]}),(0,z.isNotEmpty)(t.inputBgColorHover)&&o.push({type:"color",id:"inputBgColorHover",responsive:!0,selector:".".concat(e," .comment-form input:not([type=submit]):hover, .").concat(e," .comment-form textarea:hover"),properties:[{name:"background-color",valueType:"direct"}]}),(0,z.isNotEmpty)(t.inputColorFocus)&&o.push({type:"color",id:"inputColorFocus",responsive:!0,selector:".".concat(e," .comment-form input:not([type=submit]):focus, .").concat(e," .comment-form textarea:focus, .").concat(e," .comment-form input:not([type=submit]):focus-visible, .").concat(e," .comment-form textarea:focus-visible"),properties:[{name:"color",valueType:"direct"}]}),(0,z.isNotEmpty)(t.inputBgColorFocus)&&o.push({type:"color",id:"inputBgColorFocus",responsive:!0,selector:".".concat(e," .comment-form input:not([type=submit]):focus, .").concat(e," .comment-form textarea:focus, .").concat(e," .comment-form input:not([type=submit]):focus-visible, .").concat(e," .comment-form textarea:focus-visible"),properties:[{name:"background-color",valueType:"direct"}]}),(0,z.isNotEmpty)(t.inputAreaBoxShadow)&&o.push({type:"boxShadow",id:"inputAreaBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e," .comment-form input:not([type=submit],[type=checkbox]), .").concat(e," .comment-form textarea")}),(0,z.isNotEmpty)(t.inputAreaBoxShadowHover)&&o.push({type:"boxShadow",id:"inputAreaBoxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e," .comment-form input:not([type=submit],[type=checkbox]):hover, .").concat(e," .comment-form textarea:hover")}),o}(e,t,o),o=function(e,t,o){return(0,z.isNotEmpty)(t.mainContainerBgColor)&&o.push({type:"color",id:"mainContainerBgColor",responsive:!0,selector:".".concat(e," .commentlist .comment.depth-1"),properties:[{name:"background-color",valueType:"direct"}]}),(0,z.isNotEmpty)(t.mainContainerMargin)&&o.push({type:"dimension",id:"mainContainerMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e," .commentlist .comment.depth-1")}),(0,z.isNotEmpty)(t.mainContainerPadding)&&o.push({type:"dimension",id:"mainContainerPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e," .commentlist .comment.depth-1")}),(0,z.isNotEmpty)(t.mainContainerBorder)&&o.push({type:"borderResponsive",id:"mainContainerBorder",selector:".".concat(e," .commentlist .comment.depth-1")}),(0,z.isNotEmpty)(t.mainBgColor)&&o.push({type:"color",id:"mainBgColor",responsive:!0,selector:".".concat(e," .commentlist .comment.depth-1 > .comment-body"),properties:[{name:"background-color",valueType:"direct"}]}),(0,z.isNotEmpty)(t.mainMargin)&&o.push({type:"dimension",id:"mainMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e," .commentlist .comment.depth-1 > .comment-body")}),(0,z.isNotEmpty)(t.mainPadding)&&o.push({type:"dimension",id:"mainPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e," .commentlist .comment.depth-1 > .comment-body")}),(0,z.isNotEmpty)(t.mainBorder)&&o.push({type:"borderResponsive",id:"mainBorder",selector:".".concat(e," .commentlist .comment.depth-1 > .comment-body")}),o}(e,t,o),o=function(e,t,o){return(0,z.isNotEmpty)(t.replyBgColor)&&o.push({type:"color",id:"replyBgColor",responsive:!0,selector:".".concat(e," .commentlist .comment .children"),properties:[{name:"background-color",valueType:"direct"}]}),(0,z.isNotEmpty)(t.replyMargin)&&o.push({type:"dimension",id:"replyMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e," .commentlist .comment .children")}),(0,z.isNotEmpty)(t.replyPadding)&&o.push({type:"dimension",id:"replyPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e," .commentlist .comment .children")}),(0,z.isNotEmpty)(t.replyBorder)&&o.push({type:"borderResponsive",id:"replyBorder",responsive:!0,selector:".".concat(e," .commentlist .comment .children")}),o}(e,t,o),o=function(e,t,o){return(0,z.isNotEmpty)(t.typographyHeading)&&o.push({type:"typography",id:"typographyHeading",selector:".".concat(e," h1, .").concat(e," h2, .").concat(e," h3, .").concat(e," h4, .").concat(e," h5, .").concat(e," h6")}),(0,z.isNotEmpty)(t.colorHeading)&&o.push({type:"color",id:"colorHeading",selector:".".concat(e," h1, .").concat(e," h2, .").concat(e," h3, .").concat(e," h4, .").concat(e," h5, .").concat(e," h6"),properties:[{name:"color",valueType:"direct"}]}),(0,z.isNotEmpty)(t.marginHeading)&&o.push({type:"dimension",id:"marginHeading",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e," h1, .").concat(e," h2, .").concat(e," h3, .").concat(e," h4, .").concat(e," h5, .").concat(e," h6, .").concat(e," .comment-reply-title")}),(0,z.isNotEmpty)(t.typographyCommentTitle)&&o.push({type:"typography",id:"typographyCommentTitle",selector:".".concat(e," .guten-post-comment-title p")}),(0,z.isNotEmpty)(t.colorCommentTitle)&&o.push({type:"color",id:"colorCommentTitle",selector:".".concat(e," .guten-post-comment-title p"),properties:[{name:"color",valueType:"direct"}]}),(0,z.isNotEmpty)(t.marginCommentTitle)&&o.push({type:"dimension",id:"marginCommentTitle",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e," .guten-post-comment-title")}),(0,z.isNotEmpty)(t.commentCountTypography)&&o.push({type:"typography",id:"commentCountTypography",selector:".".concat(e," .guten-post-comment-title p span.comment-count")}),(0,z.isNotEmpty)(t.commentCountColor)&&o.push({type:"color",id:"commentCountColor",selector:".".concat(e," .guten-post-comment-title p span.comment-count"),properties:[{name:"color",valueType:"direct"}]}),(0,z.isNotEmpty)(t.postTitleTypography)&&o.push({type:"typography",id:"postTitleTypography",selector:".".concat(e," .guten-post-comment-title p span.comment-post-title")}),(0,z.isNotEmpty)(t.postTitleColor)&&o.push({type:"color",id:"postTitleColor",selector:".".concat(e," .guten-post-comment-title p span.comment-post-title"),properties:[{name:"color",valueType:"direct"}]}),o}(e,t,o),o=function(e,t,o){return(0,z.isNotEmpty)(t.typographyLabel)&&o.push({type:"typography",id:"typographyLabel",selector:".".concat(e," label")}),(0,z.isNotEmpty)(t.colorLabel)&&o.push({type:"color",id:"colorLabel",selector:".".concat(e," label"),properties:[{name:"color",valueType:"direct"}]}),(0,z.isNotEmpty)(t.colorRequired)&&o.push({type:"color",id:"colorRequired",selector:".".concat(e," label span"),properties:[{name:"color",valueType:"direct"}]}),(0,z.isNotEmpty)(t.marginLabel)&&o.push({type:"dimension",id:"marginLabel",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e," label, .").concat(e," .comment-form-author label, .").concat(e," .comment-form-comment label, .").concat(e," .comment-form-email label, .").concat(e," .comment-form-url label")}),o}(e,t,o),o=function(e,t,o){return(0,z.isNotEmpty)(t.typographyLink)&&o.push({type:"typography",id:"typographyLink",selector:".".concat(e," .comment-form a")}),(0,z.isNotEmpty)(t.colorLink)&&o.push({type:"color",id:"colorLink",selector:".".concat(e," .comment-form a"),properties:[{name:"color",valueType:"direct"}]}),(0,z.isNotEmpty)(t.marginLink)&&o.push({type:"dimension",id:"marginLink",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e," .comment-form a")}),(0,z.isNotEmpty)(t.userNameTypography)&&o.push({type:"typography",id:"userNameTypography",selector:".".concat(e," .commentlist b.fn a.url")}),(0,z.isNotEmpty)(t.userNameColor)&&o.push({type:"color",id:"userNameColor",selector:".".concat(e," .commentlist b.fn a.url"),properties:[{name:"color",valueType:"direct"}]}),(0,z.isNotEmpty)(t.dateTypography)&&o.push({type:"typography",id:"dateTypography",selector:".".concat(e," .commentlist .comment-metadata a time")}),(0,z.isNotEmpty)(t.dateColor)&&o.push({type:"color",id:"dateColor",selector:".".concat(e," .commentlist .comment-metadata a time"),properties:[{name:"color",valueType:"direct"}]}),(0,z.isNotEmpty)(t.replyLinkTypography)&&o.push({type:"typography",id:"replyLinkTypography",selector:".".concat(e," .commentlist .reply .comment-reply-link")}),(0,z.isNotEmpty)(t.replyLinkColor)&&o.push({type:"color",id:"replyLinkColor",selector:".".concat(e," .commentlist .reply .comment-reply-link"),properties:[{name:"color",valueType:"direct"}]}),o}(e,t,o),o=function(e,t,o){return(0,z.isNotEmpty)(t.typographyText)&&o.push({type:"typography",id:"typographyText",selector:".".concat(e," .comment-form p")}),(0,z.isNotEmpty)(t.colorText)&&o.push({type:"color",id:"colorText",selector:".".concat(e," .comment-form p"),properties:[{name:"color",valueType:"direct"}]}),(0,z.isNotEmpty)(t.marginText)&&o.push({type:"dimension",id:"marginText",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e," .comment-form p")}),(0,z.isNotEmpty)(t.typographyTextList)&&o.push({type:"typography",id:"typographyTextList",selector:".".concat(e," .commentlist .comment p")}),(0,z.isNotEmpty)(t.colorTextList)&&o.push({type:"color",id:"colorTextList",selector:".".concat(e," .commentlist p"),properties:[{name:"color",valueType:"direct"}]}),(0,z.isNotEmpty)(t.marginTextList)&&o.push({type:"dimension",id:"marginTextList",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e," .commentlist .comment p")}),(0,z.isNotEmpty)(t.suffixTypography)&&o.push({type:"typography",id:"suffixTypography",selector:".".concat(e," span.says")}),(0,z.isNotEmpty)(t.suffixColor)&&o.push({type:"color",id:"suffixColor",selector:".".concat(e," span.says"),properties:[{name:"color",valueType:"direct"}]}),(0,z.isNotEmpty)(t.suffixMargin)&&o.push({type:"dimension",id:"suffixMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e," span.says")}),o}(e,t,o),o=(0,s.backgroundStyle)({attributes:t,data:o,elementId:e}),(0,z.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,z.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,z.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,z.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,z.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,z.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,z.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,z.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,z.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,z.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,z.isNotEmpty)(t.animation)&&(0,z.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,z.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,z.isNotEmpty)(t.positioningType)&&(0,z.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,z.isNotEmpty)(t.positioningWidth)&&(0,z.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,z.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,z.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,z.isNotEmpty)(t.positioningLeft)&&(0,z.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,z.isNotEmpty)(t.positioningRight)&&(0,z.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,z.isNotEmpty)(t.positioningTop)&&(0,z.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,z.isNotEmpty)(t.positioningBottom)&&(0,z.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),[].concat((0,L.A)(o),(0,L.A)((0,F.applyFilters)("gutenverse.post-comment.blockStyle",[],{elementId:e,attributes:t})))};function W(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function G(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?W(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):W(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const U=(0,r.compose)(H.withPartialRender)((function(e){var t=e.attributes,o=e.clientId,n=t.elementId,r=t.showForm,p=t.suffixMain,u=t.enableSuffix,d=t.suffixReply,y=t.enableCommentTitle,g=t.enablePostTitle,m=t.enableCommentCount,v=t.titleText,h=(0,R.useAnimationEditor)(t),b=(0,R.useDisplayEditor)(t),f=(0,A.useRef)(),x=(0,i.useBlockProps)({className:(0,a.classnames)("guten-element","guten-post-comment","no-margin",n,h,b),ref:f});return(0,c.useGenerateElementId)(o,n,f),(0,c.useDynamicStyle)(n,t,V,f),(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(a.CopyElementToolbar,G({},e)),(0,I.jsx)(i.InspectorControls,{children:(0,I.jsx)(s.PanelTutorial,{title:(0,l.__)("How Post Comment works?","gutenverse"),list:[{title:(0,l.__)("On Frontend","gutenverse"),description:(0,l.__)("Comment data will be fetched automatically based on the current post/loop.","gutenverse")},{title:(0,l.__)("Inside Page Editor and Site Editor","gutenverse"),description:(0,l.__)("It will load placeholder data.","gutenverse")}]})}),(0,I.jsx)(s.BlockPanelController,{panelList:B,props:e,elementRef:f}),(0,I.jsx)("div",G(G({},x),{},{children:(0,I.jsx)(M,{showForm:r,suffixMain:p,enableSuffix:u,suffixReply:d,enableCommentTitle:y,titleText:v,enablePostTitle:g,enableCommentCount:m})}))]})}));function q(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}const $=JSON.parse('{"apiVersion":2,"name":"gutenverse/post-comment","class_callback":"\\\\Gutenverse\\\\Block\\\\Post_Comment","title":"Post Comment","description":"Show comment section of a single post.","category":"gutenverse-post","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"postId":{"type":"string","default":0},"backendPostId":{"type":"string"},"showForm":{"type":"boolean","default":true},"enableSuffix":{"type":"boolean","default":true},"avatarMargin":{"type":"object","copyStyle":true},"avatarBorder":{"type":"object","copyStyle":true},"avatarBorderResponsive":{"type":"object","migrate":{"attr":"avatarBorder","type":"border"},"copyStyle":true},"suffixMain":{"type":"string","default":"says:"},"suffixReply":{"type":"string","default":"replied:"},"enableCommentTitle":{"type":"boolean","default":true},"titleText":{"type":"string","default":" Comments On "},"enablePostTitle":{"type":"boolean","default":true},"enableCommentCount":{"type":"boolean","default":true},"noContentText":{"type":"string","default":"No Content"},"typographyHeading":{"type":"object","copyStyle":true},"typographyLink":{"type":"object","copyStyle":true},"typographyLabel":{"type":"object","copyStyle":true},"colorHeading":{"type":"object","copyStyle":true},"colorLink":{"type":"object","copyStyle":true},"colorLabel":{"type":"object","copyStyle":true},"colorRequired":{"type":"object","copyStyle":true,"default":{"a":1,"r":255,"g":0,"b":0}},"marginHeading":{"type":"object","copyStyle":true},"typographyText":{"type":"object","copyStyle":true},"colorText":{"type":"object","copyStyle":true},"marginText":{"type":"object","copyStyle":true},"typographyTextList":{"type":"object","copyStyle":true},"colorTextList":{"type":"object","copyStyle":true},"marginTextList":{"type":"object","copyStyle":true},"suffixTypography":{"type":"object","copyStyle":true},"suffixColor":{"type":"object","copyStyle":true},"suffixMargin":{"type":"object","copyStyle":true},"typographyCommentTitle":{"type":"object","copyStyle":true},"colorCommentTitle":{"type":"object","copyStyle":true},"marginCommentTitle":{"type":"object","copyStyle":true},"commentCountTypography":{"type":"object","copyStyle":true},"commentCountColor":{"type":"object","copyStyle":true},"postTitleTypography":{"type":"object","copyStyle":true},"postTitleColor":{"type":"object","copyStyle":true},"marginLink":{"type":"object","copyStyle":true},"marginLabel":{"type":"object","copyStyle":true},"inputBorder":{"type":"object","copyStyle":true},"inputBorderResponsive":{"type":"object","migrate":{"attr":"inputBorder","type":"border"},"copyStyle":true},"inputBorderHover":{"type":"object","copyStyle":true},"inputBorderHoverResponsive":{"type":"object","migrate":{"attr":"inputBorderHover","type":"border"},"copyStyle":true},"inputBorderFocus":{"type":"object","copyStyle":true},"inputBorderFocusResponsive":{"type":"object","migrate":{"attr":"inputBorderFocus","type":"border"},"copyStyle":true},"typographyButton":{"type":"object","copyStyle":true},"marginButton":{"type":"object","copyStyle":true},"paddingButton":{"type":"object","copyStyle":true},"colorButton":{"type":"object","copyStyle":true},"bgcolorButton":{"type":"object","copyStyle":true},"bggradientButton":{"type":"object","copyStyle":true},"borderButton":{"type":"object","copyStyle":true},"borderButtonResponsive":{"type":"object","migrate":{"attr":"borderButton","type":"border"},"copyStyle":true},"colorButtonHover":{"type":"object","copyStyle":true},"bgcolorButtonHover":{"type":"object","copyStyle":true},"bggradientButtonHover":{"type":"object","copyStyle":true},"borderButtonHover":{"type":"object","copyStyle":true},"borderButtonHoverResponsive":{"type":"object","migrate":{"attr":"borderButtonHover","type":"border"},"copyStyle":true},"marginButtonHover":{"type":"object","copyStyle":true},"paddingButtonHover":{"type":"object","copyStyle":true},"background":{"type":"object","copyStyle":true},"backgroundHover":{"type":"object","copyStyle":true},"backgroundTransition":{"type":"object","copyStyle":true,"default":{}},"border":{"type":"object","copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"borderHover":{"type":"object","copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadowHover":{"type":"object","copyStyle":true},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"animation":{"type":"object","copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"transform":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"inputColorNormal":{"type":"object","copyStyle":true},"inputColorHover":{"type":"object","copyStyle":true},"inputColorFocus":{"type":"object","copyStyle":true},"inputBgColorNormal":{"type":"object","copyStyle":true},"inputBgColorHover":{"type":"object","copyStyle":true},"inputBgColorFocus":{"type":"object","copyStyle":true},"inputAreaBoxShadow":{"type":"object","copyStyle":true},"inputAreaBoxShadowHover":{"type":"object","copyStyle":true},"inputTypography":{"type":"object","copyStyle":true},"inputMargin":{"type":"object","copyStyle":true},"inputPadding":{"type":"object","copyStyle":true},"condition":{"type":"object","default":{}},"userNameTypography":{"type":"object","copyStyle":true},"userNameColor":{"type":"object","copyStyle":true},"userNameMargin":{"type":"object","copyStyle":true},"dateTypography":{"type":"object","copyStyle":true},"dateColor":{"type":"object","copyStyle":true},"dateMargin":{"type":"object","copyStyle":true},"replyLinkTypography":{"type":"object","copyStyle":true},"replyLinkColor":{"type":"object","copyStyle":true},"replyLinkMargin":{"type":"object","copyStyle":true},"replyBgColor":{"type":"object","copyStyle":true},"replyMargin":{"type":"object","copyStyle":true,"default":{"Desktop":{"unit":"px","dimension":{"top":"","right":"","bottom":"","left":"20"}}}},"replyPadding":{"type":"object","copyStyle":true},"replyBorder":{"type":"object","copyStyle":true},"mainBgColor":{"type":"object","copyStyle":true},"mainMargin":{"type":"object","copyStyle":true},"mainPadding":{"type":"object","copyStyle":true},"mainBorder":{"type":"object","copyStyle":true},"mainContainerBgColor":{"type":"object","copyStyle":true},"mainContainerMargin":{"type":"object","copyStyle":true},"mainContainerPadding":{"type":"object","copyStyle":true},"mainContainerBorder":{"type":"object","copyStyle":true}},"usesContext":["postId","postType"],"supports":{"className":false},"keywords":["post","comment"]}');var Y=o(4889),X=$.name,J={icon:(0,I.jsx)(Y.pZ,{}),edit:U,save:function(e){var t=e.attributes,o=t.elementId,r=(0,R.useAnimationFrontend)(t),s=(0,R.useDisplayFrontend)(t),l=(0,a.classnames)("guten-element","guten-post-comment",o,r,s);return(0,I.jsx)("div",function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?q(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):q(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},i.useBlockProps.save({className:l})))}}},6273:(e,t,o)=>{e=o.nmd(e);var n=o(8928),r=t&&!t.nodeType&&t,i=r&&e&&!e.nodeType&&e,a=i&&i.exports===r&&n.process,s=function(){try{return i&&i.require&&i.require("util").types||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},6304:e=>{"use strict";e.exports=gutenverseCore.requests},6356:(e,t,o)=>{var n=o(7382),r=o(2050),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,l=n(function(){return arguments}())?n:function(e){return r(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},6427:e=>{"use strict";e.exports=window.wp.components},6504:e=>{"use strict";e.exports=gutenverseCore.icons},6521:e=>{var t=Array.isArray;e.exports=t},6615:(e,t,o)=>{var n=o(2310)(o(8453),"Map");e.exports=n},6624:(e,t,o)=>{var n=o(4073),r=o(7915),i=o(4478),a=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?r(e):i(e)}},6689:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>p,name:()=>d,settings:()=>y});var n=o(6065),r=o(4715),i=o(3482),a=o(6087),s=o(790);function l(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function c(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?l(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):l(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const p=JSON.parse('{"apiVersion":2,"name":"gutenverse/tab","title":"Tab Item","description":"Create content inside a tab element","category":"gutenverse-element","parent":["gutenverse/tabs"],"example":{},"attributes":{"elementId":{"type":"string"},"tabId":{"type":"string"},"active":{"type":"boolean","default":false},"first":{"type":"boolean","default":false},"condition":{"type":"object","default":{}}},"variations":[],"supports":{"className":false,"html":false},"keywords":["tabs","accordion","gutenverse"]}');var u=o(4889),d=p.name,y={icon:(0,s.jsx)(u.jI,{}),edit:function(e){var t=e.attributes,o=t.active,n=t.tabId,l=(0,a.useRef)(),p=(0,i.classnames)("gutenverse-tab-item",{active:o}),u=(0,r.useInnerBlocksProps)({className:p},{template:[["core/paragraph"]]}),d=(0,i.classnames)("tab-".concat(n),"tab-body-item");return(0,s.jsx)("div",{className:d,"data-id":n,ref:l,children:(0,s.jsx)("div",c({},u))})},save:function(e){var t=e.attributes,o=t.tabId,n=t.first,a=(0,i.classnames)(o,"tab-body-item",{active:n});return(0,s.jsx)("div",{className:a,"data-id":o,children:(0,s.jsx)(r.InnerBlocks.Content,{})})}}},6730:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>h,name:()=>v,settings:()=>b});var n=o(4404),r=o(6065),i=o(7723),a=o(4597),s=o(9491),l=o(2188),c=o(9984),p=o(2449),u=o(4889),d=o(790);function y(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function g(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?y(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):y(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var m=(0,s.compose)(l.withPartialRender,(0,l.withCustomStyle)(a.d))((function(e){var t=g(g({},e),{},{shareType:"whatsapp",serverPath:"gutenverse/social-share-whatsapp"});return(0,d.jsx)(c.A,g({},t))})),v="gutenverse/social-share-whatsapp",h=g(g({},p),{},{title:(0,i.__)("Gutenverse Social Share Whatsapp","gutenverse"),description:(0,i.__)("Gutenverse Social Share Whatsapp","gutenverse"),attributes:g(g({},p.attributes),{},{text:{type:"string",default:(0,i.__)("Share on Whatsapp","gutenverse")}}),keywords:[].concat((0,n.A)(p.keywords),[(0,i.__)("whatsapp","gutenverse")])}),b={icon:(0,d.jsx)(u.p6,{}),edit:m}},6770:(e,t,o)=>{var n=o(6624),r=o(2050);e.exports=function(e){return"symbol"==typeof e||r(e)&&"[object Symbol]"==n(e)}},6813:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>H,name:()=>F,settings:()=>W});var n=o(6065),r=o(8930),i=o(596),a=o(7723),s=o(2619),l=o(790),c=function(e){var t=e.elementId,o=e.position,r=e.openTrigger,c=window.GutenverseConfig.gutenverseImgDir;return(0,s.applyFilters)("gutenverse.popup-builder.options",[{id:"hideAfterClosed",label:(0,a.__)("Don't Repeat Pop-Up","gutenverse"),description:(0,a.__)("Hide Pop-up After Shown Once "),component:i.CheckboxControl},{id:"width",label:(0,a.__)("Popup Container Width","gutenverse"),component:i.SizeControl,allowDeviceControl:!0,units:(0,n.A)({px:{text:"px",min:58,max:1440,step:1},vh:{text:"vh",min:5,max:100,step:1},vw:{text:"vw",min:5,max:100,step:1}},"%",{text:"%",min:1,max:100,step:1}),liveStyle:[{type:"unitPoint",id:"width",responsive:!0,properties:[{name:"width",valueType:"direct"}],selector:".guten-popup-builder.".concat(t," .guten-popup .guten-popup-content")}]},{id:"maxHeight",label:(0,a.__)("Popup Container Max Height","gutenverse"),component:i.SizeControl,show:"center"===o,allowDeviceControl:!0,units:(0,n.A)({vh:{text:"vh",min:5,max:100,step:1}},"%",{text:"%",min:1,max:100,step:1}),liveStyle:[{type:"unitPoint",id:"maxHeight",responsive:!0,properties:[{name:"max-height",valueType:"direct"}],selector:".".concat(t," .guten-popup-center .guten-popup-content")}]},{id:"position",label:(0,a.__)("Popup Position","gutenverse"),component:i.ImageRadioControl,options:[{image:(0,l.jsx)("img",{src:"".concat(c,"/popup-builder-1.png")}),value:"left"},{image:(0,l.jsx)("img",{src:"".concat(c,"/popup-builder-2.png")}),value:"center"},{image:(0,l.jsx)("img",{src:"".concat(c,"/popup-builder-3.png")}),value:"right"}]},{id:"contentPosition",label:(0,a.__)("Content Position","gutenverse"),show:"center"===o,component:i.ImageRadioControl,options:[{image:(0,l.jsx)("img",{src:"".concat(c,"/popup-builder-4.png")}),value:"start"},{image:(0,l.jsx)("img",{src:"".concat(c,"/popup-builder-5.png")}),value:"center"},{image:(0,l.jsx)("img",{src:"".concat(c,"/popup-builder-6.png")}),value:"end"}]},{id:"sideMode",label:(0,a.__)("Content Mode","gutenverse"),show:"center"!==o,component:i.ImageRadioControl,options:[{image:(0,l.jsx)("img",{src:"".concat(c,"/popup-builder-7.png")}),value:"space"},{image:(0,l.jsx)("img",{src:"".concat(c,"/popup-builder-8.png")}),value:"center"},{image:(0,l.jsx)("img",{src:"".concat(c,"/popup-builder-9.png")}),value:"top"},{image:(0,l.jsx)("img",{src:"".concat(c,"/popup-builder-10.png")}),value:"bottom"}]},{id:"openTrigger",label:(0,a.__)("Open Trigger"),component:i.SelectControl,options:[{label:(0,a.__)("On Load","gutenverse"),value:"load"},{label:(0,a.__)("On Anchor Click","gutenverse"),value:"anchor",pro:!0,description:(0,a.__)("When a user clicks on an anchor link, a pop-up can appear on the screen to display additional content or provide a specific call to action. ","gutenverse")},{label:(0,a.__)("On Anchor Hover","gutenverse"),value:"anchorHover",pro:!0,description:(0,a.__)("When a user hover on an anchor link, a pop-up can appear on the screen to display additional content or provide a specific call to action. ","gutenverse")},{label:(0,a.__)("On Scroll","gutenverse"),value:"scroll",pro:!0,description:(0,a.__)("Pop-ups that appear when a user scrolls down a web page can be an effective way to grab their attention and encourage engagement.","gutenverse")},{label:(0,a.__)("On Exit Intent","gutenverse"),value:"exit",pro:!0,description:(0,a.__)("Pop-ups that appear on exit intent are a type of pop-up that is triggered when a user attempts to leave a web page.","gutenverse")}]},{id:"openWaitTime",label:(0,a.__)("Wait Time (ms)","gutenverse"),component:i.RangeControl,show:"load"===r,min:0,max:5e3,step:1,isParseFloat:!0}],e)},p=function(e){var t=e.elementId;return[{id:"overlayColor",label:(0,a.__)("Overlay Background","gutenverse"),component:i.BackgroundControl,options:["default","gradient"],liveStyle:[{type:"background",id:"overlayColor",selector:".".concat(t,".guten-popup-builder .guten-popup-overlay")}]}]},u=o(5255);function d(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function y(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?d(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):d(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var g=function(e){var t=e.elementId,o=e.showCloseButton,r=e.switcher,s=e.setSwitcher,l=(0,u.getDeviceType)();return[{id:"closePopupOverlay",label:(0,a.__)("Click overlay to close","gutenverse"),description:(0,a.__)("Enable this option to close popup when overlay clicked."),component:i.CheckboxControl},{id:"showCloseButton",label:(0,a.__)("Show Close Button","gutenverse"),description:(0,a.__)("Show close button "),component:i.CheckboxControl},{id:"closePosition",label:(0,a.__)("Close Position","gutenverse"),show:o,component:i.SelectControl,options:[{label:(0,a.__)("Overlay","gutenverse"),value:"overlay"},{label:(0,a.__)("Container","gutenverse"),value:"container"}]},{id:"closeIcon",label:(0,a.__)("Close Icon","gutenverse"),show:o,component:i.IconControl},{id:"closeButtonSize",label:(0,a.__)("Close icons size","gutenverse"),component:i.RangeControl,show:o,allowDeviceControl:!0,unit:"px",min:1,max:200,step:1,liveStyle:[{type:"plain",id:"closeButtonSize",responsive:!0,properties:[{name:"font-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}],selector:".".concat(t,".guten-popup-builder .guten-popup-close i")}]},{id:"closePositioningLeft",label:(0,a.__)("Left Orientation","gutenverse"),component:i.SizeControl,show:o,allowDeviceControl:!0,units:(0,n.A)((0,n.A)((0,n.A)({px:{text:"px",min:-1e3,max:1e3,step:1,unit:"px"}},"%",{text:"%",min:-200,max:200,step:1,unit:"%"}),"vw",{text:"vw",min:-200,max:200,step:1,unit:"vw"}),"vh",{text:"vw",min:-200,max:200,step:1,unit:"vw"}),liveStyle:[{type:"unitPoint",id:"closePositioningLeft",responsive:!0,properties:[{name:"left",valueType:"direct"}],selector:".".concat(t,".guten-popup-builder .guten-popup-close")}]},{id:"closePositioningRight",label:(0,a.__)("Right Orientation","gutenverse"),component:i.SizeControl,show:o,allowDeviceControl:!0,units:(0,n.A)((0,n.A)((0,n.A)({px:{text:"px",min:-1e3,max:1e3,step:1,unit:"px"}},"%",{text:"%",min:-200,max:200,step:1,unit:"%"}),"vw",{text:"vw",min:-200,max:200,step:1,unit:"vw"}),"vh",{text:"vw",min:-200,max:200,step:1,unit:"vw"}),liveStyle:[{type:"unitPoint",id:"closePositioningRight",responsive:!0,properties:[{name:"right",valueType:"direct"}],selector:".".concat(t,".guten-popup-builder .guten-popup-close")}]},{id:"closePositioningTop",label:(0,a.__)("Top Orientation","gutenverse"),component:i.SizeControl,show:o,allowDeviceControl:!0,units:(0,n.A)((0,n.A)((0,n.A)({px:{text:"px",min:-1e3,max:1e3,step:1,unit:"px"}},"%",{text:"%",min:-200,max:200,step:1,unit:"%"}),"vw",{text:"vw",min:-200,max:200,step:1,unit:"vw"}),"vh",{text:"vw",min:-200,max:200,step:1,unit:"vw"}),liveStyle:[{type:"unitPoint",id:"closePositioningTop",responsive:!0,properties:[{name:"top",valueType:"direct"}],selector:".".concat(t,".guten-popup-builder .guten-popup-close")}]},{id:"closePositioningBottom",label:(0,a.__)("Bottom Orientation","gutenverse"),component:i.SizeControl,show:o,allowDeviceControl:!0,units:(0,n.A)((0,n.A)((0,n.A)({px:{text:"px",min:-1e3,max:1e3,step:1,unit:"px"}},"%",{text:"%",min:-200,max:200,step:1,unit:"%"}),"vw",{text:"vw",min:-200,max:200,step:1,unit:"vw"}),"vh",{text:"vw",min:-200,max:200,step:1,unit:"vw"}),liveStyle:[{type:"unitPoint",id:"closePositioningBottom",responsive:!0,properties:[{name:"bottom",valueType:"direct"}],selector:".".concat(t,".guten-popup-builder .guten-popup-close")}]},{id:"closePadding",label:(0,a.__)("Padding","gutenverse"),component:i.DimensionControl,allowDeviceControl:!0,show:o,position:["top","right","bottom","left"],units:(0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"__closeSwitch",component:i.SwitchControl,show:o,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__closeSwitch;return s(y(y({},r),{},{closeSwitch:t}))}},{id:"closeButtonColor",label:(0,a.__)("Close Icon Color","gutenverse"),show:o&&(!r.closeSwitch||"normal"===r.closeSwitch),component:i.ColorControl,allowDeviceControl:!0,liveStyle:[{type:"color",id:"closeButtonColor",responsive:!0,selector:".".concat(t,".guten-popup-builder .guten-popup .guten-popup-close i"),properties:[{name:"color",valueType:"direct"}]}]},{id:"closeButtonBgColor",component:i.BackgroundControl,show:o&&(!r.closeSwitch||"normal"===r.closeSwitch),label:(0,a.__)("Close Icon Background Color","gutenverse"),options:["default","gradient"],liveStyle:[{type:"background",id:"closeButtonBgColor",selector:".".concat(t,".guten-popup-builder .guten-popup-close")}]},{id:"closeBorder",show:"Desktop"===l&&o&&(!r.closeSwitch||"normal"===r.closeSwitch),label:(0,a.__)("Border","gutenverse"),component:i.BorderControl,liveStyle:[{type:"border",id:"closeBorder",selector:".".concat(t,".guten-popup-builder .guten-popup .guten-popup-close")}]},{id:"closeBorderResponsive",show:"Desktop"!==l&&o&&(!r.closeSwitch||"normal"===r.closeSwitch),label:(0,a.__)("Border","gutenverse"),component:i.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"closeBorderResponsive",selector:".".concat(t,".guten-popup-builder .guten-popup .guten-popup-close")}]},{id:"closeBoxShadow",label:(0,a.__)("Box Shadow","gutenverse"),component:i.BoxShadowControl,show:o&&(!r.closeSwitch||"normal"===r.closeSwitch),liveStyle:[{type:"boxShadow",id:"closeBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t,".guten-popup-builder .guten-popup .guten-popup-close")}]},{id:"closeButtonColorHover",label:(0,a.__)("Close Icon Color","gutenverse"),show:o&&r.closeSwitch&&"hover"===r.closeSwitch,component:i.ColorControl,allowDeviceControl:!0,liveStyle:[{type:"color",id:"closeButtonColorHover",responsive:!0,selector:".".concat(t,".guten-popup-builder .guten-popup .guten-popup-close:hover i"),properties:[{name:"color",valueType:"direct"}]}]},{id:"closeButtonBgColorHover",component:i.BackgroundControl,show:o&&r.closeSwitch&&"hover"===r.closeSwitch,label:(0,a.__)("Close Icon Background Color","gutenverse"),options:["default","gradient"],liveStyle:[{type:"background",id:"closeButtonBgColorHover",selector:".".concat(t,".guten-popup-builder .guten-popup-close:hover")}]},{id:"closeBorderHover",show:o&&r.closeSwitch&&"hover"===r.closeSwitch&&"Desktop"===l,label:(0,a.__)("Border","gutenverse"),component:i.BorderControl,liveStyle:[{type:"border",id:"closeBorderHover",selector:".".concat(t,".guten-popup-builder .guten-popup .guten-popup-close:hover")}]},{id:"closeBorderHoverResponsive",show:o&&r.closeSwitch&&"hover"===r.closeSwitch&&"Desktop"!==l,label:(0,a.__)("Border","gutenverse"),component:i.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"closeBorderHoverResponsive",selector:".".concat(t,".guten-popup-builder .guten-popup .guten-popup-close:hover")}]},{id:"closeBoxShadowHover",label:(0,a.__)("Box Shadow","gutenverse"),component:i.BoxShadowControl,show:o&&r.closeSwitch&&"hover"===r.closeSwitch,liveStyle:[{type:"boxShadow",id:"closeBoxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t,".guten-popup-builder .guten-popup .guten-popup-close:hover")}]}]},m=function(e){var t=e.elementId,o=(0,u.getDeviceType)();return[{id:"containerPadding",label:(0,a.__)("Padding","gutenverse"),component:i.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"backgroundColor",label:(0,a.__)("Background","gutenverse"),component:i.BackgroundControl,options:["default","gradient"],liveStyle:[{type:"background",id:"backgroundColor",selector:".".concat(t,".guten-popup-builder .guten-popup .guten-popup-content")}]},{id:"containerBorder",show:"Desktop"===o,label:(0,a.__)("Border","gutenverse"),component:i.BorderControl,liveStyle:[{type:"border",id:"containerBorder",selector:".".concat(t,".guten-popup-builder .guten-popup .guten-popup-content")}]},{id:"containerBorderResponsive",show:"Desktop"!==o,label:(0,a.__)("Border","gutenverse"),component:i.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"containerBorderResponsive",selector:".".concat(t,".guten-popup-builder .guten-popup .guten-popup-content")}]},{id:"containerBoxShadow",label:(0,a.__)("Box Shadow","gutenverse"),component:i.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"containerBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t,".guten-popup-builder .guten-popup .guten-popup-content")}]}]};function v(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function h(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?v(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):v(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var b=function(){return[{title:(0,a.__)("Popup","gutenverse"),panelArray:c,tabRole:i.TabSetting},{title:(0,a.__)("Container","gutenverse"),panelArray:m,tabRole:i.TabStyle},{title:(0,a.__)("Overlay","gutenverse"),panelArray:p,tabRole:i.TabStyle},{title:(0,a.__)("Close","gutenverse"),panelArray:g,tabRole:i.TabSetting},{title:(0,a.__)("Display","gutenverse"),initialOpen:!1,panelArray:i.responsivePanel,tabRole:i.TabSetting},{title:(0,a.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,i.animationPanel)(h(h({},e),{},{styleId:"popup-builder-animation"}))},tabRole:i.TabSetting},{title:(0,a.__)("Transform","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,i.transformPanel)(h(h({},e),{},{selector:".".concat(e.elementId," .guten-popup-content"),hoverSelector:".".concat(e.elementId," .guten-popup-content:hover")}))},pro:!0},{title:(0,a.__)("Mouse Move Effect","gutenverse"),initialOpen:!1,panelArray:i.mouseMoveEffectPanel,tabRole:i.TabSetting,pro:!0},{title:(0,a.__)("Masking","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,i.maskPanel)(h(h({},e),{},{selector:".".concat(e.elementId," .guten-popup-content")}))},tabRole:i.TabStyle},{title:(0,a.__)("Condition","gutenverse"),panelArray:i.conditionPanel,initialOpen:!1,pro:!0}]},f=o(6087),x=o(4715),w=o(3482),S=o(6826),_=o(4320),j=o(4404),T=o(1222);const O=function(e,t){var o=[];return o=function(e,t,o){return(0,T.isNotEmpty)(t.closeButtonSize)&&o.push({type:"plain",id:"closeButtonSize",responsive:!0,properties:[{name:"font-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}],selector:".".concat(e,".guten-popup-builder .guten-popup-close i")}),(0,T.isNotEmpty)(t.closePositioningLeft)&&o.push({type:"unitPoint",id:"closePositioningLeft",responsive:!0,properties:[{name:"left",valueType:"direct"}],selector:".".concat(e,".guten-popup-builder .guten-popup-close")}),(0,T.isNotEmpty)(t.closePositioningBottom)&&o.push({type:"unitPoint",id:"closePositioningBottom",responsive:!0,properties:[{name:"bottom",valueType:"direct"}],selector:".".concat(e,".guten-popup-builder .guten-popup-close")}),(0,T.isNotEmpty)(t.closePositioningRight)&&o.push({type:"unitPoint",id:"closePositioningRight",responsive:!0,properties:[{name:"right",valueType:"direct"}],selector:".".concat(e,".guten-popup-builder .guten-popup-close")}),(0,T.isNotEmpty)(t.closePositioningTop)&&o.push({type:"unitPoint",id:"closePositioningTop",responsive:!0,properties:[{name:"top",valueType:"direct"}],selector:".".concat(e,".guten-popup-builder .guten-popup-close")}),(0,T.isNotEmpty)(t.closePadding)&&o.push({type:"dimension",id:"closePadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e,".guten-popup-builder .guten-popup .guten-popup-close")}),(0,T.isNotEmpty)(t.closeButtonColor)&&o.push({type:"color",id:"closeButtonColor",responsive:!0,selector:".".concat(e,".guten-popup-builder .guten-popup .guten-popup-close i"),properties:[{name:"color",valueType:"direct"}]}),(0,T.isNotEmpty)(t.closeButtonBgColor)&&o.push({type:"background",id:"closeButtonBgColor",selector:".".concat(e,".guten-popup-builder .guten-popup-close")}),(0,T.isNotEmpty)(t.closeBorder)&&o.push({type:"border",id:"closeBorder",selector:".".concat(e,".guten-popup-builder .guten-popup .guten-popup-close")}),(0,T.isNotEmpty)(t.closeBorderResponsive)&&o.push({type:"borderResponsive",id:"closeBorderResponsive",selector:".".concat(e,".guten-popup-builder .guten-popup .guten-popup-close")}),(0,T.isNotEmpty)(t.closeBoxShadow)&&o.push({type:"boxShadow",id:"closeBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e,".guten-popup-builder .guten-popup .guten-popup-close")}),(0,T.isNotEmpty)(t.closeButtonColorHover)&&o.push({type:"color",id:"closeButtonColorHover",responsive:!0,selector:".".concat(e,".guten-popup-builder .guten-popup .guten-popup-close:hover i"),properties:[{name:"color",valueType:"direct"}]}),(0,T.isNotEmpty)(t.closeButtonBgColorHover)&&o.push({type:"background",id:"closeButtonBgColorHover",selector:".".concat(e,".guten-popup-builder .guten-popup-close:hover")}),(0,T.isNotEmpty)(t.closeBorderHover)&&o.push({type:"border",id:"closeBorderHover",selector:".".concat(e,".guten-popup-builder .guten-popup .guten-popup-close:hover")}),(0,T.isNotEmpty)(t.closeBorderHoverResponsive)&&o.push({type:"borderResponsive",id:"closeBorderHoverResponsive",selector:".".concat(e,".guten-popup-builder .guten-popup .guten-popup-close:hover")}),(0,T.isNotEmpty)(t.closeBoxShadowHover)&&o.push({type:"boxShadow",id:"closeBoxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e,".guten-popup-builder .guten-popup .guten-popup-close:hover")}),o}(e,t,o),o=function(e,t,o){return(0,T.isNotEmpty)(t.containerPadding)&&o.push({type:"dimension",id:"containerPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e,".guten-popup-builder .guten-popup .guten-popup-content")}),(0,T.isNotEmpty)(t.containerPadding)&&o.push({type:"plain",id:"containerPadding",responsive:!0,properties:[{name:"min-height",valueType:"function",functionName:"handleContainerPaddingPopup"}],selector:".".concat(e,".guten-popup-builder .guten-popup-left .guten-popup-container, .").concat(e,".guten-popup-builder .guten-popup-right .guten-popup-container")}),(0,T.isNotEmpty)(t.backgroundColor)&&o.push({type:"background",id:"backgroundColor",selector:".".concat(e,".guten-popup-builder .guten-popup .guten-popup-content")}),(0,T.isNotEmpty)(t.containerBorder)&&o.push({type:"border",id:"containerBorder",selector:".".concat(e,".guten-popup-builder .guten-popup .guten-popup-content")}),(0,T.isNotEmpty)(t.containerBorderResponsive)&&o.push({type:"borderResponsive",id:"containerBorderResponsive",selector:".".concat(e,".guten-popup-builder .guten-popup .guten-popup-content")}),(0,T.isNotEmpty)(t.containerBoxShadow)&&o.push({type:"boxShadow",id:"containerBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e,".guten-popup-builder .guten-popup .guten-popup-content")}),o}(e,t,o),o=function(e,t,o){return(0,T.isNotEmpty)(t.overlayColor)&&o.push({type:"background",id:"overlayColor",selector:".".concat(e,".guten-popup-builder .guten-popup-overlay")}),o}(e,t,o),o=function(e,t,o){return(0,T.isNotEmpty)(t.width)&&o.push({type:"unitPoint",id:"width",responsive:!0,properties:[{name:"width",valueType:"direct"}],selector:".guten-popup-builder.".concat(e," .guten-popup .guten-popup-content")}),(0,T.isNotEmpty)(t.maxHeight)&&"center"===t.position&&o.push({type:"unitPoint",id:"maxHeight",responsive:!0,properties:[{name:"max-height",valueType:"direct"}],selector:".".concat(e," .guten-popup-center .guten-popup-content")}),o}(e,t,o),(0,T.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,T.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,T.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,T.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,T.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,T.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,T.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,T.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,T.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,T.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,T.isNotEmpty)(t.animation)&&(0,T.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,T.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,T.isNotEmpty)(t.positioningType)&&(0,T.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,T.isNotEmpty)(t.positioningWidth)&&(0,T.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,T.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,T.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,T.isNotEmpty)(t.positioningLeft)&&(0,T.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,T.isNotEmpty)(t.positioningRight)&&(0,T.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,T.isNotEmpty)(t.positioningTop)&&(0,T.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,T.isNotEmpty)(t.positioningBottom)&&(0,T.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),[].concat((0,j.A)(o),(0,j.A)((0,s.applyFilters)("gutenverse.popup-builder.blockStyle",[],{elementId:e,attributes:t})))};function C(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function k(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?C(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):C(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var P=o(9491),N=o(2188);function E(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function D(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?E(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):E(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var B=(0,P.compose)(N.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,n=t.contentPosition,r=t.position,i=t.sideMode,a=t.closeIcon,s=t.openTrigger,c=t.openWaitTime,p=t.openScrollDistance,u=t.openAnchor,d=t.openMaxClick,y=t.showCloseButton,g=t.closePosition,m=t.closePopupOverlay,v=t.hideAfterClosed,h=(0,S.useAnimationFrontend)(t),b=(0,S.useDisplayFrontend)(t),f=x.useBlockProps.save({className:(0,w.classnames)("guten-element","guten-popup-builder",o,b),"data-trigger":s,"data-wait":isNaN(c)?void 0:c,"data-hide":v?"hide-"+o:void 0,"data-scroll":isNaN(p)?void 0:p,"data-anchor":u,"data-max-click":isNaN(d)?void 0:d,"data-close-overlay":m});return(0,l.jsx)("div",D(D({},f),{},{children:(0,l.jsxs)("div",{className:(0,w.classnames)("guten-popup","guten-popup-".concat(r),"guten-popup-side-".concat(i)),children:[(0,l.jsx)("div",{className:"guten-popup-overlay"}),y&&"overlay"===g&&(0,l.jsx)("div",{className:"guten-popup-close",children:(0,l.jsx)("i",{className:a})}),(0,l.jsx)("div",{className:(0,w.classnames)("guten-popup-wrapper","guten-popup-wrapper-".concat(n)),children:(0,l.jsxs)("div",{className:(0,w.classnames)("guten-popup-content",h),children:[y&&"container"===g&&(0,l.jsx)("div",{className:"guten-popup-close",children:(0,l.jsx)("i",{className:a})}),(0,l.jsx)("div",{className:"guten-popup-container",children:(0,l.jsx)(x.InnerBlocks.Content,{})})]})})]})}))}));const A=B,H=JSON.parse('{"apiVersion":2,"name":"gutenverse/popup-builder","title":"Popup Builder","description":"Build Popup using gutenverse popup builder.","category":"gutenverse-structure","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"mouseMoveEffect":{"type":"object","copyStyle":true},"width":{"type":"object","default":{"Desktop":{"point":"450","unit":"px"},"Tablet":{"point":"450","unit":"px"},"Mobile":{"point":"100","unit":"%"}},"copyStyle":true},"maxHeight":{"type":"object","copyStyle":true},"containerPadding":{"type":"object","copyStyle":true},"containerBorder":{"type":"object","copyStyle":true},"containerBorderResponsive":{"type":"object","migrate":{"attr":"containerBorder","type":"border"},"copyStyle":true},"containerBoxShadow":{"type":"object","copyStyle":true},"backgroundColor":{"type":"object","copyStyle":true},"animation":{"type":"object","default":{},"copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"position":{"type":"string","default":"center","copyStyle":true},"contentPosition":{"type":"string","default":"center","copyStyle":true},"sideMode":{"type":"string","default":"space","copyStyle":true},"overlayColor":{"type":"object","copyStyle":true},"showCloseButton":{"type":"boolean","default":true},"hideAfterClosed":{"type":"boolean","default":false},"closePopupOverlay":{"type":"boolean","default":true},"closeIcon":{"type":"string","default":"gtn gtn-x-line"},"closePosition":{"type":"string","default":"container","copyStyle":true},"closeButtonColor":{"type":"object","copyStyle":true},"closeButtonBgColor":{"type":"object","copyStyle":true},"closeButtonSize":{"type":"object","copyStyle":true},"closePositioningLeft":{"type":"object","copyStyle":true},"closePositioningRight":{"type":"object","default":{"Desktop":{"point":10,"unit":"px"}},"copyStyle":true},"closePositioningTop":{"type":"object","default":{"Desktop":{"point":10,"unit":"px"}},"copyStyle":true},"closePositioningBottom":{"type":"object","copyStyle":true},"closePadding":{"type":"object","copyStyle":true},"closeBorder":{"type":"object","copyStyle":true},"closeBorderResponsive":{"type":"object","migrate":{"attr":"closeBorder","type":"border"},"copyStyle":true},"closeBoxShadow":{"type":"object","copyStyle":true},"closeButtonColorHover":{"type":"object","copyStyle":true},"closeButtonBgColorHover":{"type":"object","copyStyle":true},"closeBorderHover":{"type":"object","copyStyle":true},"closeBorderHoverResponsive":{"type":"object","migrate":{"attr":"closeBorderHover","type":"border"},"copyStyle":true},"closeBoxShadowHover":{"type":"object","copyStyle":true},"openTrigger":{"type":"string","default":"load"},"openWaitTime":{"type":"integer"},"openScrollDistance":{"type":"integer"},"openAnchor":{"type":"string"},"openMaxClick":{"type":"integer"},"transform":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"condition":{"type":"object","default":{}}},"supports":{"className":false},"keywords":["popup","builder"]}');var R=o(4889),I=(0,P.compose)(N.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,n=t.contentPosition,r=t.position,i=t.sideMode,a=t.closeIcon,s=t.openTrigger,c=t.openWaitTime,p=t.openScrollDistance,u=t.openAnchor,d=t.openMaxClick,y=t.showCloseButton,g=t.closePosition,m=t.closePopupOverlay,v=t.hideAfterClosed,h=(0,S.useAnimationFrontend)(t),b=(0,S.useDisplayFrontend)(t),f=(0,w.classnames)("guten-element","guten-popup-builder",o,b);return(0,l.jsx)("div",{className:f,"data-trigger":s,"data-wait":c,"data-hide":v?"hide-"+o:void 0,"data-scroll":p,"data-anchor":u,"data-max-click":d,"data-close-overlay":m,children:(0,l.jsxs)("div",{className:(0,w.classnames)("guten-popup","guten-popup-".concat(r),"guten-popup-side-".concat(i)),children:[(0,l.jsx)("div",{className:"guten-popup-overlay"}),y&&"overlay"===g&&(0,l.jsx)("div",{className:"guten-popup-close",children:(0,l.jsx)("i",{className:a})}),(0,l.jsx)("div",{className:(0,w.classnames)("guten-popup-wrapper","guten-popup-wrapper-".concat(n)),children:(0,l.jsxs)("div",{className:(0,w.classnames)("guten-popup-content",h),children:[y&&"container"===g&&(0,l.jsx)("div",{className:"guten-popup-close",children:(0,l.jsx)("i",{className:a})}),(0,l.jsx)("div",{className:"guten-popup-container",children:(0,l.jsx)(x.InnerBlocks.Content,{})})]})})]})})}));const M=I;function L(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function z(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?L(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):L(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var F=H.name,V=H.attributes,W={icon:(0,l.jsx)(R.jJ,{}),example:{innerBlocks:[]},edit:function(e){var t=e.attributes,o=e.clientId,n=t.elementId,s=t.position,c=t.contentPosition,p=t.sideMode,d=t.closePopupOverlay,y=t.showCloseButton,g=t.closeIcon,m=t.closePosition,v=(0,f.useState)(!1),h=(0,r.A)(v,2),j=h[0],T=h[1],C=(0,S.useAnimationEditor)(t),P=(0,S.useDisplayEditor)(t),N=(0,f.useRef)(),E=(0,f.useRef)(),D=(0,u.getDeviceType)();(0,_.useGenerateElementId)(o,n,N),(0,_.useDynamicStyle)(n,t,O,N);var B=(0,x.useInnerBlocksProps)({className:(0,w.classnames)("guten-popup-container")},{template:[["gutenverse/popup-container",{position:"above"}],["gutenverse/popup-container",{position:"bottom"}]],allowedBlocks:["gutenverse/popup-container"],renderAppender:!1}),A=(0,x.useBlockProps)({className:(0,w.classnames)("guten-element","guten-popup-builder","guten-popup-".concat(D),n,P),ref:N,"data-close-overlay":d}),H=function(){return T(!1)},R=function(){d&&T(!1)};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(w.CopyElementToolbar,k({},e)),(0,l.jsx)(i.BlockPanelController,{panelList:b,props:e,elementRef:N}),(0,l.jsxs)("div",k(k({},A),{},{children:[(0,l.jsxs)("div",{className:"guten-popup-holder",onClick:function(){return T((function(e){return!e}))},children:[(0,l.jsx)("h1",{children:(0,a.__)("Popup Builder","gutenverse")}),(0,l.jsx)("span",{children:(0,a.__)("This block doesn't render on frontend. Click to show popup.","gutenverse")})]}),(0,l.jsxs)("div",{className:(0,w.classnames)({show:j},"guten-popup","guten-popup-".concat(s),"guten-popup-side-".concat(p)),children:[(0,l.jsx)("div",{className:"guten-popup-overlay",onClick:R}),y&&"overlay"===m&&(0,l.jsx)("div",{className:"guten-popup-close",onClick:H,children:(0,l.jsx)("i",{className:g})}),(0,l.jsx)("div",{onClick:function(e){!E.current||E.current.contains(e.target)||e.target.closest("#gutenverse-root")||e.target.closest(".components-popover")||e.target.closest(".interface-interface-skeleton__sidebar")||R()},className:(0,w.classnames)("guten-popup-wrapper","guten-popup-wrapper-".concat(c)),children:(0,l.jsxs)("div",{ref:E,className:(0,w.classnames)("guten-popup-content",C),children:[y&&"container"===m&&(0,l.jsx)("div",{className:"guten-popup-close",onClick:H,children:(0,l.jsx)("i",{className:g})}),(0,l.jsx)("div",k({},B))]})})]})]}))]})},save:A,deprecated:[{attributes:z(z({},V),{},{openWaitTime:{type:"int",deprecated:!0},openScrollDistance:{type:"int",deprecated:!0},openMaxClick:{type:"int",deprecated:!0}}),migrate:function(e){var t=e.openWaitTime,o=e.openScrollDistance,n=e.openMaxClick;return[z(z({},e),{},{openWaitTime:parseInt(t),openScrollDistance:parseInt(o),openMaxClick:parseInt(n)})]},save:M}]}},6826:e=>{"use strict";e.exports=gutenverseCore.hooks},6953:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>P,name:()=>E,settings:()=>D});var n=o(6065),r=o(8930),i=o(9491),a=o(2188),s=o(4715),l=o(3482),c=o(596),p=o(7723),u=o(790),d=function(){return[{id:"alignButtons",label:(0,p.__)("Alignment","gutenverse"),component:c.IconRadioControl,allowDeviceControl:!0,options:[{label:(0,p.__)("Align Left","gutenverse"),value:"flex-start",icon:(0,u.jsx)(l.AlignLeft,{})},{label:(0,p.__)("Align Center","gutenverse"),value:"center",icon:(0,u.jsx)(l.AlignCenter,{})},{label:(0,p.__)("Align Right","gutenverse"),value:"flex-end",icon:(0,u.jsx)(l.AlignRight,{})}]}]};function y(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function g(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?y(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):y(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var m=function(){return[{title:(0,p.__)("Buttons","gutenverse"),panelArray:d,tabRole:c.TabSetting},{title:(0,p.__)("Display","gutenverse"),initialOpen:!1,panelArray:c.responsivePanel,tabRole:c.TabSetting},{title:(0,p.__)("Positioning","gutenverse"),initialOpen:!1,panelArray:c.positioningPanel,tabRole:c.TabSetting},{title:(0,p.__)("Transform","gutenverse"),initialOpen:!1,panelArray:c.transformPanel,pro:!0},{title:(0,p.__)("Mouse Move Effect","gutenverse"),initialOpen:!1,panelArray:c.mouseMoveEffectPanel,tabRole:c.TabSetting,pro:!0},{title:(0,p.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,c.animationPanel)(g(g({},e),{},{styleId:"buttons-animation"}))},tabRole:c.TabSetting},{title:(0,p.__)("Advanced Animation","gutenverse"),initialOpen:!1,panelAdvance:!0,panelArray:function(e){return(0,c.advanceAnimationPanel)(g(g({},e),{},{blockType:"column"}))},pro:!0},{title:(0,p.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,c.advancePanel)(g(g({},e),{},{styleId:"buttons-advance"}))},tabRole:c.TabSetting},{title:(0,p.__)("Condition","gutenverse"),panelArray:c.conditionPanel,initialOpen:!1,pro:!0},{title:(0,p.__)("Background","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,c.backgroundPanel)(g(g({},e),{},{styleId:"buttons-background",normalOptions:["default","gradient"],hoverOptions:["default","gradient"]}))},tabRole:c.TabStyle},{title:(0,p.__)("Border","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,c.borderPanel)(g(g({},e),{},{styleId:"buttons-border"}))},tabRole:c.TabStyle},{title:(0,p.__)("Masking","gutenverse"),initialOpen:!1,panelArray:c.maskPanel,tabRole:c.TabStyle}]},v=o(6087),h=o(6826),b=o(4320),f=o(4404),x=o(1222),w=o(2619);const S=function(e,t){var o=[];return o=(0,c.backgroundStyle)({attributes:t,data:o,elementId:e}),(0,x.isNotEmpty)(t.alignButtons)&&o.push({type:"plain",id:"alignButtons",responsive:!0,selector:".".concat(e,", .").concat(e," .guten-button-wrapper"),properties:[{name:"justify-content",valueType:"direct"}]}),(0,x.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,x.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,x.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,x.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,x.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,x.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,x.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,x.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,x.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,x.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,x.isNotEmpty)(t.animation)&&(0,x.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element"),properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}]}),(0,x.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,x.isNotEmpty)(t.positioningType)&&(0,x.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,x.isNotEmpty)(t.positioningWidth)&&(0,x.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,x.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,x.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,x.isNotEmpty)(t.positioningLeft)&&(0,x.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,x.isNotEmpty)(t.positioningRight)&&(0,x.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,x.isNotEmpty)(t.positioningTop)&&(0,x.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,x.isNotEmpty)(t.positioningBottom)&&(0,x.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),[].concat((0,f.A)(o),(0,f.A)((0,w.applyFilters)("gutenverse.buttons.blockStyle",[],{elementId:e,attributes:t})))};function _(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function j(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?_(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):_(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const T=(0,i.compose)(a.withPartialRender,a.withPassRef,(0,a.withAnimationAdvanceV2)("buttons"),a.withMouseMoveEffect)((function(e){var t=e.attributes,o=e.clientId,n=e.setBlockRef,i=t.elementId,a=t.orientation,p=(0,v.useRef)(),d=(0,h.useAnimationEditor)(t),y=(0,h.useDisplayEditor)(t),g=(0,v.useState)({}),f=(0,r.A)(g,2),x=f[0],w=f[1],_=(0,s.useBlockProps)({className:(0,l.classnames)(i,"guten-element","guten-buttons","no-margin","".concat(a),d,y),ref:p});(0,b.useGenerateElementId)(o,i,p),(0,b.useDynamicStyle)(i,t,S,p,x),(0,b.useDynamicScript)(p),(0,v.useEffect)((function(){p&&n(p)}),[p]);var T=(0,s.useInnerBlocksProps)(_,{template:[["gutenverse/button"]],allowedBlocks:["gutenverse/button"],orientation:a,__experimentalAppenderTagName:"div"});return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(l.CopyElementToolbar,j({},e)),(0,u.jsx)(c.BlockPanelController,{panelList:m,props:e,setLocalAttr:w}),(0,u.jsx)("div",j({},T))]})}));function O(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function C(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?O(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):O(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const k=(0,i.compose)((0,a.withAnimationAdvanceScript)("buttons"),a.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,n=t.orientation,r=(0,h.useAnimationAdvanceData)(t),i=(0,h.useAnimationFrontend)(t),a=(0,h.useDisplayFrontend)(t),c=(0,l.classnames)("guten-element","guten-buttons","".concat(n),o,i,a);return(0,u.jsx)("div",C(C({},s.useBlockProps.save(C({className:c},r))),{},{children:(0,u.jsx)(s.InnerBlocks.Content,{})}))})),P=JSON.parse('{"apiVersion":2,"name":"gutenverse/buttons","title":"Multi Buttons","description":"Add a collection of beautiful and interactive action buttons.","category":"gutenverse-element","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"mouseMoveEffect":{"type":"object","copyStyle":true},"orientation":{"type":"string","default":"horizontal","copyStyle":true},"alignButtons":{"type":"object","copyStyle":true},"animation":{"type":"object","default":{},"copyStyle":true},"advanceAnimation":{"type":"object","default":{},"copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"background":{"type":"object","default":{},"copyStyle":true},"backgroundHover":{"type":"object","default":{},"copyStyle":true},"backgroundTransition":{"type":"object","copyStyle":true,"default":{}},"border":{"type":"object","copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"borderHover":{"type":"object","copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadowHover":{"type":"object","copyStyle":true},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"positioningType":{"type":"object","copyStyle":true},"positioningWidth":{"type":"object","copyStyle":true},"positioningAlign":{"type":"object","copyStyle":true},"positioningLocation":{"type":"string","copyStyle":true},"positioningLeft":{"type":"object","copyStyle":true},"positioningRight":{"type":"object","copyStyle":true},"positioningTop":{"type":"object","copyStyle":true},"positioningBottom":{"type":"object","copyStyle":true},"transform":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"condition":{"type":"object","default":{}}},"variations":[{"name":"buttons-horizontal","title":"Horizontal","isDefault":true,"descriptions":"Arrange buttons in horizontal position","attributes":{"orientation":"horizontal"},"scope":["transform"]},{"name":"buttons-vertical","title":"Vertical","descriptions":"Arrange buttons in vertical position","attributes":{"orientation":"vertical"},"scope":["transform"]}],"supports":{"className":false},"keywords":["button","link","action"]}');var N=o(4889);var E=P.name,D={icon:(0,u.jsx)(N.SO,{}),example:{attributes:{alignButtons:{Desktop:"center"},backgroundHover:{}},innerBlocks:[{name:"gutenverse/button",attributes:{content:"Gutenverse Button 1",paddingButton:{Desktop:{unit:"px",dimension:{top:"20",bottom:"20",right:"40",left:"40"}}},buttonBackground:{type:"default",color:{r:94,g:129,b:244,a:1},gradientColor:[{color:"rgb(94, 129, 244)",active:!0,opacity:1,id:1,offset:"0.000"},{color:"rgb(126, 32, 207)",active:!1,id:2,offset:"1.000"}],gradientType:"linear",gradientAngle:65},buttonBorder:{radius:{Desktop:{unit:"px",dimension:{top:"50",right:"50",bottom:"50",left:"50"}}}},color:{r:255,g:255,b:255,a:1},typography:{font:{label:"Roboto",value:"Roboto",type:"google"},weight:"500"}}},{name:"gutenverse/button",attributes:{content:"Gutenverse Button 2",alignButton:{Desktop:"center"},paddingButton:{Desktop:{unit:"px",dimension:{top:"20",right:"40",bottom:"20",left:"40"}}},buttonBackground:{type:"default",color:{r:19,g:41,b:120,a:1}},buttonBorder:{radius:{Desktop:{unit:"px",dimension:{top:"50",right:"50",bottom:"50",left:"50"}}}},color:{r:255,g:255,b:255,a:1},iconColor:{r:255,g:255,b:255,a:1},typography:{font:{label:"Roboto",value:"Roboto",type:"google"},weight:"500"}}}]},edit:T,save:k}},6959:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>z,name:()=>G,settings:()=>$});var n=o(6065),r=o(8930),i=o(9491),a=o(4715),s=o(3482),l=o(596),c=o(7723),p=function(e){var t=e.showDivider,o=e.elementId;return[{id:"dueDate",label:(0,c.__)("Due Date","gutenverse"),component:l.DateTimeControl,enableTime:!0,minDate:"today",dateFormat:"j F Y H:i"},{id:"showDays",label:(0,c.__)("Show Days","gutenverse"),component:l.CheckboxControl},{id:"labelDays",label:(0,c.__)("Label for Days","gutenverse"),component:l.TextControl},{id:"showHours",label:(0,c.__)("Show Hours","gutenverse"),component:l.CheckboxControl},{id:"labelHours",label:(0,c.__)("Label for Hours","gutenverse"),component:l.TextControl},{id:"showMinutes",label:(0,c.__)("Show Minutes","gutenverse"),component:l.CheckboxControl},{id:"labelMinutes",label:(0,c.__)("Label for Minutes","gutenverse"),component:l.TextControl},{id:"showSeconds",label:(0,c.__)("Show Seconds","gutenverse"),component:l.CheckboxControl},{id:"labelSeconds",label:(0,c.__)("Label for Seconds","gutenverse"),component:l.TextControl},{id:"showDivider",label:(0,c.__)("Show Separator","gutenverse"),component:l.CheckboxControl},{id:"dividerType",label:(0,c.__)("Separator Type","gutenverse"),component:l.SelectControl,show:t,options:[{label:(0,c.__)("None","gutenverse"),value:""},{label:(0,c.__)("Solid","gutenverse"),value:"|"},{label:(0,c.__)("Colon","gutenverse"),value:":"}]},{id:"dividerColor",label:(0,c.__)("Divider color","gutenverse"),component:l.ColorControl,liveStyle:[{type:"color",id:"dividerColor",selector:".guten-element.guten-countdown.".concat(o," .countdown-divider"),properties:[{name:"color",valueType:"direct"}]}]},{id:"dividerSize",label:(0,c.__)("Set Divider Size","gutenverse"),component:l.RangeControl,allowDeviceControl:!0,unit:"px",min:0,max:100,step:1,liveStyle:[{type:"plain",id:"dividerSize",selector:".guten-element.guten-countdown.".concat(o," .countdown-divider"),responsive:!0,properties:[{name:"font-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]}]},u=function(e){var t=e.elementId;return[{id:"column",label:(0,c.__)("Column","gutenverse"),component:l.RangeControl,min:1,max:4,allowDeviceControl:!0,liveStyle:[{type:"plain",id:"column",selector:".editor-styles-wrapper .".concat(t,".guten-countdown .guten-countdown-wrapper .time-container"),responsive:!0,properties:[{name:"flex",valueType:"pattern",pattern:"0 0 calc( 100% / {value} ); max-width: calc( (100% / {value}))",patternValues:{value:{type:"direct"}}}]}]},{id:"rowGap",label:(0,c.__)("Row Gap","gutenverse"),component:l.RangeControl,min:1,max:100,unit:"px",allowDeviceControl:!0,liveStyle:[{type:"plain",id:"rowGap",selector:".editor-styles-wrapper .".concat(t,".guten-countdown .guten-countdown-wrapper"),responsive:!0,properties:[{name:"row-gap",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"labelPosition",label:(0,c.__)("Label Position","gutenverse"),component:l.SelectControl,options:[{label:(0,c.__)("Top","gutenverse"),value:"top"},{label:(0,c.__)("Bottom","gutenverse"),value:"bottom"},{label:(0,c.__)("Left","gutenverse"),value:"left"},{label:(0,c.__)("Right","gutenverse"),value:"right"}]},{id:"labelSpacing",label:(0,c.__)("Label Spacing","gutenverse"),component:l.RangeControl,min:1,max:100,unit:"px",allowDeviceControl:!0,liveStyle:[{type:"plain",id:"labelSpacing",selector:".editor-styles-wrapper .".concat(t,".guten-countdown .time-container"),responsive:!0,properties:[{name:"gap",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]}]};function d(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function y(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?d(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):d(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var g=function(e){var t=e.elementId,o=e.oneForAll,r=e.switcher,i=e.setSwitcher;return[{id:"oneForAll",label:(0,c.__)("One For All","gutenverse"),component:l.CheckboxControl},{id:"__tabTime",component:l.SwitchControl,show:!o,options:[{value:"days",label:"Days"},{value:"hours",label:"Hours"},{value:"minutes",label:"Minutes"},{value:"seconds",label:"Seconds"}],onChange:function(e){var t=e.__tabTime;return i(y(y({},r),{},{tabTime:t}))}},{id:"digitlabelOptions",component:l.HeadingControl,label:(0,c.__)("Digit & Label Style","gutenverse")},{id:"oneForAllDigitColor",label:(0,c.__)("Digit color","gutenverse"),show:o,component:l.ColorControl,liveStyle:[{type:"color",id:"oneForAllDigitColor",selector:".guten-element.guten-countdown.".concat(t," .time-container .countdown-value"),properties:[{name:"color",valueType:"direct"}]}]},{id:"oneForAllDigitTypography",label:(0,c.__)("Digit Typography","gutenverse"),component:l.TypographyControl,show:o},{id:"oneForAllLabelColor",label:(0,c.__)("Label color","gutenverse"),show:o,component:l.ColorControl,liveStyle:[{type:"color",id:"oneForAllLabelColor",selector:".guten-element.guten-countdown.".concat(t," .time-container .countdown-label"),properties:[{name:"color",valueType:"direct"}]}]},{id:"oneForAllLabelTypography",label:(0,c.__)("Label Typography","gutenverse"),component:l.TypographyControl,show:o},{id:"daysDigitColor",label:(0,c.__)("Digit color","gutenverse"),show:!(o||"days"!==r.tabTime&&r.tabTime),component:l.ColorControl,liveStyle:[{type:"color",id:"daysDigitColor",selector:".guten-element.guten-countdown.".concat(t," .days-wrapper .countdown-value"),properties:[{name:"color",valueType:"direct"}]}]},{id:"daysDigitTypography",label:(0,c.__)("Digit Typography","gutenverse"),component:l.TypographyControl,show:!(o||"days"!==r.tabTime&&r.tabTime)},{id:"daysLabelColor",label:(0,c.__)("Label color","gutenverse"),show:!(o||"days"!==r.tabTime&&r.tabTime),component:l.ColorControl,liveStyle:[{type:"color",id:"daysLabelColor",selector:".guten-element.guten-countdown.".concat(t," .days-wrapper .countdown-label"),properties:[{name:"color",valueType:"direct"}]}]},{id:"daysLabelTypography",label:(0,c.__)("Label Typography","gutenverse"),component:l.TypographyControl,show:!(o||"days"!==r.tabTime&&r.tabTime)},{id:"hoursDigitColor",label:(0,c.__)("Digit color","gutenverse"),show:!o&&"hours"===r.tabTime,component:l.ColorControl,liveStyle:[{type:"color",id:"hoursDigitColor",selector:".guten-element.guten-countdown.".concat(t," .hours-wrapper .countdown-value"),properties:[{name:"color",valueType:"direct"}]}]},{id:"hoursDigitTypography",label:(0,c.__)("Digit Typography","gutenverse"),component:l.TypographyControl,show:!o&&"hours"===r.tabTime},{id:"hoursLabelColor",label:(0,c.__)("Label color","gutenverse"),show:!o&&"hours"===r.tabTime,component:l.ColorControl,liveStyle:[{type:"color",id:"hoursLabelColor",selector:".guten-element.guten-countdown.".concat(t," .hours-wrapper .countdown-label"),properties:[{name:"color",valueType:"direct"}]}]},{id:"hoursLabelTypography",label:(0,c.__)("Label Typography","gutenverse"),component:l.TypographyControl,show:!o&&"hours"===r.tabTime},{id:"minutesDigitColor",label:(0,c.__)("Digit color","gutenverse"),show:!o&&"minutes"===r.tabTime,component:l.ColorControl,liveStyle:[{type:"color",id:"minutesDigitColor",selector:".guten-element.guten-countdown.".concat(t," .minutes-wrapper .countdown-value"),properties:[{name:"color",valueType:"direct"}]}]},{id:"minutesDigitTypography",label:(0,c.__)("Digit Typography","gutenverse"),component:l.TypographyControl,show:!o&&"minutes"===r.tabTime},{id:"minutesLabelColor",label:(0,c.__)("Label color","gutenverse"),show:!o&&"minutes"===r.tabTime,component:l.ColorControl,liveStyle:[{type:"color",id:"minutesLabelColor",selector:".guten-element.guten-countdown.".concat(t," .minutes-wrapper .countdown-label"),properties:[{name:"color",valueType:"direct"}]}]},{id:"minutesLabelTypography",label:(0,c.__)("Label Typography","gutenverse"),component:l.TypographyControl,show:!o&&"minutes"===r.tabTime},{id:"secondsDigitColor",label:(0,c.__)("Digit color","gutenverse"),show:!o&&"seconds"===r.tabTime,component:l.ColorControl,liveStyle:[{type:"color",id:"secondsDigitColor",selector:".guten-element.guten-countdown.".concat(t," .seconds-wrapper .countdown-value"),properties:[{name:"color",valueType:"direct"}]}]},{id:"secondsDigitTypography",label:(0,c.__)("Digit Typography","gutenverse"),component:l.TypographyControl,show:!o&&"seconds"===r.tabTime},{id:"secondsLabelColor",label:(0,c.__)("Label color","gutenverse"),show:!o&&"seconds"===r.tabTime,component:l.ColorControl,liveStyle:[{type:"color",id:"secondsLabelColor",selector:".guten-element.guten-countdown.".concat(t," .seconds-wrapper .countdown-label"),properties:[{name:"color",valueType:"direct"}]}]},{id:"secondsLabelTypography",label:(0,c.__)("Label Typography","gutenverse"),component:l.TypographyControl,show:!o&&"seconds"===r.tabTime},{id:"backgroundOptions",component:l.HeadingControl,label:(0,c.__)("Background","gutenverse")},{id:"__oneForAllBackgroundTab",component:l.SwitchControl,show:o,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__oneForAllBackgroundTab;return i(y(y({},r),{},{oneForAllBackgroundTab:t}))}},{id:"oneForAllBackground",show:o&&("normal"===r.oneForAllBackgroundTab||!r.oneForAllBackgroundTab),component:l.BackgroundControl,label:(0,c.__)("Background","gutenverse"),allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"oneForAllBackground",selector:".guten-element.guten-countdown.".concat(t," .time-container")}]},{id:"oneForAllBackgroundHover",show:o&&"hover"===r.oneForAllBackgroundTab,label:(0,c.__)("Background Hover","gutenverse"),component:l.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"oneForAllBackgroundHover",selector:".guten-element.guten-countdown.".concat(t," .time-container:hover")}]},{id:"__daysBackgroundTab",component:l.SwitchControl,show:!(o||"days"!==r.tabTime&&r.tabTime),options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__daysBackgroundTab;return i(y(y({},r),{},{daysBackgroundTab:t}))}},{id:"daysBackground",show:!(o||"days"!==r.tabTime&&r.tabTime||"normal"!==r.daysBackgroundTab&&r.daysBackgroundTab),component:l.BackgroundControl,label:(0,c.__)("Background","gutenverse"),allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"daysBackground",selector:".guten-element.guten-countdown.".concat(t," .days-wrapper")}]},{id:"daysBackgroundHover",show:!(o||"days"!==r.tabTime&&r.tabTime||"hover"!==r.daysBackgroundTab),label:(0,c.__)("Background Hover","gutenverse"),component:l.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"daysBackgroundHover",selector:".guten-element.guten-countdown.".concat(t," .days-wrapper:hover")}]},{id:"__hoursBackgroundTab",component:l.SwitchControl,show:!o&&"hours"===r.tabTime,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__hoursBackgroundTab;return i(y(y({},r),{},{hoursBackgroundTab:t}))}},{id:"hoursBackground",show:!(o||"hours"!==r.tabTime||"normal"!==r.hoursBackgroundTab&&r.hoursBackgroundTab),component:l.BackgroundControl,label:(0,c.__)("Background","gutenverse"),allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"hoursBackground",selector:".guten-element.guten-countdown.".concat(t," .hours-wrapper")}]},{id:"hoursBackgroundHover",show:!o&&"hours"===r.tabTime&&"hover"===r.hoursBackgroundTab,label:(0,c.__)("Background Hover","gutenverse"),component:l.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"hoursBackgroundHover",selector:".guten-element.guten-countdown.".concat(t," .hours-wrapper:hover")}]},{id:"__minutesBackgroundTab",component:l.SwitchControl,show:!o&&"minutes"===r.tabTime,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__minutesBackgroundTab;return i(y(y({},r),{},{minutesBackgroundTab:t}))}},{id:"minutesBackground",show:!(o||"minutes"!==r.tabTime||"normal"!==r.minutesBackgroundTab&&r.minutesBackgroundTab),component:l.BackgroundControl,label:(0,c.__)("Background","gutenverse"),allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"minutesBackground",selector:".guten-element.guten-countdown.".concat(t," .minutes-wrapper")}]},{id:"minutesBackgroundHover",show:!o&&"minutes"===r.tabTime&&"hover"===r.minutesBackgroundTab,label:(0,c.__)("Background Hover","gutenverse"),component:l.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"minutesBackgroundHover",selector:".guten-element.guten-countdown.".concat(t," .minutes-wrapper:hover")}]},{id:"__secondsBackgroundTab",component:l.SwitchControl,show:!o&&"seconds"===r.tabTime,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__secondsBackgroundTab;return i(y(y({},r),{},{secondsBackgroundTab:t}))}},{id:"secondsBackground",show:!(o||"seconds"!==r.tabTime||"normal"!==r.secondsBackgroundTab&&r.secondsBackgroundTab),component:l.BackgroundControl,label:(0,c.__)("Background","gutenverse"),allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"secondsBackground",selector:".guten-element.guten-countdown.".concat(t," .seconds-wrapper")}]},{id:"secondsBackgroundHover",show:!o&&"seconds"===r.tabTime&&"hover"===r.minutesBackgroundTab,label:(0,c.__)("Background Hover","gutenverse"),component:l.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"secondsBackgroundHover",selector:".guten-element.guten-countdown.".concat(t," .seconds-wrapper:hover")}]},{id:"borderOptions",component:l.HeadingControl,label:(0,c.__)("Border","gutenverse")},{id:"__oneForAllBorderTab",component:l.SwitchControl,show:o,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__oneForAllBorderTab;return i(y(y({},r),{},{oneForAllBorderTab:t}))}},{id:"oneForAllBorder",show:o&&("normal"===r.oneForAllBorderTab||!r.oneForAllBorderTab),component:l.BorderResponsiveControl,label:(0,c.__)("Border","gutenverse"),allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"oneForAllBorder",selector:".guten-element.guten-countdown.".concat(t," .time-container")}]},{id:"oneForAllBorderHover",show:o&&"hover"===r.oneForAllBorderTab,label:(0,c.__)("Border Hover","gutenverse"),component:l.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"oneForAllBorderHover",selector:".guten-element.guten-countdown.".concat(t," .time-container")}]},{id:"__daysBorderTab",component:l.SwitchControl,show:!(o||"days"!==r.tabTime&&r.tabTime),options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__daysBorderTab;return i(y(y({},r),{},{daysBorderTab:t}))}},{id:"daysBorder",show:!(o||"days"!==r.tabTime&&r.tabTime||"normal"!==r.daysBorderTab&&r.daysBorderTab),component:l.BorderResponsiveControl,label:(0,c.__)("Border","gutenverse"),allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"daysBorder",selector:".guten-element.guten-countdown.".concat(t," .days-wrapper")}]},{id:"daysBorderHover",show:!(o||"days"!==r.tabTime&&r.tabTime||"hover"!==r.daysBorderTab),label:(0,c.__)("Border Hover","gutenverse"),component:l.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"daysBorderHover",selector:".guten-element.guten-countdown.".concat(t," .days-wrapper")}]},{id:"__hoursBorderTab",component:l.SwitchControl,show:!o&&"hours"===r.tabTime,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__hoursBorderTab;return i(y(y({},r),{},{hoursBorderTab:t}))}},{id:"hoursBorder",show:!(o||"hours"!==r.tabTime||"normal"!==r.hoursBorderTab&&r.hoursBorderTab),component:l.BorderResponsiveControl,label:(0,c.__)("Border","gutenverse"),allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"hoursBorder",selector:".guten-element.guten-countdown.".concat(t," .hours-wrapper")}]},{id:"hoursBorderHover",show:!o&&"hours"===r.tabTime&&"hover"===r.hoursBorderTab,label:(0,c.__)("Border Hover","gutenverse"),component:l.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"hoursBorderHover",selector:".guten-element.guten-countdown.".concat(t," .hours-wrapper")}]},{id:"__minutesBorderTab",component:l.SwitchControl,show:!o&&"minutes"===r.tabTime,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__minutesBorderTab;return i(y(y({},r),{},{minutesBorderTab:t}))}},{id:"minutesBorder",show:!(o||"minutes"!==r.tabTime||"normal"!==r.minutesBorderTab&&r.minutesBorderTab),component:l.BorderResponsiveControl,label:(0,c.__)("Border","gutenverse"),allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"minutesBorder",selector:".guten-element.guten-countdown.".concat(t," .minutes-wrapper")}]},{id:"minutesBorderHover",show:!o&&"minutes"===r.tabTime&&"hover"===r.minutesBorderTab,label:(0,c.__)("Border Hover","gutenverse"),component:l.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"minutesBorderHover",selector:".guten-element.guten-countdown.".concat(t," .minutes-wrapper")}]},{id:"__secondsBorderTab",component:l.SwitchControl,show:!o&&"seconds"===r.tabTime,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__secondsBorderTab;return i(y(y({},r),{},{secondsBorderTab:t}))}},{id:"secondsBorder",show:!(o||"seconds"!==r.tabTime||"normal"!==r.secondsBorderTab&&r.secondsBorderTab),component:l.BorderResponsiveControl,label:(0,c.__)("Border","gutenverse"),allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"secondsBorder",selector:".guten-element.guten-countdown.".concat(t," .seconds-wrapper")}]},{id:"secondsBorderHover",show:!o&&"seconds"===r.tabTime&&"hover"===r.secondsBorderTab,label:(0,c.__)("Border Hover","gutenverse"),component:l.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"secondsBorderHover",selector:".guten-element.guten-countdown.".concat(t," .seconds-wrapper")}]},{id:"boxShadowOptions",component:l.HeadingControl,label:(0,c.__)("Box Shadow","gutenverse")},{id:"__oneForAllBoxShadowTab",component:l.SwitchControl,show:o,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__oneForAllBoxShadowTab;return i(y(y({},r),{},{oneForAllBoxShadowTab:t}))}},{id:"oneForAllBoxShadow",show:o&&("normal"===r.oneForAllBoxShadowTab||!r.oneForAllBoxShadowTab),component:l.BoxShadowControl,label:(0,c.__)("Box Shadow","gutenverse"),liveStyle:[{type:"boxShadow",id:"oneForAllBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .".concat(t,".guten-countdown .time-container")}]},{id:"oneForAllBoxShadowHover",show:o&&"hover"===r.oneForAllBoxShadowTab,label:(0,c.__)("Box Shadow Hover","gutenverse"),component:l.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"oneForAllBoxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".guten-element.guten-countdown.".concat(t," .time-container:hover")}]},{id:"__daysBoxShadowTab",component:l.SwitchControl,show:!(o||"days"!==r.tabTime&&r.tabTime),options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__daysBoxShadowTab;return i(y(y({},r),{},{daysBoxShadowTab:t}))}},{id:"daysBoxShadow",show:!(o||"days"!==r.tabTime&&r.tabTime||"normal"!==r.daysBoxShadowTab&&r.daysBoxShadowTab),component:l.BoxShadowControl,label:(0,c.__)("Box Shadow","gutenverse"),liveStyle:[{type:"boxShadow",id:"daysBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .".concat(t,".guten-countdown .days-wrapper")}]},{id:"daysBoxShadowHover",show:!(o||"days"!==r.tabTime&&r.tabTime||"hover"!==r.daysBoxShadowTab),label:(0,c.__)("Box Shadow Hover","gutenverse"),component:l.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"daysBoxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".guten-element.guten-countdown.".concat(t," .days-wrapper:hover")}]},{id:"__hoursBoxShadowTab",component:l.SwitchControl,show:!o&&"hours"===r.tabTime,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__hoursBoxShadowTab;return i(y(y({},r),{},{hoursBoxShadowTab:t}))}},{id:"hoursBoxShadow",show:!(o||"hours"!==r.tabTime||"normal"!==r.hoursBoxShadowTab&&r.hoursBoxShadowTab),component:l.BoxShadowControl,label:(0,c.__)("Box Shadow","gutenverse"),liveStyle:[{type:"boxShadow",id:"hoursBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .".concat(t,".guten-countdown .hours-wrapper")}]},{id:"hoursBoxShadowHover",show:!o&&"hours"===r.tabTime&&"hover"===r.hoursBoxShadowTab,label:(0,c.__)("Box Shadow Hover","gutenverse"),component:l.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"hoursBoxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".guten-element.guten-countdown.".concat(t," .hours-wrapper:hover")}]},{id:"__minutesBoxShadowTab",component:l.SwitchControl,show:!o&&"minutes"===r.tabTime,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__minutesBoxShadowTab;return i(y(y({},r),{},{minutesBoxShadowTab:t}))}},{id:"minutesBoxShadow",show:!(o||"minutes"!==r.tabTime||"normal"!==r.minutesBoxShadowTab&&r.minutesBoxShadowTab),component:l.BoxShadowControl,label:(0,c.__)("Box Shadow","gutenverse"),liveStyle:[{type:"boxShadow",id:"minutesBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .".concat(t,".guten-countdown .minutes-wrapper")}]},{id:"minutesBoxShadowHover",show:!o&&"minutes"===r.tabTime&&"hover"===r.minutesBoxShadowTab,label:(0,c.__)("Box Shadow Hover","gutenverse"),component:l.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"minutesBoxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".guten-element.guten-countdown.".concat(t," .minutes-wrapper:hover")}]},{id:"__secondsBoxShadowTab",component:l.SwitchControl,show:!o&&"seconds"===r.tabTime,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__secondsBoxShadowTab;return i(y(y({},r),{},{secondsBoxShadowTab:t}))}},{id:"secondsBoxShadow",show:!(o||"seconds"!==r.tabTime||"normal"!==r.secondsBoxShadowTab&&r.secondsBoxShadowTab),component:l.BoxShadowControl,label:(0,c.__)("Box Shadow","gutenverse"),liveStyle:[{type:"boxShadow",id:"secondsBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .".concat(t,".guten-countdown .seconds-wrapper")}]},{id:"secondsBoxShadowHover",show:!o&&"seconds"===r.tabTime&&"hover"===r.secondsBoxShadowTab,label:(0,c.__)("Box Shadow Hover","gutenverse"),component:l.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"secondsBoxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".guten-element.guten-countdown.".concat(t," .seconds-wrapper:hover")}]},{id:"marginPaddingOptions",component:l.HeadingControl,label:(0,c.__)("Margin & Padding Options","gutenverse")},{id:"oneForAllPadding",show:o,component:l.DimensionControl,label:(0,c.__)("Padding","gutenverse"),allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,n.A)((0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"}),"rem",{text:"rem",unit:"rem"})},{id:"oneForAllMargin",show:o,component:l.DimensionControl,label:(0,c.__)("Margin","gutenverse"),allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,n.A)((0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"}),"rem",{text:"rem",unit:"rem"})},{id:"daysPadding",show:!(o||"days"!==r.tabTime&&r.tabTime),component:l.DimensionControl,label:(0,c.__)("Padding","gutenverse"),allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,n.A)((0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"}),"rem",{text:"rem",unit:"rem"})},{id:"daysMargin",show:!(o||"days"!==r.tabTime&&r.tabTime),component:l.DimensionControl,label:(0,c.__)("Margin","gutenverse"),allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,n.A)((0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"}),"rem",{text:"rem",unit:"rem"})},{id:"hoursPadding",show:!o&&"hours"===r.tabTime,component:l.DimensionControl,label:(0,c.__)("Padding","gutenverse"),allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,n.A)((0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"}),"rem",{text:"rem",unit:"rem"})},{id:"hoursMargin",show:!o&&"hours"===r.tabTime,component:l.DimensionControl,label:(0,c.__)("Margin","gutenverse"),allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,n.A)((0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"}),"rem",{text:"rem",unit:"rem"})},{id:"minutesPadding",show:!o&&"minutes"===r.tabTime,component:l.DimensionControl,label:(0,c.__)("Padding","gutenverse"),allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,n.A)((0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"}),"rem",{text:"rem",unit:"rem"})},{id:"minutesMargin",show:!o&&"minutes"===r.tabTime,component:l.DimensionControl,label:(0,c.__)("Margin","gutenverse"),allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,n.A)((0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"}),"rem",{text:"rem",unit:"rem"})},{id:"secondsPadding",show:!o&&"seconds"===r.tabTime,component:l.DimensionControl,label:(0,c.__)("Padding","gutenverse"),allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,n.A)((0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"}),"rem",{text:"rem",unit:"rem"})},{id:"secondsMargin",show:!o&&"seconds"===r.tabTime,component:l.DimensionControl,label:(0,c.__)("Margin","gutenverse"),allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,n.A)((0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"}),"rem",{text:"rem",unit:"rem"})},{id:"widthHeightOptions",component:l.HeadingControl,label:(0,c.__)("Width & Height Options","gutenverse")},{id:"oneForAllWidth",label:(0,c.__)("Set Width","gutenverse"),component:l.SizeControl,allowDeviceControl:!0,show:o,units:(0,n.A)((0,n.A)({px:{text:"px",unit:"px",min:0,max:1e3,step:1},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"}),"rem",{text:"rem",unit:"rem"}),liveStyle:[{type:"unitPoint",id:"oneForAllWidth",responsive:!0,properties:[{name:"width",valueType:"direct"}],selector:".guten-element.guten-countdown.".concat(t," .time-container")}]},{id:"oneForAllHeight",label:(0,c.__)("Set Height","gutenverse"),component:l.RangeControl,allowDeviceControl:!0,show:o,unit:"px",min:1,max:1e3,step:1,liveStyle:[{type:"plain",id:"oneForAllHeight",responsive:!0,properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}],selector:".guten-element.guten-countdown.".concat(t," .time-container")}]},{id:"daysWidth",label:(0,c.__)("Set Width","gutenverse"),component:l.SizeControl,allowDeviceControl:!0,show:!(o||"days"!==r.tabTime&&r.tabTime),units:(0,n.A)((0,n.A)({px:{text:"px",unit:"px",min:0,max:1e3,step:1},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"}),"rem",{text:"rem",unit:"rem"}),liveStyle:[{type:"unitPoint",id:"daysWidth",responsive:!0,properties:[{name:"width",valueType:"direct"}],selector:".guten-element.guten-countdown.".concat(t," .days-wrapper")}]},{id:"daysHeight",label:(0,c.__)("Set Height","gutenverse"),component:l.RangeControl,allowDeviceControl:!0,show:!(o||"days"!==r.tabTime&&r.tabTime),unit:"px",min:1,max:1e3,step:1,liveStyle:[{type:"plain",id:"daysHeight",responsive:!0,properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}],selector:".guten-element.guten-countdown.".concat(t," .days-wrapper")}]},{id:"hoursWidth",label:(0,c.__)("Set Width","gutenverse"),component:l.SizeControl,allowDeviceControl:!0,show:!o&&"hours"===r.tabTime,units:(0,n.A)((0,n.A)({px:{text:"px",unit:"px",min:0,max:1e3,step:1},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"}),"rem",{text:"rem",unit:"rem"}),liveStyle:[{type:"unitPoint",id:"hoursWidth",responsive:!0,properties:[{name:"width",valueType:"direct"}],selector:".guten-element.guten-countdown.".concat(t," .hours-wrapper")}]},{id:"hoursHeight",label:(0,c.__)("Set Height","gutenverse"),component:l.RangeControl,allowDeviceControl:!0,show:!o&&"hours"===r.tabTime,unit:"px",min:1,max:1e3,step:1,liveStyle:[{type:"plain",id:"hoursHeight",responsive:!0,properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}],selector:".guten-element.guten-countdown.".concat(t," .hours-wrapper")}]},{id:"minutesWidth",label:(0,c.__)("Set Width","gutenverse"),component:l.SizeControl,allowDeviceControl:!0,show:!o&&"minutes"===r.tabTime,units:(0,n.A)((0,n.A)({px:{text:"px",unit:"px",min:0,max:1e3,step:1},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"}),"rem",{text:"rem",unit:"rem"}),liveStyle:[{type:"unitPoint",id:"minutesWidth",responsive:!0,properties:[{name:"width",valueType:"direct"}],selector:".guten-element.guten-countdown.".concat(t," .minutes-wrapper")}]},{id:"minutesHeight",label:(0,c.__)("Set Height","gutenverse"),component:l.RangeControl,allowDeviceControl:!0,show:!o&&"minutes"===r.tabTime,unit:"px",min:1,max:1e3,step:1,liveStyle:[{type:"plain",id:"minutesHeight",responsive:!0,properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}],selector:".guten-element.guten-countdown.".concat(t," .minutes-wrapper")}]},{id:"secondsWidth",label:(0,c.__)("Set Width","gutenverse"),component:l.SizeControl,allowDeviceControl:!0,show:!o&&"seconds"===r.tabTime,units:(0,n.A)((0,n.A)({px:{text:"px",unit:"px",min:0,max:1e3,step:1},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"}),"rem",{text:"rem",unit:"rem"}),liveStyle:[{type:"unitPoint",id:"secondsWidth",responsive:!0,properties:[{name:"width",valueType:"direct"}],selector:".guten-element.guten-countdown.".concat(t," .seconds-wrapper")}]},{id:"secondsHeight",label:(0,c.__)("Set Height","gutenverse"),component:l.RangeControl,allowDeviceControl:!0,show:!o&&"seconds"===r.tabTime,unit:"px",min:1,max:1e3,step:1,liveStyle:[{type:"plain",id:"secondsHeight",responsive:!0,properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}],selector:".guten-element.guten-countdown.".concat(t," .seconds-wrapper")}]},{id:"oneForAllVerticalAlign",label:(0,c.__)("Vertical Align","gutenverse"),component:l.SelectControl,options:[{label:(0,c.__)("Top","gutenverse"),value:"start"},{label:(0,c.__)("Middle","gutenverse"),value:"center"},{label:(0,c.__)("Bottom","gutenverse"),value:"end"}],show:o},{id:"oneForAllHorizontalAlign",label:(0,c.__)("Horizontal Align","gutenverse"),component:l.SelectControl,options:[{label:(0,c.__)("Left","gutenverse"),value:"start"},{label:(0,c.__)("Middle","gutenverse"),value:"center"},{label:(0,c.__)("Right","gutenverse"),value:"end"}],show:o},{id:"daysVerticalAlign",label:(0,c.__)("Vertical Align","gutenverse"),component:l.SelectControl,options:[{label:(0,c.__)("Top","gutenverse"),value:"start"},{label:(0,c.__)("Middle","gutenverse"),value:"center"},{label:(0,c.__)("Bottom","gutenverse"),value:"end"}],show:!(o||"days"!==r.tabTime&&r.tabTime)},{id:"daysHorizontalAlign",label:(0,c.__)("Horizontal Align","gutenverse"),component:l.SelectControl,options:[{label:(0,c.__)("Left","gutenverse"),value:"start"},{label:(0,c.__)("Middle","gutenverse"),value:"center"},{label:(0,c.__)("Right","gutenverse"),value:"end"}],show:!(o||"days"!==r.tabTime&&r.tabTime)},{id:"hoursVerticalAlign",label:(0,c.__)("Vertical Align","gutenverse"),component:l.SelectControl,options:[{label:(0,c.__)("Top","gutenverse"),value:"start"},{label:(0,c.__)("Middle","gutenverse"),value:"center"},{label:(0,c.__)("Bottom","gutenverse"),value:"end"}],show:!o&&"hours"===r.tabTime},{id:"hoursHorizontalAlign",label:(0,c.__)("Horizontal Align","gutenverse"),component:l.SelectControl,options:[{label:(0,c.__)("Left","gutenverse"),value:"start"},{label:(0,c.__)("Middle","gutenverse"),value:"center"},{label:(0,c.__)("Right","gutenverse"),value:"end"}],show:!o&&"hours"===r.tabTime},{id:"minutesVerticalAlign",label:(0,c.__)("Vertical Align","gutenverse"),component:l.SelectControl,options:[{label:(0,c.__)("Top","gutenverse"),value:"start"},{label:(0,c.__)("Middle","gutenverse"),value:"center"},{label:(0,c.__)("Bottom","gutenverse"),value:"end"}],show:!o&&"minutes"===r.tabTime},{id:"minutesHorizontalAlign",label:(0,c.__)("Horizontal Align","gutenverse"),component:l.SelectControl,options:[{label:(0,c.__)("Left","gutenverse"),value:"start"},{label:(0,c.__)("Middle","gutenverse"),value:"center"},{label:(0,c.__)("Right","gutenverse"),value:"end"}],show:!o&&"minutes"===r.tabTime},{id:"secondsVerticalAlign",label:(0,c.__)("Vertical Align","gutenverse"),component:l.SelectControl,options:[{label:(0,c.__)("Top","gutenverse"),value:"start"},{label:(0,c.__)("Middle","gutenverse"),value:"center"},{label:(0,c.__)("Bottom","gutenverse"),value:"end"}],show:!o&&"seconds"===r.tabTime},{id:"secondsHorizontalAlign",label:(0,c.__)("Horizontal Align","gutenverse"),component:l.SelectControl,options:[{label:(0,c.__)("Left","gutenverse"),value:"start"},{label:(0,c.__)("Middle","gutenverse"),value:"center"},{label:(0,c.__)("Right","gutenverse"),value:"end"}],show:!o&&"seconds"===r.tabTime}]},m=function(e){var t=e.expiredAction;return[{id:"expiredAction",label:(0,c.__)("Expired Action","gutenverse"),component:l.SelectControl,options:[{label:(0,c.__)("None","gutenverse"),value:"none"},{label:(0,c.__)("Redirect to URL","gutenverse"),value:"redirect"},{label:(0,c.__)("Custom Section","gutenverse"),value:"section"}]},{id:"expiredUrl",show:"redirect"===t,label:(0,c.__)("Redirect Url","gutenverse"),component:l.TextControl}]};function v(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function h(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?v(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):v(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var b=function(){return[{title:(0,c.__)("Countdown Settings","gutenverse"),initialOpen:!1,panelArray:p,tabRole:l.TabSetting},{title:(0,c.__)("Countdown Expired","gutenverse"),initialOpen:!1,panelArray:m,tabRole:l.TabSetting},{title:(0,c.__)("Content Style","gutenverse"),initialOpen:!1,panelArray:u,tabRole:l.TabStyle},{title:(0,c.__)("Time Style","gutenverse"),initialOpen:!1,panelArray:g,tabRole:l.TabStyle},{title:(0,c.__)("Background","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.backgroundPanel)(h(h({},e),{},{styleId:"buttons-background",normalOptions:["default","gradient"],hoverOptions:["default","gradient"]}))},tabRole:l.TabStyle},{title:(0,c.__)("Border","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.borderPanel)(h(h({},e),{},{styleId:"buttons-border"}))},tabRole:l.TabStyle},{title:(0,c.__)("Masking","gutenverse"),initialOpen:!1,panelArray:l.maskPanel,tabRole:l.TabStyle},{title:(0,c.__)("Display","gutenverse"),initialOpen:!1,panelArray:l.responsivePanel,tabRole:l.TabSetting},{title:(0,c.__)("Positioning","gutenverse"),initialOpen:!1,panelArray:l.positioningPanel,tabRole:l.TabSetting},{title:(0,c.__)("Transform","gutenverse"),initialOpen:!1,panelArray:l.transformPanel,pro:!0},{title:(0,c.__)("Mouse Move Effect","gutenverse"),initialOpen:!1,panelArray:l.mouseMoveEffectPanel,tabRole:l.TabSetting,pro:!0},{title:(0,c.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.animationPanel)(h(h({},e),{},{styleId:"buttons-animation"}))},tabRole:l.TabSetting},{title:(0,c.__)("Advanced Animation","gutenverse"),initialOpen:!1,panelAdvance:!0,panelArray:function(e){return(0,l.advanceAnimationPanel)(h(h({},e),{},{blockType:"column"}))},pro:!0},{title:(0,c.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.advancePanel)(h(h({},e),{},{styleId:"buttons-advance"}))},tabRole:l.TabSetting},{title:(0,c.__)("Condition","gutenverse"),panelArray:l.conditionPanel,initialOpen:!1,pro:!0}]},f=o(6087),x=o(2188),w=o(6826),S=o(4320),_=o(4404),j=o(1222),T=o(2619);const O=function(e,t){var o=[];return o=(0,l.backgroundStyle)({attributes:t,data:o,elementId:e}),(0,j.isNotEmpty)(t.column)&&o.push({type:"plain",id:"column",selector:".editor-styles-wrapper .".concat(e,".guten-countdown .guten-countdown-wrapper .item-flex"),responsive:!0,properties:[{name:"flex",valueType:"pattern",pattern:"0 0 calc( 100% / {value} ); max-width: calc( (100% / {value}))",patternValues:{value:{type:"direct"}}}]}),(0,j.isNotEmpty)(t.rowGap)&&o.push({type:"plain",id:"rowGap",selector:".editor-styles-wrapper .".concat(e,".guten-countdown .guten-countdown-wrapper"),responsive:!0,properties:[{name:"row-gap",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,j.isNotEmpty)(t.labelPosition)&&o.push({type:"plain",id:"labelPosition",selector:".editor-styles-wrapper .".concat(e,".guten-countdown .time-container"),properties:[{name:"flex-direction",valueType:"pattern",pattern:"top"===t.labelPosition||"bottom"===t.labelPosition?"column":"row"}]}),(0,j.isNotEmpty)(t.labelSpacing)&&o.push({type:"plain",id:"labelSpacing",selector:".editor-styles-wrapper .".concat(e,".guten-countdown .time-container"),responsive:!0,properties:[{name:"gap",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,j.isNotEmpty)(t.dividerColor)&&o.push({type:"color",id:"dividerColor",selector:".guten-element.guten-countdown.".concat(e," .countdown-divider"),properties:[{name:"color",valueType:"direct"}]}),(0,j.isNotEmpty)(t.dividerSize)&&o.push({type:"plain",id:"dividerSize",selector:".guten-element.guten-countdown.".concat(e," .countdown-divider"),responsive:!0,properties:[{name:"font-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),t.oneForAll&&(0,j.isNotEmpty)(t.oneForAllDigitColor)&&o.push({type:"color",id:"oneForAllDigitColor",selector:".guten-element.guten-countdown.".concat(e," .time-container .countdown-value"),properties:[{name:"color",valueType:"direct"}]}),t.oneForAll&&(0,j.isNotEmpty)(t.oneForAllDigitTypography)&&o.push({type:"typography",id:"oneForAllDigitTypography",selector:".guten-element.guten-countdown.".concat(e," .time-container .countdown-value")}),t.oneForAll&&(0,j.isNotEmpty)(t.oneForAllLabelColor)&&o.push({type:"color",id:"oneForAllLabelColor",selector:".guten-element.guten-countdown.".concat(e," .time-container .countdown-label"),properties:[{name:"color",valueType:"direct"}]}),t.oneForAll&&(0,j.isNotEmpty)(t.oneForAllLabelTypography)&&o.push({type:"typography",id:"oneForAllLabelTypography",selector:".guten-element.guten-countdown.".concat(e," .time-container .countdown-label")}),t.oneForAll&&(0,j.isNotEmpty)(t.oneForAllBackground)&&o.push({type:"background",id:"oneForAllBackground",selector:".guten-element.guten-countdown.".concat(e," .time-container")}),t.oneForAll&&(0,j.isNotEmpty)(t.oneForAllBackgroundHover)&&o.push({type:"background",id:"oneForAllBackgroundHover",selector:".guten-element.guten-countdown.".concat(e," .time-container:hover")}),t.oneForAll&&(0,j.isNotEmpty)(t.oneForAllBorder)&&o.push({type:"borderResponsive",id:"oneForAllBorder",selector:".guten-element.guten-countdown.".concat(e," .time-container")}),t.oneForAll&&(0,j.isNotEmpty)(t.oneForAllBorderHover)&&o.push({type:"borderResponsive",id:"oneForAllBorderHover",selector:".guten-element.guten-countdown.".concat(e," .time-container")}),t.oneForAll&&(0,j.isNotEmpty)(t.oneForAllBoxShadow)&&o.push({type:"boxShadow",id:"oneForAllBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .".concat(e,".guten-countdown .time-container")}),t.oneForAll&&(0,j.isNotEmpty)(t.oneForAllBoxShadowHover)&&o.push({type:"boxShadow",id:"oneForAllBoxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".guten-element.guten-countdown.".concat(e," .time-container:hover")}),t.oneForAll&&(0,j.isNotEmpty)(t.oneForAllPadding)&&o.push({type:"dimension",id:"oneForAllPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".guten-element.guten-countdown.".concat(e," .time-container")}),t.oneForAll&&(0,j.isNotEmpty)(t.oneForAllMargin)&&o.push({type:"dimension",id:"oneForAllMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".guten-element.guten-countdown.".concat(e," .time-container")}),t.oneForAll&&(0,j.isNotEmpty)(t.oneForAllWidth)&&o.push({type:"unitPoint",id:"oneForAllWidth",responsive:!0,properties:[{name:"width",valueType:"direct"}],selector:".guten-element.guten-countdown.".concat(e," .time-container")}),t.oneForAll&&(0,j.isNotEmpty)(t.oneForAllHeight)&&o.push({type:"plain",id:"oneForAllHeight",responsive:!0,properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}],selector:".guten-element.guten-countdown.".concat(e," .time-container")}),t.oneForAll&&(0,j.isNotEmpty)(t.oneForAllVerticalAlign)&&o.push({type:"plain",id:"oneForAllVerticalAlign",properties:[{name:"top"===t.labelPosition||"bottom"===t.labelPosition?"justify-content":"align-items",valueType:"direct"}],selector:".editor-styles-wrapper .".concat(e,".guten-countdown .time-container")}),t.oneForAll&&(0,j.isNotEmpty)(t.oneForAllHorizontalAlign)&&o.push({type:"plain",id:"oneForAllHorizontalAlign",properties:[{name:"top"===t.labelPosition||"bottom"===t.labelPosition?"align-items":"justify-content",valueType:"direct"}],selector:".editor-styles-wrapper .".concat(e,".guten-countdown .time-container")}),!t.oneForAll&&(0,j.isNotEmpty)(t.daysDigitColor)&&o.push({type:"color",id:"daysDigitColor",selector:".guten-element.guten-countdown.".concat(e," .days-wrapper .countdown-value"),properties:[{name:"color",valueType:"direct"}]}),!t.oneForAll&&(0,j.isNotEmpty)(t.daysDigitTypography)&&o.push({type:"typography",id:"daysDigitTypography",selector:".guten-element.guten-countdown.".concat(e," .days-wrapper .countdown-value")}),!t.oneForAll&&(0,j.isNotEmpty)(t.daysLabelColor)&&o.push({type:"color",id:"daysLabelColor",selector:".guten-element.guten-countdown.".concat(e," .days-wrapper .countdown-label"),properties:[{name:"color",valueType:"direct"}]}),!t.oneForAll&&(0,j.isNotEmpty)(t.daysLabelTypography)&&o.push({type:"typography",id:"daysLabelTypography",selector:".guten-element.guten-countdown.".concat(e," .days-wrapper .countdown-label")}),!t.oneForAll&&(0,j.isNotEmpty)(t.daysBackground)&&o.push({type:"background",id:"daysBackground",selector:".guten-element.guten-countdown.".concat(e," .days-wrapper")}),!t.oneForAll&&(0,j.isNotEmpty)(t.daysBackgroundHover)&&o.push({type:"background",id:"daysBackgroundHover",selector:".guten-element.guten-countdown.".concat(e," .days-wrapper:hover")}),!t.oneForAll&&(0,j.isNotEmpty)(t.daysBorder)&&o.push({type:"borderResponsive",id:"daysBorder",selector:".guten-element.guten-countdown.".concat(e," .days-wrapper")}),!t.oneForAll&&(0,j.isNotEmpty)(t.daysBorderHover)&&o.push({type:"borderResponsive",id:"daysBorderHover",selector:".guten-element.guten-countdown.".concat(e," .days-wrapper")}),!t.oneForAll&&(0,j.isNotEmpty)(t.daysBoxShadow)&&o.push({type:"boxShadow",id:"daysBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .".concat(e,".guten-countdown .days-wrapper")}),!t.oneForAll&&(0,j.isNotEmpty)(t.daysBoxShadowHover)&&o.push({type:"boxShadow",id:"daysBoxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".guten-element.guten-countdown.".concat(e," .days-wrapper:hover")}),!t.oneForAll&&(0,j.isNotEmpty)(t.daysPadding)&&o.push({type:"dimension",id:"daysPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".guten-element.guten-countdown.".concat(e," .days-wrapper")}),!t.oneForAll&&(0,j.isNotEmpty)(t.daysMargin)&&o.push({type:"dimension",id:"daysMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".guten-element.guten-countdown.".concat(e," .days-wrapper")}),!t.oneForAll&&(0,j.isNotEmpty)(t.daysWidth)&&o.push({type:"unitPoint",id:"daysWidth",responsive:!0,properties:[{name:"width",valueType:"direct"}],selector:".guten-element.guten-countdown.".concat(e," .days-wrapper")}),!t.oneForAll&&(0,j.isNotEmpty)(t.daysHeight)&&o.push({type:"plain",id:"daysHeight",responsive:!0,properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}],selector:".guten-element.guten-countdown.".concat(e," .days-wrapper")}),!t.oneForAll&&(0,j.isNotEmpty)(t.daysVerticalAlign)&&o.push({type:"plain",id:"daysVerticalAlign",properties:[{name:"top"===t.labelPosition||"bottom"===t.labelPosition?"justify-content":"align-items",valueType:"direct"}],selector:".editor-styles-wrapper .".concat(e,".guten-countdown .days-wrapper")}),!t.oneForAll&&(0,j.isNotEmpty)(t.daysHorizontalAlign)&&o.push({type:"plain",id:"daysHorizontalAlign",properties:[{name:"top"===t.labelPosition||"bottom"===t.labelPosition?"align-items":"justify-content",valueType:"direct"}],selector:".editor-styles-wrapper .".concat(e,".guten-countdown .days-wrapper")}),!t.oneForAll&&(0,j.isNotEmpty)(t.hoursDigitColor)&&o.push({type:"color",id:"hoursDigitColor",selector:".guten-element.guten-countdown.".concat(e," .hours-wrapper .countdown-value"),properties:[{name:"color",valueType:"direct"}]}),!t.oneForAll&&(0,j.isNotEmpty)(t.hoursDigitTypography)&&o.push({type:"typography",id:"hoursDigitTypography",selector:".guten-element.guten-countdown.".concat(e," .hours-wrapper .countdown-value")}),!t.oneForAll&&(0,j.isNotEmpty)(t.hoursLabelColor)&&o.push({type:"color",id:"hoursLabelColor",selector:".guten-element.guten-countdown.".concat(e," .hours-wrapper .countdown-label"),properties:[{name:"color",valueType:"direct"}]}),!t.oneForAll&&(0,j.isNotEmpty)(t.hoursLabelTypography)&&o.push({type:"typography",id:"hoursLabelTypography",selector:".guten-element.guten-countdown.".concat(e," .hours-wrapper .countdown-label")}),!t.oneForAll&&(0,j.isNotEmpty)(t.hoursBackground)&&o.push({type:"background",id:"hoursBackground",selector:".guten-element.guten-countdown.".concat(e," .hours-wrapper")}),!t.oneForAll&&(0,j.isNotEmpty)(t.hoursBackgroundHover)&&o.push({type:"background",id:"hoursBackgroundHover",selector:".guten-element.guten-countdown.".concat(e," .hours-wrapper:hover")}),!t.oneForAll&&(0,j.isNotEmpty)(t.hoursBorder)&&o.push({type:"borderResponsive",id:"hoursBorder",selector:".guten-element.guten-countdown.".concat(e," .hours-wrapper")}),!t.oneForAll&&(0,j.isNotEmpty)(t.hoursBorderHover)&&o.push({type:"borderResponsive",id:"hoursBorderHover",selector:".guten-element.guten-countdown.".concat(e," .hours-wrapper")}),!t.oneForAll&&(0,j.isNotEmpty)(t.hoursBoxShadow)&&o.push({type:"boxShadow",id:"hoursBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .".concat(e,".guten-countdown .hours-wrapper")}),!t.oneForAll&&(0,j.isNotEmpty)(t.hoursBoxShadowHover)&&o.push({type:"boxShadow",id:"hoursBoxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".guten-element.guten-countdown.".concat(e," .hours-wrapper:hover")}),!t.oneForAll&&(0,j.isNotEmpty)(t.hoursPadding)&&o.push({type:"dimension",id:"hoursPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".guten-element.guten-countdown.".concat(e," .hours-wrapper")}),!t.oneForAll&&(0,j.isNotEmpty)(t.hoursMargin)&&o.push({type:"dimension",id:"hoursMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".guten-element.guten-countdown.".concat(e," .hours-wrapper")}),!t.oneForAll&&(0,j.isNotEmpty)(t.hoursWidth)&&o.push({type:"unitPoint",id:"hoursWidth",responsive:!0,properties:[{name:"width",valueType:"direct"}],selector:".guten-element.guten-countdown.".concat(e," .hours-wrapper")}),!t.oneForAll&&(0,j.isNotEmpty)(t.hoursHeight)&&o.push({type:"plain",id:"hoursHeight",responsive:!0,properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}],selector:".guten-element.guten-countdown.".concat(e," .hours-wrapper")}),!t.oneForAll&&(0,j.isNotEmpty)(t.hoursVerticalAlign)&&o.push({type:"plain",id:"hoursVerticalAlign",properties:[{name:"top"===t.labelPosition||"bottom"===t.labelPosition?"justify-content":"align-items",valueType:"direct"}],selector:".editor-styles-wrapper .".concat(e,".guten-countdown .hours-wrapper")}),!t.oneForAll&&(0,j.isNotEmpty)(t.hoursHorizontalAlign)&&o.push({type:"plain",id:"hoursHorizontalAlign",properties:[{name:"top"===t.labelPosition||"bottom"===t.labelPosition?"align-items":"justify-content",valueType:"direct"}],selector:".editor-styles-wrapper .".concat(e,".guten-countdown .hours-wrapper")}),!t.oneForAll&&(0,j.isNotEmpty)(t.minutesDigitColor)&&o.push({type:"color",id:"minutesDigitColor",selector:".guten-element.guten-countdown.".concat(e," .minutes-wrapper .countdown-value"),properties:[{name:"color",valueType:"direct"}]}),!t.oneForAll&&(0,j.isNotEmpty)(t.minutesDigitTypography)&&o.push({type:"typography",id:"minutesDigitTypography",selector:".guten-element.guten-countdown.".concat(e," .minutes-wrapper .countdown-value")}),!t.oneForAll&&(0,j.isNotEmpty)(t.minutesLabelColor)&&o.push({type:"color",id:"minutesLabelColor",selector:".guten-element.guten-countdown.".concat(e," .minutes-wrapper .countdown-label"),properties:[{name:"color",valueType:"direct"}]}),!t.oneForAll&&(0,j.isNotEmpty)(t.minutesLabelTypography)&&o.push({type:"typography",id:"minutesLabelTypography",selector:".guten-element.guten-countdown.".concat(e," .minutes-wrapper .countdown-label")}),!t.oneForAll&&(0,j.isNotEmpty)(t.minutesBackground)&&o.push({type:"background",id:"minutesBackground",selector:".guten-element.guten-countdown.".concat(e," .minutes-wrapper")}),!t.oneForAll&&(0,j.isNotEmpty)(t.minutesBackgroundHover)&&o.push({type:"background",id:"minutesBackgroundHover",selector:".guten-element.guten-countdown.".concat(e," .minutes-wrapper:hover")}),!t.oneForAll&&(0,j.isNotEmpty)(t.minutesBorder)&&o.push({type:"borderResponsive",id:"minutesBorder",selector:".guten-element.guten-countdown.".concat(e," .minutes-wrapper")}),!t.oneForAll&&(0,j.isNotEmpty)(t.minutesBorderHover)&&o.push({type:"borderResponsive",id:"minutesBorderHover",selector:".guten-element.guten-countdown.".concat(e," .minutes-wrapper")}),!t.oneForAll&&(0,j.isNotEmpty)(t.minutesBoxShadow)&&o.push({type:"boxShadow",id:"minutesBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .".concat(e,".guten-countdown .minutes-wrapper")}),!t.oneForAll&&(0,j.isNotEmpty)(t.minutesBoxShadowHover)&&o.push({type:"boxShadow",id:"minutesBoxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".guten-element.guten-countdown.".concat(e," .minutes-wrapper:hover")}),!t.oneForAll&&(0,j.isNotEmpty)(t.minutesPadding)&&o.push({type:"dimension",id:"minutesPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".guten-element.guten-countdown.".concat(e," .minutes-wrapper")}),!t.oneForAll&&(0,j.isNotEmpty)(t.minutesMargin)&&o.push({type:"dimension",id:"minutesMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".guten-element.guten-countdown.".concat(e," .minutes-wrapper")}),!t.oneForAll&&(0,j.isNotEmpty)(t.minutesWidth)&&o.push({type:"unitPoint",id:"minutesWidth",responsive:!0,properties:[{name:"width",valueType:"direct"}],selector:".guten-element.guten-countdown.".concat(e," .minutes-wrapper")}),!t.oneForAll&&(0,j.isNotEmpty)(t.minutesHeight)&&o.push({type:"plain",id:"minutesHeight",responsive:!0,properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}],selector:".guten-element.guten-countdown.".concat(e," .minutes-wrapper")}),!t.oneForAll&&(0,j.isNotEmpty)(t.minutesVerticalAlign)&&o.push({type:"plain",id:"minutesVerticalAlign",properties:[{name:"top"===t.labelPosition||"bottom"===t.labelPosition?"justify-content":"align-items",valueType:"direct"}],selector:".editor-styles-wrapper .".concat(e,".guten-countdown .minutes-wrapper")}),!t.oneForAll&&(0,j.isNotEmpty)(t.minutesHorizontalAlign)&&o.push({type:"plain",id:"minutesHorizontalAlign",properties:[{name:"top"===t.labelPosition||"bottom"===t.labelPosition?"align-items":"justify-content",valueType:"direct"}],selector:".editor-styles-wrapper .".concat(e,".guten-countdown .minutes-wrapper")}),!t.oneForAll&&(0,j.isNotEmpty)(t.secondsDigitColor)&&o.push({type:"color",id:"secondsDigitColor",selector:".guten-element.guten-countdown.".concat(e," .seconds-wrapper .countdown-value"),properties:[{name:"color",valueType:"direct"}]}),!t.oneForAll&&(0,j.isNotEmpty)(t.secondsDigitTypography)&&o.push({type:"typography",id:"secondsDigitTypography",selector:".guten-element.guten-countdown.".concat(e," .seconds-wrapper .countdown-value")}),!t.oneForAll&&(0,j.isNotEmpty)(t.secondsLabelColor)&&o.push({type:"color",id:"secondsLabelColor",selector:".guten-element.guten-countdown.".concat(e," .seconds-wrapper .countdown-label"),properties:[{name:"color",valueType:"direct"}]}),!t.oneForAll&&(0,j.isNotEmpty)(t.secondsLabelTypography)&&o.push({type:"typography",id:"secondsLabelTypography",selector:".guten-element.guten-countdown.".concat(e," .seconds-wrapper .countdown-label")}),!t.oneForAll&&(0,j.isNotEmpty)(t.secondsBackground)&&o.push({type:"background",id:"secondsBackground",selector:".guten-element.guten-countdown.".concat(e," .seconds-wrapper")}),!t.oneForAll&&(0,j.isNotEmpty)(t.secondsBackgroundHover)&&o.push({type:"background",id:"secondsBackgroundHover",selector:".guten-element.guten-countdown.".concat(e," .seconds-wrapper:hover")}),!t.oneForAll&&(0,j.isNotEmpty)(t.secondsBorder)&&o.push({type:"borderResponsive",id:"secondsBorder",selector:".guten-element.guten-countdown.".concat(e," .seconds-wrapper")}),!t.oneForAll&&(0,j.isNotEmpty)(t.secondsBorderHover)&&o.push({type:"borderResponsive",id:"secondsBorderHover",selector:".guten-element.guten-countdown.".concat(e," .seconds-wrapper")}),!t.oneForAll&&(0,j.isNotEmpty)(t.secondsBoxShadow)&&o.push({type:"boxShadow",id:"secondsBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .".concat(e,".guten-countdown .seconds-wrapper")}),!t.oneForAll&&(0,j.isNotEmpty)(t.secondsBoxShadowHover)&&o.push({type:"boxShadow",id:"secondsBoxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".guten-element.guten-countdown.".concat(e," .seconds-wrapper:hover")}),!t.oneForAll&&(0,j.isNotEmpty)(t.secondsPadding)&&o.push({type:"dimension",id:"secondsPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".guten-element.guten-countdown.".concat(e," .seconds-wrapper")}),!t.oneForAll&&(0,j.isNotEmpty)(t.secondsMargin)&&o.push({type:"dimension",id:"secondsMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".guten-element.guten-countdown.".concat(e," .seconds-wrapper")}),!t.oneForAll&&(0,j.isNotEmpty)(t.secondsWidth)&&o.push({type:"unitPoint",id:"secondsWidth",responsive:!0,properties:[{name:"width",valueType:"direct"}],selector:".guten-element.guten-countdown.".concat(e," .seconds-wrapper")}),!t.oneForAll&&(0,j.isNotEmpty)(t.secondsHeight)&&o.push({type:"plain",id:"secondsHeight",responsive:!0,properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}],selector:".guten-element.guten-countdown.".concat(e," .seconds-wrapper")}),!t.oneForAll&&(0,j.isNotEmpty)(t.secondsVerticalAlign)&&o.push({type:"plain",id:"secondsVerticalAlign",properties:[{name:"top"===t.labelPosition||"bottom"===t.labelPosition?"justify-content":"align-items",valueType:"direct"}],selector:".editor-styles-wrapper .".concat(e,".guten-countdown .seconds-wrapper")}),!t.oneForAll&&(0,j.isNotEmpty)(t.secondsHorizontalAlign)&&o.push({type:"plain",id:"secondsHorizontalAlign",properties:[{name:"top"===t.labelPosition||"bottom"===t.labelPosition?"align-items":"justify-content",valueType:"direct"}],selector:".editor-styles-wrapper .".concat(e,".guten-countdown .seconds-wrapper")}),(0,j.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,j.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,j.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,j.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.animation)&&(0,j.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,j.isNotEmpty)(t.positioningType)&&(0,j.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,j.isNotEmpty)(t.positioningWidth)&&(0,j.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,j.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.positioningLeft)&&(0,j.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,j.isNotEmpty)(t.positioningRight)&&(0,j.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,j.isNotEmpty)(t.positioningTop)&&(0,j.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,j.isNotEmpty)(t.positioningBottom)&&(0,j.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),[].concat((0,_.A)(o),(0,_.A)((0,T.applyFilters)("gutenverse.countdown.blockStyle",[],{elementId:e,attributes:t})))};var C=o(790);function k(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function P(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?k(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):k(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var N=(0,i.compose)(x.withPartialRender,x.withPassRef,(0,x.withAnimationAdvanceV2)("countdown"),x.withMouseMoveEffect)((function(e){var t=e.attributes,o=e.clientId,n=e.setBlockRef,i=t.elementId,p=t.showDays,u=t.labelDays,d=t.showHours,y=t.labelHours,g=t.showMinutes,m=t.labelMinutes,v=t.showSeconds,h=t.labelSeconds,x=t.dueDate,_=t.showDivider,j=t.dividerType,T=t.labelPosition,k=t.expiredAction,N=(0,f.useState)("0"),E=(0,r.A)(N,2),D=E[0],B=E[1],A=(0,f.useState)("0"),H=(0,r.A)(A,2),R=H[0],I=H[1],M=(0,f.useState)("0"),L=(0,r.A)(M,2),z=L[0],F=L[1],V=(0,f.useState)("0"),W=(0,r.A)(V,2),G=W[0],U=W[1],q=(0,f.useRef)(null),$=(0,w.useAnimationEditor)(t),Y=(0,w.useDisplayEditor)(t);(0,S.useGenerateElementId)(o,i,q),(0,S.useDynamicStyle)(i,t,O,q),(0,S.useDynamicScript)(q);var X=(0,a.useBlockProps)({className:(0,s.classnames)("guten-element","guten-countdown","no-margin",i,$,Y),ref:q}),J=(0,a.useInnerBlocksProps)({className:"countdown-expired"},{template:[["core/paragraph"]]});return(0,f.useEffect)((function(){var e=setInterval((function(){if(x){var t=new Date(x)-new Date;t>0?function(e){if(p){var t=Math.floor(e/864e5);B(t);var o=Math.floor(e%864e5/36e5);I(o);var n=Math.floor(e%36e5/6e4);F(n);var r=Math.floor(e%6e4/1e3);U(r)}else if(d){var i=Math.floor(e/36e5);I(i);var a=Math.floor(e%36e5/6e4);F(a);var s=Math.floor(e%6e4/1e3);U(s)}else if(g){var l=Math.floor(e/6e4);F(l);var c=Math.floor(e%6e4/1e3);U(c)}else{var u=Math.floor(e/1e3);U(u)}}(t):clearInterval(e)}}),1e3);return function(){return clearInterval(e)}}),[x,p,d,g]),(0,f.useEffect)((function(){q&&n(q)}),[q]),(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(s.CopyElementToolbar,P({},e)),(0,C.jsx)(l.BlockPanelController,{panelList:b,props:e,elementRef:q}),(0,C.jsxs)("div",P(P({},X),{},{children:[(0,C.jsxs)("div",{className:"guten-countdown-wrapper",children:[p&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("div",{className:"item-flex",children:(0,C.jsxs)("div",{className:"time-container days-wrapper",children:[u&&("left"===T||"top"===T)&&(0,C.jsx)("div",{className:"countdown-label",children:u}),(0,C.jsx)("div",{className:"countdown-value",children:D}),u&&("right"===T||"bottom"===T)&&(0,C.jsx)("div",{className:"countdown-label",children:u})]})}),_&&(0,C.jsx)("div",{className:"countdown-divider",children:j})]}),d&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("div",{className:"item-flex",children:(0,C.jsxs)("div",{className:"time-container hours-wrapper",children:[y&&("left"===T||"top"===T)&&(0,C.jsx)("div",{className:"countdown-label",children:y}),(0,C.jsx)("div",{className:"countdown-value",children:R}),y&&("right"===T||"bottom"===T)&&(0,C.jsx)("div",{className:"countdown-label",children:y})]})}),_&&(0,C.jsx)("div",{className:"countdown-divider",children:j})]}),g&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("div",{className:"item-flex",children:(0,C.jsxs)("div",{className:"time-container minutes-wrapper",children:[m&&("left"===T||"top"===T)&&(0,C.jsx)("div",{className:"countdown-label",children:m}),(0,C.jsx)("div",{className:"countdown-value",children:z}),m&&("right"===T||"bottom"===T)&&(0,C.jsx)("div",{className:"countdown-label",children:m})]})}),_&&v&&(0,C.jsx)("div",{className:"countdown-divider",children:j})]}),v&&(0,C.jsx)("div",{className:"item-flex",children:(0,C.jsxs)("div",{className:"time-container seconds-wrapper",children:[h&&("left"===T||"top"===T)&&(0,C.jsx)("div",{className:"countdown-label",children:h}),(0,C.jsx)("div",{className:"countdown-value",children:G}),h&&("right"===T||"bottom"===T)&&(0,C.jsx)("div",{className:"countdown-label",children:h})]})})]}),"section"===k&&(0,C.jsxs)("div",{className:"countdown-expired-wrapper",children:[(0,C.jsx)("h3",{children:(0,c.__)("Expired Section","gutenverse")}),(0,C.jsx)("div",P({},J))]})]}))]})}));const E=N;function D(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function B(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?D(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):D(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var A=(0,i.compose)((0,x.withAnimationAdvanceScript)("countdown"),x.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,n=t.showDays,r=t.labelDays,i=t.showHours,l=t.labelHours,c=t.showMinutes,p=t.labelMinutes,u=t.showSeconds,d=t.labelSeconds,y=t.dueDate,g=t.showDivider,m=t.dividerType,v=t.labelPosition,h=t.expiredAction,b=t.expiredUrl,f=(0,w.useAnimationAdvanceData)(t),x=(0,w.useAnimationFrontend)(t),S=(0,w.useDisplayFrontend)(t),_=(0,s.classnames)("guten-element","guten-countdown",o,x,S);return(0,C.jsxs)("div",B(B({},a.useBlockProps.save(B({className:_},f))),{},{"data-duedate":JSON.stringify(y),"data-expired":JSON.stringify({action:h,url:b}),children:[(0,C.jsxs)("div",{className:"guten-countdown-wrapper",children:[n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsxs)("div",{className:"time-container days-wrapper",children:[r&&("left"===v||"top"===v)&&(0,C.jsx)("div",{className:"countdown-label",children:r}),(0,C.jsx)("div",{className:"countdown-value",children:"0"}),r&&("right"===v||"bottom"===v)&&(0,C.jsx)("div",{className:"countdown-label",children:r})]}),g&&(0,C.jsx)("div",{className:"countdown-divider",children:m})]}),i&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsxs)("div",{className:"time-container hours-wrapper",children:[l&&("left"===v||"top"===v)&&(0,C.jsx)("div",{className:"countdown-label",children:l}),(0,C.jsx)("div",{className:"countdown-value",children:"0"}),l&&("right"===v||"bottom"===v)&&(0,C.jsx)("div",{className:"countdown-label",children:l})]}),g&&(0,C.jsx)("div",{className:"countdown-divider",children:m})]}),c&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsxs)("div",{className:"time-container minutes-wrapper",children:[p&&("left"===v||"top"===v)&&(0,C.jsx)("div",{className:"countdown-label",children:p}),(0,C.jsx)("div",{className:"countdown-value",children:"0"}),p&&("right"===v||"bottom"===v)&&(0,C.jsx)("div",{className:"countdown-label",children:p})]}),g&&u&&(0,C.jsx)("div",{className:"countdown-divider",children:m})]}),u&&(0,C.jsxs)("div",{className:"time-container seconds-wrapper",children:[d&&("left"===v||"top"===v)&&(0,C.jsx)("div",{className:"countdown-label",children:d}),(0,C.jsx)("div",{className:"countdown-value",children:"0"}),d&&("right"===v||"bottom"===v)&&(0,C.jsx)("div",{className:"countdown-label",children:d})]})]}),"section"===h&&(0,C.jsx)("div",{className:"countdown-expired-wrapper",children:(0,C.jsx)(a.InnerBlocks.Content,{})})]}))}));const H=A;function R(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function I(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?R(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):R(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var M=(0,i.compose)((0,x.withAnimationAdvanceScript)("countdown"),x.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,n=t.showDays,r=t.labelDays,i=t.showHours,l=t.labelHours,c=t.showMinutes,p=t.labelMinutes,u=t.showSeconds,d=t.labelSeconds,y=t.dueDate,g=t.showDivider,m=t.dividerType,v=t.labelPosition,h=t.expiredAction,b=t.expiredUrl,f=(0,w.useAnimationAdvanceData)(t),x=(0,w.useAnimationFrontend)(t),S=(0,w.useDisplayFrontend)(t),_=(0,s.classnames)("guten-element","guten-countdown",o,x,S);return(0,C.jsxs)("div",I(I({},a.useBlockProps.save(I({className:_},f))),{},{"data-duedate":JSON.stringify(y),"data-expired":JSON.stringify({action:h,url:b}),children:[(0,C.jsxs)("div",{className:"guten-countdown-wrapper",children:[n&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("div",{className:"item-flex",children:(0,C.jsxs)("div",{className:"time-container days-wrapper",children:[r&&("left"===v||"top"===v)&&(0,C.jsx)("div",{className:"countdown-label",children:r}),(0,C.jsx)("div",{className:"countdown-value",children:"0"}),r&&("right"===v||"bottom"===v)&&(0,C.jsx)("div",{className:"countdown-label",children:r})]})}),g&&(0,C.jsx)("div",{className:"countdown-divider",children:m})]}),i&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("div",{className:"item-flex",children:(0,C.jsxs)("div",{className:"time-container hours-wrapper",children:[l&&("left"===v||"top"===v)&&(0,C.jsx)("div",{className:"countdown-label",children:l}),(0,C.jsx)("div",{className:"countdown-value",children:"0"}),l&&("right"===v||"bottom"===v)&&(0,C.jsx)("div",{className:"countdown-label",children:l})]})}),g&&(0,C.jsx)("div",{className:"countdown-divider",children:m})]}),c&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("div",{className:"item-flex",children:(0,C.jsxs)("div",{className:"time-container minutes-wrapper",children:[p&&("left"===v||"top"===v)&&(0,C.jsx)("div",{className:"countdown-label",children:p}),(0,C.jsx)("div",{className:"countdown-value",children:"0"}),p&&("right"===v||"bottom"===v)&&(0,C.jsx)("div",{className:"countdown-label",children:p})]})}),g&&u&&(0,C.jsx)("div",{className:"countdown-divider",children:m})]}),u&&(0,C.jsx)("div",{className:"item-flex",children:(0,C.jsxs)("div",{className:"time-container seconds-wrapper",children:[d&&("left"===v||"top"===v)&&(0,C.jsx)("div",{className:"countdown-label",children:d}),(0,C.jsx)("div",{className:"countdown-value",children:"0"}),d&&("right"===v||"bottom"===v)&&(0,C.jsx)("div",{className:"countdown-label",children:d})]})})]}),"section"===h&&(0,C.jsx)("div",{className:"countdown-expired-wrapper",children:(0,C.jsx)(a.InnerBlocks.Content,{})})]}))}));const L=M,z=JSON.parse('{"apiVersion":2,"name":"gutenverse/countdown","title":"Countdown","description":"Create a countdown block","category":"gutenverse-element","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"column":{"type":"object","copyStyle":true,"default":{}},"rowGap":{"type":"object","copyStyle":true},"dueDate":{"type":"array"},"showDivider":{"type":"boolean","default":false},"dividerType":{"type":"string","default":"","copyStyle":true},"dividerColor":{"type":"object","copyStyle":true},"dividerSize":{"type":"object","copyStyle":true},"labelPosition":{"type":"string","default":"bottom"},"labelSpacing":{"type":"object","copyStyle":true},"showDays":{"type":"boolean","default":true},"labelDays":{"type":"string","default":"days"},"showHours":{"type":"boolean","default":true},"labelHours":{"type":"string","default":"hours"},"showMinutes":{"type":"boolean","default":true},"labelMinutes":{"type":"string","default":"minutes"},"showSeconds":{"type":"boolean","default":true},"labelSeconds":{"type":"string","default":"seconds"},"oneForAll":{"type":"boolean","default":true},"oneForAllDigitColor":{"type":"object","copyStyle":true},"oneForAllDigitTypography":{"type":"object","copyStyle":true},"oneForAllLabelColor":{"type":"object","copyStyle":true},"oneForAllLabelTypography":{"type":"object","copyStyle":true},"oneForAllBackground":{"type":"object","copyStyle":true},"oneForAllBackgroundHover":{"type":"object","copyStyle":true},"oneForAllBorder":{"type":"object","copyStyle":true},"oneForAllBorderHover":{"type":"object","copyStyle":true},"oneForAllBoxShadow":{"type":"object","copyStyle":true},"oneForAllBoxShadowHover":{"type":"object","copyStyle":true},"oneForAllPadding":{"type":"object","copyStyle":true},"oneForAllMargin":{"type":"object","copyStyle":true},"oneForAllWidth":{"type":"object","copyStyle":true},"oneForAllHeight":{"type":"object","copyStyle":true},"oneForAllVericalAlign":{"type":"string","copyStyle":true},"oneForAllHorizontalAlign":{"type":"string","copyStyle":true},"daysDigitColor":{"type":"object","copyStyle":true},"daysDigitTypography":{"type":"object","copyStyle":true},"daysLabelColor":{"type":"object","copyStyle":true},"dayslabelTypography":{"type":"object","copyStyle":true},"daysBackground":{"type":"object","copyStyle":true},"daysBackgroundHover":{"type":"object","copyStyle":true},"daysBorder":{"type":"object","copyStyle":true},"daysBorderHover":{"type":"object","copyStyle":true},"daysBoxShadow":{"type":"object","copyStyle":true},"daysBoxShadowHover":{"type":"object","copyStyle":true},"daysPadding":{"type":"object","copyStyle":true},"daysMargin":{"type":"object","copyStyle":true},"daysWidth":{"type":"object","copyStyle":true},"daysHeight":{"type":"object","copyStyle":true},"daysVericalAlign":{"type":"string","copyStyle":true},"daysHorizontalAlign":{"type":"string","copyStyle":true},"hoursDigitColor":{"type":"object","copyStyle":true},"hoursDigitTypography":{"type":"object","copyStyle":true},"hoursLabelColor":{"type":"object","copyStyle":true},"hourslabelTypography":{"type":"object","copyStyle":true},"hoursBackground":{"type":"object","copyStyle":true},"hoursBackgroundHover":{"type":"object","copyStyle":true},"hoursBorder":{"type":"object","copyStyle":true},"hoursBorderHover":{"type":"object","copyStyle":true},"hoursBoxShadow":{"type":"object","copyStyle":true},"hoursBoxShadowHover":{"type":"object","copyStyle":true},"hoursPadding":{"type":"object","copyStyle":true},"hoursMargin":{"type":"object","copyStyle":true},"hoursWidth":{"type":"object","copyStyle":true},"hoursHeight":{"type":"object","copyStyle":true},"hoursVericalAlign":{"type":"string","copyStyle":true},"hoursHorizontalAlign":{"type":"string","copyStyle":true},"minutesDigitColor":{"type":"object","copyStyle":true},"minutesDigitTypography":{"type":"object","copyStyle":true},"minutesLabelColor":{"type":"object","copyStyle":true},"minuteslabelTypography":{"type":"object","copyStyle":true},"minutesBackground":{"type":"object","copyStyle":true},"minutesBackgroundHover":{"type":"object","copyStyle":true},"minutesBorder":{"type":"object","copyStyle":true},"minutesBorderHover":{"type":"object","copyStyle":true},"minutesBoxShadow":{"type":"object","copyStyle":true},"minutesBoxShadowHover":{"type":"object","copyStyle":true},"minutesPadding":{"type":"object","copyStyle":true},"minutesMargin":{"type":"object","copyStyle":true},"minutesWidth":{"type":"object","copyStyle":true},"minutesHeight":{"type":"object","copyStyle":true},"minutesVericalAlign":{"type":"string","copyStyle":true},"minutesHorizontalAlign":{"type":"string","copyStyle":true},"secondsDigitColor":{"type":"object","copyStyle":true},"secondsDigitTypography":{"type":"object","copyStyle":true},"secondsLabelColor":{"type":"object","copyStyle":true},"secondslabelTypography":{"type":"object","copyStyle":true},"secondsBackground":{"type":"object","copyStyle":true},"secondsBackgroundHover":{"type":"object","copyStyle":true},"secondsBorder":{"type":"object","copyStyle":true},"secondsBorderHover":{"type":"object","copyStyle":true},"secondsBoxShadow":{"type":"object","copyStyle":true},"secondsBoxShadowHover":{"type":"object","copyStyle":true},"secondsPadding":{"type":"object","copyStyle":true},"secondsMargin":{"type":"object","copyStyle":true},"secondsWidth":{"type":"object","copyStyle":true},"secondsHeight":{"type":"object","copyStyle":true},"secondsVericalAlign":{"type":"string","copyStyle":true},"secondsHorizontalAlign":{"type":"string","copyStyle":true},"expiredAction":{"type":"string","default":"none"},"expiredUrl":{"type":"string"},"background":{"type":"object","default":{},"copyStyle":true},"backgroundHover":{"type":"object","default":{},"copyStyle":true},"backgroundTransition":{"type":"object","copyStyle":true,"default":{}},"border":{"type":"object","default":{},"copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"borderHover":{"type":"object","default":{},"copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadowHover":{"type":"object","copyStyle":true},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"animation":{"type":"object","default":{},"copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"positioningType":{"type":"object","copyStyle":true},"positioningWidth":{"type":"object","copyStyle":true},"positioningAlign":{"type":"object","copyStyle":true},"positioningLocation":{"type":"string","copyStyle":true},"positioningLeft":{"type":"object","copyStyle":true},"positioningRight":{"type":"object","copyStyle":true},"positioningTop":{"type":"object","copyStyle":true},"positioningBottom":{"type":"object","copyStyle":true},"advanceAnimation":{"type":"object","default":{},"copyStyle":true},"transform":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"condition":{"type":"object","default":{}},"mouseMoveEffect":{"type":"object","copyStyle":true}},"supports":{"className":false,"html":false,"innerBlocks":true},"keywords":["countdown"]}');var F=o(4889),V=o(1503),W=o.n(V),G=z.name,U=z.attributes,q=z.support,$={icon:(0,C.jsx)(F.l$,{}),example:W(),edit:E,save:L,deprecated:[{support:q,attributes:U,save:H}]}},7143:e=>{"use strict";e.exports=window.wp.data},7292:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>is,name:()=>ss,settings:()=>ls});var n=o(6065),r=o(8930),i=o(5032),a=o(7723);function s(e){return e+.5|0}const l=(e,t,o)=>Math.max(Math.min(e,o),t);function c(e){return l(s(2.55*e),0,255)}function p(e){return l(s(255*e),0,255)}function u(e){return l(s(e/2.55)/100,0,1)}function d(e){return l(s(100*e),0,100)}const y={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},g=[..."0123456789ABCDEF"],m=e=>g[15&e],v=e=>g[(240&e)>>4]+g[15&e],h=e=>(240&e)>>4==(15&e);const b=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function f(e,t,o){const n=t*Math.min(o,1-o),r=(t,r=(t+e/30)%12)=>o-n*Math.max(Math.min(r-3,9-r,1),-1);return[r(0),r(8),r(4)]}function x(e,t,o){const n=(n,r=(n+e/60)%6)=>o-o*t*Math.max(Math.min(r,4-r,1),0);return[n(5),n(3),n(1)]}function w(e,t,o){const n=f(e,1,.5);let r;for(t+o>1&&(r=1/(t+o),t*=r,o*=r),r=0;r<3;r++)n[r]*=1-t-o,n[r]+=t;return n}function S(e){const t=e.r/255,o=e.g/255,n=e.b/255,r=Math.max(t,o,n),i=Math.min(t,o,n),a=(r+i)/2;let s,l,c;return r!==i&&(c=r-i,l=a>.5?c/(2-r-i):c/(r+i),s=function(e,t,o,n,r){return e===r?(t-o)/n+(t<o?6:0):t===r?(o-e)/n+2:(e-t)/n+4}(t,o,n,c,r),s=60*s+.5),[0|s,l||0,a]}function _(e,t,o,n){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,o,n)).map(p)}function j(e,t,o){return _(f,e,t,o)}function T(e){return(e%360+360)%360}const O={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},C={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};let k;const P=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/,N=e=>e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055,E=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function D(e,t,o){if(e){let n=S(e);n[t]=Math.max(0,Math.min(n[t]+n[t]*o,0===t?360:1)),n=j(n),e.r=n[0],e.g=n[1],e.b=n[2]}}function B(e,t){return e?Object.assign(t||{},e):e}function A(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=p(e[3]))):(t=B(e,{r:0,g:0,b:0,a:1})).a=p(t.a),t}function H(e){return"r"===e.charAt(0)?function(e){const t=P.exec(e);let o,n,r,i=255;if(t){if(t[7]!==o){const e=+t[7];i=t[8]?c(e):l(255*e,0,255)}return o=+t[1],n=+t[3],r=+t[5],o=255&(t[2]?c(o):l(o,0,255)),n=255&(t[4]?c(n):l(n,0,255)),r=255&(t[6]?c(r):l(r,0,255)),{r:o,g:n,b:r,a:i}}}(e):function(e){const t=b.exec(e);let o,n=255;if(!t)return;t[5]!==o&&(n=t[6]?c(+t[5]):p(+t[5]));const r=T(+t[2]),i=+t[3]/100,a=+t[4]/100;return o="hwb"===t[1]?function(e,t,o){return _(w,e,t,o)}(r,i,a):"hsv"===t[1]?function(e,t,o){return _(x,e,t,o)}(r,i,a):j(r,i,a),{r:o[0],g:o[1],b:o[2],a:n}}(e)}class R{constructor(e){if(e instanceof R)return e;const t=typeof e;let o;var n,r,i;"object"===t?o=A(e):"string"===t&&(i=(n=e).length,"#"===n[0]&&(4===i||5===i?r={r:255&17*y[n[1]],g:255&17*y[n[2]],b:255&17*y[n[3]],a:5===i?17*y[n[4]]:255}:7!==i&&9!==i||(r={r:y[n[1]]<<4|y[n[2]],g:y[n[3]]<<4|y[n[4]],b:y[n[5]]<<4|y[n[6]],a:9===i?y[n[7]]<<4|y[n[8]]:255})),o=r||function(e){k||(k=function(){const e={},t=Object.keys(C),o=Object.keys(O);let n,r,i,a,s;for(n=0;n<t.length;n++){for(a=s=t[n],r=0;r<o.length;r++)i=o[r],s=s.replace(i,O[i]);i=parseInt(C[a],16),e[s]=[i>>16&255,i>>8&255,255&i]}return e}(),k.transparent=[0,0,0,0]);const t=k[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:4===t.length?t[3]:255}}(e)||H(e)),this._rgb=o,this._valid=!!o}get valid(){return this._valid}get rgb(){var e=B(this._rgb);return e&&(e.a=u(e.a)),e}set rgb(e){this._rgb=A(e)}rgbString(){return this._valid?(e=this._rgb)&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${u(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`):void 0;var e}hexString(){return this._valid?(e=this._rgb,t=(e=>h(e.r)&&h(e.g)&&h(e.b)&&h(e.a))(e)?m:v,e?"#"+t(e.r)+t(e.g)+t(e.b)+((e,t)=>e<255?t(e):"")(e.a,t):void 0):void 0;var e,t}hslString(){return this._valid?function(e){if(!e)return;const t=S(e),o=t[0],n=d(t[1]),r=d(t[2]);return e.a<255?`hsla(${o}, ${n}%, ${r}%, ${u(e.a)})`:`hsl(${o}, ${n}%, ${r}%)`}(this._rgb):void 0}mix(e,t){if(e){const o=this.rgb,n=e.rgb;let r;const i=t===r?.5:t,a=2*i-1,s=o.a-n.a,l=((a*s===-1?a:(a+s)/(1+a*s))+1)/2;r=1-l,o.r=255&l*o.r+r*n.r+.5,o.g=255&l*o.g+r*n.g+.5,o.b=255&l*o.b+r*n.b+.5,o.a=i*o.a+(1-i)*n.a,this.rgb=o}return this}interpolate(e,t){return e&&(this._rgb=function(e,t,o){const n=E(u(e.r)),r=E(u(e.g)),i=E(u(e.b));return{r:p(N(n+o*(E(u(t.r))-n))),g:p(N(r+o*(E(u(t.g))-r))),b:p(N(i+o*(E(u(t.b))-i))),a:e.a+o*(t.a-e.a)}}(this._rgb,e._rgb,t)),this}clone(){return new R(this.rgb)}alpha(e){return this._rgb.a=p(e),this}clearer(e){return this._rgb.a*=1-e,this}greyscale(){const e=this._rgb,t=s(.3*e.r+.59*e.g+.11*e.b);return e.r=e.g=e.b=t,this}opaquer(e){return this._rgb.a*=1+e,this}negate(){const e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return D(this._rgb,2,e),this}darken(e){return D(this._rgb,2,-e),this}saturate(e){return D(this._rgb,1,e),this}desaturate(e){return D(this._rgb,1,-e),this}rotate(e){return function(e,t){var o=S(e);o[0]=T(o[0]+t),o=j(o),e.r=o[0],e.g=o[1],e.b=o[2]}(this._rgb,e),this}}function I(){}const M=(()=>{let e=0;return()=>e++})();function L(e){return null==e}function z(e){if(Array.isArray&&Array.isArray(e))return!0;const t=Object.prototype.toString.call(e);return"[object"===t.slice(0,7)&&"Array]"===t.slice(-6)}function F(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)}function V(e){return("number"==typeof e||e instanceof Number)&&isFinite(+e)}function W(e,t){return V(e)?e:t}function G(e,t){return void 0===e?t:e}const U=(e,t)=>"string"==typeof e&&e.endsWith("%")?parseFloat(e)/100*t:+e;function q(e,t,o){if(e&&"function"==typeof e.call)return e.apply(o,t)}function $(e,t,o,n){let r,i,a;if(z(e))if(i=e.length,n)for(r=i-1;r>=0;r--)t.call(o,e[r],r);else for(r=0;r<i;r++)t.call(o,e[r],r);else if(F(e))for(a=Object.keys(e),i=a.length,r=0;r<i;r++)t.call(o,e[a[r]],a[r])}function Y(e,t){let o,n,r,i;if(!e||!t||e.length!==t.length)return!1;for(o=0,n=e.length;o<n;++o)if(r=e[o],i=t[o],r.datasetIndex!==i.datasetIndex||r.index!==i.index)return!1;return!0}function X(e){if(z(e))return e.map(X);if(F(e)){const t=Object.create(null),o=Object.keys(e),n=o.length;let r=0;for(;r<n;++r)t[o[r]]=X(e[o[r]]);return t}return e}function J(e){return-1===["__proto__","prototype","constructor"].indexOf(e)}function Q(e,t,o,n){if(!J(e))return;const r=t[e],i=o[e];F(r)&&F(i)?Z(r,i,n):t[e]=X(i)}function Z(e,t,o){const n=z(t)?t:[t],r=n.length;if(!F(e))return e;const i=(o=o||{}).merger||Q;let a;for(let t=0;t<r;++t){if(a=n[t],!F(a))continue;const r=Object.keys(a);for(let t=0,n=r.length;t<n;++t)i(r[t],e,a,o)}return e}function K(e,t){return Z(e,t,{merger:ee})}function ee(e,t,o){if(!J(e))return;const n=t[e],r=o[e];F(n)&&F(r)?K(n,r):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=X(r))}const te={"":e=>e,x:e=>e.x,y:e=>e.y};function oe(e,t){const o=te[t]||(te[t]=function(e){const t=function(e){const t=e.split("."),o=[];let n="";for(const e of t)n+=e,n.endsWith("\\")?n=n.slice(0,-1)+".":(o.push(n),n="");return o}(e);return e=>{for(const o of t){if(""===o)break;e=e&&e[o]}return e}}(t));return o(e)}function ne(e){return e.charAt(0).toUpperCase()+e.slice(1)}const re=e=>void 0!==e,ie=e=>"function"==typeof e,ae=(e,t)=>{if(e.size!==t.size)return!1;for(const o of e)if(!t.has(o))return!1;return!0},se=Math.PI,le=2*se,ce=le+se,pe=Number.POSITIVE_INFINITY,ue=se/180,de=se/2,ye=se/4,ge=2*se/3,me=Math.log10,ve=Math.sign;function he(e,t,o){return Math.abs(e-t)<o}function be(e){const t=Math.round(e);e=he(e,t,e/1e3)?t:e;const o=Math.pow(10,Math.floor(me(e))),n=e/o;return(n<=1?1:n<=2?2:n<=5?5:10)*o}function fe(e){return!function(e){return"symbol"==typeof e||"object"==typeof e&&null!==e&&!(Symbol.toPrimitive in e||"toString"in e||"valueOf"in e)}(e)&&!isNaN(parseFloat(e))&&isFinite(e)}function xe(e,t,o){let n,r,i;for(n=0,r=e.length;n<r;n++)i=e[n][o],isNaN(i)||(t.min=Math.min(t.min,i),t.max=Math.max(t.max,i))}function we(e){return e*(se/180)}function Se(e){return e*(180/se)}function _e(e){if(!V(e))return;let t=1,o=0;for(;Math.round(e*t)/t!==e;)t*=10,o++;return o}function je(e,t){const o=t.x-e.x,n=t.y-e.y,r=Math.sqrt(o*o+n*n);let i=Math.atan2(n,o);return i<-.5*se&&(i+=le),{angle:i,distance:r}}function Te(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function Oe(e,t){return(e-t+ce)%le-se}function Ce(e){return(e%le+le)%le}function ke(e,t,o,n){const r=Ce(e),i=Ce(t),a=Ce(o),s=Ce(i-r),l=Ce(a-r),c=Ce(r-i),p=Ce(r-a);return r===i||r===a||n&&i===a||s>l&&c<p}function Pe(e,t,o){return Math.max(t,Math.min(o,e))}function Ne(e,t,o,n=1e-6){return e>=Math.min(t,o)-n&&e<=Math.max(t,o)+n}function Ee(e,t,o){o=o||(o=>e[o]<t);let n,r=e.length-1,i=0;for(;r-i>1;)n=i+r>>1,o(n)?i=n:r=n;return{lo:i,hi:r}}const De=(e,t,o,n)=>Ee(e,o,n?n=>{const r=e[n][t];return r<o||r===o&&e[n+1][t]===o}:n=>e[n][t]<o),Be=(e,t,o)=>Ee(e,o,(n=>e[n][t]>=o)),Ae=["push","pop","shift","splice","unshift"];function He(e,t){const o=e._chartjs;if(!o)return;const n=o.listeners,r=n.indexOf(t);-1!==r&&n.splice(r,1),n.length>0||(Ae.forEach((t=>{delete e[t]})),delete e._chartjs)}function Re(e){const t=new Set(e);return t.size===e.length?e:Array.from(t)}const Ie="undefined"==typeof window?function(e){return e()}:window.requestAnimationFrame;function Me(e,t){let o=[],n=!1;return function(...r){o=r,n||(n=!0,Ie.call(window,(()=>{n=!1,e.apply(t,o)})))}}const Le=e=>"start"===e?"left":"end"===e?"right":"center",ze=(e,t,o)=>"start"===e?t:"end"===e?o:(t+o)/2;function Fe(e,t,o){const n=t.length;let r=0,i=n;if(e._sorted){const{iScale:a,vScale:s,_parsed:l}=e,c=e.dataset&&e.dataset.options?e.dataset.options.spanGaps:null,p=a.axis,{min:u,max:d,minDefined:y,maxDefined:g}=a.getUserBounds();if(y){if(r=Math.min(De(l,p,u).lo,o?n:De(t,p,a.getPixelForValue(u)).lo),c){const e=l.slice(0,r+1).reverse().findIndex((e=>!L(e[s.axis])));r-=Math.max(0,e)}r=Pe(r,0,n-1)}if(g){let e=Math.max(De(l,a.axis,d,!0).hi+1,o?0:De(t,p,a.getPixelForValue(d),!0).hi+1);if(c){const t=l.slice(e-1).findIndex((e=>!L(e[s.axis])));e+=Math.max(0,t)}i=Pe(e,r,n)-r}else i=n-r}return{start:r,count:i}}function Ve(e){const{xScale:t,yScale:o,_scaleRanges:n}=e,r={xmin:t.min,xmax:t.max,ymin:o.min,ymax:o.max};if(!n)return e._scaleRanges=r,!0;const i=n.xmin!==t.min||n.xmax!==t.max||n.ymin!==o.min||n.ymax!==o.max;return Object.assign(n,r),i}const We=e=>0===e||1===e,Ge=(e,t,o)=>-Math.pow(2,10*(e-=1))*Math.sin((e-t)*le/o),Ue=(e,t,o)=>Math.pow(2,-10*e)*Math.sin((e-t)*le/o)+1,qe={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>1-Math.cos(e*de),easeOutSine:e=>Math.sin(e*de),easeInOutSine:e=>-.5*(Math.cos(se*e)-1),easeInExpo:e=>0===e?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>We(e)?e:e<.5?.5*Math.pow(2,10*(2*e-1)):.5*(2-Math.pow(2,-10*(2*e-1))),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>We(e)?e:Ge(e,.075,.3),easeOutElastic:e=>We(e)?e:Ue(e,.075,.3),easeInOutElastic(e){const t=.1125;return We(e)?e:e<.5?.5*Ge(2*e,t,.45):.5+.5*Ue(2*e-1,t,.45)},easeInBack(e){const t=1.70158;return e*e*((t+1)*e-t)},easeOutBack(e){const t=1.70158;return(e-=1)*e*((t+1)*e+t)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},easeInBounce:e=>1-qe.easeOutBounce(1-e),easeOutBounce(e){const t=7.5625,o=2.75;return e<1/o?t*e*e:e<2/o?t*(e-=1.5/o)*e+.75:e<2.5/o?t*(e-=2.25/o)*e+.9375:t*(e-=2.625/o)*e+.984375},easeInOutBounce:e=>e<.5?.5*qe.easeInBounce(2*e):.5*qe.easeOutBounce(2*e-1)+.5};function $e(e){if(e&&"object"==typeof e){const t=e.toString();return"[object CanvasPattern]"===t||"[object CanvasGradient]"===t}return!1}function Ye(e){return $e(e)?e:new R(e)}function Xe(e){return $e(e)?e:new R(e).saturate(.5).darken(.1).hexString()}const Je=["x","y","borderWidth","radius","tension"],Qe=["color","borderColor","backgroundColor"],Ze=new Map;function Ke(e,t,o){return function(e,t){t=t||{};const o=e+JSON.stringify(t);let n=Ze.get(o);return n||(n=new Intl.NumberFormat(e,t),Ze.set(o,n)),n}(t,o).format(e)}const et={values:e=>z(e)?e:""+e,numeric(e,t,o){if(0===e)return"0";const n=this.chart.options.locale;let r,i=e;if(o.length>1){const t=Math.max(Math.abs(o[0].value),Math.abs(o[o.length-1].value));(t<1e-4||t>1e15)&&(r="scientific"),i=function(e,t){let o=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(o)>=1&&e!==Math.floor(e)&&(o=e-Math.floor(e)),o}(e,o)}const a=me(Math.abs(i)),s=isNaN(a)?1:Math.max(Math.min(-1*Math.floor(a),20),0),l={notation:r,minimumFractionDigits:s,maximumFractionDigits:s};return Object.assign(l,this.options.ticks.format),Ke(e,n,l)},logarithmic(e,t,o){if(0===e)return"0";const n=o[t].significand||e/Math.pow(10,Math.floor(me(e)));return[1,2,3,5,10,15].includes(n)||t>.8*o.length?et.numeric.call(this,e,t,o):""}};var tt={formatters:et};const ot=Object.create(null),nt=Object.create(null);function rt(e,t){if(!t)return e;const o=t.split(".");for(let t=0,n=o.length;t<n;++t){const n=o[t];e=e[n]||(e[n]=Object.create(null))}return e}function it(e,t,o){return"string"==typeof t?Z(rt(e,t),o):Z(rt(e,""),t)}class at{constructor(e,t){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=e=>e.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(e,t)=>Xe(t.backgroundColor),this.hoverBorderColor=(e,t)=>Xe(t.borderColor),this.hoverColor=(e,t)=>Xe(t.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e),this.apply(t)}set(e,t){return it(this,e,t)}get(e){return rt(this,e)}describe(e,t){return it(nt,e,t)}override(e,t){return it(ot,e,t)}route(e,t,o,n){const r=rt(this,e),i=rt(this,o),a="_"+t;Object.defineProperties(r,{[a]:{value:r[t],writable:!0},[t]:{enumerable:!0,get(){const e=this[a],t=i[n];return F(e)?Object.assign({},t,e):G(e,t)},set(e){this[a]=e}}})}apply(e){e.forEach((e=>e(this)))}}var st=new at({_scriptable:e=>!e.startsWith("on"),_indexable:e=>"events"!==e,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[function(e){e.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:e=>"onProgress"!==e&&"onComplete"!==e&&"fn"!==e}),e.set("animations",{colors:{type:"color",properties:Qe},numbers:{type:"number",properties:Je}}),e.describe("animations",{_fallback:"animation"}),e.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:e=>0|e}}}})},function(e){e.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})},function(e){e.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,t)=>t.lineWidth,tickColor:(e,t)=>t.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:tt.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),e.route("scale.ticks","color","","color"),e.route("scale.grid","color","","borderColor"),e.route("scale.border","color","","borderColor"),e.route("scale.title","color","","color"),e.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&"callback"!==e&&"parser"!==e,_indexable:e=>"borderDash"!==e&&"tickBorderDash"!==e&&"dash"!==e}),e.describe("scales",{_fallback:"scale"}),e.describe("scale.ticks",{_scriptable:e=>"backdropPadding"!==e&&"callback"!==e,_indexable:e=>"backdropPadding"!==e})}]);function lt(e,t,o,n,r){let i=t[r];return i||(i=t[r]=e.measureText(r).width,o.push(r)),i>n&&(n=i),n}function ct(e,t,o,n){let r=(n=n||{}).data=n.data||{},i=n.garbageCollect=n.garbageCollect||[];n.font!==t&&(r=n.data={},i=n.garbageCollect=[],n.font=t),e.save(),e.font=t;let a=0;const s=o.length;let l,c,p,u,d;for(l=0;l<s;l++)if(u=o[l],null==u||z(u)){if(z(u))for(c=0,p=u.length;c<p;c++)d=u[c],null==d||z(d)||(a=lt(e,r,i,a,d))}else a=lt(e,r,i,a,u);e.restore();const y=i.length/2;if(y>o.length){for(l=0;l<y;l++)delete r[i[l]];i.splice(0,y)}return a}function pt(e,t,o){const n=e.currentDevicePixelRatio,r=0!==o?Math.max(o/2,.5):0;return Math.round((t-r)*n)/n+r}function ut(e,t){(t||e)&&((t=t||e.getContext("2d")).save(),t.resetTransform(),t.clearRect(0,0,e.width,e.height),t.restore())}function dt(e,t,o,n){yt(e,t,o,n,null)}function yt(e,t,o,n,r){let i,a,s,l,c,p,u,d;const y=t.pointStyle,g=t.rotation,m=t.radius;let v=(g||0)*ue;if(y&&"object"==typeof y&&(i=y.toString(),"[object HTMLImageElement]"===i||"[object HTMLCanvasElement]"===i))return e.save(),e.translate(o,n),e.rotate(v),e.drawImage(y,-y.width/2,-y.height/2,y.width,y.height),void e.restore();if(!(isNaN(m)||m<=0)){switch(e.beginPath(),y){default:r?e.ellipse(o,n,r/2,m,0,0,le):e.arc(o,n,m,0,le),e.closePath();break;case"triangle":p=r?r/2:m,e.moveTo(o+Math.sin(v)*p,n-Math.cos(v)*m),v+=ge,e.lineTo(o+Math.sin(v)*p,n-Math.cos(v)*m),v+=ge,e.lineTo(o+Math.sin(v)*p,n-Math.cos(v)*m),e.closePath();break;case"rectRounded":c=.516*m,l=m-c,a=Math.cos(v+ye)*l,u=Math.cos(v+ye)*(r?r/2-c:l),s=Math.sin(v+ye)*l,d=Math.sin(v+ye)*(r?r/2-c:l),e.arc(o-u,n-s,c,v-se,v-de),e.arc(o+d,n-a,c,v-de,v),e.arc(o+u,n+s,c,v,v+de),e.arc(o-d,n+a,c,v+de,v+se),e.closePath();break;case"rect":if(!g){l=Math.SQRT1_2*m,p=r?r/2:l,e.rect(o-p,n-l,2*p,2*l);break}v+=ye;case"rectRot":u=Math.cos(v)*(r?r/2:m),a=Math.cos(v)*m,s=Math.sin(v)*m,d=Math.sin(v)*(r?r/2:m),e.moveTo(o-u,n-s),e.lineTo(o+d,n-a),e.lineTo(o+u,n+s),e.lineTo(o-d,n+a),e.closePath();break;case"crossRot":v+=ye;case"cross":u=Math.cos(v)*(r?r/2:m),a=Math.cos(v)*m,s=Math.sin(v)*m,d=Math.sin(v)*(r?r/2:m),e.moveTo(o-u,n-s),e.lineTo(o+u,n+s),e.moveTo(o+d,n-a),e.lineTo(o-d,n+a);break;case"star":u=Math.cos(v)*(r?r/2:m),a=Math.cos(v)*m,s=Math.sin(v)*m,d=Math.sin(v)*(r?r/2:m),e.moveTo(o-u,n-s),e.lineTo(o+u,n+s),e.moveTo(o+d,n-a),e.lineTo(o-d,n+a),v+=ye,u=Math.cos(v)*(r?r/2:m),a=Math.cos(v)*m,s=Math.sin(v)*m,d=Math.sin(v)*(r?r/2:m),e.moveTo(o-u,n-s),e.lineTo(o+u,n+s),e.moveTo(o+d,n-a),e.lineTo(o-d,n+a);break;case"line":a=r?r/2:Math.cos(v)*m,s=Math.sin(v)*m,e.moveTo(o-a,n-s),e.lineTo(o+a,n+s);break;case"dash":e.moveTo(o,n),e.lineTo(o+Math.cos(v)*(r?r/2:m),n+Math.sin(v)*m);break;case!1:e.closePath()}e.fill(),t.borderWidth>0&&e.stroke()}}function gt(e,t,o){return o=o||.5,!t||e&&e.x>t.left-o&&e.x<t.right+o&&e.y>t.top-o&&e.y<t.bottom+o}function mt(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()}function vt(e){e.restore()}function ht(e,t,o,n,r){if(!t)return e.lineTo(o.x,o.y);if("middle"===r){const n=(t.x+o.x)/2;e.lineTo(n,t.y),e.lineTo(n,o.y)}else"after"===r!=!!n?e.lineTo(t.x,o.y):e.lineTo(o.x,t.y);e.lineTo(o.x,o.y)}function bt(e,t,o,n){if(!t)return e.lineTo(o.x,o.y);e.bezierCurveTo(n?t.cp1x:t.cp2x,n?t.cp1y:t.cp2y,n?o.cp2x:o.cp1x,n?o.cp2y:o.cp1y,o.x,o.y)}function ft(e,t,o,n,r){if(r.strikethrough||r.underline){const i=e.measureText(n),a=t-i.actualBoundingBoxLeft,s=t+i.actualBoundingBoxRight,l=o-i.actualBoundingBoxAscent,c=o+i.actualBoundingBoxDescent,p=r.strikethrough?(l+c)/2:c;e.strokeStyle=e.fillStyle,e.beginPath(),e.lineWidth=r.decorationWidth||2,e.moveTo(a,p),e.lineTo(s,p),e.stroke()}}function xt(e,t){const o=e.fillStyle;e.fillStyle=t.color,e.fillRect(t.left,t.top,t.width,t.height),e.fillStyle=o}function wt(e,t,o,n,r,i={}){const a=z(t)?t:[t],s=i.strokeWidth>0&&""!==i.strokeColor;let l,c;for(e.save(),e.font=r.string,function(e,t){t.translation&&e.translate(t.translation[0],t.translation[1]),L(t.rotation)||e.rotate(t.rotation),t.color&&(e.fillStyle=t.color),t.textAlign&&(e.textAlign=t.textAlign),t.textBaseline&&(e.textBaseline=t.textBaseline)}(e,i),l=0;l<a.length;++l)c=a[l],i.backdrop&&xt(e,i.backdrop),s&&(i.strokeColor&&(e.strokeStyle=i.strokeColor),L(i.strokeWidth)||(e.lineWidth=i.strokeWidth),e.strokeText(c,o,n,i.maxWidth)),e.fillText(c,o,n,i.maxWidth),ft(e,o,n,c,i),n+=Number(r.lineHeight);e.restore()}function St(e,t){const{x:o,y:n,w:r,h:i,radius:a}=t;e.arc(o+a.topLeft,n+a.topLeft,a.topLeft,1.5*se,se,!0),e.lineTo(o,n+i-a.bottomLeft),e.arc(o+a.bottomLeft,n+i-a.bottomLeft,a.bottomLeft,se,de,!0),e.lineTo(o+r-a.bottomRight,n+i),e.arc(o+r-a.bottomRight,n+i-a.bottomRight,a.bottomRight,de,0,!0),e.lineTo(o+r,n+a.topRight),e.arc(o+r-a.topRight,n+a.topRight,a.topRight,0,-de,!0),e.lineTo(o+a.topLeft,n)}const _t=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,jt=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function Tt(e,t){const o=(""+e).match(_t);if(!o||"normal"===o[1])return 1.2*t;switch(e=+o[2],o[3]){case"px":return e;case"%":e/=100}return t*e}function Ot(e,t){const o={},n=F(t),r=n?Object.keys(t):t,i=F(e)?n?o=>G(e[o],e[t[o]]):t=>e[t]:()=>e;for(const e of r)o[e]=+i(e)||0;return o}function Ct(e){return Ot(e,{top:"y",right:"x",bottom:"y",left:"x"})}function kt(e){return Ot(e,["topLeft","topRight","bottomLeft","bottomRight"])}function Pt(e){const t=Ct(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function Nt(e,t){e=e||{},t=t||st.font;let o=G(e.size,t.size);"string"==typeof o&&(o=parseInt(o,10));let n=G(e.style,t.style);n&&!(""+n).match(jt)&&(console.warn('Invalid font style specified: "'+n+'"'),n=void 0);const r={family:G(e.family,t.family),lineHeight:Tt(G(e.lineHeight,t.lineHeight),o),size:o,style:n,weight:G(e.weight,t.weight),string:""};return r.string=function(e){return!e||L(e.size)||L(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}(r),r}function Et(e,t,o,n){let r,i,a,s=!0;for(r=0,i=e.length;r<i;++r)if(a=e[r],void 0!==a&&(void 0!==t&&"function"==typeof a&&(a=a(t),s=!1),void 0!==o&&z(a)&&(a=a[o%a.length],s=!1),void 0!==a))return n&&!s&&(n.cacheable=!1),a}function Dt(e,t){return Object.assign(Object.create(e),t)}function Bt(e,t=[""],o,n,r=()=>e[0]){const i=o||e;void 0===n&&(n=Gt("_fallback",e));const a={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:i,_fallback:n,_getTarget:r,override:o=>Bt([o,...e],t,i,n)};return new Proxy(a,{deleteProperty:(t,o)=>(delete t[o],delete t._keys,delete e[0][o],!0),get:(o,n)=>Mt(o,n,(()=>function(e,t,o,n){let r;for(const i of t)if(r=Gt(Rt(i,e),o),void 0!==r)return It(e,r)?Vt(o,n,e,r):r}(n,t,e,o))),getOwnPropertyDescriptor:(e,t)=>Reflect.getOwnPropertyDescriptor(e._scopes[0],t),getPrototypeOf:()=>Reflect.getPrototypeOf(e[0]),has:(e,t)=>Ut(e).includes(t),ownKeys:e=>Ut(e),set(e,t,o){const n=e._storage||(e._storage=r());return e[t]=n[t]=o,delete e._keys,!0}})}function At(e,t,o,n){const r={_cacheable:!1,_proxy:e,_context:t,_subProxy:o,_stack:new Set,_descriptors:Ht(e,n),setContext:t=>At(e,t,o,n),override:r=>At(e.override(r),t,o,n)};return new Proxy(r,{deleteProperty:(t,o)=>(delete t[o],delete e[o],!0),get:(e,t,o)=>Mt(e,t,(()=>function(e,t,o){const{_proxy:n,_context:r,_subProxy:i,_descriptors:a}=e;let s=n[t];return ie(s)&&a.isScriptable(t)&&(s=function(e,t,o,n){const{_proxy:r,_context:i,_subProxy:a,_stack:s}=o;if(s.has(e))throw new Error("Recursion detected: "+Array.from(s).join("->")+"->"+e);s.add(e);let l=t(i,a||n);return s.delete(e),It(e,l)&&(l=Vt(r._scopes,r,e,l)),l}(t,s,e,o)),z(s)&&s.length&&(s=function(e,t,o,n){const{_proxy:r,_context:i,_subProxy:a,_descriptors:s}=o;if(void 0!==i.index&&n(e))return t[i.index%t.length];if(F(t[0])){const o=t,n=r._scopes.filter((e=>e!==o));t=[];for(const l of o){const o=Vt(n,r,e,l);t.push(At(o,i,a&&a[e],s))}}return t}(t,s,e,a.isIndexable)),It(t,s)&&(s=At(s,r,i&&i[t],a)),s}(e,t,o))),getOwnPropertyDescriptor:(t,o)=>t._descriptors.allKeys?Reflect.has(e,o)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,o),getPrototypeOf:()=>Reflect.getPrototypeOf(e),has:(t,o)=>Reflect.has(e,o),ownKeys:()=>Reflect.ownKeys(e),set:(t,o,n)=>(e[o]=n,delete t[o],!0)})}function Ht(e,t={scriptable:!0,indexable:!0}){const{_scriptable:o=t.scriptable,_indexable:n=t.indexable,_allKeys:r=t.allKeys}=e;return{allKeys:r,scriptable:o,indexable:n,isScriptable:ie(o)?o:()=>o,isIndexable:ie(n)?n:()=>n}}const Rt=(e,t)=>e?e+ne(t):t,It=(e,t)=>F(t)&&"adapters"!==e&&(null===Object.getPrototypeOf(t)||t.constructor===Object);function Mt(e,t,o){if(Object.prototype.hasOwnProperty.call(e,t)||"constructor"===t)return e[t];const n=o();return e[t]=n,n}function Lt(e,t,o){return ie(e)?e(t,o):e}const zt=(e,t)=>!0===e?t:"string"==typeof e?oe(t,e):void 0;function Ft(e,t,o,n,r){for(const i of t){const t=zt(o,i);if(t){e.add(t);const i=Lt(t._fallback,o,r);if(void 0!==i&&i!==o&&i!==n)return i}else if(!1===t&&void 0!==n&&o!==n)return null}return!1}function Vt(e,t,o,n){const r=t._rootScopes,i=Lt(t._fallback,o,n),a=[...e,...r],s=new Set;s.add(n);let l=Wt(s,a,o,i||o,n);return null!==l&&(void 0===i||i===o||(l=Wt(s,a,i,l,n),null!==l))&&Bt(Array.from(s),[""],r,i,(()=>function(e,t,o){const n=e._getTarget();t in n||(n[t]={});const r=n[t];return z(r)&&F(o)?o:r||{}}(t,o,n)))}function Wt(e,t,o,n,r){for(;o;)o=Ft(e,t,o,n,r);return o}function Gt(e,t){for(const o of t){if(!o)continue;const t=o[e];if(void 0!==t)return t}}function Ut(e){let t=e._keys;return t||(t=e._keys=function(e){const t=new Set;for(const o of e)for(const e of Object.keys(o).filter((e=>!e.startsWith("_"))))t.add(e);return Array.from(t)}(e._scopes)),t}function qt(e,t,o,n){const{iScale:r}=e,{key:i="r"}=this._parsing,a=new Array(n);let s,l,c,p;for(s=0,l=n;s<l;++s)c=s+o,p=t[c],a[s]={r:r.parse(oe(p,i),c)};return a}const $t=Number.EPSILON||1e-14,Yt=(e,t)=>t<e.length&&!e[t].skip&&e[t],Xt=e=>"x"===e?"y":"x";function Jt(e,t,o,n){const r=e.skip?t:e,i=t,a=o.skip?t:o,s=Te(i,r),l=Te(a,i);let c=s/(s+l),p=l/(s+l);c=isNaN(c)?0:c,p=isNaN(p)?0:p;const u=n*c,d=n*p;return{previous:{x:i.x-u*(a.x-r.x),y:i.y-u*(a.y-r.y)},next:{x:i.x+d*(a.x-r.x),y:i.y+d*(a.y-r.y)}}}function Qt(e,t,o){return Math.max(Math.min(e,o),t)}function Zt(e,t,o,n,r){let i,a,s,l;if(t.spanGaps&&(e=e.filter((e=>!e.skip))),"monotone"===t.cubicInterpolationMode)!function(e,t="x"){const o=Xt(t),n=e.length,r=Array(n).fill(0),i=Array(n);let a,s,l,c=Yt(e,0);for(a=0;a<n;++a)if(s=l,l=c,c=Yt(e,a+1),l){if(c){const e=c[t]-l[t];r[a]=0!==e?(c[o]-l[o])/e:0}i[a]=s?c?ve(r[a-1])!==ve(r[a])?0:(r[a-1]+r[a])/2:r[a-1]:r[a]}!function(e,t,o){const n=e.length;let r,i,a,s,l,c=Yt(e,0);for(let p=0;p<n-1;++p)l=c,c=Yt(e,p+1),l&&c&&(he(t[p],0,$t)?o[p]=o[p+1]=0:(r=o[p]/t[p],i=o[p+1]/t[p],s=Math.pow(r,2)+Math.pow(i,2),s<=9||(a=3/Math.sqrt(s),o[p]=r*a*t[p],o[p+1]=i*a*t[p])))}(e,r,i),function(e,t,o="x"){const n=Xt(o),r=e.length;let i,a,s,l=Yt(e,0);for(let c=0;c<r;++c){if(a=s,s=l,l=Yt(e,c+1),!s)continue;const r=s[o],p=s[n];a&&(i=(r-a[o])/3,s[`cp1${o}`]=r-i,s[`cp1${n}`]=p-i*t[c]),l&&(i=(l[o]-r)/3,s[`cp2${o}`]=r+i,s[`cp2${n}`]=p+i*t[c])}}(e,i,t)}(e,r);else{let o=n?e[e.length-1]:e[0];for(i=0,a=e.length;i<a;++i)s=e[i],l=Jt(o,s,e[Math.min(i+1,a-(n?0:1))%a],t.tension),s.cp1x=l.previous.x,s.cp1y=l.previous.y,s.cp2x=l.next.x,s.cp2y=l.next.y,o=s}t.capBezierPoints&&function(e,t){let o,n,r,i,a,s=gt(e[0],t);for(o=0,n=e.length;o<n;++o)a=i,i=s,s=o<n-1&>(e[o+1],t),i&&(r=e[o],a&&(r.cp1x=Qt(r.cp1x,t.left,t.right),r.cp1y=Qt(r.cp1y,t.top,t.bottom)),s&&(r.cp2x=Qt(r.cp2x,t.left,t.right),r.cp2y=Qt(r.cp2y,t.top,t.bottom)))}(e,o)}function Kt(){return"undefined"!=typeof window&&"undefined"!=typeof document}function eo(e){let t=e.parentNode;return t&&"[object ShadowRoot]"===t.toString()&&(t=t.host),t}function to(e,t,o){let n;return"string"==typeof e?(n=parseInt(e,10),-1!==e.indexOf("%")&&(n=n/100*t.parentNode[o])):n=e,n}const oo=e=>e.ownerDocument.defaultView.getComputedStyle(e,null),no=["top","right","bottom","left"];function ro(e,t,o){const n={};o=o?"-"+o:"";for(let r=0;r<4;r++){const i=no[r];n[i]=parseFloat(e[t+"-"+i+o])||0}return n.width=n.left+n.right,n.height=n.top+n.bottom,n}function io(e,t){if("native"in e)return e;const{canvas:o,currentDevicePixelRatio:n}=t,r=oo(o),i="border-box"===r.boxSizing,a=ro(r,"padding"),s=ro(r,"border","width"),{x:l,y:c,box:p}=function(e,t){const o=e.touches,n=o&&o.length?o[0]:e,{offsetX:r,offsetY:i}=n;let a,s,l=!1;if(((e,t,o)=>(e>0||t>0)&&(!o||!o.shadowRoot))(r,i,e.target))a=r,s=i;else{const e=t.getBoundingClientRect();a=n.clientX-e.left,s=n.clientY-e.top,l=!0}return{x:a,y:s,box:l}}(e,o),u=a.left+(p&&s.left),d=a.top+(p&&s.top);let{width:y,height:g}=t;return i&&(y-=a.width+s.width,g-=a.height+s.height),{x:Math.round((l-u)/y*o.width/n),y:Math.round((c-d)/g*o.height/n)}}const ao=e=>Math.round(10*e)/10;function so(e,t,o){const n=t||1,r=Math.floor(e.height*n),i=Math.floor(e.width*n);e.height=Math.floor(e.height),e.width=Math.floor(e.width);const a=e.canvas;return a.style&&(o||!a.style.height&&!a.style.width)&&(a.style.height=`${e.height}px`,a.style.width=`${e.width}px`),(e.currentDevicePixelRatio!==n||a.height!==r||a.width!==i)&&(e.currentDevicePixelRatio=n,a.height=r,a.width=i,e.ctx.setTransform(n,0,0,n,0,0),!0)}const lo=function(){let e=!1;try{const t={get passive(){return e=!0,!1}};Kt()&&(window.addEventListener("test",null,t),window.removeEventListener("test",null,t))}catch(e){}return e}();function co(e,t){const o=function(e,t){return oo(e).getPropertyValue(t)}(e,t),n=o&&o.match(/^(\d+)(\.\d+)?px$/);return n?+n[1]:void 0}function po(e,t,o,n){return{x:e.x+o*(t.x-e.x),y:e.y+o*(t.y-e.y)}}function uo(e,t,o,n){return{x:e.x+o*(t.x-e.x),y:"middle"===n?o<.5?e.y:t.y:"after"===n?o<1?e.y:t.y:o>0?t.y:e.y}}function yo(e,t,o,n){const r={x:e.cp2x,y:e.cp2y},i={x:t.cp1x,y:t.cp1y},a=po(e,r,o),s=po(r,i,o),l=po(i,t,o),c=po(a,s,o),p=po(s,l,o);return po(c,p,o)}function go(e,t,o){return e?function(e,t){return{x:o=>e+e+t-o,setWidth(e){t=e},textAlign:e=>"center"===e?e:"right"===e?"left":"right",xPlus:(e,t)=>e-t,leftForLtr:(e,t)=>e-t}}(t,o):{x:e=>e,setWidth(e){},textAlign:e=>e,xPlus:(e,t)=>e+t,leftForLtr:(e,t)=>e}}function mo(e,t){let o,n;"ltr"!==t&&"rtl"!==t||(o=e.canvas.style,n=[o.getPropertyValue("direction"),o.getPropertyPriority("direction")],o.setProperty("direction",t,"important"),e.prevTextDirection=n)}function vo(e,t){void 0!==t&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}function ho(e){return"angle"===e?{between:ke,compare:Oe,normalize:Ce}:{between:Ne,compare:(e,t)=>e-t,normalize:e=>e}}function bo({start:e,end:t,count:o,loop:n,style:r}){return{start:e%o,end:t%o,loop:n&&(t-e+1)%o==0,style:r}}function fo(e,t,o){if(!o)return[e];const{property:n,start:r,end:i}=o,a=t.length,{compare:s,between:l,normalize:c}=ho(n),{start:p,end:u,loop:d,style:y}=function(e,t,o){const{property:n,start:r,end:i}=o,{between:a,normalize:s}=ho(n),l=t.length;let c,p,{start:u,end:d,loop:y}=e;if(y){for(u+=l,d+=l,c=0,p=l;c<p&&a(s(t[u%l][n]),r,i);++c)u--,d--;u%=l,d%=l}return d<u&&(d+=l),{start:u,end:d,loop:y,style:e.style}}(e,t,o),g=[];let m,v,h,b=!1,f=null;for(let e=p,o=p;e<=u;++e)v=t[e%a],v.skip||(m=c(v[n]),m!==h&&(b=l(m,r,i),null===f&&(b||l(r,h,m)&&0!==s(r,h))&&(f=0===s(m,r)?e:o),null!==f&&(!b||0===s(i,m)||l(i,h,m))&&(g.push(bo({start:f,end:e,loop:d,count:a,style:y})),f=null),o=e,h=m));return null!==f&&g.push(bo({start:f,end:u,loop:d,count:a,style:y})),g}function xo(e,t){const o=[],n=e.segments;for(let r=0;r<n.length;r++){const i=fo(n[r],e.points,t);i.length&&o.push(...i)}return o}function wo(e){return{backgroundColor:e.backgroundColor,borderCapStyle:e.borderCapStyle,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderJoinStyle:e.borderJoinStyle,borderWidth:e.borderWidth,borderColor:e.borderColor}}function So(e,t){if(!t)return!1;const o=[],n=function(e,t){return $e(t)?(o.includes(t)||o.push(t),o.indexOf(t)):t};return JSON.stringify(e,n)!==JSON.stringify(t,n)}function _o(e,t,o){return e.options.clip?e[o]:t[o]}function jo(e,t){const o=t._clip;if(o.disabled)return!1;const n=function(e,t){const{xScale:o,yScale:n}=e;return o&&n?{left:_o(o,t,"left"),right:_o(o,t,"right"),top:_o(n,t,"top"),bottom:_o(n,t,"bottom")}:t}(t,e.chartArea);return{left:!1===o.left?0:n.left-(!0===o.left?0:o.left),right:!1===o.right?e.width:n.right+(!0===o.right?0:o.right),top:!1===o.top?0:n.top-(!0===o.top?0:o.top),bottom:!1===o.bottom?e.height:n.bottom+(!0===o.bottom?0:o.bottom)}}class To{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,t,o,n){const r=t.listeners[n],i=t.duration;r.forEach((n=>n({chart:e,initial:t.initial,numSteps:i,currentStep:Math.min(o-t.start,i)})))}_refresh(){this._request||(this._running=!0,this._request=Ie.call(window,(()=>{this._update(),this._request=null,this._running&&this._refresh()})))}_update(e=Date.now()){let t=0;this._charts.forEach(((o,n)=>{if(!o.running||!o.items.length)return;const r=o.items;let i,a=r.length-1,s=!1;for(;a>=0;--a)i=r[a],i._active?(i._total>o.duration&&(o.duration=i._total),i.tick(e),s=!0):(r[a]=r[r.length-1],r.pop());s&&(n.draw(),this._notify(n,o,e,"progress")),r.length||(o.running=!1,this._notify(n,o,e,"complete"),o.initial=!1),t+=r.length})),this._lastDate=e,0===t&&(this._running=!1)}_getAnims(e){const t=this._charts;let o=t.get(e);return o||(o={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},t.set(e,o)),o}listen(e,t,o){this._getAnims(e).listeners[t].push(o)}add(e,t){t&&t.length&&this._getAnims(e).items.push(...t)}has(e){return this._getAnims(e).items.length>0}start(e){const t=this._charts.get(e);t&&(t.running=!0,t.start=Date.now(),t.duration=t.items.reduce(((e,t)=>Math.max(e,t._duration)),0),this._refresh())}running(e){if(!this._running)return!1;const t=this._charts.get(e);return!!(t&&t.running&&t.items.length)}stop(e){const t=this._charts.get(e);if(!t||!t.items.length)return;const o=t.items;let n=o.length-1;for(;n>=0;--n)o[n].cancel();t.items=[],this._notify(e,t,Date.now(),"complete")}remove(e){return this._charts.delete(e)}}var Oo=new To;const Co="transparent",ko={boolean:(e,t,o)=>o>.5?t:e,color(e,t,o){const n=Ye(e||Co),r=n.valid&&Ye(t||Co);return r&&r.valid?r.mix(n,o).hexString():t},number:(e,t,o)=>e+(t-e)*o};class Po{constructor(e,t,o,n){const r=t[o];n=Et([e.to,n,r,e.from]);const i=Et([e.from,r,n]);this._active=!0,this._fn=e.fn||ko[e.type||typeof i],this._easing=qe[e.easing]||qe.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=t,this._prop=o,this._from=i,this._to=n,this._promises=void 0}active(){return this._active}update(e,t,o){if(this._active){this._notify(!1);const n=this._target[this._prop],r=o-this._start,i=this._duration-r;this._start=o,this._duration=Math.floor(Math.max(i,e.duration)),this._total+=r,this._loop=!!e.loop,this._to=Et([e.to,t,n,e.from]),this._from=Et([e.from,n,t])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const t=e-this._start,o=this._duration,n=this._prop,r=this._from,i=this._loop,a=this._to;let s;if(this._active=r!==a&&(i||t<o),!this._active)return this._target[n]=a,void this._notify(!0);t<0?this._target[n]=r:(s=t/o%2,s=i&&s>1?2-s:s,s=this._easing(Math.min(1,Math.max(0,s))),this._target[n]=this._fn(r,a,s))}wait(){const e=this._promises||(this._promises=[]);return new Promise(((t,o)=>{e.push({res:t,rej:o})}))}_notify(e){const t=e?"res":"rej",o=this._promises||[];for(let e=0;e<o.length;e++)o[e][t]()}}class No{constructor(e,t){this._chart=e,this._properties=new Map,this.configure(t)}configure(e){if(!F(e))return;const t=Object.keys(st.animation),o=this._properties;Object.getOwnPropertyNames(e).forEach((n=>{const r=e[n];if(!F(r))return;const i={};for(const e of t)i[e]=r[e];(z(r.properties)&&r.properties||[n]).forEach((e=>{e!==n&&o.has(e)||o.set(e,i)}))}))}_animateOptions(e,t){const o=t.options,n=function(e,t){if(!t)return;let o=e.options;if(o)return o.$shared&&(e.options=o=Object.assign({},o,{$shared:!1,$animations:{}})),o;e.options=t}(e,o);if(!n)return[];const r=this._createAnimations(n,o);return o.$shared&&function(e,t){const o=[],n=Object.keys(t);for(let t=0;t<n.length;t++){const r=e[n[t]];r&&r.active()&&o.push(r.wait())}return Promise.all(o)}(e.options.$animations,o).then((()=>{e.options=o}),(()=>{})),r}_createAnimations(e,t){const o=this._properties,n=[],r=e.$animations||(e.$animations={}),i=Object.keys(t),a=Date.now();let s;for(s=i.length-1;s>=0;--s){const l=i[s];if("$"===l.charAt(0))continue;if("options"===l){n.push(...this._animateOptions(e,t));continue}const c=t[l];let p=r[l];const u=o.get(l);if(p){if(u&&p.active()){p.update(u,c,a);continue}p.cancel()}u&&u.duration?(r[l]=p=new Po(u,e,l,c),n.push(p)):e[l]=c}return n}update(e,t){if(0===this._properties.size)return void Object.assign(e,t);const o=this._createAnimations(e,t);return o.length?(Oo.add(this._chart,o),!0):void 0}}function Eo(e,t){const o=e&&e.options||{},n=o.reverse,r=void 0===o.min?t:0,i=void 0===o.max?t:0;return{start:n?i:r,end:n?r:i}}function Do(e,t){const o=[],n=e._getSortedDatasetMetas(t);let r,i;for(r=0,i=n.length;r<i;++r)o.push(n[r].index);return o}function Bo(e,t,o,n={}){const r=e.keys,i="single"===n.mode;let a,s,l,c;if(null===t)return;let p=!1;for(a=0,s=r.length;a<s;++a){if(l=+r[a],l===o){if(p=!0,n.all)continue;break}c=e.values[l],V(c)&&(i||0===t||ve(t)===ve(c))&&(t+=c)}return p||n.all?t:0}function Ao(e,t){const o=e&&e.options.stacked;return o||void 0===o&&void 0!==t.stack}function Ho(e,t,o){const n=e[t]||(e[t]={});return n[o]||(n[o]={})}function Ro(e,t,o,n){for(const r of t.getMatchingVisibleMetas(n).reverse()){const t=e[r.index];if(o&&t>0||!o&&t<0)return r.index}return null}function Io(e,t){const{chart:o,_cachedMeta:n}=e,r=o._stacks||(o._stacks={}),{iScale:i,vScale:a,index:s}=n,l=i.axis,c=a.axis,p=function(e,t,o){return`${e.id}.${t.id}.${o.stack||o.type}`}(i,a,n),u=t.length;let d;for(let e=0;e<u;++e){const o=t[e],{[l]:i,[c]:u}=o;d=(o._stacks||(o._stacks={}))[c]=Ho(r,p,i),d[s]=u,d._top=Ro(d,a,!0,n.type),d._bottom=Ro(d,a,!1,n.type),(d._visualValues||(d._visualValues={}))[s]=u}}function Mo(e,t){const o=e.scales;return Object.keys(o).filter((e=>o[e].axis===t)).shift()}function Lo(e,t){const o=e.controller.index,n=e.vScale&&e.vScale.axis;if(n){t=t||e._parsed;for(const e of t){const t=e._stacks;if(!t||void 0===t[n]||void 0===t[n][o])return;delete t[n][o],void 0!==t[n]._visualValues&&void 0!==t[n]._visualValues[o]&&delete t[n]._visualValues[o]}}}const zo=e=>"reset"===e||"none"===e,Fo=(e,t)=>t?e:Object.assign({},e);class Vo{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(e,t){this.chart=e,this._ctx=e.ctx,this.index=t,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=Ao(e.vScale,e),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(e){this.index!==e&&Lo(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,t=this._cachedMeta,o=this.getDataset(),n=(e,t,o,n)=>"x"===e?t:"r"===e?n:o,r=t.xAxisID=G(o.xAxisID,Mo(e,"x")),i=t.yAxisID=G(o.yAxisID,Mo(e,"y")),a=t.rAxisID=G(o.rAxisID,Mo(e,"r")),s=t.indexAxis,l=t.iAxisID=n(s,r,i,a),c=t.vAxisID=n(s,i,r,a);t.xScale=this.getScaleForId(r),t.yScale=this.getScaleForId(i),t.rScale=this.getScaleForId(a),t.iScale=this.getScaleForId(l),t.vScale=this.getScaleForId(c)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){const t=this._cachedMeta;return e===t.iScale?t.vScale:t.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&He(this._data,this),e._stacked&&Lo(e)}_dataCheck(){const e=this.getDataset(),t=e.data||(e.data=[]),o=this._data;if(F(t)){const e=this._cachedMeta;this._data=function(e,t){const{iScale:o,vScale:n}=t,r="x"===o.axis?"x":"y",i="x"===n.axis?"x":"y",a=Object.keys(e),s=new Array(a.length);let l,c,p;for(l=0,c=a.length;l<c;++l)p=a[l],s[l]={[r]:p,[i]:e[p]};return s}(t,e)}else if(o!==t){if(o){He(o,this);const e=this._cachedMeta;Lo(e),e._parsed=[]}t&&Object.isExtensible(t)&&((n=t)._chartjs?n._chartjs.listeners.push(this):(Object.defineProperty(n,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[this]}}),Ae.forEach((e=>{const t="_onData"+ne(e),o=n[e];Object.defineProperty(n,e,{configurable:!0,enumerable:!1,value(...e){const r=o.apply(this,e);return n._chartjs.listeners.forEach((o=>{"function"==typeof o[t]&&o[t](...e)})),r}})})))),this._syncList=[],this._data=t}var n}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const t=this._cachedMeta,o=this.getDataset();let n=!1;this._dataCheck();const r=t._stacked;t._stacked=Ao(t.vScale,t),t.stack!==o.stack&&(n=!0,Lo(t),t.stack=o.stack),this._resyncElements(e),(n||r!==t._stacked)&&(Io(this,t._parsed),t._stacked=Ao(t.vScale,t))}configure(){const e=this.chart.config,t=e.datasetScopeKeys(this._type),o=e.getOptionScopes(this.getDataset(),t,!0);this.options=e.createResolver(o,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,t){const{_cachedMeta:o,_data:n}=this,{iScale:r,_stacked:i}=o,a=r.axis;let s,l,c,p=0===e&&t===n.length||o._sorted,u=e>0&&o._parsed[e-1];if(!1===this._parsing)o._parsed=n,o._sorted=!0,c=n;else{c=z(n[e])?this.parseArrayData(o,n,e,t):F(n[e])?this.parseObjectData(o,n,e,t):this.parsePrimitiveData(o,n,e,t);const r=()=>null===l[a]||u&&l[a]<u[a];for(s=0;s<t;++s)o._parsed[s+e]=l=c[s],p&&(r()&&(p=!1),u=l);o._sorted=p}i&&Io(this,c)}parsePrimitiveData(e,t,o,n){const{iScale:r,vScale:i}=e,a=r.axis,s=i.axis,l=r.getLabels(),c=r===i,p=new Array(n);let u,d,y;for(u=0,d=n;u<d;++u)y=u+o,p[u]={[a]:c||r.parse(l[y],y),[s]:i.parse(t[y],y)};return p}parseArrayData(e,t,o,n){const{xScale:r,yScale:i}=e,a=new Array(n);let s,l,c,p;for(s=0,l=n;s<l;++s)c=s+o,p=t[c],a[s]={x:r.parse(p[0],c),y:i.parse(p[1],c)};return a}parseObjectData(e,t,o,n){const{xScale:r,yScale:i}=e,{xAxisKey:a="x",yAxisKey:s="y"}=this._parsing,l=new Array(n);let c,p,u,d;for(c=0,p=n;c<p;++c)u=c+o,d=t[u],l[c]={x:r.parse(oe(d,a),u),y:i.parse(oe(d,s),u)};return l}getParsed(e){return this._cachedMeta._parsed[e]}getDataElement(e){return this._cachedMeta.data[e]}applyStack(e,t,o){const n=this.chart,r=this._cachedMeta,i=t[e.axis];return Bo({keys:Do(n,!0),values:t._stacks[e.axis]._visualValues},i,r.index,{mode:o})}updateRangeFromParsed(e,t,o,n){const r=o[t.axis];let i=null===r?NaN:r;const a=n&&o._stacks[t.axis];n&&a&&(n.values=a,i=Bo(n,r,this._cachedMeta.index)),e.min=Math.min(e.min,i),e.max=Math.max(e.max,i)}getMinMax(e,t){const o=this._cachedMeta,n=o._parsed,r=o._sorted&&e===o.iScale,i=n.length,a=this._getOtherScale(e),s=((e,t,o)=>e&&!t.hidden&&t._stacked&&{keys:Do(o,!0),values:null})(t,o,this.chart),l={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:c,max:p}=function(e){const{min:t,max:o,minDefined:n,maxDefined:r}=e.getUserBounds();return{min:n?t:Number.NEGATIVE_INFINITY,max:r?o:Number.POSITIVE_INFINITY}}(a);let u,d;function y(){d=n[u];const t=d[a.axis];return!V(d[e.axis])||c>t||p<t}for(u=0;u<i&&(y()||(this.updateRangeFromParsed(l,e,d,s),!r));++u);if(r)for(u=i-1;u>=0;--u)if(!y()){this.updateRangeFromParsed(l,e,d,s);break}return l}getAllParsedValues(e){const t=this._cachedMeta._parsed,o=[];let n,r,i;for(n=0,r=t.length;n<r;++n)i=t[n][e.axis],V(i)&&o.push(i);return o}getMaxOverflow(){return!1}getLabelAndValue(e){const t=this._cachedMeta,o=t.iScale,n=t.vScale,r=this.getParsed(e);return{label:o?""+o.getLabelForValue(r[o.axis]):"",value:n?""+n.getLabelForValue(r[n.axis]):""}}_update(e){const t=this._cachedMeta;this.update(e||"default"),t._clip=function(e){let t,o,n,r;return F(e)?(t=e.top,o=e.right,n=e.bottom,r=e.left):t=o=n=r=e,{top:t,right:o,bottom:n,left:r,disabled:!1===e}}(G(this.options.clip,function(e,t,o){if(!1===o)return!1;const n=Eo(e,o),r=Eo(t,o);return{top:r.end,right:n.end,bottom:r.start,left:n.start}}(t.xScale,t.yScale,this.getMaxOverflow())))}update(e){}draw(){const e=this._ctx,t=this.chart,o=this._cachedMeta,n=o.data||[],r=t.chartArea,i=[],a=this._drawStart||0,s=this._drawCount||n.length-a,l=this.options.drawActiveElementsOnTop;let c;for(o.dataset&&o.dataset.draw(e,r,a,s),c=a;c<a+s;++c){const t=n[c];t.hidden||(t.active&&l?i.push(t):t.draw(e,r))}for(c=0;c<i.length;++c)i[c].draw(e,r)}getStyle(e,t){const o=t?"active":"default";return void 0===e&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(o):this.resolveDataElementOptions(e||0,o)}getContext(e,t,o){const n=this.getDataset();let r;if(e>=0&&e<this._cachedMeta.data.length){const t=this._cachedMeta.data[e];r=t.$context||(t.$context=function(e,t,o){return Dt(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:o,index:t,mode:"default",type:"data"})}(this.getContext(),e,t)),r.parsed=this.getParsed(e),r.raw=n.data[e],r.index=r.dataIndex=e}else r=this.$context||(this.$context=function(e,t){return Dt(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}(this.chart.getContext(),this.index)),r.dataset=n,r.index=r.datasetIndex=this.index;return r.active=!!t,r.mode=o,r}resolveDatasetElementOptions(e){return this._resolveElementOptions(this.datasetElementType.id,e)}resolveDataElementOptions(e,t){return this._resolveElementOptions(this.dataElementType.id,t,e)}_resolveElementOptions(e,t="default",o){const n="active"===t,r=this._cachedDataOpts,i=e+"-"+t,a=r[i],s=this.enableOptionSharing&&re(o);if(a)return Fo(a,s);const l=this.chart.config,c=l.datasetElementScopeKeys(this._type,e),p=n?[`${e}Hover`,"hover",e,""]:[e,""],u=l.getOptionScopes(this.getDataset(),c),d=Object.keys(st.elements[e]),y=l.resolveNamedOptions(u,d,(()=>this.getContext(o,n,t)),p);return y.$shared&&(y.$shared=s,r[i]=Object.freeze(Fo(y,s))),y}_resolveAnimations(e,t,o){const n=this.chart,r=this._cachedDataOpts,i=`animation-${t}`,a=r[i];if(a)return a;let s;if(!1!==n.options.animation){const n=this.chart.config,r=n.datasetAnimationScopeKeys(this._type,t),i=n.getOptionScopes(this.getDataset(),r);s=n.createResolver(i,this.getContext(e,o,t))}const l=new No(n,s&&s.animations);return s&&s._cacheable&&(r[i]=Object.freeze(l)),l}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,t){return!t||zo(e)||this.chart._animationsDisabled}_getSharedOptions(e,t){const o=this.resolveDataElementOptions(e,t),n=this._sharedOptions,r=this.getSharedOptions(o),i=this.includeOptions(t,r)||r!==n;return this.updateSharedOptions(r,t,o),{sharedOptions:r,includeOptions:i}}updateElement(e,t,o,n){zo(n)?Object.assign(e,o):this._resolveAnimations(t,n).update(e,o)}updateSharedOptions(e,t,o){e&&!zo(t)&&this._resolveAnimations(void 0,t).update(e,o)}_setStyle(e,t,o,n){e.active=n;const r=this.getStyle(t,n);this._resolveAnimations(t,o,n).update(e,{options:!n&&this.getSharedOptions(r)||r})}removeHoverStyle(e,t,o){this._setStyle(e,o,"active",!1)}setHoverStyle(e,t,o){this._setStyle(e,o,"active",!0)}_removeDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){const t=this._data,o=this._cachedMeta.data;for(const[e,t,o]of this._syncList)this[e](t,o);this._syncList=[];const n=o.length,r=t.length,i=Math.min(r,n);i&&this.parse(0,i),r>n?this._insertElements(n,r-n,e):r<n&&this._removeElements(r,n-r)}_insertElements(e,t,o=!0){const n=this._cachedMeta,r=n.data,i=e+t;let a;const s=e=>{for(e.length+=t,a=e.length-1;a>=i;a--)e[a]=e[a-t]};for(s(r),a=e;a<i;++a)r[a]=new this.dataElementType;this._parsing&&s(n._parsed),this.parse(e,t),o&&this.updateElements(r,e,t,"reset")}updateElements(e,t,o,n){}_removeElements(e,t){const o=this._cachedMeta;if(this._parsing){const n=o._parsed.splice(e,t);o._stacked&&Lo(o,n)}o.data.splice(e,t)}_sync(e){if(this._parsing)this._syncList.push(e);else{const[t,o,n]=e;this[t](o,n)}this.chart._dataChanges.push([this.index,...e])}_onDataPush(){const e=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-e,e])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(e,t){t&&this._sync(["_removeElements",e,t]);const o=arguments.length-2;o&&this._sync(["_insertElements",e,o])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}function Wo(e){const t=e.iScale,o=function(e,t){if(!e._cache.$bar){const o=e.getMatchingVisibleMetas(t);let n=[];for(let t=0,r=o.length;t<r;t++)n=n.concat(o[t].controller.getAllParsedValues(e));e._cache.$bar=Re(n.sort(((e,t)=>e-t)))}return e._cache.$bar}(t,e.type);let n,r,i,a,s=t._length;const l=()=>{32767!==i&&-32768!==i&&(re(a)&&(s=Math.min(s,Math.abs(i-a)||s)),a=i)};for(n=0,r=o.length;n<r;++n)i=t.getPixelForValue(o[n]),l();for(a=void 0,n=0,r=t.ticks.length;n<r;++n)i=t.getPixelForTick(n),l();return s}function Go(e,t,o,n){return z(e)?function(e,t,o,n){const r=o.parse(e[0],n),i=o.parse(e[1],n),a=Math.min(r,i),s=Math.max(r,i);let l=a,c=s;Math.abs(a)>Math.abs(s)&&(l=s,c=a),t[o.axis]=c,t._custom={barStart:l,barEnd:c,start:r,end:i,min:a,max:s}}(e,t,o,n):t[o.axis]=o.parse(e,n),t}function Uo(e,t,o,n){const r=e.iScale,i=e.vScale,a=r.getLabels(),s=r===i,l=[];let c,p,u,d;for(c=o,p=o+n;c<p;++c)d=t[c],u={},u[r.axis]=s||r.parse(a[c],c),l.push(Go(d,u,i,c));return l}function qo(e){return e&&void 0!==e.barStart&&void 0!==e.barEnd}function $o(e,t,o,n){let r=t.borderSkipped;const i={};if(!r)return void(e.borderSkipped=i);if(!0===r)return void(e.borderSkipped={top:!0,right:!0,bottom:!0,left:!0});const{start:a,end:s,reverse:l,top:c,bottom:p}=function(e){let t,o,n,r,i;return e.horizontal?(t=e.base>e.x,o="left",n="right"):(t=e.base<e.y,o="bottom",n="top"),t?(r="end",i="start"):(r="start",i="end"),{start:o,end:n,reverse:t,top:r,bottom:i}}(e);"middle"===r&&o&&(e.enableBorderRadius=!0,(o._top||0)===n?r=c:(o._bottom||0)===n?r=p:(i[Yo(p,a,s,l)]=!0,r=c)),i[Yo(r,a,s,l)]=!0,e.borderSkipped=i}function Yo(e,t,o,n){var r,i,a;return n?(a=o,e=Xo(e=(r=e)===(i=t)?a:r===a?i:r,o,t)):e=Xo(e,t,o),e}function Xo(e,t,o){return"start"===e?t:"end"===e?o:e}function Jo(e,{inflateAmount:t},o){e.inflateAmount="auto"===t?1===o?.33:0:t}class Qo extends Vo{static id="doughnut";static defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"};static descriptors={_scriptable:e=>"spacing"!==e,_indexable:e=>"spacing"!==e&&!e.startsWith("borderDash")&&!e.startsWith("hoverBorderDash")};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const t=e.data;if(t.labels.length&&t.datasets.length){const{labels:{pointStyle:o,color:n}}=e.legend.options;return t.labels.map(((t,r)=>{const i=e.getDatasetMeta(0).controller.getStyle(r);return{text:t,fillStyle:i.backgroundColor,strokeStyle:i.borderColor,fontColor:n,lineWidth:i.borderWidth,pointStyle:o,hidden:!e.getDataVisibility(r),index:r}}))}return[]}},onClick(e,t,o){o.chart.toggleDataVisibility(t.index),o.chart.update()}}}};constructor(e,t){super(e,t),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,t){const o=this.getDataset().data,n=this._cachedMeta;if(!1===this._parsing)n._parsed=o;else{let r,i,a=e=>+o[e];if(F(o[e])){const{key:e="value"}=this._parsing;a=t=>+oe(o[t],e)}for(r=e,i=e+t;r<i;++r)n._parsed[r]=a(r)}}_getRotation(){return we(this.options.rotation-90)}_getCircumference(){return we(this.options.circumference)}_getRotationExtents(){let e=le,t=-le;for(let o=0;o<this.chart.data.datasets.length;++o)if(this.chart.isDatasetVisible(o)&&this.chart.getDatasetMeta(o).type===this._type){const n=this.chart.getDatasetMeta(o).controller,r=n._getRotation(),i=n._getCircumference();e=Math.min(e,r),t=Math.max(t,r+i)}return{rotation:e,circumference:t-e}}update(e){const t=this.chart,{chartArea:o}=t,n=this._cachedMeta,r=n.data,i=this.getMaxBorderWidth()+this.getMaxOffset(r)+this.options.spacing,a=Math.max((Math.min(o.width,o.height)-i)/2,0),s=Math.min((c=a,"string"==typeof(l=this.options.cutout)&&l.endsWith("%")?parseFloat(l)/100:+l/c),1);var l,c;const p=this._getRingWeight(this.index),{circumference:u,rotation:d}=this._getRotationExtents(),{ratioX:y,ratioY:g,offsetX:m,offsetY:v}=function(e,t,o){let n=1,r=1,i=0,a=0;if(t<le){const s=e,l=s+t,c=Math.cos(s),p=Math.sin(s),u=Math.cos(l),d=Math.sin(l),y=(e,t,n)=>ke(e,s,l,!0)?1:Math.max(t,t*o,n,n*o),g=(e,t,n)=>ke(e,s,l,!0)?-1:Math.min(t,t*o,n,n*o),m=y(0,c,u),v=y(de,p,d),h=g(se,c,u),b=g(se+de,p,d);n=(m-h)/2,r=(v-b)/2,i=-(m+h)/2,a=-(v+b)/2}return{ratioX:n,ratioY:r,offsetX:i,offsetY:a}}(d,u,s),h=(o.width-i)/y,b=(o.height-i)/g,f=Math.max(Math.min(h,b)/2,0),x=U(this.options.radius,f),w=(x-Math.max(x*s,0))/this._getVisibleDatasetWeightTotal();this.offsetX=m*x,this.offsetY=v*x,n.total=this.calculateTotal(),this.outerRadius=x-w*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-w*p,0),this.updateElements(r,0,r.length,e)}_circumference(e,t){const o=this.options,n=this._cachedMeta,r=this._getCircumference();return t&&o.animation.animateRotate||!this.chart.getDataVisibility(e)||null===n._parsed[e]||n.data[e].hidden?0:this.calculateCircumference(n._parsed[e]*r/le)}updateElements(e,t,o,n){const r="reset"===n,i=this.chart,a=i.chartArea,s=i.options.animation,l=(a.left+a.right)/2,c=(a.top+a.bottom)/2,p=r&&s.animateScale,u=p?0:this.innerRadius,d=p?0:this.outerRadius,{sharedOptions:y,includeOptions:g}=this._getSharedOptions(t,n);let m,v=this._getRotation();for(m=0;m<t;++m)v+=this._circumference(m,r);for(m=t;m<t+o;++m){const t=this._circumference(m,r),o=e[m],i={x:l+this.offsetX,y:c+this.offsetY,startAngle:v,endAngle:v+t,circumference:t,outerRadius:d,innerRadius:u};g&&(i.options=y||this.resolveDataElementOptions(m,o.active?"active":n)),v+=t,this.updateElement(o,m,i,n)}}calculateTotal(){const e=this._cachedMeta,t=e.data;let o,n=0;for(o=0;o<t.length;o++){const r=e._parsed[o];null===r||isNaN(r)||!this.chart.getDataVisibility(o)||t[o].hidden||(n+=Math.abs(r))}return n}calculateCircumference(e){const t=this._cachedMeta.total;return t>0&&!isNaN(e)?le*(Math.abs(e)/t):0}getLabelAndValue(e){const t=this._cachedMeta,o=this.chart,n=o.data.labels||[],r=Ke(t._parsed[e],o.options.locale);return{label:n[e]||"",value:r}}getMaxBorderWidth(e){let t=0;const o=this.chart;let n,r,i,a,s;if(!e)for(n=0,r=o.data.datasets.length;n<r;++n)if(o.isDatasetVisible(n)){i=o.getDatasetMeta(n),e=i.data,a=i.controller;break}if(!e)return 0;for(n=0,r=e.length;n<r;++n)s=a.resolveDataElementOptions(n),"inner"!==s.borderAlign&&(t=Math.max(t,s.borderWidth||0,s.hoverBorderWidth||0));return t}getMaxOffset(e){let t=0;for(let o=0,n=e.length;o<n;++o){const e=this.resolveDataElementOptions(o);t=Math.max(t,e.offset||0,e.hoverOffset||0)}return t}_getRingWeightOffset(e){let t=0;for(let o=0;o<e;++o)this.chart.isDatasetVisible(o)&&(t+=this._getRingWeight(o));return t}_getRingWeight(e){return Math.max(G(this.chart.data.datasets[e].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}class Zo extends Vo{static id="polarArea";static defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const t=e.data;if(t.labels.length&&t.datasets.length){const{labels:{pointStyle:o,color:n}}=e.legend.options;return t.labels.map(((t,r)=>{const i=e.getDatasetMeta(0).controller.getStyle(r);return{text:t,fillStyle:i.backgroundColor,strokeStyle:i.borderColor,fontColor:n,lineWidth:i.borderWidth,pointStyle:o,hidden:!e.getDataVisibility(r),index:r}}))}return[]}},onClick(e,t,o){o.chart.toggleDataVisibility(t.index),o.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};constructor(e,t){super(e,t),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(e){const t=this._cachedMeta,o=this.chart,n=o.data.labels||[],r=Ke(t._parsed[e].r,o.options.locale);return{label:n[e]||"",value:r}}parseObjectData(e,t,o,n){return qt.bind(this)(e,t,o,n)}update(e){const t=this._cachedMeta.data;this._updateRadius(),this.updateElements(t,0,t.length,e)}getMinMax(){const e=this._cachedMeta,t={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return e.data.forEach(((e,o)=>{const n=this.getParsed(o).r;!isNaN(n)&&this.chart.getDataVisibility(o)&&(n<t.min&&(t.min=n),n>t.max&&(t.max=n))})),t}_updateRadius(){const e=this.chart,t=e.chartArea,o=e.options,n=Math.min(t.right-t.left,t.bottom-t.top),r=Math.max(n/2,0),i=(r-Math.max(o.cutoutPercentage?r/100*o.cutoutPercentage:1,0))/e.getVisibleDatasetCount();this.outerRadius=r-i*this.index,this.innerRadius=this.outerRadius-i}updateElements(e,t,o,n){const r="reset"===n,i=this.chart,a=i.options.animation,s=this._cachedMeta.rScale,l=s.xCenter,c=s.yCenter,p=s.getIndexAngle(0)-.5*se;let u,d=p;const y=360/this.countVisibleElements();for(u=0;u<t;++u)d+=this._computeAngle(u,n,y);for(u=t;u<t+o;u++){const t=e[u];let o=d,g=d+this._computeAngle(u,n,y),m=i.getDataVisibility(u)?s.getDistanceFromCenterForValue(this.getParsed(u).r):0;d=g,r&&(a.animateScale&&(m=0),a.animateRotate&&(o=g=p));const v={x:l,y:c,innerRadius:0,outerRadius:m,startAngle:o,endAngle:g,options:this.resolveDataElementOptions(u,t.active?"active":n)};this.updateElement(t,u,v,n)}}countVisibleElements(){const e=this._cachedMeta;let t=0;return e.data.forEach(((e,o)=>{!isNaN(this.getParsed(o).r)&&this.chart.getDataVisibility(o)&&t++})),t}_computeAngle(e,t,o){return this.chart.getDataVisibility(e)?we(this.resolveDataElementOptions(e,t).angle||o):0}}var Ko=Object.freeze({__proto__:null,BarController:class extends Vo{static id="bar";static defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}};static overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};parsePrimitiveData(e,t,o,n){return Uo(e,t,o,n)}parseArrayData(e,t,o,n){return Uo(e,t,o,n)}parseObjectData(e,t,o,n){const{iScale:r,vScale:i}=e,{xAxisKey:a="x",yAxisKey:s="y"}=this._parsing,l="x"===r.axis?a:s,c="x"===i.axis?a:s,p=[];let u,d,y,g;for(u=o,d=o+n;u<d;++u)g=t[u],y={},y[r.axis]=r.parse(oe(g,l),u),p.push(Go(oe(g,c),y,i,u));return p}updateRangeFromParsed(e,t,o,n){super.updateRangeFromParsed(e,t,o,n);const r=o._custom;r&&t===this._cachedMeta.vScale&&(e.min=Math.min(e.min,r.min),e.max=Math.max(e.max,r.max))}getMaxOverflow(){return 0}getLabelAndValue(e){const t=this._cachedMeta,{iScale:o,vScale:n}=t,r=this.getParsed(e),i=r._custom,a=qo(i)?"["+i.start+", "+i.end+"]":""+n.getLabelForValue(r[n.axis]);return{label:""+o.getLabelForValue(r[o.axis]),value:a}}initialize(){this.enableOptionSharing=!0,super.initialize(),this._cachedMeta.stack=this.getDataset().stack}update(e){const t=this._cachedMeta;this.updateElements(t.data,0,t.data.length,e)}updateElements(e,t,o,n){const r="reset"===n,{index:i,_cachedMeta:{vScale:a}}=this,s=a.getBasePixel(),l=a.isHorizontal(),c=this._getRuler(),{sharedOptions:p,includeOptions:u}=this._getSharedOptions(t,n);for(let d=t;d<t+o;d++){const t=this.getParsed(d),o=r||L(t[a.axis])?{base:s,head:s}:this._calculateBarValuePixels(d),y=this._calculateBarIndexPixels(d,c),g=(t._stacks||{})[a.axis],m={horizontal:l,base:o.base,enableBorderRadius:!g||qo(t._custom)||i===g._top||i===g._bottom,x:l?o.head:y.center,y:l?y.center:o.head,height:l?y.size:Math.abs(o.size),width:l?Math.abs(o.size):y.size};u&&(m.options=p||this.resolveDataElementOptions(d,e[d].active?"active":n));const v=m.options||e[d].options;$o(m,v,g,i),Jo(m,v,c.ratio),this.updateElement(e[d],d,m,n)}}_getStacks(e,t){const{iScale:o}=this._cachedMeta,n=o.getMatchingVisibleMetas(this._type).filter((e=>e.controller.options.grouped)),r=o.options.stacked,i=[],a=this._cachedMeta.controller.getParsed(t),s=a&&a[o.axis],l=e=>{const t=e._parsed.find((e=>e[o.axis]===s)),n=t&&t[e.vScale.axis];if(L(n)||isNaN(n))return!0};for(const o of n)if((void 0===t||!l(o))&&((!1===r||-1===i.indexOf(o.stack)||void 0===r&&void 0===o.stack)&&i.push(o.stack),o.index===e))break;return i.length||i.push(void 0),i}_getStackCount(e){return this._getStacks(void 0,e).length}_getStackIndex(e,t,o){const n=this._getStacks(e,o),r=void 0!==t?n.indexOf(t):-1;return-1===r?n.length-1:r}_getRuler(){const e=this.options,t=this._cachedMeta,o=t.iScale,n=[];let r,i;for(r=0,i=t.data.length;r<i;++r)n.push(o.getPixelForValue(this.getParsed(r)[o.axis],r));const a=e.barThickness;return{min:a||Wo(t),pixels:n,start:o._startPixel,end:o._endPixel,stackCount:this._getStackCount(),scale:o,grouped:e.grouped,ratio:a?1:e.categoryPercentage*e.barPercentage}}_calculateBarValuePixels(e){const{_cachedMeta:{vScale:t,_stacked:o,index:n},options:{base:r,minBarLength:i}}=this,a=r||0,s=this.getParsed(e),l=s._custom,c=qo(l);let p,u,d=s[t.axis],y=0,g=o?this.applyStack(t,s,o):d;g!==d&&(y=g-d,g=d),c&&(d=l.barStart,g=l.barEnd-l.barStart,0!==d&&ve(d)!==ve(l.barEnd)&&(y=0),y+=d);const m=L(r)||c?y:r;let v=t.getPixelForValue(m);if(p=this.chart.getDataVisibility(e)?t.getPixelForValue(y+g):v,u=p-v,Math.abs(u)<i){u=function(e,t,o){return 0!==e?ve(e):(t.isHorizontal()?1:-1)*(t.min>=o?1:-1)}(u,t,a)*i,d===a&&(v-=u/2);const e=t.getPixelForDecimal(0),r=t.getPixelForDecimal(1),l=Math.min(e,r),y=Math.max(e,r);v=Math.max(Math.min(v,y),l),p=v+u,o&&!c&&(s._stacks[t.axis]._visualValues[n]=t.getValueForPixel(p)-t.getValueForPixel(v))}if(v===t.getPixelForValue(a)){const e=ve(u)*t.getLineWidthForValue(a)/2;v+=e,u-=e}return{size:u,base:v,head:p,center:p+u/2}}_calculateBarIndexPixels(e,t){const o=t.scale,n=this.options,r=n.skipNull,i=G(n.maxBarThickness,1/0);let a,s;if(t.grouped){const o=r?this._getStackCount(e):t.stackCount,l="flex"===n.barThickness?function(e,t,o,n){const r=t.pixels,i=r[e];let a=e>0?r[e-1]:null,s=e<r.length-1?r[e+1]:null;const l=o.categoryPercentage;null===a&&(a=i-(null===s?t.end-t.start:s-i)),null===s&&(s=i+i-a);const c=i-(i-Math.min(a,s))/2*l;return{chunk:Math.abs(s-a)/2*l/n,ratio:o.barPercentage,start:c}}(e,t,n,o):function(e,t,o,n){const r=o.barThickness;let i,a;return L(r)?(i=t.min*o.categoryPercentage,a=o.barPercentage):(i=r*n,a=1),{chunk:i/n,ratio:a,start:t.pixels[e]-i/2}}(e,t,n,o),c=this._getStackIndex(this.index,this._cachedMeta.stack,r?e:void 0);a=l.start+l.chunk*c+l.chunk/2,s=Math.min(i,l.chunk*l.ratio)}else a=o.getPixelForValue(this.getParsed(e)[o.axis],e),s=Math.min(i,t.min*t.ratio);return{base:a-s/2,head:a+s/2,center:a,size:s}}draw(){const e=this._cachedMeta,t=e.vScale,o=e.data,n=o.length;let r=0;for(;r<n;++r)null===this.getParsed(r)[t.axis]||o[r].hidden||o[r].draw(this._ctx)}},BubbleController:class extends Vo{static id="bubble";static defaults={datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}};static overrides={scales:{x:{type:"linear"},y:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(e,t,o,n){const r=super.parsePrimitiveData(e,t,o,n);for(let e=0;e<r.length;e++)r[e]._custom=this.resolveDataElementOptions(e+o).radius;return r}parseArrayData(e,t,o,n){const r=super.parseArrayData(e,t,o,n);for(let e=0;e<r.length;e++){const n=t[o+e];r[e]._custom=G(n[2],this.resolveDataElementOptions(e+o).radius)}return r}parseObjectData(e,t,o,n){const r=super.parseObjectData(e,t,o,n);for(let e=0;e<r.length;e++){const n=t[o+e];r[e]._custom=G(n&&n.r&&+n.r,this.resolveDataElementOptions(e+o).radius)}return r}getMaxOverflow(){const e=this._cachedMeta.data;let t=0;for(let o=e.length-1;o>=0;--o)t=Math.max(t,e[o].size(this.resolveDataElementOptions(o))/2);return t>0&&t}getLabelAndValue(e){const t=this._cachedMeta,o=this.chart.data.labels||[],{xScale:n,yScale:r}=t,i=this.getParsed(e),a=n.getLabelForValue(i.x),s=r.getLabelForValue(i.y),l=i._custom;return{label:o[e]||"",value:"("+a+", "+s+(l?", "+l:"")+")"}}update(e){const t=this._cachedMeta.data;this.updateElements(t,0,t.length,e)}updateElements(e,t,o,n){const r="reset"===n,{iScale:i,vScale:a}=this._cachedMeta,{sharedOptions:s,includeOptions:l}=this._getSharedOptions(t,n),c=i.axis,p=a.axis;for(let u=t;u<t+o;u++){const t=e[u],o=!r&&this.getParsed(u),d={},y=d[c]=r?i.getPixelForDecimal(.5):i.getPixelForValue(o[c]),g=d[p]=r?a.getBasePixel():a.getPixelForValue(o[p]);d.skip=isNaN(y)||isNaN(g),l&&(d.options=s||this.resolveDataElementOptions(u,t.active?"active":n),r&&(d.options.radius=0)),this.updateElement(t,u,d,n)}}resolveDataElementOptions(e,t){const o=this.getParsed(e);let n=super.resolveDataElementOptions(e,t);n.$shared&&(n=Object.assign({},n,{$shared:!1}));const r=n.radius;return"active"!==t&&(n.radius=0),n.radius+=G(o&&o._custom,r),n}},DoughnutController:Qo,LineController:class extends Vo{static id="line";static defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1};static overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(e){const t=this._cachedMeta,{dataset:o,data:n=[],_dataset:r}=t,i=this.chart._animationsDisabled;let{start:a,count:s}=Fe(t,n,i);this._drawStart=a,this._drawCount=s,Ve(t)&&(a=0,s=n.length),o._chart=this.chart,o._datasetIndex=this.index,o._decimated=!!r._decimated,o.points=n;const l=this.resolveDatasetElementOptions(e);this.options.showLine||(l.borderWidth=0),l.segment=this.options.segment,this.updateElement(o,void 0,{animated:!i,options:l},e),this.updateElements(n,a,s,e)}updateElements(e,t,o,n){const r="reset"===n,{iScale:i,vScale:a,_stacked:s,_dataset:l}=this._cachedMeta,{sharedOptions:c,includeOptions:p}=this._getSharedOptions(t,n),u=i.axis,d=a.axis,{spanGaps:y,segment:g}=this.options,m=fe(y)?y:Number.POSITIVE_INFINITY,v=this.chart._animationsDisabled||r||"none"===n,h=t+o,b=e.length;let f=t>0&&this.getParsed(t-1);for(let o=0;o<b;++o){const y=e[o],b=v?y:{};if(o<t||o>=h){b.skip=!0;continue}const x=this.getParsed(o),w=L(x[d]),S=b[u]=i.getPixelForValue(x[u],o),_=b[d]=r||w?a.getBasePixel():a.getPixelForValue(s?this.applyStack(a,x,s):x[d],o);b.skip=isNaN(S)||isNaN(_)||w,b.stop=o>0&&Math.abs(x[u]-f[u])>m,g&&(b.parsed=x,b.raw=l.data[o]),p&&(b.options=c||this.resolveDataElementOptions(o,y.active?"active":n)),v||this.updateElement(y,o,b,n),f=x}}getMaxOverflow(){const e=this._cachedMeta,t=e.dataset,o=t.options&&t.options.borderWidth||0,n=e.data||[];if(!n.length)return o;const r=n[0].size(this.resolveDataElementOptions(0)),i=n[n.length-1].size(this.resolveDataElementOptions(n.length-1));return Math.max(o,r,i)/2}draw(){const e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}},PieController:class extends Qo{static id="pie";static defaults={cutout:0,rotation:0,circumference:360,radius:"100%"}},PolarAreaController:Zo,RadarController:class extends Vo{static id="radar";static defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}};static overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};getLabelAndValue(e){const t=this._cachedMeta.vScale,o=this.getParsed(e);return{label:t.getLabels()[e],value:""+t.getLabelForValue(o[t.axis])}}parseObjectData(e,t,o,n){return qt.bind(this)(e,t,o,n)}update(e){const t=this._cachedMeta,o=t.dataset,n=t.data||[],r=t.iScale.getLabels();if(o.points=n,"resize"!==e){const t=this.resolveDatasetElementOptions(e);this.options.showLine||(t.borderWidth=0);const i={_loop:!0,_fullLoop:r.length===n.length,options:t};this.updateElement(o,void 0,i,e)}this.updateElements(n,0,n.length,e)}updateElements(e,t,o,n){const r=this._cachedMeta.rScale,i="reset"===n;for(let a=t;a<t+o;a++){const t=e[a],o=this.resolveDataElementOptions(a,t.active?"active":n),s=r.getPointPositionForValue(a,this.getParsed(a).r),l=i?r.xCenter:s.x,c=i?r.yCenter:s.y,p={x:l,y:c,angle:s.angle,skip:isNaN(l)||isNaN(c),options:o};this.updateElement(t,a,p,n)}}},ScatterController:class extends Vo{static id="scatter";static defaults={datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1};static overrides={interaction:{mode:"point"},scales:{x:{type:"linear"},y:{type:"linear"}}};getLabelAndValue(e){const t=this._cachedMeta,o=this.chart.data.labels||[],{xScale:n,yScale:r}=t,i=this.getParsed(e),a=n.getLabelForValue(i.x),s=r.getLabelForValue(i.y);return{label:o[e]||"",value:"("+a+", "+s+")"}}update(e){const t=this._cachedMeta,{data:o=[]}=t,n=this.chart._animationsDisabled;let{start:r,count:i}=Fe(t,o,n);if(this._drawStart=r,this._drawCount=i,Ve(t)&&(r=0,i=o.length),this.options.showLine){this.datasetElementType||this.addElements();const{dataset:r,_dataset:i}=t;r._chart=this.chart,r._datasetIndex=this.index,r._decimated=!!i._decimated,r.points=o;const a=this.resolveDatasetElementOptions(e);a.segment=this.options.segment,this.updateElement(r,void 0,{animated:!n,options:a},e)}else this.datasetElementType&&(delete t.dataset,this.datasetElementType=!1);this.updateElements(o,r,i,e)}addElements(){const{showLine:e}=this.options;!this.datasetElementType&&e&&(this.datasetElementType=this.chart.registry.getElement("line")),super.addElements()}updateElements(e,t,o,n){const r="reset"===n,{iScale:i,vScale:a,_stacked:s,_dataset:l}=this._cachedMeta,c=this.resolveDataElementOptions(t,n),p=this.getSharedOptions(c),u=this.includeOptions(n,p),d=i.axis,y=a.axis,{spanGaps:g,segment:m}=this.options,v=fe(g)?g:Number.POSITIVE_INFINITY,h=this.chart._animationsDisabled||r||"none"===n;let b=t>0&&this.getParsed(t-1);for(let c=t;c<t+o;++c){const t=e[c],o=this.getParsed(c),g=h?t:{},f=L(o[y]),x=g[d]=i.getPixelForValue(o[d],c),w=g[y]=r||f?a.getBasePixel():a.getPixelForValue(s?this.applyStack(a,o,s):o[y],c);g.skip=isNaN(x)||isNaN(w)||f,g.stop=c>0&&Math.abs(o[d]-b[d])>v,m&&(g.parsed=o,g.raw=l.data[c]),u&&(g.options=p||this.resolveDataElementOptions(c,t.active?"active":n)),h||this.updateElement(t,c,g,n),b=o}this.updateSharedOptions(p,n,c)}getMaxOverflow(){const e=this._cachedMeta,t=e.data||[];if(!this.options.showLine){let e=0;for(let o=t.length-1;o>=0;--o)e=Math.max(e,t[o].size(this.resolveDataElementOptions(o))/2);return e>0&&e}const o=e.dataset,n=o.options&&o.options.borderWidth||0;if(!t.length)return n;const r=t[0].size(this.resolveDataElementOptions(0)),i=t[t.length-1].size(this.resolveDataElementOptions(t.length-1));return Math.max(n,r,i)/2}}});function en(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class tn{static override(e){Object.assign(tn.prototype,e)}options;constructor(e){this.options=e||{}}init(){}formats(){return en()}parse(){return en()}format(){return en()}add(){return en()}diff(){return en()}startOf(){return en()}endOf(){return en()}}var on=tn;function nn(e,t,o,n){const{controller:r,data:i,_sorted:a}=e,s=r._cachedMeta.iScale,l=e.dataset&&e.dataset.options?e.dataset.options.spanGaps:null;if(s&&t===s.axis&&"r"!==t&&a&&i.length){const a=s._reversePixels?Be:De;if(!n){const n=a(i,t,o);if(l){const{vScale:t}=r._cachedMeta,{_parsed:o}=e,i=o.slice(0,n.lo+1).reverse().findIndex((e=>!L(e[t.axis])));n.lo-=Math.max(0,i);const a=o.slice(n.hi).findIndex((e=>!L(e[t.axis])));n.hi+=Math.max(0,a)}return n}if(r._sharedOptions){const e=i[0],n="function"==typeof e.getRange&&e.getRange(t);if(n){const e=a(i,t,o-n),r=a(i,t,o+n);return{lo:e.lo,hi:r.hi}}}}return{lo:0,hi:i.length-1}}function rn(e,t,o,n,r){const i=e.getSortedVisibleDatasetMetas(),a=o[t];for(let e=0,o=i.length;e<o;++e){const{index:o,data:s}=i[e],{lo:l,hi:c}=nn(i[e],t,a,r);for(let e=l;e<=c;++e){const t=s[e];t.skip||n(t,o,e)}}}function an(e,t,o,n,r){const i=[];return r||e.isPointInArea(t)?(rn(e,o,t,(function(o,a,s){(r||gt(o,e.chartArea,0))&&o.inRange(t.x,t.y,n)&&i.push({element:o,datasetIndex:a,index:s})}),!0),i):i}function sn(e,t,o,n,r,i){return i||e.isPointInArea(t)?"r"!==o||n?function(e,t,o,n,r,i){let a=[];const s=function(e){const t=-1!==e.indexOf("x"),o=-1!==e.indexOf("y");return function(e,n){const r=t?Math.abs(e.x-n.x):0,i=o?Math.abs(e.y-n.y):0;return Math.sqrt(Math.pow(r,2)+Math.pow(i,2))}}(o);let l=Number.POSITIVE_INFINITY;return rn(e,o,t,(function(o,c,p){const u=o.inRange(t.x,t.y,r);if(n&&!u)return;const d=o.getCenterPoint(r);if(!i&&!e.isPointInArea(d)&&!u)return;const y=s(t,d);y<l?(a=[{element:o,datasetIndex:c,index:p}],l=y):y===l&&a.push({element:o,datasetIndex:c,index:p})})),a}(e,t,o,n,r,i):function(e,t,o,n){let r=[];return rn(e,o,t,(function(e,o,i){const{startAngle:a,endAngle:s}=e.getProps(["startAngle","endAngle"],n),{angle:l}=je(e,{x:t.x,y:t.y});ke(l,a,s)&&r.push({element:e,datasetIndex:o,index:i})})),r}(e,t,o,r):[]}function ln(e,t,o,n,r){const i=[],a="x"===o?"inXRange":"inYRange";let s=!1;return rn(e,o,t,((e,n,l)=>{e[a]&&e[a](t[o],r)&&(i.push({element:e,datasetIndex:n,index:l}),s=s||e.inRange(t.x,t.y,r))})),n&&!s?[]:i}var cn={evaluateInteractionItems:rn,modes:{index(e,t,o,n){const r=io(t,e),i=o.axis||"x",a=o.includeInvisible||!1,s=o.intersect?an(e,r,i,n,a):sn(e,r,i,!1,n,a),l=[];return s.length?(e.getSortedVisibleDatasetMetas().forEach((e=>{const t=s[0].index,o=e.data[t];o&&!o.skip&&l.push({element:o,datasetIndex:e.index,index:t})})),l):[]},dataset(e,t,o,n){const r=io(t,e),i=o.axis||"xy",a=o.includeInvisible||!1;let s=o.intersect?an(e,r,i,n,a):sn(e,r,i,!1,n,a);if(s.length>0){const t=s[0].datasetIndex,o=e.getDatasetMeta(t).data;s=[];for(let e=0;e<o.length;++e)s.push({element:o[e],datasetIndex:t,index:e})}return s},point:(e,t,o,n)=>an(e,io(t,e),o.axis||"xy",n,o.includeInvisible||!1),nearest(e,t,o,n){const r=io(t,e),i=o.axis||"xy",a=o.includeInvisible||!1;return sn(e,r,i,o.intersect,n,a)},x:(e,t,o,n)=>ln(e,io(t,e),"x",o.intersect,n),y:(e,t,o,n)=>ln(e,io(t,e),"y",o.intersect,n)}};const pn=["left","top","right","bottom"];function un(e,t){return e.filter((e=>e.pos===t))}function dn(e,t){return e.filter((e=>-1===pn.indexOf(e.pos)&&e.box.axis===t))}function yn(e,t){return e.sort(((e,o)=>{const n=t?o:e,r=t?e:o;return n.weight===r.weight?n.index-r.index:n.weight-r.weight}))}function gn(e,t,o,n){return Math.max(e[o],t[o])+Math.max(e[n],t[n])}function mn(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function vn(e,t,o,n){const{pos:r,box:i}=o,a=e.maxPadding;if(!F(r)){o.size&&(e[r]-=o.size);const t=n[o.stack]||{size:0,count:1};t.size=Math.max(t.size,o.horizontal?i.height:i.width),o.size=t.size/t.count,e[r]+=o.size}i.getPadding&&mn(a,i.getPadding());const s=Math.max(0,t.outerWidth-gn(a,e,"left","right")),l=Math.max(0,t.outerHeight-gn(a,e,"top","bottom")),c=s!==e.w,p=l!==e.h;return e.w=s,e.h=l,o.horizontal?{same:c,other:p}:{same:p,other:c}}function hn(e,t){const o=t.maxPadding;return function(e){const n={left:0,top:0,right:0,bottom:0};return e.forEach((e=>{n[e]=Math.max(t[e],o[e])})),n}(e?["left","right"]:["top","bottom"])}function bn(e,t,o,n){const r=[];let i,a,s,l,c,p;for(i=0,a=e.length,c=0;i<a;++i){s=e[i],l=s.box,l.update(s.width||t.w,s.height||t.h,hn(s.horizontal,t));const{same:a,other:u}=vn(t,o,s,n);c|=a&&r.length,p=p||u,l.fullSize||r.push(s)}return c&&bn(r,t,o,n)||p}function fn(e,t,o,n,r){e.top=o,e.left=t,e.right=t+n,e.bottom=o+r,e.width=n,e.height=r}function xn(e,t,o,n){const r=o.padding;let{x:i,y:a}=t;for(const s of e){const e=s.box,l=n[s.stack]||{count:1,placed:0,weight:1},c=s.stackWeight/l.weight||1;if(s.horizontal){const n=t.w*c,i=l.size||e.height;re(l.start)&&(a=l.start),e.fullSize?fn(e,r.left,a,o.outerWidth-r.right-r.left,i):fn(e,t.left+l.placed,a,n,i),l.start=a,l.placed+=n,a=e.bottom}else{const n=t.h*c,a=l.size||e.width;re(l.start)&&(i=l.start),e.fullSize?fn(e,i,r.top,a,o.outerHeight-r.bottom-r.top):fn(e,i,t.top+l.placed,a,n),l.start=i,l.placed+=n,i=e.right}}t.x=i,t.y=a}var wn={addBox(e,t){e.boxes||(e.boxes=[]),t.fullSize=t.fullSize||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw(e){t.draw(e)}}]},e.boxes.push(t)},removeBox(e,t){const o=e.boxes?e.boxes.indexOf(t):-1;-1!==o&&e.boxes.splice(o,1)},configure(e,t,o){t.fullSize=o.fullSize,t.position=o.position,t.weight=o.weight},update(e,t,o,n){if(!e)return;const r=Pt(e.options.layout.padding),i=Math.max(t-r.width,0),a=Math.max(o-r.height,0),s=function(e){const t=function(e){const t=[];let o,n,r,i,a,s;for(o=0,n=(e||[]).length;o<n;++o)r=e[o],({position:i,options:{stack:a,stackWeight:s=1}}=r),t.push({index:o,box:r,pos:i,horizontal:r.isHorizontal(),weight:r.weight,stack:a&&i+a,stackWeight:s});return t}(e),o=yn(t.filter((e=>e.box.fullSize)),!0),n=yn(un(t,"left"),!0),r=yn(un(t,"right")),i=yn(un(t,"top"),!0),a=yn(un(t,"bottom")),s=dn(t,"x"),l=dn(t,"y");return{fullSize:o,leftAndTop:n.concat(i),rightAndBottom:r.concat(l).concat(a).concat(s),chartArea:un(t,"chartArea"),vertical:n.concat(r).concat(l),horizontal:i.concat(a).concat(s)}}(e.boxes),l=s.vertical,c=s.horizontal;$(e.boxes,(e=>{"function"==typeof e.beforeLayout&&e.beforeLayout()}));const p=l.reduce(((e,t)=>t.box.options&&!1===t.box.options.display?e:e+1),0)||1,u=Object.freeze({outerWidth:t,outerHeight:o,padding:r,availableWidth:i,availableHeight:a,vBoxMaxWidth:i/2/p,hBoxMaxHeight:a/2}),d=Object.assign({},r);mn(d,Pt(n));const y=Object.assign({maxPadding:d,w:i,h:a,x:r.left,y:r.top},r),g=function(e,t){const o=function(e){const t={};for(const o of e){const{stack:e,pos:n,stackWeight:r}=o;if(!e||!pn.includes(n))continue;const i=t[e]||(t[e]={count:0,placed:0,weight:0,size:0});i.count++,i.weight+=r}return t}(e),{vBoxMaxWidth:n,hBoxMaxHeight:r}=t;let i,a,s;for(i=0,a=e.length;i<a;++i){s=e[i];const{fullSize:a}=s.box,l=o[s.stack],c=l&&s.stackWeight/l.weight;s.horizontal?(s.width=c?c*n:a&&t.availableWidth,s.height=r):(s.width=n,s.height=c?c*r:a&&t.availableHeight)}return o}(l.concat(c),u);bn(s.fullSize,y,u,g),bn(l,y,u,g),bn(c,y,u,g)&&bn(l,y,u,g),function(e){const t=e.maxPadding;function o(o){const n=Math.max(t[o]-e[o],0);return e[o]+=n,n}e.y+=o("top"),e.x+=o("left"),o("right"),o("bottom")}(y),xn(s.leftAndTop,y,u,g),y.x+=y.w,y.y+=y.h,xn(s.rightAndBottom,y,u,g),e.chartArea={left:y.left,top:y.top,right:y.left+y.w,bottom:y.top+y.h,height:y.h,width:y.w},$(s.chartArea,(t=>{const o=t.box;Object.assign(o,e.chartArea),o.update(y.w,y.h,{left:0,top:0,right:0,bottom:0})}))}};class Sn{acquireContext(e,t){}releaseContext(e){return!1}addEventListener(e,t,o){}removeEventListener(e,t,o){}getDevicePixelRatio(){return 1}getMaximumSize(e,t,o,n){return t=Math.max(0,t||e.width),o=o||e.height,{width:t,height:Math.max(0,n?Math.floor(t/n):o)}}isAttached(e){return!0}updateConfig(e){}}class _n extends Sn{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const jn="$chartjs",Tn={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},On=e=>null===e||""===e,Cn=!!lo&&{passive:!0};function kn(e,t,o){e&&e.canvas&&e.canvas.removeEventListener(t,o,Cn)}function Pn(e,t){for(const o of e)if(o===t||o.contains(t))return!0}function Nn(e,t,o){const n=e.canvas,r=new MutationObserver((e=>{let t=!1;for(const o of e)t=t||Pn(o.addedNodes,n),t=t&&!Pn(o.removedNodes,n);t&&o()}));return r.observe(document,{childList:!0,subtree:!0}),r}function En(e,t,o){const n=e.canvas,r=new MutationObserver((e=>{let t=!1;for(const o of e)t=t||Pn(o.removedNodes,n),t=t&&!Pn(o.addedNodes,n);t&&o()}));return r.observe(document,{childList:!0,subtree:!0}),r}const Dn=new Map;let Bn=0;function An(){const e=window.devicePixelRatio;e!==Bn&&(Bn=e,Dn.forEach(((t,o)=>{o.currentDevicePixelRatio!==e&&t()})))}function Hn(e,t,o){const n=e.canvas,r=n&&eo(n);if(!r)return;const i=Me(((e,t)=>{const n=r.clientWidth;o(e,t),n<r.clientWidth&&o()}),window),a=new ResizeObserver((e=>{const t=e[0],o=t.contentRect.width,n=t.contentRect.height;0===o&&0===n||i(o,n)}));return a.observe(r),function(e,t){Dn.size||window.addEventListener("resize",An),Dn.set(e,t)}(e,i),a}function Rn(e,t,o){o&&o.disconnect(),"resize"===t&&function(e){Dn.delete(e),Dn.size||window.removeEventListener("resize",An)}(e)}function In(e,t,o){const n=e.canvas,r=Me((t=>{null!==e.ctx&&o(function(e,t){const o=Tn[e.type]||e.type,{x:n,y:r}=io(e,t);return{type:o,chart:t,native:e,x:void 0!==n?n:null,y:void 0!==r?r:null}}(t,e))}),e);return function(e,t,o){e&&e.addEventListener(t,o,Cn)}(n,t,r),r}class Mn extends Sn{acquireContext(e,t){const o=e&&e.getContext&&e.getContext("2d");return o&&o.canvas===e?(function(e,t){const o=e.style,n=e.getAttribute("height"),r=e.getAttribute("width");if(e[jn]={initial:{height:n,width:r,style:{display:o.display,height:o.height,width:o.width}}},o.display=o.display||"block",o.boxSizing=o.boxSizing||"border-box",On(r)){const t=co(e,"width");void 0!==t&&(e.width=t)}if(On(n))if(""===e.style.height)e.height=e.width/(t||2);else{const t=co(e,"height");void 0!==t&&(e.height=t)}}(e,t),o):null}releaseContext(e){const t=e.canvas;if(!t[jn])return!1;const o=t[jn].initial;["height","width"].forEach((e=>{const n=o[e];L(n)?t.removeAttribute(e):t.setAttribute(e,n)}));const n=o.style||{};return Object.keys(n).forEach((e=>{t.style[e]=n[e]})),t.width=t.width,delete t[jn],!0}addEventListener(e,t,o){this.removeEventListener(e,t);const n=e.$proxies||(e.$proxies={}),r={attach:Nn,detach:En,resize:Hn}[t]||In;n[t]=r(e,t,o)}removeEventListener(e,t){const o=e.$proxies||(e.$proxies={}),n=o[t];n&&(({attach:Rn,detach:Rn,resize:Rn}[t]||kn)(e,t,n),o[t]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,t,o,n){return function(e,t,o,n){const r=oo(e),i=ro(r,"margin"),a=to(r.maxWidth,e,"clientWidth")||pe,s=to(r.maxHeight,e,"clientHeight")||pe,l=function(e,t,o){let n,r;if(void 0===t||void 0===o){const i=e&&eo(e);if(i){const e=i.getBoundingClientRect(),a=oo(i),s=ro(a,"border","width"),l=ro(a,"padding");t=e.width-l.width-s.width,o=e.height-l.height-s.height,n=to(a.maxWidth,i,"clientWidth"),r=to(a.maxHeight,i,"clientHeight")}else t=e.clientWidth,o=e.clientHeight}return{width:t,height:o,maxWidth:n||pe,maxHeight:r||pe}}(e,t,o);let{width:c,height:p}=l;if("content-box"===r.boxSizing){const e=ro(r,"border","width"),t=ro(r,"padding");c-=t.width+e.width,p-=t.height+e.height}return c=Math.max(0,c-i.width),p=Math.max(0,n?c/n:p-i.height),c=ao(Math.min(c,a,l.maxWidth)),p=ao(Math.min(p,s,l.maxHeight)),c&&!p&&(p=ao(c/2)),(void 0!==t||void 0!==o)&&n&&l.height&&p>l.height&&(p=l.height,c=ao(Math.floor(p*n))),{width:c,height:p}}(e,t,o,n)}isAttached(e){const t=e&&eo(e);return!(!t||!t.isConnected)}}class Ln{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(e){const{x:t,y:o}=this.getProps(["x","y"],e);return{x:t,y:o}}hasValue(){return fe(this.x)&&fe(this.y)}getProps(e,t){const o=this.$animations;if(!t||!o)return this;const n={};return e.forEach((e=>{n[e]=o[e]&&o[e].active()?o[e]._to:this[e]})),n}}function zn(e,t,o,n,r){const i=G(n,0),a=Math.min(G(r,e.length),e.length);let s,l,c,p=0;for(o=Math.ceil(o),r&&(s=r-n,o=s/Math.floor(s/o)),c=i;c<0;)p++,c=Math.round(i+p*o);for(l=Math.max(i,0);l<a;l++)l===c&&(t.push(e[l]),p++,c=Math.round(i+p*o))}const Fn=(e,t,o)=>"top"===t||"left"===t?e[t]+o:e[t]-o,Vn=(e,t)=>Math.min(t||e,e);function Wn(e,t){const o=[],n=e.length/t,r=e.length;let i=0;for(;i<r;i+=n)o.push(e[Math.floor(i)]);return o}function Gn(e,t,o){const n=e.ticks.length,r=Math.min(t,n-1),i=e._startPixel,a=e._endPixel,s=1e-6;let l,c=e.getPixelForTick(r);if(!(o&&(l=1===n?Math.max(c-i,a-c):0===t?(e.getPixelForTick(1)-c)/2:(c-e.getPixelForTick(r-1))/2,c+=r<t?l:-l,c<i-s||c>a+s)))return c}function Un(e){return e.drawTicks?e.tickLength:0}function qn(e,t){if(!e.display)return 0;const o=Nt(e.font,t),n=Pt(e.padding);return(z(e.text)?e.text.length:1)*o.lineHeight+n.height}function $n(e,t,o){let n=Le(e);return(o&&"right"!==t||!o&&"right"===t)&&(n=(e=>"left"===e?"right":"right"===e?"left":e)(n)),n}class Yn extends Ln{constructor(e){super(),this.id=e.id,this.type=e.type,this.options=void 0,this.ctx=e.ctx,this.chart=e.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(e){this.options=e.setContext(this.getContext()),this.axis=e.axis,this._userMin=this.parse(e.min),this._userMax=this.parse(e.max),this._suggestedMin=this.parse(e.suggestedMin),this._suggestedMax=this.parse(e.suggestedMax)}parse(e,t){return e}getUserBounds(){let{_userMin:e,_userMax:t,_suggestedMin:o,_suggestedMax:n}=this;return e=W(e,Number.POSITIVE_INFINITY),t=W(t,Number.NEGATIVE_INFINITY),o=W(o,Number.POSITIVE_INFINITY),n=W(n,Number.NEGATIVE_INFINITY),{min:W(e,o),max:W(t,n),minDefined:V(e),maxDefined:V(t)}}getMinMax(e){let t,{min:o,max:n,minDefined:r,maxDefined:i}=this.getUserBounds();if(r&&i)return{min:o,max:n};const a=this.getMatchingVisibleMetas();for(let s=0,l=a.length;s<l;++s)t=a[s].controller.getMinMax(this,e),r||(o=Math.min(o,t.min)),i||(n=Math.max(n,t.max));return o=i&&o>n?n:o,n=r&&o>n?o:n,{min:W(o,W(n,o)),max:W(n,W(o,n))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}getLabelItems(e=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(e))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){q(this.options.beforeUpdate,[this])}update(e,t,o){const{beginAtZero:n,grace:r,ticks:i}=this.options,a=i.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=t,this._margins=o=Object.assign({left:0,right:0,top:0,bottom:0},o),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+o.left+o.right:this.height+o.top+o.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=function(e,t,o){const{min:n,max:r}=e,i=U(t,(r-n)/2),a=(e,t)=>o&&0===e?0:e+t;return{min:a(n,-Math.abs(i)),max:a(r,i)}}(this,r,n),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const s=a<this.ticks.length;this._convertTicksToLabels(s?Wn(this.ticks,a):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),i.display&&(i.autoSkip||"auto"===i.source)&&(this.ticks=function(e,t){const o=e.options.ticks,n=function(e){const t=e.options.offset,o=e._tickSize(),n=e._length/o+(t?0:1),r=e._maxLength/o;return Math.floor(Math.min(n,r))}(e),r=Math.min(o.maxTicksLimit||n,n),i=o.major.enabled?function(e){const t=[];let o,n;for(o=0,n=e.length;o<n;o++)e[o].major&&t.push(o);return t}(t):[],a=i.length,s=i[0],l=i[a-1],c=[];if(a>r)return function(e,t,o,n){let r,i=0,a=o[0];for(n=Math.ceil(n),r=0;r<e.length;r++)r===a&&(t.push(e[r]),i++,a=o[i*n])}(t,c,i,a/r),c;const p=function(e,t,o){const n=function(e){const t=e.length;let o,n;if(t<2)return!1;for(n=e[0],o=1;o<t;++o)if(e[o]-e[o-1]!==n)return!1;return n}(e),r=t.length/o;if(!n)return Math.max(r,1);const i=function(e){const t=[],o=Math.sqrt(e);let n;for(n=1;n<o;n++)e%n===0&&(t.push(n),t.push(e/n));return o===(0|o)&&t.push(o),t.sort(((e,t)=>e-t)).pop(),t}(n);for(let e=0,t=i.length-1;e<t;e++){const t=i[e];if(t>r)return t}return Math.max(r,1)}(i,t,r);if(a>0){let e,o;const n=a>1?Math.round((l-s)/(a-1)):null;for(zn(t,c,p,L(n)?0:s-n,s),e=0,o=a-1;e<o;e++)zn(t,c,p,i[e],i[e+1]);return zn(t,c,p,l,L(n)?t.length:l+n),c}return zn(t,c,p),c}(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),s&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let e,t,o=this.options.reverse;this.isHorizontal()?(e=this.left,t=this.right):(e=this.top,t=this.bottom,o=!o),this._startPixel=e,this._endPixel=t,this._reversePixels=o,this._length=t-e,this._alignToPixels=this.options.alignToPixels}afterUpdate(){q(this.options.afterUpdate,[this])}beforeSetDimensions(){q(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){q(this.options.afterSetDimensions,[this])}_callHooks(e){this.chart.notifyPlugins(e,this.getContext()),q(this.options[e],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){q(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(e){const t=this.options.ticks;let o,n,r;for(o=0,n=e.length;o<n;o++)r=e[o],r.label=q(t.callback,[r.value,o,e],this)}afterTickToLabelConversion(){q(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){q(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const e=this.options,t=e.ticks,o=Vn(this.ticks.length,e.ticks.maxTicksLimit),n=t.minRotation||0,r=t.maxRotation;let i,a,s,l=n;if(!this._isVisible()||!t.display||n>=r||o<=1||!this.isHorizontal())return void(this.labelRotation=n);const c=this._getLabelSizes(),p=c.widest.width,u=c.highest.height,d=Pe(this.chart.width-p,0,this.maxWidth);i=e.offset?this.maxWidth/o:d/(o-1),p+6>i&&(i=d/(o-(e.offset?.5:1)),a=this.maxHeight-Un(e.grid)-t.padding-qn(e.title,this.chart.options.font),s=Math.sqrt(p*p+u*u),l=Se(Math.min(Math.asin(Pe((c.highest.height+6)/i,-1,1)),Math.asin(Pe(a/s,-1,1))-Math.asin(Pe(u/s,-1,1)))),l=Math.max(n,Math.min(r,l))),this.labelRotation=l}afterCalculateLabelRotation(){q(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){q(this.options.beforeFit,[this])}fit(){const e={width:0,height:0},{chart:t,options:{ticks:o,title:n,grid:r}}=this,i=this._isVisible(),a=this.isHorizontal();if(i){const i=qn(n,t.options.font);if(a?(e.width=this.maxWidth,e.height=Un(r)+i):(e.height=this.maxHeight,e.width=Un(r)+i),o.display&&this.ticks.length){const{first:t,last:n,widest:r,highest:i}=this._getLabelSizes(),s=2*o.padding,l=we(this.labelRotation),c=Math.cos(l),p=Math.sin(l);if(a){const t=o.mirror?0:p*r.width+c*i.height;e.height=Math.min(this.maxHeight,e.height+t+s)}else{const t=o.mirror?0:c*r.width+p*i.height;e.width=Math.min(this.maxWidth,e.width+t+s)}this._calculatePadding(t,n,p,c)}}this._handleMargins(),a?(this.width=this._length=t.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=t.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,t,o,n){const{ticks:{align:r,padding:i},position:a}=this.options,s=0!==this.labelRotation,l="top"!==a&&"x"===this.axis;if(this.isHorizontal()){const a=this.getPixelForTick(0)-this.left,c=this.right-this.getPixelForTick(this.ticks.length-1);let p=0,u=0;s?l?(p=n*e.width,u=o*t.height):(p=o*e.height,u=n*t.width):"start"===r?u=t.width:"end"===r?p=e.width:"inner"!==r&&(p=e.width/2,u=t.width/2),this.paddingLeft=Math.max((p-a+i)*this.width/(this.width-a),0),this.paddingRight=Math.max((u-c+i)*this.width/(this.width-c),0)}else{let o=t.height/2,n=e.height/2;"start"===r?(o=0,n=e.height):"end"===r&&(o=t.height,n=0),this.paddingTop=o+i,this.paddingBottom=n+i}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){q(this.options.afterFit,[this])}isHorizontal(){const{axis:e,position:t}=this.options;return"top"===t||"bottom"===t||"x"===e}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){let t,o;for(this.beforeTickToLabelConversion(),this.generateTickLabels(e),t=0,o=e.length;t<o;t++)L(e[t].label)&&(e.splice(t,1),o--,t--);this.afterTickToLabelConversion()}_getLabelSizes(){let e=this._labelSizes;if(!e){const t=this.options.ticks.sampleSize;let o=this.ticks;t<o.length&&(o=Wn(o,t)),this._labelSizes=e=this._computeLabelSizes(o,o.length,this.options.ticks.maxTicksLimit)}return e}_computeLabelSizes(e,t,o){const{ctx:n,_longestTextCache:r}=this,i=[],a=[],s=Math.floor(t/Vn(t,o));let l,c,p,u,d,y,g,m,v,h,b,f=0,x=0;for(l=0;l<t;l+=s){if(u=e[l].label,d=this._resolveTickFontOptions(l),n.font=y=d.string,g=r[y]=r[y]||{data:{},gc:[]},m=d.lineHeight,v=h=0,L(u)||z(u)){if(z(u))for(c=0,p=u.length;c<p;++c)b=u[c],L(b)||z(b)||(v=lt(n,g.data,g.gc,v,b),h+=m)}else v=lt(n,g.data,g.gc,v,u),h=m;i.push(v),a.push(h),f=Math.max(v,f),x=Math.max(h,x)}!function(e,t){$(e,(e=>{const o=e.gc,n=o.length/2;let r;if(n>t){for(r=0;r<n;++r)delete e.data[o[r]];o.splice(0,n)}}))}(r,t);const w=i.indexOf(f),S=a.indexOf(x),_=e=>({width:i[e]||0,height:a[e]||0});return{first:_(0),last:_(t-1),widest:_(w),highest:_(S),widths:i,heights:a}}getLabelForValue(e){return e}getPixelForValue(e,t){return NaN}getValueForPixel(e){}getPixelForTick(e){const t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);const t=this._startPixel+e*this._length;return Pe(this._alignToPixels?pt(this.chart,t,0):t,-32768,32767)}getDecimalForPixel(e){const t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:e,max:t}=this;return e<0&&t<0?t:e>0&&t>0?e:0}getContext(e){const t=this.ticks||[];if(e>=0&&e<t.length){const o=t[e];return o.$context||(o.$context=function(e,t,o){return Dt(e,{tick:o,index:t,type:"tick"})}(this.getContext(),e,o))}return this.$context||(this.$context=Dt(this.chart.getContext(),{scale:this,type:"scale"}))}_tickSize(){const e=this.options.ticks,t=we(this.labelRotation),o=Math.abs(Math.cos(t)),n=Math.abs(Math.sin(t)),r=this._getLabelSizes(),i=e.autoSkipPadding||0,a=r?r.widest.width+i:0,s=r?r.highest.height+i:0;return this.isHorizontal()?s*o>a*n?a/o:s/n:s*n<a*o?s/o:a/n}_isVisible(){const e=this.options.display;return"auto"!==e?!!e:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(e){const t=this.axis,o=this.chart,n=this.options,{grid:r,position:i,border:a}=n,s=r.offset,l=this.isHorizontal(),c=this.ticks.length+(s?1:0),p=Un(r),u=[],d=a.setContext(this.getContext()),y=d.display?d.width:0,g=y/2,m=function(e){return pt(o,e,y)};let v,h,b,f,x,w,S,_,j,T,O,C;if("top"===i)v=m(this.bottom),w=this.bottom-p,_=v-g,T=m(e.top)+g,C=e.bottom;else if("bottom"===i)v=m(this.top),T=e.top,C=m(e.bottom)-g,w=v+g,_=this.top+p;else if("left"===i)v=m(this.right),x=this.right-p,S=v-g,j=m(e.left)+g,O=e.right;else if("right"===i)v=m(this.left),j=e.left,O=m(e.right)-g,x=v+g,S=this.left+p;else if("x"===t){if("center"===i)v=m((e.top+e.bottom)/2+.5);else if(F(i)){const e=Object.keys(i)[0],t=i[e];v=m(this.chart.scales[e].getPixelForValue(t))}T=e.top,C=e.bottom,w=v+g,_=w+p}else if("y"===t){if("center"===i)v=m((e.left+e.right)/2);else if(F(i)){const e=Object.keys(i)[0],t=i[e];v=m(this.chart.scales[e].getPixelForValue(t))}x=v-g,S=x-p,j=e.left,O=e.right}const k=G(n.ticks.maxTicksLimit,c),P=Math.max(1,Math.ceil(c/k));for(h=0;h<c;h+=P){const e=this.getContext(h),t=r.setContext(e),n=a.setContext(e),i=t.lineWidth,c=t.color,p=n.dash||[],d=n.dashOffset,y=t.tickWidth,g=t.tickColor,m=t.tickBorderDash||[],v=t.tickBorderDashOffset;b=Gn(this,h,s),void 0!==b&&(f=pt(o,b,i),l?x=S=j=O=f:w=_=T=C=f,u.push({tx1:x,ty1:w,tx2:S,ty2:_,x1:j,y1:T,x2:O,y2:C,width:i,color:c,borderDash:p,borderDashOffset:d,tickWidth:y,tickColor:g,tickBorderDash:m,tickBorderDashOffset:v}))}return this._ticksLength=c,this._borderValue=v,u}_computeLabelItems(e){const t=this.axis,o=this.options,{position:n,ticks:r}=o,i=this.isHorizontal(),a=this.ticks,{align:s,crossAlign:l,padding:c,mirror:p}=r,u=Un(o.grid),d=u+c,y=p?-c:d,g=-we(this.labelRotation),m=[];let v,h,b,f,x,w,S,_,j,T,O,C,k="middle";if("top"===n)w=this.bottom-y,S=this._getXAxisLabelAlignment();else if("bottom"===n)w=this.top+y,S=this._getXAxisLabelAlignment();else if("left"===n){const e=this._getYAxisLabelAlignment(u);S=e.textAlign,x=e.x}else if("right"===n){const e=this._getYAxisLabelAlignment(u);S=e.textAlign,x=e.x}else if("x"===t){if("center"===n)w=(e.top+e.bottom)/2+d;else if(F(n)){const e=Object.keys(n)[0],t=n[e];w=this.chart.scales[e].getPixelForValue(t)+d}S=this._getXAxisLabelAlignment()}else if("y"===t){if("center"===n)x=(e.left+e.right)/2-d;else if(F(n)){const e=Object.keys(n)[0],t=n[e];x=this.chart.scales[e].getPixelForValue(t)}S=this._getYAxisLabelAlignment(u).textAlign}"y"===t&&("start"===s?k="top":"end"===s&&(k="bottom"));const P=this._getLabelSizes();for(v=0,h=a.length;v<h;++v){b=a[v],f=b.label;const e=r.setContext(this.getContext(v));_=this.getPixelForTick(v)+r.labelOffset,j=this._resolveTickFontOptions(v),T=j.lineHeight,O=z(f)?f.length:1;const t=O/2,o=e.color,s=e.textStrokeColor,c=e.textStrokeWidth;let u,d=S;if(i?(x=_,"inner"===S&&(d=v===h-1?this.options.reverse?"left":"right":0===v?this.options.reverse?"right":"left":"center"),C="top"===n?"near"===l||0!==g?-O*T+T/2:"center"===l?-P.highest.height/2-t*T+T:-P.highest.height+T/2:"near"===l||0!==g?T/2:"center"===l?P.highest.height/2-t*T:P.highest.height-O*T,p&&(C*=-1),0===g||e.showLabelBackdrop||(x+=T/2*Math.sin(g))):(w=_,C=(1-O)*T/2),e.showLabelBackdrop){const t=Pt(e.backdropPadding),o=P.heights[v],n=P.widths[v];let r=C-t.top,i=0-t.left;switch(k){case"middle":r-=o/2;break;case"bottom":r-=o}switch(S){case"center":i-=n/2;break;case"right":i-=n;break;case"inner":v===h-1?i-=n:v>0&&(i-=n/2)}u={left:i,top:r,width:n+t.width,height:o+t.height,color:e.backdropColor}}m.push({label:f,font:j,textOffset:C,options:{rotation:g,color:o,strokeColor:s,strokeWidth:c,textAlign:d,textBaseline:k,translation:[x,w],backdrop:u}})}return m}_getXAxisLabelAlignment(){const{position:e,ticks:t}=this.options;if(-we(this.labelRotation))return"top"===e?"left":"right";let o="center";return"start"===t.align?o="left":"end"===t.align?o="right":"inner"===t.align&&(o="inner"),o}_getYAxisLabelAlignment(e){const{position:t,ticks:{crossAlign:o,mirror:n,padding:r}}=this.options,i=e+r,a=this._getLabelSizes().widest.width;let s,l;return"left"===t?n?(l=this.right+r,"near"===o?s="left":"center"===o?(s="center",l+=a/2):(s="right",l+=a)):(l=this.right-i,"near"===o?s="right":"center"===o?(s="center",l-=a/2):(s="left",l=this.left)):"right"===t?n?(l=this.left+r,"near"===o?s="right":"center"===o?(s="center",l-=a/2):(s="left",l-=a)):(l=this.left+i,"near"===o?s="left":"center"===o?(s="center",l+=a/2):(s="right",l=this.right)):s="right",{textAlign:s,x:l}}_computeLabelArea(){if(this.options.ticks.mirror)return;const e=this.chart,t=this.options.position;return"left"===t||"right"===t?{top:0,left:this.left,bottom:e.height,right:this.right}:"top"===t||"bottom"===t?{top:this.top,left:0,bottom:this.bottom,right:e.width}:void 0}drawBackground(){const{ctx:e,options:{backgroundColor:t},left:o,top:n,width:r,height:i}=this;t&&(e.save(),e.fillStyle=t,e.fillRect(o,n,r,i),e.restore())}getLineWidthForValue(e){const t=this.options.grid;if(!this._isVisible()||!t.display)return 0;const o=this.ticks.findIndex((t=>t.value===e));return o>=0?t.setContext(this.getContext(o)).lineWidth:0}drawGrid(e){const t=this.options.grid,o=this.ctx,n=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let r,i;const a=(e,t,n)=>{n.width&&n.color&&(o.save(),o.lineWidth=n.width,o.strokeStyle=n.color,o.setLineDash(n.borderDash||[]),o.lineDashOffset=n.borderDashOffset,o.beginPath(),o.moveTo(e.x,e.y),o.lineTo(t.x,t.y),o.stroke(),o.restore())};if(t.display)for(r=0,i=n.length;r<i;++r){const e=n[r];t.drawOnChartArea&&a({x:e.x1,y:e.y1},{x:e.x2,y:e.y2},e),t.drawTicks&&a({x:e.tx1,y:e.ty1},{x:e.tx2,y:e.ty2},{color:e.tickColor,width:e.tickWidth,borderDash:e.tickBorderDash,borderDashOffset:e.tickBorderDashOffset})}}drawBorder(){const{chart:e,ctx:t,options:{border:o,grid:n}}=this,r=o.setContext(this.getContext()),i=o.display?r.width:0;if(!i)return;const a=n.setContext(this.getContext(0)).lineWidth,s=this._borderValue;let l,c,p,u;this.isHorizontal()?(l=pt(e,this.left,i)-i/2,c=pt(e,this.right,a)+a/2,p=u=s):(p=pt(e,this.top,i)-i/2,u=pt(e,this.bottom,a)+a/2,l=c=s),t.save(),t.lineWidth=r.width,t.strokeStyle=r.color,t.beginPath(),t.moveTo(l,p),t.lineTo(c,u),t.stroke(),t.restore()}drawLabels(e){if(!this.options.ticks.display)return;const t=this.ctx,o=this._computeLabelArea();o&&mt(t,o);const n=this.getLabelItems(e);for(const e of n){const o=e.options,n=e.font;wt(t,e.label,0,e.textOffset,n,o)}o&&vt(t)}drawTitle(){const{ctx:e,options:{position:t,title:o,reverse:n}}=this;if(!o.display)return;const r=Nt(o.font),i=Pt(o.padding),a=o.align;let s=r.lineHeight/2;"bottom"===t||"center"===t||F(t)?(s+=i.bottom,z(o.text)&&(s+=r.lineHeight*(o.text.length-1))):s+=i.top;const{titleX:l,titleY:c,maxWidth:p,rotation:u}=function(e,t,o,n){const{top:r,left:i,bottom:a,right:s,chart:l}=e,{chartArea:c,scales:p}=l;let u,d,y,g=0;const m=a-r,v=s-i;if(e.isHorizontal()){if(d=ze(n,i,s),F(o)){const e=Object.keys(o)[0],n=o[e];y=p[e].getPixelForValue(n)+m-t}else y="center"===o?(c.bottom+c.top)/2+m-t:Fn(e,o,t);u=s-i}else{if(F(o)){const e=Object.keys(o)[0],n=o[e];d=p[e].getPixelForValue(n)-v+t}else d="center"===o?(c.left+c.right)/2-v+t:Fn(e,o,t);y=ze(n,a,r),g="left"===o?-de:de}return{titleX:d,titleY:y,maxWidth:u,rotation:g}}(this,s,t,a);wt(e,o.text,0,0,r,{color:o.color,maxWidth:p,rotation:u,textAlign:$n(a,t,n),textBaseline:"middle",translation:[l,c]})}draw(e){this._isVisible()&&(this.drawBackground(),this.drawGrid(e),this.drawBorder(),this.drawTitle(),this.drawLabels(e))}_layers(){const e=this.options,t=e.ticks&&e.ticks.z||0,o=G(e.grid&&e.grid.z,-1),n=G(e.border&&e.border.z,0);return this._isVisible()&&this.draw===Yn.prototype.draw?[{z:o,draw:e=>{this.drawBackground(),this.drawGrid(e),this.drawTitle()}},{z:n,draw:()=>{this.drawBorder()}},{z:t,draw:e=>{this.drawLabels(e)}}]:[{z:t,draw:e=>{this.draw(e)}}]}getMatchingVisibleMetas(e){const t=this.chart.getSortedVisibleDatasetMetas(),o=this.axis+"AxisID",n=[];let r,i;for(r=0,i=t.length;r<i;++r){const i=t[r];i[o]!==this.id||e&&i.type!==e||n.push(i)}return n}_resolveTickFontOptions(e){return Nt(this.options.ticks.setContext(this.getContext(e)).font)}_maxDigits(){const e=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/e}}class Xn{constructor(e,t,o){this.type=e,this.scope=t,this.override=o,this.items=Object.create(null)}isForType(e){return Object.prototype.isPrototypeOf.call(this.type.prototype,e.prototype)}register(e){const t=Object.getPrototypeOf(e);let o;(function(e){return"id"in e&&"defaults"in e})(t)&&(o=this.register(t));const n=this.items,r=e.id,i=this.scope+"."+r;if(!r)throw new Error("class does not have id: "+e);return r in n||(n[r]=e,function(e,t,o){const n=Z(Object.create(null),[o?st.get(o):{},st.get(t),e.defaults]);st.set(t,n),e.defaultRoutes&&function(e,t){Object.keys(t).forEach((o=>{const n=o.split("."),r=n.pop(),i=[e].concat(n).join("."),a=t[o].split("."),s=a.pop(),l=a.join(".");st.route(i,r,l,s)}))}(t,e.defaultRoutes),e.descriptors&&st.describe(t,e.descriptors)}(e,i,o),this.override&&st.override(e.id,e.overrides)),i}get(e){return this.items[e]}unregister(e){const t=this.items,o=e.id,n=this.scope;o in t&&delete t[o],n&&o in st[n]&&(delete st[n][o],this.override&&delete ot[o])}}class Jn{constructor(){this.controllers=new Xn(Vo,"datasets",!0),this.elements=new Xn(Ln,"elements"),this.plugins=new Xn(Object,"plugins"),this.scales=new Xn(Yn,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each("register",e)}remove(...e){this._each("unregister",e)}addControllers(...e){this._each("register",e,this.controllers)}addElements(...e){this._each("register",e,this.elements)}addPlugins(...e){this._each("register",e,this.plugins)}addScales(...e){this._each("register",e,this.scales)}getController(e){return this._get(e,this.controllers,"controller")}getElement(e){return this._get(e,this.elements,"element")}getPlugin(e){return this._get(e,this.plugins,"plugin")}getScale(e){return this._get(e,this.scales,"scale")}removeControllers(...e){this._each("unregister",e,this.controllers)}removeElements(...e){this._each("unregister",e,this.elements)}removePlugins(...e){this._each("unregister",e,this.plugins)}removeScales(...e){this._each("unregister",e,this.scales)}_each(e,t,o){[...t].forEach((t=>{const n=o||this._getRegistryForType(t);o||n.isForType(t)||n===this.plugins&&t.id?this._exec(e,n,t):$(t,(t=>{const n=o||this._getRegistryForType(t);this._exec(e,n,t)}))}))}_exec(e,t,o){const n=ne(e);q(o["before"+n],[],o),t[e](o),q(o["after"+n],[],o)}_getRegistryForType(e){for(let t=0;t<this._typedRegistries.length;t++){const o=this._typedRegistries[t];if(o.isForType(e))return o}return this.plugins}_get(e,t,o){const n=t.get(e);if(void 0===n)throw new Error('"'+e+'" is not a registered '+o+".");return n}}var Qn=new Jn;class Zn{constructor(){this._init=[]}notify(e,t,o,n){"beforeInit"===t&&(this._init=this._createDescriptors(e,!0),this._notify(this._init,e,"install"));const r=n?this._descriptors(e).filter(n):this._descriptors(e),i=this._notify(r,e,t,o);return"afterDestroy"===t&&(this._notify(r,e,"stop"),this._notify(this._init,e,"uninstall")),i}_notify(e,t,o,n){n=n||{};for(const r of e){const e=r.plugin;if(!1===q(e[o],[t,n,r.options],e)&&n.cancelable)return!1}return!0}invalidate(){L(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(e){if(this._cache)return this._cache;const t=this._cache=this._createDescriptors(e);return this._notifyStateChanges(e),t}_createDescriptors(e,t){const o=e&&e.config,n=G(o.options&&o.options.plugins,{}),r=function(e){const t={},o=[],n=Object.keys(Qn.plugins.items);for(let e=0;e<n.length;e++)o.push(Qn.getPlugin(n[e]));const r=e.plugins||[];for(let e=0;e<r.length;e++){const n=r[e];-1===o.indexOf(n)&&(o.push(n),t[n.id]=!0)}return{plugins:o,localIds:t}}(o);return!1!==n||t?function(e,{plugins:t,localIds:o},n,r){const i=[],a=e.getContext();for(const s of t){const t=s.id,l=Kn(n[t],r);null!==l&&i.push({plugin:s,options:er(e.config,{plugin:s,local:o[t]},l,a)})}return i}(e,r,n,t):[]}_notifyStateChanges(e){const t=this._oldCache||[],o=this._cache,n=(e,t)=>e.filter((e=>!t.some((t=>e.plugin.id===t.plugin.id))));this._notify(n(t,o),e,"stop"),this._notify(n(o,t),e,"start")}}function Kn(e,t){return t||!1!==e?!0===e?{}:e:null}function er(e,{plugin:t,local:o},n,r){const i=e.pluginScopeKeys(t),a=e.getOptionScopes(n,i);return o&&t.defaults&&a.push(t.defaults),e.createResolver(a,r,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function tr(e,t){const o=st.datasets[e]||{};return((t.datasets||{})[e]||{}).indexAxis||t.indexAxis||o.indexAxis||"x"}function or(e){if("x"===e||"y"===e||"r"===e)return e}function nr(e,...t){if(or(e))return e;for(const n of t){const t=n.axis||("top"===(o=n.position)||"bottom"===o?"x":"left"===o||"right"===o?"y":void 0)||e.length>1&&or(e[0].toLowerCase());if(t)return t}var o;throw new Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function rr(e,t,o){if(o[t+"AxisID"]===e)return{axis:t}}function ir(e){const t=e.options||(e.options={});t.plugins=G(t.plugins,{}),t.scales=function(e,t){const o=ot[e.type]||{scales:{}},n=t.scales||{},r=tr(e.type,t),i=Object.create(null);return Object.keys(n).forEach((t=>{const a=n[t];if(!F(a))return console.error(`Invalid scale configuration for scale: ${t}`);if(a._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${t}`);const s=nr(t,a,function(e,t){if(t.data&&t.data.datasets){const o=t.data.datasets.filter((t=>t.xAxisID===e||t.yAxisID===e));if(o.length)return rr(e,"x",o[0])||rr(e,"y",o[0])}return{}}(t,e),st.scales[a.type]),l=function(e,t){return e===t?"_index_":"_value_"}(s,r),c=o.scales||{};i[t]=K(Object.create(null),[{axis:s},a,c[s],c[l]])})),e.data.datasets.forEach((o=>{const r=o.type||e.type,a=o.indexAxis||tr(r,t),s=(ot[r]||{}).scales||{};Object.keys(s).forEach((e=>{const t=function(e,t){let o=e;return"_index_"===e?o=t:"_value_"===e&&(o="x"===t?"y":"x"),o}(e,a),r=o[t+"AxisID"]||t;i[r]=i[r]||Object.create(null),K(i[r],[{axis:t},n[r],s[e]])}))})),Object.keys(i).forEach((e=>{const t=i[e];K(t,[st.scales[t.type],st.scale])})),i}(e,t)}function ar(e){return(e=e||{}).datasets=e.datasets||[],e.labels=e.labels||[],e}const sr=new Map,lr=new Set;function cr(e,t){let o=sr.get(e);return o||(o=t(),sr.set(e,o),lr.add(o)),o}const pr=(e,t,o)=>{const n=oe(t,o);void 0!==n&&e.add(n)};class ur{constructor(e){this._config=function(e){return(e=e||{}).data=ar(e.data),ir(e),e}(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=ar(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){const e=this._config;this.clearCache(),ir(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return cr(e,(()=>[[`datasets.${e}`,""]]))}datasetAnimationScopeKeys(e,t){return cr(`${e}.transition.${t}`,(()=>[[`datasets.${e}.transitions.${t}`,`transitions.${t}`],[`datasets.${e}`,""]]))}datasetElementScopeKeys(e,t){return cr(`${e}-${t}`,(()=>[[`datasets.${e}.elements.${t}`,`datasets.${e}`,`elements.${t}`,""]]))}pluginScopeKeys(e){const t=e.id;return cr(`${this.type}-plugin-${t}`,(()=>[[`plugins.${t}`,...e.additionalOptionScopes||[]]]))}_cachedScopes(e,t){const o=this._scopeCache;let n=o.get(e);return n&&!t||(n=new Map,o.set(e,n)),n}getOptionScopes(e,t,o){const{options:n,type:r}=this,i=this._cachedScopes(e,o),a=i.get(t);if(a)return a;const s=new Set;t.forEach((t=>{e&&(s.add(e),t.forEach((t=>pr(s,e,t)))),t.forEach((e=>pr(s,n,e))),t.forEach((e=>pr(s,ot[r]||{},e))),t.forEach((e=>pr(s,st,e))),t.forEach((e=>pr(s,nt,e)))}));const l=Array.from(s);return 0===l.length&&l.push(Object.create(null)),lr.has(t)&&i.set(t,l),l}chartOptionScopes(){const{options:e,type:t}=this;return[e,ot[t]||{},st.datasets[t]||{},{type:t},st,nt]}resolveNamedOptions(e,t,o,n=[""]){const r={$shared:!0},{resolver:i,subPrefixes:a}=dr(this._resolverCache,e,n);let s=i;(function(e,t){const{isScriptable:o,isIndexable:n}=Ht(e);for(const r of t){const t=o(r),i=n(r),a=(i||t)&&e[r];if(t&&(ie(a)||yr(a))||i&&z(a))return!0}return!1})(i,t)&&(r.$shared=!1,s=At(i,o=ie(o)?o():o,this.createResolver(e,o,a)));for(const e of t)r[e]=s[e];return r}createResolver(e,t,o=[""],n){const{resolver:r}=dr(this._resolverCache,e,o);return F(t)?At(r,t,void 0,n):r}}function dr(e,t,o){let n=e.get(t);n||(n=new Map,e.set(t,n));const r=o.join();let i=n.get(r);return i||(i={resolver:Bt(t,o),subPrefixes:o.filter((e=>!e.toLowerCase().includes("hover")))},n.set(r,i)),i}const yr=e=>F(e)&&Object.getOwnPropertyNames(e).some((t=>ie(e[t]))),gr=["top","bottom","left","right","chartArea"];function mr(e,t){return"top"===e||"bottom"===e||-1===gr.indexOf(e)&&"x"===t}function vr(e,t){return function(o,n){return o[e]===n[e]?o[t]-n[t]:o[e]-n[e]}}function hr(e){const t=e.chart,o=t.options.animation;t.notifyPlugins("afterRender"),q(o&&o.onComplete,[e],t)}function br(e){const t=e.chart,o=t.options.animation;q(o&&o.onProgress,[e],t)}function fr(e){return Kt()&&"string"==typeof e?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const xr={},wr=e=>{const t=fr(e);return Object.values(xr).filter((e=>e.canvas===t)).pop()};function Sr(e,t,o){const n=Object.keys(e);for(const r of n){const n=+r;if(n>=t){const i=e[r];delete e[r],(o>0||n>t)&&(e[n+o]=i)}}}class _r{static defaults=st;static instances=xr;static overrides=ot;static registry=Qn;static version="4.4.9";static getChart=wr;static register(...e){Qn.add(...e),jr()}static unregister(...e){Qn.remove(...e),jr()}constructor(e,t){const o=this.config=new ur(t),n=fr(e),r=wr(n);if(r)throw new Error("Canvas is already in use. Chart with ID '"+r.id+"' must be destroyed before the canvas with ID '"+r.canvas.id+"' can be reused.");const i=o.createResolver(o.chartOptionScopes(),this.getContext());this.platform=new(o.platform||function(e){return!Kt()||"undefined"!=typeof OffscreenCanvas&&e instanceof OffscreenCanvas?_n:Mn}(n)),this.platform.updateConfig(o);const a=this.platform.acquireContext(n,i.aspectRatio),s=a&&a.canvas,l=s&&s.height,c=s&&s.width;this.id=M(),this.ctx=a,this.canvas=s,this.width=c,this.height=l,this._options=i,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new Zn,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=function(e,t){let o;return function(...n){return t?(clearTimeout(o),o=setTimeout(e,t,n)):e.apply(this,n),t}}((e=>this.update(e)),i.resizeDelay||0),this._dataChanges=[],xr[this.id]=this,a&&s?(Oo.listen(this,"complete",hr),Oo.listen(this,"progress",br),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:t},width:o,height:n,_aspectRatio:r}=this;return L(e)?t&&r?r:n?o/n:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}get registry(){return Qn}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():so(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return ut(this.canvas,this.ctx),this}stop(){return Oo.stop(this),this}resize(e,t){Oo.running(this)?this._resizeBeforeDraw={width:e,height:t}:this._resize(e,t)}_resize(e,t){const o=this.options,n=this.canvas,r=o.maintainAspectRatio&&this.aspectRatio,i=this.platform.getMaximumSize(n,e,t,r),a=o.devicePixelRatio||this.platform.getDevicePixelRatio(),s=this.width?"resize":"attach";this.width=i.width,this.height=i.height,this._aspectRatio=this.aspectRatio,so(this,a,!0)&&(this.notifyPlugins("resize",{size:i}),q(o.onResize,[this,i],this),this.attached&&this._doResize(s)&&this.render())}ensureScalesHaveIDs(){$(this.options.scales||{},((e,t)=>{e.id=t}))}buildOrUpdateScales(){const e=this.options,t=e.scales,o=this.scales,n=Object.keys(o).reduce(((e,t)=>(e[t]=!1,e)),{});let r=[];t&&(r=r.concat(Object.keys(t).map((e=>{const o=t[e],n=nr(e,o),r="r"===n,i="x"===n;return{options:o,dposition:r?"chartArea":i?"bottom":"left",dtype:r?"radialLinear":i?"category":"linear"}})))),$(r,(t=>{const r=t.options,i=r.id,a=nr(i,r),s=G(r.type,t.dtype);void 0!==r.position&&mr(r.position,a)===mr(t.dposition)||(r.position=t.dposition),n[i]=!0;let l=null;i in o&&o[i].type===s?l=o[i]:(l=new(Qn.getScale(s))({id:i,type:s,ctx:this.ctx,chart:this}),o[l.id]=l),l.init(r,e)})),$(n,((e,t)=>{e||delete o[t]})),$(o,(e=>{wn.configure(this,e,e.options),wn.addBox(this,e)}))}_updateMetasets(){const e=this._metasets,t=this.data.datasets.length,o=e.length;if(e.sort(((e,t)=>e.index-t.index)),o>t){for(let e=t;e<o;++e)this._destroyDatasetMeta(e);e.splice(t,o-t)}this._sortedMetasets=e.slice(0).sort(vr("order","index"))}_removeUnreferencedMetasets(){const{_metasets:e,data:{datasets:t}}=this;e.length>t.length&&delete this._stacks,e.forEach(((e,o)=>{0===t.filter((t=>t===e._dataset)).length&&this._destroyDatasetMeta(o)}))}buildOrUpdateControllers(){const e=[],t=this.data.datasets;let o,n;for(this._removeUnreferencedMetasets(),o=0,n=t.length;o<n;o++){const n=t[o];let r=this.getDatasetMeta(o);const i=n.type||this.config.type;if(r.type&&r.type!==i&&(this._destroyDatasetMeta(o),r=this.getDatasetMeta(o)),r.type=i,r.indexAxis=n.indexAxis||tr(i,this.options),r.order=n.order||0,r.index=o,r.label=""+n.label,r.visible=this.isDatasetVisible(o),r.controller)r.controller.updateIndex(o),r.controller.linkScales();else{const t=Qn.getController(i),{datasetElementType:n,dataElementType:a}=st.datasets[i];Object.assign(t,{dataElementType:Qn.getElement(a),datasetElementType:n&&Qn.getElement(n)}),r.controller=new t(this,o),e.push(r.controller)}}return this._updateMetasets(),e}_resetElements(){$(this.data.datasets,((e,t)=>{this.getDatasetMeta(t).controller.reset()}),this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const t=this.config;t.update();const o=this._options=t.createResolver(t.chartOptionScopes(),this.getContext()),n=this._animationsDisabled=!o.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0}))return;const r=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let i=0;for(let e=0,t=this.data.datasets.length;e<t;e++){const{controller:t}=this.getDatasetMeta(e),o=!n&&-1===r.indexOf(t);t.buildOrUpdateElements(o),i=Math.max(+t.getMaxOverflow(),i)}i=this._minPadding=o.layout.autoPadding?i:0,this._updateLayout(i),n||$(r,(e=>{e.reset()})),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(vr("z","_idx"));const{_active:a,_lastEvent:s}=this;s?this._eventHandler(s,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){$(this.scales,(e=>{wn.removeBox(this,e)})),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,t=new Set(Object.keys(this._listeners)),o=new Set(e.events);ae(t,o)&&!!this._responsiveListeners===e.responsive||(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,t=this._getUniformDataChanges()||[];for(const{method:o,start:n,count:r}of t)Sr(e,n,"_removeElements"===o?-r:r)}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const t=this.data.datasets.length,o=t=>new Set(e.filter((e=>e[0]===t)).map(((e,t)=>t+","+e.splice(1).join(",")))),n=o(0);for(let e=1;e<t;e++)if(!ae(n,o(e)))return;return Array.from(n).map((e=>e.split(","))).map((e=>({method:e[1],start:+e[2],count:+e[3]})))}_updateLayout(e){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;wn.update(this,this.width,this.height,e);const t=this.chartArea,o=t.width<=0||t.height<=0;this._layers=[],$(this.boxes,(e=>{o&&"chartArea"===e.position||(e.configure&&e.configure(),this._layers.push(...e._layers()))}),this),this._layers.forEach(((e,t)=>{e._idx=t})),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})){for(let e=0,t=this.data.datasets.length;e<t;++e)this.getDatasetMeta(e).controller.configure();for(let t=0,o=this.data.datasets.length;t<o;++t)this._updateDataset(t,ie(e)?e({datasetIndex:t}):e);this.notifyPlugins("afterDatasetsUpdate",{mode:e})}}_updateDataset(e,t){const o=this.getDatasetMeta(e),n={meta:o,index:e,mode:t,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetUpdate",n)&&(o.controller._update(t),n.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",n))}render(){!1!==this.notifyPlugins("beforeRender",{cancelable:!0})&&(Oo.has(this)?this.attached&&!Oo.running(this)&&Oo.start(this):(this.draw(),hr({chart:this})))}draw(){let e;if(this._resizeBeforeDraw){const{width:e,height:t}=this._resizeBeforeDraw;this._resizeBeforeDraw=null,this._resize(e,t)}if(this.clear(),this.width<=0||this.height<=0)return;if(!1===this.notifyPlugins("beforeDraw",{cancelable:!0}))return;const t=this._layers;for(e=0;e<t.length&&t[e].z<=0;++e)t[e].draw(this.chartArea);for(this._drawDatasets();e<t.length;++e)t[e].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(e){const t=this._sortedMetasets,o=[];let n,r;for(n=0,r=t.length;n<r;++n){const r=t[n];e&&!r.visible||o.push(r)}return o}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(!1===this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0}))return;const e=this.getSortedVisibleDatasetMetas();for(let t=e.length-1;t>=0;--t)this._drawDataset(e[t]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const t=this.ctx,o={meta:e,index:e.index,cancelable:!0},n=jo(this,e);!1!==this.notifyPlugins("beforeDatasetDraw",o)&&(n&&mt(t,n),e.controller.draw(),n&&vt(t),o.cancelable=!1,this.notifyPlugins("afterDatasetDraw",o))}isPointInArea(e){return gt(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,t,o,n){const r=cn.modes[t];return"function"==typeof r?r(this,e,o,n):[]}getDatasetMeta(e){const t=this.data.datasets[e],o=this._metasets;let n=o.filter((e=>e&&e._dataset===t)).pop();return n||(n={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t&&t.order||0,index:e,_dataset:t,_parsed:[],_sorted:!1},o.push(n)),n}getContext(){return this.$context||(this.$context=Dt(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const t=this.data.datasets[e];if(!t)return!1;const o=this.getDatasetMeta(e);return"boolean"==typeof o.hidden?!o.hidden:!t.hidden}setDatasetVisibility(e,t){this.getDatasetMeta(e).hidden=!t}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,t,o){const n=o?"show":"hide",r=this.getDatasetMeta(e),i=r.controller._resolveAnimations(void 0,n);re(t)?(r.data[t].hidden=!o,this.update()):(this.setDatasetVisibility(e,o),i.update(r,{visible:o}),this.update((t=>t.datasetIndex===e?n:void 0)))}hide(e,t){this._updateVisibility(e,t,!1)}show(e,t){this._updateVisibility(e,t,!0)}_destroyDatasetMeta(e){const t=this._metasets[e];t&&t.controller&&t.controller._destroy(),delete this._metasets[e]}_stop(){let e,t;for(this.stop(),Oo.remove(this),e=0,t=this.data.datasets.length;e<t;++e)this._destroyDatasetMeta(e)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:e,ctx:t}=this;this._stop(),this.config.clearCache(),e&&(this.unbindEvents(),ut(e,t),this.platform.releaseContext(t),this.canvas=null,this.ctx=null),delete xr[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...e){return this.canvas.toDataURL(...e)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const e=this._listeners,t=this.platform,o=(o,n)=>{t.addEventListener(this,o,n),e[o]=n},n=(e,t,o)=>{e.offsetX=t,e.offsetY=o,this._eventHandler(e)};$(this.options.events,(e=>o(e,n)))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,t=this.platform,o=(o,n)=>{t.addEventListener(this,o,n),e[o]=n},n=(o,n)=>{e[o]&&(t.removeEventListener(this,o,n),delete e[o])},r=(e,t)=>{this.canvas&&this.resize(e,t)};let i;const a=()=>{n("attach",a),this.attached=!0,this.resize(),o("resize",r),o("detach",i)};i=()=>{this.attached=!1,n("resize",r),this._stop(),this._resize(0,0),o("attach",a)},t.isAttached(this.canvas)?a():i()}unbindEvents(){$(this._listeners,((e,t)=>{this.platform.removeEventListener(this,t,e)})),this._listeners={},$(this._responsiveListeners,((e,t)=>{this.platform.removeEventListener(this,t,e)})),this._responsiveListeners=void 0}updateHoverStyle(e,t,o){const n=o?"set":"remove";let r,i,a,s;for("dataset"===t&&(r=this.getDatasetMeta(e[0].datasetIndex),r.controller["_"+n+"DatasetHoverStyle"]()),a=0,s=e.length;a<s;++a){i=e[a];const t=i&&this.getDatasetMeta(i.datasetIndex).controller;t&&t[n+"HoverStyle"](i.element,i.datasetIndex,i.index)}}getActiveElements(){return this._active||[]}setActiveElements(e){const t=this._active||[],o=e.map((({datasetIndex:e,index:t})=>{const o=this.getDatasetMeta(e);if(!o)throw new Error("No dataset found at index "+e);return{datasetIndex:e,element:o.data[t],index:t}}));!Y(o,t)&&(this._active=o,this._lastEvent=null,this._updateHoverStyles(o,t))}notifyPlugins(e,t,o){return this._plugins.notify(this,e,t,o)}isPluginEnabled(e){return 1===this._plugins._cache.filter((t=>t.plugin.id===e)).length}_updateHoverStyles(e,t,o){const n=this.options.hover,r=(e,t)=>e.filter((e=>!t.some((t=>e.datasetIndex===t.datasetIndex&&e.index===t.index)))),i=r(t,e),a=o?e:r(e,t);i.length&&this.updateHoverStyle(i,n.mode,!1),a.length&&n.mode&&this.updateHoverStyle(a,n.mode,!0)}_eventHandler(e,t){const o={event:e,replay:t,cancelable:!0,inChartArea:this.isPointInArea(e)},n=t=>(t.options.events||this.options.events).includes(e.native.type);if(!1===this.notifyPlugins("beforeEvent",o,n))return;const r=this._handleEvent(e,t,o.inChartArea);return o.cancelable=!1,this.notifyPlugins("afterEvent",o,n),(r||o.changed)&&this.render(),this}_handleEvent(e,t,o){const{_active:n=[],options:r}=this,i=t,a=this._getActiveElements(e,n,o,i),s=function(e){return"mouseup"===e.type||"click"===e.type||"contextmenu"===e.type}(e),l=function(e,t,o,n){return o&&"mouseout"!==e.type?n?t:e:null}(e,this._lastEvent,o,s);o&&(this._lastEvent=null,q(r.onHover,[e,a,this],this),s&&q(r.onClick,[e,a,this],this));const c=!Y(a,n);return(c||t)&&(this._active=a,this._updateHoverStyles(a,n,t)),this._lastEvent=l,c}_getActiveElements(e,t,o,n){if("mouseout"===e.type)return[];if(!o)return t;const r=this.options.hover;return this.getElementsAtEventForMode(e,r.mode,r,n)}}function jr(){return $(_r.instances,(e=>e._plugins.invalidate()))}function Tr(e,t,o,n){return{x:o+e*Math.cos(t),y:n+e*Math.sin(t)}}function Or(e,t,o,n,r,i){const{x:a,y:s,startAngle:l,pixelMargin:c,innerRadius:p}=t,u=Math.max(t.outerRadius+n+o-c,0),d=p>0?p+n+o+c:0;let y=0;const g=r-l;if(n){const e=((p>0?p-n:0)+(u>0?u-n:0))/2;y=(g-(0!==e?g*e/(e+n):g))/2}const m=(g-Math.max(.001,g*u-o/se)/u)/2,v=l+m+y,h=r-m-y,{outerStart:b,outerEnd:f,innerStart:x,innerEnd:w}=function(e,t,o,n){const r=Ot(e.options.borderRadius,["outerStart","outerEnd","innerStart","innerEnd"]),i=(o-t)/2,a=Math.min(i,n*t/2),s=e=>{const t=(o-Math.min(i,e))*n/2;return Pe(e,0,Math.min(i,t))};return{outerStart:s(r.outerStart),outerEnd:s(r.outerEnd),innerStart:Pe(r.innerStart,0,a),innerEnd:Pe(r.innerEnd,0,a)}}(t,d,u,h-v),S=u-b,_=u-f,j=v+b/S,T=h-f/_,O=d+x,C=d+w,k=v+x/O,P=h-w/C;if(e.beginPath(),i){const t=(j+T)/2;if(e.arc(a,s,u,j,t),e.arc(a,s,u,t,T),f>0){const t=Tr(_,T,a,s);e.arc(t.x,t.y,f,T,h+de)}const o=Tr(C,h,a,s);if(e.lineTo(o.x,o.y),w>0){const t=Tr(C,P,a,s);e.arc(t.x,t.y,w,h+de,P+Math.PI)}const n=(h-w/d+(v+x/d))/2;if(e.arc(a,s,d,h-w/d,n,!0),e.arc(a,s,d,n,v+x/d,!0),x>0){const t=Tr(O,k,a,s);e.arc(t.x,t.y,x,k+Math.PI,v-de)}const r=Tr(S,v,a,s);if(e.lineTo(r.x,r.y),b>0){const t=Tr(S,j,a,s);e.arc(t.x,t.y,b,v-de,j)}}else{e.moveTo(a,s);const t=Math.cos(j)*u+a,o=Math.sin(j)*u+s;e.lineTo(t,o);const n=Math.cos(T)*u+a,r=Math.sin(T)*u+s;e.lineTo(n,r)}e.closePath()}function Cr(e,t,o=t){e.lineCap=G(o.borderCapStyle,t.borderCapStyle),e.setLineDash(G(o.borderDash,t.borderDash)),e.lineDashOffset=G(o.borderDashOffset,t.borderDashOffset),e.lineJoin=G(o.borderJoinStyle,t.borderJoinStyle),e.lineWidth=G(o.borderWidth,t.borderWidth),e.strokeStyle=G(o.borderColor,t.borderColor)}function kr(e,t,o){e.lineTo(o.x,o.y)}function Pr(e,t,o={}){const n=e.length,{start:r=0,end:i=n-1}=o,{start:a,end:s}=t,l=Math.max(r,a),c=Math.min(i,s),p=r<a&&i<a||r>s&&i>s;return{count:n,start:l,loop:t.loop,ilen:c<l&&!p?n+c-l:c-l}}function Nr(e,t,o,n){const{points:r,options:i}=t,{count:a,start:s,loop:l,ilen:c}=Pr(r,o,n),p=function(e){return e.stepped?ht:e.tension||"monotone"===e.cubicInterpolationMode?bt:kr}(i);let u,d,y,{move:g=!0,reverse:m}=n||{};for(u=0;u<=c;++u)d=r[(s+(m?c-u:u))%a],d.skip||(g?(e.moveTo(d.x,d.y),g=!1):p(e,y,d,m,i.stepped),y=d);return l&&(d=r[(s+(m?c:0))%a],p(e,y,d,m,i.stepped)),!!l}function Er(e,t,o,n){const r=t.points,{count:i,start:a,ilen:s}=Pr(r,o,n),{move:l=!0,reverse:c}=n||{};let p,u,d,y,g,m,v=0,h=0;const b=e=>(a+(c?s-e:e))%i,f=()=>{y!==g&&(e.lineTo(v,g),e.lineTo(v,y),e.lineTo(v,m))};for(l&&(u=r[b(0)],e.moveTo(u.x,u.y)),p=0;p<=s;++p){if(u=r[b(p)],u.skip)continue;const t=u.x,o=u.y,n=0|t;n===d?(o<y?y=o:o>g&&(g=o),v=(h*v+t)/++h):(f(),e.lineTo(t,o),d=n,h=0,y=g=o),m=o}f()}function Dr(e){const t=e.options,o=t.borderDash&&t.borderDash.length;return e._decimated||e._loop||t.tension||"monotone"===t.cubicInterpolationMode||t.stepped||o?Nr:Er}const Br="function"==typeof Path2D;class Ar extends Ln{static id="line";static defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};static descriptors={_scriptable:!0,_indexable:e=>"borderDash"!==e&&"fill"!==e};constructor(e){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,e&&Object.assign(this,e)}updateControlPoints(e,t){const o=this.options;if((o.tension||"monotone"===o.cubicInterpolationMode)&&!o.stepped&&!this._pointsUpdated){const n=o.spanGaps?this._loop:this._fullLoop;Zt(this._points,o,e,n,t),this._pointsUpdated=!0}}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=function(e,t){const o=e.points,n=e.options.spanGaps,r=o.length;if(!r)return[];const i=!!e._loop,{start:a,end:s}=function(e,t,o,n){let r=0,i=t-1;if(o&&!n)for(;r<t&&!e[r].skip;)r++;for(;r<t&&e[r].skip;)r++;for(r%=t,o&&(i+=r);i>r&&e[i%t].skip;)i--;return i%=t,{start:r,end:i}}(o,r,i,n);return function(e,t,o,n){return n&&n.setContext&&o?function(e,t,o,n){const r=e._chart.getContext(),i=wo(e.options),{_datasetIndex:a,options:{spanGaps:s}}=e,l=o.length,c=[];let p=i,u=t[0].start,d=u;function y(e,t,n,r){const i=s?-1:1;if(e!==t){for(e+=l;o[e%l].skip;)e-=i;for(;o[t%l].skip;)t+=i;e%l!==t%l&&(c.push({start:e%l,end:t%l,loop:n,style:r}),p=r,u=t%l)}}for(const e of t){u=s?u:e.start;let t,i=o[u%l];for(d=u+1;d<=e.end;d++){const s=o[d%l];t=wo(n.setContext(Dt(r,{type:"segment",p0:i,p1:s,p0DataIndex:(d-1)%l,p1DataIndex:d%l,datasetIndex:a}))),So(t,p)&&y(u,d-1,e.loop,p),i=s,p=t}u<d-1&&y(u,d-1,e.loop,p)}return c}(e,t,o,n):t}(e,!0===n?[{start:a,end:s,loop:i}]:function(e,t,o,n){const r=e.length,i=[];let a,s=t,l=e[t];for(a=t+1;a<=o;++a){const o=e[a%r];o.skip||o.stop?l.skip||(n=!1,i.push({start:t%r,end:(a-1)%r,loop:n}),t=s=o.stop?a:null):(s=a,l.skip&&(t=a)),l=o}return null!==s&&i.push({start:t%r,end:s%r,loop:n}),i}(o,a,s<a?s+r:s,!!e._fullLoop&&0===a&&s===r-1),o,t)}(this,this.options.segment))}first(){const e=this.segments,t=this.points;return e.length&&t[e[0].start]}last(){const e=this.segments,t=this.points,o=e.length;return o&&t[e[o-1].end]}interpolate(e,t){const o=this.options,n=e[t],r=this.points,i=xo(this,{property:t,start:n,end:n});if(!i.length)return;const a=[],s=function(e){return e.stepped?uo:e.tension||"monotone"===e.cubicInterpolationMode?yo:po}(o);let l,c;for(l=0,c=i.length;l<c;++l){const{start:c,end:p}=i[l],u=r[c],d=r[p];if(u===d){a.push(u);continue}const y=s(u,d,Math.abs((n-u[t])/(d[t]-u[t])),o.stepped);y[t]=e[t],a.push(y)}return 1===a.length?a[0]:a}pathSegment(e,t,o){return Dr(this)(e,this,t,o)}path(e,t,o){const n=this.segments,r=Dr(this);let i=this._loop;t=t||0,o=o||this.points.length-t;for(const a of n)i&=r(e,this,a,{start:t,end:t+o-1});return!!i}draw(e,t,o,n){const r=this.options||{};(this.points||[]).length&&r.borderWidth&&(e.save(),function(e,t,o,n){Br&&!t.options.segment?function(e,t,o,n){let r=t._path;r||(r=t._path=new Path2D,t.path(r,o,n)&&r.closePath()),Cr(e,t.options),e.stroke(r)}(e,t,o,n):function(e,t,o,n){const{segments:r,options:i}=t,a=Dr(t);for(const s of r)Cr(e,i,s.style),e.beginPath(),a(e,t,s,{start:o,end:o+n-1})&&e.closePath(),e.stroke()}(e,t,o,n)}(e,this,o,n),e.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}function Hr(e,t,o,n){const r=e.options,{[o]:i}=e.getProps([o],n);return Math.abs(t-i)<r.radius+r.hitRadius}function Rr(e,t){const{x:o,y:n,base:r,width:i,height:a}=e.getProps(["x","y","base","width","height"],t);let s,l,c,p,u;return e.horizontal?(u=a/2,s=Math.min(o,r),l=Math.max(o,r),c=n-u,p=n+u):(u=i/2,s=o-u,l=o+u,c=Math.min(n,r),p=Math.max(n,r)),{left:s,top:c,right:l,bottom:p}}function Ir(e,t,o,n){return e?0:Pe(t,o,n)}function Mr(e,t,o,n){const r=null===t,i=null===o,a=e&&!(r&&i)&&Rr(e,n);return a&&(r||Ne(t,a.left,a.right))&&(i||Ne(o,a.top,a.bottom))}function Lr(e,t){e.rect(t.x,t.y,t.w,t.h)}function zr(e,t,o={}){const n=e.x!==o.x?-t:0,r=e.y!==o.y?-t:0,i=(e.x+e.w!==o.x+o.w?t:0)-n,a=(e.y+e.h!==o.y+o.h?t:0)-r;return{x:e.x+n,y:e.y+r,w:e.w+i,h:e.h+a,radius:e.radius}}var Fr=Object.freeze({__proto__:null,ArcElement:class extends Ln{static id="arc";static defaults={borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0};static defaultRoutes={backgroundColor:"backgroundColor"};static descriptors={_scriptable:!0,_indexable:e=>"borderDash"!==e};circumference;endAngle;fullCircles;innerRadius;outerRadius;pixelMargin;startAngle;constructor(e){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,e&&Object.assign(this,e)}inRange(e,t,o){const n=this.getProps(["x","y"],o),{angle:r,distance:i}=je(n,{x:e,y:t}),{startAngle:a,endAngle:s,innerRadius:l,outerRadius:c,circumference:p}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],o),u=(this.options.spacing+this.options.borderWidth)/2,d=G(p,s-a),y=ke(r,a,s)&&a!==s,g=d>=le||y,m=Ne(i,l+u,c+u);return g&&m}getCenterPoint(e){const{x:t,y:o,startAngle:n,endAngle:r,innerRadius:i,outerRadius:a}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],e),{offset:s,spacing:l}=this.options,c=(n+r)/2,p=(i+a+l+s)/2;return{x:t+Math.cos(c)*p,y:o+Math.sin(c)*p}}tooltipPosition(e){return this.getCenterPoint(e)}draw(e){const{options:t,circumference:o}=this,n=(t.offset||0)/4,r=(t.spacing||0)/2,i=t.circular;if(this.pixelMargin="inner"===t.borderAlign?.33:0,this.fullCircles=o>le?Math.floor(o/le):0,0===o||this.innerRadius<0||this.outerRadius<0)return;e.save();const a=(this.startAngle+this.endAngle)/2;e.translate(Math.cos(a)*n,Math.sin(a)*n);const s=n*(1-Math.sin(Math.min(se,o||0)));e.fillStyle=t.backgroundColor,e.strokeStyle=t.borderColor,function(e,t,o,n,r){const{fullCircles:i,startAngle:a,circumference:s}=t;let l=t.endAngle;if(i){Or(e,t,o,n,l,r);for(let t=0;t<i;++t)e.fill();isNaN(s)||(l=a+(s%le||le))}Or(e,t,o,n,l,r),e.fill()}(e,this,s,r,i),function(e,t,o,n,r){const{fullCircles:i,startAngle:a,circumference:s,options:l}=t,{borderWidth:c,borderJoinStyle:p,borderDash:u,borderDashOffset:d}=l,y="inner"===l.borderAlign;if(!c)return;e.setLineDash(u||[]),e.lineDashOffset=d,y?(e.lineWidth=2*c,e.lineJoin=p||"round"):(e.lineWidth=c,e.lineJoin=p||"bevel");let g=t.endAngle;if(i){Or(e,t,o,n,g,r);for(let t=0;t<i;++t)e.stroke();isNaN(s)||(g=a+(s%le||le))}y&&function(e,t,o){const{startAngle:n,pixelMargin:r,x:i,y:a,outerRadius:s,innerRadius:l}=t;let c=r/s;e.beginPath(),e.arc(i,a,s,n-c,o+c),l>r?(c=r/l,e.arc(i,a,l,o+c,n-c,!0)):e.arc(i,a,r,o+de,n-de),e.closePath(),e.clip()}(e,t,g),i||(Or(e,t,o,n,g,r),e.stroke())}(e,this,s,r,i),e.restore()}},BarElement:class extends Ln{static id="bar";static defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(e){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,e&&Object.assign(this,e)}draw(e){const{inflateAmount:t,options:{borderColor:o,backgroundColor:n}}=this,{inner:r,outer:i}=function(e){const t=Rr(e),o=t.right-t.left,n=t.bottom-t.top,r=function(e,t,o){const n=e.options.borderWidth,r=e.borderSkipped,i=Ct(n);return{t:Ir(r.top,i.top,0,o),r:Ir(r.right,i.right,0,t),b:Ir(r.bottom,i.bottom,0,o),l:Ir(r.left,i.left,0,t)}}(e,o/2,n/2),i=function(e,t,o){const{enableBorderRadius:n}=e.getProps(["enableBorderRadius"]),r=e.options.borderRadius,i=kt(r),a=Math.min(t,o),s=e.borderSkipped,l=n||F(r);return{topLeft:Ir(!l||s.top||s.left,i.topLeft,0,a),topRight:Ir(!l||s.top||s.right,i.topRight,0,a),bottomLeft:Ir(!l||s.bottom||s.left,i.bottomLeft,0,a),bottomRight:Ir(!l||s.bottom||s.right,i.bottomRight,0,a)}}(e,o/2,n/2);return{outer:{x:t.left,y:t.top,w:o,h:n,radius:i},inner:{x:t.left+r.l,y:t.top+r.t,w:o-r.l-r.r,h:n-r.t-r.b,radius:{topLeft:Math.max(0,i.topLeft-Math.max(r.t,r.l)),topRight:Math.max(0,i.topRight-Math.max(r.t,r.r)),bottomLeft:Math.max(0,i.bottomLeft-Math.max(r.b,r.l)),bottomRight:Math.max(0,i.bottomRight-Math.max(r.b,r.r))}}}}(this),a=(s=i.radius).topLeft||s.topRight||s.bottomLeft||s.bottomRight?St:Lr;var s;e.save(),i.w===r.w&&i.h===r.h||(e.beginPath(),a(e,zr(i,t,r)),e.clip(),a(e,zr(r,-t,i)),e.fillStyle=o,e.fill("evenodd")),e.beginPath(),a(e,zr(r,t)),e.fillStyle=n,e.fill(),e.restore()}inRange(e,t,o){return Mr(this,e,t,o)}inXRange(e,t){return Mr(this,e,null,t)}inYRange(e,t){return Mr(this,null,e,t)}getCenterPoint(e){const{x:t,y:o,base:n,horizontal:r}=this.getProps(["x","y","base","horizontal"],e);return{x:r?(t+n)/2:t,y:r?o:(o+n)/2}}getRange(e){return"x"===e?this.width/2:this.height/2}},LineElement:Ar,PointElement:class extends Ln{static id="point";parsed;skip;stop;static defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(e){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,e&&Object.assign(this,e)}inRange(e,t,o){const n=this.options,{x:r,y:i}=this.getProps(["x","y"],o);return Math.pow(e-r,2)+Math.pow(t-i,2)<Math.pow(n.hitRadius+n.radius,2)}inXRange(e,t){return Hr(this,e,"x",t)}inYRange(e,t){return Hr(this,e,"y",t)}getCenterPoint(e){const{x:t,y:o}=this.getProps(["x","y"],e);return{x:t,y:o}}size(e){let t=(e=e||this.options||{}).radius||0;return t=Math.max(t,t&&e.hoverRadius||0),2*(t+(t&&e.borderWidth||0))}draw(e,t){const o=this.options;this.skip||o.radius<.1||!gt(this,t,this.size(o)/2)||(e.strokeStyle=o.borderColor,e.lineWidth=o.borderWidth,e.fillStyle=o.backgroundColor,dt(e,o,this.x,this.y))}getRange(){const e=this.options||{};return e.radius+e.hitRadius}}});const Vr=["rgb(54, 162, 235)","rgb(255, 99, 132)","rgb(255, 159, 64)","rgb(255, 205, 86)","rgb(75, 192, 192)","rgb(153, 102, 255)","rgb(201, 203, 207)"],Wr=Vr.map((e=>e.replace("rgb(","rgba(").replace(")",", 0.5)")));function Gr(e){return Vr[e%Vr.length]}function Ur(e){return Wr[e%Wr.length]}function qr(e){let t;for(t in e)if(e[t].borderColor||e[t].backgroundColor)return!0;return!1}var $r={id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(e,t,o){if(!o.enabled)return;const{data:{datasets:n},options:r}=e.config,{elements:i}=r,a=qr(n)||(s=r)&&(s.borderColor||s.backgroundColor)||i&&qr(i)||"rgba(0,0,0,0.1)"!==st.borderColor||"rgba(0,0,0,0.1)"!==st.backgroundColor;var s;if(!o.forceOverride&&a)return;const l=function(e){let t=0;return(o,n)=>{const r=e.getDatasetMeta(n).controller;r instanceof Qo?t=function(e,t){return e.backgroundColor=e.data.map((()=>Gr(t++))),t}(o,t):r instanceof Zo?t=function(e,t){return e.backgroundColor=e.data.map((()=>Ur(t++))),t}(o,t):r&&(t=function(e,t){return e.borderColor=Gr(t),e.backgroundColor=Ur(t),++t}(o,t))}}(e);n.forEach(l)}};function Yr(e){if(e._decimated){const t=e._data;delete e._decimated,delete e._data,Object.defineProperty(e,"data",{configurable:!0,enumerable:!0,writable:!0,value:t})}}function Xr(e){e.data.datasets.forEach((e=>{Yr(e)}))}var Jr={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(e,t,o)=>{if(!o.enabled)return void Xr(e);const n=e.width;e.data.datasets.forEach(((t,r)=>{const{_data:i,indexAxis:a}=t,s=e.getDatasetMeta(r),l=i||t.data;if("y"===Et([a,e.options.indexAxis]))return;if(!s.controller.supportsDecimation)return;const c=e.scales[s.xAxisID];if("linear"!==c.type&&"time"!==c.type)return;if(e.options.parsing)return;let p,{start:u,count:d}=function(e,t){const o=t.length;let n,r=0;const{iScale:i}=e,{min:a,max:s,minDefined:l,maxDefined:c}=i.getUserBounds();return l&&(r=Pe(De(t,i.axis,a).lo,0,o-1)),n=c?Pe(De(t,i.axis,s).hi+1,r,o)-r:o-r,{start:r,count:n}}(s,l);if(d<=(o.threshold||4*n))Yr(t);else{switch(L(i)&&(t._data=l,delete t.data,Object.defineProperty(t,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(e){this._data=e}})),o.algorithm){case"lttb":p=function(e,t,o,n,r){const i=r.samples||n;if(i>=o)return e.slice(t,t+o);const a=[],s=(o-2)/(i-2);let l=0;const c=t+o-1;let p,u,d,y,g,m=t;for(a[l++]=e[m],p=0;p<i-2;p++){let n,r=0,i=0;const c=Math.floor((p+1)*s)+1+t,v=Math.min(Math.floor((p+2)*s)+1,o)+t,h=v-c;for(n=c;n<v;n++)r+=e[n].x,i+=e[n].y;r/=h,i/=h;const b=Math.floor(p*s)+1+t,f=Math.min(Math.floor((p+1)*s)+1,o)+t,{x,y:w}=e[m];for(d=y=-1,n=b;n<f;n++)y=.5*Math.abs((x-r)*(e[n].y-w)-(x-e[n].x)*(i-w)),y>d&&(d=y,u=e[n],g=n);a[l++]=u,m=g}return a[l++]=e[c],a}(l,u,d,n,o);break;case"min-max":p=function(e,t,o,n){let r,i,a,s,l,c,p,u,d,y,g=0,m=0;const v=[],h=t+o-1,b=e[t].x,f=e[h].x-b;for(r=t;r<t+o;++r){i=e[r],a=(i.x-b)/f*n,s=i.y;const t=0|a;if(t===l)s<d?(d=s,c=r):s>y&&(y=s,p=r),g=(m*g+i.x)/++m;else{const o=r-1;if(!L(c)&&!L(p)){const t=Math.min(c,p),n=Math.max(c,p);t!==u&&t!==o&&v.push({...e[t],x:g}),n!==u&&n!==o&&v.push({...e[n],x:g})}r>0&&o!==u&&v.push(e[o]),v.push(i),l=t,m=0,d=y=s,c=p=u=r}}return v}(l,u,d,n);break;default:throw new Error(`Unsupported decimation algorithm '${o.algorithm}'`)}t._decimated=p}}))},destroy(e){Xr(e)}};function Qr(e,t,o,n){if(n)return;let r=t[e],i=o[e];return"angle"===e&&(r=Ce(r),i=Ce(i)),{property:e,start:r,end:i}}function Zr(e,t,o){for(;t>e;t--){const e=o[t];if(!isNaN(e.x)&&!isNaN(e.y))break}return t}function Kr(e,t,o,n){return e&&t?n(e[o],t[o]):e?e[o]:t?t[o]:0}function ei(e,t){let o=[],n=!1;return z(e)?(n=!0,o=e):o=function(e,t){const{x:o=null,y:n=null}=e||{},r=t.points,i=[];return t.segments.forEach((({start:e,end:t})=>{t=Zr(e,t,r);const a=r[e],s=r[t];null!==n?(i.push({x:a.x,y:n}),i.push({x:s.x,y:n})):null!==o&&(i.push({x:o,y:a.y}),i.push({x:o,y:s.y}))})),i}(e,t),o.length?new Ar({points:o,options:{tension:0},_loop:n,_fullLoop:n}):null}function ti(e){return e&&!1!==e.fill}function oi(e,t,o){let n=e[t].fill;const r=[t];let i;if(!o)return n;for(;!1!==n&&-1===r.indexOf(n);){if(!V(n))return n;if(i=e[n],!i)return!1;if(i.visible)return n;r.push(n),n=i.fill}return!1}function ni(e,t,o){const n=function(e){const t=e.options,o=t.fill;let n=G(o&&o.target,o);return void 0===n&&(n=!!t.backgroundColor),!1!==n&&null!==n&&(!0===n?"origin":n)}(e);if(F(n))return!isNaN(n.value)&&n;let r=parseFloat(n);return V(r)&&Math.floor(r)===r?function(e,t,o,n){return"-"!==e&&"+"!==e||(o=t+o),!(o===t||o<0||o>=n)&&o}(n[0],t,r,o):["origin","start","end","stack","shape"].indexOf(n)>=0&&n}function ri(e,t,o){const n=[];for(let r=0;r<o.length;r++){const i=o[r],{first:a,last:s,point:l}=ii(i,t,"x");if(!(!l||a&&s))if(a)n.unshift(l);else if(e.push(l),!s)break}e.push(...n)}function ii(e,t,o){const n=e.interpolate(t,o);if(!n)return{};const r=n[o],i=e.segments,a=e.points;let s=!1,l=!1;for(let e=0;e<i.length;e++){const t=i[e],n=a[t.start][o],c=a[t.end][o];if(Ne(r,n,c)){s=r===n,l=r===c;break}}return{first:s,last:l,point:n}}class ai{constructor(e){this.x=e.x,this.y=e.y,this.radius=e.radius}pathSegment(e,t,o){const{x:n,y:r,radius:i}=this;return t=t||{start:0,end:le},e.arc(n,r,i,t.end,t.start,!0),!o.bounds}interpolate(e){const{x:t,y:o,radius:n}=this,r=e.angle;return{x:t+Math.cos(r)*n,y:o+Math.sin(r)*n,angle:r}}}function si(e,t,o){const n=function(e){const{chart:t,fill:o,line:n}=e;if(V(o))return function(e,t){const o=e.getDatasetMeta(t);return o&&e.isDatasetVisible(t)?o.dataset:null}(t,o);if("stack"===o)return function(e){const{scale:t,index:o,line:n}=e,r=[],i=n.segments,a=n.points,s=function(e,t){const o=[],n=e.getMatchingVisibleMetas("line");for(let e=0;e<n.length;e++){const r=n[e];if(r.index===t)break;r.hidden||o.unshift(r.dataset)}return o}(t,o);s.push(ei({x:null,y:t.bottom},n));for(let e=0;e<i.length;e++){const t=i[e];for(let e=t.start;e<=t.end;e++)ri(r,a[e],s)}return new Ar({points:r,options:{}})}(e);if("shape"===o)return!0;const r=function(e){return(e.scale||{}).getPointPositionForValue?function(e){const{scale:t,fill:o}=e,n=t.options,r=t.getLabels().length,i=n.reverse?t.max:t.min,a=function(e,t,o){let n;return n="start"===e?o:"end"===e?t.options.reverse?t.min:t.max:F(e)?e.value:t.getBaseValue(),n}(o,t,i),s=[];if(n.grid.circular){const e=t.getPointPositionForValue(0,i);return new ai({x:e.x,y:e.y,radius:t.getDistanceFromCenterForValue(a)})}for(let e=0;e<r;++e)s.push(t.getPointPositionForValue(e,a));return s}(e):function(e){const{scale:t={},fill:o}=e,n=function(e,t){let o=null;return"start"===e?o=t.bottom:"end"===e?o=t.top:F(e)?o=t.getPixelForValue(e.value):t.getBasePixel&&(o=t.getBasePixel()),o}(o,t);if(V(n)){const e=t.isHorizontal();return{x:e?n:null,y:e?null:n}}return null}(e)}(e);return r instanceof ai?r:ei(r,n)}(t),{chart:r,index:i,line:a,scale:s,axis:l}=t,c=a.options,p=c.fill,u=c.backgroundColor,{above:d=u,below:y=u}=p||{},g=r.getDatasetMeta(i),m=jo(r,g);n&&a.points.length&&(mt(e,o),function(e,t){const{line:o,target:n,above:r,below:i,area:a,scale:s,clip:l}=t,c=o._loop?"angle":t.axis;e.save(),"x"===c&&i!==r&&(li(e,n,a.top),ci(e,{line:o,target:n,color:r,scale:s,property:c,clip:l}),e.restore(),e.save(),li(e,n,a.bottom)),ci(e,{line:o,target:n,color:i,scale:s,property:c,clip:l}),e.restore()}(e,{line:a,target:n,above:d,below:y,area:o,scale:s,axis:l,clip:m}),vt(e))}function li(e,t,o){const{segments:n,points:r}=t;let i=!0,a=!1;e.beginPath();for(const s of n){const{start:n,end:l}=s,c=r[n],p=r[Zr(n,l,r)];i?(e.moveTo(c.x,c.y),i=!1):(e.lineTo(c.x,o),e.lineTo(c.x,c.y)),a=!!t.pathSegment(e,s,{move:a}),a?e.closePath():e.lineTo(p.x,o)}e.lineTo(t.first().x,o),e.closePath(),e.clip()}function ci(e,t){const{line:o,target:n,property:r,color:i,scale:a,clip:s}=t,l=function(e,t,o){const n=e.segments,r=e.points,i=t.points,a=[];for(const e of n){let{start:n,end:s}=e;s=Zr(n,s,r);const l=Qr(o,r[n],r[s],e.loop);if(!t.segments){a.push({source:e,target:l,start:r[n],end:r[s]});continue}const c=xo(t,l);for(const t of c){const n=Qr(o,i[t.start],i[t.end],t.loop),s=fo(e,r,n);for(const e of s)a.push({source:e,target:t,start:{[o]:Kr(l,n,"start",Math.max)},end:{[o]:Kr(l,n,"end",Math.min)}})}}return a}(o,n,r);for(const{source:t,target:c,start:p,end:u}of l){const{style:{backgroundColor:l=i}={}}=t,d=!0!==n;e.save(),e.fillStyle=l,pi(e,a,s,d&&Qr(r,p,u)),e.beginPath();const y=!!o.pathSegment(e,t);let g;if(d){y?e.closePath():ui(e,n,u,r);const t=!!n.pathSegment(e,c,{move:y,reverse:!0});g=y&&t,g||ui(e,n,p,r)}e.closePath(),e.fill(g?"evenodd":"nonzero"),e.restore()}}function pi(e,t,o,n){const r=t.chart.chartArea,{property:i,start:a,end:s}=n||{};if("x"===i||"y"===i){let t,n,l,c;"x"===i?(t=a,n=r.top,l=s,c=r.bottom):(t=r.left,n=a,l=r.right,c=s),e.beginPath(),o&&(t=Math.max(t,o.left),l=Math.min(l,o.right),n=Math.max(n,o.top),c=Math.min(c,o.bottom)),e.rect(t,n,l-t,c-n),e.clip()}}function ui(e,t,o,n){const r=t.interpolate(o,n);r&&e.lineTo(r.x,r.y)}var di={id:"filler",afterDatasetsUpdate(e,t,o){const n=(e.data.datasets||[]).length,r=[];let i,a,s,l;for(a=0;a<n;++a)i=e.getDatasetMeta(a),s=i.dataset,l=null,s&&s.options&&s instanceof Ar&&(l={visible:e.isDatasetVisible(a),index:a,fill:ni(s,a,n),chart:e,axis:i.controller.options.indexAxis,scale:i.vScale,line:s}),i.$filler=l,r.push(l);for(a=0;a<n;++a)l=r[a],l&&!1!==l.fill&&(l.fill=oi(r,a,o.propagate))},beforeDraw(e,t,o){const n="beforeDraw"===o.drawTime,r=e.getSortedVisibleDatasetMetas(),i=e.chartArea;for(let t=r.length-1;t>=0;--t){const o=r[t].$filler;o&&(o.line.updateControlPoints(i,o.axis),n&&o.fill&&si(e.ctx,o,i))}},beforeDatasetsDraw(e,t,o){if("beforeDatasetsDraw"!==o.drawTime)return;const n=e.getSortedVisibleDatasetMetas();for(let t=n.length-1;t>=0;--t){const o=n[t].$filler;ti(o)&&si(e.ctx,o,e.chartArea)}},beforeDatasetDraw(e,t,o){const n=t.meta.$filler;ti(n)&&"beforeDatasetDraw"===o.drawTime&&si(e.ctx,n,e.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const yi=(e,t)=>{let{boxHeight:o=t,boxWidth:n=t}=e;return e.usePointStyle&&(o=Math.min(o,t),n=e.pointStyleWidth||Math.min(n,t)),{boxWidth:n,boxHeight:o,itemHeight:Math.max(t,o)}};class gi extends Ln{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t,o){this.maxWidth=e,this.maxHeight=t,this._margins=o,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const e=this.options.labels||{};let t=q(e.generateLabels,[this.chart],this)||[];e.filter&&(t=t.filter((t=>e.filter(t,this.chart.data)))),e.sort&&(t=t.sort(((t,o)=>e.sort(t,o,this.chart.data)))),this.options.reverse&&t.reverse(),this.legendItems=t}fit(){const{options:e,ctx:t}=this;if(!e.display)return void(this.width=this.height=0);const o=e.labels,n=Nt(o.font),r=n.size,i=this._computeTitleHeight(),{boxWidth:a,itemHeight:s}=yi(o,r);let l,c;t.font=n.string,this.isHorizontal()?(l=this.maxWidth,c=this._fitRows(i,r,a,s)+10):(c=this.maxHeight,l=this._fitCols(i,n,a,s)+10),this.width=Math.min(l,e.maxWidth||this.maxWidth),this.height=Math.min(c,e.maxHeight||this.maxHeight)}_fitRows(e,t,o,n){const{ctx:r,maxWidth:i,options:{labels:{padding:a}}}=this,s=this.legendHitBoxes=[],l=this.lineWidths=[0],c=n+a;let p=e;r.textAlign="left",r.textBaseline="middle";let u=-1,d=-c;return this.legendItems.forEach(((e,y)=>{const g=o+t/2+r.measureText(e.text).width;(0===y||l[l.length-1]+g+2*a>i)&&(p+=c,l[l.length-(y>0?0:1)]=0,d+=c,u++),s[y]={left:0,top:d,row:u,width:g,height:n},l[l.length-1]+=g+a})),p}_fitCols(e,t,o,n){const{ctx:r,maxHeight:i,options:{labels:{padding:a}}}=this,s=this.legendHitBoxes=[],l=this.columnSizes=[],c=i-e;let p=a,u=0,d=0,y=0,g=0;return this.legendItems.forEach(((e,i)=>{const{itemWidth:m,itemHeight:v}=function(e,t,o,n,r){const i=function(e,t,o,n){let r=e.text;return r&&"string"!=typeof r&&(r=r.reduce(((e,t)=>e.length>t.length?e:t))),t+o.size/2+n.measureText(r).width}(n,e,t,o),a=function(e,t,o){let n=e;return"string"!=typeof t.text&&(n=mi(t,o)),n}(r,n,t.lineHeight);return{itemWidth:i,itemHeight:a}}(o,t,r,e,n);i>0&&d+v+2*a>c&&(p+=u+a,l.push({width:u,height:d}),y+=u+a,g++,u=d=0),s[i]={left:y,top:d,col:g,width:m,height:v},u=Math.max(u,m),d+=v+a})),p+=u,l.push({width:u,height:d}),p}adjustHitBoxes(){if(!this.options.display)return;const e=this._computeTitleHeight(),{legendHitBoxes:t,options:{align:o,labels:{padding:n},rtl:r}}=this,i=go(r,this.left,this.width);if(this.isHorizontal()){let r=0,a=ze(o,this.left+n,this.right-this.lineWidths[r]);for(const s of t)r!==s.row&&(r=s.row,a=ze(o,this.left+n,this.right-this.lineWidths[r])),s.top+=this.top+e+n,s.left=i.leftForLtr(i.x(a),s.width),a+=s.width+n}else{let r=0,a=ze(o,this.top+e+n,this.bottom-this.columnSizes[r].height);for(const s of t)s.col!==r&&(r=s.col,a=ze(o,this.top+e+n,this.bottom-this.columnSizes[r].height)),s.top=a,s.left+=this.left+n,s.left=i.leftForLtr(i.x(s.left),s.width),a+=s.height+n}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const e=this.ctx;mt(e,this),this._draw(),vt(e)}}_draw(){const{options:e,columnSizes:t,lineWidths:o,ctx:n}=this,{align:r,labels:i}=e,a=st.color,s=go(e.rtl,this.left,this.width),l=Nt(i.font),{padding:c}=i,p=l.size,u=p/2;let d;this.drawTitle(),n.textAlign=s.textAlign("left"),n.textBaseline="middle",n.lineWidth=.5,n.font=l.string;const{boxWidth:y,boxHeight:g,itemHeight:m}=yi(i,p),v=this.isHorizontal(),h=this._computeTitleHeight();d=v?{x:ze(r,this.left+c,this.right-o[0]),y:this.top+c+h,line:0}:{x:this.left+c,y:ze(r,this.top+h+c,this.bottom-t[0].height),line:0},mo(this.ctx,e.textDirection);const b=m+c;this.legendItems.forEach(((f,x)=>{n.strokeStyle=f.fontColor,n.fillStyle=f.fontColor;const w=n.measureText(f.text).width,S=s.textAlign(f.textAlign||(f.textAlign=i.textAlign)),_=y+u+w;let j=d.x,T=d.y;if(s.setWidth(this.width),v?x>0&&j+_+c>this.right&&(T=d.y+=b,d.line++,j=d.x=ze(r,this.left+c,this.right-o[d.line])):x>0&&T+b>this.bottom&&(j=d.x=j+t[d.line].width+c,d.line++,T=d.y=ze(r,this.top+h+c,this.bottom-t[d.line].height)),function(e,t,o){if(isNaN(y)||y<=0||isNaN(g)||g<0)return;n.save();const r=G(o.lineWidth,1);if(n.fillStyle=G(o.fillStyle,a),n.lineCap=G(o.lineCap,"butt"),n.lineDashOffset=G(o.lineDashOffset,0),n.lineJoin=G(o.lineJoin,"miter"),n.lineWidth=r,n.strokeStyle=G(o.strokeStyle,a),n.setLineDash(G(o.lineDash,[])),i.usePointStyle){const a={radius:g*Math.SQRT2/2,pointStyle:o.pointStyle,rotation:o.rotation,borderWidth:r},l=s.xPlus(e,y/2);yt(n,a,l,t+u,i.pointStyleWidth&&y)}else{const i=t+Math.max((p-g)/2,0),a=s.leftForLtr(e,y),l=kt(o.borderRadius);n.beginPath(),Object.values(l).some((e=>0!==e))?St(n,{x:a,y:i,w:y,h:g,radius:l}):n.rect(a,i,y,g),n.fill(),0!==r&&n.stroke()}n.restore()}(s.x(j),T,f),j=((e,t,o,n)=>e===(n?"left":"right")?o:"center"===e?(t+o)/2:t)(S,j+y+u,v?j+_:this.right,e.rtl),function(e,t,o){wt(n,o.text,e,t+m/2,l,{strikethrough:o.hidden,textAlign:s.textAlign(o.textAlign)})}(s.x(j),T,f),v)d.x+=_+c;else if("string"!=typeof f.text){const e=l.lineHeight;d.y+=mi(f,e)+c}else d.y+=b})),vo(this.ctx,e.textDirection)}drawTitle(){const e=this.options,t=e.title,o=Nt(t.font),n=Pt(t.padding);if(!t.display)return;const r=go(e.rtl,this.left,this.width),i=this.ctx,a=t.position,s=o.size/2,l=n.top+s;let c,p=this.left,u=this.width;if(this.isHorizontal())u=Math.max(...this.lineWidths),c=this.top+l,p=ze(e.align,p,this.right-u);else{const t=this.columnSizes.reduce(((e,t)=>Math.max(e,t.height)),0);c=l+ze(e.align,this.top,this.bottom-t-e.labels.padding-this._computeTitleHeight())}const d=ze(a,p,p+u);i.textAlign=r.textAlign(Le(a)),i.textBaseline="middle",i.strokeStyle=t.color,i.fillStyle=t.color,i.font=o.string,wt(i,t.text,d,c,o)}_computeTitleHeight(){const e=this.options.title,t=Nt(e.font),o=Pt(e.padding);return e.display?t.lineHeight+o.height:0}_getLegendItemAt(e,t){let o,n,r;if(Ne(e,this.left,this.right)&&Ne(t,this.top,this.bottom))for(r=this.legendHitBoxes,o=0;o<r.length;++o)if(n=r[o],Ne(e,n.left,n.left+n.width)&&Ne(t,n.top,n.top+n.height))return this.legendItems[o];return null}handleEvent(e){const t=this.options;if(!function(e,t){return!("mousemove"!==e&&"mouseout"!==e||!t.onHover&&!t.onLeave)||!(!t.onClick||"click"!==e&&"mouseup"!==e)}(e.type,t))return;const o=this._getLegendItemAt(e.x,e.y);if("mousemove"===e.type||"mouseout"===e.type){const i=this._hoveredItem,a=(r=o,null!==(n=i)&&null!==r&&n.datasetIndex===r.datasetIndex&&n.index===r.index);i&&!a&&q(t.onLeave,[e,i,this],this),this._hoveredItem=o,o&&!a&&q(t.onHover,[e,o,this],this)}else o&&q(t.onClick,[e,o,this],this);var n,r}}function mi(e,t){return t*(e.text?e.text.length:0)}var vi={id:"legend",_element:gi,start(e,t,o){const n=e.legend=new gi({ctx:e.ctx,options:o,chart:e});wn.configure(e,n,o),wn.addBox(e,n)},stop(e){wn.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,o){const n=e.legend;wn.configure(e,n,o),n.options=o},afterUpdate(e){const t=e.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(e,t){t.replay||e.legend.handleEvent(t.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(e,t,o){const n=t.datasetIndex,r=o.chart;r.isDatasetVisible(n)?(r.hide(n),t.hidden=!0):(r.show(n),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){const t=e.data.datasets,{labels:{usePointStyle:o,pointStyle:n,textAlign:r,color:i,useBorderRadius:a,borderRadius:s}}=e.legend.options;return e._getSortedDatasetMetas().map((e=>{const l=e.controller.getStyle(o?0:void 0),c=Pt(l.borderWidth);return{text:t[e.index].label,fillStyle:l.backgroundColor,fontColor:i,hidden:!e.visible,lineCap:l.borderCapStyle,lineDash:l.borderDash,lineDashOffset:l.borderDashOffset,lineJoin:l.borderJoinStyle,lineWidth:(c.width+c.height)/4,strokeStyle:l.borderColor,pointStyle:n||l.pointStyle,rotation:l.rotation,textAlign:r||l.textAlign,borderRadius:a&&(s||l.borderRadius),datasetIndex:e.index}}),this)}},title:{color:e=>e.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:e=>!e.startsWith("on"),labels:{_scriptable:e=>!["generateLabels","filter","sort"].includes(e)}}};class hi extends Ln{constructor(e){super(),this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t){const o=this.options;if(this.left=0,this.top=0,!o.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=e,this.height=this.bottom=t;const n=z(o.text)?o.text.length:1;this._padding=Pt(o.padding);const r=n*Nt(o.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=r:this.width=r}isHorizontal(){const e=this.options.position;return"top"===e||"bottom"===e}_drawArgs(e){const{top:t,left:o,bottom:n,right:r,options:i}=this,a=i.align;let s,l,c,p=0;return this.isHorizontal()?(l=ze(a,o,r),c=t+e,s=r-o):("left"===i.position?(l=o+e,c=ze(a,n,t),p=-.5*se):(l=r-e,c=ze(a,t,n),p=.5*se),s=n-t),{titleX:l,titleY:c,maxWidth:s,rotation:p}}draw(){const e=this.ctx,t=this.options;if(!t.display)return;const o=Nt(t.font),n=o.lineHeight/2+this._padding.top,{titleX:r,titleY:i,maxWidth:a,rotation:s}=this._drawArgs(n);wt(e,t.text,0,0,o,{color:t.color,maxWidth:a,rotation:s,textAlign:Le(t.align),textBaseline:"middle",translation:[r,i]})}}var bi={id:"title",_element:hi,start(e,t,o){!function(e,t){const o=new hi({ctx:e.ctx,options:t,chart:e});wn.configure(e,o,t),wn.addBox(e,o),e.titleBlock=o}(e,o)},stop(e){const t=e.titleBlock;wn.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,o){const n=e.titleBlock;wn.configure(e,n,o),n.options=o},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const fi=new WeakMap;var xi={id:"subtitle",start(e,t,o){const n=new hi({ctx:e.ctx,options:o,chart:e});wn.configure(e,n,o),wn.addBox(e,n),fi.set(e,n)},stop(e){wn.removeBox(e,fi.get(e)),fi.delete(e)},beforeUpdate(e,t,o){const n=fi.get(e);wn.configure(e,n,o),n.options=o},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const wi={average(e){if(!e.length)return!1;let t,o,n=new Set,r=0,i=0;for(t=0,o=e.length;t<o;++t){const o=e[t].element;if(o&&o.hasValue()){const e=o.tooltipPosition();n.add(e.x),r+=e.y,++i}}return 0!==i&&0!==n.size&&{x:[...n].reduce(((e,t)=>e+t))/n.size,y:r/i}},nearest(e,t){if(!e.length)return!1;let o,n,r,i=t.x,a=t.y,s=Number.POSITIVE_INFINITY;for(o=0,n=e.length;o<n;++o){const n=e[o].element;if(n&&n.hasValue()){const e=Te(t,n.getCenterPoint());e<s&&(s=e,r=n)}}if(r){const e=r.tooltipPosition();i=e.x,a=e.y}return{x:i,y:a}}};function Si(e,t){return t&&(z(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function _i(e){return("string"==typeof e||e instanceof String)&&e.indexOf("\n")>-1?e.split("\n"):e}function ji(e,t){const{element:o,datasetIndex:n,index:r}=t,i=e.getDatasetMeta(n).controller,{label:a,value:s}=i.getLabelAndValue(r);return{chart:e,label:a,parsed:i.getParsed(r),raw:e.data.datasets[n].data[r],formattedValue:s,dataset:i.getDataset(),dataIndex:r,datasetIndex:n,element:o}}function Ti(e,t){const o=e.chart.ctx,{body:n,footer:r,title:i}=e,{boxWidth:a,boxHeight:s}=t,l=Nt(t.bodyFont),c=Nt(t.titleFont),p=Nt(t.footerFont),u=i.length,d=r.length,y=n.length,g=Pt(t.padding);let m=g.height,v=0,h=n.reduce(((e,t)=>e+t.before.length+t.lines.length+t.after.length),0);h+=e.beforeBody.length+e.afterBody.length,u&&(m+=u*c.lineHeight+(u-1)*t.titleSpacing+t.titleMarginBottom),h&&(m+=y*(t.displayColors?Math.max(s,l.lineHeight):l.lineHeight)+(h-y)*l.lineHeight+(h-1)*t.bodySpacing),d&&(m+=t.footerMarginTop+d*p.lineHeight+(d-1)*t.footerSpacing);let b=0;const f=function(e){v=Math.max(v,o.measureText(e).width+b)};return o.save(),o.font=c.string,$(e.title,f),o.font=l.string,$(e.beforeBody.concat(e.afterBody),f),b=t.displayColors?a+2+t.boxPadding:0,$(n,(e=>{$(e.before,f),$(e.lines,f),$(e.after,f)})),b=0,o.font=p.string,$(e.footer,f),o.restore(),v+=g.width,{width:v,height:m}}function Oi(e,t,o,n){const{x:r,width:i}=o,{width:a,chartArea:{left:s,right:l}}=e;let c="center";return"center"===n?c=r<=(s+l)/2?"left":"right":r<=i/2?c="left":r>=a-i/2&&(c="right"),function(e,t,o,n){const{x:r,width:i}=n,a=o.caretSize+o.caretPadding;return"left"===e&&r+i+a>t.width||"right"===e&&r-i-a<0||void 0}(c,e,t,o)&&(c="center"),c}function Ci(e,t,o){const n=o.yAlign||t.yAlign||function(e,t){const{y:o,height:n}=t;return o<n/2?"top":o>e.height-n/2?"bottom":"center"}(e,o);return{xAlign:o.xAlign||t.xAlign||Oi(e,t,o,n),yAlign:n}}function ki(e,t,o,n){const{caretSize:r,caretPadding:i,cornerRadius:a}=e,{xAlign:s,yAlign:l}=o,c=r+i,{topLeft:p,topRight:u,bottomLeft:d,bottomRight:y}=kt(a);let g=function(e,t){let{x:o,width:n}=e;return"right"===t?o-=n:"center"===t&&(o-=n/2),o}(t,s);const m=function(e,t,o){let{y:n,height:r}=e;return"top"===t?n+=o:n-="bottom"===t?r+o:r/2,n}(t,l,c);return"center"===l?"left"===s?g+=c:"right"===s&&(g-=c):"left"===s?g-=Math.max(p,d)+r:"right"===s&&(g+=Math.max(u,y)+r),{x:Pe(g,0,n.width-t.width),y:Pe(m,0,n.height-t.height)}}function Pi(e,t,o){const n=Pt(o.padding);return"center"===t?e.x+e.width/2:"right"===t?e.x+e.width-n.right:e.x+n.left}function Ni(e){return Si([],_i(e))}function Ei(e,t){const o=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return o?e.override(o):e}const Di={beforeTitle:I,title(e){if(e.length>0){const t=e[0],o=t.chart.data.labels,n=o?o.length:0;if(this&&this.options&&"dataset"===this.options.mode)return t.dataset.label||"";if(t.label)return t.label;if(n>0&&t.dataIndex<n)return o[t.dataIndex]}return""},afterTitle:I,beforeBody:I,beforeLabel:I,label(e){if(this&&this.options&&"dataset"===this.options.mode)return e.label+": "+e.formattedValue||e.formattedValue;let t=e.dataset.label||"";t&&(t+=": ");const o=e.formattedValue;return L(o)||(t+=o),t},labelColor(e){const t=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{borderColor:t.borderColor,backgroundColor:t.backgroundColor,borderWidth:t.borderWidth,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(e){const t=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{pointStyle:t.pointStyle,rotation:t.rotation}},afterLabel:I,afterBody:I,beforeFooter:I,footer:I,afterFooter:I};function Bi(e,t,o,n){const r=e[t].call(o,n);return void 0===r?Di[t].call(o,n):r}class Ai extends Ln{static positioners=wi;constructor(e){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=e.chart,this.options=e.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const e=this._cachedAnimations;if(e)return e;const t=this.chart,o=this.options.setContext(this.getContext()),n=o.enabled&&t.options.animation&&o.animations,r=new No(this.chart,n);return n._cacheable&&(this._cachedAnimations=Object.freeze(r)),r}getContext(){return this.$context||(this.$context=Dt(this.chart.getContext(),{tooltip:this,tooltipItems:this._tooltipItems,type:"tooltip"}))}getTitle(e,t){const{callbacks:o}=t,n=Bi(o,"beforeTitle",this,e),r=Bi(o,"title",this,e),i=Bi(o,"afterTitle",this,e);let a=[];return a=Si(a,_i(n)),a=Si(a,_i(r)),a=Si(a,_i(i)),a}getBeforeBody(e,t){return Ni(Bi(t.callbacks,"beforeBody",this,e))}getBody(e,t){const{callbacks:o}=t,n=[];return $(e,(e=>{const t={before:[],lines:[],after:[]},r=Ei(o,e);Si(t.before,_i(Bi(r,"beforeLabel",this,e))),Si(t.lines,Bi(r,"label",this,e)),Si(t.after,_i(Bi(r,"afterLabel",this,e))),n.push(t)})),n}getAfterBody(e,t){return Ni(Bi(t.callbacks,"afterBody",this,e))}getFooter(e,t){const{callbacks:o}=t,n=Bi(o,"beforeFooter",this,e),r=Bi(o,"footer",this,e),i=Bi(o,"afterFooter",this,e);let a=[];return a=Si(a,_i(n)),a=Si(a,_i(r)),a=Si(a,_i(i)),a}_createItems(e){const t=this._active,o=this.chart.data,n=[],r=[],i=[];let a,s,l=[];for(a=0,s=t.length;a<s;++a)l.push(ji(this.chart,t[a]));return e.filter&&(l=l.filter(((t,n,r)=>e.filter(t,n,r,o)))),e.itemSort&&(l=l.sort(((t,n)=>e.itemSort(t,n,o)))),$(l,(t=>{const o=Ei(e.callbacks,t);n.push(Bi(o,"labelColor",this,t)),r.push(Bi(o,"labelPointStyle",this,t)),i.push(Bi(o,"labelTextColor",this,t))})),this.labelColors=n,this.labelPointStyles=r,this.labelTextColors=i,this.dataPoints=l,l}update(e,t){const o=this.options.setContext(this.getContext()),n=this._active;let r,i=[];if(n.length){const e=wi[o.position].call(this,n,this._eventPosition);i=this._createItems(o),this.title=this.getTitle(i,o),this.beforeBody=this.getBeforeBody(i,o),this.body=this.getBody(i,o),this.afterBody=this.getAfterBody(i,o),this.footer=this.getFooter(i,o);const t=this._size=Ti(this,o),a=Object.assign({},e,t),s=Ci(this.chart,o,a),l=ki(o,a,s,this.chart);this.xAlign=s.xAlign,this.yAlign=s.yAlign,r={opacity:1,x:l.x,y:l.y,width:t.width,height:t.height,caretX:e.x,caretY:e.y}}else 0!==this.opacity&&(r={opacity:0});this._tooltipItems=i,this.$context=void 0,r&&this._resolveAnimations().update(this,r),e&&o.external&&o.external.call(this,{chart:this.chart,tooltip:this,replay:t})}drawCaret(e,t,o,n){const r=this.getCaretPosition(e,o,n);t.lineTo(r.x1,r.y1),t.lineTo(r.x2,r.y2),t.lineTo(r.x3,r.y3)}getCaretPosition(e,t,o){const{xAlign:n,yAlign:r}=this,{caretSize:i,cornerRadius:a}=o,{topLeft:s,topRight:l,bottomLeft:c,bottomRight:p}=kt(a),{x:u,y:d}=e,{width:y,height:g}=t;let m,v,h,b,f,x;return"center"===r?(f=d+g/2,"left"===n?(m=u,v=m-i,b=f+i,x=f-i):(m=u+y,v=m+i,b=f-i,x=f+i),h=m):(v="left"===n?u+Math.max(s,c)+i:"right"===n?u+y-Math.max(l,p)-i:this.caretX,"top"===r?(b=d,f=b-i,m=v-i,h=v+i):(b=d+g,f=b+i,m=v+i,h=v-i),x=b),{x1:m,x2:v,x3:h,y1:b,y2:f,y3:x}}drawTitle(e,t,o){const n=this.title,r=n.length;let i,a,s;if(r){const l=go(o.rtl,this.x,this.width);for(e.x=Pi(this,o.titleAlign,o),t.textAlign=l.textAlign(o.titleAlign),t.textBaseline="middle",i=Nt(o.titleFont),a=o.titleSpacing,t.fillStyle=o.titleColor,t.font=i.string,s=0;s<r;++s)t.fillText(n[s],l.x(e.x),e.y+i.lineHeight/2),e.y+=i.lineHeight+a,s+1===r&&(e.y+=o.titleMarginBottom-a)}}_drawColorBox(e,t,o,n,r){const i=this.labelColors[o],a=this.labelPointStyles[o],{boxHeight:s,boxWidth:l}=r,c=Nt(r.bodyFont),p=Pi(this,"left",r),u=n.x(p),d=s<c.lineHeight?(c.lineHeight-s)/2:0,y=t.y+d;if(r.usePointStyle){const t={radius:Math.min(l,s)/2,pointStyle:a.pointStyle,rotation:a.rotation,borderWidth:1},o=n.leftForLtr(u,l)+l/2,c=y+s/2;e.strokeStyle=r.multiKeyBackground,e.fillStyle=r.multiKeyBackground,dt(e,t,o,c),e.strokeStyle=i.borderColor,e.fillStyle=i.backgroundColor,dt(e,t,o,c)}else{e.lineWidth=F(i.borderWidth)?Math.max(...Object.values(i.borderWidth)):i.borderWidth||1,e.strokeStyle=i.borderColor,e.setLineDash(i.borderDash||[]),e.lineDashOffset=i.borderDashOffset||0;const t=n.leftForLtr(u,l),o=n.leftForLtr(n.xPlus(u,1),l-2),a=kt(i.borderRadius);Object.values(a).some((e=>0!==e))?(e.beginPath(),e.fillStyle=r.multiKeyBackground,St(e,{x:t,y,w:l,h:s,radius:a}),e.fill(),e.stroke(),e.fillStyle=i.backgroundColor,e.beginPath(),St(e,{x:o,y:y+1,w:l-2,h:s-2,radius:a}),e.fill()):(e.fillStyle=r.multiKeyBackground,e.fillRect(t,y,l,s),e.strokeRect(t,y,l,s),e.fillStyle=i.backgroundColor,e.fillRect(o,y+1,l-2,s-2))}e.fillStyle=this.labelTextColors[o]}drawBody(e,t,o){const{body:n}=this,{bodySpacing:r,bodyAlign:i,displayColors:a,boxHeight:s,boxWidth:l,boxPadding:c}=o,p=Nt(o.bodyFont);let u=p.lineHeight,d=0;const y=go(o.rtl,this.x,this.width),g=function(o){t.fillText(o,y.x(e.x+d),e.y+u/2),e.y+=u+r},m=y.textAlign(i);let v,h,b,f,x,w,S;for(t.textAlign=i,t.textBaseline="middle",t.font=p.string,e.x=Pi(this,m,o),t.fillStyle=o.bodyColor,$(this.beforeBody,g),d=a&&"right"!==m?"center"===i?l/2+c:l+2+c:0,f=0,w=n.length;f<w;++f){for(v=n[f],h=this.labelTextColors[f],t.fillStyle=h,$(v.before,g),b=v.lines,a&&b.length&&(this._drawColorBox(t,e,f,y,o),u=Math.max(p.lineHeight,s)),x=0,S=b.length;x<S;++x)g(b[x]),u=p.lineHeight;$(v.after,g)}d=0,u=p.lineHeight,$(this.afterBody,g),e.y-=r}drawFooter(e,t,o){const n=this.footer,r=n.length;let i,a;if(r){const s=go(o.rtl,this.x,this.width);for(e.x=Pi(this,o.footerAlign,o),e.y+=o.footerMarginTop,t.textAlign=s.textAlign(o.footerAlign),t.textBaseline="middle",i=Nt(o.footerFont),t.fillStyle=o.footerColor,t.font=i.string,a=0;a<r;++a)t.fillText(n[a],s.x(e.x),e.y+i.lineHeight/2),e.y+=i.lineHeight+o.footerSpacing}}drawBackground(e,t,o,n){const{xAlign:r,yAlign:i}=this,{x:a,y:s}=e,{width:l,height:c}=o,{topLeft:p,topRight:u,bottomLeft:d,bottomRight:y}=kt(n.cornerRadius);t.fillStyle=n.backgroundColor,t.strokeStyle=n.borderColor,t.lineWidth=n.borderWidth,t.beginPath(),t.moveTo(a+p,s),"top"===i&&this.drawCaret(e,t,o,n),t.lineTo(a+l-u,s),t.quadraticCurveTo(a+l,s,a+l,s+u),"center"===i&&"right"===r&&this.drawCaret(e,t,o,n),t.lineTo(a+l,s+c-y),t.quadraticCurveTo(a+l,s+c,a+l-y,s+c),"bottom"===i&&this.drawCaret(e,t,o,n),t.lineTo(a+d,s+c),t.quadraticCurveTo(a,s+c,a,s+c-d),"center"===i&&"left"===r&&this.drawCaret(e,t,o,n),t.lineTo(a,s+p),t.quadraticCurveTo(a,s,a+p,s),t.closePath(),t.fill(),n.borderWidth>0&&t.stroke()}_updateAnimationTarget(e){const t=this.chart,o=this.$animations,n=o&&o.x,r=o&&o.y;if(n||r){const o=wi[e.position].call(this,this._active,this._eventPosition);if(!o)return;const i=this._size=Ti(this,e),a=Object.assign({},o,this._size),s=Ci(t,e,a),l=ki(e,a,s,t);n._to===l.x&&r._to===l.y||(this.xAlign=s.xAlign,this.yAlign=s.yAlign,this.width=i.width,this.height=i.height,this.caretX=o.x,this.caretY=o.y,this._resolveAnimations().update(this,l))}}_willRender(){return!!this.opacity}draw(e){const t=this.options.setContext(this.getContext());let o=this.opacity;if(!o)return;this._updateAnimationTarget(t);const n={width:this.width,height:this.height},r={x:this.x,y:this.y};o=Math.abs(o)<.001?0:o;const i=Pt(t.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;t.enabled&&a&&(e.save(),e.globalAlpha=o,this.drawBackground(r,e,n,t),mo(e,t.textDirection),r.y+=i.top,this.drawTitle(r,e,t),this.drawBody(r,e,t),this.drawFooter(r,e,t),vo(e,t.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,t){const o=this._active,n=e.map((({datasetIndex:e,index:t})=>{const o=this.chart.getDatasetMeta(e);if(!o)throw new Error("Cannot find a dataset at index "+e);return{datasetIndex:e,element:o.data[t],index:t}})),r=!Y(o,n),i=this._positionChanged(n,t);(r||i)&&(this._active=n,this._eventPosition=t,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,t,o=!0){if(t&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const n=this.options,r=this._active||[],i=this._getActiveElements(e,r,t,o),a=this._positionChanged(i,e),s=t||!Y(i,r)||a;return s&&(this._active=i,(n.enabled||n.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,t))),s}_getActiveElements(e,t,o,n){const r=this.options;if("mouseout"===e.type)return[];if(!n)return t.filter((e=>this.chart.data.datasets[e.datasetIndex]&&void 0!==this.chart.getDatasetMeta(e.datasetIndex).controller.getParsed(e.index)));const i=this.chart.getElementsAtEventForMode(e,r.mode,r,o);return r.reverse&&i.reverse(),i}_positionChanged(e,t){const{caretX:o,caretY:n,options:r}=this,i=wi[r.position].call(this,e,t);return!1!==i&&(o!==i.x||n!==i.y)}}var Hi={id:"tooltip",_element:Ai,positioners:wi,afterInit(e,t,o){o&&(e.tooltip=new Ai({chart:e,options:o}))},beforeUpdate(e,t,o){e.tooltip&&e.tooltip.initialize(o)},reset(e,t,o){e.tooltip&&e.tooltip.initialize(o)},afterDraw(e){const t=e.tooltip;if(t&&t._willRender()){const o={tooltip:t};if(!1===e.notifyPlugins("beforeTooltipDraw",{...o,cancelable:!0}))return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",o)}},afterEvent(e,t){if(e.tooltip){const o=t.replay;e.tooltip.handleEvent(t.event,o,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:Di},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:e=>"filter"!==e&&"itemSort"!==e&&"external"!==e,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},Ri=Object.freeze({__proto__:null,Colors:$r,Decimation:Jr,Filler:di,Legend:vi,SubTitle:xi,Title:bi,Tooltip:Hi});function Ii(e){const t=this.getLabels();return e>=0&&e<t.length?t[e]:e}function Mi(e,t,{horizontal:o,minRotation:n}){const r=we(n),i=(o?Math.sin(r):Math.cos(r))||.001,a=.75*t*(""+e).length;return Math.min(t/i,a)}class Li extends Yn{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,t){return L(e)||("number"==typeof e||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){const{beginAtZero:e}=this.options,{minDefined:t,maxDefined:o}=this.getUserBounds();let{min:n,max:r}=this;const i=e=>n=t?n:e,a=e=>r=o?r:e;if(e){const e=ve(n),t=ve(r);e<0&&t<0?a(0):e>0&&t>0&&i(0)}if(n===r){let t=0===r?1:Math.abs(.05*r);a(r+t),e||i(n-t)}this.min=n,this.max=r}getTickLimit(){const e=this.options.ticks;let t,{maxTicksLimit:o,stepSize:n}=e;return n?(t=Math.ceil(this.max/n)-Math.floor(this.min/n)+1,t>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${n} would result generating up to ${t} ticks. Limiting to 1000.`),t=1e3)):(t=this.computeTickLimit(),o=o||11),o&&(t=Math.min(o,t)),t}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const e=this.options,t=e.ticks;let o=this.getTickLimit();o=Math.max(2,o);const n=function(e,t){const o=[],{bounds:n,step:r,min:i,max:a,precision:s,count:l,maxTicks:c,maxDigits:p,includeBounds:u}=e,d=r||1,y=c-1,{min:g,max:m}=t,v=!L(i),h=!L(a),b=!L(l),f=(m-g)/(p+1);let x,w,S,_,j=be((m-g)/y/d)*d;if(j<1e-14&&!v&&!h)return[{value:g},{value:m}];_=Math.ceil(m/j)-Math.floor(g/j),_>y&&(j=be(_*j/y/d)*d),L(s)||(x=Math.pow(10,s),j=Math.ceil(j*x)/x),"ticks"===n?(w=Math.floor(g/j)*j,S=Math.ceil(m/j)*j):(w=g,S=m),v&&h&&r&&function(e,t){const o=Math.round(e);return o-t<=e&&o+t>=e}((a-i)/r,j/1e3)?(_=Math.round(Math.min((a-i)/j,c)),j=(a-i)/_,w=i,S=a):b?(w=v?i:w,S=h?a:S,_=l-1,j=(S-w)/_):(_=(S-w)/j,_=he(_,Math.round(_),j/1e3)?Math.round(_):Math.ceil(_));const T=Math.max(_e(j),_e(w));x=Math.pow(10,L(s)?T:s),w=Math.round(w*x)/x,S=Math.round(S*x)/x;let O=0;for(v&&(u&&w!==i?(o.push({value:i}),w<i&&O++,he(Math.round((w+O*j)*x)/x,i,Mi(i,f,e))&&O++):w<i&&O++);O<_;++O){const e=Math.round((w+O*j)*x)/x;if(h&&e>a)break;o.push({value:e})}return h&&u&&S!==a?o.length&&he(o[o.length-1].value,a,Mi(a,f,e))?o[o.length-1].value=a:o.push({value:a}):h&&S!==a||o.push({value:S}),o}({maxTicks:o,bounds:e.bounds,min:e.min,max:e.max,precision:t.precision,step:t.stepSize,count:t.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:t.minRotation||0,includeBounds:!1!==t.includeBounds},this._range||this);return"ticks"===e.bounds&&xe(n,this,"value"),e.reverse?(n.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),n}configure(){const e=this.ticks;let t=this.min,o=this.max;if(super.configure(),this.options.offset&&e.length){const n=(o-t)/Math.max(e.length-1,1)/2;t-=n,o+=n}this._startValue=t,this._endValue=o,this._valueRange=o-t}getLabelForValue(e){return Ke(e,this.chart.options.locale,this.options.ticks.format)}}class zi extends Li{static id="linear";static defaults={ticks:{callback:tt.formatters.numeric}};determineDataLimits(){const{min:e,max:t}=this.getMinMax(!0);this.min=V(e)?e:0,this.max=V(t)?t:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),t=e?this.width:this.height,o=we(this.options.ticks.minRotation),n=(e?Math.sin(o):Math.cos(o))||.001,r=this._resolveTickFontOptions(0);return Math.ceil(t/Math.min(40,r.lineHeight/n))}getPixelForValue(e){return null===e?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}const Fi=e=>Math.floor(me(e)),Vi=(e,t)=>Math.pow(10,Fi(e)+t);function Wi(e){return 1===e/Math.pow(10,Fi(e))}function Gi(e,t,o){const n=Math.pow(10,o),r=Math.floor(e/n);return Math.ceil(t/n)-r}class Ui extends Yn{static id="logarithmic";static defaults={ticks:{callback:tt.formatters.logarithmic,major:{enabled:!0}}};constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(e,t){const o=Li.prototype.parse.apply(this,[e,t]);if(0!==o)return V(o)&&o>0?o:null;this._zero=!0}determineDataLimits(){const{min:e,max:t}=this.getMinMax(!0);this.min=V(e)?Math.max(0,e):null,this.max=V(t)?Math.max(0,t):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!V(this._userMin)&&(this.min=e===Vi(this.min,0)?Vi(this.min,-1):Vi(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:e,maxDefined:t}=this.getUserBounds();let o=this.min,n=this.max;const r=t=>o=e?o:t,i=e=>n=t?n:e;o===n&&(o<=0?(r(1),i(10)):(r(Vi(o,-1)),i(Vi(n,1)))),o<=0&&r(Vi(n,-1)),n<=0&&i(Vi(o,1)),this.min=o,this.max=n}buildTicks(){const e=this.options,t=function(e,{min:t,max:o}){t=W(e.min,t);const n=[],r=Fi(t);let i=function(e,t){let o=Fi(t-e);for(;Gi(e,t,o)>10;)o++;for(;Gi(e,t,o)<10;)o--;return Math.min(o,Fi(e))}(t,o),a=i<0?Math.pow(10,Math.abs(i)):1;const s=Math.pow(10,i),l=r>i?Math.pow(10,r):0,c=Math.round((t-l)*a)/a,p=Math.floor((t-l)/s/10)*s*10;let u=Math.floor((c-p)/Math.pow(10,i)),d=W(e.min,Math.round((l+p+u*Math.pow(10,i))*a)/a);for(;d<o;)n.push({value:d,major:Wi(d),significand:u}),u>=10?u=u<15?15:20:u++,u>=20&&(i++,u=2,a=i>=0?1:a),d=Math.round((l+p+u*Math.pow(10,i))*a)/a;const y=W(e.max,d);return n.push({value:y,major:Wi(y),significand:u}),n}({min:this._userMin,max:this._userMax},this);return"ticks"===e.bounds&&xe(t,this,"value"),e.reverse?(t.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),t}getLabelForValue(e){return void 0===e?"0":Ke(e,this.chart.options.locale,this.options.ticks.format)}configure(){const e=this.min;super.configure(),this._startValue=me(e),this._valueRange=me(this.max)-me(e)}getPixelForValue(e){return void 0!==e&&0!==e||(e=this.min),null===e||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(me(e)-this._startValue)/this._valueRange)}getValueForPixel(e){const t=this.getDecimalForPixel(e);return Math.pow(10,this._startValue+t*this._valueRange)}}function qi(e){const t=e.ticks;if(t.display&&e.display){const e=Pt(t.backdropPadding);return G(t.font&&t.font.size,st.font.size)+e.height}return 0}function $i(e,t,o,n,r){return e===n||e===r?{start:t-o/2,end:t+o/2}:e<n||e>r?{start:t-o,end:t}:{start:t,end:t+o}}function Yi(e,t,o,n,r){const i=Math.abs(Math.sin(o)),a=Math.abs(Math.cos(o));let s=0,l=0;n.start<t.l?(s=(t.l-n.start)/i,e.l=Math.min(e.l,t.l-s)):n.end>t.r&&(s=(n.end-t.r)/i,e.r=Math.max(e.r,t.r+s)),r.start<t.t?(l=(t.t-r.start)/a,e.t=Math.min(e.t,t.t-l)):r.end>t.b&&(l=(r.end-t.b)/a,e.b=Math.max(e.b,t.b+l))}function Xi(e,t,o){const n=e.drawingArea,{extra:r,additionalAngle:i,padding:a,size:s}=o,l=e.getPointPosition(t,n+r+a,i),c=Math.round(Se(Ce(l.angle+de))),p=function(e,t,o){return 90===o||270===o?e-=t/2:(o>270||o<90)&&(e-=t),e}(l.y,s.h,c),u=function(e){return 0===e||180===e?"center":e<180?"left":"right"}(c),d=(y=l.x,g=s.w,"right"===(m=u)?y-=g:"center"===m&&(y-=g/2),y);var y,g,m;return{visible:!0,x:l.x,y:p,textAlign:u,left:d,top:p,right:d+s.w,bottom:p+s.h}}function Ji(e,t){if(!t)return!0;const{left:o,top:n,right:r,bottom:i}=e;return!(gt({x:o,y:n},t)||gt({x:o,y:i},t)||gt({x:r,y:n},t)||gt({x:r,y:i},t))}function Qi(e,t,o){const{left:n,top:r,right:i,bottom:a}=o,{backdropColor:s}=t;if(!L(s)){const o=kt(t.borderRadius),l=Pt(t.backdropPadding);e.fillStyle=s;const c=n-l.left,p=r-l.top,u=i-n+l.width,d=a-r+l.height;Object.values(o).some((e=>0!==e))?(e.beginPath(),St(e,{x:c,y:p,w:u,h:d,radius:o}),e.fill()):e.fillRect(c,p,u,d)}}function Zi(e,t,o,n){const{ctx:r}=e;if(o)r.arc(e.xCenter,e.yCenter,t,0,le);else{let o=e.getPointPosition(0,t);r.moveTo(o.x,o.y);for(let i=1;i<n;i++)o=e.getPointPosition(i,t),r.lineTo(o.x,o.y)}}class Ki extends Li{static id="radialLinear";static defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:tt.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:e=>e,padding:5,centerPointLabels:!1}};static defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"};static descriptors={angleLines:{_fallback:"grid"}};constructor(e){super(e),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const e=this._padding=Pt(qi(this.options)/2),t=this.width=this.maxWidth-e.width,o=this.height=this.maxHeight-e.height;this.xCenter=Math.floor(this.left+t/2+e.left),this.yCenter=Math.floor(this.top+o/2+e.top),this.drawingArea=Math.floor(Math.min(t,o)/2)}determineDataLimits(){const{min:e,max:t}=this.getMinMax(!1);this.min=V(e)&&!isNaN(e)?e:0,this.max=V(t)&&!isNaN(t)?t:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/qi(this.options))}generateTickLabels(e){Li.prototype.generateTickLabels.call(this,e),this._pointLabels=this.getLabels().map(((e,t)=>{const o=q(this.options.pointLabels.callback,[e,t],this);return o||0===o?o:""})).filter(((e,t)=>this.chart.getDataVisibility(t)))}fit(){const e=this.options;e.display&&e.pointLabels.display?function(e){const t={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},o=Object.assign({},t),n=[],r=[],i=e._pointLabels.length,a=e.options.pointLabels,s=a.centerPointLabels?se/i:0;for(let u=0;u<i;u++){const i=a.setContext(e.getPointLabelContext(u));r[u]=i.padding;const d=e.getPointPosition(u,e.drawingArea+r[u],s),y=Nt(i.font),g=(l=e.ctx,c=y,p=z(p=e._pointLabels[u])?p:[p],{w:ct(l,c.string,p),h:p.length*c.lineHeight});n[u]=g;const m=Ce(e.getIndexAngle(u)+s),v=Math.round(Se(m));Yi(o,t,m,$i(v,d.x,g.w,0,180),$i(v,d.y,g.h,90,270))}var l,c,p;e.setCenterPoint(t.l-o.l,o.r-t.r,t.t-o.t,o.b-t.b),e._pointLabelItems=function(e,t,o){const n=[],r=e._pointLabels.length,i=e.options,{centerPointLabels:a,display:s}=i.pointLabels,l={extra:qi(i)/2,additionalAngle:a?se/r:0};let c;for(let i=0;i<r;i++){l.padding=o[i],l.size=t[i];const r=Xi(e,i,l);n.push(r),"auto"===s&&(r.visible=Ji(r,c),r.visible&&(c=r))}return n}(e,n,r)}(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(e,t,o,n){this.xCenter+=Math.floor((e-t)/2),this.yCenter+=Math.floor((o-n)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(e,t,o,n))}getIndexAngle(e){return Ce(e*(le/(this._pointLabels.length||1))+we(this.options.startAngle||0))}getDistanceFromCenterForValue(e){if(L(e))return NaN;const t=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-e)*t:(e-this.min)*t}getValueForDistanceFromCenter(e){if(L(e))return NaN;const t=e/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-t:this.min+t}getPointLabelContext(e){const t=this._pointLabels||[];if(e>=0&&e<t.length){const o=t[e];return function(e,t,o){return Dt(e,{label:o,index:t,type:"pointLabel"})}(this.getContext(),e,o)}}getPointPosition(e,t,o=0){const n=this.getIndexAngle(e)-de+o;return{x:Math.cos(n)*t+this.xCenter,y:Math.sin(n)*t+this.yCenter,angle:n}}getPointPositionForValue(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))}getBasePosition(e){return this.getPointPositionForValue(e||0,this.getBaseValue())}getPointLabelPosition(e){const{left:t,top:o,right:n,bottom:r}=this._pointLabelItems[e];return{left:t,top:o,right:n,bottom:r}}drawBackground(){const{backgroundColor:e,grid:{circular:t}}=this.options;if(e){const o=this.ctx;o.save(),o.beginPath(),Zi(this,this.getDistanceFromCenterForValue(this._endValue),t,this._pointLabels.length),o.closePath(),o.fillStyle=e,o.fill(),o.restore()}}drawGrid(){const e=this.ctx,t=this.options,{angleLines:o,grid:n,border:r}=t,i=this._pointLabels.length;let a,s,l;if(t.pointLabels.display&&function(e,t){const{ctx:o,options:{pointLabels:n}}=e;for(let r=t-1;r>=0;r--){const t=e._pointLabelItems[r];if(!t.visible)continue;const i=n.setContext(e.getPointLabelContext(r));Qi(o,i,t);const a=Nt(i.font),{x:s,y:l,textAlign:c}=t;wt(o,e._pointLabels[r],s,l+a.lineHeight/2,a,{color:i.color,textAlign:c,textBaseline:"middle"})}}(this,i),n.display&&this.ticks.forEach(((e,t)=>{if(0!==t||0===t&&this.min<0){s=this.getDistanceFromCenterForValue(e.value);const o=this.getContext(t),a=n.setContext(o),l=r.setContext(o);!function(e,t,o,n,r){const i=e.ctx,a=t.circular,{color:s,lineWidth:l}=t;!a&&!n||!s||!l||o<0||(i.save(),i.strokeStyle=s,i.lineWidth=l,i.setLineDash(r.dash||[]),i.lineDashOffset=r.dashOffset,i.beginPath(),Zi(e,o,a,n),i.closePath(),i.stroke(),i.restore())}(this,a,s,i,l)}})),o.display){for(e.save(),a=i-1;a>=0;a--){const n=o.setContext(this.getPointLabelContext(a)),{color:r,lineWidth:i}=n;i&&r&&(e.lineWidth=i,e.strokeStyle=r,e.setLineDash(n.borderDash),e.lineDashOffset=n.borderDashOffset,s=this.getDistanceFromCenterForValue(t.reverse?this.min:this.max),l=this.getPointPosition(a,s),e.beginPath(),e.moveTo(this.xCenter,this.yCenter),e.lineTo(l.x,l.y),e.stroke())}e.restore()}}drawBorder(){}drawLabels(){const e=this.ctx,t=this.options,o=t.ticks;if(!o.display)return;const n=this.getIndexAngle(0);let r,i;e.save(),e.translate(this.xCenter,this.yCenter),e.rotate(n),e.textAlign="center",e.textBaseline="middle",this.ticks.forEach(((n,a)=>{if(0===a&&this.min>=0&&!t.reverse)return;const s=o.setContext(this.getContext(a)),l=Nt(s.font);if(r=this.getDistanceFromCenterForValue(this.ticks[a].value),s.showLabelBackdrop){e.font=l.string,i=e.measureText(n.label).width,e.fillStyle=s.backdropColor;const t=Pt(s.backdropPadding);e.fillRect(-i/2-t.left,-r-l.size/2-t.top,i+t.width,l.size+t.height)}wt(e,n.label,0,-r,l,{color:s.color,strokeColor:s.textStrokeColor,strokeWidth:s.textStrokeWidth})})),e.restore()}drawTitle(){}}const ea={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},ta=Object.keys(ea);function oa(e,t){return e-t}function na(e,t){if(L(t))return null;const o=e._adapter,{parser:n,round:r,isoWeekday:i}=e._parseOpts;let a=t;return"function"==typeof n&&(a=n(a)),V(a)||(a="string"==typeof n?o.parse(a,n):o.parse(a)),null===a?null:(r&&(a="week"!==r||!fe(i)&&!0!==i?o.startOf(a,r):o.startOf(a,"isoWeek",i)),+a)}function ra(e,t,o,n){const r=ta.length;for(let i=ta.indexOf(e);i<r-1;++i){const e=ea[ta[i]],r=e.steps?e.steps:Number.MAX_SAFE_INTEGER;if(e.common&&Math.ceil((o-t)/(r*e.size))<=n)return ta[i]}return ta[r-1]}function ia(e,t,o){if(o){if(o.length){const{lo:n,hi:r}=Ee(o,t);e[o[n]>=t?o[n]:o[r]]=!0}}else e[t]=!0}function aa(e,t,o){const n=[],r={},i=t.length;let a,s;for(a=0;a<i;++a)s=t[a],r[s]=a,n.push({value:s,major:!1});return 0!==i&&o?function(e,t,o,n){const r=e._adapter,i=+r.startOf(t[0].value,n),a=t[t.length-1].value;let s,l;for(s=i;s<=a;s=+r.add(s,1,n))l=o[s],l>=0&&(t[l].major=!0);return t}(e,n,r,o):n}class sa extends Yn{static id="time";static defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}};constructor(e){super(e),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(e,t={}){const o=e.time||(e.time={}),n=this._adapter=new on(e.adapters.date);n.init(t),K(o.displayFormats,n.formats()),this._parseOpts={parser:o.parser,round:o.round,isoWeekday:o.isoWeekday},super.init(e),this._normalized=t.normalized}parse(e,t){return void 0===e?null:na(this,e)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const e=this.options,t=this._adapter,o=e.time.unit||"day";let{min:n,max:r,minDefined:i,maxDefined:a}=this.getUserBounds();function s(e){i||isNaN(e.min)||(n=Math.min(n,e.min)),a||isNaN(e.max)||(r=Math.max(r,e.max))}i&&a||(s(this._getLabelBounds()),"ticks"===e.bounds&&"labels"===e.ticks.source||s(this.getMinMax(!1))),n=V(n)&&!isNaN(n)?n:+t.startOf(Date.now(),o),r=V(r)&&!isNaN(r)?r:+t.endOf(Date.now(),o)+1,this.min=Math.min(n,r-1),this.max=Math.max(n+1,r)}_getLabelBounds(){const e=this.getLabelTimestamps();let t=Number.POSITIVE_INFINITY,o=Number.NEGATIVE_INFINITY;return e.length&&(t=e[0],o=e[e.length-1]),{min:t,max:o}}buildTicks(){const e=this.options,t=e.time,o=e.ticks,n="labels"===o.source?this.getLabelTimestamps():this._generate();"ticks"===e.bounds&&n.length&&(this.min=this._userMin||n[0],this.max=this._userMax||n[n.length-1]);const r=this.min,i=function(e,t,o){let n=0,r=e.length;for(;n<r&&e[n]<t;)n++;for(;r>n&&e[r-1]>o;)r--;return n>0||r<e.length?e.slice(n,r):e}(n,r,this.max);return this._unit=t.unit||(o.autoSkip?ra(t.minUnit,this.min,this.max,this._getLabelCapacity(r)):function(e,t,o,n,r){for(let i=ta.length-1;i>=ta.indexOf(o);i--){const o=ta[i];if(ea[o].common&&e._adapter.diff(r,n,o)>=t-1)return o}return ta[o?ta.indexOf(o):0]}(this,i.length,t.minUnit,this.min,this.max)),this._majorUnit=o.major.enabled&&"year"!==this._unit?function(e){for(let t=ta.indexOf(e)+1,o=ta.length;t<o;++t)if(ea[ta[t]].common)return ta[t]}(this._unit):void 0,this.initOffsets(n),e.reverse&&i.reverse(),aa(this,i,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map((e=>+e.value)))}initOffsets(e=[]){let t,o,n=0,r=0;this.options.offset&&e.length&&(t=this.getDecimalForValue(e[0]),n=1===e.length?1-t:(this.getDecimalForValue(e[1])-t)/2,o=this.getDecimalForValue(e[e.length-1]),r=1===e.length?o:(o-this.getDecimalForValue(e[e.length-2]))/2);const i=e.length<3?.5:.25;n=Pe(n,0,i),r=Pe(r,0,i),this._offsets={start:n,end:r,factor:1/(n+1+r)}}_generate(){const e=this._adapter,t=this.min,o=this.max,n=this.options,r=n.time,i=r.unit||ra(r.minUnit,t,o,this._getLabelCapacity(t)),a=G(n.ticks.stepSize,1),s="week"===i&&r.isoWeekday,l=fe(s)||!0===s,c={};let p,u,d=t;if(l&&(d=+e.startOf(d,"isoWeek",s)),d=+e.startOf(d,l?"day":i),e.diff(o,t,i)>1e5*a)throw new Error(t+" and "+o+" are too far apart with stepSize of "+a+" "+i);const y="data"===n.ticks.source&&this.getDataTimestamps();for(p=d,u=0;p<o;p=+e.add(p,a,i),u++)ia(c,p,y);return p!==o&&"ticks"!==n.bounds&&1!==u||ia(c,p,y),Object.keys(c).sort(oa).map((e=>+e))}getLabelForValue(e){const t=this._adapter,o=this.options.time;return o.tooltipFormat?t.format(e,o.tooltipFormat):t.format(e,o.displayFormats.datetime)}format(e,t){const o=this.options.time.displayFormats,n=this._unit,r=t||o[n];return this._adapter.format(e,r)}_tickFormatFunction(e,t,o,n){const r=this.options,i=r.ticks.callback;if(i)return q(i,[e,t,o],this);const a=r.time.displayFormats,s=this._unit,l=this._majorUnit,c=s&&a[s],p=l&&a[l],u=o[t],d=l&&p&&u&&u.major;return this._adapter.format(e,n||(d?p:c))}generateTickLabels(e){let t,o,n;for(t=0,o=e.length;t<o;++t)n=e[t],n.label=this._tickFormatFunction(n.value,t,e)}getDecimalForValue(e){return null===e?NaN:(e-this.min)/(this.max-this.min)}getPixelForValue(e){const t=this._offsets,o=this.getDecimalForValue(e);return this.getPixelForDecimal((t.start+o)*t.factor)}getValueForPixel(e){const t=this._offsets,o=this.getDecimalForPixel(e)/t.factor-t.end;return this.min+o*(this.max-this.min)}_getLabelSize(e){const t=this.options.ticks,o=this.ctx.measureText(e).width,n=we(this.isHorizontal()?t.maxRotation:t.minRotation),r=Math.cos(n),i=Math.sin(n),a=this._resolveTickFontOptions(0).size;return{w:o*r+a*i,h:o*i+a*r}}_getLabelCapacity(e){const t=this.options.time,o=t.displayFormats,n=o[t.unit]||o.millisecond,r=this._tickFormatFunction(e,0,aa(this,[e],this._majorUnit),n),i=this._getLabelSize(r),a=Math.floor(this.isHorizontal()?this.width/i.w:this.height/i.h)-1;return a>0?a:1}getDataTimestamps(){let e,t,o=this._cache.data||[];if(o.length)return o;const n=this.getMatchingVisibleMetas();if(this._normalized&&n.length)return this._cache.data=n[0].controller.getAllParsedValues(this);for(e=0,t=n.length;e<t;++e)o=o.concat(n[e].controller.getAllParsedValues(this));return this._cache.data=this.normalize(o)}getLabelTimestamps(){const e=this._cache.labels||[];let t,o;if(e.length)return e;const n=this.getLabels();for(t=0,o=n.length;t<o;++t)e.push(na(this,n[t]));return this._cache.labels=this._normalized?e:this.normalize(e)}normalize(e){return Re(e.sort(oa))}}function la(e,t,o){let n,r,i,a,s=0,l=e.length-1;o?(t>=e[s].pos&&t<=e[l].pos&&({lo:s,hi:l}=De(e,"pos",t)),({pos:n,time:i}=e[s]),({pos:r,time:a}=e[l])):(t>=e[s].time&&t<=e[l].time&&({lo:s,hi:l}=De(e,"time",t)),({time:n,pos:i}=e[s]),({time:r,pos:a}=e[l]));const c=r-n;return c?i+(a-i)*(t-n)/c:i}var ca=Object.freeze({__proto__:null,CategoryScale:class extends Yn{static id="category";static defaults={ticks:{callback:Ii}};constructor(e){super(e),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){const t=this._addedLabels;if(t.length){const e=this.getLabels();for(const{index:o,label:n}of t)e[o]===n&&e.splice(o,1);this._addedLabels=[]}super.init(e)}parse(e,t){if(L(e))return null;const o=this.getLabels();return((e,t)=>null===e?null:Pe(Math.round(e),0,t))(t=isFinite(t)&&o[t]===e?t:function(e,t,o,n){const r=e.indexOf(t);return-1===r?((e,t,o,n)=>("string"==typeof t?(o=e.push(t)-1,n.unshift({index:o,label:t})):isNaN(t)&&(o=null),o))(e,t,o,n):r!==e.lastIndexOf(t)?o:r}(o,e,G(t,e),this._addedLabels),o.length-1)}determineDataLimits(){const{minDefined:e,maxDefined:t}=this.getUserBounds();let{min:o,max:n}=this.getMinMax(!0);"ticks"===this.options.bounds&&(e||(o=0),t||(n=this.getLabels().length-1)),this.min=o,this.max=n}buildTicks(){const e=this.min,t=this.max,o=this.options.offset,n=[];let r=this.getLabels();r=0===e&&t===r.length-1?r:r.slice(e,t+1),this._valueRange=Math.max(r.length-(o?0:1),1),this._startValue=this.min-(o?.5:0);for(let o=e;o<=t;o++)n.push({value:o});return n}getLabelForValue(e){return Ii.call(this,e)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(e){return"number"!=typeof e&&(e=this.parse(e)),null===e?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getPixelForTick(e){const t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}},LinearScale:zi,LogarithmicScale:Ui,RadialLinearScale:Ki,TimeScale:sa,TimeSeriesScale:class extends sa{static id="timeseries";static defaults=sa.defaults;constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const e=this._getTimestampsForTable(),t=this._table=this.buildLookupTable(e);this._minPos=la(t,this.min),this._tableRange=la(t,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){const{min:t,max:o}=this,n=[],r=[];let i,a,s,l,c;for(i=0,a=e.length;i<a;++i)l=e[i],l>=t&&l<=o&&n.push(l);if(n.length<2)return[{time:t,pos:0},{time:o,pos:1}];for(i=0,a=n.length;i<a;++i)c=n[i+1],s=n[i-1],l=n[i],Math.round((c+s)/2)!==l&&r.push({time:l,pos:i/(a-1)});return r}_generate(){const e=this.min,t=this.max;let o=super.getDataTimestamps();return o.includes(e)&&o.length||o.splice(0,0,e),o.includes(t)&&1!==o.length||o.push(t),o.sort(((e,t)=>e-t))}_getTimestampsForTable(){let e=this._cache.all||[];if(e.length)return e;const t=this.getDataTimestamps(),o=this.getLabelTimestamps();return e=t.length&&o.length?this.normalize(t.concat(o)):t.length?t:o,e=this._cache.all=e,e}getDecimalForValue(e){return(la(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){const t=this._offsets,o=this.getDecimalForPixel(e)/t.factor-t.end;return la(this._table,o*this._tableRange+this._minPos,!0)}}});const pa=[Ko,Fr,Ri,ca];_r.register(...pa);var ua=o(5795),da=o(9491),ya=o(596),ga=o(5255),ma=o(790),va=function(e){var t,o=e.elementId,n=e.enableContent,r=e.chartType,i=e.chartContent;t=e.chartItems.length>1;var s=(0,ga.getDeviceType)();return[{id:"activate-notice",component:ya.AlertControl,show:t&&"percentage"===i,children:(0,ma.jsx)(ma.Fragment,{children:(0,ma.jsx)("span",{children:(0,a.__)("The Chart has more than 1 item, Max Value will be used instead of 100 for the percentage.","gutenverse")})})},{id:"chartContent",label:(0,a.__)("Indicator Content","gutenverse"),component:ya.SelectControl,options:[{label:(0,a.__)("None"),value:"none"},{label:(0,a.__)("Percentage"),value:"percentage"},{label:(0,a.__)("Icon"),value:"icon"},{label:(0,a.__)("Number"),value:"number"}]},{id:"indicatorIconSize",label:(0,a.__)("Icon Size","gutenverse"),component:ya.SizeControl,allowDeviceControl:!0,show:"icon"===i,units:{px:{text:"px",min:1,max:100,step:1},em:{text:"em",min:.1,max:3,step:.1}},liveStyle:[{type:"unitPoint",id:"indicatorIconSize",responsive:!0,selector:".editor-styles-wrapper .".concat(o," .chart-content .chart-inside > i"),properties:[{name:"font-size",valueType:"direct"}]}]},{id:"minValue",label:(0,a.__)("Min Value","gutenverse"),show:"bar"===r&&"number"===i,component:ya.RangeControl,min:0,max:5e3,step:10},{id:"totalValue",label:(0,a.__)("Max Value","gutenverse"),description:(0,a.__)("If Chart has more than 1 item or Chart Content is Number, Max Value will be used","gutenverse"),component:ya.RangeControl,min:0,max:5e3,step:10},{id:"animationDuration",label:(0,a.__)("Animation Duration","gutenverse"),component:ya.RangeControl,min:0,max:1e4,step:10},{id:"enableContent",label:(0,a.__)("Enable Content","gutenverse"),component:ya.CheckboxControl,allowDeviceControl:!0,usePreviousDeviceValue:!0,usePreviousDevice:!0,deviceValues:n},{id:"titleTag",show:n&&n[s],label:(0,a.__)("Title Tag","gutenverse"),component:ya.SelectControl,options:[{label:(0,a.__)("H1"),value:"h1"},{label:(0,a.__)("H2"),value:"h2"},{label:(0,a.__)("H3"),value:"h3"},{label:(0,a.__)("H4"),value:"h4"},{label:(0,a.__)("H5"),value:"h5"},{label:(0,a.__)("H6"),value:"h6"},{label:(0,a.__)("SPAN"),value:"span"}]},{id:"contentType",show:n&&n[s],label:(0,a.__)("Content Type","gutenverse"),component:ya.SelectControl,allowDeviceControl:!0,options:[{label:(0,a.__)("Static"),value:"column-reverse"},{label:(0,a.__)("Flip card"),value:"flipCard"},{label:(0,a.__)("Float Left"),value:"row"},{label:(0,a.__)("Float Right"),value:"row-reverse"}]}]},ha=function(e){var t=e.chartType;return[{id:"chartType",label:(0,a.__)("Chart type","gutenverse"),component:ya.SelectControl,options:[{label:(0,a.__)("Pie"),value:"doughnut"},{label:(0,a.__)("Bar"),value:"bar"}]},{id:"legendDisplay",show:"doughnut"!==t,label:(0,a.__)("Show Legend","gutenverse"),component:ya.CheckboxControl},{id:"tooltipDisplay",label:(0,a.__)("Show tooltip","gutenverse"),component:ya.CheckboxControl}]},ba=function(e){var t,o=e.chartContent;return t=e.chartItems.length>1,[{id:"activate-notice",component:ya.AlertControl,show:!t&&"number"!==o,children:(0,ma.jsx)(ma.Fragment,{children:(0,ma.jsx)("span",{children:(0,a.__)("If Chart has more than 1 item, Max Value will be used instead of the percentage.","gutenverse")})})},{id:"chartItems",component:ya.RepeaterControl,titleFormat:'<strong><%= value.label ? value.label : "Chart Item" %></strong>',repeaterDefault:{label:"Chart Item",value:"20",backgroundColor:{r:Math.floor(256*Math.random()),g:Math.floor(256*Math.random()),b:Math.floor(256*Math.random()),a:1},colorGradientOne:{r:Math.floor(256*Math.random()),g:Math.floor(256*Math.random()),b:Math.floor(256*Math.random()),a:1},colorGradientTwo:{r:Math.floor(256*Math.random()),g:Math.floor(256*Math.random()),b:Math.floor(256*Math.random()),a:1},gradientDirection:"topBottom",barThickness:20,borderColor:{r:Math.floor(256*Math.random()),g:Math.floor(256*Math.random()),b:Math.floor(256*Math.random()),a:1},borderWidth:0},options:[{id:"label",label:(0,a.__)("Label","gutenverse"),component:ya.TextControl},{id:"value",label:(0,a.__)("Value","gutenverse"),component:ya.RangeControl,min:0,max:500,step:1},{id:"colorMode",label:(0,a.__)("Color Mode","gutenverse"),component:ya.SelectControl,options:[{label:(0,a.__)("Default","gutenverse"),value:"default"},{label:(0,a.__)("Gradient","gutenverse"),value:"gradient"}]},{id:"colorGradientOne",show:function(e){return"gradient"===e.colorMode},label:(0,a.__)("Gradient Color 1","gutenverse"),component:ya.ColorControl},{id:"colorGradientTwo",show:function(e){return"gradient"===e.colorMode},label:(0,a.__)("Gradient Color 2","gutenverse"),component:ya.ColorControl},{id:"gradientDirection",label:(0,a.__)("Gradient Direction","gutenverse"),show:function(e){return"gradient"===e.colorMode},component:ya.SelectControl,options:[{label:(0,a.__)("Top to Bottom","gutenverse"),value:"topBottom"},{label:(0,a.__)("Left to Right","gutenverse"),value:"leftRight"},{label:(0,a.__)("Bottom to Top","gutenverse"),value:"bottomTop"},{label:(0,a.__)("Right to Left","gutenverse"),value:"rightLeft"}]},{id:"gradientPosition",label:(0,a.__)("Gradient Position","gutenverse"),component:ya.RangeControl,min:0,max:500,step:1,unit:"px"},{id:"backgroundColor",show:function(e){return"default"===e.colorMode||void 0===e.colorMode},label:(0,a.__)("Color","gutenverse"),component:ya.ColorControl},{id:"borderColor",label:(0,a.__)("Border Color","gutenverse"),component:ya.ColorControl},{id:"borderWidth",label:(0,a.__)("Border Width","gutenverse"),component:ya.RangeControl,min:0,max:10,step:1}]}]},fa=o(2802),xa=o(234),wa=o(1205),Sa=function(e){var t=e.elementId,o=e.chartType,n=e.chartContent;return[{id:"chartContentAlign",label:(0,a.__)("Chart Alignment","gutenverse"),allowDeviceControl:!0,component:ya.IconRadioControl,options:[{label:(0,a.__)("Align Left","gutenverse"),value:"baseline",icon:(0,ma.jsx)(fa.A,{})},{label:(0,a.__)("Align Center","gutenverse"),value:"center",icon:(0,ma.jsx)(xa.A,{})},{label:(0,a.__)("Align Right","gutenverse"),value:"end",icon:(0,ma.jsx)(wa.A,{})}]},{id:"chartContainerSize",label:(0,a.__)("Chart Container Size","gutenverse"),component:ya.RangeControl,allowDeviceControl:!0,isParseFloat:!0,unit:"%",min:0,max:100,step:1,liveStyle:[{type:"plain",id:"chartContainerSize",responsive:!0,properties:[{name:"width",valueType:"pattern",pattern:"{value}% !important",patternValues:{value:{type:"direct",key:"chartContainerSize"}}}],selector:".".concat(t," .chart-content.content-chart")}]},{id:"chartSize",label:(0,a.__)("Chart Size","gutenverse"),component:ya.RangeControl,allowDeviceControl:!0,isParseFloat:!0,unit:"px",min:0,max:250,step:1,liveStyle:[{type:"plain",id:"chartSize",responsive:!0,properties:[{name:"width",valueType:"pattern",pattern:"{value}px !important",patternValues:{value:{type:"direct",key:"chartSize"}}}],selector:".".concat(t," .chart-inside.type-doughnut, .").concat(t," .chart-container")},{type:"plain",id:"chartSize",responsive:!0,properties:[{name:"width",valueType:"pattern",pattern:"{value}px !important; height: {value}px !important",patternValues:{value:{type:"direct",key:"chartSize"}}}],selector:".".concat(t," canvas")}]},{id:"cutout",label:(0,a.__)("Cutout Percentage","gutenverse"),component:ya.RangeControl,show:"doughnut"===o,unit:"%",min:0,max:100,step:1,allowDeviceControl:!0},{id:"barThickness",label:(0,a.__)("Bar Thickness","gutenverse"),component:ya.RangeControl,show:"bar"===o,unit:"px",min:0,max:250,step:1},{id:"cutoutBackground",label:(0,a.__)("Bar Background","gutenverse"),show:"doughnut"===o,component:ya.ColorControl},{id:"indicatorColor",label:(0,a.__)("Indicator Color","gutenverse"),show:"none"!==n,component:ya.ColorControl,liveStyle:[{type:"color",id:"indicatorColor",selector:".".concat(t," .chart-content .chart-inside > *"),properties:[{name:"color",valueType:"direct"}]}]},{id:"indicatorTypography",label:(0,a.__)("Indicator Typography","gutenverse"),show:"none"!==n,component:ya.TypographyControl}]},_a=o(1609),ja=o.n(_a),Ta=o(2736),Oa=o.n(Ta);function Ca(){return Ca=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},Ca.apply(this,arguments)}var ka=(0,_a.forwardRef)((function(e,t){var o=e.color,n=void 0===o?"currentColor":o,r=e.size,i=void 0===r?24:r,a=function(e,t){if(null==e)return{};var o,n,r=function(e,t){if(null==e)return{};var o,n,r={},i=Object.keys(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||(r[o]=e[o]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}(e,["color","size"]);return ja().createElement("svg",Ca({ref:t,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),ja().createElement("line",{x1:"21",y1:"10",x2:"3",y2:"10"}),ja().createElement("line",{x1:"21",y1:"6",x2:"3",y2:"6"}),ja().createElement("line",{x1:"21",y1:"14",x2:"3",y2:"14"}),ja().createElement("line",{x1:"21",y1:"18",x2:"3",y2:"18"}))}));ka.propTypes={color:Oa().string,size:Oa().oneOfType([Oa().string,Oa().number])},ka.displayName="AlignJustify";const Pa=ka;var Na=function(e){var t=e.elementId,o=e.enableContent,n=(0,ga.getDeviceType)();return[{id:"activate-notice",component:ya.AlertControl,show:!o[n]||void 0===o[n],children:(0,ma.jsx)(ma.Fragment,{children:(0,ma.jsx)("span",{children:(0,a.__)("Enable content to use these options.","gutenverse")})})},{id:"cardBackground",label:(0,a.__)("Card Background","gutenverse"),component:ya.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],show:o[n],liveStyle:[{type:"background",id:"cardBackground",selector:".".concat(t," .chart-content.content-card,\n .").concat(t,".Desktop-noFlip .chart-content.content-card,\n .").concat(t,".Tablet-noFlip .chart-content.content-card,\n .").concat(t,".Mobile-noFlip .chart-content.content-card")}]},{id:"paddingCard",label:(0,a.__)("Card Padding","gutenverse"),component:ya.DimensionControl,position:["top","right","bottom","left"],show:o[n],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"cardBorder",label:(0,a.__)("Card Border","gutenverse"),component:ya.BorderResponsiveControl,show:o[n],allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"cardBorder",responsive:!0,selector:".".concat(t," .chart-content.content-card,\n .").concat(t,".Desktop-noFlip .chart-content.content-card,\n .").concat(t,".Tablet-noFlip .chart-content.content-card,\n .").concat(t,".Mobile-noFlip .chart-content.content-card")}]},{id:"cardBoxShadow",label:(0,a.__)("Card Box Shadow","gutenverse"),show:o[n],component:ya.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t," .chart-content.content-card,\n .").concat(t,".Desktop-noFlip .chart-content.content-card,\n .").concat(t,".Tablet-noFlip .chart-content.content-card,\n .").concat(t,".Mobile-noFlip .chart-content.content-card")}]},{id:"chartCardHeadingTitle",component:ya.HeadingControl,show:o[n],label:(0,a.__)("Title","gutenverse")},{id:"cardTitleAlign",label:(0,a.__)("Title Alignment","gutenverse"),allowDeviceControl:!0,component:ya.IconRadioControl,show:o[n],options:[{label:(0,a.__)("Align Left","gutenverse"),value:"left",icon:(0,ma.jsx)(fa.A,{})},{label:(0,a.__)("Align Center","gutenverse"),value:"center",icon:(0,ma.jsx)(xa.A,{})},{label:(0,a.__)("Align Right","gutenverse"),value:"right",icon:(0,ma.jsx)(wa.A,{})},{label:(0,a.__)("Align Justify","gutenverse"),value:"justify",icon:(0,ma.jsx)(Pa,{})}]},{id:"cardTitleColor",label:(0,a.__)("Title Color","gutenverse"),component:ya.ColorControl,show:o[n],liveStyle:[{type:"color",id:"cardTitleColor",selector:".".concat(t," .chart-content.content-card .chart-title,\n .").concat(t,".Desktop-noFlip .chart-content.content-card .chart-title,\n .").concat(t,".Tablet-noFlip .chart-content.content-card .chart-title,\n .").concat(t,".Mobile-noFlip .chart-content.content-card .chart-title"),properties:[{name:"color",valueType:"direct"}]}]},{id:"cardTitleTypography",label:(0,a.__)("Title Typography","gutenverse"),component:ya.TypographyControl,show:o[n]},{id:"cardTitleTextShadow",label:(0,a.__)("Title Text Shadow","gutenverse"),show:o[n],component:ya.TextShadowControl,liveStyle:[{type:"textShadow",id:"cardTitleTextShadow",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(t," .chart-content.content-card .chart-title,\n .").concat(t,".Desktop-noFlip .chart-content.content-card .chart-title,\n .").concat(t,".Tablet-noFlip .chart-content.content-card .chart-title,\n .").concat(t,".Mobile-noFlip .chart-content.content-card .chart-title")}]},{id:"marginCardTitle",label:(0,a.__)("Card Title Margin","gutenverse"),component:ya.DimensionControl,position:["top","right","bottom","left"],show:o[n],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"chartCardHeadingdescription",component:ya.HeadingControl,show:o[n],label:(0,a.__)("Description","gutenverse")},{id:"cardDescriptionAlign",label:(0,a.__)("Description Alignment","gutenverse"),allowDeviceControl:!0,component:ya.IconRadioControl,show:o[n],options:[{label:(0,a.__)("Align Left","gutenverse"),value:"left",icon:(0,ma.jsx)(fa.A,{})},{label:(0,a.__)("Align Center","gutenverse"),value:"center",icon:(0,ma.jsx)(xa.A,{})},{label:(0,a.__)("Align Right","gutenverse"),value:"right",icon:(0,ma.jsx)(wa.A,{})},{label:(0,a.__)("Align Justify","gutenverse"),value:"justify",icon:(0,ma.jsx)(Pa,{})}]},{id:"cardDescriptionColor",label:(0,a.__)("Description Color","gutenverse"),show:o[n],component:ya.ColorControl,liveStyle:[{type:"color",id:"cardDescriptionColor",selector:".".concat(t," .chart-content.content-card .chart-description,\n .").concat(t,".Desktop-noFlip .chart-content.content-card .chart-description,\n .").concat(t,".Tablet-noFlip .chart-content.content-card .chart-description,\n .").concat(t,".Mobile-noFlip .chart-content.content-card .chart-description"),properties:[{name:"color",valueType:"direct"}]}]},{id:"cardDescriptionTypography",label:(0,a.__)("Description Typography","gutenverse"),show:o[n],component:ya.TypographyControl},{id:"cardDescriptionTextShadow",label:(0,a.__)("Description Text Shadow","gutenverse"),show:o[n],component:ya.TextShadowControl,liveStyle:[{type:"textShadow",id:"cardDescriptionTextShadow",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(t," .chart-content.content-card .chart-description,\n .").concat(t,".Desktop-noFlip .chart-content.content-card .chart-description,\n .").concat(t,".Tablet-noFlip .chart-content.content-card .chart-description,\n .").concat(t,".Mobile-noFlip .chart-content.content-card .chart-description")}]},{id:"marginCardDescription",label:(0,a.__)("Card Description Margin","gutenverse"),component:ya.DimensionControl,position:["top","right","bottom","left"],show:o[n],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}}]};function Ea(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Da(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ea(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ea(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var Ba=function(){return[{title:(0,a.__)("Setting","gutenverse"),initialOpen:!0,panelArray:ha,tabRole:ya.TabSetting},{title:(0,a.__)("Content","gutenverse"),initialOpen:!1,panelArray:va,tabRole:ya.TabSetting},{title:(0,a.__)("Chart Item","gutenverse"),initialOpen:!1,panelArray:ba,tabRole:ya.TabSetting},{title:(0,a.__)("Card Style","gutenverse"),initialOpen:!1,panelArray:Na,tabRole:ya.TabStyle},{title:(0,a.__)("Chart Style","gutenverse"),initialOpen:!1,panelArray:Sa,tabRole:ya.TabStyle},{title:(0,a.__)("Background","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,ya.backgroundPanel)(Da(Da({},e),{},{styleId:"nav-menu-background",normalOptions:["default","gradient"],hoverOptions:["default","gradient"]}))},tabRole:ya.TabStyle},{title:(0,a.__)("Border","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,ya.borderPanel)(Da(Da({},e),{},{styleId:"nav-menu-border"}))},tabRole:ya.TabStyle},{title:(0,a.__)("Masking","gutenverse"),initialOpen:!1,panelArray:ya.maskPanel,tabRole:ya.TabStyle},{title:(0,a.__)("Display","gutenverse"),initialOpen:!1,panelArray:ya.responsivePanel,tabRole:ya.TabSetting},{title:(0,a.__)("Positioning","gutenverse"),initialOpen:!1,panelArray:ya.positioningPanel,tabRole:ya.TabSetting},{title:(0,a.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,ya.animationPanel)(Da(Da({},e),{},{styleId:"nav-menu-animation"}))},tabRole:ya.TabSetting},{title:(0,a.__)("Transform","gutenverse"),initialOpen:!1,panelArray:ya.transformPanel,pro:!0},{title:(0,a.__)("Mouse Move Effect","gutenverse"),initialOpen:!1,panelArray:ya.mouseMoveEffectPanel,tabRole:ya.TabSetting,pro:!0},{title:(0,a.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,ya.advancePanel)(Da(Da({},e),{},{styleId:"nav-menu-advance"}))},tabRole:ya.TabSetting},{title:(0,a.__)("Condition","gutenverse"),panelArray:ya.conditionPanel,initialOpen:!1,pro:!0}]},Aa=o(2619),Ha=o(4320);function Ra(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Ia(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ra(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ra(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var Ma=function(e){var t=e.type,o=(0,Ha.getColor)(e||{r:255,g:255,b:255,a:0});if("variable"===t){var n=document.createElement("div");document.body.appendChild(n),n.style.setProperty("color",o);var i=getComputedStyle(n).color;document.body.removeChild(n);var a=i.match(/\d+/g);if(!a||a.length<3)return null;var s=a.map(Number),l=(0,r.A)(s,3),c=l[0],p=l[1],u=l[2];return"rgba(".concat(c,", ").concat(p,", ").concat(u,", 1)")}return o},La=o(4404),za=o(1222);const Fa=function(e,t){var o=[];return(0,za.isNotEmpty)(t.contentType)&&o.push({type:"plain",id:"contentType",selector:".".concat(e,", .").concat(e,".Mobile-noFlip, .").concat(e,".Desktop-noFlip, .").concat(e,".Tablet-noFlip"),properties:[{name:"flex-direction",valueType:"direct"}],responsive:!0}),(0,za.isNotEmpty)(t.cardBackground)&&o.push({type:"background",id:"cardBackground",selector:".".concat(e," .chart-content.content-card,\n .").concat(e,".Desktop-noFlip .chart-content.content-card,\n .").concat(e,".Tablet-noFlip .chart-content.content-card,\n .").concat(e,".Mobile-noFlip .chart-content.content-card")}),(0,za.isNotEmpty)(t.paddingCard)&&o.push({type:"dimension",id:"paddingCard",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e," .chart-content.content-card,\n .").concat(e,".Desktop-noFlip .chart-content.content-card,\n .").concat(e,".Tablet-noFlip .chart-content.content-card,\n .").concat(e,".Mobile-noFlip .chart-content.content-card")}),(0,za.isNotEmpty)(t.cardBorder)&&o.push({type:"borderResponsive",id:"cardBorder",responsive:!0,selector:".".concat(e," .chart-content.content-card,\n .").concat(e,".Desktop-noFlip .chart-content.content-card,\n .").concat(e,".Tablet-noFlip .chart-content.content-card,\n .").concat(e,".Mobile-noFlip .chart-content.content-card")}),(0,za.isNotEmpty)(t.cardBoxShadow)&&o.push({type:"boxShadow",id:"cardBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e," .chart-content.content-card,\n .").concat(e,".Desktop-noFlip .chart-content.content-card,\n .").concat(e,".Tablet-noFlip .chart-content.content-card,\n .").concat(e,".Mobile-noFlip .chart-content.content-card")}),(0,za.isNotEmpty)(t.cardTitleAlign)&&o.push({type:"plain",id:"cardTitleAlign",selector:".".concat(e," .chart-content.content-card .chart-title,\n .").concat(e,".Desktop-noFlip .chart-content.content-card .chart-title,\n .").concat(e,".Tablet-noFlip .chart-content.content-card .chart-title,\n .").concat(e,".Mobile-noFlip .chart-content.content-card .chart-title"),properties:[{name:"text-align",valueType:"direct"}],responsive:!0}),(0,za.isNotEmpty)(t.cardTitleColor)&&o.push({type:"color",id:"cardTitleColor",selector:".".concat(e," .chart-content.content-card .chart-title,\n .").concat(e,".Desktop-noFlip .chart-content.content-card .chart-title,\n .").concat(e,".Tablet-noFlip .chart-content.content-card .chart-title,\n .").concat(e,".Mobile-noFlip .chart-content.content-card .chart-title"),properties:[{name:"color",valueType:"direct"}]}),(0,za.isNotEmpty)(t.cardTitleTypography)&&o.push({type:"typography",id:"cardTitleTypography",selector:".".concat(e," .chart-content.content-card .chart-title,\n .").concat(e,".Desktop-noFlip .chart-content.content-card .chart-title,\n .").concat(e,".Tablet-noFlip .chart-content.content-card .chart-title,\n .").concat(e,".Mobile-noFlip .chart-content.content-card .chart-title")}),(0,za.isNotEmpty)(t.cardTitleTextShadow)&&o.push({type:"textShadow",id:"cardTitleTextShadow",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(e," .chart-content.content-card .chart-title,\n .").concat(e,".Desktop-noFlip .chart-content.content-card .chart-title,\n .").concat(e,".Tablet-noFlip .chart-content.content-card .chart-title,\n .").concat(e,".Mobile-noFlip .chart-content.content-card .chart-title")}),(0,za.isNotEmpty)(t.marginCardTitle)&&o.push({type:"dimension",id:"marginCardTitle",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e," .chart-content.content-card .chart-title,\n .").concat(e,".Desktop-noFlip .chart-content.content-card .chart-title,\n .").concat(e,".Tablet-noFlip .chart-content.content-card .chart-title,\n .").concat(e,".Mobile-noFlip .chart-content.content-card .chart-title")}),(0,za.isNotEmpty)(t.cardDescriptionTypography)&&o.push({type:"typography",id:"cardDescriptionTypography",selector:".".concat(e," .chart-content.content-card .chart-description,\n .").concat(e,".Desktop-noFlip .chart-content.content-card .chart-description,\n .").concat(e,".Tablet-noFlip .chart-content.content-card .chart-description,\n .").concat(e,".Mobile-noFlip .chart-content.content-card .chart-description")}),(0,za.isNotEmpty)(t.cardDescriptionTextShadow)&&o.push({type:"textShadow",id:"cardDescriptionTextShadow",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(e," .chart-content.content-card .chart-description,\n .").concat(e,".Desktop-noFlip .chart-content.content-card .chart-description,\n .").concat(e,".Tablet-noFlip .chart-content.content-card .chart-description,\n .").concat(e,".Mobile-noFlip .chart-content.content-card .chart-description")}),(0,za.isNotEmpty)(t.marginCardDescription)&&o.push({type:"dimension",id:"marginCardDescription",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e," .chart-content.content-card .chart-description,\n .").concat(e,".Desktop-noFlip .chart-content.content-card .chart-description,\n .").concat(e,".Tablet-noFlip .chart-content.content-card .chart-description,\n .").concat(e,".Mobile-noFlip .chart-content.content-card .chart-description")}),(0,za.isNotEmpty)(t.cardDescriptionAlign)&&o.push({type:"plain",id:"cardDescriptionAlign",selector:".".concat(e," .chart-content.content-card .chart-description,\n .").concat(e,".Desktop-noFlip .chart-content.content-card .chart-description,\n .").concat(e,".Tablet-noFlip .chart-content.content-card .chart-description,\n .").concat(e,".Mobile-noFlip .chart-content.content-card .chart-description"),properties:[{name:"text-align",valueType:"direct"}],responsive:!0}),(0,za.isNotEmpty)(t.cardDescriptionColor)&&o.push({type:"color",id:"cardDescriptionColor",selector:".".concat(e," .chart-content.content-card .chart-description,\n .").concat(e,".Desktop-noFlip .chart-content.content-card .chart-description,\n .").concat(e,".Tablet-noFlip .chart-content.content-card .chart-description,\n .").concat(e,".Mobile-noFlip .chart-content.content-card .chart-description"),properties:[{name:"color",valueType:"direct"}]}),(0,za.isNotEmpty)(t.chartContentAlign)&&o.push({type:"plain",id:"chartContentAlign",selector:".".concat(e," .chart-content.content-chart"),properties:[{name:"align-items",valueType:"direct"}],responsive:!0}),(0,za.isNotEmpty)(t.chartContainerSize)&&o.push({type:"plain",id:"chartContainerSize",responsive:!0,properties:[{name:"width",valueType:"pattern",pattern:"{value}% !important",patternValues:{value:{type:"direct",key:"chartContainerSize"}}}],selector:".".concat(e," .chart-content.content-chart")}),(0,za.isNotEmpty)(t.chartSize)&&o.push({type:"plain",id:"chartSize",responsive:!0,properties:[{name:"width",valueType:"pattern",pattern:"{value}px !important; height: {value}px !important",patternValues:{value:{type:"direct",key:"chartSize"}}}],selector:".".concat(e," canvas")}),(0,za.isNotEmpty)(t.chartSize)&&o.push({type:"plain",id:"chartSize",responsive:!0,properties:[{name:"width",valueType:"pattern",pattern:"{value}px !important",patternValues:{value:{type:"direct",key:"chartSize"}}}],selector:".".concat(e," .chart-inside.type-doughnut, .").concat(e," .chart-container")}),(0,za.isNotEmpty)(t.indicatorColor)&&o.push({type:"color",id:"indicatorColor",selector:".".concat(e," .chart-content .chart-inside > *"),properties:[{name:"color",valueType:"direct"}]}),(0,za.isNotEmpty)(t.indicatorIconSize)&&o.push({type:"unitPoint",id:"indicatorIconSize",properties:[{name:"font-size",valueType:"direct"}],selector:".editor-styles-wrapper .".concat(e," .chart-content .chart-inside > i"),responsive:!0}),(0,za.isNotEmpty)(t.indicatorTypography)&&o.push({type:"typography",id:"indicatorTypography",selector:".".concat(e," .chart-content .chart-inside > *")}),(0,za.isNotEmpty)(t.background)&&o.push({type:"background",id:"background",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,za.isNotEmpty)(t.backgroundHover)&&o.push({type:"background",id:"backgroundHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,za.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,za.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,za.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,za.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,za.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,za.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,za.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,za.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,za.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,za.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,za.isNotEmpty)(t.animation)&&(0,za.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element"),properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}]}),(0,za.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,za.isNotEmpty)(t.positioningType)&&(0,za.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,za.isNotEmpty)(t.positioningWidth)&&(0,za.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,za.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,za.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,za.isNotEmpty)(t.positioningLeft)&&(0,za.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,za.isNotEmpty)(t.positioningRight)&&(0,za.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,za.isNotEmpty)(t.positioningTop)&&(0,za.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,za.isNotEmpty)(t.positioningBottom)&&(0,za.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),[].concat(o,(0,La.A)((0,Aa.applyFilters)("gutenverse.button.blockStyle",[],{elementId:e,attributes:t})))};var Va=o(8558),Wa=o(6504),Ga=o(6427),Ua=o(4715),qa=o(3482),$a=o(6826),Ya=o(6087),Xa=(o(2774),o(2188));function Ja(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Qa(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ja(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ja(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var Za=function(e){var t=[];if(e){var o=e.Desktop,n=e.Tablet,r=e.Mobile,i="flipCard"===o,a="flipCard"===n||void 0===n&&"flipCard"===o,s="flipCard"===r||void 0===r&&a;i?t.push("Desktop-flipCard"):(a||s)&&t.push("Desktop-noFlip"),a?t.push("Tablet-flipCard"):(i||s)&&t.push("Tablet-noFlip"),s?t.push("Mobile-flipCard"):(i||a)&&t.push("Mobile-noFlip")}return t},Ka=(0,da.compose)(Xa.withPartialRender,Xa.withPassRef,(0,Xa.withCopyElementToolbar)(),Xa.withMouseMoveEffect)((function(e){var t=e.clientId,o=e.attributes,s=(e.isSelected,e.setBlockRef),l=(e.setPanelState,e.setAttributes),c=(e.panelIsClicked,e.setPanelIsClicked,o.elementId),p=o.titleTag,u=void 0===p?"h2":p,d=o.icon,y=(o.url,o.rel,o.linkTarget,o.enableContent),g=o.chartContent,m=o.tooltipDisplay,v=o.legendDisplay,h=o.chartItems,b=o.chartType,f=o.totalValue,x=o.animationDuration,w=o.contentType,S=o.minValue,_=o.cutout,j=o.barThickness,T=o.cutoutBackground,O=o.enableContentParsed,C=(0,Ya.useState)(!1),k=(0,r.A)(C,2),P=k[0],N=k[1],E=(0,$a.useAnimationEditor)(o),D=(0,$a.useDisplayEditor)(o),B=h.length>1,A=(0,ga.getDeviceType)(),H=(0,Ya.useRef)(),R=(0,Ya.useRef)(),I=(0,Ya.useRef)(),M=(0,Ya.useRef)(),L=(0,Ya.useRef)(),z=(0,Ua.useBlockProps)({ref:H,className:(0,qa.classnames)("guten-element","guten-chart",c,E,D,Za(w))});(0,Ya.useEffect)((function(){H.current&&s(H.current)}),[H]),(0,Ya.useEffect)((function(){!0===y[A]?l({enableContentParsed:Qa(Qa({},O),{},(0,n.A)({},A,"true"))}):l({enableContentParsed:Qa(Qa({},O),{},(0,n.A)({},A,"false"))})}),[y]),(0,Ya.useEffect)((function(){if(!(document.querySelectorAll(".".concat(c)).length>1)){var e,t=document.querySelector('iframe[name="editor-canvas"]');t&&(e=(t.contentDocument||t.contentWindow.document).getElementById("chart-canvas-".concat(c)));var n=document.getElementById("chart-canvas-".concat(c))||e;if(n){var r=_r.registry.getPlugin("tooltip");r&&(r.positioners.custom=function(e,t){return{x:t.x,y:t.y}});var i=function(e,t,o){var n=e.chartContent,r=e.tooltipDisplay,i=e.legendDisplay,a=e.chartItems,s=e.chartType,l=e.minValue,c=e.totalValue,p=e.animationDuration,u=e.cutout,d=e.barThickness,y=e.cutoutBackground,g=[],m=[],v=[],h=[],b=[],f=!0,x=1;a.forEach((function(e){var t;if("default"===e.colorMode||void 0===e.colorMode)t=Ma(e.backgroundColor);else{var n="";switch(e.gradientDirection){case"topBottom":n=o.getContext("2d").createLinearGradient(0,0,0,e.gradientPosition?e.gradientPosition:200);break;case"leftRight":n=o.getContext("2d").createLinearGradient(0,0,e.gradientPosition?e.gradientPosition:200,0);break;case"bottomTop":n=o.getContext("2d").createLinearGradient(0,e.gradientPosition?e.gradientPosition:200,0,0);break;case"rightLeft":n=o.getContext("2d").createLinearGradient(e.gradientPosition?e.gradientPosition:200,0,0,0)}n.addColorStop(0,Ma(e.colorGradientOne)),n.addColorStop(1,Ma(e.colorGradientTwo)),t=n}g.push(e.value),m.push(e.label),v.push(t),b.push(Ma(e.borderColor)),e.borderWidth>x&&(x=e.borderWidth),h.push(parseFloat(e.borderWidth))}));var w,S="number"===n?parseFloat(c):100,_="number"===n?parseFloat(l):0;switch(w="variable"===y.type?(0,Ha.getColorValueFromVariable)(y):(0,Ha.getColor)(Ia(Ia({},y),{},{a:1})),s){case"doughnut":var j=(0,ga.getDeviceType)(),T=g.reduce((function(e,t){return parseFloat(e)+parseFloat(t)}),0),O={id:"customBackground",beforeDraw:function(e){var t=e.ctx,o=e.getDatasetMeta(0).data[0];if(o){var n=o.x,r=o.y,i=o.outerRadius,a=o.innerRadius;t.save(),t.globalAlpha=y.a,t.fillStyle=w,t.beginPath(),t.arc(n,r,i,0,2*Math.PI),t.fill(),t.globalAlpha=1,t.globalCompositeOperation="destination-out",t.beginPath(),t.arc(n,r,a,0,2*Math.PI),t.fill(),t.globalCompositeOperation="source-over",t.restore()}}};if(T<S&&"doughnut"===s){var C=S-T;g.push(C),m.push("gutenEmptyDataSet"),v.push("rgba(255, 255, 255, 0)"),b.push("rgba(255, 255, 255, 0)"),h.push(0)}return{type:s,data:{labels:m,datasets:[{data:g,backgroundColor:v,borderColor:b,borderWidth:h}]},options:{responsive:f,maintainAspectRatio:!1,cutout:"".concat(u[j],"%"),plugins:{tooltip:{enabled:r,position:"custom",filter:function(e){return"gutenEmptyDataSet"!==e.label},callbacks:{label:function(e){return"number"===n?"".concat(e.raw," of ").concat(c):t?"".concat(e.raw,"% of ").concat(c):"".concat(e.label,": ").concat(e.raw,"%")}}},legend:{display:!1}},animation:{animateRotate:!0,duration:p,easing:"easeInOutQuart"}},plugins:[O]};case"bar":case"line":return{type:s,data:{labels:m,datasets:[{data:g,backgroundColor:v,borderColor:b,borderWidth:h,barThickness:d}]},options:{responsive:f,maintainAspectRatio:!1,scales:{y:{beginAtZero:!0,min:_,max:S}},plugins:{tooltip:{enabled:r,position:"custom",callbacks:{label:function(e){return"number"===n?"".concat(e.raw," of ").concat(c):t?"".concat(e.raw,"% of ").concat(c):"".concat(e.label,": ").concat(e.raw,"%")}}},legend:{display:i,onClick:null,labels:{generateLabels:function(e){return e.data.labels.map((function(t,o){return{text:"".concat(t),fillStyle:e.data.datasets[0].backgroundColor[o],hidden:!1,lineWidth:0,pointStyle:"circle"}}))},usePointStyle:!0}}},animation:{animateRotate:!0,duration:p,easing:"easeInOutQuart"}}}}}(o,B,n),a=new _r(n,i);return I.current=a,function(){I.current&&(I.current.destroy(),I.current=null)}}}}),[_,S,b,c,h,f,g,j,v,m,T,x]),(0,Ya.useEffect)((function(){if(R.current&&("percentage"===g||"number"===g)){var e=(0,i.A)({targets:R.current,innerHTML:B||"number"===g?[0,f]:[0,h[0].value],duration:x,easing:"cubicBezier(.02, .01, .47, 1)",round:1});return function(){return e.pause()}}}),[h,x,g,f,b]);var F=(0,ma.jsx)("div",{className:"chart-inside type-".concat(b),children:"percentage"===g||"number"===g?(0,ma.jsx)("span",{ref:R,children:B||"number"===g?"0":"0%"}):(0,ma.jsx)("i",{className:d,onClick:function(){return N(!0)}})});return(0,Ha.useGenerateElementId)(t,c,H),(0,Ha.useDynamicStyle)(c,o,Fa,H),(0,ma.jsxs)(ma.Fragment,{children:[(0,ma.jsx)(ya.BlockPanelController,{panelList:Ba,props:e,elementRef:H}),(0,ma.jsx)(Ua.BlockControls,{children:(0,ma.jsx)(Ga.ToolbarGroup,{children:"icon"===g&&(0,ma.jsx)(Ga.ToolbarButton,{name:"icon",icon:(0,ma.jsx)(Wa.LogoCircleColor24SVG,{}),title:(0,a.__)("Choose Icon","gutenverse"),shortcut:Va.displayShortcut.primary("i"),onClick:function(){return N(!0)}})})}),P&&(0,ua.createPortal)((0,ma.jsx)(ya.IconLibrary,{closeLibrary:function(){return N(!1)},value:d,onChange:function(e){return l({icon:e})}}),za.gutenverseRoot),(0,ma.jsxs)("div",Qa(Qa({},z),{},{children:[y[A]&&(0,ma.jsxs)("div",{className:"chart-content content-card",children:[(0,ma.jsx)(qa.RichTextComponent,{ref:M,classNames:"chart-title",tagName:u,"aria-label":(0,a.__)("Chart Title","gutenverse"),placeholder:(0,a.__)("Write title...","gutenverse"),onChange:function(e){return l({title:e})},multiline:!1,setAttributes:l,attributes:o,clientId:t,contentAttribute:"title"}),"doughnut"!==b&&"none"!==g?F:"",(0,ma.jsx)(qa.RichTextComponent,{ref:L,classNames:"chart-description",tagName:"p","aria-label":(0,a.__)("Chart Description","gutenverse"),placeholder:(0,a.__)("Write description...","gutenverse"),onChange:function(e){return l({description:e})},multiline:!1,setAttributes:l,attributes:o,clientId:t,contentAttribute:"description"})]}),(0,ma.jsxs)("div",{className:"chart-content content-chart",children:[(0,ma.jsx)("div",{className:"chart-container",children:(0,ma.jsx)("canvas",{id:"chart-canvas-".concat(c),width:"500",height:"500",style:{boxSizing:"border-box",height:"250px",width:"250px"}})}),"none"!==g&&"doughnut"===b?F:""]})]}))]})}));const es=Ka;function ts(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function os(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ts(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ts(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var ns=(0,da.compose)(Xa.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,n=t.titleTag,r=void 0===n?"h2":n,i=t.icon,a=(t.url,t.rel,t.linkTarget,t.enableContent,t.chartContent),s=t.tooltipDisplay,l=t.legendDisplay,c=t.chartItems,p=t.chartType,u=t.totalValue,d=t.animationDuration,y=t.contentType,g=t.minValue,m=t.cutout,v=t.barThickness,h=t.cutoutBackground,b=t.title,f=t.description,x=(0,$a.useAnimationFrontend)(t),w=(0,$a.useDisplayFrontend)(t),S=c.length>1,_=(0,qa.classnames)("guten-element","guten-chart",o,x,w,Za(y)),j=JSON.stringify({chartContent:a,tooltipDisplay:s,legendDisplay:l,chartItems:c,chartType:p,minValue:g,totalValue:u,animationDuration:d,cutout:m,barThickness:v,cutoutBackground:h,multiValue:S}),T=(0,ma.jsx)("div",{className:"chart-inside type-".concat(p),children:"percentage"===a||"number"===a?(0,ma.jsx)("span",{children:S||"number"===a?"0":"0%"}):(0,ma.jsx)("i",{className:i})});return(0,ma.jsxs)("div",os(os({},Ua.useBlockProps.save({className:_})),{},{children:[(0,ma.jsxs)("div",{className:"chart-content content-card",children:[(0,ma.jsx)(Ua.RichText.Content,{className:"chart-title",value:b,tagName:r}),"doughnut"!==p&&"none"!==a?T:"",(0,ma.jsx)(Ua.RichText.Content,{className:"chart-description",value:f,tagName:"p"})]}),(0,ma.jsxs)("div",{className:"chart-content content-chart",children:[(0,ma.jsx)("div",{className:"chart-container","data-chart":j,children:(0,ma.jsx)("canvas",{id:"chart-canvas-".concat(o),width:"500",height:"500",style:{boxSizing:"border-box",height:"250px",width:"250px"}})}),"none"!==a&&"doughnut"===p?T:""]})]}))}));const rs=ns,is=JSON.parse('{"apiVersion":2,"name":"gutenverse/chart","class_callback":"\\\\Gutenverse\\\\Block\\\\Chart","title":"Chart","description":"Create a Chart to showcase your site acheivement.","category":"gutenverse-element","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"icon":{"type":"string","default":"fas fa-chart-pie"},"indicatorIconSize":{"type":"object","copyStyle":true},"url":{"type":"string"},"chartContent":{"type":"string","default":"percentage","copyStyle":true},"chartType":{"type":"string","default":"doughnut","copyStyle":true},"tooltipDisplay":{"type":"boolean","default":false,"copyStyle":true},"legendDisplay":{"type":"boolean","default":false},"chartItems":{"type":"array","default":[{"label":"Data 1","value":"80","backgroundColor":{"r":1,"g":134,"b":255,"a":1},"colorGradientOne":{"r":4,"g":161,"b":247,"a":1},"colorGradientTwo":{"r":147,"g":0,"b":247,"a":1},"gradientDirection":"topBottom","gradientPosition":200,"barThickness":100,"borderColor":{"r":255,"g":255,"b":255,"a":1},"borderWidth":"0"}]},"totalValue":{"type":"string","default":500},"minValue":{"type":"string","default":0},"animationDuration":{"type":"string","default":3600},"enableContent":{"type":"object","default":{"Desktop":false}},"enableContentParsed":{"type":"object","default":{"Desktop":false}},"contentType":{"type":"object","copyStyle":true,"default":{"Desktop":"row"}},"cutout":{"type":"object","default":{"Desktop":"90","Tablet":"90","Mobile":"90"}},"barThickness":{"type":"string","default":"50"},"chartSize":{"type":"object","default":{"Desktop":250},"copyStyle":true},"chartContainerSize":{"type":"object","default":{"Desktop":100},"copyStyle":true},"cutoutBackground":{"type":"object","default":{"r":211,"g":211,"b":211,"a":1},"copyStyle":true},"chartContentAlign":{"type":"object","copyStyle":true},"indicatorTypography":{"type":"object","copyStyle":true},"indicatorColor":{"type":"object","copyStyle":true},"cardBackground":{"type":"object","copyStyle":true},"paddingCard":{"type":"object","copyStyle":true},"cardBorder":{"type":"object","copyStyle":true},"cardBoxShadow":{"type":"object","copyStyle":true},"cardTitleAlign":{"type":"object","copyStyle":true},"cardTitleTypography":{"type":"object","copyStyle":true},"cardTitleColor":{"type":"object","copyStyle":true},"cardTitleTextShadow":{"type":"object","default":{},"copyStyle":true},"marginCardTitle":{"type":"object","copyStyle":true},"cardDescriptionAlign":{"type":"object","copyStyle":true},"cardDescriptionTypography":{"type":"object","copyStyle":true},"cardDescriptionColor":{"type":"object","copyStyle":true},"cardDescriptionTextShadow":{"type":"object","default":{},"copyStyle":true},"marginCardDescription":{"type":"object","copyStyle":true},"rel":{"type":"string","source":"attribute","selector":"a","attribute":"rel"},"linkTarget":{"type":"string","source":"attribute","selector":"a","attribute":"target"},"title":{"type":"string","default":"Chart Title"},"titleTag":{"type":"string","default":"h2"},"description":{"type":"string","default":"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."},"background":{"type":"object","copyStyle":true},"backgroundHover":{"type":"object","copyStyle":true},"border":{"type":"object","copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"borderHover":{"type":"object","copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadowHover":{"type":"object","copyStyle":true},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"animation":{"type":"object","copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"positioningType":{"type":"object","copyStyle":true},"positioningWidth":{"type":"object","copyStyle":true},"positioningAlign":{"type":"object","copyStyle":true},"positioningLocation":{"type":"string","copyStyle":true},"positioningLeft":{"type":"object","copyStyle":true},"positioningRight":{"type":"object","copyStyle":true},"positioningTop":{"type":"object","copyStyle":true},"positioningBottom":{"type":"object","copyStyle":true},"transform":{"type":"object","copyStyle":true},"mouseMoveEffect":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"condition":{"type":"object","default":{}}},"supports":{"className":false},"keywords":["pie","chart"]}');var as=o(4889),ss=is.name,ls={icon:(0,ma.jsx)(as.Wd,{}),edit:es,save:rs}},7382:(e,t,o)=>{var n=o(6624),r=o(2050);e.exports=function(e){return r(e)&&"[object Arguments]"==n(e)}},7456:(e,t,o)=>{var n=o(6086),r=1/0;e.exports=function(e){return e?(e=n(e))===r||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},7519:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>Q,name:()=>K,settings:()=>oe});var n=o(6065),r=o(8930),i=o(9491),a=o(2188),s=o(7723),l=o(596),c=o(5255);function p(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function u(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?p(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):p(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var d=function(e){var t=e.elementId,o=e.setSwitcher,n=e.switcher,r=(0,c.getDeviceType)();return[{id:"inputPadding",label:(0,s.__)("Input Padding","gutenverse"),component:l.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"inputMargin",label:(0,s.__)("Input Margin","gutenverse"),component:l.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"placeholderColor",label:(0,s.__)("Input Placeholder Color","gutenverse"),component:l.ColorControl,allowDeviceControl:!0,liveStyle:[{type:"color",id:"placeholderColor",responsive:!0,selector:".".concat(t," .gutenverse-search-input::placeholder"),properties:[{name:"color",valueType:"direct"}]}]},{id:"inputTypography",label:(0,s.__)("Input Typography","gutenverse"),component:l.TypographyControl},{id:"__itemState",component:l.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"},{value:"focus",label:"Focus"}],onChange:function(e){var t=e.__itemState;return o(u(u({},n),{},{inputState:t}))}},{id:"inputColorNormal",show:!n.inputState||"normal"===n.inputState,label:(0,s.__)("Input Color Normal","gutenverse"),component:l.ColorControl,allowDeviceControl:!0,liveStyle:[{type:"color",id:"inputColorNormal",responsive:!0,selector:".".concat(t," .search-input-container-outer .search-input-container gutenverse-search.gutenverse-search-input"),properties:[{name:"color",valueType:"direct"}]}]},{id:"inputBgColorNormal",show:!n.inputState||"normal"===n.inputState,label:(0,s.__)("Input Background Color Normal","gutenverse"),component:l.ColorControl,allowDeviceControl:!0,liveStyle:[{type:"color",id:"inputBgColorNormal",responsive:!0,selector:".".concat(t," .search-input-container-outer .search-input-container gutenverse-search.gutenverse-search-input"),properties:[{name:"background-color",valueType:"direct"}]}]},{id:"inputBorderNormal",show:(!n.inputState||"normal"===n.inputState)&&"Desktop"===r,label:(0,s.__)("Border","gutenverse"),component:l.BorderControl,liveStyle:[{type:"border",id:"inputBorderNormal",selector:".".concat(t," .search-input-container-outer .search-input-container gutenverse-search.gutenverse-search-input")}]},{id:"inputBorderNormalResponsive",show:(!n.inputState||"normal"===n.inputState)&&"Desktop"!==r,label:(0,s.__)("Border","gutenverse"),component:l.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"inputBorderNormalResponsive",selector:".".concat(t," .search-input-container-outer .search-input-container gutenverse-search.gutenverse-search-input")}]},{id:"inputColorHover",show:"hover"===n.inputState,label:(0,s.__)("Input Color Hover","gutenverse"),component:l.ColorControl,allowDeviceControl:!0,liveStyle:[{type:"color",id:"inputColorHover",responsive:!0,selector:".".concat(t," .search-input-container-outer .search-input-container gutenverse-search.gutenverse-search-input:hover"),properties:[{name:"color",valueType:"direct"}]}]},{id:"inputBgColorHover",show:"hover"===n.inputState,label:(0,s.__)("Input Background Color Hover","gutenverse"),component:l.ColorControl,allowDeviceControl:!0,liveStyle:[{type:"color",id:"inputBgColorHover",responsive:!0,selector:".".concat(t," .search-input-container-outer .search-input-container gutenverse-search.gutenverse-search-input:hover"),properties:[{name:"background-color",valueType:"direct"}]}]},{id:"inputBorderHover",show:"hover"===n.inputState&&"Desktop"===r,label:(0,s.__)("Border","gutenverse"),component:l.BorderControl,liveStyle:[{type:"border",id:"inputBorderHover",selector:".".concat(t," .search-input-container-outer .search-input-container gutenverse-search.gutenverse-search-input:hover")}]},{id:"inputBorderHoverResponsive",show:"hover"===n.inputState&&"Desktop"!==r,label:(0,s.__)("Border","gutenverse"),component:l.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"inputBorderHoverResponsive",selector:".".concat(t," .search-input-container-outer .search-input-container gutenverse-search.gutenverse-search-input:hover")}]},{id:"inputColorFocus",show:"focus"===n.inputState,label:(0,s.__)("Input Color Focus","gutenverse"),component:l.ColorControl,allowDeviceControl:!0,liveStyle:[{type:"color",id:"inputColorFocus",responsive:!0,selector:".".concat(t," .search-input-container-outer .search-input-container gutenverse-search.gutenverse-search-input:focus"),properties:[{name:"color",valueType:"direct"}]}]},{id:"inputBgColorFocus",show:"focus"===n.inputState,label:(0,s.__)("Input Background Color Focus","gutenverse"),component:l.ColorControl,allowDeviceControl:!0,liveStyle:[{type:"color",id:"inputBgColorFocus",responsive:!0,selector:".".concat(t," .search-input-container-outer .search-input-container gutenverse-search.gutenverse-search-input:focus"),properties:[{name:"background-color",valueType:"direct"}]}]},{id:"inputBorderFocus",show:"focus"===n.inputState&&"Desktop"===r,label:(0,s.__)("Border","gutenverse"),component:l.BorderControl,liveStyle:[{type:"border",id:"inputBorderFocus",selector:".".concat(t," .search-input-container-outer .search-input-container gutenverse-search.gutenverse-search-input:focus")},{type:"plain",id:"inputBorderFocus",selector:".".concat(t," .search-input-container-outer .search-input-container gutenverse-search.gutenverse-search-input:focus-visible"),properties:[{name:"outline",valueType:"pattern",pattern:"none !important"}]}]},{id:"inputBorderFocusResponsive",show:"focus"===n.inputState&&"Desktop"!==r,label:(0,s.__)("Border","gutenverse"),component:l.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"inputBorderFocusResponsive",selector:".".concat(t," .search-input-container-outer .search-input-container gutenverse-search.gutenverse-search-input:focus")},{type:"plain",id:"inputBorderFocusResponsive",selector:".".concat(t," .search-input-container-outer .search-input-container gutenverse-search.gutenverse-search-input:focus-visible"),properties:[{name:"outline",valueType:"pattern",pattern:"none !important"}]}]},{id:"inputAreaBoxShadow",show:!n.inputState||"normal"===n.inputState,label:(0,s.__)("Box Shadow","gutenverse"),component:l.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"inputAreaBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t," .search-input-container-outer .search-input-container gutenverse-search.gutenverse-search-input, .").concat(t," .guten-button-wrapper .guten-button")}]},{id:"inputAreaBoxShadowHover",show:"hover"===n.inputState,label:(0,s.__)("Hover Box Shadow","gutenverse"),component:l.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"inputAreaBoxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t," .search-input-container-outer .search-input-container gutenverse-search.gutenverse-search-input:hover, .").concat(t," .guten-button-wrapper .guten-button:hover")}]},{id:"inputAreaBoxShadowFocus",show:"focus"===n.inputState,label:(0,s.__)("Focus Box Shadow","gutenverse"),component:l.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"inputAreaBoxShadowFocus",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t," .search-input-container-outer .search-input-container gutenverse-search.gutenverse-search-input:hover, .").concat(t," .guten-button-wrapper .guten-button:focus")}]}]},y=o(3482),g=o(1222),m=o(790),v=function(e){var t=e.elementId,o=e.formStyle,r=e.inputWidth,i=(0,c.getDeviceType)();return r[i]&&r[i],[{id:"inputPlaceholder",label:(0,s.__)("Input Placeholder","gutenverse"),component:l.TextControl},{id:"showButton",label:(0,s.__)("Show Button","gutenverse"),component:l.CheckboxControl},{id:"formStyle",label:(0,s.__)("Form Style","gutenverse"),component:l.SelectControl,allowDeviceControl:!0,options:[{label:"Inline",value:"fit-content"},{label:"Full WIdth",value:"100%"}]},{id:"inputHeight",label:(0,s.__)("Height","gutenverse"),component:l.RangeControl,allowDeviceControl:!0,unit:"px",min:1,max:1e3,step:1,liveStyle:[{type:"plain",id:"inputHeight",responsive:!0,properties:[{name:"height",valueType:"pattern",pattern:"{value}px !important",patternValues:{value:{type:"direct"}}}],selector:".".concat(t," .gutenverse-search.gutenverse-search-input, .").concat(t," .guten-button-wrapper .guten-button ")}]},{id:"inputWidth",label:(0,s.__)("Input Width","gutenverse"),component:l.SizeControl,allowDeviceControl:!0,min:1,max:1e3,step:1,units:(0,n.A)((0,n.A)({px:{text:"px",min:1,max:1e3,step:1,unit:"px"}},"%",{text:"%",min:1,max:100,step:1,unit:"%"}),"vw",{text:"vw",min:1,max:100,step:1,unit:"vw"}),liveStyle:[{type:"unitPoint",id:"inputWidth",responsive:!0,selector:".".concat(t," .search-input-container-outer"),properties:[{name:"width",valueType:"direct"}]}]},{id:"buttonWidth",label:(0,s.__)("Button Container Width","gutenverse"),component:l.SizeControl,allowDeviceControl:!0,min:1,max:1e3,step:1,units:(0,n.A)((0,n.A)({px:{text:"px",min:1,max:1e3,step:1,unit:"px"}},"%",{text:"%",min:1,max:100,step:1,unit:"%"}),"vw",{text:"vw",min:1,max:100,step:1,unit:"vw"}),liveStyle:[(0,g.isNotEmpty)(o)&&"100%"!==o[i]&&{type:"unitPoint",id:"buttonWidth",selector:".".concat(t," .gutenverse-search-form .guten-search-button-wrapper"),properties:[{name:"width",valueType:"direct",important:!0}],responsive:!0},{type:"plain",id:"buttonWidth",selector:".".concat(t," .search-input-container-outer"),properties:[{name:"max-width",valueType:"function",functionName:"searchButtonContainerWidth"}],skip_device:["Mobile"],responsive:!0}]},{id:"alignContent",label:(0,s.__)("Alignment","gutenverse"),component:l.IconRadioControl,allowDeviceControl:!0,options:[{label:(0,s.__)("Align Left","gutenverse"),value:"flex-start",icon:(0,m.jsx)(y.AlignLeft,{})},{label:(0,s.__)("Align Center","gutenverse"),value:"center",icon:(0,m.jsx)(y.AlignCenter,{})},{label:(0,s.__)("Align Right","gutenverse"),value:"flex-end",icon:(0,m.jsx)(y.AlignRight,{})}]}]},h=function(){return[{id:"closeIcon",label:(0,s.__)("Select Close Icon","gutenverse"),component:l.IconControl}]};function b(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function f(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?b(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):b(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var x=function(e){var t=e.elementId,o=e.switcher,n=e.setSwitcher;return[{id:"closeIconSize",label:(0,s.__)("Close Icon Size","gutenverse"),component:l.RangeControl,min:10,max:300,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"closeIconSize",responsive:!0,selector:".".concat(t," .gutenverse-search-form .search-input-container .close-icon"),properties:[{name:"font-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"closeIconRotate",label:(0,s.__)("Close Icon Rotate","gutenverse"),component:l.RangeControl,min:1,max:360,step:1,allowDeviceControl:!0,unit:"deg",liveStyle:[{type:"plain",id:"closeIconRotate",responsive:!0,selector:".".concat(t," .gutenverse-search-form .search-input-container .close-icon"),properties:[{name:"transform",valueType:"pattern",pattern:"rotate({value}deg)",patternValues:{value:{type:"direct"}}}]}]},{id:"closeIconPadding",label:(0,s.__)("Close Icon Padding","gutenverse"),component:l.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"closeIconMargin",label:(0,s.__)("Close Icon Margin","gutenverse"),component:l.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"__iconHover",component:l.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__iconHover;return n(f(f({},o),{},{iconStyle:t}))}},{id:"closeIconColor",show:!o.iconStyle||"normal"===o.iconStyle,label:(0,s.__)("Normal Color","gutenverse"),component:l.ColorControl,allowDeviceControl:!0,liveStyle:[{type:"color",id:"closeIconColor",responsive:!0,selector:".".concat(t," .gutenverse-search-form .search-input-container .close-icon"),properties:[{name:"color",valueType:"direct"}]}]},{id:"closeIconColorHover",show:"hover"===o.iconStyle,label:(0,s.__)("Hover Color","gutenverse"),component:l.ColorControl,allowDeviceControl:!0,liveStyle:[{type:"color",id:"closeIconColorHover",responsive:!0,selector:".".concat(t," .gutenverse-search-form .search-input-container:hover .icon"),properties:[{name:"color",valueType:"direct"}]}]}]};function w(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function S(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?w(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):w(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var _=function(){return[{title:(0,s.__)("Input Style","gutenverse"),panelArray:d,initialOpen:!1,tabRole:l.TabStyle},{title:(0,s.__)("Search Setting","gutenverse"),panelArray:v,initialOpen:!1,tabRole:l.TabSetting},{title:(0,s.__)("Close Icon Styling","gutenverse"),initialOpen:!1,panelArray:x,tabRole:l.TabStyle},{title:(0,s.__)("Background","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.backgroundPanel)(S(S({},e),{},{styleId:"form-input-text-background",normalOptions:["default","gradient"],hoverOptions:["default","gradient"]}))},tabRole:l.TabStyle},{title:(0,s.__)("Border","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.borderPanel)(S(S({},e),{},{styleId:"form-input-text-border"}))},tabRole:l.TabStyle},{title:(0,s.__)("Masking","gutenverse"),initialOpen:!1,panelArray:l.maskPanel,tabRole:l.TabStyle},{title:(0,s.__)("Close Icon","gutenverse"),initialOpen:!1,panelArray:h,tabRole:l.TabSetting},{title:(0,s.__)("Display","gutenverse"),initialOpen:!1,panelArray:l.responsivePanel,tabRole:l.TabSetting},{title:(0,s.__)("Positioning","gutenverse"),initialOpen:!1,panelArray:l.positioningPanel,tabRole:l.TabSetting},{title:(0,s.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.animationPanel)(S(S({},e),{},{styleId:"form-input-text-animation"}))},tabRole:l.TabSetting},{title:(0,s.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.advancePanel)(S(S({},e),{},{styleId:"form-input-text-advance"}))},tabRole:l.TabSetting},{title:(0,s.__)("Transform","gutenverse"),initialOpen:!1,panelArray:l.transformPanel,pro:!0},{title:(0,s.__)("Mouse Move Effect","gutenverse"),initialOpen:!1,panelArray:l.mouseMoveEffectPanel,tabRole:l.TabSetting,pro:!0},{title:(0,s.__)("Condition","gutenverse"),panelArray:l.conditionPanel,initialOpen:!1,pro:!0}]},j=o(4715),T=o(6087),O=o(6826),C=o(4320),k=o(4404),P=o(2619);const N=function(e,t){var o=[];o=(0,l.backgroundStyle)({attributes:t,data:o,elementId:e});var n=(0,c.getDeviceType)();return(0,g.isNotEmpty)(t.formStyle)&&"100%"===t.formStyle[n]&&o.push({type:"plain",id:"formStyle",selector:".".concat(e," .gutenverse-search.gutenverse-search-input"),properties:[{name:"width",valueType:"pattern",pattern:"{value} !important",patternValues:{value:{type:"direct"}}}],responsive:!0},{type:"plain",id:"formStyle",selector:".".concat(e," .search-input-container"),properties:[{name:"max-width",valueType:"pattern",pattern:"none !important"},{name:"width",valueType:"pattern",pattern:"{value} !important",patternValues:{value:{type:"direct"}}}],responsive:!0},{type:"plain",id:"formStyle",selector:".".concat(e," .gutenverse-search-form"),properties:[{name:"align-items",valueType:"pattern",pattern:"center"}],responsive:!0},{type:"plain",id:"formStyle",selector:".".concat(e," .gutenverse-search-form .guten-search-button-wrapper"),properties:[{name:"width",valueType:"pattern",pattern:"{value} !important",patternValues:{value:{type:"direct"}}}],responsive:!0}),(0,g.isNotEmpty)(t.inputHeight)&&o.push({type:"plain",id:"inputHeight",selector:".".concat(e," .gutenverse-search.gutenverse-search-input, .").concat(e," .guten-button-wrapper .guten-button "),properties:[{name:"height",valueType:"pattern",pattern:"{value}px!important",patternValues:{value:{type:"direct"}}}],responsive:!0}),(0,g.isNotEmpty)(t.inputWidth)&&(0,g.isNotEmpty)(t.inputWidth[n])&&o.push({type:"unitPoint",id:"inputWidth",responsive:!0,selector:".".concat(e," .search-input-container-outer"),properties:[{name:"width",valueType:"direct"}]}),(0,g.isNotEmpty)(t.buttonWidth)&&(0,g.isNotEmpty)(t.formStyle)&&"100%"!==t.formStyle[n]&&o.push({type:"unitPoint",id:"buttonWidth",selector:".".concat(e," .gutenverse-search-form .guten-search-button-wrapper"),properties:[{name:"width",valueType:"direct",important:!0}],responsive:!0}),(0,g.isNotEmpty)(t.buttonWidth)&&o.push({type:"plain",id:"buttonWidth",selector:".".concat(e," .search-input-container-outer"),properties:[{name:"max-width",valueType:"function",functionName:"searchButtonContainerWidth"}],skip_device:["Mobile"],responsive:!0}),(0,g.isNotEmpty)(t.alignContent)&&o.push({type:"plain",id:"alignContent",selector:".".concat(e," .gutenverse-search-form"),properties:[{name:"justify-content",valueType:"pattern",pattern:"{value}",patternValues:{value:{type:"direct"}}}],responsive:!0}),(0,g.isNotEmpty)(t.alignContent)&&(0,g.isNotEmpty)(t.formStyle)&&"100%"===t.formStyle[n]&&o.push({type:"plain",id:"alignContent",selector:".".concat(e," .search-input-container"),properties:[{name:"justify-content",valueType:"pattern",pattern:"{value}",patternValues:{value:{type:"direct"}}}],responsive:!0}),(0,g.isNotEmpty)(t.inputPadding)&&o.push({type:"dimension",id:"inputPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e," .search-input-container-outer .search-input-container .gutenverse-search.gutenverse-search-input")}),(0,g.isNotEmpty)(t.inputMargin)&&o.push({type:"dimension",id:"inputMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e," .search-input-container-outer")}),(0,g.isNotEmpty)(t.placeholderColor)&&o.push({type:"color",id:"placeholderColor",responsive:!0,selector:".".concat(e," .gutenverse-search-input::placeholder"),properties:[{name:"color",valueType:"direct"}]}),(0,g.isNotEmpty)(t.inputTypography)&&o.push({type:"typography",id:"inputTypography",selector:".".concat(e," .gutenverse-search.gutenverse-search-input")}),(0,g.isNotEmpty)(t.inputColorNormal)&&o.push({type:"color",id:"inputColorNormal",responsive:!0,selector:".".concat(e," .search-input-container-outer .search-input-container .gutenverse-search.gutenverse-search-input"),properties:[{name:"color",valueType:"direct"}]}),(0,g.isNotEmpty)(t.inputBgColorNormal)&&o.push({type:"color",id:"inputBgColorNormal",responsive:!0,selector:".".concat(e," .search-input-container-outer .search-input-container .gutenverse-search.gutenverse-search-input"),properties:[{name:"background-color",valueType:"direct"}]}),(0,g.isNotEmpty)(t.inputBorderNormal)&&o.push({type:"border",id:"inputBorderNormal",selector:".".concat(e," .search-input-container-outer .search-input-container .gutenverse-search.gutenverse-search-input")}),(0,g.isNotEmpty)(t.inputBorderNormalResponsive)&&o.push({type:"borderResponsive",id:"inputBorderNormalResponsive",selector:".".concat(e," .search-input-container-outer .search-input-container .gutenverse-search.gutenverse-search-input")}),(0,g.isNotEmpty)(t.inputColorHover)&&o.push({type:"color",id:"inputColorHover",responsive:!0,selector:".".concat(e," .search-input-container-outer .search-input-container .gutenverse-search.gutenverse-search-input:hover"),properties:[{name:"color",valueType:"direct"}]}),(0,g.isNotEmpty)(t.inputBgColorHover)&&o.push({type:"color",id:"inputBgColorHover",responsive:!0,selector:".".concat(e," .search-input-container-outer .search-input-container .gutenverse-search.gutenverse-search-input:hover"),properties:[{name:"background-color",valueType:"direct"}]}),(0,g.isNotEmpty)(t.inputBorderHover)&&o.push({type:"border",id:"inputBorderHover",selector:".".concat(e," .search-input-container-outer .search-input-container .gutenverse-search.gutenverse-search-input:hover")}),(0,g.isNotEmpty)(t.inputBorderHoverResponsive)&&o.push({type:"borderResponsive",id:"inputBorderHoverResponsive",selector:".".concat(e," .search-input-container-outer .search-input-container .gutenverse-search.gutenverse-search-input:hover")}),(0,g.isNotEmpty)(t.inputColorFocus)&&o.push({type:"color",id:"inputColorFocus",responsive:!0,selector:".".concat(e," .search-input-container-outer .search-input-container .gutenverse-search.gutenverse-search-input:focus"),properties:[{name:"color",valueType:"direct"}]}),(0,g.isNotEmpty)(t.inputBgColorFocus)&&o.push({type:"color",id:"inputBgColorFocus",responsive:!0,selector:".".concat(e," .search-input-container-outer .search-input-container .gutenverse-search.gutenverse-search-input:focus"),properties:[{name:"background-color",valueType:"direct"}]}),(0,g.isNotEmpty)(t.inputBorderFocus)&&o.push({type:"border",id:"inputBorderFocus",selector:".".concat(e," .search-input-container-outer .search-input-container .gutenverse-search.gutenverse-search-input:focus")},{type:"plain",id:"inputBorderFocus",selector:".".concat(e," .search-input-container-outer .search-input-container .gutenverse-search.gutenverse-search-input:focus-visible"),properties:[{name:"outline",valueType:"pattern",pattern:"none !important"}]}),(0,g.isNotEmpty)(t.inputBorderFocusResponsive)&&o.push({type:"borderResponsive",id:"inputBorderFocusResponsive",selector:".".concat(e," .search-input-container-outer .search-input-container .gutenverse-search.gutenverse-search-input:focus")},{type:"plain",id:"inputBorderFocusResponsive",selector:".".concat(e," .search-input-container-outer .search-input-container .gutenverse-search.gutenverse-search-input:focus-visible"),properties:[{name:"outline",valueType:"pattern",pattern:"none !important"}]}),(0,g.isNotEmpty)(t.inputAreaBoxShadow)&&o.push({type:"boxShadow",id:"inputAreaBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e," .search-input-container-outer .search-input-container .gutenverse-search.gutenverse-search-input, .").concat(e," .guten-button-wrapper .guten-button")}),(0,g.isNotEmpty)(t.inputAreaBoxShadowHover)&&o.push({type:"boxShadow",id:"inputAreaBoxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e," .search-input-container-outer .search-input-container .gutenverse-search.gutenverse-search-input:hover, .").concat(e," .guten-button-wrapper .guten-button:hover")}),(0,g.isNotEmpty)(t.inputAreaBoxShadowFocus)&&o.push({type:"boxShadow",id:"inputAreaBoxShadowFocus",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e," .search-input-container-outer .search-input-container .gutenverse-search.gutenverse-search-input:hover, .").concat(e," .guten-button-wrapper .guten-button:focus")}),(0,g.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,g.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,g.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,g.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,g.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,g.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,g.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,g.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,g.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,g.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,g.isNotEmpty)(t.animation)&&(0,g.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,g.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,g.isNotEmpty)(t.positioningType)&&(0,g.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,g.isNotEmpty)(t.positioningWidth)&&(0,g.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,g.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,g.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,g.isNotEmpty)(t.positioningLeft)&&(0,g.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,g.isNotEmpty)(t.positioningRight)&&(0,g.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,g.isNotEmpty)(t.positioningTop)&&(0,g.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,g.isNotEmpty)(t.positioningBottom)&&(0,g.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,g.isNotEmpty)(t.closeIconSize)&&o.push({type:"plain",id:"closeIconSize",responsive:!0,selector:".".concat(e," .gutenverse-search-form .search-input-container .close-icon"),properties:[{name:"font-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,g.isNotEmpty)(t.closeIconRotate)&&o.push({type:"plain",id:"closeIconRotate",responsive:!0,selector:".".concat(e," .gutenverse-search-form .search-input-container .close-icon "),properties:[{name:"transform",valueType:"pattern",pattern:"rotate({value}deg)",patternValues:{value:{type:"direct"}}}]}),(0,g.isNotEmpty)(t.closeIconMargin)&&o.push({type:"dimension",id:"closeIconMargin",responsive:!0,selector:".".concat(e," .gutenverse-search-form .search-input-container .close-icon "),properties:[{name:"margin",valueType:"direct"}]}),(0,g.isNotEmpty)(t.closeIconPadding)&&o.push({type:"dimension",id:"closeIconPadding",responsive:!0,selector:".".concat(e," .gutenverse-search-form .search-input-container .close-icon "),properties:[{name:"padding",valueType:"direct"}]}),(0,g.isNotEmpty)(t.closeIconColor)&&o.push({type:"color",id:"closeIconColor",responsive:!0,selector:".".concat(e," .gutenverse-search-form .search-input-container .close-icon"),properties:[{name:"color",valueType:"direct"}]}),(0,g.isNotEmpty)(t.closeIconColorHover)&&o.push({type:"color",id:"closeIconColorHover",responsive:!0,selector:".".concat(e," .gutenverse-search-form .search-input-container:hover .close-icon"),properties:[{name:"color",valueType:"direct"}]}),[].concat((0,k.A)(o),(0,k.A)((0,P.applyFilters)("gutenverse.search.blockStyle",[],{elementId:e,attributes:t})))};function E(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function D(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?E(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):E(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var B=(0,i.compose)(a.withPartialRender,a.withMouseMoveEffect)((function(e){var t=e.attributes,o=e.clientId,n=t.closeIcon,i=t.showButton,a=t.inputPlaceholder,s=t.elementId,c=(0,O.useAnimationEditor)(t),p=(0,O.useDisplayEditor)(t),u=(0,T.useRef)(),d=(0,T.useState)(""),g=(0,r.A)(d,2),v=g[0],h=g[1],b=(0,T.useRef)(),f=(0,j.useBlockProps)({className:(0,y.classnames)("guten-element",s,c,p),ref:u}),x=(0,j.useInnerBlocksProps)({className:(0,y.classnames)("guten-search-button-wrapper")},{template:[["gutenverse/button",{role:"submit",buttonSize:"xs",content:"Search",buttonBackground:{color:{r:4,g:4,b:4,a:1},type:"default"},buttonWidth:{Desktop:"100"}}]],allowedBlocks:["gutenverse/button"],renderAppender:!1,__experimentalAppenderTagName:"div"});return(0,C.useGenerateElementId)(o,s,u),(0,C.useDynamicStyle)(s,t,N,u),b.current&&(b.current.style.visibility=""!==v?"visible":"hidden"),(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(y.CopyElementToolbar,D({},e)),(0,m.jsx)(l.BlockPanelController,{panelList:_,props:e,elementRef:u}),(0,m.jsx)("div",D(D({},f),{},{children:(0,m.jsxs)("div",{className:"gutenverse-search-form",children:[(0,m.jsx)("div",{className:"search-input-container-outer",children:(0,m.jsxs)("div",{className:"search-input-container",children:[(0,m.jsx)("input",{type:"text",placeholder:a,name:"s",className:(0,y.classnames)("gutenverse-search","gutenverse-search-input"),value:v,onChange:function(e){h(e.target.value)}}),(0,m.jsx)("div",{className:"close-icon",ref:b,onClick:function(){return h("")},children:(0,m.jsx)("i",{className:n})})]})}),i&&(0,m.jsx)("div",D({className:"gutenverse-search-button"},x))]})}))]})}));const A=B;function H(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function R(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?H(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):H(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var I=(0,i.compose)((0,a.withAnimationAdvanceScript)("icon"),a.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.inputPlaceholder,n=t.elementId,r=t.showButton,i=t.closeIcon,a=(0,O.useAnimationAdvanceData)(t),s=(0,O.useAnimationFrontend)(t),l=(0,O.useDisplayFrontend)(t),c=(0,y.classnames)("guten-element",n,"guten-search",s,l);return(0,m.jsx)("div",R(R({},j.useBlockProps.save(R({className:c},a))),{},{children:(0,m.jsxs)("form",{className:"gutenverse-search-form",children:[(0,m.jsx)("div",{className:"search-input-container-outer",children:(0,m.jsxs)("div",{className:"search-input-container",children:[(0,m.jsx)("input",{type:"text",placeholder:o,name:"s",className:(0,y.classnames)("gutenverse-search","gutenverse-search-input")}),(0,m.jsx)("div",{className:"close-icon",children:(0,m.jsx)("i",{className:i})})]})}),r&&(0,m.jsx)("div",{className:"guten-search-button-wrapper",children:(0,m.jsx)(j.InnerBlocks.Content,{})})]})}))}));const M=I;function L(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function z(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?L(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):L(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var F=(0,i.compose)((0,a.withAnimationAdvanceScript)("icon"),a.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.inputPlaceholder,n=t.elementId,r=t.showButton,i=(0,O.useAnimationAdvanceData)(t),a=(0,O.useAnimationFrontend)(t),s=(0,O.useDisplayFrontend)(t),l=(0,y.classnames)("guten-element",n,"guten-search",a,s);return(0,m.jsx)("div",z(z({className:l},i),{},{children:(0,m.jsxs)("form",{className:"gutenverse-search-form",children:[(0,m.jsx)("input",{type:"search",placeholder:o,name:"s",className:(0,y.classnames)("gutenverse-search","gutenverse-search-input")}),r&&(0,m.jsx)(j.InnerBlocks.Content,{className:"gutenverse-search-button"})]})}))}));const V=F;function W(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function G(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?W(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):W(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var U=(0,i.compose)((0,a.withAnimationAdvanceScript)("icon"),a.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.inputPlaceholder,n=t.elementId,r=t.showButton,i=(0,O.useAnimationAdvanceData)(t),a=(0,O.useAnimationFrontend)(t),s=(0,O.useDisplayFrontend)(t),l=(0,y.classnames)("guten-element",n,"guten-search",a,s);return(0,m.jsx)("div",G(G({className:l},i),{},{children:(0,m.jsxs)("form",{className:"gutenverse-search-form",children:[(0,m.jsx)("div",{className:"search-input-container",children:(0,m.jsx)("input",{type:"search",placeholder:o,name:"s",className:(0,y.classnames)("gutenverse-search","gutenverse-search-input")})}),r&&(0,m.jsx)(j.InnerBlocks.Content,{className:"gutenverse-search-button"})]})}))}));const q=U;function $(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Y(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?$(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):$(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var X=(0,i.compose)((0,a.withAnimationAdvanceScript)("icon"),a.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.inputPlaceholder,n=t.elementId,r=t.showButton,i=t.closeIcon,a=(0,O.useAnimationAdvanceData)(t),s=(0,O.useAnimationFrontend)(t),l=(0,O.useDisplayFrontend)(t),c=(0,y.classnames)("guten-element",n,"guten-search",s,l);return(0,m.jsx)("div",Y(Y({className:c},a),{},{children:(0,m.jsxs)("form",{className:"gutenverse-search-form",children:[(0,m.jsxs)("div",{className:"search-input-container",children:[(0,m.jsx)("input",{type:"text",placeholder:o,name:"s",className:(0,y.classnames)("gutenverse-search","gutenverse-search-input")}),(0,m.jsx)("div",{className:"close-icon",children:(0,m.jsx)("i",{className:i})})]}),r&&(0,m.jsx)(j.InnerBlocks.Content,{className:"gutenverse-search-button"})]})}))}));const J=X,Q=JSON.parse('{"apiVersion":2,"name":"gutenverse/search","title":"Search","description":"Gutenverse Search","category":"gutenverse-element","attributes":{"elementId":{"type":"string"},"mouseMoveEffect":{"type":"object","copyStyle":true},"showButton":{"type":"boolean","default":true},"formStyle":{"type":"object","default":{"Desktop":"fit-content"}},"position":{"type":"string","default":"top"},"buttonWidth":{"type":"object","default":{"Desktop":{"point":"100","unit":"px"}}},"positioningType":{"type":"object"},"positioningWidth":{"type":"object"},"positioningAlign":{"type":"object"},"positioningLocation":{"type":"string"},"positioningLeft":{"type":"object"},"positioningRight":{"type":"object"},"positioningTop":{"type":"object"},"positioningBottom":{"type":"object"},"background":{"type":"object","default":{}},"backgroundHover":{"type":"object","default":{}},"backgroundTransition":{"type":"object","copyStyle":true,"default":{}},"border":{"type":"object"},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"boxShadow":{"type":"object"},"borderHover":{"type":"object"},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadowHover":{"type":"object"},"borderFocus":{"type":"object"},"borderFocusResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadowFocus":{"type":"object"},"margin":{"type":"object"},"padding":{"type":"object"},"zIndex":{"type":"object"},"animation":{"type":"object","default":{}},"hideDesktop":{"type":"boolean"},"hideTablet":{"type":"boolean"},"hideMobile":{"type":"boolean"},"placeholderColor":{"type":"object"},"inputPlaceholder":{"type":"string","default":"Text Placeholder"},"inputPadding":{"type":"object"},"inputMargin":{"type":"object"},"inputColor":{"type":"object"},"inputHeight":{"type":"object","default":{"Desktop":"50"}},"inputWidth":{"type":"object","default":{"Desktop":{"point":"350","unit":"px"}}},"inputTypography":{"type":"object"},"inputColorNormal":{"type":"object"},"inputBorderNormal":{"type":"object"},"inputBorderNormalResponsive":{"type":"object","migrate":{"attr":"inputBorderNormal","type":"border"},"copyStyle":true},"inputColorHover":{"type":"object"},"inputBorderHover":{"type":"object"},"inputBorderHoverResponsive":{"type":"object","migrate":{"attr":"inputBorderHover","type":"border"},"copyStyle":true},"inputColorFocus":{"type":"object"},"inputBorderFocus":{"type":"object"},"inputBorderFocusResponsive":{"type":"object","migrate":{"attr":"inputBorderHover","type":"border"},"copyStyle":true},"inputBgColorNormal":{"type":"object"},"inputBgColorHover":{"type":"object"},"inputBgColorFocus":{"type":"object"},"transform":{"type":"object"},"mask":{"type":"object"},"inputAreaBoxShadow":{"type":"object"},"inputAreaBoxShadowHover":{"type":"object"},"inputAreaBoxShadowFocus":{"type":"object"},"alignContent":{"type":"object"},"condition":{"type":"object","default":{}},"closeIcon":{"type":"string","default":"gtn gtn-x-line"},"closeIconColor":{"type":"object","copyStyle":true,"default":{}},"closeIconColorHover":{"type":"object","copyStyle":true,"default":{}},"closeIconSize":{"type":"object","copyStyle":true,"default":{}},"closeIconRotate":{"type":"object","copyStyle":true,"default":{}},"closeIconPadding":{"type":"object","copyStyle":true},"closeIconMargin":{"type":"object","copyStyle":true}},"supports":{"className":false},"keywords":["search","gutenverse"],"example":{}}');var Z=o(4889),K=Q.name,ee=Q.attributes,te=Q.support,oe={icon:(0,m.jsx)(Z.GP,{}),edit:A,save:M,deprecated:[{attributes:ee,save:V},{support:te,attributes:ee,save:q},{support:te,attributes:ee,save:J}]}},7717:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},7723:e=>{"use strict";e.exports=window.wp.i18n},7761:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>H,name:()=>G,settings:()=>q});var n=o(6065),r=o(4404),i=o(9491),a=o(6087),s=o(4715),l=o(3482),c=o(596),p=o(7723),u=function(e){var t=e.elementId,o=e.style;return[{id:"percentBgColor",label:(0,p.__)("Percent Background Color","gutenverse"),component:c.ColorControl,liveStyle:[{type:"color",id:"percentBgColor",properties:[{name:"background-color",valueType:"direct"}],selector:".".concat(t,' .progress-group[class*="tooltip-"] .progress-skill-bar .skill-bar .skill-track .number-percentage-wrapper,\n .').concat(t," .progress-group.ribbon .progress-skill-bar .skill-bar .skill-track .number-percentage-wrapper,\n .").concat(t,' .progress-group[class*="tooltip-"]:not(.tooltip-style) .progress-skill-bar .skill-bar .skill-track .number-percentage-wrapper:before')},{type:"color",id:"percentBgColor",properties:[{name:"color",valueType:"direct"}],selector:".".concat(t," .progress-group.tooltip-style .progress-skill-bar .skill-bar .skill-track .number-percentage-wrapper:before")},{type:"color",id:"percentBgColor",properties:[{name:"border-right-color",valueType:"direct"},{name:"border-bottom-color",valueType:"direct"}],selector:".".concat(t," .progress-group.ribbon .progress-skill-bar .skill-bar .skill-track .number-percentage-wrapper:before")}]},{id:"percentColor",label:(0,p.__)("Percent Text Color","gutenverse"),component:c.ColorControl,liveStyle:[{type:"color",id:"percentColor",properties:[{name:"color",valueType:"direct"}],selector:".".concat(t," .progress-group .progress-skill-bar .number-percentage, .").concat(t," .progress-group .number-percentage")}]},{id:"percentTypography",label:(0,p.__)("Percent Typography","gutenverse"),component:c.TypographyControl},{id:"percentTextShadow",label:(0,p.__)("Percent Text Shadow","gutenverse"),component:c.TextShadowControl,liveStyle:[{type:"textShadow",id:"percentTextShadow",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(t," .progress-group .progress-skill-bar .number-percentage, .").concat(t," .progress-group .number-percentage")}]},{id:"percentSwitchSize",show:"switch"===o,label:(0,p.__)("Percent Switch Size","gutenverse"),component:c.SizeControl,units:{px:{text:"px",min:0,max:100,step:1}},liveStyle:[{type:"unitPoint",id:"percentSwitchSize",properties:[{name:"width",valueType:"direct"},{name:"height",valueType:"direct"}],selector:".".concat(t," .progress-group.switch .progress-skill-bar .skill-bar .skill-track:before")}]},{id:"percentSwitchBorder",show:"switch"===o,label:(0,p.__)("Percent Switch Border","gutenverse"),component:c.BorderControl},{id:"percentSwitchBoxShadow",label:(0,p.__)("Percent Switch Box Shadow","gutenverse"),show:"switch"===o,component:c.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"percentSwitchBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t," .progress-group.switch .progress-skill-bar .skill-bar .skill-track:before")}]}]},d=function(){return[{id:"style",label:(0,p.__)("Style","gutenverse"),component:c.SelectControl,options:[{label:"Default",value:"default"},{label:"Inner Content",value:"inner-content"},{label:"Bar Shadow",value:"bar-shadow"},{label:"Tooltip",value:"tooltip-style"},{label:"Tooltip Box",value:"tooltip-box"},{label:"Tooltip Rounded",value:"tooltip-rounded"},{label:"Tooltip Circle",value:"tooltip-circle"},{label:"Switch",value:"switch"},{label:"Ribbon",value:"ribbon"}]},{id:"title",label:(0,p.__)("Title","gutenverse"),component:c.TextControl},{id:"percentage",label:(0,p.__)("Percentage","gutenverse"),component:c.RangeControl,min:0,max:100,step:1,isParseFloat:!0,unit:"%"},{id:"duration",label:(0,p.__)("Duration","gutenverse"),component:c.RangeControl,min:100,max:1e4,step:1,isParseFloat:!0,unit:"ms"}]},y=function(e){var t=e.elementId,o=e.colorMode;return[{id:"colorMode",label:(0,p.__)("Color Mode","gutenverse"),component:c.SelectControl,options:[{label:(0,p.__)("Default","gutenverse"),value:"default"},{label:(0,p.__)("Gradient","gutenverse"),value:"gradient"}]},{id:"barGradient",show:"gradient"===o,label:(0,p.__)("Bar Gradient","gutenverse"),component:c.GradientWithAngleControl,liveStyle:[{type:"plain",id:"barGradient",properties:[{name:"background",valueType:"function",functionName:"customHandleBackground"}],selector:".".concat(t," .progress-group .progress-skill-bar .number-percentage, .").concat(t," .progress-group .number-percentage")}]},{id:"trackGradient",show:"gradient"===o,label:(0,p.__)("Track Gradient","gutenverse"),component:c.GradientWithAngleControl,liveStyle:[{type:"plain",id:"trackGradient",properties:[{name:"background",valueType:"function",functionName:"customHandleBackground"}],selector:".".concat(t," .progress-group .progress-skill-bar .skill-bar .skill-track")}]},{id:"barColor",show:"default"===o||!o,label:(0,p.__)("Bar Color","gutenverse"),component:c.ColorControl,liveStyle:[{type:"color",id:"barColor",properties:[{name:"background-color",valueType:"direct"}],selector:".".concat(t," .progress-group .progress-skill-bar .skill-bar")}]},{id:"trackColor",show:"default"===o||!o,label:(0,p.__)("Track Color","gutenverse"),component:c.ColorControl,liveStyle:[{type:"color",id:"trackColor",properties:[{name:"background-color",valueType:"direct"}],selector:".".concat(t," .progress-group .progress-skill-bar .skill-bar .skill-track")}]},{id:"trackHeight",label:(0,p.__)("Track Height","gutenverse"),component:c.RangeControl,allowDeviceControl:!0,unit:"px",min:1,max:200,step:1,liveStyle:[{type:"plain",id:"trackHeight",responsive:!0,properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}],selector:".".concat(t," .progress-group .progress-skill-bar .skill-bar")}]},{id:"barRadius",label:(0,p.__)("Bar Border Radius","gutenverse"),component:c.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},percent:{text:"%",unit:"%"}}},{id:"trackRadius",label:(0,p.__)("Track Border Radius","gutenverse"),component:c.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},percent:{text:"%",unit:"%"}}},{id:"barPadding",label:(0,p.__)("Bar Padding","gutenverse"),component:c.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},percent:{text:"%",unit:"%"}}},{id:"barMargin",label:(0,p.__)("Bar Margin","gutenverse"),component:c.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},percent:{text:"%",unit:"%"}}},{id:"barBoxShadow",label:(0,p.__)("Box Shadow","gutenverse"),component:c.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"barBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t," .progress-group .progress-skill-bar .skill-bar")}]}]},g=function(e){var t=e.elementId;return[{id:"titleColor",label:(0,p.__)("Title color","gutenverse"),component:c.ColorControl,liveStyle:[{type:"color",id:"titleColor",selector:".".concat(t," .progress-group .progress-skill-bar .skill-bar-content .skill-title"),properties:[{name:"color",valueType:"direct"}]}]},{id:"titleTypography",label:(0,p.__)("Title Typography","gutenverse"),component:c.TypographyControl},{id:"titleTextShadow",label:(0,p.__)("Title Shadow","gutenverse"),component:c.TextShadowControl,liveStyle:[{type:"textShadow",id:"titleTextShadow",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(t," .progress-group .progress-skill-bar .skill-bar-content .skill-title")}]}]};function m(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function v(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?m(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):m(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var h=function(){return[{title:(0,p.__)("Progress","gutenverse"),panelArray:d,tabRole:c.TabSetting},{title:(0,p.__)("Display","gutenverse"),initialOpen:!1,panelArray:c.responsivePanel,tabRole:c.TabSetting},{title:(0,p.__)("Positioning","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,c.positioningPanel)(v(v({},e),{},{options:[{value:"default",label:"Default"},{value:"full",label:"Full Width (100%)"},{value:"custom",label:"Custom"}]}))},tabRole:c.TabSetting},{title:(0,p.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,c.animationPanel)(v(v({},e),{},{styleId:"progress-bar-animation"}))},tabRole:c.TabSetting},{title:(0,p.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,c.advancePanel)(v(v({},e),{},{styleId:"progress-bar-advance"}))},tabRole:c.TabSetting},{title:(0,p.__)("Style","gutenverse"),initialOpen:!1,panelArray:y,tabRole:c.TabStyle},{title:(0,p.__)("Title","gutenverse"),initialOpen:!1,panelArray:g,tabRole:c.TabStyle},{title:(0,p.__)("Percentage","gutenverse"),initialOpen:!1,panelArray:u,tabRole:c.TabStyle},{title:(0,p.__)("Background","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,c.backgroundPanel)(v(v({},e),{},{styleId:"progress-bar-background",normalOptions:["default","gradient"],hoverOptions:["default","gradient"]}))},tabRole:c.TabStyle},{title:(0,p.__)("Border","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,c.borderPanel)(v(v({},e),{},{styleId:"progress-bar-border"}))},tabRole:c.TabStyle},{title:(0,p.__)("Masking","gutenverse"),initialOpen:!1,panelArray:c.maskPanel,tabRole:c.TabStyle},{title:(0,p.__)("Transform","gutenverse"),initialOpen:!1,panelArray:c.transformPanel,pro:!0},{title:(0,p.__)("Mouse Move Effect","gutenverse"),initialOpen:!1,panelArray:c.mouseMoveEffectPanel,tabRole:c.TabSetting,pro:!0},{title:(0,p.__)("Advanced Animation","gutenverse"),initialOpen:!1,panelAdvance:!0,panelArray:function(e){return(0,c.advanceAnimationPanel)(v(v({},e),{},{blockType:"progress-bar"}))},pro:!0},{title:(0,p.__)("Condition","gutenverse"),panelArray:c.conditionPanel,initialOpen:!1,pro:!0}]},b=o(5032),f=o(790);const x=function(e){var t=e.attributes,o=t.title,n=t.style,r=t.arrowIcon,i=t.percentage,a=t.duration;return"switch"===n?(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)("div",{className:"content-group",children:[(0,f.jsx)("div",{className:"skill-bar-content",children:(0,f.jsx)("span",{className:"skill-title",children:o})}),(0,f.jsx)("div",{className:"skill-bar",children:(0,f.jsx)("div",{className:"skill-track","data-width":i,"data-duration":a})})]}),(0,f.jsx)("div",{className:"number-percentage-wrapper",children:(0,f.jsx)("span",{className:"number-percentage loaded"})})]}):(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("div",{className:"skill-bar-content",children:(0,f.jsx)("span",{className:"skill-title",children:o})}),(0,f.jsx)("div",{className:"skill-bar",children:(0,f.jsxs)("div",{className:"skill-track","data-width":i,"data-duration":a,children:[["inner-content"].includes(n)&&(0,f.jsx)("span",{className:"skill-track-icon",children:(0,f.jsx)("i",{"aria-hidden":"true",className:r})}),(0,f.jsx)("div",{className:"number-percentage-wrapper",children:(0,f.jsx)("span",{className:"number-percentage loaded"})})]})})]})};var w=o(2188),S=o(6826),_=o(4320),j=o(1222),T=o(2619);const O=function(e,t){var o=[];return o=function(e,t,o){return(0,j.isNotEmpty)(t.percentBgColor)&&o.push({type:"color",id:"percentBgColor",properties:[{name:"background-color",valueType:"direct"}],selector:".".concat(e,' .progress-group[class*="tooltip-"] .progress-skill-bar .skill-bar .skill-track .number-percentage-wrapper,\n .').concat(e," .progress-group.ribbon .progress-skill-bar .skill-bar .skill-track .number-percentage-wrapper,\n .").concat(e," .progress-group.switch .progress-skill-bar .skill-bar .skill-track:before,\n .").concat(e,' .progress-group[class*="tooltip-"]:not(.tooltip-style) .progress-skill-bar .skill-bar .skill-track .number-percentage-wrapper:before')}),(0,j.isNotEmpty)(t.percentBgColor)&&o.push({type:"color",id:"percentBgColor",properties:[{name:"color",valueType:"direct"}],selector:".".concat(e," .progress-group.tooltip-style .progress-skill-bar .skill-bar .skill-track .number-percentage-wrapper:before")}),(0,j.isNotEmpty)(t.percentBgColor)&&o.push({type:"color",id:"percentBgColor",properties:[{name:"border-right-color",valueType:"direct"},{name:"border-bottom-color",valueType:"direct"}],selector:".".concat(e," .progress-group.ribbon .progress-skill-bar .skill-bar .skill-track .number-percentage-wrapper:before")}),(0,j.isNotEmpty)(t.percentColor)&&o.push({type:"color",id:"percentColor",properties:[{name:"color",valueType:"direct"}],selector:".".concat(e," .progress-group .progress-skill-bar .number-percentage, .").concat(e," .progress-group .number-percentage")}),(0,j.isNotEmpty)(t.percentTypography)&&o.push({type:"typography",id:"percentTypography",selector:".".concat(e," .progress-group .progress-skill-bar .number-percentage, .").concat(e," .progress-group .number-percentage")}),(0,j.isNotEmpty)(t.percentTextShadow)&&o.push({type:"textShadow",id:"percentTextShadow",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(e," .progress-group .progress-skill-bar .number-percentage, .").concat(e," .progress-group .number-percentage")}),(0,j.isNotEmpty)(t.style)&&"switch"===t.style&&((0,j.isNotEmpty)(t.percentSwitchBorder)&&o.push({type:"border",id:"percentSwitchBorder",selector:".".concat(e," .progress-group.switch .progress-skill-bar .skill-bar .skill-track:before")}),(0,j.isNotEmpty)(t.percentSwitchBoxShadow)&&o.push({type:"boxShadow",id:"percentSwitchBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e," .progress-group.switch .progress-skill-bar .skill-bar .skill-track:before")}),(0,j.isNotEmpty)(t.percentSwitchSize)&&o.push({type:"unitPoint",id:"percentSwitchSize",properties:[{name:"width",valueType:"direct"},{name:"height",valueType:"direct"}],selector:".".concat(e," .progress-group.switch .progress-skill-bar .skill-bar .skill-track:before")})),o}(e,t,o),o=function(e,t,o){return"gradient"===t.colorMode?((0,j.isNotEmpty)(t.barGradient)&&o.push({type:"plain",id:"barGradient",properties:[{name:"background",valueType:"function",functionName:"customHandleBackground"}],selector:".".concat(e," .progress-group .progress-skill-bar .skill-bar")}),(0,j.isNotEmpty)(t.trackGradient)&&o.push({type:"plain",id:"trackGradient",properties:[{name:"background",valueType:"function",functionName:"customHandleBackground"}],selector:".".concat(e," .progress-group .progress-skill-bar .skill-bar .skill-track")})):((0,j.isNotEmpty)(t.barColor)&&o.push({type:"color",id:"barColor",properties:[{name:"background-color",valueType:"direct"}],selector:".".concat(e," .progress-group .progress-skill-bar .skill-bar")}),(0,j.isNotEmpty)(t.trackColor)&&o.push({type:"color",id:"trackColor",properties:[{name:"background-color",valueType:"direct"}],selector:".".concat(e," .progress-group .progress-skill-bar .skill-bar .skill-track")})),(0,j.isNotEmpty)(t.trackHeight)&&o.push({type:"plain",id:"trackHeight",responsive:!0,properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}],selector:".".concat(e," .progress-group .progress-skill-bar .skill-bar")}),(0,j.isNotEmpty)(t.barRadius)&&o.push({type:"dimension",id:"barRadius",responsive:!0,properties:[{name:"border-radius",valueType:"direct",multiDimension:!1}],selector:".".concat(e," .progress-group .progress-skill-bar .skill-bar")}),(0,j.isNotEmpty)(t.trackRadius)&&o.push({type:"dimension",id:"trackRadius",responsive:!0,properties:[{name:"border-radius",valueType:"direct",multiDimension:!1}],selector:".".concat(e," .progress-group .progress-skill-bar .skill-bar .skill-track")}),(0,j.isNotEmpty)(t.barPadding)&&o.push({type:"dimension",id:"barPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e," .progress-group .progress-skill-bar .skill-bar")}),(0,j.isNotEmpty)(t.barMargin)&&o.push({type:"dimension",id:"barMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e," .progress-group .progress-skill-bar .skill-bar")}),(0,j.isNotEmpty)(t.barBoxShadow)&&o.push({type:"boxShadow",id:"barBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e," .progress-group .progress-skill-bar .skill-bar")}),o}(e,t,o),o=function(e,t,o){return(0,j.isNotEmpty)(t.titleColor)&&o.push({type:"color",id:"titleColor",selector:".".concat(e," .progress-group .progress-skill-bar .skill-bar-content .skill-title"),properties:[{name:"color",valueType:"direct"}]}),(0,j.isNotEmpty)(t.titleTypography)&&o.push({type:"typography",id:"titleTypography",selector:".".concat(e," .progress-group .progress-skill-bar .skill-bar-content .skill-title")}),(0,j.isNotEmpty)(t.titleTextShadow)&&o.push({type:"textShadow",id:"titleTextShadow",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(e," .progress-group .progress-skill-bar .skill-bar-content .skill-title")}),o}(e,t,o),o=(0,c.backgroundStyle)({attributes:t,data:o,elementId:e}),(0,j.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,j.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,j.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,j.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.animation)&&(0,j.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,j.isNotEmpty)(t.positioningType)&&(0,j.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,j.isNotEmpty)(t.positioningWidth)&&(0,j.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,j.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,j.isNotEmpty)(t.positioningLeft)&&(0,j.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,j.isNotEmpty)(t.positioningRight)&&(0,j.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,j.isNotEmpty)(t.positioningTop)&&(0,j.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,j.isNotEmpty)(t.positioningBottom)&&(0,j.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),[].concat((0,r.A)(o),(0,r.A)((0,T.applyFilters)("gutenverse.progress-bar.blockStyle",[],{elementId:e,attributes:t})))};function C(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function k(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?C(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):C(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var P=(0,i.compose)(w.withPartialRender,w.withPassRef,(0,w.withAnimationAdvanceV2)("progress-bar"),w.withMouseMoveEffect)((function(e){var t=e.attributes,o=e.clientId,i=e.setBlockRef,p=t.elementId,u=t.style,d=t.percentage,y=t.duration,g=(0,S.useAnimationEditor)(t),m=(0,S.useDisplayEditor)(t),v=(0,a.useRef)(),w=(0,s.useBlockProps)({className:(0,l.classnames)("guten-element","guten-progress-bar","no-margin",p,g,m),ref:v}),j=(0,l.classnames)("progress-group",(0,n.A)({},"".concat(u),u&&"default"!==u));return(0,_.useGenerateElementId)(o,p,v),(0,_.useDynamicStyle)(p,t,O,v),(0,_.useDynamicScript)(v),(0,a.useEffect)((function(){var e=(0,b.A)({targets:(0,r.A)(v.current.getElementsByClassName("skill-track")),width:"".concat(d,"%"),easing:"easeInOutQuart",duration:y}),t=(0,b.A)({targets:(0,r.A)(v.current.getElementsByClassName("number-percentage")),innerHTML:"".concat(d,"%"),easing:"easeInOutQuart",round:1,duration:y});return function(){e.remove(),t.remove()}}),[d,y,u]),(0,a.useEffect)((function(){v&&i(v)}),[v]),(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(l.CopyElementToolbar,k({},e)),(0,f.jsx)(c.BlockPanelController,{panelList:h,props:e,elementRef:v}),(0,f.jsx)("div",k(k({},w),{},{children:(0,f.jsx)("div",{className:j,children:(0,f.jsx)("div",{className:"progress-skill-bar",children:(0,f.jsx)(x,k({},e))})})}))]})}));const N=P;function E(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function D(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?E(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):E(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var B=(0,i.compose)((0,w.withAnimationAdvanceScript)("progress-bar"),w.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,r=t.style,i=(0,S.useAnimationAdvanceData)(t),a=(0,S.useAnimationFrontend)(t),c=(0,S.useDisplayFrontend)(t),p=(0,l.classnames)("guten-element","guten-progress-bar",o,a,c),u=(0,l.classnames)("progress-group",(0,n.A)({},"".concat(r),r&&"default"!==r));return(0,f.jsx)("div",D(D({},s.useBlockProps.save(D({className:p},i))),{},{children:(0,f.jsx)("div",{className:u,children:(0,f.jsx)("div",{className:"progress-skill-bar",children:(0,f.jsx)(x,D({},e))})})}))}));const A=B,H=JSON.parse('{"apiVersion":2,"name":"gutenverse/progress-bar","title":"Progress Bar","description":"Create a progress bar of your achivement or something you want to share.","category":"gutenverse-element","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"mouseMoveEffect":{"type":"object","copyStyle":true},"style":{"type":"string","default":"default"},"title":{"type":"string","default":"Progress Bar"},"arrowIcon":{"type":"string","default":"fas fa-arrow-right"},"percentage":{"type":"integer","default":75},"duration":{"type":"integer","default":3500},"colorMode":{"type":"string","default":"default","copyStyle":true},"barGradient":{"type":"object","copyStyle":true},"trackGradient":{"type":"object","copyStyle":true},"barColor":{"type":"object","copyStyle":true},"trackColor":{"type":"object","copyStyle":true},"trackHeight":{"type":"object","copyStyle":true},"barRadius":{"type":"object","copyStyle":true},"trackRadius":{"type":"object","copyStyle":true},"barPadding":{"type":"object","copyStyle":true},"barMargin":{"type":"object","copyStyle":true},"titleColor":{"type":"object","copyStyle":true},"barBoxShadow":{"type":"object","copyStyle":true},"titleTypography":{"type":"object","copyStyle":true},"titleTextShadow":{"type":"object","default":{},"copyStyle":true},"percentColor":{"type":"object","copyStyle":true},"percentTypography":{"type":"object","copyStyle":true},"percentTextShadow":{"type":"object","default":{},"copyStyle":true},"background":{"type":"object","default":{},"copyStyle":true},"backgroundHover":{"type":"object","default":{},"copyStyle":true},"backgroundTransition":{"type":"object","copyStyle":true,"default":{}},"percentSwitchBoxShadow":{"type":"object","default":{},"copyStyle":true},"percentSwitchSize":{"type":"object","default":{},"copyStyle":true},"percentSwitchBorder":{"type":"object","default":{},"copyStyle":true},"border":{"type":"object","default":{},"copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"borderHover":{"type":"object","default":{},"copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadowHover":{"type":"object","copyStyle":true},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"animation":{"type":"object","default":{},"copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"positioningType":{"type":"object","copyStyle":true},"positioningWidth":{"type":"object","copyStyle":true},"positioningAlign":{"type":"object","copyStyle":true},"positioningLocation":{"type":"string","copyStyle":true},"positioningLeft":{"type":"object","copyStyle":true},"positioningRight":{"type":"object","copyStyle":true},"positioningTop":{"type":"object","copyStyle":true},"positioningBottom":{"type":"object","copyStyle":true},"percentBgColor":{"type":"object","copyStyle":true},"advanceAnimation":{"type":"object","default":{},"copyStyle":true},"transform":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"condition":{"type":"object","default":{}}},"supports":{"className":false},"keywords":["progress","bar","loading"]}');var R=o(4889);const I=function(e){var t=e.attributes,o=t.title,n=t.style,r=t.arrowIcon,i=t.percentage,a=t.duration;return"switch"===n?(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)("div",{className:"content-group",children:[(0,f.jsx)("div",{className:"skill-bar-content",children:(0,f.jsx)("span",{className:"skill-title",children:o})}),(0,f.jsx)("div",{className:"skill-bar",children:(0,f.jsx)("div",{className:"skill-track","data-width":i,"data-duration":a})})]}),(0,f.jsx)("div",{className:"number-percentage-wrapper",children:(0,f.jsx)("span",{className:"number-percentage loaded"})})]}):(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("div",{className:"skill-bar-content",children:(0,f.jsx)("span",{className:"skill-title",children:o})}),(0,f.jsx)("div",{className:"skill-bar",children:(0,f.jsxs)("div",{className:"skill-track","data-width":i,"data-duration":a,children:[["inner-content"].includes(n)&&(0,f.jsx)("span",{className:"skill-track-icon",children:(0,f.jsx)("i",{"aria-hidden":"true",className:r})}),(0,f.jsx)("div",{className:"number-percentage-wrapper",children:(0,f.jsx)("span",{className:"number-percentage loaded"})})]})})]})};function M(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function L(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?M(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):M(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var z=(0,i.compose)((0,w.withAnimationAdvanceScript)("progress-bar"),w.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,r=t.style,i=(0,S.useAnimationAdvanceData)(t),a=(0,S.useAnimationFrontend)(t),s=(0,S.useDisplayFrontend)(t),c=(0,l.classnames)("guten-element","guten-progress-bar",o,a,s),p=(0,l.classnames)("progress-group",(0,n.A)({},"".concat(r),r&&"default"!==r));return(0,f.jsx)("div",L(L({className:c},i),{},{children:(0,f.jsx)("div",{className:p,children:(0,f.jsx)("div",{className:"progress-skill-bar",children:(0,f.jsx)(I,L({},e))})})}))}));const F=z;function V(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function W(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?V(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):V(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var G=H.name,U=H.attributes,q={icon:(0,f.jsx)(R.q5,{}),example:{attributes:{title:"Progression",style:"inner-content"}},edit:N,save:A,deprecated:[{attributes:W(W({},U),{},{percentage:{type:"int",default:75,deprecated:!0},duration:{type:"int",default:3500,deprecated:!0}}),migrate:function(e){var t=e.percentage,o=e.duration;return[W(W({},e),{},{percentage:parseInt(t),duration:parseInt(o)})]},save:F}]}},7915:(e,t,o)=>{var n=o(4073),r=Object.prototype,i=r.hasOwnProperty,a=r.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),o=e[s];try{e[s]=void 0;var n=!0}catch(e){}var r=a.call(e);return n&&(t?e[s]=o:delete e[s]),r}},8064:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>h,name:()=>v,settings:()=>b});var n=o(4404),r=o(6065),i=o(7723),a=o(4597),s=o(9491),l=o(2188),c=o(9984),p=o(2449),u=o(4889),d=o(790);function y(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function g(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?y(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):y(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var m=(0,s.compose)(l.withPartialRender,(0,l.withCustomStyle)(a.d))((function(e){var t=g(g({},e),{},{shareType:"facebook",serverPath:"gutenverse/social-share-facebook"});return(0,d.jsx)(d.Fragment,{children:(0,d.jsx)(c.A,g({},t))})})),v="gutenverse/social-share-facebook",h=g(g({},p),{},{title:(0,i.__)("Gutenverse Social Share Facebook","gutenverse"),description:(0,i.__)("Gutenverse Social Share Facebook","gutenverse"),attributes:g(g({},p.attributes),{},{text:{type:"string",default:(0,i.__)("Share on Facebook","gutenverse")}}),keywords:[].concat((0,n.A)(p.keywords),[(0,i.__)("facebook","gutenverse")])}),b={icon:(0,d.jsx)(u.NN,{}),edit:m}},8286:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>h,name:()=>v,settings:()=>b});var n=o(4404),r=o(6065),i=o(7723),a=o(4597),s=o(9491),l=o(2188),c=o(9984),p=o(4889),u=o(2449),d=o(790);function y(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function g(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?y(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):y(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var m=(0,s.compose)(l.withPartialRender,(0,l.withCustomStyle)(a.d))((function(e){var t=g(g({},e),{},{shareType:"email",serverPath:"gutenverse/social-share-email"});return(0,d.jsx)(d.Fragment,{children:(0,d.jsx)(c.A,g({},t))})})),v="gutenverse/social-share-email",h=g(g({},u),{},{title:(0,i.__)("Gutenverse Social Share Email","gutenverse"),description:(0,i.__)("Gutenverse Social Share Email","gutenverse"),attributes:g(g({},u.attributes),{},{text:{type:"string",default:(0,i.__)("Share on Email","gutenverse")}}),keywords:[].concat((0,n.A)(u.keywords),[(0,i.__)("Email","gutenverse")])}),b={icon:(0,d.jsx)(p.v7,{}),edit:m}},8303:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>h,name:()=>v,settings:()=>b});var n=o(4404),r=o(6065),i=o(7723),a=o(4597),s=o(9491),l=o(2188),c=o(9984),p=o(2449),u=o(4889),d=o(790);function y(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function g(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?y(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):y(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var m=(0,s.compose)(l.withPartialRender,(0,l.withCustomStyle)(a.d))((function(e){var t=g(g({},e),{},{shareType:"telegram",serverPath:"gutenverse/social-share-telegram"});return(0,d.jsx)(c.A,g({},t))})),v="gutenverse/social-share-telegram",h=g(g({},p),{},{title:(0,i.__)("Gutenverse Social Share Telegram","gutenverse"),description:(0,i.__)("Gutenverse Social Share Telegram","gutenverse"),attributes:g(g({},p.attributes),{},{text:{type:"string",default:(0,i.__)("Share on Telegram","gutenverse")}}),keywords:[].concat((0,n.A)(p.keywords),[(0,i.__)("telegram","gutenverse")])}),b={icon:(0,d.jsx)(u.OL,{}),edit:m}},8367:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>R,name:()=>M,settings:()=>L});var n=o(6065),r=o(8930),i=o(9491),a=o(4715),s=o(3482),l=o(596),c=o(7723),p=function(e){var t=e.contentType;return[{id:"taxonomy",label:(0,c.__)("Taxonomy","gutenverse"),component:l.SelectControl,options:[{label:(0,c.__)("Post Category","gutenverse"),value:"category"},{label:(0,c.__)("Post Tag","gutenverse"),value:"post_tag"}]},{id:"contentType",label:(0,c.__)("Content Type","gutenverse"),component:l.SelectControl,options:[{label:(0,c.__)("One Line","gutenverse"),value:"string"},{label:(0,c.__)("Block","gutenverse"),value:"block"}]},{id:"inlineDisplay",label:(0,c.__)("Display Content Inline","gutenverse"),show:"block"===t,component:l.CheckboxControl},{id:"separator",label:(0,c.__)("Separator","gutenverse"),show:"string"===t,component:l.TextControl},{id:"htmlTag",label:(0,c.__)("HTML Tag","gutenverse"),component:l.SelectControl,options:[{label:(0,c.__)("H1"),value:"h1"},{label:(0,c.__)("H2"),value:"h2"},{label:(0,c.__)("H3"),value:"h3"},{label:(0,c.__)("H4"),value:"h4"},{label:(0,c.__)("H5"),value:"h5"},{label:(0,c.__)("H6"),value:"h6"},{label:(0,c.__)("P"),value:"p"}]},{id:"linkTo",label:(0,c.__)("Link To","gutenverse"),component:l.SelectControl,options:[{label:(0,c.__)("None"),value:"none"},{label:(0,c.__)("Terms"),value:"term"}]}]},u=o(790);function d(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function y(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?d(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):d(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var g=function(e){var t=e.elementId,o=e.switcher,n=e.setSwitcher,r=e.contentType;return[{id:"alignment",label:(0,c.__)("Alignment","gutenverse"),component:l.IconRadioControl,allowDeviceControl:!0,options:[{label:(0,c.__)("Align Left","gutenverse"),value:"flex-start",icon:(0,u.jsx)(s.AlignLeft,{})},{label:(0,c.__)("Align Center","gutenverse"),value:"center",icon:(0,u.jsx)(s.AlignCenter,{})},{label:(0,c.__)("Align Right","gutenverse"),value:"flex-end",icon:(0,u.jsx)(s.AlignRight,{})},"string"===r&&{label:(0,c.__)("Align Right","gutenverse"),value:"space-between",icon:(0,u.jsx)(s.AlignJustify,{})}]},{id:"typography",label:(0,c.__)("Typography","gutenverse"),component:l.TypographyControl},{id:"contentGap",label:(0,c.__)("Gap","gutenverse"),component:l.RangeControl,show:"block"===r,unit:"px",min:0,max:100,allowDeviceControl:!0,liveStyle:[{type:"plain",id:"contentGap",selector:".".concat(t," .post-term-block"),responsive:!0,properties:[{name:"gap",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"__styleHover",component:l.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__styleHover;return n(y(y({},o),{},{styleHover:t}))}},{id:"color",show:!o.styleHover||"normal"===o.styleHover,label:(0,c.__)("Text color","gutenverse"),component:l.ColorControl,liveStyle:[{type:"color",id:"color",selector:".".concat(t," h1, .").concat(t," h2, .").concat(t," h3, .").concat(t," h4, .").concat(t," h5, .").concat(t," h6, .").concat(t," span, .").concat(t," a"),properties:[{name:"color",valueType:"direct"}]}]},{id:"textShadow",show:!o.styleHover||"normal"===o.styleHover,label:(0,c.__)("Text Shadow","gutenverse"),component:l.TextShadowControl,liveStyle:[{type:"textShadow",id:"textShadow",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(t," h1, .").concat(t," h2, .").concat(t," h3, .").concat(t," h4, .").concat(t," h5, .").concat(t," h6, .").concat(t," span")}]},{id:"colorHover",show:"hover"===o.styleHover,label:(0,c.__)("Hover Text color","gutenverse"),component:l.ColorControl,liveStyle:[{type:"color",id:"colorHover",selector:".".concat(t,":hover h1, .").concat(t,":hover h2, .").concat(t,":hover h3, .").concat(t,":hover h4, .").concat(t,":hover h5, .").concat(t,":hover h6, .").concat(t,":hover span, .").concat(t,":hover a"),properties:[{name:"color",valueType:"direct"}]}]},{id:"textShadowHover",show:"hover"===o.styleHover,label:(0,c.__)("Hover Text Shadow","gutenverse"),component:l.TextShadowControl,liveStyle:[{type:"textShadow",id:"textShadowHover",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(t,":hover h1, .").concat(t,":hover h2, .").concat(t,":hover h3, .").concat(t,":hover h4, .").concat(t,":hover h5, .").concat(t,":hover h6, .").concat(t,":hover span")}]}]};function m(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function v(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?m(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):m(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var h=function(e){var t=e.elementId,o=e.contentType,n=e.inlineDisplay,r=e.switcher,i=e.setSwitcher;return[{id:"term-notice",component:l.AlertControl,children:(0,u.jsx)(u.Fragment,{children:(0,u.jsx)("span",{children:(0,c.__)('This Panel Option Only Show If You Choose Content Type "Block"')})})},{id:"termAlignment",label:(0,c.__)("Alignment","gutenverse"),component:l.IconRadioControl,show:!n&&"block"===o,allowDeviceControl:!0,description:(0,c.__)('This option only show if Content Type : "Block" with Display Content Inline "On"',"gutenverse"),options:[{label:(0,c.__)("Align Left","gutenverse"),value:"start",icon:(0,u.jsx)(s.AlignLeft,{})},{label:(0,c.__)("Align Center","gutenverse"),value:"center",icon:(0,u.jsx)(s.AlignCenter,{})},{label:(0,c.__)("Align Right","gutenverse"),value:"end",icon:(0,u.jsx)(s.AlignRight,{})}]},{id:"termPadding",show:"block"===o,label:(0,c.__)("Padding","gutenverse"),component:l.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"__termHover",component:l.SwitchControl,show:"block"===o,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__termHover;return i(v(v({},r),{},{termHover:t}))}},{id:"termBackground",component:l.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],show:"block"===o&&(!r.termHover||"normal"===r.termHover),liveStyle:[{type:"background",id:"termBackground",selector:".".concat(t," .post-term-block .term-item")}]},{id:"termBackgroundHover",component:l.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],show:"block"===o&&"hover"===r.termHover,liveStyle:[{type:"background",id:"termBackgroundHover",selector:".".concat(t," .post-term-block .term-item:hover")}]},{id:"termBorder",show:"block"===o&&(!r.termHover||"normal"===r.termHover),label:(0,c.__)("Border","gutenverse"),component:l.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"termBorder",selector:".".concat(t," .post-term-block .term-item")}]},{id:"termBorderHover",show:"block"===o&&"hover"===r.termHover,label:(0,c.__)("Border","gutenverse"),component:l.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"termBorderHover",selector:".".concat(t," .post-term-block .term-item:hover")}]},{id:"termBoxShadow",show:"block"===o&&(!r.termHover||"normal"===r.termHover),label:(0,c.__)("Box Shadow","gutenverse"),component:l.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"termBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t," .post-term-block .term-item")}]},{id:"termBoxShadowHover",show:"block"===o&&"hover"===r.termHover,label:(0,c.__)("Box Shadow","gutenverse"),component:l.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"termBoxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t," .post-term-block .term-item:hover")}]}]};function b(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function f(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?b(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):b(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var x=function(){return[{title:(0,c.__)("Setting","gutenverse"),panelArray:p,tabRole:l.TabSetting},{title:(0,c.__)("Style","gutenverse"),initialOpen:!1,panelArray:g,tabRole:l.TabStyle},{title:(0,c.__)("Term Item","gutenverse"),initialOpen:!1,panelArray:h,tabRole:l.TabStyle},{title:(0,c.__)("Background","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.backgroundPanel)(f(f({},e),{},{styleId:"post-terms-background",normalOptions:["default","gradient"],hoverOptions:["default","gradient"]}))},tabRole:l.TabStyle},{title:(0,c.__)("Border","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.borderPanel)(f(f({},e),{},{styleId:"post-terms-border"}))},tabRole:l.TabStyle},{title:(0,c.__)("Masking","gutenverse"),initialOpen:!1,panelArray:l.maskPanel,tabRole:l.TabStyle},{title:(0,c.__)("Display","gutenverse"),initialOpen:!1,panelArray:l.responsivePanel,tabRole:l.TabSetting},{title:(0,c.__)("Positioning","gutenverse"),initialOpen:!1,panelArray:l.positioningPanel,tabRole:l.TabSetting},{title:(0,c.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.animationPanel)(f(f({},e),{},{styleId:"post-terms-animation"}))},tabRole:l.TabSetting},{title:(0,c.__)("Transform","gutenverse"),initialOpen:!1,panelArray:l.transformPanel,pro:!0},{title:(0,c.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.advancePanel)(f(f({},e),{},{styleId:"post-terms-advance"}))},tabRole:l.TabSetting},{title:(0,c.__)("Condition","gutenverse"),panelArray:l.conditionPanel,initialOpen:!1,pro:!0}]},w=o(3582),S=o(6087),_=o(2188),j=o(6826),T=o(7143),O=o(8468),C=o(4320),k=o(4404),P=o(1222),N=o(2619);const E=function(e,t){var o=[];return o=(0,l.backgroundStyle)({attributes:t,data:o,elementId:e}),(0,P.isNotEmpty)(t.termAlignment)&&o.push({type:"plain",id:"termAlignment",selector:".".concat(e," .post-term-block .term-item"),properties:[{name:"text-align",valueType:"direct"}],responsive:!0}),(0,P.isNotEmpty)(t.termPadding)&&o.push({type:"dimension",id:"termPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e," .post-term-block .term-item")}),(0,P.isNotEmpty)(t.termBackground)&&o.push({type:"background",id:"termBackground",selector:".".concat(e," .post-term-block .term-item")}),(0,P.isNotEmpty)(t.termBackground)&&o.push({type:"background",id:"termBackground",selector:".".concat(e," .post-term-block .term-item:hover")}),(0,P.isNotEmpty)(t.termBorder)&&o.push({type:"borderResponsive",id:"termBorder",selector:".".concat(e," .post-term-block .term-item")}),(0,P.isNotEmpty)(t.termBorderHover)&&o.push({type:"borderResponsive",id:"termBorderHover",selector:".".concat(e," .post-term-block .term-item:hover")}),(0,P.isNotEmpty)(t.termBoxShadow)&&o.push({type:"boxShadow",id:"termBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e," .post-term-block .term-item")}),(0,P.isNotEmpty)(t.termBoxShadowHover)&&o.push({type:"boxShadow",id:"termBoxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e," .post-term-block .term-item:hover")}),(0,P.isNotEmpty)(t.alignment)&&o.push({type:"plain",id:"alignment",selector:".".concat(e),properties:[{name:"justify-content",valueType:"direct"},{name:"display",valueType:"static",staticValue:"flex"}],responsive:!0}),(0,P.isNotEmpty)(t.typography)&&o.push({type:"typography",id:"typography",selector:".".concat(e," h1, .").concat(e," h2, .").concat(e," h3, .").concat(e," h4, .").concat(e," h5, .").concat(e," h6, .").concat(e," span, .").concat(e," a")}),(0,P.isNotEmpty)(t.contentGap)&&o.push({type:"plain",id:"contentGap",responsive:!0,selector:".".concat(e," .post-term-block"),properties:[{name:"gap",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,P.isNotEmpty)(t.color)&&o.push({type:"color",id:"color",selector:".".concat(e," h1, .").concat(e," h2, .").concat(e," h3, .").concat(e," h4, .").concat(e," h5, .").concat(e," h6, .").concat(e," span, .").concat(e," a"),properties:[{name:"color",valueType:"direct"}]}),(0,P.isNotEmpty)(t.textShadow)&&o.push({type:"textShadow",id:"textShadow",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(e," h1, .").concat(e," h2, .").concat(e," h3, .").concat(e," h4, .").concat(e," h5, .").concat(e," h6, .").concat(e," span")}),(0,P.isNotEmpty)(t.colorHover)&&o.push({type:"color",id:"colorHover",selector:".".concat(e,":hover h1, .").concat(e,":hover h2, .").concat(e,":hover h3, .").concat(e,":hover h4, .").concat(e,":hover h5, .").concat(e,":hover h6, .").concat(e,":hover span, .").concat(e,":hover a"),properties:[{name:"color",valueType:"direct"}]}),(0,P.isNotEmpty)(t.textShadowHover)&&o.push({type:"textShadow",id:"textShadowHover",properties:[{name:"text-shadow",valueType:"direct"}],selector:".".concat(e,":hover h1, .").concat(e,":hover h2, .").concat(e,":hover h3, .").concat(e,":hover h4, .").concat(e,":hover h5, .").concat(e,":hover h6, .").concat(e,":hover span")}),(0,P.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,P.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,P.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,P.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,P.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,P.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,P.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,P.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,P.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,P.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,P.isNotEmpty)(t.animation)&&(0,P.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,P.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,P.isNotEmpty)(t.positioningType)&&(0,P.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,P.isNotEmpty)(t.positioningWidth)&&(0,P.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,P.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,P.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,P.isNotEmpty)(t.positioningLeft)&&(0,P.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,P.isNotEmpty)(t.positioningRight)&&(0,P.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,P.isNotEmpty)(t.positioningTop)&&(0,P.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,P.isNotEmpty)(t.positioningBottom)&&(0,P.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),[].concat((0,k.A)(o),(0,k.A)((0,N.applyFilters)("gutenverse.post-terms.blockStyle",[],{elementId:e,attributes:t})))};function D(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function B(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?D(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):D(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const A=(0,i.compose)(_.withPartialRender)((function(e){var t=e.attributes,o=e.clientId,n=e.context,i=n.postId,p=n.postType,d=t.elementId,y=t.taxonomy,g=void 0===y?"category":y,m=t.separator,v=void 0===m?",":m,h=t.linkTo,b=t.contentType,f=t.inlineDisplay,_=t.htmlTag,k=(0,j.useAnimationEditor)(t),P=(0,j.useDisplayEditor)(t),N=(0,S.useRef)(),D="post_tag"===g?"tags":"categories",A=(0,w.useEntityProp)("postType",p,D,i),H=(0,r.A)(A,1)[0],R=void 0===H?[]:H,I=(0,T.useSelect)((function(e){return(0,e(w.store).getEntityRecords)("taxonomy",g,{include:R,context:"view"})||[]}),[g]),M=(0,a.useBlockProps)({className:(0,s.classnames)("guten-element","guten-post-terms","no-margin",d,k,P),ref:N});return(0,C.useGenerateElementId)(o,d,N),(0,C.useDynamicStyle)(d,t,E,N),(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(s.CopyElementToolbar,B({},e)),(0,u.jsx)(a.InspectorControls,{children:(0,u.jsx)(l.PanelTutorial,{title:(0,c.__)("How Post Terms works?","gutenverse"),list:[{title:(0,c.__)("Inside Post Editor, Query Loop Block, and on Frontend","gutenverse"),description:(0,c.__)("Terms data will be fetched automatically based on the current post/loop.","gutenverse")},{title:(0,c.__)("Inside Site Editor","gutenverse"),description:(0,c.__)("It will load placeholder data.","gutenverse")}]})}),(0,u.jsx)(l.BlockPanelController,{panelList:x,props:e,elementRef:N}),(0,u.jsx)("div",B(B({},M),{},{children:"block"===b?(0,O.isEmpty)(I)?(0,u.jsx)("div",{className:"post-term-block",children:h&&"none"!==h?(0,u.jsx)("a",{href:"#",className:"term-item",onClick:function(e){return e.preventDefault()},children:(0,u.jsx)(_,{children:"Post Terms"})}):(0,u.jsx)(_,{className:"term-item",children:"Post Terms"})}):(0,u.jsx)("div",{className:"post-term-block ".concat(f?"inline-display":""),children:I.map((function(e){var t=null==e?void 0:e.name;return h&&"none"!==h?(0,u.jsx)("a",{href:"#",onClick:function(e){return e.preventDefault()},className:"term-item",children:(0,u.jsx)(_,{children:t})}):(0,u.jsx)(_,{className:"term-item",children:t})}))}):(0,u.jsx)(_,{children:(0,O.isEmpty)(I)?h&&"none"!==h?(0,u.jsx)("a",{href:"#",onClick:function(e){return e.preventDefault()},children:"Post Terms"}):"Post Terms":I.map((function(e,t){var o=null==e?void 0:e.name,n=t<I.length-1?v:"";return h&&"none"!==h?(0,u.jsx)("a",{href:"#",onClick:function(e){return e.preventDefault()},children:o+n}):o+n}))})}))]})}));function H(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}const R=JSON.parse('{"apiVersion":2,"name":"gutenverse/post-terms","class_callback":"\\\\Gutenverse\\\\Block\\\\Post_Terms","title":"Post Terms","description":"Show the categories/tags of a single post.","category":"gutenverse-post","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"postId":{"type":"string","default":0},"backendPostId":{"type":"string"},"noContentText":{"type":"string","default":"No Content"},"contentType":{"type":"string","default":"string","copyStyle":true},"inlineDisplay":{"type":"boolean","copyStyle":true},"contentGap":{"type":"object","copyStyle":true},"termAlignment":{"type":"object","copyStyle":true},"termPadding":{"type":"object","copyStyle":true},"termBackground":{"type":"object","copyStyle":true},"termBackgroundHover":{"type":"object","copyStyle":true},"termBorder":{"type":"object","copyStyle":true},"termBorderHover":{"type":"object","copyStyle":true},"termBoxShadow":{"type":"object","copyStyle":true},"termBoxShadowHover":{"type":"object","copyStyle":true},"taxonomy":{"type":"string","default":"category"},"separator":{"type":"string","default":","},"htmlTag":{"type":"string","default":"span"},"linkTo":{"type":"string","default":"none"},"customURL":{"type":"string"},"alignment":{"type":"object","copyStyle":true},"typography":{"type":"object","copyStyle":true},"color":{"type":"object","copyStyle":true},"textShadow":{"type":"object","default":{},"copyStyle":true},"colorHover":{"type":"object","copyStyle":true},"textShadowHover":{"type":"object","default":{},"copyStyle":true},"background":{"type":"object","default":{},"copyStyle":true},"backgroundHover":{"type":"object","default":{},"copyStyle":true},"backgroundTransition":{"type":"object","copyStyle":true,"default":{}},"border":{"type":"object","copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"borderHover":{"type":"object","copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadowHover":{"type":"object","copyStyle":true},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"animation":{"type":"object","default":{},"copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"positioningType":{"type":"object","copyStyle":true},"positioningWidth":{"type":"object","copyStyle":true},"positioningAlign":{"type":"object","copyStyle":true},"positioningLocation":{"type":"string","copyStyle":true},"positioningLeft":{"type":"object","copyStyle":true},"positioningRight":{"type":"object","copyStyle":true},"positioningTop":{"type":"object","copyStyle":true},"positioningBottom":{"type":"object","copyStyle":true},"transform":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"condition":{"type":"object","default":{}}},"usesContext":["postId","postType","queryId"],"supports":{"className":false},"keywords":["post","term","category","tag","taxonomy"]}');var I=o(4889),M=R.name,L={icon:(0,u.jsx)(I.Xb,{}),edit:A,save:function(e){var t=e.attributes,o=t.elementId,r=(0,j.useAnimationFrontend)(t),i=(0,j.useDisplayFrontend)(t),l=(0,s.classnames)("guten-element","guten-post-terms",o,r,i);return(0,u.jsx)("div",function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?H(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):H(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},a.useBlockProps.save({className:l})))}}},8408:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>k,name:()=>N,settings:()=>E});var n=o(6065),r=o(9491),i=o(3482),a=o(4715),s=o(596),l=o(7723),c=function(e){var t=e.elementId;return[{id:"space",label:(0,l.__)("Spacer Height","gutenverse"),component:s.SizeControl,allowDeviceControl:!0,units:{px:{text:"px",min:0,max:2e3,step:1},vh:{text:"vh",min:0,max:200,step:1},em:{text:"em",min:0,max:20,step:.1}},liveStyle:[{type:"unitPoint",id:"space",selector:".".concat(t,".guten-spacer"),responsive:!0,properties:[{name:"padding-bottom",valueType:"direct",important:!0}]}]}]};function p(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function u(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?p(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):p(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var d=function(){return[{title:(0,l.__)("Setting","gutenverse"),panelArray:c,tabRole:s.TabSetting},{title:(0,l.__)("Transform","gutenverse"),initialOpen:!1,panelArray:s.transformPanel,pro:!0,tabRole:s.TabSetting},{title:(0,l.__)("Background","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,s.backgroundPanel)(u(u({},e),{},{styleId:"spacer-background",normalOptions:["default","gradient"],hoverOptions:["default","gradient"],normalSelector:".".concat(e.elementId,", .").concat(e.elementId,".guten-spacer.is-selected"),hoverSelector:".".concat(e.elementId,":hover,.").concat(e.elementId,".guten-spacer.is-selected:hover")}))},tabRole:s.TabStyle},{title:(0,l.__)("Border","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,s.borderPanel)(u(u({},e),{},{styleId:"spacer-border"}))},tabRole:s.TabStyle},{title:(0,l.__)("Masking","gutenverse"),initialOpen:!1,panelArray:s.maskPanel,tabRole:s.TabStyle},{title:(0,l.__)("Pointer Event","--gctd--"),initialOpen:!1,panelArray:s.pointerEventPanel,tabRole:s.TabStyle},{title:(0,l.__)("Display","gutenverse"),initialOpen:!1,panelArray:s.responsivePanel,tabRole:s.TabSetting},{title:(0,l.__)("Positioning","gutenverse"),initialOpen:!1,panelArray:s.positioningPanel,tabRole:s.TabSetting},{title:(0,l.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,s.animationPanel)(u(u({},e),{},{styleId:"spacer-animation"}))},tabRole:s.TabSetting},{title:(0,l.__)("Advanced Animation","gutenverse"),initialOpen:!1,panelAdvance:!0,panelArray:function(e){return(0,s.advanceAnimationPanel)(u(u({},e),{},{blockType:"spacer"}))},pro:!0},{title:(0,l.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,s.advancePanel)(u(u({},e),{},{styleId:"spacer-advance"}))},tabRole:s.TabSetting},{title:(0,l.__)("Condition","gutenverse"),panelArray:s.conditionPanel,initialOpen:!1,pro:!0}]},y=o(6087),g=o(2188),m=o(6826),v=o(4320),h=o(4404),b=o(1222),f=o(2619);const x=function(e,t){var o=[];return o=(0,s.backgroundStyle)({attributes:t,data:o,elementId:e}),(0,b.isNotEmpty)(t.space)&&o.push({type:"unitPoint",id:"space",selector:".".concat(e,".guten-spacer"),responsive:!0,properties:[{name:"padding-bottom",valueType:"direct",important:!0}]}),(0,b.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,b.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,b.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,b.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,b.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,b.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,b.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,b.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,b.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,b.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,b.isNotEmpty)(t.animation)&&(0,b.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,b.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,b.isNotEmpty)(t.positioningType)&&(0,b.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,b.isNotEmpty)(t.positioningWidth)&&(0,b.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,b.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,b.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,b.isNotEmpty)(t.positioningLeft)&&(0,b.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,b.isNotEmpty)(t.positioningRight)&&(0,b.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,b.isNotEmpty)(t.positioningTop)&&(0,b.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,b.isNotEmpty)(t.positioningBottom)&&(0,b.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),[].concat((0,h.A)(o),(0,h.A)((0,f.applyFilters)("gutenverse.spacer.blockStyle",[],{elementId:e,attributes:t})))};var w=o(790);function S(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function _(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?S(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):S(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const j=(0,r.compose)(g.withPartialRender,g.withPassRef,(0,g.withAnimationAdvanceV2)("spacer"))((function(e){var t=e.attributes,o=e.clientId,n=e.setBlockRef,r=t.elementId,c=(0,y.useRef)(),p=(0,m.useAnimationEditor)(t),u=(0,m.useDisplayEditor)(t);(0,v.useGenerateElementId)(o,r,c),(0,v.useDynamicStyle)(r,t,x,c),(0,v.useDynamicScript)(c);var g=(0,a.useBlockProps)({className:(0,i.classnames)("guten-element","guten-spacer","no-margin",r,p,u),ref:c});return(0,y.useEffect)((function(){c&&n(c)}),[c]),(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(i.CopyElementToolbar,_({},e)),(0,w.jsx)(s.BlockPanelController,{panelList:d,props:e,elementRef:c}),(0,w.jsx)("div",_(_({},g),{},{children:(0,w.jsxs)("div",{className:"spacer-indicator",children:[(0,w.jsx)("i",{className:"spacer-icon gtn gtn-arrow-up-solid"}),(0,w.jsx)("span",{children:(0,l.__)("SPACER","gutenverse")}),(0,w.jsx)("i",{className:"spacer-icon gtn gtn-arrow-down-solid"})]})}))]})}));function T(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function O(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?T(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):T(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const C=(0,r.compose)((0,g.withAnimationAdvanceScript)("spacer"))((function(e){var t=e.attributes,o=t.elementId,n=t.anchor,r=(0,m.useAnimationAdvanceData)(t),a=(0,m.useAnimationFrontend)(t),s=(0,m.useDisplayFrontend)(t),l=(0,i.classnames)("guten-element","guten-spacer",o,a,s);return(0,w.jsx)("div",O(O({className:l},r),{},{id:n}))})),k=JSON.parse('{"apiVersion":2,"name":"gutenverse/spacer","title":"Spacer","description":"Create a spacer to give a gap between content","category":"gutenverse-element","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"space":{"type":"object","default":{},"copyStyle":true},"animation":{"type":"object","default":{},"copyStyle":true},"border":{"type":"object","copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"positioningType":{"type":"object","copyStyle":true},"positioningWidth":{"type":"object","copyStyle":true},"positioningAlign":{"type":"object","copyStyle":true},"positioningLocation":{"type":"string","copyStyle":true},"positioningLeft":{"type":"object","copyStyle":true},"positioningRight":{"type":"object","copyStyle":true},"positioningTop":{"type":"object","copyStyle":true},"positioningBottom":{"type":"object","copyStyle":true},"advanceAnimation":{"type":"object","default":{},"copyStyle":true},"mask":{"type":"object","copyStyle":true},"pointer":{"type":"object","copyStyle":true},"background":{"type":"object","default":{},"copyStyle":true},"backgroundHover":{"type":"object","default":{},"copyStyle":true},"backgroundTransition":{"type":"object","copyStyle":true,"default":{}},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"anchor":{"type":"string"},"transform":{"type":"object","copyStyle":true},"condition":{"type":"object","default":{}}},"supports":{"anchor":true,"reusable":false,"html":false},"keywords":["container","column"]}');var P=o(4889);var N=k.name,E={icon:(0,w.jsx)(P.mV,{}),example:{attributes:{space:{}}},edit:j,save:C}},8449:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>K,name:()=>te,settings:()=>oe});var n=o(6065),r=o(8930),i=o(9491),a=o(6087),s=o(2188),l=o(4715),c=o(3482),p=o(596),u=o(7723),d=function(e){var t=e.elementId,o=e.layout,n=e.iconEnabled,r=e.metaEnabled,i=e.metaDateEnabled,a=e.metaCategoryEnabled,s=e.metaDateFormat;return[{id:"layout",label:(0,u.__)("Layout","gutenverse"),component:p.SelectControl,options:[{label:(0,u.__)("Vertical","gutenverse"),value:"vertical"},{label:(0,u.__)("Horizontal","gutenverse"),value:"horizontal"}]},{id:"column",show:"horizontal"===o,label:(0,u.__)("Column","gutenverse"),component:p.RangeControl,allowDeviceControl:!0,min:1,max:3,step:1,liveStyle:[{type:"plain",id:"column",responsive:!0,selector:".".concat(t," .guten-posts"),properties:[{name:"grid-template-columns",valueType:"pattern",pattern:"repeat({value}, minmax(0, 1fr))",patternValues:{value:{type:"direct"}}}]}]},{id:"columnGap",show:"horizontal"===o,label:(0,u.__)("Column Gap","gutenverse"),component:p.RangeControl,allowDeviceControl:!0,unit:"px",min:1,max:200,step:1,liveStyle:[{type:"plain",id:"columnGap",responsive:!0,selector:".".concat(t," .guten-posts"),properties:[{name:"grid-column-gap",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"imageEnabled",label:(0,u.__)("Show Featured Image","gutenverse"),component:p.CheckboxControl},{id:"backgroundImageEnabled",label:(0,u.__)("Background Featured Image","gutenverse"),component:p.CheckboxControl},{id:"iconEnabled",label:(0,u.__)("Show Icon","gutenverse"),component:p.CheckboxControl},{id:"icon",show:n,label:(0,u.__)("Icon","gutenverse"),component:p.IconControl},{id:"metaEnabled",label:(0,u.__)("Show Meta","gutenverse"),component:p.CheckboxControl},{id:"metaDateEnabled",show:r,label:(0,u.__)("Show Meta Date","gutenverse"),component:p.CheckboxControl},{id:"metaDateType",show:r&&i,label:(0,u.__)("Date Type","gutenverse"),component:p.SelectControl,options:[{label:(0,u.__)("Published Date","gutenverse"),value:"published"},{label:(0,u.__)("Modified Date","gutenverse"),value:"modified"},{label:(0,u.__)("Both Dates","gutenverse"),value:"both"}]},{id:"metaDateFormat",show:r&&i,label:(0,u.__)("Date Format","gutenverse"),component:p.SelectControl,options:[{label:(0,u.__)("Relative Date/Time Format (ago)","gutenverse"),value:"ago"},{label:(0,u.__)("Wordpress Default Format","gutenverse"),value:"default"},{label:(0,u.__)("Custom Format","gutenverse"),value:"custom"}]},{id:"metaDateFormatCustom",show:r&&i&&"custom"===s,label:(0,u.__)("Custom Format","gutenverse"),component:p.TextControl},{id:"metaDateIcon",show:r&&i,label:(0,u.__)("Date Icon","gutenverse"),component:p.IconControl},{id:"metaDateIconPosition",show:r&&i,label:(0,u.__)("Icon Position","gutenverse"),component:p.SelectControl,options:[{label:(0,u.__)("Before"),value:"before"},{label:(0,u.__)("After"),value:"after"}]},{id:"metaCategoryEnabled",show:r,label:(0,u.__)("Show Meta Category","gutenverse"),component:p.CheckboxControl},{id:"metaCategoryIcon",show:r&&a,label:(0,u.__)("Category Icon","gutenverse"),component:p.IconControl},{id:"metaPosition",show:r,label:(0,u.__)("Meta Position","gutenverse"),component:p.SelectControl,options:[{label:(0,u.__)("Top","gutenverse"),value:"top"},{label:(0,u.__)("Bottom","gutenverse"),value:"bottom"}]},{id:"lazyLoad",label:(0,u.__)("Set Lazy Load","gutenverse"),component:p.CheckboxControl}]},y=o(5255),g=o(790);function m(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function v(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?m(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):m(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var h=function(e){var t=e.elementId,o=e.switcher,r=e.setSwitcher,i=(0,y.getDeviceType)();return[{id:"contentAlign",label:(0,u.__)("Alignment","gutenverse"),component:p.IconRadioControl,allowDeviceControl:!0,options:[{label:(0,u.__)("Align Left","gutenverse"),value:"left",icon:(0,g.jsx)(c.AlignLeft,{})},{label:(0,u.__)("Align Center","gutenverse"),value:"center",icon:(0,g.jsx)(c.AlignCenter,{})},{label:(0,u.__)("Align Right","gutenverse"),value:"right",icon:(0,g.jsx)(c.AlignRight,{})}]},{id:"contentMargin",label:(0,u.__)("Margin","gutenverse"),component:p.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"contentPadding",label:(0,u.__)("Padding","gutenverse"),component:p.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"contentWidth",label:(0,u.__)("Width","gutenverse"),component:p.SizeControl,allowDeviceControl:!0,units:(0,n.A)({px:{text:"px",min:1,max:1e3,step:1},em:{text:"em",min:.1,max:10,step:.1}},"%",{text:"%",min:1,max:100,step:1}),liveStyle:[{type:"unitPoint",id:"contentWidth",responsive:!0,properties:[{name:"width",valueType:"direct"}],selector:".".concat(t," .guten-postlist .guten-post a")}]},{id:"__contentHover",component:p.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__contentHover;return r(v(v({},o),{},{contentHover:t}))}},{id:"contentBackground",show:!o.contentHover||"normal"===o.contentHover,label:(0,u.__)("Background","gutenverse"),component:p.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"contentBackground",selector:".".concat(t," .guten-postlist .guten-post")}]},{id:"contentHoverBackground",show:"hover"===o.contentHover,label:(0,u.__)("Hover Background","gutenverse"),component:p.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"contentHoverBackground",selector:".".concat(t," .guten-postlist .guten-post:hover")}]},{id:"contentBorder",show:(!o.contentHover||"normal"===o.contentHover)&&"Desktop"===i,label:(0,u.__)("Border","gutenverse"),component:p.BorderControl,liveStyle:[{type:"border",id:"contentBorder",selector:".".concat(t," .guten-postlist .guten-post a")}]},{id:"contentBorderResponsive",show:(!o.contentHover||"normal"===o.contentHover)&&"Desktop"!==i,label:(0,u.__)("Border","gutenverse"),component:p.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"contentBorderResponsive",selector:".".concat(t," .guten-postlist .guten-post a")}]},{id:"contentHoverBorder",show:"hover"===o.contentHover&&"Desktop"===i,label:(0,u.__)("Border","gutenverse"),component:p.BorderControl,liveStyle:[{type:"border",id:"contentHoverBorder",selector:".".concat(t," .guten-postlist .guten-post:hover a")}]},{id:"contentHoverBorderResponsive",show:"hover"===o.contentHover&&"Desktop"!==i,label:(0,u.__)("Border","gutenverse"),component:p.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"contentHoverBorderResponsive",selector:".".concat(t," .guten-postlist .guten-post:hover a")}]},{id:"contentShadow",label:(0,u.__)("Box Shadow","gutenverse"),show:!o.contentHover||"normal"===o.contentHover,component:p.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"contentShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t," .guten-postlist .guten-post a")}]},{id:"contentHoverShadow",label:(0,u.__)("Hover Box Shadow","gutenverse"),show:"hover"===o.contentHover,component:p.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"contentHoverShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t," .guten-postlist .guten-post:hover a")}]}]},b=function(e){var t=e.elementId,o=e.iconEnabled;return[{id:"icon-notice",component:p.AlertControl,children:(0,g.jsx)(g.Fragment,{children:(0,g.jsx)("span",{children:(0,u.__)('This Panel Option Only Show If You Turn On "Show Icon" Option')})})},{id:"iconAlign",label:(0,u.__)("Icon Alignment","gutenverse"),show:o,component:p.SelectControl,allowDeviceControl:!0,options:[{label:(0,u.__)("Align Top","gutenverse"),value:"flex-start"},{label:(0,u.__)("Align Center","gutenverse"),value:"center"},{label:(0,u.__)("Align Bottom","gutenverse"),value:"flex-end"}]},{id:"iconWidth",label:(0,u.__)("Width","gutenverse"),component:p.RangeControl,allowDeviceControl:!0,show:o,unit:"px",min:1,max:200,step:1,liveStyle:[{type:"plain",id:"iconWidth",responsive:!0,selector:".".concat(t," .guten-postlist .guten-post a .icon-list"),properties:[{name:"width",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"iconHeight",label:(0,u.__)("Height","gutenverse"),component:p.RangeControl,allowDeviceControl:!0,show:o,unit:"px",min:1,max:200,step:1,liveStyle:[{type:"plain",id:"iconHeight",responsive:!0,selector:".".concat(t," .guten-postlist .guten-post a .icon-list"),properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"iconLineHeight",label:(0,u.__)("Line Height","gutenverse"),component:p.RangeControl,allowDeviceControl:!0,show:o,unit:"px",min:1,max:100,step:1,liveStyle:[{type:"plain",id:"iconLineHeight",responsive:!0,selector:".".concat(t," .guten-postlist .guten-post a .icon-list"),properties:[{name:"line-height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"iconSize",label:(0,u.__)("Size","gutenverse"),component:p.RangeControl,allowDeviceControl:!0,show:o,unit:"px",min:1,max:100,step:1,liveStyle:[{type:"plain",id:"iconSize",responsive:!0,selector:".".concat(t," .guten-postlist .guten-post a .icon-list i"),properties:[{name:"font-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"iconMargin",label:(0,u.__)("Margin","gutenverse"),component:p.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,show:o,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"iconRadius",label:(0,u.__)("Border Radius","gutenverse"),component:p.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,show:o,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"iconColor",label:(0,u.__)("Icon Color","gutenverse"),component:p.ColorControl,show:o,liveStyle:[{type:"color",id:"iconColor",properties:[{name:"color",valueType:"direct"}],selector:".".concat(t," .guten-postlist .guten-post a .icon-list i")}]},{id:"iconHoverColor",label:(0,u.__)("Icon Hover Color","gutenverse"),component:p.ColorControl,show:o,liveStyle:[{type:"color",id:"iconHoverColor",properties:[{name:"color",valueType:"direct"}],selector:".".concat(t," .guten-postlist .guten-post:hover a .icon-list i")}]},{id:"iconBackground",label:(0,u.__)("Background","gutenverse"),component:p.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],show:o,liveStyle:[{type:"background",id:"iconBackground",selector:".".concat(t," .guten-postlist .guten-post a .icon-list")}]}]},f=function(e){var t=e.elementId;return[{id:"imageWidth",label:(0,u.__)("Width","gutenverse"),component:p.RangeControl,allowDeviceControl:!0,unit:"%",min:1,max:100,step:1,liveStyle:[{type:"plain",id:"imageWidth",responsive:!0,selector:".".concat(t," .guten-postlist .guten-post a img"),properties:[{name:"width",valueType:"pattern",pattern:"{value}%",patternValues:{value:{type:"direct"}}}]}]},{id:"imageHeight",label:(0,u.__)("Height","gutenverse"),component:p.RangeControl,allowDeviceControl:!0,unit:"px",min:1,max:1e3,step:1,liveStyle:[{type:"plain",id:"imageHeight",responsive:!0,selector:".".concat(t," .guten-postlist .guten-post a img"),properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"imageFit",label:(0,u.__)("Image Fit","gutenverse"),component:p.SelectControl,allowDeviceControl:!0,options:[{label:"Default",value:"default"},{label:"Fill",value:"fill"},{label:"Cover",value:"cover"},{label:"Contain",value:"contain"}]},{id:"imageMargin",label:(0,u.__)("Margin","gutenverse"),component:p.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"imageBorder",label:(0,u.__)("Border","gutenverse"),component:p.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"imageBorder",selector:".".concat(t," .guten-postlist .guten-post a img")}]}]};function x(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function w(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?x(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):x(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var S=function(e){var t=e.elementId,o=e.switcher,n=e.setSwitcher,r=(0,y.getDeviceType)();return[{id:"metaAlign",label:(0,u.__)("Alignment","gutenverse"),component:p.IconRadioControl,allowDeviceControl:!0,options:[{label:(0,u.__)("Align Left","gutenverse"),value:"left",icon:(0,g.jsx)(c.AlignLeft,{})},{label:(0,u.__)("Align Center","gutenverse"),value:"center",icon:(0,g.jsx)(c.AlignCenter,{})},{label:(0,u.__)("Align Right","gutenverse"),value:"right",icon:(0,g.jsx)(c.AlignRight,{})}]},{id:"metaTypography",label:(0,u.__)("Typography","gutenverse"),component:p.TypographyControl},{id:"metaIconSize",label:(0,u.__)("Icon Size","gutenverse"),component:p.RangeControl,allowDeviceControl:!0,unit:"px",min:1,max:100,step:1,liveStyle:[{type:"plain",id:"metaIconSize",responsive:!0,selector:".".concat(t," .guten-postlist .guten-post a .meta-lists i"),properties:[{name:"font-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"metaIconSpacing",label:(0,u.__)("Icon Spacing","gutenverse"),component:p.RangeControl,allowDeviceControl:!0,unit:"px",min:1,max:100,step:1,liveStyle:[{type:"plain",id:"metaIconSpacing",responsive:!0,selector:".".concat(t," .guten-postlist .guten-post a .meta-lists i"),properties:[{name:"margin-right",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"metaMargin",label:(0,u.__)("Margin","gutenverse"),component:p.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"metaPadding",label:(0,u.__)("Padding","gutenverse"),component:p.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"__metaHover",component:p.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__metaHover;return n(w(w({},o),{},{metaHover:t}))}},{id:"metaColor",show:!o.metaHover||"normal"===o.metaHover,label:(0,u.__)("Color","gutenverse"),component:p.ColorControl,liveStyle:[{type:"color",id:"metaColor",properties:[{name:"color",valueType:"direct"}],selector:".".concat(t," .guten-postlist .guten-post a .meta-lists span")}]},{id:"metaColorHover",show:"hover"===o.metaHover,label:(0,u.__)("Hover Color","gutenverse"),component:p.ColorControl,liveStyle:[{type:"color",id:"metaColorHover",properties:[{name:"color",valueType:"direct"}],selector:".".concat(t," .guten-postlist .guten-post:hover a .meta-lists span")}]},{id:"metaBackground",show:!o.metaHover||"normal"===o.metaHover,label:(0,u.__)("Background","gutenverse"),component:p.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"metaBackground",selector:".".concat(t," .guten-postlist .guten-post a .meta-lists span")}]},{id:"metaHoverBackground",show:"hover"===o.metaHover,label:(0,u.__)("Hover Background","gutenverse"),component:p.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"metaHoverBackground",selector:".".concat(t," .guten-postlist .guten-post:hover a .meta-lists span")}]},{id:"metaBorder",show:(!o.metaHover||"normal"===o.metaHover)&&"Desktop"===r,label:(0,u.__)("Border","gutenverse"),component:p.BorderControl,liveStyle:[{type:"border",id:"metaBorder",selector:".".concat(t," .guten-postlist .guten-post a .meta-lists span")}]},{id:"metaBorderResponsive",show:(!o.metaHover||"normal"===o.metaHover)&&"Desktop"!==r,label:(0,u.__)("Border","gutenverse"),component:p.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"metaBorderResponsive",selector:".".concat(t," .guten-postlist .guten-post a .meta-lists span")}]},{id:"metaHoverBorder",show:"hover"===o.metaHover&&"Desktop"===r,label:(0,u.__)("Border","gutenverse"),component:p.BorderControl,liveStyle:[{type:"border",id:"metaHoverBorder",selector:".".concat(t," .guten-postlist .guten-post:hover a .meta-lists span")}]},{id:"metaHoverBorderResponsive",show:"hover"===o.metaHover&&"Desktop"!==r,label:(0,u.__)("Border","gutenverse"),component:p.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"metaHoverBorderResponsive",selector:".".concat(t," .guten-postlist .guten-post:hover a .meta-lists span")}]}]},_=function(e){switch(e){case"prevnext":return[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"},{value:"disabled",label:"Disabled"}];case"number":return[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"},{value:"current",label:"Active"}];default:return[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}]}};function j(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function T(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?j(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):j(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var O=function(e){var t=e.paginationMode,o=e.paginationPrevNextText,n=e.setSwitcher,r=e.switcher,i=e.setAttributes;return[{id:"paginationMode",label:(0,u.__)("Pagination Mode","gutenverse"),description:(0,u.__)("Note: Auto Load on Scroll effect is disabled in editor mode, but it can be viewed on Preview mode.","gutenverse"),component:p.SelectControl,options:[{label:(0,u.__)("No Pagination"),value:"disable"},{label:(0,u.__)("Load More"),value:"loadmore"},{label:(0,u.__)("Auto Load on Scroll"),value:"scrollload"},{label:(0,u.__)("Prev Next"),value:"prevnext"},{label:(0,u.__)("Number"),value:"number"}],onChange:function(e){var t=e.paginationMode,o=e.__paginationHover,a=_(t);null!=a&&a.some((function(e){return e.value===o}))||(i({__paginationHover:"normal"}),n(T(T({},r),{},{paginationHover:"normal"})))}},{id:"paginationPrevNextText",show:t&&("number"===t||"prevnext"===t),label:(0,u.__)("Show Text","gutenverse"),component:p.CheckboxControl},{id:"paginationPrevText",show:t&&("number"===t||"prevnext"===t)&&o,label:(0,u.__)('"Previous" Text',"gutenverse"),component:p.TextControl},{id:"paginationNextText",show:t&&("number"===t||"prevnext"===t)&&o,label:(0,u.__)('"Next" Text',"gutenverse"),component:p.TextControl},{id:"paginationPrevIcon",show:t&&("number"===t||"prevnext"===t),component:p.IconControl},{id:"paginationNextIcon",show:t&&("number"===t||"prevnext"===t),component:p.IconControl},{id:"paginationLoadmoreText",show:t&&("loadmore"===t||"scrollload"===t),label:(0,u.__)('"Load More" Text',"gutenverse"),component:p.TextControl},{id:"paginationLoadingText",show:t&&("loadmore"===t||"scrollload"===t),label:(0,u.__)('"Loading" Text',"gutenverse"),component:p.TextControl},{id:"paginationNumberPost",show:t&&("loadmore"===t||"scrollload"===t),label:(0,u.__)("Pagination Post","gutenverse"),description:(0,u.__)("Number of Post loaded per Pagination","gutenverse"),component:p.RangeControl,min:1,max:30,step:1,isParseFloat:!1},{id:"paginationScrollLimit",show:t&&"scrollload"===t,label:(0,u.__)("Auto Load Limit","gutenverse"),description:(0,u.__)("Limit of auto load when scrolling, set to zero to always load until end of content.","gutenverse"),component:p.NumberControl,min:0,max:9999,step:1},{id:"paginationIcon",show:t&&("loadmore"===t||"scrollload"===t),component:p.IconControl},{id:"paginationIconPosition",show:t&&("loadmore"===t||"scrollload"===t),component:p.SelectControl,options:[{label:(0,u.__)("Before"),value:"before"},{label:(0,u.__)("After"),value:"after"}]}]};function C(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function k(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?C(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):C(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var P=function(e){var t=e.elementId,o=e.switcher,n=e.setSwitcher,r=e.paginationMode,i=(0,y.getDeviceType)();return[{id:"paginationTypography",label:(0,u.__)("Typography","gutenverse"),component:p.TypographyControl},{id:"paginationMargin",label:(0,u.__)("Margin","gutenverse"),component:p.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"paginationPadding",label:(0,u.__)("Padding","gutenverse"),component:p.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"paginationWidth",label:(0,u.__)("Width","gutenverse"),component:p.RangeControl,min:1,max:100,step:1,allowDeviceControl:!0,unit:"%",liveStyle:[{type:"plain",id:"paginationWidth",responsive:!0,selector:".".concat(t," .guten-postlist .guten-block-pagination .guten-block-loadmore, .").concat(t," .guten-postlist .guten_block_nav .btn-pagination"),properties:[{name:"width",valueType:"pattern",pattern:"{value}%",patternValues:{value:{type:"direct"}}}]}]},{id:"paginationIconSpacing",label:(0,u.__)("Icon Spacing","gutenverse"),component:p.RangeControl,min:1,max:100,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"paginationIconSpacing",responsive:!0,selector:".".concat(t," .guten-postlist .guten-block-pagination .guten-block-loadmore.icon-position-before i, .").concat(t," .guten-postlist .guten_block_nav .btn-pagination.prev i"),properties:[{name:"margin-right",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]},{type:"plain",id:"paginationIconSpacing",responsive:!0,selector:".".concat(t," .guten-postlist .guten-block-pagination .guten-block-loadmore.icon-position-after i, .").concat(t," .guten-postlist .guten_block_nav .btn-pagination.next i"),properties:[{name:"margin-left",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"paginationIconSize",label:(0,u.__)("Icon Size","gutenverse"),component:p.SizeControl,allowDeviceControl:!0,units:{px:{text:"px",min:1,max:100,step:1},em:{text:"em",min:.1,max:3,step:.1}},liveStyle:[{type:"unitPoint",id:"paginationIconSize",responsive:!0,selector:".".concat(t," .guten-postlist .guten-block-pagination .guten-block-loadmore.icon-position-before i, .").concat(t," .guten-postlist .guten_block_nav .btn-pagination.prev i"),properties:[{name:"font-size",valueType:"direct"}]},{type:"unitPoint",id:"paginationIconSize",responsive:!0,selector:".".concat(t," .guten-postlist .guten-block-pagination .guten-block-loadmore.icon-position-after i, .").concat(t," .guten-postlist .guten_block_nav .btn-pagination.next i"),properties:[{name:"font-size",valueType:"direct"}]}]},{id:"paginationAlign",label:(0,u.__)("Alignment","gutenverse"),component:p.IconRadioControl,allowDeviceControl:!0,options:[{label:(0,u.__)("Align Left","gutenverse"),value:"left",icon:(0,g.jsx)(c.AlignLeft,{})},{label:(0,u.__)("Align Center","gutenverse"),value:"center",icon:(0,g.jsx)(c.AlignCenter,{})},{label:(0,u.__)("Align Right","gutenverse"),value:"right",icon:(0,g.jsx)(c.AlignRight,{})}]},{id:"__paginationHover",component:p.SwitchControl,options:_(r),onChange:function(e){var t=e.__paginationHover;return n(k(k({},o),{},{paginationHover:t}))}},{id:"paginationColor",show:!o.paginationHover||"normal"===o.paginationHover,label:(0,u.__)("Normal color","gutenverse"),component:p.ColorControl,liveStyle:[{type:"color",id:"paginationColor",selector:".".concat(t," .guten-postlist .guten-block-pagination .guten-block-loadmore, .").concat(t," .guten-postlist .guten_block_nav .btn-pagination"),properties:[{name:"color",valueType:"direct"}]}]},{id:"paginationCurrentColor",show:"current"===o.paginationHover,label:(0,u.__)("Active color","gutenverse"),component:p.ColorControl,liveStyle:[{type:"color",id:"paginationCurrentColor",selector:".".concat(t," .guten-postlist .guten_block_nav .btn-pagination.current"),properties:[{name:"color",valueType:"direct"}]}]},{id:"paginationDisabledColor",show:"disabled"===o.paginationHover,label:(0,u.__)("Disabled color","gutenverse"),component:p.ColorControl,liveStyle:[{type:"color",id:"paginationDisabledColor",selector:".".concat(t," .guten-postlist .guten_block_nav .btn-pagination.disabled"),properties:[{name:"color",valueType:"direct"}]}]},{id:"paginationHoverColor",show:"hover"===o.paginationHover,label:(0,u.__)("Hover color","gutenverse"),component:p.ColorControl,liveStyle:[{type:"color",id:"paginationHoverColor",selector:".".concat(t," .guten-postlist .guten-block-pagination .guten-block-loadmore:hover, .").concat(t," .guten-postlist .guten_block_nav .btn-pagination:not(.disabled):not(.current):hover"),properties:[{name:"color",valueType:"direct"}]}]},{id:"paginationBackground",show:!o.paginationHover||"normal"===o.paginationHover,label:(0,u.__)("Background","gutenverse"),component:p.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"paginationBackground",selector:".".concat(t," .guten-postlist .guten-block-pagination .guten-block-loadmore, .").concat(t," .guten-postlist .guten_block_nav .btn-pagination")}]},{id:"paginationCurrentBackground",show:"current"===o.paginationHover,label:(0,u.__)("Active Background","gutenverse"),component:p.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"paginationCurrentBackground",selector:".".concat(t," .guten-postlist .guten_block_nav .btn-pagination.current")}]},{id:"paginationDisabledBackground",show:"disabled"===o.paginationHover,label:(0,u.__)("Disabled Background","gutenverse"),component:p.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"paginationDisabledBackground",selector:".".concat(t," .guten-postlist .guten_block_nav .btn-pagination.disabled")}]},{id:"paginationHoverBackground",show:"hover"===o.paginationHover,label:(0,u.__)("Hover Background","gutenverse"),component:p.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"paginationHoverBackground",selector:".".concat(t," .guten-postlist .guten-block-pagination .guten-block-loadmore:hover, .").concat(t," .guten-postlist .guten_block_nav .btn-pagination:not(.disabled):not(.current):hover")}]},{id:"paginationBorder",show:(!o.paginationHover||"normal"===o.paginationHover)&&"Desktop"===i,label:(0,u.__)("Border","gutenverse"),component:p.BorderControl,liveStyle:[{type:"border",id:"paginationBorder",selector:".".concat(t," .guten-postlist .guten-block-pagination .guten-block-loadmore, .").concat(t," .guten-postlist .guten_block_nav .btn-pagination")}]},{id:"paginationBorderResponsive",show:(!o.paginationHover||"normal"===o.paginationHover)&&"Desktop"!==i,label:(0,u.__)("Border","gutenverse"),component:p.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"paginationBorderResponsive",selector:".".concat(t," .guten-postlist .guten-block-pagination .guten-block-loadmore, .").concat(t," .guten-postlist .guten_block_nav .btn-pagination")}]},{id:"paginationHoverBorder",show:"hover"===o.paginationHover&&"Desktop"===i,label:(0,u.__)("Border","gutenverse"),component:p.BorderControl,liveStyle:[{type:"border",id:"paginationHoverBorder",selector:".".concat(t," .guten-postlist .guten-block-pagination .guten-block-loadmore:hover, .").concat(t," .guten-postlist .guten_block_nav .btn-pagination:hover")}]},{id:"paginationHoverBorderResponsive",show:"hover"===o.paginationHover&&"Desktop"!==i,label:(0,u.__)("Border","gutenverse"),component:p.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"paginationHoverBorderResponsive",selector:".".concat(t," .guten-postlist .guten-block-pagination .guten-block-loadmore:hover, .").concat(t," .guten-postlist .guten_block_nav .btn-pagination:hover")}]},{id:"paginationShadow",show:!o.paginationHover||"normal"===o.paginationHover,label:(0,u.__)("Box Shadow","gutenverse"),component:p.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"paginationShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t," .guten-postlist .guten-block-pagination .guten-block-loadmore, .").concat(t," .guten-postlist .guten_block_nav .btn-pagination")}]},{id:"paginationHoverShadow",show:"hover"===o.paginationHover,label:(0,u.__)("Hover Box Shadow","gutenverse"),component:p.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"paginationHoverShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t," .guten-postlist .guten-block-pagination .guten-block-loadmore:hover, .").concat(t," .guten-postlist .guten_block_nav .btn-pagination:hover")}]}]},N=o(1455),E=o.n(N),D=o(3832),B=o(6304),A=o(1222),H=function(e){var t=e.postType,o=(0,A.isOnEditor)()?function(e){return new Promise((function(o){E()({path:(0,D.addQueryArgs)("page"===t?"/wp/v2/pages":"/wp/v2/posts",{search:e})}).then((function(e){var t=e.map((function(e){return{label:e.title.rendered,value:e.id}}));o(t)})).catch((function(){o([])}))}))}:function(){return{label:"",value:""}},n=(0,A.isOnEditor)()?B.searchAuthor:function(){return{label:"",value:""}},r=(0,A.isOnEditor)()?B.searchCategory:function(){return{label:"",value:""}},i=(0,A.isOnEditor)()?B.searchTag:function(){return{label:"",value:""}};return[{id:"inheritQuery",label:(0,u.__)("Inherit Query from Template","gutenverse"),description:(0,u.__)("In Frontend, this will automatically show list of post depend on the current template such as : Archive, Search, etc."),component:p.CheckboxControl},{id:"postType",label:(0,u.__)("Include Post Type","gutenverse"),component:p.SelectControl,options:[{label:(0,u.__)("Page"),value:"page"},{label:(0,u.__)("Post"),value:"post"}]},{id:"noContentText",label:(0,u.__)("Text to show if there is no content","gutenverse"),component:p.TextControl},{id:"numberPost",label:(0,u.__)("Number of Post initially showed","gutenverse"),component:p.RangeControl,min:1,max:30,step:1,isParseFloat:!1},{id:"postOffset",label:(0,u.__)("Post Offset","gutenverse"),component:p.NumberControl,forceType:"string"},{id:"includePost",label:(0,u.__)("Include Post","gutenverse"),component:p.SelectSearchControl,isMulti:!0,onSearch:o},{id:"excludePost",label:(0,u.__)("Exclude Post","gutenverse"),component:p.SelectSearchControl,isMulti:!0,onSearch:o},{id:"includeCategory",label:(0,u.__)("Include Category","gutenverse"),component:p.SelectSearchControl,isMulti:!0,onSearch:r},{id:"excludeCategory",label:(0,u.__)("Exclude Category","gutenverse"),component:p.SelectSearchControl,isMulti:!0,onSearch:r},{id:"includeAuthor",label:(0,u.__)("Include Author","gutenverse"),component:p.SelectSearchControl,isMulti:!0,onSearch:n},{id:"includeTag",label:(0,u.__)("Include Tag","gutenverse"),component:p.SelectSearchControl,isMulti:!0,onSearch:i},{id:"excludeTag",label:(0,u.__)("Exclude Tag","gutenverse"),component:p.SelectSearchControl,isMulti:!0,onSearch:i},{id:"sortBy",label:(0,u.__)("Sort By","gutenverse"),component:p.SelectControl,options:[{value:"latest",label:(0,u.__)("Latest","gutenverse")},{value:"oldest",label:(0,u.__)("Oldest","gutenverse")},{value:"alphabet_asc",label:(0,u.__)("Alphabet Asc","gutenverse")},{value:"alphabet_desc",label:(0,u.__)("Alphabet Desc","gutenverse")},{value:"random",label:(0,u.__)("Random","gutenverse")},{value:"random_week",label:(0,u.__)("Random Week","gutenverse")},{value:"random_month",label:(0,u.__)("Random Month","gutenverse")},{value:"most_comment",label:(0,u.__)("Most Comment","gutenverse")}]}]};function R(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function I(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?R(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):R(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var M=function(e){var t=e.elementId,o=e.switcher,n=e.setSwitcher;return[{id:"titlePadding",label:(0,u.__)("Padding","gutenverse"),component:p.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"__titleHover",component:p.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__titleHover;return n(I(I({},o),{},{titleHover:t}))}},{id:"titleColor",show:!o.titleHover||"normal"===o.titleHover,label:(0,u.__)("Text color","gutenverse"),component:p.ColorControl,liveStyle:[{type:"color",id:"titleColor",selector:".".concat(t," .guten-postlist .guten-post .guten-postlist-title"),properties:[{name:"color",valueType:"direct"}]}]},{id:"titleTypography",show:!o.titleHover||"normal"===o.titleHover,label:(0,u.__)("Typography","gutenverse"),component:p.TypographyControl},{id:"titleColorHover",show:"hover"===o.titleHover,label:(0,u.__)("Hover Text color","gutenverse"),component:p.ColorControl,liveStyle:[{type:"color",id:"titleColorHover",selector:".".concat(t," .guten-postlist .guten-post:hover .guten-postlist-title"),properties:[{name:"color",valueType:"direct"}]}]},{id:"titleTypographyHover",show:"hover"===o.titleHover,label:(0,u.__)("Hover Typography","gutenverse"),component:p.TypographyControl}]};function L(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function z(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?L(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):L(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var F=function(){return[{title:(0,u.__)("Setting","gutenverse"),panelArray:H,tabRole:p.TabSetting},{title:(0,u.__)("Content Setting","gutenverse"),initialOpen:!1,panelArray:d,tabRole:p.TabSetting},{title:(0,u.__)("Pagination","gutenverse"),initialOpen:!1,panelArray:O,tabRole:p.TabSetting},{title:(0,u.__)("Content Style","gutenverse"),initialOpen:!1,panelArray:h,tabRole:p.TabStyle},{title:(0,u.__)("Title","gutenverse"),initialOpen:!1,panelArray:M,tabRole:p.TabStyle},{title:(0,u.__)("Icon","gutenverse"),initialOpen:!1,panelArray:b,tabRole:p.TabStyle},{title:(0,u.__)("Featured Image","gutenverse"),initialOpen:!1,panelArray:f,tabRole:p.TabStyle},{title:(0,u.__)("Meta","gutenverse"),initialOpen:!1,panelArray:S,tabRole:p.TabStyle},{title:(0,u.__)("Pagination Style","gutenverse"),initialOpen:!1,panelArray:P,tabRole:p.TabStyle},{title:(0,u.__)("Background","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,p.backgroundPanel)(z(z({},e),{},{styleId:"post-list-background",normalOptions:["default","gradient"],hoverOptions:["default","gradient"]}))},tabRole:p.TabStyle},{title:(0,u.__)("Border","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,p.borderPanel)(z(z({},e),{},{styleId:"post-list-border"}))},tabRole:p.TabStyle},{title:(0,u.__)("Masking","gutenverse"),initialOpen:!1,panelArray:p.maskPanel,tabRole:p.TabStyle},{title:(0,u.__)("Display","gutenverse"),initialOpen:!1,panelArray:p.responsivePanel,tabRole:p.TabSetting},{title:(0,u.__)("Positioning","gutenverse"),initialOpen:!1,panelArray:p.positioningPanel,tabRole:p.TabSetting},{title:(0,u.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,p.animationPanel)(z(z({},e),{},{styleId:"post-list-animation"}))},tabRole:p.TabSetting},{title:(0,u.__)("Transform","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,p.transformPanel)(z(z({},e),{},{selector:".".concat(e.elementId," .guten-posts"),hoverSelector:".".concat(e.elementId," .guten-posts:hover")}))},pro:!0},{title:(0,u.__)("Mouse Move Effect","gutenverse"),initialOpen:!1,panelArray:p.mouseMoveEffectPanel,tabRole:p.TabSetting,pro:!0},{title:(0,u.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,p.advancePanel)(z(z({},e),{},{styleId:"post-list-advance"}))},tabRole:p.TabSetting},{title:(0,u.__)("Condition","gutenverse"),panelArray:p.conditionPanel,initialOpen:!1,pro:!0}]},V=o(6826),W=o(4320),G=o(4404),U=o(2619);const q=function(e,t){var o=[];return o=function(e,t,o){return(0,A.isNotEmpty)(t.contentAlign)&&o.push({type:"plain",id:"contentAlign",responsive:!0,selector:".".concat(e," .guten-postlist .guten-post"),properties:[{name:"text-align",valueType:"direct"}]}),(0,A.isNotEmpty)(t.contentMargin)&&o.push({type:"dimension",id:"contentMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e," .guten-postlist .guten-post a")}),(0,A.isNotEmpty)(t.contentPadding)&&o.push({type:"dimension",id:"contentPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e," .guten-postlist .guten-post a")}),(0,A.isNotEmpty)(t.contentWidth)&&o.push({type:"unitPoint",id:"contentWidth",responsive:!0,properties:[{name:"width",valueType:"direct"}],selector:".".concat(e," .guten-postlist .guten-post a")}),(0,A.isNotEmpty)(t.contentBackground)&&o.push({type:"background",id:"contentBackground",selector:".".concat(e," .guten-postlist .guten-post")}),(0,A.isNotEmpty)(t.contentHoverBackground)&&o.push({type:"background",id:"contentHoverBackground",selector:".".concat(e," .guten-postlist .guten-post:hover")}),(0,A.isNotEmpty)(t.contentBorder)&&o.push({type:"border",id:"contentBorder",selector:".".concat(e," .guten-postlist .guten-post a")}),(0,A.isNotEmpty)(t.contentBorderResponsive)&&o.push({type:"borderResponsive",id:"contentBorderResponsive",selector:".".concat(e," .guten-postlist .guten-post a")}),(0,A.isNotEmpty)(t.contentHoverBorder)&&o.push({type:"border",id:"contentHoverBorder",selector:".".concat(e," .guten-postlist .guten-post:hover a")}),(0,A.isNotEmpty)(t.contentHoverBorderResponsive)&&o.push({type:"borderResponsive",id:"contentHoverBorderResponsive",selector:".".concat(e," .guten-postlist .guten-post:hover a")}),(0,A.isNotEmpty)(t.contentShadow)&&o.push({type:"boxShadow",id:"contentShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e," .guten-postlist .guten-post a")}),(0,A.isNotEmpty)(t.contentHoverShadow)&&o.push({type:"boxShadow",id:"contentHoverShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e," .guten-postlist .guten-post:hover a")}),o}(e,t,o),o=function(e,t,o){return(0,A.isNotEmpty)(t.column)&&"horizontal"===t.layout&&o.push({type:"plain",id:"column",responsive:!0,selector:".".concat(e," .guten-posts"),properties:[{name:"grid-template-columns",valueType:"pattern",pattern:"repeat({value}, minmax(0, 1fr))",patternValues:{value:{type:"direct"}}}]}),(0,A.isNotEmpty)(t.columnGap)&&"horizontal"===t.layout&&o.push({type:"plain",id:"columnGap",responsive:!0,selector:".".concat(e," .guten-posts"),properties:[{name:"grid-column-gap",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),o}(e,t,o),o=function(e,t,o){return(0,A.isNotEmpty)(t.iconAlign)&&o.push({type:"plain",id:"iconAlign",responsive:!0,selector:".".concat(e," .guten-postlist .guten-post a .icon-list"),properties:[{name:"align-self",valueType:"direct"}]}),(0,A.isNotEmpty)(t.iconWidth)&&o.push({type:"plain",id:"iconWidth",responsive:!0,selector:".".concat(e," .guten-postlist .guten-post a .icon-list"),properties:[{name:"width",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,A.isNotEmpty)(t.iconHeight)&&o.push({type:"plain",id:"iconHeight",responsive:!0,selector:".".concat(e," .guten-postlist .guten-post a .icon-list"),properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,A.isNotEmpty)(t.iconLineHeight)&&o.push({type:"plain",id:"iconLineHeight",responsive:!0,selector:".".concat(e," .guten-postlist .guten-post a .icon-list"),properties:[{name:"line-height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,A.isNotEmpty)(t.iconSize)&&o.push({type:"plain",id:"iconSize",responsive:!0,selector:".".concat(e," .guten-postlist .guten-post a .icon-list i"),properties:[{name:"font-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,A.isNotEmpty)(t.iconMargin)&&o.push({type:"dimension",id:"iconMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e," .guten-postlist .guten-post a .icon-list")}),(0,A.isNotEmpty)(t.iconRadius)&&o.push({type:"dimension",id:"iconRadius",responsive:!0,properties:[{name:"border-radius",valueType:"direct",multiDimension:!1}],selector:".".concat(e," .guten-postlist .guten-post a .icon-list i")}),(0,A.isNotEmpty)(t.iconColor)&&o.push({type:"color",id:"iconColor",properties:[{name:"color",valueType:"direct"}],selector:".".concat(e," .guten-postlist .guten-post a .icon-list i")}),(0,A.isNotEmpty)(t.iconHoverColor)&&o.push({type:"color",id:"iconHoverColor",properties:[{name:"color",valueType:"direct"}],selector:".".concat(e," .guten-postlist .guten-post:hover a .icon-list i")}),(0,A.isNotEmpty)(t.iconBackground)&&o.push({type:"background",id:"iconBackground",selector:".".concat(e," .guten-postlist .guten-post a .icon-list")}),o}(e,t,o),o=function(e,t,o){return(0,A.isNotEmpty)(t.imageWidth)&&o.push({type:"plain",id:"imageWidth",responsive:!0,selector:".".concat(e," .guten-postlist .guten-post a img"),properties:[{name:"width",valueType:"pattern",pattern:"{value}%",patternValues:{value:{type:"direct"}}}]}),(0,A.isNotEmpty)(t.imageHeight)&&o.push({type:"plain",id:"imageHeight",responsive:!0,selector:".".concat(e," .guten-postlist .guten-post a img"),properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,A.isNotEmpty)(t.imageFit)&&o.push({type:"plain",id:"imageFit",responsive:!0,selector:".".concat(e," .guten-postlist .guten-post a img"),properties:[{name:"object-fit",valueType:"function",functionName:"handleDefaultValue"}]}),(0,A.isNotEmpty)(t.imageMargin)&&o.push({type:"dimension",id:"imageMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e," .guten-postlist .guten-post a img")}),(0,A.isNotEmpty)(t.imageBorder)&&o.push({type:"borderResponsive",id:"imageBorder",selector:".".concat(e," .guten-postlist .guten-post a img")}),o}(e,t,o),o=function(e,t,o){return(0,A.isNotEmpty)(t.metaAlign)&&o.push({type:"plain",id:"metaAlign",responsive:!0,selector:".".concat(e," .guten-postlist .guten-post a .meta-lists"),properties:[{name:"text-align",valueType:"direct"}]}),(0,A.isNotEmpty)(t.metaTypography)&&o.push({type:"typography",id:"metaTypography",selector:".".concat(e," .guten-postlist .guten-post a .meta-lists, \n .").concat(e," .guten-postlist .guten-post a .meta-lists span")}),(0,A.isNotEmpty)(t.metaIconSize)&&o.push({type:"plain",id:"metaIconSize",responsive:!0,selector:".".concat(e," .guten-postlist .guten-post a .meta-lists i"),properties:[{name:"font-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,A.isNotEmpty)(t.metaIconSpacing)&&o.push({type:"plain",id:"metaIconSpacing",responsive:!0,selector:".".concat(e," .guten-postlist .guten-post a .meta-lists i"),properties:[{name:"margin-right",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,A.isNotEmpty)(t.metaMargin)&&o.push({type:"dimension",id:"metaMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e," .guten-postlist .guten-post a .meta-lists span")}),(0,A.isNotEmpty)(t.metaPadding)&&o.push({type:"dimension",id:"metaPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e," .guten-postlist .guten-post a .meta-lists span")}),(0,A.isNotEmpty)(t.metaColor)&&o.push({type:"color",id:"metaColor",properties:[{name:"color",valueType:"direct"}],selector:".".concat(e," .guten-postlist .guten-post a .meta-lists span")}),(0,A.isNotEmpty)(t.metaColorHover)&&o.push({type:"color",id:"metaColorHover",properties:[{name:"color",valueType:"direct"}],selector:".".concat(e," .guten-postlist .guten-post:hover a .meta-lists span")}),(0,A.isNotEmpty)(t.metaBackground)&&o.push({type:"background",id:"metaBackground",selector:".".concat(e," .guten-postlist .guten-post a .meta-lists span")}),(0,A.isNotEmpty)(t.metaHoverBackground)&&o.push({type:"background",id:"metaHoverBackground",selector:".".concat(e," .guten-postlist .guten-post:hover a .meta-lists span")}),(0,A.isNotEmpty)(t.metaBorder)&&o.push({type:"border",id:"metaBorder",selector:".".concat(e," .guten-postlist .guten-post a .meta-lists span")}),(0,A.isNotEmpty)(t.metaBorderResponsive)&&o.push({type:"borderResponsive",id:"metaBorderResponsive",selector:".".concat(e," .guten-postlist .guten-post a .meta-lists span")}),(0,A.isNotEmpty)(t.metaHoverBorder)&&o.push({type:"border",id:"metaHoverBorder",selector:".".concat(e," .guten-postlist .guten-post:hover a .meta-lists span")}),(0,A.isNotEmpty)(t.metaHoverBorderResponsive)&&o.push({type:"borderResponsive",id:"metaHoverBorderResponsive",selector:".".concat(e," .guten-postlist .guten-post:hover a .meta-lists span")}),o}(e,t,o),o=function(e,t,o){return(0,A.isNotEmpty)(t.paginationTypography)&&o.push({type:"typography",id:"paginationTypography",selector:".".concat(e," .guten-postlist .guten-block-pagination .guten-block-loadmore span, .").concat(e," .guten-postlist .guten_block_nav .btn-pagination")}),(0,A.isNotEmpty)(t.paginationMargin)&&o.push({type:"dimension",id:"paginationMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e," .guten-postlist .guten-block-pagination .guten-block-loadmore, .").concat(e," .guten-postlist .guten_block_nav .btn-pagination")}),(0,A.isNotEmpty)(t.paginationPadding)&&o.push({type:"dimension",id:"paginationPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e," .guten-postlist .guten-block-pagination .guten-block-loadmore, .").concat(e," .guten-postlist .guten_block_nav .btn-pagination")}),(0,A.isNotEmpty)(t.paginationWidth)&&o.push({type:"plain",id:"paginationWidth",responsive:!0,selector:".".concat(e," .guten-postlist .guten-block-pagination .guten-block-loadmore, .").concat(e," .guten-postlist .guten_block_nav .btn-pagination"),properties:[{name:"width",valueType:"pattern",pattern:"{value}%",patternValues:{value:{type:"direct"}}}]}),(0,A.isNotEmpty)(t.paginationIconSpacing)&&o.push({type:"plain",id:"paginationIconSpacing",responsive:!0,selector:".".concat(e," .guten-postlist .guten-block-pagination .guten-block-loadmore.icon-position-before i, .").concat(e," .guten-postlist .guten_block_nav .btn-pagination.prev i"),properties:[{name:"margin-right",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,A.isNotEmpty)(t.paginationIconSpacing)&&o.push({type:"plain",id:"paginationIconSpacing",responsive:!0,selector:".".concat(e," .guten-postlist .guten-block-pagination .guten-block-loadmore.icon-position-after i, .").concat(e," .guten-postlist .guten_block_nav .btn-pagination.next i"),properties:[{name:"margin-left",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,A.isNotEmpty)(t.paginationIconSize)&&o.push({type:"unitPoint",id:"paginationIconSize",responsive:!0,selector:".".concat(e," .guten-postlist .guten-block-pagination .guten-block-loadmore.icon-position-before i, .").concat(e," .guten-postlist .guten_block_nav .btn-pagination.prev i"),properties:[{name:"font-size",valueType:"direct"}]}),(0,A.isNotEmpty)(t.paginationIconSize)&&o.push({type:"unitPoint",id:"paginationIconSize",responsive:!0,selector:".".concat(e," .guten-postlist .guten-block-pagination .guten-block-loadmore.icon-position-after i, .").concat(e," .guten-postlist .guten_block_nav .btn-pagination.next i"),properties:[{name:"font-size",valueType:"direct"}]}),(0,A.isNotEmpty)(t.paginationAlign)&&o.push({type:"plain",id:"paginationAlign",responsive:!0,selector:".".concat(e," .guten-postlist .guten-block-pagination, .").concat(e," .guten-postlist .guten_block_nav"),properties:[{name:"justify-content",valueType:"function",functionName:"handleAlignReverse"}]}),(0,A.isNotEmpty)(t.paginationColor)&&o.push({type:"color",id:"paginationColor",selector:".".concat(e," .guten-postlist .guten-block-pagination .guten-block-loadmore, .").concat(e," .guten-postlist .guten_block_nav .btn-pagination"),properties:[{name:"color",valueType:"direct"}]}),(0,A.isNotEmpty)(t.paginationCurrentColor)&&o.push({type:"color",id:"paginationCurrentColor",selector:".".concat(e," .guten-postlist .guten_block_nav .btn-pagination.current"),properties:[{name:"color",valueType:"direct"}]}),(0,A.isNotEmpty)(t.paginationDisabledColor)&&o.push({type:"color",id:"paginationDisabledColor",selector:".".concat(e," .guten-postlist .guten_block_nav .btn-pagination.disabled"),properties:[{name:"color",valueType:"direct"}]}),(0,A.isNotEmpty)(t.paginationHoverColor)&&o.push({type:"color",id:"paginationHoverColor",selector:".".concat(e," .guten-postlist .guten-block-pagination .guten-block-loadmore:hover, .").concat(e," .guten-postlist .guten_block_nav .btn-pagination:not(.disabled):not(.current):hover"),properties:[{name:"color",valueType:"direct"}]}),(0,A.isNotEmpty)(t.paginationBackground)&&o.push({type:"background",id:"paginationBackground",selector:".".concat(e," .guten-postlist .guten-block-pagination .guten-block-loadmore, .").concat(e," .guten-postlist .guten_block_nav .btn-pagination")}),(0,A.isNotEmpty)(t.paginationCurrentBackground)&&o.push({type:"background",id:"paginationCurrentBackground",selector:".".concat(e," .guten-postlist .guten_block_nav .btn-pagination.current")}),(0,A.isNotEmpty)(t.paginationDisabledBackground)&&o.push({type:"background",id:"paginationDisabledBackground",selector:".".concat(e," .guten-postlist .guten_block_nav .btn-pagination.disabled")}),(0,A.isNotEmpty)(t.paginationHoverBackground)&&o.push({type:"background",id:"paginationHoverBackground",selector:".".concat(e," .guten-postlist .guten-block-pagination .guten-block-loadmore:hover, .").concat(e," .guten-postlist .guten_block_nav .btn-pagination:not(.disabled):not(.current):hover")}),(0,A.isNotEmpty)(t.paginationBorder)&&o.push({type:"border",id:"paginationBorder",selector:".".concat(e," .guten-postlist .guten-block-pagination .guten-block-loadmore, .").concat(e," .guten-postlist .guten_block_nav .btn-pagination")}),(0,A.isNotEmpty)(t.paginationBorderResponsive)&&o.push({type:"borderResponsive",id:"paginationBorderResponsive",selector:".".concat(e," .guten-postlist .guten-block-pagination .guten-block-loadmore, .").concat(e," .guten-postlist .guten_block_nav .btn-pagination")}),(0,A.isNotEmpty)(t.paginationHoverBorder)&&o.push({type:"border",id:"paginationHoverBorder",selector:".".concat(e," .guten-postlist .guten-block-pagination .guten-block-loadmore:hover, .").concat(e," .guten-postlist .guten_block_nav .btn-pagination:hover")}),(0,A.isNotEmpty)(t.paginationHoverBorderResponsive)&&o.push({type:"borderResponsive",id:"paginationHoverBorderResponsive",selector:".".concat(e," .guten-postlist .guten-block-pagination .guten-block-loadmore:hover, .").concat(e," .guten-postlist .guten_block_nav .btn-pagination:hover")}),(0,A.isNotEmpty)(t.paginationShadow)&&o.push({type:"boxShadow",id:"paginationShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e," .guten-postlist .guten-block-pagination .guten-block-loadmore, .").concat(e," .guten-postlist .guten_block_nav .btn-pagination")}),(0,A.isNotEmpty)(t.paginationHoverShadow)&&o.push({type:"boxShadow",id:"paginationHoverShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e," .guten-postlist .guten-block-pagination .guten-block-loadmore:hover, .").concat(e," .guten-postlist .guten_block_nav .btn-pagination:hover")}),o}(e,t,o),o=function(e,t,o){return(0,A.isNotEmpty)(t.titlePadding)&&o.push({type:"dimension",id:"titlePadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e," .guten-postlist .guten-post .guten-postlist-title")}),(0,A.isNotEmpty)(t.titleColor)&&o.push({type:"color",id:"titleColor",selector:".".concat(e," .guten-postlist .guten-post .guten-postlist-title"),properties:[{name:"color",valueType:"direct"}]}),(0,A.isNotEmpty)(t.titleTypography)&&o.push({type:"typography",id:"titleTypography",selector:".".concat(e," .guten-postlist .guten-post .guten-postlist-title")}),(0,A.isNotEmpty)(t.titleColorHover)&&o.push({type:"color",id:"titleColorHover",selector:".".concat(e," .guten-postlist .guten-post:hover .guten-postlist-title"),properties:[{name:"color",valueType:"direct"}]}),(0,A.isNotEmpty)(t.titleTypographyHover)&&o.push({type:"typography",id:"titleTypographyHover",selector:".".concat(e," .guten-postlist .guten-post:hover .guten-postlist-title")}),o}(e,t,o),o=(0,p.backgroundStyle)({attributes:t,data:o,elementId:e}),(0,A.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,A.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,A.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,A.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,A.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,A.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,A.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,A.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,A.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,A.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,A.isNotEmpty)(t.animation)&&(0,A.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,A.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,A.isNotEmpty)(t.positioningType)&&(0,A.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,A.isNotEmpty)(t.positioningWidth)&&(0,A.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,A.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,A.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,A.isNotEmpty)(t.positioningLeft)&&(0,A.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,A.isNotEmpty)(t.positioningRight)&&(0,A.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,A.isNotEmpty)(t.positioningTop)&&(0,A.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,A.isNotEmpty)(t.positioningBottom)&&(0,A.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),[].concat((0,G.A)(o),(0,G.A)((0,U.applyFilters)("gutenverse.post-list.blockStyle",[],{elementId:e,attributes:t})))};function $(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Y(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?$(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):$(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var X=(0,i.compose)(s.withPartialRender,s.withMouseMoveEffect)((function(e){var t=e.attributes,o=e.clientId,n=t.elementId,i=t.inheritQuery,s=t.postType,u=t.postOffset,d=t.numberPost,y=t.includePost,m=t.excludePost,v=t.includeCategory,h=t.excludeCategory,b=t.includeAuthor,f=t.includeTag,x=t.excludeTag,w=t.sortBy,S=t.layout,_=t.imageEnabled,j=t.backgroundImageEnabled,T=t.iconEnabled,O=t.icon,C=t.metaEnabled,k=t.metaDateEnabled,P=t.metaDateType,N=t.metaDateFormat,B=t.metaDateFormatCustom,H=t.metaDateIcon,R=t.metaDateIconPosition,I=t.metaCategoryEnabled,M=t.metaCategoryIcon,L=t.metaPosition,z=t.paginationMode,G=t.paginationLoadmoreText,U=t.paginationLoadingText,$=t.paginationNumberPost,X=t.paginationScrollLimit,J=t.paginationIcon,Q=t.paginationIconPosition,Z=t.paginationPrevNextText,K=t.paginationPrevText,ee=t.paginationNextText,te=t.paginationPrevIcon,oe=t.paginationNextIcon,ne=(0,V.useAnimationEditor)(t),re=(0,V.useDisplayEditor)(t),ie=(0,a.useState)(null),ae=(0,r.A)(ie,2),se=ae[0],le=ae[1],ce=(0,a.useState)(!0),pe=(0,r.A)(ce,2),ue=pe[0],de=pe[1],ye=(0,a.useState)(0),ge=(0,r.A)(ye,2),me=ge[0],ve=ge[1],he=(0,a.useState)(1),be=(0,r.A)(he,2),fe=be[0],xe=be[1],we=(0,a.useRef)();(0,W.useGenerateElementId)(o,n,we),(0,W.useDynamicStyle)(n,t,q,we),(0,a.useEffect)((function(){ve(parseInt(d))}),[d]),(0,a.useEffect)((function(){me&&((0,c.u)(we.current).find(".guten-block-loadmore").on("click",(function(){ve(me+parseInt($))})),(0,c.u)(we.current).find(".btn-pagination.next:not(.disabled)").on("click",(function(){xe(fe+1)})),(0,c.u)(we.current).find(".btn-pagination.prev:not(.disabled)").on("click",(function(){xe(fe-1)})),(0,c.u)(we.current).find(".btn-pagination").each((function(e){var t=e.getAttribute("data-page");t&&(0,c.u)(e).on("click",(function(){xe(parseInt(t,10))}))})))}),[se]),(0,a.useEffect)((function(){if((0,A.isOnEditor)())de(!0),n&&E()({path:(0,D.addQueryArgs)("/wp/v2/block-renderer/gutenverse/post-list",{context:"edit",attributes:{elementId:n,inheritQuery:i,postType:s,postOffset:u,numberPost:"prevnext"===z||"number"===z||parseInt(me)===parseInt(d)?d:me,includePost:y,excludePost:m,includeCategory:v,excludeCategory:h,includeAuthor:b,includeTag:f,excludeTag:x,sortBy:w,imageEnabled:_,backgroundImageEnabled:j,iconEnabled:T,icon:O,metaEnabled:C,metaDateEnabled:k,metaDateType:P,metaDateFormat:N,metaDateFormatCustom:B,metaDateIcon:H,metaDateIconPosition:R,metaCategoryEnabled:I,metaCategoryIcon:M,metaPosition:L,paginationMode:z,paginationLoadmoreText:G,paginationLoadingText:U,paginationNumberPost:"prevnext"===z||"number"===z?d:$,paginationScrollLimit:X,paginationIcon:J,paginationIconPosition:Q,paginationPrevNextText:Z,paginationPrevText:K,paginationNextText:ee,paginationPrevIcon:te,paginationNextIcon:oe,editParam:{page:fe}}})}).then((function(e){le(e.rendered)})).catch((function(){le("<span>Error</span>")})).finally((function(){return de(!1)}));else{for(var e="",t=0;t<d;t++){var o=j?'style="background-image: url('.concat("https://picsum.photos/400/400?random=".concat(t+1),')"'):"",r=_?'<img loading="eager" width="400" height="400"\n src="'.concat("https://picsum.photos/400/400?random=".concat(t+1),'"\n class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt=""\n decoding="async" loading="lazy"\n sizes="(max-width: 400px) 100vw, 400px" />'):"",a=C?'<div class="meta-lists">\n '.concat(k?'<span class="meta-date">\n '.concat("before"===R?'<i aria-hidden="true"\n class="'.concat(H,'"></i>'):""," ").concat("ago"===N?"3 days ago":"January 1, 2024").concat("before"===R?"":'<i aria-hidden="true"\n class="'.concat(H,'"></i> '),"\n </span>"):"","\n ").concat(I?'<span class="meta-category">\n <i aria-hidden="true" class="'.concat(M,'"></i> Categorized\n </span>'):"","\n </div>"):"";e+='<article class="guten-post post-list-item">\n <a href="javascript:void(0);" '.concat(o,">\n ").concat(r,'\n <div class="guten-postlist-content">\n ').concat(a,'\n <span class="guten-postlist-title">').concat((0,A.dummyText)(5,10),"</span>\n </div>\n </a>\n </article>")}var l="";switch(z){default:l="";break;case"loadmore":l='<div class="guten-block-pagination guten-align">\n <div class="guten-block-loadmore icon-position-before"><span data-load="Load More" data-loading="Loading..."> '.concat(G,"</span></div>\n </div>");break;case"prevnext":l='<div class="guten_block_nav additional_class" data-page="1">\n <a href="javascript:void(0);" data-href="#" class="btn-pagination prev disabled" title="Prev">\n <i class="'.concat(te,'"></i> ').concat(Z?K:"",'\n </a>\n <a href="javascript:void(0);" data-href="#" class="btn-pagination next " title="Next">\n ').concat(Z?ee:"",' <i class="').concat(oe,'"></i>\n </a>\n </div>');break;case"number":l='<div class="guten_block_nav" data-page="4">\n <a href="javascript:void(0);" data-href="#" class="btn-pagination prev" title="Prev">\n <i class="'.concat(te,'"></i> ').concat(Z?K:"",'\n </a>\n <a href="javascript:void(0);" data-href="#" class="btn-pagination" data-page="1">1</a>\n <span>...</span>\n <a href="javascript:void(0);" data-href="#" class="btn-pagination" data-page="3">3</a>\n <span class="btn-pagination current">4</span>\n <a href="javascript:void(0);" data-href="#" class="btn-pagination" data-page="5">5</a>\n <span>...</span>\n <a href="javascript:void(0);" data-href="#" class="btn-pagination" data-page="99">99</a>\n <a href="javascript:void(0);" data-href="#" class="btn-pagination next" title="Next">\n ').concat(Z?ee:"",' <i class="').concat(oe,'"></i>\n </a>\n </div>')}le('<div class="gutenverse guten-postlist layout-vertical post-element guten-pagination-disable '.concat(n,'"\n data-id="').concat(n,'"></div>\n <div class="guten-block-container">\n <div class="guten-posts guten-ajax-flag">\n ').concat(e,"\n </div>\n </div>\n ").concat(l,"\n </div>")),de(!1)}}),[n,s,u,me,y,m,v,h,b,f,x,w,_,j,T,O,C,k,P,N,B,H,R,I,M,L,z,G,U,$,X,J,Q,Z,K,ee,te,oe,fe]);var Se=(0,l.useBlockProps)({className:(0,c.classnames)("guten-element","guten-post-list","no-margin",n,ne,re,["layout-".concat(S)]),ref:we});return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(c.CopyElementToolbar,Y({},e)),(0,g.jsx)(p.BlockPanelController,{panelList:F,props:e,elementRef:we}),(0,g.jsx)("div",Y(Y({},Se),{},{children:ue?(0,g.jsx)(c.PostListSkeleton,{}):(0,g.jsx)(a.RawHTML,{className:"guten-raw-wrapper",children:se},"html")}))]})}));const J=X;function Q(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}const Z=(0,i.compose)(s.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,r=(0,V.useAnimationFrontend)(t),i=(0,V.useDisplayFrontend)(t),a=(0,c.classnames)("guten-element","guten-post-list",o,r,i);return(0,g.jsx)("div",function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Q(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},l.useBlockProps.save({className:a})))})),K=JSON.parse('{"apiVersion":2,"name":"gutenverse/post-list","class_callback":"\\\\Gutenverse\\\\Block\\\\Post_List","title":"Post List","description":"Show a list of posts of your choice.","category":"gutenverse-post","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"mouseMoveEffect":{"type":"object","copyStyle":true},"inheritQuery":{"type":"boolean","default":true},"postType":{"type":"string","default":"post"},"numberPost":{"type":"string","default":3},"postOffset":{"type":"string","default":0},"includePost":{"type":"array","default":[]},"excludePost":{"type":"array","default":[]},"includeCategory":{"type":"array","default":[]},"excludeCategory":{"type":"array","default":[]},"includeAuthor":{"type":"array","default":[]},"includeTag":{"type":"array","default":[]},"excludeTag":{"type":"array","default":[]},"sortBy":{"type":"string"},"layout":{"type":"string","default":"vertical","copyStyle":true},"column":{"type":"object"},"columnGap":{"type":"object","copyStyle":true},"imageEnabled":{"type":"boolean","default":false},"backgroundImageEnabled":{"type":"boolean","default":false,"copyStyle":true},"iconEnabled":{"type":"boolean","default":false},"icon":{"type":"string","default":"fas fa-circle"},"noContentText":{"type":"string","default":""},"metaEnabled":{"type":"boolean","default":false},"metaDateEnabled":{"type":"boolean","default":false},"metaDateType":{"type":"string","default":"published"},"metaDateFormat":{"type":"string","default":"default"},"metaDateFormatCustom":{"type":"string","default":""},"metaDateIcon":{"type":"string","default":"fas fa-clock"},"metaDateIconPosition":{"type":"string"},"metaCategoryEnabled":{"type":"boolean","default":false},"metaCategoryIcon":{"type":"string","default":"fas fa-tag"},"metaPosition":{"type":"string","default":"top"},"lazyLoad":{"type":"boolean","default":false},"paginationMode":{"type":"string","default":"disable"},"paginationLoadmoreText":{"type":"string","default":"Load More"},"paginationLoadingText":{"type":"string","default":"Loading..."},"paginationNumberPost":{"type":"string","default":3},"paginationScrollLimit":{"type":"string","default":0},"paginationIcon":{"type":"string","default":""},"paginationIconPosition":{"type":"string","default":"before"},"contentAlign":{"type":"object","copyStyle":true},"contentMargin":{"type":"object","copyStyle":true},"contentPadding":{"type":"object","copyStyle":true},"contentWidth":{"type":"object","copyStyle":true},"contentBackground":{"type":"object","copyStyle":true},"contentHoverBackground":{"type":"object","copyStyle":true},"contentBorder":{"type":"object","copyStyle":true},"contentBorderResponsive":{"type":"object","migrate":{"attr":"contentBorder","type":"border"},"copyStyle":true},"contentHoverBorder":{"type":"object","copyStyle":true},"contentHoverBorderResponsive":{"type":"object","migrate":{"attr":"contentHoverBorder","type":"border"},"copyStyle":true},"contentShadow":{"type":"object","copyStyle":true},"contentHoverShadow":{"type":"object","copyStyle":true},"titlePadding":{"type":"object","copyStyle":true},"titleColor":{"type":"object","copyStyle":true},"titleTypography":{"type":"object","copyStyle":true},"titleColorHover":{"type":"object","copyStyle":true},"titleTypographyHover":{"type":"object","copyStyle":true},"iconAlign":{"type":"object","copyStyle":true},"iconBackground":{"type":"object","copyStyle":true},"imageWidth":{"type":"object","copyStyle":true},"imageHeight":{"type":"object","copyStyle":true},"imageFit":{"type":"object","copyStyle":true},"imageMargin":{"type":"object","copyStyle":true},"imageBorder":{"type":"object","copyStyle":true},"iconWidth":{"type":"object","copyStyle":true},"iconHeight":{"type":"object","copyStyle":true},"iconLineHeight":{"type":"object","copyStyle":true},"iconSize":{"type":"object","copyStyle":true},"iconMargin":{"type":"object","copyStyle":true},"iconRadius":{"type":"object","copyStyle":true},"iconColor":{"type":"object","copyStyle":true},"iconHoverColor":{"type":"object","copyStyle":true},"metaAlign":{"type":"object","copyStyle":true},"metaTypography":{"type":"object","copyStyle":true},"metaIconSize":{"type":"object","copyStyle":true},"metaIconSpacing":{"type":"object","copyStyle":true},"metaMargin":{"type":"object","copyStyle":true},"metaPadding":{"type":"object","copyStyle":true},"metaColor":{"type":"object","copyStyle":true},"metaColorHover":{"type":"object","copyStyle":true},"metaBackground":{"type":"object","copyStyle":true},"metaHoverBackground":{"type":"object","copyStyle":true},"metaBorder":{"type":"object","copyStyle":true},"metaBorderResponsive":{"type":"object","migrate":{"attr":"metaBorder","type":"border"},"copyStyle":true},"metaHoverBorder":{"type":"object","copyStyle":true},"metaHoverBorderResponsive":{"type":"object","migrate":{"attr":"metaHoverBorder","type":"border"},"copyStyle":true},"paginationTypography":{"type":"object","copyStyle":true},"paginationMargin":{"type":"object","copyStyle":true},"paginationPadding":{"type":"object","copyStyle":true},"paginationWidth":{"type":"object","copyStyle":true},"paginationIconSpacing":{"type":"object","copyStyle":true},"paginationAlign":{"type":"object","copyStyle":true},"paginationColor":{"type":"object","copyStyle":true},"paginationCurrentColor":{"type":"object","copyStyle":true},"paginationDisabledColor":{"type":"object","copyStyle":true},"paginationHoverColor":{"type":"object","copyStyle":true},"paginationBackground":{"type":"object","copyStyle":true},"paginationCurrentBackground":{"type":"object","copyStyle":true},"paginationDisabledBackground":{"type":"object","copyStyle":true},"paginationHoverBackground":{"type":"object","copyStyle":true},"paginationBorder":{"type":"object","copyStyle":true},"paginationBorderResponsive":{"type":"object","migrate":{"attr":"paginationBorder","type":"border"},"copyStyle":true},"paginationHoverBorder":{"type":"object","copyStyle":true},"paginationHoverBorderResponsive":{"type":"object","migrate":{"attr":"paginationHoverBorder","type":"border"},"copyStyle":true},"paginationShadow":{"type":"object","copyStyle":true},"paginationHoverShadow":{"type":"object","copyStyle":true},"background":{"type":"object","default":{},"copyStyle":true},"backgroundHover":{"type":"object","default":{},"copyStyle":true},"backgroundTransition":{"type":"object","copyStyle":true,"default":{}},"border":{"type":"object","copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"borderHover":{"type":"object","copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadowHover":{"type":"object","copyStyle":true},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"animation":{"type":"object","default":{},"copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"positioningType":{"type":"object","copyStyle":true},"positioningWidth":{"type":"object","copyStyle":true},"positioningAlign":{"type":"object","copyStyle":true},"positioningLocation":{"type":"string","copyStyle":true},"positioningLeft":{"type":"object","copyStyle":true},"positioningRight":{"type":"object","copyStyle":true},"positioningTop":{"type":"object","copyStyle":true},"positioningBottom":{"type":"object","copyStyle":true},"paginationIconSize":{"type":"object","copyStyle":true},"transform":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"condition":{"type":"object","default":{}},"paginationPrevNextText":{"type":"boolean","default":true},"paginationPrevText":{"type":"string","default":"Prev"},"paginationNextText":{"type":"string","default":"Next"},"paginationPrevIcon":{"type":"string","default":"fas fa-chevron-left"},"paginationNextIcon":{"type":"string","default":"fas fa-chevron-right"},"editParam":{"type":"object","default":{}}},"supports":{"className":false},"keywords":["post","list"]}');var ee=o(4889);var te=K.name,oe={icon:(0,g.jsx)(ee.ov,{}),example:{attributes:{numberPost:"5",imageEnabled:!0,iconEnabled:!0,metaEnabled:!0,metaDateEnabled:!0,metaDateIconPosition:"before",metaCategoryEnabled:!0}},edit:J,save:Z}},8453:(e,t,o)=>{var n=o(8928),r="object"==typeof self&&self&&self.Object===Object&&self,i=n||r||Function("return this")();e.exports=i},8468:e=>{"use strict";e.exports=window.lodash},8558:e=>{"use strict";e.exports=window.wp.keycodes},8639:(e,t,o)=>{"use strict";o.d(t,{I:()=>a});var n=o(5255),r=o(1814),i=o.n(r),a=function(e){var t=(0,n.getDeviceType)(),o=e.initialSlide,r=e.spacing,a=e.itemShowed,s=e.loop,l=e.showNav,c=e.showArrow,p=e.zoom,u=e.zoomRatio,d=e.autoplay,y=e.autoplayTimeout;return{initialSlide:o||0,loop:s||!1,autoplay:!!d&&{delay:parseInt(y)},navigation:!!c&&{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},pagination:!!l&&{el:".swiper-pagination",type:"bullets",clickable:!0},zoom:!!p&&{maxRatio:u||2},spaceBetween:r&&r[t]?parseInt(r[t]):i()(r)?r:10,slidesPerView:a&&a[t]?parseInt(a[t]):i()(a)?a:function(){switch(t){case"Mobile":return 1;case"Tablet":return 2;default:return 3}}(),loopAddBlankSlides:s||!1,slidesPerGroupSkip:0}}},8675:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>K,name:()=>te,settings:()=>ne});var n=o(8930),r=o(6065),i=o(9491),a=o(2188),s=o(4715),l=o(3482),c=o(596),p=o(7723);function u(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function d(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?u(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):u(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var y=function(e){var t=e.elementId,o=e.switcher,n=e.setSwitcher;return[{id:"dotsSpacingHorizontal",label:(0,p.__)("Spacing Horizontal","gutenverse"),component:c.RangeControl,min:1,max:100,step:1,allowDeviceControl:!0,liveStyle:[{type:"plain",id:"dotsSpacingHorizontal",responsive:!0,selector:".".concat(t," .swiper-pagination-bullets .swiper-pagination-bullet"),properties:[{name:"margin",valueType:"pattern",pattern:"0 calc({value}px / 2)",patternValues:{value:{type:"direct"}}}]}]},{id:"dotsSpacingVertical",label:(0,p.__)("Spacing Vertical","gutenverse"),component:c.RangeControl,min:1,max:100,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"dotsSpacingVertical",responsive:!0,selector:".".concat(t," .swiper-pagination-bullets"),properties:[{name:"margin-top",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"__dotsNav",component:c.SwitchControl,options:[{value:"general",label:"General"},{value:"active",label:"Active"}],onChange:function(e){var t=e.__dotsNav;return n(d(d({},o),{},{dotsNav:t}))}},{id:"dotsWidth",show:!o.dotsNav||"general"===o.dotsNav,label:(0,p.__)("Dots Width","gutenverse"),component:c.RangeControl,min:1,max:100,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"dotsWidth",responsive:!0,selector:".".concat(t," .swiper-pagination-bullet"),properties:[{name:"width",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"dotsHeight",show:!o.dotsNav||"general"===o.dotsNav,label:(0,p.__)("Dots Height","gutenverse"),component:c.RangeControl,min:1,max:100,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"dotsHeight",responsive:!0,selector:".".concat(t," .swiper-pagination-bullet"),properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"dotsRadius",show:!o.dotsNav||"general"===o.dotsNav,label:(0,p.__)("Dots Border Radius","gutenverse"),component:c.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,r.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"}),liveStyle:[{type:"dimension",id:"dotsRadius",responsive:!0,properties:[{name:"border-radius",valueType:"direct",multiDimension:!1}],selector:".".concat(t," .swiper-pagination-bullet")}]},{id:"dotsColor",show:!o.dotsNav||"general"===o.dotsNav,label:(0,p.__)("Dots Color","gutenverse"),component:c.ColorControl,allowDeviceControl:!0,liveStyle:[{type:"color",id:"dotsColor",responsive:!0,properties:[{name:"background-color",valueType:"direct"}],selector:".".concat(t," .swiper-pagination-bullet")}]},{id:"dotsActiveWidth",show:"active"===o.dotsNav,label:(0,p.__)("Active Width","gutenverse"),component:c.RangeControl,min:1,max:100,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"dotsActiveWidth",responsive:!0,selector:".".concat(t," .swiper-pagination-bullet.swiper-pagination-bullet-active"),properties:[{name:"width",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"dotsActiveHeight",show:"active"===o.dotsNav,label:(0,p.__)("Active Height","gutenverse"),component:c.RangeControl,min:1,max:100,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"dotsActiveHeight",responsive:!0,selector:".".concat(t," .swiper-pagination-bullet.swiper-pagination-bullet-active"),properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"dotsActiveRadius",show:"active"===o.dotsNav,label:(0,p.__)("Active Border Radius","gutenverse"),component:c.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,r.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"}),liveStyle:[{type:"dimension",id:"dotsActiveRadius",responsive:!0,properties:[{name:"border-radius",valueType:"direct",multiDimension:!1}],selector:".".concat(t," .swiper-pagination-bullet.swiper-pagination-bullet-active")}]},{id:"dotsActiveColor",show:"active"===o.dotsNav,label:(0,p.__)("Active Color","gutenverse"),component:c.ColorControl,allowDeviceControl:!0,liveStyle:[{type:"color",id:"dotsActiveColor",responsive:!0,properties:[{name:"background-color",valueType:"direct"}],selector:".".concat(t," .swiper-pagination-bullet.swiper-pagination-bullet-active")}]}]},g=o(5255);function m(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function v(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?m(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):m(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var h=function(e){var t=e.elementId,o=e.switcher,n=e.setSwitcher,i=(0,g.getDeviceType)();return[{id:"arrowFontSize",label:(0,p.__)("Arrow Size","gutenverse"),component:c.RangeControl,min:1,max:100,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"arrowFontSize",responsive:!0,selector:".".concat(t," div[class*='swiper-button-']"),properties:[{name:"font-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"__arrowHover",component:c.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__arrowHover;return n(v(v({},o),{},{arrowHover:t}))}},{id:"arrowColor",show:!o.arrowHover||"normal"===o.arrowHover,label:(0,p.__)("Normal Color","gutenverse"),component:c.ColorControl,allowDeviceControl:!0,liveStyle:[{type:"color",id:"arrowColor",responsive:!0,selector:".".concat(t," div[class*='swiper-button-']"),properties:[{name:"color",valueType:"direct"}]}]},{id:"arrowBgColor",show:!o.arrowHover||"normal"===o.arrowHover,label:(0,p.__)("Background Color","gutenverse"),component:c.ColorControl,allowDeviceControl:!0,liveStyle:[{type:"color",id:"arrowBgColor",responsive:!0,selector:".".concat(t," div[class*='swiper-button-']"),properties:[{name:"background-color",valueType:"direct"}]}]},{id:"arrowPadding",show:!o.arrowHover||"normal"===o.arrowHover,label:(0,p.__)("Normal Padding","gutenverse"),component:c.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,r.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"arrowMargin",show:!o.arrowHover||"normal"===o.arrowHover,label:(0,p.__)("Normal Margin","gutenverse"),component:c.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,r.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"arrowOpacity",show:!o.arrowHover||"normal"===o.arrowHover,label:(0,p.__)("Normal Opacity","gutenverse"),component:c.RangeControl,min:0,max:100,step:1,allowDeviceControl:!0,liveStyle:[{type:"plain",id:"arrowOpacity",responsive:!0,properties:[{name:"opacity",valueType:"function",functionName:"handleOpacity"}],selector:".".concat(t," div[class*='swiper-button-']")}]},{id:"arrowHoverColor",show:"hover"===o.arrowHover,label:(0,p.__)("Hover Color","gutenverse"),component:c.ColorControl,allowDeviceControl:!0,liveStyle:[{type:"color",id:"arrowHoverColor",responsive:!0,selector:".".concat(t," div[class*='swiper-button-']:hover"),properties:[{name:"color",valueType:"direct"}]}]},{id:"arrowHoverBgColor",show:"hover"===o.arrowHover,label:(0,p.__)("Background Hover Color","gutenverse"),component:c.ColorControl,allowDeviceControl:!0,liveStyle:[{type:"color",id:"arrowHoverBgColor",responsive:!0,selector:".".concat(t," div[class*='swiper-button-']:hover"),properties:[{name:"background-color",valueType:"direct"}]}]},{id:"arrowHoverPadding",show:"hover"===o.arrowHover,label:(0,p.__)("Hover Padding","gutenverse"),component:c.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,r.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"arrowHoverMargin",show:"hover"===o.arrowHover,label:(0,p.__)("Hover Margin","gutenverse"),component:c.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,r.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"arrowHoverOpacity",show:"hover"===o.arrowHover,label:(0,p.__)("Hover Opacity","gutenverse"),component:c.RangeControl,min:0,max:100,step:1,allowDeviceControl:!0,liveStyle:[{type:"plain",id:"arrowHoverOpacity",responsive:!0,properties:[{name:"opacity",valueType:"function",functionName:"handleOpacity"}],selector:".".concat(t," div[class*='swiper-button-']:hover")}]},{id:"arrowBorder",show:(!o.arrowHover||"normal"===o.arrowHover)&&"Desktop"===i,label:(0,p.__)("Border","gutenverse"),component:c.BorderControl,liveStyle:[{type:"border",id:"arrowBorder",selector:".".concat(t," div[class*='swiper-button-']")}]},{id:"arrowBorderResponsive",show:(!o.arrowHover||"normal"===o.arrowHover)&&"Desktop"!==i,label:(0,p.__)("Border","gutenverse"),component:c.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"arrowBorderResponsive",selector:".".concat(t," div[class*='swiper-button-']")}]},{id:"arrowBoxShadow",show:!o.arrowHover||"normal"===o.arrowHover,label:(0,p.__)("Box Shadow","gutenverse"),component:c.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"arrowBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t," div[class*='swiper-button-']")}]},{id:"arrowBorderHover",show:"hover"===o.arrowHover&&"Desktop"===i,label:(0,p.__)("Border","gutenverse"),component:c.BorderControl,liveStyle:[{type:"border",id:"arrowBorderHover",selector:".".concat(t," div[class*='swiper-button-']:hover")}]},{id:"arrowBorderHoverResponsive",show:"hover"===o.arrowHover&&"Desktop"!==i,label:(0,p.__)("Border","gutenverse"),component:c.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"arrowBorderResponsiveHover",selector:".".concat(t," div[class*='swiper-button-']:hover")}]},{id:"arrowBoxShadowHover",show:"hover"===o.arrowHover,label:(0,p.__)("Hover Box Shadow","gutenverse"),component:c.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"arrowBoxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t," div[class*='swiper-button-']:hover")}]}]},b=function(){return[{id:"logos",label:(0,p.__)("Client Logos","gutenverse"),component:c.RepeaterControl,titleFormat:"<strong><%= value.title%></strong>",options:[{id:"title",label:(0,p.__)("Title","gutenverse"),component:c.TextControl},{id:"src",label:(0,p.__)("Client Logo","gutenverse"),component:c.ImageControl},{id:"hoverSrc",label:(0,p.__)("Hover Logo","gutenverse"),component:c.ImageControl,description:(0,p.__)("If the Hover Logo is empty, the Client Logo will be used as a placeholder. Hovering options will still apply.","gutenverse")},{id:"lazyLoad",label:(0,p.__)("Set Lazy Load","gutenverse"),component:c.CheckboxControl},{id:"link",label:(0,p.__)("Link","gutenverse"),component:c.TextControl}]}]};function f(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function x(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?f(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):f(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var w=function(e){var t=e.elementId,o=e.imageFixHeight,n=e.switcher,i=e.setSwitcher,a=(0,g.getDeviceType)();return[{id:"imageFixHeight",label:(0,p.__)("Fix Height","gutenverse"),component:c.CheckboxControl},{id:"imageHeight",show:o,label:(0,p.__)("Height","gutenverse"),component:c.RangeControl,min:0,max:400,step:1,unit:"px",allowDeviceControl:!0,liveStyle:[{type:"plain",id:"imageHeight",responsive:!0,properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}],selector:".".concat(t,".guten-client-logo .swiper-container .content-image img")}]},{id:"imageFit",show:o,label:(0,p.__)("Image Fit","gutenverse"),component:c.SelectControl,options:[{value:"cover",label:"Cover"},{value:"contain",label:"Contain"},{value:"fill",label:"Fill"},{value:"scale-down",label:"Scale Down"},{value:"none",label:"None"}],allowDeviceControl:!0},{id:"__imageHover",component:c.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__imageHover;return i(x(x({},n),{},{imageHover:t}))}},{id:"filter",show:!n.imageHover||"normal"===n.imageHover,label:(0,p.__)("Filter","gutenverse"),component:c.ImageFilterControl},{id:"filterHover",show:"hover"===n.imageHover,label:(0,p.__)("Filter","gutenverse"),component:c.ImageFilterControl},{id:"imagePadding",show:!n.imageHover||"normal"===n.imageHover,label:(0,p.__)("Normal Padding","gutenverse"),component:c.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,r.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"imageMargin",show:!n.imageHover||"normal"===n.imageHover,label:(0,p.__)("Normal Margin","gutenverse"),component:c.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,r.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"transitionDuration",show:"hover"===n.imageHover,label:(0,p.__)("Transition Duration","gutenverse"),component:c.RangeControl,min:0,max:10,step:.1,allowDeviceControl:!0},{id:"imageHoverPadding",show:"hover"===n.imageHover,label:(0,p.__)("Hover Padding","gutenverse"),component:c.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,r.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"imageHoverMargin",show:"hover"===n.imageHover,label:(0,p.__)("Hover Margin","gutenverse"),component:c.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,r.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"logoBackgroundNormal",show:!n.imageHover||"normal"===n.imageHover,label:(0,p.__)("Logo Background Normal","gutenverse"),component:c.BackgroundControl,options:["default","gradient"],liveStyle:[{type:"background",id:"logoBackgroundNormal",selector:".".concat(t,".guten-client-logo .swiper-container .content-image .main-image")}]},{id:"logoBackgroundHover",show:"hover"===n.imageHover,label:(0,p.__)("Logo Background Hover","gutenverse"),component:c.BackgroundControl,options:["default","gradient"],liveStyle:[{type:"background",id:"logoBackgroundHover",selector:".".concat(t,".guten-client-logo .swiper-container .content-image .hover-image")}]},{id:"imageBorder",show:(!n.imageHover||"normal"===n.imageHover)&&"Desktop"===a,label:(0,p.__)("Border","gutenverse"),component:c.BorderControl,liveStyle:[{type:"border",id:"imageBorder",selector:".".concat(t,".guten-client-logo .swiper-container .content-image .main-image")}]},{id:"imageBorderResponsive",show:(!n.imageHover||"normal"===n.imageHover)&&"Desktop"!==a,label:(0,p.__)("Border","gutenverse"),component:c.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"imageBorderResponsive",selector:".".concat(t,".guten-client-logo .swiper-container .content-image .main-image")}]},{id:"imageBoxShadow",show:!n.imageHover||"normal"===n.imageHover,label:(0,p.__)("Box Shadow","gutenverse"),component:c.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"imageBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t,".guten-client-logo .swiper-container .content-image .main-image")}]},{id:"opacity",show:!n.imageHover||"normal"===n.imageHover,label:(0,p.__)("Opacity","gutenverse"),component:c.RangeControl,min:.1,max:1,step:.1,liveStyle:[{type:"plain",id:"opacity",properties:[{name:"opacity",valueType:"direct"}],selector:".".concat(t,".guten-client-logo .swiper-container .content-image .main-image")}]},{id:"imageBorderHover",show:"hover"===n.imageHover&&"Desktop"===a,label:(0,p.__)("Border","gutenverse"),component:c.BorderControl,liveStyle:[{type:"border",id:"imageBorderHover",selector:".".concat(t,".guten-client-logo .swiper-container .content-image .hover-image")}]},{id:"imageBorderHoverResponsive",show:"hover"===n.imageHover&&"Desktop"!==a,label:(0,p.__)("Border","gutenverse"),component:c.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"imageBorderHoverResponsive",selector:".".concat(t,".guten-client-logo .swiper-container .content-image .hover-image")}]},{id:"imageBoxShadowHover",show:"hover"===n.imageHover,label:(0,p.__)("Hover Box Shadow","gutenverse"),component:c.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"imageBoxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t,".guten-client-logo .swiper-container .content-image .hover-image")}]},{id:"hoverOpacity",show:"hover"===n.imageHover,label:(0,p.__)("Hover Opacity","gutenverse"),component:c.RangeControl,min:.1,max:1,step:.1,isParseFloat:!1,liveStyle:[{type:"plain",id:"hoverOpacity",properties:[{name:"opacity",valueType:"direct"}],selector:".".concat(t,".guten-client-logo .swiper-container .image-list:hover .content-image .hover-image")}]}]},S=function(){return[{id:"logoWrapperPadding",label:(0,p.__)("Logo Wrapper Padding","gutenverse"),component:c.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,r.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"logoWrapperMargin",label:(0,p.__)("Logo Wrapper Margin","gutenverse"),component:c.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,r.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})}]};function _(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function j(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?_(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):_(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var T=function(){return[{title:(0,p.__)("Slider Setting","gutenverse"),panelArray:c.sliderPanel,tabRole:c.TabSetting},{title:(0,p.__)("Logo List","gutenverse"),initialOpen:!1,panelArray:b,tabRole:c.TabSetting},{title:(0,p.__)("Logo Wrapper Style","gutenverse"),initialOpen:!1,panelArray:S,tabRole:c.TabStyle},{title:(0,p.__)("Logo Style","gutenverse"),initialOpen:!1,panelArray:w,tabRole:c.TabStyle},{title:(0,p.__)("Navigation Arrow","gutenverse"),initialOpen:!1,panelArray:h,tabRole:c.TabStyle},{title:(0,p.__)("Navigation Dots","gutenverse"),initialOpen:!1,panelArray:y,tabRole:c.TabStyle},{title:(0,p.__)("Background","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,c.backgroundPanel)(j(j({},e),{},{styleId:"client-logo-background",normalOptions:["default","gradient"],hoverOptions:["default","gradient"]}))},tabRole:c.TabStyle},{title:(0,p.__)("Border","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,c.borderPanel)(j(j({},e),{},{styleId:"client-logo-border"}))},tabRole:c.TabStyle},{title:(0,p.__)("Masking","gutenverse"),initialOpen:!1,panelArray:c.maskPanel,tabRole:c.TabStyle},{title:(0,p.__)("Display","gutenverse"),initialOpen:!1,panelArray:c.responsivePanel,tabRole:c.TabSetting},{title:(0,p.__)("Positioning","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,c.positioningPanel)(j(j({},e),{},{options:[{value:"default",label:"Default"},{value:"full",label:"Full Width (100%)"},{value:"custom",label:"Custom"}]}))},tabRole:c.TabSetting},{title:(0,p.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,c.animationPanel)(j(j({},e),{},{styleId:"client-logo-animation"}))},tabRole:c.TabSetting},{title:(0,p.__)("Transform","gutenverse"),initialOpen:!1,panelArray:c.transformPanel,pro:!0},{title:(0,p.__)("Mouse Move Effect","gutenverse"),initialOpen:!1,panelArray:c.mouseMoveEffectPanel,tabRole:c.TabSetting,pro:!0},{title:(0,p.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,c.advancePanel)(j(j({},e),{},{styleId:"client-logo-advance"}))},tabRole:c.TabSetting},{title:(0,p.__)("Condition","gutenverse"),panelArray:c.conditionPanel,initialOpen:!1,pro:!0}]},O=o(6087),C=o(8468),k=o(6826),P=o(7143),N=o(154),E=o(8639),D=o(4320),B=o(4404),A=o(1222),H=o(2619);const R=function(e,t){var o=[];return o=function(e,t,o){return(0,A.isNotEmpty)(t.arrowFontSize)&&o.push({type:"plain",id:"arrowFontSize",responsive:!0,selector:".".concat(e," div[class*='swiper-button-']"),properties:[{name:"font-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,A.isNotEmpty)(t.arrowColor)&&o.push({type:"color",id:"arrowColor",responsive:!0,selector:".".concat(e," div[class*='swiper-button-']"),properties:[{name:"color",valueType:"direct"}]}),(0,A.isNotEmpty)(t.arrowBgColor)&&o.push({type:"color",id:"arrowBgColor",responsive:!0,selector:".".concat(e," div[class*='swiper-button-']"),properties:[{name:"background-color",valueType:"direct"}]}),(0,A.isNotEmpty)(t.arrowMargin)&&o.push({type:"dimension",id:"arrowMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e," div[class*='swiper-button-']")}),(0,A.isNotEmpty)(t.arrowPadding)&&o.push({type:"dimension",id:"arrowPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e," div[class*='swiper-button-']")}),(0,A.isNotEmpty)(t.arrowOpacity)&&o.push({type:"plain",id:"arrowOpacity",responsive:!0,properties:[{name:"opacity",valueType:"function",functionName:"handleOpacity"}],selector:".".concat(e," div[class*='swiper-button-']")}),(0,A.isNotEmpty)(t.arrowHoverColor)&&o.push({type:"color",id:"arrowHoverColor",responsive:!0,selector:".".concat(e," div[class*='swiper-button-']:hover"),properties:[{name:"color",valueType:"direct"}]}),(0,A.isNotEmpty)(t.arrowHoverBgColor)&&o.push({type:"color",id:"arrowHoverBgColor",responsive:!0,selector:".".concat(e," div[class*='swiper-button-']:hover"),properties:[{name:"background-color",valueType:"direct"}]}),(0,A.isNotEmpty)(t.arrowHoverMargin)&&o.push({type:"dimension",id:"arrowHoverMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e," div[class*='swiper-button-']:hover")}),(0,A.isNotEmpty)(t.arrowHoverPadding)&&o.push({type:"dimension",id:"arrowHoverPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e," div[class*='swiper-button-']:hover")}),(0,A.isNotEmpty)(t.arrowHoverOpacity)&&o.push({type:"plain",id:"arrowHoverOpacity",responsive:!0,properties:[{name:"opacity",valueType:"function",functionName:"handleOpacity"}],selector:".".concat(e," div[class*='swiper-button-']:hover")}),(0,A.isNotEmpty)(t.arrowBorder)&&o.push({type:"border",id:"arrowBorder",selector:".".concat(e," div[class*='swiper-button-']")}),(0,A.isNotEmpty)(t.arrowBorderResponsive)&&o.push({type:"borderResponsive",id:"arrowBorderResponsive",selector:".".concat(e," div[class*='swiper-button-']")}),(0,A.isNotEmpty)(t.arrowBoxShadow)&&o.push({type:"boxShadow",id:"arrowBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e," div[class*='swiper-button-']")}),(0,A.isNotEmpty)(t.arrowBorderHover)&&o.push({type:"border",id:"arrowBorderHover",selector:".".concat(e," div[class*='swiper-button-']:hover")}),(0,A.isNotEmpty)(t.arrowBorderResponsiveHover)&&o.push({type:"borderResponsive",id:"arrowBorderResponsiveHover",selector:".".concat(e," div[class*='swiper-button-']:hover")}),(0,A.isNotEmpty)(t.arrowBoxShadowHover)&&o.push({type:"boxShadow",id:"arrowBoxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e," div[class*='swiper-button-']:hover")}),o}(e,t,o),o=function(e,t,o){return(0,A.isNotEmpty)(t.dotsSpacingHorizontal)&&o.push({type:"plain",id:"dotsSpacingHorizontal",responsive:!0,selector:".".concat(e," .swiper-pagination-bullets .swiper-pagination-bullet"),properties:[{name:"margin",valueType:"pattern",pattern:"0 calc({value}px / 2)",patternValues:{value:{type:"direct"}}}]}),(0,A.isNotEmpty)(t.dotsSpacingVertical)&&o.push({type:"plain",id:"dotsSpacingVertical",responsive:!0,selector:".".concat(e," .swiper-pagination-bullets"),properties:[{name:"margin-top",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,A.isNotEmpty)(t.dotsWidth)&&o.push({type:"plain",id:"dotsWidth",responsive:!0,selector:".".concat(e," .swiper-pagination-bullet"),properties:[{name:"width",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,A.isNotEmpty)(t.dotsHeight)&&o.push({type:"plain",id:"dotsHeight",responsive:!0,selector:".".concat(e," .swiper-pagination-bullet"),properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,A.isNotEmpty)(t.dotsRadius)&&o.push({type:"dimension",id:"dotsRadius",responsive:!0,properties:[{name:"border-radius",valueType:"direct",multiDimension:!1}],selector:".".concat(e," .swiper-pagination-bullet")}),(0,A.isNotEmpty)(t.dotsColor)&&o.push({type:"color",id:"dotsColor",responsive:!0,properties:[{name:"background-color",valueType:"direct"}],selector:".".concat(e," .swiper-pagination-bullet")}),(0,A.isNotEmpty)(t.dotsActiveWidth)&&o.push({type:"plain",id:"dotsActiveWidth",responsive:!0,selector:".".concat(e," .swiper-pagination-bullet.swiper-pagination-bullet-active"),properties:[{name:"width",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,A.isNotEmpty)(t.dotsActiveHeight)&&o.push({type:"plain",id:"dotsActiveHeight",responsive:!0,selector:".".concat(e," .swiper-pagination-bullet.swiper-pagination-bullet-active"),properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,A.isNotEmpty)(t.dotsActiveRadius)&&o.push({type:"dimension",id:"dotsActiveRadius",responsive:!0,properties:[{name:"border-radius",valueType:"direct",multiDimension:!1}],selector:".".concat(e," .swiper-pagination-bullet.swiper-pagination-bullet-active")}),(0,A.isNotEmpty)(t.dotsActiveColor)&&o.push({type:"color",id:"dotsActiveColor",responsive:!0,properties:[{name:"background-color",valueType:"direct"}],selector:".".concat(e," .swiper-pagination-bullet.swiper-pagination-bullet-active")}),o}(e,t,o),o=function(e,t,o){return(0,A.isNotEmpty)(t.imageFixHeight)&&(0,A.isNotEmpty)(t.imageHeight)&&o.push({type:"plain",id:"imageFixHeight",responsive:!0,properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}],selector:".".concat(e,".guten-client-logo .swiper-container .content-image img"),multiAttr:{imageHeight:t.imageHeight}}),(0,A.isNotEmpty)(t.imageFixHeight)&&(0,A.isNotEmpty)(t.imageHeight)&&o.push({type:"plain",id:"imageHeight",responsive:!0,properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}],selector:".".concat(e,".guten-client-logo .swiper-container .content-image img")}),(0,A.isNotEmpty)(t.imageFixHeight)&&(0,A.isNotEmpty)(t.imageFit)&&o.push({type:"plain",id:"imageFit",responsive:!0,properties:[{name:"object-fit",valueType:"direct"}],selector:".".concat(e,".guten-client-logo .swiper-container .content-image img")}),(0,A.isNotEmpty)(t.imageMargin)&&o.push({type:"dimension",id:"imageMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e,".guten-client-logo .swiper-container .content-image .main-image")}),(0,A.isNotEmpty)(t.imagePadding)&&o.push({type:"dimension",id:"imagePadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e,".guten-client-logo .swiper-container .content-image .main-image")}),(0,A.isNotEmpty)(t.transitionDuration)&&o.push({type:"plain",id:"transitionDuration",responsive:!0,properties:[{name:"transition-duration",valueType:"pattern",pattern:"{value}s",patternValues:{value:{type:"direct"}}}],selector:".".concat(e,".guten-client-logo .swiper-container .content-image .hover-image, .").concat(e,".guten-client-logo .swiper-container .content-image .main-image")}),(0,A.isNotEmpty)(t.filter)&&o.push({type:"plain",id:"filter",selector:".".concat(e,".guten-client-logo .swiper-container .content-image .main-image"),properties:[{name:"filter",valueType:"function",functionName:"handleFilterImage"}]}),(0,A.isNotEmpty)(t.filterHover)&&o.push({type:"plain",id:"filterHover",selector:".".concat(e,".guten-client-logo .swiper-container .content-image .hover-image"),properties:[{name:"filter",valueType:"function",functionName:"handleFilterImage"}]}),(0,A.isNotEmpty)(t.logoBackgroundNormal)&&o.push({type:"background",id:"logoBackgroundNormal",selector:".".concat(e,".guten-client-logo .swiper-container .content-image .main-image")}),(0,A.isNotEmpty)(t.imageBorder)&&o.push({type:"border",id:"imageBorder",selector:".".concat(e,".guten-client-logo .swiper-container .content-image .main-image")}),(0,A.isNotEmpty)(t.imageBorderResponsive)&&o.push({type:"borderResponsive",id:"imageBorderResponsive",selector:".".concat(e,".guten-client-logo .swiper-container .content-image .main-image")}),(0,A.isNotEmpty)(t.imageBoxShadow)&&o.push({type:"boxShadow",id:"imageBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e,".guten-client-logo .swiper-container .content-image .main-image")}),(0,A.isNotEmpty)(t.opacity)&&o.push({type:"plain",id:"opacity",properties:[{name:"opacity",valueType:"direct"}],selector:".".concat(e,".guten-client-logo .swiper-container .content-image .main-image")}),(0,A.isNotEmpty)(t.imageHoverMargin)&&o.push({type:"dimension",id:"imageHoverMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e,".guten-client-logo .swiper-container .content-image .hover-image")}),(0,A.isNotEmpty)(t.imageHoverPadding)&&o.push({type:"dimension",id:"imageHoverPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e,".guten-client-logo .swiper-container .content-image .hover-image")}),(0,A.isNotEmpty)(t.logoBackgroundHover)&&o.push({type:"background",id:"logoBackgroundHover",selector:".".concat(e,".guten-client-logo .swiper-container .content-image .hover-image")}),(0,A.isNotEmpty)(t.imageBorderHover)&&o.push({type:"border",id:"imageBorderHover",selector:".".concat(e,".guten-client-logo .swiper-container .content-image .hover-image")}),(0,A.isNotEmpty)(t.imageBorderHoverResponsive)&&o.push({type:"borderResponsive",id:"imageBorderHoverResponsive",selector:".".concat(e,".guten-client-logo .swiper-container .content-image .hover-image")}),(0,A.isNotEmpty)(t.imageBoxShadowHover)&&o.push({type:"boxShadow",id:"imageBoxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e,".guten-client-logo .swiper-container .content-image .hover-image")}),(0,A.isNotEmpty)(t.hoverOpacity)&&o.push({type:"plain",id:"hoverOpacity",properties:[{name:"opacity",valueType:"direct"}],selector:".".concat(e,".guten-client-logo .swiper-container .image-list:hover .content-image .hover-image")}),o}(e,t,o),o=function(e,t,o){return(0,A.isNotEmpty)(t.logoWrapperMargin)&&o.push({type:"dimension",id:"logoWrapperMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e,".guten-client-logo .swiper-container .content-image")}),(0,A.isNotEmpty)(t.logoWrapperPadding)&&o.push({type:"dimension",id:"logoWrapperPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e,".guten-client-logo .swiper-container .content-image")}),o}(e,t,o),o=(0,c.backgroundStyle)({attributes:t,data:o,elementId:e}),(0,A.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,A.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,A.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,A.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,A.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,A.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,A.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,A.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,A.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,A.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,A.isNotEmpty)(t.animation)&&(0,A.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,A.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,A.isNotEmpty)(t.positioningType)&&(0,A.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,A.isNotEmpty)(t.positioningWidth)&&(0,A.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,A.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,A.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,A.isNotEmpty)(t.positioningLeft)&&(0,A.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,A.isNotEmpty)(t.positioningRight)&&(0,A.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,A.isNotEmpty)(t.positioningTop)&&(0,A.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,A.isNotEmpty)(t.positioningBottom)&&(0,A.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),[].concat((0,B.A)(o),(0,B.A)((0,H.applyFilters)("gutenverse.logo-slider.blockStyle",[],{elementId:e,attributes:t})))};var I=o(790);function M(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function L(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?M(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):M(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var z=function(e){return(0,I.jsx)("img",L({className:"main-image",src:(0,g.getImageSrc)(e.src),alt:e.title},e.lazyLoad&&{loading:"lazy"}))},F=function(e){var t=(0,C.isEmpty)(e.hoverSrc)?(0,g.getImageSrc)(e.src):(0,g.getImageSrc)(e.hoverSrc);return(0,I.jsx)("img",L({className:"hover-image",src:t,alt:e.title},e.lazyLoad&&{loading:"lazy"}))},V=(0,i.compose)(a.withPartialRender,a.withMouseMoveEffect)((function(e){var t=(0,P.dispatch)("core/block-editor").selectBlock,o=e.clientId,r=e.attributes,i=r.elementId,a=r.logos,p=r.initialSlide,u=r.spacing,d=r.itemShowed,y=r.loop,g=r.showNav,m=r.showArrow,v=r.autoplay,h=r.autoplayTimeout,b=(0,O.useRef)(),f=(0,k.useAnimationEditor)(r),x=(0,k.useDisplayEditor)(r),w=(0,O.useState)({initialSlide:p,spacing:u,itemShowed:d,loop:y,showNav:g,showArrow:m,autoplay:v,autoplayTimeout:h}),S=(0,n.A)(w,2),_=S[0],j=S[1];(0,D.useGenerateElementId)(o,i,b),(0,D.useDynamicStyle)(i,r,R,b);var C=(0,s.useBlockProps)({className:(0,l.classnames)("guten-element","guten-client-logo","grid-desktop-3","no-margin",i,f,x),ref:b});return(0,O.useEffect)((function(){j(L(L({},_),{},{loop:y,showNav:g,showArrow:m,initialSlide:p,autoplay:v,autoplayTimeout:h}))}),[y,g,m,p,v,h]),(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(l.CopyElementToolbar,L({},e)),(0,I.jsx)(c.BlockPanelController,{panelList:T,props:e,elementRef:b,setLiveAttr:j,liveAttr:_}),(0,I.jsx)("div",L(L({},C),{},{children:(0,I.jsx)("div",{className:"client-list",onClick:function(){t(o)},children:(0,I.jsx)(N.A,L(L({},(0,E.I)(_)),{},{shouldSwiperUpdate:!0,rebuildOnUpdate:!0,children:a.map((function(e,t){return(0,I.jsx)("div",{className:"image-list",children:e.link?(0,I.jsxs)("a",{href:e.link,className:"content-image",children:[e&&z(e),e&&F(e)]}):(0,I.jsxs)("div",{className:"content-image",children:[e&&z(e),e&&F(e)]})},t)}))}))})}))]})}));const W=V;function G(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function U(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?G(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):G(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var q=(0,i.compose)(a.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,n=t.logos,i=t.showNav,a=t.showArrow,c=t.arrowPosition,p=(0,k.useAnimationFrontend)(t),u=(0,k.useDisplayFrontend)(t),d=(0,l.classnames)("guten-element","guten-client-logo","grid-desktop-3",o,p,u,(0,r.A)({},"arrow-".concat(c),c));return(0,I.jsx)("div",U(U({},s.useBlockProps.save({className:d})),{},{children:(0,I.jsx)("div",{className:"client-list",children:(0,I.jsxs)("div",U(U({id:o,className:"swiper-container"},(0,A.swiperData)(t)),{},{children:[(0,I.jsx)("div",{className:"swiper-wrapper",children:n.map((function(e,t){return(0,I.jsx)("div",{className:"image-list swiper-slide",children:e.link?(0,I.jsxs)("a",{href:e.link,className:"content-image",children:[e&&z(e),e&&F(e)]}):(0,I.jsxs)("div",{className:"content-image",children:[e&&z(e),e&&F(e)]})},t)}))}),i&&(0,I.jsx)("div",{className:"swiper-pagination"}),a&&(0,I.jsx)("div",{className:"swiper-button-prev"}),a&&(0,I.jsx)("div",{className:"swiper-button-next"})]}))})}))}));const $=q;var Y=o(4968);function X(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function J(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?X(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):X(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var Q=(0,i.compose)(a.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,n=t.logos,i=t.showNav,a=t.showArrow,s=t.arrowPosition,c=function(e){return e&&e.image?e.image:Y.oldImagePlaceholder},p=function(e){return e.lazyLoad?(0,I.jsx)("img",{className:"main-image",src:c(e.src),alt:e.title,loading:"lazy"}):(0,I.jsx)("img",{className:"main-image",src:c(e.src),alt:e.title})},u=function(e){return e.lazyLoad?(0,I.jsx)("img",{className:"hover-image",src:(0,C.isEmpty)(e.hoverSrc)?c(e.src):c(e.hoverSrc),alt:e.title,loading:"lazy"}):(0,I.jsx)("img",{className:"hover-image",src:(0,C.isEmpty)(e.hoverSrc)?c(e.src):c(e.hoverSrc),alt:e.title})},d=(0,k.useAnimationFrontend)(t),y=(0,k.useDisplayFrontend)(t),g=(0,l.classnames)("guten-element","guten-client-logo","grid-desktop-3",o,d,y,(0,r.A)({},"arrow-".concat(s),s));return(0,I.jsx)("div",{className:g,children:(0,I.jsx)("div",{className:"client-list",children:(0,I.jsxs)("div",J(J({id:o,className:"swiper-container"},(0,A.swiperData)(t)),{},{children:[(0,I.jsx)("div",{className:"swiper-wrapper",children:n.map((function(e,t){return(0,I.jsx)("div",{className:"swiper-slide image-list",children:(0,I.jsxs)("div",{className:"content-image",children:[p(e),u(e)]})},t)}))}),i&&(0,I.jsx)("div",{className:"swiper-pagination"}),a&&(0,I.jsx)("div",{className:"swiper-button-prev"}),a&&(0,I.jsx)("div",{className:"swiper-button-next"})]}))})})}));const Z=Q,K=JSON.parse('{"apiVersion":2,"name":"gutenverse/logo-slider","title":"Logo Slider","description":"Showcase your clients, sponsors, or a list of images on your website.","category":"gutenverse-element","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"mouseMoveEffect":{"type":"object","copyStyle":true},"logos":{"type":"array","default":[{"title":"One"},{"title":"Two"},{"title":"Three"},{"title":"Four"}]},"imageFixHeight":{"type":"boolean","default":false,"copyStyle":true},"imageHeight":{"type":"object","copyStyle":true},"imageFit":{"type":"object","copyStyle":true},"imagePadding":{"type":"object","copyStyle":true},"imageMargin":{"type":"object","copyStyle":true},"imageHoverPadding":{"type":"object","copyStyle":true},"imageHoverMargin":{"type":"object","copyStyle":true},"imageBorder":{"type":"object","copyStyle":true},"imageBorderResponsive":{"type":"object","migrate":{"attr":"imageBorder","type":"border"},"copyStyle":true},"imageBoxShadow":{"type":"object","copyStyle":true},"imageBorderHover":{"type":"object","copyStyle":true},"imageBorderHoverResponsive":{"type":"object","migrate":{"attr":"imageBorderHover","type":"border"},"copyStyle":true},"imageBoxShadowHover":{"type":"object","copyStyle":true},"transitionDuration":{"type":"object","copyStyle":true},"filter":{"type":"object","copyStyle":true},"filterHover":{"type":"object","copyStyle":true},"spacing":{"type":"object","default":{},"copyStyle":true},"itemShowed":{"type":"object","default":{},"copyStyle":true},"autoplay":{"type":"boolean","default":false},"autoplayTimeout":{"type":"integer","default":2400},"loop":{"type":"boolean","default":false},"showNav":{"type":"boolean","default":false},"showArrow":{"type":"boolean","default":false},"leftArrow":{"type":"string","default":"fa fa-angle-left"},"rightArrow":{"type":"string","default":"fa fa-angle-right"},"arrowPosition":{"type":"string","default":"bottom-edge"},"dotsSpacingHorizontal":{"type":"object","copyStyle":true},"dotsSpacingVertical":{"type":"object","copyStyle":true},"dotsWidth":{"type":"object","copyStyle":true},"dotsHeight":{"type":"object","copyStyle":true},"dotsRadius":{"type":"object","copyStyle":true},"dotsColor":{"type":"object","copyStyle":true},"dotsActiveWidth":{"type":"object","copyStyle":true},"dotsActiveHeight":{"type":"object","copyStyle":true},"dotsActiveRadius":{"type":"object","copyStyle":true},"dotsActiveColor":{"type":"object","copyStyle":true},"arrowFontSize":{"type":"object","copyStyle":true},"arrowColor":{"type":"object","copyStyle":true},"arrowBgColor":{"type":"object","copyStyle":true},"arrowPadding":{"type":"object","copyStyle":true},"arrowMargin":{"type":"object","copyStyle":true},"arrowOpacity":{"type":"object","copyStyle":true},"arrowHoverColor":{"type":"object","copyStyle":true},"arrowHoverBgColor":{"type":"object","copyStyle":true},"arrowHoverPadding":{"type":"object","copyStyle":true},"arrowHoverMargin":{"type":"object","copyStyle":true},"arrowHoverOpacity":{"type":"object","copyStyle":true},"arrowBorder":{"type":"object","copyStyle":true},"arrowBorderResponsive":{"type":"object","migrate":{"attr":"arrowBorder","type":"border"},"copyStyle":true},"arrowBoxShadow":{"type":"object","copyStyle":true},"arrowBorderHover":{"type":"object","copyStyle":true},"arrowBorderHoverResponsive":{"type":"object","migrate":{"attr":"arrowBorderHover","type":"border"},"copyStyle":true},"arrowBoxShadowHover":{"type":"object","copyStyle":true},"background":{"type":"object","default":{},"copyStyle":true},"backgroundHover":{"type":"object","default":{},"copyStyle":true},"backgroundTransition":{"type":"object","copyStyle":true,"default":{}},"border":{"type":"object","default":{},"copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"borderHover":{"type":"object","default":{},"copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadowHover":{"type":"object","copyStyle":true},"opacity":{"type":"string","copyStyle":true},"hoverOpacity":{"type":"string","copyStyle":true},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"animation":{"type":"object","default":{},"copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"positioningType":{"type":"object","copyStyle":true},"positioningWidth":{"type":"object","copyStyle":true},"positioningAlign":{"type":"object","copyStyle":true},"positioningLocation":{"type":"string","copyStyle":true},"positioningLeft":{"type":"object","copyStyle":true},"positioningRight":{"type":"object","copyStyle":true},"positioningTop":{"type":"object","copyStyle":true},"positioningBottom":{"type":"object","copyStyle":true},"transform":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"condition":{"type":"object","default":{}},"logoWrapperMargin":{"type":"object","copyStyle":true},"logoWrapperPadding":{"type":"object","copyStyle":true},"logoBackgroundNormal":{"type":"object","copyStyle":true},"logoBackgroundHover":{"type":"object","copyStyle":true}},"supports":{"className":false},"keywords":["logo","slider"]}');var ee=o(4889);var te=K.name,oe=K.attributes,ne={icon:(0,I.jsx)(ee._H,{}),example:{attributes:{autoplay:!0,itemShowed:{Desktop:"4"},spacing:{Desktop:"30"},logos:[{title:"One",src:{image:"https://templatekit.jegtheme.com/cryptiva/wp-content/uploads/sites/53/2021/03/logoo-9VAKXU.png"}},{title:"Two",src:{image:"https://templatekit.jegtheme.com/cryptiva/wp-content/uploads/sites/53/2021/03/logo-GR7E54.png"}},{title:"Three",src:{image:"https://templatekit.jegtheme.com/cryptiva/wp-content/uploads/sites/53/2021/03/logoo-JQLHGD.png"}},{title:"Four",src:{image:"https://templatekit.jegtheme.com/cryptiva/wp-content/uploads/sites/53/2021/03/logo-Y7FDGX.png"}},{title:"Five",src:{image:"https://templatekit.jegtheme.com/cryptiva/wp-content/uploads/sites/53/2021/03/logoo-JQLHGD.png"}}]}},edit:W,save:$,deprecated:[{attributes:oe,save:Z}]}},8680:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>ze,name:()=>it,settings:()=>st});var n=o(6065),r=o(8930),i=o(9491),a=o(6087),s=o(4715),l=o(3482),c=o(596),p=o(7723),u=function(e){var t=e.elementId,o=e.grid;return[{id:"zoomOptions",label:(0,p.__)("Zoom Options","gutenverse"),component:c.SelectControl,options:[{value:"item",label:(0,p.__)("On Item Click")},{value:"button",label:(0,p.__)("On Button Click")},{value:"disable",label:(0,p.__)("Disable Zoom")}]},{id:"showed",label:(0,p.__)("Total Item to Show","gutenverse"),component:c.RangeControl,isParseFloat:!0,min:1,max:50,step:1},{id:"animationDuration",label:(0,p.__)("Animation Duration","gutenverse"),component:c.RangeControl,min:100,max:1e4,step:1,unit:"ms",liveStyle:[{type:"plain",id:"animationDuration",selector:".".concat(t," .gallery-items .gallery-item-wrap .thumbnail-wrap .caption-wrap"),properties:[{name:"animation-duration",valueType:"pattern",pattern:"calc({value}s/1000)!important",patternValues:{value:{type:"direct"}}}]}]},{id:"column",label:(0,p.__)("Column","gutenverse"),component:c.RangeControl,min:1,max:6,step:1,allowDeviceControl:!0},{id:"grid",label:(0,p.__)("Grid","gutenverse"),component:c.SelectControl,options:[{value:"grid",label:(0,p.__)("Grid")},{value:"masonry",label:(0,p.__)("Masonry")}]},{id:"height",show:"grid"===o,label:(0,p.__)("Height","gutenverse"),component:c.RangeControl,min:0,max:1e3,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"height",responsive:!0,selector:".".concat(t,':not([data-grid="masonry"]) .gallery-items .gallery-item-wrap .thumbnail-wrap'),properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"layout",label:(0,p.__)("Layout","gutenverse"),component:c.SelectControl,options:[{value:"overlay",label:(0,p.__)("Overlay")},{value:"card",label:(0,p.__)("Card")}]},{id:"hover",label:(0,p.__)("Hover Style","gutenverse"),component:c.SelectControl,options:[{value:"none",label:(0,p.__)("None")},{value:"slide-up",label:(0,p.__)("Slide In Up")},{value:"fade-in",label:(0,p.__)("Fade In")},{value:"zoom-in",label:(0,p.__)("Zoom In")}]},{id:"zoomIcon",label:(0,p.__)("Zoom Icon","gutenverse"),component:c.IconControl},{id:"zoomText",label:(0,p.__)("Zoom Text","gutenverse"),component:c.TextControl},{id:"linkIcon",label:(0,p.__)("Link Icon","gutenverse"),component:c.IconControl},{id:"linkText",label:(0,p.__)("Link Text","gutenverse"),component:c.TextControl}]},d=function(){return[{id:"images",component:c.RepeaterControl,titleFormat:'<strong><%= value.title ? value.title : "Gallery Item" %></strong>',repeaterDefault:{id:""},options:[{id:"id",label:(0,p.__)("Filter Name","gutenverse"),component:c.TextControl},{id:"src",label:(0,p.__)("Image","gutenverse"),component:c.ImageControl},{id:"lazyLoad",label:(0,p.__)("Set Lazy Load","gutenverse"),component:c.CheckboxControl},{id:"title",label:(0,p.__)("Title","gutenverse"),component:c.TextControl},{id:"content",label:(0,p.__)("Content","gutenverse"),component:c.TextareaControl},{id:"lightboxDescription",label:(0,p.__)("Lightbox Description","gutenverse"),component:c.CheckboxControl},{id:"showPrice",label:(0,p.__)("Enable Price","gutenverse"),component:c.CheckboxControl},{id:"price",show:function(e){return e.showPrice},label:(0,p.__)("Price Value","gutenverse"),component:c.TextControl},{id:"showRating",label:(0,p.__)("Enable Rating","gutenverse"),component:c.CheckboxControl},{id:"ratingNumber",show:function(e){return e.showRating},label:(0,p.__)("Rating","gutenverse"),component:c.RangeControl,min:0,max:5,step:.5},{id:"showCategory",label:(0,p.__)("Enable Category","gutenverse"),component:c.CheckboxControl},{id:"category",show:function(e){return e.showCategory},label:(0,p.__)("Category","gutenverse"),component:c.TextControl},{id:"printLabelCategory",show:function(e){return e.showCategory},label:(0,p.__)("Show Label Category","gutenverse"),component:c.CheckboxControl},{id:"disableLightbox",label:(0,p.__)("Disable Lightbox","gutenverse"),component:c.CheckboxControl},{id:"disableLink",label:(0,p.__)("Disable Link","gutenverse"),component:c.CheckboxControl},{id:"link",show:function(e){return!e.disableLink},label:(0,p.__)("Link","gutenverse"),component:c.TextControl}]}]},y=o(5255),g=function(e){var t=e.elementId,o=(0,y.getDeviceType)();return[{id:"itemPadding",label:(0,p.__)("Padding","gutenverse"),component:c.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:(0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"itemMargin",label:(0,p.__)("Margin","gutenverse"),component:c.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:(0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"itemBorder",show:"Desktop"===o,label:(0,p.__)("Border","gutenverse"),component:c.BorderControl,liveStyle:[{type:"border",id:"itemBorder",selector:".".concat(t," .gallery-items .gallery-item-wrap .grid-item")}]},{id:"itemBorderResponsive",show:"Desktop"!==o,label:(0,p.__)("Border","gutenverse"),component:c.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"itemBorderResponsive",selector:".".concat(t," .gallery-items .gallery-item-wrap .grid-item")}]},{id:"itemBoxShadow",label:(0,p.__)("Box Shadow","gutenverse"),component:c.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"itemBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t," .gallery-items .gallery-item-wrap .grid-item")}]},{id:"itemBackground",component:c.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"itemBackground",selector:".".concat(t," .gallery-items .gallery-item-wrap .grid-item")}]}]},m=o(790),v=function(e){var t=e.elementId,o=(0,y.getDeviceType)();return[{id:"itemHoverBackground",component:c.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"itemHoverBackground",selector:".".concat(t,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .thumbnail-wrap .caption-wrap .item-hover-bg")}]},{id:"itemHoverOpacity",label:(0,p.__)("Opacity","gutenverse"),component:c.RangeControl,allowDeviceControl:!0,min:0,max:1,step:.01,liveStyle:[{type:"plain",id:"itemHoverOpacity",responsive:!0,selector:".".concat(t,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .thumbnail-wrap .caption-wrap .item-hover-bg"),properties:[{name:"opacity",valueType:"direct"}]}]},{id:"itemHoverPadding",label:(0,p.__)("Padding","gutenverse"),component:c.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:(0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"itemHoverBorder",show:"Desktop"===o,label:(0,p.__)("Border","gutenverse"),component:c.BorderControl,liveStyle:[{type:"border",id:"itemHoverBorder",selector:".".concat(t,".guten-gallery .gallery-items .gallery-item-wrap .thumbnail-wrap .caption-wrap .item-hover-bg")}]},{id:"itemHoverBorderResponsive",show:"Desktop"!==o,label:(0,p.__)("Border","gutenverse"),component:c.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"itemHoverBorderResponsive",selector:".".concat(t,".guten-gallery .gallery-items .gallery-item-wrap .thumbnail-wrap .caption-wrap .item-hover-bg")}]},{id:"itemHoverAlign",label:(0,p.__)("Alignment","gutenverse"),component:c.IconRadioControl,allowDeviceControl:!0,options:[{label:(0,p.__)("Align Left","gutenverse"),value:"left",icon:(0,m.jsx)(l.AlignLeft,{})},{label:(0,p.__)("Align Center","gutenverse"),value:"center",icon:(0,m.jsx)(l.AlignCenter,{})},{label:(0,p.__)("Align Right","gutenverse"),value:"right",icon:(0,m.jsx)(l.AlignRight,{})}]},{id:"submenuTitleSplitter",component:c.HeadingControl,label:(0,p.__)("Title Style")},{id:"itemHoverTitleColor",label:(0,p.__)("Color","gutenverse"),component:c.ColorControl,liveStyle:[{type:"color",id:"itemHoverTitleColor",selector:".".concat(t,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap.style-overlay .item-caption-over .item-title"),properties:[{name:"color",valueType:"direct"}]}]},{id:"itemHoverTitleColorHover",label:(0,p.__)("Hover Color","gutenverse"),component:c.ColorControl,liveStyle:[{type:"color",id:"itemHoverTitleColorHover",selector:".".concat(t,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap.style-overlay:hover .item-caption-over .item-title"),properties:[{name:"color",valueType:"direct"}]}]},{id:"itemHoverTitleTypography",label:(0,p.__)("Typography","gutenverse"),component:c.TypographyControl},{id:"itemHoverTitleMargin",label:(0,p.__)("Margin","gutenverse"),component:c.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:(0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"itemHoverTitlePadding",label:(0,p.__)("Padding","gutenverse"),component:c.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:(0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"submenuContentSplitter",component:c.HeadingControl,label:(0,p.__)("Content Style")},{id:"itemHoverContentColor",label:(0,p.__)("Color","gutenverse"),component:c.ColorControl,liveStyle:[{type:"color",id:"itemHoverContentColor",selector:".".concat(t,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap.style-overlay .item-caption-over .item-content"),properties:[{name:"color",valueType:"direct"}]}]},{id:"itemHoverContentColorHover",label:(0,p.__)("Hover Color","gutenverse"),component:c.ColorControl,liveStyle:[{type:"color",id:"itemHoverContentColorHover",selector:".".concat(t,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap.style-overlay:hover .item-caption-over .item-content"),properties:[{name:"color",valueType:"direct"}]}]},{id:"itemHoverContentTypography",label:(0,p.__)("Typography","gutenverse"),component:c.TypographyControl},{id:"itemHoverContentMargin",label:(0,p.__)("Margin","gutenverse"),component:c.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:(0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"itemHoverContentPadding",label:(0,p.__)("Padding","gutenverse"),component:c.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:(0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})}]},h=function(e){var t=e.filter;return[{id:"filter",label:(0,p.__)("Enable Filtering","gutenverse"),component:c.CheckboxControl},{id:"filterType",show:t,label:(0,p.__)("Type","gutenverse"),component:c.SelectControl,options:[{label:(0,p.__)("Filter Tab"),value:"tab"},{label:(0,p.__)("Filter & Search"),value:"search"}]},{id:"filterAll",show:t,label:(0,p.__)('Label for "All"',"gutenverse"),component:c.TextControl},{id:"filterList",show:t,component:c.RepeaterControl,titleFormat:"<strong><%= value.name%></strong>",options:[{id:"name",label:(0,p.__)("Filter Name","gutenverse"),component:c.TextControl}]}]},b=function(e){var t=e.elementId,o=e.layout,r=(0,y.getDeviceType)();return"card"!==o?[{id:"divider-notice",component:c.AlertControl,children:(0,m.jsx)(m.Fragment,{children:(0,m.jsx)("span",{children:(0,p.__)('This Panel Option Only Show If You Choose "Card" for Layout Option')})})}]:[{id:"itemCardBackground",component:c.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"itemCardBackground",selector:".".concat(t,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap.style-card")}]},{id:"itemCardPadding",label:(0,p.__)("Padding","gutenverse"),component:c.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:(0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"itemCardBorder",show:"Desktop"===r,label:(0,p.__)("Border","gutenverse"),component:c.BorderControl,liveStyle:[{type:"border",id:"itemCardBorder",selector:".".concat(t,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap.style-card")}]},{id:"itemCardBorderResponsive",show:"Desktop"!==r,label:(0,p.__)("Border","gutenverse"),component:c.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"itemCardBorderResponsive",selector:".".concat(t,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap.style-card")}]},{id:"itemCardAlign",label:(0,p.__)("Alignment","gutenverse"),component:c.IconRadioControl,allowDeviceControl:!0,options:[{label:(0,p.__)("Align Left","gutenverse"),value:"left",icon:(0,m.jsx)(l.AlignLeft,{})},{label:(0,p.__)("Align Center","gutenverse"),value:"center",icon:(0,m.jsx)(l.AlignCenter,{})},{label:(0,p.__)("Align Right","gutenverse"),value:"right",icon:(0,m.jsx)(l.AlignRight,{})}]},{id:"submenuSplitter2",component:c.HeadingControl,label:(0,p.__)("Title Style")},{id:"itemCardTitleColor",label:(0,p.__)("Color","gutenverse"),component:c.ColorControl,liveStyle:[{type:"color",id:"itemCardTitleColor",selector:".".concat(t,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap.style-card .item-caption-over .item-title"),properties:[{name:"color",valueType:"direct"}]}]},{id:"itemCardTitleColorHover",label:(0,p.__)("Hover Color","gutenverse"),component:c.ColorControl,liveStyle:[{type:"color",id:"itemCardTitleColorHover",selector:".".concat(t,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap.style-card:hover .item-caption-over .item-title"),properties:[{name:"color",valueType:"direct"}]}]},{id:"itemCardTitleTypography",label:(0,p.__)("Typography","gutenverse"),component:c.TypographyControl},{id:"itemCardTitleMargin",label:(0,p.__)("Margin","gutenverse"),component:c.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:(0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"itemCardTitlePadding",label:(0,p.__)("Padding","gutenverse"),component:c.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:(0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"submenuSplitter3",component:c.HeadingControl,label:(0,p.__)("Content Style")},{id:"itemCardContentColor",label:(0,p.__)("Color","gutenverse"),component:c.ColorControl,liveStyle:[{type:"color",id:"itemCardContentColor",selector:".".concat(t,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap.style-card .item-caption-over .item-content"),properties:[{name:"color",valueType:"direct"}]}]},{id:"itemCardContentColorHover",label:(0,p.__)("Hover Color","gutenverse"),component:c.ColorControl,liveStyle:[{type:"color",id:"itemCardContentColorHover",selector:".".concat(t,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap.style-card:hover .item-caption-over .item-content"),properties:[{name:"color",valueType:"direct"}]}]},{id:"itemCardContentTypography",label:(0,p.__)("Typography","gutenverse"),component:c.TypographyControl},{id:"itemCardContentMargin",label:(0,p.__)("Margin","gutenverse"),component:c.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:(0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"itemCardContentPadding",label:(0,p.__)("Padding","gutenverse"),component:c.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:(0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})}]},f=function(e){var t=e.elementId,o=(0,y.getDeviceType)();return[{id:"thumbnailBorder",show:"Desktop"===o,label:(0,p.__)("Border","gutenverse"),component:c.BorderControl,liveStyle:[{type:"border",id:"thumbnailBorder",selector:".".concat(t," .gallery-items .gallery-item-wrap .thumbnail-wrap")}]},{id:"thumbnailBorderResponsive",show:"Desktop"!==o,label:(0,p.__)("Border","gutenverse"),component:c.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"thumbnailBorderResponsive",selector:".".concat(t," .gallery-items .gallery-item-wrap .thumbnail-wrap")}]}]};function x(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function w(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?x(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):x(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var S=function(e){var t=e.elementId,o=e.selectionPriceRatingPadding,r=e.setSwitcher,i=e.switcher;return[{id:"selectionPriceRatingPadding",label:(0,p.__)("Select Setting Price Rating Padding","gutenverse"),component:c.SelectControl,options:[{value:"all",label:(0,p.__)("All in One")},{value:"custom",label:(0,p.__)("Custom")}]},{id:"priceRatingPadding",label:(0,p.__)("Padding","gutenverse"),component:c.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,show:"all"===o,units:(0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"__priceRating",component:c.SwitchControl,options:[{value:"price",label:"Price"},{value:"rating",label:"Rating"}],onChange:function(e){var t=e.__priceRating;return r(w(w({},i),{},{priceRating:t}))}},{id:"pricePadding",label:(0,p.__)("Price Padding","gutenverse"),component:c.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,show:"custom"===o&&(!i.priceRating||"price"===i.priceRating),units:(0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"ratingPadding",label:(0,p.__)("Rating Padding","gutenverse"),component:c.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,show:"custom"===o&&"rating"===i.priceRating,units:(0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"priceMargin",label:(0,p.__)("Price Margin","gutenverse"),component:c.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,show:!i.priceRating||"price"===i.priceRating,units:(0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"ratingMargin",label:(0,p.__)("Rating Margin","gutenverse"),component:c.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,show:"rating"===i.priceRating,units:(0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"pricePositioningLeft",label:(0,p.__)("Price Left Orientation","--gctd--"),component:c.SizeControl,allowDeviceControl:!0,show:!i.priceRating||"price"===i.priceRating,units:(0,n.A)((0,n.A)((0,n.A)({px:{text:"px",min:-1e3,max:1e3,step:1,unit:"px"}},"%",{text:"%",min:-200,max:200,step:1,unit:"%"}),"vw",{text:"vw",min:-200,max:200,step:1,unit:"vw"}),"vh",{text:"vw",min:-200,max:200,step:1,unit:"vw"}),liveStyle:[{type:"unitPoint",id:"pricePositioningLeft",responsive:!0,selector:".".concat(t,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .caption-head .item-price"),properties:[{name:"left",valueType:"direct"}]}]},{id:"pricePositioningRight",label:(0,p.__)("Price Right Orientation","--gctd--"),component:c.SizeControl,allowDeviceControl:!0,show:!i.priceRating||"price"===i.priceRating,units:(0,n.A)((0,n.A)((0,n.A)({px:{text:"px",min:-1e3,max:1e3,step:1,unit:"px"}},"%",{text:"%",min:-200,max:200,step:1,unit:"%"}),"vw",{text:"vw",min:-200,max:200,step:1,unit:"vw"}),"vh",{text:"vw",min:-200,max:200,step:1,unit:"vw"}),liveStyle:[{type:"unitPoint",id:"pricePositioningRight",responsive:!0,selector:".".concat(t,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .caption-head .item-price"),properties:[{name:"right",valueType:"direct"}]}]},{id:"pricePositioningTop",label:(0,p.__)("Price Top Orientation","--gctd--"),component:c.SizeControl,allowDeviceControl:!0,show:!i.priceRating||"price"===i.priceRating,units:(0,n.A)((0,n.A)((0,n.A)({px:{text:"px",min:-1e3,max:1e3,step:1,unit:"px"}},"%",{text:"%",min:-200,max:200,step:1,unit:"%"}),"vw",{text:"vw",min:-200,max:200,step:1,unit:"vw"}),"vh",{text:"vw",min:-200,max:200,step:1,unit:"vw"}),liveStyle:[{type:"unitPoint",id:"pricePositioningTop",responsive:!0,selector:".".concat(t,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .caption-head .item-price"),properties:[{name:"top",valueType:"direct"}]}]},{id:"pricePositioningBottom",label:(0,p.__)("Price Bottom Orientation","--gctd--"),component:c.SizeControl,allowDeviceControl:!0,show:!i.priceRating||"price"===i.priceRating,units:(0,n.A)((0,n.A)((0,n.A)({px:{text:"px",min:-1e3,max:1e3,step:1,unit:"px"}},"%",{text:"%",min:-200,max:200,step:1,unit:"%"}),"vw",{text:"vw",min:-200,max:200,step:1,unit:"vw"}),"vh",{text:"vw",min:-200,max:200,step:1,unit:"vw"}),liveStyle:[{type:"unitPoint",id:"pricePositioningBottom",responsive:!0,selector:".".concat(t,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .caption-head .item-price"),properties:[{name:"bottom",valueType:"direct"}]}]},{id:"ratingPositioningLeft",label:(0,p.__)("Rating Left Orientation","--gctd--"),component:c.SizeControl,allowDeviceControl:!0,show:"rating"===i.priceRating,units:(0,n.A)((0,n.A)((0,n.A)({px:{text:"px",min:-1e3,max:1e3,step:1,unit:"px"}},"%",{text:"%",min:-200,max:200,step:1,unit:"%"}),"vw",{text:"vw",min:-200,max:200,step:1,unit:"vw"}),"vh",{text:"vw",min:-200,max:200,step:1,unit:"vw"}),liveStyle:[{type:"unitPoint",id:"ratingPositioningLeft",responsive:!0,selector:".".concat(t,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .caption-head .item-rating"),properties:[{name:"left",valueType:"direct"}]}]},{id:"ratingPositioningRight",label:(0,p.__)("Rating Right Orientation","--gctd--"),component:c.SizeControl,allowDeviceControl:!0,show:"rating"===i.priceRating,units:(0,n.A)((0,n.A)((0,n.A)({px:{text:"px",min:-1e3,max:1e3,step:1,unit:"px"}},"%",{text:"%",min:-200,max:200,step:1,unit:"%"}),"vw",{text:"vw",min:-200,max:200,step:1,unit:"vw"}),"vh",{text:"vw",min:-200,max:200,step:1,unit:"vw"}),liveStyle:[{type:"unitPoint",id:"ratingPositioningRight",responsive:!0,selector:".".concat(t,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .caption-head .item-rating"),properties:[{name:"right",valueType:"direct"}]}]},{id:"ratingPositioningTop",label:(0,p.__)("Rating Top Orientation","--gctd--"),component:c.SizeControl,allowDeviceControl:!0,show:"rating"===i.priceRating,units:(0,n.A)((0,n.A)((0,n.A)({px:{text:"px",min:-1e3,max:1e3,step:1,unit:"px"}},"%",{text:"%",min:-200,max:200,step:1,unit:"%"}),"vw",{text:"vw",min:-200,max:200,step:1,unit:"vw"}),"vh",{text:"vw",min:-200,max:200,step:1,unit:"vw"}),liveStyle:[{type:"unitPoint",id:"ratingPositioningTop",responsive:!0,selector:".".concat(t,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .caption-head .item-rating"),properties:[{name:"top",valueType:"direct"}]}]},{id:"ratingPositioningBottom",label:(0,p.__)("Rating Bottom Orientation","--gctd--"),component:c.SizeControl,allowDeviceControl:!0,show:"rating"===i.priceRating,units:(0,n.A)((0,n.A)((0,n.A)({px:{text:"px",min:-1e3,max:1e3,step:1,unit:"px"}},"%",{text:"%",min:-200,max:200,step:1,unit:"%"}),"vw",{text:"vw",min:-200,max:200,step:1,unit:"vw"}),"vh",{text:"vw",min:-200,max:200,step:1,unit:"vw"}),liveStyle:[{type:"unitPoint",id:"ratingPositioningBottom",responsive:!0,selector:".".concat(t,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .caption-head .item-rating"),properties:[{name:"bottom",valueType:"direct"}]}]},{id:"priceColor",label:(0,p.__)("Color","gutenverse"),component:c.ColorControl,show:!i.priceRating||"price"===i.priceRating,liveStyle:[{type:"color",id:"priceColor",selector:".".concat(t,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .caption-head .item-price"),properties:[{name:"color",valueType:"direct"}]}]},{id:"priceTypography",label:(0,p.__)("Typography","gutenverse"),component:c.TypographyControl,show:!i.priceRating||"price"===i.priceRating},{id:"ratingColor",label:(0,p.__)("Color","gutenverse"),component:c.ColorControl,show:"rating"===i.priceRating,liveStyle:[{type:"color",id:"ratingColor",selector:".".concat(t,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .caption-head .item-rating"),properties:[{name:"color",valueType:"direct"}]}]},{id:"ratingStarColor",label:(0,p.__)("Star Color","gutenverse"),component:c.ColorControl,show:"rating"===i.priceRating,liveStyle:[{type:"color",id:"ratingStarColor",selector:".".concat(t,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .caption-head .item-rating li"),properties:[{name:"color",valueType:"direct"}]}]},{id:"ratingTypography",label:(0,p.__)("Typography","gutenverse"),component:c.TypographyControl,show:"rating"===i.priceRating}]},_=function(e){var t=e.elementId;return[{id:"categoryColor",label:(0,p.__)("Color","gutenverse"),component:c.ColorControl,liveStyle:[{type:"color",id:"categoryColor",selector:".".concat(t,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .caption-category span"),properties:[{name:"color",valueType:"direct"}]}]},{id:"categoryTypography",label:(0,p.__)("Typography","gutenverse"),component:c.TypographyControl},{id:"submenuSplitter",component:c.HeadingControl,label:(0,p.__)("Background","gutenverse")},{id:"categoryBackground",component:c.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"categoryBackground",selector:".".concat(t,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .caption-category span")}]},{id:"submenuSplitter",component:c.HeadingControl,label:(0,p.__)("Padding/Margin/Border Radius","gutenverse")},{id:"categoryPadding",label:(0,p.__)("Padding","gutenverse"),component:c.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:(0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"categoryMargin",label:(0,p.__)("Margin","gutenverse"),component:c.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:(0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"categoryBorderRadius",label:(0,p.__)("Border Radius","gutenverse"),component:c.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:(0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})}]},j=function(e){var t=e.enableLoadMore;return[{id:"enableLoadMore",label:(0,p.__)("Enable Load More","gutenverse"),component:c.CheckboxControl},{id:"itemsPerLoad",show:t,label:(0,p.__)("Items Per Load","gutenverse"),component:c.RangeControl,isParseFloat:!0,min:1,max:50,step:1},{id:"enableLoadText",show:t,label:(0,p.__)("Button Text","gutenverse"),component:c.TextControl},{id:"enableLoadIcon",show:t,label:(0,p.__)("Button Icon","gutenverse"),component:c.IconControl},{id:"enableLoadIconPosition",show:t,label:(0,p.__)("Icon Position","gutenverse"),component:c.SelectControl,options:[{label:(0,p.__)("Before"),value:"before"},{label:(0,p.__)("After"),value:"after"}]},{id:"enableLoadAlign",show:t,label:(0,p.__)("Alignment","gutenverse"),component:c.IconRadioControl,allowDeviceControl:!0,options:[{label:(0,p.__)("Align Left","gutenverse"),value:"left",icon:(0,m.jsx)(l.AlignLeft,{})},{label:(0,p.__)("Align Center","gutenverse"),value:"center",icon:(0,m.jsx)(l.AlignCenter,{})},{label:(0,p.__)("Align Right","gutenverse"),value:"right",icon:(0,m.jsx)(l.AlignRight,{})}]}]};function T(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function O(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?T(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):T(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var C=function(e){var t=e.elementId,o=e.switcher,r=e.setSwitcher,i=(0,y.getDeviceType)();return[{id:"loadMoreMarginTop",label:(0,p.__)("Margin Top","gutenverse"),component:c.RangeControl,min:0,max:100,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"loadMoreMarginTop",responsive:!0,properties:[{name:"margin-top",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}],selector:".".concat(t,".guten-gallery .load-more-items")}]},{id:"loadMoreIconSize",label:(0,p.__)("Icon Size","gutenverse"),component:c.RangeControl,min:0,max:100,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"loadMoreIconSize",responsive:!0,selector:".".concat(t,".guten-gallery .load-more-items .load-more-icon"),properties:[{name:"font-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"loadMoreIconSpacing",label:(0,p.__)("Icon Spacing","gutenverse"),component:c.RangeControl,min:0,max:100,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"loadMoreIconSpacing",responsive:!0,selector:".".concat(t,".guten-gallery .load-more-items .load-more-icon.icon-position-before"),properties:[{name:"margin-right",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]},{type:"plain",id:"loadMoreIconSpacing",responsive:!0,selector:".".concat(t,".guten-gallery .load-more-items .load-more-icon.icon-position-after"),properties:[{name:"margin-left",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"loadMoreTypography",label:(0,p.__)("Typography","gutenverse"),component:c.TypographyControl},{id:"loadMorePadding",label:(0,p.__)("Padding","gutenverse"),component:c.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:(0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"loadMoreBoxShadow",label:(0,p.__)("Box Shadow","gutenverse"),component:c.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"loadMoreBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t,".guten-gallery .load-more-items .guten-gallery-load-more")}]},{id:"__loadHover",component:c.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__loadHover;return r(O(O({},o),{},{loadHover:t}))}},{id:"loadMoreTextColor",show:!o.loadHover||"normal"===o.loadHover,label:(0,p.__)("Normal Color","gutenverse"),component:c.ColorControl,allowDeviceControl:!0,liveStyle:[{type:"color",id:"loadMoreTextColor",responsive:!0,selector:".".concat(t,".guten-gallery .load-more-items .guten-gallery-load-more"),properties:[{name:"color",valueType:"direct"}]}]},{id:"loadMoreTextColorHover",show:"hover"===o.loadHover,label:(0,p.__)("Hover Color","gutenverse"),component:c.ColorControl,allowDeviceControl:!0,liveStyle:[{type:"color",id:"loadMoreTextColorHover",responsive:!0,selector:".".concat(t,".guten-gallery .load-more-items .guten-gallery-load-more:hover"),properties:[{name:"color",valueType:"direct"}]}]},{id:"loadMoreBackground",show:!o.loadHover||"normal"===o.loadHover,label:(0,p.__)("Normal Background","gutenverse"),component:c.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"loadMoreBackground",selector:".".concat(t,".guten-gallery .load-more-items .guten-gallery-load-more")}]},{id:"loadMoreBackgroundHover",show:"hover"===o.loadHover,label:(0,p.__)("Hover Background","gutenverse"),component:c.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"loadMoreBackgroundHover",selector:".".concat(t,".guten-gallery .load-more-items .guten-gallery-load-more:hover")}]},{id:"loadMoreBorder",show:(!o.loadHover||"normal"===o.loadHover)&&"Desktop"===i,label:(0,p.__)("Border","gutenverse"),component:c.BorderControl,liveStyle:[{type:"border",id:"loadMoreBorder",selector:".".concat(t,".guten-gallery .load-more-items .guten-gallery-load-more")}]},{id:"loadMoreBorderResponsive",show:(!o.loadHover||"normal"===o.loadHover)&&"Desktop"!==i,label:(0,p.__)("Border","gutenverse"),component:c.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"loadMoreBorderResponsive",selector:".".concat(t,".guten-gallery .load-more-items .guten-gallery-load-more")}]},{id:"loadMoreBorderHover",show:"hover"===o.loadHover&&"Desktop"===i,label:(0,p.__)("Border","gutenverse"),component:c.BorderControl,liveStyle:[{type:"border",id:"loadMoreBorderHover",selector:".".concat(t,".guten-gallery .load-more-items .guten-gallery-load-more:hover")}]},{id:"loadMoreBorderHoverResponsive",show:"hover"===o.loadHover&&"Desktop"!==i,label:(0,p.__)("Border","gutenverse"),component:c.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"loadMoreBorderResponsiveHover",selector:".".concat(t,".guten-gallery .load-more-items .guten-gallery-load-more:hover")}]}]};function k(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function P(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?k(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):k(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var N=function(e){var t=e.elementId,o=e.switcher,r=e.setSwitcher,i=e.filterType,a=(0,y.getDeviceType)();return"tab"!==i?[{id:"divider-notice",component:c.AlertControl,children:(0,m.jsx)(m.Fragment,{children:(0,m.jsx)("span",{children:(0,p.__)('This Panel Option Only Show If You Choose "Filter Tab" for Filter Type Option')})})}]:[{id:"filterTabPadding",label:(0,p.__)("Padding","gutenverse"),component:c.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:(0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"filterTabMargin",label:(0,p.__)("Margin","gutenverse"),component:c.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:(0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"filterTabTypography",label:(0,p.__)("Typography","gutenverse"),component:c.TypographyControl},{id:"__filterTab",component:c.SwitchControl,options:[{value:"general",label:"General"},{value:"active",label:"Active"}],onChange:function(e){var t=e.__filterTab;return r(P(P({},o),{},{filterTab:t}))}},{id:"filterTabTextColor",show:!o.filterTab||"general"===o.filterTab,label:(0,p.__)("General Color","gutenverse"),component:c.ColorControl,allowDeviceControl:!0,liveStyle:[{type:"color",id:"filterTabTextColor",responsive:!0,selector:".".concat(t," .filter-controls .guten-gallery-control"),properties:[{name:"color",valueType:"direct"}]}]},{id:"filterTabTextColorActive",show:"active"===o.filterTab,label:(0,p.__)("Active Color","gutenverse"),component:c.ColorControl,allowDeviceControl:!0,liveStyle:[{type:"color",id:"filterTabTextColorActive",responsive:!0,selector:".".concat(t," .filter-controls .guten-gallery-control.active"),properties:[{name:"color",valueType:"direct"}]}]},{id:"filterTabBackground",show:!o.filterTab||"general"===o.filterTab,label:(0,p.__)("General Background","gutenverse"),component:c.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"filterTabBackground",selector:".".concat(t," .filter-controls .guten-gallery-control")}]},{id:"filterTabBackgroundActive",show:"active"===o.filterTab,label:(0,p.__)("Active Background","gutenverse"),component:c.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"filterTabBackgroundActive",selector:".".concat(t," .filter-controls .guten-gallery-control.active")}]},{id:"filterTabBorder",show:(!o.filterTab||"general"===o.filterTab)&&"Desktop"===a,label:(0,p.__)("Border","gutenverse"),component:c.BorderControl,liveStyle:[{type:"border",id:"filterTabBorder",selector:".".concat(t," .filter-controls .guten-gallery-control")}]},{id:"filterTabBorderResponsive",show:(!o.filterTab||"general"===o.filterTab)&&"Desktop"!==a,label:(0,p.__)("Border","gutenverse"),component:c.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"filterTabBorderResponsive",selector:".".concat(t," .filter-controls .guten-gallery-control")}]},{id:"filterTabBorderActive",show:"active"===o.filterTab&&"Desktop"===a,label:(0,p.__)("Border","gutenverse"),component:c.BorderControl,liveStyle:[{type:"border",id:"filterTabBorderActive",selector:".".concat(t," .filter-controls .guten-gallery-control.active")}]},{id:"filterTabBorderActiveResponsive",show:"active"===o.filterTab&&"Desktop"!==a,label:(0,p.__)("Border","gutenverse"),component:c.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"filterTabBorderResponsiveActive",selector:".".concat(t," .filter-controls .guten-gallery-control.active")}]},{id:"filterTabBoxShadow",show:!o.filterTab||"general"===o.filterTab,label:(0,p.__)("Box Shadow","gutenverse"),component:c.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"filterTabBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t," .filter-controls .guten-gallery-control")}]},{id:"filterTabBoxShadowActive",show:"active"===o.filterTab,label:(0,p.__)("Active Box Shadow","gutenverse"),component:c.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"filterTabBoxShadowActive",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t," .filter-controls .guten-gallery-control.active")}]}]},E=function(e){var t=e.elementId,o=e.filterType,r=(0,y.getDeviceType)();return"search"!==o?[{id:"divider-notice",component:c.AlertControl,children:(0,m.jsx)(m.Fragment,{children:(0,m.jsx)("span",{children:(0,p.__)('This Panel Option Only Show If You Choose "Filter & Search" for Filter Type Option')})})}]:[{id:"submenuSplitter0",first:!0,component:c.HeadingControl,label:(0,p.__)("Search Control")},{id:"searchControlWidth",label:(0,p.__)("Search Control Width","gutenverse"),component:c.SizeControl,allowDeviceControl:!0,units:(0,n.A)({},"%",{text:"%",min:0,max:100,step:1}),liveStyle:[{type:"unitPoint",id:"searchControlWidth",responsive:!0,selector:".".concat(t,".guten-gallery .search-filters-wrap"),properties:[{name:"width",valueType:"direct"}]}]},{id:"fitlerSearchControlWidth",label:(0,p.__)("Filter Width","gutenverse"),component:c.SizeControl,allowDeviceControl:!0,units:(0,n.A)({px:{text:"px",min:1,max:500,step:1}},"%",{text:"%",min:0,max:100,step:1}),liveStyle:[{type:"unitPoint",id:"fitlerSearchControlWidth",responsive:!0,selector:".".concat(t,".guten-gallery .search-filters-wrap .filter-wrap"),properties:[{name:"flex-basis",valueType:"direct"}]}]},{id:"fitlerSearchFormWidth",label:(0,p.__)("Search Input Width","gutenverse"),component:c.SizeControl,allowDeviceControl:!0,units:(0,n.A)({px:{text:"px",min:1,max:500,step:1}},"%",{text:"%",min:0,max:100,step:1}),liveStyle:[{type:"unitPoint",id:"fitlerSearchFormWidth",responsive:!0,selector:".".concat(t,".guten-gallery .search-filters-wrap .guten-gallery-search-box"),properties:[{name:"flex-basis",valueType:"direct"}]}]},{id:"submenuSplitter1",first:!0,component:c.HeadingControl,label:(0,p.__)("Control Tab")},{id:"filterSearchTypography",label:(0,p.__)("Typography","gutenverse"),component:c.TypographyControl},{id:"filterSearchIcon",label:(0,p.__)("Icon","gutenverse"),component:c.IconControl},{id:"filterSearchIconPosition",label:(0,p.__)("Icon Position","gutenverse"),component:c.SelectControl,options:[{label:(0,p.__)("After"),value:"after"},{label:(0,p.__)("Before"),value:"before"}]},{id:"fitlerSearchIconSpacing",label:(0,p.__)("Icon Spacing","gutenverse"),component:c.SizeControl,allowDeviceControl:!0,units:{px:{text:"px",min:1,max:100,step:1},em:{text:"em",min:0,max:10,step:.1}},liveStyle:[{type:"unitPoint",id:"fitlerSearchIconSpacing",responsive:!0,selector:".".concat(t,".guten-gallery .search-filter-trigger.icon-position-after i"),properties:[{name:"margin-left",valueType:"direct"}]},{type:"unitPoint",id:"fitlerSearchIconSpacing",responsive:!0,selector:".".concat(t,".guten-gallery .search-filter-trigger.icon-position-before i"),properties:[{name:"margin-right",valueType:"direct"}]}]},{id:"fitlerSearchIconSize",label:(0,p.__)("Icon Size","gutenverse"),component:c.SizeControl,allowDeviceControl:!0,units:{px:{text:"px",min:1,max:100,step:1},em:{text:"em",min:0,max:10,step:.1}},liveStyle:[{type:"unitPoint",id:"fitlerSearchIconSize",responsive:!0,selector:".".concat(t,".guten-gallery .search-filter-trigger i"),properties:[{name:"font-size",valueType:"direct"}]}]},{id:"filterSearchTextBackground",label:(0,p.__)("Background","gutenverse"),component:c.ColorControl,allowDeviceControl:!0,liveStyle:[{type:"color",id:"filterSearchTextBackground",responsive:!0,selector:".".concat(t,".guten-gallery .search-filters-wrap .filter-wrap button.search-filter-trigger"),properties:[{name:"background-color",valueType:"direct"}]}]},{id:"filterSearchTextColor",label:(0,p.__)("Color","gutenverse"),component:c.ColorControl,allowDeviceControl:!0,liveStyle:[{type:"color",id:"filterSearchTextColor",responsive:!0,selector:".".concat(t,".guten-gallery .search-filters-wrap .filter-wrap button.search-filter-trigger"),properties:[{name:"color",valueType:"direct"}]}]},{id:"filterSearchBorder",show:"Desktop"===r,label:(0,p.__)("Border","gutenverse"),component:c.BorderControl,liveStyle:[{type:"border",id:"filterSearchBorder",selector:".".concat(t,".guten-gallery .search-filters-wrap .filter-wrap button.search-filter-trigger")}]},{id:"filterSearchBorderResponsive",show:"Desktop"!==r,label:(0,p.__)("Border","gutenverse"),component:c.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"filterSearchBorderResponsive",selector:".".concat(t,".guten-gallery .search-filters-wrap .filter-wrap button.search-filter-trigger")}]},{id:"filterSearchMargin",label:(0,p.__)("Margin","gutenverse"),component:c.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:(0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"filterSearchBoxShadow",label:(0,p.__)("Box Shadow","gutenverse"),component:c.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"filterSearchBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t,".guten-gallery .search-filters-wrap .filter-wrap button.search-filter-trigger")}]},{id:"submenuSplitter",component:c.HeadingControl,label:(0,p.__)("Separator")},{id:"filterSearchSeparatorSize",label:(0,p.__)("Separator Size","gutenverse"),component:c.RangeControl,allowDeviceControl:!0,unit:"px",min:1,max:100,step:1,liveStyle:[{type:"plain",id:"filterSearchSeparatorSize",responsive:!0,selector:".".concat(t,".guten-gallery .search-filters-wrap .filter-wrap button.search-filter-trigger"),properties:[{name:"border-right-width",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"filterSearchSeparatorColor",label:(0,p.__)("SeparatorColor","gutenverse"),component:c.ColorControl,allowDeviceControl:!0,liveStyle:[{type:"color",id:"filterSearchSeparatorColor",responsive:!0,selector:".".concat(t,".guten-gallery .search-filters-wrap .filter-wrap button.search-filter-trigger"),properties:[{name:"border-right-color",valueType:"direct"}]}]},{id:"submenuSplitter2",component:c.HeadingControl,label:(0,p.__)("Form")},{id:"filterSearchFormText",label:(0,p.__)("Text Placeholder","gutenverse"),component:c.TextControl},{id:"filterSearchFormBackground",label:(0,p.__)("Background","gutenverse"),component:c.ColorControl,allowDeviceControl:!0,liveStyle:[{type:"color",id:"filterSearchFormBackground",responsive:!0,selector:".".concat(t,".guten-gallery .search-filters-wrap .guten-gallery-search-box"),properties:[{name:"background-color",valueType:"direct"}]}]},{id:"filterSearchFormTextColor",label:(0,p.__)("Color","gutenverse"),component:c.ColorControl,allowDeviceControl:!0,liveStyle:[{type:"color",responsive:!0,id:"filterSearchFormTextColor",selector:".".concat(t,".guten-gallery .search-filters-wrap form.guten-gallery-search-box input[type=text], .").concat(t,".guten-gallery .search-filters-wrap form.guten-gallery-search-box input[type=text]::placeholder"),properties:[{name:"color",valueType:"direct"}]}]},{id:"filterSearchFormBorder",show:"Desktop"===r,label:(0,p.__)("Border","gutenverse"),component:c.BorderControl,liveStyle:[{type:"border",id:"filterSearchFormBorder",selector:".".concat(t,".guten-gallery .search-filters-wrap .guten-gallery-search-box")}]},{id:"filterSearchFormBorderResponsive",show:"Desktop"!==r,label:(0,p.__)("Border","gutenverse"),component:c.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"filterSearchFormBorderResponsive",selector:".".concat(t,".guten-gallery .search-filters-wrap .guten-gallery-search-box")}]},{id:"filterSearchFormBoxShadow",label:(0,p.__)("Box Shadow","gutenverse"),component:c.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"filterSearchFormBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t,".guten-gallery .search-filters-wrap .guten-gallery-search-box")}]},{id:"submenuSplitter3",component:c.HeadingControl,label:(0,p.__)("Dropdown")},{id:"filterSearchDropdownTextColor",label:(0,p.__)("Color","gutenverse"),component:c.ColorControl,allowDeviceControl:!0,liveStyle:[{type:"color",id:"filterSearchDropdownTextColor",responsive:!0,selector:".".concat(t,".guten-gallery .search-filters-wrap .filter-wrap ul.search-filter-controls li"),properties:[{name:"color",valueType:"direct"}]}]},{id:"filterSearchDropdownTextColorHover",label:(0,p.__)("Hover Color","gutenverse"),component:c.ColorControl,allowDeviceControl:!0,liveStyle:[{type:"color",id:"filterSearchDropdownTextColorHover",responsive:!0,selector:".".concat(t,".guten-gallery .search-filters-wrap .filter-wrap ul.search-filter-controls li:hover"),properties:[{name:"color",valueType:"direct"}]}]},{id:"filterSearchDropdownBackground",label:(0,p.__)("Background","gutenverse"),component:c.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"filterSearchDropdownBackground",selector:".".concat(t,".guten-gallery .search-filters-wrap .filter-wrap ul.search-filter-controls")}]},{id:"filterSearchDropdownBorder",show:"Desktop"===r,label:(0,p.__)("Border","gutenverse"),component:c.BorderControl,liveStyle:[{type:"border",id:"filterSearchDropdownBorder",selector:".".concat(t,".guten-gallery .search-filters-wrap .filter-wrap ul.search-filter-controls")}]},{id:"filterSearchDropdownBorderResponsive",show:"Desktop"!==r,label:(0,p.__)("Border","gutenverse"),component:c.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"filterSearchDropdownBorderResponsive",selector:".".concat(t,".guten-gallery .search-filters-wrap .filter-wrap ul.search-filter-controls")}]},{id:"filterSearchDropdownPadding",label:(0,p.__)("Padding","gutenverse"),component:c.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:(0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})}]};function D(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function B(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?D(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):D(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var A=function(e){var t=(0,y.getDeviceType)(),o=e.elementId,r=e.selectionIconPadding,i=e.switcher,a=e.setSwitcher;return[{id:"__textIcon",component:c.SwitchControl,options:[{value:"icon",label:"Icon"},{value:"text",label:"Text"}],onChange:function(e){var t=e.__textIcon;return a(B(B({},i),{},{textIcon:t}))}},{id:"iconWrapperMargin",label:(0,p.__)("Wrapper Margin","gutenverse"),show:!i.textIcon||"icon"===i.textIcon,component:c.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,n.A)((0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"}),"rem",{text:"rem",unit:"rem"})},{id:"iconColor",label:(0,p.__)("Icon Color","gutenverse"),show:!i.textIcon||"icon"===i.textIcon,component:c.ColorControl,liveStyle:[{type:"color",id:"iconColor",selector:".".concat(o,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-button .item-buttons .gallery-link span, .").concat(o,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .item-caption-over .item-buttons .gallery-link span"),properties:[{name:"color",valueType:"direct"}]}]},{id:"iconBg",label:(0,p.__)("Icon Background","gutenverse"),show:!i.textIcon||"icon"===i.textIcon,component:c.ColorControl,liveStyle:[{type:"color",id:"iconBg",selector:".".concat(o,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-button .item-buttons .gallery-link span, .").concat(o,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .item-caption-over .item-buttons .gallery-link span"),properties:[{name:"background",valueType:"direct"}]}]},{id:"iconSize",label:(0,p.__)("Icon Size","gutenverse"),show:!i.textIcon||"icon"===i.textIcon,component:c.RangeControl,min:0,max:300,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"iconSize",responsive:!0,selector:".".concat(o,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-button .item-buttons .gallery-link span, .").concat(o,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .item-caption-over .item-buttons .gallery-link span"),properties:[{name:"font-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"selectionIconPadding",label:(0,p.__)("Select Setting Icon Padding","gutenverse"),show:!i.textIcon||"icon"===i.textIcon,component:c.SelectControl,options:[{value:"all",label:(0,p.__)("All in One")},{value:"custom",label:(0,p.__)("Custom")}]},{id:"zoomIconPadding",label:(0,p.__)("Zoom Icon Padding","gutenverse"),component:c.DimensionControl,allowDeviceControl:!0,show:"custom"===r&&!i.textIcon||"icon"===i.textIcon,position:["top","right","bottom","left"],units:(0,n.A)((0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"}),"rem",{text:"rem",unit:"rem"})},{id:"linkIconPadding",label:(0,p.__)("Link Icon Padding","gutenverse"),component:c.DimensionControl,allowDeviceControl:!0,show:"custom"===r&&!i.textIcon||"icon"===i.textIcon,position:["top","right","bottom","left"],units:(0,n.A)((0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"}),"rem",{text:"rem",unit:"rem"})},{id:"iconPadding",label:(0,p.__)("Icon Padding","gutenverse"),component:c.DimensionControl,allowDeviceControl:!0,show:"all"===r&&!i.textIcon||"icon"===i.textIcon,position:["top","right","bottom","left"],units:(0,n.A)((0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"}),"rem",{text:"rem",unit:"rem"})},{id:"iconBorder",show:"Desktop"===t&&!i.textIcon||"icon"===i.textIcon,label:(0,p.__)("Icon Border","gutenverse"),component:c.BorderControl,liveStyle:[{type:"border",id:"iconBorder",selector:".".concat(o,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-button .item-buttons .gallery-link span, .").concat(o,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .item-caption-over .item-buttons .gallery-link span")}]},{id:"iconBorderResponsive",show:"Desktop"!==t&&!i.textIcon||"icon"===i.textIcon,label:(0,p.__)("Icon Border","gutenverse"),component:c.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"iconBorderResponsive",selector:".".concat(o,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-button .item-buttons .gallery-link span, .").concat(o,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .item-caption-over .item-buttons .gallery-link span")}]},{id:"iconTextGap",label:(0,p.__)("Icon Text Gap","gutenverse"),show:"text"===i.textIcon,component:c.RangeControl,allowDeviceControl:!0,unit:"px",min:0,max:100,step:1,liveStyle:[{type:"plain",id:"iconTextGap",responsive:!0,selector:".".concat(o,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .gallery-link.with-text"),properties:[{name:"gap",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"iconTextPosition",label:(0,p.__)("Text Position","gutenverse"),show:"text"===i.textIcon,component:c.SelectControl,allowDeviceControl:!0,options:[{value:"column",label:(0,p.__)("Top")},{value:"column-reverse",label:(0,p.__)("Bottom")},{value:"row",label:(0,p.__)("Left")},{value:"row-reverse",label:(0,p.__)("Right")}]},{id:"textZoomHeading",component:c.HeadingControl,show:"text"===i.textIcon,label:(0,p.__)("Text Zoom Styles")},{id:"textZoomTypography",label:(0,p.__)("Text Zoom Typography","gutenverse"),show:"text"===i.textIcon,component:c.TypographyControl},{id:"textZoomColor",label:(0,p.__)("Text Zoom Color","gutenverse"),show:"text"===i.textIcon,component:c.ColorControl,allowDeviceControl:!0,liveStyle:[{type:"color",id:"textZoomColor",responsive:!0,selector:".".concat(o,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .gallery-link.with-text.zoom .item-icon-text"),properties:[{name:"color",valueType:"direct"}]}]},{id:"textZoomBackground",label:(0,p.__)("Text Zoom Background","gutenverse"),show:"text"===i.textIcon,component:c.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"textZoomBackground",selector:".".concat(o,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .gallery-link.with-text.zoom .item-icon-text")}]},{id:"textZoomBorder",show:"text"===i.textIcon,label:(0,p.__)("Text Zoom Border","gutenverse"),component:c.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"textZoomBorder",selector:".".concat(o,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .gallery-link.with-text.zoom .item-icon-text")}]},{id:"textZoomMargin",label:(0,p.__)("Text Zoom Margin","gutenverse"),show:"text"===i.textIcon,component:c.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,n.A)((0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"}),"rem",{text:"rem",unit:"rem"})},{id:"textZoomPadding",label:(0,p.__)("Text Zoom Padding","gutenverse"),component:c.DimensionControl,allowDeviceControl:!0,show:"text"===i.textIcon,position:["top","right","bottom","left"],units:(0,n.A)((0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"}),"rem",{text:"rem",unit:"rem"})},{id:"textLinkHeading",component:c.HeadingControl,show:"text"===i.textIcon,label:(0,p.__)("Text Link Styles")},{id:"textLinkTypography",label:(0,p.__)("Text Link Typography","gutenverse"),show:"text"===i.textIcon,component:c.TypographyControl},{id:"textLinkColor",label:(0,p.__)("Text Link Color","gutenverse"),show:"text"===i.textIcon,component:c.ColorControl,allowDeviceControl:!0,liveStyle:[{type:"color",id:"textLinkColor",responsive:!0,selector:".".concat(o,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .gallery-link.with-text.link .item-icon-text"),properties:[{name:"color",valueType:"direct"}]}]},{id:"textLinkBackground",label:(0,p.__)("Text Link Background","gutenverse"),show:"text"===i.textIcon,component:c.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"textLinkBackground",selector:".".concat(o,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .gallery-link.with-text.link .item-icon-text")}]},{id:"textLinkBorder",show:"text"===i.textIcon,label:(0,p.__)("Text Link Border","gutenverse"),component:c.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"textLinkBorder",selector:".".concat(o,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .gallery-link.with-text.link .item-icon-text")}]},{id:"textLinkMargin",label:(0,p.__)("Text Link Margin","gutenverse"),show:"text"===i.textIcon,component:c.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,n.A)((0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"}),"rem",{text:"rem",unit:"rem"})},{id:"textLinkPadding",label:(0,p.__)("Text Link Padding","gutenverse"),component:c.DimensionControl,allowDeviceControl:!0,show:"text"===i.textIcon,position:["top","right","bottom","left"],units:(0,n.A)((0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"}),"rem",{text:"rem",unit:"rem"})}]};function H(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function R(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?H(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):H(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var I=function(e){var t=e.switcher,o=e.setSwitcher;return[{id:"__lightboxItemStyleSwitch",component:c.SwitchControl,options:[{value:"all",label:"All"},{value:"single",label:"Single"}],onChange:function(e){var n=e.__lightboxItemStyleSwitch;return o(R(R({},t),{},{lightboxItemStyleSwitch:n}))}},{id:"itemLightboxTextMargin",label:(0,p.__)("Desc Margin","--gctd--"),component:c.DimensionControl,show:"all"===t.lightboxItemStyleSwitch||!t.lightboxItemStyleSwitch,allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,n.A)((0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"}),"rem",{text:"rem",unit:"rem"})},{id:"itemLightboxTextPadding",label:(0,p.__)("Desc Padding","--gctd--"),component:c.DimensionControl,show:"all"===t.lightboxItemStyleSwitch||!t.lightboxItemStyleSwitch,allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,n.A)((0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"}),"rem",{text:"rem",unit:"rem"})},{id:"itemLightboxTitleTypography",label:(0,p.__)("Desc Title Typography","gutenverse"),component:c.TypographyControl,show:"all"===t.lightboxItemStyleSwitch||!t.lightboxItemStyleSwitch},{id:"itemLightboxTitleColor",label:(0,p.__)("Desc Title Color","gutenverse"),component:c.ColorControl,show:"all"===t.lightboxItemStyleSwitch||!t.lightboxItemStyleSwitch},{id:"itemLightboxDescriptionTypography",label:(0,p.__)("Desc Content Typography","gutenverse"),component:c.TypographyControl,show:"all"===t.lightboxItemStyleSwitch||!t.lightboxItemStyleSwitch},{id:"itemLightboxDescriptionColor",label:(0,p.__)("Desc Content Color","gutenverse"),component:c.ColorControl,show:"all"===t.lightboxItemStyleSwitch||!t.lightboxItemStyleSwitch},{id:"images",component:c.RepeaterControl,titleFormat:'<strong><%= value.title ? value.title : "Gallery Item" %></strong>',isAddNew:!1,show:"single"===t.lightboxItemStyleSwitch,options:[{id:"divider-notice",component:c.AlertControl,children:(0,m.jsx)(m.Fragment,{children:(0,m.jsx)("span",{children:(0,p.__)('This Panel Option Only Show If You Enable "Lightbox Description"')})}),show:function(e){return!(null!=e&&e.lightboxDescription)}},{id:"itemLightboxTextMargin",label:(0,p.__)("Desc Margin","--gctd--"),component:c.DimensionControl,allowDeviceControl:!0,show:function(e){return null==e?void 0:e.lightboxDescription},position:["top","right","bottom","left"],units:(0,n.A)((0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"}),"rem",{text:"rem",unit:"rem"})},{id:"itemLightboxTextPadding",label:(0,p.__)("Desc Padding","--gctd--"),component:c.DimensionControl,show:function(e){return null==e?void 0:e.lightboxDescription},allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,n.A)((0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"}),"rem",{text:"rem",unit:"rem"})},{id:"itemLightboxTitleTypography",label:(0,p.__)("Desc Title Typo","gutenverse"),component:c.TypographyControl,show:function(e){return null==e?void 0:e.lightboxDescription}},{id:"itemLightboxTitleColor",label:(0,p.__)("Desc Title Color","gutenverse"),component:c.ColorControl,show:function(e){return null==e?void 0:e.lightboxDescription}},{id:"itemLightboxDescriptionTypography",label:(0,p.__)("Desc Content Typo","gutenverse"),component:c.TypographyControl,show:function(e){return null==e?void 0:e.lightboxDescription}},{id:"itemLightboxDescriptionColor",label:(0,p.__)("Desc Content Color","gutenverse"),component:c.ColorControl,show:function(e){return null==e?void 0:e.lightboxDescription}}]}]};function M(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function L(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?M(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):M(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var z=function(){return[{title:(0,p.__)("Setting","gutenverse"),panelArray:u,tabRole:c.TabSetting},{title:(0,p.__)("Gallery","gutenverse"),initialOpen:!1,panelArray:d,tabRole:c.TabSetting},{title:(0,p.__)("Filter","gutenverse"),initialOpen:!1,panelArray:h,tabRole:c.TabSetting},{title:(0,p.__)("Load More","gutenverse"),initialOpen:!1,panelArray:j,tabRole:c.TabSetting},{title:(0,p.__)("Filter Tab Styling","gutenverse"),initialOpen:!1,panelArray:N,tabRole:c.TabStyle},{title:(0,p.__)("Filter & Search Styling","gutenverse"),initialOpen:!1,panelArray:E,tabRole:c.TabStyle},{title:(0,p.__)("Icon Style","gutenverse"),initialOpen:!1,panelArray:A,tabRole:c.TabStyle},{title:(0,p.__)("Item Style","gutenverse"),initialOpen:!1,panelArray:g,tabRole:c.TabStyle},{title:(0,p.__)("Item Hover","gutenverse"),initialOpen:!1,panelArray:v,tabRole:c.TabStyle},{title:(0,p.__)("Item Card","gutenverse"),initialOpen:!1,panelArray:b,tabRole:c.TabStyle},{title:(0,p.__)("Lightbox Style","gutenverse"),initialOpen:!1,panelArray:I,tabRole:c.TabStyle},{title:(0,p.__)("Load More Style","gutenverse"),initialOpen:!1,panelArray:C,tabRole:c.TabStyle},{title:(0,p.__)("Thumbnail","gutenverse"),initialOpen:!1,panelArray:f,tabRole:c.TabStyle},{title:(0,p.__)("Price & Rating","gutenverse"),initialOpen:!1,panelArray:S,tabRole:c.TabStyle},{title:(0,p.__)("Category","gutenverse"),initialOpen:!1,panelArray:_,tabRole:c.TabStyle},{title:(0,p.__)("Background","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,c.backgroundPanel)(L(L({},e),{},{styleId:"gallery-background",normalOptions:["default","gradient"],hoverOptions:["default","gradient"]}))},tabRole:c.TabStyle},{title:(0,p.__)("Border","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,c.borderPanel)(L(L({},e),{},{styleId:"gallery-border"}))},tabRole:c.TabStyle},{title:(0,p.__)("Masking","gutenverse"),initialOpen:!1,panelArray:c.maskPanel,tabRole:c.TabStyle},{title:(0,p.__)("Display","gutenverse"),initialOpen:!1,panelArray:c.responsivePanel,tabRole:c.TabSetting},{title:(0,p.__)("Positioning","gutenverse"),initialOpen:!1,panelArray:c.positioningPanel,tabRole:c.TabSetting},{title:(0,p.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,c.animationPanel)(L(L({},e),{},{styleId:"gallery-animation"}))},tabRole:c.TabSetting},{title:(0,p.__)("Transform","gutenverse"),initialOpen:!1,panelArray:c.transformPanel,pro:!0},{title:(0,p.__)("Mouse Move Effect","gutenverse"),initialOpen:!1,panelArray:c.mouseMoveEffectPanel,tabRole:c.TabSetting,pro:!0},{title:(0,p.__)("Advanced Animation","gutenverse"),initialOpen:!1,panelAdvance:!0,panelArray:function(e){return(0,c.advanceAnimationPanel)(L(L({},e),{},{blockType:"gallery"}))},pro:!0},{title:(0,p.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,c.advancePanel)(L(L({},e),{},{styleId:"gallery-advance"}))},tabRole:c.TabSetting},{title:(0,p.__)("Condition","gutenverse"),panelArray:c.conditionPanel,initialOpen:!1,pro:!0}]},F=o(1222),V=o(5795),W=o(4404),G=o(154),U=o(4968),q=o(8639);function $(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Y(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?$(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):$(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const X=function(e){var t=e.activeIndex,o=e.images,n=e.onClose,i=e.currentFilter,s=e.currentSearch,c=e.elementId,p=(0,a.useState)(!1),u=(0,r.A)(p,2),d=u[0],y=u[1],g=(0,a.useState)(!1),v=(0,r.A)(g,2),h=v[0],b=v[1],f=(0,a.useRef)(),x=(0,a.useRef)(),w=(0,a.useState)(o),S=(0,r.A)(w,2),_=S[0],j=S[1];return(0,a.useState)((function(){j((0,W.A)(_.filter((function(e){return(e.id.toLowerCase().includes(i.toLowerCase())||"All"===i)&&(e.title.toLowerCase().includes(s)||e.content.toLowerCase().includes(s)||e.content.toLowerCase().includes(s))}))))}),[i,s]),(0,m.jsxs)("div",{className:"gutenverse-popup-gallery ".concat(c),ref:f,children:[(0,m.jsxs)("div",{className:"gallery-header",children:[(0,m.jsx)("div",{className:"left-header"}),(0,m.jsxs)("div",{className:"right-header",children:[h?(0,m.jsx)(l.Minimize,{onClick:function(){document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen&&document.msExitFullscreen(),b(!1)}}):(0,m.jsx)(l.Maximize,{onClick:function(){return(e=f.current).requestFullscreen?e.requestFullscreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.msRequestFullscreen&&e.msRequestFullscreen(),void b(!0);var e}}),(0,m.jsx)(l.ZoomIn,{onClick:function(){return e=x.current,void(d?(e.swiper.zoom.out(),y(!1)):(e.swiper.zoom.in(),y(!0)));var e}}),(0,m.jsx)(l.X,{onClick:n})]})]}),(0,m.jsx)("div",{className:"gallery-body",children:(0,m.jsx)("div",{className:"images",children:(0,m.jsx)(G.A,Y(Y({},(0,q.I)({initialSlide:t,loop:!0,showArrow:!0,zoom:!0,spacing:10,itemShowed:1})),{},{ref:x,children:_.map((function(e,t){var o;return(0,m.jsx)("div",{"data-filter":e.id,"data-category":e.category,"data-title":e.title,"data-content":e.content,"data-index":t,className:"image-list image-list-".concat(t),children:(0,m.jsxs)("div",{className:"content-image swiper-zoom-container",children:[e&&(0,m.jsx)("img",Y({className:"main-image",src:(null==e||null===(o=e.src)||void 0===o?void 0:o.image)||U.imagePlaceholder},e.lazyLoad&&{loading:"lazy"})),null!=e&&e.lightboxDescription?(0,m.jsxs)("div",{className:"content-description-wrapper",children:[(0,m.jsx)("h5",{className:"content-title",children:e.title}),(0,m.jsx)("div",{className:"content-description",children:(0,m.jsx)("p",{children:e.content})})]}):null]})},t)}))}))})})]})};function J(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}const Q=function(e){var t=e.galleryItem,o=e.layout,r=e.hover,i=e.zoomIcon,a=e.linkIcon,s=e.zoomText,l=e.linkText,c=e.onZoom,p=void 0===c?function(){}:c,u=e.zoomOptions,d=void 0===u?"item":u,g=function(){switch(r){case"slide-up":case"fade-in":case"zoom-in":return"animated ".concat(r);default:return""}},v=function(e){for(var t=[],o=0,n=0;n<2*e;n++)n%2==0?(t.push(1),o++):t[o-1]++;return t.map((function(e,t){return 2===e?(0,m.jsx)("li",{children:(0,m.jsx)("i",{className:"fas fa-star"})},t):(0,m.jsx)("li",{children:(0,m.jsx)("i",{className:"fas fa-star-half"})},t)}))},h=function(){return(0,m.jsx)("img",function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?J(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):J(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({src:(0,y.getImageSrc)(t.src),alt:t.title},t.lazyLoad?{loading:"lazy"}:{}))};return"overlay"===o?(0,m.jsx)("div",{className:"grid-item",children:(0,m.jsxs)("div",{className:"thumbnail-wrap",children:[h(),(0,m.jsx)("div",{className:"caption-wrap style-overlay overlay-overlay ".concat(g()),onClick:"item"===d&&p,children:!t.disableLightbox&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("div",{className:"item-hover-bg"}),(0,m.jsxs)("div",{className:"item-caption-over",children:[(0,m.jsx)("h5",{className:"item-title",children:t.title}),(0,m.jsx)("div",{className:"item-content",children:t.content}),(0,m.jsxs)("div",{className:"item-buttons",children:["disable"!==d&&(i||void 0!==s)&&(0,m.jsxs)("div",{className:"gallery-link zoom ".concat("none"!==s&&"with-text"),children:[void 0!==s&&(0,m.jsx)("p",{className:"item-icon-text zoom-text",children:s}),i&&(0,m.jsx)("span",{className:"item-icon-inner",onClick:p,children:(0,m.jsx)("i",{className:i,"aria-hidden":"true"})})]}),!t.disableLink&&(a||void 0!==l)&&(0,m.jsxs)("a",{href:t.link?t.link:"",className:"gallery-link link ".concat("none"!==s&&"with-text"),onClick:function(e){return e.preventDefault()},children:[void 0!==l&&(0,m.jsx)("p",{className:"item-icon-text link-text",children:l}),a&&(0,m.jsx)("span",{className:"item-icon-inner",children:(0,m.jsx)("i",{className:a,"aria-hidden":"true"})})]})]})]}),(0,m.jsxs)("div",{className:"caption-head",children:[t.showPrice&&(0,m.jsx)("div",{className:"item-price",children:t.price}),t.showRating&&(0,m.jsxs)("div",{className:"item-rating",children:[v(t.ratingNumber),(0,m.jsx)("span",{children:t.ratingNumber})]})]}),t.showCategory&&t.printLabelCategory&&(0,m.jsx)("div",{className:"caption-category",children:(0,m.jsx)("span",{children:t.category})})]})})]})}):(0,m.jsxs)("div",{className:"grid-item",children:[(0,m.jsxs)("div",{className:"thumbnail-wrap",children:[h(),(0,m.jsx)("div",{className:"caption-wrap search-hover-bg style-overlay ".concat(g()),children:!t.disableLightbox&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("div",{className:"item-hover-bg"}),(0,m.jsxs)("div",{className:"caption-head",children:[t.showPrice&&(0,m.jsx)("div",{className:"item-price",children:t.price}),t.showRating&&(0,m.jsxs)("div",{className:"item-rating",children:[v(t.ratingNumber),(0,m.jsx)("span",{children:t.ratingNumber})]})]}),(0,m.jsx)("div",{className:"caption-button",children:(0,m.jsxs)("div",{className:"item-buttons",children:["disable"!==d&&i&&(0,m.jsxs)("div",{className:"gallery-link zoom ".concat("none"!==s&&"with-text"),children:[void 0!==s&&(0,m.jsx)("p",{className:"item-icon-text zoom-text",children:s}),(0,m.jsx)("span",{className:"item-icon-inner",onClick:p,children:(0,m.jsx)("i",{className:i,"aria-hidden":"true"})})]}),!t.disableLink&&a&&(0,m.jsxs)("a",{href:t.link?t.link:"",className:"gallery-link link ".concat("none"!==s&&"with-text"),children:[void 0!==l&&(0,m.jsx)("p",{className:"item-icon-text link-text",children:l}),(0,m.jsx)("span",{className:"item-icon-inner",children:(0,m.jsx)("i",{className:a,"aria-hidden":"true"})})]})]})}),t.showCategory&&(0,m.jsx)("div",{className:"caption-category",children:(0,m.jsx)("span",{children:t.category})})]})})]}),(0,m.jsx)("div",{className:"caption-wrap style-card",children:(0,m.jsxs)("div",{className:"item-caption-over",children:[(0,m.jsx)("h5",{className:"item-title",children:t.title}),(0,m.jsx)("div",{className:"item-content",children:(0,m.jsx)("p",{children:t.content})})]})})]})};var Z={},K={get exports(){return Z},set exports(e){Z=e}};function ee(){}function te(){}function oe(e){return parseFloat(e)||0}ee.prototype={on:function(e,t,o){var n=this.e||(this.e={});return(n[e]||(n[e]=[])).push({fn:t,ctx:o}),this},once:function(e,t,o){var n=this;function r(){n.off(e,r),t.apply(o,arguments)}return r._=t,this.on(e,r,o)},emit:function(e){for(var t=[].slice.call(arguments,1),o=((this.e||(this.e={}))[e]||[]).slice(),n=0,r=o.length;n<r;n++)o[n].fn.apply(o[n].ctx,t);return this},off:function(e,t){var o=this.e||(this.e={}),n=o[e],r=[];if(n&&t)for(var i=0,a=n.length;i<a;i++)n[i].fn!==t&&n[i].fn._!==t&&r.push(n[i]);return r.length?o[e]=r:delete o[e],this}},K.exports=ee,Z.TinyEmitter=ee;var ne=class{constructor(e,t){this.x=oe(e),this.y=oe(t)}static equals(e,t){return e.x===t.x&&e.y===t.y}};class re{constructor(e,t,o,n,r){this.id=r,this.left=e,this.top=t,this.width=o,this.height=n}static intersects(e,t){return e.left<t.left+t.width&&t.left<e.left+e.width&&e.top<t.top+t.height&&t.top<e.top+e.height}}var ie={BASE:"shuffle",SHUFFLE_ITEM:"shuffle-item",VISIBLE:"shuffle-item--visible",HIDDEN:"shuffle-item--hidden"};let ae=0;class se{constructor(e,t){ae+=1,this.id=ae,this.element=e,this.isRTL=t,this.isVisible=!0,this.isHidden=!1}show(){this.isVisible=!0,this.element.classList.remove(ie.HIDDEN),this.element.classList.add(ie.VISIBLE),this.element.removeAttribute("aria-hidden")}hide(){this.isVisible=!1,this.element.classList.remove(ie.VISIBLE),this.element.classList.add(ie.HIDDEN),this.element.setAttribute("aria-hidden",!0)}init(){this.addClasses([ie.SHUFFLE_ITEM,ie.VISIBLE]),this.applyCss(se.Css.INITIAL),this.applyCss(this.isRTL?se.Css.DIRECTION.rtl:se.Css.DIRECTION.ltr),this.scale=se.Scale.VISIBLE,this.point=new ne}addClasses(e){e.forEach((e=>{this.element.classList.add(e)}))}removeClasses(e){e.forEach((e=>{this.element.classList.remove(e)}))}applyCss(e){Object.keys(e).forEach((t=>{this.element.style[t]=e[t]}))}dispose(){this.removeClasses([ie.HIDDEN,ie.VISIBLE,ie.SHUFFLE_ITEM]),this.element.removeAttribute("style"),this.element=null}}se.Css={INITIAL:{position:"absolute",top:0,visibility:"visible",willChange:"transform"},DIRECTION:{ltr:{left:0},rtl:{right:0}},VISIBLE:{before:{opacity:1,visibility:"visible"},after:{transitionDelay:""}},HIDDEN:{before:{opacity:0},after:{visibility:"hidden",transitionDelay:""}}},se.Scale={VISIBLE:1,HIDDEN:.001};var le=se;let ce=null;var pe=()=>{if(null!==ce)return ce;const e=document.body||document.documentElement,t=document.createElement("div");t.style.cssText="width:10px;padding:2px;box-sizing:border-box;",e.appendChild(t);const{width:o}=window.getComputedStyle(t,null);return ce=10===Math.round(oe(o)),e.removeChild(t),ce};function ue(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:window.getComputedStyle(e,null),n=oe(o[t]);return pe()||"width"!==t?pe()||"height"!==t||(n+=oe(o.paddingTop)+oe(o.paddingBottom)+oe(o.borderTopWidth)+oe(o.borderBottomWidth)):n+=oe(o.paddingLeft)+oe(o.paddingRight)+oe(o.borderLeftWidth)+oe(o.borderRightWidth),n}const de={reverse:!1,by:null,compare:null,randomize:!1,key:"element"};function ye(e,t){const o={...de,...t},n=Array.from(e);let r=!1;return e.length?o.randomize?function(e){let t=e.length;for(;t;){t-=1;const o=Math.floor(Math.random()*(t+1)),n=e[o];e[o]=e[t],e[t]=n}return e}(e):("function"==typeof o.by?e.sort(((e,t)=>{if(r)return 0;const n=o.by(e[o.key]),i=o.by(t[o.key]);return void 0===n&&void 0===i?(r=!0,0):n<i||"sortFirst"===n||"sortLast"===i?-1:n>i||"sortLast"===n||"sortFirst"===i?1:0})):"function"==typeof o.compare&&e.sort(o.compare),r?n:(o.reverse&&e.reverse(),e)):[]}const ge={},me="transitionend";let ve=0;function he(e){return!!ge[e]&&(ge[e].element.removeEventListener(me,ge[e].listener),ge[e]=null,!0)}function be(e){return Math.max(...e)}function fe(e,t,o,n){let r=e/t;return Math.abs(Math.round(r)-r)<n&&(r=Math.round(r)),Math.min(Math.ceil(r),o)}function xe(e,t,o){if(1===t)return e;const n=[];for(let r=0;r<=o-t;r++)n.push(be(e.slice(r,r+t)));return n}function we(e,t){const o=(n=e,Math.min(...n));var n;for(let n=0,r=e.length;n<r;n++)if(e[n]>=o-t&&e[n]<=o+t)return n;return 0}function Se(e,t){const o={};e.forEach((e=>{o[e.top]?o[e.top].push(e):o[e.top]=[e]}));let n=[];const r=[],i=[];return Object.keys(o).forEach((e=>{const a=o[e];r.push(a);const s=a[a.length-1],l=s.left+s.width,c=Math.round((t-l)/2);let p=a,u=!1;if(c>0){const e=[];u=a.every((t=>{const o=new re(t.left+c,t.top,t.width,t.height,t.id),r=!n.some((e=>re.intersects(o,e)));return e.push(o),r})),u&&(p=e)}if(!u){let e;if(a.some((t=>n.some((o=>{const n=re.intersects(t,o);return n&&(e=o),n}))))){const t=i.findIndex((t=>t.includes(e)));i.splice(t,1,r[t])}}n=n.concat(p),i.push(p)})),i.flat().sort(((e,t)=>e.id-t.id)).map((e=>new ne(e.left,e.top)))}function _e(e){return Array.from(new Set(e))}let je=0;class Te extends Z{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),this.options={...Te.options,...t},this.lastSort={},this.group=Te.ALL_ITEMS,this.lastFilter=Te.ALL_ITEMS,this.isEnabled=!0,this.isDestroyed=!1,this.isInitialized=!1,this._transitions=[],this.isTransitioning=!1,this._queue=[];const o=this._getElementOption(e);if(!o)throw new TypeError("Shuffle needs to be initialized with an element.");this.element=o,this.id=`shuffle_${je}`,je+=1,this._init(),this.isInitialized=!0}_init(){if(this.items=this._getItems(),this.sortedItems=this.items,this.options.sizer=this._getElementOption(this.options.sizer),this.element.classList.add(Te.Classes.BASE),this._initItems(this.items),"complete"!==document.readyState){const e=this.layout.bind(this);window.addEventListener("load",(function t(){window.removeEventListener("load",t),e()}))}const e=window.getComputedStyle(this.element,null),t=Te.getSize(this.element).width;this._validateStyles(e),this._setColumns(t),this.filter(this.options.group,this.options.initialSort),this._rafId=null,"ResizeObserver"in window&&(this._resizeObserver=new ResizeObserver(this._handleResizeCallback.bind(this)),this._resizeObserver.observe(this.element)),this.element.offsetWidth,this.setItemTransitions(this.items),this.element.style.transition=`height ${this.options.speed}ms ${this.options.easing}`}_getElementOption(e){return"string"==typeof e?this.element.querySelector(e):e&&e.nodeType&&1===e.nodeType?e:e&&e.jquery?e[0]:null}_validateStyles(e){"static"===e.position&&(this.element.style.position="relative"),"hidden"!==e.overflow&&(this.element.style.overflow="hidden")}_filter(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.lastFilter,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.items;const o=this._getFilteredSets(e,t);return this._toggleFilterClasses(o),this.lastFilter=e,"string"==typeof e&&(this.group=e),o}_getFilteredSets(e,t){let o=[];const n=[];return e===Te.ALL_ITEMS?o=t:t.forEach((t=>{this._doesPassFilter(e,t.element)?o.push(t):n.push(t)})),{visible:o,hidden:n}}_doesPassFilter(e,t){if("function"==typeof e)return e.call(t,t,this);const o=t.dataset[Te.FILTER_ATTRIBUTE_KEY],n=this.options.delimiter?o.split(this.options.delimiter):JSON.parse(o);function r(e){return n.includes(e)}return Array.isArray(e)?this.options.filterMode===Te.FilterMode.ANY?e.some(r):e.every(r):n.includes(e)}_toggleFilterClasses(e){let{visible:t,hidden:o}=e;t.forEach((e=>{e.show()})),o.forEach((e=>{e.hide()}))}_initItems(e){e.forEach((e=>{e.init()}))}_disposeItems(e){e.forEach((e=>{e.dispose()}))}_updateItemCount(){this.visibleItems=this._getFilteredItems().length}setItemTransitions(e){const{speed:t,easing:o}=this.options,n=this.options.useTransforms?["transform"]:["top","left"],r=Object.keys(le.Css.HIDDEN.before).map((e=>e.replace(/([A-Z])/g,((e,t)=>`-${t.toLowerCase()}`)))),i=n.concat(r).join();e.forEach((e=>{e.element.style.transitionDuration=`${t}ms`,e.element.style.transitionTimingFunction=o,e.element.style.transitionProperty=i}))}_getItems(){return Array.from(this.element.children).filter((e=>e.matches(this.options.itemSelector))).map((e=>new le(e,this.options.isRTL)))}_mergeNewItems(e){const t=Array.from(this.element.children);return ye(this.items.concat(e),{by:e=>t.indexOf(e)})}_getFilteredItems(){return this.items.filter((e=>e.isVisible))}_getConcealedItems(){return this.items.filter((e=>!e.isVisible))}_getColumnSize(e,t){let o;return o="function"==typeof this.options.columnWidth?this.options.columnWidth(e):this.options.sizer?Te.getSize(this.options.sizer).width:this.options.columnWidth?this.options.columnWidth:this.items.length>0?Te.getSize(this.items[0].element,!0).width:e,0===o&&(o=e),o+t}_getGutterSize(e){let t;return t="function"==typeof this.options.gutterWidth?this.options.gutterWidth(e):this.options.sizer?ue(this.options.sizer,"marginLeft"):this.options.gutterWidth,t}_setColumns(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Te.getSize(this.element).width;const t=this._getGutterSize(e),o=this._getColumnSize(e,t);let n=(e+t)/o;Math.abs(Math.round(n)-n)<this.options.columnThreshold&&(n=Math.round(n)),this.cols=Math.max(Math.floor(n||0),1),this.containerWidth=e,this.colWidth=o}_setContainerSize(){this.element.style.height=`${this._getContainerSize()}px`}_getContainerSize(){return be(this.positions)}_getStaggerAmount(e){return Math.min(e*this.options.staggerAmount,this.options.staggerAmountMax)}_dispatch(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.isDestroyed||(t.shuffle=this,this.emit(e,t))}_resetCols(){let e=this.cols;for(this.positions=[];e;)e-=1,this.positions.push(0)}_layout(e){const t=this._getNextPositions(e);let o=0;e.forEach(((e,n)=>{function r(){e.applyCss(le.Css.VISIBLE.after)}if(ne.equals(e.point,t[n])&&!e.isHidden)return e.applyCss(le.Css.VISIBLE.before),void r();e.point=t[n],e.scale=le.Scale.VISIBLE,e.isHidden=!1;const i=this.getStylesForTransition(e,le.Css.VISIBLE.before);i.transitionDelay=`${this._getStaggerAmount(o)}ms`,this._queue.push({item:e,styles:i,callback:r}),o+=1}))}_getNextPositions(e){if(this.options.isCentered){const t=e.map(((e,t)=>{const o=Te.getSize(e.element,!0),n=this._getItemPosition(o);return new re(n.x,n.y,o.width,o.height,t)}));return this.getTransformedPositions(t,this.containerWidth)}return e.map((e=>this._getItemPosition(Te.getSize(e.element,!0))))}_getItemPosition(e){return function(e){let{itemSize:t,positions:o,gridSize:n,total:r,threshold:i,buffer:a}=e;const s=fe(t.width,n,r,i),l=xe(o,s,r),c=we(l,a),p=new ne(n*c,l[c]),u=l[c]+t.height;for(let e=0;e<s;e++)o[c+e]=u;return p}({itemSize:e,positions:this.positions,gridSize:this.colWidth,total:this.cols,threshold:this.options.columnThreshold,buffer:this.options.buffer})}getTransformedPositions(e,t){return Se(e,t)}_shrink(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._getConcealedItems(),t=0;e.forEach((e=>{function o(){e.applyCss(le.Css.HIDDEN.after)}if(e.isHidden)return e.applyCss(le.Css.HIDDEN.before),void o();e.scale=le.Scale.HIDDEN,e.isHidden=!0;const n=this.getStylesForTransition(e,le.Css.HIDDEN.before);n.transitionDelay=`${this._getStaggerAmount(t)}ms`,this._queue.push({item:e,styles:n,callback:o}),t+=1}))}_handleResizeCallback(e){if(this.isEnabled&&!this.isDestroyed)for(const t of e)Math.round(t.contentRect.width)!==Math.round(this.containerWidth)&&(cancelAnimationFrame(this._rafId),this._rafId=requestAnimationFrame(this.update.bind(this)))}getStylesForTransition(e,t){const o={...t};if(this.options.useTransforms){const t=this.options.isRTL?"-":"",n=this.options.roundTransforms?Math.round(e.point.x):e.point.x,r=this.options.roundTransforms?Math.round(e.point.y):e.point.y;o.transform=`translate(${t}${n}px, ${r}px) scale(${e.scale})`}else this.options.isRTL?o.right=`${e.point.x}px`:o.left=`${e.point.x}px`,o.top=`${e.point.y}px`;return o}_whenTransitionDone(e,t,o){const n=function(e,t){const o=(ve+=1,me+ve),n=e=>{e.currentTarget===e.target&&(he(o),t(e))};return e.addEventListener(me,n),ge[o]={element:e,listener:n},o}(e,(e=>{t(),o(null,e)}));this._transitions.push(n)}_getTransitionFunction(e){return t=>{e.item.applyCss(e.styles),this._whenTransitionDone(e.item.element,e.callback,t)}}_processQueue(){this.isTransitioning&&this._cancelMovement();const e=this.options.speed>0,t=this._queue.length>0;t&&e&&this.isInitialized?this._startTransitions(this._queue):t?(this._styleImmediately(this._queue),this._dispatch(Te.EventType.LAYOUT)):this._dispatch(Te.EventType.LAYOUT),this._queue.length=0}_startTransitions(e){this.isTransitioning=!0,function(e,t,o){o||("function"==typeof t?(o=t,t=null):o=te);var n=e&&e.length;if(!n)return o(null,[]);var r=!1,i=new Array(n);function a(e){return function(t,a){if(!r){if(t)return o(t,i),void(r=!0);i[e]=a,--n||o(null,i)}}}e.forEach(t?function(e,o){e.call(t,a(o))}:function(e,t){e(a(t))})}(e.map((e=>this._getTransitionFunction(e))),this._movementFinished.bind(this))}_cancelMovement(){this._transitions.forEach(he),this._transitions.length=0,this.isTransitioning=!1}_styleImmediately(e){if(e.length){const t=e.map((e=>e.item.element));Te._skipTransitions(t,(()=>{e.forEach((e=>{e.item.applyCss(e.styles),e.callback()}))}))}}_movementFinished(){this._transitions.length=0,this.isTransitioning=!1,this._dispatch(Te.EventType.LAYOUT)}filter(e,t){this.isEnabled&&((!e||e&&0===e.length)&&(e=Te.ALL_ITEMS),this._filter(e),this._shrink(),this._updateItemCount(),this.sort(t))}sort(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.lastSort;if(!this.isEnabled)return;this._resetCols();const t=ye(this._getFilteredItems(),e);this.sortedItems=t,this._layout(t),this._processQueue(),this._setContainerSize(),this.lastSort=e}update(){let{recalculateSizes:e=!0,force:t=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(this.isEnabled||t)&&(e&&this._setColumns(),this.sort())}layout(){this.update({recalculateSizes:!0})}add(e){const t=_e(e).map((e=>new le(e,this.options.isRTL)));this._initItems(t),this._resetCols();const o=ye(this._mergeNewItems(t),this.lastSort),n=this._filter(this.lastFilter,o),r=e=>t.includes(e),i=e=>{e.scale=le.Scale.HIDDEN,e.isHidden=!0,e.applyCss(le.Css.HIDDEN.before),e.applyCss(le.Css.HIDDEN.after)},a=this._getNextPositions(n.visible);n.visible.forEach(((e,t)=>{r(e)&&(e.point=a[t],i(e),e.applyCss(this.getStylesForTransition(e,{})))})),n.hidden.forEach((e=>{r(e)&&i(e)})),this.element.offsetWidth,this.setItemTransitions(t),this.items=this._mergeNewItems(t),this.filter(this.lastFilter)}disable(){this.isEnabled=!1}enable(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.isEnabled=!0,e&&this.update()}remove(e){if(!e.length)return;const t=_e(e),o=t.map((e=>this.getItemByElement(e))).filter((e=>!!e));this._toggleFilterClasses({visible:[],hidden:o}),this._shrink(o),this.sort(),this.items=this.items.filter((e=>!o.includes(e))),this._updateItemCount(),this.once(Te.EventType.LAYOUT,(()=>{this._disposeItems(o),t.forEach((e=>{e.parentNode.removeChild(e)})),this._dispatch(Te.EventType.REMOVED,{collection:t})}))}getItemByElement(e){return this.items.find((t=>t.element===e))}resetItems(){this._disposeItems(this.items),this.isInitialized=!1,this.items=this._getItems(),this._initItems(this.items),this.once(Te.EventType.LAYOUT,(()=>{this.setItemTransitions(this.items),this.isInitialized=!0})),this.filter(this.lastFilter)}destroy(){this._cancelMovement(),this._resizeObserver&&(this._resizeObserver.unobserve(this.element),this._resizeObserver=null),this.element.classList.remove("shuffle"),this.element.removeAttribute("style"),this._disposeItems(this.items),this.items.length=0,this.sortedItems.length=0,this._transitions.length=0,this.options.sizer=null,this.element=null,this.isDestroyed=!0,this.isEnabled=!1}static getSize(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const o=window.getComputedStyle(e,null);let n=ue(e,"width",o),r=ue(e,"height",o);return t&&(n+=ue(e,"marginLeft",o)+ue(e,"marginRight",o),r+=ue(e,"marginTop",o)+ue(e,"marginBottom",o)),{width:n,height:r}}static _skipTransitions(e,t){const o=e.map((e=>{const{style:t}=e,o=t.transitionDuration,n=t.transitionDelay;return t.transitionDuration="0ms",t.transitionDelay="0ms",{duration:o,delay:n}}));t(),e[0].offsetWidth,e.forEach(((e,t)=>{e.style.transitionDuration=o[t].duration,e.style.transitionDelay=o[t].delay}))}}Te.ShuffleItem=le,Te.ALL_ITEMS="all",Te.FILTER_ATTRIBUTE_KEY="groups",Te.EventType={LAYOUT:"shuffle:layout",REMOVED:"shuffle:removed"},Te.Classes=ie,Te.FilterMode={ANY:"any",ALL:"all"},Te.options={group:Te.ALL_ITEMS,speed:250,easing:"cubic-bezier(0.4, 0.0, 0.2, 1)",itemSelector:"*",sizer:null,gutterWidth:0,columnWidth:0,delimiter:null,buffer:0,columnThreshold:.01,initialSort:null,staggerAmount:15,staggerAmountMax:150,useTransforms:!0,filterMode:Te.FilterMode.ANY,isCentered:!1,isRTL:!1,roundTransforms:!0},Te.Point=ne,Te.Rect=re,Te.__sorter=ye,Te.__getColumnSpan=fe,Te.__getAvailablePositions=xe,Te.__getShortColumn=we,Te.__getCenteredPositions=Se;var Oe=o(2188),Ce=o(6826),ke=o(4320),Pe=o(2619);const Ne=function(e,t,o){if((0,F.isNotEmpty)(t.itemLightboxTitleTypography)&&o.push({type:"typography",id:"itemLightboxTitleTypography",selector:".gutenverse-popup-gallery.".concat(e," .images .image-list .content-image .content-description-wrapper .content-title")}),(0,F.isNotEmpty)(t.itemLightboxTitleColor)&&o.push({type:"color",id:"itemLightboxTitleColor",responsive:!1,selector:".gutenverse-popup-gallery.".concat(e," .images .image-list .content-image .content-description-wrapper .content-title"),properties:[{name:"color",valueType:"direct"}]}),(0,F.isNotEmpty)(t.itemLightboxDescriptionTypography)&&o.push({type:"typography",id:"itemLightboxDescriptionTypography",selector:".gutenverse-popup-gallery.".concat(e," .images .image-list .content-image .content-description-wrapper .content-description")}),(0,F.isNotEmpty)(t.itemLightboxDescriptionColor)&&o.push({type:"color",id:"itemLightboxDescriptionColor",responsive:!1,selector:".gutenverse-popup-gallery.".concat(e," .images .image-list .content-image .content-description-wrapper .content-description"),properties:[{name:"color",valueType:"direct"}]}),(0,F.isNotEmpty)(t.itemLightboxTextPadding)&&o.push({type:"dimension",id:"itemLightboxTextPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".gutenverse-popup-gallery.".concat(e," .images .image-list .content-image .content-description-wrapper")}),(0,F.isNotEmpty)(t.itemLightboxTextMargin)&&o.push({type:"dimension",id:"itemLightboxTextMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".gutenverse-popup-gallery.".concat(e," .images .image-list .content-image .content-description-wrapper")}),(0,F.isNotEmpty)(t.images)){var n=function(e,t){return t.map((function(t,o){var n=[];return(0,F.isNotEmpty)(t.itemLightboxTextPadding)&&n.push({type:"dimension",id:"itemLightboxTextPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".gutenverse-popup-gallery.".concat(e," .images .image-list.image-list-").concat(o," .content-image .content-description-wrapper")}),(0,F.isNotEmpty)(t.itemLightboxTextMargin)&&n.push({type:"dimension",id:"itemLightboxTextMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".gutenverse-popup-gallery.".concat(e," .images .image-list.image-list-").concat(o," .content-image .content-description-wrapper")}),(0,F.isNotEmpty)(t.itemLightboxTitleTypography)&&n.push({type:"typography",id:"itemLightboxTitleTypography",selector:".gutenverse-popup-gallery.".concat(e," .images .image-list.image-list-").concat(o," .content-image .content-description-wrapper .content-title")}),(0,F.isNotEmpty)(t.itemLightboxTitleColor)&&n.push({type:"color",id:"itemLightboxTitleColor",responsive:!1,selector:".gutenverse-popup-gallery.".concat(e," .images .image-list.image-list-").concat(o," .content-image .content-description-wrapper .content-title"),properties:[{name:"color",valueType:"direct"}]}),(0,F.isNotEmpty)(t.itemLightboxDescriptionTypography)&&n.push({type:"typography",id:"itemLightboxDescriptionTypography",selector:".gutenverse-popup-gallery.".concat(e," .images .image-list.image-list-").concat(o," .content-image .content-description-wrapper .content-description")}),(0,F.isNotEmpty)(t.itemLightboxDescriptionColor)&&n.push({type:"color",id:"itemLightboxDescriptionColor",responsive:!1,selector:".gutenverse-popup-gallery.".concat(e," .images .image-list.image-list-").concat(o," .content-image .content-description-wrapper .content-description"),properties:[{name:"color",valueType:"direct"}]}),n}))}(e,t.images);o.push({type:"repeater",id:"images",repeaterOpt:n})}return o},Ee=function(e,t){var o=[];return o=function(e,t,o){return(0,F.isNotEmpty)(t.categoryColor)&&o.push({type:"color",id:"categoryColor",selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .caption-category span"),properties:[{name:"color",valueType:"direct"}]}),(0,F.isNotEmpty)(t.categoryTypography)&&o.push({type:"typography",id:"categoryTypography",selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .caption-category span")}),(0,F.isNotEmpty)(t.categoryBackground)&&o.push({type:"background",id:"categoryBackground",selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .caption-category span")}),(0,F.isNotEmpty)(t.categoryPadding)&&o.push({type:"dimension",id:"categoryPadding",responsive:!0,selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .caption-category span"),properties:[{name:"padding",valueType:"direct"}]}),(0,F.isNotEmpty)(t.categoryMargin)&&o.push({type:"dimension",id:"categoryMargin",responsive:!0,selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .caption-category span"),properties:[{name:"margin",valueType:"direct"}]}),(0,F.isNotEmpty)(t.categoryBorderRadius)&&o.push({type:"dimension",id:"categoryBorderRadius",responsive:!0,selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .caption-category span"),properties:[{name:"border-radius",valueType:"direct",multiDimension:!1}]}),o}(e,t,o),o=function(e,t,o){return(0,F.isNotEmpty)(t.searchControlWidth)&&o.push({type:"unitPoint",id:"searchControlWidth",responsive:!0,selector:".".concat(e,".guten-gallery .search-filters-wrap"),properties:[{name:"width",valueType:"direct"}]}),(0,F.isNotEmpty)(t.fitlerSearchControlWidth)&&o.push({type:"unitPoint",id:"fitlerSearchControlWidth",responsive:!0,selector:".".concat(e,".guten-gallery .search-filters-wrap .filter-wrap"),properties:[{name:"flex-basis",valueType:"direct"}]}),(0,F.isNotEmpty)(t.fitlerSearchFormWidth)&&o.push({type:"unitPoint",id:"fitlerSearchFormWidth",responsive:!0,selector:".".concat(e,".guten-gallery .search-filters-wrap .guten-gallery-search-box"),properties:[{name:"flex-basis",valueType:"direct"}]}),(0,F.isNotEmpty)(t.filterSearchTypography)&&o.push({type:"typography",id:"filterSearchTypography",selector:".".concat(e,".guten-gallery .search-filters-wrap .filter-wrap span, .").concat(e,".guten-gallery .search-filters-wrap .filter-wrap ul.search-filter-controls li, .").concat(e,".guten-gallery .search-filters-wrap form.guten-gallery-search-box input[type=text]")}),(0,F.isNotEmpty)(t.fitlerSearchIconSpacing)&&o.push({type:"unitPoint",id:"fitlerSearchIconSpacing",responsive:!0,selector:".".concat(e,".guten-gallery .search-filter-trigger.icon-position-after i"),properties:[{name:"margin-left",valueType:"direct"}]}),(0,F.isNotEmpty)(t.fitlerSearchIconSpacing)&&o.push({type:"unitPoint",id:"fitlerSearchIconSpacing",responsive:!0,selector:".".concat(e,".guten-gallery .search-filter-trigger.icon-position-before i"),properties:[{name:"margin-right",valueType:"direct"}]}),(0,F.isNotEmpty)(t.fitlerSearchIconSize)&&o.push({type:"unitPoint",id:"fitlerSearchIconSize",responsive:!0,selector:".".concat(e,".guten-gallery .search-filter-trigger i"),properties:[{name:"font-size",valueType:"direct"}]}),(0,F.isNotEmpty)(t.filterSearchTextBackground)&&o.push({type:"color",id:"filterSearchTextBackground",responsive:!0,selector:".".concat(e,".guten-gallery .search-filters-wrap .filter-wrap button.search-filter-trigger"),properties:[{name:"background-color",valueType:"direct"}]}),(0,F.isNotEmpty)(t.filterSearchTextColor)&&o.push({type:"color",id:"filterSearchTextColor",responsive:!0,selector:".".concat(e,".guten-gallery .search-filters-wrap .filter-wrap button.search-filter-trigger"),properties:[{name:"color",valueType:"direct"}]}),(0,F.isNotEmpty)(t.filterSearchBorder)&&o.push({type:"border",id:"filterSearchBorder",selector:".".concat(e,".guten-gallery .search-filters-wrap .filter-wrap button.search-filter-trigger")}),(0,F.isNotEmpty)(t.filterSearchBorderResponsive)&&o.push({type:"borderResponsive",id:"filterSearchBorderResponsive",selector:".".concat(e,".guten-gallery .search-filters-wrap .filter-wrap button.search-filter-trigger")}),(0,F.isNotEmpty)(t.filterSearchMargin)&&o.push({type:"dimension",id:"filterSearchMargin",responsive:!0,selector:".".concat(e,".guten-gallery .search-filters-wrap .filter-wrap"),properties:[{name:"margin",valueType:"direct"}]}),(0,F.isNotEmpty)(t.filterSearchBoxShadow)&&o.push({type:"boxShadow",id:"filterSearchBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e,".guten-gallery .search-filters-wrap .filter-wrap button.search-filter-trigger")}),(0,F.isNotEmpty)(t.filterSearchSeparatorSize)&&o.push({type:"plain",id:"filterSearchSeparatorSize",responsive:!0,selector:".".concat(e,".guten-gallery .search-filters-wrap .filter-wrap button.search-filter-trigger"),properties:[{name:"border-right-width",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,F.isNotEmpty)(t.filterSearchSeparatorColor)&&o.push({type:"color",id:"filterSearchSeparatorColor",responsive:!0,selector:".".concat(e,".guten-gallery .search-filters-wrap .filter-wrap button.search-filter-trigger"),properties:[{name:"border-right-color",valueType:"direct"}]}),(0,F.isNotEmpty)(t.filterSearchFormBackground)&&o.push({type:"color",id:"filterSearchFormBackground",responsive:!0,selector:".".concat(e,".guten-gallery .search-filters-wrap .guten-gallery-search-box"),properties:[{name:"background-color",valueType:"direct"}]}),(0,F.isNotEmpty)(t.filterSearchFormTextColor)&&o.push({type:"color",responsive:!0,id:"filterSearchFormTextColor",selector:".".concat(e,".guten-gallery .search-filters-wrap form.guten-gallery-search-box input[type=text], .").concat(e,".guten-gallery .search-filters-wrap form.guten-gallery-search-box input[type=text]::placeholder"),properties:[{name:"color",valueType:"direct"}]}),(0,F.isNotEmpty)(t.filterSearchFormBorder)&&o.push({type:"border",id:"filterSearchFormBorder",selector:".".concat(e,".guten-gallery .search-filters-wrap .guten-gallery-search-box")}),(0,F.isNotEmpty)(t.filterSearchFormBorderResponsive)&&o.push({type:"borderResponsive",id:"filterSearchFormBorderResponsive",selector:".".concat(e,".guten-gallery .search-filters-wrap .guten-gallery-search-box")}),(0,F.isNotEmpty)(t.filterSearchFormBoxShadow)&&o.push({type:"boxShadow",id:"filterSearchFormBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e,".guten-gallery .search-filters-wrap .guten-gallery-search-box")}),(0,F.isNotEmpty)(t.filterSearchDropdownTextColor)&&o.push({type:"color",id:"filterSearchDropdownTextColor",responsive:!0,selector:".".concat(e,".guten-gallery .search-filters-wrap .filter-wrap ul.search-filter-controls li"),properties:[{name:"color",valueType:"direct"}]}),(0,F.isNotEmpty)(t.filterSearchDropdownTextColorHover)&&o.push({type:"color",id:"filterSearchDropdownTextColorHover",responsive:!0,selector:".".concat(e,".guten-gallery .search-filters-wrap .filter-wrap ul.search-filter-controls li:hover"),properties:[{name:"color",valueType:"direct"}]}),(0,F.isNotEmpty)(t.filterSearchDropdownBackground)&&o.push({type:"background",id:"filterSearchDropdownBackground",selector:".".concat(e,".guten-gallery .search-filters-wrap .filter-wrap ul.search-filter-controls")}),(0,F.isNotEmpty)(t.filterSearchDropdownBorder)&&o.push({type:"border",id:"filterSearchDropdownBorder",selector:".".concat(e,".guten-gallery .search-filters-wrap .filter-wrap ul.search-filter-controls")}),(0,F.isNotEmpty)(t.filterSearchDropdownBorderResponsive)&&o.push({type:"borderResponsive",id:"filterSearchDropdownBorderResponsive",selector:".".concat(e,".guten-gallery .search-filters-wrap .filter-wrap ul.search-filter-controls")}),(0,F.isNotEmpty)(t.filterSearchDropdownPadding)&&o.push({type:"dimension",id:"filterSearchDropdownPadding",responsive:!0,selector:".".concat(e,".guten-gallery .search-filters-wrap .filter-wrap ul.search-filter-controls"),properties:[{name:"padding",valueType:"direct"}]}),o}(e,t,o),o=function(e,t,o){return(0,F.isNotEmpty)(t.filterTabPadding)&&o.push({type:"dimension",id:"filterTabPadding",responsive:!0,selector:".".concat(e," .filter-controls .guten-gallery-control"),properties:[{name:"padding",valueType:"direct"}]}),(0,F.isNotEmpty)(t.filterTabMargin)&&o.push({type:"dimension",id:"filterTabMargin",responsive:!0,selector:".".concat(e," .filter-controls .guten-gallery-control"),properties:[{name:"margin",valueType:"direct"}]}),(0,F.isNotEmpty)(t.filterTabTypography)&&o.push({type:"typography",id:"filterTabTypography",selector:".".concat(e," .filter-controls .guten-gallery-control")}),(0,F.isNotEmpty)(t.filterTabTextColor)&&o.push({type:"color",id:"filterTabTextColor",responsive:!0,selector:".".concat(e," .filter-controls .guten-gallery-control"),properties:[{name:"color",valueType:"direct"}]}),(0,F.isNotEmpty)(t.filterTabTextColorActive)&&o.push({type:"color",id:"filterTabTextColorActive",responsive:!0,selector:".".concat(e," .filter-controls .guten-gallery-control.active"),properties:[{name:"color",valueType:"direct"}]}),(0,F.isNotEmpty)(t.filterTabBackground)&&o.push({type:"background",id:"filterTabBackground",selector:".".concat(e," .filter-controls .guten-gallery-control")}),(0,F.isNotEmpty)(t.filterTabBackgroundActive)&&o.push({type:"background",id:"filterTabBackgroundActive",selector:".".concat(e," .filter-controls .guten-gallery-control.active")}),(0,F.isNotEmpty)(t.filterTabBorder)&&o.push({type:"border",id:"filterTabBorder",selector:".".concat(e," .filter-controls .guten-gallery-control")}),(0,F.isNotEmpty)(t.filterTabBorderResponsive)&&o.push({type:"borderResponsive",id:"filterTabBorderResponsive",selector:".".concat(e," .filter-controls .guten-gallery-control")}),(0,F.isNotEmpty)(t.filterTabBorderActive)&&o.push({type:"border",id:"filterTabBorderActive",selector:".".concat(e," .filter-controls .guten-gallery-control.active")}),(0,F.isNotEmpty)(t.filterTabBorderResponsiveActive)&&o.push({type:"borderResponsive",id:"filterTabBorderResponsiveActive",selector:".".concat(e," .filter-controls .guten-gallery-control.active")}),(0,F.isNotEmpty)(t.filterTabBoxShadow)&&o.push({type:"boxShadow",id:"filterTabBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e," .filter-controls .guten-gallery-control")}),(0,F.isNotEmpty)(t.filterTabBoxShadowActive)&&o.push({type:"boxShadow",id:"filterTabBoxShadowActive",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e," .filter-controls .guten-gallery-control.active")}),o}(e,t,o),o=function(e,t,o){return(0,F.isNotEmpty)(t.iconWrapperMargin)&&o.push({type:"dimension",id:"iconWrapperMargin",responsive:!0,selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .item-buttons"),properties:[{name:"margin",valueType:"direct"}]}),(0,F.isNotEmpty)(t.iconBg)&&o.push({type:"color",id:"iconBg",selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-button .item-buttons .gallery-link span, .").concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .item-caption-over .item-buttons .gallery-link span"),properties:[{name:"background",valueType:"direct"}]}),(0,F.isNotEmpty)(t.iconColor)&&o.push({type:"color",id:"iconColor",selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-button .item-buttons .gallery-link span, .").concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .item-caption-over .item-buttons .gallery-link span"),properties:[{name:"color",valueType:"direct"}]}),(0,F.isNotEmpty)(t.iconSize)&&o.push({type:"plain",id:"iconSize",responsive:!0,selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-button .item-buttons .gallery-link span, .").concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .item-caption-over .item-buttons .gallery-link span"),properties:[{name:"font-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),"custom"===t.selectionIconPadding?((0,F.isNotEmpty)(t.zoomIconPadding)&&o.push({type:"dimension",id:"zoomIconPadding",responsive:!0,selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-button .item-buttons .gallery-link.zoom span, .").concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .item-caption-over .item-buttons .gallery-link.zoom span"),properties:[{name:"padding",valueType:"direct"}]}),(0,F.isNotEmpty)(t.linkIconPadding)&&o.push({type:"dimension",id:"linkIconPadding",responsive:!0,selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-button .item-buttons .gallery-link.link span, .").concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .item-caption-over .item-buttons .gallery-link.link span"),properties:[{name:"padding",valueType:"direct"}]})):"all"===t.selectionIconPadding&&(0,F.isNotEmpty)(t.iconPadding)&&o.push({type:"dimension",id:"iconPadding",responsive:!0,selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-button .item-buttons .gallery-link span, .").concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .item-caption-over .item-buttons .gallery-link span"),properties:[{name:"padding",valueType:"direct"}]}),(0,F.isNotEmpty)(t.iconBorder)&&o.push({type:"border",id:"iconBorder",selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-button .item-buttons .gallery-link span, .").concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .item-caption-over .item-buttons .gallery-link span")}),(0,F.isNotEmpty)(t.iconBorderResponsive)&&o.push({type:"borderResponsive",id:"iconBorderResponsive",selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-button .item-buttons .gallery-link span, .").concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .item-caption-over .item-buttons .gallery-link span")}),(0,F.isNotEmpty)(t.iconTextGap)&&o.push({type:"plain",id:"iconTextGap",responsive:!0,selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .gallery-link.with-text"),properties:[{name:"gap",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,F.isNotEmpty)(t.iconTextPosition)&&o.push({type:"plain",id:"iconTextPosition",responsive:!0,selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .gallery-link.with-text"),properties:[{name:"flex-direction",valueType:"direct"}]}),(0,F.isNotEmpty)(t.textZoomTypography)&&o.push({type:"typography",id:"textZoomTypography",selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .gallery-link.with-text.zoom .item-icon-text")}),(0,F.isNotEmpty)(t.textZoomColor)&&o.push({type:"color",id:"textZoomColor",responsive:!0,selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .gallery-link.with-text.zoom .item-icon-text"),properties:[{name:"color",valueType:"direct"}]}),(0,F.isNotEmpty)(t.textZoomBackground)&&o.push({type:"background",id:"textZoomBackground",selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .gallery-link.with-text.zoom .item-icon-text")}),(0,F.isNotEmpty)(t.textZoomBorder)&&o.push({type:"borderResponsive",id:"textZoomBorder",selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .gallery-link.with-text.zoom .item-icon-text")}),(0,F.isNotEmpty)(t.textZoomMargin)&&o.push({type:"dimension",id:"textZoomMargin",responsive:!0,selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .gallery-link.with-text.zoom .item-icon-text"),properties:[{name:"margin",valueType:"direct"}]}),(0,F.isNotEmpty)(t.textZoomPadding)&&o.push({type:"dimension",id:"textZoomPadding",responsive:!0,selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .gallery-link.with-text.zoom .item-icon-text"),properties:[{name:"padding",valueType:"direct"}]}),(0,F.isNotEmpty)(t.textLinkTypography)&&o.push({type:"typography",id:"textLinkTypography",selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .gallery-link.with-text.link .item-icon-text")}),(0,F.isNotEmpty)(t.textLinkColor)&&o.push({type:"color",id:"textLinkColor",responsive:!0,selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .gallery-link.with-text.link .item-icon-text"),properties:[{name:"color",valueType:"direct"}]}),(0,F.isNotEmpty)(t.textLinkBackground)&&o.push({type:"background",id:"textLinkBackground",selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .gallery-link.with-text.link .item-icon-text")}),(0,F.isNotEmpty)(t.textLinkBorder)&&o.push({type:"borderResponsive",id:"textLinkBorder",selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .gallery-link.with-text.link .item-icon-text")}),(0,F.isNotEmpty)(t.textLinkMargin)&&o.push({type:"dimension",id:"textLinkMargin",responsive:!0,selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .gallery-link.with-text.link .item-icon-text"),properties:[{name:"margin",valueType:"direct"}]}),(0,F.isNotEmpty)(t.textLinkPadding)&&o.push({type:"dimension",id:"textLinkPadding",responsive:!0,selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .gallery-link.with-text.link .item-icon-text"),properties:[{name:"padding",valueType:"direct"}]}),o}(e,t,o),o=function(e,t,o){return(0,F.isNotEmpty)(t.itemCardBackground)&&o.push({type:"background",id:"itemCardBackground",selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap.style-card")}),(0,F.isNotEmpty)(t.itemCardPadding)&&o.push({type:"dimension",id:"itemCardPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap.style-card")}),(0,F.isNotEmpty)(t.itemCardBorder)&&o.push({type:"border",id:"itemCardBorder",selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap.style-card")}),(0,F.isNotEmpty)(t.itemCardBorderResponsive)&&o.push({type:"borderResponsive",id:"itemCardBorderResponsive",selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap.style-card")}),(0,F.isNotEmpty)(t.itemCardAlign)&&o.push({type:"plain",id:"itemCardAlign",responsive:!0,properties:[{name:"text-align",valueType:"direct"}],selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap.style-card")}),(0,F.isNotEmpty)(t.itemCardTitleTypography)&&o.push({type:"typography",id:"itemCardTitleTypography",selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap.style-card .item-caption-over .item-title")}),(0,F.isNotEmpty)(t.itemCardTitleColor)&&o.push({type:"color",id:"itemCardTitleColor",selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap.style-card .item-caption-over .item-title"),properties:[{name:"color",valueType:"direct"}]}),(0,F.isNotEmpty)(t.itemCardTitleColorHover)&&o.push({type:"color",id:"itemCardTitleColorHover",selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap.style-card:hover .item-caption-over .item-title"),properties:[{name:"color",valueType:"direct"}]}),(0,F.isNotEmpty)(t.itemCardTitleMargin)&&o.push({type:"dimension",id:"itemCardTitleMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap.style-card .item-caption-over .item-title")}),(0,F.isNotEmpty)(t.itemCardTitlePadding)&&o.push({type:"dimension",id:"itemCardTitlePadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap.style-card .item-caption-over .item-title")}),(0,F.isNotEmpty)(t.itemCardContentTypography)&&o.push({type:"typography",id:"itemCardContentTypography",selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap.style-card .item-caption-over .item-content")}),(0,F.isNotEmpty)(t.itemCardContentColor)&&o.push({type:"color",id:"itemCardContentColor",selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap.style-card .item-caption-over .item-content"),properties:[{name:"color",valueType:"direct"}]}),(0,F.isNotEmpty)(t.itemCardContentColorHover)&&o.push({type:"color",id:"itemCardContentColorHover",selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap.style-card:hover .item-caption-over .item-content"),properties:[{name:"color",valueType:"direct"}]}),(0,F.isNotEmpty)(t.itemCardContentMargin)&&o.push({type:"dimension",id:"itemCardContentMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap.style-card .item-caption-over .item-content")}),(0,F.isNotEmpty)(t.itemCardContentPadding)&&o.push({type:"dimension",id:"itemCardContentPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap.style-card .item-caption-over .item-content")}),o}(e,t,o),o=function(e,t,o){return(0,F.isNotEmpty)(t.itemHoverBackground)&&o.push({type:"background",id:"itemHoverBackground",selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .thumbnail-wrap .caption-wrap .item-hover-bg")}),(0,F.isNotEmpty)(t.itemHoverOpacity)&&o.push({type:"plain",id:"itemHoverOpacity",responsive:!0,selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .thumbnail-wrap .caption-wrap .item-hover-bg"),properties:[{name:"opacity",valueType:"direct"}]}),(0,F.isNotEmpty)(t.itemHoverPadding)&&o.push({type:"dimension",id:"itemHoverPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .thumbnail-wrap .caption-wrap")}),(0,F.isNotEmpty)(t.itemHoverBorder)&&o.push({type:"border",id:"itemHoverBorder",selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .thumbnail-wrap .caption-wrap .item-hover-bg")}),(0,F.isNotEmpty)(t.itemHoverBorderResponsive)&&o.push({type:"borderResponsive",id:"itemHoverBorderResponsive",selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .thumbnail-wrap .caption-wrap .item-hover-bg")}),(0,F.isNotEmpty)(t.itemHoverAlign)&&o.push({type:"plain",id:"itemHoverAlign",responsive:!0,properties:[{name:"text-align",valueType:"direct"}],selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .thumbnail-wrap .caption-wrap")}),(0,F.isNotEmpty)(t.itemHoverTitleTypography)&&o.push({type:"typography",id:"itemHoverTitleTypography",selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap.style-overlay .item-caption-over .item-title")}),(0,F.isNotEmpty)(t.itemHoverTitleColor)&&o.push({type:"color",id:"itemHoverTitleColor",selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap.style-overlay .item-caption-over .item-title"),properties:[{name:"color",valueType:"direct"}]}),(0,F.isNotEmpty)(t.itemHoverTitleColorHover)&&o.push({type:"color",id:"itemHoverTitleColorHover",selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap.style-overlay:hover .item-caption-over .item-title"),properties:[{name:"color",valueType:"direct"}]}),(0,F.isNotEmpty)(t.itemHoverTitleMargin)&&o.push({type:"dimension",id:"itemHoverTitleMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap.style-overlay .item-caption-over .item-title")}),(0,F.isNotEmpty)(t.itemHoverTitlePadding)&&o.push({type:"dimension",id:"itemHoverTitlePadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap.style-overlay .item-caption-over .item-title")}),(0,F.isNotEmpty)(t.itemHoverContentTypography)&&o.push({type:"typography",id:"itemHoverContentTypography",selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap.style-overlay .item-caption-over .item-content")}),(0,F.isNotEmpty)(t.itemHoverContentColor)&&o.push({type:"color",id:"itemHoverContentColor",selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap.style-overlay .item-caption-over .item-content"),properties:[{name:"color",valueType:"direct"}]}),(0,F.isNotEmpty)(t.itemHoverContentColorHover)&&o.push({type:"color",id:"itemHoverContentColorHover",selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap.style-overlay:hover .item-caption-over .item-content"),properties:[{name:"color",valueType:"direct"}]}),(0,F.isNotEmpty)(t.itemHoverContentMargin)&&o.push({type:"dimension",id:"itemHoverContentMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap.style-overlay .item-caption-over .item-content")}),(0,F.isNotEmpty)(t.itemHoverContentPadding)&&o.push({type:"dimension",id:"itemHoverContentPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap.style-overlay .item-caption-over .item-content")}),o}(e,t,o),o=function(e,t,o){return(0,F.isNotEmpty)(t.itemMargin)&&o.push({type:"dimension",id:"itemMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e," .gallery-items .gallery-item-wrap .grid-item")}),(0,F.isNotEmpty)(t.itemPadding)&&o.push({type:"dimension",id:"itemPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e," .gallery-items .gallery-item-wrap .grid-item")}),(0,F.isNotEmpty)(t.itemBorder)&&o.push({type:"border",id:"itemBorder",selector:".".concat(e," .gallery-items .gallery-item-wrap .grid-item")}),(0,F.isNotEmpty)(t.itemBorderResponsive)&&o.push({type:"borderResponsive",id:"itemBorderResponsive",selector:".".concat(e," .gallery-items .gallery-item-wrap .grid-item")}),(0,F.isNotEmpty)(t.itemBoxShadow)&&o.push({type:"boxShadow",id:"itemBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e," .gallery-items .gallery-item-wrap .grid-item")}),(0,F.isNotEmpty)(t.itemBackground)&&o.push({type:"background",id:"itemBackground",selector:".".concat(e," .gallery-items .gallery-item-wrap .grid-item")}),o}(e,t,o),o=function(e,t,o){return(0,F.isNotEmpty)(t.enableLoadAlign)&&t.enableLoadMore&&o.push({type:"plain",id:"enableLoadAlign",selector:".".concat(e,".guten-gallery .load-more-items"),properties:[{name:"justify-content",valueType:"direct"}],responsive:!0}),(0,F.isNotEmpty)(t.loadMoreMarginTop)&&o.push({type:"plain",id:"loadMoreMarginTop",responsive:!0,properties:[{name:"margin-top",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}],selector:".".concat(e,".guten-gallery .load-more-items")}),(0,F.isNotEmpty)(t.loadMoreIconSize)&&o.push({type:"plain",id:"loadMoreIconSize",responsive:!0,selector:".".concat(e,".guten-gallery .load-more-items .load-more-icon"),properties:[{name:"font-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,F.isNotEmpty)(t.loadMoreIconSpacing)&&o.push({type:"plain",id:"loadMoreIconSpacing",responsive:!0,selector:".".concat(e,".guten-gallery .load-more-items .load-more-icon.icon-position-before"),properties:[{name:"margin-right",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,F.isNotEmpty)(t.loadMoreIconSpacing)&&o.push({type:"plain",id:"loadMoreIconSpacing",responsive:!0,selector:".".concat(e,".guten-gallery .load-more-items .load-more-icon.icon-position-after"),properties:[{name:"margin-left",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,F.isNotEmpty)(t.loadMoreTypography)&&o.push({type:"typography",id:"loadMoreTypography",selector:".".concat(e,".guten-gallery .load-more-items .guten-gallery-load-more")}),(0,F.isNotEmpty)(t.loadMorePadding)&&o.push({type:"dimension",id:"loadMorePadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e,".guten-gallery .load-more-items .guten-gallery-load-more")}),(0,F.isNotEmpty)(t.loadMoreBoxShadow)&&o.push({type:"boxShadow",id:"loadMoreBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e,".guten-gallery .load-more-items .guten-gallery-load-more")}),(0,F.isNotEmpty)(t.loadMoreTextColor)&&o.push({type:"color",id:"loadMoreTextColor",responsive:!0,selector:".".concat(e,".guten-gallery .load-more-items .guten-gallery-load-more"),properties:[{name:"color",valueType:"direct"}]}),(0,F.isNotEmpty)(t.loadMoreTextColorHover)&&o.push({type:"color",id:"loadMoreTextColorHover",responsive:!0,selector:".".concat(e,".guten-gallery .load-more-items .guten-gallery-load-more:hover"),properties:[{name:"color",valueType:"direct"}]}),(0,F.isNotEmpty)(t.loadMoreBackground)&&o.push({type:"background",id:"loadMoreBackground",selector:".".concat(e,".guten-gallery .load-more-items .guten-gallery-load-more")}),(0,F.isNotEmpty)(t.loadMoreBackgroundHover)&&o.push({type:"background",id:"loadMoreBackgroundHover",selector:".".concat(e,".guten-gallery .load-more-items .guten-gallery-load-more:hover")}),(0,F.isNotEmpty)(t.loadMoreBorder)&&o.push({type:"border",id:"loadMoreBorder",selector:".".concat(e,".guten-gallery .load-more-items .guten-gallery-load-more")}),(0,F.isNotEmpty)(t.loadMoreBorderResponsive)&&o.push({type:"borderResponsive",id:"loadMoreBorderResponsive",selector:".".concat(e,".guten-gallery .load-more-items .guten-gallery-load-more")}),(0,F.isNotEmpty)(t.loadMoreBorderHover)&&o.push({type:"border",id:"loadMoreBorderHover",selector:".".concat(e,".guten-gallery .load-more-items .guten-gallery-load-more:hover")}),(0,F.isNotEmpty)(t.loadMoreBorderResponsiveHover)&&o.push({type:"borderResponsive",id:"loadMoreBorderResponsiveHover",selector:".".concat(e,".guten-gallery .load-more-items .guten-gallery-load-more:hover")}),o}(e,t,o),o=function(e,t,o){return(0,F.isNotEmpty)(t.thumbnailBorder)&&o.push({type:"border",id:"thumbnailBorder",selector:".".concat(e," .gallery-items .gallery-item-wrap .thumbnail-wrap")}),(0,F.isNotEmpty)(t.thumbnailBorderResponsive)&&o.push({type:"borderResponsive",id:"thumbnailBorderResponsive",selector:".".concat(e," .gallery-items .gallery-item-wrap .thumbnail-wrap")}),o}(e,t,o),o=function(e,t,o){return"all"===t.selectionPriceRatingPadding?(0,F.isNotEmpty)(t.priceRatingPadding)&&o.push({type:"dimension",id:"priceRatingPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .caption-head .item-price, .").concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .caption-head .item-rating")}):((0,F.isNotEmpty)(t.pricePadding)&&o.push({type:"dimension",id:"pricePadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .caption-head .item-price")}),(0,F.isNotEmpty)(t.ratingPadding)&&o.push({type:"dimension",id:"ratingPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .caption-head .item-rating")})),(0,F.isNotEmpty)(t.priceMargin)&&o.push({type:"dimension",id:"priceMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .caption-head .item-price")}),(0,F.isNotEmpty)(t.ratingMargin)&&o.push({type:"dimension",id:"ratingMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .caption-head .item-rating")}),(0,F.isNotEmpty)(t.pricePositioningLeft)&&o.push({type:"unitPoint",id:"pricePositioningLeft",responsive:!0,selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .caption-head .item-price"),properties:[{name:"left",valueType:"direct"}]}),(0,F.isNotEmpty)(t.pricePositioningRight)&&o.push({type:"unitPoint",id:"pricePositioningRight",responsive:!0,selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .caption-head .item-price"),properties:[{name:"right",valueType:"direct"}]}),(0,F.isNotEmpty)(t.pricePositioningTop)&&o.push({type:"unitPoint",id:"pricePositioningTop",responsive:!0,selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .caption-head .item-price"),properties:[{name:"top",valueType:"direct"}]}),(0,F.isNotEmpty)(t.pricePositioningBottom)&&o.push({type:"unitPoint",id:"pricePositioningBottom",responsive:!0,selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .caption-head .item-price"),properties:[{name:"bottom",valueType:"direct"}]}),(0,F.isNotEmpty)(t.ratingPositioningLeft)&&o.push({type:"unitPoint",id:"ratingPositioningLeft",responsive:!0,selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .caption-head .item-rating"),properties:[{name:"left",valueType:"direct"}]}),(0,F.isNotEmpty)(t.ratingPositioningRight)&&o.push({type:"unitPoint",id:"ratingPositioningRight",responsive:!0,selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .caption-head .item-rating"),properties:[{name:"right",valueType:"direct"}]}),(0,F.isNotEmpty)(t.ratingPositioningTop)&&o.push({type:"unitPoint",id:"ratingPositioningTop",responsive:!0,selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .caption-head .item-rating"),properties:[{name:"top",valueType:"direct"}]}),(0,F.isNotEmpty)(t.ratingPositioningBottom)&&o.push({type:"unitPoint",id:"ratingPositioningBottom",responsive:!0,selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .caption-head .item-rating"),properties:[{name:"bottom",valueType:"direct"}]}),(0,F.isNotEmpty)(t.priceColor)&&o.push({type:"color",id:"priceColor",selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .caption-head .item-price"),properties:[{name:"color",valueType:"direct"}]}),(0,F.isNotEmpty)(t.priceTypography)&&o.push({type:"typography",id:"priceTypography",selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .caption-head .item-price")}),(0,F.isNotEmpty)(t.ratingColor)&&o.push({type:"color",id:"ratingColor",selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .caption-head .item-rating"),properties:[{name:"color",valueType:"direct"}]}),(0,F.isNotEmpty)(t.ratingStarColor)&&o.push({type:"color",id:"ratingStarColor",selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .caption-head .item-rating li"),properties:[{name:"color",valueType:"direct"}]}),(0,F.isNotEmpty)(t.ratingTypography)&&o.push({type:"typography",id:"ratingTypography",selector:".".concat(e,".guten-gallery .gallery-items .gallery-item-wrap .grid-item .caption-wrap .caption-head .item-rating")}),o}(e,t,o),o=function(e,t,o){return(0,F.isNotEmpty)(t.animationDuration)&&o.push({type:"plain",id:"animationDuration",selector:".".concat(e," .gallery-items .gallery-item-wrap .thumbnail-wrap .caption-wrap"),properties:[{name:"animation-duration",valueType:"pattern",pattern:"calc({value}s/1000)!important",patternValues:{value:{type:"direct"}}}]}),(0,F.isNotEmpty)(t.height)&&"grid"===t.grid&&o.push({type:"plain",id:"height",responsive:!0,selector:".".concat(e,':not([data-grid="masonry"]) .gallery-items .gallery-item-wrap .thumbnail-wrap'),properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),o}(e,t,o),o=(0,c.backgroundStyle)({attributes:t,data:o,elementId:e}),o=Ne(e,t,o),(0,F.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,F.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,F.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,F.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,F.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,F.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,F.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,F.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,F.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,F.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,F.isNotEmpty)(t.animation)&&(0,F.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,F.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,F.isNotEmpty)(t.positioningType)&&(0,F.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,F.isNotEmpty)(t.positioningWidth)&&(0,F.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,F.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,F.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,F.isNotEmpty)(t.positioningLeft)&&(0,F.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,F.isNotEmpty)(t.positioningRight)&&(0,F.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,F.isNotEmpty)(t.positioningTop)&&(0,F.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,F.isNotEmpty)(t.positioningBottom)&&(0,F.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),[].concat((0,W.A)(o),(0,W.A)((0,Pe.applyFilters)("gutenverse.gallery.blockStyle",[],{elementId:e,attributes:t})))};function De(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Be(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?De(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):De(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var Ae=(0,i.compose)(Oe.withPartialRender,Oe.withPassRef,(0,Oe.withAnimationAdvanceV2)("gallery"),Oe.withMouseMoveEffect)((function(e){var t=e.attributes,o=e.clientId,n=e.setBlockRef,i=t.elementId,p=t.images,u=t.showed,d=t.column,g=t.grid,v=t.height,h=t.layout,b=t.filter,f=t.filterType,x=t.filterAll,w=t.filterList,S=t.enableLoadMore,_=t.itemsPerLoad,j=t.enableLoadText,T=t.enableLoadIcon,O=t.enableLoadIconPosition,C=t.filterSearchIcon,k=t.filterSearchIconPosition,P=t.filterSearchFormText,N=(0,Ce.useAnimationEditor)(t),E=(0,Ce.useDisplayEditor)(t),D=(0,a.useState)(!1),B=(0,r.A)(D,2),A=B[0],H=B[1],R=(0,a.useState)(0),I=(0,r.A)(R,2),M=I[0],L=I[1],W=(0,a.useState)(!1),G=(0,r.A)(W,2),U=G[0],q=G[1],$=(0,a.useState)("All"),Y=(0,r.A)($,2),J=Y[0],Z=Y[1],K=(0,a.useState)(""),ee=(0,r.A)(K,2),te=ee[0],oe=ee[1],ne=(0,a.useState)(u),re=(0,r.A)(ne,2),ie=re[0],ae=re[1],se=(0,a.useRef)(null),le=(0,a.useRef)(null),ce=(0,a.useRef)(null),pe=(0,a.useRef)(null),ue=(0,y.getDeviceType)(),de=(0,a.useState)({showed:u,showedItems:ie,grid:g,height:v,column:d,layout:h}),ye=(0,r.A)(de,2),ge=ye[0],me=ye[1];(0,ke.useGenerateElementId)(o,i,se),(0,ke.useDynamicStyle)(i,t,Ee,se),(0,ke.useDynamicScript)(se);var ve=(0,s.useBlockProps)({className:(0,l.classnames)("guten-element","guten-gallery","no-margin",i,N,E,ue.toLowerCase(),["layout-".concat(h)],["grid-desktop-".concat(d&&d.Desktop?d.Desktop:3)],["grid-tablet-".concat(d&&d.Tablet?d.Tablet:2)],["grid-mobile-".concat(d&&d.Mobile?d.Mobile:2)]),ref:se}),he=function(e){Z(e),function(e){var t=e.toLowerCase();le.current&&le.current.filter((function(e){return function(e){return(0,l.u)(e).data("control").toLowerCase().includes(t)}(e)}))}("All"===e?"":e)},be=function(){if(se.current){var e=Array.from(se.current.querySelectorAll(".gallery-item-wrap"));ce.current&&ce.current.disconnect(),ce.current=new ResizeObserver((function(){le.current=new Te(se.current.querySelector(".gallery-items"),{itemSelector:".".concat(i," .gallery-item-wrap"),sizer:".".concat(i," .gallery-sizer-element"),speed:500})})),e.forEach((function(e){ce.current.observe(e)}))}};return(0,a.useEffect)((function(){ae(u)}),[u]),(0,a.useEffect)((function(){me(Be(Be({},ge),{},{showedItems:ie}))}),[ie]),(0,a.useEffect)((function(){return se.current&&function(e){return Promise.all(e.map((function(e){return e.complete?Promise.resolve():new Promise((function(t){return e.onload=e.onerror=t}))})))}(Array.from(se.current.querySelectorAll("img"))).then(be),function(){var e,t;null===(e=le.current)||void 0===e||e.destroy(),null===(t=ce.current)||void 0===t||t.disconnect(),le.current=null,ce.current=null}}),[ge]),(0,a.useEffect)((function(){se&&n(se)}),[se]),(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(l.CopyElementToolbar,Be({},e)),(0,m.jsx)(c.BlockPanelController,{panelList:z,props:e,elementRef:se,liveAttr:ge,setLiveAttr:me}),A&&(0,V.createPortal)((0,m.jsx)(X,Be(Be({elementId:i,currentSearch:te,currentFilter:J,activeIndex:M},t),{},{onClose:function(){return H(!1)}})),F.gutenverseRoot),(0,m.jsxs)("div",Be(Be({},ve),{},{"data-grid":g,children:[b&&("tab"===f?(0,m.jsx)("div",{className:"filter-controls",children:(0,m.jsxs)("ul",{children:[(0,m.jsx)("li",{className:"guten-gallery-control ".concat("All"===J?"active":""),"data-flag-all":!0,"data-filter":x,onClick:function(){return he("All")},children:x}),w&&w.map((function(e,t){return e.name&&(0,m.jsx)("li",{className:"guten-gallery-control ".concat(e.name===J?"active":""),"data-filter":e.name,onClick:function(){return he(e.name)},children:e.name},t)}))]})}):(0,m.jsxs)("div",{className:"search-filters-wrap",children:[(0,m.jsxs)("div",{className:"filter-wrap",children:[(0,m.jsxs)("button",{id:"search-filter-trigger","data-flag-all":"All"===J,className:"search-filter-trigger icon-position-".concat(k),onClick:function(){return q(!U)},children:["before"===k&&(0,m.jsx)("i",{"aria-hidden":"true",className:C}),(0,m.jsx)("span",{children:"All"===J?x:J}),"after"===k&&(0,m.jsx)("i",{"aria-hidden":"true",className:C})]}),(0,m.jsxs)("ul",{className:"search-filter-controls ".concat(U?"open-controls":""),children:[(0,m.jsx)("li",{className:"guten-gallery-control ".concat("All"===J?"active":""),"data-flag-all":!0,"data-filter":x,onClick:function(){return he("All")},children:x}),w&&w.map((function(e,t){return e.name&&(0,m.jsx)("li",{className:"guten-gallery-control ".concat(e.name===J?"active":""),"data-filter":e.name,onClick:function(){return he(e.name)},children:e.name},t)}))]})]}),(0,m.jsx)("form",{className:"guten-gallery-search-box",id:"guten-gallery-search-box",autoComplete:"off",onSubmit:function(e){return e.preventDefault()},children:(0,m.jsx)("input",{type:"text",id:"guten-gallery-search-box-input",name:"guten-frontend-search",placeholder:P,onChange:function(e){return function(e){var t=e.toLowerCase();oe(t),le.current&&le.current.filter((function(e){return function(e){var o=(0,l.u)(e),n=o.data("control"),r=o.find(".item-title").text(),i=o.find(".item-content").text(),a=o.find(".caption-category span").text(),s="All"===J?"":J.toLowerCase();return n.toLowerCase().includes(s)&&(r.toLowerCase().includes(t)||i.toLowerCase().includes(t)||a.toLowerCase().includes(t))}(e)}))}(e.target.value)}})})]})),(0,m.jsx)("div",{className:"gallery-items",children:p.map((function(e,o){return(0,m.jsx)("div",{className:"gallery-item-wrap ".concat(o>=ie?"item-hidden":""),"data-control":e.id,children:(0,m.jsx)(Q,Be({galleryItem:e,onZoom:function(){H(!0),L(o)}},t))},o)}))}),(0,m.jsx)("div",{className:"gallery-sizer-element",ref:pe}),S&&ie<p.length&&(0,m.jsx)("div",{className:"load-more-items",children:(0,m.jsx)("div",{className:"guten-gallery-loadmore",children:(0,m.jsxs)("a",{href:"#",className:"guten-gallery-load-more",onClick:function(e){e.preventDefault(),ae(parseInt(ie)+parseInt(_))},children:[T&&"before"===O&&(0,m.jsx)("span",{className:"load-more-icon icon-position-before","aria-hidden":"true",children:(0,m.jsx)("i",{className:T})}),(0,m.jsx)("span",{className:"load-more-text",children:j}),T&&"after"===O&&(0,m.jsx)("span",{className:"load-more-icon icon-position-after","aria-hidden":"true",children:(0,m.jsx)("i",{className:T})})]})})})]}))]})}));const He=Ae;function Re(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Ie(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Re(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Re(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var Me=(0,i.compose)((0,Oe.withAnimationAdvanceScript)("gallery"),Oe.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,r=t.images,i=t.grid,a=t.showed,c=t.column,p=t.filter,u=t.filterType,d=t.filterAll,y=t.filterList,g=t.enableLoadMore,v=t.layout,h=t.enableLoadText,b=t.enableLoadIcon,f=t.enableLoadIconPosition,x=t.filterSearchIcon,w=t.filterSearchIconPosition,S=t.filterSearchFormText,_=t.itemsPerLoad,j=t.zoomOptions,T=(0,Ce.useAnimationAdvanceData)(t),O=(0,Ce.useAnimationFrontend)(t),C=(0,Ce.useDisplayFrontend)(t),k=(0,l.classnames)("guten-element","guten-gallery",o,O,C,["layout-".concat(v)],["grid-desktop-".concat(c&&c.Desktop?c.Desktop:3)],["grid-tablet-".concat(c&&c.Tablet?c.Tablet:2)],["grid-mobile-".concat(c&&c.Mobile?c.Mobile:2)]),P=function(e){return(0,m.jsx)("img",Ie({className:"main-image",src:e.src?e.src.image:U.imagePlaceholder,alt:e.title},e.lazyLoad?{loading:"lazy"}:{}))};return(0,m.jsxs)("div",Ie(Ie({},s.useBlockProps.save(Ie({className:k},T))),{},{"data-grid":i,children:[(0,m.jsxs)("div",{className:"gutenverse-popup-gallery hidden",children:[(0,m.jsxs)("div",{className:"gallery-header",children:[(0,m.jsx)("div",{className:"left-header"}),(0,m.jsxs)("div",{className:"right-header",children:[(0,m.jsx)(l.Maximize,{className:"icon-fullscreen"}),(0,m.jsx)(l.Minimize,{className:"icon-minimize hidden"}),(0,m.jsx)(l.ZoomIn,{className:"icon-zoom"}),(0,m.jsx)(l.X,{className:"icon-close"})]})]}),(0,m.jsx)("div",{className:"gallery-body",children:(0,m.jsx)("div",{className:"images",children:(0,m.jsxs)("div",{id:o,className:"swiper-container",children:[(0,m.jsx)("div",{className:"swiper-wrapper",children:r.map((function(e,t){return(0,m.jsx)("div",{className:"swiper-slide image-list image-list-".concat(t),"data-filter":e.id,"data-title":e.title,"data-category":e.category,"data-content":e.content,"data-index":t,children:(0,m.jsxs)("div",{className:"content-image swiper-zoom-container",children:[e&&P(e),null!=e&&e.lightboxDescription?(0,m.jsxs)("div",{className:"content-description-wrapper",children:[(0,m.jsx)("h5",{className:"content-title",children:e.title}),(0,m.jsx)("div",{className:"content-description",children:(0,m.jsx)("p",{children:e.content})})]}):null]})},t)}))}),(0,m.jsx)("div",{className:"swiper-button-prev"}),(0,m.jsx)("div",{className:"swiper-button-next"})]})})})]}),p&&("tab"===u?(0,m.jsx)("div",{className:"filter-controls",children:(0,m.jsxs)("ul",{children:[(0,m.jsx)("li",{className:"guten-gallery-control active","data-flag-all":!0,"data-filter":d,children:d}),y&&y.map((function(e,t){return e.name&&(0,m.jsx)("li",{className:"guten-gallery-control","data-filter":e.name,children:e.name},t)}))]})}):(0,m.jsxs)("div",{className:"search-filters-wrap",children:[(0,m.jsxs)("div",{className:"filter-wrap",children:[(0,m.jsxs)("button",{id:"search-filter-trigger","data-flag-all":!0,className:"search-filter-trigger icon-position-".concat(w),children:["before"===w&&(0,m.jsx)("i",{"aria-hidden":"true",className:x}),(0,m.jsx)("span",{children:d}),"after"===w&&(0,m.jsx)("i",{"aria-hidden":"true",className:x})]}),(0,m.jsxs)("ul",{className:"search-filter-controls",children:[(0,m.jsx)("li",{className:"guten-gallery-control active","data-flag-all":!0,"data-filter":d,children:d}),y&&y.map((function(e,t){return e.name&&(0,m.jsx)("li",{className:"guten-gallery-control","data-filter":e.name,children:e.name},t)}))]})]}),(0,m.jsx)("form",{className:"guten-gallery-search-box",id:"guten-gallery-search-box",autoComplete:"off",onSubmit:function(e){return e.preventDefault()},children:(0,m.jsx)("input",{type:"text",id:"guten-gallery-search-box-input",name:"guten-frontend-search",placeholder:S})})]})),(0,m.jsx)("div",Ie(Ie({className:"gallery-items","data-loaded":a,"data-more":_,"data-max":r.length},(0,n.A)({},"data-zoom",j&&"item"!==j?j:void 0)),{},{children:r.map((function(e,o){return(0,m.jsx)("div",{className:"gallery-item-wrap ".concat(o>=a?"item-hidden":""),"data-index":o,"data-control":e.id,children:(0,m.jsx)(Q,Ie({galleryItem:e},t))},o)}))})),g&&a<r.length&&(0,m.jsx)("div",{className:"load-more-items",children:(0,m.jsx)("div",{className:"guten-gallery-loadmore",children:(0,m.jsxs)("a",{href:"#",className:"guten-gallery-load-more",children:[b&&"before"===f&&(0,m.jsx)("span",{className:"load-more-icon icon-position-before","aria-hidden":"true",children:(0,m.jsx)("i",{className:b})}),(0,m.jsx)("span",{className:"load-more-text",children:h}),b&&"after"===f&&(0,m.jsx)("span",{className:"load-more-icon icon-position-after","aria-hidden":"true",children:(0,m.jsx)("i",{className:b})})]})})})]}))}));const Le=Me,ze=JSON.parse('{"apiVersion":2,"name":"gutenverse/gallery","title":"Gallery","description":"Showcase your images in grid or masonry layout, with a popup and zoom option.","category":"gutenverse-element","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"mouseMoveEffect":{"type":"object","copyStyle":true},"showed":{"type":"integer","default":6},"zoomOptions":{"type":"string","default":"item"},"zoomIcon":{"type":"string","default":"fas fa-search-plus"},"zoomText":{"type":"string"},"linkIcon":{"type":"string","default":"fas fa-link"},"linkText":{"type":"string"},"filter":{"type":"boolean","default":false},"filterType":{"type":"string","default":"search"},"filterAll":{"type":"string","default":"All"},"filterList":{"type":"array","default":[]},"column":{"type":"object"},"grid":{"type":"string","default":"grid","copyStyle":true},"height":{"type":"object","copyStyle":true},"layout":{"type":"string","default":"overlay","copyStyle":true},"hover":{"type":"string","default":"fade-in","copyStyle":true},"animationDuration":{"type":"integer","default":500,"copyStyle":true},"images":{"type":"array","default":[{"id":"One","title":"One","lazyLoad":false},{"id":"Two","title":"Two","lazyLoad":false},{"id":"Three","title":"Three","lazyLoad":false},{"id":"Four","title":"Four","lazyLoad":false}]},"iconBg":{"type":"object","copyStyle":true},"iconColor":{"type":"object","copyStyle":true},"iconSize":{"type":"object","copyStyle":true},"zoomIconPadding":{"type":"object","copyStyle":true},"linkIconPadding":{"type":"object","copyStyle":true},"selectionIconPadding":{"type":"string","copyStyle":true,"default":"all"},"iconPadding":{"type":"object","copyStyle":true},"iconBorder":{"type":"object","copyStyle":true},"iconBorderResponsive":{"type":"object","migrate":{"attr":"iconBorder","type":"border"},"copyStyle":true},"itemPadding":{"type":"object","copyStyle":true},"itemMargin":{"type":"object","copyStyle":true},"itemBorder":{"type":"object","copyStyle":true},"itemBorderResponsive":{"type":"object","migrate":{"attr":"itemBorder","type":"border"},"copyStyle":true},"itemBoxShadow":{"type":"object","copyStyle":true},"itemBackground":{"type":"object","copyStyle":true},"itemHoverBackground":{"type":"object","copyStyle":true},"itemHoverOpacity":{"type":"object","copyStyle":true},"itemHoverPadding":{"type":"object","copyStyle":true},"itemHoverBorder":{"type":"object","copyStyle":true},"ItemHoverBorderResponsive":{"type":"object","migrate":{"attr":"ItemHoverBorder","type":"border"},"copyStyle":true},"itemHoverAlign":{"type":"object","copyStyle":true},"itemHoverTitleColor":{"type":"object","copyStyle":true},"itemHoverTitleColorHover":{"type":"object","copyStyle":true},"itemHoverTitleTypography":{"type":"object","copyStyle":true},"itemHoverTitleMargin":{"type":"object","copyStyle":true},"itemHoverTitlePadding":{"type":"object","copyStyle":true},"itemHoverContentColor":{"type":"object","copyStyle":true},"itemHoverContentColorHover":{"type":"object","copyStyle":true},"itemHoverContentTypography":{"type":"object","copyStyle":true},"itemHoverContentMargin":{"type":"object","copyStyle":true},"itemHoverContentPadding":{"type":"object","copyStyle":true},"itemCardBackground":{"type":"object","copyStyle":true},"itemCardPadding":{"type":"object","copyStyle":true},"itemCardBorder":{"type":"object","copyStyle":true},"itemCardBorderResponsive":{"type":"object","migrate":{"attr":"itemCardBorder","type":"border"},"copyStyle":true},"itemCardAlign":{"type":"object","copyStyle":true},"itemCardTitleColor":{"type":"object","copyStyle":true},"itemCardTitleColorHover":{"type":"object","copyStyle":true},"itemCardTitleTypography":{"type":"object","copyStyle":true},"itemCardTitleMargin":{"type":"object","copyStyle":true},"itemCardTitlePadding":{"type":"object","copyStyle":true},"itemCardContentColor":{"type":"object","copyStyle":true},"itemCardContentColorHover":{"type":"object","copyStyle":true},"itemCardContentTypography":{"type":"object","copyStyle":true},"itemCardContentMargin":{"type":"object","copyStyle":true},"itemCardContentPadding":{"type":"object","copyStyle":true},"thumbnailBorder":{"type":"object","copyStyle":true},"thumbnailBorderResponsive":{"type":"object","migrate":{"attr":"thumbnailBorder","type":"border"},"copyStyle":true},"selectionPriceRatingPadding":{"type":"string","copyStyle":true,"default":"all"},"priceRatingPadding":{"type":"object","copyStyle":true},"pricePadding":{"type":"object","copyStyle":true},"ratingPadding":{"type":"object","copyStyle":true},"priceMargin":{"type":"object","copyStyle":true},"ratingMargin":{"type":"object","copyStyle":true},"pricePosition":{"type":"object","copyStyle":true},"ratingPosition":{"type":"object","copyStyle":true},"pricePositioningLeft":{"type":"object","copyStyle":true},"pricePositioningRight":{"type":"object","copyStyle":true},"pricePositioningTop":{"type":"object","copyStyle":true},"pricePositioningBottom":{"type":"object","copyStyle":true},"ratingPositioningLeft":{"type":"object","copyStyle":true},"ratingPositioningRight":{"type":"object","copyStyle":true},"ratingPositioningTop":{"type":"object","copyStyle":true},"ratingPositioningBottom":{"type":"object","copyStyle":true},"priceColor":{"type":"object","copyStyle":true},"priceTypography":{"type":"object","copyStyle":true},"ratingColor":{"type":"object","copyStyle":true},"ratingStarColor":{"type":"object","copyStyle":true},"ratingTypography":{"type":"object","copyStyle":true},"categoryColor":{"type":"object","copyStyle":true},"categoryTypography":{"type":"object","copyStyle":true},"categoryBackground":{"type":"object","copyStyle":true},"categoryPadding":{"type":"object","copyStyle":true},"categoryMargin":{"type":"object","copyStyle":true},"categoryBorderRadius":{"type":"object","copyStyle":true},"enableLoadMore":{"type":"boolean","default":false},"itemsPerLoad":{"type":"integer","default":2},"enableLoadText":{"type":"string","default":"Load More"},"enableLoadNoMore":{"type":"string","default":"No More Item"},"enableLoadIcon":{"type":"string"},"enableLoadIconPosition":{"type":"string","default":"before","copyStyle":true},"enableLoadAlign":{"type":"object","copyStyle":true},"loadMoreMarginTop":{"type":"object","copyStyle":true},"loadMoreIconSize":{"type":"object","copyStyle":true},"loadMoreIconSpacing":{"type":"object","copyStyle":true},"loadMoreTypography":{"type":"object","copyStyle":true},"loadMorePadding":{"type":"object","copyStyle":true},"loadMoreBoxShadow":{"type":"object","copyStyle":true},"loadMoreTextColor":{"type":"object","copyStyle":true},"loadMoreTextColorHover":{"type":"object","copyStyle":true},"loadMoreBackground":{"type":"object","copyStyle":true},"loadMoreBackgroundHover":{"type":"object","copyStyle":true},"loadMoreBorder":{"type":"object","copyStyle":true},"loadMoreBorderResponsive":{"type":"object","migrate":{"attr":"loadMoreBorder","type":"border"},"copyStyle":true},"loadMoreBorderHover":{"type":"object","copyStyle":true},"loadMoreBorderHoverResponsive":{"type":"object","migrate":{"attr":"loadMoreBorderHover","type":"border"},"copyStyle":true},"filterTabPadding":{"type":"object","copyStyle":true},"filterTabMargin":{"type":"object","copyStyle":true},"filterTabTypography":{"type":"object","copyStyle":true},"filterTabTextColor":{"type":"object","copyStyle":true},"filterTabTextColorActive":{"type":"object","copyStyle":true},"filterTabBackground":{"type":"object","copyStyle":true},"filterTabBackgroundActive":{"type":"object","copyStyle":true},"filterTabBorder":{"type":"object","copyStyle":true},"filterTabBorderResponsive":{"type":"object","migrate":{"attr":"filterTabBorder","type":"border"},"copyStyle":true},"filterTabBorderActive":{"type":"object","copyStyle":true},"filterTabBorderActiveResponsive":{"type":"object","migrate":{"attr":"filterTabBorderActive","type":"border"},"copyStyle":true},"filterTabBoxShadow":{"type":"object","copyStyle":true},"filterTabBoxShadowActive":{"type":"object","copyStyle":true},"searchControlWidth":{"type":"object","copyStyle":true},"filterSearchTypography":{"type":"object","copyStyle":true},"filterSearchIcon":{"type":"string","default":"fas fa-angle-down"},"filterSearchIconPosition":{"type":"string","default":"after","copyStyle":true},"fitlerSearchIconSpacing":{"type":"object","copyStyle":true},"fitlerSearchIconSize":{"type":"object","copyStyle":true},"fitlerSearchControlWidth":{"type":"object","copyStyle":true},"filterSearchTextColor":{"type":"object","copyStyle":true},"filterSearchTextBackground":{"type":"object","copyStyle":true},"filterSearchBorder":{"type":"object","copyStyle":true},"filterSearchBorderResponsive":{"type":"object","migrate":{"attr":"filterSearchBorder","type":"border"},"copyStyle":true},"filterSearchMargin":{"type":"object","copyStyle":true},"filterSearchBoxShadow":{"type":"object","copyStyle":true},"filterSearchSeparatorSize":{"type":"object","copyStyle":true},"filterSearchSeparatorColor":{"type":"object","copyStyle":true},"filterSearchFormBackground":{"type":"object","copyStyle":true},"filterSearchFormText":{"type":"string","default":"Search Gallery Item..."},"filterSearchFormTextColor":{"type":"object","copyStyle":true},"fitlerSearchFormWidth":{"type":"object","copyStyle":true},"filterSearchFormBorder":{"type":"object","copyStyle":true},"filterSearchFormBorderResponsive":{"type":"object","migrate":{"attr":"filterSearchFormBorder","type":"border"},"copyStyle":true},"filterSearchFormBoxShadow":{"type":"object","copyStyle":true},"filterSearchDropdownTextColor":{"type":"object","copyStyle":true},"filterSearchDropdownTextColorHover":{"type":"object","copyStyle":true},"filterSearchDropdownBackground":{"type":"object","copyStyle":true},"filterSearchDropdownBorder":{"type":"object","copyStyle":true},"filterSearchDropdownBorderResponsive":{"type":"object","migrate":{"attr":"filterSearchDropdownBorder","type":"border"},"copyStyle":true},"filterSearchDropdownPadding":{"type":"object","copyStyle":true},"background":{"type":"object","default":{},"copyStyle":true},"backgroundHover":{"type":"object","default":{},"copyStyle":true},"backgroundTransition":{"type":"object","copyStyle":true,"default":{}},"border":{"type":"object","copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"borderHover":{"type":"object","copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadowHover":{"type":"object"},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"animation":{"type":"object","default":{},"copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"positioningType":{"type":"object","copyStyle":true},"positioningWidth":{"type":"object","copyStyle":true},"positioningAlign":{"type":"object","copyStyle":true},"positioningLocation":{"type":"string","copyStyle":true},"positioningLeft":{"type":"object","copyStyle":true},"positioningRight":{"type":"object","copyStyle":true},"positioningTop":{"type":"object","copyStyle":true},"positioningBottom":{"type":"object","copyStyle":true},"advanceAnimation":{"type":"object","default":{},"copyStyle":true},"transform":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"condition":{"type":"object","default":{}},"iconWrapperMargin":{"type":"object","copyStyle":true},"textZoomTypography":{"type":"object","copyStyle":true},"textZoomColor":{"type":"object","copyStyle":true},"textZoomBackground":{"type":"object","default":{},"copyStyle":true},"textZoomBorder":{"type":"object","copyStyle":true},"textZoomMargin":{"type":"object","copyStyle":true},"textZoomPadding":{"type":"object","copyStyle":true},"textLinkTypography":{"type":"object","copyStyle":true},"textLinkColor":{"type":"object","copyStyle":true},"textLinkBackground":{"type":"object","default":{},"copyStyle":true},"textLinkBorder":{"type":"object","copyStyle":true},"textLinkMargin":{"type":"object","copyStyle":true},"textLinkPadding":{"type":"object","copyStyle":true},"iconTextGap":{"type":"object","copyStyle":true},"iconTextPosition":{"type":"object","default":{"Desktop":"column"},"copyStyle":true},"itemLightboxTitleTypography":{"type":"object","default":{},"copyStyle":true},"itemLightboxTitleColor":{"type":"object","default":{},"copyStyle":true},"itemLightboxDescriptionTypography":{"type":"object","default":{},"copyStyle":true},"itemLightboxDescriptionColor":{"type":"object","default":{},"copyStyle":true},"itemLightboxTextPadding":{"type":"object","default":{},"copyStyle":true},"itemLightboxTextMargin":{"type":"object","default":{},"copyStyle":true}},"supports":{"className":false},"keywords":["gallery","image","carousel"]}');var Fe=o(4889);const Ve=function(e){var t=e.galleryItem,o=e.layout,n=e.hover,r=e.zoomIcon,i=e.linkIcon,a=e.onZoom,s=void 0===a?function(){}:a,l=e.zoomOptions,c=void 0===l?"item":l,p=function(){switch(n){case"slide-up":case"fade-in":case"zoom-in":return"animated ".concat(n);default:return""}},u=function(e){for(var t=[],o=0,n=0;n<2*e;n++)n%2==0?(t.push(1),o++):t[o-1]++;return t.map((function(e,t){return 2===e?(0,m.jsx)("li",{children:(0,m.jsx)("i",{className:"fas fa-star"})},t):(0,m.jsx)("li",{children:(0,m.jsx)("i",{className:"fas fa-star-half"})},t)}))},d=function(){return t.lazyLoad?(0,m.jsx)("img",{src:(0,y.getImageSrc)(t.src),alt:t.title,loading:"lazy"}):(0,m.jsx)("img",{src:(0,y.getImageSrc)(t.src),alt:t.title})};return"overlay"===o?(0,m.jsx)("div",{className:"grid-item",children:(0,m.jsxs)("div",{className:"thumbnail-wrap",children:[d(),(0,m.jsx)("div",{className:"caption-wrap style-overlay overlay-overlay ".concat(p()),onClick:"item"===c&&s,children:!t.disableLightbox&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("div",{className:"item-hover-bg"}),(0,m.jsxs)("div",{className:"item-caption-over",children:[(0,m.jsx)("h5",{className:"item-title",children:t.title}),(0,m.jsx)("div",{className:"item-content",children:t.content}),(0,m.jsxs)("div",{className:"item-buttons",children:["disable"!==c&&(0,m.jsx)("div",{className:"gallery-link zoom",children:(0,m.jsx)("span",{className:"item-icon-inner",onClick:s,children:(0,m.jsx)("i",{className:r,"aria-hidden":"true"})})}),!t.disableLink&&i&&(0,m.jsx)("a",{href:t.link?t.link:"",className:"gallery-link link",onClick:function(e){return e.preventDefault()},children:(0,m.jsx)("span",{className:"item-icon-inner",children:(0,m.jsx)("i",{className:i,"aria-hidden":"true"})})})]})]}),(0,m.jsxs)("div",{className:"caption-head",children:[t.showPrice&&(0,m.jsx)("div",{className:"item-price",children:t.price}),t.showRating&&(0,m.jsxs)("div",{className:"item-rating",children:[u(t.ratingNumber),(0,m.jsx)("span",{children:t.ratingNumber})]})]}),t.showCategory&&t.printLabelCategory&&(0,m.jsx)("div",{className:"caption-category",children:(0,m.jsx)("span",{children:t.category})})]})})]})}):(0,m.jsxs)("div",{className:"grid-item",children:[(0,m.jsxs)("div",{className:"thumbnail-wrap",children:[d(),(0,m.jsx)("div",{className:"caption-wrap search-hover-bg style-overlay ".concat(p()),children:!t.disableLightbox&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("div",{className:"item-hover-bg"}),(0,m.jsxs)("div",{className:"caption-head",children:[t.showPrice&&(0,m.jsx)("div",{className:"item-price",children:t.price}),t.showRating&&(0,m.jsxs)("div",{className:"item-rating",children:[u(t.ratingNumber),(0,m.jsx)("span",{children:t.ratingNumber})]})]}),(0,m.jsx)("div",{className:"caption-button",children:(0,m.jsxs)("div",{className:"item-buttons",children:["disable"!==c&&(0,m.jsx)("div",{className:"gallery-link zoom",children:(0,m.jsx)("span",{className:"item-icon-inner",onClick:s,children:(0,m.jsx)("i",{className:r,"aria-hidden":"true"})})}),!t.disableLink&&i&&(0,m.jsx)("a",{href:t.link?t.link:"",className:"gallery-link link",children:(0,m.jsx)("span",{className:"item-icon-inner",children:(0,m.jsx)("i",{className:i,"aria-hidden":"true"})})})]})}),t.showCategory&&(0,m.jsx)("div",{className:"caption-category",children:(0,m.jsx)("span",{children:t.category})})]})})]}),(0,m.jsx)("div",{className:"caption-wrap style-card",children:(0,m.jsxs)("div",{className:"item-caption-over",children:[(0,m.jsx)("h5",{className:"item-title",children:t.title}),(0,m.jsx)("div",{className:"item-content",children:(0,m.jsx)("p",{children:t.content})})]})})]})};function We(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Ge(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?We(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):We(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var Ue=(0,i.compose)((0,Oe.withAnimationAdvanceScript)("gallery"),Oe.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,r=t.images,i=t.grid,a=t.showed,s=t.column,c=t.filter,p=t.filterType,u=t.filterAll,d=t.filterList,y=t.enableLoadMore,g=t.layout,v=t.enableLoadText,h=t.enableLoadIcon,b=t.enableLoadIconPosition,f=t.filterSearchIcon,x=t.filterSearchIconPosition,w=t.filterSearchFormText,S=t.itemsPerLoad,_=t.zoomOptions,j=(0,Ce.useAnimationAdvanceData)(t),T=(0,Ce.useAnimationFrontend)(t),O=(0,Ce.useDisplayFrontend)(t),C=(0,l.classnames)("guten-element","guten-gallery",o,T,O,["layout-".concat(g)],["grid-desktop-".concat(s&&s.Desktop?s.Desktop:3)],["grid-tablet-".concat(s&&s.Tablet?s.Tablet:2)],["grid-mobile-".concat(s&&s.Mobile?s.Mobile:2)]),k=function(e){return e.lazyLoad?(0,m.jsx)("img",{className:"main-image",src:e.src?e.src.image:U.oldImagePlaceholder,alt:e.title,loading:"lazy"}):(0,m.jsx)("img",{className:"main-image",src:e.src?e.src.image:U.oldImagePlaceholder,alt:e.title})};return(0,m.jsxs)("div",Ge(Ge({className:C},j),{},{"data-grid":i,children:[(0,m.jsxs)("div",{className:"gutenverse-popup-gallery hidden",children:[(0,m.jsxs)("div",{className:"gallery-header",children:[(0,m.jsx)("div",{className:"left-header"}),(0,m.jsxs)("div",{className:"right-header",children:[(0,m.jsx)(l.Maximize,{className:"icon-fullscreen"}),(0,m.jsx)(l.Minimize,{className:"icon-minimize hidden"}),(0,m.jsx)(l.ZoomIn,{className:"icon-zoom"}),(0,m.jsx)(l.X,{className:"icon-close"})]})]}),(0,m.jsx)("div",{className:"gallery-body",children:(0,m.jsx)("div",{className:"images",children:(0,m.jsxs)("div",{id:o,className:"swiper-container",children:[(0,m.jsx)("div",{className:"swiper-wrapper",children:r.map((function(e,t){return(0,m.jsx)("div",{className:"swiper-slide image-list",children:(0,m.jsx)("div",{className:"content-image swiper-zoom-container",children:e&&k(e)})},t)}))}),(0,m.jsx)("div",{className:"swiper-button-prev"}),(0,m.jsx)("div",{className:"swiper-button-next"})]})})})]}),c&&("tab"===p?(0,m.jsx)("div",{className:"filter-controls",children:(0,m.jsxs)("ul",{children:[(0,m.jsx)("li",{className:"guten-gallery-control active",children:u}),d&&d.map((function(e,t){return e.name&&(0,m.jsx)("li",{className:"guten-gallery-control","data-filter":e.name,children:e.name},t)}))]})}):(0,m.jsxs)("div",{className:"search-filters-wrap",children:[(0,m.jsxs)("div",{className:"filter-wrap",children:[(0,m.jsxs)("button",{id:"search-filter-trigger",className:"search-filter-trigger icon-position-".concat(x),children:["before"===x&&(0,m.jsx)("i",{"aria-hidden":"true",className:f}),(0,m.jsx)("span",{children:u}),"after"===x&&(0,m.jsx)("i",{"aria-hidden":"true",className:f})]}),(0,m.jsxs)("ul",{className:"search-filter-controls",children:[(0,m.jsx)("li",{className:"guten-gallery-control active",children:u}),d&&d.map((function(e,t){return e.name&&(0,m.jsx)("li",{className:"guten-gallery-control","data-filter":e.name,children:e.name},t)}))]})]}),(0,m.jsx)("form",{className:"guten-gallery-search-box",id:"guten-gallery-search-box",autoComplete:"off",onSubmit:function(e){return e.preventDefault()},children:(0,m.jsx)("input",{type:"text",id:"guten-gallery-search-box-input",name:"guten-frontend-search",placeholder:w})})]})),(0,m.jsx)("div",Ge(Ge({className:"gallery-items","data-loaded":a,"data-more":S,"data-max":r.length},(0,n.A)({},"data-zoom",_&&"item"!==_?_:void 0)),{},{children:r.map((function(e,o){return(0,m.jsx)("div",{className:"gallery-item-wrap ".concat(o>=a?"item-hidden":""),"data-index":o,"data-control":e.id,children:(0,m.jsx)(Ve,Ge({galleryItem:e},t))},o)}))})),y&&a<r.length&&(0,m.jsx)("div",{className:"load-more-items",children:(0,m.jsx)("div",{className:"guten-gallery-loadmore",children:(0,m.jsxs)("a",{href:"#",className:"guten-gallery-load-more",children:[h&&"before"===b&&(0,m.jsx)("span",{className:"load-more-icon icon-position-before","aria-hidden":"true",children:(0,m.jsx)("i",{className:h})}),(0,m.jsx)("span",{className:"load-more-text",children:v}),h&&"after"===b&&(0,m.jsx)("span",{className:"load-more-icon icon-position-after","aria-hidden":"true",children:(0,m.jsx)("i",{className:h})})]})})})]}))}));const qe=Ue,$e=function(e){var t=e.galleryItem,o=e.layout,n=e.hover,r=e.zoomIcon,i=e.linkIcon,a=e.onZoom,s=void 0===a?function(){}:a,l=e.zoomOptions,c=void 0===l?"item":l,p=function(){switch(n){case"slide-up":case"fade-in":case"zoom-in":return"animated ".concat(n);default:return""}},u=function(e){return e&&e.image?e.image:U.oldImagePlaceholder},d=function(e){for(var t=[],o=0,n=0;n<2*e;n++)n%2==0?(t.push(1),o++):t[o-1]++;return t.map((function(e,t){return 2===e?(0,m.jsx)("li",{children:(0,m.jsx)("i",{className:"fas fa-star"})},t):(0,m.jsx)("li",{children:(0,m.jsx)("i",{className:"fas fa-star-half"})},t)}))},y=function(){return t.lazyLoad?(0,m.jsx)("img",{src:u(t.src),loading:"lazy"}):(0,m.jsx)("img",{src:u(t.src)})};return"overlay"===o?(0,m.jsx)("div",{className:"grid-item",children:(0,m.jsxs)("div",{className:"thumbnail-wrap",children:[y(),(0,m.jsx)("div",{className:"caption-wrap style-overlay overlay-overlay ".concat(p()),onClick:"item"===c&&s,children:!t.disableLightbox&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("div",{className:"item-hover-bg"}),(0,m.jsxs)("div",{className:"item-caption-over",children:[(0,m.jsx)("h5",{className:"item-title",children:t.title}),(0,m.jsx)("div",{className:"item-content",children:t.content}),(0,m.jsxs)("div",{className:"item-buttons",children:["disable"!==c&&(0,m.jsx)("div",{className:"gallery-link zoom",children:(0,m.jsx)("span",{className:"item-icon-inner",onClick:s,children:(0,m.jsx)("i",{className:r,"aria-hidden":"true"})})}),!t.disableLink&&(0,m.jsx)("a",{href:t.link?t.link:"",className:"gallery-link link",onClick:function(e){return e.preventDefault()},children:(0,m.jsx)("span",{className:"item-icon-inner",children:(0,m.jsx)("i",{className:i,"aria-hidden":"true"})})})]})]}),(0,m.jsxs)("div",{className:"caption-head",children:[t.showPrice&&(0,m.jsx)("div",{className:"item-price",children:t.price}),t.showRating&&(0,m.jsxs)("div",{className:"item-rating",children:[d(t.ratingNumber),(0,m.jsx)("span",{children:t.ratingNumber})]})]}),t.showCategory&&(0,m.jsx)("div",{className:"caption-category",children:(0,m.jsx)("span",{children:t.category})})]})})]})}):(0,m.jsxs)("div",{className:"grid-item",children:[(0,m.jsxs)("div",{className:"thumbnail-wrap",children:[y(),(0,m.jsx)("div",{className:"caption-wrap search-hover-bg style-overlay ".concat(p()),children:!t.disableLightbox&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("div",{className:"item-hover-bg"}),(0,m.jsxs)("div",{className:"caption-head",children:[t.showPrice&&(0,m.jsx)("div",{className:"item-price",children:t.price}),t.showRating&&(0,m.jsxs)("div",{className:"item-rating",children:[d(t.ratingNumber),(0,m.jsx)("span",{children:t.ratingNumber})]})]}),(0,m.jsx)("div",{className:"caption-button",children:(0,m.jsxs)("div",{className:"item-buttons",children:["disable"!==c&&(0,m.jsx)("div",{className:"gallery-link zoom",children:(0,m.jsx)("span",{className:"item-icon-inner",onClick:s,children:(0,m.jsx)("i",{className:r,"aria-hidden":"true"})})}),!t.disableLink&&i&&(0,m.jsx)("a",{href:t.link?t.link:"",className:"gallery-link link",children:(0,m.jsx)("span",{className:"item-icon-inner",children:(0,m.jsx)("i",{className:i,"aria-hidden":"true"})})})]})}),t.showCategory&&(0,m.jsx)("div",{className:"caption-category",children:(0,m.jsx)("span",{children:t.category})})]})})]}),(0,m.jsx)("div",{className:"caption-wrap style-card",children:(0,m.jsxs)("div",{className:"item-caption-over",children:[(0,m.jsx)("h5",{className:"item-title",children:t.title}),(0,m.jsx)("div",{className:"item-content",children:(0,m.jsx)("p",{children:t.content})})]})})]})};function Ye(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Xe(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ye(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ye(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var Je=(0,i.compose)((0,Oe.withAnimationAdvanceScript)("gallery"),Oe.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,r=t.images,i=t.grid,a=t.showed,s=t.column,c=t.filter,p=t.filterType,u=t.filterAll,d=t.filterList,y=t.enableLoadMore,g=t.layout,v=t.enableLoadText,h=t.enableLoadIcon,b=t.enableLoadIconPosition,f=t.filterSearchIcon,x=t.filterSearchIconPosition,w=t.filterSearchFormText,S=t.itemsPerLoad,_=t.zoomOptions,j=(0,Ce.useAnimationAdvanceData)(t),T=(0,Ce.useAnimationFrontend)(t),O=(0,Ce.useDisplayFrontend)(t),C=(0,l.classnames)("guten-element","guten-gallery",o,T,O,["layout-".concat(g)],["grid-desktop-".concat(s&&s.Desktop?s.Desktop:3)],["grid-tablet-".concat(s&&s.Tablet?s.Tablet:2)],["grid-mobile-".concat(s&&s.Mobile?s.Mobile:2)]),k=function(e){return e.lazyLoad?(0,m.jsx)("img",{className:"main-image",src:e.src?e.src.image:U.oldImagePlaceholder,loading:"lazy"}):(0,m.jsx)("img",{className:"main-image",src:e.src?e.src.image:U.oldImagePlaceholder})};return(0,m.jsxs)("div",Xe(Xe({className:C},j),{},{"data-grid":i,children:[(0,m.jsxs)("div",{className:"gutenverse-popup-gallery hidden",children:[(0,m.jsxs)("div",{className:"gallery-header",children:[(0,m.jsx)("div",{className:"left-header"}),(0,m.jsxs)("div",{className:"right-header",children:[(0,m.jsx)(l.Maximize,{className:"icon-fullscreen"}),(0,m.jsx)(l.Minimize,{className:"icon-minimize hidden"}),(0,m.jsx)(l.ZoomIn,{className:"icon-zoom"}),(0,m.jsx)(l.X,{className:"icon-close"})]})]}),(0,m.jsx)("div",{className:"gallery-body",children:(0,m.jsx)("div",{className:"images",children:(0,m.jsxs)("div",{id:o,className:"swiper-container",children:[(0,m.jsx)("div",{className:"swiper-wrapper",children:r.map((function(e,t){return(0,m.jsx)("div",{className:"swiper-slide image-list",children:(0,m.jsx)("div",{className:"content-image swiper-zoom-container",children:e&&k(e)})},t)}))}),(0,m.jsx)("div",{className:"swiper-button-prev"}),(0,m.jsx)("div",{className:"swiper-button-next"})]})})})]}),c&&("tab"===p?(0,m.jsx)("div",{className:"filter-controls",children:(0,m.jsxs)("ul",{children:[(0,m.jsx)("li",{className:"guten-gallery-control active",children:u}),d&&d.map((function(e,t){return e.name&&(0,m.jsx)("li",{className:"guten-gallery-control","data-filter":e.name,children:e.name},t)}))]})}):(0,m.jsxs)("div",{className:"search-filters-wrap",children:[(0,m.jsxs)("div",{className:"filter-wrap",children:[(0,m.jsxs)("button",{id:"search-filter-trigger",className:"search-filter-trigger icon-position-".concat(x),children:["before"===x&&(0,m.jsx)("i",{"aria-hidden":"true",className:f}),(0,m.jsx)("span",{children:u}),"after"===x&&(0,m.jsx)("i",{"aria-hidden":"true",className:f})]}),(0,m.jsxs)("ul",{className:"search-filter-controls",children:[(0,m.jsx)("li",{className:"guten-gallery-control active",children:u}),d&&d.map((function(e,t){return e.name&&(0,m.jsx)("li",{className:"guten-gallery-control","data-filter":e.name,children:e.name},t)}))]})]}),(0,m.jsx)("form",{className:"guten-gallery-search-box",id:"guten-gallery-search-box",autoComplete:"off",onSubmit:function(e){return e.preventDefault()},children:(0,m.jsx)("input",{type:"text",id:"guten-gallery-search-box-input",name:"guten-frontend-search",placeholder:w})})]})),(0,m.jsx)("div",Xe(Xe({className:"gallery-items","data-loaded":a,"data-more":S,"data-max":r.length},(0,n.A)({},"data-zoom",_&&"item"!==_?_:void 0)),{},{children:r.map((function(e,o){return(0,m.jsx)("div",{className:"gallery-item-wrap ".concat(o>=a?"item-hidden":""),"data-index":o,"data-control":e.id,children:(0,m.jsx)($e,Xe({galleryItem:e},t))},o)}))})),y&&a<r.length&&(0,m.jsx)("div",{className:"load-more-items",children:(0,m.jsx)("div",{className:"guten-gallery-loadmore",children:(0,m.jsxs)("a",{href:"#",className:"guten-gallery-load-more",children:[h&&"before"===b&&(0,m.jsx)("span",{className:"load-more-icon icon-position-before","aria-hidden":"true",children:(0,m.jsx)("i",{className:h})}),(0,m.jsx)("span",{className:"load-more-text",children:v}),h&&"after"===b&&(0,m.jsx)("span",{className:"load-more-icon icon-position-after","aria-hidden":"true",children:(0,m.jsx)("i",{className:h})})]})})})]}))}));const Qe=Je,Ze=function(e){var t=e.galleryItem,o=e.layout,n=e.hover,r=e.zoomIcon,i=e.linkIcon,a=e.onZoom,s=void 0===a?function(){}:a,l=e.zoomOptions,c=void 0===l?"item":l,p=function(){switch(n){case"slide-up":case"fade-in":case"zoom-in":return"animated ".concat(n);default:return""}},u=function(e){for(var t=[],o=0,n=0;n<2*e;n++)n%2==0?(t.push(1),o++):t[o-1]++;return t.map((function(e,t){return 2===e?(0,m.jsx)("li",{children:(0,m.jsx)("i",{className:"fas fa-star"})},t):(0,m.jsx)("li",{children:(0,m.jsx)("i",{className:"fas fa-star-half"})},t)}))},d=function(){return t.lazyLoad?(0,m.jsx)("img",{src:(0,y.getImageSrc)(t.src),alt:t.title,loading:"lazy"}):(0,m.jsx)("img",{src:(0,y.getImageSrc)(t.src),alt:t.title})};return"overlay"===o?(0,m.jsx)("div",{className:"grid-item",children:(0,m.jsxs)("div",{className:"thumbnail-wrap",children:[d(),(0,m.jsx)("div",{className:"caption-wrap style-overlay overlay-overlay ".concat(p()),onClick:"item"===c&&s,children:!t.disableLightbox&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("div",{className:"item-hover-bg"}),(0,m.jsxs)("div",{className:"item-caption-over",children:[(0,m.jsx)("h5",{className:"item-title",children:t.title}),(0,m.jsx)("div",{className:"item-content",children:t.content}),(0,m.jsxs)("div",{className:"item-buttons",children:["disable"!==c&&r&&(0,m.jsx)("div",{className:"gallery-link zoom",children:(0,m.jsx)("span",{className:"item-icon-inner",onClick:s,children:(0,m.jsx)("i",{className:r,"aria-hidden":"true"})})}),!t.disableLink&&i&&(0,m.jsx)("a",{href:t.link?t.link:"",className:"gallery-link link",onClick:function(e){return e.preventDefault()},children:(0,m.jsx)("span",{className:"item-icon-inner",children:(0,m.jsx)("i",{className:i,"aria-hidden":"true"})})})]})]}),(0,m.jsxs)("div",{className:"caption-head",children:[t.showPrice&&(0,m.jsx)("div",{className:"item-price",children:t.price}),t.showRating&&(0,m.jsxs)("div",{className:"item-rating",children:[u(t.ratingNumber),(0,m.jsx)("span",{children:t.ratingNumber})]})]}),t.showCategory&&(0,m.jsx)("div",{className:"caption-category",children:(0,m.jsx)("span",{children:t.category})})]})})]})}):(0,m.jsxs)("div",{className:"grid-item",children:[(0,m.jsxs)("div",{className:"thumbnail-wrap",children:[d(),(0,m.jsx)("div",{className:"caption-wrap search-hover-bg style-overlay ".concat(p()),children:!t.disableLightbox&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("div",{className:"item-hover-bg"}),(0,m.jsxs)("div",{className:"caption-head",children:[t.showPrice&&(0,m.jsx)("div",{className:"item-price",children:t.price}),t.showRating&&(0,m.jsxs)("div",{className:"item-rating",children:[u(t.ratingNumber),(0,m.jsx)("span",{children:t.ratingNumber})]})]}),(0,m.jsx)("div",{className:"caption-button",children:(0,m.jsxs)("div",{className:"item-buttons",children:["disable"!==c&&(0,m.jsx)("div",{className:"gallery-link zoom",children:(0,m.jsx)("span",{className:"item-icon-inner",onClick:s,children:(0,m.jsx)("i",{className:r,"aria-hidden":"true"})})}),!t.disableLink&&i&&(0,m.jsx)("a",{href:t.link?t.link:"",className:"gallery-link link",children:(0,m.jsx)("span",{className:"item-icon-inner",children:(0,m.jsx)("i",{className:i,"aria-hidden":"true"})})})]})}),t.showCategory&&(0,m.jsx)("div",{className:"caption-category",children:(0,m.jsx)("span",{children:t.category})})]})})]}),(0,m.jsx)("div",{className:"caption-wrap style-card",children:(0,m.jsxs)("div",{className:"item-caption-over",children:[(0,m.jsx)("h5",{className:"item-title",children:t.title}),(0,m.jsx)("div",{className:"item-content",children:(0,m.jsx)("p",{children:t.content})})]})})]})};function Ke(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function et(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ke(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ke(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var tt=(0,i.compose)((0,Oe.withAnimationAdvanceScript)("gallery"),Oe.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,r=t.images,i=t.grid,a=t.showed,s=t.column,c=t.filter,p=t.filterType,u=t.filterAll,d=t.filterList,y=t.enableLoadMore,g=t.layout,v=t.enableLoadText,h=t.enableLoadIcon,b=t.enableLoadIconPosition,f=t.filterSearchIcon,x=t.filterSearchIconPosition,w=t.filterSearchFormText,S=t.itemsPerLoad,_=t.zoomOptions,j=(0,Ce.useAnimationAdvanceData)(t),T=(0,Ce.useAnimationFrontend)(t),O=(0,Ce.useDisplayFrontend)(t),C=(0,l.classnames)("guten-element","guten-gallery",o,T,O,["layout-".concat(g)],["grid-desktop-".concat(s&&s.Desktop?s.Desktop:3)],["grid-tablet-".concat(s&&s.Tablet?s.Tablet:2)],["grid-mobile-".concat(s&&s.Mobile?s.Mobile:2)]),k=function(e){return e.lazyLoad?(0,m.jsx)("img",{className:"main-image",src:e.src?e.src.image:U.imagePlaceholder,loading:"lazy"}):(0,m.jsx)("img",{className:"main-image",src:e.src?e.src.image:U.imagePlaceholder})};return(0,m.jsxs)("div",et(et({className:C},j),{},{"data-grid":i,children:[(0,m.jsxs)("div",{className:"gutenverse-popup-gallery hidden",children:[(0,m.jsxs)("div",{className:"gallery-header",children:[(0,m.jsx)("div",{className:"left-header"}),(0,m.jsxs)("div",{className:"right-header",children:[(0,m.jsx)(l.Maximize,{className:"icon-fullscreen"}),(0,m.jsx)(l.Minimize,{className:"icon-minimize hidden"}),(0,m.jsx)(l.ZoomIn,{className:"icon-zoom"}),(0,m.jsx)(l.X,{className:"icon-close"})]})]}),(0,m.jsx)("div",{className:"gallery-body",children:(0,m.jsx)("div",{className:"images",children:(0,m.jsxs)("div",{id:o,className:"swiper-container",children:[(0,m.jsx)("div",{className:"swiper-wrapper",children:r.map((function(e,t){return(0,m.jsx)("div",{className:"swiper-slide image-list",children:(0,m.jsx)("div",{className:"content-image swiper-zoom-container",children:e&&k(e)})},t)}))}),(0,m.jsx)("div",{className:"swiper-button-prev"}),(0,m.jsx)("div",{className:"swiper-button-next"})]})})})]}),c&&("tab"===p?(0,m.jsx)("div",{className:"filter-controls",children:(0,m.jsxs)("ul",{children:[(0,m.jsx)("li",{className:"guten-gallery-control active",children:u}),d&&d.map((function(e,t){return e.name&&(0,m.jsx)("li",{className:"guten-gallery-control","data-filter":e.name,children:e.name},t)}))]})}):(0,m.jsxs)("div",{className:"search-filters-wrap",children:[(0,m.jsxs)("div",{className:"filter-wrap",children:[(0,m.jsxs)("button",{id:"search-filter-trigger",className:"search-filter-trigger icon-position-".concat(x),children:["before"===x&&(0,m.jsx)("i",{"aria-hidden":"true",className:f}),(0,m.jsx)("span",{children:u}),"after"===x&&(0,m.jsx)("i",{"aria-hidden":"true",className:f})]}),(0,m.jsxs)("ul",{className:"search-filter-controls",children:[(0,m.jsx)("li",{className:"guten-gallery-control active",children:u}),d&&d.map((function(e,t){return e.name&&(0,m.jsx)("li",{className:"guten-gallery-control","data-filter":e.name,children:e.name},t)}))]})]}),(0,m.jsx)("form",{className:"guten-gallery-search-box",id:"guten-gallery-search-box",autoComplete:"off",onSubmit:function(e){return e.preventDefault()},children:(0,m.jsx)("input",{type:"text",id:"guten-gallery-search-box-input",name:"guten-frontend-search",placeholder:w})})]})),(0,m.jsx)("div",et(et({className:"gallery-items","data-loaded":a,"data-more":S,"data-max":r.length},(0,n.A)({},"data-zoom",_&&"item"!==_?_:void 0)),{},{children:r.map((function(e,o){return(0,m.jsx)("div",{className:"gallery-item-wrap ".concat(o>=a?"item-hidden":""),"data-index":o,"data-control":e.id,children:(0,m.jsx)(Ze,et({galleryItem:e},t))},o)}))})),y&&a<r.length&&(0,m.jsx)("div",{className:"load-more-items",children:(0,m.jsx)("div",{className:"guten-gallery-loadmore",children:(0,m.jsxs)("a",{href:"#",className:"guten-gallery-load-more",children:[h&&"before"===b&&(0,m.jsx)("span",{className:"load-more-icon icon-position-before","aria-hidden":"true",children:(0,m.jsx)("i",{className:h})}),(0,m.jsx)("span",{className:"load-more-text",children:v}),h&&"after"===b&&(0,m.jsx)("span",{className:"load-more-icon icon-position-after","aria-hidden":"true",children:(0,m.jsx)("i",{className:h})})]})})})]}))}));const ot=tt;function nt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function rt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?nt(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):nt(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var it=ze.name,at=ze.attributes,st={icon:(0,m.jsx)(Fe.uG,{}),example:{attributes:{images:[{id:"One",src:{image:"https://picsum.photos/id/1/800/800"}},{id:"Two",src:{image:"https://picsum.photos/id/10/800/800"}},{id:"Three",src:{image:"https://picsum.photos/id/1006/800/800"}},{id:"Four",src:{image:"https://picsum.photos/id/1011/800/800"}},{id:"Five",src:{image:"https://picsum.photos/id/1025/800/800"}},{id:"Five",src:{image:"https://picsum.photos/id/1016/800/800"}}],height:{Desktop:150}}},edit:He,save:Le,deprecated:[{attributes:rt(rt({},at),{},{showed:{type:"int",default:6,deprecated:!0},animationDuration:{type:"int",default:500,copyStyle:!0,deprecated:!0},itemsPerLoad:{type:"int",deprecated:!0}}),migrate:function(e){var t=e.showed;return[rt(rt({},e),{},{showed:parseInt(t)})]},save:qe},{attributes:rt(rt({},at),{},{showed:{type:"int",default:6,deprecated:!0},animationDuration:{type:"int",default:500,copyStyle:!0,deprecated:!0},itemsPerLoad:{type:"int",deprecated:!0},images:{type:"array",default:[{id:"Two"},{id:"Three"},{id:"Four"},{id:"Five"}],deprecated:!0}}),save:Qe},{attributes:rt(rt({},at),{},{showed:{type:"int",default:6,deprecated:!0},animationDuration:{type:"int",default:500,copyStyle:!0,deprecated:!0},itemsPerLoad:{type:"int",deprecated:!0}}),save:ot}]}},8710:(e,t,o)=>{var n=o(1330),r=o(9358);e.exports=function(e){return null!=e&&r(e.length)&&!n(e)}},8728:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>R,name:()=>M,settings:()=>L});var n=o(6065),r=o(9491),i=o(4715),a=o(3482),s=o(7723),l=o(596),c=o(790),p=function(e){var t=e.setAttributes,o=e.elementId,n=e.showText,r=e.shape;return[{id:"alignment",label:(0,s.__)("Alignment","gutenverse"),component:l.IconRadioControl,allowDeviceControl:!0,options:[{label:(0,s.__)("Align Left","gutenverse"),value:"flex-start",icon:(0,c.jsx)(a.AlignLeft,{})},{label:(0,s.__)("Align Center","gutenverse"),value:"center",icon:(0,c.jsx)(a.AlignCenter,{})},{label:(0,s.__)("Align Right","gutenverse"),value:"flex-end",icon:(0,c.jsx)(a.AlignRight,{})}]},{id:"iconSize",label:(0,s.__)("Icon Size","gutenverse"),component:l.SizeControl,allowDeviceControl:!0,units:{px:{text:"px",min:1,max:100,step:1},em:{text:"em",min:.1,max:3,step:.1}},liveStyle:[{type:"unitPoint",id:"iconSize",responsive:!0,properties:[{name:"font-size",valueType:"direct"}],selector:".".concat(o," .guten-social-icon i")}]},{id:"shape",label:(0,s.__)("Social Icon Shape","gutenverse"),component:l.SelectControl,options:[{label:(0,s.__)("Square"),value:"square"},{label:(0,s.__)("Rounded"),value:"rounded"},{label:(0,s.__)("Circle"),value:"circle"}],onChange:function(e){"circle"===e.shape&&t({showText:!1})}},{id:"showText",show:"circle"!==r,label:(0,s.__)("Show Icon Text","gutenverse"),description:(0,s.__)("Display custom text beside icon","gutenverse"),component:l.CheckboxControl},{id:"typography",label:(0,s.__)("Typography","gutenverse"),show:"circle"!==r&&n,component:l.TypographyControl}]};function u(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function d(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?u(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):u(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var y=function(e){var t=e.elementId,o=e.switcher,n=e.setSwitcher;return[{id:"color",label:(0,s.__)("Social Icon Color","gutenverse"),component:l.SelectControl,options:[{label:(0,s.__)("Fill"),value:"fill"},{label:(0,s.__)("Border"),value:"border"},{label:(0,s.__)("Custom"),value:"custom"}]},{id:"__socialIconsHover",component:l.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__socialIconsHover;return n(d(d({},o),{},{socialIconsHover:t}))}},{id:"iconColor",label:(0,s.__)("Icon Color","gutenverse"),show:!o.socialIconsHover||"normal"===o.socialIconsHover,component:l.ColorControl,liveStyle:[{type:"color",id:"iconColor",selector:".".concat(t,".fill .guten-social-icon a i, .").concat(t,".border .guten-social-icon a i, .").concat(t,".custom .guten-social-icon a i"),properties:[{name:"color",valueType:"direct"}]},{type:"color",id:"iconColor",selector:".".concat(t,".border .guten-social-icon a"),properties:[{name:"border-color",valueType:"direct"}]}]},{id:"textColor",label:(0,s.__)("Text Color","gutenverse"),show:!o.socialIconsHover||"normal"===o.socialIconsHover,component:l.ColorControl,liveStyle:[{type:"color",id:"textColor",selector:".".concat(t," .guten-social-icon a span"),properties:[{name:"color",valueType:"direct"}]}]},{id:"hoverIconColor",label:(0,s.__)("Icon Color","gutenverse"),show:"hover"===o.socialIconsHover,component:l.ColorControl,liveStyle:[{type:"color",id:"hoverIconColor",selector:".".concat(t,".fill .guten-social-icon a:hover i, .").concat(t,".border .guten-social-icon a:hover i, .").concat(t,".custom .guten-social-icon a:hover i"),properties:[{name:"color",valueType:"direct"}]},{type:"color",id:"hoverIconColor",selector:".".concat(t,".border .guten-social-icon a:hover"),properties:[{name:"border-color",valueType:"direct"}]}]},{id:"hoverTextColor",label:(0,s.__)("Text Color","gutenverse"),show:"hover"===o.socialIconsHover,component:l.ColorControl,liveStyle:[{type:"color",id:"hoverTextColor",selector:".".concat(t," .guten-social-icon a:hover span"),properties:[{name:"color",valueType:"direct"}]}]},{id:"__bgIconType",component:l.SwitchControl,options:[{value:"color",label:"Color"},{value:"gradient",label:"Gradient"}],onChange:function(e){var t=e.__bgIconType;return n(d(d({},o),{},{bgIconsType:t}))}},{id:"bgColor",label:(0,s.__)("Background Color","gutenverse"),show:!(o.socialIconsHover&&"normal"!==o.socialIconsHover||o.bgIconsType&&"color"!==o.bgIconsType),component:l.ColorControl,liveStyle:[{type:"color",id:"bgColor",selector:".".concat(t,".fill .guten-social-icon a, .").concat(t,".border .guten-social-icon a, .").concat(t,".custom .guten-social-icon a"),properties:[{name:"background-color",valueType:"direct"}]}]},{id:"hoverBgColor",label:(0,s.__)("Hover Background Color","gutenverse"),show:"hover"===o.socialIconsHover&&(!o.bgIconsType||"color"===o.bgIconsType),component:l.ColorControl,liveStyle:[{type:"color",id:"hoverBgColor",selector:".".concat(t,".fill .guten-social-icon a:hover, .").concat(t,".border .guten-social-icon a:hover, .").concat(t,".custom .guten-social-icon a:hover"),properties:[{name:"background-color",valueType:"direct"}]}]},{id:"bgGradient",label:(0,s.__)("Background Gradient","gutenverse"),show:(!o.socialIconsHover||"normal"===o.socialIconsHover)&&"gradient"===o.bgIconsType,component:l.BackgroundControl,options:["gradient"],liveStyle:[{type:"background",id:"bgGradient",selector:".".concat(t,".fill .guten-social-icon a, .").concat(t,".border .guten-social-icon a, .").concat(t,".custom .guten-social-icon a")}]},{id:"hoverBgGradient",label:(0,s.__)("Hover Background Gradient","gutenverse"),show:"hover"===o.socialIconsHover&&"gradient"===o.bgIconsType,component:l.BackgroundControl,options:["gradient"],liveStyle:[{type:"background",id:"hoverBgGradient",selector:".".concat(t,".fill .guten-social-icon a:hover, .").concat(t,".border .guten-social-icon a:hover, .").concat(t,".custom .guten-social-icon a:hover")}]}]},g=function(e){var t=e.elementId;return[{id:"gap",label:(0,s.__)("Social Icon Gap","gutenverse"),component:l.RangeControl,default:10,min:1,max:100,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"gap",responsive:!0,properties:[{name:"margin-left",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}],selector:".".concat(t,".horizontal > div:not(:first-child)")},{type:"plain",id:"gap",responsive:!0,properties:[{name:"margin-top",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}],selector:".".concat(t,".vertical > div:not(:first-child)")}]},{id:"itemPadding",label:(0,s.__)("Padding","gutenverse"),component:l.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:{px:{text:"px",unit:"px"},"%":{text:"%",unit:"%"}}}]},m=o(5255);function v(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function h(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?v(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):v(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var b=function(e){var t=e.elementId,o=e.switcher,n=e.setSwitcher,r=(0,m.getDeviceType)();return[{id:"__iconBorderHover",component:l.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__iconBorderHover;return n(h(h({},o),{},{iconBorder:t}))}},{id:"iconBorder",show:(!o.iconBorder||"normal"===o.iconBorder)&&"Desktop"===r,label:(0,s.__)("Border","gutenverse"),component:l.BorderControl,liveStyle:[{type:"border",id:"iconBorder",selector:".".concat(t," .guten-social-icon a")}]},{id:"iconBorderResponsive",show:(!o.iconBorder||"normal"===o.iconBorder)&&"Desktop"!==r,label:(0,s.__)("Border","gutenverse"),component:l.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"iconBorderResponsive",selector:".".concat(t," .guten-social-icon a")}]},{id:"iconBorderHover",show:"hover"===o.iconBorder&&"Desktop"===r,label:(0,s.__)("Border","gutenverse"),component:l.BorderControl,liveStyle:[{type:"border",id:"iconBorderHover",selector:".".concat(t," .guten-social-icon:hover a")}]},{id:"iconBorderHoverResponsive",show:"hover"===o.iconBorder&&"Desktop"!==r,label:(0,s.__)("Border","gutenverse"),component:l.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"iconBorderHoverResponsive",selector:".".concat(t," .guten-social-icon:hover a")}]},{id:"iconBoxShadow",show:!o.iconBorder||"normal"===o.iconBorder,label:(0,s.__)("Box Shadow","gutenverse"),component:l.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"iconBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t," .guten-social-icon a")}]},{id:"iconBoxShadowHover",show:"hover"===o.iconBorder,label:(0,s.__)("Box Shadow","gutenverse"),component:l.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"iconBoxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t," .guten-social-icon:hover a")}]}]};function f(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function x(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?f(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):f(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var w=function(){return[{title:(0,s.__)("Style","gutenverse"),panelArray:p,initialOpen:!0,tabRole:l.TabStyle},{title:(0,s.__)("Color","gutenverse"),panelArray:y,initialOpen:!1,tabRole:l.TabStyle},{title:(0,s.__)("Icon Spacing","gutenverse"),panelArray:g,initialOpen:!1,tabRole:l.TabStyle},{title:(0,s.__)("Icon Border","gutenverse"),initialOpen:!1,panelArray:b,tabRole:l.TabStyle},{title:(0,s.__)("Background","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.backgroundPanel)(x(x({},e),{},{styleId:"social-icons",normalOptions:["default","gradient"],hoverOptions:["default","gradient"]}))},tabRole:l.TabStyle},{title:(0,s.__)("Border","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.borderPanel)(x(x({},e),{},{styleId:"social-icons-border"}))},tabRole:l.TabStyle},{title:(0,s.__)("Masking","gutenverse"),initialOpen:!1,panelArray:l.maskPanel,tabRole:l.TabStyle},{title:(0,s.__)("Display","gutenverse"),initialOpen:!1,panelArray:l.responsivePanel,tabRole:l.TabSetting},{title:(0,s.__)("Positioning","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.positioningPanel)(x(x({},e),{},{selector:".".concat(e.elementId,".guten-element, .").concat(e.elementId,".guten-element.horizontal > div")}))},tabRole:l.TabSetting},{title:(0,s.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.animationPanel)(x(x({},e),{},{styleId:"social-icons-animation"}))},tabRole:l.TabSetting},{title:(0,s.__)("Transform","gutenverse"),initialOpen:!1,panelArray:l.transformPanel,pro:!0},{title:(0,s.__)("Mouse Move Effect","gutenverse"),initialOpen:!1,panelArray:l.mouseMoveEffectPanel,tabRole:l.TabSetting,pro:!0},{title:(0,s.__)("Advanced Animation","gutenverse"),initialOpen:!1,panelAdvance:!0,panelArray:function(e){return(0,l.advanceAnimationPanel)(x(x({},e),{},{blockType:"social-icons"}))},pro:!0},{title:(0,s.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.advancePanel)(x(x({},e),{},{styleId:"social-icons-advance"}))},tabRole:l.TabSetting},{title:(0,s.__)("Condition","gutenverse"),panelArray:l.conditionPanel,initialOpen:!1,pro:!0}]},S=o(6087),_=o(2188),j=o(6826),T=o(4320),O=o(4404),C=o(1222),k=o(2619);const P=function(e,t){var o=[];return o=function(e,t,o){return(0,C.isNotEmpty)(t.iconColor)&&o.push({type:"color",id:"iconColor",selector:".".concat(e,".fill .guten-social-icon a i, .").concat(e,".border .guten-social-icon a i, .").concat(e,".custom .guten-social-icon a i"),properties:[{name:"color",valueType:"direct"}]}),(0,C.isNotEmpty)(t.iconColor)&&o.push({type:"color",id:"iconColor",selector:".".concat(e,".border .guten-social-icon a"),properties:[{name:"border-color",valueType:"direct"}]}),(0,C.isNotEmpty)(t.textColor)&&o.push({type:"color",id:"textColor",selector:".".concat(e," .guten-social-icon a span"),properties:[{name:"color",valueType:"direct"}]}),(0,C.isNotEmpty)(t.hoverIconColor)&&o.push({type:"color",id:"hoverIconColor",selector:".".concat(e,".fill .guten-social-icon a:hover i, .").concat(e,".border .guten-social-icon a:hover i, .").concat(e,".custom .guten-social-icon a:hover i"),properties:[{name:"color",valueType:"direct"}]}),(0,C.isNotEmpty)(t.hoverIconColor)&&o.push({type:"color",id:"hoverIconColor",selector:".".concat(e,".border .guten-social-icon a:hover"),properties:[{name:"border-color",valueType:"direct"}]}),(0,C.isNotEmpty)(t.hoverTextColor)&&o.push({type:"color",id:"hoverTextColor",selector:".".concat(e," .guten-social-icon a:hover span"),properties:[{name:"color",valueType:"direct"}]}),(0,C.isNotEmpty)(t.bgColor)&&o.push({type:"color",id:"bgColor",selector:".".concat(e,".fill .guten-social-icon a, .").concat(e,".border .guten-social-icon a, .").concat(e,".custom .guten-social-icon a"),properties:[{name:"background-color",valueType:"direct"}]}),(0,C.isNotEmpty)(t.hoverBgColor)&&o.push({type:"color",id:"hoverBgColor",selector:".".concat(e,".fill .guten-social-icon a:hover, .").concat(e,".border .guten-social-icon a:hover, .").concat(e,".custom .guten-social-icon a:hover"),properties:[{name:"background-color",valueType:"direct"}]}),(0,C.isNotEmpty)(t.bgGradient)&&o.push({type:"background",id:"bgGradient",selector:".".concat(e,".fill .guten-social-icon a, .").concat(e,".border .guten-social-icon a, .").concat(e,".custom .guten-social-icon a")}),(0,C.isNotEmpty)(t.hoverBgGradient)&&o.push({type:"background",id:"hoverBgGradient",selector:".".concat(e,".fill .guten-social-icon a:hover, .").concat(e,".border .guten-social-icon a:hover, .").concat(e,".custom .guten-social-icon a:hover")}),o}(e,t,o),o=function(e,t,o){return(0,C.isNotEmpty)(t.alignment)&&o.push({type:"plain",id:"alignment",responsive:!0,selector:".".concat(e),properties:[{name:"justify-content",valueType:"direct"}]}),(0,C.isNotEmpty)(t.alignment)&&o.push({type:"plain",id:"alignment",responsive:!0,selector:".".concat(e," .guten-social-icon"),properties:[{name:"text-align",valueType:"function",functionName:"handleAlign"}]}),(0,C.isNotEmpty)(t.iconSize)&&o.push({type:"unitPoint",id:"iconSize",responsive:!0,properties:[{name:"font-size",valueType:"direct"}],selector:".".concat(e," .guten-social-icon i")}),(0,C.isNotEmpty)(t.typography)&&o.push({type:"typography",id:"typography",selector:".".concat(e," .guten-social-icon span")}),o}(e,t,o),o=function(e,t,o){return(0,C.isNotEmpty)(t.iconBorder)&&o.push({type:"border",id:"iconBorder",selector:".".concat(e," .guten-social-icon a")}),(0,C.isNotEmpty)(t.iconBorderResponsive)&&o.push({type:"borderResponsive",id:"iconBorderResponsive",selector:".".concat(e," .guten-social-icon a")}),(0,C.isNotEmpty)(t.iconBorderHover)&&o.push({type:"border",id:"iconBorderHover",selector:".".concat(e," .guten-social-icon:hover a")}),(0,C.isNotEmpty)(t.iconBorderHoverResponsive)&&o.push({type:"borderResponsive",id:"iconBorderHoverResponsive",selector:".".concat(e," .guten-social-icon:hover a")}),(0,C.isNotEmpty)(t.iconBoxShadow)&&o.push({type:"boxShadow",id:"iconBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e," .guten-social-icon a")}),(0,C.isNotEmpty)(t.iconBoxShadowHover)&&o.push({type:"boxShadow",id:"iconBoxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e," .guten-social-icon:hover a")}),o}(e,t,o),o=function(e,t,o){return(0,C.isNotEmpty)(t.gap)&&o.push({type:"plain",id:"gap",responsive:!0,properties:[{name:"margin-left",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}],selector:".".concat(e,".horizontal > div:not(:first-child)")}),(0,C.isNotEmpty)(t.gap)&&o.push({type:"plain",id:"gap",responsive:!0,properties:[{name:"margin-top",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}],selector:".".concat(e,".vertical > div:not(:first-child)")}),(0,C.isNotEmpty)(t.itemPadding)&&o.push({type:"dimension",id:"itemPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".guten-social-icons.".concat(e," .guten-social-icon a")}),o}(e,t,o),o=(0,l.backgroundStyle)({attributes:t,data:o,elementId:e}),(0,C.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,C.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,C.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,C.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,C.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,C.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,C.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,C.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,C.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,C.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,C.isNotEmpty)(t.animation)&&(0,C.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,C.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,C.isNotEmpty)(t.positioningType)&&(0,C.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,C.isNotEmpty)(t.positioningWidth)&&(0,C.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,C.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,C.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,C.isNotEmpty)(t.positioningLeft)&&(0,C.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,C.isNotEmpty)(t.positioningRight)&&(0,C.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,C.isNotEmpty)(t.positioningTop)&&(0,C.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,C.isNotEmpty)(t.positioningBottom)&&(0,C.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),[].concat((0,O.A)(o),(0,O.A)((0,k.applyFilters)("gutenverse.social-icons.blockStyle",[],{elementId:e,attributes:t})))};function N(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function E(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?N(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):N(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const D=(0,r.compose)(_.withPartialRender,_.withPassRef,(0,_.withAnimationAdvanceV2)("social-icons"),_.withMouseMoveEffect)((function(e){var t=e.attributes,o=e.clientId,n=e.setBlockRef,r=t.elementId,s=t.orientation,p=void 0===s?"horizontal":s,u=t.shape,d=t.color,y=t.showText,g=(0,j.useDisplayEditor)(t),m=(0,j.useAnimationEditor)(t),v=(0,S.useRef)(null);(0,T.useGenerateElementId)(o,r,v),(0,T.useDynamicStyle)(r,t,P,v),(0,T.useDynamicScript)(v);var h=(0,i.useBlockProps)({className:(0,a.classnames)("guten-element","guten-social-icons","no-margin",r,u,p,d,m,g,{"show-text":y}),ref:v}),b=(0,i.useInnerBlocksProps)(h,{template:[["gutenverse/social-icon"]],allowedBlocks:["gutenverse/social-icon"],orientation:p,__experimentalAppenderTagName:"div"});return(0,S.useEffect)((function(){v&&n(v)}),[v]),(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(a.CopyElementToolbar,E({},e)),(0,c.jsx)(l.BlockPanelController,{panelList:w,props:e,elementRef:v}),(0,c.jsx)("div",E({},b))]})}));function B(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function A(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?B(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):B(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const H=(0,r.compose)((0,_.withAnimationAdvanceScript)("social-icons"),_.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,n=t.showText,r=t.shape,s=t.color,l=t.orientation,p=(0,j.useAnimationAdvanceData)(t),u=(0,j.useAnimationFrontend)(t),d=(0,j.useDisplayFrontend)(t),y=(0,a.classnames)("guten-element","guten-social-icons",o,r,l,s,u,d,{"show-text":n});return(0,c.jsx)("div",A(A({},i.useBlockProps.save(A({className:y},p))),{},{children:(0,c.jsx)(i.InnerBlocks.Content,{})}))})),R=JSON.parse('{"apiVersion":2,"name":"gutenverse/social-icons","title":"Social Icons","description":"Show social networks link to your website visitors","category":"gutenverse-element","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"mouseMoveEffect":{"type":"object","copyStyle":true},"typography":{"type":"object","copyStyle":true},"iconSize":{"type":"object","copyStyle":true},"gap":{"type":"object","default":{"Desktop":"10"},"copyStyle":true},"alignment":{"type":"object","default":{"Desktop":"center"},"copyStyle":true},"orientation":{"type":"string","default":"horizontal","copyStyle":true},"shape":{"type":"string","default":"rounded","copyStyle":true},"showText":{"type":"boolean","default":false},"color":{"type":"string","default":"fill","copyStyle":true},"iconColor":{"type":"object","copyStyle":true},"bgColor":{"type":"object","copyStyle":true},"textColor":{"type":"object","copyStyle":true},"iconBorder":{"type":"object","default":{},"copyStyle":true},"iconBorderResponsive":{"type":"object","migrate":{"attr":"iconBorder","type":"border"},"copyStyle":true},"iconBoxShadow":{"type":"object","copyStyle":true},"iconBorderHover":{"type":"object","default":{},"copyStyle":true},"iconBorderHoverResponsive":{"type":"object","migrate":{"attr":"iconBorderHover","type":"border"},"copyStyle":true},"iconBoxShadowHover":{"type":"object","copyStyle":true},"border":{"type":"object","default":{},"copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"borderHover":{"type":"object","default":{},"copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadowHover":{"type":"object","copyStyle":true},"itemPadding":{"type":"object","copyStyle":true},"hoverIconColor":{"type":"object","copyStyle":true},"hoverBgColor":{"type":"object","copyStyle":true},"hoverTextColor":{"type":"object","copyStyle":true},"background":{"type":"object","default":{},"copyStyle":true},"backgroundHover":{"type":"object","default":{},"copyStyle":true},"backgroundTransition":{"type":"object","copyStyle":true,"default":{}},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"animation":{"type":"object","default":{},"copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"positioningType":{"type":"object","copyStyle":true},"positioningWidth":{"type":"object","copyStyle":true},"positioningAlign":{"type":"object","copyStyle":true},"positioningLocation":{"type":"string","copyStyle":true},"positioningLeft":{"type":"object","copyStyle":true},"positioningRight":{"type":"object","copyStyle":true},"positioningTop":{"type":"object","copyStyle":true},"positioningBottom":{"type":"object","copyStyle":true},"advanceAnimation":{"type":"object","default":{},"copyStyle":true},"transform":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"condition":{"type":"object","default":{}},"bgGradient":{"type":"object","copyStyle":true},"hoverBgGradient":{"type":"object","copyStyle":true}},"variations":[{"name":"social-icons-horizontal","title":"Horizontal","description":"Social icons shown in a row.","attributes":{"orientation":"horizontal"},"scope":["transform"]},{"name":"social-icons-vertical","isDefault":true,"title":"Vertical","description":"Social icons shown in a column.","attributes":{"orientation":"vertical"},"scope":["transform"]}],"supports":{"className":false},"keywords":["social","icon"]}');var I=o(4889);var M=R.name,L={icon:(0,c.jsx)(I.Vn,{}),example:{attributes:{typography:{font:{label:"Average",value:"Average",type:"google"},size:{Desktop:{point:"16",unit:"px"}}},iconSize:{Desktop:{point:"22",unit:"px"}},gap:{Desktop:"10",Tablet:"10",Mobile:"10"},alignment:{Desktop:"center",Tablet:"center",Mobile:"center"},showText:!0,boxShadow:{position:"outline"},boxShadowHover:{position:"outline"},itemPadding:{unit:"px",dimension:{top:"10",right:"20",bottom:"10",left:"20"}}},innerBlocks:[{name:"gutenverse/social-icon",attributes:{icon:"fab fa-facebook",text:"Facebook"}},{name:"gutenverse/social-icon",attributes:{icon:"fab fa-twitter",text:"Twitter"}},{name:"gutenverse/social-icon",attributes:{icon:"fab fa-instagram",text:"Instagram"}}]},edit:D,save:H}},8756:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>K,name:()=>de,settings:()=>ge});var n=o(6065),r=o(9491),i=o(2188),a=o(4715),s=o(3482),l=o(596),c=o(7723),p=o(5255);function u(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function d(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?u(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):u(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var y=function(e){var t=e.elementId,o=e.switcher,r=e.setSwitcher,i=(0,p.getDeviceType)();return[{id:"arrowFontSize",label:(0,c.__)("Arrow Size","gutenverse"),component:l.RangeControl,min:1,max:100,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"arrowFontSize",responsive:!0,selector:".".concat(t," div[class*='swiper-button-']"),properties:[{name:"font-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"__arrowHover",component:l.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"},{value:"disabled",label:"Disabled"}],onChange:function(e){var t=e.__arrowHover;return r(d(d({},o),{},{arrowHover:t}))}},{id:"arrowColor",show:!o.arrowHover||"normal"===o.arrowHover,label:(0,c.__)("Normal Color","gutenverse"),component:l.ColorControl,allowDeviceControl:!0,liveStyle:[{type:"color",id:"arrowColor",responsive:!0,properties:[{name:"color",valueType:"direct"}],selector:".".concat(t," div[class*='swiper-button-']")}]},{id:"arrowBgColor",show:!o.arrowHover||"normal"===o.arrowHover,label:(0,c.__)("Background Color","gutenverse"),component:l.ColorControl,allowDeviceControl:!0,liveStyle:[{type:"color",id:"arrowBgColor",responsive:!0,properties:[{name:"background-color",valueType:"direct"}],selector:".".concat(t," div[class*='swiper-button-']")}]},{id:"arrowPadding",show:!o.arrowHover||"normal"===o.arrowHover,label:(0,c.__)("Normal Padding","gutenverse"),component:l.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"arrowMargin",show:!o.arrowHover||"normal"===o.arrowHover,label:(0,c.__)("Normal Margin","gutenverse"),component:l.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"arrowOpacity",show:!o.arrowHover||"normal"===o.arrowHover,label:(0,c.__)("Normal Opacity","gutenverse"),component:l.RangeControl,min:0,max:100,step:1,allowDeviceControl:!0,liveStyle:[{type:"plain",id:"arrowOpacity",responsive:!0,selector:".".concat(t," div[class*='swiper-button-']"),properties:[{name:"opacity",valueType:"function",functionName:"handleOpacity"}]}]},{id:"arrowBorder",show:(!o.arrowHover||"normal"===o.arrowHover)&&"Desktop"===i,label:(0,c.__)("Border","gutenverse"),component:l.BorderControl,liveStyle:[{type:"border",id:"arrowBorder",selector:".".concat(t," div[class*='swiper-button-']")}]},{id:"arrowBorderResponsive",show:(!o.arrowHover||"normal"===o.arrowHover)&&"Desktop"!==i,label:(0,c.__)("Border","gutenverse"),component:l.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"arrowBorderResponsive",selector:".".concat(t," div[class*='swiper-button-']")}]},{id:"arrowBoxShadow",show:!o.arrowHover||"normal"===o.arrowHover,label:(0,c.__)("Box Shadow","gutenverse"),component:l.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"arrowBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t," div[class*='swiper-button-']")}]},{id:"arrowHoverColor",show:"hover"===o.arrowHover,label:(0,c.__)("Hover Color","gutenverse"),component:l.ColorControl,allowDeviceControl:!0},{id:"arrowHoverBgColor",show:"hover"===o.arrowHover,label:(0,c.__)("Background Hover Color","gutenverse"),component:l.ColorControl,allowDeviceControl:!0},{id:"arrowHoverPadding",show:"hover"===o.arrowHover,label:(0,c.__)("Hover Padding","gutenverse"),component:l.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"arrowHoverMargin",show:"hover"===o.arrowHover,label:(0,c.__)("Hover Margin","gutenverse"),component:l.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"arrowHoverOpacity",show:"hover"===o.arrowHover,label:(0,c.__)("Hover Opacity","gutenverse"),component:l.RangeControl,min:0,max:100,step:1,allowDeviceControl:!0},{id:"arrowBorderHover",show:"hover"===o.arrowHover&&"Desktop"===i,label:(0,c.__)("Border","gutenverse"),component:l.BorderControl},{id:"arrowBorderHoverResponsive",show:"hover"===o.arrowHover&&"Desktop"!==i,label:(0,c.__)("Border","gutenverse"),component:l.BorderResponsiveControl,allowDeviceControl:!0},{id:"arrowBoxShadowHover",show:"hover"===o.arrowHover,label:(0,c.__)("Hover Box Shadow","gutenverse"),component:l.BoxShadowControl},{id:"arrowDisabledColor",show:"disabled"===o.arrowHover,label:(0,c.__)("Disabled Color","gutenverse"),component:l.ColorControl,allowDeviceControl:!0,liveStyle:[{type:"color",id:"arrowDisabledColor",responsive:!0,properties:[{name:"color",valueType:"direct"}],selector:".".concat(t," div[class*='swiper-button-'].swiper-button-disabled")}]},{id:"arrowDisabledBgColor",show:"disabled"===o.arrowHover,label:(0,c.__)("Background Disabled Color","gutenverse"),component:l.ColorControl,allowDeviceControl:!0,liveStyle:[{type:"color",id:"arrowDisabledBgColor",responsive:!0,properties:[{name:"background-color",valueType:"direct"}],selector:".".concat(t," div[class*='swiper-button-'].swiper-button-disabled")}]},{id:"arrowDisabledPadding",show:"disabled"===o.arrowHover,label:(0,c.__)("Disabled Padding","gutenverse"),component:l.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"arrowDisabledMargin",show:"disabled"===o.arrowHover,label:(0,c.__)("Disabled Margin","gutenverse"),component:l.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"arrowDisabledOpacity",show:"disabled"===o.arrowHover,label:(0,c.__)("Disabled Opacity","gutenverse"),component:l.RangeControl,min:0,max:100,step:1,allowDeviceControl:!0,liveStyle:[{type:"plain",id:"arrowDisabledOpacity",responsive:!0,selector:".".concat(t," div[class*='swiper-button-'].swiper-button-disabled"),properties:[{name:"opacity",valueType:"function",functionName:"handleOpacity"}]}]},{id:"arrowBorderDisabled",show:"disabled"===o.arrowHover,label:(0,c.__)("Border","gutenverse"),component:l.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"arrowBorderHoverResponsive",selector:".".concat(t," div[class*='swiper-button-'].swiper-button-disabled")}]},{id:"arrowBoxShadowDisabled",show:"disabled"===o.arrowHover,label:(0,c.__)("Disabled Box Shadow","gutenverse"),component:l.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"arrowBoxShadowDisabled",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t," div[class*='swiper-button-'].swiper-button-disabled")}]}]},g=o(790),m=function(e){var t=e.showQuote,o=e.contentType,n=window.GutenverseConfig.gutenverseImgDir;return[{id:"contentType",label:(0,c.__)("Content Style","gutenverse"),component:l.ImageRadioControl,options:[{image:(0,g.jsx)("img",{src:"".concat(n,"/testimonial-1.png")}),value:1},{image:(0,g.jsx)("img",{src:"".concat(n,"/testimonial-2.png")}),value:2},{image:(0,g.jsx)("img",{src:"".concat(n,"/testimonial-3.png")}),value:3},{image:(0,g.jsx)("img",{src:"".concat(n,"/testimonial-4.png")}),value:4}]},{id:"contentPosition",label:(0,c.__)("Content Position","gutenverse"),component:l.SelectControl,show:1!==o,options:[{label:(0,c.__)("Above Image","gutenverse"),value:"above-image"},{label:(0,c.__)("Below Image","gutenverse"),value:"below-image"}]},{id:"starPosition",label:(0,c.__)("Star Position","gutenverse"),component:l.SelectControl,show:1!==o&&2!==o,options:[{label:(0,c.__)("Above Image","gutenverse"),value:"above-image"},{label:(0,c.__)("Below Image","gutenverse"),value:"below-image"}]},{id:"starPosition",label:(0,c.__)("Star Position","gutenverse"),component:l.SelectControl,show:2===o,options:[{label:(0,c.__)("As Header","gutenverse"),value:"above-image"},{label:(0,c.__)("As Footer","gutenverse"),value:"below-image"}]},{id:"showQuote",label:(0,c.__)("Show Quote","gutenverse"),component:l.CheckboxControl},{id:"showRating",label:(0,c.__)("Show Rating","gutenverse"),component:l.CheckboxControl},{id:"iconQuote",show:t,label:(0,c.__)("Quote Icon","gutenverse"),component:l.IconControl},{id:"iconRatingFull",label:(0,c.__)("Rating Icon Full","gutenverse"),component:l.IconControl},{id:"iconRatingHalf",label:(0,c.__)("Rating Icon Half","gutenverse"),component:l.IconControl}]},v=function(){return[{id:"testimonialData",label:(0,c.__)("Testimonial List","gutenverse"),component:l.RepeaterControl,titleFormat:"<strong><%= value.name%></strong>",options:[{id:"name",label:(0,c.__)("Name","gutenverse"),component:l.TextControl},{id:"src",label:(0,c.__)("Client Picture","gutenverse"),component:l.ImageControl},{id:"lazy",label:(0,c.__)("Set Lazy Load","gutenverse"),component:l.CheckboxControl},{id:"rating",label:(0,c.__)("Rating","gutenverse"),component:l.RangeControl,min:0,max:5,step:.5},{id:"description",label:(0,c.__)("Designation","gutenverse"),component:l.TextControl},{id:"comment",label:(0,c.__)("Comment","gutenverse"),component:l.TextareaControl}]}]};function h(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function b(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?h(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):h(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var f=function(e){var t=e.elementId,o=e.switcher,r=e.setSwitcher;return[{id:"dotsSpacingHorizontal",label:(0,c.__)("Spacing Horizontal","gutenverse"),component:l.RangeControl,min:1,max:100,step:1,allowDeviceControl:!0,liveStyle:[{type:"plain",id:"dotsSpacingHorizontal",responsive:!0,selector:".".concat(t," .swiper-pagination-bullets .swiper-pagination-bullet"),properties:[{name:"margin",valueType:"pattern",pattern:"0 calc({value}px / 2)",patternValues:{value:{type:"direct"}}}]}]},{id:"dotsSpacingVertical",label:(0,c.__)("Spacing Vertical","gutenverse"),component:l.RangeControl,min:1,max:100,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"dotsSpacingVertical",responsive:!0,selector:".".concat(t," .swiper-pagination-bullets"),properties:[{name:"margin-top",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"__dotsNav",component:l.SwitchControl,options:[{value:"general",label:"General"},{value:"active",label:"Active"}],onChange:function(e){var t=e.__dotsNav;return r(b(b({},o),{},{dotsNav:t}))}},{id:"dotsWidth",show:!o.dotsNav||"general"===o.dotsNav,label:(0,c.__)("Dots Width","gutenverse"),component:l.RangeControl,min:1,max:100,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"dotsWidth",responsive:!0,selector:".".concat(t," .swiper-pagination-bullet"),properties:[{name:"width",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"dotsHeight",show:!o.dotsNav||"general"===o.dotsNav,label:(0,c.__)("Dots Height","gutenverse"),component:l.RangeControl,min:1,max:100,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"dotsHeight",responsive:!0,selector:".".concat(t," .swiper-pagination-bullet"),properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"dotsRadius",show:!o.dotsNav||"general"===o.dotsNav,label:(0,c.__)("Dots Border Radius","gutenverse"),component:l.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"dotsColor",show:!o.dotsNav||"general"===o.dotsNav,label:(0,c.__)("Dots Color","gutenverse"),component:l.ColorControl,allowDeviceControl:!0,liveStyle:[{type:"color",id:"dotsColor",responsive:!0,selector:".".concat(t," .swiper-pagination-bullet"),properties:[{name:"background-color",valueType:"direct"}]}]},{id:"dotsActiveWidth",show:"active"===o.dotsNav,label:(0,c.__)("Active Width","gutenverse"),component:l.RangeControl,min:1,max:100,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"dotsActiveWidth",responsive:!0,selector:".".concat(t," .swiper-pagination-bullet.swiper-pagination-bullet-active"),properties:[{name:"width",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"dotsActiveHeight",show:"active"===o.dotsNav,label:(0,c.__)("Active Height","gutenverse"),component:l.RangeControl,min:1,max:100,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"dotsActiveHeight",responsive:!0,selector:".".concat(t," .swiper-pagination-bullet.swiper-pagination-bullet-active"),properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"dotsActiveRadius",show:"active"===o.dotsNav,label:(0,c.__)("Active Border Radius","gutenverse"),component:l.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"})},{id:"dotsActiveColor",show:"active"===o.dotsNav,label:(0,c.__)("Active Color","gutenverse"),component:l.ColorControl,allowDeviceControl:!0,liveStyle:[{type:"color",id:"dotsActiveColor",responsive:!0,selector:".".concat(t," .swiper-pagination-bullet.swiper-pagination-bullet-active"),properties:[{name:"background-color",valueType:"direct"}]}]}]};function x(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function w(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?x(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):x(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var S=function(e){var t=e.elementId,o=e.switcher,n=e.setSwitcher,r=(0,p.getDeviceType)();return[{id:"alignText",label:(0,c.__)("Alignment","gutenverse"),component:l.IconRadioControl,allowDeviceControl:!0,options:[{label:(0,c.__)("Align Left","gutenverse"),value:"left",icon:(0,g.jsx)(s.AlignLeft,{})},{label:(0,c.__)("Align Center","gutenverse"),value:"center",icon:(0,g.jsx)(s.AlignCenter,{})},{label:(0,c.__)("Align Right","gutenverse"),value:"right",icon:(0,g.jsx)(s.AlignRight,{})}]},{id:"containerMargin",label:(0,c.__)("Margin","gutenverse"),component:l.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"containerPadding",label:(0,c.__)("Padding","gutenverse"),component:l.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"__containerStyleHover",component:l.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__containerStyleHover;return n(w(w({},o),{},{containerStyle:t}))}},{id:"containerBackground",show:!o.containerStyle||"normal"===o.containerStyle,component:l.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"containerBackground",selector:".".concat(t," .guten-testimonial-item .testimonial-box")}]},{id:"containerBackgroundHover",show:"hover"===o.containerStyle,component:l.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"]},{id:"containerBorder",show:(!o.containerStyle||"normal"===o.containerStyle)&&"Desktop"===r,label:(0,c.__)("Border","gutenverse"),component:l.BorderControl,liveStyle:[{type:"border",id:"containerBorder",selector:".guten-testimonials.".concat(t," .swiper-container .guten-testimonial-item .testimonial-box")}]},{id:"containerBorderResponsive",show:(!o.containerStyle||"normal"===o.containerStyle)&&"Desktop"!==r,label:(0,c.__)("Border","gutenverse"),component:l.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"containerBorderResponsive",selector:".guten-testimonials.".concat(t," .swiper-container .guten-testimonial-item .testimonial-box")}]},{id:"containerBoxShadow",show:!o.containerStyle||"normal"===o.containerStyle,label:(0,c.__)("Box Shadow","gutenverse"),component:l.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"containerBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".guten-testimonials.".concat(t," .swiper-container .guten-testimonial-item .testimonial-box")}]},{id:"containerBorderHover",show:"hover"===o.containerStyle&&"Desktop"===r,label:(0,c.__)("Border","gutenverse"),component:l.BorderControl},{id:"containerBorderHoverResponsive",show:"hover"===o.containerStyle&&"Desktop"!==r,label:(0,c.__)("Border","gutenverse"),component:l.BorderResponsiveControl,allowDeviceControl:!0},{id:"containerBoxShadowHover",show:"hover"===o.containerStyle,label:(0,c.__)("Box Shadow","gutenverse"),component:l.BoxShadowControl}]};function _(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function j(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?_(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):_(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var T=function(e){var t=e.elementId,o=e.quoteOverride,n=e.switcher,r=e.setSwitcher;return[{id:"nameTypography",label:(0,c.__)("Name Typography","gutenverse"),component:l.TypographyControl},{id:"designationTypography",label:(0,c.__)("Designation Typography","gutenverse"),component:l.TypographyControl},{id:"descriptionTypography",label:(0,c.__)("Comment Typography","gutenverse"),component:l.TypographyControl},{id:"designationSpacing",label:(0,c.__)("Designation Spacing","gutenverse"),component:l.RangeControl,min:0,max:100,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"designationSpacing",responsive:!0,selector:".".concat(t," .guten-testimonial-item .testimonial-box .profile-info .profile-des"),properties:[{name:"margin-top",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"descriptionMargin",label:(0,c.__)("Comment Margin","gutenverse"),component:l.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"quoteSize",label:(0,c.__)("Quote Icon Size","gutenverse"),component:l.RangeControl,min:1,max:200,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"quoteSize",responsive:!0,selector:".".concat(t," .guten-testimonial-item .testimonial-box .icon-content i"),properties:[{name:"font-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"quoteOverride",label:(0,c.__)("Override Quote Position","gutenverse"),component:l.CheckboxControl},{id:"quotePositionTop",show:o,label:(0,c.__)("Top","gutenverse"),component:l.RangeControl,min:-200,max:200,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"quotePositionTop",responsive:!0,selector:".".concat(t,".guten-testimonials .swiper-container .guten-testimonial-item .testimonial-box .icon-content.quote-override"),properties:[{name:"top",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"quotePositionLeft",show:o,label:(0,c.__)("Left","gutenverse"),component:l.RangeControl,min:-200,max:200,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"quotePositionLeft",responsive:!0,selector:".".concat(t,".guten-testimonials .swiper-container .guten-testimonial-item .testimonial-box .icon-content.quote-override"),properties:[{name:"left",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"__textHover",component:l.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__textHover;return r(j(j({},n),{},{state:t}))}},{id:"nameNormalColor",show:!n.state||"normal"===n.state,label:(0,c.__)("Name Color","gutenverse"),component:l.ColorControl,liveStyle:[{type:"color",id:"nameNormalColor",properties:[{name:"color",valueType:"direct"}],selector:".".concat(t,".guten-testimonials .swiper-container .guten-testimonial-item .testimonial-box .profile-info .profile-name")}]},{id:"nameHoverColor",show:"hover"===n.state,label:(0,c.__)("Name Hover Color","gutenverse"),component:l.ColorControl},{id:"designationNormalColor",show:!n.state||"normal"===n.state,label:(0,c.__)("Designation Color","gutenverse"),component:l.ColorControl,liveStyle:[{type:"color",id:"designationNormalColor",properties:[{name:"color",valueType:"direct"}],selector:".".concat(t,".guten-testimonials .swiper-container .guten-testimonial-item .testimonial-box .profile-info .profile-des")}]},{id:"designationHoverColor",show:"hover"===n.state,label:(0,c.__)("Designation Hover Color","gutenverse"),component:l.ColorControl},{id:"descriptionNormalColor",show:!n.state||"normal"===n.state,label:(0,c.__)("Comment Color","gutenverse"),component:l.ColorControl,liveStyle:[{type:"color",id:"descriptionNormalColor",properties:[{name:"color",valueType:"direct"}],selector:".".concat(t,".guten-testimonials .swiper-container .guten-testimonial-item .testimonial-box .comment-content p")}]},{id:"descriptionHoverColor",show:"hover"===n.state,label:(0,c.__)("Comment Hover Color","gutenverse"),component:l.ColorControl},{id:"quoteNormalColor",show:!n.state||"normal"===n.state,label:(0,c.__)("Quote Icon Color","gutenverse"),component:l.ColorControl,liveStyle:[{type:"color",id:"quoteNormalColor",properties:[{name:"color",valueType:"direct"}],selector:".".concat(t," .guten-testimonial-item .testimonial-box .icon-content i")}]},{id:"quoteHoverColor",show:"hover"===n.state,label:(0,c.__)("Quote Icon Hover Color","gutenverse"),component:l.ColorControl}]},O=function(e){var t=e.elementId,o=e.contentType,n=(0,p.getDeviceType)();return[{id:"imageBackground",component:l.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"imageBackground",selector:".".concat(t," .guten-testimonial-item .profile-image")}]},{id:"imageBorder",show:"Desktop"===n,label:(0,c.__)("Border","gutenverse"),component:l.BorderControl,liveStyle:[{type:"border",id:"imageBorder",selector:".".concat(t,".guten-testimonials .swiper-container .guten-testimonial-item .testimonial-box .profile-image")}]},{id:"imageBorderResponsive",show:"Desktop"!==n,label:(0,c.__)("Border","gutenverse"),component:l.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"imageBorderResponsive",selector:".".concat(t,".guten-testimonials .swiper-container .guten-testimonial-item .testimonial-box .profile-image")}]},{id:"imageRadius",label:(0,c.__)("Image Radius","gutenverse"),component:l.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},percent:{text:"%",unit:"%"}}},{id:"imageMargin",label:(0,c.__)("Margin","gutenverse"),component:l.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"imagePadding",label:(0,c.__)("Padding","gutenverse"),component:l.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"bottomSpace",show:o&&1===o,label:(0,c.__)("Bottom","gutenverse"),component:l.RangeControl,allowDeviceControl:!0,unit:"px",min:-200,max:200,step:1,liveStyle:[{type:"plain",id:"bottomSpace",responsive:!0,selector:".".concat(t,".guten-testimonials.style-1 .swiper-container .guten-testimonial-item .testimonial-box .comment-bio"),properties:[{name:"bottom",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"imageWidth",label:(0,c.__)("Width","gutenverse"),component:l.RangeControl,allowDeviceControl:!0,unit:"px",min:1,max:100,step:1,liveStyle:[{type:"plain",id:"imageWidth",responsive:!0,selector:".".concat(t,".guten-testimonials .swiper-container .guten-testimonial-item .testimonial-box .profile-image img"),properties:[{name:"width",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"imageHeight",label:(0,c.__)("Height","gutenverse"),component:l.RangeControl,allowDeviceControl:!0,unit:"px",min:1,max:100,step:1,liveStyle:[{type:"plain",id:"imageHeight",responsive:!0,selector:".".concat(t,".guten-testimonials .swiper-container .guten-testimonial-item .testimonial-box .profile-image img"),properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]}]},C=o(2802),k=o(234),P=o(1205),N=function(e){var t=e.elementId;return[{id:"ratingAlignment",label:(0,c.__)("Alignment","gutenverse"),component:l.IconRadioControl,allowDeviceControl:!0,options:[{label:(0,c.__)("Align Left","gutenverse"),value:"left",icon:(0,g.jsx)(C.A,{})},{label:(0,c.__)("Align Center","gutenverse"),value:"center",icon:(0,g.jsx)(k.A,{})},{label:(0,c.__)("Align Right","gutenverse"),value:"right",icon:(0,g.jsx)(P.A,{})}]},{id:"ratingColor",label:(0,c.__)("Normal Color","gutenverse"),component:l.ColorControl,liveStyle:[{type:"color",id:"ratingColor",selector:".".concat(t,".style-1 .guten-testimonial-item ul.rating-stars li, \n .").concat(t,".style-2 .guten-testimonial-item ul.rating-stars li, \n .").concat(t,".style-3 .guten-testimonial-item ul.rating-stars li, \n .").concat(t,".style-4 .guten-testimonial-item ul.rating-stars li"),properties:[{name:"color",valueType:"direct"}]}]},{id:"ratingColorHover",label:(0,c.__)("Hover Color","gutenverse"),component:l.ColorControl,liveStyle:[{type:"color",id:"ratingColorHover",selector:".".concat(t,".style-1 .guten-testimonial-item:hover ul.rating-stars li, \n .").concat(t,".style-2 .guten-testimonial-item:hover ul.rating-stars li, \n .").concat(t,".style-3 .guten-testimonial-item:hover ul.rating-stars li, \n .").concat(t,".style-4 .guten-testimonial-item:hover ul.rating-stars li"),properties:[{name:"color",valueType:"direct"}]}]},{id:"ratingIconSize",label:(0,c.__)("Icon Size","gutenverse"),component:l.RangeControl,min:1,max:100,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"ratingIconSize",responsive:!0,selector:".".concat(t," ul.rating-stars li i"),properties:[{name:"font-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"ratingIconGap",label:(0,c.__)("Icon Gap","gutenverse"),component:l.RangeControl,min:1,max:100,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"ratingIconGap",responsive:!0,selector:".".concat(t,".style-1 ul.rating-stars, \n .").concat(t,".style-2 ul.rating-stars, \n .").concat(t,".style-3 ul.rating-stars, \n .").concat(t,".style-4 ul.rating-stars"),properties:[{name:"gap",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"ratingMargin",label:(0,c.__)("Icon Margin","gutenverse"),component:l.DimensionControl,allowDeviceControl:!0,position:["top","right","bottom","left"],units:(0,n.A)((0,n.A)({px:{text:"px",unit:"px"},em:{text:"em",unit:"em"}},"%",{text:"%",unit:"%"}),"rem",{text:"rem",unit:"rem"})}]};function E(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function D(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?E(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):E(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var B=function(){return[{title:(0,c.__)("Content Setting","gutenverse"),panelArray:m,tabRole:l.TabSetting},{title:(0,c.__)("Slider Setting","gutenverse"),panelArray:l.sliderPanel,tabRole:l.TabSetting},{title:(0,c.__)("Testimonial Item","gutenverse"),initialOpen:!1,panelArray:v,tabRole:l.TabSetting},{title:(0,c.__)("Content Style","gutenverse"),initialOpen:!1,panelArray:S,tabRole:l.TabStyle},{title:(0,c.__)("Content Typography","gutenverse"),initialOpen:!1,panelArray:T,tabRole:l.TabStyle},{title:(0,c.__)("Client Image","gutenverse"),initialOpen:!1,panelArray:O,tabRole:l.TabStyle},{title:(0,c.__)("Rating Style","gutenverse"),initialOpen:!1,panelArray:N,tabRole:l.TabStyle},{title:(0,c.__)("Navigation Arrow","gutenverse"),initialOpen:!1,panelArray:y,tabRole:l.TabStyle},{title:(0,c.__)("Navigation Dots","gutenverse"),initialOpen:!1,panelArray:f,tabRole:l.TabStyle},{title:(0,c.__)("Background","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.backgroundPanel)(D(D({},e),{},{styleId:"testimonials-background",normalOptions:["default","gradient"],hoverOptions:["default","gradient"]}))},tabRole:l.TabStyle},{title:(0,c.__)("Border","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.borderPanel)(D(D({},e),{},{styleId:"testimonials-border"}))},tabRole:l.TabStyle},{title:(0,c.__)("Masking","gutenverse"),initialOpen:!1,panelArray:l.maskPanel,tabRole:l.TabStyle},{title:(0,c.__)("Display","gutenverse"),initialOpen:!1,panelArray:l.responsivePanel,tabRole:l.TabSetting},{title:(0,c.__)("Positioning","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.positioningPanel)(D(D({},e),{},{options:[{value:"default",label:"Default"},{value:"full",label:"Full Width (100%)"},{value:"custom",label:"Custom"}]}))},tabRole:l.TabSetting},{title:(0,c.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.animationPanel)(D(D({},e),{},{styleId:"testimonials-animation"}))},tabRole:l.TabSetting},{title:(0,c.__)("Transform","gutenverse"),initialOpen:!1,panelArray:l.transformPanel,pro:!0},{title:(0,c.__)("Mouse Move Effect","gutenverse"),initialOpen:!1,panelArray:l.mouseMoveEffectPanel,tabRole:l.TabSetting,pro:!0},{title:(0,c.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.advancePanel)(D(D({},e),{},{styleId:"testimonials-advance"}))},tabRole:l.TabSetting},{title:(0,c.__)("Condition","gutenverse"),panelArray:l.conditionPanel,initialOpen:!1,pro:!0}]},A=o(154),H=o(4404);const R=function(e){var t=e.src,o=e.name,n=e.lazy,r=e.description,i=e.comment,s=e.rating,l=e.contentType,c=e.showQuote,p=e.iconQuote,u=e.quoteOverride,d=e.contentPosition,y=e.showRating,m=e.iconRatingFull,v=e.iconRatingHalf,h=e.starPosition,b=e.frontEnd,f=e.setAttributes,x=e.index,w=e.testimonialData,S=u?"quote-override":"",_=function(e,t,o,n,r){return b?(0,g.jsx)(a.RichText.Content,{className:o,tagName:t,value:e}):(0,g.jsx)(a.RichText,{className:o,tagName:t,value:e,onChange:function(e){var t=(0,H.A)(w);t[r][n]=e,f({testimonialData:t})}})};return(0,g.jsx)("div",{className:"guten-testimonial-item",children:(0,g.jsx)("div",{className:"testimonial-box hover-from-left",children:function(){var e=(0,g.jsx)("div",{className:"comment-content",children:_(i,"p","profile-comment","comment",x)}),a=y&&(0,g.jsxs)(g.Fragment,{children:[Array.from({length:s},(function(e){return(0,g.jsx)("li",{children:(0,g.jsx)("i",{className:m})},e)})),parseFloat(s)!==Math.floor(s)?(0,g.jsx)("li",{children:(0,g.jsx)("i",{className:v})}):null]});switch(l){case 1:return(0,g.jsxs)("div",{className:"testimonial-slider hover-from-left testimonial-content",children:[(0,g.jsxs)("div",{className:"comment-bio",children:[(0,g.jsx)("div",{className:"profile-image",children:n?(0,g.jsx)("img",{loading:"lazy",src:t,alt:o,"data-image-placeholder":!t&&"gutenverse-image-placeholder"}):(0,g.jsx)("img",{src:t,alt:o,"data-image-placeholder":!t&&"gutenverse-image-placeholder"})}),(0,g.jsx)("ul",{className:"rating-stars",children:a}),(0,g.jsxs)("span",{className:"profile-info",children:[_(o,"strong","profile-name","name",x),_(r,"p","profile-des","description",x)]})]}),(0,g.jsxs)("div",{className:"comment-content",children:[c&&(0,g.jsx)("div",{className:"".concat(S," icon-content"),children:(0,g.jsx)("i",{"aria-hidden":"true",className:"".concat(p)})}),_(i,"p","profile-comment","comment",x)]})]});case 2:return(0,g.jsxs)("div",{className:"testimonial-content",children:[(void 0===h||"above-image"===h)&&(0,g.jsx)("div",{className:"comment-header",children:(0,g.jsx)("ul",{className:"rating-stars",children:a})}),void 0!==d&&"above-image"===d&&e,(0,g.jsxs)("div",{className:"comment-bio",children:[(0,g.jsxs)("div",{className:"bio-details",children:[(0,g.jsx)("div",{className:"profile-image",children:n?(0,g.jsx)("img",{loading:"lazy",src:t,alt:o,"data-image-placeholder":!t&&"gutenverse-image-placeholder"}):(0,g.jsx)("img",{src:t,alt:o,"data-image-placeholder":!t&&"gutenverse-image-placeholder"})}),(0,g.jsxs)("span",{className:"profile-info",children:[_(o,"strong","profile-name","name",x),_(r,"p","profile-des","description",x)]})]}),c&&(0,g.jsx)("div",{className:"".concat(S," icon-content"),children:(0,g.jsx)("i",{"aria-hidden":"true",className:"".concat(p)})})]}),(void 0===d||"below-image"===d)&&e,void 0!==h&&"below-image"===h&&(0,g.jsx)("div",{className:"comment-header",children:(0,g.jsx)("ul",{className:"rating-stars",children:a})})]});case 3:return(0,g.jsxs)("div",{className:"testimonial-content",children:[c&&(0,g.jsx)("div",{className:"".concat(S," icon-content"),children:(0,g.jsx)("i",{"aria-hidden":"true",className:"".concat(p)})}),void 0!==d&&"above-image"===d&&e,void 0!==h&&"above-image"===h&&(0,g.jsx)("ul",{className:"rating-stars",children:a}),(0,g.jsx)("div",{className:"comment-bio",children:(0,g.jsx)("div",{className:"bio-details",children:(0,g.jsx)("div",{className:"profile-image",children:n?(0,g.jsx)("img",{loading:"lazy",src:t,alt:o,"data-image-placeholder":!t&&"gutenverse-image-placeholder"}):(0,g.jsx)("img",{src:t,alt:o,"data-image-placeholder":!t&&"gutenverse-image-placeholder"})})})}),(void 0===h||"below-image"===h)&&(0,g.jsx)("ul",{className:"rating-stars",children:a}),(void 0===d||"below-image"===d)&&e,(0,g.jsxs)("span",{className:"profile-info",children:[_(o,"strong","profile-name","name",x),_(r,"p","profile-des","description",x)]})]});case 4:return(0,g.jsxs)("div",{className:"testimonial-content",children:[c&&(0,g.jsx)("div",{className:"".concat(S," icon-content"),children:(0,g.jsx)("i",{"aria-hidden":"true",className:"".concat(p)})}),void 0!==d&&"above-image"===d&&e,(0,g.jsx)("div",{className:"comment-bio",children:(0,g.jsxs)("div",{className:"bio-details",children:[void 0!==h&&"above-image"===h&&(0,g.jsx)("ul",{className:"rating-stars",children:a}),(0,g.jsx)("div",{className:"profile-image",children:n?(0,g.jsx)("img",{loading:"lazy",src:t,alt:o,"data-image-placeholder":!t&&"gutenverse-image-placeholder"}):(0,g.jsx)("img",{src:t,alt:o,"data-image-placeholder":!t&&"gutenverse-image-placeholder"})}),(void 0===h||"below-image"===h)&&(0,g.jsx)("ul",{className:"rating-stars",children:a}),(0,g.jsxs)("span",{className:"profile-info",children:[_(o,"strong","profile-name","name",x),_(r,"p","profile-des","description",x)]})]})}),(void 0===d||"below-image"===d)&&e]})}}()})})};var I=o(8639),M=o(6087),L=o(6826),z=o(7143),F=o(4320),V=o(1222),W=o(2619);const G=function(e,t){var o=[];return o=function(e,t,o){return(0,V.isNotEmpty)(t.arrowFontSize)&&o.push({type:"plain",id:"arrowFontSize",responsive:!0,selector:".".concat(e," div[class*='swiper-button-']"),properties:[{name:"font-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,V.isNotEmpty)(t.arrowColor)&&o.push({type:"color",id:"arrowColor",responsive:!0,properties:[{name:"color",valueType:"direct"}],selector:".".concat(e," div[class*='swiper-button-']")}),(0,V.isNotEmpty)(t.arrowBgColor)&&o.push({type:"color",id:"arrowBgColor",responsive:!0,properties:[{name:"background-color",valueType:"direct"}],selector:".".concat(e," div[class*='swiper-button-']")}),(0,V.isNotEmpty)(t.arrowPadding)&&o.push({type:"dimension",id:"arrowPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e," div[class*='swiper-button-']")}),(0,V.isNotEmpty)(t.arrowMargin)&&o.push({type:"dimension",id:"arrowMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e," div[class*='swiper-button-']")}),(0,V.isNotEmpty)(t.arrowOpacity)&&o.push({type:"plain",id:"arrowOpacity",responsive:!0,selector:".".concat(e," div[class*='swiper-button-']"),properties:[{name:"opacity",valueType:"function",functionName:"handleOpacity"}]}),(0,V.isNotEmpty)(t.arrowBorder)&&o.push({type:"border",id:"arrowBorder",selector:".".concat(e," div[class*='swiper-button-']")}),(0,V.isNotEmpty)(t.arrowBorderResponsive)&&o.push({type:"borderResponsive",id:"arrowBorderResponsive",selector:".".concat(e," div[class*='swiper-button-']")}),(0,V.isNotEmpty)(t.arrowBoxShadow)&&o.push({type:"boxShadow",id:"arrowBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e," div[class*='swiper-button-']")}),(0,V.isNotEmpty)(t.arrowHoverColor)&&o.push({type:"color",id:"arrowHoverColor",responsive:!0,properties:[{name:"color",valueType:"direct"}],selector:".".concat(e," div[class*='swiper-button-']:not(.swiper-button-disabled):hover")}),(0,V.isNotEmpty)(t.arrowHoverBgColor)&&o.push({type:"color",id:"arrowHoverBgColor",responsive:!0,properties:[{name:"background-color",valueType:"direct"}],selector:".".concat(e," div[class*='swiper-button-']:not(.swiper-button-disabled):hover")}),(0,V.isNotEmpty)(t.arrowHoverPadding)&&o.push({type:"dimension",id:"arrowHoverPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e," div[class*='swiper-button-']:not(.swiper-button-disabled):hover")}),(0,V.isNotEmpty)(t.arrowHoverMargin)&&o.push({type:"dimension",id:"arrowHoverMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e," div[class*='swiper-button-']:not(.swiper-button-disabled):hover")}),(0,V.isNotEmpty)(t.arrowHoverOpacity)&&o.push({type:"plain",id:"arrowHoverOpacity",responsive:!0,selector:".".concat(e," div[class*='swiper-button-']:not(.swiper-button-disabled):hover"),properties:[{name:"opacity",valueType:"function",functionName:"handleOpacity"}]}),(0,V.isNotEmpty)(t.arrowBorderHover)&&o.push({type:"border",id:"arrowBorderHover",selector:".".concat(e," div[class*='swiper-button-']:not(.swiper-button-disabled):hover")}),(0,V.isNotEmpty)(t.arrowBorderHoverResponsive)&&o.push({type:"borderResponsive",id:"arrowBorderHoverResponsive",selector:".".concat(e," div[class*='swiper-button-']:not(.swiper-button-disabled):hover")}),(0,V.isNotEmpty)(t.arrowBoxShadowHover)&&o.push({type:"boxShadow",id:"arrowBoxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e," div[class*='swiper-button-']:not(.swiper-button-disabled):hover")}),(0,V.isNotEmpty)(t.arrowDisabledColor)&&o.push({type:"color",id:"arrowDisabledColor",responsive:!0,properties:[{name:"color",valueType:"direct"}],selector:".".concat(e," div[class*='swiper-button-'].swiper-button-disabled")}),(0,V.isNotEmpty)(t.arrowDisabledBgColor)&&o.push({type:"color",id:"arrowDisabledBgColor",responsive:!0,properties:[{name:"background-color",valueType:"direct"}],selector:".".concat(e," div[class*='swiper-button-'].swiper-button-disabled")}),(0,V.isNotEmpty)(t.arrowDisabledPadding)&&o.push({type:"dimension",id:"arrowDisabledPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e," div[class*='swiper-button-'].swiper-button-disabled")}),(0,V.isNotEmpty)(t.arrowDisabledMargin)&&o.push({type:"dimension",id:"arrowDisabledMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e," div[class*='swiper-button-'].swiper-button-disabled")}),(0,V.isNotEmpty)(t.arrowDisabledOpacity)&&o.push({type:"plain",id:"arrowDisabledOpacity",responsive:!0,selector:".".concat(e," div[class*='swiper-button-'].swiper-button-disabled"),properties:[{name:"opacity",valueType:"function",functionName:"handleOpacity"}]}),(0,V.isNotEmpty)(t.arrowBorderDisabled)&&o.push({type:"borderResponsive",id:"arrowBorderDisabled",selector:".".concat(e," div[class*='swiper-button-'].swiper-button-disabled")}),(0,V.isNotEmpty)(t.arrowBoxShadowDisabled)&&o.push({type:"boxShadow",id:"arrowBoxShadowDisabled",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e," div[class*='swiper-button-'].swiper-button-disabled")}),o}(e,t,o),o=function(e,t,o){return(0,V.isNotEmpty)(t.nameTypography)&&o.push({type:"typography",id:"nameTypography",selector:".".concat(e," .guten-testimonial-item .testimonial-box .profile-info .profile-name")}),(0,V.isNotEmpty)(t.designationTypography)&&o.push({type:"typography",id:"designationTypography",selector:".".concat(e," .guten-testimonial-item .testimonial-box .profile-info .profile-des")}),(0,V.isNotEmpty)(t.designationSpacing)&&o.push({type:"plain",id:"designationSpacing",responsive:!0,selector:".".concat(e," .guten-testimonial-item .testimonial-box .profile-info .profile-des"),properties:[{name:"margin-top",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,V.isNotEmpty)(t.descriptionTypography)&&o.push({type:"typography",id:"descriptionTypography",selector:".".concat(e," .guten-testimonial-item .testimonial-box .comment-content p")}),(0,V.isNotEmpty)(t.descriptionMargin)&&o.push({type:"dimension",id:"descriptionMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e,".guten-testimonials .swiper-container .guten-testimonial-item .testimonial-box .comment-content p")}),(0,V.isNotEmpty)(t.quoteSize)&&o.push({type:"plain",id:"quoteSize",responsive:!0,selector:".".concat(e," .guten-testimonial-item .testimonial-box .icon-content i"),properties:[{name:"font-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,V.isNotEmpty)(t.quotePositionTop)&&o.push({type:"plain",id:"quotePositionTop",responsive:!0,selector:".".concat(e,".guten-testimonials .swiper-container .guten-testimonial-item .testimonial-box .icon-content.quote-override"),properties:[{name:"top",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,V.isNotEmpty)(t.quotePositionLeft)&&o.push({type:"plain",id:"quotePositionLeft",responsive:!0,selector:".".concat(e,".guten-testimonials .swiper-container .guten-testimonial-item .testimonial-box .icon-content.quote-override"),properties:[{name:"left",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,V.isNotEmpty)(t.nameNormalColor)&&o.push({type:"color",id:"nameNormalColor",properties:[{name:"color",valueType:"direct"}],selector:".".concat(e,".guten-testimonials .swiper-container .guten-testimonial-item .testimonial-box .profile-info .profile-name")}),(0,V.isNotEmpty)(t.nameHoverColor)&&o.push({type:"color",id:"nameHoverColor",properties:[{name:"color",valueType:"direct"}],selector:".".concat(e,".guten-testimonials .swiper-container .guten-testimonial-item:hover .testimonial-box .profile-info .profile-name")}),(0,V.isNotEmpty)(t.designationNormalColor)&&o.push({type:"color",id:"designationNormalColor",properties:[{name:"color",valueType:"direct"}],selector:".".concat(e,".guten-testimonials .swiper-container .guten-testimonial-item .testimonial-box .profile-info .profile-des")}),(0,V.isNotEmpty)(t.designationHoverColor)&&o.push({type:"color",id:"designationHoverColor",properties:[{name:"color",valueType:"direct"}],selector:".".concat(e,".guten-testimonials .swiper-container .guten-testimonial-item:hover .testimonial-box .profile-info .profile-des")}),(0,V.isNotEmpty)(t.descriptionNormalColor)&&o.push({type:"color",id:"descriptionNormalColor",properties:[{name:"color",valueType:"direct"}],selector:".".concat(e,".guten-testimonials .swiper-container .guten-testimonial-item .testimonial-box .comment-content p")}),(0,V.isNotEmpty)(t.descriptionHoverColor)&&o.push({type:"color",id:"descriptionHoverColor",properties:[{name:"color",valueType:"direct"}],selector:".".concat(e,".guten-testimonials .swiper-container .guten-testimonial-item:hover .testimonial-box .comment-content p")}),(0,V.isNotEmpty)(t.quoteNormalColor)&&o.push({type:"color",id:"quoteNormalColor",properties:[{name:"color",valueType:"direct"}],selector:".".concat(e," .guten-testimonial-item .testimonial-box .icon-content i")}),(0,V.isNotEmpty)(t.quoteHoverColor)&&o.push({type:"color",id:"quoteHoverColor",properties:[{name:"color",valueType:"direct"}],selector:".".concat(e," .guten-testimonial-item:hover .testimonial-box .icon-content i")}),o}(e,t,o),o=function(e,t,o){return(0,V.isNotEmpty)(t.alignText)&&o.push({type:"plain",id:"alignText",responsive:!0,selector:".".concat(e," .testimonial-box"),properties:[{name:"text-align",valueType:"direct"}]}),(0,V.isNotEmpty)(t.containerMargin)&&o.push({type:"dimension",id:"containerMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e," .guten-testimonial-item .testimonial-box")}),(0,V.isNotEmpty)(t.containerPadding)&&o.push({type:"dimension",id:"containerPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e," .guten-testimonial-item .testimonial-box")}),(0,V.isNotEmpty)(t.containerBackground)&&o.push({type:"background",id:"containerBackground",selector:".".concat(e," .guten-testimonial-item .testimonial-box")}),(0,V.isNotEmpty)(t.containerBackgroundHover)&&o.push({type:"background",id:"containerBackgroundHover",selector:".".concat(e," .guten-testimonial-item .testimonial-box:hover")}),(0,V.isNotEmpty)(t.containerBorder)&&o.push({type:"border",id:"containerBorder",selector:".guten-testimonials.".concat(e," .swiper-container .guten-testimonial-item .testimonial-box")}),(0,V.isNotEmpty)(t.containerBorderResponsive)&&o.push({type:"borderResponsive",id:"containerBorderResponsive",selector:".guten-testimonials.".concat(e," .swiper-container .guten-testimonial-item .testimonial-box")}),(0,V.isNotEmpty)(t.containerBoxShadow)&&o.push({type:"boxShadow",id:"containerBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".guten-testimonials.".concat(e," .swiper-container .guten-testimonial-item .testimonial-box")}),(0,V.isNotEmpty)(t.containerBorderHover)&&o.push({type:"border",id:"containerBorderHover",selector:".guten-testimonials.".concat(e," .swiper-container .guten-testimonial-item .testimonial-box:hover")}),(0,V.isNotEmpty)(t.containerBorderHoverResponsive)&&o.push({type:"borderResponsive",id:"containerBorderHoverResponsive",selector:".guten-testimonials.".concat(e," .swiper-container .guten-testimonial-item .testimonial-box:hover")}),(0,V.isNotEmpty)(t.containerBoxShadow)&&o.push({type:"boxShadow",id:"containerBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".guten-testimonials.".concat(e," .swiper-container .guten-testimonial-item .testimonial-box:hover")}),o}(e,t,o),o=function(e,t,o){return(0,V.isNotEmpty)(t.dotsSpacingHorizontal)&&o.push({type:"plain",id:"dotsSpacingHorizontal",responsive:!0,selector:".".concat(e," .swiper-pagination-bullets .swiper-pagination-bullet"),properties:[{name:"margin",valueType:"pattern",pattern:"0 calc({value}px / 2)",patternValues:{value:{type:"direct"}}}]}),(0,V.isNotEmpty)(t.dotsSpacingVertical)&&o.push({type:"plain",id:"dotsSpacingVertical",responsive:!0,selector:".".concat(e," .swiper-pagination-bullets"),properties:[{name:"margin-top",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,V.isNotEmpty)(t.dotsWidth)&&o.push({type:"plain",id:"dotsWidth",responsive:!0,selector:".".concat(e," .swiper-pagination-bullet"),properties:[{name:"width",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,V.isNotEmpty)(t.dotsHeight)&&o.push({type:"plain",id:"dotsHeight",responsive:!0,selector:".".concat(e," .swiper-pagination-bullet"),properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,V.isNotEmpty)(t.dotsRadius)&&o.push({type:"dimension",id:"dotsRadius",responsive:!0,selector:".".concat(e," .swiper-pagination-bullet"),properties:[{name:"border-radius",valueType:"direct",multiDimension:!1}]}),(0,V.isNotEmpty)(t.dotsColor)&&o.push({type:"color",id:"dotsColor",responsive:!0,selector:".".concat(e," .swiper-pagination-bullet"),properties:[{name:"background-color",valueType:"direct"}]}),(0,V.isNotEmpty)(t.dotsActiveWidth)&&o.push({type:"plain",id:"dotsActiveWidth",responsive:!0,selector:".".concat(e," .swiper-pagination-bullet.swiper-pagination-bullet-active"),properties:[{name:"width",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,V.isNotEmpty)(t.dotsActiveHeight)&&o.push({type:"plain",id:"dotsActiveHeight",responsive:!0,selector:".".concat(e," .swiper-pagination-bullet.swiper-pagination-bullet-active"),properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,V.isNotEmpty)(t.dotsActiveRadius)&&o.push({type:"dimension",id:"dotsActiveRadius",responsive:!0,selector:".".concat(e," .swiper-pagination-bullet.swiper-pagination-bullet-active"),properties:[{name:"border-radius",valueType:"direct",multiDimension:!1}]}),(0,V.isNotEmpty)(t.dotsActiveColor)&&o.push({type:"color",id:"dotsActiveColor",responsive:!0,selector:".".concat(e," .swiper-pagination-bullet.swiper-pagination-bullet-active"),properties:[{name:"background-color",valueType:"direct"}]}),o}(e,t,o),o=function(e,t,o){return(0,V.isNotEmpty)(t.imageBackground)&&o.push({type:"background",id:"imageBackground",selector:".".concat(e," .guten-testimonial-item .profile-image")}),(0,V.isNotEmpty)(t.imageBorder)&&o.push({type:"border",id:"imageBorder",selector:".".concat(e,".guten-testimonials .swiper-container .guten-testimonial-item .testimonial-box .profile-image")}),(0,V.isNotEmpty)(t.imageBorderResponsive)&&o.push({type:"borderResponsive",id:"imageBorderResponsive",selector:".".concat(e,".guten-testimonials .swiper-container .guten-testimonial-item .testimonial-box .profile-image")}),(0,V.isNotEmpty)(t.imageRadius)&&o.push({type:"dimension",id:"imageRadius",responsive:!0,selector:".".concat(e," .guten-testimonial-item .profile-image img"),properties:[{name:"border-radius",valueType:"direct",multiDimension:!1}]}),(0,V.isNotEmpty)(t.imageMargin)&&o.push({type:"dimension",id:"imageMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e," .guten-testimonial-item .profile-image")}),(0,V.isNotEmpty)(t.imagePadding)&&o.push({type:"dimension",id:"imagePadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e," .guten-testimonial-item .profile-image")}),(0,V.isNotEmpty)(t.bottomSpace)&&o.push({type:"plain",id:"bottomSpace",responsive:!0,selector:".".concat(e,".guten-testimonials.style-1 .swiper-container .guten-testimonial-item .testimonial-box .comment-bio"),properties:[{name:"bottom",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,V.isNotEmpty)(t.imageWidth)&&o.push({type:"plain",id:"imageWidth",responsive:!0,selector:".".concat(e,".guten-testimonials .swiper-container .guten-testimonial-item .testimonial-box .profile-image img"),properties:[{name:"width",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,V.isNotEmpty)(t.imageHeight)&&o.push({type:"plain",id:"imageHeight",responsive:!0,selector:".".concat(e,".guten-testimonials .swiper-container .guten-testimonial-item .testimonial-box .profile-image img"),properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),o}(e,t,o),o=function(e,t,o){return(0,V.isNotEmpty)(t.ratingAlignment)&&o.push({type:"plain",id:"ratingAlignment",responsive:!0,selector:".".concat(e,".style-1 ul.rating-stars, \n .").concat(e,".style-2 ul.rating-stars, \n .").concat(e,".style-3 ul.rating-stars, \n .").concat(e,".style-4 ul.rating-stars"),properties:[{name:"justify-content",valueType:"direct"}]}),(0,V.isNotEmpty)(t.ratingColor)&&o.push({type:"color",id:"ratingColor",selector:".".concat(e,".style-1 .guten-testimonial-item ul.rating-stars li, \n .").concat(e,".style-2 .guten-testimonial-item ul.rating-stars li, \n .").concat(e,".style-3 .guten-testimonial-item ul.rating-stars li, \n .").concat(e,".style-4 .guten-testimonial-item ul.rating-stars li"),properties:[{name:"color",valueType:"direct"}]}),(0,V.isNotEmpty)(t.ratingColorHover)&&o.push({type:"color",id:"ratingColorHover",selector:".".concat(e,".style-1 .guten-testimonial-item:hover ul.rating-stars li, \n .").concat(e,".style-2 .guten-testimonial-item:hover ul.rating-stars li, \n .").concat(e,".style-3 .guten-testimonial-item:hover ul.rating-stars li, \n .").concat(e,".style-4 .guten-testimonial-item:hover ul.rating-stars li"),properties:[{name:"color",valueType:"direct"}]}),(0,V.isNotEmpty)(t.ratingIconSize)&&o.push({type:"plain",id:"ratingIconSize",responsive:!0,selector:".".concat(e," ul.rating-stars li i"),properties:[{name:"font-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,V.isNotEmpty)(t.ratingIconGap)&&o.push({type:"plain",id:"ratingIconGap",responsive:!0,selector:".".concat(e,".style-1 ul.rating-stars, \n .").concat(e,".style-2 ul.rating-stars, \n .").concat(e,".style-3 ul.rating-stars, \n .").concat(e,".style-4 ul.rating-stars"),properties:[{name:"gap",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,V.isNotEmpty)(t.ratingMargin)&&o.push({type:"dimension",id:"ratingMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e,".style-1 ul.rating-stars, \n .").concat(e,".style-2 ul.rating-stars, \n .").concat(e,".style-3 ul.rating-stars, \n .").concat(e,".style-4 ul.rating-stars,\n .").concat(e,".style-1 .comment-header ul.rating-stars, \n .").concat(e,".style-2 .comment-header ul.rating-stars, \n .").concat(e,".style-3 .comment-header ul.rating-stars, \n .").concat(e,".style-4 .comment-header ul.rating-stars")}),o}(e,t,o),o=(0,l.backgroundStyle)({attributes:t,data:o,elementId:e}),(0,V.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,V.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,V.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,V.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,V.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,V.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,V.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,V.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,V.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,V.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,V.isNotEmpty)(t.animation)&&(0,V.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,V.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,V.isNotEmpty)(t.positioningType)&&(0,V.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,V.isNotEmpty)(t.positioningWidth)&&(0,V.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,V.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,V.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,V.isNotEmpty)(t.positioningLeft)&&(0,V.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,V.isNotEmpty)(t.positioningRight)&&(0,V.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,V.isNotEmpty)(t.positioningTop)&&(0,V.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,V.isNotEmpty)(t.positioningBottom)&&(0,V.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),[].concat((0,H.A)(o),(0,H.A)((0,W.applyFilters)("gutenverse.testimonials.blockStyle",[],{elementId:e,attributes:t})))};function U(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function q(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?U(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):U(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var $=(0,r.compose)(i.withPartialRender,i.withMouseMoveEffect)((function(e){var t=(0,z.dispatch)("core/block-editor").selectBlock,o=e.clientId,n=e.attributes,r=e.setAttributes,i=n.elementId,c=n.testimonialData,u=n.contentType,d=n.showQuote,y=n.iconQuote,m=n.quoteOverride,v=n.contentPosition,h=n.showRating,b=n.iconRatingHalf,f=n.iconRatingFull,x=n.starPosition,w=(0,L.useAnimationEditor)(n),S=(0,L.useDisplayEditor)(n),_=(0,M.useRef)(),j=(0,a.useBlockProps)({className:(0,s.classnames)("guten-element","guten-testimonials","no-margin",i,w,S,"style-".concat(u),"quote-override"),ref:_});return(0,F.useGenerateElementId)(o,i,_),(0,F.useDynamicStyle)(i,n,G,_),(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(s.CopyElementToolbar,q({},e)),(0,g.jsx)(l.BlockPanelController,{panelList:B,props:e,elementRef:_}),(0,g.jsx)("div",q(q({},j),{},{children:(0,g.jsx)("div",{className:"testimonials-list",onClick:function(){t(o)},children:(0,g.jsx)(A.A,q(q({},(0,I.I)(n)),{},{shouldSwiperUpdate:!0,rebuildOnUpdate:!0,children:c.map((function(e,t){return(0,g.jsx)("div",{children:(0,g.jsx)(R,q(q({},e),{},{contentType:u,showQuote:d,iconQuote:y,quoteOverride:m,contentPosition:v,showRating:h,iconRatingFull:f,iconRatingHalf:b,starPosition:x,frontEnd:!1,setAttributes:r,index:t,testimonialData:c,src:(0,p.getImageSrc)(e.src)}))},t)}))}))})}))]})}));const Y=$;function X(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function J(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?X(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):X(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var Q=(0,r.compose)(i.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,n=t.testimonialData,r=t.contentType,i=t.showNav,l=t.showArrow,c=t.showQuote,p=t.iconQuote,u=t.quoteOverride,d=t.contentPosition,y=t.showRating,m=t.iconRatingHalf,v=t.iconRatingFull,h=t.starPosition,b=(0,L.useAnimationFrontend)(t),f=(0,L.useDisplayFrontend)(t),x=(0,s.classnames)("guten-element","guten-testimonials",o,b,f,"style-".concat(r),"quote-override");return(0,g.jsx)("div",J(J({},a.useBlockProps.save({className:x})),{},{children:(0,g.jsx)("div",{className:"testimonials-list",children:(0,g.jsxs)("div",J(J({id:o,className:"swiper-container"},(0,V.swiperData)(t)),{},{children:[(0,g.jsx)("div",{className:"swiper-wrapper",children:n.map((function(e,t){return(0,g.jsx)("div",{className:"swiper-slide",children:(0,g.jsx)(R,J(J({},e),{},{contentType:r,showQuote:c,iconQuote:p,quoteOverride:u,contentPosition:d,showRating:y,iconRatingFull:v,iconRatingHalf:m,starPosition:h,frontEnd:!0,index:t,src:(o=e.src,o&&o.image?o.image:"")}))},t);var o}))}),i&&(0,g.jsx)("div",{className:"swiper-pagination"}),l&&(0,g.jsx)("div",{className:"swiper-button-prev"}),l&&(0,g.jsx)("div",{className:"swiper-button-next"})]}))})}))}));const Z=Q,K=JSON.parse('{"apiVersion":2,"name":"gutenverse/testimonials","title":"Testimonials","description":"Showcase your client\'s or people\'s testimonals.","category":"gutenverse-element","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"mouseMoveEffect":{"type":"object","copyStyle":true},"contentType":{"type":"integer","default":1},"contentPosition":{"type":"string","copyStyle":true},"starPosition":{"type":"string","copyStyle":true},"spacing":{"type":"object","default":{},"copyStyle":true},"itemShowed":{"type":"object","default":{}},"autoplay":{"type":"boolean","default":false},"autoplayTimeout":{"type":"integer","default":2400},"loop":{"type":"boolean","default":false},"showNav":{"type":"boolean","default":false},"showArrow":{"type":"boolean","default":false},"showQuote":{"type":"boolean","default":false},"showRating":{"type":"boolean","default":false},"iconQuote":{"type":"string","default":"fas fa-quote-left"},"iconRatingFull":{"type":"string","default":"fas fa-star"},"iconRatingHalf":{"type":"string","default":"fas fa-star-half"},"testimonialDataRichText":{"type":"array","source":"query","selector":".testimonial-content","query":{"name":{"type":"string","source":"html","selector":".profile-name"},"description":{"type":"string","source":"html","selector":".profile-des"},"comment":{"type":"string","source":"html","selector":".profile-comment"}}},"testimonialData":{"type":"array","default":[{"name":"John Doe","description":"Lorem Ipsum","comment":"Lorem Ipsum Donor Mannor"},{"name":"John Doe","description":"Lorem Ipsum","comment":"Lorem Ipsum Donor Mannor"},{"name":"John Doe","description":"Lorem Ipsum","comment":"Lorem Ipsum Donor Mannor"},{"name":"John Doe","description":"Lorem Ipsum","comment":"Lorem Ipsum Donor Mannor"}]},"dotsSpacingHorizontal":{"type":"object","copyStyle":true},"dotsSpacingVertical":{"type":"object","copyStyle":true},"dotsWidth":{"type":"object","copyStyle":true},"dotsHeight":{"type":"object","copyStyle":true},"dotsRadius":{"type":"object","copyStyle":true},"dotsColor":{"type":"object","default":{"Desktop":{"r":0,"g":0,"b":0,"a":0.3}},"copyStyle":true},"dotsActiveWidth":{"type":"object","copyStyle":true},"dotsActiveHeight":{"type":"object","copyStyle":true},"dotsActiveRadius":{"type":"object","copyStyle":true},"dotsActiveColor":{"type":"object","default":{"Desktop":{"r":0,"g":0,"b":255,"a":1}},"copyStyle":true},"arrowFontSize":{"type":"object","copyStyle":true},"arrowColor":{"type":"object","copyStyle":true},"arrowBgColor":{"type":"object","copyStyle":true},"arrowPadding":{"type":"object","copyStyle":true},"arrowMargin":{"type":"object","copyStyle":true},"arrowOpacity":{"type":"object","copyStyle":true},"arrowBorder":{"type":"object","copyStyle":true},"arrowBorderResponsive":{"type":"object","migrate":{"attr":"arrowBorder","type":"border"},"copyStyle":true},"arrowBoxShadow":{"type":"object","copyStyle":true},"arrowHoverColor":{"type":"object","copyStyle":true},"arrowHoverBgColor":{"type":"object","copyStyle":true},"arrowHoverPadding":{"type":"object","copyStyle":true},"arrowHoverMargin":{"type":"object","copyStyle":true},"arrowHoverOpacity":{"type":"object","copyStyle":true},"arrowBorderHover":{"type":"object","copyStyle":true},"arrowBorderHoverResponsive":{"type":"object","migrate":{"attr":"arrowBorderHover","type":"border"},"copyStyle":true},"arrowBoxShadowHover":{"type":"object","copyStyle":true},"arrowDisabledColor":{"type":"object","copyStyle":true},"arrowDisabledBgColor":{"type":"object","copyStyle":true},"arrowDisabledPadding":{"type":"object","copyStyle":true},"arrowDisabledMargin":{"type":"object","copyStyle":true},"arrowDisabledOpacity":{"type":"object","copyStyle":true},"arrowBorderDisabled":{"type":"object","copyStyle":true},"arrowBoxShadowDisabled":{"type":"object","copyStyle":true},"alignText":{"type":"object","copyStyle":true},"containerMargin":{"type":"object","copyStyle":true},"containerPadding":{"type":"object","copyStyle":true},"containerBackground":{"type":"object","copyStyle":true},"containerBackgroundHover":{"type":"object","copyStyle":true},"containerBorder":{"type":"object","copyStyle":true},"containerBorderResponsive":{"type":"object","migrate":{"attr":"containerBorder","type":"border"},"copyStyle":true},"containerBoxShadow":{"type":"object","copyStyle":true},"containerBorderHover":{"type":"object","copyStyle":true},"containerBorderHoverResponsive":{"type":"object","migrate":{"attr":"containerBorderHover","type":"border"},"copyStyle":true},"containerBoxShadowHover":{"type":"object","copyStyle":true},"nameTypography":{"type":"object","copyStyle":true},"designationTypography":{"type":"object","copyStyle":true},"designationSpacing":{"type":"object","copyStyle":true},"descriptionTypography":{"type":"object","copyStyle":true},"descriptionMargin":{"type":"object","copyStyle":true},"quoteSize":{"type":"object","copyStyle":true},"nameNormalColor":{"type":"object","copyStyle":true},"nameHoverColor":{"type":"object","copyStyle":true},"designationNormalColor":{"type":"object","copyStyle":true},"designationHoverColor":{"type":"object","copyStyle":true},"descriptionNormalColor":{"type":"object","copyStyle":true},"descriptionHoverColor":{"type":"object","copyStyle":true},"quoteNormalColor":{"type":"object","copyStyle":true},"quoteHoverColor":{"type":"object","copyStyle":true},"imageBackground":{"type":"object","copyStyle":true},"imageBorder":{"type":"object","copyStyle":true},"imageBorderResponsive":{"type":"object","migrate":{"attr":"imageBorder","type":"border"},"copyStyle":true},"imageRadius":{"type":"object","copyStyle":true},"imageMargin":{"type":"object","copyStyle":true},"imagePadding":{"type":"object","copyStyle":true},"bottomSpace":{"type":"object","copyStyle":true},"imageWidth":{"type":"object","copyStyle":true},"imageHeight":{"type":"object","copyStyle":true},"quoteOverride":{"type":"boolean","default":false,"copyStyle":true},"quotePositionTop":{"type":"object","copyStyle":true},"quotePositionLeft":{"type":"object","copyStyle":true},"background":{"type":"object","default":{},"copyStyle":true},"backgroundHover":{"type":"object","default":{},"copyStyle":true},"backgroundTransition":{"type":"object","copyStyle":true,"default":{}},"border":{"type":"object","copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"borderHover":{"type":"object","copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadowHover":{"type":"object","copyStyle":true},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"animation":{"type":"object","default":{},"copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"positioningType":{"type":"object","copyStyle":true},"positioningWidth":{"type":"object","copyStyle":true},"positioningAlign":{"type":"object","copyStyle":true},"positioningLocation":{"type":"string","copyStyle":true},"positioningLeft":{"type":"object","copyStyle":true},"positioningRight":{"type":"object","copyStyle":true},"positioningTop":{"type":"object","copyStyle":true},"positioningBottom":{"type":"object","copyStyle":true},"transform":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"ratingAlignment":{"type":"object","copyStyle":true},"ratingColor":{"type":"object","copyStyle":true},"ratingColorHover":{"type":"object","copyStyle":true},"ratingIconSize":{"type":"object","copyStyle":true},"ratingIconGap":{"type":"object","copyStyle":true},"ratingMargin":{"type":"object","copyStyle":true},"condition":{"type":"object","default":{}}},"supports":{"className":false},"keywords":["testimonial","review"]}');var ee=o(4968);const te=function(e){var t=e.src,o=e.name,n=e.lazy,r=e.description,i=e.comment,a=e.rating,s=e.contentType,l=e.showQuote,c=e.iconQuote,p=e.quoteOverride,u=e.contentPosition,d=e.showRating,y=e.iconRatingFull,m=e.iconRatingHalf,v=e.starPosition,h=p?"quote-override":"",b=function(e){return e&&e.image?e.image:ee.oldImagePlaceholder};return(0,g.jsx)("div",{className:"guten-testimonial-item",children:(0,g.jsx)("div",{className:"testimonial-box hover-from-left",children:function(){var e=(0,g.jsx)("div",{className:"comment-content",children:(0,g.jsx)("p",{children:i})}),p=d&&(0,g.jsxs)(g.Fragment,{children:[Array.from({length:a},(function(e){return(0,g.jsx)("li",{children:(0,g.jsx)("i",{className:y})},e)})),parseFloat(a)!==Math.floor(a)?(0,g.jsx)("li",{children:(0,g.jsx)("i",{className:m})}):null]});switch(s){case 1:return(0,g.jsxs)("div",{className:"testimonial-slider hover-from-left",children:[(0,g.jsxs)("div",{className:"comment-bio",children:[(0,g.jsx)("div",{className:"profile-image",children:n?(0,g.jsx)("img",{loading:"lazy",src:b(t),alt:o}):(0,g.jsx)("img",{src:b(t),alt:o})}),(0,g.jsx)("ul",{className:"rating-stars",children:p}),(0,g.jsxs)("span",{className:"profile-info",children:[(0,g.jsx)("strong",{className:"profile-name",children:o}),(0,g.jsx)("p",{className:"profile-des",children:r})]})]}),(0,g.jsxs)("div",{className:"comment-content",children:[l&&(0,g.jsx)("div",{className:"".concat(h," icon-content"),children:(0,g.jsx)("i",{"aria-hidden":"true",className:"".concat(c)})}),(0,g.jsx)("p",{children:i})]})]});case 2:return(0,g.jsxs)(g.Fragment,{children:[(void 0===v||"above-image"===v)&&(0,g.jsx)("div",{className:"comment-header",children:(0,g.jsx)("ul",{className:"rating-stars",children:p})}),void 0!==u&&"above-image"===u&&e,(0,g.jsxs)("div",{className:"comment-bio",children:[(0,g.jsxs)("div",{className:"bio-details",children:[(0,g.jsx)("div",{className:"profile-image",children:n?(0,g.jsx)("img",{loading:"lazy",src:b(t),alt:o}):(0,g.jsx)("img",{src:b(t),alt:o})}),(0,g.jsxs)("span",{className:"profile-info",children:[(0,g.jsx)("strong",{className:"profile-name",children:o}),(0,g.jsx)("p",{className:"profile-des",children:r})]})]}),l&&(0,g.jsx)("div",{className:"".concat(h," icon-content"),children:(0,g.jsx)("i",{"aria-hidden":"true",className:"".concat(c)})})]}),(void 0===u||"below-image"===u)&&e,void 0!==v&&"below-image"===v&&(0,g.jsx)("div",{className:"comment-header",children:(0,g.jsx)("ul",{className:"rating-stars",children:p})})]});case 3:return(0,g.jsxs)(g.Fragment,{children:[l&&(0,g.jsx)("div",{className:"".concat(h," icon-content"),children:(0,g.jsx)("i",{"aria-hidden":"true",className:"".concat(c)})}),void 0!==u&&"above-image"===u&&e,void 0!==v&&"above-image"===v&&(0,g.jsx)("ul",{className:"rating-stars",children:p}),(0,g.jsx)("div",{className:"comment-bio",children:(0,g.jsx)("div",{className:"bio-details",children:(0,g.jsx)("div",{className:"profile-image",children:n?(0,g.jsx)("img",{loading:"lazy",src:b(t),alt:o}):(0,g.jsx)("img",{src:b(t),alt:o})})})}),(void 0===v||"below-image"===v)&&(0,g.jsx)("ul",{className:"rating-stars",children:p}),(void 0===u||"below-image"===u)&&e,(0,g.jsxs)("span",{className:"profile-info",children:[(0,g.jsx)("strong",{className:"profile-name",children:o}),(0,g.jsx)("p",{className:"profile-des",children:r})]})]});case 4:return(0,g.jsxs)(g.Fragment,{children:[l&&(0,g.jsx)("div",{className:"".concat(h," icon-content"),children:(0,g.jsx)("i",{"aria-hidden":"true",className:"".concat(c)})}),void 0!==u&&"above-image"===u&&e,(0,g.jsx)("div",{className:"comment-bio",children:(0,g.jsxs)("div",{className:"bio-details",children:[void 0!==v&&"above-image"===v&&(0,g.jsx)("ul",{className:"rating-stars",children:p}),(0,g.jsx)("div",{className:"profile-image",children:n?(0,g.jsx)("img",{loading:"lazy",src:b(t),alt:o}):(0,g.jsx)("img",{src:b(t),alt:o})}),(void 0===v||"below-image"===v)&&(0,g.jsx)("ul",{className:"rating-stars",children:p}),(0,g.jsxs)("span",{className:"profile-info",children:[(0,g.jsx)("strong",{className:"profile-name",children:o}),(0,g.jsx)("p",{className:"profile-des",children:r})]})]})}),(void 0===u||"below-image"===u)&&e]})}}()})})};function oe(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function ne(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?oe(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):oe(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var re=(0,r.compose)(i.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,n=t.testimonialData,r=t.contentType,i=t.showNav,a=t.showArrow,l=t.showQuote,c=t.iconQuote,p=t.quoteOverride,u=t.contentPosition,d=t.showRating,y=t.iconRatingHalf,m=t.iconRatingFull,v=t.starPosition,h=(0,L.useAnimationFrontend)(t),b=(0,L.useDisplayFrontend)(t),f=(0,s.classnames)("guten-element","guten-testimonials",o,h,b,"style-".concat(r),"quote-override");return(0,g.jsx)("div",{className:f,children:(0,g.jsx)("div",{className:"testimonials-list",children:(0,g.jsxs)("div",ne(ne({id:o,className:"swiper-container"},(0,V.swiperData)(t)),{},{children:[(0,g.jsx)("div",{className:"swiper-wrapper",children:n.map((function(e,t){return(0,g.jsx)("div",{className:"swiper-slide",children:(0,g.jsx)(te,ne(ne({},e),{},{contentType:r,showQuote:l,iconQuote:c,quoteOverride:p,contentPosition:u,showRating:d,iconRatingFull:m,iconRatingHalf:y,starPosition:v}))},t)}))}),i&&(0,g.jsx)("div",{className:"swiper-pagination"}),a&&(0,g.jsx)("div",{className:"swiper-button-prev"}),a&&(0,g.jsx)("div",{className:"swiper-button-next"})]}))})})}));const ie=re,ae=function(e){var t=e.src,o=e.name,n=e.lazy,r=e.description,i=e.comment,s=e.rating,l=e.contentType,c=e.showQuote,p=e.iconQuote,u=e.quoteOverride,d=e.contentPosition,y=e.showRating,m=e.iconRatingFull,v=e.iconRatingHalf,h=e.starPosition,b=e.frontEnd,f=e.setAttributes,x=e.index,w=e.testimonialData,S=u?"quote-override":"",_=function(e){return e&&e.image?e.image:ee.oldImagePlaceholder},j=function(e,t,o,n,r){return b?(0,g.jsx)(a.RichText.Content,{className:o,tagName:t,value:e}):(0,g.jsx)(a.RichText,{className:o,tagName:t,value:e,onChange:function(e){var t=(0,H.A)(w);t[r][n]=e,f({testimonialData:t})}})};return(0,g.jsx)("div",{className:"guten-testimonial-item",children:(0,g.jsx)("div",{className:"testimonial-box hover-from-left",children:function(){var e=(0,g.jsx)("div",{className:"comment-content",children:j(i,"p","profile-comment","comment",x)}),a=y&&(0,g.jsxs)(g.Fragment,{children:[Array.from({length:s},(function(e){return(0,g.jsx)("li",{children:(0,g.jsx)("i",{className:m})},e)})),parseFloat(s)!==Math.floor(s)?(0,g.jsx)("li",{children:(0,g.jsx)("i",{className:v})}):null]});switch(l){case 1:return(0,g.jsxs)("div",{className:"testimonial-slider hover-from-left testimonial-content",children:[(0,g.jsxs)("div",{className:"comment-bio",children:[(0,g.jsx)("div",{className:"profile-image",children:n?(0,g.jsx)("img",{loading:"lazy",src:_(t),alt:o}):(0,g.jsx)("img",{src:_(t),alt:o})}),(0,g.jsx)("ul",{className:"rating-stars",children:a}),(0,g.jsxs)("span",{className:"profile-info",children:[j(o,"strong","profile-name","name",x),j(r,"p","profile-des","description",x)]})]}),(0,g.jsxs)("div",{className:"comment-content",children:[c&&(0,g.jsx)("div",{className:"".concat(S," icon-content"),children:(0,g.jsx)("i",{"aria-hidden":"true",className:"".concat(p)})}),j(i,"p","profile-comment","comment",x)]})]});case 2:return(0,g.jsxs)("div",{className:"testimonial-content",children:[(void 0===h||"above-image"===h)&&(0,g.jsx)("div",{className:"comment-header",children:(0,g.jsx)("ul",{className:"rating-stars",children:a})}),void 0!==d&&"above-image"===d&&e,(0,g.jsxs)("div",{className:"comment-bio",children:[(0,g.jsxs)("div",{className:"bio-details",children:[(0,g.jsx)("div",{className:"profile-image",children:n?(0,g.jsx)("img",{loading:"lazy",src:_(t),alt:o}):(0,g.jsx)("img",{src:_(t),alt:o})}),(0,g.jsxs)("span",{className:"profile-info",children:[j(o,"strong","profile-name","name",x),j(r,"p","profile-des","description",x)]})]}),c&&(0,g.jsx)("div",{className:"".concat(S," icon-content"),children:(0,g.jsx)("i",{"aria-hidden":"true",className:"".concat(p)})})]}),(void 0===d||"below-image"===d)&&e,void 0!==h&&"below-image"===h&&(0,g.jsx)("div",{className:"comment-header",children:(0,g.jsx)("ul",{className:"rating-stars",children:a})})]});case 3:return(0,g.jsxs)("div",{className:"testimonial-content",children:[c&&(0,g.jsx)("div",{className:"".concat(S," icon-content"),children:(0,g.jsx)("i",{"aria-hidden":"true",className:"".concat(p)})}),void 0!==d&&"above-image"===d&&e,void 0!==h&&"above-image"===h&&(0,g.jsx)("ul",{className:"rating-stars",children:a}),(0,g.jsx)("div",{className:"comment-bio",children:(0,g.jsx)("div",{className:"bio-details",children:(0,g.jsx)("div",{className:"profile-image",children:n?(0,g.jsx)("img",{loading:"lazy",src:_(t),alt:o}):(0,g.jsx)("img",{src:_(t),alt:o})})})}),(void 0===h||"below-image"===h)&&(0,g.jsx)("ul",{className:"rating-stars",children:a}),(void 0===d||"below-image"===d)&&e,(0,g.jsxs)("span",{className:"profile-info",children:[j(o,"strong","profile-name","name",x),j(r,"p","profile-des","description",x)]})]});case 4:return(0,g.jsxs)("div",{className:"testimonial-content",children:[c&&(0,g.jsx)("div",{className:"".concat(S," icon-content"),children:(0,g.jsx)("i",{"aria-hidden":"true",className:"".concat(p)})}),void 0!==d&&"above-image"===d&&e,(0,g.jsx)("div",{className:"comment-bio",children:(0,g.jsxs)("div",{className:"bio-details",children:[void 0!==h&&"above-image"===h&&(0,g.jsx)("ul",{className:"rating-stars",children:a}),(0,g.jsx)("div",{className:"profile-image",children:n?(0,g.jsx)("img",{loading:"lazy",src:_(t),alt:o}):(0,g.jsx)("img",{src:_(t),alt:o})}),(void 0===h||"below-image"===h)&&(0,g.jsx)("ul",{className:"rating-stars",children:a}),(0,g.jsxs)("span",{className:"profile-info",children:[j(o,"strong","profile-name","name",x),j(r,"p","profile-des","description",x)]})]})}),(void 0===d||"below-image"===d)&&e]})}}()})})};function se(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function le(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?se(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):se(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var ce=(0,r.compose)(i.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,n=t.testimonialData,r=t.contentType,i=t.showNav,a=t.showArrow,l=t.showQuote,c=t.iconQuote,p=t.quoteOverride,u=t.contentPosition,d=t.showRating,y=t.iconRatingHalf,m=t.iconRatingFull,v=t.starPosition,h=(0,L.useAnimationFrontend)(t),b=(0,L.useDisplayFrontend)(t),f=(0,s.classnames)("guten-element","guten-testimonials",o,h,b,"style-".concat(r),"quote-override");return(0,g.jsx)("div",{className:f,children:(0,g.jsx)("div",{className:"testimonials-list",children:(0,g.jsxs)("div",le(le({id:o,className:"swiper-container"},(0,V.swiperData)(t)),{},{children:[(0,g.jsx)("div",{className:"swiper-wrapper",children:n.map((function(e,t){return(0,g.jsx)("div",{className:"swiper-slide",children:(0,g.jsx)(ae,le(le({},e),{},{contentType:r,showQuote:l,iconQuote:c,quoteOverride:p,contentPosition:u,showRating:d,iconRatingFull:m,iconRatingHalf:y,starPosition:v,frontEnd:!0,index:t}))},t)}))}),i&&(0,g.jsx)("div",{className:"swiper-pagination"}),a&&(0,g.jsx)("div",{className:"swiper-button-prev"}),a&&(0,g.jsx)("div",{className:"swiper-button-next"})]}))})})}));const pe=ce;var ue=o(4889),de=K.name,ye=K.attributes,ge={icon:(0,g.jsx)(ue.lr,{}),example:{viewportWidth:750,attributes:{autoplay:!0,itemShowed:{Desktop:"2"},containerBackground:{type:"default",color:{r:255,g:255,b:255,a:1}},testimonialData:[{src:{image:"https://picsum.photos/id/1010/400/400"},name:"Bradán Tania",description:"Product Manager",comment:"Cras vel malesuada eros efficitur dapibus fringilla. Nulla mauris tortor, tincidunt eget sollicitudin."},{src:{image:"https://picsum.photos/id/1005/400/400"},name:"Rainbow Medraut",description:"Designer",comment:"Cras vel malesuada eros mattis orci et dui semper Donec tempus aliquam ultricies."},{src:{image:"https://picsum.photos/id/1013/400/400"},name:"Kendall Ruta",description:"CEO / Founder",comment:"Cras vel malesuada eros, non ullamcorper eros. Curabitur sed urna tellus. Nullam mattis orci et dui semper ornare. Proin cursus nisl eu urna tincidunt, nec tincidunt odio volutpat"},{src:{image:"https://picsum.photos/id/1015/400/400"},name:"Edu Aniket",description:"Programmer",comment:"Donec nisi massa, hendrerit sed nulla et, consequat vestibulum velit. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. "}]}},edit:Y,save:Z,deprecated:[{attributes:ye,save:ie},{attributes:ye,save:pe}]}},8825:(e,t,o)=>{var n=o(7456);e.exports=function(e){var t=n(e),o=t%1;return t==t?o?t-o:t:0}},8877:e=>{e.exports=function(e){return function(t){return e(t)}}},8918:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>h,name:()=>v,settings:()=>b});var n=o(4404),r=o(6065),i=o(7723),a=o(4597),s=o(9491),l=o(2188),c=o(9984),p=o(2449),u=o(4889),d=o(790);function y(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function g(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?y(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):y(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var m=(0,s.compose)(l.withPartialRender,(0,l.withCustomStyle)(a.d))((function(e){var t=g(g({},e),{},{shareType:"line",serverPath:"gutenverse/social-share-line"});return(0,d.jsx)(c.A,g({},t))})),v="gutenverse/social-share-line",h=g(g({},p),{},{title:(0,i.__)("Gutenverse Social Share Line","gutenverse"),description:(0,i.__)("Gutenverse Social Share Line","gutenverse"),attributes:g(g({},p.attributes),{},{text:{type:"string",default:(0,i.__)("Share on Line","gutenverse")}}),keywords:[].concat((0,n.A)(p.keywords),[(0,i.__)("Line","gutenverse")])}),b={icon:(0,d.jsx)(u.py,{}),edit:m}},8928:(e,t,o)=>{var n="object"==typeof o.g&&o.g&&o.g.Object===Object&&o.g;e.exports=n},8930:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(9246);function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var n,r,i,a,s=[],l=!0,c=!1;try{if(i=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;l=!1}else for(;!(l=(n=i.call(o)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=o.return&&(a=o.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(e,t)||(0,n.A)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},8976:e=>{var t=/\s/;e.exports=function(e){for(var o=e.length;o--&&t.test(e.charAt(o)););return o}},9232:(e,t,o)=>{e=o.nmd(e);var n=o(8453),r=o(2055),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,s=a&&a.exports===i?n.Buffer:void 0,l=(s?s.isBuffer:void 0)||r;e.exports=l},9246:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(995);function r(e,t){if(e){if("string"==typeof e)return(0,n.A)(e,t);var o={}.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?(0,n.A)(e,t):void 0}}},9358:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},9491:e=>{"use strict";e.exports=window.wp.compose},9644:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>we,name:()=>Te,settings:()=>Ce});var n=o(6065),r=o(8930),i=o(9491),a=o(6087),s=o(4715),l=o(3482),c=o(7723),p=o(596),u=o(4320),d=function(e){var t=e.elementId;return[{id:"badgeTextColor",label:(0,c.__)("Text Color","gutenverse"),component:p.ColorControl,liveStyle:[{type:"color",id:"badgeTextColor",selector:".".concat(t," .icon-box-badge .badge-text"),properties:[{name:"color",valueType:"direct"}]}]},{id:"badgePadding",label:(0,c.__)("Padding","gutenverse"),component:p.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"badgeMargin",label:(0,c.__)("Margin","gutenverse"),component:p.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"badgeRadius",label:(0,c.__)("Border Radius","gutenverse"),component:p.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"badgeBackground",component:p.BackgroundControl,options:["default","gradient"],liveStyle:[{type:"background",id:"badgeBackground",selector:".".concat(t," .icon-box-badge .badge-text")}]},{id:"badgeTypography",label:(0,c.__)("Typography","gutenverse"),component:p.TypographyControl},{id:"badgeShadow",label:(0,c.__)("Box Shadow","gutenverse"),component:p.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"badgeShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t," .icon-box-badge .badge-text")}]}]},y=function(e){var t=e.elementId;return[{id:"titlePadding",label:(0,c.__)("Title Padding","gutenverse"),component:p.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"titleMargin",label:(0,c.__)("Title Margin","gutenverse"),component:p.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"titleColor",label:(0,c.__)("Title Color","gutenverse"),component:p.ColorControl,liveStyle:[{type:"color",id:"titleColor",selector:".".concat(t," .icon-box.icon-box-body .title"),properties:[{name:"color",valueType:"direct"}]}]},{id:"titleHoverColor",label:(0,c.__)("Title Hover Color","gutenverse"),component:p.ColorControl,liveStyle:[{type:"color",id:"titleHoverColor",selector:".".concat(t,":hover .icon-box.icon-box-body .title"),properties:[{name:"color",valueType:"direct"}]}]},{id:"titleTypography",label:(0,c.__)("Title Typography","gutenverse"),component:p.TypographyControl},{id:"descMargin",label:(0,c.__)("Description Margin","gutenverse"),component:p.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"descColor",label:(0,c.__)("Description Color","gutenverse"),component:p.ColorControl,liveStyle:[{type:"color",id:"descColor",selector:".".concat(t," .icon-box.icon-box-body .icon-box-description"),properties:[{name:"color",valueType:"direct"}]}]},{id:"descHoverColor",label:(0,c.__)("Description Hover Color","gutenverse"),component:p.ColorControl,liveStyle:[{type:"color",id:"descHoverColor",selector:".".concat(t,":hover .icon-box.icon-box-body .icon-box-description"),properties:[{name:"color",valueType:"direct"}]}]},{id:"descTypography",label:(0,c.__)("Description Typography","gutenverse"),component:p.TypographyControl},{id:"watermarkColor",label:(0,c.__)("Watermark Color","gutenverse"),component:p.ColorControl,liveStyle:[{type:"color",id:"watermarkColor",selector:".".concat(t," .hover-watermark i"),properties:[{name:"color",valueType:"direct"}]}]},{id:"watermarkSize",label:(0,c.__)("Watermark Font Size","gutenverse"),component:p.RangeControl,allowDeviceControl:!0,unit:"px",min:1,max:1e3,step:1,liveStyle:[{type:"plain",id:"watermarkSize",selector:".".concat(t," .hover-watermark i"),properties:[{name:"font-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]}]},g=o(5255),m=o(790),v=function(e){var t=e.elementId,o=e.watermarkShow,n=e.badgeShow,r=e.heightControl,i=(0,g.getDeviceType)();return[{id:"childNotice",component:p.AlertControl,children:(0,m.jsx)(m.Fragment,{children:(0,m.jsx)("span",{children:(0,c.__)("If you include a button within this block, the body link feature will be disabled. This is because you cannot have a link inside another link.")})})},{id:"hoverWithParent",label:(0,c.__)("Button Hover With Card","gutenverse"),component:p.CheckboxControl},{id:"watermarkShow",label:(0,c.__)("Enable Hover Watermark?","gutenverse"),component:p.CheckboxControl},{id:"watermarkIcon",show:o,label:(0,c.__)("Hover Watermark Icon","gutenverse"),component:p.IconControl},{id:"iconPosition",label:(0,c.__)("Icon Position","gutenverse"),show:"Desktop"===i,component:p.SelectControl,showDeviceControlOnly:!0,options:[{value:"top",label:"Top"},{value:"left",label:"Left"},{value:"right",label:"Right"},{value:"bottom",label:"Bottom"}]},{id:"iconPositionResponsive",label:(0,c.__)("Icon Position","gutenverse"),show:"Desktop"!==i,component:p.SelectControl,allowDeviceControl:!0,options:[{value:"top",label:"Top"},{value:"left",label:"Left"},{value:"right",label:"Right"},{value:"bottom",label:"Bottom"}]},{id:"align",label:(0,c.__)("Alignment","gutenverse"),component:p.IconRadioControl,allowDeviceControl:!0,options:[{label:(0,c.__)("Align Left","gutenverse"),value:"flex-start",icon:(0,m.jsx)(l.AlignLeft,{})},{label:(0,c.__)("Align Center","gutenverse"),value:"center",icon:(0,m.jsx)(l.AlignCenter,{})},{label:(0,c.__)("Align Right","gutenverse"),value:"flex-end",icon:(0,m.jsx)(l.AlignRight,{})}]},{id:"heightControl",label:(0,c.__)("Icon Box Height","gutenverse"),component:p.SelectControl,options:[{label:(0,c.__)("Default","gutenverse"),value:"default"},{label:(0,c.__)("Minimum Height","gutenverse"),value:"min"},{label:(0,c.__)("Fit Screen","gutenverse"),value:"fit"}]},{id:"height",label:(0,c.__)("Minimum Height","gutenverse"),show:"min"===r,component:p.SizeControl,allowDeviceControl:!0,units:{px:{text:"px",min:58,max:1440,step:1},vh:{text:"vh",min:5,max:100,step:1},vw:{text:"vw",min:5,max:100,step:1}},liveStyle:[{type:"unitPoint",id:"height",responsive:!0,selector:".guten-icon-box.".concat(t," .guten-icon-box-wrapper"),properties:[{name:"min-height",valueType:"direct"}]}]},{id:"titleTag",label:(0,c.__)("Title HTML Tag","gutenverse"),component:p.SelectControl,options:[{label:(0,c.__)("H1"),value:"h1"},{label:(0,c.__)("H2"),value:"h2"},{label:(0,c.__)("H3"),value:"h3"},{label:(0,c.__)("H4"),value:"h4"},{label:(0,c.__)("H5"),value:"h5"},{label:(0,c.__)("H6"),value:"h6"},{label:(0,c.__)("SPAN"),value:"span"}]},{id:"badgeShow",label:(0,c.__)("Show Badge","gutenverse"),component:p.CheckboxControl},{id:"badgePosition",show:n,label:(0,c.__)("Badge Position","gutenverse"),component:p.SelectControl,options:[{label:"Top Left",value:"topleft"},{label:"Top Center",value:"topcenter"},{label:"Top Right",value:"topright"},{label:"Bottom Left",value:"bottomleft"},{label:"Bottom Center",value:"bottomcenter"},{label:"Bottom Right",value:"bottomright"}]}]},h=function(e){var t=e.elementId,o=e.iconType,n=e.removeStyle,r=(e.iconSize,e.imageWidth,e.imageHeight,(0,g.getDeviceType)());return[{id:"iconType",label:(0,c.__)("Icon Type","gutenverse"),component:p.SelectControl,options:[{value:"none",label:"None"},{value:"icon",label:"Icon"},{value:"image",label:"Image"}],onChange:function(e){var t=e.iconShape;"icon"!==t&&n("iconSize-style-0"),"image"!==t&&(n("imageWidth-style-0"),n("imageHeight-style-0"))}},{id:"iconSize",show:o&&"icon"===o,label:(0,c.__)("Icon Size","gutenverse"),component:p.RangeControl,allowDeviceControl:!0,unit:"px",min:1,max:200,step:1,liveStyle:[{type:"plain",id:"iconSize",responsive:!0,selector:".".concat(t," .guten-icon-box-wrapper .icon-box-header.icon-box .icon i"),properties:[{name:"font-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"image",show:o&&"image"===o,label:(0,c.__)("Icon Type","gutenverse"),component:p.ImageControl},{id:"lazyLoad",show:o&&"image"===o,label:(0,c.__)("Set Lazy Load","gutenverse"),component:p.CheckboxControl},{id:"imageAlt",show:o&&"image"===o,label:(0,c.__)("Image Alt","gutenverse"),component:p.TextControl},{id:"imageFit",show:o&&"image"===o,label:(0,c.__)("Image Fit Content","gutenverse"),component:p.SelectControl,options:[{value:"fill",label:"Default"},{value:"contain",label:"Contain"},{value:"cover",label:"Cover"},{value:"none",label:"None"},{value:"scale-down",label:"Scale Down"}]},{id:"imageWidthResponsive",show:o&&"image"===o&&"Desktop"!==r,label:(0,c.__)("Image Width","gutenverse"),component:p.RangeControl,allowDeviceControl:!0,unit:"px",min:1,max:400,step:1,isParseFloat:!0,liveStyle:[{type:"plain",id:"imageWidthResponsive",selector:".".concat(t," .guten-icon-box-wrapper .icon-box .icon"),responsive:!0,properties:[{name:"width",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"imageHeightResponsive",show:o&&"image"===o&&"Desktop"!==r,label:(0,c.__)("Image Height","gutenverse"),component:p.RangeControl,allowDeviceControl:!0,unit:"px",min:1,max:400,step:1,isParseFloat:!0,liveStyle:[{type:"plain",id:"imageHeightResponsive",selector:".".concat(t," .guten-icon-box-wrapper .icon-box .icon"),responsive:!0,properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"imageWidth",show:o&&"image"===o&&"Desktop"===r,label:(0,c.__)("Image Width","gutenverse"),showDeviceControl:!0,component:p.RangeControl,unit:"px",min:1,max:400,step:1,isParseFloat:!0,liveStyle:[{type:"plain",id:"imageWidth",selector:".".concat(t," .guten-icon-box-wrapper .icon-box .icon"),properties:[{name:"width",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"imageHeight",show:o&&"image"===o&&"Desktop"===r,label:(0,c.__)("Image Height","gutenverse"),showDeviceControl:!0,component:p.RangeControl,unit:"px",min:1,max:400,step:1,isParseFloat:!0,liveStyle:[{type:"plain",id:"imageHeight",selector:".".concat(t," .guten-icon-box-wrapper .icon-box .icon"),properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]}]};function b(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function f(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?b(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):b(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var x=function(e){var t=e.elementId,o=e.switcher,n=e.setSwitcher,r=(0,g.getDeviceType)();return[{id:"__containerStyleHover",component:p.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__containerStyleHover;return n(f(f({},o),{},{containerStyle:t}))}},{id:"containerPadding",show:!o.containerStyle||"normal"===o.containerStyle,label:(0,c.__)("Padding","gutenverse"),component:p.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"containerPaddingHover",show:"hover"===o.containerStyle,label:(0,c.__)("Padding","gutenverse"),component:p.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"containerBackground",show:!o.containerStyle||"normal"===o.containerStyle,component:p.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{id:"containerBackground",type:"background",responsive:!0,selector:".".concat(t," .guten-icon-box-wrapper")}]},{id:"containerBackgroundHover",show:"hover"===o.containerStyle,component:p.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{id:"containerBackgroundHover",type:"background",responsive:!0,selector:".".concat(t,":hover .guten-icon-box-wrapper")}]},{id:"containerBorder",show:(!o.containerStyle||"normal"===o.containerStyle)&&"Desktop"===r,label:(0,c.__)("Border","gutenverse"),component:p.BorderControl,liveStyle:[{type:"border",id:"containerBorder",selector:".".concat(t," .guten-icon-box-wrapper")}]},{id:"containerBorderResponsive",show:(!o.containerStyle||"normal"===o.containerStyle)&&"Desktop"!==r,label:(0,c.__)("Border","gutenverse"),component:p.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"containerBorderResponsive",responsive:!0,selector:".".concat(t," .guten-icon-box-wrapper")}]},{id:"containerBoxShadow",show:!o.containerStyle||"normal"===o.containerStyle,label:(0,c.__)("Box Shadow","gutenverse"),component:p.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"containerBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t," .guten-icon-box-wrapper")}]},{id:"containerBorderHover",show:"hover"===o.containerStyle&&"Desktop"===r,label:(0,c.__)("Border","gutenverse"),component:p.BorderControl,liveStyle:[{type:"boxShadow",id:"containerBorderHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t,":hover .guten-icon-box-wrapper")}]},{id:"containerBorderHoverResponsive",show:"hover"===o.containerStyle&&"Desktop"!==r,label:(0,c.__)("Border","gutenverse"),component:p.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"containerBorderHoverResponsive",responsive:!0,selector:".".concat(t,":hover .guten-icon-box-wrapper")}]},{id:"containerBoxShadowHover",show:"hover"===o.containerStyle,label:(0,c.__)("Box Shadow","gutenverse"),component:p.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"containerBoxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t,":hover .guten-icon-box-wrapper")}]}]};function w(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function S(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?w(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):w(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var _=function(e){var t=e.elementId,o=e.switcher,n=e.setSwitcher,r=e.iconStyleMode,i=(0,g.getDeviceType)();return[{id:"iconStyleMode",label:(0,c.__)("Color Mode","gutenverse"),component:p.SelectControl,options:[{value:"color",label:"Color"},{value:"gradient",label:"Gradient"}]},{id:"__iconHover",component:p.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__iconHover;return n(S(S({},o),{},{icon:t}))}},{id:"iconColor",show:!(o.icon&&"normal"!==o.icon||r&&"color"!==r),label:(0,c.__)("Normal Color","gutenverse"),component:p.ColorControl,liveStyle:[{type:"color",id:"iconColor",selector:".".concat(t," .icon-box.icon-box-header .icon i"),properties:[{name:"color",valueType:"direct"}]}]},{id:"iconHoverColor",show:"hover"===o.icon&&(!r||"color"===r),label:(0,c.__)("Hover Color","gutenverse"),component:p.ColorControl,liveStyle:[{type:"color",id:"iconHoverColor",selector:".".concat(t,":hover .icon-box.icon-box-header .icon i"),properties:[{name:"color",valueType:"direct"}]}]},{id:"iconBgColor",show:!(o.icon&&"normal"!==o.icon||r&&"color"!==r),label:(0,c.__)("Normal Background Color","gutenverse"),component:p.ColorControl,liveStyle:[{type:"color",id:"iconBgColor",selector:".".concat(t," .icon-box.icon-box-header .icon"),properties:[{name:"background-color",valueType:"direct"}]}]},{id:"iconHoverBgColor",show:"hover"===o.icon&&(!r||"color"===r),label:(0,c.__)("Hover Background Color","gutenverse"),component:p.ColorControl,liveStyle:[{type:"color",id:"iconHoverBgColor",selector:".".concat(t,":hover .icon-box.icon-box-header .icon"),properties:[{name:"background-color",valueType:"direct"}]}]},{id:"iconGradient",show:(!o.icon||"normal"===o.icon)&&"gradient"===r,component:p.BackgroundControl,type:"Gradient Color",options:["gradient"],liveStyle:[{type:"plain",id:"iconGradient",properties:[{name:"background-image",valueType:"function",functionName:"customHandleBackground"}],selector:".guten-icon-box.".concat(t," .icon-box.icon-box-header .icon .icon-style-gradient")}]},{id:"iconGradientHover",show:"hover"===o.icon&&"gradient"===r,component:p.BackgroundControl,type:"Hover Gradient Color",options:["gradient"],liveStyle:[{type:"plain",id:"iconGradientHover",properties:[{name:"background-image",valueType:"function",functionName:"customHandleBackground"}],selector:".guten-icon-box.".concat(t,":hover .icon-box.icon-box-header .icon .icon-style-gradient")}]},{id:"iconBgGradient",show:(!o.icon||"normal"===o.icon)&&"gradient"===r,component:p.BackgroundControl,options:["gradient"],type:"Gradient Background Color",liveStyle:[{type:"plain",id:"iconBgGradient",properties:[{name:"background-image",valueType:"function",functionName:"customHandleBackground"}],selector:".guten-icon-box.".concat(t," .icon-box.icon-box-header .icon.bg-style-gradient")}]},{id:"iconBgGradientHover",show:"hover"===o.icon&&"gradient"===r,component:p.BackgroundControl,options:["gradient"],type:"Hover Gradient Background Color",liveStyle:[{type:"plain",id:"iconBgGradientHover",properties:[{name:"background-image",valueType:"function",functionName:"customHandleBackground"}],selector:".guten-icon-box.".concat(t,":hover .icon-box.icon-box-header .icon.bg-style-gradient")}]},{id:"iconBorder",show:(!o.icon||"normal"===o.icon)&&"Desktop"===i,label:(0,c.__)("Border","gutenverse"),component:p.BorderControl,liveStyle:[{type:"border",id:"iconBorder",selector:".".concat(t," .icon-box.icon-box-header .icon ")}]},{id:"iconBorderResponsive",show:(!o.icon||"normal"===o.icon)&&"Desktop"!==i,label:(0,c.__)("Border","gutenverse"),component:p.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"iconBorderResponsive",id:"buttonBorderHoverResponsive",responsive:!0,selector:".".concat(t," .icon-box.icon-box-header .icon")}]},{id:"iconBoxShadow",show:!o.icon||"normal"===o.icon,label:(0,c.__)("Box Shadow","gutenverse"),component:p.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"iconBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t," .icon-box.icon-box-header .icon")}]},{id:"iconBorderHover",show:"hover"===o.icon&&"Desktop"===i,label:(0,c.__)("Border","gutenverse"),component:p.BorderControl,liveStyle:[{type:"border",id:"iconBorderHover",selector:".".concat(t,":hover .icon-box.icon-box-header .icon")}]},{id:"iconBorderHoverResponsive",show:"hover"===o.icon&&"Desktop"!==i,label:(0,c.__)("Border","gutenverse"),component:p.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"iconBorderResponsive",id:"iconBorderHoverResponsive",responsive:!0,selector:".".concat(t,":hover .icon-box.icon-box-header .icon")}]},{id:"iconBoxShadowHover",show:"hover"===o.icon,label:(0,c.__)("Box Shadow","gutenverse"),component:p.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"iconBoxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t,":hover .icon-box.icon-box-header .icon")}]},{id:"iconPadding",label:(0,c.__)("Padding","gutenverse"),component:p.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"iconMargin",label:(0,c.__)("Margin","gutenverse"),component:p.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"iconRotate",label:(0,c.__)("Icon Rotate","gutenverse"),component:p.RangeControl,allowDeviceControl:!0,unit:"deg",min:1,max:360,step:1,liveStyle:[{type:"plain",id:"iconRotate",selector:".".concat(t," .icon-box.icon-box-header .icon"),properties:[{name:"transform",valueType:"pattern",pattern:"rotate({value}deg)",patternValues:{value:{type:"direct"}}}]}]}]},j=function(e){var t=e.elementId;return[{id:"iconBoxHoverOverlay",component:p.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"iconBoxHoverOverlay",selector:".".concat(t,".guten-icon-box .guten-icon-box-wrapper::before")}]},{id:"iconBoxOverlayDirection",label:(0,c.__)("Overlay Direction","gutenverse"),component:p.SelectControl,options:[{label:"Left",value:"left"},{label:"Right",value:"right"},{label:"Top",value:"top"},{label:"Bottom",value:"bottom"},{label:"Arise",value:"arise"}]}]},T=o(2619);function O(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function C(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?O(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):O(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var k=function(e){return(0,T.applyFilters)("gutenverse.dynamic-content-options",[{component:p.LockedDynamicContentControl}],C(C({},e),{},{blockType:"icon"}))};function P(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function N(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?P(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):P(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var E=function(){return[{title:(0,c.__)("General","gutenverse"),panelArray:v,tabRole:p.TabSetting},{title:(0,c.__)("Icon","gutenverse"),initialOpen:!1,panelArray:h,tabRole:p.TabSetting},{title:(0,c.__)("Dynamic Global Url","gutenverse"),panelArray:k,initialOpen:!1,tabRole:p.TabSetting,pro:!0},{title:(0,c.__)("Dynamic Data","gutenverse"),panelArray:function(e){return(0,p.dynamicContentPanel)(N(N({},e),{},{blockType:"text",multiText:!0,arrOfTextChilds:["titleDynamicList","descriptionDynamicList","badgeDynamicList"]}))},initialOpen:!1,tabRole:p.TabSetting,pro:!0},{title:(0,c.__)("Display","gutenverse"),initialOpen:!1,panelArray:p.responsivePanel,tabRole:p.TabSetting},{title:(0,c.__)("Positioning","gutenverse"),initialOpen:!1,panelArray:p.positioningPanel,tabRole:p.TabSetting},{title:(0,c.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,p.animationPanel)(N(N({},e),{},{styleId:"icon-box-animation"}))},tabRole:p.TabSetting},{title:(0,c.__)("Transform","gutenverse"),initialOpen:!1,panelArray:p.transformPanel,pro:!0},{title:(0,c.__)("Mouse Move Effect","gutenverse"),initialOpen:!1,panelArray:p.mouseMoveEffectPanel,tabRole:p.TabSetting,pro:!0},{title:(0,c.__)("Advanced Animation","gutenverse"),initialOpen:!1,panelAdvance:!0,panelArray:function(e){return(0,p.advanceAnimationPanel)(N(N({},e),{},{blockType:"icon-box"}))},pro:!0},{title:(0,c.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,p.advancePanel)(N(N({},e),{},{styleId:"icon-box-advance"}))},tabRole:p.TabSetting},{title:(0,c.__)("Condition","gutenverse"),panelArray:p.conditionPanel,initialOpen:!1,pro:!0},{title:(0,c.__)("Container Style","gutenverse"),initialOpen:!1,panelArray:x,tabRole:p.TabStyle},{title:(0,c.__)("Highlight Style","gutenverse"),panelArray:function(e){return(0,p.childStylePanel)(N(N({},e),{},{arrOfTextChilds:["titleChilds","descriptionChilds","badgeChilds"]}))},tabRole:p.TabStyle,pro:!0},{title:(0,c.__)("Icon Style","gutenverse"),initialOpen:!1,panelArray:_,tabRole:p.TabStyle},{title:(0,c.__)("Content Style","gutenverse"),initialOpen:!1,panelArray:y,tabRole:p.TabStyle},{title:(0,c.__)("Badge Style","gutenverse"),initialOpen:!1,panelArray:d,tabRole:p.TabStyle},{title:(0,c.__)("Background Overlay","gutenverse"),initialOpen:!1,panelArray:j,tabRole:p.TabStyle},{title:(0,c.__)("Background","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,p.backgroundPanel)(N(N({},e),{},{styleId:"icon-box-background",normalOptions:["default","gradient"],hoverOptions:["default","gradient"]}))},tabRole:p.TabStyle},{title:(0,c.__)("Border","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,p.borderPanel)(N(N({},e),{},{styleId:"icon-box-border"}))},tabRole:p.TabStyle},{title:(0,c.__)("Masking","gutenverse"),initialOpen:!1,panelArray:p.maskPanel,tabRole:p.TabStyle}]},D=o(5795),B=o(6427),A=o(8558),H=o(1222),R=o(6504),I=o(2774),M=o(2188),L=o(6826),z=o(7143),F=o(4633),V=o.n(F),W=o(4404);const G=function(e,t){var o=[];o=(0,p.backgroundStyle)({attributes:t,data:o,elementId:e});var n=(0,g.getDeviceType)();return(0,H.isNotEmpty)(t.iconPositionResponsive)&&"Desktop"!==n&&"left"===t.iconPositionResponsive[n]&&o.push({type:"plain",id:"iconPositionResponsive",selector:".guten-icon-box.".concat(e," .guten-icon-box-wrapper"),responsive:!0,properties:[{name:"display",valueType:"pattern",pattern:"flex !important; align-items: flex-start; flex-direction: unset !important;"}]}),(0,H.isNotEmpty)(t.iconPositionResponsive)&&"Desktop"!==n&&"right"===t.iconPositionResponsive[n]&&o.push({type:"plain",id:"iconPositionResponsive",selector:".guten-icon-box.".concat(e," .guten-icon-box-wrapper"),responsive:!0,properties:[{name:"display",valueType:"pattern",pattern:"flex !important; flex-direction: row-reverse; align-items: unset !important;"}]}),(0,H.isNotEmpty)(t.iconPositionResponsive)&&"Desktop"!==n&&"top"===t.iconPositionResponsive[n]&&o.push({type:"plain",id:"iconPositionResponsive",selector:".guten-icon-box.".concat(e," .guten-icon-box-wrapper"),responsive:!0,properties:[{name:"display",valueType:"pattern",pattern:"block !important; flex-direction: unset !important; align-items: unset !important;"}]}),(0,H.isNotEmpty)(t.iconPositionResponsive)&&"Desktop"!==n&&"bottom"===t.iconPositionResponsive[n]&&o.push({type:"plain",id:"iconPositionResponsive",selector:".guten-icon-box.".concat(e," .guten-icon-box-wrapper"),responsive:!0,properties:[{name:"display",valueType:"pattern",pattern:"flex !important; flex-direction: column-reverse !important; align-items: unset !important;"}]}),(0,H.isNotEmpty)(t.iconPositionResponsive)&&"Desktop"!==n&&"left"===t.iconPositionResponsive[n]&&o.push({type:"plain",id:"iconPositionResponsive",selector:".".concat(e," .guten-icon-box-wrapper .icon-box.icon-box-header"),responsive:!0,properties:[{name:"margin-right",valueType:"pattern",pattern:"15px; margin-left: unset !important;"}]}),(0,H.isNotEmpty)(t.iconPositionResponsive)&&"Desktop"!==n&&"right"===t.iconPositionResponsive[n]&&o.push({type:"plain",id:"iconPositionResponsive",selector:".".concat(e," .guten-icon-box-wrapper .icon-box.icon-box-header"),responsive:!0,properties:[{name:"margin-left",valueType:"pattern",pattern:"15px; margin-right: unset !important;"}]}),(0,H.isNotEmpty)(t.iconPositionResponsive)&&"Desktop"!==n&&"top"===t.iconPositionResponsive[n]&&"bottom"===t.iconPositionResponsive[n]&&o.push({type:"plain",id:"iconPositionResponsive",selector:".".concat(e," .guten-icon-box-wrapper .icon-box.icon-box-header"),responsive:!0,properties:[{name:"margin-left",valueType:"pattern",pattern:"unset !important; margin-right: unset !important;"}]}),(0,H.isNotEmpty)(t.align)&&o.push({type:"plain",id:"align",selector:".guten-icon-box.".concat(e," .guten-icon-box-wrapper"),properties:[{name:"justify-content",valueType:"direct"},{name:"text-align",valueType:"function",functionName:"handleAlign"}],responsive:!0}),(0,H.isNotEmpty)(t.heightControl)&&"fit"===t.heightControl&&o.push({type:"plain",id:"heightControl",selector:".guten-icon-box.".concat(e),properties:[{name:"height",valueType:"pattern",pattern:"100%"}]}),(0,H.isNotEmpty)(t.heightControl)&&"fit"===t.heightControl&&o.push({type:"plain",id:"heightControl",selector:".guten-icon-box.".concat(e," .guten-icon-box-wrapper"),properties:[{name:"height",valueType:"pattern",pattern:"100%"}]}),(0,H.isNotEmpty)(t.heightControl)&&"min"===t.heightControl&&o.push({type:"unitPoint",id:"height",responsive:!0,selector:".guten-icon-box.".concat(e," .guten-icon-box-wrapper"),properties:[{name:"min-height",valueType:"direct"}]}),(0,H.isNotEmpty)(t.iconType)&&"icon"===t.iconType&&o.push({type:"plain",id:"iconType",selector:".".concat(e," .guten-icon-box-wrapper .icon-box-header.icon-box .icon i"),properties:[{name:"font-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct",key:"iconSize"}}}],multiAttr:{iconSize:t.iconSize[n]}}),(0,H.isNotEmpty)(t.iconType)&&"image"===t.iconType&&o.push({type:"plain",id:"iconType",selector:".".concat(e," .guten-icon-box-wrapper .icon-box .icon "),properties:[{name:"width",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct",key:"imageWidth"}}}],multiAttr:{imageWidth:t.imageWidth}},{type:"plain",id:"iconType",selector:".".concat(e," .guten-icon-box-wrapper .icon-box .icon "),properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct",key:"imageHeight"}}}],multiAttr:{imageHeight:t.imageHeight}}),(0,H.isNotEmpty)(t.iconSize)&&(0,H.isNotEmpty)(t.iconType)&&"icon"===t.iconType&&o.push({type:"plain",id:"iconSize",responsive:!0,selector:".".concat(e," .guten-icon-box-wrapper .icon-box-header.icon-box .icon i"),properties:[{name:"font-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,H.isNotEmpty)(t.imageFit)&&(0,H.isNotEmpty)(t.iconType)&&"image"===t.iconType&&o.push({type:"plain",id:"imageFit",selector:".".concat(e," .guten-icon-box-wrapper .icon-box .icon img"),properties:[{name:"object-fit",valueType:"direct"}]}),(0,H.isNotEmpty)(t.imageWidthResponsive)&&(0,H.isNotEmpty)(t.iconType)&&"image"===t.iconType&&o.push({type:"plain",id:"imageWidthResponsive",responsive:!0,selector:".".concat(e," .guten-icon-box-wrapper .icon-box-header.icon-box .icon"),properties:[{name:"width",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,H.isNotEmpty)(t.imageHeightResponsive)&&(0,H.isNotEmpty)(t.iconType)&&"image"===t.iconType&&o.push({type:"plain",id:"imageHeightResponsive",responsive:!0,selector:".".concat(e," .guten-icon-box-wrapper .icon-box-header.icon-box .icon"),properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,H.isNotEmpty)(t.imageWidth)&&(0,H.isNotEmpty)(t.iconType)&&"Desktop"===n&&"image"===t.iconType&&o.push({type:"plain",id:"imageWidth",selector:".".concat(e," .guten-icon-box-wrapper .icon-box-header.icon-box .icon"),properties:[{name:"width",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,H.isNotEmpty)(t.imageHeight)&&(0,H.isNotEmpty)(t.iconType)&&"Desktop"===n&&"image"===t.iconType&&o.push({type:"plain",id:"imageHeight",selector:".".concat(e," .guten-icon-box-wrapper .icon-box-header.icon-box .icon"),properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,H.isNotEmpty)(t.containerPadding)&&o.push({type:"dimension",id:"containerPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".guten-icon-box.".concat(e," .guten-icon-box-wrapper")}),(0,H.isNotEmpty)(t.containerPaddingHover)&&o.push({type:"dimension",id:"containerPaddingHover",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".guten-icon-box.".concat(e,":hover .guten-icon-box-wrapper")}),(0,H.isNotEmpty)(t.containerBackground)&&o.push({type:"background",id:"containerBackground",selector:".guten-icon-box.".concat(e," .guten-icon-box-wrapper")}),(0,H.isNotEmpty)(t.containerBackgroundHover)&&o.push({type:"background",id:"containerBackgroundHover",selector:".".concat(e,":hover .guten-icon-box-wrapper")}),(0,H.isNotEmpty)(t.containerBorder)&&o.push({type:"border",id:"containerBorder",selector:".guten-icon-box.".concat(e," .guten-icon-box-wrapper")}),(0,H.isNotEmpty)(t.containerBorderResponsive)&&o.push({type:"borderResponsive",id:"containerBorderResponsive",selector:".guten-icon-box.".concat(e," .guten-icon-box-wrapper")}),(0,H.isNotEmpty)(t.containerBoxShadow)&&o.push({type:"boxShadow",id:"containerBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".guten-icon-box.".concat(e," .guten-icon-box-wrapper")}),(0,H.isNotEmpty)(t.containerBorderHover)&&o.push({type:"border",id:"containerBorderHover",selector:".".concat(e,":hover .guten-icon-box-wrapper")}),(0,H.isNotEmpty)(t.containerBorderHoverResponsive)&&o.push({type:"borderResponsive",id:"containerBorderHoverResponsive",selector:".".concat(e,":hover .guten-icon-box-wrapper")}),(0,H.isNotEmpty)(t.containerBoxShadowHover)&&o.push({type:"boxShadow",id:"containerBoxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e,":hover .guten-icon-box-wrapper")}),(0,H.isNotEmpty)(t.iconColor)&&o.push({type:"color",id:"iconColor",selector:".".concat(e," .icon-box.icon-box-header .icon i"),properties:[{name:"color",valueType:"direct"}]}),(0,H.isNotEmpty)(t.iconHoverColor)&&o.push({type:"color",id:"iconHoverColor",selector:".".concat(e,":hover .icon-box.icon-box-header .icon i"),properties:[{name:"color",valueType:"direct"}]}),(0,H.isNotEmpty)(t.iconBgColor)&&o.push({type:"color",id:"iconBgColor",selector:".".concat(e," .icon-box.icon-box-header .icon"),properties:[{name:"background-color",valueType:"direct"}]}),(0,H.isNotEmpty)(t.iconHoverBgColor)&&o.push({type:"color",id:"iconHoverBgColor",selector:".".concat(e,":hover .icon-box.icon-box-header .icon"),properties:[{name:"background-color",valueType:"direct"}]}),(0,H.isNotEmpty)(t.iconGradient)&&o.push({type:"plain",id:"iconGradient",properties:[{name:"background-image",valueType:"function",functionName:"customHandleBackground"}],selector:".guten-icon-box.".concat(e," .icon-box.icon-box-header .icon .icon-style-gradient")}),(0,H.isNotEmpty)(t.iconGradientHover)&&o.push({type:"plain",id:"iconGradientHover",properties:[{name:"background-image",valueType:"function",functionName:"customHandleBackground"}],selector:".guten-icon-box.".concat(e,":hover .icon-box.icon-box-header .icon .icon-style-gradient")}),(0,H.isNotEmpty)(t.iconBgGradient)&&o.push({type:"plain",id:"iconBgGradient",properties:[{name:"background-image",valueType:"function",functionName:"customHandleBackground"}],selector:".guten-icon-box.".concat(e," .icon-box.icon-box-header .icon.bg-style-gradient")}),(0,H.isNotEmpty)(t.iconBgGradientHover)&&o.push({type:"plain",id:"iconBgGradientHover",properties:[{name:"background-image",valueType:"function",functionName:"customHandleBackground"}],selector:".guten-icon-box.".concat(e,":hover .icon-box.icon-box-header .icon.bg-style-gradient")}),(0,H.isNotEmpty)(t.iconBorder)&&o.push({type:"border",id:"iconBorder",selector:".".concat(e," .icon-box.icon-box-header .icon ")}),(0,H.isNotEmpty)(t.iconBorderResponsive)&&o.push({type:"borderResponsive",id:"iconBorderResponsive",selector:".".concat(e," .icon-box.icon-box-header .icon")}),(0,H.isNotEmpty)(t.iconBoxShadow)&&o.push({type:"boxShadow",id:"iconBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e," .icon-box.icon-box-header .icon")}),(0,H.isNotEmpty)(t.iconBorderHover)&&o.push({type:"border",id:"iconBorderHover",selector:".".concat(e,":hover .icon-box.icon-box-header .icon")}),(0,H.isNotEmpty)(t.iconBorderHoverResponsive)&&o.push({type:"borderResponsive",id:"iconBorderHoverResponsive",selector:".".concat(e,":hover .icon-box.icon-box-header .icon")}),(0,H.isNotEmpty)(t.iconBoxShadowHover)&&o.push({type:"boxShadow",id:"iconBoxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e,":hover .icon-box.icon-box-header .icon")}),(0,H.isNotEmpty)(t.iconPadding)&&o.push({type:"dimension",id:"iconPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e," .icon-box.icon-box-header .icon")}),(0,H.isNotEmpty)(t.iconMargin)&&o.push({type:"dimension",id:"iconMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e," .icon-box.icon-box-header .icon")}),(0,H.isNotEmpty)(t.iconRotate)&&o.push({type:"plain",id:"iconRotate",responsive:!0,selector:".".concat(e," .icon-box.icon-box-header .icon"),properties:[{name:"transform",valueType:"pattern",pattern:"rotate({value}deg)",patternValues:{value:{type:"direct"}}}]}),(0,H.isNotEmpty)(t.titlePadding)&&o.push({type:"dimension",id:"titlePadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".guten-icon-box.".concat(e," .icon-box.icon-box-body .title")}),(0,H.isNotEmpty)(t.titleMargin)&&o.push({type:"dimension",id:"titleMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".guten-icon-box.".concat(e," .icon-box.icon-box-body .title")}),(0,H.isNotEmpty)(t.titleColor)&&o.push({type:"color",id:"titleColor",selector:".guten-icon-box.".concat(e," .icon-box.icon-box-body .title"),properties:[{name:"color",valueType:"direct"}]}),(0,H.isNotEmpty)(t.titleHoverColor)&&o.push({type:"color",id:"titleHoverColor",selector:".guten-icon-box.".concat(e,":hover .icon-box.icon-box-body .title"),properties:[{name:"color",valueType:"direct"}]}),(0,H.isNotEmpty)(t.titleTypography)&&o.push({type:"typography",id:"titleTypography",selector:".guten-icon-box.".concat(e," .icon-box.icon-box-body .title")}),(0,H.isNotEmpty)(t.descMargin)&&o.push({type:"dimension",id:"descMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".guten-icon-box.".concat(e," .icon-box.icon-box-body .icon-box-description")}),(0,H.isNotEmpty)(t.descColor)&&o.push({type:"color",id:"descColor",selector:".guten-icon-box.".concat(e," .icon-box.icon-box-body .icon-box-description"),properties:[{name:"color",valueType:"direct"}]}),(0,H.isNotEmpty)(t.descHoverColor)&&o.push({type:"color",id:"descHoverColor",selector:".guten-icon-box.".concat(e,":hover .icon-box.icon-box-body .icon-box-description"),properties:[{name:"color",valueType:"direct"}]}),(0,H.isNotEmpty)(t.descTypography)&&o.push({type:"typography",id:"descTypography",selector:".".concat(e," .icon-box.icon-box-body .icon-box-description")}),(0,H.isNotEmpty)(t.watermarkColor)&&o.push({type:"color",id:"watermarkColor",selector:".".concat(e," .hover-watermark i"),properties:[{name:"color",valueType:"direct"}]}),(0,H.isNotEmpty)(t.watermarkSize)&&o.push({type:"plain",id:"watermarkSize",responsive:!0,selector:".guten-icon-box.".concat(e," .hover-watermark i"),properties:[{name:"font-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,H.isNotEmpty)(t.badgeTextColor)&&o.push({type:"color",id:"badgeTextColor",selector:".guten-icon-box.".concat(e," .icon-box-badge .badge-text"),properties:[{name:"color",valueType:"direct"}]}),(0,H.isNotEmpty)(t.badgePadding)&&o.push({type:"dimension",id:"badgePadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".guten-icon-box.".concat(e," .icon-box-badge .badge-text")}),(0,H.isNotEmpty)(t.badgeMargin)&&o.push({type:"dimension",id:"badgeMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".guten-icon-box.".concat(e," .icon-box-badge .badge-text")}),(0,H.isNotEmpty)(t.badgeRadius)&&o.push({type:"dimension",id:"badgeRadius",responsive:!0,properties:[{name:"border-radius",valueType:"direct",multiDimension:!1}],selector:".guten-icon-box.".concat(e," .icon-box-badge .badge-text")}),(0,H.isNotEmpty)(t.badgeBackground)&&o.push({type:"background",id:"badgeBackground",selector:".guten-icon-box.".concat(e," .icon-box-badge .badge-text")}),(0,H.isNotEmpty)(t.badgeTypography)&&o.push({type:"typography",id:"badgeTypography",selector:".guten-icon-box.".concat(e," .icon-box-badge .badge-text")}),(0,H.isNotEmpty)(t.badgeShadow)&&o.push({type:"boxShadow",id:"badgeShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".guten-icon-box.".concat(e," .icon-box-badge .badge-text")}),(0,H.isNotEmpty)(t.iconBoxOverlay)&&o.push({type:"background",id:"iconBoxOverlay",selector:".".concat(e,".guten-icon-box .guten-icon-box-wrapper::before")}),(0,H.isNotEmpty)(t.iconBoxHoverOverlay)&&o.push({type:"background",id:"iconBoxHoverOverlay",selector:".".concat(e,".guten-icon-box .guten-icon-box-wrapper::before")}),(0,H.isNotEmpty)(t.iconBoxHoverOverlay)&&void 0!==t.iconBoxHoverOverlay&&o.push({type:"plain",id:"iconBoxHoverOverlay",properties:[{name:"overflow",valueType:"pattern",pattern:"hidden"}],selector:".".concat(e,".guten-icon-box .guten-icon-box-wrapper")}),(0,H.isNotEmpty)(t.iconBoxOverlay)&&void 0!==t.iconBoxOverlay&&o.push({type:"plain",id:"iconBoxOverlay",properties:[{name:"overflow",valueType:"pattern",pattern:"hidden"}],selector:".".concat(e,".guten-icon-box .guten-icon-box-wrapper")}),(0,H.isNotEmpty)(t.watermarkShow)&&t.watermarkShow&&o.push({type:"plain",id:"watermarkShow",properties:[{name:"overflow",valueType:"pattern",pattern:"hidden"}],selector:".".concat(e,".guten-icon-box .guten-icon-box-wrapper")}),(0,H.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,H.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,H.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,H.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,H.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,H.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,H.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,H.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,H.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,H.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,H.isNotEmpty)(t.animation)&&(0,H.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,H.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,H.isNotEmpty)(t.positioningType)&&(0,H.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,H.isNotEmpty)(t.positioningWidth)&&(0,H.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,H.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,H.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,H.isNotEmpty)(t.positioningLeft)&&(0,H.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,H.isNotEmpty)(t.positioningRight)&&(0,H.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,H.isNotEmpty)(t.positioningTop)&&(0,H.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,H.isNotEmpty)(t.positioningBottom)&&(0,H.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),[].concat((0,W.A)(o),(0,W.A)((0,T.applyFilters)("gutenverse.icon-box.blockStyle",[],{elementId:e,attributes:t})))};function U(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function q(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?U(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):U(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var $="noreferrer noopener",Y=(0,i.compose)(M.withPartialRender,M.withPassRef,(0,M.withAnimationAdvanceV2)("icon-box"),M.withMouseMoveEffect)((function(e){var t=(0,z.useSelect)((function(e){return e("core/block-editor")}),[]).getBlocks,o=(0,z.dispatch)("core/block-editor").updateBlockAttributes,n=e.clientId,i=e.isSelected,d=e.attributes,y=e.setAttributes,v=e.setBlockRef,h=d.elementId,b=d.url,f=d.dynamicUrl,x=d.rel,w=d.linkTarget,S=d.titleTag,_=d.image,j=d.imageAlt,O=d.icon,C=d.iconType,k=d.iconPosition,P=d.iconStyleMode,N=void 0===P?"color":P,M=d.watermarkIcon,F=d.watermarkShow,W=d.badgeShow,U=d.badgePosition,Y=d.iconBoxOverlayDirection,X=void 0===Y?"left":Y,J=d.separateButtonLink,Q=d.lazyLoad,Z=d.hoverWithParent,K=d.parentSelector,ee=(0,H.useRichTextParameter)(),te=ee.panelState,oe=ee.setPanelState,ne=ee.setPanelIsClicked,re=ee.panelIsClicked,ie=j||null,ae=(0,L.useAnimationEditor)(d),se=(0,L.useDisplayEditor)(d),le=(0,a.useState)(!1),ce=(0,r.A)(le,2),pe=ce[0],ue=ce[1],de=(0,a.useRef)(),ye=(0,a.useRef)(),ge=(0,a.useState)(),me=(0,r.A)(ge,2),ve=me[0],he=me[1],be=void 0!==b&&""!==b,fe=(0,g.getDeviceType)(),xe=(0,z.useSelect)((function(t){var o=t("core/block-editor").getBlock(e.clientId);return o&&o.innerBlocks.length>0}),[e.clientId]);(0,a.useEffect)((function(){y({hasInnerBlocks:xe,separateButtonLink:xe,hasGlobalLink:be||!1})}),[xe,be]);var we=(0,s.useBlockProps)({className:(0,l.classnames)("guten-element","guten-icon-box","no-margin",h,ae,se,"icon-position-".concat(k)),ref:de}),Se=function(){switch(C){case"icon":return(0,m.jsx)("div",{className:"icon-box icon-box-header",children:(0,m.jsx)("div",{className:"icon bg-style-".concat(N),onClick:function(){return ue(!0)},children:(0,m.jsx)("i",{className:"".concat(O," icon-style-").concat(N)})})});case"image":return(0,m.jsx)("div",{className:"icon-box icon-box-header",children:(0,m.jsx)("div",{className:"icon bg-style-".concat(N),children:(0,m.jsx)("img",q({src:(0,g.getImageSrc)(_),alt:ie},Q&&{loading:"lazy"}))})});default:return null}};(0,u.useGenerateElementId)(n,h,de),(0,u.useDynamicStyle)(h,d,G,de),(0,u.useDynamicScript)(de);var _e=(0,s.useInnerBlocksProps)({},{allowedBlocks:["gutenverse/button"]});ye.current=Z;var je=(0,a.useCallback)((function(e){var t=e?"_blank":void 0,o=x;t&&!x?o=$:t||x!==$||(o=void 0),y({linkTarget:t,rel:o})}),[x,y]);(0,a.useEffect)((function(){!J&&t(n).map((function(e){o(e.clientId,{url:b,rel:x,linkTarget:w})}))}),[b,x,w,J]),(0,a.useEffect)((function(){t(n).map((function(e){o(e.clientId,{hoverWithParent:Z,parentSelector:K})})),y({parentSelector:".".concat(h,":hover .guten-icon-box-wrapper")})}),[Z,K]);var Te={panel:"setting",section:2};return(0,I.FilterDynamic)(e),(0,I.HighLightToolbar)(e),(0,a.useEffect)((function(){var e=V()(f)||!(0,H.isOnEditor)()?f:(0,T.applyFilters)("gutenverse.dynamic.fetch-url",f);"function"==typeof e.then&&!V()(f)&&e.then((function(e){(!Array.isArray(e)||e.length>0)&&void 0!==e&&e!==ve?he(e):e!==ve&&he(void 0)})).catch((function(){})),y(void 0!==ve?{url:ve,isDynamic:!0}:{url:b})}),[f,ve]),(0,a.useEffect)((function(){de&&v(de)}),[de]),(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(l.CopyElementToolbar,q({},e)),(0,m.jsx)(p.BlockPanelController,{panelList:E,props:e,deviceType:fe,elementRef:de,panelState:te,setPanelIsClicked:ne}),(0,m.jsx)(s.BlockControls,{children:(0,m.jsxs)(B.ToolbarGroup,{children:[(0,T.applyFilters)("gutenverse.button.url-toolbar",(0,m.jsx)(I.URLToolbar,{url:b,setAttributes:y,isSelected:i,opensInNewTab:"_blank"===w,onToggleOpenInNewTab:je,anchorRef:we.ref,usingDynamic:!0,setPanelState:oe,panelState:Te,title:"Global Link",panelIsClicked:re,setPanelIsClicked:ne}),e,Te),(0,m.jsx)(B.ToolbarButton,{name:"icon",icon:(0,m.jsx)(R.LogoCircleColor24SVG,{}),title:(0,c.__)("Choose Icon","gutenverse"),shortcut:A.displayShortcut.primary("i"),onClick:function(){return ue(!0)}})]})}),pe&&(0,D.createPortal)((0,m.jsx)(p.IconLibrary,{closeLibrary:function(){return ue(!1)},value:O,onChange:function(e){return y({icon:e})}}),H.gutenverseRoot),(0,m.jsx)("div",q(q({},we),{},{children:(0,m.jsxs)("div",{className:"guten-icon-box-wrapper hover-from-".concat(X),children:["bottom"!==k&&Se(),(0,m.jsxs)("div",{className:"icon-box icon-box-body",children:[(0,m.jsx)(l.RichTextComponent,{classNames:"title",tagName:S,"aria-label":(0,c.__)("Icon Box Title","gutenverse"),placeholder:(0,c.__)("Write title...","gutenverse"),onChange:function(e){return y({title:e})},multiline:!1,setAttributes:y,attributes:d,clientId:n,panelDynamic:{panel:"setting",section:3},panelPosition:{panel:"style",section:1},contentAttribute:"title",setPanelState:oe,textChilds:"titleChilds",dynamicList:"titleDynamicList",isUseDinamic:!0,isUseHighlight:!0,parentHasLink:be}),(0,m.jsx)(l.RichTextComponent,{classNames:"icon-box-description",tagName:"p","aria-label":(0,c.__)("Icon Box Description","gutenverse"),placeholder:(0,c.__)("Write description...","gutenverse"),onChange:function(e){return y({description:e})},multiline:!1,setAttributes:y,attributes:d,clientId:n,panelDynamic:{panel:"setting",section:3},panelPosition:{panel:"style",section:1},contentAttribute:"description",setPanelState:oe,textChilds:"descriptionChilds",dynamicList:"descriptionDynamicList",isUseDinamic:!0,isUseHighlight:!0,parentHasLink:be}),(0,m.jsx)("div",q({},_e))]}),"bottom"===k&&Se(),W&&(0,m.jsx)("div",{className:"icon-box-badge ".concat(U),children:(0,m.jsx)(l.RichTextComponent,{classNames:"badge-text",tagName:"span","aria-label":(0,c.__)("Icon Box Badge","gutenverse"),placeholder:(0,c.__)("Badge name...","gutenverse"),onChange:function(e){return y({badge:e})},multiline:!1,setAttributes:y,attributes:d,clientId:n,panelDynamic:{panel:"setting",section:3},panelPosition:{panel:"style",section:1},contentAttribute:"badge",setPanelState:oe,textChilds:"badgeChilds",dynamicList:"badgeDynamicList",isUseDinamic:!0,isUseHighlight:!0,parentHasLink:be})}),F&&(0,m.jsx)("div",{className:"hover-watermark",children:(0,m.jsx)("i",{className:M})})]})}))]})}));const X=Y;function J(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Q(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?J(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):J(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var Z=function(e){var t=e.attributes,o=e.children,n=t.url,r=t.linkTarget,i=t.rel,a=t.buttonClass,s=void 0===a?"":a,l=t.elementId;if(void 0!==n&&""!==n){var c=(0,T.applyFilters)("gutenverse.dynamic.generate-url",n,"dynamicUrl",t,l);return(0,m.jsx)("a",{className:s,href:c,target:r,rel:i,children:o})}return o},K=(0,i.compose)((0,M.withAnimationAdvanceScript)("icon-box"),M.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,n=t.title,r=t.titleTag,i=t.description,a=t.image,c=t.imageAlt,p=t.icon,u=t.iconType,d=t.iconPosition,y=t.iconStyleMode,v=void 0===y?"color":y,h=t.watermarkIcon,b=t.watermarkShow,f=t.badgeShow,x=t.badge,w=t.badgePosition,S=t.iconBoxOverlayDirection,_=void 0===S?"left":S,j=t.lazyLoad,T=t.hasInnerBlocks,O=(0,L.useAnimationAdvanceData)(t),C=c||null,k=(0,L.useAnimationFrontend)(t),P=(0,L.useDisplayFrontend)(t),N=(0,l.classnames)("guten-element",o,k,P,"guten-icon-box","icon-position-".concat(d)),E=function(){switch(u){case"icon":return(0,m.jsx)("div",{className:"icon-box icon-box-header",children:(0,m.jsx)("div",{className:"icon bg-style-".concat(v),children:(0,m.jsx)("i",{className:"".concat(p," icon-style-").concat(v)})})});case"image":return(0,m.jsx)("div",{className:"icon-box icon-box-header",children:(0,m.jsx)("div",{className:"icon bg-style-".concat(v," type-image"),children:(0,m.jsx)("img",Q({src:(0,g.getImageSrc)(a),alt:C},j&&{loading:"lazy"}))})});default:return null}},D=function(){return(0,m.jsxs)("div",{className:"guten-icon-box-wrapper hover-from-".concat(_),children:["bottom"!==d&&E(),(n||i)&&(0,m.jsxs)("div",{className:"icon-box icon-box-body",children:[n&&""!==n&&(0,m.jsx)(s.RichText.Content,{className:"title",value:n,tagName:r}),i&&""!==i&&(0,m.jsx)(s.RichText.Content,{className:"icon-box-description",value:i,tagName:"p"}),(0,m.jsx)(s.InnerBlocks.Content,{})]}),"bottom"===d&&E(),f&&(0,m.jsx)("div",{className:"icon-box-badge ".concat(w),children:(0,m.jsx)(s.RichText.Content,{className:"badge-text",value:x,tagName:"span"})}),b&&(0,m.jsx)("div",{className:"hover-watermark",children:(0,m.jsx)("i",{className:h})})]})};return(0,m.jsx)("div",Q(Q({},s.useBlockProps.save(Q({className:N},O))),{},{children:T?(0,m.jsx)(D,{}):(0,m.jsx)(Z,Q(Q({},e),{},{children:(0,m.jsx)(D,{})}))}))}));const ee=K;function te(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function oe(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?te(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):te(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var ne=function(e){var t=e.attributes,o=e.children,n=t.url,r=t.linkTarget,i=t.rel,a=t.buttonClass,s=void 0===a?"":a;return void 0!==n&&""!==n?(0,m.jsx)("a",{className:s,href:n,target:r,rel:i,children:o}):o},re=(0,i.compose)((0,M.withAnimationAdvanceScript)("icon-box"))((function(e){var t=e.attributes,o=t.elementId,n=t.title,r=t.titleTag,i=t.description,a=t.image,c=t.imageAlt,p=t.icon,u=t.iconType,d=t.iconPosition,y=t.iconStyleMode,v=void 0===y?"color":y,h=t.watermarkIcon,b=t.watermarkShow,f=t.badgeShow,x=t.badge,w=t.badgePosition,S=t.iconBoxOverlayDirection,_=void 0===S?"left":S,j=(0,L.useAnimationAdvanceData)(t),T=c||null,O=(0,L.useAnimationFrontend)(t),C=(0,L.useDisplayFrontend)(t),k=(0,l.classnames)("guten-element",o,O,C,"guten-icon-box","icon-position-".concat(d));return(0,m.jsx)("div",oe(oe({},s.useBlockProps.save(oe({className:k},j))),{},{children:(0,m.jsxs)("div",{className:"guten-icon-box-wrapper hover-from-".concat(_),children:[function(){switch(u){case"icon":return(0,m.jsx)("div",{className:"icon-box icon-box-header",children:(0,m.jsx)("div",{className:"icon style-".concat(v),children:(0,m.jsx)(ne,oe(oe({},e),{},{children:(0,m.jsx)("i",{className:p})}))})});case"image":return(0,m.jsx)("div",{className:"icon-box icon-box-header",children:(0,m.jsx)("div",{className:"icon style-".concat(v),children:(0,m.jsx)(ne,oe(oe({},e),{},{children:(0,m.jsx)("img",{src:(0,g.getImageSrc)(a),alt:T})}))})});default:return null}}(),(0,m.jsxs)("div",{className:"icon-box icon-box-body",children:[(0,m.jsx)(ne,oe(oe({},e),{},{children:(0,m.jsx)(r,{className:"title",children:n})})),(0,m.jsx)(s.RichText.Content,{className:"icon-box-description",value:i,tagName:"p"}),(0,m.jsx)(s.InnerBlocks.Content,{})]}),f&&(0,m.jsx)("div",{className:"icon-box-badge ".concat(w),children:(0,m.jsx)("span",{className:"badge-text",children:x})}),b&&(0,m.jsx)("div",{className:"hover-watermark",children:(0,m.jsx)("i",{className:h})})]})}))}));const ie=re;function ae(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function se(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ae(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ae(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var le=function(e){var t=e.attributes,o=e.children,n=t.url,r=t.linkTarget,i=t.rel,a=t.buttonClass,s=void 0===a?"":a;return void 0!==n&&""!==n?(0,m.jsx)("a",{className:s,href:n,target:r,rel:i,children:o}):o},ce=(0,i.compose)((0,M.withAnimationAdvanceScript)("icon-box"),M.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,n=t.title,r=t.titleTag,i=t.description,a=t.image,c=t.imageAlt,p=t.icon,u=t.iconType,d=t.iconPosition,y=t.iconStyleMode,v=void 0===y?"color":y,h=t.watermarkIcon,b=t.watermarkShow,f=t.badgeShow,x=t.badge,w=t.badgePosition,S=t.iconBoxOverlayDirection,_=void 0===S?"left":S,j=t.lazyLoad,T=(0,L.useAnimationAdvanceData)(t),O=c||null,C=(0,L.useAnimationFrontend)(t),k=(0,L.useDisplayFrontend)(t),P=(0,l.classnames)("guten-element",o,C,k,"guten-icon-box","icon-position-".concat(d));return(0,m.jsx)("div",se(se({className:P},T),{},{children:(0,m.jsxs)("div",{className:"guten-icon-box-wrapper hover-from-".concat(_),children:[function(){switch(u){case"icon":return(0,m.jsx)("div",{className:"icon-box icon-box-header",children:(0,m.jsx)("div",{className:"icon style-".concat(v),children:(0,m.jsx)(le,se(se({},e),{},{children:(0,m.jsx)("i",{className:p})}))})});case"image":return(0,m.jsx)("div",{className:"icon-box icon-box-header",children:(0,m.jsx)("div",{className:"icon style-".concat(v),children:(0,m.jsx)(le,se(se({},e),{},{children:j?(0,m.jsx)("img",{src:(0,g.getImageSrc)(a),alt:O,loading:"lazy"}):(0,m.jsx)("img",{src:(0,g.getImageSrc)(a),alt:O})}))})});default:return null}}(),(0,m.jsxs)("div",{className:"icon-box icon-box-body",children:[(0,m.jsx)(le,se(se({},e),{},{children:(0,m.jsx)(s.RichText.Content,{className:"title",value:n,tagName:r})})),(0,m.jsx)(s.RichText.Content,{className:"icon-box-description",value:i,tagName:"p"}),(0,m.jsx)(s.InnerBlocks.Content,{})]}),f&&(0,m.jsx)("div",{className:"icon-box-badge ".concat(w),children:(0,m.jsx)("span",{className:"badge-text",children:x})}),b&&(0,m.jsx)("div",{className:"hover-watermark",children:(0,m.jsx)("i",{className:h})})]})}))}));const pe=ce;function ue(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function de(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ue(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ue(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var ye=function(e){var t=e.attributes,o=e.children,n=t.url,r=t.linkTarget,i=t.rel,a=t.buttonClass,s=void 0===a?"":a,l=t.elementId;if(void 0!==n&&""!==n){var c=(0,T.applyFilters)("gutenverse.dynamic.generate-url",n,"dynamicUrl",t,l);return(0,m.jsx)("a",{className:s,href:c,target:r,rel:i,children:o})}return o},ge=(0,i.compose)((0,M.withAnimationAdvanceScript)("icon-box"),M.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,n=t.title,r=t.titleTag,i=t.description,a=t.image,c=t.imageAlt,p=t.icon,u=t.iconType,d=t.iconPosition,y=t.iconStyleMode,v=void 0===y?"color":y,h=t.watermarkIcon,b=t.watermarkShow,f=t.badgeShow,x=t.badge,w=t.badgePosition,S=t.iconBoxOverlayDirection,_=void 0===S?"left":S,j=t.lazyLoad,T=(0,L.useAnimationAdvanceData)(t),O=c||null,C=(0,L.useAnimationFrontend)(t),k=(0,L.useDisplayFrontend)(t),P=(0,l.classnames)("guten-element",o,C,k,"guten-icon-box","icon-position-".concat(d)),N=function(){switch(u){case"icon":return(0,m.jsx)("div",{className:"icon-box icon-box-header",children:(0,m.jsx)("div",{className:"icon style-".concat(v),children:(0,m.jsx)(ye,de(de({},e),{},{children:(0,m.jsx)("i",{className:p})}))})});case"image":return(0,m.jsx)("div",{className:"icon-box icon-box-header",children:(0,m.jsx)("div",{className:"icon style-".concat(v),children:(0,m.jsx)(ye,de(de({},e),{},{children:j?(0,m.jsx)("img",{src:(0,g.getImageSrc)(a),alt:O,loading:"lazy"}):(0,m.jsx)("img",{src:(0,g.getImageSrc)(a),alt:O})}))})});default:return null}};return(0,m.jsx)("div",de(de({className:P},T),{},{children:(0,m.jsxs)("div",{className:"guten-icon-box-wrapper hover-from-".concat(_),children:["bottom"!==d&&N(),(n||i)&&(0,m.jsxs)("div",{className:"icon-box icon-box-body",children:[(0,m.jsx)(ye,de(de({},e),{},{children:n&&""!==n&&(0,m.jsx)(s.RichText.Content,{className:"title",value:n,tagName:r})})),i&&""!==i&&(0,m.jsx)(s.RichText.Content,{className:"icon-box-description",value:i,tagName:"p"}),(0,m.jsx)(s.InnerBlocks.Content,{})]}),"bottom"===d&&N(),f&&(0,m.jsx)("div",{className:"icon-box-badge ".concat(w),children:(0,m.jsx)(s.RichText.Content,{className:"badge-text",value:x,tagName:"span"})}),b&&(0,m.jsx)("div",{className:"hover-watermark",children:(0,m.jsx)("i",{className:h})})]})}))}));const me=ge;function ve(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function he(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ve(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ve(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var be=function(e){var t=e.attributes,o=e.children,n=t.url,r=t.linkTarget,i=t.rel,a=t.buttonClass,s=void 0===a?"":a,l=t.elementId;if(void 0!==n&&""!==n){var c=(0,T.applyFilters)("gutenverse.dynamic.generate-url",n,"dynamicUrl",t,l);return(0,m.jsx)("a",{className:s,href:c,target:r,rel:i,children:o})}return o},fe=(0,i.compose)((0,M.withAnimationAdvanceScript)("icon-box"),M.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,n=t.title,r=t.titleTag,i=t.description,a=t.image,c=t.imageAlt,p=t.icon,u=t.iconType,d=t.iconPosition,y=t.iconStyleMode,v=void 0===y?"color":y,h=t.watermarkIcon,b=t.watermarkShow,f=t.badgeShow,x=t.badge,w=t.badgePosition,S=t.iconBoxOverlayDirection,_=void 0===S?"left":S,j=t.lazyLoad,T=t.hasInnerBlocks,O=(0,L.useAnimationAdvanceData)(t),C=c||null,k=(0,L.useAnimationFrontend)(t),P=(0,L.useDisplayFrontend)(t),N=(0,l.classnames)("guten-element",o,k,P,"guten-icon-box","icon-position-".concat(d)),E=function(){switch(u){case"icon":return(0,m.jsx)("div",{className:"icon-box icon-box-header",children:(0,m.jsx)("div",{className:"icon style-".concat(v),children:(0,m.jsx)("i",{className:p})})});case"image":return(0,m.jsx)("div",{className:"icon-box icon-box-header",children:(0,m.jsx)("div",{className:"icon style-".concat(v," type-image"),children:j?(0,m.jsx)("img",{src:(0,g.getImageSrc)(a),alt:C,loading:"lazy"}):(0,m.jsx)("img",{src:(0,g.getImageSrc)(a),alt:C})})});default:return null}},D=function(){return(0,m.jsxs)("div",{className:"guten-icon-box-wrapper hover-from-".concat(_),children:["bottom"!==d&&E(),(n||i)&&(0,m.jsxs)("div",{className:"icon-box icon-box-body",children:[n&&""!==n&&(0,m.jsx)(s.RichText.Content,{className:"title",value:n,tagName:r}),i&&""!==i&&(0,m.jsx)(s.RichText.Content,{className:"icon-box-description",value:i,tagName:"p"}),(0,m.jsx)(s.InnerBlocks.Content,{})]}),"bottom"===d&&E(),f&&(0,m.jsx)("div",{className:"icon-box-badge ".concat(w),children:(0,m.jsx)(s.RichText.Content,{className:"badge-text",value:x,tagName:"span"})}),b&&(0,m.jsx)("div",{className:"hover-watermark",children:(0,m.jsx)("i",{className:h})})]})};return(0,m.jsx)("div",he(he({className:N},O),{},{children:T?(0,m.jsx)(D,{}):(0,m.jsx)(be,he(he({},e),{},{children:(0,m.jsx)(D,{})}))}))}));const xe=fe,we=JSON.parse('{"apiVersion":2,"name":"gutenverse/icon-box","title":"Icon Box","description":"Add an information section with icon box.","category":"gutenverse-element","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"mouseMoveEffect":{"type":"object","copyStyle":true},"url":{"type":"string"},"dynamicUrl":{"type":"object","default":{}},"isDynamic":{"type":"boolean","default":false},"separateButtonLink":{"type":"boolean","default":true},"linkTarget":{"type":"string","source":"attribute","selector":"a","attribute":"target"},"rel":{"type":"string","source":"attribute","selector":"a","attribute":"rel"},"title":{"type":"string","default":"Icon Box"},"titleChilds":{"type":"array","default":[]},"titleTag":{"type":"string","default":"h2"},"description":{"type":"string","default":"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."},"descriptionChilds":{"type":"array","default":[]},"titleDynamicList":{"type":"array","default":[]},"descriptionDynamicList":{"type":"array","default":[]},"badgeDynamicList":{"type":"array","default":[]},"dynamicAttributes":{"type":"array","default":["titleDynamicList","descriptionDynamicList","badgeDynamicList"]},"hasGlobalLink":{"type":"boolean","default":false},"openDynamic":{"type":"string"},"dynamicTextContent":{"type":"array","copyStyle":true},"dynamicUrlContent":{"type":"array","copyStyle":true},"badgeShow":{"type":"boolean","default":false,"copyStyle":true},"badge":{"type":"string","default":"BADGE","copyStyle":true},"badgeChilds":{"type":"array","default":[]},"badgePosition":{"type":"string","default":"bottomcenter","copyStyle":true},"watermarkShow":{"type":"boolean","default":false},"watermarkIcon":{"type":"string","default":"far fa-map"},"iconType":{"type":"string","default":"icon"},"icon":{"type":"string","default":"far fa-user"},"iconSize":{"type":"object","default":{"Desktop":40},"copyStyle":true},"iconBoxOverlay":{"type":"object","copyStyle":true},"iconBoxHoverOverlay":{"type":"object","copyStyle":true},"iconBoxOverlayDirection":{"type":"string","copyStyle":true},"imageWidth":{"type":"integer","default":150,"copyStyle":true},"imageHeight":{"type":"integer","default":150,"copyStyle":true},"imageHeightResponsive":{"type":"object","copyStyle":true},"imageWidthResponsive":{"type":"object","copyStyle":true},"image":{"type":"object"},"imageAlt":{"type":"string"},"imageFit":{"type":"string"},"link":{"type":"string"},"iconPosition":{"type":"string","copyStyle":true},"iconPositionResponsive":{"type":"object","copyStyle":true},"align":{"type":"object","copyStyle":true},"height":{"type":"object","default":{},"copyStyle":true},"heightControl":{"type":"string","default":"default","copyStyle":true},"containerPadding":{"type":"object","copyStyle":true},"containerPaddingHover":{"type":"object","copyStyle":true},"containerBackground":{"type":"object","copyStyle":true},"containerBackgroundHover":{"type":"object","copyStyle":true},"containerBorder":{"type":"object","copyStyle":true},"containerBorderResponsive":{"type":"object","migrate":{"attr":"containerBorder","type":"border"},"copyStyle":true},"containerBoxShadow":{"type":"object","copyStyle":true},"containerBorderHover":{"type":"object","copyStyle":true},"containerBorderHoverResponsive":{"type":"object","migrate":{"attr":"containerBorderHover","type":"border"},"copyStyle":true},"containerBoxShadowHover":{"type":"object","copyStyle":true},"iconPadding":{"type":"object","copyStyle":true},"iconMargin":{"type":"object","copyStyle":true},"iconRotate":{"type":"object","copyStyle":true},"iconStyleMode":{"type":"string","copyStyle":true},"iconColor":{"type":"object","copyStyle":true},"iconHoverColor":{"type":"object","copyStyle":true},"iconBgColor":{"type":"object","copyStyle":true},"iconHoverBgColor":{"type":"object","copyStyle":true},"iconGradient":{"type":"object","copyStyle":true},"iconGradientHover":{"type":"object","copyStyle":true},"iconBgGradient":{"type":"object","copyStyle":true},"iconBgGradientHover":{"type":"object","copyStyle":true},"iconBorder":{"type":"object","copyStyle":true},"iconBorderResponsive":{"type":"object","migrate":{"attr":"iconBorder","type":"border"},"copyStyle":true},"iconBoxShadow":{"type":"object","copyStyle":true},"iconBorderHover":{"type":"object","copyStyle":true},"iconBorderHoverResponsive":{"type":"object","migrate":{"attr":"iconBorderHover","type":"border"},"copyStyle":true},"iconBoxShadowHover":{"type":"object","copyStyle":true},"titlePadding":{"type":"object","copyStyle":true},"titleMargin":{"type":"object","copyStyle":true},"titleColor":{"type":"object","copyStyle":true},"titleHoverColor":{"type":"object","copyStyle":true},"titleTypography":{"type":"object","copyStyle":true},"descMargin":{"type":"object","copyStyle":true},"descColor":{"type":"object","copyStyle":true},"descHoverColor":{"type":"object","copyStyle":true},"descTypography":{"type":"object","copyStyle":true},"watermarkColor":{"type":"object","copyStyle":true},"watermarkSize":{"type":"object","copyStyle":true},"badgeTextColor":{"type":"object","copyStyle":true},"badgePadding":{"type":"object","copyStyle":true},"badgeMargin":{"type":"object","copyStyle":true},"badgeRadius":{"type":"object","copyStyle":true},"badgeBackground":{"type":"object","copyStyle":true},"badgeTypography":{"type":"object","copyStyle":true},"badgeShadow":{"type":"object","copyStyle":true},"background":{"type":"object","default":{},"copyStyle":true},"backgroundHover":{"type":"object","default":{},"copyStyle":true},"backgroundTransition":{"type":"object","copyStyle":true,"default":{}},"border":{"type":"object","default":{},"copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"borderHover":{"type":"object","default":{},"copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadowHover":{"type":"object","copyStyle":true},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"animation":{"type":"object","default":{},"copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"positioningType":{"type":"object","copyStyle":true},"positioningWidth":{"type":"object","copyStyle":true},"positioningAlign":{"type":"object","copyStyle":true},"positioningLocation":{"type":"string","copyStyle":true},"positioningLeft":{"type":"object","copyStyle":true},"positioningRight":{"type":"object","copyStyle":true},"positioningTop":{"type":"object","copyStyle":true},"positioningBottom":{"type":"object","copyStyle":true},"advanceAnimation":{"type":"object","default":{},"copyStyle":true},"transform":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"lazyLoad":{"type":"boolean","copyStyle":true},"condition":{"type":"object","default":{}},"hoverWithParent":{"type":"boolean","default":false,"copyStyle":true},"parentSelector":{"type":"string","copyStyle":true},"hasInnerBlocks":{"type":"boolean","default":false}},"supports":{"className":false},"keywords":["icon","box"]}');var Se=o(4889);function _e(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function je(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?_e(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):_e(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var Te=we.name,Oe=we.attributes,Ce={icon:(0,m.jsx)(Se.nh,{}),example:{attributes:{align:{Desktop:null},containerBackground:{type:"default",color:{r:255,g:255,b:255,a:1}},background:{},backgroundHover:{},border:{},boxShadow:{position:"outline"},borderHover:{},boxShadowHover:{position:"outline"},animation:{},title:"Icon Box",titleTag:"h3",description:"Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium totam rem aperiam",icon:"gtn gtn-design-light",imageWidth:"80",imageHeight:"80",image:{},iconPosition:"top",containerPadding:{Desktop:{unit:"px",dimension:{top:"40",right:"50",bottom:"40",left:"50"}}},containerBorder:{radius:{Desktop:{unit:"px",dimension:{top:"10",right:"10",bottom:"10",left:"10"}}},all:{type:"none"}},containerBoxShadow:{color:{r:186,g:184,b:191,a:.3},horizontal:"0",vertical:"0",blur:"30",spread:"1"},iconPadding:{Desktop:{unit:"px",dimension:{top:"20",right:"20",bottom:"20",left:"20"}}},iconMargin:{Desktop:{}},iconStyleMode:"color",iconColor:{r:255,g:255,b:255,a:1},iconBgColor:{r:94,g:129,b:244,a:1},iconBorder:{radius:{Desktop:{unit:"px",dimension:{top:"50",right:"50",bottom:"50",left:"50"}}}},titleColor:{r:19,g:41,b:120,a:1},titleTypography:{font:{label:"Roboto",value:"Roboto",type:"google"},size:{Desktop:{point:"20",unit:"px"}},weight:"500"},descMargin:{Desktop:{},Tablet:{},Mobile:{}},descColor:{r:129,g:129,b:165,a:1}}},edit:X,save:ee,providesContext:{hoverWithParent:"hoverWithParent",parentSelector:"parentSelector"},deprecated:[{attributes:je(je({},Oe),{},{imageWidth:{type:"int",default:150,copyStyle:!0,deprecated:!0},imageHeight:{type:"int",default:150,copyStyle:!0,deprecated:!0}}),migrate:function(e){var t=e.imageWidth,o=e.imageHeight;return[je(je({},e),{},{imageHeight:parseInt(o),imageWidth:parseInt(t)})]},save:ie},{attributes:je(je({},Oe),{},{imageWidth:{type:"int",default:150,copyStyle:!0,deprecated:!0},imageHeight:{type:"int",default:150,copyStyle:!0,deprecated:!0}}),migrate:function(e){var t=e.imageWidth,o=e.imageHeight;return[je(je({},e),{},{imageHeight:parseInt(o),imageWidth:parseInt(t)})]},save:pe},{attributes:Oe,save:me},{attributes:Oe,save:xe}]}},9682:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>oe,name:()=>re,settings:()=>ie});var n=o(6065),r=o(8930),i=o(9491),a=o(6087),s=o(2188),l=o(4715),c=o(3482),p=o(596),u=o(7723),d=o(5255),y=function(e){var t=e.elementId,o=e.postblockType,n=(0,d.getDeviceType)();return[{id:"categoryVerticalAlign",label:(0,u.__)("Category Vertical Align","gutenverse"),show:"type-5"===o,component:p.SelectControl,allowDeviceControl:!0,options:[{label:"Top",value:"baseline"},{label:"Middle",value:"center"},{label:"Bottom",value:"end"}]},{id:"categoryColor",label:(0,u.__)("Color","gutenverse"),component:p.ColorControl,liveStyle:[{type:"color",id:"categoryColor",selector:".".concat(t," .guten-postblock .guten-post-category a"),properties:[{name:"color",valueType:"direct"}]}]},{id:"categoryTypography",label:(0,u.__)("Typography","gutenverse"),component:p.TypographyControl},{id:"categoryBackground",label:(0,u.__)("Background","gutenverse"),component:p.ColorControl,liveStyle:[{type:"color",id:"categoryBackground",selector:".".concat(t," .guten-postblock .guten-post-category"),properties:[{name:"background-color",valueType:"direct"}]}]},{id:"categoryMargin",label:(0,u.__)("Margin","gutenverse"),component:p.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"categoryPadding",label:(0,u.__)("Padding","gutenverse"),component:p.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"categoryBorder",show:"Desktop"===n,label:(0,u.__)("Border","gutenverse"),component:p.BorderControl,liveStyle:[{type:"border",id:"categoryBorder",selector:".".concat(t," .guten-postblock .guten-post-category")}]},{id:"categoryBorderResponsive",show:"Desktop"!==n,label:(0,u.__)("Border","gutenverse"),component:p.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"categoryBorderResponsive",selector:".".concat(t," .guten-postblock .guten-post-category")}]},{id:"categoryShadow",label:(0,u.__)("Box Shadow","gutenverse"),component:p.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"categoryShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t," .guten-postblock .guten-post-category")}]}]},g=function(e){var t=e.elementId;return[{id:"commentColor",label:(0,u.__)("Text color","gutenverse"),component:p.ColorControl,liveStyle:[{type:"color",id:"commentColor",selector:".".concat(t," .guten-postblock .guten-post .guten-postblock-content .guten-meta-comment a"),properties:[{name:"color",valueType:"direct"}]}]},{id:"commentSize",label:(0,u.__)("Size","gutenverse"),component:p.RangeControl,min:1,max:100,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"commentSize",responsive:!0,selector:".".concat(t," .guten-postblock .guten-post .guten-postblock-content .guten-meta-comment a"),properties:[{name:"font-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"commentSpacing",label:(0,u.__)("Spacing","gutenverse"),component:p.RangeControl,min:1,max:100,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"commentSpacing",responsive:!0,selector:".".concat(t," .guten-postblock .guten-post .guten-postblock-content .guten-meta-comment.icon-position-before span"),properties:[{name:"margin-left",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]},{type:"plain",id:"commentSpacing",responsive:!0,selector:".".concat(t," .guten-postblock .guten-post .guten-postblock-content .guten-meta-comment.icon-position-after span"),properties:[{name:"margin-right",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"commentMargin",label:(0,u.__)("Margin","gutenverse"),component:p.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"commentPadding",label:(0,u.__)("Padding","gutenverse"),component:p.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}}]},m=o(790),v=function(e){var t=e.elementId,o=e.postblockType,n=e.categoryEnabled,r=e.excerptEnabled,i=e.readmoreEnabled,a=e.commentEnabled,s=e.metaEnabled,l=e.metaAuthorEnabled,d=e.metaDateEnabled,y=e.metaDateFormat,g=window.GutenverseConfig.gutenverseImgDir;return[{id:"postblockType",label:(0,u.__)("Block Type","gutenverse"),component:p.ImageRadioControl,options:[{image:(0,m.jsx)("img",{src:"".concat(g,"/post-block-1.png")}),value:"type-1"},{image:(0,m.jsx)("img",{src:"".concat(g,"/post-block-2.png")}),value:"type-2"},{image:(0,m.jsx)("img",{src:"".concat(g,"/post-block-3.png")}),value:"type-3"},{image:(0,m.jsx)("img",{src:"".concat(g,"/post-block-4.png")}),value:"type-4"},{image:(0,m.jsx)("img",{src:"".concat(g,"/post-block-5.png")}),value:"type-5"}]},{id:"contentOrder",label:(0,u.__)("Content Order","gutenverse"),component:p.SelectSortableControl,isMulti:!0,onSearch:function(e){return new Promise((function(t){t([{label:(0,u.__)("Title"),value:"title"},{label:(0,u.__)("Meta"),value:"meta"},{label:(0,u.__)("Excerpt"),value:"excerpt"},{label:(0,u.__)("Read More"),value:"read"}].filter((function(t){return t.value.toLowerCase().includes(e.toLowerCase())})))}))}},{id:"column",label:(0,u.__)("Column","gutenverse"),component:p.RangeControl,allowDeviceControl:!0,min:1,max:3,step:1,liveStyle:[{type:"plain",id:"column",selector:".".concat(t," .guten-postblock .guten-posts"),properties:[{name:"grid-template-columns",valueType:"pattern",pattern:"repeat({value}, minmax(0, 1fr))",patternValues:{value:{type:"direct"}}}]}]},{id:"breakpoint",show:["type-1","type-4"].includes(o),label:(0,u.__)("Responsive Breakpoint","gutenverse"),component:p.SelectControl,options:[{label:(0,u.__)("Tablet"),value:"tablet"},{label:(0,u.__)("Mobile"),value:"mobile"},{label:(0,u.__)("No Responsive"),value:"no-responsive"}]},{id:"htmlTag",label:(0,u.__)("Title HTML Tag","gutenverse"),component:p.SelectControl,options:[{label:(0,u.__)("H1"),value:"h1"},{label:(0,u.__)("H2"),value:"h2"},{label:(0,u.__)("H3"),value:"h3"},{label:(0,u.__)("H4"),value:"h4"},{label:(0,u.__)("H5"),value:"h5"},{label:(0,u.__)("H6"),value:"h6"},{label:(0,u.__)("P"),value:"p"}]},{id:"categoryEnabled",label:(0,u.__)("Enable Category","gutenverse"),component:p.CheckboxControl},{id:"categoryPosition",show:"type-3"===o&&n,label:(0,u.__)("Category Position","gutenverse"),component:p.IconRadioControl,options:[{label:(0,u.__)("Align Left","gutenverse"),value:"left",icon:(0,m.jsx)(c.AlignLeft,{})},{label:(0,u.__)("Align Center","gutenverse"),value:"center",icon:(0,m.jsx)(c.AlignCenter,{})},{label:(0,u.__)("Align Right","gutenverse"),value:"right",icon:(0,m.jsx)(c.AlignRight,{})}]},{id:"excerptEnabled",label:(0,u.__)("Enable Excerpt","gutenverse"),component:p.CheckboxControl},{id:"excerptLength",show:r,label:(0,u.__)("Excerpt Length","gutenverse"),component:p.RangeControl,min:0,max:200,step:1,isParseFloat:!1},{id:"excerptMore",show:r,label:(0,u.__)("Excerpt's End","gutenverse"),component:p.TextControl},{id:"readmoreEnabled",label:(0,u.__)("Enable Read More","gutenverse"),component:p.CheckboxControl},{id:"readmoreIcon",show:i,component:p.IconControl},{id:"readmoreIconPosition",show:i,component:p.SelectControl,options:[{label:(0,u.__)("Before"),value:"before"},{label:(0,u.__)("After"),value:"after"}]},{id:"readmoreText",show:i,component:p.TextControl},{id:"commentEnabled",label:(0,u.__)("Enable Comment","gutenverse"),component:p.CheckboxControl},{id:"commentIcon",show:a,component:p.IconControl},{id:"commentIconPosition",show:a,component:p.SelectControl,options:[{label:(0,u.__)("Before"),value:"before"},{label:(0,u.__)("After"),value:"after"}]},{id:"metaEnabled",label:(0,u.__)("Enable Post Meta","gutenverse"),component:p.CheckboxControl},{id:"metaAuthorEnabled",show:s,label:(0,u.__)("Enable Post Author Meta","gutenverse"),component:p.CheckboxControl},{id:"metaAuthorByText",show:s&&l,label:(0,u.__)("Meta Author Preposition","gutenverse"),component:p.TextControl},{id:"metaAuthorIcon",show:s&&l,component:p.IconControl},{id:"metaAuthorIconPosition",show:s&&l,component:p.SelectControl,options:[{label:(0,u.__)("Before"),value:"before"},{label:(0,u.__)("After"),value:"after"}]},{id:"metaDateEnabled",show:s,label:(0,u.__)("Enable Post Date Meta","gutenverse"),component:p.CheckboxControl},{id:"metaDateType",show:s&&d,label:(0,u.__)("Date Type","gutenverse"),component:p.SelectControl,options:[{label:(0,u.__)("Published Date","gutenverse"),value:"published"},{label:(0,u.__)("Modified Date","gutenverse"),value:"modified"},{label:(0,u.__)("Both Dates","gutenverse"),value:"both"}]},{id:"metaDateFormat",show:s&&d,label:(0,u.__)("Date Format","gutenverse"),component:p.SelectControl,options:[{label:(0,u.__)("Relative Date/Time Format (ago)","gutenverse"),value:"ago"},{label:(0,u.__)("Wordpress Default Format","gutenverse"),value:"default"},{label:(0,u.__)("Custom Format","gutenverse"),value:"custom"}]},{id:"metaDateFormatCustom",show:s&&d&&"custom"===y,label:(0,u.__)("Custom Format","gutenverse"),component:p.TextControl},{id:"metaDateIcon",show:s&&d,component:p.IconControl},{id:"metaDateIconPosition",show:s&&d,component:p.SelectControl,options:[{label:(0,u.__)("Before"),value:"before"},{label:(0,u.__)("After"),value:"after"}]},{id:"lazyLoad",label:(0,u.__)("Set Lazy Load","gutenverse"),component:p.CheckboxControl}]},h=function(e){var t=e.elementId,o=(0,d.getDeviceType)();return[{id:"contentAlign",label:(0,u.__)("Alignment","gutenverse"),component:p.IconRadioControl,allowDeviceControl:!0,options:[{label:(0,u.__)("Align Left","gutenverse"),value:"left",icon:(0,m.jsx)(c.AlignLeft,{})},{label:(0,u.__)("Align Center","gutenverse"),value:"center",icon:(0,m.jsx)(c.AlignCenter,{})},{label:(0,u.__)("Align Right","gutenverse"),value:"right",icon:(0,m.jsx)(c.AlignRight,{})}]},{id:"contentContainerBackground",label:(0,u.__)("Background","gutenverse"),component:p.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"contentContainerBackground",selector:".".concat(t," .guten-postblock .guten-postblock-content")}]},{id:"contentMargin",label:(0,u.__)("Margin","gutenverse"),component:p.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"contentPadding",label:(0,u.__)("Padding","gutenverse"),component:p.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"contentBorder",show:"Desktop"===o,label:(0,u.__)("Border","gutenverse"),component:p.BorderControl,liveStyle:[{type:"border",id:"contentBorder",selector:".".concat(t," .guten-postblock .guten-postblock-content")}]},{id:"contentBorderResponsive",show:"Desktop"!==o,label:(0,u.__)("Border","gutenverse"),component:p.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"contentBorderResponsive",selector:".".concat(t," .guten-postblock .guten-postblock-content")}]},{id:"contentContainerShadow",label:(0,u.__)("Box Shadow","gutenverse"),component:p.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"contentContainerShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t," .guten-postblock .guten-postblock-content")}]}]},b=function(e){var t=e.elementId,o=e.excerptInline;return[{id:"excerptMargin",label:(0,u.__)("Margin","gutenverse"),component:p.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"excerptColor",label:(0,u.__)("Text color","gutenverse"),component:p.ColorControl,liveStyle:[{type:"color",id:"excerptColor",selector:".".concat(t," .guten-postblock .guten-post .guten-postblock-content .guten-post-excerpt p"),properties:[{name:"color",valueType:"direct"}]}]},{id:"excerptTypography",label:(0,u.__)("Typography","gutenverse"),component:p.TypographyControl},{id:"excerptInline",label:(0,u.__)("Set Inline Excerpt","gutenverse"),component:p.CheckboxControl,allowDeviceControl:!0,deviceValues:o,usePreviousDeviceValue:!0,usePreviousDevice:!0}]},f=function(e){switch(e){case"prevnext":return[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"},{value:"disabled",label:"Disabled"}];case"number":return[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"},{value:"current",label:"Active"}];default:return[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}]}};function x(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function w(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?x(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):x(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var S=function(e){var t=e.paginationMode,o=e.paginationPrevNextText,n=e.setSwitcher,r=e.switcher,i=e.setAttributes;return[{id:"paginationMode",label:(0,u.__)("Pagination Mode","gutenverse"),description:(0,u.__)("Note: Auto Load on Scroll effect is disabled in editor mode, but it can be viewed on Preview mode.","gutenverse"),component:p.SelectControl,options:[{label:(0,u.__)("No Pagination"),value:"disable"},{label:(0,u.__)("Load More"),value:"loadmore"},{label:(0,u.__)("Auto Load on Scroll"),value:"scrollload"},{label:(0,u.__)("Prev Next"),value:"prevnext"},{label:(0,u.__)("Number"),value:"number"}],onChange:function(e){var t=e.paginationMode,o=e.__paginationHover,a=f(t);null!=a&&a.some((function(e){return e.value===o}))||(i({__paginationHover:"normal"}),n(w(w({},r),{},{paginationHover:"normal"})))}},{id:"paginationPrevNextText",show:t&&("number"===t||"prevnext"===t),label:(0,u.__)("Show Text","gutenverse"),component:p.CheckboxControl},{id:"paginationPrevText",show:t&&("number"===t||"prevnext"===t)&&o,label:(0,u.__)('"Previous" Text',"gutenverse"),component:p.TextControl},{id:"paginationNextText",show:t&&("number"===t||"prevnext"===t)&&o,label:(0,u.__)('"Next" Text',"gutenverse"),component:p.TextControl},{id:"paginationPrevIcon",show:t&&("number"===t||"prevnext"===t),component:p.IconControl},{id:"paginationNextIcon",show:t&&("number"===t||"prevnext"===t),component:p.IconControl},{id:"paginationLoadmoreText",show:t&&("loadmore"===t||"scrollload"===t),label:(0,u.__)('"Load More" Text',"gutenverse"),component:p.TextControl},{id:"paginationLoadingText",show:t&&("loadmore"===t||"scrollload"===t),label:(0,u.__)('"Loading" Text',"gutenverse"),component:p.TextControl},{id:"paginationNumberPost",show:t&&("loadmore"===t||"scrollload"===t),label:(0,u.__)("Pagination Post","gutenverse"),description:(0,u.__)("Number of Post loaded per Pagination","gutenverse"),component:p.RangeControl,min:1,max:30,step:1,isParseFloat:!1},{id:"paginationScrollLimit",show:t&&"scrollload"===t,label:(0,u.__)("Auto Load Limit","gutenverse"),description:(0,u.__)("Limit of auto load when scrolling, set to zero to always load until end of content.","gutenverse"),component:p.NumberControl,min:0,max:9999,step:1},{id:"paginationIcon",show:t&&("loadmore"===t||"scrollload"===t),component:p.IconControl},{id:"paginationIconPosition",show:t&&("loadmore"===t||"scrollload"===t),component:p.SelectControl,options:[{label:(0,u.__)("Before"),value:"before"},{label:(0,u.__)("After"),value:"after"}]}]};function _(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function j(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?_(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):_(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var T=function(e){var t=e.elementId,o=e.switcher,r=e.setSwitcher,i=e.paginationMode,a=(0,d.getDeviceType)();return[{id:"paginationTypography",label:(0,u.__)("Typography","gutenverse"),component:p.TypographyControl},{id:"paginationMargin",label:(0,u.__)("Margin","gutenverse"),component:p.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"paginationPadding",label:(0,u.__)("Padding","gutenverse"),component:p.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"numberGap",label:(0,u.__)("Gap","gutenverse"),show:"number"===i||"prevnext"===i,component:p.RangeControl,min:0,max:500,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"numberGap",responsive:!0,selector:".".concat(t," .guten-postblock .guten_block_nav"),properties:[{name:"gap",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"paginationWidth",label:"number"===i?(0,u.__)("Number Width","gutenverse"):(0,u.__)("Width","gutenverse"),show:"prevnext"!==i,component:p.SizeControl,min:1,max:500,step:1,allowDeviceControl:!0,units:(0,n.A)({px:{text:"px",min:1,max:500,step:1}},"%",{text:"%",min:1,max:100,step:1}),liveStyle:[{type:"unitPoint",id:"paginationWidth",responsive:!0,selector:".".concat(t," .guten-postblock .guten-block-pagination .guten-block-loadmore, .").concat(t," .guten-postblock:not(.guten-pagination-prevnext) .guten_block_nav .btn-pagination:not(.next):not(.prev)"),properties:[{name:"width",valueType:"direct"}]}]},{id:"paginationHeight",label:(0,u.__)("Number Height","gutenverse"),show:"number"===i,component:p.RangeControl,min:1,max:100,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"paginationHeight",responsive:!0,selector:".".concat(t," .guten-postblock.guten-pagination-number .guten_block_nav .btn-pagination:not(.next):not(.prev)"),properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"paginationNavigationWidth",label:"prevnext"===i?(0,u.__)("Width","gutenverse"):(0,u.__)("Navigation Width","gutenverse"),show:"number"===i||"prevnext"===i,component:p.SizeControl,min:1,max:500,step:1,units:(0,n.A)({px:{text:"px",min:1,max:500,step:1}},"%",{text:"%",min:1,max:100,step:1}),allowDeviceControl:!0,liveStyle:[{type:"unitPoint",id:"paginationNavigationWidth",responsive:!0,selector:".".concat(t," .guten-postblock.guten-pagination-prevnext .guten_block_nav .btn-pagination.next, .").concat(t," .guten-postblock.guten-pagination-prevnext .guten_block_nav .btn-pagination.prev,\n .").concat(t," .guten-postblock.guten-pagination-number .guten_block_nav .btn-pagination.next, .").concat(t," .guten-postblock.guten-pagination-number .guten_block_nav .btn-pagination.prev"),properties:[{name:"width",valueType:"direct"}]}]},{id:"paginationNavigationHeight",label:"prevnext"===i?(0,u.__)("Height","gutenverse"):(0,u.__)("Navigation Height","gutenverse"),show:"number"===i||"prevnext"===i,component:p.RangeControl,min:1,max:100,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"paginationNavigationHeight",responsive:!0,selector:".".concat(t," .guten-postblock.guten-pagination-prevnext .guten_block_nav .btn-pagination.next, .").concat(t," .guten-postblock.guten-pagination-prevnext .guten_block_nav .btn-pagination.prev,\n .").concat(t," .guten-postblock.guten-pagination-number .guten_block_nav .btn-pagination.next, .").concat(t," .guten-postblock.guten-pagination-number .guten_block_nav .btn-pagination.prev"),properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"paginationIconSpacing",label:(0,u.__)("Icon Spacing","gutenverse"),component:p.RangeControl,min:1,max:100,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"paginationIconSpacing",responsive:!0,selector:".".concat(t," .guten-postblock .guten-block-pagination .guten-block-loadmore.icon-position-before i, .").concat(t," .guten-postblock .guten_block_nav .btn-pagination.prev i"),properties:[{name:"margin-right",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]},{type:"plain",id:"paginationIconSpacing",responsive:!0,selector:".".concat(t," .guten-postblock .guten-block-pagination .guten-block-loadmore.icon-position-after i, .").concat(t," .guten-postblock .guten_block_nav .btn-pagination.next i"),properties:[{name:"margin-left",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"paginationIconSize",label:(0,u.__)("Icon Size","gutenverse"),component:p.SizeControl,allowDeviceControl:!0,units:{px:{text:"px",min:1,max:100,step:1},em:{text:"em",min:.1,max:3,step:.1}},liveStyle:[{type:"unitPoint",id:"paginationIconSize",responsive:!0,selector:".".concat(t," .guten-postblock .guten-block-pagination .guten-block-loadmore.icon-position-before i, .").concat(t," .guten-postblock .guten_block_nav .btn-pagination.prev i"),properties:[{name:"font-size",valueType:"direct"}]},{type:"unitPoint",id:"paginationIconSize",responsive:!0,selector:".".concat(t," .guten-postblock .guten-block-pagination .guten-block-loadmore.icon-position-after i, .").concat(t," .guten-postblock .guten_block_nav .btn-pagination.next i"),properties:[{name:"font-size",valueType:"direct"}]}]},{id:"paginationAlign",label:(0,u.__)("Alignment","gutenverse"),component:p.IconRadioControl,show:"prevnext"!==i&&"number"!==i,allowDeviceControl:!0,options:[{label:(0,u.__)("Align Left","gutenverse"),value:"left",icon:(0,m.jsx)(c.AlignLeft,{})},{label:(0,u.__)("Align Center","gutenverse"),value:"center",icon:(0,m.jsx)(c.AlignCenter,{})},{label:(0,u.__)("Align Right","gutenverse"),value:"right",icon:(0,m.jsx)(c.AlignRight,{})}]},{id:"navigationAlign",label:(0,u.__)("Alignment","gutenverse"),allowDeviceControl:!0,show:"prevnext"===i||"number"===i,component:p.IconRadioControl,options:[{label:(0,u.__)("Left","gutenverse"),value:"left",icon:(0,m.jsx)(c.AlignLeft,{})},{label:(0,u.__)("Center","gutenverse"),value:"center",icon:(0,m.jsx)(c.AlignCenter,{})},{label:(0,u.__)("Right","gutenverse"),value:"right",icon:(0,m.jsx)(c.AlignRight,{})},{label:(0,u.__)("Edge","gutenverse"),value:"space-between",icon:(0,m.jsx)(c.AlignJustify,{})}]},{id:"__paginationHover",component:p.SwitchControl,options:f(i),onChange:function(e){var t=e.__paginationHover;return r(j(j({},o),{},{paginationHover:t}))}},{id:"paginationColor",show:!o.paginationHover||"normal"===o.paginationHover,label:(0,u.__)("Normal color","gutenverse"),component:p.ColorControl,liveStyle:[{type:"color",id:"paginationColor",selector:".".concat(t," .guten-postblock .guten-block-pagination .guten-block-loadmore, .").concat(t," .guten-postblock .guten_block_nav .btn-pagination"),properties:[{name:"color",valueType:"direct"}]}]},{id:"paginationCurrentColor",show:"current"===o.paginationHover,label:(0,u.__)("Active color","gutenverse"),component:p.ColorControl,liveStyle:[{type:"color",id:"paginationCurrentColor",selector:".".concat(t," .guten-postblock .guten_block_nav .btn-pagination.current"),properties:[{name:"color",valueType:"direct"}]}]},{id:"paginationDisabledColor",show:"disabled"===o.paginationHover,label:(0,u.__)("Disabled color","gutenverse"),component:p.ColorControl,liveStyle:[{type:"color",id:"paginationDisabledColor",selector:".".concat(t," .guten-postblock .guten_block_nav .btn-pagination.disabled"),properties:[{name:"color",valueType:"direct"}]}]},{id:"paginationHoverColor",show:"hover"===o.paginationHover,label:(0,u.__)("Hover color","gutenverse"),component:p.ColorControl,liveStyle:[{type:"color",id:"paginationHoverColor",selector:".".concat(t," .guten-postblock .guten-block-pagination .guten-block-loadmore:hover, .").concat(t," .guten-postblock .guten_block_nav .btn-pagination:not(.disabled):not(.current):hover"),properties:[{name:"color",valueType:"direct"}]}]},{id:"paginationBackground",show:!o.paginationHover||"normal"===o.paginationHover,label:(0,u.__)("Background","gutenverse"),component:p.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"paginationBackground",selector:".".concat(t," .guten-postblock .guten-block-pagination .guten-block-loadmore, .").concat(t," .guten-postblock .guten_block_nav .btn-pagination")}]},{id:"paginationCurrentBackground",show:"current"===o.paginationHover,label:(0,u.__)("Active Background","gutenverse"),component:p.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"paginationCurrentBackground",selector:".".concat(t," .guten-postblock .guten_block_nav .btn-pagination.current")}]},{id:"paginationDisabledBackground",show:"disabled"===o.paginationHover,label:(0,u.__)("Disabled Background","gutenverse"),component:p.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"paginationDisabledBackground",selector:".".concat(t," .guten-postblock .guten_block_nav .btn-pagination.disabled")}]},{id:"paginationHoverBackground",show:"hover"===o.paginationHover,label:(0,u.__)("Hover Background","gutenverse"),component:p.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"paginationHoverBackground",selector:".".concat(t," .guten-postblock .guten-block-pagination .guten-block-loadmore:hover, .").concat(t," .guten-postblock .guten_block_nav .btn-pagination:not(.disabled):not(.current):hover")}]},{id:"paginationBorder",show:(!o.paginationHover||"normal"===o.paginationHover)&&"Desktop"===a,label:(0,u.__)("Border","gutenverse"),component:p.BorderControl,liveStyle:[{type:"border",id:"paginationBorder",selector:".".concat(t," .guten-postblock .guten-block-pagination .guten-block-loadmore, .").concat(t," .guten-postblock .guten_block_nav .btn-pagination")}]},{id:"paginationBorderResponsive",show:(!o.paginationHover||"normal"===o.paginationHover)&&"Desktop"!==a,label:(0,u.__)("Border","gutenverse"),component:p.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"paginationBorderResponsive",selector:".".concat(t," .guten-postblock .guten-block-pagination .guten-block-loadmore, .").concat(t," .guten-postblock .guten_block_nav .btn-pagination")}]},{id:"paginationHoverBorder",show:"hover"===o.paginationHover&&"Desktop"===a,label:(0,u.__)("Border","gutenverse"),component:p.BorderControl,liveStyle:[{type:"border",id:"paginationHoverBorder",selector:".".concat(t," .guten-postblock .guten-block-pagination .guten-block-loadmore:hover, .").concat(t," .guten-postblock .guten_block_nav .btn-pagination:hover")}]},{id:"paginationHoverBorderResponsive",show:"hover"===o.paginationHover&&"Desktop"!==a,label:(0,u.__)("Border","gutenverse"),component:p.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"paginationHoverBorderResponsive",selector:".".concat(t," .guten-postblock .guten-block-pagination .guten-block-loadmore:hover, .").concat(t," .guten-postblock .guten_block_nav .btn-pagination:hover")}]},{id:"paginationShadow",show:!o.paginationHover||"normal"===o.paginationHover,label:(0,u.__)("Box Shadow","gutenverse"),component:p.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"paginationShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t," .guten-postblock .guten-block-pagination .guten-block-loadmore, .").concat(t," .guten-postblock .guten_block_nav .btn-pagination")}]},{id:"paginationHoverShadow",show:"hover"===o.paginationHover,label:(0,u.__)("Hover Box Shadow","gutenverse"),component:p.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"paginationHoverShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t," .guten-postblock .guten-block-pagination .guten-block-loadmore:hover, .").concat(t," .guten-postblock .guten_block_nav .btn-pagination:hover")}]},{id:"paginationDisabledBorder",show:"disabled"===o.paginationHover,label:(0,u.__)("Border","gutenverse"),component:p.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"paginationDisabledBorder",selector:".".concat(t," .guten-postblock .guten_block_nav .btn-pagination.disabled")}]},{id:"paginationDisabledShadow",show:"disabled"===o.paginationHover,label:(0,u.__)("Box Shadow","gutenverse"),component:p.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"paginationDisabledShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t," .guten-postblock .guten_block_nav .btn-pagination.disabled")}]}]},O=function(e){var t=e.elementId,o=(0,d.getDeviceType)();return[{id:"postItemGap",label:(0,u.__)("Column Gap","gutenverse"),component:p.RangeControl,min:0,max:200,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"postItemGap",responsive:!0,selector:".".concat(t," .guten-postblock .guten-posts"),properties:[{name:"grid-column-gap",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"postItemBackground",label:(0,u.__)("Background","gutenverse"),component:p.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"postItemBackground",selector:".".concat(t," .guten-postblock .guten-post")}]},{id:"postItemMargin",label:(0,u.__)("Margin","gutenverse"),component:p.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"postItemPadding",label:(0,u.__)("Padding","gutenverse"),component:p.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"postItemBorder",show:"Desktop"===o,label:(0,u.__)("Border","gutenverse"),component:p.BorderControl,liveStyle:[{type:"border",id:"postItemBorder",selector:".".concat(t," .guten-postblock .guten-post")}]},{id:"postItemBorderResponsive",show:"Desktop"!==o,label:(0,u.__)("Border","gutenverse"),component:p.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"postItemBorderResponsive",selector:".".concat(t," .guten-postblock .guten-post")}]},{id:"postItemBoxShadow",label:(0,u.__)("Box Shadow","gutenverse"),component:p.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"postItemBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t," .guten-postblock .guten-post")}]}]},C=function(e){var t=e.elementId,o=e.postMetaInline;return[{id:"metaTypography",label:(0,u.__)("Typography","gutenverse"),component:p.TypographyControl},{id:"metaColor",label:(0,u.__)("Text color","gutenverse"),component:p.ColorControl,liveStyle:[{type:"color",id:"metaColor",selector:".".concat(t," .guten-postblock .guten-postblock-content .guten-post-meta"),properties:[{name:"color",valueType:"direct"}]}]},{id:"metaColorIcon",label:(0,u.__)("Icon color","gutenverse"),component:p.ColorControl,liveStyle:[{type:"color",id:"metaColorIcon",selector:".".concat(t," .guten-postblock .guten-postblock-content .guten-post-meta i"),properties:[{name:"color",valueType:"direct"}]}]},{id:"metaAuthorTypography",label:(0,u.__)("Author Typography","gutenverse"),component:p.TypographyControl},{id:"metaAuthorColor",label:(0,u.__)("Author color","gutenverse"),component:p.ColorControl,liveStyle:[{type:"color",id:"metaAuthorColor",selector:".".concat(t," .guten-postblock .guten-postblock-content .guten-post-meta .guten-meta-author a"),properties:[{name:"color",valueType:"direct"}]}]},{id:"metaMargin",label:(0,u.__)("Margin","gutenverse"),component:p.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"metaAuthorIconSpacing",label:(0,u.__)("Author Icon Spacing","gutenverse"),component:p.RangeControl,min:1,max:100,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"metaAuthorIconSpacing",responsive:!0,selector:".".concat(t," .guten-postblock .guten-postblock-content .guten-post-meta .guten-meta-author.icon-position-before i"),properties:[{name:"margin-right",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]},{type:"plain",id:"metaAuthorIconSpacing",responsive:!0,selector:".".concat(t," .guten-postblock .guten-postblock-content .guten-post-meta .guten-meta-author.icon-position-after i"),properties:[{name:"margin-left",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"metaDateIconSpacing",label:(0,u.__)("Date Icon Spacing","gutenverse"),component:p.RangeControl,min:1,max:100,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"metaDateIconSpacing",responsive:!0,selector:".".concat(t," .guten-postblock .guten-postblock-content .guten-post-meta .guten-meta-date.icon-position-before i"),properties:[{name:"margin-right",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]},{type:"plain",id:"metaDateIconSpacing",responsive:!0,selector:".".concat(t," .guten-postblock .guten-postblock-content .guten-post-meta .guten-meta-date.icon-position-after i"),properties:[{name:"margin-left",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"postMetaInline",label:(0,u.__)("Set Inline Post Meta","gutenverse"),component:p.CheckboxControl,allowDeviceControl:!0,deviceValues:o,usePreviousDeviceValue:!0,usePreviousDevice:!0}]};function k(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function P(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?k(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):k(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var N=function(e){var t=e.elementId,o=e.switcher,r=e.setSwitcher,i=(0,d.getDeviceType)();return[{id:"readmoreTypography",label:(0,u.__)("Typography","gutenverse"),component:p.TypographyControl},{id:"readmoreMargin",label:(0,u.__)("Margin","gutenverse"),component:p.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"readmorePadding",label:(0,u.__)("Padding","gutenverse"),component:p.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"readmoreSpacing",label:(0,u.__)("Spacing","gutenverse"),component:p.RangeControl,min:1,max:100,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"readmoreSpacing",responsive:!0,selector:".".concat(t," .guten-postblock .guten-post .guten-postblock-content .guten-meta-readmore.icon-position-before .guten-readmore i"),properties:[{name:"margin-right",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]},{type:"plain",id:"readmoreSpacing",responsive:!0,selector:".".concat(t," .guten-postblock .guten-post .guten-postblock-content .guten-meta-readmore.icon-position-after .guten-readmore i"),properties:[{name:"margin-left",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"readmoreIconSize",label:(0,u.__)("Icon Size","gutenverse"),component:p.SizeControl,allowDeviceControl:!0,units:{px:{text:"px",min:1,max:100,step:1},em:{text:"em",min:.1,max:3,step:.1}},liveStyle:[{type:"unitPoint",id:"readmoreIconSize",responsive:!0,selector:".".concat(t," .guten-postblock .guten-post .guten-postblock-content .guten-meta-readmore .guten-readmore i"),properties:[{name:"font-size",valueType:"direct"}]}]},{id:"readmoreWidth",label:(0,u.__)("Width","gutenverse"),component:p.SizeControl,min:1,max:500,step:1,units:(0,n.A)({px:{text:"px",min:1,max:500,step:1}},"%",{text:"%",min:1,max:100,step:1}),allowDeviceControl:!0,liveStyle:[{type:"unitPoint",id:"readmoreWidth",responsive:!0,selector:".".concat(t," .guten-postblock .guten-post .guten-postblock-content .guten-meta-readmore .guten-readmore"),properties:[{name:"width",valueType:"direct"}]}]},{id:"readmoreAlign",label:(0,u.__)("Alignment","gutenverse"),component:p.IconRadioControl,allowDeviceControl:!0,options:[{label:(0,u.__)("Align Left","gutenverse"),value:"start",icon:(0,m.jsx)(c.AlignLeft,{})},{label:(0,u.__)("Align Center","gutenverse"),value:"center",icon:(0,m.jsx)(c.AlignCenter,{})},{label:(0,u.__)("Align Right","gutenverse"),value:"end",icon:(0,m.jsx)(c.AlignRight,{})}]},{id:"__readmoreHover",component:p.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__readmoreHover;return r(P(P({},o),{},{readmoreHover:t}))}},{id:"readmoreColor",show:!o.readmoreHover||"normal"===o.readmoreHover,label:(0,u.__)("Normal color","gutenverse"),component:p.ColorControl,liveStyle:[{type:"color",id:"readmoreColor",selector:".".concat(t," .guten-postblock .guten-post .guten-postblock-content .guten-meta-readmore a"),properties:[{name:"color",valueType:"direct"}]}]},{id:"readmoreHoverColor",show:"hover"===o.readmoreHover,label:(0,u.__)("Hover color","gutenverse"),component:p.ColorControl,liveStyle:[{type:"color",id:"readmoreHoverColor",selector:".".concat(t," .guten-postblock .guten-post .guten-postblock-content .guten-meta-readmore:hover a"),properties:[{name:"color",valueType:"direct"}]}]},{id:"readmoreBackground",show:!o.readmoreHover||"normal"===o.readmoreHover,label:(0,u.__)("Background","gutenverse"),component:p.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"readmoreBackground",selector:".".concat(t," .guten-postblock .guten-post .guten-postblock-content .guten-meta-readmore a")}]},{id:"readmoreHoverBackground",show:"hover"===o.readmoreHover,label:(0,u.__)("Hover Background","gutenverse"),component:p.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"readmoreHoverBackground",selector:".".concat(t," .guten-postblock .guten-post .guten-postblock-content .guten-meta-readmore:hover a")}]},{id:"readmoreBorder",show:(!o.readmoreHover||"normal"===o.readmoreHover)&&"Desktop"===i,label:(0,u.__)("Border","gutenverse"),component:p.BorderControl,liveStyle:[{type:"border",id:"readmoreBorder",selector:".".concat(t," .guten-postblock .guten-post .guten-postblock-content .guten-meta-readmore a")}]},{id:"readmoreBorderResponsive",show:(!o.readmoreHover||"normal"===o.readmoreHover)&&"Desktop"!==i,label:(0,u.__)("Border","gutenverse"),component:p.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"readmoreBorderResponsive",selector:".".concat(t," .guten-postblock .guten-post .guten-postblock-content .guten-meta-readmore a")}]},{id:"readmoreHoverBorder",show:"hover"===o.readmoreHover&&"Desktop"===i,label:(0,u.__)("Border","gutenverse"),component:p.BorderControl,liveStyle:[{type:"border",id:"readmoreHoverBorder",selector:".".concat(t," .guten-postblock .guten-post .guten-postblock-content .guten-meta-readmore:hover a")}]},{id:"readmoreHoverBorderResponsive",show:"hover"===o.readmoreHover&&"Desktop"!==i,label:(0,u.__)("Border","gutenverse"),component:p.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"readmoreHoverBorderResponsive",selector:".".concat(t," .guten-postblock .guten-post .guten-postblock-content .guten-meta-readmore:hover a")}]},{id:"readmoreShadow",label:(0,u.__)("Box Shadow","gutenverse"),component:p.BoxShadowControl,show:!o.readmoreHover||"normal"===o.readmoreHover,liveStyle:[{type:"boxShadow",id:"readmoreShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t," .guten-postblock .guten-post .guten-postblock-content .guten-meta-readmore a")}]},{id:"readmoreHoverShadow",label:(0,u.__)("Hover Box Shadow","gutenverse"),component:p.BoxShadowControl,show:"hover"===o.readmoreHover,liveStyle:[{type:"boxShadow",id:"readmoreHoverShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t," .guten-postblock .guten-post .guten-postblock-content .guten-meta-readmore:hover a")}]}]},E=o(1455),D=o.n(E),B=o(3832),A=o(6304),H=o(1222),R=function(e){var t=e.postType,o=(0,H.isOnEditor)()?function(e){return new Promise((function(o){D()({path:(0,B.addQueryArgs)("page"===t?"/wp/v2/pages":"/wp/v2/posts",{search:e})}).then((function(e){var t=e.map((function(e){return{label:e.title.rendered,value:e.id}}));o(t)})).catch((function(){o([])}))}))}:function(){return{label:"",value:""}},n=(0,H.isOnEditor)()?A.searchAuthor:function(){return{label:"",value:""}},r=(0,H.isOnEditor)()?A.searchCategory:function(){return{label:"",value:""}},i=(0,H.isOnEditor)()?A.searchTag:function(){return{label:"",value:""}};return[{id:"inheritQuery",label:(0,u.__)("Inherit Query from Template","gutenverse"),description:(0,u.__)("In Frontend, this will automatically show list of post depend on the current template such as : Archive, Search, etc."),component:p.CheckboxControl},{id:"postType",label:(0,u.__)("Include Post Type","gutenverse"),component:p.SelectControl,options:[{label:(0,u.__)("Page"),value:"page"},{label:(0,u.__)("Post"),value:"post"}]},{id:"noContentText",label:(0,u.__)("Text to show if there is no content","gutenverse"),component:p.TextControl},{id:"numberPost",label:(0,u.__)("Number of Post initially showed","gutenverse"),component:p.RangeControl,min:1,max:30,step:1,isParseFloat:!1},{id:"postOffset",label:(0,u.__)("Post Offset","gutenverse"),component:p.NumberControl,forceType:"string"},{id:"includePost",label:(0,u.__)("Include Post","gutenverse"),component:p.SelectSearchControl,isMulti:!0,onSearch:o},{id:"excludeCurrentPost",label:(0,u.__)("Exclude Current Post","gutenverse"),description:(0,u.__)("Exclude current post. Use this for single post template. Only show on frontend."),component:p.CheckboxControl},{id:"excludePost",label:(0,u.__)("Exclude Post","gutenverse"),component:p.SelectSearchControl,isMulti:!0,onSearch:o},{id:"includeCategory",label:(0,u.__)("Include Category","gutenverse"),component:p.SelectSearchControl,isMulti:!0,onSearch:r},{id:"excludeCategory",label:(0,u.__)("Exclude Category","gutenverse"),component:p.SelectSearchControl,isMulti:!0,onSearch:r},{id:"includeAuthor",label:(0,u.__)("Include Author","gutenverse"),component:p.SelectSearchControl,isMulti:!0,onSearch:n},{id:"includeTag",label:(0,u.__)("Include Tag","gutenverse"),component:p.SelectSearchControl,isMulti:!0,onSearch:i},{id:"excludeTag",label:(0,u.__)("Exclude Tag","gutenverse"),component:p.SelectSearchControl,isMulti:!0,onSearch:i},{id:"sortBy",label:(0,u.__)("Sort By","gutenverse"),component:p.SelectControl,options:[{value:"latest",label:(0,u.__)("Latest","gutenverse")},{value:"oldest",label:(0,u.__)("Oldest","gutenverse")},{value:"alphabet_asc",label:(0,u.__)("Alphabet Asc","gutenverse")},{value:"alphabet_desc",label:(0,u.__)("Alphabet Desc","gutenverse")},{value:"random",label:(0,u.__)("Random","gutenverse")},{value:"random_week",label:(0,u.__)("Random Week","gutenverse")},{value:"random_month",label:(0,u.__)("Random Month","gutenverse")},{value:"most_comment",label:(0,u.__)("Most Comment","gutenverse")}]}]},I=function(e){var t=e.elementId,o=(0,d.getDeviceType)();return[{id:"thumbnailWidth",label:(0,u.__)("Width","gutenverse"),component:p.RangeControl,min:0,max:100,step:1,allowDeviceControl:!0,unit:"%",liveStyle:[{type:"plain",id:"thumbnailWidth",responsive:!0,selector:".".concat(t," .guten-postblock:not(.postblock-type-5) .guten-thumb, .").concat(t," .guten-postblock.postblock-type-5 .guten-post"),properties:[{name:"width",valueType:"pattern",pattern:"{value}%; flex-basis: {value}%",patternValues:{value:{type:"direct"}}}]}]},{id:"thumbnailMargin",label:(0,u.__)("Margin","gutenverse"),component:p.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"thumbnailPadding",label:(0,u.__)("Padding","gutenverse"),component:p.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"thumbnailBorder",show:"Desktop"===o,label:(0,u.__)("Border","gutenverse"),component:p.BorderControl,liveStyle:[{type:"border",id:"thumbnailBorder",selector:".".concat(t," .guten-postblock .guten-thumb")}]},{id:"thumbnailBorderResponsive",show:"Desktop"!==o,label:(0,u.__)("Border","gutenverse"),component:p.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"thumbnailBorderResponsive",selector:".".concat(t," .guten-postblock .guten-thumb")}]},{id:"thumbnailBoxShadow",label:(0,u.__)("Box Shadow","gutenverse"),component:p.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"thumbnailBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t," .guten-postblock .guten-thumb")}]}]},M=function(e){var t=e.elementId;return[{id:"thumbnailHeight",label:(0,u.__)("Height","gutenverse"),component:p.RangeControl,min:0,max:1e3,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"thumbnailHeight",responsive:!0,selector:".".concat(t," .guten-postblock .guten-thumb .thumbnail-container"),properties:[{name:"height",valueType:"pattern",pattern:"{value}px; padding-bottom: 0",patternValues:{value:{type:"direct"}}}]}]},{id:"thumbnailContainerBackground",label:(0,u.__)("Background","gutenverse"),component:p.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"thumbnailContainerBackground",selector:".".concat(t," .guten-postblock .guten-thumb .thumbnail-container")}]},{id:"thumbnailRadius",label:(0,u.__)("Border Radius","gutenverse"),component:p.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"thumbnailContainerShadow",label:(0,u.__)("Box Shadow","gutenverse"),component:p.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"thumbnailContainerShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t," .guten-postblock .guten-thumb .thumbnail-container")}]}]},L=function(e){var t=e.elementId;return[{id:"thumbnailBackground",label:(0,u.__)("Overlay Background","gutenverse"),component:p.BackgroundControl,allowDeviceControl:!0,options:["default","gradient"],liveStyle:[{type:"background",id:"thumbnailBackground",selector:".".concat(t," .guten-postblock .guten-overlay")}]},{id:"thumbnailOverlayOpacity",label:(0,u.__)("Overlay Opacity","gutenverse"),component:p.RangeControl,min:0,max:1,step:.01,allowDeviceControl:!0,liveStyle:[{type:"plain",id:"thumbnailOverlayOpacity",responsive:!0,selector:".".concat(t," .guten-postblock .guten-overlay"),properties:[{name:"opacity",valueType:"direct"}]}]}]};function z(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function F(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?z(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):z(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var V=function(e){var t=e.elementId,o=e.switcher,n=e.setSwitcher;return[{id:"titleMargin",label:(0,u.__)("Margin","gutenverse"),component:p.DimensionControl,position:["top","right","bottom","left"],allowDeviceControl:!0,units:{px:{text:"px",unit:"px"},em:{text:"em",unit:"em"},percent:{text:"%",unit:"%"}}},{id:"__styleHover",component:p.SwitchControl,options:[{value:"normal",label:"Normal"},{value:"hover",label:"Hover"}],onChange:function(e){var t=e.__styleHover;return n(F(F({},o),{},{styleHover:t}))}},{id:"titleColor",show:!o.styleHover||"normal"===o.styleHover,label:(0,u.__)("Text color","gutenverse"),component:p.ColorControl,liveStyle:[{type:"color",id:"titleColor",selector:".".concat(t," .guten-postblock .guten-post .guten-postblock-content .guten-post-title a"),properties:[{name:"color",valueType:"direct"}]}]},{id:"titleTypography",show:!o.styleHover||"normal"===o.styleHover,label:(0,u.__)("Typography","gutenverse"),component:p.TypographyControl},{id:"titleColorHover",show:"hover"===o.styleHover,label:(0,u.__)("Hover Text color","gutenverse"),component:p.ColorControl,liveStyle:[{type:"color",id:"titleColorHover",selector:".".concat(t," .guten-postblock .guten-post:hover .guten-postblock-content .guten-post-title a"),properties:[{name:"color",valueType:"direct"}]}]},{id:"titleTypographyHover",show:"hover"===o.styleHover,label:(0,u.__)("Hover Typography","gutenverse"),component:p.TypographyControl}]};function W(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function G(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?W(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):W(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var U=function(){return[{title:(0,u.__)("Setting","gutenverse"),panelArray:R,tabRole:p.TabSetting},{title:(0,u.__)("Content Setting","gutenverse"),initialOpen:!1,panelArray:v,tabRole:p.TabSetting},{title:(0,u.__)("Pagination","gutenverse"),initialOpen:!1,panelArray:S,tabRole:p.TabSetting},{title:(0,u.__)("Post Item","gutenverse"),initialOpen:!1,panelArray:O,tabRole:p.TabStyle},{title:(0,u.__)("Thumbnail","gutenverse"),initialOpen:!1,panelArray:I,tabRole:p.TabStyle},{title:(0,u.__)("Thumbnail Overlay","gutenverse"),initialOpen:!1,panelArray:L,tabRole:p.TabStyle},{title:(0,u.__)("Thumbnail Container","gutenverse"),initialOpen:!1,panelArray:M,tabRole:p.TabStyle},{title:(0,u.__)("Content Container","gutenverse"),initialOpen:!1,panelArray:h,tabRole:p.TabStyle},{title:(0,u.__)("Category","gutenverse"),initialOpen:!1,panelArray:y,tabRole:p.TabStyle},{title:(0,u.__)("Title","gutenverse"),initialOpen:!1,panelArray:V,tabRole:p.TabStyle},{title:(0,u.__)("Excerpt","gutenverse"),initialOpen:!1,panelArray:b,tabRole:p.TabStyle},{title:(0,u.__)("Read More","gutenverse"),initialOpen:!1,panelArray:N,tabRole:p.TabStyle},{title:(0,u.__)("Comment","gutenverse"),initialOpen:!1,panelArray:g,tabRole:p.TabStyle},{title:(0,u.__)("Post Meta","gutenverse"),initialOpen:!1,panelArray:C,tabRole:p.TabStyle},{title:(0,u.__)("Pagination Style","gutenverse"),initialOpen:!1,panelArray:T,tabRole:p.TabStyle},{title:(0,u.__)("Background","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,p.backgroundPanel)(G(G({},e),{},{styleId:"post-block-background",normalOptions:["default","gradient"],hoverOptions:["default","gradient"],normalSelector:".".concat(e.elementId,".guten-element"),hoverSelector:".".concat(e.elementId,".guten-element:hover")}))},tabRole:p.TabStyle},{title:(0,u.__)("Border","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,p.borderPanel)(G(G({},e),{},{selector:".".concat(e.elementId,".guten-element"),styleId:"post-block-border"}))},tabRole:p.TabStyle},{title:(0,u.__)("Masking","gutenverse"),initialOpen:!1,panelArray:p.maskPanel,tabRole:p.TabStyle},{title:(0,u.__)("Display","gutenverse"),initialOpen:!1,panelArray:p.responsivePanel,tabRole:p.TabSetting},{title:(0,u.__)("Positioning","gutenverse"),initialOpen:!1,panelArray:p.positioningPanel,tabRole:p.TabSetting},{title:(0,u.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,p.animationPanel)(G(G({},e),{},{styleId:"post-block-animation"}))},tabRole:p.TabSetting},{title:(0,u.__)("Transform","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,p.transformPanel)(G(G({},e),{},{selector:".".concat(e.elementId," .guten-posts"),hoverSelector:".".concat(e.elementId," .guten-posts:hover")}))},pro:!0},{title:(0,u.__)("Mouse Move Effect","gutenverse"),initialOpen:!1,panelArray:p.mouseMoveEffectPanel,tabRole:p.TabSetting,pro:!0},{title:(0,u.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,p.advancePanel)(G(G({},e),{},{selector:".editor-styles-wrapper .is-root-container .".concat(e.elementId,".guten-element"),styleId:"post-block-advance"}))},tabRole:p.TabSetting},{title:(0,u.__)("Condition","gutenverse"),panelArray:p.conditionPanel,initialOpen:!1,pro:!0}]},q=o(6826),$=o(4320),Y=o(4404),X=o(2619);const J=function(e,t){var o=[];return o=function(e,t,o){return(0,H.isNotEmpty)(t.categoryVerticalAlign)&&t.categoryEnabled&&"type-5"===t.postblockType&&o.push({type:"plain",id:"categoryVerticalAlign",responsive:!0,selector:".".concat(e," .guten-postblock .guten-block-container .guten-postblock-content"),properties:[{name:"height",valueType:"function",functionName:"postBlockContentAlign",functionProps:{selectorType:"first"}}]}),(0,H.isNotEmpty)(t.categoryVerticalAlign)&&"type-5"===t.postblockType&&o.push({type:"plain",responsive:!0,id:"categoryVerticalAlign",selector:".".concat(e," .guten-postblock .guten-block-container .guten-postblock-content .post-category-container"),properties:[{name:"align-self",valueType:"function",functionName:"postBlockContentAlign",functionProps:{selectorType:"second"}}]}),(0,H.isNotEmpty)(t.categoryColor)&&o.push({type:"color",id:"categoryColor",selector:".".concat(e," .guten-postblock .guten-post-category a"),properties:[{name:"color",valueType:"direct"}]}),(0,H.isNotEmpty)(t.categoryTypography)&&o.push({type:"typography",id:"categoryTypography",selector:".".concat(e," .guten-postblock .guten-post-category a")}),(0,H.isNotEmpty)(t.categoryBackground)&&o.push({type:"color",id:"categoryBackground",selector:".".concat(e," .guten-postblock .guten-post-category"),properties:[{name:"background-color",valueType:"direct"}]}),(0,H.isNotEmpty)(t.categoryMargin)&&o.push({type:"dimension",id:"categoryMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e," .guten-postblock .guten-post-category")}),(0,H.isNotEmpty)(t.categoryPadding)&&o.push({type:"dimension",id:"categoryPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e," .guten-postblock .guten-post-category")}),(0,H.isNotEmpty)(t.categoryBorder)&&o.push({type:"border",id:"categoryBorder",selector:".".concat(e," .guten-postblock .guten-post-category")}),(0,H.isNotEmpty)(t.categoryBorderResponsive)&&o.push({type:"borderResponsive",id:"categoryBorderResponsive",selector:".".concat(e," .guten-postblock .guten-post-category")}),(0,H.isNotEmpty)(t.categoryShadow)&&o.push({type:"boxShadow",id:"categoryShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e," .guten-postblock .guten-post-category")}),o}(e,t,o),o=function(e,t,o){return(0,H.isNotEmpty)(t.commentColor)&&o.push({type:"color",id:"commentColor",selector:".".concat(e," .guten-postblock .guten-post .guten-postblock-content .guten-meta-comment a"),properties:[{name:"color",valueType:"direct"}]}),(0,H.isNotEmpty)(t.commentSize)&&o.push({type:"plain",id:"commentSize",responsive:!0,selector:".".concat(e," .guten-postblock .guten-post .guten-postblock-content .guten-meta-comment a"),properties:[{name:"font-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,H.isNotEmpty)(t.commentSpacing)&&o.push({type:"plain",id:"commentSpacing",responsive:!0,selector:".".concat(e," .guten-postblock .guten-post .guten-postblock-content .guten-meta-comment.icon-position-before span"),properties:[{name:"margin-left",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,H.isNotEmpty)(t.commentSpacing)&&o.push({type:"plain",id:"commentSpacing",responsive:!0,selector:".".concat(e," .guten-postblock .guten-post .guten-postblock-content .guten-meta-comment.icon-position-after span"),properties:[{name:"margin-right",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,H.isNotEmpty)(t.commentMargin)&&o.push({type:"dimension",id:"commentMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e," .guten-postblock .guten-post .guten-postblock-content .guten-meta-comment")}),(0,H.isNotEmpty)(t.commentPadding)&&o.push({type:"dimension",id:"commentPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e," .guten-postblock .guten-post .guten-postblock-content .guten-meta-comment")}),o}(e,t,o),o=function(e,t,o){return(0,H.isNotEmpty)(t.contentAlign)&&o.push({type:"plain",responsive:!0,id:"contentAlign",selector:".".concat(e," .guten-postblock .guten-postblock-content"),properties:[{name:"text-align",valueType:"direct"}]}),(0,H.isNotEmpty)(t.contentAlign)&&o.push({type:"plain",responsive:!0,id:"contentAlign",selector:".".concat(e," .guten-postblock .guten-postblock-content .guten-post-meta-bottom"),properties:[{name:"justify-content",valueType:"function",functionName:"handleAlignReverse"}]}),(0,H.isNotEmpty)(t.contentContainerBackground)&&o.push({type:"background",id:"contentContainerBackground",selector:".".concat(e," .guten-postblock .guten-postblock-content")}),(0,H.isNotEmpty)(t.contentMargin)&&o.push({type:"dimension",id:"contentMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e," .guten-postblock .guten-postblock-content")}),(0,H.isNotEmpty)(t.contentPadding)&&o.push({type:"dimension",id:"contentPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e," .guten-postblock .guten-postblock-content")}),(0,H.isNotEmpty)(t.contentBorder)&&o.push({type:"border",id:"contentBorder",selector:".".concat(e," .guten-postblock .guten-postblock-content")}),(0,H.isNotEmpty)(t.contentBorderResponsive)&&o.push({type:"borderResponsive",id:"contentBorderResponsive",selector:".".concat(e," .guten-postblock .guten-postblock-content")}),(0,H.isNotEmpty)(t.contentContainerShadow)&&o.push({type:"boxShadow",id:"contentContainerShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e," .guten-postblock .guten-postblock-content")}),o}(e,t,o),o=function(e,t,o){return(0,H.isNotEmpty)(t.column)&&o.push({type:"plain",id:"column",responsive:!0,selector:".".concat(e," .guten-postblock .guten-posts"),properties:[{name:"grid-template-columns",valueType:"pattern",pattern:"repeat({value}, minmax(0, 1fr))",patternValues:{value:{type:"direct"}}}]}),o}(e,t,o),o=function(e,t,o){return(0,H.isNotEmpty)(t.excerptMargin)&&o.push({type:"dimension",id:"excerptMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e," .guten-postblock .guten-post .guten-postblock-content .guten-post-excerpt")}),(0,H.isNotEmpty)(t.excerptColor)&&o.push({type:"color",id:"excerptColor",selector:".".concat(e," .guten-postblock .guten-post .guten-postblock-content .guten-post-excerpt p"),properties:[{name:"color",valueType:"direct"}]}),(0,H.isNotEmpty)(t.excerptTypography)&&o.push({type:"typography",id:"excerptTypography",selector:".".concat(e," .guten-postblock .guten-post .guten-postblock-content .guten-post-excerpt p")}),o.push({type:"plain",id:"excerptInline",responsive:!0,selector:".".concat(e," .guten-postblock .guten-post .guten-postblock-content .guten-post-excerpt"),properties:[{name:"display",valueType:"function",functionName:"handleSimpleCondition",functionProps:{valueTrue:"inline-flex",valueFalse:"flex"}}]}),o}(e,t,o),o=function(e,t,o){return(0,H.isNotEmpty)(t.paginationTypography)&&o.push({type:"typography",id:"paginationTypography",selector:".".concat(e," .guten-postblock .guten-block-pagination .guten-block-loadmore span, .").concat(e," .guten-postblock .guten_block_nav .btn-pagination")}),(0,H.isNotEmpty)(t.paginationMargin)&&o.push({type:"dimension",id:"paginationMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e," .guten-postblock .guten-block-pagination .guten-block-loadmore, .").concat(e," .guten-postblock .guten_block_nav .btn-pagination")}),(0,H.isNotEmpty)(t.paginationPadding)&&o.push({type:"dimension",id:"paginationPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e," .guten-postblock .guten-block-pagination .guten-block-loadmore, .").concat(e," .guten-postblock .guten_block_nav .btn-pagination")}),(0,H.isNotEmpty)(t.numberGap)&&o.push({type:"plain",id:"numberGap",responsive:!0,selector:".".concat(e," .guten-postblock .guten_block_nav"),properties:[{name:"gap",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,H.isNotEmpty)(t.paginationWidth)&&o.push({type:"unitPoint",id:"paginationWidth",responsive:!0,selector:".".concat(e," .guten-postblock .guten-block-pagination .guten-block-loadmore, .").concat(e," .guten-postblock:not(.guten-pagination-prevnext) .guten_block_nav .btn-pagination:not(.next):not(.prev)"),properties:[{name:"width",valueType:"direct"}]}),(0,H.isNotEmpty)(t.paginationHeight)&&"number"===t.paginationMode&&o.push({type:"plain",id:"paginationHeight",responsive:!0,selector:".".concat(e," .guten-postblock.guten-pagination-number .guten_block_nav .btn-pagination:not(.next):not(.prev)"),properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,H.isNotEmpty)(t.paginationNavigationWidth)&&o.push({type:"unitPoint",id:"paginationNavigationWidth",responsive:!0,selector:".".concat(e," .guten-postblock.guten-pagination-prevnext .guten_block_nav .btn-pagination.next, .").concat(e," .guten-postblock.guten-pagination-prevnext .guten_block_nav .btn-pagination.prev,\n .").concat(e," .guten-postblock.guten-pagination-number .guten_block_nav .btn-pagination.next, .").concat(e," .guten-postblock.guten-pagination-number .guten_block_nav .btn-pagination.prev"),properties:[{name:"width",valueType:"direct"}]}),(0,H.isNotEmpty)(t.paginationNavigationHeight)&&o.push({type:"plain",id:"paginationNavigationHeight",responsive:!0,selector:".".concat(e," .guten-postblock.guten-pagination-prevnext .guten_block_nav .btn-pagination.next, .").concat(e," .guten-postblock.guten-pagination-prevnext .guten_block_nav .btn-pagination.prev,\n .").concat(e," .guten-postblock.guten-pagination-number .guten_block_nav .btn-pagination.next, .").concat(e," .guten-postblock.guten-pagination-number .guten_block_nav .btn-pagination.prev"),properties:[{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,H.isNotEmpty)(t.paginationIconSpacing)&&o.push({type:"plain",id:"paginationIconSpacing",responsive:!0,selector:".".concat(e," .guten-postblock .guten-block-pagination .guten-block-loadmore.icon-position-before i, .").concat(e," .guten-postblock .guten_block_nav .btn-pagination.prev i"),properties:[{name:"margin-right",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,H.isNotEmpty)(t.paginationIconSpacing)&&o.push({type:"plain",id:"paginationIconSpacing",responsive:!0,selector:".".concat(e," .guten-postblock .guten-block-pagination .guten-block-loadmore.icon-position-after i, .").concat(e," .guten-postblock .guten_block_nav .btn-pagination.next i"),properties:[{name:"margin-left",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,H.isNotEmpty)(t.paginationIconSize)&&o.push({type:"unitPoint",id:"paginationIconSize",responsive:!0,selector:".".concat(e," .guten-postblock .guten-block-pagination .guten-block-loadmore.icon-position-before i, .").concat(e," .guten-postblock .guten_block_nav .btn-pagination.prev i"),properties:[{name:"font-size",valueType:"direct"}]}),(0,H.isNotEmpty)(t.paginationIconSize)&&o.push({type:"unitPoint",id:"paginationIconSize",responsive:!0,selector:".".concat(e," .guten-postblock .guten-block-pagination .guten-block-loadmore.icon-position-after i, .").concat(e," .guten-postblock .guten_block_nav .btn-pagination.next i"),properties:[{name:"font-size",valueType:"direct"}]}),(0,H.isNotEmpty)(t.paginationAlign)&&o.push({type:"plain",id:"paginationAlign",responsive:!0,selector:".".concat(e," .guten-postblock .guten-block-pagination, .").concat(e," .guten-postblock .guten_block_nav"),properties:[{name:"text-align",valueType:"direct"}]}),(0,H.isNotEmpty)(t.navigationAlign)&&o.push({type:"plain",id:"navigationAlign",responsive:!0,selector:".".concat(e," .guten-postblock.guten-pagination-prevnext .guten_block_nav,\n .").concat(e," .guten-postblock.guten-pagination-number .guten_block_nav"),properties:[{name:"justify-content",valueType:"direct"}]}),(0,H.isNotEmpty)(t.paginationColor)&&o.push({type:"color",id:"paginationColor",selector:".".concat(e," .guten-postblock .guten-block-pagination .guten-block-loadmore, .").concat(e," .guten-postblock .guten_block_nav .btn-pagination"),properties:[{name:"color",valueType:"direct"}]}),(0,H.isNotEmpty)(t.paginationCurrentColor)&&o.push({type:"color",id:"paginationCurrentColor",selector:".".concat(e," .guten-postblock .guten_block_nav .btn-pagination.current"),properties:[{name:"color",valueType:"direct"}]}),(0,H.isNotEmpty)(t.paginationDisabledColor)&&o.push({type:"color",id:"paginationDisabledColor",selector:".".concat(e," .guten-postblock .guten_block_nav .btn-pagination.disabled"),properties:[{name:"color",valueType:"direct"}]}),(0,H.isNotEmpty)(t.paginationHoverColor)&&o.push({type:"color",id:"paginationHoverColor",selector:".".concat(e," .guten-postblock .guten-block-pagination .guten-block-loadmore:hover, .").concat(e," .guten-postblock .guten_block_nav .btn-pagination:not(.disabled):not(.current):hover"),properties:[{name:"color",valueType:"direct"}]}),(0,H.isNotEmpty)(t.paginationBackground)&&o.push({type:"background",id:"paginationBackground",selector:".".concat(e," .guten-postblock .guten-block-pagination .guten-block-loadmore, .").concat(e," .guten-postblock .guten_block_nav .btn-pagination")}),(0,H.isNotEmpty)(t.paginationCurrentBackground)&&o.push({type:"background",id:"paginationCurrentBackground",selector:".".concat(e," .guten-postblock .guten_block_nav .btn-pagination.current")}),(0,H.isNotEmpty)(t.paginationDisabledBackground)&&o.push({type:"background",id:"paginationDisabledBackground",selector:".".concat(e," .guten-postblock .guten_block_nav .btn-pagination.disabled")}),(0,H.isNotEmpty)(t.paginationHoverBackground)&&o.push({type:"background",id:"paginationHoverBackground",selector:".".concat(e," .guten-postblock .guten-block-pagination .guten-block-loadmore:hover, .").concat(e," .guten-postblock .guten_block_nav .btn-pagination:not(.disabled):not(.current):hover")}),(0,H.isNotEmpty)(t.paginationBorder)&&o.push({type:"border",id:"paginationBorder",selector:".".concat(e," .guten-postblock .guten-block-pagination .guten-block-loadmore, .").concat(e," .guten-postblock .guten_block_nav .btn-pagination")}),(0,H.isNotEmpty)(t.paginationBorderResponsive)&&o.push({type:"borderResponsive",id:"paginationBorderResponsive",selector:".".concat(e," .guten-postblock .guten-block-pagination .guten-block-loadmore, .").concat(e," .guten-postblock .guten_block_nav .btn-pagination")}),(0,H.isNotEmpty)(t.paginationHoverBorder)&&o.push({type:"border",id:"paginationHoverBorder",selector:".".concat(e," .guten-postblock .guten-block-pagination .guten-block-loadmore:hover, .").concat(e," .guten-postblock .guten_block_nav .btn-pagination:hover")}),(0,H.isNotEmpty)(t.paginationHoverBorderResponsive)&&o.push({type:"borderResponsive",id:"paginationHoverBorderResponsive",selector:".".concat(e," .guten-postblock .guten-block-pagination .guten-block-loadmore:hover, .").concat(e," .guten-postblock .guten_block_nav .btn-pagination:hover")}),(0,H.isNotEmpty)(t.paginationShadow)&&o.push({type:"boxShadow",id:"paginationShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e," .guten-postblock .guten-block-pagination .guten-block-loadmore, .").concat(e," .guten-postblock .guten_block_nav .btn-pagination")}),(0,H.isNotEmpty)(t.paginationHoverShadow)&&o.push({type:"boxShadow",id:"paginationHoverShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e," .guten-postblock .guten-block-pagination .guten-block-loadmore:hover, .").concat(e," .guten-postblock .guten_block_nav .btn-pagination:hover")}),(0,H.isNotEmpty)(t.paginationDisabledBorder)&&o.push({type:"borderResponsive",id:"paginationDisabledBorder",selector:".".concat(e," .guten-postblock .guten_block_nav .btn-pagination.disabled")}),(0,H.isNotEmpty)(t.paginationDisabledShadow)&&o.push({type:"boxShadow",id:"paginationDisabledShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e," .guten-postblock .guten_block_nav .btn-pagination.disabled")}),o}(e,t,o),o=function(e,t,o){return(0,H.isNotEmpty)(t.postItemGap)&&o.push({type:"plain",id:"postItemGap",responsive:!0,selector:".".concat(e," .guten-postblock .guten-posts"),properties:[{name:"grid-column-gap",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,H.isNotEmpty)(t.postItemBackground)&&o.push({type:"background",id:"postItemBackground",selector:".".concat(e," .guten-postblock .guten-post")}),(0,H.isNotEmpty)(t.postItemMargin)&&o.push({type:"dimension",id:"postItemMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e," .guten-postblock .guten-post")}),(0,H.isNotEmpty)(t.postItemPadding)&&o.push({type:"dimension",id:"postItemPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e," .guten-postblock .guten-post")}),(0,H.isNotEmpty)(t.postItemBorder)&&o.push({type:"border",id:"postItemBorder",selector:".".concat(e," .guten-postblock .guten-post")}),(0,H.isNotEmpty)(t.postItemBorderResponsive)&&o.push({type:"borderResponsive",id:"postItemBorderResponsive",selector:".".concat(e," .guten-postblock .guten-post")}),(0,H.isNotEmpty)(t.postItemBoxShadow)&&o.push({type:"boxShadow",id:"postItemBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e," .guten-postblock .guten-post")}),o}(e,t,o),o=function(e,t,o){return(0,H.isNotEmpty)(t.metaTypography)&&o.push({type:"typography",id:"metaTypography",selector:".".concat(e," .guten-postblock .guten-postblock-content .guten-post-meta")}),(0,H.isNotEmpty)(t.metaColor)&&o.push({type:"color",id:"metaColor",selector:".".concat(e," .guten-postblock .guten-postblock-content .guten-post-meta"),properties:[{name:"color",valueType:"direct"}]}),(0,H.isNotEmpty)(t.metaColorIcon)&&o.push({type:"color",id:"metaColorIcon",selector:".".concat(e," .guten-postblock .guten-postblock-content .guten-post-meta i"),properties:[{name:"color",valueType:"direct"}]}),(0,H.isNotEmpty)(t.metaAuthorTypography)&&o.push({type:"typography",id:"metaAuthorTypography",selector:".".concat(e," .guten-postblock .guten-postblock-content .guten-post-meta .guten-meta-author a")}),(0,H.isNotEmpty)(t.metaAuthorColor)&&o.push({type:"color",id:"metaAuthorColor",selector:".".concat(e," .guten-postblock .guten-postblock-content .guten-post-meta .guten-meta-author a"),properties:[{name:"color",valueType:"direct"}]}),(0,H.isNotEmpty)(t.metaMargin)&&o.push({type:"dimension",id:"metaMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e," .guten-postblock .guten-postblock-content .guten-post-meta")}),(0,H.isNotEmpty)(t.metaAuthorIconSpacing)&&o.push({type:"plain",id:"metaAuthorIconSpacing",responsive:!0,selector:".".concat(e," .guten-postblock .guten-postblock-content .guten-post-meta .guten-meta-author.icon-position-before i"),properties:[{name:"margin-right",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,H.isNotEmpty)(t.metaAuthorIconSpacing)&&o.push({type:"plain",id:"metaAuthorIconSpacing",responsive:!0,selector:".".concat(e," .guten-postblock .guten-postblock-content .guten-post-meta .guten-meta-author.icon-position-after i"),properties:[{name:"margin-left",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,H.isNotEmpty)(t.metaDateIconSpacing)&&o.push({type:"plain",id:"metaDateIconSpacing",responsive:!0,selector:".".concat(e," .guten-postblock .guten-postblock-content .guten-post-meta .guten-meta-date.icon-position-before i"),properties:[{name:"margin-right",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,H.isNotEmpty)(t.metaDateIconSpacing)&&o.push({type:"plain",id:"metaDateIconSpacing",responsive:!0,selector:".".concat(e," .guten-postblock .guten-postblock-content .guten-post-meta .guten-meta-date.icon-position-after i"),properties:[{name:"margin-left",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),o.push({type:"plain",id:"postMetaInline",responsive:!0,selector:".".concat(e," .guten-postblock .guten-postblock-content .guten-post-meta"),properties:[{name:"display",valueType:"function",functionName:"handleSimpleCondition",functionProps:{valueTrue:"inline-flex",valueFalse:"flex"}}]}),o}(e,t,o),o=function(e,t,o){return(0,H.isNotEmpty)(t.readmoreTypography)&&o.push({type:"typography",id:"readmoreTypography",selector:".".concat(e," .guten-postblock .guten-post .guten-postblock-content .guten-readmore")}),(0,H.isNotEmpty)(t.readmoreMargin)&&o.push({type:"dimension",id:"readmoreMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e," .guten-postblock .guten-post .guten-postblock-content .guten-meta-readmore")}),(0,H.isNotEmpty)(t.readmorePadding)&&o.push({type:"dimension",id:"readmorePadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e," .guten-postblock .guten-post .guten-postblock-content .guten-readmore")}),(0,H.isNotEmpty)(t.readmoreSpacing)&&o.push({type:"plain",id:"readmoreSpacing",responsive:!0,selector:".".concat(e," .guten-postblock .guten-post .guten-postblock-content .guten-meta-readmore.icon-position-before .guten-readmore i"),properties:[{name:"margin-right",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,H.isNotEmpty)(t.readmoreSpacing)&&o.push({type:"plain",id:"readmoreSpacing",responsive:!0,selector:".".concat(e," .guten-postblock .guten-post .guten-postblock-content .guten-meta-readmore.icon-position-after .guten-readmore i"),properties:[{name:"margin-left",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,H.isNotEmpty)(t.readmoreIconSize)&&o.push({type:"unitPoint",id:"readmoreIconSize",responsive:!0,selector:".".concat(e," .guten-postblock .guten-post .guten-postblock-content .guten-meta-readmore .guten-readmore i"),properties:[{name:"font-size",valueType:"direct"}]}),(0,H.isNotEmpty)(t.readmoreWidth)&&o.push({type:"unitPoint",id:"readmoreWidth",responsive:!0,selector:".".concat(e," .guten-postblock .guten-post .guten-postblock-content .guten-meta-readmore .guten-readmore"),properties:[{name:"width",valueType:"direct"}]}),(0,H.isNotEmpty)(t.readmoreAlign)&&o.push({type:"plain",id:"readmoreAlign",responsive:!0,selector:".".concat(e," .guten-postblock .guten-post .guten-postblock-content .guten-meta-readmore .guten-readmore"),properties:[{name:"justify-content",valueType:"direct"}]}),(0,H.isNotEmpty)(t.readmoreColor)&&o.push({type:"color",id:"readmoreColor",selector:".".concat(e," .guten-postblock .guten-post .guten-postblock-content .guten-meta-readmore a"),properties:[{name:"color",valueType:"direct"}]}),(0,H.isNotEmpty)(t.readmoreHoverColor)&&o.push({type:"color",id:"readmoreHoverColor",selector:".".concat(e," .guten-postblock .guten-post .guten-postblock-content .guten-meta-readmore:hover a"),properties:[{name:"color",valueType:"direct"}]}),(0,H.isNotEmpty)(t.readmoreBackground)&&o.push({type:"background",id:"readmoreBackground",selector:".".concat(e," .guten-postblock .guten-post .guten-postblock-content .guten-meta-readmore a")}),(0,H.isNotEmpty)(t.readmoreHoverBackground)&&o.push({type:"background",id:"readmoreHoverBackground",selector:".".concat(e," .guten-postblock .guten-post .guten-postblock-content .guten-meta-readmore:hover a")}),(0,H.isNotEmpty)(t.readmoreBorder)&&o.push({type:"border",id:"readmoreBorder",selector:".".concat(e," .guten-postblock .guten-post .guten-postblock-content .guten-meta-readmore a")}),(0,H.isNotEmpty)(t.readmoreBorderResponsive)&&o.push({type:"borderResponsive",id:"readmoreBorderResponsive",selector:".".concat(e," .guten-postblock .guten-post .guten-postblock-content .guten-meta-readmore a")}),(0,H.isNotEmpty)(t.readmoreHoverBorder)&&o.push({type:"border",id:"readmoreHoverBorder",selector:".".concat(e," .guten-postblock .guten-post .guten-postblock-content .guten-meta-readmore:hover a")}),(0,H.isNotEmpty)(t.readmoreHoverBorderResponsive)&&o.push({type:"borderResponsive",id:"readmoreHoverBorderResponsive",selector:".".concat(e," .guten-postblock .guten-post .guten-postblock-content .guten-meta-readmore:hover a")}),(0,H.isNotEmpty)(t.readmoreShadow)&&o.push({type:"boxShadow",id:"readmoreShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e," .guten-postblock .guten-post .guten-postblock-content .guten-meta-readmore a")}),(0,H.isNotEmpty)(t.readmoreHoverShadow)&&o.push({type:"boxShadow",id:"readmoreHoverShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e," .guten-postblock .guten-post .guten-postblock-content .guten-meta-readmore:hover a")}),o}(e,t,o),o=function(e,t,o){return(0,H.isNotEmpty)(t.thumbnailHeight)&&o.push({type:"plain",id:"thumbnailHeight",responsive:!0,selector:".".concat(e," .guten-postblock .guten-thumb .thumbnail-container"),properties:[{name:"height",valueType:"pattern",pattern:"{value}px; padding-bottom: 0",patternValues:{value:{type:"direct"}}}]}),(0,H.isNotEmpty)(t.thumbnailContainerBackground)&&o.push({type:"background",id:"thumbnailContainerBackground",selector:".".concat(e," .guten-postblock .guten-thumb .thumbnail-container")}),(0,H.isNotEmpty)(t.thumbnailRadius)&&o.push({type:"dimension",id:"thumbnailRadius",selector:".".concat(e," .guten-postblock .guten-thumb .thumbnail-container"),responsive:!0,properties:[{name:"border-radius",valueType:"direct",multiDimension:!1}]}),(0,H.isNotEmpty)(t.thumbnailContainerShadow)&&o.push({type:"boxShadow",id:"thumbnailContainerShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e," .guten-postblock .guten-thumb .thumbnail-container")}),o}(e,t,o),o=function(e,t,o){return(0,H.isNotEmpty)(t.thumbnailBackground)&&o.push({type:"background",id:"thumbnailBackground",selector:".".concat(e," .guten-postblock .guten-overlay")}),(0,H.isNotEmpty)(t.thumbnailOverlayOpacity)&&o.push({type:"plain",id:"thumbnailOverlayOpacity",responsive:!0,selector:".".concat(e," .guten-postblock .guten-overlay"),properties:[{name:"opacity",valueType:"direct"}]}),o}(e,t,o),o=function(e,t,o){return(0,H.isNotEmpty)(t.thumbnailWidth)&&o.push({type:"plain",id:"thumbnailWidth",responsive:!0,selector:".".concat(e," .guten-postblock:not(.postblock-type-5) .guten-thumb, .").concat(e," .guten-postblock.postblock-type-5 .guten-post"),properties:[{name:"width",valueType:"pattern",pattern:"{value}%; flex-basis: {value}%",patternValues:{value:{type:"direct"}}}]}),(0,H.isNotEmpty)(t.thumbnailMargin)&&o.push({type:"dimension",id:"thumbnailMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e," .guten-postblock .guten-thumb")}),(0,H.isNotEmpty)(t.thumbnailPadding)&&o.push({type:"dimension",id:"thumbnailPadding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".".concat(e," .guten-postblock .guten-thumb")}),(0,H.isNotEmpty)(t.thumbnailBorder)&&o.push({type:"border",id:"thumbnailBorder",selector:".".concat(e," .guten-postblock .guten-thumb")}),(0,H.isNotEmpty)(t.thumbnailBorderResponsive)&&o.push({type:"borderResponsive",id:"thumbnailBorderResponsive",selector:".".concat(e," .guten-postblock .guten-thumb")}),(0,H.isNotEmpty)(t.thumbnailBoxShadow)&&o.push({type:"boxShadow",id:"thumbnailBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e," .guten-postblock .guten-thumb")}),o}(e,t,o),o=function(e,t,o){return(0,H.isNotEmpty)(t.titleMargin)&&o.push({type:"dimension",id:"titleMargin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".".concat(e," .guten-postblock .guten-post .guten-postblock-content .guten-post-title")}),(0,H.isNotEmpty)(t.titleColor)&&o.push({type:"color",id:"titleColor",selector:".".concat(e," .guten-postblock .guten-post .guten-postblock-content .guten-post-title a"),properties:[{name:"color",valueType:"direct"}]}),(0,H.isNotEmpty)(t.titleTypography)&&o.push({type:"typography",id:"titleTypography",selector:".".concat(e," .guten-postblock .guten-post .guten-postblock-content .guten-post-title a")}),(0,H.isNotEmpty)(t.titleColorHover)&&o.push({type:"color",id:"titleColorHover",selector:".".concat(e," .guten-postblock .guten-post:hover .guten-postblock-content .guten-post-title a"),properties:[{name:"color",valueType:"direct"}]}),(0,H.isNotEmpty)(t.titleTypographyHover)&&o.push({type:"typography",id:"titleTypographyHover",selector:".".concat(e," .guten-postblock .guten-post:hover .guten-postblock-content .guten-post-title a")}),o}(e,t,o),o=(0,p.backgroundStyle)({attributes:t,data:o,elementId:e}),(0,H.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,H.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,H.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,H.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,H.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,H.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,H.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,H.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,H.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,H.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,H.isNotEmpty)(t.animation)&&(0,H.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,H.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,H.isNotEmpty)(t.positioningType)&&(0,H.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,H.isNotEmpty)(t.positioningWidth)&&(0,H.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,H.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,H.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,H.isNotEmpty)(t.positioningLeft)&&(0,H.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,H.isNotEmpty)(t.positioningRight)&&(0,H.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,H.isNotEmpty)(t.positioningTop)&&(0,H.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,H.isNotEmpty)(t.positioningBottom)&&(0,H.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),[].concat((0,Y.A)(o),(0,Y.A)((0,X.applyFilters)("gutenverse.post-block.blockStyle",[],{elementId:e,attributes:t})))};function Q(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Z(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Q(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const K=(0,i.compose)(s.withPartialRender,s.withMouseMoveEffect)((function(e){var t=e.attributes,o=e.clientId,n=e.setAttributes,i=(0,d.getDeviceType)(),s=t.elementId,u=t.inheritQuery,y=t.postType,g=t.postOffset,v=t.numberPost,h=t.column,b=t.breakpoint,f=t.includePost,x=t.excludePost,w=t.includeCategory,S=t.excludeCategory,_=t.includeAuthor,j=t.includeTag,T=t.excludeTag,O=t.sortBy,C=t.htmlTag,k=t.categoryEnabled,P=t.categoryPosition,N=t.excerptEnabled,E=t.excerptLength,A=t.excerptMore,R=t.readmoreEnabled,I=t.readmoreIcon,M=t.readmoreIconPosition,L=t.readmoreText,z=t.commentEnabled,F=t.commentIcon,V=t.commentIconPosition,W=t.metaEnabled,G=t.metaAuthorEnabled,Y=t.metaAuthorByText,X=t.metaAuthorIcon,Q=t.metaAuthorIconPosition,K=t.metaDateEnabled,ee=t.metaDateType,te=t.metaDateFormat,oe=t.metaDateFormatCustom,ne=t.metaDateIcon,re=t.metaDateIconPosition,ie=t.postblockType,ae=t.paginationMode,se=t.paginationLoadmoreText,le=t.paginationLoadingText,ce=t.paginationNumberPost,pe=t.paginationScrollLimit,ue=t.paginationIcon,de=t.paginationIconPosition,ye=t.paginationPrevNextText,ge=t.paginationPrevText,me=t.paginationNextText,ve=t.paginationPrevIcon,he=t.paginationNextIcon,be=t.contentOrder,fe=(0,q.useAnimationEditor)(t),xe=(0,q.useDisplayEditor)(t),we=(0,a.useState)(null),Se=(0,r.A)(we,2),_e=Se[0],je=Se[1],Te=(0,a.useState)(!0),Oe=(0,r.A)(Te,2),Ce=Oe[0],ke=Oe[1],Pe=(0,a.useState)(0),Ne=(0,r.A)(Pe,2),Ee=Ne[0],De=Ne[1],Be=(0,a.useState)(1),Ae=(0,r.A)(Be,2),He=Ae[0],Re=Ae[1],Ie=(0,a.useRef)();(0,$.useGenerateElementId)(o,s,Ie),(0,$.useDynamicStyle)(s,t,J,Ie),(0,a.useEffect)((function(){v>0?De(parseInt(v)):n(Z(Z({},t),{},{numberPost:1}))}),[v]),(0,a.useEffect)((function(){Ee&&((0,c.u)(Ie.current).find(".guten-block-loadmore").on("click",(function(){De(Ee+parseInt(ce))})),(0,c.u)(Ie.current).find(".btn-pagination.next:not(.disabled)").on("click",(function(){Re(He+1)})),(0,c.u)(Ie.current).find(".btn-pagination.prev:not(.disabled)").on("click",(function(){Re(He-1)})),(0,c.u)(Ie.current).find(".btn-pagination").each((function(e){var t=e.getAttribute("data-page");t&&(0,c.u)(e).on("click",(function(){Re(parseInt(t,10))}))})))}),[_e]),(0,a.useEffect)((function(){if((0,H.isOnEditor)())ke(!0),s&&D()({path:(0,B.addQueryArgs)("/wp/v2/block-renderer/gutenverse/post-block",{context:"edit",attributes:{elementId:s,inheritQuery:u,postType:y,contentOrder:be,postOffset:g,numberPost:"prevnext"===ae||"number"===ae||parseInt(Ee)===parseInt(v)?v:Ee,breakpoint:b,includePost:f,excludePost:x,includeCategory:w,excludeCategory:S,includeAuthor:_,includeTag:j,excludeTag:T,sortBy:O,htmlTag:C,categoryEnabled:k,categoryPosition:P,excerptEnabled:N,excerptLength:E,excerptMore:A,readmoreEnabled:R,readmoreIcon:I,readmoreIconPosition:M,readmoreText:L,commentEnabled:z,commentIcon:F,commentIconPosition:V,metaEnabled:W,metaAuthorEnabled:G,metaAuthorByText:Y,metaAuthorIcon:X,metaAuthorIconPosition:Q,metaDateEnabled:K,metaDateType:ee,metaDateFormat:te,metaDateFormatCustom:oe,metaDateIcon:ne,metaDateIconPosition:re,postblockType:ie,paginationMode:ae,paginationLoadmoreText:se,paginationLoadingText:le,paginationNumberPost:"prevnext"===ae||"number"===ae?v:ce,paginationScrollLimit:pe,paginationIcon:ue,paginationIconPosition:de,paginationPrevNextText:ye,paginationPrevText:ge,paginationNextText:me,paginationPrevIcon:ve,paginationNextIcon:he,editParam:{page:He}}})}).then((function(e){je(e.rendered)})).catch((function(){je("<span>Error</span>")})).finally((function(){return ke(!1)}));else{for(var e="",t=0;t<v;t++){var o=W?'<div class="guten-post-meta">\n '.concat(G?'<div class="guten-meta-author icon-position-before">'.concat("before"===Q?'<i aria-hidden="true"\n class="'.concat(X,'"></i>'):"",'<span class="by">').concat(Y,'</span> <a href="javascript:void(0);">gutenverse</a>').concat("before"===Q?"":'<i aria-hidden="true"\n class="'.concat(X,'"></i>'),"\n </div>"):"","\n ").concat(K?'<div class="guten-meta-date icon-position-before">'.concat("before"===re?'<i aria-hidden="true"\n class="'.concat(ne,'"></i>'):"").concat("ago"===te?"3 days ago":"January 1, 2024").concat("before"===re?"":'<i aria-hidden="true"\n class="'.concat(ne,'"></i> '),"\n </div>"):"","\n </div>"):"",n=R||z?'<div class="guten-post-meta-bottom">\n '.concat(R?'<div class="guten-meta-readmore icon-position-after">\n <a href="javascript:void(0);"\n '.concat("before"===M?'class="guten-readmore"><i aria-hidden="true" class="fas fa-arrow-right"></i>Read More</a>':'class="guten-readmore">Read More<i aria-hidden="true" class="fas fa-arrow-right"></i></a>',"\n </div>"):"","\n ").concat(z?'<div class="guten-meta-comment icon-position-before">\n <a href="javascript:void(0);" data-href="dummy-data">\n '.concat("before"===V?'<i aria-hidden="true" class="fas fa-comment"></i><span>0</span>':'<span>0</span><i aria-hidden="true" class="fas fa-comment"></i>',"\n </a>\n </div>"):"","\n </div>"):"",r=N?'<div class="guten-post-excerpt">\n <p>'.concat((0,H.dummyText)(10,20)).concat(A||"...","</p>\n </div>"):"",i=k?'<div class="guten-post-category ">\n <span>\n <a href="javascript:void(0);" class="category-category">category</a>\n </span>\n </div>':"";e+='<article\n class="guten-post post-'.concat(t,' post type-post status-publish format-standard has-post-thumbnail hentry category-category tag-tag">\n <div class="guten-thumb"><a href="javascript:void(0);">\n <div class="thumbnail-container ">\n <img loading="eager" width="400" height="400"\n src="',"https://picsum.photos/400/400?random=".concat(t+1),'"\n class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt=""\n decoding="async" loading="lazy"\n sizes="(max-width: 400px) 100vw, 400px" />\n <div class="guten-overlay"></div>\n </div>\n </a></div>\n <div class="guten-postblock-content">\n ').concat(i,'\n <h3 class="guten-post-title">\n <a href="javascript:void(0);">').concat((0,H.dummyText)(5,10),"</a>\n </h3>\n ").concat(o,"\n ").concat(r,"\n ").concat(n,"\n </div>\n </article>")}var a="";switch(ae){default:a="";break;case"loadmore":a='<div class="guten-block-pagination guten-align">\n <div class="guten-block-loadmore icon-position-before"><span data-load="Load More" data-loading="Loading..."> '.concat(se,"</span></div>\n </div>");break;case"prevnext":a='<div class="guten_block_nav additional_class" data-page="1">\n <a href="javascript:void(0);" data-href="#" class="btn-pagination prev disabled" title="Prev">\n <i class="'.concat(ve,'"></i> ').concat(ye?ge:"",'\n </a>\n <a href="javascript:void(0);" data-href="#" class="btn-pagination next " title="Next">\n ').concat(ye?me:"",' <i class="').concat(he,'"></i>\n </a>\n </div>');break;case"number":a='<div class="guten_block_nav" data-page="4">\n <a href="javascript:void(0);" data-href="#" class="btn-pagination prev" title="Prev">\n <i class="'.concat(ve,'"></i> ').concat(ye?ge:"",'\n </a>\n <a href="javascript:void(0);" data-href="#" class="btn-pagination" data-page="1">1</a>\n <span>...</span>\n <a href="javascript:void(0);" data-href="#" class="btn-pagination" data-page="3">3</a>\n <span class="btn-pagination current">4</span>\n <a href="javascript:void(0);" data-href="#" class="btn-pagination" data-page="5">5</a>\n <span>...</span>\n <a href="javascript:void(0);" data-href="#" class="btn-pagination" data-page="99">99</a>\n <a href="javascript:void(0);" data-href="#" class="btn-pagination next" title="Next">\n ').concat(ye?me:"",' <i class="').concat(he,'"></i>\n </a>\n </div>')}je('<div class="gutenverse guten-postblock postblock-'.concat(ie," guten-pagination-prevnext break-point-tablet post-element ").concat(s,'"\n data-id="').concat(s,'">\n <div class="guten-block-container">\n <div class="guten-posts guten-ajax-flag">\n ').concat(e,"\n </div>\n </div>\n ").concat(a,"\n </div>")),ke(!1)}}),[s,be,y,g,Ee,b,f,x,w,S,_,j,T,O,C,k,P,N,E,A,R,I,M,L,z,F,V,W,G,Y,X,Q,K,ee,te,oe,ne,re,ie,ae,se,le,ce,pe,ue,de,ye,ge,me,ve,he,He]);var Me=(0,l.useBlockProps)({className:(0,c.classnames)("guten-element","guten-post-block","no-margin",s,fe,xe,i.toLowerCase()),ref:Ie});return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(c.CopyElementToolbar,Z({},e)),(0,m.jsx)(p.BlockPanelController,{panelList:U,props:e,elementRef:Ie}),(0,m.jsx)("div",Z(Z({},Me),{},{children:Ce?h[i]?(0,m.jsx)(c.PostSkeleton,{number:h[i]}):(0,m.jsx)(c.PostSkeleton,{number:1}):(0,m.jsx)(a.RawHTML,{className:"guten-raw-wrapper",children:_e},"html")}))]})}));function ee(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}const te=(0,i.compose)(s.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,r=(0,q.useAnimationFrontend)(t),i=(0,q.useDisplayFrontend)(t),a=(0,c.classnames)("guten-element","guten-post-block",o,r,i);return(0,m.jsx)("div",function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ee(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ee(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},l.useBlockProps.save({className:a})))})),oe=JSON.parse('{"apiVersion":2,"name":"gutenverse/post-block","class_callback":"\\\\Gutenverse\\\\Block\\\\Post_Block","title":"Post Block","description":"Showcase a block of posts of your choice.","category":"gutenverse-post","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"mouseMoveEffect":{"type":"object","copyStyle":true},"inheritQuery":{"type":"boolean","default":true},"postType":{"type":"string","default":"post"},"numberPost":{"type":"string","default":3},"postOffset":{"type":"string","default":0},"column":{"type":"object","default":{}},"excludeCurrentPost":{"type":"boolean","default":false},"includePost":{"type":"array","default":[]},"excludePost":{"type":"array","default":[]},"includeCategory":{"type":"array","default":[]},"excludeCategory":{"type":"array","default":[]},"includeAuthor":{"type":"array","default":[]},"includeTag":{"type":"array","default":[]},"excludeTag":{"type":"array","default":[]},"sortBy":{"type":"string"},"htmlTag":{"type":"string","default":"h3"},"categoryEnabled":{"type":"boolean","default":true},"categoryPosition":{"type":"string","default":"center"},"excerptEnabled":{"type":"boolean","default":true},"excerptLength":{"type":"string","default":20},"excerptMore":{"type":"string","default":"..."},"readmoreEnabled":{"type":"boolean","default":true},"readmoreIcon":{"type":"string","default":"fas fa-arrow-right"},"readmoreIconPosition":{"type":"string","default":"after"},"readmoreText":{"type":"string","default":"Read More"},"commentEnabled":{"type":"boolean","default":false},"commentIcon":{"type":"string","default":"fas fa-comment"},"commentIconPosition":{"type":"string","default":"before"},"metaEnabled":{"type":"boolean","default":true},"metaAuthorEnabled":{"type":"boolean","default":true},"metaAuthorByText":{"type":"string","default":"by"},"metaAuthorIcon":{"type":"string","default":"fas fa-user"},"metaAuthorIconPosition":{"type":"string","default":"before"},"metaDateEnabled":{"type":"boolean","default":true},"metaDateType":{"type":"string","default":"published"},"metaDateFormat":{"type":"string","default":"default"},"metaDateFormatCustom":{"type":"string","default":""},"metaDateIcon":{"type":"string","default":"fas fa-clock"},"metaDateIconPosition":{"type":"string","default":"before"},"postMetaInline":{"type":"object","copyStyle":true},"postblockType":{"type":"string","default":"type-1"},"breakpoint":{"type":"string","default":"tablet"},"noContentText":{"type":"string","default":"No Content"},"paginationMode":{"type":"string","default":"disable"},"paginationLoadmoreText":{"type":"string","default":"Load More"},"paginationLoadingText":{"type":"string","default":"Loading..."},"paginationNumberPost":{"type":"string","default":3},"paginationScrollLimit":{"type":"string","default":0},"paginationIcon":{"type":"string","default":""},"paginationIconPosition":{"type":"string","default":"before","copyStyle":true},"postItemGap":{"type":"object","copyStyle":true},"postItemBackground":{"type":"object","copyStyle":true},"postItemMargin":{"type":"object","copyStyle":true},"postItemPadding":{"type":"object","copyStyle":true},"postItemBorder":{"type":"object","copyStyle":true},"postItemBorderResponsive":{"type":"object","migrate":{"attr":"postItemBorder","type":"border"},"copyStyle":true},"postItemBoxShadow":{"type":"object","copyStyle":true},"thumbnailWidth":{"type":"object","copyStyle":true},"thumbnailBackground":{"type":"object","copyStyle":true},"thumbnailOverlayOpacity":{"type":"object","copyStyle":true},"thumbnailMargin":{"type":"object","copyStyle":true},"thumbnailPadding":{"type":"object","copyStyle":true},"thumbnailBorder":{"type":"object","copyStyle":true},"thumbnailBorderResponsive":{"type":"object","migrate":{"attr":"thumbnailBorder","type":"border"},"copyStyle":true},"thumbnailBoxShadow":{"type":"object","copyStyle":true},"thumbnailHeight":{"type":"object","copyStyle":true},"thumbnailContainerBackground":{"type":"object","copyStyle":true},"thumbnailRadius":{"type":"object","copyStyle":true},"thumbnailContainerShadow":{"type":"object","copyStyle":true},"contentAlign":{"type":"object","copyStyle":true},"contentContainerBackground":{"type":"object","copyStyle":true},"contentMargin":{"type":"object","copyStyle":true},"contentPadding":{"type":"object","copyStyle":true},"contentBorder":{"type":"object","copyStyle":true},"contentBorderResponsive":{"type":"object","migrate":{"attr":"contentBorder","type":"border"},"copyStyle":true},"contentContainerShadow":{"type":"object","copyStyle":true},"categoryVerticalAlign":{"type":"object","default":{"Desktop":"end"},"copyStyle":true},"categoryColor":{"type":"object","copyStyle":true},"categoryTypography":{"type":"object","copyStyle":true},"categoryBackground":{"type":"object","copyStyle":true},"categoryMargin":{"type":"object","copyStyle":true},"categoryPadding":{"type":"object","copyStyle":true},"categoryBorder":{"type":"object","copyStyle":true},"categoryBorderResponsive":{"type":"object","migrate":{"attr":"categoryBorder","type":"border"},"copyStyle":true},"categoryShadow":{"type":"object","copyStyle":true},"titleMargin":{"type":"object","copyStyle":true},"titleColor":{"type":"object","copyStyle":true},"titleTypography":{"type":"object","copyStyle":true},"titleColorHover":{"type":"object","copyStyle":true},"titleTypographyHover":{"type":"object","copyStyle":true},"excerptMargin":{"type":"object","copyStyle":true},"excerptColor":{"type":"object","copyStyle":true},"excerptTypography":{"type":"object","copyStyle":true},"excerptInline":{"type":"object","copyStyle":true},"readmoreTypography":{"type":"object","copyStyle":true},"readmoreMargin":{"type":"object","copyStyle":true},"readmorePadding":{"type":"object","copyStyle":true},"readmoreSpacing":{"type":"object","copyStyle":true},"readmoreIconSize":{"type":"object","copyStyle":true},"readmoreWidth":{"type":"object","copyStyle":true},"readmoreAlign":{"type":"object","copyStyle":true},"readmoreColor":{"type":"object","copyStyle":true},"readmoreHoverColor":{"type":"object","copyStyle":true},"readmoreBackground":{"type":"object","copyStyle":true},"readmoreHoverBackground":{"type":"object","copyStyle":true},"readmoreBorder":{"type":"object","copyStyle":true},"readmoreBorderResponsive":{"type":"object","migrate":{"attr":"readmoreBorder","type":"border"},"copyStyle":true},"readmoreHoverBorder":{"type":"object","copyStyle":true},"readmoreHoverBorderResponsive":{"type":"object","migrate":{"attr":"readmoreHoverBorder","type":"border"},"copyStyle":true},"readmoreShadow":{"type":"object","copyStyle":true},"readmoreHoverShadow":{"type":"object","copyStyle":true},"commentColor":{"type":"object","copyStyle":true},"commentSize":{"type":"object","copyStyle":true},"commentSpacing":{"type":"object","copyStyle":true},"commentMargin":{"type":"object","copyStyle":true},"commentPadding":{"type":"object","copyStyle":true},"metaTypography":{"type":"object","copyStyle":true},"metaColor":{"type":"object","copyStyle":true},"metaColorIcon":{"type":"object","copyStyle":true},"metaAuthorTypography":{"type":"object","copyStyle":true},"metaAuthorColor":{"type":"object","copyStyle":true},"metaMargin":{"type":"object","copyStyle":true},"metaAuthorIconSpacing":{"type":"object","copyStyle":true},"metaDateIconSpacing":{"type":"object","copyStyle":true},"paginationTypography":{"type":"object","copyStyle":true},"paginationMargin":{"type":"object","copyStyle":true},"lazyLoad":{"type":"boolean","default":false},"paginationPadding":{"type":"object","copyStyle":true},"paginationWidth":{"type":"object","copyStyle":true},"paginationNavigationWidth":{"type":"object","copyStyle":true},"numberGap":{"type":"object","copyStyle":true},"paginationHeight":{"type":"object","copyStyle":true},"paginationNavigationHeight":{"type":"object","copyStyle":true},"navigationAlign":{"type":"object","copyStyle":true},"paginationIconSpacing":{"type":"object","copyStyle":true},"paginationIconSize":{"type":"object","copyStyle":true},"paginationAlign":{"type":"object","copyStyle":true},"paginationColor":{"type":"object","copyStyle":true},"paginationCurrentColor":{"type":"object","copyStyle":true},"paginationDisabledColor":{"type":"object","copyStyle":true},"paginationHoverColor":{"type":"object","copyStyle":true},"paginationBackground":{"type":"object","copyStyle":true},"paginationCurrentBackground":{"type":"object","copyStyle":true},"paginationDisabledBackground":{"type":"object","copyStyle":true},"paginationHoverBackground":{"type":"object","copyStyle":true},"paginationBorder":{"type":"object","copyStyle":true},"paginationBorderResponsive":{"type":"object","migrate":{"attr":"paginationBorder","type":"border"},"copyStyle":true},"paginationHoverBorder":{"type":"object","copyStyle":true},"paginationHoverBorderResponsive":{"type":"object","migrate":{"attr":"paginationHoverBorder","type":"border"},"copyStyle":true},"paginationShadow":{"type":"object","copyStyle":true},"paginationHoverShadow":{"type":"object","copyStyle":true},"paginationDisabledBorder":{"type":"object","copyStyle":true},"paginationDisabledShadow":{"type":"object","copyStyle":true},"background":{"type":"object","default":{},"copyStyle":true},"backgroundHover":{"type":"object","default":{},"copyStyle":true},"backgroundTransition":{"type":"object","copyStyle":true,"default":{}},"border":{"type":"object","copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"borderHover":{"type":"object","copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadowHover":{"type":"object","copyStyle":true},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"animation":{"type":"object","default":{},"copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"positioningType":{"type":"object","copyStyle":true},"positioningWidth":{"type":"object","copyStyle":true},"positioningAlign":{"type":"object","copyStyle":true},"positioningLocation":{"type":"string","copyStyle":true},"positioningLeft":{"type":"object","copyStyle":true},"positioningRight":{"type":"object","copyStyle":true},"positioningTop":{"type":"object","copyStyle":true},"positioningBottom":{"type":"object","copyStyle":true},"transform":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"condition":{"type":"object","default":{}},"paginationPrevNextText":{"type":"boolean","default":true},"paginationPrevText":{"type":"string","default":"Prev"},"paginationNextText":{"type":"string","default":"Next"},"paginationPrevIcon":{"type":"string","default":"fas fa-chevron-left"},"paginationNextIcon":{"type":"string","default":"fas fa-chevron-right"},"editParam":{"type":"object","default":{}},"contentOrder":{"type":"array","default":[{"label":"Title","value":"title"},{"label":"Meta","value":"meta"},{"label":"Excerpt","value":"excerpt"},{"label":"Read More","value":"read"}]}},"supports":{"className":false},"keywords":["post","block"]}');var ne=o(4889);var re=oe.name,ie={icon:(0,m.jsx)(ne.RT,{}),example:{attributes:{postblockType:"type-2",numberPost:"1"}},edit:K,save:te}},9778:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>R,name:()=>M,settings:()=>F});var n=o(6065),r=o(9491),i=o(4715),a=o(3482),s=o(596),l=o(7723),c=o(790),p=function(e){var t=e.elementId,o=e.isDivider,n=e.displayInline;return[{id:"displayInline",label:(0,l.__)("Display Inline","gutenverse"),component:s.CheckboxControl},{id:"isDivider",label:(0,l.__)("Divider","gutenverse"),component:s.CheckboxControl},{id:"spaceDivider",label:(0,l.__)("Divider Horizontal Spacer","gutenverse"),show:o&&!n,component:s.RangeControl,allowDeviceControl:!0,min:1,max:100,step:1,unit:"px",liveStyle:[{type:"plain",id:"spaceDivider",responsive:!0,selector:".".concat(t," > .list-wrapper:not(.inline-icon-list) > .guten-icon-list-item .list-divider"),properties:[{name:"margin",valueType:"pattern",pattern:"0 {value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"colorDivider",label:(0,l.__)("Color Divider","gutenverse"),show:o,component:s.ColorControl,allowDeviceControl:!0,liveStyle:[{type:"color",id:"colorDivider",responsive:!0,selector:".".concat(t," > .list-wrapper:not(.inline-icon-list) > .guten-icon-list-item:not(:nth-child(1)) .list-divider"),properties:[{name:"border-color",valueType:"direct"}]}]},{id:"typeDivider",label:(0,l.__)("Type Divider","gutenverse"),show:o,component:s.SelectControl,options:[{label:(0,l.__)("Solid","gutenverse"),value:"solid"},{label:(0,l.__)("Double","gutenverse"),value:"double"},{label:(0,l.__)("Dotted","gutenverse"),value:"dotted"},{label:(0,l.__)("Dashed","gutenverse"),value:"dashed"}]},{id:"widthDivider",label:n?(0,l.__)("Height Divider","gutenverse"):(0,l.__)("Width Divider","gutenverse"),show:o,component:s.SizeControl,allowDeviceControl:!0,liveStyle:[{type:"unitPoint",id:"widthDivider",responsive:!0,selector:".".concat(t,".guten-icon-list > .list-wrapper:not(.inline-icon-list) > .guten-icon-list-item .list-divider"),properties:[{name:"width",valueType:"direct"}]},{type:"unitPoint",id:"widthDivider",responsive:!0,selector:".".concat(t,".guten-icon-list > .list-wrapper.inline-icon-list > .guten-icon-list-item .list-divider"),properties:[{name:"height",valueType:"direct"}]}]},{id:"sizeDivider",label:(0,l.__)("Size Divider","gutenverse"),show:o,component:s.SizeControl,allowDeviceControl:!0,liveStyle:[{type:"unitPoint",id:"sizeDivider",responsive:!0,selector:".".concat(t," > .list-wrapper:not(.inline-icon-list) > .guten-icon-list-item:not(:nth-child(1)) .list-divider"),properties:[{name:"border-top-width",valueType:"direct"}]},{type:"unitPoint",id:"sizeDivider",responsive:!0,selector:".".concat(t," > .list-wrapper.inline-icon-list > .guten-icon-list-item:not(:nth-child(1)) .list-divider"),properties:[{name:"border-left-width",valueType:"direct"}]}]},{id:"spaceBetween",label:(0,l.__)("Space Between","gutenverse"),component:s.RangeControl,allowDeviceControl:!0,min:1,max:100,step:1,unit:"px",liveStyle:[{type:"plain",id:"spaceBetween",responsive:!0,properties:[{name:"margin-top",valueType:"pattern",pattern:"calc({value}px/2)",patternValues:{value:{type:"direct"}}}],selector:".".concat(t," > .list-wrapper:not(.inline-icon-list) > li.guten-icon-list-item:not(:first-of-type) > a, .block-editor-block-list__layout .wp-block.").concat(t," > .list-wrapper:not(.inline-icon-list) > li.guten-icon-list-item:not(:first-of-type) > a")},{type:"plain",id:"spaceBetween",responsive:!0,properties:[{name:"padding-bottom",valueType:"pattern",pattern:"calc({value}px/2)",patternValues:{value:{type:"direct"}}}],selector:".".concat(t," > .list-wrapper:not(.inline-icon-list) > .guten-icon-list-item:not(:last-child), .block-editor-block-list__layout .wp-block.").concat(t," .list-wrapper:not(.inline-icon-list) > .guten-icon-list-item:not(:last-child)")},{type:"plain",id:"spaceBetween",responsive:!0,properties:[{name:"margin-right",valueType:"pattern",pattern:"calc({value}px/2)",patternValues:{value:{type:"direct"}}}],selector:".".concat(t," > .list-wrapper.inline-icon-list .guten-icon-list-item:not(:last-child), .block-editor-block-list__layout .wp-block.").concat(t," > .list-wrapper.inline-icon-list > .guten-icon-list-item:not(:last-child)")},{type:"plain",id:"spaceBetween",responsive:!0,properties:[{name:"margin-left",valueType:"pattern",pattern:"calc({value}px/2)",patternValues:{value:{type:"direct"}}}],selector:".".concat(t," > .list-wrapper.inline-icon-list > li.guten-icon-list-item:not(li:first-of-type) > a, .block-editor-block-list__layout .wp-block.").concat(t," > .list-wrapper.inline-icon-list > li.guten-icon-list-item:not(li:first-of-type) > a")}]},{id:"alignList",label:(0,l.__)("Text Alignment","gutenverse"),allowDeviceControl:!0,component:s.IconRadioControl,options:[{label:(0,l.__)("Align Left","gutenverse"),value:"flex-start",icon:(0,c.jsx)(a.AlignLeft,{})},{label:(0,l.__)("Align Center","gutenverse"),value:"center",icon:(0,c.jsx)(a.AlignCenter,{})},{label:(0,l.__)("Align Right","gutenverse"),value:"flex-end",icon:(0,c.jsx)(a.AlignRight,{})}]},{id:"verticalAlign",label:(0,l.__)("Vertical Align"),component:s.SelectControl,options:[{label:(0,l.__)("Top","gutenverse"),value:"flex-start"},{label:(0,l.__)("Center","gutenverse"),value:"center"},{label:(0,l.__)("Bottom","gutenverse"),value:"flex-end"}]}]},u=function(e){var t=e.elementId;return[{id:"iconColor",label:(0,l.__)("Color","gutenverse"),component:s.ColorControl,liveStyle:[{type:"color",id:"iconColor",selector:".".concat(t," .guten-icon-list-item i"),properties:[{name:"color",valueType:"direct"}]}]},{id:"iconColorHover",label:(0,l.__)("Hover Color","gutenverse"),component:s.ColorControl,liveStyle:[{type:"color",id:"iconColorHover",selector:".".concat(t," .guten-icon-list-item:hover i"),properties:[{name:"color",valueType:"direct"}]}]},{id:"iconSize",label:(0,l.__)("Size","gutenverse"),component:s.RangeControl,allowDeviceControl:!0,unit:"px",min:1,max:100,step:1,liveStyle:[{type:"plain",id:"iconSize",responsive:!0,selector:".".concat(t," .guten-icon-list-item i"),properties:[{name:"font-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}},{name:"width",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}},{name:"height",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]}]},d=function(e){var t=e.elementId;return[{id:"textColor",label:(0,l.__)("Color","gutenverse"),component:s.ColorControl,liveStyle:[{type:"color",id:"textColor",selector:".".concat(t," .guten-icon-list-item .list-text"),properties:[{name:"color",valueType:"direct"}]}]},{id:"textColorHover",label:(0,l.__)("Hover Color","gutenverse"),component:s.ColorControl,liveStyle:[{type:"color",id:"textColorHover",selector:".".concat(t," .guten-icon-list-item:hover .list-text"),properties:[{name:"color",valueType:"direct"}]}]},{id:"textIndent",label:(0,l.__)("Text Indent","gutenverse"),component:s.RangeControl,allowDeviceControl:!0,unit:"px",min:1,max:50,step:1,liveStyle:[{type:"plain",id:"textIndent",responsive:!0,selector:".".concat(t," .guten-icon-list-item a, .block-editor-block-list__layout .wp-block.").concat(t," .guten-icon-list-item a"),properties:[{name:"gap",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"textTypography",label:(0,l.__)("Text Typography","gutenverse"),component:s.TypographyControl}]};function y(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function g(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?y(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):y(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var m=function(){return[{title:(0,l.__)("General","gutenverse"),panelArray:p,tabRole:s.TabSetting},{title:(0,l.__)("Icon Style","gutenverse"),initialOpen:!1,panelArray:u,tabRole:s.TabStyle},{title:(0,l.__)("Text Style","gutenverse"),initialOpen:!1,panelArray:d,tabRole:s.TabStyle},{title:(0,l.__)("Background","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,s.backgroundPanel)(g(g({},e),{},{styleId:"icon-list-background",normalOptions:["default","gradient"],hoverOptions:["default","gradient"]}))},tabRole:s.TabStyle},{title:(0,l.__)("Border","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,s.borderPanel)(g(g({},e),{},{styleId:"icon-list-border"}))},tabRole:s.TabStyle},{title:(0,l.__)("Masking","gutenverse"),initialOpen:!1,panelArray:s.maskPanel,tabRole:s.TabStyle},{title:(0,l.__)("Display","gutenverse"),initialOpen:!1,panelArray:s.responsivePanel,tabRole:s.TabSetting},{title:(0,l.__)("Positioning","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,s.positioningPanel)(g(g({},e),{},{selector:".".concat(e.elementId,".guten-element, .").concat(e.elementId,".guten-element.inline-icon-list > ul")}))},tabRole:s.TabSetting},{title:(0,l.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,s.animationPanel)(g(g({},e),{},{styleId:"icon-list-animation"}))},tabRole:s.TabSetting},{title:(0,l.__)("Transform","gutenverse"),initialOpen:!1,panelArray:s.transformPanel,pro:!0},{title:(0,l.__)("Mouse Move Effect","gutenverse"),initialOpen:!1,panelArray:s.mouseMoveEffectPanel,tabRole:s.TabSetting,pro:!0},{title:(0,l.__)("Advanced Animation","gutenverse"),initialOpen:!1,panelAdvance:!0,panelArray:function(e){return(0,s.advanceAnimationPanel)(g(g({},e),{},{blockType:"icon-list"}))},pro:!0},{title:(0,l.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,s.advancePanel)(g(g({},e),{},{styleId:"icon-list-advance"}))},tabRole:s.TabSetting},{title:(0,l.__)("Condition","gutenverse"),panelArray:s.conditionPanel,initialOpen:!1,pro:!0}]},v=o(6087),h=o(2188),b=o(6826),f=o(4320),x=o(4404),w=o(1222),S=o(2619);const _=function(e,t){var o=[];return o=function(e,t,o){return(0,w.isNotEmpty)(t.isDivider)&&o.push({type:"plain",id:"isDivider",properties:[{name:"border-top-style",valueType:"pattern",pattern:"solid"}],selector:".".concat(e," > .list-wrapper:not(.inline-icon-list) > .guten-icon-list-item:not(:nth-child(1)) .list-divider")}),(0,w.isNotEmpty)(t.isDivider)&&o.push({type:"plain",id:"isDivider",properties:[{name:"border-left-style",valueType:"pattern",pattern:"solid"}],selector:".".concat(e," > .list-wrapper.inline-icon-list > .guten-icon-list-item:not(:nth-child(1)) .list-divider")}),(0,w.isNotEmpty)(t.displayInline)&&o.push({type:"plain",id:"displayInline",selector:".".concat(e," > .list-wrapper.inline-icon-list > .guten-icon-list-item"),properties:[{name:"width",valueType:"pattern",pattern:"fit-content"}]}),(0,w.isNotEmpty)(t.colorDivider)&&o.push({type:"color",id:"colorDivider",responsive:!0,selector:".".concat(e," > .list-wrapper:not(.inline-icon-list) > .guten-icon-list-item:not(:nth-child(1)) .list-divider"),properties:[{name:"border-color",valueType:"direct"}]}),(0,w.isNotEmpty)(t.spaceDivider)&&!t.displayInline&&o.push({type:"plain",id:"spaceDivider",responsive:!0,selector:".".concat(e," > .list-wrapper:not(.inline-icon-list) > .guten-icon-list-item .list-divider"),properties:[{name:"margin",valueType:"pattern",pattern:"0 {value}px",patternValues:{value:{type:"direct"}}}]}),(0,w.isNotEmpty)(t.colorDivider)&&o.push({type:"color",id:"colorDivider",selector:".".concat(e," > .list-wrapper.inline-icon-list > .guten-icon-list-item:not(:nth-child(1)) .list-divider"),responsive:!0,properties:[{name:"border-color",valueType:"direct"}]}),(0,w.isNotEmpty)(t.typeDivider)&&(0,w.isNotEmpty)(t.isDivider)&&o.push({type:"plain",id:"typeDivider",selector:".".concat(e," > .list-wrapper:not(.inline-icon-list) > .guten-icon-list-item:not(:nth-child(1)) .list-divider"),properties:[{name:"border-top-style",valueType:"direct"}]}),(0,w.isNotEmpty)(t.typeDivider)&&o.push({type:"plain",id:"typeDivider",selector:".".concat(e," > .list-wrapper.inline-icon-list > .guten-icon-list-item:not(:nth-child(1)) .list-divider"),properties:[{name:"border-left-style",valueType:"direct"}]}),(0,w.isNotEmpty)(t.widthDivider)&&o.push({type:"unitPoint",id:"widthDivider",responsive:!0,selector:".".concat(e,".guten-icon-list > .list-wrapper:not(.inline-icon-list) > .guten-icon-list-item .list-divider"),properties:[{name:"width",valueType:"direct"}]}),(0,w.isNotEmpty)(t.widthDivider)&&o.push({type:"unitPoint",id:"widthDivider",responsive:!0,selector:".".concat(e,".guten-icon-list > .list-wrapper.inline-icon-list > .guten-icon-list-item .list-divider"),properties:[{name:"height",valueType:"direct"}]}),(0,w.isNotEmpty)(t.sizeDivider)&&o.push({type:"unitPoint",id:"sizeDivider",responsive:!0,selector:".".concat(e," > .list-wrapper:not(.inline-icon-list) > .guten-icon-list-item:not(:nth-child(1)) .list-divider"),properties:[{name:"border-top-width",valueType:"direct"}]}),(0,w.isNotEmpty)(t.sizeDivider)&&o.push({type:"unitPoint",id:"sizeDivider",responsive:!0,selector:".".concat(e," > .list-wrapper.inline-icon-list > .guten-icon-list-item:not(:nth-child(1)) .list-divider"),properties:[{name:"border-left-width",valueType:"direct"}]}),(0,w.isNotEmpty)(t.spaceBetween)&&o.push({type:"plain",id:"spaceBetween",responsive:!0,properties:[{name:"margin-top",valueType:"pattern",pattern:"calc({value}px/2)",patternValues:{value:{type:"direct"}}}],selector:".".concat(e," > .list-wrapper:not(.inline-icon-list) > li.guten-icon-list-item:not(:first-of-type) > a, .block-editor-block-list__layout .wp-block.").concat(e," > .list-wrapper:not(.inline-icon-list) > li.guten-icon-list-item:not(:first-of-type) > a")}),(0,w.isNotEmpty)(t.spaceBetween)&&o.push({type:"plain",id:"spaceBetween",responsive:!0,properties:[{name:"padding-bottom",valueType:"pattern",pattern:"calc({value}px/2)",patternValues:{value:{type:"direct"}}}],selector:".".concat(e," > .list-wrapper:not(.inline-icon-list) > .guten-icon-list-item:not(:last-child), .block-editor-block-list__layout .wp-block.").concat(e," .list-wrapper:not(.inline-icon-list) > .guten-icon-list-item:not(:last-child)")}),(0,w.isNotEmpty)(t.spaceBetween)&&o.push({type:"plain",id:"spaceBetween",responsive:!0,properties:[{name:"margin-right",valueType:"pattern",pattern:"calc({value}px/2)",patternValues:{value:{type:"direct"}}}],selector:".".concat(e," > .list-wrapper.inline-icon-list .guten-icon-list-item:not(:last-child), .block-editor-block-list__layout .wp-block.").concat(e," > .list-wrapper.inline-icon-list > .guten-icon-list-item:not(:last-child)")}),(0,w.isNotEmpty)(t.spaceBetween)&&o.push({type:"plain",id:"spaceBetween",responsive:!0,properties:[{name:"margin-left",valueType:"pattern",pattern:"calc({value}px/2)",patternValues:{value:{type:"direct"}}}],selector:".".concat(e," > .list-wrapper.inline-icon-list > li.guten-icon-list-item:not(li:first-of-type) > a, .block-editor-block-list__layout .wp-block.").concat(e," > .list-wrapper.inline-icon-list > li.guten-icon-list-item:not(li:first-of-type) > a")}),(0,w.isNotEmpty)(t.alignList)&&(o.push({type:"plain",id:"alignList",responsive:!0,properties:[{name:"align-items",valueType:"direct"}],selector:".".concat(e," > .list-wrapper:not(.inline-icon-list)")}),o.push({type:"plain",id:"alignList",responsive:!0,properties:[{name:"justify-content",valueType:"direct"},{name:"text-align",valueType:"direct"}],selector:".".concat(e," > .list-wrapper.inline-icon-list, .").concat(e," > .list-wrapper:not(.inline-icon-list) > .guten-icon-list-item > a")}),o.push({type:"plain",id:"alignList",responsive:!0,properties:[{name:"justify-self",valueType:"direct"}],selector:".".concat(e," > .list-wrapper.inline-icon-list, .").concat(e," > .list-wrapper:not(.inline-icon-list) > .guten-icon-list-item > .list-divider")})),(0,w.isNotEmpty)(t.verticalAlign)&&o.push({type:"plain",id:"verticalAlign",properties:[{name:"align-items",valueType:"direct"}],selector:".".concat(e," .list-wrapper .guten-icon-list-item a")}),o}(e,t,o),o=function(e,t,o){return(0,w.isNotEmpty)(t.iconColor)&&o.push({type:"color",id:"iconColor",selector:".".concat(e," .guten-icon-list-item i"),properties:[{name:"color",valueType:"direct"}]}),(0,w.isNotEmpty)(t.iconColorHover)&&o.push({type:"color",id:"iconColorHover",selector:".".concat(e," .guten-icon-list-item:hover i"),properties:[{name:"color",valueType:"direct"}]}),(0,w.isNotEmpty)(t.iconSize)&&o.push({type:"plain",id:"iconSize",responsive:!0,selector:".".concat(e," .guten-icon-list-item i"),properties:[{name:"font-size",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),o}(e,t,o),o=function(e,t,o){return(0,w.isNotEmpty)(t.textColor)&&o.push({type:"color",id:"textColor",selector:".".concat(e," .guten-icon-list-item .list-text"),properties:[{name:"color",valueType:"direct"}]}),(0,w.isNotEmpty)(t.textColorHover)&&o.push({type:"color",id:"textColorHover",selector:".".concat(e," .guten-icon-list-item:hover .list-text"),properties:[{name:"color",valueType:"direct"}]}),(0,w.isNotEmpty)(t.textIndent)&&o.push({type:"plain",id:"textIndent",responsive:!0,selector:".".concat(e," .guten-icon-list-item a, .block-editor-block-list__layout .wp-block.").concat(e," .guten-icon-list-item a"),properties:[{name:"gap",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,w.isNotEmpty)(t.textTypography)&&o.push({type:"typography",id:"textTypography",selector:".".concat(e," .guten-icon-list-item .list-text")}),o}(e,t,o),o=(0,s.backgroundStyle)({attributes:t,data:o,elementId:e}),(0,w.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,w.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,w.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,w.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,w.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,w.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,w.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,w.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,w.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,w.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,w.isNotEmpty)(t.animation)&&(0,w.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,w.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,w.isNotEmpty)(t.positioningType)&&(0,w.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,w.isNotEmpty)(t.positioningWidth)&&(0,w.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,w.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,w.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,w.isNotEmpty)(t.positioningLeft)&&(0,w.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,w.isNotEmpty)(t.positioningRight)&&(0,w.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,w.isNotEmpty)(t.positioningTop)&&(0,w.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,w.isNotEmpty)(t.positioningBottom)&&(0,w.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),[].concat((0,x.A)(o),(0,x.A)((0,S.applyFilters)("gutenverse.icon-list.blockStyle",[],{elementId:e,attributes:t})))};function j(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function T(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?j(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):j(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var O=(0,r.compose)(h.withPartialRender,h.withPassRef,(0,h.withAnimationAdvanceV2)("icon-list"),h.withMouseMoveEffect)((function(e){var t=e.attributes,o=e.clientId,n=e.setBlockRef,r=t.elementId,l=t.displayInline,p=(0,v.useRef)(null),u=(0,b.useAnimationEditor)(t),d=(0,b.useDisplayEditor)(t);(0,f.useGenerateElementId)(o,r,p),(0,f.useDynamicStyle)(r,t,_,p),(0,f.useDynamicScript)(p);var y=(0,i.useBlockProps)({className:(0,a.classnames)("guten-element","guten-icon-list","no-margin",r,u,d),ref:p}),g=(0,i.useInnerBlocksProps)({className:(0,a.classnames)("list-wrapper",{"inline-icon-list":l})},{template:[["gutenverse/icon-list-item",{icon:"fas fa-check",text:"List Item 1"}],["gutenverse/icon-list-item",{icon:"fas fa-check",text:"List Item 2"}],["gutenverse/icon-list-item",{icon:"fas fa-check",text:"List Item 3"}]],allowedBlocks:["gutenverse/icon-list-item"],__experimentalAppenderTagName:"div"});return(0,v.useEffect)((function(){p&&n(p)}),[p]),(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(a.CopyElementToolbar,T({},e)),(0,c.jsx)(s.BlockPanelController,{panelList:m,props:e,elementRef:p}),(0,c.jsx)("div",T(T({},y),{},{children:(0,c.jsx)("ul",T({},g))}))]})}));const C=O;function k(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function P(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?k(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):k(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var N=(0,r.compose)((0,h.withAnimationAdvanceScript)("icon-list"),h.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,n=t.displayInline,r=(0,b.useAnimationAdvanceData)(t),s=(0,b.useAnimationFrontend)(t),l=(0,b.useDisplayFrontend)(t),p=(0,a.classnames)("guten-element","guten-icon-list",o,s,l);return(0,c.jsx)("div",P(P({},i.useBlockProps.save(P({className:p},r))),{},{children:(0,c.jsx)("div",{className:" list-wrapper ".concat(n?"inline-icon-list":""),children:(0,c.jsx)(i.InnerBlocks.Content,{})})}))}));const E=N;function D(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function B(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?D(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):D(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var A=(0,r.compose)((0,h.withAnimationAdvanceScript)("icon-list"),h.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,n=t.displayInline,r=(0,b.useAnimationAdvanceData)(t),s=(0,b.useAnimationFrontend)(t),l=(0,b.useDisplayFrontend)(t),p=(0,a.classnames)("guten-element","guten-icon-list",o,s,l,{"inline-icon-list":n});return(0,c.jsx)("div",B(B({},i.useBlockProps.save(B({className:p},r))),{},{children:(0,c.jsx)(i.InnerBlocks.Content,{})}))}));const H=A,R=JSON.parse('{"apiVersion":2,"name":"gutenverse/icon-list","title":"Icon List","description":"Create a list with icons","category":"gutenverse-element","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"mouseMoveEffect":{"type":"object","copyStyle":true},"displayInline":{"type":"boolean","default":false,"copyStyle":true},"spaceBetween":{"type":"object","copyStyle":true},"alignList":{"type":"object","copyStyle":true},"verticalAlign":{"type":"string","copyStyle":true},"iconColor":{"type":"object","copyStyle":true},"iconColorHover":{"type":"object","copyStyle":true},"iconSize":{"type":"object","copyStyle":true},"textColor":{"type":"object","copyStyle":true},"textColorHover":{"type":"object","copyStyle":true},"textIndent":{"type":"object","copyStyle":true},"textTypography":{"type":"object","copyStyle":true},"background":{"type":"object","default":{},"copyStyle":true},"backgroundHover":{"type":"object","default":{},"copyStyle":true},"backgroundTransition":{"type":"object","copyStyle":true,"default":{}},"border":{"type":"object","default":{},"copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"borderHover":{"type":"object","default":{},"copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadowHover":{"type":"object","copyStyle":true},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"animation":{"type":"object","default":{},"copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"positioningType":{"type":"object","copyStyle":true},"positioningWidth":{"type":"object","copyStyle":true},"positioningAlign":{"type":"object","copyStyle":true},"positioningLocation":{"type":"string","copyStyle":true},"positioningLeft":{"type":"object","copyStyle":true},"positioningRight":{"type":"object","copyStyle":true},"positioningTop":{"type":"object","copyStyle":true},"positioningBottom":{"type":"object","copyStyle":true},"advanceAnimation":{"type":"object","default":{},"copyStyle":true},"transform":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"spaceDivider":{"type":"object","copyStyle":true},"colorDivider":{"type":"object","copyStyle":true},"typeDivider":{"type":"string","copyStyle":true},"sizeDivider":{"type":"object","copyStyle":true},"widthDivider":{"type":"object","copyStyle":true},"isDivider":{"type":"boolean","default":false},"condition":{"type":"object","default":{}}},"supports":{"className":false},"keywords":["icon","list"]}');var I=o(4889);var M=R.name,L=R.attributes,z=R.supports,F={icon:(0,c.jsx)(I.MQ,{}),example:{attributes:{spaceBetween:{Desktop:"19"},alignList:{Desktop:"center"},iconColor:{r:94,g:129,b:244,a:1},textIndent:{Desktop:"12"}},innerBlocks:[{name:"gutenverse/icon-list-item",attributes:{icon:"fas fa-check",text:"Lorem ipsum dolor sit amet."}},{name:"gutenverse/icon-list-item",attributes:{icon:"fas fa-check-circle",text:"Pellentesque vestibulum quam nisl."}},{name:"gutenverse/icon-list-item",attributes:{icon:"far fa-circle",text:"Morbi eleifend fringilla massa."}}]},edit:C,save:E,deprecated:[{attributes:L,supports:z,save:H}]}},9826:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>A,name:()=>R,settings:()=>I});var n=o(8930),r=o(6065),i=o(9491),a=o(6087),s=o(4715),l=o(3482),c=o(7723),p=o(596),u=o(1222),d=o(8468),y=function(e){var t=e.elementId,o=e.videoSrc,n=e.videoType,r=e.captionType;return[{id:"videoType",label:(0,c.__)("Video Source","gutenverse"),component:p.SelectControl,options:[{label:"Media Files",value:"upload"},{label:"External Link",value:"externalLink"}]},{id:"videoSrc",show:void 0!==n,label:(0,c.__)("Video URL","gutenverse"),description:"externalLink"===n?(0,c.__)("Currently supported External URL Types are : YouTube, Twitch, Vimeo, and DailyMotion","gutenverse"):null,component:p.TextControl},{id:"start",show:"externalLink"===n&&!(0,d.isEmpty)(o)&&(0,u.isYoutubeUrl)(o),label:(0,c.__)("Video Start","gutenverse"),description:(0,c.__)("in Seconds. For example 1:30 minutes will be 90","gutenverse"),component:p.NumberControl},{id:"end",show:"externalLink"===n&&!(0,d.isEmpty)(o)&&(0,u.isYoutubeUrl)(o),label:(0,c.__)("Video End","gutenverse"),description:(0,c.__)("in Seconds. For example 1:30 minutes will be 90","gutenverse"),component:p.NumberControl},{id:"hideControls",show:void 0!==o&&void 0!==n,label:(0,c.__)("Hide Control","gutenverse"),component:p.CheckboxControl},{id:"playing",show:void 0!==o&&void 0!==n,label:(0,c.__)("Autoplay Video","gutenverse"),component:p.CheckboxControl},{id:"loop",show:void 0!==o&&void 0!==n,label:(0,c.__)("Loop","gutenverse"),component:p.CheckboxControl},{id:"muted",show:void 0!==o&&void 0!==n,label:(0,c.__)("Muted","gutenverse"),component:p.CheckboxControl},{id:"width",show:void 0!==o&&void 0!==n,label:(0,c.__)("Width","gutenverse"),component:p.RangeControl,allowDeviceControl:!0,unit:"%",min:1,max:100,step:1,liveStyle:[{type:"plain",id:"width",selector:".".concat(t," video, .").concat(t," .guten-video-background"),responsive:!0,properties:[{name:"width",valueType:"pattern",pattern:"{value}%!important",patternValues:{value:{type:"direct"}}}]}]},{id:"height",show:void 0!==o&&void 0!==n,label:(0,c.__)("Height","gutenverse"),component:p.RangeControl,allowDeviceControl:!0,unit:"px",min:1,max:1e3,step:1,liveStyle:[{type:"plain",id:"height",selector:".".concat(t," video, .").concat(t," .guten-video-background"),responsive:!0,properties:[{name:"height",valueType:"pattern",pattern:"{value}px!important",patternValues:{value:{type:"direct"}}}]}]},{id:"captionType",show:void 0!==o,label:(0,c.__)("Add Caption","gutenverse"),component:p.SelectControl,options:[{label:"None",value:"none"},{label:"Original (Media File)",value:"original"},{label:"Custom",value:"custom"}]},{id:"captionCustom",show:void 0!==o&&void 0!==r&&!["none","original"].includes(r),label:(0,c.__)("Custom Caption","gutenverse"),component:p.TextControl},{id:"captionSpace",show:void 0!==o&&void 0!==r&&"none"!==r,label:(0,c.__)("Caption Space","gutenverse"),component:p.RangeControl,min:0,max:100,step:1,allowDeviceControl:!0,unit:"px",liveStyle:[{type:"plain",id:"captionSpace",selector:".".concat(t," .guten-caption"),responsive:!0,properties:[{name:"margin-top",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}]},{id:"typography",show:void 0!==o&&void 0!==r&&"none"!==r,label:(0,c.__)("Typography","gutenverse"),component:p.TypographyControl},{id:"captionColor",show:void 0!==o&&void 0!==r&&"none"!==r,label:(0,c.__)("Caption Color","gutenverse"),component:p.ColorControl,liveStyle:[{type:"color",id:"captionColor",selector:".".concat(t," .guten-caption"),properties:[{name:"color",valueType:"direct"}]}]}]};function g(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function m(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?g(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):g(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var v=function(){return[{title:(0,c.__)("Video","gutenverse"),panelArray:y,tabRole:p.TabSetting},{title:(0,c.__)("Background","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,p.backgroundPanel)(m(m({},e),{},{styleId:"video-background",normalOptions:["default","gradient"],hoverOptions:["default","gradient"]}))},tabRole:p.TabStyle},{title:(0,c.__)("Border","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,p.borderPanel)(m(m({},e),{},{styleId:"video-border"}))},tabRole:p.TabStyle},{title:(0,c.__)("Masking","gutenverse"),initialOpen:!1,panelArray:p.maskPanel,tabRole:p.TabStyle},{title:(0,c.__)("Display","gutenverse"),initialOpen:!1,panelArray:p.responsivePanel,tabRole:p.TabSetting},{title:(0,c.__)("Positioning","gutenverse"),initialOpen:!1,panelArray:p.positioningPanel,tabRole:p.TabSetting},{title:(0,c.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,p.animationPanel)(m(m({},e),{},{styleId:"video-animation"}))},tabRole:p.TabSetting},{title:(0,c.__)("Advanced Animation","gutenverse"),initialOpen:!1,panelAdvance:!0,panelArray:function(e){return(0,p.advanceAnimationPanel)(m(m({},e),{},{blockType:"video"}))},pro:!0},{title:(0,c.__)("Transform","gutenverse"),initialOpen:!1,panelArray:p.transformPanel,pro:!0},{title:(0,c.__)("Mouse Move Effect","gutenverse"),initialOpen:!1,panelArray:p.mouseMoveEffectPanel,tabRole:p.TabSetting,pro:!0},{title:(0,c.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,p.advancePanel)(m(m({},e),{},{styleId:"video-advance"}))},tabRole:p.TabSetting},{title:(0,c.__)("Condition","gutenverse"),panelArray:p.conditionPanel,initialOpen:!1,pro:!0}]},h=o(6427),b=o(5255),f=o(2188),x=o(6826),w=o(4320),S=o(4404),_=o(2619);const j=function(e,t){var o=[];return o=(0,p.backgroundStyle)({attributes:t,data:o,elementId:e}),(0,u.isNotEmpty)(t.width)&&(0,u.isNotEmpty)(t.videoSrc)&&(0,u.isNotEmpty)(t.videoType)&&o.push({type:"plain",id:"width",selector:".".concat(e," video, .").concat(e," .guten-video-background"),responsive:!0,properties:[{name:"width",valueType:"pattern",pattern:"{value}%!important",patternValues:{value:{type:"direct"}}}]}),(0,u.isNotEmpty)(t.height)&&(0,u.isNotEmpty)(t.videoSrc)&&(0,u.isNotEmpty)(t.videoType)&&o.push({type:"plain",id:"height",selector:".".concat(e," video, .").concat(e," .guten-video-background"),responsive:!0,properties:[{name:"height",valueType:"pattern",pattern:"{value}px!important",patternValues:{value:{type:"direct"}}}]}),(0,u.isNotEmpty)(t.captionSpace)&&o.push({type:"plain",id:"captionSpace",selector:".".concat(e," .guten-caption"),responsive:!0,properties:[{name:"margin-top",valueType:"pattern",pattern:"{value}px",patternValues:{value:{type:"direct"}}}]}),(0,u.isNotEmpty)(t.typography)&&o.push({type:"typography",id:"typography",selector:".".concat(e," .guten-caption")}),(0,u.isNotEmpty)(t.captionColor)&&o.push({type:"color",id:"captionColor",selector:".".concat(e," .guten-caption"),properties:[{name:"color",valueType:"direct"}]}),(0,u.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,u.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,u.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,u.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,u.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,u.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,u.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,u.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,u.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,u.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,u.isNotEmpty)(t.animation)&&(0,u.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,u.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,u.isNotEmpty)(t.positioningType)&&(0,u.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,u.isNotEmpty)(t.positioningWidth)&&(0,u.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,u.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",property:["vertical-align"],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,u.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,u.isNotEmpty)(t.positioningLeft)&&(0,u.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",property:["left"],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,u.isNotEmpty)(t.positioningRight)&&(0,u.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",property:["right"],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,u.isNotEmpty)(t.positioningTop)&&(0,u.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",property:["top"],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,u.isNotEmpty)(t.positioningBottom)&&(0,u.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",property:["bottom"],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),[].concat((0,S.A)(o),(0,S.A)((0,_.applyFilters)("gutenverse.video.blockStyle",[],{elementId:e,attributes:t})))};var T=o(790);function O(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function C(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?O(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):O(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var k=function(e){var t=e.videoSrc,o=e.start,n=e.end,r=e.videoType,i=e.hideControls,a=e.playing,s=e.loop,c=e.muted,p=e.width,u=e.height,d={youtube:{playerVars:{start:o,end:n}}},y=(0,b.getDeviceType)();return r&&t?(0,T.jsx)(l.ReactPlayer,{className:"guten-video-background",url:t,controls:!i,width:p&&p[y]?"".concat(p[y],"%"):"100%",height:u&&u[y]?"".concat(u[y],"px"):"500px",playing:a,muted:c,loop:s,playsinline:!0,style:{},config:d}):null},P=function(e){var t=e.attributes,o=e.setAttributes,n=e.children,r=t.defaultSrc;return(0,T.jsx)(s.MediaUploadCheck,{children:(0,T.jsx)(s.MediaUpload,{onSelect:function(e){o({videoSrc:e.url,captionOriginal:e.caption})},allowedTypes:["video"],value:r,render:n})})};const N=(0,i.compose)(f.withPartialRender,f.withPassRef,(0,f.withAnimationAdvanceV2)("video"),f.withMouseMoveEffect)((function(e){var t=e.attributes,o=e.setAttributes,r=e.clientId,i=e.setBlockRef,u=t.elementId,y=t.videoType,g=t.videoSrc,m=t.captionType,b=t.captionOriginal,f=t.captionCustom,S=t.hideControls,_=t.playing,O=t.loop,N=t.muted,E=(0,x.useAnimationEditor)(t),D=(0,x.useDisplayEditor)(t),B=(0,a.useRef)(null);(0,w.useGenerateElementId)(r,u,B),(0,w.useDynamicStyle)(u,t,j,B),(0,w.useDynamicScript)(B);var A=(0,s.useBlockProps)({className:(0,l.classnames)("guten-element","guten-video","no-margin",u,E,D,{videoType:y,"video-loaded":g}),ref:B}),H=(0,a.useState)(null),R=(0,n.A)(H,2),I=R[0],M=R[1];return(0,a.useEffect)((function(){B&&i(B)}),[B]),(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(l.CopyElementToolbar,C({},e)),(0,T.jsx)(s.InspectorControls,{children:(0,T.jsx)("div",{className:"header-control",children:(0,T.jsxs)(p.AlertControl,{type:"warning",children:[(0,c.__)("For certain browsers, videos set to autoplay must be muted to prevent any unexpected disruptions for the user. For more details, please refer to ","gutenverse"),(0,T.jsx)("a",{href:"https://developer.chrome.com/blog/autoplay/",target:"_blank",rel:"noreferrer",children:(0,c.__)("this article","gutenverse")}),"."]})})}),(0,T.jsx)(p.BlockPanelController,{panelList:v,props:e,elementRef:B}),(0,T.jsxs)("figure",C(C({},A),{},{children:[(0,d.isEmpty)(g)?"externalLink"===y?(0,T.jsxs)("div",{className:"video-url-wrapper",children:[(0,T.jsx)("div",{className:"back",onClick:function(){return o({videoType:"",videoSrc:null})},children:(0,T.jsx)(l.ArrowLeft,{size:24})}),(0,T.jsx)("h5",{className:"title",children:(0,c.__)("Supported Video URL Types")}),(0,T.jsxs)("div",{className:"video-icons",children:[(0,T.jsx)("div",{className:"video-icon youtube",children:(0,T.jsx)("i",{className:"fab fa-youtube","aria-hidden":"true"})}),(0,T.jsx)("div",{className:"video-icon twitch",children:(0,T.jsx)("i",{className:"fab fa-twitch","aria-hidden":"true"})}),(0,T.jsx)("div",{className:"video-icon vimeo",children:(0,T.jsx)("i",{className:"fab fa-vimeo","aria-hidden":"true"})}),(0,T.jsx)("div",{className:"video-icon dailymotion",children:(0,T.jsx)("i",{className:"fab fa-dailymotion","aria-hidden":"true"})})]}),(0,T.jsx)(s.RichText,{className:"video-url",tagName:"span","aria-label":(0,c.__)("Video URL","gutenverse"),placeholder:(0,c.__)("Type/Paste Video URL Here","gutenverse"),value:g,onChange:M,withoutInteractiveFormatting:!0}),(0,T.jsx)(h.Button,{isPrimary:!0,onClick:function(){return o({videoSrc:I})},children:(0,c.__)("Render Video")})]}):(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)("h5",{className:"title",children:(0,c.__)("Select Video Source")}),(0,T.jsxs)("div",{className:"upload-mode",children:[(0,T.jsx)(P,C(C({},e),{},{children:function(e){var t=e.open;return(0,T.jsxs)("div",{onClick:function(){t(),o({videoType:"upload"})},children:[(0,T.jsx)("i",{className:"fa fa-upload","aria-hidden":"true"}),(0,T.jsx)("span",{children:(0,c.__)("Media Files")})]})}})),(0,T.jsxs)("div",{onClick:function(){return o({videoType:"externalLink"})},children:[(0,T.jsx)("i",{className:"fa fa-link","aria-hidden":"true"}),(0,T.jsx)("span",{children:(0,c.__)("External Link")})]})]})]}):"externalLink"===y?(0,T.jsx)(k,C({},t)):(0,T.jsx)("video",{controls:!S,src:g,autoPlay:_,muted:N,loop:O}),(0,d.isEmpty)(g)?null:function(){switch(m){case"original":return(0,T.jsx)("span",{className:"guten-caption",children:b});case"custom":return(0,T.jsx)("span",{className:"guten-caption",children:f});default:return null}}()]}))]})}));function E(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function D(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?E(Object(o),!0).forEach((function(t){(0,r.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):E(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const B=(0,i.compose)((0,f.withAnimationAdvanceScript)("video"),f.withMouseMoveEffectScript)((function(e){var t=e.attributes,o=t.elementId,n=t.videoType,r=t.videoSrc,i=t.start,a=t.end,c=t.hideControls,p=t.captionType,u=t.captionOriginal,d=t.captionCustom,y=t.playing,g=t.muted,m=t.loop,v=t.width,h=t.height,b=(0,x.useAnimationAdvanceData)(t),f=(0,x.useAnimationFrontend)(t),w=(0,x.useDisplayFrontend)(t),S=(0,l.classnames)("guten-element","guten-video",o,f,w),_={youtube:{playerVars:{start:i,end:a}}},j=JSON.stringify({url:r,class:"guten-video-background",width:v&&v.Desktop?"".concat(v.Desktop,"%"):"100%",height:h&&h.Desktop?"".concat(h.Desktop,"px"):"500px",playing:y,muted:g,loop:m,controls:!c,playsinline:!0,style:{},config:_});return(0,T.jsxs)("figure",D(D({},s.useBlockProps.save(D({className:S},b))),{},{children:[r?"externalLink"===n?(0,T.jsx)("div",{className:"guten-video-wrapper","data-property":j}):(0,T.jsx)("video",{controls:!c,src:r,autoPlay:y,muted:g,loop:m}):null,r?function(){switch(p){case"original":return(0,T.jsx)("span",{className:"guten-caption",children:u});case"custom":return(0,T.jsx)("span",{className:"guten-caption",children:d});default:return null}}():null]}))})),A=JSON.parse('{"apiVersion":2,"name":"gutenverse/video","title":"Video","description":"Embed a video you want to share.","category":"gutenverse-element","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"mouseMoveEffect":{"type":"object","copyStyle":true},"videoType":{"type":"string"},"videoSrc":{"type":"string"},"start":{"type":"integer"},"end":{"type":"integer"},"width":{"type":"object","copyStyle":true},"height":{"type":"object","copyStyle":true},"captionType":{"type":"string","default":"none"},"captionOriginal":{"type":"string"},"captionCustom":{"type":"string"},"captionSpace":{"type":"object","copyStyle":true},"typography":{"type":"object","copyStyle":true},"captionColor":{"type":"object","copyStyle":true},"hideControls":{"type":"boolean"},"playing":{"type":"boolean"},"loop":{"type":"boolean"},"muted":{"type":"boolean"},"background":{"type":"object","default":{},"copyStyle":true},"backgroundHover":{"type":"object","default":{},"copyStyle":true},"backgroundTransition":{"type":"object","copyStyle":true,"default":{}},"border":{"type":"object","copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"borderHover":{"type":"object","copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadowHover":{"type":"object","copyStyle":true},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"animation":{"type":"object","default":{},"copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"positioningType":{"type":"object","copyStyle":true},"positioningWidth":{"type":"object","copyStyle":true},"positioningAlign":{"type":"object","copyStyle":true},"positioningLocation":{"type":"string","copyStyle":true},"positioningLeft":{"type":"object","copyStyle":true},"positioningRight":{"type":"object","copyStyle":true},"positioningTop":{"type":"object","copyStyle":true},"positioningBottom":{"type":"object","copyStyle":true},"advanceAnimation":{"type":"object","default":{},"copyStyle":true},"transform":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"condition":{"type":"object","default":{}}},"supports":{"className":false},"keywords":["video","youtube","twitch","vimeo","dailymotion"]}');var H=o(4889);var R=A.name,I={icon:(0,T.jsx)(H.FT,{}),example:{attributes:{videoType:"externalLink",videoSrc:"https://www.youtube.com/watch?v=KxQIcxlMudw",playing:!0}},edit:N,save:B}},9960:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>H,name:()=>I,settings:()=>M});var n=o(6065),r=o(8930),i=o(9491),a=o(4715),s=o(3482),l=o(596),c=o(7723),p=function(){return[{id:"postLink",label:(0,c.__)("Make Image a Link to Post","gutenverse"),component:l.CheckboxControl},{id:"placeholderImg",label:(0,c.__)("Show Placeholder Image","gutenverse"),description:(0,c.__)("Show Placeholder Image when post doesn't have featured image","gutenverse"),component:l.CheckboxControl},{id:"imageLazy",label:(0,c.__)("Set Lazy Load","gutenverse"),component:l.CheckboxControl}]},u=o(2802),d=o(234),y=o(1205),g=o(5255),m=o(790),v=function(e){var t=e.elementId,o=(0,g.getDeviceType)();return[{id:"alignment",label:(0,c.__)("Alignment","gutenverse"),component:l.IconRadioControl,allowDeviceControl:!0,options:[{label:(0,c.__)("Align Left","gutenverse"),value:"flex-start",icon:(0,m.jsx)(u.A,{})},{label:(0,c.__)("Align Center","gutenverse"),value:"center",icon:(0,m.jsx)(d.A,{})},{label:(0,c.__)("Align Right","gutenverse"),value:"flex-end",icon:(0,m.jsx)(y.A,{})}]},{id:"size",label:(0,c.__)("Size","gutenverse"),component:l.SizeControl,allowDeviceControl:!0,units:(0,n.A)({px:{text:"px",min:1,max:1e3,step:1},em:{text:"em",min:1,max:100,step:.1}},"%",{text:"%",min:1,max:100,step:1}),liveStyle:[{type:"unitPoint",id:"size",responsive:!0,properties:[{name:"max-width",valueType:"direct"}],selector:".".concat(t," img")}]},{id:"opacity",label:(0,c.__)("Opacity","gutenverse"),component:l.RangeControl,allowDeviceControl:!0,min:1,max:100,step:1,liveStyle:[{type:"plain",id:"opacity",responsive:!0,properties:[{name:"opacity",valueType:"pattern",pattern:"calc({value}/100)",patternValues:{value:{type:"direct"}}}],selector:".".concat(t," img")}]},{id:"rotate",label:(0,c.__)("Rotate","gutenverse"),component:l.RangeControl,allowDeviceControl:!0,unit:"deg",min:0,max:360,step:1,liveStyle:[{type:"plain",id:"rotate",responsive:!0,properties:[{name:"transform",valueType:"pattern",pattern:"rotate({value}deg)",patternValues:{value:{type:"direct"}}}],selector:".".concat(t," img")}]},{id:"imageBorder",show:"Desktop"===o,label:(0,c.__)("Border","gutenverse"),component:l.BorderControl,liveStyle:[{type:"border",id:"imageBorder",selector:".".concat(t," img")}]},{id:"imageBorderResponsive",show:"Desktop"!==o,label:(0,c.__)("Border","gutenverse"),component:l.BorderResponsiveControl,allowDeviceControl:!0,liveStyle:[{type:"borderResponsive",id:"imageBorderResponsive",selector:".".concat(t," img")}]},{id:"imageBoxShadow",label:(0,c.__)("Box Shadow","gutenverse"),component:l.BoxShadowControl,liveStyle:[{type:"boxShadow",id:"imageBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(t," img")}]}]};function h(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function b(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?h(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):h(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var f=function(){return[{title:(0,c.__)("Setting","gutenverse"),panelArray:p,tabRole:l.TabSetting},{title:(0,c.__)("Style","gutenverse"),initialOpen:!1,panelArray:v,tabRole:l.TabStyle},{title:(0,c.__)("Background","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.backgroundPanel)(b(b({},e),{},{styleId:"post-featured-image-background",normalOptions:["default","gradient"],hoverOptions:["default","gradient"]}))},tabRole:l.TabStyle},{title:(0,c.__)("Border","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.borderPanel)(b(b({},e),{},{styleId:"post-featured-image-border"}))},tabRole:l.TabStyle},{title:(0,c.__)("Masking","gutenverse"),initialOpen:!1,panelArray:l.maskPanel,tabRole:l.TabStyle},{title:(0,c.__)("Display","gutenverse"),initialOpen:!1,panelArray:l.responsivePanel,tabRole:l.TabSetting},{title:(0,c.__)("Positioning","gutenverse"),initialOpen:!1,panelArray:l.positioningPanel,tabRole:l.TabSetting},{title:(0,c.__)("Animation Effects","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.animationPanel)(b(b({},e),{},{styleId:"post-featured-image-animation"}))},tabRole:l.TabSetting},{title:(0,c.__)("Transform","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.transformPanel)(b(b({},e),{},{selector:".".concat(e.elementId," img"),hoverSelector:".".concat(e.elementId," img:hover")}))},pro:!0},{title:(0,c.__)("Spacing","gutenverse"),initialOpen:!1,panelArray:function(e){return(0,l.advancePanel)(b(b({},e),{},{styleId:"post-featured-image-advance"}))},tabRole:l.TabSetting},{title:(0,c.__)("Condition","gutenverse"),panelArray:l.conditionPanel,initialOpen:!1,pro:!0}]},x=o(3582),w=o(7143),S=o(6087),_=o(2188),j=o(6826),T=o(4968),O=o(4320),C=o(4404),k=o(1222),P=o(2619);const N=function(e,t){var o=[];return o=(0,l.backgroundStyle)({attributes:t,data:o,elementId:e}),(0,k.isNotEmpty)(t.alignment)&&o.push({type:"plain",id:"alignment",responsive:!0,selector:".".concat(e),properties:[{name:"justify-content",valueType:"direct"}]}),(0,k.isNotEmpty)(t.size)&&o.push({type:"unitPoint",id:"size",responsive:!0,selector:".".concat(e," img"),properties:[{name:"width",valueType:"direct"}]}),(0,k.isNotEmpty)(t.opacity)&&o.push({type:"plain",id:"opacity",selector:".".concat(e," img"),responsive:!0,properties:[{name:"opacity",valueType:"pattern",pattern:"calc({value}/100)",patternValues:{value:{type:"direct"}}}]}),(0,k.isNotEmpty)(t.rotate)&&o.push({type:"plain",id:"rotate",selector:".".concat(e," img"),responsive:!0,properties:[{name:"transform",valueType:"pattern",pattern:"rotate({value}deg)",patternValues:{value:{type:"direct"}}}]}),(0,k.isNotEmpty)(t.imageBorder)&&o.push({type:"border",id:"imageBorder",selector:".".concat(e," img")}),(0,k.isNotEmpty)(t.imageBorderResponsive)&&o.push({type:"borderResponsive",id:"imageBorderResponsive",selector:".".concat(e," img")}),(0,k.isNotEmpty)(t.imageBoxShadow)&&o.push({type:"boxShadow",id:"imageBoxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".".concat(e," img")}),(0,k.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,k.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,k.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,k.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,k.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,k.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,k.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,k.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,k.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,k.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,k.isNotEmpty)(t.animation)&&(0,k.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,k.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,k.isNotEmpty)(t.positioningType)&&(0,k.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,k.isNotEmpty)(t.positioningWidth)&&(0,k.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,k.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,k.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,k.isNotEmpty)(t.positioningLeft)&&(0,k.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,k.isNotEmpty)(t.positioningRight)&&(0,k.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,k.isNotEmpty)(t.positioningTop)&&(0,k.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,k.isNotEmpty)(t.positioningBottom)&&(0,k.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),[].concat((0,C.A)(o),(0,C.A)((0,P.applyFilters)("gutenverse.post-featured-image.blockStyle",[],{elementId:e,attributes:t})))};function E(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function D(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?E(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):E(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const B=(0,i.compose)(_.withPartialRender)((function(e){var t=e.attributes,o=e.clientId,n=e.context,i=n.postId,p=n.postType,u=t.elementId,d=t.postLink,y=t.placeholderImg,g=(0,j.useAnimationEditor)(t),v=(0,j.useDisplayEditor)(t),h=(0,S.useRef)(),b=(0,x.useEntityProp)("postType",p,"featured_media",i),_=(0,r.A)(b,1)[0],C=(0,x.useEntityProp)("postType",p,"link",i),k=(0,r.A)(C,1)[0],P=(0,w.useSelect)((function(e){var t=e(x.store),o=t.getMedia,n=t.getPostType;return{media:_&&o(_,{context:"view"}),postType:p&&n(p)}}),[_,p]).media,E=null==P?void 0:P.source_url,B=(0,a.useBlockProps)({className:(0,s.classnames)("guten-element","guten-post-featured-image","no-margin",u,g,v),ref:h}),A=E?(0,m.jsx)("img",{src:E}):y?(0,m.jsx)("img",{src:T.imagePlaceholder}):(0,c.__)("Post Featured Image","gutenverse");return A=d&&k?(0,m.jsx)("a",{href:k,onClick:function(e){return e.preventDefault()},children:A}):A,(0,O.useGenerateElementId)(o,u,h),(0,O.useDynamicStyle)(u,t,N,h),(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(s.CopyElementToolbar,D({},e)),(0,m.jsx)(a.InspectorControls,{children:(0,m.jsx)(l.PanelTutorial,{title:(0,c.__)("How Post Featured Image works?","gutenverse"),list:[{title:(0,c.__)("Inside Page Editor, Query Loop Block, and on Frontend","gutenverse"),description:(0,c.__)("Image data will be fetched automatically based on the current post/loop.","gutenverse")},{title:(0,c.__)("Inside Site Editor","gutenverse"),description:(0,c.__)("It will load placeholder data.","gutenverse")}]})}),(0,m.jsx)(l.BlockPanelController,{panelList:f,props:e,elementRef:h}),(0,m.jsx)("div",D(D({},B),{},{children:A}))]})}));function A(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}const H=JSON.parse('{"apiVersion":2,"name":"gutenverse/post-featured-image","class_callback":"\\\\Gutenverse\\\\Block\\\\Post_Featured_Image","title":"Post Featured Image","description":"Show the featured image of a single post.","category":"gutenverse-post","allowCopyStyle":true,"attributes":{"elementId":{"type":"string"},"postId":{"type":"string","default":0},"backendPostId":{"type":"string"},"noContentText":{"type":"string","default":"No Content"},"postLink":{"type":"boolean"},"placeholderImg":{"type":"boolean","default":true},"linkTo":{"type":"string","default":"none"},"customURL":{"type":"string"},"alignment":{"type":"object","copyStyle":true},"size":{"type":"object","copyStyle":true},"opacity":{"type":"object","copyStyle":true},"rotate":{"type":"object","copyStyle":true},"imageLazy":{"type":"boolean","default":false,"copyStyle":true},"imageBorder":{"type":"object","copyStyle":true},"imageBorderResponsive":{"type":"object","migrate":{"attr":"imageBorder","type":"border"},"copyStyle":true},"imageBoxShadow":{"type":"object","copyStyle":true},"background":{"type":"object","default":{},"copyStyle":true},"backgroundHover":{"type":"object","default":{},"copyStyle":true},"backgroundTransition":{"type":"object","copyStyle":true,"default":{}},"border":{"type":"object","copyStyle":true},"borderResponsive":{"type":"object","migrate":{"attr":"border","type":"border"},"copyStyle":true},"boxShadow":{"type":"object","copyStyle":true},"borderHover":{"type":"object","copyStyle":true},"borderHoverResponsive":{"type":"object","migrate":{"attr":"borderHover","type":"border"},"copyStyle":true},"boxShadowHover":{"type":"object","copyStyle":true},"margin":{"type":"object","copyStyle":true},"padding":{"type":"object","copyStyle":true},"zIndex":{"type":"object","copyStyle":true},"animation":{"type":"object","default":{},"copyStyle":true},"hideDesktop":{"type":"boolean","copyStyle":true},"hideTablet":{"type":"boolean","copyStyle":true},"hideMobile":{"type":"boolean","copyStyle":true},"positioningType":{"type":"object","copyStyle":true},"positioningWidth":{"type":"object","copyStyle":true},"positioningAlign":{"type":"object","copyStyle":true},"positioningLocation":{"type":"string","copyStyle":true},"positioningLeft":{"type":"object","copyStyle":true},"positioningRight":{"type":"object","copyStyle":true},"positioningTop":{"type":"object","copyStyle":true},"positioningBottom":{"type":"object","copyStyle":true},"transform":{"type":"object","copyStyle":true},"mask":{"type":"object","copyStyle":true},"condition":{"type":"object","default":{}}},"usesContext":["postId","postType","queryId"],"supports":{"className":false},"keywords":["post","featured","image"]}');var R=o(4889),I=H.name,M={icon:(0,m.jsx)(R.Xx,{}),edit:B,save:function(e){var t=e.attributes,o=t.elementId,r=(0,j.useAnimationFrontend)(t),i=(0,j.useDisplayFrontend)(t),l=(0,s.classnames)("guten-element","guten-post-featured-image",o,r,i);return(0,m.jsx)("div",function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?A(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):A(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},a.useBlockProps.save({className:l})))}}},9984:(e,t,o)=>{"use strict";o.d(t,{A:()=>w});var n=o(6065),r=o(4715),i=o(3482),a=o(6087),s=o(596),l=o(4597);const c=window.wp.serverSideRender;var p=o.n(c),u=o(7723),d=o(1222),y=o(4320),g=o(4404),m=o(2619);const v=function(e,t){var o=[];return o=function(e,t,o){return(0,d.isNotEmpty)(t.typography)&&t.showText&&o.push({type:"typography",id:"typography",selector:".editor-styles-wrapper #".concat(e,".gutenverse-share-item .gutenverse-share-text")}),(0,d.isNotEmpty)(t.iconSize)&&o.push({type:"unitPoint",id:"iconSize",responsive:!0,properties:[{name:"font-size",valueType:"direct"},{name:"width",valueType:"direct"}],selector:".editor-styles-wrapper #".concat(e,".gutenverse-share-item i")}),(0,d.isNotEmpty)(t.iconColor)&&o.push({type:"color",id:"iconColor",selector:".editor-styles-wrapper #".concat(e,".gutenverse-share-item .gutenverse-share-icon i"),properties:[{name:"color",valueType:"direct"}]}),(0,d.isNotEmpty)(t.iconBackgroundColor)&&o.push({type:"color",id:"iconBackgroundColor",selector:".editor-styles-wrapper #".concat(e,".gutenverse-share-item .gutenverse-share-icon"),properties:[{name:"background-color",valueType:"direct"}]}),(0,d.isNotEmpty)(t.backgroundColor)&&o.push({type:"color",id:"backgroundColor",selector:".editor-styles-wrapper #".concat(e,".gutenverse-share-item .gutenverse-share-text"),properties:[{name:"background-color",valueType:"direct"}]}),(0,d.isNotEmpty)(t.textColor)&&o.push({type:"color",id:"textColor",selector:".editor-styles-wrapper #".concat(e,".gutenverse-share-item .gutenverse-share-text"),properties:[{name:"color",valueType:"direct"}]}),(0,d.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper #".concat(e,".gutenverse-share-item")}),(0,d.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper #".concat(e,".gutenverse-share-item")}),(0,d.isNotEmpty)(t.iconColorHover)&&o.push({type:"color",id:"iconColorHover",selector:".editor-styles-wrapper #".concat(e,".gutenverse-share-item:hover .gutenverse-share-icon i"),properties:[{name:"color",valueType:"direct"}]}),(0,d.isNotEmpty)(t.iconBackgroundColorHover)&&o.push({type:"color",id:"iconBackgroundColorHover",selector:".editor-styles-wrapper #".concat(e,".gutenverse-share-item:hover .gutenverse-share-icon"),properties:[{name:"background-color",valueType:"direct"}]}),(0,d.isNotEmpty)(t.backgroundColorHover)&&o.push({type:"color",id:"backgroundColorHover",selector:".editor-styles-wrapper #".concat(e,".gutenverse-share-item:hover .gutenverse-share-text"),properties:[{name:"background-color",valueType:"direct"}]}),(0,d.isNotEmpty)(t.textColorHover)&&o.push({type:"color",id:"textColorHover",selector:".editor-styles-wrapper #".concat(e,".gutenverse-share-item:hover .gutenverse-share-text"),properties:[{name:"color",valueType:"direct"}]}),(0,d.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper #".concat(e,".gutenverse-share-item:hover")}),(0,d.isNotEmpty)(t.borderHoverResponsive)&&o.push({type:"borderResponsive",id:"borderHoverResponsive",selector:".editor-styles-wrapper #".concat(e,".gutenverse-share-item:hover")}),o}(e,t,o),o=function(e,t,o){return(0,d.isNotEmpty)(t.iconPading)&&o.push({type:"dimension",id:"iconPading",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper #".concat(e,".gutenverse-share-item .gutenverse-share-icon")}),(0,d.isNotEmpty)(t.textPading)&&o.push({type:"dimension",id:"textPading",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper #".concat(e,".gutenverse-share-item .gutenverse-share-text")}),o}(e,t,o),(0,d.isNotEmpty)(t.border)&&o.push({type:"border",id:"border",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,d.isNotEmpty)(t.borderHover)&&o.push({type:"border",id:"borderHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,d.isNotEmpty)(t.borderResponsive)&&o.push({type:"borderResponsive",id:"borderResponsive",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,d.isNotEmpty)(t.borderResponsiveHover)&&o.push({type:"borderResponsive",id:"borderResponsiveHover",selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element:hover")}),(0,d.isNotEmpty)(t.boxShadow)&&o.push({type:"boxShadow",id:"boxShadow",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper #".concat(e,".gutenverse-share-item")}),(0,d.isNotEmpty)(t.boxShadowHover)&&o.push({type:"boxShadow",id:"boxShadowHover",properties:[{name:"box-shadow",valueType:"direct"}],selector:".editor-styles-wrapper #".concat(e,".gutenverse-share-item:hover")}),(0,d.isNotEmpty)(t.mask)&&o.push({type:"mask",id:"mask",responsive:!0,selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,d.isNotEmpty)(t.padding)&&o.push({type:"dimension",id:"padding",responsive:!0,properties:[{name:"padding",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,d.isNotEmpty)(t.margin)&&o.push({type:"dimension",id:"margin",responsive:!0,properties:[{name:"margin",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,d.isNotEmpty)(t.zIndex)&&o.push({type:"plain",id:"zIndex",responsive:!0,properties:[{name:"z-index",valueType:"direct"}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,d.isNotEmpty)(t.animation)&&(0,d.isNotEmpty)(t.animation.delay)&&o.push({type:"plain",id:"animation",properties:[{name:"animation-delay",valueType:"pattern",pattern:"{value}ms",patternValues:{value:{type:"attribute",key:"delay"}}}],selector:".editor-styles-wrapper .is-root-container .".concat(e,".guten-element")}),(0,d.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"type",multiAttr:{positioningType:t.positioningType,inBlock:t.inBlock}}),(0,d.isNotEmpty)(t.positioningType)&&(0,d.isNotEmpty)(t.positioningWidth)&&o.push({type:"positioning",id:"positioningType",selector:".".concat(e,".guten-element"),skipDeviceType:"second",attributeType:"type",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,d.isNotEmpty)(t.positioningWidth)&&(0,d.isNotEmpty)(t.positioningType)&&o.push({type:"positioning",id:"positioningWidth",selector:".".concat(e,".guten-element"),skipDeviceType:"first",attributeType:"width",multiAttr:{positioningWidth:t.positioningWidth,positioningType:t.positioningType,inBlock:t.inBlock}}),(0,d.isNotEmpty)(t.positioningAlign)&&o.push({type:"plain",id:"positioningAlign",responsive:!0,properties:[{name:"align-self",valueType:"direct"}],selector:".".concat(e,".guten-element")},{type:"positioning",id:"positioningAlign",properties:[{name:"vertical-align",valueType:"direct"}],attributeType:"align",selector:".".concat(e,".guten-element")}),(0,d.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"plain",id:"positioningLocation",properties:[{name:"position",valueType:"direct"}],selector:".".concat(e,".guten-element")}),(0,d.isNotEmpty)(t.positioningLeft)&&(0,d.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningLeft",properties:[{name:"left",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,d.isNotEmpty)(t.positioningRight)&&(0,d.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningRight",properties:[{name:"right",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,d.isNotEmpty)(t.positioningTop)&&(0,d.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningTop",properties:[{name:"top",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),(0,d.isNotEmpty)(t.positioningBottom)&&(0,d.isNotEmpty)(t.positioningLocation)&&"default"!==t.positioningLocation&&o.push({type:"positioning",id:"positioningBottom",properties:[{name:"bottom",valueType:"direct"}],responsive:!0,selector:".".concat(e,".guten-element"),attributeType:"custom"}),[].concat((0,g.A)(o),(0,g.A)((0,m.applyFilters)("gutenverse.social-share-item.blockStyle",[],{elementId:e,attributes:t})))};var h=o(790);function b(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function f(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?b(Object(o),!0).forEach((function(t){(0,n.A)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):b(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var x=function(){return(0,h.jsx)("div",{className:"gutenverse-share gutenverse-share-item",children:(0,h.jsxs)("a",{href:"#","aria-label":"#",children:[(0,h.jsx)("div",{className:"gutenverse-share-icon",children:(0,h.jsx)("i",{className:"fas fa-share-alt-square"})}),(0,h.jsx)("div",{className:"gutenverse-share-text",children:(0,u.__)("Loading Share Button...","gutenverse")})]})})};const w=function(e){var t=e.attributes,o=e.serverPath,n=e.shareType,c=e.clientId,g=t.elementId,m=t.showText,b=t.text,w=t.type,S=t.selectedIcon,_=(0,a.useRef)();(0,y.useGenerateElementId)(c,g,_),(0,y.useDynamicStyle)(g,t,v,_);var j=(0,r.useBlockProps)({className:(0,i.classnames)("guten-social-share-item-wrapper",S),ref:_});return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(i.CopyElementToolbar,f({},e)),(0,h.jsx)(r.InspectorControls,{children:(0,h.jsx)(i.SelectParent,f(f({},e),{},{children:(0,u.__)("Modify Share Group","gutenverse")}))}),(0,h.jsx)(s.BlockPanelController,{panelList:l.d,props:e,elementRef:_}),(0,h.jsx)("div",f(f({},j),{},{children:(0,d.isOnEditor)()?(0,h.jsx)(p(),{block:o,attributes:{elementId:g,showText:m,text:b,type:w,selectedIcon:S},EmptyResponsePlaceholder:x}):(0,h.jsx)("div",{className:"gutenverse-share-".concat(n," gutenverse-share-item"),id:g,children:(0,h.jsxs)("a",{href:"#",children:[(0,h.jsx)("div",{className:"gutenverse-share-icon",children:(0,h.jsx)("i",{className:"fab fa-".concat(n)})}),m?(0,h.jsxs)("div",{className:"gutenverse-share-text",children:[(0,u.__)("Share on","gutenverse"),n]}):""]})})}))]})}}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={id:n,loaded:!1,exports:{}};return e[n](i,i.exports,o),i.loaded=!0,i.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{"use strict";var e=o(6065),t=o(4404),n=o(4997),r=o(1222),i=o(5255),a=o(2619),s=o(4889),l=o(790);function c(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function p(t){for(var o=1;o<arguments.length;o++){var n=null!=arguments[o]?arguments[o]:{};o%2?c(Object(n),!0).forEach((function(o){(0,e.A)(t,o,n[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}(0,a.addFilter)("gutenverse.blocklist.locked","gutenverse/blocklist/locked",(function(e){return[{name:"gutenverse/lottie",title:"Lottie",category:"gutenverse-element",icon:(0,l.jsx)(s.ze,{}),pro:!0,locked:!0},{name:"gutenverse/mega-menu",title:"Mega Menu",category:"gutenverse-element",icon:(0,l.jsx)(s.Rs,{}),pro:!0,locked:!0},{name:"gutenverse/advance-button",title:"Advance Button",category:"gutenverse-element",icon:(0,l.jsx)(s.Rs,{}),pro:!0,locked:!0},{name:"gutenverse-pro/advance-tabs",title:"Advance Tabs",category:"gutenverse-element",icon:(0,l.jsx)(s.Rs,{}),pro:!0,locked:!0},{name:"gutenverse/text-marque",title:"Text Marque",category:"gutenverse-element",icon:(0,l.jsx)(s.Rs,{}),pro:!0,locked:!0},{name:"gutenverse/image-marque",title:"Image Marque",category:"gutenverse-element",icon:(0,l.jsx)(s.Rs,{}),pro:!0,locked:!0}].concat((0,t.A)(e))})),(0,a.addFilter)("gutenverse-css-generator-plain-function","gutenverse/css/generator/plain/function",(function(e,t){return function(e,t){var o=t.functionName,n=t.functionProps,r=t.attribute;if("postBlockContentAlign"===o){var i=n.selectorType;if("end"!==r)switch(i){case"first":e="100%; display: grid; grid-template-rows: 1fr auto;";break;case"second":e="".concat(r)}}return e}(e,t)})),[o(4599),o(6182)].forEach((function(e){e.keys().forEach((function(t){var o,a=e(t),s=a.settings,l=a.metadata,c=a.name;c&&(0,i.updateBlockList)({name:c,settings:s,metadata:l}),null!==(o=window)&&void 0!==o&&o.GutenverseConfig&&c&&!(0,n.getBlockType)(c)&&(0,r.isBlockActive)(c)&&(0,n.registerBlockType)(c,p(p({},s),l))}))}))})()})();
| ver. 1.4 |
Github
|
.
| PHP 8.1.32 | Генераци� �траницы: 0.21 |
proxy
|
phpinfo
|
�а�тройка