!function(e){var t={};function a(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,a),o.l=!0,o.exports}a.m=e,a.c=t,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)a.d(n,o,function(t){return e[t]}.bind(null,o));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=1)}([function(e){e.exports=JSON.parse('{"apiVersion":1,"name":"citadela-blocks/custom-container","category":"citadela-blocks","icon":"welcome-add-page","attributes":{"backgroundColor":{"type":"string"},"backgroundImageFixed":{"type":"boolean","default":false},"sectionsSize":{"type":"string","default":"content"},"focalPoint":{"type":"object","default":{"x":0.5,"y":0.5}},"backgroundType":{"type":"string","default":"none"},"backgroundImage":{"type":"object"},"backgroundOverlayType":{"type":"string","default":"color"},"backgroundOverlayColor":{"type":"string"},"backgroundOverlayOpacity":{"type":"number","default":50},"backgroundOverlayGradient":{"type":"object","default":{"first":"#dddddd","second":"#f6f6f6","degree":90,"type":"linear"}},"backgroundImageSize":{"type":"string","default":"cover"},"backgroundImageRepeat":{"type":"string","default":"no-repeat"},"backgroundGradient":{"type":"object","default":{"first":"#dddddd","second":"#f6f6f6","degree":90,"type":"linear"}},"borderWidth":{"type":"number","default":0},"borderColor":{"type":"string"},"borderRadius":{"type":"number","default":0},"boxShadow":{"type":"object"},"mobileVisibility":{"type":"string","default":"always"},"heightUnit":{"type":"string","default":"px"},"heightValue":{"type":"number"},"heightDisableOnMobile":{"type":"boolean","default":false},"verticalAlignment":{"type":"string","default":"top"},"useBackgroundImageGradient":{"type":"boolean","default":false},"backgroundImageColorType":{"type":"string","default":"color"},"insideSpace":{"type":"string","default":"none"},"useResponsiveOptions":{"type":"boolean","default":false},"backgroundImageFixedMobile":{"type":"boolean"},"focalPointMobile":{"type":"object"},"backgroundImageMobile":{"type":"object"},"disableBackgroundImageMobile":{"type":"boolean","default":false},"backgroundImageSizeMobile":{"type":"string"},"breakpointMobile":{"type":"number","default":600},"useCustomWidth":{"type":"boolean"},"widthContent":{"type":"number","default":768},"widthWide":{"type":"number","default":1200},"widthFull":{"type":"number","default":1920},"inColumn":{"type":"boolean","default":false},"coverHeight":{"type":"boolean","default":false},"zIndex":{"type":"string"}},"editorScript":"citadela-cluster-block"}')},function(e,t,a){"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})(e)}function o(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function r(e){for(var t=1;t0&&v),L=!(!x||!x.color),J=U?w-k:w,q=r({},{backgroundImage:"linear"==m.type?"linear-gradient(".concat(m.degree,"deg, ").concat(m.first," 0%, ").concat(m.second," 100%)"):"radial-gradient(".concat(m.first," 0%, ").concat(m.second," 100%)")}),Z=r(r(r(r({},"color"==s&&g?{backgroundColor:g}:{}),p?{opacity:p/100}:{}),J>0?{borderRadius:"".concat(J,"px")}:{}),"gradient"==s?q:{}),Y="linear"==h.type?"linear-gradient(".concat(h.degree,"deg, ").concat(h.first," 0%, ").concat(h.second," 100%)"):"radial-gradient(".concat(h.first," 0%, ").concat(h.second," 100%)"),$=r({},{backgroundImage:Y}),K={};if(L){var Q=x.inset?"inset":"";K={boxShadow:"".concat(Q," ").concat(x.horizontal,"px ").concat(x.vertical,"px ").concat(x.blur,"px ").concat(x.spread,"px rgba(").concat(x.color.r,", ").concat(x.color.g,", ").concat(x.color.b,", ").concat(x.color.a,")")}}var X={content:B,wide:G,fullwidth:V},ee=r({},H&&T&&X[l]?{maxWidth:"".concat(X[l],"px")}:{}),te=r(r(r(r(r(r(r(r({},void 0!==O?{minHeight:O+C}:{}),"image"==n&&d&&"gradient"==E?{backgroundImage:Y}:{}),o&&("image"==n&&"color"==E||"color"==n)?{backgroundColor:o}:{}),"gradient"==n?$:{}),U?{border:"".concat(k,"px solid ").concat(v)}:{}),w>0?{borderRadius:"".concat(w,"px")}:{}),K),void 0!==A&&""!==A?{zIndex:A}:{}),ae="image"==n&&d,ne=r(r(r(r({},ae?{backgroundImage:"url(".concat(d.url,")")}:{}),ae?{backgroundRepeat:y}:{}),ae&&u&&!i?{backgroundPosition:"".concat(Math.round(100*u.x),"% ").concat(Math.round(100*u.y),"%")}:{}),J>0?{borderRadius:"".concat(J,"px")}:{}),oe=!("image"!=n||!p||!g&&!m),re={};if(ae){var ce={backgroundImage:void 0===N?d.url:N.url,backgroundImageSize:void 0===_?f:_,backgroundImageFixed:void 0===j?i:j,focalPoint:void 0===M?u:M,disableBackgroundImage:R};re=r(r(r(r(r({},ce.disableBackgroundImage?{disableBackgroundImage:ce.disableBackgroundImage}:null),ce.backgroundImage!=d.url&&null!=ce.backgroundImage?{backgroundImage:"gradient"==E?"url(".concat(ce.backgroundImage,"), ").concat(Y):"url(".concat(ce.backgroundImage,")")}:null),ce.backgroundImageSize!=f&&null!=ce.backgroundImageSize?{size:"bg-size-".concat(ce.backgroundImageSize)}:null),ce.backgroundImageFixed!=i&&null!=ce.backgroundImageFixed?{fixed:ce.backgroundImageFixed}:null),ce.backgroundImageFixed||null==ce.focalPoint||ce.focalPoint.x==u.x&&ce.focalPoint.y==u.y?null:{position:"".concat(Math.round(100*ce.focalPoint.x),"% ").concat(Math.round(100*ce.focalPoint.y),"%")})}var ie=!1;for(var le in re)re.hasOwnProperty(le)&&(ie=!0);var ue=!(!z||"image"!=n||!ie);return wp.element.createElement("div",{className:classNames(a,"citadela-block-custom-container",{"responsive-options loading-image":!!ue},"size-".concat(l),"bg-type-".concat(n),"inside-space-".concat(P),c({},"".concat(I,"-on-mobile"),"always"!=I&&I),c({},"bg-size-".concat(f),!("image"!=n||!d)),{"has-bg":!!("color"==n&&o||"image"==n&&("color"==E&&o||"gradient"==E)||"gradient"==n)},{"fixed-bg":!("image"!=n||!i)},{"has-overlay":!!oe},{"has-border":!!(k>0&&v)},{"has-border-radius":w>0},{"has-shadow":!!L},{"has-min-height":void 0!==O},c({},"vertical-align-".concat(S),!!(void 0!==O||W&&D)),{"cover-height":!(!W||!D)}),style:te,"data-block-attr":ue?JSON.stringify(re):null,"data-block-mobile-breakpoint":ue?F:null},ae&&wp.element.createElement("div",{className:"bg-image-wrapper",style:ne}),oe&&wp.element.createElement("div",{className:"bg-image-overlay",style:Z}),wp.element.createElement("div",{className:"inner-holder",style:ee},wp.element.createElement(b.Content,null)))}}])&&l(a.prototype,n),o&&l(a,o),m}(wp.element.Component);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})(e)}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){for(var a=0;ae.length)&&(t=e.length);for(var a=0,n=new Array(t);a0&&"core/column"===Ha(e[e.length-1])}},{key:"updateMainBlockDivWrapper",value:function(){var e=this.props.attributes,t=e.coverHeight,a=e.inColumn,n=this.blockRef.current.parentNode;a&&t?n.dataset.coverHeight="true":delete n.dataset.coverHeight}},{key:"render",value:function(){var e=this.props,t=e.attributes,a=e.setAttributes,n=e.isSelected,o=e.className,r=t.backgroundType,c=t.backgroundColor,i=t.backgroundImageFixed,l=t.sectionsSize,u=t.focalPoint,d=t.backgroundImage,s=t.backgroundOverlayType,g=t.backgroundOverlayColor,b=t.backgroundOverlayOpacity,p=t.backgroundOverlayGradient,m=t.backgroundImageSize,f=t.backgroundImageRepeat,y=t.backgroundGradient,h=t.borderWidth,k=t.borderColor,v=t.borderRadius,w=t.boxShadow,x=t.mobileVisibility,I=t.heightValue,O=t.heightUnit,C=(t.heightDisableOnMobile,t.verticalAlignment),S=(t.useBackgroundImageGradient,t.backgroundImageColorType),E=t.insideSpace,P=t.useResponsiveOptions,z=t.disableBackgroundImageMobile,j=t.backgroundImageFixedMobile,M=t.focalPointMobile,N=t.backgroundImageMobile,_=t.backgroundImageSizeMobile,F=(t.breakpointMobile,t.coverHeight),T=t.inColumn,B=t.zIndex;P&&"image"==r&&(this.state.responsiveTab,this.state.responsiveTab);var G={backgroundImage:void 0===N?d:N,backgroundImageSize:void 0===_?m:_,backgroundImageFixed:void 0===j?i:j,focalPoint:void 0===M?u:M,disableBackgroundImage:z},V=!!(h>0&&k),D=!(!w||!w.color),W=V?v-h:v,A=xa({},{backgroundImage:"linear"==p.type?"linear-gradient(".concat(p.degree,"deg, ").concat(p.first," 0%, ").concat(p.second," 100%)"):"radial-gradient(".concat(p.first," 0%, ").concat(p.second," 100%)")}),H=xa(xa(xa(xa({},"color"==s&&g?{backgroundColor:g}:{}),b?{opacity:b/100}:{}),W>0?{borderRadius:"".concat(W,"px")}:{}),"gradient"==s?A:{}),U="linear"==y.type?"linear-gradient(".concat(y.degree,"deg, ").concat(y.first," 0%, ").concat(y.second," 100%)"):"radial-gradient(".concat(y.first," 0%, ").concat(y.second," 100%)"),L=xa({},{backgroundImage:U}),J={};if(D){var q=w.inset?"inset":"";J={boxShadow:"".concat(q," ").concat(w.horizontal,"px ").concat(w.vertical,"px ").concat(w.blur,"px ").concat(w.spread,"px rgba(").concat(w.color.r,", ").concat(w.color.g,", ").concat(w.color.b,", ").concat(w.color.a,")")}}var Z=P&&"mobile"==this.state.responsiveTab?{backgroundImage:G.backgroundImage,focalPoint:G.focalPoint,backgroundImageFixed:G.backgroundImageFixed,backgroundImageSize:G.backgroundImageSize,disableBackgroundImage:G.disableBackgroundImage}:{backgroundImage:d,focalPoint:u,backgroundImageFixed:i,backgroundImageSize:m,disableBackgroundImage:!1},Y=xa(xa(xa(xa(xa(xa(xa({},void 0!==I?{minHeight:I+O}:{}),"image"==r&&Z.backgroundImage&&"gradient"==S?{backgroundImage:U}:{}),c&&("image"==r&&"color"==S||"color"==r)?{backgroundColor:c}:{}),"gradient"==r?L:{}),V?{border:"".concat(h,"px solid ").concat(k)}:{}),v>0?{borderRadius:"".concat(v,"px")}:{}),J),$="image"==r&&Z.backgroundImage&&!0!==Z.disableBackgroundImage,Q=xa(xa(xa(xa({},$?{backgroundImage:"url(".concat(Z.backgroundImage.url,")")}:{}),$?{backgroundRepeat:f}:{}),$&&Z.focalPoint&&!Z.backgroundImageFixed?{backgroundPosition:"".concat(100*Z.focalPoint.x,"% ").concat(100*Z.focalPoint.y,"%")}:{}),W>0?{borderRadius:"".concat(W,"px")}:{}),X=!("image"!=r||!b||!g&&!p);return wp.element.createElement(_a,null,wp.element.createElement(Ba,{key:"controls"},wp.element.createElement(R,{attributes:t,setAttributes:a}),wp.element.createElement(K,{attributes:t,setAttributes:a,state:this.state})),wp.element.createElement(Ga,{key:"inspector"},wp.element.createElement(oa,{attributes:t,setAttributes:a,state:this.state,setState:this.setState})),wp.element.createElement(Da,null,wp.element.createElement(Wa,{type:"number",label:"z-index",value:B,onChange:function(e){a({zIndex:e})},step:1})),wp.element.createElement("div",{className:classNames(o,"citadela-block-custom-container","size-".concat(l),"bg-type-".concat(r),"inside-space-".concat(E),Ia({},"bg-size-".concat(Z.backgroundImageSize),!("image"!=r||!Z.backgroundImage)),{"has-bg":!!("color"==r&&c||"image"==r&&("color"==S&&c||"gradient"==S)||"gradient"==r)},{"fixed-bg":!("image"!=r||!Z.backgroundImageFixed)},{"has-overlay":!!X},{"has-border":!!(h>0&&k)},{"has-border-radius":v>0},{"has-shadow":!!D},{"has-min-height":void 0!==I},Ia({},"vertical-align-".concat(C),!!(void 0!==I||T&&F)),{"cover-height":!(!T||!F)}),ref:this.blockRef,style:Y},wp.element.createElement(ka,{useResponsiveOptions:P,isSelected:n,currentView:this.state.responsiveTab,mobileVisibility:x}),$&&wp.element.createElement("div",{className:"bg-image-wrapper",style:Q}),X&&wp.element.createElement("div",{className:"bg-image-overlay",style:H}),wp.element.createElement("div",{className:"inner-holder"},wp.element.createElement(Va,{renderAppender:function(){return wp.element.createElement(Va.ButtonBlockAppender,null)}}))))}}])&&Ca(a.prototype,n),o&&Ca(a,o),c}(Na);function Ja(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function qa(e){for(var t=1;t0&&y),D=!(!k||!k.color),W=V?h-f:h,A=qa({},{backgroundImage:"linear"==g.type?"linear-gradient(".concat(g.degree,"deg, ").concat(g.first," 0%, ").concat(g.second," 100%)"):"radial-gradient(".concat(g.first," 0%, ").concat(g.second," 100%)")}),H=qa(qa(qa(qa({},"color"==u&&d?{backgroundColor:d}:{}),s?{opacity:s/100}:{}),W>0?{borderRadius:"".concat(W,"px")}:{}),"gradient"==u?A:{}),U="linear"==m.type?"linear-gradient(".concat(m.degree,"deg, ").concat(m.first," 0%, ").concat(m.second," 100%)"):"radial-gradient(".concat(m.first," 0%, ").concat(m.second," 100%)"),L=qa({},{backgroundImage:U}),J={};if(D){var q=k.inset?"inset":"";J={boxShadow:"".concat(q," ").concat(k.horizontal,"px ").concat(k.vertical,"px ").concat(k.blur,"px ").concat(k.spread,"px rgba(").concat(k.color.r,", ").concat(k.color.g,", ").concat(k.color.b,", ").concat(k.color.a,")")}}var Z={content:N,wide:_,fullwidth:F},Y=qa({},G&&M&&Z[c]?{maxWidth:"".concat(Z[c],"px")}:{}),$=qa(qa(qa(qa(qa(qa(qa(qa(qa({},void 0!==w?{minHeight:w+x}:{}),"image"==n&&l?{backgroundImage:"gradient"==O?"url(".concat(l.url,"), ").concat(U):"url(".concat(l.url,")")}:{}),"image"==n&&l?{backgroundRepeat:p}:{}),o&&("image"==n&&"color"==O||"color"==n)?{backgroundColor:o}:{}),"image"==n&&l&&i&&!r?{backgroundPosition:"".concat(Math.round(100*i.x),"% ").concat(Math.round(100*i.y),"%")}:{}),"gradient"==n?L:{}),V?{border:"".concat(f,"px solid ").concat(y)}:{}),h>0?{borderRadius:"".concat(h,"px")}:{}),J),K=!("image"!=n||!s||!d&&!g),Q={};if("image"==n&&l){var X={backgroundImage:void 0===z?l.url:z.url,backgroundImageSize:void 0===R?b:R,backgroundImageFixed:void 0===E?r:E,focalPoint:void 0===P?i:P};Q=qa(qa(qa(qa({},X.backgroundImage!=l.url&&null!=X.backgroundImage?{backgroundImage:"gradient"==O?"url(".concat(X.backgroundImage,"), ").concat(U):"url(".concat(X.backgroundImage,")")}:null),X.backgroundImageSize!=b&&null!=X.backgroundImageSize?{size:"bg-size-".concat(X.backgroundImageSize)}:null),X.backgroundImageFixed!=r&&null!=X.backgroundImageFixed?{fixed:X.backgroundImageFixed}:null),X.backgroundImageFixed||null==X.focalPoint||X.focalPoint.x==i.x&&X.focalPoint.y==i.y?null:{position:"".concat(Math.round(100*X.focalPoint.x),"% ").concat(Math.round(100*X.focalPoint.y),"%")})}var ee=!1;for(var te in Q)Q.hasOwnProperty(te)&&(ee=!0);var ae=!(!S||"image"!=n||!ee);return wp.element.createElement("div",{className:classNames(a,"citadela-block-custom-container",{"responsive-options loading-image":!!ae},"size-".concat(c),"bg-type-".concat(n),"inside-space-".concat(C),Za({},"".concat(v,"-on-mobile"),"always"!=v&&v),Za({},"bg-size-".concat(b),!("image"!=n||!l)),{"has-bg":!!("color"==n&&o||"image"==n&&("color"==O&&o||"gradient"==O)||"gradient"==n)},{"fixed-bg":!("image"!=n||!r)},{"has-overlay":!!K},{"has-border":!!(f>0&&y)},{"has-border-radius":h>0},{"has-shadow":!!D},{"has-min-height":void 0!==w},Za({},"vertical-align-".concat(I),!!(void 0!==w||B&&T)),{"cover-height":!(!B||!T)}),style:$,"data-block-attr":ae?JSON.stringify(Q):null,"data-block-mobile-breakpoint":ae?j:null},K&&wp.element.createElement("div",{className:"bg-image-overlay",style:H}),wp.element.createElement("div",{className:"inner-holder",style:Y},wp.element.createElement(Ya.Content,null)))}},{supports:$a,attributes:Ka,save:function(e){var t=e.attributes,a=e.className,n=t.backgroundType,o=t.backgroundColor,r=t.backgroundImageFixed,c=t.sectionsSize,i=t.focalPoint,l=t.backgroundImage,u=t.backgroundOverlayType,d=t.backgroundOverlayColor,s=t.backgroundOverlayOpacity,g=t.backgroundOverlayGradient,b=t.backgroundImageSize,p=t.backgroundImageRepeat,m=t.backgroundGradient,f=t.borderWidth,y=t.borderColor,h=t.borderRadius,k=t.boxShadow,v=t.mobileVisibility,w=t.heightValue,x=t.heightUnit,I=(t.heightDisableOnMobile,t.verticalAlignment),O=(t.useBackgroundImageGradient,t.backgroundImageColorType),C=t.insideSpace,S=t.useResponsiveOptions,E=t.backgroundImageFixedMobile,P=t.focalPointMobile,z=t.backgroundImageMobile,R=t.backgroundImageSizeMobile,j=t.breakpointMobile,M=t.useCustomWidth,N=t.widthContent,_=t.widthWide,F=t.widthFull,T=t.coverHeight,B=t.inColumn,G="undefined"!=typeof CitadelaProSettings,V=!!(f>0&&y),D=!(!k||!k.color),W=V?h-f:h,A=qa({},{backgroundImage:"linear"==g.type?"linear-gradient(".concat(g.degree,"deg, ").concat(g.first," 0%, ").concat(g.second," 100%)"):"radial-gradient(".concat(g.first," 0%, ").concat(g.second," 100%)")}),H=qa(qa(qa(qa({},"color"==u&&d?{backgroundColor:d}:{}),s?{opacity:s/100}:{}),W>0?{borderRadius:"".concat(W,"px")}:{}),"gradient"==u?A:{}),U="linear"==m.type?"linear-gradient(".concat(m.degree,"deg, ").concat(m.first," 0%, ").concat(m.second," 100%)"):"radial-gradient(".concat(m.first," 0%, ").concat(m.second," 100%)"),L=qa({},{backgroundImage:U}),J={};if(D){var q=k.inset?"inset":"";J={boxShadow:"".concat(q," ").concat(k.horizontal,"px ").concat(k.vertical,"px ").concat(k.blur,"px ").concat(k.spread,"px rgba(").concat(k.color.r,", ").concat(k.color.g,", ").concat(k.color.b,", ").concat(k.color.a,")")}}var Z={content:N,wide:_,fullwidth:F},Y=qa({},G&&M&&Z[c]?{maxWidth:"".concat(Z[c],"px")}:{}),$=qa(qa(qa(qa(qa(qa(qa(qa(qa({},void 0!==w?{minHeight:w+x}:{}),"image"==n&&l?{backgroundImage:"gradient"==O?"url(".concat(l.url,"), ").concat(U):"url(".concat(l.url,")")}:{}),"image"==n&&l?{backgroundRepeat:p}:{}),o&&("image"==n&&"color"==O||"color"==n)?{backgroundColor:o}:{}),"image"==n&&l&&i&&!r?{backgroundPosition:"".concat(Math.round(100*i.x),"% ").concat(Math.round(100*i.y),"%")}:{}),"gradient"==n?L:{}),V?{border:"".concat(f,"px solid ").concat(y)}:{}),h>0?{borderRadius:"".concat(h,"px")}:{}),J),K=!("image"!=n||!s||!d&&!g),Q={};if("image"==n&&l){var X={backgroundImage:void 0===z?l.url:z.url,backgroundImageSize:void 0===R?b:R,backgroundImageFixed:void 0===E?r:E,focalPoint:void 0===P?i:P};Q=qa(qa(qa(qa({},X.backgroundImage!=l.url&&null!=X.backgroundImage?{backgroundImage:"gradient"==O?"url(".concat(X.backgroundImage,"), ").concat(U):"url(".concat(X.backgroundImage,")")}:null),X.backgroundImageSize!=b&&null!=X.backgroundImageSize?{size:"bg-size-".concat(X.backgroundImageSize)}:null),X.backgroundImageFixed!=r&&null!=X.backgroundImageFixed?{fixed:X.backgroundImageFixed}:null),X.backgroundImageFixed||null==X.focalPoint||X.focalPoint.x==i.x&&X.focalPoint.y==i.y?null:{position:"".concat(Math.round(100*X.focalPoint.x),"% ").concat(Math.round(100*X.focalPoint.y),"%")})}var ee=!1;for(var te in Q)Q.hasOwnProperty(te)&&(ee=!0);var ae=!(!S||"image"!=n||!ee);return wp.element.createElement("div",{className:classNames(a,"citadela-block-custom-container",{"responsive-options loading-image":!!ae},"size-".concat(c),"bg-type-".concat(n),"inside-space-".concat(C),Za({},"".concat(v,"-on-mobile"),"always"!=v&&v),Za({},"bg-size-".concat(b),!("image"!=n||!l)),{"has-bg":!!("color"==n&&o||"image"==n&&("color"==O&&o||"gradient"==O)||"gradient"==n)},{"fixed-bg":!("image"!=n||!r)},{"has-overlay":!!K},{"has-border":!!(f>0&&y)},{"has-border-radius":h>0},{"has-shadow":!!D},{"has-min-height":void 0!==w},Za({},"vertical-align-".concat(I),void 0!==w),{"cover-height":!(!B||!T)}),style:$,"data-block-attr":ae?JSON.stringify(Q):null,"data-block-mobile-breakpoint":ae?j:null},K&&wp.element.createElement("div",{className:"bg-image-overlay",style:H}),wp.element.createElement("div",{className:"inner-holder",style:Y},wp.element.createElement(Ya.Content,null)))}},{supports:$a,attributes:Ka,save:function(e){var t=e.attributes,a=e.className,n=t.backgroundType,o=t.backgroundColor,r=t.backgroundImageFixed,c=t.sectionsSize,i=t.focalPoint,l=t.backgroundImage,u=t.backgroundOverlayType,d=t.backgroundOverlayColor,s=t.backgroundOverlayOpacity,g=t.backgroundOverlayGradient,b=t.backgroundImageSize,p=t.backgroundImageRepeat,m=t.backgroundGradient,f=t.borderWidth,y=t.borderColor,h=t.borderRadius,k=t.boxShadow,v=t.mobileVisibility,w=t.heightValue,x=t.heightUnit,I=(t.heightDisableOnMobile,t.verticalAlignment),O=(t.useBackgroundImageGradient,t.backgroundImageColorType),C=t.insideSpace,S=t.useResponsiveOptions,E=t.backgroundImageFixedMobile,P=t.focalPointMobile,z=t.backgroundImageMobile,R=t.backgroundImageSizeMobile,j=t.breakpointMobile,M=t.useCustomWidth,N=t.widthContent,_=t.widthWide,F=t.widthFull,T="undefined"!=typeof CitadelaProSettings,B=!!(f>0&&y),G=!(!k||!k.color),V=B?h-f:h,D=qa({},{backgroundImage:"linear"==g.type?"linear-gradient(".concat(g.degree,"deg, ").concat(g.first," 0%, ").concat(g.second," 100%)"):"radial-gradient(".concat(g.first," 0%, ").concat(g.second," 100%)")}),W=qa(qa(qa(qa({},"color"==u&&d?{backgroundColor:d}:{}),s?{opacity:s/100}:{}),V>0?{borderRadius:"".concat(V,"px")}:{}),"gradient"==u?D:{}),A="linear"==m.type?"linear-gradient(".concat(m.degree,"deg, ").concat(m.first," 0%, ").concat(m.second," 100%)"):"radial-gradient(".concat(m.first," 0%, ").concat(m.second," 100%)"),H=qa({},{backgroundImage:A}),U=G?{boxShadow:"".concat(k.horizontal,"px ").concat(k.vertical,"px ").concat(k.blur,"px ").concat(k.spread,"px rgba(").concat(k.color.r,", ").concat(k.color.g,", ").concat(k.color.b,", ").concat(k.color.a,")")}:{},L={content:N,wide:_,fullwidth:F},J=qa({},T&&M&&L[c]?{maxWidth:"".concat(L[c],"px")}:{}),q=qa(qa(qa(qa(qa(qa(qa(qa(qa({},void 0!==w?{minHeight:w+x}:{}),"image"==n&&l?{backgroundImage:"gradient"==O?"url(".concat(l.url,"), ").concat(A):"url(".concat(l.url,")")}:{}),"image"==n&&l?{backgroundRepeat:p}:{}),o&&("image"==n&&"color"==O||"color"==n)?{backgroundColor:o}:{}),"image"==n&&l&&i&&!r?{backgroundPosition:"".concat(Math.round(100*i.x),"% ").concat(Math.round(100*i.y),"%")}:{}),"gradient"==n?H:{}),B?{border:"".concat(f,"px solid ").concat(y)}:{}),h>0?{borderRadius:"".concat(h,"px")}:{}),U),Z=!("image"!=n||!s||!d&&!g),Y={};if("image"==n&&l){var $={backgroundImage:void 0===z?l.url:z.url,backgroundImageSize:void 0===R?b:R,backgroundImageFixed:void 0===E?r:E,focalPoint:void 0===P?i:P};Y=qa(qa(qa(qa({},$.backgroundImage!=l.url&&null!=$.backgroundImage?{backgroundImage:"gradient"==O?"url(".concat($.backgroundImage,"), ").concat(A):"url(".concat($.backgroundImage,")")}:null),$.backgroundImageSize!=b&&null!=$.backgroundImageSize?{size:"bg-size-".concat($.backgroundImageSize)}:null),$.backgroundImageFixed!=r&&null!=$.backgroundImageFixed?{fixed:$.backgroundImageFixed}:null),$.backgroundImageFixed||null==$.focalPoint||$.focalPoint.x==i.x&&$.focalPoint.y==i.y?null:{position:"".concat(Math.round(100*$.focalPoint.x),"% ").concat(Math.round(100*$.focalPoint.y),"%")})}var K=!1;for(var Q in Y)Y.hasOwnProperty(Q)&&(K=!0);var X=!(!S||"image"!=n||!K);return wp.element.createElement("div",{className:classNames(a,"citadela-block-custom-container",{"responsive-options loading-image":!!X},"size-".concat(c),"bg-type-".concat(n),"inside-space-".concat(C),Za({},"".concat(v,"-on-mobile"),"always"!=v&&v),Za({},"bg-size-".concat(b),!("image"!=n||!l)),{"has-bg":!!("color"==n&&o||"image"==n&&("color"==O&&o||"gradient"==O)||"gradient"==n)},{"fixed-bg":!("image"!=n||!r)},{"has-overlay":!!Z},{"has-border":!!(f>0&&y)},{"has-border-radius":h>0},{"has-shadow":!!G},{"has-min-height":void 0!==w},Za({},"vertical-align-".concat(I),void 0!==w)),style:q,"data-block-attr":X?JSON.stringify(Y):null,"data-block-mobile-breakpoint":X?j:null},Z&&wp.element.createElement("div",{className:"bg-image-overlay",style:W}),wp.element.createElement("div",{className:"inner-holder",style:J},wp.element.createElement(Ya.Content,null)))}},{supports:$a,attributes:Ka,save:function(e){var t=e.attributes,a=e.className,n=t.backgroundType,o=t.backgroundColor,r=t.backgroundImageFixed,c=t.sectionsSize,i=t.focalPoint,l=t.backgroundImage,u=t.backgroundOverlayType,d=t.backgroundOverlayColor,s=t.backgroundOverlayOpacity,g=t.backgroundOverlayGradient,b=t.backgroundImageSize,p=t.backgroundImageRepeat,m=t.backgroundGradient,f=t.borderWidth,y=t.borderColor,h=t.borderRadius,k=t.boxShadow,v=t.mobileVisibility,w=t.heightValue,x=t.heightUnit,I=(t.heightDisableOnMobile,t.verticalAlignment),O=(t.useBackgroundImageGradient,t.backgroundImageColorType),C=t.insideSpace,S=t.useResponsiveOptions,E=t.backgroundImageFixedMobile,P=t.focalPointMobile,z=t.backgroundImageMobile,R=t.backgroundImageSizeMobile,j=t.breakpointMobile,M=t.useCustomWidth,N=t.widthContent,_=t.widthWide,F=t.widthFull,T="undefined"!=typeof CitadelaProSettings,B=!!(f>0&&y),G=!(!k||!k.color),V=B?h-f:h,D=qa({},{backgroundImage:"linear"==g.type?"linear-gradient(".concat(g.degree,"deg, ").concat(g.first," 0%, ").concat(g.second," 100%)"):"radial-gradient(".concat(g.first," 0%, ").concat(g.second," 100%)")}),W=qa(qa(qa(qa({},"color"==u&&d?{backgroundColor:d}:{}),s?{opacity:s/100}:{}),V>0?{borderRadius:"".concat(V,"px")}:{}),"gradient"==u?D:{}),A="linear"==m.type?"linear-gradient(".concat(m.degree,"deg, ").concat(m.first," 0%, ").concat(m.second," 100%)"):"radial-gradient(".concat(m.first," 0%, ").concat(m.second," 100%)"),H=qa({},{backgroundImage:A}),U=G?{boxShadow:"".concat(k.horizontal,"px ").concat(k.vertical,"px ").concat(k.blur,"px ").concat(k.spread,"px rgba(").concat(k.color.r,", ").concat(k.color.g,", ").concat(k.color.b,", ").concat(k.color.a,")")}:{},L={content:N,wide:_,fullwidth:F},J=qa({},T&&M&&L[c]?{maxWidth:"".concat(L[c],"px")}:{}),q=qa(qa(qa(qa(qa(qa(qa(qa(qa({},void 0!==w?{minHeight:w+x}:{}),"image"==n&&l?{backgroundImage:"gradient"==O?"url(".concat(l.url,"), ").concat(A):"url(".concat(l.url,")")}:{}),"image"==n&&l?{backgroundRepeat:p}:{}),o&&("image"==n&&"color"==O||"color"==n)?{backgroundColor:o}:{}),"image"==n&&l&&i&&!r?{backgroundPosition:"".concat(Math.round(100*i.x),"% ").concat(Math.round(100*i.y),"%")}:{}),"gradient"==n?H:{}),B?{border:"".concat(f,"px solid ").concat(y)}:{}),h>0?{borderRadius:"".concat(h,"px")}:{}),U),Z=!("image"!=n||!s||!d&&!g),Y={};if("image"==n&&l){var $={backgroundImage:void 0===z?l.url:z.url,backgroundImageSize:void 0===R?b:R,backgroundImageFixed:void 0===E?r:E,focalPoint:void 0===P?i:P};Y=qa(qa(qa(qa({},$.backgroundImage!=l.url&&null!=$.backgroundImage?{backgroundImage:"gradient"==O?"url(".concat($.backgroundImage,"), ").concat(A):"url(".concat($.backgroundImage,")")}:null),$.backgroundImageSize!=b&&null!=$.backgroundImageSize?{size:"bg-size-".concat($.backgroundImageSize)}:null),$.backgroundImageFixed!=r&&null!=$.backgroundImageFixed?{fixed:$.backgroundImageFixed}:null),$.backgroundImageFixed||null==$.focalPoint||$.focalPoint.x==i.x&&$.focalPoint.y==i.y?null:{position:$.focalPoint})}var K=!1;for(var Q in Y)Y.hasOwnProperty(Q)&&(K=!0);var X=!(!S||"image"!=n||!K);return wp.element.createElement("div",{className:classNames(a,"citadela-block-custom-container",{"responsive-options loading-image":!!X},"size-".concat(c),"bg-type-".concat(n),"inside-space-".concat(C),Za({},"".concat(v,"-on-mobile"),"always"!=v&&v),Za({},"bg-size-".concat(b),!("image"!=n||!l)),{"has-bg":!!("color"==n&&o||"image"==n&&("color"==O&&o||"gradient"==O)||"gradient"==n)},{"fixed-bg":!("image"!=n||!r)},{"has-overlay":!!Z},{"has-border":!!(f>0&&y)},{"has-border-radius":h>0},{"has-shadow":!!G},{"has-min-height":void 0!==w},Za({},"vertical-align-".concat(I),void 0!==w)),style:q,"data-block-attr":X?JSON.stringify(Y):null,"data-block-mobile-breakpoint":X?j:null},Z&&wp.element.createElement("div",{className:"bg-image-overlay",style:W}),wp.element.createElement("div",{className:"inner-holder",style:J},wp.element.createElement(Ya.Content,null)))}},{supports:$a,attributes:Ka,save:function(e){var t=e.attributes,a=e.className,n=t.backgroundType,o=t.backgroundColor,r=t.backgroundImageFixed,c=t.sectionsSize,i=t.focalPoint,l=t.backgroundImage,u=t.backgroundOverlayType,d=t.backgroundOverlayColor,s=t.backgroundOverlayOpacity,g=t.backgroundOverlayGradient,b=t.backgroundImageSize,p=t.backgroundImageRepeat,m=t.backgroundGradient,f=t.borderWidth,y=t.borderColor,h=t.borderRadius,k=t.boxShadow,v=t.mobileVisibility,w=t.heightValue,x=t.heightUnit,I=(t.heightDisableOnMobile,t.verticalAlignment),O=(t.useBackgroundImageGradient,t.backgroundImageColorType),C=t.insideSpace,S=t.useResponsiveOptions,E=t.backgroundImageFixedMobile,P=t.focalPointMobile,z=t.backgroundImageMobile,R=t.backgroundImageSizeMobile,j=t.breakpointMobile,M=t.useCustomWidth,N=t.widthContent,_=t.widthWide,F=t.widthFull,T="undefined"!=typeof CitadelaProSettings,B=!!(f>0&&y),G=!(!k||!k.color),V=B?h-f:h,D=qa({},{backgroundImage:"linear"==g.type?"linear-gradient(".concat(g.degree,"deg, ").concat(g.first," 0%, ").concat(g.second," 100%)"):"radial-gradient(".concat(g.first," 0%, ").concat(g.second," 100%)")}),W=qa(qa(qa(qa({},"color"==u&&d?{backgroundColor:d}:{}),s?{opacity:s/100}:{}),V>0?{borderRadius:"".concat(V,"px")}:{}),"gradient"==u?D:{}),A="linear"==m.type?"linear-gradient(".concat(m.degree,"deg, ").concat(m.first," 0%, ").concat(m.second," 100%)"):"radial-gradient(".concat(m.first," 0%, ").concat(m.second," 100%)"),H=qa({},{backgroundImage:A}),U=G?{boxShadow:"".concat(k.horizontal,"px ").concat(k.vertical,"px ").concat(k.blur,"px ").concat(k.spread,"px rgba(").concat(k.color.r,", ").concat(k.color.g,", ").concat(k.color.b,", ").concat(k.color.a,")")}:{},L={content:N,wide:_,fullwidth:F},J=qa({},T&&M&&L[c]?{maxWidth:"".concat(L[c],"px")}:{}),q=qa(qa(qa(qa(qa(qa(qa(qa(qa({},void 0!==w?{minHeight:w+x}:{}),"image"==n&&l?{backgroundImage:"gradient"==O?"url(".concat(l.url,"), ").concat(A):"url(".concat(l.url,")")}:{}),"image"==n&&l?{backgroundRepeat:p}:{}),o&&("image"==n&&"color"==O||"color"==n)?{backgroundColor:o}:{}),"image"==n&&l&&i&&!r?{backgroundPosition:"".concat(Math.round(100*i.x),"% ").concat(Math.round(100*i.y),"%")}:{}),"gradient"==n?H:{}),B?{border:"".concat(f,"px solid ").concat(y)}:{}),h>0?{borderRadius:"".concat(h,"px")}:{}),U),Z=!("image"!=n||!s||!d&&!g),Y={};if("image"==n&&l){var $={backgroundImage:void 0===z?l.url:z.url,backgroundImageSize:void 0===R?b:R,backgroundImageFixed:void 0===E?r:E,focalPoint:void 0===P?i:P};Y=qa(qa(qa(qa({},$.backgroundImage!=l.url&&null!=$.backgroundImage?{image:$.backgroundImage}:null),$.backgroundImageSize!=b&&null!=$.backgroundImageSize?{size:"bg-size-".concat($.backgroundImageSize)}:null),$.backgroundImageFixed!=r&&null!=$.backgroundImageFixed?{fixed:$.backgroundImageFixed}:null),$.backgroundImageFixed||null==$.focalPoint||$.focalPoint.x==i.x&&$.focalPoint.y==i.y?null:{position:$.focalPoint})}var K=!1;for(var Q in Y)Y.hasOwnProperty(Q)&&(K=!0);var X=!(!S||"image"!=n||!K);return wp.element.createElement("div",{className:classNames(a,"citadela-block-custom-container",{"responsive-options loading-image":!!X},"size-".concat(c),"bg-type-".concat(n),"inside-space-".concat(C),Za({},"".concat(v,"-on-mobile"),"always"!=v&&v),Za({},"bg-size-".concat(b),!("image"!=n||!l)),{"has-bg":!!("color"==n&&o||"image"==n&&("color"==O&&o||"gradient"==O)||"gradient"==n)},{"fixed-bg":!("image"!=n||!r)},{"has-overlay":!!Z},{"has-border":!!(f>0&&y)},{"has-border-radius":h>0},{"has-shadow":!!G},{"has-min-height":void 0!==w},Za({},"vertical-align-".concat(I),void 0!==w)),style:q,"data-block-attr":X?JSON.stringify(Y):null,"data-block-mobile-breakpoint":X?j:null},Z&&wp.element.createElement("div",{className:"bg-image-overlay",style:W}),wp.element.createElement("div",{className:"inner-holder",style:J},wp.element.createElement(Ya.Content,null)))}},{supports:$a,attributes:Ka,save:function(e){var t=e.attributes,a=e.className,n=t.backgroundType,o=t.backgroundColor,r=t.backgroundImageFixed,c=t.sectionsSize,i=t.focalPoint,l=t.backgroundImage,u=t.backgroundOverlayType,d=t.backgroundOverlayColor,s=t.backgroundOverlayOpacity,g=t.backgroundOverlayGradient,b=t.backgroundImageSize,p=t.backgroundImageRepeat,m=t.backgroundGradient,f=t.borderWidth,y=t.borderColor,h=t.borderRadius,k=t.boxShadow,v=t.mobileVisibility,w=t.heightValue,x=t.heightUnit,I=(t.heightDisableOnMobile,t.verticalAlignment),O=t.useBackgroundImageGradient,C=t.insideSpace,S=t.useResponsiveOptions,E=t.backgroundImageFixedMobile,P=t.focalPointMobile,z=t.backgroundImageMobile,R=t.backgroundImageSizeMobile,j=t.breakpointMobile,M=t.useCustomWidth,N=t.widthContent,_=t.widthWide,F=t.widthFull,T="undefined"!=typeof CitadelaProSettings,B=!!(f>0&&y),G=!(!k||!k.color),V=B?h-f:h,D=qa({},{backgroundImage:"linear"==g.type?"linear-gradient(".concat(g.degree,"deg, ").concat(g.first," 0%, ").concat(g.second," 100%)"):"radial-gradient(".concat(g.first," 0%, ").concat(g.second," 100%)")}),W=qa(qa(qa(qa({},"color"==u&&d?{backgroundColor:d}:{}),s?{opacity:s/100}:{}),V>0?{borderRadius:"".concat(V,"px")}:{}),"gradient"==u?D:{}),A="linear"==m.type?"linear-gradient(".concat(m.degree,"deg, ").concat(m.first," 0%, ").concat(m.second," 100%)"):"radial-gradient(".concat(m.first," 0%, ").concat(m.second," 100%)"),H=qa({},{backgroundImage:A}),U=G?{boxShadow:"".concat(k.horizontal,"px ").concat(k.vertical,"px ").concat(k.blur,"px ").concat(k.spread,"px rgba(").concat(k.color.r,", ").concat(k.color.g,", ").concat(k.color.b,", ").concat(k.color.a,")")}:{},L=qa(qa(qa(qa(qa(qa(qa(qa(qa({},void 0!==w?{minHeight:w+x}:{}),"image"==n&&l?{backgroundImage:O?"url(".concat(l.url,"), ").concat(A):"url(".concat(l.url,")")}:{}),"image"==n&&l?{backgroundRepeat:p}:{}),!o||"image"!=n&&"color"!=n?{}:{backgroundColor:o}),"image"==n&&l&&i&&!r?{backgroundPosition:"".concat(Math.round(100*i.x),"% ").concat(Math.round(100*i.y),"%")}:{}),"gradient"==n?H:{}),B?{border:"".concat(f,"px solid ").concat(y)}:{}),h>0?{borderRadius:"".concat(h,"px")}:{}),U),J=!("image"!=n||!s||!d&&!g),q={content:N,wide:_,fullwidth:F},Z=qa({},T&&M&&q[c]?{maxWidth:"".concat(q[c],"px")}:{}),Y={};if("image"==n&&l){var $={backgroundImage:void 0===z?l.url:z.url,backgroundImageSize:void 0===R?b:R,backgroundImageFixed:void 0===E?r:E,focalPoint:void 0===P?i:P};Y=qa(qa(qa(qa({},$.backgroundImage!=l.url&&null!=$.backgroundImage?{image:$.backgroundImage}:null),$.backgroundImageSize!=b&&null!=$.backgroundImageSize?{size:"bg-size-".concat($.backgroundImageSize)}:null),$.backgroundImageFixed!=r&&null!=$.backgroundImageFixed?{fixed:$.backgroundImageFixed}:null),$.backgroundImageFixed||null==$.focalPoint||$.focalPoint.x==i.x&&$.focalPoint.y==i.y?null:{position:$.focalPoint})}var K=!1;for(var Q in Y)Y.hasOwnProperty(Q)&&(K=!0);var X=!(!S||"image"!=n||!K);return wp.element.createElement("div",{className:classNames(a,"citadela-block-custom-container",{"responsive-options loading-image":!!X},"size-".concat(c),"bg-type-".concat(n),"inside-space-".concat(C),Za({},"".concat(v,"-on-mobile"),"always"!=v&&v),Za({},"bg-size-".concat(b),!("image"!=n||!l)),{"has-bg":!(("color"!=n&&"image"!=n||!o&&!O)&&"gradient"!=n)},{"fixed-bg":!("image"!=n||!r)},{"has-overlay":!!J},{"has-border":!!(f>0&&y)},{"has-border-radius":h>0},{"has-shadow":!!G},{"has-min-height":void 0!==w},Za({},"vertical-align-".concat(I),void 0!==w)),style:L,"data-block-attr":X?JSON.stringify(Y):null,"data-block-mobile-breakpoint":X?j:null},J&&wp.element.createElement("div",{className:"bg-image-overlay",style:W}),wp.element.createElement("div",{className:"inner-holder",style:Z},wp.element.createElement(Ya.Content,null)))}},{supports:$a,attributes:Ka,save:function(e){var t=e.attributes,a=e.className,n=t.backgroundType,o=t.backgroundColor,r=t.backgroundImageFixed,c=t.sectionsSize,i=t.focalPoint,l=t.backgroundImage,u=t.backgroundOverlayType,d=t.backgroundOverlayColor,s=t.backgroundOverlayOpacity,g=t.backgroundOverlayGradient,b=t.backgroundImageSize,p=t.backgroundImageRepeat,m=t.backgroundGradient,f=t.borderWidth,y=t.borderColor,h=t.borderRadius,k=t.boxShadow,v=t.mobileVisibility,w=t.heightValue,x=t.heightUnit,I=(t.heightDisableOnMobile,t.verticalAlignment),O=t.useBackgroundImageGradient,C=t.insideSpace,S=t.useResponsiveOptions,E=t.backgroundImageFixedMobile,P=t.focalPointMobile,z=t.backgroundImageMobile,R=t.backgroundImageSizeMobile,j=t.breakpointMobile,M=t.width,N=!!(f>0&&y),_=!(!k||!k.color),F=N?h-f:h,T=qa({},{backgroundImage:"linear"==g.type?"linear-gradient(".concat(g.degree,"deg, ").concat(g.first," 0%, ").concat(g.second," 100%)"):"radial-gradient(".concat(g.first," 0%, ").concat(g.second," 100%)")}),B=qa(qa(qa(qa({},"color"==u&&d?{backgroundColor:d}:{}),s?{opacity:s/100}:{}),F>0?{borderRadius:"".concat(F,"px")}:{}),"gradient"==u?T:{}),G="linear"==m.type?"linear-gradient(".concat(m.degree,"deg, ").concat(m.first," 0%, ").concat(m.second," 100%)"):"radial-gradient(".concat(m.first," 0%, ").concat(m.second," 100%)"),V=qa({},{backgroundImage:G}),D=_?{boxShadow:"".concat(k.horizontal,"px ").concat(k.vertical,"px ").concat(k.blur,"px ").concat(k.spread,"px rgba(").concat(k.color.r,", ").concat(k.color.g,", ").concat(k.color.b,", ").concat(k.color.a,")")}:{},W=qa(qa(qa(qa(qa(qa(qa(qa(qa({},void 0!==w?{minHeight:w+x}:{}),"image"==n&&l?{backgroundImage:O?"url(".concat(l.url,"), ").concat(G):"url(".concat(l.url,")")}:{}),"image"==n&&l?{backgroundRepeat:p}:{}),!o||"image"!=n&&"color"!=n?{}:{backgroundColor:o}),"image"==n&&l&&i&&!r?{backgroundPosition:"".concat(Math.round(100*i.x),"% ").concat(Math.round(100*i.y),"%")}:{}),"gradient"==n?V:{}),N?{border:"".concat(f,"px solid ").concat(y)}:{}),h>0?{borderRadius:"".concat(h,"px")}:{}),D),A=!("image"!=n||!s||!d&&!g),H=qa({},M?{maxWidth:"".concat(M,"px")}:{}),U={};if("image"==n&&l){var L={backgroundImage:void 0===z?l.url:z.url,backgroundImageSize:void 0===R?b:R,backgroundImageFixed:void 0===E?r:E,focalPoint:void 0===P?i:P};U=qa(qa(qa(qa({},L.backgroundImage!=l.url&&null!=L.backgroundImage?{image:L.backgroundImage}:null),L.backgroundImageSize!=b&&null!=L.backgroundImageSize?{size:"bg-size-".concat(L.backgroundImageSize)}:null),L.backgroundImageFixed!=r&&null!=L.backgroundImageFixed?{fixed:L.backgroundImageFixed}:null),L.backgroundImageFixed||null==L.focalPoint||L.focalPoint.x==i.x&&L.focalPoint.y==i.y?null:{position:L.focalPoint})}var J=!1;for(var q in U)U.hasOwnProperty(q)&&(J=!0);var Z=!(!S||"image"!=n||!J);return wp.element.createElement("div",{className:classNames(a,"citadela-block-custom-container",{"responsive-options loading-image":!!Z},"size-".concat(c),"bg-type-".concat(n),"inside-space-".concat(C),Za({},"".concat(v,"-on-mobile"),"always"!=v&&v),Za({},"bg-size-".concat(b),!("image"!=n||!l)),{"has-bg":!(("color"!=n&&"image"!=n||!o&&!O)&&"gradient"!=n)},{"fixed-bg":!("image"!=n||!r)},{"has-overlay":!!A},{"has-border":!!(f>0&&y)},{"has-border-radius":h>0},{"has-shadow":!!_},{"has-min-height":void 0!==w},Za({},"vertical-align-".concat(I),void 0!==w)),style:W,"data-block-attr":Z?JSON.stringify(U):null,"data-block-mobile-breakpoint":Z?j:null},A&&wp.element.createElement("div",{className:"bg-image-overlay",style:B}),wp.element.createElement("div",{className:"inner-holder",style:H},wp.element.createElement(Ya.Content,null)))}},{supports:$a,attributes:Ka,save:function(e){var t=e.attributes,a=e.className,n=t.backgroundType,o=t.backgroundColor,r=t.backgroundImageFixed,c=t.sectionsSize,i=t.focalPoint,l=t.backgroundImage,u=t.backgroundOverlayType,d=t.backgroundOverlayColor,s=t.backgroundOverlayOpacity,g=t.backgroundOverlayGradient,b=t.backgroundImageSize,p=t.backgroundImageRepeat,m=t.backgroundGradient,f=t.borderWidth,y=t.borderColor,h=t.borderRadius,k=t.boxShadow,v=t.mobileVisibility,w=t.heightValue,x=t.heightUnit,I=(t.heightDisableOnMobile,t.verticalAlignment),O=t.useBackgroundImageGradient,C=t.insideSpace,S=t.useResponsiveOptions,E=t.backgroundImageFixedMobile,P=t.focalPointMobile,z=t.backgroundImageMobile,R=t.backgroundImageSizeMobile,j=t.breakpointMobile,M=!!(f>0&&y),N=!(!k||!k.color),_=M?h-f:h,F=qa({},{backgroundImage:"linear"==g.type?"linear-gradient(".concat(g.degree,"deg, ").concat(g.first," 0%, ").concat(g.second," 100%)"):"radial-gradient(".concat(g.first," 0%, ").concat(g.second," 100%)")}),T=qa(qa(qa(qa({},"color"==u&&d?{backgroundColor:d}:{}),s?{opacity:s/100}:{}),_>0?{borderRadius:"".concat(_,"px")}:{}),"gradient"==u?F:{}),B="linear"==m.type?"linear-gradient(".concat(m.degree,"deg, ").concat(m.first," 0%, ").concat(m.second," 100%)"):"radial-gradient(".concat(m.first," 0%, ").concat(m.second," 100%)"),G=qa({},{backgroundImage:B}),V=N?{boxShadow:"".concat(k.horizontal,"px ").concat(k.vertical,"px ").concat(k.blur,"px ").concat(k.spread,"px rgba(").concat(k.color.r,", ").concat(k.color.g,", ").concat(k.color.b,", ").concat(k.color.a,")")}:{},D=qa(qa(qa(qa(qa(qa(qa(qa(qa({},void 0!==w?{minHeight:w+x}:{}),"image"==n&&l?{backgroundImage:O?"url(".concat(l.url,"), ").concat(B):"url(".concat(l.url,")")}:{}),"image"==n&&l?{backgroundRepeat:p}:{}),!o||"image"!=n&&"color"!=n?{}:{backgroundColor:o}),"image"==n&&l&&i&&!r?{backgroundPosition:"".concat(Math.round(100*i.x),"% ").concat(Math.round(100*i.y),"%")}:{}),"gradient"==n?G:{}),M?{border:"".concat(f,"px solid ").concat(y)}:{}),h>0?{borderRadius:"".concat(h,"px")}:{}),V),W=!("image"!=n||!s||!d&&!g),A={};if("image"==n&&l){var H={backgroundImage:void 0===z?l.url:z.url,backgroundImageSize:void 0===R?b:R,backgroundImageFixed:void 0===E?r:E,focalPoint:void 0===P?i:P};A=qa(qa(qa(qa({},H.backgroundImage!=l.url&&null!=H.backgroundImage?{image:H.backgroundImage}:null),H.backgroundImageSize!=b&&null!=H.backgroundImageSize?{size:"bg-size-".concat(H.backgroundImageSize)}:null),H.backgroundImageFixed!=r&&null!=H.backgroundImageFixed?{fixed:H.backgroundImageFixed}:null),H.backgroundImageFixed||null==H.focalPoint||H.focalPoint.x==i.x&&H.focalPoint.y==i.y?null:{position:H.focalPoint})}var U=!1;for(var L in A)A.hasOwnProperty(L)&&(U=!0);var J=!(!S||"image"!=n||!U);return wp.element.createElement("div",{className:classNames(a,"citadela-block-custom-container",{"responsive-options loading-image":!!J},"size-".concat(c),"bg-type-".concat(n),"inside-space-".concat(C),Za({},"".concat(v,"-on-mobile"),"always"!=v&&v),Za({},"bg-size-".concat(b),!("image"!=n||!l)),{"has-bg":!(("color"!=n&&"image"!=n||!o&&!O)&&"gradient"!=n)},{"fixed-bg":!("image"!=n||!r)},{"has-overlay":!!W},{"has-border":!!(f>0&&y)},{"has-border-radius":h>0},{"has-shadow":!!N},{"has-min-height":void 0!==w},Za({},"vertical-align-".concat(I),void 0!==w)),style:D,"data-block-attr":J?JSON.stringify(A):null,"data-block-mobile-breakpoint":J?j:null},W&&wp.element.createElement("div",{className:"bg-image-overlay",style:T}),wp.element.createElement("div",{className:"inner-holder"},wp.element.createElement(Ya.Content,null)))}},{supports:$a,attributes:Ka,save:function(e){var t=e.attributes,a=e.className,n=t.backgroundType,o=t.backgroundColor,r=t.backgroundImageFixed,c=t.sectionsSize,i=t.focalPoint,l=t.backgroundImage,u=t.backgroundOverlayType,d=t.backgroundOverlayColor,s=t.backgroundOverlayOpacity,g=t.backgroundOverlayGradient,b=t.backgroundImageSize,p=t.backgroundImageRepeat,m=t.backgroundGradient,f=t.borderWidth,y=t.borderColor,h=t.borderRadius,k=t.boxShadow,v=(t.mobileVisibility,t.heightValue),w=t.heightUnit,x=(t.heightDisableOnMobile,t.verticalAlignment),I=t.useBackgroundImageGradient,O=!!(f>0&&y),C=!(!k||!k.color),S=O?h-f:h,E=qa({},{backgroundImage:"linear"==g.type?"linear-gradient(".concat(g.degree,"deg, ").concat(g.first," 0%, ").concat(g.second," 100%)"):"radial-gradient(".concat(g.first," 0%, ").concat(g.second," 100%)")}),P=qa(qa(qa(qa({},"color"==u&&d?{backgroundColor:d}:{}),s?{opacity:s/100}:{}),S>0?{borderRadius:"".concat(S,"px")}:{}),"gradient"==u?E:{}),z="linear"==m.type?"linear-gradient(".concat(m.degree,"deg, ").concat(m.first," 0%, ").concat(m.second," 100%)"):"radial-gradient(".concat(m.first," 0%, ").concat(m.second," 100%)"),R=qa({},{backgroundImage:z}),j=C?{boxShadow:"".concat(k.horizontal,"px ").concat(k.vertical,"px ").concat(k.blur,"px ").concat(k.spread,"px rgba(").concat(k.color.r,", ").concat(k.color.g,", ").concat(k.color.b,", ").concat(k.color.a,")")}:{},M=qa(qa(qa(qa(qa(qa(qa(qa(qa({},void 0!==v?{minHeight:v+w}:{}),"image"==n&&l?{backgroundImage:I?"url(".concat(l.url,"), ").concat(z):"url(".concat(l.url,")")}:{}),"image"==n&&l?{backgroundRepeat:p}:{}),!o||"image"!=n&&"color"!=n?{}:{backgroundColor:o}),"image"==n&&l&&i&&!r?{backgroundPosition:"".concat(100*i.x,"% ").concat(100*i.y,"%")}:{}),"gradient"==n?R:{}),O?{border:"".concat(f,"px solid ").concat(y)}:{}),h>0?{borderRadius:"".concat(h,"px")}:{}),j),N=!("image"!=n||!s||!d&&!g);return wp.element.createElement("div",{className:classNames(a,"citadela-block-custom-container","size-".concat(c),"bg-type-".concat(n),Za({},"bg-size-".concat(b),!("image"!=n||!l)),{"has-bg":!(("color"!=n&&"image"!=n||!o&&!I)&&"gradient"!=n)},{"fixed-bg":!("image"!=n||!r)},{"has-overlay":!!N},{"has-border":!!(f>0&&y)},{"has-border-radius":h>0},{"has-shadow":!!C},{"has-min-height":void 0!==v},Za({},"vertical-align-".concat(x),void 0!==v)),style:M},N&&wp.element.createElement("div",{className:"bg-image-overlay",style:P}),wp.element.createElement("div",{className:"inner-holder"},wp.element.createElement(Ya.Content,null)))}},{supports:$a,attributes:Ka,save:function(e){var t=e.attributes,a=e.className,n=t.backgroundType,o=t.backgroundColor,r=t.backgroundImageFixed,c=t.sectionsSize,i=t.focalPoint,l=t.backgroundImage,u=t.backgroundOverlayType,d=t.backgroundOverlayColor,s=t.backgroundOverlayOpacity,g=t.backgroundOverlayGradient,b=t.backgroundImageSize,p=t.backgroundImageRepeat,m=t.backgroundGradient,f=t.borderWidth,y=t.borderColor,h=t.borderRadius,k=t.boxShadow,v=(t.mobileVisibility,t.heightValue),w=t.heightUnit,x=(t.heightDisableOnMobile,t.verticalAlignment),I=t.useBackgroundImageGradient,O=!!(f>0&&y),C=!(!k||!k.color),S=O?h-f:h,E=qa({},{backgroundImage:"linear"==g.type?"linear-gradient(".concat(g.degree,"deg, ").concat(g.first," 0%, ").concat(g.second," 100%)"):"radial-gradient(".concat(g.first," 0%, ").concat(g.second," 100%)")}),P=qa(qa(qa(qa({},"color"==u&&d?{backgroundColor:d}:{}),s?{opacity:s/100}:{}),S>0?{borderRadius:"".concat(S,"px")}:{}),"gradient"==u?E:{}),z="linear"==m.type?"linear-gradient(".concat(m.degree,"deg, ").concat(m.first," 0%, ").concat(m.second," 100%)"):"radial-gradient(".concat(m.first," 0%, ").concat(m.second," 100%)"),R=qa({},{backgroundImage:z}),j=C?{boxShadow:"".concat(k.horizontal,"px ").concat(k.vertical,"px ").concat(k.blur,"px ").concat(k.spread,"px rgba(").concat(k.color.r,", ").concat(k.color.g,", ").concat(k.color.b,", ").concat(k.color.a,")")}:{},M=qa(qa(qa(qa(qa(qa(qa(qa(qa({},void 0!==v?{minHeight:v+w}:{}),"image"==n&&l?{backgroundImage:I?"url(".concat(l.url,"), ").concat(z):"url(".concat(l.url,")")}:{}),"image"==n&&l?{backgroundRepeat:p}:{}),!o||"image"!=n&&"color"!=n?{}:{backgroundColor:o}),"image"==n&&l&&i&&!r?{backgroundPosition:"".concat(100*i.x,"% ").concat(100*i.y,"%")}:{}),"gradient"==n?R:{}),O?{border:"".concat(f,"px solid ").concat(y)}:{}),h>0?{borderRadius:"".concat(h,"px")}:{}),j),N=!("image"!=n||!s||!d&&!g);return wp.element.createElement("div",{className:classNames(a,"citadela-block-custom-container","size-".concat(c),"bg-type-".concat(n),Za({},"bg-size-".concat(b),!("image"!=n||!l)),{"has-bg":!(("color"!=n&&"image"!=n||!o&&!I)&&"gradient"!=n)},{"fixed-bg":!("image"!=n||!r)},{"has-overlay":!!N},{"has-border":!!(f>0&&y)},{"has-border-radius":h>0},{"has-shadow":!!C},{"has-min-height":void 0!==v},"vertical-align-".concat(x)),style:M},N&&wp.element.createElement("div",{className:"bg-image-overlay",style:P}),wp.element.createElement("div",{className:"inner-holder"},wp.element.createElement(Ya.Content,null)))}},{supports:$a,attributes:Ka,save:function(e){var t=e.attributes,a=e.className,n=t.backgroundType,o=t.backgroundColor,r=t.backgroundImageFixed,c=t.sectionsSize,i=t.focalPoint,l=t.backgroundImage,u=t.backgroundOverlayType,d=t.backgroundOverlayColor,s=t.backgroundOverlayOpacity,g=t.backgroundOverlayGradient,b=t.backgroundImageSize,p=t.backgroundImageRepeat,m=t.backgroundGradient,f=t.borderWidth,y=t.borderColor,h=t.borderRadius,k=t.boxShadow,v=(t.mobileVisibility,t.heightValue),w=t.heightUnit,x=(t.heightDisableOnMobile,t.verticalAlignment),I=t.useBackgroundImageGradient,O=!!(f>0&&y),C=!(!k||!k.color),S=O?h-f:h,E=qa({},{backgroundImage:"linear"==g.type?"linear-gradient(".concat(g.degree,"deg, ").concat(g.first," 0%, ").concat(g.second," 100%)"):"radial-gradient(".concat(g.first," 0%, ").concat(g.second," 100%)")}),P=qa(qa(qa(qa({},"color"==u&&d?{backgroundColor:d}:{}),s?{opacity:s/100}:{}),S>0?{borderRadius:"".concat(S,"px")}:{}),"gradient"==u?E:{}),z="linear"==m.type?"linear-gradient(".concat(m.degree,"deg, ").concat(m.first," 0%, ").concat(m.second," 100%)"):"radial-gradient(".concat(m.first," 0%, ").concat(m.second," 100%)"),R=qa({},{backgroundImage:z}),j=C?{boxShadow:"".concat(k.horizontal,"px ").concat(k.vertical,"px ").concat(k.blur,"px ").concat(k.spread,"px rgba(").concat(k.color.r,", ").concat(k.color.g,", ").concat(k.color.b,", ").concat(k.color.a,")")}:{},M=qa(qa(qa(qa(qa(qa(qa(qa(qa({},void 0!==v?{minHeight:v+w}:{}),"image"==n&&l?{backgroundImage:I?"url(".concat(l.url,"), ").concat(z):"url(".concat(l.url,")")}:{}),"image"==n&&l?{backgroundRepeat:p}:{}),!o||"image"!=n&&"color"!=n?{}:{backgroundColor:o}),"image"==n&&l&&i&&!r?{backgroundPosition:"".concat(100*i.x,"% ").concat(100*i.y,"%")}:{}),"gradient"==n?R:{}),O?{border:"".concat(f,"px solid ").concat(y)}:{}),h>0?{borderRadius:"".concat(h,"px")}:{}),j),N=!("image"!=n||!s||!d&&!g);return wp.element.createElement("div",{className:classNames(a,"citadela-block-custom-container","size-".concat(c),Za({},"vertical-align-".concat(x),void 0!==v),"bg-type-".concat(n),Za({},"bg-size-".concat(b),!("image"!=n||!l)),{"has-bg":!(("color"!=n&&"image"!=n||!o&&!I)&&"gradient"!=n)},{"fixed-bg":!("image"!=n||!r)},{"has-overlay":!!N},{"has-border":!!(f>0&&y)},{"has-border-radius":h>0},{"has-shadow":!!C},{"has-min-height":void 0!==v}),style:M},N&&wp.element.createElement("div",{className:"bg-image-overlay",style:P}),wp.element.createElement("div",{className:"inner-holder"},wp.element.createElement(Ya.Content,null)))}},{supports:$a,attributes:Ka,save:function(e){var t=e.attributes,a=e.className,n=t.backgroundType,o=t.backgroundColor,r=t.backgroundImageFixed,c=t.sectionsSize,i=t.focalPoint,l=t.backgroundImage,u=t.backgroundOverlayType,d=t.backgroundOverlayColor,s=t.backgroundOverlayOpacity,g=t.backgroundOverlayGradient,b=t.backgroundImageSize,p=t.backgroundImageRepeat,m=t.backgroundGradient,f=t.borderWidth,y=t.borderColor,h=t.borderRadius,k=t.boxShadow,v=(t.mobileVisibility,t.heightValue),w=t.heightUnit,x=(t.heightDisableOnMobile,t.verticalAlignment),I=t.useBackgroundImageGradient,O=!!(f>0&&y),C=!(!k||!k.color),S=O?h-f:h,E=qa({},{backgroundImage:"linear"==g.type?"linear-gradient(".concat(g.degree,"deg, ").concat(g.first," 0%, ").concat(g.second," 100%)"):"radial-gradient(".concat(g.first," 0%, ").concat(g.second," 100%)")}),P=qa(qa(qa(qa({},"color"==u&&d?{backgroundColor:d}:{}),s?{opacity:s/100}:{}),S>0?{borderRadius:"".concat(S,"px")}:{}),"gradient"==u?E:{}),z="linear"==m.type?"linear-gradient(".concat(m.degree,"deg, ").concat(m.first," 0%, ").concat(m.second," 100%)"):"radial-gradient(".concat(m.first," 0%, ").concat(m.second," 100%)"),R=qa({},{backgroundImage:z}),j=C?{boxShadow:"".concat(k.horizontal,"px ").concat(k.vertical,"px ").concat(k.blur,"px ").concat(k.spread,"px rgba(").concat(k.color.r,", ").concat(k.color.g,", ").concat(k.color.b,", ").concat(k.color.a,")")}:{},M=qa(qa(qa(qa(qa(qa(qa(qa(qa({},void 0!==v?{minHeight:v+w}:{}),"image"==n&&l?{backgroundImage:I?"url(".concat(l.url,"), ").concat(z):"url(".concat(l.url,")")}:{}),"image"==n&&l?{backgroundRepeat:p}:{}),!o||"image"!=n&&"color"!=n?{}:{backgroundColor:o}),"image"==n&&l&&i&&!r?{backgroundPosition:"".concat(100*i.x,"% ").concat(100*i.y,"%")}:{}),"gradient"==n?R:{}),O?{border:"".concat(f,"px solid ").concat(y)}:{}),h>0?{borderRadius:"".concat(h,"px")}:{}),j),N=!("image"!=n||!s||!d&&!g);return wp.element.createElement("div",{className:classNames(a,"citadela-block-custom-container","size-".concat(c),"vertical-align-".concat(x),"bg-type-".concat(n),Za({},"bg-size-".concat(b),!("image"!=n||!l)),{"has-bg":!(("color"!=n&&"image"!=n||!o&&!I)&&"gradient"!=n)},{"fixed-bg":!("image"!=n||!r)},{"has-overlay":!!N},{"has-border":!!(f>0&&y)},{"has-border-radius":h>0},{"has-shadow":!!C},{"has-min-height":void 0!==v}),style:M},N&&wp.element.createElement("div",{className:"bg-image-overlay",style:P}),wp.element.createElement("div",{className:"inner-holder"},wp.element.createElement(Ya.Content,null)))}},{supports:$a,attributes:Ka,migrate:function(e){return e.useBackgroundImage?e.backgroundType="image":e.backgroundColor&&(e.backgroundType="color"),e},save:function(e){var t=e.attributes,a=e.className,n=t.backgroundColor,o=t.backgroundImageFixed,r=t.sectionsSize,c=(t.focalPoint,t.backgroundImage),i=t.useBackgroundImage,l=t.backgroundOverlayColor,u=t.backgroundOverlayOpacity,d=qa(qa({},i&&c?{backgroundImage:"url(".concat(c.url,")")}:{}),n?{backgroundColor:n}:{}),s=qa(qa({},l?{backgroundColor:l}:{}),u?{opacity:u/100}:{});return wp.element.createElement("div",{className:classNames(a,"citadela-block-custom-container","size-"+r,{"has-bg":!!n},{"fixed-bg":!!(i&&c&&o)},{"has-overlay":!!(i&&l&&u)}),style:d},i&&l&&u&&"0"!==u?wp.element.createElement("div",{className:"bg-image-overlay",style:s}):"",wp.element.createElement("div",{className:"inner-holder"},wp.element.createElement(Ya.Content,null)))}},{supports:$a,attributes:Ka,migrate:function(e){return e.useBackgroundImage?e.backgroundType="image":e.backgroundColor&&(e.backgroundType="color"),e},save:function(e){var t=e.attributes,a=e.className,n=t.backgroundColor,o=t.backgroundImageFixed,r=t.sectionsSize,c=t.focalPoint,i=t.backgroundImage,l=t.useBackgroundImage,u=t.backgroundOverlayColor,d=t.backgroundOverlayOpacity,s=qa(qa(qa({},l&&i?{backgroundImage:"url(".concat(i.url,")")}:{}),n?{backgroundColor:n}:{}),c&&l&&!o?{backgroundPosition:"".concat(100*c.x,"% ").concat(100*c.y,"%")}:{}),g=qa(qa({},u?{backgroundColor:u}:{}),d?{opacity:d/100}:{});return wp.element.createElement("div",{className:classNames(a,"citadela-block-custom-container","size-"+r,{"has-bg":!!n},{"fixed-bg":!!(l&&i&&o)},{"has-overlay":!!(l&&u&&d)}),style:s},l&&u&&d&&"0"!==d?wp.element.createElement("div",{className:"bg-image-overlay",style:g}):"",wp.element.createElement("div",{className:"inner-holder"},wp.element.createElement(Ya.Content,null)))}},{supports:$a,attributes:Ka,save:function(e){var t=e.attributes,a=e.className,n=t.backgroundColor,o=t.backgroundImageFixed,r=t.sectionsSize,c=t.focalPoint,i=t.backgroundImage,l=t.useBackgroundImage,u=qa(qa(qa({},i?{backgroundImage:"url(".concat(i.url,")")}:{}),n?{backgroundColor:n}:{}),c&&l&&!o?{backgroundPosition:"".concat(100*c.x,"% ").concat(100*c.y,"%")}:{});return wp.element.createElement("div",{className:classNames(a,"citadela-block-custom-container",{"has-bg":!!n},{"fixed-bg":!!o},"size-"+r),style:u},wp.element.createElement("div",{className:"inner-holder"},wp.element.createElement(Ya.Content,null)))}},{supports:$a,attributes:Ka,save:function(e){var t=e.attributes,a=e.className,n=t.backgroundColor,o=t.backgroundImageUrl,r=t.backgroundImageFixed,c=t.sectionsSize;return wp.element.createElement("div",{className:classNames(a,"citadela-block-custom-container",{"has-bg":!!n},{"fixed-bg":!!r},"size-"+c),style:{backgroundColor:n,backgroundImage:o?"url("+o+")":""}},wp.element.createElement("div",{className:"inner-holder"},wp.element.createElement(Ya.Content,null)))}}];function Xa(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function en(e){for(var t=1;t