Файловый менеджер - Редактировать - /home/lmsyaran/public_html/administrator/components/com_sppagebuilder/assets/editor/dist/js/bundle.min.js
Назад
/*! For license information please see bundle.min.js.LICENSE.txt */ (()=>{var e,t,r,n,o,i={3871:(e,t,r)=>{"use strict";r.d(t,{Z:()=>h});var n=r(824),o=r(4185),i=r(917),a=r(1921),l=r(7294),c=r(935),u=r(5944);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}var d=["type","children","variant","icon","iconPosition","loading","disabled","tabIndex","onClick","buttonCss","buttonContentCss"];function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){v(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function v(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==s(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===s(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const h=l.forwardRef((function(e,t){var r=e.type,n=void 0===r?"button":r,o=e.children,i=e.variant,a=void 0===i?"primary":i,l=e.icon,s=e.iconPosition,p=void 0===s?"left":s,v=e.loading,h=void 0!==v&&v,b=e.disabled,y=void 0!==b&&b,g=e.tabIndex,w=e.onClick,O=e.buttonCss,E=e.buttonContentCss,x=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,d);return(0,u.BX)("button",f(f({type:n,ref:t,css:[m.button(a,h,y),O,";label:Button;"],onClick:w,tabIndex:g,disabled:y},x),{},{children:[h&&!y&&(0,u.tZ)("span",{css:m.spinner,children:(0,u.tZ)(c.ZP,{})}),(0,u.BX)("span",{css:[m.buttonContent(!!l,h,y),E,";label:Button;"],children:[l&&"left"===p&&l,o,l&&"right"===p&&l]})]}))}));var b={name:"1t5pu0q-buttonContent",styles:"color:transparent;label:buttonContent;"},y={name:"6t5tt6-button",styles:"pointer-events:none;label:button;"},m={button:function(e,t,r){return(0,i.iv)(a.iZ.resetButton,";display:inline-block;",o.c.body("medium"),";text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;user-select:none;background-color:transparent;border:0;padding:",n.W0[6]," ",n.W0[16],";border-radius:",n.E0[6],";z-index:",n.W5.level,";transition:all 150ms ease-in-out;position:relative;","primary"===e&&(0,i.iv)("background-color:",n.qo.action.primary.default,";color:",n.qo.base.white,";&:hover{background-color:",n.qo.action.primary.hover,";}&:active{background-color:",n.qo.action.primary.focus,";}",(r||t)&&(0,i.iv)("background-color:",n.qo.action.primary.disabled,";color:",n.qo.text.disabled,";svg{color:",n.qo.icon.disabled,";};label:button;"),";;label:button;")," ","secondary"===e&&(0,i.iv)("color:",n.qo.text.default,";font-weight:",n.Ue.regular,";line-height:",n.Nv[18],";border:1px solid ",n.qo.action.outline.default,";transition:border-color 0.2s ease;background-color:",n.qo.background.white,";svg{color:",n.qo.icon.primary,";}&:hover{color:",n.qo.text.primary,";border-color:",n.qo.action.outline.hover,";background-color:",n.qo.background.white,";}&:active{color:",n.qo.text.primary,";border-color:",n.qo.action.outline.focus,";}",(r||t)&&(0,i.iv)("color:",n.qo.text.disabled,";border-color:",n.qo.action.outline.disabled,";svg{color:inherit;};label:button;"),";;label:button;")," ","error"===e&&(0,i.iv)("background-color:",n.qo.action.error.default,";color:",n.qo.base.white,";&:hover{background-color:",n.qo.action.error.hover,";}&:active{background-color:",n.qo.action.error.focus,";}",(r||t)&&(0,i.iv)("background-color:",n.qo.action.error.disabled,";color:",n.qo.text.disabled,";;label:button;"),";;label:button;")," ","text"===e&&(0,i.iv)("color:",n.qo.text.default,";font-weight:",n.Ue.regular,";&:hover{color:",n.qo.text.primary,";}&:active{color:",n.qo.text.primary,";}",(r||t)&&(0,i.iv)("color:",n.qo.text.disabled,";svg{color:",n.qo.icon.disabled,";};label:button;"),";;label:button;")," ",(r||t)&&y,";;label:button;")},buttonContent:function(e,t,r){return(0,i.iv)("display:flex;align-items:center;",e&&(0,i.iv)("gap:",n.W0[8],";;label:buttonContent;")," ",t&&!r&&b,";;label:buttonContent;")},spinner:{name:"k6liae-spinner",styles:"position:absolute;visibility:visible;display:flex;left:50%;top:50%;transform:translateX(-50%) translateY(-50%);label:spinner;"}}},9085:(e,t,r)=>{"use strict";r.d(t,{Z:()=>p});var n=r(824),o=r(917),i=r(230),a=r(7294),l=r(5944),c=a.forwardRef((function(e,t){var r=e.id,n=void 0===r?(0,i.x0)():r,o=e.name,a=e.labelCss,c=e.inputCss,u=e.label,s=void 0===u?"":u,p=e.value,f=e.onChange,v=e.onBlur,h=e.checked,b=e.disabled,y=void 0!==b&&b,m=e.isIndeterminate,g=void 0!==m&&m;return(0,l.BX)("label",{htmlFor:n,css:[d.container,a,";label:Checkbox;"],children:[(0,l.tZ)("input",{ref:t,id:n,name:o,type:"checkbox",value:p,checked:!!h,disabled:y,"aria-invalid":e["aria-invalid"],onChange:function(e){f&&f(!(!g||h)||e.target.checked,e)},onBlur:v,css:[c,d.checkbox({hasLabel:!!s,isIndeterminate:g,disabled:y,isChecked:!!h}),";label:Checkbox;"]}),(0,l.tZ)("span",{}),s]})})),u={name:"1h0moe-checkbox",styles:"background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='2' fill='none'%3E%3Crect width='10' height='1.5' y='.25' fill='%23fff' rx='.75'/%3E%3C/svg%3E\");background-size:10px;label:checkbox;"},s={name:"ogyiao-checkbox",styles:"background-image:url(\"data:image/svg+xml,%3Csvg width='10' height='10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.99 9.241a.685.685 0 0 0 .6-.317l4.59-7.149a.793.793 0 0 0 .146-.43C9.326 1 9.082.76 8.73.76c-.239 0-.385.088-.532.317L3.965 7.791 1.792 5.003c-.146-.19-.298-.269-.513-.269-.351 0-.605.25-.605.591 0 .152.054.298.18.45l2.53 3.154c.17.215.351.312.605.312Z' fill='%23fff'/%3E%3C/svg%3E\");background-size:10px 10px;label:checkbox;"},d={container:{name:"av2t4k-container",styles:"display:flex;align-items:center;cursor:pointer;user-select:none;label:container;"},checkbox:function(e){var t=e.hasLabel,r=e.isIndeterminate,i=e.disabled,a=e.isChecked;return(0,o.iv)("position:absolute;opacity:0;height:0;width:0;&+span{position:relative;cursor:pointer;font-size:",n.JB[14],";display:inline-flex;align-items:center;",t&&(0,o.iv)("margin-right:",n.W0[10],";;label:checkbox;")," &:hover::before{border:1px solid ",n.qo.stroke.primary,";}}&+span::before{content:'';background-color:",n.qo.base.white,";border:1px solid ",n.qo.stroke.disabled,";border-radius:3px;box-shadow:",n.AF.button,";width:18px;height:18px;",i&&(0,o.iv)("background-color:",n.qo.icon.disabled,";;label:checkbox;")," ",(a||r)&&(0,o.iv)("background-repeat:no-repeat;background-position:center center;background-color:",n.qo.base.primary,";border:1px solid ",n.qo.stroke.primary,";;label:checkbox;")," ",a&&s," ",r&&!a&&u,";};label:checkbox;")}};const p=c},487:(e,t,r)=>{"use strict";r.d(t,{Z:()=>u});var n=r(824),o=r(4185),i=r(917),a=(r(7294),r(9655)),l=r(935),c=r(5944);const u=function(e){var t=e.href,r=e.target,n=void 0===r?"_self":r,o=e.children,i=e.variant,u=void 0===i?"primary":i,s=e.icon,d=e.iconPosition,f=void 0===d?"left":d,v=e.loading,h=void 0!==v&&v,b=e.disabled,y=void 0!==b&&b,m=e.tabIndex,g=e.buttonCss,w=e.buttonContentCss,O=e.replace,E=void 0!==O&&O;return(0,c.BX)(a.rU,{css:[p.button(u,h,y),g,";label:LinkButton;"],tabIndex:m,to:t,target:n,rel:"_blank"===n?"noopener noreferrer nofollow":"",replace:E,relative:"path",children:[h&&!y&&(0,c.tZ)("span",{css:p.spinner,children:(0,c.tZ)(l.ZP,{})}),(0,c.BX)("span",{css:[p.buttonContent(!!s,h,y),w,";label:LinkButton;"],children:[s&&"left"===f&&s,o,s&&"right"===f&&s]})]})};var s={name:"1t5pu0q-buttonContent",styles:"color:transparent;label:buttonContent;"},d={name:"6t5tt6-button",styles:"pointer-events:none;label:button;"},p={button:function(e,t,r){return(0,i.iv)("all:unset;display:inline-block;",o.c.body("medium"),";text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;user-select:none;background-color:transparent;border:0;padding:",n.W0[6]," ",n.W0[16],";border-radius:",n.E0[6],";z-index:",n.W5.level,";transition:all 150ms ease-in-out;position:relative;&::before,&::after{content:''!important;all:unset!important;}","primary"===e&&(0,i.iv)("background-color:",n.qo.action.primary.default,";color:",n.qo.base.white,";&:hover{background-color:",n.qo.action.primary.hover,";color:",n.qo.text.white,";}&:active{background-color:",n.qo.action.primary.focus,";}",(r||t)&&(0,i.iv)("background-color:",n.qo.action.primary.disabled,";color:",n.qo.text.disabled,";;label:button;"),";;label:button;")," ","secondary"===e&&(0,i.iv)("color:",n.qo.text.default,";font-weight:",n.Ue.regular,";line-height:",n.Nv[18],";border:1px solid ",n.qo.action.outline.default,";transition:border-color 0.2s ease;svg{color:",n.qo.icon.primary,";}&:hover{color:",n.qo.text.primary,";border-color:",n.qo.action.outline.hover,";}&:active{color:",n.qo.text.primary,";border-color:",n.qo.action.outline.focus,";}",(r||t)&&(0,i.iv)("color:",n.qo.text.disabled,";border-color:",n.qo.action.outline.disabled,";svg{color:inherit;};label:button;"),";;label:button;")," ","text"===e&&(0,i.iv)("color:",n.qo.text.default,";font-weight:",n.Ue.regular,";&:hover{color:",n.qo.text.primary,";}&:active{color:",n.qo.text.primary,";}",(r||t)&&(0,i.iv)("color:",n.qo.text.disabled,";;label:button;"),";;label:button;")," ",(r||t)&&d,";;label:button;")},buttonContent:function(e,t,r){return(0,i.iv)("display:flex;align-items:center;",e&&(0,i.iv)("gap:",n.W0[4],";;label:buttonContent;")," ",t&&!r&&s,";;label:buttonContent;")},spinner:{name:"k6liae-spinner",styles:"position:absolute;visibility:visible;display:flex;left:50%;top:50%;transform:translateX(-50%) translateY(-50%);label:spinner;"}}},935:(e,t,r)=>{"use strict";r.d(t,{ZP:()=>h,fz:()=>f,g4:()=>v});var n,o,i=r(824),a=r(917),l=r(5944);function c(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var u=(0,a.F4)(n||(n=c(["\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n"]))),s=(0,a.F4)(o||(o=c(["\n 0% {\n stroke-dashoffset: 180;\n transform: rotate(0deg);\n }\n 50% {\n stroke-dashoffset: ",";\n transform: rotate(135deg);\n }\n 100% {\n stroke-dashoffset: 180;\n transform: rotate(360deg);\n }\n"])),45),d={fullscreen:{name:"1m2q2ql-fullscreen",styles:"display:flex;align-items:center;justify-content:center;height:100vh;width:100vw;label:fullscreen;"},loadingOverlay:{name:"1vs6vwj-loadingOverlay",styles:"position:absolute;top:0;bottom:0;right:0;left:0;display:flex;align-items:center;justify-content:center;label:loadingOverlay;"},loadingSection:{name:"1bcp2kg-loadingSection",styles:"width:100%;height:100px;display:flex;justify-content:center;align-items:center;label:loadingSection;"},svg:(0,a.iv)("animation:",u," 1.4s linear infinite;;label:svg;"),spinnerPath:(0,a.iv)("stroke-dasharray:180;stroke-dashoffset:0;transform-origin:center;animation:",s," 1.4s linear infinite;;label:spinnerPath;")},p=function(e){var t=e.size,r=void 0===t?30:t,n=e.color,o=void 0===n?i.qo.icon.disabled:n;return(0,l.tZ)("svg",{width:r,height:r,css:d.svg,viewBox:"0 0 86 86",xmlns:"http://www.w3.org/2000/svg",children:(0,l.tZ)("circle",{css:d.spinnerPath,fill:"none",stroke:o,strokeWidth:"6",strokeLinecap:"round",cx:"43",cy:"43",r:"30"})})},f=function(){return(0,l.tZ)("div",{css:d.loadingOverlay,children:(0,l.tZ)(p,{})})},v=function(){return(0,l.tZ)("div",{css:d.loadingSection,children:(0,l.tZ)(p,{})})};const h=p},3579:(e,t,r)=>{"use strict";r.d(t,{Z:()=>d});var n=r(824),o=r(4185),i=r(917),a=r(230),l=r(7294),c=r(5944),u=l.forwardRef((function(e,t){var r=e.name,n=e.checked,o=e.readOnly,i=e.disabled,l=void 0!==i&&i,u=e.showRadioIcon,d=void 0!==u&&u,p=e.labelCss,f=e.inputCss,v=e.iconWrapperCss,h=e.label,b=void 0===h?"":h,y=e.icon,m=e.value,g=e.onChange,w=e.onBlur,O=(0,a.x0)();return(0,c.BX)("label",{htmlFor:O,css:[s.container({disabled:l}),p,";label:Radio;"],children:[(0,c.tZ)("input",{ref:t,id:O,name:r,type:"radio",checked:n,readOnly:o,value:m,disabled:l,onChange:g,onBlur:w,css:[s.radio({label:b,showRadioIcon:d}),f,";label:Radio;"]}),d&&(0,c.tZ)("span",{}),(0,c.tZ)("span",{css:v,children:y}),b]})})),s={container:function(e){var t=e.disabled,r=void 0!==t&&t;return(0,i.iv)(o.c.body(),";display:flex;align-items:center;cursor:pointer;user-select:none;",r&&(0,i.iv)("color:",n.qo.text.disabled,";;label:container;"),";;label:container;")},radio:function(e){var t=e.label,r=void 0===t?"":t,o=e.showRadioIcon,a=void 0!==o&&o;return(0,i.iv)("position:absolute;opacity:0;height:0;width:0;cursor:pointer;",a&&(0,i.iv)("&+span{position:relative;cursor:pointer;height:15px;width:15px;background-color:",n.qo.background.white,";border:2px solid ",n.qo.icon.disabled,";border-radius:100%;",r&&(0,i.iv)("margin-right:",n.W0[10],";;label:radio;"),";}&+span::before{content:'';position:absolute;left:",n.W0[2],";top:",n.W0[2],";background-color:",n.qo.background.white,";width:7px;height:7px;border-radius:100%;}&:checked+span{border-color:",n.qo.base.primary,";}&:checked+span::before{background-color:",n.qo.base.primary,";};label:radio;"),";;label:radio;")}};const d=u},9371:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});var n=r(824),o=r(917),i=r(667),a=(r(6597),r(5944));const l=function(e){var t=e.value,r=e.onChange,n=e.min,o=e.max,l=e.disabled,u=void 0!==l&&l,s=e.rangeStyle,d=e.step;return(0,a.tZ)(i.Z,{value:t,onChange:function(e){"number"==typeof e&&r&&r(e)},min:Number(n),max:Number(o),disabled:u,css:[c.slider(u),s,";label:Range;"],step:d})};var c={slider:function(e){return(0,o.iv)("padding:",n.W0[6]," 0;min-width:80px;&.rc-slider-disabled{background-color:transparent;}.rc-slider-rail{height:3px;background-color:",n.qo.stroke.disabled,";border-radius:",n.E0[4],";}.rc-slider-track{height:3px;background-color:",n.qo.base.primary,";border-radius:",n.E0[4],";",e&&(0,o.iv)("background-color:",n.qo.text.disabled,";;label:slider;"),";}.rc-slider-handle{height:8px;width:8px;background-color:",n.qo.base.primary,";border-radius:",n.E0.circle,";border:1px solid ",n.qo.stroke.white,";box-shadow:0px 1px 2px rgba(2, 11, 83, 0.3);margin-top:-3px;opacity:1;",e&&(0,o.iv)("background-color:",n.qo.text.disabled,";;label:slider;"),";}.rc-slider-handle-dragging.rc-slider-handle-dragging.rc-slider-handle-dragging{box-shadow:0px 0px 2px 1px rgba(2, 11, 83, 0.3);border-color:#eff4fb;};label:slider;")}}},7264:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(917),o=r(230),i=r(5944);const a=function(e){var t=e.name,r=e.width,n=void 0===r?16:r,a=e.height,l=void 0===a?16:a,u=e.style,s=e.noFill,d=void 0!==s&&s,p=(0,o.q7)(t);return(0,o.$K)(p)?(0,i.tZ)("svg",{css:[{width:n,height:l},c.svg(d),u,";label:SVGIcon;"],xmlns:"http://www.w3.org/2000/svg",viewBox:p.viewBox,dangerouslySetInnerHTML:{__html:p.icon}}):null};var l={name:"p5egc1-svg",styles:"fill:none;label:svg;"},c={svg:function(e){return(0,n.iv)(e&&l,";;label:svg;")}}},7870:(e,t,r)=>{"use strict";r.d(t,{Z:()=>O});var n=r(824),o=r(4185),i=r(917),a=r(36),l=r(4411),c=r(1954),u=r(1234),s=r(1921),d=r(230),p=r(7294),f=r(3871),v=r(935),h=r(7264),b=r(5944);function y(e){return function(e){if(Array.isArray(e))return w(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||g(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||g(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){if(e){if("string"==typeof e)return w(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?w(e,t):void 0}}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const O=function(e){var t=e.options,r=e.onChange,n=void 0===r?d.ZT:r,o=e.clearOption,i=void 0===o?d.ZT:o,s=e.label,g=e.placeholder,w=void 0===g?"":g,O=e.readOnly,E=e.isSearchable,x=void 0!==E&&E,S=e.isClearable,_=void 0===S||S,C=e.isInlineLabel,A=void 0!==C&&C,P=e.isFontWeight,L=void 0!==P&&P,D=e.value,j=e.caretSize,T=void 0===j?20:j,Z=e.infiniteScroll,B=void 0!==Z&&Z,M=e.wrapperStyle,k=e.inputCss,R=e.disabled,W=e.optionsStyleVariant,N=void 0===W?"regular":W,G=(0,u.$)(),F=(0,d.x0)(),U=m((0,p.useState)(""),2),H=U[0],q=U[1],z=m((0,p.useState)(""),2),V=z[0],$=z[1],K=m((0,p.useState)(!1),2),X=K[0],Y=K[1],Q=m((0,p.useState)([]),2),J=Q[0],ee=Q[1],te=(0,a.N)(V);(0,p.useEffect)((function(){var e,r,n=null!==(e=null===(r=t.find((function(e){return String(e.value)===String(null==D?void 0:D.value)})))||void 0===r?void 0:r.label)&&void 0!==e?e:"";q(n)}),[t,D]);var re=(0,p.useMemo)((function(){return ee([]),x?t.filter((function(e){return e.label.toLowerCase().startsWith(te.toLowerCase())})):t}),[te,x,t]),ne=(0,c.l)({isOpen:X,isDropdown:!0}),oe=ne.triggerRef,ie=ne.triggerWidth,ae=ne.position,le=ne.popoverRef,ce=(0,l.Z)(),ue=ce.intersectionEntry,se=ce.intersectionElementRef,de=re.length>J.length;return(0,p.useEffect)((function(){if(B){if(null!=ue&&ue.isIntersecting&&de){var e=J.length,t=e+20;ee((function(r){return[].concat(y(r),y(re.slice(e,t)))}))}}else ee(re)}),[re,null==ue?void 0:ue.isIntersecting]),(0,b.BX)("div",{css:[I.mainWrapper,M,";label:Select;"],children:[(0,b.BX)("div",{css:I.inputLabelWrapper(A),ref:oe,children:[!!s&&(0,b.tZ)("label",{htmlFor:F,css:I.label(A),children:s}),(0,b.BX)("div",{css:[I.inputWrapper,k,";label:Select;"],children:[(0,b.tZ)("input",{id:F,onClick:function(){return Y((function(e){return!e}))},onFocus:function(){return Y(!0)},css:I.input({isSearchable:x}),autoComplete:"off",readOnly:O||!x,placeholder:w,value:H,onChange:function(e){q(e.target.value),$(e.target.value)},disabled:R}),(0,b.tZ)("button",{type:"button",css:I.caretButton,onClick:function(){Y((function(e){return!e}))},disabled:R||O||0===t.length,children:(0,b.tZ)(h.Z,{name:"chevronDown",width:T,height:T,style:I.toggleIcon({isOpen:X})})})]})]}),(0,b.tZ)(c.h,{isOpen:X,onClickOutside:function(){return Y(!1)},children:(0,b.BX)("div",{css:[I.optionsWrapper,{left:ae.left,top:ae.top,maxWidth:ie},";label:Select;"],ref:le,children:[(0,b.BX)("ul",{css:I.options,children:[J.map((function(e){return(0,b.tZ)("li",{css:I.optionItem({isSelected:e.value===(null==D?void 0:D.value),optionsStyleVariant:N,isDisabled:!!e.disabled}),children:(0,b.tZ)(f.Z,{variant:"text",buttonCss:I.optionButton({fontWeight:L?e.value:"inherit"}),onClick:function(){q(e.label),$(""),n(e),Y(!1)},children:e.label})},String(e.value))})),(0,b.tZ)("span",{ref:se,css:I.spinnerWrapper({isVisible:de}),children:(null==ue?void 0:ue.isIntersecting)&&(0,b.tZ)(v.ZP,{})})]}),_&&(0,b.tZ)("div",{css:I.clearButton({isDisabled:""===H}),children:(0,b.tZ)(f.Z,{variant:"text",disabled:""===H,icon:(0,b.tZ)(h.Z,{name:"recycleAlt"}),onClick:function(){i(),q(""),$(""),Y(!1)},children:G("COM_SPPAGEBUILDER_EDITOR_FORM_SELECT_CLEAR")})})]})})]})};var E={name:"9jddly-spinnerWrapper",styles:"display:none;label:spinnerWrapper;"},x={name:"xs7epg-toggleIcon",styles:"transform:rotate(180deg);label:toggleIcon;"},S={name:"zjfq51-input",styles:"cursor:pointer;label:input;"},_={name:"1je746r-label",styles:"flex:1;label:label;"},C={name:"1nbzsgk-inputLabelWrapper",styles:"display:flex;flex-direction:row;align-items:center;justify-content:space-between;>div{flex:1;};label:inputLabelWrapper;"},I={mainWrapper:{name:"e9i770-mainWrapper",styles:"width:100%;label:mainWrapper;"},inputLabelWrapper:function(e){return(0,i.iv)("width:100%;display:flex;flex-direction:column;gap:",n.W0[4],";",e&&C,";;label:inputLabelWrapper;")},label:function(e){return(0,i.iv)(o.c.caption()," ",e&&_,";;label:label;")},inputWrapper:{name:"pdux79-inputWrapper",styles:"width:100%;position:relative;label:inputWrapper;"},input:function(e){var t=e.isSearchable;return(0,i.iv)(o.c.body(),";width:100%;height:32px;border-radius:",n.E0[5],";border:1px solid ",n.qo.stroke.neutral,";box-shadow:",n.AF.input,";padding:0 ",n.W0[32]," 0 ",n.W0[12],";color:",n.qo.text.default,";appearance:textfield;",!t&&S," :focus{outline:none;box-shadow:",n.AF.outline,";}::-webkit-outer-spin-button,::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}::placeholder{color:",n.qo.text.hints,";};label:input;")},clearButton:function(e){var t=e.isDisabled,r=void 0!==t&&t;return(0,i.iv)("padding:",n.W0[4]," ",n.W0[8],";border-top:1px solid ",n.qo.stroke.neutral,";display:flex;justify-content:center;height:40px;&>button{padding:0;width:100%;font-size:",n.JB[12],";",!r&&(0,i.iv)("color:",n.qo.text.primary,";&:hover{text-decoration:underline;};label:clearButton;"),";>span{justify-content:center;}};label:clearButton;")},optionsWrapper:(0,i.iv)("position:absolute;width:100%;z-index:",n.W5.dropdown,";background-color:",n.qo.base.white,";box-shadow:",n.AF.popover,";border-radius:",n.E0[6],";;label:optionsWrapper;"),options:(0,i.iv)("list-style-type:none;max-height:500px;padding:",n.W0[4]," 0;margin:0;",s.iZ.overflowYAuto,";;label:options;"),optionItem:function(e){var t=e.isSelected,r=void 0!==t&&t,a=e.isDisabled,l=void 0!==a&&a,c=e.optionsStyleVariant,u=void 0===c?"regular":c;return(0,i.iv)(o.c.body(),";min-height:36px;height:100%;width:100%;display:flex;align-items:center;transition:background-color 0.3s ease-in-out;cursor:pointer;",l&&(0,i.iv)("pointer-events:none;>button{color:",n.qo.text.disabled,";};label:optionItem;")," &:hover{background-color:",n.qo.background.hover,";}","small"===u&&(0,i.iv)(">button{",o.c.caption(),";};label:optionItem;")," ",r&&(0,i.iv)("background-color:",n.qo.background.active,";position:relative;&::before{content:'';position:absolute;top:0;left:0;width:3px;height:100%;background-color:",n.qo.action.primary.default,";border-radius:0 ",n.E0[6]," ",n.E0[6]," 0;};label:optionItem;"),";;label:optionItem;")},optionButton:function(e){var t=e.fontWeight,r=void 0===t?"inherit":t;return(0,i.iv)("width:100%;padding:",n.W0[8]," ",n.W0[12],";font-weight:",r,";;label:optionButton;")},toggleIcon:function(e){var t=e.isOpen,r=void 0!==t&&t;return(0,i.iv)("color:",n.qo.icon.default,";transition:transform 0.3s ease-in-out;",r&&x,";;label:toggleIcon;")},optionsContainer:{name:"1fif7on-optionsContainer",styles:"position:absolute;overflow:hidden auto;min-width:16px;min-height:16px;max-width:calc(100% - 32px);max-height:calc(100% - 32px);label:optionsContainer;"},caretButton:(0,i.iv)(s.iZ.resetButton,";position:absolute;top:0;bottom:0;right:",n.W0[8],";margin:auto 0;;label:caretButton;"),spinnerWrapper:function(e){var t=e.isVisible,r=void 0!==t&&t;return(0,i.iv)("width:100%;display:flex;justify-content:center;align-items:center;",!r&&E,";;label:spinnerWrapper;")}}},5791:(e,t,r)=>{"use strict";r.d(t,{Z:()=>d});var n=r(824),o=r(917),i=r(7273),a=r(230),l=r(7294),c=r(5944),u=l.forwardRef((function(e,t){var r=e.id,n=void 0===r?(0,a.x0)():r,o=e.name,l=e.value,u=e.checked,d=e.disabled,p=e.onChange;return(0,c.tZ)("div",{css:s.wrapperStyle,children:(0,c.tZ)("input",{ref:t,value:(0,i.sw)(l)?String(l):void 0,type:"checkbox",name:o,id:n,checked:!!u,disabled:d,css:s.switchStyles,onChange:function(e){p&&p(e.target.checked,e)}})})})),s={wrapperStyle:(0,o.iv)("display:flex;align-items:center;justify-content:space-between;width:fit-content;column-gap:",n.W0[12],";;label:wrapperStyle;"),switchStyles:(0,o.iv)("appearance:none;border:0;width:28px;height:12px;background-color:",n.qo.icon.neutral,";box-shadow:",n.AF.switch,";border-radius:",n.E0[10],";position:relative;display:inline-block;vertical-align:middle;cursor:pointer;transition:background-color 0.15s cubic-bezier(0.785, 0.135, 0.15, 0.86);&:after{content:'';position:absolute;top:-",n.W0[2],";left:-",n.W0[2],";width:16px;height:16px;background-color:",n.qo.icon.disabled,";border-radius:",n.E0.circle,";transition:left 0.15s cubic-bezier(0.785, 0.135, 0.15, 0.86);filter:drop-shadow(",n.AF.switchKnob,");}&:checked{background:",n.qo.base.surface,";&:after{background:",n.qo.base.primary,";left:",n.W0[16],";}}&:disabled{pointer-events:none;filter:none;opacity:0.5;};label:switchStyles;")};const d=u},7025:(e,t,r)=>{"use strict";r.d(t,{Z:()=>d});var n=r(3871),o=r(7264),i=r(824),a=r(4185),l=r(917),c=r(7273),u=r(7294),s=r(5944);const d=function(e){var t=e.label,r=e.isInlineLabel,i=e.type,a=void 0===i?"text":i,l=e.value,d=e.disabled,f=e.readOnly,v=e.placeholder,h=e.onChange,b=e.onBlur,y=e.onKeyDown,m=e.onFocus,g=e.isClearable,w=e.handleMediaIconClick,O=e.variant,E=void 0===O?"regular":O,x=e.focusOnMount,S=void 0!==x&&x,_=e.inputCss,C=(0,u.useId)(),I=(0,u.useRef)(null);return(0,u.useEffect)((function(){S&&I.current&&I.current.focus()}),[S]),(0,s.BX)("div",{css:p.inputContainer(r),children:[!!t&&(0,s.tZ)("label",{htmlFor:C,css:p.label(r),children:t}),(0,s.BX)("div",{css:p.inputWrapper,children:[(0,s.tZ)("input",{ref:I,id:C,type:"text",css:[p.input(E),_,";label:TextInput;"],value:l||"",onChange:function(e){var t=e.target.value,r="number"===a?(0,c.jv)(t):t;h(r)},onKeyDown:function(e){y&&y(e.key,e)},onBlur:function(e){var t=e.target.value,r="number"===a?(0,c.jv)(t):t;b&&b(r)},onFocus:function(e){m&&m(e)},placeholder:v,readOnly:f,disabled:d,autoComplete:"off"}),"search"===E&&(0,s.tZ)("span",{css:p.searchIcon,children:(0,s.tZ)(o.Z,{name:"search",width:20,height:20})}),g&&!!l&&(0,s.tZ)("div",{css:p.rightIconButton,children:(0,s.tZ)(n.Z,{variant:"text",onClick:function(){return h("")},children:(0,s.tZ)(o.Z,{name:"cross"})})}),!!w&&"search"!==E&&!l&&(0,s.tZ)("div",{css:p.rightIconButton,children:(0,s.tZ)(n.Z,{variant:"text",onClick:w,children:(0,s.tZ)(o.Z,{name:"upload"})})})]})]})};var p={inputContainer:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return(0,l.iv)("display:flex;flex-direction:column;gap:",i.W0[4],";width:100%;",e&&(0,l.iv)("flex-direction:row;align-items:center;gap:",i.W0[12],";justify-content:space-between;height:32px;;label:inputContainer;"),";;label:inputContainer;")},label:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return(0,l.iv)(a.c.caption()," ",e&&(0,l.iv)("color:",i.qo.text.default,";;label:label;"),";;label:label;")},inputWrapper:{name:"1rdjunr-inputWrapper",styles:"position:relative;label:inputWrapper;"},input:function(e){return(0,l.iv)(a.c.body()," width:100%;height:32px;border-radius:",i.E0[5],";border:1px solid ",i.qo.stroke.neutral,";box-shadow:",i.AF.input,";padding:0 ",i.W0[32]," 0 ",i.W0[12],";color:",i.qo.text.default,";appearance:textfield;:focus{outline:none;box-shadow:none;}::-webkit-outer-spin-button,::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}::placeholder{color:",i.qo.text.hints,";}","search"===e&&(0,l.iv)("padding-left:",i.W0[36],";;label:input;"),";;label:input;")},rightIconButton:(0,l.iv)("position:absolute;right:0;top:0;button{padding:",i.W0[8],";};label:rightIconButton;"),searchIcon:(0,l.iv)("position:absolute;top:50%;left:",i.W0[8],";transform:translateY(-50%);color:",i.qo.icon.default,";line-height:0;;label:searchIcon;")}},1731:(e,t,r)=>{"use strict";r.d(t,{Z:()=>E,p:()=>O});var n=r(824),o=r(4185),i=r(917),a=r(7038),l=r(8144),c=r(230),u=r(7294),s=r(3871),d=r(7264),p=r(5944);function f(e){return f="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},f(e)}function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach((function(t){b(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function b(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==f(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==f(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===f(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y(e,t){if(e){if("string"==typeof e)return m(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?m(e,t):void 0}}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var g={type:"dark",message:"",autoCloseDelay:3500,position:"bottom-right"},w=u.createContext({showToast:c.ZT}),O=function(){return(0,u.useContext)(w)};const E=function(e){var t,r,n=e.children,o=e.position,i=void 0===o?"bottom-right":o,f=(t=(0,u.useState)([]),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,r)||y(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),v=f[0],b=f[1],O=(0,l.Yz)(v,{from:{opacity:0,y:-40},enter:{opacity:1,y:0},leave:{opacity:.5,y:100},config:{duration:300}}),E=(0,u.useCallback)((function(e){var t,r=h(h(h({},g),e),{},{id:(0,c.x0)()});return b((function(e){return[r].concat(function(e){return function(e){if(Array.isArray(e))return m(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||y(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.")}()}(e))})),!(0,c.jn)(r.autoCloseDelay)&&r.autoCloseDelay&&(t=setTimeout((function(){b((function(e){return e.slice(0,-1)}))}),r.autoCloseDelay)),function(){clearTimeout(t)}}),[]);return(0,p.BX)(w.Provider,{value:{showToast:E},children:[n,(0,p.tZ)("div",{css:x.toastWrapper(i),children:O((function(e,t){return(0,p.BX)(a.XJ,{style:e,css:x.toastItem(t.type),children:[(0,p.tZ)("h5",{css:x.message,children:t.message}),(0,p.tZ)(s.Z,{variant:"text",buttonCss:x.closeButton,onClick:function(){b((function(e){return e.filter((function(e){return e.id!==t.id}))}))},children:(0,p.tZ)(d.Z,{name:"timesAlt",width:16,height:16})})]},t.id)}))})]})};var x={toastWrapper:function(e){return(0,i.iv)("display:flex;flex-direction:column;gap:",n.W0[16],";max-width:400px;position:fixed;z-index:",n.W5.highest,";","top-left"===e&&(0,i.iv)("left:",n.W0[20],";top:calc(",n.W0[20]," + 60px);;label:toastWrapper;")," ","top-right"===e&&(0,i.iv)("right:",n.W0[20],";top:calc(",n.W0[20]," + 60px);;label:toastWrapper;")," ","top-center"===e&&(0,i.iv)("left:50%;top:calc(",n.W0[20]," + 60px);transform:translateX(-50%);;label:toastWrapper;")," ","bottom-left"===e&&(0,i.iv)("left:",n.W0[20],";bottom:",n.W0[20],";;label:toastWrapper;")," ","bottom-right"===e&&(0,i.iv)("right:",n.W0[20],";bottom:",n.W0[20],";;label:toastWrapper;")," ","bottom-center"===e&&(0,i.iv)("left:50%;bottom:",n.W0[20],";transform:translateX(-50%);;label:toastWrapper;"),";;label:toastWrapper;")},toastItem:function(e){return(0,i.iv)("width:100%;display:flex;align-items:center;justify-content:space-between;gap:",n.W0[4],";border-radius:",n.E0[6],";padding:",n.W0[8]," ",n.W0[4]," ",n.W0[8]," ",n.W0[16],";svg>path{color:",n.qo.base.white,";}","dark"===e&&(0,i.iv)("background:",n.qo.base.black,";;label:toastItem;")," ","danger"===e&&(0,i.iv)("background:",n.qo.base.error,";;label:toastItem;")," ","success"===e&&(0,i.iv)("background:",n.qo.base.success,";;label:toastItem;")," ","warning"===e&&(0,i.iv)("background:",n.qo.base.warning,";h5{color:",n.qo.text.default,";}svg>path{color:",n.qo.text.default,";};label:toastItem;"),";;label:toastItem;")},closeButton:(0,i.iv)("padding-inline:",n.W0[8],";;label:closeButton;"),message:(0,i.iv)(o.c.heading5(),";color:",n.qo.base.white,";width:100%;text-align:center;;label:message;"),timesIcon:(0,i.iv)("path{color:",n.qo.base.white,";};label:timesIcon;")}},627:(e,t,r)=>{"use strict";r.d(t,{Z:()=>O});var n=r(824),o=r(4185),i=r(917),a=r(7038),l=r(8144),c=r(3126),u=r(1921),s=r(7294),d=r(7264),p=r(5944);function f(e){return f="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},f(e)}function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach((function(t){b(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function b(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==f(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==f(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===f(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return m(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?m(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var g={opacity:0,transform:"scale(0.8)"},w={tension:300,friction:15};const O=function(e){var t=e.children,r=e.content,n=e.allowHTML,o=e.isVisibleOnClick,i=e.placement,f=void 0===i?"top-start":i,v=e.disabled,b=void 0!==v&&v,m=e.reference,O=void 0===m?null:m,x=y((0,l.q_)((function(){return g})),2),S=x[0],_=x[1],C=y((0,s.useState)(!1),2),I=C[0],A=C[1];return(0,p.tZ)(c.ZP,{render:function(e){return(0,p.tZ)(a.XJ,h(h({style:S},e),{},{css:E.contentBox,children:r}))},visible:o?I:void 0,animation:!0,onMount:function(){_.start({opacity:1,transform:"scale(1)",config:w})},onHide:function(e){var t=e.unmount;_.start(h(h({},g),{},{onRest:t,config:h(h({},w),{},{clamp:!0})}))},allowHTML:n,delay:[0,100],placement:f,onClickOutside:function(){return A(!1)},disabled:b,reference:O,children:(0,p.BX)("div",{css:E.button,children:[t,o&&(0,p.tZ)("a",{href:"#",onClick:function(e){e.preventDefault(),A((function(e){return!e}))},css:u.iZ.resetButton,"data-help-action":!0,children:(0,p.tZ)(d.Z,{name:"questionCircle"})})]})})};var E={contentBox:(0,i.iv)(o.c.body(),";max-width:300px;width:100%;background-color:",n.qo.base.white,";box-shadow:",n.AF.popover,";border-radius:",n.E0[6],";padding:",n.W0[8]," ",n.W0[10],";overflow-wrap:break-word;;label:contentBox;"),button:(0,i.iv)(u.iZ.resetButton,";line-height:1;display:flex;align-items:center;gap:",n.W0[8],";svg{color:",n.qo.icon.default,";}[data-help-action]{transition:opacity 0.3s ease;opacity:0;};label:button;")}},9787:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(3871),o=r(3106),i=r(824),a=r(4185),l=r(917),c=r(1234),u=r(5944);const s=function(e){var t=e.buttonSize,r=void 0===t?"normal":t,i=(0,c.$)();return(0,u.tZ)(n.Z,{buttonCss:d.buttonCss({buttonSize:r}),children:(0,u.tZ)("a",{href:o._y,target:"_blank",rel:"noreferrer",children:i("COM_SPPAGEBUILDER_EDITOR_BUY_PRO")})})};var d={buttonCss:function(e){var t=e.buttonSize;return(0,l.iv)("small"===t&&(0,l.iv)(a.c.caption()," padding:",i.W0[6],";color:",i.qo.text.white,";;label:buttonCss;"),";;label:buttonCss;")}}},4924:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});var n=r(824),o=r(917),i=r(7264),a=r(5944);const l=function(e){var t=e.onlyIcon,r=void 0!==t&&t,n=e.position,o=void 0===n?"top-right":n,l=e.isInline,c=void 0!==l&&l,u=e.size,s=void 0===u?"small":u,d=function(){return(0,a.tZ)("div",{css:p.iconWrapper({size:s}),children:(0,a.tZ)(i.Z,{name:"star"})})};return r?(0,a.tZ)(d,{}):(0,a.BX)("div",{css:p.wrapper({position:o,isInline:c,size:s}),children:[(0,a.tZ)(d,{}),(0,a.tZ)("span",{css:p.label({size:s}),children:"Pro"})]})};var c={name:"taxkac-wrapper",styles:"top:2px;left:2px;label:wrapper;"},u={name:"yqbjdl-wrapper",styles:"top:6px;left:6px;label:wrapper;"},s={name:"1w7qix7-wrapper",styles:"top:2px;right:2px;label:wrapper;"},d={name:"116h786-wrapper",styles:"top:6px;right:6px;label:wrapper;"},p={wrapper:function(e){var t=e.position,r=e.isInline,i=e.size;return(0,o.iv)("display:flex;align-items:center;background:",n.qo.background.proBackground,";border-radius:",n.E0[14],";font-weight:",n.Ue.medium,";color:",n.qo.text.white,";font-size:",n.JB[12],";line-height:",n.Nv[16],";height:22px;","small"===i&&(0,o.iv)("height:16px;font-size:",n.JB[10],";line-height:",n.Nv[16],";;label:wrapper;")," ","tiny"===i&&(0,o.iv)("height:10px;font-size:",n.JB[10],";line-height:",n.Nv[12],";;label:wrapper;")," ",!r&&(0,o.iv)("position:absolute;top:12px;","top-right"===t&&(0,o.iv)("right:12px;","small"===i&&d," ","tiny"===i&&s,";;label:wrapper;")," ","top-left"===t&&(0,o.iv)("left:12px;","small"===i&&u," ","tiny"===i&&c,";;label:wrapper;"),";;label:wrapper;"),";;label:wrapper;")},iconWrapper:function(e){var t=e.size;return(0,o.iv)("display:flex;align-items:center;border-radius:",n.E0.circle,";text-align:center;color:",n.qo.icon.white,";background-color:",n.qo.background.proLabel,";padding:",n.W0[4],";height:100%;aspect-ratio:1/1;>svg,>svg:hover{color:",n.qo.icon.white,"!important;}","tiny"===t&&(0,o.iv)("padding:",n.W0[2],";;label:iconWrapper;"),";;label:iconWrapper;")},label:function(e){var t=e.size;return(0,o.iv)("color:",n.qo.text.white,"!important;display:inline-block;padding:",n.W0[6],";","small"===t&&(0,o.iv)("padding:",n.W0[4],";;label:label;")," ","tiny"===t&&(0,o.iv)("padding:",n.W0[2],";;label:label;"),";;label:label;")}}},3169:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});var n=r(824),o=r(917),i=r(9787),a=r(5944);const l=function(e){var t=e.children,r=e.enabled,n=void 0===r||r,o=e.buttonSize;return n?(0,a.BX)("div",{css:c.wrapper,children:[t,(0,a.tZ)(i.Z,{buttonSize:o})]}):(0,a.tZ)(a.HY,{children:t})};var c={wrapper:(0,o.iv)("position:relative;&>button{display:none;transition:display 0.3s ease;}&:hover{&::before{content:'';background-color:rgba(0, 0, 0, 0.6);position:absolute;height:100%;width:100%;inset:0;-webkit-backdrop-filter:blur(13px);backdrop-filter:blur(13px);border-top-left-radius:",n.E0[5],";border-top-right-radius:",n.E0[5],";}&>button{display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);}};label:wrapper;")}},7498:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(3871),o=r(7264),i=r(3106),a=r(824),l=r(917),c=r(1234),u=r(5944);const s=function(){var e=(0,c.$)();return(0,u.tZ)(n.Z,{icon:(0,u.tZ)(o.Z,{name:"premium"}),buttonCss:d.buttonCss,children:(0,u.tZ)("a",{href:i._y,target:"_blank",rel:"noreferrer",children:e("COM_SPPAGEBUILDER_EDITOR_UPGRADE_TODAY")})})};var d={buttonCss:(0,l.iv)("background-color:transparent;background:",a.qo.background.proBackground,";border-radius:",a.E0[14],";:hover{box-shadow:",a.AF.proButton,";};label:buttonCss;")}},288:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(7264),o=r(824),i=r(4185),a=r(917),l=r(1921),c=r(7294),u=r(5944);const s=function(e){var t=e.routes,r=e.onFilterChange;return(0,u.tZ)("div",{css:d.wrapper,children:t.map((function(e,o){var i=o===t.length-1;return(0,u.BX)(c.Fragment,{children:[e.link?(0,u.tZ)("button",{css:d.button,onClick:function(){return!!e.link&&r&&r(e.link)},children:e.text}):(0,u.tZ)("span",{children:e.text}),!i&&(0,u.tZ)(n.Z,{name:"angleRight",width:9,height:10})]},o)}))})};var d={wrapper:(0,a.iv)("display:flex;align-items:center;gap:",o.W0[10],";color:",o.qo.text.neutral,";>button,>span{",i.c.body("medium"),";color:inherit;text-decoration:none;}& :last-child{font-weight:400;};label:wrapper;"),button:(0,a.iv)(l.iZ.resetButton,";;label:button;")}},1807:(e,t,r)=>{"use strict";r.d(t,{Z:()=>m});var n=r(7264),o=r(627),i=r(3106),a=r(824),l=r(4185),c=r(917),u=r(1954),s=r(1234),d=r(1921),p=r(230),f=r(7294),v=r(5944);function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return b(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?b(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var y=function(e){var t=e.device,r=e.onChangeResponsiveDevice,o=(0,s.$)(),a=h((0,f.useState)(!1),2),l=a[0],c=a[1],d=(0,u.l)({isOpen:l,isDropdown:!0}),b=d.triggerRef,y=d.position,m=d.popoverRef;return(0,v.BX)(v.HY,{children:[(0,v.BX)("button",{ref:b,onClick:function(){return c(!l)},css:w.selectedDevice,children:[(0,v.tZ)(n.Z,{name:i.Ak[t].icon}),(0,v.tZ)("span",{children:o(i.Ak[t].name)})]}),(0,v.tZ)(u.h,{isOpen:l,onClickOutside:function(){c(!1)},children:(0,v.tZ)("div",{css:w.verticalDevicesContainer({left:y.left,top:y.top}),ref:m,children:(0,p.Zt)(i.Ak).map((function(e){return(0,v.BX)("button",{type:"button",css:w.deviceButton({isActive:e===t}),onClick:function(){r(e),c(!1)},children:[(0,v.tZ)(n.Z,{name:i.Ak[e].icon}),(0,v.tZ)("span",{children:o(i.Ak[e].name)})]},e)}))})})]})};const m=function(e){var t,r=e.field,n=e.fieldState,a=e.children,l=e.disabled,c=void 0!==l&&l,u=e.readOnly,s=void 0!==u&&u,d=e.label,b=e.isInlineLabel,m=void 0!==b&&b,g=e.variant,O=e.placeholder,E=e.responsive,x=void 0!==E&&E,S=e.helpText,_=(0,p.x0)(),C=h((0,f.useState)(i.zu),2),I=C[0],A=C[1];return(0,v.tZ)("div",{css:w.container(c),children:(0,v.BX)("div",{css:w.inputContainer(m),children:[(x||!!d)&&(0,v.BX)("div",{css:w.contentContainer,children:[!!d&&(0,v.tZ)("label",{htmlFor:_,css:w.label(m),children:S?(0,v.tZ)(o.Z,{content:S,allowHTML:!0,isVisibleOnClick:!0,children:d}):d}),x?(0,v.tZ)(y,{device:I,onChangeResponsiveDevice:function(e){return A(e)}}):null]}),(0,v.tZ)("div",{css:w.inputAndHelpText,children:a({attributes:{id:_,name:r.name,css:[w.input({variant:g,hasFieldError:!!n.error,readOnly:s})],"aria-invalid":n.error?"true":"false",disabled:c,readOnly:s,placeholder:O},data:{responsive:x,device:I}})}),(null===(t=n.error)||void 0===t?void 0:t.message)&&(0,v.tZ)("p",{css:w.errorLabel(!!n.error),children:n.error.message})]})})};var g={name:"dkvrjs-container",styles:"opacity:0.5;label:container;"},w={container:function(e){return(0,c.iv)("display:flex;flex-direction:column;position:relative;background:inherit;",e&&g,";;label:container;")},selectedDevice:(0,c.iv)(d.iZ.resetButton,";padding:",a.W0[4]," ",a.W0[12]," ",a.W0[4]," ",a.W0[4],";border-radius:",a.E0[3],";display:flex;align-items:center;gap:",a.W0[4],";background-color:inherit;border:1px solid ",a.qo.stroke.neutral,";span{",l.c.caption(),";};label:selectedDevice;"),deviceButton:function(e){var t=e.isActive;return(0,c.iv)(d.iZ.resetButton,";display:flex;align-items:center;gap:",a.W0[4],";padding:",a.W0[6]," ",a.W0[8],";span{",l.c.caption(),";}:hover{background-color:",a.qo.background.primary,";color:",a.qo.text.primary,";span{color:",a.qo.text.primary,";}}",t&&(0,c.iv)("background-color:",a.qo.background.primary,";color:",a.qo.text.primary,";span{color:",a.qo.text.primary,";};label:deviceButton;"),";;label:deviceButton;")},inputContainer:function(e){return(0,c.iv)("display:flex;flex-direction:column;gap:",a.W0[4],";width:100%;",e&&(0,c.iv)("flex-direction:row;align-items:center;gap:",a.W0[12],";justify-content:space-between;height:32px;;label:inputContainer;")," :hover{[data-help-action]{opacity:1;}};label:inputContainer;")},input:function(e){return(0,c.iv)("width:100%;height:32px;border-radius:",a.E0[5],";border:1px solid ",a.qo.stroke.neutral,";box-shadow:",a.AF.input,";padding:0 ",a.W0[12],";color:",a.qo.text.default,";appearance:textfield;:focus{outline:none;box-shadow:none;}::-webkit-outer-spin-button,::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}::placeholder{color:",a.qo.text.hints,";}",e.hasFieldError&&(0,c.iv)("border:1px solid ",a.qo.base.error,";background-color:",a.qo.background.error,";;label:input;")," ",e.readOnly&&(0,c.iv)("border:1px solid ",a.qo.background.hover,";background-color:",a.qo.background.hover,";;label:input;"),";;label:input;")},errorLabel:function(e){return(0,c.iv)(l.c.caption(),";display:flex;align-items:center;margin-top:",a.W0[4],";",e&&(0,c.iv)("color:",a.qo.base.error,";;label:errorLabel;")," & svg{margin-right:",a.W0[8],";};label:errorLabel;")},contentContainer:(0,c.iv)("display:flex;gap:",a.W0[8],";position:relative;align-items:center;;label:contentContainer;"),label:function(e){return(0,c.iv)(l.c.caption()," color:",a.qo.text.default,";",e&&(0,c.iv)("color:",a.qo.text.default,";;label:label;"),";;label:label;")},characterCount:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return(0,c.iv)(l.c.body(),";color:",a.qo.text.neutral,";text-transform:lowercase;margin-left:auto;",e&&(0,c.iv)("color:",a.qo.text.error,";;label:characterCount;"),";;label:characterCount;")},inputAndHelpText:{name:"75b851-inputAndHelpText",styles:"position:relative;label:inputAndHelpText;"},helpTextAndLoading:(0,c.iv)("position:absolute;top:50%;right:",a.W0[12],";transform:translateY(-50%);display:flex;gap:",a.W0[4],";align-items:center;;label:helpTextAndLoading;"),verticalDevicesContainer:function(e){var t=e.left,r=e.top;return(0,c.iv)("position:absolute;left:",Math.max(0,t-8),"px;top:",r,"px;display:flex;flex-direction:column;background:",a.qo.base.white,";box-shadow:",a.AF.popover,";border-radius:",a.E0[2],";padding-block:",a.W0[8],";;label:verticalDevicesContainer;")}}},4353:(e,t,r)=>{"use strict";r.d(t,{Z:()=>A});var n=r(3871),o=r(9085),i=r(824),a=r(4185),l=r(917),c=r(1921),u=r(6486),s=r(7264),d=r(5944);const p=function(e){var t=e.label,r=e.onClick,n=void 0===r?u.noop:r,o=e.showIcon,i=void 0===o||o,a=e.icon,l=void 0===a?(0,d.tZ)(s.Z,{name:"cross",width:12,height:12}):a;return(0,d.BX)("button",{css:f.wrapper({hasIcon:i}),onClick:n,children:[(0,d.tZ)("div",{css:f.label,children:t}),i&&(0,d.tZ)("div",{css:f.iconWrapper,"data-icon-wrapper":!0,children:l})]})};var f={wrapper:function(e){var t=e.hasIcon,r=void 0!==t&&t;return(0,l.iv)(c.iZ.resetButton,";background-color:",i.qo.background.white,";border:1px solid ",i.qo.stroke.neutral,";border-radius:",i.E0[24],";padding:",i.W0[4]," ",i.W0[8],";min-height:24px;transition:background-color 0.3s ease;",r&&(0,l.iv)("display:flex;justify-content:center;align-items:center;gap:",i.W0[2],";padding:",i.W0[4]," ",i.W0[4]," ",i.W0[4]," ",i.W0[8],";;label:wrapper;")," :hover{background-color:",i.qo.background.hover,";[data-icon-wrapper]{background-color:",i.qo.background.white,";>svg{color:",i.qo.icon.hover,";}}};label:wrapper;")},label:(0,l.iv)(a.c.caption(),";;label:label;"),iconWrapper:(0,l.iv)("border-radius:",i.E0.circle,";transition:background-color 0.3s ease;height:16px;width:16px;text-align:center;svg{color:",i.qo.icon.default,";transition:color 0.3s ease;};label:iconWrapper;")},v=r(1954),h=r(1234),b=r(230),y=r(7294),m=r(1807);function g(e){return g="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},g(e)}var w=["css"];function O(e){return function(e){if(Array.isArray(e))return I(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||C(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function x(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?E(Object(r),!0).forEach((function(t){S(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function S(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==g(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==g(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===g(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||C(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function C(e,t){if(e){if("string"==typeof e)return I(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?I(e,t):void 0}}function I(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const A=function(e){var t=e.options,r=e.field,i=e.fieldState,a=e.onChange,l=void 0===a?b.ZT:a,c=e.label,u=e.placeholder,f=void 0===u?"":u,g=e.disabled,E=e.readOnly,S=e.loading,C=e.isSearchable,I=void 0!==C&&C,A=e.isInlineLabel,P=e.hideCaret,D=e.listLabel,j=e.isClearable,T=void 0===j||j,Z=e.responsive,B=e.responsiveOrientation,M=e.showArrowUpDown,k=void 0!==M&&M,R=e.helpText,W=e.showChips,N=void 0===W||W,G=e.hideSelectNumbers,F=void 0!==G&&G,U=(0,h.$)(),H=(0,y.useMemo)((function(){return(0,b.$K)(r.value)?(0,b.kJ)(r.value)?r.value:[r.value]:[]}),[r.value]),q=(0,y.useMemo)((function(){return F||0===H.length?f:U("COM_SPPAGEBUILDER_EDITOR_N_OPTIONS_SELECTED",{count:H.length})}),[H,U,f,F]),z=_((0,y.useState)(q),2),V=z[0],$=z[1],K=_((0,y.useState)(""),2),X=K[0],Y=K[1],Q=_((0,y.useState)(!1),2),J=Q[0],ee=Q[1],te=(0,y.useMemo)((function(){return t.filter((function(e){return H.includes(e.value)}))}),[H,t]);(0,y.useEffect)((function(){$(q)}),[q]);var re=(0,y.useMemo)((function(){return I?t.filter((function(e){return e.label.toLowerCase().startsWith(X.toLowerCase())})):t}),[X,I,t]),ne=(0,v.l)({isOpen:J,isDropdown:!0}),oe=ne.triggerRef,ie=ne.triggerWidth,ae=ne.position,le=ne.popoverRef;return(0,d.tZ)(m.Z,{fieldState:i,field:r,label:c,disabled:g||0===t.length,readOnly:E,loading:S,isInlineLabel:A,responsive:Z,responsiveOrientation:B,helpText:R,children:function(e){var i=e.attributes,a=i.css,c=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(i,w);return(0,d.BX)("div",{css:L.mainWrapper,children:[(0,d.BX)("div",{css:L.inputWrapper,ref:oe,children:[(0,d.tZ)("input",x(x({},c),{},{onClick:function(){return ee((function(e){return!e}))},css:[a,L.input,";label:MultiSelectField;"],autoComplete:"off",readOnly:E||!I,placeholder:f,value:V,onChange:function(e){$(e.target.value),Y(e.target.value)}})),!P&&(0,d.tZ)("button",{type:"button",css:L.caretButton,onClick:function(){ee((function(e){return!e}))},disabled:E||0===t.length,children:k?(0,d.tZ)(s.Z,{name:"arrowUpDown",width:20,height:20,style:L.arrowUpDown}):(0,d.tZ)(s.Z,{name:"chevronDown",width:20,height:20,style:L.toggleIcon({isOpen:J})})})]}),N&&te.length>0&&(0,d.tZ)("div",{css:L.chipsWrapper,children:te.map((function(e,t){return(0,d.tZ)(p,{label:e.label,onClick:function(){var t=H.filter((function(t){return t!==e.value}));r.onChange(t)}},t)}))}),(0,d.tZ)(v.h,{isOpen:J,onClickOutside:function(){return ee(!1)},children:(0,d.tZ)("div",{css:[L.optionsWrapper,{left:ae.left,top:ae.top,maxWidth:ie},";label:MultiSelectField;"],ref:le,children:(0,d.BX)("ul",{css:[L.options,";label:MultiSelectField;"],children:[!!D&&(0,d.tZ)("li",{css:L.listLabel,children:D}),re.map((function(e){return(0,d.BX)("li",{css:L.optionItem({isSelected:e.value===r.value}),children:[(0,d.tZ)(o.Z,{checked:!!H.includes(e.value),onChange:function(){var t=H.includes(e.value)?H.filter((function(t){return t!==e.value})):[].concat(O(H),[e.value]);r.onChange(t)}}),(0,d.tZ)(n.Z,{variant:"text",buttonCss:L.label,onClick:function(){var t=H.includes(e.value)?H.filter((function(t){return t!==e.value})):[].concat(O(H),[e.value]);r.onChange(t),$(q),Y(""),l(e)},children:e.label})]},String(e.value))})),T&&(0,d.tZ)("div",{css:L.clearButton({isDisabled:0===te.length}),children:(0,d.tZ)(n.Z,{variant:"text",disabled:0===te.length,icon:(0,d.tZ)(s.Z,{name:"recycleAlt"}),onClick:function(){r.onChange([]),Y(""),ee(!1)},children:U("COM_SPPAGEBUILDER_EDITOR_FORM_SELECT_CLEAR")})})]})})})]})}})};var P={name:"xs7epg-toggleIcon",styles:"transform:rotate(180deg);label:toggleIcon;"},L={mainWrapper:{name:"e9i770-mainWrapper",styles:"width:100%;label:mainWrapper;"},inputWrapper:{name:"39rwmw-inputWrapper",styles:"width:100%;display:flex;justify-content:space-between;align-items:center;position:relative;label:inputWrapper;"},input:(0,l.iv)(a.c.body(),";width:100%;cursor:pointer;padding-right:",i.W0[32],";",c.iZ.textEllipsis,";:focus{outline:none;box-shadow:",i.AF.outline,";};label:input;"),listLabel:(0,l.iv)(a.c.body(),";color:",i.qo.text.neutral,";min-height:40px;display:flex;align-items:center;padding-left:",i.W0[16],";;label:listLabel;"),clearButton:function(e){var t=e.isDisabled,r=void 0!==t&&t;return(0,l.iv)("padding:",i.W0[4]," ",i.W0[8],";border-top:1px solid ",i.qo.stroke.neutral,";&>button{padding:0;width:100%;font-size:",i.JB[12],";",!r&&(0,l.iv)("color:",i.qo.text.primary,";&:hover{text-decoration:underline;};label:clearButton;"),";>span{justify-content:center;}};label:clearButton;")},chipsWrapper:(0,l.iv)("display:flex;justify-content:start;align-items:center;flex-wrap:wrap;gap:",i.W0[4],";margin:",i.W0[8]," 0;;label:chipsWrapper;"),optionsWrapper:{name:"1al3kic-optionsWrapper",styles:"position:absolute;width:100%;label:optionsWrapper;"},options:(0,l.iv)("z-index:",i.W5.dropdown,";background-color:",i.qo.base.white,";list-style-type:none;box-shadow:",i.AF.popover,";padding:",i.W0[4]," 0;margin:0;max-height:500px;border-radius:",i.E0[6],";",c.iZ.overflowYAuto,";min-width:200px;;label:options;"),optionItem:function(e){var t=e.isSelected,r=void 0!==t&&t;return(0,l.iv)(a.c.body(),";min-height:36px;height:100%;width:100%;display:flex;align-items:center;transition:background-color 0.3s ease-in-out;cursor:pointer;padding-inline:",i.W0[8],";&:hover{background-color:",i.qo.background.hover,";}",r&&(0,l.iv)("background-color:",i.qo.background.active,";position:relative;&::before{content:'';position:absolute;top:0;left:0;width:3px;height:100%;background-color:",i.qo.action.primary.default,";border-radius:0 ",i.E0[6]," ",i.E0[6]," 0;};label:optionItem;"),";;label:optionItem;")},label:(0,l.iv)("width:100%;height:100%;display:flex;gap:",i.W0[8],";margin:0 ",i.W0[12],";padding:0;text-align:left;line-height:",i.Nv[24],";;label:label;"),toggleIcon:function(e){var t=e.isOpen,r=void 0!==t&&t;return(0,l.iv)("color:",i.qo.icon.default,";transition:transform 0.3s ease-in-out;",r&&P,";;label:toggleIcon;")},arrowUpDown:(0,l.iv)("color:",i.qo.icon.default,";display:flex;justify-content:center;align-items:center;margin-top:",i.W0[2],";;label:arrowUpDown;"),optionsContainer:{name:"1fif7on-optionsContainer",styles:"position:absolute;overflow:hidden auto;min-width:16px;min-height:16px;max-width:calc(100% - 32px);max-height:calc(100% - 32px);label:optionsContainer;"},caretButton:(0,l.iv)(c.iZ.resetButton,";position:absolute;top:0;bottom:0;right:",i.W0[8],";margin:auto 0;display:flex;align-items:center;;label:caretButton;")}},7856:(e,t,r)=>{"use strict";r.d(t,{Z:()=>x});var n=r(9371),o=r(3106),i=r(824),a=r(917),l=r(36),c=r(3581),u=r(8710),s=r(2445),d=r(2423),p=r(7273),f=r(230),v=r(7294),h=r(1807),b=r(5944);function y(e){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(e)}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function w(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach((function(t){O(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function O(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==y(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==y(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===y(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var E={xl:"",lg:"",md:"",sm:"",xs:"",unit:"px"};const x=function(e){var t=e.label,r=e.field,i=e.fieldState,a=e.disabled,y=e.loading,g=e.helpText,x=e.onChange,_=e.min,C=e.max,I=e.step,A=void 0===I?1:I,P=e.info,L=e.hasUnit,D=void 0!==L&&L,j=e.responsive,T=e.responsiveOrientation,Z=e.staticUnit,B=e.isInline,M=void 0!==B&&B,k=(0,v.useRef)("xl"),R=r.value;D&&(R=(0,f.$K)(r.value)?w(w({},E),r.value):E);var W,N,G=(W=(0,v.useState)(R),N=2,function(e){if(Array.isArray(e))return e}(W)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(W,N)||function(e,t){if(e){if("string"==typeof e)return m(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?m(e,t):void 0}}(W,N)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),F=G[0],U=G[1],H=(0,l.N)(F);(0,v.useEffect)((function(){U(R)}),[(0,p.o5)(R,k.current)]);var q=(0,s.F)((function(e){return e.payload})),z=q.sectionIndex,V=q.columnIndex,$=q.addonIndex,K=q.tableItem,X=(0,d.s)((function(e){return e.currentState}));return(0,v.useEffect)((function(){U(R)}),[z,V,$,K,X]),(0,v.useEffect)((function(){r.onChange(H),x&&x(H)}),[H]),(0,b.tZ)(h.Z,{label:t,field:r,fieldState:i,disabled:a,loading:y,helpText:g,responsive:j,responsiveOrientation:T,isInlineLabel:M,children:function(e){var t=e.attributes,r=e.data,i=r.device,a=r.responsive;k.current=i;var l=(0,p.jv)((0,p.o5)(F,i,!D)),s=(0,p.jv)((0,p.o5)(F,i,!D));if(D){var d=F;return(0,b.BX)("div",{css:S.rangeWithUnitWrapper,children:[(0,b.tZ)(n.Z,{value:(0,p.He)(s),onChange:function(e){var t=w(w({},d),{},O({},i,Z?"".concat(e).concat(Z):e));U(t)},min:null!=_?_:o.a7.min,max:null!=C?C:o.a7.max,disabled:t.disabled,step:A}),(0,b.tZ)(u.Z,{fieldValue:{value:l.toString(),unit:d.unit},onChange:function(e){var t,r,n=w(w({},d),{},(O(r={},i,Z?"".concat(null!==(t=e.value)&&void 0!==t?t:"").concat(Z):e.value),O(r,"unit",e.unit),r));U(n)},staticUnit:Z})]})}return(0,b.tZ)(c.Z,{value:s,onChange:function(e){var t=(0,p.xU)({previous:F,value:(0,p.BB)(e),responsive:a,device:i});U(t)},min:_,max:C,step:A,disabled:t.disabled,inputContent:P,isInlineLabel:M})}})};var S={rangeWithUnitWrapper:(0,a.iv)("display:flex;justify-content:space-between;align-items:center;gap:",i.W0[32],";max-height:32px;;label:rangeWithUnitWrapper;")}},8122:(e,t,r)=>{"use strict";r.d(t,{Z:()=>_});var n=r(3871),o=r(7264),i=r(3106),a=r(824),l=r(4185),c=r(917),u=r(1954),s=r(2200),d=r(1234),p=r(7273),f=r(1921),v=r(230),h=r(7294),b=r(1807),y=r(5944);function m(e){return m="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},m(e)}var g=["css"];function w(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function O(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?w(Object(r),!0).forEach((function(t){E(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function E(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==m(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==m(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===m(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function x(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return S(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?S(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const _=function(e){var t=e.options,r=e.field,a=e.fieldState,l=e.onChange,c=void 0===l?v.ZT:l,f=e.label,m=e.placeholder,w=void 0===m?"":m,E=e.disabled,S=e.readOnly,_=e.loading,C=e.isSearchable,I=void 0!==C&&C,P=e.isInlineLabel,L=e.hideCaret,D=e.listLabel,j=e.isClearable,T=void 0===j||j,Z=e.responsive,B=e.responsiveOrientation,M=e.showArrowUpDown,k=void 0!==M&&M,R=e.helpText,W=e.removeOptionsMinWidth,N=void 0!==W&&W,G=(0,d.$)(),F=(0,h.useRef)(i.zu),U=(0,s.D)(F.current),H=(0,h.useCallback)((function(){var e,n=(0,p.o5)(r.value,F.current);return(null===(e=t.find((function(e){return String(e.value)===n})))||void 0===e?void 0:e.label)||""}),[t,r.value]),q=x((0,h.useState)(H),2),z=q[0],V=q[1],$=x((0,h.useState)(""),2),K=$[0],X=$[1],Y=x((0,h.useState)(!1),2),Q=Y[0],J=Y[1],ee=(0,h.useMemo)((function(){return I?t.filter((function(e){return e.label.toLowerCase().startsWith(K.toLowerCase())})):t}),[K,I,t]),te=(0,u.l)({isOpen:Q,isDropdown:!0}),re=te.triggerRef,ne=te.triggerWidth,oe=te.position,ie=te.popoverRef;return(0,h.useEffect)((function(){V(H)}),[r.value,H]),(0,h.useEffect)((function(){Q&&V(H)}),[H,Q]),(0,y.tZ)(b.Z,{fieldState:a,field:r,label:f,disabled:E||0===t.length,readOnly:S,loading:_,isInlineLabel:P,responsive:Z,responsiveOrientation:B,helpText:R,children:function(e){var i=e.attributes,a=e.data,l=i.css,s=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(i,g),d=a.responsive,f=a.device;return F.current=f,(0,y.BX)("div",{css:A.mainWrapper,children:[(0,y.BX)("div",{css:A.inputWrapper,ref:re,children:[(0,y.tZ)("input",O(O({},s),{},{onClick:function(){return J((function(e){return!e}))},css:[l,A.input,";label:SelectField;"],autoComplete:"off",readOnly:S||!I,placeholder:w,value:function(){if(U!==f){var e,n=(0,p.o5)(r.value,f);return(null===(e=t.find((function(e){return String(e.value)===n})))||void 0===e?void 0:e.label)||""}return z}(),onChange:function(e){V(e.target.value),X(e.target.value)}})),!L&&(0,y.tZ)("button",{type:"button",css:A.caretButton,onClick:function(){J((function(e){return!e}))},disabled:S||0===t.length,children:k?(0,y.tZ)(o.Z,{name:"arrowUpDown",width:20,height:20,style:A.arrowUpDown}):(0,y.tZ)(o.Z,{name:"chevronDown",width:20,height:20,style:A.toggleIcon({isOpen:Q})})})]}),(0,y.tZ)(u.h,{isOpen:Q,onClickOutside:function(){return J(!1)},children:(0,y.tZ)("div",{css:[A.optionsWrapper,{left:oe.left,top:oe.top,maxWidth:ne},";label:SelectField;"],ref:ie,children:(0,y.BX)("ul",{css:[A.options(N),";label:SelectField;"],children:[!!D&&(0,y.tZ)("li",{css:A.listLabel,children:D}),ee.map((function(e){return(0,y.tZ)("li",{css:A.optionItem({isSelected:String(e.value)===(0,p.o5)(r.value,f)}),children:(0,y.tZ)(n.Z,{variant:"text",buttonCss:A.label,onClick:function(){r.onChange((0,p.xU)({previous:r.value,value:e.value,responsive:d,device:f})),X(""),c(e),J(!1)},children:e.label})},String(e.value))})),T&&(0,y.tZ)("div",{css:A.clearButton({isDisabled:""===z}),children:(0,y.tZ)(n.Z,{variant:"text",disabled:""===z,icon:(0,y.tZ)(o.Z,{name:"recycleAlt"}),onClick:function(){r.onChange(null),V(""),X(""),J(!1)},children:G("COM_SPPAGEBUILDER_EDITOR_FORM_SELECT_CLEAR")})})]})})})]})}})};var C={name:"xs7epg-toggleIcon",styles:"transform:rotate(180deg);label:toggleIcon;"},I={name:"7k051d-options",styles:"min-width:200px;label:options;"},A={mainWrapper:{name:"e9i770-mainWrapper",styles:"width:100%;label:mainWrapper;"},inputWrapper:{name:"39rwmw-inputWrapper",styles:"width:100%;display:flex;justify-content:space-between;align-items:center;position:relative;label:inputWrapper;"},input:(0,c.iv)(l.c.body(),";width:100%;cursor:pointer;padding-right:",a.W0[32],";",f.iZ.textEllipsis,";:focus{outline:none;box-shadow:",a.AF.outline,";};label:input;"),listLabel:(0,c.iv)(l.c.body(),";color:",a.qo.text.neutral,";min-height:40px;display:flex;align-items:center;padding-left:",a.W0[16],";;label:listLabel;"),clearButton:function(e){var t=e.isDisabled,r=void 0!==t&&t;return(0,c.iv)("padding:",a.W0[4]," ",a.W0[8],";border-top:1px solid ",a.qo.stroke.neutral,";&>button{padding:0;width:100%;font-size:",a.JB[12],";",!r&&(0,c.iv)("color:",a.qo.text.primary,";&:hover{text-decoration:underline;};label:clearButton;"),";>span{justify-content:center;}};label:clearButton;")},optionsWrapper:{name:"1al3kic-optionsWrapper",styles:"position:absolute;width:100%;label:optionsWrapper;"},options:function(e){return(0,c.iv)("z-index:",a.W5.dropdown,";background-color:",a.qo.base.white,";list-style-type:none;box-shadow:",a.AF.popover,";padding:",a.W0[4]," 0;margin:0;max-height:500px;border-radius:",a.E0[6],";",f.iZ.overflowYAuto,";",!e&&I,";;label:options;")},optionItem:function(e){var t=e.isSelected,r=void 0!==t&&t;return(0,c.iv)(l.c.body(),";min-height:36px;height:100%;width:100%;display:flex;align-items:center;transition:background-color 0.3s ease-in-out;cursor:pointer;&:hover{background-color:",a.qo.background.hover,";}",r&&(0,c.iv)("background-color:",a.qo.background.active,";position:relative;&::before{content:'';position:absolute;top:0;left:0;width:3px;height:100%;background-color:",a.qo.action.primary.default,";border-radius:0 ",a.E0[6]," ",a.E0[6]," 0;};label:optionItem;"),";;label:optionItem;")},label:(0,c.iv)("width:100%;height:100%;display:flex;gap:",a.W0[8],";margin:0 ",a.W0[12],";padding:",a.W0[6]," 0;text-align:left;line-height:",a.Nv[24],";word-break:break-all;;label:label;"),toggleIcon:function(e){var t=e.isOpen,r=void 0!==t&&t;return(0,c.iv)("color:",a.qo.icon.default,";transition:transform 0.3s ease-in-out;",r&&C,";;label:toggleIcon;")},arrowUpDown:(0,c.iv)("color:",a.qo.icon.default,";display:flex;justify-content:center;align-items:center;margin-top:",a.W0[2],";;label:arrowUpDown;"),optionsContainer:{name:"1fif7on-optionsContainer",styles:"position:absolute;overflow:hidden auto;min-width:16px;min-height:16px;max-width:calc(100% - 32px);max-height:calc(100% - 32px);label:optionsContainer;"},caretButton:(0,c.iv)(f.iZ.resetButton,";position:absolute;top:0;bottom:0;right:",a.W0[8],";margin:auto 0;display:flex;align-items:center;;label:caretButton;")}},4943:(e,t,r)=>{"use strict";r.d(t,{Z:()=>h});var n=r(5791),o=r(824),i=r(4185),a=r(917),l=r(7273),c=r(1807),u=r(5944);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}var d=["value"];function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){v(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function v(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==s(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===s(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const h=function(e){var t=e.field,r=e.fieldState,o=e.label,i=e.title,a=e.subTitle,s=e.disabled,p=e.loading,v=e.responsive,h=e.responsiveOrientation,y=e.isInlineLabel,m=void 0!==y&&y,g=e.helpText;return(0,u.tZ)(c.Z,{field:t,fieldState:r,disabled:s,loading:p,label:o,responsive:v,responsiveOrientation:h,isInlineLabel:m,helpText:g,children:function(e){var r=e.attributes,o=e.data,c=o.responsive,s=o.device,p=(0,l.o5)(t.value,s),v=(t.value,function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(t,d));return(0,u.BX)("div",{css:b.wrapper,children:[(i||a)&&(0,u.BX)("div",{children:[!!i&&(0,u.tZ)("h6",{css:b.title,children:i}),!!a&&(0,u.tZ)("p",{css:b.subTitle,children:a})]}),(0,u.tZ)(n.Z,f(f(f({},v),r),{},{checked:(0,l.sw)(p),onChange:function(e){var r,n=(0,l.xU)({previous:t.value,value:null!==(r=(0,l.He)(e))&&void 0!==r?r:0,responsive:c,device:s});t.onChange(n)}}))]})}})};var b={wrapper:(0,a.iv)("display:flex;align-items:center;justify-content:space-between;gap:",o.W0[40],";;label:wrapper;"),title:(0,a.iv)(i.c.heading6(),";line-height:",o.Nv[20],";margin-bottom:",o.W0[4],";;label:title;"),subTitle:(0,a.iv)(i.c.body(),";color:",o.qo.text.neutral,";;label:subTitle;")}},5350:(e,t,r)=>{"use strict";r.d(t,{Z:()=>S});var n=r(3871),o=r(7264),i=r(3106),a=r(824),l=r(4185),c=r(917),u=r(36),s=r(2200),d=r(2445),p=r(2423),f=r(7273),v=r(1921),h=r(7294),b=r(1807),y=r(5944);function m(e){return m="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},m(e)}function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function w(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach((function(t){O(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function O(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==m(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==m(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===m(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function E(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return x(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?x(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const S=function(e){var t=e.label,r=e.isInlineLabel,a=e.type,l=void 0===a?"text":a,c=e.field,v=e.fieldState,m=e.disabled,g=e.readOnly,O=e.loading,x=e.placeholder,S=e.helpText,C=e.onChange,I=e.onKeyDown,A=e.isClearable,P=e.responsive,L=e.responsiveOrientation,D=e.variant,j=void 0===D?"regular":D,T=e.hasAutoFocus,Z=void 0!==T&&T,B=e.isDebounced,M=void 0!==B&&B,k=(0,h.useRef)(null),R=(0,h.useRef)(i.zu),W=(0,s.D)(R.current),N=(0,h.useRef)(!1),G=E((0,h.useState)("password"===l),2),F=G[0],U=G[1],H=(0,f.o5)(c.value,i.zu),q=E((0,h.useState)(H),2),z=q[0],V=q[1],$=(0,u.N)(z),K=(0,d.F)((function(e){return e.payload})),X=K.sectionIndex,Y=K.columnIndex,Q=K.addonIndex,J=K.tableItem,ee=(0,p.s)((function(e){return e.currentState}));return(0,h.useEffect)((function(){M&&V(H)}),[X,Y,Q,J,ee]),(0,h.useEffect)((function(){if(M){var e=(0,f.xU)({previous:c.value,value:$,responsive:N.current,device:R.current});c.onChange(e)}}),[$]),(0,h.useEffect)((function(){var e;Z&&(null===(e=k.current)||void 0===e||e.focus())}),[Z]),(0,y.tZ)(b.Z,{label:t,isInlineLabel:r,field:c,fieldState:v,disabled:m,readOnly:g,loading:O,placeholder:x,helpText:S,responsive:P,responsiveOrientation:L,children:function(e){var t=e.attributes,r=e.data,i=r.device,a=r.responsive;return R.current=i,N.current=a,(0,y.tZ)(y.HY,{children:(0,y.BX)("div",{css:_.container(j),children:[(0,y.tZ)("input",w(w(w({},c),t),{},{ref:k,type:F?"password":"text",value:M?W!==i?(0,f.o5)(c.value,i):z:(0,f.o5)(c.value,i),onChange:function(e){var t=e.target.value;if(M)V(t);else{var r=(0,f.xU)({previous:c.value,value:t,responsive:a,device:i});c.onChange(r)}C&&C(t)},onBlur:function(e){var t=e.target.value,r="number"===l?t.replace(/[^0-9.]/g,"").replace(/(\..*)\./g,"$1").replace(/([^\.]+)\.$/,"$1"):t;if(M)V(t);else{var n=(0,f.xU)({previous:c.value,value:r,responsive:a,device:i});c.onChange(n)}C&&C(r)},onKeyDown:function(e){I&&I(e.key)},autoComplete:"off"})),"password"===l&&!!c.value&&(0,y.tZ)(n.Z,{variant:"text",css:_.hideShow,onClick:function(){return U(!F)},children:F?(0,y.tZ)(o.Z,{name:"statusOff",width:20,height:20}):(0,y.tZ)(o.Z,{name:"statusOn",width:20,height:20})}),"search"===j&&(0,y.tZ)("span",{css:_.searchIcon,children:(0,y.tZ)(o.Z,{name:"search",width:20,height:20})}),A&&!!c.value&&(0,y.tZ)("div",{css:_.clearButton,children:(0,y.tZ)(n.Z,{variant:"text",onClick:function(){return c.onChange("")},children:(0,y.tZ)(o.Z,{name:"cross"})})})]})})}})};var _={container:function(e){return(0,c.iv)("position:relative;display:flex;& input{",l.c.body()," width:100%;","search"===e&&(0,c.iv)("padding-left:",a.W0[36],";;label:container;")," :focus{box-shadow:",a.AF.outline,";}};label:container;")},hideShow:(0,c.iv)(v.iZ.resetButton,";position:absolute;height:100%;right:0;top:0;padding:0 ",a.W0[8],";color:",a.qo.icon.default,";;label:hideShow;"),clearButton:(0,c.iv)("position:absolute;right:0;top:0;button{padding:",a.W0[8],";};label:clearButton;"),searchIcon:(0,c.iv)("position:absolute;top:50%;left:",a.W0[8],";transform:translateY(-50%);color:",a.qo.icon.default,";line-height:0;;label:searchIcon;")}},7579:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(824),o=r(917),i=(r(7294),r(5944));const a=function(e){var t=e.children,r=e.isFluid,n=void 0!==r&&r;return(0,i.tZ)("div",{css:c.wrapper(n),children:t})};var l={name:"bqovom-wrapper",styles:"max-width:initial;label:wrapper;"},c={wrapper:function(e){return(0,o.iv)("margin:0 auto;max-width:",n.V4,"px;width:100%;padding:",n.W0[16],";",e&&l,";;label:wrapper;")}}},3039:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o}),r(7294);var n=r(5944);const o=function(e){var t=e.children;return(0,n.tZ)("div",{children:t})}},7894:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});var n=r(824),o=r(4185),i=r(917),a=(r(7294),r(5944));const l=function(e){var t=e.title,r=e.subtitle,n=e.action;return(0,a.tZ)("div",{css:c.wrapper,children:(0,a.BX)("div",{css:c.container,children:[(0,a.tZ)("div",{css:c.titleContainer,children:(0,a.BX)("div",{css:c.titleSubtitle,children:[(0,a.tZ)("h3",{css:o.c.heading3("medium"),children:(0,a.tZ)("span",{children:t})}),r&&(0,a.tZ)("p",{css:c.subtitle,children:r})]})}),!!n&&(0,a.tZ)("div",{css:c.actionWrapper,children:n})]})})};var c={wrapper:(0,i.iv)("min-height:136px;background:",n.qo.base.surface,";padding-block:",n.W0[36],";border-bottom:1px solid ",n.qo.stroke.neutral,";;label:wrapper;"),container:(0,i.iv)("display:flex;align-items:center;justify-content:space-between;margin:0 auto;padding:0 ",n.W0[16],";max-width:",n.V4,"px;width:100%;;label:container;"),titleContainer:{name:"vvxf1w-titleContainer",styles:"display:flex;justify-content:space-between;label:titleContainer;"},subtitle:(0,i.iv)(o.c.body(),";color:",n.qo.text.default,";;label:subtitle;"),titleSubtitle:(0,i.iv)("display:flex;flex-direction:column;gap:",n.W0[4],";max-width:480px;;label:titleSubtitle;"),actionWrapper:{name:"7ozw75-actionWrapper",styles:"flex-shrink:0;label:actionWrapper;"}}},8111:(e,t,r)=>{"use strict";r.d(t,{g:()=>w});var n=r(3871),o=r(824),i=r(917),a=r(1731),l=r(5945),c=r(4469);function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var s=r(1234),d=r(230),p=r(1709),f=r(9781),v=r(5944);function h(e){return h="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},h(e)}function b(){b=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,o){var i=t&&t.prototype instanceof p?t:p,a=Object.create(i.prototype),l=new I(o||[]);return n(a,"_invoke",{value:x(e,r,l)}),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var d={};function p(){}function f(){}function v(){}var y={};c(y,i,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(A([])));g&&g!==t&&r.call(g,i)&&(y=g);var w=v.prototype=p.prototype=Object.create(y);function O(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function o(n,i,a,l){var c=s(e[n],e,i);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==h(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){o("next",e,a,l)}),(function(e){o("throw",e,a,l)})):t.resolve(d).then((function(e){u.value=e,a(u)}),(function(e){return o("throw",e,a,l)}))}l(c.arg)}var i;n(this,"_invoke",{value:function(e,r){function n(){return new t((function(t,n){o(e,r,t,n)}))}return i=i?i.then(n,n):n()}})}function x(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var l=S(a,r);if(l){if(l===d)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=s(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===d)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function S(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),d;var o=s(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,d;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function A(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:P}}function P(){return{value:void 0,done:!0}}return f.prototype=v,n(w,"constructor",{value:v,configurable:!0}),n(v,"constructor",{value:f,configurable:!0}),f.displayName=c(v,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,c(e,l,"GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},O(E.prototype),c(E.prototype,a,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new E(u(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},O(w),c(w,l,"Generator"),c(w,i,(function(){return this})),c(w,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=A,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(C),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(l&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),C(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;C(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:A(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},e}function y(e,t,r,n,o,i,a){try{var l=e[i](a),c=l.value}catch(e){return void r(e)}l.done?t(c):Promise.resolve(c).then(n,o)}function m(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){y(i,n,o,a,l,"next",e)}function l(e){y(i,n,o,a,l,"throw",e)}a(void 0)}))}}var g=function(e){var t=e.title,r=e.confirmationMessage,o=e.confirmButtonText,i=e.confirmButtonVariant,p=void 0===i?"error":i,h=e.payload,y=e.mutationFn,g=e.closeModal,w=e.invalidateKeys,E=e.contentWrapper,x=e.skipMutation,S=void 0!==x&&x,_=(0,s.$)(),C=function(e){var t=e.mutationFn,r=e.invalidateKeys,n=(0,l.NL)(),o=(0,a.p)().showToast;return(0,c.D)({mutationFn:t,onSuccess:function(){if(null!=r&&r.length){var e,t=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(l)throw i}}}}(r);try{for(t.s();!(e=t.n()).done;){var o=e.value;n.invalidateQueries(o)}}catch(e){t.e(e)}finally{t.f()}}},onError:function(e){o({type:"danger",message:e.message})}})}({mutationFn:y,invalidateKeys:w});return(0,v.tZ)(f.Z,{onClose:function(){return g({action:"CLOSE"})},title:t,headerCss:O.modalHeaderCss,contentCss:O.modalContentCss,wrapperCss:O.modalWrapper,children:(0,v.BX)("div",{css:[E,";label:ConsentModal;"],children:[(0,v.tZ)("p",{css:O.content,children:r||_("COM_SPPAGEBUILDER_EDITOR_DELETE_WARNING")}),(0,v.BX)("div",{css:O.footerWrapper,children:[(0,v.tZ)(n.Z,{variant:"secondary",onClick:function(){return g({action:"CLOSE"})},children:_("COM_SPPAGEBUILDER_EDITOR_CANCEL")}),(0,v.tZ)(n.Z,{variant:p,onClick:m(b().mark((function e(){var t,r;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!S){e.next=3;break}return g({action:"CONFIRM"}),e.abrupt("return");case 3:if(!h){e.next=11;break}return e.next=6,C.mutateAsync(h);case 6:if(t=e.sent,r=t.data,!((0,d.$K)(r.status)?r.status:r)){e.next=11;break}return g({action:"CONFIRM"}),e.abrupt("return");case 11:g({action:"CLOSE"});case 12:case"end":return e.stop()}}),e)}))),loading:C.isLoading,children:o||_("COM_SPPAGEBUILDER_EDITOR_DELETE")})]})]})})},w=function(){var e=(0,p.d)().showModal;return function(t){return e({component:g,props:t,closeOnOutsideClick:!0})}},O={modalWrapper:{name:"1utdhwa-modalWrapper",styles:"max-width:450px;label:modalWrapper;"},content:(0,i.iv)("padding:",o.W0[16]," ",o.W0[24],";;label:content;"),footerWrapper:(0,i.iv)("display:flex;justify-content:end;gap:",o.W0[8],";padding:",o.W0[16]," ",o.W0[24],";box-shadow:",o.AF.dividerTop,";;label:footerWrapper;"),modalHeaderCss:(0,i.iv)("padding:",o.W0[12]," ",o.W0[24],";;label:modalHeaderCss;"),modalContentCss:(0,i.iv)("background-color:",o.qo.background.white,";;label:modalContentCss;")}},9148:(e,t,r)=>{"use strict";r.d(t,{Z:()=>_});var n=r(3871),o=r(5350),i=r(8138),a=r(824),l=r(917),c=r(802),u=r(2811),s=r(1234),d=r(1073),p=r(7679),f=r(6680),v=r(1030),h=r(7536),b=r(9250),y=r(9781),m=r(5944);function g(e){return g="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},g(e)}function w(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function O(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?w(Object(r),!0).forEach((function(t){E(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function E(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==g(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==g(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===g(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function x(){x=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,o){var i=t&&t.prototype instanceof p?t:p,a=Object.create(i.prototype),l=new I(o||[]);return n(a,"_invoke",{value:E(e,r,l)}),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var d={};function p(){}function f(){}function v(){}var h={};c(h,i,(function(){return this}));var b=Object.getPrototypeOf,y=b&&b(b(A([])));y&&y!==t&&r.call(y,i)&&(h=y);var m=v.prototype=p.prototype=Object.create(h);function w(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function o(n,i,a,l){var c=s(e[n],e,i);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==g(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){o("next",e,a,l)}),(function(e){o("throw",e,a,l)})):t.resolve(d).then((function(e){u.value=e,a(u)}),(function(e){return o("throw",e,a,l)}))}l(c.arg)}var i;n(this,"_invoke",{value:function(e,r){function n(){return new t((function(t,n){o(e,r,t,n)}))}return i=i?i.then(n,n):n()}})}function E(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var l=S(a,r);if(l){if(l===d)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=s(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===d)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function S(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),d;var o=s(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,d;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function A(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:P}}function P(){return{value:void 0,done:!0}}return f.prototype=v,n(m,"constructor",{value:v,configurable:!0}),n(v,"constructor",{value:f,configurable:!0}),f.displayName=c(v,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,c(e,l,"GeneratorFunction")),e.prototype=Object.create(m),e},e.awrap=function(e){return{__await:e}},w(O.prototype),c(O.prototype,a,(function(){return this})),e.AsyncIterator=O,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new O(u(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(m),c(m,l,"Generator"),c(m,i,(function(){return this})),c(m,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=A,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(C),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(l&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),C(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;C(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:A(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},e}function S(e,t,r,n,o,i,a){try{var l=e[i](a),c=l.value}catch(e){return void r(e)}l.done?t(c):Promise.resolve(c).then(n,o)}const _=function(e){var t=e.closeModal,r=e.title,a=(0,s.$)(),l=(0,p.mp)(),g=(0,b.s0)(),w=(0,d.j)((function(e){return e.setActiveAction})),E=(0,u.T)().closeSettingPanel,_=(0,c.O)({defaultValues:{title:""}});return(0,m.tZ)(y.Z,{onClose:function(){return t({action:"CLOSE"})},title:r,wrapperCss:C.wrapper,children:(0,m.BX)("form",{onSubmit:_.handleSubmit((0,f.GI)(_,function(){var e,r=(e=x().mark((function e(r){var n;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l.mutateAsync({title:r.title});case 2:(n=e.sent).id&&(w(void 0),E(),g(i.F.PageEditor.buildLink({id:n.id.toString()})),t({action:"CLOSE"}));case 4:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){S(i,n,o,a,l,"next",e)}function l(e){S(i,n,o,a,l,"throw",e)}a(void 0)}))});return function(e){return r.apply(this,arguments)}}())),children:[(0,m.tZ)("div",{css:C.fieldWrapper,children:(0,m.tZ)(h.Qr,{name:"title",control:_.control,rules:O({},(0,v.n)()),render:function(e){return(0,m.tZ)(o.Z,O(O({},e),{},{label:a("COM_SPPAGEBUILDER_EDITOR_CREATE_PAGE_CREATE_PAGE_TITLE"),placeholder:a("COM_SPPAGEBUILDER_EDITOR_CREATE_PAGE_CREATE_PAGE_TITLE_PLACEHOLDER"),hasAutoFocus:!0}))}})}),(0,m.BX)("div",{css:C.buttonWrapper,children:[(0,m.tZ)(n.Z,{variant:"secondary",onClick:function(){return t({action:"CLOSE"})},children:a("COM_SPPAGEBUILDER_EDITOR_CREATE_PAGE_CANCEL")}),(0,m.tZ)(n.Z,{type:"submit",loading:l.isLoading,children:a("COM_SPPAGEBUILDER_EDITOR_CREATE_PAGE_SAVE_AND_GO")})]})]})})};var C={wrapper:{name:"1od26ax-wrapper",styles:"max-width:400px;label:wrapper;"},fieldWrapper:(0,l.iv)("padding:",a.W0[20],";display:flex;flex-direction:column;gap:",a.W0[12],";background-color:",a.qo.base.white,";;label:fieldWrapper;"),buttonWrapper:(0,l.iv)("background-color:",a.qo.background.white,";box-shadow:",a.AF.dividerTop,";padding:",a.W0[12]," ",a.W0[16],";display:flex;justify-content:end;gap:",a.W0[8],";;label:buttonWrapper;")}},2899:(e,t,r)=>{"use strict";r.d(t,{n:()=>_});var n=r(3871),o=r(7264),i=r(1731),a=r(8138),l=r(824),c=r(4185),u=r(917),s=r(1234),d=r(5527),p=r(7839),f=r(7294),v=r(9250),h=r(1709),b=r(9781),y=r(5944);function m(e){return m="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},m(e)}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function w(){w=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,o){var i=t&&t.prototype instanceof p?t:p,a=Object.create(i.prototype),l=new I(o||[]);return n(a,"_invoke",{value:x(e,r,l)}),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var d={};function p(){}function f(){}function v(){}var h={};c(h,i,(function(){return this}));var b=Object.getPrototypeOf,y=b&&b(b(A([])));y&&y!==t&&r.call(y,i)&&(h=y);var g=v.prototype=p.prototype=Object.create(h);function O(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function o(n,i,a,l){var c=s(e[n],e,i);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==m(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){o("next",e,a,l)}),(function(e){o("throw",e,a,l)})):t.resolve(d).then((function(e){u.value=e,a(u)}),(function(e){return o("throw",e,a,l)}))}l(c.arg)}var i;n(this,"_invoke",{value:function(e,r){function n(){return new t((function(t,n){o(e,r,t,n)}))}return i=i?i.then(n,n):n()}})}function x(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var l=S(a,r);if(l){if(l===d)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=s(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===d)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function S(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),d;var o=s(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,d;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function A(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:P}}function P(){return{value:void 0,done:!0}}return f.prototype=v,n(g,"constructor",{value:v,configurable:!0}),n(v,"constructor",{value:f,configurable:!0}),f.displayName=c(v,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,c(e,l,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},O(E.prototype),c(E.prototype,a,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new E(u(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},O(g),c(g,l,"Generator"),c(g,i,(function(){return this})),c(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=A,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(C),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(l&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),C(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;C(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:A(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},e}function O(e,t,r,n,o,i,a){try{var l=e[i](a),c=l.value}catch(e){return void r(e)}l.done?t(c):Promise.resolve(c).then(n,o)}function E(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){O(i,n,o,a,l,"next",e)}function l(e){O(i,n,o,a,l,"throw",e)}a(void 0)}))}}var x=[{text:"Download or locate the file for your custom font. There are many sources online for downloading fonts. It must be downloaded as .TTF or .OTF file. You can also download the font directly through",link:{url:"https://www.fontsquirrel.com/",text:"Font Squirrel"}},{text:"Go to the",link:{url:"https://www.fontsquirrel.com/tools/webfont-generator",text:"Font Squirrel Webfont Generator"}},{text:"Click the Upload Fonts button to select your .TTF or .OTF file."},{text:"Select the output of the files (we recommend using the Basic or Optimal settings unless you are comfortable with the Expert Settings.)"},{text:"Tick the agreement section."},{text:"Click Download your kit"},{text:"Once it is finished downloading, you will be left with a webfontkit zip file. Upload the font zip file."}],S=function(e){var t=e.closeModal,r=e.title,l=(0,s.$)(),c=(0,f.useRef)(null),u=(0,v.s0)(),h=(0,i.p)().showToast,m=(0,p.M9)(),O=function(){var e=E(w().mark((function e(r){return w().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,m.mutateAsync({font:r[0]});case 3:t(),u(a.F.FontManager.buildLink()),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),h({type:"danger",message:e.t0.message});case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(t){return e.apply(this,arguments)}}();return(0,y.tZ)(b.Z,{onClose:function(){return t({action:"CLOSE"})},title:r,wrapperCss:C.modalWrapperCss,contentCss:C.contentCss,children:(0,y.BX)("div",{css:C.wrapper,children:[(0,y.BX)("div",{css:C.leftSide,children:[(0,y.tZ)("div",{css:C.leftSideHeader,children:(0,y.BX)(n.Z,{buttonCss:C.uploadButton,onClick:function(){var e;null===(e=c.current)||void 0===e||e.click()},loading:m.isLoading,children:[(0,y.tZ)(o.Z,{name:"upload"}),(0,y.tZ)("span",{children:l("COM_SPPAGEBUILDER_EDITOR_UPLOAD_FONT_BUTTON")})]})}),(0,y.tZ)("div",{css:C.instructionWrapper,children:(0,y.tZ)("ol",{css:C.instructions,children:x.map((function(e,t){return(0,y.BX)("li",{children:[e.text,e.link&&(0,y.tZ)("a",{target:"_blank",href:e.link.url,rel:"noreferrer noopener",children:e.link.text})]},t)}))})})]}),(0,y.BX)("div",{css:C.dropzoneWrapper,children:[(0,y.tZ)(d.Z,{onUpload:O,onDragLeave:function(){},isLoading:m.isLoading,uploadButtonText:"COM_SPPAGEBUILDER_EDITOR_FONT_UPLOAD_BUTTON",uploadMessage:"COM_SPPAGEBUILDER_EDITOR_FONT_UPLOAD_MESSAGE"}),(0,y.tZ)("input",{type:"file",css:C.fileUploader,ref:c,onChange:function(){var e=E(w().mark((function e(t){return w().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.target.files){e.next=4;break}return e.next=3,O(function(e){if(Array.isArray(e))return g(e)}(r=t.target.files)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e,t){if(e){if("string"==typeof e)return g(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?g(e,t):void 0}}(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());case 3:t.target.value="";case 4:case"end":return e.stop()}var r}),e)})));return function(t){return e.apply(this,arguments)}}()})]})]})})},_=function(){var e=(0,h.d)().showModal;return function(t){return e({component:S,props:t})}},C={fileUploader:{name:"10d4pd6-fileUploader",styles:"appearance:none;visibility:hidden;label:fileUploader;"},instructionWrapper:{name:"xw8qju-instructionWrapper",styles:"height:calc(100% - 64px);overflow-y:auto;label:instructionWrapper;"},modalWrapperCss:{name:"w84rft-modalWrapperCss",styles:"max-width:1394px;label:modalWrapperCss;"},contentCss:{name:"thdkuv-contentCss",styles:"height:min(70vh, 700px);display:flex;label:contentCss;"},wrapper:(0,u.iv)("padding:",l.W0[32]," ",l.W0[24],";display:flex;gap:",l.W0[32],";width:100%;;label:wrapper;"),leftSide:(0,u.iv)("max-width:317px;width:100%;background-color:",l.qo.background.white,";box-shadow:",l.AF.card,";border-radius:",l.E0[5],";;label:leftSide;"),instructions:(0,u.iv)("display:flex;flex-direction:column;gap:",l.W0[16],";list-style-type:decimal;padding:",l.W0[16]," ",l.W0[16]," ",l.W0[16]," ",l.W0[32],";li{",c.c.caption(),";color:",l.qo.text.neutral,";a{color:",l.qo.text.primary,";margin-left:",l.W0[4],";text-decoration:underline;margin-top:",l.W0[4],";}};label:instructions;"),leftSideHeader:(0,u.iv)("padding:",l.W0[16],";border-bottom:1px solid ",l.qo.stroke.neutral,";;label:leftSideHeader;"),dropzoneWrapper:{name:"1y4s0sh-dropzoneWrapper",styles:"width:100%;label:dropzoneWrapper;"},uploadButton:(0,u.iv)("width:100%;&>span{display:flex;gap:",l.W0[8],";align-items:center;justify-content:center;};label:uploadButton;")}},1309:(e,t,r)=>{"use strict";r.d(t,{Z:()=>oe});var n=r(3871),o=r(9085),i=r(935),a=r(7264),l=r(8122),c=r(5350),u=r(824),s=r(4185),d=r(917),p=r(36),f=r(802),v=r(1234),h=r(9194),b=r(1921),y=r(7294),m=r(7536),g=r(4924),w=r(3169),O=r(1731),E=r(3772),x=r(230),S=r(4101),_=r(5944);function C(e){return C="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},C(e)}function I(){I=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,o){var i=t&&t.prototype instanceof p?t:p,a=Object.create(i.prototype),l=new _(o||[]);return n(a,"_invoke",{value:O(e,r,l)}),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var d={};function p(){}function f(){}function v(){}var h={};c(h,i,(function(){return this}));var b=Object.getPrototypeOf,y=b&&b(b(A([])));y&&y!==t&&r.call(y,i)&&(h=y);var m=v.prototype=p.prototype=Object.create(h);function g(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function o(n,i,a,l){var c=s(e[n],e,i);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==C(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){o("next",e,a,l)}),(function(e){o("throw",e,a,l)})):t.resolve(d).then((function(e){u.value=e,a(u)}),(function(e){return o("throw",e,a,l)}))}l(c.arg)}var i;n(this,"_invoke",{value:function(e,r){function n(){return new t((function(t,n){o(e,r,t,n)}))}return i=i?i.then(n,n):n()}})}function O(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var l=E(a,r);if(l){if(l===d)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=s(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===d)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function E(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,E(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),d;var o=s(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,d;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function A(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:P}}function P(){return{value:void 0,done:!0}}return f.prototype=v,n(m,"constructor",{value:v,configurable:!0}),n(v,"constructor",{value:f,configurable:!0}),f.displayName=c(v,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,c(e,l,"GeneratorFunction")),e.prototype=Object.create(m),e},e.awrap=function(e){return{__await:e}},g(w.prototype),c(w.prototype,a,(function(){return this})),e.AsyncIterator=w,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new w(u(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},g(m),c(m,l,"Generator"),c(m,i,(function(){return this})),c(m,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=A,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(l&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:A(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},e}function A(e,t,r,n,o,i,a){try{var l=e[i](a),c=l.value}catch(e){return void r(e)}l.done?t(c):Promise.resolve(c).then(n,o)}function P(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){A(i,n,o,a,l,"next",e)}function l(e){A(i,n,o,a,l,"throw",e)}a(void 0)}))}}const L=function(e){var t=e.layout,r=e.templateName,o=e.closeModal,i=(0,v.$)(),a=(0,O.p)().showToast,l=(0,E.o)((function(e){return e.setPageContent})),c=(0,h.i8)();return(0,_.tZ)("div",{css:T.wrapper,children:(0,_.BX)("div",{css:T.layoutItem({isFreeVersion:x.Eu}),children:[(0,_.tZ)(w.Z,{enabled:x.Eu,children:(0,_.BX)("div",{css:T.layoutMedia({isFreeVersion:x.Eu}),children:[(0,_.tZ)("img",{src:t.thumb,alt:t.title,"data-media-image":!0}),x.Eu&&(0,_.tZ)(g.Z,{}),!x.Eu&&(0,_.BX)("div",{css:T.mediaOverlay,"data-media-overlay":!0,children:[(0,_.tZ)(n.Z,{variant:"secondary",onClick:function(){var e;return null===(e=window.open(t.preview,"_blank","noopener,noreferrer"))||void 0===e?void 0:e.focus()},children:i("COM_SPPAGEBUILDER_EDITOR_LAYOUT_MODAL_LIVE_DEMO")}),(0,_.tZ)(n.Z,{variant:"primary",loading:c.isLoading,onClick:P(I().mark((function e(){var r;return I().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,c.mutateAsync(t.id);case 2:r=e.sent,l(r.data.template,!0),a({type:"success",message:i("COM_SPPAGEBUILDER_EDITOR_LAYOUT_PAGE_IMPORTED_SUCCESSFULLY")}),o({action:"IMPORT"});case 6:case"end":return e.stop()}}),e)}))),children:i("COM_SPPAGEBUILDER_EDITOR_LAYOUT_MODAL_IMPORT")})]})]})}),(0,_.BX)("div",{css:T.layoutFooter,children:[t.title," (",r,")"]})]})})};var D={name:"9xk68e-layoutMedia",styles:"position:relative;label:layoutMedia;"},j={name:"bf5j38-layoutItem",styles:"&:hover [data-media-image]{filter:blur(3px);};label:layoutItem;"},T={wrapper:(0,d.iv)(b.iZ.resetButton,";height:288px;;label:wrapper;"),layoutItem:function(e){var t=e.isFreeVersion,r=void 0!==t&&t;return(0,d.iv)("box-shadow:",u.AF.addon,";border-radius:",u.E0[5],";overflow:hidden;transition:box-shadow 0.3s ease;height:100%;display:flex;flex-direction:column;background-color:",u.qo.background.white,";&:hover [data-media-overlay]{opacity:1;}",!r&&j,";;label:layoutItem;")},layoutMedia:function(e){var t=e.isFreeVersion,r=void 0!==t&&t;return(0,d.iv)("max-height:244px;overflow:hidden;flex:1;",!r&&D," img{width:100%;transition:filter 0.3s ease-in-out;};label:layoutMedia;")},mediaOverlay:(0,d.iv)("position:absolute;inset:0;background-color:",(0,S.m4)(u.qo.base.black,.7),";display:flex;flex-direction:column;align-items:center;justify-content:center;gap:",u.W0[8],";opacity:0;transition:opacity 0.3s ease-in-out;button{min-width:100px;:last-of-type{color:",u.qo.text.white,";}span{justify-content:center;}};label:mediaOverlay;"),layoutFooter:(0,d.iv)(s.c.body("medium")," background-color:",u.qo.background.white,";border-radius:0 0 ",u.E0[5]," ",u.E0[5],";padding:",u.W0[12]," ",u.W0[16],";border-top:1px solid ",u.qo.stroke.neutral,";transition:background-color 0.3s ease;;label:layoutFooter;")};const Z=function(e){var t=e.template,r=e.setActiveTemplate,o=(0,v.$)();return(0,_.tZ)("div",{children:(0,_.BX)("div",{css:B.templateItem(t.accent_color),children:[(0,_.BX)("div",{css:B.templateMedia,children:[(0,_.tZ)("img",{src:t.thumb,alt:t.title,"data-media-image":!0}),(0,_.tZ)("div",{css:B.mediaOverlay({color:t.accent_color}),"data-media-overlay":!0,children:(0,_.tZ)(n.Z,{onClick:function(){return r(t)},children:o("COM_SPPAGEBUILDER_EDITOR_LAYOUT_MODAL_VIEW_DETAILS")})}),x.Eu&&(0,_.tZ)(g.Z,{})]}),(0,_.BX)("div",{css:B.templateFooter,children:[(0,_.BX)("div",{css:B.footerTop,children:[(0,_.tZ)("div",{css:s.c.body("medium"),children:t.title}),(0,_.tZ)("div",{css:B.caption,children:o("COM_SPPAGEBUILDER_EDITOR_LAYOUT_MODAL_PAGES",{count:t.count})})]}),(0,_.tZ)("div",{css:B.caption,children:o("COM_SPPAGEBUILDER_EDITOR_LAYOUT_MODAL_DOWNLOADS",{count:t.hits})})]})]})})};var B={templateItem:function(e){return(0,d.iv)("position:relative;margin-top:",u.W0[12],";box-shadow:",u.AF.addon,";border-radius:",u.E0[5],";&::before{content:'';position:absolute;width:calc(100% - 20px);height:6px;top:-6px;left:10px;background-color:rgba(",e.length>0?e:"0, 0, 0",", 0.7);border-radius:",u.E0[5]," ",u.E0[5]," 0 0;}&::after{content:'';position:absolute;width:calc(100% - 40px);height:6px;top:-12px;left:20px;background-color:rgba(",e.length>0?e:"0, 0, 0",", 0.3);border-radius:",u.E0[5]," ",u.E0[5]," 0 0;}&:hover [data-media-overlay]{opacity:1;}&:hover [data-media-image]{filter:blur(3px);};label:templateItem;")},templateMedia:(0,d.iv)("height:244px;border-radius:",u.E0[5]," ",u.E0[5]," 0 0;overflow:hidden;position:relative;img{width:100%;transition:filter 0.3s ease-in-out;};label:templateMedia;"),mediaOverlay:function(e){var t=e.color;return(0,d.iv)("position:absolute;width:100%;height:100%;top:0;left:0;background-color:rgba(",t.length>0?t:"0, 0, 0",", 0.7);display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity 0.3s ease-in-out;;label:mediaOverlay;")},templateFooter:(0,d.iv)("background-color:",u.qo.background.white,";border-radius:0 0 ",u.E0[5]," ",u.E0[5],";padding:",u.W0[12]," ",u.W0[16],";border-top:1px solid ",u.qo.stroke.neutral,";;label:templateFooter;"),footerTop:(0,d.iv)("display:flex;justify-content:space-between;align-items:center;gap:",u.W0[4],";margin-bottom:",u.W0[4],";;label:footerTop;"),caption:(0,d.iv)(s.c.caption()," color:",u.qo.text.neutral,";white-space:nowrap;;label:caption;")},M=r(9787);const k=function(e){var t=e.layout,r=e.isActive,n=e.setActiveLayout;return(0,_.tZ)("button",{css:R.wrapper,onClick:function(){return n(t)},children:(0,_.BX)("div",{css:R.layoutItem({isActive:r}),children:[(0,_.tZ)("div",{css:R.layoutMedia,children:(0,_.tZ)("img",{src:t.thumb,alt:t.title})}),(0,_.tZ)("div",{css:R.layoutFooter({isActive:r}),children:t.title})]})})};var R={wrapper:(0,d.iv)(b.iZ.resetButton,";height:288px;;label:wrapper;"),layoutItem:function(e){var t=e.isActive;return(0,d.iv)("position:relative;box-shadow:",u.AF.addon,";border-radius:",u.E0[5],";overflow:hidden;transition:box-shadow 0.3s ease;height:100%;display:flex;flex-direction:column;background-color:",u.qo.background.white,";",t&&(0,d.iv)("box-shadow:0px 0px 0px 2px ",u.qo.base.primary,";;label:layoutItem;")," &:hover img{top:-60px;}",!t&&(0,d.iv)("&:hover{box-shadow:0px 0px 0px 1px ",u.qo.base.primary,";>:last-of-type{background-color:",u.qo.background.hover,";}};label:layoutItem;"),";;label:layoutItem;")},layoutMedia:{name:"cypg2z-layoutMedia",styles:"max-height:244px;overflow:hidden;flex:1;img{width:100%;position:relative;top:0;transition:top 1s ease-in;};label:layoutMedia;"},layoutFooter:function(e){var t=e.isActive;return(0,d.iv)(s.c.body("medium")," background-color:",u.qo.background.white,";border-radius:0 0 ",u.E0[5]," ",u.E0[5],";padding:",u.W0[12]," ",u.W0[16],";border-top:1px solid ",u.qo.stroke.neutral,";transition:background-color 0.3s ease;",t&&(0,d.iv)("background-color:",u.qo.background.active,";;label:layoutFooter;"),";;label:layoutFooter;")}};function W(e){return W="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},W(e)}function N(){N=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,o){var i=t&&t.prototype instanceof p?t:p,a=Object.create(i.prototype),l=new _(o||[]);return n(a,"_invoke",{value:O(e,r,l)}),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var d={};function p(){}function f(){}function v(){}var h={};c(h,i,(function(){return this}));var b=Object.getPrototypeOf,y=b&&b(b(C([])));y&&y!==t&&r.call(y,i)&&(h=y);var m=v.prototype=p.prototype=Object.create(h);function g(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function o(n,i,a,l){var c=s(e[n],e,i);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==W(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){o("next",e,a,l)}),(function(e){o("throw",e,a,l)})):t.resolve(d).then((function(e){u.value=e,a(u)}),(function(e){return o("throw",e,a,l)}))}l(c.arg)}var i;n(this,"_invoke",{value:function(e,r){function n(){return new t((function(t,n){o(e,r,t,n)}))}return i=i?i.then(n,n):n()}})}function O(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var l=E(a,r);if(l){if(l===d)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=s(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===d)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function E(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,E(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),d;var o=s(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,d;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function C(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:I}}function I(){return{value:void 0,done:!0}}return f.prototype=v,n(m,"constructor",{value:v,configurable:!0}),n(v,"constructor",{value:f,configurable:!0}),f.displayName=c(v,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,c(e,l,"GeneratorFunction")),e.prototype=Object.create(m),e},e.awrap=function(e){return{__await:e}},g(w.prototype),c(w.prototype,a,(function(){return this})),e.AsyncIterator=w,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new w(u(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},g(m),c(m,l,"Generator"),c(m,i,(function(){return this})),c(m,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=C,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(l&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:C(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},e}function G(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function F(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?G(Object(r),!0).forEach((function(t){U(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):G(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function U(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==W(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==W(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===W(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function H(e,t,r,n,o,i,a){try{var l=e[i](a),c=l.value}catch(e){return void r(e)}l.done?t(c):Promise.resolve(c).then(n,o)}function q(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){H(i,n,o,a,l,"next",e)}function l(e){H(i,n,o,a,l,"throw",e)}a(void 0)}))}}function z(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const V=function(e){var t,r,o=e.template,i=e.closeModal,a=(0,v.$)(),l=(t=(0,y.useState)(o.layouts[0]),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,r)||function(e,t){if(e){if("string"==typeof e)return z(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?z(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),c=l[0],u=l[1],d=(0,E.o)((function(e){return e.setPageContent})),p=(0,O.p)().showToast,f=(0,m.Gc)(),b=(0,h.i8)();return(0,_.BX)("div",{css:$.detailsWrapper,children:[(0,_.tZ)("div",{children:(0,_.tZ)("div",{css:$.detailsThumb,children:(0,_.tZ)("img",{src:c.thumb,alt:c.title})})}),(0,_.BX)("div",{children:[(0,_.BX)("h4",{css:$.detailsTitle,children:[o.title,(0,_.BX)("span",{children:[a("COM_SPPAGEBUILDER_EDITOR_LAYOUT_MODAL_LAYOUT_COUNT",{count:o.count})," ",(0,_.tZ)("span",{children:x.Eu&&(0,_.tZ)(g.Z,{isInline:!0})})]})]}),(0,_.tZ)("p",{css:s.c.body(),children:o.description}),(0,_.tZ)("div",{css:$.detailLayouts,children:o.layouts.map((function(e){return(0,_.tZ)(k,{isActive:e.id===c.id,layout:e,setActiveLayout:u},e.id)}))})]}),(0,_.BX)("div",{css:$.detailsFooter,children:[(0,_.tZ)(n.Z,{variant:"secondary",onClick:function(){var e;return null===(e=window.open(c.preview,"_blank","noopener,noreferrer"))||void 0===e?void 0:e.focus()},children:a("COM_SPPAGEBUILDER_EDITOR_LAYOUT_MODAL_LIVE_DEMO")}),x.Eu?(0,_.tZ)(M.Z,{}):(0,_.tZ)(n.Z,{variant:"primary",loading:b.isLoading,onClick:q(N().mark((function e(){var t;return N().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b.mutateAsync(c.id);case 2:t=e.sent,d(t.data.template,!0),f.reset(F(F({},f.getValues()),{},{css:t.data.css})),p({type:"success",message:a("COM_SPPAGEBUILDER_EDITOR_LAYOUT_PAGE_IMPORTED_SUCCESSFULLY")}),i({action:"IMPORT"});case 7:case"end":return e.stop()}}),e)}))),disabled:x.Eu,children:a("COM_SPPAGEBUILDER_EDITOR_LAYOUT_MODAL_IMPORT")})]})]})};var $={detailsWrapper:(0,d.iv)("display:grid;grid-template-columns:2fr 3fr;gap:",u.W0[56],";padding-bottom:",u.W0[56],";padding-right:",u.W0[24],";max-height:calc(100vh - 260px);",b.iZ.overflowYAuto,";;label:detailsWrapper;"),detailsThumb:(0,d.iv)("box-shadow:",u.AF.base,";border-radius:",u.E0[5],";overflow:hidden;margin-bottom:",u.W0[32],";img{width:100%;};label:detailsThumb;"),detailsFooter:(0,d.iv)("position:absolute;left:0;bottom:0;width:100%;background-color:",u.qo.background.white,";display:flex;justify-content:end;align-items:center;gap:",u.W0[8],";padding:",u.W0[12],";border-top:1px solid ",u.qo.stroke.default,";;label:detailsFooter;"),detailsTitle:(0,d.iv)(s.c.heading4(),";display:flex;align-items:center;justify-content:space-between;margin-bottom:",u.W0[12],";>span{",s.c.body(),";color:",u.qo.text.neutral,";display:flex;justify-content:center;align-items:center;gap:",u.W0[6],";};label:detailsTitle;"),detailLayouts:(0,d.iv)("display:grid;grid-template-columns:repeat(3, 1fr);align-items:start;gap:",u.W0[32],";padding:",u.W0[40]," 0 ",u.W0[32],";;label:detailLayouts;")},K=r(9781);function X(e){return X="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},X(e)}function Y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Q(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Y(Object(r),!0).forEach((function(t){J(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function J(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==X(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==X(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===X(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ee(e){return function(e){if(Array.isArray(e))return ne(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||re(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function te(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||re(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function re(e,t){if(e){if("string"==typeof e)return ne(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ne(e,t):void 0}}function ne(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const oe=function(e){var t=e.closeModal,r=e.title,u=e.form,d=(0,v.$)(),b=te((0,y.useState)(null),2),g=b[0],w=b[1],O=te((0,y.useState)([]),2),E=O[0],x=O[1],S=(0,h.nx)(),C=(0,f.O)({defaultValues:{search:"",page:"",sortBy:""}}),I=(0,p.N)(C.watch("search")),A=C.watch("page"),P=C.watch("sortBy"),D=[{label:d("COM_SPPAGEBUILDER_EDITOR_LAYOUT_MODAL_TITLE_ASC"),value:"asc"},{label:d("COM_SPPAGEBUILDER_EDITOR_LAYOUT_MODAL_TITLE_DESC"),value:"desc"},{label:d("COM_SPPAGEBUILDER_EDITOR_LAYOUT_MODAL_POPULAR_FIRST"),value:"popular-first"}];if(S.isLoading)return(0,_.tZ)(i.g4,{});if(!S.data)return(0,_.tZ)("div",{children:d("COM_SPPAGEBUILDER_EDITOR_GLOBAL_SOMETHING_WENT_WRONG")});var j=function(e,t){return"asc"===P?e.title>t.title?1:-1:"desc"===P?t.title>e.title?1:-1:"popular-first"===P&&e.hits?Number(t.hits)-Number(e.hits):0};return(0,_.tZ)(K.Z,{onClose:function(){return t({action:"CLOSE"})},title:r,children:(0,_.tZ)(m.RV,Q(Q({},u),{},{children:(0,_.tZ)("div",{css:ie.wrapper(!!g),children:g?(0,_.BX)(_.HY,{children:[(0,_.BX)(n.Z,{variant:"text",onClick:function(){return w(null)},buttonCss:ie.backToLayout,children:[(0,_.tZ)(a.Z,{name:"angleLeft"}),d("COM_SPPAGEBUILDER_EDITOR_LAYOUT_MODAL_BACK_TO_LAYOUT")]}),(0,_.tZ)(V,{template:g,closeModal:t})]}):(0,_.BX)(_.HY,{children:[(0,_.tZ)("div",{children:(0,_.BX)("div",{css:ie.categoriesWrapper,children:[(0,_.tZ)("div",{css:ie.categoryLabel,children:d("COM_SPPAGEBUILDER_EDITOR_LAYOUT_MODAL_CATEGORIES")}),(0,_.tZ)("div",{css:ie.categoryItems,children:S.data.layouts.map((function(e){return(0,_.BX)("div",{css:ie.categoryItem,children:[(0,_.tZ)(o.Z,{label:e.title,labelCss:s.c.body(),checked:E.includes(e.alias),onChange:function(t){x(t?[].concat(ee(E),[e.alias]):E.filter((function(t){return t!==e.alias})))}}),(0,_.tZ)("span",{children:e.count})]},e.id)}))})]})}),(0,_.BX)("div",{children:[(0,_.BX)("div",{css:ie.topBar,children:[(0,_.tZ)(m.Qr,{control:C.control,name:"search",render:function(e){return(0,_.tZ)(c.Z,Q(Q({},e),{},{variant:"search",placeholder:d("COM_SPPAGEBUILDER_EDITOR_LAYOUT_MODAL_SEARCH_LAYOUTS"),isClearable:!0}))}}),(0,_.BX)("div",{css:ie.topBarRight,children:[(0,_.tZ)(m.Qr,{control:C.control,name:"page",render:function(e){return(0,_.tZ)(l.Z,Q(Q({},e),{},{options:S.data.pages,placeholder:d("COM_SPPAGEBUILDER_EDITOR_LAYOUT_MODAL_PAGE")}))}}),(0,_.tZ)(m.Qr,{control:C.control,name:"sortBy",render:function(e){return(0,_.tZ)(l.Z,Q(Q({},e),{},{options:D,placeholder:d("COM_SPPAGEBUILDER_EDITOR_LAYOUT_MODAL_SORT_BY")}))}}),(0,_.tZ)(n.Z,{variant:"text",onClick:function(){return C.reset()},children:d("COM_SPPAGEBUILDER_EDITOR_LAYOUT_MODAL_RESET")})]})]}),(0,_.tZ)("div",{css:ie.layoutsWrapper,children:S.data.layouts.map((function(e){return E.length<1||E.includes(e.alias)?function(e){var r=e.templates,n=new RegExp(I);return I&&I.length&&(r=e.templates.filter((function(e){return n.test(e.alias)}))),ee(r).sort(j).map((function(e){return A?e.layouts.map((function(r){if(r.title.toLocaleLowerCase()===A.toLocaleLowerCase())return(0,_.tZ)(L,{layout:r,templateName:e.title,closeModal:t},r.id)})):(0,_.tZ)(Z,{template:e,setActiveTemplate:w},e.id)}))}(e):void 0}))})]})]})})}))})};var ie={wrapper:function(e){return(0,d.iv)("padding:",u.W0[24]," 0 ",u.W0[24]," ",u.W0[24],";position:relative;height:calc(100vh - 130px);",!e&&(0,d.iv)("padding:",u.W0[32]," 0 ",u.W0[32]," ",u.W0[24],";display:grid;grid-template-columns:228px auto;gap:",u.W0[32],";;label:wrapper;"),";;label:wrapper;")},backToLayout:(0,d.iv)("margin-bottom:",u.W0[16],";padding:0;;label:backToLayout;"),categoriesWrapper:(0,d.iv)("background-color:",u.qo.background.white,";border-radius:",u.E0[5],";box-shadow:",u.AF.card,";;label:categoriesWrapper;"),categoryLabel:(0,d.iv)(s.c.body("medium"),";padding:",u.W0[12]," ",u.W0[16]," 0;;label:categoryLabel;"),categoryItems:(0,d.iv)("display:flex;flex-direction:column;gap:",u.W0[16],";padding:",u.W0[16],";;label:categoryItems;"),categoryItem:(0,d.iv)("display:flex;justify-content:space-between;align-items:center;span{",s.c.body(),";color:",u.qo.text.neutral,";};label:categoryItem;"),topBar:(0,d.iv)("display:flex;align-items:center;justify-content:space-between;gap:",u.W0[16],";padding-right:",u.W0[32],";margin-bottom:",u.W0[28],";;label:topBar;"),topBarRight:(0,d.iv)("display:flex;align-items:center;border:1px solid ",u.qo.stroke.neutral,";border-radius:",u.E0[5],";overflow:hidden;input{border:none;border-right:1px solid ",u.qo.stroke.neutral,";border-radius:0;&:focus{box-shadow:none;}};label:topBarRight;"),layoutsWrapper:(0,d.iv)("display:grid;grid-template-columns:repeat(4, 1fr);gap:",u.W0[32],";padding:",u.W0[4]," ",u.W0[24]," ",u.W0[2]," ",u.W0[2],";max-height:calc(100vh - 260px);",b.iZ.overflowYAuto,";",u.Uo.smallTablet,"{grid-template-columns:repeat(3, 1fr);};label:layoutsWrapper;")}},1709:(e,t,r)=>{"use strict";r.d(t,{D:()=>w,d:()=>g});var n=r(824),o=r(917),i=r(230),a=r(2902),l=r(4101),c=r(7294),u=r(5944);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function d(e){return function(e){if(Array.isArray(e))return b(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||h(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){v(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function v(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==s(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===s(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e,t){if(e){if("string"==typeof e)return b(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?b(e,t):void 0}}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var y={backdrop:(0,o.iv)("position:fixed;background-color:",(0,l.m4)(n.qo.text.hover,.8),";border:1px solid rgba(255, 255, 255, 0.5);backdrop-filter:blur(18px);inset:0;z-index:",n.W5.negative,";;label:backdrop;"),container:(0,o.iv)("z-index:",n.W5.modal,";position:fixed;inset:0;display:flex;justify-content:center;align-items:center;;label:container;"),wrapper:{name:"xkv8rl-wrapper",styles:"display:flex;justify-content:center;align-items:center;width:100%;height:100%;label:wrapper;"}},m=c.createContext({showModal:function(){return Promise.resolve({action:"CLOSE"})},closeModal:i.ZT,hasModalOnStack:!1}),g=function(){return(0,c.useContext)(m)},w=function(e){var t,r,n=e.children,o=(t=(0,c.useState)({modals:[]}),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,r)||h(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),l=o[0],s=o[1],p=function(e){"Escape"===e.key&&b({action:"CLOSE"})},v=(0,c.useCallback)((function(e){var t=e.component,r=e.props,n=e.closeOnOutsideClick,o=void 0!==n&&n;return document.addEventListener("keydown",p,!1),new Promise((function(e){s((function(n){return f(f({},n),{},{modals:[].concat(d(n.modals),[{component:t,props:r,resolve:e,closeOnOutsideClick:o,id:(0,i.x0)()}])})}))}))}),[]),b=(0,c.useCallback)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{action:"CLOSE"};s((function(t){return(0,a.Uy)(t,(function(t){var r=t.modals.pop();return null==r||r.resolve(e),0===t.modals.length&&document.removeEventListener("keydown",p,!1),t}))}))}),[]),g=(0,c.useMemo)((function(){return l.modals.length>0}),[l.modals]);return(0,u.BX)(m.Provider,{value:{showModal:v,closeModal:b,hasModalOnStack:g},children:[n,l.modals.map((function(e){return(0,u.BX)("div",{css:y.container,children:[(0,u.tZ)("div",{css:y.wrapper,children:c.createElement(e.component,f(f({},e.props),{},{closeModal:b}))}),(0,u.tZ)("div",{css:y.backdrop,onClick:function(){e.closeOnOutsideClick&&b({action:"CLOSE"})}})]},e.id)}))]})}},9781:(e,t,r)=>{"use strict";r.d(t,{Z:()=>d});var n=r(3871),o=r(7264),i=r(824),a=r(4185),l=r(917),c=r(1921),u=r(7294),s=r(5944);const d=function(e){var t=e.children,r=e.onClose,i=e.title,l=e.isOverflowYAuto,c=void 0===l||l,d=e.wrapperCss,f=e.headerCss,v=e.contentCss;return(0,u.useEffect)((function(){return document.body.style.overflow="hidden",function(){document.body.style.overflow="initial"}}),[]),(0,s.BX)("div",{css:[p.container,d,";label:ModalWrapper;"],children:[(0,s.BX)("div",{css:[p.header,f,";label:ModalWrapper;"],children:[i&&(0,s.tZ)("h5",{css:a.c.heading5("medium"),children:i}),(0,s.tZ)(n.Z,{variant:"text",buttonCss:p.closeButton,onClick:r,children:(0,s.tZ)(o.Z,{name:"times",width:14,height:14})})]}),(0,s.tZ)("div",{css:[p.content({isOverflowYAuto:c}),v,";label:ModalWrapper;"],children:t})]})};var p={container:(0,l.iv)("background:",i.qo.background.primary,";margin:",i.W0[24],";width:100%;max-width:1350px;box-shadow:",i.AF.modal,";border-radius:",i.E0[8],";overflow:hidden;",i.Uo.smallTablet,"{max-width:90%;};label:container;"),header:(0,l.iv)("display:flex;justify-content:space-between;align-items:center;padding:",i.W0[12]," ",i.W0[16]," ",i.W0[12]," ",i.W0[24],";width:100%;background-color:",i.qo.background.white,";border-bottom:1px solid ",i.qo.stroke.neutral,";;label:header;"),closeButton:(0,l.iv)(c.iZ.resetButton,";display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;svg{color:",i.qo.icon.default,";transition:color 0.3s ease-in-out;}:hover{svg{color:",i.qo.icon.hover,";}};label:closeButton;"),content:function(e){var t=e.isOverflowYAuto,r=void 0===t||t;return(0,l.iv)("overflow:hidden;max-height:calc(100vh - 120px);",r&&(0,l.iv)(c.iZ.overflowYAuto,";;label:content;"),";;label:content;")}}},1974:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(230);const o={API_BASE_URL:"".concat(n.Xy.pagebuilderBase,"administrator/index.php?option=com_sppagebuilder&task="),APPLICATION_ROOT:n.Xy.pagebuilderBase}},3106:(e,t,r)=>{"use strict";var n,o;function i(e){return i="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},i(e)}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==i(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===i(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,{Ak:()=>m,Dw:()=>I,Eb:()=>L,Hy:()=>p,IR:()=>T,LP:()=>j,Lx:()=>_,P8:()=>c,Q9:()=>f,RI:()=>b,XA:()=>P,ZR:()=>O,Zs:()=>s,_y:()=>C,a7:()=>g,aX:()=>h,dR:()=>E,g3:()=>l,hF:()=>w,iq:()=>u,lk:()=>v,lr:()=>D,pb:()=>y,sD:()=>x,sF:()=>S,t:()=>A,zu:()=>d});var l=48,c=326,u=80,s=320,d="xl",p=10,f=20,v=6,h=["hidden","text","gmap","select","category","accesslevel","animation","alert","alignment","headings","link","color","advancedcolor","textarea","separator","header","number","module","checkbox","radio","advancedradio","icon","editor","media","padding","margin","builder","boxshadow","slider","advancedslider","fontstyle","fonts","advancedsettings","typography","codeeditor","gradient","buttons","thumbnail","timeline","repeatable","frontend_navigator","banner"],b={accordion:{title:"Accordion",name:"accordion",key:"sp_accordion_item",text:"Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et."},tab:{title:"Tab",name:"tab",key:"sp_tab_item",text:"Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et."}},y={name:"table_advanced",bodyItemsKey:"table_advanced_item",headerItemsKey:"sp_table_advanced_item"},m={xl:{name:"COM_SPPAGEBUILDER_EDITOR_DEVICE_LAPTOP",icon:"laptop"},lg:{name:"COM_SPPAGEBUILDER_EDITOR_DEVICE_TABLET_LANDSCAPE",icon:"tabletHorizontal"},md:{name:"COM_SPPAGEBUILDER_EDITOR_DEVICE_TABLET_PORTRAIT",icon:"tabletVertical"},sm:{name:"COM_SPPAGEBUILDER_EDITOR_DEVICE_MOBILE_LANDSCAPE",icon:"mobileHorizontal"},xs:{name:"COM_SPPAGEBUILDER_EDITOR_DEVICE_MOBILE_PORTRAIT",icon:"mobileVertical"}},g={min:0,max:100},w={solid:"#B3B6CB",linear:"linear-gradient(131.63deg, #B5B5B5 11.15%, #F2F2F2 58.82%)",radial:"radial-gradient(41.67% 41.67% at 50% 50%, #4D5387 0%, rgba(115, 119, 155, 0) 100%)"},O=230,E=function(e){return e.COPIED_ADDON_LOCAL_STORAGE_KEY="sppb-backend-addon",e.COPIED_SECTION_LOCAL_STORAGE_KEY="sppb-backend-section",e.TABLE_COLUMNS_LOCAL_STORAGE_KEY="sppb-backend-table-columns",e}({}),x="https://www.joomshaper.com/documentation/sp-page-builder",S={fade:{fadeIn:"Fade",fadeInDown:"Down",fadeInDownBig:"Down Big",fadeInLeft:"Left",fadeInLeftBig:"Left Big",fadeInRight:"Right",fadeInRightBig:"Right Big",fadeInUp:"Up",fadeInUpBig:"UpBig"},flip:{flip:"Flip",flipInX:"Flip X",flipInY:"Flip Y"},rotate:{rotateIn:"Rotate",rotateInDownLeft:"Down Left",rotateInDownRight:"Down Right",rotateInUpLeft:"Up Left",rotateInUpRight:"Up Right"},zoom:{zoomIn:"Zoom",zoomInDown:"Down",zoomInLeft:"Left",zoomInRight:"Right",zoomInUp:"Up"},bounce:{bounceIn:"Bounce",bounceInDown:"Down",bounceInLeft:"Left",bounceInRight:"Right",bounceInUp:"Up"},special:{flash:"Flash",pulse:"Pulse",rubberBand:"rubber Band",shakeX:"Shake X",shakeY:"Shake Y",headShake:"Head Shake",swing:"Swing",tada:"Tada",wobble:"Wobble",jello:"Jello",heartBeat:"Heart Beat"}},_=["System","Google Fonts","Arial","Tahoma","Verdana","Helvetica","Times New Roman","Trebuchet MS","Georgia"],C="https://www.joomshaper.com/pricing",I=function(e){return e.AddonElement="addon-element",e.DivElement="div-element",e.RowElement="row-element",e.ColumnsElement="columns-element",e.SavedAddonElement="saved-addon-element",e.SavedSectionElement="saved-section-element",e.BlockElement="block-element",e}({}),A=function(e){return e.Section="section",e.NestedRow="nestedRow",e.DeepAddonRow="deepAddonRow",e.Column="column",e.Addon="addon",e.Div="div",e.EmptyDivChild="empty-div-child",e.DeepAddon="deepAddon",e.TableItem="tableItem",e}({}),P="editor-empty-state",L="accepted-all",D="pages-list",j=(a(n={},A.Section,{accepted:[I.RowElement,I.SavedSectionElement,I.BlockElement],rejected:[]}),a(n,A.NestedRow,{accepted:[],rejected:[I.ColumnsElement]}),a(n,A.DeepAddonRow,{accepted:[],rejected:[]}),a(n,A.Column,a({accepted:[],rejected:[]},L,!0)),a(n,A.Addon,{accepted:[],rejected:[I.ColumnsElement]}),a(n,A.DeepAddon,{accepted:[],rejected:[I.ColumnsElement]}),a(n,A.Div,{accepted:[],rejected:[I.ColumnsElement]}),a(n,A.EmptyDivChild,{accepted:[I.AddonElement,I.DivElement,I.SavedAddonElement],rejected:[]}),a(n,A.TableItem,{accepted:[I.AddonElement],rejected:[]}),a(n,P,{accepted:[I.SavedSectionElement,I.BlockElement],rejected:[]}),n),T=(a(o={},A.Section,{accepted:[A.Section],rejected:[]}),a(o,A.NestedRow,{accepted:[A.Addon,A.Div,A.DeepAddon,A.NestedRow],rejected:[]}),a(o,A.DeepAddonRow,{accepted:[],rejected:[]}),a(o,A.Column,a({accepted:[],rejected:[]},L,!0)),a(o,A.Addon,{accepted:[A.Addon,A.Div,A.DeepAddon,A.NestedRow],rejected:[]}),a(o,A.Div,{accepted:[A.Addon,A.Div,A.DeepAddon,A.NestedRow],rejected:[]}),a(o,A.EmptyDivChild,{accepted:[A.Addon,A.Div,A.DeepAddon],rejected:[]}),a(o,A.DeepAddon,{accepted:[A.Addon,A.Div,A.DeepAddon,A.NestedRow],rejected:[]}),a(o,A.TableItem,{accepted:[],rejected:[]}),o)},6537:(e,t,r)=>{"use strict";r.d(t,{H:()=>n});var n={PAGES:"editor.pages",PAGE_CONTENT_BY_ID:"editor.pageContentById",ADDONS:"editor.addons",REGISTER_LANGUAGE_KEYS:"editor.registerLanguageKeys",APP_CONFIG:"editor.appConfig",SETTINGS:"editor.settings",ICONS:"editor.icons",FONTS:"editor.fonts",ALL_FONTS:"editor.allFonts",UPLOAD_FONT:"editor.uploadFont",MEDIA:"editor.media",MEDIA_FOLDERS:"editor.folders",SECTION_LIBRARY:"editor.sectionLibrary",MENU_BY_PAGE_ID:"editor.getMenuByPageId",MENU_LIST:"editor.getMenuList",MENU_PARENT_ITEMS:"editor.getParentItems",ADD_TO_MENU:"editor.addToMenu",LANGUAGE:"editor.language",PAGE_ORDERING:"editor.pageOrder",GET_ALL_ICONS:"editor.icons",DUPLICATE_PAGE:"editor.duplicate",EXPORT:"editor.export",PAGE_TEMPLATE_LIST:"editor.pageTemplateList",INTEGRATIONS:"editor.integrations",SAVED_ADDONS:"editor.savedAddons",SAVED_ADDONS_ORDERING:"editor.savedAddonsOrder",SAVED_SECTIONS:"editor.savedSection",SAVED_SECTIONS_ORDERING:"editor.savedSectionsOrder",LAYOUT_IMPORT:"editor.import",IMPORT_LAYOUT_FILE:"editor.importJson",APPLICATION_SETTINGS:"editor.applicationSettings",GLOBAL_COLORS:"editor.globalColors",PURGE_CSS:"editor.purgeCss",SAVE_IG_TOKEN:"editor.saveIgToken"}},8138:(e,t,r)=>{"use strict";r.d(t,{F:()=>o});var n=function(e){return{template:e,buildLink:function(t){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).reduce((function(e,r){return e.replace(":".concat(r),String(t[r]))}),e)}(e,t)}}},o={Home:n("/"),Addons:n("/addons"),CustomIcons:n("/custom-icons"),FontManager:n("/font-book"),InstalledFonts:n("/font-book/installed"),GoogleFonts:n("/font-book/google"),MediaManager:n("/media-manager"),Integrations:n("/integrations"),Languages:n("/languages"),Settings:n("/settings"),License:n("/settings/license"),ColorsLibrary:n("/settings/color-library"),PageList:n("/pages"),PageEditor:n("/editor/:id")}},824:(e,t,r)=>{"use strict";r.d(t,{AF:()=>u,E0:()=>s,I8:()=>n,JB:()=>i,Nv:()=>l,Ue:()=>a,Uo:()=>p,V4:()=>f,W0:()=>o,W5:()=>d,qo:()=>c});var n={sansSerif:"system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'"},o={0:"0",2:"2px",4:"4px",6:"6px",8:"8px",10:"10px",12:"12px",16:"16px",20:"20px",24:"24px",28:"28px",32:"32px",36:"36px",40:"40px",48:"48px",56:"56px",64:"64px",72:"72px",96:"96px",128:"128px",256:"256px",512:"512px"},i={10:"0.625rem",12:"0.75rem",14:"0.875rem",15:"0.0.938rem",16:"1rem",18:"1.125rem",20:"1.25rem",24:"1.5rem",28:"1.75rem",30:"1.875rem",32:"2rem",36:"2.25rem",40:"2.5rem",48:"3rem",56:"3.5rem",64:"4rem"},a={thin:100,extraLight:200,light:300,regular:400,medium:500,semiBold:600,bold:700,extraBold:800,black:900},l={12:"0.5rem",14:"0.75rem",15:"0.90rem",16:"1rem",18:"1.125rem",20:"1.25rem",24:"1.5rem",26:"1.625rem",28:"1.75rem",32:"2rem",36:"2.25rem",40:"2.5rem",44:"2.75rem",48:"3rem",56:"3.5rem",58:"3.625rem",64:"4rem"},c={base:{primary:"#3366FF",secondary:"#C9D8ED",white:"#FFFFFF",black:"#000000",surface:"#F0F4FA",error:"#F44337",warning:"#FFBF46",success:"#24A148",highlight:"#3E64DE"},text:{neutral:"#6B7699",default:"#484F66",hover:"#282D4F",hints:"#95979E",disabled:"#B7BAC7",white:"#FFFFFF",primary:"#3162F5",error:"#E62305",warning:"#D98A00",success:"#1F7041"},icon:{default:"#7784A8",hover:"#343D57",neutral:"#E4E5E7",hints:"#AEB1BD",disabled:"#C0C3CC",white:"#FFFFFF",primary:"#446EF5",error:"#EF2C09",warning:"#F2B300",success:"#1F9942"},action:{primary:{default:"#3366FF",hover:"#0544FF",focus:"#0F41D6",active:"#3366FF",disabled:"#F1F1F1"},secondary:{default:"#EBEDF5",hover:"#D6DFFA",focus:"#002EB8",active:"#D0D9F2",disabled:"#F1F1F1"},error:{default:"#F44337",hover:"#C2362D",focus:"#B9321A",active:"#D0635C",disabled:"#FBBEBA"},outline:{default:"#D2D4D8",hover:"#3366FF",focus:"#002EB8",active:"#3366FF",disabled:"#F1F1F1"}},stroke:{neutral:"#D3D7EB",default:"#CDCFD5",hover:"#A7B3D1",disabled:"#D0D1D6",white:"#FFFFFF",primary:"#3366FF",error:"#EF2C09",warning:"#F2B300",success:"#1F9942",danger:"#FDD9D7"},background:{white:"#FFFFFF",neutral:"#F6F6F7",hover:"#F0F4FA",active:"#E4EBF5",disabled:"#F4F6F9",primary:"#EEF4FD",error:"#FFF0F0",warning:"#FDF4E3",success:"#E5F5EB",lightOrange:"#FFE9D6",lightGreen:"#E1F7D5",saturatedLightRed:"#FFEBEB",lightRoyalBlue:"#DBE4FF",lightYellow:"#FFF4D6",lightViridian:"#D3F0E2",danger:"#FDD9D7",placeholder:"#4c9ffe",folder:"#cdf3ff",proLabel:"#e5803c",proBackground:"linear-gradient(88.9deg, #d65702 6.26%, #e5803c 91.4%)"},alternate:{addon:"#00B84A",div:"#A660FF",orange:"#EE8F41",lightOrange:"#F5A812",red:"#EE563D",tenderGreen:"#64A942",saturatedRed:"#FF0000",viridian:"#10773F",backdrop:"#060C33B2"}},u={button:"0px 1px 0.25px rgba(17, 18, 19, 0.08), inset 0px -1px 0.25px rgba(17, 18, 19, 0.24)",combinedButton:"0px 1px 0px rgba(0, 0, 0, 0.05), inset 0px -1px 0px #bcbfc3, inset 1px 0px 0px #bbbfc3, inset 0px 1px 0px #bbbfc3",combinedButtonExtend:"0px 1px 0px rgba(0, 0, 0, 0.05), inset 0px -1px 0px #bcbfc3, inset 1px 0px 0px #bbbfc3, inset 0px 1px 0px #bbbfc3, inset -1px 0px 0px #bbbfc3",insetButtonPressed:"inset 0px 2px 0px rgba(17, 18, 19, 0.08)",card:"0px 2px 3px rgba(17, 18, 19, 0.05), 0px 0px 1px rgba(17, 18, 19, 0.25)",popover:"0px 6px 22px rgba(17, 18, 19, 0.08), 0px 4px 10px rgba(17, 18, 19, 0.1)",modal:"0px 0px 2px rgba(17, 18, 19, 0.2), 0px 30px 72px rgba(17, 18, 19, 0.2)",base:"0px 1px 3px rgba(17, 18, 19, 0.15)",input:"0px 1px 0px rgba(17, 18, 19, 0.05)",switch:"inset -1px -1px 3px rgba(0, 0, 0, 0.1)",switchKnob:"-1px 1px 1px rgba(29, 31, 51, 0.1)",topbar:"0px 1px 2px rgba(0, 0, 0, 0.12)",tabs:"inset 0px -1px 0px #dbdcdf",dividerTop:"inset 0px 1px 0px #E4E5E7",underline:"0px 1px 0px #C9CBCF",addon:"0px 1px 2px rgba(2, 11, 83, 0.15)",addonHover:"0px 3px 6px rgba(2, 11, 83, 0.1)",dropzone:"6px 6px 8px rgba(17, 18, 19, 0.14)",icon:"0px 2px 3px rgba(17, 18, 19, 0.05), 0px 0px 1px rgba(17, 18, 19, 0.25)",outline:"0px 0px 0px 1px ".concat(c.base.white,", 0px 0px 0px 3px ").concat(c.base.primary),proButton:"0px 4px 8px rgba(213, 85, 0, 0.2)"},s={2:"2px",3:"3px",4:"4px",5:"5px",6:"6px",8:"8px",10:"10px",14:"14px",20:"20px",24:"24px",30:"30px",40:"40px",50:"50px",circle:"50%",button:"7.5px"},d={negative:-1,positive:1,dropdown:2,level:0,sidebar:9,header:10,modal:25,highest:9999999},p={smallMobile:"@media(max-width: ".concat(480,"px)"),mobile:"@media(max-width: ".concat(768,"px)"),smallTablet:"@media(max-width: ".concat(991,"px)"),tablet:"@media(max-width: ".concat(1279,"px)"),desktop:"@media(min-width: ".concat(1280,"px)")},f=1292},4185:(e,t,r)=>{"use strict";r.d(t,{c:()=>i});var n=r(824),o=r(917),i={heading1:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"regular";return(0,o.iv)("font-size:",n.JB[48],";line-height:",n.Nv[58],";color:",n.qo.text.default,";font-weight:",n.Ue[e],";font-family:",n.I8.sansSerif,";;label:heading1;")},heading2:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"regular";return(0,o.iv)("font-size:",n.JB[36],";line-height:",n.Nv[44],";color:",n.qo.text.default,";font-weight:",n.Ue[e],";font-family:",n.I8.sansSerif,";;label:heading2;")},heading3:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"regular";return(0,o.iv)("font-size:",n.JB[30],";line-height:",n.Nv[40],";color:",n.qo.text.default,";font-weight:",n.Ue[e],";font-family:",n.I8.sansSerif,";;label:heading3;")},heading4:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"regular";return(0,o.iv)("font-size:",n.JB[24],";line-height:",n.Nv[32],";color:",n.qo.text.default,";font-weight:",n.Ue[e],";font-family:",n.I8.sansSerif,";;label:heading4;")},heading5:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"regular";return(0,o.iv)("font-size:",n.JB[18],";line-height:",n.Nv[28],";color:",n.qo.text.default,";font-weight:",n.Ue[e],";font-family:",n.I8.sansSerif,";;label:heading5;")},heading6:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"regular";return(0,o.iv)("font-size:",n.JB[16],";line-height:",n.Nv[26],";color:",n.qo.text.default,";font-weight:",n.Ue[e],";font-family:",n.I8.sansSerif,";;label:heading6;")},body:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"regular";return(0,o.iv)("font-size:",n.JB[14],";line-height:",n.Nv[20],";color:",n.qo.text.default,";font-weight:",n.Ue[e],";font-family:",n.I8.sansSerif,";;label:body;")},caption:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"regular";return(0,o.iv)("font-size:",n.JB[12],";line-height:",n.Nv[16],";color:",n.qo.text.default,";font-weight:",n.Ue[e],";font-family:",n.I8.sansSerif,";;label:caption;")},tiny:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"regular";return(0,o.iv)("font-size:",n.JB[10],";line-height:",n.Nv[18],";color:",n.qo.text.default,";font-weight:",n.Ue[e],";font-family:",n.I8.sansSerif,";;label:tiny;")}}},7038:(e,t,r)=>{"use strict";r.d(t,{XJ:()=>v,_7:()=>f,ru:()=>p});var n=r(8144),o=r(3460),i=r(5944);function a(e){return a="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},a(e)}var l=["children","style","hideOnOverflow"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){s(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==a(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===a(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var p=function(e){return e[e.slideDown=0]="slideDown",e[e.slideUp=1]="slideUp",e[e.slideLeft=2]="slideLeft",e[e.slideRight=3]="slideRight",e[e.collapseExpand=4]="collapseExpand",e[e.zoomIn=5]="zoomIn",e[e.zoomOut=6]="zoomOut",e[e.fadeIn=7]="fadeIn",e[e.sidebar=8]="sidebar",e}({}),f=function(e){var t,r,i=e.data,a=e.animationType,l=void 0===a?p.collapseExpand:a,c=e.slideThreshold,s=void 0===c?20:c,f=e.animationDuration,v=void 0===f?150:f,h=e.minOpacity,b=void 0===h?0:h,y=e.maxOpacity,m=void 0===y?1:y,g=e.easing,w=void 0===g?n.Z5.easeInOutQuad:g,O=e.debounceMeasure,E=void 0!==O&&O,x=Array.isArray(i)?i.length>0:!!i,S=(t=(0,o.Z)({debounce:E?v+100:0}),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,r)||function(e,t){if(e){if("string"==typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),_=S[0],C=S[1],I=(0,n.q_)({from:{height:0,opacity:b,y:0},to:{height:x?C.height:0,opacity:x?m:b,y:x?0:-1*s},config:{duration:v,easing:w}}),A=(0,n.q_)({from:{x:0},to:{x:x?0:-1*s},config:{duration:v,easing:w}}),P={x:0,y:0};switch(l){case p.slideDown:P.y=-1*s,P.x=0;break;case p.slideUp:P.y=s,P.x=0;break;case p.slideLeft:P.x=s,P.y=0;break;case p.slideRight:P.x=-1*s,P.y=0}var L=(0,n.Yz)(i,{from:u(u(u(u({opacity:b},P),l===p.zoomIn&&{transform:"scale(0.8)"}),l===p.zoomOut&&{transform:"scale(1.2)"}),l===p.fadeIn&&{opacity:0}),enter:u(u(u({opacity:m,x:0,y:0},l===p.zoomIn&&{transform:"scale(1)"}),l===p.zoomOut&&{transform:"scale(1)"}),l===p.fadeIn&&{opacity:1}),leave:u(u(u(u({opacity:b},P),l===p.zoomIn&&{transform:"scale(0.8)"}),l===p.zoomOut&&{transform:"scale(1.2)"}),l===p.fadeIn&&{opacity:0}),config:{duration:v,easing:w}});return{animationStyle:l===p.sidebar?A:I,ref:_,transitions:L}},v=function(e){var t=e.children,r=e.style,o=e.hideOnOverflow,a=void 0===o||o,c=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,l);return(0,i.tZ)(n.q.div,u(u({},c),{},{style:u(u({},r),{},{overflow:a?"hidden":"initial"}),children:t}))}},36:(e,t,r)=>{"use strict";r.d(t,{N:()=>i});var n=r(7294);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var i=function(e){var t,r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300,a=(t=(0,n.useState)(e),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,r)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),l=a[0],c=a[1];return(0,n.useEffect)((function(){var t=setTimeout((function(){c(e)}),i);return function(){clearTimeout(t)}}),[e,i]),l}},802:(e,t,r)=>{"use strict";r.d(t,{O:()=>s});var n=r(7294),o=r(7536);function i(e){return i="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},i(e)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function c(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==i(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===i(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var s=function(e){var t,r,i=(t=(0,n.useState)(),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,r)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=i[0],c=i[1];return l(l({},(0,o.cI)(e)),{},{submitError:a,setSubmitError:c})}},4411:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(7294);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.threshold,r=void 0===t?0:t,i=e.root,a=void 0===i?null:i,l=e.rootMargin,c=void 0===l?"0%":l,u=e.freezeOnceVisible,s=void 0!==u&&u,d=(0,n.useRef)(null),p=o((0,n.useState)(),2),f=p[0],v=p[1],h=(null==f?void 0:f.isIntersecting)&&s,b=function(e){var t=o(e,1)[0];v(t)};return(0,n.useEffect)((function(){var e=d.current;if(!h&&e){var t=new IntersectionObserver(b,{threshold:r,root:a,rootMargin:c});return t.observe(e),function(){return t.disconnect()}}}),[d.current,r,a,c,h]),{intersectionEntry:f,intersectionElementRef:d}}},1954:(e,t,r)=>{"use strict";r.d(t,{h:()=>g,l:()=>m});var n=r(1709),o=r(824),i=r(917),a=r(1921),l=r(7294),c=r(3935),u=r(7038),s=r(2200),d=r(5944);function p(e){return p="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},p(e)}function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){h(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function h(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==p(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==p(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===p(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function b(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return y(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?y(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var m=function(e){var t,r=e.isOpen,n=e.triggerRef,o=e.arrow,i=void 0===o?"auto":o,a=e.gap,c=void 0===a?10:a,u=e.isDropdown,d=void 0!==u&&u,p=(0,l.useMemo)((function(){return n||{current:null}}),[n]),f=(0,l.useRef)(null),h=(0,s.D)(null===(t=f.current)||void 0===t?void 0:t.getBoundingClientRect()),y=b((0,l.useState)(0),2),m=y[0],g=y[1],w=b((0,l.useState)({left:0,top:0,arrowPlacement:"bottom"}),2),O=w[0],E=w[1];return(0,l.useEffect)((function(){if(p.current){var e=p.current.getBoundingClientRect();g(e.width)}}),[p]),(0,l.useEffect)((function(){if(r&&p.current&&f.current){var e=p.current.getBoundingClientRect(),t=f.current.getBoundingClientRect(),n=h||{},o=n.height,a=n.top,l=t.width||e.width,u=t.height;if(o!==u||a!==t.top){var s={top:0,left:0},b="bottom",y=window.innerHeight||document.documentElement.clientHeight,g=window.innerWidth||document.documentElement.clientWidth,w=u+c,O=l+c,x=y-u,S=function(){if("auto"===i&&g>e.left+l){var t=Math.floor(e.left);return t<c?c:t}if("auto"===i&&e.left>l){var r=Math.floor(e.right-l);return r<c?c:r}var n=Math.floor(e.left-(l-m)/2);return n<c?c:n},_=function(){var t=Math.floor(e.top-u/2+e.height/2);if(t<c)return c;if(t+u+c>y){var r=t+u-y+c,n=Math.floor(t-r);return n<c?c:n}return t},C=function(t){var r=t.arrowPosition,n=Math.floor(e.left-l-c),o=Math.floor(e.right+c);return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(e+l>g){var t=e+l-g,r=Math.floor(e-t);return r<c?c:r}return e<c?c:e}("left"===r?n:o)},I=function(t){var r=t.arrowPosition,n=Math.floor(e.top-u-c),o=Math.floor(e.bottom+c);return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(e<c)return c;if(e+u>y){var t=e+u-y,r=Math.floor(e-t);return r<c?c:r}return e}("top"===r?n:o)},A={top:{top:I({arrowPosition:"top"}),left:S()},bottom:{top:I({arrowPosition:"bottom"}),left:S()},left:{top:_(),left:C({arrowPosition:"left"})},right:{top:_(),left:C({arrowPosition:"right"})},middle:{top:x<c?c:x/2,left:Math.floor(e.left-l/2+e.width/2)}};"auto"!==i?(s={top:A.bottom,bottom:A.top,left:A.right,right:A.left,middle:A.middle}[i],b=i):e.bottom+w>y&&e.top>w?(s=A.top,b="bottom"):O>e.left&&e.bottom+w>y&&!d?(s=A.right,b="left"):O<e.left&&e.bottom+w>y&&!d?(s=A.left,b="right"):e.bottom+w<=y?(s=A.bottom,b="top"):(s=A.middle,b="middle"),E(v(v({},s),{},{arrowPlacement:b}))}}}),[p,f,h,m,r,c,i,d]),{position:O,triggerWidth:m,triggerRef:p,popoverRef:f}},g=function(e){var t=e.isOpen,r=e.children,o=e.onClickOutside,i=e.animationType,a=void 0===i?u.ru.slideDown:i,s=e.customZIndex,p=(0,n.d)().hasModalOnStack;return(0,l.useEffect)((function(){return t&&(document.body.style.overflow="hidden"),function(){p||(document.body.style.overflow="initial")}}),[t,p]),(0,(0,u._7)({data:t,animationType:a}).transitions)((function(e,t){if(t)return(0,c.createPortal)((0,d.tZ)(u.XJ,{css:w.wrapper(s),style:e,children:(0,d.BX)("div",{role:"presentation",children:[(0,d.tZ)("div",{css:w.backdrop,onClick:function(e){o&&o(e)}}),r]})}),document.body)}))},w={wrapper:function(e){return(0,i.iv)("position:fixed;z-index:",e||o.W5.highest,";inset:0;;label:wrapper;")},backdrop:(0,i.iv)(a.iZ.centeredFlex,";position:fixed;inset:0;z-index:",o.W5.negative,";;label:backdrop;")}},2200:(e,t,r)=>{"use strict";r.d(t,{D:()=>o});var n=r(7294),o=function(e){var t=(0,n.useRef)();return(0,n.useEffect)((function(){t.current=e}),[e]),t.current}},2447:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(9250),o=function(e){return(0,n.UO)()}},2811:(e,t,r)=>{"use strict";r.d(t,{T:()=>u});var n=r(3106),o=r(2445),i=r(3772),a=r(230),l=r(2902),c=r(7294),u=function(){var e=(0,o.F)((function(e){return e.type})),t=(0,o.F)((function(e){return e.payload})),r=(0,o.F)((function(e){return e.setSettings})),u=(0,i.o)((function(e){return e.page}));return{closeSettingPanel:(0,c.useCallback)((function(){return r(null,{sectionIndex:null,columnIndex:null,addonIndex:null,tableItem:void 0})}),[r]),prepareFormDataBeforeSaving:(0,c.useCallback)((function(r){var o=t.sectionIndex,i=t.columnIndex,c=t.addonIndex,s=t.tableItem;switch(e){case"addon":if((0,a.$K)(o)&&(0,a.$K)(i)&&(0,a.$K)(c))return u[o].columns[i].addons[c].name===n.pb.name&&(0,a.$K)(s)?(0,a.$K)(s.rowItemIdx)?(0,l.ZP)(u,(function(e){var t;(null===(t=e[o].columns[i].addons[c].settings)||void 0===t?void 0:t[n.pb.bodyItemsKey])[s.itemIdx][n.pb.bodyItemsKey][s.rowItemIdx].content[s.contentItemIdx].settings=r})):(0,l.ZP)(u,(function(e){var t;(null===(t=e[o].columns[i].addons[c].settings)||void 0===t?void 0:t[n.pb.headerItemsKey])[s.itemIdx].content[s.contentItemIdx].settings=r})):(0,l.ZP)(u,(function(e){e[o].columns[i].addons[c].settings=r}));case"column":if((0,a.$K)(o)&&(0,a.$K)(i))return(0,l.ZP)(u,(function(e){e[o].columns[i].settings=r}));case"section":if((0,a.$K)(o))return(0,l.ZP)(u,(function(e){e[o].settings=r}));default:return u}}),[e,t,u])}}},2739:(e,t,r)=>{"use strict";r.d(t,{_:()=>l});var n=r(3106),o=r(3772),i=r(230),a=r(7294),l=function(){var e=(0,o.o)((function(e){return e.page})),t=(0,a.useCallback)((function(t){var r=e.findIndex((function(e){return e.id===t}));return{index:r,content:e[r]}}),[e]),r=(0,a.useCallback)((function(t){var r=t.id,n=t.rowId,o=t.columnId,a=e.findIndex((function(e){return e.id===r&&(0,i.$K)(e.parent)&&"boolean"!=typeof e.parent&&e.parent.rowId===n&&e.parent.columnId===o}));return{index:a,content:e[a]}}),[e]),l=(0,a.useCallback)((function(t){var r,n=t.sectionIndex,o=t.columnIndex,a=t.id,l=e[n],c=(0,i.$K)(l)?l.columns[o]:null,u=null!==(r=null==c?void 0:c.addons)&&void 0!==r?r:[],s=u.findIndex((function(e){return e.id===a}));return{content:u[s],index:s}}),[e]),c=(0,a.useCallback)((function(t){if(!(0,i.$K)(t))return{};var r=e[t];return(0,i.$K)(r)?r.settings:{}}),[e]);return{getSectionById:t,getNestedRowById:r,getColumnById:(0,a.useCallback)((function(t){var r=t.sectionIndex,n=t.columnIndex;if(!(0,i.$K)(r)||!(0,i.$K)(n))return null;var o=e[r];return(0,i.$K)(o)?o.columns[n]:null}),[e]),getChildAddonById:l,getSectionSettings:c,getColumnSettings:(0,a.useCallback)((function(t){var r,n=t.sectionIndex,o=t.columnIndex,a=e[n],l=(0,i.$K)(a)?a.columns[o]:null;return null!==(r=null==l?void 0:l.settings)&&void 0!==r?r:{}}),[e]),getAddon:(0,a.useCallback)((function(t){var r=t.sectionIndex,n=t.columnIndex,o=t.addonIndex,a=e[r],l=(0,i.$K)(a)?a.columns[n]:null;return(0,i.$K)(l)?l.addons[o]:null}),[e]),getTableItem:(0,a.useCallback)((function(t){var r,o=t.sectionIndex,a=t.columnIndex,l=t.addonIndex,c=t.tableItem,u=e[o],s=(0,i.$K)(u)?u.columns[a]:null,d=(0,i.$K)(s)?s.addons[l]:null,p=c.itemIdx,f=c.rowItemIdx,v=c.contentItemIdx;if((0,i.$K)(f)){var h,b=null==d||null===(h=d.settings)||void 0===h?void 0:h[n.pb.bodyItemsKey];return null==b?void 0:b[p].table_advanced_item[f].content[v]}var y=null==d||null===(r=d.settings)||void 0===r?void 0:r[n.pb.headerItemsKey];return null==y?void 0:y[p].content[v]}),[e])}}},1234:(e,t,r)=>{"use strict";r.d(t,{$:()=>l,O:()=>c});var n=r(230),o=r(7294);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var a=function(e,t){var r,n=(r=e.matchAll(/\{\{([^(\}\})]+)/gm),function(e){if(Array.isArray(e))return i(e)}(r)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){return e[1]})).filter((function(e){return!!e})),o=e;return n.forEach((function(e){var r=new RegExp("{{".concat(e,"}}"));o=o.replace(r,String(t[e]))})),o},l=function(){return(0,o.useCallback)((function(e,t,r){var o=(0,n.$K)(r)&&r>1?"".concat(e,"_PLURAL"):e,i=n.Xy.Text._(o)||o;return t?a(i,t):i}),[])},c=function(e,t){var r=n.Xy.Text._(e)||e;return t?a(r,t):r}},908:(e,t,r)=>{"use strict";r.d(t,{Q:()=>o});var n=r(2328),o=function(){return(0,n.v)((function(e){return e.appConfig})).permissions}},4051:(e,t,r)=>{"use strict";var n=r(824),o=r(4185),i=r(917),a=r(9180),l=r.n(a),c=r(7294),u=r(9125),s=r(5944);function d(e){return d="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},d(e)}function p(){p=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,o){var i=t&&t.prototype instanceof v?t:v,a=Object.create(i.prototype),l=new I(o||[]);return n(a,"_invoke",{value:x(e,r,l)}),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var f={};function v(){}function h(){}function b(){}var y={};c(y,i,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(A([])));g&&g!==t&&r.call(g,i)&&(y=g);var w=b.prototype=v.prototype=Object.create(y);function O(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function o(n,i,a,l){var c=s(e[n],e,i);if("throw"!==c.type){var u=c.arg,p=u.value;return p&&"object"==d(p)&&r.call(p,"__await")?t.resolve(p.__await).then((function(e){o("next",e,a,l)}),(function(e){o("throw",e,a,l)})):t.resolve(p).then((function(e){u.value=e,a(u)}),(function(e){return o("throw",e,a,l)}))}l(c.arg)}var i;n(this,"_invoke",{value:function(e,r){function n(){return new t((function(t,n){o(e,r,t,n)}))}return i=i?i.then(n,n):n()}})}function x(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var l=S(a,r);if(l){if(l===f)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=s(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===f)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function S(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,f;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function A(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:P}}function P(){return{value:void 0,done:!0}}return h.prototype=b,n(w,"constructor",{value:b,configurable:!0}),n(b,"constructor",{value:h,configurable:!0}),h.displayName=c(b,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,l,"GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},O(E.prototype),c(E.prototype,a,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new E(u(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},O(w),c(w,l,"Generator"),c(w,i,(function(){return this})),c(w,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=A,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(C),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(l&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),C(r),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;C(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:A(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},e}function f(e,t,r,n,o,i,a){try{var l=e[i](a),c=l.value}catch(e){return void r(e)}l.done?t(c):Promise.resolve(c).then(n,o)}function v(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,(void 0,o=function(e,t){if("object"!==d(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==d(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(n.key),"symbol"===d(o)?o:String(o)),n)}var o}function h(e,t){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},h(e,t)}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}var y=function(e){return e.split("?")[0]},m=function(e){var t=e.indexOf("store");return t>-1?e.slice(t):""},g=function(e){!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&&h(e,t)}(g,e);var t,r,o,i,a,c=(i=g,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=b(i);if(a){var r=b(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===d(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)}(this,e)});function g(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,g),(t=c.call(this,e)).state={hasError:!1,error:void 0,errorInfo:void 0,stack:[],source:[],position:{line:null,column:null,startLine:null,source:""}},u.SourceMapConsumer.initialize({"lib/mappings.wasm":"https://unpkg.com/source-map@0.7.3/lib/mappings.wasm"}),t}return t=g,r=[{key:"componentDidCatch",value:function(e,t){var r=this;setTimeout((function(){var n,o=l().parse(e),i=(n=o[0].fileName||"","".concat(y(n),".map"));fetch(i).then((function(e){return e.json()})).then(function(){var e,t=(e=p().mark((function e(t){var n,i,a,l,c,s,d,f,v,h,b,y,m;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,new u.SourceMapConsumer(t);case 2:n=e.sent,i=o[0],a=n.originalPositionFor({line:Number(i.lineNumber),column:Number(i.columnNumber)}),l=-1,a.source&&(c=a.source.split("/"),s=c[c.length-1]||"",l=t.sources.findIndex((function(e){return e.endsWith(s)}))),l>-1&&(f=t.sourcesContent[l].split(/\r?\n/),v=a.line,h=Math.max(0,(v||0)-3),b=Math.min(f.length-1,(v||0)+4),y=f.slice(h,b+1),m=null===(d=a.source)||void 0===d?void 0:d.slice(a.source.indexOf("src")),r.setState({source:y,position:{line:a.line,column:a.column,source:m||"",startLine:h}}));case 8:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){f(i,n,o,a,l,"next",e)}function l(e){f(i,n,o,a,l,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}()),r.setState({error:e,errorInfo:t,stack:o})}),100)}},{key:"renderErrorSource",value:function(){var e=this,t=this.state.position;return t.line||t.column?(0,s.BX)("div",{css:O.titleAndContent,children:[(0,s.tZ)("h4",{css:O.callStack,children:"Source"}),(0,s.BX)("div",{css:O.sourceWrapper,children:[(0,s.BX)("p",{css:O.sourceFilePath,children:[t.source," (",t.line,":",t.column,")"]}),(0,s.tZ)("div",{css:O.sourceEditor,children:(0,s.tZ)("div",{css:O.sourceLinesWrapper,children:this.state.source.map((function(r,o){var i=o+(t.startLine||0)+1,a=i===(t.line||0),l=e.state.source.length+(t.startLine||0);return(0,s.BX)("div",{css:O.sourceLine(a),children:[(0,s.BX)("div",{children:[(0,s.tZ)("span",{css:O.angleRight,children:a&&">"}),(0,s.BX)("span",{css:O.lineNumber,children:[i," | "]}),(0,s.tZ)("span",{css:O.line,children:r})]}),a&&(0,s.BX)("div",{children:[(0,s.tZ)("span",{css:O.angleRight,children:" "}),(0,s.BX)("span",{css:O.lineNumber,children:[" ".repeat(l.toString().length)," | "]}),(0,s.BX)("span",{css:[O.line,{color:n.qo.text.error},";label:renderErrorSource;"],children:[" ".repeat(t.column||0),"^"]})]})]},o)}))})})]})]}):(0,s.tZ)("p",{css:O.consoleMessage,children:"Please open the browser console for more information!"})}},{key:"render",value:function(){if(this.state.hasError){var e=this.state,t=e.error,r=e.position,n=e.stack;return(0,s.tZ)("div",{css:O.container,children:(0,s.tZ)("div",{css:O.wrapper,children:(0,s.BX)("div",{css:O.scrollWrapper,children:[(0,s.tZ)("div",{css:O.indicator}),(0,s.tZ)("h2",{css:O.errorHeading,children:"Unhandled Runtime Error"}),(0,s.tZ)("p",{css:O.errorMessage,children:(null==t?void 0:t.toString())||"Something Went Wrong!"}),this.renderErrorSource(),(0,s.BX)("div",{css:O.callStackWrapper,children:[(0,s.tZ)("h4",{css:O.callStack,children:"Call Stack"}),n.map((function(e,t){return(0,s.BX)("div",{css:O.stackItem,children:[(0,s.tZ)("h6",{css:O.functionName,children:e.functionName||(n=r.source||"",o=n.split("/"),0===o.length?"":o[o.length-1])}),(0,s.BX)("p",{css:O.filePath,children:[y(m(e.fileName||""))," (",e.lineNumber,":",e.columnNumber,")"]})]},t);var n,o}))]})]})})})}return this.props.children}}],o=[{key:"getDerivedStateFromError",value:function(){return{hasError:!0}}}],r&&v(t.prototype,r),o&&v(t,o),Object.defineProperty(t,"prototype",{writable:!1}),g}(c.Component);const w=g;var O={container:(0,i.iv)("*{box-sizing:border-box;padding:0;margin:0;}font-family:",n.I8.sansSerif,";width:100%;height:100vh;display:flex;justify-content:center;align-items:center;background:",n.qo.base.white,";;label:container;"),sourceLinesWrapper:{name:"1wzln0q-sourceLinesWrapper",styles:"display:flex;flex-direction:column;label:sourceLinesWrapper;"},consoleMessage:(0,i.iv)(o.c.heading6("bold"),";margin-top:",n.W0[24],";color:",n.qo.text.success,";;label:consoleMessage;"),sourceLine:function(e){return(0,i.iv)("white-space:pre-wrap;",e&&(0,i.iv)("color:",n.qo.text.error,";;label:sourceLine;"),";;label:sourceLine;")},angleRight:{name:"1xm2me6-angleRight",styles:"min-width:20px;display:inline-block;margin-right:12px;label:angleRight;"},lineNumber:{name:"1d5ggue-lineNumber",styles:"min-width:50px;display:inline-block;label:lineNumber;"},line:{name:"hjznk4-line",styles:"width:100%;label:line;"},wrapper:(0,i.iv)("max-width:",960,"px;width:100%;background:",n.qo.base.white,";box-shadow:",n.AF.modal,";padding:",n.W0[20],";border-radius:",n.E0[6],";position:relative;overflow:hidden;;label:wrapper;"),scrollWrapper:{name:"1nknjjd-scrollWrapper",styles:"height:80vh;overflow-y:auto;label:scrollWrapper;"},indicator:(0,i.iv)("width:100%;height:5px;background:",n.qo.base.error,";position:absolute;top:0;left:0;;label:indicator;"),errorHeading:(0,i.iv)("font-size:",n.JB[20],";font-weight:",n.Ue.bold,";margin-bottom:",n.W0[4],";color:",n.qo.text.default,";;label:errorHeading;"),errorMessage:(0,i.iv)("font-size:",n.JB[14],";font-weight:",n.Ue.bold,";color:",n.qo.base.black,";font-family:",n.I8.sansSerif,";margin-top:",n.W0[4],";color:",n.qo.text.error,";;label:errorMessage;"),callStack:(0,i.iv)(o.c.heading6("bold"),";color:",n.qo.text.default,";;label:callStack;"),callStackWrapper:(0,i.iv)("margin-top:",n.W0[48],";font-size:",n.JB[18],";display:flex;flex-direction:column;gap:",n.W0[20],";;label:callStackWrapper;"),stackItem:(0,i.iv)("font-size:",n.JB[18],";display:flex;flex-direction:column;gap:",n.W0[4],";;label:stackItem;"),functionName:(0,i.iv)(o.c.heading6(),";color:",n.qo.text.default,";font-family:",n.I8.sansSerif,";;label:functionName;"),filePath:(0,i.iv)("color:",n.qo.text.neutral,";margin-left:",n.W0[12],";font-family:",n.I8.sansSerif,";font-size:",n.JB[14],";;label:filePath;"),sourceEditor:(0,i.iv)("padding:",n.W0[8]," ",n.W0[32],";;label:sourceEditor;"),sourceWrapper:(0,i.iv)("margin-top:",n.W0[4],";background-color:#292929;border-radius:",n.E0[6],";color:",n.qo.base.highlight,";;label:sourceWrapper;"),sourceFilePath:(0,i.iv)("padding:",n.W0[8]," ",n.W0[16],";border-bottom:1px solid #cccccc;color:#cccccc;;label:sourceFilePath;"),titleAndContent:(0,i.iv)("margin-top:",n.W0[24],";;label:titleAndContent;")},E=r(935),x=r(7264),S=r(1731),_=r(627),C=r(3106),I=r(1234),A=r(1073),P=r(3772),L=r(1921),D=r(7536),j=r(9655),T=r(1309),Z=r(3871),B=r(288),M=r(8122),k=r(5350),R=r(8111),W=r(36),N=r(802),G=r(4411),F=r(908),U=r(5527),H=r(6511),q=r(2328),z=r(6537),V=r(6492),$=r(8596),K=r(5945),X=r(4469),Y=r(5501);function Q(e){return Q="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},Q(e)}function J(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ee(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?J(Object(r),!0).forEach((function(t){te(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):J(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function te(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==Q(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==Q(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Q(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function re(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var ne=function(){var e=(0,S.p)().showToast,t=(0,q.v)((function(e){return e.appConfig}));return(0,V.a)({queryKey:["IconList"],queryFn:function(){return Y.u.get(z.H.ICONS,{params:{status:1}}).then((function(e){return[{access:null,assets:t.font_awesome_icons,created:"",created_by:null,css_path:"",id:null,name:"fontawesome",thumb:"",title:"Font Awesome 5 Free",type:"fontawesome"}].concat(function(e){if(Array.isArray(e))return re(e)}(r=e.data)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e,t){if(e){if("string"==typeof e)return re(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?re(e,t):void 0}}(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());var r}))},onError:function(t){e({type:"danger",message:t.message})}})},oe=function(e){return Y.u.delete(z.H.MEDIA,{data:JSON.stringify(e)}).then((function(e){return e.data}))},ie=function(e){return Y.u.post(z.H.MEDIA,e)},ae=function(e){return Y.u.patch(z.H.MEDIA,e)},le=function(e){return Y.u.delete(z.H.MEDIA_FOLDERS,{data:JSON.stringify(e)})},ce=function(e){return Y.u.post(z.H.MEDIA_FOLDERS,e)},ue=function(e){return Y.u.patch(z.H.MEDIA_FOLDERS,e).then((function(e){return e.data}))},se=r(230);function de(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var pe=function(e){switch(e){case"mp4":case"mov":case"wmv":case"avi":case"mpg":case"ogv":case"3gp":case"3g2":return{type:"video",icon:"mediaVideo"};case"mp3":case"m4a":case"ogg":case"wav":return{type:"audio",icon:"mediaMusic"};case"doc":case"docx":case"odt":return{type:"document",icon:"mediaWord"};case"key":case"ppt":case"pptx":case"pps":case"ppsx":return{type:"presentation",icon:"mediaPowerPoint"};case"xls":case"xlsx":return{type:"excel",icon:"mediaExcel"};case"pdf":return{type:"pdf",icon:"mediaPdf"};case"zip":return{type:"archive",icon:"mediaZip"};case"json":return{type:"attachment",icon:"mediaJson"};default:return{type:"image",icon:"mediaPicture"}}},fe=function(e){var t=e.name,r=t.lastIndexOf(".");return-1===r?"":t.slice(r+1).toLowerCase()},ve=function(e){return e.map((function(e){var t=URL.createObjectURL(e);return{id:(0,se.x0)(),ext:fe(e),path:t,title:e.name,type:pe(fe(e)).type,isNewlyUploaded:!0}}))},he=function(e,t){var r,n=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return de(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?de(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(l)throw i}}}}(e);try{for(n.s();!(r=n.n()).done;)if(r.value.size>t)return!0}catch(e){n.e(e)}finally{n.f()}return!1},be=r(6680),ye=r(1030),me=r(9781);function ge(e){return ge="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},ge(e)}function we(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Oe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?we(Object(r),!0).forEach((function(t){Ee(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):we(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ee(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==ge(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==ge(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===ge(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xe(){xe=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,o){var i=t&&t.prototype instanceof p?t:p,a=Object.create(i.prototype),l=new _(o||[]);return n(a,"_invoke",{value:O(e,r,l)}),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var d={};function p(){}function f(){}function v(){}var h={};c(h,i,(function(){return this}));var b=Object.getPrototypeOf,y=b&&b(b(C([])));y&&y!==t&&r.call(y,i)&&(h=y);var m=v.prototype=p.prototype=Object.create(h);function g(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function o(n,i,a,l){var c=s(e[n],e,i);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==ge(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){o("next",e,a,l)}),(function(e){o("throw",e,a,l)})):t.resolve(d).then((function(e){u.value=e,a(u)}),(function(e){return o("throw",e,a,l)}))}l(c.arg)}var i;n(this,"_invoke",{value:function(e,r){function n(){return new t((function(t,n){o(e,r,t,n)}))}return i=i?i.then(n,n):n()}})}function O(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var l=E(a,r);if(l){if(l===d)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=s(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===d)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function E(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,E(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),d;var o=s(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,d;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function C(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:I}}function I(){return{value:void 0,done:!0}}return f.prototype=v,n(m,"constructor",{value:v,configurable:!0}),n(v,"constructor",{value:f,configurable:!0}),f.displayName=c(v,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,c(e,l,"GeneratorFunction")),e.prototype=Object.create(m),e},e.awrap=function(e){return{__await:e}},g(w.prototype),c(w.prototype,a,(function(){return this})),e.AsyncIterator=w,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new w(u(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},g(m),c(m,l,"Generator"),c(m,i,(function(){return this})),c(m,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=C,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(l&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:C(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},e}function Se(e,t,r,n,o,i,a){try{var l=e[i](a),c=l.value}catch(e){return void r(e)}l.done?t(c):Promise.resolve(c).then(n,o)}const _e=function(e){var t=e.closeModal,r=e.title,n=e.path,o=(0,I.$)(),i=function(){var e=(0,K.NL)(),t=(0,S.p)().showToast,r=(0,I.$)();return(0,X.D)({mutationFn:ce,onSuccess:function(){t({type:"success",message:r("COM_SPPAGEBUILDER_EDITOR_MEDIA_MANAGER_FOLDER_CREATE_SUCCESS")}),e.invalidateQueries(["FolderList"])},onError:function(e){t({type:"danger",message:e.message})}})}(),a=(0,N.O)({defaultValues:{folderName:""}});return(0,s.tZ)(me.Z,{onClose:function(){return t({action:"CLOSE"})},title:r,wrapperCss:Ce.wrapper,children:(0,s.BX)("form",{onSubmit:a.handleSubmit((0,be.GI)(a,function(){var e,r=(e=xe().mark((function e(r){var o;return xe().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o="".concat(n,"/").concat(r.folderName),e.next=3,i.mutateAsync({folder:o});case 3:e.sent.data.status&&t({action:"CONFIRM"});case 5:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Se(i,n,o,a,l,"next",e)}function l(e){Se(i,n,o,a,l,"throw",e)}a(void 0)}))});return function(e){return r.apply(this,arguments)}}())),children:[(0,s.tZ)("div",{css:Ce.fieldWrapper,children:(0,s.tZ)(D.Qr,{name:"folderName",control:a.control,rules:Oe({},(0,ye.n)()),render:function(e){return(0,s.tZ)(k.Z,Oe(Oe({},e),{},{label:o("COM_SPPAGEBUILDER_EDITOR_CREATE_FOLDER_MODAL_LABEL"),placeholder:o("COM_SPPAGEBUILDER_EDITOR_CREATE_FOLDER_MODAL_PLACEHOLDER"),hasAutoFocus:!0}))}})}),(0,s.BX)("div",{css:Ce.buttonWrapper,children:[(0,s.tZ)(Z.Z,{variant:"secondary",onClick:function(){return t({action:"CLOSE"})},children:o("COM_SPPAGEBUILDER_EDITOR_CANCEL")}),(0,s.tZ)(Z.Z,{type:"submit",loading:i.isLoading,children:o("COM_SPPAGEBUILDER_EDITOR_CREATE_FOLDER_MODAL_CREATE_BUTTON")})]})]})})};var Ce={wrapper:{name:"1nd8i61-wrapper",styles:"max-width:372px;label:wrapper;"},fieldWrapper:(0,i.iv)("padding:",n.W0[16]," ",n.W0[12]," 0 ",n.W0[12],";display:flex;flex-direction:column;gap:",n.W0[12],";background-color:",n.qo.base.white,";;label:fieldWrapper;"),buttonWrapper:(0,i.iv)("background-color:",n.qo.background.white,";padding:",n.W0[12],";display:flex;justify-content:end;gap:",n.W0[8],";;label:buttonWrapper;")},Ie=r(1709),Ae=r(9085),Pe=r(7025),Le=r(9101);function De(e){return De="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},De(e)}function je(){je=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,o){var i=t&&t.prototype instanceof p?t:p,a=Object.create(i.prototype),l=new _(o||[]);return n(a,"_invoke",{value:O(e,r,l)}),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var d={};function p(){}function f(){}function v(){}var h={};c(h,i,(function(){return this}));var b=Object.getPrototypeOf,y=b&&b(b(C([])));y&&y!==t&&r.call(y,i)&&(h=y);var m=v.prototype=p.prototype=Object.create(h);function g(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function o(n,i,a,l){var c=s(e[n],e,i);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==De(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){o("next",e,a,l)}),(function(e){o("throw",e,a,l)})):t.resolve(d).then((function(e){u.value=e,a(u)}),(function(e){return o("throw",e,a,l)}))}l(c.arg)}var i;n(this,"_invoke",{value:function(e,r){function n(){return new t((function(t,n){o(e,r,t,n)}))}return i=i?i.then(n,n):n()}})}function O(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var l=E(a,r);if(l){if(l===d)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=s(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===d)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function E(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,E(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),d;var o=s(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,d;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function C(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:I}}function I(){return{value:void 0,done:!0}}return f.prototype=v,n(m,"constructor",{value:v,configurable:!0}),n(v,"constructor",{value:f,configurable:!0}),f.displayName=c(v,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,c(e,l,"GeneratorFunction")),e.prototype=Object.create(m),e},e.awrap=function(e){return{__await:e}},g(w.prototype),c(w.prototype,a,(function(){return this})),e.AsyncIterator=w,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new w(u(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},g(m),c(m,l,"Generator"),c(m,i,(function(){return this})),c(m,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=C,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(l&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:C(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},e}function Te(e,t,r,n,o,i,a){try{var l=e[i](a),c=l.value}catch(e){return void r(e)}l.done?t(c):Promise.resolve(c).then(n,o)}function Ze(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Be(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Be(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Be(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const Me=function(e){var t,r,n,o=e.folders,i=e.folderName,a=e.filter,l=e.selectedFolders,u=e.onSelect,d=e.onNavigate,p=e.onDeleteFolder,f=Ze((0,c.useState)(!1),2),v=f[0],h=f[1],b=Ze((0,c.useState)(i),2),y=b[0],m=b[1],g=o.find((function(e){return e.name===i&&e.relname==="".concat(a,"/").concat(i)})),w=l.find((function(e){return e.id===(null==g?void 0:g.id)})),O=(t=(0,K.NL)(),r=(0,I.$)(),n=(0,S.p)().showToast,(0,X.D)({mutationFn:ue,onSuccess:function(){n({type:"success",message:r("COM_SPPAGEBUILDER_EDITOR_FILE_RENAMED_SUCCESS_MESSAGE")}),t.invalidateQueries(["MediaList"]),t.invalidateQueries(["FolderList"])},onError:function(){n({type:"danger",message:r("COM_SPPAGEBUILDER_EDITOR_FILE_RENAME_ERROR_MESSAGE")})}})),_=(0,F.Q)(),C=[{id:"rename",icon:"pencil",title:"COM_SPPAGEBUILDER_EDITOR_BUTTON_TEXT_RENAME",isDisabled:!_.edit},{id:"remove",icon:"trash",title:"COM_SPPAGEBUILDER_EDITOR_BUTTON_TEXT_DELETE",variant:"critical",isDisabled:!_.delete}];return(0,s.BX)("div",{css:ke.listItemWrapper({isSelected:!!w}),children:[(0,s.BX)("button",{type:"button",css:ke.listItemTop({isSelected:!!w}),onClick:function(e){e.preventDefault(),g&&u({selectedFolder:{id:g.id,type:"folder",path:g.relname},isAlreadySelected:!!w})},onDoubleClick:d,children:[(0,s.tZ)(x.Z,{name:"folders",height:104,width:104}),(0,s.tZ)("div",{css:ke.listItemCheckboxWrapper({isSelected:!1}),children:(0,s.tZ)(Ae.Z,{checked:!!w,onChange:function(){g&&u({selectedFolder:{id:g.id,type:"folder",path:g.relname},isAlreadySelected:!!w})}})})]}),(0,s.tZ)("div",{css:ke.listItemInfo,children:v?(0,s.tZ)("div",{css:ke.renameInputWrapper,children:O.isLoading?(0,s.tZ)(E.g4,{}):(0,s.tZ)(Pe.Z,{value:y,onChange:function(e){m(e)},onKeyDown:function(){var e,t=(e=je().mark((function e(t){return je().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("Escape"===t&&(h(!1),m("")),"Enter"===t){e.next=3;break}return e.abrupt("return");case 3:return e.next=5,O.mutateAsync({currentfolder:"".concat(a,"/").concat(i),newfolder:"".concat(a,"/").concat(y),renameItem:"single"});case 5:e.sent.status&&h(!1);case 7:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Te(i,n,o,a,l,"next",e)}function l(e){Te(i,n,o,a,l,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}(),onBlur:function(){h(!1),m("")},focusOnMount:!0})}):(0,s.BX)(s.HY,{children:[(0,s.tZ)("div",{children:i}),(0,s.tZ)(Le.Z,{actions:C,triggerButtonContent:(0,s.tZ)(x.Z,{name:"ellipsisY",height:16,width:16}),onSelect:function(e){g&&("rename"===e?(h(!0),m(i)):p({id:g.id,type:"folder",path:g.relname}))},arrowPosition:"bottom"})]})})]})};var ke={listItemWrapper:function(e){var t=e.isSelected,r=void 0!==t&&t;return(0,i.iv)(o.c.caption(),";background-color:",n.qo.background.white,";border-radius:",n.E0[5],";box-shadow:",n.AF.base,";overflow:hidden;",r&&(0,i.iv)("position:relative;::before{position:absolute;content:'';inset:0;background-color:",n.qo.base.highlight,";opacity:0.4;};label:listItemWrapper;"),";;label:listItemWrapper;")},listItemTop:function(e){var t=e.isSelected,r=void 0!==t&&t;return(0,i.iv)(L.iZ.resetButton,";height:190px;width:100%;position:relative;background-color:",n.qo.background.folder,";display:flex;justify-content:center;align-items:center;>svg{color:",n.qo.icon.default,";}::before{content:'';position:absolute;inset:0;opacity:0;display:none;background-color:transparent;transition:opacity 0.3s ease,background-color 0.3s ease;}",r&&(0,i.iv)("::before{display:block;opacity:0.4;background-color:",n.qo.base.highlight,";};label:listItemTop;")," :hover{::before{display:block;opacity:0.4;background-color:",n.qo.base.highlight,";}};label:listItemTop;")},listItemCheckboxWrapper:function(e){var t=e.isSelected,r=void 0!==t&&t;return(0,i.iv)("position:absolute;top:",n.W0[8],";left:",n.W0[8],";",r&&(0,i.iv)("z-index:",n.W5.positive,";;label:listItemCheckboxWrapper;"),";;label:listItemCheckboxWrapper;")},listItemInfo:(0,i.iv)("display:flex;justify-content:space-between;align-items:center;padding:",n.W0[6]," ",n.W0[12],";height:44px;button{padding:0;svg{color:",n.qo.icon.hints,";}};label:listItemInfo;"),renameInputWrapper:(0,i.iv)("width:100%;input{padding:",n.W0[12],";};label:renameInputWrapper;")},Re=r(4101);function We(e){return We="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},We(e)}function Ne(){Ne=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,o){var i=t&&t.prototype instanceof p?t:p,a=Object.create(i.prototype),l=new _(o||[]);return n(a,"_invoke",{value:O(e,r,l)}),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var d={};function p(){}function f(){}function v(){}var h={};c(h,i,(function(){return this}));var b=Object.getPrototypeOf,y=b&&b(b(C([])));y&&y!==t&&r.call(y,i)&&(h=y);var m=v.prototype=p.prototype=Object.create(h);function g(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function o(n,i,a,l){var c=s(e[n],e,i);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==We(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){o("next",e,a,l)}),(function(e){o("throw",e,a,l)})):t.resolve(d).then((function(e){u.value=e,a(u)}),(function(e){return o("throw",e,a,l)}))}l(c.arg)}var i;n(this,"_invoke",{value:function(e,r){function n(){return new t((function(t,n){o(e,r,t,n)}))}return i=i?i.then(n,n):n()}})}function O(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var l=E(a,r);if(l){if(l===d)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=s(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===d)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function E(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,E(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),d;var o=s(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,d;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function C(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:I}}function I(){return{value:void 0,done:!0}}return f.prototype=v,n(m,"constructor",{value:v,configurable:!0}),n(v,"constructor",{value:f,configurable:!0}),f.displayName=c(v,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,c(e,l,"GeneratorFunction")),e.prototype=Object.create(m),e},e.awrap=function(e){return{__await:e}},g(w.prototype),c(w.prototype,a,(function(){return this})),e.AsyncIterator=w,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new w(u(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},g(m),c(m,l,"Generator"),c(m,i,(function(){return this})),c(m,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=C,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(l&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:C(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},e}function Ge(e,t,r,n,o,i,a){try{var l=e[i](a),c=l.value}catch(e){return void r(e)}l.done?t(c):Promise.resolve(c).then(n,o)}function Fe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ue(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ue(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ue(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const He=function(e){var t,r,n,o=e.item,i=e.isSelected,a=e.onDelete,l=void 0===a?se.ZT:a,u=e.onSelectionChange,d=Fe((0,c.useState)(!1),2),p=d[0],f=d[1],v=Fe((0,c.useState)(""),2),h=v[0],b=v[1],y=(t=(0,K.NL)(),r=(0,I.$)(),n=(0,S.p)().showToast,(0,X.D)({mutationFn:ae,onSuccess:function(){n({type:"success",message:r("COM_SPPAGEBUILDER_EDITOR_FILE_RENAMED_SUCCESS_MESSAGE")}),t.invalidateQueries(["MediaList"]),t.invalidateQueries(["FolderList"])},onError:function(e){n({type:"danger",message:e.message})}})),m=(0,F.Q)(),g=(0,q.v)((function(e){return e.appConfig})),w=[{id:"rename",icon:"pencil",title:"COM_SPPAGEBUILDER_EDITOR_BUTTON_TEXT_RENAME",isDisabled:!(m.edit||m.edit_own&&o.created_by===g.user_id)},{id:"remove",icon:"trash",title:"COM_SPPAGEBUILDER_EDITOR_BUTTON_TEXT_DELETE",variant:"critical",isDisabled:!m.delete}],O=pe(o.ext),_="".concat(o.title,".").concat(o.ext);return(0,s.tZ)(s.HY,{children:(0,s.BX)("div",{css:ze.listItemWrapper({isSelected:i}),children:[(0,se.$K)(o.isNewlyUploaded)&&o.isNewlyUploaded&&(0,s.tZ)("div",{css:ze.uploadingSpinner,children:(0,s.tZ)(E.ZP,{})}),(0,s.BX)("button",{css:ze.listItemTop({itemType:O.type,isSelected:i}),onClick:function(e){e.preventDefault(),u(o.id)},children:["image"===o.type&&(0,s.tZ)("img",{src:"".concat((0,se.$K)(o.isNewlyUploaded)&&o.isNewlyUploaded?"":se.Xy.pagebuilderBase).concat(o.thumb||o.path),alt:o.title}),"image"!==o.type&&(0,s.tZ)(x.Z,{name:O.icon,height:104,width:104}),(0,s.tZ)("div",{css:ze.listItemCheckboxWrapper({isSelected:i}),children:(0,s.tZ)(Ae.Z,{checked:i,onChange:function(){u(o.id)}})})]}),(0,s.tZ)("div",{css:ze.listItemInfo,title:_,children:p?(0,s.tZ)("div",{css:ze.renameInputWrapper,children:y.isLoading?(0,s.tZ)(E.g4,{}):(0,s.tZ)(Pe.Z,{value:h,onChange:function(e){b(e)},onKeyDown:function(){var e,t=(e=Ne().mark((function e(t){var r,n,i;return Ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("Escape"===t&&(f(!1),b("")),"Enter"===t){e.next=3;break}return e.abrupt("return");case 3:return r=o.id,n=o.path,i=o.thumb,e.next=6,y.mutateAsync({id:r,path:n,thumb:null!=i?i:"",title:h});case 6:e.sent.data.status&&f(!1);case 9:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Ge(i,n,o,a,l,"next",e)}function l(e){Ge(i,n,o,a,l,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}(),onBlur:function(){f(!1),b("")},focusOnMount:!0})}):(0,s.BX)(s.HY,{children:[(0,s.tZ)("div",{css:L.iZ.textEllipsis,children:_}),(0,s.tZ)(Le.Z,{actions:w,triggerButtonContent:(0,s.tZ)(x.Z,{name:"ellipsisY",height:16,width:16}),onSelect:function(e){"rename"===e?(f(!0),b(o.title)):l(o)},arrowPosition:"top"})]})})]},o.id)})};var qe=function(e){switch(e){case"video":return{color:n.qo.alternate.orange,backgroundColor:n.qo.background.lightOrange};case"audio":return{color:n.qo.alternate.red,backgroundColor:n.qo.background.error};case"pdf":return{color:n.qo.alternate.saturatedRed,backgroundColor:n.qo.background.saturatedLightRed};case"archive":return{color:n.qo.alternate.tenderGreen,backgroundColor:n.qo.background.lightGreen};case"excel":return{color:n.qo.alternate.viridian,backgroundColor:n.qo.background.lightViridian};case"presentation":return{color:n.qo.alternate.lightOrange,backgroundColor:n.qo.background.lightOrange};case"attachment":return{color:n.qo.text.hover,backgroundColor:n.qo.background.neutral};default:return{color:n.qo.base.primary,backgroundColor:n.qo.background.lightRoyalBlue}}},ze={uploadingSpinner:(0,i.iv)("position:absolute;inset:0;z-index:",n.W5.positive,";background-color:",(0,Re.m4)(n.qo.base.black,.6),";display:flex;align-items:center;justify-content:center;width:100%;height:100%;;label:uploadingSpinner;"),listItemWrapper:function(e){var t=e.isSelected,r=void 0!==t&&t;return(0,i.iv)(o.c.caption(),";background-color:",n.qo.background.white,";border-radius:",n.E0[5],";box-shadow:",n.AF.base,";overflow:hidden;position:relative;",r&&(0,i.iv)("position:relative;::before{position:absolute;content:'';inset:0;background-color:",n.qo.base.highlight,";opacity:0.4;};label:listItemWrapper;"),";;label:listItemWrapper;")},listItemTop:function(e){var t=e.itemType,r=void 0===t?"image":t,o=e.isSelected,a=void 0!==o&&o;return(0,i.iv)(L.iZ.resetButton,";height:190px;width:100%;position:relative;text-align:center;::before{content:'';position:absolute;inset:0;opacity:0;display:none;background-color:transparent;transition:opacity 0.3s ease,background-color 0.3s ease;}",a&&(0,i.iv)("::before{display:block;opacity:0.4;background-color:",n.qo.base.highlight,";};label:listItemTop;")," :hover{::before{display:block;opacity:0.4;background-color:",n.qo.base.highlight,";}}","image"===r&&(0,i.iv)("background-color:",n.qo.background.neutral,";img{height:100%;width:100%;object-fit:contain;};label:listItemTop;")," ","image"!==r&&(0,i.iv)("display:flex;justify-content:center;align-items:center;background-color:",qe(r).backgroundColor,";svg{color:",qe(r).color,";};label:listItemTop;"),";;label:listItemTop;")},listItemCheckboxWrapper:function(e){var t=e.isSelected,r=void 0!==t&&t;return(0,i.iv)("position:absolute;top:",n.W0[8],";left:",n.W0[8],";",r&&(0,i.iv)("z-index:",n.W5.positive,";;label:listItemCheckboxWrapper;"),";;label:listItemCheckboxWrapper;")},listItemInfo:(0,i.iv)("display:flex;justify-content:space-between;align-items:center;padding:",n.W0[6]," ",n.W0[12],";height:44px;button{padding:0;svg{color:",n.qo.icon.hints,";}};label:listItemInfo;"),popover:(0,i.iv)("display:flex;flex-direction:column;gap:",n.W0[8],";padding:",n.W0[8]," 0;background-color:",n.qo.background.white,";box-shadow:",n.AF.popover,";border-radius:",n.E0[5],";;label:popover;"),renameInputWrapper:(0,i.iv)("width:100%;input{padding:",n.W0[12],";};label:renameInputWrapper;")};function Ve(e){return Ve="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ve(e)}function $e(e){return function(e){if(Array.isArray(e))return Ke(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Ke(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ke(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ke(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Xe(){Xe=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,o){var i=t&&t.prototype instanceof p?t:p,a=Object.create(i.prototype),l=new _(o||[]);return n(a,"_invoke",{value:O(e,r,l)}),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var d={};function p(){}function f(){}function v(){}var h={};c(h,i,(function(){return this}));var b=Object.getPrototypeOf,y=b&&b(b(C([])));y&&y!==t&&r.call(y,i)&&(h=y);var m=v.prototype=p.prototype=Object.create(h);function g(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function o(n,i,a,l){var c=s(e[n],e,i);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==Ve(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){o("next",e,a,l)}),(function(e){o("throw",e,a,l)})):t.resolve(d).then((function(e){u.value=e,a(u)}),(function(e){return o("throw",e,a,l)}))}l(c.arg)}var i;n(this,"_invoke",{value:function(e,r){function n(){return new t((function(t,n){o(e,r,t,n)}))}return i=i?i.then(n,n):n()}})}function O(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var l=E(a,r);if(l){if(l===d)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=s(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===d)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function E(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,E(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),d;var o=s(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,d;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function C(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:I}}function I(){return{value:void 0,done:!0}}return f.prototype=v,n(m,"constructor",{value:v,configurable:!0}),n(v,"constructor",{value:f,configurable:!0}),f.displayName=c(v,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,c(e,l,"GeneratorFunction")),e.prototype=Object.create(m),e},e.awrap=function(e){return{__await:e}},g(w.prototype),c(w.prototype,a,(function(){return this})),e.AsyncIterator=w,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new w(u(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},g(m),c(m,l,"Generator"),c(m,i,(function(){return this})),c(m,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=C,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(l&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:C(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},e}function Ye(e,t,r,n,o,i,a){try{var l=e[i](a),c=l.value}catch(e){return void r(e)}l.done?t(c):Promise.resolve(c).then(n,o)}const Qe=function(e){var t=e.folders,r=e.foldersList,n=e.filter,o=e.items,i=e.selectedFolders,a=e.onSelectedFolders,l=e.onFilterChange,c=e.onDeleteFolder,u=e.onFileDelete,d=e.isLoading,p=(0,I.$)(),f=(0,Ie.d)().showModal,v=(0,F.Q)();return d?(0,s.tZ)("div",{css:Je.spinnerWrapper,children:(0,s.tZ)(E.ZP,{})}):(0,s.BX)("div",{css:Je.wrapper,children:[(0,s.tZ)("div",{css:Je.listItemWrapper,children:(0,s.BX)("button",{type:"button",css:Je.listItemTop({disabled:!v.create}),disabled:!v.create,onClick:function(){var e,t=(e=Xe().mark((function e(t){return Xe().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),e.next=3,f({component:_e,props:{path:n,title:p("COM_SPPAGEBUILDER_EDITOR_MEDIA_MANAGER_FOLDER_CREATE_NEW")}});case 3:"CONFIRM"===e.sent.action&&a([]);case 6:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Ye(i,n,o,a,l,"next",e)}function l(e){Ye(i,n,o,a,l,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}(),children:[(0,s.tZ)(x.Z,{name:"addFolder",height:104,width:104}),(0,s.tZ)("p",{css:Je.listItemInfo,children:p("COM_SPPAGEBUILDER_EDITOR_MEDIA_MANAGER_FOLDER_CREATE_NEW")})]})}),r.map((function(e,r){return(0,s.tZ)(Me,{folders:t,folderName:e,filter:n,selectedFolders:i,onSelect:function(e){var t=e.selectedFolder;e.isAlreadySelected?a(i.filter((function(e){return e.id!==t.id}))):a([].concat($e(i),[t]))},onDeleteFolder:c,onNavigate:function(){return l("".concat(n,"/").concat(e))}},r)})),o.map((function(e,t){var r=i.find((function(t){return t.path===e.path}));return(0,s.tZ)(He,{item:e,isSelected:!!r,onDelete:u,onSelectionChange:function(){a(r?i.filter((function(t){return t.path!==e.path})):[].concat($e(i),[{id:Number(e.id),path:e.path,type:"local"}]))}},t)}))]})};var Je={wrapper:(0,i.iv)(L.iZ.overflowYAuto,";display:grid;grid-template-columns:repeat(5, 1fr);gap:",n.W0[24],";padding-right:",n.W0[24],";max-height:calc(100vh - 290px);",n.Uo.tablet,"{grid-template-columns:repeat(4, 1fr);};label:wrapper;"),spinnerWrapper:(0,i.iv)(L.iZ.flexCenter(),";height:100%;width:100%;;label:spinnerWrapper;"),listItemWrapper:(0,i.iv)(o.c.caption(),";background-color:",n.qo.background.white,";border-radius:",n.E0[5],";box-shadow:",n.AF.base,";overflow:hidden;height:234px;;label:listItemWrapper;"),listItemTop:function(e){var t=e.disabled;return(0,i.iv)(L.iZ.resetButton,";height:100%;width:100%;position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;>svg{color:",n.qo.icon.default,";}>svg,>p{transition:color 0.3s ease;}:hover{>p{color:",n.qo.action.primary.hover,";}>svg{color:",n.qo.icon.primary,";}}",t&&(0,i.iv)("svg{color:",n.qo.icon.disabled,";}p{color:",n.qo.text.disabled,";}:hover{svg{color:",n.qo.icon.disabled,";}p{color:",n.qo.text.disabled,";}};label:listItemTop;"),";;label:listItemTop;")},listItemCheckboxWrapper:(0,i.iv)("position:absolute;top:",n.W0[8],";left:",n.W0[8],";;label:listItemCheckboxWrapper;"),listItemInfo:(0,i.iv)(o.c.body("medium"),";padding:",n.W0[6]," ",n.W0[12],";;label:listItemInfo;")},et=(0,c.forwardRef)((function(e,t){var r=e.mediaItems,n=void 0===r?[]:r,o=e.selectedItemIds,i=e.onDelete,a=void 0===i?se.ZT:i,l=e.onSelectionChange,c=e.isInfiniteLoaderVisible,u=void 0!==c&&c,d=(0,I.$)();return n.length?(0,s.BX)("div",{css:nt.wrapper,children:[(0,s.tZ)("div",{css:nt.listItemsWrapper,children:n.map((function(e){var t=o.includes(e.id);return(0,s.tZ)(He,{item:e,isSelected:t,onSelectionChange:l,onDelete:a},e.id)}))}),(0,s.tZ)("div",{ref:t,css:nt.infiniteLoader({isVisible:u}),children:(0,s.tZ)(E.ZP,{})})]}):(0,s.tZ)("div",{css:nt.emptyMessage,children:d("COM_SPPAGEBUILDER_EDITOR_MEDIA_MANAGER_NO_ITEMS_FOUND")})}));const tt=et;var rt={name:"1tbj5j9-infiniteLoader",styles:"display:block;label:infiniteLoader;"},nt={wrapper:(0,i.iv)(L.iZ.overflowYAuto,";max-height:calc(100vh - 290px);;label:wrapper;"),listItemsWrapper:(0,i.iv)("display:grid;grid-template-columns:repeat(5, 1fr);gap:",n.W0[24],";padding-right:",n.W0[24],";",n.Uo.tablet,"{grid-template-columns:repeat(4, 1fr);}",n.Uo.smallTablet,"{grid-template-columns:repeat(3, 1fr);};label:listItemsWrapper;"),spinnerWrapper:(0,i.iv)(L.iZ.flexCenter(),";height:100%;width:100%;;label:spinnerWrapper;"),emptyMessage:(0,i.iv)("height:100%;display:grid;place-items:center;background:",n.qo.background.white,";border-radius:",n.E0[10],";margin-right:",n.W0[24],";;label:emptyMessage;"),infiniteLoader:function(e){var t=e.isVisible,r=void 0!==t&&t;return(0,i.iv)("display:none;text-align:center;height:40px;margin-top:",n.W0[16],";",r&&rt,";;label:infiniteLoader;")}};function ot(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const it=function(e){var t=e.selectedCategory,r=e.isInsideModal,n=void 0===r||r,o=e.onChange,i=e.onMediaUpload,a=(0,I.$)(),l=(0,c.useRef)(null),u=(0,F.Q)(),d=[{name:"*",icon:"filesDuo",title:a("COM_SPPAGEBUILDER_EDITOR_MEDIA_MANAGER_MEDIA_ALL_ITEMS")},{name:"image",icon:"image",title:a("COM_SPPAGEBUILDER_EDITOR_MEDIA_MANAGER_MEDIA_IMAGES")},{name:"video",icon:"videoCameraDuo",title:a("COM_SPPAGEBUILDER_EDITOR_MEDIA_MANAGER_MEDIA_VIDEOS")},{name:"audio",icon:"music",title:a("COM_SPPAGEBUILDER_EDITOR_MEDIA_MANAGER_MEDIA_AUDIOS")},{name:"attachment",icon:"paperclip",title:a("COM_SPPAGEBUILDER_EDITOR_MEDIA_MANAGER_MEDIA_ATTACHMENTS")},{name:"folders",icon:"foldersDuo",title:a("COM_SPPAGEBUILDER_EDITOR_MEDIA_MANAGER_MEDIA_FOLDERS")}];return(0,s.BX)("div",{css:at.sidebar({isInsideModal:n}),children:[n&&(0,s.BX)("div",{css:at.sidebarUploadButton,children:[(0,s.tZ)(Z.Z,{icon:(0,s.tZ)(x.Z,{name:"upload"}),onClick:function(){var e;null===(e=l.current)||void 0===e||e.click()},disabled:!u.create,children:a("COM_SPPAGEBUILDER_EDITOR_MEDIA_MANAGER_SIDEBAR_UPLOAD_FILES")}),(0,s.tZ)("input",{ref:l,type:"file",multiple:!0,"aria-hidden":"true",hidden:!0,onChange:function(e){var t,r=e.target.files;u.create&&r&&(i(function(e){if(Array.isArray(e))return ot(e)}(t=r)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return ot(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ot(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),e.target.value="")}})]}),(0,s.tZ)("div",{css:at.sidebarItemWrapper,children:d.map((function(e){return(0,s.tZ)(Z.Z,{variant:"text",buttonCss:at.sidebarItem({isActive:t===e.name,isInsideModal:n}),icon:(0,s.tZ)(x.Z,{name:e.icon,height:24,width:24}),onClick:function(){return o(e.name)},children:e.title},e.name)}))})]})};var at={sidebar:function(e){var t=e.isInsideModal,r=void 0===t||t;return(0,i.iv)("display:flex;flex-direction:column;height:316px;",r&&(0,i.iv)("background-color:",n.qo.base.white,";border-radius:",n.E0[5],";box-shadow:",n.AF.card,";;label:sidebar;"),";;label:sidebar;")},sidebarUploadButton:(0,i.iv)("padding:",n.W0[16],";border-bottom:1px solid ",n.qo.stroke.neutral,";button{",L.iZ.flexCenter(),";width:100%;svg{margin-right:",n.W0[2],";}};label:sidebarUploadButton;"),sidebarItemWrapper:(0,i.iv)(o.c.body(),";display:flex;flex-direction:column;;label:sidebarItemWrapper;"),sidebarItem:function(e){var t=e.isActive,r=void 0!==t&&t,o=e.isInsideModal,a=void 0===o||o;return(0,i.iv)("padding:0;height:40px;gap:",n.W0[12],";transition:background-color 0.3s ease,color 0.3s ease,border-radius 0.3s ease;",a&&(0,i.iv)("padding:0 ",n.W0[16],";;label:sidebarItem;")," svg{color:",n.qo.icon.default,";margin-right:",n.W0[8],";transition:color 0.3s ease;}",r&&(0,i.iv)(a&&(0,i.iv)("background-color:",n.qo.base.surface,";;label:sidebarItem;")," color:",n.qo.text.primary,";border-radius:0;svg{color:",n.qo.icon.primary,";};label:sidebarItem;")," ",!r&&(0,i.iv)(":hover{background-color:",n.qo.base.surface,";color:",n.qo.text.hover,";border-radius:0;svg{color:",n.qo.icon.hover,";}};label:sidebarItem;"),";;label:sidebarItem;")}};function lt(e){return lt="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},lt(e)}function ct(){ct=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,o){var i=t&&t.prototype instanceof p?t:p,a=Object.create(i.prototype),l=new _(o||[]);return n(a,"_invoke",{value:O(e,r,l)}),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var d={};function p(){}function f(){}function v(){}var h={};c(h,i,(function(){return this}));var b=Object.getPrototypeOf,y=b&&b(b(C([])));y&&y!==t&&r.call(y,i)&&(h=y);var m=v.prototype=p.prototype=Object.create(h);function g(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function o(n,i,a,l){var c=s(e[n],e,i);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==lt(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){o("next",e,a,l)}),(function(e){o("throw",e,a,l)})):t.resolve(d).then((function(e){u.value=e,a(u)}),(function(e){return o("throw",e,a,l)}))}l(c.arg)}var i;n(this,"_invoke",{value:function(e,r){function n(){return new t((function(t,n){o(e,r,t,n)}))}return i=i?i.then(n,n):n()}})}function O(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var l=E(a,r);if(l){if(l===d)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=s(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===d)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function E(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,E(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),d;var o=s(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,d;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function C(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:I}}function I(){return{value:void 0,done:!0}}return f.prototype=v,n(m,"constructor",{value:v,configurable:!0}),n(v,"constructor",{value:f,configurable:!0}),f.displayName=c(v,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,c(e,l,"GeneratorFunction")),e.prototype=Object.create(m),e},e.awrap=function(e){return{__await:e}},g(w.prototype),c(w.prototype,a,(function(){return this})),e.AsyncIterator=w,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new w(u(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},g(m),c(m,l,"Generator"),c(m,i,(function(){return this})),c(m,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=C,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(l&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:C(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},e}function ut(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function st(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ut(Object(r),!0).forEach((function(t){dt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ut(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function dt(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==lt(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==lt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===lt(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pt(e,t,r,n,o,i,a){try{var l=e[i](a),c=l.value}catch(e){return void r(e)}l.done?t(c):Promise.resolve(c).then(n,o)}function ft(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){pt(i,n,o,a,l,"next",e)}function l(e){pt(i,n,o,a,l,"throw",e)}a(void 0)}))}}function vt(e){return function(e){if(Array.isArray(e))return yt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||bt(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ht(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||bt(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function bt(e,t){if(e){if("string"==typeof e)return yt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?yt(e,t):void 0}}function yt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const mt=function(e){var t,r,n=e.isInsideModal,o=void 0===n||n,i=e.initialCategory,a=void 0===i?"image":i,l=e.isInInsertMode,u=e.allowedMediaType,d=e.files,p=e.clearFile,f=void 0===p?se.ZT:p,v=e.closeModal,h=void 0===v?se.ZT:v,b=e.onInsert,y=void 0===b?se.ZT:b,m=(0,I.$)(),g={link:null,text:m("COM_SPPAGEBUILDER_EDITOR_MEDIA_MANAGER_MEDIA_ALL_ITEMS")},w=(0,q.v)((function(e){return e.appConfig})),O=w.media_path,_=w.media_upload_max_size,C=ht((0,c.useState)(a),2),A=C[0],P=C[1],L=ht((0,c.useState)([]),2),j=L[0],T=L[1],Q=ht((0,c.useState)([g]),2),J=Q[0],te=Q[1],re=ht((0,c.useState)(!1),2),ne=re[0],ae=re[1],ce=ht((0,c.useState)(O),2),ue=ce[0],de=ce[1],pe=ht((0,c.useState)([]),2),fe=pe[0],be=pe[1],ye=ht((0,c.useState)([]),2),me=ye[0],ge=ye[1],we=(0,c.useRef)(null),Oe=ht((0,c.useState)([]),2),Ee=Oe[0],xe=Oe[1],Se=(0,F.Q)(),_e=(0,G.Z)(),Ce=_e.intersectionEntry,Ie=_e.intersectionElementRef,Ae=(0,R.g)(),Pe=(0,S.p)().showToast,Le=(0,N.O)({defaultValues:{search:"",filter:""}}),De=Le.watch(),je=De.search,Te=De.filter,Ze=(0,W.N)(je),Be=function(e){var t=(0,S.p)().showToast;return(0,$.N)({queryKey:["MediaList",e],queryFn:function(t){var r=t.pageParam,n=void 0===r?1:r;return function(e){return Y.u.get(z.H.MEDIA,{params:e}).then((function(e){return e.data}))}(ee(ee({},e),{},{page:n}))},getNextPageParam:function(e,t){return e.pageNav?t.length+1:void 0},enabled:"folders"!==e.type,onError:function(e){t({type:"danger",message:e.message})}})}({type:A,search:Ze,date:Te}),Me=function(e){var t=(0,S.p)().showToast;return(0,V.a)({queryKey:["FolderList",e],queryFn:function(){return function(e){return Y.u.get(z.H.MEDIA_FOLDERS,{params:e}).then((function(e){return e.data}))}(e)},enabled:"folders"===e.type,onError:function(e){t({type:"danger",message:e.message})}})}({type:A,filter:Te,path:ue}),ke=function(){var e=(0,K.NL)(),t=(0,I.$)(),r=(0,S.p)().showToast;return(0,X.D)({mutationFn:ie,onSuccess:function(){r({type:"success",message:t("COM_SPPAGEBUILDER_EDITOR_FILE_UPLOAD_SUCCESS_MESSAGE")}),e.invalidateQueries(["MediaList"]),e.invalidateQueries(["FolderList"])},onError:function(e){r({type:"danger",message:e.message})}})}(),Re=(0,c.useMemo)((function(){var e,t;return null!==(e=null===(t=Be.data)||void 0===t?void 0:t.pages.flatMap((function(e){return e.items})))&&void 0!==e?e:[]}),[null===(t=Be.data)||void 0===t?void 0:t.pages]);(0,c.useEffect)((function(){null!=Ce&&Ce.isIntersecting&&Be.fetchNextPage()}),[null==Ce?void 0:Ce.isIntersecting]),(0,c.useEffect)((function(){var e=we.current,t=function(e){e.stopPropagation(),ne||ae(!0)},r=function(e){e.stopPropagation(),ae(!1)};return null==e||e.addEventListener("dragenter",t),null==e||e.addEventListener("dragleave",r),function(){null==e||e.removeEventListener("dragenter",t),null==e||e.removeEventListener("dragleave",r)}}),[]),(0,c.useEffect)((function(){var e,t,r,n;if("folders"===A){var o=null!==(e=null===(t=Me.data)||void 0===t?void 0:t.folders.map((function(e){return{label:e.relname,value:e.relname}})))&&void 0!==e?e:[];ge([{label:O,value:O}].concat(vt(o)));var i=null!==(r=null===(n=Me.data)||void 0===n?void 0:n.breadcrumbs.map((function(e){return{link:e.path,text:e.label}})))&&void 0!==r?r:[];te([{link:null,text:m("COM_SPPAGEBUILDER_EDITOR_MEDIA_MANAGER_MEDIA_FOLDERS")}].concat(vt(i)))}}),[null===(r=Me.data)||void 0===r?void 0:r.breadcrumbs,A]),(0,c.useEffect)((function(){if("folders"===A)Le.setValue("filter",O);else{var e,t,r=null!==(e=null===(t=Be.data)||void 0===t?void 0:t.pages[0].filters.map((function(e){var t="".concat(e.year,"-").concat(e.month);return{label:t,value:t}})))&&void 0!==e?e:[];ge([{label:m("COM_SPPAGEBUILDER_EDITOR_MEDIA_MANAGER_FILTER_ALL"),value:""}].concat(vt(r)))}}),[Be.data,O,A]),(0,c.useEffect)((function(){null!=d&&d.length&&ft(ct().mark((function e(){var t;return ct().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!he(d,_)){e.next=6;break}return Pe({type:"danger",message:m("COM_SPPAGEBUILDER_EDITOR_MEDIA_MANAGER_MEDIA_LARGE",{size:(0,se.td)(_)})}),xe([]),f(),e.abrupt("return");case 6:return t=ve(d),xe(t),e.next=10,ke.mutateAsync(st({file:d},"folders"===A&&{folder:ue}));case 10:xe([]),f();case 12:case"end":return e.stop()}}),e)})))()}),[d]);var We,Ne,Ge,Fe,Ue,He,qe,ze,Ve=o&&l&&(1===j.length||1===fe.length)&&!!(qe="folders"!==A?Re.find((function(e){return j.includes(e.id)})):null===(ze=Me.data)||void 0===ze?void 0:ze.items.find((function(e){return fe[0].path===e.path})))&&("*"===u&&"folders"!==qe.type||qe.type===u),$e=!!Ze||!!Te,Ke=ne||!Be.isLoading&&0===Re.length&&0===Ee.length&&!$e,Xe={image:m("COM_SPPAGEBUILDER_EDITOR_MEDIA_MANAGER_IMAGES"),video:m("COM_SPPAGEBUILDER_EDITOR_MEDIA_MANAGER_VIDEOS"),audio:m("COM_SPPAGEBUILDER_EDITOR_MEDIA_MANAGER_AUDIOS"),attachment:m("COM_SPPAGEBUILDER_EDITOR_MEDIA_MANAGER_ATTACHMENTS"),folders:m("COM_SPPAGEBUILDER_EDITOR_MEDIA_MANAGER_FOLDERS")},Ye=!Ke&&!Be.isLoading&&!!Be.hasNextPage;return(0,s.BX)("div",{css:Et.wrapper({isInsideModal:o}),children:[(0,s.tZ)(it,{isInsideModal:o,selectedCategory:A,onChange:function(e){P(e),T([]),be([]),Le.reset(),"*"!==e&&"folders"!==e&&te([g,{link:null,text:Xe[e]}]),"folders"===e&&de("/images")},onMediaUpload:function(){var e=ft(ct().mark((function e(t){var r;return ct().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!he(t,_)){e.next=6;break}return Pe({type:"danger",message:m("COM_SPPAGEBUILDER_EDITOR_MEDIA_MANAGER_MEDIA_LARGE",{size:(0,se.td)(_)})}),xe([]),f(),e.abrupt("return");case 6:return r=ve(t),xe(r),e.next=10,ke.mutateAsync(st({file:t},"folders"===A&&{folder:ue}));case 10:xe([]);case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()}),(0,s.BX)("div",{css:Et.rightSideWrapper,children:[(0,s.BX)("div",{css:Et.filterWrapper({isInsideModal:o}),children:[(0,s.tZ)("div",{css:Et.textInputWrapper,children:(0,s.tZ)(D.Qr,{control:Le.control,name:"search",render:function(e){return(0,s.tZ)(k.Z,st(st({},e),{},{variant:"search",placeholder:m("COM_SPPAGEBUILDER_EDITOR_MEDIA_MANAGER_SEARCH_PLACEHOLDER"),disabled:"folders"===A,isClearable:!0}))}})}),(0,s.tZ)("div",{css:Et.selectWrapper,children:(0,s.tZ)(D.Qr,{control:Le.control,name:"filter",render:function(e){return(0,s.tZ)(M.Z,st(st({},e),{},{options:me,onChange:function(e){return de(e.value)},isClearable:!1}))}})})]}),(0,s.BX)("div",{css:Et.topPanel,children:[(0,s.tZ)(B.Z,{routes:J,onFilterChange:function(e){"folders"===A&&de(e)}}),(j.length>0||fe.length>0)&&(0,s.BX)("div",{css:Et.topPanelActionsWrapper,children:[(0,s.tZ)("p",{children:m(j.length+fe.length>1?"COM_SPPAGEBUILDER_EDITOR_MEDIA_ITEMS_SELECTED":"COM_SPPAGEBUILDER_EDITOR_MEDIA_ITEM_SELECTED",{numberOfItems:j.length+fe.length})}),(0,s.tZ)("div",{children:(0,s.tZ)(Z.Z,{icon:(0,s.tZ)(x.Z,{name:"trash",height:16,width:16}),disabled:!Se.delete,onClick:ft(ct().mark((function e(){var t,r;return ct().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=fe,"folders"===A){e.next=6;break}if(Be.data){e.next=4;break}return e.abrupt("return");case 4:r=Re.filter((function(e){return j.includes(e.id)})),t=r.map((function(e){return st(st({},e),{},{type:"local+db"})}));case 6:return e.next=8,Ae({title:m("COM_SPPAGEBUILDER_EDITOR_MEDIA_MANAGER_MODAL_CONSENT_TITLE"),confirmationMessage:m("COM_SPPAGEBUILDER_EDITOR_MEDIA_MANAGER_MODAL_CONSENT_CONFIRM_MESSAGE"),confirmButtonText:m("COM_SPPAGEBUILDER_EDITOR_MEDIA_MANAGER_MODAL_CONSENT_CONFIRM_BUTTON_TEXT"),mutationFn:oe,payload:{data:t},invalidateKeys:[["MediaList"],["FolderList"]]});case 8:if("CONFIRM"===e.sent.action){e.next=12;break}return e.abrupt("return");case 12:Pe({type:"success",message:m("COM_SPPAGEBUILDER_EDITOR_FILE_DELETE_SUCCESS_MESSAGE")}),"folders"===A?be([]):T([]);case 14:case"end":return e.stop()}}),e)}))),children:m("COM_SPPAGEBUILDER_EDITOR_BUTTON_TEXT_DELETE")})})]})]}),(0,s.tZ)("div",{ref:we,css:Et.droppableContainer({isInsideModal:o}),children:(0,s.tZ)(H.Z,{query:"folders"===A?Me:Be,children:Ke?(0,s.tZ)("div",{css:Et.mediaDropzoneWrapper({isInsideModal:o}),children:(0,s.tZ)(U.Z,{onUpload:function(){var e=ft(ct().mark((function e(t){var r;return ct().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!he(t,_)){e.next=6;break}return Pe({type:"danger",message:m("COM_SPPAGEBUILDER_EDITOR_MEDIA_MANAGER_MEDIA_LARGE",{size:(0,se.td)(_)})}),xe([]),f(),e.abrupt("return");case 6:return r=ve(t),xe(r),ae(!1),e.next=11,ke.mutateAsync(st({file:t},"folders"===A&&{folder:ue}));case 11:xe([]);case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),onDragLeave:function(){return ae(!1)},multiple:!0,disabled:!Se.create})}):"folders"===A?(0,s.tZ)(Qe,{folders:null!==(We=null===(Ne=Me.data)||void 0===Ne?void 0:Ne.folders)&&void 0!==We?We:[],foldersList:null!==(Ge=null===(Fe=Me.data)||void 0===Fe?void 0:Fe.folders_list)&&void 0!==Ge?Ge:[],items:[].concat(vt(Ee),vt(null!==(Ue=null===(He=Me.data)||void 0===He?void 0:He.items)&&void 0!==Ue?Ue:[])),filter:ue,selectedFolders:fe,onSelectedFolders:function(e){return be(e)},onFilterChange:function(e){de(e),be([])},onDeleteFolder:function(){var e=ft(ct().mark((function e(t){var r;return ct().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r={folder:t.path,deleteItem:"multiple"},e.next=3,Ae({title:m("COM_SPPAGEBUILDER_EDITOR_MEDIA_MANAGER_MODAL_CONSENT_TITLE"),confirmationMessage:m("COM_SPPAGEBUILDER_EDITOR_MEDIA_MANAGER_MODAL_CONSENT_CONFIRM_MESSAGE"),confirmButtonText:m("COM_SPPAGEBUILDER_EDITOR_MEDIA_MANAGER_MODAL_CONSENT_CONFIRM_BUTTON_TEXT"),mutationFn:le,payload:r,invalidateKeys:[["MediaList"],["FolderList"]]});case 3:"CONFIRM"===e.sent.action&&(Pe({type:"success",message:m("COM_SPPAGEBUILDER_EDITOR_MEDIA_MANAGER_FOLDER_DELETE_SUCCESS")}),be([]));case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),onFileDelete:function(){var e=ft(ct().mark((function e(t){return ct().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ae({title:m("COM_SPPAGEBUILDER_EDITOR_MEDIA_MANAGER_MODAL_CONSENT_TITLE"),confirmationMessage:m("COM_SPPAGEBUILDER_EDITOR_MEDIA_MANAGER_MODAL_CONSENT_CONFIRM_MESSAGE"),confirmButtonText:m("COM_SPPAGEBUILDER_EDITOR_MEDIA_MANAGER_MODAL_CONSENT_CONFIRM_BUTTON_TEXT"),mutationFn:oe,payload:{data:[st(st({},t),{},{type:"local"})]},invalidateKeys:[["MediaList"],["FolderList"]]});case 2:"CONFIRM"===e.sent.action&&(Pe({type:"success",message:m("COM_SPPAGEBUILDER_EDITOR_FILE_DELETE_SUCCESS_MESSAGE")}),T([]));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),isLoading:!1}):Be.isLoading?(0,s.tZ)(E.fz,{}):(0,s.tZ)(s.HY,{children:(0,s.tZ)(tt,{ref:Ie,isInfiniteLoaderVisible:Ye,mediaItems:[].concat(vt(Ee),vt(Re)),selectedItemIds:j,onSelectionChange:function(e){j.includes(e)?T((function(t){return t.filter((function(t){return t!==e}))})):T((function(t){return[].concat(vt(t),[e])}))},isFilterApplied:!!Ze||!!Te,onDelete:function(){var e=ft(ct().mark((function e(t){return ct().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ae({title:m("COM_SPPAGEBUILDER_EDITOR_MEDIA_MANAGER_MODAL_CONSENT_TITLE"),confirmationMessage:m("COM_SPPAGEBUILDER_EDITOR_MEDIA_MANAGER_MODAL_CONSENT_CONFIRM_MESSAGE"),confirmButtonText:m("COM_SPPAGEBUILDER_EDITOR_MEDIA_MANAGER_MODAL_CONSENT_CONFIRM_BUTTON_TEXT"),mutationFn:oe,payload:{data:[st(st({},t),{},{type:"local+db"})]},invalidateKeys:[["MediaList"],["FolderList"]]});case 2:"CONFIRM"===e.sent.action&&(Pe({type:"success",message:m("COM_SPPAGEBUILDER_EDITOR_FILE_DELETE_SUCCESS_MESSAGE")}),T([]));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()})})})})]}),Ve&&(0,s.BX)("div",{css:Et.footerWrapper,children:[(0,s.tZ)(Z.Z,{onClick:function(){var e,t;(e="folders"!==A?Re.find((function(e){return j.includes(e.id)})):null===(t=Me.data)||void 0===t?void 0:t.items.find((function(e){return fe[0].path===e.path})))&&(y(e),h())},children:m("COM_SPPAGEBUILDER_EDITOR_INSERT")}),(0,s.tZ)(Z.Z,{variant:"secondary",onClick:function(){return T([])},children:m("COM_SPPAGEBUILDER_EDITOR_CANCEL")})]})]})};var gt={name:"kf3hau-mediaDropzoneWrapper",styles:"padding-right:0;label:mediaDropzoneWrapper;"},wt={name:"1lytjnr-droppableContainer",styles:"min-height:350px;label:droppableContainer;"},Ot={name:"1ce2508-filterWrapper",styles:"padding-right:0;label:filterWrapper;"},Et={wrapper:function(e){var t=e.isInsideModal,r=void 0===t||t;return(0,i.iv)("display:grid;grid-template-columns:228px auto;gap:",n.W0[32],";height:calc(100vh - 130px);padding:",n.W0[32]," 0 ",n.W0[32]," ",n.W0[24],";background-color:",n.qo.background.primary,";position:relative;",!r&&(0,i.iv)("padding:",n.W0[24]," 0;grid-template-columns:180px auto;;label:wrapper;"),";;label:wrapper;")},rightSideWrapper:{name:"dhhsr1-rightSideWrapper",styles:"display:flex;flex-direction:column;label:rightSideWrapper;"},filterWrapper:function(e){var t=e.isInsideModal,r=void 0===t||t;return(0,i.iv)("display:flex;justify-content:center;gap:",n.W0[16],";padding-right:",n.W0[24],";",!r&&Ot,";;label:filterWrapper;")},textInputWrapper:{name:"1r9fuqm-textInputWrapper",styles:"flex:1;label:textInputWrapper;"},selectWrapper:{name:"1u54jb-selectWrapper",styles:"width:160px;label:selectWrapper;"},topPanel:(0,i.iv)("display:flex;justify-content:space-between;align-items:center;gap:",n.W0[8],";height:32px;margin-top:",n.W0[32],";padding-right:",n.W0[24],";;label:topPanel;"),topPanelActionsWrapper:(0,i.iv)("display:flex;justify-content:center;gap:",n.W0[16],";p{",o.c.body("medium"),";margin:auto 0;}button{background-color:",n.qo.base.error,";:hover{background-color:",n.qo.alternate.saturatedRed,";}};label:topPanelActionsWrapper;"),droppableContainer:function(e){var t=e.isInsideModal,r=void 0===t||t;return(0,i.iv)("flex:1;position:relative;padding:",n.W0[20]," 0;",!r&&wt,";;label:droppableContainer;")},mediaDropzoneWrapper:function(e){var t=e.isInsideModal,r=void 0===t||t;return(0,i.iv)("height:max(100%, 512px);padding-right:",n.W0[24],";",!r&>,";;label:mediaDropzoneWrapper;")},footerWrapper:(0,i.iv)("display:flex;justify-content:end;align-items:center;gap:",n.W0[8],";padding:",n.W0[8]," ",n.W0[24],";background-color:",n.qo.background.white,";border-top:1px solid ",n.qo.stroke.neutral,";z-index:",n.W5.positive,";position:absolute;bottom:0;left:0;width:100%;;label:footerWrapper;")};const xt=function(e){var t=e.title,r=e.closeModal,n=e.initialCategory,o=void 0===n?"image":n,i=e.isInInsertMode,a=void 0===i||i,l=e.allowedMediaType,c=void 0===l?"image":l,u=e.onInsert,d=void 0===u?se.ZT:u,p=(0,I.$)();return(0,s.tZ)(me.Z,{onClose:function(){return r({action:"CLOSE"})},title:null!=t?t:p("COM_SPPAGEBUILDER_EDITOR_MEDIA_MANAGER_MODAL_TITLE"),isOverflowYAuto:!1,wrapperCss:_t.wrapper,children:(0,s.tZ)(mt,{isInInsertMode:a,initialCategory:o,allowedMediaType:c,onInsert:d,closeModal:function(){return r()}})})};var St,_t={wrapper:{name:"ia4w6y-wrapper",styles:"max-width:1360px;label:wrapper;"}};function Ct(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const It=function(){var e,t,r=(0,I.$)(),n=(0,Ie.d)().showModal,o=(0,c.useRef)(null),i=(0,S.p)().showToast,a=(0,D.Gc)(),l=(e=(0,A.j)((function(e){return[e.actions,e.activeAction,e.setActiveAction]})),t=3,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ct(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ct(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=l[0],d=l[1],p=l[2],f=(0,P.o)((function(e){return e.copiedData})),v=(0,P.o)((function(e){return e.resetCopiedData})),h=u.find((function(e){return"documentation"===e.key})),b=!!f.addon||!!f.section;return(0,s.BX)("div",{css:jt.wrapper,children:[(0,s.BX)("div",{css:jt.itemsWrapper,children:[u.map((function(e){if("documentation"!==e.key){var t="add-elements"===e.key||"section-library"===e.key;return(0,s.BX)("button",{css:jt.item({isActive:e.key===d,isRotate:t}),onClick:function(){var o=t?["add-elements","section-library"].includes(d)?void 0:e.key:d===e.key?void 0:e.key;return p(o),"layouts"===e.key?(n({component:T.Z,props:{title:r("COM_SPPAGEBUILDER_EDITOR_LAYOUT_MODAL_LAYOUTS"),form:a},closeOnOutsideClick:!0}),void p(void 0)):"media"===e.key?(n({component:xt,props:{isInInsertMode:!1},closeOnOutsideClick:!0}),void p(void 0)):void 0},children:[(0,s.tZ)(x.Z,{name:e.icon,width:20,height:20,style:jt.iconStyle}),(0,s.tZ)("span",{children:r(e.title)})]},e.key)}})),(0,s.tZ)("button",{type:"button",disabled:!b,css:jt.cleanerButton({isActive:b}),onClick:function(){v(),i({type:"success",message:r("COM_SPPAGEBUILDER_EDITOR_ACTION_CLEARED_CLIPBOARD_MESSAGE")})},children:(0,s.BX)(_.Z,{content:r("COM_SPPAGEBUILDER_EDITOR_ACTION_PANEL_CLEAR_CLIPBOARD_TOOLTIP"),placement:"right",disabled:!b,reference:o,children:[(0,s.tZ)(x.Z,{name:"broom",width:40,height:40}),(0,s.tZ)("span",{css:jt.ripple})]})})]}),h&&(0,s.BX)(j.rU,{to:C.sD,target:"_blank",rel:"noopener noreferrer",css:jt.item({isActive:!1,isLastChild:!0}),children:[(0,s.tZ)(x.Z,{name:h.icon,width:20,height:20,style:jt.iconStyle}),(0,s.tZ)("span",{children:r(h.title)})]})]})};var At,Pt,Lt={ripple:(0,i.F4)(St||(At=["\n 0% {\n opacity: 0.35;\n transform: scale(1);\n }\n 100% {\n opacity: 0;\n transform: scale(2);\n }\n "],Pt||(Pt=At.slice(0)),St=Object.freeze(Object.defineProperties(At,{raw:{value:Object.freeze(Pt)}}))))},Dt={name:"1x2nqsn-item",styles:"svg{transform:rotate(45deg);};label:item;"},jt={wrapper:(0,i.iv)("display:flex;flex-direction:column;justify-content:space-between;height:100%;border-right:1px solid ",n.qo.stroke.neutral,";;label:wrapper;"),itemsWrapper:{name:"1wtd5hv-itemsWrapper",styles:"display:flex;flex-direction:column;label:itemsWrapper;"},item:function(e){var t=e.isActive,r=void 0!==t&&t,a=e.isLastChild,l=void 0!==a&&a,c=e.isRotate,u=void 0!==c&&c;return(0,i.iv)(L.iZ.resetButton,";",L.iZ.flexCenter(),";flex-direction:column;gap:",n.W0[8],";text-align:center;min-height:101px;padding:",n.W0[16]," ",n.W0[12],";border-bottom:1px solid ",n.qo.stroke.neutral,";",!r&&(0,i.iv)("&:hover{background-color:",n.qo.background.neutral,";};label:item;")," svg{transition:transform 0.3s ease;}",r&&(0,i.iv)("&>svg,&>span{color:",n.qo.base.primary,"!important;}",u&&Dt,";;label:item;"),";",l&&(0,i.iv)("border-top:1px solid ",n.qo.stroke.neutral,";;label:item;")," &>span{",o.c.caption("medium"),";};label:item;")},iconStyle:(0,i.iv)("color:",n.qo.icon.default,";;label:iconStyle;"),ripple:(0,i.iv)("position:absolute;width:40px;height:40px;top:50%;left:50%;transform:translate(-50%, -50%);z-index:-1;:before{content:'';position:absolute;inset:0;background-color:",n.qo.base.primary,";border-radius:100%;z-index:-1;opacity:0;}:after{content:'';position:absolute;inset:0;background-color:",n.qo.base.primary,";transform:scale(2);border-radius:100%;animation-delay:1s;z-index:-1;opacity:0;};label:ripple;"),cleanerButton:function(e){var t=e.isActive;return(0,i.iv)(L.iZ.resetButton,";min-height:101px;display:flex;align-items:center;justify-content:center;position:relative;path{color:",n.qo.action.primary.default,";transition:color 0.3s ease;}",t&&(0,i.iv)("span{:before,:after{animation:",Lt.ripple," 1s ease-out;}};label:cleanerButton;")," :hover{",t&&(0,i.iv)("path{color:",n.qo.action.primary.hover,";};label:cleanerButton;"),";}",!t&&(0,i.iv)("path{color:",n.qo.icon.disabled,";};label:cleanerButton;"),";;label:cleanerButton;")}},Tt=r(4924),Zt=r(8138),Bt=r(9250),Mt=r(2599),kt=function(){var e=(0,Bt.TH)(),t=(0,Mt.fp)(Sd,e);if(!(0,se.$K)(t))return e.pathname;var r=t.find((function(t){return t.pathname===e.pathname}));return(null==r?void 0:r.route.path)||""};const Rt=r.p+"images/25111c477863d51f6425.svg",Wt=r.p+"images/8371734f429ed1f93a89.png";var Nt=r(270),Gt=r(782),Ft=(0,Nt.Ue)()((0,Gt.mW)((function(e){return{isActive:!0,toggleIsActive:function(){return e((function(e){return{isActive:!e.isActive}}))},setIsActive:function(t){return e((function(){return{isActive:t}}))}}})));function Ut(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Ht=[{title:"COM_SPPAGEBUILDER_EDITOR_DASHBOARD_SIDEBAR_MENU_PAGES",icon:"filesDuo",route:Zt.F.Home.buildLink(),id:"pages",pathNames:[Zt.F.Home.template,Zt.F.PageList.template]},{title:"COM_SPPAGEBUILDER_EDITOR_DASHBOARD_SIDEBAR_MENU_ADDONS",icon:"addonDuo",route:Zt.F.Addons.buildLink(),id:"addons",pathNames:[Zt.F.Addons.template]},{title:"COM_SPPAGEBUILDER_EDITOR_DASHBOARD_SIDEBAR_MENU_CUSTOM_ICONS",icon:"iconsDuo",route:Zt.F.CustomIcons.buildLink(),id:"custom-icons",showProBadge:se.Eu,pathNames:[Zt.F.CustomIcons.template]},{title:"COM_SPPAGEBUILDER_EDITOR_DASHBOARD_SIDEBAR_MENU_FONT_BOOK",icon:"fontBook",route:Zt.F.GoogleFonts.buildLink(),id:"font-book",pathNames:[Zt.F.GoogleFonts.template,Zt.F.InstalledFonts.template]},{title:"COM_SPPAGEBUILDER_EDITOR_DASHBOARD_SIDEBAR_MENU_MEDIA_MANAGER",icon:"media",route:Zt.F.MediaManager.buildLink(),id:"media-manager",pathNames:[Zt.F.MediaManager.template]},{title:"COM_SPPAGEBUILDER_EDITOR_DASHBOARD_SIDEBAR_MENU_INTEGRATIONS",icon:"integrationsDuo",route:Zt.F.Integrations.buildLink(),id:"integrations",pathNames:[Zt.F.Integrations.template]},{title:"COM_SPPAGEBUILDER_EDITOR_DASHBOARD_SIDEBAR_MENU_LANGUAGES",icon:"languagesDuo",route:Zt.F.Languages.buildLink(),id:"languages",pathNames:[Zt.F.Languages.template]},{title:"COM_SPPAGEBUILDER_EDITOR_DASHBOARD_SIDEBAR_MENU_SETTINGS",icon:"cog",route:Zt.F.Settings.buildLink(),id:"settings",pathNames:[Zt.F.Settings.template,Zt.F.License.template,Zt.F.ColorsLibrary.template]}];const qt=function(){var e,t,r=(0,I.$)(),n=(e=(0,c.useState)(!0),t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ut(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ut(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=n[0],i=n[1],a=Ft((function(e){return e.isActive})),l=(0,q.v)((function(e){return e.appConfig})),u=kt();return(0,c.useEffect)((function(){var e;return a?e=setTimeout((function(){i(!0)}),400):i(!1),function(){return clearTimeout(e)}}),[a]),(0,s.tZ)("div",{css:zt.sidebar(a),children:(0,s.BX)("div",{css:zt.wrapper,children:[(0,s.BX)("div",{children:[(0,s.tZ)("div",{css:zt.contents,children:Ht.map((function(e){return(0,s.BX)(j.rU,{css:zt.item(e.pathNames.includes(u)),to:e.route,children:[(0,s.tZ)(x.Z,{name:e.icon,width:16,height:16}),(0,s.tZ)("span",{children:r(e.title)}),e.showProBadge&&(0,s.tZ)(Tt.Z,{size:"small",isInline:!0})]},e.id)}))}),se.Eu&&!l.is_pre_release&&(0,s.tZ)("div",{css:zt.proBanner,children:(0,s.tZ)("a",{href:C._y,target:"_blank",rel:"noreferrer",children:(0,s.tZ)("img",{src:Wt,alt:"upgrade to pro"})})}),l.is_pre_release&&o&&(0,s.tZ)("div",{css:zt.feedback,"data-feedback":!0,children:(0,s.BX)("div",{css:zt.feedbackInner,children:[(0,s.tZ)("img",{src:Rt,alt:r("COM_SPPAGEBUILDER_EDITOR_FEEDBACK_ALT_TEXT")}),(0,s.tZ)("h5",{children:r("COM_SPPAGEBUILDER_EDITOR_FEEDBACK_TITLE")}),(0,s.tZ)("p",{children:r("COM_SPPAGEBUILDER_EDITOR_FEEDBACK_SUBTITLE")}),(0,s.BX)("a",{href:"https://docs.google.com/forms/d/e/1FAIpQLSc44TV-Y6-203rkL13cdzs3Js9EBm1kZmNUHpDf2zp0YgS27w/viewform",target:"_blank",rel:"noopener noreferrer",css:zt.submitFeedbackButton,children:[(0,s.tZ)(x.Z,{name:"comment"}),(0,s.tZ)("span",{children:r("COM_SPPAGEBUILDER_EDITOR_FEEDBACK_SUBMIT_BUTTON")})]})]})})]}),(0,s.tZ)("span",{css:zt.version,children:r("COM_SPPAGEBUILDER_EDITOR_DASHBOARD_SIDEBAR_VERSION",{version:l.version})})]})})};var zt={wrapper:(0,i.iv)("background-color:",n.qo.background.neutral,";border-right:1px solid ",n.qo.stroke.neutral,";width:100%;height:100%;display:flex;flex-direction:column;justify-content:space-between;box-shadow:",n.AF.popover,";;label:wrapper;"),feedback:(0,i.iv)("padding:",n.W0[20],";opacity:1;transition:opacity 0.4s ease;;label:feedback;"),feedbackInner:(0,i.iv)("background-color:",n.qo.background.white,";border-radius:",n.E0[8],";padding:",n.W0[16]," ",n.W0[12],";text-align:center;display:flex;flex-direction:column;gap:",n.W0[8],";h5{",o.c.body("medium"),";}p{",o.c.caption(),";color:",n.qo.text.neutral,";};label:feedbackInner;"),submitFeedbackButton:(0,i.iv)(L.iZ.resetButton,";padding:",n.W0[6]," ",n.W0[12],";display:flex;align-items:center;gap:",n.W0[4],";background-color:",n.qo.icon.success,";color:",n.qo.text.white,";border-radius:",n.E0[8],";margin-top:",n.W0[4],";:hover{color:",n.qo.text.white,";}span:last-of-type{",o.c.body("medium"),";color:",n.qo.text.white,";white-space:nowrap;overflow:hidden;};label:submitFeedbackButton;"),sidebar:function(e){return(0,i.iv)("position:fixed;top:",C.g3,"px;left:0;width:",e?C.ZR:0,"px;height:calc(100vh - ",C.g3,"px);transition:margin-left 0.4s ease-out,width 0.4s ease-out;z-index:",n.W5.sidebar,";",!e&&(0,i.iv)("margin-left:-",C.ZR,"px;[data-feedback]{opacity:0;};label:sidebar;"),";;label:sidebar;")},contents:(0,i.iv)("display:flex;flex-direction:column;padding-block:",n.W0[16],";gap:",n.W0[4],";;label:contents;"),item:function(e){return(0,i.iv)("display:flex;align-items:center;gap:",n.W0[12],";padding:",n.W0[8]," ",n.W0[20],";transition:background-color 0.3s ease;span:first-of-type{",o.c.body(),";color:",n.qo.text.neutral,";}svg{color:",n.qo.icon.default,";}:hover{background-color:",n.qo.base.white,";span:first-of-type{color:",n.qo.text.primary,";}svg{color:",n.qo.text.primary,";}}",e&&(0,i.iv)("background-color:",n.qo.base.white,";span:first-of-type{color:",n.qo.text.primary,";}svg{color:",n.qo.text.primary,";};label:item;"),";;label:item;")},version:(0,i.iv)(o.c.caption(),";padding:",n.W0[16]," ",n.W0[20],";color:",n.qo.text.hints,";;label:version;"),proBanner:(0,i.iv)("padding:",n.W0[20],";>a{width:100%;>img{width:100%;}};label:proBanner;")},Vt=r(9752),$t=r(5587);function Kt(e){return Kt="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},Kt(e)}function Xt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Yt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Xt(Object(r),!0).forEach((function(t){Qt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Xt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Qt(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==Kt(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==Kt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Kt(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const er=function(e){var t,r,n=e.children,o=e.sections,i=(0,Vt.Dy)((0,Vt.VT)(Vt.we,{activationConstraint:{distance:15}}),(0,Vt.VT)(Vt.MA,{activationConstraint:{distance:15}}),(0,Vt.VT)(Vt.Lg,{coordinateGetter:$t.is})),a=(t=(0,c.useState)(null),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,r)||function(e,t){if(e){if("string"==typeof e)return Jt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Jt(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),l=a[0],u=a[1],d=(0,c.useRef)(null),p=(0,c.useRef)(!1),f=(0,c.useCallback)((function(e){var t,r,n,i;if(l&&(null===(t=e.active.data.current)||void 0===t?void 0:t.type)===C.t.Section){var a=e.droppableContainers.filter((function(e){return!!o.find((function(t){return t.id===e.id}))}));return(0,Vt.pE)(Yt(Yt({},e),{},{droppableContainers:a}))}if(l&&(null===(r=e.active.data.current)||void 0===r?void 0:r.type)===C.t.Column){var c=e.active.data.current.sectionIndex;if((0,se.$K)(c)){var u=e.droppableContainers.filter((function(e){return!!o[c].columns.find((function(t){return t.id===e.id}))}));return(0,Vt.pE)(Yt(Yt({},e),{},{droppableContainers:u}))}}var s=(0,Vt.j2)(e),f=s.length>0?s:(0,Vt.Xo)(e),v=(0,Vt._8)(f),h=null!==(n=null==v?void 0:v.id)&&void 0!==n?n:null;if((0,se.r3)((0,se.zt)(C.Dw),null===(i=e.active.data.current)||void 0===i?void 0:i.type)){if(null!==v&&null!==h){var b,y,m,g,w=null===(b=e.active.data.current)||void 0===b?void 0:b.type,O=((null===(y=v.data)||void 0===y||null===(m=y.droppableContainer)||void 0===m||null===(g=m.data)||void 0===g?void 0:g.current)||{}).type;if((w===C.Dw.SavedAddonElement||w===C.Dw.SavedSectionElement)&&w===O)return(0,Vt.pE)(e);if(O===C.t.TableItem)return(0,Vt.ey)(e)}return(0,Vt.j2)(e)}if(null!==v&&null!==h){var E,x,S,_=(null===(E=v.data)||void 0===E||null===(x=E.droppableContainer)||void 0===x||null===(S=x.data)||void 0===S?void 0:S.current)||{},I=_.content;if(_.type===C.t.Column){var A=I.addons;if(A.length>0){var P=(0,Vt.pE)(Yt(Yt({},e),{},{droppableContainers:e.droppableContainers.filter((function(e){return e.id!==h&&!!A.find((function(t){return t.id===e.id&&!t.parent}))}))}))[0];(0,se.$K)(P)&&(h=P.id)}}return d.current=h,[{id:h}]}return p.current&&(d.current=l),d.current?[{id:d.current}]:[]}),[l,o]);return(0,s.tZ)(Vt.LB,{sensors:i,collisionDetection:f,measuring:{droppable:{strategy:Vt.uN.Always}},onDragStart:function(e){var t=e.active;return u(t.id)},children:n})};var tr=r(7273);const rr=function(e){var t=e.variant,r=void 0===t?"primary":t,n=e.activeTab,o=e.onChange,i=e.tabList,a=e.disabled,l=void 0!==a&&a,c=e.wrapperCss;return(0,s.tZ)("div",{css:[nr.wrapper(r),c,";label:Tabs;"],role:"tablist",children:i.map((function(e,t){var i=(0,tr.H2)(e.value),a=Array.isArray(n)?(0,se.r3)(n,i):n===i;return(0,s.BX)("button",{onClick:function(){o(e.value)},css:nr.tabButton({variant:r,isActive:a}),tabIndex:a?0:-1,disabled:l||e.disabled,type:"button",role:"tab","aria-selected":a?"true":"false",children:[!!e.label&&(0,s.tZ)("span",{children:e.label}),!!e.icon&&(0,s.tZ)("span",{children:(0,s.tZ)(x.Z,{name:e.icon,width:16,height:16})})]},t)}))})};var nr={wrapper:function(e){return(0,i.iv)("width:100%;display:flex;align-items:center;","primary"===e&&(0,i.iv)("border-bottom:1px solid ",n.qo.stroke.neutral,";;label:wrapper;")," ","secondary"===e&&(0,i.iv)("border:1px solid ",n.qo.stroke.neutral,";border-radius:",n.E0[4],";;label:wrapper;")," overflow:auto hidden;",L.iZ.hideScrollbar,";;label:wrapper;")},tabButton:function(e){var t=e.variant,r=e.isActive;return(0,i.iv)(L.iZ.resetButton,";text-align:center;",o.c.caption("medium"),";color:",n.qo.text.neutral,";position:relative;transition:background-color 0.1s ease-in-out,color 0.1s ease-in-out;flex:1;position:relative;display:flex;gap:",n.W0[4],";justify-content:center;align-items:center;height:100%;","primary"===t&&(0,i.iv)("padding:",n.W0[12]," ",n.W0[4],";&::before{content:'';height:2px;width:100%;background-color:",n.qo.stroke.primary,";position:absolute;left:0;bottom:0;opacity:0;transition:opacity 0.3s ease-in-out;}&:hover::before{opacity:1;}",r&&(0,i.iv)("background-color:",n.qo.background.white,";color:",n.qo.text.primary,";&::before{opacity:1;};label:tabButton;"),";;label:tabButton;")," ","secondary"===t&&(0,i.iv)("font-weight:",n.Ue.regular,";border-right:1px solid ",n.qo.stroke.neutral,";padding:",n.W0[4]," ",n.W0[4],";&:last-of-type{border-right:none;}&:hover{background-color:",n.qo.background.hover,";}",r&&(0,i.iv)("background-color:",n.qo.background.primary,";color:",n.qo.text.primary,";font-weight:",n.Ue.medium,";;label:tabButton;"),";;label:tabButton;")," &:disabled{color:",n.qo.text.disabled,";border-color:",n.qo.stroke.disabled,";&::before{display:none;}};label:tabButton;")}},or=r(4285);function ir(e){return ir="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},ir(e)}function ar(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function lr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ar(Object(r),!0).forEach((function(t){cr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ar(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function cr(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==ir(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==ir(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===ir(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ur=function(e){var t=e.id,r=e.data,n=e.children,o=e.disabled,i=void 0!==o&&o,a=e.hasClone,l=void 0!==a&&a,c=e.customStyle,u=(0,Vt.O1)({id:t,data:r,disabled:i}),d=u.attributes,p=u.listeners,f=u.setNodeRef,v=u.transform,h=v?lr({},!l&&{transform:or.ux.Translate.toString(v)}):void 0;return(0,s.tZ)("div",lr(lr(lr({css:[c,dr.draggable({isDisabled:i}),";label:Draggable;"],ref:f},p),d),{},{style:h,children:n}))};var sr={name:"1b2a9j8-draggable",styles:"cursor:default;label:draggable;"},dr={draggable:function(e){var t=e.isDisabled,r=void 0!==t&&t;return(0,i.iv)("cursor:grab;",r&&sr,";;label:draggable;")}},pr=r(4693),fr=r(6651),vr=r(7230);const hr=r.p+"images/40037ff8fe697e1ffd3e.svg",br=function(e){var t=e.title,r=e.subtitle,n=e.actionButton,o=(0,I.$)();return(0,s.tZ)("div",{css:yr.wrapper,children:(0,s.BX)("div",{css:yr.imageAndText,children:[(0,s.tZ)("img",{src:hr,alt:o("COM_SPPAGEBUILDER_EDITOR_SOMETHING_WENT_WRONG_ALT"),css:yr.illustration}),(0,s.BX)("div",{css:yr.content,children:[(0,s.tZ)("h2",{children:t}),!!r&&(0,s.tZ)("p",{children:r}),!!n&&(0,s.tZ)("div",{children:n})]})]})})};var yr={wrapper:(0,i.iv)("width:100%;height:100vh;display:flex;align-items:end;justify-content:center;background-color:",n.qo.background.white,";;label:wrapper;"),imageAndText:{name:"9qqzbm-imageAndText",styles:"height:635px;max-width:1153px;width:100%;position:relative;label:imageAndText;"},illustration:{name:"4z4wjj-illustration",styles:"width:100%;height:100%;label:illustration;"},content:(0,i.iv)("display:flex;flex-direction:column;gap:",n.W0[20],";position:absolute;top:200px;right:127px;max-width:380px;width:100%;h2{",o.c.heading2("medium"),";}p{",o.c.body(),";}div{margin-top:",n.W0[20],";};label:content;")},mr=r(2967),gr=r(3169),wr=r(3935);function Or(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Er=C.iq+C.P8;const xr=function(e){var t,r,n,o,i=e.data,a=e.isAuthorized,l=e.isDragging,u=(0,c.useRef)(null),d=(0,c.useRef)(),p=(n=(0,c.useState)(!1),o=2,function(e){if(Array.isArray(e))return e}(n)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(n,o)||function(e,t){if(e){if("string"==typeof e)return Or(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Or(e,t):void 0}}(n,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),f=p[0],v=p[1];(0,c.useEffect)((function(){l&&clearTimeout(d.current)}),[l]);var h=null!==(t=null===(r=u.current)||void 0===r?void 0:r.getBoundingClientRect().top)&&void 0!==t?t:0,b=h+384+10;return window.innerHeight-b<0&&(h-=b-window.innerHeight),(0,s.BX)("div",{ref:u,css:Sr.sectionThumb,onMouseEnter:function(){a&&(d.current=setTimeout((function(){v(!0)}),300))},onMouseLeave:function(){a&&(v(!1),d.current&&clearTimeout(d.current))},children:[(0,s.tZ)(gr.Z,{enabled:!a,buttonSize:"small",children:(0,s.tZ)("div",{css:Sr.thumbImage,children:(0,s.tZ)("img",{src:i.thumb,alt:i.title,draggable:!1})})}),(0,s.tZ)("div",{css:Sr.thumbFooter,children:i.title}),!a&&(0,s.tZ)(Tt.Z,{}),f&&(0,wr.createPortal)((0,s.BX)("div",{css:Sr.thumbPreview({left:Er,top:h}),children:[(0,s.tZ)("div",{css:Sr.thumbPreviewTitle,children:i.title}),(0,s.tZ)("div",{css:Sr.thumbPreviewImage,children:(0,s.tZ)("img",{src:i.thumb,alt:i.title})})]}),document.body)]})};var Sr={sectionThumb:(0,i.iv)("background-color:",n.qo.background.white,";border-radius:",n.E0[4],";box-shadow:",n.AF.addon,";overflow:hidden;position:relative;&:hover{box-shadow:",n.AF.addonHover,";};label:sectionThumb;"),thumbImage:(0,i.iv)("height:80px;width:100%;background-color:",n.qo.background.neutral,";img{width:100%;height:100%;object-fit:contain;};label:thumbImage;"),thumbFooter:(0,i.iv)(o.c.tiny(),";padding:",n.W0[2]," ",n.W0[8],";;label:thumbFooter;"),thumbPreview:function(e){var t=e.left,r=e.top;return(0,i.iv)("position:fixed;left:",t,"px;top:",r,"px;width:468px;height:",384,"px;background-color:",n.qo.background.white,";border-radius:",n.E0[4],";box-shadow:",n.AF.popover,";z-index:",n.W5.highest,";padding:0 ",n.W0[12]," ",n.W0[12],";;label:thumbPreview;")},thumbPreviewTitle:(0,i.iv)(o.c.tiny(),";padding:",n.W0[8]," ",n.W0[12],";;label:thumbPreviewTitle;"),thumbPreviewImage:(0,i.iv)("width:100%;height:calc(100% - 34px);background-color:",n.qo.background.neutral,";border-radius:",n.E0[4]," ",n.E0[4]," 0 0;overflow:hidden;img{width:100%;height:100%;object-fit:contain;};label:thumbPreviewImage;")};function _r(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const Cr=function(e){var t=e.index,r=e.data,n=e.isActive,o=e.setActiveItem,i=e.isAuthorized,a=void 0===i||i;return(0,s.BX)("div",{children:[(0,s.BX)("button",{type:"button",css:Pr.sectionTitleButton(n),onClick:function(){o(n?null:t)},children:[(0,s.tZ)(x.Z,{name:"caretRight"}),(0,s.tZ)("span",{children:r.title})]}),n&&(0,s.tZ)(Ir,{data:r.blocks,isAuthorized:a})]})};var Ir=function(e){var t,r,n=e.data,o=e.isAuthorized,i=(t=(0,c.useState)(!1),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,r)||function(e,t){if(e){if("string"==typeof e)return _r(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_r(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=i[0],l=i[1];return(0,Vt.IJ)({onDragStart:function(){l(!0)},onDragEnd:function(){l(!1)},onDragCancel:function(){l(!1)}}),(0,s.tZ)("div",{css:Pr.sectionWrapper,children:n.map((function(e){return(0,s.tZ)(ur,{id:e.id,data:{content:e,type:C.Dw.BlockElement},hasClone:!0,disabled:!o,children:(0,s.tZ)(xr,{data:e,isAuthorized:o,isDragging:a})},e.id)}))})},Ar={name:"7n927h-sectionTitleButton",styles:"transform:rotate(90deg);label:sectionTitleButton;"},Pr={sectionTitleButton:function(e){return(0,i.iv)(L.iZ.resetButton,";",o.c.caption("medium"),";color:",n.qo.text.default,";display:flex;align-items:center;gap:",n.W0[4],";svg{color:",n.qo.icon.default,";transition:transform 0.3s ease-out;",e&&Ar,";};label:sectionTitleButton;")},sectionWrapper:(0,i.iv)("display:grid;grid-template-columns:1fr 1fr;row-gap:",n.W0[12],";column-gap:",n.W0[8],";padding-top:",n.W0[12],";;label:sectionWrapper;")};function Lr(e){return Lr="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},Lr(e)}function Dr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function jr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Dr(Object(r),!0).forEach((function(t){Tr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Dr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Tr(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==Lr(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==Lr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Lr(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const Br=function(){var e,t,r=(0,I.$)(),n=(e=(0,c.useState)(0),t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Zr(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Zr(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=n[0],i=n[1],a=(0,mr.t)(),l=(0,N.O)({defaultValues:{search:""}}),u=(0,W.N)(l.watch("search")),d=(0,c.useMemo)((function(){if(u&&a.data){var e=a.data.blocks,t=Object.values(e).flatMap((function(e){return e.blocks})),r=new RegExp(u,"i");return t.filter((function(e){return r.test(e.title)}))}return[]}),[u,a.data]);if(a.isLoading)return(0,s.tZ)(E.g4,{});if(!a.data)return(0,s.tZ)(br,{title:"Something went wrong!"});var p=a.data,f=p.blocks,v=p.authorised,h=function(e){return f[e]},b=0===(0,se.Zt)(f).length||u.length>0&&0===d.length;return(0,s.BX)("div",{children:[(0,s.tZ)("div",{css:Mr.searchWrapper,children:(0,s.tZ)(D.Qr,{control:l.control,name:"search",render:function(e){return(0,s.tZ)(k.Z,jr(jr({},e),{},{variant:"search",placeholder:r("COM_SPPAGEBUILDER_EDITOR_ELEMENT_SEARCH"),isClearable:!0,hasAutoFocus:!0}))}})}),(0,s.tZ)("div",{css:Mr.sectionList,children:u?(0,s.tZ)(Ir,{data:d,isAuthorized:v}):(0,se.Zt)(f).map((function(e,t){return(0,s.tZ)(Cr,{index:t,data:h(e),isActive:t===o,setActiveItem:i,isAuthorized:v},t)}))}),b&&(0,s.BX)("div",{css:Mr.noSections,children:[(0,s.tZ)(x.Z,{name:"blocksDuo",width:56,height:56}),(0,s.tZ)("span",{children:r("COM_SPPAGEBUILDER_EDITOR_EMPTY_PREDEFINED_SECTIONS")})]})]})};var Mr={searchWrapper:(0,i.iv)("position:sticky;top:0;background-color:",n.qo.base.surface,";padding:",n.W0[16]," ",n.W0[10],";border-bottom:1px solid ",n.qo.stroke.neutral,";transition:border 0.3s ease;z-index:",n.W5.positive,";;label:searchWrapper;"),sectionList:(0,i.iv)("display:flex;flex-direction:column;gap:",n.W0[16],";padding:",n.W0[16]," ",n.W0[10],";;label:sectionList;"),noSections:(0,i.iv)(L.iZ.centeredFlex,";flex-direction:column;gap:",n.W0[8],";span{",o.c.heading6("medium"),";color:",n.qo.text.neutral,";};label:noSections;")};function kr(e){return kr="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},kr(e)}function Rr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Wr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Rr(Object(r),!0).forEach((function(t){Nr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Rr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Nr(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==kr(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==kr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===kr(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Fr=function(e){return"row"===e.name?C.Dw.RowElement:"columns"===e.name?C.Dw.ColumnsElement:"div"===e.name?C.Dw.DivElement:C.Dw.AddonElement};const Ur=function(e){var t,r,n=e.defaultTab,o=void 0===n?"addons":n,i=(0,I.$)(),a=(0,vr.x)((function(e){return e.addonGroups})),l=(t=(0,c.useState)(o),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,r)||function(e,t){if(e){if("string"==typeof e)return Gr(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Gr(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=l[0],d=l[1],p=(0,A.j)((function(e){return e.activeAction})),f=(0,fr.y)((function(e){return e.activeColumn}));(0,c.useEffect)((function(){d(o)}),[o]),(0,c.useEffect)((function(){(0,se.$K)(f)&&d("addons")}),[f]);var v=(0,N.O)({defaultValues:{search:""}}),h=(0,W.N)(v.watch("search")),b=(0,c.useMemo)((function(){var e=h.toLowerCase().trim();return(0,se.Zt)(a).reduce((function(t,r){var n="Favourite"!==r?a[r].filter((function(e){return e.status})).filter((function(t){return t.title.toLowerCase().includes(e)})):a[r];return n.length>0&&(t[r]=n),t}),{})}),[h,a]),y=(0,se.Zt)(b).every((function(e){return 0===b[e].length})),m=[{label:i("COM_SPPAGEBUILDER_EDITOR_ELEMENT_PANEL_TAB_ADDONS"),value:"addons"},{label:i("COM_SPPAGEBUILDER_EDITOR_ELEMENT_PANEL_TAB_SECTIONS"),value:"sections"}];return(0,s.BX)("div",{css:Hr.wrapper,children:[(0,s.tZ)(rr,{tabList:m,activeTab:u,onChange:d}),"addons"===u?(0,s.BX)(s.HY,{children:[(0,s.tZ)("div",{css:Hr.searchWrapper,children:(0,s.tZ)(D.Qr,{control:v.control,name:"search",render:function(e){return(0,s.tZ)(k.Z,Wr(Wr({},e),{},{variant:"search",placeholder:i("COM_SPPAGEBUILDER_EDITOR_ELEMENT_SEARCH"),isClearable:!0,hasAutoFocus:(0,se.$K)(p)&&"add-elements"===p}))}})}),(0,s.tZ)("div",{css:Hr.content,children:y?(0,s.BX)("div",{css:Hr.noResult,children:[(0,s.tZ)("img",{src:pr,alt:i("COM_SPPAGEBUILDER_EDITOR_ADDONS_NO_MATCH_FOUND")}),(0,s.tZ)("p",{children:i("COM_SPPAGEBUILDER_EDITOR_ADDONS_NO_MATCH_FOUND")})]}):(0,se.Zt)(b).map((function(e){var t=b[e],r="Favourite"===e?"Favourites":e;return(0,s.BX)("div",{children:[(0,s.tZ)("h4",{css:Hr.groupHeading,children:r}),(0,s.tZ)("div",{css:Hr.addonsWrapper,children:t.map((function(t){var r=se.Eu&&t.pro;return(0,s.tZ)(ur,{id:"".concat(e,"-").concat(t.name),data:{content:t,type:Fr(t)},hasClone:!0,disabled:r,children:(0,s.BX)("div",{css:Hr.addonItem({shouldShowProLabel:r}),children:[(0,s.tZ)("span",{dangerouslySetInnerHTML:{__html:t.icon}}),(0,s.tZ)("span",{children:t.title}),r&&(0,s.tZ)(Tt.Z,{size:"tiny"})]})},t.name)}))})]},e)}))})]}):(0,s.tZ)(Br,{})]})};var Hr={wrapper:(0,i.iv)(L.iZ.overflowYAuto,";background-color:",n.qo.base.surface,";height:100%;border-right:1px solid ",n.qo.stroke.neutral,";;label:wrapper;"),noResult:(0,i.iv)("display:flex;flex-direction:column;align-items:center;margin-top:",n.W0[24],";img{width:80px;}p{",o.c.body(),";text-align:center;margin-top:",n.W0[16],";};label:noResult;"),searchWrapper:(0,i.iv)("position:sticky;top:0;background-color:inherit;padding:",n.W0[16]," ",n.W0[10],";border-bottom:1px solid ",n.qo.stroke.neutral,";transition:border 0.3s ease;z-index:",n.W5.positive,";;label:searchWrapper;"),content:(0,i.iv)("display:flex;flex-direction:column;gap:",n.W0[24],";margin-bottom:",n.W0[16],";padding:",n.W0[8]," ",n.W0[10],";;label:content;"),groupHeading:(0,i.iv)(o.c.body(),";color:",n.qo.text.neutral,";margin-bottom:",n.W0[10],";;label:groupHeading;"),addonsWrapper:(0,i.iv)("display:grid;grid-template-columns:repeat(2, 142px);gap:",n.W0[10],";;label:addonsWrapper;"),addonItem:function(e){var t=e.shouldShowProLabel,r=void 0!==t&&t;return(0,i.iv)("display:flex;align-items:center;background-color:",n.qo.base.white,";border-radius:",n.E0[5],";box-shadow:",n.AF.addon,";padding:",n.W0[4]," ",n.W0[8],";gap:",n.W0[8],";cursor:grab;height:32px;",r&&(0,i.iv)("position:relative;pointer-events:none;background-color:",n.qo.background.disabled,";;label:addonItem;")," &>span:first-of-type{svg,img{color:",n.qo.icon.default,";width:18px;height:18px;}}&>span:last-of-type{",o.c.caption(),";",L.iZ.textEllipsis,";color:",n.qo.text.neutral,";};label:addonItem;")}},qr=r(7498),zr=r(3425);const Vr=r.p+"images/5612aede402b273f759b.jpg";var $r=r(1518);function Kr(e){return Kr="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},Kr(e)}function Xr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Yr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Xr(Object(r),!0).forEach((function(t){Qr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Xr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Qr(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==Kr(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==Kr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Kr(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Jr=function(e){var t=e.addon,r=e.activeDragItemId,n=(0,I.$)(),o=(0,$r.hX)(),i=(0,vr.x)((function(e){return e.addonStructure})),a=(0,$t.nB)({id:t.id,data:{content:t,type:C.Dw.SavedAddonElement}}),l=a.attributes,c=a.listeners,u=a.setNodeRef,d=a.transform,p=a.transition,f=a.isDragging,v={transform:or.ux.Transform.toString(d),transition:p,opacity:f?.5:1};return(0,s.tZ)("div",Yr(Yr(Yr({ref:u,style:v},l),c),{},{children:(0,s.BX)("div",{css:en.addonItem(r===t.id),children:[(0,s.tZ)("span",{css:en.dragIcon,"data-drag-icon":!0,children:(0,s.tZ)(x.Z,{name:"dragger",height:24,width:24})}),(0,s.tZ)("span",{css:en.addonIcon,dangerouslySetInnerHTML:{__html:function(e){try{var t=JSON.parse(e.code).name;return i[t].icon}catch(e){return""}}(t)}}),(0,s.tZ)("span",{"data-addon-title":!0,css:en.addonTitle,children:t.title}),(0,s.tZ)("button",{onClick:function(){window.confirm(n("COM_SPPAGEBUILDER_EDITOR_SAVED_ADDON_DELETE_MESSAGE"))&&o.mutate(t.id)},children:(0,s.tZ)(x.Z,{name:"trash",height:12,width:12})})]})}))};var en={addonItem:function(e){return(0,i.iv)("display:flex;align-items:center;background-color:",n.qo.base.white,";border-radius:",n.E0[5],";box-shadow:",n.AF.addon,";padding:",n.W0[6]," ",n.W0[6]," ",n.W0[6]," ",n.W0[12],";gap:",n.W0[8],";cursor:grab;position:relative;transition:padding 0.3s ease;svg{color:",n.qo.icon.default,";}button{",L.iZ.resetButton,";margin-left:auto;height:24px;width:24px;text-align:center;opacity:0;transition:opacity 0.3s ease;&:hover svg{color:",n.qo.icon.error,";}}&:hover{padding-left:",n.W0[24],";[data-addon-title]{color:",n.qo.text.hover,";}>span>svg{color:",n.qo.icon.primary,";}[data-drag-icon]{opacity:1;}button{opacity:1;}}",e&&(0,i.iv)("padding-left:",n.W0[24],";[data-addon-title]{color:",n.qo.text.hover,";}>span>svg{color:",n.qo.icon.primary,";}[data-drag-icon]{opacity:1;}button{opacity:1;};label:addonItem;"),";;label:addonItem;")},addonIcon:{name:"1awvidx-addonIcon",styles:"line-height:1;svg,img{height:16px;width:16px;};label:addonIcon;"},dragIcon:(0,i.iv)("position:absolute;left:",n.W0[2],";top:0;height:100%;display:flex;align-items:center;opacity:0;transition:opacity 0.3s ease;svg{color:",n.qo.icon.default,";};label:dragIcon;"),addonTitle:(0,i.iv)(o.c.body(),";",L.iZ.textEllipsis,";color:",n.qo.text.default,";transition:opacity 0.3s ease;;label:addonTitle;")};function tn(e){return tn="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},tn(e)}function rn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function nn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?rn(Object(r),!0).forEach((function(t){on(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):rn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function on(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==tn(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==tn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===tn(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function an(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ln(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ln(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ln(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const cn=function(){var e=(0,I.$)(),t=(0,$r.iG)(),r=(0,$r.uC)(),n=an((0,c.useState)([]),2),o=n[0],i=n[1],a=an((0,c.useState)(null),2),l=a[0],u=a[1],d=(0,N.O)({defaultValues:{search:""}}),p=(0,W.N)(d.watch("search"));return(0,c.useEffect)((function(){var e=new RegExp(p,"i");t.data&&i(t.data.filter((function(t){return e.test(t.title)})))}),[p,t.data]),(0,Vt.IJ)({onDragStart:function(e){var t=e.active,r=t.data.current;r&&r.type===C.Dw.SavedAddonElement&&u(Number(t.id))},onDragEnd:function(e){var t=e.active,n=e.over,a=t.data.current,l=null==n?void 0:n.data.current;u(null),a&&l&&t.id!==(null==n?void 0:n.id)&&a.type===C.Dw.SavedAddonElement&&l.type===C.Dw.SavedAddonElement&&i((function(e){var i=e.findIndex((function(e){return e.id===t.id})),a=e.findIndex((function(e){return e.id===(null==n?void 0:n.id)})),l=(0,$t.Rp)(o,i,a),c=(0,se.x9)(l),u=Array.from({length:c.length},(function(e,t){return t+1}));return r.mutate({ids:c,orders:u}),l}))},onDragCancel:function(){u(null)}}),se.Eu?(0,s.tZ)("div",{css:un.proLabelCss,children:(0,s.tZ)(zr.Z,{emptyStateImage:Vr,imageAltText:"upgrade to pro",title:e("COM_SPPAGEBUILDER_EDITOR_CUSTOM_ADDONS_LIBRARY"),content:e("COM_SPPAGEBUILDER_EDITOR_CUSTOM_ADDONS_LIBRARY_CONTENT"),action:(0,s.tZ)(qr.Z,{}),orientation:"vertical",customCss:un.proBannerContentCss})}):t.isLoading?(0,s.tZ)(E.g4,{}):t.data?(0,s.BX)(s.HY,{children:[(0,s.tZ)("div",{css:un.searchWrapper,children:(0,s.tZ)(D.Qr,{control:d.control,name:"search",render:function(t){return(0,s.tZ)(k.Z,nn(nn({},t),{},{variant:"search",placeholder:e("COM_SPPAGEBUILDER_EDITOR_ELEMENT_SEARCH"),isClearable:!0}))}})}),(0,s.tZ)("div",{css:un.content,children:o.length>0?(0,s.tZ)($t.Fo,{id:"saved-addons",items:o,strategy:$t.qw,children:o.map((function(e){return(0,s.tZ)(Jr,{addon:e,activeDragItemId:l},e.id)}))}):(0,s.BX)("div",{css:un.noResult,children:[(0,s.tZ)("img",{src:pr,alt:e("COM_SPPAGEBUILDER_EDITOR_NOTHING_FOUND_TEXT")}),(0,s.tZ)("p",{children:e("COM_SPPAGEBUILDER_EDITOR_NOTHING_FOUND_TEXT")})]})})]}):(0,s.tZ)("div",{children:e("COM_SPPAGEBUILDER_EDITOR_GLOBAL_SOMETHING_WENT_WRONG")})};var un={searchWrapper:(0,i.iv)("position:sticky;top:0;background-color:inherit;padding:",n.W0[16]," ",n.W0[10],";border-bottom:1px solid ",n.qo.stroke.neutral,";transition:border 0.3s ease;;label:searchWrapper;"),content:(0,i.iv)("display:flex;flex-direction:column;gap:",n.W0[8],";padding:",n.W0[16]," ",n.W0[10],";;label:content;"),noResult:(0,i.iv)("display:flex;flex-direction:column;align-items:center;gap:",n.W0[12],";margin-top:",n.W0[56],";img{width:80px;}p{",o.c.body(),";text-align:center;};label:noResult;"),proLabelCss:(0,i.iv)("padding:",n.W0[12],";;label:proLabelCss;"),proBannerContentCss:(0,i.iv)("padding:",n.W0[12],";;label:proBannerContentCss;")};const sn=r.p+"images/c0160f779b907eae5fab.jpg";function dn(e){return dn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},dn(e)}function pn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function fn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?pn(Object(r),!0).forEach((function(t){vn(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):pn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function vn(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==dn(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==dn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===dn(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const hn=function(e){var t=e.section,r=e.activeDragItemId,n=(0,I.$)(),o=(0,$r.rM)(),i=(0,$t.nB)({id:t.id,data:{content:t,type:C.Dw.SavedSectionElement}}),a=i.attributes,l=i.listeners,c=i.setNodeRef,u=i.transform,d=i.transition,p=i.isDragging,f={transform:or.ux.Transform.toString(u),transition:d,opacity:p?.5:1};return(0,s.tZ)("div",fn(fn(fn({ref:c,style:f},a),l),{},{children:(0,s.BX)("div",{css:bn.sectionItem(r===t.id),children:[(0,s.tZ)("span",{css:bn.dragIcon,"data-drag-icon":!0,children:(0,s.tZ)(x.Z,{name:"dragger",height:24,width:24})}),(0,s.tZ)(x.Z,{name:"blocksDuo",height:16,width:16}),(0,s.tZ)("span",{"data-section-title":!0,css:bn.sectionTitle,children:t.title}),(0,s.tZ)("button",{onClick:function(){window.confirm(n("COM_SPPAGEBUILDER_EDITOR_SAVED_SECTION_DELETE_MESSAGE"))&&o.mutate(t.id)},children:(0,s.tZ)(x.Z,{name:"trash",height:12,width:12})})]})}))};var bn={sectionItem:function(e){return(0,i.iv)("display:flex;align-items:center;background-color:",n.qo.base.white,";border-radius:",n.E0[5],";box-shadow:",n.AF.addon,";padding:",n.W0[6]," ",n.W0[6]," ",n.W0[6]," ",n.W0[12],";gap:",n.W0[8],";cursor:grab;position:relative;transition:padding 0.3s ease;svg{color:",n.qo.icon.default,";}button{",L.iZ.resetButton,";margin-left:auto;height:24px;width:24px;text-align:center;opacity:0;transition:opacity 0.3s ease;&:hover svg{color:",n.qo.icon.error,";}}&:hover{padding-left:",n.W0[24],";[data-section-title]{color:",n.qo.text.hover,";}>svg{color:",n.qo.icon.primary,";}[data-drag-icon]{opacity:1;}button{opacity:1;}}",e&&(0,i.iv)("padding-left:",n.W0[24],";[data-section-title]{color:",n.qo.text.hover,";}>svg{color:",n.qo.icon.primary,";}[data-drag-icon]{opacity:1;}button{opacity:1;};label:sectionItem;"),";;label:sectionItem;")},dragIcon:(0,i.iv)("position:absolute;left:",n.W0[2],";top:0;height:100%;display:flex;align-items:center;opacity:0;transition:opacity 0.3s ease;svg{color:",n.qo.icon.default,";};label:dragIcon;"),sectionTitle:(0,i.iv)(o.c.body(),";",L.iZ.textEllipsis,";color:",n.qo.text.default,";transition:opacity 0.3s ease;;label:sectionTitle;")};function yn(e){return yn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yn(e)}function mn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function gn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?mn(Object(r),!0).forEach((function(t){wn(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):mn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function wn(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==yn(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==yn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===yn(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function On(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return En(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?En(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function En(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const xn=function(){var e=(0,I.$)(),t=(0,$r.x)(),r=(0,$r.Gj)(),n=On((0,c.useState)([]),2),o=n[0],i=n[1],a=On((0,c.useState)(null),2),l=a[0],u=a[1],d=(0,N.O)({defaultValues:{search:""}}),p=(0,W.N)(d.watch("search"));return(0,c.useEffect)((function(){var e=new RegExp(p,"i");t.data&&i(t.data.filter((function(t){return e.test(t.title)})))}),[p,t.data]),(0,Vt.IJ)({onDragStart:function(e){var t=e.active,r=t.data.current;r&&r.type===C.Dw.SavedSectionElement&&u(Number(t.id))},onDragEnd:function(e){var t=e.active,n=e.over,a=t.data.current,l=null==n?void 0:n.data.current;u(null),a&&l&&t.id!==(null==n?void 0:n.id)&&a.type===C.Dw.SavedSectionElement&&l.type===C.Dw.SavedSectionElement&&i((function(e){var i=e.findIndex((function(e){return e.id===t.id})),a=e.findIndex((function(e){return e.id===(null==n?void 0:n.id)})),l=(0,$t.Rp)(o,i,a),c=(0,se.x9)(l),u=Array.from({length:c.length},(function(e,t){return t+1}));return r.mutate({ids:c,orders:u}),l}))},onDragCancel:function(){u(null)}}),se.Eu?(0,s.tZ)("div",{css:Sn.proLabelCss,children:(0,s.tZ)(zr.Z,{emptyStateImage:sn,imageAltText:"upgrade to pro",title:e("COM_SPPAGEBUILDER_EDITOR_CUSTOM_SECTIONS_LIBRARY"),content:e("COM_SPPAGEBUILDER_EDITOR_CUSTOM_SECTIONS_LIBRARY_CONTENT"),action:(0,s.tZ)(qr.Z,{}),orientation:"vertical",customCss:Sn.proBannerContentCss})}):t.isLoading?(0,s.tZ)(E.g4,{}):t.data?(0,s.BX)(s.HY,{children:[(0,s.tZ)("div",{css:Sn.searchWrapper,children:(0,s.tZ)(D.Qr,{control:d.control,name:"search",render:function(t){return(0,s.tZ)(k.Z,gn(gn({},t),{},{variant:"search",placeholder:e("COM_SPPAGEBUILDER_EDITOR_ELEMENT_SEARCH"),isClearable:!0}))}})}),(0,s.tZ)("div",{css:Sn.content,children:o.length>0?(0,s.tZ)($t.Fo,{id:"saved-sections",items:o,strategy:$t.qw,children:o.map((function(e){return(0,s.tZ)(hn,{section:e,activeDragItemId:l},e.id)}))}):(0,s.BX)("div",{css:Sn.noResult,children:[(0,s.tZ)("img",{src:pr,alt:e("COM_SPPAGEBUILDER_EDITOR_NOTHING_FOUND_TEXT")}),(0,s.tZ)("p",{children:e("COM_SPPAGEBUILDER_EDITOR_NOTHING_FOUND_TEXT")})]})})]}):(0,s.tZ)("div",{children:e("COM_SPPAGEBUILDER_EDITOR_GLOBAL_SOMETHING_WENT_WRONG")})};var Sn={searchWrapper:(0,i.iv)("position:sticky;top:0;background-color:inherit;padding:",n.W0[16]," ",n.W0[10],";border-bottom:1px solid ",n.qo.stroke.neutral,";transition:border 0.3s ease;;label:searchWrapper;"),content:(0,i.iv)("display:flex;flex-direction:column;gap:",n.W0[8],";padding:",n.W0[16]," ",n.W0[10],";;label:content;"),noResult:(0,i.iv)("display:flex;flex-direction:column;align-items:center;gap:",n.W0[12],";margin-top:",n.W0[56],";img{width:80px;}p{",o.c.body(),";text-align:center;};label:noResult;"),proLabelCss:(0,i.iv)("padding:",n.W0[12],";;label:proLabelCss;"),proBannerContentCss:(0,i.iv)("padding:",n.W0[12],";;label:proBannerContentCss;")};function _n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const Cn=function(){var e,t,r=(0,I.$)(),n=(e=(0,c.useState)("sections"),t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return _n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_n(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=n[0],i=n[1],a=[{label:r("COM_SPPAGEBUILDER_EDITOR_ELEMENT_PANEL_TAB_SAVED_SECTIONS"),value:"sections"},{label:r("COM_SPPAGEBUILDER_EDITOR_ELEMENT_PANEL_TAB_SAVED_ADDONS"),value:"addons"}];return(0,s.BX)("div",{css:In.wrapper,children:[(0,s.tZ)(rr,{tabList:a,activeTab:o,onChange:i}),"addons"===o?(0,s.tZ)(cn,{}):(0,s.tZ)(xn,{})]})};var In={wrapper:(0,i.iv)(L.iZ.overflowYAuto,";background-color:",n.qo.base.surface,";height:100%;border-right:1px solid ",n.qo.stroke.neutral,";;label:wrapper;")},An=r(2447);const Pn=r.p+"images/d82d034e6dce7362d5f4.svg";var Ln=function(){var e=(0,S.p)().showToast,t=(0,q.v)((function(e){return e.loadAppConfig}));return(0,V.a)({queryKey:["AppConfig"],queryFn:function(){return Y.u.get(z.H.APP_CONFIG).then((function(e){return e.data}))},onSuccess:function(e){t(e)},onError:function(t){e({type:"danger",message:t.message})}})},Dn=r(7679);const jn=function(e){var t=e.children,r=e.createdBy,n=(0,I.$)(),o=(0,F.Q)(),i=Ln(),a=(0,An.Z)(Zt.F.PageEditor).id,l=(0,Dn.z1)(Number(a)),c=(0,q.v)((function(e){return e.appConfig})),u=o.edit||o.edit_own&&r===c.user_id,d=(0,Bt.s0)();return i.isLoading||l.isLoading?(0,s.tZ)(E.fz,{}):u?(0,s.tZ)(s.HY,{children:t}):(0,s.tZ)("div",{css:Tn.wrapper,children:(0,s.tZ)(zr.Z,{orientation:"vertical",emptyStateImage:Pn,imageAltText:n("COM_SPPAGEBUILDER_EDITOR_FONT_EMPTY_STATE_IMAGE_ALT"),content:"Oops! Seems like you are not permitted to access this page. Ask your administrator.",wrapperCss:Tn.emptyStateCustom,customCss:Tn.customCss,action:(0,s.tZ)(Z.Z,{onClick:function(){return d(Zt.F.Home.buildLink())},children:"Go Back"})})})};var Tn={wrapper:(0,i.iv)("height:100vh;display:flex;flex-direction:column;justify-content:center;background-color:",n.qo.base.white,";;label:wrapper;"),emptyStateCustom:(0,i.iv)("max-width:1320px;margin:",n.W0[96]," auto;box-shadow:none;;label:emptyStateCustom;"),customCss:(0,i.iv)(o.c.body(),";margin-top:",n.W0[32],";;label:customCss;")},Zn=r(2864),Bn=r(2445),Mn=r(2423),kn=r(8307);function Rn(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Wn=Zn.tk.theme({"&.cm-editor":{border:"1px solid ".concat(n.qo.stroke.neutral),borderRadius:n.E0[5],overflow:"hidden",fontSize:"12px",height:"200px",background:n.qo.background.white},"&.cm-editor.cm-focused":{outline:"none",boxShadow:"".concat(n.AF.outline)}});const Nn=function(e){var t,r,n=e.value,o=e.onChange,i=(t=(0,c.useState)(""),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,r)||function(e,t){if(e){if("string"==typeof e)return Rn(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Rn(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=i[0],l=i[1],u=(0,W.N)(a),d=(0,Bn.F)((function(e){return e.payload})),p=d.addonIndex,f=d.sectionIndex,v=d.columnIndex,h=d.tableItem,b=(0,Mn.s)((function(e){return e})).currentState;return(0,c.useEffect)((function(){l(n)}),[p,f,v,h,b]),(0,c.useEffect)((function(){o(u)}),[u]),(0,s.tZ)(kn.ZP,{theme:Wn,value:a,onChange:l})};var Gn=r(1807);const Fn=function(e){var t=e.field,r=e.fieldState,n=e.label,o=e.disabled,i=e.loading,a=e.responsive,l=e.responsiveOrientation,c=e.helpText;return(0,s.tZ)(Gn.Z,{field:t,fieldState:r,disabled:o,loading:i,label:n,responsive:a,responsiveOrientation:l,helpText:c,children:function(){return(0,s.tZ)(Nn,{value:t.value,onChange:t.onChange})}})};function Un(e){return Un="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},Un(e)}function Hn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function qn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Hn(Object(r),!0).forEach((function(t){zn(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Hn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function zn(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==Un(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==Un(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Un(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Vn=function(e){var t,r,n,o,i,a=e.field,l=e.fieldState,u=e.label,d=e.hidePreview,p=void 0!==d&&d,f=e.previewStyle,v=e.responsive,h=e.responsiveOrientation,b=e.helpText,y=e.allowedMediaType,m=void 0===y?"image":y,g=e.isLottieFile,w=void 0!==g&&g,O=(0,I.$)(),E=(0,Ie.d)().showModal,S=(0,c.useRef)(null),_=function(e){return(0,se.Kn)(e)&&"src"in e}(o=a.value)?qn(qn({},o),{},{src:null!==(i=o.src)&&void 0!==i?i:""}):{src:null!=o?o:""};t=_.src.startsWith("http")?_.src:"".concat(se.Xy.pagebuilderBase).concat(_.src),r=!_.src,n=_.src||"";var C=(0,W.N)(t);(0,c.useEffect)((function(){var e;null===(e=S.current)||void 0===e||e.load()}),[C]);var A=function(){E({component:xt,props:{onInsert:function(e){if(w)a.onChange(e.path);else{var t,r,n=!p&&(0,se.$K)(null===(t=e.media_attr)||void 0===t?void 0:t.full)?null===(r=e.media_attr)||void 0===r?void 0:r.full:{};a.onChange(qn({src:e.path},n))}},allowedMediaType:m},closeOnOutsideClick:!0})},P=function(){w?a.onChange(""):a.onChange({src:"",width:"",height:""})};return(0,s.tZ)(Gn.Z,{label:u,field:a,fieldState:l,responsive:v,responsiveOrientation:h,helpText:b,children:function(){return(0,s.BX)("div",{css:$n.wrapper,children:[!p&&(0,s.tZ)("div",{css:[$n.previewWrapper,f,";label:MediaField;"],children:r?(0,s.tZ)(Z.Z,{icon:(0,s.tZ)(x.Z,{name:"upload",height:16,width:16}),buttonContentCss:$n.buttonContentPrimary,onClick:A,children:O("COM_SPPAGEBUILDER_EDITOR_MEDIA_UPLOAD")}):(0,s.BX)(s.HY,{children:["image"===m&&(0,s.tZ)("img",{src:C,alt:C,css:$n.imagePreview}),"video"===m&&(0,s.BX)("div",{css:$n.videoWrapper,children:[(0,s.tZ)("video",{muted:!0,ref:S,children:(0,s.tZ)("source",{src:C,type:"video/mp4"})}),(0,s.tZ)(x.Z,{name:"playCircle",height:32,width:32})]}),(0,s.BX)("div",{css:$n.hoverPreview,"data-hover-buttons-wrapper":!0,children:[(0,s.tZ)(Z.Z,{icon:(0,s.tZ)(x.Z,{name:"recycle",height:16,width:16}),buttonContentCss:$n.buttonContentPrimary,onClick:A,children:O("COM_SPPAGEBUILDER_EDITOR_MEDIA_REPLACE")}),(0,s.tZ)(Z.Z,{variant:"secondary",buttonContentCss:$n.buttonContentPrimary,onClick:P,children:O("COM_SPPAGEBUILDER_EDITOR_MEDIA_CLEAR")})]})]})}),(0,s.BX)("div",{css:$n.inputWrapper,children:[(0,s.tZ)(Pe.Z,{value:n,onChange:function(e){w?a.onChange(_):a.onChange(qn(qn({},_),{},{src:e}))},inputCss:$n.inputCss}),r?(0,s.tZ)(Z.Z,{variant:"secondary",icon:(0,s.tZ)(x.Z,{name:"upload",height:16,width:16}),buttonContentCss:$n.buttonContent,onClick:A,children:O("COM_SPPAGEBUILDER_EDITOR_MEDIA_UPLOAD")}):(0,s.tZ)(Z.Z,{variant:"secondary",icon:(0,s.tZ)(x.Z,{name:"cross",height:16,width:16}),buttonContentCss:$n.buttonContent,onClick:P,children:O("COM_SPPAGEBUILDER_EDITOR_MEDIA_CLEAR")})]})]})}})};var $n={wrapper:(0,i.iv)("display:flex;flex-direction:column;gap:",n.W0[12],";;label:wrapper;"),previewWrapper:(0,i.iv)("display:flex;justify-content:center;align-items:center;min-width:200px;width:100%;height:160px;position:relative;overflow:hidden;background-color:",n.qo.base.surface,";border:1px solid ",n.qo.stroke.neutral,";border-radius:",n.E0[8],";:hover{[data-hover-buttons-wrapper]{display:flex;opacity:1;}};label:previewWrapper;"),buttonContentPrimary:(0,i.iv)("svg{color:",n.qo.icon.white,";};label:buttonContentPrimary;"),imagePreview:{name:"1r2468e-imagePreview",styles:"height:100%;width:100%;object-fit:cover;label:imagePreview;"},hoverPreview:(0,i.iv)("display:none;justify-content:center;align-items:center;gap:",n.W0[8],";opacity:0;position:absolute;inset:0;background-color:",n.qo.alternate.backdrop,";border-radius:",n.E0[8],";button{height:32px;:last-of-type{background-color:",n.qo.base.white,";}};label:hoverPreview;"),inputWrapper:(0,i.iv)("display:flex;align-items:end;gap:",n.W0[12],";;label:inputWrapper;"),inputCss:(0,i.iv)("padding:0 ",n.W0[12],";;label:inputCss;"),buttonContent:(0,i.iv)(":hover{svg{color:",n.qo.icon.primary,";}}svg{color:",n.qo.icon.default,";};label:buttonContent;"),videoWrapper:(0,i.iv)("position:relative;width:100%;height:100%;>video{width:100%;height:100%;}>svg{position:absolute;left:20px;top:20px;color:",n.qo.icon.white,";};label:videoWrapper;")};function Kn(e){return Kn="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},Kn(e)}function Xn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Yn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Xn(Object(r),!0).forEach((function(t){Qn(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Xn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Qn(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==Kn(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==Kn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Kn(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jn(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const eo=function(e){var t,r,n,o=e.label,i=e.rows,a=void 0===i?6:i,l=e.columns,u=e.maxLimit,d=e.field,p=e.fieldState,f=e.disabled,v=e.readOnly,h=e.loading,b=e.placeholder,y=e.helpText,m=e.onChange,g=e.onKeyDown,w=e.enableResize,O=void 0!==w&&w,E=e.isInlineLabel,x=void 0!==E&&E,S=e.responsive,_=e.responsiveOrientation,A=(0,I.$)(),P=(r=(0,c.useState)(null!==(t=d.value)&&void 0!==t?t:""),n=2,function(e){if(Array.isArray(e))return e}(r)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(r,n)||function(e,t){if(e){if("string"==typeof e)return Jn(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Jn(e,t):void 0}}(r,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),L=P[0],D=P[1],j=(0,W.N)(L),T=(0,tr.o5)(L,C.zu),Z=(0,Bn.F)((function(e){return e.payload})),B=Z.addonIndex,M=Z.sectionIndex,k=Z.columnIndex,R=Z.tableItem,N=(0,Mn.s)((function(e){return e})).currentState;return(0,c.useEffect)((function(){var e;D(null!==(e=d.value)&&void 0!==e?e:"")}),[B,M,k,R,N]),(0,c.useEffect)((function(){m&&m(T),d.onChange(j)}),[j]),(0,s.tZ)(Gn.Z,{label:o,field:d,fieldState:p,disabled:f,readOnly:v,loading:h,placeholder:b,helpText:y,isInlineLabel:x,responsive:S,responsiveOrientation:_,children:function(e){var t=e.attributes,r=e.data,n=r.responsive,o=r.device;return(0,s.BX)(s.HY,{children:[(0,s.tZ)("div",{css:ro.container({enableResize:O}),children:(0,s.tZ)("textarea",Yn(Yn(Yn({},d),t),{},{value:(0,tr.o5)(L,o),onChange:function(e){var t=e.target.value;if(!(u&&t.trim().length>u)){var r=(0,tr.xU)({previous:d.value,value:t,responsive:n,device:o});D(null!=r?r:"")}},onKeyDown:function(e){g&&g(e.key)},autoComplete:"off",rows:a,cols:l}))}),!!u&&(0,s.tZ)("p",{css:ro.maxLimit,children:A("COM_SPPAGEBUILDER_EDITOR_MAX_CHARACTERS",{maxCharacters:u})})]})}})};var to={name:"19drmep-container",styles:"resize:vertical;label:container;"},ro={container:function(e){var t=e.enableResize,r=void 0!==t&&t;return(0,i.iv)("textarea{",o.c.body()," height:auto;min-height:90px;padding:",n.W0[6]," ",n.W0[12],";resize:vertical;",r&&to,";:focus{box-shadow:",n.AF.outline,";}};label:container;")},maxLimit:(0,i.iv)(o.c.caption(),";color:",n.qo.text.neutral,";text-transform:lowercase;;label:maxLimit;")};function no(e){return no="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},no(e)}function oo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function io(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?oo(Object(r),!0).forEach((function(t){ao(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):oo(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ao(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==no(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==no(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===no(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lo(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const co=function(){var e,t,r=(0,D.Gc)(),n=(0,I.$)(),o=(e=(0,c.useState)("basic"),t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return lo(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?lo(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),i=o[0],a=o[1],l=(0,q.v)((function(e){return e.appConfig})),u=(0,F.Q)(),d=[{label:n("COM_SPPAGEBUILDER_EDITOR_FILTER_PUBLISHED"),value:1},{label:n("COM_SPPAGEBUILDER_EDITOR_FILTER_UNPUBLISHED"),value:0},{label:n("COM_SPPAGEBUILDER_EDITOR_FILTER_TRASHED"),value:-2}],p=[{label:n("COM_SPPAGEBUILDER_EDITOR_PAGE_SETTINGS_USE_GLOBAL"),value:"global"},{label:"index, follow",value:"index, follow"},{label:"noindex, follow",value:"noindex, follow"},{label:"index, nofollow",value:"index, nofollow"},{label:"noindex, nofollow",value:"noindex, nofollow"}],f=[{value:"website",label:n("COM_SPPAGEBUILDER_EDITOR_PAGE_SETTINGS_OG_TYPE_WEBSITE")},{value:"article",label:n("COM_SPPAGEBUILDER_EDITOR_PAGE_SETTINGS_OG_TYPE_ARTICLE")},{value:"video.movie",label:n("COM_SPPAGEBUILDER_EDITOR_PAGE_SETTINGS_OG_TYPE_MOVIE")},{value:"video.tv_show",label:n("COM_SPPAGEBUILDER_EDITOR_PAGE_SETTINGS_OG_TYPE_TV_SHOW")},{value:"music.album",label:n("COM_SPPAGEBUILDER_EDITOR_PAGE_SETTINGS_OG_TYPE_ALBUM")},{value:"book",label:n("COM_SPPAGEBUILDER_EDITOR_PAGE_SETTINGS_OG_TYPE_BOOK")},{value:"profile",label:n("COM_SPPAGEBUILDER_EDITOR_PAGE_SETTINGS_OG_TYPE_PROFILE")}],v=[{label:n("COM_SPPAGEBUILDER_EDITOR_PAGE_SETTINGS_BASIC"),value:"basic"},{label:n("COM_SPPAGEBUILDER_EDITOR_PAGE_SETTINGS_SEO"),value:"seo"},{label:n("COM_SPPAGEBUILDER_EDITOR_PAGE_SETTINGS_CSS"),value:"css"}],h=u.edit_state;return(0,s.BX)("div",{css:uo.wrapper,children:[(0,s.tZ)(rr,{tabList:v,activeTab:i,onChange:a}),"basic"===i&&(0,s.BX)("div",{css:uo.fieldsWrapper,children:[(0,s.tZ)(D.Qr,{control:r.control,name:"catid",render:function(e){return(0,s.tZ)(M.Z,io(io({},e),{},{label:n("COM_SPPAGEBUILDER_EDITOR_PAGE_SETTINGS_CATEGORY"),placeholder:n("COM_SPPAGEBUILDER_EDITOR_PAGE_SETTINGS_CATEGORY_PLACEHOLDER"),options:l.categories}))}}),(0,s.tZ)(D.Qr,{control:r.control,name:"published",render:function(e){return(0,s.tZ)(M.Z,io(io({},e),{},{label:n("COM_SPPAGEBUILDER_EDITOR_PAGE_SETTINGS_STATUS"),options:d,disabled:!h}))}}),(0,s.tZ)(D.Qr,{control:r.control,name:"language",render:function(e){return(0,s.tZ)(M.Z,io(io({},e),{},{label:n("COM_SPPAGEBUILDER_EDITOR_PAGE_SETTINGS_LANGUAGE"),options:l.languages}))}}),(0,s.tZ)(D.Qr,{control:r.control,name:"access",render:function(e){return(0,s.tZ)(M.Z,io(io({},e),{},{label:n("COM_SPPAGEBUILDER_EDITOR_PAGE_SETTINGS_ACCESS"),options:l.access_levels}))}})]}),"css"===i&&(0,s.tZ)("div",{css:uo.fieldsWrapper,children:(0,s.tZ)(D.Qr,{control:r.control,name:"css",render:function(e){return(0,s.tZ)(Fn,io(io({},e),{},{label:n("COM_SPPAGEBUILDER_EDITOR_PAGE_SETTINGS_CUSTOM_CSS")}))}})}),"seo"===i&&(0,s.BX)("div",{css:uo.fieldsWrapper,children:[(0,s.tZ)(D.Qr,{control:r.control,name:"attribs.meta_description",render:function(e){return(0,s.tZ)(eo,io(io({},e),{},{label:n("COM_SPPAGEBUILDER_EDITOR_PAGE_SETTINGS_META_DESCRIPTION"),helpText:n("COM_SPPAGEBUILDER_EDITOR_PAGE_SETTINGS_META_DESCRIPTION_DESC")}))}}),(0,s.tZ)(D.Qr,{control:r.control,name:"attribs.meta_keywords",render:function(e){return(0,s.tZ)(eo,io(io({},e),{},{label:n("COM_SPPAGEBUILDER_EDITOR_PAGE_SETTINGS_META_KEYWORDS"),helpText:n("COM_SPPAGEBUILDER_EDITOR_PAGE_SETTINGS_META_KEYWORDS_DESC")}))}}),(0,s.tZ)(D.Qr,{control:r.control,name:"attribs.robots",render:function(e){return(0,s.tZ)(M.Z,io(io({},e),{},{label:n("COM_SPPAGEBUILDER_EDITOR_PAGE_SETTINGS_ROBOTS"),options:p}))}}),(0,s.tZ)(D.Qr,{control:r.control,name:"attribs.og_type",render:function(e){return(0,s.tZ)(M.Z,io(io({},e),{},{label:n("COM_SPPAGEBUILDER_EDITOR_PAGE_SETTINGS_OG_TYPE"),options:f,helpText:n("COM_SPPAGEBUILDER_EDITOR_PAGE_SETTINGS_OG_TYPE_DESC")}))}}),(0,s.tZ)(D.Qr,{control:r.control,name:"og_title",render:function(e){return(0,s.tZ)(k.Z,io(io({},e),{},{label:n("COM_SPPAGEBUILDER_EDITOR_PAGE_SETTINGS_OG_TITLE")}))}}),(0,s.tZ)(D.Qr,{control:r.control,name:"og_image",render:function(e){return(0,s.tZ)(Vn,io(io({},e),{},{hidePreview:!1,label:n("COM_SPPAGEBUILDER_EDITOR_PAGE_SETTINGS_OG_IMAGE"),previewStyle:uo.mediaFieldPreview,helpText:n("COM_SPPAGEBUILDER_EDITOR_PAGE_SETTINGS_OG_IMAGE_DESC")}))}}),(0,s.tZ)(D.Qr,{control:r.control,name:"og_description",render:function(e){return(0,s.tZ)(eo,io(io({},e),{},{label:n("COM_SPPAGEBUILDER_EDITOR_PAGE_SETTINGS_OG_DESCRIPTION"),helpText:n("COM_SPPAGEBUILDER_EDITOR_PAGE_SETTINGS_OG_DESC_DESC")}))}})]})]})};var uo={wrapper:(0,i.iv)(L.iZ.overflowYAuto,";background-color:",n.qo.base.surface,";height:100%;border-right:1px solid ",n.qo.stroke.neutral,";;label:wrapper;"),fieldsWrapper:(0,i.iv)("padding:",n.W0[16]," ",n.W0[10],";display:flex;flex-direction:column;gap:",n.W0[12],";;label:fieldsWrapper;"),mediaFieldPreview:(0,i.iv)("background-color:",n.qo.background.white,";;label:mediaFieldPreview;")},so=r(2200),po=r(2739);const fo=r.p+"images/23a8aff50d9e39f0a80e.png";var vo=r(6486),ho=r(6795),bo=r(8698);const yo=function(e){var t=e.title;return(0,s.tZ)("div",{css:mo.separator,children:t&&(0,s.tZ)("div",{css:mo.title,children:t})})};var mo={separator:(0,i.iv)("width:calc(100% + 24px);height:1px;background-color:",n.qo.stroke.neutral,";margin-block:",n.W0[10],";margin-inline:-",n.W0[12],";position:relative;;label:separator;"),title:(0,i.iv)("position:absolute;top:50%;left:10px;transform:translateY(-50%);font-size:12px;line-height:12px;color:",n.qo.text.default,";background-color:#fff;padding-inline:4px;;label:title;")},go=r(1954);function wo(e){return wo="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},wo(e)}var Oo=["css"];function Eo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function xo(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Eo(Object(r),!0).forEach((function(t){So(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Eo(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function So(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==wo(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==wo(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===wo(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Co(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Co(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Co(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const Io=function(e){var t=e.field,r=e.fieldState,n=e.onChange,o=void 0===n?se.ZT:n,i=e.label,a=e.placeholder,l=void 0===a?"":a,u=e.disabled,d=e.readOnly,p=e.loading,f=e.isInlineLabel,v=e.isSearchable,h=void 0===v||v,b=e.isClearable,y=void 0===b||b,m=e.responsive,g=void 0!==m&&m,w=e.responsiveOrientation,O=e.helpText,E=(0,I.$)(),S=(0,q.v)((function(e){return e.appConfig})).access_levels,_=(0,se.I6)(S),C=_o((0,c.useState)((function(){var e;return(null===(e=_.find((function(e){return String(e.value)===String(t.value)})))||void 0===e?void 0:e.label)||""})),2),A=C[0],P=C[1],L=_o((0,c.useState)(""),2),D=L[0],j=L[1],T=_o((0,c.useState)(!1),2),B=T[0],M=T[1],k=(0,go.l)({isOpen:B,isDropdown:!0}),R=k.triggerRef,W=k.triggerWidth,N=k.position,G=k.popoverRef,F=(0,c.useMemo)((function(){return h?_.filter((function(e){return e.label.toLowerCase().startsWith(D.toLowerCase())})):_}),[h,_,D]);return(0,s.tZ)(Gn.Z,{fieldState:r,field:t,label:i,disabled:u||0===S.length,readOnly:d,loading:p,isInlineLabel:f,responsive:g,responsiveOrientation:w,helpText:O,children:function(e){var r=e.attributes,n=r.css,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(r,Oo);return(0,s.BX)("div",{css:Po.wrapper,children:[(0,s.BX)("div",{css:Po.inputWrapper,ref:R,children:[(0,s.tZ)("input",xo(xo({},i),{},{onClick:function(){return M((function(e){return!e}))},css:[n,Po.input,";label:AccessLevelField;"],autoComplete:"off",readOnly:d||!h,placeholder:l,value:A,onChange:function(e){P(e.target.value),j(e.target.value)}})),(0,s.tZ)("button",{type:"button",css:Po.caretButton,onClick:function(){M((function(e){return!e}))},disabled:d,children:(0,s.tZ)(x.Z,{name:"chevronDown",width:20,height:20,style:Po.toggleIcon({isOpen:B})})})]}),(0,s.tZ)(go.h,{isOpen:B,onClickOutside:function(){return M(!1)},children:(0,s.BX)("div",{css:[Po.optionsWrapper,{left:N.left,top:N.top,maxWidth:W},";label:AccessLevelField;"],ref:G,children:[(0,s.tZ)("ul",{css:[Po.options,";label:AccessLevelField;"],children:F.map((function(e){return(0,s.tZ)("li",{css:Po.optionItem({isSelected:e.value===t.value}),children:(0,s.tZ)(Z.Z,{variant:"text",buttonCss:Po.optionButton,onClick:function(){t.onChange(e.value),P(e.label),j(""),o(e),M(!1)},children:e.label})},String(e.value))}))}),y&&(0,s.tZ)("div",{css:Po.clearButton({isDisabled:!A}),children:(0,s.tZ)(Z.Z,{variant:"text",disabled:!A,onClick:function(){t.onChange(null),P(""),j("")},children:E("COM_SPPAGEBUILDER_EDITOR_FORM_SELECT_CLEAR")})})]})})]})}})};var Ao={name:"xs7epg-toggleIcon",styles:"transform:rotate(180deg);label:toggleIcon;"},Po={wrapper:{name:"i3il2f-wrapper",styles:"width:100%;label:wrapper;"},inputWrapper:{name:"39rwmw-inputWrapper",styles:"width:100%;display:flex;justify-content:space-between;align-items:center;position:relative;label:inputWrapper;"},input:(0,i.iv)(o.c.body(),";width:100%;cursor:pointer;;label:input;"),clearButton:function(e){var t=e.isDisabled,r=void 0!==t&&t;return(0,i.iv)("padding:",n.W0[8]," ",n.W0[12],";&>button{padding:0;",!r&&(0,i.iv)("color:",n.qo.text.primary,";&:hover{text-decoration:underline;};label:clearButton;"),";};label:clearButton;")},optionsWrapper:(0,i.iv)("position:absolute;width:100%;max-height:500px;z-index:",n.W5.dropdown,";background-color:",n.qo.base.white,";box-shadow:",n.AF.popover,";padding:",n.W0[4]," 0;border-radius:",n.E0[6],";",L.iZ.overflowYAuto,";;label:optionsWrapper;"),options:{name:"1s58vis-options",styles:"list-style-type:none;padding:0;margin:0;label:options;"},optionItem:function(e){var t=e.isSelected,r=void 0!==t&&t;return(0,i.iv)(o.c.body(),";min-height:40px;height:100%;width:100%;display:flex;align-items:center;transition:background-color 0.3s ease-in-out;cursor:pointer;&:hover{background-color:",n.qo.background.hover,";}",r&&(0,i.iv)("background-color:",n.qo.background.active,";position:relative;&::before{content:'';position:absolute;top:0;left:0;width:3px;height:100%;background-color:",n.qo.action.primary.default,";border-radius:0 ",n.E0[6]," ",n.E0[6]," 0;};label:optionItem;"),";;label:optionItem;")},optionButton:(0,i.iv)("width:100%;padding:",n.W0[10]," ",n.W0[12],";;label:optionButton;"),caretButton:(0,i.iv)(L.iZ.resetButton,";position:absolute;top:0;bottom:0;right:",n.W0[8],";margin:auto 0;;label:caretButton;"),toggleIcon:function(e){var t=e.isOpen,r=void 0!==t&&t;return(0,i.iv)("color:",n.qo.icon.default,";transition:transform 0.3s ease-in-out;",r&&Ao,";;label:toggleIcon;")}},Lo=r(6214),Do=r(7870);function jo(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return To(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?To(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function To(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const Zo=function(e){var t=e.onColorChange,r=function(e){var t=e.enabled,r=void 0===t||t,n=(0,S.p)().showToast;return(0,V.a)({enabled:r,queryKey:["GlobalColors"],queryFn:function(){return Y.u.get(z.H.GLOBAL_COLORS).then((function(e){return e.data}))},onError:function(e){n({type:"danger",message:e.message})}})}({enabled:!0}),n=jo((0,c.useState)([]),2),o=n[0],i=n[1],a=jo((0,c.useState)(),2),l=a[0],u=a[1],d=r.isLoading,p=r.data,f=(0,c.useMemo)((function(){return r.data?r.data.map((function(e){return{label:e.name,value:e.id}})):[]}),[r.data]);return(0,c.useEffect)((function(){if(r.data&&r.data.length>0){var e,t=r.data[0];i(null!==(e=t.colors)&&void 0!==e?e:[]),u({label:t.name,value:t.id})}}),[r.data]),d||0!==f.length?(0,s.BX)("div",{css:Bo.globalColorWrapper,children:[(0,s.tZ)(Do.Z,{options:f,value:l,onChange:function(e){var t;u(e);var r=null==p?void 0:p.find((function(t){return t.id===e.value}));r&&i(null!==(t=r.colors)&&void 0!==t?t:[])},inputCss:Bo.selectInputCss,isClearable:!1,optionsStyleVariant:"small"}),!!o.length&&(0,s.tZ)("div",{css:Bo.colorList,children:o.map((function(e,r){return(0,s.tZ)("button",{type:"button",css:Bo.color(new Lo.C(e.value).toHexString()),onClick:function(){return t(e.value)},children:(0,s.tZ)("span",{css:Bo.colorRight(1-new Lo.C(e.value).getAlpha())})},"".concat(e.id,"-").concat(r))}))})]}):null};var Bo={colorList:(0,i.iv)("display:flex;gap:",n.W0[8],";flex-wrap:wrap;max-height:50px;overflow-y:auto;;label:colorList;"),color:function(e){return(0,i.iv)("width:20px;height:20px;background-color:",e,";border:1px solid ",n.qo.stroke.neutral,";border-radius:",n.E0[2],";position:relative;overflow:hidden;;label:color;")},globalColorWrapper:(0,i.iv)("display:flex;flex-direction:column;gap:",n.W0[8],";margin:",n.W0[16]," 0 0 0;;label:globalColorWrapper;"),selectInputCss:(0,i.iv)("max-width:87px;input{border:none;border-radius:0;box-shadow:none;height:auto;padding:0 ",n.W0[12]," 0 0;",o.c.caption(),";:focus{outline:none;box-shadow:none;}}button{right:0;svg{height:12px;width:12px;}};label:selectInputCss;"),colorRight:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return(0,i.iv)("position:absolute;width:30px;height:30px;top:4px;left:5px;transform:rotate(45deg);background-image:url(data:image/svg+xml;utf8,%3Csvg%20width%3D%226%22%20height%3D%226%22%20viewBox%3D%220%200%206%206%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M0%200H3V3H0V0Z%22%20fill%3D%22%23E1E1E1%22/%3E%3Cpath%20d%3D%22M3%200H6V3H3V0Z%22%20fill%3D%22white%22/%3E%3Cpath%20d%3D%22M3%203H6V6H3V3Z%22%20fill%3D%22%23E1E1E1%22/%3E%3Cpath%20d%3D%22M0%203H3V6H0V3Z%22%20fill%3D%22white%22/%3E%3C/svg%3E%0A);opacity:",e,";;label:colorRight;")}},Mo=r(5651);function ko(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const Ro=function(e){var t,r,n=e.color,o=e.isOpen,i=e.triggerRef,a=e.onChangeColor,l=e.popoverGap,u=void 0===l?10:l,d=e.arrowPosition,p=void 0===d?"right":d,f=e.closeColorPicker,v=e.isGlobalColorsVisible,h=void 0===v||v,b=(0,I.$)(),y=(t=(0,c.useState)(n),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,r)||function(e,t){if(e){if("string"==typeof e)return ko(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ko(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),m=y[0],g=y[1],w=(0,go.l)({isOpen:o,triggerRef:i,arrow:p,gap:u}),O=w.position,E=w.popoverRef;(0,c.useEffect)((function(){g(n)}),[n]);var S=function(e){g(e);var t=(0,se.K6)(e),r=t.validColor,n=t.color;r.isValid&&a(n)};return(0,s.tZ)(go.h,{isOpen:o,onClickOutside:function(){f(m)},children:(0,s.BX)("div",{css:[Wo.container,{position:"absolute",left:O.left,top:O.top},";label:ColorPicker;"],ref:E,children:[(0,s.BX)("div",{css:Wo.header,children:[(0,s.tZ)("span",{children:b("COM_SPPAGEBUILDER_EDITOR_COLOR_PICKER_TITLE")}),(0,s.tZ)("button",{type:"button",css:L.iZ.resetButton,onClick:function(){return f(m)},children:(0,s.tZ)(x.Z,{name:"cross"})})]}),(0,s.BX)("div",{css:Wo.content,children:[(0,s.tZ)(Mo.Jg,{color:(0,se.K6)(n).validColor.toRgb(),onChange:function(e){var t=new Lo.C(e),r=(1===e.a?t.toHexString():t.toRgbString()).toUpperCase();g(r),a(r)}}),(0,s.tZ)("input",{type:"text",css:Wo.input,value:m,placeholder:"#000000",onChange:function(e){return S(e.target.value)}}),h&&(0,s.tZ)(Zo,{onColorChange:S})]})]})})};var Wo={content:(0,i.iv)("padding:",n.W0[16],";;label:content;"),header:(0,i.iv)("padding:",n.W0[12]," ",n.W0[16],";border-bottom:1px solid ",n.qo.stroke.neutral,";display:flex;justify-content:space-between;align-items:center;span{",o.c.caption("medium"),";};label:header;"),container:(0,i.iv)("background-color:",n.qo.background.white,";border:1px solid ",n.qo.stroke.neutral,";box-shadow:",n.AF.popover,";border-radius:",n.E0[8],";max-width:278px;width:100%;& .react-colorful{width:auto;gap:",n.W0[10],";}& .react-colorful__saturation-pointer{width:10px;height:10px;}& .react-colorful__hue-pointer,& .react-colorful__alpha-pointer{width:10px;height:10px;}& .react-colorful__saturation{border-radius:",n.E0[8],";border-bottom:unset;}& .react-colorful__hue,& .react-colorful__alpha{height:8px;border-radius:",n.E0[8],";};label:container;"),input:(0,i.iv)(o.c.body()," background-color:",n.qo.base.white,";border:1px solid ",n.qo.stroke.neutral,";border-radius:",n.E0[6],";outline:none;padding:",n.W0[6]," ",n.W0[12],";margin-top:",n.W0[12],";width:100%;:focus{outline:none;box-shadow:",n.AF.outline,";};label:input;")};function No(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Go(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Go(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Go(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Fo=(0,c.forwardRef)((function(e,t){var r=e.color,n=e.onChangeColor,o=e.onClick,i=e.isClearable,a=void 0===i||i,l=e.hasAlphaField,u=void 0===l||l,d=e.disabled,p=void 0!==d&&d,f=function(e){var t=(0,se.K6)(e).validColor;return t.isValid?t.toHexString().toUpperCase().replace("#",""):""},v=function(e){var t=(0,se.K6)(e).validColor;if(!t.isValid)return"0%";var r=100*t.getAlpha(),n=(0,se.GN)(r)?r:r.toFixed(0);return"".concat(n,"%")},h=No((0,c.useState)(f(r)),2),b=h[0],y=h[1],m=No((0,c.useState)(v(r)),2),g=m[0],w=m[1];(0,c.useEffect)((function(){var e=(0,se.K6)(r).isCssVariable;y(e?r:f(r)),w(v(r))}),[r]);var O=function(){var e=Math.min(Number(g.replace(/[^0-9.]/g,"")),100),t=(0,se.K6)(b).isCssVariable,r=e/100,o=new Lo.C("#".concat(b)).setAlpha(r);if(o.isValid||t){var i=(0,se.GN)(e)?e:e.toFixed(2);w("".concat(i,"%")),n(t?b:o.toRgbString())}},E=function(e){"Enter"===e.key&&(O(),e.currentTarget.blur()),"Escape"===e.key&&(y(f(r)),w(v(r)),e.currentTarget.blur())};return(0,s.BX)("div",{ref:t,css:Ho.swatch,children:[(0,s.tZ)("button",{type:"button",css:L.iZ.resetButton,onClick:o,disabled:p,children:(0,se.K6)(r).validColor.isValid?(0,s.tZ)(s.HY,{children:(0,s.BX)("div",{css:Ho.colorBox((0,se.K6)(r).validColor.setAlpha(1).toRgbString()),children:[(0,s.tZ)("span",{css:Ho.colorLeft}),(0,s.tZ)("span",{css:Ho.colorRight(1-((0,se.K6)(r).validColor.getAlpha()||0))}),a&&(0,s.tZ)("span",{role:"button",tabIndex:0,css:Ho.clearButton,onClick:function(e){e.stopPropagation(),n("")},onKeyDown:se.ZT,children:(0,s.tZ)(x.Z,{name:"crossCircled"})})]})}):(0,s.tZ)(Uo,{})}),(0,s.tZ)("input",{type:"text",css:Ho.colorCode,value:b,onChange:function(e){y(e.target.value),u||w(v(f(e.target.value)))},onBlur:O,onKeyDown:E,onClick:function(e){return e.currentTarget.select()}}),u&&(0,s.tZ)("div",{css:Ho.alphaPercentageWrapper,children:(0,s.tZ)("input",{type:"text",css:Ho.alphaPercentage,value:g,onChange:function(e){return w(e.target.value)},onBlur:O,onKeyDown:E,onClick:function(e){return e.currentTarget.select()}})})]})})),Uo=function(){return(0,s.tZ)("div",{css:Ho.emptyColor})},Ho={swatch:(0,i.iv)("background-color:",n.qo.background.white,";border:1px solid ",n.qo.stroke.neutral,";border-radius:",n.E0[5],";display:flex;align-items:center;gap:",n.W0[8],";overflow:hidden;&:focus-within{box-shadow:",n.AF.outline,";};label:swatch;"),emptyColor:(0,i.iv)("width:40px;height:20px;border:1px solid ",n.qo.stroke.neutral,";border-radius:",n.E0[4],";overflow:hidden;margin:",n.W0[6]," 0 ",n.W0[6]," ",n.W0[6],";background-image:url(data:image/svg+xml;utf8,%3Csvg%20width%3D%226%22%20height%3D%226%22%20viewBox%3D%220%200%206%206%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M0%200H3V3H0V0Z%22%20fill%3D%22%23E1E1E1%22/%3E%3Cpath%20d%3D%22M3%200H6V3H3V0Z%22%20fill%3D%22white%22/%3E%3Cpath%20d%3D%22M3%203H6V6H3V3Z%22%20fill%3D%22%23E1E1E1%22/%3E%3Cpath%20d%3D%22M0%203H3V6H0V3Z%22%20fill%3D%22white%22/%3E%3C/svg%3E%0A);;label:emptyColor;"),colorBox:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"#fff";return(0,i.iv)("width:40px;height:20px;border:1px solid ",n.qo.stroke.neutral,";border-radius:",n.E0[4],";background-color:",e,";margin:",n.W0[6]," 0 ",n.W0[6]," ",n.W0[6],";display:flex;position:relative;;label:colorBox;")},clearButton:{name:"1e52ctn-clearButton",styles:"position:absolute;top:0;right:0;transform:translate(50%, -50%);label:clearButton;"},colorLeft:{name:"1s36fqd-colorLeft",styles:"width:50%;label:colorLeft;"},colorRight:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return(0,i.iv)("width:50%;background-image:url(data:image/svg+xml;utf8,%3Csvg%20width%3D%226%22%20height%3D%226%22%20viewBox%3D%220%200%206%206%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M0%200H3V3H0V0Z%22%20fill%3D%22%23E1E1E1%22/%3E%3Cpath%20d%3D%22M3%200H6V3H3V0Z%22%20fill%3D%22white%22/%3E%3Cpath%20d%3D%22M3%203H6V6H3V3Z%22%20fill%3D%22%23E1E1E1%22/%3E%3Cpath%20d%3D%22M0%203H3V6H0V3Z%22%20fill%3D%22white%22/%3E%3C/svg%3E%0A);opacity:",e,";;label:colorRight;")},colorCode:(0,i.iv)(o.c.caption()," width:55px;padding:0;margin:0;border:none;outline:none;;label:colorCode;"),alphaPercentageWrapper:(0,i.iv)("position:relative;padding:0 ",n.W0[8]," 0 ",n.W0[4],";&::before{content:'';position:absolute;top:0;bottom:0;left:-1px;width:1px;background-color:",n.qo.stroke.neutral,";};label:alphaPercentageWrapper;"),alphaPercentage:(0,i.iv)(o.c.caption()," width:35px;height:32px;border:none;outline:none;;label:alphaPercentage;")},qo={height:30,width:30},zo=(0,c.forwardRef)((function(e,t){var r=e.color,n=e.onChangeColor,o=e.onClick,i=e.isClearable,a=void 0===i||i,l=e.dimension,c=void 0===l?qo:l,u=e.disabled,d=void 0!==u&&u;return(0,s.tZ)("button",{type:"button",ref:t,css:$o.swatch({dimension:c}),onClick:o,disabled:d,children:new Lo.C(r).isValid?(0,s.BX)("div",{css:$o.colorBox({color:new Lo.C(r).setAlpha(1).toRgbString()}),children:[(0,s.BX)("div",{css:$o.colorWrapper,children:[(0,s.tZ)("span",{css:$o.colorLeft}),(0,s.tZ)("span",{css:$o.colorRight(1-new Lo.C(r).getAlpha())})]}),a&&(0,s.tZ)("span",{role:"button",tabIndex:0,css:$o.clearButton,onClick:function(e){e.stopPropagation(),n("")},onKeyDown:se.ZT,"data-clear-button":!0,children:(0,s.tZ)(x.Z,{name:"crossCircled"})})]}):(0,s.tZ)(Vo,{})})})),Vo=function(){return(0,s.tZ)("div",{css:$o.emptyColor})},$o={swatch:function(e){var t=e.dimension;return(0,i.iv)(L.iZ.resetButton,";width:",t.width,"px;height:",t.height,"px;background-color:",n.qo.background.white,";border:1px solid ",n.qo.stroke.neutral,";border-radius:",n.E0[2],";:hover{[data-clear-button]{visibility:visible;opacity:1;}}&:focus-within{box-shadow:",n.AF.outline,";};label:swatch;")},emptyColor:{name:"bobwpb-emptyColor",styles:"width:100%;height:100%;overflow:hidden;background-image:url(data:image/svg+xml;utf8,%3Csvg%20width%3D%226%22%20height%3D%226%22%20viewBox%3D%220%200%206%206%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M0%200H3V3H0V0Z%22%20fill%3D%22%23E1E1E1%22/%3E%3Cpath%20d%3D%22M3%200H6V3H3V0Z%22%20fill%3D%22white%22/%3E%3Cpath%20d%3D%22M3%203H6V6H3V3Z%22%20fill%3D%22%23E1E1E1%22/%3E%3Cpath%20d%3D%22M0%203H3V6H0V3Z%22%20fill%3D%22white%22/%3E%3C/svg%3E%0A);label:emptyColor;"},colorBox:function(e){var t=e.color,r=void 0===t?"#fff":t;return(0,i.iv)("width:100%;height:100%;background-color:",r,";position:relative;;label:colorBox;")},clearButton:{name:"amhx51-clearButton",styles:"position:absolute;top:0;right:0;transform:translate(50%, -50%);visibility:hidden;opacity:0;transition:visibility 0.3s ease,opacity 0.3s ease;label:clearButton;"},colorWrapper:{name:"1tjuvft-colorWrapper",styles:"display:block;width:100%;height:100%;overflow:hidden;position:relative;label:colorWrapper;"},colorLeft:{name:"o6it0s-colorLeft",styles:"display:block;height:100%;width:100%;label:colorLeft;"},colorRight:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return(0,i.iv)("position:absolute;width:40px;height:40px;top:8px;left:8px;transform:rotate(45deg);background-image:url(data:image/svg+xml;utf8,%3Csvg%20width%3D%226%22%20height%3D%226%22%20viewBox%3D%220%200%206%206%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M0%200H3V3H0V0Z%22%20fill%3D%22%23E1E1E1%22/%3E%3Cpath%20d%3D%22M3%200H6V3H3V0Z%22%20fill%3D%22white%22/%3E%3Cpath%20d%3D%22M3%203H6V6H3V3Z%22%20fill%3D%22%23E1E1E1%22/%3E%3Cpath%20d%3D%22M0%203H3V6H0V3Z%22%20fill%3D%22white%22/%3E%3C/svg%3E%0A);opacity:",e,";;label:colorRight;")}};function Ko(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Xo=function(e){var t,r,n=e.label,o=e.color,i=e.onChange,a=e.onClose,l=e.hasAlphaField,u=e.plainSwatch,d=void 0!==u&&u,p=e.isColorPickerOpen,f=void 0!==p&&p,v=e.dimension,h=e.arrowPosition,b=void 0===h?"right":h,y=e.isGlobalColorsVisible,m=(t=(0,c.useState)(f),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,r)||function(e,t){if(e){if("string"==typeof e)return Ko(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ko(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),g=m[0],w=m[1],O=(0,c.useRef)(null);return(0,s.BX)(s.HY,{children:[(0,s.BX)("div",{css:Yo.wrapper,children:[!!n&&(0,s.tZ)("span",{css:Yo.label,children:n}),d?(0,s.tZ)(zo,{ref:O,color:o||"",onClick:function(){return w(!0)},onChangeColor:function(e){i(e),a(e)},dimension:v}):(0,s.tZ)(Fo,{ref:O,color:o||"",onClick:function(){return w(!0)},onChangeColor:function(e){i(e),a(e)},hasAlphaField:l})]}),(0,s.tZ)(Ro,{isOpen:g,color:o||"",triggerRef:O,onChangeColor:i,closeColorPicker:function(e){w(!1),a(e)},arrowPosition:b,isGlobalColorsVisible:y})]})},Yo={wrapper:(0,i.iv)("display:flex;flex-direction:column;gap:",n.W0[4],";;label:wrapper;"),label:(0,i.iv)(o.c.caption()," display:block;;label:label;")},Qo={type:"linear",color:"",color2:"",pos:0,pos2:100,deg:0,radialPos:"center center"},Jo=function(e){var t=ti(e);return(0,s.tZ)("div",{css:ri.bodyWrapper,children:(0,s.tZ)("div",{css:ri.body(t)})})},ei=function(e){var t=e.isActive,r=e.type,n=e.activeBackground,o=e.onClick;return(0,s.tZ)("button",{type:"button",css:ri.button({isActive:t,background:C.hF[r],activeBackground:n}),onClick:o})},ti=function(e){var t=e.radialPos,r=void 0===t?"center center":t,n=e.deg,o=void 0===n?0:n,i=e.pos,a=void 0===i?0:i,l=e.pos2,c=void 0===l?100:l,u=e.color,s=e.color2,d=e.type,p="#b5b5b5",f="#f2f2f2",v="linear-gradient(".concat(o,"deg, ").concat(u||p," ").concat(a,"%, ").concat(s||f," ").concat(c,"%)"),h="radial-gradient(at ".concat(r,", ").concat(u||p," ").concat(a,"%, ").concat(s||f," ").concat(c,"%)");return"linear"===d?v:h},ri={bodyWrapper:(0,i.iv)("display:flex;width:244px;height:124px;border-radius:",n.E0[5],";;label:bodyWrapper;"),body:function(e){return(0,i.iv)("width:100%;border-radius:",n.E0[5],";background:",e,";;label:body;")},button:function(e){var t=e.isActive,r=e.background,o=e.activeBackground;return(0,i.iv)(L.iZ.resetButton," width:20px;height:20px;border-radius:",n.E0.circle,";background:",r,";",t&&(0,i.iv)("border:2px solid ",n.qo.stroke.primary,";background:",o,";;label:button;"),";;label:button;")}},ni=r(3581);function oi(e){return oi="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},oi(e)}function ii(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ai(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ii(Object(r),!0).forEach((function(t){li(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ii(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function li(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==oi(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==oi(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===oi(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ci=function(e){var t=e.colorProperty,r=e.onChangeColorProperty,n=(0,I.$)(),o=t.deg,i=void 0===o?Qo.deg:o,a=t.pos,l=void 0===a?Qo.pos:a,c=t.pos2,u=void 0===c?Qo.pos2:c,d=t.color,p=t.color2;return(0,s.BX)("div",{children:[(0,s.tZ)(Jo,ai({},t)),(0,s.BX)("div",{css:ui.colorPickerWrapper,children:[(0,s.tZ)(Xo,{label:n("COM_SPPAGEBUILDER_EDITOR_COLOR_PICKER_PROPERTY_COLOR_1"),color:d,onChange:function(e){return r(ai(ai({},t),{},{color:e}))},onClose:function(e){return r(ai(ai({},t),{},{color:e}))},hasAlphaField:!1}),(0,s.tZ)(Xo,{label:n("COM_SPPAGEBUILDER_EDITOR_COLOR_PICKER_PROPERTY_COLOR_2"),color:p,onChange:function(e){return r(ai(ai({},t),{},{color2:e}))},onClose:function(e){return r(ai(ai({},t),{},{color2:e}))},hasAlphaField:!1})]}),(0,s.BX)("div",{css:ui.linearProperty,children:[(0,s.tZ)(ni.Z,{label:n("COM_SPPAGEBUILDER_EDITOR_COLOR_PICKER_PROPERTY_START"),isInlineLabel:!0,value:l.toString(),onChange:function(e){return r(ai(ai({},t),{},{pos:(0,tr.He)(e)}))},inputContent:"%"}),(0,s.tZ)(ni.Z,{label:n("COM_SPPAGEBUILDER_EDITOR_COLOR_PICKER_PROPERTY_END"),isInlineLabel:!0,value:u.toString(),onChange:function(e){return r(ai(ai({},t),{},{pos2:(0,tr.He)(e)}))},inputContent:"%"}),(0,s.tZ)(ni.Z,{label:n("COM_SPPAGEBUILDER_EDITOR_COLOR_PICKER_PROPERTY_ANGLE"),isInlineLabel:!0,value:i.toString(),onChange:function(e){return r(ai(ai({},t),{},{deg:(0,tr.He)(e)}))},inputContent:"deg"})]})]})};var ui={linearWrapper:(0,i.iv)("display:flex;width:244px;height:124px;border-radius:",n.E0[5],";;label:linearWrapper;"),linearBody:function(e){return(0,i.iv)("width:100%;border-radius:",n.E0[5],";background-image:",e,";;label:linearBody;")},colorPickerWrapper:(0,i.iv)("display:flex;justify-content:space-between;margin:",n.W0[12]," 0;;label:colorPickerWrapper;"),linearProperty:(0,i.iv)("display:flex;flex-direction:column;gap:",n.W0[16],";;label:linearProperty;")};function si(e){return si="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},si(e)}function di(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function pi(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?di(Object(r),!0).forEach((function(t){fi(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):di(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function fi(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==si(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==si(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===si(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const vi=function(e){var t,r=e.colorProperty,n=e.onChangeColorProperty,o=(0,I.$)(),i=r.pos,a=void 0===i?Qo.pos:i,l=r.pos2,c=void 0===l?Qo.pos2:l,u=r.color,d=r.color2,p=[{label:o("COM_SPPAGEBUILDER_EDITOR_GRADIENT_ALIGNMENT_TOP_CENTER"),value:"top center"},{label:o("COM_SPPAGEBUILDER_EDITOR_GRADIENT_ALIGNMENT_TOP_LEFT"),value:"top left"},{label:o("COM_SPPAGEBUILDER_EDITOR_GRADIENT_ALIGNMENT_TOP_RIGHT"),value:"top right"},{label:o("COM_SPPAGEBUILDER_EDITOR_GRADIENT_ALIGNMENT_CENTER_CENTER"),value:"center center"},{label:o("COM_SPPAGEBUILDER_EDITOR_GRADIENT_ALIGNMENT_CENTER_LEFT"),value:"center left"},{label:o("COM_SPPAGEBUILDER_EDITOR_GRADIENT_ALIGNMENT_CENTER_RIGHT"),value:"center right"},{label:o("COM_SPPAGEBUILDER_EDITOR_GRADIENT_ALIGNMENT_BOTTOM_CENTER"),value:"bottom center"},{label:o("COM_SPPAGEBUILDER_EDITOR_GRADIENT_ALIGNMENT_BOTTOM_LEFT"),value:"bottom left"},{label:o("COM_SPPAGEBUILDER_EDITOR_GRADIENT_ALIGNMENT_BOTTOM_RIGHT"),value:"bottom right"}];return(0,s.BX)("div",{children:[(0,s.tZ)(Jo,pi({},r)),(0,s.BX)("div",{css:hi.colorPickerWrapper,children:[(0,s.tZ)(Xo,{label:o("COM_SPPAGEBUILDER_EDITOR_COLOR_PICKER_PROPERTY_COLOR_1"),color:u,onChange:function(e){return n(pi(pi({},r),{},{color:e}))},onClose:function(e){return n(pi(pi({},r),{},{color:e}))},hasAlphaField:!1}),(0,s.tZ)(Xo,{label:o("COM_SPPAGEBUILDER_EDITOR_COLOR_PICKER_PROPERTY_COLOR_2"),color:d,onChange:function(e){return n(pi(pi({},r),{},{color2:e}))},onClose:function(e){return n(pi(pi({},r),{},{color2:e}))},hasAlphaField:!1})]}),(0,s.BX)("div",{css:hi.linearProperty,children:[(0,s.tZ)(ni.Z,{label:o("COM_SPPAGEBUILDER_EDITOR_COLOR_PICKER_PROPERTY_START"),isInlineLabel:!0,value:a.toString(),onChange:function(e){return n(pi(pi({},r),{},{pos:(0,tr.He)(e)}))},inputContent:"%"}),(0,s.tZ)(ni.Z,{label:o("COM_SPPAGEBUILDER_EDITOR_COLOR_PICKER_PROPERTY_END"),isInlineLabel:!0,value:c.toString(),onChange:function(e){return n(pi(pi({},r),{},{pos2:(0,tr.He)(e)}))},inputContent:"%"}),(0,s.tZ)(Do.Z,{label:o("COM_SPPAGEBUILDER_EDITOR_COLOR_PICKER_PROPERTY_ANGLE"),value:null!==(t=p.find((function(e){return r.radialPos===e.value})))&&void 0!==t?t:p[3],placeholder:o("COM_SPPAGEBUILDER_EDITOR_COLOR_PICKER_SELECT_ANGLE_PLACEHOLDER"),options:p,onChange:function(e){return n(pi(pi({},r),{},{radialPos:e.value}))},clearOption:function(){return n(pi(pi({},r),{},{radialPos:"center center"}))},isSearchable:!0})]})]})};var hi={linearWrapper:(0,i.iv)("display:flex;width:244px;height:124px;border-radius:",n.E0[5],";;label:linearWrapper;"),linearBody:function(e){return(0,i.iv)("width:100%;border-radius:",n.E0[5],";background-image:",e,";;label:linearBody;")},colorPickerWrapper:(0,i.iv)("display:flex;justify-content:space-between;margin:",n.W0[12]," 0;;label:colorPickerWrapper;"),linearProperty:(0,i.iv)("display:flex;flex-direction:column;gap:",n.W0[16],";;label:linearProperty;")};function bi(e){return bi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},bi(e)}function yi(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function mi(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?yi(Object(r),!0).forEach((function(t){gi(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):yi(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function gi(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==bi(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==bi(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===bi(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wi(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const Oi=function(e){var t,r,n=e.colorProperty,o=e.onChangeColorProperty,i=(t=(0,c.useState)(n.color),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,r)||function(e,t){if(e){if("string"==typeof e)return wi(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?wi(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=i[0],l=i[1];(0,c.useEffect)((function(){l(n.color)}),[n.color]);var u=function(e){l(e);var t=(0,se.K6)(e),r=t.validColor,i=t.color,a=t.isCssVariable;(r.isValid||a)&&o(mi(mi({},n),{},{color:i}))};return(0,s.BX)("div",{css:Ei.wrapper,children:[(0,s.tZ)(Mo.Jg,{color:(0,se.K6)(n.color).validColor.toRgb(),onChange:function(e){var t=new Lo.C(e),r=(1===e.a?t.toHexString():t.toRgbString()).toUpperCase();l(r),o(mi(mi({},n),{},{color:r}))}}),(0,s.tZ)("input",{type:"text",css:Ei.input,value:a,placeholder:"#000000",onChange:function(e){return u(e.target.value)}}),(0,s.tZ)(Zo,{onColorChange:u})]})};var Ei={wrapper:(0,i.iv)("& .react-colorful{gap:",n.W0[10],";width:244px;height:280px;}& .react-colorful__saturation-pointer{width:10px;height:10px;}& .react-colorful__hue-pointer,& .react-colorful__alpha-pointer{width:10px;height:10px;}& .react-colorful__saturation{border-radius:",n.E0[8],";border-bottom:unset;}& .react-colorful__hue,& .react-colorful__alpha{height:8px;border-radius:",n.E0[8],";};label:wrapper;"),input:(0,i.iv)(o.c.body()," background-color:",n.qo.base.white,";border:1px solid ",n.qo.stroke.neutral,";border-radius:",n.E0[6],";outline:none;padding:",n.W0[6]," ",n.W0[12],";margin-top:",n.W0[12],";width:100%;:focus{outline:none;box-shadow:",n.AF.outline,";};label:input;")};function xi(e){return xi="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},xi(e)}function Si(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Si(Object(r),!0).forEach((function(t){Ci(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Si(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ci(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==xi(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==xi(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===xi(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Ii=function(e){var t=e.colorProperty,r=e.onChangeColorProperty,n=e.isOpen,o=e.triggerRef,i=e.closeColorPicker,a=(0,go.l)({isOpen:n,triggerRef:o,gap:20,arrow:"right"}),l=a.position,c=a.popoverRef,u=(0,I.$)();return(0,s.tZ)(go.h,{isOpen:n,onClickOutside:function(){i()},children:(0,s.BX)("div",{css:[Ai.container,{position:"absolute",left:l.left,top:l.top},";label:AdvancedColorPicker;"],ref:c,children:[(0,s.BX)("div",{css:Ai.header,children:[(0,s.tZ)("span",{children:u("COM_SPPAGEBUILDER_EDITOR_COLOR_PICKER_TITLE")}),(0,s.tZ)("button",{type:"button",css:L.iZ.resetButton,onClick:i,children:(0,s.tZ)(x.Z,{name:"cross"})})]}),(0,s.BX)("div",{css:Ai.content,children:[(0,s.BX)("div",{css:Ai.nav,children:[(0,s.tZ)(ei,{type:"solid",isActive:"solid"===t.type,activeBackground:t.color,onClick:function(){return r(_i(_i({},t),{},{type:"solid"}))}}),(0,s.tZ)(ei,{type:"linear",isActive:"linear"===t.type,activeBackground:ti(t),onClick:function(){return r(_i(_i({},t),{},{type:"linear"}))}}),(0,s.tZ)(ei,{type:"radial",isActive:"radial"===t.type,activeBackground:ti(t),onClick:function(){return r(_i(_i({},t),{},{type:"radial"}))}})]}),"solid"===t.type&&(0,s.tZ)(Oi,{colorProperty:t,onChangeColorProperty:r}),"linear"===t.type&&(0,s.tZ)(ci,{colorProperty:t,onChangeColorProperty:r}),"radial"===t.type&&(0,s.tZ)(vi,{colorProperty:t,onChangeColorProperty:r})]})]})})};var Ai={container:(0,i.iv)("background-color:",n.qo.background.white,";border:1px solid ",n.qo.stroke.neutral,";box-shadow:",n.AF.popover,";border-radius:",n.E0[8],";max-width:278px;width:100%;;label:container;"),content:(0,i.iv)("padding:",n.W0[16],";;label:content;"),header:(0,i.iv)("padding:",n.W0[12]," ",n.W0[16],";border-bottom:1px solid ",n.qo.stroke.neutral,";display:flex;justify-content:space-between;align-items:center;span{",o.c.caption("medium"),";};label:header;"),nav:(0,i.iv)("display:flex;justify-content:center;gap:",n.W0[20],";margin-bottom:",n.W0[12],";;label:nav;")},Pi=(0,c.forwardRef)((function(e,t){var r=e.name,n=e.color,o=e.onClick,i=e.disabled,a=e.clearColor,l=e.isClearable,c=void 0===l||l;return(0,s.BX)("div",{ref:t,css:ji.wrapper,children:[(0,s.tZ)("button",{type:"button",css:ji.colorWrapper,onClick:o,disabled:i,children:n?(0,s.BX)(s.HY,{children:[(0,s.tZ)("div",{css:ji.colorSwatch(n)}),c&&(0,s.tZ)("span",{role:"button",tabIndex:0,css:ji.clearButton,onClick:function(e){e.stopPropagation(),a()},onKeyDown:se.ZT,children:(0,s.tZ)(x.Z,{name:"crossCircled"})})]}):(0,s.tZ)(Li,{})}),(0,s.tZ)("span",{children:r})]})})),Li=function(){return(0,s.tZ)("div",{css:ji.emptyColor})};const Di=Pi;var ji={wrapper:(0,i.iv)(L.iZ.resetButton," background-color:",n.qo.background.white,";border:1px solid ",n.qo.stroke.neutral,";border-radius:",n.E0[5],";display:flex;align-items:center;gap:",n.W0[8],";overflow:hidden;&:focus-within{box-shadow:",n.AF.outline,";};label:wrapper;"),colorWrapper:(0,i.iv)(L.iZ.resetButton," position:relative;;label:colorWrapper;"),clearButton:{name:"1imvnip-clearButton",styles:"position:absolute;top:1px;right:-6px;label:clearButton;"},colorSwatch:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"#FFFFFF";return(0,i.iv)("width:40px;height:20px;border:1px solid ",n.qo.stroke.neutral,";border-radius:",n.E0[4],";background:",e,";overflow:hidden;margin:",n.W0[6]," 0 ",n.W0[6]," ",n.W0[6],";;label:colorSwatch;")},emptyColor:(0,i.iv)("width:40px;height:20px;border:1px solid ",n.qo.stroke.neutral,";border-radius:",n.E0[4],";overflow:hidden;margin:",n.W0[6]," 0 ",n.W0[6]," ",n.W0[6],";background-image:url(data:image/svg+xml;utf8,%3Csvg%20width%3D%226%22%20height%3D%226%22%20viewBox%3D%220%200%206%206%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M0%200H3V3H0V0Z%22%20fill%3D%22%23E1E1E1%22/%3E%3Cpath%20d%3D%22M3%200H6V3H3V0Z%22%20fill%3D%22white%22/%3E%3Cpath%20d%3D%22M3%203H6V6H3V3Z%22%20fill%3D%22%23E1E1E1%22/%3E%3Cpath%20d%3D%22M0%203H3V6H0V3Z%22%20fill%3D%22white%22/%3E%3C/svg%3E%0A);;label:emptyColor;")};function Ti(e){return Ti="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},Ti(e)}function Zi(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Bi(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Zi(Object(r),!0).forEach((function(t){Mi(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Zi(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Mi(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==Ti(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==Ti(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Ti(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ki(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const Ri=function(e){var t,r,n=e.field,o=e.fieldState,i=e.label,a=e.disabled,l=e.loading,u=e.responsive,d=e.responsiveOrientation,p=e.isInlineLabel,f=void 0!==p&&p,v=e.helpText,h=(t=(0,c.useState)(!1),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,r)||function(e,t){if(e){if("string"==typeof e)return ki(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ki(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),b=h[0],y=h[1],m=(0,c.useRef)(null),g=(0,I.$)();return(0,s.tZ)(Gn.Z,{field:n,fieldState:o,disabled:a,loading:l,label:i,responsive:u,responsiveOrientation:d,isInlineLabel:f,helpText:v,children:function(){var e,t=null!==(e=n.value)&&void 0!==e?e:Qo,r=t.color,o=ti(t);return(0,s.BX)(s.HY,{children:["solid"===t.type?(0,s.tZ)(Fo,{ref:m,color:r,onChangeColor:function(e){return n.onChange(Bi(Bi({},t),{},{color:e}))},disabled:a,onClick:function(){return y(!0)}}):(0,s.tZ)(Di,{ref:m,name:g("linear"===t.type?"COM_SPPAGEBUILDER_EDITOR_GRADIENT_LINEAR":"COM_SPPAGEBUILDER_EDITOR_GRADIENT_RADIAL"),color:r?o:"",onClick:function(){return y(!0)},clearColor:function(){return n.onChange(Bi(Bi({},t),{},{color:"",color2:""}))}}),(0,s.tZ)(Ii,{colorProperty:t,onChangeColorProperty:n.onChange,isOpen:b,triggerRef:m,closeColorPicker:function(){return y(!1)}})]})}})},Wi=function(e){var t=e.label,r=e.options,n=e.field,o=e.fieldState,i=e.disabled,a=e.loading,l=e.onChange,c=e.responsive,u=e.responsiveOrientation,d=e.helpText;return 0===r.length?null:(0,s.tZ)(Gn.Z,{label:t,field:n,fieldState:o,disabled:i,loading:a,responsive:c,responsiveOrientation:u,helpText:d,children:function(e){var t=e.data,o=t.device,a=t.responsive,c=(0,tr.o5)(n.value,o);return(0,s.tZ)(s.HY,{children:(0,s.tZ)(rr,{variant:"secondary",activeTab:c,tabList:r,onChange:function(e){var t=(0,tr.xU)({previous:n.value,value:e,responsive:a,device:o});n.onChange(t),l&&l(t)},disabled:i})})}})};var Ni=r(1974),Gi=r(2811);function Fi(e){return Fi="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},Fi(e)}var Ui=["settings"];function Hi(){Hi=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,o){var i=t&&t.prototype instanceof p?t:p,a=Object.create(i.prototype),l=new _(o||[]);return n(a,"_invoke",{value:O(e,r,l)}),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var d={};function p(){}function f(){}function v(){}var h={};c(h,i,(function(){return this}));var b=Object.getPrototypeOf,y=b&&b(b(C([])));y&&y!==t&&r.call(y,i)&&(h=y);var m=v.prototype=p.prototype=Object.create(h);function g(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function o(n,i,a,l){var c=s(e[n],e,i);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==Fi(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){o("next",e,a,l)}),(function(e){o("throw",e,a,l)})):t.resolve(d).then((function(e){u.value=e,a(u)}),(function(e){return o("throw",e,a,l)}))}l(c.arg)}var i;n(this,"_invoke",{value:function(e,r){function n(){return new t((function(t,n){o(e,r,t,n)}))}return i=i?i.then(n,n):n()}})}function O(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var l=E(a,r);if(l){if(l===d)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=s(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===d)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function E(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,E(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),d;var o=s(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,d;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function C(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:I}}function I(){return{value:void 0,done:!0}}return f.prototype=v,n(m,"constructor",{value:v,configurable:!0}),n(v,"constructor",{value:f,configurable:!0}),f.displayName=c(v,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,c(e,l,"GeneratorFunction")),e.prototype=Object.create(m),e},e.awrap=function(e){return{__await:e}},g(w.prototype),c(w.prototype,a,(function(){return this})),e.AsyncIterator=w,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new w(u(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},g(m),c(m,l,"Generator"),c(m,i,(function(){return this})),c(m,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=C,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(l&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:C(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},e}function qi(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function zi(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?qi(Object(r),!0).forEach((function(t){Vi(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):qi(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Vi(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==Fi(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==Fi(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Fi(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $i(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function Ki(e,t,r,n,o,i,a){try{var l=e[i](a),c=l.value}catch(e){return void r(e)}l.done?t(c):Promise.resolve(c).then(n,o)}var Xi=function(){var e=(0,D.Gc)(),t=(0,Bt.s0)(),r=(0,An.Z)(Zt.F.PageEditor).id,n=(0,Dn.lN)(),o=(0,Dn.es)({hideSuccessMessage:!0}),i=(0,Gi.T)().prepareFormDataBeforeSaving,a=function(){var a,l=(a=Hi().mark((function a(l){var c,u,s,d;return Hi().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return c=e.getValues(),u=c.settings,s=$i(c,Ui),a.next=3,n.mutateAsync(zi(zi({},s),{},{id:Number(r),text:i(u)}));case 3:if(null==l||!l.saveAsCopy){a.next=9;break}return a.next=6,o.mutateAsync({id:Number(r)});case 6:return(d=a.sent).id&&t(Zt.F.PageEditor.buildLink({id:d.id.toString()})),a.abrupt("return",o.isLoading);case 9:return a.abrupt("return",n.isLoading);case 10:case"end":return a.stop()}}),a)})),function(){var e=this,t=arguments;return new Promise((function(r,n){var o=a.apply(e,t);function i(e){Ki(o,r,n,i,l,"next",e)}function l(e){Ki(o,r,n,i,l,"throw",e)}i(void 0)}))});return function(e){return l.apply(this,arguments)}}();return{savePageContent:a,isLoading:n.isLoading||o.isLoading}};const Yi=r.p+"images/1924b8a0608a4b4c1b70.svg",Qi=function(){var e=(0,I.$)(),t=(0,An.Z)(Zt.F.PageEditor).id,r=Xi().savePageContent;return(0,s.BX)("div",{css:Ji.wrapper,children:[(0,s.tZ)("img",{src:Yi,width:135,height:152,alt:"Illustration"}),(0,s.tZ)("p",{css:Ji.text,children:e("COM_SPPAGEBUILDER_EDITOR_ADVANCED_SETTINGS_MESSAGE")}),(0,s.BX)(j.rU,{to:"".concat(Ni.Z.APPLICATION_ROOT,"index.php?option=com_sppagebuilder&view=form&layout=edit&tmpl=component&id=").concat(t),css:Ji.permalinkButton,target:"_blank",rel:"noreferrer nofollow",onClick:function(){r()},children:[(0,s.tZ)(x.Z,{name:"parmaLink",width:16,height:16}),(0,s.tZ)("span",{children:e("COM_SPPAGEBUILDER_EDITOR_ADVANCED_SETTINGS_FRONTEND_BUTTON")})]})]})};var Ji={wrapper:(0,i.iv)("background-color:",n.qo.base.white,";border-radius:",n.E0[6],";padding:",n.W0[28]," ",n.W0[32],";display:flex;flex-direction:column;justify-content:center;align-items:center;gap:",n.W0[24],";;label:wrapper;"),text:(0,i.iv)(o.c.body(),";text-align:center;;label:text;"),permalinkButton:(0,i.iv)(L.iZ.resetButton,";background-color:",n.qo.base.primary,";border-radius:",n.E0[24],";color:",n.qo.text.white,";padding:",n.W0[2]," ",n.W0[16]," ",n.W0[2]," ",n.W0[4],";display:flex;gap:",n.W0[6],";align-items:center;svg{fill:none;}span{",o.c.body(),";color:",n.qo.text.white,";line-height:",n.Nv[28],";}:hover{svg{color:",n.qo.text.white,";}};label:permalinkButton;")};function ea(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const ta=function(e){var t,r,n=e.onChange,o=e.onToggle,i=(t=e.value.split(" "),r=4,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,r)||function(e,t){if(e){if("string"==typeof e)return ea(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ea(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=i[0],l=void 0===a?"":a,c=i[1],u=void 0===c?"":c,d=i[2],p=void 0===d?"":d,f=i[3],v=void 0===f?"":f;return(0,s.BX)("div",{css:ra.wrapper,children:[(0,s.tZ)("input",{name:"topLeft",value:l,onChange:function(e){n("".concat(e.target.value," ").concat(u," ").concat(p," ").concat(v))}}),(0,s.tZ)("input",{name:"topRight",value:u,onChange:function(e){return n("".concat(l," ").concat(e.target.value," ").concat(p," ").concat(v))}}),(0,s.tZ)("input",{name:"bottomRight",value:p,onChange:function(e){return n("".concat(l," ").concat(u," ").concat(e.target.value," ").concat(v))}}),(0,s.tZ)("input",{name:"bottomLeft",value:v,onChange:function(e){return n("".concat(l," ").concat(u," ").concat(p," ").concat(e.target.value))}}),(0,s.tZ)(Z.Z,{variant:"text",buttonCss:ra.button,onClick:o,children:(0,s.tZ)(x.Z,{name:"cornerRadius",width:16,height:16})})]})};var ra={wrapper:(0,i.iv)("display:flex;height:32px;border:1px solid ",n.qo.stroke.neutral,";overflow:hidden;box-shadow:",n.AF.input,";border-radius:",n.E0[5],";input{",o.c.body(),";width:100%;color:",n.qo.text.default,";appearance:textfield;box-shadow:none;border:none;border-right:1px solid ",n.qo.stroke.neutral,";padding:",n.W0[6]," ",n.W0[12],";:focus{outline:none;box-shadow:none;}::-webkit-outer-spin-button,::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}::placeholder{color:",n.qo.text.disabled,";}};label:wrapper;"),button:(0,i.iv)("border-radius:0;padding:",n.W0[6]," ",n.W0[8],";background-color:",n.qo.action.secondary.default,";svg{color:",n.qo.icon.default,";}:hover{background-color:",n.qo.action.secondary.hover,";svg{color:",n.qo.icon.primary,";}};label:button;")};function na(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const oa=function(e){var t,r,n=e.label,o=e.field,i=e.fieldState,a=e.disabled,l=e.loading,u=e.helpText,d=e.onChange,p=e.min,f=e.max,v=e.responsive,h=e.responsiveOrientation,b=(t=(0,c.useState)("slider"),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,r)||function(e,t){if(e){if("string"==typeof e)return na(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?na(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),y=b[0],m=b[1],g=(0,tr.o5)(o.value,C.zu);return(0,c.useEffect)((function(){if((0,se.$K)(g)){var e=g.replace(/\s+/," ").split(" ");0===g.trim().length&&(e=g.split("")),m(4===e.length?"box":"slider")}else m("slider")}),[g]),(0,s.tZ)(Gn.Z,{label:n,field:o,fieldState:i,disabled:a,loading:l,helpText:u,responsive:v,responsiveOrientation:h,children:function(e){var t=e.attributes,r=e.data,n=r.device,i=r.responsive,a=(0,tr.o5)(o.value,n);return(0,s.tZ)(s.HY,{children:"slider"===y?(0,s.tZ)(ni.Z,{value:a,onChange:function(e){var t,r=(0,tr.xU)({previous:o.value,value:null!==(t=(0,tr.BB)(e))&&void 0!==t?t:"",responsive:i,device:n});o.onChange(r),d&&d(r)},onToggle:function(){var e=(0,se.$K)(a)&&a.length>0?"".concat(a,"px ").concat(a,"px ").concat(a,"px ").concat(a,"px"):" ".repeat(4),t=(0,tr.xU)({previous:o.value,value:e,responsive:i,device:n});o.onChange(t),d&&d(t),m("box")},min:null!=p?p:C.a7.min,max:null!=f?f:C.a7.max,disabled:t.disabled}):(0,s.tZ)(ta,{value:a,onChange:function(e){var t=(0,tr.xU)({previous:o.value,value:e,responsive:i,device:n});o.onChange(t),d&&d(t)},onToggle:function(){var e=(0,se.$K)(a)&&a.trim().length>0?parseInt(a.split(/\s+/)[0]):"";o.onChange(e.toString()),d&&d(e.toString()),m("slider")}})})}})},ia=r.p+"images/dbd27c27842b486c246a.svg",aa=function(e){var t=e.title,r=e.message,n=e.isOldAddon,o=e.variation,i=void 0===o?"warning":o,a=e.field,l=e.fieldState,c=(0,I.$)();return(0,s.tZ)(Gn.Z,{field:a,fieldState:l,children:function(){return n?(0,s.tZ)(zr.Z,{emptyStateImage:ia,imageAltText:c("COM_SPPAGEBUILDER_EDITOR_GROUP_ATTENTION_IMAGE_ALT"),title:t,content:r,orientation:"vertical",wrapperCss:ca.emptyStateWrapperCss}):(0,s.BX)("div",{css:ca.alert(i),children:[(0,s.tZ)(x.Z,{name:"exclamationTriangle"}),(0,s.tZ)("span",{children:r})]})}})};var la={warning:{background:n.qo.background.warning,text:n.qo.text.warning},success:{background:n.qo.background.success,text:n.qo.text.success},error:{background:n.qo.background.error,text:n.qo.text.error}},ca={emptyStateWrapperCss:(0,i.iv)("padding:",n.W0[36]," ",n.W0[36]," ",n.W0[40],";>img{max-width:104px;};label:emptyStateWrapperCss;"),alert:function(e){return(0,i.iv)("padding:",n.W0[10],";background-color:",la[e].background,";color:",la[e].text,";border-radius:",n.E0[6],";display:flex;flex-direction:column;gap:",n.W0[8],";svg{color:",la[e].text,";width:30px;height:30px;align-self:center;};label:alert;")}};const ua=function(e){var t=e.label,r=e.options,n=e.field,o=e.fieldState,i=e.disabled,a=e.loading,l=e.onChange,c=e.responsive,u=e.responsiveOrientation,d=e.helpText;return(0,s.tZ)(Gn.Z,{label:t,field:n,fieldState:o,disabled:i,loading:a,responsive:c,responsiveOrientation:u,helpText:d,children:function(e){var t=e.data,o=t.device,i=t.responsive,a=(0,tr.o5)(n.value,o);return(0,s.tZ)(rr,{variant:"secondary",activeTab:a,tabList:r,onChange:function(e){var t=(0,tr.xU)({previous:n.value,value:e,responsive:i,device:o});n.onChange(t),l&&l(t)}})}})};var sa=r(3579);function da(e){return da="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},da(e)}var pa=["css"];function fa(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function va(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?fa(Object(r),!0).forEach((function(t){ha(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fa(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ha(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==da(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==da(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===da(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ba(e){return function(e){if(Array.isArray(e))return ma(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ya(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ya(e,t){if(e){if("string"==typeof e)return ma(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ma(e,t):void 0}}function ma(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const ga=function(e){var t,r,n=e.field,o=e.fieldState,a=e.label,l=e.disabled,u=e.wrapperCss,d=e.responsive,p=e.responsiveOrientation,f=e.helpText,v=(0,I.$)(),h=(t=(0,c.useState)(null),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,r)||ya(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),b=h[0],y=h[1],m=[{label:v("COM_SPPAGEBUILDER_EDITOR_ANIMATION_FIELD_OPTION_FADE"),value:"fade",icon:(0,s.tZ)(x.Z,{name:"fadeIn",width:32,height:34})},{label:v("COM_SPPAGEBUILDER_EDITOR_ANIMATION_FIELD_OPTION_ROTATE"),value:"rotate",icon:(0,s.tZ)(x.Z,{name:"spinIn",width:38,height:53})},{label:v("COM_SPPAGEBUILDER_EDITOR_ANIMATION_FIELD_OPTION_FLIP"),value:"flip",icon:(0,s.tZ)(x.Z,{name:"flipIn",height:40,width:35})},{label:v("COM_SPPAGEBUILDER_EDITOR_ANIMATION_FIELD_OPTION_BOUNCE"),value:"bounce",icon:(0,s.tZ)(x.Z,{name:"bounceIn",height:34,width:54})},{label:v("COM_SPPAGEBUILDER_EDITOR_ANIMATION_FIELD_OPTION_ZOOM"),value:"zoom",icon:(0,s.tZ)(x.Z,{name:"zoomIn",width:36,height:36})},{label:v("COM_SPPAGEBUILDER_EDITOR_ANIMATION_FIELD_OPTION_SPECIAL"),value:"special",icon:(0,s.tZ)(x.Z,{name:"reveal",width:33,height:35})}],g=(0,c.useCallback)((function(){if(!n.value)return null;for(var e=0,t=["fade","flip","rotate","zoom","bounce"];e<t.length;e++){var r=t[e];if(n.value.includes(r))return r}return"special"}),[n.value]);(0,c.useEffect)((function(){y(g())}),[g]);var w=(0,c.useMemo)((function(){return(0,se.$K)(b)?(0,se.Lg)(C.sF[b]):[]}),[b]),O=(0,c.useMemo)((function(){var e;if(0!==w.length)return n.value&&null!==(e=w.find((function(e){return e.value===n.value})))&&void 0!==e?e:w[0]}),[n.value,w]);return(0,s.tZ)(Gn.Z,{field:n,fieldState:o,label:a,disabled:l,responsive:d,responsiveOrientation:p,helpText:f,children:function(e){var t=e.attributes,r=(e.data,t.css),o=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(t,pa);return(0,s.BX)("div",{css:[wa.wrapper,u,";label:AnimationField;"],children:[m.map((function(e,t){return(0,i.az)(sa.Z,va(va({},o),{},{key:t,inputCss:[].concat(ba(r),[wa.radioInput]),value:e.value,checked:e.value===b,label:e.label,icon:e.icon,disabled:l,labelCss:wa.radioLabel({isActive:e.value===b}),iconWrapperCss:wa.iconWrapperCss({isActive:e.value===b}),onChange:function(){y(e.value);var t=(0,se.Lg)(C.sF[e.value])[0];n.onChange(t.value)},__source:{fileName:"/Applications/MAMP/htdocs/j4_backend/administrator/components/com_sppagebuilder/assets/editor/src/components/fields/AnimationField.tsx",lineNumber:133,columnNumber:15}}))})),w.length>0&&(0,s.tZ)(Do.Z,{options:w,value:O,label:v("COM_SPPAGEBUILDER_EDITOR_ANIMATION_FIELD_DIRECTION"),onChange:function(e){n.onChange(e.value)}})]})}})};var wa={wrapper:(0,i.iv)("display:flex;flex-wrap:wrap;gap:",n.W0[20],";;label:wrapper;"),radioLabel:function(e){var t=e.isActive,r=void 0!==t&&t;return(0,i.iv)(o.c.caption(),";display:flex;flex-direction:column;flex:1;gap:",n.W0[8],";position:relative;transition:color 0.3s ease;span{transition:border 0.3s ease;color:",n.qo.icon.default,";}&:hover{span{border:1px solid ",n.qo.action.outline.hover,";}}",r&&(0,i.iv)("color:",n.qo.text.primary,";;label:radioLabel;"),";;label:radioLabel;")},iconWrapperCss:function(e){var t=e.isActive,r=void 0!==t&&t;return(0,i.iv)(L.iZ.flexCenter(),";width:74px;height:74px;background-color:",n.qo.base.surface,";border:1px solid transparent;border-radius:",n.E0[8],";transition:background-color 0.3s ease;svg{transition:color 0.3s ease;}",r&&(0,i.iv)("color:",n.qo.text.default,";background-color:",n.qo.background.active,";border:1px solid ",n.qo.action.outline.active,";svg{color:",n.qo.icon.primary,";};label:iconWrapperCss;"),";;label:iconWrapperCss;")},radioInput:{name:"sqhq9v-radioInput",styles:"height:100%;width:100%;label:radioInput;"}};function Oa(e){return Oa="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},Oa(e)}function Ea(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function xa(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ea(Object(r),!0).forEach((function(t){Sa(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ea(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Sa(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==Oa(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==Oa(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Oa(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Ca=function(e){var t=e.isLocked,r=e.fieldValue,n=e.device,o=e.onChange,i=1===new Set(r).size;return(0,c.useEffect)((function(){o(i)}),[n,o]),(0,s.tZ)("button",{type:"button",css:Aa.lockButton,onClick:function(){return o(!t)},children:(0,s.tZ)(x.Z,{name:t?"lock":"unLock",width:16,height:16})})};const Ia=function(e){var t,r,n=e.label,o=e.field,i=e.fieldState,a=e.disabled,l=e.readOnly,u=e.loading,d=e.placeholder,p=e.helpText,f=e.onChange,v=e.onKeyDown,h=e.responsive,b=e.responsiveOrientation,y=(0,I.$)(),m=(t=(0,c.useState)(!0),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,r)||function(e,t){if(e){if("string"==typeof e)return _a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_a(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),g=m[0],w=m[1],O=[y("COM_SPPAGEBUILDER_EDITOR_BOX_ELEMENT_POSITION_TOP"),y("COM_SPPAGEBUILDER_EDITOR_BOX_ELEMENT_POSITION_RIGHT"),y("COM_SPPAGEBUILDER_EDITOR_BOX_ELEMENT_POSITION_BOTTOM"),y("COM_SPPAGEBUILDER_EDITOR_BOX_ELEMENT_POSITION_LEFT")];return(0,s.tZ)(Gn.Z,{label:n,field:o,fieldState:i,disabled:a,readOnly:l,loading:u,placeholder:d,helpText:p,responsive:h,responsiveOrientation:b,children:function(e){var t=e.attributes,r=e.data,n=r.device,i=r.responsive,a=(0,tr.o5)(o.value,n),l=(0,se.$K)(a)?a.split(" "):[];return(0,s.BX)("div",{css:Aa.wrapper,children:[(0,s.tZ)(Ca,{isLocked:g,fieldValue:l,device:n,onChange:w}),(0,s.tZ)("div",{css:Aa.inputWrapper({isLocked:g}),children:O.map((function(e,r){return(0,s.tZ)("input",xa(xa(xa({},o),t),{},{id:(0,se.x0)(),type:"text",name:String(r),placeholder:e,value:l[r]||"",onChange:function(e){return function(e,t,r){var n=e.target,i=n.name,a=n.value.replace(/\s/,""),l=(0,tr.o5)(o.value,r),c=(0,se.$K)(l)?l.split(" "):[];g?c=[a,a,a,a]:c[Number(i)]=a.replace(/\s/,"");var u=(0,tr.xU)({previous:o.value,value:c.join(" "),responsive:t,device:r});o.onChange(u),f&&f(u)}(e,i,n)},onKeyDown:function(e){v&&v(e.key)},autoComplete:"off"}),r)}))})]})}})};var Aa={wrapper:{name:"memc06-wrapper",styles:"position:relative;label:wrapper;"},lockButton:(0,i.iv)(L.iZ.resetButton,";position:absolute;top:-",n.W0[20],";right:0;color:",n.qo.icon.default,";;label:lockButton;"),inputWrapper:function(e){var t=e.isLocked,r=void 0!==t&&t;return(0,i.iv)("display:flex;border:1px solid ",n.qo.stroke.neutral,";border-radius:",n.E0[5],";",r&&(0,i.iv)("&:focus-within{box-shadow:",n.AF.outline,";};label:inputWrapper;")," & input{",o.c.body()," border:none;border-radius:0;&,&:focus{box-shadow:1px 0px 1px ",n.qo.stroke.neutral,",inset -1px 0px 0.25px ",n.qo.stroke.neutral,";}&:first-of-type{border-radius:",n.E0[5]," 0 0 ",n.E0[5],";}&:last-of-type{box-shadow:none;border-radius:0 ",n.E0[5]," ",n.E0[5]," 0;}&:focus{",!r&&(0,i.iv)("border-radius:",n.E0[5],";box-shadow:0px 0px 0px 1px ",n.qo.stroke.neutral,",0px 0px 0px 2px ",n.qo.stroke.white,",0px 0px 0px 4px ",n.qo.stroke.primary,";z-index:",n.W5.positive,";;label:inputWrapper;"),";}};label:inputWrapper;")}},Pa=r(5791);function La(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Da(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?La(Object(r),!0).forEach((function(t){ja(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):La(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ja(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==Ta(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==Ta(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Ta(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ta(e){return Ta="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ta(e)}function Za(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ba(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ba(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ba(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Ma={enabled:!1,color:"#FFFFFF",ho:0,vo:0,blur:0,spread:0,inset:!1},ka=function(e,t){var r,n,o,i,a="".concat(e?"box-shadow":"text-shadow",": ").concat(null!==(r=null==t?void 0:t.ho)&&void 0!==r?r:0,"px ").concat(null!==(n=null==t?void 0:t.vo)&&void 0!==n?n:0,"px ").concat(null!==(o=null==t?void 0:t.blur)&&void 0!==o?o:0,"px ").concat(e?"".concat(null!==(i=null==t?void 0:t.spread)&&void 0!==i?i:0,"px"):"");return a.length>25?a.slice(0,25)+"...":a};const Ra=function(e){var t=e.label,r=e.field,n=e.fieldState,o=e.disabled,i=e.loading,a=e.onChange,l=e.responsive,u=e.responsiveOrientation,d=e.hasSpread,p=void 0===d||d,f=e.helpText,v=(0,I.$)(),h=Za((0,c.useState)(!1),2),b=h[0],y=h[1],m=(0,go.l)({isOpen:b,gap:20,arrow:"right"}),g=m.triggerRef,w=m.position,O=m.popoverRef,E=Za((0,c.useState)(),2),S=E[0],_=E[1];return(0,s.tZ)(Gn.Z,{field:r,fieldState:n,disabled:o,loading:i,responsive:l,responsiveOrientation:u,helpText:f,children:function(e){var n,o=e.data,i=o.device,l=o.responsive,c=(0,se.$K)(r.value)&&"object"===Ta(r.value)?r.value:void 0,u=null!==(n=(0,tr.oo)(c,i))&&void 0!==n?n:Ma,d=function(e,t){var n=(0,tr.xU)({previous:c,value:Da(Da({},u),{},ja({},t,e)),responsive:l,device:i});r.onChange(n),a&&a(n)};return(0,s.BX)(s.HY,{children:[(0,s.BX)("div",{ref:g,children:[(0,s.BX)("div",{css:Wa.labelWrapper,children:[(0,s.tZ)("div",{css:Wa.label,children:t}),(0,s.tZ)(Pa.Z,{checked:u.enabled,onChange:function(e){return d(e,"enabled")}})]}),u.enabled&&(0,s.BX)("button",{css:Wa.shadowWrapper,onClick:function(){return y(!0)},children:[(0,s.tZ)("div",{css:Wa.previewWrapper,children:p?(0,s.tZ)("div",{css:Wa.boxPreview(u)}):(0,s.tZ)("div",{css:Wa.textPreview(u),children:"T"})}),(0,s.tZ)("div",{css:Wa.shadowContent,children:ka(p,u)}),(0,s.tZ)(x.Z,{name:"settings",height:20,width:20})]})]}),(0,s.tZ)(go.h,{isOpen:b,onClickOutside:function(){return y(!1)},children:(0,s.BX)("div",{css:[Wa.popover,{position:"absolute",left:w.left,top:w.top},";label:BoxShadowField;"],ref:O,children:[(0,s.BX)("div",{css:Wa.header,children:[(0,s.tZ)("span",{children:t}),(0,s.tZ)("button",{type:"button",css:L.iZ.resetButton,onClick:function(){return y(!1)},children:(0,s.tZ)(x.Z,{name:"cross"})})]}),(0,s.BX)("div",{css:Wa.optionsWrapper,children:[(0,s.tZ)(Xo,{label:v("COM_SPPAGEBUILDER_EDITOR_BOX_SHADOW_COLOR"),color:S||u.color,onChange:function(e){return _(e)},onClose:function(e){return d(e,"color")}}),(0,s.tZ)(ni.Z,{label:v("COM_SPPAGEBUILDER_EDITOR_BOX_SHADOW_HORIZONTAL"),value:(0,tr.BB)(u.ho),onChange:function(e){return d(null!=e?e:"","ho")}}),(0,s.tZ)(ni.Z,{label:v("COM_SPPAGEBUILDER_EDITOR_BOX_SHADOW_VERTICAL"),value:(0,tr.BB)(u.vo),onChange:function(e){return d(null!=e?e:"","vo")}}),(0,s.tZ)(ni.Z,{label:v("COM_SPPAGEBUILDER_EDITOR_BOX_SHADOW_BLUR"),value:(0,tr.BB)(u.blur),onChange:function(e){return d(null!=e?e:"","blur")}}),p&&(0,s.tZ)(ni.Z,{label:v("COM_SPPAGEBUILDER_EDITOR_BOX_SHADOW_SPREAD"),value:(0,tr.BB)(u.spread),onChange:function(e){return d(null!=e?e:"","spread")}})]})]})})]})}})};var Wa={labelWrapper:(0,i.iv)("display:flex;justify-content:space-between;margin-bottom:",n.W0[4],";;label:labelWrapper;"),label:(0,i.iv)(o.c.caption(),";;label:label;"),shadowWrapper:(0,i.iv)(L.iZ.resetButton,";width:100%;border:1px solid ",n.qo.stroke.neutral,";border-radius:",n.E0[6],";display:flex;justify-content:space-between;align-items:center;height:32px;padding-right:",n.W0[8],";&:focus{box-shadow:",n.AF.outline,";};label:shadowWrapper;"),previewWrapper:(0,i.iv)("height:30px;width:30px;display:flex;align-items:center;justify-content:center;border-right:1px solid ",n.qo.stroke.neutral,";;label:previewWrapper;"),boxPreview:function(e){return(0,i.iv)("height:14px;width:14px;background-color:",n.qo.icon.neutral,";border-radius:",n.E0[2],";box-shadow:",Math.min(e.ho,2),"px ",Math.min(e.vo,2),"px ",Math.min(e.blur,2),"px 0 ",e.color,",inset 0px -1px 0.25px rgba(17, 18, 19, 0.24);;label:boxPreview;")},textPreview:function(e){return(0,i.iv)("font-family:",n.I8.sansSerif,";font-size:",n.JB[16],";line-height:",n.Nv[16],";text-shadow:",Math.min(e.ho,2),"px ",Math.min(e.vo,2),"px ",Math.min(e.blur,2),"px ",e.color,";;label:textPreview;")},shadowContent:(0,i.iv)("flex:1;",o.c.body(),";padding-left:",n.W0[8],";;label:shadowContent;"),popover:(0,i.iv)("background-color:",n.qo.background.white,";width:304px;box-shadow:",n.AF.popover,";border-radius:",n.E0[6],";;label:popover;"),header:(0,i.iv)("padding:",n.W0[12]," ",n.W0[16],";border-bottom:1px solid ",n.qo.stroke.neutral,";display:flex;justify-content:space-between;align-items:center;span{",o.c.caption("medium"),";};label:header;"),optionsWrapper:(0,i.iv)("display:flex;flex-direction:column;gap:",n.W0[12],";padding:",n.W0[12],";;label:optionsWrapper;")};const Na=function(e){var t=e.label,r=e.options,n=e.field,o=e.fieldState,i=e.disabled,a=e.readOnly,l=e.loading,c=e.placeholder,u=e.helpText,d=e.responsive,p=e.responsiveOrientation,f=e.onChange;return(0,s.tZ)(Gn.Z,{label:t,field:n,fieldState:o,disabled:i,readOnly:a,loading:l,placeholder:c,helpText:u,responsive:d,responsiveOrientation:p,children:function(e){var t=e.data,o=t.device,i=t.responsive,a=(0,tr.o5)(n.value,o);return(0,s.tZ)("div",{css:Ga.container,children:(0,s.tZ)(rr,{variant:"secondary",tabList:(0,se.I6)(r),activeTab:a,onChange:function(e){var t=(0,tr.xU)({previous:n.value,value:e,responsive:i,device:o});n.onChange(t),f&&f(t)}})})}})};var Ga={container:{name:"1m6tfql-container",styles:"position:relative;display:flex;label:container;"}};function Fa(e){return Fa="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},Fa(e)}var Ua=["css"];function Ha(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function qa(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ha(Object(r),!0).forEach((function(t){za(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ha(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function za(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==Fa(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==Fa(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Fa(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Va(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return $a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?$a(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const Ka=function(e){var t=e.field,r=e.fieldState,n=e.onChange,o=void 0===n?se.ZT:n,i=e.label,a=e.placeholder,l=void 0===a?"":a,u=e.disabled,d=e.readOnly,p=e.loading,f=e.isInlineLabel,v=e.responsive,h=void 0!==v&&v,b=e.responsiveOrientation,y=e.helpText,m=(0,I.$)(),g=(0,q.v)((function(e){return e.appConfig})).article_categories,w=Va((0,c.useState)((function(){var e;return(null===(e=g.find((function(e){return String(e.value)===String(t.value)})))||void 0===e?void 0:e.label)||""})),2),O=w[0],E=w[1],S=Va((0,c.useState)(!1),2),_=S[0],C=S[1],A=(0,go.l)({isOpen:_,isDropdown:!0}),P=A.triggerRef,L=A.triggerWidth,D=A.position,j=A.popoverRef,T=(0,se.I6)(g);return(0,s.tZ)(Gn.Z,{fieldState:r,field:t,label:i,disabled:u||0===g.length,readOnly:d,loading:p,isInlineLabel:f,responsive:h,responsiveOrientation:b,helpText:y,children:function(e){var r=e.attributes,n=r.css,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(r,Ua);return(0,s.BX)("div",{css:Ya.wrapper,children:[(0,s.BX)("div",{css:Ya.inputWrapper,ref:P,children:[(0,s.tZ)("input",qa(qa({},i),{},{onClick:function(){return C((function(e){return!e}))},css:[n,Ya.input,";label:CategoryField;"],autoComplete:"off",readOnly:!0,placeholder:l,value:O,onChange:function(e){E(e.target.value)}})),(0,s.tZ)("button",{type:"button",css:Ya.caretButton,onClick:function(){C((function(e){return!e}))},disabled:d,children:(0,s.tZ)(x.Z,{name:"chevronDown",width:20,height:20,style:Ya.toggleIcon({isOpen:_})})})]}),(0,s.tZ)(go.h,{isOpen:_,onClickOutside:function(){return C(!1)},children:(0,s.BX)("div",{css:[Ya.optionsWrapper,{left:D.left,top:D.top,maxWidth:L},";label:CategoryField;"],ref:j,children:[(0,s.tZ)("ul",{css:[Ya.options,";label:CategoryField;"],children:T.map((function(e){return(0,s.tZ)("li",{css:Ya.optionItem({isSelected:e.value===t.value}),children:(0,s.tZ)(Z.Z,{variant:"text",buttonCss:Ya.optionButton,onClick:function(){t.onChange(e.value),E(e.label),o(e),C(!1)},children:e.label})},String(e.value))}))}),(0,s.tZ)("div",{css:Ya.clearButton({isDisabled:""===O}),children:(0,s.tZ)(Z.Z,{variant:"text",disabled:""===O,onClick:function(){t.onChange(null),E("")},children:m("COM_SPPAGEBUILDER_EDITOR_FORM_SELECT_CLEAR")})})]})})]})}})};var Xa={name:"xs7epg-toggleIcon",styles:"transform:rotate(180deg);label:toggleIcon;"},Ya={wrapper:{name:"i3il2f-wrapper",styles:"width:100%;label:wrapper;"},inputWrapper:{name:"39rwmw-inputWrapper",styles:"width:100%;display:flex;justify-content:space-between;align-items:center;position:relative;label:inputWrapper;"},input:(0,i.iv)(o.c.body(),";width:100%;cursor:pointer;;label:input;"),clearButton:function(e){var t=e.isDisabled,r=void 0!==t&&t;return(0,i.iv)("padding:",n.W0[8]," ",n.W0[12],";&>button{padding:0;",!r&&(0,i.iv)("color:",n.qo.text.primary,";&:hover{text-decoration:underline;};label:clearButton;"),";};label:clearButton;")},optionsWrapper:(0,i.iv)("position:absolute;width:100%;max-height:500px;z-index:",n.W5.dropdown,";background-color:",n.qo.base.white,";box-shadow:",n.AF.popover,";padding:",n.W0[4]," 0;border-radius:",n.E0[6],";",L.iZ.overflowYAuto,";;label:optionsWrapper;"),options:{name:"1s58vis-options",styles:"list-style-type:none;padding:0;margin:0;label:options;"},optionItem:function(e){var t=e.isSelected,r=void 0!==t&&t;return(0,i.iv)(o.c.body(),";min-height:40px;height:100%;width:100%;display:flex;align-items:center;transition:background-color 0.3s ease-in-out;cursor:pointer;&:hover{background-color:",n.qo.background.hover,";}",r&&(0,i.iv)("background-color:",n.qo.background.active,";position:relative;&::before{content:'';position:absolute;top:0;left:0;width:3px;height:100%;background-color:",n.qo.action.primary.default,";border-radius:0 ",n.E0[6]," ",n.E0[6]," 0;};label:optionItem;"),";;label:optionItem;")},optionButton:(0,i.iv)("width:100%;padding:",n.W0[10]," ",n.W0[12],";;label:optionButton;"),caretButton:(0,i.iv)(L.iZ.resetButton,";position:absolute;top:0;bottom:0;right:",n.W0[8],";margin:auto 0;;label:caretButton;"),toggleIcon:function(e){var t=e.isOpen,r=void 0!==t&&t;return(0,i.iv)("color:",n.qo.icon.default,";transition:transform 0.3s ease-in-out;",r&&Xa,";;label:toggleIcon;")}};function Qa(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ja(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ja(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ja(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const el=function(e){var t=e.field,r=e.fieldState,n=e.label,o=e.disabled,i=e.loading,a=e.hasAlphaField,l=e.isInlineLabel,u=e.responsive,d=e.responsiveOrientation,p=e.helpText,f=Qa((0,c.useState)(!1),2),v=f[0],h=f[1],b=Qa((0,c.useState)(t.value),2),y=b[0],m=b[1],g=(0,c.useRef)(null);return(0,c.useEffect)((function(){m(t.value)}),[t.value]),(0,s.tZ)(Gn.Z,{field:t,fieldState:r,disabled:o,loading:i,label:n,responsive:u,responsiveOrientation:d,isInlineLabel:l,helpText:p,children:function(){return(0,s.BX)(s.HY,{children:[(0,s.tZ)(Fo,{ref:g,color:y||"",onChangeColor:function(e){m(e),t.onChange(e)},onClick:function(){return h(!0)},disabled:o,hasAlphaField:a}),(0,s.tZ)(Ro,{color:y||"",isOpen:v,triggerRef:g,onChangeColor:m,closeColorPicker:function(e){h(!1),t.onChange(e)},popoverGap:20})]})}})};var tl=r(7839),rl=r(680);const nl=function(e){var t=e.field,r=e.fieldState,n=e.label,o=e.disabled,i=e.onChange,a=e.responsive,l=e.responsiveOrientation,u=e.helpText,d=(0,I.$)(),p=(0,tl.Sh)(),f=(0,q.v)((function(e){return e.appConfig.is_google_fonts_disabled})),v=(0,c.useMemo)((function(){var e;return(0,rl.c)(null!==(e=p.data)&&void 0!==e?e:[],f)}),[p.data,f]),h=v.find((function(e){return e.value===t.value}));return(0,s.tZ)(Gn.Z,{field:t,fieldState:r,label:n,disabled:o,responsive:a,responsiveOrientation:l,helpText:u,children:function(){return(0,s.tZ)(Do.Z,{value:h,options:v,placeholder:d("COM_SPPAGEBUILDER_EDITOR_SELECT_FIELD_PLACEHOLDER"),onChange:function(e){t.onChange(e.value),i&&i(e.value)},infiniteScroll:!0})}})};function ol(e){return ol="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},ol(e)}function il(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function al(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?il(Object(r),!0).forEach((function(t){ll(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):il(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ll(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==ol(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==ol(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===ol(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var cl=[{label:"",value:"underline",icon:"underline"},{label:"",value:"italic",icon:"italic"},{label:"",value:"uppercase",icon:"uppercaseDuo"}];const ul=function(e){var t=e.label,r=void 0===t?"":t,n=e.values,o=e.onChange,i=e.wrapperStyle,a=(0,se.Zt)(n).filter((function(e){return!!n[e]}));return(0,s.BX)("div",{css:[sl.textDecorationWrapper({hasLabel:!!r}),i,";label:TextDecoration;"],children:[!!r&&(0,s.tZ)("div",{children:r}),(0,s.tZ)(rr,{variant:"secondary",tabList:cl,activeTab:a,onChange:function(e){var t=al(al({},n),{},ll({},e,!n[e]));o(t)},wrapperCss:sl.tabWrapperCss})]})};var sl={textDecorationWrapper:function(e){var t=e.hasLabel,r=void 0!==t&&t;return(0,i.iv)(r&&(0,i.iv)("display:flex;flex-direction:column;gap:",n.W0[4],";>p{",o.c.caption(),";};label:textDecorationWrapper;"),";;label:textDecorationWrapper;")},tabWrapperCss:{name:"z2x1bx-tabWrapperCss",styles:"width:100%;height:32px;label:tabWrapperCss;"}};function dl(e){return dl="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},dl(e)}function pl(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function fl(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?pl(Object(r),!0).forEach((function(t){vl(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):pl(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function vl(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==dl(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==dl(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===dl(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const hl=function(e){var t,r=e.field,n=e.fieldState,o=e.onChange,i=e.label,a=e.responsive,l=e.responsiveOrientation,c=e.helpText,u=(0,I.$)(),d=(0,se.$K)(r.value)?r.value:{},p={italic:d.italic,underline:d.underline,uppercase:d.uppercase},f=[{value:"",label:u("COM_SPPAGEBUILDER_EDITOR_FONT_WEIGHT_LABEL_FONT_WEIGHT")},{value:"100",label:u("COM_SPPAGEBUILDER_EDITOR_FONT_WEIGHT_LABEL_THIN")},{value:"200",label:u("COM_SPPAGEBUILDER_EDITOR_FONT_WEIGHT_LABEL_EXTRA_THIN")},{value:"300",label:u("COM_SPPAGEBUILDER_EDITOR_FONT_WEIGHT_LABEL_LIGHT")},{value:"400",label:u("COM_SPPAGEBUILDER_EDITOR_FONT_WEIGHT_LABEL_NORMAL")},{value:"500",label:u("COM_SPPAGEBUILDER_EDITOR_FONT_WEIGHT_LABEL_MEDIUM")},{value:"600",label:u("COM_SPPAGEBUILDER_EDITOR_FONT_WEIGHT_LABEL_SEMI_BOLD")},{value:"700",label:u("COM_SPPAGEBUILDER_EDITOR_FONT_WEIGHT_LABEL_BOLD")},{value:"800",label:u("COM_SPPAGEBUILDER_EDITOR_FONT_WEIGHT_LABEL_EXTRA_BOLD")},{value:"900",label:u("COM_SPPAGEBUILDER_EDITOR_FONT_WEIGHT_LABEL_BLACK")}],v={label:u("COM_SPPAGEBUILDER_EDITOR_FONT_WEIGHT_LABEL_FONT_WEIGHT"),value:""},h=null!==(t=f.find((function(e){return e.value===d.weight})))&&void 0!==t?t:v;return(0,s.tZ)(Gn.Z,{label:i,field:r,fieldState:n,responsive:a,responsiveOrientation:l,helpText:c,children:function(){return(0,s.BX)("div",{css:bl.wrapper,children:[(0,s.tZ)(ul,{values:p,onChange:function(e){var t=fl(fl({},d),e);r.onChange(t),o&&o(t)},wrapperStyle:bl.wrapperStyle}),(0,s.tZ)(Do.Z,{options:f,value:h,onChange:function(e){var t=fl(fl({},d),{},{weight:e.value});r.onChange(t),o&&o(t)},wrapperStyle:bl.wrapperStyle,isFontWeight:!0})]})}})};var bl={wrapper:(0,i.iv)("display:flex;justify-content:center;gap:",n.W0[8],";;label:wrapper;"),wrapperStyle:{name:"164ecj-wrapperStyle",styles:"max-width:136px;width:100%;height:32px;label:wrapperStyle;"}};function yl(e){return yl="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},yl(e)}function ml(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function gl(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ml(Object(r),!0).forEach((function(t){wl(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ml(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function wl(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==yl(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==yl(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===yl(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ol(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return El(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?El(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function El(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var xl={color:"",color2:"",pos:45,pos2:65,type:"linear",radialPos:"center center",deg:45};const Sl=function(e){var t=e.label,r=e.field,n=e.fieldState,o=e.disabled,i=e.loading,a=e.onChange,l=e.helpText,u=(0,I.$)(),d=(0,se.$K)(r.value)?r.value:xl,p=Ol((0,c.useState)(d.color||""),2),f=p[0],v=p[1],h=Ol((0,c.useState)(d.color2||""),2),b=h[0],y=h[1];(0,c.useEffect)((function(){v(d.color||"")}),[d.color]),(0,c.useEffect)((function(){y(d.color2||"")}),[d.color2]);var m=d.pos,g=void 0===m?45:m,w=d.pos2,O=void 0===w?65:w,E=d.type,x=void 0===E?"linear":E,S=d.deg,_=void 0===S?45:S,C=d.radialPos,A=void 0===C?"center center":C,P={linear:"linear-gradient(".concat(_,"deg, ").concat(f," ").concat(g,"%, ").concat(b," ").concat(O,"%)"),radial:"radial-gradient(at ".concat(A,", ").concat(f," ").concat(g,"%, ").concat(b," ").concat(O,"%)")},L=[{label:u("COM_SPPAGEBUILDER_EDITOR_GRADIENT_ALIGNMENT_TOP_CENTER"),value:"top center"},{label:u("COM_SPPAGEBUILDER_EDITOR_GRADIENT_ALIGNMENT_TOP_LEFT"),value:"top left"},{label:u("COM_SPPAGEBUILDER_EDITOR_GRADIENT_ALIGNMENT_TOP_RIGHT"),value:"top right"},{label:u("COM_SPPAGEBUILDER_EDITOR_GRADIENT_ALIGNMENT_CENTER_CENTER"),value:"center center"},{label:u("COM_SPPAGEBUILDER_EDITOR_GRADIENT_ALIGNMENT_CENTER_LEFT"),value:"center left"},{label:u("COM_SPPAGEBUILDER_EDITOR_GRADIENT_ALIGNMENT_CENTER_RIGHT"),value:"center right"},{label:u("COM_SPPAGEBUILDER_EDITOR_GRADIENT_ALIGNMENT_BOTTOM_CENTER"),value:"bottom center"},{label:u("COM_SPPAGEBUILDER_EDITOR_GRADIENT_ALIGNMENT_BOTTOM_LEFT"),value:"bottom left"},{label:u("COM_SPPAGEBUILDER_EDITOR_GRADIENT_ALIGNMENT_BOTTOM_RIGHT"),value:"bottom right"}],D=function(e,t){r.onChange(gl(gl({},d),{},wl({},t,e))),a&&a(gl(gl({},d),{},wl({},t,e)))};return(0,s.tZ)(Gn.Z,{label:t,field:r,fieldState:n,disabled:o,loading:i,helpText:l,children:function(){var e;return(0,s.tZ)(s.HY,{children:(0,s.BX)("div",{css:_l.wrapper,children:[(0,s.tZ)("div",{css:_l.colorPallateWrapper,children:(0,s.tZ)("div",{css:_l.colorPallate(P[x])})}),(0,s.BX)("div",{css:_l.colorPickerWrapper,children:[(0,s.BX)("div",{css:_l.colorPickerItem,children:[(0,s.tZ)("div",{css:_l.label(o),children:u("COM_SPPAGEBUILDER_EDITOR_GRADIENT_COLOR1")}),(0,s.tZ)(Xo,{color:f,onChange:function(e){return v(e)},onClose:function(e){return D(e,"color")},hasAlphaField:!1})]}),(0,s.BX)("div",{css:_l.colorPickerItem,children:[(0,s.tZ)("div",{css:_l.label(o),children:u("COM_SPPAGEBUILDER_EDITOR_GRADIENT_COLOR2")}),(0,s.tZ)(Xo,{color:b,onChange:function(e){return y(e)},onClose:function(e){return D(e,"color2")},hasAlphaField:!1})]})]}),(0,s.tZ)(ni.Z,{label:u("COM_SPPAGEBUILDER_EDITOR_GRADIENT_START"),isInlineLabel:!0,value:(0,tr.BB)(g),onChange:function(e){return D(null!=e?e:"","pos")},inputContent:"%"}),(0,s.tZ)(ni.Z,{label:u("COM_SPPAGEBUILDER_EDITOR_GRADIENT_END"),isInlineLabel:!0,value:(0,tr.BB)(O),onChange:function(e){return D(null!=e?e:"","pos2")},inputContent:"%"}),(0,s.BX)("div",{css:_l.typeWrapper,children:[(0,s.tZ)("div",{css:_l.label(o),children:u("COM_SPPAGEBUILDER_EDITOR_GRADIENT_TYPE")}),(0,s.BX)("div",{css:_l.radioWrapper,children:[(0,s.tZ)(sa.Z,{showRadioIcon:!0,label:u("COM_SPPAGEBUILDER_EDITOR_GRADIENT_LINEAR"),checked:"linear"===x,onChange:function(){return D("linear","type")}}),(0,s.tZ)(sa.Z,{showRadioIcon:!0,label:u("COM_SPPAGEBUILDER_EDITOR_GRADIENT_RADIAL"),checked:"radial"===x,onChange:function(){return D("radial","type")}})]})]}),"linear"===x&&(0,s.tZ)(ni.Z,{label:u("COM_SPPAGEBUILDER_EDITOR_GRADIENT_ANGLE"),isInlineLabel:!0,max:360,value:(0,tr.BB)(_),onChange:function(e){return D(null!=e?e:"","deg")},inputContent:"deg"}),"radial"===x&&(0,s.tZ)("div",{css:_l.anglePosWrapper,children:(0,s.tZ)(Do.Z,{label:u("COM_SPPAGEBUILDER_EDITOR_GRADIENT_ANGLE"),isInlineLabel:!0,options:L,value:null!==(e=L.find((function(e){return e.value===A})))&&void 0!==e?e:L[3],onChange:function(e){return D(e.value,"radialPos")},clearOption:function(){return D("center center","radialPos")},isSearchable:!0})})]})})}})};var _l={wrapper:(0,i.iv)("position:relative;display:flex;flex-direction:column;gap:",n.W0[8],";;label:wrapper;"),colorPallateWrapper:(0,i.iv)("height:80px;width:100%;background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAH5JREFUWAntlUsKACEMQ6vMjXr/I/RMOmtdBuRR0mWxGPIhY/0Tx1TVsYnIzGv34t28foUtDFAVBM/g98LoSsDwDBpg+5AMN4mosUMiEhh4Bt0k7SXGexAP0E3ikKgMqPf4kLhJ2kuM9yAeoJvEIVEZUO/xIXGTtJcY70E8wA3sHG3hUj6LrAAAAABJRU5ErkJggg==');border-radius:",n.E0[4],";overflow:hidden;;label:colorPallateWrapper;"),colorPallate:function(e){return(0,i.iv)("background-image:",e,";height:100%;width:100%;;label:colorPallate;")},colorPickerWrapper:{name:"wrklh8-colorPickerWrapper",styles:"display:flex;justify-content:space-between;label:colorPickerWrapper;"},colorPickerItem:(0,i.iv)("display:flex;flex-direction:column;gap:",n.W0[4],";;label:colorPickerItem;"),typeWrapper:{name:"1vbp8h0-typeWrapper",styles:"display:flex;justify-content:space-between;label:typeWrapper;"},label:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return(0,i.iv)(o.c.caption(),";color:",n.qo.text.default,";",e&&(0,i.iv)("color:",n.qo.text.disabled,";;label:label;"),";;label:label;")},radioWrapper:(0,i.iv)("display:flex;gap:",n.W0[16],";;label:radioWrapper;"),anglePosWrapper:{name:"j3cmgw-anglePosWrapper",styles:"display:flex;justify-content:space-between;label:anglePosWrapper;"}};const Cl=function(e){var t=e.label,r=e.field,n=e.fieldState,o=e.disabled,i=e.loading,a=e.onChange,l=e.headingsOnly,c=e.responsive,u=e.responsiveOrientation,d=e.helpText,p=function(){return(arguments.length>0&&void 0!==arguments[0]&&arguments[0]?["h1","h2","h3","h4","h5","h6"]:["h1","h2","h3","h4","h5","h6","div","p"]).map((function(e){return{label:"",value:e,icon:tr.wx[e]}}))}(!!l);return(0,s.tZ)(Gn.Z,{label:t,field:r,fieldState:n,disabled:o,loading:i,responsive:c,responsiveOrientation:u,helpText:d,children:function(e){var t=e.data,n=t.device,o=t.responsive,i=(0,tr.o5)(r.value,n);return(0,s.tZ)(rr,{variant:"secondary",activeTab:null!=i?i:"",tabList:p,onChange:function(e){var t=(0,tr.xU)({previous:r.value,value:e,responsive:o,device:n});r.onChange(t),a&&a(t)}})}})};var Il=r(487),Al=r(3417),Pl=r(8008);function Ll(e){return Ll="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},Ll(e)}function Dl(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function jl(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Dl(Object(r),!0).forEach((function(t){Tl(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Dl(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Tl(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==Ll(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==Ll(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Ll(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zl(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const Bl=function(e){var t,r,n=e.closeModal,o=e.title,i=(0,I.$)(),a=(0,c.useRef)(null),l=(t=(0,c.useState)("fontawesome"),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,r)||function(e,t){if(e){if("string"==typeof e)return Zl(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Zl(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=l[0],d=l[1],p=ne(),f=(0,Pl.Ap)(),v=(0,N.O)({defaultValues:{search:""}}),h=(0,W.N)(v.watch("search")),b=(0,c.useMemo)((function(){var e;return p.data?"all"===u?p.data.flatMap((function(e){return e.assets})).filter((function(e){return e.includes(h)})):(null===(e=p.data.find((function(e){return e.name===u})))||void 0===e?void 0:e.assets.filter((function(e){return e.includes(h)})))||[]:[]}),[u,p.data,h]);return p.isLoading?(0,s.tZ)(E.g4,{}):p.data?(0,s.tZ)(me.Z,{onClose:function(){return n({action:"CLOSE"})},title:o,wrapperCss:Ml.wrapper,children:(0,s.BX)("div",{css:Ml.container,children:[(0,s.BX)("div",{css:Ml.sidebar,children:[(0,s.tZ)(Al.Z,{header:(0,s.BX)(s.HY,{children:[(0,s.BX)(Z.Z,{buttonCss:Ml.uploadButton,onClick:function(){var e;return null===(e=a.current)||void 0===e?void 0:e.click()},loading:f.isLoading,children:[(0,s.tZ)(x.Z,{name:"upload"}),(0,s.tZ)("span",{children:i("COM_SPPAGEBUILDER_EDITOR_UPLOAD_ICON_BUTTON")})]}),(0,s.tZ)("input",{ref:a,type:"file","aria-hidden":"true",hidden:!0,onChange:function(e){var t,r=null===(t=e.target.files)||void 0===t?void 0:t[0];r&&f.mutate(r)}})]}),children:(0,s.BX)("ul",{css:Ml.cardInner,children:[(0,s.tZ)("li",{css:Ml.cardInnerItem("all"===u),children:(0,s.BX)("button",{type:"button",onClick:function(){return d("all")},children:[(0,s.tZ)(x.Z,{name:"asterisk",width:16,height:16}),(0,s.tZ)("span",{children:i("COM_SPPAGEBUILDER_EDITOR_ALL_ICONS_LABEL")})]})}),p.data.map((function(e){return(0,s.tZ)("li",{css:Ml.cardInnerItem(u===e.name),children:(0,s.BX)("button",{type:"button",onClick:function(){return d(e.name)},children:[(0,s.tZ)(x.Z,{name:e.name,width:16,height:16}),(0,s.tZ)("span",{children:e.title})]})},e.id)}))]})}),(0,s.tZ)("p",{css:Ml.uploadMessage,children:i("COM_SPPAGEBUILDER_EDITOR_ICON_UPLOAD_MESSAGE")})]}),(0,s.BX)("div",{css:Ml.searchAndIcons,children:[(0,s.tZ)("div",{css:Ml.searchWrapper,children:(0,s.tZ)(D.Qr,{control:v.control,name:"search",render:function(e){return(0,s.tZ)(k.Z,jl(jl({},e),{},{variant:"search",placeholder:i("COM_SPPAGEBUILDER_EDITOR_ICON_SEARCH_PLACEHOLDER"),isClearable:!0}))}})}),(0,s.BX)("div",{css:Ml.content,children:[function(){if(0===b.length)return(0,s.BX)("div",{css:Ml.notFound,children:[(0,s.tZ)(x.Z,{name:"foldersDuo",width:56,height:56}),(0,s.tZ)("span",{children:i("COM_SPPAGEBUILDER_EDITOR_NO_ICON_FOUND_MESSAGE",{keyword:v.getValues("search")})})]})}(),b.map((function(e,t){return(0,s.BX)("button",{type:"button",css:Ml.iconWrapper,onClick:function(){n({action:e})},children:[(0,s.tZ)("span",{className:e,css:Ml.icon}),(0,s.tZ)("span",{children:e})]},t)}))]})]})]})}):(0,s.tZ)(br,{title:i("COM_SPPAGEBUILDER_EDITOR_SOMETHING_WENT_WRONG_TITLE"),subtitle:i("COM_SPPAGEBUILDER_EDITOR_SOMETHING_WENT_WRONG_SUBTITLE"),actionButton:(0,s.tZ)(Il.Z,{href:"https://www.joomshaper.com/forum",target:"_blank",children:i("COM_SPPAGEBUILDER_EDITOR_SOMETHING_WENT_WRONG_CONTACT_BUTTON")})})};var Ml={wrapper:(0,i.iv)("max-width:1242px;",n.Uo.smallTablet,"{max-width:800px;};label:wrapper;"),container:(0,i.iv)("padding:",n.W0[32]," ",n.W0[32]," ",n.W0[40]," ",n.W0[24],";display:flex;gap:",n.W0[32],";align-items:start;;label:container;"),sidebar:(0,i.iv)("max-width:228px;width:100%;flex-shrink:0;position:sticky;top:",n.W0[32],";;label:sidebar;"),content:(0,i.iv)("width:100%;display:flex;gap:",n.W0[24],";flex-wrap:wrap;max-height:calc(100vh - 256px);overflow:auto;;label:content;"),cardInner:(0,i.iv)("margin:0;padding:",n.W0[16]," 0;display:flex;flex-direction:column;list-style:none;;label:cardInner;"),cardInnerItem:function(e){return(0,i.iv)("height:32px;cursor:pointer;:hover{background-color:",n.qo.background.primary,";button{color:",n.qo.text.primary,";}}button{",L.iZ.resetButton,";",o.c.body(),";width:100%;height:100%;display:flex;gap:",n.W0[12],";align-items:center;padding-inline:",n.W0[24],";}",e&&(0,i.iv)("background-color:",n.qo.background.primary,";button{color:",n.qo.text.primary,";};label:cardInnerItem;"),";;label:cardInnerItem;")},iconWrapper:(0,i.iv)(L.iZ.resetButton,";width:94px;height:94px;background-color:",n.qo.background.active,";border-radius:",n.E0[5],";",L.iZ.flexCenter("column"),";gap:",n.W0[12],";span:last-of-type{width:100%;",o.c.caption(),";",L.iZ.textEllipsis,";padding-inline:",n.W0[8],";text-align:center;}:hover{background-color:",n.qo.base.primary,";span{color:",n.qo.text.white,";}};label:iconWrapper;"),icon:(0,i.iv)("font-size:",n.JB[30],";line-height:",n.Nv[36],";color:",n.qo.icon.default,";;label:icon;"),uploadButton:(0,i.iv)("width:100%;&>span{display:flex;gap:",n.W0[8],";align-items:center;justify-content:center;};label:uploadButton;"),uploadMessage:(0,i.iv)("margin-top:",n.W0[24],";",o.c.caption(),";color:",n.qo.text.hints,";;label:uploadMessage;"),searchAndIcons:(0,i.iv)("display:flex;flex-direction:column;gap:",n.W0[32],";flex:1;;label:searchAndIcons;"),searchWrapper:{name:"117ckhv-searchWrapper",styles:"width:100%;label:searchWrapper;"},notFound:(0,i.iv)(L.iZ.flexCenter("column"),";width:100%;margin-top:",n.W0[96],";;label:notFound;")};function kl(e){return kl="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},kl(e)}function Rl(){Rl=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,o){var i=t&&t.prototype instanceof p?t:p,a=Object.create(i.prototype),l=new _(o||[]);return n(a,"_invoke",{value:O(e,r,l)}),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var d={};function p(){}function f(){}function v(){}var h={};c(h,i,(function(){return this}));var b=Object.getPrototypeOf,y=b&&b(b(C([])));y&&y!==t&&r.call(y,i)&&(h=y);var m=v.prototype=p.prototype=Object.create(h);function g(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function o(n,i,a,l){var c=s(e[n],e,i);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==kl(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){o("next",e,a,l)}),(function(e){o("throw",e,a,l)})):t.resolve(d).then((function(e){u.value=e,a(u)}),(function(e){return o("throw",e,a,l)}))}l(c.arg)}var i;n(this,"_invoke",{value:function(e,r){function n(){return new t((function(t,n){o(e,r,t,n)}))}return i=i?i.then(n,n):n()}})}function O(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var l=E(a,r);if(l){if(l===d)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=s(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===d)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function E(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,E(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),d;var o=s(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,d;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function C(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:I}}function I(){return{value:void 0,done:!0}}return f.prototype=v,n(m,"constructor",{value:v,configurable:!0}),n(v,"constructor",{value:f,configurable:!0}),f.displayName=c(v,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,c(e,l,"GeneratorFunction")),e.prototype=Object.create(m),e},e.awrap=function(e){return{__await:e}},g(w.prototype),c(w.prototype,a,(function(){return this})),e.AsyncIterator=w,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new w(u(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},g(m),c(m,l,"Generator"),c(m,i,(function(){return this})),c(m,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=C,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(l&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:C(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},e}function Wl(e,t,r,n,o,i,a){try{var l=e[i](a),c=l.value}catch(e){return void r(e)}l.done?t(c):Promise.resolve(c).then(n,o)}function Nl(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Wl(i,n,o,a,l,"next",e)}function l(e){Wl(i,n,o,a,l,"throw",e)}a(void 0)}))}}const Gl=function(e){var t=e.label,r=e.isInlineLabel,n=e.field,o=e.fieldState,i=e.disabled,a=e.readOnly,l=e.loading,c=e.placeholder,u=e.helpText,d=e.responsive,p=e.responsiveOrientation,f=(0,I.$)(),v=(0,Ie.d)().showModal;return(0,s.tZ)(Gn.Z,{label:t,isInlineLabel:r,field:n,fieldState:o,disabled:i,readOnly:a,loading:l,placeholder:c,helpText:u,responsive:d,responsiveOrientation:p,children:function(e){var t,r,o=e.data,i=o.device,a=o.responsive,l=(0,tr.o5)(n.value,i);return(0,s.BX)("div",{css:Fl.wrapper,children:[!!l&&(0,s.BX)("div",{css:Fl.iconContainer,children:[(0,s.tZ)("span",{className:(t=l,r=t.split(" "),1===r.length&&"fa"===(r=t.split("-"))[0]?"fa "+t:t),css:Fl.icon}),(0,s.tZ)(Z.Z,{variant:"text",buttonCss:Fl.clearButton,onClick:function(){var e=(0,tr.xU)({previous:n.value,value:"",responsive:a,device:i});n.onChange(e)},children:(0,s.tZ)(x.Z,{name:"timesCircle",width:14,height:14})})]}),(0,s.tZ)("div",{children:(0,s.tZ)(Z.Z,{variant:"secondary",onClick:Nl(Rl().mark((function e(){var t,r,o;return Rl().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v({component:Bl,props:{title:f("COM_SPPAGEBUILDER_EDITOR_ICON_FIELD_MODAL_TITLE")},closeOnOutsideClick:!0});case 2:t=e.sent,r=t.action,o=(0,tr.xU)({previous:n.value,value:"CLOSE"===r?l:r,responsive:a,device:i}),n.onChange(o);case 6:case"end":return e.stop()}}),e)}))),children:f(l?"COM_SPPAGEBUILDER_EDITOR_REPLACE_ICON_BUTTON_TEXT":"COM_SPPAGEBUILDER_EDITOR_CHOOSE_ICON_BUTTON_TEXT")})})]})}})};var Fl={wrapper:(0,i.iv)("display:flex;gap:",n.W0[16],";;label:wrapper;"),iconContainer:(0,i.iv)("width:32px;height:32px;",L.iZ.flexCenter(),";border-radius:",n.E0[3],";background-color:",n.qo.base.white,";box-shadow:",n.AF.icon,";color:",n.qo.icon.default,";position:relative;;label:iconContainer;"),icon:(0,i.iv)("font-size:",n.JB[16],";;label:icon;"),clearButton:(0,i.iv)("position:absolute;top:-6px;right:-6px;padding:0;path:first-of-type{fill:",n.qo.icon.hints,";transition:fill 0.3s ease;}:hover{path:first-of-type{fill:",n.qo.icon.default,";}};label:clearButton;")};function Ul(e){return Ul="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ul(e)}function Hl(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ql(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ql(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ql(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function zl(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Vl(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?zl(Object(r),!0).forEach((function(t){$l(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):zl(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function $l(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==Ul(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==Ul(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Ul(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Kl={type:"url",url:"",menu:"",page:0,new_tab:!1,nofollow:!1,noreferrer:!1,noopener:!1};const Xl=function(e){var t=e.label,r=e.field,n=e.fieldState,i=e.disabled,a=e.readOnly,l=e.loading,u=e.helpText,d=e.onChange,p=(0,I.$)(),f=(0,c.useMemo)((function(){return(0,se.$K)(r.value)?(0,se.HD)(r.value)?Vl(Vl({},Kl),{},{url:r.value}):r.value:Kl}),[r.value]),v=Hl((0,c.useState)(!1),2),h=v[0],b=v[1],y=Hl((0,c.useState)(f),2),m=y[0],g=y[1],w=(0,W.N)(m),O=(0,go.l)({isOpen:h,gap:20,arrow:"right"}),E=O.triggerRef,S=O.position,_=O.popoverRef,C=(0,q.v)((function(e){return e.appConfig})),A=(0,Bn.F)((function(e){return e.payload})),P=A.addonIndex,D=A.sectionIndex,j=A.columnIndex,T=A.tableItem,Z=(0,Mn.s)((function(e){return e.currentState})),B=Hl((0,c.useState)("url"),2),M=B[0],k=B[1],R=(0,Ie.d)().showModal,N=[{label:p("COM_SPPAGEBUILDER_EDITOR_LINK_FIELD_URL"),value:"url"},{label:p("COM_SPPAGEBUILDER_EDITOR_LINK_FIELD_MENU"),value:"menu"},{label:p("COM_SPPAGEBUILDER_EDITOR_LINK_FIELD_PAGE"),value:"page"}];(0,c.useEffect)((function(){var e;k(null!==(e=m.type)&&void 0!==e?e:"url")}),[m]),(0,c.useEffect)((function(){g(f)}),[P,D,j,T,Z]),(0,c.useEffect)((function(){"url"===w.type&&r.onChange(w)}),[w]);var G=function(e,t){var n=Vl(Vl({},m),{},$l({},t,e));g(n),d&&d(n),"url"!==t&&r.onChange(n)},F={url:"link",menu:"menuLink",page:"pageLink"},U=function(e){var t,r;if(!e)return"";switch(e.type){case"url":return e.url;case"menu":return null===(t=C.menus.find((function(e){return e.value===f.menu})))||void 0===t?void 0:t.label;case"page":return null===(r=C.pages.find((function(e){return e.value===f.page})))||void 0===r?void 0:r.label;default:return""}};return(0,s.tZ)(Gn.Z,{label:t,field:r,fieldState:n,disabled:i,readOnly:a,loading:l,helpText:u,children:function(){var e;return(0,s.BX)(s.HY,{children:[(0,s.BX)("div",{ref:E,css:Yl.wrapper,children:[(0,s.tZ)("span",{css:Yl.linkIcon,children:(0,s.tZ)(x.Z,{name:F[null!==(e=f.type)&&void 0!==e?e:"url"]})}),(0,s.tZ)(Pe.Z,{value:U(m),onChange:se.ZT,onFocus:function(){return b(!0)},placeholder:"https://",isClearable:!0,readOnly:!0,inputCss:Yl.textInput})]}),(0,s.tZ)(go.h,{isOpen:h,onClickOutside:function(){return b(!1)},children:(0,s.BX)("div",{css:[Yl.popoverWrapper,{position:"absolute",left:S.left,top:S.top},";label:LinkField;"],ref:_,children:[(0,s.BX)("div",{css:Yl.popoverHeader,children:[(0,s.tZ)("span",{children:t}),(0,s.tZ)("button",{type:"button",css:L.iZ.resetButton,onClick:function(){return b(!1)},children:(0,s.tZ)(x.Z,{name:"cross"})})]}),(0,s.BX)("div",{css:Yl.optionsWrapper,children:[(0,s.tZ)(rr,{variant:"secondary",activeTab:M,tabList:N,onChange:function(e){k(e);var t=Vl(Vl({},f),{},{type:e});g(t),d&&d(t),"url"!==e&&r.onChange(t)}}),"url"===M&&(0,s.tZ)(Pe.Z,{value:m.url,onChange:function(e){return G(e,"url")},placeholder:"https://",handleMediaIconClick:function(){b(!1),R({component:xt,props:{allowedMediaType:"*",onInsert:function(e){var t=Vl(Vl({},m),{},{url:e.path});g(t),d&&d(t)}},closeOnOutsideClick:!0})},isClearable:!0,inputCss:Yl.textInput}),"menu"===M&&(0,s.tZ)(Do.Z,{value:C.menus.find((function(e){return String(e.value)===String(f.menu)})),options:C.menus,onChange:function(e){return G(e.value,"menu")},clearOption:function(){return G("","menu")},placeholder:p("COM_SPPAGEBUILDER_EDITOR_LINK_FIELD_SELECT_MENU")}),"page"===M&&(0,s.tZ)(Do.Z,{value:C.pages.find((function(e){return String(e.value)===String(f.page)})),options:C.pages,onChange:function(e){return G(e.value,"page")},clearOption:function(){return G("","page")},placeholder:p("COM_SPPAGEBUILDER_EDITOR_LINK_FIELD_SELECT_PAGE")}),(0,s.BX)("div",{css:Yl.linkOptions,children:[(0,s.tZ)("div",{css:o.c.caption(),children:p("COM_SPPAGEBUILDER_EDITOR_LINK_FIELD_LINK_OPTIONS")}),(0,s.tZ)(Ae.Z,{label:p("COM_SPPAGEBUILDER_EDITOR_LINK_FIELD_NEW_TAB"),labelCss:Yl.label,checked:f.new_tab,onChange:function(e){return G(e,"new_tab")}}),(0,s.tZ)(Ae.Z,{label:p("COM_SPPAGEBUILDER_EDITOR_LINK_FIELD_NO_FOLLOW"),labelCss:Yl.label,checked:f.nofollow,onChange:function(e){return G(e,"nofollow")}}),(0,s.tZ)(Ae.Z,{label:p("COM_SPPAGEBUILDER_EDITOR_LINK_FIELD_NO_REFERRER"),labelCss:Yl.label,checked:f.noreferrer,onChange:function(e){return G(e,"noreferrer")}}),(0,s.tZ)(Ae.Z,{label:p("COM_SPPAGEBUILDER_EDITOR_LINK_FIELD_NO_OPENER"),labelCss:Yl.label,checked:f.noopener,onChange:function(e){return G(e,"noopener")}})]})]})]})})]})}})};var Yl={wrapper:(0,i.iv)("display:flex;border:1px solid ",n.qo.stroke.neutral,";border-radius:",n.E0[6],";>div{flex:1;}&:focus-within{box-shadow:",n.AF.outline,";}input{border:none;&:focus{box-shadow:none;}};label:wrapper;"),wrapperButton:(0,i.iv)(L.iZ.resetButton,";width:100%;display:flex;align-items:center;border:1px solid ",n.qo.stroke.neutral,";border-radius:",n.E0[6],";&:focus,&:focus-within{box-shadow:",n.AF.outline,";}input{border:none;cursor:pointer;&:focus{box-shadow:none;}};label:wrapperButton;"),linkIcon:(0,i.iv)("height:32px;width:32px;border-right:1px solid ",n.qo.stroke.neutral,";color:",n.qo.icon.default,";text-align:center;line-height:",n.Nv[32],";;label:linkIcon;"),popoverWrapper:(0,i.iv)("background-color:",n.qo.background.white,";width:304px;box-shadow:",n.AF.popover,";border-radius:",n.E0[6],";;label:popoverWrapper;"),popoverHeader:(0,i.iv)("padding:",n.W0[12]," ",n.W0[16],";border-bottom:1px solid ",n.qo.stroke.neutral,";display:flex;justify-content:space-between;align-items:center;span{",o.c.caption("medium"),";};label:popoverHeader;"),optionsWrapper:(0,i.iv)("display:flex;flex-direction:column;gap:",n.W0[12],";padding:",n.W0[12],";;label:optionsWrapper;"),textInput:(0,i.iv)(":focus{box-shadow:",n.AF.outline,";};label:textInput;"),linkOptions:(0,i.iv)("display:flex;flex-direction:column;gap:",n.W0[10],";;label:linkOptions;"),label:(0,i.iv)(o.c.body(),";color:",n.qo.text.default,";;label:label;")};function Ql(e){return Ql="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ql(e)}var Jl=["css"];function ec(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function tc(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ec(Object(r),!0).forEach((function(t){rc(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ec(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function rc(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==Ql(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==Ql(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Ql(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return oc(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?oc(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function oc(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const ic=function(e){var t=e.field,r=e.fieldState,n=e.onChange,o=void 0===n?se.ZT:n,i=e.label,a=e.placeholder,l=void 0===a?"":a,u=e.disabled,d=e.readOnly,p=e.loading,f=e.moduleType,v=e.isInlineLabel,h=e.isSearchable,b=void 0===h||h,y=e.isClearable,m=void 0===y||y,g=e.responsive,w=void 0!==g&&g,O=e.responsiveOrientation,E=e.helpText,S=(0,I.$)(),_=(0,q.v)((function(e){return e.appConfig})),C=_.module_positions,A=_.modules,P="module"===f?A:C,L=(0,se.I6)(P),D=nc((0,c.useState)((function(){var e;return(null===(e=L.find((function(e){return String(e.value)===String(t.value)})))||void 0===e?void 0:e.label)||""})),2),j=D[0],T=D[1],B=nc((0,c.useState)(""),2),M=B[0],k=B[1],R=nc((0,c.useState)(!1),2),W=R[0],N=R[1],G=(0,go.l)({isOpen:W,isDropdown:!0}),F=G.triggerRef,U=G.triggerWidth,H=G.position,z=G.popoverRef,V=(0,c.useMemo)((function(){return b?L.filter((function(e){return e.label.toLowerCase().startsWith(M.toLowerCase())})):L}),[b,L,M]);return(0,s.tZ)(Gn.Z,{fieldState:r,field:t,label:i,disabled:u||0===L.length,readOnly:d,loading:p,isInlineLabel:v,responsive:w,responsiveOrientation:O,helpText:E,children:function(e){var r=e.attributes,n=(e.data,r.css),i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(r,Jl);return(0,s.BX)("div",{css:lc.wrapper,children:[(0,s.BX)("div",{css:lc.inputWrapper,ref:F,children:[(0,s.tZ)("input",tc(tc({},i),{},{onClick:function(){return N((function(e){return!e}))},css:[n,lc.input,";label:ModuleField;"],autoComplete:"off",readOnly:d||!b,placeholder:l,value:j,onChange:function(e){T(e.target.value),k(e.target.value)}})),(0,s.tZ)("button",{type:"button",css:lc.caretButton,onClick:function(){N((function(e){return!e}))},disabled:d,children:(0,s.tZ)(x.Z,{name:"chevronDown",width:20,height:20,style:lc.toggleIcon({isOpen:W})})})]}),(0,s.tZ)(go.h,{isOpen:W,onClickOutside:function(){return N(!1)},children:(0,s.BX)("div",{css:[lc.optionsWrapper,{left:H.left,top:H.top,maxWidth:U},";label:ModuleField;"],ref:z,children:[(0,s.tZ)("ul",{css:[lc.options,";label:ModuleField;"],children:V.map((function(e){return(0,s.tZ)("li",{css:lc.optionItem({isSelected:e.value===t.value}),children:(0,s.tZ)(Z.Z,{variant:"text",buttonCss:lc.optionButton,onClick:function(){t.onChange(e.value),T(e.label),k(""),o(e),N(!1)},children:e.label})},String(e.value))}))}),m&&(0,s.tZ)("div",{css:lc.clearButton({isDisabled:""===j}),children:(0,s.tZ)(Z.Z,{variant:"text",disabled:""===j,onClick:function(){t.onChange(null),T(""),k("")},children:S("COM_SPPAGEBUILDER_EDITOR_FORM_SELECT_CLEAR")})})]})})]})}})};var ac={name:"xs7epg-toggleIcon",styles:"transform:rotate(180deg);label:toggleIcon;"},lc={wrapper:{name:"i3il2f-wrapper",styles:"width:100%;label:wrapper;"},inputWrapper:{name:"39rwmw-inputWrapper",styles:"width:100%;display:flex;justify-content:space-between;align-items:center;position:relative;label:inputWrapper;"},input:(0,i.iv)(o.c.body(),";width:100%;cursor:pointer;;label:input;"),clearButton:function(e){var t=e.isDisabled,r=void 0!==t&&t;return(0,i.iv)("padding:",n.W0[8]," ",n.W0[12],";&>button{padding:0;",!r&&(0,i.iv)("color:",n.qo.text.primary,";&:hover{text-decoration:underline;};label:clearButton;"),";};label:clearButton;")},optionsWrapper:(0,i.iv)("position:absolute;width:100%;max-height:500px;z-index:",n.W5.dropdown,";background-color:",n.qo.base.white,";box-shadow:",n.AF.popover,";padding:",n.W0[4]," 0;border-radius:",n.E0[6],";",L.iZ.overflowYAuto,";;label:optionsWrapper;"),options:{name:"1s58vis-options",styles:"list-style-type:none;padding:0;margin:0;label:options;"},optionItem:function(e){var t=e.isSelected,r=void 0!==t&&t;return(0,i.iv)(o.c.body(),";min-height:40px;height:100%;width:100%;display:flex;align-items:center;transition:background-color 0.3s ease-in-out;cursor:pointer;&:hover{background-color:",n.qo.background.hover,";}",r&&(0,i.iv)("background-color:",n.qo.background.active,";position:relative;&::before{content:'';position:absolute;top:0;left:0;width:3px;height:100%;background-color:",n.qo.action.primary.default,";border-radius:0 ",n.E0[6]," ",n.E0[6]," 0;};label:optionItem;"),";;label:optionItem;")},optionButton:(0,i.iv)("width:100%;padding:",n.W0[10]," ",n.W0[12],";;label:optionButton;"),caretButton:(0,i.iv)(L.iZ.resetButton,";position:absolute;top:0;bottom:0;right:",n.W0[8],";margin:auto 0;;label:caretButton;"),toggleIcon:function(e){var t=e.isOpen,r=void 0!==t&&t;return(0,i.iv)("color:",n.qo.icon.default,";transition:transform 0.3s ease-in-out;",r&&ac,";;label:toggleIcon;")}},cc=r(4353),uc=r(7856);const sc=function(e){var t=e.value,r=e.onChange,n=e.height,o=(0,c.useId)(),i=(0,c.useRef)(null),a=(0,q.v)((function(e){return e.appConfig})),l=function(e){r(e)},u=(0,c.useCallback)((function(e){var t=window,r=t.WFEditor,n=t.tinyMCE.get(o);if(i.current)if(n){if(r){var a=n.getContent({format:"raw"});(0,vo.isEqual)(a,e)||n.setContent(i.current.textContent||"",{format:"raw"})}}else i.current.textContent=e}),[o]);return(0,c.useEffect)((function(){i.current&&(i.current.textContent=t,u(t))}),[t,u]),(0,c.useEffect)((function(){var e=window,t=e.WFEditor,r=e.tinyMCE;if(t||r)return t?(Object.assign(t.settings,function(e){var t=e.onChange;return{height:e.options.height,theme_resizing:!1,setup:function(e){var r=function(){var r=e.getContent({format:"raw"});t(r)};e.onChange.add(r),e.onKeyUp.add(r),e.onPaste.add(r)}}}({onChange:l,options:{height:n}})),t.create(o)):(r.execCommand("mceRemoveEditor",!0,o),r.init(function(e){var t=e.onChange,r=e.theme;return{force_br_newlines:!0,force_p_newlines:!1,forced_root_block:"",toolbar_items_size:"small",invalid_elements:"script,applet",content_css:"components/com_sppagebuilder/assets/css/tinymce.css",theme:null!=r?r:"silver",menubar:!1,height:e.options.height,entity_encoding:"raw",deprecation_warnings:!1,plugins:["advlist autolink lists link charmap preview image","searchreplace code","media contextmenu paste fullscreen"],content_style:"body{ font-size: 12px !important; }",relative_urls:!0,document_base_url:Ni.Z.APPLICATION_ROOT,resize:!1,image_class_list:[{title:"None",value:""},{title:"Left",value:"pull-left"},{title:"Right",value:"pull-right"}],toolbar:"styleselect | bold italic fontsizeselect | alignleft aligncenter alignright alignjustify | blockquote | bullist numlist | link image | fullscreen code",setup:function(e){e.on("change keyup paste",(function(){var r=e.getContent({format:"raw"});t(r)}))}}}({onChange:l,theme:a.editor.theme,options:{height:n}})),r.execCommand("mceAddEditor",!0,o)),function(){r&&r.execCommand("mceRemoveEditor",!1,o)}}),[]),(0,s.tZ)("div",{css:dc.wrapper,children:(0,s.tZ)("textarea",{ref:i,id:o})})};var dc={wrapper:(0,i.iv)(".tox-tinymce{border:1px solid ",n.qo.stroke.default,";border-radius:",n.E0[5],";}.tox-statusbar__branding{display:none;}.wf-editor-container:not(.mce-fullscreen){iframe{max-width:100%!important;height:200px!important;}.wf-editor-preview{height:200px!important;min-width:100%;}.wf-editor-source{min-height:200px!important;min-width:100%;}}.wf-editor-container.mce-fullscreen .mceEditor iframe{height:400px!important;};label:wrapper;")};function pc(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const fc=function(e){var t,r,n=e.label,o=e.field,i=e.fieldState,a=e.disabled,l=e.loading,u=e.helpText,d=e.responsive,p=e.responsiveOrientation,f=(0,Bn.F)((function(e){return e.payload})),v=f.addonIndex,h=f.sectionIndex,b=f.columnIndex,y=f.tableItem,m=(0,Mn.s)().currentState,g=(t=(0,c.useState)(o.value),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,r)||function(e,t){if(e){if("string"==typeof e)return pc(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?pc(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),w=g[0],O=g[1],E=(0,W.N)(w);return(0,c.useEffect)((function(){O(o.value)}),[v,h,b,y,m]),(0,c.useEffect)((function(){o.value!==E&&o.onChange(E)}),[E]),(0,s.tZ)(Gn.Z,{label:n,field:o,fieldState:i,disabled:a,loading:l,helpText:u,responsive:d,responsiveOrientation:p,children:function(){var e=null!=w?w:"";e=e.startsWith("<p>")?e:"<p>".concat(e,"</p>");var t="".concat(null!=h?h:0,"-").concat(null!=b?b:0,"-").concat(null!=v?v:0);if((0,se.$K)(y)){var r=y.rowItemIdx,n=void 0===r?-1:r,o=y.itemIdx,i=y.contentItemIdx;t+="-".concat(n,"-").concat(o,"-").concat(i)}return(0,s.tZ)(sc,{value:e,onChange:function(e){O(e)},height:"200"},t)}})};var vc=r(4943);const hc=function(e){var t=e.label,r=e.field,n=e.options,o=e.fieldState,i=e.disabled,a=e.loading,l=e.onChange,c=e.helpText;return(0,s.tZ)(Gn.Z,{label:t,field:r,fieldState:o,disabled:i,loading:a,helpText:c,children:function(e){var t=e.data,o=t.responsive,i=t.device,a=(0,tr.o5)(r.value,i);return(0,s.tZ)(s.HY,{children:(0,s.tZ)("div",{css:bc.wrapper,children:n.map((function(e){return(0,s.tZ)(Z.Z,{variant:"text",buttonCss:bc.thumbItem({isActive:a===e.value}),onClick:function(){var t=(0,tr.xU)({previous:r.value,value:e.value,responsive:o,device:i});r.onChange(t),l&&l(t)},children:e.icon&&(0,s.tZ)("span",{css:bc.icon({isActive:a===e.value}),dangerouslySetInnerHTML:{__html:e.icon}})},e.value)}))})})}})};var bc={wrapper:{name:"n10x8p-wrapper",styles:"display:flex;flex-wrap:wrap;justify-content:start;label:wrapper;"},icon:function(e){var t=e.isActive;return(0,i.iv)("width:81px;border:1px solid ",t?n.qo.icon.primary:n.qo.icon.neutral,";border-radius:",n.E0[6],";;label:icon;")},thumbItem:function(e){var t=e.isActive;return(0,i.iv)("padding:",n.W0[6],";",t&&(0,i.iv)("svg{color:",n.qo.icon.primary,";}padding:",n.W0[6],";;label:thumbItem;"),";;label:thumbItem;")}},yc=r(1245),mc=r.n(yc),gc=r(8710);function wc(e){return wc="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},wc(e)}function Oc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ec(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Oc(Object(r),!0).forEach((function(t){xc(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Oc(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function xc(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==wc(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==wc(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===wc(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Sc=function(e){var t=e.isOpen,r=e.onClose,n=e.onChange,o=e.triggerRef,a=e.typographyValues,l=e.device,u=e.popoverGap,d=void 0===u?20:u,p=(0,I.$)(),f=(0,q.v)((function(e){return e.appConfig.is_google_fonts_disabled})),v=(0,go.l)({isOpen:t,triggerRef:o,gap:d,arrow:"right"}),h=v.position,b=v.popoverRef,y=(0,tl.Sh)(),m=(0,c.useMemo)((function(){var e;return(0,rl.c)(null!==(e=y.data)&&void 0!==e?e:[],f)}),[y.data,f]),g={italic:a.italic,underline:a.underline,uppercase:a.uppercase},w=m.find((function(e){return e.value===a.font})),O=(0,c.useMemo)((function(){var e=[{value:"",label:p("COM_SPPAGEBUILDER_EDITOR_FONT_WEIGHT_LABEL_FONT_WEIGHT")},{value:"100",label:p("COM_SPPAGEBUILDER_EDITOR_FONT_WEIGHT_LABEL_THIN")},{value:"200",label:p("COM_SPPAGEBUILDER_EDITOR_FONT_WEIGHT_LABEL_EXTRA_THIN")},{value:"300",label:p("COM_SPPAGEBUILDER_EDITOR_FONT_WEIGHT_LABEL_LIGHT")},{value:"400",label:p("COM_SPPAGEBUILDER_EDITOR_FONT_WEIGHT_LABEL_NORMAL")},{value:"500",label:p("COM_SPPAGEBUILDER_EDITOR_FONT_WEIGHT_LABEL_MEDIUM")},{value:"600",label:p("COM_SPPAGEBUILDER_EDITOR_FONT_WEIGHT_LABEL_SEMI_BOLD")},{value:"700",label:p("COM_SPPAGEBUILDER_EDITOR_FONT_WEIGHT_LABEL_BOLD")},{value:"800",label:p("COM_SPPAGEBUILDER_EDITOR_FONT_WEIGHT_LABEL_EXTRA_BOLD")},{value:"900",label:p("COM_SPPAGEBUILDER_EDITOR_FONT_WEIGHT_LABEL_BLACK")}];return w&&(0,se.$K)(w.variants)?e.filter((function(e){var t,r;return(null!==(t=null===(r=w.variants)||void 0===r?void 0:r.map((function(e){return(0,rl.vn)(e).weight.toString()})))&&void 0!==t?t:[]).includes(e.value)})):e}),[w,p]);return(0,s.tZ)(go.h,{isOpen:t,onClickOutside:r,children:(0,s.tZ)("div",{css:(0,i.iv)({position:"absolute",left:h.left,top:h.top},";label:TypographyPopover;"),ref:b,children:(0,s.tZ)(bo.Z,{header:{title:p("COM_SPPAGEBUILDER_EDITOR_TYPOGRAPHY_TITLE"),actionTray:(0,s.tZ)(Z.Z,{variant:"text",onClick:r,buttonCss:_c.crossButton,children:(0,s.tZ)(x.Z,{name:"cross",height:24,width:24})})},cardCss:_c.cardStyle,hideArrow:!0,children:(0,s.BX)("div",{css:_c.cardInnerSection,children:[(0,s.tZ)(Do.Z,{options:m,value:w,label:p("COM_SPPAGEBUILDER_EDITOR_TYPOGRAPHY_FONT_LABEL"),placeholder:p("COM_SPPAGEBUILDER_EDITOR_SELECT_FIELD_PLACEHOLDER"),onChange:function(e){var t,r;n(Ec(Ec({},a),{},{font:e.value,type:null!==(t=e.type)&&void 0!==t?t:"google",weight:""}),null!==(r=e.variants)&&void 0!==r?r:[])},clearOption:function(){return n(Ec(Ec({},a),{},{font:""}))},isSearchable:!0,infiniteScroll:!0}),(0,s.BX)("div",{css:_c.sizeLineHeightSpaceWrapper,children:[(0,s.tZ)(gc.Z,{label:p("COM_SPPAGEBUILDER_EDITOR_TYPOGRAPHY_FONT_SIZE_LABEL"),fieldValue:a.size[l],onChange:function(e){var t;n(Ec(Ec({},a),{},{size:Ec(Ec({},a.size),{},xc({},l,e))}),null!==(t=null==w?void 0:w.variants)&&void 0!==t?t:[])}}),(0,s.tZ)(gc.Z,{label:p("COM_SPPAGEBUILDER_EDITOR_TYPOGRAPHY_FONT_LINE_HEIGHT_LABEL"),fieldValue:a.line_height[l],onChange:function(e){var t;n(Ec(Ec({},a),{},{line_height:Ec(Ec({},a.line_height),{},xc({},l,e))}),null!==(t=null==w?void 0:w.variants)&&void 0!==t?t:[])}}),(0,s.tZ)(gc.Z,{label:p("COM_SPPAGEBUILDER_EDITOR_TYPOGRAPHY_FONT_LETTER_SPACE_LABEL"),fieldValue:a.letter_spacing[l],onChange:function(e){var t;n(Ec(Ec({},a),{},{letter_spacing:Ec(Ec({},a.letter_spacing),{},xc({},l,e))}),null!==(t=null==w?void 0:w.variants)&&void 0!==t?t:[])}})]}),(0,s.BX)("div",{css:_c.textDecorationWrapper,children:[(0,s.tZ)(ul,{label:p("COM_SPPAGEBUILDER_EDITOR_TYPOGRAPHY_FONT_STYLE_LABEL"),values:g,onChange:function(e){var t;n(Ec(Ec({},a),e),null!==(t=null==w?void 0:w.variants)&&void 0!==t?t:[])},wrapperStyle:_c.wrapperStyle}),(0,s.tZ)(Do.Z,{label:p("COM_SPPAGEBUILDER_EDITOR_TYPOGRAPHY_FONT_WEIGHT_LABEL"),options:O,value:O.find((function(e){return String(e.value)===String(a.weight)})),onChange:function(e){var t;n(Ec(Ec({},a),{},{weight:e.value}),null!==(t=null==w?void 0:w.variants)&&void 0!==t?t:[])},clearOption:function(){return n(Ec(Ec({},a),{},{weight:""}))},wrapperStyle:_c.wrapperStyle,isFontWeight:!0})]})]})})})})};var _c={cardStyle:(0,i.iv)("box-shadow:",n.AF.popover,";border-radius:",n.E0[6],";;label:cardStyle;"),cardInnerSection:(0,i.iv)(L.iZ.cardInnerSection,";flex-direction:column;gap:",n.W0[12],";padding:",n.W0[12],";width:304px;height:208px;;label:cardInnerSection;"),crossButton:{name:"1o5ntf8-crossButton",styles:"padding:0;label:crossButton;"},sizeLineHeightSpaceWrapper:(0,i.iv)("display:flex;justify-content:center;gap:",n.W0[8],";;label:sizeLineHeightSpaceWrapper;"),textDecorationWrapper:(0,i.iv)("display:flex;justify-content:center;gap:",n.W0[8],";;label:textDecorationWrapper;"),wrapperStyle:{name:"pkzghw-wrapperStyle",styles:"max-width:136px;width:100%;label:wrapperStyle;"}};function Cc(e){return Cc="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},Cc(e)}function Ic(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ac(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ic(Object(r),!0).forEach((function(t){Pc(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ic(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Pc(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==Cc(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==Cc(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Cc(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||Dc(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Dc(e,t){if(e){if("string"==typeof e)return jc(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?jc(e,t):void 0}}function jc(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Tc={xl:{value:"",unit:"px"},lg:{value:"",unit:"px"},md:{value:"",unit:"px"},sm:{value:"",unit:"px"},xs:{value:"",unit:"px"}},Zc={font:"",uppercase:!1,italic:!1,underline:!1,weight:"",size:mc()(Tc),line_height:mc()(Tc),letter_spacing:mc()(Tc),type:"google"};const Bc=function(e){var t=e.field,r=e.fieldState,n=e.onChange,o=e.readOnly,i=e.label,a=e.isInlineLabel,l=e.responsive,u=e.responsiveOrientation,d=e.helpText,p=e.fallbacks,f=e.fieldSettings,v=(0,I.$)(),h=Lc((0,c.useState)(!1),2),b=h[0],y=h[1],m=Lc((0,c.useState)([]),2),g=m[0],w=m[1],O=(0,c.useRef)(null),E=(0,q.v)((function(e){return e.appConfig.is_google_fonts_disabled})),S=(0,tl.Sh)(),_=(0,c.useMemo)((function(){return function(e){var t=p,r=(0,se.Kn)(t)&&(0,se.Zt)(t).length>0;if((0,se.$K)(e)&&(0,se.Kn)(e))return e;var n=mc()(Zc);if(!r)return n;var o,i=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Dc(e))){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(l)throw i}}}}((0,se.Zt)(t));try{for(i.s();!(o=i.n()).done;){var a=o.value,l=Lc(t[a].split("."),2),c=l[0],u=l[1];if((0,se.$K)(f[c]))if(u){var s=f[c];if((0,se.$K)(s[u])){if(!(0,se.Kn)(n[a])){n[a]=s[u];continue}if(!(0,se.Kn)(s[u])){n[a][C.zu].value=f[c];continue}for(var d=0,v=Object.entries(s[u]);d<v.length;d++){var h=Lc(v[d],2),b=h[0],y=h[1],m=(0,se.Kn)(y)?y:{value:y};n[a][b]=Ac(Ac({},n[a][b]),m)}}}else{if(!(0,se.Kn)(n[a])){n[a]=f[c];continue}if(!(0,se.Kn)(f[c])){n[a][C.zu].value=f[c];continue}for(var g=0,w=Object.entries(f[c]);g<w.length;g++){var O=Lc(w[g],2),E=O[0],x=O[1],S=(0,se.Kn)(x)?x:{value:x};n[a][E]=Ac(Ac({},n[a][E]),S)}}}}catch(e){i.e(e)}finally{i.f()}return n}(t.value)}),[t.value,f,p]);return(0,c.useEffect)((function(){if(_.font&&S.data){var e=(0,se.$K)(_.type)?_.type:"google";"google"!==e||E?"local"===e&&(0,rl.pE)({family:_.font,variants:g.length>0?g:[String(_.weight)]},"local"):(0,rl.pE)({family:_.font,variants:g.length>0?g:[String(_.weight)]},"google",S.data)}}),[_.font,_.weight,g,S.data]),(0,s.tZ)(s.HY,{children:(0,s.tZ)(Gn.Z,{field:t,fieldState:r,label:i,isInlineLabel:a,readOnly:o,responsive:l,responsiveOrientation:u,helpText:d,children:function(e){var r=e.data.device,o="".concat(_.size[r].value||"00","/").concat(_.line_height[r].value||"00");return(0,s.BX)(s.HY,{children:[(0,s.BX)("button",{type:"button",css:Wc.wrapper,ref:O,onClick:function(){return y(!0)},children:[(0,s.tZ)("span",{css:Wc.font({font:_.font,fontWeight:_.weight,italic:_.italic,underline:_.underline,upperCase:_.uppercase}),title:_.font||v("COM_SPPAGEBUILDER_EDITOR_TYPOGRAPHY_EMPTY_FONT_PLACEHOLDER"),children:_.font||v("COM_SPPAGEBUILDER_EDITOR_TYPOGRAPHY_EMPTY_FONT_PLACEHOLDER")}),(0,s.tZ)("div",{css:Wc.separator,children:(0,s.tZ)("span",{})}),(0,s.tZ)("div",{css:Wc.sizeAndLineHeight,children:o}),(0,s.tZ)("div",{css:Wc.iconWrapper,children:(0,s.tZ)(x.Z,{name:"settings",height:20,width:20})})]}),(0,s.tZ)(Sc,{isOpen:b,onClose:function(){return y(!1)},onChange:function(e){w(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]),t.onChange(e),n&&n(e)},device:r,triggerRef:O,typographyValues:_})]})}})})};var Mc={name:"1v13n35-font",styles:"text-transform:uppercase;label:font;"},kc={name:"10mr6hu-font",styles:"text-decoration:underline;label:font;"},Rc={name:"gwvx45-font",styles:"font-style:italic;label:font;"},Wc={wrapper:(0,i.iv)(L.iZ.resetButton,";",o.c.body(),";width:100%;border:1px solid ",n.qo.stroke.neutral,";height:32px;display:flex;align-items:center;padding:0 ",n.W0[8],";border-radius:",n.E0[6],";:focus{box-shadow:",n.AF.outline,";}:hover{color:",n.qo.text.hover,";};label:wrapper;"),font:function(e){var t=e.font,r=e.fontWeight,n=void 0===r?"initial":r,o=e.italic,a=void 0!==o&&o,l=e.underline,c=void 0!==l&&l,u=e.upperCase,s=void 0!==u&&u;return(0,i.iv)("text-align:left;flex:1;font-weight:",n,";",L.iZ.textEllipsis,";",!!t&&(0,i.iv)("font-family:",t,";;label:font;")," ",a&&Rc," ",c&&kc," ",s&&Mc,";;label:font;")},separator:(0,i.iv)(L.iZ.flexCenter(),";width:16px;height:16px;span{width:2px;height:2px;background-color:",n.qo.icon.default,";border-radius:",n.E0.circle,";margin:auto;};label:separator;"),sizeAndLineHeight:(0,i.iv)("color:",n.qo.text.hints,";max-width:60px;width:100%;;label:sizeAndLineHeight;"),iconWrapper:(0,i.iv)("padding:0;position:relative;svg{color:",n.qo.icon.default,";transition:color 0.3s ease;}:hover{svg{color:",n.qo.icon.hover,";}};label:iconWrapper;")};function Nc(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return Gc(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Gc(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(l)throw i}}}}function Gc(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Fc=function(e){var t,r={},n=Nc((0,se.Zt)(e));try{for(n.s();!(t=n.n()).done;){var o=e[t.value];if((0,se.$K)(o)){var i=o.fields;if((0,se.$K)(i)){var a,l=Nc((0,se.Zt)(i));try{for(l.s();!(a=l.n()).done;){var c,u=a.value,s=i[u];r[u]=null!==(c=s.std)&&void 0!==c?c:""}}catch(e){l.e(e)}finally{l.f()}}}}}catch(e){n.e(e)}finally{n.f()}return r},Uc=function(e){var t=e.split(".");return["sp_accordion_item","sp_tab_item"].includes(t[t.length-1])},Hc=function(e,t,r){return(0,se.$K)(e.admin_label)&&(0,se.HD)(e.admin_label)&&e.admin_label.length>0?e.admin_label:(0,se.$K)(e.title)&&(0,se.HD)(e.title)&&e.title.length>0?e.title:r("COM_SPPAGEBUILDER_EDITOR_REPEATABLE_ITEM_DEFAULT_TITLE",{index:t+1})},qc=function(e,t){return(0,se.$K)(e)&&((0,se.$K)(e.title)||(0,se.$K)(e.admin_label))&&(e.admin_label=t("COM_SPPAGEBUILDER_EDITOR_REPEATABLE_ITEM_DEFAULT_TITLE_COPY",{title:e.title||e.admin_label||""})),e},zc=r(2902);function Vc(e){return Vc="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},Vc(e)}function $c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Kc(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?$c(Object(r),!0).forEach((function(t){Xc(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Xc(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==Vc(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==Vc(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Vc(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Yc=function(e){var t=e.id,r=e.fieldValue,n=e.isDragOverlay,o=e.onEditItem,i=e.onDuplicateItem,a=e.onDeleteItem,l=(0,$t.nB)({id:t}),c=l.attributes,u=l.listeners,d=l.setNodeRef,p=l.transform,f=l.transition,v=l.isDragging,h={transform:or.ux.Transform.toString(p),transition:f,opacity:v?.5:1};return(0,s.BX)("div",{css:[Qc.repeatableItem({isDragOverlay:n}),h,";label:RepeatableItem;"],ref:d,children:[(0,s.BX)("div",{css:Qc.leftWrapper,"data-left-wrapper":!0,children:[(0,s.tZ)("button",Kc(Kc(Kc({type:"button",css:Qc.addonDragHandler},c),u),{},{children:(0,s.tZ)(x.Z,{name:"dragger"})})),(0,s.tZ)("span",{title:r,children:r})]}),!n&&(0,s.BX)("div",{css:Qc.actionButtonsWrapper,children:[(0,s.tZ)("button",{type:"button",css:Qc.actionButton,onClick:o,children:(0,s.tZ)(x.Z,{name:"pencilOnBox"})}),(0,s.tZ)("button",{type:"button",css:Qc.actionButton,onClick:i,children:(0,s.tZ)(x.Z,{name:"copy"})}),(0,s.tZ)("button",{type:"button",css:Qc.actionButton,onClick:a,children:(0,s.tZ)(x.Z,{name:"trash"})})]})]})};var Qc={repeatableItem:function(e){var t=e.isDragOverlay,r=void 0!==t&&t;return(0,i.iv)("display:flex;justify-content:space-between;padding:",n.W0[8]," ",n.W0[12],";border:1px solid ",n.qo.stroke.neutral,";border-radius:",n.E0[6],";transition:background-color 0.3s ease;:hover{&>[data-left-wrapper]{>span{color:",n.qo.text.hover,";}>button{>svg{color:",n.qo.icon.hover,";}}}}",r&&(0,i.iv)("background-color:",n.qo.background.white,";;label:repeatableItem;"),";;label:repeatableItem;")},leftWrapper:(0,i.iv)("display:flex;justify-content:center;align-items:center;gap:",n.W0[2],";span{max-width:160px;",L.iZ.textEllipsis,";};label:leftWrapper;"),actionButtonsWrapper:(0,i.iv)("height:100%;display:flex;gap:",n.W0[8],";;label:actionButtonsWrapper;"),addButtonWrapper:(0,i.iv)("align-self:center;margin-bottom:",n.W0[8],";;label:addButtonWrapper;"),actionButton:(0,i.iv)(L.iZ.resetButton,";svg{color:",n.qo.icon.default,";}:hover{svg{color:",n.qo.icon.hover,";}};label:actionButton;"),addonDragHandler:(0,i.iv)(L.iZ.resetButton,";cursor:grab!important;>svg{color:",n.qo.icon.default,";};label:addonDragHandler;")};function Jc(e){return Jc="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},Jc(e)}function eu(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function tu(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?eu(Object(r),!0).forEach((function(t){ru(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):eu(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ru(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==Jc(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==Jc(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Jc(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nu(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ou(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ou(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ou(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const iu=function(e){var t=e.values,r=e.defaultValue,n=e.onEditItem,o=e.onDuplicateItem,i=e.onDeleteItem,a=e.onAppendItem,l=e.onRearrangeItems,u=(0,I.$)(),d=(0,N.O)({defaultValues:{items:t}}),p=d.reset,f=d.getValues,v=nu((0,c.useState)(null),2),h=v[0],b=v[1],y=nu((0,c.useState)(""),2),m=y[0],g=y[1],w=(0,D.Dq)({control:d.control,name:"items"}),O=d.watch("items"),E=w.fields.map((function(e,t){return tu(tu({index:t},e),O[t])})),S=(0,Vt.Dy)((0,Vt.VT)(Vt.we),(0,Vt.VT)(Vt.Lg,{coordinateGetter:$t.is}));return(0,c.useEffect)((function(){p(tu(tu({},f()),{},{items:t}))}),[t,p,f]),(0,c.useEffect)((function(){if(h){var e=E.find((function(e){return e.id===h}));if(e){var t=function(e,t,r){return(0,se.$K)(e.admin_label)&&(0,se.HD)(e.admin_label)&&e.admin_label.length>0?e.admin_label:(0,se.$K)(e.title)&&e.title.length>0?e.title:r("COM_SPPAGEBUILDER_EDITOR_REPEATABLE_ITEM_DEFAULT_TITLE",{index:t+1})}(e,e.index,u);g(t)}}}),[h]),(0,s.BX)(s.HY,{children:[(0,s.tZ)("div",{css:au.addButtonWrapper,children:(0,s.tZ)(Z.Z,{variant:"secondary",icon:(0,s.tZ)(x.Z,{name:"plus"}),onClick:function(){w.append(r),a()},children:u("COM_SPPAGEBUILDER_EDITOR_ADD_INNER_ITEM_BUTTON")})}),(0,s.tZ)(Vt.LB,{sensors:S,collisionDetection:Vt.pE,onDragStart:function(e){b(String(e.active.id))},onDragEnd:function(e){var r=e.active,n=e.over;if(b(null),g(""),null!=n&&n.id&&r.id!==n.id){var o=E.findIndex((function(e){return e.id===r.id})),i=E.findIndex((function(e){return e.id===n.id})),a=(0,$t.Rp)(E,o,i);w.replace(a),l((0,$t.Rp)(t,o,i))}},children:(0,s.BX)($t.Fo,{items:E,strategy:$t.qw,children:[E.map((function(e,t){var r=e.title||e.admin_label||"Item";return(0,s.tZ)(Yc,{id:e.id,fieldValue:r,onEditItem:function(){return n(t)},onDuplicateItem:function(){w.insert(t+1,tu(tu({},O[t]),{},{admin_label:u("COM_SPPAGEBUILDER_EDITOR_DUPLICATE_TITLE",{title:O[t].title})})),o(t)},onDeleteItem:function(){w.remove(t),i(t)}},e.id)})),(0,s.tZ)(Vt.y9,{children:h&&(0,s.tZ)(Yc,{id:h,fieldValue:m,onEditItem:se.ZT,onDuplicateItem:se.ZT,onDeleteItem:se.ZT,isDragOverlay:!0})})]})})]})};var au={repeatableItem:(0,i.iv)("display:flex;justify-content:space-between;padding:",n.W0[8]," ",n.W0[12],";border:1px solid ",n.qo.stroke.neutral,";border-radius:",n.E0[6],";;label:repeatableItem;"),actionButtonsWrapper:(0,i.iv)("display:flex;gap:",n.W0[8],";;label:actionButtonsWrapper;"),addButtonWrapper:(0,i.iv)("align-self:center;margin-bottom:",n.W0[8],";;label:addButtonWrapper;"),actionButton:(0,i.iv)(L.iZ.resetButton,";svg{color:",n.qo.icon.default,";}:hover{svg{color:",n.qo.icon.hover,";}};label:actionButton;")};function lu(e){return lu="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},lu(e)}function cu(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function uu(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?cu(Object(r),!0).forEach((function(t){su(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):cu(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function su(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==lu(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==lu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===lu(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const du=function(e){var t=e.isOpen,r=e.popoverRef,o=e.position,i=e.field,a=e.title,l=e.values,u=e.index,d=e.onClose,p=e.onApplyChanges,f=(0,I.$)(),v=(0,N.O)({defaultValues:(0,c.useMemo)((function(){return l[u]}),[l,u])}),h=v.watch(),b=(0,ho.VG)(i.attr,h);return(0,s.tZ)(go.h,{isOpen:t,customZIndex:n.W5.header,children:(0,s.tZ)(D.RV,uu(uu({},v),{},{children:(0,s.BX)("div",{css:[pu.popover,{position:"absolute",left:o.left,top:o.top},";label:RepeatablePortal;"],ref:r,children:[(0,s.BX)("div",{css:pu.header,children:[(0,s.tZ)("span",{children:a||f("COM_SPPAGEBUILDER_EDITOR_INNER_ITEM_POPOVER_HEADER")}),(0,s.tZ)("button",{type:"button",css:L.iZ.resetButton,onClick:d,children:(0,s.tZ)(x.Z,{name:"cross"})})]}),(0,s.tZ)("div",{css:pu.fieldsWrapper,children:(0,s.tZ)(ju,{settings:b,form:v,fieldNamePrefix:!1,hasBorder:!0})}),(0,s.tZ)("div",{css:pu.footer,children:(0,s.tZ)(Z.Z,{onClick:v.handleSubmit((function(e){p(e)})),children:f("COM_SPPAGEBUILDER_EDITOR_APPLY")})})]})}))})};var pu={popover:(0,i.iv)("background-color:",n.qo.background.white,";width:320px;box-shadow:",n.AF.popover,";border-radius:",n.E0[6],";z-index:1;;label:popover;"),header:(0,i.iv)("padding:",n.W0[12]," ",n.W0[16],";border-bottom:1px solid ",n.qo.stroke.neutral,";display:flex;justify-content:space-between;align-items:center;span{",o.c.caption("medium"),";};label:header;"),footer:(0,i.iv)("border-top:1px solid ",n.qo.stroke.neutral,";display:flex;justify-content:end;align-items:center;padding:",n.W0[12]," ",n.W0[16],";;label:footer;"),fieldsWrapper:(0,i.iv)("padding:",n.W0[12],";display:flex;flex-direction:column;gap:",n.W0[8],";max-height:calc(100vh - 140px);overflow-y:auto;;label:fieldsWrapper;")},fu=r(2238);function vu(e){return vu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vu(e)}function hu(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function bu(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function yu(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?bu(Object(r),!0).forEach((function(t){mu(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):bu(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function mu(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==vu(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==vu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===vu(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gu(e){return gu="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},gu(e)}function wu(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ou(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?wu(Object(r),!0).forEach((function(t){Eu(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):wu(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Eu(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==gu(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==gu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===gu(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xu(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Su(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Su(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Su(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const _u=function(e){var t=e.fieldName,r=e.field,n=e.parentKey,o=(0,I.$)(),i=(0,D.Gc)(),a=xu((0,c.useState)(null),2),l=a[0],u=a[1],d=(0,se.$K)(n)?"".concat(n,".").concat(t):t,p=(0,D.qo)({control:i.control,name:d})||[],f=(0,D.qo)({control:i.control,name:"repeatable.field_name"}),v=(0,D.qo)({control:i.control,name:"repeatable.field_value"}),h=function(){var e=(0,P.o)((function(e){return e.addNestedRowForDeepAddon})),t=(0,P.o)((function(e){return e.deleteSection})),r=(0,Bn.F)((function(e){return{type:e.type,payload:e.payload,setSettings:e.setSettings}})),n=r.type,o=r.payload,i=r.setSettings,a=o.addonIndex,l=o.columnIndex,c=o.sectionIndex,u=(0,po._)().getSectionById,s=(0,P.o)((function(e){return e.page})),d=(0,I.$)();return{addRepeatableItem:function(t){(0,se.$K)(c)&&(0,se.$K)(l)&&(0,se.$K)(a)&&e({sectionIndex:c,columnIndex:l,addonIndex:a,item:t})},duplicateRepeatableItem:function(t){var r=[],n=yu(yu({},t),{},{title:d("COM_SPPAGEBUILDER_EDITOR_DUPLICATE_TITLE",{title:t.title}),content:t.content.map((function(e){var t,n=u(e.id).index,o=(0,se.x0)(),i=(0,fu.Nk)({sectionIndex:n,sectionId:o,sections:s,independent:!1});return r.push.apply(r,function(e){if(Array.isArray(e))return hu(e)}(t=i)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return hu(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?hu(e,t):void 0}}(t)||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.")}()),yu(yu({},e),{},{id:o})}))});return(0,se.$K)(c)&&(0,se.$K)(l)&&(0,se.$K)(a)&&e({sectionIndex:c,columnIndex:l,addonIndex:a,item:t,sections:r}),n},deleteRepeatableItem:function(e){e.content.forEach((function(e){var r=u(e.id).index;-1!==r&&(0,se.$K)(c)&&r<c&&i(n,yu(yu({},o),{},{sectionIndex:c-1})),t({sectionIndex:r})}))}}}(),b=h.addRepeatableItem,y=h.duplicateRepeatableItem,m=h.deleteRepeatableItem,g=xu((0,c.useState)(!1),2),w=g[0],O=g[1],E=(0,go.l)({isOpen:w,gap:20,arrow:"right"}),x=E.triggerRef,S=E.position,_=E.popoverRef,A=p.map((function(e,t){var r=e;return(0,se.$K)(r.title)?e:Ou(Ou({},r),{},{admin_label:Hc(r,t,o)})}));if(!(0,se.$K)(r.attr))return null;var L=function(){u(null),O(!1)},j=function(e,t){var r=(0,zc.ZP)(A,(function(r){(0,se.kJ)(r)||(r=[]),r.splice(t,0,e)}));i.setValue(d,r)},T=Fc(r.attr);return(0,s.BX)(s.HY,{children:[(0,s.tZ)("div",{css:Cu.wrapper,ref:x,children:(0,s.tZ)(iu,{values:A,defaultValue:T,onEditItem:function(e){O(!0),u(e)},onDuplicateItem:function(e){if(Uc(t)){var r=A[e],n=y(r);j(qc(n,o),e+1)}else if(t.includes(C.pb.headerItemsKey)){var i=A[e],a=Ou(Ou({},i),{},{content:i.content.map((function(e){return Ou(Ou({},e),{},{id:(0,se.x0)()})}))});j(qc(a,o),e+1)}else if(t.includes("settings.".concat(C.pb.bodyItemsKey))){var l=A[e],c=Ou(Ou({},l),{},{table_advanced_item:l.table_advanced_item.map((function(e){return Ou(Ou({},e),{},{content:e.content.map((function(e){return Ou(Ou({},e),{},{id:(0,se.x0)()})}))})}))});j(qc(c,o),e+1)}else if(t.includes(C.pb.bodyItemsKey)){var u=A[e],s=Ou(Ou({},u),{},{content:u.content.map((function(e){return Ou(Ou({},e),{},{id:(0,se.x0)()})}))});j(qc(s,o),e+1)}else{var d=mc()(A[e]);j(qc(d,o),e+1)}},onDeleteItem:function(e){var r=(0,zc.ZP)(A,(function(t){t.splice(e,1)}));if(Uc(t)){var n=A[e];m(n)}i.setValue(d,r)},onAppendItem:function(){if(Uc(t)){var e={title:T.title,content:[{id:(0,se.x0)(),name:"row",type:"nested_row"}]};j(e,A.length),b(e)}else if(t.includes(C.pb.headerItemsKey)){var n={content:[{id:(0,se.x0)(),name:"text_block",settings:{text:""},collapse:!1,visibility:!0}]};j(n,A.length)}else if(t.includes("settings.".concat(C.pb.bodyItemsKey))){var o={table_advanced_item:[{content:[{id:(0,se.x0)(),name:"text_block",settings:{text:""},collapse:!1,visibility:!0}]}]};j(o,A.length)}else if(t.includes(C.pb.bodyItemsKey)){var i={content:[{id:(0,se.x0)(),name:"text_block",settings:{text:""},collapse:!1,visibility:!0}]};j(i,A.length)}else{var a;j(Fc(null!==(a=r.attr)&&void 0!==a?a:{}),A.length)}},onRearrangeItems:function(e){i.setValue(d,e)}})}),(0,se.$K)(l)&&(0,s.tZ)(du,{isOpen:w,position:S,popoverRef:_,field:{attr:r.attr},title:r.title||"",onApplyChanges:function(e){var r=(0,zc.ZP)(A,(function(t){(0,se.$K)(f)&&(0,se.$K)(null==e?void 0:e[f])?t[l]=Ou(Ou({},e),{},Eu({},f,v)):t[l]=e}));i.setValue("repeatable.field_name",t),i.setValue("repeatable.field_value",r),i.setValue(d,r),L()},values:A,index:l,onClose:L})]})};var Cu={wrapper:(0,i.iv)("display:flex;flex-direction:column;gap:",n.W0[8],";;label:wrapper;")};function Iu(e){return Iu="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},Iu(e)}function Au(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Pu(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Au(Object(r),!0).forEach((function(t){Lu(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Au(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Lu(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==Iu(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==Iu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Iu(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Du=function(e){var t=e.field,r=e.name,n=e.hideLabel,o=void 0!==n&&n,i=e.form,a=e.fromRepeatableField,l=void 0!==a&&a,c=e.parentKey,u=(0,I.$)();switch(t.type){case"hidden":case"text":case"gmap":case"number":return(0,s.tZ)(D.Qr,{control:i.control,name:r,render:function(e){return(0,s.tZ)(k.Z,Pu(Pu({},e),{},{label:o?void 0:t.title,helpText:t.desc,responsive:(0,tr.sw)(t.responsive),responsiveOrientation:t.responsive_orientation,isDebounced:!0}))}});case"select":return t.multiple?(0,s.tZ)(D.Qr,{control:i.control,name:r,render:function(e){return(0,s.tZ)(cc.Z,Pu(Pu({},e),{},{label:o?void 0:t.title,helpText:t.desc,options:(0,tr.qb)(t.values),placeholder:u("COM_SPPAGEBUILDER_EDITOR_SELECT_FIELD_PLACEHOLDER"),responsive:(0,tr.sw)(t.responsive),responsiveOrientation:t.responsive_orientation}))}}):(0,s.tZ)(D.Qr,{control:i.control,name:r,render:function(e){return(0,s.tZ)(M.Z,Pu(Pu({},e),{},{label:o?void 0:t.title,helpText:t.desc,options:(0,tr.qb)(t.values),placeholder:u("COM_SPPAGEBUILDER_EDITOR_SELECT_FIELD_PLACEHOLDER"),responsive:(0,tr.sw)(t.responsive),responsiveOrientation:t.responsive_orientation}))}});case"category":return(0,s.tZ)(D.Qr,{control:i.control,name:r,render:function(e){return(0,s.tZ)(Ka,Pu(Pu({},e),{},{label:o?void 0:t.title,placeholder:u("COM_SPPAGEBUILDER_EDITOR_FIELD_CATEGORY_PLACEHOLDER"),helpText:t.desc,responsive:(0,tr.sw)(t.responsive),responsiveOrientation:t.responsive_orientation}))}});case"accesslevel":return(0,s.tZ)(D.Qr,{control:i.control,name:r,render:function(e){return(0,s.tZ)(Io,Pu(Pu({},e),{},{label:o?void 0:t.title,placeholder:u("COM_SPPAGEBUILDER_EDITOR_FIELD_ACCESS_LEVEL_PLACEHOLDER"),helpText:t.desc,responsive:(0,tr.sw)(t.responsive),responsiveOrientation:t.responsive_orientation}))}});case"animation":return(0,s.tZ)(D.Qr,{control:i.control,name:r,render:function(e){return(0,s.tZ)(ga,Pu(Pu({},e),{},{helpText:t.desc}))}});case"alert":return(0,s.tZ)(D.Qr,{control:i.control,name:r,render:function(e){var r;return(0,s.tZ)(aa,Pu(Pu({},e),{},{message:null!==(r=t.message)&&void 0!==r?r:"",isOldAddon:t.is_old_addon,title:t.title,variation:t.variation}))}});case"alignment":var d=(t.vertical?["start","center","end"]:["left","center","right"]).map((function(e){return{label:"",icon:t.vertical?tr.BI[e]:tr.C4[e],value:e}}));return(0,s.tZ)(D.Qr,{control:i.control,name:r,render:function(e){var r,n;return(0,s.tZ)(ua,Pu(Pu({},e),{},{label:o?void 0:t.title,helpText:t.desc,options:null!==(r=null===(n=t.available_options)||void 0===n?void 0:n.map((function(e){return{label:"",icon:tr.C4[e],value:e}})))&&void 0!==r?r:d,responsive:(0,tr.sw)(t.responsive),responsiveOrientation:t.responsive_orientation}))}});case"headings":return(0,s.tZ)(D.Qr,{control:i.control,name:r,render:function(e){return(0,s.tZ)(Cl,Pu(Pu({},e),{},{label:o?void 0:t.title,helpText:t.desc,headingsOnly:!!t.headingsOnly,responsive:(0,tr.sw)(t.responsive),responsiveOrientation:t.responsive_orientation}))}});case"link":return(0,s.tZ)(D.Qr,{control:i.control,name:r,render:function(e){return(0,s.tZ)(Xl,Pu(Pu({},e),{},{label:o?void 0:t.title,helpText:t.desc}))}});case"color":return(0,s.tZ)(D.Qr,{control:i.control,name:r,render:function(e){return(0,s.tZ)(el,Pu(Pu({},e),{},{label:o?void 0:t.title,helpText:t.desc,responsive:(0,tr.sw)(t.responsive),responsiveOrientation:t.responsive_orientation}))}});case"advancedcolor":return(0,s.tZ)(D.Qr,{control:i.control,name:r,render:function(e){return(0,s.tZ)(Ri,Pu(Pu({},e),{},{label:o?void 0:t.title,helpText:t.desc,responsive:(0,tr.sw)(t.responsive),responsiveOrientation:t.responsive_orientation}))}});case"textarea":return(0,s.tZ)(D.Qr,{control:i.control,name:r,render:function(e){return(0,s.tZ)(eo,Pu(Pu({},e),{},{label:o?void 0:t.title,helpText:t.desc,responsive:(0,tr.sw)(t.responsive),responsiveOrientation:t.responsive_orientation}))}});case"module":return(0,s.tZ)(D.Qr,{control:i.control,name:r,render:function(e){return(0,s.tZ)(ic,Pu(Pu({},e),{},{label:o?void 0:t.title,moduleType:t.module,helpText:t.desc,responsive:(0,tr.sw)(t.responsive),responsiveOrientation:t.responsive_orientation}))}});case"checkbox":return(0,s.tZ)(D.Qr,{control:i.control,name:r,render:function(e){return(0,s.tZ)(vc.Z,Pu(Pu({},e),{},{label:o?void 0:t.title,helpText:t.desc,responsive:(0,tr.sw)(t.responsive),responsiveOrientation:t.responsive_orientation,isInlineLabel:!0}))}});case"radio":case"advancedradio":return(0,s.tZ)(D.Qr,{control:i.control,name:r,render:function(e){return(0,s.tZ)(Wi,Pu(Pu({},e),{},{label:o?void 0:t.title,helpText:t.desc,options:(0,tr.qb)(t.values),responsive:(0,tr.sw)(t.responsive),responsiveOrientation:t.responsive_orientation}))}});case"icon":return(0,s.tZ)(D.Qr,{control:i.control,name:r,render:function(e){return(0,s.tZ)(Gl,Pu(Pu({},e),{},{label:o?void 0:t.title,helpText:t.desc,responsive:(0,tr.sw)(t.responsive),responsiveOrientation:t.responsive_orientation,isInlineLabel:!0}))}});case"editor":return(0,s.tZ)(D.Qr,{control:i.control,name:r,render:function(e){return(0,s.tZ)(fc,Pu(Pu({},e),{},{label:o?void 0:t.title,helpText:t.desc,responsive:(0,tr.sw)(t.responsive),responsiveOrientation:t.responsive_orientation}))}});case"media":return(0,s.tZ)(D.Qr,{control:i.control,name:r,render:function(e){return(0,s.tZ)(Vn,Pu(Pu({},e),{},{label:o?void 0:t.title,allowedMediaType:t.format||t.mediaType,helpText:t.desc,hidePreview:!!t.hide_preview,isLottieFile:!1,responsive:(0,tr.sw)(t.responsive),responsiveOrientation:t.responsive_orientation}))}});case"padding":case"margin":return(0,s.tZ)(D.Qr,{control:i.control,name:r,render:function(e){return(0,s.tZ)(Ia,Pu(Pu({},e),{},{label:o?void 0:t.title,helpText:t.desc,responsive:(0,tr.sw)(t.responsive),responsiveOrientation:t.responsive_orientation}))}});case"boxshadow":return(0,s.tZ)(D.Qr,{control:i.control,name:r,render:function(e){var r,n;return(0,s.tZ)(Ra,Pu(Pu({},e),{},{label:o?void 0:t.title,helpText:t.desc,responsive:(0,tr.sw)(t.responsive),responsiveOrientation:t.responsive_orientation,hasSpread:null===(r=null===(n=t.config)||void 0===n?void 0:n.spread)||void 0===r||r}))}});case"slider":return(0,s.tZ)(D.Qr,{control:i.control,name:r,render:function(e){var r,n;return(0,s.tZ)(uc.Z,Pu(Pu({},e),{},{label:o?void 0:t.title,helpText:t.desc,min:t.min,max:t.max,step:null!==(r=t.step)&&void 0!==r?r:1,info:t.info,hasUnit:!!t.unit,responsive:(0,tr.sw)(t.responsive),responsiveOrientation:t.responsive_orientation,staticUnit:null!==(n=t.default_unit)&&void 0!==n?n:""}))}});case"advancedslider":return(0,s.tZ)(D.Qr,{control:i.control,name:r,render:function(e){return(0,s.tZ)(oa,Pu(Pu({},e),{},{label:o?void 0:t.title,helpText:t.desc,min:t.min,max:t.max,responsive:(0,tr.sw)(t.responsive),responsiveOrientation:t.responsive_orientation}))}});case"fontstyle":return(0,s.tZ)(D.Qr,{control:i.control,name:r,render:function(e){return(0,s.tZ)(hl,Pu(Pu({},e),{},{label:o?void 0:t.title,helpText:t.desc,responsive:(0,tr.sw)(t.responsive),responsiveOrientation:t.responsive_orientation}))}});case"fonts":return(0,s.tZ)(D.Qr,{control:i.control,name:r,render:function(e){return(0,s.tZ)(nl,Pu(Pu({},e),{},{label:o?void 0:t.title,helpText:t.desc,responsive:(0,tr.sw)(t.responsive),responsiveOrientation:t.responsive_orientation}))}});case"frontend_navigator":return(0,s.tZ)(Qi,{});case"typography":var p=i.getValues(),f="settings"in p?p.settings:p;return(0,s.tZ)(D.Qr,{control:i.control,name:r,render:function(e){return(0,s.tZ)(Bc,Pu(Pu({},e),{},{label:o?void 0:t.title,helpText:t.desc,fallbacks:t.fallbacks,fieldSettings:f,responsive:!(0,se.$K)(t.responsive)||(0,tr.sw)(t.responsive),responsiveOrientation:t.responsive_orientation}))}});case"codeeditor":return(0,s.tZ)(D.Qr,{control:i.control,name:r,render:function(e){return(0,s.tZ)(Fn,Pu(Pu({},e),{},{label:o?void 0:t.title,helpText:t.desc,responsive:(0,tr.sw)(t.responsive),responsiveOrientation:t.responsive_orientation}))}});case"gradient":return(0,s.tZ)(D.Qr,{control:i.control,name:r,render:function(e){return(0,s.tZ)(Sl,Pu(Pu({},e),{},{label:o?void 0:t.title,helpText:t.desc}))}});case"buttons":return(0,s.tZ)(D.Qr,{control:i.control,name:r,render:function(e){var r;return(0,se.$K)(e.field.value)||e.field.onChange(null!==(r=t.std)&&void 0!==r?r:""),(0,s.tZ)(Na,Pu(Pu({},e),{},{label:o?void 0:t.title,helpText:t.desc,options:(0,tr.qb)(t.values),responsive:(0,tr.sw)(t.responsive),responsiveOrientation:t.responsive_orientation}))}});case"thumbnail":return(0,s.tZ)(D.Qr,{control:i.control,name:r,render:function(e){return(0,s.tZ)(hc,Pu(Pu({},e),{},{label:o?void 0:t.title,helpText:t.desc,options:(0,tr.qb)(t.values)}))}});case"repeatable":return l?null:(0,s.tZ)(_u,{fieldName:r,parentKey:c,field:t});case"timeline":case"separator":return(0,s.tZ)(yo,{title:t.title});default:return null}},ju=function(e){var t,r=e.settings,n=e.form,o=e.fieldNamePrefix,i=void 0===o?"settings.":o,a=e.hasBorder,l=void 0!==a&&a,c=e.parentKey,u=e.disabledGroup;return(0,s.tZ)("div",{css:Tu.wrapper,children:(t=(0,se.Zt)(r),t.map((function(e){var o=r[e],a=o.fields,d=(0,se.Zt)(a),p=(0,ho.ME)(a),f=(0,ho.ed)(a);return(0,tr.uZ)(a)?0===d.length||"frontend"===o.client||(0,se.$K)(o.visibility)&&!o.visibility||(0,se.$K)(u)&&e===u?null:(0,s.tZ)(bo.Z,{hasBorder:l,header:function(){if((0,se.$K)(p)||!(t.length<=1))return{title:o.title,actionTray:(0,se.$K)(p)&&(0,s.tZ)(Du,{field:p.field,name:"".concat((0,se.HD)(i)?i:"").concat(p.name),hideLabel:!0,form:n})}}(),isCollapsed:f,disabledCaretCollapse:(0,se.$K)(p),children:(0,s.tZ)("div",{css:L.iZ.cardInnerSection,children:d.map((function(e){if((0,se.$K)(a[e].visibility)&&!a[e].visibility||(null==p?void 0:p.name)===e)return null;var t=a[e];return(0,s.tZ)(Du,{field:t,name:"".concat((0,se.HD)(i)?i:"").concat(e),parentKey:c,form:n},e)}))})},e):null})))})};var Tu={wrapper:(0,i.iv)("display:flex;flex-direction:column;gap:",n.W0[16],";;label:wrapper;")};function Zu(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Bu=[{label:"General",value:"general"},{label:"Style",value:"style"},{label:"Advanced",value:"advanced"}];const Mu=function(){var e,t,r=(0,D.Gc)(),n=(0,Bn.F)((function(e){return e.payload})),o=(0,po._)(),i=o.getAddon,a=o.getTableItem,l=(e=(0,c.useState)("general"),t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Zu(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Zu(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=l[0],d=l[1],p=(0,vr.x)((function(e){return e.addonStructure})),f=(0,vr.x)((function(e){return e.globalSettings})),v=r.control,h=(0,D.qo)({control:v,name:"settings"}),b=(0,c.useMemo)((function(){var e,t,r=n.sectionIndex,o=n.columnIndex,l=n.addonIndex,c=n.tableItem;if((0,se.$K)(r)&&(0,se.$K)(o)&&(0,se.$K)(l))return(0,se.$K)(c)?null===(t=a({sectionIndex:r,columnIndex:o,addonIndex:l,tableItem:c}))||void 0===t?void 0:t.name:null===(e=i({sectionIndex:r,columnIndex:o,addonIndex:l}))||void 0===e?void 0:e.name}),[n,i,a]),y=(0,c.useMemo)((function(){return b?p[b].settings:null}),[b,p]),m=(0,c.useMemo)((function(){var e;return null!==(e={general:y,style:f.style,advanced:f.advanced}[u])&&void 0!==e?e:{}}),[u,f,y]);return(0,s.BX)(s.HY,{children:[(0,s.tZ)(rr,{tabList:Bu,activeTab:u,variant:"primary",onChange:function(e){d(e)}}),(0,s.tZ)("div",{css:L.M6.settingsPanelContent,children:(0,s.tZ)(ju,{settings:(0,ho.VG)(m,h),form:r})})]})};var ku=r(8331);function Ru(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const Wu=function(){var e,t,r=(0,I.$)(),n=(0,D.Gc)(),o=(e=(0,c.useState)("style"),t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ru(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ru(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),i=o[0],a=o[1],l=(0,ku.B)((function(e){return e.config})),u=n.control,d=(0,D.qo)({control:u,name:"settings"}),p=[{label:r("COM_SPPAGEBUILDER_EDITOR_COLUMN_SETTINGS_TAB_STYLE"),value:"style"},{label:r("COM_SPPAGEBUILDER_EDITOR_COLUMN_SETTINGS_TAB_RESPONSIVE"),value:"responsive"},{label:r("COM_SPPAGEBUILDER_EDITOR_COLUMN_SETTINGS_TAB_ANIMATION"),value:"animation"}],f=(0,c.useMemo)((function(){return l.column[i]}),[l.column,i]);return(0,s.BX)("div",{children:[(0,s.tZ)(rr,{tabList:p,activeTab:i,onChange:a}),(0,s.tZ)("div",{css:L.M6.settingsPanelContent,children:(0,s.tZ)(ju,{settings:(0,ho.VG)(f,d),form:n})})]})};function Nu(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const Gu=function(e){var t,r,n=e.isInnerSection,o=void 0!==n&&n,i=(0,I.$)(),a=(0,D.Gc)(),l=(t=(0,c.useState)("style"),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,r)||function(e,t){if(e){if("string"==typeof e)return Nu(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Nu(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=l[0],d=l[1],p=(0,ku.B)((function(e){return e.config})),f=a.control,v=(0,D.qo)({control:f,name:"settings"}),h=[{label:i("COM_SPPAGEBUILDER_EDITOR_SECTION_SETTINGS_TAB_STYLE"),value:"style"},{label:i("COM_SPPAGEBUILDER_EDITOR_SECTION_SETTINGS_TAB_TITLE"),value:"title"},{label:i("COM_SPPAGEBUILDER_EDITOR_SECTION_SETTINGS_TAB_RESPONSIVE"),value:"responsive"},{label:i("COM_SPPAGEBUILDER_EDITOR_COLUMN_SETTINGS_TAB_ANIMATION"),value:"animation"}],b=(0,c.useMemo)((function(){return p.section[u]}),[p.section,u]);return(0,s.BX)("div",{children:[(0,s.tZ)(rr,{tabList:h,activeTab:u,onChange:d}),(0,s.tZ)("div",{css:L.M6.settingsPanelContent,children:(0,s.tZ)(ju,{settings:(0,ho.VG)(b,v),form:a,disabledGroup:o?"screen_mode":void 0})})]})};function Fu(e){return Fu="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},Fu(e)}function Uu(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Hu(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==Fu(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==Fu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Fu(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var qu=function(){var e=(0,Bn.F)((function(e){return e.type})),t=(0,Bn.F)((function(e){return e.payload})),r=(0,po._)(),n=r.getAddon,o=r.getTableItem,i=(0,I.$)();switch(e){case"addon":var a=t.sectionIndex,l=t.columnIndex,c=t.addonIndex,u=t.tableItem;if(!(0,se.$K)(a)||!(0,se.$K)(l)||!(0,se.$K)(c))return null;var d,p,f,v,h="";return h=(0,se.$K)(u)?null!==(d=null===(p=o({sectionIndex:a,columnIndex:l,addonIndex:c,tableItem:u}))||void 0===p?void 0:p.name)&&void 0!==d?d:"":null!==(f=null===(v=n({sectionIndex:a,columnIndex:l,addonIndex:c}))||void 0===v?void 0:v.name)&&void 0!==f?f:"",(0,s.tZ)(B.Z,{routes:[{link:null,text:i("COM_SPPAGEBUILDER_EDITOR_SETTINGS_PANEL_TITLE_DEFAULT")},{link:null,text:i("COM_SPPAGEBUILDER_EDITOR_SETTINGS_PANEL_TITLE_ADDON")},{link:null,text:(0,se.Dv)(h)}]});case"column":return(0,s.tZ)(B.Z,{routes:[{link:null,text:i("COM_SPPAGEBUILDER_EDITOR_SETTINGS_PANEL_TITLE_DEFAULT")},{link:null,text:i("COM_SPPAGEBUILDER_EDITOR_SETTINGS_PANEL_TITLE_COLUMN")}]});case"section":return(0,s.tZ)(B.Z,{routes:[{link:null,text:i("COM_SPPAGEBUILDER_EDITOR_SETTINGS_PANEL_TITLE_DEFAULT")},{link:null,text:i("COM_SPPAGEBUILDER_EDITOR_SETTINGS_PANEL_TITLE_SECTION")}]});default:return(0,s.tZ)(B.Z,{routes:[{link:null,text:i("COM_SPPAGEBUILDER_EDITOR_SETTINGS_PANEL_TITLE_DEFAULT")}]})}};const zu=function(){var e=(0,I.$)(),t=(0,Bn.F)((function(e){return{type:e.type,payload:e.payload}})),r=t.type,n=t.payload,o=(0,P.o)((function(e){return e.updateSettings})),i=(0,D.Gc)().control,a=(0,c.useDeferredValue)((0,D.qo)({control:i,name:"settings"})),l=(0,so.D)(a),u=(0,P.o)((function(e){return e.page}));(0,c.useEffect)((function(){(0,vo.isEqual)(a,l)||(0,se.$K)(a)&&(0,se.$K)(r)&&o(a,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Uu(Object(r),!0).forEach((function(t){Hu(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Uu(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({type:r},n),!!l)}),[a,r,n,l,o]);var d=(0,c.useMemo)((function(){return!("section"!==r||!(0,se.$K)(n.sectionIndex)||!u[n.sectionIndex].parent)}),[r,n,u]);return(0,s.BX)("div",{css:Vu.wrapper,children:[(0,s.tZ)("div",{css:Vu.header,children:(0,s.tZ)(qu,{})}),(0,s.tZ)("div",{css:Vu.content,children:function(){switch(r){case"addon":return(0,s.tZ)(Mu,{});case"section":return(0,s.tZ)(Gu,{isInnerSection:d});case"column":return(0,s.tZ)(Wu,{});default:return(0,s.BX)("div",{css:Vu.emptyState,children:[(0,s.tZ)("h4",{children:e("COM_SPPAGEBUILDER_EDITOR_SETTINGS_PANEL_EMPTY_STATE_PLACEHOLDER")}),(0,s.tZ)("img",{src:fo,alt:e("COM_SPPAGEBUILDER_EDITOR_SETTINGS_PANEL_EMPTY_STATE_IMAGE_ALT")})]})}}()})]})};var Vu={wrapper:(0,i.iv)("border-left:1px solid ",n.qo.stroke.neutral,";height:calc(100vh - ",C.g3,"px);position:relative;;label:wrapper;"),header:(0,i.iv)(o.c.body("medium"),";padding:",n.W0[10]," ",n.W0[16],";border-bottom:1px solid ",n.qo.stroke.neutral,";;label:header;"),content:(0,i.iv)("height:calc(100vh - ",C.g3+40+40,"px);;label:content;"),emptyState:(0,i.iv)("display:flex;flex-direction:column;gap:",n.W0[16],";color:",n.qo.text.neutral,";padding-inline:",n.W0[56]," ",n.W0[48],";margin-top:",n.W0[48],";h4{",o.c.body(),";color:",n.qo.text.hints,";text-align:center;};label:emptyState;")};const $u=function(e){var t=e.children,r=e.variant,n=void 0===r?"primary":r,o=e.gap,i=e.fullWidth,a=void 0!==i&&i,l=e.disabled,u=void 0!==l&&l;return(0,s.tZ)("div",{css:Qu.buttonContainer(o,a),children:c.Children.map(t,(function(e){if(c.isValidElement(e)){var t=e.props,r=t.variant,i=t.disabled,l={variant:r||n,disabled:i||u,buttonCss:Qu.buttonCss(r||n,o,a),buttonContentCss:Qu.buttonContentCss(a)};return c.cloneElement(e,l)}return e}))})};var Ku={name:"1mnlghg-buttonContentCss",styles:"justify-content:center;label:buttonContentCss;"},Xu={name:"1pk4jv6-buttonCss",styles:"flex:auto;label:buttonCss;"},Yu={name:"1kfszus-buttonContainer",styles:"width:fit-content;label:buttonContainer;"},Qu={buttonContainer:function(e,t){return(0,i.iv)("display:flex;overflow:hidden;",!t&&Yu," ",e&&(0,i.iv)("gap:",e,"px;;label:buttonContainer;"),";;label:buttonContainer;")},buttonCss:function(e,t,r){return(0,i.iv)("secondary"===e&&(0,i.iv)("border:none;line-height:",n.Nv[20],";box-shadow:",n.AF.combinedButton,";&:hover{box-shadow:",n.AF.combinedButton,";}",t&&(0,i.iv)("box-shadow:",n.AF.combinedButtonExtend,";&:hover{box-shadow:",n.AF.combinedButtonExtend,";};label:buttonCss;"),";;label:buttonCss;")," &:last-of-type{","secondary"===e&&(0,i.iv)("box-shadow:",n.AF.combinedButtonExtend,";&:hover{box-shadow:",n.AF.combinedButtonExtend,";};label:buttonCss;"),";}",!t&&(0,i.iv)("border-radius:0;&:first-of-type{border-radius:",n.E0[6]," 0px 0px ",n.E0[6],";}&:last-of-type{border-radius:0px ",n.E0[6]," ",n.E0[6]," 0px;};label:buttonCss;")," ",r&&Xu,";;label:buttonCss;")},buttonContentCss:function(e){return(0,i.iv)(e&&Ku,";;label:buttonContentCss;")}},Ju=r(6248);const es=function(){var e=Ft((function(e){return{isActive:e.isActive,toggleIsActive:e.toggleIsActive}}),Ju.X),t=e.isActive,r=e.toggleIsActive;return(0,s.BX)("button",{type:"button",css:ts.menuButton(t),onClick:r,children:[(0,s.tZ)("span",{}),(0,s.tZ)("span",{}),(0,s.tZ)("span",{})]})};var ts={menuButton:function(e){return(0,i.iv)(L.iZ.resetButton,";padding:0;display:flex;justify-content:center;flex-direction:column;width:40px;height:40px;justify-content:center;cursor:pointer;margin-left:-16px;:hover{span{background-color:",n.qo.icon.hover,";}}span{display:block;width:20px;height:2px;background-color:",n.qo.icon.default,";margin:",n.W0[2]," 0;border-radius:",n.E0[2],";transition:background-color 150ms ease-in,width 150ms ease-in;}",e&&(0,i.iv)("span{background-color:",n.qo.icon.hover,";width:16px;}>span:nth-of-type(2){width:12px;};label:menuButton;"),";;label:menuButton;")}},rs=r(7184),ns=r(9194),os=r(9148);function is(e){return is="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},is(e)}function as(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ls(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?as(Object(r),!0).forEach((function(t){cs(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):as(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function cs(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==is(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==is(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===is(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function us(){us=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,o){var i=t&&t.prototype instanceof p?t:p,a=Object.create(i.prototype),l=new _(o||[]);return n(a,"_invoke",{value:O(e,r,l)}),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var d={};function p(){}function f(){}function v(){}var h={};c(h,i,(function(){return this}));var b=Object.getPrototypeOf,y=b&&b(b(C([])));y&&y!==t&&r.call(y,i)&&(h=y);var m=v.prototype=p.prototype=Object.create(h);function g(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function o(n,i,a,l){var c=s(e[n],e,i);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==is(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){o("next",e,a,l)}),(function(e){o("throw",e,a,l)})):t.resolve(d).then((function(e){u.value=e,a(u)}),(function(e){return o("throw",e,a,l)}))}l(c.arg)}var i;n(this,"_invoke",{value:function(e,r){function n(){return new t((function(t,n){o(e,r,t,n)}))}return i=i?i.then(n,n):n()}})}function O(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var l=E(a,r);if(l){if(l===d)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=s(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===d)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function E(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,E(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),d;var o=s(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,d;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function C(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:I}}function I(){return{value:void 0,done:!0}}return f.prototype=v,n(m,"constructor",{value:v,configurable:!0}),n(v,"constructor",{value:f,configurable:!0}),f.displayName=c(v,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,c(e,l,"GeneratorFunction")),e.prototype=Object.create(m),e},e.awrap=function(e){return{__await:e}},g(w.prototype),c(w.prototype,a,(function(){return this})),e.AsyncIterator=w,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new w(u(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},g(m),c(m,l,"Generator"),c(m,i,(function(){return this})),c(m,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=C,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(l&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:C(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},e}function ss(e,t,r,n,o,i,a){try{var l=e[i](a),c=l.value}catch(e){return void r(e)}l.done?t(c):Promise.resolve(c).then(n,o)}function ds(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){ss(i,n,o,a,l,"next",e)}function l(e){ss(i,n,o,a,l,"throw",e)}a(void 0)}))}}var ps=[{id:"save-and-close",icon:"saveClose",title:"COM_SPPAGEBUILDER_EDITOR_TOPBAR_ACTION_SAVE_AND_CLOSE"},{id:"save-as-copy",icon:"copy",title:"COM_SPPAGEBUILDER_EDITOR_TOPBAR_ACTION_SAVE_AS_COPY"},{id:"save-and-new",icon:"saveNew",title:"COM_SPPAGEBUILDER_EDITOR_TOPBAR_ACTION_SAVE_AND_NEW"}],fs=[{id:"close",icon:"timesAlt",title:"COM_SPPAGEBUILDER_EDITOR_TOPBAR_ACTION_CLOSE"},{id:"export",icon:"exportAlt",title:"COM_SPPAGEBUILDER_EDITOR_TOPBAR_ACTION_DROPDOWN_EXPORT",iconNoFill:!0},{id:"import",icon:"importAlt",title:"COM_SPPAGEBUILDER_EDITOR_TOPBAR_ACTION_DROPDOWN_IMPORT",iconNoFill:!0},{id:"clear-content",icon:"trash",title:"COM_SPPAGEBUILDER_EDITOR_TOPBAR_ACTION_DROPDOWN_CLEAR",variant:"critical"}];const vs=function(){var e=(0,I.$)(),t=(0,An.Z)(Zt.F.PageEditor).id,r=(0,D.Gc)(),n=(0,Bt.s0)(),o=(0,Bt.TH)(),i=Ft((function(e){return e.setIsActive})),a=(0,Ie.d)().showModal,l=(0,R.g)(),u=(0,c.useRef)(null),d=(0,Bn.F)((function(e){return e.payload})),p=d.sectionIndex,f=d.columnIndex,v=d.addonIndex,h=(0,Bn.F)((function(e){return e.type})),b=(0,rs.X)(),y=(0,P.o)((function(e){return e.clearPageContent})),m=(0,P.o)((function(e){return e.page})),g=(0,Mn.s)((function(e){return e.pastStates})),w=(0,Mn.s)((function(e){return e.futureStates})),O=(0,Mn.s)((function(e){return e.undo})),E=(0,Mn.s)((function(e){return e.redo})),S=(0,Gi.T)().closeSettingPanel,_=(0,ns.HX)(),A=Xi(),L=A.savePageContent,j=A.isLoading,T=r.watch("css",""),B=r.getValues("extension"),M=r.getValues("extension_view"),k=new URLSearchParams(window.location.href),W=k.get("article_id"),N=k.get("module_id"),G=function(){"com_content"===B&&"article"===M&&W?window.location.href="".concat(se.Xy.pagebuilderBase,"administrator/index.php?option=com_content&view=article&layout=edit&id=").concat(W):"mod_sppagebuilder"===B&&"module"===M&&N?window.location.href="".concat(se.Xy.pagebuilderBase,"administrator/index.php?option=com_modules&view=module&layout=edit&id=").concat(N,"&client_id=0"):(i(!0),(0,se.$K)(o.state)&&o.state.prevPageName===C.lr?n(-1):n(Zt.F.Home.buildLink()))},F=function(){var t=ds(us().mark((function t(){return us().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,l({title:e("COM_SPPAGEBUILDER_EDITOR_CLEAR_PAGE_CONTENT_TITLE"),confirmationMessage:e("COM_SPPAGEBUILDER_EDITOR_CLEAR_PAGE_CONTENT_MESSAGE"),confirmButtonText:e("COM_SPPAGEBUILDER_EDITOR_CLEAR_PAGE_CONTENT_CLEAR_BUTTON"),skipMutation:!0});case 2:"CONFIRM"===t.sent.action&&(S(),y(),r.setValue("css",""));case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),U=function(){var e=Mn.s.getState().currentState,t=Bn.F.getState().type;if((0,se.$K)(t))switch(h){case"addon":(0,se.$K)(p)&&(0,se.$K)(f)&&(0,se.$K)(v)&&r.reset(ls(ls({},r.getValues()),{},{settings:e[p].columns[f].addons[v].settings,repeatable:{}}));break;case"column":(0,se.$K)(p)&&(0,se.$K)(f)&&r.reset(ls(ls({},r.getValues()),{},{settings:e[p].columns[f].settings}));break;case"section":(0,se.$K)(p)&&r.reset(ls(ls({},r.getValues()),{},{settings:e[p].settings}))}};return(0,s.BX)("div",{css:hs.wrapper,children:[(0,s.BX)("div",{css:hs.leftActionWrapper,children:[(0,s.tZ)(es,{}),(0,s.tZ)(Z.Z,{variant:"text",buttonCss:hs.brandName,onClick:function(){return G()},children:e("COM_SPPAGEBUILDER_EDITOR_BRAND_NAME")})]}),(0,s.BX)("div",{css:hs.actionWrapper,children:[(0,s.BX)("div",{css:hs.resizeButtonWrapper,children:[(0,s.tZ)(Z.Z,{variant:"text",buttonCss:hs.resizeButton,onClick:function(){O(),U()},disabled:0===g.length,icon:(0,s.tZ)(x.Z,{name:"undo",width:20,height:20})}),(0,s.tZ)(Z.Z,{variant:"text",buttonCss:hs.resizeButton,onClick:function(){E(),U()},disabled:0===w.length,icon:(0,s.tZ)(x.Z,{name:"redo",width:20,height:20})})]}),(0,s.tZ)(Il.Z,{variant:"secondary",buttonCss:hs.previewButton,href:"".concat(Ni.Z.APPLICATION_ROOT,"index.php?option=com_sppagebuilder&view=page&id=").concat(t),target:"_blank",children:e("COM_SPPAGEBUILDER_EDITOR_TOPBAR_PREVIEW_BUTTON")}),(0,s.BX)($u,{children:[(0,s.tZ)(Z.Z,{variant:"primary",buttonCss:hs.saveButton,loading:j,onClick:function(){L()},children:e("COM_SPPAGEBUILDER_EDITOR_TOPBAR_SAVE_BUTTON")}),(0,s.tZ)(Le.Z,{actions:ps,triggerButtonContent:(0,s.tZ)(x.Z,{name:"chevronDown"}),triggerButtonStyle:hs.triggerButton,onSelect:function(t){switch(t){case"save-and-close":L(),G();break;case"save-and-new":if(L(),"com_content"===B&&"article"===M&&W){window.location.href="".concat(se.Xy.pagebuilderBase,"administrator/index.php?option=com_content&view=article&layout=edit");break}if("mod_sppagebuilder"===B&&"module"===M&&N){window.location.href="".concat(se.Xy.pagebuilderBase,"administrator/index.php?option=com_modules&view=module&layout=edit&client_id=0");break}a({component:os.Z,props:{title:e("COM_SPPAGEBUILDER_EDITOR_CREATE_PAGE_MODAL_TITLE")}});break;case"save-as-copy":L({saveAsCopy:!0})}}})]}),(0,s.tZ)(Le.Z,{actions:fs,triggerButtonContent:(0,s.tZ)(x.Z,{name:"ellipsisXAlt"}),triggerButtonStyle:hs.threeDots,displaceLeft:-45,width:140,onSelect:function(e){var t;switch(e){case"clear-content":F();break;case"close":G();break;case"export":b.mutateAsync({template:JSON.stringify(m),css:T});break;case"import":null===(t=u.current)||void 0===t||t.click()}}})]}),(0,s.tZ)("input",{ref:u,type:"file",hidden:!0,onChange:function(){var e=ds(us().mark((function e(t){var n;return us().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.target.files){e.next=5;break}return e.next=3,_.mutateAsync(t.target.files[0]);case 3:n=e.sent,(0,se.$K)(n.data)&&r.reset(ls(ls({},r.getValues()),{},{css:n.data.css}));case 5:t.target.value="";case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()})]})};var hs={wrapper:(0,i.iv)("background-color:",n.qo.base.white,";box-shadow:",n.AF.topbar,";display:flex;align-items:center;justify-content:space-between;padding:",n.W0[8]," ",n.W0[16],";width:100%;height:100%;;label:wrapper;"),triggerButton:(0,i.iv)(L.iZ.resetButton,";display:inline-block;",o.c.body("medium"),";text-align:center;text-decoration:none;vertical-align:middle;padding:",n.W0[6]," ",n.W0[6],";border-radius:0 ",n.E0[6]," ",n.E0[6]," 0;z-index:",n.W5.level,";transition:all 150ms ease-in-out;position:relative;background-color:",n.qo.action.primary.default,";color:",n.qo.base.white,";border-left:1px solid ",n.qo.action.primary.focus,";&:hover{background-color:",n.qo.action.primary.hover,";}&:active{background-color:",n.qo.action.primary.focus,";};label:triggerButton;"),leftActionWrapper:(0,i.iv)(L.iZ.flexCenter(),";padding:0 ",n.W0[16],";;label:leftActionWrapper;"),brandName:(0,i.iv)("padding-left:0;span{",o.c.body(),";};label:brandName;"),actionWrapper:(0,i.iv)("display:flex;gap:",n.W0[10],";;label:actionWrapper;"),resizeButtonWrapper:(0,i.iv)("display:flex;gap:",n.W0[4],";margin-right:",n.W0[24],";;label:resizeButtonWrapper;"),resizeButton:(0,i.iv)("color:",n.qo.icon.default,";padding:",n.W0[6],";;label:resizeButton;"),previewButton:(0,i.iv)("padding:",n.W0[6]," ",n.W0[20],";;label:previewButton;"),saveButton:(0,i.iv)("padding:",n.W0[6]," ",n.W0[28],";;label:saveButton;"),threeDots:(0,i.iv)("background-color:",n.qo.action.secondary.default,";border-radius:",n.E0.circle,";padding:",n.W0[6]," ",n.W0[8],";color:",n.qo.icon.default,";transition:background-color 0.3s ease,color 0.3s ease;:hover{color:",n.qo.icon.default,";background-color:",n.qo.action.secondary.hover,";};label:threeDots;")};function bs(e){return bs="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},bs(e)}var ys=["text","attribs"];function ms(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function gs(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ms(Object(r),!0).forEach((function(t){ws(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ms(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ws(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==bs(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==bs(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===bs(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Os={name:"1oh93it-element",styles:"margin-left:-420px;opacity:0;label:element;"},Es={dashboardSidebar:function(e){return(0,i.iv)("position:fixed;top:",C.g3,"px;left:0;width:",e?230:0,"px;height:calc(100vh - ",C.g3,"px);transition:all 0.3s ease;",!e&&(0,i.iv)("margin-left:-",230,"px;opacity:0;;label:dashboardSidebar;"),";;label:dashboardSidebar;")},wrapper:(0,i.iv)("background-color:",n.qo.base.surface,";;label:wrapper;"),topbar:(0,i.iv)("position:fixed;left:0;top:0;width:100%;height:",C.g3,"px;z-index:",n.W5.header,";;label:topbar;"),layout:(0,i.iv)("min-height:calc(100vh - ",C.g3,"px);margin-top:",C.g3,"px;;label:layout;"),action:(0,i.iv)("position:fixed;top:",C.g3,"px;left:0;width:",C.iq,"px;height:calc(100vh - ",C.g3,"px);background-color:#fff;z-index:",n.W5.positive,";;label:action;"),element:function(e){var t=e.isActive;return(0,i.iv)("position:fixed;top:",C.g3,"px;left:",C.iq,"px;width:",t?C.P8:0,"px;height:calc(100vh - ",C.g3,"px);",!t&&Os," transition:all 0.3s ease;;label:element;")},editorWrapper:{name:"14l0gds-editorWrapper",styles:"background-color:inherit;display:flex;justify-content:center;label:editorWrapper;"},editor:function(e){var t=e.isActive;return(0,i.iv)("width:100%;max-width:calc(100% - (",C.iq+(t?C.P8:0),"px + ",C.Zs,"px));background-color:",n.qo.background.neutral,";margin-inline:",C.iq+(t?C.P8:0),"px ",C.Zs,"px;min-height:calc(100vh - ",C.g3,"px);transition:all 0.3s ease;;label:editor;")},settings:(0,i.iv)("background-color:",n.qo.base.surface,";box-shadow:inset ",n.AF.topbar,";position:fixed;top:",C.g3,"px;right:0;width:",C.Zs,"px;height:calc(100vh - ",C.g3,"px);z-index:",n.W5.header,";;label:settings;")},xs=r(2899),Ss=r(7579),_s=r(3039),Cs=r(7894);function Is(e){return Is="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},Is(e)}function As(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ps(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?As(Object(r),!0).forEach((function(t){Ls(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):As(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ls(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==Is(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==Is(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Is(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ds=[{text:"COM_SPPAGEBUILDER_EDITOR_FONT_MANAGER_PAGE_SIDEBAR_ROUTE_GOOGLE_FONTS",icon:"googleFont",link:Zt.F.GoogleFonts.template,pathnames:[Zt.F.GoogleFonts.template]},{text:"COM_SPPAGEBUILDER_EDITOR_FONT_MANAGER_PAGE_SIDEBAR_ROUTE_INSTALLED_FONTS",icon:"fontBook",link:Zt.F.InstalledFonts.template,pathnames:[Zt.F.InstalledFonts.template]}];var js={wrapper:(0,i.iv)("display:grid;grid-template-columns:180px 1fr;gap:",n.W0[32],";padding:",n.W0[24]," 0;",n.Uo.smallTablet,"{gap:",n.W0[32],";grid-template-columns:1fr;};label:wrapper;"),outletWrapper:(0,i.iv)("width:100%;",n.Uo.smallTablet,"{max-width:100%;};label:outletWrapper;"),sidebar:(0,i.iv)("display:flex;flex-direction:column;align-self:start;gap:",n.W0[24],";position:relative;",n.Uo.smallTablet,"{flex-direction:row;justify-content:left;gap:",n.W0[16],";z-index:",n.W5.sidebar,";};label:sidebar;"),uploadButton:(0,i.iv)("width:100%;&>span{display:flex;gap:",n.W0[8],";align-items:center;justify-content:center;};label:uploadButton;"),routeItem:function(e){var t=e.isActive;return(0,i.iv)(o.c.heading6(),";text-decoration:none;display:flex;align-items:center;gap:",n.W0[8],";color:",n.qo.text.neutral,";svg{color:",n.qo.icon.default,";}",!t&&(0,i.iv)("svg{:first-of-type{filter:grayscale(1);}}:hover{color:",n.qo.text.hover,";svg{color:",n.qo.icon.hover,";}};label:routeItem;")," ",t&&(0,i.iv)("span{color:",n.qo.text.primary,";}svg{color:",n.qo.icon.primary,";};label:routeItem;")," ",n.Uo.smallTablet,"{justify-content:center;min-width:32px;min-height:32px;span{display:none;}:hover{background-color:",n.qo.background.white,";border-radius:",n.E0.circle,";box-shadow:",n.AF.button,";}};label:routeItem;")}};const Ts=function(){var e=(0,I.$)(),t=(0,Bt.s0)();return(0,s.BX)("div",{css:Zs.wrapper,children:[(0,s.BX)("div",{css:Zs.leftActionWrapper,children:[(0,s.tZ)(es,{}),(0,s.tZ)(Z.Z,{variant:"text",buttonCss:Zs.brandName,onClick:function(){return t(Zt.F.Home.buildLink())},children:e("COM_SPPAGEBUILDER_EDITOR_BRAND_NAME")})]}),(0,s.tZ)("div",{children:(0,s.BX)("a",{href:"".concat(Ni.Z.APPLICATION_ROOT,"administrator/index.php"),css:Zs.backButton,children:[(0,s.tZ)(x.Z,{name:"uTurnLeft"}),(0,s.tZ)("span",{children:e("COM_SPPAGEBUILDER_EDITOR_TOPBAR_BACK_TO_DASHBOARD")})]})})]})};var Zs={wrapper:(0,i.iv)("background-color:",n.qo.base.white,";box-shadow:",n.AF.topbar,";display:flex;align-items:center;justify-content:space-between;padding:",n.W0[8]," ",n.W0[16],";width:100%;height:100%;;label:wrapper;"),leftActionWrapper:(0,i.iv)(L.iZ.flexCenter(),";padding:0 ",n.W0[16],";;label:leftActionWrapper;"),brandName:(0,i.iv)("padding-left:0;span{",o.c.body(),";};label:brandName;"),backButton:(0,i.iv)("all:unset;display:inline-flex;",o.c.body("medium"),";text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;user-select:none;background-color:transparent;padding:",n.W0[6]," ",n.W0[16],";border-radius:",n.E0[6],";z-index:",n.W5.level,";transition:all 150ms ease-in-out;position:relative;align-items:center;gap:",n.W0[8],";color:",n.qo.text.default,";font-weight:",n.Ue.regular,";line-height:",n.Nv[18],";border:1px solid ",n.qo.action.outline.default,";transition:border-color 0.2s ease;svg{fill:none;}&:hover{color:",n.qo.text.primary,";border-color:",n.qo.action.outline.hover,";path{stroke:",n.qo.icon.primary,";}}&:active{color:",n.qo.text.primary,";border-color:",n.qo.action.outline.focus,";};label:backButton;")};var Bs={wrapper:(0,i.iv)("background-color:",n.qo.base.surface,";;label:wrapper;"),topbar:(0,i.iv)("position:fixed;left:0;top:0;width:100%;height:",C.g3,"px;z-index:",n.W5.header,";;label:topbar;"),layout:(0,i.iv)("min-height:calc(100vh - ",C.g3,"px);margin-top:",C.g3,"px;;label:layout;"),main:function(e){return(0,i.iv)("width:calc(100% - ",e?C.ZR:0,"px);margin-left:",e?C.ZR:0,"px;transition:margin-left 0.3s ease,width 0.3s ease;;label:main;")}};const Ms=function(e){var t=e.component;return(0,s.tZ)(c.Suspense,{fallback:(0,s.tZ)(s.HY,{}),children:t})};var ks=r(8225);function Rs(e){return Rs="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Rs(e)}function Ws(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ns(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ws(Object(r),!0).forEach((function(t){Gs(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ws(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Gs(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==Rs(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==Rs(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Rs(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Fs=[{text:"COM_SPPAGEBUILDER_EDITOR_SETTINGS_PAGE_SIDEBAR_ROUTE_OPTIONS",icon:"settings",link:Zt.F.Settings.template,pathnames:[Zt.F.Settings.template]},{text:"COM_SPPAGEBUILDER_EDITOR_SETTINGS_PAGE_SIDEBAR_ROUTE_GLOBAL_COLORS",icon:"colorBrush",link:Zt.F.ColorsLibrary.template,pathnames:[Zt.F.ColorsLibrary.template],showProLabel:se.Eu}];se.Eu||Fs.push({text:"COM_SPPAGEBUILDER_EDITOR_SETTINGS_PAGE_SIDEBAR_ROUTE_LICENSE",icon:"key",link:Zt.F.License.template,pathnames:[Zt.F.License.template]});var Us={wrapper:(0,i.iv)("display:grid;grid-template-columns:300px 1fr;gap:",n.W0[32],";padding:",n.W0[24]," 0;",n.Uo.smallTablet,"{gap:",n.W0[32],";grid-template-columns:1fr;};label:wrapper;"),outletWrapper:(0,i.iv)("max-width:634px;width:100%;",n.Uo.smallTablet,"{max-width:100%;};label:outletWrapper;"),sidebar:(0,i.iv)("display:flex;flex-direction:column;align-self:start;gap:",n.W0[24],";position:relative;",n.Uo.smallTablet,"{flex-direction:row;justify-content:left;gap:",n.W0[16],";z-index:",n.W5.sidebar,";};label:sidebar;"),routeItem:function(e){var t=e.isActive,r=e.isDisabled,a=void 0!==r&&r;return(0,i.iv)(o.c.heading6(),";text-decoration:none;display:flex;align-items:center;gap:",n.W0[8],";color:",n.qo.text.neutral,";svg{color:",n.qo.icon.default,";}",!t&&(0,i.iv)(":hover{color:",n.qo.text.hover,";svg{color:",n.qo.icon.hover,";}};label:routeItem;")," ",t&&(0,i.iv)("span{color:",n.qo.text.primary,";}svg{color:",n.qo.icon.primary,";};label:routeItem;")," ",n.Uo.smallTablet,"{justify-content:center;min-width:32px;min-height:32px;span{display:none;}:hover{background-color:",n.qo.background.white,";border-radius:",n.E0.circle,";box-shadow:",n.AF.button,";}}",a&&(0,i.iv)("pointer-events:none;span{color:",n.qo.text.disabled,";}svg{color:",n.qo.icon.disabled,";};label:routeItem;"),";;label:routeItem;")}};function Hs(e,t){if(e){if("string"==typeof e)return qs(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?qs(e,t):void 0}}function qs(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function zs(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const Vs=function(e){var t,r,n=e.isEditingTitle,o=e.colorGroup,i=e.setIsEditingTitle,a=e.onChange,l=e.onDelete,u=e.focusOnMount,d=void 0===u||u,p=e.wrapperCss,f=(0,I.$)(),v=(t=(0,c.useState)(""),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,r)||function(e,t){if(e){if("string"==typeof e)return zs(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?zs(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),h=v[0],b=v[1];return(0,s.tZ)("div",{css:[$s.panelHeadWrapper({isEditingTitle:n}),p,";label:GlobalColorGroupHeader;"],children:n?(0,s.BX)(s.HY,{children:[(0,s.tZ)("div",{css:$s.TextInputWrapper,children:(0,s.tZ)(Pe.Z,{placeholder:f("COM_SPPAGEBUILDER_EDITOR_SETTINGS_PAGE_GLOBAL_COLOR_TITLE_INPUT_PLACEHOLDER"),value:h,onChange:function(e){return b(e)},onKeyDown:function(e){"Escape"===e&&(b(""),i()),"Enter"===e&&(a(h),b(""),i())},focusOnMount:d})}),(0,s.tZ)(Z.Z,{variant:"text",icon:(0,s.tZ)(x.Z,{name:"check",height:16,width:16}),buttonCss:$s.actionButton,onClick:function(){a(h),b(""),i()}}),(0,s.tZ)(Z.Z,{variant:"text",icon:(0,s.tZ)(x.Z,{name:"timesAlt",height:16,width:16}),buttonCss:$s.actionButton,onClick:function(){b(""),i()}})]}):(0,se.$K)(o)&&(0,s.BX)(s.HY,{children:[(0,s.tZ)("div",{css:$s.panelTitle,children:o.name}),(0,s.tZ)(Z.Z,{variant:"text",icon:(0,s.tZ)(x.Z,{name:"pencil",height:10,width:10}),onClick:function(){b(o.name),i()}}),(0,s.tZ)(Z.Z,{variant:"text",icon:(0,s.tZ)(x.Z,{name:"trash",height:10,width:10}),onClick:function(){l&&l()}})]})})};var $s={panelHeadWrapper:function(e){var t=e.isEditingTitle;return(0,i.iv)("display:flex;justify-content:start;align-items:center;gap:",n.W0[16],";padding:",n.W0[12]," ",n.W0[24],";",t&&(0,i.iv)("padding:",n.W0[6]," ",n.W0[24],";;label:panelHeadWrapper;"),">button{padding:0;visibility:hidden;opacity:0;transition:visibility 0.3s ease,opacity 0.3s ease;:last-of-type:hover{svg{color:",n.qo.icon.error,";}}svg{color:",n.qo.icon.default,";transition:color 0.3s ease;}}:hover{>button{visibility:visible;opacity:1;}};label:panelHeadWrapper;")},panelTitle:(0,i.iv)(o.c.heading6("medium"),";line-height:",n.Nv[20],";;label:panelTitle;"),TextInputWrapper:{name:"1l30b44-TextInputWrapper",styles:"max-width:200px;label:TextInputWrapper;"},actionButton:{name:"zt280c-actionButton",styles:"width:20px;height:20px;label:actionButton;"}};function Ks(e){return Ks="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},Ks(e)}function Xs(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ys(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Xs(Object(r),!0).forEach((function(t){Qs(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Xs(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Qs(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==Ks(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==Ks(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Ks(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Js(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||ed(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ed(e,t){if(e){if("string"==typeof e)return td(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?td(e,t):void 0}}function td(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const rd=function(e){var t,r=e.colorGroup,n=e.onChange,o=e.onAddNewColor,i=e.onDelete,a=Js((0,c.useState)(!1),2),l=a[0],u=a[1],d=Js((0,c.useState)(""),2),p=d[0],f=d[1],v=Js((0,c.useState)(!1),2),h=v[0],b=v[1],y=null!==(t=r.colors)&&void 0!==t?t:[],m=function(e){var t,o=e.newColor,i=e.currentColor;t=o?y.map((function(e){return e.id!==i.id?e:Ys(Ys({},i),{},{value:o})})):y.filter((function(e){return e.id!==i.id})),n(Ys(Ys({},r),{},{colors:t}))};return(0,s.BX)("div",{css:nd.panelWrapper,children:[(0,s.tZ)(Vs,{isEditingTitle:h,colorGroup:r,setIsEditingTitle:function(){return b((function(e){return!e}))},onChange:function(e){return n(Ys(Ys({},r),{},{name:e}))},onDelete:i}),(0,s.BX)("div",{css:nd.panelItemWrapper,children:[y.map((function(e,t){return(0,s.tZ)(Xo,{color:e.value,onChange:function(t){m({newColor:t,currentColor:e})},onClose:function(t){m({newColor:t,currentColor:e})},plainSwatch:!0,isGlobalColorsVisible:!1,arrowPosition:"left"},t)})),l?(0,s.tZ)(Xo,{color:p,onChange:function(e){f(e)},onClose:function(e){if(e){var t={id:(0,se.x0)(),value:e};o(Ys(Ys({},r),{},{colors:[].concat((n=y,function(e){if(Array.isArray(e))return td(e)}(n)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||ed(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),[t])}))}var n;f(""),u(!1)},plainSwatch:!0,isColorPickerOpen:!0,isGlobalColorsVisible:!1,arrowPosition:"left"}):(0,s.tZ)("div",{css:nd.plusButtonWrapper,children:(0,s.tZ)(Z.Z,{variant:"text",icon:(0,s.tZ)(x.Z,{name:"plusCircle",height:24,width:24}),onClick:function(){u(!0)}})})]})]})};var nd={panelWrapper:(0,i.iv)("border-bottom:1px solid ",n.qo.stroke.neutral,";;label:panelWrapper;"),panelHeadWrapper:(0,i.iv)("padding:",n.W0[6]," ",n.W0[24],";;label:panelHeadWrapper;"),panelItemWrapper:(0,i.iv)("display:grid;grid-template-columns:repeat(13, 30px);gap:",n.W0[16],";padding:0 ",n.W0[24]," ",n.W0[24],";;label:panelItemWrapper;"),plusButtonWrapper:(0,i.iv)("display:grid;place-items:center;>button{padding:0;svg{color:",n.qo.icon.default,";}};label:plusButtonWrapper;")};const od=r.p+"images/3be2d24ea2a358822a5e.png";function id(e){return id="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},id(e)}function ad(e){return function(e){if(Array.isArray(e))return dd(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||sd(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ld(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function cd(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ld(Object(r),!0).forEach((function(t){ud(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ld(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ud(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==id(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==id(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===id(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sd(e,t){if(e){if("string"==typeof e)return dd(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?dd(e,t):void 0}}function dd(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var pd={wrapper:(0,i.iv)("display:flex;flex-direction:column;gap:",n.W0[24],";;label:wrapper;"),heading:(0,i.iv)(o.c.heading4("medium")," ",L.iZ.flexCenter(),";justify-content:start;gap:",n.W0[4],";;label:heading;"),cardWrapperCss:(0,i.iv)("border-radius:",n.E0[8],";box-shadow:",n.AF.base,";width:630px;;label:cardWrapperCss;"),cardWrapper:(0,i.iv)("display:flex;flex-direction:column;gap:",n.W0[8],";;label:cardWrapper;"),buttonWrapper:(0,i.iv)("display:flex;justify-content:end;&>button{border-radius:",n.E0[8],";};label:buttonWrapper;"),globalColorGroupHeader:(0,i.iv)("padding:",n.W0[24],";;label:globalColorGroupHeader;"),addNewButtonWrapper:(0,i.iv)("padding:",n.W0[24],";;label:addNewButtonWrapper;"),loadingSpinnerWrapper:{name:"1v1biie-loadingSpinnerWrapper",styles:"display:grid;place-items:center;label:loadingSpinnerWrapper;"},proBannerContentCss:(0,i.iv)("padding:",n.W0[12],";;label:proBannerContentCss;")},fd=c.lazy((function(){return r.e(321).then(r.bind(r,5403))})),vd=c.lazy((function(){return r.e(863).then(r.bind(r,4977))})),hd=c.lazy((function(){return r.e(359).then(r.bind(r,1736))})),bd=c.lazy((function(){return r.e(556).then(r.bind(r,556))})),yd=c.lazy((function(){return Promise.all([r.e(254),r.e(245)]).then(r.bind(r,4245))})),md=c.lazy((function(){return Promise.all([r.e(254),r.e(680)]).then(r.bind(r,8178))})),gd=c.lazy((function(){return r.e(513).then(r.bind(r,7513))})),wd=c.lazy((function(){return r.e(357).then(r.bind(r,5357))})),Od=c.lazy((function(){return r.e(81).then(r.bind(r,7081))})),Ed=c.lazy((function(){return r.e(983).then(r.bind(r,7639))})),xd=c.lazy((function(){return r.e(970).then(r.bind(r,8970))}));const Sd=[{path:Zt.F.Home.template,element:(0,s.tZ)((function(){var e=Ft((function(e){return e.isActive}));return(0,s.BX)("div",{css:Bs.wrapper,children:[(0,s.tZ)("div",{css:Bs.topbar,children:(0,s.tZ)(Ts,{})}),(0,s.BX)("div",{css:Bs.layout,children:[(0,s.tZ)(qt,{}),(0,s.tZ)("div",{css:Bs.main(e),children:(0,s.tZ)(Bt.j3,{})})]})]})}),{}),children:[{index:!0,element:(0,s.tZ)(Bt.Fg,{to:Zt.F.PageList.template,replace:!0})},{path:Zt.F.PageList.template,element:(0,s.tZ)(Ms,{component:(0,s.tZ)(fd,{})})},{path:Zt.F.Addons.template,element:(0,s.tZ)(Ms,{component:(0,s.tZ)(vd,{})})},{path:Zt.F.CustomIcons.template,element:(0,s.tZ)(Ms,{component:(0,s.tZ)(hd,{})})},{path:Zt.F.MediaManager.template,element:(0,s.tZ)(Ms,{component:(0,s.tZ)((function(){var e,t,r=(0,I.$)(),n=(0,c.useRef)(null),o=(e=(0,c.useState)(),t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||Hs(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.")}()),i=o[0],a=o[1],l=(0,F.Q)();return(0,s.BX)(_s.Z,{children:[(0,s.tZ)(Cs.Z,{title:r("COM_SPPAGEBUILDER_EDITOR_MEDIA_MANAGER_PAGE_TITLE"),subtitle:r("COM_SPPAGEBUILDER_EDITOR_MEDIA_MANAGER_PAGE_SUB_TITLE"),action:(0,s.BX)("div",{children:[(0,s.tZ)(Z.Z,{icon:(0,s.tZ)(x.Z,{name:"upload"}),onClick:function(){var e;null===(e=n.current)||void 0===e||e.click()},disabled:!l.create,children:r("COM_SPPAGEBUILDER_EDITOR_MEDIA_MANAGER_SIDEBAR_UPLOAD_FILES")}),(0,s.tZ)("input",{ref:n,type:"file","aria-hidden":"true",multiple:!0,hidden:!0,onChange:function(e){var t=e.target.files;t&&l.create&&(a(function(e){return function(e){if(Array.isArray(e))return qs(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Hs(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.")}()}(t)),e.target.value="")}})]})}),(0,s.tZ)(Ss.Z,{children:(0,s.tZ)(mt,{isInsideModal:!1,files:i,clearFile:function(){return a([])}})})]})}),{})})},{path:Zt.F.Integrations.template,element:(0,s.tZ)(Ms,{component:(0,s.tZ)(bd,{})})},{path:Zt.F.Languages.template,element:(0,s.tZ)(Ms,{component:(0,s.tZ)(gd,{})})},{path:Zt.F.Settings.template,element:(0,s.tZ)((function(){var e=(0,I.$)(),t=kt(),r=(0,ks.U1)(),n=(0,F.Q)(),o=(0,N.O)({defaultValues:{disable_google_fonts:0,disable_og:0,disable_tc:0,disableanimatecss:0,disablecss:0,fb_app_id:"",fontawesome:0,ig_token:{appId:"",appSecret:"",accessToken:"",igId:"",app_id:"",app_secret:""},gmap_api:"",joomshaper_email:"",joomshaper_license_key:"",lazyloadimg:0,lazyplaceholder:"",production_mode:0,colors:[],container_max_width:1320,google_font_api_key:""}}),i=o.reset;return(0,c.useEffect)((function(){i(r.data)}),[i,r.data]),(0,s.BX)(_s.Z,{children:[(0,s.tZ)(Cs.Z,{title:e("COM_SPPAGEBUILDER_EDITOR_SETTINGS_PAGE_TITLE"),subtitle:e("COM_SPPAGEBUILDER_EDITOR_SETTINGS_PAGE_SUB_TITLE")}),(0,s.tZ)(Ss.Z,{children:(0,s.BX)("div",{css:Us.wrapper,children:[(0,s.tZ)("div",{css:Us.sidebar,children:Fs.map((function(r,o){var i=r.pathnames.includes(t),a=!n.admin;return a?(0,s.BX)("div",{"aria-disabled":a,css:Us.routeItem({isActive:!1,isDisabled:a}),children:[(0,s.tZ)(x.Z,{name:r.icon,width:16,height:16}),(0,s.tZ)("span",{children:e(r.text)}),r.showProLabel&&(0,s.tZ)(Tt.Z,{isInline:!0})]},o):(0,s.BX)(j.rU,{to:r.link,css:Us.routeItem({isActive:i,isDisabled:!1}),title:e(r.text),children:[(0,s.tZ)(x.Z,{name:r.icon,width:16,height:16}),(0,s.tZ)("span",{children:e(r.text)}),r.showProLabel&&(0,s.tZ)(Tt.Z,{isInline:!0})]},o)}))}),(0,s.tZ)("form",{css:Us.outletWrapper,children:n.admin?(0,s.tZ)(D.RV,Ns(Ns({},o),{},{children:(0,s.tZ)(Bt.j3,{})})):(0,s.tZ)(zr.Z,{emptyStateImage:Pn,imageAltText:e("COM_SPPAGEBUILDER_EDITOR_RESTRICTED_AREA_TITLE"),title:e("COM_SPPAGEBUILDER_EDITOR_RESTRICTED_AREA_TITLE"),content:e("COM_SPPAGEBUILDER_EDITOR_RESTRICTED_AREA_SUBTITLE"),orientation:"vertical"})})]})})]})}),{}),children:[{index:!0,element:(0,s.tZ)(Ms,{component:(0,s.tZ)(wd,{})})},{path:Zt.F.License.template,element:(0,s.tZ)(Ms,{component:(0,s.tZ)(Od,{})})},{path:Zt.F.ColorsLibrary.template,element:(0,s.tZ)(Ms,{component:(0,s.tZ)((function(){var e,t,r,n=(0,I.$)(),o=(0,D.Gc)(),i=(t=(0,c.useState)(!1),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,r)||sd(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=i[0],l=i[1],u=(0,ks.f2)(),d=(0,ks.U1)(),p=(0,D.qo)({control:o.control,name:"colors"});return se.Eu?(0,s.tZ)(zr.Z,{emptyStateImage:od,imageAltText:"upgrade to pro",title:n("COM_SPPAGEBUILDER_EDITOR_CUSTOM_COLOR_LIBRARY"),content:n("COM_SPPAGEBUILDER_EDITOR_CUSTOM_COLOR_LIBRARY_CONTENT"),action:(0,s.tZ)(qr.Z,{}),orientation:"vertical",customCss:pd.proBannerContentCss}):(0,s.BX)("div",{css:pd.wrapper,children:[(0,s.tZ)("div",{css:pd.heading,children:n("COM_SPPAGEBUILDER_EDITOR_SETTINGS_PAGE_GLOBAL_COLOR_TITLE")}),(0,s.BX)(Al.Z,{wrapperCss:pd.cardWrapperCss,children:[(0,s.tZ)("div",{css:pd.cardWrapper,children:p.map((function(e,t){return(0,s.tZ)(rd,{colorGroup:e,onChange:function(e){var r=p.map((function(r,n){return n!==t?r:e}));o.reset(cd(cd({},o.getValues()),{},{colors:r}))},onDelete:function(){var e=p.filter((function(e,r){return r!==t}));o.reset(cd(cd({},o.getValues()),{},{colors:e}))},onAddNewColor:function(e){var t=p.map((function(t){return t.name.toLowerCase()===e.name.toLowerCase()?e:t}));o.reset(cd(cd({},o.getValues()),{},{colors:t}))}},t)}))}),a?(0,s.tZ)(Vs,{isEditingTitle:a,setIsEditingTitle:function(){return l((function(e){return!e}))},onChange:function(e){if(e){var t={id:0,name:e,colors:[]};o.reset(cd(cd({},o.getValues()),{},{colors:[].concat(ad(p),[t])}))}},wrapperCss:pd.globalColorGroupHeader}):(0,s.tZ)("div",{css:pd.addNewButtonWrapper,children:(0,s.tZ)(Z.Z,{variant:"secondary",onClick:function(){l(!0)},children:n("COM_SPPAGEBUILDER_EDITOR_SETTINGS_PAGE_GLOBAL_COLOR_BUTTON_TEXT_ADD_NEW_STYLE")})})]}),(0,s.tZ)("div",{css:pd.buttonWrapper,children:(0,s.tZ)(Z.Z,{type:"submit",loading:u.isLoading,onClick:o.handleSubmit((function(e){u.mutate(e)})),disabled:!(null!==(e=d.data)&&void 0!==e&&e.colors.length||p.length),children:n("COM_SPPAGEBUILDER_EDITOR_SETTINGS_PAGE_BUTTON_TEXT_SAVE_CHANGES")})})]})}),{})})}]},{path:Zt.F.FontManager.template,element:(0,s.tZ)((function(){var e=(0,I.$)(),t=kt(),r=(0,tl.Sh)(),n=(0,N.O)({defaultValues:{disable_google_fonts:0,disable_og:0,disable_tc:0,disableanimatecss:0,disablecss:0,fb_app_id:"",fontawesome:0,ig_token:{appId:"",appSecret:"",accessToken:"",igId:"",app_id:"",app_secret:""},gmap_api:"",joomshaper_email:"",joomshaper_license_key:"",lazyloadimg:0,lazyplaceholder:"",production_mode:0,colors:[]}}),o=(0,xs.n)();return r.isLoading?(0,s.tZ)(E.fz,{}):(0,s.BX)(_s.Z,{children:[(0,s.tZ)(Cs.Z,{title:e("COM_SPPAGEBUILDER_EDITOR_FONT_BOOK_PAGE_TITLE"),subtitle:e("COM_SPPAGEBUILDER_EDITOR_FONT_BOOK_PAGE_SUB_TITLE"),action:(0,s.tZ)(Z.Z,{buttonCss:js.uploadButton,onClick:function(){o({title:e("COM_SPPAGEBUILDER_EDITOR_FONT_UPLOAD_MODAL_TITLE")})},icon:(0,s.tZ)(x.Z,{name:"upload"}),children:(0,s.tZ)("span",{children:e("COM_SPPAGEBUILDER_EDITOR_UPLOAD_FONT_BUTTON")})})}),(0,s.tZ)(Ss.Z,{children:(0,s.BX)("div",{css:js.wrapper,children:[(0,s.tZ)("div",{css:js.sidebar,children:Ds.map((function(n,o){var i,a=n.pathnames.includes(t);return(0,s.BX)(j.rU,{to:n.link,css:js.routeItem({isActive:a}),title:e(n.text),children:[(0,s.tZ)(x.Z,{name:n.icon,width:16,height:16}),(0,s.tZ)("span",{children:e(n.text)}),n.link===Zt.F.InstalledFonts.template&&(0,s.BX)("span",{children:["(",(null===(i=r.data)||void 0===i?void 0:i.length)||0,")"]})]},o)}))}),(0,s.tZ)("form",{css:js.outletWrapper,children:(0,s.tZ)(D.RV,Ps(Ps({},n),{},{children:(0,s.tZ)(Bt.j3,{})}))})]})})]})}),{}),children:[{index:!0,element:(0,s.tZ)(Bt.Fg,{to:Zt.F.InstalledFonts.template,replace:!0})},{path:Zt.F.InstalledFonts.template,element:(0,s.tZ)(Ms,{component:(0,s.tZ)(md,{})})},{path:Zt.F.GoogleFonts.template,element:(0,s.tZ)(Ms,{component:(0,s.tZ)(yd,{})})}]}]},{path:Zt.F.PageEditor.template,element:(0,s.tZ)((function(){var e,t,r=(0,I.$)(),n=(0,An.Z)(Zt.F.PageEditor).id,o=(0,Dn.z1)(Number(n)),i=Ft((function(e){return e.setIsActive})),a=(0,P.o)((function(e){return e.page})),l=(0,Mn.s)(),u=l.pastStates,d=l.showWarningAtReload;e=function(e){if(u.length>0&&d)return e.preventDefault(),r("COM_SPPAGEBUILDER_EDITOR_PREVENT_RELOAD")},t=(0,c.useRef)(e),(0,c.useEffect)((function(){t.current=function(t){var r=e(t);return(0,se.HD)(r)?t.returnValue=r:t.defaultPrevented?t.returnValue="":void 0}}),[e]),(0,c.useEffect)((function(){var e=function(e){return t.current(e)};return window.addEventListener("beforeunload",e),function(){window.removeEventListener("beforeunload",e)}}),[]);var p=(0,N.O)({defaultValues:{title:"",language:"",published:1,settings:{},catid:0,access:0,css:"",attribs:{meta_description:"",meta_keywords:"",robots:"global",seo_spacer:""},og_title:"",og_description:"",og_image:{src:""}}});(0,c.useEffect)((function(){i(!1)}),[i]),(0,c.useEffect)((function(){if(!o.isLoading&&(0,se.$K)(o.data)){var e=o.data,t=(e.text,e.attribs),r=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,ys),n=gs(gs(gs({},{meta_description:"",meta_keywords:"",robots:"",seo_spacer:""}),t),{},{robots:(0,se.$K)(t.robots)&&""===t.robots?"global":t.robots});p.reset.call(null,gs(gs({},r),{},{attribs:n}))}}),[p.reset,o.data,o.isLoading]);var f=(0,A.j)((function(e){return e.activeAction})),v=(0,se.$K)(f),h="add-elements"===f||"section-library"===f,b=h?"add-elements"===f?"addons":"sections":"addons";return o.isLoading?(0,s.tZ)(E.fz,{}):(0,s.tZ)(H.Z,{query:o,disableLoader:!0,children:(0,s.tZ)(jn,{createdBy:p.getValues("created_by"),children:(0,s.tZ)(D.RV,gs(gs({},p),{},{children:(0,s.BX)("div",{css:Es.wrapper,children:[(0,s.tZ)("div",{css:Es.topbar,children:(0,s.tZ)(vs,{})}),(0,s.BX)("div",{css:Es.layout,children:[(0,s.tZ)("div",{css:Es.action,children:(0,s.tZ)(It,{})}),(0,s.tZ)(er,{sections:a,children:(0,s.BX)(s.HY,{children:[(0,s.tZ)("div",{css:Es.element({isActive:h}),children:(0,s.tZ)(Ur,{defaultTab:b})}),(0,s.tZ)("div",{css:Es.element({isActive:"saved-items"===f}),children:(0,s.tZ)(Cn,{})}),(0,s.tZ)("div",{css:Es.element({isActive:"settings"===f}),children:(0,s.tZ)(co,{})}),(0,s.tZ)("div",{css:Es.editorWrapper,children:(0,s.tZ)("div",{css:Es.editor({isActive:v}),children:(0,s.tZ)(Bt.j3,{})})})]})}),(0,s.tZ)("div",{css:Es.settings,children:(0,s.tZ)(zu,{})})]}),(0,s.tZ)(qt,{})]})}))})})}),{}),children:[{index:!0,element:(0,s.tZ)(Ms,{component:(0,s.tZ)(xd,{})})}]},{path:"*",element:(0,s.tZ)(Ms,{component:(0,s.tZ)(Ed,{})})}];var _d=r(2137),Cd=r(6914);const Id=function(e){var t=e.children,r=(0,I.$)(),n=(0,ks.nq)(),o=(0,Cd.$x)(),i=Ln(),a=(0,P.o)((function(e){return e.loadCopiedAddon}));if((0,c.useEffect)((function(){a()}),[a]),n.isLoading||o.isLoading||i.isLoading)return(0,s.tZ)(E.fz,{});if((!n.data||!o.data||!i.data)&&((0,se.$K)(n.error)||(0,se.$K)(o.error)||(0,se.$K)(i.error))){var l,u,d,p,f=null!==(l=null===(u=n.error)||void 0===u?void 0:u.message)&&void 0!==l?l:r("COM_SPPAGEBUILDER_EDITOR_GLOBAL_SOMETHING_WENT_WRONG"),v=_d;return(0,se.$K)(null===(d=n.error)||void 0===d?void 0:d.response)&&403===(null===(p=n.error)||void 0===p?void 0:p.response.status)&&(v=Pn),(0,s.tZ)("div",{css:Ad.wrapper,children:(0,s.tZ)(zr.Z,{orientation:"vertical",emptyStateImage:v,imageAltText:r("COM_SPPAGEBUILDER_EDITOR_FONT_EMPTY_STATE_IMAGE_ALT"),content:f,customCss:Ad.emptyStateCustom,wrapperCss:Ad.emptyStateWrapper,action:(0,s.BX)("a",{href:"".concat(Ni.Z.APPLICATION_ROOT,"administrator/index.php"),css:Ad.backButton,children:[(0,s.tZ)(x.Z,{name:"uTurnLeft"}),(0,s.tZ)("span",{children:r("COM_SPPAGEBUILDER_EDITOR_TOPBAR_BACK_TO_DASHBOARD")})]})})})}return(0,s.tZ)(s.HY,{children:t})};var Ad={wrapper:(0,i.iv)("height:100vh;display:flex;flex-direction:column;justify-content:center;background-color:",n.qo.base.white,";;label:wrapper;"),emptyStateCustom:(0,i.iv)(o.c.body(),";margin-top:",n.W0[32],";text-align:left;ol{list-style-type:decimal;text-align:left;list-style-position:inside;margin-bottom:",n.W0[16],";}span{font-weight:",n.Ue.bold,";}a{color:",n.qo.text.primary,";text-decoration:underline;}p{margin-bottom:",n.W0[16],";};label:emptyStateCustom;"),emptyStateWrapper:{name:"nx8chx-emptyStateWrapper",styles:"box-shadow:none;label:emptyStateWrapper;"},backButton:(0,i.iv)("all:unset;display:inline-flex;",o.c.body("medium"),";text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;user-select:none;background-color:transparent;padding:",n.W0[6]," ",n.W0[16],";border-radius:",n.E0[6],";z-index:",n.W5.level,";transition:all 150ms ease-in-out;position:relative;align-items:center;gap:",n.W0[8],";color:",n.qo.text.default,";font-weight:",n.Ue.regular,";line-height:",n.Nv[18],";border:1px solid ",n.qo.action.outline.default,";transition:border-color 0.2s ease;svg{fill:none;}&:hover{color:",n.qo.text.primary,";border-color:",n.qo.action.outline.hover,";path{stroke:",n.qo.icon.primary,";}}&:active{color:",n.qo.text.primary,";border-color:",n.qo.action.outline.focus,";};label:backButton;")},Pd=r(948),Ld=r(4420),Dd=r(9225);function jd(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Td=r(745),Zd=document.querySelector("#pagebuilder-backend-editor");(0,Td.s)(Zd).render((0,s.tZ)(c.StrictMode,{children:(0,s.tZ)(j.UT,{children:(0,s.tZ)(w,{children:(0,s.tZ)((function(){var e,t,r=(0,Bt.TH)(),n=(e=(0,c.useState)((function(){return new Pd.S({defaultOptions:{queries:{retry:!1,refetchOnWindowFocus:!1,networkMode:"always"},mutations:{retry:!1,networkMode:"always"}}})})),t=1,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return jd(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?jd(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0];(0,c.useLayoutEffect)((function(){window.scroll({top:0,behavior:"smooth"})}),[r.pathname]);var o=(0,Bt.V$)(Sd);return(0,s.tZ)(Ld.QueryParamProvider,{adapter:Dd.Q,children:(0,s.tZ)(K.aH,{client:n,children:(0,s.tZ)(S.Z,{position:"bottom-center",children:(0,s.tZ)(Id,{children:(0,s.BX)(Ie.D,{children:[(0,s.tZ)(i.xB,{styles:(0,L.CN)()}),o]})})})})})}),{})})})}))},9101:(e,t,r)=>{"use strict";r.d(t,{Z:()=>h});var n=r(4924),o=r(7264),i=r(824),a=r(4185),l=r(917),c=r(1954),u=r(1234),s=r(1921),d=r(230),p=r(7294),f=r(5944);function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const h=function(e){var t,r,i=e.actions,a=e.triggerButtonContent,l=e.triggerButtonStyle,h=e.onSelect,y=e.visibilityStatus,m=e.disabled,g=void 0!==m&&m,w=e.arrowPosition,O=void 0===w?"top":w,E=e.displaceLeft,x=void 0===E?0:E,S=e.displaceTop,_=void 0===S?0:S,C=e.width,I=void 0===C?150:C,A=e.title,P=(0,u.$)(),L=(t=(0,p.useState)(!1),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,r)||function(e,t){if(e){if("string"==typeof e)return v(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?v(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),D=L[0],j=L[1],T=(0,c.l)({isOpen:D,isDropdown:!0,arrow:O}),Z=T.triggerRef,B=T.position,M=T.popoverRef;return(0,f.BX)(f.HY,{children:[(0,f.tZ)("button",{type:"button",css:[s.iZ.resetButton,l,";label:ActionDropdown;"],onClick:function(e){e.stopPropagation(),j(!0)},ref:Z,disabled:g,title:A,children:a}),(0,f.tZ)(c.h,{isOpen:D,onClickOutside:function(e){e.stopPropagation(),j(!1)},children:(0,f.tZ)("div",{css:b.actionContainer({left:B.left+x,top:B.top+_,width:I}),ref:M,children:i.map((function(e){var t=!!e.isProFeature&&d.Eu||!!e.isDisabled;return e.hide?null:"visibility"===e.id?function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,f.BX)("button",{type:"button",css:b.actionItem({isCritical:!1,isFreeVersion:d.Eu}),onClick:function(t){t.stopPropagation(),h(e.id),j(!1)},disabled:t,children:[(0,f.BX)("div",{css:b.innerWrapper,"data-icon-wrapper":!0,children:[(0,f.tZ)(o.Z,{name:y?"eye":"eyeSlash",width:16,height:16,noFill:e.iconNoFill}),(0,f.tZ)("span",{children:P("COM_SPPAGEBUILDER_EDITOR_ACTION_VISIBILITY_".concat(y?"HIDE":"SHOW"))})]}),!!e.isProFeature&&d.Eu&&(0,f.tZ)(n.Z,{size:"tiny",isInline:!0})]},e.id)}(e,t):(0,f.BX)("button",{type:"button",disabled:t,css:b.actionItem({isCritical:"critical"===e.variant,isFreeVersion:d.Eu}),onClick:function(t){t.stopPropagation(),h(e.id),j(!1)},children:[(0,f.BX)("div",{css:b.innerWrapper,"data-icon-wrapper":!0,children:[(0,f.tZ)(o.Z,{name:e.icon,width:16,height:16,noFill:e.iconNoFill}),(0,f.tZ)("span",{children:P(e.title)})]}),!!e.isProFeature&&d.Eu&&(0,f.tZ)(n.Z,{size:"tiny",isInline:!0})]},e.id)}))})})]})};var b={actionContainer:function(e){var t=e.left,r=e.top,n=e.width;return(0,l.iv)("position:absolute;left:",Math.max(0,t-8),"px;top:",r,"px;display:flex;flex-direction:column;background:",i.qo.base.white,";box-shadow:",i.AF.popover,";border-radius:",i.E0[5],";padding-block:",i.W0[4],";max-width:",n,"px;width:100%;;label:actionContainer;")},actionItem:function(e){var t=e.isCritical,r=e.isFreeVersion;return(0,l.iv)(s.iZ.resetButton,";padding:",i.W0[8]," ",i.W0[12],";",r&&(0,l.iv)("display:flex;gap:",i.W0[2],";justify-content:space-between;align-items:center;;label:actionItem;")," [data-icon-wrapper]{>span{",a.c.caption(),";}svg{color:",i.qo.icon.default,";}}:disabled{pointer-events:none;[data-icon-wrapper]{span{color:",i.qo.text.disabled,";}svg{color:",i.qo.icon.disabled,";}}}:hover{background-color:",i.qo.background.primary,";[data-icon-wrapper]{span,svg{color:",t?i.qo.icon.error:i.qo.text.primary,";}path:{stroke:",t?i.qo.icon.error:i.qo.text.primary,";}}};label:actionItem;")},innerWrapper:(0,l.iv)("display:flex;gap:",i.W0[8],";align-items:center;;label:innerWrapper;")}},8698:(e,t,r)=>{"use strict";r.d(t,{Z:()=>p});var n=r(3871),o=r(7264),i=r(824),a=r(4185),l=r(917),c=r(1921),u=r(7294),s=r(5944);function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const p=function(e){var t,r,i=e.children,a=e.hasBorder,l=void 0!==a&&a,c=e.isCollapsed,p=void 0!==c&&c,f=e.hideArrow,h=void 0!==f&&f,b=e.header,y=e.cardCss,m=e.disabledCaretCollapse,g=void 0!==m&&m,w=e.isDefaultCardType,O=void 0===w||w,E=e.defaultCollapsedState,x=void 0!==E&&E,S=(t=(0,u.useState)(x),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,r)||function(e,t){if(e){if("string"==typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),_=S[0],C=S[1],I=g?!p:!_;return(0,s.BX)("div",{css:[v.wrapper({hasBorder:l,isDefaultCardType:O}),y,";label:Card;"],children:[!!b&&(0,s.BX)("div",{css:v.headerWrapper({isCollapsed:!I||!!b.noSeparator,isDefaultCardType:O}),children:[(0,s.BX)("div",{css:v.titleAndAction,children:[(0,s.BX)("div",{css:v.title({isDefaultCardType:O}),children:[!h&&(0,s.tZ)(n.Z,{variant:"text",onClick:function(){C((function(e){return!e}))},disabled:!!b.actionTray&&g,children:(0,s.tZ)(o.Z,{style:v.collapsibleIconStyle({isCollapsed:_||!!b.actionTray&&p,isDisabled:!!b.actionTray&&g}),name:"caretRight",height:16,width:16})}),b.title]}),!!b.actionTray&&(0,s.tZ)("div",{children:b.actionTray})]}),!!b.subtitle&&(0,s.tZ)("p",{css:v.subtitle({isDefaultCardType:O}),children:b.subtitle})]}),I&&(0,s.tZ)("div",{css:v.cardBody,children:i})]})};var f={name:"134w5yv-collapsibleIconStyle",styles:"transform:rotate(90deg);label:collapsibleIconStyle;"},v={wrapper:function(e){var t=e.hasBorder,r=void 0!==t&&t,n=e.isDefaultCardType,o=void 0===n||n;return(0,l.iv)("width:100%;border-radius:",i.E0[8],";box-shadow:",i.AF.base,";background-color:",i.qo.base.white,";",o&&(0,l.iv)("border-radius:",i.E0[4],";box-shadow:",i.AF.card,";;label:wrapper;")," ",r&&(0,l.iv)("box-shadow:none;border:1px solid ",i.qo.stroke.neutral,";;label:wrapper;"),";;label:wrapper;")},headerWrapper:function(e){var t=e.isCollapsed,r=void 0!==t&&t,n=e.isDefaultCardType,o=void 0===n||n;return(0,l.iv)("display:flex;flex-direction:column;justify-content:center;gap:",i.W0[4],";padding:",i.W0[16]," ",i.W0[24],";",o&&(0,l.iv)("padding:",i.W0[12],";;label:headerWrapper;")," ",!r&&(0,l.iv)("border-bottom:1px solid ",i.qo.stroke.neutral,";;label:headerWrapper;"),";;label:headerWrapper;")},titleAndAction:{name:"17s6585-titleAndAction",styles:"display:flex;justify-content:space-between;align-items:center;label:titleAndAction;"},subtitle:function(e){var t=e.isDefaultCardType,r=void 0===t||t;return(0,l.iv)(a.c.body(),";color:",i.qo.text.neutral,";",r&&(0,l.iv)(a.c.caption(),";;label:subtitle;"),";;label:subtitle;")},title:function(e){var t=e.isDefaultCardType,r=void 0===t||t;return(0,l.iv)(a.c.heading5("medium"),";",c.iZ.flexCenter(),";color:",i.qo.text.default,";text-transform:capitalize;&>button{padding:0;margin-right:",i.W0[4],";}",r&&(0,l.iv)(a.c.caption("medium"),";;label:title;"),";;label:title;")},collapsibleIconStyle:function(e){var t=e.isCollapsed,r=void 0!==t&&t,n=e.isDisabled,o=void 0!==n&&n;return(0,l.iv)("color:",i.qo.icon.default,";transition:transform 0.3s ease;",!r&&f," ",o&&(0,l.iv)("color:",i.qo.icon.disabled,";;label:collapsibleIconStyle;"),";;label:collapsibleIconStyle;")},cardBody:(0,l.iv)(a.c.caption(),";color:",i.qo.text.neutral,";;label:cardBody;")}},3417:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(824),o=r(917),i=r(5944);const a=function(e){var t=e.children,r=e.header,n=e.wrapperCss,o=e.hasBody,a=void 0===o||o;return(0,i.BX)("div",{css:[l.wrapper,n,";label:CardBox;"],children:[r&&(0,i.tZ)("div",{css:l.header(a),children:r}),a&&t]})};var l={wrapper:(0,o.iv)("width:100%;background-color:",n.qo.background.white,";box-shadow:",n.AF.card,";border-radius:",n.E0[5],";;label:wrapper;"),header:function(e){return(0,o.iv)("background-color:",n.qo.background.white,";padding:",n.W0[16],";border-bottom:1px solid ",n.qo.stroke.neutral,";border-radius:",n.E0[5]," ",n.E0[5]," 0 0;",!e&&(0,o.iv)("border-radius:",n.E0[5],";;label:header;"),";;label:header;")}}},5527:(e,t,r)=>{"use strict";r.d(t,{Z:()=>g});var n=r(3871),o=r(935),i=r(7264),a=r(824),l=r(4185),c=r(917),u=r(1234),s=r(1921),d=r(7294),p=r(463),f=r(5944);function v(e){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},v(e)}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach((function(t){m(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function m(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==v(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==v(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===v(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const g=function(e){var t=e.onUpload,r=e.onDragLeave,a=e.multiple,l=void 0!==a&&a,c=e.isLoading,s=void 0!==c&&c,v=e.uploadButtonText,b=void 0===v?"COM_SPPAGEBUILDER_EDITOR_MEDIA_MANAGER_SIDEBAR_UPLOAD_FILES":v,m=e.uploadMessage,g=void 0===m?"COM_SPPAGEBUILDER_EDITOR_DRAG_AND_DROP_YOUR_FILES":m,O=e.disabled,E=void 0!==O&&O,x=(0,u.$)(),S=(0,d.useRef)(null),_=(0,p.uI)({onDrop:function(e){t(e)},multiple:l,disabled:E}),C=_.getRootProps,I=_.getInputProps;return s?(0,f.tZ)("div",{css:w.spinnerWrapper,children:(0,f.tZ)(o.ZP,{})}):(0,f.BX)("div",y(y({css:w.wrapper(E)},C({onClick:function(e){e.stopPropagation()},onDragLeave:function(e){e.stopPropagation(),r()}})),{},{children:[(0,f.tZ)("input",y({},I())),(0,f.BX)("div",{css:w.dropText(E),children:[(0,f.tZ)("input",{ref:S,type:"file",multiple:!0,"aria-hidden":"true",hidden:!0,onChange:function(e){var r;E||(e.target.files&&t(function(e){if(Array.isArray(e))return h(e)}(r=e.target.files)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e,t){if(e){if("string"==typeof e)return h(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(e,t):void 0}}(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),e.target.value="")}}),(0,f.tZ)("p",{children:x(E?"COM_SPPAGEBUILDER_EDITOR_DISABLED_DROPZONE":g)}),!E&&(0,f.tZ)(n.Z,{icon:(0,f.tZ)(i.Z,{name:"upload"}),onClick:function(){var e;return null===(e=S.current)||void 0===e?void 0:e.click()},disabled:E,children:x(b)})]})]}))};var w={wrapper:function(e){return(0,c.iv)("z-index:",a.W5.positive,";background:transparent;border-radius:",a.E0[10],";background-color:",a.qo.base.white,";border:1px dashed ",a.qo.stroke.hover,";z-index:",a.W5.positive,";height:100%;",e&&(0,c.iv)("border:1px dashed ",a.qo.stroke.error,";;label:wrapper;"),";;label:wrapper;")},dropText:function(e){return(0,c.iv)(l.c.heading6()," display:flex;flex-direction:column;justify-content:center;align-items:center;gap:",a.W0[24],";color:",a.qo.text.default,";width:100%;height:100%;svg{color:",a.qo.action.outline.disabled,";}",e&&(0,c.iv)("color:",a.qo.text.disabled,";;label:dropText;"),";;label:dropText;")},spinnerWrapper:(0,c.iv)(s.iZ.flexCenter(),";height:100%;width:100%;;label:spinnerWrapper;"),uploadButton:(0,c.iv)(s.iZ.resetButton,";svg{transition:color 0.3s ease;}:hover{svg{color:",a.qo.icon.hover,";}};label:uploadButton;")}},3425:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});var n=r(7264),o=r(824),i=r(4185),a=r(917),l=r(5944);const c=function(e){var t=e.emptyStateImage,r=e.imageAltText,o=e.title,i=e.content,a=e.action,c=e.errorMessage,u=e.orientation,s=void 0===u?"horizontal":u,p=e.removeBorderRadius,f=void 0!==p&&p,v=e.wrapperCss,h=e.customCss;return(0,l.BX)("div",{css:[d.bannerWrapper({orientation:s,removeBorderRadius:f}),v,";label:EmptyState;"],children:[!!t&&(0,l.tZ)("img",{src:t,alt:null!=r?r:"",draggable:!1}),!!c&&(0,l.BX)("div",{css:d.errorMessage,children:[(0,l.tZ)(n.Z,{name:"exclamationCircle",width:20,height:20}),(0,l.tZ)("span",{children:c})]}),(0,l.BX)("div",{css:d.messageWrapper({orientation:s}),children:[!!o&&(0,l.tZ)("h4",{css:d.title({orientation:s}),children:o}),!!i&&(0,l.tZ)("p",{css:[d.content,h,";label:EmptyState;"],dangerouslySetInnerHTML:{__html:i}}),!!a&&(0,l.tZ)("div",{css:d.buttonWrapper,children:a})]})]})};var u={name:"1dk76ft-messageWrapper",styles:"text-align:center;label:messageWrapper;"},s={name:"ce9pem-messageWrapper",styles:"max-width:364px;label:messageWrapper;"},d={errorMessage:(0,a.iv)("display:flex;width:100%;padding:",o.W0[32]," 0;background-color:",o.qo.background.error,";justify-content:center;align-items:center;gap:",o.W0[8],";color:",o.qo.base.error,";border-radius:",o.E0[6],";path{fill:",o.qo.icon.error,";};label:errorMessage;"),bannerWrapper:function(e){var t=e.orientation,r=e.removeBorderRadius;return(0,a.iv)("background-color:",o.qo.background.white,";box-shadow:",o.AF.card,";",!r&&(0,a.iv)("border-radius:",o.E0[8],";;label:bannerWrapper;")," padding:",o.W0[48]," 0 ",o.W0[64],";display:grid;place-items:center;justify-content:center;","horizontal"===t&&(0,a.iv)("grid-template-columns:278px auto;gap:",o.W0[56],";justify-content:start;;label:bannerWrapper;")," & img{max-width:272px;max-height:272px;width:100%;};label:bannerWrapper;")},messageWrapper:function(e){var t=e.orientation;return(0,a.iv)("display:flex;flex-direction:column;max-width:432px;gap:",o.W0[12],";","horizontal"===t&&s," ","vertical"===t&&u,";;label:messageWrapper;")},title:function(e){var t=e.orientation;return(0,a.iv)(i.c.heading4("medium"),";","vertical"===t&&(0,a.iv)("margin-top:",o.W0[24],";;label:title;"),";;label:title;")},content:(0,a.iv)(i.c.caption(),";color:",o.qo.text.hints,";;label:content;"),buttonWrapper:(0,a.iv)("margin-top:",o.W0[12],";;label:buttonWrapper;")}},6511:(e,t,r)=>{"use strict";r.d(t,{Z:()=>h});var n=r(3871),o=r(935),i=r(8138),a=r(824),l=r(4185),c=r(917),u=r(1234),s=r(2137),d=r(230),p=r(9250),f=r(3425),v=r(5944);const h=function(e){var t=e.query,r=e.children,a=e.disableLoader,l=void 0!==a&&a,c=(0,u.$)(),h=(0,p.s0)();return!l&&t.isLoading?(0,v.tZ)(o.g4,{}):!(0,d.$K)(t.data)&&(0,d.$K)(t.error)?(0,v.tZ)("div",{css:b.wrapper,children:(0,v.tZ)(f.Z,{orientation:"vertical",emptyStateImage:s,imageAltText:c("COM_SPPAGEBUILDER_EDITOR_FONT_EMPTY_STATE_IMAGE_ALT"),content:t.error.message,customCss:b.emptyStateCustom,wrapperCss:b.emptyStateWrapper,action:(0,v.tZ)(n.Z,{onClick:function(){return h(i.F.Home.buildLink())},children:"Go Back"})})}):(0,v.tZ)(v.HY,{children:r})};var b={wrapper:(0,c.iv)("height:100vh;display:flex;flex-direction:column;justify-content:center;background-color:",a.qo.base.white,";;label:wrapper;"),emptyStateCustom:(0,c.iv)(l.c.body(),";margin-top:",a.W0[32],";text-align:left;ol{list-style-type:decimal;text-align:left;list-style-position:inside;margin-bottom:",a.W0[16],";}span{font-weight:",a.Ue.bold,";}a{color:",a.qo.text.primary,";text-decoration:underline;}p{margin-bottom:",a.W0[16],";};label:emptyStateCustom;"),emptyStateWrapper:{name:"nx8chx-emptyStateWrapper",styles:"box-shadow:none;label:emptyStateWrapper;"}}},3581:(e,t,r)=>{"use strict";r.d(t,{Z:()=>p});var n=r(3871),o=r(9371),i=r(7264),a=r(824),l=r(4185),c=r(917),u=r(7273),s=r(230),d=r(5944);const p=function(e){var t=e.value,r=e.onChange,a=e.min,l=e.max,c=e.step,p=e.label,f=e.isInlineLabel,v=void 0!==f&&f,h=e.disabled,y=void 0!==h&&h,m=e.inputContent,g=e.onToggle,w=(0,s.x0)();return(0,d.BX)("div",{css:b.wrapper({isInlineLabel:!!p&&v}),children:[!!p&&(0,d.tZ)("label",{htmlFor:w,css:b.label({disabled:y,isInlineLabel:!!p&&v}),children:p}),(0,d.BX)("div",{css:b.rangeInputWrapper,children:[(0,d.tZ)(o.Z,{value:(0,u.He)(t),onChange:function(e){r(e.toString())},min:a,max:l,disabled:y,rangeStyle:b.range({isInlineLabel:v}),step:c}),(0,d.BX)("div",{css:b.inputWrapper({isAdvancedField:!!g||!!m}),children:[(0,d.tZ)("input",{id:w,type:"text",value:null!=t?t:"",onChange:function(e){var t=e.target.value.replace(/[^0-9.]/g,"").replace(/(\..*)\./g,"$1");r(t)},onBlur:function(e){var t=e.target.value.replace(/[^0-9.]/g,"").replace(/(\..*)\./g,"$1");if(a||l){var n=(0,u.ll)(t,a,l);r(String(null!=n?n:""))}},disabled:y,css:b.input({isInlineLabel:!!p&&v,isAdvancedField:!!g||!!m}),autoComplete:"off"}),!!g&&(0,d.tZ)(n.Z,{variant:"text",buttonCss:b.advancedFieldIconButton,onClick:g,children:(0,d.tZ)(i.Z,{name:"roundedCorner",width:16,height:16})}),!!m&&(0,d.tZ)("div",{css:b.inputContent,children:m})]})]})]})};var f={name:"1lxcpsm-input",styles:"width:48px;label:input;"},v={name:"1nfiya7-range",styles:"margin-left:auto;label:range;"},h={name:"owj46j-label",styles:"width:100%;label:label;"},b={wrapper:function(e){var t=e.isInlineLabel,r=void 0!==t&&t;return(0,c.iv)("display:flex;flex-direction:column;",r&&(0,c.iv)("flex-direction:row;align-items:center;gap:",a.W0[8],";;label:wrapper;"),";;label:wrapper;")},label:function(e){var t=e.disabled,r=void 0!==t&&t,n=e.isInlineLabel,o=void 0!==n&&n;return(0,c.iv)(l.c.caption(),";",!o&&h," ",r&&(0,c.iv)("color:",a.qo.text.disabled,";;label:label;"),";;label:label;")},rangeInputWrapper:(0,c.iv)("width:100%;flex:1;display:flex;align-items:center;gap:",a.W0[32],";;label:rangeInputWrapper;"),range:function(e){var t=e.isInlineLabel,r=void 0!==t&&t;return(0,c.iv)("max-width:168px;",r&&v,";;label:range;")},inputWrapper:function(e){var t=e.isAdvancedField,r=void 0!==t&&t;return(0,c.iv)("display:flex;justify-content:space-between;&:focus-within{box-shadow:",a.AF.outline,";border-radius:",a.E0[6],";}",r&&(0,c.iv)("height:32px;border-radius:",a.E0[6],";border:1px solid ",a.qo.stroke.neutral,";;label:inputWrapper;"),";;label:inputWrapper;")},input:function(e){var t=e.isInlineLabel,r=void 0!==t&&t,n=e.isAdvancedField,o=void 0!==n&&n;return(0,c.iv)(l.c.body(),";max-width:80px;height:32px;padding:",a.W0[6]," ",a.W0[10],";appearance:textfield;border-radius:",a.E0[6],";border:1px solid ",a.qo.stroke.neutral,";",o&&(0,c.iv)("width:56px;height:auto;border:none;border-radius:",a.E0[6]," 0 0 ",a.E0[6],";border-right:1px solid ",a.qo.stroke.neutral,";;label:input;")," ",r&&f," :focus{outline:none;box-shadow:none;}:disabled{color:",a.qo.text.disabled,";}::-webkit-outer-spin-button,::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}::placeholder{color:",a.qo.text.disabled,";};label:input;")},advancedFieldIconButton:(0,c.iv)("background-color:",a.qo.action.secondary.default,";padding:",a.W0[6]," ",a.W0[8],";border-radius:0 ",a.E0[5]," ",a.E0[5]," 0;svg{color:",a.qo.icon.default,";}:hover{background-color:",a.qo.action.secondary.hover,";svg{color:",a.qo.icon.primary,";}};label:advancedFieldIconButton;"),inputContent:(0,c.iv)(l.c.caption(),";padding:",a.W0[8]," ",a.W0[6],";;label:inputContent;")}},8710:(e,t,r)=>{"use strict";r.d(t,{Z:()=>v});var n=r(7870),o=r(7025),i=r(824),a=r(4185),l=r(917),c=r(5944);function u(e){return u="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},u(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){p(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function p(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==u(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===u(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var f=[{label:"px",value:"px"},{label:"rem",value:"rem"},{label:"em",value:"em"},{label:"%",value:"%"}];const v=function(e){var t=e.label,r=void 0===t?"":t,i=e.fieldValue,a=e.onChange,l=e.staticUnit,u=i.value,s=i.unit;return(0,c.BX)("div",{css:h.container({hasLabel:!!r}),children:[!!r&&(0,c.tZ)("div",{children:r}),(0,c.BX)("div",{css:h.inputWrapper,children:[(0,c.tZ)(o.Z,{value:u,onChange:function(e){a(d(d({},i),{},{value:e}))},inputCss:h.textInputCss}),l?(0,c.tZ)("span",{css:h.staticUnit,children:l}):(0,c.tZ)(n.Z,{options:f,value:f.find((function(e){return e.value===s})),onChange:function(e){a(d(d({},i),{},{unit:e.value}))},isClearable:!1,caretSize:12,inputCss:h.selectInputCss})]})]})};var h={container:function(e){var t=e.hasLabel,r=void 0!==t&&t;return(0,l.iv)(r&&(0,l.iv)("display:flex;flex-direction:column;gap:",i.W0[4],";>p{",a.c.caption(),";};label:container;"),";;label:container;")},staticUnit:(0,l.iv)("padding:",i.W0[8],";width:36px;margin-left:-",i.W0[4],";;label:staticUnit;"),inputWrapper:(0,l.iv)("display:flex;justify-content:center;border-radius:",i.E0[5],";border:1px solid ",i.qo.stroke.neutral,";box-shadow:",i.AF.input,";overflow:hidden;&:focus-within{box-shadow:",i.AF.outline,";};label:inputWrapper;"),textInputCss:(0,l.iv)(a.c.caption(),";border:none;border-radius:0;box-shadow:none;border-right:1px solid ",i.qo.stroke.neutral,";padding:",i.W0[6]," ",i.W0[4]," ",i.W0[6]," ",i.W0[6],";width:40px;;label:textInputCss;"),selectInputCss:(0,l.iv)("&>input{",a.c.caption(),";border:none;border-radius:0;box-shadow:none;padding:",i.W0[8]," ",i.W0[20]," ",i.W0[8]," ",i.W0[8],";width:48px;&:focus{box-shadow:none;}}&>button{right:",i.W0[6],";};label:selectInputCss;")}},1073:(e,t,r)=>{"use strict";r.d(t,{j:()=>i});var n=r(270),o=r(782),i=(0,n.Ue)()((0,o.mW)((function(e){return{actions:[{key:"add-elements",title:"COM_SPPAGEBUILDER_EDITOR_ACTION_PANEL_ITEM_ADD_ELEMENTS",icon:"plusCircleDuo"},{key:"layouts",title:"COM_SPPAGEBUILDER_EDITOR_ACTION_PANEL_ITEM_PAGE_LAYOUTS",icon:"layoutsDuo"},{key:"saved-items",title:"COM_SPPAGEBUILDER_EDITOR_ACTION_PANEL_ITEM_SAVED_ITEMS",icon:"cubeDuo"},{key:"media",title:"COM_SPPAGEBUILDER_EDITOR_ACTION_PANEL_MEDIA_MANAGER_SETTINGS",icon:"mediaDuo"},{key:"settings",title:"COM_SPPAGEBUILDER_EDITOR_ACTION_PANEL_ITEM_PAGE_SETTINGS",icon:"toolsDuo"},{key:"documentation",title:"COM_SPPAGEBUILDER_EDITOR_ACTION_PANEL_ITEM_LEARNING",icon:"openBook"}],activeAction:void 0,setActiveAction:function(t){return e((function(){return{activeAction:t}}))}}})))},6651:(e,t,r)=>{"use strict";r.d(t,{y:()=>i});var n=r(270),o=r(782),i=(0,n.Ue)()((0,o.mW)((function(e){return{activeColumn:null,setActiveColumn:function(t){return e((function(){return{activeColumn:t}}))}}})))},7230:(e,t,r)=>{"use strict";r.d(t,{x:()=>a});var n=r(2902),o=r(270),i=r(782),a=(0,o.Ue)()((0,i.mW)((function(e){return{addonGroups:{General:[],Content:[],Media:[],Structure:[],Slider:[],Favourite:[]},addonStructure:{},globalSettings:{style:{},advanced:{},interaction:{}},loadGlobalSettings:function(t){return e((function(){return{globalSettings:t}}))},loadAddonGroups:function(t){return e((function(){return{addonGroups:t}}))},loadAddonStructure:function(t){return e((function(){return{addonStructure:t}}))},changeAddonStatus:function(t){return e((function(e){var r=e.addonGroups[t.groupName].findIndex((function(e){return e.name===t.addonName}));return(0,n.ZP)(e,(function(e){e.addonGroups[t.groupName][r].status=!e.addonGroups[t.groupName][r].status}))}))}}}),{name:"Addon Store"}))},6914:(e,t,r)=>{"use strict";r.d(t,{$x:()=>d,Kr:()=>h,LX:()=>f});var n=r(1731),o=r(1234),i=r(6492),a=r(5945),l=r(4469),c=r(5501),u=r(6537),s=r(7230),d=function(){var e=(0,n.p)().showToast,t=(0,s.x)((function(e){return e.loadAddonGroups})),r=(0,s.x)((function(e){return e.loadAddonStructure})),o=(0,s.x)((function(e){return e.loadGlobalSettings}));return(0,i.a)({queryKey:["AddonList"],queryFn:function(){return c.u.get(u.H.ADDONS).then((function(e){return e.data}))},onSuccess:function(e){t(e.groups),r(e.addons),o(e.globals)},onError:function(t){e({type:"danger",message:t.message})}})},p=function(e){var t=e.addonName;return c.u.patch(u.H.ADDONS,{addon_name:t})},f=function(){var e=(0,n.p)().showToast,t=(0,o.$)(),r=(0,s.x)((function(e){return e.addonStructure})),i=(0,a.NL)();return(0,l.D)({mutationFn:p,onSuccess:function(n){var o=n.data,a=o.addon_name,l=o.status;i.invalidateQueries(["AddonList"]),e({type:"success",message:t(l?"COM_SPPAGEBUILDER_EDITOR_MODULE_STATUS_TOGGLING_ENABLED":"COM_SPPAGEBUILDER_EDITOR_MODULE_STATUS_TOGGLING_DISABLED",{addonName:r[a].title})})},onError:function(t){e({type:"danger",message:t.message})}})},v=function(e){return c.u.put(u.H.ADDONS,e).then((function(e){return e.data}))},h=function(){var e=(0,n.p)().showToast,t=(0,o.$)(),r=(0,s.x)((function(e){return e.addonStructure})),i=(0,a.NL)();return(0,l.D)({mutationFn:v,onSuccess:function(n){i.invalidateQueries(["AddonList"]);var o=n.state?"COM_SPPAGEBUILDER_EDITOR_ADD_TO_FAVORITE":"COM_SPPAGEBUILDER_EDITOR_REMOVE_FROM_FAVORITE";e({type:"success",message:t(o,{addon_name:r[n.addon_name].title})})},onError:function(t){e({type:"danger",message:t.message})}})}},2328:(e,t,r)=>{"use strict";r.d(t,{v:()=>i});var n=r(270),o=r(782),i=(0,n.Ue)()((0,o.mW)((function(e){return{appConfig:{pages:[],menus:[],categories:[],modules:[],access_levels:[],article_categories:[],languages:[],module_positions:[],font_awesome_icons:[],version:"",editor:{theme:"silver"},media_path:"/images",media_upload_max_size:0,is_pre_release:!1,google_font_categories:[],has_google_font_api_key:!1,is_google_fonts_disabled:!1,enable_frontend_editing:!0,permissions:{create:!1,edit:!1,edit_state:!1,edit_own:!1,delete:!1},user_id:null},loadAppConfig:function(t){return e((function(){return{appConfig:t}}))}}}),{name:"App Config"}))},8008:(e,t,r)=>{"use strict";r.d(t,{Ap:()=>f,eP:()=>h,hC:()=>y,uw:()=>d});var n=r(1731),o=r(6537),i=r(1234),a=r(6492),l=r(5945),c=r(4469),u=r(5501),s=r(230),d=function(){var e=(0,n.p)().showToast;return(0,a.a)({queryKey:["CustomIcons"],queryFn:function(){return u.u.get(o.H.GET_ALL_ICONS).then((function(e){return e.data}))},onError:function(t){e({type:"danger",message:t.message})}})},p=function(e){return u.u.post(o.H.GET_ALL_ICONS,{custom_icon:e})},f=function(){var e=(0,l.NL)(),t=(0,n.p)().showToast,r=(0,i.$)();return(0,c.D)({mutationFn:p,onSuccess:function(n){var o;n.data.status?(null!==(o=n.data.data)&&void 0!==o&&o.css_path&&(0,s.z3)(n.data.data.css_path),t({type:"success",message:r("COM_SPPAGEBUILDER_EDITOR_FILE_UPLOAD_SUCCESS_MESSAGE")}),e.invalidateQueries(["CustomIcons"]),e.invalidateQueries(["IconList"])):t({type:"danger",message:n.data.output})},onError:function(e){t({type:"danger",message:e.message})}})},v=function(e){return u.u.delete(o.H.GET_ALL_ICONS,{params:{id:e}})},h=function(){var e=(0,l.NL)(),t=(0,n.p)().showToast,r=(0,i.$)();return(0,c.D)({mutationFn:v,onSuccess:function(){t({type:"success",message:r("COM_SPPAGEBUILDER_EDITOR_FILE_DELETE_SUCCESS_MESSAGE")}),e.invalidateQueries(["CustomIcons"])},onError:function(e){t({type:"danger",message:e.message})}})},b=function(e){return u.u.patch(o.H.GET_ALL_ICONS,{status:e.status},{params:{id:e.id}})},y=function(){var e=(0,l.NL)(),t=(0,n.p)().showToast,r=(0,i.$)();return(0,c.D)({mutationFn:b,onSuccess:function(){t({type:"success",message:r("COM_SPPAGEBUILDER_EDITOR_CUSTOM_ICON_STATUS_CHANGE_MESSAGE")}),e.invalidateQueries(["CustomIcons"])},onError:function(e){t({type:"danger",message:e.message})}})}},7184:(e,t,r)=>{"use strict";r.d(t,{X:()=>s});var n=r(1731),o=r(6537),i=r(1234),a=r(4469),l=r(5501),c=r(230),u=function(e){return l.u.post(o.H.EXPORT,e)},s=function(){var e=(0,n.p)().showToast,t=(0,i.$)();return(0,a.D)({mutationKey:["ExportPageContent"],mutationFn:u,onSuccess:function(r){(0,c.OV)(JSON.stringify(r.data)),e({type:"success",message:t("COM_SPPAGEBUILDER_EDITOR_PAGE_EXPORT_MESSAGE")})},onError:function(t){e({type:"danger",message:t.message})}})}},7839:(e,t,r)=>{"use strict";r.d(t,{A6:()=>m,M9:()=>x,Sh:()=>g,Sq:()=>O,a4:()=>I,nZ:()=>_});var n=r(1731),o=r(6537),i=r(1234),a=r(8596),l=r(6492),c=r(5945),u=r(4469),s=r(5501),d=r(2328);function p(e){return p="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},p(e)}function f(){f=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,o){var i=t&&t.prototype instanceof v?t:v,a=Object.create(i.prototype),l=new I(o||[]);return n(a,"_invoke",{value:x(e,r,l)}),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var d={};function v(){}function h(){}function b(){}var y={};c(y,i,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(A([])));g&&g!==t&&r.call(g,i)&&(y=g);var w=b.prototype=v.prototype=Object.create(y);function O(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function o(n,i,a,l){var c=s(e[n],e,i);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==p(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){o("next",e,a,l)}),(function(e){o("throw",e,a,l)})):t.resolve(d).then((function(e){u.value=e,a(u)}),(function(e){return o("throw",e,a,l)}))}l(c.arg)}var i;n(this,"_invoke",{value:function(e,r){function n(){return new t((function(t,n){o(e,r,t,n)}))}return i=i?i.then(n,n):n()}})}function x(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var l=S(a,r);if(l){if(l===d)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=s(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===d)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function S(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),d;var o=s(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,d;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function A(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:P}}function P(){return{value:void 0,done:!0}}return h.prototype=b,n(w,"constructor",{value:b,configurable:!0}),n(b,"constructor",{value:h,configurable:!0}),h.displayName=c(b,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,l,"GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},O(E.prototype),c(E.prototype,a,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new E(u(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},O(w),c(w,l,"Generator"),c(w,i,(function(){return this})),c(w,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=A,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(C),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(l&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),C(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;C(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:A(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},e}function v(e,t,r,n,o,i,a){try{var l=e[i](a),c=l.value}catch(e){return void r(e)}l.done?t(c):Promise.resolve(c).then(n,o)}function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach((function(t){y(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function y(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==p(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==p(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===p(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var m=function(e){return(0,a.N)({queryKey:["InstalledFonts",e],queryFn:function(t){var r=t.pageParam,n=void 0===r?1:r,i=e.limit||10,a=(n-1)*i;return function(e){return s.u.get(o.H.FONTS,{params:b(b({},e),{},{installed:!0})}).then((function(e){return e.data}))}(b(b({},e),{},{offset:a,limit:i}))},getNextPageParam:function(e,t){return e.totalPages>t.length?t.length+1:void 0}})},g=function(){var e=(0,n.p)().showToast;return(0,l.a)({queryKey:["AllInstalledFonts"],queryFn:function(){return s.u.get(o.H.ALL_FONTS).then((function(e){return e.data}))},onError:function(t){e({type:"danger",message:t.message})}})},w=function(){var e,t=(e=f().mark((function e(t){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s.u.get(o.H.FONTS,{params:t}).then((function(e){return e.data})));case 1:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){v(i,n,o,a,l,"next",e)}function l(e){v(i,n,o,a,l,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}(),O=function(e){var t=(0,n.p)().showToast,r=(0,d.v)((function(e){return e.appConfig}));return(0,a.N)({queryKey:["GoogleFonts",e,r.has_google_font_api_key],queryFn:function(t){var r=t.pageParam,n=void 0===r?1:r,o=e.limit||20,i=(n-1)*o;return w(b(b({},e),{},{offset:i,limit:o}))},getNextPageParam:function(e,t){return e.totalPages>t.length?t.length+1:void 0},onError:function(e){t({type:"danger",message:e.message})},enabled:r.has_google_font_api_key})},E=function(e){var t=e.font;return s.u.post(o.H.UPLOAD_FONT,{font:t})},x=function(){var e=(0,c.NL)(),t=(0,n.p)().showToast,r=(0,i.$)();return(0,u.D)({mutationFn:E,onSuccess:function(n){n.data.id?(t({type:"success",message:r("COM_SPPAGEBUILDER_EDITOR_FILE_UPLOAD_SUCCESS_MESSAGE")}),e.invalidateQueries(["InstalledFonts"]),e.invalidateQueries(["AllInstalledFonts"])):t({type:"danger",message:n.data.message})},onError:function(e){t({type:"danger",message:e.message})}})},S=function(e){return s.u.post(o.H.FONTS,e).then((function(e){return e.data}))},_=function(){var e=(0,c.NL)(),t=(0,n.p)().showToast,r=(0,i.$)();return(0,u.D)({mutationFn:S,onSuccess:function(n){n.id>0&&(t({type:"success",message:r("COM_SPPAGEBUILDER_EDITOR_FONT_INSTALL_MESSAGE")}),e.invalidateQueries(["GoogleFonts"]),e.invalidateQueries(["InstalledFonts"]),e.invalidateQueries(["AllInstalledFonts"]))},onError:function(e){t({type:"danger",message:e.message})}})},C=function(e){return s.u.delete(o.H.FONTS,{params:e})},I=function(){var e=(0,i.$)(),t=(0,c.NL)(),r=(0,n.p)().showToast;return(0,u.D)({mutationFn:C,onSuccess:function(){r({type:"success",message:e("COM_SPPAGEBUILDER_EDITOR_SAVED_SECTION_DELETE_SUCCESS")}),t.invalidateQueries(["GoogleFonts"]),t.invalidateQueries(["InstalledFonts"]),t.invalidateQueries(["AllInstalledFonts"])},onError:function(e){r({type:"danger",message:e.message})}})}},9194:(e,t,r)=>{"use strict";r.d(t,{HX:()=>h,i8:()=>f,nx:()=>d});var n=r(1731),o=r(6537),i=r(1234),a=r(6492),l=r(4469),c=r(5501),u=r(230),s=r(3772),d=function(){var e=(0,n.p)().showToast;return(0,a.a)({queryKey:["LayoutList"],queryFn:function(){return c.u.get(o.H.PAGE_TEMPLATE_LIST).then((function(e){return e.data}))},keepPreviousData:!0,onError:function(t){e({type:"danger",message:t.message})}})},p=function(e){return c.u.get(o.H.LAYOUT_IMPORT,{params:{id:e}})},f=function(){var e=(0,n.p)().showToast;return(0,l.D)({mutationFn:p,onError:function(t){e({type:"danger",message:t.message})}})},v=function(e){return c.u.post(o.H.IMPORT_LAYOUT_FILE,{page:e})},h=function(){var e=(0,i.$)(),t=(0,n.p)().showToast,r=(0,s.o)((function(e){return e.setPageContent}));return(0,l.D)({mutationFn:v,onSuccess:function(n){var o=(0,u.Rx)(n.data.template);(0,u.$K)(o)?(r(o),t({type:"success",message:e("COM_SPPAGEBUILDER_EDITOR_LAYOUT_FILE_IMPORTED_SUCCESSFULLY")})):t({type:"danger",message:e("COM_SPPAGEBUILDER_EDITOR_GLOBAL_SOMETHING_WENT_WRONG")})},onError:function(){t({type:"danger",message:e("COM_SPPAGEBUILDER_EDITOR_GLOBAL_SOMETHING_WENT_WRONG")})}})}},7679:(e,t,r)=>{"use strict";r.d(t,{R4:()=>_,es:()=>D,hh:()=>S,lN:()=>x,mp:()=>P,r7:()=>I,u6:()=>w,z1:()=>O});var n=r(1731),o=r(1234),i=r(6492),a=r(5945),l=r(4469),c=r(5501),u=r(230),s=r(6537),d=r(3772),p=r(2423);function f(e){return f="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},f(e)}var v=["text","attribs","og_image"],h=["id"];function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach((function(t){m(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function m(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==f(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==f(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===f(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var w=function(e){var t=(0,n.p)().showToast;return(0,i.a)({queryKey:["PageList",e],queryFn:function(){return function(e){return c.u.get(s.H.PAGES,{params:(0,u.fF)(e)})}(e).then((function(e){return e.data}))},onError:function(e){t({type:"danger",message:e.message})}})},O=function(e){var t=(0,d.o)((function(e){return e.setPageContent})),r=(0,n.p)().showToast;return(0,i.a)({enabled:!!e,queryKey:["PageContent",e],queryFn:function(){return(0,u.cW)(e,"Missing page ID"),function(e){return c.u.get(s.H.PAGE_CONTENT_BY_ID,{params:{id:e}})}(e).then((function(e){return e.data}))},onSuccess:function(e){t(e.text)},onError:function(e){r({type:"danger",message:e.message})}})},E=function(e){var t,r,n,o,i,a,l=e.id,d=g(e,h);return c.u.put(s.H.PAGES,(r=(t=d).text,n=t.attribs,o=t.og_image,i=g(t,v),a=y(y(y({},{meta_description:"",meta_keywords:"",robots:"",seo_spacer:""}),n),{},{robots:(0,u.$K)(n.robots)&&"global"===n.robots?"":n.robots}),y(y({},i),{},{text:JSON.stringify(r),attribs:JSON.stringify(a),og_image:o.src&&JSON.stringify(o)})),{params:{id:l}})},x=function(){var e=(0,n.p)().showToast,t=(0,o.$)(),r=(0,p.s)((function(e){return e.setShowWarningAtReload})),i=(0,a.NL)();return(0,l.D)({mutationFn:E,onSuccess:function(){e({type:"success",message:t("COM_SPPAGEBUILDER_EDITOR_PAGE_SAVED_SUCCESSFULLY")}),r(!1),i.invalidateQueries(["PageList"])},onError:function(t){e({type:"danger",message:t.message})}})},S=function(e){return c.u.patch(s.H.PAGES,e)},_=function(){var e=(0,n.p)().showToast,t=(0,a.NL)(),r=(0,o.$)();return(0,l.D)({mutationFn:S,onSuccess:function(){e({type:"success",message:r("COM_SPPAGEBUILDER_EDITOR_BULK_ACTION_PERFORMED_SUCCESSFULLY")}),t.invalidateQueries(["PageList"])},onError:function(t){e({type:"danger",message:t.message})}})},C=function(e){var t=e.ids,r=e.orders;return c.u.patch(s.H.PAGE_ORDERING,{ids:t.join(","),orders:r.join(",")})},I=function(){var e=(0,a.NL)(),t=(0,n.p)().showToast;return(0,l.D)({mutationFn:C,onSuccess:function(){e.invalidateQueries(["PageList"])},onError:function(e){t({type:"danger",message:e.message})}})},A=function(e){var t=e.title;return c.u.post(s.H.PAGES,{title:t}).then((function(e){return e.data}))},P=function(){var e=(0,n.p)().showToast,t=(0,o.$)();return(0,l.D)({mutationFn:A,onSuccess:function(){e({type:"success",message:t("COM_SPPAGEBUILDER_EDITOR_NEW_PAGE_CREATED_MESSAGE")})},onError:function(t){e({type:"danger",message:t.message})}})},L=function(e){return c.u.get(s.H.DUPLICATE_PAGE,{params:{id:e.id}}).then((function(e){return e.data}))},D=function(e){var t=(0,n.p)().showToast,r=(0,o.$)(),i=(0,a.NL)();return(0,l.D)({mutationFn:L,onSuccess:function(){i.invalidateQueries(["PageList"]),null!=e&&e.hideSuccessMessage||t({type:"success",message:r("COM_SPPAGEBUILDER_EDITOR_PAGE_DUPLICATED_SUCCESSFULLY")})},onError:function(e){t({type:"danger",message:e.message})}})}},1518:(e,t,r)=>{"use strict";r.d(t,{$F:()=>p,E4:()=>w,Gj:()=>S,_s:()=>h,fp:()=>d,hX:()=>y,iG:()=>f,rM:()=>E,uC:()=>C,x:()=>m});var n=r(1731),o=r(6537),i=r(1234),a=r(6492),l=r(5945),c=r(4469),u=r(5501),s=r(230),d=function(e){return(0,s.Kn)(e)&&"title"in e&&"section"in e},p=function(e){return(0,s.Kn)(e)&&"title"in e&&"code"in e},f=function(){var e=(0,n.p)().showToast;return(0,a.a)({queryKey:["getSavedAddons"],queryFn:function(){return u.u.get(o.H.SAVED_ADDONS).then((function(e){return e.data}))},onError:function(t){e({type:"danger",message:t.message})}})},v=function(e){var t=e.title,r=e.code;return u.u.post(o.H.SAVED_ADDONS,{title:t,code:r}).then((function(e){return e.data}))},h=function(){var e=(0,l.NL)(),t=(0,n.p)().showToast,r=(0,i.$)();return(0,c.D)({mutationFn:v,onSuccess:function(){e.invalidateQueries(["getSavedAddons"]),t({type:"success",message:r("COM_SPPAGEBUILDER_EDITOR_ADDON_SAVE_MESSAGE")})},onError:function(e){t({type:"danger",message:e.message})}})},b=function(e){return u.u.delete(o.H.SAVED_ADDONS,{params:{id:e}})},y=function(){var e=(0,l.NL)(),t=(0,n.p)().showToast,r=(0,i.$)();return(0,c.D)({mutationFn:b,onSuccess:function(){e.invalidateQueries(["getSavedAddons"]),t({type:"success",message:r("COM_SPPAGEBUILDER_EDITOR_SAVED_ADDON_DELETE_SUCCESS")})},onError:function(e){t({type:"danger",message:e.message})}})},m=function(){var e=(0,n.p)().showToast;return(0,a.a)({queryKey:["getSavedSections"],queryFn:function(){return u.u.get(o.H.SAVED_SECTIONS).then((function(e){return e.data}))},onError:function(t){e({type:"danger",message:t.message})}})},g=function(e){var t=e.title,r=e.section;return u.u.post(o.H.SAVED_SECTIONS,{title:t,section:r}).then((function(e){return e.data}))},w=function(){var e=(0,l.NL)(),t=(0,n.p)().showToast,r=(0,i.$)();return(0,c.D)({mutationFn:g,onSuccess:function(){e.invalidateQueries(["getSavedSections"]),t({type:"success",message:r("COM_SPPAGEBUILDER_EDITOR_SECTION_SAVE_MESSAGE")})},onError:function(e){t({type:"danger",message:e.message})}})},O=function(e){return u.u.delete(o.H.SAVED_SECTIONS,{params:{id:e}})},E=function(){var e=(0,l.NL)(),t=(0,n.p)().showToast,r=(0,i.$)();return(0,c.D)({mutationFn:O,onSuccess:function(){e.invalidateQueries(["getSavedSections"]),t({type:"success",message:r("COM_SPPAGEBUILDER_EDITOR_SAVED_SECTION_DELETE_SUCCESS")})},onError:function(e){t({type:"danger",message:e.message})}})},x=function(e){var t=e.ids,r=e.orders;return u.u.patch(o.H.SAVED_SECTIONS_ORDERING,{ids:t.join(","),orders:r.join(",")})},S=function(){var e=(0,l.NL)(),t=(0,n.p)().showToast;return(0,c.D)({mutationFn:x,onSuccess:function(){e.invalidateQueries(["getSavedSections"])},onError:function(e){t({type:"danger",message:e.message})}})},_=function(e){var t=e.ids,r=e.orders;return u.u.patch(o.H.SAVED_ADDONS_ORDERING,{ids:t.join(","),orders:r.join(",")})},C=function(){var e=(0,l.NL)(),t=(0,n.p)().showToast;return(0,c.D)({mutationFn:_,onSuccess:function(){e.invalidateQueries(["getSavedAddons"])},onError:function(e){t({type:"danger",message:e.message})}})}},8331:(e,t,r)=>{"use strict";r.d(t,{B:()=>i});var n=r(270),o=r(782),i=(0,n.Ue)()((0,o.mW)((function(e){return{config:{section:{style:{},title:{},responsive:{},animation:{}},column:{style:{},responsive:{},animation:{}},sectionDefaults:{},columnDefaults:{}},loadConfig:function(t){return e((function(){return{config:t}}))}}}),{name:"Section Column Settings Store"}))},2967:(e,t,r)=>{"use strict";r.d(t,{L:()=>c,t:()=>u});var n=r(1731),o=r(6492),i=r(5501),a=r(230),l=r(6537),c=function(e){return(0,a.Kn)(e)&&"json"in e&&"thumb"in e},u=function(){var e=(0,n.p)().showToast;return(0,o.a)({queryKey:["SectionLibrary"],queryFn:function(){return i.u.get(l.H.SECTION_LIBRARY).then((function(e){return e.data}))},onError:function(t){e({type:"danger",message:t.message})}})}},2445:(e,t,r)=>{"use strict";r.d(t,{F:()=>a});var n=r(270),o=r(782),i=r(8753),a=(0,n.Ue)()((0,i.n)((0,o.mW)((function(e){return{type:null,payload:{sectionIndex:null,columnIndex:null,addonIndex:null},setSettings:function(t,r){e((function(e){e.payload=r,e.type=t}))}}}),{name:"Settings Store"})))},8225:(e,t,r)=>{"use strict";r.d(t,{U1:()=>y,V2:()=>x,es:()=>O,f2:()=>g,nq:()=>b});var n=r(1731),o=r(6537),i=r(1234),a=r(8331),l=r(6492),c=r(5945),u=r(4469),s=r(5501);function d(e){return d="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},d(e)}var p=["ig_token","colors"];function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){h(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function h(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==d(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==d(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===d(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var b=function(){var e=(0,a.B)((function(e){return e.loadConfig})),t=(0,n.p)().showToast;return(0,l.a)({queryKey:["SectionAndColumnSettings"],queryFn:function(){return s.u.get(o.H.SETTINGS).then((function(e){return e.data}))},onSuccess:function(t){e(t)},onError:function(e){t({type:"danger",message:e.message})}})},y=function(){var e=(0,n.p)().showToast;return(0,l.a)({queryKey:["ApplicationSettings"],queryFn:function(){return s.u.get(o.H.APPLICATION_SETTINGS).then((function(e){return e.data}))},onError:function(t){e({type:"danger",message:t.message})}})},m=function(e){var t=e.ig_token,r=e.colors,n=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,p);return s.u.put(o.H.APPLICATION_SETTINGS,v(v({},n),{},{ig_token:JSON.stringify(t),colors:JSON.stringify(r)}))},g=function(){var e=(0,n.p)().showToast,t=(0,c.NL)();return(0,u.D)({mutationFn:m,onSuccess:function(){e({type:"success",message:"Settings saved successfully!"}),t.invalidateQueries(["ApplicationSettings"]),t.invalidateQueries(["AppConfig"])},onError:function(t){e({type:"danger",message:t.message})}})},w=function(){return s.u.get(o.H.PURGE_CSS)},O=function(){var e=(0,n.p)().showToast,t=(0,i.$)();return(0,u.D)({mutationFn:w,onSuccess:function(){e({type:"success",message:t("COM_SPPAGEBUILDER_EDITOR_CSS_PURGED_SUCCESSFULLY")})},onError:function(t){e({type:"danger",message:t.message})}})},E=function(e){return s.u.post(o.H.SAVE_IG_TOKEN,{ig_token:e.ig_token})},x=function(){var e=(0,n.p)().showToast;return(0,u.D)({mutationFn:E,onError:function(t){e({type:"danger",message:t.message})}})}},3772:(e,t,r)=>{"use strict";r.d(t,{o:()=>Ne});var n=r(2902),o=r(270),i=r(782),a=r(8753),l=r(3106),c=r(2423),u=r(2238),s=r(6216),d=r(230),p=r(1245),f=r.n(p);function v(e){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},v(e)}function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach((function(t){y(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function y(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==v(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==v(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===v(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m(e){return function(e){if(Array.isArray(e))return O(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||w(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||w(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(e,t){if(e){if("string"==typeof e)return O(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?O(e,t):void 0}}function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var E=function(e){return function(t){var r=t.sectionIndex,n=t.columnIndex,o=t.addonIndex,i=t.childIndex;return e((function(e){var t,a=e.page[r],l=a.columns[n],s=l.addons,p=(0,u.DV)({sections:e.page,rowId:a.id,columnId:l.id,addonList:s,addon:s[o]});if(!(0,d.$K)(p))return e;var f=g(p.addons,1)[0];if((0,d.$K)(f)&&(0,d.$K)(i)&&f.parent){var v,h=s.findIndex((function(e){return e.id===f.parent})),b=s[h];(0,d.$K)(b)&&(null===(v=b.children)||void 0===v||v.splice(i+1,0,f.id))}return s.splice.apply(s,[o+1,0].concat(m(p.addons))),(t=e.page).splice.apply(t,[r+1,0].concat(m(p.sections))),(0,c.m)(e)}),!1,"DUPLICATE_ADDON")}},x=function(e){return function(t){var r=t.sectionIndex,n=t.columnIndex,o=t.addonIndex,i=t.tableItem,a=i.itemIdx,u=i.rowItemIdx,s=i.contentItemIdx;return e((function(e){var t=e.page[r].columns[n].addons[o];if((0,d.$K)(u)){var i,p=null===(i=t.settings)||void 0===i?void 0:i[l.pb.bodyItemsKey];if((0,d.$K)(p)){var v=p[a].table_advanced_item[u].content[s],h=p[a].table_advanced_item[u].content,b=f()(v);b.id=(0,d.x0)(),h.splice(s+1,0,b)}}else{var y,m=null===(y=t.settings)||void 0===y?void 0:y[l.pb.headerItemsKey];if((0,d.$K)(m)){var g=m[a].content[s],w=m[a].content,O=f()(g);O.id=(0,d.x0)(),w.splice(s+1,0,O)}}return(0,c.m)(e)}),!1,"DUPLICATE_TABLE_ITEM_ADDON")}},S=function(e){return function(t){var r=t.sectionIndex,n=t.columnIndex,o=t.addonIndex;return e((function(e){var t=e.page[r],i=t.columns[n],a=i.addons,c=(0,u.DV)({sections:e.page,rowId:t.id,columnId:i.id,addonList:a,addon:a[o]});return(0,d.$K)(c)?((0,s.pj)(l.dR.COPIED_ADDON_LOCAL_STORAGE_KEY,JSON.stringify(c)),e.copiedData.addon=c,e):e}),!1,"COPY_ADDON")}},_=function(e){return function(t){var r=t.sectionIndex,n=t.columnIndex,o=t.addonIndex,i=t.childIndex,a=t.parentId,l=t.addonData,s=t.isAbove,p=void 0!==s&&s;return e((function(e){var t,s=e.page[r],f=s.columns[n],v=f.addons,h=(0,u.DV)({sections:l.sections,rowId:s.id,columnId:f.id,addonList:l.addons,addon:l.addons[0]});if(!(0,d.$K)(h))return e;var b=g(h.addons,1)[0];if(b.parent=!1,(0,d.$K)(a)&&(0,d.$K)(i)){var y,w=v.findIndex((function(e){return e.id===a})),O=v[w];(0,d.$K)(O)&&(null===(y=O.children)||void 0===y||y.splice(p?i:i+1,0,b.id),b.parent=O.id)}return v.splice.apply(v,[p?o:o+1,0].concat(m(h.addons))),(t=e.page).splice.apply(t,[r,0].concat(m(h.sections))),(0,c.m)(e)}),!1,"PASTE_OR_INSERT_ADDON")}},C=function(e){return function(t){var r=t.styleSettings,n=t.globalStyleSettings,o=t.sectionIndex,i=t.columnIndex,a=t.addonIndex;return e((function(e){var t=e.page[o].columns[i].addons[a];return(0,d.$K)(t.settings)&&(t.settings=b(b(b({},t.settings),r),n)),(0,c.m)(e)}),!1,"PASTE_ADDON_STYLE")}},I=function(e){return function(){var t=(0,s.fp)(l.dR.COPIED_ADDON_LOCAL_STORAGE_KEY),r=(0,s.fp)(l.dR.COPIED_SECTION_LOCAL_STORAGE_KEY);return e((function(e){return t&&(e.copiedData.addon=JSON.parse(t)),r&&(e.copiedData.section=JSON.parse(r)),e}),!1,"LOAD_COPIED_ADDON")}},A=function(e){return function(t){var r=t.sectionIndex,n=t.columnIndex,o=t.addonIndex;return e((function(e){var t=e.page[r].columns[n].addons,i=t[o];return"div"===i.name?((0,u.u)(i,t),(0,u.iK)(o,t,e.page)):Object.keys(l.RI).includes(i.name)?((0,u.u)(i,t),t.splice(o,1),(0,u.RL)(i,e.page)):((0,u.u)(i,t),t.splice(o,1)),(0,c.m)(e)}),!1,"DELETE_ADDON")}},P=function(e){return function(t){var r=t.sectionIndex,n=t.columnIndex,o=t.addonIndex,i=t.tableItem,a=i.itemIdx,u=i.rowItemIdx,s=i.contentItemIdx;return e((function(e){var t=e.page[r].columns[n].addons[o];if((0,d.$K)(u)){var i,p=null===(i=t.settings)||void 0===i?void 0:i[l.pb.bodyItemsKey];(0,d.$K)(p)&&p[a].table_advanced_item[u].content.splice(s,1)}else{var f,v=null===(f=t.settings)||void 0===f?void 0:f[l.pb.headerItemsKey];(0,d.$K)(v)&&v[a].content.splice(s,1)}return(0,c.m)(e)}),!1,"DELETE_TABLE_ITEM_ADDON")}},L=["unit"];function D(e){return D="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},D(e)}function j(e,t){if(e){if("string"==typeof e)return T(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?T(e,t):void 0}}function T(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Z(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function B(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Z(Object(r),!0).forEach((function(t){M(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Z(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function M(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==D(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==D(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===D(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var k=function(e){return function(t){var r=t.sectionIndex,n=t.columnIndex;return e((function(e){var t,o,i=e.page[r],a=i.columns,l=a[n],s=Object.fromEntries(e.page.map((function(e,t){return[e.id,B(B({},e),{},{index:t})]}))),d=(0,u.Gm)({sections:e.page,sectionsObject:s,sectionId:i.id,column:l}),p=d.column,f=d.sections,v=a.length+1,h=Math.min(12/v,12);return e.page[r].layout=Array(v).fill(h).join("+"),e.page[r].columns.splice(n+1,0,p),(t=e.page).splice.apply(t,[r+1,0].concat(function(e){if(Array.isArray(e))return T(e)}(o=f)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(o)||j(o)||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.")}())),(0,c.m)(e)}),!1,"DUPLiCATE_COLUMN")}},R=function(e){return function(t){var r=t.sectionIndex,n=t.columnIndex;return e((function(e){var t=e.page[r],o=t.columns,i=o[n];if(o.length>1){var a=o.length-1,l=Math.min(12/a,12);t.layout=Array(a).fill(l).join("+"),o.splice(n,1)}else e.page.splice(r,1);return(0,u.p_)(i,e.page),(0,c.m)(e)}),!1,"DELETE_COLUMN")}},W=function(e){return function(t){var r=t.sectionIndex;return e((function(e){var t=e.page[r],n=t.columns;if(0===n.length)return e;var o=n.length,i=Math.min(12/o,12);return t.layout=Array(o).fill(i).join("+"),n.forEach((function(e){e.settings.width=(0,u.h)(i)})),(0,c.m)(e)}),!1,"RESET_COLUMN_WIDTH")}},N=function(e){return function(t){var r=t.sectionIndex,n=t.columnIndex,o=t.width;return e((function(e){var t=o.unit,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(o,L);return e.page[r].columns[n].settings.width=Object.fromEntries(Object.entries(i).map((function(e){var r,n,o=(n=2,function(e){if(Array.isArray(e))return e}(r=e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(r,n)||j(r,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),i=o[0],a=o[1];return[i,"".concat(a).concat(t)]}))),e}),!1,"UPDATE_COLUMN_WIDTH")}},G=r(251),F=r.n(G),U=r(8331);function H(e){return H="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},H(e)}function q(e){return function(e){if(Array.isArray(e))return z(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return z(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?z(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function z(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function V(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function $(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?V(Object(r),!0).forEach((function(t){K(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):V(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function K(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==H(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==H(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===H(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var X=function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e((function(e){return r&&(0,c.m)(e),e.page=(0,d.MF)(t),e}),!1,"SET_PAGE_CONTENT")}},Y=function(e){return function(t){var r=U.B.getState().config,n=r.sectionDefaults,o=r.columnDefaults;return e((function(e){var r=t.sectionIndex,i=t.columnIndex,a=t.addonIndex,s=t.childIndex,p=t.emptyDivChild,f=t.addon,v=t.isAbove,h=(0,d.x0)(),b=e.page[r].columns[i].addons,y=e.page[r],m=y.columns[i],g=m.addons[a],w=a,O=$({id:h,type:f.type,name:f.name,visibility:!0,title:f.title,icon:f.icon,settings:$({},f.default)},"div"===f.name&&{children:[]});if(Object.keys(l.RI).includes(f.name)){var E=l.RI[f.name],x=E.key,S=E.title,_=E.text,C={id:(0,d.x0)(),type:"nested_row",name:"row"},I={id:(0,d.x0)(),name:"text_block",title:"Text Block",visibility:!0,settings:{text:_},icon:""};(0,d.$K)(O.settings)&&(O.settings[x]=[{title:S,content:[C]}]);var A=(0,u.v)({id:C.id,layout:"12",rowSettings:$($({},n),{},{padding:{lg:"5px 0px 5px 0px",md:"5px 0px 5px 0px",sm:"",xl:"",xs:""}}),columnSettings:o,addons:[I],parent:{rowId:y.id,columnId:m.id}});A.parent_addon=h,e.page.splice(r+1,0,A)}if(f.name===l.pb.name&&(0,d.$K)(O.settings)&&(O.settings[l.pb.headerItemsKey]=(0,u.I4)({itemList:O.settings[l.pb.headerItemsKey],tableId:h}),O.settings[l.pb.bodyItemsKey]=(0,u.I4)({itemList:O.settings[l.pb.bodyItemsKey],tableId:h})),(0,d.$K)(g)&&"div"===g.name&&p){var P=g;P.children=[O.id],O.parent=P.id,w++}else if((0,d.$K)(g)&&g.parent){var L=g.parent,D=b.findIndex((function(e){return e.id===L})),j=b[D];if((0,d.$K)(j)){var T,Z=null!=s?s:0;null===(T=j.children)||void 0===T||T.splice(v?Z:Z+1,0,O.id),O.parent=L}}return b.splice(v?w:w+1,0,O),(0,c.m)(e)}),!1,"ADD_NEW_ADDON")}},Q=function(e){return function(t){var r=t.sectionIndex,n=t.columnIndex,o=t.addonIndex,i=t.tableItem,a=t.addon,u=t.isAbove,s=i.itemIdx,p=i.rowItemIdx,f=i.contentItemIdx;return e((function(e){var t=e.page[r].columns[n].addons[o],i={id:(0,d.x0)(),type:a.type,name:a.name,visibility:!0,title:a.title,icon:a.icon,settings:$({},a.default)};if((0,d.$K)(p)){var v,h=null===(v=t.settings)||void 0===v?void 0:v[l.pb.bodyItemsKey];if((0,d.$K)(h)){var b=h[s].table_advanced_item[p].content;u?b.splice(f,0,i):b.splice(f+1,0,i)}}else{var y,m=null===(y=t.settings)||void 0===y?void 0:y[l.pb.headerItemsKey];if((0,d.$K)(m)){var g=m[s].content;u?g.splice(f,0,i):g.splice(f+1,0,i)}}return(0,c.m)(e)}),!1,"ADD_NEW_TABLE_ITEM_ADDON")}},J=function(e){return function(t){return e((function(e){var r=t.sectionIndex,n=t.columnIndex,o=t.addonIndex,i=t.tableItem,a=t.visibility,u=e.page[r].columns[n].addons[o];if((0,d.$K)(i)){var s=i.itemIdx,p=i.rowItemIdx,f=i.contentItemIdx;if((0,d.$K)(p)){var v,h=null===(v=u.settings)||void 0===v?void 0:v[l.pb.bodyItemsKey];if((0,d.$K)(h)){var b=h[s].table_advanced_item[p].content[f],y=!(0,d.$K)(b.visibility)||b.visibility;b.visibility=!y}}else{var m,g=null===(m=u.settings)||void 0===m?void 0:m[l.pb.headerItemsKey];if((0,d.$K)(g)){var w=g[s].content[f],O=!(0,d.$K)(w.visibility)||w.visibility;w.visibility=!O}}}else u.visibility=!a;return(0,c.m)(e)}),!1,"CHANGE_ADDON_VISIBILITY")}},ee=function(e){return function(t){return e((function(e){var r=t.sectionIndex,n=t.columnIndex,o=t.visibility;return e.page[r].columns[n].visibility=!o,(0,c.m)(e)}),!1,"CHANGE_COLUMN_VISIBILITY")}},te=function(e){return function(t){return e((function(e){var r=t.sectionIndex,n=t.visibility;return e.page[r].visibility=!n,(0,c.m)(e)}),!1,"CHANGE_SECTION_VISIBILITY")}},re=function(e){return function(t){var r=t.layout,n=t.index,o=U.B.getState().config,i=o.sectionDefaults,a=o.columnDefaults;return e((function(e){var t=(0,u.v)({layout:r,columnSettings:a,rowSettings:i});return e.page.splice(n,0,t),(0,c.m)(e)}),!1,"ADD_NEW_SECTION")}},ne=function(e){return function(t){var r=t.sectionIndex,n=t.columnIndex,o=t.addonIndex,i=t.item,a=t.sections,s=t.layout,p=U.B.getState().config,f=p.sectionDefaults,v=p.columnDefaults;return e((function(e){var t,p=e.page[r],h=p.columns[n],b=h.addons[o],y={id:(0,d.x0)(),name:"text_block",title:"Text Block",visibility:!0,settings:{text:l.RI.accordion.text},icon:""},m=i.content.map((function(e){return(0,u.v)({id:e.id,layout:null!=s?s:"12",columnSettings:v,rowSettings:f,parent:{rowId:p.id,columnId:h.id},parent_addon:b.id,addons:[y]})}));return(t=e.page).push.apply(t,q(null!=a?a:m)),(0,c.m)(e)}),!1,"ADD_NESTED_ROW_DEEP_ADDON")}},oe=function(e){return function(t){var r=t.sectionIndex,n=t.columnIndex,o=t.addonIndex,i=t.layout,a=t.isTop,l=U.B.getState().config,s=l.sectionDefaults,p=l.columnDefaults;return e((function(e){var t=e.page[r],l=t.columns[n],f=(0,d.x0)(),v={id:f,type:"nested_row",name:"row",title:"Row",visibility:!0,icon:""},h=(0,u.v)({id:f,layout:null!=i?i:"6+6",columnSettings:p,rowSettings:s,parent:{rowId:t.id,columnId:l.id}});return l.addons.splice(a?o:o+1,0,v),e.page.push(h),(0,c.m)(e)}),!1,"ADD_NESTED_ROW")}},ie=function(e){return function(t){var r=t.index,n=t.layout,o=U.B.getState().config.columnDefaults;return e((function(e){var t=e.page[r],i=/[+,]/,a=n.split(i).map((function(e){var t=e.trim();return Number(t)>12?12:Number(t)})).filter(Number),s=t.layout.split(i);if(a.join("+")===t.layout)return e;t.layout=a.join("+");var d=a.map((function(e,r){if(s.length-1>=r){var n=t.columns[r];return n.settings.width=(0,u.h)(e),n}return(0,u.wy)({columnSettings:o,size:e})}));if(s.length<=a.length)return t.columns=d,e;var p=t.columns.slice(a.length).reduce((function(e,t){var r=[];return t.addons.forEach((function(e){r.push(e)})),[].concat(q(e),r)}),[]),f=d[d.length-1],v=Object.fromEntries(e.page.map((function(e,t){return[e.id,$($({},e),{},{index:t})]})));return p.forEach((function(r){var n;if(Object.keys(l.RI).includes(r.name))(null===(n=r.settings)||void 0===n?void 0:n[l.RI[r.name].key]).forEach((function(r){r.content.forEach((function(r){var n=v[r.id].index;e.page[n].parent={rowId:t.id,columnId:f.id}}))}));else if("nested_row"===r.type){var o=v[r.id].index;e.page[o].parent={rowId:t.id,columnId:f.id}}})),f.addons=[].concat(q(f.addons),q(p)),t.columns=d,(0,c.m)(e)}),!1,"UPDATE_SECTION_LAYOUT")}},ae=function(e){return function(t){var r=t.sectionIndex,n=t.index,o=U.B.getState().config.columnDefaults;return e((function(e){var t=e.page[r].columns,i=(0,u.wy)({columnSettings:o,size:l.lk}),a=e.page[r].layout.split(/[+,]/);return a.splice(n,0,String(l.lk)),e.page[r].layout=a.join("+"),t.splice(n,0,i),(0,c.m)(e)}),!1,"ADD_NEW_COLUMN")}},le=function(e){return function(t,r){var o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return e((function(e){var i=r.type,a=r.sectionIndex,u=r.columnIndex,s=r.addonIndex,p=r.tableItem,f=!0;switch(i){case"addon":if((0,d.$K)(a)&&(0,d.$K)(u)&&(0,d.$K)(s)){var v,h,b=null===(v=function(e,t){var r=t.columnIndex,n=t.addonIndex,o=e[t.sectionIndex],i=(0,d.$K)(o)?o.columns[r]:null;return(0,d.$K)(i)?i.addons[n]:null}(e.page,{sectionIndex:a,columnIndex:u,addonIndex:s}))||void 0===v?void 0:v.settings;(0,d.$K)(p)&&(b=null===(h=function(e,t){var r,n=t.columnIndex,o=t.addonIndex,i=t.tableItem,a=e[t.sectionIndex],c=(0,d.$K)(a)?a.columns[n]:null,u=(0,d.$K)(c)?c.addons[o]:null,s=i.itemIdx,p=i.rowItemIdx,f=i.contentItemIdx;if((0,d.$K)(p)){var v,h=null==u||null===(v=u.settings)||void 0===v?void 0:v[l.pb.bodyItemsKey];return null==h?void 0:h[s].table_advanced_item[p].content[f]}var b=null==u||null===(r=u.settings)||void 0===r?void 0:r[l.pb.headerItemsKey];return null==b?void 0:b[s].content[f]}(e.page,{sectionIndex:a,columnIndex:u,addonIndex:s,tableItem:p}))||void 0===h?void 0:h.settings);var y=(0,n.mv)(b)?(0,n.Js)(b):b;if(f=!F()(y,t),(0,d.$K)(p)){var m,g,w=p.itemIdx,O=p.rowItemIdx,E=p.contentItemIdx;(0,d.$K)(O)?(null===(m=e.page[a].columns[u].addons[s].settings)||void 0===m?void 0:m[l.pb.bodyItemsKey])[w].table_advanced_item[O].content[E].settings=t:(null===(g=e.page[a].columns[u].addons[s].settings)||void 0===g?void 0:g[l.pb.headerItemsKey])[w].content[E].settings=t}else e.page[a].columns[u].addons[s].settings=t}break;case"column":if((0,d.$K)(a)&&(0,d.$K)(u)){var x=(0,n.mv)(e.page[a].columns[u].settings)?(0,n.Js)(e.page[a].columns[u].settings):e.page[a].columns[u].settings;f=!F()(x,t),e.page[a].columns[u].settings=t}break;case"section":if((0,d.$K)(a)){var S=(0,n.mv)(e.page[a].settings)?(0,n.Js)(e.page[a].settings):e.page[a].settings;f=!F()(S,t),e.page[a].settings=t}}if(f&&(f=o),f){var _=c.s.getState().changesUntilSettingsPanelOpen,C=Math.min(l.Q9,_+1);c.s.setState({changesUntilSettingsPanelOpen:C})}return f?(0,c.m)(e):e}),!1,"UPDATE_SETTINGS")}},ce=function(e){return function(){return e((function(e){return e.copiedData.addon=null,e.copiedData.section=null,(0,s.Rv)(l.dR.COPIED_ADDON_LOCAL_STORAGE_KEY),(0,s.Rv)(l.dR.COPIED_SECTION_LOCAL_STORAGE_KEY),e}),!1,"RESET_COPIED_DATA")}},ue=function(e){return function(){return e((function(e){return(0,c.m)(e),e.page=[],e}),!1,"CLEAR_PAGE_CONTENT")}},se=function(e){return function(t){var r=t.label,n=t.row,o=t.addon,i=t.tableAddonItem;return e((function(e){if((0,d.$K)(n)&&(e.page[n.sectionIndex].settings.admin_label=r),(0,d.$K)(o)){var t=e.page[o.sectionIndex].columns[o.columnIndex].addons[o.addonIndex].settings;(0,d.$K)(t)&&(t.admin_label=r)}if((0,d.$K)(i)){var a,u,s,p,f=i.sectionIndex,v=i.columnIndex,h=i.addonIndex,b=i.itemIdx,y=i.rowItemIdx,m=i.contentItemIdx,g=e.page[f].columns[v].addons[h];(0,d.$K)(y)?(null!==(a=null===(u=g.settings)||void 0===u?void 0:u[l.pb.bodyItemsKey])&&void 0!==a?a:[])[b].table_advanced_item[y].content[m].settings.admin_label=r:(null!==(s=null===(p=g.settings)||void 0===p?void 0:p[l.pb.headerItemsKey])&&void 0!==s?s:[])[b].content[m].settings.admin_label=r}return(0,c.m)(e)}),!1,"UPDATE_ADMIN_LABEL")}};function de(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||fe(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pe(e){return function(e){if(Array.isArray(e))return ve(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||fe(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function fe(e,t){if(e){if("string"==typeof e)return ve(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ve(e,t):void 0}}function ve(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var he=function(e){return function(t){var r=t.sectionIndex;return e((function(e){var t,n=(0,u.Nk)({sectionIndex:r,sections:e.page});return(t=e.page).splice.apply(t,[r+1,0].concat(pe(n))),(0,c.m)(e)}),!1,"DUPLICATE_SECTION")}},be=function(e){return function(t){var r=t.sectionIndex,n=t.columnIndex,o=t.addonIndex,i=t.nestedSectionIndex;return e((function(e){var t,a=e.page[r],l=a.columns[n],s=l.addons,p=s[o],v=(0,d.x0)(),h=f()(p);h.id=v,s.splice(o+1,0,h);var b=(0,u.Nk)({sectionIndex:i,sections:e.page}),y=de(b,1)[0];return y.id=v,y.parent={rowId:a.id,columnId:l.id},(t=e.page).splice.apply(t,[i+1,0].concat(pe(b))),(0,c.m)(e)}),!1,"DUPLICATE_NESTED_SECTION")}},ye=function(e){return function(t){var r=t.sectionIndex;return e((function(e){var t=(0,u.Nk)({sectionIndex:r,sections:e.page});return(0,s.pj)(l.dR.COPIED_SECTION_LOCAL_STORAGE_KEY,JSON.stringify(t)),e.copiedData.section=t,e}),!1,"COPY_SECTION")}},me=function(e){return function(t){var r=t.sectionIndex,n=t.sectionData,o=t.isAbove,i=void 0!==o&&o,a=t.replace,l=void 0!==a&&a;return e((function(e){var t,o,a=(0,u.Nk)({sectionIndex:0,sections:n});return l?(t=e.page).splice.apply(t,[r,1].concat(pe(a))):(o=e.page).splice.apply(o,[i?r:r+1,0].concat(pe(a))),(0,c.m)(e)}),!1,"PASTE_OR_INSERT_SECTION")}},ge=function(e){return function(t){var r=t.sectionIndex,n=t.columnIndex,o=t.addonIndex,i=t.nestedSectionIndex,a=t.sectionData,l=t.isAbove,s=t.replace;return e((function(e){var t=e.page[r],d=t.columns[n],p=d.addons,f=(0,u.Nk)({sectionIndex:0,sections:a}),v=de(f,1)[0],h={id:v.id,type:"nested_row",name:"row",title:"Row",visibility:!0,icon:""};if(v.parent={rowId:t.id,columnId:d.id},s){var b;p.splice(o,1,h);var y=e.page[i];(b=e.page).splice.apply(b,[i,1].concat(pe(f))),(0,u.OE)(y,e.page)}else{var m;p.splice(l?o:o+1,0,h),(m=e.page).splice.apply(m,[i+1,0].concat(pe(f)))}return(0,c.m)(e)}),!1,"PASTE_OR_INSERT_NESTED_SECTION")}},we=function(e){return function(t){var r=t.sectionIndex;return e((function(e){var t=e.page[r];return(0,d.$K)(t)?(e.page.splice(r,1),(0,u.OE)(t,e.page),(0,c.m)(e)):e}),!1,"DELETE_SECTION")}},Oe=function(e){return function(t){var r=t.sectionIndex,n=t.columnIndex,o=t.addonIndex,i=t.nestedSectionIndex;return e((function(e){var t=e.page[r].columns[n].addons,a=e.page[i];return(0,d.$K)(a)?(t.splice(o,1),e.page.splice(i,1),(0,u.OE)(a,e.page),(0,c.m)(e)):e}),!1,"DELETE_NESTED_SECTION")}},Ee=r(5587);function xe(e){return xe="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},xe(e)}function Se(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _e(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Se(Object(r),!0).forEach((function(t){Ce(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Se(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ce(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==xe(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==xe(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===xe(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ie(e){return function(e){if(Array.isArray(e))return Ae(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Ae(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ae(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ae(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Pe=function(e){var t=e.sections,r=e.sectionsObject,n=e.section,o=[];return n.columns.forEach((function(e){var i=[];e.addons.forEach((function(a){if(!a.parent)if(Object.keys(l.RI).includes(a.name)){var c=Le({sections:t,sectionsObject:r,addon:a,options:{rowId:n.id,columnId:e.id}});(0,d.$K)(c)&&(i.push(c.addon),o.push.apply(o,Ie(c.sections)))}else if("nested_row"===a.type){var u=function(e){var t=e.sections,r=e.sectionsObject,n=e.addon,o=e.options,i=[],a=r[n.id];if(!(0,d.$K)(a))return null;(0,d.$K)(o)&&(a.parent={rowId:o.rowId,columnId:o.columnId}),i.push(a);var l=Pe({sections:t,sectionsObject:r,section:a});return i.push.apply(i,Ie(l)),{addon:n,sections:i}}({sections:t,sectionsObject:r,addon:a,options:{rowId:n.id,columnId:e.id}});(0,d.$K)(u)&&(i.push(u.addon),o.push.apply(o,Ie(u.sections)))}else if("div"===a.name){var s=De({sections:t,sectionsObject:r,addon:a,addonList:e.addons,options:{rowId:n.id,columnId:e.id}}),p=s.divAddon,f=s.children,v=s.nestedSections;i.push.apply(i,[p].concat(Ie(f))),o.push.apply(o,Ie(v))}else i.push(a)})),i.length>0&&(e.addons=i)})),o},Le=function(e){var t,r=e.sections,n=e.sectionsObject,o=e.addon,i=e.options,a=[];return(null===(t=o.settings)||void 0===t?void 0:t[l.RI[o.name].key]).forEach((function(e){e.content.forEach((function(e){var t=n[e.id];if(!(0,d.$K)(t))return null;(0,d.$K)(i)&&(t.parent={rowId:i.rowId,columnId:i.columnId}),a.push(t);var o=Pe({sections:r,sectionsObject:n,section:t});a.push.apply(a,Ie(o))}))})),{addon:o,sections:a}},De=function(e){var t=e.sections,r=e.sectionsObject,n=e.addonList,o=e.addon,i=e.options,a=[],c=[];return function e(o){n.forEach((function(n){var u,s=null===(u=o.children)||void 0===u?void 0:u.findIndex((function(e){return e===n.id}));if((0,d.$K)(s)&&-1!==s){if(Object.keys(l.RI).includes(n.name)){var p=Le({sections:t,sectionsObject:r,addon:n,options:{rowId:i.rowId,columnId:i.columnId}});c=p.sections}a.push(n),"div"===n.name&&e(n)}}))}(o),{divAddon:o,children:a,nestedSections:c}},je=function(e){var t=e.sections,r=e.rowId,n=e.columnId,o=e.addonList,i=e.addon,a=Object.fromEntries(t.map((function(e,t){return[e.id,_e(_e({},e),{},{index:t})]}))),c=null;if("div"===i.name){var u=De({sections:t,sectionsObject:a,addon:i,addonList:o,options:{rowId:r,columnId:n}}),s=u.divAddon,p=u.children,f=u.nestedSections;c={name:s.name,addons:[s].concat(Ie(p)),sections:f}}else if(Object.keys(l.RI).includes(i.name)){var v=Le({sections:t,sectionsObject:a,addon:i,options:{rowId:r,columnId:n}});(0,d.$K)(v)&&(c={name:v.addon.name,addons:[v.addon],sections:v.sections})}else c={name:i.name,addons:[i],sections:[]};return c};function Te(e,t){if(e){if("string"==typeof e)return Ze(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ze(e,t):void 0}}function Ze(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Be=function(e){return function(t){return e((function(e){var r=t.destinationSectionIndex,n=t.sourceSectionIndex;return e.page=(0,Ee.Rp)(e.page,n,r),(0,c.m)(e)}),!1,"SORT_SECTION")}},Me=function(e){return function(t){return e((function(e){var r=t.sectionIndex,n=t.destinationColumnIndex,o=t.sourceColumnIndex;return e.page[r].columns=(0,Ee.Rp)(e.page[r].columns,o,n),(0,c.m)(e)}),!1,"SORT_COLUMN")}},ke=function(e){return function(t){var r=t.sourceSectionIndex,n=t.sourceColumnIndex,o=t.sourceAddonIndex,i=t.sourceChildIndex,a=t.destinationSectionIndex,l=t.destinationColumnIndex,s=t.destinationAddonIndex,p=t.destinationChildIndex,f=t.emptyDivChild,v=t.isAbove;return e((function(e){var t=e.page[r],h=t.columns[n],b=h.addons,y=b[o],m=e.page[a],g=m.columns[l],w=g.addons,O=w[s];if(!(0,d.$K)(y))return e;var E=y.parent,x=je({sections:e.page,rowId:t.id,columnId:h.id,addonList:b,addon:y});if(!(0,d.$K)(x))return e;if(!(0,d.$K)(O)&&0===w.length)return g.addons=x.addons,(0,u.Ag)(o,b),(0,c.m)(e);var S,_,C=(S=x.addons,_=1,function(e){if(Array.isArray(e))return e}(S)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(S,_)||Te(S,_)||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.")}())[0];if("div"===O.name&&f){var I=O;I.children=[y.id],(0,u.u)(C,b),C.parent=I.id}else if("nested_row"!==y.type||r===a&&n===l)if((0,d.$K)(p)&&(0,d.$K)(O.parent)){var A=w.findIndex((function(e){return e.id===O.parent})),P=w[A];(0,d.$K)(P)&&P.children&&((0,d.$K)(y.parent)&&(0,d.$K)(i)&&y.parent===O.parent?P.children=(0,Ee.Rp)(P.children,i,p):(P.children.splice(v?p:p+1,0,C.id),(0,u.u)(C,b),C.parent=P.id))}else(0,u.u)(C,b);else{var L=e.page.find((function(e){return e.id===y.id}));(0,d.$K)(L)&&(L.parent={rowId:m.id,columnId:g.id})}return r!==a||n!==l?(w.splice.apply(w,[v?s:s+1,0].concat(function(e){return function(e){if(Array.isArray(e))return Ze(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Te(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.")}()}(x.addons))),(0,u.Ag)(o,b)):O.id===E?(o<s&&!v||o>s&&v)&&(g.addons=(0,Ee.Rp)(b,o,s)):g.addons=(0,Ee.Rp)(b,o,s),(0,c.m)(e)}),!1,"SORT_ADDON")}},Re=function(e){return function(t){var r=t.sourceSectionIndex,n=t.sourceColumnIndex,o=t.sourceAddonIndex,i=t.destinationSectionIndex;return e((function(e){var t=e.page[r],a=t.columns[n],l=a.addons,u=l[o],s=e.page[i];if(!(0,d.$K)(u))return e;var p=je({sections:e.page,rowId:t.id,columnId:a.id,addonList:l,addon:u});if(!(0,d.$K)(p))return e;var f=s.parent;if((0,d.$K)(f)&&!(0,d.jn)(f)){var v=f.rowId,h=f.columnId,b=e.page.findIndex((function(e){return e.id===v})),y=e.page[b].columns,m=y.findIndex((function(e){return e.id===h})),g=y[m].addons.findIndex((function(e){return e.id===s.id}));return a.addons=(0,Ee.Rp)(l,o,g),(0,c.m)(e)}return e}),!1,"SORT_ADDON_AND_NESTED_ROW")}},We=[];(0,n.Fl)(!1);var Ne=(0,o.Ue)()((0,a.n)((0,i.mW)((function(e){return{page:We,copiedData:{addon:null,section:null},resetCopiedData:ce(e),setPageContent:X(e),updateSettings:le(e),updateSectionLayout:ie(e),addNewAddon:Y(e),addNewTableItemAddon:Q(e),changeAddonVisibility:J(e),changeColumnVisibility:ee(e),changeSectionVisibility:te(e),addNestedRowForDeepAddon:ne(e),addNestedRow:oe(e),addNewSection:re(e),addNewColumn:ae(e),sortAddon:ke(e),sortAddonAndNestedRow:Re(e),sortColumn:Me(e),sortSection:Be(e),copyAddon:S(e),pasteOrInsertAddon:_(e),pasteAddonStyle:C(e),loadCopiedAddon:I(e),duplicateAddon:E(e),duplicateTableItemAddon:x(e),deleteAddon:A(e),deleteTableItemAddon:P(e),duplicateSection:he(e),duplicateNestedSection:be(e),copySection:ye(e),pasteOrInsertSection:me(e),pasteOrInsertAsNestedSection:ge(e),deleteSection:we(e),deleteNestedSection:Oe(e),duplicateColumn:k(e),deleteColumn:R(e),resetColumnWidth:W(e),updateColumnWidth:N(e),clearPageContent:ue(e),updateAdminLabel:se(e)}}),{store:"PageStore",name:"Page Store"})))},2423:(e,t,r)=>{"use strict";r.d(t,{m:()=>b,s:()=>h});var n=r(3106),o=r(230),i=r(251),a=r.n(i),l=r(2902),c=r(270),u=r(782),s=r(8753),d=r(2445),p=r(3772);function f(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return v(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?v(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var h=(0,c.Ue)()((0,s.n)((0,u.mW)((function(e){return{pastStates:[],futureStates:[],currentState:[],changesUntilSettingsPanelOpen:0,showWarningAtReload:!0,setShowWarningAtReload:function(t){return e((function(e){return e.showWarningAtReload=t,e}))},undo:function(){return e((function(e){if(e.pastStates.length<=0)return e;var t=e.pastStates.length-1,r=e.pastStates[t],n=p.o.getState().page;e.futureStates.push(n),e.pastStates.pop();var o=(0,l.mv)(r)?(0,l.Js)(r):r;return o&&(p.o.setState({page:o}),e.currentState=o,e.changesUntilSettingsPanelOpen-=1,e.changesUntilSettingsPanelOpen<0&&(d.F.setState({type:void 0,payload:{sectionIndex:null,columnIndex:null,addonIndex:null}}),e.changesUntilSettingsPanelOpen=0)),e}),!1,"UNDO")},redo:function(){return e((function(e){if(e.futureStates.length<=0)return e;var t=e.futureStates.length-1,r=e.futureStates[t],i=p.o.getState().page;e.pastStates.push(i),e.futureStates.pop();var a=(0,l.mv)(r)?(0,l.Js)(r):r;if(a){p.o.setState({page:a}),e.currentState=a;var c=d.F.getState().type;(0,o.$K)(c)&&(e.changesUntilSettingsPanelOpen=Math.min(n.Q9,e.changesUntilSettingsPanelOpen+1))}return e}),!1,"REDO")}}}),{name:"UndoRedo",store:"UndoRedo"}))),b=function(e){var t=h.getState(),r=t.pastStates,o=(0,l.mv)(e.page)?(0,l.Js)(e.page):e.page;if(t.setShowWarningAtReload(!0),r.length>0){var i=r[r.length-1];if(a()(i,o))return e}if(o)if(r.length>=n.Q9){var c=r.slice(1);h.setState({pastStates:[].concat(f(c),[o]),futureStates:[]})}else h.setState({pastStates:[].concat(f(r),[o]),futureStates:[]});return e}},2238:(e,t,r)=>{"use strict";r.d(t,{Ag:()=>O,DV:()=>L,Gm:()=>w,I4:()=>P,Nk:()=>D,OE:()=>C,RL:()=>S,h:()=>f,iK:()=>x,p_:()=>I,u:()=>E,v:()=>v,wy:()=>h});var n=r(3106),o=r(1245),i=r.n(o),a=r(230);function l(e){return l="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},l(e)}function c(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){p(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function p(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==l(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===l(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var f=function(e){var t="".concat(parseFloat((100/(12/e)).toFixed(6)));return{xl:t=t.length?"".concat(t,"%"):"",lg:t,md:t,sm:"100%",xs:"100%"}},v=function(e){var t=e.id,r=void 0===t?(0,a.x0)():t,n=e.layout,o=e.columnSettings,i=e.rowSettings,l=e.parent,c=void 0!==l&&l,u=e.addons,s=void 0===u?[]:u,p=e.parent_addon,v=n.replace(/\s/,"").split("+").map((function(e){return Math.min(12,Number(e))})),h=v.map((function(e){return{id:(0,a.x0)(),class_name:"row-column",visibility:!0,settings:d(d({},o),{},{width:f(e)}),addons:s}}));return d({id:r,visibility:!0,collapse:!1,settings:i,layout:v.join("+"),columns:h,parent:c},p&&{parent_addon:p})},h=function(e){var t=e.columnSettings,r=e.size;return{id:(0,a.x0)(),class_name:"row-column",visibility:!0,settings:d(d({},t),{},{width:f(r)}),addons:[]}},b=function(e){var t=e.sections,r=e.sectionsObject,o=e.addonList,l=e.addon,c=e.options,u=[],s=[];return l.id=(0,a.x0)(),function e(l){o.forEach((function(o){var d,p=null===(d=l.children)||void 0===d?void 0:d.findIndex((function(e){return e===o.id}));if((0,a.$K)(p)&&-1!==p){var f,v=(0,a.x0)();null===(f=l.children)||void 0===f||f.splice(p,1,v);var h=i()(o);if(h.parent=l.id,Object.keys(n.RI).includes(h.name)){var b=m({sections:t,sectionsObject:r,addon:h,addonId:v,options:{rowId:c.rowId,columnId:c.columnId}});s=b.sections}else h.name===n.pb.name?(h.id=v,h=A(h)):h.id=v;u.push(h),"div"===h.name&&e(h)}}))}(l),{divAddon:l,children:u,nestedSections:s}},y=function(e){var t=e.sections,r=e.sectionsObject,n=e.addon,o=e.options,l=[],u=n,s=r[u.id];if(!(0,a.$K)(s))return null;u.id=(0,a.x0)();var d=i()(s);d.id=u.id,(0,a.$K)(o)&&(d.parent={rowId:o.rowId,columnId:o.columnId}),l.push(d);var p=g({sections:t,sectionsObject:r,section:d});return l.push.apply(l,c(p)),{addon:u,sections:l}},m=function(e){var t,r=e.sections,o=e.sectionsObject,l=e.addon,u=e.options,s=e.addonId,d=void 0===s?(0,a.x0)():s,p=[],f=l;return f.id=d,(null===(t=f.settings)||void 0===t?void 0:t[n.RI[f.name].key]).forEach((function(e){e.content.forEach((function(e){var t=o[e.id];if(!(0,a.$K)(t))return null;var n=(0,a.x0)();e.id=n;var l=i()(t);l.id=n,l.parent_addon=f.id,(0,a.$K)(u)&&(l.parent={rowId:u.rowId,columnId:u.columnId}),p.push(l);var s=g({sections:r,sectionsObject:o,section:l});p.push.apply(p,c(s))}))})),{addon:f,sections:p}},g=function(e){var t=e.sections,r=e.sectionsObject,o=e.section,i=[];return o.columns.forEach((function(e){e.id=(0,a.x0)();var l=[];e.addons.forEach((function(u){if(!u.parent)if(Object.keys(n.RI).includes(u.name)){var s=m({sections:t,sectionsObject:r,addon:u,options:{rowId:o.id,columnId:e.id}});(0,a.$K)(s)&&(l.push(s.addon),i.push.apply(i,c(s.sections)))}else if("nested_row"===u.type){var d=y({sections:t,sectionsObject:r,addon:u,options:{rowId:o.id,columnId:e.id}});(0,a.$K)(d)&&(l.push(d.addon),i.push.apply(i,c(d.sections)))}else if("div"===u.name){var p=b({sections:t,sectionsObject:r,addon:u,addonList:e.addons,options:{rowId:o.id,columnId:e.id}}),f=p.divAddon,v=p.children,h=p.nestedSections;l.push.apply(l,[f].concat(c(v))),i.push.apply(i,c(h))}else if(u.name===n.pb.name){u.id=(0,a.x0)();var g=A(u);l.push(g)}else u.id=(0,a.x0)(),l.push(u)})),l.length>0&&(e.addons=l)})),i},w=function(e){var t=e.sections,r=e.sectionsObject,o=e.sectionId,l=e.column,u=[],s=[],d=i()(l);return d.id=(0,a.x0)(),d.addons.forEach((function(e){if(!e.parent)if(Object.keys(n.RI).includes(e.name)){var i=m({sections:t,sectionsObject:r,addon:e,options:{rowId:o,columnId:l.id}});(0,a.$K)(i)&&u.push.apply(u,c(i.sections))}else if("nested_row"===e.type){var d=y({sections:t,sectionsObject:r,addon:e,options:{rowId:o,columnId:l.id}});(0,a.$K)(d)&&u.push.apply(u,c(d.sections))}else if("div"===e.name){var p=b({sections:t,sectionsObject:r,addon:e,addonList:l.addons,options:{rowId:o,columnId:l.id}}),f=p.divAddon,v=p.children,h=p.nestedSections;s.push.apply(s,[f].concat(c(v))),u.push.apply(u,c(h))}else if(e.name===n.pb.name){e.id=(0,a.x0)();var g=A(e);s.push(g)}else e.id=(0,a.x0)(),s.push(e)})),s.length>0&&(d.addons=s),{sections:u,column:d}},O=function(e,t){var r=t[e];E(r,t),t.splice(e,1),function e(r){var n;null===(n=r.children)||void 0===n||n.forEach((function(r){var n=t.findIndex((function(e){return e.id===r}));if((0,a.$K)(n)&&-1!==n){var o=t[n];t.splice(n,1),"div"===o.name&&e(o)}}))}(r)},E=function(e,t){(0,a.$K)(e.parent)&&!(0,a.jn)(e.parent)&&t.forEach((function(t){var r;t.id===e.parent&&(t.children=null===(r=t.children)||void 0===r?void 0:r.filter((function(t){return t!==e.id})),e.parent=!1)}))},x=function(e,t,r){var o=t[e];t.splice(e,1),(0,a.$K)(o)&&function e(o){var i;null===(i=o.children)||void 0===i||i.forEach((function(o){var i=t.findIndex((function(e){return e.id===o}));if((0,a.$K)(i)&&-1!==i){var l=t[i];t.splice(i,1),"div"===l.name?e(l):Object.keys(n.RI).includes(l.name)?S(l,r):"nested_row"===l.type&&_(l,r)}}))}(o)},S=function(e,t){var r;(null===(r=e.settings)||void 0===r?void 0:r[n.RI[e.name].key]).forEach((function(e){e.content.forEach((function(e){var r=t.findIndex((function(t){return t.id===e.id}));if(-1===r)return null;var n=t[r];(0,a.$K)(n)&&(t.splice(r,1),C(n,t))}))}))},_=function(e,t){var r=t.findIndex((function(t){return t.id===e.id}));if(-1===r)return null;var n=t[r];(0,a.$K)(n)&&(t.splice(r,1),C(n,t))},C=function(e,t){(0,a.$K)(e)&&e.columns.forEach((function(e){e.addons.forEach((function(e){Object.keys(n.RI).includes(e.name)?S(e,t):"nested_row"===e.type&&_(e,t)}))}))},I=function(e,t){e.addons.forEach((function(e){Object.keys(n.RI).includes(e.name)?S(e,t):"nested_row"===e.type&&_(e,t)}))},A=function(e){var t=function(t){return t.map((function(t){return n.pb.bodyItemsKey in t?d(d({},t),{},p({},n.pb.bodyItemsKey,t[n.pb.bodyItemsKey].map((function(t){return d(d({},t),{},{content:t.content.map((function(t){return d(d({},t),{},{id:(0,a.x0)(),reference_id:e.id})}))})})))):d(d({},t),{},{content:t.content.map((function(t){return d(d({},t),{},{id:(0,a.x0)(),reference_id:e.id})}))})}))};return(0,a.$K)(e.settings)?(e.settings[n.pb.headerItemsKey]=t(e.settings[n.pb.headerItemsKey]),e.settings[n.pb.bodyItemsKey]=t(e.settings[n.pb.bodyItemsKey]),e):e},P=function(e){var t=e.itemList,r=e.tableId;return t.map((function(e){var t={id:(0,a.x0)(),name:"text_block",visibility:!0,collapse:!1,reference_id:r,settings:{text:""}};if(n.pb.bodyItemsKey in e){var o=e[n.pb.bodyItemsKey].map((function(e){return{content:[d(d({},t),{},{id:(0,a.x0)(),settings:{text:e.content}})]}}));return p({},n.pb.bodyItemsKey,o)}return{content:[d(d({},t),{},{settings:{text:e.content}})]}}))},L=function(e){var t=e.sections,r=e.rowId,o=e.columnId,l=e.addonList,u=e.addon,s=Object.fromEntries(t.map((function(e,t){return[e.id,d(d({},e),{},{index:t})]}))),p=i()(u),f=null;if("div"===p.name){var v=b({sections:t,sectionsObject:s,addon:p,addonList:l,options:{rowId:r,columnId:o}}),h=v.divAddon,y=v.children,g=v.nestedSections;f={name:h.name,addons:[h].concat(c(y)),sections:g}}else if(Object.keys(n.RI).includes(p.name)){var w=m({sections:t,sectionsObject:s,addon:p,options:{rowId:r,columnId:o}});(0,a.$K)(w)&&(f={name:w.addon.name,addons:[w.addon],sections:w.sections})}else p.name===n.pb.name?(p.id=(0,a.x0)(),f={name:p.name,addons:[A(p)],sections:[]}):(p.id=(0,a.x0)(),f={name:p.name,addons:[p],sections:[]});return f},D=function(e){var t=e.sections,r=e.sectionIndex,n=e.sectionId,o=void 0===n?(0,a.x0)():n,l=e.independent,u=void 0===l||l,s=Object.fromEntries(t.map((function(e,t){return[e.id,d(d({},e),{},{index:t})]}))),p=t[r],f=i()(p);f.id=o,u&&(f.parent=!1),f.parent_addon&&u&&delete f.parent_addon,f.columns.forEach((function(e){e.id=(0,a.x0)()}));var v=g({sections:t,sectionsObject:s,section:f});return[f].concat(c(v))}},5501:(e,t,r)=>{"use strict";r.d(t,{u:()=>p});var n=r(1974),o=r(230),i=r(2861),a=r(7673),l=r(6680);function c(e){return c="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},c(e)}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){d(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function d(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==c(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===c(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}i.Z.defaults.paramsSerializer={serialize:function(e){return a.stringify(e)}},i.Z.create({baseURL:n.Z.API_BASE_URL});var p=i.Z.create({baseURL:n.Z.API_BASE_URL});p.interceptors.request.use((function(e){return e.headers["X-CSRF-Token"]=o.Xy.getOptions("csrf.token"),e.method&&["post","put","patch"].includes(e.method.toLocaleLowerCase())&&(e.data&&(e.data=(0,l.wh)(e.data,e.method)),["put","patch"].includes(e.method.toLowerCase())&&(e.method="POST")),e.params&&(e.params=(0,l.tW)(e.params)),e.method&&["get","delete"].includes(e.method.toLowerCase())&&(e.params=s(s({},e.params),{},{_method:e.method})),e}),(function(e){return Promise.reject(e)})),p.interceptors.response.use((function(e){return e.headers["content-type"].toLowerCase().includes("application/json")?Promise.resolve(e).then((function(e){return e.data})):Promise.reject({message:"Your session has expired! Please login again to continue. If you reload this page, you may lose your data."})}),(function(e){var t=e.response.data.data,r=s(s({},e),{},{message:(0,o.$K)(t)&&(0,o.$K)(t.message)?t.message:e.message});return Promise.reject(r)}))},7273:(e,t,r)=>{"use strict";r.d(t,{BB:()=>f,BI:()=>O,C4:()=>w,H2:()=>h,He:()=>v,jv:()=>b,ll:()=>S,o5:()=>y,oo:()=>m,qb:()=>d,sw:()=>p,uZ:()=>x,wx:()=>E,xU:()=>g});var n=r(230);function o(e){return o="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},o(e)}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){l(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function l(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==o(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===o(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var u=function(e){return(0,n.Kn)(e)&&"icon"in e},s=function(e){return(0,n.Kn)(e)&&"svg"in e},d=function(e){if(!e)return[];var t=function(e){return u(e)?e.icon:s(e)?e.svg:void 0};if((0,n.GI)(e)){var r=e.map((function(e,t){return{label:e,value:t}}));return(0,n.I6)(r)}if(Array.isArray(e)){var o=e.map((function(e){return{label:u(e.label)||s(e.label)?"":e.label,icon:t(e.label),value:e.value}}));return(0,n.I6)(o)}return(0,n.Kn)(e)?Object.entries(e).reduce((function(e,r){var o,i,a=(i=2,function(e){if(Array.isArray(e))return e}(o=r)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(o,i)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(e,t):void 0}}(o,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),l=a[0],d=a[1],p={label:u(d)||s(d)?"":d,icon:t(d),value:l};return e.push(p),(0,n.I6)(e)}),[]):[]},p=function(e){return(0,n.HD)(e)?Boolean(Number(e)):Boolean(e)},f=function(e){if((0,n.$K)(e))return String(e)},v=function(e){if((0,n.$K)(e)&&(!(0,n.HD)(e)||0!==e.length))return Number(e)},h=function(e){return(0,n.$K)(e)?(0,n.jn)(e)?f(v(e)):(0,n.hj)(e)?f(e):"true"===e?"1":"false"===e?"0":e:"0"},b=function(e){return e.replace(/[^-0-9.]/g,"")},y=function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!(0,n.$K)(e))return"";if((0,n.SI)(e))return e[t]?h(String(e[t])):"";if((0,n.JW)(e)){var o=r?e.unit:"";return e[t]?h(String(e[t]))+o:""}return(0,n.Kn)(e)?"":h(e)},m=function(e,t){if(e)return(0,n.SI)(e)?e[t]:e},g=function(e){var t=e.previous,r=e.value,n=e.responsive,o=e.device;return n?a(a({},t),{},l({},o,r)):r},w={left:"textAlignLeft",center:"textAlignCenter",right:"textAlignRight",justify:"textAlignJustify"},O={start:"verticalAlignStart",center:"verticalAlignCenter",end:"verticalAlignEnd"},E={h1:"tagH1",h2:"tagH2",h3:"tagH3",h4:"tagH4",h5:"tagH5",h6:"tagH6",p:"tagP",div:"tagDiv"},x=function(e){return(0,n.Zt)(e).some((function(t){return e[t].visibility}))},S=function(e,t,r){var o=v(e);if((0,n.$K)(o))return(0,n.$K)(t)&&(o=Math.max(t,o)),(0,n.$K)(r)&&(o=Math.min(r,o)),o}},680:(e,t,r)=>{"use strict";r.d(t,{Js:()=>p,c:()=>f,pE:()=>d,vn:()=>s});var n=r(3106),o=r(230);function i(e){return i="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},i(e)}function a(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==i(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===i(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=function(e){var t,r,n,o=e.match(/\d+/g)&&(null===(t=e.match(/\d+/g))||void 0===t?void 0:t[0]);return{weight:o?Number(o):400,style:null!==(r=e.match(/[a-zA-Z]+/g)&&(null===(n=e.match(/[a-zA-Z]+/g))||void 0===n?void 0:n[0]))&&void 0!==r?r:""}},d=function(e,t,r){if(!n.Lx.includes(e.family)){var i=window.document,a="sppagebuilder-font-".concat(e.family.replaceAll(/\s/g,"-")).replaceAll(".",""),l="google"===t?"google-fonts":"custom-fonts",c="".concat(o.Xy.pagebuilderBase,"media/com_sppagebuilder/assets/").concat(l,"/").concat(e.family,"/stylesheet.css");if("google"===t&&((null!=r?r:[]).findIndex((function(t){return t.family_name===e.family}))>=0||(c="https://fonts.googleapis.com/css?family=".concat(e.family,":100,100italic,200,200italic,300,300italic,400,400italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic&display=swap"))),!i.querySelector("#".concat(a))){var u=i.createElement("link");u.href=c,u.rel="stylesheet",u.id=a,i.head.appendChild(u)}}},p=function(e){var t,r,n,o,i,a,l,c=(r=(t={family:e.family,variants:e.variants}).family,o=(n=t.variants).join(""),i=o.includes("italic"),a=/\d/.test(o),l=n.map((function(e){var t=s(e),r=t.weight,n=t.style,o=r;return!a||"regular"!==n&&"italic"!==n||o||(o=400),i?a?"".concat("italic"===n?1:0,",").concat(o):"".concat("italic"===n?1:0):"".concat(o)})).sort().join(";"),"".concat(r.split(" ").join("+")).concat(i?":ital":"").concat(i&&a?",":"").concat(!i&&a?":":"").concat(a?"wght":"").concat((a||i)&&l?"@".concat(l):""));return"https://fonts.googleapis.com/css2?family=".concat(c,"&display=swap")},f=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=[{value:"System",label:"System Fonts",disabled:!0},{value:"Arial",label:"Arial"},{value:"Tahoma",label:"Tahoma"},{value:"Verdana",label:"Verdana"},{value:"Helvetica",label:"Helvetica"},{value:"Times New Roman",label:"Times New Roman"},{value:"Trebuchet MS",label:"Trebuchet MS"},{value:"Georgia",label:"Georgia"}];if(!e.length)return r;var n=e.map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({label:e.family_name,value:e.family_name,type:e.type},"google"===e.type&&{variants:e.data.variants})})),o=n.filter((function(e){return"google"===e.type})),i=n.filter((function(e){return"local"===e.type})),l=[];return o.length>0&&!t&&l.push.apply(l,[{value:"Google Fonts",label:"Google Fonts",disabled:!0}].concat(a(o))),i.length>0&&l.push.apply(l,[{value:"Local Fonts",label:"Local Fonts",disabled:!0}].concat(a(i))),l.push.apply(l,r),l}},6680:(e,t,r)=>{"use strict";r.d(t,{wh:()=>y,tW:()=>m,GI:()=>b});var n=r(230),o={error_unexpected:"msg_error_unexpected",error_verify_already_verified:"msg_error_verify_already_verified",error_already_exists:"msg_error_already_exists",error_login_bad_credentials:"msg_error_login_bad_credentials",error_invalid_phone_format:"msg_error_invalid_phone_format",error_anonymous_requester_info_required:"msg_error_anonymous_requester_info_required",error_login_user_email_not_verified:"msg_error_login_user_email_not_verified",error_password_is_incorrect:"msg_error_password_is_incorrect",error_user_is_inactive:"msg_error_user_is_inactive",error_new_email_already_taken:"msg_error_email_is_already_taken"},i=function(e){return(0,n.nr)(o,e)?o[e]:(console.error("Missing BE error translations: ".concat(e)),e)},a=["non_field_errors"];function l(){l=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,r){return e[t]=r}}function s(e,t,r,o){var i=t&&t.prototype instanceof v?t:v,a=Object.create(i.prototype),l=new I(o||[]);return n(a,"_invoke",{value:x(e,r,l)}),a}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var p={};function v(){}function h(){}function b(){}var y={};u(y,i,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(A([])));g&&g!==t&&r.call(g,i)&&(y=g);var w=b.prototype=v.prototype=Object.create(y);function O(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function o(n,i,a,l){var c=d(e[n],e,i);if("throw"!==c.type){var u=c.arg,s=u.value;return s&&"object"==f(s)&&r.call(s,"__await")?t.resolve(s.__await).then((function(e){o("next",e,a,l)}),(function(e){o("throw",e,a,l)})):t.resolve(s).then((function(e){u.value=e,a(u)}),(function(e){return o("throw",e,a,l)}))}l(c.arg)}var i;n(this,"_invoke",{value:function(e,r){function n(){return new t((function(t,n){o(e,r,t,n)}))}return i=i?i.then(n,n):n()}})}function x(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var l=S(a,r);if(l){if(l===p)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=d(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===p)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function S(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),p;var o=d(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,p;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function A(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:P}}function P(){return{value:void 0,done:!0}}return h.prototype=b,n(w,"constructor",{value:b,configurable:!0}),n(b,"constructor",{value:h,configurable:!0}),h.displayName=u(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,u(e,c,"GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},O(E.prototype),u(E.prototype,a,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new E(s(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},O(w),u(w,c,"Generator"),u(w,i,(function(){return this})),u(w,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=A,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(C),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(l&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),C(r),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;C(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:A(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},e}function c(e,t,r,n,o,i,a){try{var l=e[i](a),c=l.value}catch(e){return void r(e)}l.done?t(c):Promise.resolve(c).then(n,o)}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){p(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function p(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==f(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==f(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===f(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e){return f="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},f(e)}var v=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return(0,n.Zt)(t).reduce((function(o,i){var a=t[i];return"object"!==f(a)||(0,n.OC)(a)||(0,n.ub)(a)?d(d({},o),{},p({},"".concat(r).concat(i),a)):d(d({},o),e(d({},a),"".concat(r).concat(i,".")))}),{})},h=function(e,t,r){if(!(0,n.IZ)(e)||!e.response)throw e;var o=function(e,t){var r=e;if(404===r.status||403===r.status||500===r.status)return{nonFieldErrors:["Unexpected error!"]};var o=v(t),l=v(r.data),c=l.non_field_errors,s=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(l,a),f=(0,n.GI)(c)?c:[];return Object.keys(s).forEach((function(e){if(!(e in o)){var t=l[e];(0,n.GI)(t)&&f.push.apply(f,function(e){if(Array.isArray(e))return u(e)}(r=t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())}var r})),{nonFieldErrors:f.map(i),fieldErrors:Object.keys(l).filter((function(e){return e in o})).reduce((function(e,t){var r=l[t];return(0,n.GI)(r)?d(d({},e),{},p({},t,r.map(i))):e}),{})}}(e.response,r),l=o.fieldErrors,c=o.nonFieldErrors;null!=c&&c.length&&t.setSubmitError(c[0]),l&&Object.keys(l).forEach((function(e){var r=l[e];r.length>0&&t.setError(e,{message:r[0]})}))},b=function(e,t){return function(){var r,n=(r=l().mark((function r(n){return l().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return e.setSubmitError(void 0),r.prev=1,r.next=4,t(n);case 4:r.next=9;break;case 6:r.prev=6,r.t0=r.catch(1),h(r.t0,e,n);case 9:case"end":return r.stop()}}),r,null,[[1,6]])})),function(){var e=this,t=arguments;return new Promise((function(n,o){var i=r.apply(e,t);function a(e){c(i,n,o,a,l,"next",e)}function l(e){c(i,n,o,a,l,"throw",e)}a(void 0)}))});return function(e){return n.apply(this,arguments)}}()},y=function(e,t){var r=new FormData;return(0,n.Zt)(e).forEach((function(t){var o=e[t];(0,n.kJ)(o)?o.forEach((function(e,o){(0,n.ub)(e)||(0,n.HD)(e)?r.append("".concat(t,"[").concat(o,"]"),e):(0,n.jn)(e)||(0,n.hj)(e)?r.append("".concat(t,"[").concat(o,"]"),e.toString()):"object"===f(e)&&null!==e?r.append("".concat(t,"[").concat(o,"]"),JSON.stringify(e)):r.append("".concat(t,"[").concat(o,"]"),e)})):(0,n.ub)(o)||(0,n.HD)(o)?r.append(String(t),o):(0,n.jn)(o)?r.append(String(t),String(o)):(0,n.hj)(o)?r.append(String(t),"".concat(o)):"object"===f(o)&&null!==o?r.append(String(t),JSON.stringify(o)):r.append(String(t),o)})),r.append("_method",t.toUpperCase()),r},m=function(e){var t={};for(var r in e){var o=e[r];(0,n.$K)(o)?(0,n.jn)(o)?t[r]=!0===o?"true":"false":t[r]=o:t[r]="null"}return t}},6216:(e,t,r)=>{"use strict";r.d(t,{Rv:()=>o,fp:()=>i,pj:()=>n});var n=function(e,t){localStorage.setItem(e,t)},o=function(e){localStorage.removeItem(e)},i=function(e){return"undefined"!=typeof window&&localStorage.getItem(e)||null}},1921:(e,t,r)=>{"use strict";r.d(t,{CN:()=>a,M6:()=>u,iZ:()=>c});var n=r(3106),o=r(824),i=r(917),a=function(){return(0,i.iv)("*,*::before,*::after{box-sizing:border-box;}html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0;padding:0;font-family:",o.I8.sansSerif,";&.contentpane{padding:0;}}#system-message-container{display:none;}main{display:block;}p{margin-top:0;margin-bottom:1rem;}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none;}address{margin-bottom:1rem;font-style:normal;line-height:inherit;}ol,ul{padding-left:2rem;}ol,ul,dl{margin-top:0;margin-bottom:1rem;}ol ol,ul ul,ol ul,ul ol{margin-bottom:0;}dt{font-weight:700;}dd{margin-bottom:0.5rem;margin-left:0;}blockquote{margin:0 0 1rem;}b,strong{font-weight:bolder;}small,.small{font-size:0.875em;}mark,.mark{padding:0.1875em;background-color:var(--highlight-bg);}sub,sup{position:relative;font-size:0.75em;line-height:0;vertical-align:baseline;}sub{bottom:-0.25em;}sup{top:-0.5em;}a{color:var(--link-color);text-decoration:none;}a:hover{color:var(--link-hover-color);}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none;}pre,code,kbd,samp{font-family:var(--font-monospace);font-size:1em;}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:0.875em;}pre code{font-size:inherit;color:inherit;word-break:normal;}code{font-size:0.875em;color:var(--code-color);word-wrap:break-word;}a>code{color:inherit;}kbd{padding:0.1875rem 0.375rem;font-size:0.875em;color:var(--body-bg);background-color:var(--body-color);border-radius:0.2rem;}kbd kbd{padding:0;font-size:1em;}figure{margin:0 0 1rem;}img,svg{vertical-align:middle;}table{caption-side:bottom;border-collapse:collapse;}caption{padding-top:0.75rem;padding-bottom:0.75rem;color:#666e76;text-align:left;}th{text-align:inherit;text-align:-webkit-match-parent;}thead,tbody,tfoot,tr,td,th{border-color:inherit;border-style:solid;border-width:0;}label{display:inline-block;}button{border-radius:0;}button:focus:not(:focus-visible){outline:0;}input,button,select,optgroup,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit;}button,select{text-transform:none;}h1{font-size:2em;margin:0.67em 0;}ol,ul{",c.ulReset,";}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace,monospace;font-size:1em;}a{background-color:transparent;}a[target='_blank']::before{content:''!important;}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder;}code,kbd,samp{font-family:monospace,monospace;font-size:1em;}small{font-size:80%;}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}sub{bottom:-0.25em;}sup{top:-0.5em;}img{border-style:none;}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible;}button,select{text-transform:none;}button,[type='button'],[type='reset'],[type='submit']{-webkit-appearance:button;appearance:button;}button::-moz-focus-inner,[type='button']::-moz-focus-inner,[type='reset']::-moz-focus-inner,[type='submit']::-moz-focus-inner{border-style:none;padding:0;}button:-moz-focusring,[type='button']:-moz-focusring,[type='reset']:-moz-focusring,[type='submit']:-moz-focusring{outline:1px dotted ",o.qo.stroke.default,";}fieldset{padding:0.35em 0.75em 0.625em;}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline;}textarea{overflow:auto;}[type='checkbox'],[type='radio']{box-sizing:border-box;padding:0;}[type='number']::-webkit-inner-spin-button,[type='number']::-webkit-outer-spin-button{height:auto;}[type='search']{-webkit-appearance:textfield;appearance:textfield;outline-offset:-2px;}[type='search']::-webkit-search-decoration{-webkit-appearance:none;}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block;}summary{display:list-item;}template{display:none;}[hidden]{display:none;}:is(h1, h2, h3, h4, h5, h6, p){padding:0;margin:0;};label:createGlobalCss;")},l={name:"13hngts-flexCenter",styles:"flex-direction:column;label:flexCenter;"},c={centeredFlex:{name:"4l3qjc-centeredFlex",styles:"display:flex;justify-content:center;align-items:center;width:100%;height:100%;label:centeredFlex;"},flexCenter:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"row";return(0,i.iv)("display:flex;justify-content:center;align-items:center;flex-direction:row;","column"===e&&l,";;label:flexCenter;")},ulReset:{name:"1o0hw1z-ulReset",styles:"list-style:none;padding:0;margin:0;label:ulReset;"},resetButton:(0,i.iv)("background:none;border:none;outline:none;padding:0;margin:0;text-align:inherit;font-family:",o.I8.sansSerif,";cursor:pointer;;label:resetButton;"),cardInnerSection:(0,i.iv)("display:flex;flex-direction:column;gap:",o.W0[8],";padding:",o.W0[16]," ",o.W0[12],";;label:cardInnerSection;"),fieldGroups:function(e){return(0,i.iv)("display:flex;flex-direction:column;gap:",o.W0[e],";;label:fieldGroups;")},addAnotherOptionButton:(0,i.iv)("background:none;border:none;outline:none;padding:0;margin:0;text-align:inherit;font-family:",o.I8.sansSerif,";display:flex;gap:",o.W0[8],";align-items:end;color:",o.qo.action.primary.default,";:hover{text-decoration:underline;};label:addAnotherOptionButton;"),titleAliasWrapper:(0,i.iv)("display:flex;flex-direction:column;gap:",o.W0[12],";;label:titleAliasWrapper;"),inlineSwitch:{name:"p97bve-inlineSwitch",styles:"display:flex;justify-content:space-between;align-items:center;label:inlineSwitch;"},overflowYAuto:(0,i.iv)("overflow-y:auto;::-webkit-scrollbar{background-color:",o.qo.base.white,";width:6px;}::-webkit-scrollbar-thumb{background-color:",o.qo.base.secondary,";border-radius:",o.E0[6],";}scrollbar-width:6px;;label:overflowYAuto;"),textEllipsis:{name:"q6j1eh-textEllipsis",styles:"text-overflow:ellipsis;overflow:hidden;white-space:nowrap;label:textEllipsis;"},hideScrollbar:{name:"1ez62xl-hideScrollbar",styles:"scrollbar-width:none;&::-webkit-scrollbar{display:none;}&::-ms-scrollbar{display:none;};label:hideScrollbar;"},textCenter:{name:"lfnssf-textCenter",styles:"text-align:center;label:textCenter;"}},u={methodWrapper:(0,i.iv)("display:flex;flex-direction:column;gap:",o.W0[20],";background-color:",o.qo.background.active,";padding:",o.W0[24],";border-radius:",o.E0[6],";position:relative;;label:methodWrapper;"),actionButtonWrapper:(0,i.iv)("display:flex;gap:",o.W0[8],";justify-content:end;margin-top:",o.W0[4],";;label:actionButtonWrapper;"),removeButton:(0,i.iv)("position:absolute;top:",o.W0[8],";right:",o.W0[8],";z-index:",o.W5.positive,";width:32px;height:32px;border-radius:",o.E0.circle,";transition:background-color 0.3s ease-in-out,color 0.3s ease-in-out;",c.flexCenter(),";:hover{background-color:",o.qo.base.white,";color:",o.qo.base.error,";};label:removeButton;"),overflowYAuto:(0,i.iv)("overflow-y:auto;::-webkit-scrollbar{background-color:",o.qo.base.white,";width:10px;}::-webkit-scrollbar-thumb{background-color:",o.qo.base.secondary,";border-radius:",o.E0[6],";};label:overflowYAuto;"),controllerWrapper:(0,i.iv)("display:flex;flex-direction:column;gap:",o.W0[20],";background:",o.qo.background.active,";border-radius:",o.E0[6],";padding:",o.W0[24],";position:relative;;label:controllerWrapper;"),footer:(0,i.iv)("margin-top:",o.W0[32],";text-align:right;display:flex;gap:",o.W0[16],";justify-content:end;;label:footer;"),settingsPanelContent:(0,i.iv)("height:calc(100vh - ",n.g3+40+40,"px);padding:",o.W0[16]," ",o.W0[8],";overflow-y:auto;;label:settingsPanelContent;")}},6795:(e,t,r)=>{"use strict";r.d(t,{ME:()=>f,VG:()=>p,ed:()=>v,m5:()=>u});var n=r(3106),o=r(7273),i=r(230);function a(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=l(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function l(e,t){if(e){if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(e,t):void 0}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var u=function(e){return"nested_row"===e.type},s=function(e){return!!(0,i.$K)(e)&&((0,i.HD)(e)?"true"===e||"1"===e||"false"!==e&&"0"!==e&&0!==e.length&&e:(0,i.hj)(e)?0!==e&&(1===e||e):e)},d=function(e,t){var r=!0;if(0===e.length)return r;var c,u,d,p=a(e);try{for(p.s();!(c=p.n()).done;){var f=c.value,v=f;if((0,i.Kn)(f)){var h=(0,i.Zt)(f),b=(0,i.zt)(f);v=[h[0],"=",b[0]]}var y=(d=3,function(e){if(Array.isArray(e))return e}(u=v)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(u,d)||l(u,d)||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.")}()),m=y[0],g=y[1],w=y[2],O=s((0,o.oo)(t[m],n.zu)),E=s(w);"="===g?r&&(r=O===E):"!="===g&&r&&(r=O!==E)}}catch(e){p.e(e)}finally{p.f()}return r},p=function(e,t){var r=(0,i.Zt)(e);if(!t)return e;var o,l,c=a(r);try{for(c.s();!(o=c.n()).done;){var u=e[o.value];if((0,i.$K)(u.depends)){if((0,i.Kn)(u.depends)){var s=(0,i.Zt)(u.depends),p=(0,i.zt)(u.depends);u.depends=[[s[0],"=",p[0]]]}u.visibility=d(u.depends,t)}var f,v=u.fields,h=a((0,i.Zt)(v));try{for(h.s();!(f=h.n()).done;){var b=v[f.value];if(l=b,(0,i.Kn)(l)&&"type"in l&&n.aX.includes(l.type)){var y;if((0,i.Kn)(b.depends)){var m=(0,i.Zt)(b.depends),g=(0,i.zt)(b.depends);b.depends=[[m[0],"=",g[0]]]}b.visibility=d(null!==(y=b.depends)&&void 0!==y?y:[],t)}}}catch(e){h.e(e)}finally{h.f()}}}catch(e){c.e(e)}finally{c.f()}return e},f=function(e){var t,r=a((0,i.Zt)(e));try{for(r.s();!(t=r.n()).done;){var n=t.value,o=e[n];if(o.is_header&&"checkbox"===o.type)return{name:n,field:o}}}catch(e){r.e(e)}finally{r.f()}return null},v=function(e){var t=f(e);return!!(0,i.$K)(t)&&(0,i.Zt)(e).filter((function(e){return e!==t.name})).every((function(t){return!e[t].visibility}))}},230:(e,t,r)=>{"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)}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==n(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,"string");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===n(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,{Xy:()=>R,cW:()=>E,z3:()=>ne,r3:()=>O,OV:()=>K,x9:()=>q,td:()=>oe,q7:()=>k,J0:()=>G,Zt:()=>W,zt:()=>N,sZ:()=>H,R5:()=>z,nr:()=>L,kJ:()=>A,IZ:()=>j,jn:()=>C,$K:()=>x,ub:()=>T,Eu:()=>te,GN:()=>P,SI:()=>B,JW:()=>M,hj:()=>_,Kn:()=>I,OC:()=>D,gX:()=>Y,HD:()=>S,GI:()=>Z,Dv:()=>F,x0:()=>g,ZT:()=>m,Lg:()=>ee,Rx:()=>$,I6:()=>U,M9:()=>X,MF:()=>J,w6:()=>w,fF:()=>V,K6:()=>re});var l,c=i(i({},{saveClose:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M31.693 10.667a8.669 8.669 0 0 1-7.377 8.57v8.067a2.572 2.572 0 0 1-2.571 2.571H2.888a2.539 2.539 0 0 1-2.572-2.571V8.446a2.572 2.572 0 0 1 2.572-2.571h12.915a8.667 8.667 0 0 1 15.89 4.792Zm-9.948 16.315V19.24a8.67 8.67 0 0 1-6.042-3.935H6.745c-.75 0-1.286-.536-1.286-1.286V8.446H3.21c-.214 0-.321.161-.321.322v18.214c0 .214.107.322.321.322h18.215c.16 0 .321-.108.321-.322Zm-7.386-16.315c0-.768.1-1.512.287-2.22H8.031v4.285h6.576a8.689 8.689 0 0 1-.248-2.065Zm-2.043 5.922c-2.625 0-4.714 2.143-4.714 4.715a4.687 4.687 0 0 0 4.714 4.714c2.572 0 4.715-2.09 4.715-4.714 0-2.572-2.143-4.715-4.715-4.715Zm0 6.857c-1.232 0-2.143-.91-2.143-2.142 0-1.179.911-2.143 2.143-2.143a2.15 2.15 0 0 1 2.143 2.143c0 1.232-.964 2.142-2.143 2.142ZM28.167 6.51l-4.153 4.154 4.153 4.153a.69.69 0 1 1-.977.977l-4.154-4.153-4.153 4.153a.69.69 0 0 1-.977 0 .69.69 0 0 1 0-.977l4.153-4.153-4.153-4.154a.69.69 0 1 1 .977-.977l4.154 4.153 4.153-4.153a.69.69 0 1 1 .977.977Z" fill="currentColor"/>',viewBox:"0 0 32 32"},saveNew:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M12.38 16.657c-2.637 0-4.736 2.153-4.736 4.736a4.71 4.71 0 0 0 4.736 4.737c2.584 0 4.737-2.1 4.737-4.737 0-2.583-2.153-4.736-4.737-4.736Zm0 6.89c-1.238 0-2.153-.916-2.153-2.154 0-1.184.915-2.152 2.153-2.152a2.16 2.16 0 0 1 2.153 2.152c0 1.238-.968 2.153-2.153 2.153Z" fill="#676D98"/><path fill-rule="evenodd" clip-rule="evenodd" d="M31.836 10.832a8.71 8.71 0 0 1-7.4 8.61v7.98a2.584 2.584 0 0 1-2.583 2.583H2.908a2.55 2.55 0 0 1-2.584-2.583V8.476c0-1.4 1.13-2.583 2.584-2.583h13.049a8.707 8.707 0 0 1 15.879 4.94ZM21.853 27.1v-7.652a8.711 8.711 0 0 1-6.16-4.082h-8.91c-.754 0-1.292-.538-1.292-1.291V8.476h-2.26c-.216 0-.323.162-.323.323v18.3c0 .215.107.323.323.323h18.3c.16 0 .322-.108.322-.323Zm-7.432-16.267c0-.816.113-1.607.323-2.356h-6.67v4.306h6.566a8.732 8.732 0 0 1-.219-1.95Zm9.432-4.644a.714.714 0 0 0-1.429 0v3.93h-3.929a.715.715 0 0 0 0 1.429h3.93v3.93a.714.714 0 1 0 1.428 0v-3.93h3.93a.714.714 0 0 0 0-1.43h-3.93V6.189Z" fill="currentColor"/>',viewBox:"0 0 32 32"},cornerGear:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M4.852 0H0v4.817h3.235V3.211h1.617V0Zm12.94 0h-6.47v3.211h6.47V0Zm11.322 0H24.26v3.211h1.618v1.606h3.235V0ZM0 11.24v6.423h3.235V11.24H0Zm29.114 6.423V11.24h-3.235v6.423h3.235Zm-25.88 6.423H0v4.817h4.852v-3.211H3.235v-1.606Zm8.088 4.817h6.47v-3.211h-6.47v3.211Zm19.462-2.213 1.062.6a.337.337 0 0 1 .148.349c-.297.899-.741 1.698-1.359 2.372a.297.297 0 0 1-.37.05l-1.062-.6a4.953 4.953 0 0 1-1.482.875v1.224c0 .125-.1.25-.247.3a6.52 6.52 0 0 1-2.693 0c-.123-.05-.222-.175-.222-.3v-1.224c-.568-.2-1.062-.5-1.507-.874l-1.062.6a.297.297 0 0 1-.37-.05 6.402 6.402 0 0 1-1.334-2.373.289.289 0 0 1 .123-.35l1.062-.6a5.34 5.34 0 0 1 0-1.772l-1.062-.6a.289.289 0 0 1-.123-.35c.271-.898.74-1.697 1.333-2.372a.297.297 0 0 1 .371-.05l1.062.625c.445-.4.939-.7 1.507-.9v-1.223c0-.125.074-.25.222-.275a5.772 5.772 0 0 1 2.693 0 .29.29 0 0 1 .247.275v1.224c.543.2 1.037.5 1.482.874l1.062-.6a.297.297 0 0 1 .37.05 6.403 6.403 0 0 1 1.334 2.373c.05.125 0 .274-.123.35l-1.063.599a4.29 4.29 0 0 1 0 1.773Zm-6.62-.9c0 1.125.864 1.999 1.976 1.999a1.977 1.977 0 0 0 1.976-1.998c0-1.099-.89-1.998-1.976-1.998-1.112 0-1.976.899-1.976 1.998Z" fill="currentColor"/>',viewBox:"0 0 32 32"},expandAll:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M9.68417 2.5549H4.37292L12.2388 10.4544C12.7429 10.925 12.7429 11.7318 12.2388 12.236C11.7682 12.7401 10.9613 12.7401 10.4572 12.236L2.59113 4.36995L2.59136 9.64795C2.59136 10.354 2.01993 10.9254 1.31391 10.9254C0.607895 10.9254 0.036461 10.354 0.036461 9.64795V1.27768C0.036461 0.571668 0.607865 0.000234483 1.31391 0.000234483L9.68417 0C10.3902 0 10.9616 0.571434 10.9616 1.27745C10.9616 1.98347 10.3902 2.5549 9.68417 2.5549ZM29.4102 22.3173C29.4102 21.6113 29.9816 21.0399 30.6877 21.0399L30.6874 21.0399C31.3934 21.0399 31.9648 21.6114 31.9648 22.3174L31.9651 30.7213C31.9651 31.4273 31.3936 31.9987 30.6876 31.9987H22.3173C21.6113 31.9987 21.0399 31.4273 21.0399 30.7213C21.0399 30.0153 21.6113 29.4438 22.3173 29.4438H27.6286L19.7962 21.5778C19.292 21.1072 19.292 20.3003 19.7962 19.7962C20.2668 19.292 21.0737 19.292 21.5778 19.7962L29.4102 27.6286V22.3173ZM10.4209 19.8008L2.5549 27.6332V22.322C2.5549 21.6159 1.98347 21.0445 1.27745 21.0445C0.571434 21.0445 0 21.6159 0 22.322V30.6922C0 31.3983 0.571434 31.9697 1.27745 31.9697H9.64771C10.3538 31.9697 10.9252 31.3982 10.9252 30.6922C10.9252 29.9862 10.3537 29.4148 9.64771 29.4148H4.36996L12.236 21.5487C12.7401 21.0446 12.7401 20.2377 12.236 19.7671C11.7319 19.2963 10.9252 19.2963 10.4209 19.8007L10.4209 19.8008ZM22.3173 0.036461H30.6876L30.6875 0.036521C31.3935 0.036521 31.965 0.607925 31.9985 1.31397L31.9987 9.68423C31.9987 10.3903 31.4273 10.9617 30.7213 10.9617C30.0153 10.9617 29.4438 10.3903 29.4438 9.68423V4.37298L21.5778 12.2054C21.1072 12.7095 20.3003 12.7095 19.7962 12.2054C19.292 11.7348 19.292 10.9279 19.7962 10.4238L27.6286 2.59136H22.3173C21.6113 2.59136 21.0399 2.01993 21.0399 1.31391C21.0399 0.607895 21.6113 0.036461 22.3173 0.036461Z" fill="currentColor" />',viewBox:"0 0 32 32"},collapseAll:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M12.3566 2.8512L12.3566 11.0827L12.3565 11.0826C12.3565 11.7769 11.7938 12.3389 11.0984 12.3719L2.85525 12.3721C2.15995 12.3721 1.59719 11.8101 1.59719 11.1158C1.59719 10.4215 2.15992 9.85955 2.85525 9.85955H8.08587L0.372362 2.12392C-0.124121 1.66111 -0.124121 0.867614 0.372362 0.371834C0.835835 -0.123945 1.63045 -0.123945 2.12694 0.371835L9.84044 8.07441V2.8512C9.84044 2.15689 10.4032 1.59493 11.0985 1.59493C11.7938 1.59493 12.3566 2.15686 12.3566 2.8512ZM12.3566 29.1507L12.3566 20.9192L12.3565 20.9194C12.3565 20.225 11.7938 19.6631 11.0984 19.6301L2.85525 19.6299C2.15995 19.6299 1.59719 20.1918 1.59719 20.8861C1.59719 21.5804 2.15992 22.1424 2.85525 22.1424H8.08587L0.372362 29.878C-0.124121 30.3408 -0.124121 31.1343 0.372362 31.6301C0.835835 32.1259 1.63045 32.1259 2.12694 31.6301L9.84044 23.9275V29.1507C9.84044 29.8451 10.4032 30.407 11.0985 30.407C11.7938 30.407 12.3566 29.8451 12.3566 29.1507ZM19.6423 11.0827V2.8512C19.6423 2.15686 20.205 1.59493 20.9003 1.59493C21.5956 1.59493 22.1584 2.15689 22.1584 2.8512V8.07441L29.8719 0.371835C30.3684 -0.123945 31.163 -0.123945 31.6265 0.371834C32.1229 0.867614 32.1229 1.66111 31.6265 2.12392L23.913 9.85955H29.1436C29.8389 9.85955 30.4016 10.4215 30.4016 11.1158C30.4016 11.8101 29.8389 12.3721 29.1436 12.3721L20.9004 12.3719C20.2051 12.3389 19.6423 11.7769 19.6423 11.0826L19.6423 11.0827ZM19.6423 29.1507V20.9192L19.6423 20.9194C19.6423 20.225 20.2051 19.6631 20.9004 19.6301L29.1436 19.6299C29.8389 19.6299 30.4016 20.1918 30.4016 20.8861C30.4016 21.5804 29.8389 22.1424 29.1436 22.1424H23.913L31.6265 29.878C32.1229 30.3408 32.1229 31.1343 31.6265 31.6301C31.163 32.1259 30.3684 32.1259 29.8719 31.6301L22.1584 23.9275V29.1507C22.1584 29.8451 21.5956 30.407 20.9003 30.407C20.205 30.407 19.6423 29.8451 19.6423 29.1507Z" fill="currentColor" />',viewBox:"0 0 32 32"},roundedCorner:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M0 4.85393C0 2.17318 2.17318 0 4.85393 0H27.1461C29.8268 0 32 2.17318 32 4.85393V27.1461C32 29.8268 29.8268 32 27.1461 32H4.85393C2.17318 32 0 29.8268 0 27.1461V4.85393ZM4.85393 3.23595C3.96035 3.23595 3.23595 3.96035 3.23595 4.85393V27.1461C3.23595 28.0397 3.96035 28.764 4.85393 28.764H27.1461C28.0397 28.764 28.764 28.0397 28.764 27.1461V4.85393C28.764 3.96035 28.0397 3.23595 27.1461 3.23595H4.85393Z" fill="#4E5487" fill="currentColor"/>',viewBox:"0 0 32 32"},ellipsisDoubleX:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M5.6 14.2a2.6 2.6 0 100-5.2 2.6 2.6 0 000 5.2zm0 8.667a2.6 2.6 0 100-5.2 2.6 2.6 0 000 5.2zm13-11.267a2.6 2.6 0 11-5.2 0 2.6 2.6 0 015.2 0zM16 22.867a2.6 2.6 0 100-5.2 2.6 2.6 0 000 5.2zM29 11.6a2.6 2.6 0 11-5.2 0 2.6 2.6 0 015.2 0zm-2.6 11.267a2.6 2.6 0 100-5.2 2.6 2.6 0 000 5.2z" fill="currentColor"/>',viewBox:"0 0 32 32"},ellipsisDoubleY:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M17.8 5.6a2.6 2.6 0 105.2 0 2.6 2.6 0 00-5.2 0zm-8.667 0a2.6 2.6 0 105.2 0 2.6 2.6 0 00-5.2 0zm11.267 13a2.6 2.6 0 110-5.2 2.6 2.6 0 010 5.2zM9.133 16a2.6 2.6 0 105.2 0 2.6 2.6 0 00-5.2 0zM20.4 29a2.6 2.6 0 110-5.2 2.6 2.6 0 010 5.2zM9.133 26.4a2.6 2.6 0 105.2 0 2.6 2.6 0 00-5.2 0z" fill="currentColor"/>',viewBox:"0 0 32 32"},ellipsisX:{icon:'<path d="M19.484 16.484C19.484 14.597 17.887 13 16 13c-1.935 0-3.484 1.597-3.484 3.484A3.47 3.47 0 0016 19.968c1.887 0 3.484-1.549 3.484-3.484zM24.516 13c-1.935 0-3.484 1.597-3.484 3.484a3.47 3.47 0 003.484 3.484c1.887 0 3.484-1.549 3.484-3.484C28 14.597 26.403 13 24.516 13zM7.484 13C5.548 13 4 14.597 4 16.484a3.47 3.47 0 003.484 3.484c1.887 0 3.484-1.549 3.484-3.484C10.968 14.597 9.37 13 7.484 13z" fill="currentColor"/>',viewBox:"0 0 32 32"},ellipsisY:{icon:'<path d="M16.516 19.484C18.403 19.484 20 17.887 20 16c0-1.935-1.597-3.484-3.484-3.484A3.47 3.47 0 0013.032 16c0 1.887 1.549 3.484 3.484 3.484zM20 24.516c0-1.935-1.597-3.484-3.484-3.484a3.47 3.47 0 00-3.484 3.484c0 1.887 1.549 3.484 3.484 3.484C18.403 28 20 26.403 20 24.516zm0-17.032C20 5.548 18.403 4 16.516 4a3.47 3.47 0 00-3.484 3.484c0 1.887 1.549 3.484 3.484 3.484C18.403 10.968 20 9.37 20 7.484z" fill="currentColor"/>',viewBox:"0 0 32 32"},angleLeft:{icon:'<path d="M8.91 16.007c0 .345.133.69.387.926l10.615 10.694c.227.235.522.373.857.373.696 0 1.231-.539 1.231-1.257 0-.346-.134-.664-.348-.898l-9.745-9.838 9.745-9.852c.214-.22.348-.538.348-.898C22 4.54 21.465 4 20.768 4c-.334 0-.629.138-.87.373l-10.6 10.694c-.255.263-.389.58-.389.94z" fill="currentColor"/>',viewBox:"0 0 32 32"},angleLeftBold:{icon:'<path d="M4.63832 0.15601C4.68859 0.105907 4.74845 0.0664547 4.81432 0.0400107C4.88314 0.0131341 4.95643 -0.000439239 5.03031 1.08367e-05C5.0989 0.000663456 5.16675 0.0142335 5.23031 0.0400107C5.29642 0.0659993 5.35637 0.10551 5.40631 0.15601L5.91431 0.664009C5.9652 0.714884 6.00653 0.7745 6.03631 0.840008C6.06713 0.907479 6.08543 0.979991 6.09031 1.05401C6.0907 1.12737 6.07922 1.20031 6.05631 1.27001C6.0321 1.33606 5.99389 1.3961 5.94431 1.44601L2.38232 4.99999L5.93831 8.55398C5.99267 8.60187 6.03454 8.66228 6.06031 8.72998C6.08322 8.79968 6.0947 8.87262 6.09431 8.94598C6.08943 9.02 6.07113 9.09251 6.04031 9.15998C6.01053 9.22549 5.9692 9.2851 5.91831 9.33598L5.41031 9.84398C5.36036 9.89448 5.30042 9.93399 5.23431 9.95998C5.16624 9.98703 5.09356 10.0006 5.02031 9.99998C4.95175 9.99909 4.88394 9.98553 4.82032 9.95998C4.75445 9.93353 4.69459 9.89408 4.64432 9.84398L0.18633 5.39999C0.125378 5.35376 0.0766339 5.29334 0.0443302 5.22399C0.0125869 5.15372 -0.00247217 5.07705 0.000330366 4.99999C-0.000619339 4.92589 0.0158206 4.85259 0.0483302 4.786C0.0824329 4.7189 0.12931 4.65912 0.18633 4.61L4.63832 0.15601Z" fill="#3366FF"/>',viewBox:"0 0 7 10"},angleRight:{icon:'<path d="M22.09 15.993c0-.345-.133-.69-.387-.926L11.088 4.373A1.176 1.176 0 0010.232 4C9.535 4 9 4.539 9 5.257c0 .346.134.664.348.898l9.745 9.838-9.745 9.852a1.284 1.284 0 00-.348.898C9 27.46 9.535 28 10.232 28c.334 0 .629-.138.87-.373l10.6-10.694c.255-.263.389-.58.389-.94z" fill="currentColor"/>',viewBox:"0 0 32 32"},angleUp:{icon:'<path d="M15.993 8.91c-.345 0-.69.133-.926.387L4.373 19.912a1.176 1.176 0 00-.373.857C4 21.465 4.539 22 5.257 22c.346 0 .664-.134.898-.348l9.838-9.745 9.852 9.745c.22.214.538.348.898.348.718 0 1.257-.535 1.257-1.232 0-.334-.138-.629-.373-.87l-10.694-10.6a1.317 1.317 0 00-.94-.389z" fill="currentColor"/>',viewBox:"0 0 32 32"},angleDown:{icon:'<path d="M16.007 22.09c.345 0 .69-.133.926-.387l10.694-10.615c.235-.227.373-.522.373-.856C28 9.535 27.461 9 26.743 9c-.346 0-.664.134-.898.348l-9.838 9.745-9.852-9.745A1.284 1.284 0 005.257 9C4.54 9 4 9.535 4 10.232c0 .334.138.629.373.87l10.694 10.6c.263.255.58.389.94.389z" fill="currentColor"/>',viewBox:"0 0 32 32"},times:{icon:'<path d="M18.565 16L29.468 5.097c.71-.71.71-1.856 0-2.565a1.812 1.812 0 00-2.565 0L16 13.435 5.097 2.532a1.812 1.812 0 00-2.565 0c-.71.71-.71 1.856 0 2.565L13.435 16 2.532 26.903a1.812 1.812 0 001.283 3.096c.464 0 .928-.177 1.282-.531L16 18.565l10.903 10.903a1.81 1.81 0 002.565 0c.71-.71.71-1.856 0-2.565L18.565 16z" fill="currentColor"/>',viewBox:"0 0 32 32"},timesAlt:{icon:'<path d="M20.17 16l6.254-6.254a1.966 1.966 0 000-2.78l-1.39-1.39a1.966 1.966 0 00-2.78 0L16 11.83 9.746 5.576a1.966 1.966 0 00-2.78 0l-1.39 1.39a1.966 1.966 0 000 2.78L11.83 16l-6.254 6.254a1.966 1.966 0 000 2.78l1.39 1.39a1.966 1.966 0 002.78 0L16 20.17l6.254 6.254a1.966 1.966 0 002.78 0l1.39-1.39a1.966 1.966 0 000-2.78L20.17 16z" fill="currentColor"/>',viewBox:"0 0 32 32"},check:{icon:'<path d="M11.19 26.568L1.44 16.98a1.458 1.458 0 010-2.086l2.12-2.087a1.518 1.518 0 012.122 0l6.568 6.46L26.318 5.431a1.518 1.518 0 012.121 0l2.122 2.086c.585.576.585 1.51 0 2.086L13.31 26.568a1.518 1.518 0 01-2.122 0z" fill="currentColor"/>',viewBox:"0 0 32 32"},checkAlt:{icon:'<path d="M12.495 30.407c.898 0 1.592-.372 2.083-1.1L30.492 4.521c.356-.558.508-1.032.508-1.49C31 1.83 30.154 1 28.934 1c-.829 0-1.337.305-1.845 1.1L12.411 25.38l-7.534-9.668c-.508-.66-1.033-.931-1.778-.931C1.88 14.781 1 15.645 1 16.83c0 .524.186 1.032.626 1.557l8.77 10.937c.593.745 1.22 1.083 2.1 1.083z" fill="currentColor"/>',viewBox:"0 0 32 32"},checkCircle:{icon:'<path d="M16 1C7.714 1 1 7.774 1 16c0 8.286 6.714 15 15 15 8.226 0 15-6.714 15-15 0-8.226-6.774-15-15-15zm0 2.903c6.653 0 12.097 5.444 12.097 12.097 0 6.714-5.444 12.097-12.097 12.097A12.055 12.055 0 013.903 16C3.903 9.347 9.286 3.903 16 3.903zm8.468 7.924l-1.391-1.392c-.242-.302-.726-.302-1.029 0l-8.528 8.468-3.629-3.629c-.302-.302-.726-.302-1.028 0l-1.391 1.33c-.242.303-.242.787 0 1.03l5.504 5.564c.302.302.726.302 1.028 0l10.464-10.343c.242-.303.242-.787 0-1.028z" fill="currentColor"/>',viewBox:"0 0 32 32"},plus:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M16 2a2.333 2.333 0 00-2.333 2.333v9.334H4.333a2.333 2.333 0 000 4.666h9.334v9.334a2.333 2.333 0 004.667 0v-9.334h9.333a2.333 2.333 0 000-4.666h-9.334V4.333A2.333 2.333 0 0016 2z" fill="currentColor"/>',viewBox:"0 0 32 32"},plusCircle:{icon:'<path d="M16.008 32C24.768 32 32 24.768 32 16.008 32 7.232 24.752 0 15.992 0 7.232 0 0 7.232 0 16.008 0 24.768 7.232 32 16.008 32zm-.032-8.37c-.976 0-1.593-.715-1.593-1.706V17.6h-4.55C8.824 17.6 8.11 17 8.11 16.024c0-.991.682-1.609 1.722-1.609h4.55v-4.55c0-.991.619-1.707 1.594-1.707.975 0 1.625.7 1.625 1.707v4.55h4.567c1.04 0 1.706.618 1.706 1.61 0 .975-.699 1.576-1.706 1.576H17.6v4.323c0 1.024-.65 1.706-1.625 1.706z" fill="currentColor"/>',viewBox:"0 0 32 32"},plusSquare:{icon:'<path d="M24.571 14.929c0-.402-.401-.804-.803-.804h-5.893V8.232c0-.402-.402-.803-.804-.803H14.93a.814.814 0 00-.804.803v5.893H8.232a.814.814 0 00-.803.804v2.142c0 .47.334.804.803.804h5.893v5.893c0 .469.335.803.804.803h2.142a.814.814 0 00.804-.803v-5.893h5.893a.814.814 0 00.803-.804V14.93zM31 4.214C31 2.474 29.527 1 27.786 1H4.214A3.215 3.215 0 001 4.214v23.572C1 29.594 2.406 31 4.214 31h23.572A3.215 3.215 0 0031 27.786V4.214zm-3.214 23.17c0 .268-.201.402-.402.402H4.616c-.268 0-.402-.134-.402-.402V4.616c0-.2.134-.402.402-.402h22.768c.2 0 .402.201.402.402v22.768z" fill="currentColor"/>',viewBox:"0 0 32 32"},minus:{icon:'<rect x="30" y="14" width="4.667" height="28" rx="2" transform="rotate(90 30 14)" fill="currentColor"/>',viewBox:"0 0 32 32"},minusCircle:{icon:'<path d="M16.008 32C24.768 32 32 24.768 32 16.008 32 7.232 24.752 0 15.992 0 7.232 0 0 7.232 0 16.008 0 24.768 7.232 32 16.008 32zm-.032-14.4H9.832c-1.007 0-1.722-.6-1.722-1.576 0-.991.682-1.609 1.722-1.609h12.336c1.04 0 1.706.618 1.706 1.61 0 .975-.699 1.576-1.706 1.576h-5.239-.953z" fill="currentColor"/>',viewBox:"0 0 32 32"},playCircle:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M16 3.097C8.874 3.097 3.097 8.874 3.097 16S8.874 28.903 16 28.903 28.903 23.126 28.903 16 23.126 3.097 16 3.097zM0 16C0 7.163 7.163 0 16 0s16 7.163 16 16-7.163 16-16 16S0 24.837 0 16z" fill="currentColor"/><path d="M11.871 10.655c0-.815.9-1.309 1.586-.871l8.4 5.345a1.032 1.032 0 010 1.742l-8.4 5.345a1.032 1.032 0 01-1.586-.87V10.654z" fill="currentColor"/>',viewBox:"0 0 32 32"},info:{icon:'<path d="M32 16c0-8.774-7.226-16-16-16C7.161 0 0 7.226 0 16c0 8.839 7.161 16 16 16 8.774 0 16-7.161 16-16zm-16 3.226c1.613 0 2.968 1.355 2.968 2.968A2.96 2.96 0 0116 25.16c-1.677 0-2.968-1.29-2.968-2.968A2.96 2.96 0 0116 19.227zM13.161 8.58c-.064-.452.323-.84.774-.84H18c.452 0 .839.388.774.84l-.451 8.774c-.065.451-.387.71-.775.71h-3.16c-.388 0-.71-.259-.775-.71L13.16 8.58z" fill="currentColor"/>',viewBox:"0 0 32 32"},undo:{icon:'<path d="M16.697 10c-3.962 0-7.55 1.459-10.315 3.83l-2.826-2.784C2.615 10.118 1 10.766 1 12.077v8.236c0 .81.673 1.473 1.495 1.473h8.357c1.33 0 2.003-1.591 1.061-2.52l-2.855-2.813c2.078-1.71 4.724-2.77 7.654-2.77 4.724 0 8.805 2.71 10.748 6.63a1.848 1.848 0 002.243.942c1.061-.338 1.6-1.532 1.121-2.534A15.77 15.77 0 0016.697 10z" fill="currentColor"/>',viewBox:"0 0 32 32"},redo:{icon:'<path d="M15.303 10c3.962 0 7.55 1.459 10.315 3.83l2.826-2.784c.942-.928 2.556-.28 2.556 1.031v8.236c0 .81-.673 1.473-1.495 1.473h-8.357c-1.33 0-2.003-1.591-1.061-2.52l2.855-2.813c-2.078-1.71-4.724-2.77-7.654-2.77-4.724 0-8.805 2.71-10.748 6.63a1.848 1.848 0 01-2.243.942c-1.061-.338-1.6-1.532-1.121-2.534A15.77 15.77 0 0115.303 10z" fill="currentColor"/>',viewBox:"0 0 32 32"},lock:{icon:'<path d="M27 14h-1.5V9.5C25.5 4.312 21.187 0 16 0c-5.25 0-9.5 4.313-9.5 9.5V14H5a3 3 0 00-3 3v12c0 1.688 1.313 3 3 3h22a3 3 0 003-3V17c0-1.625-1.375-3-3-3zm-6.5 0h-9V9.5c0-2.438 2-4.5 4.5-4.5 2.438 0 4.5 2.063 4.5 4.5V14z" fill="currentColor"/>',viewBox:"0 0 32 32"},unlock:{icon:'<path d="M23.5 2c-4.667.056-8.389 3.889-8.389 8.556v3.888H2.667A2.667 2.667 0 000 17.111v10.667c0 1.5 1.167 2.666 2.667 2.666h19.555a2.667 2.667 0 002.667-2.666V17.11c0-1.444-1.222-2.667-2.667-2.667h-2.666V10.5c0-2.167 1.722-4 3.944-4.056 2.222 0 4.056 1.834 4.056 4v4.445c0 .778.555 1.333 1.333 1.333h1.778c.722 0 1.333-.555 1.333-1.333v-4.445C32 5.778 28.167 2 23.5 2z" fill="currentColor"/>',viewBox:"0 0 32 32"},arrowsX:{icon:'<path d="M31.564 16.948l-5.38 5.38c-.945.944-2.563.275-2.563-1.062v-2.881H8.384v2.881c0 1.337-1.619 2.006-2.562 1.063L.44 16.947a1.494 1.494 0 010-2.12l5.38-5.38c.944-.944 2.563-.275 2.563 1.062v2.881h15.243v-2.887c0-1.337 1.619-2.006 2.562-1.062l5.375 5.38a1.513 1.513 0 010 2.126z" fill="currentColor"/>',viewBox:"0 0 32 32"},arrowsY:{icon:'<path d="M21.483 23.594h-2.916V8.406h2.916c1.33 0 2.028-1.625 1.077-2.562L17.046.469a1.401 1.401 0 00-2.092 0L9.44 5.844c-.951.937-.254 2.562 1.077 2.562h2.98v15.188h-2.98c-1.33 0-2.028 1.625-1.077 2.562l5.514 5.375c.57.625 1.521.625 2.092 0l5.514-5.375c.951-.937.254-2.562-1.077-2.562z" fill="currentColor"/>',viewBox:"0 0 32 32"},download:{icon:'<path d="M13.5 0c-.875 0-1.5.688-1.5 1.5V12H6.5c-1.125 0-1.688 1.375-.875 2.188l9.5 9.5c.438.437 1.25.437 1.688 0l9.5-9.5c.812-.813.25-2.188-.875-2.188H20V1.5c0-.813-.688-1.5-1.5-1.5h-5zM32 23.5c0-.813-.688-1.5-1.5-1.5h-9.188l-3.062 3.063a3.136 3.136 0 01-4.563 0L10.626 22H1.5c-.875 0-1.5.688-1.5 1.5v7c0 .875.625 1.5 1.5 1.5h29c.813 0 1.5-.625 1.5-1.5v-7zM24.25 29c0 .688-.563 1.25-1.25 1.25-.688 0-1.25-.563-1.25-1.25 0-.688.563-1.25 1.25-1.25.688 0 1.25.563 1.25 1.25zm4 0c0 .688-.563 1.25-1.25 1.25-.688 0-1.25-.563-1.25-1.25 0-.688.563-1.25 1.25-1.25.688 0 1.25.563 1.25 1.25z" fill="currentColor"/>',viewBox:"0 0 32 32"},upload:{icon:'<path d="M18.5 23.988c.813 0 1.5-.626 1.5-1.502V11.971h5.438a1.234 1.234 0 00.875-2.128l-9.5-9.514c-.438-.439-1.25-.439-1.688 0l-9.5 9.514A1.234 1.234 0 006.5 11.97H12v10.515c0 .876.625 1.502 1.5 1.502h5zm13.5-.5c0-.814-.688-1.503-1.5-1.503H22v.501c0 1.94-1.625 3.505-3.5 3.505h-5a3.497 3.497 0 01-3.5-3.505v-.5H1.5c-.875 0-1.5.688-1.5 1.502v7.01C0 31.374.625 32 1.5 32h29c.813 0 1.5-.626 1.5-1.502v-7.01zm-7.75 5.508c0 .688-.563 1.251-1.25 1.251-.688 0-1.25-.563-1.25-1.251 0-.689.563-1.252 1.25-1.252.688 0 1.25.563 1.25 1.252zm4 0c0 .688-.563 1.251-1.25 1.251-.688 0-1.25-.563-1.25-1.251 0-.689.563-1.252 1.25-1.252.688 0 1.25.563 1.25 1.252z" fill="currentColor"/>',viewBox:"0 0 32 32"},cloudUpload:{icon:'<path d="M16.645 12.951a.868.868 0 00-1.228 0l-5.258 5.258a1.247 1.247 0 101.764 1.765l2.86-2.86V28.26a1.247 1.247 0 102.496 0V17.113l2.86 2.86a1.248 1.248 0 101.765-1.764l-5.259-5.258z" fill="currentColor"/><path d="M26.008 11.828C25.86 6.384 21.386 2 15.906 2c-2.517 0-4.928.931-6.79 2.622a10.087 10.087 0 00-3.114 5.47 7.589 7.589 0 00-3.973 2.266A7.586 7.586 0 000 17.532c0 4.196 3.414 7.61 7.61 7.61h.063a1.248 1.248 0 100-2.495h-.07a5.12 5.12 0 01-5.108-5.115c0-2.648 2.065-4.887 4.7-5.098.6-.048 1.08-.518 1.142-1.116a7.584 7.584 0 017.57-6.823c4.196 0 7.61 3.414 7.61 7.61v.374c0 1 .81 1.81 1.809 1.81a4.184 4.184 0 014.179 4.179 4.184 4.184 0 01-4.18 4.18l-.935-.001a1.247 1.247 0 100 2.495h.935A6.682 6.682 0 0032 18.468c0-3.45-2.63-6.297-5.992-6.64z" fill="currentColor"/>',viewBox:"0 0 32 32"},emptyBox:{icon:'<path d="M20.943 15.97c-.797 0-1.547-.401-1.923-1.027l-3-4.78-3.047 4.78c-.375.67-1.125 1.072-1.922 1.072-.235 0-.422-.044-.61-.089L4.02 14.14v7.952c0 .67.469 1.25 1.125 1.385l10.126 2.457c.469.09.985.09 1.453 0l10.127-2.457c.703-.134 1.172-.715 1.172-1.385v-7.952l-6.423 1.787a3.25 3.25 0 01-.656.045zm9.985-5.003L28.49 6.366c-.14-.268-.422-.402-.75-.358L16.02 7.393l4.266 6.835a.846.846 0 00.891.313l9.282-2.546a.733.733 0 00.47-1.028zM3.503 6.366l-2.438 4.601c-.187.402.047.894.47 1.028l9.281 2.546a.801.801 0 00.891-.357l4.313-6.79L4.253 6.007c-.328-.044-.61.09-.75.358z" fill="currentColor"/>',viewBox:"0 0 32 32"},star:{icon:'<path d="M14.294 1.101l-3.89 8.31-8.797 1.312c-1.556.25-2.154 2.249-1.017 3.436l6.283 6.435-1.496 9.059c-.24 1.624 1.437 2.874 2.813 2.124l7.84-4.31 7.78 4.31c1.376.75 3.052-.5 2.813-2.124l-1.497-9.06 6.284-6.434c1.137-1.187.539-3.187-1.017-3.436L21.655 9.41l-3.95-8.31a1.871 1.871 0 00-3.41 0z" fill="currentColor"/>',viewBox:"0 0 32 32"},pencil:{icon:'<path d="M18.157 5.834L.764 23.228.013 30.36a1.455 1.455 0 001.626 1.627l7.133-.75 17.394-17.394-8.009-8.009zm12.951-1.188L27.354.892c-1.126-1.19-3.065-1.19-4.254 0l-3.504 3.503 8.009 8.009L31.108 8.9c1.19-1.189 1.19-3.128 0-4.254z" fill="currentColor"/>',viewBox:"0 0 32 32"},move:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M13.178 5.793l1.591-1.59v3.182a1.23 1.23 0 002.462 0V4.202l1.591 1.591a1.23 1.23 0 001.74-1.74L16.872.36a1.23 1.23 0 00-.188-.154c-.02-.013-.042-.024-.064-.035a1.171 1.171 0 01-.033-.017 1.24 1.24 0 00-.115-.06 1.227 1.227 0 00-.127-.04l-.036-.011a.571.571 0 00-.067-.02 1.209 1.209 0 00-.482 0c-.023.005-.045.012-.068.02l-.036.011c-.042.01-.085.024-.126.04a1.22 1.22 0 00-.115.06 1.053 1.053 0 01-.034.017c-.021.011-.043.022-.063.035-.067.045-.13.096-.187.154l-3.692 3.692a1.23 1.23 0 001.74 1.74zM16 20.307a4.308 4.308 0 100-8.615 4.308 4.308 0 000 8.615zm-.87 3.438a1.23 1.23 0 012.1.87v3.183l1.592-1.591a1.23 1.23 0 011.74 1.74l-3.69 3.692h-.002c-.057.058-.12.109-.187.154a.576.576 0 01-.062.034l-.016.008a.714.714 0 01-.26.11.929.929 0 00-.035.01.563.563 0 01-.069.02c-.159.033-.323.033-.482 0a.563.563 0 01-.069-.02l-.036-.01a.714.714 0 01-.241-.1 1.055 1.055 0 00-.034-.018c-.02-.01-.042-.021-.061-.034a1.232 1.232 0 01-.188-.154l-3.692-3.692a1.23 1.23 0 011.74-1.74l1.591 1.59v-3.182c0-.326.13-.64.36-.87zm16.814-8.092a1.248 1.248 0 00-.039-.124c-.018-.04-.039-.08-.062-.118a1.204 1.204 0 01-.017-.034c-.01-.02-.021-.04-.034-.06a1.233 1.233 0 00-.153-.188h-.001l-3.692-3.692a1.23 1.23 0 00-1.74 1.74l1.591 1.592h-3.182a1.23 1.23 0 000 2.461h3.182l-1.59 1.592a1.232 1.232 0 00.87 2.1 1.23 1.23 0 00.87-.36l3.691-3.691v-.001c.058-.058.11-.12.154-.188.013-.019.023-.04.034-.06a1.18 1.18 0 01.017-.034 1.25 1.25 0 00.062-.118 1.25 1.25 0 00.039-.124l.011-.036a.587.587 0 00.02-.07 1.207 1.207 0 000-.481.587.587 0 00-.02-.07l-.011-.036zm-31.85.818a1.224 1.224 0 01-.038-.125 1.062 1.062 0 00-.012-.036c-.007-.023-.015-.045-.02-.069a1.207 1.207 0 010-.482.593.593 0 01.02-.07l.012-.035c.01-.043.023-.084.038-.125.019-.04.04-.08.062-.117a1.08 1.08 0 00.018-.034c.01-.02.02-.041.033-.06.045-.068.096-.13.154-.188v-.001l3.692-3.691a1.231 1.231 0 011.74 1.74l-1.59 1.591h3.182a1.23 1.23 0 110 2.462H4.202l1.591 1.591a1.23 1.23 0 01-1.74 1.74L.36 16.872a1.232 1.232 0 01-.154-.188.553.553 0 01-.033-.06.963.963 0 00-.018-.034 1.246 1.246 0 01-.062-.118z" fill="currentColor"/>',viewBox:"0 0 32 32"},save:{icon:'<path d="M29.121 8.121L23.88 2.88A3 3 0 0021.757 2H5a3 3 0 00-3 3v22a3 3 0 003 3h22a3 3 0 003-3V10.243a3 3 0 00-.879-2.122zM16 26a4 4 0 110-8 4 4 0 010 8zm6-19.032v6.282a.75.75 0 01-.75.75H6.75a.75.75 0 01-.75-.75v-6.5A.75.75 0 016.75 6h14.282a.75.75 0 01.53.22l.218.217a.749.749 0 01.22.53z" fill="currentColor"/>',viewBox:"0 0 32 32"},saveLine:{icon:'<path d="M29.063 8.125l-5.188-5.188c-.5-.5-1.438-.937-2.125-.937H5a3 3 0 00-3 3v22c0 1.688 1.313 3 3 3h22a3 3 0 003-3V10.25c0-.688-.438-1.625-.938-2.125zM19 5v5h-8V5h8zm7.625 22H5.375c-.25 0-.375-.125-.375-.375V5.375C5 5.187 5.125 5 5.375 5H8v6.5c0 .875.625 1.5 1.5 1.5h11c.813 0 1.5-.625 1.5-1.5V5.25l4.875 4.938c.063.062.125.124.125.25v16.187c0 .25-.188.375-.375.375zM16 14.5c-3.063 0-5.5 2.5-5.5 5.5 0 3.063 2.438 5.5 5.5 5.5 3 0 5.5-2.438 5.5-5.5 0-3-2.5-5.5-5.5-5.5zm0 8c-1.438 0-2.5-1.063-2.5-2.5 0-1.375 1.063-2.5 2.5-2.5 1.375 0 2.5 1.125 2.5 2.5 0 1.438-1.125 2.5-2.5 2.5z" fill="currentColor"/>',viewBox:"0 0 32 32"},social:{icon:'<path d="M11.938 1.875H2.312A1.313 1.313 0 001 3.188v9.624a1.313 1.313 0 001.313 1.313h3.752V9.96H4.343V8h1.722V6.506c0-1.7 1.012-2.638 2.562-2.638.742 0 1.518.132 1.518.132v1.668H9.29c-.843 0-1.105.523-1.105 1.06V8h1.88l-.3 1.96h-1.58v4.165h3.752a1.313 1.313 0 001.313-1.313V3.188a1.313 1.313 0 00-1.313-1.313zM29.56 5.148c.01.125.01.25.01.374 0 3.793-2.887 8.163-8.164 8.163A8.108 8.108 0 0117 12.397c.231.027.453.036.693.036a5.747 5.747 0 003.562-1.226 2.874 2.874 0 01-2.683-1.99c.178.027.356.044.542.044.258 0 .515-.035.755-.097a2.87 2.87 0 01-2.3-2.816v-.036a2.89 2.89 0 001.296.364 2.867 2.867 0 01-1.279-2.39c0-.532.142-1.02.391-1.447a8.156 8.156 0 005.916 3.002 3.24 3.24 0 01-.07-.657c0-1.581 1.279-2.87 2.869-2.87.826 0 1.572.347 2.096.907a5.65 5.65 0 001.821-.693 2.862 2.862 0 01-1.261 1.581A5.752 5.752 0 0031 3.665a6.168 6.168 0 01-1.44 1.483zM3.742 29.25h-2.54v-8.178h2.54v8.178zm-1.271-9.294a1.483 1.483 0 01-1.04-2.525 1.47 1.47 0 012.51 1.04c0 .812-.658 1.485-1.47 1.485zm8.242 9.294v-3.981c0-.95-.02-2.166-1.32-2.166-1.32 0-1.523 1.031-1.523 2.097v4.05H5.333v-8.178h2.436v1.115h.035c.34-.643 1.168-1.32 2.403-1.32 2.57 0 3.043 1.692 3.043 3.89v4.493h-2.537zM30.956 21.15c-.16-.6-.63-1.073-1.226-1.233-1.081-.292-5.418-.292-5.418-.292s-4.336 0-5.417.292a1.743 1.743 0 00-1.226 1.233c-.29 1.089-.29 3.36-.29 3.36s0 2.27.29 3.36c.16.6.63 1.053 1.226 1.213 1.081.292 5.418.292 5.418.292s4.336 0 5.417-.292a1.717 1.717 0 001.226-1.214c.29-1.088.29-3.36.29-3.36s0-2.27-.29-3.358zm-8.062 5.422v-4.124l3.625 2.062-3.625 2.062z" fill="currentColor"/>',viewBox:"0 0 32 32"},share:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M22.571 1.151a6.167 6.167 0 11-1.92 9.533l-7.965 3.982a6.185 6.185 0 010 2.667l7.964 3.982A6.167 6.167 0 1119.31 24l-7.964-3.982a6.166 6.166 0 110-8.034L19.309 8a6.166 6.166 0 013.262-6.85zm3.76 2.511a3.167 3.167 0 10-2.003 6.01 3.167 3.167 0 002.003-6.01zm-18.323 9.47a3.167 3.167 0 101.49 1.451m-1.49-1.451a3.166 3.166 0 011.49 1.451zm17.547 9.04a3.17 3.17 0 00-3.058 1.744 3.167 3.167 0 103.058-1.743z" fill="currentColor"/>',viewBox:"0 0 32 32"},canvas:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M0 5.1h2.9V2.9h2.2V0H0v5.1z" fill="currentColor"/><path d="M19.7 0h-7.3v2.9h7.3V0z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M26.9 0v2.9h2.2v2.2H32V0h-5.1z" fill="currentColor"/><path d="M2.9 12.4H0v7.3h2.9v-7.3zM32 12.4h-2.9v7.3H32v-7.3z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M2.9 26.9H0V32h5.1v-2.9H2.9v-2.2zM29.1 29.1h-2.2V32H32v-5.1h-2.9v2.2z" fill="currentColor"/><path d="M19.7 29.1h-7.3V32h7.3v-2.9z" fill="currentColor"/>',viewBox:"0 0 32 32"},rowsAlt:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M3 28.857h26v-8.571H3v8.571zM1 29.93C1 30.52 1.448 31 2 31h28c.552 0 1-.48 1-1.071V19.214c0-.591-.448-1.071-1-1.071H2c-.552 0-1 .48-1 1.071V29.93zM3 11.714h26V3.143H3v8.571zm-2 1.072c0 .591.448 1.071 1 1.071h28c.552 0 1-.48 1-1.071V2.07C31 1.48 30.552 1 30 1H2c-.552 0-1 .48-1 1.071v10.715z" fill="currentColor"/>',viewBox:"0 0 32 32"},columns:{icon:'<path d="M29 2H3a3 3 0 00-3 3v22c0 1.688 1.313 3 3 3h26a3 3 0 003-3V5c0-1.625-1.375-3-3-3zM14 26H4V10h10v16zm14 0H18V10h10v16z" fill="currentColor"/>',viewBox:"0 0 32 32"},columnsAlt:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M3.143 3v26h8.571V3H3.143zM2.07 1C1.48 1 1 1.448 1 2v28c0 .552.48 1 1.071 1h10.715c.591 0 1.071-.448 1.071-1V2c0-.552-.48-1-1.071-1H2.07zM20.286 3v26h8.571V3h-8.571zm-1.072-2c-.591 0-1.071.448-1.071 1v28c0 .552.48 1 1.071 1H29.93C30.52 31 31 30.552 31 30V2c0-.552-.48-1-1.072-1H19.215z" fill="currentColor"/>',viewBox:"0 0 32 32"},trash:{icon:'<path d="M18.75 26h1.5a.75.75 0 00.75-.75v-13.5a.75.75 0 00-.75-.75h-1.5a.75.75 0 00-.75.75v13.5a.75.75 0 00.75.75zM29 5h-5.15l-2.126-3.544A3 3 0 0019.151 0h-6.302a3 3 0 00-2.572 1.456L8.15 5H3a1 1 0 00-1 1v1a1 1 0 001 1h1v21a3 3 0 003 3h18a3 3 0 003-3V8h1a1 1 0 001-1V6a1 1 0 00-1-1zM12.74 3.182A.375.375 0 0113.062 3h5.876a.375.375 0 01.321.182L20.351 5h-8.702l1.091-1.818zM25 29H7V8h18v21zm-13.25-3h1.5a.75.75 0 00.75-.75v-13.5a.75.75 0 00-.75-.75h-1.5a.75.75 0 00-.75.75v13.5a.75.75 0 00.75.75z" fill="currentColor"/>',viewBox:"0 0 32 32"},ban:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M29 16.5C29 23.404 23.404 29 16.5 29c-2.88 0-5.533-.974-7.647-2.61L26.39 8.852A12.446 12.446 0 0 1 29 16.5ZM6.718 24.282 24.282 6.718A12.447 12.447 0 0 0 16.5 4C9.596 4 4 9.596 4 16.5c0 2.942 1.017 5.647 2.718 7.782ZM32 16.5C32 25.06 25.06 32 16.5 32 7.94 32 1 25.06 1 16.5 1 7.94 7.94 1 16.5 1 25.06 1 32 7.94 32 16.5Z" fill="currentColor"/>',viewBox:"0 0 32 32"},bold:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M7 17.999V4h9a7 7 0 015.704 11.058A7 7 0 0118 27.998h-7V28H7V17.999zm4 6V18h5l.125-.001H18a3 3 0 010 6h-7zm0-10V8h5a3 3 0 01.082 5.999H11z" fill="currentColor"/>',viewBox:"0 0 32 32"},italic:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M23.975 7.975V4h-12v3.975h3.6l-3.225 16.05H8V28h12v-3.975h-3.525l3.15-16.05h4.35z" fill="currentColor"/>',viewBox:"0 0 32 32"},underline:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M4 24.55h24V28H4v-3.45zM10.975 12.55c0 2.85 2.175 5.175 5.025 5.175a5.185 5.185 0 005.175-5.175V4h3.45v8.55a8.546 8.546 0 01-8.55 8.55 8.546 8.546 0 01-8.55-8.55V4h3.45v8.55z" fill="currentColor"/>',viewBox:"0 0 32 32"},strikethrough:{icon:'<path d="M24.865 18.224c.273.653.412 1.403.412 2.256 0 2.231-.805 4.043-2.414 5.434C21.255 27.304 19.104 28 16.416 28c-3.136 0-5.507-.66-7.117-1.98-1.61-1.32-2.428-3.308-2.455-5.963h3.636c.056 1.567.567 2.732 1.536 3.495.968.762 2.421 1.144 4.357 1.144 1.575 0 2.825-.318 3.752-.953.927-.636 1.39-1.518 1.39-2.648 0-.805-.3-1.448-.898-1.928-.414-.33-1.113-.645-2.083-.942h6.331zm-8.73-4.448l-.868-.223c-1.714-.437-2.83-.85-3.344-1.239-.516-.388-.774-.992-.774-1.811 0-1.03.436-1.822 1.307-2.373.87-.55 1.919-.825 3.145-.825 1.686 0 2.978.296 3.877.89.898.592 1.376 1.567 1.432 2.922h3.636c-.083-2.075-.846-3.78-2.289-5.115C20.815 4.667 18.743 4 16.04 4c-2.535 0-4.59.65-6.165 1.949-1.574 1.3-2.361 3.065-2.361 5.296 0 .966.198 1.808.585 2.532l8.037-.001zm10.779 1.1H5.086c-.6 0-1.086.494-1.086 1.102 0 .608.486 1.101 1.086 1.101h21.828c.6 0 1.086-.493 1.086-1.101s-.486-1.101-1.086-1.101z" fill="currentColor"/>',viewBox:"0 0 32 32"},ul:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M7.778 4a1 1 0 011-1h22a1 1 0 011 1v2a1 1 0 01-1 1h-22a1 1 0 01-1-1V4zM7.778 15a1 1 0 011-1h22a1 1 0 011 1v2a1 1 0 01-1 1h-22a1 1 0 01-1-1v-2zM7.778 26a1 1 0 011-1h22a1 1 0 011 1v2a1 1 0 01-1 1h-22a1 1 0 01-1-1v-2zM0 5c0-1.105.893-2 1.995-2h.01C3.107 3 4 3.895 4 5s-.893 2-1.995 2h-.01A1.998 1.998 0 010 5zM0 16c0-1.105.893-2 1.995-2h.01C3.107 14 4 14.895 4 16s-.893 2-1.995 2h-.01A1.998 1.998 0 010 16zM0 27c0-1.105.893-2 1.995-2h.01C3.107 25 4 25.895 4 27s-.893 2-1.995 2h-.01A1.998 1.998 0 010 27z" fill="currentColor"/>',viewBox:"0 0 32 32"},ol:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M7.778 4a1 1 0 011-1h22a1 1 0 011 1v2a1 1 0 01-1 1h-22a1 1 0 01-1-1V4zM7.778 15a1 1 0 011-1h22a1 1 0 011 1v2a1 1 0 01-1 1h-22a1 1 0 01-1-1v-2zM7.778 26a1 1 0 011-1h22a1 1 0 011 1v2a1 1 0 01-1 1h-22a1 1 0 01-1-1v-2z" fill="currentColor"/><path d="M3.129 8H2V3.648l-1.348.418v-.918l2.356-.843h.12V8zM4.285 19H.387v-.773l1.84-1.961c.252-.276.438-.517.558-.723.123-.206.184-.401.184-.586 0-.253-.064-.45-.192-.594-.127-.146-.31-.218-.547-.218a.748.748 0 00-.605.265c-.146.175-.219.405-.219.692H.273c0-.347.082-.663.247-.95.166-.286.4-.51.703-.671a2.117 2.117 0 011.027-.247c.586 0 1.04.141 1.363.422.326.281.489.679.489 1.192 0 .28-.073.567-.22.859-.145.292-.395.631-.75 1.02L1.84 18.09h2.445V19zM1.535 26.656h.602c.286 0 .498-.071.636-.215.138-.143.207-.333.207-.57 0-.23-.069-.407-.207-.535-.135-.128-.322-.191-.562-.191a.827.827 0 00-.543.18.563.563 0 00-.219.46H.32c0-.297.08-.562.239-.797.161-.237.385-.422.671-.554.29-.133.607-.2.954-.2.601 0 1.073.145 1.414.434.34.286.511.682.511 1.188 0 .26-.079.5-.238.718a1.548 1.548 0 01-.625.504c.32.115.559.287.715.516.159.229.238.5.238.812 0 .506-.185.91-.554 1.215-.368.305-.855.457-1.461.457-.568 0-1.033-.15-1.395-.45-.36-.299-.539-.694-.539-1.187h1.129c0 .214.08.388.238.524.162.135.36.203.594.203.268 0 .478-.07.629-.211a.738.738 0 00.23-.566c0-.568-.312-.852-.937-.852h-.598v-.883z" fill="currentColor"/>',viewBox:"0 0 32 32"},quote:{icon:'<path d="M2.592 26.063c-.792.332-.773 1.196-.415 1.965.357.768.632 1.234.632 1.234.652.711 1.227.915 1.994.582 2.147-.922 3.987-2.126 5.495-3.56 1.815-1.742 3.067-3.715 3.732-5.892.665-2.151.997-5.149.997-8.991V3.537A1.54 1.54 0 0013.493 2H5.409a1.54 1.54 0 00-1.534 1.537v10.067c0 .846.69 1.537 1.534 1.537h5.23c-.05 2.587-.225 4.928-2.186 6.893-.92 1.255-3.995 3.234-5.86 4.029zM17.506 26.063c-.793.332-.773 1.196-.416 1.965.358.768.633 1.234.633 1.234.652.711 1.227.915 1.993.582 2.147-.922 3.988-2.126 5.496-3.56 1.815-1.742 3.067-3.715 3.732-5.892.664-2.151.996-5.149.996-8.991V3.537A1.54 1.54 0 0028.407 2h-8.084a1.54 1.54 0 00-1.534 1.537v10.067c0 .846.69 1.537 1.534 1.537h5.23c-.05 2.587-.226 4.928-2.187 6.893-.92 1.255-3.994 3.234-5.86 4.029z" fill="currentColor"/>',viewBox:"0 0 32 32"},code:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M31.204 14.378l-2.982-3.148V5.667c0-3.043-2.385-5.562-5.266-5.562H20.57c-1.094 0-1.889.945-1.889 2.099 0 1.154.895 2.099 1.889 2.099h2.385c.795 0 1.39.63 1.39 1.47v6.401c0 .525.2 1.05.597 1.47l2.186 2.309-2.186 2.308a2.13 2.13 0 00-.596 1.47v6.402c0 .84-.596 1.469-1.391 1.469H20.57c-1.094 0-1.889.945-1.889 2.099 0 1.154.895 2.099 1.889 2.099h2.385c2.881 0 5.267-2.519 5.267-5.562v-5.563l2.98-3.148c.796-1.05.796-2.31 0-3.149zM7.354 12.07V5.666c0-.84.596-1.469 1.391-1.469h2.385c1.093 0 1.888-.945 1.888-2.099C13.018.945 12.124 0 11.13 0H8.745C5.863.105 3.578 2.624 3.578 5.667v5.563L.596 14.378a2.108 2.108 0 000 2.939l2.982 3.148v5.563c0 3.043 2.385 5.562 5.266 5.562h2.385c1.094 0 1.889-.945 1.889-2.099 0-1.154-.895-2.099-1.889-2.099H8.745c-.795 0-1.391-.63-1.391-1.47v-6.401a2.13 2.13 0 00-.596-1.47L4.57 15.849l2.187-2.31a2.13 2.13 0 00.596-1.469z" fill="currentColor"/>',viewBox:"0 0 32 32"},copy:{icon:'<path d="M29.063 4.125L25.875.937C25.375.438 24.437 0 23.75 0H13a3 3 0 00-3 3v3H5a3 3 0 00-3 3v20c0 1.688 1.313 3 3 3h14a3 3 0 003-3v-3h5a3 3 0 003-3V6.25c0-.688-.438-1.625-.938-2.125zM18.624 29H5.375c-.25 0-.375-.125-.375-.375V9.375C5 9.187 5.125 9 5.375 9H10v14c0 1.688 1.313 3 3 3h6v2.625c0 .25-.188.375-.375.375zm8-6h-13.25c-.25 0-.375-.125-.375-.375V3.375c0-.188.125-.375.375-.375H20v5.5c0 .875.625 1.5 1.5 1.5H27v12.625c0 .25-.188.375-.375.375zM27 7h-4V3h.563c.125 0 .187.063.25.125l3.062 3.063c.063.062.125.125.125.25V7z" fill="currentColor"/>',viewBox:"0 0 32 32"},textAlignLeft:{icon:'<path d="M29 14H3a1 1 0 01-1-1v-2a1 1 0 011-1h26a1 1 0 011 1v2a1 1 0 01-1 1zM3 26h26a1 1 0 011 1v2a1 1 0 01-1 1H3a1 1 0 01-1-1v-2a1 1 0 011-1zM2.802 2h16.396a.801.801 0 01.802.802v2.396a.8.8 0 01-.802.802H2.802A.801.801 0 012 5.198V2.802A.801.801 0 012.802 2zm0 16h16.396a.8.8 0 01.802.802v2.396a.8.8 0 01-.802.802H2.802A.8.8 0 012 21.198v-2.396A.801.801 0 012.802 18z" fill="currentColor"/>',viewBox:"0 0 32 32"},textAlignCenter:{icon:'<path d="M29 10H3a1 1 0 00-1 1v2a1 1 0 001 1h26a1 1 0 001-1v-2a1 1 0 00-1-1zm0 16H3a1 1 0 00-1 1v2a1 1 0 001 1h26a1 1 0 001-1v-2a1 1 0 00-1-1zM8.756 6h14.488A.756.756 0 0024 5.244V2.756A.755.755 0 0023.244 2H8.756A.756.756 0 008 2.756v2.488A.756.756 0 008.756 6zm14.488 16a.756.756 0 00.756-.756v-2.488a.756.756 0 00-.756-.756H8.756a.756.756 0 00-.756.756v2.488a.756.756 0 00.756.756h14.488z" fill="currentColor"/>',viewBox:"0 0 32 32"},textAlignRight:{icon:'<path d="M3 14h26a1 1 0 001-1v-2a1 1 0 00-1-1H3a1 1 0 00-1 1v2a1 1 0 001 1zm26 12H3a1 1 0 00-1 1v2a1 1 0 001 1h26a1 1 0 001-1v-2a1 1 0 00-1-1zm.198-24H12.802a.801.801 0 00-.802.802v2.396a.8.8 0 00.802.802h16.396A.801.801 0 0030 5.198V2.802A.8.8 0 0029.198 2zm0 16H12.802a.8.8 0 00-.802.802v2.396a.8.8 0 00.802.802h16.396a.8.8 0 00.802-.802v-2.396a.8.8 0 00-.802-.802z" fill="currentColor"/>',viewBox:"0 0 32 32"},textAlignJustify:{icon:'<path d="M29 26H3a1 1 0 00-1 1v2a1 1 0 001 1h26a1 1 0 001-1v-2a1 1 0 00-1-1zm0-8H3a1 1 0 00-1 1v2a1 1 0 001 1h26a1 1 0 001-1v-2a1 1 0 00-1-1zm0-8H3a1 1 0 00-1 1v2a1 1 0 001 1h26a1 1 0 001-1v-2a1 1 0 00-1-1zm0-8H3a1 1 0 00-1 1v2a1 1 0 001 1h26a1 1 0 001-1V3a1 1 0 00-1-1z" fill="currentColor"/>',viewBox:"0 0 32 32"},verticalAlignStart:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M.625 2c0 .76.616 1.375 1.375 1.375h28a1.375 1.375 0 100-2.75H2C1.24.625.625 1.241.625 2z" fill="currentColor"/><rect width="24" height="6" rx="1" transform="matrix(0 1 1 0 7 8)" fill="currentColor"/><rect width="16" height="6" rx="1" transform="matrix(0 1 1 0 19 8)" fill="currentColor"/>',viewBox:"0 0 32 32"},verticalAlignCenter:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M.625 16c0-.76.616-1.375 1.375-1.375h28a1.375 1.375 0 110 2.75H2c-.76 0-1.375-.616-1.375-1.375z" fill="currentColor"/><rect x="7" y="28" width="24" height="6" rx="1" transform="rotate(-90 7 28)" fill="currentColor"/><rect x="19" y="24" width="16" height="6" rx="1" transform="rotate(-90 19 24)" fill="currentColor"/>',viewBox:"0 0 32 32"},verticalAlignEnd:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M31.375 30c0-.76-.616-1.375-1.375-1.375H2a1.375 1.375 0 100 2.75h28c.76 0 1.375-.616 1.375-1.375z" fill="currentColor"/><path d="M24 24a1 1 0 001-1V1a1 1 0 00-1-1h-4a1 1 0 00-1 1v22a1 1 0 001 1h4z" fill="currentColor"/><rect width="16" height="6" rx="1" transform="matrix(0 -1 -1 0 13 24)" fill="currentColor"/>',viewBox:"0 0 32 32"},cog:{icon:'<path d="M30.462 19.731L27.8 18.194c.269-1.45.269-2.938 0-4.388l2.662-1.537a.755.755 0 00.344-.875 15.566 15.566 0 00-3.419-5.913.752.752 0 00-.925-.143L23.8 6.875A11.794 11.794 0 0020 4.681V1.612a.749.749 0 00-.587-.73 15.712 15.712 0 00-6.825 0 .749.749 0 00-.588.73v3.075a12.167 12.167 0 00-3.8 2.194L5.544 5.344a.743.743 0 00-.925.143A15.472 15.472 0 001.2 11.4c-.106.338.038.7.344.875l2.662 1.537a12.039 12.039 0 000 4.388l-2.662 1.538a.755.755 0 00-.344.875 15.566 15.566 0 003.419 5.912.752.752 0 00.925.144l2.662-1.538a11.795 11.795 0 003.8 2.194V30.4c0 .35.244.656.588.731 2.293.513 4.644.488 6.825 0a.749.749 0 00.587-.731v-3.075a12.167 12.167 0 003.8-2.194l2.663 1.538a.743.743 0 00.925-.144 15.472 15.472 0 003.419-5.912.772.772 0 00-.35-.882zM16 21c-2.756 0-5-2.244-5-5s2.244-5 5-5 5 2.244 5 5-2.244 5-5 5z" fill="currentColor"/>',viewBox:"0 0 32 32"},thunderBolt:{icon:'<path d="M24.515 10h-7.25l2.687-8.063c.25-1-.5-1.937-1.437-1.937h-9c-.75 0-1.438.563-1.5 1.313l-2 15C5.89 17.25 6.577 18 7.515 18h7.375l-2.875 12.188c-.188.937.5 1.812 1.437 1.812.563 0 1.063-.25 1.313-.75l11-19c.625-.938-.125-2.25-1.25-2.25z" fill="currentColor"/>',viewBox:"0 0 32 32"},link:{icon:'<path d="M20.41 11.59c-.375-.376-.813-.751-1.25-1.064-.439-.313-.94-.25-1.314.063l-1.314 1.313c-.5.563-.751 1.252-.751 1.877 0 .375.188.626.438.813.188.125.438.313.688.5 1.752 1.815 1.752 4.63 0 6.382l-4.254 4.192a4.421 4.421 0 01-6.381 0c-1.752-1.752-1.69-4.63.062-6.381l.814-.814c.312-.25.375-.688.25-1.063-.376-1.064-.563-2.19-.626-3.254 0-.875-1.063-1.313-1.689-.688l-2.315 2.315c-3.69 3.691-3.69 9.76 0 13.45 3.691 3.692 9.76 3.692 13.451 0l4.192-4.19v-.064c3.69-3.628 3.753-9.634 0-13.388zm8.822-8.822c-3.691-3.69-9.76-3.69-13.451 0L11.589 6.96v.062c-3.69 3.629-3.753 9.635 0 13.389.376.375.814.75 1.252 1.063.438.313.938.25 1.313-.063l1.314-1.313c.5-.563.751-1.252.751-1.877 0-.375-.188-.626-.438-.813a17.384 17.384 0 01-.688-.5c-1.752-1.815-1.752-4.63 0-6.382l4.254-4.192a4.421 4.421 0 016.381 0c1.752 1.752 1.69 4.63-.062 6.382l-.814.813c-.312.25-.375.688-.25 1.063.375 1.064.563 2.19.626 3.254 0 .875 1.063 1.313 1.689.688l2.315-2.315c3.69-3.691 3.69-9.76 0-13.45z" fill="currentColor"/>',viewBox:"0 0 32 32"},image:{icon:'<path d="M29 4H3a3 3 0 00-3 3v18c0 1.688 1.313 3 3 3h26a3 3 0 003-3V7c0-1.625-1.375-3-3-3zm-.375 21H3.375c-.25 0-.375-.125-.375-.375V7.375C3 7.187 3.125 7 3.375 7h25.25c.188 0 .375.188.375.375v17.25c0 .25-.188.375-.375.375zM8 9.5c-1.438 0-2.5 1.125-2.5 2.5 0 1.438 1.063 2.5 2.5 2.5 1.375 0 2.5-1.063 2.5-2.5 0-1.375-1.125-2.5-2.5-2.5zM6 22h20v-5l-5.5-5.438c-.313-.312-.75-.312-1.063 0L12 19l-2.5-2.438c-.313-.312-.75-.312-1.063 0L6 19v3z" fill="currentColor"/>',viewBox:"0 0 32 32"},picture:{icon:'<path d="M25.884 2H5.046C3.366 2 2 3.406 2 5.139v19.726C2 26.595 3.366 28 5.046 28h20.838c1.68 0 3.045-1.405 3.045-3.135V5.139C28.929 3.406 27.564 2 25.884 2zm-6.47 4.668c1.624 0 2.941 1.357 2.941 3.03 0 1.673-1.317 3.03-2.942 3.03-1.624 0-2.941-1.357-2.941-3.03 0-1.673 1.317-3.03 2.941-3.03zM24.928 25.1H6.421c-.813 0-1.175-.605-.808-1.352l5.048-10.3c.366-.747 1.063-.813 1.557-.149l5.076 6.833c.494.665 1.357.722 1.928.126l1.242-1.295c.57-.596 1.412-.522 1.877.163l3.216 4.732c.465.686.185 1.242-.628 1.242z" fill="currentColor"/>',viewBox:"0 0 32 32"},music:{icon:'<path d="M29.668 2.254a1.015 1.015 0 00-.777-.249l-18 2A1 1 0 0010 5v17.822A5.787 5.787 0 007 22C4.242 22 2 23.794 2 26s2.243 4 5 4 5-1.793 5-4V10.9l16-1.782v11.7A5.786 5.786 0 0025 20c-2.757 0-5 1.794-5 4s2.243 4 5 4 5-1.793 5-4V3a1 1 0 00-.332-.746z" fill="currentColor"/>',viewBox:"0 0 32 32"},zip:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M8.193 1h12.05l7.583 7.557v19.25A3.197 3.197 0 0124.634 31H8.193A3.197 3.197 0 015 27.807V4.193A3.197 3.197 0 018.193 1zm0 28.044h16.44c.682 0 1.236-.555 1.236-1.237l-.046-18.475-4.098.011a2.215 2.215 0 01-2.214-2.215V2.946l-6.024.006V4.87h1.886a.5.5 0 01.499.5v1.092a.5.5 0 01-.5.5h-1.885v2.091h1.886a.5.5 0 01.499.5v1.093a.5.5 0 01-.5.5h-1.885v2.09h1.886a.5.5 0 01.499.5v1.093a.5.5 0 01-.5.5h-2.756a.5.5 0 01-.5-.5v-1.592h-1.885a.5.5 0 01-.5-.5v-1.092a.5.5 0 01.5-.5h1.886V9.053H10.23a.5.5 0 01-.5-.5V7.462a.5.5 0 01.5-.5h1.886v-2.09H10.23a.5.5 0 01-.5-.5V2.955l-1.538.001c-.682 0-1.237.554-1.237 1.236v23.614c0 .683.555 1.237 1.237 1.237zm5.8-11.823v2.556l.772 2.266a2.078 2.078 0 01-.277 1.877 2.08 2.08 0 01-1.687.867 2.08 2.08 0 01-1.687-.867 2.078 2.078 0 01-.277-1.877l.772-2.266V17.22a.5.5 0 01.499-.5h1.386a.5.5 0 01.5.5zm-2.062 6.114c.4.56 1.34.56 1.74 0 .201-.28.255-.642.144-.968l-.26-.76h-1.508l-.26.76c-.11.326-.057.688.144.968z" fill="currentColor"/>',viewBox:"0 0 32 32"},paperclip:{icon:'<path d="M28.191 4.804c-3.739-3.739-9.823-3.739-13.563 0L3.003 16.43a6.858 6.858 0 000 9.687 6.827 6.827 0 004.844 2.003 6.83 6.83 0 004.844-2.003l10.656-10.656a4.083 4.083 0 001.204-2.906c0-1.098-.427-2.13-1.204-2.907a4.115 4.115 0 00-5.812 0l-6.97 6.969a1.37 1.37 0 001.938 1.938l6.97-6.97a1.372 1.372 0 012.338.97c0 .365-.142.71-.401.968L10.753 24.18a4.115 4.115 0 01-5.812 0 4.115 4.115 0 010-5.813L16.565 6.742a6.858 6.858 0 019.687 0 6.805 6.805 0 012.007 4.844c0 1.83-.713 3.55-2.007 4.843L14.628 28.055a1.37 1.37 0 101.938 1.938L28.19 18.367A9.527 9.527 0 0031 11.586c0-2.562-.998-4.97-2.809-6.782z" fill="currentColor"/>',viewBox:"0 0 32 32"},frame:{icon:'<path d="M0 10.571c0 .5.357.858.857.858h2.857a.869.869 0 00.857-.858v-6h6a.869.869 0 00.858-.857V.857C11.429.43 11 0 10.57 0H1.714C.714 0 0 .786 0 1.714v8.857zM20.571.857v2.857c0 .5.358.857.858.857h6v6c0 .5.357.858.857.858h2.857A.869.869 0 0032 10.57V1.714C32 .786 31.214 0 30.286 0h-8.857c-.5 0-.858.429-.858.857zm10.572 19.714h-2.857c-.5 0-.857.429-.857.858v6h-6c-.5 0-.858.428-.858.857v2.857c0 .5.358.857.858.857h8.857c.928 0 1.714-.714 1.714-1.714v-8.857c0-.429-.429-.858-.857-.858zM11.429 31.143v-2.857c0-.429-.429-.857-.858-.857h-6v-6c0-.429-.428-.858-.857-.858H.857c-.5 0-.857.429-.857.858v8.857C0 31.286.714 32 1.714 32h8.857a.869.869 0 00.858-.857z" fill="currentColor"/>',viewBox:"0 0 32 32"},crop:{icon:'<path d="M30.5 22H28V6c0-1.063-.938-2-2-2H12v6h10v20.5c0 .875.625 1.5 1.5 1.5h3c.813 0 1.5-.625 1.5-1.5V28h2.5c.813 0 1.5-.625 1.5-1.5v-3c0-.813-.688-1.5-1.5-1.5zM10 1.5C10 .687 9.312 0 8.5 0h-3C4.625 0 4 .688 4 1.5V4H1.5C.625 4 0 4.688 0 5.5v3C0 9.375.625 10 1.5 10H4v16c0 1.125.875 2 2 2h14v-6H10V1.5z" fill="currentColor"/>',viewBox:"0 0 32 32"},eye:{icon:'<path d="M31.807 14.856C28.794 8.977 22.83 5 16 5S3.204 8.98.193 14.856a1.797 1.797 0 000 1.622C3.206 22.356 9.171 26.333 16 26.333c6.83 0 12.796-3.98 15.807-9.856a1.797 1.797 0 000-1.621zM16 23.666a8 8 0 110-16 8 8 0 010 16zm0-13.333a5.296 5.296 0 00-1.406.21 2.658 2.658 0 01-3.717 3.718A5.321 5.321 0 1016 10.333z" fill="currentColor"/>',viewBox:"0 0 32 32"},eyeSlash:{icon:'<path d="M17.299 22.869l2.595 2.005c-1.25.325-2.55.525-3.895.525-6.145 0-11.515-3.58-14.225-8.87-.23-.46-.23-1 0-1.46.51-1 1.145-1.915 1.835-2.78l5.245 4.055c.28 3.72 3.35 6.655 7.145 6.655.435-.005.87-.05 1.3-.13zm14.53 4.16l-.98 1.26a.803.803 0 01-1.125.14L.31 5.694a.803.803 0 01-.14-1.125l.98-1.26a.803.803 0 011.125-.14l6.36 4.915a15.412 15.412 0 017.365-1.885c6.145 0 11.515 3.58 14.225 8.87.23.46.23 1 0 1.46-1 1.955-2.385 3.69-4.06 5.105l5.525 4.27c.35.27.415.775.14 1.125zM23.2 15.79a7.19 7.19 0 00-7.2-7.19c-1.665 0-3.28.585-4.56 1.655l3.68 2.845c.045-.165.07-.33.075-.5 0-.51-.165-1-.465-1.41a4.74 4.74 0 015.805 6.095l1.965 1.52c.43-.915.695-1.925.695-3.005.005-.005.005-.005.005-.01z" fill="currentColor"/>',viewBox:"0 0 32 32"},clipboard:{icon:'<path d="M25 4h-5c0-2.188-1.813-4-4-4-2.25 0-4 1.813-4 4H7a3 3 0 00-3 3v22c0 1.688 1.313 3 3 3h18a3 3 0 003-3V7c0-1.625-1.375-3-3-3zm-9-1.5c.813 0 1.5.688 1.5 1.5 0 .875-.688 1.5-1.5 1.5-.875 0-1.5-.625-1.5-1.5 0-.813.625-1.5 1.5-1.5zm9 26.125c0 .25-.188.375-.375.375H7.375c-.25 0-.375-.125-.375-.375V7.375C7 7.187 7.125 7 7.375 7H10v2.25c0 .438.313.75.75.75h10.5a.76.76 0 00.75-.75V7h2.625c.188 0 .375.188.375.375v21.25z" fill="currentColor"/>',viewBox:"0 0 32 32"},paste:{icon:'<path d="M10 11.5C10 9.625 11.563 8 13.5 8H22V3.5c0-.813-.688-1.5-1.5-1.5h-5.063c-.687-1.188-2-2-3.437-2-1.5 0-2.813.813-3.5 2h-5C2.625 2 2 2.688 2 3.5v21c0 .875.625 1.5 1.5 1.5H10V11.5zm2-9c.813 0 1.5.688 1.5 1.5 0 .875-.688 1.5-1.5 1.5-.875 0-1.5-.625-1.5-1.5 0-.813.625-1.5 1.5-1.5zM23.5 18c-.875 0-1.5-.625-1.5-1.5V10h-8.5c-.875 0-1.5.688-1.5 1.5v19c0 .875.625 1.5 1.5 1.5h15c.813 0 1.5-.625 1.5-1.5V18h-6.5zm6.5-2.375c0-.313-.25-.813-.5-1.063L25.437 10.5c-.25-.25-.75-.5-1.062-.5H24v6h6v-.375z" fill="currentColor"/>',viewBox:"0 0 32 32"},clone:{icon:'<path d="M29 0H11a3 3 0 00-3 3v18c0 1.688 1.313 3 3 3h18a3 3 0 003-3V3c0-1.625-1.375-3-3-3zM11 26c-2.813 0-5-2.188-5-5V8H3a3 3 0 00-3 3v18c0 1.688 1.313 3 3 3h18a3 3 0 003-3v-3H11z" fill="currentColor"/>',viewBox:"0 0 32 32"},cloneLine:{icon:'<path d="M29 0H9a3 3 0 00-3 3v3H3a3 3 0 00-3 3v20c0 1.688 1.313 3 3 3h20a3 3 0 003-3v-3h3a3 3 0 003-3V3c0-1.625-1.375-3-3-3zm-6.375 29H3.375c-.25 0-.375-.125-.375-.375V9.375C3 9.187 3.125 9 3.375 9H6v14c0 1.688 1.313 3 3 3h14v2.625c0 .25-.188.375-.375.375zm6-6H9.375c-.25 0-.375-.125-.375-.375V3.375C9 3.187 9.125 3 9.375 3h19.25c.188 0 .375.188.375.375v19.25c0 .25-.188.375-.375.375z" fill="currentColor"/>',viewBox:"0 0 32 32"},filter:{icon:'<path d="M29.56 0H2.44C1.153 0 .509 1.624 1.446 2.56L12.28 14.116v12.866c0 .5.175 1 .585 1.25l4.686 3.497c.937.687 2.226 0 2.226-1.25V14.116L30.555 2.561C31.492 1.624 30.848 0 29.56 0z" fill="currentColor"/>',viewBox:"0 0 32 32"},search:{icon:'<path d="M31.532 27.66l-6.244-6.243c-.312-.25-.687-.438-1.062-.438h-.999c1.686-2.185 2.748-4.932 2.748-7.992C25.975 5.87 20.105 0 12.987 0 5.807 0 0 5.87 0 12.987c0 7.18 5.807 12.988 12.987 12.988 2.997 0 5.745-1 7.993-2.748v1.062c0 .374.124.749.437 1.061l6.181 6.182c.624.624 1.561.624 2.123 0l1.748-1.749c.625-.562.625-1.498.063-2.123zm-18.545-6.68a7.968 7.968 0 01-7.992-7.993c0-4.37 3.56-7.992 7.992-7.992 4.371 0 7.993 3.622 7.993 7.992 0 4.434-3.622 7.993-7.993 7.993z" fill="currentColor"/>',viewBox:"0 0 32 32"},caretDown:{icon:'<path d="M8.213 11h15.574c1.079 0 1.619 1.277.856 2.024l-7.787 7.629a1.228 1.228 0 01-1.712 0l-7.787-7.629C6.594 12.277 7.134 11 8.213 11z" fill="currentColor"/>',viewBox:"0 0 32 32"},caretUp:{icon:'<path d="M23.787 21H8.213c-1.079 0-1.619-1.277-.856-2.024l7.787-7.629a1.228 1.228 0 011.712 0l7.787 7.629c.763.747.223 2.024-.856 2.024z" fill="currentColor"/>',viewBox:"0 0 32 32"},caretRight:{icon:'<path d="M11 23.787V8.213c0-1.079 1.277-1.619 2.024-.856l7.629 7.787c.463.473.463 1.24 0 1.712l-7.629 7.787c-.747.763-2.024.223-2.024-.856z" fill="currentColor"/>',viewBox:"0 0 32 32"},caretLeft:{icon:'<path d="M21 8.213v15.574c0 1.079-1.277 1.619-2.024.856l-7.629-7.787a1.228 1.228 0 010-1.712l7.629-7.787c.747-.763 2.024-.223 2.024.856z" fill="currentColor"/>',viewBox:"0 0 32 32"},typography:{icon:'<path d="M27.143 24.571h-1.447L18.732 4.59A.87.87 0 0017.93 4h-3.911a.87.87 0 00-.804.59L6.25 24.57H4.857c-.482 0-.857.429-.857.858v1.714c0 .482.375.857.857.857h7.286c.428 0 .857-.375.857-.857v-1.714c0-.429-.429-.858-.857-.858h-1.286l1.393-4.285h7.393l1.446 4.285h-1.232c-.482 0-.857.429-.857.858v1.714c0 .482.375.857.857.857h7.286c.428 0 .857-.375.857-.857v-1.714c0-.429-.429-.858-.857-.858zM13.32 16.696l2.25-6.642c.215-.858.375-1.554.429-1.875 0 .375.107 1.071.375 1.875l2.25 6.642h-5.304z" fill="currentColor"/>',viewBox:"0 0 32 32"},typographyAlt:{icon:'<path d="M16.03 4h9.901c1.387 0 2.064.688 2.064 2.076 0 1.071.011 2.143 0 3.203-.011 1.117-.744 1.907-1.77 1.918-1.038.012-1.805-.79-1.827-1.94a16.555 16.555 0 010-1.297c.01-.305-.113-.373-.395-.373a496.45 496.45 0 01-5.797 0c-.327 0-.406.113-.406.418.012 5.324.012 10.649 0 15.973 0 .316.102.43.418.418.394-.012.79-.034 1.172.056.891.214 1.455.982 1.388 1.918-.068.868-.767 1.59-1.658 1.613-2.086.023-4.161.023-6.248 0-.902-.011-1.624-.767-1.68-1.658-.056-.903.541-1.704 1.444-1.861.35-.068.71-.08 1.06-.057.394.023.507-.113.507-.508-.022-1.951-.011-3.903-.011-5.854 0-3.306-.011-6.6.011-9.905 0-.451-.124-.564-.564-.564-1.86.023-3.71.023-5.57 0-.395 0-.53.09-.497.496.034.43.011.858 0 1.298 0 1.06-.79 1.85-1.793 1.839-.981-.012-1.76-.79-1.77-1.805a179.536 179.536 0 010-3.486c0-1.173.744-1.907 1.905-1.918H16.03z" fill="currentColor"/>',viewBox:"0 0 32 32"},th:{icon:'<path d="M18.344 3c-.82 0-1.407.638-1.407 1.393v9.286c0 .812.586 1.392 1.407 1.392h11.25c.761 0 1.406-.58 1.406-1.392V4.393C31 3.638 30.355 3 29.594 3h-11.25zm-4.688 0H2.406C1.586 3 1 3.638 1 4.393v9.286c0 .812.586 1.392 1.406 1.392h11.25c.762 0 1.406-.58 1.406-1.392V4.393c0-.755-.644-1.393-1.406-1.393zM1 18.321v9.286C1 28.42 1.586 29 2.406 29h11.25c.762 0 1.406-.58 1.406-1.393v-9.286c0-.754-.644-1.392-1.406-1.392H2.406c-.82 0-1.406.638-1.406 1.392zM18.344 29h11.25c.761 0 1.406-.58 1.406-1.393v-9.286c0-.754-.645-1.392-1.406-1.392h-11.25c-.82 0-1.407.638-1.407 1.392v9.286c0 .813.586 1.393 1.407 1.393z" fill="currentColor"/>',viewBox:"0 0 32 32"},plug:{icon:'<path d="M24 2c0-1.063-.938-2-2-2-1.125 0-2 .938-2 2v6h4V2zm3 8H5c-.563 0-1 .5-1 1v2c0 .563.438 1 1 1h1v2a9.998 9.998 0 008 9.813V32h4v-6.188c4.5-.937 7.938-4.937 8-9.812v-2h1c.5 0 1-.438 1-1v-2c0-.5-.5-1-1-1zM12 2c0-1.063-.938-2-2-2-1.125 0-2 .938-2 2v6h4V2z" fill="currentColor"/>',viewBox:"0 0 32 32"},sliders:{icon:'<path d="M27.25 4.502H15.145a8.655 8.655 0 010 7.5H27.25a3.707 3.707 0 002.654-1.096 3.754 3.754 0 00-2.654-6.404zM7.252 2A6.254 6.254 0 001 8.252c0 3.451 2.8 6.252 6.252 6.252 3.451 0 6.252-2.8 6.252-6.252 0-3.451-2.8-6.252-6.252-6.252zM4.75 19.502A3.753 3.753 0 001 23.252c0 1.008.387 1.951 1.096 2.654a3.731 3.731 0 002.654 1.096h12.105a8.654 8.654 0 010-7.5H4.75zM24.748 17a6.254 6.254 0 00-6.252 6.252c0 3.451 2.8 6.252 6.252 6.252 3.451 0 6.252-2.8 6.252-6.252C31 19.801 28.2 17 24.748 17z" fill="currentColor"/>',viewBox:"0 0 32 32"},equalizer:{icon:'<path d="M5.333 2.667c.737 0 1.334.597 1.334 1.333v9.333a1.333 1.333 0 11-2.667 0V4c0-.736.597-1.333 1.333-1.333zM6.667 20h2.666a1.333 1.333 0 000-2.667h-8a1.333 1.333 0 000 2.667H4v8a1.333 1.333 0 102.667 0v-8zM17.333 16a1.333 1.333 0 10-2.666 0v12a1.333 1.333 0 102.666 0V16zM16 2.667c.736 0 1.333.597 1.333 1.333v5.333H20A1.333 1.333 0 0120 12h-8a1.333 1.333 0 010-2.667h2.667V4c0-.736.597-1.333 1.333-1.333zM30.667 20a1.333 1.333 0 010 2.667H28V28a1.333 1.333 0 01-2.667 0v-5.333h-2.666a1.333 1.333 0 010-2.667h8zM26.667 2.667C27.403 2.667 28 3.264 28 4v12a1.333 1.333 0 01-2.667 0V4c0-.736.597-1.333 1.334-1.333z" fill="currentColor"/>',viewBox:"0 0 32 32"},click:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M16 31c8.284 0 15-6.716 15-15 0-8.284-6.716-15-15-15C7.716 1 1 7.716 1 16c0 8.284 6.716 15 15 15zm0 1c8.837 0 16-7.163 16-16S24.837 0 16 0 0 7.163 0 16s7.163 16 16 16z" fill="currentColor"/><path d="M21 16a5 5 0 11-10 0 5 5 0 0110 0z" fill="currentColor"/>',viewBox:"0 0 32 32"},hover:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M31.1 15.7c2.4 6.6-.2 11.7-5.9 13.8-4.8 1.7-9.1.4-12.7-4l-5.2-6.3c-1.2-1.4-1.1-2.9 0-3.9 1.1-.9 2.5-.8 3.6.4l2.3 2.5c.1.1.1.1.2.1s.1-.1.1-.2L9.9 8c-5 1.9-8.2 6.7-8.4 13 0 .5-.3.8-.7.8-.4 0-.8-.4-.8-.8C0 14.1 3.8 8.6 9.3 6.5L9 5.7C8.4 4 9.2 2.6 10.7 2c1.5-.5 3 .1 3.6 1.8l1.8 4.9c.3-.3.7-.5 1-.6 1.2-.4 2.3-.1 3 .9.4-.3.8-.5 1.2-.7 1.2-.4 2.2-.1 2.9.8 2.5-.9 4.7.4 5.9 3.7l1 2.9zM8.5 18.2l5.2 6.3c3.3 4 7 4.9 11 3.4 4.9-1.8 7-6 4.9-11.8l-.9-2.5c-.9-2.5-2.2-3.5-3.6-3l.6 1.7c.2.5-.1.9-.4 1-.4.1-.8 0-1-.5l-.7-2.1c-.3-.9-1-1.2-1.8-.9-.3.1-.6.3-.9.6l1 2.7c.2.5-.1.9-.4 1-.4.1-.8 0-1-.5l-1.1-3c-.3-.9-1-1.2-1.8-.9-.3.1-.6.3-.9.6l1.4 3.7c.2.4 0 .9-.4 1-.4.2-.9-.1-1-.5L12.8 4.3c-.3-.7-.9-1.1-1.6-.8-.7.2-1 .9-.7 1.6l5.2 14.3c.2.6 0 1.1-.6 1.3-.5.2-.9.1-1.4-.4l-3.5-3.7c-.5-.6-1.2-.7-1.7-.3-.6.5-.5 1.2 0 1.9z" fill="currentColor"/>',viewBox:"0 0 32 32"},button:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M0 8a4 4 0 014-4h24a4 4 0 014 4v9a4 4 0 01-4 4h-.5a1 1 0 110-2h.5a2 2 0 002-2V8a2 2 0 00-2-2H4a2 2 0 00-2 2v9a2 2 0 002 2h9a1 1 0 110 2H4a4 4 0 01-4-4V8z" fill="currentColor"/><path opacity="0.5" fill-rule="evenodd" clip-rule="evenodd" d="M16.004 12.669l1.526 9.46c.05.408.508.611.864.408l2.645-1.882 3.612 5.137c.508.661 2.034-.407 1.577-1.068l-3.612-5.188 2.696-1.832c.305-.254.305-.762-.05-.966l-8.393-4.68a.604.604 0 00-.865.611z" fill="currentColor"/>',viewBox:"0 0 32 32"},recycle:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M12.803 3.6a1.6 1.6 0 001.6 1.6h4.793A4.798 4.798 0 0124 10.007v9.571h3.2v-9.571C27.2 5.577 23.62 2 19.197 2h-4.794a1.6 1.6 0 00-1.6 1.6zm6.393 25.6a1.6 1.6 0 00-1.6-1.6h-4.793A4.81 4.81 0 018 22.8v-8H4.8v8c0 4.409 3.588 8 8.003 8h4.793a1.6 1.6 0 001.6-1.6z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M7.531 12.07a1.6 1.6 0 00-2.262 0l-4.8 4.8a1.6 1.6 0 102.262 2.262L6.4 15.6l3.669 3.532a1.6 1.6 0 002.262-2.263l-4.8-4.8zM25.6 17.2L21.93 13.67a1.6 1.6 0 00-2.262 2.263l4.8 4.8a1.6 1.6 0 002.262 0l4.8-4.8a1.6 1.6 0 10-2.262-2.263l-3.67 3.531z" fill="currentColor"/>',viewBox:"0 0 32 32"},recycleAlt:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M5.333 4c.737 0 1.334.597 1.334 1.333v3.124A11.976 11.976 0 0116 4c6.12 0 11.169 4.58 11.907 10.502a1.333 1.333 0 01-2.646.33C24.687 10.229 20.76 6.667 16 6.667a9.323 9.323 0 00-7.66 4H12a1.333 1.333 0 110 2.666H5.333A1.333 1.333 0 014 12V5.333C4 4.597 4.597 4 5.333 4zm-.082 12.01a1.333 1.333 0 011.488 1.158 9.335 9.335 0 0016.922 4.165H20a1.333 1.333 0 110-2.666h6.667c.736 0 1.333.597 1.333 1.333v6.667a1.333 1.333 0 01-2.667 0v-3.124A11.976 11.976 0 0116 28C9.88 28 4.831 23.42 4.093 17.498A1.333 1.333 0 015.25 16.01z" fill="currentColor"/>',viewBox:"0 0 32 32"},tagH1:{icon:'<path d="M19.04 7v18h-3.408v-7.827H8.384V25H5V7h3.384v7.292h7.248V7h3.408zM20.861 10.365V7h6.096v18h-3.552V10.365h-2.544z" fill="currentColor"/>',viewBox:"0 0 32 32"},tagH2:{icon:'<path d="M16.04 7.374V25h-3.408v-7.664H5.384V25H2V7.374h3.384v7.14h7.248v-7.14h3.408zM18.461 22.229c5.424-3.911 8.136-7.157 8.136-9.737 0-.782-.184-1.398-.552-1.847-.352-.45-.912-.674-1.68-.674-1.584 0-2.424 1.123-2.52 3.37h-3.288c.096-2.08.704-3.653 1.824-4.718C21.501 7.54 22.917 7 24.63 7c1.744 0 3.08.474 4.008 1.423.944.932 1.416 2.18 1.416 3.745 0 1.231-.352 2.471-1.056 3.72a15.037 15.037 0 01-2.64 3.42 21.308 21.308 0 01-3.384 2.671h7.416v2.871H18.461V22.23z" fill="currentColor"/>',viewBox:"0 0 32 32"},tagH3:{icon:'<path d="M16.04 7.657V24.83h-3.408v-7.468H5.384v7.468H2V7.657h3.384v6.957h7.248V7.657h3.408zM24.797 7c1.152 0 2.136.203 2.952.608.832.406 1.456.965 1.872 1.678.432.714.648 1.509.648 2.384 0 1.103-.296 2.011-.888 2.725-.592.697-1.376 1.127-2.352 1.289v.121c2.368.714 3.552 2.125 3.552 4.233 0 1.476-.488 2.675-1.464 3.6-.976.908-2.352 1.362-4.128 1.362-1.888 0-3.392-.47-4.512-1.41-1.12-.958-1.744-2.393-1.872-4.306h3.312c.08.876.36 1.573.84 2.092.496.502 1.192.754 2.088.754.768 0 1.368-.211 1.8-.633.432-.438.648-1.005.648-1.702 0-.827-.312-1.46-.936-1.898-.624-.438-1.544-.656-2.76-.656h-.696v-2.798h.696c2.24.033 3.36-.754 3.36-2.36 0-.697-.2-1.24-.6-1.629-.4-.405-.944-.608-1.632-.608-.72 0-1.312.235-1.776.705-.464.454-.728 1.095-.792 1.922h-3.312c.096-1.751.656-3.097 1.68-4.038C21.55 7.478 22.973 7 24.797 7z" fill="currentColor"/>',viewBox:"0 0 32 32"},tagH4:{icon:'<path d="M15.04 7.202V25h-3.408v-7.74H4.384V25H1V7.202h3.384v7.21h7.248v-7.21h3.408zM17.51 21.42v-2.95L25.62 7h3.624v11.345h2.208v3.075h-2.208V25h-3.408v-3.58H17.51zM26.1 11.16l-5.136 7.184h5.136V11.16z" fill="currentColor"/>',viewBox:"0 0 32 32"},tagH5:{icon:'<path d="M15.04 7.349v17.576h-3.408v-7.643H4.384v7.643H1V7.35h3.384v7.12h7.248v-7.12h3.408zM29.821 10.087h-8.04v4.432c.368-.449.872-.805 1.512-1.07a5.41 5.41 0 012.16-.424c1.168 0 2.136.265 2.904.797a4.537 4.537 0 011.728 2.09c.384.864.576 1.827.576 2.889 0 1.875-.512 3.377-1.536 4.506C28.117 24.436 26.67 25 24.781 25c-1.232 0-2.304-.224-3.216-.672-.912-.465-1.624-1.104-2.136-1.917-.512-.83-.792-1.793-.84-2.888h3.288c.128.747.424 1.344.888 1.792.464.432 1.08.648 1.848.648.928 0 1.616-.29 2.064-.872.464-.597.696-1.386.696-2.365 0-.93-.24-1.651-.72-2.166-.48-.514-1.16-.772-2.04-.772-.64 0-1.184.15-1.632.448a2.496 2.496 0 00-.984 1.146H18.71V7h11.112v3.087z" fill="currentColor"/>',viewBox:"0 0 32 32"},tagH6:{icon:'<path d="M15.04 7.61v17.22h-3.408v-7.488H4.384v7.487H1V7.61h3.384v6.976h7.248V7.61h3.408zM26.677 12.293c-.256-1.691-1.104-2.537-2.544-2.537-1.12 0-1.936.504-2.448 1.512-.512.992-.736 2.553-.672 4.683.256-.78.752-1.398 1.488-1.853.752-.472 1.624-.708 2.616-.708 1.632 0 2.912.504 3.84 1.512.944.992 1.416 2.407 1.416 4.244 0 1.139-.224 2.147-.672 3.025-.448.878-1.12 1.569-2.016 2.073-.88.504-1.952.756-3.216.756-2.464 0-4.16-.772-5.088-2.317-.928-1.561-1.392-3.707-1.392-6.44 0-3.137.496-5.462 1.488-6.975C20.485 7.756 22.11 7 24.35 7c1.712 0 3.024.496 3.936 1.488.912.992 1.432 2.26 1.56 3.805h-3.168zm-5.376 6.61c0 .91.256 1.666.768 2.268.528.585 1.296.878 2.304.878.864 0 1.552-.26 2.064-.78.512-.521.768-1.245.768-2.171 0-.976-.264-1.724-.792-2.244-.512-.52-1.208-.78-2.088-.78-.832 0-1.544.243-2.136.73-.592.489-.888 1.188-.888 2.098z" fill="currentColor"/>',viewBox:"0 0 32 32"},tagDiv:{icon:'<path d="M31.567 13.822l-6.682-7.079a1.647 1.647 0 00-2.312-.072 1.647 1.647 0 00-.072 2.311l5.634 5.96-5.634 5.96a1.647 1.647 0 00.072 2.31c.29.29.687.434 1.12.434a1.7 1.7 0 001.192-.506l6.682-7.079a1.663 1.663 0 000-2.239zM17.796 1.462a1.5 1.5 0 012.924.669L14.26 30.4a1.5 1.5 0 11-2.925-.668l6.462-28.27zM9.427 6.67a1.704 1.704 0 00-1.156-.432c-.434 0-.83.18-1.12.505l-6.718 7.08c-.577.613-.577 1.588 0 2.238l6.682 7.08c.29.325.722.505 1.192.505.433 0 .795-.144 1.12-.433.65-.614.686-1.662.072-2.312l-5.634-5.96 5.634-5.959a1.647 1.647 0 00-.072-2.311z" fill="currentColor"/>',viewBox:"0 0 32 32"},tagP:{icon:'<path d="M27.286 4.857v1.714a.86.86 0 01-.857.858h-2.572v19.714A.86.86 0 0123 28h-1.714a.86.86 0 01-.857-.857V7.429h-1.715v19.714a.86.86 0 01-.857.857h-1.714a.86.86 0 01-.857-.857v-6H13.57A8.57 8.57 0 015 12.57 8.569 8.569 0 0113.571 4H26.43a.86.86 0 01.857.857z" fill="currentColor"/>',viewBox:"0 0 32 32"},tagSpan:{icon:'<path d="M4.576 12.764c.296.296.625.428 1.053.428.428 0 .79-.132 1.053-.428.297-.296.461-.691.428-1.086 0-.395-.164-.757-.46-.988L3.554 7.596 6.65 4.502c.297-.297.461-.692.428-1.087 0-.395-.164-.757-.46-.987A1.515 1.515 0 005.53 2c-.395 0-.757.165-.987.46L.46 6.544c-.296.296-.461.69-.428 1.086 0 .395.165.757.46.987l4.083 4.148zM15.307 13.093h11.225a5.437 5.437 0 005.43-5.431 5.437 5.437 0 00-5.43-5.432H15.307a5.437 5.437 0 00-5.432 5.432 5.437 5.437 0 005.432 5.431zm0-8.196h11.225a2.796 2.796 0 012.797 2.798 2.796 2.796 0 01-2.797 2.798H15.307a2.796 2.796 0 01-2.798-2.798 2.796 2.796 0 012.798-2.798zM27.387 19.142c-.296-.296-.625-.428-1.053-.428-.428 0-.79.132-1.053.428-.297.296-.461.691-.428 1.086 0 .395.164.757.46.988l3.095 3.094-3.094 3.094c-.297.297-.461.692-.428 1.087 0 .395.164.757.46.987.264.263.659.428 1.054.428h.033c.395 0 .757-.165.987-.46l4.148-4.115c.296-.297.46-.692.428-1.087 0-.395-.165-.757-.461-.987l-4.148-4.115zM16.656 18.78H5.431A5.437 5.437 0 000 24.211a5.437 5.437 0 005.431 5.432h11.225a5.437 5.437 0 005.432-5.432c0-2.995-2.47-5.431-5.432-5.431zm0 8.196H5.431a2.796 2.796 0 01-2.798-2.797 2.796 2.796 0 012.798-2.798h11.225a2.796 2.796 0 012.798 2.797c0 1.548-1.284 2.798-2.798 2.798z" fill="currentColor"/>',viewBox:"0 0 32 32"},fontawesome:{icon:'<path d="M29.587 22.467c0 .45-.382.638-.832.831-1.794.77-3.713 1.476-5.763 1.476-2.882 0-4.226-1.794-7.683-1.794-2.494 0-5.12.893-7.233 1.856-.125.063-.256.063-.381.125v4.864C7.695 31.162 6.688 32 5.582 32a2.157 2.157 0 01-2.175-2.175V6.4A3.573 3.573 0 012 3.582C2 1.6 3.6 0 5.582 0c1.982 0 3.582 1.6 3.582 3.582 0 1.15-.513 2.175-1.407 2.82v1.98c.257-.087 3.676-1.793 7.17-1.793 4.083 0 6.108 1.725 7.94 1.725 2.431 0 5.12-1.725 5.763-1.725.513 0 .963.381.963.831l-.006 15.047z" fill="currentColor"/>',viewBox:"0 0 32 32"},icofont:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M25.306 9.57c2.578 0 4.769-2.223 4.769-4.801C30.107 2.159 27.948 0 25.305 0c-2.577 0-4.8 2.191-4.8 4.769 0 2.545 2.255 4.8 4.8 4.8zm3.093-4.833c0 1.643-1.385 3.028-3.06 3.028-1.709 0-2.997-1.288-2.997-3.028 0-1.644 1.353-3.061 2.996-3.061 1.579 0 3.061 1.45 3.061 3.06zm-.611 13.792c-1.032-5.64-4.64-8.958-10.183-8.926-.128 0-.74 0-1.256.194A880.864 880.864 0 003.235 13.76c-1.386.419-1.547 1.03-.774 2.255.554.859 1.191 1.658 1.83 2.459.847 1.062 1.697 2.128 2.359 3.341 1.353 2.513 3.834 3.577 6.605 3.061.464-.077.928-.19 1.393-.301.309-.075.618-.15.927-.214.774-.161 1.064.064.838.902-.134.539-.234 1.091-.335 1.648-.116.642-.233 1.29-.406 1.929-.847 3.261.138 3.226 2.747 3.133l.218-.008c.118 0 .248-.036.376-.072.081-.022.16-.044.236-.057 5.993-1.289 9.666-7.024 8.539-13.307zm-18.206-.774c-2.288.645-3.705 0-4.994-2.287 1.292-.392 2.566-.809 3.835-1.223 2.591-.846 5.158-1.684 7.797-2.29 4.189-.902 8.957 2.61 9.376 6.831.025.145-.006.29-.036.435-.01.049-.02.097-.028.145-.052 0-.093.006-.126.01-.05.006-.08.01-.1-.01-2.964-4.382-6.927-4.64-11.47-2.9-1.308.487-2.672.858-4.013 1.224l-.24.065zm2.123 1.583c2.37-.738 4.738-1.474 7.222-1.776 1.643-.065 2.867.644 3.834 1.933.29.355.644.902-.258.967-2.111.13-4.122.72-6.127 1.308-.995.292-1.988.584-2.992.819-1.74.419-3.254-.097-4.478-1.386l-.072-.07c-.283-.272-.753-.725.104-.961.928-.261 1.848-.548 2.768-.834zm10.25 3.412c1.29.354 2.191 1.063 2.095 2.642.16 1.128-.58 1.837-1.29 2.513a6.101 6.101 0 01-2.158 1.354c-.123.045-.25.096-.381.148-.792.315-1.69.672-2.326.174-.475-.367-.27-.951-.063-1.54.101-.289.203-.579.224-.845.06-.861.338-1.723.609-2.56l.068-.21c.42-1.225 1.901-2.03 3.222-1.676z" fill="currentColor"/>',viewBox:"0 0 32 32"},ionicons:{icon:'<path d="M15.933 22.226a6.159 6.159 0 100-12.318 6.159 6.159 0 000 12.318z" fill="currentColor"/><path d="M28.787 6.56c.134-.401.267-.803.267-1.204 0-1.473-1.205-2.544-2.543-2.544-.402 0-.804.134-1.206.268C22.628 1.07 19.415 0 15.933 0 11.65 0 7.632 1.74 4.686 4.686 1.606 7.766 0 11.782 0 16.066c0 4.286 1.607 8.302 4.686 11.248C7.766 30.259 11.65 32 15.933 32c4.285 0 8.301-1.607 11.247-4.686 2.945-3.08 4.686-6.962 4.686-11.247 0-3.481-1.071-6.829-3.08-9.506zm-2.678 19.683c-2.678 2.678-6.293 4.284-10.176 4.284s-7.498-1.473-10.176-4.284C3.08 23.565 1.473 19.95 1.473 16.067S2.946 8.569 5.757 5.89c2.678-2.678 6.293-4.284 10.176-4.284 2.946 0 5.891.937 8.167 2.544-.134.401-.267.803-.267 1.205 0 1.472 1.205 2.544 2.544 2.544.401 0 .803-.134 1.205-.268 1.74 2.41 2.677 5.355 2.677 8.435.134 3.749-1.472 7.364-4.15 10.176z" fill="currentColor"/>',viewBox:"0 0 32 32"},octicons:{icon:'<path d="M32 17.077c-.056.215-.038.433-.056.651-.278 3.339-1.431 6.318-3.472 8.932-1.931 2.476-4.372 4.22-7.288 5.272-.159.058-.325.08-.493.061-.416-.048-.688-.352-.688-.789-.003-.866.01-1.728.013-2.594.003-.805.037-1.613-.016-2.418-.05-.719-.219-1.398-.603-2.011a3.54 3.54 0 00-.44-.532c.234-.036.443-.065.652-.097 1.075-.17 2.122-.433 3.1-.94 1.65-.852 2.678-2.225 3.17-4.037a10.8 10.8 0 00.337-3.662 6.29 6.29 0 00-1.522-3.676c-.047-.054-.097-.099-.066-.192.45-1.321.36-2.633-.066-3.938-.118-.366-.121-.372-.506-.363-.656.016-1.268.222-1.865.481-.713.312-1.378.706-2.016 1.149-.094.064-.172.086-.284.057a14.434 14.434 0 00-4.157-.513 14.197 14.197 0 00-3.5.5.39.39 0 01-.359-.057c-.762-.513-1.553-.975-2.416-1.293-.525-.192-1.062-.343-1.63-.31-.132.006-.204.044-.25.179-.466 1.315-.595 2.646-.173 3.999.05.157.032.25-.075.375-.956 1.145-1.453 2.48-1.487 3.983-.028 1.184.081 2.354.418 3.496.597 1.995 1.857 3.355 3.741 4.124.85.346 1.74.536 2.644.67.119.02.237.032.356.052.025.003.05.013.09.022-.174.19-.34.372-.468.587a3.925 3.925 0 00-.506 1.45c-.013.07-.01.144-.097.183-.825.352-1.675.516-2.56.285-.853-.225-1.465-.783-1.925-1.53-.33-.535-.718-1.023-1.23-1.385-.523-.37-1.091-.51-1.72-.401a.81.81 0 00-.15.041c-.193.084-.24.228-.134.411.138.23.338.4.563.52.397.211.68.538.934.9.366.52.672 1.078.91 1.675.374.933 1.084 1.475 2.009 1.741.847.244 1.71.228 2.572.116.197-.026.393-.045.587-.087.128-.029.147.013.147.132 0 .914.006 1.824.01 2.738 0 .106.006.215-.01.321a.729.729 0 01-.625.625c-.19.03-.384.02-.569-.048-2.647-.93-4.903-2.466-6.765-4.602-2-2.296-3.26-4.955-3.807-7.97a14.98 14.98 0 01-.23-2.08c-.004-.058-.02-.116-.029-.174V15.41c.01-.052.025-.103.028-.154.04-.66.125-1.315.25-1.966.74-3.8 2.553-6.963 5.444-9.454C8.312 1.604 11.316.353 14.694.058c.247-.023.5-.003.743-.058h1.126c.053.029.112.026.168.026a14.32 14.32 0 012.247.263 15.439 15.439 0 015.594 2.27c2.497 1.639 4.416 3.813 5.74 6.533a16.383 16.383 0 011.635 6.196c.019.276-.006.555.053.827v.962z" fill="currentColor"/>',viewBox:"0 0 32 32"},iconjar:{icon:'<path d="M7.343 7.833c-.656 0-1.248-.604-1.248-1.272 0-1.54 3.81-2.68 8.146-2.68.394 0 .656 0 .656-.333 0-.603-1.313-.803-1.313-1.807C13.584.67 14.832 0 16.408 0c1.577 0 2.825.67 2.825 1.741 0 1.004-1.313 1.138-1.313 1.807 0 .201.197.335.656.335 4.336 0 8.213 1.07 8.213 2.678a1.258 1.258 0 01-1.25 1.271H7.345l-.001.001zm19.642 6.091c1.578 1.004 2.168 2.812 1.907 4.487l-1.84 10.106C26.657 30.53 24.948 32 22.91 32H10.036C8 32 6.292 30.528 5.897 28.519L4.057 18.41a4.41 4.41 0 011.972-4.42c.92-.668 1.116-1.807 0-2.208-1.577-.603-1.25-2.544.328-2.544h9.59c1.512 0 3.353 1.137 3.353 4.82 0 3.682-1.71 3.346-1.71 5.957 0 1.139.92 2.344 2.037 2.479 1.906.2 3.022-.536 3.022-3.214 0-2.746-1.576-4.017-1.576-6.293 0-2.745 1.707-3.817 2.824-3.817h2.76c1.576 0 1.906 1.942.328 2.545-1.116.467-.92 1.607 0 2.208z" fill="currentColor"/>',viewBox:"0 0 32 32"},materialicon:{icon:'<path d="M28.2 5.5c-.2.1-.2.2-.2.3v4.3s.1 0 .1-.1.1 0 .1-.1c.6-.4 1.2-.7 1.9-1.1.6-.4 1.2-.7 1.9-1.1V3.3c-1.3.7-2.5 1.5-3.8 2.2z" fill="currentColor"/><path d="M31.9 12.6c-.3.2-.6.3-.8.5-1 .6-1.9 1.1-2.9 1.7-.2 0-.2.1-.2.3v4.1c0 .2-.1.3-.2.4l-5.7 3.3-2.1 1.2c-1.3-.7-2.5-1.4-3.7-2.2h-.1c-.1 0-.1-.1-.1-.1l2.1-1.2c1.8-1.1 3.7-2.1 5.5-3.2.2-.1.2-.2.2-.3V3.8v-.1-.2l-12 6.9C10.5 9.6 9.2 8.8 7.8 8 5.3 6.4 2.6 4.8 0 3.3V17c0 .2.1.3.2.3l3.6 2.1c.1 0 .1.1.2.1v-9.3h.1c.1 0 .1.1.1.1 2.3 1.3 4.6 2.6 6.8 4 .1 0 .2.1.2.1.2.1.4.3.7.4.1 0 .2 0 .2-.1 0 0 .1 0 .1-.1 1.2-.7 2.5-1.4 3.7-2.1 1.2-.7 2.5-1.4 3.7-2.1h.1c.1 0 .1-.1.2-.1v4.4c0 .1-.1.2-.2.2-1.6.9-3.2 1.9-4.8 2.8-1 .6-1.9 1.1-2.9 1.7v4.4c0 .3.1.4.3.6 2.5 1.4 4.9 2.8 7.4 4.3h.1c.1 0 .1.1.2.1s.2-.1.2-.1.1 0 .1-.1l5.7-3.3 5.7-3.3c.1 0 .1-.1.2-.1v-9.3c.1 0 .1 0 0 0z" fill="currentColor"/>',viewBox:"0 0 32 32"},icomoon:{icon:'<path d="M16 0c-2.267 0-4.267.4-6.267 1.2-1.866.8-3.6 2-5.066 3.467C3.2 6.133 2 7.867 1.2 9.733c-.8 2-1.2 4-1.2 6.267 0 2.267.4 4.267 1.2 6.267.8 1.866 2 3.6 3.467 5.066C6.133 28.8 7.867 30 9.733 30.8c1.867.8 4 1.2 6.267 1.2 2.267 0 4.267-.4 6.267-1.2 1.866-.8 3.6-2 5.066-3.467 1.467-1.466 2.667-3.2 3.467-5.066.8-1.867 1.2-4 1.2-6.267 0-2.267-.4-4.267-1.2-6.267-.8-1.866-2-3.6-3.467-5.066C25.867 3.2 24.133 2 22.267 1.2c-2-.8-4-1.2-6.267-1.2zm-4.133 2c1.2.667 2.4 1.6 3.333 2.533a19.077 19.077 0 012.533 3.2c.667 1.2 1.2 2.534 1.6 3.867.4 1.333.534 2.8.534 4.267 0 1.466-.267 2.933-.534 4.266-.4 1.334-.933 2.667-1.6 3.867-.666 1.2-1.6 2.267-2.533 3.333a14.706 14.706 0 01-3.333 2.534c-1.2-.534-2.267-1.467-3.334-2.4C7.6 26.4 6.667 25.333 6 24.133c-.667-1.2-1.2-2.533-1.6-3.866-.4-1.334-.533-2.8-.533-4.267 0-1.467.133-2.933.666-4.267.4-1.333.934-2.666 1.6-3.866.534-1.2 1.467-2.267 2.4-3.334C9.6 3.6 10.667 2.667 11.867 2zm0 10.267c-1.067 0-1.867.4-2.667 1.066-.667.667-1.067 1.6-1.067 2.667 0 1.067.4 1.867 1.067 2.667.667.8 1.6 1.066 2.667 1.066 1.066 0 1.866-.4 2.666-1.066.8-.667 1.067-1.6 1.067-2.667 0-1.067-.4-1.867-1.067-2.667-.8-.666-1.733-1.066-2.666-1.066z" fill="currentColor"/>',viewBox:"0 0 32 32"},fontello:{icon:'<path d="M30.6 13.1c.4 1.2-.1 2.2-1.3 2.6-.5.2-.5.2-.5-.4 0-.6-.1-1.2-.5-1.6-.3-.4-.7-.5-1.1-.4-.4.1-.6.4-.7.8-.2.8.3 1.7 1.1 2.1.1.1.3.1.3.3-.1.4-.2.9-.6 1.2-.3.3-.7.2-.9-.1-.2-.4-.3-.7-.2-1.1.1-.4.2-.8.2-1.3 0-.3 0-.6-.4-.6s-.5.2-.6.6c-.1.5 0 .9 0 1.3s-.2.7-.4.9c-.2.2-.4.2-.6 0-.4-.4-.7-1.5-.5-2 .5-1.4.9-2.9.9-4.4 0-.6-.1-1.2-.5-1.7-.4-.6-1.2-.6-1.6.1-.2.3-.3.7-.3 1.1-.3 1.8-.1 3.7.2 5.5.1.6-.2 1.1-.5 1.5-.1.2-.3.2-.5 0-.4-.3-.8-1.5-.6-2 .4-1 .6-2 .8-3.1.1-1 .2-2-.3-3-.2-.3-.4-.6-.8-.6s-.6.2-.8.6c-.2.4-.3.8-.4 1.2-.2 1.9-.1 3.8.3 5.6.1.4-.4 1.4-.7 1.6-.1.1-.3.1-.4 0-.2-.1 0-.3 0-.4.3-.6.5-1.3.5-2 0-.6-.1-1.3-.5-1.8-.5-.5-1.1-.4-1.4.2-.3.6-.4 1.2-.4 1.9.1.6.3 1.2.6 1.8-.6.1-1-.2-1.2-1-.4-1.3-.2-2.7-.1-4 .1-.5.1-.5.8-.5.8 0 1.4-.3 1.6-.9.2-.6.1-1.1-.1-1.7-.6.8-.9 1-1.5 1.2-.3.1-.4.1-.3-.3.2-.5.3-1 .4-1.6.1-.2.1-.5-.2-.6-.6-.1-1.4.4-1.5.9-.1.4-.1.8-.2 1.2 0 .2-.1.3-.3.2-.4-.1-.9-.2-1.3-.3-1.4-.4-2.8-.6-4.2-.3-.3.1-.2-.1-.2-.3.1-.7 0-1.4-.3-2-.4-.9-1.3-1.5-2.2-1.4-.9 0-1.6.6-2 1.6-.3.7-.4 1.5-.4 2.3 0 1.5.3 3 .6 4.5.1.5 0 .8-.3 1.1-.3.3-.4.3-.6 0-.8-.9-1.8-.9-2.6-.1-.4.4-.7.9-.8 1.5-.6 1.8-.5 3.7 0 5.5.3 1.4.9 2.6 2 3.5 1.8 1.6 3.9.9 4.4-1.4.3-1.3.3-2.6 0-3.8-.3-1.6-.6-3.3-.9-4.9 0-.2-.1-.5.2-.5.3 0 .1.3.1.5.1.9.2 1.8.9 2.6.9.9 1.9.7 2.4-.4.1-.3.2-.7.3-1 0-.3.3-.3.5-.3s.1.2.2.3c.1.5.1 1 .4 1.5.1.2.2.5.6.4.3-.1.5-.3.5-.7.1-.8.3-1.5.6-2.3.1.2.1.4.1.6.1.7.3 1.4.8 2 .5.6 1.2.6 1.7 0 .1-.2.2-.3.4-.5.7.9 1.3 1 2.3.5.2-.1.3 0 .4.1.6.4 1.1.2 1.5-.3.1-.1.2-.4.4-.5.5.9.9 1.2 1.5 1.1.7-.2.9-.9 1.3-1.4.3.6.5 1.3 1.2 1.4.8.1 1.1-.5 1.5-1 .2.2.3.4.4.6.7.8 1.5.7 2-.2.2-.4.3-.8.4-1.2 0-.3.1-.4.5-.5 1-.1 2-.4 2.6-1.3.5-1.2-.1-2.2-1.2-2.3zM4.3 17.4c.3.5.4.9.3 1.4 0 .1 0 .2-.1.2s-.1-.1-.2-.2c-.1-.5-.1-.9 0-1.4zm2 4.4c0 .7 0 1.5-.2 2.2-.4 1-1.2 1.3-2 .5-.6-.5-1-1.1-1.3-1.8-.7-1.7-1-3.5-.8-5.4 0-.3.1-.6.2-.8.4-.7 1-.7 1.5-.2.1.2.1.3 0 .4-.2.6-.4 1.2-.4 1.8v.4c.1.6.6 1 1 .9.5 0 .8-.5.8-1.1 0-.6-.1-1.2-.3-1.7-.3-.5 0-.8.4-1.1.5 2.1 1 4 1.1 5.9zm8.6-4c-.2.1-.5 0-.6-.2-.3-.4-.4-.8-.4-1.2-.1-.8-.1-1.6.1-2.4.1-.4 0-.5-.4-.5s-.7.2-.8.6c-.4.9-.7 1.7-1 2.6.1-.9.1-1.8.5-2.7.3-.6.2-.7-.5-.7-.5 0-.7.2-.8.7-.1.4-.2.9-.3 1.3-.1.3-.2.5-.6.7 0-.4 0-.8-.1-1.1-.1-.3-.2-.7-.5-.9-.3-.3-.7-.4-1.1-.2-.4.1-.5.5-.6.9 0 .8.2 1.4.9 1.8.3 0 .4.1.3.4-.1.3-.1.6-.3.8-.1.2-.2.4-.5.4s-.4-.2-.5-.4c-.4-.9-.4-1.9-.1-2.9 0-.1.1-.2.1-.2.1-.2 0-.4-.1-.6-.1-.2-.3-.1-.4 0-.4.1-.8.3-1.3.5-.2-1.8-.5-3.5-.2-5.3.2-.5.3-1 .6-1.3.6-.7 1.4-.6 1.8.2.3.6.3 1.3.2 2 0 .2-.2.2-.3.3-.4.3-.8.6-1.1 1-.1.2-.2.4-.2.6 0 .4.1.6.4.8.3.2.6 0 .8-.2.5-.4.7-1 .9-1.5.1-.5.4-.7.9-.8 1-.2 2 0 2.9.3.8.3 1.5.6 2.3.9.2.1.2.2.2.4-.1.9-.1 1.9-.1 2.8 0 .8.1 1.6.3 2.3.1.5-.1.6-.4.8zm-5.8-2c-.4-.4-.4-.7-.3-1.1.3.3.3.6.3 1.1zM8 11.1c-.1.5-.2.8-.5 1-.1.1-.1.2-.3.1-.1-.1-.1-.2 0-.3.2-.3.4-.6.8-.8zm10.1 6.2c-.3-.8-.3-1.6-.2-2.4 0-.2.1-.5.4-.5.3 0 .4.3.4.5.1.8-.1 1.6-.6 2.4zm2.4-5.3c0-.3 0-.6.1-.9 0-.2 0-.6.3-.6s.2.4.3.6c.1.6.1 1.1 0 1.7-.1.5-.2 1.1-.4 1.6-.2-.8-.3-1.6-.3-2.4zm3.1 2.4c-.2-1.2-.2-2.3-.1-3.4 0-.1 0-.2.1-.3 0-.1 0-.2.2-.2s.2.1.2.2c.2.6.2 1.1.1 1.7-.1.7-.2 1.4-.5 2zm4.4 1.3c-.5-.3-.7-.6-.7-1.1 0-.2.1-.3.2-.3.2 0 .3.1.3.2.2.4.2.7.2 1.2z" fill="currentColor"/><path d="M8.3 22c0-.4.2-.5.4-.6.8-.5 1.7-.8 2.6-1 2.4-.5 4.8-.6 7.2-.6 2.3 0 4.6.3 6.7 1 .5.2 1 .3 1.4.6.1.1.2.1.3.2.1.1.1.3 0 .5s-.2.1-.4.1c-1.4-.4-2.7-.7-4.1-.8-2.3-.3-4.6-.3-6.9-.1-1.9.2-3.7.6-5.5 1.3-.2.1-.4.2-.5.2-.2.1-.4.4-.7.2-.3-.4-.5-.7-.5-1z" fill="currentColor"/>',viewBox:"0 0 32 32"},videoCameraDuo:{icon:'<rect y="5" width="21.192" height="21.192" rx="2" fill="currentColor"/><path opacity=".4" fill-rule="evenodd" clip-rule="evenodd" d="M30.288 9.016c.627-.637 1.712-.193 1.712.702v11.756c0 .895-1.085 1.34-1.712.702l-5.791-5.878a1 1 0 010-1.404l5.79-5.878z" fill="currentColor"/>',viewBox:"0 0 32 32"},folderPlusDuo:{icon:'<path opacity=".3" fill-rule="evenodd" clip-rule="evenodd" d="M0 27.2a2 2 0 002 2h28a2 2 0 002-2V8.8a2 2 0 00-2-2H13.628a2 2 0 01-1.414-.586L8.586 2.586A2 2 0 007.172 2H2a2 2 0 00-2 2v23.2z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M15.822 11.245c.472 0 .854.382.854.853v4.693h4.693a.853.853 0 010 1.707h-4.693v4.693a.853.853 0 01-1.707 0v-4.693h-4.693a.853.853 0 010-1.707h4.693v-4.693c0-.471.382-.853.853-.853z" fill="currentColor"/>',viewBox:"0 0 32 32"},foldersDuo:{icon:'<path opacity=".4" fill-rule="evenodd" clip-rule="evenodd" d="M4.572 27.886a2 2 0 002 2H30a2 2 0 002-2v-15.2a2 2 0 00-2-2H16.371a2 2 0 01-1.414-.586l-2.943-2.943a2 2 0 00-1.414-.586H6.572a2 2 0 00-2 2v19.315z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M0 23.314a2 2 0 002 2h23.428a2 2 0 002-2v-15.2a2 2 0 00-2-2H11.8a2 2 0 01-1.414-.586L7.443 2.586A2 2 0 006.029 2H2a2 2 0 00-2 2v19.314z" fill="currentColor"/>',viewBox:"0 0 32 32"},plusCircleDuo:{icon:'<path opacity=".4" fill-rule="evenodd" clip-rule="evenodd" d="M32 16c0-8.832-7.168-16-16-16S0 7.168 0 16s7.168 16 16 16 16-7.168 16-16zM3.2 16C3.2 8.944 8.944 3.2 16 3.2c7.056 0 12.8 5.744 12.8 12.8 0 7.056-5.744 12.8-12.8 12.8-7.056 0-12.8-5.744-12.8-12.8z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M16 8.533c.55 0 .995.446.995.996v5.476h5.476a.996.996 0 010 1.99h-5.476v5.476a.995.995 0 11-1.99 0v-5.475H9.528a.996.996 0 110-1.991l5.475-.002V9.53c0-.55.446-.996.996-.996z" fill="currentColor"/>',viewBox:"0 0 32 32"},layersDuo:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M27.605 20.035l4.129 2.14c.325.169.352.433.081.617l-.081.049-15.092 7.821c-.31.161-.79.181-1.142.06l-.142-.06L.266 22.841c-.325-.169-.352-.433-.081-.618l.081-.048 4.128-2.139 10.86 5.628c.365.19.933.211 1.344.064l.146-.064 10.861-5.629z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M27.605 13.733l4.129 2.14c.325.169.352.433.081.618l-.081.048-15.092 7.821c-.31.161-.79.181-1.142.06l-.142-.06L.266 16.54c-.325-.169-.352-.433-.081-.618l.081-.048 4.128-2.139 10.86 5.628c.365.19.933.211 1.344.064l.146-.064 10.861-5.629z" fill="currentColor"/><path opacity=".4" fill-rule="evenodd" clip-rule="evenodd" d="M.266 9.679l15.092-7.546c.31-.155.79-.175 1.142-.058l.142.058 15.092 7.546c.325.162.352.418.081.595l-.081.047-15.092 7.546c-.31.155-.79.175-1.142.058l-.142-.058L.266 10.321c-.325-.162-.352-.418-.081-.596l.081-.046 15.092-7.546L.266 9.679z" fill="currentColor"/>',viewBox:"0 0 32 32"},layoutsDuo:{icon:'<path d="M1 5a2 2 0 012-2h26a2 2 0 012 2v3.806H1V5z" fill="currentColor"/><path opacity=".4" d="M1 10.742h8.71v17.42H3a2 2 0 01-2-2v-15.42z" fill="currentColor"/><path d="M11.646 10.742H31v15.42a2 2 0 01-2 2H11.645v-17.42z" fill="currentColor"/>',viewBox:"0 0 32 32"},mediaDuo:{icon:' <path d="M11.174 11.037h9.507c.835 0 1.347.336 1.611 1.059.053.14.083.306.083.458.006 4.84.006 9.678 0 14.517 0 .817-.682 1.5-1.511 1.535H1.643c-.805 0-1.405-.447-1.605-1.194-.03-.1-.035-.211-.035-.317 0-4.851-.006-9.702 0-14.546 0-.812.646-1.488 1.464-1.494 2.698-.012 5.397-.012 8.096-.012.535-.006 1.07-.006 1.61-.006zm-4.821 9.537c-.1.094-.183.165-.26.241-.687.682-1.369 1.364-2.051 2.052-.312.312-.723.588-.882.964-.153.365-.024.847-.053 1.276-.018.294.07.383.37.383 5.133-.012 10.272-.006 15.405 0 .276 0 .37-.071.37-.36a251.726 251.726 0 010-4.22.666.666 0 00-.211-.512c-1.476-1.476-2.94-2.952-4.41-4.428-.07-.07-.159-.135-.258-.223-2.147 2.14-4.263 4.263-6.403 6.403-.541-.535-1.07-1.047-1.617-1.576zm-1.611-6.403c-.9 0-1.623.718-1.63 1.611 0 .918.73 1.664 1.641 1.67.9 0 1.635-.735 1.64-1.634.007-.935-.71-1.647-1.651-1.647z" fill="currentColor"/><path opacity=".4" d="M19.218 3.012h11.206c.765 0 1.352.458 1.54 1.193.03.112.036.23.036.347v16.105c0 .829-.653 1.493-1.488 1.499-2.052.012-4.11.006-6.162.012-.247 0-.288-.1-.288-.318.006-1.576.006-3.145.006-4.721V6.539c0-.405 0-.405-.417-.405h-8.86c-.442 0-.442 0-.442.458 0 .812-.006 1.623.006 2.435.006.247-.059.34-.33.34a756.983 756.983 0 00-7.308 0c-.27 0-.323-.093-.323-.34.012-1.447.006-2.893.006-4.34C6.394 3.654 7.176 2.994 8.064 3c3.722.024 7.438.012 11.154.012zM11.62 7.357v-.618c-.006-.429-.176-.605-.6-.611-.429-.006-.858-.006-1.293 0-.388 0-.582.17-.6.559-.023.458-.012.917 0 1.375.006.283.147.512.453.524.535.023 1.07.03 1.605 0 .288-.018.44-.224.435-.53-.006-.229 0-.464 0-.7zM29.289 12.6v-.646-.06c-.017-.364-.188-.534-.552-.54a49.44 49.44 0 00-1.323 0c-.424 0-.612.17-.623.594-.012.43-.012.858 0 1.287.011.383.17.577.54.6.477.03.959.03 1.435 0 .359-.023.506-.223.518-.588.011-.217.005-.435.005-.646zm0-5.209c0-.235.006-.47 0-.705-.011-.37-.2-.553-.57-.559-.44-.006-.882-.006-1.317 0-.376 0-.576.159-.594.535-.023.476-.017.958-.006 1.435.012.27.153.482.447.494.535.017 1.07.023 1.605.005.283-.011.424-.223.435-.5.006-.234 0-.47 0-.705zm-1.264 11.642h.73c.329-.006.517-.165.529-.494.017-.488.011-.976 0-1.464-.012-.312-.194-.494-.5-.5-.5-.012-.994-.006-1.494 0-.252.006-.452.147-.464.4-.024.553-.03 1.105 0 1.658.012.259.212.4.488.394.24 0 .476.006.711.006z" fill="currentColor"/>',viewBox:"0 0 32 32"},toolsDuo:{icon:'<path d="M30.401 4.5a.879.879 0 00-1.414-.243l-2.274 2.274a.898.898 0 01-1.243 0 .88.88 0 010-1.243l2.274-2.274A.88.88 0 0027.5 1.6a6.159 6.159 0 00-7.003 1.202 6.164 6.164 0 00-1.446 6.417L9.219 19.05a6.165 6.165 0 00-6.417 1.447A6.162 6.162 0 001.6 27.5a.88.88 0 001.414.243l2.274-2.273a.88.88 0 011.243 1.242l-2.274 2.274a.88.88 0 00.243 1.415 6.157 6.157 0 007.002-1.203 6.162 6.162 0 001.446-6.417l9.833-9.832a6.17 6.17 0 006.418-1.446A6.162 6.162 0 0030.4 4.5z" fill="currentColor"/><path opacity=".4" fill-rule="evenodd" clip-rule="evenodd" d="M10.618 5.647l-.62.621 4.75 4.752-3.724 3.724-4.755-4.748-.622.622a.88.88 0 01-1.375-.17L1.447 5.743a3.125 3.125 0 01.471-3.824 3.125 3.125 0 013.824-.471l4.708 2.825a.88.88 0 01.168 1.375zm12.103 11.928c2.755 2.134 4.34 3.361 6.98 5.992a4.39 4.39 0 011.273 3.463 4.417 4.417 0 01-1.831 3.228c-.727.522-1.592.73-2.469.73-1.193 0-2.407-.426-3.32-1.339-2.446-2.446-3.891-4.312-5.865-6.858l-.874-1.126 4.97-4.971c.402.312.778.604 1.136.88zm3.22 9.552c.334.335.88.365 1.23.047a.879.879 0 00.03-1.272l-3.516-3.516a.879.879 0 00-1.272.03c-.319.35-.288.896.047 1.23l3.48 3.481z" fill="currentColor"/>',viewBox:"0 0 32 32"},blocksDuo:{icon:'<path opacity=".4" fill-rule="evenodd" clip-rule="evenodd" d="M2 1a1 1 0 00-1 1v7a1 1 0 001 1h11.636a1 1 0 001-1V2a1 1 0 00-1-1H2zm16.364 21a1 1 0 00-1 1v7a1 1 0 001 1H30a1 1 0 001-1v-7a1 1 0 00-1-1H18.364z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M18.364 1a1 1 0 00-1 1v16a1 1 0 001 1H30a1 1 0 001-1V2a1 1 0 00-1-1H18.364zM2 13a1 1 0 00-1 1v16a1 1 0 001 1h11.636a1 1 0 001-1V14a1 1 0 00-1-1H2z" fill="currentColor"/>',viewBox:"0 0 32 32"},zipDuo:{icon:'<path opacity=".4" d="M27.563 6.563L21.442.438A1.499 1.499 0 0020.382 0H20v8h8v-.381c0-.394-.156-.775-.438-1.056z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M18 8.5c0 .825.675 1.5 1.5 1.5H28v20.5c0 .831-.669 1.5-1.5 1.5h-21c-.831 0-1.5-.669-1.5-1.5v-29C4 .669 4.669 0 5.5 0h6.525v2h2V0H18v8.5zM11.994 2h-2v2h2V2zM8.8 22.069a3.277 3.277 0 106.425.018l-1.081-5.48a.756.756 0 00-.738-.607h-1.381v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2v2h-2v2h2v2h-2v2h2v2h-2v2L8.8 22.069zm1.2.619c0-.932.906-1.688 2.025-1.688 1.119 0 2.031.756 2.031 1.688 0 .93-.906 1.687-2.025 1.687-1.119 0-2.031-.75-2.031-1.688z" fill="currentColor"/>',viewBox:"0 0 32 32"},cubeDuo:{icon:'<path opacity=".4" fill-rule="evenodd" clip-rule="evenodd" d="M16 13.3L31.1 7c-.3-.3-.6-.5-.9-.7L17.4.3c-.9-.4-2-.4-2.8 0l-12.8 6c-.4.2-.7.4-.9.7L16 13.3z" fill="currentColor"/><path d="M0 23.3c0 1.1.7 2.2 1.8 2.7l12.8 6h.2V15.7L0 9.5v13.8zM17.3 15.7V32h.1l12.8-6c1.1-.5 1.8-1.5 1.8-2.7V9.5l-14.7 6.2z" fill="currentColor"/>',viewBox:"0 0 32 32"},filesDuo:{icon:'<path d="M25.572 5.577a.938.938 0 01-.938-.938V0H11.698c-1.036 0-1.876.84-1.876 1.877v25.331h18.512c1.037 0 1.877-.84 1.877-1.877V5.577h-4.639zm.259 17.758H15.98a.938.938 0 010-1.877h9.85a.938.938 0 010 1.877zm0-3.682H15.98a.938.938 0 010-1.877h9.85a.938.938 0 010 1.877zm0-3.683H15.98a.938.938 0 010-1.877h9.85a.938.938 0 010 1.877zm0-3.682H15.98a.938.938 0 010-1.877h9.85a.938.938 0 010 1.877z" fill="currentColor"/><path opacity=".4" fill-rule="evenodd" clip-rule="evenodd" d="M26.51 3.7V.17l3.53 3.53h-3.53zM6.166 28.147c0 .518.42.939.938.939h13.508v1.037c0 1.037-.84 1.877-1.877 1.877H3.877A1.877 1.877 0 012 30.123V6.668c0-1.036.84-1.877 1.877-1.877h2.289v23.356z" fill="currentColor"/>',viewBox:"0 0 32 32"},wordDuo:{icon:'<path d="M19.5 10c-.825 0-1.5-.675-1.5-1.5V0H5.5C4.669 0 4 .669 4 1.5v29c0 .831.669 1.5 1.5 1.5h21c.831 0 1.5-.669 1.5-1.5V10h-8.5zm4.294 6.919l-2.375 10.5a.743.743 0 01-.732.581h-2.375a.749.749 0 01-.725-.569c-1.612-6.469-1.3-5.075-1.6-6.906h-.03c-.07.894-.15 1.088-1.6 6.906a.749.749 0 01-.726.569h-2.319a.749.749 0 01-.73-.587l-2.363-10.5A.747.747 0 018.95 16h1.531a.75.75 0 01.738.606c.975 4.875 1.256 6.844 1.312 7.638.1-.638.457-2.044 1.838-7.669a.744.744 0 01.731-.569h1.819c.35 0 .65.238.731.575 1.5 6.275 1.8 7.75 1.85 8.088-.012-.7-.163-1.113 1.35-8.075a.725.725 0 01.719-.594h1.494a.75.75 0 01.73.919z" fill="currentColor"/><path opacity=".4" d="M28 7.619V8h-8V0h.381c.4 0 .782.156 1.063.438l6.119 6.125c.28.28.437.662.437 1.056z" fill="currentColor"/>',viewBox:"0 0 32 32"},pdfDuo:{icon:'<path opacity=".4" d="M27.563 6.563L21.438.438A1.499 1.499 0 0020.375 0H20v8h8v-.381c0-.394-.156-.775-.438-1.056z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M19.5 10c-.825 0-1.5-.675-1.5-1.5V0H5.5C4.669 0 4 .669 4 1.5v29c0 .831.669 1.5 1.5 1.5h21c.831 0 1.5-.669 1.5-1.5V10h-8.5zm2.869 13.9c-1.056 0-2.644-.481-4-1.219-1.261.208-2.661.682-4.005 1.137-.315.107-.627.212-.933.313-1.587 2.738-2.7 3.863-3.818 3.863-.344 0-.994-.194-1.344-.625-1.194-1.469 1.712-3.381 3.406-4.25.003 0 .005-.002.006-.003.002-.002.003-.003.007-.003.756-1.325 1.824-3.638 2.55-5.363-.532-2.056-.82-3.669-.507-4.813.338-1.23 2.694-1.412 2.988.426.329 1.071-.084 2.766-.366 3.922l-.022.09c.588 1.55 1.419 2.6 2.669 3.363 1.206-.157 3.731-.4 4.6.45.719.712.594 2.712-1.231 2.712zm-7.125-10.825c-.181 0-.188 1.931.125 2.931.35-.625.4-2.931-.125-2.931zm.018 5.881c-.48 1.263-1.08 2.707-1.774 3.919.28-.107.569-.226.867-.35.922-.38 1.936-.797 3.064-1.019-.794-.6-1.556-1.462-2.157-2.55zm-3.7 5.288c-1.356 2.175-2.18 2.562-2.18 2.512.308-.837 1.372-1.787 1.938-2.293.098-.087.18-.161.242-.22zm8.694-2.288c2.319.988 2.675.563 2.675.563.256-.169-.156-.744-2.675-.563z" fill="currentColor"/>',viewBox:"0 0 32 32"},powerpointDuo:{icon:'<path opacity=".4" d="M27.563 6.563L21.438.438A1.499 1.499 0 0020.375 0H20v8h8v-.381c0-.394-.156-.775-.438-1.056z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M18 8.5c0 .825.675 1.5 1.5 1.5H28v20.5c0 .831-.669 1.5-1.5 1.5h-21c-.831 0-1.5-.669-1.5-1.5v-29C4 .669 4.669 0 5.5 0H18v8.5zm-3.631 18.75v-3.575c.127 0 .289.007.478.014 1.883.077 6.466.265 6.466-4.864 0-2.762-1.775-4.813-4.557-4.813h-5.062a.752.752 0 00-.75.75V27.25c0 .413.337.75.75.75h1.925c.412 0 .75-.337.75-.75zm-.006-10.3h1.743c.55 0 .969.169 1.269.506.6.681.613 2.044-.012 2.756-.307.35-.744.532-1.32.532h-1.68V16.95z" fill="currentColor"',viewBox:"0 0 32 32"},excelDuo:{icon:'<path d="M19.5 10c-.825 0-1.5-.675-1.5-1.5V0H5.5C4.669 0 4 .669 4 1.5v29c0 .831.669 1.5 1.5 1.5h21c.831 0 1.5-.669 1.5-1.5V10h-8.5zm2.256 16.844A.751.751 0 0121.125 28h-2.181a.753.753 0 01-.663-.394C17.056 25.344 16 23.312 16 23.312c-.4.925-.625 1.25-2.287 4.3a.743.743 0 01-.657.394h-2.181a.751.751 0 01-.631-1.156l3.768-5.844-3.768-5.844a.75.75 0 01.631-1.156h2.175c.275 0 .531.15.662.394 1.632 3.05 1.25 2.1 2.288 4.281 0 0 .381-.731 2.288-4.281a.753.753 0 01.662-.394h2.175c.594-.006.95.65.631 1.15L18 21l3.756 5.844z" fill="currentColor"/><path opacity=".4" d="M28 7.619V8h-8V0h.381c.4 0 .782.156 1.063.438l6.119 6.125c.28.28.437.662.437 1.056z" fill="currentColor"/>',viewBox:"0 0 32 32"},animationDuo:{icon:'<path opacity="0.2" d="M32 7.9C32 3.6 28.4 0 24.1 0c-4.3 0-7.9 3.5-7.9 7.8h.1c4.4 0 7.9 3.6 7.9 7.9v.1c4.3 0 7.8-3.5 7.8-7.9z" fill="currentColor"/><path opacity="0.4" d="M23.9 16c0-4.4-3.6-7.9-7.9-7.9-4.3 0-7.9 3.5-7.9 7.8h.1c4.4 0 7.9 3.6 7.9 7.9v.1c4.3 0 7.8-3.5 7.8-7.9z" fill="currentColor"/><path d="M7.9 32a7.9 7.9 0 100-15.8 7.9 7.9 0 000 15.8z" fill="currentColor"/>',viewBox:"0 0 32 32"},addonDuo:{icon:'<path d="M8.026 12.2h.9c.8 0 1.6.6 1.7 1.4.1.4 0 .7-.2 1l-.1.2c-.1.2-.2.4-.2.6v.4c0 .6.5 1.2 1.1 1.2h4.9v4.8h-.5c-.1-.1-.3-.2-.5-.3-.5-.2-1-.3-1.5-.2-1.3.2-2.2 1.3-2.3 2.6v1c0 1.4 1 2.5 2.3 2.8.6.1 1.2 0 1.8-.3l.2-.1h.5v4.3h-12c-1.5 0-2.6-1.1-2.7-2.5v-12h4.2c.3 0 .7-.1.9-.4.2-.2.3-.5.4-.7v-.4c0-.2-.1-.4-.2-.6l-.2-.2c-.2-.3-.3-.8-.3-1.2.2-.8.8-1.3 1.6-1.4h.2z" fill="currentColor"/><path opacity=".4" d="M21.526 17.117c.02.083 0 0 0 .083v.5c-.4.6-.6 1.3-.5 2 .2 1.3 1.3 2.2 2.6 2.3h1.1c2.2.1 3.6-2.5 2.3-4.3v-.4c0-.1 0-.1.1-.2h4.8v11.8c0 1.4-1.1 2.6-2.6 2.7h-12.2v-4.2c0-.6-.5-1.2-1.1-1.2h-.4c-.2 0-.4.1-.6.2l-.1.1c-.3.2-.8.3-1.2.3-.8-.2-1.3-.8-1.4-1.6v-1c0-.8.6-1.6 1.4-1.7.4-.1.7 0 1 .2l.2.1c.2.1.4.2.6.2h.5c.7 0 1.2-.5 1.3-1.1V17h4.2" fill="currentColor"/><path opacity=".2" fill-rule="evenodd" clip-rule="evenodd" d="M14.226 0l.7 4.7c.1.6.7 1.1 1.3 1.1h.4c.2 0 .4-.1.6-.2l.1-.1c1-1.1 2.5-.5 2.8.8v.2l.1.8c.2.7-.3 1.5-1.1 1.8-.3.1-.7.1-1 0l-.2-.2c-.2-.1-.4-.1-.6-.1h-.5c-.6.1-1.1.6-1.1 1.3v.1l.6 4.1-4.7.7h-.1l-.1-.1v-.4c.3-.6.4-1.3.2-2-.4-1.2-1.6-2-2.9-1.9h-.1l-.8.1c-1.4.2-2.4 1.3-2.5 2.7 0 .6.2 1.2.6 1.7l.2.2.1.1v.4l-.1.1-4.2.6-1.9-11.8c-.2-1.4.8-2.7 2.1-3h.2l11.9-1.7z" fill="currentColor"/>',viewBox:"0 0 32 32"},integrationsDuo:{icon:'<path d="M9.412 10.412a1 1 0 011-1h11.176a1 1 0 011 1v11.176a1 1 0 01-1 1H10.412a1 1 0 01-1-1V10.412z" fill="currentColor"/><path opacity=".4" d="M20.706 1a1 1 0 00-1-1H1a1 1 0 00-1 1v18.706a1 1 0 001 1h4.588a1 1 0 001-1V7.588a1 1 0 011-1h12.118a1 1 0 001-1V1zM26.412 11.294a1 1 0 00-1 1v12.118a1 1 0 01-1 1H12.294a1 1 0 00-1 1V31a1 1 0 001 1H31a1 1 0 001-1V12.294a1 1 0 00-1-1h-4.588z" fill="currentColor"/>',viewBox:"0 0 32 32"},languagesDuo:{icon:'<path d="M28.4 13h-12c-1.9 0-3.4 1.5-3.4 3.4V23l-3.1 2.2c-.2.2-.4.5-.4.8 0 .3.1.6.4.8L13 29c.2 1.7 1.7 2.9 3.4 2.9h12c1.9 0 3.4-1.5 3.4-3.4v-12c.1-2-1.5-3.5-3.4-3.5zm-4 13.2c-.2 0-.4-.1-.4-.3l-.4-1.3h-2.3l-.4 1.3c-.1.2-.2.3-.4.3-.4 0-.8-.2-.8-.5v-.1l1.9-6.3c.1-.3.5-.4.8-.4.4 0 .8.1.8.4l1.9 6.3v.1c.1.2-.4.5-.7.5z" fill="currentColor"/><path d="M21.5 23.5h1.8l-.9-3-.9 3z" fill="currentColor"/><path opacity=".4" d="M22.6 6.1c0-.3-.1-.6-.4-.8L19 3C18.8 1.3 17.3.1 15.6.1h-12C1.7.1.2 1.6.2 3.5v12.1c0 1.9 1.5 3.4 3.4 3.4h7.7v-2.4c0-1.3.4-2.4 1.2-3.3-1.1 0-2.1-.3-2.9-.9-.8.6-1.8.9-2.9.9-.3 0-.5-.2-.5-.5s.2-.5.5-.5c.7 0 1.5-.2 2.1-.6-.8-.8-1.2-1.8-1.3-3h-.8c-.3 0-.5-.2-.5-.5s.2-.5.5-.5h2.4V6.4c0-.3.2-.5.5-.5s.5.2.5.5v1.3h2.4c.3 0 .5.2.5.5s-.2.5-.5.5h-.7c-.1 1.1-.6 2.1-1.3 2.9.6.4 1.3.6 2.1.6.3 0 .5.2.5.5 1-.9 2.2-1.4 3.6-1.4h2.4V9l3.1-2.2c.2-.2.4-.4.4-.7z" fill="currentColor"/><path opacity=".4" d="M9.6 11c.6-.6 1-1.4 1.1-2.2H8.5c.1.8.5 1.6 1.1 2.2z" fill="currentColor"/>',viewBox:"0 0 32 32"},iconsDuo:{icon:'<path d="M24 16.97c-.057.675-.482.952-.963 1.229-1.899 1.044-3.769 2.09-5.668 3.104-.708.368-1.19.89-1.53 1.66a344.392 344.392 0 01-2.606 5.746c-.255.584-.454 1.291-1.219 1.291-.765 0-.963-.676-1.247-1.26-.935-1.998-1.87-3.995-2.748-6.024-.312-.676-.737-1.137-1.36-1.444-1.87-.984-3.684-1.998-5.554-3.012C.595 17.983 0 17.768 0 17.03c0-.737.567-1.014 1.077-1.29 1.842-1.014 3.683-2.028 5.553-3.012.68-.338 1.134-.83 1.446-1.567.878-2.029 1.813-4.026 2.748-6.024.255-.553.482-1.137 1.19-1.137.709 0 .935.584 1.19 1.137.397.86.907 1.69 1.162 2.612.992 3.535 3.287 5.594 6.404 6.823.822.338 1.615.83 2.408 1.29.425.216.794.523.822 1.107z" fill="currentColor"/><path opacity="0.4" d="M25.24 31.93a.489.489 0 01-.413-.292c-.088-.204-.205-.38-.264-.584-.383-1.575-1.382-2.51-2.94-2.918-.353-.087-.883-.204-.883-.671 0-.496.53-.555.883-.642 1.587-.438 2.587-1.4 2.999-3.035.088-.321.176-.759.617-.788.441 0 .559.438.647.759.382 1.663 1.44 2.655 3.087 3.064.324.087.765.175.794.613 0 .438-.44.554-.764.642-1.676.438-2.735 1.459-3.146 3.152-.118.32-.236.642-.618.7zM32 6.04c-.03.322-.235.468-.441.555-.353.175-.706.35-1.088.438-2 .496-3.117 1.78-3.646 3.706-.147.526-.265 1.284-.97 1.284-.735 0-.824-.817-.941-1.313-.5-2.13-1.97-3.21-3.94-3.794-.47-.146-1.176-.233-1.176-.904 0-.584.617-.73 1.058-.847 2.294-.583 3.646-2.013 4.205-4.29.088-.408.294-.875.852-.875.471 0 .647.409.736.788.529 2.422 2.087 3.823 4.44 4.436.352.175.823.32.911.817z" fill="currentColor"/>',viewBox:"0 0 32 32"},popupsDuo:{icon:'<path opacity="0.4" d="M4 24h24v4a2 2 0 01-2 2H6a2 2 0 01-2-2v-4z" fill="currentColor"/><rect opacity="0.4" x="4" y="2" width="24" height="14.4" rx="2" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M2 9.778a2 2 0 00-2 2v8.19a2 2 0 002 2h12.06l2.16 2.496a.5.5 0 00.756 0l2.161-2.496H30a2 2 0 002-2v-8.19a2 2 0 00-2-2H2z" fill="currentColor"/>',viewBox:"0 0 32 32"},uppercaseDuo:{icon:'<path d="M13.393 23.63h-6.85l-1.329 5.009H0L7.668 4h4.6l7.77 24.639h-5.316l-1.329-5.01zm-5.725-4.192h4.6l-2.351-8.793-2.25 8.793z" fill="currentColor"/><path d="M28.013 25.572H23.82l-.818 3.067h-3.271l4.703-15.131h2.76L32 28.639h-3.272l-.715-3.067zm-3.476-2.556h2.862l-1.43-5.419-1.432 5.419z" fill="currentColor"/>',viewBox:"0 0 32 32"},desktop:{icon:'<path d="M26.25 6h-20C5.56 6 5 6.56 5 7.25v12.5c0 .69.56 1.25 1.25 1.25h20c.69 0 1.25-.56 1.25-1.25V7.25c0-.69-.56-1.25-1.25-1.25z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M6.25 6.8a.45.45 0 00-.45.45v12.5c0 .248.201.45.45.45h20a.45.45 0 00.45-.45V7.25a.45.45 0 00-.45-.45h-20zm-2.05.45A2.05 2.05 0 016.25 5.2h20a2.05 2.05 0 012.05 2.05v12.5a2.05 2.05 0 01-2.05 2.05h-20a2.05 2.05 0 01-2.05-2.05V7.25zM9.2 26a.8.8 0 01.8-.8h12.5a.8.8 0 010 1.6H10a.8.8 0 01-.8-.8z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5 20.2a.8.8 0 01.8.8v5a.8.8 0 01-1.6 0v-5a.8.8 0 01.8-.8zM20 20.2a.8.8 0 01.8.8v5a.8.8 0 01-1.6 0v-5a.8.8 0 01.8-.8z" fill="currentColor"/>',viewBox:"0 0 32 32"},desktopLine:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M6.25 6.8a.45.45 0 00-.45.45v12.5c0 .248.201.45.45.45h20a.45.45 0 00.45-.45V7.25a.45.45 0 00-.45-.45h-20zm-2.05.45A2.05 2.05 0 016.25 5.2h20a2.05 2.05 0 012.05 2.05v12.5a2.05 2.05 0 01-2.05 2.05h-20a2.05 2.05 0 01-2.05-2.05V7.25zM9.2 26a.8.8 0 01.8-.8h12.5a.8.8 0 010 1.6H10a.8.8 0 01-.8-.8z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5 20.2a.8.8 0 01.8.8v5a.8.8 0 01-1.6 0v-5a.8.8 0 01.8-.8zM20 20.2a.8.8 0 01.8.8v5a.8.8 0 01-1.6 0v-5a.8.8 0 01.8-.8z" fill="currentColor"/>',viewBox:"0 0 32 32"},laptop:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M28 19.818c0 1.51-.74 2.23-2.23 2.23H6.23c-1.48 0-2.23-.72-2.23-2.23V9.231C4 7.71 4.75 7 6.23 7h19.54C27.26 7 28 7.711 28 9.23v10.588zm-5.367 4.88c0 .448-.35.809-.789.809H10.127a.804.804 0 01-.8-.809c0-.448.361-.808.8-.808h11.717c.438 0 .79.36.79.808z" fill="currentColor"/>',viewBox:"0 0 32 32"},laptopLine:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M4.139 7.118c.527-.52 1.265-.718 2.092-.718H25.77c.83 0 1.57.198 2.096.72.527.522.734 1.262.734 2.11v10.588c0 .845-.207 1.584-.734 2.107-.525.523-1.264.724-2.096.724H6.23c-.828 0-1.566-.202-2.092-.723-.527-.522-.738-1.261-.738-2.108V9.231c0-.85.21-1.591.739-2.113zm.843.855c-.217.213-.382.588-.382 1.258v10.587c0 .664.164 1.04.382 1.255.22.217.597.376 1.249.376H25.77c.657 0 1.034-.16 1.25-.375.217-.215.38-.59.38-1.256V9.231c0-.672-.163-1.046-.379-1.26-.216-.213-.592-.371-1.252-.371H6.232c-.654 0-1.031.157-1.25.373z" fill="currentColor"/><path d="M21.844 25.507c.438 0 .79-.36.79-.809a.796.796 0 00-.79-.808H10.127a.804.804 0 00-.8.808c0 .448.361.809.8.809h11.717z" fill="currentColor"/>',viewBox:"0 0 32 32"},tabletLandscape:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M4.663 9.368v13.264c0 1.128.942 2.03 2.09 2.03h17.82c1.148 0 2.09-.902 2.09-2.03V9.368c0-1.128-.942-2.03-2.09-2.03H6.753c-1.148 0-2.09.902-2.09 2.03zm16.5.445a.55.55 0 10-1.1 0v12.1a.55.55 0 001.1 0v-12.1zm2.2 7.15a1.1 1.1 0 11-.001-2.2 1.1 1.1 0 010 2.2z" fill="currentColor"/>',viewBox:"0 0 32 32"},tabletLandscapeLine:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M4.663 22.632V9.368c0-1.128.942-2.03 2.09-2.03h17.82c1.148 0 2.09.902 2.09 2.03v13.264c0 1.128-.942 2.03-2.09 2.03H6.753c-1.148 0-2.09-.902-2.09-2.03zm1.965-14.05c-.488.057-.865.448-.865.921v12.994l.007.116c.061.458.477.812.983.812h17.82l.124-.007c.489-.058.866-.448.866-.921V9.503l-.008-.116c-.061-.458-.477-.812-.982-.812H6.753l-.125.007zm14.534 1.23a.55.55 0 10-1.1 0v12.1a.55.55 0 001.1 0v-12.1zm2.2 7.15a1.1 1.1 0 110-2.199 1.1 1.1 0 010 2.2z" fill="currentColor"/>',viewBox:"0 0 32 32"},tablet:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M22.295 5H9.03C7.902 5 7 5.942 7 7.09v17.82C7 26.058 7.902 27 9.03 27h13.265c1.128 0 2.03-.942 2.03-2.09V7.09c0-1.148-.902-2.09-2.03-2.09zm-.445 16.5a.55.55 0 000-1.1H9.75a.55.55 0 000 1.1h12.1zm-7.15 2.2a1.1 1.1 0 112.2 0 1.1 1.1 0 01-2.2 0z" fill="currentColor"/>',viewBox:"0 0 32 32"},tabletLine:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M9.03 5h13.265c1.128 0 2.03.942 2.03 2.09v17.82c0 1.148-.902 2.09-2.03 2.09H9.03C7.902 27 7 26.058 7 24.91V7.09C7 5.942 7.902 5 9.03 5zm14.05 1.966c-.057-.489-.448-.866-.92-.866H9.166l-.117.008c-.457.06-.811.477-.811.982v17.82l.007.125c.057.488.448.865.92.865H22.16l.116-.008c.457-.06.812-.476.812-.982V7.09l-.008-.124zM21.85 21.5a.55.55 0 000-1.1H9.75a.55.55 0 000 1.1h12.1zm-7.15 2.2a1.1 1.1 0 112.2 0 1.1 1.1 0 01-2.2 0z" fill="currentColor"/>',viewBox:"0 0 32 32"},mobile:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M21.19 6.212H11.084c-.973 0-1.685.853-1.685 1.829v15.592c0 .976.712 1.829 1.685 1.829H21.19c.973 0 1.684-.853 1.684-1.829V8.041c0-.976-.711-1.83-1.684-1.83zm-3.61 3.85a.481.481 0 000-.963h-2.887a.481.481 0 100 .963h2.888zm-2.405 11.55a.962.962 0 111.924 0 .962.962 0 01-1.924 0z" fill="currentColor"/>',viewBox:"0 0 32 32"},mobileLine:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M11.084 6.212H21.19c.973 0 1.684.853 1.684 1.829v15.592c0 .976-.711 1.829-1.684 1.829H11.084c-.973 0-1.685-.853-1.685-1.829V8.041c0-.976.712-1.83 1.685-1.83zm10.823 1.72c-.045-.428-.349-.758-.717-.758H11.084l-.09.007c-.356.053-.632.417-.632.86v15.592l.006.109c.044.427.348.757.716.757H21.19l.09-.006c.357-.054.632-.418.632-.86V8.041l-.005-.11zm-4.326 2.13a.481.481 0 100-.963h-2.888a.481.481 0 100 .963h2.888zm-2.406 11.55a.962.962 0 111.924 0 .962.962 0 01-1.924 0z" fill="currentColor"/>',viewBox:"0 0 32 32"},mobileLandscape:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M6 10.21v10.106C6 21.289 6.853 22 7.829 22H23.42c.976 0 1.829-.712 1.829-1.684V10.209c0-.973-.853-1.684-1.829-1.684H7.83C6.853 8.525 6 9.236 6 10.209zm3.85 3.609a.481.481 0 10-.963 0v2.887a.481.481 0 10.963 0V13.82zm11.55 2.406a.962.962 0 110-1.924.962.962 0 010 1.924z" fill="currentColor"/>',viewBox:"0 0 32 32"},mobileLandscapeLine:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M6 20.316V10.209c0-.973.853-1.684 1.829-1.684H23.42c.976 0 1.829.711 1.829 1.684v10.107c0 .973-.853 1.684-1.829 1.684H7.83C6.853 22 6 21.288 6 20.316zM7.72 9.493c-.428.045-.758.349-.758.716v10.107l.007.09c.054.356.417.632.86.632H23.42l.109-.006c.427-.045.757-.349.757-.716V10.21l-.006-.091c-.054-.356-.418-.631-.86-.631H7.83l-.11.005zm2.13 4.326a.481.481 0 10-.963 0v2.887a.481.481 0 10.963 0V13.82zm11.55 2.406a.962.962 0 110-1.924.962.962 0 010 1.924z" fill="currentColor"/>',viewBox:"0 0 32 32"},justifyStart:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M4.5 13C5.05228 13 5.5 12.5523 5.5 12L5.5 4C5.5 3.44772 5.05229 3 4.5 3C3.94772 3 3.5 3.44771 3.5 4L3.5 12C3.5 12.5523 3.94772 13 4.5 13ZM13 1C13.2761 1 13.5 0.776143 13.5 0.500001C13.5 0.223858 13.2761 9.53674e-07 13 9.53674e-07L1 0C0.723858 0 0.5 0.223858 0.5 0.5C0.5 0.776142 0.723858 1 1 1L13 1ZM10.5 8C10.5 8.55229 10.0523 9 9.5 9C8.94771 9 8.5 8.55228 8.5 8L8.5 4C8.5 3.44772 8.94772 3 9.5 3C10.0523 3 10.5 3.44772 10.5 4L10.5 8Z" fill="currentColor" fill-opacity="1"/>',viewBox:"0 0 14 13"},justifyEnd:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M4.5 0a1 1 0 0 1 1 1v8a1 1 0 1 1-2 0V1a1 1 0 0 1 1-1ZM13 12a.5.5 0 0 1 0 1H1a.5.5 0 0 1 0-1h12Zm-2.5-7a1 1 0 1 0-2 0v4a1 1 0 1 0 2 0V5Z" fill="currentColor" fill-opacity="1"/>',viewBox:"0 0 14 13"},justifyCenter:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M.5.5A.5.5 0 0 1 1 0h12a.5.5 0 0 1 0 1H1A.5.5 0 0 1 .5.5Zm3 5.5a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1ZM1 11a.5.5 0 0 0 0 1h12a.5.5 0 0 0 0-1H1Z" fill="currentColor" fill-opacity="1"/>',viewBox:"0 0 14 13"},justifySpaceAround:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M13.5 0a.5.5 0 0 1 0 1H.5a.5.5 0 1 1 0-1h13ZM4 5a1 1 0 0 1 0-2h6a1 1 0 1 1 0 2H4Zm0 5a1 1 0 1 1 0-2h6a1 1 0 1 1 0 2H4Zm10 2.5a.5.5 0 0 0-.5-.5H.5a.5.5 0 0 0 0 1h13a.5.5 0 0 0 .5-.5Z" fill="currentColor" fill-opacity="1"/>',viewBox:"0 0 14 13"},justifySpaceBetween:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M13.5 0a.5.5 0 0 1 0 1H.5a.5.5 0 1 1 0-1h13ZM4 5a1 1 0 0 1 0-2h6a1 1 0 1 1 0 2H4Zm0 5a1 1 0 1 1 0-2h6a1 1 0 1 1 0 2H4Zm10 2.5a.5.5 0 0 0-.5-.5H.5a.5.5 0 0 0 0 1h13a.5.5 0 0 0 .5-.5Z" fill="currentColor" fill-opacity="1"/>',viewBox:"0 0 14 13"},justifySpaceEvenly:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M.5.5C.5.22.72 0 1 0h12a.5.5 0 0 1 0 1H1A.5.5 0 0 1 .5.5Zm3 5.5a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1ZM1 11a.5.5 0 0 0 0 1h12a.5.5 0 0 0 0-1H1Z" fill="currentColor" fill-opacity="1"/>',viewBox:"0 0 14 13"},alignStart:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M4.5 13a1 1 0 0 0 1-1V4a1 1 0 1 0-2 0v8a1 1 0 0 0 1 1ZM13 1a.5.5 0 0 0 0-1H1a.5.5 0 0 0 0 1h12Zm-2.5 7a1 1 0 1 1-2 0V4a1 1 0 0 1 2 0v4Z" fill="currentColor" fill-opacity="1"/>',viewBox:"0 0 14 13"},alignEnd:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M4.5 0a1 1 0 0 1 1 1v8a1 1 0 1 1-2 0V1a1 1 0 0 1 1-1ZM13 12a.5.5 0 0 1 0 1H1a.5.5 0 0 1 0-1h12Zm-2.5-7a1 1 0 1 0-2 0v4a1 1 0 1 0 2 0V5Z" fill="currentColor" fill-opacity="1"/>',viewBox:"0 0 14 13"},alignCenter:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M4.5 11.5a1 1 0 0 1-1-1v-4H1a.5.5 0 0 1 0-1h2.5v-4a1 1 0 0 1 2 0v4h3v-2a1 1 0 1 1 2 0v2H13a.5.5 0 0 1 0 1h-2.5v2a1 1 0 1 1-2 0v-2h-3v4a1 1 0 0 1-1 1Z" fill="currentColor" fill-opacity="1"/>',viewBox:"0 0 14 13"},alignStretch:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M.5 14a.5.5 0 0 1-.5-.5V.5a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5Zm10-8a1 1 0 1 0 0-2h-7a1 1 0 0 0 0 2h7Zm-1 4a1 1 0 1 0 0-2h-5a1 1 0 1 0 0 2h5Zm3.5 3.5a.5.5 0 0 0 1 0V.5a.5.5 0 0 0-1 0v13Z" fill="currentColor" fill-opacity="1"/>',viewBox:"0 0 14 13"},flexWrap:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M0 .5a.5.5 0 0 1 1 0v13a.5.5 0 0 1-1 0V.5ZM13.5 0a.5.5 0 0 0-.5.5v13a.5.5 0 0 0 1 0V.5a.5.5 0 0 0-.5-.5ZM7.36 3.03C9.7 3.03 11.5 4.22 11.5 6s-1.22 3.01-3.3 3.01H4.7l-1.11-.04.94.83.55.55c.07.07.1.15.1.25 0 .21-.14.36-.36.36a.4.4 0 0 1-.26-.11L2.62 8.93a.37.37 0 0 1-.12-.27c0-.1.04-.2.12-.27l1.94-1.93a.4.4 0 0 1 .26-.11c.22 0 .37.15.37.36 0 .1-.04.19-.1.25l-.56.55-.94.83 1.1-.04h3.56c1.62 0 2.52-.92 2.52-2.25s-1.29-2.3-3.41-2.3h-4.2a.35.35 0 0 1-.37-.36c0-.2.15-.36.37-.36h4.2Z" fill="currentColor" fill-opacity="1"/>',viewBox:"0 0 14 13"},flexNoWrap:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M7.88 1a.5.5 0 0 1 .87.5L7.15 4.3C8.54 4.73 9.5 5.7 9.5 7c0 1.79-1.22 3.01-3.3 3.01H3.83l-.76 1.32.02.02c.06.07.1.15.1.25 0 .21-.15.36-.37.36-.03 0-.07 0-.1-.02L1.25 14.5a.5.5 0 1 1-.87-.5l1.58-2.74L.62 9.93a.37.37 0 0 1-.12-.27c0-.1.04-.2.12-.27l1.94-1.93a.4.4 0 0 1 .26-.11c.22 0 .37.15.37.36 0 .1-.04.19-.1.25l-.56.55-.94.83 1.1-.04h.4l2.63-4.54H1.16a.35.35 0 0 1-.37-.37c0-.2.15-.36.37-.36h4.2c.26 0 .51.01.75.04L7.88 1Zm-1.1 3.92L4.25 9.3h2c1.62 0 2.52-.92 2.52-2.25 0-1-.73-1.8-2-2.13Zm-4.1 5.1-1.1-.04.75.65.35-.6Z" fill="currentColor" fill-opacity="1"/>',viewBox:"0 0 14 13"},flexWrapReverse:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M0 4.84c0 1.74 1.8 2.9 4.14 2.9h4.2c.22 0 .37-.16.37-.35 0-.2-.15-.35-.37-.35h-4.2C2.02 7.04.73 6.1.73 4.8c0-1.3.9-2.2 2.52-2.2H6.8l1.11-.03-.94.8-.55.54a.32.32 0 0 0-.1.25c0 .2.14.35.36.35a.4.4 0 0 0 .26-.11l1.94-1.88a.35.35 0 0 0 0-.53L6.94.1A.4.4 0 0 0 6.68 0c-.22 0-.37.15-.37.35 0 .1.04.18.1.25l.56.54.94.8-1.1-.04H3.3C1.21 1.9 0 3.1 0 4.84Zm11 3.32c0-1.74-1.8-2.9-4.14-2.9h-4.2c-.22 0-.37.16-.37.35 0 .2.15.35.37.35h4.2c2.12 0 3.41.94 3.41 2.24 0 1.3-.9 2.2-2.52 2.2H4.2l-1.11.03.94-.8.55-.54c.07-.06.1-.15.1-.25 0-.2-.14-.35-.36-.35a.4.4 0 0 0-.26.11l-1.94 1.88a.35.35 0 0 0 0 .53l1.94 1.88a.4.4 0 0 0 .26.11c.22 0 .37-.15.37-.35 0-.1-.04-.18-.1-.25l-.56-.54-.94-.8 1.1.04h3.5C9.79 11.1 11 9.9 11 8.16Z" fill="currentColor" fill-opacity="1"/>',viewBox:"0 0 14 13"},dockLeft:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M1.5 0a.83.83 0 0 0-.83.83v8.34c0 .46.37.83.83.83h10c.46 0 .83-.37.83-.83V.83A.83.83 0 0 0 11.5 0h-10Zm9.17 1.67H4.83v6.66h5.84V1.67Z" fill="currentColor"/>',viewBox:"0 0 12 10"},dockRight:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M11.1647 0C11.6253 0 11.998 0.373077 11.998 0.833333V9.16667C11.998 9.62692 11.6253 10 11.1647 10H1.16471C0.704101 10 0.331379 9.62692 0.331379 9.16667V0.833333C0.331379 0.373077 0.704101 0 1.16471 0H11.1647ZM1.99805 1.66667H7.83138V8.33333H1.99805V1.66667Z" fill="currentColor"/>',viewBox:"0 0 12 10"},dockFloat:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M3.5 0a1 1 0 0 0-1 1v5.5a1 1 0 0 0 1 1h7.17a1 1 0 0 0 1-1V1a1 1 0 0 0-1-1H3.5ZM10 1.67H4.17v4.16H10V1.67ZM0 2.5h1.67V10H0V2.5Zm9.17 5.83V10h-7.5V8.33h7.5Z" fill="currentColor"/>',viewBox:"0 0 12 10"},giftBox:{icon:'<path fill-rule="evenodd" d="M5 5a3 3 0 015-2.236A3 3 0 0114.83 6H16a2 2 0 110 4h-5V9a1 1 0 10-2 0v1H4a2 2 0 110-4h1.17C5.06 5.687 5 5.35 5 5zm4 1V5a1 1 0 10-1 1h1zm3 0a1 1 0 10-1-1v1h1z" clip-rule="evenodd" /> <path d="M9 11H3v5a2 2 0 002 2h4v-7zM11 18h4a2 2 0 002-2v-5h-6v7z" />',viewBox:"0 0 20 20"},premium:{icon:'<rect opacity="0.7" x="2.41504" y="10.5635" width="10.9714" height="2.4" fill="white" /> <path opacity="0.4" d="M8.07202 2.16406L13.2149 9.87834H2.75781L8.07202 2.16406Z" fill="white" /> <g filter="url(#filter0_d_5080_949)"> <path d="M13.8313 4.24902L5.08691 9.90613L13.348 9.91754L13.8313 4.24902Z" fill="#FDF1DF" /> </g> <g filter="url(#filter1_d_5080_949)"> <path d="M2 4.24902L10.7444 9.90613L2.48335 9.91754L2 4.24902Z" fill="#FFFAF4" /> </g> <defs> <filter id="filter0_d_5080_949" x="3.28691" y="0.649023" width="12.3441" height="9.26846" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB" > <feFlood flood-opacity="0" result="BackgroundImageFix" /> <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha" /> <feOffset dy="-1.8" /> <feGaussianBlur stdDeviation="0.9" /> <feComposite in2="hardAlpha" operator="out" /> <feColorMatrix type="matrix" values="0 0 0 0 0.911683 0 0 0 0 0.680468 0 0 0 0 0.301132 0 0 0 0.1 0" /> <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_5080_949" /> <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_5080_949" result="shape" /> </filter> <filter id="filter1_d_5080_949" x="0.2" y="0.649023" width="12.3441" height="9.26846" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB" > <feFlood flood-opacity="0" result="BackgroundImageFix" /> <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha" /> <feOffset dy="-1.8" /> <feGaussianBlur stdDeviation="0.9" /> <feComposite in2="hardAlpha" operator="out" /> <feColorMatrix type="matrix" values="0 0 0 0 0.911683 0 0 0 0 0.680468 0 0 0 0 0.301132 0 0 0 0.1 0" /> <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_5080_949" /> <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_5080_949" result="shape" /> </filter> </defs>',viewBox:"0 0 16 13"},bars:{icon:'<path d="M0.6 3.4V0.6H15.4V3.4H0.6ZM0.6 8.9V6.1H15.4V8.9H0.6ZM0.6 14.4V11.6H15.4V14.4H0.6Z" stroke="#676D98" stroke-width="1.2" stroke-linejoin="round" fill="none" />',viewBox:"0 0 16 15"},verticalBars:{icon:'<path d="M16.8748 3.1C16.8886 3.1 16.8998 3.11119 16.8998 3.125L16.8998 17.875C16.8998 17.8888 16.8886 17.9 16.8748 17.9L14.1248 17.9C14.1109 17.9 14.0998 17.8888 14.0998 17.875L14.0998 3.125C14.0998 3.11119 14.111 3.1 14.1248 3.1L16.8748 3.1ZM11.3743 3.1C11.3881 3.1 11.3993 3.11119 11.3993 3.125L11.3993 17.875C11.3993 17.8888 11.3881 17.9 11.3743 17.9H8.62427C8.61046 17.9 8.59927 17.8888 8.59927 17.875L8.59927 3.125C8.59927 3.11119 8.61046 3.1 8.62427 3.1L11.3743 3.1ZM5.875 3.1C5.88881 3.1 5.9 3.11119 5.9 3.125L5.9 17.875C5.9 17.8888 5.88881 17.9 5.875 17.9H3.125C3.11119 17.9 3.1 17.8888 3.1 17.875L3.1 3.125C3.1 3.11119 3.11119 3.1 3.125 3.1L5.875 3.1Z" stroke="currentColor" stroke-width="1.2" stroke-linejoin="round" fill="none"/>',viewBox:"0 0 20 20"},exit:{icon:'<path d="M15.75 9V5.25A2.25 2.25 0 0 0 13.5 3h-6a2.25 2.25 0 0 0-2.25 2.25v13.5A2.25 2.25 0 0 0 7.5 21h6a2.25 2.25 0 0 0 2.25-2.25V15M12 9l-3 3m0 0 3 3m-3-3h12.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>',viewBox:"0 0 24 24"},settings:{icon:'<path fill="currentColor" fill-rule="evenodd" d="M13.75 5.669V3.5a.5.5 0 0 0-1 0v2.198a2.188 2.188 0 0 0 0 4.229V16.5a.5.5 0 0 0 1 0V9.956a2.188 2.188 0 0 0 0-4.287Zm.75 2.144a1.188 1.188 0 1 0-2.375 0 1.188 1.188 0 0 0 2.375 0ZM7.125 3a.5.5 0 0 0-.5.5v6.573a2.188 2.188 0 0 0 0 4.229V16.5a.5.5 0 0 0 1 0v-2.169a2.188 2.188 0 0 0 0-4.287V3.5a.5.5 0 0 0-.5-.5Zm1.25 9.188a1.188 1.188 0 1 1-2.375 0 1.188 1.188 0 0 1 2.375 0Z" clip-rule="evenodd"/>',viewBox:"0 0 20 20"},update:{icon:'<path fill="currentColor" fill-rule="evenodd" d="M1.333 0c.737 0 1.334.597 1.334 1.333v3.124A11.976 11.976 0 0 1 12 0c6.12 0 11.169 4.58 11.907 10.502a1.333 1.333 0 0 1-2.646.33C20.687 6.229 16.76 2.667 12 2.667a9.323 9.323 0 0 0-7.66 4H8a1.333 1.333 0 1 1 0 2.666H1.333A1.333 1.333 0 0 1 0 8V1.333C0 .597.597 0 1.333 0Zm-.082 12.01a1.333 1.333 0 0 1 1.488 1.158 9.335 9.335 0 0 0 16.922 4.165H16a1.333 1.333 0 1 1 0-2.666h6.667c.736 0 1.333.597 1.333 1.333v6.667a1.333 1.333 0 0 1-2.667 0v-3.124A11.976 11.976 0 0 1 12 24C5.88 24 .831 19.42.093 13.498A1.333 1.333 0 0 1 1.25 12.01Z" clip-rule="evenodd"/></svg>',viewBox:"0 0 24 24"}}),{},{times:{icon:'<path d="m8.22 7.003 5.192-5.192A.863.863 0 1 0 12.191.589L6.999 5.781 1.807.59A.863.863 0 1 0 .585 1.811l5.192 5.192-5.192 5.192a.863.863 0 1 0 1.222 1.221l5.192-5.192 5.192 5.192a.861.861 0 0 0 1.221 0 .863.863 0 0 0 0-1.221L8.22 7.003Z" fill="currentColor"/>',viewBox:"0 0 14 14"},parmaLink:{icon:'<path d="M9 4H3.5C3.10218 4 2.72064 4.15804 2.43934 4.43934C2.15804 4.72064 2 5.10218 2 5.5V12.5C2 12.8978 2.15804 13.2794 2.43934 13.5607C2.72064 13.842 3.10218 14 3.5 14H10.5C10.8978 14 11.2794 13.842 11.5607 13.5607C11.842 13.2794 12 12.8978 12 12.5V7M5 11L14 2M14 2H10.5M14 2V5.5" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round"/>',viewBox:"0 0 16 16"},pencilOnBox:{icon:'<path d="m10.241 2.991 1.125-1.125a1.25 1.25 0 0 1 1.768 1.768l-7.08 7.08a3 3 0 0 1-1.264.753L3 12l.533-1.79a3 3 0 0 1 .754-1.265l5.954-5.954Zm0 0L12 4.75m-1 4.583V12.5A1.5 1.5 0 0 1 9.5 14h-7A1.5 1.5 0 0 1 1 12.5v-7A1.5 1.5 0 0 1 2.5 4h3.167" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" fill="none"/>',viewBox:"0 0 15 15"},menu:{icon:'<path fill="currentColor" fill-rule="evenodd" d="M8 10a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H9a1 1 0 0 1-1-1Zm0 6a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H9a1 1 0 0 1-1-1Zm16 6a1 1 0 0 0-1-1H9a1 1 0 1 0 0 2h14a1 1 0 0 0 1-1Z" clip-rule="evenodd"/>',viewBox:"0 0 32 32"},openBook:{icon:'<path fill="currentColor" fill-rule="evenodd" d="M11.5 6.982c-4.268-3.644-9-1.146-9-1.146v10.57c5.012 0 7.863 1.712 9 2.594V6.982Z" clip-rule="evenodd"/><path fill="#7784A8" d="M21.5 16.407c-5.012 0-7.864 1.71-9 2.593V6.982c4.268-3.645 9-1.147 9-1.147v10.572Z" opacity=".6"/>',viewBox:"0 0 24 24"},dragger:{icon:'<path d="M17.4708 8.75929C17.4708 9.73092 18.2608 10.5186 19.2354 10.5186C20.21 10.5186 21 9.73092 21 8.75929C21 7.78766 20.21 7 19.2354 7C18.2608 7 17.4708 7.78766 17.4708 8.75929Z" fill="currentColor"/><path d="M11 8.75929C11 9.73092 11.79 10.5186 12.7646 10.5186C13.7392 10.5186 14.5292 9.73092 14.5292 8.75929C14.5292 7.78766 13.7392 7 12.7646 7C11.79 7 11 7.78766 11 8.75929Z" fill="currentColor"/><path d="M19.2354 18.2595C18.2608 18.2595 17.4708 17.4718 17.4708 16.5002C17.4708 15.5285 18.2608 14.7409 19.2354 14.7409C20.21 14.7409 21 15.5285 21 16.5002C21 17.4718 20.21 18.2595 19.2354 18.2595Z" fill="currentColor"/><path d="M11 16.5C11 17.4716 11.79 18.2593 12.7646 18.2593C13.7392 18.2593 14.5292 17.4716 14.5292 16.5C14.5292 15.5284 13.7392 14.7407 12.7646 14.7407C11.79 14.7407 11 15.5284 11 16.5Z" fill="currentColor"/><path d="M19.2354 26C18.2608 26 17.4708 25.2123 17.4708 24.2407C17.4708 23.2691 18.2608 22.4814 19.2354 22.4814C20.21 22.4814 21 23.2691 21 24.2407C21 25.2123 20.21 26 19.2354 26Z" fill="currentColor"/><path d="M11 24.2407C11 25.2123 11.79 26 12.7646 26C13.7392 26 14.5292 25.2123 14.5292 24.2407C14.5292 23.2691 13.7392 22.4814 12.7646 22.4814C11.79 22.4814 11 23.2691 11 24.2407Z" fill="currentColor"/>',viewBox:"0 0 32 32"},chevronDown:{icon:'<path d="M19.5 8.25L12 15.75L4.5 8.25" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none"/>',viewBox:"0 0 24 24"},desktop:{icon:'<path fill="currentColor" fill-rule="evenodd" d="M3.125 3.4c-.124 0-.225.1-.225.225v6.25c0 .124.1.225.225.225h10c.124 0 .225-.1.225-.225v-6.25c0-.124-.1-.225-.225-.225h-10ZM2.1 3.625C2.1 3.06 2.56 2.6 3.125 2.6h10c.566 0 1.025.459 1.025 1.025v6.25c0 .566-.459 1.025-1.025 1.025h-10A1.025 1.025 0 0 1 2.1 9.875v-6.25ZM4.6 13c0-.22.18-.4.4-.4h6.25a.4.4 0 0 1 0 .8H5a.4.4 0 0 1-.4-.4Z" clip-rule="evenodd"/><path fill="currentColor" fill-rule="evenodd" d="M6.25 10.1c.221 0 .4.18.4.4V13a.4.4 0 0 1-.8 0v-2.5c0-.22.18-.4.4-.4ZM10 10.1c.221 0 .4.18.4.4V13a.4.4 0 0 1-.8 0v-2.5c0-.22.18-.4.4-.4Z" clip-rule="evenodd"/>',viewBox:"0 0 16 16"},laptop:{icon:'<path fill="currentColor" fill-rule="evenodd" d="M13.157 10.182c.011-.019.043-.09.043-.273V4.615c0-.18-.03-.253-.042-.273-.02-.011-.091-.042-.273-.042h-9.77c-.183 0-.254.032-.272.042-.012.02-.043.091-.043.273V9.91c0 .184.032.254.043.272.018.01.088.043.272.043h9.77c.183 0 .254-.031.272-.042Zm-.003.005.002-.002-.002.002Zm.006-.007a.013.013 0 0 1 .003-.002l-.003.002ZM2.84 10.178l.002.002a.012.012 0 0 1-.002-.002Zm.006.005a.01.01 0 0 1 .002.003l-.002-.003Zm.001-5.846-.002.003a.011.011 0 0 1 .002-.003Zm-.006.007a.011.011 0 0 1-.002.002l.002-.002Zm10.324.002-.002-.002a.016.016 0 0 1 .002.002Zm-.008-.008a.016.016 0 0 1-.002-.002l.002.002ZM14 9.91c0 .755-.37 1.115-1.115 1.115h-9.77c-.74 0-1.115-.36-1.115-1.115V4.615c0-.76.375-1.115 1.115-1.115h9.77C13.63 3.5 14 3.856 14 4.615V9.91Z" clip-rule="evenodd"/><path fill="currentColor" d="M10.922 12.753c.22 0 .394-.18.394-.404a.398.398 0 0 0-.394-.404H5.063c-.219 0-.4.18-.4.404 0 .224.181.404.4.404h5.859Z"/>',viewBox:"0 0 16 16"},tabletHorizontal:{icon:'<path fill="currentColor" fill-rule="evenodd" d="M2.331 11.316V4.684c0-.564.471-1.015 1.045-1.015h8.91c.574 0 1.045.45 1.045 1.015v6.632c0 .564-.47 1.015-1.045 1.015h-8.91c-.574 0-1.045-.451-1.045-1.015Zm.983-7.025a.476.476 0 0 0-.433.46v6.497l.004.058c.03.23.239.406.492.406h8.91l.062-.003a.476.476 0 0 0 .432-.46V4.75l-.003-.058a.485.485 0 0 0-.492-.406h-8.91l-.062.004Zm7.267.615a.275.275 0 1 0-.55 0v6.05a.275.275 0 1 0 .55 0v-6.05Zm1.1 3.575a.55.55 0 1 1 0-1.1.55.55 0 0 1 0 1.1Z" clip-rule="evenodd"/>',viewBox:"0 0 16 16"},tabletVertical:{icon:'<path fill="currentColor" fill-rule="evenodd" d="M4.515 2.5h6.632c.564 0 1.015.471 1.015 1.045v8.91c0 .574-.45 1.045-1.015 1.045H4.515c-.564 0-1.015-.471-1.015-1.045v-8.91c0-.574.451-1.045 1.015-1.045Zm7.025.983a.476.476 0 0 0-.46-.433H4.583l-.058.004a.485.485 0 0 0-.406.491v8.91l.003.062a.475.475 0 0 0 .46.433h6.498l.058-.004a.485.485 0 0 0 .406-.49v-8.91l-.004-.063Zm-.615 7.267a.275.275 0 1 0 0-.55h-6.05a.275.275 0 1 0 0 .55h6.05Zm-3.575 1.1a.55.55 0 1 1 1.1 0 .55.55 0 0 1-1.1 0Z" clip-rule="evenodd"/>',viewBox:"0 0 16 16"},mobileHorizontal:{icon:'<path fill="currentColor" fill-rule="evenodd" d="M3 10.158V5.105c0-.487.427-.843.914-.843h7.797c.487 0 .914.356.914.843v5.053c0 .486-.427.842-.914.842H3.914C3.427 11 3 10.644 3 10.158Zm.86-5.411c-.214.022-.379.174-.379.358v5.053l.003.045c.027.178.21.316.43.316h7.796l.055-.003c.214-.022.379-.174.379-.358V5.105l-.004-.046c-.026-.177-.208-.315-.43-.315H3.914l-.054.003Zm1.065 2.162a.24.24 0 0 0-.481 0v1.444a.24.24 0 1 0 .481 0V6.91ZM10.7 8.113a.481.481 0 1 1 0-.963.481.481 0 0 1 0 .963Z" clip-rule="evenodd"/>',viewBox:"0 0 16 16"},mobileVertical:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M1.156.33h3.79c.365 0 .632.32.632.685v5.848c0 .365-.267.685-.632.685h-3.79c-.365 0-.632-.32-.632-.685V1.015C.524.65.791.33 1.156.33Zm4.059.645C5.198.815 5.084.69 4.946.69h-3.79l-.034.003C.99.713.885.85.885 1.015v5.848l.003.04c.016.16.13.284.268.284h3.79l.034-.002c.133-.02.237-.157.237-.322V1.015l-.002-.04Zm-1.623.798a.18.18 0 1 0 0-.36H2.51a.18.18 0 0 0 0 .36h1.082ZM2.69 6.105a.36.36 0 1 1 .722 0 .36.36 0 0 1-.722 0Z" fill="#6F7CA3"/>',viewBox:"0 0 10 10"},fadeIn:{icon:'<path fill="currentColor" fill-rule="evenodd" d="m0 8.7 16 8.4V34L0 25.6V8.7Z" clip-rule="evenodd" opacity=".4"/><path fill="currentColor" fill-rule="evenodd" d="m32 8.7-16 8.4V34l16-8.4V8.7Z" clip-rule="evenodd" opacity=".6"/><path fill="currentColor" fill-rule="evenodd" d="m0 8.7 16 8.4 16-8.4L16 0 0 8.7Z" clip-rule="evenodd" opacity=".1"/><path fill="currentColor" fill-rule="evenodd" d="M4.4 11 16 17.1v12.3L4.4 23.2V11Z" clip-rule="evenodd" opacity=".4"/><path fill="currentColor" fill-rule="evenodd" d="M27.6 11 16 17.1v12.3l11.6-6.1V11Z" clip-rule="evenodd" opacity=".8"/><path fill="currentColor" fill-rule="evenodd" d="M4.4 11 16 17.1 27.6 11 16 4.6 4.4 11Z" clip-rule="evenodd" opacity=".2"/><path fill="currentColor" fill-rule="evenodd" d="m8.8 13.3 7.2 3.8v7.6l-7.2-3.8v-7.6Z" clip-rule="evenodd" opacity=".5"/><path fill="currentColor" fill-rule="evenodd" d="M23.2 13.3 16 17.1v7.6l7.2-3.8v-7.6Z" clip-rule="evenodd"/><path fill="currentColor" fill-rule="evenodd" d="m8.8 13.3 7.2 3.8 7.2-3.8L16 9.4l-7.2 3.9Z" clip-rule="evenodd" opacity=".2"/>',viewBox:"0 0 32 34"},spinIn:{icon:'<path fill="currentColor" d="M5.501 49.776c-2.354-1.36-2.998-3.798-3.172-4.92l2.182 1.503a.286.286 0 1 0 .325-.472L2.141 44.03a.288.288 0 0 0-.395.07v.001l-.002.002-1.693 2.433a.286.286 0 0 0 .47.327l1.255-1.803c.207 1.27.93 3.763 3.438 5.212a7.722 7.722 0 0 0 10.537-2.824.286.286 0 0 0-.422-.37.288.288 0 0 0-.074.084 7.15 7.15 0 0 1-9.754 2.614Zm15.471-45.53a.286.286 0 0 0 .39-.106 7.149 7.149 0 0 1 9.755-2.614c2.354 1.36 2.998 3.798 3.172 4.92l-2.182-1.502a.287.287 0 0 0-.325.471l2.694 1.857a.29.29 0 0 0 .396-.07h.001l.001-.003 1.693-2.433a.287.287 0 0 0-.072-.399.29.29 0 0 0-.398.072l-1.255 1.803c-.207-1.27-.929-3.763-3.438-5.212a7.722 7.722 0 0 0-10.537 2.824.286.286 0 0 0 .104.39l.001.001Z"/><path fill="currentColor" fill-rule="evenodd" d="m6.47 14.038 13.093 12.24-4.366 16.293-13.093-12.24L6.47 14.036l.001.001Z" clip-rule="evenodd" opacity=".5"/><path fill="currentColor" fill-rule="evenodd" d="m37.02 22.223-17.458 4.054-4.367 16.293 17.458-4.053 4.366-16.294Z" clip-rule="evenodd"/><path fill="currentColor" fill-rule="evenodd" d="m6.469 14.039 13.093 12.24 17.458-4.055L23.996 9.73 6.469 14.04Z" clip-rule="evenodd" opacity=".2"/>',viewBox:"0 0 38 52"},flipIn:{icon:'<path fill="currentColor" fill-rule="evenodd" d="m0 8.697 14.5 8.434v16.87L0 25.565V8.697Z" clip-rule="evenodd" opacity=".5"/><path fill="currentColor" fill-rule="evenodd" d="m29 8.697-14.5 8.434v16.87L29 25.565V8.697Z" clip-rule="evenodd"/><path fill="currentColor" fill-rule="evenodd" d="m0 8.698 14.5 8.434L29 8.698 14.5 0 0 8.698Z" clip-rule="evenodd" opacity=".2"/><path fill="currentColor" d="M32.967 21.205a.415.415 0 0 0-.192.244.389.389 0 0 0 .036.3c2.705 4.698.964 10.775-3.89 13.585-3.35 1.934-6.77 1.066-8.258.519l3.4-1.628a.404.404 0 0 0 .2-.533.4.4 0 0 0-.536-.18l-4.199 2.01a.407.407 0 0 0-.2.528v.004l1.724 3.694.015.03a.4.4 0 0 0 .52.153.409.409 0 0 0 .201-.532l-1.277-2.738c1.688.607 5.232 1.417 8.803-.645 5.244-3.036 7.125-9.6 4.203-14.674a.386.386 0 0 0-.242-.181.414.414 0 0 0-.308.044Z"/>',viewBox:"0 0 35 40"},bounceIn:{icon:'<path fill="currentColor" fill-rule="evenodd" d="m21.1 8.7 16 8.4V34l-16-8.4V8.7Z" clip-rule="evenodd" opacity=".5"/><path fill="currentColor" fill-rule="evenodd" d="m53.1 8.7-16 8.4V34l16-8.4V8.7Z" clip-rule="evenodd"/><path fill="currentColor" fill-rule="evenodd" d="m21.1 8.7 16 8.4 16-8.4-16-8.7-16 8.7Z" clip-rule="evenodd" opacity=".2"/><path fill="currentColor" d="M18.9 14.3c0-.1-.1-.2-.1-.2 0-.1 0-.2-.1-.3 0-.2-.1-.4-.1-.5 0-.1-.2-.2-.3-.1-.1 0-.2.2-.1.3.1.1.1.3.1.5 0 .1 0 .2.1.3v.1c-2.1-1.3-3.7-1.7-5.2-.8-2.7 1.6-3.5 6.6-3.7 9.5-.4-1-1-2.2-1.8-3.1-.8-.9-1.8-1.4-2.8-1.5-.7-.1-1.4.1-2 .5C.5 20.6.1 25.7 0 26c0 .1.1.2.3.2l-.1.2c.2 0 .4-.3.4-.4 0-.1.4-5.2 2.7-6.6.5-.3 1-.4 1.5-.4 3.4.4 4.7 5.7 4.7 6.1v.1c0 .1.2.2.3.1.1 0 .2-.1.3-.2v-.3c0-1.5.4-9.5 3.9-11 1.1-.5 2.4-.1 4 .9-.2 0-.5-.1-.7-.2-.1 0-.2 0-.2.2 0 .1 0 .2.1.3.5.1 1.1.3 1.6.3.1 0 .1 0 .2-.1 0-.1.1-.1 0-.2.1-.3 0-.5-.1-.7Z"/>',viewBox:"0 0 54 34"},zoomIn:{icon:'<path fill="currentColor" fill-rule="evenodd" d="m5.454 11.063 12 6.495v12.99l-12-6.495v-12.99Z" clip-rule="evenodd" opacity=".5"/><path fill="currentColor" fill-rule="evenodd" d="m29.456 11.063-12 6.495v12.99l12-6.495v-12.99Z" clip-rule="evenodd"/><path fill="currentColor" fill-rule="evenodd" d="m5.454 11.06 12 6.496 12-6.495-12-6.698-12 6.698Z" clip-rule="evenodd" opacity=".2"/><path fill="currentColor" fill-rule="evenodd" d="M31.731 3.804 34.816.718l-1.901.17c-.423.042-.508-.592-.043-.635L35.62 0c.21 0 .38.169.38.38l-.254 2.747c-.042.423-.676.38-.634-.042l.17-1.902-3.086 3.086c-.296.295-.76-.17-.465-.465Zm.465 27.927 3.086 3.085-.17-1.901c-.042-.423.592-.508.634-.043L36 35.62c0 .21-.17.38-.38.38l-2.748-.254c-.465-.042-.38-.676.043-.634l1.901.17-3.085-3.086c-.296-.296.17-.76.465-.465Zm-27.927.465-3.086 3.086 1.902-.17c.423-.042.465.592.042.634L.38 36a.379.379 0 0 1-.38-.38l.253-2.748c.043-.465.677-.38.634.043l-.169 1.901 3.086-3.085c.295-.296.76.17.465.465ZM3.804 4.269.718 1.183l.17 1.902c.042.423-.592.465-.635.042L0 .38C0 .169.169 0 .38 0l2.747.253c.423.043.38.677-.042.634L1.183.718 4.27 3.804c.295.295-.17.76-.465.465h-.001Z" clip-rule="evenodd"/>',viewBox:"0 0 36 36"},reveal:{icon:'<path fill="currentColor" d="M32.3 8.6C27 5.7 21.8 2.9 16.5 0H15.9C10.7 2.8 5.5 5.7.3 8.5c-.1 0-.1.1-.2.2s-.1.2-.1.4v16.8c0 .2.1.4.3.5 4.7 2.5 9.3 5 14 7.5.5.3 1.1.7 1.6.9.6.2 1.1-.3 1.7-.6 2.7-1.5 5.4-2.9 8.1-4.4 2.2-1.2 4.4-2.4 6.6-3.5.2-.1.3-.3.3-.5V9.3c.1-.3 0-.6-.3-.7Zm-16 8.1C11.5 14.1 6.7 11.6 1.9 9c4.8-2.6 9.5-5.2 14.3-7.8 4.8 2.6 9.6 5.2 14.5 7.9-4.8 2.5-9.6 5.1-14.4 7.6ZM1.2 25.5V10.2c4.3 2.3 8.7 4.6 13 7 .4.2.8.5 1.3.7v15.3C10.8 30.6 6 28 1.2 25.5Zm15.6 7.7V17.9c.3-.1.6-.3.9-.5 2.7-1.4 5.3-2.8 8-4.2l5.7-3v15.2c-4.9 2.6-9.8 5.2-14.6 7.8Z"/>',viewBox:"0 0 33 35"},cross:{icon:'<path d="M5 15L15 5M5 5L15 15" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>',viewBox:"0 0 20 20"},crossCircled:{icon:'<path fill="#6F7CA3" d="M16.25 10a6.25 6.25 0 1 1-12.5 0 6.25 6.25 0 0 1 12.5 0Z"/><path fill="#fff" d="M12.521 7.478a.535.535 0 0 0-.756 0L10.003 9.24 8.24 7.478a.535.535 0 0 0-.757.757l1.762 1.762-1.762 1.761a.535.535 0 1 0 .757.757l1.762-1.762 1.762 1.762a.535.535 0 0 0 .756-.757L10.76 9.998l1.762-1.762a.535.535 0 0 0 0-.757Z"/>',viewBox:"0 0 20 20"},layout:{icon:'<rect x="1" y="1" width="6.36331" height="4.19978" rx="2" fill="#C9D8ED"/><rect x="8.63626" y="10.7982" width="6.36331" height="4.19978" rx="2" fill="#C9D8ED"/><rect x="9.13626" y="1.5" width="5.36331" height="7.39956" rx="1.5" fill="#446EF5" stroke="#446EF5"/><rect x="1.5" y="7.10049" width="5.36331" height="7.39956" rx="1.5" fill="#446EF5" stroke="#446EF5"/>',viewBox:"0 0 16 16"},layoutDesign1:{icon:'<rect width="50" height="20" rx="2" fill="currentColor"/>',viewBox:"0 0 50 20"},layoutDesign2:{icon:'<rect width="24" height="20" rx="2" fill="currentColor"/><rect x="26" width="24" height="20" rx="2" fill="currentColor"/>',viewBox:"0 0 50 20"},layoutDesign3:{icon:'<rect width="15.3" height="20" rx="2" fill="currentColor"/><rect x="17.3" width="15.3" height="20" rx="2" fill="currentColor"/><rect x="34.6001" width="15.3" height="20" rx="2" fill="currentColor"/>',viewBox:"0 0 50 20"},layoutDesign4:{icon:'<rect x="0.899902" width="11" height="20" rx="2" fill="currentColor"/><rect x="13.8999" width="11" height="20" rx="2" fill="currentColor"/><rect x="26.8999" width="11" height="20" rx="2" fill="currentColor"/><rect x="39.8999" width="11" height="20" rx="2" fill="currentColor"/>',viewBox:"0 0 50 20"},layoutDesign5:{icon:'<rect x="0.899902" width="19" height="20" rx="2" fill="currentColor"/><rect x="21.8999" width="29" height="20" rx="2" fill="currentColor"/>',viewBox:"0 0 50 20"},layoutDesign6:{icon:'<rect width="11" height="20" rx="2" fill="currentColor"/><rect x="13" width="37" height="20" rx="2" fill="currentColor"/>',viewBox:"0 0 50 20"},layoutDesign7:{icon:'<rect width="11.3" height="20" rx="2" fill="currentColor"/><rect x="13.3" width="23.4" height="20" rx="2" fill="currentColor"/><rect x="38.7" width="11.3" height="20" rx="2" fill="currentColor"/>',viewBox:"0 0 50 20"},layoutDesign8:{icon:'<rect width="8" height="20" rx="2" fill="currentColor"/><rect x="10" width="22" height="20" rx="2" fill="currentColor"/><rect x="34" width="16" height="20" rx="2" fill="currentColor"/>',viewBox:"0 0 50 20"},layoutDesign9:{icon:'<rect width="8" height="20" rx="2" fill="currentColor"/><rect x="10" width="40" height="20" rx="2" fill="currentColor"/>',viewBox:"0 0 50 20"},layoutDesign10:{icon:'<rect width="8" height="20" rx="2" fill="currentColor"/><rect x="10" width="11" height="20" rx="2" fill="currentColor"/><rect x="23" width="27" height="20" rx="2" fill="currentColor"/>',viewBox:"0 0 50 20"},cornerRadius:{icon:'<path d="M6.91257 2H4.40012C3.07457 2 2 3.07449 2 4.39994V6.89876M9.08743 2H11.5999C12.9254 2 14 3.07449 14 4.39994V6.89876M6.91257 14H4.40012C3.07457 14 2 12.9255 2 11.6001V9.10124M9.08743 14H11.5999C12.9254 14 14 12.9255 14 11.6001V9.10124" stroke="currentColor" stroke-width="1.25" fill="none" />',viewBox:"0 0 16 16"},roundedCorner:{icon:'<rect x="2" y="2" width="12" height="12" rx="2" stroke="currentColor" stroke-width="1.25" fill="none" />',viewBox:"0 0 16 16"},asterisk:{icon:'<path d="m13.879 9.91-3.691-2.16 3.69-2.133c.22-.11.302-.383.165-.601l-.875-1.504a.418.418 0 0 0-.602-.164L8.875 5.48V1.187A.47.47 0 0 0 8.437.75H6.66a.47.47 0 0 0-.437.438V5.48L2.53 3.348c-.219-.11-.492-.055-.601.164l-.875 1.504a.418.418 0 0 0 .164.601L4.91 7.75 1.22 9.91a.418.418 0 0 0-.164.602l.875 1.504c.11.218.383.273.601.164l3.692-2.133v4.265a.45.45 0 0 0 .437.438h1.777a.45.45 0 0 0 .438-.438v-4.265l3.691 2.133c.22.11.493.054.602-.164l.875-1.504a.418.418 0 0 0-.164-.602Z" fill="currentColor"/>',viewBox:"0 0 15 15"},timesCircle:{icon:'<path d="M13.25 7A6.25 6.25 0 1 1 .75 7a6.25 6.25 0 0 1 12.5 0Z" fill="#6F7CA3"/><path d="M9.521 4.478a.535.535 0 0 0-.756 0L7.003 6.24 5.24 4.478a.535.535 0 0 0-.757.757l1.762 1.762-1.762 1.762a.535.535 0 1 0 .757.756l1.762-1.762 1.762 1.762a.535.535 0 0 0 .756-.756L7.76 6.997l1.762-1.762a.535.535 0 0 0 0-.757Z" fill="#fff"/>',viewBox:"0 0 14 14"},settings:{icon:'<path fill="currentColor" fill-rule="evenodd" d="M13.75 5.669V3.5a.5.5 0 0 0-1 0v2.198a2.188 2.188 0 0 0 0 4.229V16.5a.5.5 0 0 0 1 0V9.956a2.188 2.188 0 0 0 0-4.287Zm.75 2.144a1.188 1.188 0 1 0-2.375 0 1.188 1.188 0 0 0 2.375 0ZM7.125 3a.5.5 0 0 0-.5.5v6.573a2.188 2.188 0 0 0 0 4.229V16.5a.5.5 0 0 0 1 0v-2.169a2.188 2.188 0 0 0 0-4.287V3.5a.5.5 0 0 0-.5-.5Zm1.25 9.188a1.188 1.188 0 1 1-2.375 0 1.188 1.188 0 0 1 2.375 0Z" clip-rule="evenodd"/>',viewBox:"0 0 20 20"},lock:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M12.2857 4C11.2248 4 10.2074 4.42143 9.45729 5.17157C8.70714 5.92172 8.28571 6.93913 8.28571 8V10.2857C7.67951 10.2857 7.09812 10.5265 6.66947 10.9552C6.24082 11.3838 6 11.9652 6 12.5714V17.7143C6 18.3205 6.24082 18.9019 6.66947 19.3305C7.09812 19.7592 7.67951 20 8.28571 20H16.2857C16.8919 20 17.4733 19.7592 17.902 19.3305C18.3306 18.9019 18.5714 18.3205 18.5714 17.7143V12.5714C18.5714 11.9652 18.3306 11.3838 17.902 10.9552C17.4733 10.5265 16.8919 10.2857 16.2857 10.2857V8C16.2857 5.79048 14.4952 4 12.2857 4ZM15.1429 10.2857V8C15.1429 7.24224 14.8418 6.51551 14.306 5.97969C13.7702 5.44388 13.0435 5.14286 12.2857 5.14286C11.528 5.14286 10.8012 5.44388 10.2654 5.97969C9.72959 6.51551 9.42857 7.24224 9.42857 8V10.2857H15.1429Z" fill="currentColor"/>',viewBox:"0 0 24 24"},unLock:{icon:'<path d="M19.1429 4C21.3524 4 23.1429 5.79048 23.1429 8V10.8571C23.1429 11.0087 23.0827 11.154 22.9755 11.2612C22.8683 11.3684 22.723 11.4286 22.5714 11.4286C22.4199 11.4286 22.2745 11.3684 22.1674 11.2612C22.0602 11.154 22 11.0087 22 10.8571V8C22 7.24224 21.699 6.51551 21.1632 5.97969C20.6273 5.44388 19.9006 5.14286 19.1429 5.14286C18.3851 5.14286 17.6584 5.44388 17.1226 5.97969C16.5867 6.51551 16.2857 7.24224 16.2857 8V10.2857C16.8919 10.2857 17.4733 10.5265 17.902 10.9552C18.3306 11.3838 18.5714 11.9652 18.5714 12.5714V17.7143C18.5714 18.3205 18.3306 18.9019 17.902 19.3305C17.4733 19.7592 16.8919 20 16.2857 20H8.28571C7.67951 20 7.09812 19.7592 6.66947 19.3305C6.24082 18.9019 6 18.3205 6 17.7143V12.5714C6 11.9652 6.24082 11.3838 6.66947 10.9552C7.09812 10.5265 7.67951 10.2857 8.28571 10.2857H15.1429V8C15.1429 5.79048 16.9333 4 19.1429 4Z" fill="currentColor"/>',viewBox:"0 0 24 24"},link:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M13.7409 8C13.7409 6.59405 12.6011 5.4543 11.1952 5.4543H9.59733C9.23835 5.4543 8.94733 5.16328 8.94733 4.8043C8.94733 4.44531 9.23835 4.1543 9.59733 4.1543H11.1952C13.3191 4.1543 15.0409 5.87607 15.0409 8C15.0409 10.1239 13.3191 11.8457 11.1952 11.8457H9.59733C9.23835 11.8457 8.94733 11.5547 8.94733 11.1957C8.94733 10.8367 9.23835 10.5457 9.59733 10.5457H11.1952C12.6011 10.5457 13.7409 9.40595 13.7409 8ZM4.80481 5.45445C3.39886 5.45445 2.25911 6.5942 2.25911 8.00015C2.25911 9.4061 3.39886 10.5459 4.80481 10.5459H6.40266C6.76164 10.5459 7.05266 10.8369 7.05266 11.1959C7.05266 11.5548 6.76164 11.8459 6.40266 11.8459H4.80481C2.68089 11.8459 0.959106 10.1241 0.959106 8.00015C0.959106 5.87623 2.68089 4.15445 4.80481 4.15445H6.40266C6.76164 4.15445 7.05266 4.44547 7.05266 4.80445C7.05266 5.16344 6.76164 5.45445 6.40266 5.45445H4.80481ZM5.15794 7.85424C5.15794 7.49526 5.44895 7.20424 5.80794 7.20424H10.5295C10.8885 7.20424 11.1795 7.49526 11.1795 7.85424C11.1795 8.21323 10.8885 8.50424 10.5295 8.50424H5.80794C5.44895 8.50424 5.15794 8.21323 5.15794 7.85424Z" fill="currentColor"/>',viewBox:"0 0 16 16"},pageLink:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M0 1.07393C0 0.480812 0.480813 0 1.07393 0H4.96877V2.81967C4.96877 3.06785 5.16996 3.26904 5.41814 3.26904H8.28129L8.28129 6.44356H5.28067C3.46881 6.44356 2 7.91236 2 9.72423C2 10.3539 2.17738 10.9421 2.4849 11.4416H1.07393C0.480813 11.4416 0 10.9608 0 10.3677V1.07393ZM6.24727 0.134256L8.14556 2.01384C8.23273 2.10015 8.28116 2.21715 8.28116 2.33798V2.45497H5.80175V0H5.91797C6.04194 0 6.1601 0.0479487 6.24727 0.134256ZM3.78886 9.66533C3.78886 8.79111 4.49756 8.08242 5.37178 8.08242H6.71413C6.92171 8.08242 7.09 7.91413 7.09 7.70654C7.09 7.49895 6.92171 7.33067 6.71413 7.33067H5.37178C4.08238 7.33067 3.03711 8.37593 3.03711 9.66533C3.03711 10.9547 4.08238 12 5.37178 12H6.71413C6.92171 12 7.09 11.8317 7.09 11.6241C7.09 11.4165 6.92171 11.2482 6.71413 11.2482H5.37178C4.49756 11.2482 3.78886 10.5396 3.78886 9.66533ZM6.15239 9.22221C5.9448 9.22221 5.77652 9.39049 5.77652 9.59808C5.77652 9.80567 5.9448 9.97395 6.15239 9.97395H9.40064C9.60823 9.97395 9.77652 9.80567 9.77652 9.59808C9.77652 9.39049 9.60823 9.22221 9.40064 9.22221H6.15239ZM9.65229 8.08242C10.5265 8.08242 11.2352 8.79111 11.2352 9.66533C11.2352 10.5396 10.5265 11.2482 9.65229 11.2482H8.31413C8.10654 11.2482 7.93825 11.4165 7.93825 11.6241C7.93825 11.8317 8.10654 12 8.31413 12H9.65229C10.9417 12 11.987 10.9547 11.987 9.66533C11.987 8.37593 10.9417 7.33067 9.65229 7.33067H8.31413C8.10654 7.33067 7.93825 7.49895 7.93825 7.70654C7.93825 7.91413 8.10654 8.08242 8.31413 8.08242H9.65229Z" fill="currentColor"/>',viewBox:"0 0 12 12"},menuLink:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M1.87927 2.37939C1.87927 2.10325 2.10313 1.87939 2.37927 1.87939H11.4828C11.7589 1.87939 11.9828 2.10325 11.9828 2.37939C11.9828 2.65554 11.7589 2.87939 11.4828 2.87939H2.37927C2.10313 2.87939 1.87927 2.65554 1.87927 2.37939ZM1.87927 7.02177C1.87927 6.74562 2.10313 6.52177 2.37927 6.52177H11.4828C11.7589 6.52177 11.9828 6.74562 11.9828 7.02177C11.9828 7.29791 11.7589 7.52177 11.4828 7.52177H2.37927C2.10313 7.52177 1.87927 7.29791 1.87927 7.02177ZM1.87927 11.6641C1.87927 11.388 2.10313 11.1641 2.37927 11.1641H4.84323C4.80771 11.3391 4.78906 11.5201 4.78906 11.7055C4.78906 11.8618 4.80232 12.0151 4.82777 12.1641H2.37927C2.10313 12.1641 1.87927 11.9403 1.87927 11.6641ZM11.7428 10.2458C12.5697 10.2458 13.24 10.9161 13.24 11.7429C13.24 12.5698 12.5697 13.2401 11.7428 13.2401H10.4605C10.2506 13.2401 10.0805 13.4102 10.0805 13.6201C10.0805 13.8299 10.2506 14.0001 10.4605 14.0001H11.7428C12.9894 14.0001 14 12.9895 14 11.7429C14 10.4964 12.9894 9.48583 11.7428 9.48583H10.4605C10.2506 9.48583 10.0805 9.65596 10.0805 9.86583C10.0805 10.0757 10.2506 10.2458 10.4605 10.2458H11.7428ZM6.14367 11.743C6.14367 10.9161 6.81395 10.2458 7.64079 10.2458H8.92717C9.13704 10.2458 9.30717 10.0757 9.30717 9.86583C9.30717 9.65597 9.13704 9.48583 8.92717 9.48583H7.64079C6.39421 9.48583 5.38367 10.4964 5.38367 11.743C5.38367 12.9895 6.39421 14.0001 7.64079 14.0001H8.92717C9.13704 14.0001 9.30717 13.8299 9.30717 13.6201C9.30717 13.4102 9.13704 13.2401 8.92717 13.2401H7.64079C6.81395 13.2401 6.14367 12.5698 6.14367 11.743ZM8.14596 11.2669C7.93609 11.2669 7.76596 11.4371 7.76596 11.6469C7.76596 11.8568 7.93609 12.0269 8.14596 12.0269H11.2192C11.4291 12.0269 11.5992 11.8568 11.5992 11.6469C11.5992 11.4371 11.4291 11.2669 11.2192 11.2669H8.14596Z" fill="currentColor"/>',viewBox:"0 0 16 16"},chevronUp:{icon:'<path d="M5.997.955a.632.632 0 0 0-.463.194L.187 6.456A.588.588 0 0 0 0 6.884c0 .348.27.616.629.616a.667.667 0 0 0 .449-.174l4.919-4.872 4.925 4.872c.11.107.27.174.45.174a.61.61 0 0 0 .441-1.05L6.466 1.148a.659.659 0 0 0-.47-.194Z" fill="currentColor"/>',viewBox:"0 0 12 8"},markCircle:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M7.99992 13.6668C11.1295 13.6668 13.6666 11.1298 13.6666 8.00016C13.6666 4.87055 11.1295 2.3335 7.99992 2.3335C4.87031 2.3335 2.33325 4.87055 2.33325 8.00016C2.33325 11.1298 4.87031 13.6668 7.99992 13.6668ZM5.1887 8.28534C5.20349 8.32108 5.22483 8.35372 5.25164 8.3816L7.25948 10.382C7.28598 10.4129 7.31881 10.4378 7.35574 10.4549C7.43478 10.4875 7.52352 10.4875 7.60256 10.4549C7.63949 10.4378 7.67232 10.4129 7.69881 10.382L11.2542 6.84517C11.281 6.8173 11.3023 6.78465 11.3171 6.74891C11.3466 6.66928 11.3466 6.58173 11.3171 6.5021C11.3026 6.46621 11.2813 6.43351 11.2542 6.40584L10.8075 5.97144C10.7813 5.94142 10.7491 5.9173 10.7129 5.9007C10.6768 5.88411 10.6375 5.87541 10.5977 5.87519C10.5553 5.87467 10.5132 5.88308 10.4743 5.89987C10.4367 5.91714 10.4028 5.94143 10.3743 5.97144L7.48162 8.86412L6.134 7.51404C6.10476 7.48385 6.06999 7.45955 6.03157 7.44247C5.99272 7.42538 5.95061 7.41696 5.90817 7.41778C5.869 7.41791 5.83031 7.42632 5.79463 7.44247C5.75757 7.45878 5.72466 7.48324 5.69837 7.51404L5.25164 7.94227C5.22457 7.96993 5.20319 8.00264 5.1887 8.03853C5.15921 8.11816 5.15921 8.20571 5.1887 8.28534Z" fill="currentColor"/>',viewBox:"0 0 16 16"},marksTotal:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M5.33333 3.55551C5.08787 3.55551 4.88889 3.7545 4.88889 3.99996V12C4.88889 12.2454 5.08787 12.4444 5.33333 12.4444H10.6667C10.9121 12.4444 11.1111 12.2454 11.1111 12V6.66663H9.33333C8.59695 6.66663 8 6.06967 8 5.33329V3.55551H5.33333ZM8.88889 4.18405L10.4826 5.77774H9.33333C9.08787 5.77774 8.88889 5.57875 8.88889 5.33329V4.18405ZM4 3.99996C4 3.26358 4.59695 2.66663 5.33333 2.66663H8.44444C8.56232 2.66663 8.67536 2.71345 8.75871 2.7968L11.8698 5.90791C11.9532 5.99126 12 6.10431 12 6.22218V12C12 12.7363 11.403 13.3333 10.6667 13.3333H5.33333C4.59695 13.3333 4 12.7363 4 12V3.99996ZM6.22222 8.88885C6.22222 8.64339 6.42121 8.4444 6.66667 8.4444H8C8.24546 8.4444 8.44444 8.64339 8.44444 8.88885C8.44444 9.13431 8.24546 9.33329 8 9.33329H6.66667C6.42121 9.33329 6.22222 9.13431 6.22222 8.88885ZM6.22222 10.6666C6.22222 10.4212 6.42121 10.2222 6.66667 10.2222H9.33333C9.57879 10.2222 9.77778 10.4212 9.77778 10.6666C9.77778 10.9121 9.57879 11.1111 9.33333 11.1111H6.66667C6.42121 11.1111 6.22222 10.9121 6.22222 10.6666Z" fill="currentColor"/>',viewBox:"0 0 16 16"},crossCircle:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M8.00016 13.6667C11.1298 13.6667 13.6668 11.1297 13.6668 8.00004C13.6668 4.87043 11.1298 2.33337 8.00016 2.33337C4.87055 2.33337 2.3335 4.87043 2.3335 8.00004C2.3335 11.1297 4.87055 13.6667 8.00016 13.6667ZM10.8219 9.96066C10.8226 9.8938 10.8112 9.82736 10.7883 9.76454C10.7634 9.70414 10.7268 9.6493 10.6806 9.60323L9.07431 7.99946L10.6864 6.39684C10.7335 6.3501 10.7707 6.2944 10.796 6.23302C10.8212 6.17163 10.834 6.10581 10.8335 6.03941C10.8347 5.90044 10.782 5.76643 10.6864 5.66574L10.3297 5.30831C10.2798 5.2614 10.2211 5.22474 10.1571 5.20039C10.0947 5.17809 10.0289 5.16671 9.96257 5.16674C9.89585 5.16607 9.82954 5.17747 9.76685 5.20039C9.70643 5.22502 9.65165 5.26174 9.60588 5.30831L8.00537 6.91789L6.39907 5.30831C6.35293 5.2611 6.29726 5.22431 6.23578 5.20039C6.17416 5.17797 6.10909 5.16658 6.04353 5.16674C5.97607 5.16631 5.90905 5.1777 5.8455 5.20039C5.78249 5.22534 5.72474 5.26195 5.67525 5.30831L5.31971 5.66574C5.27197 5.71595 5.23528 5.77565 5.21201 5.84097C5.18981 5.90477 5.17845 5.97185 5.17843 6.03941C5.17767 6.10591 5.18905 6.17198 5.21201 6.23437C5.23602 6.29556 5.27274 6.35094 5.31971 6.39684L6.91443 7.99946L5.31392 9.60323C5.26686 9.64997 5.2296 9.70567 5.20434 9.76706C5.17909 9.82844 5.16634 9.89427 5.16684 9.96066C5.16708 10.0278 5.17964 10.0942 5.2039 10.1568C5.22871 10.2226 5.26608 10.2829 5.31392 10.3343L5.67062 10.6918C5.72015 10.7386 5.77838 10.7753 5.84202 10.7997C5.90484 10.8221 5.97106 10.8335 6.03774 10.8333C6.1041 10.8341 6.17004 10.8227 6.23231 10.7997C6.29308 10.7751 6.34824 10.7384 6.39444 10.6918L7.99379 9.07638L9.60009 10.6894C9.64672 10.7366 9.70276 10.7734 9.76454 10.7974C9.82613 10.8199 9.89122 10.8313 9.95679 10.831C10.0243 10.8314 10.0913 10.8201 10.1548 10.7974C10.2176 10.7727 10.275 10.736 10.3239 10.6894L10.6806 10.332C10.728 10.2815 10.7646 10.2219 10.7883 10.1568C10.8101 10.0937 10.8214 10.0274 10.8219 9.96066Z" fill="currentColor"/>',viewBox:"0 0 16 16"},sortBy:{icon:'<path d="M14.1667 16.6668L10.8333 13.3335M5.83333 13.3335V3.3335V13.3335ZM5.83333 3.3335L2.5 6.66683L5.83333 3.3335ZM5.83333 3.3335L9.16667 6.66683L5.83333 3.3335ZM14.1667 6.66683V16.6668V6.66683ZM14.1667 16.6668L17.5 13.3335L14.1667 16.6668Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>',viewBox:"0 0 20 20"},chevronLeft:{icon:'<path d="M15.75 19.5 8.25 12l7.5-7.5" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" />',viewBox:"0 0 24 24"},chevronRight:{icon:'<path d="m8.25 4.5 7.5 7.5-7.5 7.5" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" />',viewBox:"0 0 24 24"},arrowUpDown:{icon:'<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m14.667 16.667-3.334-3.334m-5 0v-10 10Zm0-10L3 6.668l3.333-3.333Zm0 0 3.334 3.334-3.334-3.333Zm8.334 3.334v10-10Zm0 10L18 13.333l-3.333 3.334Z"/>',viewBox:"0 0 24 24"},bars:{icon:'<path d="M0.6 3.4V0.6H15.4V3.4H0.6ZM0.6 8.9V6.1H15.4V8.9H0.6ZM0.6 14.4V11.6H15.4V14.4H0.6Z" stroke="currentColor" stroke-width="1.2" stroke-linejoin="round" fill="none" />',viewBox:"0 0 16 15"},verticalBars:{icon:'<path d="M16.8748 3.1C16.8886 3.1 16.8998 3.11119 16.8998 3.125L16.8998 17.875C16.8998 17.8888 16.8886 17.9 16.8748 17.9L14.1248 17.9C14.1109 17.9 14.0998 17.8888 14.0998 17.875L14.0998 3.125C14.0998 3.11119 14.111 3.1 14.1248 3.1L16.8748 3.1ZM11.3743 3.1C11.3881 3.1 11.3993 3.11119 11.3993 3.125L11.3993 17.875C11.3993 17.8888 11.3881 17.9 11.3743 17.9H8.62427C8.61046 17.9 8.59927 17.8888 8.59927 17.875L8.59927 3.125C8.59927 3.11119 8.61046 3.1 8.62427 3.1L11.3743 3.1ZM5.875 3.1C5.88881 3.1 5.9 3.11119 5.9 3.125L5.9 17.875C5.9 17.8888 5.88881 17.9 5.875 17.9H3.125C3.11119 17.9 3.1 17.8888 3.1 17.875L3.1 3.125C3.1 3.11119 3.11119 3.1 3.125 3.1L5.875 3.1Z" stroke="currentColor" stroke-width="1.2" stroke-linejoin="round" fill="none"/>',viewBox:"0 0 20 20"},upload:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M7.50052 2.5C6.94744 2.49995 6.40036 2.61464 5.89385 2.83683C5.38734 3.05902 4.93241 3.38388 4.55782 3.79087C4.18322 4.19786 3.89711 4.67814 3.71754 5.20137C3.53798 5.72459 3.46887 6.27937 3.5146 6.83067C2.79373 7.1685 2.20958 7.74207 1.85856 8.45672C1.50754 9.17136 1.41063 9.98435 1.58383 10.7615C1.75704 11.5386 2.18999 12.2335 2.81125 12.7314C3.4325 13.2292 4.20491 13.5004 5.00099 13.5H12.4996C13.1629 13.5002 13.8076 13.2805 14.3328 12.8752C14.858 12.4699 15.2341 11.9019 15.4021 11.2601C15.5702 10.6182 15.5208 9.93881 15.2617 9.32806C15.0025 8.71731 14.5483 8.2097 13.97 7.88467C14.0293 7.50429 13.9999 7.11535 13.8842 6.74819C13.7685 6.38102 13.5696 6.04554 13.303 5.76789C13.0363 5.49025 12.7092 5.27794 12.3471 5.14752C11.9849 5.0171 11.5976 4.97209 11.2152 5.016C10.9184 4.27328 10.4059 3.63658 9.74371 3.18809C9.08156 2.73961 8.30021 2.49993 7.50052 2.5ZM8.8536 6.14667C8.75987 6.05303 8.63281 6.00044 8.50034 6.00044C8.36786 6.00044 8.2408 6.05303 8.14707 6.14667L6.14744 8.14667C6.09833 8.19244 6.05893 8.24764 6.03161 8.30897C6.00428 8.37031 5.98959 8.43652 5.98841 8.50365C5.98722 8.57079 5.99957 8.63747 6.02471 8.69973C6.04986 8.76199 6.08728 8.81855 6.13475 8.86602C6.18222 8.9135 6.23877 8.95093 6.30101 8.97608C6.36326 9.00123 6.42993 9.01358 6.49706 9.01239C6.56418 9.01121 6.63038 8.99652 6.6917 8.96919C6.75302 8.94186 6.80821 8.90246 6.85398 8.85333L8.00043 7.70667V11C8.00043 11.1326 8.0531 11.2598 8.14685 11.3536C8.2406 11.4473 8.36775 11.5 8.50034 11.5C8.63292 11.5 8.76007 11.4473 8.85382 11.3536C8.94757 11.2598 9.00024 11.1326 9.00024 11V7.70667L10.1467 8.85333C10.1925 8.90246 10.2477 8.94186 10.309 8.96919C10.3703 8.99652 10.4365 9.01121 10.5036 9.01239C10.5707 9.01358 10.6374 9.00123 10.6997 8.97608C10.7619 8.95093 10.8185 8.9135 10.8659 8.86602C10.9134 8.81855 10.9508 8.76199 10.976 8.69973C11.0011 8.63747 11.0134 8.57079 11.0123 8.50365C11.0111 8.43652 10.9964 8.37031 10.9691 8.30897C10.9417 8.24764 10.9023 8.19244 10.8532 8.14667L8.8536 6.14667Z" fill="currentColor"/>',viewBox:"0 0 16 16"},downloadCloud:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M14 5a8 8 0 0 0-7.974 8.661A7 7 0 0 0 8.999 27h15a6 6 0 0 0 2.942-11.23 5 5 0 0 0-5.511-5.738A8.001 8.001 0 0 0 14 5Zm3 8a1 1 0 0 0-2 0v6.587l-2.294-2.294a1 1 0 0 0-1.413 1.414l4 4a1 1 0 0 0 1.413 0l4-4a1 1 0 1 0-1.413-1.414l-2.294 2.294V13Z" fill="currentColor"/>',viewBox:"0 0 32 32"},circleCross:{icon:'<path fill="currentColor" fill-rule="evenodd" d="M8.5 13.667a5.667 5.667 0 1 0 0-11.334 5.667 5.667 0 0 0 0 11.334ZM11.32 9.96a.556.556 0 0 0-.033-.197.492.492 0 0 0-.108-.16L9.574 7.998l1.612-1.602a.498.498 0 0 0 .147-.358.535.535 0 0 0-.147-.373l-.357-.358a.524.524 0 0 0-.367-.141.479.479 0 0 0-.357.142l-1.6 1.609-1.606-1.61a.463.463 0 0 0-.164-.108.578.578 0 0 0-.39 0 .54.54 0 0 0-.17.108l-.356.358a.496.496 0 0 0-.107.175.605.605 0 0 0 0 .393c.024.061.06.117.107.163l1.595 1.602-1.6 1.604a.498.498 0 0 0-.148.358.548.548 0 0 0 .147.373l.357.358a.52.52 0 0 0 .367.141c.067.001.133-.01.195-.033a.484.484 0 0 0 .162-.108l1.6-1.616L10.1 10.69a.47.47 0 0 0 .164.108.578.578 0 0 0 .39 0 .522.522 0 0 0 .17-.108l.356-.357a.512.512 0 0 0 .108-.175.615.615 0 0 0 .033-.196Z" clip-rule="evenodd" opacity=".9"/>',viewBox:"0 0 17 16"},search:{icon:'<path d="M17.8178 16.9381L13.913 13.0334C14.8836 11.8662 15.4683 10.3674 15.4683 8.73438C15.4683 5.02103 12.4474 2 8.7342 2C5.02094 2 2 5.02103 2 8.73438C2 12.4475 5.02094 15.4683 8.7342 15.4683C10.3672 15.4683 11.866 14.8836 13.0332 13.913L16.9381 17.8178C17.0595 17.9393 17.2187 18 17.3779 18C17.5371 18 17.6963 17.9393 17.8178 17.8178C18.0608 17.5748 18.0608 17.181 17.8178 16.9381ZM3.24414 8.73438C3.24414 5.70705 5.70696 3.24414 8.7342 3.24414C11.7614 3.24414 14.2241 5.70705 14.2241 8.73438C14.2241 11.7615 11.7614 14.2241 8.7342 14.2241C5.70696 14.2241 3.24414 11.7615 3.24414 8.73438Z" fill="currentColor"/>',viewBox:"0 0 20 20"},key:{icon:'<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M12.695 5.15a2.155 2.155 0 0 1 2.154 2.155m2.155 0a4.31 4.31 0 0 1-5.048 4.246c-.404-.07-.832.018-1.122.309l-1.91 1.908H7.31v1.616H5.693V17H3v-2.024c0-.428.17-.84.473-1.142L8.14 9.167c.29-.29.379-.719.31-1.123a4.309 4.309 0 1 1 8.554-.739Z"/>',viewBox:"0 0 20 20"},questionCircle:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M.875 9A8.125 8.125 0 0 1 9 .875 8.125 8.125 0 0 1 17.125 9 8.125 8.125 0 0 1 9 17.125 8.125 8.125 0 0 1 .875 9Zm9.482-3.264c-.742-.648-1.972-.648-2.713 0a.625.625 0 0 1-.823-.941c1.212-1.06 3.146-1.06 4.358 0 1.261 1.103 1.261 2.932 0 4.035-.21.184-.445.339-.697.46-.564.273-.857.645-.857.96v.625a.625.625 0 1 1-1.25 0v-.625c0-1.066.883-1.756 1.563-2.085a1.9 1.9 0 0 0 .419-.276c.691-.606.691-1.547 0-2.153ZM9 14a.625.625 0 1 0 0-1.25A.625.625 0 0 0 9 14Z" fill="currentColor"/>',viewBox:"0 0 18 18"},colorBrush:{icon:'<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" d="M7.942 13.435a2.5 2.5 0 0 0-4.817.94 1.875 1.875 0 0 1-2 1.871 3.75 3.75 0 0 0 7-1.87c0-.333-.065-.65-.183-.94Zm0 0c.99-.337 1.938-.79 2.823-1.35m-4.203-.02c.338-.994.792-1.943 1.352-2.83m2.85 2.85a13.328 13.328 0 0 0 3.97-3.873l3.23-4.845a.96.96 0 0 0-1.33-1.33l-4.846 3.23a13.33 13.33 0 0 0-3.874 3.97 5.647 5.647 0 0 1 2.85 2.85"/>',viewBox:"0 0 20 20"},plus:{icon:'<path d="M8.5 3V13V3ZM13.5 8H3.5H13.5Z" fill="currentColor"/><path d="M8.5 3V13M13.5 8H3.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>',viewBox:"0 0 16 16"},broom:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M20.0215 40.1489C31.0672 40.1489 40.0215 31.1946 40.0215 20.1489C40.0215 9.10323 31.0672 0.148926 20.0215 0.148926C8.97579 0.148926 0.0214844 9.10323 0.0214844 20.1489C0.0214844 31.1946 8.97579 40.1489 20.0215 40.1489ZM15.7985 18.1171H14.5373V16.8559H13.2761V18.1171H12.0149V19.3783H13.2761V20.6395H14.5373V19.3783H15.7985V18.1171ZM13.2761 23.1619H12.0149V21.9007H10.7537V23.1619H9.49247V24.4231H10.7537V25.6844H12.0149V24.4231H13.2761V23.1619ZM17.6903 20.0089H27.1494V19.3783C27.1494 19.0438 27.0166 18.723 26.78 18.4865C26.5435 18.25 26.2227 18.1171 25.8882 18.1171H23.3658V10.5498H21.474V18.1171H18.9516C18.6171 18.1171 18.2963 18.25 18.0597 18.4865C17.8232 18.723 17.6903 19.0438 17.6903 19.3783V20.0089ZM24.0046 27.5762H26.5188C27.2037 25.1604 27.1789 23.2247 27.1567 21.4976C27.1557 21.4214 27.1548 21.3456 27.1539 21.2701H17.6721C17.5838 23.4835 17.0534 25.5992 16.4291 27.5762H18.8431C19.2902 26.687 19.5822 25.3016 19.5822 24.4231C19.5822 24.2559 19.6486 24.0955 19.7669 23.9772C19.8851 23.859 20.0455 23.7925 20.2128 23.7925C20.38 23.7925 20.5404 23.859 20.6587 23.9772C20.7769 24.0955 20.8434 24.2559 20.8434 24.4231C20.8434 25.178 20.646 26.4745 20.221 27.5762H22.6267C23.0738 26.687 23.3658 25.3016 23.3658 24.4231C23.3658 24.2559 23.4322 24.0955 23.5505 23.9772C23.6688 23.859 23.8292 23.7925 23.9964 23.7925C24.1637 23.7925 24.3241 23.859 24.4423 23.9772C24.5606 24.0955 24.627 24.2559 24.627 24.4231C24.627 25.178 24.4296 26.4745 24.0046 27.5762Z" fill="currentColor"/>',viewBox:"0 0 40 40"},media:{icon:'<g fill="currentColor" clip-path="url(#a)"><path d="M6.087 5.519h4.754c.417 0 .673.167.805.529.027.07.041.153.041.229.003 2.42.003 4.839 0 7.258 0 .41-.34.75-.755.768h-9.61c-.403 0-.703-.224-.803-.597a.573.573 0 0 1-.018-.159c0-2.425-.003-4.85 0-7.273 0-.406.324-.744.732-.747 1.35-.006 2.7-.006 4.048-.006.268-.002.535-.002.806-.002Zm-2.41 4.768c-.05.047-.092.082-.13.12-.344.341-.685.682-1.026 1.027-.156.155-.362.293-.441.482-.076.182-.012.423-.026.637-.01.147.035.192.185.192 2.566-.006 5.136-.003 7.702 0 .138 0 .185-.036.185-.18-.006-.702-.006-1.408 0-2.11a.333.333 0 0 0-.106-.256c-.737-.738-1.47-1.476-2.204-2.214-.036-.035-.08-.068-.13-.112-1.073 1.07-2.131 2.132-3.201 3.202-.27-.268-.535-.523-.809-.788ZM2.87 7.085a.81.81 0 0 0-.815.806.83.83 0 0 0 .82.835c.45 0 .818-.368.82-.817a.806.806 0 0 0-.825-.824Z"/><path d="M10.109 1.506h5.603a.765.765 0 0 1 .788.77v8.052a.744.744 0 0 1-.744.75c-1.026.006-2.055.003-3.08.006-.124 0-.145-.05-.145-.159.003-.788.003-1.573.003-2.36V3.27c0-.203 0-.203-.208-.203h-4.43c-.221 0-.221 0-.221.23 0 .405-.003.81.003 1.216.003.124-.03.17-.165.17a379.136 379.136 0 0 0-3.654 0c-.135 0-.162-.046-.162-.17.006-.723.003-1.446.003-2.17a.812.812 0 0 1 .832-.843c1.861.012 3.719.006 5.577.006ZM6.311 3.678V3.37c-.003-.215-.088-.303-.3-.306-.215-.003-.43-.003-.647 0-.194 0-.29.085-.3.28-.011.229-.006.458 0 .687.003.141.074.256.227.262.267.012.535.015.802 0 .144-.009.22-.112.218-.265-.003-.114 0-.232 0-.35Zm8.834 2.623V5.948c-.009-.182-.094-.268-.276-.27-.22-.003-.441-.003-.662 0-.212 0-.306.085-.312.296-.005.215-.005.43 0 .644.006.191.086.288.271.3.238.015.48.015.717 0 .18-.012.253-.112.259-.294.006-.109.003-.217.003-.323Zm0-2.605c0-.118.003-.235 0-.353-.006-.185-.1-.276-.285-.279a24.59 24.59 0 0 0-.659 0c-.188 0-.288.08-.297.268-.011.238-.008.479-.003.717.006.135.077.24.224.247.267.009.535.012.802.003.142-.006.212-.112.218-.25.003-.118 0-.235 0-.353Zm-.632 5.82h.364c.165-.002.26-.081.265-.246.009-.244.006-.488 0-.732-.006-.156-.097-.247-.25-.25-.25-.006-.497-.003-.747 0-.126.003-.226.074-.232.2a8.683 8.683 0 0 0 0 .829c.006.13.106.2.244.197.12 0 .238.003.356.003Z" opacity=".4"/></g><defs><clipPath id="a"><path fill="#fff" d="M.5 0h16v16H.5z"/></clipPath></defs>',viewBox:"0 0 17 16"},mediaJson:{icon:'<g fill="currentColor" clip-path="url(#b)"><path fill-rule="evenodd" d="M59.33 39.682a3.111 3.111 0 0 1-3.103-3.102V19H30.375a3.095 3.095 0 0 0-3.102 3.102V63h-.003v1.3h.003v17.78a3.095 3.095 0 0 0 3.102 3.102h43.431a3.095 3.095 0 0 0 3.103-3.103V64.3h.001V63h-.001V39.682h-17.58ZM76.908 63H27.272v1.3H76.91V63Zm-30.69-5c-2.157 0-3.171-1.015-3.171-3.145v-2.039c0-1.207-.339-1.737-1.298-1.902-.567-.1-.75-.375-.75-.923 0-.512.21-.814.75-.905.96-.174 1.298-.695 1.298-1.902v-2.039c0-2.13 1.014-3.145 3.172-3.145.155 0 .292.027.402.073.256.11.393.33.393.594 0 .311-.137.494-.43.576a2.131 2.131 0 0 1-.274.046c-1.243.119-1.764.594-1.764 2.057v2.405c0 1.316-.658 2.002-2.002 2.14v.219c1.344.137 2.002.823 2.002 2.14v2.404c0 1.463.52 1.938 1.764 2.057.1.009.192.027.274.046.293.082.43.265.43.576a.622.622 0 0 1-.393.594c-.11.046-.247.073-.402.073Zm5.794-11.067c0 .54-.448.987-.996.987a.995.995 0 0 1-.988-.987.99.99 0 0 1 .987-.987c.549 0 .997.438.997.987Zm-.201 6.417c0 .503-.33.85-.795.85-.467 0-.796-.347-.796-.85v-3.144c0-.503.33-.85.796-.85s.795.347.795.85v3.144Zm7.14 1.505v-2.039c0-1.207.339-1.737 1.298-1.902.567-.1.75-.375.75-.923 0-.512-.21-.814-.75-.905-.96-.174-1.298-.695-1.298-1.902v-2.039c0-2.13-1.014-3.145-3.172-3.145-.155 0-.292.027-.402.073a.622.622 0 0 0-.393.594c0 .311.137.494.43.576.082.019.173.037.274.046 1.243.119 1.764.594 1.764 2.057v2.405c0 1.316.658 2.002 2.002 2.14v.219c-1.344.137-2.002.823-2.002 2.14v2.404c0 1.463-.52 1.938-1.764 2.057-.1.009-.192.027-.274.046-.293.082-.43.265-.43.576 0 .265.137.484.393.594.11.046.247.073.402.073 2.158 0 3.172-1.015 3.172-3.145ZM40 76.755c0 1.94-1.142 3.082-3.077 3.082-1.825 0-2.891-1.114-2.973-2.686l-.007-.082h1.51l.008.061c.061.752.533 1.34 1.449 1.34 1.011 0 1.558-.602 1.558-1.73V69.81H40v6.945Zm5.702 3.082c2.338 0 3.76-1.141 3.76-2.94v-.006c0-1.525-.876-2.352-2.913-2.782l-1.08-.226c-1.23-.266-1.79-.718-1.79-1.456v-.007c0-.861.779-1.442 2.002-1.45 1.17 0 1.962.555 2.099 1.47l.007.096h1.49l-.007-.116c-.102-1.654-1.51-2.775-3.568-2.775-2.085 0-3.569 1.155-3.575 2.837v.007c0 1.462.936 2.351 2.87 2.761l1.074.226c1.306.287 1.846.718 1.846 1.51v.007c0 .923-.834 1.518-2.154 1.518-1.32 0-2.228-.567-2.365-1.477l-.014-.088h-1.49l.007.102c.123 1.736 1.586 2.79 3.8 2.79Zm14.527-5.093c0 3.131-1.77 5.093-4.621 5.093-2.844 0-4.621-1.955-4.621-5.093v-.013c0-3.131 1.784-5.086 4.62-5.086 2.845 0 4.622 1.962 4.622 5.086v.013Zm-7.684 0c0 2.297 1.19 3.74 3.063 3.74 1.894 0 3.056-1.463 3.056-3.74v-.013c0-2.29-1.183-3.733-3.056-3.733-1.866 0-3.063 1.436-3.063 3.733v.013Zm9.647 4.93h1.517v-7.309h.041l5.08 7.308h1.408V69.81h-1.518v7.294h-.04l-5.073-7.294h-1.415v9.864Z" clip-rule="evenodd"/><path d="M76.818 34.666v.789H60.273V18.909h.788a3.1 3.1 0 0 1 2.197.905l12.655 12.668c.582.581.905 1.37.905 2.184Z" opacity=".4"/></g><defs><clipPath id="b"><path fill="#fff" d="M18.91 18.91H85.09V85.09H18.91z"/></clipPath>',viewBox:"0 0 104 104"},mediaVideo:{icon:'<rect width="51.212" height="47.273" x="13" y="28.363" fill="currentColor" rx="4"/><path fill="currentColor" fill-rule="evenodd" d="M88.374 31.777c1.26-1.26 3.414-.367 3.414 1.414v37.616c0 1.782-2.154 2.674-3.414 1.414L69.566 53.413a2 2 0 0 1 0-2.828l18.808-18.808Z" clip-rule="evenodd" opacity=".4"/>',viewBox:"0 0 104 104"},mediaMusic:{icon:'<g clip-path="url(#c)"><path fill="currentColor" d="M78.535 25.312a1.97 1.97 0 0 0-1.508-.483l-34.948 3.883a1.941 1.941 0 0 0-1.728 1.93v34.6a11.234 11.234 0 0 0-5.825-1.594c-5.353 0-9.708 3.484-9.708 7.767s4.355 7.766 9.708 7.766 9.708-3.481 9.708-7.766V42.097l31.065-3.46v22.717a11.234 11.234 0 0 0-5.825-1.589c-5.353 0-9.708 3.483-9.708 7.767 0 4.283 4.355 7.766 9.708 7.766s9.708-3.481 9.708-7.766V26.759c0-.552-.235-1.078-.647-1.447Z"/></g><defs><clipPath id="c"><path fill="#fff" d="M24.818 24.818h54.364v54.364H24.818z"/></clipPath>',viewBox:"0 0 104 104"},mediaZip:{icon:'<g fill="currentColor" clip-path="url(#d)"><path d="M75.06 33.178 62.857 20.963a2.99 2.99 0 0 0-2.12-.872h-.76v15.954h15.955v-.76c0-.785-.311-1.546-.872-2.106Z" opacity=".4"/><path fill-rule="evenodd" d="M55.989 37.042a3 3 0 0 0 2.991 2.992h16.952v40.884a2.984 2.984 0 0 1-2.992 2.991H31.06a2.984 2.984 0 0 1-2.992-2.992V23.083a2.984 2.984 0 0 1 2.992-2.991h13.013v3.988h3.988v-3.988h7.928v16.951ZM44.01 24.08h-3.988v3.99h3.988v-3.99Zm-6.369 40.024c-.823 4.05 2.269 7.84 6.407 7.84 4.113 0 7.204-3.764 6.407-7.803L48.298 53.21a1.507 1.507 0 0 0-1.47-1.21h-2.755v-3.988h3.988v-3.988h-3.988v-3.989h3.988v-3.989h-3.988v-3.988h3.988v-3.989h-3.988v3.989h-3.989v3.988h3.989v3.989h-3.989v3.989h3.989v3.988h-3.989V52l-2.443 12.103Zm2.393 1.234c0-1.857 1.808-3.366 4.039-3.366 2.23 0 4.05 1.509 4.05 3.366 0 1.857-1.807 3.365-4.038 3.365-2.23 0-4.05-1.495-4.05-3.365Z" clip-rule="evenodd"/></g><defs><clipPath id="d"><path fill="#fff" d="M20.09 20.09H83.91V83.91H20.09z"/></clipPath>',viewBox:"0 0 104 104"},mediaPdf:{icon:'<path fill="currentColor" d="M75.355 33.178 63.139 20.963a2.99 2.99 0 0 0-2.119-.872h-.748v15.954h15.955v-.76c0-.785-.312-1.546-.873-2.106Z" opacity=".4"/><path fill="currentColor" fill-rule="evenodd" d="M59.275 40.034a3 3 0 0 1-2.991-2.992V20.091h-24.93a2.984 2.984 0 0 0-2.99 2.991v57.835a2.984 2.984 0 0 0 2.99 2.992h41.881a2.984 2.984 0 0 0 2.992-2.992V40.035H59.275Zm5.721 27.721c-2.106 0-5.272-.96-7.977-2.43-2.514.413-5.307 1.36-7.987 2.267-.628.213-1.25.423-1.86.624-3.166 5.46-5.384 7.703-7.616 7.703-.685 0-1.981-.386-2.68-1.246-2.38-2.93 3.416-6.743 6.794-8.476.006 0 .009-.003.012-.006.003-.003.006-.007.013-.007 1.508-2.642 3.64-7.254 5.085-10.694-1.06-4.1-1.633-7.317-1.01-9.598.674-2.455 5.373-2.817 5.958.848.656 2.137-.167 5.518-.729 7.823l-.043.18c1.171 3.09 2.83 5.184 5.322 6.705 2.406-.312 7.441-.798 9.174.897 1.433 1.421 1.184 5.41-2.456 5.41Zm-14.21-21.589c-.36 0-.373 3.852.25 5.846.698-1.246.798-5.846-.25-5.846Zm.038 11.73c-.96 2.517-2.156 5.397-3.54 7.815a73.51 73.51 0 0 0 1.73-.696h.001c1.838-.758 3.86-1.591 6.11-2.034-1.583-1.196-3.104-2.916-4.3-5.085ZM43.445 68.44c-2.705 4.338-4.35 5.11-4.35 5.011.616-1.669 2.738-3.564 3.867-4.573l.001-.002c.195-.173.36-.32.482-.436Zm17.338-4.561C65.407 65.849 66.118 65 66.118 65c.511-.337-.312-1.484-5.335-1.122Z" clip-rule="evenodd"/>',viewBox:"0 0 104 104"},mediaWord:{icon:'<path fill="currentColor" d="M59.239 39.591a3.111 3.111 0 0 1-3.103-3.102v-17.58H30.284a3.095 3.095 0 0 0-3.102 3.103v59.977a3.095 3.095 0 0 0 3.102 3.102h43.432a3.095 3.095 0 0 0 3.102-3.102V39.59h-17.58Zm8.88 14.31-4.912 21.715a1.537 1.537 0 0 1-1.513 1.202h-4.912c-.71 0-1.33-.49-1.499-1.176-3.335-13.379-2.689-10.496-3.309-14.283h-.065c-.142 1.848-.31 2.249-3.309 14.283a1.549 1.549 0 0 1-1.5 1.176h-4.795a1.549 1.549 0 0 1-1.512-1.215l-4.886-21.716A1.546 1.546 0 0 1 37.419 52h3.167a1.55 1.55 0 0 1 1.525 1.254c2.017 10.082 2.599 14.154 2.715 15.796.207-1.319.943-4.227 3.8-15.86a1.539 1.539 0 0 1 1.513-1.177H53.9a1.55 1.55 0 0 1 1.512 1.19c3.103 12.977 3.723 16.028 3.827 16.726-.026-1.448-.337-2.301 2.792-16.7A1.498 1.498 0 0 1 63.517 52h3.09c.995 0 1.731.918 1.512 1.9Z"/><path fill="#36F" d="M76.818 34.666v.789H60.273V18.909h.788a3.1 3.1 0 0 1 2.197.905l12.655 12.668c.582.581.905 1.37.905 2.184Z" opacity=".4"/>',viewBox:"0 0 104 104"},mediaPowerPoint:{icon:'<g fill="currentColor" clip-path="url(#e)"><path d="M75.913 32.482 63.246 19.814a3.1 3.1 0 0 0-2.198-.905h-.776v16.546h16.546v-.789c0-.814-.323-1.603-.905-2.184Z" opacity=".4"/><path fill-rule="evenodd" d="M56.136 36.489a3.111 3.111 0 0 0 3.102 3.102h17.58v42.398a3.095 3.095 0 0 1-3.102 3.102H30.284a3.095 3.095 0 0 1-3.102-3.102V22.01a3.095 3.095 0 0 1 3.102-3.102h25.852v17.58Zm-7.51 38.778v-7.394c.263 0 .598.014.99.03 3.893.16 13.371.546 13.371-10.06 0-5.714-3.671-9.953-9.423-9.953h-10.47c-.853 0-1.551.698-1.551 1.55v25.827c0 .853.698 1.551 1.55 1.551h3.982c.853 0 1.551-.698 1.551-1.55Zm-.013-21.302h3.607c1.137 0 2.003.349 2.624 1.047 1.24 1.409 1.266 4.227-.026 5.7-.634.724-1.538 1.099-2.728 1.099h-3.477v-7.846Z" clip-rule="evenodd"/></g><defs><clipPath id="e"><path fill="#fff" d="M18.91 18.91H85.09V85.09H18.91z"/></clipPath>',viewBox:"0 0 104 104"},mediaExcel:{icon:'<g fill="currentColor" clip-path="url(#f)"><path d="M59.239 39.591a3.111 3.111 0 0 1-3.103-3.102v-17.58H30.284a3.095 3.095 0 0 0-3.102 3.103v59.977a3.095 3.095 0 0 0 3.102 3.102h43.432a3.095 3.095 0 0 0 3.102-3.102V39.59h-17.58Zm4.666 34.836c.659 1.034-.078 2.391-1.306 2.391h-4.511c-.569 0-1.099-.31-1.37-.814-2.534-4.68-4.718-8.88-4.718-8.88-.828 1.913-1.293 2.585-4.731 8.893a1.537 1.537 0 0 1-1.357.814H41.4c-1.228 0-1.964-1.357-1.305-2.391l7.794-12.086-7.794-12.086c-.672-1.034.077-2.391 1.305-2.391H45.9c.568 0 1.098.31 1.37.814 3.374 6.308 2.585 4.343 4.73 8.854 0 0 .79-1.512 4.732-8.854a1.557 1.557 0 0 1 1.37-.814h4.498c1.228-.013 1.965 1.344 1.306 2.378l-7.769 12.086 7.769 12.086Z"/><path d="M76.818 34.666v.789H60.273V18.909h.788a3.1 3.1 0 0 1 2.197.905l12.655 12.668c.582.581.905 1.37.905 2.184Z" opacity=".4"/></g><defs><clipPath id="f"><path fill="#fff" d="M18.91 18.91H85.09V85.09H18.91z"/></clipPath>',viewBox:"0 0 104 104"},mediaPicture:{icon:'<path fill="currentColor" d="M74.166 24.818H29.048a6.6 6.6 0 0 0-6.594 6.598v41.466a6.597 6.597 0 0 0 6.594 6.59h45.118a6.594 6.594 0 0 0 6.59-6.59V31.416c.001-3.642-2.953-6.598-6.59-6.598Zm-14.01 9.812a6.37 6.37 0 1 1-.002 12.74 6.37 6.37 0 0 1 .002-12.74Zm11.942 38.746H32.025c-1.759 0-2.542-1.273-1.75-2.843l10.931-21.65c.792-1.57 2.302-1.71 3.37-.313l10.992 14.364c1.069 1.397 2.937 1.516 4.174.264l2.689-2.723c1.235-1.252 3.056-1.097 4.064.344l6.963 9.946c1.006 1.442.4 2.611-1.36 2.611Z"/>',viewBox:"0 0 104 104"},clipboardBelow:{icon:'<path fill="currentColor" fill-rule="evenodd" d="M14 4h4.375C19.797 4 21 5.203 21 6.625v19.25a2.626 2.626 0 0 1-2.625 2.625H2.625A2.591 2.591 0 0 1 0 25.875V6.625A2.626 2.626 0 0 1 2.625 4H7A3.49 3.49 0 0 1 10.5.5C12.414.5 14 2.086 14 4Zm-2.188 0A1.33 1.33 0 0 0 10.5 2.687c-.766 0-1.313.602-1.313 1.313 0 .766.547 1.313 1.313 1.313.71 0 1.313-.547 1.313-1.313ZM2.626 16.015V6.953c0-.164.11-.328.328-.328H5.25v1.969c0 .383.273.656.656.656h9.188a.665.665 0 0 0 .656-.656V6.625h2.297c.164 0 .328.164.328.328v9.062H2.625Zm8.293 8.592a.625.625 0 0 1-.837 0l-2.746-2.472a.625.625 0 1 1 .836-.929l1.704 1.533v-4.09a.625.625 0 1 1 1.25 0v4.09l1.703-1.533a.625.625 0 0 1 .836.93l-2.746 2.471Z" clip-rule="evenodd"/>',viewBox:"0 0 21 29"},clipboardAbove:{icon:'<path fill="currentColor" fill-rule="evenodd" d="M14 4h4.375C19.797 4 21 5.203 21 6.625v19.25a2.626 2.626 0 0 1-2.625 2.625H2.625A2.591 2.591 0 0 1 0 25.875V6.625A2.626 2.626 0 0 1 2.625 4H7A3.49 3.49 0 0 1 10.5.5C12.414.5 14 2.086 14 4Zm-2.188 0A1.33 1.33 0 0 0 10.5 2.687c-.766 0-1.313.602-1.313 1.313 0 .766.547 1.313 1.313 1.313.71 0 1.313-.547 1.313-1.313Zm6.235 21.875c.164 0 .328-.11.328-.328v-9.064H2.625v9.064c0 .219.11.328.328.328h15.094Zm-7.13-17.984a.625.625 0 0 0-.836 0l-2.746 2.472a.625.625 0 0 0 .836.93l1.704-1.534v4.09a.625.625 0 1 0 1.25 0V9.76l1.703 1.533a.625.625 0 1 0 .836-.929l-2.746-2.472Z" clip-rule="evenodd"/>',viewBox:"0 0 21 29"},uTurnLeft:{icon:'<path d="m6.5 10-4-4m0 0 4-4m-4 4h8a4 4 0 1 1 0 8h-2" stroke="#6F7CA3" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>',viewBox:"0 0 17 16"},comment:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M8 2.938c1.62 0 3.211.119 4.768.347C14.087 3.48 15 4.635 15 5.932v4.012c0 1.297-.913 2.453-2.232 2.647-.585.086-1.174.156-1.768.21v2.637a.5.5 0 0 1-.853.353l-2.79-2.788a.26.26 0 0 0-.177-.075 32.642 32.642 0 0 1-3.948-.337C1.913 12.397 1 11.242 1 9.944V5.932c0-1.298.913-2.453 2.232-2.647A32.764 32.764 0 0 1 8 2.938Zm2.5 4.25a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5Zm-1.75.75a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Zm-3.25-.75a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5Z" fill="currentColor"/>',viewBox:"0 0 16 17"},exportAlt:{icon:'<path d="M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5m-13.5-9L12 3m0 0 4.5 4.5M12 3v13.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>',viewBox:"0 0 24 24"},importAlt:{icon:'<path d="M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5M16.5 12 12 16.5m0 0L7.5 12m4.5 4.5V3" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>',viewBox:"0 0 24 24"},ellipsisXAlt:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M2.25 5.25a2.25 2.25 0 1 0 0-4.5 2.25 2.25 0 0 0 0 4.5Zm9-2.25a2.25 2.25 0 1 1-4.5 0 2.25 2.25 0 0 1 4.5 0ZM18 3a2.25 2.25 0 1 1-4.5 0A2.25 2.25 0 0 1 18 3Z" fill="currentColor"/>',viewBox:"0 0 18 6"},folders:{icon:'<path fill="#62C5E8" d="M83.254 78.666h-59.79c-1.142 0-2.18-.935-2.18-2.18V32.993c0-1.142.934-2.18 2.18-2.18h29.791c.83 0 1.557-.415 1.869-1.142l1.764-3.53C57.304 25.416 58.03 25 58.757 25H83.15c1.142 0 2.18.934 2.18 2.18v49.306c.104 1.142-.83 2.18-2.076 2.18Z"/><path fill="#29BAE3" d="M82.32 79.6H23.464c-1.142 0-2.18-.934-2.18-2.18V33.927c0-1.142.934-2.18 2.18-2.18h29.791c.83 0 1.557-.415 1.869-1.142l1.764-3.529c.416-.727 1.142-1.142 1.869-1.142H83.15c1.142 0 2.18.934 2.18 2.18v48.372c.104 1.66-1.246 3.114-3.01 3.114Z"/><path fill="#70CEEA" d="M19 38.39v37.162c0 1.764 1.35 3.114 3.114 3.114H82.32c1.765 0 3.114-1.35 3.114-3.114V43.373c0-1.764-1.35-3.114-3.114-3.114H52.01c-.83 0-1.66-.311-2.18-.934l-3.114-3.114c-.623-.623-1.35-.934-2.18-.934h-22.42C20.348 35.277 19 36.73 19 38.39Z"/><path fill="#62C5E8" d="M19 39.325v37.16c0 1.766 1.35 3.115 3.114 3.115H82.32c1.765 0 3.114-1.35 3.114-3.114V44.307c0-1.764-1.35-3.114-3.114-3.114H52.01c-.83 0-1.66-.311-2.18-.934l-3.114-3.114c-.623-.623-1.35-.934-2.18-.934h-22.42c-1.766 0-3.115 1.453-3.115 3.114Z"/>',viewBox:"0 0 104 104"},addFolder:{icon:'<path fill="currentColor" fill-rule="evenodd" d="M22.18 78.666h58.856c1.764 0 3.114-1.454 3.01-3.114V27.18c0-1.246-1.038-2.18-2.18-2.18H57.472c-.726 0-1.453.415-1.868 1.142l-1.764 3.53c-.312.726-1.039 1.14-1.869 1.14H22.18c-1.246 0-2.18 1.039-2.18 2.18v43.494c0 1.245 1.038 2.18 2.18 2.18Zm31.07-33.041a1.25 1.25 0 1 0-2.5 0v8.125h-8.125a1.25 1.25 0 1 0 0 2.5h8.125v8.125a1.25 1.25 0 1 0 2.5 0V56.25h8.125a1.25 1.25 0 1 0 0-2.5H53.25v-8.125Z" clip-rule="evenodd"/>',viewBox:"0 0 104 104"},exclamationTriangle:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M7.05 2.252c.867-1.5 3.033-1.5 3.898 0l5.517 9.561c.865 1.5-.218 3.375-1.95 3.375H3.484c-1.732 0-2.814-1.875-1.949-3.375l5.515-9.56ZM9 6.188a.562.562 0 0 1 .563.562v2.813a.562.562 0 1 1-1.125 0V6.75A.563.563 0 0 1 9 6.188Zm0 6.187a.562.562 0 1 0 0-1.125.562.562 0 0 0 0 1.125Z" fill="currentColor"/>',viewBox:"0 0 18 18"},exclamationCircle:{icon:'<g clip-path="url(#exclamationCircle)"><path fill-rule="evenodd" clip-rule="evenodd" d="M19.947 9.935a9.512 9.512 0 1 1-19.025 0 9.512 9.512 0 0 1 19.025 0Zm-9.513-5.946a.892.892 0 0 1 .892.892v5.351a.892.892 0 1 1-1.784 0v-5.35a.892.892 0 0 1 .892-.892Zm0 11.89a1.189 1.189 0 1 0 0-2.377 1.189 1.189 0 0 0 0 2.378Z" fill="currentColor"/></g><defs><clipPath id="exclamationCircle"><path fill="#fff" d="M.5 0h20v20H.5z"/></clipPath></defs>',viewBox:"0 0 20 20"},fontBook:{icon:'<g fill="currentColor" clip-path="url(#g)"><path d="m5.037 3 3.384 8.733c.14.334.288.566.446.696.167.12.32.186.46.195v.278a11.686 11.686 0 0 0-.878-.027 43.505 43.505 0 0 0-2.173 0c-.352 0-.64.009-.863.027v-.278c.474-.019.775-.098.905-.237.13-.148.102-.46-.083-.933L3.783 4.838l.251-.306-2.228 5.78c-.177.464-.283.845-.32 1.142-.038.297-.015.53.07.696a.738.738 0 0 0 .417.362c.195.066.436.103.724.112v.278a13.827 13.827 0 0 0-.863-.027c-.279-.01-.558-.014-.836-.014-.204 0-.4.004-.585.014-.176 0-.334.009-.474.027v-.278c.205-.046.404-.167.6-.362.204-.195.399-.534.584-1.017L4.313 3a4.379 4.379 0 0 0 .724 0Zm1.212 5.891v.279h-4.15l.138-.279H6.25Z"/><path d="M11.198 12.902c-.401 0-.742-.074-1.022-.224a1.573 1.573 0 0 1-.63-.63 1.92 1.92 0 0 1-.21-.896c0-.401.093-.728.28-.98a1.98 1.98 0 0 1 .714-.616 5.53 5.53 0 0 1 .938-.392c.327-.112.635-.215.924-.308.29-.103.527-.22.714-.35a.604.604 0 0 0 .28-.518V6.966c0-.299-.047-.541-.14-.728a.851.851 0 0 0-.392-.434c-.168-.103-.383-.154-.644-.154a2.44 2.44 0 0 0-.616.084 1.043 1.043 0 0 0-.532.322c.243.065.43.187.56.364.14.177.21.392.21.644 0 .29-.098.518-.294.686-.187.159-.425.238-.714.238-.308 0-.541-.098-.7-.294a1.058 1.058 0 0 1-.238-.686c0-.261.065-.476.196-.644.13-.177.313-.336.546-.476.233-.159.532-.285.896-.378.364-.093.76-.14 1.19-.14.41 0 .775.047 1.092.14.317.084.588.238.812.462.224.215.369.48.434.798.065.317.098.705.098 1.162v3.836c0 .233.028.401.084.504.056.094.145.14.266.14a.54.54 0 0 0 .266-.07 1.94 1.94 0 0 0 .28-.196l.154.238c-.205.159-.42.285-.644.378-.224.093-.495.14-.812.14-.327 0-.588-.046-.784-.14a.932.932 0 0 1-.42-.406 1.607 1.607 0 0 1-.14-.63c-.224.373-.5.663-.826.868-.327.206-.719.308-1.176.308Zm.84-.784c.224 0 .43-.06.616-.182.196-.121.373-.303.532-.546V8.562c-.093.14-.229.266-.406.378-.168.112-.35.224-.546.336a3.783 3.783 0 0 0-.56.392 1.9 1.9 0 0 0-.434.532c-.112.206-.168.472-.168.798 0 .364.089.644.266.84.177.187.41.28.7.28Z" opacity=".4"/></g><defs><clipPath id="g"><path fill="#fff" d="M0 0h16v16H0z"/></clipPath></defs>',viewBox:"0 0 16 16"},googleFont:{icon:'<path fill="#FBBC04" d="M.172 13.074 7.872.987l4.127 2.63-6.025 9.457H.172Z"/><path fill="#1A73E8" d="M7.707.925h4.74v12.15h-4.74V.925Z"/><path fill="#EA4335" d="M2.795 5.826a2.35 2.35 0 1 0 0-4.7 2.35 2.35 0 0 0 0 4.7Z"/><path fill="#34A853" d="M15.829 9.699a3.376 3.376 0 0 1-3.376 3.376V6.323A3.376 3.376 0 0 1 15.83 9.7Z"/><path fill="#0D652D" d="M12.449 6.323v6.752a3.375 3.375 0 0 1 0-6.752Z"/><path fill="#1A73E8" d="M15.051 3.725a2.598 2.598 0 0 1-2.598 2.598V1.127a2.599 2.599 0 0 1 2.598 2.598Z"/><path fill="#174EA6" d="M12.449 1.127v5.196a2.598 2.598 0 0 1 0-5.196Z"/>',viewBox:"0 0 16 14"},expand:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M5.56831 2.95802H3.57674L6.52622 5.9201C6.71526 6.09657 6.71526 6.39912 6.52622 6.58816C6.34975 6.7772 6.0472 6.7772 5.85816 6.58816L2.90861 3.63861L2.9087 5.61772C2.9087 5.88246 2.69443 6.09673 2.42969 6.09673C2.16496 6.09673 1.95068 5.88247 1.95068 5.61772V2.4791C1.95068 2.21436 2.16494 2.00009 2.42969 2.00009L5.56831 2C5.83305 2 6.04732 2.21427 6.04732 2.47901C6.04732 2.74375 5.83306 2.95802 5.56831 2.95802ZM12.966 10.3689C12.966 10.1041 13.1803 9.88986 13.445 9.88986L13.4449 9.88989C13.7096 9.88989 13.9239 10.1041 13.9239 10.3689L13.924 13.5201C13.924 13.7849 13.7097 13.9991 13.445 13.9991H10.3064C10.0416 13.9991 9.82736 13.7849 9.82736 13.5201C9.82736 13.2554 10.0416 13.0411 10.3064 13.0411H12.2979L9.36101 10.0916C9.17197 9.9151 9.17197 9.61254 9.36101 9.42351C9.53747 9.23447 9.84003 9.23447 10.0291 9.42351L12.966 12.3604V10.3689ZM5.84507 9.42524L2.89552 12.3622V10.3706C2.89552 10.1059 2.68125 9.8916 2.41651 9.8916C2.15177 9.8916 1.9375 10.1059 1.9375 10.3706V13.5092C1.9375 13.774 2.15177 13.9882 2.41651 13.9882H5.55513C5.81988 13.9882 6.03414 13.774 6.03414 13.5092C6.03414 13.2445 5.81987 13.0302 5.55513 13.0302H3.57612L6.52566 10.0807C6.7147 9.89163 6.7147 9.58908 6.52566 9.41261C6.33663 9.23606 6.03416 9.23606 5.84504 9.42519L5.84507 9.42524ZM10.3064 2.01318H13.445L13.445 2.01321C13.7097 2.01321 13.924 2.22747 13.9365 2.49222L13.9366 5.63084C13.9366 5.89557 13.7224 6.10985 13.4576 6.10985C13.1929 6.10985 12.9786 5.89558 12.9786 5.63084V3.63926L10.0291 6.5762C9.8526 6.76524 9.55004 6.76524 9.36101 6.5762C9.17197 6.39974 9.17197 6.09718 9.36101 5.90814L12.2979 2.9712H10.3064C10.0416 2.9712 9.82736 2.75693 9.82736 2.49219C9.82736 2.22746 10.0416 2.01318 10.3064 2.01318Z" fill="currentColor"/>',viewBox:"0 0 16 16"},collapse:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M10.2935 6.15572V3.06913C10.2935 2.80877 10.5042 2.59806 10.7645 2.59806C11.0249 2.59806 11.2356 2.80878 11.2356 3.06913V5.02769L14.1238 2.13943C14.3098 1.95352 14.6073 1.95352 14.7808 2.13943C14.9667 2.32533 14.9667 2.62287 14.7808 2.79641L11.8926 5.69707H13.8511C14.1115 5.69707 14.3222 5.90779 14.3222 6.16814C14.3222 6.42849 14.1115 6.63921 13.8511 6.63921L10.7645 6.63912C10.5042 6.62676 10.2935 6.41604 10.2935 6.15568L10.2935 6.15572ZM7.56431 3.06913V6.15572L7.56429 6.15568C7.56429 6.41604 7.35358 6.62676 7.09322 6.63912L4.00662 6.63921C3.74628 6.63921 3.53556 6.42849 3.53556 6.16814C3.53556 5.90779 3.74627 5.69707 4.00662 5.69707H5.96519L3.07693 2.79641C2.89102 2.62287 2.89102 2.32533 3.07693 2.13943C3.25047 1.95352 3.54801 1.95352 3.73391 2.13943L6.62217 5.02769L6.62217 3.06913C6.62217 2.80878 6.83289 2.59806 7.09324 2.59806C7.35359 2.59806 7.56431 2.80877 7.56431 3.06913ZM7.56431 12.93V9.84343L7.56429 9.84347C7.56429 9.58311 7.35358 9.37239 7.09322 9.36002L4.00662 9.35994C3.74628 9.35994 3.53556 9.57066 3.53556 9.83101C3.53556 10.0914 3.74627 10.3021 4.00662 10.3021H5.96519L3.07693 13.2027C2.89102 13.3763 2.89102 13.6738 3.07693 13.8597C3.25047 14.0456 3.54801 14.0456 3.73391 13.8597L6.62217 10.9715L6.62217 12.93C6.62217 13.1904 6.83289 13.4011 7.09324 13.4011C7.35359 13.4011 7.56431 13.1904 7.56431 12.93ZM10.2935 12.93V9.84343L10.2935 9.84347C10.2935 9.58311 10.5042 9.37239 10.7645 9.36002L13.8511 9.35994C14.1115 9.35994 14.3222 9.57066 14.3222 9.83101C14.3222 10.0914 14.1115 10.3021 13.8511 10.3021H11.8926L14.7808 13.2027C14.9667 13.3763 14.9667 13.6738 14.7808 13.8597C14.6073 14.0456 14.3098 14.0456 14.1238 13.8597L11.2356 10.9715V12.93C11.2356 13.1904 11.0249 13.4011 10.7645 13.4011C10.5042 13.4011 10.2935 13.1904 10.2935 12.93Z" fill="currentColor"/>',viewBox:"0 0 16 16"},minus:{icon:'<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13.5 8h-10"/>',viewBox:"0 0 16 16"},starAlt:{icon:'<path d="m25.49 13.223-4.229 3.69 1.267 5.494a1.5 1.5 0 0 1-2.235 1.625L15.5 21.126l-4.781 2.906a1.5 1.5 0 0 1-2.235-1.625l1.264-5.488-4.229-3.696a1.5 1.5 0 0 1 .854-2.63l5.575-.483 2.176-5.19a1.495 1.495 0 0 1 2.76 0l2.182 5.19 5.573.482a1.5 1.5 0 0 1 .854 2.63h-.005Z" fill="currentColor"/>',viewBox:"0 0 32 32"},startEmpty:{icon:'<path d="M25.477 12.356c-.045.163-.13.31-.248.43l-.069.06-4.228 3.69-.226.197.068.292 1.266 5.494v.001a1 1 0 0 1-1.489 1.084L15.76 20.7l-.26-.158-.26.158-4.78 2.905a1 1 0 0 1-1.49-1.084v-.001l1.266-5.488.067-.292-.226-.197-4.229-3.696-.002-.002a1 1 0 0 1 .57-1.753l5.575-.483.301-.026.117-.28 2.176-5.19a.995.995 0 0 1 1.47-.445l.278-.416-.277.416a.996.996 0 0 1 .366.445v.001l2.183 5.19.117.279.301.026 5.572.482h.002a1 1 0 0 1 .867.688l.476-.154-.476.154a1 1 0 0 1 .012.578Z" stroke="currentColor"/>',viewBox:"0 0 32 32"},statusOff:{icon:'<path d="M22.9135 14.227C22.9993 14.376 23.0224 14.553 22.9777 14.719C22.933 14.885 22.8242 15.0265 22.6752 15.1123C22.5262 15.1981 22.3492 15.2212 22.1832 15.1765C22.0172 15.1318 21.8757 15.023 21.7899 14.874L19.6333 11.0913C18.358 11.9853 16.9341 12.6458 15.4279 13.0419L16.0932 17.0317C16.1073 17.1155 16.1047 17.2013 16.0856 17.2841C16.0665 17.3669 16.0312 17.4452 15.9818 17.5144C15.9325 17.5836 15.8699 17.6424 15.7978 17.6874C15.7257 17.7324 15.6455 17.7628 15.5616 17.7768C15.526 17.7823 15.4899 17.7852 15.4538 17.7854C15.301 17.7852 15.1532 17.731 15.0366 17.6323C14.9199 17.5337 14.842 17.3969 14.8165 17.2462L14.1566 13.304C12.7276 13.5285 11.2724 13.5285 9.84339 13.304L9.18778 17.2462C9.16229 17.3971 9.08418 17.534 8.96731 17.6327C8.85045 17.7314 8.70239 17.7855 8.54943 17.7854C8.51332 17.7852 8.47728 17.7823 8.4416 17.7768C8.35774 17.7627 8.27749 17.7322 8.20543 17.687C8.13337 17.6419 8.07092 17.583 8.02165 17.5137C7.97238 17.4444 7.93725 17.366 7.91828 17.2831C7.8993 17.2002 7.89685 17.1144 7.91107 17.0306L8.57638 13.0409C7.07017 12.6447 5.64627 11.9842 4.371 11.0902L2.21007 14.874C2.12428 15.023 1.98281 15.1318 1.81679 15.1765C1.65076 15.2212 1.47378 15.1981 1.32479 15.1123C1.17579 15.0265 1.06698 14.885 1.02228 14.719C0.977594 14.553 1.00069 14.376 1.08648 14.227L3.33475 10.2933C2.53491 9.61843 1.80155 8.86845 1.14471 8.0537C1.03689 7.92015 0.986548 7.74923 1.00475 7.57856C1.02295 7.40788 1.1082 7.25143 1.24176 7.14361C1.37531 7.0358 1.54623 6.98545 1.7169 7.00365C1.88758 7.02185 2.04403 7.10711 2.15185 7.24066C3.97095 9.49432 7.15518 12.1782 12 12.1782C16.8448 12.1782 20.0291 9.49432 21.8482 7.24282C21.956 7.10926 22.1124 7.02401 22.2831 7.00581C22.4538 6.98761 22.6247 7.03795 22.7582 7.14577C22.8918 7.25359 22.9771 7.41004 22.9953 7.58071C23.0135 7.75139 22.9631 7.9223 22.8553 8.05586C22.1985 8.87061 21.4651 9.62058 20.6653 10.2955L22.9135 14.227Z" fill="currentColor"/>',viewBox:"0 0 24 24"},statusOn:{icon:'<path fill-rule="evenodd" clip-rule="evenodd" d="M2.04498 13.0033C7.04114 6.52168 16.9589 6.52168 21.955 13.0033C22.1488 13.2548 22.5135 13.3043 22.7695 13.1139C23.0255 12.9235 23.0759 12.5654 22.8821 12.3139C17.4207 5.22869 6.57934 5.22869 1.11789 12.3139C0.924074 12.5654 0.974489 12.9235 1.2305 13.1139C1.48651 13.3043 1.85116 13.2548 2.04498 13.0033ZM11.9474 10.7251C13.2196 10.7251 14.2509 11.7381 14.2509 12.9876C14.2509 14.2371 13.2196 15.25 11.9474 15.25C10.6752 15.25 9.64389 14.2371 9.64389 12.9876C9.64389 11.7381 10.6752 10.7251 11.9474 10.7251Z" fill="currentColor"/>',viewBox:"0 0 24 24"}}),u=r(6214),s=r(8721);function d(e){return function(e){if(Array.isArray(e))return f(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||p(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){if(e){if("string"==typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(e,t):void 0}}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach((function(t){b(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function b(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==y(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==y(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===y(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y(e){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(e)}var m=function(){},g=function(){return(0,s.Z)()},w=function(e){return Array.from(Array(e).keys())},O=function(e,t){return void 0!==e.find((function(e){return e===t}))};function E(e,t){if(null==e)throw new Error(t)}var x=function(e){return null!=e};function S(e){return"string"==typeof e||e instanceof String}function _(e){return"number"==typeof e||e instanceof Number}function C(e){return"boolean"==typeof e||e instanceof Boolean}function I(e){return"object"===y(e)&&null!==e&&!Array.isArray(e)}function A(e){return"object"===y(e)&&null!==e&&e instanceof Array&&Array.isArray(e)}var P=function(e){return e%1==0},L=function(e,t){return t in e};function D(e){return!!e&&Array.isArray(e)&&(!e.length||"object"!==y(e[0]))}var j=function(e){return e.isAxiosError},T=function(e){return e instanceof Blob||e instanceof File};function Z(e){return D(e)&&(!e.length||"string"==typeof e[0]||e[0]instanceof String)}function B(e){return"object"===y(e)&&null!==e&&!Array.isArray(e)&&(L(e,"xl")||L(e,"md"))&&!L(e,"unit")}function M(e){return"object"===y(e)&&null!==e&&!Array.isArray(e)&&(L(e,"xl")||L(e,"md"))&&"unit"in e}var k=function(e){return c[e]},R=h({},null!==(l=window.Joomla)&&void 0!==l?l:{}),W=function(e){return x(e)&&I(e)?Object.keys(e):[]},N=function(e){return Object.values(e)},G=function(e){return Object.entries(e)},F=function(e){return e.split("_").map((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})).join(" ")},U=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map((function(e){return h(h({},e),{},{value:String(e.value)})}))},H=function(e,t){return Math.floor(Math.random()*(t-e))+e},q=function(e){return e.map((function(e){return e.id}))},z=function(e){var t=e.itemId,r=e.isShiftHolding,n=e.lastSelectedIndex,o=e.currentIndex,i=e.isChecked,a=e.selectedItemIds,l=e.selectedItemsIndex,c=e.totalItemsList;if(!r||-1===n)return i?{updatedItemIds:[].concat(d(a),[t]),updatedItemIndexes:[].concat(d(l),[o])}:{updatedItemIds:a.filter((function(e){return e!==t})),updatedItemIndexes:l.filter((function(e){return e!==o}))};var u=Math.min(n,o),s=Math.max(n,o),p=c.slice(u,s+1).map((function(e){return e.id})),f=w(s+1).filter((function(e){return e>=u}));return i?{updatedItemIds:d(new Set([].concat(d(a),d(p)))),updatedItemIndexes:d(new Set([].concat(d(l),d(f))))}:{updatedItemIds:a.filter((function(e){return!p.includes(e)})),updatedItemIndexes:l.filter((function(e){return!f.includes(e)}))}},V=function(e){var t,r,n="desc"===(null===(t=e.sort)||void 0===t?void 0:t.direction)?"-":"";return h({limit:e.limit,offset:e.offset,sort:(null===(r=e.sort)||void 0===r?void 0:r.property)&&"".concat(n).concat(e.sort.property)},e.filter)},$=function(e){try{return JSON.parse(e)}catch(e){return null}},K=function(e){var t=new Blob([e],{type:"application/json"}),r=URL.createObjectURL(t),n=document.createElement("a");n.href=r,n.target="_blank",n.rel="noreferrer noopener nofollow",n.download="template-".concat(g(),".json"),n.click()},X=function(e){return{name:e.name,rows:e.sections,addon:e.addons}},Y=function(e){return L(e,"rows")&&L(e,"addon")},Q=function(e){var t={background_image:"image",background_color:"color",background_gradient:"gradient",background_video:"video",background_video_mp4:"video",background_video_ogv:"video",background_external_video:"video"};if(!x(e.background_type)){var r,n=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=p(e))){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(l)throw i}}}}(W(t));try{for(n.s();!(r=n.n()).done;){var o=r.value;if(e[o]){e.background_type=t[o];break}}}catch(e){n.e(e)}finally{n.f()}}return e},J=function(e){return e.map((function(e){return h(h({},e),{},{settings:Q(e.settings)})}))},ee=function(e){return W(e).map((function(t){return{label:e[t],value:t}}))},te=!1,re=function(e){var t=e.toLocaleLowerCase(),r=t.startsWith("var(--")&&t.endsWith(")");if(r){var n=t.replace(/^var\(/,"").replace(/\)$/,"");t=getComputedStyle(document.documentElement).getPropertyValue(n)}var o=new u.C(t),i=e;return o.isValid&&o.format.startsWith("hex")&&!e.startsWith("#")&&!r&&(i="#".concat(e)),{validColor:o,isCssVariable:r,color:i}},ne=function(e){var t="".concat(R.pagebuilderBase).concat(e),r=window.document,n=r.createElement("link");n.href=t,n.rel="stylesheet",r.head.appendChild(n)},oe=function(e,t){if(0===e)return"0 Bytes";var r=t||2,n=Math.floor(Math.log(e)/Math.log(1024));return parseFloat((e/Math.pow(1024,n)).toFixed(r))+" "+["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][n]}},1030:(e,t,r)=>{"use strict";r.d(t,{n:()=>o});var n=r(1234),o=function(){return{required:{value:!0,message:(0,n.O)("COM_SPPAGEBUILDER_EDITOR_REQUIRED_FIELD")}}}},4693:(e,t,r)=>{"use strict";e.exports=r.p+"images/2dc90216f51e02a2bfe8.svg"},2137:(e,t,r)=>{"use strict";e.exports=r.p+"images/f057f8b31082c0ecd133.svg"},4654:()=>{},5574:()=>{},6152:()=>{}},a={};function l(e){var t=a[e];if(void 0!==t)return t.exports;var r=a[e]={id:e,loaded:!1,exports:{}};return i[e].call(r.exports,r,r.exports,l),r.loaded=!0,r.exports}l.m=i,e=[],l.O=(t,r,n,o)=>{if(!r){var i=1/0;for(s=0;s<e.length;s++){for(var[r,n,o]=e[s],a=!0,c=0;c<r.length;c++)(!1&o||i>=o)&&Object.keys(l.O).every((e=>l.O[e](r[c])))?r.splice(c--,1):(a=!1,o<i&&(i=o));if(a){e.splice(s--,1);var u=n();void 0!==u&&(t=u)}}return t}o=o||0;for(var s=e.length;s>0&&e[s-1][2]>o;s--)e[s]=e[s-1];e[s]=[r,n,o]},l.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return l.d(t,{a:t}),t},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,l.t=function(e,n){if(1&n&&(e=this(e)),8&n)return e;if("object"==typeof e&&e){if(4&n&&e.__esModule)return e;if(16&n&&"function"==typeof e.then)return e}var o=Object.create(null);l.r(o);var i={};t=t||[null,r({}),r([]),r(r)];for(var a=2&n&&e;"object"==typeof a&&!~t.indexOf(a);a=r(a))Object.getOwnPropertyNames(a).forEach((t=>i[t]=()=>e[t]));return i.default=()=>e,l.d(o,i),o},l.d=(e,t)=>{for(var r in t)l.o(t,r)&&!l.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},l.f={},l.e=e=>Promise.all(Object.keys(l.f).reduce(((t,r)=>(l.f[r](e,t),t)),[])),l.u=e=>"./js/"+e+".min.js",l.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n={},o="react-typescript-webpack-backend-editor:",l.l=(e,t,r,i)=>{if(n[e])n[e].push(t);else{var a,c;if(void 0!==r)for(var u=document.getElementsByTagName("script"),s=0;s<u.length;s++){var d=u[s];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==o+r){a=d;break}}a||(c=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,l.nc&&a.setAttribute("nonce",l.nc),a.setAttribute("data-webpack",o+r),a.src=e),n[e]=[t];var p=(t,r)=>{a.onerror=a.onload=null,clearTimeout(f);var o=n[e];if(delete n[e],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach((e=>e(r))),t)return t(r)},f=setTimeout(p.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=p.bind(null,a.onerror),a.onload=p.bind(null,a.onload),c&&document.head.appendChild(a)}},l.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;l.g.importScripts&&(e=l.g.location+"");var t=l.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");r.length&&(e=r[r.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),l.p=e+"../"})(),(()=>{var e={296:0};l.f.j=(t,r)=>{var n=l.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var o=new Promise(((r,o)=>n=e[t]=[r,o]));r.push(n[2]=o);var i=l.p+l.u(t),a=new Error;l.l(i,(r=>{if(l.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;a.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,n[1](a)}}),"chunk-"+t,t)}},l.O.j=t=>0===e[t];var t=(t,r)=>{var n,o,[i,a,c]=r,u=0;if(i.some((t=>0!==e[t]))){for(n in a)l.o(a,n)&&(l.m[n]=a[n]);if(c)var s=c(l)}for(t&&t(r);u<i.length;u++)o=i[u],l.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return l.O(s)},r=self.webpackChunkreact_typescript_webpack_backend_editor=self.webpackChunkreact_typescript_webpack_backend_editor||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),l.nc=void 0;var c=l.O(void 0,[216],(()=>l(4051)));c=l.O(c)})();
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0.2 |
proxy
|
phpinfo
|
Настройка